@sprawlify/solid 0.0.109 → 0.0.110
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/{alert-dialog-anatomy-DYrlnQZF.d.ts → alert-dialog-anatomy-CtDwltgK.d.ts} +1 -1
- package/dist/{carousel-anatomy-B5-JHfpO.d.ts → carousel-anatomy-cRpcGNQa.d.ts} +1 -1
- package/dist/{checkbox-anatomy-DO7Zh6Pz.d.ts → checkbox-anatomy-5y1dcYYW.d.ts} +1 -1
- package/dist/{collapsible-Pn9qzDqQ.jsx → collapsible-DhguH1Yh.jsx} +2 -2
- package/dist/color-picker-anatomy-BlV80dWk.d.ts +6 -0
- package/dist/combobox-anatomy-BS0c9ArZ.d.ts +6 -0
- package/dist/components/accordion/index.jsx +3 -3
- package/dist/components/alert-dialog/index.d.ts +1 -1
- package/dist/components/alert-dialog/index.jsx +4 -4
- package/dist/components/anatomy.d.ts +13 -13
- package/dist/components/anatomy.js +2 -2
- package/dist/components/angle-slider/index.jsx +1 -1
- package/dist/components/aspect-ratio/index.jsx +1 -1
- package/dist/components/avatar/index.jsx +1 -1
- package/dist/components/carousel/index.d.ts +1 -1
- package/dist/components/carousel/index.jsx +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.jsx +4 -4
- package/dist/components/clipboard/index.jsx +1 -1
- package/dist/components/collapsible/index.jsx +3 -3
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.jsx +6 -6
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.jsx +6 -6
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.jsx +4 -4
- package/dist/components/dialog/index.jsx +4 -4
- package/dist/components/drawer/index.d.ts +80 -0
- package/dist/components/drawer/index.js +206 -0
- package/dist/components/drawer/index.jsx +165 -0
- package/dist/components/dropdown-menu/index.jsx +4 -4
- package/dist/components/editable/index.jsx +4 -4
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.jsx +4 -4
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.jsx +3 -3
- package/dist/components/file-upload/index.jsx +4 -4
- package/dist/components/floating-panel/index.jsx +4 -4
- package/dist/components/focus-trap/index.jsx +2 -2
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/highlight/index.jsx +1 -1
- package/dist/components/hover-card/index.jsx +4 -4
- package/dist/components/image-cropper/index.jsx +1 -1
- package/dist/components/json-tree-view/index.jsx +4 -4
- package/dist/components/listbox/index.d.ts +1 -1
- package/dist/components/listbox/index.jsx +1 -1
- package/dist/components/marquee/index.jsx +1 -1
- package/dist/components/navigation-menu/index.jsx +4 -4
- package/dist/components/number-input/index.jsx +4 -4
- package/dist/components/pagination/index.jsx +1 -1
- package/dist/components/password-input/index.jsx +4 -4
- package/dist/components/pin-input/index.jsx +4 -4
- package/dist/components/popover/index.jsx +4 -4
- package/dist/components/presence/index.jsx +4 -4
- package/dist/components/progress/index.jsx +1 -1
- package/dist/components/qr-code/index.jsx +1 -1
- package/dist/components/radio-group/index.jsx +3 -3
- package/dist/components/rating-group/index.jsx +4 -4
- package/dist/components/scroll-area/index.jsx +1 -1
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/segment-group/index.jsx +1 -1
- package/dist/components/select/index.jsx +6 -6
- package/dist/components/separator/index.jsx +1 -1
- package/dist/components/signature-pad/index.jsx +4 -4
- package/dist/components/slider/index.jsx +1 -1
- package/dist/components/splitter/index.jsx +1 -1
- package/dist/components/steps/index.jsx +1 -1
- package/dist/components/switch/index.jsx +4 -4
- package/dist/components/tabs/index.jsx +4 -4
- package/dist/components/tags-input/index.jsx +4 -4
- package/dist/components/timer/index.jsx +1 -1
- package/dist/components/toggle/index.jsx +1 -1
- package/dist/components/toggle-group/index.jsx +1 -1
- package/dist/components/tooltip/index.jsx +4 -4
- package/dist/components/tour/index.d.ts +1 -1
- package/dist/components/tour/index.jsx +4 -4
- package/dist/components/tree-view/index.jsx +4 -4
- package/dist/date-picker-anatomy-CLgDJiIl.d.ts +6 -0
- package/dist/drawer-anatomy-BX_dO1CK.d.ts +2 -0
- package/dist/drawer-anatomy-yHqvQAPn.js +2 -0
- package/dist/{field-C5XZzEJQ.jsx → field-Blp6NDsc.jsx} +3 -3
- package/dist/{field-anatomy-DhMytzIn.d.ts → field-anatomy-CeR3nVI8.d.ts} +1 -1
- package/dist/{fieldset-Dvfd8o02.jsx → fieldset-Lbk9tsVV.jsx} +2 -2
- package/dist/{fieldset-anatomy-t2uR3tz-.d.ts → fieldset-anatomy-DF0TfPdv.d.ts} +1 -1
- package/dist/{index-Ywo5uneC.d.ts → index-tOc74k5O.d.ts} +1 -1
- package/dist/{listbox-anatomy-CC-gib7S.d.ts → listbox-anatomy-BM3Tatnj.d.ts} +1 -1
- package/dist/{presence-B0xtId0Q.jsx → presence-BcYjLSBT.jsx} +3 -3
- package/dist/{render-strategy-BB2DhQSO.jsx → render-strategy-6LT04Ztx.jsx} +1 -1
- package/dist/{segment-group-anatomy-DwgdyOB9.d.ts → segment-group-anatomy-Bz4fq3aR.d.ts} +1 -1
- package/dist/{tour-anatomy-bvyrGdgp.d.ts → tour-anatomy-Dww_8e1C.d.ts} +1 -1
- package/dist/{tree-view-DqDwXi6S.jsx → tree-view-nwQzRTs2.jsx} +3 -3
- package/package.json +7 -7
- package/dist/bottom-sheet-anatomy-C70fosOT.js +0 -2
- package/dist/bottom-sheet-anatomy-EFEmb--0.d.ts +0 -2
- package/dist/color-picker-anatomy-DWynAhsf.d.ts +0 -6
- package/dist/combobox-anatomy-BRxZnCfq.d.ts +0 -6
- package/dist/components/bottom-sheet/index.d.ts +0 -80
- package/dist/components/bottom-sheet/index.js +0 -206
- package/dist/components/bottom-sheet/index.jsx +0 -165
- package/dist/date-picker-anatomy-CP8uKhny.d.ts +0 -6
- /package/dist/{compose-refs-CeEgnlQr.jsx → compose-refs-Jq47jedK.jsx} +0 -0
- /package/dist/{create-split-props-Bs7cdSMW.jsx → create-split-props-B2Gc7D9P.jsx} +0 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-BHfpfUk-.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-BV7F-Eeb.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-BEnzb67H.js";
|
|
5
|
+
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-vv33Jo9Q.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-DORgzART.js";
|
|
7
|
+
import { t as drawerAnatomy } from "../../drawer-anatomy-yHqvQAPn.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
9
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-BAqQL-Hs.js";
|
|
10
|
+
import { t as composeRefs } from "../../compose-refs-BKcaHXR8.js";
|
|
11
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-CuZG4SWb.js";
|
|
12
|
+
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
13
|
+
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
14
|
+
import * as drawer from "@sprawlify/primitives/machines/drawer";
|
|
15
|
+
//#region src/components/drawer/use-drawer-context.ts
|
|
16
|
+
const [DrawerSheetProvider, useDrawerContext] = createContext$1({
|
|
17
|
+
hookName: "useDrawerContext",
|
|
18
|
+
providerName: "<DrawerSheetProvider />"
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/drawer/drawer-backdrop.tsx
|
|
22
|
+
const DrawerBackdrop = (props) => {
|
|
23
|
+
const drawer = useDrawerContext();
|
|
24
|
+
const presence = usePresence(mergeProps$2(useRenderStrategyContext(), () => ({ present: drawer().open })));
|
|
25
|
+
const mergedProps = mergeProps$2(() => drawer().getBackdropProps(), () => presence().presenceProps, props);
|
|
26
|
+
return createComponent(Show, {
|
|
27
|
+
get when() {
|
|
28
|
+
return !presence().unmounted;
|
|
29
|
+
},
|
|
30
|
+
get children() {
|
|
31
|
+
return createComponent(sprawlify.div, mergeProps$1(mergedProps, { ref(r$) {
|
|
32
|
+
var _ref$ = composeRefs(presence().ref, props.ref);
|
|
33
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
34
|
+
} }));
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/drawer/drawer-close-trigger.tsx
|
|
40
|
+
const DrawerCloseTrigger = (props) => {
|
|
41
|
+
const context = useDrawerContext();
|
|
42
|
+
const mergedProps = mergeProps$2(() => context().getCloseTriggerProps(), props);
|
|
43
|
+
return createComponent(sprawlify.button, mergedProps);
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/drawer/drawer-content.tsx
|
|
47
|
+
const DrawerContent = (props) => {
|
|
48
|
+
const [contentProps, localProps] = createSplitProps()(props, ["draggable"]);
|
|
49
|
+
const drawer = useDrawerContext();
|
|
50
|
+
const presence = usePresenceContext();
|
|
51
|
+
const mergedProps = mergeProps$2(() => drawer().getContentProps({
|
|
52
|
+
draggable: true,
|
|
53
|
+
...contentProps
|
|
54
|
+
}), () => presence().presenceProps, localProps);
|
|
55
|
+
return createComponent(Show, {
|
|
56
|
+
get when() {
|
|
57
|
+
return !presence().unmounted;
|
|
58
|
+
},
|
|
59
|
+
get children() {
|
|
60
|
+
return createComponent(sprawlify.div, mergeProps$1(mergedProps, { ref(r$) {
|
|
61
|
+
var _ref$ = composeRefs(presence().ref, localProps.ref);
|
|
62
|
+
typeof _ref$ === "function" && _ref$(r$);
|
|
63
|
+
} }));
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/drawer/drawer-context.tsx
|
|
69
|
+
const DrawerContext = (props) => props.children(useDrawerContext());
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/drawer/drawer-grabber.tsx
|
|
72
|
+
const DrawerGrabber = (props) => {
|
|
73
|
+
const drawer = useDrawerContext();
|
|
74
|
+
const mergedProps = mergeProps$2(() => drawer().getGrabberProps(), props);
|
|
75
|
+
return createComponent(sprawlify.div, mergedProps);
|
|
76
|
+
};
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/drawer/drawer-grabber-indicator.tsx
|
|
79
|
+
const DrawerGrabberIndicator = (props) => {
|
|
80
|
+
const drawer = useDrawerContext();
|
|
81
|
+
const mergedProps = mergeProps$2(() => drawer().getGrabberIndicatorProps(), props);
|
|
82
|
+
return createComponent(sprawlify.div, mergedProps);
|
|
83
|
+
};
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/components/drawer/use-drawer.ts
|
|
86
|
+
const useDrawer = (props) => {
|
|
87
|
+
const locale = useLocaleContext();
|
|
88
|
+
const environment = useEnvironmentContext();
|
|
89
|
+
const id = createUniqueId();
|
|
90
|
+
const machineProps = createMemo(() => ({
|
|
91
|
+
id,
|
|
92
|
+
dir: locale().dir,
|
|
93
|
+
getRootNode: environment().getRootNode,
|
|
94
|
+
...runIfFn(props)
|
|
95
|
+
}));
|
|
96
|
+
const service = useMachine(drawer.machine, machineProps);
|
|
97
|
+
return createMemo(() => drawer.connect(service, normalizeProps));
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/components/drawer/drawer-root.tsx
|
|
101
|
+
const DrawerRoot = (props) => {
|
|
102
|
+
const [presenceProps, drawerProps] = splitPresenceProps(props);
|
|
103
|
+
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
104
|
+
const [useDrawerProps, localProps] = createSplitProps()(drawerProps, [
|
|
105
|
+
"id",
|
|
106
|
+
"ids",
|
|
107
|
+
"open",
|
|
108
|
+
"defaultOpen",
|
|
109
|
+
"onOpenChange",
|
|
110
|
+
"closeOnInteractOutside",
|
|
111
|
+
"closeOnEscape",
|
|
112
|
+
"snapPoints",
|
|
113
|
+
"swipeVelocityThreshold",
|
|
114
|
+
"closeThreshold",
|
|
115
|
+
"preventDragOnScroll",
|
|
116
|
+
"activeSnapPoint",
|
|
117
|
+
"defaultActiveSnapPoint",
|
|
118
|
+
"onActiveSnapPointChange",
|
|
119
|
+
"modal",
|
|
120
|
+
"trapFocus",
|
|
121
|
+
"restoreFocus",
|
|
122
|
+
"preventScroll",
|
|
123
|
+
"initialFocusEl",
|
|
124
|
+
"finalFocusEl",
|
|
125
|
+
"role",
|
|
126
|
+
"onInteractOutside",
|
|
127
|
+
"onEscapeKeyDown",
|
|
128
|
+
"onPointerDownOutside",
|
|
129
|
+
"onFocusOutside",
|
|
130
|
+
"onRequestDismiss"
|
|
131
|
+
]);
|
|
132
|
+
const drawer = useDrawer(useDrawerProps);
|
|
133
|
+
const presence = usePresence(mergeProps$2(presenceProps, () => ({ present: drawer().open })));
|
|
134
|
+
return createComponent(DrawerSheetProvider, {
|
|
135
|
+
value: drawer,
|
|
136
|
+
get children() {
|
|
137
|
+
return createComponent(RenderStrategyProvider, {
|
|
138
|
+
value: renderStrategyProps,
|
|
139
|
+
get children() {
|
|
140
|
+
return createComponent(PresenceProvider, {
|
|
141
|
+
value: presence,
|
|
142
|
+
get children() {
|
|
143
|
+
return localProps.children;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/components/drawer/drawer-root-provider.tsx
|
|
153
|
+
const DrawerRootProvider = (props) => {
|
|
154
|
+
const [presenceProps, drawerProps] = splitPresenceProps(props);
|
|
155
|
+
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
156
|
+
const presence = usePresence(mergeProps$2(() => ({ present: drawerProps.value().open }), presenceProps));
|
|
157
|
+
return createComponent(DrawerSheetProvider, {
|
|
158
|
+
get value() {
|
|
159
|
+
return drawerProps.value;
|
|
160
|
+
},
|
|
161
|
+
get children() {
|
|
162
|
+
return createComponent(RenderStrategyProvider, {
|
|
163
|
+
value: renderStrategyProps,
|
|
164
|
+
get children() {
|
|
165
|
+
return createComponent(PresenceProvider, {
|
|
166
|
+
value: presence,
|
|
167
|
+
get children() {
|
|
168
|
+
return drawerProps.children;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
//#endregion
|
|
177
|
+
//#region src/components/drawer/drawer-title.tsx
|
|
178
|
+
const DrawerTitle = (props) => {
|
|
179
|
+
const drawer = useDrawerContext();
|
|
180
|
+
const mergedProps = mergeProps$2(() => drawer().getTitleProps(), props);
|
|
181
|
+
return createComponent(sprawlify.h2, mergedProps);
|
|
182
|
+
};
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/components/drawer/drawer-trigger.tsx
|
|
185
|
+
const DrawerTrigger = (props) => {
|
|
186
|
+
const drawer = useDrawerContext();
|
|
187
|
+
const presence = usePresenceContext();
|
|
188
|
+
const mergedProps = mergeProps$2(() => drawer().getTriggerProps(), () => ({ "aria-controls": presence().unmounted && null }), props);
|
|
189
|
+
return createComponent(sprawlify.button, mergedProps);
|
|
190
|
+
};
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/components/drawer/drawer.ts
|
|
193
|
+
var drawer_exports = /* @__PURE__ */ __exportAll({
|
|
194
|
+
Backdrop: () => DrawerBackdrop,
|
|
195
|
+
CloseTrigger: () => DrawerCloseTrigger,
|
|
196
|
+
Content: () => DrawerContent,
|
|
197
|
+
Context: () => DrawerContext,
|
|
198
|
+
Grabber: () => DrawerGrabber,
|
|
199
|
+
GrabberIndicator: () => DrawerGrabberIndicator,
|
|
200
|
+
Root: () => DrawerRoot,
|
|
201
|
+
RootProvider: () => DrawerRootProvider,
|
|
202
|
+
Title: () => DrawerTitle,
|
|
203
|
+
Trigger: () => DrawerTrigger
|
|
204
|
+
});
|
|
205
|
+
//#endregion
|
|
206
|
+
export { drawer_exports as Drawer, DrawerBackdrop, DrawerCloseTrigger, DrawerContent, DrawerContext, DrawerGrabber, DrawerGrabberIndicator, DrawerRoot, DrawerRootProvider, DrawerTitle, DrawerTrigger, drawerAnatomy, useDrawer, useDrawerContext };
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pQxUBDkX.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-DUR6M1Mz.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
|
+
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-6LT04Ztx.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-BcYjLSBT.jsx";
|
|
11
|
+
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
|
+
import * as drawer from "@sprawlify/primitives/machines/drawer";
|
|
13
|
+
import { anatomy as drawerAnatomy } from "@sprawlify/primitives/machines/drawer";
|
|
14
|
+
//#region src/components/drawer/use-drawer-context.ts
|
|
15
|
+
const [DrawerSheetProvider, useDrawerContext] = createContext$1({
|
|
16
|
+
hookName: "useDrawerContext",
|
|
17
|
+
providerName: "<DrawerSheetProvider />"
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/drawer/drawer-backdrop.tsx
|
|
21
|
+
const DrawerBackdrop = (props) => {
|
|
22
|
+
const drawer = useDrawerContext();
|
|
23
|
+
const presence = usePresence(mergeProps$1(useRenderStrategyContext(), () => ({ present: drawer().open })));
|
|
24
|
+
const mergedProps = mergeProps$1(() => drawer().getBackdropProps(), () => presence().presenceProps, props);
|
|
25
|
+
return <Show when={!presence().unmounted}>
|
|
26
|
+
<sprawlify.div {...mergedProps} ref={composeRefs(presence().ref, props.ref)} />
|
|
27
|
+
</Show>;
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/drawer/drawer-close-trigger.tsx
|
|
31
|
+
const DrawerCloseTrigger = (props) => {
|
|
32
|
+
const context = useDrawerContext();
|
|
33
|
+
const mergedProps = mergeProps$1(() => context().getCloseTriggerProps(), props);
|
|
34
|
+
return <sprawlify.button {...mergedProps} />;
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/drawer/drawer-content.tsx
|
|
38
|
+
const DrawerContent = (props) => {
|
|
39
|
+
const [contentProps, localProps] = createSplitProps()(props, ["draggable"]);
|
|
40
|
+
const drawer = useDrawerContext();
|
|
41
|
+
const presence = usePresenceContext();
|
|
42
|
+
const mergedProps = mergeProps$1(() => drawer().getContentProps({
|
|
43
|
+
draggable: true,
|
|
44
|
+
...contentProps
|
|
45
|
+
}), () => presence().presenceProps, localProps);
|
|
46
|
+
return <Show when={!presence().unmounted}>
|
|
47
|
+
<sprawlify.div {...mergedProps} ref={composeRefs(presence().ref, localProps.ref)} />
|
|
48
|
+
</Show>;
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/components/drawer/drawer-context.tsx
|
|
52
|
+
const DrawerContext = (props) => props.children(useDrawerContext());
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/drawer/drawer-grabber.tsx
|
|
55
|
+
const DrawerGrabber = (props) => {
|
|
56
|
+
const drawer = useDrawerContext();
|
|
57
|
+
const mergedProps = mergeProps$1(() => drawer().getGrabberProps(), props);
|
|
58
|
+
return <sprawlify.div {...mergedProps} />;
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/components/drawer/drawer-grabber-indicator.tsx
|
|
62
|
+
const DrawerGrabberIndicator = (props) => {
|
|
63
|
+
const drawer = useDrawerContext();
|
|
64
|
+
const mergedProps = mergeProps$1(() => drawer().getGrabberIndicatorProps(), props);
|
|
65
|
+
return <sprawlify.div {...mergedProps} />;
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/drawer/use-drawer.ts
|
|
69
|
+
const useDrawer = (props) => {
|
|
70
|
+
const locale = useLocaleContext();
|
|
71
|
+
const environment = useEnvironmentContext();
|
|
72
|
+
const id = createUniqueId();
|
|
73
|
+
const machineProps = createMemo(() => ({
|
|
74
|
+
id,
|
|
75
|
+
dir: locale().dir,
|
|
76
|
+
getRootNode: environment().getRootNode,
|
|
77
|
+
...runIfFn(props)
|
|
78
|
+
}));
|
|
79
|
+
const service = useMachine(drawer.machine, machineProps);
|
|
80
|
+
return createMemo(() => drawer.connect(service, normalizeProps));
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/components/drawer/drawer-root.tsx
|
|
84
|
+
const DrawerRoot = (props) => {
|
|
85
|
+
const [presenceProps, drawerProps] = splitPresenceProps(props);
|
|
86
|
+
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
87
|
+
const [useDrawerProps, localProps] = createSplitProps()(drawerProps, [
|
|
88
|
+
"id",
|
|
89
|
+
"ids",
|
|
90
|
+
"open",
|
|
91
|
+
"defaultOpen",
|
|
92
|
+
"onOpenChange",
|
|
93
|
+
"closeOnInteractOutside",
|
|
94
|
+
"closeOnEscape",
|
|
95
|
+
"snapPoints",
|
|
96
|
+
"swipeVelocityThreshold",
|
|
97
|
+
"closeThreshold",
|
|
98
|
+
"preventDragOnScroll",
|
|
99
|
+
"activeSnapPoint",
|
|
100
|
+
"defaultActiveSnapPoint",
|
|
101
|
+
"onActiveSnapPointChange",
|
|
102
|
+
"modal",
|
|
103
|
+
"trapFocus",
|
|
104
|
+
"restoreFocus",
|
|
105
|
+
"preventScroll",
|
|
106
|
+
"initialFocusEl",
|
|
107
|
+
"finalFocusEl",
|
|
108
|
+
"role",
|
|
109
|
+
"onInteractOutside",
|
|
110
|
+
"onEscapeKeyDown",
|
|
111
|
+
"onPointerDownOutside",
|
|
112
|
+
"onFocusOutside",
|
|
113
|
+
"onRequestDismiss"
|
|
114
|
+
]);
|
|
115
|
+
const drawer = useDrawer(useDrawerProps);
|
|
116
|
+
const presence = usePresence(mergeProps$1(presenceProps, () => ({ present: drawer().open })));
|
|
117
|
+
return <DrawerSheetProvider value={drawer}>
|
|
118
|
+
<RenderStrategyProvider value={renderStrategyProps}>
|
|
119
|
+
<PresenceProvider value={presence}>{localProps.children}</PresenceProvider>
|
|
120
|
+
</RenderStrategyProvider>
|
|
121
|
+
</DrawerSheetProvider>;
|
|
122
|
+
};
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/components/drawer/drawer-root-provider.tsx
|
|
125
|
+
const DrawerRootProvider = (props) => {
|
|
126
|
+
const [presenceProps, drawerProps] = splitPresenceProps(props);
|
|
127
|
+
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
128
|
+
const presence = usePresence(mergeProps$1(() => ({ present: drawerProps.value().open }), presenceProps));
|
|
129
|
+
return <DrawerSheetProvider value={drawerProps.value}>
|
|
130
|
+
<RenderStrategyProvider value={renderStrategyProps}>
|
|
131
|
+
<PresenceProvider value={presence}>{drawerProps.children}</PresenceProvider>
|
|
132
|
+
</RenderStrategyProvider>
|
|
133
|
+
</DrawerSheetProvider>;
|
|
134
|
+
};
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/components/drawer/drawer-title.tsx
|
|
137
|
+
const DrawerTitle = (props) => {
|
|
138
|
+
const drawer = useDrawerContext();
|
|
139
|
+
const mergedProps = mergeProps$1(() => drawer().getTitleProps(), props);
|
|
140
|
+
return <sprawlify.h2 {...mergedProps} />;
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/components/drawer/drawer-trigger.tsx
|
|
144
|
+
const DrawerTrigger = (props) => {
|
|
145
|
+
const drawer = useDrawerContext();
|
|
146
|
+
const presence = usePresenceContext();
|
|
147
|
+
const mergedProps = mergeProps$1(() => drawer().getTriggerProps(), () => ({ "aria-controls": presence().unmounted && null }), props);
|
|
148
|
+
return <sprawlify.button {...mergedProps} />;
|
|
149
|
+
};
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/components/drawer/drawer.ts
|
|
152
|
+
var drawer_exports = /* @__PURE__ */ __exportAll({
|
|
153
|
+
Backdrop: () => DrawerBackdrop,
|
|
154
|
+
CloseTrigger: () => DrawerCloseTrigger,
|
|
155
|
+
Content: () => DrawerContent,
|
|
156
|
+
Context: () => DrawerContext,
|
|
157
|
+
Grabber: () => DrawerGrabber,
|
|
158
|
+
GrabberIndicator: () => DrawerGrabberIndicator,
|
|
159
|
+
Root: () => DrawerRoot,
|
|
160
|
+
RootProvider: () => DrawerRootProvider,
|
|
161
|
+
Title: () => DrawerTitle,
|
|
162
|
+
Trigger: () => DrawerTrigger
|
|
163
|
+
});
|
|
164
|
+
//#endregion
|
|
165
|
+
export { drawer_exports as Drawer, DrawerBackdrop, DrawerCloseTrigger, DrawerContent, DrawerContext, DrawerGrabber, DrawerGrabberIndicator, DrawerRoot, DrawerRootProvider, DrawerTitle, DrawerTrigger, drawerAnatomy, useDrawer, useDrawerContext };
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import "../../
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../render-strategy-6LT04Ztx.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-BcYjLSBT.jsx";
|
|
11
11
|
import { Show, createEffect, createMemo, createUniqueId, onCleanup, onMount } from "solid-js";
|
|
12
12
|
import * as dropdownMenu from "@sprawlify/primitives/machines/dropdown-menu";
|
|
13
13
|
import { anatomy as dropdownMenuAnatomy } from "@sprawlify/primitives/machines/dropdown-menu";
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import "../../fieldset-
|
|
10
|
-
import { m as useFieldContext } from "../../field-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
9
|
+
import "../../fieldset-Lbk9tsVV.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-Blp6NDsc.jsx";
|
|
11
11
|
import { createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
13
13
|
import { anatomy as editableAnatomy } from "@sprawlify/primitives/machines/editable";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as MaybeAccessor } from "../../types-C0L5xDeS.js";
|
|
2
2
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BxBlXUD3.js";
|
|
3
|
-
import { t as fieldAnatomy } from "../../field-anatomy-
|
|
3
|
+
import { t as fieldAnatomy } from "../../field-anatomy-CeR3nVI8.js";
|
|
4
4
|
import * as solid_js0 from "solid-js";
|
|
5
5
|
import { JSX } from "solid-js";
|
|
6
6
|
|
|
@@ -2,8 +2,8 @@ import "../../core-DUR6M1Mz.jsx";
|
|
|
2
2
|
import "../../create-context-iBxaUhvx.jsx";
|
|
3
3
|
import "../../providers-C-cHBiyk.jsx";
|
|
4
4
|
import "../../factory-B95XvEzz.jsx";
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../
|
|
7
|
-
import "../../fieldset-
|
|
8
|
-
import { a as FieldRoot, c as FieldRequiredIndicator, d as FieldHelperText, f as FieldErrorText, i as FieldRootProvider, l as FieldLabel, m as useFieldContext, n as FieldTextarea, o as useField, p as FieldContext, r as FieldSelect, s as fieldAnatomy, t as field_exports, u as FieldInput } from "../../field-
|
|
5
|
+
import "../../create-split-props-B2Gc7D9P.jsx";
|
|
6
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
7
|
+
import "../../fieldset-Lbk9tsVV.jsx";
|
|
8
|
+
import { a as FieldRoot, c as FieldRequiredIndicator, d as FieldHelperText, f as FieldErrorText, i as FieldRootProvider, l as FieldLabel, m as useFieldContext, n as FieldTextarea, o as useField, p as FieldContext, r as FieldSelect, s as fieldAnatomy, t as field_exports, u as FieldInput } from "../../field-Blp6NDsc.jsx";
|
|
9
9
|
export { field_exports as Field, FieldContext, FieldErrorText, FieldHelperText, FieldInput, FieldLabel, FieldRequiredIndicator, FieldRoot, FieldRootProvider, FieldSelect, FieldTextarea, fieldAnatomy, useField, useFieldContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as MaybeAccessor } from "../../types-C0L5xDeS.js";
|
|
2
2
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BxBlXUD3.js";
|
|
3
|
-
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-
|
|
3
|
+
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-DF0TfPdv.js";
|
|
4
4
|
import * as solid_js0 from "solid-js";
|
|
5
5
|
import { JSX } from "solid-js";
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@ import "../../core-DUR6M1Mz.jsx";
|
|
|
2
2
|
import "../../create-context-iBxaUhvx.jsx";
|
|
3
3
|
import "../../providers-C-cHBiyk.jsx";
|
|
4
4
|
import "../../factory-B95XvEzz.jsx";
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../
|
|
7
|
-
import { a as fieldsetAnatomy, c as FieldsetErrorText, i as useFieldset, l as FieldsetContext, n as FieldsetRootProvider, o as FieldsetLegend, r as FieldsetRoot, s as FieldsetHelperText, t as fieldset_exports, u as useFieldsetContext } from "../../fieldset-
|
|
5
|
+
import "../../create-split-props-B2Gc7D9P.jsx";
|
|
6
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
7
|
+
import { a as fieldsetAnatomy, c as FieldsetErrorText, i as useFieldset, l as FieldsetContext, n as FieldsetRootProvider, o as FieldsetLegend, r as FieldsetRoot, s as FieldsetHelperText, t as fieldset_exports, u as useFieldsetContext } from "../../fieldset-Lbk9tsVV.jsx";
|
|
8
8
|
export { fieldset_exports as Fieldset, FieldsetContext, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FieldsetRoot, FieldsetRootProvider, fieldsetAnatomy, useFieldset, useFieldsetContext };
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import "../../fieldset-
|
|
10
|
-
import { m as useFieldContext } from "../../field-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
9
|
+
import "../../fieldset-Lbk9tsVV.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-Blp6NDsc.jsx";
|
|
11
11
|
import { Show, createEffect, createMemo, createSignal, createUniqueId, onCleanup } from "solid-js";
|
|
12
12
|
import * as fileUpload from "@sprawlify/primitives/machines/file-upload";
|
|
13
13
|
import { anatomy as fileUploadAnatomy } from "@sprawlify/primitives/machines/file-upload";
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import "../../
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../render-strategy-6LT04Ztx.jsx";
|
|
9
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-BcYjLSBT.jsx";
|
|
11
11
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as floatingPanel from "@sprawlify/primitives/machines/floating-panel";
|
|
13
13
|
import { anatomy as floatingPanelAnatomy } from "@sprawlify/primitives/machines/floating-panel";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../core-DUR6M1Mz.jsx";
|
|
2
2
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
3
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
4
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
5
5
|
import { createEffect, onCleanup } from "solid-js";
|
|
6
6
|
import { trapFocus } from "@sprawlify/primitives/focus-trap";
|
|
7
7
|
//#region src/components/focus-trap/focus-trap.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../create-context-iBxaUhvx.jsx";
|
|
2
2
|
import { o as EnvironmentProvider } from "../../providers-C-cHBiyk.jsx";
|
|
3
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
3
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
4
4
|
import { Show, createEffect, createMemo, createSignal, onCleanup, splitProps } from "solid-js";
|
|
5
5
|
import { Portal } from "solid-js/web";
|
|
6
6
|
//#region src/components/frame/frame-content.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
2
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
2
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
3
3
|
import { For, Show, createMemo } from "solid-js";
|
|
4
4
|
import { highlightWord } from "@sprawlify/primitives/highlight-word";
|
|
5
5
|
//#region src/components/highlight/use-highlight.ts
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import "../../
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../render-strategy-6LT04Ztx.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-BcYjLSBT.jsx";
|
|
11
11
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
13
13
|
import { anatomy as hoverCardAnatomy } from "@sprawlify/primitives/machines/hover-card";
|
|
@@ -4,7 +4,7 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import { createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
10
10
|
import { anatomy as imageCropperAnatomy, handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
@@ -3,11 +3,11 @@ import "../../core-DUR6M1Mz.jsx";
|
|
|
3
3
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
4
4
|
import "../../providers-C-cHBiyk.jsx";
|
|
5
5
|
import "../../factory-B95XvEzz.jsx";
|
|
6
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
7
|
-
import "../../render-strategy-
|
|
8
|
-
import "../../collapsible-
|
|
6
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
7
|
+
import "../../render-strategy-6LT04Ztx.jsx";
|
|
8
|
+
import "../../collapsible-DhguH1Yh.jsx";
|
|
9
9
|
import { a as createTreeCollection } from "../../collection-CotDTAMT.jsx";
|
|
10
|
-
import { T as useTreeViewContext, o as useTreeView, t as tree_view_exports } from "../../tree-view-
|
|
10
|
+
import { T as useTreeViewContext, o as useTreeView, t as tree_view_exports } from "../../tree-view-nwQzRTs2.jsx";
|
|
11
11
|
import { For, Index, Show, createMemo, splitProps, untrack } from "solid-js";
|
|
12
12
|
import { Dynamic } from "solid-js/web";
|
|
13
13
|
import { getAccessibleDescription, getRootNode, jsonNodeToElement, keyPathToKey, nodeToString, nodeToValue } from "@sprawlify/primitives/json-tree-utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as PropTypes } from "../../index-Bnd2Fp7Q.js";
|
|
2
2
|
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-C0L5xDeS.js";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BxBlXUD3.js";
|
|
4
|
-
import { t as listboxAnatomy } from "../../listbox-anatomy-
|
|
4
|
+
import { t as listboxAnatomy } from "../../listbox-anatomy-BM3Tatnj.js";
|
|
5
5
|
import { _ as CollectionItem, b as createListCollection, y as ListCollection } from "../../index-BbGXwXgM.js";
|
|
6
6
|
import * as solid_js0 from "solid-js";
|
|
7
7
|
import { Accessor, JSX } from "solid-js";
|
|
@@ -4,7 +4,7 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import { o as createListCollection } from "../../collection-CotDTAMT.jsx";
|
|
9
9
|
import { Show, children, createMemo, createUniqueId } from "solid-js";
|
|
10
10
|
import * as listbox from "@sprawlify/primitives/machines/listbox";
|
|
@@ -4,7 +4,7 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import { For, createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as marquee from "@sprawlify/primitives/machines/marquee";
|
|
10
10
|
import { anatomy as marqueeAnatomy } from "@sprawlify/primitives/machines/marquee";
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { i as usePresence, t as PresenceProvider } from "../../presence-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-6LT04Ztx.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
10
|
+
import { i as usePresence, t as PresenceProvider } from "../../presence-BcYjLSBT.jsx";
|
|
11
11
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import { Portal } from "solid-js/web";
|
|
13
13
|
import * as navigationMenu from "@sprawlify/primitives/machines/navigation-menu";
|
|
@@ -4,10 +4,10 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import "../../fieldset-
|
|
10
|
-
import { m as useFieldContext } from "../../field-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
9
|
+
import "../../fieldset-Lbk9tsVV.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-Blp6NDsc.jsx";
|
|
11
11
|
import { createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as numberInput from "@sprawlify/primitives/machines/number-input";
|
|
13
13
|
import { anatomy as numberInputAnatomy } from "@sprawlify/primitives/machines/number-input";
|
|
@@ -4,7 +4,7 @@ import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
5
|
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import { createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as pagination from "@sprawlify/primitives/machines/pagination";
|
|
10
10
|
import { anatomy as paginationAnatomy } from "@sprawlify/primitives/machines/pagination";
|