@omnifyjp/ui 0.1.6 → 0.2.0
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-XKVHX75G.js → chunk-2C2HRGM7.js} +3 -3
- package/dist/chunk-2C2HRGM7.js.map +1 -0
- package/dist/{chunk-CF2MMEOS.js → chunk-2TUWDXAC.js} +3 -3
- package/dist/chunk-2TUWDXAC.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-UCEUTKTQ.js → chunk-35U6QG4P.js} +5 -5
- package/dist/chunk-35U6QG4P.js.map +1 -0
- package/dist/{chunk-74K7VSEO.js → chunk-36YYHIJU.js} +4 -4
- package/dist/chunk-36YYHIJU.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-EMHO6GT6.js → chunk-4MHIUUAW.js} +3 -3
- package/dist/chunk-4MHIUUAW.js.map +1 -0
- package/dist/chunk-55E7D2HR.js +99 -0
- package/dist/chunk-55E7D2HR.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-XRGGZOD5.js → chunk-6DIDQ4TB.js} +10 -10
- package/dist/chunk-6DIDQ4TB.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-DR4GGX45.js → chunk-75WZR6HF.js} +3 -3
- package/dist/chunk-75WZR6HF.js.map +1 -0
- package/dist/{chunk-QMABUSSD.js → chunk-7IRLBU2I.js} +3 -3
- package/dist/chunk-7IRLBU2I.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-A3BB5ZOC.js +77 -0
- package/dist/chunk-A3BB5ZOC.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-MNAT3ZF6.js → chunk-BAQWGQJG.js} +3 -3
- package/dist/chunk-BAQWGQJG.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-4Q2FLTAW.js → chunk-CUZR4JWM.js} +2 -2
- package/dist/chunk-CUZR4JWM.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-KRDWVQZ6.js → chunk-G7HTZBUR.js} +13 -13
- package/dist/chunk-G7HTZBUR.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-TEYOLOZY.js → chunk-JAJMM32I.js} +3 -3
- package/dist/chunk-JAJMM32I.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-7ALADSN3.js → chunk-LMT327XH.js} +4 -4
- package/dist/chunk-LMT327XH.js.map +1 -0
- package/dist/{chunk-ZPWGR4CM.js → chunk-LTTNCAAA.js} +3 -3
- package/dist/chunk-LTTNCAAA.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-YMZJ2RYW.js → chunk-MJLFJPUG.js} +9 -9
- package/dist/chunk-MJLFJPUG.js.map +1 -0
- package/dist/{chunk-3TV2IR7L.js → chunk-MZ2P566X.js} +4 -4
- package/dist/chunk-MZ2P566X.js.map +1 -0
- package/dist/{chunk-4D6FDXCG.js → chunk-N47H4MHX.js} +3 -3
- package/dist/chunk-N47H4MHX.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-4OQTTPY4.js → chunk-NPL2R5LD.js} +5 -5
- package/dist/chunk-NPL2R5LD.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-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-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-TGYQ3AKH.js +95 -0
- package/dist/chunk-TGYQ3AKH.js.map +1 -0
- package/dist/{chunk-RIIADVOV.js → chunk-THQUH6WX.js} +6 -6
- package/dist/chunk-THQUH6WX.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-LW5PTU7D.js → chunk-USIHM7FV.js} +2 -2
- package/dist/chunk-USIHM7FV.js.map +1 -0
- package/dist/{chunk-PCQSHXOQ.js → chunk-VVYSAGB3.js} +6 -6
- package/dist/chunk-VVYSAGB3.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-5M67ZEPM.js → chunk-XOJJBNDX.js} +2 -2
- package/dist/chunk-XOJJBNDX.js.map +1 -0
- package/dist/{chunk-JJHKFW6P.js → chunk-XUVLD65E.js} +7 -7
- package/dist/chunk-XUVLD65E.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-GJCHZAJO.js → chunk-YS3PMGYC.js} +5 -5
- package/dist/chunk-YS3PMGYC.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-YF6WRCTG.js → chunk-ZHEKDP5X.js} +3 -3
- package/dist/chunk-ZHEKDP5X.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-QCGYYBDZ.js → chunk-ZYEGBF7G.js} +3 -3
- package/dist/chunk-ZYEGBF7G.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 +57 -2
- 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 +43 -4
- 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 +43 -19
- 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 +29 -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 +3 -3
- 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/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 +41 -0
- package/dist/components/pagination.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 +94 -0
- package/dist/components/sidebar.js +6 -6
- 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 +2 -2
- 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 +4 -4
- 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 +14 -13
- package/dist/index.js +66 -66
- package/dist/types-CBVkScfB.d.ts +84 -0
- package/package.json +23 -13
- package/src/styles/theme.css +10 -0
- package/dist/chunk-23SALQ3G.js.map +0 -1
- package/dist/chunk-3TGN2DFB.js +0 -41
- 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-4OQTTPY4.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-74K7VSEO.js.map +0 -1
- package/dist/chunk-7ALADSN3.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-CDARHMTL.js.map +0 -1
- package/dist/chunk-CESZTYQQ.js.map +0 -1
- package/dist/chunk-CF2MMEOS.js.map +0 -1
- package/dist/chunk-DIS42JLG.js.map +0 -1
- package/dist/chunk-DR4GGX45.js.map +0 -1
- package/dist/chunk-DZENMCRL.js.map +0 -1
- package/dist/chunk-EIF6WZAZ.js.map +0 -1
- package/dist/chunk-EMHO6GT6.js.map +0 -1
- package/dist/chunk-FBNG2KGO.js +0 -66
- package/dist/chunk-FBNG2KGO.js.map +0 -1
- package/dist/chunk-GJCHZAJO.js.map +0 -1
- package/dist/chunk-IJIGJGL5.js.map +0 -1
- package/dist/chunk-JJHKFW6P.js.map +0 -1
- package/dist/chunk-JPTN62BV.js.map +0 -1
- package/dist/chunk-KABLXGWK.js.map +0 -1
- package/dist/chunk-KOGOYUEE.js.map +0 -1
- package/dist/chunk-KRDWVQZ6.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-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-PCQSHXOQ.js.map +0 -1
- package/dist/chunk-PPZSGU2L.js.map +0 -1
- package/dist/chunk-QCGYYBDZ.js.map +0 -1
- package/dist/chunk-QMABUSSD.js.map +0 -1
- package/dist/chunk-QMAMDYRD.js.map +0 -1
- package/dist/chunk-RIIADVOV.js.map +0 -1
- package/dist/chunk-RVJDDGQW.js.map +0 -1
- package/dist/chunk-SABAKV4J.js.map +0 -1
- package/dist/chunk-TEYOLOZY.js.map +0 -1
- package/dist/chunk-TMFQJ7E3.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-XRGGZOD5.js.map +0 -1
- package/dist/chunk-Y65FNGEE.js +0 -52
- package/dist/chunk-Y65FNGEE.js.map +0 -1
- package/dist/chunk-YF6WRCTG.js.map +0 -1
- package/dist/chunk-YKJZV2JK.js.map +0 -1
- package/dist/chunk-YMZJ2RYW.js.map +0 -1
- package/dist/chunk-Z47W426M.js.map +0 -1
- package/dist/chunk-ZPWGR4CM.js.map +0 -1
|
@@ -3,16 +3,57 @@ import * as React from 'react';
|
|
|
3
3
|
import { Button } from './button.js';
|
|
4
4
|
import 'class-variance-authority/types';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
|
+
import '../types-CBVkScfB.js';
|
|
6
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Page navigation component with numbered links, previous/next buttons, and ellipsis indicators.
|
|
10
|
+
*
|
|
11
|
+
* Renders as a `<nav>` with `aria-label="pagination"` for accessibility.
|
|
12
|
+
* Compose with `PaginationContent`, `PaginationItem`, `PaginationLink`,
|
|
13
|
+
* `PaginationPrevious`, `PaginationNext`, and `PaginationEllipsis`.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <Pagination>
|
|
18
|
+
* <PaginationContent>
|
|
19
|
+
* <PaginationItem>
|
|
20
|
+
* <PaginationPrevious href="#" />
|
|
21
|
+
* </PaginationItem>
|
|
22
|
+
* <PaginationItem>
|
|
23
|
+
* <PaginationLink href="#" isActive>1</PaginationLink>
|
|
24
|
+
* </PaginationItem>
|
|
25
|
+
* <PaginationItem>
|
|
26
|
+
* <PaginationLink href="#">2</PaginationLink>
|
|
27
|
+
* </PaginationItem>
|
|
28
|
+
* <PaginationItem>
|
|
29
|
+
* <PaginationEllipsis />
|
|
30
|
+
* </PaginationItem>
|
|
31
|
+
* <PaginationItem>
|
|
32
|
+
* <PaginationLink href="#">10</PaginationLink>
|
|
33
|
+
* </PaginationItem>
|
|
34
|
+
* <PaginationItem>
|
|
35
|
+
* <PaginationNext href="#" />
|
|
36
|
+
* </PaginationItem>
|
|
37
|
+
* </PaginationContent>
|
|
38
|
+
* </Pagination>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
7
41
|
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
42
|
+
/** Flex container for pagination items. Renders as a `<ul>`. */
|
|
8
43
|
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
44
|
+
/** List item wrapper for a single pagination element. */
|
|
9
45
|
declare function PaginationItem({ ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
10
46
|
type PaginationLinkProps = {
|
|
47
|
+
/** When true, renders the link with an `outline` variant and `aria-current="page"`. */
|
|
11
48
|
isActive?: boolean;
|
|
12
49
|
} & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
|
|
50
|
+
/** Styled pagination link using button variants. Supports `isActive` for the current page. */
|
|
13
51
|
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
52
|
+
/** "Previous" pagination link with a left chevron icon. */
|
|
14
53
|
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
54
|
+
/** "Next" pagination link with a right chevron icon. */
|
|
15
55
|
declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
56
|
+
/** Ellipsis indicator for omitted page numbers. Renders a `MoreHorizontal` icon with screen-reader text. */
|
|
16
57
|
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
17
58
|
|
|
18
59
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '../chunk-7IRLBU2I.js';
|
|
2
|
+
import '../chunk-55E7D2HR.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=pagination.js.map
|
|
5
5
|
//# sourceMappingURL=pagination.js.map
|
|
@@ -1,23 +1,38 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
/** A single permission action (e.g. "view", "create", "delete"). */
|
|
3
4
|
interface PermissionDefinition {
|
|
5
|
+
/** Unique key for this permission (e.g. "view", "create"). Used to build `module:action` IDs. */
|
|
4
6
|
key: string;
|
|
7
|
+
/** Display label shown in the column header. */
|
|
5
8
|
label: string;
|
|
6
9
|
}
|
|
10
|
+
/** A module (row) in the permission grid containing its available permission actions. */
|
|
7
11
|
interface PermissionModule {
|
|
12
|
+
/** Unique key for this module (e.g. "users", "projects"). Used to build `module:action` IDs. */
|
|
8
13
|
key: string;
|
|
14
|
+
/** Display label shown in the first column. */
|
|
9
15
|
label: string;
|
|
16
|
+
/** List of permission actions available for this module. */
|
|
10
17
|
permissions: PermissionDefinition[];
|
|
11
18
|
}
|
|
19
|
+
/** Localizable labels for the permission grid. */
|
|
12
20
|
interface PermissionGridLabels {
|
|
21
|
+
/** Header text for the module name column. */
|
|
13
22
|
moduleHeader: string;
|
|
23
|
+
/** Header text for the "Select All" column. */
|
|
14
24
|
selectAll: string;
|
|
15
25
|
}
|
|
16
26
|
interface PermissionGridProps {
|
|
27
|
+
/** List of modules (rows) to display, each with its available permission actions. */
|
|
17
28
|
modules: PermissionModule[];
|
|
29
|
+
/** Currently selected permission IDs in `module:action` format (e.g. `["users:view", "users:create"]`). */
|
|
18
30
|
selectedIds: string[];
|
|
31
|
+
/** Callback with the updated list of selected permission IDs when checkboxes change. */
|
|
19
32
|
onChange?: (ids: string[]) => void;
|
|
33
|
+
/** When true, all checkboxes are disabled and the "Select All" column is hidden. Defaults to `false`. */
|
|
20
34
|
readOnly?: boolean;
|
|
35
|
+
/** Localizable UI labels with English defaults. */
|
|
21
36
|
labels?: Partial<PermissionGridLabels>;
|
|
22
37
|
}
|
|
23
38
|
/**
|
|
@@ -25,6 +40,28 @@ interface PermissionGridProps {
|
|
|
25
40
|
* Used internally and exposed for consumers to construct IDs.
|
|
26
41
|
*/
|
|
27
42
|
declare function buildPermissionId(moduleKey: string, permissionKey: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* Table-based permission matrix with modules as rows and permission actions
|
|
45
|
+
* as columns. Each cell is a checkbox. Permission IDs use `module:action`
|
|
46
|
+
* format (built via {@link buildPermissionId}). Includes per-row "Select All"
|
|
47
|
+
* toggles. Supports read-only mode.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```tsx
|
|
51
|
+
* const modules: PermissionModule[] = [
|
|
52
|
+
* { key: "users", label: "Users", permissions: [
|
|
53
|
+
* { key: "view", label: "View" },
|
|
54
|
+
* { key: "create", label: "Create" },
|
|
55
|
+
* ]},
|
|
56
|
+
* ];
|
|
57
|
+
*
|
|
58
|
+
* <PermissionGrid
|
|
59
|
+
* modules={modules}
|
|
60
|
+
* selectedIds={["users:view"]}
|
|
61
|
+
* onChange={(ids) => setPermissions(ids)}
|
|
62
|
+
* />
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
28
65
|
declare function PermissionGrid({ modules, selectedIds, onChange, readOnly, labels: labelOverrides, }: PermissionGridProps): react_jsx_runtime.JSX.Element;
|
|
29
66
|
|
|
30
67
|
export { type PermissionDefinition, PermissionGrid, type PermissionGridLabels, type PermissionGridProps, type PermissionModule, buildPermissionId };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PermissionGrid, buildPermissionId } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PermissionGrid, buildPermissionId } from '../chunk-TJMK2KBE.js';
|
|
2
|
+
import '../chunk-WL4ZO2H3.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=permission-grid.js.map
|
|
5
5
|
//# sourceMappingURL=permission-grid.js.map
|
|
@@ -2,9 +2,36 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Floating popover component built on Radix UI Popover.
|
|
7
|
+
*
|
|
8
|
+
* Displays rich content in a floating panel anchored to a trigger element.
|
|
9
|
+
* Supports controlled (`open`/`onOpenChange`) and uncontrolled usage.
|
|
10
|
+
* Content is portaled and positioned automatically.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Popover>
|
|
15
|
+
* <PopoverTrigger asChild>
|
|
16
|
+
* <Button variant="outline">Open Popover</Button>
|
|
17
|
+
* </PopoverTrigger>
|
|
18
|
+
* <PopoverContent>
|
|
19
|
+
* <div className="space-y-2">
|
|
20
|
+
* <h4 className="font-medium text-sm">Dimensions</h4>
|
|
21
|
+
* <p className="text-sm text-muted-foreground">
|
|
22
|
+
* Set the dimensions for the layer.
|
|
23
|
+
* </p>
|
|
24
|
+
* </div>
|
|
25
|
+
* </PopoverContent>
|
|
26
|
+
* </Popover>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
5
29
|
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
30
|
+
/** Element that toggles the popover when clicked. Use `asChild` to merge into your own button. */
|
|
6
31
|
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
32
|
+
/** Floating content panel positioned relative to the trigger. */
|
|
7
33
|
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
/** Custom anchor element for positioning the popover content relative to a different element than the trigger. */
|
|
8
35
|
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
9
36
|
|
|
10
37
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from '../chunk-
|
|
1
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from '../chunk-C34KSTWA.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=popover.js.map
|
|
4
4
|
//# sourceMappingURL=popover.js.map
|
|
@@ -2,6 +2,19 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
type ProgressProps = React.ComponentProps<typeof ProgressPrimitive.Root>;
|
|
6
|
+
/**
|
|
7
|
+
* Horizontal bar that indicates the completion progress of a task or operation.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Basic usage (65% complete)
|
|
12
|
+
* <Progress value={65} />
|
|
13
|
+
*
|
|
14
|
+
* // With custom styling
|
|
15
|
+
* <Progress value={40} className="h-3" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
declare function Progress({ className, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
6
19
|
|
|
7
|
-
export { Progress };
|
|
20
|
+
export { Progress, type ProgressProps };
|
|
@@ -2,7 +2,37 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
type RadioGroupProps = React.ComponentProps<typeof RadioGroupPrimitive.Root>;
|
|
6
|
+
/**
|
|
7
|
+
* Container for a set of mutually exclusive radio options.
|
|
8
|
+
* Use with {@link RadioGroupItem} to build single-selection groups.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <RadioGroup defaultValue="option-1">
|
|
13
|
+
* <div className="flex items-center gap-2">
|
|
14
|
+
* <RadioGroupItem value="option-1" id="opt1" />
|
|
15
|
+
* <Label htmlFor="opt1">Option 1</Label>
|
|
16
|
+
* </div>
|
|
17
|
+
* <div className="flex items-center gap-2">
|
|
18
|
+
* <RadioGroupItem value="option-2" id="opt2" />
|
|
19
|
+
* <Label htmlFor="opt2">Option 2</Label>
|
|
20
|
+
* </div>
|
|
21
|
+
* </RadioGroup>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare function RadioGroup({ className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
type RadioGroupItemProps = React.ComponentProps<typeof RadioGroupPrimitive.Item>;
|
|
26
|
+
/**
|
|
27
|
+
* Individual radio option within a {@link RadioGroup}.
|
|
28
|
+
* Renders as a circular indicator that fills when selected.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <RadioGroupItem value="dark" id="theme-dark" />
|
|
33
|
+
* <Label htmlFor="theme-dark">Dark mode</Label>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
declare function RadioGroupItem({ className, ...props }: RadioGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
7
37
|
|
|
8
|
-
export { RadioGroup, RadioGroupItem };
|
|
38
|
+
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };
|
|
@@ -1,14 +1,35 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
3
|
interface RatingProps {
|
|
4
|
+
/** Current rating value (e.g., `3` or `3.5` with half stars). */
|
|
4
5
|
value?: number;
|
|
6
|
+
/** Callback fired when the user clicks a star. Receives the new rating number. */
|
|
5
7
|
onChange?: (value: number) => void;
|
|
8
|
+
/** Maximum number of stars. Defaults to `5`. */
|
|
6
9
|
max?: number;
|
|
10
|
+
/** Size of the star icons. Defaults to `"md"`. */
|
|
7
11
|
size?: "sm" | "md" | "lg";
|
|
12
|
+
/** Whether the rating is display-only (non-interactive). Defaults to `false`. */
|
|
8
13
|
readonly?: boolean;
|
|
14
|
+
/** Whether half-star ratings are enabled. Defaults to `false`. */
|
|
9
15
|
allowHalf?: boolean;
|
|
16
|
+
/** Additional CSS class for the outer container. */
|
|
10
17
|
className?: string;
|
|
11
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Star rating component with hover preview and optional half-star support.
|
|
21
|
+
* Shows filled/empty/half star icons and displays the numeric value beside the stars.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* const [rating, setRating] = useState(0);
|
|
26
|
+
*
|
|
27
|
+
* <Rating value={rating} onChange={setRating} max={5} />
|
|
28
|
+
*
|
|
29
|
+
* // Read-only display with half stars:
|
|
30
|
+
* <Rating value={3.5} readonly allowHalf />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
12
33
|
declare function Rating({ value, onChange, max, size, readonly, allowHalf, className, }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
13
34
|
|
|
14
35
|
export { Rating };
|
|
@@ -2,8 +2,33 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Resizable panel layout built on `react-resizable-panels`.
|
|
7
|
+
*
|
|
8
|
+
* Groups multiple `ResizablePanel` components separated by `ResizableHandle` drag handles.
|
|
9
|
+
* Supports horizontal (default) and vertical layouts via the `direction` prop.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <ResizablePanelGroup direction="horizontal">
|
|
14
|
+
* <ResizablePanel defaultSize={50}>
|
|
15
|
+
* <div className="p-4">Left panel</div>
|
|
16
|
+
* </ResizablePanel>
|
|
17
|
+
* <ResizableHandle withHandle />
|
|
18
|
+
* <ResizablePanel defaultSize={50}>
|
|
19
|
+
* <div className="p-4">Right panel</div>
|
|
20
|
+
* </ResizablePanel>
|
|
21
|
+
* </ResizablePanelGroup>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
5
24
|
declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
/** Individual resizable panel. Use `defaultSize` (percentage) to set the initial width/height. */
|
|
6
26
|
declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* Draggable handle between resizable panels.
|
|
29
|
+
*
|
|
30
|
+
* @param withHandle - When true, renders a visible grip icon on the handle for better discoverability.
|
|
31
|
+
*/
|
|
7
32
|
declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
8
33
|
withHandle?: boolean;
|
|
9
34
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '../chunk-
|
|
1
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '../chunk-FRKG7JQY.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=resizable.js.map
|
|
4
4
|
//# sourceMappingURL=resizable.js.map
|
|
@@ -1,35 +1,78 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { LucideIcon } from 'lucide-react';
|
|
3
3
|
|
|
4
|
+
/** A small badge displayed next to a tree node name. */
|
|
4
5
|
interface ScopeTreeBadge {
|
|
6
|
+
/** Badge display text. */
|
|
5
7
|
label: string;
|
|
8
|
+
/** Optional className to style this badge. */
|
|
6
9
|
className?: string;
|
|
7
10
|
}
|
|
11
|
+
/** A node in the scope tree hierarchy. */
|
|
8
12
|
interface ScopeTreeNode {
|
|
13
|
+
/** Unique identifier for this node, or `null` for root/global nodes. */
|
|
9
14
|
id: string | null;
|
|
15
|
+
/** Display name of this scope. */
|
|
10
16
|
name: string;
|
|
17
|
+
/** Scope type key (e.g. "global", "organization", "branch", "location"). Determines the icon. */
|
|
11
18
|
type: string;
|
|
19
|
+
/** Optional child nodes for nested hierarchy. */
|
|
12
20
|
children?: ScopeTreeNode[];
|
|
21
|
+
/** Optional badges displayed next to the node name. */
|
|
13
22
|
badges?: ScopeTreeBadge[];
|
|
14
23
|
}
|
|
24
|
+
/** Represents the currently selected scope in the tree. */
|
|
15
25
|
interface ScopeTreeSelectedScope {
|
|
26
|
+
/** The scope type key of the selected node. */
|
|
16
27
|
type: string;
|
|
28
|
+
/** The ID of the selected node, or `null` for root/global nodes. */
|
|
17
29
|
id: string | null;
|
|
18
30
|
}
|
|
31
|
+
/** Localizable labels for the scope tree. Currently reserved for future extensibility. */
|
|
19
32
|
interface ScopeTreeLabels {
|
|
20
33
|
/** No labels are required by default; provided for future extensibility. */
|
|
21
34
|
[key: string]: string;
|
|
22
35
|
}
|
|
23
36
|
interface ScopeTreeProps {
|
|
37
|
+
/** Tree data: an array of root-level scope nodes. */
|
|
24
38
|
nodes: ScopeTreeNode[];
|
|
39
|
+
/** The currently selected scope (type + id). Used for highlighting. */
|
|
25
40
|
selectedScope?: ScopeTreeSelectedScope;
|
|
41
|
+
/** Callback when a node is clicked. */
|
|
26
42
|
onSelect?: (scope: ScopeTreeSelectedScope) => void;
|
|
43
|
+
/** Localizable labels. Currently reserved for future extensibility. */
|
|
27
44
|
labels?: Partial<ScopeTreeLabels>;
|
|
28
|
-
/** Default expansion depth. Nodes at depth < this value start expanded. Defaults to 1
|
|
45
|
+
/** Default expansion depth. Nodes at depth < this value start expanded. Defaults to `1`. */
|
|
29
46
|
defaultExpandDepth?: number;
|
|
30
|
-
/** Custom icon map. Falls back to built-in icons for global/organization/branch/location. */
|
|
47
|
+
/** Custom icon map keyed by scope type. Falls back to built-in icons for global/organization/branch/location. */
|
|
31
48
|
iconMap?: Record<string, LucideIcon>;
|
|
32
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Hierarchical tree view for selecting organizational scopes (e.g. global,
|
|
52
|
+
* organization, branch, location). Nodes are expandable/collapsible with
|
|
53
|
+
* chevron icons. Each node type has a dedicated icon. Supports custom icons
|
|
54
|
+
* via `iconMap` and optional badges on nodes.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```tsx
|
|
58
|
+
* const nodes: ScopeTreeNode[] = [
|
|
59
|
+
* {
|
|
60
|
+
* id: null, name: "Global", type: "global",
|
|
61
|
+
* children: [
|
|
62
|
+
* { id: "org-1", name: "Acme Corp", type: "organization", children: [
|
|
63
|
+
* { id: "br-1", name: "Tokyo HQ", type: "branch" },
|
|
64
|
+
* ]},
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* ];
|
|
68
|
+
*
|
|
69
|
+
* <ScopeTree
|
|
70
|
+
* nodes={nodes}
|
|
71
|
+
* selectedScope={{ type: "branch", id: "br-1" }}
|
|
72
|
+
* onSelect={(scope) => setSelected(scope)}
|
|
73
|
+
* />
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
33
76
|
declare function ScopeTree({ nodes, selectedScope, onSelect, defaultExpandDepth, iconMap, }: ScopeTreeProps): react_jsx_runtime.JSX.Element;
|
|
34
77
|
|
|
35
78
|
export { ScopeTree, type ScopeTreeBadge, type ScopeTreeLabels, type ScopeTreeNode, type ScopeTreeProps, type ScopeTreeSelectedScope };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ScopeTree } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ScopeTree } from '../chunk-BAQWGQJG.js';
|
|
2
|
+
import '../chunk-A3BB5ZOC.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-N47H4MHX.js';
|
|
2
|
+
import '../chunk-A3BB5ZOC.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 };
|