@sprawlify/react 0.0.12 → 0.0.13
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/{anatomy-DlQefg0w.d.mts → anatomy-BOmvCBUH.d.mts} +9 -9
- package/dist/{anatomy-DmGN5EDX.d.cts → anatomy-BYeZ7Y9V.d.cts} +9 -9
- package/dist/carousel-anatomy-DC_eAOsG.d.cts +6 -0
- package/dist/carousel-anatomy-DK8HmHob.d.mts +6 -0
- package/dist/{checkbox-anatomy-BYqkx7gU.d.cts → checkbox-anatomy-BJwyNldc.d.cts} +1 -1
- package/dist/checkbox-anatomy-C9t_IpJc.d.mts +6 -0
- package/dist/{collection-DC2n80Ca.mjs → collection-CaKlydgq.mjs} +1 -1
- package/dist/{collection-vSAfeUyg.cjs → collection-_Y7sMbTm.cjs} +1 -1
- package/dist/color-picker-anatomy-QYZxakY6.d.cts +6 -0
- package/dist/color-picker-anatomy-fGWz8vMQ.d.mts +6 -0
- package/dist/combobox-anatomy-CsnIZapu.d.mts +6 -0
- package/dist/{combobox-anatomy-BTi3ykzS.d.cts → combobox-anatomy-dSGSIDL7.d.cts} +1 -1
- package/dist/components/accordion/index.d.cts +7 -7
- package/dist/components/accordion/index.d.mts +7 -7
- package/dist/components/anatomy.d.cts +10 -10
- package/dist/components/anatomy.d.mts +10 -10
- package/dist/components/angle-slider/index.d.cts +10 -10
- package/dist/components/angle-slider/index.d.mts +10 -10
- package/dist/components/avatar/index.d.cts +5 -5
- package/dist/components/avatar/index.d.mts +5 -5
- package/dist/components/bottom-sheet/index.cjs +2 -2
- package/dist/components/bottom-sheet/index.d.cts +12 -12
- package/dist/components/bottom-sheet/index.d.mts +12 -12
- package/dist/components/bottom-sheet/index.mjs +2 -2
- package/dist/components/carousel/index.d.cts +14 -14
- package/dist/components/carousel/index.d.mts +14 -14
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.d.cts +10 -10
- package/dist/components/checkbox/index.d.mts +10 -10
- package/dist/components/checkbox/index.mjs +5 -5
- package/dist/components/clipboard/index.d.cts +9 -9
- package/dist/components/clipboard/index.d.mts +9 -9
- package/dist/components/collapsible/index.d.cts +6 -6
- package/dist/components/collapsible/index.d.mts +6 -6
- package/dist/components/collection/index.cjs +2 -2
- package/dist/components/collection/index.mjs +2 -2
- package/dist/components/color-picker/index.cjs +5 -5
- package/dist/components/color-picker/index.d.cts +31 -31
- package/dist/components/color-picker/index.d.mts +31 -31
- package/dist/components/color-picker/index.mjs +5 -5
- package/dist/components/combobox/index.cjs +6 -6
- package/dist/components/combobox/index.d.cts +17 -17
- package/dist/components/combobox/index.d.mts +17 -17
- package/dist/components/combobox/index.mjs +6 -6
- package/dist/components/date-picker/index.cjs +2 -2
- package/dist/components/date-picker/index.d.cts +28 -28
- package/dist/components/date-picker/index.d.mts +28 -28
- package/dist/components/date-picker/index.mjs +2 -2
- package/dist/components/dialog/index.cjs +2 -2
- package/dist/components/dialog/index.d.cts +12 -12
- package/dist/components/dialog/index.d.mts +12 -12
- package/dist/components/dialog/index.mjs +2 -2
- package/dist/components/download-trigger/index.d.cts +2 -2
- package/dist/components/editable/index.cjs +3 -3
- package/dist/components/editable/index.d.cts +11 -11
- package/dist/components/editable/index.d.mts +11 -11
- package/dist/components/editable/index.mjs +3 -3
- package/dist/components/field/index.cjs +3 -3
- package/dist/components/field/index.d.cts +11 -11
- package/dist/components/field/index.d.mts +12 -12
- package/dist/components/field/index.mjs +3 -3
- package/dist/components/fieldset/index.cjs +3 -3
- package/dist/components/fieldset/index.d.cts +7 -7
- package/dist/components/fieldset/index.d.mts +7 -7
- package/dist/components/fieldset/index.mjs +3 -3
- package/dist/components/file-upload/index.cjs +3 -3
- package/dist/components/file-upload/index.d.cts +15 -15
- package/dist/components/file-upload/index.d.mts +15 -15
- package/dist/components/file-upload/index.mjs +3 -3
- package/dist/components/floating-panel/index.cjs +2 -2
- package/dist/components/floating-panel/index.d.cts +16 -16
- package/dist/components/floating-panel/index.d.mts +16 -16
- package/dist/components/floating-panel/index.mjs +2 -2
- package/dist/components/focus-trap/index.cjs +1 -1
- package/dist/components/focus-trap/index.d.cts +2 -2
- package/dist/components/focus-trap/index.d.mts +2 -2
- package/dist/components/focus-trap/index.mjs +1 -1
- package/dist/components/format/index.d.cts +4 -4
- package/dist/components/format/index.d.mts +4 -4
- package/dist/components/frame/index.cjs +1 -1
- package/dist/components/frame/index.d.cts +2 -2
- package/dist/components/frame/index.d.mts +2 -2
- package/dist/components/frame/index.mjs +1 -1
- package/dist/components/highlight/index.d.cts +2 -2
- package/dist/components/highlight/index.d.mts +2 -2
- package/dist/components/hover-card/index.cjs +2 -2
- package/dist/components/hover-card/index.d.cts +10 -10
- package/dist/components/hover-card/index.d.mts +7 -7
- package/dist/components/hover-card/index.mjs +2 -2
- package/dist/components/image-cropper/index.d.cts +8 -8
- package/dist/components/image-cropper/index.d.mts +8 -8
- package/dist/components/json-tree-view/index.cjs +2 -2
- package/dist/components/json-tree-view/index.d.cts +5 -5
- package/dist/components/json-tree-view/index.d.mts +5 -5
- package/dist/components/json-tree-view/index.mjs +2 -2
- package/dist/components/listbox/index.cjs +2 -2
- package/dist/components/listbox/index.d.cts +12 -12
- package/dist/components/listbox/index.d.mts +12 -12
- package/dist/components/listbox/index.mjs +2 -2
- package/dist/components/marquee/index.d.cts +7 -7
- package/dist/components/marquee/index.d.mts +7 -7
- package/dist/components/menu/index.cjs +2 -2
- package/dist/components/menu/index.d.cts +24 -24
- package/dist/components/menu/index.d.mts +34 -34
- package/dist/components/menu/index.mjs +2 -2
- package/dist/components/navigation-menu/index.cjs +2 -2
- package/dist/components/navigation-menu/index.d.cts +13 -13
- package/dist/components/navigation-menu/index.d.mts +13 -13
- package/dist/components/navigation-menu/index.mjs +2 -2
- package/dist/components/number-input/index.cjs +3 -3
- package/dist/components/number-input/index.d.cts +10 -10
- package/dist/components/number-input/index.d.mts +10 -10
- package/dist/components/number-input/index.mjs +3 -3
- package/dist/components/pagination/index.d.cts +9 -9
- package/dist/components/pagination/index.d.mts +9 -9
- package/dist/components/password-input/index.cjs +3 -3
- package/dist/components/password-input/index.d.cts +8 -8
- package/dist/components/password-input/index.d.mts +8 -8
- package/dist/components/password-input/index.mjs +3 -3
- package/dist/components/pin-input/index.cjs +3 -3
- package/dist/components/pin-input/index.d.cts +7 -7
- package/dist/components/pin-input/index.d.mts +7 -7
- package/dist/components/pin-input/index.mjs +3 -3
- package/dist/components/popover/index.cjs +2 -2
- package/dist/components/popover/index.d.cts +15 -15
- package/dist/components/popover/index.d.mts +15 -15
- package/dist/components/popover/index.mjs +2 -2
- package/dist/components/portal/index.d.mts +2 -2
- package/dist/components/presence/index.cjs +2 -2
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.mts +1 -1
- package/dist/components/presence/index.mjs +2 -2
- package/dist/components/progress/index.d.cts +11 -11
- package/dist/components/progress/index.d.mts +11 -11
- package/dist/components/qr-code/index.d.cts +7 -7
- package/dist/components/qr-code/index.d.mts +7 -7
- package/dist/components/radio-group/index.cjs +3 -3
- package/dist/components/radio-group/index.d.cts +9 -9
- package/dist/components/radio-group/index.d.mts +9 -9
- package/dist/components/radio-group/index.mjs +3 -3
- package/dist/components/rating-group/index.cjs +3 -3
- package/dist/components/rating-group/index.d.cts +7 -7
- package/dist/components/rating-group/index.d.mts +7 -7
- package/dist/components/rating-group/index.mjs +3 -3
- package/dist/components/scroll-area/index.d.cts +8 -8
- package/dist/components/scroll-area/index.d.mts +8 -8
- package/dist/components/segment-group/index.d.cts +10 -10
- package/dist/components/segment-group/index.d.mts +10 -10
- package/dist/components/select/index.cjs +6 -6
- package/dist/components/select/index.d.cts +17 -17
- package/dist/components/select/index.d.mts +17 -17
- package/dist/components/select/index.mjs +6 -6
- package/dist/components/signature-pad/index.cjs +3 -3
- package/dist/components/signature-pad/index.d.cts +9 -9
- package/dist/components/signature-pad/index.d.mts +9 -9
- package/dist/components/signature-pad/index.mjs +3 -3
- package/dist/components/slider/index.d.cts +13 -13
- package/dist/components/slider/index.d.mts +13 -13
- package/dist/components/splitter/index.d.cts +6 -6
- package/dist/components/splitter/index.d.mts +6 -6
- package/dist/components/steps/index.d.cts +13 -13
- package/dist/components/steps/index.d.mts +13 -13
- package/dist/components/switch/index.cjs +3 -3
- package/dist/components/switch/index.d.cts +7 -7
- package/dist/components/switch/index.d.mts +7 -7
- package/dist/components/switch/index.mjs +3 -3
- package/dist/components/tabs/index.cjs +2 -2
- package/dist/components/tabs/index.d.mts +7 -7
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tags-input/index.cjs +3 -3
- package/dist/components/tags-input/index.d.cts +13 -13
- package/dist/components/tags-input/index.d.mts +13 -13
- package/dist/components/tags-input/index.mjs +3 -3
- package/dist/components/timer/index.d.cts +8 -8
- package/dist/components/timer/index.d.mts +8 -8
- package/dist/components/toast/index.d.cts +7 -7
- package/dist/components/toast/index.d.mts +7 -7
- package/dist/components/toggle/index.d.cts +4 -4
- package/dist/components/toggle/index.d.mts +3 -3
- package/dist/components/toggle-group/index.d.cts +4 -4
- package/dist/components/toggle-group/index.d.mts +4 -4
- package/dist/components/tooltip/index.cjs +2 -2
- package/dist/components/tooltip/index.d.cts +10 -10
- package/dist/components/tooltip/index.d.mts +10 -10
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tour/index.cjs +2 -2
- package/dist/components/tour/index.d.cts +17 -17
- package/dist/components/tour/index.d.mts +17 -17
- package/dist/components/tour/index.mjs +2 -2
- package/dist/components/tree-view/index.cjs +2 -2
- package/dist/components/tree-view/index.d.cts +1 -1
- package/dist/components/tree-view/index.d.mts +1 -1
- package/dist/components/tree-view/index.mjs +2 -2
- package/dist/{date-picker-anatomy-2lDLVU51.d.cts → date-picker-anatomy-Bp-cHym9.d.cts} +1 -1
- package/dist/{date-picker-anatomy-BrlBabBY.d.mts → date-picker-anatomy-u3QG22sU.d.mts} +2 -2
- package/dist/{field-CLzd5kft.cjs → field-BA77t9Y1.cjs} +2 -2
- package/dist/{field-ERrPWOxL.mjs → field-C1sN-xXx.mjs} +2 -2
- package/dist/{field-anatomy-CDkbXwWy.d.mts → field-anatomy-DCxKf8B2.d.mts} +2 -2
- package/dist/{fieldset-DlLdnWb8.mjs → fieldset-3Atj1JBY.mjs} +2 -2
- package/dist/{fieldset-5OWGQQeF.cjs → fieldset-D1C6ulwM.cjs} +2 -2
- package/dist/{index-CVePF5vp.d.cts → index-B4hs1V2V.d.cts} +13 -13
- package/dist/{index-CQvWsTAJ.d.cts → index-BDU3ziBq.d.cts} +20 -20
- package/dist/{index-BuMIGScO.d.cts → index-BQBevwhk.d.cts} +1 -1
- package/dist/{index-CVR-XtKc.d.mts → index-CCE-vSa-.d.mts} +10 -10
- package/dist/{index-D_ytaexs.d.mts → index-CTTN6Ulp.d.mts} +4 -4
- package/dist/{index-1_WyzYC0.d.mts → index-DBCVM320.d.mts} +20 -20
- package/dist/index.d.cts +11 -11
- package/dist/index.d.mts +11 -11
- package/dist/listbox-anatomy-CmVVbWlj.d.mts +6 -0
- package/dist/{listbox-anatomy-D2RQsV2e.d.cts → listbox-anatomy-eCapI8Fs.d.cts} +1 -1
- package/dist/{presence-Dn_PF98l.mjs → presence-DsT2DB6l.mjs} +1 -1
- package/dist/{presence-r3UGqxcZ.cjs → presence-iKKWvN-v.cjs} +1 -1
- package/dist/{segment-group-anatomy-CH2JEagV.d.mts → segment-group-anatomy-C3-ibQRv.d.mts} +2 -2
- package/dist/{segment-group-anatomy-B-X8Uf79.d.cts → segment-group-anatomy-DZKokXB8.d.cts} +2 -2
- package/dist/toggle-anatomy-VW_BOK95.d.cts +6 -0
- package/dist/{tour-anatomy-Cn7I6DSK.d.mts → tour-anatomy-3dfyCb8m.d.cts} +1 -1
- package/dist/tour-anatomy-JPbvrARr.d.mts +6 -0
- package/package.json +12 -2
- package/dist/carousel-anatomy-C7cKSp4-.d.mts +0 -6
- package/dist/carousel-anatomy-CS1MhANU.d.cts +0 -6
- package/dist/checkbox-anatomy-GrQ9fD3d.d.mts +0 -6
- package/dist/color-picker-anatomy-Cz2IEv2-.d.cts +0 -6
- package/dist/color-picker-anatomy-D-f8NkKr.d.mts +0 -6
- package/dist/combobox-anatomy-C28sQ-W1.d.mts +0 -6
- package/dist/listbox-anatomy-K-QD2oWg.d.mts +0 -6
- package/dist/toggle-anatomy-CQ1yDXok.d.cts +0 -6
- package/dist/tour-anatomy-qnwrcajb.d.cts +0 -6
- /package/dist/{use-event-C9pVOtdG.cjs → use-event-BL68q4DR.cjs} +0 -0
- /package/dist/{use-event-C9vp_bYl.mjs → use-event-BQvOizow.mjs} +0 -0
- /package/dist/{use-fieldset-context-DMlYDhkR.mjs → use-fieldset-context-CYT86HpU.mjs} +0 -0
- /package/dist/{use-fieldset-context-Dxzjsaww.cjs → use-fieldset-context-rTJubcWd.cjs} +0 -0
- /package/dist/{use-safe-layout-effect-c21-N1lb.mjs → use-safe-layout-effect-UfjICYRK.mjs} +0 -0
- /package/dist/{use-safe-layout-effect-ae91TgDe.cjs → use-safe-layout-effect-eViJP4Fs.cjs} +0 -0
|
@@ -3,46 +3,46 @@ import { r as Optional, t as Assign } from "./types-DRV9A4aT.mjs";
|
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "./factory-FP_lLEyP.mjs";
|
|
4
4
|
import { t as RenderStrategyProps } from "./render-strategy-xT5FMQr3.mjs";
|
|
5
5
|
import { f as TreeCollection, m as TreeNode } from "./index-CY4q0enN.mjs";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react754 from "react";
|
|
7
7
|
import { JSX } from "react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
9
9
|
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
10
10
|
import { CheckedChangeDetails, CheckedChangeDetails as TreeViewCheckedChangeDetails, ExpandedChangeDetails, ExpandedChangeDetails as TreeViewExpandedChangeDetails, FocusChangeDetails, FocusChangeDetails as TreeViewFocusChangeDetails, LoadChildrenCompleteDetails, LoadChildrenCompleteDetails as TreeViewLoadChildrenCompleteDetails, LoadChildrenDetails, LoadChildrenDetails as TreeViewLoadChildrenDetails, LoadChildrenErrorDetails, LoadChildrenErrorDetails as TreeViewLoadChildrenErrorDetails, NodeProps, NodeProps as NodeProps$1, NodeProps as TreeViewNodeProps, NodeState, NodeState as NodeState$1, NodeState as TreeViewNodeState, RenameCompleteDetails, RenameCompleteDetails as TreeViewRenameCompleteDetails, RenameStartDetails, RenameStartDetails as TreeViewRenameStartDetails, SelectionChangeDetails, SelectionChangeDetails as TreeViewSelectionChangeDetails } from "@sprawlify/primitives/machines/tree-view";
|
|
11
11
|
|
|
12
12
|
//#region src/components/tree-view/tree-view-branch.d.ts
|
|
13
13
|
interface TreeViewBranchBaseProps extends PolymorphicProps {}
|
|
14
14
|
interface TreeViewBranchProps extends Assign<HTMLProps<"div">, TreeViewBranchBaseProps> {}
|
|
15
|
-
declare const TreeViewBranch:
|
|
15
|
+
declare const TreeViewBranch: react754.ForwardRefExoticComponent<TreeViewBranchProps & react754.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/components/tree-view/tree-view-branch-content.d.ts
|
|
18
18
|
interface TreeViewBranchContentBaseProps extends PolymorphicProps {}
|
|
19
19
|
interface TreeViewBranchContentProps extends HTMLProps<"div">, TreeViewBranchContentBaseProps {}
|
|
20
|
-
declare const TreeViewBranchContent:
|
|
20
|
+
declare const TreeViewBranchContent: react754.ForwardRefExoticComponent<TreeViewBranchContentProps & react754.RefAttributes<HTMLDivElement>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/tree-view/tree-view-branch-control.d.ts
|
|
23
23
|
interface TreeViewBranchControlBaseProps extends PolymorphicProps {}
|
|
24
24
|
interface TreeViewBranchControlProps extends HTMLProps<"div">, TreeViewBranchControlBaseProps {}
|
|
25
|
-
declare const TreeViewBranchControl:
|
|
25
|
+
declare const TreeViewBranchControl: react754.ForwardRefExoticComponent<TreeViewBranchControlProps & react754.RefAttributes<HTMLDivElement>>;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/tree-view/tree-view-branch-indent-guide.d.ts
|
|
28
28
|
interface TreeViewBranchIndentGuideBaseProps extends PolymorphicProps {}
|
|
29
29
|
interface TreeViewBranchIndentGuideProps extends HTMLProps<"div">, TreeViewBranchIndentGuideBaseProps {}
|
|
30
|
-
declare const TreeViewBranchIndentGuide:
|
|
30
|
+
declare const TreeViewBranchIndentGuide: react754.ForwardRefExoticComponent<TreeViewBranchIndentGuideProps & react754.RefAttributes<HTMLDivElement>>;
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/components/tree-view/tree-view-branch-indicator.d.ts
|
|
33
33
|
interface TreeViewBranchIndicatorBaseProps extends PolymorphicProps {}
|
|
34
34
|
interface TreeViewBranchIndicatorProps extends HTMLProps<"div">, TreeViewBranchIndicatorBaseProps {}
|
|
35
|
-
declare const TreeViewBranchIndicator:
|
|
35
|
+
declare const TreeViewBranchIndicator: react754.ForwardRefExoticComponent<TreeViewBranchIndicatorProps & react754.RefAttributes<HTMLDivElement>>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/tree-view/tree-view-branch-text.d.ts
|
|
38
38
|
interface TreeViewBranchTextBaseProps extends PolymorphicProps {}
|
|
39
39
|
interface TreeViewBranchTextProps extends HTMLProps<"span">, TreeViewBranchTextBaseProps {}
|
|
40
|
-
declare const TreeViewBranchText:
|
|
40
|
+
declare const TreeViewBranchText: react754.ForwardRefExoticComponent<TreeViewBranchTextProps & react754.RefAttributes<HTMLSpanElement>>;
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/components/tree-view/tree-view-branch-trigger.d.ts
|
|
43
43
|
interface TreeViewBranchTriggerBaseProps extends PolymorphicProps {}
|
|
44
44
|
interface TreeViewBranchTriggerProps extends HTMLProps<"div">, TreeViewBranchTriggerBaseProps {}
|
|
45
|
-
declare const TreeViewBranchTrigger:
|
|
45
|
+
declare const TreeViewBranchTrigger: react754.ForwardRefExoticComponent<TreeViewBranchTriggerProps & react754.RefAttributes<HTMLDivElement>>;
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/components/tree-view/use-tree-view.d.ts
|
|
48
48
|
interface UseTreeViewProps<T extends TreeNode> extends Optional<Omit<treeView.Props<T>, "dir" | "getRootNode" | "collection">, "id"> {
|
|
@@ -61,27 +61,27 @@ interface UseTreeViewContext<T extends TreeNode> extends UseTreeViewReturn<T> {}
|
|
|
61
61
|
interface TreeViewContextProps<T extends TreeNode> {
|
|
62
62
|
children: (context: UseTreeViewContext<T>) => React.ReactNode;
|
|
63
63
|
}
|
|
64
|
-
declare const TreeViewContext: <T extends TreeNode>(props: TreeViewContextProps<T>) =>
|
|
64
|
+
declare const TreeViewContext: <T extends TreeNode>(props: TreeViewContextProps<T>) => react754.ReactNode;
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/components/tree-view/tree-view-item.d.ts
|
|
67
67
|
interface TreeViewItemBaseProps extends PolymorphicProps {}
|
|
68
68
|
interface TreeViewItemProps extends Assign<HTMLProps<"div">, TreeViewItemBaseProps> {}
|
|
69
|
-
declare const TreeViewItem:
|
|
69
|
+
declare const TreeViewItem: react754.ForwardRefExoticComponent<TreeViewItemProps & react754.RefAttributes<HTMLDivElement>>;
|
|
70
70
|
//#endregion
|
|
71
71
|
//#region src/components/tree-view/tree-view-item-indicator.d.ts
|
|
72
72
|
interface TreeViewItemIndicatorBaseProps extends PolymorphicProps {}
|
|
73
73
|
interface TreeViewItemIndicatorProps extends HTMLProps<"div">, TreeViewItemIndicatorBaseProps {}
|
|
74
|
-
declare const TreeViewItemIndicator:
|
|
74
|
+
declare const TreeViewItemIndicator: react754.ForwardRefExoticComponent<TreeViewItemIndicatorProps & react754.RefAttributes<HTMLDivElement>>;
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/components/tree-view/tree-view-item-text.d.ts
|
|
77
77
|
interface TreeViewItemTextBaseProps extends PolymorphicProps {}
|
|
78
78
|
interface TreeViewItemTextProps extends HTMLProps<"span">, TreeViewItemTextBaseProps {}
|
|
79
|
-
declare const TreeViewItemText:
|
|
79
|
+
declare const TreeViewItemText: react754.ForwardRefExoticComponent<TreeViewItemTextProps & react754.RefAttributes<HTMLSpanElement>>;
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/components/tree-view/tree-view-label.d.ts
|
|
82
82
|
interface TreeViewLabelBaseProps extends PolymorphicProps {}
|
|
83
83
|
interface TreeViewLabelProps extends HTMLProps<"h3">, TreeViewLabelBaseProps {}
|
|
84
|
-
declare const TreeViewLabel:
|
|
84
|
+
declare const TreeViewLabel: react754.ForwardRefExoticComponent<TreeViewLabelProps & react754.RefAttributes<HTMLHeadingElement>>;
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/components/tree-view/use-tree-view-node-context.d.ts
|
|
87
87
|
interface UseTreeViewNodeContext extends NodeState {}
|
|
@@ -90,7 +90,7 @@ interface UseTreeViewNodeContext extends NodeState {}
|
|
|
90
90
|
interface TreeViewNodeContextProps {
|
|
91
91
|
children: (context: UseTreeViewNodeContext) => React.ReactNode;
|
|
92
92
|
}
|
|
93
|
-
declare const TreeViewNodeContext: (props: TreeViewNodeContextProps) =>
|
|
93
|
+
declare const TreeViewNodeContext: (props: TreeViewNodeContextProps) => react754.ReactNode;
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/tree-view/tree-view-node-provider.d.ts
|
|
96
96
|
interface TreeViewNodeProviderBaseProps<T> extends NodeProps {
|
|
@@ -99,7 +99,7 @@ interface TreeViewNodeProviderBaseProps<T> extends NodeProps {
|
|
|
99
99
|
interface TreeViewNodeProviderProps<T> extends TreeViewNodeProviderBaseProps<T> {
|
|
100
100
|
children?: React.ReactNode | undefined;
|
|
101
101
|
}
|
|
102
|
-
declare function TreeViewNodeProvider<T>(props: TreeViewNodeProviderProps<T>):
|
|
102
|
+
declare function TreeViewNodeProvider<T>(props: TreeViewNodeProviderProps<T>): react_jsx_runtime18.JSX.Element;
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/components/tree-view/tree-view-root.d.ts
|
|
105
105
|
interface TreeViewRootBaseProps<T extends TreeNode> extends UseTreeViewProps<T>, RenderStrategyProps, PolymorphicProps {}
|
|
@@ -120,12 +120,12 @@ declare const TreeViewRootProvider: TreeViewRootProviderComponent;
|
|
|
120
120
|
//#region src/components/tree-view/tree-view-tree.d.ts
|
|
121
121
|
interface TreeViewTreeBaseProps extends PolymorphicProps {}
|
|
122
122
|
interface TreeViewTreeProps extends HTMLProps<"div">, TreeViewTreeBaseProps {}
|
|
123
|
-
declare const TreeViewTree:
|
|
123
|
+
declare const TreeViewTree: react754.ForwardRefExoticComponent<TreeViewTreeProps & react754.RefAttributes<HTMLDivElement>>;
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/components/tree-view/tree-view-node-checkbox.d.ts
|
|
126
126
|
interface TreeViewNodeCheckboxBaseProps extends PolymorphicProps {}
|
|
127
127
|
interface TreeViewNodeCheckboxProps extends HTMLProps<"span">, TreeViewNodeCheckboxBaseProps {}
|
|
128
|
-
declare const TreeViewNodeCheckbox:
|
|
128
|
+
declare const TreeViewNodeCheckbox: react754.ForwardRefExoticComponent<TreeViewNodeCheckboxProps & react754.RefAttributes<HTMLSpanElement>>;
|
|
129
129
|
//#endregion
|
|
130
130
|
//#region src/components/tree-view/tree-view-node-checkbox-indicator.d.ts
|
|
131
131
|
interface TreeViewNodeCheckboxIndicatorBaseProps {
|
|
@@ -135,14 +135,14 @@ interface TreeViewNodeCheckboxIndicatorBaseProps {
|
|
|
135
135
|
}
|
|
136
136
|
interface TreeViewNodeCheckboxIndicatorProps extends HTMLProps<"span">, TreeViewNodeCheckboxIndicatorBaseProps {}
|
|
137
137
|
declare const TreeViewNodeCheckboxIndicator: {
|
|
138
|
-
(props: TreeViewNodeCheckboxIndicatorProps):
|
|
138
|
+
(props: TreeViewNodeCheckboxIndicatorProps): react_jsx_runtime18.JSX.Element;
|
|
139
139
|
displayName: string;
|
|
140
140
|
};
|
|
141
141
|
//#endregion
|
|
142
142
|
//#region src/components/tree-view/tree-view-node-rename-input.d.ts
|
|
143
143
|
interface TreeViewNodeRenameInputBaseProps extends PolymorphicProps {}
|
|
144
144
|
interface TreeViewNodeRenameInputProps extends Assign<HTMLProps<"input">, TreeViewNodeRenameInputBaseProps> {}
|
|
145
|
-
declare const TreeViewNodeRenameInput:
|
|
145
|
+
declare const TreeViewNodeRenameInput: react754.ForwardRefExoticComponent<TreeViewNodeRenameInputProps & react754.RefAttributes<HTMLInputElement>>;
|
|
146
146
|
declare namespace tree_view_d_exports {
|
|
147
147
|
export { TreeViewBranch as Branch, TreeViewBranchBaseProps as BranchBaseProps, TreeViewBranchContent as BranchContent, TreeViewBranchContentBaseProps as BranchContentBaseProps, TreeViewBranchContentProps as BranchContentProps, TreeViewBranchControl as BranchControl, TreeViewBranchControlBaseProps as BranchControlBaseProps, TreeViewBranchControlProps as BranchControlProps, TreeViewBranchIndentGuide as BranchIndentGuide, TreeViewBranchIndentGuideBaseProps as BranchIndentGuideBaseProps, TreeViewBranchIndentGuideProps as BranchIndentGuideProps, TreeViewBranchIndicator as BranchIndicator, TreeViewBranchIndicatorBaseProps as BranchIndicatorBaseProps, TreeViewBranchIndicatorProps as BranchIndicatorProps, TreeViewBranchProps as BranchProps, TreeViewBranchText as BranchText, TreeViewBranchTextBaseProps as BranchTextBaseProps, TreeViewBranchTextProps as BranchTextProps, TreeViewBranchTrigger as BranchTrigger, TreeViewBranchTriggerBaseProps as BranchTriggerBaseProps, TreeViewBranchTriggerProps as BranchTriggerProps, CheckedChangeDetails, TreeViewContext as Context, TreeViewContextProps as ContextProps, ExpandedChangeDetails, FocusChangeDetails, TreeViewItem as Item, TreeViewItemBaseProps as ItemBaseProps, TreeViewItemIndicator as ItemIndicator, TreeViewItemIndicatorBaseProps as ItemIndicatorBaseProps, TreeViewItemIndicatorProps as ItemIndicatorProps, TreeViewItemProps as ItemProps, TreeViewItemText as ItemText, TreeViewItemTextBaseProps as ItemTextBaseProps, TreeViewItemTextProps as ItemTextProps, TreeViewLabel as Label, TreeViewLabelBaseProps as LabelBaseProps, TreeViewLabelProps as LabelProps, LoadChildrenCompleteDetails, LoadChildrenDetails, LoadChildrenErrorDetails, TreeViewNodeCheckbox as NodeCheckbox, TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, TreeViewNodeCheckboxIndicator as NodeCheckboxIndicator, TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, TreeViewNodeCheckboxProps as NodeCheckboxProps, TreeViewNodeContext as NodeContext, TreeViewNodeContextProps as NodeContextProps, NodeProps$1 as NodeProps, TreeViewNodeProvider as NodeProvider, TreeViewNodeProviderBaseProps as NodeProviderBaseProps, TreeViewNodeProviderProps as NodeProviderProps, TreeViewNodeRenameInput as NodeRenameInput, TreeViewNodeRenameInputBaseProps as NodeRenameInputBaseProps, TreeViewNodeRenameInputProps as NodeRenameInputProps, NodeState$1 as NodeState, RenameCompleteDetails, RenameStartDetails, TreeViewRoot as Root, TreeViewRootBaseProps as RootBaseProps, TreeViewRootComponent as RootComponent, TreeViewRootComponentProps as RootComponentProps, TreeViewRootProps as RootProps, TreeViewRootProvider as RootProvider, TreeViewRootProviderBaseProps as RootProviderBaseProps, TreeViewRootProviderComponent as RootProviderComponent, TreeViewRootProviderProps as RootProviderProps, SelectionChangeDetails, TreeViewTree as Tree, TreeViewTreeBaseProps as TreeBaseProps, TreeViewTreeProps as TreeProps };
|
|
148
148
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as useMachine, a as useFilter, c as LocaleProvider, d as EnvironmentProviderProps, f as RootNode, g as PortalProps, h as Portal, i as UseFilterReturn, l as LocaleProviderProps, m as useEnvironmentContext, n as useLocaleContext, o as UseCollatorProps, p as UseEnvironmentContext, r as UseFilterProps, s as useCollator, t as UseLocaleContext, u as EnvironmentProvider } from "./index-
|
|
1
|
+
import { _ as useMachine, a as useFilter, c as LocaleProvider, d as EnvironmentProviderProps, f as RootNode, g as PortalProps, h as Portal, i as UseFilterReturn, l as LocaleProviderProps, m as useEnvironmentContext, n as useLocaleContext, o as UseCollatorProps, p as UseEnvironmentContext, r as UseFilterProps, s as useCollator, t as UseLocaleContext, u as EnvironmentProvider } from "./index-B4hs1V2V.cjs";
|
|
2
2
|
import { n as normalizeProps, t as PropTypes } from "./normalize-props-BeSH6oua.cjs";
|
|
3
3
|
import { r as Optional, t as Assign } from "./types-CCi_nex5.cjs";
|
|
4
4
|
import { a as sprawlify, i as jsxFactory, n as HTMLSprawlifyProps, r as PolymorphicProps, t as HTMLProps } from "./factory-BqX8l4xK.cjs";
|
|
@@ -6,13 +6,13 @@ import { t as accordionAnatomy } from "./accordion-anatomy-CD01A1iE.cjs";
|
|
|
6
6
|
import { t as angleSliderAnatomy } from "./angle-slider-anatomy-socw8IDt.cjs";
|
|
7
7
|
import { t as avatarAnatomy } from "./avatar-anatomy-C_EzyOEZ.cjs";
|
|
8
8
|
import { t as bottomSheetAnatomy } from "./bottom-sheet-anatomy-DFp5PLG7.cjs";
|
|
9
|
-
import { t as carouselAnatomy } from "./carousel-anatomy-
|
|
10
|
-
import { t as checkboxAnatomy } from "./checkbox-anatomy-
|
|
9
|
+
import { t as carouselAnatomy } from "./carousel-anatomy-DC_eAOsG.cjs";
|
|
10
|
+
import { t as checkboxAnatomy } from "./checkbox-anatomy-BJwyNldc.cjs";
|
|
11
11
|
import { t as clipboardAnatomy } from "./clipboard-anatomy-BBG980Uy.cjs";
|
|
12
12
|
import { t as collapsibleAnatomy } from "./collapsible-anatomy-BNzFeDbw.cjs";
|
|
13
|
-
import { t as colorPickerAnatomy } from "./color-picker-anatomy-
|
|
14
|
-
import { t as comboboxAnatomy } from "./combobox-anatomy-
|
|
15
|
-
import { t as datePickerAnatomy } from "./date-picker-anatomy-
|
|
13
|
+
import { t as colorPickerAnatomy } from "./color-picker-anatomy-QYZxakY6.cjs";
|
|
14
|
+
import { t as comboboxAnatomy } from "./combobox-anatomy-dSGSIDL7.cjs";
|
|
15
|
+
import { t as datePickerAnatomy } from "./date-picker-anatomy-Bp-cHym9.cjs";
|
|
16
16
|
import { t as dialogAnatomy } from "./dialog-anatomy-PFoojjde.cjs";
|
|
17
17
|
import { t as editableAnatomy } from "./editable-anatomy-ChVmNTaw.cjs";
|
|
18
18
|
import { t as fieldAnatomy } from "./field-anatomy-TjI_6UiL.cjs";
|
|
@@ -21,9 +21,9 @@ import { t as fileUploadAnatomy } from "./file-upload-anatomy-CSLpjY81.cjs";
|
|
|
21
21
|
import { t as floatingPanelAnatomy } from "./floating-panel-anatomy-uaCG0I0g.cjs";
|
|
22
22
|
import { t as hoverCardAnatomy } from "./hover-card-anatomy-ByW_9zER.cjs";
|
|
23
23
|
import { t as imageCropperAnatomy } from "./image-cropper-anatomy-DBqhXOyb.cjs";
|
|
24
|
-
import { t as listboxAnatomy } from "./listbox-anatomy-
|
|
24
|
+
import { t as listboxAnatomy } from "./listbox-anatomy-eCapI8Fs.cjs";
|
|
25
25
|
import { t as marqueeAnatomy } from "./marquee-anatomy-C9HAWHcH.cjs";
|
|
26
|
-
import { t as menuAnatomy } from "./anatomy-
|
|
26
|
+
import { t as menuAnatomy } from "./anatomy-BYeZ7Y9V.cjs";
|
|
27
27
|
import { t as navigationMenuAnatomy } from "./navigation-menu-anatomy-Dv0Nhwjm.cjs";
|
|
28
28
|
import { t as numberInputAnatomy } from "./number-input-anatomy-D74_w7aW.cjs";
|
|
29
29
|
import { t as paginationAnatomy } from "./pagination-anatomy-D5kUtIjp.cjs";
|
|
@@ -35,7 +35,7 @@ import { t as qrCodeAnatomy } from "./qr-code-anatomy-D5nOi2TD.cjs";
|
|
|
35
35
|
import { t as radioGroupAnatomy } from "./radio-group-anatomy-DKUNIvEg.cjs";
|
|
36
36
|
import { t as ratingGroupAnatomy } from "./rating-group-anatomy-Cc8bBTCG.cjs";
|
|
37
37
|
import { t as scrollAreaAnatomy } from "./scroll-area-anatomy-Bj-dZIOP.cjs";
|
|
38
|
-
import { t as segmentGroupAnatomy } from "./segment-group-anatomy-
|
|
38
|
+
import { t as segmentGroupAnatomy } from "./segment-group-anatomy-DZKokXB8.cjs";
|
|
39
39
|
import { t as selectAnatomy } from "./select-anatomy-BgUycplU.cjs";
|
|
40
40
|
import { t as signaturePadAnatomy } from "./signature-pad-anatomy-tlcST0A9.cjs";
|
|
41
41
|
import { t as sliderAnatomy } from "./slider-anatomy-DeuOu_yr.cjs";
|
|
@@ -46,10 +46,10 @@ import { t as tabsAnatomy } from "./tabs-anatomy-DX2Jj16R.cjs";
|
|
|
46
46
|
import { t as tagsInputAnatomy } from "./tags-input-anatomy-B6yIvWqq.cjs";
|
|
47
47
|
import { t as timerAnatomy } from "./timer-anatomy-DYCbV039.cjs";
|
|
48
48
|
import { t as toastAnatomy } from "./toast-anatomy-BgE_vsnK.cjs";
|
|
49
|
-
import { t as toggleAnatomy } from "./toggle-anatomy-
|
|
49
|
+
import { t as toggleAnatomy } from "./toggle-anatomy-VW_BOK95.cjs";
|
|
50
50
|
import { t as toggleGroupAnatomy } from "./toggle-group-anatomy-CseKfB3J.cjs";
|
|
51
51
|
import { t as tooltipAnatomy } from "./tooltip-anatomy-BXJ3m4JD.cjs";
|
|
52
|
-
import { t as tourAnatomy } from "./tour-anatomy-
|
|
52
|
+
import { t as tourAnatomy } from "./tour-anatomy-3dfyCb8m.cjs";
|
|
53
53
|
import { t as treeViewAnatomy } from "./tree-view-anatomy-BbXee4_Y.cjs";
|
|
54
54
|
import { n as createContext } from "./index-g-TCevCo.cjs";
|
|
55
55
|
export * from "@sprawlify/primitives/anatomy";
|
package/dist/index.d.mts
CHANGED
|
@@ -5,24 +5,24 @@ import { t as accordionAnatomy } from "./accordion-anatomy-DM84wS7s.mjs";
|
|
|
5
5
|
import { t as angleSliderAnatomy } from "./angle-slider-anatomy-CJ8w7Vr8.mjs";
|
|
6
6
|
import { t as avatarAnatomy } from "./avatar-anatomy-BbK5QtHR.mjs";
|
|
7
7
|
import { t as bottomSheetAnatomy } from "./bottom-sheet-anatomy-BK2UyCm2.mjs";
|
|
8
|
-
import { t as carouselAnatomy } from "./carousel-anatomy-
|
|
9
|
-
import { t as checkboxAnatomy } from "./checkbox-anatomy-
|
|
8
|
+
import { t as carouselAnatomy } from "./carousel-anatomy-DK8HmHob.mjs";
|
|
9
|
+
import { t as checkboxAnatomy } from "./checkbox-anatomy-C9t_IpJc.mjs";
|
|
10
10
|
import { t as clipboardAnatomy } from "./clipboard-anatomy-C4z4Ic01.mjs";
|
|
11
11
|
import { t as collapsibleAnatomy } from "./collapsible-anatomy-BY04on8P.mjs";
|
|
12
|
-
import { t as colorPickerAnatomy } from "./color-picker-anatomy-
|
|
13
|
-
import { t as comboboxAnatomy } from "./combobox-anatomy-
|
|
14
|
-
import { t as datePickerAnatomy } from "./date-picker-anatomy-
|
|
12
|
+
import { t as colorPickerAnatomy } from "./color-picker-anatomy-fGWz8vMQ.mjs";
|
|
13
|
+
import { t as comboboxAnatomy } from "./combobox-anatomy-CsnIZapu.mjs";
|
|
14
|
+
import { t as datePickerAnatomy } from "./date-picker-anatomy-u3QG22sU.mjs";
|
|
15
15
|
import { t as dialogAnatomy } from "./dialog-anatomy-zxpC94aQ.mjs";
|
|
16
16
|
import { t as editableAnatomy } from "./editable-anatomy-BvTzcLcu.mjs";
|
|
17
|
-
import { t as fieldAnatomy } from "./field-anatomy-
|
|
17
|
+
import { t as fieldAnatomy } from "./field-anatomy-DCxKf8B2.mjs";
|
|
18
18
|
import { t as fieldsetAnatomy } from "./fieldset-anatomy-DR8WEwsX.mjs";
|
|
19
19
|
import { t as fileUploadAnatomy } from "./file-upload-anatomy-CVajVfa9.mjs";
|
|
20
20
|
import { t as floatingPanelAnatomy } from "./floating-panel-anatomy-CocrO3J-.mjs";
|
|
21
21
|
import { t as hoverCardAnatomy } from "./hover-card-anatomy-B3iayejx.mjs";
|
|
22
22
|
import { t as imageCropperAnatomy } from "./image-cropper-anatomy-bs7Efinl.mjs";
|
|
23
|
-
import { t as listboxAnatomy } from "./listbox-anatomy-
|
|
23
|
+
import { t as listboxAnatomy } from "./listbox-anatomy-CmVVbWlj.mjs";
|
|
24
24
|
import { t as marqueeAnatomy } from "./marquee-anatomy-D6mTt9xn.mjs";
|
|
25
|
-
import { t as menuAnatomy } from "./anatomy-
|
|
25
|
+
import { t as menuAnatomy } from "./anatomy-BOmvCBUH.mjs";
|
|
26
26
|
import { t as navigationMenuAnatomy } from "./navigation-menu-anatomy-BLWGtaTR.mjs";
|
|
27
27
|
import { t as numberInputAnatomy } from "./number-input-anatomy-CbyaS_2k.mjs";
|
|
28
28
|
import { t as paginationAnatomy } from "./pagination-anatomy-DYcuGRAe.mjs";
|
|
@@ -34,7 +34,7 @@ import { t as qrCodeAnatomy } from "./qr-code-anatomy-BHloN_cN.mjs";
|
|
|
34
34
|
import { t as radioGroupAnatomy } from "./radio-group-anatomy-B5WYKEEO.mjs";
|
|
35
35
|
import { t as ratingGroupAnatomy } from "./rating-group-anatomy-CIenK6IJ.mjs";
|
|
36
36
|
import { t as scrollAreaAnatomy } from "./scroll-area-anatomy-M0Akp5gM.mjs";
|
|
37
|
-
import { t as segmentGroupAnatomy } from "./segment-group-anatomy-
|
|
37
|
+
import { t as segmentGroupAnatomy } from "./segment-group-anatomy-C3-ibQRv.mjs";
|
|
38
38
|
import { t as selectAnatomy } from "./select-anatomy-ANZvJnFP.mjs";
|
|
39
39
|
import { t as signaturePadAnatomy } from "./signature-pad-anatomy-B0NXQjlM.mjs";
|
|
40
40
|
import { t as sliderAnatomy } from "./slider-anatomy-bB2ZN_7v.mjs";
|
|
@@ -48,9 +48,9 @@ import { t as toastAnatomy } from "./toast-anatomy--lxC6HXz.mjs";
|
|
|
48
48
|
import { t as toggleAnatomy } from "./toggle-anatomy-BF_-e1BY.mjs";
|
|
49
49
|
import { t as toggleGroupAnatomy } from "./toggle-group-anatomy-GDUrGh2o.mjs";
|
|
50
50
|
import { t as tooltipAnatomy } from "./tooltip-anatomy-BCTV9bmg.mjs";
|
|
51
|
-
import { t as tourAnatomy } from "./tour-anatomy-
|
|
51
|
+
import { t as tourAnatomy } from "./tour-anatomy-JPbvrARr.mjs";
|
|
52
52
|
import { t as treeViewAnatomy } from "./tree-view-anatomy-BKVVcKzs.mjs";
|
|
53
53
|
import { n as createContext } from "./index-vQ9UMDY6.mjs";
|
|
54
|
-
import { a as useFilter, c as LocaleProvider, d as EnvironmentProviderProps, f as RootNode, i as UseFilterReturn, l as LocaleProviderProps, m as useEnvironmentContext, n as useLocaleContext, o as UseCollatorProps, p as UseEnvironmentContext, r as UseFilterProps, s as useCollator, t as UseLocaleContext, u as EnvironmentProvider } from "./index-
|
|
54
|
+
import { a as useFilter, c as LocaleProvider, d as EnvironmentProviderProps, f as RootNode, i as UseFilterReturn, l as LocaleProviderProps, m as useEnvironmentContext, n as useLocaleContext, o as UseCollatorProps, p as UseEnvironmentContext, r as UseFilterProps, s as useCollator, t as UseLocaleContext, u as EnvironmentProvider } from "./index-CCE-vSa-.mjs";
|
|
55
55
|
export * from "@sprawlify/primitives/anatomy";
|
|
56
56
|
export { Assign, EnvironmentProvider, EnvironmentProviderProps, HTMLProps, HTMLSprawlifyProps, LocaleProvider, LocaleProviderProps, Optional, PolymorphicProps, Portal, PortalProps, PropTypes, RootNode, UseCollatorProps, UseEnvironmentContext, UseFilterProps, UseFilterReturn, UseLocaleContext, accordionAnatomy, angleSliderAnatomy, avatarAnatomy, bottomSheetAnatomy, carouselAnatomy, checkboxAnatomy, clipboardAnatomy, collapsibleAnatomy, colorPickerAnatomy, comboboxAnatomy, createContext, datePickerAnatomy, dialogAnatomy, editableAnatomy, fieldAnatomy, fieldsetAnatomy, fileUploadAnatomy, floatingPanelAnatomy, hoverCardAnatomy, imageCropperAnatomy, jsxFactory, listboxAnatomy, marqueeAnatomy, menuAnatomy, navigationMenuAnatomy, normalizeProps, numberInputAnatomy, paginationAnatomy, passwordInputAnatomy, pinInputAnatomy, popoverAnatomy, progressAnatomy, qrCodeAnatomy, radioGroupAnatomy, ratingGroupAnatomy, scrollAreaAnatomy, segmentGroupAnatomy, selectAnatomy, signaturePadAnatomy, sliderAnatomy, splitterAnatomy, sprawlify, stepsAnatomy, switchAnatomy, tabsAnatomy, tagsInputAnatomy, timerAnatomy, toastAnatomy, toggleAnatomy, toggleGroupAnatomy, tooltipAnatomy, tourAnatomy, treeViewAnatomy, useCollator, useEnvironmentContext, useFilter, useLocaleContext, useMachine };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy8 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
4
|
+
declare const listboxAnatomy: _sprawlify_primitives_anatomy8.AnatomyInstance<"input" | "label" | "content" | "root" | "item" | "itemGroup" | "valueText" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { listboxAnatomy as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy7 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
4
|
-
declare const listboxAnatomy: _sprawlify_primitives_anatomy7.AnatomyInstance<"input" | "label" | "content" | "root" | "item" | "
|
|
4
|
+
declare const listboxAnatomy: _sprawlify_primitives_anatomy7.AnatomyInstance<"input" | "label" | "content" | "root" | "item" | "itemGroup" | "valueText" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { listboxAnatomy as t };
|
|
@@ -3,7 +3,7 @@ import { t as createContext$1 } from "./create-context-C9f3ZSYn.mjs";
|
|
|
3
3
|
import { t as composeRefs } from "./compose-refs-DtS_RGf4.mjs";
|
|
4
4
|
import { n as sprawlify } from "./factory-C3MVpSt5.mjs";
|
|
5
5
|
import { t as createSplitProps } from "./create-split-props-ButBrlN-.mjs";
|
|
6
|
-
import { t as useEvent } from "./use-event-
|
|
6
|
+
import { t as useEvent } from "./use-event-BQvOizow.mjs";
|
|
7
7
|
import { forwardRef, useRef } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import * as presence from "@sprawlify/primitives/machines/presence";
|
|
@@ -4,7 +4,7 @@ const require_create_context = require('./create-context-RCOpQR_m.cjs');
|
|
|
4
4
|
const require_compose_refs = require('./compose-refs-C5QNDywq.cjs');
|
|
5
5
|
const require_factory = require('./factory-DY9J9D6d.cjs');
|
|
6
6
|
const require_create_split_props = require('./create-split-props-3uzAEUIm.cjs');
|
|
7
|
-
const require_use_event = require('./use-event-
|
|
7
|
+
const require_use_event = require('./use-event-BL68q4DR.cjs');
|
|
8
8
|
let react = require("react");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let __sprawlify_primitives_machines_presence = require("@sprawlify/primitives/machines/presence");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _sprawlify_primitives_anatomy9 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/segment-group/segment-group-anatomy.d.ts
|
|
4
|
-
declare const segmentGroupAnatomy:
|
|
4
|
+
declare const segmentGroupAnatomy: _sprawlify_primitives_anatomy9.Anatomy<"label" | "root" | "item" | "indicator" | "itemText" | "itemControl">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { segmentGroupAnatomy as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _sprawlify_primitives_anatomy9 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/segment-group/segment-group-anatomy.d.ts
|
|
4
|
-
declare const segmentGroupAnatomy:
|
|
4
|
+
declare const segmentGroupAnatomy: _sprawlify_primitives_anatomy9.Anatomy<"label" | "root" | "item" | "indicator" | "itemText" | "itemControl">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { segmentGroupAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy11 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/toggle/toggle-anatomy.d.ts
|
|
4
|
+
declare const toggleAnatomy: _sprawlify_primitives_anatomy11.Anatomy<"root" | "indicator">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { toggleAnatomy as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy13 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/tour/tour-anatomy.d.ts
|
|
4
|
-
declare const tourAnatomy: _sprawlify_primitives_anatomy13.AnatomyInstance<"title" | "content" | "control" | "
|
|
4
|
+
declare const tourAnatomy: _sprawlify_primitives_anatomy13.AnatomyInstance<"title" | "content" | "control" | "progressText" | "positioner" | "arrow" | "actionTrigger" | "arrowTip" | "description" | "closeTrigger" | "backdrop" | "spotlight">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { tourAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy13 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/tour/tour-anatomy.d.ts
|
|
4
|
+
declare const tourAnatomy: _sprawlify_primitives_anatomy13.AnatomyInstance<"title" | "content" | "control" | "progressText" | "positioner" | "arrow" | "actionTrigger" | "arrowTip" | "description" | "closeTrigger" | "backdrop" | "spotlight">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { tourAnatomy as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React wrapper for primitives.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -18,6 +18,16 @@
|
|
|
18
18
|
"default": "./dist/index.cjs"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
+
"./anatomy": {
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/components/anatomy.d.mts",
|
|
24
|
+
"default": "./dist/components/anatomy.mjs"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/components/anatomy.d.cts",
|
|
28
|
+
"default": "./dist/components/anatomy.cjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
21
31
|
"./accordion": {
|
|
22
32
|
"import": {
|
|
23
33
|
"types": "./dist/components/accordion/index.d.mts",
|
|
@@ -616,7 +626,7 @@
|
|
|
616
626
|
"access": "public"
|
|
617
627
|
},
|
|
618
628
|
"dependencies": {
|
|
619
|
-
"@sprawlify/primitives": "0.0.
|
|
629
|
+
"@sprawlify/primitives": "0.0.13"
|
|
620
630
|
},
|
|
621
631
|
"peerDependencies": {
|
|
622
632
|
"react": ">=19.0.0",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy8 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/carousel/carousel-anatomy.d.ts
|
|
4
|
-
declare const carouselAnatomy: _sprawlify_primitives_anatomy8.AnatomyInstance<"root" | "control" | "indicator" | "nextTrigger" | "prevTrigger" | "item" | "itemGroup" | "progressText" | "indicatorGroup" | "autoplayTrigger" | "autoplayIndicator">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { carouselAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy13 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/carousel/carousel-anatomy.d.ts
|
|
4
|
-
declare const carouselAnatomy: _sprawlify_primitives_anatomy13.AnatomyInstance<"root" | "control" | "indicator" | "nextTrigger" | "prevTrigger" | "item" | "itemGroup" | "progressText" | "indicatorGroup" | "autoplayTrigger" | "autoplayIndicator">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { carouselAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/checkbox/checkbox-anatomy.d.ts
|
|
4
|
-
declare const checkboxAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"label" | "root" | "control" | "indicator" | "group">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { checkboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/color-picker/color-picker-anatomy.d.ts
|
|
4
|
-
declare const colorPickerAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"area" | "label" | "view" | "content" | "root" | "control" | "trigger" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { colorPickerAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy10 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/color-picker/color-picker-anatomy.d.ts
|
|
4
|
-
declare const colorPickerAnatomy: _sprawlify_primitives_anatomy10.AnatomyInstance<"area" | "label" | "view" | "content" | "root" | "control" | "trigger" | "positioner" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { colorPickerAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy9 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/combobox/combobox-anatomy.d.ts
|
|
4
|
-
declare const comboboxAnatomy: _sprawlify_primitives_anatomy9.AnatomyInstance<"input" | "label" | "content" | "list" | "root" | "control" | "trigger" | "positioner" | "clearTrigger" | "item" | "itemIndicator" | "itemText" | "itemGroup" | "itemGroupLabel" | "empty">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { comboboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
4
|
-
declare const listboxAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"input" | "label" | "content" | "root" | "item" | "valueText" | "itemIndicator" | "itemText" | "itemGroup" | "itemGroupLabel" | "empty">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { listboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy10 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/toggle/toggle-anatomy.d.ts
|
|
4
|
-
declare const toggleAnatomy: _sprawlify_primitives_anatomy10.Anatomy<"root" | "indicator">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { toggleAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy12 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/tour/tour-anatomy.d.ts
|
|
4
|
-
declare const tourAnatomy: _sprawlify_primitives_anatomy12.AnatomyInstance<"title" | "content" | "control" | "positioner" | "arrow" | "progressText" | "description" | "actionTrigger" | "closeTrigger" | "arrowTip" | "backdrop" | "spotlight">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { tourAnatomy as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|