@sprawlify/react 0.0.61 → 0.0.63
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-DoseXS-u.d.cts +51 -0
- package/dist/anatomy-FyY1irLN.d.mts +51 -0
- package/dist/{carousel-anatomy-DpVGmqKh.d.mts → carousel-anatomy-BPGpQfMu.d.mts} +1 -1
- package/dist/carousel-anatomy-fVN4aGaf.d.cts +6 -0
- package/dist/{checkbox-anatomy-ClYuKgmx.d.mts → checkbox-anatomy-BfvWczS9.d.cts} +1 -1
- package/dist/checkbox-anatomy-BmUMwNRR.d.mts +6 -0
- package/dist/{collapsible-BTxXTcJM.mjs → collapsible-C3dNn-jW.mjs} +16 -16
- package/dist/{collapsible-CMDPE4Nk.cjs → collapsible-kCLYszP2.cjs} +1 -1
- package/dist/{collection-BVeAj1D0.mjs → collection-349IgODS.mjs} +10 -10
- package/dist/{collection-Bjy-vv-0.cjs → collection-DraYQkEk.cjs} +9 -9
- package/dist/color-picker-anatomy-DG3oSnQI.d.mts +6 -0
- package/dist/color-picker-anatomy-DyRIB62l.d.cts +6 -0
- package/dist/combobox-anatomy-ChsPcW4L.d.mts +6 -0
- package/dist/combobox-anatomy-zUfinFk1.d.cts +6 -0
- package/dist/components/accordion/index.cjs +2 -2
- package/dist/components/accordion/index.d.cts +12 -12
- package/dist/components/accordion/index.d.mts +12 -12
- package/dist/components/accordion/index.mjs +28 -27
- package/dist/components/anatomy.cjs +1 -1
- package/dist/components/anatomy.d.cts +49 -49
- package/dist/components/anatomy.d.mts +49 -49
- package/dist/components/anatomy.mjs +50 -50
- package/dist/components/angle-slider/index.cjs +1 -1
- package/dist/components/angle-slider/index.d.cts +14 -14
- package/dist/components/angle-slider/index.d.mts +14 -14
- package/dist/components/angle-slider/index.mjs +17 -17
- package/dist/components/avatar/index.cjs +1 -1
- package/dist/components/avatar/index.d.cts +9 -9
- package/dist/components/avatar/index.d.mts +9 -9
- package/dist/components/avatar/index.mjs +15 -15
- package/dist/components/bottom-sheet/index.cjs +2 -2
- package/dist/components/bottom-sheet/index.d.cts +16 -16
- package/dist/components/bottom-sheet/index.d.mts +17 -17
- package/dist/components/bottom-sheet/index.mjs +27 -27
- package/dist/components/carousel/index.cjs +1 -1
- package/dist/components/carousel/index.d.cts +17 -17
- package/dist/components/carousel/index.d.mts +17 -17
- package/dist/components/carousel/index.mjs +20 -20
- package/dist/components/checkbox/index.cjs +12 -12
- package/dist/components/checkbox/index.d.cts +13 -13
- package/dist/components/checkbox/index.d.mts +13 -13
- package/dist/components/checkbox/index.mjs +32 -32
- package/dist/components/clipboard/index.cjs +1 -1
- package/dist/components/clipboard/index.d.cts +13 -13
- package/dist/components/clipboard/index.d.mts +13 -13
- package/dist/components/clipboard/index.mjs +18 -18
- package/dist/components/collapsible/index.cjs +2 -2
- package/dist/components/collapsible/index.d.cts +11 -11
- package/dist/components/collapsible/index.d.mts +11 -11
- package/dist/components/collapsible/index.mjs +8 -8
- package/dist/components/collection/index.cjs +2 -2
- package/dist/components/collection/index.d.cts +1 -1
- package/dist/components/collection/index.d.mts +1 -1
- package/dist/components/collection/index.mjs +3 -3
- package/dist/components/color-picker/index.cjs +5 -5
- package/dist/components/color-picker/index.d.cts +34 -34
- package/dist/components/color-picker/index.d.mts +35 -35
- package/dist/components/color-picker/index.mjs +51 -51
- package/dist/components/combobox/index.cjs +6 -6
- package/dist/components/combobox/index.d.cts +21 -21
- package/dist/components/combobox/index.d.mts +22 -22
- package/dist/components/combobox/index.mjs +38 -38
- package/dist/components/date-picker/index.cjs +28 -3
- package/dist/components/date-picker/index.d.cts +49 -34
- package/dist/components/date-picker/index.d.mts +50 -35
- package/dist/components/date-picker/index.mjs +86 -62
- package/dist/components/dialog/index.cjs +2 -2
- package/dist/components/dialog/index.d.cts +16 -16
- package/dist/components/dialog/index.d.mts +17 -17
- package/dist/components/dialog/index.mjs +26 -26
- package/dist/components/download-trigger/index.cjs +3 -3
- package/dist/components/download-trigger/index.d.cts +4 -4
- package/dist/components/download-trigger/index.d.mts +4 -4
- package/dist/components/download-trigger/index.mjs +8 -8
- package/dist/components/editable/index.cjs +4 -4
- package/dist/components/editable/index.d.cts +14 -14
- package/dist/components/editable/index.d.mts +14 -14
- package/dist/components/editable/index.mjs +19 -19
- package/dist/components/field/index.cjs +4 -4
- package/dist/components/field/index.d.cts +13 -13
- package/dist/components/field/index.d.mts +13 -13
- package/dist/components/field/index.mjs +10 -10
- package/dist/components/fieldset/index.cjs +4 -4
- package/dist/components/fieldset/index.d.cts +9 -9
- package/dist/components/fieldset/index.d.mts +9 -9
- package/dist/components/fieldset/index.mjs +10 -10
- package/dist/components/file-upload/index.cjs +5 -5
- package/dist/components/file-upload/index.d.cts +19 -19
- package/dist/components/file-upload/index.d.mts +19 -19
- package/dist/components/file-upload/index.mjs +34 -34
- package/dist/components/floating-panel/index.cjs +2 -2
- package/dist/components/floating-panel/index.d.cts +20 -20
- package/dist/components/floating-panel/index.d.mts +21 -21
- package/dist/components/floating-panel/index.mjs +22 -22
- package/dist/components/focus-trap/index.cjs +1 -1
- package/dist/components/focus-trap/index.d.cts +4 -4
- package/dist/components/focus-trap/index.d.mts +4 -4
- package/dist/components/focus-trap/index.mjs +4 -4
- package/dist/components/format/index.d.cts +4 -4
- package/dist/components/format/index.d.mts +4 -4
- package/dist/components/format/index.mjs +3 -3
- package/dist/components/frame/index.cjs +6 -6
- package/dist/components/frame/index.d.cts +3 -3
- package/dist/components/frame/index.d.mts +3 -3
- package/dist/components/frame/index.mjs +11 -11
- package/dist/components/highlight/index.d.cts +3 -3
- package/dist/components/highlight/index.d.mts +3 -3
- package/dist/components/highlight/index.mjs +1 -1
- package/dist/components/hover-card/index.cjs +2 -2
- package/dist/components/hover-card/index.d.cts +14 -14
- package/dist/components/hover-card/index.d.mts +15 -15
- package/dist/components/hover-card/index.mjs +19 -19
- package/dist/components/image-cropper/index.cjs +1 -1
- package/dist/components/image-cropper/index.d.cts +12 -12
- package/dist/components/image-cropper/index.d.mts +12 -12
- package/dist/components/image-cropper/index.mjs +15 -15
- package/dist/components/json-tree-view/index.cjs +4 -4
- package/dist/components/json-tree-view/index.d.cts +5 -5
- package/dist/components/json-tree-view/index.d.mts +10 -10
- package/dist/components/json-tree-view/index.mjs +15 -14
- package/dist/components/listbox/index.cjs +2 -2
- package/dist/components/listbox/index.d.cts +16 -16
- package/dist/components/listbox/index.d.mts +16 -16
- package/dist/components/listbox/index.mjs +29 -29
- package/dist/components/marquee/index.cjs +1 -1
- package/dist/components/marquee/index.d.cts +11 -11
- package/dist/components/marquee/index.d.mts +11 -11
- package/dist/components/marquee/index.mjs +15 -15
- package/dist/components/menu/index.cjs +2 -2
- package/dist/components/menu/index.d.cts +27 -27
- package/dist/components/menu/index.d.mts +72 -60
- package/dist/components/menu/index.mjs +39 -39
- package/dist/components/navigation-menu/index.cjs +2 -2
- package/dist/components/navigation-menu/index.d.cts +18 -18
- package/dist/components/navigation-menu/index.d.mts +18 -18
- package/dist/components/navigation-menu/index.mjs +28 -28
- package/dist/components/number-input/index.cjs +4 -4
- package/dist/components/number-input/index.d.cts +14 -14
- package/dist/components/number-input/index.d.mts +14 -14
- package/dist/components/number-input/index.mjs +22 -22
- package/dist/components/pagination/index.cjs +1 -1
- package/dist/components/pagination/index.d.cts +13 -13
- package/dist/components/pagination/index.d.mts +13 -13
- package/dist/components/pagination/index.mjs +15 -15
- package/dist/components/password-input/index.cjs +4 -4
- package/dist/components/password-input/index.d.cts +12 -12
- package/dist/components/password-input/index.d.mts +12 -12
- package/dist/components/password-input/index.mjs +22 -22
- package/dist/components/pin-input/index.cjs +4 -4
- package/dist/components/pin-input/index.d.cts +11 -11
- package/dist/components/pin-input/index.d.mts +11 -11
- package/dist/components/pin-input/index.mjs +19 -19
- package/dist/components/popover/index.cjs +2 -2
- package/dist/components/popover/index.d.cts +19 -19
- package/dist/components/popover/index.d.mts +17 -17
- package/dist/components/popover/index.mjs +24 -24
- package/dist/components/portal/index.d.cts +2 -2
- package/dist/components/portal/index.d.mts +2 -2
- package/dist/components/portal/index.mjs +5 -5
- package/dist/components/presence/index.cjs +2 -2
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.mts +3 -3
- package/dist/components/presence/index.mjs +5 -5
- package/dist/components/progress/index.cjs +1 -1
- package/dist/components/progress/index.d.cts +15 -15
- package/dist/components/progress/index.d.mts +15 -15
- package/dist/components/progress/index.mjs +18 -18
- package/dist/components/qr-code/index.cjs +1 -1
- package/dist/components/qr-code/index.d.cts +11 -11
- package/dist/components/qr-code/index.d.mts +11 -11
- package/dist/components/qr-code/index.mjs +9 -9
- package/dist/components/radio-group/index.cjs +4 -4
- package/dist/components/radio-group/index.d.cts +13 -13
- package/dist/components/radio-group/index.d.mts +13 -13
- package/dist/components/radio-group/index.mjs +13 -13
- package/dist/components/rating-group/index.cjs +4 -4
- package/dist/components/rating-group/index.d.cts +11 -11
- package/dist/components/rating-group/index.d.mts +11 -11
- package/dist/components/rating-group/index.mjs +13 -13
- package/dist/components/scroll-area/index.cjs +1 -1
- package/dist/components/scroll-area/index.d.cts +12 -12
- package/dist/components/scroll-area/index.d.mts +12 -12
- package/dist/components/scroll-area/index.mjs +15 -15
- package/dist/components/segment-group/index.cjs +1 -1
- package/dist/components/segment-group/index.d.cts +13 -13
- package/dist/components/segment-group/index.d.mts +13 -13
- package/dist/components/segment-group/index.mjs +24 -24
- package/dist/components/select/index.cjs +6 -6
- package/dist/components/select/index.d.cts +22 -22
- package/dist/components/select/index.d.mts +23 -23
- package/dist/components/select/index.mjs +46 -46
- package/dist/components/signature-pad/index.cjs +4 -4
- package/dist/components/signature-pad/index.d.cts +13 -13
- package/dist/components/signature-pad/index.d.mts +13 -13
- package/dist/components/signature-pad/index.mjs +23 -23
- package/dist/components/slider/index.cjs +1 -1
- package/dist/components/slider/index.d.cts +17 -17
- package/dist/components/slider/index.d.mts +17 -17
- package/dist/components/slider/index.mjs +23 -23
- package/dist/components/splitter/index.cjs +1 -1
- package/dist/components/splitter/index.d.cts +10 -10
- package/dist/components/splitter/index.d.mts +10 -10
- package/dist/components/splitter/index.mjs +17 -17
- package/dist/components/steps/index.cjs +1 -1
- package/dist/components/steps/index.d.cts +17 -17
- package/dist/components/steps/index.d.mts +17 -17
- package/dist/components/steps/index.mjs +26 -26
- package/dist/components/switch/index.cjs +4 -4
- package/dist/components/switch/index.d.cts +11 -11
- package/dist/components/switch/index.d.mts +11 -11
- package/dist/components/switch/index.mjs +13 -13
- package/dist/components/tabs/index.cjs +2 -2
- package/dist/components/tabs/index.d.cts +12 -12
- package/dist/components/tabs/index.d.mts +12 -12
- package/dist/components/tabs/index.mjs +22 -22
- package/dist/components/tags-input/index.cjs +4 -4
- package/dist/components/tags-input/index.d.cts +17 -17
- package/dist/components/tags-input/index.d.mts +17 -17
- package/dist/components/tags-input/index.mjs +30 -30
- package/dist/components/timer/index.cjs +1 -1
- package/dist/components/timer/index.d.cts +12 -12
- package/dist/components/timer/index.d.mts +12 -12
- package/dist/components/timer/index.mjs +18 -18
- package/dist/components/toast/index.cjs +1 -1
- package/dist/components/toast/index.d.cts +11 -11
- package/dist/components/toast/index.d.mts +11 -11
- package/dist/components/toast/index.mjs +15 -15
- package/dist/components/toggle/index.cjs +1 -1
- package/dist/components/toggle/index.d.cts +6 -6
- package/dist/components/toggle/index.d.mts +6 -6
- package/dist/components/toggle/index.mjs +12 -12
- package/dist/components/toggle-group/index.cjs +1 -1
- package/dist/components/toggle-group/index.d.cts +8 -8
- package/dist/components/toggle-group/index.d.mts +8 -8
- package/dist/components/toggle-group/index.mjs +12 -12
- package/dist/components/tooltip/index.cjs +2 -2
- package/dist/components/tooltip/index.d.cts +14 -14
- package/dist/components/tooltip/index.d.mts +15 -15
- package/dist/components/tooltip/index.mjs +19 -19
- package/dist/components/tour/index.cjs +2 -2
- package/dist/components/tour/index.d.cts +20 -20
- package/dist/components/tour/index.d.mts +19 -19
- package/dist/components/tour/index.mjs +38 -38
- package/dist/components/tree-view/index.cjs +4 -4
- package/dist/components/tree-view/index.d.cts +3 -3
- package/dist/components/tree-view/index.d.mts +6 -6
- package/dist/components/tree-view/index.mjs +13 -12
- package/dist/{core-D5Nn8Do7.mjs → core-BxCFHKQ_.mjs} +10 -10
- package/dist/{core-XObZrqJF.cjs → core-DewT0RE5.cjs} +10 -10
- package/dist/date-picker-anatomy-BbyLu8dt.d.mts +6 -0
- package/dist/date-picker-anatomy-DJ39M7tF.d.cts +6 -0
- package/dist/{date-picker-anatomy-BCl2ef3Q.cjs → date-picker-anatomy-QixtR9PA.cjs} +1 -1
- package/dist/{date-picker-anatomy-X_d6BK7R.mjs → date-picker-anatomy-x7ZxtgJO.mjs} +1 -1
- package/dist/{environment-tHcckaxj.mjs → environment-9mOM5FKS.mjs} +1 -1
- package/dist/{factory-BHMhd025.d.mts → factory-BIg2TdAk.d.mts} +2 -2
- package/dist/{factory-BqX8l4xK.d.cts → factory-CwKrB2Br.d.cts} +2 -2
- package/dist/{factory-KspIEfUN.mjs → factory-D0O3O5Jq.mjs} +1 -1
- package/dist/{field-D8F94pbs.mjs → field-CAhL6y6X.mjs} +14 -14
- package/dist/{field-C5Spk5xr.cjs → field-VMahsakb.cjs} +6 -6
- package/dist/field-anatomy-BXOHAoe0.d.mts +6 -0
- package/dist/field-anatomy-CpEdsl0Z.d.cts +6 -0
- package/dist/{fieldset-BZbX0igX.mjs → fieldset-BOWrMdSw.mjs} +9 -9
- package/dist/{fieldset-3A-HAhtn.cjs → fieldset-DKZpvk88.cjs} +2 -2
- package/dist/fieldset-anatomy-DEitMtaT.d.cts +6 -0
- package/dist/fieldset-anatomy-puKqRNHQ.d.mts +6 -0
- package/dist/{index-CUWBNY9M.d.mts → index-BY0HwNOP.d.mts} +25 -25
- package/dist/{index-j2naPRuA.d.cts → index-CrkdIF1y.d.cts} +54 -54
- package/dist/{index-C9nTAqVt.d.mts → index-CzwF843n.d.mts} +7 -7
- package/dist/{index-C_bFhccV.d.cts → index-DIJ8ltsu.d.cts} +25 -25
- package/dist/{index-fqlSjbJh.d.cts → index-DkqbdQrX.d.cts} +7 -7
- package/dist/{index-CjrFXK-1.d.mts → index-XicMXUCY.d.mts} +57 -57
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +54 -54
- package/dist/index.d.mts +54 -54
- package/dist/index.mjs +56 -56
- package/dist/listbox-anatomy-Chk3e_Nk.d.cts +6 -0
- package/dist/listbox-anatomy-mMFw0Elc.d.mts +6 -0
- package/dist/{locale-ypaK1JGy.mjs → locale-De5Z27ES.mjs} +1 -1
- package/dist/{portal-BBAhcDPi.mjs → portal-BtL5ggC3.mjs} +1 -1
- package/dist/{presence-C4LXhHqJ.cjs → presence-B9EFwRVv.cjs} +1 -1
- package/dist/{presence-cJ6WDRRn.mjs → presence-bN93pVGw.mjs} +10 -10
- package/dist/{render-strategy-qdbPeKxQ.mjs → render-strategy-BvdfkxuI.mjs} +2 -2
- package/dist/{segment-group-anatomy-B-X8Uf79.d.cts → segment-group-anatomy-CCeiTOk6.d.mts} +2 -2
- package/dist/segment-group-anatomy-CwROypnn.d.cts +6 -0
- package/dist/toggle-anatomy-3fBZqf3L.d.mts +6 -0
- package/dist/toggle-anatomy-Bvm1dy8B.d.cts +6 -0
- package/dist/tour-anatomy-BlhLa9xs.d.cts +6 -0
- package/dist/tour-anatomy-Cyle6MwT.d.mts +6 -0
- package/dist/{tree-view-DuquOg_A.cjs → tree-view-8tu8HWZ0.cjs} +2 -2
- package/dist/{tree-view-CeeeGhJ3.mjs → tree-view-DIzMJfqd.mjs} +40 -40
- package/dist/{use-fieldset-context-DMlYDhkR.mjs → use-fieldset-context-CwklHNpM.mjs} +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/anatomy-BtX7eyOo.d.cts +0 -51
- package/dist/anatomy-CyarI0kE.d.mts +0 -51
- package/dist/carousel-anatomy-BesEz5n2.d.cts +0 -6
- package/dist/checkbox-anatomy-DyvKh30P.d.cts +0 -6
- package/dist/color-picker-anatomy-BleO_17t.d.mts +0 -6
- package/dist/color-picker-anatomy-DGgbBFqO.d.cts +0 -6
- package/dist/combobox-anatomy-7Z2IHCg9.d.cts +0 -6
- package/dist/combobox-anatomy-BPKtijh2.d.mts +0 -6
- package/dist/date-picker-anatomy-CHh2h6QJ.d.mts +0 -6
- package/dist/date-picker-anatomy-CVRvwooZ.d.cts +0 -6
- package/dist/field-anatomy-BgvYO_7E.d.cts +0 -6
- package/dist/field-anatomy-CTA-nw78.d.mts +0 -6
- package/dist/fieldset-anatomy-3awH9fwY.d.cts +0 -6
- package/dist/fieldset-anatomy-DvsCRdoo.d.mts +0 -6
- package/dist/listbox-anatomy-Cc-4wasM.d.mts +0 -6
- package/dist/listbox-anatomy-DgtEEC_f.d.cts +0 -6
- package/dist/segment-group-anatomy-Cm3Tt7tU.d.mts +0 -6
- package/dist/toggle-anatomy-GFNhh4aS.d.mts +0 -6
- package/dist/toggle-anatomy-PUL55bxe.d.cts +0 -6
- package/dist/tour-anatomy-BWonFe_5.d.mts +0 -6
- package/dist/tour-anatomy-Ck0hv_9j.d.cts +0 -6
- /package/dist/{accordion-anatomy-D7qz9nWp.mjs → accordion-anatomy-B3vJFV-U.mjs} +0 -0
- /package/dist/{accordion-anatomy-BjDvhYiZ.d.mts → accordion-anatomy-BULu-dIl.d.cts} +0 -0
- /package/dist/{accordion-anatomy-CD01A1iE.d.cts → accordion-anatomy-C2zgfKc_.d.mts} +0 -0
- /package/dist/{angle-slider-anatomy-Bv2y_yLX.d.mts → angle-slider-anatomy-9K5yu_ro.d.cts} +0 -0
- /package/dist/{angle-slider-anatomy-CrrkVc1h.mjs → angle-slider-anatomy-D8aM-Q1y.mjs} +0 -0
- /package/dist/{angle-slider-anatomy-socw8IDt.d.cts → angle-slider-anatomy-pgtE9Rhu.d.mts} +0 -0
- /package/dist/{avatar-anatomy-C_A-v5h1.d.mts → avatar-anatomy-BUT_uSfP.d.cts} +0 -0
- /package/dist/{avatar-anatomy-C_EzyOEZ.d.cts → avatar-anatomy-CZNk5jTG.d.mts} +0 -0
- /package/dist/{avatar-anatomy-CpP-IYQN.mjs → avatar-anatomy-Cn0_yoTX.mjs} +0 -0
- /package/dist/{bottom-sheet-anatomy-CoQwmmej.d.mts → bottom-sheet-anatomy-DVTX9tnr.d.mts} +0 -0
- /package/dist/{bottom-sheet-anatomy-qdCuzqWj.mjs → bottom-sheet-anatomy-JkRlzybU.mjs} +0 -0
- /package/dist/{bottom-sheet-anatomy-DFp5PLG7.d.cts → bottom-sheet-anatomy-vRyEY3E9.d.cts} +0 -0
- /package/dist/{carousel-anatomy-4S-Agb6o.mjs → carousel-anatomy-DzieVM_O.mjs} +0 -0
- /package/dist/{checkbox-anatomy-pPsZaOsI.mjs → checkbox-anatomy-7csm5PZ0.mjs} +0 -0
- /package/dist/{chunk-DXsV1_K-.mjs → chunk-DWkwRR9H.mjs} +0 -0
- /package/dist/{clipboard-anatomy-BBG980Uy.d.cts → clipboard-anatomy-D-StbGK_.d.cts} +0 -0
- /package/dist/{clipboard-anatomy-AypSAhDs.mjs → clipboard-anatomy-Dmqgp_Jo.mjs} +0 -0
- /package/dist/{clipboard-anatomy-DGkYUzx6.d.mts → clipboard-anatomy-DpN_4bd0.d.mts} +0 -0
- /package/dist/{collapsible-anatomy-BNzFeDbw.d.cts → collapsible-anatomy-CGvQUDW1.d.cts} +0 -0
- /package/dist/{collapsible-anatomy-DY8UZ6aK.d.mts → collapsible-anatomy-DIWcQeOs.d.mts} +0 -0
- /package/dist/{collapsible-anatomy-yQzXMAsu.mjs → collapsible-anatomy-pcRVlO7f.mjs} +0 -0
- /package/dist/{color-picker-anatomy-3xUXFw2c.mjs → color-picker-anatomy-BfqtK22Y.mjs} +0 -0
- /package/dist/{combobox-anatomy-Fj5IM76j.mjs → combobox-anatomy-Com3dPZ_.mjs} +0 -0
- /package/dist/{compose-refs-DfK7aQwF.mjs → compose-refs-JvsPOcHE.mjs} +0 -0
- /package/dist/{create-context-C9f3ZSYn.mjs → create-context-DuRB02yv.mjs} +0 -0
- /package/dist/{create-split-props-BHolGELv.mjs → create-split-props-BrrYfbxV.mjs} +0 -0
- /package/dist/{dialog-anatomy-DBElmBlC.mjs → dialog-anatomy-82ZtkZN8.mjs} +0 -0
- /package/dist/{dialog-anatomy-DewiFtDw.d.mts → dialog-anatomy-DTfVgKoI.d.mts} +0 -0
- /package/dist/{dialog-anatomy-PFoojjde.d.cts → dialog-anatomy-DbXP0_rZ.d.cts} +0 -0
- /package/dist/{editable-anatomy-5zjxyN0U.d.mts → editable-anatomy-Ciz7dC1s.d.cts} +0 -0
- /package/dist/{editable-anatomy-LGLovSVr.mjs → editable-anatomy-DOdGtCkE.mjs} +0 -0
- /package/dist/{editable-anatomy-ChVmNTaw.d.cts → editable-anatomy-Dk25wKZT.d.mts} +0 -0
- /package/dist/{field-anatomy-lbqo_0oS.mjs → field-anatomy-CEUB_Ta7.mjs} +0 -0
- /package/dist/{fieldset-anatomy-CbOnthAm.mjs → fieldset-anatomy-gpWc3jkH.mjs} +0 -0
- /package/dist/{file-upload-anatomy-CSLpjY81.d.cts → file-upload-anatomy-B9jYHncK.d.cts} +0 -0
- /package/dist/{file-upload-anatomy-DVRYucGw.mjs → file-upload-anatomy-BWIxYDIJ.mjs} +0 -0
- /package/dist/{file-upload-anatomy-ShLA5Vjv.d.mts → file-upload-anatomy-DBsWE813.d.mts} +0 -0
- /package/dist/{floating-panel-anatomy-CPPZkBpW.d.mts → floating-panel-anatomy-BYClS8Pl.d.cts} +0 -0
- /package/dist/{floating-panel-anatomy-B9Orhv8o.mjs → floating-panel-anatomy-ClWKvaVa.mjs} +0 -0
- /package/dist/{floating-panel-anatomy-uaCG0I0g.d.cts → floating-panel-anatomy-Z6W8fNOZ.d.mts} +0 -0
- /package/dist/{hover-card-anatomy-Bj42vocJ.d.mts → hover-card-anatomy-C0T57bWy.d.mts} +0 -0
- /package/dist/{hover-card-anatomy-CQtlQUe_.mjs → hover-card-anatomy-COWw9SVe.mjs} +0 -0
- /package/dist/{hover-card-anatomy-ByW_9zER.d.cts → hover-card-anatomy-CYfhU4x6.d.cts} +0 -0
- /package/dist/{image-cropper-anatomy-CSYrSFyq.mjs → image-cropper-anatomy-DakRMhvF.mjs} +0 -0
- /package/dist/{image-cropper-anatomy-DBqhXOyb.d.cts → image-cropper-anatomy-Du5638m9.d.mts} +0 -0
- /package/dist/{image-cropper-anatomy-DJ0LYFWB.d.mts → image-cropper-anatomy-PoIGd-7g.d.cts} +0 -0
- /package/dist/{index-D43NaN4q.d.cts → index-BV6USqPg.d.cts} +0 -0
- /package/dist/{index-MsrrZK-d.d.mts → index-CpyFpCKZ.d.mts} +0 -0
- /package/dist/{index-g-TCevCo.d.cts → index-DgwcDpmv.d.cts} +0 -0
- /package/dist/{index-DZxjxmEf.d.mts → index-Drqgf8cV.d.mts} +0 -0
- /package/dist/{index-bnkolZBv.d.mts → index-JQlE9bL5.d.mts} +0 -0
- /package/dist/{listbox-anatomy-DPDustKl.mjs → listbox-anatomy-MK4ZOJyf.mjs} +0 -0
- /package/dist/{marquee-anatomy-C9HAWHcH.d.cts → marquee-anatomy-4HYJUJtD.d.cts} +0 -0
- /package/dist/{marquee-anatomy-CzQ2JNtJ.d.mts → marquee-anatomy-DExrAsUr.d.mts} +0 -0
- /package/dist/{marquee-anatomy-D_RABXng.mjs → marquee-anatomy-DlTf08tq.mjs} +0 -0
- /package/dist/{menu-anatomy-BHtJiH-8.mjs → menu-anatomy-BAyP6if6.mjs} +0 -0
- /package/dist/{navigation-menu-anatomy-CoEEyE5M.mjs → navigation-menu-anatomy-Bon0Jq-M.mjs} +0 -0
- /package/dist/{navigation-menu-anatomy-BmpEVMIc.d.mts → navigation-menu-anatomy-HsTfLEvk.d.cts} +0 -0
- /package/dist/{navigation-menu-anatomy-Dv0Nhwjm.d.cts → navigation-menu-anatomy-Td69uLtF.d.mts} +0 -0
- /package/dist/{normalize-props-BeSH6oua.d.cts → normalize-props-CI_xNrEa.d.cts} +0 -0
- /package/dist/{number-input-anatomy-D74_w7aW.d.cts → number-input-anatomy-4CDrC2Vw.d.mts} +0 -0
- /package/dist/{number-input-anatomy-D1aRkwwA.mjs → number-input-anatomy-C8JsrMzh.mjs} +0 -0
- /package/dist/{number-input-anatomy-DZiFAj5A.d.mts → number-input-anatomy-Ce6pW1U0.d.cts} +0 -0
- /package/dist/{pagination-anatomy-C4gl7RPp.d.mts → pagination-anatomy-BLyo9FSW.d.cts} +0 -0
- /package/dist/{pagination-anatomy-D5kUtIjp.d.cts → pagination-anatomy-BU6EGcdq.d.mts} +0 -0
- /package/dist/{pagination-anatomy-Cp0yqj09.mjs → pagination-anatomy-CL6uX2Hn.mjs} +0 -0
- /package/dist/{password-input-anatomy-D1bDbErC.mjs → password-input-anatomy-Bye9Gxt9.mjs} +0 -0
- /package/dist/{password-input-anatomy-BpA7ZmUl.d.cts → password-input-anatomy-CuBepIh9.d.cts} +0 -0
- /package/dist/{password-input-anatomy-DgwdGDKt.d.mts → password-input-anatomy-DfbdVvLY.d.mts} +0 -0
- /package/dist/{pin-input-anatomy-1dD0f2mO.d.cts → pin-input-anatomy-CpwReaHB.d.cts} +0 -0
- /package/dist/{pin-input-anatomy-DXK9imHx.d.mts → pin-input-anatomy-CqIxLeoh.d.mts} +0 -0
- /package/dist/{pin-input-anatomy-BD9tRplS.mjs → pin-input-anatomy-Sh858T5D.mjs} +0 -0
- /package/dist/{popover-anatomy-D9qirge6.d.cts → popover-anatomy-BAGacwDE.d.mts} +0 -0
- /package/dist/{popover-anatomy-DwPROe6n.d.mts → popover-anatomy-C04WZ8Xj.d.cts} +0 -0
- /package/dist/{popover-anatomy-C4R9B1VO.mjs → popover-anatomy-pebIoS53.mjs} +0 -0
- /package/dist/{progress-anatomy-D4koBOth.mjs → progress-anatomy-CMCJbgCC.mjs} +0 -0
- /package/dist/{progress-anatomy-BrCRtxUf.d.cts → progress-anatomy-DzzY65y-.d.mts} +0 -0
- /package/dist/{progress-anatomy-SYGQyHY_.d.mts → progress-anatomy-SU1qSe09.d.cts} +0 -0
- /package/dist/{providers-atRM3wB5.mjs → providers-U5faJq0V.mjs} +0 -0
- /package/dist/{qr-code-anatomy-D5nOi2TD.d.cts → qr-code-anatomy-D6Kf19ed.d.mts} +0 -0
- /package/dist/{qr-code-anatomy-D9dJpFw6.d.mts → qr-code-anatomy-DAakjbH5.d.cts} +0 -0
- /package/dist/{qr-code-anatomy-35Qa8k26.mjs → qr-code-anatomy-DVR5fI0a.mjs} +0 -0
- /package/dist/{radio-group-anatomy-7cm-biOb.d.mts → radio-group-anatomy-B5sOnnTr.d.mts} +0 -0
- /package/dist/{radio-group-anatomy-ikpF0zYu.mjs → radio-group-anatomy-B8qr5TNH.mjs} +0 -0
- /package/dist/{radio-group-anatomy-DKUNIvEg.d.cts → radio-group-anatomy-D2lQ866L.d.cts} +0 -0
- /package/dist/{rating-group-anatomy-Cc8bBTCG.d.cts → rating-group-anatomy-B0vdZIQp.d.cts} +0 -0
- /package/dist/{rating-group-anatomy-BftUV9U6.mjs → rating-group-anatomy-B1S-Gxsb.mjs} +0 -0
- /package/dist/{rating-group-anatomy-D8v0aMfl.d.mts → rating-group-anatomy-BvNjY5vj.d.mts} +0 -0
- /package/dist/{render-strategy-B0TFI5G3.d.mts → render-strategy-CqOdtkQI.d.mts} +0 -0
- /package/dist/{render-strategy-CaB6s5ot.d.cts → render-strategy-G1aEn-1X.d.cts} +0 -0
- /package/dist/{scroll-area-anatomy-C-UaHasP.mjs → scroll-area-anatomy-By_VD3OG.mjs} +0 -0
- /package/dist/{scroll-area-anatomy-Bj-dZIOP.d.cts → scroll-area-anatomy-CZsfqih7.d.cts} +0 -0
- /package/dist/{scroll-area-anatomy-DlasggRV.d.mts → scroll-area-anatomy-CwD6fWKj.d.mts} +0 -0
- /package/dist/{segment-group-anatomy-maA9Z25m.mjs → segment-group-anatomy-M-qDdmU8.mjs} +0 -0
- /package/dist/{select-anatomy-BgUycplU.d.cts → select-anatomy-B2OXeIZp.d.mts} +0 -0
- /package/dist/{select-anatomy-kXcpyDuX.mjs → select-anatomy-BbMFhSP3.mjs} +0 -0
- /package/dist/{select-anatomy-DYC3hAzB.d.mts → select-anatomy-D0Dqcz3w.d.cts} +0 -0
- /package/dist/{signature-pad-anatomy-DQCYuQlL.d.mts → signature-pad-anatomy-CMfnFuQS.d.mts} +0 -0
- /package/dist/{signature-pad-anatomy-D3F2Ahr8.mjs → signature-pad-anatomy-R5Ukq905.mjs} +0 -0
- /package/dist/{signature-pad-anatomy-tlcST0A9.d.cts → signature-pad-anatomy-Tx9hhqnC.d.cts} +0 -0
- /package/dist/{slider-anatomy-D5pmjxdI.d.mts → slider-anatomy-CY_YtBDB.d.mts} +0 -0
- /package/dist/{slider-anatomy-lwlkdKHs.mjs → slider-anatomy-DMbGI0i5.mjs} +0 -0
- /package/dist/{slider-anatomy-DeuOu_yr.d.cts → slider-anatomy-DvJQTUR8.d.cts} +0 -0
- /package/dist/{splitter-anatomy-DwIGVKYP.mjs → splitter-anatomy-BEnPE1ZN.mjs} +0 -0
- /package/dist/{splitter-anatomy-BdgcwAeU.d.cts → splitter-anatomy-Bd_hfJQj.d.mts} +0 -0
- /package/dist/{splitter-anatomy-CsUkEIRD.d.mts → splitter-anatomy-tCTgJYrq.d.cts} +0 -0
- /package/dist/{steps-anatomy-C4SIG77s.mjs → steps-anatomy-BZQiIXg8.mjs} +0 -0
- /package/dist/{steps-anatomy-Bplgb53H.d.cts → steps-anatomy-BhkGJwTF.d.cts} +0 -0
- /package/dist/{steps-anatomy-C-KmyTci.d.mts → steps-anatomy-JeP7KZG-.d.mts} +0 -0
- /package/dist/{switch-anatomy-sZj7UjX9.mjs → switch-anatomy-5UpLPKgE.mjs} +0 -0
- /package/dist/{switch-anatomy-C7pZo86r.d.mts → switch-anatomy-BGqnTLja.d.mts} +0 -0
- /package/dist/{switch-anatomy-Ci-WWIh0.d.cts → switch-anatomy-Dj6cEPG1.d.cts} +0 -0
- /package/dist/{tabs-anatomy-C28W3VK0.d.mts → tabs-anatomy-BnW2HaLO.d.cts} +0 -0
- /package/dist/{tabs-anatomy-DYxjVB93.mjs → tabs-anatomy-DHdiXDog.mjs} +0 -0
- /package/dist/{tabs-anatomy-DX2Jj16R.d.cts → tabs-anatomy-eRmtlQsU.d.mts} +0 -0
- /package/dist/{tags-input-anatomy-B6yIvWqq.d.cts → tags-input-anatomy-B3texlC6.d.mts} +0 -0
- /package/dist/{tags-input-anatomy-Bkj54y9X.mjs → tags-input-anatomy-BiXprJGY.mjs} +0 -0
- /package/dist/{tags-input-anatomy-CbRkCDiT.d.mts → tags-input-anatomy-zZukAFit.d.cts} +0 -0
- /package/dist/{timer-anatomy-Cmp7ugO8.d.mts → timer-anatomy-C2BAZwQ1.d.cts} +0 -0
- /package/dist/{timer-anatomy-BNBMQ-5v.mjs → timer-anatomy-D8iUnRzP.mjs} +0 -0
- /package/dist/{timer-anatomy-DYCbV039.d.cts → timer-anatomy-DUqM2eDi.d.mts} +0 -0
- /package/dist/{toast-anatomy-BeTfnL1w.mjs → toast-anatomy-DwQXQiOi.mjs} +0 -0
- /package/dist/{toast-anatomy-BgE_vsnK.d.cts → toast-anatomy-QYhMo--I.d.mts} +0 -0
- /package/dist/{toast-anatomy-CiUISRvR.d.mts → toast-anatomy-SLgBMq02.d.cts} +0 -0
- /package/dist/{toggle-anatomy-iZ5zPR2s.mjs → toggle-anatomy-BF4YpgWb.mjs} +0 -0
- /package/dist/{toggle-group-anatomy-B55PhzaJ.d.mts → toggle-group-anatomy-DQAWzLwW.d.cts} +0 -0
- /package/dist/{toggle-group-anatomy-CseKfB3J.d.cts → toggle-group-anatomy-ZiLh1tWf.d.mts} +0 -0
- /package/dist/{toggle-group-anatomy-B1vbTBB1.mjs → toggle-group-anatomy-jj7uq9td.mjs} +0 -0
- /package/dist/{tooltip-anatomy-BXJ3m4JD.d.cts → tooltip-anatomy-BI2lWnxV.d.mts} +0 -0
- /package/dist/{tooltip-anatomy-C-23XWDF.mjs → tooltip-anatomy-C46Bzt4g.mjs} +0 -0
- /package/dist/{tooltip-anatomy-d3gLxqP4.d.mts → tooltip-anatomy-x0MXMXtu.d.cts} +0 -0
- /package/dist/{tour-anatomy-RndFkmPW.mjs → tour-anatomy-DfPqr_UW.mjs} +0 -0
- /package/dist/{tree-view-anatomy-BRw-O_EZ.mjs → tree-view-anatomy-CTdYmMrt.mjs} +0 -0
- /package/dist/{tree-view-anatomy-BbXee4_Y.d.cts → tree-view-anatomy-CbZbvgAt.d.cts} +0 -0
- /package/dist/{tree-view-anatomy-bN8lKZwN.d.mts → tree-view-anatomy-DRt3k93I.d.mts} +0 -0
- /package/dist/{types-B9Rw35YE.d.mts → types-DBJaHk-X.d.mts} +0 -0
- /package/dist/{types-CCi_nex5.d.cts → types-DhoBSqCC.d.cts} +0 -0
- /package/dist/{use-event-B3MQ10xO.mjs → use-event-BZ7aKdTe.mjs} +0 -0
- /package/dist/{use-fieldset-context-wVosgVyb.cjs → use-fieldset-context-CFrHx3_L.cjs} +0 -0
- /package/dist/{use-safe-layout-effect-CXFdB5AA.cjs → use-safe-layout-effect-C4G5_A1s.cjs} +0 -0
- /package/dist/{use-safe-layout-effect-c21-N1lb.mjs → use-safe-layout-effect-DzNlaBXT.mjs} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, r as normalizeProps, t as mergeProps } from "../../core-
|
|
3
|
-
import { t as createContext$1 } from "../../create-context-
|
|
4
|
-
import { n as useEnvironmentContext } from "../../environment-
|
|
5
|
-
import { i as useLocaleContext } from "../../locale-
|
|
6
|
-
import "../../providers-
|
|
7
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
8
|
-
import { n as sprawlify } from "../../factory-
|
|
9
|
-
import { t as tourAnatomy } from "../../tour-anatomy-
|
|
10
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
11
|
-
import { n as splitRenderStrategyProps, r as useRenderStrategyPropsContext, t as RenderStrategyPropsProvider } from "../../render-strategy-
|
|
12
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
13
|
-
import "../../use-event-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-DWkwRR9H.mjs";
|
|
2
|
+
import { i as useMachine, r as normalizeProps, t as mergeProps } from "../../core-BxCFHKQ_.mjs";
|
|
3
|
+
import { t as createContext$1 } from "../../create-context-DuRB02yv.mjs";
|
|
4
|
+
import { n as useEnvironmentContext } from "../../environment-9mOM5FKS.mjs";
|
|
5
|
+
import { i as useLocaleContext } from "../../locale-De5Z27ES.mjs";
|
|
6
|
+
import "../../providers-U5faJq0V.mjs";
|
|
7
|
+
import { t as composeRefs } from "../../compose-refs-JvsPOcHE.mjs";
|
|
8
|
+
import { n as sprawlify } from "../../factory-D0O3O5Jq.mjs";
|
|
9
|
+
import { t as tourAnatomy } from "../../tour-anatomy-DfPqr_UW.mjs";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-BrrYfbxV.mjs";
|
|
11
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyPropsContext, t as RenderStrategyPropsProvider } from "../../render-strategy-BvdfkxuI.mjs";
|
|
12
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-bN93pVGw.mjs";
|
|
13
|
+
import "../../use-event-BZ7aKdTe.mjs";
|
|
14
14
|
import { forwardRef, useId } from "react";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
16
|
import * as tour from "@sprawlify/primitives/machines/tour";
|
|
@@ -43,9 +43,9 @@ const TourActions = (props) => props.children(useTourContext().step?.actions ??
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/tour/tour-arrow.tsx
|
|
45
45
|
const TourArrow = forwardRef((props, ref) => {
|
|
46
|
-
const tour
|
|
47
|
-
const mergedProps = mergeProps(tour
|
|
48
|
-
return tour
|
|
46
|
+
const tour = useTourContext();
|
|
47
|
+
const mergedProps = mergeProps(tour.getArrowProps(), props);
|
|
48
|
+
return tour.step?.arrow ? /* @__PURE__ */ jsx(sprawlify.div, {
|
|
49
49
|
...mergedProps,
|
|
50
50
|
ref
|
|
51
51
|
}) : null;
|
|
@@ -66,17 +66,17 @@ TourArrowTip.displayName = "TourArrowTip";
|
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/tour/tour-backdrop.tsx
|
|
68
68
|
const TourBackdrop = forwardRef((props, ref) => {
|
|
69
|
-
const tour
|
|
69
|
+
const tour = useTourContext();
|
|
70
70
|
const presence = usePresence({
|
|
71
71
|
...useRenderStrategyPropsContext(),
|
|
72
|
-
present: tour
|
|
72
|
+
present: tour.open
|
|
73
73
|
});
|
|
74
|
-
const mergedProps = mergeProps(tour
|
|
74
|
+
const mergedProps = mergeProps(tour.getBackdropProps(), presence.getPresenceProps(), props);
|
|
75
75
|
if (presence.unmounted) return null;
|
|
76
76
|
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
77
77
|
...mergedProps,
|
|
78
78
|
ref: composeRefs(presence.ref, ref),
|
|
79
|
-
hidden: !tour
|
|
79
|
+
hidden: !tour.step?.backdrop
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
82
|
TourBackdrop.displayName = "TourBackdrop";
|
|
@@ -95,9 +95,9 @@ TourCloseTrigger.displayName = "TourCloseTrigger";
|
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/components/tour/tour-content.tsx
|
|
97
97
|
const TourContent = forwardRef((props, ref) => {
|
|
98
|
-
const tour
|
|
98
|
+
const tour = useTourContext();
|
|
99
99
|
const presence = usePresenceContext();
|
|
100
|
-
const mergedProps = mergeProps(tour
|
|
100
|
+
const mergedProps = mergeProps(tour.getContentProps(), presence.getPresenceProps(), props);
|
|
101
101
|
if (presence.unmounted) return null;
|
|
102
102
|
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
103
103
|
...mergedProps,
|
|
@@ -122,12 +122,12 @@ TourControl.displayName = "TourControl";
|
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/components/tour/tour-description.tsx
|
|
124
124
|
const TourDescription = forwardRef((props, ref) => {
|
|
125
|
-
const tour
|
|
126
|
-
const mergedProps = mergeProps(tour
|
|
125
|
+
const tour = useTourContext();
|
|
126
|
+
const mergedProps = mergeProps(tour.getDescriptionProps(), props);
|
|
127
127
|
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
128
128
|
...mergedProps,
|
|
129
129
|
ref,
|
|
130
|
-
children: mergedProps.children || tour
|
|
130
|
+
children: mergedProps.children || tour.step?.description
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
TourDescription.displayName = "TourDescription";
|
|
@@ -147,12 +147,12 @@ TourPositioner.displayName = "TourPositioner";
|
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region src/components/tour/tour-progress-text.tsx
|
|
149
149
|
const TourProgressText = forwardRef((props, ref) => {
|
|
150
|
-
const tour
|
|
151
|
-
const mergedProps = mergeProps(tour
|
|
150
|
+
const tour = useTourContext();
|
|
151
|
+
const mergedProps = mergeProps(tour.getProgressTextProps(), props);
|
|
152
152
|
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
153
153
|
...mergedProps,
|
|
154
154
|
ref,
|
|
155
|
-
children: mergedProps.children || tour
|
|
155
|
+
children: mergedProps.children || tour.getProgressText()
|
|
156
156
|
});
|
|
157
157
|
});
|
|
158
158
|
TourProgressText.displayName = "TourProgressText";
|
|
@@ -160,14 +160,14 @@ TourProgressText.displayName = "TourProgressText";
|
|
|
160
160
|
//#endregion
|
|
161
161
|
//#region src/components/tour/tour-root.tsx
|
|
162
162
|
const TourRoot = (props) => {
|
|
163
|
-
const [presenceProps, { children, tour
|
|
163
|
+
const [presenceProps, { children, tour }] = splitPresenceProps(props);
|
|
164
164
|
const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
|
|
165
165
|
return /* @__PURE__ */ jsx(TourProvider, {
|
|
166
|
-
value: tour
|
|
166
|
+
value: tour,
|
|
167
167
|
children: /* @__PURE__ */ jsx(RenderStrategyPropsProvider, {
|
|
168
168
|
value: renderStrategyProps,
|
|
169
169
|
children: /* @__PURE__ */ jsx(PresenceProvider, {
|
|
170
|
-
value: usePresence(mergeProps({ present: tour
|
|
170
|
+
value: usePresence(mergeProps({ present: tour.open }, presenceProps)),
|
|
171
171
|
children
|
|
172
172
|
})
|
|
173
173
|
})
|
|
@@ -177,13 +177,13 @@ const TourRoot = (props) => {
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/components/tour/tour-spotlight.tsx
|
|
179
179
|
const TourSpotlight = forwardRef((props, ref) => {
|
|
180
|
-
const tour
|
|
180
|
+
const tour = useTourContext();
|
|
181
181
|
const presence = usePresence({
|
|
182
182
|
...useRenderStrategyPropsContext(),
|
|
183
|
-
present: tour
|
|
183
|
+
present: tour.open
|
|
184
184
|
});
|
|
185
|
-
const mergedProps = mergeProps(tour
|
|
186
|
-
const hidden = !tour
|
|
185
|
+
const mergedProps = mergeProps(tour.getSpotlightProps(), presence.getPresenceProps(), props);
|
|
186
|
+
const hidden = !tour.open || !tour.step?.target?.();
|
|
187
187
|
if (presence.unmounted) return null;
|
|
188
188
|
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
189
189
|
...mergedProps,
|
|
@@ -196,12 +196,12 @@ TourSpotlight.displayName = "TourSpotlight";
|
|
|
196
196
|
//#endregion
|
|
197
197
|
//#region src/components/tour/tour-title.tsx
|
|
198
198
|
const TourTitle = forwardRef((props, ref) => {
|
|
199
|
-
const tour
|
|
200
|
-
const mergedProps = mergeProps(tour
|
|
199
|
+
const tour = useTourContext();
|
|
200
|
+
const mergedProps = mergeProps(tour.getTitleProps(), props);
|
|
201
201
|
return /* @__PURE__ */ jsx(sprawlify.h2, {
|
|
202
202
|
...mergedProps,
|
|
203
203
|
ref,
|
|
204
|
-
children: mergedProps.children || tour
|
|
204
|
+
children: mergedProps.children || tour.step?.title
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
TourTitle.displayName = "TourTitle";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('../../chunk-CvCQGRaV.cjs');
|
|
2
|
-
require('../../core-
|
|
2
|
+
require('../../core-DewT0RE5.cjs');
|
|
3
3
|
require('../../create-context-DVn3n7gf.cjs');
|
|
4
4
|
require('../../environment-Bg7owXYh.cjs');
|
|
5
5
|
require('../../locale-C3PqkI4d.cjs');
|
|
@@ -7,11 +7,11 @@ require('../../providers-ur-JDrsf.cjs');
|
|
|
7
7
|
require('../../factory-Cz8-l4y-.cjs');
|
|
8
8
|
require('../../collapsible-anatomy-CBvotiyd.cjs');
|
|
9
9
|
require('../../tree-view-anatomy-0ChdG29n.cjs');
|
|
10
|
-
require('../../collapsible-
|
|
10
|
+
require('../../collapsible-kCLYszP2.cjs');
|
|
11
11
|
require('../../render-strategy-PtH88-lg.cjs');
|
|
12
12
|
require('../../use-event-CHv5QJkT.cjs');
|
|
13
|
-
const require_collection = require('../../collection-
|
|
14
|
-
const require_tree_view = require('../../tree-view-
|
|
13
|
+
const require_collection = require('../../collection-DraYQkEk.cjs');
|
|
14
|
+
const require_tree_view = require('../../tree-view-8tu8HWZ0.cjs');
|
|
15
15
|
let _sprawlify_primitives_machines_tree_view = require("@sprawlify/primitives/machines/tree-view");
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, 'TreeView', {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as treeViewAnatomy } from "../../tree-view-anatomy-
|
|
2
|
-
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-
|
|
3
|
-
import { $ as TreeViewContext, A as TreeViewRootBaseProps, B as useTreeViewNodeContext, C as TreeViewTreeBaseProps, Ct as TreeViewBranchContentProps, D as TreeViewRootProviderComponent, E as TreeViewRootProviderBaseProps, Et as TreeViewBranchProps, F as TreeViewNodeProviderBaseProps, G as TreeViewItemTextBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeProviderProps, J as TreeViewItemIndicatorBaseProps, K as TreeViewItemTextProps, L as TreeViewNodeContext, M as TreeViewRootComponentProps, N as TreeViewRootProps, O as TreeViewRootProviderProps, P as TreeViewNodeProvider, Q as TreeViewItemProps, R as TreeViewNodeContextProps, S as TreeViewTree, St as TreeViewBranchContentBaseProps, T as TreeViewRootProvider, Tt as TreeViewBranchBaseProps, U as TreeViewLabelProps, V as TreeViewLabel, W as TreeViewItemText, X as TreeViewItem, Y as TreeViewItemIndicatorProps, Z as TreeViewItemBaseProps, _ as TreeViewNodeCheckboxIndicatorBaseProps, _t as TreeViewBranchIndentGuideProps, a as TreeViewLoadChildrenDetails, at as useTreeView, b as TreeViewNodeCheckboxBaseProps, bt as TreeViewBranchControlProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as TreeViewBranchIndicator, g as TreeViewNodeCheckboxIndicator, gt as TreeViewBranchIndentGuideBaseProps, h as TreeViewNodeRenameInputProps, ht as TreeViewBranchIndentGuide, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as TreeViewRootComponent, k as TreeViewRoot, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchText, m as TreeViewNodeRenameInputBaseProps, mt as TreeViewBranchIndicatorProps, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchTrigger, p as TreeViewNodeRenameInput, pt as TreeViewBranchIndicatorBaseProps, q as TreeViewItemIndicator, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchTriggerBaseProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTextBaseProps, v as TreeViewNodeCheckboxIndicatorProps, vt as TreeViewBranchControl, w as TreeViewTreeProps, wt as TreeViewBranch, x as TreeViewNodeCheckboxProps, xt as TreeViewBranchContent, y as TreeViewNodeCheckbox, yt as TreeViewBranchControlBaseProps, z as UseTreeViewNodeContext } from "../../index-
|
|
1
|
+
import { t as treeViewAnatomy } from "../../tree-view-anatomy-CbZbvgAt.cjs";
|
|
2
|
+
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-BV6USqPg.cjs";
|
|
3
|
+
import { $ as TreeViewContext, A as TreeViewRootBaseProps, B as useTreeViewNodeContext, C as TreeViewTreeBaseProps, Ct as TreeViewBranchContentProps, D as TreeViewRootProviderComponent, E as TreeViewRootProviderBaseProps, Et as TreeViewBranchProps, F as TreeViewNodeProviderBaseProps, G as TreeViewItemTextBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeProviderProps, J as TreeViewItemIndicatorBaseProps, K as TreeViewItemTextProps, L as TreeViewNodeContext, M as TreeViewRootComponentProps, N as TreeViewRootProps, O as TreeViewRootProviderProps, P as TreeViewNodeProvider, Q as TreeViewItemProps, R as TreeViewNodeContextProps, S as TreeViewTree, St as TreeViewBranchContentBaseProps, T as TreeViewRootProvider, Tt as TreeViewBranchBaseProps, U as TreeViewLabelProps, V as TreeViewLabel, W as TreeViewItemText, X as TreeViewItem, Y as TreeViewItemIndicatorProps, Z as TreeViewItemBaseProps, _ as TreeViewNodeCheckboxIndicatorBaseProps, _t as TreeViewBranchIndentGuideProps, a as TreeViewLoadChildrenDetails, at as useTreeView, b as TreeViewNodeCheckboxBaseProps, bt as TreeViewBranchControlProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as TreeViewBranchIndicator, g as TreeViewNodeCheckboxIndicator, gt as TreeViewBranchIndentGuideBaseProps, h as TreeViewNodeRenameInputProps, ht as TreeViewBranchIndentGuide, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as TreeViewRootComponent, k as TreeViewRoot, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchText, m as TreeViewNodeRenameInputBaseProps, mt as TreeViewBranchIndicatorProps, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchTrigger, p as TreeViewNodeRenameInput, pt as TreeViewBranchIndicatorBaseProps, q as TreeViewItemIndicator, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchTriggerBaseProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTextBaseProps, v as TreeViewNodeCheckboxIndicatorProps, vt as TreeViewBranchControl, w as TreeViewTreeProps, wt as TreeViewBranch, x as TreeViewNodeCheckboxProps, xt as TreeViewBranchContent, y as TreeViewNodeCheckbox, yt as TreeViewBranchControlBaseProps, z as UseTreeViewNodeContext } from "../../index-DIJ8ltsu.cjs";
|
|
4
4
|
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 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../index-
|
|
2
|
-
import "../../factory-
|
|
3
|
-
import "../../render-strategy-
|
|
4
|
-
import { t as treeViewAnatomy } from "../../tree-view-anatomy-
|
|
5
|
-
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-
|
|
6
|
-
import { $ as TreeViewContext, A as TreeViewRootBaseProps, B as useTreeViewNodeContext, C as TreeViewTreeBaseProps, Ct as TreeViewBranchContentProps, D as TreeViewRootProviderComponent, E as TreeViewRootProviderBaseProps, Et as TreeViewBranchProps, F as TreeViewNodeProviderBaseProps, G as TreeViewItemTextBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeProviderProps, J as TreeViewItemIndicatorBaseProps, K as TreeViewItemTextProps, L as TreeViewNodeContext, M as TreeViewRootComponentProps, N as TreeViewRootProps, O as TreeViewRootProviderProps, P as TreeViewNodeProvider, Q as TreeViewItemProps, R as TreeViewNodeContextProps, S as TreeViewTree, St as TreeViewBranchContentBaseProps, T as TreeViewRootProvider, Tt as TreeViewBranchBaseProps, U as TreeViewLabelProps, V as TreeViewLabel, W as TreeViewItemText, X as TreeViewItem, Y as TreeViewItemIndicatorProps, Z as TreeViewItemBaseProps, _ as TreeViewNodeCheckboxIndicatorBaseProps, _t as TreeViewBranchIndentGuideProps, a as TreeViewLoadChildrenDetails, at as useTreeView, b as TreeViewNodeCheckboxBaseProps, bt as TreeViewBranchControlProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as TreeViewBranchIndicator, g as TreeViewNodeCheckboxIndicator, gt as TreeViewBranchIndentGuideBaseProps, h as TreeViewNodeRenameInputProps, ht as TreeViewBranchIndentGuide, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as TreeViewRootComponent, k as TreeViewRoot, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchText, m as TreeViewNodeRenameInputBaseProps, mt as TreeViewBranchIndicatorProps, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchTrigger, p as TreeViewNodeRenameInput, pt as TreeViewBranchIndicatorBaseProps, q as TreeViewItemIndicator, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchTriggerBaseProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTextBaseProps, v as TreeViewNodeCheckboxIndicatorProps, vt as TreeViewBranchControl, w as TreeViewTreeProps, wt as TreeViewBranch, x as TreeViewNodeCheckboxProps, xt as TreeViewBranchContent, y as TreeViewNodeCheckbox, yt as TreeViewBranchControlBaseProps, z as UseTreeViewNodeContext } from "../../index-
|
|
1
|
+
import "../../index-CpyFpCKZ.mjs";
|
|
2
|
+
import "../../factory-BIg2TdAk.mjs";
|
|
3
|
+
import "../../render-strategy-CqOdtkQI.mjs";
|
|
4
|
+
import { t as treeViewAnatomy } from "../../tree-view-anatomy-DRt3k93I.mjs";
|
|
5
|
+
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-Drqgf8cV.mjs";
|
|
6
|
+
import { $ as TreeViewContext, A as TreeViewRootBaseProps, B as useTreeViewNodeContext, C as TreeViewTreeBaseProps, Ct as TreeViewBranchContentProps, D as TreeViewRootProviderComponent, E as TreeViewRootProviderBaseProps, Et as TreeViewBranchProps, F as TreeViewNodeProviderBaseProps, G as TreeViewItemTextBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeProviderProps, J as TreeViewItemIndicatorBaseProps, K as TreeViewItemTextProps, L as TreeViewNodeContext, M as TreeViewRootComponentProps, N as TreeViewRootProps, O as TreeViewRootProviderProps, P as TreeViewNodeProvider, Q as TreeViewItemProps, R as TreeViewNodeContextProps, S as TreeViewTree, St as TreeViewBranchContentBaseProps, T as TreeViewRootProvider, Tt as TreeViewBranchBaseProps, U as TreeViewLabelProps, V as TreeViewLabel, W as TreeViewItemText, X as TreeViewItem, Y as TreeViewItemIndicatorProps, Z as TreeViewItemBaseProps, _ as TreeViewNodeCheckboxIndicatorBaseProps, _t as TreeViewBranchIndentGuideProps, a as TreeViewLoadChildrenDetails, at as useTreeView, b as TreeViewNodeCheckboxBaseProps, bt as TreeViewBranchControlProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as TreeViewBranchIndicator, g as TreeViewNodeCheckboxIndicator, gt as TreeViewBranchIndentGuideBaseProps, h as TreeViewNodeRenameInputProps, ht as TreeViewBranchIndentGuide, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as TreeViewRootComponent, k as TreeViewRoot, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchText, m as TreeViewNodeRenameInputBaseProps, mt as TreeViewBranchIndicatorProps, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchTrigger, p as TreeViewNodeRenameInput, pt as TreeViewBranchIndicatorBaseProps, q as TreeViewItemIndicator, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchTriggerBaseProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTextBaseProps, v as TreeViewNodeCheckboxIndicatorProps, vt as TreeViewBranchControl, w as TreeViewTreeProps, wt as TreeViewBranch, x as TreeViewNodeCheckboxProps, xt as TreeViewBranchContent, y as TreeViewNodeCheckbox, yt as TreeViewBranchControlBaseProps, z as UseTreeViewNodeContext } from "../../index-BY0HwNOP.mjs";
|
|
7
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 };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../create-context-
|
|
3
|
-
import "../../environment-
|
|
4
|
-
import "../../locale-
|
|
5
|
-
import "../../providers-
|
|
6
|
-
import "../../factory-
|
|
7
|
-
import
|
|
8
|
-
import "../../
|
|
9
|
-
import "../../
|
|
10
|
-
import "../../
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
1
|
+
import "../../core-BxCFHKQ_.mjs";
|
|
2
|
+
import "../../create-context-DuRB02yv.mjs";
|
|
3
|
+
import "../../environment-9mOM5FKS.mjs";
|
|
4
|
+
import "../../locale-De5Z27ES.mjs";
|
|
5
|
+
import "../../providers-U5faJq0V.mjs";
|
|
6
|
+
import "../../factory-D0O3O5Jq.mjs";
|
|
7
|
+
import "../../collapsible-anatomy-pcRVlO7f.mjs";
|
|
8
|
+
import { t as treeViewAnatomy } from "../../tree-view-anatomy-CTdYmMrt.mjs";
|
|
9
|
+
import "../../collapsible-C3dNn-jW.mjs";
|
|
10
|
+
import "../../render-strategy-BvdfkxuI.mjs";
|
|
11
|
+
import "../../use-event-BZ7aKdTe.mjs";
|
|
12
|
+
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-349IgODS.mjs";
|
|
13
|
+
import { C as useTreeViewNodeContext, S as TreeViewBranch, _ as TreeViewBranchText, a as TreeViewTree, b as TreeViewBranchControl, c as useTreeView, d as TreeViewLabel, f as TreeViewItemText, g as TreeViewBranchTrigger, h as TreeViewContext, i as TreeViewNodeCheckbox, l as TreeViewNodeProvider, m as TreeViewItem, n as TreeViewNodeRenameInput, o as TreeViewRootProvider, p as TreeViewItemIndicator, r as TreeViewNodeCheckboxIndicator, s as TreeViewRoot, t as tree_view_exports, u as TreeViewNodeContext, v as TreeViewBranchIndicator, w as useTreeViewContext, x as TreeViewBranchContent, y as TreeViewBranchIndentGuide } from "../../tree-view-DIzMJfqd.mjs";
|
|
13
14
|
|
|
14
15
|
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 };
|
|
@@ -23,9 +23,9 @@ function useBindable(props) {
|
|
|
23
23
|
useSafeLayoutEffect(() => {
|
|
24
24
|
prevValue.current = valueRef.current;
|
|
25
25
|
}, [value, props().value]);
|
|
26
|
-
const setFn = (value
|
|
26
|
+
const setFn = (value) => {
|
|
27
27
|
const prev = prevValue.current;
|
|
28
|
-
const next = isFunction(value
|
|
28
|
+
const next = isFunction(value) ? value(prev) : value;
|
|
29
29
|
if (props().debug) console.log(`[bindable > ${props().debug}] setValue`, {
|
|
30
30
|
next,
|
|
31
31
|
prev
|
|
@@ -40,14 +40,14 @@ function useBindable(props) {
|
|
|
40
40
|
initial: initialValue,
|
|
41
41
|
ref: valueRef,
|
|
42
42
|
get,
|
|
43
|
-
set(value
|
|
44
|
-
(props().sync ? flushSync : identity)(() => setFn(value
|
|
43
|
+
set(value) {
|
|
44
|
+
(props().sync ? flushSync : identity)(() => setFn(value));
|
|
45
45
|
},
|
|
46
|
-
invoke(nextValue, prevValue
|
|
47
|
-
props().onChange?.(nextValue, prevValue
|
|
46
|
+
invoke(nextValue, prevValue) {
|
|
47
|
+
props().onChange?.(nextValue, prevValue);
|
|
48
48
|
},
|
|
49
|
-
hash(value
|
|
50
|
-
return props().hash?.(value
|
|
49
|
+
hash(value) {
|
|
50
|
+
return props().hash?.(value) ?? String(value);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
}
|
|
@@ -250,8 +250,8 @@ function useMachine(machine, userProps = {}) {
|
|
|
250
250
|
if (cleanup) effects.current.set(nextState, cleanup);
|
|
251
251
|
if (prevState === INIT_STATE) {
|
|
252
252
|
action(machine.entry);
|
|
253
|
-
const cleanup
|
|
254
|
-
if (cleanup
|
|
253
|
+
const cleanup = effect(machine.effects);
|
|
254
|
+
if (cleanup) effects.current.set(INIT_STATE, cleanup);
|
|
255
255
|
}
|
|
256
256
|
action(machine.states[nextState]?.entry);
|
|
257
257
|
}
|
|
@@ -24,9 +24,9 @@ function useBindable(props) {
|
|
|
24
24
|
useSafeLayoutEffect(() => {
|
|
25
25
|
prevValue.current = valueRef.current;
|
|
26
26
|
}, [value, props().value]);
|
|
27
|
-
const setFn = (value
|
|
27
|
+
const setFn = (value) => {
|
|
28
28
|
const prev = prevValue.current;
|
|
29
|
-
const next = (0, _sprawlify_primitives_utils.isFunction)(value
|
|
29
|
+
const next = (0, _sprawlify_primitives_utils.isFunction)(value) ? value(prev) : value;
|
|
30
30
|
if (props().debug) console.log(`[bindable > ${props().debug}] setValue`, {
|
|
31
31
|
next,
|
|
32
32
|
prev
|
|
@@ -41,14 +41,14 @@ function useBindable(props) {
|
|
|
41
41
|
initial: initialValue,
|
|
42
42
|
ref: valueRef,
|
|
43
43
|
get,
|
|
44
|
-
set(value
|
|
45
|
-
(props().sync ? react_dom.flushSync : _sprawlify_primitives_utils.identity)(() => setFn(value
|
|
44
|
+
set(value) {
|
|
45
|
+
(props().sync ? react_dom.flushSync : _sprawlify_primitives_utils.identity)(() => setFn(value));
|
|
46
46
|
},
|
|
47
|
-
invoke(nextValue, prevValue
|
|
48
|
-
props().onChange?.(nextValue, prevValue
|
|
47
|
+
invoke(nextValue, prevValue) {
|
|
48
|
+
props().onChange?.(nextValue, prevValue);
|
|
49
49
|
},
|
|
50
|
-
hash(value
|
|
51
|
-
return props().hash?.(value
|
|
50
|
+
hash(value) {
|
|
51
|
+
return props().hash?.(value) ?? String(value);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -251,8 +251,8 @@ function useMachine(machine, userProps = {}) {
|
|
|
251
251
|
if (cleanup) effects.current.set(nextState, cleanup);
|
|
252
252
|
if (prevState === _sprawlify_primitives_core.INIT_STATE) {
|
|
253
253
|
action(machine.entry);
|
|
254
|
-
const cleanup
|
|
255
|
-
if (cleanup
|
|
254
|
+
const cleanup = effect(machine.effects);
|
|
255
|
+
if (cleanup) effects.current.set(_sprawlify_primitives_core.INIT_STATE, cleanup);
|
|
256
256
|
}
|
|
257
257
|
action(machine.states[nextState]?.entry);
|
|
258
258
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/date-picker/date-picker-anatomy.d.ts
|
|
4
|
+
declare const datePickerAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"root" | "control" | "prevTrigger" | "nextTrigger" | "label" | "valueText" | "trigger" | "content" | "positioner" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { datePickerAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/date-picker/date-picker-anatomy.d.ts
|
|
4
|
+
declare const datePickerAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"root" | "control" | "prevTrigger" | "nextTrigger" | "label" | "valueText" | "trigger" | "content" | "positioner" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { datePickerAnatomy as t };
|
|
@@ -2,7 +2,7 @@ const require_chunk = require('./chunk-CvCQGRaV.cjs');
|
|
|
2
2
|
let _sprawlify_primitives_machines_date_picker = require("@sprawlify/primitives/machines/date-picker");
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-picker/date-picker-anatomy.ts
|
|
5
|
-
const datePickerAnatomy = _sprawlify_primitives_machines_date_picker.anatomy.extendWith("view");
|
|
5
|
+
const datePickerAnatomy = _sprawlify_primitives_machines_date_picker.anatomy.extendWith("view", "valueText");
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
Object.defineProperty(exports, 'datePickerAnatomy', {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { anatomy } from "@sprawlify/primitives/machines/date-picker";
|
|
2
2
|
|
|
3
3
|
//#region src/components/date-picker/date-picker-anatomy.ts
|
|
4
|
-
const datePickerAnatomy = anatomy.extendWith("view");
|
|
4
|
+
const datePickerAnatomy = anatomy.extendWith("view", "valueText");
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
7
|
export { datePickerAnatomy as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createContext$1 } from "./create-context-
|
|
1
|
+
import { t as createContext$1 } from "./create-context-DuRB02yv.mjs";
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { getDocument, getWindow } from "@sprawlify/primitives/dom-query";
|
|
@@ -5,8 +5,8 @@ interface PolymorphicProps {
|
|
|
5
5
|
asChild?: boolean | undefined;
|
|
6
6
|
}
|
|
7
7
|
type JsxElements = { [E in keyof JSX.IntrinsicElements]: SprawlifyForwardRefComponent<E> };
|
|
8
|
-
type SprawlifyForwardRefComponent<E
|
|
9
|
-
type SprawlifyPropsWithRef<E
|
|
8
|
+
type SprawlifyForwardRefComponent<E extends React.ElementType> = React.ForwardRefExoticComponent<SprawlifyPropsWithRef<E>>;
|
|
9
|
+
type SprawlifyPropsWithRef<E extends React.ElementType> = React.ComponentPropsWithRef<E> & PolymorphicProps;
|
|
10
10
|
type HTMLProps<T extends keyof JSX.IntrinsicElements> = ComponentPropsWithoutRef<T>;
|
|
11
11
|
type HTMLSprawlifyProps<T extends keyof JSX.IntrinsicElements> = HTMLProps<T> & PolymorphicProps;
|
|
12
12
|
declare const jsxFactory: () => JsxElements;
|
|
@@ -5,8 +5,8 @@ interface PolymorphicProps {
|
|
|
5
5
|
asChild?: boolean | undefined;
|
|
6
6
|
}
|
|
7
7
|
type JsxElements = { [E in keyof JSX.IntrinsicElements]: SprawlifyForwardRefComponent<E> };
|
|
8
|
-
type SprawlifyForwardRefComponent<E
|
|
9
|
-
type SprawlifyPropsWithRef<E
|
|
8
|
+
type SprawlifyForwardRefComponent<E extends React.ElementType> = React.ForwardRefExoticComponent<SprawlifyPropsWithRef<E>>;
|
|
9
|
+
type SprawlifyPropsWithRef<E extends React.ElementType> = React.ComponentPropsWithRef<E> & PolymorphicProps;
|
|
10
10
|
type HTMLProps<T extends keyof JSX.IntrinsicElements> = ComponentPropsWithoutRef<T>;
|
|
11
11
|
type HTMLSprawlifyProps<T extends keyof JSX.IntrinsicElements> = HTMLProps<T> & PolymorphicProps;
|
|
12
12
|
declare const jsxFactory: () => JsxElements;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as composeRefs } from "./compose-refs-
|
|
1
|
+
import { t as composeRefs } from "./compose-refs-JvsPOcHE.mjs";
|
|
2
2
|
import { mergeProps } from "@sprawlify/primitives/core";
|
|
3
3
|
import { Children, cloneElement, createElement, forwardRef, isValidElement, memo } from "react";
|
|
4
4
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { t as mergeProps$1 } from "./core-
|
|
3
|
-
import { t as createContext$1 } from "./create-context-
|
|
4
|
-
import { n as useEnvironmentContext } from "./environment-
|
|
5
|
-
import { t as composeRefs } from "./compose-refs-
|
|
6
|
-
import { n as sprawlify } from "./factory-
|
|
7
|
-
import { n as parts } from "./field-anatomy-
|
|
8
|
-
import { t as createSplitProps } from "./create-split-props-
|
|
9
|
-
import { n as useFieldsetContext } from "./use-fieldset-context-
|
|
10
|
-
import { t as useSafeLayoutEffect } from "./use-safe-layout-effect-
|
|
1
|
+
import { t as __exportAll } from "./chunk-DWkwRR9H.mjs";
|
|
2
|
+
import { t as mergeProps$1 } from "./core-BxCFHKQ_.mjs";
|
|
3
|
+
import { t as createContext$1 } from "./create-context-DuRB02yv.mjs";
|
|
4
|
+
import { n as useEnvironmentContext } from "./environment-9mOM5FKS.mjs";
|
|
5
|
+
import { t as composeRefs } from "./compose-refs-JvsPOcHE.mjs";
|
|
6
|
+
import { n as sprawlify } from "./factory-D0O3O5Jq.mjs";
|
|
7
|
+
import { n as parts } from "./field-anatomy-CEUB_Ta7.mjs";
|
|
8
|
+
import { t as createSplitProps } from "./create-split-props-BrrYfbxV.mjs";
|
|
9
|
+
import { n as useFieldsetContext } from "./use-fieldset-context-CwklHNpM.mjs";
|
|
10
|
+
import { t as useSafeLayoutEffect } from "./use-safe-layout-effect-DzNlaBXT.mjs";
|
|
11
11
|
import { mergeProps } from "@sprawlify/primitives/core";
|
|
12
12
|
import { forwardRef, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -122,10 +122,10 @@ const useField = (props = {}) => {
|
|
|
122
122
|
helperTextId
|
|
123
123
|
]);
|
|
124
124
|
const labelIds = useMemo(() => {
|
|
125
|
-
const ids
|
|
126
|
-
if (hasErrorText && invalid) ids
|
|
127
|
-
if (hasHelperText) ids
|
|
128
|
-
return ids
|
|
125
|
+
const ids = [];
|
|
126
|
+
if (hasErrorText && invalid) ids.push(errorTextId);
|
|
127
|
+
if (hasHelperText) ids.push(helperTextId);
|
|
128
|
+
return ids.join(" ") || void 0;
|
|
129
129
|
}, [
|
|
130
130
|
invalid,
|
|
131
131
|
errorTextId,
|
|
@@ -5,8 +5,8 @@ const require_compose_refs = require('./compose-refs-D8JygMj3.cjs');
|
|
|
5
5
|
const require_factory = require('./factory-Cz8-l4y-.cjs');
|
|
6
6
|
const require_field_anatomy = require('./field-anatomy-gybp6xfg.cjs');
|
|
7
7
|
const require_create_split_props = require('./create-split-props-DyDT-QxT.cjs');
|
|
8
|
-
const require_use_fieldset_context = require('./use-fieldset-context-
|
|
9
|
-
const require_use_safe_layout_effect = require('./use-safe-layout-effect-
|
|
8
|
+
const require_use_fieldset_context = require('./use-fieldset-context-CFrHx3_L.cjs');
|
|
9
|
+
const require_use_safe_layout_effect = require('./use-safe-layout-effect-C4G5_A1s.cjs');
|
|
10
10
|
let _sprawlify_primitives_core = require("@sprawlify/primitives/core");
|
|
11
11
|
let react = require("react");
|
|
12
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -121,10 +121,10 @@ const useField = (props = {}) => {
|
|
|
121
121
|
helperTextId
|
|
122
122
|
]);
|
|
123
123
|
const labelIds = (0, react.useMemo)(() => {
|
|
124
|
-
const ids
|
|
125
|
-
if (hasErrorText && invalid) ids
|
|
126
|
-
if (hasHelperText) ids
|
|
127
|
-
return ids
|
|
124
|
+
const ids = [];
|
|
125
|
+
if (hasErrorText && invalid) ids.push(errorTextId);
|
|
126
|
+
if (hasHelperText) ids.push(helperTextId);
|
|
127
|
+
return ids.join(" ") || void 0;
|
|
128
128
|
}, [
|
|
129
129
|
invalid,
|
|
130
130
|
errorTextId,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy4 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/field/field-anatomy.d.ts
|
|
4
|
+
declare const fieldAnatomy: _sprawlify_primitives_anatomy4.AnatomyInstance<"root" | "label" | "input" | "errorText" | "helperText" | "select" | "textarea" | "requiredIndicator">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { fieldAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy6 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/field/field-anatomy.d.ts
|
|
4
|
+
declare const fieldAnatomy: _sprawlify_primitives_anatomy6.AnatomyInstance<"root" | "label" | "input" | "errorText" | "helperText" | "select" | "textarea" | "requiredIndicator">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { fieldAnatomy as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { t as mergeProps } from "./core-
|
|
3
|
-
import { n as useEnvironmentContext } from "./environment-
|
|
4
|
-
import { t as composeRefs } from "./compose-refs-
|
|
5
|
-
import { n as sprawlify } from "./factory-
|
|
6
|
-
import { n as parts } from "./fieldset-anatomy-
|
|
7
|
-
import { t as createSplitProps } from "./create-split-props-
|
|
8
|
-
import { n as useFieldsetContext, t as FieldsetProvider } from "./use-fieldset-context-
|
|
9
|
-
import { t as useSafeLayoutEffect } from "./use-safe-layout-effect-
|
|
1
|
+
import { t as __exportAll } from "./chunk-DWkwRR9H.mjs";
|
|
2
|
+
import { t as mergeProps } from "./core-BxCFHKQ_.mjs";
|
|
3
|
+
import { n as useEnvironmentContext } from "./environment-9mOM5FKS.mjs";
|
|
4
|
+
import { t as composeRefs } from "./compose-refs-JvsPOcHE.mjs";
|
|
5
|
+
import { n as sprawlify } from "./factory-D0O3O5Jq.mjs";
|
|
6
|
+
import { n as parts } from "./fieldset-anatomy-gpWc3jkH.mjs";
|
|
7
|
+
import { t as createSplitProps } from "./create-split-props-BrrYfbxV.mjs";
|
|
8
|
+
import { n as useFieldsetContext, t as FieldsetProvider } from "./use-fieldset-context-CwklHNpM.mjs";
|
|
9
|
+
import { t as useSafeLayoutEffect } from "./use-safe-layout-effect-DzNlaBXT.mjs";
|
|
10
10
|
import { forwardRef, useId, useRef, useState } from "react";
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
12
|
import { dataAttr } from "@sprawlify/primitives/dom-query";
|
|
@@ -4,8 +4,8 @@ const require_compose_refs = require('./compose-refs-D8JygMj3.cjs');
|
|
|
4
4
|
const require_factory = require('./factory-Cz8-l4y-.cjs');
|
|
5
5
|
const require_fieldset_anatomy = require('./fieldset-anatomy-D60WIwKp.cjs');
|
|
6
6
|
const require_create_split_props = require('./create-split-props-DyDT-QxT.cjs');
|
|
7
|
-
const require_use_fieldset_context = require('./use-fieldset-context-
|
|
8
|
-
const require_use_safe_layout_effect = require('./use-safe-layout-effect-
|
|
7
|
+
const require_use_fieldset_context = require('./use-fieldset-context-CFrHx3_L.cjs');
|
|
8
|
+
const require_use_safe_layout_effect = require('./use-safe-layout-effect-C4G5_A1s.cjs');
|
|
9
9
|
let react = require("react");
|
|
10
10
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
11
|
let _sprawlify_primitives_dom_query = require("@sprawlify/primitives/dom-query");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy4 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/fieldset/fieldset-anatomy.d.ts
|
|
4
|
+
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy4.AnatomyInstance<"root" | "errorText" | "helperText" | "legend">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { fieldsetAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy6 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/fieldset/fieldset-anatomy.d.ts
|
|
4
|
+
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy6.AnatomyInstance<"root" | "errorText" | "helperText" | "legend">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { fieldsetAnatomy as t };
|