@ark-ui/solid 4.2.0 → 4.3.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/{QZBKZO47.js → 2HGEDMNF.js} +2 -2
- package/dist/chunk/2PEBPAD5.jsx +15 -0
- package/dist/chunk/{ONRWV73H.jsx → 3FKZ6KJD.jsx} +5 -5
- package/dist/chunk/{2ZIOTGL3.js → 42CZQMX2.js} +3 -5
- package/dist/chunk/{ZTGL23QZ.js → 4DPMLML4.js} +1 -1
- package/dist/chunk/{P2KJGUNW.jsx → 4ICFJW2D.jsx} +4 -4
- package/dist/chunk/{IZAFEKNG.jsx → 4TNW4LNT.jsx} +4 -4
- package/dist/chunk/{MVL2JW5G.js → 5G6GUK6S.js} +1 -1
- package/dist/chunk/{OYTB5QWY.js → 5JS7LFUQ.js} +11 -11
- package/dist/chunk/{NTCV3MLJ.jsx → 6EY2Z73Y.jsx} +4 -4
- package/dist/chunk/{VN3OG575.js → 7WAPCEAY.js} +2 -2
- package/dist/chunk/{X3GDAQGM.js → AK2LUFHG.js} +14 -3
- package/dist/chunk/{CC55N56R.jsx → AOG74HPY.jsx} +4 -4
- package/dist/chunk/{DNNMKWRH.js → BNMRTYLU.js} +1 -1
- package/dist/chunk/{KWJ6UCDT.js → CYRK6TAN.js} +2 -2
- package/dist/chunk/{E4VJ3RD7.jsx → E4USRLNU.jsx} +4 -4
- package/dist/chunk/{2C6A32GV.js → ENHIBLQ6.js} +1 -1
- package/dist/chunk/{QYFVBX63.js → F66KWWUN.js} +2 -2
- package/dist/chunk/FE2WXPJR.js +23 -0
- package/dist/chunk/{5CPCXJBB.jsx → FGNZD6WP.jsx} +5 -5
- package/dist/chunk/{KNA7F4FJ.jsx → GLJ4SETU.jsx} +5 -5
- package/dist/chunk/{AIXA3QCN.jsx → GTGJTQN4.jsx} +17 -17
- package/dist/chunk/{N7QLMQKV.js → HEKFQEI5.js} +2 -2
- package/dist/chunk/{42QLIV3W.jsx → HQFEUYOV.jsx} +4 -4
- package/dist/chunk/{3DQJUZWY.jsx → HXSFGTUH.jsx} +4 -4
- package/dist/chunk/{QK4E7K6M.js → IFXE5SWX.js} +1 -1
- package/dist/chunk/{UTOUEYJL.jsx → IZYDGYQY.jsx} +5 -5
- package/dist/chunk/{6N62F7GL.js → JS3C64H5.js} +2 -2
- package/dist/chunk/{DROJC4BX.js → JSMOACQ5.js} +1 -1
- package/dist/chunk/{QYMDDEMZ.js → KJ3FKIIK.js} +2 -2
- package/dist/chunk/{DY4JCG75.js → KKCBAUHZ.js} +1 -1
- package/dist/chunk/{QJASL3TD.js → KQLVMRLF.js} +1 -1
- package/dist/chunk/{B7JXC4RB.js → KUTJELYB.js} +1 -1
- package/dist/chunk/{WW54SYIV.js → L6HRKS4V.js} +1 -1
- package/dist/chunk/{P24MDGF3.jsx → LKZXE4D5.jsx} +4 -4
- package/dist/chunk/{T2ZJPLCD.jsx → LMMNUVZG.jsx} +4 -4
- package/dist/chunk/{YJ7NNN57.jsx → LS7TV3SH.jsx} +21 -2
- package/dist/chunk/{AEONTAXJ.js → NCE7GTLS.js} +2 -2
- package/dist/chunk/{U65C7SBP.jsx → OAZ77M7Q.jsx} +5 -5
- package/dist/chunk/{JFMVXKWP.jsx → OEWX5CKM.jsx} +5 -5
- package/dist/chunk/{LOR2W6S2.js → OKMXOUR3.js} +1 -1
- package/dist/chunk/{27BDPPYM.jsx → OTMHVJ6C.jsx} +4 -4
- package/dist/chunk/{KX4GXB3Z.jsx → OX5YYZLK.jsx} +5 -5
- package/dist/chunk/{LXXCX4RO.jsx → POMWY2MG.jsx} +5 -5
- package/dist/chunk/{LEAWZT55.jsx → PQ3UNZE4.jsx} +4 -4
- package/dist/chunk/{OBGOP5NZ.js → PTS474GD.js} +2 -2
- package/dist/chunk/{WJON42CL.jsx → PZEZKJF3.jsx} +4 -4
- package/dist/chunk/{KCIYSRM7.jsx → Q3STMYMV.jsx} +4 -4
- package/dist/chunk/{B2OPFF7J.js → Q5KLHHE3.js} +32 -6
- package/dist/chunk/{L2N5CD4D.jsx → QUGFFYRX.jsx} +10 -9
- package/dist/chunk/{X7HQ6AMW.jsx → QX424BJV.jsx} +1 -1
- package/dist/chunk/{BCFU7H7W.js → R3KGHDYR.js} +1 -1
- package/dist/chunk/{I5ZIFWV2.jsx → R5ZNIQWU.jsx} +4 -4
- package/dist/chunk/{TOA67336.js → RFPBNMT7.js} +2 -2
- package/dist/chunk/{Q3GD7QM3.js → SPA64RV2.js} +1 -1
- package/dist/chunk/{Z7SJCWPR.jsx → SWSA36TD.jsx} +5 -5
- package/dist/chunk/{F3S42GVW.js → SYODOK2B.js} +2 -2
- package/dist/chunk/{OEMG2RQ5.jsx → T7DQP6DT.jsx} +4 -4
- package/dist/chunk/{W5MHNAP5.jsx → UPYUPAKW.jsx} +5 -5
- package/dist/chunk/{55M5FJ22.js → UW63M5GW.js} +1 -1
- package/dist/chunk/{H6DC7RQL.js → UZJR5LMS.js} +1 -1
- package/dist/chunk/{NHCOYBY5.jsx → VDX7IT74.jsx} +5 -5
- package/dist/chunk/{PELFJH2D.jsx → VI2C2YY7.jsx} +4 -4
- package/dist/chunk/{D2XL4HJ4.js → VQXL4BNM.js} +13 -13
- package/dist/chunk/{VFUEJBXC.js → WEGHFH3B.js} +1 -1
- package/dist/chunk/{MHHYBEM2.js → WLUB7JYL.js} +1 -1
- package/dist/chunk/{BLPPWNTR.js → YBEQIVOS.js} +1 -1
- package/dist/chunk/{3CKNAJLS.jsx → YCYZZGN2.jsx} +18 -18
- package/dist/chunk/{AJ4XLXC4.jsx → YJZDRWMW.jsx} +4 -4
- package/dist/chunk/{R2IA2NWU.js → YN36NFIE.js} +1 -1
- package/dist/chunk/{YQNUA2C5.jsx → YQ7OK72K.jsx} +4 -4
- package/dist/chunk/{2XEXGBVI.jsx → ZSWRRXUI.jsx} +37 -24
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +3 -3
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +2 -2
- package/dist/components/carousel/index.d.ts +1 -1
- 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 +3 -3
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +2 -2
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +2 -2
- 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 +3 -3
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.jsx +3 -3
- 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.d.ts +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +2 -2
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +3 -3
- package/dist/components/field/index.d.ts +15 -3
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.jsx +3 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +3 -3
- package/dist/components/format/index.jsx +1 -1
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/hover-card/index.d.ts +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 +12 -3
- package/dist/components/index.js +36 -35
- package/dist/components/index.jsx +205 -196
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +2 -2
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/index.jsx +3 -3
- package/dist/components/pagination/index.jsx +2 -2
- package/dist/components/pin-input/index.d.ts +1 -1
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +3 -3
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +2 -2
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +2 -2
- package/dist/components/qr-code/index.d.ts +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +2 -2
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/index.jsx +2 -2
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/rating-group/index.jsx +3 -3
- 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 +1 -1
- package/dist/components/select/index.jsx +3 -3
- package/dist/components/signature-pad/index.d.ts +1 -1
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +3 -3
- package/dist/components/slider/index.d.ts +9 -3
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +4 -2
- package/dist/components/splitter/index.d.ts +1 -1
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +2 -2
- package/dist/components/steps/index.jsx +2 -2
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.jsx +3 -3
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +2 -2
- package/dist/components/tags-input/index.d.ts +1 -1
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/index.jsx +3 -3
- package/dist/components/time-picker/index.d.ts +3 -14
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/index.jsx +4 -2
- package/dist/components/timer/index.d.ts +13 -13
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +2 -2
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +2 -2
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +2 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +36 -35
- package/dist/index.jsx +208 -199
- package/dist/providers/index.jsx +4 -4
- package/package.json +60 -60
- package/dist/chunk/EZ2HOZZM.js +0 -1
- package/dist/chunk/P5DFHJ7G.jsx +0 -0
- package/dist/chunk/{GZVCPLKK.jsx → 6GRTONVL.jsx} +3 -3
- package/dist/chunk/{MRQ2UYM4.jsx → GRSRDWXO.jsx} +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useControllableState } from './BSPFGETO.js';
|
|
2
|
-
import { useFieldContext } from './
|
|
2
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
5
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -123,7 +123,7 @@ var CheckboxLabel = (props) => {
|
|
|
123
123
|
const mergedProps = mergeProps(() => checkbox2().getLabelProps(), props);
|
|
124
124
|
return createComponent(ark.span, mergedProps);
|
|
125
125
|
};
|
|
126
|
-
var useCheckbox = (ownProps) => {
|
|
126
|
+
var useCheckbox = (ownProps = {}) => {
|
|
127
127
|
const checkboxGroup = useCheckboxGroupContext();
|
|
128
128
|
const props = createMemo(() => {
|
|
129
129
|
return mergeProps(ownProps, checkboxGroup?.().getItemProps({ value: ownProps.value }) ?? {});
|
|
@@ -61,7 +61,7 @@ var TabTrigger = (props) => {
|
|
|
61
61
|
|
|
62
62
|
// src/components/tabs/tabs-context.tsx
|
|
63
63
|
var TabsContext = (props) => props.children(useTabsContext());
|
|
64
|
-
var useTabs = (props) => {
|
|
64
|
+
var useTabs = (props = {}) => {
|
|
65
65
|
const locale = useLocaleContext();
|
|
66
66
|
const environment = useEnvironmentContext();
|
|
67
67
|
const id = createUniqueId();
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./E72NMPSK.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useFieldContext
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./LS7TV3SH.jsx";
|
|
10
10
|
import {
|
|
11
11
|
createSplitProps
|
|
12
12
|
} from "./6WEDGJKQ.jsx";
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useEnvironmentContext
|
|
18
|
-
} from "./5O4RWSWO.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useLocaleContext
|
|
21
18
|
} from "./3QQZKR3F.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useEnvironmentContext
|
|
21
|
+
} from "./5O4RWSWO.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./NMGUCD2L.jsx";
|
|
@@ -256,7 +256,7 @@ import { mergeProps as mergeProps18 } from "@zag-js/solid";
|
|
|
256
256
|
import * as colorPicker from "@zag-js/color-picker";
|
|
257
257
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
258
258
|
import { createMemo, createUniqueId } from "solid-js";
|
|
259
|
-
var useColorPicker = (props) => {
|
|
259
|
+
var useColorPicker = (props = {}) => {
|
|
260
260
|
const locale = useLocaleContext();
|
|
261
261
|
const environment = useEnvironmentContext();
|
|
262
262
|
const field = useFieldContext();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFieldContext } from './
|
|
1
|
+
import { useFieldContext } from './Q5KLHHE3.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
4
|
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
@@ -54,7 +54,7 @@ var SignaturePadLabel = (props) => {
|
|
|
54
54
|
const mergedProps = mergeProps(() => signaturePad2().getLabelProps(), props);
|
|
55
55
|
return createComponent(ark.label, mergedProps);
|
|
56
56
|
};
|
|
57
|
-
var useSignaturePad = (props) => {
|
|
57
|
+
var useSignaturePad = (props = {}) => {
|
|
58
58
|
const locale = useLocaleContext();
|
|
59
59
|
const environment = useEnvironmentContext();
|
|
60
60
|
const id = createUniqueId();
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
ark
|
|
17
17
|
} from "./UFYZ7HLU.jsx";
|
|
18
|
-
import {
|
|
19
|
-
useEnvironmentContext
|
|
20
|
-
} from "./5O4RWSWO.jsx";
|
|
21
18
|
import {
|
|
22
19
|
useLocaleContext
|
|
23
20
|
} from "./3QQZKR3F.jsx";
|
|
21
|
+
import {
|
|
22
|
+
useEnvironmentContext
|
|
23
|
+
} from "./5O4RWSWO.jsx";
|
|
24
24
|
import {
|
|
25
25
|
createContext
|
|
26
26
|
} from "./NMGUCD2L.jsx";
|
|
@@ -107,7 +107,7 @@ import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
|
107
107
|
import * as dialog from "@zag-js/dialog";
|
|
108
108
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
109
109
|
import { createMemo, createUniqueId } from "solid-js";
|
|
110
|
-
var useDialog = (props) => {
|
|
110
|
+
var useDialog = (props = {}) => {
|
|
111
111
|
const locale = useLocaleContext();
|
|
112
112
|
const environment = useEnvironmentContext();
|
|
113
113
|
const id = createUniqueId();
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./52WUF3CY.jsx";
|
|
4
4
|
import {
|
|
5
5
|
useFieldContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./LS7TV3SH.jsx";
|
|
7
7
|
import {
|
|
8
8
|
createSplitProps
|
|
9
9
|
} from "./6WEDGJKQ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
ark
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
|
-
import {
|
|
14
|
-
useEnvironmentContext
|
|
15
|
-
} from "./5O4RWSWO.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./3QQZKR3F.jsx";
|
|
16
|
+
import {
|
|
17
|
+
useEnvironmentContext
|
|
18
|
+
} from "./5O4RWSWO.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./NMGUCD2L.jsx";
|
|
@@ -158,7 +158,7 @@ import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
|
158
158
|
import * as checkbox from "@zag-js/checkbox";
|
|
159
159
|
import { mergeProps as mergeProps5, normalizeProps, useMachine } from "@zag-js/solid";
|
|
160
160
|
import { createMemo as createMemo2, createUniqueId } from "solid-js";
|
|
161
|
-
var useCheckbox = (ownProps) => {
|
|
161
|
+
var useCheckbox = (ownProps = {}) => {
|
|
162
162
|
const checkboxGroup = useCheckboxGroupContext();
|
|
163
163
|
const props = createMemo2(() => {
|
|
164
164
|
return mergeProps5(ownProps, checkboxGroup?.().getItemProps({ value: ownProps.value }) ?? {});
|
|
@@ -33,7 +33,7 @@ var QrCodePattern = (props) => {
|
|
|
33
33
|
const mergedProps = mergeProps(() => qrCode2().getPatternProps(), props);
|
|
34
34
|
return createComponent(ark.path, mergedProps);
|
|
35
35
|
};
|
|
36
|
-
var useQrCode = (props) => {
|
|
36
|
+
var useQrCode = (props = {}) => {
|
|
37
37
|
const locale = useLocaleContext();
|
|
38
38
|
const environment = useEnvironmentContext();
|
|
39
39
|
const id = createUniqueId();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./LS7TV3SH.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
ark
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
|
-
import {
|
|
11
|
-
useEnvironmentContext
|
|
12
|
-
} from "./5O4RWSWO.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./3QQZKR3F.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useEnvironmentContext
|
|
15
|
+
} from "./5O4RWSWO.jsx";
|
|
16
16
|
import {
|
|
17
17
|
createContext
|
|
18
18
|
} from "./NMGUCD2L.jsx";
|
|
@@ -70,7 +70,7 @@ import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
|
70
70
|
import * as pinInput from "@zag-js/pin-input";
|
|
71
71
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
72
72
|
import { createMemo, createUniqueId } from "solid-js";
|
|
73
|
-
var usePinInput = (props) => {
|
|
73
|
+
var usePinInput = (props = {}) => {
|
|
74
74
|
const locale = useLocaleContext();
|
|
75
75
|
const environment = useEnvironmentContext();
|
|
76
76
|
const id = createUniqueId();
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ark
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useEnvironmentContext
|
|
9
|
-
} from "./5O4RWSWO.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useLocaleContext
|
|
12
9
|
} from "./3QQZKR3F.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useEnvironmentContext
|
|
12
|
+
} from "./5O4RWSWO.jsx";
|
|
13
13
|
import {
|
|
14
14
|
createContext
|
|
15
15
|
} from "./NMGUCD2L.jsx";
|
|
@@ -55,7 +55,7 @@ import { mergeProps as mergeProps3 } from "@zag-js/solid";
|
|
|
55
55
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
56
56
|
import * as splitter from "@zag-js/splitter";
|
|
57
57
|
import { createMemo, createUniqueId } from "solid-js";
|
|
58
|
-
var useSplitter = (props) => {
|
|
58
|
+
var useSplitter = (props = {}) => {
|
|
59
59
|
const locale = useLocaleContext();
|
|
60
60
|
const environment = useEnvironmentContext();
|
|
61
61
|
const id = createUniqueId();
|
|
@@ -10,7 +10,7 @@ import { anatomy } from '@zag-js/date-picker';
|
|
|
10
10
|
export { parse } from '@zag-js/date-picker';
|
|
11
11
|
import { createComponent, mergeProps as mergeProps$1, insert, effect, template } from 'solid-js/web';
|
|
12
12
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
13
|
-
import { Show,
|
|
13
|
+
import { Show, Index, createUniqueId, createMemo } from 'solid-js';
|
|
14
14
|
|
|
15
15
|
// src/components/date-picker/use-date-picker-context.ts
|
|
16
16
|
var [DatePickerProvider, useDatePickerContext] = createContext({
|
|
@@ -47,8 +47,8 @@ var DatePickerControl = (props) => {
|
|
|
47
47
|
};
|
|
48
48
|
var DatePickerInput = (props) => {
|
|
49
49
|
const [inputProps, localProps] = createSplitProps()(props, ["index"]);
|
|
50
|
-
const
|
|
51
|
-
const mergedProps = mergeProps(() =>
|
|
50
|
+
const datePicker2 = useDatePickerContext();
|
|
51
|
+
const mergedProps = mergeProps(() => datePicker2().getInputProps(inputProps), localProps);
|
|
52
52
|
return createComponent(ark.input, mergedProps);
|
|
53
53
|
};
|
|
54
54
|
var DatePickerLabel = (props) => {
|
|
@@ -58,18 +58,18 @@ var DatePickerLabel = (props) => {
|
|
|
58
58
|
};
|
|
59
59
|
var _tmpl$ = /* @__PURE__ */ template(`<option>`);
|
|
60
60
|
var DatePickerMonthSelect = (props) => {
|
|
61
|
-
const
|
|
62
|
-
const mergedProps = mergeProps(() =>
|
|
61
|
+
const datePicker2 = useDatePickerContext();
|
|
62
|
+
const mergedProps = mergeProps(() => datePicker2().getMonthSelectProps(), props);
|
|
63
63
|
return createComponent(ark.select, mergeProps$1(mergedProps, {
|
|
64
64
|
get children() {
|
|
65
|
-
return createComponent(
|
|
65
|
+
return createComponent(Index, {
|
|
66
66
|
get each() {
|
|
67
|
-
return
|
|
67
|
+
return datePicker2().getMonths();
|
|
68
68
|
},
|
|
69
69
|
children: (month) => (() => {
|
|
70
70
|
var _el$ = _tmpl$();
|
|
71
|
-
insert(_el$, () => month.label);
|
|
72
|
-
effect(() => _el$.value = month.value);
|
|
71
|
+
insert(_el$, () => month().label);
|
|
72
|
+
effect(() => _el$.value = month().value);
|
|
73
73
|
return _el$;
|
|
74
74
|
})()
|
|
75
75
|
});
|
|
@@ -126,7 +126,7 @@ var DatePickerRangeText = (props) => {
|
|
|
126
126
|
}
|
|
127
127
|
}));
|
|
128
128
|
};
|
|
129
|
-
var useDatePicker = (props) => {
|
|
129
|
+
var useDatePicker = (props = {}) => {
|
|
130
130
|
const locale = useLocaleContext();
|
|
131
131
|
const environment = useEnvironmentContext();
|
|
132
132
|
const id = createUniqueId();
|
|
@@ -318,13 +318,13 @@ var DatePickerViewTrigger = (props) => {
|
|
|
318
318
|
};
|
|
319
319
|
var _tmpl$2 = /* @__PURE__ */ template(`<option>`);
|
|
320
320
|
var DatePickerYearSelect = (props) => {
|
|
321
|
-
const
|
|
322
|
-
const mergedProps = mergeProps(() =>
|
|
321
|
+
const datePicker2 = useDatePickerContext();
|
|
322
|
+
const mergedProps = mergeProps(() => datePicker2().getYearSelectProps(), props);
|
|
323
323
|
return createComponent(ark.select, mergeProps$1(mergedProps, {
|
|
324
324
|
get children() {
|
|
325
325
|
return createComponent(Index, {
|
|
326
326
|
get each() {
|
|
327
|
-
return
|
|
327
|
+
return datePicker2().getYears();
|
|
328
328
|
},
|
|
329
329
|
children: (year) => (() => {
|
|
330
330
|
var _el$ = _tmpl$2();
|
|
@@ -55,7 +55,7 @@ var ClipboardLabel = (props) => {
|
|
|
55
55
|
const mergedProps = mergeProps(() => api().getLabelProps(), props);
|
|
56
56
|
return createComponent(ark.label, mergedProps);
|
|
57
57
|
};
|
|
58
|
-
var useClipboard = (props) => {
|
|
58
|
+
var useClipboard = (props = {}) => {
|
|
59
59
|
const environment = useEnvironmentContext();
|
|
60
60
|
const id = createUniqueId();
|
|
61
61
|
const context = createMemo(() => ({
|
|
@@ -30,32 +30,32 @@ var TimerActionTrigger = (props) => {
|
|
|
30
30
|
return <ark.button {...mergedProps} />;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
// src/components/timer/timer-
|
|
34
|
-
var TimerContext = (props) => props.children(useTimerContext());
|
|
35
|
-
|
|
36
|
-
// src/components/timer/timer-item.tsx
|
|
33
|
+
// src/components/timer/timer-area.tsx
|
|
37
34
|
import { mergeProps as mergeProps2 } from "@zag-js/solid";
|
|
38
|
-
var
|
|
39
|
-
const [itemProps, localProps] = createSplitProps()(props, ["type"]);
|
|
35
|
+
var TimerArea = (props) => {
|
|
40
36
|
const timer2 = useTimerContext();
|
|
41
|
-
const mergedProps = mergeProps2(() => timer2().
|
|
42
|
-
return <ark.div {...mergedProps}
|
|
37
|
+
const mergedProps = mergeProps2(() => timer2().getAreaProps(), props);
|
|
38
|
+
return <ark.div {...mergedProps} />;
|
|
43
39
|
};
|
|
44
40
|
|
|
45
|
-
// src/components/timer/timer-
|
|
41
|
+
// src/components/timer/timer-context.tsx
|
|
42
|
+
var TimerContext = (props) => props.children(useTimerContext());
|
|
43
|
+
|
|
44
|
+
// src/components/timer/timer-control.tsx
|
|
46
45
|
import { mergeProps as mergeProps3 } from "@zag-js/solid";
|
|
47
|
-
var
|
|
46
|
+
var TimerControl = (props) => {
|
|
48
47
|
const timer2 = useTimerContext();
|
|
49
|
-
const mergedProps = mergeProps3(() => timer2().
|
|
48
|
+
const mergedProps = mergeProps3(() => timer2().getControlProps(), props);
|
|
50
49
|
return <ark.div {...mergedProps} />;
|
|
51
50
|
};
|
|
52
51
|
|
|
53
|
-
// src/components/timer/timer-
|
|
52
|
+
// src/components/timer/timer-item.tsx
|
|
54
53
|
import { mergeProps as mergeProps4 } from "@zag-js/solid";
|
|
55
|
-
var
|
|
54
|
+
var TimerItem = (props) => {
|
|
55
|
+
const [itemProps, localProps] = createSplitProps()(props, ["type"]);
|
|
56
56
|
const timer2 = useTimerContext();
|
|
57
|
-
const mergedProps = mergeProps4(() => timer2().
|
|
58
|
-
return <ark.div {...mergedProps}
|
|
57
|
+
const mergedProps = mergeProps4(() => timer2().getItemProps(itemProps), localProps);
|
|
58
|
+
return <ark.div {...mergedProps}>{timer2().formattedTime[itemProps.type]}</ark.div>;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
// src/components/timer/timer-root.tsx
|
|
@@ -65,7 +65,7 @@ import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
|
65
65
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
66
66
|
import * as timer from "@zag-js/timer";
|
|
67
67
|
import { createMemo, createUniqueId } from "solid-js";
|
|
68
|
-
var useTimer = (props) => {
|
|
68
|
+
var useTimer = (props = {}) => {
|
|
69
69
|
const env = useEnvironmentContext();
|
|
70
70
|
const id = createUniqueId();
|
|
71
71
|
const context = createMemo(() => ({
|
|
@@ -134,10 +134,10 @@ __export(timer_exports, {
|
|
|
134
134
|
export {
|
|
135
135
|
useTimerContext,
|
|
136
136
|
TimerActionTrigger,
|
|
137
|
-
TimerContext,
|
|
138
|
-
TimerItem,
|
|
139
137
|
TimerArea,
|
|
138
|
+
TimerContext,
|
|
140
139
|
TimerControl,
|
|
140
|
+
TimerItem,
|
|
141
141
|
useTimer,
|
|
142
142
|
TimerRoot,
|
|
143
143
|
TimerRootProvider,
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ark
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useEnvironmentContext
|
|
9
|
-
} from "./5O4RWSWO.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useLocaleContext
|
|
12
9
|
} from "./3QQZKR3F.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useEnvironmentContext
|
|
12
|
+
} from "./5O4RWSWO.jsx";
|
|
13
13
|
import {
|
|
14
14
|
createContext
|
|
15
15
|
} from "./NMGUCD2L.jsx";
|
|
@@ -75,7 +75,7 @@ import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
|
75
75
|
import * as progress from "@zag-js/progress";
|
|
76
76
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
77
77
|
import { createMemo, createUniqueId } from "solid-js";
|
|
78
|
-
var useProgress = (props) => {
|
|
78
|
+
var useProgress = (props = {}) => {
|
|
79
79
|
const locale = useLocaleContext();
|
|
80
80
|
const environment = useEnvironmentContext();
|
|
81
81
|
const id = createUniqueId();
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ark
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
|
-
import {
|
|
14
|
-
useEnvironmentContext
|
|
15
|
-
} from "./5O4RWSWO.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./3QQZKR3F.jsx";
|
|
16
|
+
import {
|
|
17
|
+
useEnvironmentContext
|
|
18
|
+
} from "./5O4RWSWO.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./NMGUCD2L.jsx";
|
|
@@ -85,7 +85,7 @@ import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
|
85
85
|
import * as hoverCard from "@zag-js/hover-card";
|
|
86
86
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
87
87
|
import { createMemo, createUniqueId } from "solid-js";
|
|
88
|
-
var useHoverCard = (props) => {
|
|
88
|
+
var useHoverCard = (props = {}) => {
|
|
89
89
|
const locale = useLocaleContext();
|
|
90
90
|
const environment = useEnvironmentContext();
|
|
91
91
|
const id = createUniqueId();
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ark
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
|
-
import {
|
|
8
|
-
useEnvironmentContext
|
|
9
|
-
} from "./5O4RWSWO.jsx";
|
|
10
7
|
import {
|
|
11
8
|
useLocaleContext
|
|
12
9
|
} from "./3QQZKR3F.jsx";
|
|
10
|
+
import {
|
|
11
|
+
useEnvironmentContext
|
|
12
|
+
} from "./5O4RWSWO.jsx";
|
|
13
13
|
import {
|
|
14
14
|
createContext
|
|
15
15
|
} from "./NMGUCD2L.jsx";
|
|
@@ -34,7 +34,7 @@ var SliderControl = (props) => {
|
|
|
34
34
|
return <ark.div {...mergedProps} />;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
// src/components/slider/slider-
|
|
37
|
+
// src/components/slider/slider-dragging-indicator.tsx
|
|
38
38
|
import { mergeProps as mergeProps2 } from "@zag-js/solid";
|
|
39
39
|
|
|
40
40
|
// src/components/slider/use-slider-thumb-props-context.ts
|
|
@@ -43,55 +43,66 @@ var [SliderThumbPropsProvider, useSliderThumbPropsContext] = createContext({
|
|
|
43
43
|
providerName: "<SliderThumbPropsProvider />"
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
+
// src/components/slider/slider-dragging-indicator.tsx
|
|
47
|
+
var SliderDraggingIndicator = (props) => {
|
|
48
|
+
const slider2 = useSliderContext();
|
|
49
|
+
const thumbProps = useSliderThumbPropsContext();
|
|
50
|
+
const mergedProps = mergeProps2(() => slider2().getDraggingIndicatorProps(thumbProps), props);
|
|
51
|
+
return <ark.span {...mergedProps}>
|
|
52
|
+
{props.children || slider2().getThumbValue(thumbProps.index)}
|
|
53
|
+
</ark.span>;
|
|
54
|
+
};
|
|
55
|
+
|
|
46
56
|
// src/components/slider/slider-hidden-input.tsx
|
|
57
|
+
import { mergeProps as mergeProps3 } from "@zag-js/solid";
|
|
47
58
|
var SliderHiddenInput = (props) => {
|
|
48
59
|
const slider2 = useSliderContext();
|
|
49
60
|
const thumbProps = useSliderThumbPropsContext();
|
|
50
|
-
const mergedProps =
|
|
61
|
+
const mergedProps = mergeProps3(slider2().getHiddenInputProps(thumbProps), props);
|
|
51
62
|
return <ark.input {...mergedProps} />;
|
|
52
63
|
};
|
|
53
64
|
|
|
54
65
|
// src/components/slider/slider-label.tsx
|
|
55
|
-
import { mergeProps as
|
|
66
|
+
import { mergeProps as mergeProps4 } from "@zag-js/solid";
|
|
56
67
|
var SliderLabel = (props) => {
|
|
57
68
|
const api = useSliderContext();
|
|
58
|
-
const mergedProps =
|
|
69
|
+
const mergedProps = mergeProps4(() => api().getLabelProps(), props);
|
|
59
70
|
return <ark.label {...mergedProps} />;
|
|
60
71
|
};
|
|
61
72
|
|
|
62
73
|
// src/components/slider/slider-marker.tsx
|
|
63
|
-
import { mergeProps as
|
|
74
|
+
import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
64
75
|
var SliderMarker = (props) => {
|
|
65
76
|
const [markerProps, localProps] = createSplitProps()(props, ["value"]);
|
|
66
77
|
const api = useSliderContext();
|
|
67
|
-
const mergedProps =
|
|
78
|
+
const mergedProps = mergeProps5(() => api().getMarkerProps(markerProps), localProps);
|
|
68
79
|
return <ark.span {...mergedProps} />;
|
|
69
80
|
};
|
|
70
81
|
|
|
71
82
|
// src/components/slider/slider-marker-group.tsx
|
|
72
|
-
import { mergeProps as
|
|
83
|
+
import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
73
84
|
var SliderMarkerGroup = (props) => {
|
|
74
85
|
const api = useSliderContext();
|
|
75
|
-
const mergedProps =
|
|
86
|
+
const mergedProps = mergeProps6(() => api().getMarkerGroupProps(), props);
|
|
76
87
|
return <ark.div {...mergedProps} />;
|
|
77
88
|
};
|
|
78
89
|
|
|
79
90
|
// src/components/slider/slider-range.tsx
|
|
80
|
-
import { mergeProps as
|
|
91
|
+
import { mergeProps as mergeProps7 } from "@zag-js/solid";
|
|
81
92
|
var SliderRange = (props) => {
|
|
82
93
|
const api = useSliderContext();
|
|
83
|
-
const mergedProps =
|
|
94
|
+
const mergedProps = mergeProps7(() => api().getRangeProps(), props);
|
|
84
95
|
return <ark.div {...mergedProps} />;
|
|
85
96
|
};
|
|
86
97
|
|
|
87
98
|
// src/components/slider/slider-root.tsx
|
|
88
|
-
import { mergeProps as
|
|
99
|
+
import { mergeProps as mergeProps8 } from "@zag-js/solid";
|
|
89
100
|
|
|
90
101
|
// src/components/slider/use-slider.ts
|
|
91
102
|
import * as slider from "@zag-js/slider";
|
|
92
103
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
93
104
|
import { createMemo, createUniqueId } from "solid-js";
|
|
94
|
-
var useSlider = (props) => {
|
|
105
|
+
var useSlider = (props = {}) => {
|
|
95
106
|
const locale = useLocaleContext();
|
|
96
107
|
const environment = useEnvironmentContext();
|
|
97
108
|
const id = createUniqueId();
|
|
@@ -135,46 +146,46 @@ var SliderRoot = (props) => {
|
|
|
135
146
|
"value"
|
|
136
147
|
]);
|
|
137
148
|
const api = useSlider(useSliderProps);
|
|
138
|
-
const mergedProps =
|
|
149
|
+
const mergedProps = mergeProps8(() => api().getRootProps(), localProps);
|
|
139
150
|
return <SliderProvider value={api}>
|
|
140
151
|
<ark.div {...mergedProps} />
|
|
141
152
|
</SliderProvider>;
|
|
142
153
|
};
|
|
143
154
|
|
|
144
155
|
// src/components/slider/slider-root-provider.tsx
|
|
145
|
-
import { mergeProps as
|
|
156
|
+
import { mergeProps as mergeProps9 } from "@zag-js/solid";
|
|
146
157
|
var SliderRootProvider = (props) => {
|
|
147
158
|
const [{ value: slider2 }, localProps] = createSplitProps()(props, ["value"]);
|
|
148
|
-
const mergedProps =
|
|
159
|
+
const mergedProps = mergeProps9(() => slider2().getRootProps(), localProps);
|
|
149
160
|
return <SliderProvider value={slider2}>
|
|
150
161
|
<ark.div {...mergedProps} />
|
|
151
162
|
</SliderProvider>;
|
|
152
163
|
};
|
|
153
164
|
|
|
154
165
|
// src/components/slider/slider-thumb.tsx
|
|
155
|
-
import { mergeProps as
|
|
166
|
+
import { mergeProps as mergeProps10 } from "@zag-js/solid";
|
|
156
167
|
var SliderThumb = (props) => {
|
|
157
168
|
const [thumbProps, localProps] = createSplitProps()(props, ["index", "name"]);
|
|
158
169
|
const slider2 = useSliderContext();
|
|
159
|
-
const mergedProps =
|
|
170
|
+
const mergedProps = mergeProps10(() => slider2().getThumbProps(thumbProps), localProps);
|
|
160
171
|
return <SliderThumbPropsProvider value={thumbProps}>
|
|
161
172
|
<ark.div {...mergedProps} />
|
|
162
173
|
</SliderThumbPropsProvider>;
|
|
163
174
|
};
|
|
164
175
|
|
|
165
176
|
// src/components/slider/slider-track.tsx
|
|
166
|
-
import { mergeProps as
|
|
177
|
+
import { mergeProps as mergeProps11 } from "@zag-js/solid";
|
|
167
178
|
var SliderTrack = (props) => {
|
|
168
179
|
const api = useSliderContext();
|
|
169
|
-
const mergedProps =
|
|
180
|
+
const mergedProps = mergeProps11(() => api().getTrackProps(), props);
|
|
170
181
|
return <ark.div {...mergedProps} />;
|
|
171
182
|
};
|
|
172
183
|
|
|
173
184
|
// src/components/slider/slider-value-text.tsx
|
|
174
|
-
import { mergeProps as
|
|
185
|
+
import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
175
186
|
var SliderValueText = (props) => {
|
|
176
187
|
const api = useSliderContext();
|
|
177
|
-
const mergedProps =
|
|
188
|
+
const mergedProps = mergeProps12(() => api().getValueTextProps(), props);
|
|
178
189
|
return <ark.span {...mergedProps}>{props.children || api().value.join(",")}</ark.span>;
|
|
179
190
|
};
|
|
180
191
|
|
|
@@ -186,6 +197,7 @@ var slider_exports = {};
|
|
|
186
197
|
__export(slider_exports, {
|
|
187
198
|
Context: () => SliderContext,
|
|
188
199
|
Control: () => SliderControl,
|
|
200
|
+
DraggingIndicator: () => SliderDraggingIndicator,
|
|
189
201
|
HiddenInput: () => SliderHiddenInput,
|
|
190
202
|
Label: () => SliderLabel,
|
|
191
203
|
Marker: () => SliderMarker,
|
|
@@ -202,6 +214,7 @@ export {
|
|
|
202
214
|
useSliderContext,
|
|
203
215
|
SliderContext,
|
|
204
216
|
SliderControl,
|
|
217
|
+
SliderDraggingIndicator,
|
|
205
218
|
SliderHiddenInput,
|
|
206
219
|
SliderLabel,
|
|
207
220
|
SliderMarker,
|
|
@@ -17,7 +17,7 @@ interface UseAccordionProps extends Optional<Omit<accordion$1.Context, 'dir' | '
|
|
|
17
17
|
}
|
|
18
18
|
interface UseAccordionReturn extends Accessor<accordion$1.Api<PropTypes>> {
|
|
19
19
|
}
|
|
20
|
-
declare const useAccordion: (props
|
|
20
|
+
declare const useAccordion: (props?: UseAccordionProps) => UseAccordionReturn;
|
|
21
21
|
|
|
22
22
|
interface UseAccordionContext extends UseAccordionReturn {
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, anatomy as accordionAnatomy, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/
|
|
1
|
+
export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, anatomy as accordionAnatomy, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/CYRK6TAN.js';
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useAccordion,
|
|
13
13
|
useAccordionContext,
|
|
14
14
|
useAccordionItemContext
|
|
15
|
-
} from "../../chunk/
|
|
16
|
-
import "../../chunk/
|
|
15
|
+
} from "../../chunk/OX5YYZLK.jsx";
|
|
16
|
+
import "../../chunk/PQ3UNZE4.jsx";
|
|
17
17
|
import "../../chunk/5ONYCKM3.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
19
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
20
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/5O4RWSWO.jsx";
|
|
22
21
|
import "../../chunk/3QQZKR3F.jsx";
|
|
22
|
+
import "../../chunk/5O4RWSWO.jsx";
|
|
23
23
|
import "../../chunk/KGOB2IMX.jsx";
|
|
24
24
|
import "../../chunk/NMGUCD2L.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -11,7 +11,7 @@ interface UseAvatarProps extends Optional<Omit<avatar$1.Context, 'dir' | 'getRoo
|
|
|
11
11
|
}
|
|
12
12
|
interface UseAvatarReturn extends Accessor<avatar$1.Api<PropTypes>> {
|
|
13
13
|
}
|
|
14
|
-
declare const useAvatar: (props
|
|
14
|
+
declare const useAvatar: (props?: UseAvatarProps) => UseAvatarReturn;
|
|
15
15
|
|
|
16
16
|
interface UseAvatarContext extends UseAvatarReturn {
|
|
17
17
|
}
|