Skip to content

Commit

Permalink
fix(tags-input): exportmissing validate args type
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Apr 24, 2024
1 parent 635cce7 commit dfc85a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mean-donuts-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zag-js/tags-input": patch
---

Export ValidateArgs from TagsInput
1 change: 1 addition & 0 deletions packages/machines/tags-input/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type {
IntlTranslations,
ItemProps,
ItemState,
ValidateArgs,
ValidityChangeDetails,
ValueChangeDetails,
} from "./tags-input.types"
2 changes: 1 addition & 1 deletion packages/machines/tags-input/src/tags-input.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ValidityChangeDetails {
reason: ValidityState
}

interface ValidateArgs {
export interface ValidateArgs {
inputValue: string
value: string[]
}
Expand Down

0 comments on commit dfc85a4

Please sign in to comment.