@ark-ui/react 0.11.0-beta.2 → 0.11.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -2
- package/index.cjs +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/tags-input/index.cjs +2 -2
- package/tags-input/index.d.ts +4 -4
- package/tags-input/index.mjs +3 -3
- package/tags-input/tags-input-field.cjs +3 -3
- package/tags-input/tags-input-field.d.ts +2 -2
- package/tags-input/tags-input-field.mjs +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ description: All notable changes to this project will be documented in this file
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.11.0-beta.3] - 2023-08-08
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- BREAKING: Renamed `TagsInputField` to `TagsInputInput` to match the naming convention of other input components.
|
|
14
|
+
|
|
9
15
|
## [0.11.0-beta.2] - 2023-08-08
|
|
10
16
|
|
|
11
17
|
### Changed
|
|
@@ -167,7 +173,7 @@ description: All notable changes to this project will be documented in this file
|
|
|
167
173
|
- Add `Toast`
|
|
168
174
|
- Add `Tooltip`
|
|
169
175
|
|
|
170
|
-
[unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.11.0-beta.
|
|
176
|
+
[unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.11.0-beta.3...HEAD
|
|
171
177
|
[0.1.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.1.0
|
|
172
178
|
[0.2.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.2.0
|
|
173
179
|
[0.3.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.3.0
|
|
@@ -184,5 +190,6 @@ description: All notable changes to this project will be documented in this file
|
|
|
184
190
|
[0.10.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.10.0
|
|
185
191
|
[0.11.0-beta.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.11.0-beta.0
|
|
186
192
|
[0.11.0-beta.1]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.11.0-beta.1
|
|
187
|
-
|
|
188
193
|
[0.11.0-beta.2]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.11.0-beta.2
|
|
194
|
+
|
|
195
|
+
[0.11.0-beta.3]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.11.0-beta.3
|
package/index.cjs
CHANGED
|
@@ -604,7 +604,7 @@ exports.TagDeleteTrigger = tagDeleteTrigger.TagDeleteTrigger;
|
|
|
604
604
|
exports.TagInput = tagInput.TagInput;
|
|
605
605
|
exports.TagsInputClearTrigger = tagsInputClearTrigger.TagsInputClearTrigger;
|
|
606
606
|
exports.TagsInputControl = tagsInputControl.TagsInputControl;
|
|
607
|
-
exports.
|
|
607
|
+
exports.TagsInputInput = tagsInputField.TagsInputInput;
|
|
608
608
|
exports.TagsInputLabel = tagsInputLabel.TagsInputLabel;
|
|
609
609
|
Object.defineProperty(exports, 'tagsInputAnatomy', {
|
|
610
610
|
enumerable: true,
|
package/index.mjs
CHANGED
|
@@ -256,7 +256,7 @@ export { TagDeleteTrigger } from './tags-input/tag-delete-trigger.mjs';
|
|
|
256
256
|
export { TagInput } from './tags-input/tag-input.mjs';
|
|
257
257
|
export { TagsInputClearTrigger } from './tags-input/tags-input-clear-trigger.mjs';
|
|
258
258
|
export { TagsInputControl } from './tags-input/tags-input-control.mjs';
|
|
259
|
-
export {
|
|
259
|
+
export { TagsInputInput } from './tags-input/tags-input-field.mjs';
|
|
260
260
|
export { TagsInputLabel } from './tags-input/tags-input-label.mjs';
|
|
261
261
|
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|
|
262
262
|
export { useTagsInputContext } from './tags-input/tags-input-context.mjs';
|
package/package.json
CHANGED
package/tags-input/index.cjs
CHANGED
|
@@ -17,7 +17,7 @@ const TagsInput = Object.assign(tagsInput$1.TagsInput, {
|
|
|
17
17
|
Root: tagsInput$1.TagsInput,
|
|
18
18
|
ClearTrigger: tagsInputClearTrigger.TagsInputClearTrigger,
|
|
19
19
|
Control: tagsInputControl.TagsInputControl,
|
|
20
|
-
|
|
20
|
+
Input: tagsInputField.TagsInputInput,
|
|
21
21
|
Label: tagsInputLabel.TagsInputLabel,
|
|
22
22
|
Tag: tag.Tag,
|
|
23
23
|
TagInput: tagInput.TagInput,
|
|
@@ -30,7 +30,7 @@ exports.TagInput = tagInput.TagInput;
|
|
|
30
30
|
exports.TagsInputClearTrigger = tagsInputClearTrigger.TagsInputClearTrigger;
|
|
31
31
|
exports.useTagsInputContext = tagsInputContext.useTagsInputContext;
|
|
32
32
|
exports.TagsInputControl = tagsInputControl.TagsInputControl;
|
|
33
|
-
exports.
|
|
33
|
+
exports.TagsInputInput = tagsInputField.TagsInputInput;
|
|
34
34
|
exports.TagsInputLabel = tagsInputLabel.TagsInputLabel;
|
|
35
35
|
Object.defineProperty(exports, 'tagsInputAnatomy', {
|
|
36
36
|
enumerable: true,
|
package/tags-input/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { type TagsInputProps } from './tags-input';
|
|
|
9
9
|
import { TagsInputClearTrigger, type TagsInputClearTriggerProps } from './tags-input-clear-trigger';
|
|
10
10
|
import { useTagsInputContext } from './tags-input-context';
|
|
11
11
|
import { TagsInputControl, type TagsInputControlProps } from './tags-input-control';
|
|
12
|
-
import {
|
|
12
|
+
import { TagsInputInput, type TagsInputInputProps } from './tags-input-field';
|
|
13
13
|
import { TagsInputLabel, type TagsInputLabelProps } from './tags-input-label';
|
|
14
14
|
import { tagsInputAnatomy } from './tags-input.anatomy';
|
|
15
15
|
declare const TagsInput: ForwardRefExoticComponent<Omit<Assign<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
@@ -36,7 +36,7 @@ declare const TagsInput: ForwardRefExoticComponent<Omit<Assign<Omit<Omit<Detaile
|
|
|
36
36
|
} & {
|
|
37
37
|
asChild?: boolean | undefined;
|
|
38
38
|
}, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
39
|
-
|
|
39
|
+
Input: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
40
40
|
ref?: ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | null | undefined;
|
|
41
41
|
} & {
|
|
42
42
|
asChild?: boolean | undefined;
|
|
@@ -86,5 +86,5 @@ declare const TagsInput: ForwardRefExoticComponent<Omit<Assign<Omit<Omit<Detaile
|
|
|
86
86
|
disabled?: boolean | undefined;
|
|
87
87
|
} & RefAttributes<HTMLButtonElement>>;
|
|
88
88
|
};
|
|
89
|
-
export { Tag, TagDeleteTrigger, TagInput, TagsInput, TagsInputClearTrigger, TagsInputControl,
|
|
90
|
-
export type { TagDeleteTriggerProps, TagInputProps, TagProps, TagsInputClearTriggerProps, TagsInputControlProps,
|
|
89
|
+
export { Tag, TagDeleteTrigger, TagInput, TagsInput, TagsInputClearTrigger, TagsInputControl, TagsInputInput, TagsInputLabel, tagsInputAnatomy, useTagsInputContext, };
|
|
90
|
+
export type { TagDeleteTriggerProps, TagInputProps, TagProps, TagsInputClearTriggerProps, TagsInputControlProps, TagsInputInputProps, TagsInputLabelProps, TagsInputProps, };
|
package/tags-input/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { TagsInput as TagsInput$1 } from './tags-input.mjs';
|
|
|
5
5
|
import { TagsInputClearTrigger } from './tags-input-clear-trigger.mjs';
|
|
6
6
|
export { useTagsInputContext } from './tags-input-context.mjs';
|
|
7
7
|
import { TagsInputControl } from './tags-input-control.mjs';
|
|
8
|
-
import {
|
|
8
|
+
import { TagsInputInput } from './tags-input-field.mjs';
|
|
9
9
|
import { TagsInputLabel } from './tags-input-label.mjs';
|
|
10
10
|
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|
|
11
11
|
|
|
@@ -13,11 +13,11 @@ const TagsInput = Object.assign(TagsInput$1, {
|
|
|
13
13
|
Root: TagsInput$1,
|
|
14
14
|
ClearTrigger: TagsInputClearTrigger,
|
|
15
15
|
Control: TagsInputControl,
|
|
16
|
-
|
|
16
|
+
Input: TagsInputInput,
|
|
17
17
|
Label: TagsInputLabel,
|
|
18
18
|
Tag,
|
|
19
19
|
TagInput,
|
|
20
20
|
TagDeleteTrigger
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export { Tag, TagDeleteTrigger, TagInput, TagsInput, TagsInputClearTrigger, TagsInputControl,
|
|
23
|
+
export { Tag, TagDeleteTrigger, TagInput, TagsInput, TagsInputClearTrigger, TagsInputControl, TagsInputInput, TagsInputLabel };
|
|
@@ -9,11 +9,11 @@ const react = require('react');
|
|
|
9
9
|
const factory = require('../factory.cjs');
|
|
10
10
|
const tagsInputContext = require('./tags-input-context.cjs');
|
|
11
11
|
|
|
12
|
-
const
|
|
12
|
+
const TagsInputInput = react.forwardRef((props, ref) => {
|
|
13
13
|
const { inputProps } = tagsInputContext.useTagsInputContext();
|
|
14
14
|
const mergedProps = react$1.mergeProps(inputProps, props);
|
|
15
15
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.input, { ...mergedProps, ref });
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
TagsInputInput.displayName = "TagsInputInput";
|
|
18
18
|
|
|
19
|
-
exports.
|
|
19
|
+
exports.TagsInputInput = TagsInputInput;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent, DetailedHTMLProps, InputHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
|
-
export type
|
|
4
|
-
export declare const
|
|
3
|
+
export type TagsInputInputProps = ComponentPropsWithoutRef<typeof ark.input>;
|
|
4
|
+
export declare const TagsInputInput: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | null | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
asChild?: boolean | undefined;
|
|
@@ -5,11 +5,11 @@ import { forwardRef } from 'react';
|
|
|
5
5
|
import { ark } from '../factory.mjs';
|
|
6
6
|
import { useTagsInputContext } from './tags-input-context.mjs';
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const TagsInputInput = forwardRef((props, ref) => {
|
|
9
9
|
const { inputProps } = useTagsInputContext();
|
|
10
10
|
const mergedProps = mergeProps(inputProps, props);
|
|
11
11
|
return /* @__PURE__ */ jsx(ark.input, { ...mergedProps, ref });
|
|
12
12
|
});
|
|
13
|
-
|
|
13
|
+
TagsInputInput.displayName = "TagsInputInput";
|
|
14
14
|
|
|
15
|
-
export {
|
|
15
|
+
export { TagsInputInput };
|