@ariakit/react 0.2.17 → 0.3.1
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 +100 -0
- package/cjs/__chunks/{OK2T3WZT.cjs → 2553VGST.cjs} +7 -3
- package/cjs/__chunks/34E6OGVR.cjs +26 -0
- package/cjs/__chunks/{XQ6XFAZY.cjs → 57BRNEKR.cjs} +7 -3
- package/cjs/__chunks/{YJTKWVMH.cjs → 6VEVKR6S.cjs} +7 -3
- package/cjs/__chunks/{QZZBQYTD.cjs → AEV4Y6LH.cjs} +2 -2
- package/cjs/__chunks/{JSHZ4JE6.cjs → B34XK6WF.cjs} +2 -2
- package/cjs/__chunks/BTOFH5V7.cjs +26 -0
- package/cjs/__chunks/{4K3MPDS4.cjs → BV67DRZ7.cjs} +14 -4
- package/cjs/__chunks/FKJUU77X.cjs +14 -0
- package/cjs/__chunks/G2XDRT7D.cjs +24 -0
- package/cjs/__chunks/GCRJ7IPS.cjs +14 -0
- package/cjs/__chunks/K3ODXZMJ.cjs +16 -0
- package/cjs/__chunks/LQUB25NB.cjs +16 -0
- package/cjs/__chunks/MUFWZHDM.cjs +14 -0
- package/cjs/__chunks/Q5T3OEQ6.cjs +14 -0
- package/cjs/__chunks/S5PSYLBO.cjs +20 -0
- package/cjs/__chunks/WOPJBGZ4.cjs +20 -0
- package/cjs/checkbox.cjs +6 -2
- package/cjs/checkbox.d.ts +6 -3
- package/cjs/collection.cjs +6 -2
- package/cjs/collection.d.ts +6 -3
- package/cjs/combobox.cjs +6 -2
- package/cjs/combobox.d.ts +15 -12
- package/cjs/composite.cjs +6 -2
- package/cjs/composite.d.ts +13 -10
- package/cjs/dialog.cjs +6 -2
- package/cjs/dialog.d.ts +10 -7
- package/cjs/disclosure.cjs +6 -2
- package/cjs/disclosure.d.ts +6 -3
- package/cjs/focus-trap.d.ts +1 -1
- package/cjs/form.cjs +6 -2
- package/cjs/form.d.ts +20 -17
- package/cjs/group.cjs +2 -2
- package/cjs/group.d.ts +2 -2
- package/cjs/heading.cjs +2 -2
- package/cjs/heading.d.ts +2 -2
- package/cjs/hovercard.cjs +6 -2
- package/cjs/hovercard.d.ts +11 -8
- package/cjs/index.cjs +82 -18
- package/cjs/menu.cjs +10 -2
- package/cjs/menu.d.ts +24 -19
- package/cjs/popover.cjs +6 -2
- package/cjs/popover.d.ts +12 -9
- package/cjs/radio.cjs +6 -2
- package/cjs/radio.d.ts +6 -3
- package/cjs/select.cjs +6 -2
- package/cjs/select.d.ts +15 -12
- package/cjs/tab.cjs +6 -2
- package/cjs/tab.d.ts +7 -4
- package/cjs/toolbar.cjs +6 -2
- package/cjs/toolbar.d.ts +9 -6
- package/cjs/tooltip.cjs +6 -2
- package/cjs/tooltip.d.ts +7 -4
- package/cjs/tsconfig.build.tsbuildinfo +1 -1
- package/esm/__chunks/{HXGYP7YA.js → 3KDJ7VI3.js} +9 -5
- package/esm/__chunks/{X5ZXJBZF.js → 4IDSAFME.js} +9 -5
- package/esm/__chunks/{2UWFRUYC.js → 4UZKVCZQ.js} +3 -3
- package/esm/__chunks/{DCDYZWTW.js → 7GYZGKZZ.js} +9 -5
- package/esm/__chunks/{EEHW2RGG.js → 7KUQPEB6.js} +3 -3
- package/esm/__chunks/{XHOFYVWP.js → EKTWLEVS.js} +7 -3
- package/esm/__chunks/{X6CHQZVK.js → EWPJEOTI.js} +9 -5
- package/esm/__chunks/{337CSGCA.js → IQHJB6ZG.js} +9 -5
- package/esm/__chunks/{2KMUE5ZO.js → JNOG2DG3.js} +17 -7
- package/esm/__chunks/{C6DHWKQY.js → JPYPUP6I.js} +7 -3
- package/esm/__chunks/{YME4SMMJ.js → ODZSMDRQ.js} +7 -3
- package/esm/__chunks/{2UUPQ4LJ.js → PEDXUZO5.js} +9 -5
- package/esm/__chunks/{DBEOPRUS.js → TC2Q64L4.js} +9 -5
- package/esm/__chunks/{CKWZEPOY.js → VEJT42TI.js} +9 -5
- package/esm/__chunks/{D3ND2UVZ.js → VRQVUGUC.js} +9 -5
- package/esm/__chunks/{HD5ADBMI.js → XHA6N3ML.js} +9 -5
- package/esm/__chunks/{DJTCIR22.js → XIV7JDMS.js} +7 -3
- package/esm/checkbox.d.ts +6 -3
- package/esm/checkbox.js +5 -1
- package/esm/collection.d.ts +6 -3
- package/esm/collection.js +5 -1
- package/esm/combobox.d.ts +15 -12
- package/esm/combobox.js +5 -1
- package/esm/composite.d.ts +13 -10
- package/esm/composite.js +5 -1
- package/esm/dialog.d.ts +10 -7
- package/esm/dialog.js +5 -1
- package/esm/disclosure.d.ts +6 -3
- package/esm/disclosure.js +5 -1
- package/esm/focus-trap.d.ts +1 -1
- package/esm/form.d.ts +20 -17
- package/esm/form.js +5 -1
- package/esm/group.d.ts +2 -2
- package/esm/group.js +1 -1
- package/esm/heading.d.ts +2 -2
- package/esm/heading.js +1 -1
- package/esm/hovercard.d.ts +11 -8
- package/esm/hovercard.js +5 -1
- package/esm/index.js +81 -17
- package/esm/menu.d.ts +24 -19
- package/esm/menu.js +9 -1
- package/esm/popover.d.ts +12 -9
- package/esm/popover.js +5 -1
- package/esm/radio.d.ts +6 -3
- package/esm/radio.js +5 -1
- package/esm/select.d.ts +15 -12
- package/esm/select.js +5 -1
- package/esm/tab.d.ts +7 -4
- package/esm/tab.js +5 -1
- package/esm/toolbar.d.ts +9 -6
- package/esm/toolbar.js +5 -1
- package/esm/tooltip.d.ts +7 -4
- package/esm/tooltip.js +5 -1
- package/esm/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/readme.md +1 -1
- package/cjs/__chunks/AAWZLG6F.cjs +0 -22
- package/cjs/__chunks/EXPIDFFJ.cjs +0 -12
- package/cjs/__chunks/F2IZQBJ4.cjs +0 -12
- package/cjs/__chunks/F2RPQ67F.cjs +0 -10
- package/cjs/__chunks/MMDG6PGQ.cjs +0 -20
- package/cjs/__chunks/MW5EPJIK.cjs +0 -16
- package/cjs/__chunks/NPL5RCO3.cjs +0 -10
- package/cjs/__chunks/NSYJUKFG.cjs +0 -22
- package/cjs/__chunks/QE47LPDD.cjs +0 -16
- package/cjs/__chunks/U3SX4UMY.cjs +0 -10
- package/cjs/__chunks/WLOOC7FF.cjs +0 -10
package/esm/form.d.ts
CHANGED
@@ -1,32 +1,35 @@
|
|
1
|
+
export { useFormStore } from "@ariakit/react-core/form/form-store";
|
2
|
+
export { useFormContext } from "@ariakit/react-core/form/form-context";
|
3
|
+
export { Form } from "@ariakit/react-core/form/form";
|
4
|
+
export { FormProvider } from "@ariakit/react-core/form/form-provider";
|
1
5
|
export { FormCheckbox } from "@ariakit/react-core/form/form-checkbox";
|
2
|
-
export type { FormCheckboxOptions, FormCheckboxProps, } from "@ariakit/react-core/form/form-checkbox";
|
3
6
|
export { FormDescription } from "@ariakit/react-core/form/form-description";
|
4
|
-
export type { FormDescriptionOptions, FormDescriptionProps, } from "@ariakit/react-core/form/form-description";
|
5
7
|
export { FormError } from "@ariakit/react-core/form/form-error";
|
6
|
-
export type { FormErrorOptions, FormErrorProps, } from "@ariakit/react-core/form/form-error";
|
7
8
|
export { FormField } from "@ariakit/react-core/form/form-field";
|
8
|
-
export type { FormFieldOptions, FormFieldProps, } from "@ariakit/react-core/form/form-field";
|
9
9
|
export { FormGroupLabel } from "@ariakit/react-core/form/form-group-label";
|
10
|
-
export type { FormGroupLabelOptions, FormGroupLabelProps, } from "@ariakit/react-core/form/form-group-label";
|
11
10
|
export { FormGroup } from "@ariakit/react-core/form/form-group";
|
12
|
-
export type { FormGroupOptions, FormGroupProps, } from "@ariakit/react-core/form/form-group";
|
13
11
|
export { FormInput } from "@ariakit/react-core/form/form-input";
|
14
|
-
export type { FormInputOptions, FormInputProps, } from "@ariakit/react-core/form/form-input";
|
15
12
|
export { FormLabel } from "@ariakit/react-core/form/form-label";
|
16
|
-
export type { FormLabelOptions, FormLabelProps, } from "@ariakit/react-core/form/form-label";
|
17
13
|
export { FormPush } from "@ariakit/react-core/form/form-push";
|
18
|
-
export type { FormPushOptions, FormPushProps, } from "@ariakit/react-core/form/form-push";
|
19
14
|
export { FormRadioGroup } from "@ariakit/react-core/form/form-radio-group";
|
20
|
-
export type { FormRadioGroupOptions, FormRadioGroupProps, } from "@ariakit/react-core/form/form-radio-group";
|
21
15
|
export { FormRadio } from "@ariakit/react-core/form/form-radio";
|
22
|
-
export type { FormRadioOptions, FormRadioProps, } from "@ariakit/react-core/form/form-radio";
|
23
16
|
export { FormRemove } from "@ariakit/react-core/form/form-remove";
|
24
|
-
export type { FormRemoveOptions, FormRemoveProps, } from "@ariakit/react-core/form/form-remove";
|
25
17
|
export { FormReset } from "@ariakit/react-core/form/form-reset";
|
26
|
-
export type { FormResetOptions, FormResetProps, } from "@ariakit/react-core/form/form-reset";
|
27
|
-
export { useFormStore } from "@ariakit/react-core/form/form-store";
|
28
|
-
export type { FormStore, FormStoreState, FormStoreProps, } from "@ariakit/react-core/form/form-store";
|
29
18
|
export { FormSubmit } from "@ariakit/react-core/form/form-submit";
|
30
|
-
export type {
|
31
|
-
export { Form } from "@ariakit/react-core/form/form";
|
19
|
+
export type { FormStore, FormStoreState, FormStoreProps, } from "@ariakit/react-core/form/form-store";
|
32
20
|
export type { FormOptions, FormProps } from "@ariakit/react-core/form/form";
|
21
|
+
export type { FormProviderProps } from "@ariakit/react-core/form/form-provider";
|
22
|
+
export type { FormCheckboxOptions, FormCheckboxProps, } from "@ariakit/react-core/form/form-checkbox";
|
23
|
+
export type { FormDescriptionOptions, FormDescriptionProps, } from "@ariakit/react-core/form/form-description";
|
24
|
+
export type { FormErrorOptions, FormErrorProps, } from "@ariakit/react-core/form/form-error";
|
25
|
+
export type { FormFieldOptions, FormFieldProps, } from "@ariakit/react-core/form/form-field";
|
26
|
+
export type { FormGroupLabelOptions, FormGroupLabelProps, } from "@ariakit/react-core/form/form-group-label";
|
27
|
+
export type { FormGroupOptions, FormGroupProps, } from "@ariakit/react-core/form/form-group";
|
28
|
+
export type { FormInputOptions, FormInputProps, } from "@ariakit/react-core/form/form-input";
|
29
|
+
export type { FormLabelOptions, FormLabelProps, } from "@ariakit/react-core/form/form-label";
|
30
|
+
export type { FormPushOptions, FormPushProps, } from "@ariakit/react-core/form/form-push";
|
31
|
+
export type { FormRadioGroupOptions, FormRadioGroupProps, } from "@ariakit/react-core/form/form-radio-group";
|
32
|
+
export type { FormRadioOptions, FormRadioProps, } from "@ariakit/react-core/form/form-radio";
|
33
|
+
export type { FormRemoveOptions, FormRemoveProps, } from "@ariakit/react-core/form/form-remove";
|
34
|
+
export type { FormResetOptions, FormResetProps, } from "@ariakit/react-core/form/form-reset";
|
35
|
+
export type { FormSubmitOptions, FormSubmitProps, } from "@ariakit/react-core/form/form-submit";
|
package/esm/form.js
CHANGED
@@ -8,14 +8,16 @@ import {
|
|
8
8
|
FormGroupLabel,
|
9
9
|
FormInput,
|
10
10
|
FormLabel,
|
11
|
+
FormProvider,
|
11
12
|
FormPush,
|
12
13
|
FormRadio,
|
13
14
|
FormRadioGroup,
|
14
15
|
FormRemove,
|
15
16
|
FormReset,
|
16
17
|
FormSubmit,
|
18
|
+
useFormContext,
|
17
19
|
useFormStore
|
18
|
-
} from "./__chunks/
|
20
|
+
} from "./__chunks/PEDXUZO5.js";
|
19
21
|
export {
|
20
22
|
Form,
|
21
23
|
FormCheckbox,
|
@@ -26,11 +28,13 @@ export {
|
|
26
28
|
FormGroupLabel,
|
27
29
|
FormInput,
|
28
30
|
FormLabel,
|
31
|
+
FormProvider,
|
29
32
|
FormPush,
|
30
33
|
FormRadio,
|
31
34
|
FormRadioGroup,
|
32
35
|
FormRemove,
|
33
36
|
FormReset,
|
34
37
|
FormSubmit,
|
38
|
+
useFormContext,
|
35
39
|
useFormStore
|
36
40
|
};
|
package/esm/group.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { GroupLabel } from "@ariakit/react-core/group/group-label";
|
2
|
-
export type { GroupLabelOptions, GroupLabelProps, } from "@ariakit/react-core/group/group-label";
|
3
1
|
export { Group } from "@ariakit/react-core/group/group";
|
2
|
+
export { GroupLabel } from "@ariakit/react-core/group/group-label";
|
4
3
|
export type { GroupOptions, GroupProps } from "@ariakit/react-core/group/group";
|
4
|
+
export type { GroupLabelOptions, GroupLabelProps, } from "@ariakit/react-core/group/group-label";
|
package/esm/group.js
CHANGED
package/esm/heading.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { HeadingLevel } from "@ariakit/react-core/heading/heading-level";
|
2
|
-
export type { HeadingLevelProps } from "@ariakit/react-core/heading/heading-level";
|
3
1
|
export { Heading } from "@ariakit/react-core/heading/heading";
|
2
|
+
export { HeadingLevel } from "@ariakit/react-core/heading/heading-level";
|
4
3
|
export type { HeadingOptions, HeadingProps, } from "@ariakit/react-core/heading/heading";
|
4
|
+
export type { HeadingLevelProps } from "@ariakit/react-core/heading/heading-level";
|
package/esm/heading.js
CHANGED
package/esm/hovercard.d.ts
CHANGED
@@ -1,16 +1,19 @@
|
|
1
|
+
export { useHovercardStore } from "@ariakit/react-core/hovercard/hovercard-store";
|
2
|
+
export { useHovercardContext } from "@ariakit/react-core/hovercard/hovercard-context";
|
3
|
+
export { Hovercard } from "@ariakit/react-core/hovercard/hovercard";
|
4
|
+
export { HovercardProvider } from "@ariakit/react-core/hovercard/hovercard-provider";
|
1
5
|
export { HovercardAnchor } from "@ariakit/react-core/hovercard/hovercard-anchor";
|
2
|
-
export type { HovercardAnchorProps, HovercardAnchorOptions, } from "@ariakit/react-core/hovercard/hovercard-anchor";
|
3
6
|
export { HovercardArrow } from "@ariakit/react-core/hovercard/hovercard-arrow";
|
4
|
-
export type { HovercardArrowProps, HovercardArrowOptions, } from "@ariakit/react-core/hovercard/hovercard-arrow";
|
5
7
|
export { HovercardDescription } from "@ariakit/react-core/hovercard/hovercard-description";
|
6
|
-
export type { HovercardDescriptionProps, HovercardDescriptionOptions, } from "@ariakit/react-core/hovercard/hovercard-description";
|
7
8
|
export { HovercardDisclosure } from "@ariakit/react-core/hovercard/hovercard-disclosure";
|
8
|
-
export type { HovercardDisclosureProps, HovercardDisclosureOptions, } from "@ariakit/react-core/hovercard/hovercard-disclosure";
|
9
9
|
export { HovercardDismiss } from "@ariakit/react-core/hovercard/hovercard-dismiss";
|
10
|
-
export type { HovercardDismissProps, HovercardDismissOptions, } from "@ariakit/react-core/hovercard/hovercard-dismiss";
|
11
10
|
export { HovercardHeading } from "@ariakit/react-core/hovercard/hovercard-heading";
|
12
|
-
export type { HovercardHeadingProps, HovercardHeadingOptions, } from "@ariakit/react-core/hovercard/hovercard-heading";
|
13
|
-
export { useHovercardStore } from "@ariakit/react-core/hovercard/hovercard-store";
|
14
11
|
export type { HovercardStoreProps, HovercardStoreState, HovercardStore, } from "@ariakit/react-core/hovercard/hovercard-store";
|
15
|
-
export { Hovercard } from "@ariakit/react-core/hovercard/hovercard";
|
16
12
|
export type { HovercardProps, HovercardOptions, } from "@ariakit/react-core/hovercard/hovercard";
|
13
|
+
export type { HovercardProviderProps } from "@ariakit/react-core/hovercard/hovercard-provider";
|
14
|
+
export type { HovercardAnchorProps, HovercardAnchorOptions, } from "@ariakit/react-core/hovercard/hovercard-anchor";
|
15
|
+
export type { HovercardArrowProps, HovercardArrowOptions, } from "@ariakit/react-core/hovercard/hovercard-arrow";
|
16
|
+
export type { HovercardDescriptionProps, HovercardDescriptionOptions, } from "@ariakit/react-core/hovercard/hovercard-description";
|
17
|
+
export type { HovercardDisclosureProps, HovercardDisclosureOptions, } from "@ariakit/react-core/hovercard/hovercard-disclosure";
|
18
|
+
export type { HovercardDismissProps, HovercardDismissOptions, } from "@ariakit/react-core/hovercard/hovercard-dismiss";
|
19
|
+
export type { HovercardHeadingProps, HovercardHeadingOptions, } from "@ariakit/react-core/hovercard/hovercard-heading";
|
package/esm/hovercard.js
CHANGED
@@ -6,8 +6,10 @@ import {
|
|
6
6
|
HovercardDisclosure,
|
7
7
|
HovercardDismiss,
|
8
8
|
HovercardHeading,
|
9
|
+
HovercardProvider,
|
10
|
+
useHovercardContext,
|
9
11
|
useHovercardStore
|
10
|
-
} from "./__chunks/
|
12
|
+
} from "./__chunks/XHA6N3ML.js";
|
11
13
|
export {
|
12
14
|
Hovercard,
|
13
15
|
HovercardAnchor,
|
@@ -16,5 +18,7 @@ export {
|
|
16
18
|
HovercardDisclosure,
|
17
19
|
HovercardDismiss,
|
18
20
|
HovercardHeading,
|
21
|
+
HovercardProvider,
|
22
|
+
useHovercardContext,
|
19
23
|
useHovercardStore
|
20
24
|
};
|
package/esm/index.js
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
Checkbox,
|
3
3
|
CheckboxCheck,
|
4
|
+
CheckboxProvider,
|
5
|
+
useCheckboxContext,
|
4
6
|
useCheckboxStore
|
5
|
-
} from "./__chunks/
|
7
|
+
} from "./__chunks/JPYPUP6I.js";
|
6
8
|
import {
|
7
9
|
Button
|
8
10
|
} from "./__chunks/7MZYOIO4.js";
|
@@ -16,27 +18,33 @@ import {
|
|
16
18
|
import {
|
17
19
|
Disclosure,
|
18
20
|
DisclosureContent,
|
21
|
+
DisclosureProvider,
|
22
|
+
useDisclosureContext,
|
19
23
|
useDisclosureStore
|
20
|
-
} from "./__chunks/
|
24
|
+
} from "./__chunks/ODZSMDRQ.js";
|
21
25
|
import {
|
22
26
|
Dialog,
|
23
27
|
DialogDescription,
|
24
28
|
DialogDisclosure,
|
25
29
|
DialogDismiss,
|
26
30
|
DialogHeading,
|
31
|
+
DialogProvider,
|
32
|
+
useDialogContext,
|
27
33
|
useDialogStore
|
28
|
-
} from "./__chunks/
|
34
|
+
} from "./__chunks/4IDSAFME.js";
|
29
35
|
import {
|
30
36
|
Composite,
|
31
37
|
CompositeGroup,
|
32
38
|
CompositeGroupLabel,
|
33
39
|
CompositeHover,
|
34
40
|
CompositeItem,
|
41
|
+
CompositeProvider,
|
35
42
|
CompositeRow,
|
36
43
|
CompositeSeparator,
|
37
44
|
CompositeTypeahead,
|
45
|
+
useCompositeContext,
|
38
46
|
useCompositeStore
|
39
|
-
} from "./__chunks/
|
47
|
+
} from "./__chunks/VEJT42TI.js";
|
40
48
|
import {
|
41
49
|
Command
|
42
50
|
} from "./__chunks/JZLINDNV.js";
|
@@ -50,15 +58,19 @@ import {
|
|
50
58
|
ComboboxItemValue,
|
51
59
|
ComboboxList,
|
52
60
|
ComboboxPopover,
|
61
|
+
ComboboxProvider,
|
53
62
|
ComboboxRow,
|
54
63
|
ComboboxSeparator,
|
64
|
+
useComboboxContext,
|
55
65
|
useComboboxStore
|
56
|
-
} from "./__chunks/
|
66
|
+
} from "./__chunks/VRQVUGUC.js";
|
57
67
|
import {
|
58
68
|
Collection,
|
59
69
|
CollectionItem,
|
70
|
+
CollectionProvider,
|
71
|
+
useCollectionContext,
|
60
72
|
useCollectionStore
|
61
|
-
} from "./__chunks/
|
73
|
+
} from "./__chunks/EKTWLEVS.js";
|
62
74
|
import {
|
63
75
|
Portal,
|
64
76
|
PortalContext
|
@@ -72,12 +84,15 @@ import {
|
|
72
84
|
PopoverDisclosureArrow,
|
73
85
|
PopoverDismiss,
|
74
86
|
PopoverHeading,
|
87
|
+
PopoverProvider,
|
88
|
+
usePopoverContext,
|
75
89
|
usePopoverStore
|
76
|
-
} from "./__chunks/
|
90
|
+
} from "./__chunks/EWPJEOTI.js";
|
77
91
|
import {
|
78
92
|
Menu,
|
79
93
|
MenuArrow,
|
80
94
|
MenuBar,
|
95
|
+
MenuBarProvider,
|
81
96
|
MenuButton,
|
82
97
|
MenuButtonArrow,
|
83
98
|
MenuDescription,
|
@@ -90,10 +105,13 @@ import {
|
|
90
105
|
MenuItemCheckbox,
|
91
106
|
MenuItemRadio,
|
92
107
|
MenuList,
|
108
|
+
MenuProvider,
|
93
109
|
MenuSeparator,
|
110
|
+
useMenuBarContext,
|
94
111
|
useMenuBarStore,
|
112
|
+
useMenuContext,
|
95
113
|
useMenuStore
|
96
|
-
} from "./__chunks/
|
114
|
+
} from "./__chunks/JNOG2DG3.js";
|
97
115
|
import {
|
98
116
|
Hovercard,
|
99
117
|
HovercardAnchor,
|
@@ -102,16 +120,18 @@ import {
|
|
102
120
|
HovercardDisclosure,
|
103
121
|
HovercardDismiss,
|
104
122
|
HovercardHeading,
|
123
|
+
HovercardProvider,
|
124
|
+
useHovercardContext,
|
105
125
|
useHovercardStore
|
106
|
-
} from "./__chunks/
|
126
|
+
} from "./__chunks/XHA6N3ML.js";
|
107
127
|
import {
|
108
128
|
Heading,
|
109
129
|
HeadingLevel
|
110
|
-
} from "./__chunks/
|
130
|
+
} from "./__chunks/4UZKVCZQ.js";
|
111
131
|
import {
|
112
132
|
Group,
|
113
133
|
GroupLabel
|
114
|
-
} from "./__chunks/
|
134
|
+
} from "./__chunks/7KUQPEB6.js";
|
115
135
|
import {
|
116
136
|
Form,
|
117
137
|
FormCheckbox,
|
@@ -122,14 +142,16 @@ import {
|
|
122
142
|
FormGroupLabel,
|
123
143
|
FormInput,
|
124
144
|
FormLabel,
|
145
|
+
FormProvider,
|
125
146
|
FormPush,
|
126
147
|
FormRadio,
|
127
148
|
FormRadioGroup,
|
128
149
|
FormRemove,
|
129
150
|
FormReset,
|
130
151
|
FormSubmit,
|
152
|
+
useFormContext,
|
131
153
|
useFormStore
|
132
|
-
} from "./__chunks/
|
154
|
+
} from "./__chunks/PEDXUZO5.js";
|
133
155
|
import {
|
134
156
|
VisuallyHidden
|
135
157
|
} from "./__chunks/E2SWWNJ4.js";
|
@@ -137,22 +159,28 @@ import {
|
|
137
159
|
Tooltip,
|
138
160
|
TooltipAnchor,
|
139
161
|
TooltipArrow,
|
162
|
+
TooltipProvider,
|
163
|
+
useTooltipContext,
|
140
164
|
useTooltipStore
|
141
|
-
} from "./__chunks/
|
165
|
+
} from "./__chunks/3KDJ7VI3.js";
|
142
166
|
import {
|
143
167
|
Toolbar,
|
144
168
|
ToolbarContainer,
|
145
169
|
ToolbarInput,
|
146
170
|
ToolbarItem,
|
171
|
+
ToolbarProvider,
|
147
172
|
ToolbarSeparator,
|
173
|
+
useToolbarContext,
|
148
174
|
useToolbarStore
|
149
|
-
} from "./__chunks/
|
175
|
+
} from "./__chunks/IQHJB6ZG.js";
|
150
176
|
import {
|
151
177
|
Tab,
|
152
178
|
TabList,
|
153
179
|
TabPanel,
|
180
|
+
TabProvider,
|
181
|
+
useTabContext,
|
154
182
|
useTabStore
|
155
|
-
} from "./__chunks/
|
183
|
+
} from "./__chunks/7GYZGKZZ.js";
|
156
184
|
import {
|
157
185
|
Separator
|
158
186
|
} from "./__chunks/FFCM3V3K.js";
|
@@ -166,24 +194,30 @@ import {
|
|
166
194
|
SelectLabel,
|
167
195
|
SelectList,
|
168
196
|
SelectPopover,
|
197
|
+
SelectProvider,
|
169
198
|
SelectRow,
|
170
199
|
SelectSeparator,
|
200
|
+
useSelectContext,
|
171
201
|
useSelectStore
|
172
|
-
} from "./__chunks/
|
202
|
+
} from "./__chunks/TC2Q64L4.js";
|
173
203
|
import {
|
174
204
|
Role
|
175
205
|
} from "./__chunks/XZBJIEA5.js";
|
176
206
|
import {
|
177
207
|
Radio,
|
178
208
|
RadioGroup,
|
209
|
+
RadioProvider,
|
210
|
+
useRadioContext,
|
179
211
|
useRadioStore
|
180
|
-
} from "./__chunks/
|
212
|
+
} from "./__chunks/XIV7JDMS.js";
|
181
213
|
export {
|
182
214
|
Button,
|
183
215
|
Checkbox,
|
184
216
|
CheckboxCheck,
|
217
|
+
CheckboxProvider,
|
185
218
|
Collection,
|
186
219
|
CollectionItem,
|
220
|
+
CollectionProvider,
|
187
221
|
Combobox,
|
188
222
|
ComboboxCancel,
|
189
223
|
ComboboxDisclosure,
|
@@ -193,6 +227,7 @@ export {
|
|
193
227
|
ComboboxItemValue,
|
194
228
|
ComboboxList,
|
195
229
|
ComboboxPopover,
|
230
|
+
ComboboxProvider,
|
196
231
|
ComboboxRow,
|
197
232
|
ComboboxSeparator,
|
198
233
|
Command,
|
@@ -201,6 +236,7 @@ export {
|
|
201
236
|
CompositeGroupLabel,
|
202
237
|
CompositeHover,
|
203
238
|
CompositeItem,
|
239
|
+
CompositeProvider,
|
204
240
|
CompositeRow,
|
205
241
|
CompositeSeparator,
|
206
242
|
CompositeTypeahead,
|
@@ -209,8 +245,10 @@ export {
|
|
209
245
|
DialogDisclosure,
|
210
246
|
DialogDismiss,
|
211
247
|
DialogHeading,
|
248
|
+
DialogProvider,
|
212
249
|
Disclosure,
|
213
250
|
DisclosureContent,
|
251
|
+
DisclosureProvider,
|
214
252
|
FocusTrap,
|
215
253
|
FocusTrapRegion,
|
216
254
|
Focusable,
|
@@ -223,6 +261,7 @@ export {
|
|
223
261
|
FormGroupLabel,
|
224
262
|
FormInput,
|
225
263
|
FormLabel,
|
264
|
+
FormProvider,
|
226
265
|
FormPush,
|
227
266
|
FormRadio,
|
228
267
|
FormRadioGroup,
|
@@ -240,9 +279,11 @@ export {
|
|
240
279
|
HovercardDisclosure,
|
241
280
|
HovercardDismiss,
|
242
281
|
HovercardHeading,
|
282
|
+
HovercardProvider,
|
243
283
|
Menu,
|
244
284
|
MenuArrow,
|
245
285
|
MenuBar,
|
286
|
+
MenuBarProvider,
|
246
287
|
MenuButton,
|
247
288
|
MenuButtonArrow,
|
248
289
|
MenuDescription,
|
@@ -255,6 +296,7 @@ export {
|
|
255
296
|
MenuItemCheckbox,
|
256
297
|
MenuItemRadio,
|
257
298
|
MenuList,
|
299
|
+
MenuProvider,
|
258
300
|
MenuSeparator,
|
259
301
|
Popover,
|
260
302
|
PopoverAnchor,
|
@@ -264,10 +306,12 @@ export {
|
|
264
306
|
PopoverDisclosureArrow,
|
265
307
|
PopoverDismiss,
|
266
308
|
PopoverHeading,
|
309
|
+
PopoverProvider,
|
267
310
|
Portal,
|
268
311
|
PortalContext,
|
269
312
|
Radio,
|
270
313
|
RadioGroup,
|
314
|
+
RadioProvider,
|
271
315
|
Role,
|
272
316
|
Select,
|
273
317
|
SelectArrow,
|
@@ -278,35 +322,55 @@ export {
|
|
278
322
|
SelectLabel,
|
279
323
|
SelectList,
|
280
324
|
SelectPopover,
|
325
|
+
SelectProvider,
|
281
326
|
SelectRow,
|
282
327
|
SelectSeparator,
|
283
328
|
Separator,
|
284
329
|
Tab,
|
285
330
|
TabList,
|
286
331
|
TabPanel,
|
332
|
+
TabProvider,
|
287
333
|
Toolbar,
|
288
334
|
ToolbarContainer,
|
289
335
|
ToolbarInput,
|
290
336
|
ToolbarItem,
|
337
|
+
ToolbarProvider,
|
291
338
|
ToolbarSeparator,
|
292
339
|
Tooltip,
|
293
340
|
TooltipAnchor,
|
294
341
|
TooltipArrow,
|
342
|
+
TooltipProvider,
|
295
343
|
VisuallyHidden,
|
344
|
+
useCheckboxContext,
|
296
345
|
useCheckboxStore,
|
346
|
+
useCollectionContext,
|
297
347
|
useCollectionStore,
|
348
|
+
useComboboxContext,
|
298
349
|
useComboboxStore,
|
350
|
+
useCompositeContext,
|
299
351
|
useCompositeStore,
|
352
|
+
useDialogContext,
|
300
353
|
useDialogStore,
|
354
|
+
useDisclosureContext,
|
301
355
|
useDisclosureStore,
|
356
|
+
useFormContext,
|
302
357
|
useFormStore,
|
358
|
+
useHovercardContext,
|
303
359
|
useHovercardStore,
|
360
|
+
useMenuBarContext,
|
304
361
|
useMenuBarStore,
|
362
|
+
useMenuContext,
|
305
363
|
useMenuStore,
|
364
|
+
usePopoverContext,
|
306
365
|
usePopoverStore,
|
366
|
+
useRadioContext,
|
307
367
|
useRadioStore,
|
368
|
+
useSelectContext,
|
308
369
|
useSelectStore,
|
370
|
+
useTabContext,
|
309
371
|
useTabStore,
|
372
|
+
useToolbarContext,
|
310
373
|
useToolbarStore,
|
374
|
+
useTooltipContext,
|
311
375
|
useTooltipStore
|
312
376
|
};
|
package/esm/menu.d.ts
CHANGED
@@ -1,36 +1,41 @@
|
|
1
|
-
export {
|
2
|
-
export
|
1
|
+
export { useMenuStore } from "@ariakit/react-core/menu/menu-store";
|
2
|
+
export { useMenuContext, useMenuBarContext, } from "@ariakit/react-core/menu/menu-context";
|
3
3
|
export { useMenuBarStore } from "@ariakit/react-core/menu/menu-bar-store";
|
4
|
-
export
|
4
|
+
export { Menu } from "@ariakit/react-core/menu/menu";
|
5
|
+
export { MenuProvider } from "@ariakit/react-core/menu/menu-provider";
|
5
6
|
export { MenuBar } from "@ariakit/react-core/menu/menu-bar";
|
6
|
-
export
|
7
|
+
export { MenuBarProvider } from "@ariakit/react-core/menu/menu-bar-provider";
|
8
|
+
export { MenuArrow } from "@ariakit/react-core/menu/menu-arrow";
|
7
9
|
export { MenuButtonArrow } from "@ariakit/react-core/menu/menu-button-arrow";
|
8
|
-
export type { MenuButtonArrowProps, MenuButtonArrowOptions, } from "@ariakit/react-core/menu/menu-button-arrow";
|
9
10
|
export { MenuButton } from "@ariakit/react-core/menu/menu-button";
|
10
|
-
export type { MenuButtonProps, MenuButtonOptions, } from "@ariakit/react-core/menu/menu-button";
|
11
11
|
export { MenuDescription } from "@ariakit/react-core/menu/menu-description";
|
12
|
-
export type { MenuDescriptionProps, MenuDescriptionOptions, } from "@ariakit/react-core/menu/menu-description";
|
13
12
|
export { MenuDismiss } from "@ariakit/react-core/menu/menu-dismiss";
|
14
|
-
export type { MenuDismissProps, MenuDismissOptions, } from "@ariakit/react-core/menu/menu-dismiss";
|
15
13
|
export { MenuGroupLabel } from "@ariakit/react-core/menu/menu-group-label";
|
16
|
-
export type { MenuGroupLabelProps, MenuGroupLabelOptions, } from "@ariakit/react-core/menu/menu-group-label";
|
17
14
|
export { MenuGroup } from "@ariakit/react-core/menu/menu-group";
|
18
|
-
export type { MenuGroupProps, MenuGroupOptions, } from "@ariakit/react-core/menu/menu-group";
|
19
15
|
export { MenuHeading } from "@ariakit/react-core/menu/menu-heading";
|
20
|
-
export type { MenuHeadingProps, MenuHeadingOptions, } from "@ariakit/react-core/menu/menu-heading";
|
21
16
|
export { MenuItemCheck } from "@ariakit/react-core/menu/menu-item-check";
|
22
|
-
export type { MenuItemCheckProps, MenuItemCheckOptions, } from "@ariakit/react-core/menu/menu-item-check";
|
23
17
|
export { MenuItemCheckbox } from "@ariakit/react-core/menu/menu-item-checkbox";
|
24
|
-
export type { MenuItemCheckboxProps, MenuItemCheckboxOptions, } from "@ariakit/react-core/menu/menu-item-checkbox";
|
25
18
|
export { MenuItemRadio } from "@ariakit/react-core/menu/menu-item-radio";
|
26
|
-
export type { MenuItemRadioProps, MenuItemRadioOptions, } from "@ariakit/react-core/menu/menu-item-radio";
|
27
19
|
export { MenuItem } from "@ariakit/react-core/menu/menu-item";
|
28
|
-
export type { MenuItemProps, MenuItemOptions, } from "@ariakit/react-core/menu/menu-item";
|
29
20
|
export { MenuList } from "@ariakit/react-core/menu/menu-list";
|
30
|
-
export type { MenuListProps, MenuListOptions, } from "@ariakit/react-core/menu/menu-list";
|
31
21
|
export { MenuSeparator } from "@ariakit/react-core/menu/menu-separator";
|
32
|
-
export type { MenuSeparatorProps, MenuSeparatorOptions, } from "@ariakit/react-core/menu/menu-separator";
|
33
|
-
export { useMenuStore } from "@ariakit/react-core/menu/menu-store";
|
34
22
|
export type { MenuStore, MenuStoreProps, MenuStoreState, } from "@ariakit/react-core/menu/menu-store";
|
35
|
-
export {
|
23
|
+
export type { MenuBarStore, MenuBarStoreProps, MenuBarStoreState, } from "@ariakit/react-core/menu/menu-bar-store";
|
36
24
|
export type { MenuProps, MenuOptions } from "@ariakit/react-core/menu/menu";
|
25
|
+
export type { MenuProviderProps } from "@ariakit/react-core/menu/menu-provider";
|
26
|
+
export type { MenuBarProps, MenuBarOptions, } from "@ariakit/react-core/menu/menu-bar";
|
27
|
+
export type { MenuBarProviderProps } from "@ariakit/react-core/menu/menu-bar-provider";
|
28
|
+
export type { MenuArrowProps, MenuArrowOptions, } from "@ariakit/react-core/menu/menu-arrow";
|
29
|
+
export type { MenuButtonArrowProps, MenuButtonArrowOptions, } from "@ariakit/react-core/menu/menu-button-arrow";
|
30
|
+
export type { MenuButtonProps, MenuButtonOptions, } from "@ariakit/react-core/menu/menu-button";
|
31
|
+
export type { MenuDescriptionProps, MenuDescriptionOptions, } from "@ariakit/react-core/menu/menu-description";
|
32
|
+
export type { MenuDismissProps, MenuDismissOptions, } from "@ariakit/react-core/menu/menu-dismiss";
|
33
|
+
export type { MenuGroupLabelProps, MenuGroupLabelOptions, } from "@ariakit/react-core/menu/menu-group-label";
|
34
|
+
export type { MenuGroupProps, MenuGroupOptions, } from "@ariakit/react-core/menu/menu-group";
|
35
|
+
export type { MenuHeadingProps, MenuHeadingOptions, } from "@ariakit/react-core/menu/menu-heading";
|
36
|
+
export type { MenuItemCheckProps, MenuItemCheckOptions, } from "@ariakit/react-core/menu/menu-item-check";
|
37
|
+
export type { MenuItemCheckboxProps, MenuItemCheckboxOptions, } from "@ariakit/react-core/menu/menu-item-checkbox";
|
38
|
+
export type { MenuItemRadioProps, MenuItemRadioOptions, } from "@ariakit/react-core/menu/menu-item-radio";
|
39
|
+
export type { MenuItemProps, MenuItemOptions, } from "@ariakit/react-core/menu/menu-item";
|
40
|
+
export type { MenuListProps, MenuListOptions, } from "@ariakit/react-core/menu/menu-list";
|
41
|
+
export type { MenuSeparatorProps, MenuSeparatorOptions, } from "@ariakit/react-core/menu/menu-separator";
|
package/esm/menu.js
CHANGED
@@ -2,6 +2,7 @@ import {
|
|
2
2
|
Menu,
|
3
3
|
MenuArrow,
|
4
4
|
MenuBar,
|
5
|
+
MenuBarProvider,
|
5
6
|
MenuButton,
|
6
7
|
MenuButtonArrow,
|
7
8
|
MenuDescription,
|
@@ -14,14 +15,18 @@ import {
|
|
14
15
|
MenuItemCheckbox,
|
15
16
|
MenuItemRadio,
|
16
17
|
MenuList,
|
18
|
+
MenuProvider,
|
17
19
|
MenuSeparator,
|
20
|
+
useMenuBarContext,
|
18
21
|
useMenuBarStore,
|
22
|
+
useMenuContext,
|
19
23
|
useMenuStore
|
20
|
-
} from "./__chunks/
|
24
|
+
} from "./__chunks/JNOG2DG3.js";
|
21
25
|
export {
|
22
26
|
Menu,
|
23
27
|
MenuArrow,
|
24
28
|
MenuBar,
|
29
|
+
MenuBarProvider,
|
25
30
|
MenuButton,
|
26
31
|
MenuButtonArrow,
|
27
32
|
MenuDescription,
|
@@ -34,7 +39,10 @@ export {
|
|
34
39
|
MenuItemCheckbox,
|
35
40
|
MenuItemRadio,
|
36
41
|
MenuList,
|
42
|
+
MenuProvider,
|
37
43
|
MenuSeparator,
|
44
|
+
useMenuBarContext,
|
38
45
|
useMenuBarStore,
|
46
|
+
useMenuContext,
|
39
47
|
useMenuStore
|
40
48
|
};
|
package/esm/popover.d.ts
CHANGED
@@ -1,18 +1,21 @@
|
|
1
|
+
export { usePopoverStore } from "@ariakit/react-core/popover/popover-store";
|
2
|
+
export { usePopoverContext } from "@ariakit/react-core/popover/popover-context";
|
3
|
+
export { Popover } from "@ariakit/react-core/popover/popover";
|
4
|
+
export { PopoverProvider } from "@ariakit/react-core/popover/popover-provider";
|
1
5
|
export { PopoverAnchor } from "@ariakit/react-core/popover/popover-anchor";
|
2
|
-
export type { PopoverAnchorProps, PopoverAnchorOptions, } from "@ariakit/react-core/popover/popover-anchor";
|
3
6
|
export { PopoverArrow } from "@ariakit/react-core/popover/popover-arrow";
|
4
|
-
export type { PopoverArrowProps, PopoverArrowOptions, } from "@ariakit/react-core/popover/popover-arrow";
|
5
7
|
export { PopoverDescription } from "@ariakit/react-core/popover/popover-description";
|
6
|
-
export type { PopoverDescriptionProps, PopoverDescriptionOptions, } from "@ariakit/react-core/popover/popover-description";
|
7
8
|
export { PopoverDisclosureArrow } from "@ariakit/react-core/popover/popover-disclosure-arrow";
|
8
|
-
export type { PopoverDisclosureArrowProps, PopoverDisclosureArrowOptions, } from "@ariakit/react-core/popover/popover-disclosure-arrow";
|
9
9
|
export { PopoverDisclosure } from "@ariakit/react-core/popover/popover-disclosure";
|
10
|
-
export type { PopoverDisclosureProps, PopoverDisclosureOptions, } from "@ariakit/react-core/popover/popover-disclosure";
|
11
10
|
export { PopoverDismiss } from "@ariakit/react-core/popover/popover-dismiss";
|
12
|
-
export type { PopoverDismissProps, PopoverDismissOptions, } from "@ariakit/react-core/popover/popover-dismiss";
|
13
11
|
export { PopoverHeading } from "@ariakit/react-core/popover/popover-heading";
|
14
|
-
export type { PopoverHeadingProps, PopoverHeadingOptions, } from "@ariakit/react-core/popover/popover-heading";
|
15
|
-
export { usePopoverStore } from "@ariakit/react-core/popover/popover-store";
|
16
12
|
export type { PopoverStoreProps, PopoverStore, PopoverStoreState, } from "@ariakit/react-core/popover/popover-store";
|
17
|
-
export { Popover } from "@ariakit/react-core/popover/popover";
|
18
13
|
export type { PopoverProps, PopoverOptions, } from "@ariakit/react-core/popover/popover";
|
14
|
+
export type { PopoverProviderProps } from "@ariakit/react-core/popover/popover-provider";
|
15
|
+
export type { PopoverAnchorProps, PopoverAnchorOptions, } from "@ariakit/react-core/popover/popover-anchor";
|
16
|
+
export type { PopoverArrowProps, PopoverArrowOptions, } from "@ariakit/react-core/popover/popover-arrow";
|
17
|
+
export type { PopoverDescriptionProps, PopoverDescriptionOptions, } from "@ariakit/react-core/popover/popover-description";
|
18
|
+
export type { PopoverDisclosureArrowProps, PopoverDisclosureArrowOptions, } from "@ariakit/react-core/popover/popover-disclosure-arrow";
|
19
|
+
export type { PopoverDisclosureProps, PopoverDisclosureOptions, } from "@ariakit/react-core/popover/popover-disclosure";
|
20
|
+
export type { PopoverDismissProps, PopoverDismissOptions, } from "@ariakit/react-core/popover/popover-dismiss";
|
21
|
+
export type { PopoverHeadingProps, PopoverHeadingOptions, } from "@ariakit/react-core/popover/popover-heading";
|
package/esm/popover.js
CHANGED
@@ -7,8 +7,10 @@ import {
|
|
7
7
|
PopoverDisclosureArrow,
|
8
8
|
PopoverDismiss,
|
9
9
|
PopoverHeading,
|
10
|
+
PopoverProvider,
|
11
|
+
usePopoverContext,
|
10
12
|
usePopoverStore
|
11
|
-
} from "./__chunks/
|
13
|
+
} from "./__chunks/EWPJEOTI.js";
|
12
14
|
export {
|
13
15
|
Popover,
|
14
16
|
PopoverAnchor,
|
@@ -18,5 +20,7 @@ export {
|
|
18
20
|
PopoverDisclosureArrow,
|
19
21
|
PopoverDismiss,
|
20
22
|
PopoverHeading,
|
23
|
+
PopoverProvider,
|
24
|
+
usePopoverContext,
|
21
25
|
usePopoverStore
|
22
26
|
};
|
package/esm/radio.d.ts
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
export { RadioGroup } from "@ariakit/react-core/radio/radio-group";
|
2
|
-
export type { RadioGroupOptions, RadioGroupProps, } from "@ariakit/react-core/radio/radio-group";
|
3
1
|
export { useRadioStore } from "@ariakit/react-core/radio/radio-store";
|
4
|
-
export
|
2
|
+
export { useRadioContext } from "@ariakit/react-core/radio/radio-context";
|
5
3
|
export { Radio } from "@ariakit/react-core/radio/radio";
|
4
|
+
export { RadioProvider } from "@ariakit/react-core/radio/radio-provider";
|
5
|
+
export { RadioGroup } from "@ariakit/react-core/radio/radio-group";
|
6
|
+
export type { RadioStore, RadioStoreState, RadioStoreProps, } from "@ariakit/react-core/radio/radio-store";
|
6
7
|
export type { RadioOptions, RadioProps } from "@ariakit/react-core/radio/radio";
|
8
|
+
export type { RadioProviderProps } from "@ariakit/react-core/radio/radio-provider";
|
9
|
+
export type { RadioGroupOptions, RadioGroupProps, } from "@ariakit/react-core/radio/radio-group";
|