@omnifyjp/ui 1.0.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TJMK2KBE.js → chunk-2BRCVWXR.js} +3 -3
- package/dist/chunk-2BRCVWXR.js.map +1 -0
- package/dist/{chunk-RQNZDWY3.js → chunk-33QLY6GI.js} +2 -2
- package/dist/chunk-33QLY6GI.js.map +1 -0
- package/dist/{chunk-NPL2R5LD.js → chunk-3V6NS4EQ.js} +5 -5
- package/dist/chunk-3V6NS4EQ.js.map +1 -0
- package/dist/{chunk-G7HTZBUR.js → chunk-47TUWE63.js} +3 -3
- package/dist/chunk-47TUWE63.js.map +1 -0
- package/dist/{chunk-75WZR6HF.js → chunk-4AGNE75K.js} +4 -4
- package/dist/chunk-4AGNE75K.js.map +1 -0
- package/dist/chunk-4NBDYSSQ.js +90 -0
- package/dist/chunk-4NBDYSSQ.js.map +1 -0
- package/dist/{chunk-FRKG7JQY.js → chunk-5AGUCELC.js} +2 -2
- package/dist/chunk-5AGUCELC.js.map +1 -0
- package/dist/{chunk-A3BB5ZOC.js → chunk-5SAUUOCN.js} +2 -2
- package/dist/chunk-5SAUUOCN.js.map +1 -0
- package/dist/{chunk-2TUWDXAC.js → chunk-5WOCEAZG.js} +3 -3
- package/dist/chunk-5WOCEAZG.js.map +1 -0
- package/dist/{chunk-2C2HRGM7.js → chunk-6W5FYOXQ.js} +3 -3
- package/dist/chunk-6W5FYOXQ.js.map +1 -0
- package/dist/{chunk-ZHEKDP5X.js → chunk-6Z6NRIQ2.js} +3 -3
- package/dist/chunk-6Z6NRIQ2.js.map +1 -0
- package/dist/{chunk-BAQWGQJG.js → chunk-7KZ7CVRN.js} +3 -3
- package/dist/chunk-7KZ7CVRN.js.map +1 -0
- package/dist/{chunk-C34KSTWA.js → chunk-7NMNLY7F.js} +2 -2
- package/dist/chunk-7NMNLY7F.js.map +1 -0
- package/dist/{chunk-55E7D2HR.js → chunk-BOV3Q2JH.js} +2 -2
- package/dist/chunk-BOV3Q2JH.js.map +1 -0
- package/dist/{chunk-34ARZSNP.js → chunk-CECQY5LL.js} +2 -2
- package/dist/chunk-CECQY5LL.js.map +1 -0
- package/dist/{chunk-JRU2QX7T.js → chunk-CLYBVDEQ.js} +2 -2
- package/dist/chunk-CLYBVDEQ.js.map +1 -0
- package/dist/{chunk-TGYQ3AKH.js → chunk-CNS3OMZ7.js} +2 -2
- package/dist/chunk-CNS3OMZ7.js.map +1 -0
- package/dist/{chunk-C5NZAOA7.js → chunk-CSYH7P6N.js} +2 -2
- package/dist/chunk-CSYH7P6N.js.map +1 -0
- package/dist/{chunk-USIHM7FV.js → chunk-DEKVLLTL.js} +2 -2
- package/dist/chunk-DEKVLLTL.js.map +1 -0
- package/dist/{chunk-Z2QAABLM.js → chunk-DXKFFJIE.js} +2 -2
- package/dist/chunk-DXKFFJIE.js.map +1 -0
- package/dist/{chunk-IAWKX5W4.js → chunk-DXZZURPN.js} +2 -2
- package/dist/chunk-DXZZURPN.js.map +1 -0
- package/dist/{chunk-XOJJBNDX.js → chunk-EAY3QSID.js} +2 -2
- package/dist/chunk-EAY3QSID.js.map +1 -0
- package/dist/{chunk-7XH3MGBR.js → chunk-EBV2XEHD.js} +5 -5
- package/dist/chunk-EBV2XEHD.js.map +1 -0
- package/dist/{chunk-P3M5TZD2.js → chunk-EYJ7TJIX.js} +2 -2
- package/dist/chunk-EYJ7TJIX.js.map +1 -0
- package/dist/{chunk-67YUL2ZS.js → chunk-FTNPOZGK.js} +2 -2
- package/dist/chunk-FTNPOZGK.js.map +1 -0
- package/dist/{chunk-JXGRW2MR.js → chunk-GR7T5QHL.js} +2 -2
- package/dist/chunk-GR7T5QHL.js.map +1 -0
- package/dist/{chunk-WS6E7HBT.js → chunk-HDTHGIQR.js} +3 -3
- package/dist/chunk-HDTHGIQR.js.map +1 -0
- package/dist/{chunk-LMT327XH.js → chunk-HEQVBUJO.js} +2 -2
- package/dist/chunk-HEQVBUJO.js.map +1 -0
- package/dist/{chunk-VVYSAGB3.js → chunk-I6PJSYBI.js} +3 -3
- package/dist/chunk-I6PJSYBI.js.map +1 -0
- package/dist/{chunk-35DNN46W.js → chunk-ITTPI2Z3.js} +3 -3
- package/dist/chunk-ITTPI2Z3.js.map +1 -0
- package/dist/{chunk-JAJMM32I.js → chunk-IXEPDTUE.js} +3 -3
- package/dist/chunk-IXEPDTUE.js.map +1 -0
- package/dist/{chunk-PGWNOZDX.js → chunk-KCUSO3CK.js} +2 -2
- package/dist/chunk-KCUSO3CK.js.map +1 -0
- package/dist/{chunk-QB3UWRZH.js → chunk-KJAXKHJ2.js} +3 -3
- package/dist/chunk-KJAXKHJ2.js.map +1 -0
- package/dist/{chunk-7IRLBU2I.js → chunk-LA4L3QIK.js} +3 -3
- package/dist/chunk-LA4L3QIK.js.map +1 -0
- package/dist/{chunk-NNJTKHCE.js → chunk-LTGCKJX7.js} +2 -2
- package/dist/chunk-LTGCKJX7.js.map +1 -0
- package/dist/{chunk-JJSVA3TH.js → chunk-LUYTKHGS.js} +2 -2
- package/dist/chunk-LUYTKHGS.js.map +1 -0
- package/dist/{chunk-6GWVQB3Q.js → chunk-MVYSUWSD.js} +3 -3
- package/dist/chunk-MVYSUWSD.js.map +1 -0
- package/dist/{chunk-YBMEQZX7.js → chunk-N5BNNKBR.js} +2 -2
- package/dist/chunk-N5BNNKBR.js.map +1 -0
- package/dist/{chunk-35U6QG4P.js → chunk-N6OUJIQD.js} +2 -2
- package/dist/chunk-N6OUJIQD.js.map +1 -0
- package/dist/{chunk-R2CDE5DO.js → chunk-NWVMNWOH.js} +2 -2
- package/dist/chunk-NWVMNWOH.js.map +1 -0
- package/dist/{chunk-NU56GKGM.js → chunk-ORTPKXBI.js} +2 -2
- package/dist/chunk-ORTPKXBI.js.map +1 -0
- package/dist/{chunk-FLWMT4DB.js → chunk-PJZ7D36X.js} +2 -2
- package/dist/chunk-PJZ7D36X.js.map +1 -0
- package/dist/{chunk-CUZR4JWM.js → chunk-PYB6RRA5.js} +3 -3
- package/dist/chunk-PYB6RRA5.js.map +1 -0
- package/dist/{chunk-BRSM3SZP.js → chunk-QGU4BRMO.js} +2 -2
- package/dist/chunk-QGU4BRMO.js.map +1 -0
- package/dist/{chunk-S6PDRGR5.js → chunk-RZZH57ZL.js} +2 -2
- package/dist/chunk-RZZH57ZL.js.map +1 -0
- package/dist/{chunk-EWBCV7VA.js → chunk-S73PGQD5.js} +2 -2
- package/dist/chunk-S73PGQD5.js.map +1 -0
- package/dist/{chunk-N47H4MHX.js → chunk-SAHHVJMQ.js} +3 -3
- package/dist/chunk-SAHHVJMQ.js.map +1 -0
- package/dist/{chunk-INLM7UJC.js → chunk-T65EBJUJ.js} +2 -2
- package/dist/chunk-T65EBJUJ.js.map +1 -0
- package/dist/{chunk-ZPMXRW2A.js → chunk-TPBRGO4D.js} +3 -3
- package/dist/chunk-TPBRGO4D.js.map +1 -0
- package/dist/{chunk-MJLFJPUG.js → chunk-V3S2AZKJ.js} +5 -5
- package/dist/chunk-V3S2AZKJ.js.map +1 -0
- package/dist/{chunk-MZ2P566X.js → chunk-VATNOBZ2.js} +3 -3
- package/dist/chunk-VATNOBZ2.js.map +1 -0
- package/dist/{chunk-JLTBUACL.js → chunk-VOLR236J.js} +2 -2
- package/dist/chunk-VOLR236J.js.map +1 -0
- package/dist/chunk-VPTIRPZW.js +75 -0
- package/dist/chunk-VPTIRPZW.js.map +1 -0
- package/dist/{chunk-WL4ZO2H3.js → chunk-W477ZR6B.js} +2 -2
- package/dist/chunk-W477ZR6B.js.map +1 -0
- package/dist/{chunk-3EOHW4QN.js → chunk-WJX6NKKF.js} +3 -3
- package/dist/chunk-WJX6NKKF.js.map +1 -0
- package/dist/{chunk-LTTNCAAA.js → chunk-XNUFKQYL.js} +3 -3
- package/dist/chunk-XNUFKQYL.js.map +1 -0
- package/dist/chunk-YN26HHZ4.js +71 -0
- package/dist/chunk-YN26HHZ4.js.map +1 -0
- package/dist/{chunk-ZYEGBF7G.js → chunk-YU23NDE4.js} +3 -3
- package/dist/chunk-YU23NDE4.js.map +1 -0
- package/dist/chunk-YU55YBID.js +144 -0
- package/dist/chunk-YU55YBID.js.map +1 -0
- package/dist/{chunk-F2ZJLKDP.js → chunk-YVCLIOMM.js} +2 -2
- package/dist/chunk-YVCLIOMM.js.map +1 -0
- package/dist/{chunk-7RMTPT6O.js → chunk-YYJVVYFS.js} +2 -2
- package/dist/chunk-YYJVVYFS.js.map +1 -0
- package/dist/chunk-ZUBW2ERW.js +70 -0
- package/dist/chunk-ZUBW2ERW.js.map +1 -0
- package/dist/components/display/accordion.js +4 -0
- package/dist/components/display/aspect-ratio.js +3 -0
- package/dist/components/display/avatar.js +4 -0
- package/dist/components/{badge.d.ts → display/badge.d.ts} +1 -1
- package/dist/components/display/badge.js +4 -0
- package/dist/components/display/card.js +4 -0
- package/dist/components/{carousel.d.ts → display/carousel.d.ts} +2 -2
- package/dist/components/display/carousel.js +5 -0
- package/dist/components/{chart.js → display/chart.js} +1 -1
- package/dist/components/display/chart.js.map +1 -0
- package/dist/components/{collapsible.js → display/collapsible.js} +1 -1
- package/dist/components/display/resizable.js +4 -0
- package/dist/components/display/scroll-area.js +4 -0
- package/dist/components/display/separator.js +4 -0
- package/dist/components/display/table.js +4 -0
- package/dist/components/display/toggle-group.js +5 -0
- package/dist/components/display/toggle.js +4 -0
- package/dist/components/domain/calendar/calendar-category-badge.js +5 -0
- package/dist/components/{calendar-event-chip.js → domain/calendar/calendar-event-chip.js} +1 -1
- package/dist/components/domain/calendar/calendar-event-chip.js.map +1 -0
- package/dist/components/{calendar-event-sheet.d.ts → domain/calendar/calendar-event-sheet.d.ts} +4 -1
- package/dist/components/{calendar-event-sheet.js → domain/calendar/calendar-event-sheet.js} +12 -8
- package/dist/components/domain/calendar/calendar-event-sheet.js.map +1 -0
- package/dist/components/{calendar-mini.d.ts → domain/calendar/calendar-mini.d.ts} +4 -1
- package/dist/components/{calendar-mini.js → domain/calendar/calendar-mini.js} +9 -5
- package/dist/components/domain/calendar/calendar-mini.js.map +1 -0
- package/dist/components/{calendar-toolbar.d.ts → domain/calendar/calendar-toolbar.d.ts} +4 -1
- package/dist/components/{calendar-toolbar.js → domain/calendar/calendar-toolbar.js} +10 -6
- package/dist/components/domain/calendar/calendar-toolbar.js.map +1 -0
- package/dist/components/domain/calendar/calendar.js +5 -0
- package/dist/components/domain/rbac/permission-grid.js +5 -0
- package/dist/components/domain/rbac/scope-tree.js +5 -0
- package/dist/components/domain/rbac/scope-type-badge.js +5 -0
- package/dist/components/domain/workflow/stage-type-badge.js +5 -0
- package/dist/components/domain/workflow/workflow-category-badge.js +5 -0
- package/dist/components/domain/workflow/workflow-diagram.js +5 -0
- package/dist/components/domain/workflow/workflow-status-badge.js +5 -0
- package/dist/components/domain/workflow/workflow-stepper.js +4 -0
- package/dist/components/{alert.d.ts → feedback/alert.d.ts} +1 -1
- package/dist/components/feedback/alert.js +4 -0
- package/dist/components/feedback/progress.js +4 -0
- package/dist/components/feedback/skeleton.js +4 -0
- package/dist/components/{button.d.ts → inputs/button.d.ts} +2 -2
- package/dist/components/inputs/button.js +4 -0
- package/dist/components/inputs/checkbox.js +4 -0
- package/dist/components/inputs/color-picker.js +9 -0
- package/dist/components/inputs/combobox.js +8 -0
- package/dist/components/{date-picker.d.ts → inputs/date-picker.d.ts} +2 -2
- package/dist/components/{date-picker.js → inputs/date-picker.js} +15 -8
- package/dist/components/inputs/date-picker.js.map +1 -0
- package/dist/components/inputs/file-upload.js +5 -0
- package/dist/components/{form.js → inputs/form.js} +2 -2
- package/dist/components/inputs/form.js.map +1 -0
- package/dist/components/inputs/input-otp.js +4 -0
- package/dist/components/inputs/input.d.ts +75 -0
- package/dist/components/inputs/input.js +6 -0
- package/dist/components/inputs/label.js +4 -0
- package/dist/components/{password-input.d.ts → inputs/password-input.d.ts} +2 -0
- package/dist/components/inputs/password-input.js +7 -0
- package/dist/components/inputs/radio-group.js +4 -0
- package/dist/components/inputs/rating.js +4 -0
- package/dist/components/{select.js → inputs/select.js} +2 -2
- package/dist/components/inputs/slider.js +4 -0
- package/dist/components/inputs/slug-input.js +8 -0
- package/dist/components/inputs/switch.js +4 -0
- package/dist/components/inputs/tag-input.js +5 -0
- package/dist/components/inputs/textarea.d.ts +67 -0
- package/dist/components/inputs/textarea.js +6 -0
- package/dist/{chunk-6DIDQ4TB.js → components/inputs/time-picker.js} +9 -7
- package/dist/components/inputs/time-picker.js.map +1 -0
- package/dist/components/inputs/translatable-field.d.ts +51 -0
- package/dist/components/inputs/translatable-field.js +4 -0
- package/dist/components/inputs/translatable-field.js.map +1 -0
- package/dist/components/layout/page-container.d.ts +96 -0
- package/dist/components/layout/page-container.js +5 -0
- package/dist/components/layout/page-container.js.map +1 -0
- package/dist/components/{breadcrumb.js → navigation/breadcrumb.js} +2 -2
- package/dist/components/{command.d.ts → navigation/command.d.ts} +1 -1
- package/dist/components/{command.js → navigation/command.js} +3 -3
- package/dist/components/{context-menu.js → navigation/context-menu.js} +2 -2
- package/dist/components/{dropdown-menu.js → navigation/dropdown-menu.js} +2 -2
- package/dist/components/{menubar.js → navigation/menubar.js} +2 -2
- package/dist/components/{navigation-menu.js → navigation/navigation-menu.js} +2 -2
- package/dist/components/{pagination.d.ts → navigation/pagination.d.ts} +2 -2
- package/dist/components/{pagination.js → navigation/pagination.js} +3 -3
- package/dist/components/navigation/tabs.js +4 -0
- package/dist/components/{alert-dialog.js → overlay/alert-dialog.js} +3 -3
- package/dist/components/{dialog.js → overlay/dialog.js} +2 -2
- package/dist/components/{drawer.js → overlay/drawer.js} +2 -2
- package/dist/components/{hover-card.js → overlay/hover-card.js} +2 -2
- package/dist/components/overlay/popover.js +4 -0
- package/dist/components/overlay/sheet.js +4 -0
- package/dist/components/overlay/sonner.js +3 -0
- package/dist/components/overlay/tooltip.js +4 -0
- package/dist/index.d.ts +84 -83
- package/dist/index.js +62 -60
- package/dist/providers/ui-provider.d.ts +96 -0
- package/dist/providers/ui-provider.js +3 -0
- package/dist/providers/ui-provider.js.map +1 -0
- package/package.json +13 -8
- package/dist/chunk-2C2HRGM7.js.map +0 -1
- package/dist/chunk-2TUWDXAC.js.map +0 -1
- package/dist/chunk-34ARZSNP.js.map +0 -1
- package/dist/chunk-35DNN46W.js.map +0 -1
- package/dist/chunk-35U6QG4P.js.map +0 -1
- package/dist/chunk-3EOHW4QN.js.map +0 -1
- package/dist/chunk-3VU56V66.js +0 -41
- package/dist/chunk-3VU56V66.js.map +0 -1
- package/dist/chunk-55E7D2HR.js.map +0 -1
- package/dist/chunk-67YUL2ZS.js.map +0 -1
- package/dist/chunk-6DIDQ4TB.js.map +0 -1
- package/dist/chunk-6GWVQB3Q.js.map +0 -1
- package/dist/chunk-75WZR6HF.js.map +0 -1
- package/dist/chunk-7IRLBU2I.js.map +0 -1
- package/dist/chunk-7RMTPT6O.js.map +0 -1
- package/dist/chunk-7XH3MGBR.js.map +0 -1
- package/dist/chunk-A3BB5ZOC.js.map +0 -1
- package/dist/chunk-BAQWGQJG.js.map +0 -1
- package/dist/chunk-BRSM3SZP.js.map +0 -1
- package/dist/chunk-C34KSTWA.js.map +0 -1
- package/dist/chunk-C5NZAOA7.js.map +0 -1
- package/dist/chunk-CUZR4JWM.js.map +0 -1
- package/dist/chunk-EWBCV7VA.js.map +0 -1
- package/dist/chunk-F2ZJLKDP.js.map +0 -1
- package/dist/chunk-FLWMT4DB.js.map +0 -1
- package/dist/chunk-FRKG7JQY.js.map +0 -1
- package/dist/chunk-G7HTZBUR.js.map +0 -1
- package/dist/chunk-IAWKX5W4.js.map +0 -1
- package/dist/chunk-INLM7UJC.js.map +0 -1
- package/dist/chunk-JAJMM32I.js.map +0 -1
- package/dist/chunk-JJSVA3TH.js.map +0 -1
- package/dist/chunk-JLTBUACL.js.map +0 -1
- package/dist/chunk-JRU2QX7T.js.map +0 -1
- package/dist/chunk-JXGRW2MR.js.map +0 -1
- package/dist/chunk-LMT327XH.js.map +0 -1
- package/dist/chunk-LTTNCAAA.js.map +0 -1
- package/dist/chunk-MJLFJPUG.js.map +0 -1
- package/dist/chunk-MZ2P566X.js.map +0 -1
- package/dist/chunk-N47H4MHX.js.map +0 -1
- package/dist/chunk-NNJTKHCE.js.map +0 -1
- package/dist/chunk-NPL2R5LD.js.map +0 -1
- package/dist/chunk-NU56GKGM.js.map +0 -1
- package/dist/chunk-P3M5TZD2.js.map +0 -1
- package/dist/chunk-PGWNOZDX.js.map +0 -1
- package/dist/chunk-QB3UWRZH.js.map +0 -1
- package/dist/chunk-R2CDE5DO.js.map +0 -1
- package/dist/chunk-RQNZDWY3.js.map +0 -1
- package/dist/chunk-S6PDRGR5.js.map +0 -1
- package/dist/chunk-TGYQ3AKH.js.map +0 -1
- package/dist/chunk-TJMK2KBE.js.map +0 -1
- package/dist/chunk-USIHM7FV.js.map +0 -1
- package/dist/chunk-VVYSAGB3.js.map +0 -1
- package/dist/chunk-WD5KZE25.js +0 -25
- package/dist/chunk-WD5KZE25.js.map +0 -1
- package/dist/chunk-WL4ZO2H3.js.map +0 -1
- package/dist/chunk-WS6E7HBT.js.map +0 -1
- package/dist/chunk-XOJJBNDX.js.map +0 -1
- package/dist/chunk-YBMEQZX7.js.map +0 -1
- package/dist/chunk-Z2QAABLM.js.map +0 -1
- package/dist/chunk-ZHEKDP5X.js.map +0 -1
- package/dist/chunk-ZPMXRW2A.js.map +0 -1
- package/dist/chunk-ZYEGBF7G.js.map +0 -1
- package/dist/components/accordion.js +0 -4
- package/dist/components/alert.js +0 -4
- package/dist/components/aspect-ratio.js +0 -3
- package/dist/components/avatar.js +0 -4
- package/dist/components/badge.js +0 -4
- package/dist/components/button.js +0 -4
- package/dist/components/calendar-category-badge.js +0 -5
- package/dist/components/calendar-event-chip.js.map +0 -1
- package/dist/components/calendar-event-sheet.js.map +0 -1
- package/dist/components/calendar-mini.js.map +0 -1
- package/dist/components/calendar-toolbar.js.map +0 -1
- package/dist/components/calendar.js +0 -5
- package/dist/components/card.js +0 -4
- package/dist/components/carousel.js +0 -5
- package/dist/components/chart.js.map +0 -1
- package/dist/components/checkbox.js +0 -4
- package/dist/components/color-picker.js +0 -7
- package/dist/components/combobox.js +0 -8
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/file-upload.js +0 -5
- package/dist/components/form.js.map +0 -1
- package/dist/components/input-otp.js +0 -4
- package/dist/components/input.d.ts +0 -38
- package/dist/components/input.js +0 -4
- package/dist/components/label.js +0 -4
- package/dist/components/password-input.js +0 -5
- package/dist/components/permission-grid.js +0 -5
- package/dist/components/popover.js +0 -4
- package/dist/components/progress.js +0 -4
- package/dist/components/radio-group.js +0 -4
- package/dist/components/rating.js +0 -4
- package/dist/components/resizable.js +0 -4
- package/dist/components/scope-tree.js +0 -5
- package/dist/components/scope-type-badge.js +0 -5
- package/dist/components/scroll-area.js +0 -4
- package/dist/components/separator.js +0 -4
- package/dist/components/sheet.js +0 -4
- package/dist/components/skeleton.js +0 -4
- package/dist/components/slider.js +0 -4
- package/dist/components/slug-input.js +0 -6
- package/dist/components/sonner.js +0 -3
- package/dist/components/stage-type-badge.js +0 -5
- package/dist/components/switch.js +0 -4
- package/dist/components/table.js +0 -4
- package/dist/components/tabs.js +0 -4
- package/dist/components/tag-input.js +0 -5
- package/dist/components/textarea.d.ts +0 -21
- package/dist/components/textarea.js +0 -4
- package/dist/components/time-picker.js +0 -8
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/toggle-group.js +0 -5
- package/dist/components/toggle.js +0 -4
- package/dist/components/tooltip.js +0 -4
- package/dist/components/workflow-category-badge.js +0 -5
- package/dist/components/workflow-diagram.js +0 -5
- package/dist/components/workflow-status-badge.js +0 -5
- package/dist/components/workflow-stepper.js +0 -4
- /package/dist/components/{accordion.d.ts → display/accordion.d.ts} +0 -0
- /package/dist/components/{accordion.js.map → display/accordion.js.map} +0 -0
- /package/dist/components/{aspect-ratio.d.ts → display/aspect-ratio.d.ts} +0 -0
- /package/dist/components/{aspect-ratio.js.map → display/aspect-ratio.js.map} +0 -0
- /package/dist/components/{avatar.d.ts → display/avatar.d.ts} +0 -0
- /package/dist/components/{avatar.js.map → display/avatar.js.map} +0 -0
- /package/dist/components/{badge.js.map → display/badge.js.map} +0 -0
- /package/dist/components/{card.d.ts → display/card.d.ts} +0 -0
- /package/dist/components/{card.js.map → display/card.js.map} +0 -0
- /package/dist/components/{carousel.js.map → display/carousel.js.map} +0 -0
- /package/dist/components/{chart.d.ts → display/chart.d.ts} +0 -0
- /package/dist/components/{collapsible.d.ts → display/collapsible.d.ts} +0 -0
- /package/dist/components/{collapsible.js.map → display/collapsible.js.map} +0 -0
- /package/dist/components/{resizable.d.ts → display/resizable.d.ts} +0 -0
- /package/dist/components/{resizable.js.map → display/resizable.js.map} +0 -0
- /package/dist/components/{scroll-area.d.ts → display/scroll-area.d.ts} +0 -0
- /package/dist/components/{scroll-area.js.map → display/scroll-area.js.map} +0 -0
- /package/dist/components/{separator.d.ts → display/separator.d.ts} +0 -0
- /package/dist/components/{separator.js.map → display/separator.js.map} +0 -0
- /package/dist/components/{table.d.ts → display/table.d.ts} +0 -0
- /package/dist/components/{table.js.map → display/table.js.map} +0 -0
- /package/dist/components/{toggle-group.d.ts → display/toggle-group.d.ts} +0 -0
- /package/dist/components/{toggle-group.js.map → display/toggle-group.js.map} +0 -0
- /package/dist/components/{toggle.d.ts → display/toggle.d.ts} +0 -0
- /package/dist/components/{toggle.js.map → display/toggle.js.map} +0 -0
- /package/dist/components/{calendar-category-badge.d.ts → domain/calendar/calendar-category-badge.d.ts} +0 -0
- /package/dist/components/{calendar-category-badge.js.map → domain/calendar/calendar-category-badge.js.map} +0 -0
- /package/dist/components/{calendar-event-chip.d.ts → domain/calendar/calendar-event-chip.d.ts} +0 -0
- /package/dist/components/{calendar.d.ts → domain/calendar/calendar.d.ts} +0 -0
- /package/dist/components/{calendar.js.map → domain/calendar/calendar.js.map} +0 -0
- /package/dist/components/{permission-grid.d.ts → domain/rbac/permission-grid.d.ts} +0 -0
- /package/dist/components/{permission-grid.js.map → domain/rbac/permission-grid.js.map} +0 -0
- /package/dist/components/{scope-tree.d.ts → domain/rbac/scope-tree.d.ts} +0 -0
- /package/dist/components/{scope-tree.js.map → domain/rbac/scope-tree.js.map} +0 -0
- /package/dist/components/{scope-type-badge.d.ts → domain/rbac/scope-type-badge.d.ts} +0 -0
- /package/dist/components/{scope-type-badge.js.map → domain/rbac/scope-type-badge.js.map} +0 -0
- /package/dist/components/{stage-type-badge.d.ts → domain/workflow/stage-type-badge.d.ts} +0 -0
- /package/dist/components/{stage-type-badge.js.map → domain/workflow/stage-type-badge.js.map} +0 -0
- /package/dist/components/{workflow-category-badge.d.ts → domain/workflow/workflow-category-badge.d.ts} +0 -0
- /package/dist/components/{workflow-category-badge.js.map → domain/workflow/workflow-category-badge.js.map} +0 -0
- /package/dist/components/{workflow-diagram.d.ts → domain/workflow/workflow-diagram.d.ts} +0 -0
- /package/dist/components/{workflow-diagram.js.map → domain/workflow/workflow-diagram.js.map} +0 -0
- /package/dist/components/{workflow-status-badge.d.ts → domain/workflow/workflow-status-badge.d.ts} +0 -0
- /package/dist/components/{workflow-status-badge.js.map → domain/workflow/workflow-status-badge.js.map} +0 -0
- /package/dist/components/{workflow-stepper.d.ts → domain/workflow/workflow-stepper.d.ts} +0 -0
- /package/dist/components/{workflow-stepper.js.map → domain/workflow/workflow-stepper.js.map} +0 -0
- /package/dist/components/{alert.js.map → feedback/alert.js.map} +0 -0
- /package/dist/components/{progress.d.ts → feedback/progress.d.ts} +0 -0
- /package/dist/components/{progress.js.map → feedback/progress.js.map} +0 -0
- /package/dist/components/{skeleton.d.ts → feedback/skeleton.d.ts} +0 -0
- /package/dist/components/{skeleton.js.map → feedback/skeleton.js.map} +0 -0
- /package/dist/components/{button.js.map → inputs/button.js.map} +0 -0
- /package/dist/components/{checkbox.d.ts → inputs/checkbox.d.ts} +0 -0
- /package/dist/components/{checkbox.js.map → inputs/checkbox.js.map} +0 -0
- /package/dist/components/{color-picker.d.ts → inputs/color-picker.d.ts} +0 -0
- /package/dist/components/{color-picker.js.map → inputs/color-picker.js.map} +0 -0
- /package/dist/components/{combobox.d.ts → inputs/combobox.d.ts} +0 -0
- /package/dist/components/{combobox.js.map → inputs/combobox.js.map} +0 -0
- /package/dist/components/{file-upload.d.ts → inputs/file-upload.d.ts} +0 -0
- /package/dist/components/{file-upload.js.map → inputs/file-upload.js.map} +0 -0
- /package/dist/components/{form.d.ts → inputs/form.d.ts} +0 -0
- /package/dist/components/{input-otp.d.ts → inputs/input-otp.d.ts} +0 -0
- /package/dist/components/{input-otp.js.map → inputs/input-otp.js.map} +0 -0
- /package/dist/components/{input.js.map → inputs/input.js.map} +0 -0
- /package/dist/components/{label.d.ts → inputs/label.d.ts} +0 -0
- /package/dist/components/{label.js.map → inputs/label.js.map} +0 -0
- /package/dist/components/{password-input.js.map → inputs/password-input.js.map} +0 -0
- /package/dist/components/{radio-group.d.ts → inputs/radio-group.d.ts} +0 -0
- /package/dist/components/{radio-group.js.map → inputs/radio-group.js.map} +0 -0
- /package/dist/components/{rating.d.ts → inputs/rating.d.ts} +0 -0
- /package/dist/components/{rating.js.map → inputs/rating.js.map} +0 -0
- /package/dist/components/{select.d.ts → inputs/select.d.ts} +0 -0
- /package/dist/components/{select.js.map → inputs/select.js.map} +0 -0
- /package/dist/components/{slider.d.ts → inputs/slider.d.ts} +0 -0
- /package/dist/components/{slider.js.map → inputs/slider.js.map} +0 -0
- /package/dist/components/{slug-input.d.ts → inputs/slug-input.d.ts} +0 -0
- /package/dist/components/{slug-input.js.map → inputs/slug-input.js.map} +0 -0
- /package/dist/components/{switch.d.ts → inputs/switch.d.ts} +0 -0
- /package/dist/components/{switch.js.map → inputs/switch.js.map} +0 -0
- /package/dist/components/{tag-input.d.ts → inputs/tag-input.d.ts} +0 -0
- /package/dist/components/{tag-input.js.map → inputs/tag-input.js.map} +0 -0
- /package/dist/components/{textarea.js.map → inputs/textarea.js.map} +0 -0
- /package/dist/components/{time-picker.d.ts → inputs/time-picker.d.ts} +0 -0
- /package/dist/components/{breadcrumb.d.ts → navigation/breadcrumb.d.ts} +0 -0
- /package/dist/components/{breadcrumb.js.map → navigation/breadcrumb.js.map} +0 -0
- /package/dist/components/{command.js.map → navigation/command.js.map} +0 -0
- /package/dist/components/{context-menu.d.ts → navigation/context-menu.d.ts} +0 -0
- /package/dist/components/{context-menu.js.map → navigation/context-menu.js.map} +0 -0
- /package/dist/components/{dropdown-menu.d.ts → navigation/dropdown-menu.d.ts} +0 -0
- /package/dist/components/{dropdown-menu.js.map → navigation/dropdown-menu.js.map} +0 -0
- /package/dist/components/{menubar.d.ts → navigation/menubar.d.ts} +0 -0
- /package/dist/components/{menubar.js.map → navigation/menubar.js.map} +0 -0
- /package/dist/components/{navigation-menu.d.ts → navigation/navigation-menu.d.ts} +0 -0
- /package/dist/components/{navigation-menu.js.map → navigation/navigation-menu.js.map} +0 -0
- /package/dist/components/{pagination.js.map → navigation/pagination.js.map} +0 -0
- /package/dist/components/{tabs.d.ts → navigation/tabs.d.ts} +0 -0
- /package/dist/components/{tabs.js.map → navigation/tabs.js.map} +0 -0
- /package/dist/components/{alert-dialog.d.ts → overlay/alert-dialog.d.ts} +0 -0
- /package/dist/components/{alert-dialog.js.map → overlay/alert-dialog.js.map} +0 -0
- /package/dist/components/{dialog.d.ts → overlay/dialog.d.ts} +0 -0
- /package/dist/components/{dialog.js.map → overlay/dialog.js.map} +0 -0
- /package/dist/components/{drawer.d.ts → overlay/drawer.d.ts} +0 -0
- /package/dist/components/{drawer.js.map → overlay/drawer.js.map} +0 -0
- /package/dist/components/{hover-card.d.ts → overlay/hover-card.d.ts} +0 -0
- /package/dist/components/{hover-card.js.map → overlay/hover-card.js.map} +0 -0
- /package/dist/components/{popover.d.ts → overlay/popover.d.ts} +0 -0
- /package/dist/components/{popover.js.map → overlay/popover.js.map} +0 -0
- /package/dist/components/{sheet.d.ts → overlay/sheet.d.ts} +0 -0
- /package/dist/components/{sheet.js.map → overlay/sheet.js.map} +0 -0
- /package/dist/components/{sonner.d.ts → overlay/sonner.d.ts} +0 -0
- /package/dist/components/{sonner.js.map → overlay/sonner.js.map} +0 -0
- /package/dist/components/{tooltip.d.ts → overlay/tooltip.d.ts} +0 -0
- /package/dist/components/{tooltip.js.map → overlay/tooltip.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from '
|
|
2
|
-
import '
|
|
1
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from '../../chunk-DEKVLLTL.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=context-menu.js.map
|
|
4
4
|
//# sourceMappingURL=context-menu.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '
|
|
2
|
-
import '
|
|
1
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-DXZZURPN.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=dropdown-menu.js.map
|
|
4
4
|
//# sourceMappingURL=dropdown-menu.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from '
|
|
2
|
-
import '
|
|
1
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from '../../chunk-T65EBJUJ.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=menubar.js.map
|
|
4
4
|
//# sourceMappingURL=menubar.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from '
|
|
2
|
-
import '
|
|
1
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from '../../chunk-N5BNNKBR.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=navigation-menu.js.map
|
|
4
4
|
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Button } from '
|
|
3
|
+
import { Button } from '../inputs/button.js';
|
|
4
4
|
import 'class-variance-authority/types';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
|
-
import '
|
|
6
|
+
import '../../lib/types.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Page navigation component with numbered links, previous/next buttons, and ellipsis indicators.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
1
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '../../chunk-LA4L3QIK.js';
|
|
2
|
+
import '../../chunk-BOV3Q2JH.js';
|
|
3
|
+
import '../../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=pagination.js.map
|
|
5
5
|
//# sourceMappingURL=pagination.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from '
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
1
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-XNUFKQYL.js';
|
|
2
|
+
import '../../chunk-BOV3Q2JH.js';
|
|
3
|
+
import '../../chunk-DGPY4WP3.js';
|
|
4
4
|
//# sourceMappingURL=alert-dialog.js.map
|
|
5
5
|
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '
|
|
2
|
-
import '
|
|
1
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../../chunk-YVCLIOMM.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=dialog.js.map
|
|
4
4
|
//# sourceMappingURL=dialog.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from '
|
|
2
|
-
import '
|
|
1
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from '../../chunk-EBV2XEHD.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=drawer.js.map
|
|
4
4
|
//# sourceMappingURL=drawer.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger } from '
|
|
2
|
-
import '
|
|
1
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from '../../chunk-CLYBVDEQ.js';
|
|
2
|
+
import '../../chunk-DGPY4WP3.js';
|
|
3
3
|
//# sourceMappingURL=hover-card.js.map
|
|
4
4
|
//# sourceMappingURL=hover-card.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,101 +1,102 @@
|
|
|
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 {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
1
|
+
export { Button, ButtonProps, buttonVariants } from './components/inputs/button.js';
|
|
2
|
+
export { Checkbox, CheckboxProps } from './components/inputs/checkbox.js';
|
|
3
|
+
export { ColorPicker } from './components/inputs/color-picker.js';
|
|
4
|
+
export { Combobox, ComboboxOption, MultiCombobox } from './components/inputs/combobox.js';
|
|
5
|
+
export { FileUpload } from './components/inputs/file-upload.js';
|
|
6
|
+
export { Input, InputProps, inputVariants } from './components/inputs/input.js';
|
|
7
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './components/inputs/input-otp.js';
|
|
8
|
+
export { Label, LabelProps } from './components/inputs/label.js';
|
|
9
|
+
export { PasswordInput, PasswordInputProps } from './components/inputs/password-input.js';
|
|
10
|
+
export { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from './components/inputs/radio-group.js';
|
|
11
|
+
export { Rating } from './components/inputs/rating.js';
|
|
12
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './components/inputs/select.js';
|
|
13
|
+
export { Slider, SliderProps } from './components/inputs/slider.js';
|
|
14
|
+
export { SlugInput, SlugInputLabels, SlugInputProps, generateSlug } from './components/inputs/slug-input.js';
|
|
15
|
+
export { Switch, SwitchProps } from './components/inputs/switch.js';
|
|
16
|
+
export { TagInput } from './components/inputs/tag-input.js';
|
|
17
|
+
export { Textarea, TextareaProps } from './components/inputs/textarea.js';
|
|
18
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/overlay/alert-dialog.js';
|
|
19
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/overlay/dialog.js';
|
|
20
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/overlay/drawer.js';
|
|
21
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/overlay/hover-card.js';
|
|
22
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './components/overlay/popover.js';
|
|
23
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './components/overlay/sheet.js';
|
|
24
|
+
export { Toaster } from './components/overlay/sonner.js';
|
|
25
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/overlay/tooltip.js';
|
|
26
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './components/navigation/breadcrumb.js';
|
|
27
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './components/navigation/command.js';
|
|
28
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './components/navigation/context-menu.js';
|
|
29
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/navigation/dropdown-menu.js';
|
|
30
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './components/navigation/menubar.js';
|
|
31
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './components/navigation/navigation-menu.js';
|
|
32
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/navigation/pagination.js';
|
|
33
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/navigation/tabs.js';
|
|
34
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/display/accordion.js';
|
|
35
|
+
export { AspectRatio } from './components/display/aspect-ratio.js';
|
|
36
|
+
export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps } from './components/display/avatar.js';
|
|
37
|
+
export { Badge, BadgeProps, badgeVariants } from './components/display/badge.js';
|
|
38
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/display/card.js';
|
|
39
|
+
export { Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './components/display/carousel.js';
|
|
40
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './components/display/collapsible.js';
|
|
41
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './components/display/resizable.js';
|
|
42
|
+
export { ScrollArea, ScrollBar } from './components/display/scroll-area.js';
|
|
43
|
+
export { Separator, SeparatorProps } from './components/display/separator.js';
|
|
44
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/display/table.js';
|
|
45
|
+
export { Toggle, ToggleProps, toggleVariants } from './components/display/toggle.js';
|
|
46
|
+
export { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from './components/display/toggle-group.js';
|
|
47
|
+
export { Alert, AlertDescription, AlertTitle } from './components/feedback/alert.js';
|
|
48
|
+
export { Progress, ProgressProps } from './components/feedback/progress.js';
|
|
49
|
+
export { Skeleton, SkeletonProps } from './components/feedback/skeleton.js';
|
|
50
|
+
export { FullWidthPageContainer, PageContainer, PageContainerProps, SplitPageContainer, StandardPageContainer } from './components/layout/page-container.js';
|
|
51
|
+
export { Calendar } from './components/domain/calendar/calendar.js';
|
|
52
|
+
export { CalendarCategoryBadge, CalendarCategoryBadgeProps } from './components/domain/calendar/calendar-category-badge.js';
|
|
53
|
+
export { StageType, StageTypeBadge, StageTypeBadgeProps } from './components/domain/workflow/stage-type-badge.js';
|
|
54
|
+
export { WorkflowCategory, WorkflowCategoryBadge, WorkflowCategoryBadgeProps } from './components/domain/workflow/workflow-category-badge.js';
|
|
55
|
+
export { WorkflowDiagram, WorkflowDiagramLabels, WorkflowDiagramProps, WorkflowDiagramStage, WorkflowDiagramStageType } from './components/domain/workflow/workflow-diagram.js';
|
|
56
|
+
export { WorkflowStatus, WorkflowStatusBadge, WorkflowStatusBadgeProps } from './components/domain/workflow/workflow-status-badge.js';
|
|
57
|
+
export { WorkflowStepper, WorkflowStepperHistoryEntry, WorkflowStepperProps, WorkflowStepperStage } from './components/domain/workflow/workflow-stepper.js';
|
|
58
|
+
export { PermissionDefinition, PermissionGrid, PermissionGridLabels, PermissionGridProps, PermissionModule, buildPermissionId } from './components/domain/rbac/permission-grid.js';
|
|
59
|
+
export { ScopeTree, ScopeTreeBadge, ScopeTreeLabels, ScopeTreeNode, ScopeTreeProps, ScopeTreeSelectedScope } from './components/domain/rbac/scope-tree.js';
|
|
60
|
+
export { ScopeTypeBadge, ScopeTypeBadgeProps, ScopeTypeBadgeStyles } from './components/domain/rbac/scope-type-badge.js';
|
|
61
|
+
export { LocaleCode, LocaleMap, Theme, TranslatableConfig, TranslatableValue, UILocaleConfig, UIProvider, UIProviderProps, resolveTranslatableConfig, useDateFnsLocale, useTheme, useUILocales } from './providers/ui-provider.js';
|
|
61
62
|
export { UIColor, UISize, UIVariant } from './lib/types.js';
|
|
62
63
|
export { cn } from './lib/utils.js';
|
|
63
64
|
export { useIsMobile } from './hooks/use-mobile.js';
|
|
64
|
-
import 'react/jsx-runtime';
|
|
65
|
-
import 'react';
|
|
66
|
-
import '@radix-ui/react-accordion';
|
|
67
65
|
import 'class-variance-authority/types';
|
|
66
|
+
import 'react';
|
|
68
67
|
import 'class-variance-authority';
|
|
69
|
-
import '@radix-ui/react-alert-dialog';
|
|
70
|
-
import '@radix-ui/react-aspect-ratio';
|
|
71
|
-
import '@radix-ui/react-avatar';
|
|
72
|
-
import 'react-day-picker';
|
|
73
|
-
import 'embla-carousel-react';
|
|
74
68
|
import '@radix-ui/react-checkbox';
|
|
75
|
-
import '
|
|
76
|
-
import '
|
|
77
|
-
import '@radix-ui/react-
|
|
69
|
+
import 'react/jsx-runtime';
|
|
70
|
+
import 'input-otp';
|
|
71
|
+
import '@radix-ui/react-label';
|
|
72
|
+
import '@radix-ui/react-radio-group';
|
|
73
|
+
import '@radix-ui/react-select';
|
|
74
|
+
import '@radix-ui/react-slider';
|
|
75
|
+
import '@radix-ui/react-switch';
|
|
76
|
+
import '@radix-ui/react-alert-dialog';
|
|
78
77
|
import '@radix-ui/react-dialog';
|
|
79
78
|
import 'vaul';
|
|
80
|
-
import '@radix-ui/react-dropdown-menu';
|
|
81
79
|
import '@radix-ui/react-hover-card';
|
|
82
|
-
import '
|
|
83
|
-
import '
|
|
80
|
+
import '@radix-ui/react-popover';
|
|
81
|
+
import 'sonner';
|
|
82
|
+
import '@radix-ui/react-tooltip';
|
|
83
|
+
import 'cmdk';
|
|
84
|
+
import '@radix-ui/react-context-menu';
|
|
85
|
+
import '@radix-ui/react-dropdown-menu';
|
|
84
86
|
import '@radix-ui/react-menubar';
|
|
85
87
|
import '@radix-ui/react-navigation-menu';
|
|
86
|
-
import '@radix-ui/react-
|
|
87
|
-
import '@radix-ui/react-
|
|
88
|
-
import '@radix-ui/react-
|
|
88
|
+
import '@radix-ui/react-tabs';
|
|
89
|
+
import '@radix-ui/react-accordion';
|
|
90
|
+
import '@radix-ui/react-aspect-ratio';
|
|
91
|
+
import '@radix-ui/react-avatar';
|
|
92
|
+
import 'embla-carousel-react';
|
|
93
|
+
import '@radix-ui/react-collapsible';
|
|
89
94
|
import 'react-resizable-panels';
|
|
90
95
|
import '@radix-ui/react-scroll-area';
|
|
91
|
-
import '@radix-ui/react-select';
|
|
92
96
|
import '@radix-ui/react-separator';
|
|
93
|
-
import '@radix-ui/react-slider';
|
|
94
|
-
import 'sonner';
|
|
95
|
-
import '@radix-ui/react-switch';
|
|
96
|
-
import '@radix-ui/react-tabs';
|
|
97
97
|
import '@radix-ui/react-toggle';
|
|
98
98
|
import '@radix-ui/react-toggle-group';
|
|
99
|
-
import '@radix-ui/react-
|
|
99
|
+
import '@radix-ui/react-progress';
|
|
100
|
+
import 'react-day-picker';
|
|
100
101
|
import 'lucide-react';
|
|
101
102
|
import 'clsx';
|
package/dist/index.js
CHANGED
|
@@ -1,64 +1,66 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-EBV2XEHD.js';
|
|
2
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './chunk-CLYBVDEQ.js';
|
|
3
|
+
export { Toaster } from './chunk-PYB6RRA5.js';
|
|
4
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-CSYH7P6N.js';
|
|
5
5
|
export { useIsMobile } from './chunk-WRCHR4AK.js';
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export { RadioGroup, RadioGroupItem } from './chunk-
|
|
20
|
-
export { Rating } from './chunk-
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export { AspectRatio } from './chunk-
|
|
59
|
-
export { Avatar, AvatarFallback, AvatarImage } from './chunk-
|
|
60
|
-
export { Badge, badgeVariants } from './chunk-
|
|
61
|
-
export {
|
|
6
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './chunk-DEKVLLTL.js';
|
|
7
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-DXZZURPN.js';
|
|
8
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './chunk-T65EBJUJ.js';
|
|
9
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './chunk-N5BNNKBR.js';
|
|
10
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './chunk-LA4L3QIK.js';
|
|
11
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-PJZ7D36X.js';
|
|
12
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './chunk-XNUFKQYL.js';
|
|
13
|
+
export { Switch } from './chunk-EAY3QSID.js';
|
|
14
|
+
export { TagInput } from './chunk-I6PJSYBI.js';
|
|
15
|
+
export { Textarea } from './chunk-ZUBW2ERW.js';
|
|
16
|
+
export { FullWidthPageContainer, PageContainer, SplitPageContainer, StandardPageContainer } from './chunk-YN26HHZ4.js';
|
|
17
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './chunk-YYJVVYFS.js';
|
|
18
|
+
export { PasswordInput } from './chunk-HDTHGIQR.js';
|
|
19
|
+
export { RadioGroup, RadioGroupItem } from './chunk-QGU4BRMO.js';
|
|
20
|
+
export { Rating } from './chunk-N6OUJIQD.js';
|
|
21
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './chunk-LTGCKJX7.js';
|
|
22
|
+
export { Slider } from './chunk-S73PGQD5.js';
|
|
23
|
+
export { SlugInput, generateSlug } from './chunk-4AGNE75K.js';
|
|
24
|
+
export { ColorPicker } from './chunk-V3S2AZKJ.js';
|
|
25
|
+
export { Input, inputVariants } from './chunk-4NBDYSSQ.js';
|
|
26
|
+
import './chunk-YU55YBID.js';
|
|
27
|
+
export { Combobox, MultiCombobox } from './chunk-3V6NS4EQ.js';
|
|
28
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './chunk-MVYSUWSD.js';
|
|
29
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './chunk-YVCLIOMM.js';
|
|
30
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './chunk-7NMNLY7F.js';
|
|
31
|
+
export { FileUpload } from './chunk-47TUWE63.js';
|
|
32
|
+
export { Label } from './chunk-EYJ7TJIX.js';
|
|
33
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './chunk-33QLY6GI.js';
|
|
34
|
+
export { StageTypeBadge } from './chunk-6Z6NRIQ2.js';
|
|
35
|
+
export { WorkflowCategoryBadge } from './chunk-6W5FYOXQ.js';
|
|
36
|
+
export { WorkflowDiagram } from './chunk-VATNOBZ2.js';
|
|
37
|
+
export { WorkflowStatusBadge } from './chunk-YU23NDE4.js';
|
|
38
|
+
export { WorkflowStepper } from './chunk-HEQVBUJO.js';
|
|
39
|
+
export { Alert, AlertDescription, AlertTitle } from './chunk-CNS3OMZ7.js';
|
|
40
|
+
export { Progress } from './chunk-NWVMNWOH.js';
|
|
41
|
+
export { Skeleton } from './chunk-GR7T5QHL.js';
|
|
42
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './chunk-VOLR236J.js';
|
|
43
|
+
export { UIProvider, resolveTranslatableConfig, useDateFnsLocale, useTheme, useUILocales } from './chunk-VPTIRPZW.js';
|
|
44
|
+
export { Calendar } from './chunk-KJAXKHJ2.js';
|
|
45
|
+
export { PermissionGrid, buildPermissionId } from './chunk-2BRCVWXR.js';
|
|
46
|
+
export { Checkbox } from './chunk-W477ZR6B.js';
|
|
47
|
+
export { ScopeTree } from './chunk-7KZ7CVRN.js';
|
|
48
|
+
export { ScopeTypeBadge } from './chunk-SAHHVJMQ.js';
|
|
49
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-WJX6NKKF.js';
|
|
50
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './chunk-5AGUCELC.js';
|
|
51
|
+
export { ScrollArea, ScrollBar } from './chunk-LUYTKHGS.js';
|
|
52
|
+
export { Separator } from './chunk-KCUSO3CK.js';
|
|
53
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-RZZH57ZL.js';
|
|
54
|
+
export { ToggleGroup, ToggleGroupItem } from './chunk-TPBRGO4D.js';
|
|
55
|
+
export { Toggle, toggleVariants } from './chunk-ORTPKXBI.js';
|
|
56
|
+
export { CalendarCategoryBadge } from './chunk-IXEPDTUE.js';
|
|
57
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './chunk-CECQY5LL.js';
|
|
58
|
+
export { AspectRatio } from './chunk-ITTPI2Z3.js';
|
|
59
|
+
export { Avatar, AvatarFallback, AvatarImage } from './chunk-FTNPOZGK.js';
|
|
60
|
+
export { Badge, badgeVariants } from './chunk-5SAUUOCN.js';
|
|
61
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-DXKFFJIE.js';
|
|
62
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './chunk-5WOCEAZG.js';
|
|
63
|
+
export { Button, buttonVariants } from './chunk-BOV3Q2JH.js';
|
|
62
64
|
export { cn } from './chunk-DGPY4WP3.js';
|
|
63
65
|
//# sourceMappingURL=index.js.map
|
|
64
66
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type Theme = 'light' | 'dark' | 'system';
|
|
5
|
+
type LocaleCode = string;
|
|
6
|
+
/**
|
|
7
|
+
* Map of locale code → display label.
|
|
8
|
+
* @example { en: 'English', vi: 'Tiếng Việt', ja: '日本語' }
|
|
9
|
+
*/
|
|
10
|
+
type LocaleMap = Record<LocaleCode, string>;
|
|
11
|
+
/** Value shape for translatable fields: locale code → string content. */
|
|
12
|
+
type TranslatableValue = Record<LocaleCode, string>;
|
|
13
|
+
/** Locale configuration used by UIProvider and translatable fields. */
|
|
14
|
+
interface UILocaleConfig {
|
|
15
|
+
/** Available locales. e.g. `{ en: 'English', vi: 'Tiếng Việt' }` */
|
|
16
|
+
locales: LocaleMap;
|
|
17
|
+
/** Locale shown by default when a translatable field is first rendered. */
|
|
18
|
+
defaultLocale: LocaleCode;
|
|
19
|
+
/** Locale to fall back to when the active locale has no value. */
|
|
20
|
+
fallbackLocale: LocaleCode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* `true` — inherit UIProvider's locale config.
|
|
24
|
+
* `object` — override per-field (merged with provider config).
|
|
25
|
+
*/
|
|
26
|
+
type TranslatableConfig = true | Partial<UILocaleConfig>;
|
|
27
|
+
interface UIProviderProps {
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Initial theme. Defaults to user's saved localStorage value or `'system'`.
|
|
31
|
+
*/
|
|
32
|
+
defaultTheme?: Theme;
|
|
33
|
+
/**
|
|
34
|
+
* Available locales for translatable fields.
|
|
35
|
+
* @example { en: 'English', vi: 'Tiếng Việt', ja: '日本語' }
|
|
36
|
+
*/
|
|
37
|
+
locales?: LocaleMap;
|
|
38
|
+
/**
|
|
39
|
+
* Locale shown first in translatable fields.
|
|
40
|
+
* Defaults to the first key in `locales`.
|
|
41
|
+
*/
|
|
42
|
+
defaultLocale?: LocaleCode;
|
|
43
|
+
/**
|
|
44
|
+
* Locale used when a field has no value for the active locale.
|
|
45
|
+
* Defaults to `defaultLocale`.
|
|
46
|
+
*/
|
|
47
|
+
fallbackLocale?: LocaleCode;
|
|
48
|
+
/**
|
|
49
|
+
* date-fns `Locale` object used by date components (DatePicker, CalendarMini, etc.).
|
|
50
|
+
* Typed as `object` to avoid importing date-fns as a direct dependency.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```tsx
|
|
54
|
+
* import { ja } from 'date-fns/locale';
|
|
55
|
+
* <UIProvider dateFnsLocale={ja}>{children}</UIProvider>
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
dateFnsLocale?: object;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Root provider for @omnifyjp/ui — handles dark mode and translatable field config.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```tsx
|
|
65
|
+
* <UIProvider
|
|
66
|
+
* locales={{ en: 'English', vi: 'Tiếng Việt', ja: '日本語' }}
|
|
67
|
+
* defaultLocale="en"
|
|
68
|
+
* fallbackLocale="en"
|
|
69
|
+
* >
|
|
70
|
+
* {children}
|
|
71
|
+
* </UIProvider>
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
declare function UIProvider({ children, defaultTheme, locales, defaultLocale, fallbackLocale, dateFnsLocale, }: UIProviderProps): react_jsx_runtime.JSX.Element;
|
|
75
|
+
/** Access theme and setTheme. Must be inside UIProvider. */
|
|
76
|
+
declare function useTheme(): {
|
|
77
|
+
theme: Theme;
|
|
78
|
+
setTheme: (t: Theme) => void;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Returns the locale config from UIProvider.
|
|
82
|
+
* Returns `undefined` when no `locales` prop was passed to UIProvider.
|
|
83
|
+
*/
|
|
84
|
+
declare function useUILocales(): UILocaleConfig | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Returns the date-fns `Locale` object from UIProvider.
|
|
87
|
+
* Returns `undefined` when no `dateFnsLocale` prop was passed.
|
|
88
|
+
*/
|
|
89
|
+
declare function useDateFnsLocale(): object | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Resolves the effective UILocaleConfig for a translatable field.
|
|
92
|
+
* Merges inline `TranslatableConfig` with the provider's locale config.
|
|
93
|
+
*/
|
|
94
|
+
declare function resolveTranslatableConfig(translatable: TranslatableConfig, providerLocales: UILocaleConfig | undefined): UILocaleConfig | undefined;
|
|
95
|
+
|
|
96
|
+
export { type LocaleCode, type LocaleMap, type Theme, type TranslatableConfig, type TranslatableValue, type UILocaleConfig, UIProvider, type UIProviderProps, resolveTranslatableConfig, useDateFnsLocale, useTheme, useUILocales };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ui-provider.js"}
|