@omnifyjp/ui 0.5.3 → 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 -0
- package/dist/components/accordion.js +4 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/alert-dialog.d.ts +56 -0
- package/dist/components/alert-dialog.js +5 -0
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/alert.d.ts +68 -0
- package/dist/components/alert.js +4 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/aspect-ratio.d.ts +23 -0
- package/dist/components/aspect-ratio.js +3 -0
- package/dist/components/aspect-ratio.js.map +1 -0
- package/dist/components/avatar.d.ts +48 -0
- package/dist/components/avatar.js +4 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.d.ts +52 -0
- package/dist/components/badge.js +4 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/breadcrumb.d.ts +50 -0
- package/dist/components/breadcrumb.js +4 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button.d.ts +81 -0
- package/dist/components/button.js +4 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/calendar-category-badge.d.ts +24 -0
- package/dist/components/calendar-category-badge.js +5 -0
- package/dist/components/calendar-category-badge.js.map +1 -0
- package/dist/components/calendar-event-chip.d.ts +41 -0
- package/dist/components/calendar-event-chip.js +4 -0
- package/dist/components/calendar-event-chip.js.map +1 -0
- package/dist/components/calendar-event-sheet.d.ts +68 -0
- package/dist/components/calendar-event-sheet.js +9 -0
- package/dist/components/calendar-event-sheet.js.map +1 -0
- package/dist/components/calendar-mini.d.ts +65 -0
- package/dist/components/calendar-mini.js +6 -0
- package/dist/components/calendar-mini.js.map +1 -0
- package/dist/components/calendar-toolbar.d.ts +58 -0
- package/dist/components/calendar-toolbar.js +7 -0
- package/dist/components/calendar-toolbar.js.map +1 -0
- package/dist/components/calendar.d.ts +19 -0
- package/dist/components/calendar.js +5 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/card.d.ts +43 -0
- package/dist/components/card.js +4 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/carousel.d.ts +53 -0
- package/dist/components/carousel.js +5 -0
- package/dist/components/carousel.js.map +1 -0
- package/dist/components/chart.d.ts +125 -0
- package/dist/components/chart.js +4 -0
- package/dist/components/chart.js.map +1 -0
- package/dist/components/checkbox.d.ts +24 -0
- package/dist/components/checkbox.js +4 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/collapsible.d.ts +28 -0
- package/dist/components/collapsible.js +3 -0
- package/dist/components/collapsible.js.map +1 -0
- package/dist/components/color-picker.d.ts +35 -0
- package/dist/components/color-picker.js +7 -0
- package/dist/components/color-picker.js.map +1 -0
- package/dist/components/combobox.d.ts +98 -0
- package/dist/components/combobox.js +8 -0
- package/dist/components/combobox.js.map +1 -0
- package/dist/components/command.d.ts +63 -0
- package/dist/components/command.js +5 -0
- package/dist/components/command.js.map +1 -0
- package/dist/components/context-menu.d.ts +70 -0
- package/dist/components/context-menu.js +4 -0
- package/dist/components/context-menu.js.map +1 -0
- package/dist/components/date-picker.d.ts +71 -0
- package/dist/components/date-picker.js +7 -0
- package/dist/components/date-picker.js.map +1 -0
- package/dist/components/dialog.d.ts +58 -0
- package/dist/components/dialog.js +4 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/drawer.d.ts +60 -0
- package/dist/components/drawer.js +4 -0
- package/dist/components/drawer.js.map +1 -0
- package/dist/components/dropdown-menu.d.ts +76 -0
- package/dist/components/dropdown-menu.js +4 -0
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/file-upload.d.ts +44 -0
- package/dist/components/file-upload.js +5 -0
- package/dist/components/file-upload.js.map +1 -0
- package/dist/components/form.d.ts +67 -0
- package/dist/components/form.js +5 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/hover-card.d.ts +43 -0
- package/dist/components/hover-card.js +4 -0
- package/dist/components/hover-card.js.map +1 -0
- package/dist/components/input-otp.d.ts +38 -0
- package/dist/components/input-otp.js +4 -0
- package/dist/components/input-otp.js.map +1 -0
- package/dist/components/input.d.ts +38 -0
- package/dist/components/input.js +4 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/label.d.ts +20 -0
- package/dist/components/label.js +4 -0
- package/dist/components/label.js.map +1 -0
- package/dist/components/menubar.d.ts +82 -0
- package/dist/components/menubar.js +4 -0
- package/dist/components/menubar.js.map +1 -0
- package/dist/components/navigation-menu.d.ts +64 -0
- package/dist/components/navigation-menu.js +4 -0
- package/dist/components/navigation-menu.js.map +1 -0
- package/dist/components/pagination.d.ts +59 -0
- package/dist/components/pagination.js +5 -0
- package/dist/components/pagination.js.map +1 -0
- package/dist/components/password-input.d.ts +32 -0
- package/dist/components/password-input.js +5 -0
- package/dist/components/password-input.js.map +1 -0
- package/dist/components/permission-grid.d.ts +67 -0
- package/dist/components/permission-grid.js +5 -0
- package/dist/components/permission-grid.js.map +1 -0
- package/dist/components/popover.d.ts +37 -0
- package/dist/components/popover.js +4 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.d.ts +20 -0
- package/dist/components/progress.js +4 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/radio-group.d.ts +38 -0
- package/dist/components/radio-group.js +4 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/rating.d.ts +35 -0
- package/dist/components/rating.js +4 -0
- package/dist/components/rating.js.map +1 -0
- package/dist/components/resizable.d.ts +36 -0
- package/dist/components/resizable.js +4 -0
- package/dist/components/resizable.js.map +1 -0
- package/dist/components/scope-tree.d.ts +78 -0
- package/dist/components/scope-tree.js +5 -0
- package/dist/components/scope-tree.js.map +1 -0
- package/dist/components/scope-type-badge.d.ts +35 -0
- package/dist/components/scope-type-badge.js +5 -0
- package/dist/components/scope-type-badge.js.map +1 -0
- package/dist/components/scroll-area.d.ts +29 -0
- package/dist/components/scroll-area.js +4 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/select.d.ts +52 -0
- package/dist/components/select.js +4 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/separator.d.ts +24 -0
- package/dist/components/separator.js +4 -0
- package/dist/components/separator.js.map +1 -0
- package/dist/components/sheet.d.ts +51 -0
- package/dist/components/sheet.js +4 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/skeleton.d.ts +25 -0
- package/dist/components/skeleton.js +4 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.d.ts +24 -0
- package/dist/components/slider.js +4 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/slug-input.d.ts +50 -0
- package/dist/components/slug-input.js +6 -0
- package/dist/components/slug-input.js.map +1 -0
- package/dist/components/sonner.d.ts +22 -0
- package/dist/components/sonner.js +3 -0
- package/dist/components/sonner.js.map +1 -0
- package/dist/components/stage-type-badge.d.ts +30 -0
- package/dist/components/stage-type-badge.js +5 -0
- package/dist/components/stage-type-badge.js.map +1 -0
- package/dist/components/switch.d.ts +26 -0
- package/dist/components/switch.js +4 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +57 -0
- package/dist/components/table.js +4 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.d.ts +39 -0
- package/dist/components/tabs.js +4 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/tag-input.d.ts +40 -0
- package/dist/components/tag-input.js +5 -0
- package/dist/components/tag-input.js.map +1 -0
- package/dist/components/textarea.d.ts +21 -0
- package/dist/components/textarea.js +4 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/time-picker.d.ts +57 -0
- package/dist/components/time-picker.js +8 -0
- package/dist/components/time-picker.js.map +1 -0
- package/dist/components/toggle-group.d.ts +45 -0
- package/dist/components/toggle-group.js +5 -0
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.d.ts +31 -0
- package/dist/components/toggle.js +4 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/tooltip.d.ts +34 -0
- package/dist/components/tooltip.js +4 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/components/workflow-category-badge.d.ts +32 -0
- package/dist/components/workflow-category-badge.js +5 -0
- package/dist/components/workflow-category-badge.js.map +1 -0
- package/dist/components/workflow-diagram.d.ts +63 -0
- package/dist/components/workflow-diagram.js +5 -0
- package/dist/components/workflow-diagram.js.map +1 -0
- package/dist/components/workflow-status-badge.d.ts +30 -0
- package/dist/components/workflow-status-badge.js +5 -0
- package/dist/components/workflow-status-badge.js.map +1 -0
- package/dist/components/workflow-stepper.d.ts +52 -0
- package/dist/components/workflow-stepper.js +4 -0
- package/dist/components/workflow-stepper.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +3 -3
- package/dist/hooks/use-mobile.js +1 -1
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/index.d.ts +108 -15
- package/dist/index.js +69 -13
- 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 +68 -31
- 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-2GN4WIOV.js +0 -240
- package/dist/chunk-2GN4WIOV.js.map +0 -1
- package/dist/chunk-5BL4VFRJ.js +0 -57
- package/dist/chunk-5BL4VFRJ.js.map +0 -1
- package/dist/chunk-735JNJJO.js +0 -27
- package/dist/chunk-735JNJJO.js.map +0 -1
- package/dist/chunk-EJEVW4RO.js +0 -49
- package/dist/chunk-EJEVW4RO.js.map +0 -1
- package/dist/chunk-FVOQZTHE.js +0 -191
- package/dist/chunk-FVOQZTHE.js.map +0 -1
- package/dist/chunk-ITXOZ4IR.js +0 -85
- package/dist/chunk-ITXOZ4IR.js.map +0 -1
- package/dist/chunk-NVPNMQSR.js +0 -30
- package/dist/chunk-NVPNMQSR.js.map +0 -1
- package/dist/chunk-O25D7DCP.js +0 -72
- package/dist/chunk-O25D7DCP.js.map +0 -1
- package/dist/chunk-O2ADW2GC.js +0 -224
- package/dist/chunk-O2ADW2GC.js.map +0 -1
- package/dist/chunk-OY3PSPA5.js +0 -661
- package/dist/chunk-OY3PSPA5.js.map +0 -1
- package/dist/chunk-UASABUQA.js +0 -39
- package/dist/chunk-UASABUQA.js.map +0 -1
- package/dist/chunk-UR2QLIS2.js +0 -93
- package/dist/chunk-UR2QLIS2.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 -13
- package/dist/components/AppShell.js.map +0 -1
- package/dist/components/Header.d.ts +0 -11
- package/dist/components/Header.js +0 -9
- package/dist/components/Header.js.map +0 -1
- package/dist/components/LanguageSelector.d.ts +0 -11
- package/dist/components/LanguageSelector.js +0 -5
- package/dist/components/LanguageSelector.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/LanguageContext.d.ts +0 -17
- package/dist/contexts/LanguageContext.js +0 -4
- package/dist/contexts/LanguageContext.js.map +0 -1
- package/dist/contexts/OrganizationContext.d.ts +0 -28
- 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 -91
- package/dist/types.js +0 -3
- package/dist/types.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,112 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/accordion.js';
|
|
2
|
+
export { Alert, AlertDescription, AlertTitle } from './components/alert.js';
|
|
3
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/alert-dialog.js';
|
|
4
|
+
export { AspectRatio } from './components/aspect-ratio.js';
|
|
5
|
+
export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps } from './components/avatar.js';
|
|
6
|
+
export { Badge, BadgeProps, badgeVariants } from './components/badge.js';
|
|
7
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './components/breadcrumb.js';
|
|
8
|
+
export { Button, ButtonProps, buttonVariants } from './components/button.js';
|
|
9
|
+
export { Calendar } from './components/calendar.js';
|
|
10
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/card.js';
|
|
11
|
+
export { Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './components/carousel.js';
|
|
12
|
+
export { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from './components/chart.js';
|
|
13
|
+
export { Checkbox, CheckboxProps } from './components/checkbox.js';
|
|
14
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './components/collapsible.js';
|
|
15
|
+
export { ColorPicker } from './components/color-picker.js';
|
|
16
|
+
export { Combobox, ComboboxOption, MultiCombobox } from './components/combobox.js';
|
|
17
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './components/command.js';
|
|
18
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './components/context-menu.js';
|
|
19
|
+
export { DatePicker, DateRangePicker } from './components/date-picker.js';
|
|
20
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/dialog.js';
|
|
21
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/drawer.js';
|
|
22
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/dropdown-menu.js';
|
|
23
|
+
export { FileUpload } from './components/file-upload.js';
|
|
24
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/form.js';
|
|
25
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/hover-card.js';
|
|
26
|
+
export { Input, InputProps, inputVariants } from './components/input.js';
|
|
27
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './components/input-otp.js';
|
|
28
|
+
export { PasswordInput, PasswordInputProps } from './components/password-input.js';
|
|
29
|
+
export { Label, LabelProps } from './components/label.js';
|
|
30
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './components/menubar.js';
|
|
31
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './components/navigation-menu.js';
|
|
32
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/pagination.js';
|
|
33
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './components/popover.js';
|
|
34
|
+
export { Progress, ProgressProps } from './components/progress.js';
|
|
35
|
+
export { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from './components/radio-group.js';
|
|
36
|
+
export { Rating } from './components/rating.js';
|
|
37
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './components/resizable.js';
|
|
38
|
+
export { ScrollArea, ScrollBar } from './components/scroll-area.js';
|
|
39
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './components/select.js';
|
|
40
|
+
export { Separator, SeparatorProps } from './components/separator.js';
|
|
41
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './components/sheet.js';
|
|
42
|
+
export { Skeleton, SkeletonProps } from './components/skeleton.js';
|
|
43
|
+
export { Slider, SliderProps } from './components/slider.js';
|
|
44
|
+
export { Toaster } from './components/sonner.js';
|
|
45
|
+
export { Switch, SwitchProps } from './components/switch.js';
|
|
46
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/table.js';
|
|
47
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/tabs.js';
|
|
48
|
+
export { TagInput } from './components/tag-input.js';
|
|
49
|
+
export { Textarea, TextareaProps } from './components/textarea.js';
|
|
50
|
+
export { TimeInput, TimePicker } from './components/time-picker.js';
|
|
51
|
+
export { Toggle, ToggleProps, toggleVariants } from './components/toggle.js';
|
|
52
|
+
export { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from './components/toggle-group.js';
|
|
53
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/tooltip.js';
|
|
54
|
+
export { CalendarCategory, CalendarMini, CalendarMiniLabels, CalendarMiniProps } from './components/calendar-mini.js';
|
|
55
|
+
export { CalendarEventChip, CalendarEventChipEvent, CalendarEventChipProps } from './components/calendar-event-chip.js';
|
|
56
|
+
export { CalendarEventSheet, CalendarEventSheetEvent, CalendarEventSheetLabels, CalendarEventSheetProps } from './components/calendar-event-sheet.js';
|
|
57
|
+
export { CalendarToolbar, CalendarToolbarLabels, CalendarToolbarProps, CalendarView } from './components/calendar-toolbar.js';
|
|
58
|
+
export { CalendarCategoryBadge, CalendarCategoryBadgeProps } from './components/calendar-category-badge.js';
|
|
59
|
+
export { WorkflowStepper, WorkflowStepperHistoryEntry, WorkflowStepperProps, WorkflowStepperStage } from './components/workflow-stepper.js';
|
|
60
|
+
export { WorkflowDiagram, WorkflowDiagramLabels, WorkflowDiagramProps, WorkflowDiagramStage, WorkflowDiagramStageType } from './components/workflow-diagram.js';
|
|
61
|
+
export { WorkflowStatus, WorkflowStatusBadge, WorkflowStatusBadgeProps } from './components/workflow-status-badge.js';
|
|
62
|
+
export { WorkflowCategory, WorkflowCategoryBadge, WorkflowCategoryBadgeProps } from './components/workflow-category-badge.js';
|
|
63
|
+
export { StageType, StageTypeBadge, StageTypeBadgeProps } from './components/stage-type-badge.js';
|
|
64
|
+
export { PermissionDefinition, PermissionGrid, PermissionGridLabels, PermissionGridProps, PermissionModule, buildPermissionId } from './components/permission-grid.js';
|
|
65
|
+
export { ScopeTree, ScopeTreeBadge, ScopeTreeLabels, ScopeTreeNode, ScopeTreeProps, ScopeTreeSelectedScope } from './components/scope-tree.js';
|
|
66
|
+
export { ScopeTypeBadge, ScopeTypeBadgeProps, ScopeTypeBadgeStyles } from './components/scope-type-badge.js';
|
|
67
|
+
export { SlugInput, SlugInputLabels, SlugInputProps, generateSlug } from './components/slug-input.js';
|
|
68
|
+
export { UIColor, UISize, UIVariant } from './lib/types.js';
|
|
69
|
+
export { cn } from './lib/utils.js';
|
|
70
|
+
export { useIsMobile } from './hooks/use-mobile.js';
|
|
16
71
|
import 'react/jsx-runtime';
|
|
17
72
|
import 'react';
|
|
73
|
+
import '@radix-ui/react-accordion';
|
|
74
|
+
import 'class-variance-authority/types';
|
|
75
|
+
import 'class-variance-authority';
|
|
76
|
+
import '@radix-ui/react-alert-dialog';
|
|
77
|
+
import '@radix-ui/react-aspect-ratio';
|
|
78
|
+
import '@radix-ui/react-avatar';
|
|
79
|
+
import 'react-day-picker';
|
|
80
|
+
import 'embla-carousel-react';
|
|
81
|
+
import 'recharts';
|
|
82
|
+
import '@radix-ui/react-checkbox';
|
|
83
|
+
import '@radix-ui/react-collapsible';
|
|
84
|
+
import 'cmdk';
|
|
85
|
+
import '@radix-ui/react-context-menu';
|
|
18
86
|
import 'date-fns';
|
|
87
|
+
import '@radix-ui/react-dialog';
|
|
88
|
+
import 'vaul';
|
|
89
|
+
import '@radix-ui/react-dropdown-menu';
|
|
90
|
+
import 'react-hook-form';
|
|
91
|
+
import '@radix-ui/react-label';
|
|
92
|
+
import '@radix-ui/react-slot';
|
|
93
|
+
import '@radix-ui/react-hover-card';
|
|
94
|
+
import 'input-otp';
|
|
95
|
+
import '@radix-ui/react-menubar';
|
|
96
|
+
import '@radix-ui/react-navigation-menu';
|
|
97
|
+
import '@radix-ui/react-popover';
|
|
98
|
+
import '@radix-ui/react-progress';
|
|
99
|
+
import '@radix-ui/react-radio-group';
|
|
100
|
+
import 'react-resizable-panels';
|
|
101
|
+
import '@radix-ui/react-scroll-area';
|
|
102
|
+
import '@radix-ui/react-select';
|
|
103
|
+
import '@radix-ui/react-separator';
|
|
104
|
+
import '@radix-ui/react-slider';
|
|
105
|
+
import 'sonner';
|
|
106
|
+
import '@radix-ui/react-switch';
|
|
107
|
+
import '@radix-ui/react-tabs';
|
|
108
|
+
import '@radix-ui/react-toggle';
|
|
109
|
+
import '@radix-ui/react-toggle-group';
|
|
110
|
+
import '@radix-ui/react-tooltip';
|
|
19
111
|
import 'lucide-react';
|
|
112
|
+
import 'clsx';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,71 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
1
|
+
export { WorkflowCategoryBadge } from './chunk-2C2HRGM7.js';
|
|
2
|
+
export { WorkflowDiagram } from './chunk-MZ2P566X.js';
|
|
3
|
+
export { WorkflowStatusBadge } from './chunk-ZYEGBF7G.js';
|
|
4
|
+
export { WorkflowStepper } from './chunk-LMT327XH.js';
|
|
5
|
+
export { useIsMobile } from './chunk-WRCHR4AK.js';
|
|
6
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-S6PDRGR5.js';
|
|
7
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-FLWMT4DB.js';
|
|
8
|
+
export { TagInput } from './chunk-VVYSAGB3.js';
|
|
9
|
+
export { Textarea } from './chunk-WD5KZE25.js';
|
|
10
|
+
export { TimeInput, TimePicker } from './chunk-6DIDQ4TB.js';
|
|
11
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-C5NZAOA7.js';
|
|
12
|
+
export { Skeleton } from './chunk-JXGRW2MR.js';
|
|
13
|
+
export { Slider } from './chunk-EWBCV7VA.js';
|
|
14
|
+
export { SlugInput, generateSlug } from './chunk-75WZR6HF.js';
|
|
15
|
+
export { Toaster } from './chunk-CUZR4JWM.js';
|
|
16
|
+
export { StageTypeBadge } from './chunk-ZHEKDP5X.js';
|
|
17
|
+
export { Switch } from './chunk-XOJJBNDX.js';
|
|
18
|
+
export { Progress } from './chunk-R2CDE5DO.js';
|
|
19
|
+
export { RadioGroup, RadioGroupItem } from './chunk-BRSM3SZP.js';
|
|
20
|
+
export { Rating } from './chunk-35U6QG4P.js';
|
|
21
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './chunk-FRKG7JQY.js';
|
|
22
|
+
export { ScopeTree } from './chunk-BAQWGQJG.js';
|
|
23
|
+
export { ScopeTypeBadge } from './chunk-N47H4MHX.js';
|
|
24
|
+
export { ScrollArea, ScrollBar } from './chunk-JJSVA3TH.js';
|
|
25
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './chunk-NNJTKHCE.js';
|
|
26
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './chunk-INLM7UJC.js';
|
|
27
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './chunk-YBMEQZX7.js';
|
|
28
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './chunk-7IRLBU2I.js';
|
|
29
|
+
export { PasswordInput } from './chunk-WS6E7HBT.js';
|
|
30
|
+
export { PermissionGrid, buildPermissionId } from './chunk-TJMK2KBE.js';
|
|
31
|
+
export { DatePicker, DateRangePicker } from './chunk-HWTW64R5.js';
|
|
32
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-7XH3MGBR.js';
|
|
33
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-IAWKX5W4.js';
|
|
34
|
+
export { FileUpload } from './chunk-G7HTZBUR.js';
|
|
35
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './chunk-LVZNNIK4.js';
|
|
36
|
+
export { Label } from './chunk-P3M5TZD2.js';
|
|
37
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './chunk-JRU2QX7T.js';
|
|
38
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './chunk-RQNZDWY3.js';
|
|
39
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './chunk-2TUWDXAC.js';
|
|
40
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from './chunk-DNCZOUNY.js';
|
|
41
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-3EOHW4QN.js';
|
|
42
|
+
export { ColorPicker } from './chunk-MJLFJPUG.js';
|
|
43
|
+
export { Input, inputVariants } from './chunk-3VU56V66.js';
|
|
44
|
+
export { Combobox, MultiCombobox } from './chunk-NPL2R5LD.js';
|
|
45
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './chunk-C34KSTWA.js';
|
|
46
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './chunk-6GWVQB3Q.js';
|
|
47
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './chunk-F2ZJLKDP.js';
|
|
48
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './chunk-USIHM7FV.js';
|
|
49
|
+
export { CalendarEventChip } from './chunk-TTH7TWVX.js';
|
|
50
|
+
export { CalendarEventSheet } from './chunk-THQUH6WX.js';
|
|
51
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './chunk-JLTBUACL.js';
|
|
52
|
+
export { CalendarCategoryBadge } from './chunk-JAJMM32I.js';
|
|
53
|
+
export { CalendarMini } from './chunk-KTBOZ4NE.js';
|
|
54
|
+
export { Checkbox } from './chunk-WL4ZO2H3.js';
|
|
55
|
+
export { Separator } from './chunk-PGWNOZDX.js';
|
|
56
|
+
export { CalendarToolbar } from './chunk-36YYHIJU.js';
|
|
57
|
+
export { ToggleGroup, ToggleGroupItem } from './chunk-ZPMXRW2A.js';
|
|
58
|
+
export { Toggle, toggleVariants } from './chunk-NU56GKGM.js';
|
|
59
|
+
export { Calendar } from './chunk-QB3UWRZH.js';
|
|
60
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-Z2QAABLM.js';
|
|
61
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './chunk-34ARZSNP.js';
|
|
62
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './chunk-LTTNCAAA.js';
|
|
63
|
+
export { Button, buttonVariants } from './chunk-55E7D2HR.js';
|
|
64
|
+
export { Alert, AlertDescription, AlertTitle } from './chunk-TGYQ3AKH.js';
|
|
65
|
+
export { AspectRatio } from './chunk-35DNN46W.js';
|
|
66
|
+
export { Avatar, AvatarFallback, AvatarImage } from './chunk-67YUL2ZS.js';
|
|
67
|
+
export { Badge, badgeVariants } from './chunk-A3BB5ZOC.js';
|
|
68
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './chunk-7RMTPT6O.js';
|
|
69
|
+
export { cn } from './chunk-DGPY4WP3.js';
|
|
14
70
|
//# sourceMappingURL=index.js.map
|
|
15
71
|
//# sourceMappingURL=index.js.map
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -1 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Shared UI types for @omnifyjp/ui components.
|
|
3
|
+
*
|
|
4
|
+
* These types enforce consistent APIs across Button, Badge, Alert, and future components.
|
|
5
|
+
* Import from `@omnifyjp/ui` or `@omnifyjp/ui/lib/types`.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* import type { UIColor, UISize } from '@omnifyjp/ui';
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Semantic color intent for UI components.
|
|
14
|
+
*
|
|
15
|
+
* Each color maps to a pair of CSS custom properties in theme.css:
|
|
16
|
+
* `--{color}` (background) and `--{color}-foreground` (text on that background).
|
|
17
|
+
*
|
|
18
|
+
* | Color | CSS Variable | Default (Light) | Use for |
|
|
19
|
+
* |-------|-------------|-----------------|---------|
|
|
20
|
+
* | `primary` | `--primary` | `#030213` | Main actions, active states |
|
|
21
|
+
* | `destructive` | `--destructive` | `#d4183d` | Delete, errors, dangerous actions |
|
|
22
|
+
* | `success` | `--success` | `#10b981` | Confirmed, approved, completed |
|
|
23
|
+
* | `warning` | `--warning` | `#f59e0b` | Caution, needs attention |
|
|
24
|
+
* | `info` | `--info` | `#3b82f6` | Informational, neutral highlights |
|
|
25
|
+
*
|
|
26
|
+
* Consumers override these via CSS custom properties:
|
|
27
|
+
* ```css
|
|
28
|
+
* :root { --primary: #dc2626; }
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <Button color="success">Approve</Button>
|
|
34
|
+
* <Badge color="warning">Pending</Badge>
|
|
35
|
+
* <Alert color="info">Tip: use keyboard shortcuts</Alert>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
type UIColor = 'primary' | 'destructive' | 'success' | 'warning' | 'info';
|
|
39
|
+
/**
|
|
40
|
+
* Visual display variant for UI components.
|
|
41
|
+
*
|
|
42
|
+
* Controls **how** the color is rendered, independent of **which** color.
|
|
43
|
+
* Combine with `color` prop for full flexibility: `variant="outline" color="destructive"`.
|
|
44
|
+
*
|
|
45
|
+
* | Variant | Description |
|
|
46
|
+
* |---------|-------------|
|
|
47
|
+
* | `default` | Solid filled background with contrasting text |
|
|
48
|
+
* | `secondary` | Muted/gray background (color-independent) |
|
|
49
|
+
* | `outline` | Border with transparent background, colored text |
|
|
50
|
+
* | `soft` | Light tinted background (10% opacity of color) |
|
|
51
|
+
* | `ghost` | Transparent, shows tinted background on hover |
|
|
52
|
+
* | `link` | Text-only with underline on hover |
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```tsx
|
|
56
|
+
* <Button variant="soft" color="success">Approve</Button>
|
|
57
|
+
* <Button variant="outline" color="destructive">Reject</Button>
|
|
58
|
+
* <Badge variant="soft" color="warning">In Review</Badge>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
type UIVariant = 'default' | 'secondary' | 'outline' | 'soft' | 'ghost' | 'link';
|
|
62
|
+
/**
|
|
63
|
+
* Standard size scale for UI components.
|
|
64
|
+
*
|
|
65
|
+
* Maps to density tokens in theme.css for consistent sizing across the system.
|
|
66
|
+
*
|
|
67
|
+
* | Size | Height Token | Pixels | Use for |
|
|
68
|
+
* |------|-------------|--------|---------|
|
|
69
|
+
* | `xs` | `h-element-xs` | 24px | Compact tables, inline actions |
|
|
70
|
+
* | `sm` | `h-element-sm` | 28px | Secondary actions, tight layouts |
|
|
71
|
+
* | `default` | `h-element` | 32px | Standard buttons, inputs |
|
|
72
|
+
* | `lg` | `h-element-lg` | 36px | Primary CTAs, form actions |
|
|
73
|
+
* | `xl` | `h-element-xl` | 44px | Login forms, hero sections |
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```tsx
|
|
77
|
+
* <Button size="sm">Edit</Button>
|
|
78
|
+
* <Button size="xl" block>Sign In</Button>
|
|
79
|
+
* <Input size="lg" />
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
type UISize = 'xs' | 'sm' | 'default' | 'lg' | 'xl';
|
|
83
|
+
|
|
84
|
+
export type { UIColor, UISize, UIVariant };
|
package/dist/lib/types.js
CHANGED
package/dist/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/dist/lib/utils.d.ts
CHANGED
package/dist/lib/utils.js
CHANGED
package/dist/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"utils.js"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"utils.js"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnifyjp/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"sideEffects":
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"*.css"
|
|
10
|
+
],
|
|
9
11
|
"exports": {
|
|
10
12
|
".": {
|
|
11
13
|
"types": "./dist/index.d.ts",
|
|
@@ -15,58 +17,93 @@
|
|
|
15
17
|
"types": "./dist/components/*.d.ts",
|
|
16
18
|
"import": "./dist/components/*.js"
|
|
17
19
|
},
|
|
18
|
-
"./contexts/*": {
|
|
19
|
-
"types": "./dist/contexts/*.d.ts",
|
|
20
|
-
"import": "./dist/contexts/*.js"
|
|
21
|
-
},
|
|
22
20
|
"./hooks/*": {
|
|
23
21
|
"types": "./dist/hooks/*.d.ts",
|
|
24
22
|
"import": "./dist/hooks/*.js"
|
|
25
23
|
},
|
|
26
|
-
"./i18n": {
|
|
27
|
-
"types": "./dist/i18n.d.ts",
|
|
28
|
-
"import": "./dist/i18n.js"
|
|
29
|
-
},
|
|
30
|
-
"./types": {
|
|
31
|
-
"types": "./dist/types.d.ts",
|
|
32
|
-
"import": "./dist/types.js"
|
|
33
|
-
},
|
|
34
24
|
"./lib/*": {
|
|
35
25
|
"types": "./dist/lib/*.d.ts",
|
|
36
26
|
"import": "./dist/lib/*.js"
|
|
37
27
|
},
|
|
38
|
-
"./styles": "./src/styles/
|
|
28
|
+
"./styles": "./src/styles/theme.css"
|
|
39
29
|
},
|
|
40
30
|
"files": [
|
|
41
31
|
"dist",
|
|
42
32
|
"src/styles"
|
|
43
33
|
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "tsup",
|
|
46
|
-
"dev": "tsup --watch",
|
|
47
|
-
"lint": "eslint src/",
|
|
48
|
-
"type-check": "tsc --noEmit"
|
|
49
|
-
},
|
|
50
34
|
"peerDependencies": {
|
|
51
35
|
"react": ">=19",
|
|
52
36
|
"react-dom": ">=19",
|
|
53
|
-
"
|
|
37
|
+
"date-fns": ">=3",
|
|
38
|
+
"recharts": ">=2",
|
|
39
|
+
"react-hook-form": ">=7"
|
|
40
|
+
},
|
|
41
|
+
"peerDependenciesMeta": {
|
|
42
|
+
"date-fns": {
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
"recharts": {
|
|
46
|
+
"optional": true
|
|
47
|
+
},
|
|
48
|
+
"react-hook-form": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
54
51
|
},
|
|
55
52
|
"dependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"react-
|
|
59
|
-
"
|
|
53
|
+
"@radix-ui/react-accordion": "1.2.3",
|
|
54
|
+
"@radix-ui/react-alert-dialog": "1.1.6",
|
|
55
|
+
"@radix-ui/react-aspect-ratio": "1.1.2",
|
|
56
|
+
"@radix-ui/react-avatar": "1.1.3",
|
|
57
|
+
"@radix-ui/react-checkbox": "1.1.4",
|
|
58
|
+
"@radix-ui/react-collapsible": "1.1.3",
|
|
59
|
+
"@radix-ui/react-context-menu": "2.2.6",
|
|
60
|
+
"@radix-ui/react-dialog": "1.1.6",
|
|
61
|
+
"@radix-ui/react-dropdown-menu": "2.1.6",
|
|
62
|
+
"@radix-ui/react-hover-card": "1.1.6",
|
|
63
|
+
"@radix-ui/react-label": "2.1.2",
|
|
64
|
+
"@radix-ui/react-menubar": "1.1.6",
|
|
65
|
+
"@radix-ui/react-navigation-menu": "1.2.5",
|
|
66
|
+
"@radix-ui/react-popover": "1.1.6",
|
|
67
|
+
"@radix-ui/react-progress": "1.1.2",
|
|
68
|
+
"@radix-ui/react-radio-group": "1.2.3",
|
|
69
|
+
"@radix-ui/react-scroll-area": "1.2.3",
|
|
70
|
+
"@radix-ui/react-select": "2.1.6",
|
|
71
|
+
"@radix-ui/react-separator": "1.1.2",
|
|
72
|
+
"@radix-ui/react-slider": "1.2.3",
|
|
73
|
+
"@radix-ui/react-slot": "1.1.2",
|
|
74
|
+
"@radix-ui/react-switch": "1.1.3",
|
|
75
|
+
"@radix-ui/react-tabs": "1.1.3",
|
|
76
|
+
"@radix-ui/react-toggle": "1.1.2",
|
|
77
|
+
"@radix-ui/react-toggle-group": "1.1.2",
|
|
78
|
+
"@radix-ui/react-tooltip": "1.1.8",
|
|
79
|
+
"class-variance-authority": "0.7.1",
|
|
80
|
+
"clsx": "2.1.1",
|
|
81
|
+
"cmdk": "1.1.1",
|
|
82
|
+
"embla-carousel-react": "8.6.0",
|
|
83
|
+
"input-otp": "1.4.2",
|
|
60
84
|
"lucide-react": "0.487.0",
|
|
85
|
+
"react-day-picker": "9.6.4",
|
|
86
|
+
"react-resizable-panels": "2.1.7",
|
|
61
87
|
"sonner": "2.0.3",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"zod": "^4.0.0"
|
|
88
|
+
"tailwind-merge": "3.2.0",
|
|
89
|
+
"vaul": "1.1.2"
|
|
65
90
|
},
|
|
66
91
|
"devDependencies": {
|
|
67
92
|
"tsup": "^8.0.0",
|
|
68
93
|
"typescript": "^5.9.3",
|
|
69
94
|
"@types/react": "^19.2.13",
|
|
70
|
-
"@types/react-dom": "^19.2.3"
|
|
95
|
+
"@types/react-dom": "^19.2.3",
|
|
96
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
97
|
+
"@testing-library/react": "^16.3.2",
|
|
98
|
+
"jsdom": "^28.1.0",
|
|
99
|
+
"vitest": "^4.0.18"
|
|
100
|
+
},
|
|
101
|
+
"scripts": {
|
|
102
|
+
"build": "tsup",
|
|
103
|
+
"dev": "tsup --watch",
|
|
104
|
+
"lint": "eslint src/",
|
|
105
|
+
"type-check": "tsc --noEmit",
|
|
106
|
+
"test": "vitest run",
|
|
107
|
+
"test:watch": "vitest"
|
|
71
108
|
}
|
|
72
|
-
}
|
|
109
|
+
}
|
|
File without changes
|
package/src/styles/index.css
CHANGED