@omnifyjp/ui 0.5.2 → 1.0.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/README.md +3 -6
- package/dist/chunk-2C2HRGM7.js +51 -0
- package/dist/chunk-2C2HRGM7.js.map +1 -0
- package/dist/chunk-2TUWDXAC.js +196 -0
- package/dist/chunk-2TUWDXAC.js.map +1 -0
- package/dist/chunk-34ARZSNP.js +63 -0
- package/dist/chunk-34ARZSNP.js.map +1 -0
- package/dist/chunk-35DNN46W.js +13 -0
- package/dist/chunk-35DNN46W.js.map +1 -0
- package/dist/chunk-35U6QG4P.js +116 -0
- package/dist/chunk-35U6QG4P.js.map +1 -0
- package/dist/chunk-36YYHIJU.js +52 -0
- package/dist/chunk-36YYHIJU.js.map +1 -0
- package/dist/chunk-3EOHW4QN.js +35 -0
- package/dist/chunk-3EOHW4QN.js.map +1 -0
- package/dist/chunk-3VU56V66.js +41 -0
- package/dist/chunk-3VU56V66.js.map +1 -0
- package/dist/chunk-55E7D2HR.js +99 -0
- package/dist/chunk-55E7D2HR.js.map +1 -0
- package/dist/chunk-67YUL2ZS.js +53 -0
- package/dist/chunk-67YUL2ZS.js.map +1 -0
- package/dist/chunk-6DIDQ4TB.js +131 -0
- package/dist/chunk-6DIDQ4TB.js.map +1 -0
- package/dist/chunk-6GWVQB3Q.js +155 -0
- package/dist/chunk-6GWVQB3Q.js.map +1 -0
- package/dist/chunk-75WZR6HF.js +44 -0
- package/dist/chunk-75WZR6HF.js.map +1 -0
- package/dist/chunk-7IRLBU2I.js +114 -0
- package/dist/chunk-7IRLBU2I.js.map +1 -0
- package/dist/chunk-7RMTPT6O.js +99 -0
- package/dist/chunk-7RMTPT6O.js.map +1 -0
- package/dist/chunk-7XH3MGBR.js +128 -0
- 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-BAQWGQJG.js +106 -0
- package/dist/chunk-BAQWGQJG.js.map +1 -0
- package/dist/chunk-BRSM3SZP.js +46 -0
- package/dist/chunk-BRSM3SZP.js.map +1 -0
- package/dist/chunk-C34KSTWA.js +43 -0
- package/dist/chunk-C34KSTWA.js.map +1 -0
- package/dist/chunk-C5NZAOA7.js +54 -0
- package/dist/chunk-C5NZAOA7.js.map +1 -0
- package/dist/chunk-CUZR4JWM.js +23 -0
- package/dist/chunk-CUZR4JWM.js.map +1 -0
- package/dist/chunk-DGPY4WP3.js +11 -0
- package/dist/chunk-DGPY4WP3.js.map +1 -0
- package/dist/chunk-DNCZOUNY.js +239 -0
- package/dist/chunk-DNCZOUNY.js.map +1 -0
- package/dist/chunk-EWBCV7VA.js +65 -0
- package/dist/chunk-EWBCV7VA.js.map +1 -0
- package/dist/chunk-F2ZJLKDP.js +119 -0
- package/dist/chunk-F2ZJLKDP.js.map +1 -0
- package/dist/chunk-FLWMT4DB.js +66 -0
- package/dist/chunk-FLWMT4DB.js.map +1 -0
- package/dist/chunk-FRKG7JQY.js +48 -0
- package/dist/chunk-FRKG7JQY.js.map +1 -0
- package/dist/chunk-G7HTZBUR.js +187 -0
- package/dist/chunk-G7HTZBUR.js.map +1 -0
- package/dist/chunk-HWTW64R5.js +90 -0
- package/dist/chunk-HWTW64R5.js.map +1 -0
- package/dist/chunk-IAWKX5W4.js +219 -0
- package/dist/chunk-IAWKX5W4.js.map +1 -0
- package/dist/chunk-INLM7UJC.js +238 -0
- package/dist/chunk-INLM7UJC.js.map +1 -0
- package/dist/chunk-JAJMM32I.js +18 -0
- package/dist/chunk-JAJMM32I.js.map +1 -0
- package/dist/chunk-JJSVA3TH.js +61 -0
- package/dist/chunk-JJSVA3TH.js.map +1 -0
- package/dist/chunk-JLTBUACL.js +121 -0
- package/dist/chunk-JLTBUACL.js.map +1 -0
- package/dist/chunk-JRU2QX7T.js +38 -0
- package/dist/chunk-JRU2QX7T.js.map +1 -0
- package/dist/chunk-JXGRW2MR.js +17 -0
- package/dist/chunk-JXGRW2MR.js.map +1 -0
- package/dist/chunk-KTBOZ4NE.js +93 -0
- package/dist/chunk-KTBOZ4NE.js.map +1 -0
- package/dist/chunk-LMT327XH.js +56 -0
- package/dist/chunk-LMT327XH.js.map +1 -0
- package/dist/chunk-LTTNCAAA.js +138 -0
- package/dist/chunk-LTTNCAAA.js.map +1 -0
- package/dist/chunk-LVZNNIK4.js +111 -0
- package/dist/chunk-LVZNNIK4.js.map +1 -0
- package/dist/chunk-MJLFJPUG.js +143 -0
- package/dist/chunk-MJLFJPUG.js.map +1 -0
- package/dist/chunk-MZ2P566X.js +65 -0
- package/dist/chunk-MZ2P566X.js.map +1 -0
- package/dist/chunk-N47H4MHX.js +41 -0
- package/dist/chunk-N47H4MHX.js.map +1 -0
- package/dist/chunk-NNJTKHCE.js +160 -0
- package/dist/chunk-NNJTKHCE.js.map +1 -0
- package/dist/chunk-NPL2R5LD.js +171 -0
- package/dist/chunk-NPL2R5LD.js.map +1 -0
- package/dist/chunk-NU56GKGM.js +44 -0
- package/dist/chunk-NU56GKGM.js.map +1 -0
- package/dist/chunk-P3M5TZD2.js +24 -0
- package/dist/chunk-P3M5TZD2.js.map +1 -0
- package/dist/chunk-PGWNOZDX.js +28 -0
- package/dist/chunk-PGWNOZDX.js.map +1 -0
- package/dist/chunk-QB3UWRZH.js +92 -0
- package/dist/chunk-QB3UWRZH.js.map +1 -0
- package/dist/chunk-R2CDE5DO.js +33 -0
- package/dist/chunk-R2CDE5DO.js.map +1 -0
- package/dist/chunk-RQNZDWY3.js +65 -0
- package/dist/chunk-RQNZDWY3.js.map +1 -0
- package/dist/chunk-S6PDRGR5.js +109 -0
- 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-THQUH6WX.js +81 -0
- package/dist/chunk-THQUH6WX.js.map +1 -0
- package/dist/chunk-TJMK2KBE.js +112 -0
- package/dist/chunk-TJMK2KBE.js.map +1 -0
- package/dist/chunk-TTH7TWVX.js +30 -0
- package/dist/chunk-TTH7TWVX.js.map +1 -0
- package/dist/chunk-USIHM7FV.js +211 -0
- package/dist/chunk-USIHM7FV.js.map +1 -0
- package/dist/chunk-VVYSAGB3.js +104 -0
- package/dist/chunk-VVYSAGB3.js.map +1 -0
- package/dist/chunk-WD5KZE25.js +25 -0
- package/dist/chunk-WD5KZE25.js.map +1 -0
- package/dist/chunk-WL4ZO2H3.js +33 -0
- package/dist/chunk-WL4ZO2H3.js.map +1 -0
- package/dist/chunk-WRCHR4AK.js +23 -0
- package/dist/chunk-WRCHR4AK.js.map +1 -0
- package/dist/chunk-WS6E7HBT.js +39 -0
- package/dist/chunk-WS6E7HBT.js.map +1 -0
- package/dist/chunk-XOJJBNDX.js +33 -0
- package/dist/chunk-XOJJBNDX.js.map +1 -0
- package/dist/chunk-YBMEQZX7.js +164 -0
- package/dist/chunk-YBMEQZX7.js.map +1 -0
- package/dist/chunk-Z2QAABLM.js +86 -0
- package/dist/chunk-Z2QAABLM.js.map +1 -0
- package/dist/chunk-ZHEKDP5X.js +41 -0
- package/dist/chunk-ZHEKDP5X.js.map +1 -0
- package/dist/chunk-ZPMXRW2A.js +63 -0
- package/dist/chunk-ZPMXRW2A.js.map +1 -0
- package/dist/chunk-ZYEGBF7G.js +25 -0
- package/dist/chunk-ZYEGBF7G.js.map +1 -0
- package/dist/components/accordion.d.ts +37 -70
- package/dist/components/accordion.js +2 -1
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/alert-dialog.d.ts +56 -1
- package/dist/components/alert-dialog.js +3 -1
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.d.ts +68 -1
- package/dist/components/alert.js +2 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/aspect-ratio.d.ts +23 -1
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/aspect-ratio.js.map +1 -1
- package/dist/components/avatar.d.ts +48 -1
- package/dist/components/avatar.js +2 -1
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.d.ts +52 -1
- package/dist/components/badge.js +2 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.d.ts +50 -1
- package/dist/components/breadcrumb.js +2 -1
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/button.d.ts +81 -1
- package/dist/components/button.js +2 -1
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar-category-badge.d.ts +24 -1
- package/dist/components/calendar-category-badge.js +3 -1
- package/dist/components/calendar-category-badge.js.map +1 -1
- package/dist/components/calendar-event-chip.d.ts +41 -1
- package/dist/components/calendar-event-chip.js +2 -1
- package/dist/components/calendar-event-chip.js.map +1 -1
- package/dist/components/calendar-event-sheet.d.ts +68 -1
- package/dist/components/calendar-event-sheet.js +7 -1
- package/dist/components/calendar-event-sheet.js.map +1 -1
- package/dist/components/calendar-mini.d.ts +65 -1
- package/dist/components/calendar-mini.js +4 -1
- package/dist/components/calendar-mini.js.map +1 -1
- package/dist/components/calendar-toolbar.d.ts +58 -1
- package/dist/components/calendar-toolbar.js +5 -1
- package/dist/components/calendar-toolbar.js.map +1 -1
- package/dist/components/calendar.d.ts +19 -1
- package/dist/components/calendar.js +3 -1
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.d.ts +43 -1
- package/dist/components/card.js +2 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.d.ts +53 -1
- package/dist/components/carousel.js +3 -1
- package/dist/components/carousel.js.map +1 -1
- package/dist/components/chart.d.ts +125 -1
- package/dist/components/chart.js +2 -1
- package/dist/components/chart.js.map +1 -1
- package/dist/components/checkbox.d.ts +24 -1
- package/dist/components/checkbox.js +2 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts +28 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/color-picker.d.ts +35 -1
- package/dist/components/color-picker.js +5 -1
- package/dist/components/color-picker.js.map +1 -1
- package/dist/components/combobox.d.ts +98 -1
- package/dist/components/combobox.js +6 -1
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/command.d.ts +63 -1
- package/dist/components/command.js +3 -1
- package/dist/components/command.js.map +1 -1
- package/dist/components/context-menu.d.ts +70 -1
- package/dist/components/context-menu.js +2 -1
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/date-picker.d.ts +71 -1
- package/dist/components/date-picker.js +5 -1
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/dialog.d.ts +58 -1
- package/dist/components/dialog.js +2 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/drawer.d.ts +60 -1
- package/dist/components/drawer.js +2 -1
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.d.ts +76 -1
- package/dist/components/dropdown-menu.js +2 -1
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/file-upload.d.ts +44 -1
- package/dist/components/file-upload.js +3 -1
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/form.d.ts +67 -1
- package/dist/components/form.js +3 -1
- package/dist/components/form.js.map +1 -1
- package/dist/components/hover-card.d.ts +43 -1
- package/dist/components/hover-card.js +2 -1
- package/dist/components/hover-card.js.map +1 -1
- package/dist/components/input-otp.d.ts +38 -1
- package/dist/components/input-otp.js +2 -1
- package/dist/components/input-otp.js.map +1 -1
- package/dist/components/input.d.ts +38 -1
- package/dist/components/input.js +2 -1
- package/dist/components/input.js.map +1 -1
- package/dist/components/label.d.ts +20 -1
- package/dist/components/label.js +2 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/menubar.d.ts +82 -1
- package/dist/components/menubar.js +2 -1
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/navigation-menu.d.ts +64 -1
- package/dist/components/navigation-menu.js +2 -1
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/pagination.d.ts +59 -1
- package/dist/components/pagination.js +3 -1
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/password-input.d.ts +32 -1
- package/dist/components/password-input.js +3 -1
- package/dist/components/password-input.js.map +1 -1
- package/dist/components/permission-grid.d.ts +67 -1
- package/dist/components/permission-grid.js +3 -1
- package/dist/components/permission-grid.js.map +1 -1
- package/dist/components/popover.d.ts +37 -1
- package/dist/components/popover.js +2 -1
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress.d.ts +20 -1
- package/dist/components/progress.js +2 -1
- package/dist/components/progress.js.map +1 -1
- package/dist/components/radio-group.d.ts +38 -1
- package/dist/components/radio-group.js +2 -1
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/rating.d.ts +35 -1
- package/dist/components/rating.js +2 -1
- package/dist/components/rating.js.map +1 -1
- package/dist/components/resizable.d.ts +36 -1
- package/dist/components/resizable.js +2 -1
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/scope-tree.d.ts +78 -1
- package/dist/components/scope-tree.js +3 -1
- package/dist/components/scope-tree.js.map +1 -1
- package/dist/components/scope-type-badge.d.ts +35 -1
- package/dist/components/scope-type-badge.js +3 -1
- package/dist/components/scope-type-badge.js.map +1 -1
- package/dist/components/scroll-area.d.ts +29 -1
- package/dist/components/scroll-area.js +2 -1
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.d.ts +52 -1
- package/dist/components/select.js +2 -1
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.d.ts +24 -1
- package/dist/components/separator.js +2 -1
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.d.ts +51 -1
- package/dist/components/sheet.js +2 -1
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/skeleton.d.ts +25 -1
- package/dist/components/skeleton.js +2 -1
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/slider.d.ts +24 -1
- package/dist/components/slider.js +2 -1
- package/dist/components/slider.js.map +1 -1
- package/dist/components/slug-input.d.ts +50 -1
- package/dist/components/slug-input.js +4 -1
- package/dist/components/slug-input.js.map +1 -1
- package/dist/components/sonner.d.ts +22 -1
- package/dist/components/sonner.js +1 -1
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/stage-type-badge.d.ts +30 -1
- package/dist/components/stage-type-badge.js +3 -1
- package/dist/components/stage-type-badge.js.map +1 -1
- package/dist/components/switch.d.ts +26 -1
- package/dist/components/switch.js +2 -1
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.d.ts +57 -1
- package/dist/components/table.js +2 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.d.ts +39 -1
- package/dist/components/tabs.js +2 -1
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tag-input.d.ts +40 -1
- package/dist/components/tag-input.js +3 -1
- package/dist/components/tag-input.js.map +1 -1
- package/dist/components/textarea.d.ts +21 -1
- package/dist/components/textarea.js +2 -1
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/time-picker.d.ts +57 -1
- package/dist/components/time-picker.js +6 -1
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toggle-group.d.ts +45 -1
- package/dist/components/toggle-group.js +3 -1
- package/dist/components/toggle-group.js.map +1 -1
- package/dist/components/toggle.d.ts +31 -1
- package/dist/components/toggle.js +2 -1
- package/dist/components/toggle.js.map +1 -1
- package/dist/components/tooltip.d.ts +34 -1
- package/dist/components/tooltip.js +2 -1
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/workflow-category-badge.d.ts +32 -1
- package/dist/components/workflow-category-badge.js +3 -1
- package/dist/components/workflow-category-badge.js.map +1 -1
- package/dist/components/workflow-diagram.d.ts +63 -1
- package/dist/components/workflow-diagram.js +3 -1
- package/dist/components/workflow-diagram.js.map +1 -1
- package/dist/components/workflow-status-badge.d.ts +30 -1
- package/dist/components/workflow-status-badge.js +3 -1
- package/dist/components/workflow-status-badge.js.map +1 -1
- package/dist/components/workflow-stepper.d.ts +52 -1
- package/dist/components/workflow-stepper.js +2 -1
- package/dist/components/workflow-stepper.js.map +1 -1
- package/dist/hooks/use-mobile.d.ts +3 -1
- package/dist/hooks/use-mobile.js +1 -1
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/index.d.ts +108 -13
- package/dist/index.js +69 -11
- package/dist/lib/types.d.ts +84 -1
- package/dist/lib/types.js +1 -1
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/utils.d.ts +5 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/package.json +69 -30
- package/src/styles/fonts.css +0 -0
- package/src/styles/index.css +3 -1
- package/src/styles/tailwind.css +4 -0
- package/src/styles/theme.css +461 -0
- package/dist/chunk-2ZIFL2X3.js +0 -189
- package/dist/chunk-2ZIFL2X3.js.map +0 -1
- package/dist/chunk-5BL4VFRJ.js +0 -57
- package/dist/chunk-5BL4VFRJ.js.map +0 -1
- package/dist/chunk-5D3OAVOZ.js +0 -91
- package/dist/chunk-5D3OAVOZ.js.map +0 -1
- package/dist/chunk-DTM76EJD.js +0 -235
- package/dist/chunk-DTM76EJD.js.map +0 -1
- package/dist/chunk-EJEVW4RO.js +0 -49
- package/dist/chunk-EJEVW4RO.js.map +0 -1
- package/dist/chunk-O25D7DCP.js +0 -72
- package/dist/chunk-O25D7DCP.js.map +0 -1
- package/dist/chunk-OY3PSPA5.js +0 -661
- package/dist/chunk-OY3PSPA5.js.map +0 -1
- package/dist/chunk-RSCXIS4D.js +0 -37
- package/dist/chunk-RSCXIS4D.js.map +0 -1
- package/dist/chunk-SHHZRZMM.js +0 -83
- package/dist/chunk-SHHZRZMM.js.map +0 -1
- package/dist/chunk-X57K24P3.js +0 -224
- package/dist/chunk-X57K24P3.js.map +0 -1
- package/dist/chunk-XDXGUPCR.js +0 -123
- package/dist/chunk-XDXGUPCR.js.map +0 -1
- package/dist/components/AppShell.d.ts +0 -27
- package/dist/components/AppShell.js +0 -11
- package/dist/components/AppShell.js.map +0 -1
- package/dist/components/Header.d.ts +0 -11
- package/dist/components/Header.js +0 -6
- package/dist/components/Header.js.map +0 -1
- package/dist/components/OrganizationSelector.d.ts +0 -8
- package/dist/components/OrganizationSelector.js +0 -4
- package/dist/components/OrganizationSelector.js.map +0 -1
- package/dist/components/OrganizationSetupModal.d.ts +0 -5
- package/dist/components/OrganizationSetupModal.js +0 -4
- package/dist/components/OrganizationSetupModal.js.map +0 -1
- package/dist/components/PageContainer.d.ts +0 -105
- package/dist/components/PageContainer.js +0 -3
- package/dist/components/PageContainer.js.map +0 -1
- package/dist/components/ServiceMenu.d.ts +0 -11
- package/dist/components/ServiceMenu.js +0 -3
- package/dist/components/ServiceMenu.js.map +0 -1
- package/dist/components/Sidebar.d.ts +0 -11
- package/dist/components/Sidebar.js +0 -5
- package/dist/components/Sidebar.js.map +0 -1
- package/dist/contexts/OrganizationContext.d.ts +0 -26
- package/dist/contexts/OrganizationContext.js +0 -3
- package/dist/contexts/OrganizationContext.js.map +0 -1
- package/dist/contexts/ThemeContext.d.ts +0 -14
- package/dist/contexts/ThemeContext.js +0 -3
- package/dist/contexts/ThemeContext.js.map +0 -1
- package/dist/hooks/useDateFormat.d.ts +0 -28
- package/dist/hooks/useDateFormat.js +0 -4
- package/dist/hooks/useDateFormat.js.map +0 -1
- package/dist/i18n.d.ts +0 -38
- package/dist/i18n.js +0 -3
- package/dist/i18n.js.map +0 -1
- package/dist/types.d.ts +0 -89
- package/dist/types.js +0 -3
- package/dist/types.js.map +0 -1
|
@@ -1 +1,65 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
/** A category that can be toggled on/off in the mini calendar's filter section. */
|
|
4
|
+
interface CalendarCategory {
|
|
5
|
+
/** Unique key for this category. */
|
|
6
|
+
key: string;
|
|
7
|
+
/** CSS color string used for the category dot. */
|
|
8
|
+
color: string;
|
|
9
|
+
/** Display label for the category. */
|
|
10
|
+
label: string;
|
|
11
|
+
}
|
|
12
|
+
/** Localizable labels for the mini calendar. All have English defaults. */
|
|
13
|
+
interface CalendarMiniLabels {
|
|
14
|
+
/** Label for Sunday column header. */
|
|
15
|
+
sun?: string;
|
|
16
|
+
/** Label for Monday column header. */
|
|
17
|
+
mon?: string;
|
|
18
|
+
/** Label for Tuesday column header. */
|
|
19
|
+
tue?: string;
|
|
20
|
+
/** Label for Wednesday column header. */
|
|
21
|
+
wed?: string;
|
|
22
|
+
/** Label for Thursday column header. */
|
|
23
|
+
thu?: string;
|
|
24
|
+
/** Label for Friday column header. */
|
|
25
|
+
fri?: string;
|
|
26
|
+
/** Label for Saturday column header. */
|
|
27
|
+
sat?: string;
|
|
28
|
+
/** Heading text for the categories filter section. */
|
|
29
|
+
categories?: string;
|
|
30
|
+
}
|
|
31
|
+
interface CalendarMiniProps {
|
|
32
|
+
/** The month to display (any date within the target month). */
|
|
33
|
+
currentDate: Date;
|
|
34
|
+
/** The currently selected date, highlighted with primary color. */
|
|
35
|
+
selectedDate: Date;
|
|
36
|
+
/** Callback when a day cell is clicked. */
|
|
37
|
+
onSelectDate: (date: Date) => void;
|
|
38
|
+
/** Optional list of event categories for the filter section. */
|
|
39
|
+
categories?: CalendarCategory[];
|
|
40
|
+
/** Keys of currently enabled categories. */
|
|
41
|
+
enabledCategories?: string[];
|
|
42
|
+
/** Callback when a category checkbox is toggled. */
|
|
43
|
+
onToggleCategory?: (key: string) => void;
|
|
44
|
+
/** Localizable UI labels with English defaults. */
|
|
45
|
+
labels?: CalendarMiniLabels;
|
|
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
|
+
*/
|
|
63
|
+
declare function CalendarMini({ currentDate, selectedDate, onSelectDate, categories, enabledCategories, onToggleCategory, labels: labelsProp, }: CalendarMiniProps): react_jsx_runtime.JSX.Element;
|
|
64
|
+
|
|
65
|
+
export { type CalendarCategory, CalendarMini, type CalendarMiniLabels, type CalendarMiniProps };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CalendarMini } from '../chunk-KTBOZ4NE.js';
|
|
2
|
+
import '../chunk-WL4ZO2H3.js';
|
|
3
|
+
import '../chunk-PGWNOZDX.js';
|
|
4
|
+
import '../chunk-DGPY4WP3.js';
|
|
2
5
|
//# sourceMappingURL=calendar-mini.js.map
|
|
3
6
|
//# sourceMappingURL=calendar-mini.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-mini.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-mini.js"}
|
|
@@ -1 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
/** Supported calendar view modes. */
|
|
4
|
+
type CalendarView = 'month' | 'week' | 'day';
|
|
5
|
+
/** Localizable labels for the calendar toolbar. All have English defaults. */
|
|
6
|
+
interface CalendarToolbarLabels {
|
|
7
|
+
/** Label for the "Today" button. */
|
|
8
|
+
today?: string;
|
|
9
|
+
/** Label for the "Month" view toggle. */
|
|
10
|
+
month?: string;
|
|
11
|
+
/** Label for the "Week" view toggle. */
|
|
12
|
+
week?: string;
|
|
13
|
+
/** Label for the "Day" view toggle. */
|
|
14
|
+
day?: string;
|
|
15
|
+
/** Label for the "Create Event" button. */
|
|
16
|
+
createEvent?: string;
|
|
17
|
+
}
|
|
18
|
+
interface CalendarToolbarProps {
|
|
19
|
+
/** The date currently being viewed. Used for the title display. */
|
|
20
|
+
currentDate: Date;
|
|
21
|
+
/** The active calendar view mode. */
|
|
22
|
+
view: CalendarView;
|
|
23
|
+
/** Callback when the user switches between month/week/day views. */
|
|
24
|
+
onViewChange: (view: CalendarView) => void;
|
|
25
|
+
/** Navigate to the previous period. */
|
|
26
|
+
onPrev: () => void;
|
|
27
|
+
/** Navigate to the next period. */
|
|
28
|
+
onNext: () => void;
|
|
29
|
+
/** Navigate to today. */
|
|
30
|
+
onToday: () => void;
|
|
31
|
+
/** Optional callback for the "Create Event" button. Button is hidden when omitted. */
|
|
32
|
+
onCreateEvent?: () => void;
|
|
33
|
+
/** Localizable UI labels with English defaults. */
|
|
34
|
+
labels?: CalendarToolbarLabels;
|
|
35
|
+
/** date-fns format string for the title. Defaults to `"MMMM yyyy"` or `"EEEE, MMMM d, yyyy"` for day view. */
|
|
36
|
+
titleFormat?: string;
|
|
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
|
+
*/
|
|
56
|
+
declare function CalendarToolbar({ currentDate, view, onViewChange, onPrev, onNext, onToday, onCreateEvent, labels: labelsProp, titleFormat: titleFormatProp, }: CalendarToolbarProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
|
|
58
|
+
export { CalendarToolbar, type CalendarToolbarLabels, type CalendarToolbarProps, type CalendarView };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CalendarToolbar } from '../chunk-36YYHIJU.js';
|
|
2
|
+
import '../chunk-ZPMXRW2A.js';
|
|
3
|
+
import '../chunk-NU56GKGM.js';
|
|
4
|
+
import '../chunk-55E7D2HR.js';
|
|
5
|
+
import '../chunk-DGPY4WP3.js';
|
|
2
6
|
//# sourceMappingURL=calendar-toolbar.js.map
|
|
3
7
|
//# sourceMappingURL=calendar-toolbar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-toolbar.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-toolbar.js"}
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { DayPicker } from 'react-day-picker';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Date picker calendar built on `react-day-picker` v9. 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
|
+
*/
|
|
17
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: React.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { Calendar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar.js"}
|
|
@@ -1 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
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
|
+
*/
|
|
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. */
|
|
31
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
32
|
+
/** Card title rendered as an `<h4>` element. */
|
|
33
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
34
|
+
/** Card description text displayed in muted foreground color. */
|
|
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. */
|
|
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. */
|
|
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. */
|
|
41
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
42
|
+
|
|
43
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
package/dist/components/card.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-Z2QAABLM.js';
|
|
2
|
+
import '../chunk-DGPY4WP3.js';
|
|
2
3
|
//# sourceMappingURL=card.js.map
|
|
3
4
|
//# sourceMappingURL=card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"card.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"card.js"}
|
|
@@ -1 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import useEmblaCarousel from 'embla-carousel-react';
|
|
4
|
+
import { Button } from './button.js';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import 'class-variance-authority';
|
|
7
|
+
import '../lib/types.js';
|
|
8
|
+
|
|
9
|
+
type CarouselApi = ReturnType<typeof useEmblaCarousel>[1];
|
|
10
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
11
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
12
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
13
|
+
type CarouselProps = {
|
|
14
|
+
/** Embla Carousel options (e.g., `{ loop: true, align: "start" }`). */
|
|
15
|
+
opts?: CarouselOptions;
|
|
16
|
+
/** Embla Carousel plugins (e.g., Autoplay, ClassNames). */
|
|
17
|
+
plugins?: CarouselPlugin;
|
|
18
|
+
/** Scroll axis direction. Defaults to `"horizontal"`. */
|
|
19
|
+
orientation?: "horizontal" | "vertical";
|
|
20
|
+
/** Callback to receive the Embla API instance for external control. */
|
|
21
|
+
setApi?: (api: CarouselApi) => void;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Carousel/slider component powered by Embla Carousel.
|
|
25
|
+
*
|
|
26
|
+
* Provides a context for child components (`CarouselContent`, `CarouselItem`,
|
|
27
|
+
* `CarouselPrevious`, `CarouselNext`). Supports horizontal/vertical orientation,
|
|
28
|
+
* keyboard navigation (arrow keys), and plugin extensibility.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <Carousel opts={{ loop: true }}>
|
|
33
|
+
* <CarouselContent>
|
|
34
|
+
* <CarouselItem>Slide 1</CarouselItem>
|
|
35
|
+
* <CarouselItem>Slide 2</CarouselItem>
|
|
36
|
+
* <CarouselItem>Slide 3</CarouselItem>
|
|
37
|
+
* </CarouselContent>
|
|
38
|
+
* <CarouselPrevious />
|
|
39
|
+
* <CarouselNext />
|
|
40
|
+
* </Carousel>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
/** Scrollable container for `CarouselItem` elements. Manages the overflow viewport. */
|
|
45
|
+
declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
46
|
+
/** Individual slide within the carousel. Defaults to full-width (`basis-full`). */
|
|
47
|
+
declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
48
|
+
/** Navigation button to scroll to the previous slide. Automatically disabled when at the beginning. */
|
|
49
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
50
|
+
/** Navigation button to scroll to the next slide. Automatically disabled when at the end. */
|
|
51
|
+
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
52
|
+
|
|
53
|
+
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../chunk-2TUWDXAC.js';
|
|
2
|
+
import '../chunk-55E7D2HR.js';
|
|
3
|
+
import '../chunk-DGPY4WP3.js';
|
|
2
4
|
//# sourceMappingURL=carousel.js.map
|
|
3
5
|
//# sourceMappingURL=carousel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"carousel.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"carousel.js"}
|
|
@@ -1 +1,125 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as RechartsPrimitive from 'recharts';
|
|
4
|
+
|
|
5
|
+
declare const THEMES: {
|
|
6
|
+
readonly light: "";
|
|
7
|
+
readonly dark: ".dark";
|
|
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
|
+
*/
|
|
22
|
+
type ChartConfig = {
|
|
23
|
+
[k in string]: {
|
|
24
|
+
/** Display label for this data series. */
|
|
25
|
+
label?: React.ReactNode;
|
|
26
|
+
/** Optional icon component displayed in the legend. */
|
|
27
|
+
icon?: React.ComponentType;
|
|
28
|
+
} & ({
|
|
29
|
+
color?: string;
|
|
30
|
+
theme?: never;
|
|
31
|
+
} | {
|
|
32
|
+
color?: never; /** Per-theme color mapping (light/dark). */
|
|
33
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
34
|
+
});
|
|
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
|
+
*/
|
|
52
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
|
|
53
|
+
/** Chart configuration mapping data keys to labels, icons, and colors. */
|
|
54
|
+
config: ChartConfig;
|
|
55
|
+
/** Recharts chart element (e.g. BarChart, LineChart). */
|
|
56
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
57
|
+
}): react_jsx_runtime.JSX.Element;
|
|
58
|
+
/** Injects a `<style>` tag with CSS custom properties for chart colors, scoped to the chart container. */
|
|
59
|
+
declare const ChartStyle: ({ id, config }: {
|
|
60
|
+
id: string;
|
|
61
|
+
config: ChartConfig;
|
|
62
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
63
|
+
/** Re-export of Recharts Tooltip for use with ChartTooltipContent. */
|
|
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
|
+
*/
|
|
75
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<"div"> & {
|
|
76
|
+
active?: boolean;
|
|
77
|
+
payload?: Array<{
|
|
78
|
+
name?: string;
|
|
79
|
+
value?: string | number;
|
|
80
|
+
dataKey?: string;
|
|
81
|
+
color?: string;
|
|
82
|
+
fill?: string;
|
|
83
|
+
payload?: Record<string, unknown>;
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
}>;
|
|
86
|
+
label?: string;
|
|
87
|
+
labelClassName?: string;
|
|
88
|
+
labelFormatter?: (label: unknown, payload: Array<Record<string, unknown>>) => React.ReactNode;
|
|
89
|
+
formatter?: (value: unknown, name: string, item: Record<string, unknown>, index: number, payload: unknown) => React.ReactNode;
|
|
90
|
+
color?: string;
|
|
91
|
+
/** Whether to hide the tooltip header label. */
|
|
92
|
+
hideLabel?: boolean;
|
|
93
|
+
/** Whether to hide the color indicator next to each series. */
|
|
94
|
+
hideIndicator?: boolean;
|
|
95
|
+
/** Shape of the color indicator. Defaults to `"dot"`. */
|
|
96
|
+
indicator?: "line" | "dot" | "dashed";
|
|
97
|
+
/** Data key used to resolve the series name from payload. */
|
|
98
|
+
nameKey?: string;
|
|
99
|
+
/** Data key used to resolve the header label from config. */
|
|
100
|
+
labelKey?: string;
|
|
101
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
102
|
+
/** Re-export of Recharts Legend for use with ChartLegendContent. */
|
|
103
|
+
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
104
|
+
/**
|
|
105
|
+
* Styled legend content for use inside `<ChartLegend content={<ChartLegendContent />} />`.
|
|
106
|
+
* Renders a horizontal list of series labels with color indicators or custom icons from ChartConfig.
|
|
107
|
+
*
|
|
108
|
+
* @param hideIcon - Whether to hide the color dot / custom icon.
|
|
109
|
+
* @param nameKey - Data key to resolve the series name from payload.
|
|
110
|
+
*/
|
|
111
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & {
|
|
112
|
+
payload?: Array<{
|
|
113
|
+
value?: string;
|
|
114
|
+
dataKey?: string;
|
|
115
|
+
color?: string;
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
}>;
|
|
118
|
+
verticalAlign?: "top" | "bottom" | "middle";
|
|
119
|
+
/** Whether to hide the color indicator or custom icon. */
|
|
120
|
+
hideIcon?: boolean;
|
|
121
|
+
/** Data key used to resolve the series name from payload. */
|
|
122
|
+
nameKey?: string;
|
|
123
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
124
|
+
|
|
125
|
+
export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
|
package/dist/components/chart.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from '../chunk-DNCZOUNY.js';
|
|
2
|
+
import '../chunk-DGPY4WP3.js';
|
|
2
3
|
//# sourceMappingURL=chart.js.map
|
|
3
4
|
//# sourceMappingURL=chart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chart.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chart.js"}
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
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
|
+
*/
|
|
22
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
23
|
+
|
|
24
|
+
export { Checkbox, type CheckboxProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"checkbox.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"checkbox.js"}
|
|
@@ -1 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Expandable/collapsible container built on Radix Collapsible.
|
|
6
|
+
*
|
|
7
|
+
* Manages open/closed state for a single content region. For multiple
|
|
8
|
+
* collapsible sections, consider using `Accordion` instead.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <Collapsible>
|
|
13
|
+
* <CollapsibleTrigger asChild>
|
|
14
|
+
* <Button variant="ghost">Toggle details</Button>
|
|
15
|
+
* </CollapsibleTrigger>
|
|
16
|
+
* <CollapsibleContent>
|
|
17
|
+
* <p>Hidden content revealed on toggle.</p>
|
|
18
|
+
* </CollapsibleContent>
|
|
19
|
+
* </Collapsible>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
23
|
+
/** Button or element that toggles the collapsible open/closed state. Supports `asChild` for custom trigger elements. */
|
|
24
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
/** Content region that shows/hides when the collapsible is toggled. */
|
|
26
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
27
|
+
|
|
28
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"collapsible.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"collapsible.js"}
|
|
@@ -1 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface ColorPickerProps {
|
|
4
|
+
/** Currently selected color as a hex string (e.g., `"#3B82F6"`). */
|
|
5
|
+
value?: string;
|
|
6
|
+
/** Callback fired when a color is selected. Receives a hex string. */
|
|
7
|
+
onChange?: (color: string) => void;
|
|
8
|
+
/** Additional CSS class for the trigger button. */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Whether the color picker is disabled. */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Whether to show the preset color grid. Defaults to `true`. */
|
|
13
|
+
showPresets?: boolean;
|
|
14
|
+
/** Whether to show the custom hex input with native color picker. Defaults to `true`. */
|
|
15
|
+
showInput?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Color picker with a popover containing preset color swatches and an optional custom hex input.
|
|
19
|
+
* The trigger button shows the currently selected color swatch and its hex value.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* const [color, setColor] = useState("#3B82F6");
|
|
24
|
+
*
|
|
25
|
+
* <ColorPicker
|
|
26
|
+
* value={color}
|
|
27
|
+
* onChange={setColor}
|
|
28
|
+
* showPresets
|
|
29
|
+
* showInput
|
|
30
|
+
* />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
declare function ColorPicker({ value, onChange, className, disabled, showPresets, showInput, }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
35
|
+
export { ColorPicker };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ColorPicker } from '../chunk-MJLFJPUG.js';
|
|
2
|
+
import '../chunk-3VU56V66.js';
|
|
3
|
+
import '../chunk-C34KSTWA.js';
|
|
4
|
+
import '../chunk-55E7D2HR.js';
|
|
5
|
+
import '../chunk-DGPY4WP3.js';
|
|
2
6
|
//# sourceMappingURL=color-picker.js.map
|
|
3
7
|
//# sourceMappingURL=color-picker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"color-picker.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"color-picker.js"}
|