@omnifyjp/ui 0.1.6 → 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-EMHO6GT6.js → chunk-33DTBAFF.js} +2 -2
- 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-XRGGZOD5.js → chunk-4MD7BIEK.js} +4 -4
- 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-DR4GGX45.js → chunk-75WZR6HF.js} +3 -3
- 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-YMZJ2RYW.js → chunk-C6EAO7IA.js} +3 -3
- 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-JJHKFW6P.js → chunk-JBQT2H4K.js} +6 -6
- 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-CF2MMEOS.js → chunk-TX42RKQU.js} +2 -2
- package/dist/chunk-TX42RKQU.js.map +1 -0
- package/dist/{chunk-KRDWVQZ6.js → chunk-UAX7UJIJ.js} +2 -2
- 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-4OQTTPY4.js → chunk-UVOH3VSV.js} +4 -4
- 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-RIIADVOV.js → chunk-WNKEQCXM.js} +5 -5
- 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-KXT75MXF.js → chunk-YBMEQZX7.js} +2 -2
- package/dist/chunk-YBMEQZX7.js.map +1 -0
- package/dist/{chunk-ZPWGR4CM.js → chunk-YE7EHQ6P.js} +2 -2
- package/dist/chunk-YE7EHQ6P.js.map +1 -0
- package/dist/{chunk-74K7VSEO.js → chunk-YT3W2URB.js} +3 -3
- 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-QMABUSSD.js → chunk-ZHP73HKU.js} +2 -2
- 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-GJCHZAJO.js → chunk-ZYSFPIGY.js} +4 -4
- 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 +1 -1
- 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/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 +5 -5
- 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 +3 -3
- package/dist/components/calendar.d.ts +12 -0
- package/dist/components/calendar.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/components/combobox.d.ts +65 -0
- package/dist/components/combobox.js +4 -4
- 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 +3 -3
- 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 +1 -1
- 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 +40 -0
- package/dist/components/pagination.js +1 -1
- 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 +5 -5
- 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 +3 -3
- 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 +13 -13
- package/dist/index.js +65 -65
- package/package.json +1 -1
- package/dist/chunk-23SALQ3G.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-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.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-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
|
@@ -1,14 +1,50 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Navigation breadcrumb trail showing the current page hierarchy.
|
|
6
|
+
*
|
|
7
|
+
* Renders as a `<nav>` with `aria-label="breadcrumb"` for accessibility.
|
|
8
|
+
* Use `BreadcrumbSeparator` between items (defaults to a chevron icon)
|
|
9
|
+
* and `BreadcrumbEllipsis` for collapsed intermediate items.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Breadcrumb>
|
|
14
|
+
* <BreadcrumbList>
|
|
15
|
+
* <BreadcrumbItem>
|
|
16
|
+
* <BreadcrumbLink href="/">Home</BreadcrumbLink>
|
|
17
|
+
* </BreadcrumbItem>
|
|
18
|
+
* <BreadcrumbSeparator />
|
|
19
|
+
* <BreadcrumbItem>
|
|
20
|
+
* <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
|
|
21
|
+
* </BreadcrumbItem>
|
|
22
|
+
* <BreadcrumbSeparator />
|
|
23
|
+
* <BreadcrumbItem>
|
|
24
|
+
* <BreadcrumbPage>Current Project</BreadcrumbPage>
|
|
25
|
+
* </BreadcrumbItem>
|
|
26
|
+
* </BreadcrumbList>
|
|
27
|
+
* </Breadcrumb>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
4
30
|
declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
31
|
+
/** Ordered list container for breadcrumb items. Handles wrapping and spacing. */
|
|
5
32
|
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
33
|
+
/** Individual breadcrumb list item wrapping a link or page indicator. */
|
|
6
34
|
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* Clickable breadcrumb link. Set `asChild` to render a custom element (e.g., React Router `Link`).
|
|
37
|
+
*
|
|
38
|
+
* @param asChild - When true, renders the child element instead of an `<a>` tag.
|
|
39
|
+
*/
|
|
7
40
|
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
|
|
8
41
|
asChild?: boolean;
|
|
9
42
|
}): react_jsx_runtime.JSX.Element;
|
|
43
|
+
/** Non-interactive breadcrumb label for the current page. Rendered with `aria-current="page"`. */
|
|
10
44
|
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
45
|
+
/** Visual separator between breadcrumb items. Defaults to a `ChevronRight` icon; pass custom children to override. */
|
|
11
46
|
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
47
|
+
/** Ellipsis indicator for collapsed breadcrumb items. Renders a `MoreHorizontal` icon with screen-reader text. */
|
|
12
48
|
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
13
49
|
|
|
14
50
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '../chunk-
|
|
1
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '../chunk-7RMTPT6O.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=breadcrumb.js.map
|
|
4
4
|
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
3
|
interface CalendarCategoryBadgeProps {
|
|
4
|
+
/** The category key (e.g. "meeting", "deadline"). Determines the badge color from built-in or custom styles. */
|
|
4
5
|
category: string;
|
|
6
|
+
/** Override display label. Defaults to the raw category key. */
|
|
5
7
|
label?: string;
|
|
8
|
+
/** Custom className styles per category key, merged with built-in defaults. */
|
|
6
9
|
styles?: Record<string, string>;
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Color-coded badge for calendar event categories. Ships with built-in styles
|
|
13
|
+
* for meeting (blue), deadline (red), reminder (amber), personal (purple), and
|
|
14
|
+
* holiday (green). Custom categories can be styled via the `styles` prop.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <CalendarCategoryBadge category="meeting" label="Meeting" />
|
|
19
|
+
* <CalendarCategoryBadge category="custom" label="Custom" styles={{ custom: "bg-pink-50 text-pink-600" }} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
8
22
|
declare function CalendarCategoryBadge({ category, label, styles }: CalendarCategoryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
9
23
|
|
|
10
24
|
export { CalendarCategoryBadge, type CalendarCategoryBadgeProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { CalendarCategoryBadge } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { CalendarCategoryBadge } from '../chunk-V4ZOPVXV.js';
|
|
2
|
+
import '../chunk-OBZQTY3H.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=calendar-category-badge.js.map
|
|
5
5
|
//# sourceMappingURL=calendar-category-badge.js.map
|
|
@@ -1,18 +1,41 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
/** Event data shape required by CalendarEventChip. */
|
|
3
4
|
interface CalendarEventChipEvent {
|
|
5
|
+
/** Unique event identifier. */
|
|
4
6
|
id: string;
|
|
7
|
+
/** Display title of the event. */
|
|
5
8
|
title: string;
|
|
9
|
+
/** Event start date/time. */
|
|
6
10
|
start: Date;
|
|
11
|
+
/** Event end date/time. */
|
|
7
12
|
end: Date;
|
|
13
|
+
/** Whether this is an all-day event. When true, time is not displayed. */
|
|
8
14
|
allDay?: boolean;
|
|
15
|
+
/** CSS color string used for the chip background, text, and left border. */
|
|
9
16
|
color: string;
|
|
10
17
|
}
|
|
11
18
|
interface CalendarEventChipProps {
|
|
19
|
+
/** The event to display. */
|
|
12
20
|
event: CalendarEventChipEvent;
|
|
21
|
+
/** Use compact layout with tighter line-height. Defaults to `false`. */
|
|
13
22
|
compact?: boolean;
|
|
23
|
+
/** Callback when the chip is clicked. */
|
|
14
24
|
onClick?: (event: CalendarEventChipEvent) => void;
|
|
15
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Small colored chip representing a calendar event. Shows the event title
|
|
28
|
+
* with a colored left border and tinted background. Optionally displays
|
|
29
|
+
* the start time for non-all-day events.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <CalendarEventChip
|
|
34
|
+
* event={{ id: "1", title: "Standup", start: new Date(), end: new Date(), color: "#3b82f6" }}
|
|
35
|
+
* onClick={(e) => openDetail(e.id)}
|
|
36
|
+
* />
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
16
39
|
declare function CalendarEventChip({ event, compact, onClick }: CalendarEventChipProps): react_jsx_runtime.JSX.Element;
|
|
17
40
|
|
|
18
41
|
export { CalendarEventChip, type CalendarEventChipEvent, type CalendarEventChipProps };
|
|
@@ -1,31 +1,68 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
/** Extended event data shape for the detail sheet, including description, location, and attendees. */
|
|
3
4
|
interface CalendarEventSheetEvent {
|
|
5
|
+
/** Unique event identifier. */
|
|
4
6
|
id: string;
|
|
7
|
+
/** Display title of the event. */
|
|
5
8
|
title: string;
|
|
9
|
+
/** Optional long description or notes for the event. */
|
|
6
10
|
description?: string;
|
|
11
|
+
/** Event start date/time. */
|
|
7
12
|
start: Date;
|
|
13
|
+
/** Event end date/time. */
|
|
8
14
|
end: Date;
|
|
15
|
+
/** Whether this is an all-day event. */
|
|
9
16
|
allDay?: boolean;
|
|
17
|
+
/** CSS color string for the event. */
|
|
10
18
|
color: string;
|
|
19
|
+
/** Category key (e.g. "meeting", "deadline") used by CalendarCategoryBadge. */
|
|
11
20
|
category: string;
|
|
21
|
+
/** Optional location string. */
|
|
12
22
|
location?: string;
|
|
23
|
+
/** Optional list of attendee email addresses. */
|
|
13
24
|
attendees?: string[];
|
|
14
25
|
}
|
|
26
|
+
/** Localizable labels for the event detail sheet. All have English defaults. */
|
|
15
27
|
interface CalendarEventSheetLabels {
|
|
28
|
+
/** Text displayed for all-day events instead of a time range. */
|
|
16
29
|
allDay?: string;
|
|
30
|
+
/** Heading text for the attendees section. */
|
|
17
31
|
attendees?: string;
|
|
32
|
+
/** Label for the delete button. */
|
|
18
33
|
delete?: string;
|
|
19
34
|
}
|
|
20
35
|
interface CalendarEventSheetProps {
|
|
36
|
+
/** The event to display, or `null` to render nothing. */
|
|
21
37
|
event: CalendarEventSheetEvent | null;
|
|
38
|
+
/** Whether the sheet is open. */
|
|
22
39
|
open: boolean;
|
|
40
|
+
/** Callback to toggle the sheet open state. */
|
|
23
41
|
onOpenChange: (open: boolean) => void;
|
|
42
|
+
/** Optional callback when the delete button is clicked. Receives the event id. */
|
|
24
43
|
onDelete?: (id: string) => void;
|
|
44
|
+
/** Override display label for the category badge. */
|
|
25
45
|
categoryLabel?: string;
|
|
46
|
+
/** Custom className styles per category key for the CalendarCategoryBadge. */
|
|
26
47
|
categoryStyles?: Record<string, string>;
|
|
48
|
+
/** Localizable UI labels with English defaults. */
|
|
27
49
|
labels?: CalendarEventSheetLabels;
|
|
28
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Side sheet that displays full event details including title, category badge,
|
|
53
|
+
* description, date/time, location, attendees, and a delete action.
|
|
54
|
+
* Built on top of the Sheet component.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <CalendarEventSheet
|
|
59
|
+
* event={selectedEvent}
|
|
60
|
+
* open={sheetOpen}
|
|
61
|
+
* onOpenChange={setSheetOpen}
|
|
62
|
+
* onDelete={(id) => removeEvent(id)}
|
|
63
|
+
* />
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
29
66
|
declare function CalendarEventSheet({ event, open, onOpenChange, onDelete, categoryLabel, categoryStyles, labels: labelsProp, }: CalendarEventSheetProps): react_jsx_runtime.JSX.Element | null;
|
|
30
67
|
|
|
31
68
|
export { CalendarEventSheet, type CalendarEventSheetEvent, type CalendarEventSheetLabels, type CalendarEventSheetProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { CalendarEventSheet } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { CalendarEventSheet } from '../chunk-WNKEQCXM.js';
|
|
2
|
+
import '../chunk-JLTBUACL.js';
|
|
3
|
+
import '../chunk-V4ZOPVXV.js';
|
|
4
|
+
import '../chunk-PGWNOZDX.js';
|
|
5
5
|
import '../chunk-Y65FNGEE.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-OBZQTY3H.js';
|
|
7
7
|
import '../chunk-DGPY4WP3.js';
|
|
8
8
|
//# sourceMappingURL=calendar-event-sheet.js.map
|
|
9
9
|
//# sourceMappingURL=calendar-event-sheet.js.map
|
|
@@ -1,29 +1,65 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
/** A category that can be toggled on/off in the mini calendar's filter section. */
|
|
3
4
|
interface CalendarCategory {
|
|
5
|
+
/** Unique key for this category. */
|
|
4
6
|
key: string;
|
|
7
|
+
/** CSS color string used for the category dot. */
|
|
5
8
|
color: string;
|
|
9
|
+
/** Display label for the category. */
|
|
6
10
|
label: string;
|
|
7
11
|
}
|
|
12
|
+
/** Localizable labels for the mini calendar. All have English defaults. */
|
|
8
13
|
interface CalendarMiniLabels {
|
|
14
|
+
/** Label for Sunday column header. */
|
|
9
15
|
sun?: string;
|
|
16
|
+
/** Label for Monday column header. */
|
|
10
17
|
mon?: string;
|
|
18
|
+
/** Label for Tuesday column header. */
|
|
11
19
|
tue?: string;
|
|
20
|
+
/** Label for Wednesday column header. */
|
|
12
21
|
wed?: string;
|
|
22
|
+
/** Label for Thursday column header. */
|
|
13
23
|
thu?: string;
|
|
24
|
+
/** Label for Friday column header. */
|
|
14
25
|
fri?: string;
|
|
26
|
+
/** Label for Saturday column header. */
|
|
15
27
|
sat?: string;
|
|
28
|
+
/** Heading text for the categories filter section. */
|
|
16
29
|
categories?: string;
|
|
17
30
|
}
|
|
18
31
|
interface CalendarMiniProps {
|
|
32
|
+
/** The month to display (any date within the target month). */
|
|
19
33
|
currentDate: Date;
|
|
34
|
+
/** The currently selected date, highlighted with primary color. */
|
|
20
35
|
selectedDate: Date;
|
|
36
|
+
/** Callback when a day cell is clicked. */
|
|
21
37
|
onSelectDate: (date: Date) => void;
|
|
38
|
+
/** Optional list of event categories for the filter section. */
|
|
22
39
|
categories?: CalendarCategory[];
|
|
40
|
+
/** Keys of currently enabled categories. */
|
|
23
41
|
enabledCategories?: string[];
|
|
42
|
+
/** Callback when a category checkbox is toggled. */
|
|
24
43
|
onToggleCategory?: (key: string) => void;
|
|
44
|
+
/** Localizable UI labels with English defaults. */
|
|
25
45
|
labels?: CalendarMiniLabels;
|
|
26
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Compact month calendar with optional category filters. Designed for sidebar
|
|
49
|
+
* placement in calendar views. Locale-agnostic via the `labels` prop.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```tsx
|
|
53
|
+
* <CalendarMini
|
|
54
|
+
* currentDate={new Date()}
|
|
55
|
+
* selectedDate={selectedDate}
|
|
56
|
+
* onSelectDate={setSelectedDate}
|
|
57
|
+
* categories={[{ key: "meeting", color: "#3b82f6", label: "Meeting" }]}
|
|
58
|
+
* enabledCategories={["meeting"]}
|
|
59
|
+
* onToggleCategory={(key) => toggle(key)}
|
|
60
|
+
* />
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
27
63
|
declare function CalendarMini({ currentDate, selectedDate, onSelectDate, categories, enabledCategories, onToggleCategory, labels: labelsProp, }: CalendarMiniProps): react_jsx_runtime.JSX.Element;
|
|
28
64
|
|
|
29
65
|
export { type CalendarCategory, CalendarMini, type CalendarMiniLabels, type CalendarMiniProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CalendarMini } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { CalendarMini } from '../chunk-KTBOZ4NE.js';
|
|
2
|
+
import '../chunk-WL4ZO2H3.js';
|
|
3
|
+
import '../chunk-PGWNOZDX.js';
|
|
4
4
|
import '../chunk-DGPY4WP3.js';
|
|
5
5
|
//# sourceMappingURL=calendar-mini.js.map
|
|
6
6
|
//# sourceMappingURL=calendar-mini.js.map
|
|
@@ -1,25 +1,58 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
/** Supported calendar view modes. */
|
|
3
4
|
type CalendarView = 'month' | 'week' | 'day';
|
|
5
|
+
/** Localizable labels for the calendar toolbar. All have English defaults. */
|
|
4
6
|
interface CalendarToolbarLabels {
|
|
7
|
+
/** Label for the "Today" button. */
|
|
5
8
|
today?: string;
|
|
9
|
+
/** Label for the "Month" view toggle. */
|
|
6
10
|
month?: string;
|
|
11
|
+
/** Label for the "Week" view toggle. */
|
|
7
12
|
week?: string;
|
|
13
|
+
/** Label for the "Day" view toggle. */
|
|
8
14
|
day?: string;
|
|
15
|
+
/** Label for the "Create Event" button. */
|
|
9
16
|
createEvent?: string;
|
|
10
17
|
}
|
|
11
18
|
interface CalendarToolbarProps {
|
|
19
|
+
/** The date currently being viewed. Used for the title display. */
|
|
12
20
|
currentDate: Date;
|
|
21
|
+
/** The active calendar view mode. */
|
|
13
22
|
view: CalendarView;
|
|
23
|
+
/** Callback when the user switches between month/week/day views. */
|
|
14
24
|
onViewChange: (view: CalendarView) => void;
|
|
25
|
+
/** Navigate to the previous period. */
|
|
15
26
|
onPrev: () => void;
|
|
27
|
+
/** Navigate to the next period. */
|
|
16
28
|
onNext: () => void;
|
|
29
|
+
/** Navigate to today. */
|
|
17
30
|
onToday: () => void;
|
|
31
|
+
/** Optional callback for the "Create Event" button. Button is hidden when omitted. */
|
|
18
32
|
onCreateEvent?: () => void;
|
|
33
|
+
/** Localizable UI labels with English defaults. */
|
|
19
34
|
labels?: CalendarToolbarLabels;
|
|
20
|
-
/** date-fns format string for the title */
|
|
35
|
+
/** date-fns format string for the title. Defaults to `"MMMM yyyy"` or `"EEEE, MMMM d, yyyy"` for day view. */
|
|
21
36
|
titleFormat?: string;
|
|
22
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Toolbar for calendar views with navigation controls (prev/next/today),
|
|
40
|
+
* view mode toggle (month/week/day), and an optional "Create Event" button.
|
|
41
|
+
* Locale-agnostic via the `labels` prop.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* <CalendarToolbar
|
|
46
|
+
* currentDate={currentDate}
|
|
47
|
+
* view="month"
|
|
48
|
+
* onViewChange={setView}
|
|
49
|
+
* onPrev={handlePrev}
|
|
50
|
+
* onNext={handleNext}
|
|
51
|
+
* onToday={handleToday}
|
|
52
|
+
* onCreateEvent={() => setDialogOpen(true)}
|
|
53
|
+
* />
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
23
56
|
declare function CalendarToolbar({ currentDate, view, onViewChange, onPrev, onNext, onToday, onCreateEvent, labels: labelsProp, titleFormat: titleFormatProp, }: CalendarToolbarProps): react_jsx_runtime.JSX.Element;
|
|
24
57
|
|
|
25
58
|
export { CalendarToolbar, type CalendarToolbarLabels, type CalendarToolbarProps, type CalendarView };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CalendarToolbar } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { CalendarToolbar } from '../chunk-YT3W2URB.js';
|
|
2
|
+
import '../chunk-ZPMXRW2A.js';
|
|
3
|
+
import '../chunk-NU56GKGM.js';
|
|
4
4
|
import '../chunk-Y65FNGEE.js';
|
|
5
5
|
import '../chunk-DGPY4WP3.js';
|
|
6
6
|
//# sourceMappingURL=calendar-toolbar.js.map
|
|
@@ -2,6 +2,18 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { DayPicker } from 'react-day-picker';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Date picker calendar built on `react-day-picker`. Supports single, multiple,
|
|
7
|
+
* and range selection modes. Styled with Shadcn UI conventions.
|
|
8
|
+
*
|
|
9
|
+
* @param showOutsideDays - Whether to show days from adjacent months. Defaults to `true`.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* const [date, setDate] = useState<Date | undefined>();
|
|
14
|
+
* <Calendar mode="single" selected={date} onSelect={setDate} />
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
5
17
|
declare function Calendar({ className, classNames, showOutsideDays, ...props }: React.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
6
18
|
|
|
7
19
|
export { Calendar };
|
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Styled card container with header, title, description, action, content, and footer sub-components.
|
|
6
|
+
*
|
|
7
|
+
* Uses density tokens (`px-card`, `pt-card`, `pb-card`, `gap-card`) for consistent
|
|
8
|
+
* internal spacing that adapts to the design system.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <Card>
|
|
13
|
+
* <CardHeader>
|
|
14
|
+
* <CardTitle>Notifications</CardTitle>
|
|
15
|
+
* <CardDescription>You have 3 unread messages.</CardDescription>
|
|
16
|
+
* <CardAction>
|
|
17
|
+
* <Button variant="outline">Mark all read</Button>
|
|
18
|
+
* </CardAction>
|
|
19
|
+
* </CardHeader>
|
|
20
|
+
* <CardContent>
|
|
21
|
+
* <p>Your recent activity will appear here.</p>
|
|
22
|
+
* </CardContent>
|
|
23
|
+
* <CardFooter>
|
|
24
|
+
* <Button>View all</Button>
|
|
25
|
+
* </CardFooter>
|
|
26
|
+
* </Card>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
4
29
|
declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
30
|
+
/** Card header section. Lays out title, description, and optional action in a grid. */
|
|
5
31
|
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
32
|
+
/** Card title rendered as an `<h4>` element. */
|
|
6
33
|
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
34
|
+
/** Card description text displayed in muted foreground color. */
|
|
7
35
|
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
36
|
+
/** Card action slot positioned at the top-right of `CardHeader`. Place buttons or menus here. */
|
|
8
37
|
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
38
|
+
/** Card content area with horizontal padding. Bottom padding applied when last child. */
|
|
9
39
|
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
40
|
+
/** Card footer with horizontal layout. Typically used for action buttons. */
|
|
10
41
|
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
11
42
|
|
|
12
43
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
package/dist/components/card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-
|
|
1
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-Z2QAABLM.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=card.js.map
|
|
4
4
|
//# sourceMappingURL=card.js.map
|
|
@@ -10,15 +10,43 @@ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
|
10
10
|
type CarouselOptions = UseCarouselParameters[0];
|
|
11
11
|
type CarouselPlugin = UseCarouselParameters[1];
|
|
12
12
|
type CarouselProps = {
|
|
13
|
+
/** Embla Carousel options (e.g., `{ loop: true, align: "start" }`). */
|
|
13
14
|
opts?: CarouselOptions;
|
|
15
|
+
/** Embla Carousel plugins (e.g., Autoplay, ClassNames). */
|
|
14
16
|
plugins?: CarouselPlugin;
|
|
17
|
+
/** Scroll axis direction. Defaults to `"horizontal"`. */
|
|
15
18
|
orientation?: "horizontal" | "vertical";
|
|
19
|
+
/** Callback to receive the Embla API instance for external control. */
|
|
16
20
|
setApi?: (api: CarouselApi) => void;
|
|
17
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Carousel/slider component powered by Embla Carousel.
|
|
24
|
+
*
|
|
25
|
+
* Provides a context for child components (`CarouselContent`, `CarouselItem`,
|
|
26
|
+
* `CarouselPrevious`, `CarouselNext`). Supports horizontal/vertical orientation,
|
|
27
|
+
* keyboard navigation (arrow keys), and plugin extensibility.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <Carousel opts={{ loop: true }}>
|
|
32
|
+
* <CarouselContent>
|
|
33
|
+
* <CarouselItem>Slide 1</CarouselItem>
|
|
34
|
+
* <CarouselItem>Slide 2</CarouselItem>
|
|
35
|
+
* <CarouselItem>Slide 3</CarouselItem>
|
|
36
|
+
* </CarouselContent>
|
|
37
|
+
* <CarouselPrevious />
|
|
38
|
+
* <CarouselNext />
|
|
39
|
+
* </Carousel>
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
18
42
|
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
/** Scrollable container for `CarouselItem` elements. Manages the overflow viewport. */
|
|
19
44
|
declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
45
|
+
/** Individual slide within the carousel. Defaults to full-width (`basis-full`). */
|
|
20
46
|
declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
47
|
+
/** Navigation button to scroll to the previous slide. Automatically disabled when at the beginning. */
|
|
21
48
|
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
/** Navigation button to scroll to the next slide. Automatically disabled when at the end. */
|
|
22
50
|
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
23
51
|
|
|
24
52
|
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../chunk-
|
|
1
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../chunk-TX42RKQU.js';
|
|
2
2
|
import '../chunk-Y65FNGEE.js';
|
|
3
3
|
import '../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=carousel.js.map
|
|
@@ -6,37 +6,97 @@ declare const THEMES: {
|
|
|
6
6
|
readonly light: "";
|
|
7
7
|
readonly dark: ".dark";
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* Configuration object for chart data series. Each key maps to a data series
|
|
11
|
+
* and defines its label, optional icon, and color (either a single color or
|
|
12
|
+
* per-theme colors).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const config: ChartConfig = {
|
|
17
|
+
* revenue: { label: "Revenue", color: "var(--color-blue-500)" },
|
|
18
|
+
* expenses: { label: "Expenses", theme: { light: "#ef4444", dark: "#f87171" } },
|
|
19
|
+
* };
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
9
22
|
type ChartConfig = {
|
|
10
23
|
[k in string]: {
|
|
24
|
+
/** Display label for this data series. */
|
|
11
25
|
label?: React.ReactNode;
|
|
26
|
+
/** Optional icon component displayed in the legend. */
|
|
12
27
|
icon?: React.ComponentType;
|
|
13
28
|
} & ({
|
|
14
29
|
color?: string;
|
|
15
30
|
theme?: never;
|
|
16
31
|
} | {
|
|
17
|
-
color?: never;
|
|
32
|
+
color?: never; /** Per-theme color mapping (light/dark). */
|
|
18
33
|
theme: Record<keyof typeof THEMES, string>;
|
|
19
34
|
});
|
|
20
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* Wrapper that provides chart configuration context, injects theme-aware CSS
|
|
38
|
+
* custom properties for data series colors, and renders a Recharts
|
|
39
|
+
* `ResponsiveContainer`.
|
|
40
|
+
*
|
|
41
|
+
* @param config - Chart configuration mapping data keys to labels, icons, and colors.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* <ChartContainer config={{ revenue: { label: "Revenue", color: "#3b82f6" } }}>
|
|
46
|
+
* <BarChart data={data}>
|
|
47
|
+
* <Bar dataKey="revenue" fill="var(--color-revenue)" />
|
|
48
|
+
* </BarChart>
|
|
49
|
+
* </ChartContainer>
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
21
52
|
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
|
|
53
|
+
/** Chart configuration mapping data keys to labels, icons, and colors. */
|
|
22
54
|
config: ChartConfig;
|
|
55
|
+
/** Recharts chart element (e.g. BarChart, LineChart). */
|
|
23
56
|
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
24
57
|
}): react_jsx_runtime.JSX.Element;
|
|
58
|
+
/** Injects a `<style>` tag with CSS custom properties for chart colors, scoped to the chart container. */
|
|
25
59
|
declare const ChartStyle: ({ id, config }: {
|
|
26
60
|
id: string;
|
|
27
61
|
config: ChartConfig;
|
|
28
62
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
63
|
+
/** Re-export of Recharts Tooltip for use with ChartTooltipContent. */
|
|
29
64
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
65
|
+
/**
|
|
66
|
+
* Styled tooltip content for use inside `<ChartTooltip content={<ChartTooltipContent />} />`.
|
|
67
|
+
* Renders data series with color indicators, labels from ChartConfig, and formatted values.
|
|
68
|
+
*
|
|
69
|
+
* @param indicator - Shape of the color indicator: `"dot"`, `"line"`, or `"dashed"`.
|
|
70
|
+
* @param hideLabel - Whether to hide the tooltip header label.
|
|
71
|
+
* @param hideIndicator - Whether to hide the color indicator.
|
|
72
|
+
* @param nameKey - Data key to resolve series name from the payload.
|
|
73
|
+
* @param labelKey - Data key to resolve the tooltip header label from config.
|
|
74
|
+
*/
|
|
30
75
|
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<"div"> & {
|
|
76
|
+
/** Whether to hide the tooltip header label. */
|
|
31
77
|
hideLabel?: boolean;
|
|
78
|
+
/** Whether to hide the color indicator next to each series. */
|
|
32
79
|
hideIndicator?: boolean;
|
|
80
|
+
/** Shape of the color indicator. Defaults to `"dot"`. */
|
|
33
81
|
indicator?: "line" | "dot" | "dashed";
|
|
82
|
+
/** Data key used to resolve the series name from payload. */
|
|
34
83
|
nameKey?: string;
|
|
84
|
+
/** Data key used to resolve the header label from config. */
|
|
35
85
|
labelKey?: string;
|
|
36
86
|
}): react_jsx_runtime.JSX.Element | null;
|
|
87
|
+
/** Re-export of Recharts Legend for use with ChartLegendContent. */
|
|
37
88
|
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
89
|
+
/**
|
|
90
|
+
* Styled legend content for use inside `<ChartLegend content={<ChartLegendContent />} />`.
|
|
91
|
+
* Renders a horizontal list of series labels with color indicators or custom icons from ChartConfig.
|
|
92
|
+
*
|
|
93
|
+
* @param hideIcon - Whether to hide the color dot / custom icon.
|
|
94
|
+
* @param nameKey - Data key to resolve the series name from payload.
|
|
95
|
+
*/
|
|
38
96
|
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
97
|
+
/** Whether to hide the color indicator or custom icon. */
|
|
39
98
|
hideIcon?: boolean;
|
|
99
|
+
/** Data key used to resolve the series name from payload. */
|
|
40
100
|
nameKey?: string;
|
|
41
101
|
}): react_jsx_runtime.JSX.Element | null;
|
|
42
102
|
|
package/dist/components/chart.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from '../chunk-
|
|
1
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from '../chunk-B434PORR.js';
|
|
2
2
|
import '../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=chart.js.map
|
|
4
4
|
//# sourceMappingURL=chart.js.map
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
3
3
|
|
|
4
|
+
type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
|
|
5
|
+
/**
|
|
6
|
+
* Checkable input that allows selecting one or more options from a set.
|
|
7
|
+
* Supports checked, unchecked, and indeterminate states.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Basic usage
|
|
12
|
+
* <Checkbox id="terms" />
|
|
13
|
+
* <Label htmlFor="terms">Accept terms</Label>
|
|
14
|
+
*
|
|
15
|
+
* // Controlled
|
|
16
|
+
* <Checkbox checked={accepted} onCheckedChange={setAccepted} />
|
|
17
|
+
*
|
|
18
|
+
* // Indeterminate (partial selection)
|
|
19
|
+
* <Checkbox checked="indeterminate" />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
4
22
|
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
23
|
|
|
6
|
-
export { Checkbox };
|
|
24
|
+
export { Checkbox, type CheckboxProps };
|