@sprawlify/solid 0.0.16 → 0.0.18
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/{collapsible-sG-Rzvf2.jsx → collapsible-14K1NkX_.jsx} +8 -8
- package/dist/{collapsible-CX2tnXKq.js → collapsible-BT7AHLQr.js} +8 -8
- package/dist/{collection-zj3lxnwW.js → collection-BVSLJ8Vb.js} +2 -2
- package/dist/{collection-BRr4O2_i.jsx → collection-CIXQG-Ne.jsx} +2 -2
- package/dist/components/accordion/index.d.ts +11 -11
- package/dist/components/accordion/index.js +9 -9
- package/dist/components/accordion/index.jsx +9 -9
- package/dist/components/angle-slider/index.d.ts +13 -13
- package/dist/components/angle-slider/index.js +7 -7
- package/dist/components/angle-slider/index.jsx +7 -7
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +7 -7
- package/dist/components/avatar/index.jsx +7 -7
- package/dist/components/bottom-sheet/index.d.ts +13 -13
- package/dist/components/bottom-sheet/index.js +10 -10
- package/dist/components/bottom-sheet/index.jsx +10 -10
- package/dist/components/carousel/index.d.ts +17 -17
- package/dist/components/carousel/index.js +7 -7
- package/dist/components/carousel/index.jsx +7 -7
- package/dist/components/checkbox/index.d.ts +13 -13
- package/dist/components/checkbox/index.js +10 -10
- package/dist/components/checkbox/index.jsx +10 -10
- package/dist/components/clipboard/index.d.ts +11 -11
- package/dist/components/clipboard/index.js +7 -7
- package/dist/components/clipboard/index.jsx +7 -7
- package/dist/components/collapsible/index.d.ts +10 -10
- package/dist/components/collapsible/index.js +7 -7
- package/dist/components/collapsible/index.jsx +7 -7
- package/dist/components/collection/index.d.ts +2 -2
- package/dist/components/collection/index.js +2 -2
- package/dist/components/collection/index.jsx +2 -2
- package/dist/components/color-picker/index.d.ts +35 -35
- package/dist/components/color-picker/index.js +12 -12
- package/dist/components/color-picker/index.jsx +12 -12
- package/dist/components/combobox/index.d.ts +22 -22
- package/dist/components/combobox/index.js +13 -13
- package/dist/components/combobox/index.jsx +13 -13
- package/dist/components/date-picker/index.d.ts +33 -33
- package/dist/components/date-picker/index.js +10 -10
- package/dist/components/date-picker/index.jsx +10 -10
- package/dist/components/dialog/index.d.ts +13 -13
- package/dist/components/dialog/index.js +10 -10
- package/dist/components/dialog/index.jsx +10 -10
- package/dist/components/download-trigger/index.d.ts +3 -3
- package/dist/components/download-trigger/index.js +5 -5
- package/dist/components/download-trigger/index.jsx +5 -5
- package/dist/components/editable/index.d.ts +14 -14
- package/dist/components/editable/index.js +10 -10
- package/dist/components/editable/index.jsx +10 -10
- package/dist/components/field/index.d.ts +14 -14
- package/dist/components/field/index.js +8 -8
- package/dist/components/field/index.jsx +8 -8
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/fieldset/index.js +7 -7
- package/dist/components/fieldset/index.jsx +7 -7
- package/dist/components/file-upload/index.d.ts +102 -0
- package/dist/components/file-upload/index.js +284 -0
- package/dist/components/file-upload/index.jsx +255 -0
- package/dist/components/floating-panel/index.d.ts +100 -0
- package/dist/components/floating-panel/index.js +246 -0
- package/dist/components/floating-panel/index.jsx +217 -0
- package/dist/components/focus-trap/index.d.ts +17 -0
- package/dist/components/focus-trap/index.js +34 -0
- package/dist/components/focus-trap/index.jsx +30 -0
- package/dist/components/format/index.d.ts +27 -0
- package/dist/components/format/index.js +46 -0
- package/dist/components/format/index.jsx +48 -0
- package/dist/components/frame/index.d.ts +13 -0
- package/dist/components/frame/index.js +121 -0
- package/dist/components/frame/index.jsx +86 -0
- package/dist/components/highlight/index.d.ts +3 -3
- package/dist/components/highlight/index.js +3 -3
- package/dist/components/highlight/index.jsx +3 -3
- package/dist/components/hover-card/index.d.ts +70 -0
- package/dist/components/hover-card/index.js +168 -0
- package/dist/components/hover-card/index.jsx +136 -0
- package/dist/components/image-cropper/index.d.ts +64 -0
- package/dist/components/image-cropper/index.js +151 -0
- package/dist/components/image-cropper/index.jsx +144 -0
- package/dist/components/json-tree-view/index.d.ts +56 -0
- package/dist/components/json-tree-view/index.js +330 -0
- package/dist/components/json-tree-view/index.jsx +204 -0
- package/dist/components/listbox/index.d.ts +114 -0
- package/dist/components/listbox/index.js +261 -0
- package/dist/components/listbox/index.jsx +236 -0
- package/dist/components/marquee/index.d.ts +59 -0
- package/dist/components/marquee/index.js +138 -0
- package/dist/components/marquee/index.jsx +126 -0
- package/dist/components/menu/index.d.ts +161 -0
- package/dist/components/menu/index.js +471 -0
- package/dist/components/menu/index.jsx +392 -0
- package/dist/components/navigation-menu/index.d.ts +90 -0
- package/dist/components/navigation-menu/index.js +304 -0
- package/dist/components/navigation-menu/index.jsx +237 -0
- package/dist/components/number-input/index.d.ts +74 -0
- package/dist/components/number-input/index.js +182 -0
- package/dist/components/number-input/index.jsx +173 -0
- package/dist/components/pagination/index.d.ts +69 -0
- package/dist/components/pagination/index.js +146 -0
- package/dist/components/pagination/index.jsx +139 -0
- package/dist/components/password-input/index.d.ts +66 -0
- package/dist/components/password-input/index.js +159 -0
- package/dist/components/password-input/index.jsx +140 -0
- package/dist/components/pin-input/index.d.ts +59 -0
- package/dist/components/pin-input/index.js +151 -0
- package/dist/components/pin-input/index.jsx +142 -0
- package/dist/components/popover/index.d.ts +95 -0
- package/dist/components/popover/index.js +220 -0
- package/dist/components/popover/index.jsx +188 -0
- package/dist/components/presence/index.d.ts +4 -4
- package/dist/components/presence/index.js +7 -7
- package/dist/components/presence/index.jsx +7 -7
- package/dist/components/select/index.d.ts +22 -22
- package/dist/components/select/index.js +13 -13
- package/dist/components/select/index.jsx +13 -13
- package/dist/components/tree-view/index.d.ts +7 -0
- package/dist/components/tree-view/index.js +11 -0
- package/dist/components/tree-view/index.jsx +11 -0
- package/dist/{factory-Ch5jgk20.jsx → factory-BIJk1mK6.jsx} +1 -1
- package/dist/{factory-PGDAvOKb.js → factory-k8EbNZ7r.js} +1 -1
- package/dist/{factory-4A25bngy.d.ts → factory-srnAQg4A.d.ts} +6 -1
- package/dist/{field-CoYiA2ek.js → field-CZv3v7K-.js} +8 -8
- package/dist/{field-BRr9Zdes.jsx → field-CtkmPUb0.jsx} +8 -8
- package/dist/{fieldset-BrJqMLEd.js → fieldset-B2nK8dL5.js} +8 -8
- package/dist/{fieldset-B_LyllEa.jsx → fieldset-aYQsMWX2.jsx} +8 -8
- package/dist/{index-GEfvAmRc.d.ts → index-BwthXhaG.d.ts} +1 -1
- package/dist/index-Dl22eiVf.d.ts +143 -0
- package/dist/index-Dqmtlqpz.d.ts +143 -0
- package/dist/{index-j2avJy7D.d.ts → index-DylIyeqd.d.ts} +8 -8
- package/dist/index-utxtRaDW.d.ts +41 -0
- package/dist/{index-oc8gLl07.d.ts → index-w0NPbRP3.d.ts} +8 -8
- package/dist/index.d.ts +6 -44
- package/dist/index.js +6 -5
- package/dist/index.jsx +6 -5
- package/dist/{presence-BpwBRlZW.js → presence-Clrs1hmS.js} +7 -7
- package/dist/{presence-Bmn43U_q.jsx → presence-H4-8_5_s.jsx} +7 -7
- package/dist/{providers-DFaRRd80.jsx → providers-C6VPiSrB.jsx} +2 -2
- package/dist/{providers-Bo0OFe08.js → providers-DgUckEdb.js} +2 -2
- package/dist/{render-strategy-DFlz7Uc4.js → render-strategy-BlHCR8sl.js} +2 -2
- package/dist/{render-strategy-CdJhRv3I.jsx → render-strategy-KJFIjVVG.jsx} +2 -2
- package/dist/tree-view-CyvT0V14.js +318 -0
- package/dist/tree-view-DJgvku6y.jsx +291 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.jsx +2 -2
- package/package.json +97 -2
- /package/dist/{chunk-B5so6B0y.jsx → chunk-BJ7z6UrO.jsx} +0 -0
- /package/dist/{chunk-B93cd-Dz.js → chunk-Bn8mXcTA.js} +0 -0
- /package/dist/{compose-refs-BVVIB7xn.js → compose-refs-Cp4AShsY.jsx} +0 -0
- /package/dist/{compose-refs-icUeuyHm.jsx → compose-refs-tCBI7PRJ.js} +0 -0
- /package/dist/{core-DbInRfhI.jsx → core-CRjuRw95.js} +0 -0
- /package/dist/{core-oNB2jGcl.js → core-C_FYj4uc.jsx} +0 -0
- /package/dist/{create-context-C3rvZvkc.jsx → create-context-BwqlrMqL.jsx} +0 -0
- /package/dist/{create-context-GfQ_MylE.js → create-context-DlXBVMoq.js} +0 -0
- /package/dist/{create-split-props-B8A7_AF7.jsx → create-split-props-BHmgTHSf.js} +0 -0
- /package/dist/{create-split-props-pQu7jijw.js → create-split-props-CKwjjjkD.jsx} +0 -0
- /package/dist/{index-C7N791Fc.d.ts → index-BLALA3BS.d.ts} +0 -0
- /package/dist/{index-B6dBCfnB.d.ts → index-DiANe65S.d.ts} +0 -0
- /package/dist/{render-strategy-BNECKEQk.d.ts → render-strategy-BmTDUy3U.d.ts} +0 -0
- /package/dist/{run-if-fn-A3VwXy-o.jsx → run-if-fn-C80kt4dU.js} +0 -0
- /package/dist/{run-if-fn-D5794CxE.js → run-if-fn-CrJzzDIM.jsx} +0 -0
- /package/dist/{types-Dbw4va3W.d.ts → types-mGUbKy2h.d.ts} +0 -0
- /package/dist/{utils-DQi-Cen5.js → utils-DSmVDqW7.js} +0 -0
- /package/dist/{utils-vSjszv0W.jsx → utils-DhhcJyG-.jsx} +0 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { t as __export } from "../../chunk-BJ7z6UrO.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-C_FYj4uc.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CrJzzDIM.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-BwqlrMqL.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-C6VPiSrB.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-BIJk1mK6.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CKwjjjkD.jsx";
|
|
8
|
+
import "../../render-strategy-KJFIjVVG.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Cp4AShsY.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-H4-8_5_s.jsx";
|
|
11
|
+
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
|
+
import * as popover from "@sprawlify/primitives/machines/popover";
|
|
13
|
+
import { anatomy as popoverAnatomy } from "@sprawlify/primitives/machines/popover";
|
|
14
|
+
|
|
15
|
+
//#region src/components/popover/use-popover-context.ts
|
|
16
|
+
const [PopoverProvider, usePopoverContext] = createContext$1({
|
|
17
|
+
hookName: "usePopoverContext",
|
|
18
|
+
providerName: "<PopoverProvider />"
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/popover/popover-anchor.tsx
|
|
23
|
+
const PopoverAnchor = (props) => {
|
|
24
|
+
const api = usePopoverContext();
|
|
25
|
+
const mergedProps = mergeProps$1(() => api().getAnchorProps(), props);
|
|
26
|
+
return <sprawlify.div {...mergedProps} />;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/popover/popover-arrow.tsx
|
|
31
|
+
const PopoverArrow = (props) => {
|
|
32
|
+
const popover$1 = usePopoverContext();
|
|
33
|
+
const mergedProps = mergeProps$1(() => popover$1().getArrowProps(), props);
|
|
34
|
+
return <sprawlify.div {...mergedProps} />;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/popover/popover-arrow-tip.tsx
|
|
39
|
+
const PopoverArrowTip = (props) => {
|
|
40
|
+
const popover$1 = usePopoverContext();
|
|
41
|
+
const mergedProps = mergeProps$1(() => popover$1().getArrowTipProps(), props);
|
|
42
|
+
return <sprawlify.div {...mergedProps} />;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/popover/popover-close-trigger.tsx
|
|
47
|
+
const PopoverCloseTrigger = (props) => {
|
|
48
|
+
const api = usePopoverContext();
|
|
49
|
+
const mergedProps = mergeProps$1(() => api().getCloseTriggerProps(), props);
|
|
50
|
+
return <sprawlify.button {...mergedProps} />;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/popover/popover-content.tsx
|
|
55
|
+
const PopoverContent = (props) => {
|
|
56
|
+
const api = usePopoverContext();
|
|
57
|
+
const presenceApi = usePresenceContext();
|
|
58
|
+
const mergedProps = mergeProps$1(() => api().getContentProps(), () => presenceApi().presenceProps, props);
|
|
59
|
+
return <Show when={!presenceApi().unmounted}>
|
|
60
|
+
<sprawlify.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
61
|
+
</Show>;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/components/popover/popover-context.tsx
|
|
66
|
+
const PopoverContext = (props) => props.children(usePopoverContext());
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/components/popover/popover-description.tsx
|
|
70
|
+
const PopoverDescription = (props) => {
|
|
71
|
+
const api = usePopoverContext();
|
|
72
|
+
const mergedProps = mergeProps$1(() => api().getDescriptionProps(), props);
|
|
73
|
+
return <sprawlify.div {...mergedProps} />;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/components/popover/popover-indicator.tsx
|
|
78
|
+
const PopoverIndicator = (props) => {
|
|
79
|
+
const popover$1 = usePopoverContext();
|
|
80
|
+
const mergedProps = mergeProps$1(() => popover$1().getIndicatorProps(), props);
|
|
81
|
+
return <sprawlify.div {...mergedProps} />;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/components/popover/popover-positioner.tsx
|
|
86
|
+
const PopoverPositioner = (props) => {
|
|
87
|
+
const api = usePopoverContext();
|
|
88
|
+
const presenceApi = usePresenceContext();
|
|
89
|
+
const mergedProps = mergeProps$1(() => api().getPositionerProps(), props);
|
|
90
|
+
return <Show when={!presenceApi().unmounted}>
|
|
91
|
+
<sprawlify.div {...mergedProps} />
|
|
92
|
+
</Show>;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/components/popover/use-popover.ts
|
|
97
|
+
const usePopover = (props) => {
|
|
98
|
+
const id = createUniqueId();
|
|
99
|
+
const locale = useLocaleContext();
|
|
100
|
+
const environment = useEnvironmentContext();
|
|
101
|
+
const machineProps = createMemo(() => ({
|
|
102
|
+
id,
|
|
103
|
+
dir: locale().dir,
|
|
104
|
+
getRootNode: environment().getRootNode,
|
|
105
|
+
...runIfFn(props)
|
|
106
|
+
}));
|
|
107
|
+
const service = useMachine(popover.machine, machineProps);
|
|
108
|
+
return createMemo(() => popover.connect(service, normalizeProps));
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/components/popover/popover-root.tsx
|
|
113
|
+
const PopoverRoot = (props) => {
|
|
114
|
+
const [presenceProps, popoverProps] = splitPresenceProps(props);
|
|
115
|
+
const [usePopoverProps, localProps] = createSplitProps()(popoverProps, [
|
|
116
|
+
"autoFocus",
|
|
117
|
+
"closeOnEscape",
|
|
118
|
+
"closeOnInteractOutside",
|
|
119
|
+
"defaultOpen",
|
|
120
|
+
"id",
|
|
121
|
+
"ids",
|
|
122
|
+
"initialFocusEl",
|
|
123
|
+
"modal",
|
|
124
|
+
"onEscapeKeyDown",
|
|
125
|
+
"onFocusOutside",
|
|
126
|
+
"onInteractOutside",
|
|
127
|
+
"onOpenChange",
|
|
128
|
+
"onPointerDownOutside",
|
|
129
|
+
"onRequestDismiss",
|
|
130
|
+
"open",
|
|
131
|
+
"persistentElements",
|
|
132
|
+
"portalled",
|
|
133
|
+
"positioning"
|
|
134
|
+
]);
|
|
135
|
+
const api = usePopover(usePopoverProps);
|
|
136
|
+
const apiPresence = usePresence(mergeProps$1(presenceProps, () => ({ present: api().open })));
|
|
137
|
+
return <PopoverProvider value={api}>
|
|
138
|
+
<PresenceProvider value={apiPresence}>{localProps.children}</PresenceProvider>
|
|
139
|
+
</PopoverProvider>;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/components/popover/popover-root-provider.tsx
|
|
144
|
+
const PopoverRootProvider = (props) => {
|
|
145
|
+
const [presenceProps, popoverProps] = splitPresenceProps(props);
|
|
146
|
+
const presence = usePresence(mergeProps$1(presenceProps, () => ({ present: popoverProps.value().open })));
|
|
147
|
+
return <PopoverProvider value={popoverProps.value}>
|
|
148
|
+
<PresenceProvider value={presence}>{popoverProps.children}</PresenceProvider>
|
|
149
|
+
</PopoverProvider>;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/components/popover/popover-title.tsx
|
|
154
|
+
const PopoverTitle = (props) => {
|
|
155
|
+
const api = usePopoverContext();
|
|
156
|
+
const mergedProps = mergeProps$1(() => api().getTitleProps(), props);
|
|
157
|
+
return <sprawlify.div {...mergedProps} />;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region src/components/popover/popover-trigger.tsx
|
|
162
|
+
const PopoverTrigger = (props) => {
|
|
163
|
+
const api = usePopoverContext();
|
|
164
|
+
const presenceApi = usePresenceContext();
|
|
165
|
+
const mergedProps = mergeProps$1(() => api().getTriggerProps(), () => ({ "aria-controls": presenceApi().unmounted && null }), props);
|
|
166
|
+
return <sprawlify.button {...mergedProps} />;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/components/popover/popover.ts
|
|
171
|
+
var popover_exports = /* @__PURE__ */ __export({
|
|
172
|
+
Anchor: () => PopoverAnchor,
|
|
173
|
+
Arrow: () => PopoverArrow,
|
|
174
|
+
ArrowTip: () => PopoverArrowTip,
|
|
175
|
+
CloseTrigger: () => PopoverCloseTrigger,
|
|
176
|
+
Content: () => PopoverContent,
|
|
177
|
+
Context: () => PopoverContext,
|
|
178
|
+
Description: () => PopoverDescription,
|
|
179
|
+
Indicator: () => PopoverIndicator,
|
|
180
|
+
Positioner: () => PopoverPositioner,
|
|
181
|
+
Root: () => PopoverRoot,
|
|
182
|
+
RootProvider: () => PopoverRootProvider,
|
|
183
|
+
Title: () => PopoverTitle,
|
|
184
|
+
Trigger: () => PopoverTrigger
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
//#endregion
|
|
188
|
+
export { popover_exports as Popover, PopoverAnchor, PopoverArrow, PopoverArrowTip, PopoverCloseTrigger, PopoverContent, PopoverContext, PopoverDescription, PopoverIndicator, PopoverPositioner, PopoverRoot, PopoverRootProvider, PopoverTitle, PopoverTrigger, popoverAnatomy, usePopover, usePopoverContext };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../types-
|
|
2
|
-
import "../../factory-
|
|
3
|
-
import "../../render-strategy-
|
|
4
|
-
import { a as Presence, c as UsePresenceReturn, i as splitPresenceProps, l as usePresence, n as UsePresenceContext, o as PresenceProps, r as usePresenceContext, s as UsePresenceProps, t as PresenceProvider } from "../../index-
|
|
1
|
+
import "../../types-mGUbKy2h.js";
|
|
2
|
+
import "../../factory-srnAQg4A.js";
|
|
3
|
+
import "../../render-strategy-BmTDUy3U.js";
|
|
4
|
+
import { a as Presence, c as UsePresenceReturn, i as splitPresenceProps, l as usePresence, n as UsePresenceContext, o as PresenceProps, r as usePresenceContext, s as UsePresenceProps, t as PresenceProvider } from "../../index-DylIyeqd.js";
|
|
5
5
|
export { Presence, PresenceProps, PresenceProvider, UsePresenceContext, UsePresenceProps, UsePresenceReturn, splitPresenceProps, usePresence, usePresenceContext };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../create-context-
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../compose-refs-
|
|
7
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, r as Presence, t as PresenceProvider } from "../../presence-
|
|
1
|
+
import "../../core-CRjuRw95.js";
|
|
2
|
+
import "../../create-context-DlXBVMoq.js";
|
|
3
|
+
import "../../factory-k8EbNZ7r.js";
|
|
4
|
+
import "../../create-split-props-BHmgTHSf.js";
|
|
5
|
+
import "../../render-strategy-BlHCR8sl.js";
|
|
6
|
+
import "../../compose-refs-tCBI7PRJ.js";
|
|
7
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, r as Presence, t as PresenceProvider } from "../../presence-Clrs1hmS.js";
|
|
8
8
|
|
|
9
9
|
export { Presence, PresenceProvider, splitPresenceProps, usePresence, usePresenceContext };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../create-context-
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../compose-refs-
|
|
7
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, r as Presence, t as PresenceProvider } from "../../presence-
|
|
1
|
+
import "../../core-C_FYj4uc.jsx";
|
|
2
|
+
import "../../create-context-BwqlrMqL.jsx";
|
|
3
|
+
import "../../factory-BIJk1mK6.jsx";
|
|
4
|
+
import "../../create-split-props-CKwjjjkD.jsx";
|
|
5
|
+
import "../../render-strategy-KJFIjVVG.jsx";
|
|
6
|
+
import "../../compose-refs-Cp4AShsY.jsx";
|
|
7
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, r as Presence, t as PresenceProvider } from "../../presence-H4-8_5_s.jsx";
|
|
8
8
|
|
|
9
9
|
export { Presence, PresenceProvider, splitPresenceProps, usePresence, usePresenceContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-
|
|
3
|
-
import {
|
|
4
|
-
import "../../render-strategy-
|
|
5
|
-
import { s as UsePresenceProps } from "../../index-
|
|
6
|
-
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-
|
|
7
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-BLALA3BS.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-mGUbKy2h.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-srnAQg4A.js";
|
|
4
|
+
import "../../render-strategy-BmTDUy3U.js";
|
|
5
|
+
import { s as UsePresenceProps } from "../../index-DylIyeqd.js";
|
|
6
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-BwthXhaG.js";
|
|
7
|
+
import * as solid_js178 from "solid-js";
|
|
8
8
|
import { Accessor, JSX } from "solid-js";
|
|
9
9
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as SelectFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as SelectHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as SelectInteractOutsideEvent, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as SelectOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as SelectPointerDownOutsideEvent, ValueChangeDetails, ValueChangeDetails as SelectValueChangeDetails, anatomy as selectAnatomy } from "@sprawlify/primitives/machines/select";
|
|
@@ -13,12 +13,12 @@ import { JSX as JSX$1 } from "solid-js/jsx-runtime";
|
|
|
13
13
|
//#region src/components/select/select-clear-trigger.d.ts
|
|
14
14
|
interface SelectClearTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
15
15
|
interface SelectClearTriggerProps extends HTMLProps<'button'>, SelectClearTriggerBaseProps {}
|
|
16
|
-
declare const SelectClearTrigger: (props: SelectClearTriggerProps) =>
|
|
16
|
+
declare const SelectClearTrigger: (props: SelectClearTriggerProps) => solid_js178.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/components/select/select-content.d.ts
|
|
19
19
|
interface SelectContentBaseProps extends PolymorphicProps<'div'> {}
|
|
20
20
|
interface SelectContentProps extends HTMLProps<'div'>, SelectContentBaseProps {}
|
|
21
|
-
declare const SelectContent: (props: SelectContentProps) =>
|
|
21
|
+
declare const SelectContent: (props: SelectContentProps) => solid_js178.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/components/select/use-select.d.ts
|
|
24
24
|
interface UseSelectProps<T extends CollectionItem> extends Optional<Omit<select.Props<T>, 'collection' | 'dir' | 'getRootNode'>, 'id'> {
|
|
@@ -39,22 +39,22 @@ declare const SelectContext: <T extends CollectionItem>(props: SelectContextProp
|
|
|
39
39
|
//#region src/components/select/select-control.d.ts
|
|
40
40
|
interface SelectControlBaseProps extends PolymorphicProps<'div'> {}
|
|
41
41
|
interface SelectControlProps extends HTMLProps<'div'>, SelectControlBaseProps {}
|
|
42
|
-
declare const SelectControl: (props: SelectControlProps) =>
|
|
42
|
+
declare const SelectControl: (props: SelectControlProps) => solid_js178.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/select/select-hidden-select.d.ts
|
|
45
45
|
interface SelectHiddenSelectBaseProps extends PolymorphicProps<'select'> {}
|
|
46
46
|
interface SelectHiddenSelectProps extends HTMLProps<'select'>, SelectHiddenSelectBaseProps {}
|
|
47
|
-
declare const SelectHiddenSelect: (props: SelectHiddenSelectProps) =>
|
|
47
|
+
declare const SelectHiddenSelect: (props: SelectHiddenSelectProps) => solid_js178.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/select/select-indicator.d.ts
|
|
50
50
|
interface SelectIndicatorBaseProps extends PolymorphicProps<'div'> {}
|
|
51
51
|
interface SelectIndicatorProps extends HTMLProps<'div'>, SelectIndicatorBaseProps {}
|
|
52
|
-
declare const SelectIndicator: (props: SelectIndicatorProps) =>
|
|
52
|
+
declare const SelectIndicator: (props: SelectIndicatorProps) => solid_js178.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/select/select-item.d.ts
|
|
55
55
|
interface SelectItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
56
56
|
interface SelectItemProps extends HTMLProps<'div'>, SelectItemBaseProps {}
|
|
57
|
-
declare const SelectItem: (props: SelectItemProps) =>
|
|
57
|
+
declare const SelectItem: (props: SelectItemProps) => solid_js178.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/components/select/use-select-item-context.d.ts
|
|
60
60
|
interface UseSelectItemContext extends Accessor<ItemState> {}
|
|
@@ -68,37 +68,37 @@ declare const SelectItemContext: (props: SelectItemContextProps) => JSX.Element;
|
|
|
68
68
|
//#region src/components/select/select-item-group.d.ts
|
|
69
69
|
interface SelectItemGroupBaseProps extends PolymorphicProps<'div'> {}
|
|
70
70
|
interface SelectItemGroupProps extends HTMLProps<'div'>, SelectItemGroupBaseProps {}
|
|
71
|
-
declare const SelectItemGroup: (props: SelectItemGroupProps) =>
|
|
71
|
+
declare const SelectItemGroup: (props: SelectItemGroupProps) => solid_js178.JSX.Element;
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/select/select-item-group-label.d.ts
|
|
74
74
|
interface SelectItemGroupLabelBaseProps extends PolymorphicProps<'div'> {}
|
|
75
75
|
interface SelectItemGroupLabelProps extends HTMLProps<'div'>, SelectItemGroupLabelBaseProps {}
|
|
76
|
-
declare const SelectItemGroupLabel: (props: SelectItemGroupLabelProps) =>
|
|
76
|
+
declare const SelectItemGroupLabel: (props: SelectItemGroupLabelProps) => solid_js178.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/components/select/select-item-indicator.d.ts
|
|
79
79
|
interface SelectItemIndicatorBaseProps extends PolymorphicProps<'div'> {}
|
|
80
80
|
interface SelectItemIndicatorProps extends HTMLProps<'div'>, SelectItemIndicatorBaseProps {}
|
|
81
|
-
declare const SelectItemIndicator: (props: SelectItemIndicatorProps) =>
|
|
81
|
+
declare const SelectItemIndicator: (props: SelectItemIndicatorProps) => solid_js178.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/components/select/select-item-text.d.ts
|
|
84
84
|
interface SelectItemTextBaseProps extends PolymorphicProps<'span'> {}
|
|
85
85
|
interface SelectItemTextProps extends HTMLProps<'span'>, SelectItemTextBaseProps {}
|
|
86
|
-
declare const SelectItemText: (props: SelectItemTextProps) =>
|
|
86
|
+
declare const SelectItemText: (props: SelectItemTextProps) => solid_js178.JSX.Element;
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/components/select/select-label.d.ts
|
|
89
89
|
interface SelectLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
90
90
|
interface SelectLabelProps extends HTMLProps<'label'>, SelectLabelBaseProps {}
|
|
91
|
-
declare const SelectLabel: (props: SelectLabelProps) =>
|
|
91
|
+
declare const SelectLabel: (props: SelectLabelProps) => solid_js178.JSX.Element;
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/select/select-list.d.ts
|
|
94
94
|
interface SelectListBaseProps extends PolymorphicProps<'div'> {}
|
|
95
95
|
interface SelectListProps extends HTMLProps<'div'>, SelectListBaseProps {}
|
|
96
|
-
declare const SelectList: (props: SelectListProps) =>
|
|
96
|
+
declare const SelectList: (props: SelectListProps) => solid_js178.JSX.Element;
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/components/select/select-positioner.d.ts
|
|
99
99
|
interface SelectPositionerBaseProps extends PolymorphicProps<'div'> {}
|
|
100
100
|
interface SelectPositionerProps extends HTMLProps<'div'>, SelectPositionerBaseProps {}
|
|
101
|
-
declare const SelectPositioner: (props: SelectPositionerProps) =>
|
|
101
|
+
declare const SelectPositioner: (props: SelectPositionerProps) => solid_js178.JSX.Element;
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region src/components/select/select-root.d.ts
|
|
104
104
|
interface SelectRootBaseProps<T extends CollectionItem> extends UseSelectProps<T>, UsePresenceProps, PolymorphicProps<'div'> {}
|
|
@@ -119,14 +119,14 @@ type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Ass
|
|
|
119
119
|
//#region src/components/select/select-trigger.d.ts
|
|
120
120
|
interface SelectTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
121
121
|
interface SelectTriggerProps extends HTMLProps<'button'>, SelectTriggerBaseProps {}
|
|
122
|
-
declare const SelectTrigger: (props: SelectTriggerProps) =>
|
|
122
|
+
declare const SelectTrigger: (props: SelectTriggerProps) => solid_js178.JSX.Element;
|
|
123
123
|
//#endregion
|
|
124
124
|
//#region src/components/select/select-value-text.d.ts
|
|
125
125
|
interface SelectValueTextBaseProps extends PolymorphicProps<'span'> {
|
|
126
126
|
placeholder?: string;
|
|
127
127
|
}
|
|
128
128
|
interface SelectValueTextProps extends HTMLProps<'span'>, SelectValueTextBaseProps {}
|
|
129
|
-
declare const SelectValueText: (props: SelectValueTextProps) =>
|
|
129
|
+
declare const SelectValueText: (props: SelectValueTextProps) => solid_js178.JSX.Element;
|
|
130
130
|
declare namespace select_d_exports {
|
|
131
131
|
export { SelectClearTrigger as ClearTrigger, SelectClearTriggerBaseProps as ClearTriggerBaseProps, SelectClearTriggerProps as ClearTriggerProps, CollectionItem, SelectContent as Content, SelectContentBaseProps as ContentBaseProps, SelectContentProps as ContentProps, SelectContext as Context, SelectContextProps as ContextProps, SelectControl as Control, SelectControlBaseProps as ControlBaseProps, SelectControlProps as ControlProps, FocusOutsideEvent, SelectHiddenSelect as HiddenSelect, SelectHiddenSelectBaseProps as HiddenSelectBaseProps, SelectHiddenSelectProps as HiddenSelectProps, HighlightChangeDetails, SelectIndicator as Indicator, SelectIndicatorBaseProps as IndicatorBaseProps, SelectIndicatorProps as IndicatorProps, InteractOutsideEvent, SelectItem as Item, SelectItemBaseProps as ItemBaseProps, SelectItemContext as ItemContext, SelectItemContextProps as ItemContextProps, SelectItemGroup as ItemGroup, SelectItemGroupBaseProps as ItemGroupBaseProps, SelectItemGroupLabel as ItemGroupLabel, SelectItemGroupLabelBaseProps as ItemGroupLabelBaseProps, SelectItemGroupLabelProps as ItemGroupLabelProps, SelectItemGroupProps as ItemGroupProps, SelectItemIndicator as ItemIndicator, SelectItemIndicatorBaseProps as ItemIndicatorBaseProps, SelectItemIndicatorProps as ItemIndicatorProps, SelectItemProps as ItemProps, SelectItemText as ItemText, SelectItemTextBaseProps as ItemTextBaseProps, SelectItemTextProps as ItemTextProps, SelectLabel as Label, SelectLabelBaseProps as LabelBaseProps, SelectLabelProps as LabelProps, SelectList as List, SelectListBaseProps as ListBaseProps, ListCollection, SelectListProps as ListProps, OpenChangeDetails, PointerDownOutsideEvent, SelectPositioner as Positioner, SelectPositionerBaseProps as PositionerBaseProps, SelectPositionerProps as PositionerProps, SelectRoot as Root, SelectRootBaseProps as RootBaseProps, SelectRootComponent as RootComponent, SelectRootComponentProps as RootComponentProps, SelectRootProps as RootProps, SelectRootProvider as RootProvider, SelectRootProviderBaseProps as RootProviderBaseProps, SelectRootProviderComponent as RootProviderComponent, SelectRootProviderProps as RootProviderProps, SelectTrigger as Trigger, SelectTriggerBaseProps as TriggerBaseProps, SelectTriggerProps as TriggerProps, ValueChangeDetails, SelectValueText as ValueText, SelectValueTextBaseProps as ValueTextBaseProps, SelectValueTextProps as ValueTextProps };
|
|
132
132
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as __export } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
11
|
-
import "../../fieldset-
|
|
12
|
-
import { m as useFieldContext } from "../../field-
|
|
13
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
1
|
+
import { t as __export } from "../../chunk-Bn8mXcTA.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-CRjuRw95.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-C80kt4dU.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DlXBVMoq.js";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-DgUckEdb.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-k8EbNZ7r.js";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-BHmgTHSf.js";
|
|
8
|
+
import "../../render-strategy-BlHCR8sl.js";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-tCBI7PRJ.js";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-Clrs1hmS.js";
|
|
11
|
+
import "../../fieldset-B2nK8dL5.js";
|
|
12
|
+
import { m as useFieldContext } from "../../field-CZv3v7K-.js";
|
|
13
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-BVSLJ8Vb.js";
|
|
14
14
|
import { Index, Show, createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import { createComponent, effect, insert, mergeProps as mergeProps$1, template } from "solid-js/web";
|
|
16
16
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as __export } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
11
|
-
import "../../fieldset-
|
|
12
|
-
import { m as useFieldContext } from "../../field-
|
|
13
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
1
|
+
import { t as __export } from "../../chunk-BJ7z6UrO.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-C_FYj4uc.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CrJzzDIM.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-BwqlrMqL.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-C6VPiSrB.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-BIJk1mK6.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CKwjjjkD.jsx";
|
|
8
|
+
import "../../render-strategy-KJFIjVVG.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Cp4AShsY.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-H4-8_5_s.jsx";
|
|
11
|
+
import "../../fieldset-aYQsMWX2.jsx";
|
|
12
|
+
import { m as useFieldContext } from "../../field-CtkmPUb0.jsx";
|
|
13
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-CIXQG-Ne.jsx";
|
|
14
14
|
import { Index, Show, createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
16
16
|
import { anatomy as selectAnatomy } from "@sprawlify/primitives/machines/select";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../../index-BLALA3BS.js";
|
|
2
|
+
import "../../types-mGUbKy2h.js";
|
|
3
|
+
import "../../factory-srnAQg4A.js";
|
|
4
|
+
import "../../render-strategy-BmTDUy3U.js";
|
|
5
|
+
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-BwthXhaG.js";
|
|
6
|
+
import { $ as TreeViewItemProps, A as TreeViewNodeContextProps, B as TreeViewNodeCheckboxBaseProps, C as TreeViewRootComponent, Ct as TreeViewBranchContentBaseProps, D as TreeViewNodeProviderBaseProps, Dt as TreeViewBranchProps, E as TreeViewNodeProvider, Et as TreeViewBranchBaseProps, F as TreeViewNodeRenameInputProps, G as TreeViewItemText, H as TreeViewLabel, I as TreeViewNodeCheckboxIndicator, J as TreeViewItemIndicator, K as TreeViewItemTextBaseProps, L as TreeViewNodeCheckboxIndicatorBaseProps, M as useTreeViewNodeContext, N as TreeViewNodeRenameInput, O as TreeViewNodeProviderProps, P as TreeViewNodeRenameInputBaseProps, Q as TreeViewItemBaseProps, R as TreeViewNodeCheckboxIndicatorProps, S as TreeViewRootBaseProps, St as TreeViewBranchContent, T as TreeViewRootProps, Tt as TreeViewBranch, U as TreeViewLabelBaseProps, V as TreeViewNodeCheckboxProps, W as TreeViewLabelProps, X as TreeViewItemIndicatorProps, Y as TreeViewItemIndicatorBaseProps, Z as TreeViewItem, _ as TreeViewRootProvider, _t as TreeViewBranchIndentGuideBaseProps, a as TreeViewLoadChildrenDetails, at as UseTreeViewReturn, b as TreeViewRootProviderProps, bt as TreeViewBranchControlBaseProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerBaseProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextBaseProps, et as TreeViewContext, f as tree_view_d_exports, ft as TreeViewBranchTextProps, g as TreeViewTreeProps, gt as TreeViewBranchIndentGuide, h as TreeViewTreeBaseProps, ht as TreeViewBranchIndicatorProps, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewProps, j as UseTreeViewNodeContext, k as TreeViewNodeContext, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchTriggerProps, m as TreeViewTree, mt as TreeViewBranchIndicatorBaseProps, n as TreeViewExpandedChangeDetails, nt as UseTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as useTreeView, p as treeViewAnatomy, pt as TreeViewBranchIndicator, q as TreeViewItemTextProps, r as TreeViewFocusChangeDetails, rt as useTreeViewContext, s as TreeViewNodeProps, st as TreeViewBranchTrigger, t as TreeViewCheckedChangeDetails, tt as TreeViewContextProps, u as TreeViewRenameStartDetails, ut as TreeViewBranchText, v as TreeViewRootProviderBaseProps, vt as TreeViewBranchIndentGuideProps, w as TreeViewRootComponentProps, wt as TreeViewBranchContentProps, x as TreeViewRoot, xt as TreeViewBranchControlProps, y as TreeViewRootProviderComponent, yt as TreeViewBranchControl, z as TreeViewNodeCheckbox } from "../../index-Dqmtlqpz.js";
|
|
7
|
+
export { TreeCollection, TreeNode, tree_view_d_exports as TreeView, TreeViewBranch, TreeViewBranchBaseProps, TreeViewBranchContent, TreeViewBranchContentBaseProps, TreeViewBranchContentProps, TreeViewBranchControl, TreeViewBranchControlBaseProps, TreeViewBranchControlProps, TreeViewBranchIndentGuide, TreeViewBranchIndentGuideBaseProps, TreeViewBranchIndentGuideProps, TreeViewBranchIndicator, TreeViewBranchIndicatorBaseProps, TreeViewBranchIndicatorProps, TreeViewBranchProps, TreeViewBranchText, TreeViewBranchTextBaseProps, TreeViewBranchTextProps, TreeViewBranchTrigger, TreeViewBranchTriggerBaseProps, TreeViewBranchTriggerProps, TreeViewCheckedChangeDetails, TreeViewContext, TreeViewContextProps, TreeViewExpandedChangeDetails, TreeViewFocusChangeDetails, TreeViewItem, TreeViewItemBaseProps, TreeViewItemIndicator, TreeViewItemIndicatorBaseProps, TreeViewItemIndicatorProps, TreeViewItemProps, TreeViewItemText, TreeViewItemTextBaseProps, TreeViewItemTextProps, TreeViewLabel, TreeViewLabelBaseProps, TreeViewLabelProps, TreeViewLoadChildrenCompleteDetails, TreeViewLoadChildrenDetails, TreeViewLoadChildrenErrorDetails, TreeViewNodeCheckbox, TreeViewNodeCheckboxBaseProps, TreeViewNodeCheckboxIndicator, TreeViewNodeCheckboxIndicatorBaseProps, TreeViewNodeCheckboxIndicatorProps, TreeViewNodeCheckboxProps, TreeViewNodeContext, TreeViewNodeContextProps, TreeViewNodeProps, TreeViewNodeProvider, TreeViewNodeProviderBaseProps, TreeViewNodeProviderProps, TreeViewNodeRenameInput, TreeViewNodeRenameInputBaseProps, TreeViewNodeRenameInputProps, TreeViewNodeState, TreeViewRenameCompleteDetails, TreeViewRenameStartDetails, TreeViewRoot, TreeViewRootBaseProps, TreeViewRootComponent, TreeViewRootComponentProps, TreeViewRootProps, TreeViewRootProvider, TreeViewRootProviderBaseProps, TreeViewRootProviderComponent, TreeViewRootProviderProps, TreeViewSelectionChangeDetails, TreeViewTree, TreeViewTreeBaseProps, TreeViewTreeProps, UseTreeViewContext, UseTreeViewNodeContext, UseTreeViewProps, UseTreeViewReturn, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../../core-CRjuRw95.js";
|
|
2
|
+
import "../../create-context-DlXBVMoq.js";
|
|
3
|
+
import "../../providers-DgUckEdb.js";
|
|
4
|
+
import "../../factory-k8EbNZ7r.js";
|
|
5
|
+
import "../../create-split-props-BHmgTHSf.js";
|
|
6
|
+
import "../../render-strategy-BlHCR8sl.js";
|
|
7
|
+
import "../../collapsible-BT7AHLQr.js";
|
|
8
|
+
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-BVSLJ8Vb.js";
|
|
9
|
+
import { C as TreeViewBranch, S as TreeViewBranchContent, T as useTreeViewContext, _ as TreeViewBranchTrigger, a as TreeViewRoot, b as TreeViewBranchIndentGuide, c as TreeViewNodeContext, d as TreeViewNodeCheckbox, f as TreeViewLabel, g as TreeViewContext, h as TreeViewItem, i as TreeViewRootProvider, l as TreeViewNodeRenameInput, m as TreeViewItemIndicator, n as treeViewAnatomy, o as useTreeView, p as TreeViewItemText, r as TreeViewTree, s as TreeViewNodeProvider, t as tree_view_exports, u as TreeViewNodeCheckboxIndicator, v as TreeViewBranchText, w as useTreeViewNodeContext, x as TreeViewBranchControl, y as TreeViewBranchIndicator } from "../../tree-view-CyvT0V14.js";
|
|
10
|
+
|
|
11
|
+
export { tree_view_exports as TreeView, TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewNodeRenameInput, TreeViewRoot, TreeViewRootProvider, TreeViewTree, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../../core-C_FYj4uc.jsx";
|
|
2
|
+
import "../../create-context-BwqlrMqL.jsx";
|
|
3
|
+
import "../../providers-C6VPiSrB.jsx";
|
|
4
|
+
import "../../factory-BIJk1mK6.jsx";
|
|
5
|
+
import "../../create-split-props-CKwjjjkD.jsx";
|
|
6
|
+
import "../../render-strategy-KJFIjVVG.jsx";
|
|
7
|
+
import "../../collapsible-14K1NkX_.jsx";
|
|
8
|
+
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-CIXQG-Ne.jsx";
|
|
9
|
+
import { C as TreeViewBranch, S as TreeViewBranchContent, T as useTreeViewContext, _ as TreeViewBranchTrigger, a as TreeViewRoot, b as TreeViewBranchIndentGuide, c as TreeViewNodeContext, d as TreeViewNodeCheckbox, f as TreeViewLabel, g as TreeViewContext, h as TreeViewItem, i as TreeViewRootProvider, l as TreeViewNodeRenameInput, m as TreeViewItemIndicator, n as treeViewAnatomy, o as useTreeView, p as TreeViewItemText, r as TreeViewTree, s as TreeViewNodeProvider, t as tree_view_exports, u as TreeViewNodeCheckboxIndicator, v as TreeViewBranchText, w as useTreeViewNodeContext, x as TreeViewBranchControl, y as TreeViewBranchIndicator } from "../../tree-view-DJgvku6y.jsx";
|
|
10
|
+
|
|
11
|
+
export { tree_view_exports as TreeView, TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewNodeRenameInput, TreeViewRoot, TreeViewRootProvider, TreeViewTree, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { t as Assign } from "./types-mGUbKy2h.js";
|
|
1
2
|
import { ComponentProps, JSX } from "solid-js";
|
|
2
3
|
|
|
3
4
|
//#region src/components/factory.d.ts
|
|
4
5
|
type ElementType = keyof JSX.IntrinsicElements;
|
|
6
|
+
type JsxElements = { [E in ElementType]: SprawlifyComponent<E> };
|
|
5
7
|
type ParentProps$1<T extends ElementType> = (userProps?: JSX.IntrinsicElements[T]) => JSX.HTMLAttributes<any>;
|
|
6
8
|
type PolymorphicProps<T extends ElementType> = {
|
|
7
9
|
/**
|
|
@@ -10,5 +12,8 @@ type PolymorphicProps<T extends ElementType> = {
|
|
|
10
12
|
asChild?: (props: ParentProps$1<T>) => JSX.Element;
|
|
11
13
|
};
|
|
12
14
|
type HTMLProps<E$1 extends ElementType> = JSX.IntrinsicElements[E$1];
|
|
15
|
+
type HTMLSprawlifyProps<E$1 extends ElementType> = Assign<ComponentProps<E$1>, PolymorphicProps<E$1>>;
|
|
16
|
+
type SprawlifyComponent<E$1 extends ElementType> = (props: HTMLSprawlifyProps<E$1>) => JSX.Element;
|
|
17
|
+
declare const sprawlify: JsxElements;
|
|
13
18
|
//#endregion
|
|
14
|
-
export {
|
|
19
|
+
export { sprawlify as i, HTMLSprawlifyProps as n, PolymorphicProps as r, HTMLProps as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
2
|
-
import { r as mergeProps$2 } from "./core-
|
|
3
|
-
import { t as createContext$1 } from "./create-context-
|
|
4
|
-
import { o as useEnvironmentContext } from "./providers-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as composeRefs } from "./compose-refs-
|
|
8
|
-
import { u as useFieldsetContext } from "./fieldset-
|
|
1
|
+
import { t as __export } from "./chunk-Bn8mXcTA.js";
|
|
2
|
+
import { r as mergeProps$2 } from "./core-CRjuRw95.js";
|
|
3
|
+
import { t as createContext$1 } from "./create-context-DlXBVMoq.js";
|
|
4
|
+
import { o as useEnvironmentContext } from "./providers-DgUckEdb.js";
|
|
5
|
+
import { t as sprawlify } from "./factory-k8EbNZ7r.js";
|
|
6
|
+
import { t as createSplitProps } from "./create-split-props-BHmgTHSf.js";
|
|
7
|
+
import { t as composeRefs } from "./compose-refs-tCBI7PRJ.js";
|
|
8
|
+
import { u as useFieldsetContext } from "./fieldset-B2nK8dL5.js";
|
|
9
9
|
import { Show, createMemo, createSignal, createUniqueId, mergeProps, onCleanup, onMount, splitProps } from "solid-js";
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
11
11
|
import { ariaAttr, dataAttr } from "@sprawlify/primitives/dom-query";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
2
|
-
import { r as mergeProps$1 } from "./core-
|
|
3
|
-
import { t as createContext$1 } from "./create-context-
|
|
4
|
-
import { o as useEnvironmentContext } from "./providers-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as composeRefs } from "./compose-refs-
|
|
8
|
-
import { u as useFieldsetContext } from "./fieldset-
|
|
1
|
+
import { t as __export } from "./chunk-BJ7z6UrO.jsx";
|
|
2
|
+
import { r as mergeProps$1 } from "./core-C_FYj4uc.jsx";
|
|
3
|
+
import { t as createContext$1 } from "./create-context-BwqlrMqL.jsx";
|
|
4
|
+
import { o as useEnvironmentContext } from "./providers-C6VPiSrB.jsx";
|
|
5
|
+
import { t as sprawlify } from "./factory-BIJk1mK6.jsx";
|
|
6
|
+
import { t as createSplitProps } from "./create-split-props-CKwjjjkD.jsx";
|
|
7
|
+
import { t as composeRefs } from "./compose-refs-Cp4AShsY.jsx";
|
|
8
|
+
import { u as useFieldsetContext } from "./fieldset-aYQsMWX2.jsx";
|
|
9
9
|
import { Show, createMemo, createSignal, createUniqueId, mergeProps, onCleanup, onMount, splitProps } from "solid-js";
|
|
10
10
|
import { ariaAttr, dataAttr } from "@sprawlify/primitives/dom-query";
|
|
11
11
|
import { createAnatomy } from "@sprawlify/primitives/anatomy";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
2
|
-
import { r as mergeProps$2 } from "./core-
|
|
3
|
-
import { t as runIfFn } from "./run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "./create-context-
|
|
5
|
-
import { o as useEnvironmentContext } from "./providers-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as composeRefs } from "./compose-refs-
|
|
1
|
+
import { t as __export } from "./chunk-Bn8mXcTA.js";
|
|
2
|
+
import { r as mergeProps$2 } from "./core-CRjuRw95.js";
|
|
3
|
+
import { t as runIfFn } from "./run-if-fn-C80kt4dU.js";
|
|
4
|
+
import { t as createContext$1 } from "./create-context-DlXBVMoq.js";
|
|
5
|
+
import { o as useEnvironmentContext } from "./providers-DgUckEdb.js";
|
|
6
|
+
import { t as sprawlify } from "./factory-k8EbNZ7r.js";
|
|
7
|
+
import { t as createSplitProps } from "./create-split-props-BHmgTHSf.js";
|
|
8
|
+
import { t as composeRefs } from "./compose-refs-tCBI7PRJ.js";
|
|
9
9
|
import { Show, createMemo, createSignal, createUniqueId, mergeProps, onCleanup, onMount } from "solid-js";
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
11
11
|
import { dataAttr } from "@sprawlify/primitives/dom-query";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
2
|
-
import { r as mergeProps$1 } from "./core-
|
|
3
|
-
import { t as runIfFn } from "./run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "./create-context-
|
|
5
|
-
import { o as useEnvironmentContext } from "./providers-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as composeRefs } from "./compose-refs-
|
|
1
|
+
import { t as __export } from "./chunk-BJ7z6UrO.jsx";
|
|
2
|
+
import { r as mergeProps$1 } from "./core-C_FYj4uc.jsx";
|
|
3
|
+
import { t as runIfFn } from "./run-if-fn-CrJzzDIM.jsx";
|
|
4
|
+
import { t as createContext$1 } from "./create-context-BwqlrMqL.jsx";
|
|
5
|
+
import { o as useEnvironmentContext } from "./providers-C6VPiSrB.jsx";
|
|
6
|
+
import { t as sprawlify } from "./factory-BIJk1mK6.jsx";
|
|
7
|
+
import { t as createSplitProps } from "./create-split-props-CKwjjjkD.jsx";
|
|
8
|
+
import { t as composeRefs } from "./compose-refs-Cp4AShsY.jsx";
|
|
9
9
|
import { Show, createMemo, createSignal, createUniqueId, mergeProps, onCleanup, onMount } from "solid-js";
|
|
10
10
|
import { dataAttr } from "@sprawlify/primitives/dom-query";
|
|
11
11
|
import { createAnatomy } from "@sprawlify/primitives/anatomy";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MaybeAccessor } from "./types-
|
|
1
|
+
import { n as MaybeAccessor } from "./types-mGUbKy2h.js";
|
|
2
2
|
import { Accessor } from "solid-js";
|
|
3
3
|
import { CollectionItem, CollectionItem as CollectionItem$1, CollectionOptions, FilePathTreeNode, FilePathTreeNode as FilePathTreeNode$1, FlatTreeNode, GridCollection as GridCollection$1, GridCollectionOptions, ListCollection as ListCollection$1, SelectionMode, TreeCollection, TreeCollection as TreeCollection$1, TreeCollectionOptions, TreeCollectionOptions as TreeCollectionOptions$1, TreeNode, TreeNode as TreeNode$1 } from "@sprawlify/primitives/collection";
|
|
4
4
|
import * as asyncList from "@sprawlify/primitives/machines/async-list";
|