@ark-ui/solid 4.6.0 → 4.8.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/{PZEZKJF3.jsx → 2HTNQLGP.jsx} +55 -46
- package/dist/chunk/{SPA64RV2.js → 2W32Z6JZ.js} +2 -2
- package/dist/chunk/{Q55I4ULB.js → 34OZO53S.js} +2 -2
- package/dist/chunk/{ND6ULTIP.js → 35R4VP6U.js} +2 -2
- package/dist/chunk/{YEVD47QN.js → 4FXOTC23.js} +2 -2
- package/dist/chunk/{YBEQIVOS.js → 5CYHETDY.js} +12 -2
- package/dist/chunk/{OMC7ZZVY.js → 5XD5ZSBX.js} +2 -2
- package/dist/chunk/{HTPFX5I5.js → CTTG4GSG.js} +5 -5
- package/dist/chunk/{PZDCODVM.jsx → D4XLNL66.jsx} +4 -3
- package/dist/chunk/{YJZDRWMW.jsx → DOPROT6M.jsx} +6 -3
- package/dist/chunk/{LMMNUVZG.jsx → F3QPTRGW.jsx} +4 -3
- package/dist/chunk/{R5ZNIQWU.jsx → HU7FZMJI.jsx} +34 -13
- package/dist/chunk/{QX424BJV.jsx → IQJBNZOX.jsx} +11 -1
- package/dist/chunk/{VFFKWKKV.jsx → JHG4EID2.jsx} +14 -37
- package/dist/chunk/{BNMRTYLU.js → Q7NPTAJI.js} +17 -17
- package/dist/chunk/{RSBH7AZU.jsx → SJSLQDBZ.jsx} +4 -4
- package/dist/chunk/{CUHGQRR2.jsx → SZH7YUGW.jsx} +4 -3
- package/dist/chunk/{HXSFGTUH.jsx → T4NRAKVA.jsx} +4 -3
- package/dist/chunk/{WLTUCUPQ.js → T6IREKKO.js} +4 -4
- package/dist/chunk/{3QKT7KP4.jsx → U3XJZI3X.jsx} +4 -4
- package/dist/chunk/{UZJR5LMS.js → UGKLUHKU.js} +11 -3
- package/dist/chunk/{WEGHFH3B.js → VARNCRUN.js} +2 -2
- package/dist/chunk/{KKCBAUHZ.js → YV5BACLX.js} +3 -2
- package/dist/chunk/{DV2ZLINV.jsx → YVIJOCWC.jsx} +6 -6
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +3 -3
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +2 -2
- package/dist/components/carousel/index.d.ts +16 -17
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +6 -6
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +2 -2
- package/dist/components/clipboard/index.d.ts +8 -2
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +4 -2
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collapsible/index.jsx +2 -2
- package/dist/components/collection.js +1 -1
- package/dist/components/collection.jsx +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 +2 -2
- package/dist/components/combobox/index.js +2 -2
- 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.js +1 -1
- package/dist/components/dialog/index.jsx +2 -2
- package/dist/components/editable/index.js +1 -1
- package/dist/components/editable/index.jsx +2 -2
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/file-upload/index.jsx +2 -2
- package/dist/components/format/index.jsx +1 -1
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +2 -2
- package/dist/components/index.d.ts +4 -4
- package/dist/components/index.js +37 -37
- package/dist/components/index.jsx +272 -268
- 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 +2 -2
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +2 -2
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/pin-input/index.jsx +2 -2
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +2 -2
- package/dist/components/progress/index.d.ts +5 -0
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +2 -2
- package/dist/components/qr-code/index.d.ts +14 -3
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +4 -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 +2 -2
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +2 -2
- package/dist/components/select/index.js +2 -2
- package/dist/components/select/index.jsx +3 -3
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/signature-pad/index.jsx +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/index.jsx +2 -2
- package/dist/components/timer/index.jsx +1 -1
- package/dist/components/toggle/index.d.ts +5 -5
- 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/tree-view/index.js +2 -2
- package/dist/components/tree-view/index.jsx +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +38 -38
- package/dist/index.jsx +275 -271
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.jsx +4 -4
- package/package.json +55 -55
- package/dist/chunk/{Y37DXSEE.jsx → 27RTXL55.jsx} +3 -3
- package/dist/chunk/{TM6MNCJB.js → 2GATVLPK.js} +1 -1
- package/dist/chunk/{JSMOACQ5.js → 2H4WHODR.js} +1 -1
- package/dist/chunk/{ALKUQIFY.jsx → 3EJGSZCP.jsx} +3 -3
- package/dist/chunk/{KQLVMRLF.js → 3HMZSTYX.js} +1 -1
- package/dist/chunk/{PSWXIR5X.jsx → 3NSM24PL.jsx} +3 -3
- package/dist/chunk/{TEZSUL43.jsx → 4XC3UALJ.jsx} +3 -3
- package/dist/chunk/{4TNW4LNT.jsx → 5D3VKQUP.jsx} +3 -3
- package/dist/chunk/{AK2LUFHG.js → 5SRZ3YYC.js} +1 -1
- package/dist/chunk/{U6PDXLCA.jsx → 6L7HNED6.jsx} +3 -3
- package/dist/chunk/{YN36NFIE.js → 6YQ3EF2J.js} +1 -1
- package/dist/chunk/{Q3STMYMV.jsx → AIQFNVCU.jsx} +3 -3
- package/dist/chunk/{WLUB7JYL.js → ATMUKDFF.js} +1 -1
- package/dist/chunk/{PQ3UNZE4.jsx → B7LE23PE.jsx} +3 -3
- package/dist/chunk/{A7PQQPGA.js → BUWVAHRG.js} +1 -1
- package/dist/chunk/{ZSWRRXUI.jsx → BY62F4IV.jsx} +3 -3
- package/dist/chunk/{YQ7OK72K.jsx → CPMYIT5J.jsx} +3 -3
- package/dist/chunk/{UYIC346K.jsx → DT5WVDUV.jsx} +3 -3
- package/dist/chunk/{YKYATBPX.js → FNEB2RAF.js} +1 -1
- package/dist/chunk/{VKM3Y5SS.js → G7GWGK6F.js} +1 -1
- package/dist/chunk/{AZBVL3C5.jsx → GVRRR27D.jsx} +3 -3
- package/dist/chunk/{UW63M5GW.js → GXWVYON6.js} +1 -1
- package/dist/chunk/{6GRTONVL.jsx → GZVCPLKK.jsx} +3 -3
- package/dist/chunk/{4ICFJW2D.jsx → H4RSHLA7.jsx} +3 -3
- package/dist/chunk/{T7DQP6DT.jsx → IZC6PKGT.jsx} +3 -3
- package/dist/chunk/{L6HRKS4V.js → JVXNYKNA.js} +1 -1
- package/dist/chunk/{CRUV7XPV.jsx → K54W24N6.jsx} +3 -3
- package/dist/chunk/{R3KGHDYR.js → LVPQ6GR4.js} +1 -1
- package/dist/chunk/{KF5ALSYW.js → M2FICVVI.js} +1 -1
- package/dist/chunk/{ZX3QOLR2.jsx → MARFWGWI.jsx} +3 -3
- package/dist/chunk/{GRSRDWXO.jsx → MRQ2UYM4.jsx} +3 -3
- package/dist/chunk/{DYAAMWKJ.js → MZPPLECL.js} +1 -1
- package/dist/chunk/{I5OAZLKD.js → PZ7ZCWGA.js} +1 -1
- package/dist/chunk/{QVBQZJF6.js → QLGAAWNC.js} +1 -1
- package/dist/chunk/{4DPMLML4.js → RAEDLHD3.js} +1 -1
- package/dist/chunk/{FNDB3E7F.jsx → RCK6LCJM.jsx} +3 -3
- package/dist/chunk/{ENHIBLQ6.js → SWUA2VFC.js} +1 -1
- package/dist/chunk/{6EY2Z73Y.jsx → TC2QHQ47.jsx} +3 -3
- package/dist/chunk/{LUJELJ42.js → U23DU73Q.js} +1 -1
- package/dist/chunk/{LKZXE4D5.jsx → U7SPBSDD.jsx} +3 -3
- package/dist/chunk/{HWURSPSE.js → UXJGHMFS.js} +1 -1
- package/dist/chunk/{VO46CN3P.js → VIUEKSBO.js} +1 -1
- package/dist/chunk/{LNX6MNBX.js → VQWGXSW6.js} +1 -1
- package/dist/chunk/{PAR3AJGR.js → VZFG6XYZ.js} +1 -1
- package/dist/chunk/{HQFEUYOV.jsx → WIVXL7HJ.jsx} +3 -3
- package/dist/chunk/{VI2C2YY7.jsx → ZC6KWJ4T.jsx} +3 -3
- package/dist/chunk/{KUTJELYB.js → ZKHLGP7Q.js} +1 -1
- package/dist/chunk/{CLZWNSRO.jsx → ZYF7ARA6.jsx} +3 -3
|
@@ -22,36 +22,28 @@ var markToTrack = (obj, mark = true) => {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
// ../../node_modules/@zag-js/store/dist/index.mjs
|
|
25
|
-
function
|
|
25
|
+
function glob() {
|
|
26
26
|
if (typeof globalThis !== "undefined") return globalThis;
|
|
27
27
|
if (typeof self !== "undefined") return self;
|
|
28
28
|
if (typeof window !== "undefined") return window;
|
|
29
29
|
if (typeof global !== "undefined") return global;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
const g =
|
|
31
|
+
function globalRef(key, value) {
|
|
32
|
+
const g = glob();
|
|
33
33
|
if (!g) return value();
|
|
34
34
|
g[key] || (g[key] = value());
|
|
35
35
|
return g[key];
|
|
36
36
|
}
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var proxyStateMap = makeGlobal("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap());
|
|
40
|
-
var refSet = makeGlobal("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
|
|
41
|
-
var isReactElement = (x) => typeof x === "object" && x !== null && "$$typeof" in x;
|
|
37
|
+
var refSet = globalRef("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
|
|
38
|
+
var isReactElement = (x) => typeof x === "object" && x !== null && "$$typeof" in x && "props" in x;
|
|
42
39
|
var isVueElement = (x) => typeof x === "object" && x !== null && "__v_isVNode" in x;
|
|
43
40
|
var isDOMElement = (x) => typeof x === "object" && x !== null && "nodeType" in x && typeof x.nodeName === "string";
|
|
44
41
|
var isElement = (x) => isReactElement(x) || isVueElement(x) || isDOMElement(x);
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
throw promise.reason;
|
|
51
|
-
default:
|
|
52
|
-
throw promise;
|
|
53
|
-
}
|
|
54
|
-
}, snapCache = /* @__PURE__ */ new WeakMap(), createSnapshot = (target, version, handlePromise = defaultHandlePromise) => {
|
|
42
|
+
var isObject = (x) => x !== null && typeof x === "object";
|
|
43
|
+
var canProxy = (x) => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !isElement(x) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer) && !(x instanceof Promise);
|
|
44
|
+
var isDev = () => true;
|
|
45
|
+
var proxyStateMap = globalRef("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap());
|
|
46
|
+
var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), snapCache = /* @__PURE__ */ new WeakMap(), createSnapshot = (target, version) => {
|
|
55
47
|
const cache = snapCache.get(target);
|
|
56
48
|
if (cache?.[0] === version) {
|
|
57
49
|
return cache[1];
|
|
@@ -64,14 +56,8 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
|
|
|
64
56
|
if (refSet.has(value)) {
|
|
65
57
|
markToTrack(value, false);
|
|
66
58
|
snap[key] = value;
|
|
67
|
-
} else if (value instanceof Promise) {
|
|
68
|
-
Object.defineProperty(snap, key, {
|
|
69
|
-
get() {
|
|
70
|
-
return handlePromise(value);
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
59
|
} else if (proxyStateMap.has(value)) {
|
|
74
|
-
snap[key] = snapshot(value
|
|
60
|
+
snap[key] = snapshot(value);
|
|
75
61
|
} else {
|
|
76
62
|
snap[key] = value;
|
|
77
63
|
}
|
|
@@ -177,15 +163,7 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
|
|
|
177
163
|
}
|
|
178
164
|
let nextValue = value;
|
|
179
165
|
if (Object.getOwnPropertyDescriptor(target, prop)?.set) ;
|
|
180
|
-
else
|
|
181
|
-
value.then((v) => {
|
|
182
|
-
Object.assign(value, { status: "fulfilled", value: v });
|
|
183
|
-
notifyUpdate(["resolve", [prop], v]);
|
|
184
|
-
}).catch((e) => {
|
|
185
|
-
Object.assign(value, { status: "rejected", reason: e });
|
|
186
|
-
notifyUpdate(["reject", [prop], e]);
|
|
187
|
-
});
|
|
188
|
-
} else {
|
|
166
|
+
else {
|
|
189
167
|
if (!proxyStateMap.has(value) && canProxy(value)) {
|
|
190
168
|
nextValue = proxy(value);
|
|
191
169
|
}
|
|
@@ -222,7 +200,6 @@ var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) =>
|
|
|
222
200
|
objectIs,
|
|
223
201
|
newProxy,
|
|
224
202
|
canProxy,
|
|
225
|
-
defaultHandlePromise,
|
|
226
203
|
snapCache,
|
|
227
204
|
createSnapshot,
|
|
228
205
|
proxyCache,
|
|
@@ -232,12 +209,12 @@ var [proxyFunction] = buildProxyFunction();
|
|
|
232
209
|
function proxy(initialObject = {}) {
|
|
233
210
|
return proxyFunction(initialObject);
|
|
234
211
|
}
|
|
235
|
-
function snapshot(proxyObject
|
|
212
|
+
function snapshot(proxyObject) {
|
|
236
213
|
const proxyState = proxyStateMap.get(proxyObject);
|
|
237
214
|
if (isDev() && !proxyState) {
|
|
238
215
|
}
|
|
239
216
|
const [target, ensureVersion, createSnapshot] = proxyState;
|
|
240
|
-
return createSnapshot(target, ensureVersion()
|
|
217
|
+
return createSnapshot(target, ensureVersion());
|
|
241
218
|
}
|
|
242
219
|
function ref(obj) {
|
|
243
220
|
refSet.add(obj);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
4
3
|
import { useEnvironmentContext } from './QODB3C3M.js';
|
|
4
|
+
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
5
5
|
import { createContext } from './I5UG2QUO.js';
|
|
6
6
|
import { __export } from './ESLJRKWD.js';
|
|
7
7
|
import { createComponent } from 'solid-js/web';
|
|
8
8
|
import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
|
|
9
9
|
import * as carousel from '@zag-js/carousel';
|
|
10
|
-
|
|
10
|
+
export { anatomy } from '@zag-js/carousel';
|
|
11
11
|
import { createUniqueId, createMemo } from 'solid-js';
|
|
12
12
|
|
|
13
13
|
// src/components/carousel/use-carousel-context.ts
|
|
@@ -16,13 +16,18 @@ var [CarouselProvider, useCarouselContext] = createContext({
|
|
|
16
16
|
providerName: "<CarouselProvider />"
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
+
// src/components/carousel/carousel-autoplay-trigger.tsx
|
|
20
|
+
var CarouselAutoplayTrigger = (props) => {
|
|
21
|
+
const api = useCarouselContext();
|
|
22
|
+
const mergedProps = mergeProps(() => api().getAutoplayTriggerProps(), props);
|
|
23
|
+
return createComponent(ark.button, mergedProps);
|
|
24
|
+
};
|
|
25
|
+
|
|
19
26
|
// src/components/carousel/carousel-context.tsx
|
|
20
27
|
var CarouselContext = (props) => props.children(useCarouselContext());
|
|
21
|
-
var carouselAnatomy = anatomy.extendWith("control");
|
|
22
|
-
|
|
23
|
-
// src/components/carousel/carousel-control.tsx
|
|
24
28
|
var CarouselControl = (props) => {
|
|
25
|
-
const
|
|
29
|
+
const api = useCarouselContext();
|
|
30
|
+
const mergedProps = mergeProps(() => api().getControlProps(), props);
|
|
26
31
|
return createComponent(ark.div, mergedProps);
|
|
27
32
|
};
|
|
28
33
|
var CarouselIndicator = (props) => {
|
|
@@ -37,7 +42,7 @@ var CarouselIndicatorGroup = (props) => {
|
|
|
37
42
|
return createComponent(ark.div, mergedProps);
|
|
38
43
|
};
|
|
39
44
|
var CarouselItem = (props) => {
|
|
40
|
-
const [itemProps, localProps] = createSplitProps()(props, ["index"]);
|
|
45
|
+
const [itemProps, localProps] = createSplitProps()(props, ["index", "snapAlign"]);
|
|
41
46
|
const api = useCarouselContext();
|
|
42
47
|
const mergedProps = mergeProps(() => api().getItemProps(itemProps), localProps);
|
|
43
48
|
return createComponent(ark.div, mergedProps);
|
|
@@ -65,7 +70,7 @@ var useCarousel = (props = {}) => {
|
|
|
65
70
|
id,
|
|
66
71
|
dir: locale().dir,
|
|
67
72
|
getRootNode: environment().getRootNode,
|
|
68
|
-
index: props.
|
|
73
|
+
index: props.defaultPage,
|
|
69
74
|
...props
|
|
70
75
|
}));
|
|
71
76
|
const [state, send] = useMachine(carousel.machine(context()), { context });
|
|
@@ -74,7 +79,7 @@ var useCarousel = (props = {}) => {
|
|
|
74
79
|
|
|
75
80
|
// src/components/carousel/carousel-root.tsx
|
|
76
81
|
var CarouselRoot = (props) => {
|
|
77
|
-
const [useCarouselProps, localProps] = createSplitProps()(props, ["
|
|
82
|
+
const [useCarouselProps, localProps] = createSplitProps()(props, ["allowMouseDrag", "autoplay", "defaultPage", "id", "ids", "inViewThreshold", "loop", "onAutoplayStatusChange", "onDragStatusChange", "onPageChange", "orientation", "padding", "page", "slideCount", "slidesPerMove", "slidesPerPage", "snapType", "spacing", "translations"]);
|
|
78
83
|
const api = useCarousel(useCarouselProps);
|
|
79
84
|
const mergedProps = mergeProps(() => api().getRootProps(), localProps);
|
|
80
85
|
return createComponent(CarouselProvider, {
|
|
@@ -96,15 +101,11 @@ var CarouselRootProvider = (props) => {
|
|
|
96
101
|
}
|
|
97
102
|
});
|
|
98
103
|
};
|
|
99
|
-
var CarouselViewport = (props) => {
|
|
100
|
-
const api = useCarouselContext();
|
|
101
|
-
const mergedProps = mergeProps(() => api().getViewportProps(), props);
|
|
102
|
-
return createComponent(ark.div, mergedProps);
|
|
103
|
-
};
|
|
104
104
|
|
|
105
105
|
// src/components/carousel/carousel.ts
|
|
106
106
|
var carousel_exports = {};
|
|
107
107
|
__export(carousel_exports, {
|
|
108
|
+
AutoplayTrigger: () => CarouselAutoplayTrigger,
|
|
108
109
|
Context: () => CarouselContext,
|
|
109
110
|
Control: () => CarouselControl,
|
|
110
111
|
Indicator: () => CarouselIndicator,
|
|
@@ -114,8 +115,7 @@ __export(carousel_exports, {
|
|
|
114
115
|
NextTrigger: () => CarouselNextTrigger,
|
|
115
116
|
PrevTrigger: () => CarouselPrevTrigger,
|
|
116
117
|
Root: () => CarouselRoot,
|
|
117
|
-
RootProvider: () => CarouselRootProvider
|
|
118
|
-
Viewport: () => CarouselViewport
|
|
118
|
+
RootProvider: () => CarouselRootProvider
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider,
|
|
121
|
+
export { CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, carousel_exports, useCarousel, useCarouselContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports,
|
|
3
3
|
useCollapsibleContext
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./B7LE23PE.jsx";
|
|
5
5
|
import {
|
|
6
6
|
RenderStrategyProvider,
|
|
7
7
|
splitRenderStrategyProps,
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./3QQZKR3F.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./5O4RWSWO.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./3QQZKR3F.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./NMGUCD2L.jsx";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./3QQZKR3F.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./5O4RWSWO.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./3QQZKR3F.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./NMGUCD2L.jsx";
|
|
@@ -256,6 +256,7 @@ var ComboboxRoot = (props) => {
|
|
|
256
256
|
"loopFocus",
|
|
257
257
|
"multiple",
|
|
258
258
|
"name",
|
|
259
|
+
"navigate",
|
|
259
260
|
"onFocusOutside",
|
|
260
261
|
"onHighlightChange",
|
|
261
262
|
"onInputValueChange",
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ark
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
|
-
import {
|
|
17
|
-
useLocaleContext
|
|
18
|
-
} from "./3QQZKR3F.jsx";
|
|
19
16
|
import {
|
|
20
17
|
useEnvironmentContext
|
|
21
18
|
} from "./5O4RWSWO.jsx";
|
|
19
|
+
import {
|
|
20
|
+
useLocaleContext
|
|
21
|
+
} from "./3QQZKR3F.jsx";
|
|
22
22
|
import {
|
|
23
23
|
createContext
|
|
24
24
|
} from "./NMGUCD2L.jsx";
|
|
@@ -120,6 +120,7 @@ var TabsRoot = (props) => {
|
|
|
120
120
|
"id",
|
|
121
121
|
"ids",
|
|
122
122
|
"loopFocus",
|
|
123
|
+
"navigate",
|
|
123
124
|
"onFocusChange",
|
|
124
125
|
"onValueChange",
|
|
125
126
|
"orientation",
|
|
@@ -2,8 +2,8 @@ import { useControllableState } from './BSPFGETO.js';
|
|
|
2
2
|
import { useFieldContext } from './PBJ7MGGS.js';
|
|
3
3
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
4
4
|
import { ark } from './EPLBB4QN.js';
|
|
5
|
-
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
6
5
|
import { useEnvironmentContext } from './QODB3C3M.js';
|
|
6
|
+
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
7
7
|
import { createContext } from './I5UG2QUO.js';
|
|
8
8
|
import { __export } from './ESLJRKWD.js';
|
|
9
9
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -27,7 +27,7 @@ var CheckboxControl = (props) => {
|
|
|
27
27
|
};
|
|
28
28
|
var checkboxAnatomy = anatomy.extendWith("group");
|
|
29
29
|
function useCheckboxGroup(props = {}) {
|
|
30
|
-
const
|
|
30
|
+
const interactive = createMemo(() => !(props.disabled || props.readOnly));
|
|
31
31
|
const [value, setValue] = useControllableState({
|
|
32
32
|
value: props.value,
|
|
33
33
|
defaultValue: props.defaultValue || [],
|
|
@@ -41,12 +41,12 @@ function useCheckboxGroup(props = {}) {
|
|
|
41
41
|
isChecked(val) ? removeValue(val) : addValue(val);
|
|
42
42
|
};
|
|
43
43
|
const addValue = (val) => {
|
|
44
|
-
if (!
|
|
44
|
+
if (!interactive()) return;
|
|
45
45
|
if (isChecked(val)) return;
|
|
46
46
|
setValue(value().concat(val));
|
|
47
47
|
};
|
|
48
48
|
const removeValue = (val) => {
|
|
49
|
-
if (!
|
|
49
|
+
if (!interactive()) return;
|
|
50
50
|
setValue(value().filter((v) => String(v) !== String(val)));
|
|
51
51
|
};
|
|
52
52
|
const getItemProps = (itemProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./B7LE23PE.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
ark
|
|
14
14
|
} from "./UFYZ7HLU.jsx";
|
|
15
|
-
import {
|
|
16
|
-
useLocaleContext
|
|
17
|
-
} from "./3QQZKR3F.jsx";
|
|
18
15
|
import {
|
|
19
16
|
useEnvironmentContext
|
|
20
17
|
} from "./5O4RWSWO.jsx";
|
|
18
|
+
import {
|
|
19
|
+
useLocaleContext
|
|
20
|
+
} from "./3QQZKR3F.jsx";
|
|
21
21
|
import {
|
|
22
22
|
createContext
|
|
23
23
|
} from "./NMGUCD2L.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
4
3
|
import { useEnvironmentContext } from './QODB3C3M.js';
|
|
4
|
+
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
5
5
|
import { createContext } from './I5UG2QUO.js';
|
|
6
6
|
import { __export } from './ESLJRKWD.js';
|
|
7
7
|
import { createComponent } from 'solid-js/web';
|
|
@@ -18,6 +18,12 @@ var [QrCodeProvider, useQrCodeContext] = createContext({
|
|
|
18
18
|
|
|
19
19
|
// src/components/qr-code/qr-code-context.ts
|
|
20
20
|
var QrCodeContext = (props) => props.children(useQrCodeContext());
|
|
21
|
+
var QrCodeDownloadTrigger = (props) => {
|
|
22
|
+
const [downloadTriggerProps, localProps] = createSplitProps()(props, ["fileName", "mimeType", "quality"]);
|
|
23
|
+
const qrCode2 = useQrCodeContext();
|
|
24
|
+
const mergedProps = mergeProps(() => qrCode2().getDownloadTriggerProps(downloadTriggerProps), localProps);
|
|
25
|
+
return createComponent(ark.button, mergedProps);
|
|
26
|
+
};
|
|
21
27
|
var QrCodeFrame = (props) => {
|
|
22
28
|
const qrCode2 = useQrCodeContext();
|
|
23
29
|
const mergedProps = mergeProps(() => qrCode2().getFrameProps(), props);
|
|
@@ -41,6 +47,7 @@ var useQrCode = (props = {}) => {
|
|
|
41
47
|
id,
|
|
42
48
|
dir: locale().dir,
|
|
43
49
|
getRootNode: environment().getRootNode,
|
|
50
|
+
value: props.defaultValue,
|
|
44
51
|
...props
|
|
45
52
|
}));
|
|
46
53
|
const [state, send] = useMachine(qrCode.machine(context()), {
|
|
@@ -51,7 +58,7 @@ var useQrCode = (props = {}) => {
|
|
|
51
58
|
|
|
52
59
|
// src/components/qr-code/qr-code-root.tsx
|
|
53
60
|
var QrCodeRoot = (props) => {
|
|
54
|
-
const [useQrCodeProps, restProps] = createSplitProps()(props, ["encoding", "id", "ids", "value"]);
|
|
61
|
+
const [useQrCodeProps, restProps] = createSplitProps()(props, ["defaultValue", "encoding", "id", "ids", "onValueChange", "value"]);
|
|
55
62
|
const api = useQrCode(useQrCodeProps);
|
|
56
63
|
const mergedProps = mergeProps(() => api().getRootProps(), restProps);
|
|
57
64
|
return createComponent(QrCodeProvider, {
|
|
@@ -78,6 +85,7 @@ var QrCodeRootProvider = (props) => {
|
|
|
78
85
|
var qr_code_exports = {};
|
|
79
86
|
__export(qr_code_exports, {
|
|
80
87
|
Context: () => QrCodeContext,
|
|
88
|
+
DownloadTrigger: () => QrCodeDownloadTrigger,
|
|
81
89
|
Frame: () => QrCodeFrame,
|
|
82
90
|
Overlay: () => QrCodeOverlay,
|
|
83
91
|
Pattern: () => QrCodePattern,
|
|
@@ -85,4 +93,4 @@ __export(qr_code_exports, {
|
|
|
85
93
|
RootProvider: () => QrCodeRootProvider
|
|
86
94
|
});
|
|
87
95
|
|
|
88
|
-
export { QrCodeContext, QrCodeFrame, QrCodeOverlay, QrCodePattern, QrCodeRoot, QrCodeRootProvider, qr_code_exports, useQrCode, useQrCodeContext };
|
|
96
|
+
export { QrCodeContext, QrCodeDownloadTrigger, QrCodeFrame, QrCodeOverlay, QrCodePattern, QrCodeRoot, QrCodeRootProvider, qr_code_exports, useQrCode, useQrCodeContext };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './LCESUDZB.js';
|
|
2
2
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
3
3
|
import { ark } from './EPLBB4QN.js';
|
|
4
|
-
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
5
4
|
import { useEnvironmentContext } from './QODB3C3M.js';
|
|
5
|
+
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
6
6
|
import { createContext } from './I5UG2QUO.js';
|
|
7
7
|
import { __export } from './ESLJRKWD.js';
|
|
8
8
|
import { createComponent } from 'solid-js/web';
|
|
@@ -235,7 +235,7 @@ var [MenuTriggerItemProvider, useMenuTriggerItemContext] = createContext({
|
|
|
235
235
|
// src/components/menu/menu-root.tsx
|
|
236
236
|
var MenuRoot = (props) => {
|
|
237
237
|
const [presenceProps, menuProps] = splitPresenceProps(props);
|
|
238
|
-
const [useMenuProps, localProps] = createSplitProps()(menuProps, ["anchorPoint", "aria-label", "closeOnSelect", "composite", "defaultOpen", "highlightedValue", "id", "ids", "loopFocus", "onEscapeKeyDown", "onFocusOutside", "onHighlightChange", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onSelect", "open", "positioning", "typeahead"]);
|
|
238
|
+
const [useMenuProps, localProps] = createSplitProps()(menuProps, ["anchorPoint", "aria-label", "closeOnSelect", "composite", "defaultOpen", "highlightedValue", "id", "ids", "loopFocus", "onEscapeKeyDown", "onFocusOutside", "onHighlightChange", "onInteractOutside", "onOpenChange", "onPointerDownOutside", "onSelect", "open", "navigate", "positioning", "typeahead"]);
|
|
239
239
|
const parentApi = useMenuContext();
|
|
240
240
|
const parentMachine = useMenuMachineContext();
|
|
241
241
|
const menu2 = useMenu(useMenuProps);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSplitProps } from './ZMHI4GDJ.js';
|
|
2
2
|
import { ark } from './EPLBB4QN.js';
|
|
3
|
-
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
4
3
|
import { useEnvironmentContext } from './QODB3C3M.js';
|
|
4
|
+
import { useLocaleContext } from './HPDOBQ3V.js';
|
|
5
5
|
import { createContext } from './I5UG2QUO.js';
|
|
6
6
|
import { __export } from './ESLJRKWD.js';
|
|
7
7
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
@@ -53,6 +53,7 @@ var useProgress = (props = {}) => {
|
|
|
53
53
|
id,
|
|
54
54
|
dir: locale().dir,
|
|
55
55
|
getRootNode: environment().getRootNode,
|
|
56
|
+
value: props.defaultValue,
|
|
56
57
|
...props
|
|
57
58
|
}));
|
|
58
59
|
const [state, send] = useMachine(progress.machine(context()), { context });
|
|
@@ -61,7 +62,7 @@ var useProgress = (props = {}) => {
|
|
|
61
62
|
|
|
62
63
|
// src/components/progress/progress-root.tsx
|
|
63
64
|
var ProgressRoot = (props) => {
|
|
64
|
-
const [progressProps, localProps] = createSplitProps()(props, ["id", "ids", "max", "min", "orientation", "translations", "value"]);
|
|
65
|
+
const [progressProps, localProps] = createSplitProps()(props, ["defaultValue", "id", "ids", "max", "min", "onValueChange", "orientation", "translations", "value"]);
|
|
65
66
|
const api = useProgress(progressProps);
|
|
66
67
|
const mergedProps = mergeProps(() => api().getRootProps(), localProps);
|
|
67
68
|
return createComponent(ProgressProvider, {
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ark
|
|
12
12
|
} from "./UFYZ7HLU.jsx";
|
|
13
|
-
import {
|
|
14
|
-
useLocaleContext
|
|
15
|
-
} from "./3QQZKR3F.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useEnvironmentContext
|
|
18
15
|
} from "./5O4RWSWO.jsx";
|
|
16
|
+
import {
|
|
17
|
+
useLocaleContext
|
|
18
|
+
} from "./3QQZKR3F.jsx";
|
|
19
19
|
import {
|
|
20
20
|
createContext
|
|
21
21
|
} from "./NMGUCD2L.jsx";
|
|
@@ -47,7 +47,7 @@ var checkboxAnatomy = anatomy.extendWith("group");
|
|
|
47
47
|
// src/components/checkbox/use-checkbox-group.ts
|
|
48
48
|
import { createMemo } from "solid-js";
|
|
49
49
|
function useCheckboxGroup(props = {}) {
|
|
50
|
-
const
|
|
50
|
+
const interactive = createMemo(() => !(props.disabled || props.readOnly));
|
|
51
51
|
const [value, setValue] = useControllableState({
|
|
52
52
|
value: props.value,
|
|
53
53
|
defaultValue: props.defaultValue || [],
|
|
@@ -61,12 +61,12 @@ function useCheckboxGroup(props = {}) {
|
|
|
61
61
|
isChecked(val) ? removeValue(val) : addValue(val);
|
|
62
62
|
};
|
|
63
63
|
const addValue = (val) => {
|
|
64
|
-
if (!
|
|
64
|
+
if (!interactive()) return;
|
|
65
65
|
if (isChecked(val)) return;
|
|
66
66
|
setValue(value().concat(val));
|
|
67
67
|
};
|
|
68
68
|
const removeValue = (val) => {
|
|
69
|
-
if (!
|
|
69
|
+
if (!interactive()) return;
|
|
70
70
|
setValue(value().filter((v) => String(v) !== String(val)));
|
|
71
71
|
};
|
|
72
72
|
const getItemProps = (itemProps) => {
|
|
@@ -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/34OZO53S.js';
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useAccordion,
|
|
13
13
|
useAccordionContext,
|
|
14
14
|
useAccordionItemContext
|
|
15
|
-
} from "../../chunk/
|
|
16
|
-
import "../../chunk/
|
|
15
|
+
} from "../../chunk/SJSLQDBZ.jsx";
|
|
16
|
+
import "../../chunk/B7LE23PE.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/3QQZKR3F.jsx";
|
|
22
21
|
import "../../chunk/5O4RWSWO.jsx";
|
|
22
|
+
import "../../chunk/3QQZKR3F.jsx";
|
|
23
23
|
import "../../chunk/KGOB2IMX.jsx";
|
|
24
24
|
import "../../chunk/NMGUCD2L.jsx";
|
|
25
25
|
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/ZKHLGP7Q.js';
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
avatar_exports,
|
|
9
9
|
useAvatar,
|
|
10
10
|
useAvatarContext
|
|
11
|
-
} from "../../chunk/
|
|
11
|
+
} from "../../chunk/5D3VKQUP.jsx";
|
|
12
12
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
13
13
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
14
14
|
import "../../chunk/ODQYYKL5.jsx";
|
|
15
|
-
import "../../chunk/3QQZKR3F.jsx";
|
|
16
15
|
import "../../chunk/5O4RWSWO.jsx";
|
|
16
|
+
import "../../chunk/3QQZKR3F.jsx";
|
|
17
17
|
import "../../chunk/KGOB2IMX.jsx";
|
|
18
18
|
import "../../chunk/NMGUCD2L.jsx";
|
|
19
19
|
import "../../chunk/7IUG3E2V.jsx";
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import * as carousel$1 from '@zag-js/carousel';
|
|
2
|
-
import { IndicatorProps, ItemProps,
|
|
3
|
-
export {
|
|
2
|
+
import { IndicatorProps, ItemProps, AutoplayStatusDetails, DragStatusDetails, PageChangeDetails } from '@zag-js/carousel';
|
|
3
|
+
export { AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails as CarouselDragStatusDetails, PageChangeDetails as CarouselPageChangeDetails, anatomy as carouselAnatomy } from '@zag-js/carousel';
|
|
4
4
|
import * as solid_js from 'solid-js';
|
|
5
5
|
import { Accessor, JSX } from 'solid-js';
|
|
6
|
+
import { PolymorphicProps, HTMLProps } from '../factory.js';
|
|
6
7
|
import { PropTypes } from '@zag-js/solid';
|
|
7
8
|
import { O as Optional } from '../../types-B277wCdv.js';
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
interface CarouselAutoplayTriggerBaseProps extends PolymorphicProps<'button'> {
|
|
11
|
+
}
|
|
12
|
+
interface CarouselAutoplayTriggerProps extends HTMLProps<'button'>, CarouselAutoplayTriggerBaseProps {
|
|
13
|
+
}
|
|
14
|
+
declare const CarouselAutoplayTrigger: (props: CarouselAutoplayTriggerProps) => solid_js.JSX.Element;
|
|
10
15
|
|
|
11
16
|
interface UseCarouselProps extends Optional<Omit<carousel$1.Context, 'dir' | 'getRootNode'>, 'id'> {
|
|
12
17
|
/**
|
|
13
|
-
* The initial
|
|
18
|
+
* The initial page of the carousel when it is first rendered.
|
|
14
19
|
* Use this when you do not need to control the state of the carousel.
|
|
15
20
|
*/
|
|
16
|
-
|
|
21
|
+
defaultPage?: carousel$1.Context['page'];
|
|
17
22
|
}
|
|
18
23
|
interface UseCarouselReturn extends Accessor<carousel$1.Api<PropTypes>> {
|
|
19
24
|
}
|
|
@@ -85,17 +90,11 @@ interface CarouselRootProviderProps extends HTMLProps<'div'>, RootProviderProps,
|
|
|
85
90
|
}
|
|
86
91
|
declare const CarouselRootProvider: (props: CarouselRootProviderProps) => solid_js.JSX.Element;
|
|
87
92
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
declare const CarouselViewport: (props: CarouselViewportProps) => solid_js.JSX.Element;
|
|
93
|
-
|
|
94
|
-
declare const carouselAnatomy: _zag_js_anatomy.AnatomyInstance<"root" | "viewport" | "itemGroup" | "item" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "control">;
|
|
95
|
-
|
|
96
|
-
declare const carousel_SlideChangeDetails: typeof SlideChangeDetails;
|
|
93
|
+
declare const carousel_AutoplayStatusDetails: typeof AutoplayStatusDetails;
|
|
94
|
+
declare const carousel_DragStatusDetails: typeof DragStatusDetails;
|
|
95
|
+
declare const carousel_PageChangeDetails: typeof PageChangeDetails;
|
|
97
96
|
declare namespace carousel {
|
|
98
|
-
export { CarouselContext as Context, type CarouselContextProps as ContextProps, CarouselControl as Control, type CarouselControlBaseProps as ControlBaseProps, type CarouselControlProps as ControlProps, CarouselIndicator as Indicator, type CarouselIndicatorBaseProps as IndicatorBaseProps, CarouselIndicatorGroup as IndicatorGroup, type CarouselIndicatorGroupBaseProps as IndicatorGroupBaseProps, type CarouselIndicatorGroupProps as IndicatorGroupProps, type CarouselIndicatorProps as IndicatorProps, CarouselItem as Item, type CarouselItemBaseProps as ItemBaseProps, CarouselItemGroup as ItemGroup, type CarouselItemGroupBaseProps as ItemGroupBaseProps, type CarouselItemGroupProps as ItemGroupProps, type CarouselItemProps as ItemProps, CarouselNextTrigger as NextTrigger, type CarouselNextTriggerBaseProps as NextTriggerBaseProps, type CarouselNextTriggerProps as NextTriggerProps, CarouselPrevTrigger as PrevTrigger, type CarouselPrevTriggerBaseProps as PrevTriggerBaseProps, type CarouselPrevTriggerProps as PrevTriggerProps, CarouselRoot as Root, type CarouselRootBaseProps as RootBaseProps, type CarouselRootProps as RootProps, CarouselRootProvider as RootProvider, type CarouselRootProviderBaseProps as RootProviderBaseProps, type CarouselRootProviderProps as RootProviderProps
|
|
97
|
+
export { carousel_AutoplayStatusDetails as AutoplayStatusDetails, CarouselAutoplayTrigger as AutoplayTrigger, type CarouselAutoplayTriggerBaseProps as AutoplayTriggerBaseProps, type CarouselAutoplayTriggerProps as AutoplayTriggerProps, CarouselContext as Context, type CarouselContextProps as ContextProps, CarouselControl as Control, type CarouselControlBaseProps as ControlBaseProps, type CarouselControlProps as ControlProps, carousel_DragStatusDetails as DragStatusDetails, CarouselIndicator as Indicator, type CarouselIndicatorBaseProps as IndicatorBaseProps, CarouselIndicatorGroup as IndicatorGroup, type CarouselIndicatorGroupBaseProps as IndicatorGroupBaseProps, type CarouselIndicatorGroupProps as IndicatorGroupProps, type CarouselIndicatorProps as IndicatorProps, CarouselItem as Item, type CarouselItemBaseProps as ItemBaseProps, CarouselItemGroup as ItemGroup, type CarouselItemGroupBaseProps as ItemGroupBaseProps, type CarouselItemGroupProps as ItemGroupProps, type CarouselItemProps as ItemProps, CarouselNextTrigger as NextTrigger, type CarouselNextTriggerBaseProps as NextTriggerBaseProps, type CarouselNextTriggerProps as NextTriggerProps, carousel_PageChangeDetails as PageChangeDetails, CarouselPrevTrigger as PrevTrigger, type CarouselPrevTriggerBaseProps as PrevTriggerBaseProps, type CarouselPrevTriggerProps as PrevTriggerProps, CarouselRoot as Root, type CarouselRootBaseProps as RootBaseProps, type CarouselRootProps as RootProps, CarouselRootProvider as RootProvider, type CarouselRootProviderBaseProps as RootProviderBaseProps, type CarouselRootProviderProps as RootProviderProps };
|
|
99
98
|
}
|
|
100
99
|
|
|
101
|
-
export { carousel as Carousel, CarouselContext, type CarouselContextProps, CarouselControl, type CarouselControlBaseProps, type CarouselControlProps, CarouselIndicator, type CarouselIndicatorBaseProps, CarouselIndicatorGroup, type CarouselIndicatorGroupBaseProps, type CarouselIndicatorGroupProps, type CarouselIndicatorProps, CarouselItem, type CarouselItemBaseProps, CarouselItemGroup, type CarouselItemGroupBaseProps, type CarouselItemGroupProps, type CarouselItemProps, CarouselNextTrigger, type CarouselNextTriggerBaseProps, type CarouselNextTriggerProps, CarouselPrevTrigger, type CarouselPrevTriggerBaseProps, type CarouselPrevTriggerProps, CarouselRoot, type CarouselRootBaseProps, type CarouselRootProps, CarouselRootProvider, type CarouselRootProviderBaseProps, type CarouselRootProviderProps,
|
|
100
|
+
export { carousel as Carousel, CarouselAutoplayTrigger, type CarouselAutoplayTriggerBaseProps, type CarouselAutoplayTriggerProps, CarouselContext, type CarouselContextProps, CarouselControl, type CarouselControlBaseProps, type CarouselControlProps, CarouselIndicator, type CarouselIndicatorBaseProps, CarouselIndicatorGroup, type CarouselIndicatorGroupBaseProps, type CarouselIndicatorGroupProps, type CarouselIndicatorProps, CarouselItem, type CarouselItemBaseProps, CarouselItemGroup, type CarouselItemGroupBaseProps, type CarouselItemGroupProps, type CarouselItemProps, CarouselNextTrigger, type CarouselNextTriggerBaseProps, type CarouselNextTriggerProps, CarouselPrevTrigger, type CarouselPrevTriggerBaseProps, type CarouselPrevTriggerProps, CarouselRoot, type CarouselRootBaseProps, type CarouselRootProps, CarouselRootProvider, type CarouselRootProviderBaseProps, type CarouselRootProviderProps, type UseCarouselContext, type UseCarouselProps, type UseCarouselReturn, useCarousel, useCarouselContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { carousel_exports as Carousel, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider,
|
|
1
|
+
export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/Q7NPTAJI.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CarouselAutoplayTrigger,
|
|
2
3
|
CarouselContext,
|
|
3
4
|
CarouselControl,
|
|
4
5
|
CarouselIndicator,
|
|
@@ -9,22 +10,22 @@ import {
|
|
|
9
10
|
CarouselPrevTrigger,
|
|
10
11
|
CarouselRoot,
|
|
11
12
|
CarouselRootProvider,
|
|
12
|
-
|
|
13
|
-
carouselAnatomy,
|
|
13
|
+
anatomy,
|
|
14
14
|
carousel_exports,
|
|
15
15
|
useCarousel,
|
|
16
16
|
useCarouselContext
|
|
17
|
-
} from "../../chunk/
|
|
17
|
+
} from "../../chunk/2HTNQLGP.jsx";
|
|
18
18
|
import "../../chunk/6WEDGJKQ.jsx";
|
|
19
19
|
import "../../chunk/UFYZ7HLU.jsx";
|
|
20
20
|
import "../../chunk/ODQYYKL5.jsx";
|
|
21
|
-
import "../../chunk/3QQZKR3F.jsx";
|
|
22
21
|
import "../../chunk/5O4RWSWO.jsx";
|
|
22
|
+
import "../../chunk/3QQZKR3F.jsx";
|
|
23
23
|
import "../../chunk/KGOB2IMX.jsx";
|
|
24
24
|
import "../../chunk/NMGUCD2L.jsx";
|
|
25
25
|
import "../../chunk/7IUG3E2V.jsx";
|
|
26
26
|
export {
|
|
27
27
|
carousel_exports as Carousel,
|
|
28
|
+
CarouselAutoplayTrigger,
|
|
28
29
|
CarouselContext,
|
|
29
30
|
CarouselControl,
|
|
30
31
|
CarouselIndicator,
|
|
@@ -35,8 +36,7 @@ export {
|
|
|
35
36
|
CarouselPrevTrigger,
|
|
36
37
|
CarouselRoot,
|
|
37
38
|
CarouselRootProvider,
|
|
38
|
-
|
|
39
|
-
carouselAnatomy,
|
|
39
|
+
anatomy as carouselAnatomy,
|
|
40
40
|
useCarousel,
|
|
41
41
|
useCarouselContext
|
|
42
42
|
};
|
|
@@ -131,7 +131,7 @@ interface CheckboxRootProviderProps extends HTMLProps<'label'>, RootProviderProp
|
|
|
131
131
|
}
|
|
132
132
|
declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js.JSX.Element;
|
|
133
133
|
|
|
134
|
-
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "
|
|
134
|
+
declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "control" | "indicator">;
|
|
135
135
|
|
|
136
136
|
interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {
|
|
137
137
|
}
|
|
@@ -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/T6IREKKO.js';
|