@ark-ui/solid 5.20.0 → 5.22.0
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/dist/chunk/{VL4J24YY.js → 32XOEHJA.js} +2 -2
- package/dist/chunk/{KLX5OWO4.js → 3MXQ4UTL.js} +1 -1
- package/dist/chunk/{DAORON6X.js → 4DBNFXQT.js} +1 -1
- package/dist/chunk/{OTEN4SAY.jsx → 4HMPTYYS.jsx} +2 -2
- package/dist/chunk/{YADTZSXX.js → 4NJHH6IA.js} +2 -2
- package/dist/chunk/{M3FJ4ZUY.jsx → 5EIABR36.jsx} +30 -14
- package/dist/chunk/{AEHKRB27.jsx → 5HPWBPXN.jsx} +1 -1
- package/dist/chunk/{MSDICFK5.jsx → 5HS4XHPV.jsx} +2 -2
- package/dist/chunk/{B2TMVKY3.js → 5LWXP72T.js} +23 -4
- package/dist/chunk/{4HQIDBKB.js → 5MPUJF73.js} +1 -1
- package/dist/chunk/{MMEPVOO3.jsx → 6MGH6HEP.jsx} +1 -1
- package/dist/chunk/{57XFSJSJ.jsx → 6RI5RLL4.jsx} +2 -2
- package/dist/chunk/{OKT2RIHV.js → 6SS4HF64.js} +1 -1
- package/dist/chunk/{4XV3T2RT.jsx → 7BHNFUPW.jsx} +1 -1
- package/dist/chunk/{ZHS5GCPH.js → A3GLAR2K.js} +1 -1
- package/dist/chunk/{5UVX33V2.jsx → ANEDGTU4.jsx} +1 -1
- package/dist/chunk/{O5UHP4CA.js → APULXWCH.js} +9 -2
- package/dist/chunk/{DPP7XCXL.js → AQICSUXF.js} +1 -1
- package/dist/chunk/{SSWISV43.jsx → AWD5DIFD.jsx} +1 -1
- package/dist/chunk/{QPEAMFRL.jsx → B5KMHNSV.jsx} +2 -2
- package/dist/chunk/{YYWITIS7.jsx → BIBVXHZ2.jsx} +2 -2
- package/dist/chunk/{SWUMYWUU.js → CBBODIIA.js} +2 -2
- package/dist/chunk/{BOR6VUN5.js → CJ7ZPDYK.js} +1 -1
- package/dist/chunk/{NMJ67UCO.js → CPLXH5IA.js} +1 -1
- package/dist/chunk/{EJFRDVCX.jsx → CTLTBA6P.jsx} +2 -2
- package/dist/chunk/{HNLRXJ54.js → D63ULIQQ.js} +2 -2
- package/dist/chunk/{FFVNMZA6.js → DR6ZXQ4K.js} +2 -2
- package/dist/chunk/{JQIXCEUN.jsx → DTSVIUAM.jsx} +1 -1
- package/dist/chunk/{K6EEABL5.js → E7OGB2A5.js} +2 -2
- package/dist/chunk/{DZGDAEOH.jsx → EFII6TXL.jsx} +24 -9
- package/dist/chunk/{5OA4XEHW.jsx → EODO532W.jsx} +1 -1
- package/dist/chunk/{J4VOAZA3.jsx → EWPHO4ND.jsx} +1 -1
- package/dist/chunk/{UMVBUCBO.js → FDNBKLQD.js} +1 -1
- package/dist/chunk/{VJ2ZFW6U.js → FLTSMA4B.js} +1 -1
- package/dist/chunk/{XOVDOF3R.jsx → FQDJD5WT.jsx} +1 -1
- package/dist/chunk/{P5ZRUIVB.jsx → FX3X3KI4.jsx} +1 -1
- package/dist/chunk/{2Z37DOO5.jsx → FYV3OPJE.jsx} +2 -2
- package/dist/chunk/{UZXWP4N2.js → FZMB5WQY.js} +2 -2
- package/dist/chunk/{J2I54ALY.jsx → GBEEXVXU.jsx} +2 -2
- package/dist/chunk/{KYIRNJBT.jsx → GDROOPOD.jsx} +2 -2
- package/dist/chunk/{5FW3VV3B.jsx → GF6IMD4V.jsx} +1 -1
- package/dist/chunk/{OIG52XTL.jsx → HACBFHHT.jsx} +1 -1
- package/dist/chunk/{XZ7Z672B.js → HIA6P7A2.js} +2 -2
- package/dist/chunk/{TJJO7RK5.js → HQFAQX4S.js} +2 -2
- package/dist/chunk/{MYOMDGBL.jsx → HQRZRCZN.jsx} +2 -1
- package/dist/chunk/{LORIOKHL.js → HVQPMEHH.js} +1 -1
- package/dist/chunk/{7S4FM6EK.js → IEZKTVGR.js} +2 -2
- package/dist/chunk/{Q3QMDHRY.jsx → IIQ4DVBM.jsx} +2 -2
- package/dist/chunk/{QNB2UJP7.jsx → IQBPSALU.jsx} +2 -1
- package/dist/chunk/{OKZ64GSY.js → JOLWKIPW.js} +10 -2
- package/dist/chunk/{7IV674K5.jsx → JPVFWVKB.jsx} +2 -2
- package/dist/chunk/{ROUJC6XC.js → JVPZ5H4S.js} +1 -1
- package/dist/chunk/{LY6KT2RR.jsx → K4PAURBN.jsx} +1 -1
- package/dist/chunk/{FS6GEMRM.jsx → KSBRZHY3.jsx} +4 -1
- package/dist/chunk/{A6XGGK7D.jsx → L6VQ5JYK.jsx} +1 -1
- package/dist/chunk/{K43XFCKD.js → LBDJJRGP.js} +1 -1
- package/dist/chunk/{T4JGZ7KR.js → LHPNWFI4.js} +1 -1
- package/dist/chunk/{TTICFFSM.jsx → LQ6T5YT7.jsx} +1 -1
- package/dist/chunk/{VQ3I3Z7G.js → LZPARB53.js} +1 -1
- package/dist/chunk/{4VCRFRFE.js → M3YQ2ERY.js} +1 -1
- package/dist/chunk/{6HQNY7WM.js → MSG5CNFB.js} +4 -1
- package/dist/chunk/{SCH26OXU.jsx → NNRIF2OF.jsx} +1 -1
- package/dist/chunk/{JWPRFVT7.jsx → NU2LGEQO.jsx} +1 -1
- package/dist/chunk/{PNYN26W7.jsx → NZZ47TNF.jsx} +1 -1
- package/dist/chunk/{B4ZXV6YG.jsx → O4BTJAES.jsx} +1 -1
- package/dist/chunk/{TKINUEE2.js → OJDEGAOM.js} +2 -2
- package/dist/chunk/{Z7NWMXVR.js → OKPKUWZY.js} +2 -2
- package/dist/chunk/{U3SNCYTA.jsx → P2MZ2BIM.jsx} +2 -2
- package/dist/chunk/{H5DXY5W4.js → PELRXKOJ.js} +1 -1
- package/dist/chunk/{D66BAI2Q.jsx → PJ75DKGV.jsx} +2 -1
- package/dist/chunk/{LRA73ZZJ.js → QLR5DW7S.js} +1 -1
- package/dist/chunk/{ZCVENRH5.js → QNUM5QZD.js} +2 -2
- package/dist/chunk/{RDUJFJ2K.js → QY4J4YQ6.js} +2 -2
- package/dist/chunk/{DIUPFYX7.jsx → R7HAMD4C.jsx} +2 -2
- package/dist/chunk/{WYNHVCCC.jsx → RC6LTFJF.jsx} +1 -1
- package/dist/chunk/{5LNAXBVF.js → RUJWWVJQ.js} +1 -1
- package/dist/chunk/{MSQY6ZYN.jsx → RYMIVK37.jsx} +2 -2
- package/dist/chunk/{DTZQE35T.jsx → S4LPOWLW.jsx} +1 -1
- package/dist/chunk/{XUBES5JE.js → S4P7KO2W.js} +1 -1
- package/dist/chunk/{I6UGYR2R.js → SA6DA5B7.js} +1 -1
- package/dist/chunk/{PS4L3DPM.js → SVBOLS3G.js} +2 -2
- package/dist/chunk/{QOPFLH2O.jsx → TTZG6CCV.jsx} +2 -1
- package/dist/chunk/{S33APHEF.js → U4Z72T3S.js} +2 -2
- package/dist/chunk/{LB3LJBHI.js → U5RPTTBY.js} +1 -1
- package/dist/chunk/{2MXPLL4O.js → UFCT3N6F.js} +1 -1
- package/dist/chunk/{Y3SDT2HS.jsx → UMNJMCPE.jsx} +2 -2
- package/dist/chunk/{OEQFRTGI.js → UXNYIEZZ.js} +23 -4
- package/dist/chunk/{7K5D5OB5.jsx → UZHM5FTR.jsx} +24 -8
- package/dist/chunk/{UBCF5HI7.jsx → WKYHO45J.jsx} +1 -1
- package/dist/chunk/{46K5OEJ2.js → WS5HMYK2.js} +2 -2
- package/dist/chunk/{YUC6JE7K.jsx → XIYHIOP3.jsx} +16 -3
- package/dist/chunk/{TDCYVNLO.js → XQYQZYIR.js} +2 -2
- package/dist/chunk/{3WQEWZPN.js → ZI253QBN.js} +2 -2
- package/dist/chunk/{TUTPYVIE.jsx → ZKV7ELLL.jsx} +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +3 -3
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/angle-slider/index.jsx +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +2 -2
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +2 -2
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +4 -4
- package/dist/components/clipboard/index.jsx +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +2 -2
- package/dist/components/collection/index.d.ts +10 -3
- package/dist/components/collection/index.js +1 -1
- package/dist/components/collection/index.jsx +4 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +4 -4
- package/dist/components/combobox/index.d.ts +12 -3
- package/dist/components/combobox/index.js +2 -2
- package/dist/components/combobox/index.jsx +9 -7
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/index.jsx +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +2 -2
- package/dist/components/download-trigger/index.jsx +1 -1
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +4 -4
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +3 -3
- package/dist/components/fieldset/index.d.ts +5 -3
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +2 -2
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +4 -4
- package/dist/components/floating-panel/index.js +1 -1
- package/dist/components/floating-panel/index.jsx +2 -2
- package/dist/components/format/index.js +1 -1
- package/dist/components/format/index.jsx +2 -2
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +2 -2
- package/dist/components/index.d.ts +11 -9
- package/dist/components/index.js +48 -48
- package/dist/components/index.jsx +267 -257
- package/dist/components/json-tree-view/index.js +1 -1
- package/dist/components/json-tree-view/index.jsx +5 -5
- package/dist/components/listbox/index.d.ts +12 -3
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/listbox/index.jsx +7 -5
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +2 -2
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +4 -4
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +2 -2
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/index.jsx +4 -4
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +4 -4
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +2 -2
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +2 -2
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +2 -2
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +2 -2
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +4 -4
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/index.jsx +2 -2
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +2 -2
- package/dist/components/select/index.js +2 -2
- package/dist/components/select/index.jsx +5 -5
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +4 -4
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +2 -2
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +2 -2
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +2 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +4 -4
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +2 -2
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +4 -4
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/index.jsx +2 -2
- package/dist/components/timer/index.jsx +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.jsx +2 -2
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +2 -2
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +2 -2
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +2 -2
- package/dist/components/tree-view/index.js +2 -2
- package/dist/components/tree-view/index.jsx +4 -4
- package/dist/index.d.ts +13 -11
- package/dist/index.js +49 -49
- package/dist/index.jsx +269 -257
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.jsx +3 -1
- package/dist/providers/locale/index.d.ts +8 -1
- package/dist/providers/locale/index.js +1 -1
- package/dist/providers/locale/index.jsx +3 -1
- package/package.json +69 -68
- /package/dist/chunk/{HRWYG4MB.jsx → 5XTAFT5P.jsx} +0 -0
- /package/dist/chunk/{5WVPNAWS.js → W6MHACH4.js} +0 -0
|
@@ -3,7 +3,7 @@ import { composeRefs } from './ROP6QZQ7.js';
|
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
6
|
-
import { useLocaleContext } from './
|
|
6
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
7
7
|
import { createContext } from './TROPIN4C.js';
|
|
8
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
9
9
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports,
|
|
3
3
|
useCollapsibleContext
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./FQDJD5WT.jsx";
|
|
5
5
|
import {
|
|
6
6
|
RenderStrategyProvider,
|
|
7
7
|
splitRenderStrategyProps,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
useLocaleContext
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./XIYHIOP3.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -4,7 +4,7 @@ import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyCont
|
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|
|
6
6
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
7
|
-
import { useLocaleContext } from './
|
|
7
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
8
8
|
import { createContext } from './TROPIN4C.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
10
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -104,7 +104,7 @@ var useDialog = (props) => {
|
|
|
104
104
|
var DialogRoot = (props) => {
|
|
105
105
|
const [presenceProps, dialogProps] = splitPresenceProps(props);
|
|
106
106
|
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
107
|
-
const [useDialogProps, localProps] = createSplitProps()(dialogProps, ["aria-label", "closeOnEscape", "closeOnInteractOutside", "defaultOpen", "finalFocusEl", "id", "ids", "initialFocusEl", "modal", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "open", "persistentElements", "preventScroll", "restoreFocus", "role", "trapFocus"]);
|
|
107
|
+
const [useDialogProps, localProps] = createSplitProps()(dialogProps, ["aria-label", "closeOnEscape", "closeOnInteractOutside", "defaultOpen", "finalFocusEl", "id", "ids", "initialFocusEl", "modal", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onRequestDismiss", "open", "persistentElements", "preventScroll", "restoreFocus", "role", "trapFocus"]);
|
|
108
108
|
const api = useDialog(useDialogProps);
|
|
109
109
|
const apiPresence = usePresence(mergeProps(presenceProps, () => ({
|
|
110
110
|
present: api().open
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./NNRIF2OF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useLocaleContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./XIYHIOP3.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./NNRIF2OF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useLocaleContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./XIYHIOP3.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './FLTSMA4B.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './FLTSMA4B.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
useLocaleContext
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./XIYHIOP3.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -154,6 +154,7 @@ var PopoverRoot = (props) => {
|
|
|
154
154
|
"onInteractOutside",
|
|
155
155
|
"onOpenChange",
|
|
156
156
|
"onPointerDownOutside",
|
|
157
|
+
"onRequestDismiss",
|
|
157
158
|
"open",
|
|
158
159
|
"persistentElements",
|
|
159
160
|
"portalled",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ark } from './EPLBB4QN.js';
|
|
2
2
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
3
|
-
import { useLocaleContext } from './
|
|
3
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
4
4
|
import { createContext } from './TROPIN4C.js';
|
|
5
5
|
import { __export } from './ESLJRKWD.js';
|
|
6
6
|
import * as toast2 from '@zag-js/toast';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './FLTSMA4B.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./FQDJD5WT.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./KGOB2IMX.jsx";
|
|
21
21
|
import {
|
|
22
22
|
useLocaleContext
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./XIYHIOP3.jsx";
|
|
24
24
|
import {
|
|
25
25
|
createContext
|
|
26
26
|
} from "./TVCIHLER.jsx";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./KGOB2IMX.jsx";
|
|
27
27
|
import {
|
|
28
28
|
useLocaleContext
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./XIYHIOP3.jsx";
|
|
30
30
|
import {
|
|
31
31
|
createContext
|
|
32
32
|
} from "./TVCIHLER.jsx";
|
|
@@ -146,6 +146,7 @@ var DialogRoot = (props) => {
|
|
|
146
146
|
"onInteractOutside",
|
|
147
147
|
"onOpenChange",
|
|
148
148
|
"onPointerDownOutside",
|
|
149
|
+
"onRequestDismiss",
|
|
149
150
|
"open",
|
|
150
151
|
"persistentElements",
|
|
151
152
|
"preventScroll",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext } from './TROPIN4C.js';
|
|
2
2
|
import { createComponent } from 'solid-js/web';
|
|
3
|
-
import { isRTL, createFilter } from '@zag-js/i18n-utils';
|
|
3
|
+
import { isRTL, createCollator, createFilter } from '@zag-js/i18n-utils';
|
|
4
4
|
import { createMemo } from 'solid-js';
|
|
5
5
|
|
|
6
6
|
// src/providers/locale/use-locale-context.ts
|
|
@@ -24,10 +24,18 @@ var LocaleProvider = (props) => {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
+
function useCollator(props = {}) {
|
|
28
|
+
const env = useLocaleContext();
|
|
29
|
+
const locale = () => props.locale ?? env().locale;
|
|
30
|
+
return createMemo(() => {
|
|
31
|
+
const { locale: _, ...options } = props;
|
|
32
|
+
return createCollator(locale(), options);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
27
35
|
function useFilter(props) {
|
|
28
36
|
const env = useLocaleContext();
|
|
29
37
|
const locale = createMemo(() => props.locale ?? env().locale);
|
|
30
38
|
return createMemo(() => createFilter({ ...props, locale: locale() }));
|
|
31
39
|
}
|
|
32
40
|
|
|
33
|
-
export { LocaleProvider, useFilter, useLocaleContext };
|
|
41
|
+
export { LocaleProvider, useCollator, useFilter, useLocaleContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./NNRIF2OF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useLocaleContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./XIYHIOP3.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./TVCIHLER.jsx";
|
|
@@ -2,7 +2,7 @@ import { splitRenderStrategyProps } from './QFAL6GWC.js';
|
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -51,7 +51,7 @@ import { mergeProps as mergeProps3 } from "@zag-js/solid";
|
|
|
51
51
|
var FieldsetLegend = (props) => {
|
|
52
52
|
const fieldset = useFieldsetContext();
|
|
53
53
|
const mergedProps = mergeProps3(() => fieldset().getLegendProps(), props);
|
|
54
|
-
return <ark.
|
|
54
|
+
return <ark.div {...mergedProps} />;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
// src/components/fieldset/fieldset-root.tsx
|
|
@@ -72,6 +72,7 @@ var useFieldset = (props) => {
|
|
|
72
72
|
const mergedProps = mergeProps4({ disabled: false, invalid: false }, runIfFn(props));
|
|
73
73
|
let rootRef;
|
|
74
74
|
const id = mergedProps.id ?? createUniqueId();
|
|
75
|
+
const legendId = `fieldset::${id}::legend`;
|
|
75
76
|
const errorTextId = `fieldset::${id}::error-text`;
|
|
76
77
|
const helperTextId = `fieldset::${id}::helper-text`;
|
|
77
78
|
const [hasErrorText, setHasErrorText] = createSignal(false);
|
|
@@ -98,9 +99,11 @@ var useFieldset = (props) => {
|
|
|
98
99
|
disabled: mergedProps.disabled,
|
|
99
100
|
"data-disabled": dataAttr(mergedProps.disabled),
|
|
100
101
|
"data-invalid": dataAttr(mergedProps.invalid),
|
|
102
|
+
"aria-labelledby": legendId,
|
|
101
103
|
"aria-describedby": labelIds.join(" ") || void 0
|
|
102
104
|
});
|
|
103
105
|
const getLegendProps = () => ({
|
|
106
|
+
id: legendId,
|
|
104
107
|
...parts.legend.attrs,
|
|
105
108
|
"data-disabled": dataAttr(mergedProps.disabled),
|
|
106
109
|
"data-invalid": dataAttr(mergedProps.invalid)
|
|
@@ -4,7 +4,7 @@ import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvi
|
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|
|
6
6
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
7
|
-
import { useLocaleContext } from './
|
|
7
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
8
8
|
import { createContext } from './TROPIN4C.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
10
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
3
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
4
|
-
import { useLocaleContext } from './
|
|
4
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
5
5
|
import { createContext } from './TROPIN4C.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
3
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
4
|
-
import { useLocaleContext } from './
|
|
4
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
5
5
|
import { createContext } from './TROPIN4C.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -2,7 +2,7 @@ import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider }
|
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -39,7 +39,7 @@ var FieldsetHelperText = (props) => {
|
|
|
39
39
|
var FieldsetLegend = (props) => {
|
|
40
40
|
const fieldset = useFieldsetContext();
|
|
41
41
|
const mergedProps = mergeProps(() => fieldset().getLegendProps(), props);
|
|
42
|
-
return createComponent(ark.
|
|
42
|
+
return createComponent(ark.div, mergedProps);
|
|
43
43
|
};
|
|
44
44
|
var fieldsetAnatomy = createAnatomy("fieldset").parts("root", "errorText", "helperText", "legend");
|
|
45
45
|
var parts = fieldsetAnatomy.build();
|
|
@@ -50,6 +50,7 @@ var useFieldset = (props) => {
|
|
|
50
50
|
const mergedProps = mergeProps$1({ disabled: false, invalid: false }, runIfFn(props));
|
|
51
51
|
let rootRef;
|
|
52
52
|
const id = mergedProps.id ?? createUniqueId();
|
|
53
|
+
const legendId = `fieldset::${id}::legend`;
|
|
53
54
|
const errorTextId = `fieldset::${id}::error-text`;
|
|
54
55
|
const helperTextId = `fieldset::${id}::helper-text`;
|
|
55
56
|
const [hasErrorText, setHasErrorText] = createSignal(false);
|
|
@@ -65,9 +66,11 @@ var useFieldset = (props) => {
|
|
|
65
66
|
disabled: mergedProps.disabled,
|
|
66
67
|
"data-disabled": dataAttr(mergedProps.disabled),
|
|
67
68
|
"data-invalid": dataAttr(mergedProps.invalid),
|
|
69
|
+
"aria-labelledby": legendId,
|
|
68
70
|
"aria-describedby": labelIds.join(" ") || void 0
|
|
69
71
|
});
|
|
70
72
|
const getLegendProps = () => ({
|
|
73
|
+
id: legendId,
|
|
71
74
|
...parts.legend.attrs,
|
|
72
75
|
"data-disabled": dataAttr(mergedProps.disabled),
|
|
73
76
|
"data-invalid": dataAttr(mergedProps.invalid)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useTreeViewContext, tree_view_exports, useTreeView } from './
|
|
2
|
-
import { createTreeCollection } from './
|
|
1
|
+
import { useTreeViewContext, tree_view_exports, useTreeView } from './CBBODIIA.js';
|
|
2
|
+
import { createTreeCollection } from './APULXWCH.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { createContext } from './TROPIN4C.js';
|
|
5
5
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './FLTSMA4B.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./NNRIF2OF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useLocaleContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./XIYHIOP3.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./TVCIHLER.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
3
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
4
|
-
import { useLocaleContext } from './
|
|
4
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
5
5
|
import { createContext } from './TROPIN4C.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
useLocaleContext
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./XIYHIOP3.jsx";
|
|
25
25
|
import {
|
|
26
26
|
createContext
|
|
27
27
|
} from "./TVCIHLER.jsx";
|
|
@@ -320,6 +320,7 @@ var MenuRoot = (props) => {
|
|
|
320
320
|
"onInteractOutside",
|
|
321
321
|
"onOpenChange",
|
|
322
322
|
"onPointerDownOutside",
|
|
323
|
+
"onRequestDismiss",
|
|
323
324
|
"onSelect",
|
|
324
325
|
"open",
|
|
325
326
|
"positioning",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
3
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
4
|
-
import { useLocaleContext } from './
|
|
4
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
5
5
|
import { createContext } from './TROPIN4C.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './FLTSMA4B.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
5
|
-
import { useLocaleContext } from './
|
|
5
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
6
6
|
import { createContext } from './TROPIN4C.js';
|
|
7
7
|
import { runIfFn } from './DT73WLR4.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './SIT3D7TL.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './FLTSMA4B.js';
|
|
3
3
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
4
4
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
5
5
|
import { ark } from './EPLBB4QN.js';
|
|
6
6
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
7
|
-
import { useLocaleContext } from './
|
|
7
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
8
8
|
import { createContext } from './TROPIN4C.js';
|
|
9
9
|
import { runIfFn } from './DT73WLR4.js';
|
|
10
10
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./NNRIF2OF.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useLocaleContext
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./XIYHIOP3.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./TVCIHLER.jsx";
|
|
@@ -3,7 +3,7 @@ import { composeRefs } from './ROP6QZQ7.js';
|
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { useEnvironmentContext } from './YO2MCGXO.js';
|
|
6
|
-
import { useLocaleContext } from './
|
|
6
|
+
import { useLocaleContext } from './JOLWKIPW.js';
|
|
7
7
|
import { createContext } from './TROPIN4C.js';
|
|
8
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
9
9
|
import { __export } from './ESLJRKWD.js';
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./4LUY46IM.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useFieldContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./NNRIF2OF.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./PT2CJE3O.jsx";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./KGOB2IMX.jsx";
|
|
25
25
|
import {
|
|
26
26
|
useLocaleContext
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./XIYHIOP3.jsx";
|
|
28
28
|
import {
|
|
29
29
|
createContext
|
|
30
30
|
} from "./TVCIHLER.jsx";
|