@ark-ui/solid 5.9.1 → 5.10.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/{CTU4RBCL.js → 2MXPLL4O.js} +1 -1
- package/dist/chunk/{GMQWLEMA.js → 364QFYBV.js} +1 -1
- package/dist/chunk/{XHRYU75E.js → 3IJ5QLEM.js} +1 -1
- package/dist/chunk/{XTKQCFXA.js → 4HQIDBKB.js} +1 -1
- package/dist/chunk/{ZCR6PEKU.jsx → 4L4266PL.jsx} +3 -3
- package/dist/chunk/{XN3MSM3M.js → 6HQNY7WM.js} +4 -2
- package/dist/chunk/{ZRDDUT25.jsx → 6XAZQVOY.jsx} +4 -4
- package/dist/chunk/{M2X4T5YI.js → 72JQEDEW.js} +2 -2
- package/dist/chunk/{MC7HLMCJ.js → 74TH35IC.js} +2 -2
- package/dist/chunk/{4JSIWK47.jsx → 7FASJWDK.jsx} +3 -3
- package/dist/chunk/{M22EJR7I.jsx → 7OXBQSIZ.jsx} +3 -3
- package/dist/chunk/{6RE6P43M.jsx → 7RYPC5LL.jsx} +3 -3
- package/dist/chunk/{BN6G7VZL.jsx → 7UNWOGPT.jsx} +4 -4
- package/dist/chunk/{Y3BMAUJ3.jsx → 7YSKY6W4.jsx} +4 -4
- package/dist/chunk/{P6BDMUWN.js → AD6K3UTR.js} +1 -1
- package/dist/chunk/{EWPKE75H.js → AIFOKNNI.js} +1 -1
- package/dist/chunk/AWEBBQKG.js +352 -0
- package/dist/chunk/{GAEOBWYL.js → BOR6VUN5.js} +1 -1
- package/dist/chunk/{4QDVLLAO.jsx → CINP4S7J.jsx} +3 -3
- package/dist/chunk/{Z2GBTKXP.js → CZGNNOWN.js} +1 -1
- package/dist/chunk/{4A7TP7UN.js → DAORON6X.js} +1 -1
- package/dist/chunk/{VVDIFQHR.jsx → DBQP7III.jsx} +3 -3
- package/dist/chunk/{UZZB2PYN.js → DJCDFKG4.js} +2 -2
- package/dist/chunk/{6KLF2C3G.jsx → DLZTFD37.jsx} +5 -4
- package/dist/chunk/{MDSDUOA7.js → DPP7XCXL.js} +1 -1
- package/dist/chunk/{CS2DO6YU.jsx → DQQRZ3DL.jsx} +4 -4
- package/dist/chunk/{D2Z5BEON.jsx → E2L62MKC.jsx} +1 -1
- package/dist/chunk/{HZ3APUBJ.jsx → FG427CLW.jsx} +3 -3
- package/dist/chunk/{U5K5ZANS.js → FJ5JNMAY.js} +1 -1
- package/dist/chunk/{AYGXT3GV.jsx → FOIEK72O.jsx} +3 -3
- package/dist/chunk/{5T73FAJY.jsx → GKS4JQZJ.jsx} +1 -1
- package/dist/chunk/{M27EDZVV.jsx → GLN6WFQR.jsx} +3 -3
- package/dist/chunk/{VJHB2FMZ.jsx → H4MJ4254.jsx} +3 -3
- package/dist/chunk/{ASSWYBX3.js → H5DXY5W4.js} +1 -1
- package/dist/chunk/{4HPQVVRP.jsx → HQOIDGRU.jsx} +10 -6
- package/dist/chunk/{LTZUX6NG.js → HX25P762.js} +1 -1
- package/dist/chunk/{2EMVL2IQ.js → I6UGYR2R.js} +1 -1
- package/dist/chunk/{FJ3FVOGG.jsx → IDNDLSEV.jsx} +4 -4
- package/dist/chunk/{QDOPZ5XF.js → IWBBR7PD.js} +1 -1
- package/dist/chunk/{BUX3MXSX.js → J6KTD7C4.js} +1 -1
- package/dist/chunk/{5P6VDRXB.jsx → JK6QXH6B.jsx} +3 -3
- package/dist/chunk/{DCGLD47I.jsx → JKM73NGJ.jsx} +3 -3
- package/dist/chunk/{ZYF7GVNI.jsx → JY6PMVAK.jsx} +10 -6
- package/dist/chunk/{CGIPQEC2.js → KBANDL4M.js} +3 -3
- package/dist/chunk/{CC4VX2SZ.js → KHRXJWYQ.js} +2 -2
- package/dist/chunk/{Z2ZI3WHM.jsx → KJ353BY6.jsx} +4 -4
- package/dist/chunk/{ZFEXDBTE.jsx → KNVMVQG6.jsx} +4 -4
- package/dist/chunk/{5TRVHZWX.js → LB3LJBHI.js} +1 -1
- package/dist/chunk/{45QX7ERS.js → LORIOKHL.js} +1 -1
- package/dist/chunk/{LIA677CA.js → LRA73ZZJ.js} +1 -1
- package/dist/chunk/{B5PX2A24.jsx → MJTOTU2A.jsx} +3 -3
- package/dist/chunk/{3T3CHFOI.js → MTVQZNY6.js} +2 -2
- package/dist/chunk/{UL6NTZA6.js → NC7W2KIE.js} +8 -6
- package/dist/chunk/{RQZ6U2UY.js → NQSCRM4A.js} +2 -2
- package/dist/chunk/{U72UWTCQ.js → O6YKGZWS.js} +7 -3
- package/dist/chunk/{FMKC62HV.js → OF23HNNE.js} +1 -1
- package/dist/chunk/{FH6GTC4M.js → OKT2RIHV.js} +1 -1
- package/dist/chunk/{P5KYIXBT.jsx → OM7DNJ6L.jsx} +4 -4
- package/dist/chunk/{7LGQHHQ6.jsx → OM7V7VVC.jsx} +4 -4
- package/dist/chunk/{46YZDDSK.js → OPAESICE.js} +2 -2
- package/dist/chunk/{JDQV34ZO.jsx → PDM4RNNF.jsx} +3 -3
- package/dist/chunk/{UO3H42QI.jsx → PRA2XFQE.jsx} +3 -3
- package/dist/chunk/{HGBQUNKZ.js → QKDU2AEK.js} +2 -2
- package/dist/chunk/{6BLNCF3J.jsx → QXYWHKF7.jsx} +3 -3
- package/dist/chunk/{N4LX6YTH.jsx → RBFSTWIA.jsx} +9 -5
- package/dist/chunk/{36SVH2NV.jsx → RBTSINKI.jsx} +3 -3
- package/dist/chunk/{3R544BNK.js → RGHRUX7P.js} +1 -1
- package/dist/chunk/{XJRN7Y3Y.js → ROUJC6XC.js} +1 -1
- package/dist/chunk/{TZDLUIKR.jsx → RULCXX3A.jsx} +1 -1
- package/dist/chunk/{TFSMBIVN.js → RVK7FAUI.js} +2 -2
- package/dist/chunk/{GTBZCIHJ.js → T4JGZ7KR.js} +1 -1
- package/dist/chunk/{E5BXBABH.js → T7G3DPEM.js} +1 -1
- package/dist/chunk/{XQCNW4F7.js → T7GUEJBF.js} +1 -1
- package/dist/chunk/{JRMTU7C7.jsx → TTIVTOWQ.jsx} +1 -1
- package/dist/chunk/{XCU56UHM.jsx → U7QDCJXT.jsx} +4 -4
- package/dist/chunk/{G2G63I5O.js → UI2TEQZM.js} +1 -1
- package/dist/chunk/{3Z45T6FD.js → UK24ZAUL.js} +2 -2
- package/dist/chunk/{A3VC6L75.jsx → V2GDFVDR.jsx} +1 -1
- package/dist/chunk/{HF5MDQXT.jsx → V6S3C3U7.jsx} +4 -4
- package/dist/chunk/{BNQLKUHI.jsx → V75EMOIC.jsx} +4 -4
- package/dist/chunk/{CYHSVU5J.js → VL4J24YY.js} +2 -2
- package/dist/chunk/{U7F3BISB.js → VQ3I3Z7G.js} +1 -1
- package/dist/chunk/{XXWTVBBC.jsx → VXQNQSLM.jsx} +3 -3
- package/dist/chunk/{QLFQEMNC.js → W3D4AMKT.js} +2 -2
- package/dist/chunk/{LD5DWBUI.jsx → WBLWV2L4.jsx} +4 -4
- package/dist/chunk/{HRGOITBL.js → WI6PP4EF.js} +2 -2
- package/dist/chunk/{WIF7CNPH.jsx → X5GWQYGE.jsx} +3 -3
- package/dist/chunk/{D4IKRCUD.jsx → XENPQFEN.jsx} +3 -3
- package/dist/chunk/{GYYFKFV2.jsx → XSGHIZ6Q.jsx} +3 -3
- package/dist/chunk/{JEGLR2GC.jsx → YJX4W6VT.jsx} +3 -3
- package/dist/chunk/{I2PTICVF.jsx → YM35RFYG.jsx} +3 -3
- package/dist/chunk/{YMMMHJJS.js → YO2MCGXO.js} +1 -1
- package/dist/chunk/{TXKDDZVE.jsx → Z2BXVXSV.jsx} +3 -3
- package/dist/chunk/ZG3NSN2X.jsx +400 -0
- 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.js +1 -1
- package/dist/components/clipboard/index.jsx +2 -2
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +2 -2
- package/dist/components/collection.d.ts +1 -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.js +1 -1
- package/dist/components/combobox/index.jsx +4 -4
- 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.js +1 -1
- package/dist/components/download-trigger/index.jsx +2 -2
- 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 +5 -2
- package/dist/components/fieldset/index.d.ts +6 -7
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/fieldset/index.jsx +6 -1
- 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.jsx +1 -1
- package/dist/components/frame/index.js +1 -1
- package/dist/components/frame/index.jsx +2 -2
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +2 -2
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +48 -47
- package/dist/components/index.jsx +448 -420
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +2 -2
- 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.d.ts +78 -0
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/password-input/index.jsx +40 -0
- 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/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +2 -2
- package/dist/components/select/index.d.ts +2 -2
- 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 +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.js +1 -1
- package/dist/components/timer/index.jsx +2 -2
- 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 +1 -1
- package/dist/components/tree-view/index.jsx +3 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.js +49 -48
- package/dist/index.jsx +451 -423
- package/dist/providers/environment/index.js +1 -1
- package/dist/providers/environment/index.jsx +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.jsx +4 -4
- package/package.json +55 -54
- /package/dist/chunk/{IEGQ2BAU.jsx → BJ3QT4LE.jsx} +0 -0
- /package/dist/chunk/{5I3KMKOJ.js → QBN5FEQF.js} +0 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createMachine
|
|
3
|
+
} from "./ETB2BIQZ.jsx";
|
|
4
|
+
import {
|
|
5
|
+
useFieldContext
|
|
6
|
+
} from "./HQOIDGRU.jsx";
|
|
7
|
+
import {
|
|
8
|
+
createSplitProps
|
|
9
|
+
} from "./6WEDGJKQ.jsx";
|
|
10
|
+
import {
|
|
11
|
+
ark
|
|
12
|
+
} from "./UFYZ7HLU.jsx";
|
|
13
|
+
import {
|
|
14
|
+
useLocaleContext
|
|
15
|
+
} from "./YUC6JE7K.jsx";
|
|
16
|
+
import {
|
|
17
|
+
useEnvironmentContext
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
19
|
+
import {
|
|
20
|
+
createContext
|
|
21
|
+
} from "./TVCIHLER.jsx";
|
|
22
|
+
import {
|
|
23
|
+
runIfFn
|
|
24
|
+
} from "./KGOB2IMX.jsx";
|
|
25
|
+
import {
|
|
26
|
+
__export
|
|
27
|
+
} from "./7IUG3E2V.jsx";
|
|
28
|
+
|
|
29
|
+
// src/components/password-input/use-password-input-context.ts
|
|
30
|
+
var [PasswordInputProvider, usePasswordInputContext] = createContext({
|
|
31
|
+
hookName: "usePasswordInputContext",
|
|
32
|
+
providerName: "<PasswordInputProvider />"
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
// src/components/password-input/password-input-context.tsx
|
|
36
|
+
var PasswordInputContext = (props2) => props2.children(usePasswordInputContext());
|
|
37
|
+
|
|
38
|
+
// src/components/password-input/password-input-control.tsx
|
|
39
|
+
import { mergeProps } from "@zag-js/solid";
|
|
40
|
+
var PasswordInputControl = (props2) => {
|
|
41
|
+
const passwordInput = usePasswordInputContext();
|
|
42
|
+
const mergedProps = mergeProps(() => passwordInput().getControlProps(), props2);
|
|
43
|
+
return <ark.div {...mergedProps} />;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// src/components/password-input/password-input-indicator.tsx
|
|
47
|
+
import { mergeProps as mergeProps2 } from "@zag-js/solid";
|
|
48
|
+
import { Show } from "solid-js";
|
|
49
|
+
var PasswordInputIndicator = (props2) => {
|
|
50
|
+
const passwordInput = usePasswordInputContext();
|
|
51
|
+
const mergedProps = mergeProps2(() => passwordInput().getIndicatorProps(), props2);
|
|
52
|
+
return <ark.span {...mergedProps}>
|
|
53
|
+
<Show when={passwordInput().visible} fallback={props2.fallback}>
|
|
54
|
+
{props2.children}
|
|
55
|
+
</Show>
|
|
56
|
+
</ark.span>;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
// src/components/password-input/password-input-input.tsx
|
|
60
|
+
import { mergeProps as mergeProps3 } from "@zag-js/solid";
|
|
61
|
+
var PasswordInputInput = (props2) => {
|
|
62
|
+
const passwordInput = usePasswordInputContext();
|
|
63
|
+
const mergedProps = mergeProps3(() => passwordInput().getInputProps(), props2);
|
|
64
|
+
const field = useFieldContext();
|
|
65
|
+
return <ark.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
// src/components/password-input/password-input-label.tsx
|
|
69
|
+
import { mergeProps as mergeProps4 } from "@zag-js/solid";
|
|
70
|
+
var PasswordInputLabel = (props2) => {
|
|
71
|
+
const passwordInput = usePasswordInputContext();
|
|
72
|
+
const mergedProps = mergeProps4(() => passwordInput().getLabelProps(), props2);
|
|
73
|
+
return <ark.label {...mergedProps} />;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// src/components/password-input/password-input-root.tsx
|
|
77
|
+
import { mergeProps as mergeProps5 } from "@zag-js/solid";
|
|
78
|
+
|
|
79
|
+
// ../../node_modules/@zag-js/password-input/dist/index.mjs
|
|
80
|
+
import { createAnatomy } from "@zag-js/anatomy";
|
|
81
|
+
import { dataAttr, isLeftClick, ariaAttr } from "@zag-js/dom-query";
|
|
82
|
+
import { uuid, createSplitProps as createSplitProps2 } from "@zag-js/utils";
|
|
83
|
+
import { createProps } from "@zag-js/types";
|
|
84
|
+
var anatomy = createAnatomy("password-input").parts(
|
|
85
|
+
"root",
|
|
86
|
+
"input",
|
|
87
|
+
"label",
|
|
88
|
+
"control",
|
|
89
|
+
"indicator",
|
|
90
|
+
"visibilityTrigger"
|
|
91
|
+
);
|
|
92
|
+
var parts = anatomy.build();
|
|
93
|
+
var getInputId = (ctx) => ctx.ids?.input ?? `p-input-${ctx.id}-input`;
|
|
94
|
+
var getInputEl = (ctx) => ctx.getById(getInputId(ctx));
|
|
95
|
+
function connect(service, normalize) {
|
|
96
|
+
const { scope, prop, context } = service;
|
|
97
|
+
const visible = context.get("visible");
|
|
98
|
+
const disabled = !!prop("disabled");
|
|
99
|
+
const invalid = !!prop("invalid");
|
|
100
|
+
const readOnly = !!prop("readOnly");
|
|
101
|
+
const interactive = !(readOnly || disabled);
|
|
102
|
+
const translations = prop("translations");
|
|
103
|
+
return {
|
|
104
|
+
visible,
|
|
105
|
+
disabled,
|
|
106
|
+
invalid,
|
|
107
|
+
focus() {
|
|
108
|
+
getInputEl(scope)?.focus();
|
|
109
|
+
},
|
|
110
|
+
setVisible(value) {
|
|
111
|
+
service.send({ type: "VISIBILITY.SET", value });
|
|
112
|
+
},
|
|
113
|
+
toggleVisible() {
|
|
114
|
+
service.send({ type: "VISIBILITY.SET", value: !visible });
|
|
115
|
+
},
|
|
116
|
+
getRootProps() {
|
|
117
|
+
return normalize.element({
|
|
118
|
+
...parts.root.attrs,
|
|
119
|
+
dir: prop("dir"),
|
|
120
|
+
"data-disabled": dataAttr(disabled),
|
|
121
|
+
"data-invalid": dataAttr(invalid),
|
|
122
|
+
"data-readonly": dataAttr(readOnly)
|
|
123
|
+
});
|
|
124
|
+
},
|
|
125
|
+
getLabelProps() {
|
|
126
|
+
return normalize.label({
|
|
127
|
+
...parts.label.attrs,
|
|
128
|
+
htmlFor: getInputId(scope),
|
|
129
|
+
"data-disabled": dataAttr(disabled),
|
|
130
|
+
"data-invalid": dataAttr(invalid),
|
|
131
|
+
"data-readonly": dataAttr(readOnly)
|
|
132
|
+
});
|
|
133
|
+
},
|
|
134
|
+
getInputProps() {
|
|
135
|
+
return normalize.input({
|
|
136
|
+
...parts.input.attrs,
|
|
137
|
+
id: getInputId(scope),
|
|
138
|
+
autoCapitalize: "off",
|
|
139
|
+
name: prop("name"),
|
|
140
|
+
required: prop("required"),
|
|
141
|
+
autoComplete: prop("autoComplete"),
|
|
142
|
+
spellCheck: false,
|
|
143
|
+
readOnly,
|
|
144
|
+
disabled,
|
|
145
|
+
type: visible ? "text" : "password",
|
|
146
|
+
"data-state": visible ? "visible" : "hidden",
|
|
147
|
+
"aria-invalid": ariaAttr(invalid),
|
|
148
|
+
"data-disabled": dataAttr(disabled),
|
|
149
|
+
"data-invalid": dataAttr(invalid),
|
|
150
|
+
"data-readonly": dataAttr(readOnly),
|
|
151
|
+
...prop("ignorePasswordManagers") ? passwordManagerProps : {}
|
|
152
|
+
});
|
|
153
|
+
},
|
|
154
|
+
getVisibilityTriggerProps() {
|
|
155
|
+
return normalize.button({
|
|
156
|
+
...parts.visibilityTrigger.attrs,
|
|
157
|
+
type: "button",
|
|
158
|
+
tabIndex: -1,
|
|
159
|
+
"aria-controls": getInputId(scope),
|
|
160
|
+
"aria-expanded": visible,
|
|
161
|
+
"data-readonly": dataAttr(readOnly),
|
|
162
|
+
disabled,
|
|
163
|
+
"data-disabled": dataAttr(disabled),
|
|
164
|
+
"data-state": visible ? "visible" : "hidden",
|
|
165
|
+
"aria-label": translations?.visibilityTrigger?.(visible),
|
|
166
|
+
onPointerDown(event) {
|
|
167
|
+
if (!isLeftClick(event)) return;
|
|
168
|
+
if (!interactive) return;
|
|
169
|
+
event.preventDefault();
|
|
170
|
+
service.send({ type: "TRIGGER.CLICK" });
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
},
|
|
174
|
+
getIndicatorProps() {
|
|
175
|
+
return normalize.element({
|
|
176
|
+
...parts.indicator.attrs,
|
|
177
|
+
"aria-hidden": true,
|
|
178
|
+
"data-state": visible ? "visible" : "hidden",
|
|
179
|
+
"data-disabled": dataAttr(disabled),
|
|
180
|
+
"data-invalid": dataAttr(invalid),
|
|
181
|
+
"data-readonly": dataAttr(readOnly)
|
|
182
|
+
});
|
|
183
|
+
},
|
|
184
|
+
getControlProps() {
|
|
185
|
+
return normalize.element({
|
|
186
|
+
...parts.control.attrs,
|
|
187
|
+
"data-disabled": dataAttr(disabled),
|
|
188
|
+
"data-invalid": dataAttr(invalid),
|
|
189
|
+
"data-readonly": dataAttr(readOnly)
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
var passwordManagerProps = {
|
|
195
|
+
// 1Password
|
|
196
|
+
"data-1p-ignore": "",
|
|
197
|
+
// LastPass
|
|
198
|
+
"data-lpignore": "true",
|
|
199
|
+
// Bitwarden
|
|
200
|
+
"data-bwignore": "true",
|
|
201
|
+
// Dashlane
|
|
202
|
+
"data-form-type": "other",
|
|
203
|
+
// Proton Pass
|
|
204
|
+
"data-protonpass-ignore": "true"
|
|
205
|
+
};
|
|
206
|
+
var machine = createMachine({
|
|
207
|
+
props({ props: props2 }) {
|
|
208
|
+
return {
|
|
209
|
+
id: uuid(),
|
|
210
|
+
defaultVisible: false,
|
|
211
|
+
autoComplete: "current-password",
|
|
212
|
+
ignorePasswordManagers: false,
|
|
213
|
+
...props2,
|
|
214
|
+
translations: {
|
|
215
|
+
visibilityTrigger(visible) {
|
|
216
|
+
return visible ? "Hide password" : "Show password";
|
|
217
|
+
},
|
|
218
|
+
...props2.translations
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
},
|
|
222
|
+
context({ prop, bindable }) {
|
|
223
|
+
return {
|
|
224
|
+
visible: bindable(() => ({
|
|
225
|
+
value: prop("visible"),
|
|
226
|
+
defaultValue: prop("defaultVisible"),
|
|
227
|
+
onChange(value) {
|
|
228
|
+
prop("onVisibilityChange")?.({ visible: value });
|
|
229
|
+
}
|
|
230
|
+
}))
|
|
231
|
+
};
|
|
232
|
+
},
|
|
233
|
+
initialState() {
|
|
234
|
+
return "idle";
|
|
235
|
+
},
|
|
236
|
+
effects: ["trackFormEvents"],
|
|
237
|
+
states: {
|
|
238
|
+
idle: {
|
|
239
|
+
on: {
|
|
240
|
+
"VISIBILITY.SET": {
|
|
241
|
+
actions: ["setVisibility"]
|
|
242
|
+
},
|
|
243
|
+
"TRIGGER.CLICK": {
|
|
244
|
+
actions: ["toggleVisibility", "focusInputEl"]
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
implementations: {
|
|
250
|
+
actions: {
|
|
251
|
+
setVisibility({ context, event }) {
|
|
252
|
+
context.set("visible", event.value);
|
|
253
|
+
},
|
|
254
|
+
toggleVisibility({ context }) {
|
|
255
|
+
context.set("visible", (c) => !c);
|
|
256
|
+
},
|
|
257
|
+
focusInputEl({ scope }) {
|
|
258
|
+
const inputEl = getInputEl(scope);
|
|
259
|
+
inputEl?.focus();
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
effects: {
|
|
263
|
+
trackFormEvents({ scope, send }) {
|
|
264
|
+
const inputEl = getInputEl(scope);
|
|
265
|
+
const form = inputEl?.form;
|
|
266
|
+
if (!form) return;
|
|
267
|
+
const win = scope.getWin();
|
|
268
|
+
const controller = new win.AbortController();
|
|
269
|
+
form.addEventListener(
|
|
270
|
+
"reset",
|
|
271
|
+
(event) => {
|
|
272
|
+
if (event.defaultPrevented) return;
|
|
273
|
+
send({ type: "VISIBILITY.SET", value: false });
|
|
274
|
+
},
|
|
275
|
+
{ signal: controller.signal }
|
|
276
|
+
);
|
|
277
|
+
form.addEventListener(
|
|
278
|
+
"submit",
|
|
279
|
+
() => {
|
|
280
|
+
send({ type: "VISIBILITY.SET", value: false });
|
|
281
|
+
},
|
|
282
|
+
{ signal: controller.signal }
|
|
283
|
+
);
|
|
284
|
+
return () => controller.abort();
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
var props = createProps()([
|
|
290
|
+
"defaultVisible",
|
|
291
|
+
"dir",
|
|
292
|
+
"id",
|
|
293
|
+
"onVisibilityChange",
|
|
294
|
+
"visible",
|
|
295
|
+
"ids",
|
|
296
|
+
"getRootNode",
|
|
297
|
+
"disabled",
|
|
298
|
+
"invalid",
|
|
299
|
+
"required",
|
|
300
|
+
"readOnly",
|
|
301
|
+
"translations",
|
|
302
|
+
"ignorePasswordManagers",
|
|
303
|
+
"autoComplete",
|
|
304
|
+
"name"
|
|
305
|
+
]);
|
|
306
|
+
var splitProps = createSplitProps2(props);
|
|
307
|
+
|
|
308
|
+
// src/components/password-input/use-password-input.ts
|
|
309
|
+
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
310
|
+
import { createMemo, createUniqueId } from "solid-js";
|
|
311
|
+
var usePasswordInput = (props2) => {
|
|
312
|
+
const id = createUniqueId();
|
|
313
|
+
const locale = useLocaleContext();
|
|
314
|
+
const environment = useEnvironmentContext();
|
|
315
|
+
const field = useFieldContext();
|
|
316
|
+
const machineProps = createMemo(() => ({
|
|
317
|
+
id,
|
|
318
|
+
ids: {
|
|
319
|
+
input: field?.().ids.control
|
|
320
|
+
},
|
|
321
|
+
disabled: field?.().disabled,
|
|
322
|
+
readOnly: field?.().readOnly,
|
|
323
|
+
required: field?.().required,
|
|
324
|
+
invalid: field?.().invalid,
|
|
325
|
+
dir: locale().dir,
|
|
326
|
+
getRootNode: environment().getRootNode,
|
|
327
|
+
...runIfFn(props2)
|
|
328
|
+
}));
|
|
329
|
+
const service = useMachine(machine, machineProps);
|
|
330
|
+
return createMemo(() => connect(service, normalizeProps));
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
// src/components/password-input/password-input-root.tsx
|
|
334
|
+
var PasswordInputRoot = (props2) => {
|
|
335
|
+
const [usePasswordInputProps, localProps] = createSplitProps()(props2, [
|
|
336
|
+
"autoComplete",
|
|
337
|
+
"defaultVisible",
|
|
338
|
+
"disabled",
|
|
339
|
+
"id",
|
|
340
|
+
"ids",
|
|
341
|
+
"ignorePasswordManagers",
|
|
342
|
+
"invalid",
|
|
343
|
+
"name",
|
|
344
|
+
"onVisibilityChange",
|
|
345
|
+
"readOnly",
|
|
346
|
+
"required",
|
|
347
|
+
"translations",
|
|
348
|
+
"visible"
|
|
349
|
+
]);
|
|
350
|
+
const passwordInput = usePasswordInput(usePasswordInputProps);
|
|
351
|
+
const mergedProps = mergeProps5(() => passwordInput().getRootProps(), localProps);
|
|
352
|
+
return <PasswordInputProvider value={passwordInput}>
|
|
353
|
+
<ark.div {...mergedProps} />
|
|
354
|
+
</PasswordInputProvider>;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
// src/components/password-input/password-input-root-provider.tsx
|
|
358
|
+
import { mergeProps as mergeProps6 } from "@zag-js/solid";
|
|
359
|
+
var PasswordInputRootProvider = (props2) => {
|
|
360
|
+
const mergedProps = mergeProps6(() => props2.value().getRootProps(), props2);
|
|
361
|
+
return <PasswordInputProvider value={props2.value}>
|
|
362
|
+
<ark.div {...mergedProps} />
|
|
363
|
+
</PasswordInputProvider>;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
// src/components/password-input/password-input-visibility-trigger.tsx
|
|
367
|
+
import { mergeProps as mergeProps7 } from "@zag-js/solid";
|
|
368
|
+
var PasswordInputVisibilityTrigger = (props2) => {
|
|
369
|
+
const passwordInput = usePasswordInputContext();
|
|
370
|
+
const mergedProps = mergeProps7(() => passwordInput().getVisibilityTriggerProps(), props2);
|
|
371
|
+
return <ark.button {...mergedProps} />;
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
// src/components/password-input/password-input.ts
|
|
375
|
+
var password_input_exports = {};
|
|
376
|
+
__export(password_input_exports, {
|
|
377
|
+
Context: () => PasswordInputContext,
|
|
378
|
+
Control: () => PasswordInputControl,
|
|
379
|
+
Indicator: () => PasswordInputIndicator,
|
|
380
|
+
Input: () => PasswordInputInput,
|
|
381
|
+
Label: () => PasswordInputLabel,
|
|
382
|
+
Root: () => PasswordInputRoot,
|
|
383
|
+
RootProvider: () => PasswordInputRootProvider,
|
|
384
|
+
VisibilityTrigger: () => PasswordInputVisibilityTrigger
|
|
385
|
+
});
|
|
386
|
+
|
|
387
|
+
export {
|
|
388
|
+
usePasswordInputContext,
|
|
389
|
+
PasswordInputContext,
|
|
390
|
+
PasswordInputControl,
|
|
391
|
+
PasswordInputIndicator,
|
|
392
|
+
PasswordInputInput,
|
|
393
|
+
PasswordInputLabel,
|
|
394
|
+
anatomy,
|
|
395
|
+
usePasswordInput,
|
|
396
|
+
PasswordInputRoot,
|
|
397
|
+
PasswordInputRootProvider,
|
|
398
|
+
PasswordInputVisibilityTrigger,
|
|
399
|
+
password_input_exports
|
|
400
|
+
};
|
|
@@ -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/VL4J24YY.js';
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useAccordion,
|
|
13
13
|
useAccordionContext,
|
|
14
14
|
useAccordionItemContext
|
|
15
|
-
} from "../../chunk/
|
|
16
|
-
import "../../chunk/
|
|
15
|
+
} from "../../chunk/IDNDLSEV.jsx";
|
|
16
|
+
import "../../chunk/Z2BXVXSV.jsx";
|
|
17
17
|
import "../../chunk/NEBB7COJ.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
19
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
20
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
22
21
|
import "../../chunk/YUC6JE7K.jsx";
|
|
22
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
23
23
|
import "../../chunk/TVCIHLER.jsx";
|
|
24
24
|
import "../../chunk/KGOB2IMX.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { angle_slider_exports as AngleSlider, AngleSliderContext, AngleSliderControl, AngleSliderHiddenInput, AngleSliderLabel, AngleSliderMarker, AngleSliderMarkerGroup, AngleSliderRoot, AngleSliderRootProvider, AngleSliderThumb, AngleSliderValueText, anatomy as angleSliderAnatomy, useAngleSlider, useAngleSliderContext } from '../../chunk/
|
|
1
|
+
export { angle_slider_exports as AngleSlider, AngleSliderContext, AngleSliderControl, AngleSliderHiddenInput, AngleSliderLabel, AngleSliderMarker, AngleSliderMarkerGroup, AngleSliderRoot, AngleSliderRootProvider, AngleSliderThumb, AngleSliderValueText, anatomy as angleSliderAnatomy, useAngleSlider, useAngleSliderContext } from '../../chunk/LB3LJBHI.js';
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
angle_slider_exports,
|
|
14
14
|
useAngleSlider,
|
|
15
15
|
useAngleSliderContext
|
|
16
|
-
} from "../../chunk/
|
|
16
|
+
} from "../../chunk/X5GWQYGE.jsx";
|
|
17
17
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
18
18
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
19
19
|
import "../../chunk/ODQYYKL5.jsx";
|
|
20
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
21
20
|
import "../../chunk/YUC6JE7K.jsx";
|
|
21
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
22
22
|
import "../../chunk/TVCIHLER.jsx";
|
|
23
23
|
import "../../chunk/KGOB2IMX.jsx";
|
|
24
24
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { avatar_exports as Avatar, AvatarContext, AvatarFallback, AvatarImage, AvatarRoot, AvatarRootProvider, anatomy as avatarAnatomy, useAvatar, useAvatarContext } from '../../chunk/
|
|
1
|
+
export { avatar_exports as Avatar, AvatarContext, AvatarFallback, AvatarImage, AvatarRoot, AvatarRootProvider, anatomy as avatarAnatomy, useAvatar, useAvatarContext } from '../../chunk/BOR6VUN5.js';
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
avatar_exports,
|
|
9
9
|
useAvatar,
|
|
10
10
|
useAvatarContext
|
|
11
|
-
} from "../../chunk/
|
|
11
|
+
} from "../../chunk/7RYPC5LL.jsx";
|
|
12
12
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
13
13
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
14
14
|
import "../../chunk/ODQYYKL5.jsx";
|
|
15
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
16
15
|
import "../../chunk/YUC6JE7K.jsx";
|
|
16
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
17
17
|
import "../../chunk/TVCIHLER.jsx";
|
|
18
18
|
import "../../chunk/KGOB2IMX.jsx";
|
|
19
19
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/
|
|
1
|
+
export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/OKT2RIHV.js';
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
carousel_exports,
|
|
15
15
|
useCarousel,
|
|
16
16
|
useCarouselContext
|
|
17
|
-
} from "../../chunk/
|
|
17
|
+
} from "../../chunk/7FASJWDK.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
19
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
20
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
22
21
|
import "../../chunk/YUC6JE7K.jsx";
|
|
22
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
23
23
|
import "../../chunk/TVCIHLER.jsx";
|
|
24
24
|
import "../../chunk/KGOB2IMX.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -126,7 +126,7 @@ interface CheckboxRootProviderProps extends HTMLProps<'label'>, RootProviderProp
|
|
|
126
126
|
}
|
|
127
127
|
declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js.JSX.Element;
|
|
128
128
|
|
|
129
|
-
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "
|
|
129
|
+
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "control" | "indicator">;
|
|
130
130
|
|
|
131
131
|
interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {
|
|
132
132
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext } from '../../chunk/
|
|
1
|
+
export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext } from '../../chunk/72JQEDEW.js';
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
useCheckboxContext,
|
|
14
14
|
useCheckboxGroup,
|
|
15
15
|
useCheckboxGroupContext
|
|
16
|
-
} from "../../chunk/
|
|
17
|
-
import "../../chunk/
|
|
18
|
-
import "../../chunk/
|
|
16
|
+
} from "../../chunk/KNVMVQG6.jsx";
|
|
17
|
+
import "../../chunk/HQOIDGRU.jsx";
|
|
18
|
+
import "../../chunk/JY6PMVAK.jsx";
|
|
19
19
|
import "../../chunk/DOBZPYAN.jsx";
|
|
20
20
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
21
21
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
22
22
|
import "../../chunk/ODQYYKL5.jsx";
|
|
23
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
24
23
|
import "../../chunk/YUC6JE7K.jsx";
|
|
24
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
25
25
|
import "../../chunk/TVCIHLER.jsx";
|
|
26
26
|
import "../../chunk/KGOB2IMX.jsx";
|
|
27
27
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { clipboard_exports as Clipboard, ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, ClipboardValueText, anatomy as clipboardAnatomy, useClipboard, useClipboardContext } from '../../chunk/
|
|
1
|
+
export { clipboard_exports as Clipboard, ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, ClipboardValueText, anatomy as clipboardAnatomy, useClipboard, useClipboardContext } from '../../chunk/AIFOKNNI.js';
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
clipboard_exports,
|
|
13
13
|
useClipboard,
|
|
14
14
|
useClipboardContext
|
|
15
|
-
} from "../../chunk/
|
|
15
|
+
} from "../../chunk/GKS4JQZJ.jsx";
|
|
16
16
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
17
17
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
18
18
|
import "../../chunk/ODQYYKL5.jsx";
|
|
19
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
20
19
|
import "../../chunk/YUC6JE7K.jsx";
|
|
20
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
21
21
|
import "../../chunk/TVCIHLER.jsx";
|
|
22
22
|
import "../../chunk/KGOB2IMX.jsx";
|
|
23
23
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { collapsible_exports as Collapsible, CollapsibleContent, CollapsibleContext, CollapsibleIndicator, CollapsibleRoot, CollapsibleRootProvider, CollapsibleTrigger, anatomy as collapsibleAnatomy, useCollapsible, useCollapsibleContext } from '../../chunk/
|
|
1
|
+
export { collapsible_exports as Collapsible, CollapsibleContent, CollapsibleContext, CollapsibleIndicator, CollapsibleRoot, CollapsibleRootProvider, CollapsibleTrigger, anatomy as collapsibleAnatomy, useCollapsible, useCollapsibleContext } from '../../chunk/ROUJC6XC.js';
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
collapsible_exports,
|
|
10
10
|
useCollapsible,
|
|
11
11
|
useCollapsibleContext
|
|
12
|
-
} from "../../chunk/
|
|
12
|
+
} from "../../chunk/Z2BXVXSV.jsx";
|
|
13
13
|
import "../../chunk/NEBB7COJ.jsx";
|
|
14
14
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
15
15
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
16
16
|
import "../../chunk/ODQYYKL5.jsx";
|
|
17
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
18
17
|
import "../../chunk/YUC6JE7K.jsx";
|
|
18
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
19
19
|
import "../../chunk/TVCIHLER.jsx";
|
|
20
20
|
import "../../chunk/KGOB2IMX.jsx";
|
|
21
21
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionItem, CollectionOptions, ListCollection, TreeCollection, FilePathTreeNode, TreeNode, TreeCollectionOptions } from '@zag-js/collection';
|
|
2
|
-
export { CollectionItem, ListCollection, SelectionMode, TreeCollection, TreeNode } from '@zag-js/collection';
|
|
2
|
+
export { CollectionItem, CollectionOptions, GridCollectionOptions, ListCollection, SelectionMode, TreeCollection, TreeCollectionOptions, TreeNode } from '@zag-js/collection';
|
|
3
3
|
|
|
4
4
|
declare const createListCollection: <T extends CollectionItem>(options: CollectionOptions<T>) => ListCollection<T>;
|
|
5
5
|
|
|
@@ -206,7 +206,7 @@ interface ColorPickerViewProps extends HTMLProps<'div'>, ColorPickerViewBaseProp
|
|
|
206
206
|
}
|
|
207
207
|
declare const ColorPickerView: (props: ColorPickerViewProps) => solid_js.JSX.Element;
|
|
208
208
|
|
|
209
|
-
declare const colorPickerAnatomy: _zag_js_anatomy.AnatomyInstance<"
|
|
209
|
+
declare const colorPickerAnatomy: _zag_js_anatomy.AnatomyInstance<"area" | "label" | "view" | "content" | "root" | "trigger" | "control" | "valueText" | "positioner" | "formatSelect" | "areaThumb" | "channelInput" | "channelSliderTrack" | "channelSliderThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderValueText" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger">;
|
|
210
210
|
|
|
211
211
|
declare const colorPicker_Color: typeof Color;
|
|
212
212
|
declare const colorPicker_ColorFormat: typeof ColorFormat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { color_picker_exports as ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderLabel, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerChannelSliderValueText, ColorPickerContent, ColorPickerContext, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerHiddenInput, ColorPickerLabel, ColorPickerPositioner, ColorPickerRoot, ColorPickerRootProvider, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueSwatch, ColorPickerValueText, ColorPickerView, colorPickerAnatomy, parse as parseColor, useColorPicker, useColorPickerContext } from '../../chunk/
|
|
1
|
+
export { color_picker_exports as ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderLabel, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerChannelSliderValueText, ColorPickerContent, ColorPickerContext, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerHiddenInput, ColorPickerLabel, ColorPickerPositioner, ColorPickerRoot, ColorPickerRootProvider, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueSwatch, ColorPickerValueText, ColorPickerView, colorPickerAnatomy, parse as parseColor, useColorPicker, useColorPickerContext } from '../../chunk/DJCDFKG4.js';
|
|
@@ -33,17 +33,17 @@ import {
|
|
|
33
33
|
parse,
|
|
34
34
|
useColorPicker,
|
|
35
35
|
useColorPickerContext
|
|
36
|
-
} from "../../chunk/
|
|
37
|
-
import "../../chunk/
|
|
38
|
-
import "../../chunk/
|
|
36
|
+
} from "../../chunk/U7QDCJXT.jsx";
|
|
37
|
+
import "../../chunk/HQOIDGRU.jsx";
|
|
38
|
+
import "../../chunk/JY6PMVAK.jsx";
|
|
39
39
|
import "../../chunk/WC2HBDLJ.jsx";
|
|
40
40
|
import "../../chunk/DOBZPYAN.jsx";
|
|
41
41
|
import "../../chunk/NEBB7COJ.jsx";
|
|
42
42
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
43
43
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
44
44
|
import "../../chunk/ODQYYKL5.jsx";
|
|
45
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
46
45
|
import "../../chunk/YUC6JE7K.jsx";
|
|
46
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
47
47
|
import "../../chunk/TVCIHLER.jsx";
|
|
48
48
|
import "../../chunk/KGOB2IMX.jsx";
|
|
49
49
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { combobox_exports as Combobox, ComboboxClearTrigger, ComboboxContent, ComboboxContext, ComboboxControl, ComboboxInput, ComboboxItem, ComboboxItemContext, ComboboxItemGroup, ComboboxItemGroupLabel, ComboboxItemIndicator, ComboboxItemText, ComboboxLabel, ComboboxList, ComboboxPositioner, ComboboxRoot, ComboboxRootProvider, ComboboxTrigger, anatomy as comboboxAnatomy, useCombobox, useComboboxContext, useComboboxItemContext } from '../../chunk/
|
|
1
|
+
export { combobox_exports as Combobox, ComboboxClearTrigger, ComboboxContent, ComboboxContext, ComboboxControl, ComboboxInput, ComboboxItem, ComboboxItemContext, ComboboxItemGroup, ComboboxItemGroupLabel, ComboboxItemIndicator, ComboboxItemText, ComboboxLabel, ComboboxList, ComboboxPositioner, ComboboxRoot, ComboboxRootProvider, ComboboxTrigger, anatomy as comboboxAnatomy, useCombobox, useComboboxContext, useComboboxItemContext } from '../../chunk/QKDU2AEK.js';
|
|
2
2
|
export { createListCollection } from '../../chunk/OAPCRIL5.js';
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
useCombobox,
|
|
22
22
|
useComboboxContext,
|
|
23
23
|
useComboboxItemContext
|
|
24
|
-
} from "../../chunk/
|
|
25
|
-
import "../../chunk/
|
|
26
|
-
import "../../chunk/
|
|
24
|
+
} from "../../chunk/6XAZQVOY.jsx";
|
|
25
|
+
import "../../chunk/HQOIDGRU.jsx";
|
|
26
|
+
import "../../chunk/JY6PMVAK.jsx";
|
|
27
27
|
import "../../chunk/WC2HBDLJ.jsx";
|
|
28
28
|
import "../../chunk/DOBZPYAN.jsx";
|
|
29
29
|
import {
|
|
@@ -33,8 +33,8 @@ import "../../chunk/NEBB7COJ.jsx";
|
|
|
33
33
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
34
34
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
35
35
|
import "../../chunk/ODQYYKL5.jsx";
|
|
36
|
-
import "../../chunk/D2Z5BEON.jsx";
|
|
37
36
|
import "../../chunk/YUC6JE7K.jsx";
|
|
37
|
+
import "../../chunk/E2L62MKC.jsx";
|
|
38
38
|
import "../../chunk/TVCIHLER.jsx";
|
|
39
39
|
import "../../chunk/KGOB2IMX.jsx";
|
|
40
40
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -186,7 +186,7 @@ interface DatePickerYearSelectProps extends HTMLProps<'select'>, DatePickerYearS
|
|
|
186
186
|
}
|
|
187
187
|
declare const DatePickerYearSelect: (props: DatePickerYearSelectProps) => solid_js.JSX.Element;
|
|
188
188
|
|
|
189
|
-
declare const datePickerAnatomy: _zag_js_anatomy.AnatomyInstance<"
|
|
189
|
+
declare const datePickerAnatomy: _zag_js_anatomy.AnatomyInstance<"input" | "label" | "table" | "view" | "content" | "root" | "trigger" | "control" | "nextTrigger" | "prevTrigger" | "positioner" | "clearTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl">;
|
|
190
190
|
|
|
191
191
|
declare const datePicker_DateValue: typeof DateValue;
|
|
192
192
|
declare const datePicker_FocusChangeDetails: typeof FocusChangeDetails;
|