@egose/shadcn-theme 0.0.62 → 0.1.1
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/chunk-2UTAR6ZA.js +27 -0
- package/chunk-2UTAR6ZA.js.map +1 -0
- package/{chunk-4O25L26A.js → chunk-2YMMYND2.js} +54 -27
- package/chunk-2YMMYND2.js.map +1 -0
- package/{chunk-FJGZ3SDA.mjs → chunk-3GHC4JQU.mjs} +2 -2
- package/{chunk-FJGZ3SDA.mjs.map → chunk-3GHC4JQU.mjs.map} +1 -1
- package/chunk-3HZTA2ZQ.js +170 -0
- package/chunk-3HZTA2ZQ.js.map +1 -0
- package/{chunk-XCFEBPRG.js → chunk-3ZN766EW.js} +8 -8
- package/{chunk-XCFEBPRG.js.map → chunk-3ZN766EW.js.map} +1 -1
- package/{chunk-3DG54EVO.mjs → chunk-432PQWGO.mjs} +6 -6
- package/chunk-432PQWGO.mjs.map +1 -0
- package/chunk-4ETXRZKO.js +101 -0
- package/chunk-4ETXRZKO.js.map +1 -0
- package/{chunk-AJFINSLK.mjs → chunk-4I6SLZWT.mjs} +2 -3
- package/chunk-4I6SLZWT.mjs.map +1 -0
- package/chunk-5TXFHYQ5.js +38 -0
- package/chunk-5TXFHYQ5.js.map +1 -0
- package/chunk-6C4NHVD6.js +19 -0
- package/chunk-6C4NHVD6.js.map +1 -0
- package/{chunk-WGNLM36B.js → chunk-6CRGZEQF.js} +16 -4
- package/chunk-6CRGZEQF.js.map +1 -0
- package/{chunk-J4FPBR7A.mjs → chunk-6ECNY4VS.mjs} +4 -4
- package/chunk-6ECNY4VS.mjs.map +1 -0
- package/{chunk-SQK67X4D.mjs → chunk-7BYWDRRI.mjs} +74 -24
- package/chunk-7BYWDRRI.mjs.map +1 -0
- package/chunk-7MDE2NEO.mjs +95 -0
- package/chunk-7MDE2NEO.mjs.map +1 -0
- package/chunk-7PX7GVOR.mjs +100 -0
- package/chunk-7PX7GVOR.mjs.map +1 -0
- package/{chunk-C736G6RV.mjs → chunk-7ZMTJBXT.mjs} +6 -6
- package/chunk-7ZMTJBXT.mjs.map +1 -0
- package/chunk-AJLAS62X.js +154 -0
- package/chunk-AJLAS62X.js.map +1 -0
- package/{chunk-DPGUIXSL.mjs → chunk-BEPAUXCN.mjs} +4 -4
- package/chunk-BEPAUXCN.mjs.map +1 -0
- package/{chunk-J4KEZVR5.js → chunk-BJK4J4VY.js} +5 -5
- package/chunk-BJK4J4VY.js.map +1 -0
- package/{chunk-KNNX4FAH.js → chunk-CKGMFUU2.js} +14 -6
- package/chunk-CKGMFUU2.js.map +1 -0
- package/chunk-CSL3CTEN.mjs +69 -0
- package/chunk-CSL3CTEN.mjs.map +1 -0
- package/chunk-E7F5KADG.mjs +169 -0
- package/chunk-E7F5KADG.mjs.map +1 -0
- package/chunk-F2QWMBUB.mjs +39 -0
- package/chunk-F2QWMBUB.mjs.map +1 -0
- package/{chunk-5WZCVX6I.js → chunk-FCE22MQI.js} +9 -9
- package/{chunk-5WZCVX6I.js.map → chunk-FCE22MQI.js.map} +1 -1
- package/{chunk-VOED37ZV.mjs → chunk-FD7CNCJW.mjs} +16 -4
- package/chunk-FD7CNCJW.mjs.map +1 -0
- package/{chunk-QJLNEVAE.mjs → chunk-GAJQQPUC.mjs} +3 -3
- package/chunk-GBNJFKPB.js +51 -0
- package/chunk-GBNJFKPB.js.map +1 -0
- package/{chunk-UF2IGF36.js → chunk-GKUELSRJ.js} +5 -5
- package/chunk-GKUELSRJ.js.map +1 -0
- package/{chunk-K6S2HW6A.mjs → chunk-GUB2Y4JK.mjs} +3 -3
- package/chunk-GUB2Y4JK.mjs.map +1 -0
- package/{chunk-AREM2MQQ.js → chunk-GV62APQ6.js} +2 -2
- package/chunk-GV62APQ6.js.map +1 -0
- package/chunk-HKZRXGJ7.mjs +158 -0
- package/chunk-HKZRXGJ7.mjs.map +1 -0
- package/{chunk-HR7QORF3.mjs → chunk-HTEQHRTK.mjs} +37 -28
- package/{chunk-HR7QORF3.mjs.map → chunk-HTEQHRTK.mjs.map} +1 -1
- package/chunk-ICOZ5BK7.mjs +110 -0
- package/chunk-ICOZ5BK7.mjs.map +1 -0
- package/chunk-JZXOJAMQ.js +96 -0
- package/chunk-JZXOJAMQ.js.map +1 -0
- package/{chunk-YYEQYAZF.js → chunk-K3LYDDTD.js} +3 -3
- package/{chunk-YYEQYAZF.js.map → chunk-K3LYDDTD.js.map} +1 -1
- package/{chunk-HMEHDD5N.js → chunk-K4JVHEI2.js} +19 -9
- package/chunk-K4JVHEI2.js.map +1 -0
- package/{chunk-OFRRRK4N.js → chunk-KB6BX6LA.js} +75 -25
- package/chunk-KB6BX6LA.js.map +1 -0
- package/chunk-KO4TIQLS.mjs +26 -0
- package/chunk-KO4TIQLS.mjs.map +1 -0
- package/{chunk-F57PDM2P.mjs → chunk-KUD4Z2MZ.mjs} +10 -5
- package/chunk-KUD4Z2MZ.mjs.map +1 -0
- package/chunk-LVXIGNFJ.mjs +37 -0
- package/chunk-LVXIGNFJ.mjs.map +1 -0
- package/chunk-MJT6B7OJ.js +159 -0
- package/chunk-MJT6B7OJ.js.map +1 -0
- package/chunk-MM5OJOOR.mjs +31 -0
- package/chunk-MM5OJOOR.mjs.map +1 -0
- package/chunk-NMYVYLKF.js +39 -0
- package/chunk-NMYVYLKF.js.map +1 -0
- package/{chunk-AK7GRZQD.js → chunk-NWL7BAHC.js} +11 -11
- package/{chunk-AK7GRZQD.js.map → chunk-NWL7BAHC.js.map} +1 -1
- package/chunk-OPNHC6JN.mjs +132 -0
- package/chunk-OPNHC6JN.mjs.map +1 -0
- package/{chunk-P6ZPREB6.js → chunk-OUVM5NST.js} +6 -6
- package/{chunk-P6ZPREB6.js.map → chunk-OUVM5NST.js.map} +1 -1
- package/chunk-QCHBJMD6.mjs +38 -0
- package/chunk-QCHBJMD6.mjs.map +1 -0
- package/chunk-QF6PFV6M.mjs +58 -0
- package/chunk-QF6PFV6M.mjs.map +1 -0
- package/chunk-QHCOMBHI.js +70 -0
- package/chunk-QHCOMBHI.js.map +1 -0
- package/chunk-QMLV5G5Z.js +187 -0
- package/chunk-QMLV5G5Z.js.map +1 -0
- package/chunk-RFORRZRN.js +133 -0
- package/chunk-RFORRZRN.js.map +1 -0
- package/{chunk-MA3OJUIL.mjs → chunk-RIBB6GXJ.mjs} +2 -2
- package/chunk-RJG7QLDD.js +52 -0
- package/chunk-RJG7QLDD.js.map +1 -0
- package/chunk-RPF753T2.mjs +247 -0
- package/chunk-RPF753T2.mjs.map +1 -0
- package/{chunk-7734627I.mjs → chunk-S3CRUBGL.mjs} +4 -4
- package/chunk-S3CRUBGL.mjs.map +1 -0
- package/{chunk-QBO4YAYA.mjs → chunk-SBFICFTY.mjs} +4 -4
- package/chunk-SBFICFTY.mjs.map +1 -0
- package/{chunk-L2NIAPCK.mjs → chunk-SDR3DVXD.mjs} +8 -8
- package/{chunk-M2OLRG5K.js → chunk-SLADFPSL.js} +12 -12
- package/{chunk-M2OLRG5K.js.map → chunk-SLADFPSL.js.map} +1 -1
- package/{chunk-BWKIS24H.js → chunk-TTCGK36S.js} +6 -6
- package/{chunk-BWKIS24H.js.map → chunk-TTCGK36S.js.map} +1 -1
- package/chunk-UFRPUC7K.js +59 -0
- package/chunk-UFRPUC7K.js.map +1 -0
- package/chunk-UKPBHVOT.js +248 -0
- package/chunk-UKPBHVOT.js.map +1 -0
- package/chunk-UQJ4A4H2.mjs +624 -0
- package/chunk-UQJ4A4H2.mjs.map +1 -0
- package/{chunk-NUCMI4CP.js → chunk-UQW3H2JS.js} +5 -5
- package/chunk-UQW3H2JS.js.map +1 -0
- package/chunk-US2CUADK.mjs +186 -0
- package/chunk-US2CUADK.mjs.map +1 -0
- package/{chunk-IYZWOHGP.mjs → chunk-VHYQNTH7.mjs} +4 -4
- package/chunk-VHYQNTH7.mjs.map +1 -0
- package/{chunk-Q5QVXAFP.js → chunk-WHQINNUB.js} +20 -15
- package/chunk-WHQINNUB.js.map +1 -0
- package/{chunk-HBKXMTBF.mjs → chunk-WIISPZZE.mjs} +54 -27
- package/chunk-WIISPZZE.mjs.map +1 -0
- package/{chunk-CSDFVUNP.js → chunk-WJBTXKFN.js} +9 -9
- package/chunk-WJBTXKFN.js.map +1 -0
- package/chunk-WKQDHQAS.js +111 -0
- package/chunk-WKQDHQAS.js.map +1 -0
- package/chunk-WREXRSAA.js +625 -0
- package/chunk-WREXRSAA.js.map +1 -0
- package/chunk-XMRJIUYX.mjs +55 -0
- package/chunk-XMRJIUYX.mjs.map +1 -0
- package/chunk-XVWILFYQ.mjs +50 -0
- package/chunk-XVWILFYQ.mjs.map +1 -0
- package/chunk-YJR5JBXS.js +56 -0
- package/chunk-YJR5JBXS.js.map +1 -0
- package/chunk-YQENFZOY.mjs +51 -0
- package/chunk-YQENFZOY.mjs.map +1 -0
- package/{chunk-7QMZ5MU4.js → chunk-Z342XYFY.js} +37 -28
- package/chunk-Z342XYFY.js.map +1 -0
- package/chunk-ZMMYQNQV.mjs +153 -0
- package/chunk-ZMMYQNQV.mjs.map +1 -0
- package/components/form/checkbox.js +4 -4
- package/components/form/checkbox.mjs +3 -3
- package/components/form/date-picker.js +7 -7
- package/components/form/date-picker.mjs +6 -6
- package/components/form/date-range-picker.js +9 -9
- package/components/form/date-range-picker.js.map +1 -1
- package/components/form/date-range-picker.mjs +6 -6
- package/components/form/date-range-picker.mjs.map +1 -1
- package/components/form/hook-checkbox.js +5 -5
- package/components/form/hook-checkbox.js.map +1 -1
- package/components/form/hook-checkbox.mjs +4 -4
- package/components/form/hook-checkbox.mjs.map +1 -1
- package/components/form/hook-date-picker.js +8 -8
- package/components/form/hook-date-picker.js.map +1 -1
- package/components/form/hook-date-picker.mjs +7 -7
- package/components/form/hook-date-picker.mjs.map +1 -1
- package/components/form/hook-native-select.js +4 -4
- package/components/form/hook-native-select.js.map +1 -1
- package/components/form/hook-native-select.mjs +3 -3
- package/components/form/hook-native-select.mjs.map +1 -1
- package/components/form/hook-searchable-select.js +12 -9
- package/components/form/hook-searchable-select.js.map +1 -1
- package/components/form/hook-searchable-select.mjs +11 -8
- package/components/form/hook-searchable-select.mjs.map +1 -1
- package/components/form/hook-select.js +5 -5
- package/components/form/hook-select.js.map +1 -1
- package/components/form/hook-select.mjs +4 -4
- package/components/form/hook-select.mjs.map +1 -1
- package/components/form/hook-text-input.js +5 -5
- package/components/form/hook-text-input.js.map +1 -1
- package/components/form/hook-text-input.mjs +4 -4
- package/components/form/hook-text-input.mjs.map +1 -1
- package/components/form/hook-textarea.js +5 -5
- package/components/form/hook-textarea.js.map +1 -1
- package/components/form/hook-textarea.mjs +4 -4
- package/components/form/hook-textarea.mjs.map +1 -1
- package/components/form/hook-time-input.js +6 -6
- package/components/form/hook-time-input.js.map +1 -1
- package/components/form/hook-time-input.mjs +5 -5
- package/components/form/hook-time-input.mjs.map +1 -1
- package/components/form/native-select.js +3 -3
- package/components/form/native-select.mjs +2 -2
- package/components/form/searchable-select.js +11 -8
- package/components/form/searchable-select.js.map +1 -1
- package/components/form/searchable-select.mjs +10 -7
- package/components/form/select.js +4 -4
- package/components/form/select.mjs +3 -3
- package/components/form/text-input.js +4 -4
- package/components/form/text-input.mjs +3 -3
- package/components/form/textarea.js +4 -4
- package/components/form/textarea.mjs +3 -3
- package/components/form/time-input.d.mts +1 -1
- package/components/form/time-input.d.ts +1 -1
- package/components/form/time-input.js +5 -5
- package/components/form/time-input.mjs +4 -4
- package/components/ui/accordion.d.mts +5 -5
- package/components/ui/accordion.d.ts +5 -5
- package/components/ui/accordion.js +43 -21
- package/components/ui/accordion.js.map +1 -1
- package/components/ui/accordion.mjs +41 -19
- package/components/ui/accordion.mjs.map +1 -1
- package/components/ui/alert-dialog.d.mts +19 -19
- package/components/ui/alert-dialog.d.ts +19 -19
- package/components/ui/alert-dialog.js +122 -52
- package/components/ui/alert-dialog.js.map +1 -1
- package/components/ui/alert-dialog.mjs +120 -50
- package/components/ui/alert-dialog.mjs.map +1 -1
- package/components/ui/alert.d.mts +10 -5
- package/components/ui/alert.d.ts +10 -5
- package/components/ui/alert.js +4 -2
- package/components/ui/alert.js.map +1 -1
- package/components/ui/alert.mjs +3 -1
- package/components/ui/aspect-ratio.d.mts +3 -3
- package/components/ui/aspect-ratio.d.ts +3 -3
- package/components/ui/aspect-ratio.js +10 -4
- package/components/ui/aspect-ratio.js.map +1 -1
- package/components/ui/aspect-ratio.mjs +9 -3
- package/components/ui/aspect-ratio.mjs.map +1 -1
- package/components/ui/avatar.d.mts +10 -5
- package/components/ui/avatar.d.ts +10 -5
- package/components/ui/avatar.js +8 -2
- package/components/ui/avatar.js.map +1 -1
- package/components/ui/avatar.mjs +7 -1
- package/components/ui/badge.d.mts +9 -2
- package/components/ui/badge.d.ts +9 -2
- package/components/ui/badge.js +2 -2
- package/components/ui/badge.mjs +1 -1
- package/components/ui/basic-alert.d.mts +1 -0
- package/components/ui/basic-alert.d.ts +1 -0
- package/components/ui/basic-alert.js +2 -2
- package/components/ui/basic-alert.mjs +1 -1
- package/components/ui/breadcrumb.d.mts +8 -16
- package/components/ui/breadcrumb.d.ts +8 -16
- package/components/ui/breadcrumb.js +2 -2
- package/components/ui/breadcrumb.mjs +1 -1
- package/components/ui/button-group.d.mts +16 -0
- package/components/ui/button-group.d.ts +16 -0
- package/components/ui/button-group.js +94 -0
- package/components/ui/button-group.js.map +1 -0
- package/components/ui/button-group.mjs +93 -0
- package/components/ui/button-group.mjs.map +1 -0
- package/components/ui/button.d.mts +8 -2
- package/components/ui/button.d.ts +8 -2
- package/components/ui/button.js +3 -3
- package/components/ui/button.mjs +2 -2
- package/components/ui/calendar.d.mts +11 -8
- package/components/ui/calendar.d.ts +11 -8
- package/components/ui/calendar.js +6 -4
- package/components/ui/calendar.js.map +1 -1
- package/components/ui/calendar.mjs +7 -5
- package/components/ui/card.d.mts +10 -7
- package/components/ui/card.d.ts +10 -7
- package/components/ui/card.js +73 -47
- package/components/ui/card.js.map +1 -1
- package/components/ui/card.mjs +65 -39
- package/components/ui/card.mjs.map +1 -1
- package/components/ui/carousel.d.mts +17 -7
- package/components/ui/carousel.d.ts +17 -7
- package/components/ui/carousel.js +162 -158
- package/components/ui/carousel.js.map +1 -1
- package/components/ui/carousel.mjs +163 -159
- package/components/ui/carousel.mjs.map +1 -1
- package/components/ui/checkbox.d.mts +2 -2
- package/components/ui/checkbox.d.ts +2 -2
- package/components/ui/checkbox.js +2 -2
- package/components/ui/checkbox.mjs +1 -1
- package/components/ui/collapsible.d.mts +5 -5
- package/components/ui/collapsible.d.ts +5 -5
- package/components/ui/collapsible.js +2 -2
- package/components/ui/collapsible.mjs +1 -1
- package/components/ui/combobox.d.mts +26 -0
- package/components/ui/combobox.d.ts +26 -0
- package/components/ui/combobox.js +273 -0
- package/components/ui/combobox.js.map +1 -0
- package/components/ui/combobox.mjs +272 -0
- package/components/ui/combobox.mjs.map +1 -0
- package/components/ui/command.d.mts +17 -78
- package/components/ui/command.d.ts +17 -78
- package/components/ui/command.js +8 -3
- package/components/ui/command.js.map +1 -1
- package/components/ui/command.mjs +7 -2
- package/components/ui/context-menu.d.mts +26 -22
- package/components/ui/context-menu.d.ts +26 -22
- package/components/ui/context-menu.js +153 -75
- package/components/ui/context-menu.js.map +1 -1
- package/components/ui/context-menu.mjs +151 -73
- package/components/ui/context-menu.mjs.map +1 -1
- package/components/ui/copy-button.js +3 -3
- package/components/ui/copy-button.js.map +1 -1
- package/components/ui/copy-button.mjs +1 -1
- package/components/ui/copy-button.mjs.map +1 -1
- package/components/ui/dialog.d.mts +15 -19
- package/components/ui/dialog.d.ts +15 -19
- package/components/ui/dialog.js +4 -2
- package/components/ui/dialog.js.map +1 -1
- package/components/ui/dialog.mjs +3 -1
- package/components/ui/direction.d.mts +9 -0
- package/components/ui/direction.d.ts +9 -0
- package/components/ui/direction.js +20 -0
- package/components/ui/direction.js.map +1 -0
- package/components/ui/direction.mjs +19 -0
- package/components/ui/direction.mjs.map +1 -0
- package/components/ui/drawer.js +1 -1
- package/components/ui/drawer.js.map +1 -1
- package/components/ui/drawer.mjs +1 -1
- package/components/ui/drawer.mjs.map +1 -1
- package/components/ui/dropdown-menu.d.mts +24 -22
- package/components/ui/dropdown-menu.d.ts +24 -22
- package/components/ui/dropdown-menu.js +2 -2
- package/components/ui/dropdown-menu.mjs +1 -1
- package/components/ui/empty.d.mts +15 -0
- package/components/ui/empty.d.ts +15 -0
- package/components/ui/empty.js +102 -0
- package/components/ui/empty.js.map +1 -0
- package/components/ui/empty.mjs +101 -0
- package/components/ui/empty.mjs.map +1 -0
- package/components/ui/extension/file-input.js +4 -4
- package/components/ui/extension/file-input.mjs +3 -3
- package/components/ui/extension/multi-select.js +13 -8
- package/components/ui/extension/multi-select.js.map +1 -1
- package/components/ui/extension/multi-select.mjs +8 -3
- package/components/ui/extension/multi-select.mjs.map +1 -1
- package/components/ui/field.d.mts +29 -0
- package/components/ui/field.d.ts +29 -0
- package/components/ui/field.js +220 -0
- package/components/ui/field.js.map +1 -0
- package/components/ui/field.mjs +219 -0
- package/components/ui/field.mjs.map +1 -0
- package/components/ui/hover-card.d.mts +4 -4
- package/components/ui/hover-card.d.ts +4 -4
- package/components/ui/hover-card.js +25 -12
- package/components/ui/hover-card.js.map +1 -1
- package/components/ui/hover-card.mjs +24 -11
- package/components/ui/hover-card.mjs.map +1 -1
- package/components/ui/input-group.d.mts +19 -0
- package/components/ui/input-group.d.ts +19 -0
- package/components/ui/input-group.js +25 -0
- package/components/ui/input-group.js.map +1 -0
- package/components/ui/input-group.mjs +24 -0
- package/components/ui/input-otp.d.mts +7 -31
- package/components/ui/input-otp.d.ts +7 -31
- package/components/ui/input-otp.js +58 -37
- package/components/ui/input-otp.js.map +1 -1
- package/components/ui/input-otp.mjs +59 -38
- package/components/ui/input-otp.mjs.map +1 -1
- package/components/ui/input.js +2 -2
- package/components/ui/input.mjs +1 -1
- package/components/ui/item.d.mts +27 -0
- package/components/ui/item.d.ts +27 -0
- package/components/ui/item.js +187 -0
- package/components/ui/item.js.map +1 -0
- package/components/ui/item.mjs +186 -0
- package/components/ui/item.mjs.map +1 -0
- package/components/ui/kbd.d.mts +6 -0
- package/components/ui/kbd.d.ts +6 -0
- package/components/ui/kbd.js +33 -0
- package/components/ui/kbd.js.map +1 -0
- package/components/ui/kbd.mjs +32 -0
- package/components/ui/kbd.mjs.map +1 -0
- package/components/ui/label.d.mts +3 -4
- package/components/ui/label.d.ts +3 -4
- package/components/ui/label.js +2 -2
- package/components/ui/label.mjs +1 -1
- package/components/ui/menubar.d.mts +25 -23
- package/components/ui/menubar.d.ts +25 -23
- package/components/ui/menubar.js +162 -104
- package/components/ui/menubar.js.map +1 -1
- package/components/ui/menubar.mjs +157 -99
- package/components/ui/menubar.mjs.map +1 -1
- package/components/ui/native-select.d.mts +10 -0
- package/components/ui/native-select.d.ts +10 -0
- package/components/ui/native-select.js +53 -0
- package/components/ui/native-select.js.map +1 -0
- package/components/ui/native-select.mjs +52 -0
- package/components/ui/native-select.mjs.map +1 -0
- package/components/ui/navigation-menu.d.mts +13 -10
- package/components/ui/navigation-menu.d.ts +13 -10
- package/components/ui/navigation-menu.js +80 -47
- package/components/ui/navigation-menu.js.map +1 -1
- package/components/ui/navigation-menu.mjs +75 -42
- package/components/ui/navigation-menu.mjs.map +1 -1
- package/components/ui/pagination.d.mts +14 -24
- package/components/ui/pagination.d.ts +14 -24
- package/components/ui/pagination.js +45 -44
- package/components/ui/pagination.js.map +1 -1
- package/components/ui/pagination.mjs +47 -46
- package/components/ui/pagination.mjs.map +1 -1
- package/components/ui/popover.d.mts +9 -6
- package/components/ui/popover.d.ts +9 -6
- package/components/ui/popover.js +8 -2
- package/components/ui/popover.js.map +1 -1
- package/components/ui/popover.mjs +7 -1
- package/components/ui/progress.d.mts +2 -2
- package/components/ui/progress.d.ts +2 -2
- package/components/ui/progress.js +9 -9
- package/components/ui/progress.js.map +1 -1
- package/components/ui/progress.mjs +7 -7
- package/components/ui/progress.mjs.map +1 -1
- package/components/ui/radio-group.d.mts +3 -3
- package/components/ui/radio-group.d.ts +3 -3
- package/components/ui/radio-group.js +17 -14
- package/components/ui/radio-group.js.map +1 -1
- package/components/ui/radio-group.mjs +16 -13
- package/components/ui/radio-group.mjs.map +1 -1
- package/components/ui/resizable.d.mts +4 -20
- package/components/ui/resizable.d.ts +4 -20
- package/components/ui/resizable.js +15 -12
- package/components/ui/resizable.js.map +1 -1
- package/components/ui/resizable.mjs +15 -12
- package/components/ui/resizable.mjs.map +1 -1
- package/components/ui/scroll-area.d.mts +3 -3
- package/components/ui/scroll-area.d.ts +3 -3
- package/components/ui/scroll-area.js +31 -15
- package/components/ui/scroll-area.js.map +1 -1
- package/components/ui/scroll-area.mjs +30 -14
- package/components/ui/scroll-area.mjs.map +1 -1
- package/components/ui/select.d.mts +13 -11
- package/components/ui/select.d.ts +13 -11
- package/components/ui/select.js +2 -2
- package/components/ui/select.mjs +1 -1
- package/components/ui/separator.d.mts +2 -2
- package/components/ui/separator.d.ts +2 -2
- package/components/ui/separator.js +2 -2
- package/components/ui/separator.mjs +1 -1
- package/components/ui/sheet.d.mts +13 -22
- package/components/ui/sheet.d.ts +13 -22
- package/components/ui/sheet.js +4 -6
- package/components/ui/sheet.js.map +1 -1
- package/components/ui/sheet.mjs +3 -5
- package/components/ui/sidebar.d.mts +46 -41
- package/components/ui/sidebar.d.ts +46 -41
- package/components/ui/sidebar.js +9 -9
- package/components/ui/sidebar.mjs +8 -8
- package/components/ui/skeleton.d.mts +2 -2
- package/components/ui/skeleton.d.ts +2 -2
- package/components/ui/skeleton.js +2 -2
- package/components/ui/skeleton.mjs +1 -1
- package/components/ui/slider.d.mts +2 -2
- package/components/ui/slider.d.ts +2 -2
- package/components/ui/slider.js +52 -10
- package/components/ui/slider.js.map +1 -1
- package/components/ui/slider.mjs +51 -9
- package/components/ui/slider.mjs.map +1 -1
- package/components/ui/sonner.d.mts +1 -2
- package/components/ui/sonner.d.ts +1 -2
- package/components/ui/sonner.js +16 -6
- package/components/ui/sonner.js.map +1 -1
- package/components/ui/sonner.mjs +15 -5
- package/components/ui/sonner.mjs.map +1 -1
- package/components/ui/spinner.d.mts +7 -2
- package/components/ui/spinner.d.ts +7 -2
- package/components/ui/spinner.js +2 -2
- package/components/ui/spinner.mjs +1 -1
- package/components/ui/switch.d.mts +4 -2
- package/components/ui/switch.d.ts +4 -2
- package/components/ui/switch.js +19 -16
- package/components/ui/switch.js.map +1 -1
- package/components/ui/switch.mjs +19 -16
- package/components/ui/switch.mjs.map +1 -1
- package/components/ui/table.d.mts +8 -8
- package/components/ui/table.d.ts +8 -8
- package/components/ui/table.js +59 -77
- package/components/ui/table.js.map +1 -1
- package/components/ui/table.mjs +59 -77
- package/components/ui/table.mjs.map +1 -1
- package/components/ui/tabs.d.mts +11 -6
- package/components/ui/tabs.d.ts +11 -6
- package/components/ui/tabs.js +55 -28
- package/components/ui/tabs.js.map +1 -1
- package/components/ui/tabs.mjs +52 -25
- package/components/ui/tabs.mjs.map +1 -1
- package/components/ui/textarea.js +2 -2
- package/components/ui/textarea.mjs +1 -1
- package/components/ui/toggle-group.d.mts +8 -5
- package/components/ui/toggle-group.d.ts +8 -5
- package/components/ui/toggle-group.js +54 -20
- package/components/ui/toggle-group.js.map +1 -1
- package/components/ui/toggle-group.mjs +51 -17
- package/components/ui/toggle-group.mjs.map +1 -1
- package/components/ui/toggle.d.mts +7 -3
- package/components/ui/toggle.d.ts +7 -3
- package/components/ui/toggle.js +2 -2
- package/components/ui/toggle.mjs +1 -1
- package/components/ui/tooltip.d.mts +5 -5
- package/components/ui/tooltip.d.ts +5 -5
- package/components/ui/tooltip.js +2 -2
- package/components/ui/tooltip.mjs +1 -1
- package/layouts/sidebar1/app-sidebar.d.mts +5 -3
- package/layouts/sidebar1/app-sidebar.d.ts +5 -3
- package/layouts/sidebar1/app-sidebar.js +17 -16
- package/layouts/sidebar1/app-sidebar.js.map +1 -1
- package/layouts/sidebar1/app-sidebar.mjs +16 -15
- package/layouts/sidebar1/context-switcher.js +11 -11
- package/layouts/sidebar1/context-switcher.mjs +10 -10
- package/layouts/sidebar1/index.d.mts +5 -3
- package/layouts/sidebar1/index.d.ts +5 -3
- package/layouts/sidebar1/index.js +21 -19
- package/layouts/sidebar1/index.js.map +1 -1
- package/layouts/sidebar1/index.mjs +22 -20
- package/layouts/sidebar1/index.mjs.map +1 -1
- package/layouts/sidebar1/{LinkWrapper.js → link-placeholder.js} +2 -2
- package/layouts/sidebar1/link-placeholder.js.map +1 -0
- package/layouts/sidebar1/{LinkWrapper.mjs → link-placeholder.mjs} +2 -2
- package/layouts/sidebar1/link-placeholder.mjs.map +1 -0
- package/layouts/sidebar1/nav-menus.js +11 -11
- package/layouts/sidebar1/nav-menus.mjs +10 -10
- package/layouts/sidebar1/nav-user.js +13 -12
- package/layouts/sidebar1/nav-user.js.map +1 -1
- package/layouts/sidebar1/nav-user.mjs +12 -11
- package/layouts/sidebar1/theme-switcher.d.mts +5 -0
- package/layouts/sidebar1/theme-switcher.d.ts +5 -0
- package/layouts/sidebar1/theme-switcher.js +10 -0
- package/layouts/sidebar1/theme-switcher.js.map +1 -0
- package/layouts/sidebar1/theme-switcher.mjs +9 -0
- package/layouts/simple/index.js +3 -3
- package/layouts/simple/index.mjs +2 -2
- package/layouts/simple/user-menu.js +3 -3
- package/layouts/simple/user-menu.mjs +2 -2
- package/package.json +10 -32
- package/chunk-23MJMEQC.js +0 -33
- package/chunk-23MJMEQC.js.map +0 -1
- package/chunk-2DJW7DN4.js +0 -124
- package/chunk-2DJW7DN4.js.map +0 -1
- package/chunk-3AWU47KT.js +0 -99
- package/chunk-3AWU47KT.js.map +0 -1
- package/chunk-3DG54EVO.mjs.map +0 -1
- package/chunk-43V6CNEG.mjs +0 -92
- package/chunk-43V6CNEG.mjs.map +0 -1
- package/chunk-47TKC7DB.mjs +0 -38
- package/chunk-47TKC7DB.mjs.map +0 -1
- package/chunk-4O25L26A.js.map +0 -1
- package/chunk-5AC6SSUU.js +0 -567
- package/chunk-5AC6SSUU.js.map +0 -1
- package/chunk-73TDZTWF.js +0 -32
- package/chunk-73TDZTWF.js.map +0 -1
- package/chunk-754FOR4K.js +0 -154
- package/chunk-754FOR4K.js.map +0 -1
- package/chunk-7734627I.mjs.map +0 -1
- package/chunk-7QMZ5MU4.js.map +0 -1
- package/chunk-ABZ4SF2K.mjs +0 -32
- package/chunk-ABZ4SF2K.mjs.map +0 -1
- package/chunk-AJFINSLK.mjs.map +0 -1
- package/chunk-APMXMQPZ.js +0 -33
- package/chunk-APMXMQPZ.js.map +0 -1
- package/chunk-AREM2MQQ.js.map +0 -1
- package/chunk-BH4FHKAR.js +0 -91
- package/chunk-BH4FHKAR.js.map +0 -1
- package/chunk-C736G6RV.mjs.map +0 -1
- package/chunk-CSDFVUNP.js.map +0 -1
- package/chunk-D6WUNCBI.mjs +0 -91
- package/chunk-D6WUNCBI.mjs.map +0 -1
- package/chunk-DOM2D2R7.mjs +0 -31
- package/chunk-DOM2D2R7.mjs.map +0 -1
- package/chunk-DPGUIXSL.mjs.map +0 -1
- package/chunk-F57PDM2P.mjs.map +0 -1
- package/chunk-GVZX7FQQ.mjs +0 -123
- package/chunk-GVZX7FQQ.mjs.map +0 -1
- package/chunk-GZPKVSCR.js +0 -38
- package/chunk-GZPKVSCR.js.map +0 -1
- package/chunk-HBKXMTBF.mjs.map +0 -1
- package/chunk-HMEHDD5N.js.map +0 -1
- package/chunk-HN73FRPZ.js +0 -20
- package/chunk-HN73FRPZ.js.map +0 -1
- package/chunk-I6AFNWVY.js +0 -123
- package/chunk-I6AFNWVY.js.map +0 -1
- package/chunk-IHNDGZWX.mjs +0 -98
- package/chunk-IHNDGZWX.mjs.map +0 -1
- package/chunk-IYZWOHGP.mjs.map +0 -1
- package/chunk-J4FPBR7A.mjs.map +0 -1
- package/chunk-J4KEZVR5.js.map +0 -1
- package/chunk-JVMY3LCD.mjs +0 -90
- package/chunk-JVMY3LCD.mjs.map +0 -1
- package/chunk-K6S2HW6A.mjs.map +0 -1
- package/chunk-KNNX4FAH.js.map +0 -1
- package/chunk-LYMKN3NY.js +0 -39
- package/chunk-LYMKN3NY.js.map +0 -1
- package/chunk-M55DCHAX.mjs +0 -45
- package/chunk-M55DCHAX.mjs.map +0 -1
- package/chunk-MKOOSP3M.mjs +0 -71
- package/chunk-MKOOSP3M.mjs.map +0 -1
- package/chunk-MUWMASP4.js +0 -44
- package/chunk-MUWMASP4.js.map +0 -1
- package/chunk-NL4534LH.mjs +0 -23
- package/chunk-NL4534LH.mjs.map +0 -1
- package/chunk-NUCMI4CP.js.map +0 -1
- package/chunk-NWVKFMW3.mjs +0 -32
- package/chunk-NWVKFMW3.mjs.map +0 -1
- package/chunk-OFRRRK4N.js.map +0 -1
- package/chunk-OI7CIW4X.mjs +0 -566
- package/chunk-OI7CIW4X.mjs.map +0 -1
- package/chunk-OJEDITOA.mjs +0 -112
- package/chunk-OJEDITOA.mjs.map +0 -1
- package/chunk-OROMS2CN.js +0 -13
- package/chunk-OROMS2CN.js.map +0 -1
- package/chunk-PHE5ID6D.js +0 -92
- package/chunk-PHE5ID6D.js.map +0 -1
- package/chunk-Q5QVXAFP.js.map +0 -1
- package/chunk-QBO4YAYA.mjs.map +0 -1
- package/chunk-QJKRCNUX.mjs +0 -153
- package/chunk-QJKRCNUX.mjs.map +0 -1
- package/chunk-QW2TXVH4.js +0 -46
- package/chunk-QW2TXVH4.js.map +0 -1
- package/chunk-SCU2RG4I.mjs +0 -37
- package/chunk-SCU2RG4I.mjs.map +0 -1
- package/chunk-SQK67X4D.mjs.map +0 -1
- package/chunk-SSL4EXAQ.mjs +0 -29
- package/chunk-SSL4EXAQ.mjs.map +0 -1
- package/chunk-TXGL3AHG.mjs +0 -43
- package/chunk-TXGL3AHG.mjs.map +0 -1
- package/chunk-UF2IGF36.js.map +0 -1
- package/chunk-VOED37ZV.mjs.map +0 -1
- package/chunk-WGNLM36B.js.map +0 -1
- package/chunk-WJ4BE7HH.mjs +0 -12
- package/chunk-WJ4BE7HH.mjs.map +0 -1
- package/chunk-XDCB6C5S.js +0 -72
- package/chunk-XDCB6C5S.js.map +0 -1
- package/chunk-XIHKXTB2.js +0 -93
- package/chunk-XIHKXTB2.js.map +0 -1
- package/chunk-XWFQVYPB.js +0 -113
- package/chunk-XWFQVYPB.js.map +0 -1
- package/chunk-YQZZ6RRI.mjs +0 -122
- package/chunk-YQZZ6RRI.mjs.map +0 -1
- package/components/ui/form.d.mts +0 -27
- package/components/ui/form.d.ts +0 -27
- package/components/ui/form.js +0 -110
- package/components/ui/form.js.map +0 -1
- package/components/ui/form.mjs +0 -109
- package/components/ui/form.mjs.map +0 -1
- package/components/ui/toast.d.mts +0 -15
- package/components/ui/toast.d.ts +0 -15
- package/components/ui/toast.js +0 -23
- package/components/ui/toast.js.map +0 -1
- package/components/ui/toast.mjs +0 -22
- package/components/ui/toaster.d.mts +0 -5
- package/components/ui/toaster.d.ts +0 -5
- package/components/ui/toaster.js +0 -32
- package/components/ui/toaster.js.map +0 -1
- package/components/ui/toaster.mjs +0 -31
- package/components/ui/toaster.mjs.map +0 -1
- package/hooks/use-toast.d.mts +0 -48
- package/hooks/use-toast.d.ts +0 -48
- package/hooks/use-toast.js +0 -14
- package/hooks/use-toast.js.map +0 -1
- package/hooks/use-toast.mjs +0 -13
- package/layouts/sidebar1/LinkWrapper.js.map +0 -1
- package/layouts/sidebar1/LinkWrapper.mjs.map +0 -1
- /package/{chunk-QJLNEVAE.mjs.map → chunk-GAJQQPUC.mjs.map} +0 -0
- /package/{chunk-MA3OJUIL.mjs.map → chunk-RIBB6GXJ.mjs.map} +0 -0
- /package/{chunk-L2NIAPCK.mjs.map → chunk-SDR3DVXD.mjs.map} +0 -0
- /package/components/ui/{toast.mjs.map → input-group.mjs.map} +0 -0
- /package/layouts/sidebar1/{LinkWrapper.d.mts → link-placeholder.d.mts} +0 -0
- /package/layouts/sidebar1/{LinkWrapper.d.ts → link-placeholder.d.ts} +0 -0
- /package/{hooks/use-toast.mjs.map → layouts/sidebar1/theme-switcher.mjs.map} +0 -0
|
@@ -6,33 +6,36 @@ var _chunkPSPAJNNBjs = require('../../chunk-PSPAJNNB.js');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
var _chunk2NMEKWO5js = require('../../chunk-2NMEKWO5.js');
|
|
11
10
|
|
|
12
11
|
// components/ui/radio-group.tsx
|
|
13
12
|
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
var RadioGroup = React.forwardRef((_a, ref) => {
|
|
13
|
+
var _radixui = require('radix-ui');
|
|
14
|
+
function RadioGroup(_a) {
|
|
17
15
|
var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
|
|
18
|
-
return /* @__PURE__ */ React.createElement(
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
var RadioGroupItem = React.forwardRef((_a, ref) => {
|
|
16
|
+
return /* @__PURE__ */ React.createElement(_radixui.RadioGroup.Root, _chunk2NMEKWO5js.__spreadValues.call(void 0, { "data-slot": "radio-group", className: _chunkPSPAJNNBjs.cn.call(void 0, "grid gap-2 w-full", className) }, props));
|
|
17
|
+
}
|
|
18
|
+
function RadioGroupItem(_a) {
|
|
22
19
|
var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
|
|
23
20
|
return /* @__PURE__ */ React.createElement(
|
|
24
|
-
|
|
21
|
+
_radixui.RadioGroup.Item,
|
|
25
22
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
26
|
-
|
|
23
|
+
"data-slot": "radio-group-item",
|
|
27
24
|
className: _chunkPSPAJNNBjs.cn.call(void 0,
|
|
28
|
-
"
|
|
25
|
+
"border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 dark:aria-invalid:border-destructive/50 flex size-4 rounded-full focus-visible:ring-3 aria-invalid:ring-3 group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
29
26
|
className
|
|
30
27
|
)
|
|
31
28
|
}, props),
|
|
32
|
-
/* @__PURE__ */ React.createElement(
|
|
29
|
+
/* @__PURE__ */ React.createElement(
|
|
30
|
+
_radixui.RadioGroup.Indicator,
|
|
31
|
+
{
|
|
32
|
+
"data-slot": "radio-group-indicator",
|
|
33
|
+
className: "flex size-4 items-center justify-center"
|
|
34
|
+
},
|
|
35
|
+
/* @__PURE__ */ React.createElement("span", { className: "bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full" })
|
|
36
|
+
)
|
|
33
37
|
);
|
|
34
|
-
}
|
|
35
|
-
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
38
|
+
}
|
|
36
39
|
|
|
37
40
|
|
|
38
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/radio-group.js","../../../components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/radio-group.js","../../../components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,2EAAuB;AACvB,mCAAkD;AAIlD,SAAS,UAAA,CAAW,EAAA,EAAgF;AAAhF,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,UANtB,EAAA,EAMoB,EAAA,EAAgB,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AACpB,EAAA,uBAAO,KAAA,CAAA,aAAA,CAAC,mBAAA,CAAoB,IAAA,EAApB,6CAAA,EAAyB,WAAA,EAAU,aAAA,EAAc,SAAA,EAAW,iCAAA,mBAAG,EAAqB,SAAS,EAAA,CAAA,EAAO,KAAA,CAAO,CAAA;AACrH;AAEA,SAAS,cAAA,CAAe,EAAA,EAAgF;AAAhF,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,UAV1B,EAAA,EAUwB,EAAA,EAAgB,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AACxB,EAAA,uBACE,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA,CAAoB,IAAA;AAAA,IAApB,6CAAA;AAAA,MACC,WAAA,EAAU,kBAAA;AAAA,MACV,SAAA,EAAW,iCAAA;AAAA,QACT,qnBAAA;AAAA,QACA;AAAA,MACF;AAAA,IAAA,CAAA,EACI,KAAA,CAAA;AAAA,oBAEJ,KAAA,CAAA,aAAA;AAAA,MAAC,mBAAA,CAAoB,SAAA;AAAA,MAApB;AAAA,QACC,WAAA,EAAU,uBAAA;AAAA,QACV,SAAA,EAAU;AAAA,MAAA,CAAA;AAAA,sBAEV,KAAA,CAAA,aAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,wGAAA,CAAwG;AAAA,IAC1H;AAAA,EACF,CAAA;AAEJ;ADSA;AACE;AACA;AACF,yEAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/radio-group.js","sourcesContent":[null,"\"use client\";\nimport * as React from 'react';\nimport { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\n\nimport { cn } from '../../utils/ui';\n\nfunction RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return <RadioGroupPrimitive.Root data-slot=\"radio-group\" className={cn('grid gap-2 w-full', className)} {...props} />;\n}\n\nfunction RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 dark:aria-invalid:border-destructive/50 flex size-4 rounded-full focus-visible:ring-3 aria-invalid:ring-3 group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"flex size-4 items-center justify-center\"\n >\n <span className=\"bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n}\n\nexport { RadioGroup, RadioGroupItem };\n"]}
|
|
@@ -4,34 +4,37 @@ import {
|
|
|
4
4
|
} from "../../chunk-KGUUDFJE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__objRest,
|
|
7
|
-
__spreadProps,
|
|
8
7
|
__spreadValues
|
|
9
8
|
} from "../../chunk-YOSPWY5K.mjs";
|
|
10
9
|
|
|
11
10
|
// components/ui/radio-group.tsx
|
|
12
11
|
import * as React from "react";
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
var RadioGroup = React.forwardRef((_a, ref) => {
|
|
12
|
+
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
13
|
+
function RadioGroup(_a) {
|
|
16
14
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
17
|
-
return /* @__PURE__ */ React.createElement(RadioGroupPrimitive.Root,
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var RadioGroupItem = React.forwardRef((_a, ref) => {
|
|
15
|
+
return /* @__PURE__ */ React.createElement(RadioGroupPrimitive.Root, __spreadValues({ "data-slot": "radio-group", className: cn("grid gap-2 w-full", className) }, props));
|
|
16
|
+
}
|
|
17
|
+
function RadioGroupItem(_a) {
|
|
21
18
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
22
19
|
return /* @__PURE__ */ React.createElement(
|
|
23
20
|
RadioGroupPrimitive.Item,
|
|
24
21
|
__spreadValues({
|
|
25
|
-
|
|
22
|
+
"data-slot": "radio-group-item",
|
|
26
23
|
className: cn(
|
|
27
|
-
"
|
|
24
|
+
"border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 dark:aria-invalid:border-destructive/50 flex size-4 rounded-full focus-visible:ring-3 aria-invalid:ring-3 group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
28
25
|
className
|
|
29
26
|
)
|
|
30
27
|
}, props),
|
|
31
|
-
/* @__PURE__ */ React.createElement(
|
|
28
|
+
/* @__PURE__ */ React.createElement(
|
|
29
|
+
RadioGroupPrimitive.Indicator,
|
|
30
|
+
{
|
|
31
|
+
"data-slot": "radio-group-indicator",
|
|
32
|
+
className: "flex size-4 items-center justify-center"
|
|
33
|
+
},
|
|
34
|
+
/* @__PURE__ */ React.createElement("span", { className: "bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full" })
|
|
35
|
+
)
|
|
32
36
|
);
|
|
33
|
-
}
|
|
34
|
-
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
37
|
+
}
|
|
35
38
|
export {
|
|
36
39
|
RadioGroup,
|
|
37
40
|
RadioGroupItem
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../components/ui/radio-group.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/radio-group.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\n\nimport { cn } from '../../utils/ui';\n\nfunction RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return <RadioGroupPrimitive.Root data-slot=\"radio-group\" className={cn('grid gap-2 w-full', className)} {...props} />;\n}\n\nfunction RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 dark:aria-invalid:border-destructive/50 flex size-4 rounded-full focus-visible:ring-3 aria-invalid:ring-3 group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"flex size-4 items-center justify-center\"\n >\n <span className=\"bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n}\n\nexport { RadioGroup, RadioGroupItem };\n"],"mappings":";;;;;;;;;;AACA,YAAY,WAAW;AACvB,SAAS,cAAc,2BAA2B;AAIlD,SAAS,WAAW,IAAgF;AAAhF,eAAE,YANtB,IAMoB,IAAgB,kBAAhB,IAAgB,CAAd;AACpB,SAAO,oCAAC,oBAAoB,MAApB,iBAAyB,aAAU,eAAc,WAAW,GAAG,qBAAqB,SAAS,KAAO,MAAO;AACrH;AAEA,SAAS,eAAe,IAAgF;AAAhF,eAAE,YAV1B,IAUwB,IAAgB,kBAAhB,IAAgB,CAAd;AACxB,SACE;AAAA,IAAC,oBAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,IAEJ;AAAA,MAAC,oBAAoB;AAAA,MAApB;AAAA,QACC,aAAU;AAAA,QACV,WAAU;AAAA;AAAA,MAEV,oCAAC,UAAK,WAAU,yGAAwG;AAAA,IAC1H;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
collapsedSize?: number | undefined;
|
|
8
|
-
collapsible?: boolean | undefined;
|
|
9
|
-
defaultSize?: number | undefined;
|
|
10
|
-
id?: string;
|
|
11
|
-
maxSize?: number | undefined;
|
|
12
|
-
minSize?: number | undefined;
|
|
13
|
-
onCollapse?: ResizablePrimitive.PanelOnCollapse;
|
|
14
|
-
onExpand?: ResizablePrimitive.PanelOnExpand;
|
|
15
|
-
onResize?: ResizablePrimitive.PanelOnResize;
|
|
16
|
-
order?: number;
|
|
17
|
-
style?: object;
|
|
18
|
-
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
children?: React.ReactNode | undefined;
|
|
21
|
-
} & React.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
22
|
-
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
4
|
+
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): React.JSX.Element;
|
|
5
|
+
declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): React.JSX.Element;
|
|
6
|
+
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
23
7
|
withHandle?: boolean;
|
|
24
|
-
})
|
|
8
|
+
}): React.JSX.Element;
|
|
25
9
|
|
|
26
10
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
collapsedSize?: number | undefined;
|
|
8
|
-
collapsible?: boolean | undefined;
|
|
9
|
-
defaultSize?: number | undefined;
|
|
10
|
-
id?: string;
|
|
11
|
-
maxSize?: number | undefined;
|
|
12
|
-
minSize?: number | undefined;
|
|
13
|
-
onCollapse?: ResizablePrimitive.PanelOnCollapse;
|
|
14
|
-
onExpand?: ResizablePrimitive.PanelOnExpand;
|
|
15
|
-
onResize?: ResizablePrimitive.PanelOnResize;
|
|
16
|
-
order?: number;
|
|
17
|
-
style?: object;
|
|
18
|
-
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
children?: React.ReactNode | undefined;
|
|
21
|
-
} & React.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
22
|
-
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
4
|
+
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): React.JSX.Element;
|
|
5
|
+
declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): React.JSX.Element;
|
|
6
|
+
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
23
7
|
withHandle?: boolean;
|
|
24
|
-
})
|
|
8
|
+
}): React.JSX.Element;
|
|
25
9
|
|
|
26
10
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -9,20 +9,22 @@ var _chunkPSPAJNNBjs = require('../../chunk-PSPAJNNB.js');
|
|
|
9
9
|
var _chunk2NMEKWO5js = require('../../chunk-2NMEKWO5.js');
|
|
10
10
|
|
|
11
11
|
// components/ui/resizable.tsx
|
|
12
|
-
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
13
|
-
var _lucidereact = require('lucide-react');
|
|
14
12
|
var _reactresizablepanels = require('react-resizable-panels'); var ResizablePrimitive = _interopRequireWildcard(_reactresizablepanels);
|
|
15
|
-
|
|
13
|
+
function ResizablePanelGroup(_a) {
|
|
16
14
|
var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
|
|
17
15
|
return /* @__PURE__ */ React.createElement(
|
|
18
|
-
ResizablePrimitive.
|
|
16
|
+
ResizablePrimitive.Group,
|
|
19
17
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
20
|
-
|
|
18
|
+
"data-slot": "resizable-panel-group",
|
|
19
|
+
className: _chunkPSPAJNNBjs.cn.call(void 0, "flex h-full w-full aria-[orientation=vertical]:flex-col", className)
|
|
21
20
|
}, props)
|
|
22
21
|
);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var
|
|
22
|
+
}
|
|
23
|
+
function ResizablePanel(_a) {
|
|
24
|
+
var props = _chunk2NMEKWO5js.__objRest.call(void 0, _a, []);
|
|
25
|
+
return /* @__PURE__ */ React.createElement(ResizablePrimitive.Panel, _chunk2NMEKWO5js.__spreadValues.call(void 0, { "data-slot": "resizable-panel" }, props));
|
|
26
|
+
}
|
|
27
|
+
function ResizableHandle(_a) {
|
|
26
28
|
var _b = _a, {
|
|
27
29
|
withHandle,
|
|
28
30
|
className
|
|
@@ -31,16 +33,17 @@ var ResizableHandle = (_a) => {
|
|
|
31
33
|
"className"
|
|
32
34
|
]);
|
|
33
35
|
return /* @__PURE__ */ React.createElement(
|
|
34
|
-
ResizablePrimitive.
|
|
36
|
+
ResizablePrimitive.Separator,
|
|
35
37
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
38
|
+
"data-slot": "resizable-handle",
|
|
36
39
|
className: _chunkPSPAJNNBjs.cn.call(void 0,
|
|
37
|
-
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:
|
|
40
|
+
"relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",
|
|
38
41
|
className
|
|
39
42
|
)
|
|
40
43
|
}, props),
|
|
41
|
-
withHandle && /* @__PURE__ */ React.createElement("div", { className: "
|
|
44
|
+
withHandle && /* @__PURE__ */ React.createElement("div", { className: "bg-border h-6 w-1 rounded-lg z-10 flex shrink-0" })
|
|
42
45
|
);
|
|
43
|
-
}
|
|
46
|
+
}
|
|
44
47
|
|
|
45
48
|
|
|
46
49
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/resizable.js","../../../components/ui/resizable.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,
|
|
1
|
+
{"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/resizable.js","../../../components/ui/resizable.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,uIAAoC;AAIpC,SAAS,mBAAA,CAAoB,EAAA,EAAwD;AAAxD,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,UAL/B,EAAA,EAK6B,EAAA,EAAgB,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AAC7B,EAAA,uBACE,KAAA,CAAA,aAAA;AAAA,IAAoB,kBAAA,CAAA,KAAA;AAAA,IAAnB,6CAAA;AAAA,MACC,WAAA,EAAU,uBAAA;AAAA,MACV,SAAA,EAAW,iCAAA,yDAAG,EAA2D,SAAS;AAAA,IAAA,CAAA,EAC9E,KAAA;AAAA,EACN,CAAA;AAEJ;AAEA,SAAS,cAAA,CAAe,EAAA,EAA6C;AAA7C,EAAA,IAAK,MAAA,EAAA,wCAAA,EAAL,EAAK,CAAA,CAAA,CAAA;AAC3B,EAAA,uBAAO,KAAA,CAAA,aAAA,CAAoB,kBAAA,CAAA,KAAA,EAAnB,6CAAA,EAAyB,WAAA,EAAU,kBAAA,CAAA,EAAsB,KAAA,CAAO,CAAA;AAC1E;AAEA,SAAS,eAAA,CAAgB,EAAA,EAMtB;AANsB,EAAA,IAAA,GAAA,EAAA,EAAA,EACvB;AAAA,IAAA,UAAA;AAAA,IACA;AAAA,EArBF,EAAA,EAmByB,EAAA,EAGpB,MAAA,EAAA,wCAAA,EAHoB,EAGpB;AAAA,IAFH,YAAA;AAAA,IACA;AAAA,EAAA,CAAA,CAAA;AAKA,EAAA,uBACE,KAAA,CAAA,aAAA;AAAA,IAAoB,kBAAA,CAAA,SAAA;AAAA,IAAnB,6CAAA;AAAA,MACC,WAAA,EAAU,kBAAA;AAAA,MACV,SAAA,EAAW,iCAAA;AAAA,QACT,skBAAA;AAAA,QACA;AAAA,MACF;AAAA,IAAA,CAAA,EACI,KAAA,CAAA;AAAA,IAEH,WAAA,mBAAc,KAAA,CAAA,aAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,kDAAA,CAAkD;AAAA,EAClF,CAAA;AAEJ;ADOA;AACE;AACA;AACA;AACF,sIAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/resizable.js","sourcesContent":[null,"\"use client\";\nimport * as ResizablePrimitive from 'react-resizable-panels';\n\nimport { cn } from '../../utils/ui';\n\nfunction ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) {\n return (\n <ResizablePrimitive.Group\n data-slot=\"resizable-panel-group\"\n className={cn('flex h-full w-full aria-[orientation=vertical]:flex-col', className)}\n {...props}\n />\n );\n}\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: ResizablePrimitive.SeparatorProps & {\n withHandle?: boolean;\n}) {\n return (\n <ResizablePrimitive.Separator\n data-slot=\"resizable-handle\"\n className={cn(\n 'relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle && <div className=\"bg-border h-6 w-1 rounded-lg z-10 flex shrink-0\" />}\n </ResizablePrimitive.Separator>\n );\n}\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n"]}
|
|
@@ -8,20 +8,22 @@ import {
|
|
|
8
8
|
} from "../../chunk-YOSPWY5K.mjs";
|
|
9
9
|
|
|
10
10
|
// components/ui/resizable.tsx
|
|
11
|
-
import * as React from "react";
|
|
12
|
-
import { GripVertical } from "lucide-react";
|
|
13
11
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
14
|
-
|
|
12
|
+
function ResizablePanelGroup(_a) {
|
|
15
13
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
16
14
|
return /* @__PURE__ */ React.createElement(
|
|
17
|
-
ResizablePrimitive.
|
|
15
|
+
ResizablePrimitive.Group,
|
|
18
16
|
__spreadValues({
|
|
19
|
-
|
|
17
|
+
"data-slot": "resizable-panel-group",
|
|
18
|
+
className: cn("flex h-full w-full aria-[orientation=vertical]:flex-col", className)
|
|
20
19
|
}, props)
|
|
21
20
|
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var
|
|
21
|
+
}
|
|
22
|
+
function ResizablePanel(_a) {
|
|
23
|
+
var props = __objRest(_a, []);
|
|
24
|
+
return /* @__PURE__ */ React.createElement(ResizablePrimitive.Panel, __spreadValues({ "data-slot": "resizable-panel" }, props));
|
|
25
|
+
}
|
|
26
|
+
function ResizableHandle(_a) {
|
|
25
27
|
var _b = _a, {
|
|
26
28
|
withHandle,
|
|
27
29
|
className
|
|
@@ -30,16 +32,17 @@ var ResizableHandle = (_a) => {
|
|
|
30
32
|
"className"
|
|
31
33
|
]);
|
|
32
34
|
return /* @__PURE__ */ React.createElement(
|
|
33
|
-
ResizablePrimitive.
|
|
35
|
+
ResizablePrimitive.Separator,
|
|
34
36
|
__spreadValues({
|
|
37
|
+
"data-slot": "resizable-handle",
|
|
35
38
|
className: cn(
|
|
36
|
-
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:
|
|
39
|
+
"relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",
|
|
37
40
|
className
|
|
38
41
|
)
|
|
39
42
|
}, props),
|
|
40
|
-
withHandle && /* @__PURE__ */ React.createElement("div", { className: "
|
|
43
|
+
withHandle && /* @__PURE__ */ React.createElement("div", { className: "bg-border h-6 w-1 rounded-lg z-10 flex shrink-0" })
|
|
41
44
|
);
|
|
42
|
-
}
|
|
45
|
+
}
|
|
43
46
|
export {
|
|
44
47
|
ResizableHandle,
|
|
45
48
|
ResizablePanel,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../components/ui/resizable.tsx"],"sourcesContent":["\"use client\";\nimport * as
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/resizable.tsx"],"sourcesContent":["\"use client\";\nimport * as ResizablePrimitive from 'react-resizable-panels';\n\nimport { cn } from '../../utils/ui';\n\nfunction ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) {\n return (\n <ResizablePrimitive.Group\n data-slot=\"resizable-panel-group\"\n className={cn('flex h-full w-full aria-[orientation=vertical]:flex-col', className)}\n {...props}\n />\n );\n}\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: ResizablePrimitive.SeparatorProps & {\n withHandle?: boolean;\n}) {\n return (\n <ResizablePrimitive.Separator\n data-slot=\"resizable-handle\"\n className={cn(\n 'relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle && <div className=\"bg-border h-6 w-1 rounded-lg z-10 flex shrink-0\" />}\n </ResizablePrimitive.Separator>\n );\n}\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n"],"mappings":";;;;;;;;;;AACA,YAAY,wBAAwB;AAIpC,SAAS,oBAAoB,IAAwD;AAAxD,eAAE,YAL/B,IAK6B,IAAgB,kBAAhB,IAAgB,CAAd;AAC7B,SACE;AAAA,IAAoB;AAAA,IAAnB;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,2DAA2D,SAAS;AAAA,OAC9E;AAAA,EACN;AAEJ;AAEA,SAAS,eAAe,IAA6C;AAA7C,MAAK,kBAAL,IAAK;AAC3B,SAAO,oCAAoB,0BAAnB,iBAAyB,aAAU,qBAAsB,MAAO;AAC1E;AAEA,SAAS,gBAAgB,IAMtB;AANsB,eACvB;AAAA;AAAA,IACA;AAAA,EArBF,IAmByB,IAGpB,kBAHoB,IAGpB;AAAA,IAFH;AAAA,IACA;AAAA;AAKA,SACE;AAAA,IAAoB;AAAA,IAAnB;AAAA,MACC,aAAU;AAAA,MACV,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,IAEH,cAAc,oCAAC,SAAI,WAAU,mDAAkD;AAAA,EAClF;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { ScrollArea as ScrollArea$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
4
|
+
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollArea$1.Root>): React.JSX.Element;
|
|
5
|
+
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): React.JSX.Element;
|
|
6
6
|
|
|
7
7
|
export { ScrollArea, ScrollBar };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { ScrollArea as ScrollArea$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
4
|
+
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollArea$1.Root>): React.JSX.Element;
|
|
5
|
+
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): React.JSX.Element;
|
|
6
6
|
|
|
7
7
|
export { ScrollArea, ScrollBar };
|
|
@@ -10,30 +10,46 @@ var _chunk2NMEKWO5js = require('../../chunk-2NMEKWO5.js');
|
|
|
10
10
|
|
|
11
11
|
// components/ui/scroll-area.tsx
|
|
12
12
|
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
13
|
-
var
|
|
14
|
-
|
|
13
|
+
var _radixui = require('radix-ui');
|
|
14
|
+
function ScrollArea(_a) {
|
|
15
15
|
var _b = _a, { className, children } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className", "children"]);
|
|
16
|
-
return /* @__PURE__ */ React.createElement(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
return /* @__PURE__ */ React.createElement(_radixui.ScrollArea.Root, _chunk2NMEKWO5js.__spreadValues.call(void 0, { "data-slot": "scroll-area", className: _chunkPSPAJNNBjs.cn.call(void 0, "relative", className) }, props), /* @__PURE__ */ React.createElement(
|
|
17
|
+
_radixui.ScrollArea.Viewport,
|
|
18
|
+
{
|
|
19
|
+
"data-slot": "scroll-area-viewport",
|
|
20
|
+
className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1"
|
|
21
|
+
},
|
|
22
|
+
children
|
|
23
|
+
), /* @__PURE__ */ React.createElement(ScrollBar, null), /* @__PURE__ */ React.createElement(_radixui.ScrollArea.Corner, null));
|
|
24
|
+
}
|
|
25
|
+
function ScrollBar(_a) {
|
|
26
|
+
var _b = _a, {
|
|
27
|
+
className,
|
|
28
|
+
orientation = "vertical"
|
|
29
|
+
} = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, [
|
|
30
|
+
"className",
|
|
31
|
+
"orientation"
|
|
32
|
+
]);
|
|
21
33
|
return /* @__PURE__ */ React.createElement(
|
|
22
|
-
|
|
34
|
+
_radixui.ScrollArea.ScrollAreaScrollbar,
|
|
23
35
|
_chunk2NMEKWO5js.__spreadValues.call(void 0, {
|
|
24
|
-
|
|
36
|
+
"data-slot": "scroll-area-scrollbar",
|
|
37
|
+
"data-orientation": orientation,
|
|
25
38
|
orientation,
|
|
26
39
|
className: _chunkPSPAJNNBjs.cn.call(void 0,
|
|
27
|
-
"flex touch-none
|
|
28
|
-
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
29
|
-
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
40
|
+
"data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none",
|
|
30
41
|
className
|
|
31
42
|
)
|
|
32
43
|
}, props),
|
|
33
|
-
/* @__PURE__ */ React.createElement(
|
|
44
|
+
/* @__PURE__ */ React.createElement(
|
|
45
|
+
_radixui.ScrollArea.ScrollAreaThumb,
|
|
46
|
+
{
|
|
47
|
+
"data-slot": "scroll-area-thumb",
|
|
48
|
+
className: "rounded-full relative flex-1 bg-border"
|
|
49
|
+
}
|
|
50
|
+
)
|
|
34
51
|
);
|
|
35
|
-
}
|
|
36
|
-
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
52
|
+
}
|
|
37
53
|
|
|
38
54
|
|
|
39
55
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/scroll-area.js","../../../components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,2EAAuB;AACvB,
|
|
1
|
+
{"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/scroll-area.js","../../../components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACRA,2EAAuB;AACvB,mCAAkD;AAIlD,SAAS,UAAA,CAAW,EAAA,EAA0F;AAA1F,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,SAAA,EAAW,SANjC,EAAA,EAMoB,EAAA,EAA0B,MAAA,EAAA,wCAAA,EAA1B,EAA0B,CAAxB,WAAA,EAAW,UAAA,CAAA,CAAA;AAC/B,EAAA,uBACE,KAAA,CAAA,aAAA,CAAC,mBAAA,CAAoB,IAAA,EAApB,6CAAA,EAAyB,WAAA,EAAU,aAAA,EAAc,SAAA,EAAW,iCAAA,UAAG,EAAY,SAAS,EAAA,CAAA,EAAO,KAAA,CAAA,kBAC1F,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA,CAAoB,QAAA;AAAA,IAApB;AAAA,MACC,WAAA,EAAU,sBAAA;AAAA,MACV,SAAA,EAAU;AAAA,IAAA,CAAA;AAAA,IAET;AAAA,EACH,CAAA,kBACA,KAAA,CAAA,aAAA,CAAC,SAAA,EAAA,IAAU,CAAA,kBACX,KAAA,CAAA,aAAA,CAAC,mBAAA,CAAoB,MAAA,EAApB,IAA2B,CAC9B,CAAA;AAEJ;AAEA,SAAS,SAAA,CAAU,EAAA,EAIsD;AAJtD,EAAA,IAAA,GAAA,EAAA,EAAA,EACjB;AAAA,IAAA,SAAA;AAAA,IACA,YAAA,EAAc;AAAA,EAvBhB,EAAA,EAqBmB,EAAA,EAGd,MAAA,EAAA,wCAAA,EAHc,EAGd;AAAA,IAFH,WAAA;AAAA,IACA;AAAA,EAAA,CAAA,CAAA;AAGA,EAAA,uBACE,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA,CAAoB,mBAAA;AAAA,IAApB,6CAAA;AAAA,MACC,WAAA,EAAU,uBAAA;AAAA,MACV,kBAAA,EAAkB,WAAA;AAAA,MAClB,WAAA;AAAA,MACA,SAAA,EAAW,iCAAA;AAAA,QACT,oQAAA;AAAA,QACA;AAAA,MACF;AAAA,IAAA,CAAA,EACI,KAAA,CAAA;AAAA,oBAEJ,KAAA,CAAA,aAAA;AAAA,MAAC,mBAAA,CAAoB,eAAA;AAAA,MAApB;AAAA,QACC,WAAA,EAAU,mBAAA;AAAA,QACV,SAAA,EAAU;AAAA,MAAA;AAAA,IACZ;AAAA,EACF,CAAA;AAEJ;ADQA;AACE;AACA;AACF,+DAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/scroll-area.js","sourcesContent":[null,"\"use client\";\nimport * as React from 'react';\nimport { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';\n\nimport { cn } from '../../utils/ui';\n\nfunction ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {\n return (\n <ScrollAreaPrimitive.Root data-slot=\"scroll-area\" className={cn('relative', className)} {...props}>\n <ScrollAreaPrimitive.Viewport\n data-slot=\"scroll-area-viewport\"\n className=\"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n );\n}\n\nfunction ScrollBar({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-slot=\"scroll-area-scrollbar\"\n data-orientation={orientation}\n orientation={orientation}\n className={cn(\n 'data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb\n data-slot=\"scroll-area-thumb\"\n className=\"rounded-full relative flex-1 bg-border\"\n />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n );\n}\n\nexport { ScrollArea, ScrollBar };\n"]}
|
|
@@ -9,30 +9,46 @@ import {
|
|
|
9
9
|
|
|
10
10
|
// components/ui/scroll-area.tsx
|
|
11
11
|
import * as React from "react";
|
|
12
|
-
import
|
|
13
|
-
|
|
12
|
+
import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
|
|
13
|
+
function ScrollArea(_a) {
|
|
14
14
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
15
|
-
return /* @__PURE__ */ React.createElement(ScrollAreaPrimitive.Root, __spreadValues({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
return /* @__PURE__ */ React.createElement(ScrollAreaPrimitive.Root, __spreadValues({ "data-slot": "scroll-area", className: cn("relative", className) }, props), /* @__PURE__ */ React.createElement(
|
|
16
|
+
ScrollAreaPrimitive.Viewport,
|
|
17
|
+
{
|
|
18
|
+
"data-slot": "scroll-area-viewport",
|
|
19
|
+
className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1"
|
|
20
|
+
},
|
|
21
|
+
children
|
|
22
|
+
), /* @__PURE__ */ React.createElement(ScrollBar, null), /* @__PURE__ */ React.createElement(ScrollAreaPrimitive.Corner, null));
|
|
23
|
+
}
|
|
24
|
+
function ScrollBar(_a) {
|
|
25
|
+
var _b = _a, {
|
|
26
|
+
className,
|
|
27
|
+
orientation = "vertical"
|
|
28
|
+
} = _b, props = __objRest(_b, [
|
|
29
|
+
"className",
|
|
30
|
+
"orientation"
|
|
31
|
+
]);
|
|
20
32
|
return /* @__PURE__ */ React.createElement(
|
|
21
33
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
22
34
|
__spreadValues({
|
|
23
|
-
|
|
35
|
+
"data-slot": "scroll-area-scrollbar",
|
|
36
|
+
"data-orientation": orientation,
|
|
24
37
|
orientation,
|
|
25
38
|
className: cn(
|
|
26
|
-
"flex touch-none
|
|
27
|
-
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
28
|
-
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
39
|
+
"data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none",
|
|
29
40
|
className
|
|
30
41
|
)
|
|
31
42
|
}, props),
|
|
32
|
-
/* @__PURE__ */ React.createElement(
|
|
43
|
+
/* @__PURE__ */ React.createElement(
|
|
44
|
+
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
45
|
+
{
|
|
46
|
+
"data-slot": "scroll-area-thumb",
|
|
47
|
+
className: "rounded-full relative flex-1 bg-border"
|
|
48
|
+
}
|
|
49
|
+
)
|
|
33
50
|
);
|
|
34
|
-
}
|
|
35
|
-
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
51
|
+
}
|
|
36
52
|
export {
|
|
37
53
|
ScrollArea,
|
|
38
54
|
ScrollBar
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../components/ui/scroll-area.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/scroll-area.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';\n\nimport { cn } from '../../utils/ui';\n\nfunction ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {\n return (\n <ScrollAreaPrimitive.Root data-slot=\"scroll-area\" className={cn('relative', className)} {...props}>\n <ScrollAreaPrimitive.Viewport\n data-slot=\"scroll-area-viewport\"\n className=\"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n );\n}\n\nfunction ScrollBar({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-slot=\"scroll-area-scrollbar\"\n data-orientation={orientation}\n orientation={orientation}\n className={cn(\n 'data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb\n data-slot=\"scroll-area-thumb\"\n className=\"rounded-full relative flex-1 bg-border\"\n />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n );\n}\n\nexport { ScrollArea, ScrollBar };\n"],"mappings":";;;;;;;;;;AACA,YAAY,WAAW;AACvB,SAAS,cAAc,2BAA2B;AAIlD,SAAS,WAAW,IAA0F;AAA1F,eAAE,aAAW,SANjC,IAMoB,IAA0B,kBAA1B,IAA0B,CAAxB,aAAW;AAC/B,SACE,oCAAC,oBAAoB,MAApB,iBAAyB,aAAU,eAAc,WAAW,GAAG,YAAY,SAAS,KAAO,QAC1F;AAAA,IAAC,oBAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,WAAU;AAAA;AAAA,IAET;AAAA,EACH,GACA,oCAAC,eAAU,GACX,oCAAC,oBAAoB,QAApB,IAA2B,CAC9B;AAEJ;AAEA,SAAS,UAAU,IAIsD;AAJtD,eACjB;AAAA;AAAA,IACA,cAAc;AAAA,EAvBhB,IAqBmB,IAGd,kBAHc,IAGd;AAAA,IAFH;AAAA,IACA;AAAA;AAGA,SACE;AAAA,IAAC,oBAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,oBAAkB;AAAA,MAClB;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,IAEJ;AAAA,MAAC,oBAAoB;AAAA,MAApB;AAAA,QACC,aAAU;AAAA,QACV,WAAU;AAAA;AAAA,IACZ;AAAA,EACF;AAEJ;","names":[]}
|