@ariakit/react 0.4.17 → 0.4.18
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 +11 -0
- package/cjs/__chunks/{Q5T3OEQ6.cjs → 24MX6KII.cjs} +4 -4
- package/cjs/__chunks/{BV67DRZ7.cjs → 32YVOHOP.cjs} +12 -12
- package/cjs/__chunks/{GCRJ7IPS.cjs → 4BAIAF3U.cjs} +4 -4
- package/cjs/__chunks/{MUFWZHDM.cjs → 4J2CIZDN.cjs} +4 -4
- package/cjs/__chunks/{WOPJBGZ4.cjs → 4TTUYQMJ.cjs} +4 -4
- package/cjs/__chunks/{LQUB25NB.cjs → 6QAXTQNM.cjs} +4 -4
- package/cjs/__chunks/{G2XDRT7D.cjs → A2CP2RQF.cjs} +4 -4
- package/cjs/__chunks/{BTOFH5V7.cjs → BFD7ZBIV.cjs} +5 -5
- package/cjs/__chunks/{TRONNKBB.cjs → CZIDOP5N.cjs} +6 -6
- package/cjs/__chunks/{34E6OGVR.cjs → ETUDK33Z.cjs} +5 -5
- package/cjs/__chunks/{K3ODXZMJ.cjs → GJC4LCYO.cjs} +4 -4
- package/cjs/__chunks/{T4JQXRUG.cjs → KGVA5X7R.cjs} +6 -6
- package/cjs/__chunks/{MNVLSVA5.cjs → LAX4QA6C.cjs} +7 -7
- package/cjs/__chunks/{EB4VK43A.cjs → QPSUJCLN.cjs} +3 -3
- package/cjs/__chunks/{VMUSGWIU.cjs → TDX6HS73.cjs} +2 -2
- package/cjs/__chunks/{S5PSYLBO.cjs → UPMOBIQ3.cjs} +4 -4
- package/cjs/__chunks/{FKJUU77X.cjs → W6XMZ4GT.cjs} +4 -4
- package/cjs/__chunks/{DDFIH7VB.cjs → XTZIX6PF.cjs} +2 -2
- package/cjs/button.d.cts +1 -1
- package/cjs/button.d.ts +1 -1
- package/cjs/checkbox.cjs +2 -2
- package/cjs/checkbox.d.cts +6 -6
- package/cjs/checkbox.d.ts +6 -6
- package/cjs/collection.cjs +2 -2
- package/cjs/collection.d.cts +6 -6
- package/cjs/collection.d.ts +6 -6
- package/cjs/combobox.cjs +2 -2
- package/cjs/combobox.d.cts +20 -20
- package/cjs/combobox.d.ts +20 -20
- package/cjs/command.d.cts +1 -1
- package/cjs/command.d.ts +1 -1
- package/cjs/composite.cjs +2 -2
- package/cjs/composite.d.cts +14 -14
- package/cjs/composite.d.ts +14 -14
- package/cjs/dialog.cjs +2 -2
- package/cjs/dialog.d.cts +9 -9
- package/cjs/dialog.d.ts +9 -9
- package/cjs/disclosure.cjs +2 -2
- package/cjs/disclosure.d.cts +6 -6
- package/cjs/disclosure.d.ts +6 -6
- package/cjs/focus-trap.cjs +2 -2
- package/cjs/focus-trap.d.cts +2 -2
- package/cjs/focus-trap.d.ts +2 -2
- package/cjs/focusable.d.cts +1 -1
- package/cjs/focusable.d.ts +1 -1
- package/cjs/form.cjs +2 -2
- package/cjs/form.d.cts +23 -23
- package/cjs/form.d.ts +23 -23
- package/cjs/group.d.cts +2 -2
- package/cjs/group.d.ts +2 -2
- package/cjs/heading.d.cts +2 -2
- package/cjs/heading.d.ts +2 -2
- package/cjs/hovercard.cjs +2 -2
- package/cjs/hovercard.d.cts +11 -11
- package/cjs/hovercard.d.ts +11 -11
- package/cjs/index.cjs +19 -19
- package/cjs/menu.cjs +2 -2
- package/cjs/menu.d.cts +27 -27
- package/cjs/menu.d.ts +27 -27
- package/cjs/menubar.cjs +2 -2
- package/cjs/menubar.d.cts +4 -4
- package/cjs/menubar.d.ts +4 -4
- package/cjs/popover.cjs +2 -2
- package/cjs/popover.d.cts +13 -13
- package/cjs/popover.d.ts +13 -13
- package/cjs/portal.cjs +2 -2
- package/cjs/portal.d.cts +2 -2
- package/cjs/portal.d.ts +2 -2
- package/cjs/radio.cjs +2 -2
- package/cjs/radio.d.cts +6 -6
- package/cjs/radio.d.ts +6 -6
- package/cjs/role.d.cts +1 -1
- package/cjs/role.d.ts +1 -1
- package/cjs/select.cjs +2 -2
- package/cjs/select.d.cts +20 -20
- package/cjs/select.d.ts +20 -20
- package/cjs/separator.d.cts +1 -1
- package/cjs/separator.d.ts +1 -1
- package/cjs/tab.cjs +2 -2
- package/cjs/tab.d.cts +7 -7
- package/cjs/tab.d.ts +7 -7
- package/cjs/toolbar.cjs +2 -2
- package/cjs/toolbar.d.cts +9 -9
- package/cjs/toolbar.d.ts +9 -9
- package/cjs/tooltip.cjs +2 -2
- package/cjs/tooltip.d.cts +7 -7
- package/cjs/tooltip.d.ts +7 -7
- package/cjs/visually-hidden.d.cts +1 -1
- package/cjs/visually-hidden.d.ts +1 -1
- package/esm/__chunks/{6J63DDWN.js → 4H6IIOQF.js} +7 -7
- package/esm/__chunks/{CLB7CBSD.js → 5OF2JM6T.js} +6 -6
- package/esm/__chunks/{P3XY2YBH.js → 6FL2IFMJ.js} +6 -6
- package/esm/__chunks/{C7PAEXNA.js → 6N4GEF7O.js} +7 -7
- package/esm/__chunks/{42VA7B4Z.js → 7FQAKYJR.js} +7 -7
- package/esm/__chunks/{ADBCZIQL.js → DZPSY7QT.js} +7 -7
- package/esm/__chunks/{NWEXBSCX.js → PGIWSRTG.js} +9 -9
- package/esm/__chunks/{HX55FU5Y.js → PRYHFEBA.js} +3 -3
- package/esm/__chunks/{KPNBOGNT.js → UTW5KHW6.js} +6 -6
- package/esm/__chunks/{AABBG3SH.js → VHD2YK6B.js} +7 -7
- package/esm/__chunks/{7FNMRS2F.js → XHSNLTYJ.js} +3 -3
- package/esm/__chunks/{BXE66XRQ.js → XIMRDTWX.js} +5 -5
- package/esm/__chunks/{NZJS6FCJ.js → ZFJPKQV6.js} +21 -21
- package/esm/__chunks/{45LTDKFS.js → ZQSDMYJA.js} +6 -6
- package/esm/button.d.ts +1 -1
- package/esm/checkbox.d.ts +6 -6
- package/esm/checkbox.js +1 -1
- package/esm/collection.d.ts +6 -6
- package/esm/collection.js +1 -1
- package/esm/combobox.d.ts +20 -20
- package/esm/combobox.js +1 -1
- package/esm/command.d.ts +1 -1
- package/esm/composite.d.ts +14 -14
- package/esm/composite.js +1 -1
- package/esm/dialog.d.ts +9 -9
- package/esm/dialog.js +1 -1
- package/esm/disclosure.d.ts +6 -6
- package/esm/disclosure.js +1 -1
- package/esm/focus-trap.d.ts +2 -2
- package/esm/focus-trap.js +1 -1
- package/esm/focusable.d.ts +1 -1
- package/esm/form.d.ts +23 -23
- package/esm/form.js +1 -1
- package/esm/group.d.ts +2 -2
- package/esm/heading.d.ts +2 -2
- package/esm/hovercard.d.ts +11 -11
- package/esm/hovercard.js +1 -1
- package/esm/index.js +18 -18
- package/esm/menu.d.ts +27 -27
- package/esm/menu.js +1 -1
- package/esm/menubar.d.ts +4 -4
- package/esm/menubar.js +1 -1
- package/esm/popover.d.ts +13 -13
- package/esm/popover.js +1 -1
- package/esm/portal.d.ts +2 -2
- package/esm/portal.js +1 -1
- package/esm/radio.d.ts +6 -6
- package/esm/radio.js +1 -1
- package/esm/role.d.ts +1 -1
- package/esm/select.d.ts +20 -20
- package/esm/select.js +1 -1
- package/esm/separator.d.ts +1 -1
- package/esm/tab.d.ts +7 -7
- package/esm/tab.js +1 -1
- package/esm/toolbar.d.ts +9 -9
- package/esm/toolbar.js +1 -1
- package/esm/tooltip.d.ts +7 -7
- package/esm/tooltip.js +1 -1
- package/esm/visually-hidden.d.ts +1 -1
- package/license +1 -1
- package/package.json +2 -2
- package/esm/__chunks/{H2QN6ELW.js → AJMZU3YP.js} +8 -8
- package/esm/__chunks/{DYAPH36H.js → YQF2RGHD.js} +12 -12
- package/esm/__chunks/{KRAVG5ZJ.js → ZDPYYVJP.js} +10 -10
- package/esm/__chunks/{OPAXWEUO.js → ZVIXWGHS.js} +10 -10
@@ -1,28 +1,28 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
3
|
// src/composite.ts
|
4
|
-
import { useCompositeStore } from "@ariakit/react-core/composite/composite-store";
|
5
|
-
import { useCompositeContext } from "@ariakit/react-core/composite/composite-context";
|
6
4
|
import { Composite } from "@ariakit/react-core/composite/composite";
|
7
|
-
import {
|
8
|
-
import { CompositeGroupLabel } from "@ariakit/react-core/composite/composite-group-label";
|
5
|
+
import { useCompositeContext } from "@ariakit/react-core/composite/composite-context";
|
9
6
|
import { CompositeGroup } from "@ariakit/react-core/composite/composite-group";
|
7
|
+
import { CompositeGroupLabel } from "@ariakit/react-core/composite/composite-group-label";
|
10
8
|
import { CompositeHover } from "@ariakit/react-core/composite/composite-hover";
|
11
9
|
import { CompositeItem } from "@ariakit/react-core/composite/composite-item";
|
10
|
+
import { CompositeProvider } from "@ariakit/react-core/composite/composite-provider";
|
12
11
|
import { CompositeRow } from "@ariakit/react-core/composite/composite-row";
|
13
12
|
import { CompositeSeparator } from "@ariakit/react-core/composite/composite-separator";
|
13
|
+
import { useCompositeStore } from "@ariakit/react-core/composite/composite-store";
|
14
14
|
import { CompositeTypeahead } from "@ariakit/react-core/composite/composite-typeahead";
|
15
15
|
|
16
16
|
export {
|
17
|
-
useCompositeStore,
|
18
|
-
useCompositeContext,
|
19
17
|
Composite,
|
20
|
-
|
21
|
-
CompositeGroupLabel,
|
18
|
+
useCompositeContext,
|
22
19
|
CompositeGroup,
|
20
|
+
CompositeGroupLabel,
|
23
21
|
CompositeHover,
|
24
22
|
CompositeItem,
|
23
|
+
CompositeProvider,
|
25
24
|
CompositeRow,
|
26
25
|
CompositeSeparator,
|
26
|
+
useCompositeStore,
|
27
27
|
CompositeTypeahead
|
28
28
|
};
|
@@ -1,44 +1,44 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
3
|
// src/form.ts
|
4
|
-
import { useFormStore } from "@ariakit/react-core/form/form-store";
|
5
|
-
import { useFormContext } from "@ariakit/react-core/form/form-context";
|
6
4
|
import { Form } from "@ariakit/react-core/form/form";
|
7
|
-
import { FormProvider } from "@ariakit/react-core/form/form-provider";
|
8
|
-
import { FormControl } from "@ariakit/react-core/form/form-control";
|
9
5
|
import { FormCheckbox } from "@ariakit/react-core/form/form-checkbox";
|
6
|
+
import { useFormContext } from "@ariakit/react-core/form/form-context";
|
7
|
+
import { FormControl } from "@ariakit/react-core/form/form-control";
|
10
8
|
import { FormDescription } from "@ariakit/react-core/form/form-description";
|
11
9
|
import { FormError } from "@ariakit/react-core/form/form-error";
|
12
10
|
import { FormField } from "@ariakit/react-core/form/form-field";
|
13
|
-
import { FormGroupLabel } from "@ariakit/react-core/form/form-group-label";
|
14
11
|
import { FormGroup } from "@ariakit/react-core/form/form-group";
|
12
|
+
import { FormGroupLabel } from "@ariakit/react-core/form/form-group-label";
|
15
13
|
import { FormInput } from "@ariakit/react-core/form/form-input";
|
16
14
|
import { FormLabel } from "@ariakit/react-core/form/form-label";
|
15
|
+
import { FormProvider } from "@ariakit/react-core/form/form-provider";
|
17
16
|
import { FormPush } from "@ariakit/react-core/form/form-push";
|
18
|
-
import { FormRadioGroup } from "@ariakit/react-core/form/form-radio-group";
|
19
17
|
import { FormRadio } from "@ariakit/react-core/form/form-radio";
|
18
|
+
import { FormRadioGroup } from "@ariakit/react-core/form/form-radio-group";
|
20
19
|
import { FormRemove } from "@ariakit/react-core/form/form-remove";
|
21
20
|
import { FormReset } from "@ariakit/react-core/form/form-reset";
|
21
|
+
import { useFormStore } from "@ariakit/react-core/form/form-store";
|
22
22
|
import { FormSubmit } from "@ariakit/react-core/form/form-submit";
|
23
23
|
|
24
24
|
export {
|
25
|
-
useFormStore,
|
26
|
-
useFormContext,
|
27
25
|
Form,
|
28
|
-
FormProvider,
|
29
|
-
FormControl,
|
30
26
|
FormCheckbox,
|
27
|
+
useFormContext,
|
28
|
+
FormControl,
|
31
29
|
FormDescription,
|
32
30
|
FormError,
|
33
31
|
FormField,
|
34
|
-
FormGroupLabel,
|
35
32
|
FormGroup,
|
33
|
+
FormGroupLabel,
|
36
34
|
FormInput,
|
37
35
|
FormLabel,
|
36
|
+
FormProvider,
|
38
37
|
FormPush,
|
39
|
-
FormRadioGroup,
|
40
38
|
FormRadio,
|
39
|
+
FormRadioGroup,
|
41
40
|
FormRemove,
|
42
41
|
FormReset,
|
42
|
+
useFormStore,
|
43
43
|
FormSubmit
|
44
44
|
};
|
@@ -1,40 +1,40 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
3
|
// src/combobox.ts
|
4
|
-
import { useComboboxStore } from "@ariakit/react-core/combobox/combobox-store";
|
5
|
-
import { useComboboxContext } from "@ariakit/react-core/combobox/combobox-context";
|
6
4
|
import { Combobox } from "@ariakit/react-core/combobox/combobox";
|
7
|
-
import { ComboboxProvider } from "@ariakit/react-core/combobox/combobox-provider";
|
8
5
|
import { ComboboxCancel } from "@ariakit/react-core/combobox/combobox-cancel";
|
6
|
+
import { useComboboxContext } from "@ariakit/react-core/combobox/combobox-context";
|
9
7
|
import { ComboboxDisclosure } from "@ariakit/react-core/combobox/combobox-disclosure";
|
10
|
-
import { ComboboxGroupLabel } from "@ariakit/react-core/combobox/combobox-group-label";
|
11
8
|
import { ComboboxGroup } from "@ariakit/react-core/combobox/combobox-group";
|
9
|
+
import { ComboboxGroupLabel } from "@ariakit/react-core/combobox/combobox-group-label";
|
10
|
+
import { ComboboxItem } from "@ariakit/react-core/combobox/combobox-item";
|
12
11
|
import { ComboboxItemCheck } from "@ariakit/react-core/combobox/combobox-item-check";
|
13
12
|
import { ComboboxItemValue } from "@ariakit/react-core/combobox/combobox-item-value";
|
14
|
-
import { ComboboxItem } from "@ariakit/react-core/combobox/combobox-item";
|
15
13
|
import { ComboboxLabel } from "@ariakit/react-core/combobox/combobox-label";
|
16
14
|
import { ComboboxList } from "@ariakit/react-core/combobox/combobox-list";
|
17
15
|
import { ComboboxPopover } from "@ariakit/react-core/combobox/combobox-popover";
|
16
|
+
import { ComboboxProvider } from "@ariakit/react-core/combobox/combobox-provider";
|
18
17
|
import { ComboboxRow } from "@ariakit/react-core/combobox/combobox-row";
|
19
18
|
import { ComboboxSeparator } from "@ariakit/react-core/combobox/combobox-separator";
|
19
|
+
import { useComboboxStore } from "@ariakit/react-core/combobox/combobox-store";
|
20
20
|
import { ComboboxValue } from "@ariakit/react-core/combobox/combobox-value";
|
21
21
|
|
22
22
|
export {
|
23
|
-
useComboboxStore,
|
24
|
-
useComboboxContext,
|
25
23
|
Combobox,
|
26
|
-
ComboboxProvider,
|
27
24
|
ComboboxCancel,
|
25
|
+
useComboboxContext,
|
28
26
|
ComboboxDisclosure,
|
29
|
-
ComboboxGroupLabel,
|
30
27
|
ComboboxGroup,
|
28
|
+
ComboboxGroupLabel,
|
29
|
+
ComboboxItem,
|
31
30
|
ComboboxItemCheck,
|
32
31
|
ComboboxItemValue,
|
33
|
-
ComboboxItem,
|
34
32
|
ComboboxLabel,
|
35
33
|
ComboboxList,
|
36
34
|
ComboboxPopover,
|
35
|
+
ComboboxProvider,
|
37
36
|
ComboboxRow,
|
38
37
|
ComboboxSeparator,
|
38
|
+
useComboboxStore,
|
39
39
|
ComboboxValue
|
40
40
|
};
|
@@ -1,40 +1,40 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
3
|
// src/select.ts
|
4
|
-
import { useSelectStore } from "@ariakit/react-core/select/select-store";
|
5
|
-
import { useSelectContext } from "@ariakit/react-core/select/select-context";
|
6
4
|
import { Select } from "@ariakit/react-core/select/select";
|
7
|
-
import { SelectProvider } from "@ariakit/react-core/select/select-provider";
|
8
5
|
import { SelectArrow } from "@ariakit/react-core/select/select-arrow";
|
6
|
+
import { useSelectContext } from "@ariakit/react-core/select/select-context";
|
9
7
|
import { SelectDismiss } from "@ariakit/react-core/select/select-dismiss";
|
10
|
-
import { SelectGroupLabel } from "@ariakit/react-core/select/select-group-label";
|
11
8
|
import { SelectGroup } from "@ariakit/react-core/select/select-group";
|
9
|
+
import { SelectGroupLabel } from "@ariakit/react-core/select/select-group-label";
|
12
10
|
import { SelectHeading } from "@ariakit/react-core/select/select-heading";
|
13
|
-
import { SelectItemCheck } from "@ariakit/react-core/select/select-item-check";
|
14
11
|
import { SelectItem } from "@ariakit/react-core/select/select-item";
|
12
|
+
import { SelectItemCheck } from "@ariakit/react-core/select/select-item-check";
|
15
13
|
import { SelectLabel } from "@ariakit/react-core/select/select-label";
|
16
14
|
import { SelectList } from "@ariakit/react-core/select/select-list";
|
17
15
|
import { SelectPopover } from "@ariakit/react-core/select/select-popover";
|
16
|
+
import { SelectProvider } from "@ariakit/react-core/select/select-provider";
|
18
17
|
import { SelectRow } from "@ariakit/react-core/select/select-row";
|
19
18
|
import { SelectSeparator } from "@ariakit/react-core/select/select-separator";
|
19
|
+
import { useSelectStore } from "@ariakit/react-core/select/select-store";
|
20
20
|
import { SelectValue } from "@ariakit/react-core/select/select-value";
|
21
21
|
|
22
22
|
export {
|
23
|
-
useSelectStore,
|
24
|
-
useSelectContext,
|
25
23
|
Select,
|
26
|
-
SelectProvider,
|
27
24
|
SelectArrow,
|
25
|
+
useSelectContext,
|
28
26
|
SelectDismiss,
|
29
|
-
SelectGroupLabel,
|
30
27
|
SelectGroup,
|
28
|
+
SelectGroupLabel,
|
31
29
|
SelectHeading,
|
32
|
-
SelectItemCheck,
|
33
30
|
SelectItem,
|
31
|
+
SelectItemCheck,
|
34
32
|
SelectLabel,
|
35
33
|
SelectList,
|
36
34
|
SelectPopover,
|
35
|
+
SelectProvider,
|
37
36
|
SelectRow,
|
38
37
|
SelectSeparator,
|
38
|
+
useSelectStore,
|
39
39
|
SelectValue
|
40
40
|
};
|