@egose/shadcn-theme 0.1.10 → 0.1.12
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/LICENSE +201 -0
- package/README.md +88 -29
- package/{chunk-GBNJFKPB.js → chunk-26NBTW3I.js} +3 -3
- package/{chunk-7PX7GVOR.mjs → chunk-2EXZ4JQX.mjs} +2 -2
- package/{chunk-YJR5JBXS.js → chunk-36GT5EGU.js} +3 -3
- package/{chunk-7ZMTJBXT.mjs → chunk-3NMW42UR.mjs} +7 -7
- package/{chunk-AGPEWIPR.mjs → chunk-3R2OBHS6.mjs} +5 -5
- package/{chunk-QCHBJMD6.mjs → chunk-3R7FZDQ7.mjs} +2 -2
- package/{chunk-PS3LNHTA.js → chunk-3RQTEIV5.js} +3 -3
- package/{chunk-E7F5KADG.mjs → chunk-3YFVUGSK.mjs} +2 -2
- package/{chunk-7MDWTJEP.mjs → chunk-42IQSRLZ.mjs} +2 -2
- package/{chunk-GV62APQ6.js → chunk-5CUM73VT.js} +3 -3
- package/{chunk-P4EDRIBH.js → chunk-5LDEF3T6.js} +44 -44
- package/{chunk-HWDU5KVD.mjs → chunk-6M7NWFTI.mjs} +4 -4
- package/{chunk-CNYC22IA.mjs → chunk-6SAR4RAU.mjs} +4 -4
- package/{chunk-XMRJIUYX.mjs → chunk-7DB2YNKV.mjs} +2 -2
- package/{chunk-RPF753T2.mjs → chunk-7S5XDE3W.mjs} +2 -2
- package/{chunk-OMQVDSR6.js → chunk-A4VKE26S.js} +4 -4
- package/{chunk-WK4MG4VT.js → chunk-AH57ACVP.js} +6 -6
- package/{chunk-4BKWF5FK.js → chunk-AIZ3XYAI.js} +6 -6
- package/{chunk-RFORRZRN.js → chunk-AOGFHEQH.js} +11 -11
- package/{chunk-6ECNY4VS.mjs → chunk-ASPR3W6A.mjs} +4 -4
- package/{chunk-OVHPXYDN.mjs → chunk-B6SBEOMV.mjs} +2 -2
- package/{chunk-ZFSZ6K4K.js → chunk-BGITSWS4.js} +1 -1
- package/{chunk-WJBTXKFN.js → chunk-BIO4TVNT.js} +14 -14
- package/{chunk-RJVQU443.mjs → chunk-BKUEN3CP.mjs} +6 -6
- package/{chunk-OUVM5NST.js → chunk-BM53W77T.js} +9 -9
- package/{chunk-JZXOJAMQ.js → chunk-C4JWWUXI.js} +8 -8
- package/{chunk-IYVLRZJ4.js → chunk-C74J4JWA.js} +1 -1
- package/{chunk-OPNHC6JN.mjs → chunk-CFG4GTRV.mjs} +3 -3
- package/{chunk-YQENFZOY.mjs → chunk-CHV7CG5L.mjs} +2 -2
- package/{chunk-UFRPUC7K.js → chunk-CRBQL2FG.js} +3 -3
- package/{chunk-K4JVHEI2.js → chunk-CZZWPS2I.js} +3 -3
- package/{chunk-LAIO3QZX.js → chunk-DD3MCW6L.js} +17 -17
- package/{chunk-WXEEDLLR.js → chunk-DNOZXQ2U.js} +15 -15
- package/{chunk-BJK4J4VY.js → chunk-DYYTK4BP.js} +7 -7
- package/{chunk-N7JSYNXM.js → chunk-FUFUQWRV.js} +1 -1
- package/{chunk-LPDYWZN6.js → chunk-GOATL3D5.js} +14 -14
- package/{chunk-VBPJD7U3.js → chunk-HCWYPASJ.js} +13 -13
- package/{chunk-SX4LQFOF.mjs → chunk-HD7GX5UE.mjs} +1 -1
- package/{chunk-6POWZMND.js → chunk-HDO7OG7I.js} +3 -3
- package/{chunk-AQIBLBXW.js → chunk-I4ICCNHG.js} +9 -9
- package/{chunk-KB6BX6LA.js → chunk-IEPLSUBR.js} +5 -5
- package/{chunk-NMJ6372G.js → chunk-IOCZ25V7.js} +11 -11
- package/{chunk-FOEQYO2Q.js → chunk-JXITZDN4.js} +15 -15
- package/{chunk-6CRGZEQF.js → chunk-JYRR3NKH.js} +9 -9
- package/{chunk-Z342XYFY.js → chunk-KDDWHY5M.js} +6 -6
- package/{chunk-KGUUDFJE.mjs → chunk-KKCJ2GMO.mjs} +1 -1
- package/{chunk-4IDPSNL3.mjs → chunk-KS7PUPPU.mjs} +9 -9
- package/{chunk-RNKMPQDZ.mjs → chunk-L7EN73HA.mjs} +4 -4
- package/{chunk-NCJI2DCV.mjs → chunk-LBOUUQFM.mjs} +3 -3
- package/{chunk-RIBB6GXJ.mjs → chunk-MBDPHX4P.mjs} +3 -3
- package/{chunk-77MASFCZ.mjs → chunk-MLXTZKBJ.mjs} +1 -1
- package/{chunk-4ETXRZKO.js → chunk-MMD72AEX.js} +8 -8
- package/{chunk-O6PHWGJH.mjs → chunk-MP7OH5ZP.mjs} +2 -2
- package/{chunk-HTEQHRTK.mjs → chunk-MSZ2AHQM.mjs} +2 -2
- package/{chunk-CSL3CTEN.mjs → chunk-N3WWOWZ4.mjs} +2 -2
- package/{chunk-PSPAJNNB.js → chunk-NBQEF4JD.js} +1 -1
- package/{chunk-QMLV5G5Z.js → chunk-NDH24NNQ.js} +37 -37
- package/{chunk-P4DW3EEW.mjs → chunk-NPEOZHKQ.mjs} +4 -4
- package/{chunk-GUB2Y4JK.mjs → chunk-NQQR2NDC.mjs} +3 -3
- package/{chunk-ZEZK2FJ4.mjs → chunk-O6E6RGZT.mjs} +1 -1
- package/{chunk-QF6PFV6M.mjs → chunk-OXUVPYJE.mjs} +2 -2
- package/{chunk-CKGMFUU2.js → chunk-OZAVO5UA.js} +3 -3
- package/{chunk-US2CUADK.mjs → chunk-OZF3JOG4.mjs} +4 -4
- package/{chunk-ICOZ5BK7.mjs → chunk-PBCJ476S.mjs} +3 -3
- package/{chunk-OXCN3BD6.mjs → chunk-PODBONNQ.mjs} +2 -2
- package/{chunk-5CBMRDT7.mjs → chunk-PW4ITUWI.mjs} +3 -3
- package/{chunk-F2QWMBUB.mjs → chunk-Q23ZKF2E.mjs} +2 -2
- package/{chunk-K23YFVYE.mjs → chunk-QFLEJVD3.mjs} +4 -4
- package/{chunk-XVWILFYQ.mjs → chunk-RG3G5IZC.mjs} +2 -2
- package/{chunk-PDB2VCWX.mjs → chunk-RKVMGHH3.mjs} +1 -1
- package/{chunk-WKQDHQAS.js → chunk-RV4AOZUL.js} +10 -10
- package/{chunk-7BYWDRRI.mjs → chunk-S2LLOGBR.mjs} +3 -3
- package/{chunk-VHYQNTH7.mjs → chunk-S7HB64F7.mjs} +4 -4
- package/{chunk-TTCGK36S.js → chunk-SOJSGQJO.js} +8 -8
- package/{chunk-YEGS4ETW.js → chunk-SSBVBEDI.js} +12 -12
- package/{chunk-FD7CNCJW.mjs → chunk-SVZMGPZC.mjs} +4 -4
- package/{chunk-VYXQVM7A.js → chunk-TGQA25KR.js} +6 -6
- package/{chunk-3HZTA2ZQ.js → chunk-UHYOQN4B.js} +11 -11
- package/{chunk-K3LYDDTD.js → chunk-VHXALM6O.js} +5 -5
- package/{chunk-ZFBUIBJH.mjs → chunk-VQWCEF3I.mjs} +4 -4
- package/{chunk-4SYFVOM2.js → chunk-VRY6WSXJ.js} +1 -1
- package/{chunk-2YMMYND2.js → chunk-VVU3Q7KV.js} +3 -3
- package/chunk-VYBFV2QD.js +31 -0
- package/{chunk-QHCOMBHI.js → chunk-W4ZJYYQP.js} +6 -6
- package/{chunk-3JPKE36M.mjs → chunk-W7CX2O2V.mjs} +8 -8
- package/{chunk-NMYVYLKF.js → chunk-W7PK2KN7.js} +3 -3
- package/{chunk-UQW3H2JS.js → chunk-WEZTFUOR.js} +7 -7
- package/chunk-WJKG5MUH.mjs +30 -0
- package/{chunk-X3V6YE47.mjs → chunk-WR7C2Q2O.mjs} +1 -1
- package/{chunk-G6WKPZTL.js → chunk-X3FLPO26.js} +10 -10
- package/{chunk-YDRPNCWF.mjs → chunk-XH7WQWOD.mjs} +5 -5
- package/{chunk-A4FV6TTM.js → chunk-XR7BY66N.js} +1 -1
- package/{chunk-UKPBHVOT.js → chunk-XWASPFJ7.js} +11 -11
- package/{chunk-7MDE2NEO.mjs → chunk-YAFFRILU.mjs} +2 -2
- package/{chunk-MM5OJOOR.mjs → chunk-YHL7Q5J3.mjs} +2 -2
- package/{chunk-RJG7QLDD.js → chunk-YMBEAV7N.js} +3 -3
- package/{chunk-BMAIJZN6.js → chunk-ZE53QYI6.js} +3 -3
- package/{chunk-3GHC4JQU.mjs → chunk-ZJRJN2UJ.mjs} +2 -2
- package/{chunk-WIISPZZE.mjs → chunk-ZLGQUL4Y.mjs} +2 -2
- package/{chunk-BEPAUXCN.mjs → chunk-ZSHUAH66.mjs} +4 -4
- package/components/form/checkbox.js +5 -5
- package/components/form/checkbox.mjs +4 -4
- package/components/form/date-picker.js +9 -9
- package/components/form/date-picker.mjs +8 -8
- package/components/form/date-range-picker.js +13 -13
- package/components/form/date-range-picker.mjs +7 -7
- package/components/form/error.js +3 -3
- package/components/form/error.mjs +2 -2
- package/components/form/hook-checkbox.d.mts +7 -5
- package/components/form/hook-checkbox.d.ts +7 -5
- package/components/form/hook-checkbox.js +21 -13
- package/components/form/hook-checkbox.js.map +1 -1
- package/components/form/hook-checkbox.mjs +16 -8
- package/components/form/hook-checkbox.mjs.map +1 -1
- package/components/form/hook-date-picker.js +12 -12
- package/components/form/hook-date-picker.mjs +9 -9
- package/components/form/hook-multi-select.js +17 -17
- package/components/form/hook-multi-select.mjs +14 -14
- package/components/form/hook-native-select.d.mts +7 -4
- package/components/form/hook-native-select.d.ts +7 -4
- package/components/form/hook-native-select.js +22 -15
- package/components/form/hook-native-select.js.map +1 -1
- package/components/form/hook-native-select.mjs +17 -10
- package/components/form/hook-native-select.mjs.map +1 -1
- package/components/form/hook-searchable-select.js +15 -15
- package/components/form/hook-searchable-select.mjs +12 -12
- package/components/form/hook-select.js +8 -8
- package/components/form/hook-select.mjs +5 -5
- package/components/form/hook-tag-picker.js +9 -9
- package/components/form/hook-tag-picker.mjs +6 -6
- package/components/form/hook-text-input.d.mts +7 -4
- package/components/form/hook-text-input.d.ts +7 -4
- package/components/form/hook-text-input.js +36 -16
- package/components/form/hook-text-input.js.map +1 -1
- package/components/form/hook-text-input.mjs +31 -11
- package/components/form/hook-text-input.mjs.map +1 -1
- package/components/form/hook-textarea.d.mts +7 -4
- package/components/form/hook-textarea.d.ts +7 -4
- package/components/form/hook-textarea.js +30 -16
- package/components/form/hook-textarea.js.map +1 -1
- package/components/form/hook-textarea.mjs +25 -11
- package/components/form/hook-textarea.mjs.map +1 -1
- package/components/form/hook-time-input.d.mts +7 -5
- package/components/form/hook-time-input.d.ts +7 -5
- package/components/form/hook-time-input.js +36 -15
- package/components/form/hook-time-input.js.map +1 -1
- package/components/form/hook-time-input.mjs +31 -10
- package/components/form/hook-time-input.mjs.map +1 -1
- package/components/form/multi-select.js +14 -14
- package/components/form/multi-select.mjs +13 -13
- package/components/form/native-select.js +4 -4
- package/components/form/native-select.mjs +3 -3
- package/components/form/searchable-select.js +12 -12
- package/components/form/searchable-select.mjs +11 -11
- package/components/form/select.js +5 -5
- package/components/form/select.mjs +4 -4
- package/components/form/tag-picker.js +6 -6
- package/components/form/tag-picker.mjs +5 -5
- package/components/form/text-input.d.mts +12 -0
- package/components/form/text-input.d.ts +12 -0
- package/components/form/text-input.js +5 -5
- package/components/form/text-input.mjs +4 -4
- package/components/form/textarea.js +5 -5
- package/components/form/textarea.mjs +4 -4
- package/components/form/time-input.js +7 -7
- package/components/form/time-input.mjs +6 -6
- package/components/form/types.d.mts +18 -2
- package/components/form/types.d.ts +18 -2
- package/components/form/types.js +12 -1
- package/components/form/types.js.map +1 -1
- package/components/form/types.mjs +11 -0
- package/components/ui/accordion.js +5 -5
- package/components/ui/accordion.mjs +1 -1
- package/components/ui/alert-dialog.js +12 -12
- package/components/ui/alert-dialog.mjs +3 -3
- package/components/ui/alert.d.mts +1 -1
- package/components/ui/alert.d.ts +1 -1
- package/components/ui/alert.js +3 -3
- package/components/ui/alert.mjs +2 -2
- package/components/ui/avatar.js +3 -3
- package/components/ui/avatar.mjs +2 -2
- package/components/ui/badge.js +3 -3
- package/components/ui/badge.mjs +2 -2
- package/components/ui/basic-alert.js +3 -3
- package/components/ui/basic-alert.mjs +2 -2
- package/components/ui/breadcrumb.js +3 -3
- package/components/ui/breadcrumb.mjs +2 -2
- package/components/ui/button-group.js +6 -6
- package/components/ui/button-group.mjs +2 -2
- package/components/ui/button.d.mts +23 -0
- package/components/ui/button.d.ts +23 -0
- package/components/ui/button.js +4 -4
- package/components/ui/button.mjs +3 -3
- package/components/ui/calendar.js +5 -5
- package/components/ui/calendar.mjs +4 -4
- package/components/ui/card.js +8 -8
- package/components/ui/card.mjs +1 -1
- package/components/ui/carousel.js +10 -10
- package/components/ui/carousel.mjs +3 -3
- package/components/ui/checkbox.js +3 -3
- package/components/ui/checkbox.mjs +2 -2
- package/components/ui/combobox.js +22 -22
- package/components/ui/combobox.mjs +6 -6
- package/components/ui/command.js +9 -9
- package/components/ui/command.mjs +8 -8
- package/components/ui/context-menu.js +11 -11
- package/components/ui/context-menu.mjs +1 -1
- package/components/ui/copy-button.js +8 -8
- package/components/ui/copy-button.mjs +3 -3
- package/components/ui/dialog.js +5 -5
- package/components/ui/dialog.mjs +4 -4
- package/components/ui/drawer.js +7 -7
- package/components/ui/drawer.mjs +1 -1
- package/components/ui/dropdown-menu.js +3 -3
- package/components/ui/dropdown-menu.mjs +2 -2
- package/components/ui/empty.js +7 -7
- package/components/ui/empty.mjs +1 -1
- package/components/ui/extension/file-input.js +5 -5
- package/components/ui/extension/file-input.mjs +4 -4
- package/components/ui/field.js +15 -15
- package/components/ui/field.mjs +3 -3
- package/components/ui/hover-card.js +2 -2
- package/components/ui/hover-card.mjs +1 -1
- package/components/ui/input-group.js +7 -7
- package/components/ui/input-group.mjs +6 -6
- package/components/ui/input-otp.js +5 -5
- package/components/ui/input-otp.mjs +1 -1
- package/components/ui/input.js +3 -3
- package/components/ui/input.mjs +2 -2
- package/components/ui/item.js +12 -12
- package/components/ui/item.mjs +2 -2
- package/components/ui/kbd.js +3 -3
- package/components/ui/kbd.mjs +1 -1
- package/components/ui/label.js +3 -3
- package/components/ui/label.mjs +2 -2
- package/components/ui/menubar.js +12 -12
- package/components/ui/menubar.mjs +1 -1
- package/components/ui/multi-select.d.mts +1 -1
- package/components/ui/multi-select.d.ts +1 -1
- package/components/ui/multi-select.js +11 -11
- package/components/ui/multi-select.mjs +10 -10
- package/components/ui/native-select.js +3 -3
- package/components/ui/native-select.mjs +1 -1
- package/components/ui/navigation-menu.js +10 -10
- package/components/ui/navigation-menu.mjs +1 -1
- package/components/ui/pagination.js +9 -9
- package/components/ui/pagination.mjs +3 -3
- package/components/ui/popover.js +3 -3
- package/components/ui/popover.mjs +2 -2
- package/components/ui/progress.js +2 -2
- package/components/ui/progress.mjs +1 -1
- package/components/ui/radio-group.js +3 -3
- package/components/ui/radio-group.mjs +1 -1
- package/components/ui/resizable.js +3 -3
- package/components/ui/resizable.mjs +1 -1
- package/components/ui/scroll-area.js +3 -3
- package/components/ui/scroll-area.mjs +1 -1
- package/components/ui/select.js +3 -3
- package/components/ui/select.mjs +2 -2
- package/components/ui/separator.js +3 -3
- package/components/ui/separator.mjs +2 -2
- package/components/ui/sheet.js +5 -5
- package/components/ui/sheet.mjs +4 -4
- package/components/ui/sidebar.js +11 -11
- package/components/ui/sidebar.mjs +10 -10
- package/components/ui/skeleton.js +3 -3
- package/components/ui/skeleton.mjs +2 -2
- package/components/ui/slider.js +2 -2
- package/components/ui/slider.mjs +1 -1
- package/components/ui/spinner.js +3 -3
- package/components/ui/spinner.mjs +2 -2
- package/components/ui/switch.js +2 -2
- package/components/ui/switch.mjs +1 -1
- package/components/ui/table.js +9 -9
- package/components/ui/table.mjs +1 -1
- package/components/ui/tabs.js +5 -5
- package/components/ui/tabs.mjs +1 -1
- package/components/ui/tag-picker.js +4 -4
- package/components/ui/tag-picker.mjs +3 -3
- package/components/ui/textarea.js +3 -3
- package/components/ui/textarea.mjs +2 -2
- package/components/ui/toggle-group.js +5 -5
- package/components/ui/toggle-group.mjs +2 -2
- package/components/ui/toggle.js +3 -3
- package/components/ui/toggle.mjs +2 -2
- package/components/ui/tooltip.js +3 -3
- package/components/ui/tooltip.mjs +2 -2
- package/components/widgets/dialog-manager/context.d.mts +26 -0
- package/components/widgets/dialog-manager/context.d.ts +26 -0
- package/components/widgets/dialog-manager/context.js +2 -2
- package/components/widgets/dialog-manager/context.mjs +1 -1
- package/components/widgets/dialog-manager/index.js +3 -3
- package/components/widgets/dialog-manager/index.mjs +2 -2
- package/components/widgets/dialog-manager/provider.d.mts +13 -0
- package/components/widgets/dialog-manager/provider.d.ts +13 -0
- package/components/widgets/dialog-manager/provider.js +3 -3
- package/components/widgets/dialog-manager/provider.mjs +2 -2
- package/components/widgets/dialog-manager/types.d.mts +10 -0
- package/components/widgets/dialog-manager/types.d.ts +10 -0
- package/hooks/use-clipboard.d.mts +12 -0
- package/hooks/use-clipboard.d.ts +12 -0
- package/hooks/use-clipboard.js +2 -2
- package/hooks/use-clipboard.mjs +1 -1
- package/hooks/use-mobile.d.mts +5 -0
- package/hooks/use-mobile.d.ts +5 -0
- package/hooks/use-mobile.js +2 -2
- package/hooks/use-mobile.mjs +1 -1
- package/layouts/sidebar1/app-sidebar.d.mts +12 -0
- package/layouts/sidebar1/app-sidebar.d.ts +12 -0
- package/layouts/sidebar1/app-sidebar.js +17 -17
- package/layouts/sidebar1/app-sidebar.mjs +16 -16
- package/layouts/sidebar1/context-switcher.js +13 -13
- package/layouts/sidebar1/context-switcher.mjs +12 -12
- package/layouts/sidebar1/index.d.mts +22 -0
- package/layouts/sidebar1/index.d.ts +22 -0
- package/layouts/sidebar1/index.js +23 -23
- package/layouts/sidebar1/index.js.map +1 -1
- package/layouts/sidebar1/index.mjs +17 -17
- package/layouts/sidebar1/index.mjs.map +1 -1
- package/layouts/sidebar1/nav-menus.js +12 -12
- package/layouts/sidebar1/nav-menus.mjs +11 -11
- package/layouts/sidebar1/nav-user.d.mts +9 -0
- package/layouts/sidebar1/nav-user.d.ts +9 -0
- package/layouts/sidebar1/nav-user.js +14 -14
- package/layouts/sidebar1/nav-user.mjs +13 -13
- package/layouts/simple/index.d.mts +23 -0
- package/layouts/simple/index.d.ts +23 -0
- package/layouts/simple/index.js +17 -17
- package/layouts/simple/index.js.map +1 -1
- package/layouts/simple/index.mjs +6 -6
- package/layouts/simple/index.mjs.map +1 -1
- package/layouts/simple/mobile-menu.js +3 -3
- package/layouts/simple/mobile-menu.mjs +2 -2
- package/layouts/simple/types.d.mts +11 -0
- package/layouts/simple/types.d.ts +11 -0
- package/layouts/simple/user-menu.js +4 -4
- package/layouts/simple/user-menu.mjs +3 -3
- package/llms.txt +102 -0
- package/package.json +96 -16
- package/utils/date.d.mts +9 -0
- package/utils/date.d.ts +9 -0
- package/utils/date.js +2 -2
- package/utils/date.mjs +1 -1
- package/utils/time.d.mts +12 -0
- package/utils/time.d.ts +12 -0
- package/utils/time.js +2 -2
- package/utils/time.mjs +1 -1
- package/utils/ui.d.mts +8 -0
- package/utils/ui.d.ts +8 -0
- package/utils/ui.js +2 -2
- package/utils/ui.mjs +1 -1
- package/chunk-2NMEKWO5.js.map +0 -1
- package/chunk-2YMMYND2.js.map +0 -1
- package/chunk-3GHC4JQU.mjs.map +0 -1
- package/chunk-3HZTA2ZQ.js.map +0 -1
- package/chunk-3JPKE36M.mjs.map +0 -1
- package/chunk-4BKWF5FK.js.map +0 -1
- package/chunk-4ETXRZKO.js.map +0 -1
- package/chunk-4IDPSNL3.mjs.map +0 -1
- package/chunk-4SYFVOM2.js.map +0 -1
- package/chunk-5CBMRDT7.mjs.map +0 -1
- package/chunk-5SLUBHNN.js.map +0 -1
- package/chunk-5TXFHYQ5.js.map +0 -1
- package/chunk-6CRGZEQF.js.map +0 -1
- package/chunk-6ECNY4VS.mjs.map +0 -1
- package/chunk-6POWZMND.js.map +0 -1
- package/chunk-6T6UTNWD.mjs.map +0 -1
- package/chunk-77MASFCZ.mjs.map +0 -1
- package/chunk-7BYWDRRI.mjs.map +0 -1
- package/chunk-7GZ7NWTV.js.map +0 -1
- package/chunk-7MDE2NEO.mjs.map +0 -1
- package/chunk-7MDWTJEP.mjs.map +0 -1
- package/chunk-7PX7GVOR.mjs.map +0 -1
- package/chunk-7ZMTJBXT.mjs.map +0 -1
- package/chunk-A4FV6TTM.js.map +0 -1
- package/chunk-AGPEWIPR.mjs.map +0 -1
- package/chunk-AQIBLBXW.js.map +0 -1
- package/chunk-B2Z7BNYW.mjs.map +0 -1
- package/chunk-BEPAUXCN.mjs.map +0 -1
- package/chunk-BJK4J4VY.js.map +0 -1
- package/chunk-BMAIJZN6.js.map +0 -1
- package/chunk-CKGMFUU2.js.map +0 -1
- package/chunk-CNYC22IA.mjs.map +0 -1
- package/chunk-CSL3CTEN.mjs.map +0 -1
- package/chunk-E7F5KADG.mjs.map +0 -1
- package/chunk-F2QWMBUB.mjs.map +0 -1
- package/chunk-FD7CNCJW.mjs.map +0 -1
- package/chunk-FOEQYO2Q.js.map +0 -1
- package/chunk-G6WKPZTL.js.map +0 -1
- package/chunk-GBNJFKPB.js.map +0 -1
- package/chunk-GUB2Y4JK.mjs.map +0 -1
- package/chunk-GV62APQ6.js.map +0 -1
- package/chunk-HTEQHRTK.mjs.map +0 -1
- package/chunk-HWDU5KVD.mjs.map +0 -1
- package/chunk-ICOZ5BK7.mjs.map +0 -1
- package/chunk-IYVLRZJ4.js.map +0 -1
- package/chunk-JZXOJAMQ.js.map +0 -1
- package/chunk-K23YFVYE.mjs.map +0 -1
- package/chunk-K3LYDDTD.js.map +0 -1
- package/chunk-K4JVHEI2.js.map +0 -1
- package/chunk-KB6BX6LA.js.map +0 -1
- package/chunk-KGUUDFJE.mjs.map +0 -1
- package/chunk-LAIO3QZX.js.map +0 -1
- package/chunk-LPDYWZN6.js.map +0 -1
- package/chunk-LVXIGNFJ.mjs.map +0 -1
- package/chunk-M6UKU56L.mjs.map +0 -1
- package/chunk-MM5OJOOR.mjs.map +0 -1
- package/chunk-N7JSYNXM.js.map +0 -1
- package/chunk-NCJI2DCV.mjs.map +0 -1
- package/chunk-NMJ6372G.js.map +0 -1
- package/chunk-NMYVYLKF.js.map +0 -1
- package/chunk-O6PHWGJH.mjs.map +0 -1
- package/chunk-OMQVDSR6.js.map +0 -1
- package/chunk-OPNHC6JN.mjs.map +0 -1
- package/chunk-OUVM5NST.js.map +0 -1
- package/chunk-OVHPXYDN.mjs.map +0 -1
- package/chunk-OXCN3BD6.mjs.map +0 -1
- package/chunk-P4DW3EEW.mjs.map +0 -1
- package/chunk-P4EDRIBH.js.map +0 -1
- package/chunk-PDB2VCWX.mjs.map +0 -1
- package/chunk-PS3LNHTA.js.map +0 -1
- package/chunk-PSPAJNNB.js.map +0 -1
- package/chunk-QCHBJMD6.mjs.map +0 -1
- package/chunk-QF6PFV6M.mjs.map +0 -1
- package/chunk-QHCOMBHI.js.map +0 -1
- package/chunk-QMLV5G5Z.js.map +0 -1
- package/chunk-RFORRZRN.js.map +0 -1
- package/chunk-RIBB6GXJ.mjs.map +0 -1
- package/chunk-RJG7QLDD.js.map +0 -1
- package/chunk-RJVQU443.mjs.map +0 -1
- package/chunk-RNKMPQDZ.mjs.map +0 -1
- package/chunk-RPF753T2.mjs.map +0 -1
- package/chunk-SC6IX6NJ.js.map +0 -1
- package/chunk-SX4LQFOF.mjs.map +0 -1
- package/chunk-TTCGK36S.js.map +0 -1
- package/chunk-UFRPUC7K.js.map +0 -1
- package/chunk-UKPBHVOT.js.map +0 -1
- package/chunk-UQW3H2JS.js.map +0 -1
- package/chunk-US2CUADK.mjs.map +0 -1
- package/chunk-VBPJD7U3.js.map +0 -1
- package/chunk-VHYQNTH7.mjs.map +0 -1
- package/chunk-VYXQVM7A.js.map +0 -1
- package/chunk-WIISPZZE.mjs.map +0 -1
- package/chunk-WJBTXKFN.js.map +0 -1
- package/chunk-WK4MG4VT.js.map +0 -1
- package/chunk-WKQDHQAS.js.map +0 -1
- package/chunk-WXEEDLLR.js.map +0 -1
- package/chunk-X3V6YE47.mjs.map +0 -1
- package/chunk-XMRJIUYX.mjs.map +0 -1
- package/chunk-XVWILFYQ.mjs.map +0 -1
- package/chunk-YDRPNCWF.mjs.map +0 -1
- package/chunk-YEGS4ETW.js.map +0 -1
- package/chunk-YJR5JBXS.js.map +0 -1
- package/chunk-YOSPWY5K.mjs.map +0 -1
- package/chunk-YQENFZOY.mjs.map +0 -1
- package/chunk-Z342XYFY.js.map +0 -1
- package/chunk-ZEZK2FJ4.mjs.map +0 -1
- package/chunk-ZFBUIBJH.mjs.map +0 -1
- package/chunk-ZFSZ6K4K.js.map +0 -1
package/components/ui/tabs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNBQEF4JDjs = require('../../chunk-NBQEF4JD.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@ function Tabs(_a) {
|
|
|
19
19
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
20
20
|
"data-slot": "tabs",
|
|
21
21
|
"data-orientation": orientation,
|
|
22
|
-
className:
|
|
22
|
+
className: _chunkNBQEF4JDjs.cn.call(void 0, "gap-2 group/tabs flex data-horizontal:flex-col", className)
|
|
23
23
|
}, props)
|
|
24
24
|
);
|
|
25
25
|
}
|
|
@@ -50,7 +50,7 @@ function TabsList(_a) {
|
|
|
50
50
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
51
51
|
"data-slot": "tabs-list",
|
|
52
52
|
"data-variant": variant,
|
|
53
|
-
className:
|
|
53
|
+
className: _chunkNBQEF4JDjs.cn.call(void 0, tabsListVariants({ variant }), className)
|
|
54
54
|
}, props)
|
|
55
55
|
);
|
|
56
56
|
}
|
|
@@ -60,7 +60,7 @@ function TabsTrigger(_a) {
|
|
|
60
60
|
_radixui.Tabs.Trigger,
|
|
61
61
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
62
62
|
"data-slot": "tabs-trigger",
|
|
63
|
-
className:
|
|
63
|
+
className: _chunkNBQEF4JDjs.cn.call(void 0,
|
|
64
64
|
"gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
65
65
|
"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
|
|
66
66
|
"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground",
|
|
@@ -76,7 +76,7 @@ function TabsContent(_a) {
|
|
|
76
76
|
_radixui.Tabs.Content,
|
|
77
77
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
78
78
|
"data-slot": "tabs-content",
|
|
79
|
-
className:
|
|
79
|
+
className: _chunkNBQEF4JDjs.cn.call(void 0, "text-sm flex-1 outline-none", className)
|
|
80
80
|
}, props)
|
|
81
81
|
);
|
|
82
82
|
}
|
package/components/ui/tabs.mjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
5
|
+
var _chunkAH57ACVPjs = require('../../chunk-AH57ACVP.js');
|
|
6
|
+
require('../../chunk-VVU3Q7KV.js');
|
|
7
|
+
require('../../chunk-NBQEF4JD.js');
|
|
8
8
|
require('../../chunk-2NMEKWO5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.TagPicker =
|
|
11
|
+
exports.TagPicker = _chunkAH57ACVPjs.TagPicker;
|
|
12
12
|
//# sourceMappingURL=tag-picker.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
TagPicker
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-LBOUUQFM.mjs";
|
|
5
|
+
import "../../chunk-ZLGQUL4Y.mjs";
|
|
6
|
+
import "../../chunk-KKCJ2GMO.mjs";
|
|
7
7
|
import "../../chunk-YOSPWY5K.mjs";
|
|
8
8
|
export {
|
|
9
9
|
TagPicker
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
5
|
+
var _chunkYMBEAV7Njs = require('../../chunk-YMBEAV7N.js');
|
|
6
|
+
require('../../chunk-NBQEF4JD.js');
|
|
7
7
|
require('../../chunk-2NMEKWO5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Textarea =
|
|
10
|
+
exports.Textarea = _chunkYMBEAV7Njs.Textarea;
|
|
11
11
|
//# sourceMappingURL=textarea.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk26NBTW3Ijs = require('../../chunk-26NBTW3I.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNBQEF4JDjs = require('../../chunk-NBQEF4JD.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -45,7 +45,7 @@ function ToggleGroup(_a) {
|
|
|
45
45
|
"data-spacing": spacing,
|
|
46
46
|
"data-orientation": orientation,
|
|
47
47
|
style: { "--gap": spacing },
|
|
48
|
-
className:
|
|
48
|
+
className: _chunkNBQEF4JDjs.cn.call(void 0,
|
|
49
49
|
"rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-vertical:flex-col data-vertical:items-stretch",
|
|
50
50
|
className
|
|
51
51
|
)
|
|
@@ -73,9 +73,9 @@ function ToggleGroupItem(_a) {
|
|
|
73
73
|
"data-variant": context.variant || variant,
|
|
74
74
|
"data-size": context.size || size,
|
|
75
75
|
"data-spacing": context.spacing,
|
|
76
|
-
className:
|
|
76
|
+
className: _chunkNBQEF4JDjs.cn.call(void 0,
|
|
77
77
|
"group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",
|
|
78
|
-
|
|
78
|
+
_chunk26NBTW3Ijs.toggleVariants.call(void 0, {
|
|
79
79
|
variant: context.variant || variant,
|
|
80
80
|
size: context.size || size
|
|
81
81
|
}),
|
package/components/ui/toggle.js
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
var _chunk26NBTW3Ijs = require('../../chunk-26NBTW3I.js');
|
|
7
|
+
require('../../chunk-NBQEF4JD.js');
|
|
8
8
|
require('../../chunk-2NMEKWO5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.Toggle =
|
|
12
|
+
exports.Toggle = _chunk26NBTW3Ijs.Toggle; exports.toggleVariants = _chunk26NBTW3Ijs.toggleVariants;
|
|
13
13
|
//# sourceMappingURL=toggle.js.map
|
package/components/ui/toggle.mjs
CHANGED
package/components/ui/tooltip.js
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('../../chunk-
|
|
8
|
+
var _chunk36GT5EGUjs = require('../../chunk-36GT5EGU.js');
|
|
9
|
+
require('../../chunk-NBQEF4JD.js');
|
|
10
10
|
require('../../chunk-2NMEKWO5.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.Tooltip =
|
|
16
|
+
exports.Tooltip = _chunk36GT5EGUjs.Tooltip; exports.TooltipContent = _chunk36GT5EGUjs.TooltipContent; exports.TooltipProvider = _chunk36GT5EGUjs.TooltipProvider; exports.TooltipTrigger = _chunk36GT5EGUjs.TooltipTrigger;
|
|
17
17
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
TooltipContent,
|
|
5
5
|
TooltipProvider,
|
|
6
6
|
TooltipTrigger
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-7DB2YNKV.mjs";
|
|
8
|
+
import "../../chunk-KKCJ2GMO.mjs";
|
|
9
9
|
import "../../chunk-YOSPWY5K.mjs";
|
|
10
10
|
export {
|
|
11
11
|
Tooltip,
|
|
@@ -5,7 +5,33 @@ type DialogContextType = {
|
|
|
5
5
|
openDialog: <A, R>(Component: TypedDialogComponent<A, R>, args: A) => Promise<R>;
|
|
6
6
|
};
|
|
7
7
|
declare const DialogContext: React.Context<DialogContextType | null>;
|
|
8
|
+
/**
|
|
9
|
+
* Access the dialog opener from anywhere inside a {@link DialogProvider}.
|
|
10
|
+
* Throws if used outside a provider.
|
|
11
|
+
*
|
|
12
|
+
* @returns `{ openDialog }` — call `openDialog(MyDialog, args)` to render the
|
|
13
|
+
* dialog; the returned `Promise<R>` resolves with whatever the dialog
|
|
14
|
+
* passes to `onClose(result)`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const { openDialog } = useDialog()
|
|
18
|
+
* const ok = await openDialog(ConfirmDialog, { title: 'Delete?' })
|
|
19
|
+
*/
|
|
8
20
|
declare function useDialog(): DialogContextType;
|
|
21
|
+
/**
|
|
22
|
+
* Identity helper for declaring a typed dialog component. Infers `Args` and
|
|
23
|
+
* `Return` from the component's props so callers of `openDialog` get full
|
|
24
|
+
* type-checking without manual generic arguments.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const ConfirmDialog = createTypedDialog<{ title: string }, boolean>(
|
|
28
|
+
* ({ open, args, onClose }) => (
|
|
29
|
+
* <Dialog open={open} onOpenChange={(o) => !o && onClose(false)}>
|
|
30
|
+
* -- args.title rendered here --
|
|
31
|
+
* </Dialog>
|
|
32
|
+
* ),
|
|
33
|
+
* )
|
|
34
|
+
*/
|
|
9
35
|
declare function createTypedDialog<Args, Return>(component: TypedDialogComponent<Args, Return>): TypedDialogComponent<Args, Return>;
|
|
10
36
|
|
|
11
37
|
export { DialogContext, createTypedDialog, useDialog };
|
|
@@ -5,7 +5,33 @@ type DialogContextType = {
|
|
|
5
5
|
openDialog: <A, R>(Component: TypedDialogComponent<A, R>, args: A) => Promise<R>;
|
|
6
6
|
};
|
|
7
7
|
declare const DialogContext: React.Context<DialogContextType | null>;
|
|
8
|
+
/**
|
|
9
|
+
* Access the dialog opener from anywhere inside a {@link DialogProvider}.
|
|
10
|
+
* Throws if used outside a provider.
|
|
11
|
+
*
|
|
12
|
+
* @returns `{ openDialog }` — call `openDialog(MyDialog, args)` to render the
|
|
13
|
+
* dialog; the returned `Promise<R>` resolves with whatever the dialog
|
|
14
|
+
* passes to `onClose(result)`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const { openDialog } = useDialog()
|
|
18
|
+
* const ok = await openDialog(ConfirmDialog, { title: 'Delete?' })
|
|
19
|
+
*/
|
|
8
20
|
declare function useDialog(): DialogContextType;
|
|
21
|
+
/**
|
|
22
|
+
* Identity helper for declaring a typed dialog component. Infers `Args` and
|
|
23
|
+
* `Return` from the component's props so callers of `openDialog` get full
|
|
24
|
+
* type-checking without manual generic arguments.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const ConfirmDialog = createTypedDialog<{ title: string }, boolean>(
|
|
28
|
+
* ({ open, args, onClose }) => (
|
|
29
|
+
* <Dialog open={open} onOpenChange={(o) => !o && onClose(false)}>
|
|
30
|
+
* -- args.title rendered here --
|
|
31
|
+
* </Dialog>
|
|
32
|
+
* ),
|
|
33
|
+
* )
|
|
34
|
+
*/
|
|
9
35
|
declare function createTypedDialog<Args, Return>(component: TypedDialogComponent<Args, Return>): TypedDialogComponent<Args, Return>;
|
|
10
36
|
|
|
11
37
|
export { DialogContext, createTypedDialog, useDialog };
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXR7BY66Njs = require('../../../chunk-XR7BY66N.js');
|
|
8
8
|
require('../../../chunk-2NMEKWO5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.DialogContext =
|
|
13
|
+
exports.DialogContext = _chunkXR7BY66Njs.DialogContext; exports.createTypedDialog = _chunkXR7BY66Njs.createTypedDialog; exports.useDialog = _chunkXR7BY66Njs.useDialog;
|
|
14
14
|
//# sourceMappingURL=context.js.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk3RQTEIV5js = require('../../../chunk-3RQTEIV5.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkXR7BY66Njs = require('../../../chunk-XR7BY66N.js');
|
|
11
11
|
require('../../../chunk-5SLUBHNN.js');
|
|
12
12
|
require('../../../chunk-2NMEKWO5.js');
|
|
13
13
|
|
|
@@ -15,5 +15,5 @@ require('../../../chunk-2NMEKWO5.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.DialogContext =
|
|
18
|
+
exports.DialogContext = _chunkXR7BY66Njs.DialogContext; exports.DialogManagerProvider = _chunk3RQTEIV5js.DialogProvider; exports.createTypedDialog = _chunkXR7BY66Njs.createTypedDialog; exports.useDialog = _chunkXR7BY66Njs.useDialog;
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
DialogProvider
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-PODBONNQ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DialogContext,
|
|
7
7
|
createTypedDialog,
|
|
8
8
|
useDialog
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-RKVMGHH3.mjs";
|
|
10
10
|
import "../../../chunk-B2Z7BNYW.mjs";
|
|
11
11
|
import "../../../chunk-YOSPWY5K.mjs";
|
|
12
12
|
export {
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Render-context provider enabling promise-based dialog flows. Wrap your app
|
|
5
|
+
* (or a subtree) and use {@link useDialog} to open dialogs imperatively:
|
|
6
|
+
*
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <DialogProvider>
|
|
9
|
+
* <App />
|
|
10
|
+
* </DialogProvider>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Each call to `openDialog(Component, args)` mounts the component once and
|
|
14
|
+
* returns a `Promise` that resolves when the dialog calls `onClose(result)`.
|
|
15
|
+
*/
|
|
3
16
|
declare function DialogProvider({ children }: {
|
|
4
17
|
children: React.ReactNode;
|
|
5
18
|
}): React.JSX.Element;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Render-context provider enabling promise-based dialog flows. Wrap your app
|
|
5
|
+
* (or a subtree) and use {@link useDialog} to open dialogs imperatively:
|
|
6
|
+
*
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <DialogProvider>
|
|
9
|
+
* <App />
|
|
10
|
+
* </DialogProvider>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Each call to `openDialog(Component, args)` mounts the component once and
|
|
14
|
+
* returns a `Promise` that resolves when the dialog calls `onClose(result)`.
|
|
15
|
+
*/
|
|
3
16
|
declare function DialogProvider({ children }: {
|
|
4
17
|
children: React.ReactNode;
|
|
5
18
|
}): React.JSX.Element;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunk3RQTEIV5js = require('../../../chunk-3RQTEIV5.js');
|
|
6
|
+
require('../../../chunk-XR7BY66N.js');
|
|
7
7
|
require('../../../chunk-2NMEKWO5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.DialogProvider =
|
|
10
|
+
exports.DialogProvider = _chunk3RQTEIV5js.DialogProvider;
|
|
11
11
|
//# sourceMappingURL=provider.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
DialogProvider
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-PODBONNQ.mjs";
|
|
5
|
+
import "../../../chunk-RKVMGHH3.mjs";
|
|
6
6
|
import "../../../chunk-YOSPWY5K.mjs";
|
|
7
7
|
export {
|
|
8
8
|
DialogProvider
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Props every dialog component rendered by {@link DialogProvider} must accept.
|
|
5
|
+
* The provider injects `open: true`, the caller-supplied `args`, and an
|
|
6
|
+
* `onClose` callback that resolves the promise returned by `openDialog`.
|
|
7
|
+
*/
|
|
3
8
|
type DialogProps<Args, Return> = {
|
|
4
9
|
open: boolean;
|
|
5
10
|
args: Args;
|
|
6
11
|
onClose: (result: Return) => void;
|
|
7
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* A function component parameterized by `Args` (the input the caller passes
|
|
15
|
+
* in) and `Return` (the value the dialog resolves with). Use
|
|
16
|
+
* {@link createTypedDialog} to declare one with full type inference.
|
|
17
|
+
*/
|
|
8
18
|
type TypedDialogComponent<Args, Return> = FC<DialogProps<Args, Return>>;
|
|
9
19
|
|
|
10
20
|
export type { DialogProps, TypedDialogComponent };
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Props every dialog component rendered by {@link DialogProvider} must accept.
|
|
5
|
+
* The provider injects `open: true`, the caller-supplied `args`, and an
|
|
6
|
+
* `onClose` callback that resolves the promise returned by `openDialog`.
|
|
7
|
+
*/
|
|
3
8
|
type DialogProps<Args, Return> = {
|
|
4
9
|
open: boolean;
|
|
5
10
|
args: Args;
|
|
6
11
|
onClose: (result: Return) => void;
|
|
7
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* A function component parameterized by `Args` (the input the caller passes
|
|
15
|
+
* in) and `Return` (the value the dialog resolves with). Use
|
|
16
|
+
* {@link createTypedDialog} to declare one with full type inference.
|
|
17
|
+
*/
|
|
8
18
|
type TypedDialogComponent<Args, Return> = FC<DialogProps<Args, Return>>;
|
|
9
19
|
|
|
10
20
|
export type { DialogProps, TypedDialogComponent };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copy text to the clipboard and track the copied / error state.
|
|
3
|
+
*
|
|
4
|
+
* @returns `{ copied, copy, error }`:
|
|
5
|
+
* - `copy(value)` — writes `value` to `navigator.clipboard` and flips
|
|
6
|
+
* `copied` to `true` for `timeout` ms (default 2000ms).
|
|
7
|
+
* - `copied` — whether a copy is still "fresh".
|
|
8
|
+
* - `error` — `Error | null` from a failed write.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const { copy, copied } = useClipboard({ timeout: 1500 })
|
|
12
|
+
*/
|
|
1
13
|
declare function useClipboard({ timeout }?: {
|
|
2
14
|
timeout?: number;
|
|
3
15
|
}): {
|
package/hooks/use-clipboard.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copy text to the clipboard and track the copied / error state.
|
|
3
|
+
*
|
|
4
|
+
* @returns `{ copied, copy, error }`:
|
|
5
|
+
* - `copy(value)` — writes `value` to `navigator.clipboard` and flips
|
|
6
|
+
* `copied` to `true` for `timeout` ms (default 2000ms).
|
|
7
|
+
* - `copied` — whether a copy is still "fresh".
|
|
8
|
+
* - `error` — `Error | null` from a failed write.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const { copy, copied } = useClipboard({ timeout: 1500 })
|
|
12
|
+
*/
|
|
1
13
|
declare function useClipboard({ timeout }?: {
|
|
2
14
|
timeout?: number;
|
|
3
15
|
}): {
|
package/hooks/use-clipboard.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBGITSWS4js = require('../chunk-BGITSWS4.js');
|
|
6
6
|
require('../chunk-2NMEKWO5.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.useClipboard =
|
|
9
|
+
exports.useClipboard = _chunkBGITSWS4js.useClipboard;
|
|
10
10
|
//# sourceMappingURL=use-clipboard.js.map
|
package/hooks/use-clipboard.mjs
CHANGED
package/hooks/use-mobile.d.mts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns `true` when the viewport is narrower than the configured mobile
|
|
3
|
+
* breakpoint (768px by default). Listens to `matchMedia` and updates on
|
|
4
|
+
* resize. Always returns `false` on first render in SSR.
|
|
5
|
+
*/
|
|
1
6
|
declare function useIsMobile(): boolean;
|
|
2
7
|
|
|
3
8
|
export { useIsMobile };
|
package/hooks/use-mobile.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns `true` when the viewport is narrower than the configured mobile
|
|
3
|
+
* breakpoint (768px by default). Listens to `matchMedia` and updates on
|
|
4
|
+
* resize. Always returns `false` on first render in SSR.
|
|
5
|
+
*/
|
|
1
6
|
declare function useIsMobile(): boolean;
|
|
2
7
|
|
|
3
8
|
export { useIsMobile };
|
package/hooks/use-mobile.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFUFUQWRVjs = require('../chunk-FUFUQWRV.js');
|
|
6
6
|
require('../chunk-2NMEKWO5.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.useIsMobile =
|
|
9
|
+
exports.useIsMobile = _chunkFUFUQWRVjs.useIsMobile;
|
|
10
10
|
//# sourceMappingURL=use-mobile.js.map
|
package/hooks/use-mobile.mjs
CHANGED
|
@@ -11,12 +11,24 @@ import '../../components/ui/separator.mjs';
|
|
|
11
11
|
import 'radix-ui';
|
|
12
12
|
import '../../components/ui/tooltip.mjs';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Optional context-switcher block rendered in the sidebar header. `items`
|
|
16
|
+
* are the selectable contexts (workspaces / orgs / tenants); the add / select
|
|
17
|
+
* callbacks live on {@link ISidebarData.events}.
|
|
18
|
+
*/
|
|
14
19
|
interface ISidebarContext {
|
|
15
20
|
title?: string;
|
|
16
21
|
addText?: string;
|
|
17
22
|
items?: INavContext[];
|
|
18
23
|
canAdd?: boolean;
|
|
19
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Configuration object passed to {@link SidebarLayout} (and consumed by
|
|
27
|
+
* `AppSidebar`). `menus` is required and is the primary navigation surface;
|
|
28
|
+
* `user`, `context`, and `userMenus` enrich the sidebar with a profile
|
|
29
|
+
* section, a context switcher, and a user dropdown respectively. Wire
|
|
30
|
+
* side-effecting actions through `events`.
|
|
31
|
+
*/
|
|
20
32
|
interface ISidebarData {
|
|
21
33
|
user?: INavUser;
|
|
22
34
|
context?: ISidebarContext;
|
|
@@ -11,12 +11,24 @@ import '../../components/ui/separator.js';
|
|
|
11
11
|
import 'radix-ui';
|
|
12
12
|
import '../../components/ui/tooltip.js';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Optional context-switcher block rendered in the sidebar header. `items`
|
|
16
|
+
* are the selectable contexts (workspaces / orgs / tenants); the add / select
|
|
17
|
+
* callbacks live on {@link ISidebarData.events}.
|
|
18
|
+
*/
|
|
14
19
|
interface ISidebarContext {
|
|
15
20
|
title?: string;
|
|
16
21
|
addText?: string;
|
|
17
22
|
items?: INavContext[];
|
|
18
23
|
canAdd?: boolean;
|
|
19
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Configuration object passed to {@link SidebarLayout} (and consumed by
|
|
27
|
+
* `AppSidebar`). `menus` is required and is the primary navigation surface;
|
|
28
|
+
* `user`, `context`, and `userMenus` enrich the sidebar with a profile
|
|
29
|
+
* section, a context switcher, and a user dropdown respectively. Wire
|
|
30
|
+
* side-effecting actions through `events`.
|
|
31
|
+
*/
|
|
20
32
|
interface ISidebarData {
|
|
21
33
|
user?: INavUser;
|
|
22
34
|
context?: ISidebarContext;
|