@omnifyjp/ui 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-F5IKVHRW.js → chunk-33DTBAFF.js} +3 -3
- package/dist/chunk-33DTBAFF.js.map +1 -0
- package/dist/{chunk-DZENMCRL.js → chunk-34ARZSNP.js} +2 -2
- package/dist/chunk-34ARZSNP.js.map +1 -0
- package/dist/{chunk-DIS42JLG.js → chunk-35DNN46W.js} +2 -2
- package/dist/chunk-35DNN46W.js.map +1 -0
- package/dist/{chunk-ANTYNEUU.js → chunk-3EOHW4QN.js} +2 -2
- package/dist/chunk-3EOHW4QN.js.map +1 -0
- package/dist/chunk-3UPBCOS4.js +39 -0
- package/dist/chunk-3UPBCOS4.js.map +1 -0
- package/dist/{chunk-XP4TPMSN.js → chunk-3VU56V66.js} +16 -14
- package/dist/chunk-3VU56V66.js.map +1 -0
- package/dist/{chunk-CCBDR2U2.js → chunk-4MD7BIEK.js} +6 -6
- package/dist/chunk-4MD7BIEK.js.map +1 -0
- package/dist/{chunk-7ALADSN3.js → chunk-4SMVBJFU.js} +2 -2
- package/dist/chunk-4SMVBJFU.js.map +1 -0
- package/dist/{chunk-Z47W426M.js → chunk-67YUL2ZS.js} +2 -2
- package/dist/chunk-67YUL2ZS.js.map +1 -0
- package/dist/{chunk-7ZFYPC74.js → chunk-6GWVQB3Q.js} +3 -3
- package/dist/chunk-6GWVQB3Q.js.map +1 -0
- package/dist/{chunk-K7GDYMMU.js → chunk-75WZR6HF.js} +4 -4
- package/dist/chunk-75WZR6HF.js.map +1 -0
- package/dist/{chunk-WAPGZIAL.js → chunk-7RMTPT6O.js} +2 -2
- package/dist/chunk-7RMTPT6O.js.map +1 -0
- package/dist/{chunk-JPTN62BV.js → chunk-7XH3MGBR.js} +2 -2
- package/dist/chunk-7XH3MGBR.js.map +1 -0
- package/dist/{chunk-NFAXCC73.js → chunk-B434PORR.js} +2 -2
- package/dist/chunk-B434PORR.js.map +1 -0
- package/dist/{chunk-XKVHX75G.js → chunk-BEZF6UWZ.js} +3 -3
- package/dist/chunk-BEZF6UWZ.js.map +1 -0
- package/dist/{chunk-QCGYYBDZ.js → chunk-BOMDCV63.js} +3 -3
- package/dist/chunk-BOMDCV63.js.map +1 -0
- package/dist/{chunk-6GCAG5FH.js → chunk-BRSM3SZP.js} +2 -2
- package/dist/chunk-BRSM3SZP.js.map +1 -0
- package/dist/{chunk-AZARDPXB.js → chunk-C34KSTWA.js} +2 -2
- package/dist/chunk-C34KSTWA.js.map +1 -0
- package/dist/{chunk-4CT5SCAH.js → chunk-C5NZAOA7.js} +2 -2
- package/dist/chunk-C5NZAOA7.js.map +1 -0
- package/dist/{chunk-TB3R2RA7.js → chunk-C6EAO7IA.js} +5 -5
- package/dist/chunk-C6EAO7IA.js.map +1 -0
- package/dist/{chunk-4D6FDXCG.js → chunk-C7LPAIU6.js} +3 -3
- package/dist/chunk-C7LPAIU6.js.map +1 -0
- package/dist/{chunk-4Q2FLTAW.js → chunk-CUZR4JWM.js} +2 -2
- package/dist/chunk-CUZR4JWM.js.map +1 -0
- package/dist/{chunk-YF6WRCTG.js → chunk-DZ7752H3.js} +3 -3
- package/dist/chunk-DZ7752H3.js.map +1 -0
- package/dist/{chunk-MNAT3ZF6.js → chunk-EIY5FVSV.js} +3 -3
- package/dist/chunk-EIY5FVSV.js.map +1 -0
- package/dist/{chunk-QMAMDYRD.js → chunk-EWBCV7VA.js} +2 -2
- package/dist/chunk-EWBCV7VA.js.map +1 -0
- package/dist/{chunk-4N357E44.js → chunk-F2ZJLKDP.js} +2 -2
- package/dist/chunk-F2ZJLKDP.js.map +1 -0
- package/dist/{chunk-KABLXGWK.js → chunk-FLWMT4DB.js} +2 -2
- package/dist/chunk-FLWMT4DB.js.map +1 -0
- package/dist/{chunk-IJIGJGL5.js → chunk-FRKG7JQY.js} +2 -2
- package/dist/chunk-FRKG7JQY.js.map +1 -0
- package/dist/{chunk-UCEUTKTQ.js → chunk-HY4FVDA4.js} +2 -2
- package/dist/chunk-HY4FVDA4.js.map +1 -0
- package/dist/{chunk-23SALQ3G.js → chunk-IAWKX5W4.js} +2 -2
- package/dist/chunk-IAWKX5W4.js.map +1 -0
- package/dist/{chunk-SABAKV4J.js → chunk-INLM7UJC.js} +2 -2
- package/dist/chunk-INLM7UJC.js.map +1 -0
- package/dist/{chunk-P3KBN6YH.js → chunk-JBQT2H4K.js} +8 -8
- package/dist/chunk-JBQT2H4K.js.map +1 -0
- package/dist/{chunk-TMFQJ7E3.js → chunk-JJSVA3TH.js} +2 -2
- package/dist/chunk-JJSVA3TH.js.map +1 -0
- package/dist/{chunk-KOGOYUEE.js → chunk-JLTBUACL.js} +2 -2
- package/dist/chunk-JLTBUACL.js.map +1 -0
- package/dist/{chunk-EIF6WZAZ.js → chunk-JRU2QX7T.js} +2 -2
- package/dist/chunk-JRU2QX7T.js.map +1 -0
- package/dist/{chunk-VGQC333M.js → chunk-JXGRW2MR.js} +2 -2
- package/dist/chunk-JXGRW2MR.js.map +1 -0
- package/dist/{chunk-CESZTYQQ.js → chunk-KTBOZ4NE.js} +4 -4
- package/dist/chunk-KTBOZ4NE.js.map +1 -0
- package/dist/{chunk-FBNG2KGO.js → chunk-L6K7UH3O.js} +2 -2
- package/dist/chunk-L6K7UH3O.js.map +1 -0
- package/dist/{chunk-BJO5JCFB.js → chunk-LVZNNIK4.js} +3 -3
- package/dist/chunk-LVZNNIK4.js.map +1 -0
- package/dist/{chunk-BOYSXIM3.js → chunk-NNJTKHCE.js} +2 -2
- package/dist/chunk-NNJTKHCE.js.map +1 -0
- package/dist/{chunk-725ICC47.js → chunk-NU56GKGM.js} +2 -2
- package/dist/{chunk-725ICC47.js.map → chunk-NU56GKGM.js.map} +1 -1
- package/dist/{chunk-3TGN2DFB.js → chunk-OBZQTY3H.js} +2 -2
- package/dist/chunk-OBZQTY3H.js.map +1 -0
- package/dist/{chunk-KXZ7IND6.js → chunk-P3M5TZD2.js} +2 -2
- package/dist/chunk-P3M5TZD2.js.map +1 -0
- package/dist/{chunk-ONAUEREV.js → chunk-PGWNOZDX.js} +2 -2
- package/dist/chunk-PGWNOZDX.js.map +1 -0
- package/dist/{chunk-3TV2IR7L.js → chunk-QX56UQ2I.js} +3 -3
- package/dist/chunk-QX56UQ2I.js.map +1 -0
- package/dist/{chunk-L46XUK4O.js → chunk-R2CDE5DO.js} +2 -2
- package/dist/chunk-R2CDE5DO.js.map +1 -0
- package/dist/{chunk-LI7CKURD.js → chunk-RQNZDWY3.js} +2 -2
- package/dist/chunk-RQNZDWY3.js.map +1 -0
- package/dist/{chunk-YKJZV2JK.js → chunk-S6PDRGR5.js} +2 -2
- package/dist/chunk-S6PDRGR5.js.map +1 -0
- package/dist/{chunk-RVJDDGQW.js → chunk-TJMK2KBE.js} +3 -3
- package/dist/chunk-TJMK2KBE.js.map +1 -0
- package/dist/{chunk-5WCL47ZW.js → chunk-TTH7TWVX.js} +2 -2
- package/dist/chunk-TTH7TWVX.js.map +1 -0
- package/dist/{chunk-PQJX2M64.js → chunk-TX42RKQU.js} +3 -3
- package/dist/chunk-TX42RKQU.js.map +1 -0
- package/dist/{chunk-HTO5C5BA.js → chunk-UAX7UJIJ.js} +3 -3
- package/dist/chunk-UAX7UJIJ.js.map +1 -0
- package/dist/{chunk-LW5PTU7D.js → chunk-USIHM7FV.js} +2 -2
- package/dist/chunk-USIHM7FV.js.map +1 -0
- package/dist/{chunk-MXNSBAG4.js → chunk-UVOH3VSV.js} +5 -5
- package/dist/chunk-UVOH3VSV.js.map +1 -0
- package/dist/{chunk-TEYOLOZY.js → chunk-V4ZOPVXV.js} +3 -3
- package/dist/chunk-V4ZOPVXV.js.map +1 -0
- package/dist/{chunk-CDARHMTL.js → chunk-WD5KZE25.js} +2 -2
- package/dist/chunk-WD5KZE25.js.map +1 -0
- package/dist/{chunk-PPZSGU2L.js → chunk-WL4ZO2H3.js} +2 -2
- package/dist/chunk-WL4ZO2H3.js.map +1 -0
- package/dist/{chunk-7W3WTMUH.js → chunk-WNKEQCXM.js} +6 -6
- package/dist/chunk-WNKEQCXM.js.map +1 -0
- package/dist/{chunk-5M67ZEPM.js → chunk-XOJJBNDX.js} +2 -2
- package/dist/chunk-XOJJBNDX.js.map +1 -0
- package/dist/{chunk-3BB6UBX4.js → chunk-Y65FNGEE.js} +16 -14
- package/dist/chunk-Y65FNGEE.js.map +1 -0
- package/dist/{chunk-KXT75MXF.js → chunk-YBMEQZX7.js} +2 -2
- package/dist/chunk-YBMEQZX7.js.map +1 -0
- package/dist/{chunk-RSHV4SNK.js → chunk-YE7EHQ6P.js} +3 -3
- package/dist/chunk-YE7EHQ6P.js.map +1 -0
- package/dist/{chunk-ZMHZH572.js → chunk-YT3W2URB.js} +4 -4
- package/dist/chunk-YT3W2URB.js.map +1 -0
- package/dist/{chunk-OXQNDQJW.js → chunk-Z2QAABLM.js} +2 -2
- package/dist/chunk-Z2QAABLM.js.map +1 -0
- package/dist/{chunk-PCQSHXOQ.js → chunk-ZB2FWKHF.js} +3 -3
- package/dist/chunk-ZB2FWKHF.js.map +1 -0
- package/dist/{chunk-FGD3OQOS.js → chunk-ZHP73HKU.js} +3 -3
- package/dist/chunk-ZHP73HKU.js.map +1 -0
- package/dist/{chunk-OHBCYKNT.js → chunk-ZPMXRW2A.js} +3 -3
- package/dist/chunk-ZPMXRW2A.js.map +1 -0
- package/dist/{chunk-TPPX6QNL.js → chunk-ZYSFPIGY.js} +5 -5
- package/dist/chunk-ZYSFPIGY.js.map +1 -0
- package/dist/components/accordion.d.ts +27 -0
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +39 -0
- package/dist/components/alert-dialog.js +2 -2
- package/dist/components/alert.d.ts +29 -0
- package/dist/components/alert.js +1 -1
- package/dist/components/aspect-ratio.d.ts +17 -0
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/avatar.d.ts +43 -4
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.d.ts +19 -3
- package/dist/components/badge.js +1 -1
- package/dist/components/breadcrumb.d.ts +36 -0
- package/dist/components/breadcrumb.js +1 -1
- package/dist/components/button.d.ts +46 -6
- package/dist/components/button.js +1 -1
- package/dist/components/calendar-category-badge.d.ts +14 -0
- package/dist/components/calendar-category-badge.js +2 -2
- package/dist/components/calendar-event-chip.d.ts +23 -0
- package/dist/components/calendar-event-chip.js +1 -1
- package/dist/components/calendar-event-sheet.d.ts +37 -0
- package/dist/components/calendar-event-sheet.js +6 -6
- package/dist/components/calendar-mini.d.ts +36 -0
- package/dist/components/calendar-mini.js +3 -3
- package/dist/components/calendar-toolbar.d.ts +34 -1
- package/dist/components/calendar-toolbar.js +4 -4
- package/dist/components/calendar.d.ts +12 -0
- package/dist/components/calendar.js +2 -2
- package/dist/components/card.d.ts +31 -0
- package/dist/components/card.js +1 -1
- package/dist/components/carousel.d.ts +28 -0
- package/dist/components/carousel.js +2 -2
- package/dist/components/chart.d.ts +61 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox.d.ts +19 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/collapsible.d.ts +20 -0
- package/dist/components/collapsible.js +1 -1
- package/dist/components/color-picker.d.ts +22 -0
- package/dist/components/color-picker.js +4 -4
- package/dist/components/combobox.d.ts +65 -0
- package/dist/components/combobox.js +5 -5
- package/dist/components/command.d.ts +43 -0
- package/dist/components/command.js +2 -2
- package/dist/components/context-menu.d.ts +42 -0
- package/dist/components/context-menu.js +1 -1
- package/dist/components/date-picker.d.ts +42 -2
- package/dist/components/date-picker.js +4 -4
- package/dist/components/dialog.d.ts +42 -0
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +43 -0
- package/dist/components/drawer.js +1 -1
- package/dist/components/dropdown-menu.d.ts +48 -0
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/file-upload.d.ts +27 -0
- package/dist/components/file-upload.js +2 -2
- package/dist/components/form.d.ts +39 -0
- package/dist/components/form.js +2 -2
- package/dist/components/hover-card.d.ts +34 -0
- package/dist/components/hover-card.js +1 -1
- package/dist/components/input-otp.d.ts +24 -0
- package/dist/components/input-otp.js +1 -1
- package/dist/components/input.d.ts +30 -4
- package/dist/components/input.js +1 -1
- package/dist/components/label.d.ts +15 -1
- package/dist/components/label.js +1 -1
- package/dist/components/menubar.d.ts +53 -0
- package/dist/components/menubar.js +1 -1
- package/dist/components/navigation-menu.d.ts +46 -0
- package/dist/components/navigation-menu.js +1 -1
- package/dist/components/pagination.d.ts +40 -0
- package/dist/components/pagination.js +2 -2
- package/dist/components/password-input.d.ts +28 -5
- package/dist/components/password-input.js +2 -2
- package/dist/components/permission-grid.d.ts +37 -0
- package/dist/components/permission-grid.js +2 -2
- package/dist/components/popover.d.ts +27 -0
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.d.ts +15 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +33 -3
- package/dist/components/radio-group.js +1 -1
- package/dist/components/rating.d.ts +21 -0
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable.d.ts +25 -0
- package/dist/components/resizable.js +1 -1
- package/dist/components/scope-tree.d.ts +45 -2
- package/dist/components/scope-tree.js +2 -2
- package/dist/components/scope-type-badge.d.ts +15 -0
- package/dist/components/scope-type-badge.js +2 -2
- package/dist/components/scroll-area.d.ts +21 -0
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/select.d.ts +34 -0
- package/dist/components/select.js +1 -1
- package/dist/components/separator.d.ts +19 -2
- package/dist/components/separator.js +1 -1
- package/dist/components/sheet.d.ts +35 -0
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar.d.ts +93 -0
- package/dist/components/sidebar.js +7 -7
- package/dist/components/skeleton.d.ts +22 -2
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.d.ts +19 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/slug-input.d.ts +28 -0
- package/dist/components/slug-input.js +3 -3
- package/dist/components/sonner.d.ts +16 -0
- package/dist/components/sonner.js +1 -1
- package/dist/components/stage-type-badge.d.ts +6 -0
- package/dist/components/stage-type-badge.js +2 -2
- package/dist/components/switch.d.ts +21 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/table.d.ts +44 -0
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.d.ts +29 -0
- package/dist/components/tabs.js +1 -1
- package/dist/components/tag-input.d.ts +25 -0
- package/dist/components/tag-input.js +2 -2
- package/dist/components/textarea.d.ts +17 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/time-picker.d.ts +37 -0
- package/dist/components/time-picker.js +5 -5
- package/dist/components/toggle-group.d.ts +36 -3
- package/dist/components/toggle-group.js +2 -2
- package/dist/components/toggle.d.ts +20 -2
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip.d.ts +24 -0
- package/dist/components/tooltip.js +1 -1
- package/dist/components/workflow-category-badge.d.ts +6 -0
- package/dist/components/workflow-category-badge.js +2 -2
- package/dist/components/workflow-diagram.d.ts +21 -1
- package/dist/components/workflow-diagram.js +2 -2
- package/dist/components/workflow-status-badge.d.ts +6 -0
- package/dist/components/workflow-status-badge.js +2 -2
- package/dist/components/workflow-stepper.d.ts +18 -0
- package/dist/components/workflow-stepper.js +1 -1
- package/dist/index.d.ts +16 -16
- package/dist/index.js +68 -68
- package/package.json +1 -1
- package/dist/chunk-23SALQ3G.js.map +0 -1
- package/dist/chunk-3BB6UBX4.js.map +0 -1
- package/dist/chunk-3TGN2DFB.js.map +0 -1
- package/dist/chunk-3TV2IR7L.js.map +0 -1
- package/dist/chunk-4CT5SCAH.js.map +0 -1
- package/dist/chunk-4D6FDXCG.js.map +0 -1
- package/dist/chunk-4N357E44.js.map +0 -1
- package/dist/chunk-4Q2FLTAW.js.map +0 -1
- package/dist/chunk-5M67ZEPM.js.map +0 -1
- package/dist/chunk-5WCL47ZW.js.map +0 -1
- package/dist/chunk-6GCAG5FH.js.map +0 -1
- package/dist/chunk-7ALADSN3.js.map +0 -1
- package/dist/chunk-7W3WTMUH.js.map +0 -1
- package/dist/chunk-7ZFYPC74.js.map +0 -1
- package/dist/chunk-ANTYNEUU.js.map +0 -1
- package/dist/chunk-AZARDPXB.js.map +0 -1
- package/dist/chunk-BJO5JCFB.js.map +0 -1
- package/dist/chunk-BOYSXIM3.js.map +0 -1
- package/dist/chunk-CCBDR2U2.js.map +0 -1
- package/dist/chunk-CDARHMTL.js.map +0 -1
- package/dist/chunk-CESZTYQQ.js.map +0 -1
- package/dist/chunk-DIS42JLG.js.map +0 -1
- package/dist/chunk-DZENMCRL.js.map +0 -1
- package/dist/chunk-EIF6WZAZ.js.map +0 -1
- package/dist/chunk-F5IKVHRW.js.map +0 -1
- package/dist/chunk-FBNG2KGO.js.map +0 -1
- package/dist/chunk-FGD3OQOS.js.map +0 -1
- package/dist/chunk-HTO5C5BA.js.map +0 -1
- package/dist/chunk-IJIGJGL5.js.map +0 -1
- package/dist/chunk-JPTN62BV.js.map +0 -1
- package/dist/chunk-K7GDYMMU.js.map +0 -1
- package/dist/chunk-KABLXGWK.js.map +0 -1
- package/dist/chunk-KOGOYUEE.js.map +0 -1
- package/dist/chunk-KXT75MXF.js.map +0 -1
- package/dist/chunk-KXZ7IND6.js.map +0 -1
- package/dist/chunk-L46XUK4O.js.map +0 -1
- package/dist/chunk-LI7CKURD.js.map +0 -1
- package/dist/chunk-LW5PTU7D.js.map +0 -1
- package/dist/chunk-MNAT3ZF6.js.map +0 -1
- package/dist/chunk-MXNSBAG4.js.map +0 -1
- package/dist/chunk-NFAXCC73.js.map +0 -1
- package/dist/chunk-OHBCYKNT.js.map +0 -1
- package/dist/chunk-ONAUEREV.js.map +0 -1
- package/dist/chunk-OXQNDQJW.js.map +0 -1
- package/dist/chunk-P3KBN6YH.js.map +0 -1
- package/dist/chunk-PCQSHXOQ.js.map +0 -1
- package/dist/chunk-PPZSGU2L.js.map +0 -1
- package/dist/chunk-PQJX2M64.js.map +0 -1
- package/dist/chunk-QCGYYBDZ.js.map +0 -1
- package/dist/chunk-QMAMDYRD.js.map +0 -1
- package/dist/chunk-RSHV4SNK.js.map +0 -1
- package/dist/chunk-RVJDDGQW.js.map +0 -1
- package/dist/chunk-SABAKV4J.js.map +0 -1
- package/dist/chunk-TB3R2RA7.js.map +0 -1
- package/dist/chunk-TEYOLOZY.js.map +0 -1
- package/dist/chunk-TMFQJ7E3.js.map +0 -1
- package/dist/chunk-TPPX6QNL.js.map +0 -1
- package/dist/chunk-UCEUTKTQ.js.map +0 -1
- package/dist/chunk-VGQC333M.js.map +0 -1
- package/dist/chunk-WAPGZIAL.js.map +0 -1
- package/dist/chunk-XKVHX75G.js.map +0 -1
- package/dist/chunk-XP4TPMSN.js.map +0 -1
- package/dist/chunk-YF6WRCTG.js.map +0 -1
- package/dist/chunk-YKJZV2JK.js.map +0 -1
- package/dist/chunk-Z47W426M.js.map +0 -1
- package/dist/chunk-ZMHZH572.js.map +0 -1
- package/dist/chunk-ZNXCXN7Q.js +0 -37
- package/dist/chunk-ZNXCXN7Q.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ScopeTree } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ScopeTree } from '../chunk-EIY5FVSV.js';
|
|
2
|
+
import '../chunk-OBZQTY3H.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=scope-tree.js.map
|
|
5
5
|
//# sourceMappingURL=scope-tree.js.map
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { LucideIcon } from 'lucide-react';
|
|
3
3
|
|
|
4
|
+
/** Custom style and icon overrides for a scope type badge. */
|
|
4
5
|
interface ScopeTypeBadgeStyles {
|
|
6
|
+
/** Tailwind className string for the badge background, text, and border colors. */
|
|
5
7
|
className: string;
|
|
8
|
+
/** Lucide icon component to display in the badge. */
|
|
6
9
|
icon: LucideIcon;
|
|
7
10
|
}
|
|
8
11
|
interface ScopeTypeBadgeProps {
|
|
@@ -15,6 +18,18 @@ interface ScopeTypeBadgeProps {
|
|
|
15
18
|
/** Override default styles and icon for the given type. */
|
|
16
19
|
styles?: Partial<ScopeTypeBadgeStyles>;
|
|
17
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Color-coded badge with an icon indicating a scope type. Ships with built-in
|
|
23
|
+
* styles for global (blue/Globe), organization (purple/Building2), branch
|
|
24
|
+
* (amber/GitBranch), and location (green/MapPin). Custom types fall back to
|
|
25
|
+
* global styling unless overridden via `styles`.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <ScopeTypeBadge type="organization" label="Organization" />
|
|
30
|
+
* <ScopeTypeBadge type="branch" label="Branch" />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
18
33
|
declare function ScopeTypeBadge({ type, label, className, styles: styleOverrides, }: ScopeTypeBadgeProps): react_jsx_runtime.JSX.Element;
|
|
19
34
|
|
|
20
35
|
export { ScopeTypeBadge, type ScopeTypeBadgeProps, type ScopeTypeBadgeStyles };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ScopeTypeBadge } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ScopeTypeBadge } from '../chunk-C7LPAIU6.js';
|
|
2
|
+
import '../chunk-OBZQTY3H.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=scope-type-badge.js.map
|
|
5
5
|
//# sourceMappingURL=scope-type-badge.js.map
|
|
@@ -2,7 +2,28 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Custom scrollable container with styled scrollbar built on Radix ScrollArea.
|
|
7
|
+
*
|
|
8
|
+
* Replaces native browser scrollbars with a thin, themed scrollbar.
|
|
9
|
+
* Includes a vertical `ScrollBar` by default. Add a horizontal `ScrollBar`
|
|
10
|
+
* as a child if needed.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <ScrollArea className="h-72 w-48 rounded-md border">
|
|
15
|
+
* <div className="p-4">
|
|
16
|
+
* {items.map((item) => (
|
|
17
|
+
* <div key={item} className="py-2 text-sm">
|
|
18
|
+
* {item}
|
|
19
|
+
* </div>
|
|
20
|
+
* ))}
|
|
21
|
+
* </div>
|
|
22
|
+
* </ScrollArea>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
5
25
|
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
26
|
+
/** Styled scrollbar track and thumb. Set `orientation` to `"horizontal"` or `"vertical"` (default). */
|
|
6
27
|
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
7
28
|
|
|
8
29
|
export { ScrollArea, ScrollBar };
|
|
@@ -2,17 +2,51 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Select dropdown component built on Radix UI Select.
|
|
7
|
+
* Provides a styled, accessible dropdown for selecting a single value from a list.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Select value={value} onValueChange={setValue}>
|
|
12
|
+
* <SelectTrigger>
|
|
13
|
+
* <SelectValue placeholder="Choose..." />
|
|
14
|
+
* </SelectTrigger>
|
|
15
|
+
* <SelectContent>
|
|
16
|
+
* <SelectGroup>
|
|
17
|
+
* <SelectLabel>Fruits</SelectLabel>
|
|
18
|
+
* <SelectItem value="apple">Apple</SelectItem>
|
|
19
|
+
* <SelectItem value="banana">Banana</SelectItem>
|
|
20
|
+
* </SelectGroup>
|
|
21
|
+
* <SelectSeparator />
|
|
22
|
+
* <SelectGroup>
|
|
23
|
+
* <SelectLabel>Vegetables</SelectLabel>
|
|
24
|
+
* <SelectItem value="carrot">Carrot</SelectItem>
|
|
25
|
+
* </SelectGroup>
|
|
26
|
+
* </SelectContent>
|
|
27
|
+
* </Select>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
5
30
|
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
31
|
+
/** Groups related select items under an optional label. */
|
|
6
32
|
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
33
|
+
/** Displays the currently selected value or a placeholder. */
|
|
7
34
|
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
35
|
+
/** Button that toggles the select dropdown open/closed. */
|
|
8
36
|
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
9
37
|
size?: "sm" | "default";
|
|
10
38
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
39
|
+
/** Dropdown content container rendered in a portal. */
|
|
11
40
|
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
41
|
+
/** Non-interactive label rendered inside a SelectGroup. */
|
|
12
42
|
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
43
|
+
/** A selectable option within the dropdown. */
|
|
13
44
|
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
45
|
+
/** Visual separator between select groups or items. */
|
|
14
46
|
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
47
|
+
/** Scroll-up indicator shown when the list is scrollable. */
|
|
15
48
|
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
/** Scroll-down indicator shown when the list is scrollable. */
|
|
16
50
|
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
17
51
|
|
|
18
52
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../chunk-
|
|
1
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../chunk-NNJTKHCE.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=select.js.map
|
|
4
4
|
//# sourceMappingURL=select.js.map
|
|
@@ -2,6 +2,23 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
type SeparatorProps = React.ComponentProps<typeof SeparatorPrimitive.Root>;
|
|
6
|
+
/**
|
|
7
|
+
* Visual divider between content sections, rendered as a horizontal or vertical line.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Horizontal (default)
|
|
12
|
+
* <Separator />
|
|
13
|
+
*
|
|
14
|
+
* // Vertical divider in a flex row
|
|
15
|
+
* <div className="flex items-center gap-4">
|
|
16
|
+
* <span>Left</span>
|
|
17
|
+
* <Separator orientation="vertical" className="h-4" />
|
|
18
|
+
* <span>Right</span>
|
|
19
|
+
* </div>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
6
23
|
|
|
7
|
-
export { Separator };
|
|
24
|
+
export { Separator, type SeparatorProps };
|
|
@@ -2,15 +2,50 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Slide-out panel component built on Radix UI Dialog.
|
|
7
|
+
*
|
|
8
|
+
* A sheet slides in from the edge of the screen, ideal for navigation,
|
|
9
|
+
* filters, or supplementary content. Supports `top`, `right`, `bottom`,
|
|
10
|
+
* and `left` sides via the `side` prop on `SheetContent`.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Sheet open={open} onOpenChange={setOpen}>
|
|
15
|
+
* <SheetTrigger asChild>
|
|
16
|
+
* <Button variant="outline">Open Sheet</Button>
|
|
17
|
+
* </SheetTrigger>
|
|
18
|
+
* <SheetContent side="right">
|
|
19
|
+
* <SheetHeader>
|
|
20
|
+
* <SheetTitle>Settings</SheetTitle>
|
|
21
|
+
* <SheetDescription>
|
|
22
|
+
* Adjust your preferences below.
|
|
23
|
+
* </SheetDescription>
|
|
24
|
+
* </SheetHeader>
|
|
25
|
+
* <div className="p-4">Content here</div>
|
|
26
|
+
* <SheetFooter>
|
|
27
|
+
* <Button onClick={() => setOpen(false)}>Done</Button>
|
|
28
|
+
* </SheetFooter>
|
|
29
|
+
* </SheetContent>
|
|
30
|
+
* </Sheet>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
5
33
|
declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
/** Element that opens the sheet when clicked. Use `asChild` to merge into your own button. */
|
|
6
35
|
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
|
+
/** Button that closes the sheet. Use `asChild` to merge into your own button. */
|
|
7
37
|
declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
38
|
+
/** Sliding content panel. Set `side` to control which edge it slides from (default: `"right"`). */
|
|
8
39
|
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
9
40
|
side?: "top" | "right" | "bottom" | "left";
|
|
10
41
|
}): react_jsx_runtime.JSX.Element;
|
|
42
|
+
/** Container for SheetTitle and SheetDescription at the top of the sheet. */
|
|
11
43
|
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
44
|
+
/** Container for action buttons at the bottom of the sheet. Pushed to the bottom via `mt-auto`. */
|
|
12
45
|
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
46
|
+
/** Accessible title rendered inside SheetHeader. */
|
|
13
47
|
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
48
|
+
/** Accessible description rendered inside SheetHeader below the title. */
|
|
14
49
|
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
15
50
|
|
|
16
51
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
package/dist/components/sheet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../chunk-
|
|
1
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../chunk-JLTBUACL.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=sheet.js.map
|
|
4
4
|
//# sourceMappingURL=sheet.js.map
|
|
@@ -10,65 +10,158 @@ import '@radix-ui/react-separator';
|
|
|
10
10
|
import '@radix-ui/react-tooltip';
|
|
11
11
|
|
|
12
12
|
type SidebarContextProps = {
|
|
13
|
+
/** Current sidebar state: "expanded" or "collapsed". */
|
|
13
14
|
state: "expanded" | "collapsed";
|
|
15
|
+
/** Whether the sidebar is open (desktop). */
|
|
14
16
|
open: boolean;
|
|
17
|
+
/** Set the sidebar open state (desktop). */
|
|
15
18
|
setOpen: (open: boolean) => void;
|
|
19
|
+
/** Whether the sidebar is open (mobile). */
|
|
16
20
|
openMobile: boolean;
|
|
21
|
+
/** Set the sidebar open state (mobile). */
|
|
17
22
|
setOpenMobile: (open: boolean) => void;
|
|
23
|
+
/** Whether the current viewport is mobile-sized. */
|
|
18
24
|
isMobile: boolean;
|
|
25
|
+
/** Toggle the sidebar open/closed. */
|
|
19
26
|
toggleSidebar: () => void;
|
|
20
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* Hook to access sidebar state and controls.
|
|
30
|
+
* Must be used within a {@link SidebarProvider}.
|
|
31
|
+
*
|
|
32
|
+
* @returns The sidebar context value including `state`, `open`, `toggleSidebar`, etc.
|
|
33
|
+
* @throws If used outside of a SidebarProvider.
|
|
34
|
+
*/
|
|
21
35
|
declare function useSidebar(): SidebarContextProps;
|
|
36
|
+
/**
|
|
37
|
+
* Context provider that manages sidebar open/collapsed state, mobile detection,
|
|
38
|
+
* keyboard shortcut (Cmd/Ctrl+B), and cookie persistence.
|
|
39
|
+
* Wrap your layout with this provider before using any Sidebar components.
|
|
40
|
+
*
|
|
41
|
+
* @param defaultOpen - Initial open state for uncontrolled mode. Defaults to `true`.
|
|
42
|
+
* @param open - Controlled open state.
|
|
43
|
+
* @param onOpenChange - Callback when open state changes (controlled mode).
|
|
44
|
+
*/
|
|
22
45
|
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
46
|
+
/** Initial open state for uncontrolled usage. Defaults to `true`. */
|
|
23
47
|
defaultOpen?: boolean;
|
|
48
|
+
/** Controlled open state. */
|
|
24
49
|
open?: boolean;
|
|
50
|
+
/** Callback fired when the sidebar open state changes. */
|
|
25
51
|
onOpenChange?: (open: boolean) => void;
|
|
26
52
|
}): react_jsx_runtime.JSX.Element;
|
|
53
|
+
/**
|
|
54
|
+
* Application sidebar with collapsible groups, menus, and responsive behavior.
|
|
55
|
+
* Built on top of Sheet for mobile and native sidebar for desktop.
|
|
56
|
+
*
|
|
57
|
+
* @param side - Which side of the viewport the sidebar appears on. Defaults to `"left"`.
|
|
58
|
+
* @param variant - Visual variant: `"sidebar"` (default), `"floating"`, or `"inset"`.
|
|
59
|
+
* @param collapsible - Collapse behavior: `"offcanvas"` (default), `"icon"`, or `"none"`.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```tsx
|
|
63
|
+
* <SidebarProvider>
|
|
64
|
+
* <Sidebar>
|
|
65
|
+
* <SidebarHeader>Logo</SidebarHeader>
|
|
66
|
+
* <SidebarContent>
|
|
67
|
+
* <SidebarGroup>
|
|
68
|
+
* <SidebarGroupLabel>Menu</SidebarGroupLabel>
|
|
69
|
+
* <SidebarMenu>
|
|
70
|
+
* <SidebarMenuItem>
|
|
71
|
+
* <SidebarMenuButton>Dashboard</SidebarMenuButton>
|
|
72
|
+
* </SidebarMenuItem>
|
|
73
|
+
* </SidebarMenu>
|
|
74
|
+
* </SidebarGroup>
|
|
75
|
+
* </SidebarContent>
|
|
76
|
+
* <SidebarFooter>Footer</SidebarFooter>
|
|
77
|
+
* </Sidebar>
|
|
78
|
+
* </SidebarProvider>
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
27
81
|
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
82
|
+
/** Which side the sidebar appears on. Defaults to `"left"`. */
|
|
28
83
|
side?: "left" | "right";
|
|
84
|
+
/** Visual variant. Defaults to `"sidebar"`. */
|
|
29
85
|
variant?: "sidebar" | "floating" | "inset";
|
|
86
|
+
/** Collapse behavior. Defaults to `"offcanvas"`. */
|
|
30
87
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
31
88
|
}): react_jsx_runtime.JSX.Element;
|
|
89
|
+
/** Button that toggles the sidebar open/closed. Renders a `PanelLeftIcon` ghost button. */
|
|
32
90
|
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
91
|
+
/** Thin vertical rail on the sidebar edge that toggles the sidebar on click. */
|
|
33
92
|
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
93
|
+
/** Main content area that sits beside the sidebar. Use with `variant="inset"`. */
|
|
34
94
|
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
95
|
+
/** Search input styled for use inside the sidebar. */
|
|
35
96
|
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
97
|
+
/** Container for the top section of the sidebar (logo, org selector, etc.). */
|
|
36
98
|
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
99
|
+
/** Container for the bottom section of the sidebar (user menu, settings, etc.). */
|
|
37
100
|
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
101
|
+
/** Horizontal separator styled with sidebar border color. */
|
|
38
102
|
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
103
|
+
/** Scrollable content area between SidebarHeader and SidebarFooter. Houses SidebarGroup components. */
|
|
39
104
|
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
105
|
+
/** Logical grouping of sidebar items. Typically contains a SidebarGroupLabel and SidebarMenu. */
|
|
40
106
|
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
107
|
+
/** Small heading label for a SidebarGroup (e.g. "Navigation", "Projects"). */
|
|
41
108
|
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
42
109
|
asChild?: boolean;
|
|
43
110
|
}): react_jsx_runtime.JSX.Element;
|
|
111
|
+
/** Action button positioned at the top-right of a SidebarGroup (e.g. "Add" button). */
|
|
44
112
|
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
45
113
|
asChild?: boolean;
|
|
46
114
|
}): react_jsx_runtime.JSX.Element;
|
|
115
|
+
/** Wrapper for content inside a SidebarGroup, below the label. */
|
|
47
116
|
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
117
|
+
/** Unordered list container for SidebarMenuItem components. */
|
|
48
118
|
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
119
|
+
/** List item wrapper for a single sidebar menu entry. Contains a SidebarMenuButton. */
|
|
49
120
|
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
50
121
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
51
122
|
variant?: "default" | "outline" | null | undefined;
|
|
52
123
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
53
124
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
125
|
+
/**
|
|
126
|
+
* Clickable button inside a SidebarMenuItem. Supports size/variant variants,
|
|
127
|
+
* active state highlighting, and an optional tooltip shown when collapsed to icon mode.
|
|
128
|
+
*
|
|
129
|
+
* @param isActive - Whether this item is the current active route.
|
|
130
|
+
* @param tooltip - Tooltip text or TooltipContent props shown in collapsed icon mode.
|
|
131
|
+
* @param asChild - Merge props onto the child element instead of rendering a button.
|
|
132
|
+
*/
|
|
54
133
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
|
134
|
+
/** Render as child element via Radix Slot. */
|
|
55
135
|
asChild?: boolean;
|
|
136
|
+
/** Whether this menu item represents the active route. */
|
|
56
137
|
isActive?: boolean;
|
|
138
|
+
/** Tooltip shown when sidebar is collapsed to icon mode. */
|
|
57
139
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
58
140
|
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
141
|
+
/** Action button that appears to the right of a SidebarMenuButton (e.g. "more" or "delete"). */
|
|
59
142
|
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
|
|
60
143
|
asChild?: boolean;
|
|
144
|
+
/** When true, only shows on hover/focus of the parent menu item. */
|
|
61
145
|
showOnHover?: boolean;
|
|
62
146
|
}): react_jsx_runtime.JSX.Element;
|
|
147
|
+
/** Small count or status badge displayed to the right of a SidebarMenuButton. */
|
|
63
148
|
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
149
|
+
/** Loading skeleton placeholder for a sidebar menu item. */
|
|
64
150
|
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
151
|
+
/** Whether to show an icon skeleton alongside the text skeleton. */
|
|
65
152
|
showIcon?: boolean;
|
|
66
153
|
}): react_jsx_runtime.JSX.Element;
|
|
154
|
+
/** Nested sub-menu list with a left border, used for collapsible sub-navigation. */
|
|
67
155
|
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
156
|
+
/** List item wrapper for a single sub-menu entry inside SidebarMenuSub. */
|
|
68
157
|
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
158
|
+
/** Clickable link/button inside a SidebarMenuSubItem. Renders as an anchor by default. */
|
|
69
159
|
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
|
|
160
|
+
/** Render as child element via Radix Slot. */
|
|
70
161
|
asChild?: boolean;
|
|
162
|
+
/** Text size: `"sm"` (12px) or `"md"` (14px). Defaults to `"md"`. */
|
|
71
163
|
size?: "sm" | "md";
|
|
164
|
+
/** Whether this sub-menu item represents the active route. */
|
|
72
165
|
isActive?: boolean;
|
|
73
166
|
}): react_jsx_runtime.JSX.Element;
|
|
74
167
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from '../chunk-JBQT2H4K.js';
|
|
2
|
+
import '../chunk-C5NZAOA7.js';
|
|
3
3
|
import '../chunk-WRCHR4AK.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-JXGRW2MR.js';
|
|
5
|
+
import '../chunk-3VU56V66.js';
|
|
6
|
+
import '../chunk-JLTBUACL.js';
|
|
7
|
+
import '../chunk-PGWNOZDX.js';
|
|
8
|
+
import '../chunk-Y65FNGEE.js';
|
|
9
9
|
import '../chunk-DGPY4WP3.js';
|
|
10
10
|
//# sourceMappingURL=sidebar.js.map
|
|
11
11
|
//# sourceMappingURL=sidebar.js.map
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
type SkeletonProps = React.ComponentProps<"div">;
|
|
4
|
+
/**
|
|
5
|
+
* Placeholder loading indicator with a pulse animation, used to represent
|
|
6
|
+
* content that is being fetched or rendered.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* // Text placeholder
|
|
11
|
+
* <Skeleton className="h-4 w-48" />
|
|
12
|
+
*
|
|
13
|
+
* // Circular avatar placeholder
|
|
14
|
+
* <Skeleton className="size-10 rounded-full" />
|
|
15
|
+
*
|
|
16
|
+
* // Card skeleton
|
|
17
|
+
* <div className="space-y-2">
|
|
18
|
+
* <Skeleton className="h-4 w-full" />
|
|
19
|
+
* <Skeleton className="h-4 w-3/4" />
|
|
20
|
+
* </div>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
4
24
|
|
|
5
|
-
export { Skeleton };
|
|
25
|
+
export { Skeleton, type SkeletonProps };
|
|
@@ -2,6 +2,23 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
type SliderProps = React.ComponentProps<typeof SliderPrimitive.Root>;
|
|
6
|
+
/**
|
|
7
|
+
* Draggable range input for selecting a numeric value or range within a given min/max.
|
|
8
|
+
* Supports single-thumb and multi-thumb modes, as well as vertical orientation.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Single value
|
|
13
|
+
* <Slider defaultValue={[50]} max={100} step={1} />
|
|
14
|
+
*
|
|
15
|
+
* // Range (two thumbs)
|
|
16
|
+
* <Slider defaultValue={[25, 75]} max={100} step={5} />
|
|
17
|
+
*
|
|
18
|
+
* // Controlled
|
|
19
|
+
* <Slider value={[volume]} onValueChange={([v]) => setVolume(v)} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
6
23
|
|
|
7
|
-
export { Slider };
|
|
24
|
+
export { Slider, type SliderProps };
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
/** Customizable labels for the SlugInput component. */
|
|
3
4
|
interface SlugInputLabels {
|
|
5
|
+
/** Label text above the slug input field. */
|
|
4
6
|
slug: string;
|
|
7
|
+
/** Helper text below the slug input. */
|
|
5
8
|
autoGenerated: string;
|
|
9
|
+
/** Placeholder shown inside the slug input. */
|
|
6
10
|
placeholder: string;
|
|
7
11
|
}
|
|
8
12
|
interface SlugInputProps {
|
|
13
|
+
/** Source title string from which the slug is auto-generated. */
|
|
9
14
|
title: string;
|
|
15
|
+
/** Current slug value. */
|
|
10
16
|
slug: string;
|
|
17
|
+
/** Callback fired when the slug changes (auto-generated or manually edited). */
|
|
11
18
|
onSlugChange: (slug: string) => void;
|
|
19
|
+
/** Whether auto-generation from title is disabled and slug is manually editable only. */
|
|
12
20
|
disabled?: boolean;
|
|
21
|
+
/** Override default label strings for localization. */
|
|
13
22
|
labels?: Partial<SlugInputLabels>;
|
|
14
23
|
}
|
|
15
24
|
/**
|
|
@@ -17,6 +26,25 @@ interface SlugInputProps {
|
|
|
17
26
|
* Handles Vietnamese diacritics and other special characters.
|
|
18
27
|
*/
|
|
19
28
|
declare function generateSlug(text: string): string;
|
|
29
|
+
/**
|
|
30
|
+
* URL slug input that auto-generates a slug from a title string.
|
|
31
|
+
* Handles Vietnamese diacritics and special characters via `generateSlug`.
|
|
32
|
+
* The slug updates automatically when the title changes (unless `disabled` is true).
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```tsx
|
|
36
|
+
* const [title, setTitle] = useState("My Blog Post");
|
|
37
|
+
* const [slug, setSlug] = useState("");
|
|
38
|
+
*
|
|
39
|
+
* <Input value={title} onChange={(e) => setTitle(e.target.value)} />
|
|
40
|
+
* <SlugInput
|
|
41
|
+
* title={title}
|
|
42
|
+
* slug={slug}
|
|
43
|
+
* onSlugChange={setSlug}
|
|
44
|
+
* />
|
|
45
|
+
* // slug will auto-populate as "my-blog-post"
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
20
48
|
declare function SlugInput({ title, slug, onSlugChange, disabled, labels: labelOverrides, }: SlugInputProps): react_jsx_runtime.JSX.Element;
|
|
21
49
|
|
|
22
50
|
export { SlugInput, type SlugInputLabels, type SlugInputProps, generateSlug };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { SlugInput, generateSlug } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { SlugInput, generateSlug } from '../chunk-75WZR6HF.js';
|
|
2
|
+
import '../chunk-P3M5TZD2.js';
|
|
3
|
+
import '../chunk-3VU56V66.js';
|
|
4
4
|
import '../chunk-DGPY4WP3.js';
|
|
5
5
|
//# sourceMappingURL=slug-input.js.map
|
|
6
6
|
//# sourceMappingURL=slug-input.js.map
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ToasterProps } from 'sonner';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Toast notification container powered by the Sonner library.
|
|
6
|
+
* Renders toast messages at a configurable position on screen.
|
|
7
|
+
* Place this once at the root of your app, then use `toast()` to trigger notifications.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // In your root layout:
|
|
12
|
+
* <Toaster />
|
|
13
|
+
*
|
|
14
|
+
* // Anywhere in your app:
|
|
15
|
+
* import { toast } from "sonner";
|
|
16
|
+
* toast.success("Changes saved");
|
|
17
|
+
* toast.error("Something went wrong");
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
4
20
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
5
21
|
|
|
6
22
|
export { Toaster };
|
|
@@ -18,6 +18,12 @@ interface StageTypeBadgeProps {
|
|
|
18
18
|
* - review: Eye (blue)
|
|
19
19
|
* - notification: Bell (amber)
|
|
20
20
|
* - conditional: GitBranch (purple)
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* <StageTypeBadge type="approval" />
|
|
25
|
+
* <StageTypeBadge type="review" label="Peer Review" />
|
|
26
|
+
* ```
|
|
21
27
|
*/
|
|
22
28
|
declare function StageTypeBadge({ type, label, className }: StageTypeBadgeProps): react_jsx_runtime.JSX.Element;
|
|
23
29
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { StageTypeBadge } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { StageTypeBadge } from '../chunk-DZ7752H3.js';
|
|
2
|
+
import '../chunk-OBZQTY3H.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=stage-type-badge.js.map
|
|
5
5
|
//# sourceMappingURL=stage-type-badge.js.map
|
|
@@ -2,6 +2,25 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
type SwitchProps = React.ComponentProps<typeof SwitchPrimitives.Root>;
|
|
6
|
+
/**
|
|
7
|
+
* Toggle switch for boolean on/off states, styled as a sliding pill.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Uncontrolled
|
|
12
|
+
* <Switch defaultChecked />
|
|
13
|
+
*
|
|
14
|
+
* // Controlled
|
|
15
|
+
* <Switch checked={enabled} onCheckedChange={setEnabled} />
|
|
16
|
+
*
|
|
17
|
+
* // With label
|
|
18
|
+
* <div className="flex items-center gap-2">
|
|
19
|
+
* <Switch id="notifications" />
|
|
20
|
+
* <Label htmlFor="notifications">Enable notifications</Label>
|
|
21
|
+
* </div>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare function Switch({ className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
6
25
|
|
|
7
|
-
export { Switch };
|
|
26
|
+
export { Switch, type SwitchProps };
|