@ark-ui/solid 5.34.1 → 5.35.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/{PSH3YKBU.jsx → 2HUSFSP6.jsx} +1 -0
- package/dist/chunk/{4RPVBIDO.jsx → 2PMFWHY7.jsx} +4 -4
- package/dist/chunk/{HMG7R2BF.js → 3MKAB636.js} +1 -1
- package/dist/chunk/{HFIUYKXK.js → 5NAACJDR.js} +2 -2
- package/dist/chunk/{ZW5OSILD.jsx → 6AZUJM6R.jsx} +4 -4
- package/dist/chunk/{RDZRRODO.js → 7KHRWOP3.js} +2 -2
- package/dist/chunk/{Z3LUEVRS.jsx → 7MJQX5PW.jsx} +4 -4
- package/dist/chunk/A22FKB7P.js +31 -0
- package/dist/chunk/{ZLZED63N.jsx → ACLCLMIV.jsx} +4 -4
- package/dist/chunk/{DIPPYNXP.jsx → CGTFBURM.jsx} +41 -21
- package/dist/chunk/{ICBFK7ML.js → CIUANFIK.js} +3 -3
- package/dist/chunk/{HNGLQNVW.jsx → DIS3ZZAN.jsx} +4 -4
- package/dist/chunk/{HKJ2U4GE.js → DK2NLTID.js} +3 -3
- package/dist/chunk/{ZMQW6EBL.jsx → DK7UDQTF.jsx} +1 -1
- package/dist/chunk/{JR3CTJ4R.js → DXQHUTCP.js} +2 -2
- package/dist/chunk/{ZG4V7QA5.jsx → EDCLBA5D.jsx} +4 -4
- package/dist/chunk/{DYFALYJE.jsx → F4KT5QYN.jsx} +1 -0
- package/dist/chunk/{JBLKWLWL.jsx → FDUCX4MC.jsx} +5 -4
- package/dist/chunk/{VIERJSCF.js → G5CVQ36U.js} +2 -2
- package/dist/chunk/{CXS7DDU2.js → GD3RUSNG.js} +1 -1
- package/dist/chunk/{BVQ6NO6X.js → GOAPD2JV.js} +2 -2
- package/dist/chunk/{PEIMGDXM.js → HNRRPL33.js} +2 -2
- package/dist/chunk/{QUQ6VBQO.js → IBHRQZGE.js} +2 -2
- package/dist/chunk/{RSDHPGPT.js → IPRIZ6BP.js} +1 -1
- package/dist/chunk/{O6MULJWC.jsx → KKCEBT7Y.jsx} +5 -4
- package/dist/chunk/{A5BBGDPW.js → KRXWQWRE.js} +3 -3
- package/dist/chunk/{YXEZ562D.js → KXM3NJJB.js} +3 -3
- package/dist/chunk/{BKN7PQAU.jsx → LPZLGLBC.jsx} +4 -4
- package/dist/chunk/{4CRPJKY4.jsx → MQS2BECL.jsx} +4 -4
- package/dist/chunk/{GUAJ4JKS.jsx → NZXZEQI2.jsx} +4 -4
- package/dist/chunk/OIDCX2FB.jsx +41 -0
- package/dist/chunk/{WTS7KK6L.js → PEJSTIH7.js} +2 -2
- package/dist/chunk/{RJHFA54S.jsx → QGEXJOXJ.jsx} +5 -4
- package/dist/chunk/{QC2RXUV4.js → RHEXRGDH.js} +2 -2
- package/dist/chunk/{MQWCA23U.jsx → RM5AUPVM.jsx} +5 -4
- package/dist/chunk/{5UOOPLZE.jsx → SD3IYJYF.jsx} +4 -4
- package/dist/chunk/{65QK7XXR.jsx → T7LMRH7K.jsx} +1 -1
- package/dist/chunk/{NZUCDANE.js → TGLCSGGM.js} +2 -2
- package/dist/chunk/{PPH4D7AF.jsx → TSCPRMQ2.jsx} +49 -2
- package/dist/chunk/{S3VN2YFH.js → UJB7LDER.js} +53 -3
- package/dist/chunk/{WHD7YP7Q.jsx → WDT2YTYA.jsx} +4 -4
- package/dist/chunk/{3JJJT3ZB.jsx → WL6BMSLH.jsx} +6 -4
- package/dist/chunk/{NTHXB7S3.js → XVSFDH7P.js} +2 -2
- package/dist/chunk/{OV5BR6SL.js → XZ6W75HO.js} +2 -2
- package/dist/chunk/{63MSNXTT.js → XZPEHLBX.js} +2 -2
- package/dist/chunk/{KXKOMCVA.js → YHJDFVCR.js} +1 -1
- package/dist/chunk/{LRDE5RNI.js → Z7LM3YFL.js} +14 -2
- package/dist/chunk/{TGBMUR4Z.jsx → ZU2KKADZ.jsx} +4 -4
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +4 -4
- package/dist/components/anatomy.d.ts +1 -1
- package/dist/components/anatomy.js +9 -9
- package/dist/components/anatomy.jsx +31 -31
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/angle-slider/index.jsx +3 -3
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +3 -3
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +3 -3
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +4 -4
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +3 -3
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +3 -3
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.jsx +4 -4
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +4 -4
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/index.jsx +3 -3
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +3 -3
- package/dist/components/download-trigger/index.jsx +2 -2
- package/dist/components/drawer/index.d.ts +14 -2
- package/dist/components/drawer/index.js +1 -1
- package/dist/components/drawer/index.jsx +7 -3
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +4 -4
- package/dist/components/field/index.d.ts +13 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +3 -3
- 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 +3 -3
- package/dist/components/format/index.jsx +2 -2
- package/dist/components/frame/index.js +1 -1
- package/dist/components/frame/index.jsx +3 -3
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +3 -3
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/image-cropper/index.jsx +3 -3
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +58 -58
- package/dist/components/index.jsx +283 -279
- 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.js +1 -1
- package/dist/components/listbox/index.jsx +3 -3
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/marquee/index.jsx +3 -3
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +3 -3
- package/dist/components/navigation-menu/index.js +2 -2
- package/dist/components/navigation-menu/index.jsx +5 -4
- 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 +3 -3
- 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 +3 -3
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +3 -3
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +3 -3
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +3 -3
- 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 +3 -3
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +3 -3
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +4 -4
- 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 +3 -3
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +3 -3
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +3 -3
- 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 +3 -3
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +4 -4
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +3 -3
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.jsx +3 -3
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +3 -3
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +3 -3
- package/dist/components/tour/index.d.ts +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +3 -3
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +4 -4
- package/dist/index.d.ts +4 -2
- package/dist/index.js +60 -59
- package/dist/index.jsx +291 -282
- package/dist/providers/index.d.ts +13 -1
- package/dist/providers/index.js +2 -1
- package/dist/providers/index.jsx +10 -5
- package/dist/{tour.anatomy-B2Ub0NWQ.d.ts → tour.anatomy-DjAkBXN5.d.ts} +1 -1
- package/package.json +79 -79
- package/dist/chunk/LOHA74SM.js +0 -1
- package/dist/chunk/ODQYYKL5.jsx +0 -0
- package/dist/chunk/{SCCZRXWX.js → 2HZTFCLA.js} +1 -1
- package/dist/chunk/{HCLYH5KS.js → 2YYFE6EW.js} +1 -1
- package/dist/chunk/{5V7JAJ5W.js → 3CGAZ37C.js} +1 -1
- package/dist/chunk/{6QV6SS6W.js → 3QFD7O3R.js} +1 -1
- package/dist/chunk/{N2ACHFKW.js → 4NX2BXDE.js} +1 -1
- package/dist/chunk/{UJ4FU6HV.js → 6CIJMDKA.js} +1 -1
- package/dist/chunk/{OAH52JX6.jsx → 77IURBLR.jsx} +3 -3
- package/dist/chunk/{KV2HU7AX.js → 7N7WQTZL.js} +1 -1
- package/dist/chunk/{SFGMQBWT.jsx → 7YVDASKP.jsx} +3 -3
- package/dist/chunk/{64BWQJ5X.jsx → 7ZEKGJLZ.jsx} +3 -3
- package/dist/chunk/{GVJQBGKQ.jsx → ABFLCPUB.jsx} +3 -3
- package/dist/chunk/{QM5PBW35.jsx → BUMQJLFN.jsx} +3 -3
- package/dist/chunk/{HUB2Z2WJ.js → CSPYRAHE.js} +1 -1
- package/dist/chunk/{NMS6DWX3.js → CVZHE2SA.js} +1 -1
- package/dist/chunk/{PDHNW6SC.js → EWZDTHD5.js} +1 -1
- package/dist/chunk/{Z5FQB54Q.jsx → GSOOONDM.jsx} +3 -3
- package/dist/chunk/{RROG5OYX.jsx → GYKEGNPI.jsx} +3 -3
- package/dist/chunk/{3EUGCOMV.js → HBI6JRIQ.js} +1 -1
- package/dist/chunk/{2JT4XMQZ.jsx → ICDJ5PFE.jsx} +3 -3
- package/dist/chunk/{7XAZIS7G.js → IYV66IHX.js} +1 -1
- package/dist/chunk/{XNIXPFXJ.js → JTLQTUVA.js} +1 -1
- package/dist/chunk/{6C2FCXTS.js → JXG4T6X4.js} +1 -1
- package/dist/chunk/{RL5TZPAG.js → LQ6WK4Z4.js} +1 -1
- package/dist/chunk/{BWUVF6ZV.jsx → M2R7NELL.jsx} +3 -3
- package/dist/chunk/{TFTY2V3E.jsx → MLPK6MO2.jsx} +3 -3
- package/dist/chunk/{NH3KCKN2.jsx → MPLFL3UT.jsx} +3 -3
- package/dist/chunk/{SPOOGCGR.jsx → MU5CM6ZP.jsx} +3 -3
- package/dist/chunk/{WX3PPB36.js → NSXJ2QGV.js} +1 -1
- package/dist/chunk/{BNSRP6TN.jsx → ORZMPJPC.jsx} +3 -3
- package/dist/chunk/{GOIBDXMD.jsx → P466TCYN.jsx} +3 -3
- package/dist/chunk/{77WG4BKE.jsx → QFTA3IOR.jsx} +3 -3
- package/dist/chunk/{RJPVNWZG.js → QKALXKQ2.js} +1 -1
- package/dist/chunk/{CBYVQ7YD.js → QXSMGAB3.js} +1 -1
- package/dist/chunk/{JLP6NZTO.js → RTMU5FC3.js} +1 -1
- package/dist/chunk/{HAL7NUB3.js → SMG76T6Y.js} +1 -1
- package/dist/chunk/{UQTBTRSG.jsx → TD72MSSI.jsx} +3 -3
- package/dist/chunk/{4OJLSY6B.jsx → TG3BV4FJ.jsx} +3 -3
- package/dist/chunk/{5ATP7B75.js → TKBMSQRY.js} +1 -1
- package/dist/chunk/{BB22DOQW.jsx → TPTP4FRI.jsx} +3 -3
- package/dist/chunk/{IRBAVIVZ.js → W5FJUJL2.js} +1 -1
- package/dist/chunk/{BGKLKY77.js → XCCC6IWM.js} +1 -1
- package/dist/chunk/{BCGASU6B.jsx → XRBGB3XP.jsx} +3 -3
- package/dist/chunk/{4V5X4XYS.jsx → XRMLYMEN.jsx} +3 -3
- package/dist/chunk/{QYAWWS3T.js → XUKSV26K.js} +1 -1
- package/dist/chunk/{H72X6NDR.jsx → YEENL2YA.jsx} +3 -3
- package/dist/chunk/{2KZV6B32.jsx → YLT3EBQZ.jsx} +3 -3
- package/dist/chunk/{QY2YSMFW.jsx → YW4KS3S5.jsx} +3 -3
- package/dist/chunk/{7RLMGBOC.jsx → Z253N6GA.jsx} +3 -3
- package/dist/chunk/{MB6S2OKT.jsx → ZOCG4ZHL.jsx} +3 -3
- package/dist/chunk/{YVERN3NM.js → ZZDF5GUB.js} +1 -1
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useLocaleContext
|
|
9
|
-
} from "./HOPBYFHD.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
9
|
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useLocaleContext
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
13
13
|
import {
|
|
14
14
|
runIfFn
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
@@ -56,7 +56,7 @@ var ListboxEmpty = (props) => {
|
|
|
56
56
|
// src/components/listbox/listbox-input.tsx
|
|
57
57
|
import { mergeProps as mergeProps2 } from "@zag-js/solid";
|
|
58
58
|
var ListboxInput = (props) => {
|
|
59
|
-
const [inputProps, localProps] = createSplitProps()(props, ["autoHighlight"]);
|
|
59
|
+
const [inputProps, localProps] = createSplitProps()(props, ["autoHighlight", "keyboardPriority"]);
|
|
60
60
|
const listbox2 = useListboxContext();
|
|
61
61
|
const mergedProps = mergeProps2(() => listbox2().getInputProps(inputProps), localProps);
|
|
62
62
|
return <ark.input {...mergedProps} />;
|
|
@@ -44,7 +44,7 @@ var Frame = (props) => {
|
|
|
44
44
|
});
|
|
45
45
|
createEffect(() => {
|
|
46
46
|
const frame = frameRef();
|
|
47
|
-
if (!frame
|
|
47
|
+
if (!frame?.contentDocument) return;
|
|
48
48
|
const win = frame.contentWindow;
|
|
49
49
|
if (!win) return;
|
|
50
50
|
const node = getMountNode(frame);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./TSCPRMQ2.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useLocaleContext
|
|
9
|
-
} from "./HOPBYFHD.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
9
|
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useLocaleContext
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
13
13
|
import {
|
|
14
14
|
runIfFn
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./OEGORBLT.jsx";
|
|
9
9
|
import {
|
|
10
10
|
useFieldContext
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./TSCPRMQ2.jsx";
|
|
12
12
|
import {
|
|
13
13
|
composeRefs
|
|
14
14
|
} from "./PT2CJE3O.jsx";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createSplitProps
|
|
20
20
|
} from "./6WEDGJKQ.jsx";
|
|
21
|
-
import {
|
|
22
|
-
useLocaleContext
|
|
23
|
-
} from "./HOPBYFHD.jsx";
|
|
24
21
|
import {
|
|
25
22
|
useEnvironmentContext
|
|
26
23
|
} from "./HDGILMRT.jsx";
|
|
24
|
+
import {
|
|
25
|
+
useLocaleContext
|
|
26
|
+
} from "./HOPBYFHD.jsx";
|
|
27
27
|
import {
|
|
28
28
|
runIfFn
|
|
29
29
|
} from "./KGOB2IMX.jsx";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
2
|
+
import { trackFocusVisible, isFocusVisible, trackInteractionModality, getInteractionModality } from '@zag-js/focus-visible';
|
|
3
|
+
import { useSyncExternalStore } from '@zag-js/solid';
|
|
4
|
+
|
|
5
|
+
function useFocusVisible(props = {}) {
|
|
6
|
+
const { isTextInput, autoFocus } = props;
|
|
7
|
+
const environment = useEnvironmentContext();
|
|
8
|
+
return useSyncExternalStore(
|
|
9
|
+
(listener) => trackFocusVisible({
|
|
10
|
+
root: environment().getRootNode(),
|
|
11
|
+
isTextInput,
|
|
12
|
+
autoFocus,
|
|
13
|
+
onChange: listener
|
|
14
|
+
}),
|
|
15
|
+
() => autoFocus || isFocusVisible(),
|
|
16
|
+
() => false
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
function useInteractionModality() {
|
|
20
|
+
const environment = useEnvironmentContext();
|
|
21
|
+
return useSyncExternalStore(
|
|
22
|
+
(listener) => trackInteractionModality({
|
|
23
|
+
root: environment().getRootNode(),
|
|
24
|
+
onChange: listener
|
|
25
|
+
}),
|
|
26
|
+
getInteractionModality,
|
|
27
|
+
() => null
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { useFocusVisible, useInteractionModality };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports,
|
|
3
3
|
useCollapsibleContext
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./GYKEGNPI.jsx";
|
|
5
5
|
import {
|
|
6
6
|
RenderStrategyProvider,
|
|
7
7
|
splitRenderStrategyProps,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createSplitProps
|
|
12
12
|
} from "./6WEDGJKQ.jsx";
|
|
13
|
-
import {
|
|
14
|
-
useLocaleContext
|
|
15
|
-
} from "./HOPBYFHD.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useEnvironmentContext
|
|
18
15
|
} from "./HDGILMRT.jsx";
|
|
16
|
+
import {
|
|
17
|
+
useLocaleContext
|
|
18
|
+
} from "./HOPBYFHD.jsx";
|
|
19
19
|
import {
|
|
20
20
|
runIfFn
|
|
21
21
|
} from "./KGOB2IMX.jsx";
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
createSplitProps
|
|
19
19
|
} from "./6WEDGJKQ.jsx";
|
|
20
|
-
import {
|
|
21
|
-
useLocaleContext
|
|
22
|
-
} from "./HOPBYFHD.jsx";
|
|
23
20
|
import {
|
|
24
21
|
useEnvironmentContext
|
|
25
22
|
} from "./HDGILMRT.jsx";
|
|
23
|
+
import {
|
|
24
|
+
useLocaleContext
|
|
25
|
+
} from "./HOPBYFHD.jsx";
|
|
26
26
|
import {
|
|
27
27
|
runIfFn
|
|
28
28
|
} from "./KGOB2IMX.jsx";
|
|
@@ -86,39 +86,47 @@ var DrawerContent = (props) => {
|
|
|
86
86
|
</Show2>;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
+
// src/components/drawer/drawer-description.tsx
|
|
90
|
+
import { mergeProps as mergeProps4 } from "@zag-js/solid";
|
|
91
|
+
var DrawerDescription = (props) => {
|
|
92
|
+
const drawer3 = useDrawerContext();
|
|
93
|
+
const mergedProps = mergeProps4(() => drawer3().getDescriptionProps(), props);
|
|
94
|
+
return <ark.div {...mergedProps} />;
|
|
95
|
+
};
|
|
96
|
+
|
|
89
97
|
// src/components/drawer/drawer-context.tsx
|
|
90
98
|
var DrawerContext = (props) => props.children(useDrawerContext());
|
|
91
99
|
|
|
92
100
|
// src/components/drawer/drawer-positioner.tsx
|
|
93
|
-
import { mergeProps as
|
|
101
|
+
import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
94
102
|
import { Show as Show3 } from "solid-js";
|
|
95
103
|
var DrawerPositioner = (props) => {
|
|
96
104
|
const drawer3 = useDrawerContext();
|
|
97
105
|
const presence = usePresenceContext();
|
|
98
|
-
const mergedProps =
|
|
106
|
+
const mergedProps = mergeProps5(() => drawer3().getPositionerProps(), props);
|
|
99
107
|
return <Show3 when={!presence().unmounted}>
|
|
100
108
|
<ark.div {...mergedProps} />
|
|
101
109
|
</Show3>;
|
|
102
110
|
};
|
|
103
111
|
|
|
104
112
|
// src/components/drawer/drawer-grabber.tsx
|
|
105
|
-
import { mergeProps as
|
|
113
|
+
import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
106
114
|
var DrawerGrabber = (props) => {
|
|
107
115
|
const drawer3 = useDrawerContext();
|
|
108
|
-
const mergedProps =
|
|
116
|
+
const mergedProps = mergeProps6(() => drawer3().getGrabberProps(), props);
|
|
109
117
|
return <ark.div {...mergedProps} />;
|
|
110
118
|
};
|
|
111
119
|
|
|
112
120
|
// src/components/drawer/drawer-grabber-indicator.tsx
|
|
113
|
-
import { mergeProps as
|
|
121
|
+
import { mergeProps as mergeProps7 } from "@zag-js/solid";
|
|
114
122
|
var DrawerGrabberIndicator = (props) => {
|
|
115
123
|
const drawer3 = useDrawerContext();
|
|
116
|
-
const mergedProps =
|
|
124
|
+
const mergedProps = mergeProps7(() => drawer3().getGrabberIndicatorProps(), props);
|
|
117
125
|
return <ark.div {...mergedProps} />;
|
|
118
126
|
};
|
|
119
127
|
|
|
120
128
|
// src/components/drawer/drawer-root.tsx
|
|
121
|
-
import { mergeProps as
|
|
129
|
+
import { mergeProps as mergeProps8 } from "@zag-js/solid";
|
|
122
130
|
|
|
123
131
|
// src/components/drawer/use-drawer.ts
|
|
124
132
|
import * as drawer from "@zag-js/drawer";
|
|
@@ -184,7 +192,7 @@ var DrawerRoot = (props) => {
|
|
|
184
192
|
"onRequestDismiss"
|
|
185
193
|
]);
|
|
186
194
|
const drawer3 = useDrawer(useDrawerProps);
|
|
187
|
-
const presence = usePresence(
|
|
195
|
+
const presence = usePresence(mergeProps8(presenceProps, () => ({ present: drawer3().open })));
|
|
188
196
|
return <DrawerProvider value={drawer3}>
|
|
189
197
|
<RenderStrategyProvider value={renderStrategyProps}>
|
|
190
198
|
<PresenceProvider value={presence}>{localProps.children}</PresenceProvider>
|
|
@@ -193,11 +201,11 @@ var DrawerRoot = (props) => {
|
|
|
193
201
|
};
|
|
194
202
|
|
|
195
203
|
// src/components/drawer/drawer-root-provider.tsx
|
|
196
|
-
import { mergeProps as
|
|
204
|
+
import { mergeProps as mergeProps9 } from "@zag-js/solid";
|
|
197
205
|
var DrawerRootProvider = (props) => {
|
|
198
206
|
const [presenceProps, drawerProps] = splitPresenceProps(props);
|
|
199
207
|
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
200
|
-
const presence = usePresence(
|
|
208
|
+
const presence = usePresence(mergeProps9(() => ({ present: drawerProps.value().open }), presenceProps));
|
|
201
209
|
return <DrawerProvider value={drawerProps.value}>
|
|
202
210
|
<RenderStrategyProvider value={renderStrategyProps}>
|
|
203
211
|
<PresenceProvider value={presence}>{drawerProps.children}</PresenceProvider>
|
|
@@ -206,19 +214,19 @@ var DrawerRootProvider = (props) => {
|
|
|
206
214
|
};
|
|
207
215
|
|
|
208
216
|
// src/components/drawer/drawer-title.tsx
|
|
209
|
-
import { mergeProps as
|
|
217
|
+
import { mergeProps as mergeProps10 } from "@zag-js/solid";
|
|
210
218
|
var DrawerTitle = (props) => {
|
|
211
219
|
const drawer3 = useDrawerContext();
|
|
212
|
-
const mergedProps =
|
|
220
|
+
const mergedProps = mergeProps10(() => drawer3().getTitleProps(), props);
|
|
213
221
|
return <ark.h2 {...mergedProps} />;
|
|
214
222
|
};
|
|
215
223
|
|
|
216
224
|
// src/components/drawer/drawer-trigger.tsx
|
|
217
|
-
import { mergeProps as
|
|
225
|
+
import { mergeProps as mergeProps11 } from "@zag-js/solid";
|
|
218
226
|
var DrawerTrigger = (props) => {
|
|
219
227
|
const drawer3 = useDrawerContext();
|
|
220
228
|
const presence = usePresenceContext();
|
|
221
|
-
const mergedProps =
|
|
229
|
+
const mergedProps = mergeProps11(
|
|
222
230
|
() => drawer3().getTriggerProps(),
|
|
223
231
|
() => ({ "aria-controls": presence().unmounted && null }),
|
|
224
232
|
props
|
|
@@ -227,7 +235,7 @@ var DrawerTrigger = (props) => {
|
|
|
227
235
|
};
|
|
228
236
|
|
|
229
237
|
// src/components/drawer/drawer-indent.tsx
|
|
230
|
-
import { mergeProps as
|
|
238
|
+
import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
231
239
|
|
|
232
240
|
// src/components/drawer/use-drawer-stack-context.ts
|
|
233
241
|
var [DrawerStackProvider, useDrawerStackContext] = createContext({
|
|
@@ -238,15 +246,15 @@ var [DrawerStackProvider, useDrawerStackContext] = createContext({
|
|
|
238
246
|
// src/components/drawer/drawer-indent.tsx
|
|
239
247
|
var DrawerIndent = (props) => {
|
|
240
248
|
const stackApi = useDrawerStackContext();
|
|
241
|
-
const mergedProps =
|
|
249
|
+
const mergedProps = mergeProps12(() => stackApi().getIndentProps(), props);
|
|
242
250
|
return <ark.div {...mergedProps} />;
|
|
243
251
|
};
|
|
244
252
|
|
|
245
253
|
// src/components/drawer/drawer-indent-background.tsx
|
|
246
|
-
import { mergeProps as
|
|
254
|
+
import { mergeProps as mergeProps13 } from "@zag-js/solid";
|
|
247
255
|
var DrawerIndentBackground = (props) => {
|
|
248
256
|
const stackApi = useDrawerStackContext();
|
|
249
|
-
const mergedProps =
|
|
257
|
+
const mergedProps = mergeProps13(() => stackApi().getIndentBackgroundProps(), props);
|
|
250
258
|
return <ark.div {...mergedProps} />;
|
|
251
259
|
};
|
|
252
260
|
|
|
@@ -265,6 +273,14 @@ var DrawerStack = (props) => {
|
|
|
265
273
|
</DrawerStackStoreProvider>;
|
|
266
274
|
};
|
|
267
275
|
|
|
276
|
+
// src/components/drawer/drawer-swipe-area.tsx
|
|
277
|
+
import { mergeProps as mergeProps14 } from "@zag-js/solid";
|
|
278
|
+
var DrawerSwipeArea = (props) => {
|
|
279
|
+
const drawer3 = useDrawerContext();
|
|
280
|
+
const mergedProps = mergeProps14(() => drawer3().getSwipeAreaProps(), props);
|
|
281
|
+
return <ark.div {...mergedProps} />;
|
|
282
|
+
};
|
|
283
|
+
|
|
268
284
|
// src/components/drawer/drawer.ts
|
|
269
285
|
var drawer_exports = {};
|
|
270
286
|
__export(drawer_exports, {
|
|
@@ -272,6 +288,7 @@ __export(drawer_exports, {
|
|
|
272
288
|
CloseTrigger: () => DrawerCloseTrigger,
|
|
273
289
|
Content: () => DrawerContent,
|
|
274
290
|
Context: () => DrawerContext,
|
|
291
|
+
Description: () => DrawerDescription,
|
|
275
292
|
Grabber: () => DrawerGrabber,
|
|
276
293
|
GrabberIndicator: () => DrawerGrabberIndicator,
|
|
277
294
|
Indent: () => DrawerIndent,
|
|
@@ -280,6 +297,7 @@ __export(drawer_exports, {
|
|
|
280
297
|
Root: () => DrawerRoot,
|
|
281
298
|
RootProvider: () => DrawerRootProvider,
|
|
282
299
|
Stack: () => DrawerStack,
|
|
300
|
+
SwipeArea: () => DrawerSwipeArea,
|
|
283
301
|
Title: () => DrawerTitle,
|
|
284
302
|
Trigger: () => DrawerTrigger
|
|
285
303
|
});
|
|
@@ -289,6 +307,7 @@ export {
|
|
|
289
307
|
DrawerBackdrop,
|
|
290
308
|
DrawerCloseTrigger,
|
|
291
309
|
DrawerContent,
|
|
310
|
+
DrawerDescription,
|
|
292
311
|
DrawerContext,
|
|
293
312
|
DrawerPositioner,
|
|
294
313
|
DrawerGrabber,
|
|
@@ -302,5 +321,6 @@ export {
|
|
|
302
321
|
DrawerIndent,
|
|
303
322
|
DrawerIndentBackground,
|
|
304
323
|
DrawerStack,
|
|
324
|
+
DrawerSwipeArea,
|
|
305
325
|
drawer_exports
|
|
306
326
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { splitPresenceProps, PresenceProvider, usePresenceContext } from './JBLHW7IM.js';
|
|
2
2
|
import { usePresence } from './X22PRPOR.js';
|
|
3
|
-
import { useFieldContext } from './
|
|
3
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
4
4
|
import { composeRefs } from './ROP6QZQ7.js';
|
|
5
5
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
6
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
7
6
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
7
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
8
8
|
import { runIfFn } from './DT73WLR4.js';
|
|
9
9
|
import { ark } from './EPLBB4QN.js';
|
|
10
10
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -221,7 +221,7 @@ var useSelect = (props) => {
|
|
|
221
221
|
// src/components/select/select-root.tsx
|
|
222
222
|
var SelectRoot = (props) => {
|
|
223
223
|
const [presenceProps, selectProps] = splitPresenceProps(props);
|
|
224
|
-
const [useSelectProps, localProps] = createSplitProps()(selectProps, ["autoComplete", "closeOnSelect", "collection", "composite", "defaultHighlightedValue", "defaultOpen", "defaultValue", "deselectable", "disabled", "form", "highlightedValue", "id", "ids", "invalid", "loopFocus", "multiple", "name", "onFocusOutside", "onHighlightChange", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onSelect", "onValueChange", "open", "positioning", "readOnly", "required", "scrollToIndexFn", "value"]);
|
|
224
|
+
const [useSelectProps, localProps] = createSplitProps()(selectProps, ["autoComplete", "closeOnSelect", "collection", "composite", "defaultHighlightedValue", "defaultOpen", "defaultValue", "deselectable", "disabled", "form", "highlightedValue", "id", "ids", "invalid", "loopFocus", "multiple", "name", "onFocusOutside", "onHighlightChange", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onSelect", "onValueChange", "open", "positioning", "readOnly", "required", "scrollToIndexFn", "translations", "value"]);
|
|
225
225
|
const select2 = useSelect(useSelectProps);
|
|
226
226
|
const presenceApi = usePresence(mergeProps(() => ({
|
|
227
227
|
present: select2().open
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./TSCPRMQ2.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useLocaleContext
|
|
9
|
-
} from "./HOPBYFHD.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
9
|
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useLocaleContext
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
13
13
|
import {
|
|
14
14
|
runIfFn
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -70,7 +70,7 @@ var usePinInput = (props) => {
|
|
|
70
70
|
|
|
71
71
|
// src/components/pin-input/pin-input-root.tsx
|
|
72
72
|
var PinInputRoot = (props) => {
|
|
73
|
-
const [usePinInputProps, localProps] = createSplitProps()(props, ["autoFocus", "blurOnComplete", "count", "defaultValue", "disabled", "form", "id", "ids", "invalid", "mask", "name", "onValueChange", "onValueComplete", "onValueInvalid", "otp", "pattern", "placeholder", "readOnly", "required", "selectOnFocus", "translations", "type", "value"]);
|
|
73
|
+
const [usePinInputProps, localProps] = createSplitProps()(props, ["autoFocus", "autoSubmit", "blurOnComplete", "count", "defaultValue", "disabled", "form", "id", "ids", "invalid", "mask", "name", "onValueChange", "onValueComplete", "onValueInvalid", "otp", "pattern", "placeholder", "readOnly", "required", "sanitizeValue", "selectOnFocus", "translations", "type", "value"]);
|
|
74
74
|
const pinInput2 = usePinInput(usePinInputProps);
|
|
75
75
|
const mergedProps = mergeProps(() => pinInput2().getRootProps(), localProps);
|
|
76
76
|
return createComponent(PinInputProvider, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./TSCPRMQ2.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useLocaleContext
|
|
9
|
-
} from "./HOPBYFHD.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
9
|
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useLocaleContext
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
13
13
|
import {
|
|
14
14
|
runIfFn
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./GYKEGNPI.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
createSplitProps
|
|
11
11
|
} from "./6WEDGJKQ.jsx";
|
|
12
|
-
import {
|
|
13
|
-
useLocaleContext
|
|
14
|
-
} from "./HOPBYFHD.jsx";
|
|
15
12
|
import {
|
|
16
13
|
useEnvironmentContext
|
|
17
14
|
} from "./HDGILMRT.jsx";
|
|
15
|
+
import {
|
|
16
|
+
useLocaleContext
|
|
17
|
+
} from "./HOPBYFHD.jsx";
|
|
18
18
|
import {
|
|
19
19
|
runIfFn
|
|
20
20
|
} from "./KGOB2IMX.jsx";
|
|
@@ -260,6 +260,7 @@ var TreeViewRoot = (props) => {
|
|
|
260
260
|
"onSelectionChange",
|
|
261
261
|
"selectedValue",
|
|
262
262
|
"selectionMode",
|
|
263
|
+
"translations",
|
|
263
264
|
"typeahead",
|
|
264
265
|
"scrollToIndexFn"
|
|
265
266
|
]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -69,7 +69,7 @@ var useClipboard = (props) => {
|
|
|
69
69
|
|
|
70
70
|
// src/components/clipboard/clipboard-root.tsx
|
|
71
71
|
var ClipboardRoot = (props) => {
|
|
72
|
-
const [useClipboardProps, localProps] = createSplitProps()(props, ["defaultValue", "id", "ids", "onStatusChange", "onValueChange", "timeout", "value"]);
|
|
72
|
+
const [useClipboardProps, localProps] = createSplitProps()(props, ["defaultValue", "id", "ids", "onStatusChange", "onValueChange", "timeout", "translations", "value"]);
|
|
73
73
|
const api = useClipboard(useClipboardProps);
|
|
74
74
|
const mergedProps = mergeProps(() => api().getRootProps(), localProps);
|
|
75
75
|
return createComponent(ClipboardProvider, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useCollapsibleContext, collapsible_exports } from './
|
|
1
|
+
import { useCollapsibleContext, collapsible_exports } from './HBI6JRIQ.js';
|
|
2
2
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
4
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
5
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { ark } from './EPLBB4QN.js';
|
|
8
8
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useTreeViewContext, tree_view_exports, useTreeView } from './
|
|
1
|
+
import { useTreeViewContext, tree_view_exports, useTreeView } from './KRXWQWRE.js';
|
|
2
2
|
import { createTreeCollection } from './APULXWCH.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./TSCPRMQ2.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useLocaleContext
|
|
9
|
-
} from "./HOPBYFHD.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useEnvironmentContext
|
|
12
9
|
} from "./HDGILMRT.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useLocaleContext
|
|
12
|
+
} from "./HOPBYFHD.jsx";
|
|
13
13
|
import {
|
|
14
14
|
runIfFn
|
|
15
15
|
} from "./KGOB2IMX.jsx";
|
|
@@ -177,6 +177,7 @@ var useTagsInput = (props) => {
|
|
|
177
177
|
var TagsInputRoot = (props) => {
|
|
178
178
|
const [useTagsInputProps, localProps] = createSplitProps()(props, [
|
|
179
179
|
"addOnPaste",
|
|
180
|
+
"allowDuplicates",
|
|
180
181
|
"allowOverflow",
|
|
181
182
|
"autoFocus",
|
|
182
183
|
"blurBehavior",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { collapsible_exports } from './
|
|
1
|
+
import { collapsible_exports } from './HBI6JRIQ.js';
|
|
2
2
|
import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
4
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
5
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
6
6
|
import { runIfFn } from './DT73WLR4.js';
|
|
7
7
|
import { ark } from './EPLBB4QN.js';
|
|
8
8
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -176,7 +176,7 @@ var useTreeView = (props) => {
|
|
|
176
176
|
// src/components/tree-view/tree-view-root.tsx
|
|
177
177
|
var TreeViewRoot = (props) => {
|
|
178
178
|
const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
|
|
179
|
-
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["canRename", "checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onBeforeRename", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onRenameComplete", "onRenameStart", "onSelectionChange", "selectedValue", "selectionMode", "typeahead", "scrollToIndexFn"]);
|
|
179
|
+
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["canRename", "checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onBeforeRename", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onRenameComplete", "onRenameStart", "onSelectionChange", "selectedValue", "selectionMode", "translations", "typeahead", "scrollToIndexFn"]);
|
|
180
180
|
const treeView2 = useTreeView(useTreeViewProps);
|
|
181
181
|
const mergedProps = mergeProps(() => treeView2().getRootProps(), localProps);
|
|
182
182
|
return createComponent(TreeViewProvider, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './UJB7LDER.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
|
-
import { useLocaleContext } from './EM5SH6A3.js';
|
|
4
3
|
import { useEnvironmentContext } from './3P5T77QU.js';
|
|
4
|
+
import { useLocaleContext } from './EM5SH6A3.js';
|
|
5
5
|
import { runIfFn } from './DT73WLR4.js';
|
|
6
6
|
import { ark } from './EPLBB4QN.js';
|
|
7
7
|
import { createContext } from './THN5C4U6.js';
|
|
@@ -134,7 +134,7 @@ var useTagsInput = (props) => {
|
|
|
134
134
|
|
|
135
135
|
// src/components/tags-input/tags-input-root.tsx
|
|
136
136
|
var TagsInputRoot = (props) => {
|
|
137
|
-
const [useTagsInputProps, localProps] = createSplitProps()(props, ["addOnPaste", "allowOverflow", "autoFocus", "blurBehavior", "defaultInputValue", "defaultValue", "delimiter", "disabled", "editable", "form", "id", "ids", "inputValue", "invalid", "max", "maxLength", "name", "onFocusOutside", "onHighlightChange", "onInputValueChange", "onInteractOutside", "onPointerDownOutside", "onValueChange", "onValueInvalid", "placeholder", "readOnly", "required", "translations", "validate", "value"]);
|
|
137
|
+
const [useTagsInputProps, localProps] = createSplitProps()(props, ["addOnPaste", "allowDuplicates", "allowOverflow", "autoFocus", "blurBehavior", "defaultInputValue", "defaultValue", "delimiter", "disabled", "editable", "form", "id", "ids", "inputValue", "invalid", "max", "maxLength", "name", "onFocusOutside", "onHighlightChange", "onInputValueChange", "onInteractOutside", "onPointerDownOutside", "onValueChange", "onValueInvalid", "placeholder", "readOnly", "required", "translations", "validate", "value"]);
|
|
138
138
|
const api = useTagsInput(useTagsInputProps);
|
|
139
139
|
const mergedProps = mergeProps(() => api().getRootProps(), localProps);
|
|
140
140
|
return createComponent(TagsInputProvider, {
|