@omnifyjp/ui 0.4.5 → 0.5.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/README.md +379 -133
- package/dist/chunk-2ZIFL2X3.js +189 -0
- package/dist/chunk-2ZIFL2X3.js.map +1 -0
- package/dist/chunk-5BL4VFRJ.js +57 -0
- package/dist/chunk-5BL4VFRJ.js.map +1 -0
- package/dist/chunk-5D3OAVOZ.js +91 -0
- package/dist/chunk-5D3OAVOZ.js.map +1 -0
- package/dist/chunk-DTM76EJD.js +235 -0
- package/dist/chunk-DTM76EJD.js.map +1 -0
- package/dist/chunk-EJEVW4RO.js +49 -0
- package/dist/chunk-EJEVW4RO.js.map +1 -0
- package/dist/chunk-O25D7DCP.js +72 -0
- package/dist/chunk-O25D7DCP.js.map +1 -0
- package/dist/chunk-OY3PSPA5.js +661 -0
- package/dist/chunk-OY3PSPA5.js.map +1 -0
- package/dist/chunk-RSCXIS4D.js +37 -0
- package/dist/chunk-RSCXIS4D.js.map +1 -0
- package/dist/chunk-SHHZRZMM.js +83 -0
- package/dist/chunk-SHHZRZMM.js.map +1 -0
- package/dist/chunk-X57K24P3.js +224 -0
- package/dist/chunk-X57K24P3.js.map +1 -0
- package/dist/chunk-XDXGUPCR.js +123 -0
- package/dist/chunk-XDXGUPCR.js.map +1 -0
- package/dist/components/AppShell.d.ts +27 -0
- package/dist/components/AppShell.js +11 -0
- package/dist/components/AppShell.js.map +1 -0
- package/dist/components/Header.d.ts +11 -0
- package/dist/components/Header.js +6 -0
- package/dist/components/Header.js.map +1 -0
- package/dist/components/OrganizationSelector.d.ts +8 -0
- package/dist/components/OrganizationSelector.js +4 -0
- package/dist/components/OrganizationSelector.js.map +1 -0
- package/dist/components/OrganizationSetupModal.d.ts +5 -0
- package/dist/components/OrganizationSetupModal.js +4 -0
- package/dist/components/OrganizationSetupModal.js.map +1 -0
- package/dist/components/PageContainer.d.ts +105 -0
- package/dist/components/PageContainer.js +3 -0
- package/dist/components/PageContainer.js.map +1 -0
- package/dist/components/ServiceMenu.d.ts +11 -0
- package/dist/components/ServiceMenu.js +3 -0
- package/dist/components/ServiceMenu.js.map +1 -0
- package/dist/components/Sidebar.d.ts +11 -0
- package/dist/components/Sidebar.js +5 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/accordion.d.ts +70 -37
- package/dist/components/accordion.js +1 -2
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/alert-dialog.d.ts +1 -56
- package/dist/components/alert-dialog.js +1 -3
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.d.ts +1 -68
- package/dist/components/alert.js +1 -2
- package/dist/components/alert.js.map +1 -1
- package/dist/components/aspect-ratio.d.ts +1 -23
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/aspect-ratio.js.map +1 -1
- package/dist/components/avatar.d.ts +1 -48
- package/dist/components/avatar.js +1 -2
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.d.ts +1 -52
- package/dist/components/badge.js +1 -2
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.d.ts +1 -50
- package/dist/components/breadcrumb.js +1 -2
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/button.d.ts +1 -81
- package/dist/components/button.js +1 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar-category-badge.d.ts +1 -24
- package/dist/components/calendar-category-badge.js +1 -3
- package/dist/components/calendar-category-badge.js.map +1 -1
- package/dist/components/calendar-event-chip.d.ts +1 -41
- package/dist/components/calendar-event-chip.js +1 -2
- package/dist/components/calendar-event-chip.js.map +1 -1
- package/dist/components/calendar-event-sheet.d.ts +1 -68
- package/dist/components/calendar-event-sheet.js +1 -7
- package/dist/components/calendar-event-sheet.js.map +1 -1
- package/dist/components/calendar-mini.d.ts +1 -65
- package/dist/components/calendar-mini.js +1 -4
- package/dist/components/calendar-mini.js.map +1 -1
- package/dist/components/calendar-toolbar.d.ts +1 -58
- package/dist/components/calendar-toolbar.js +1 -5
- package/dist/components/calendar-toolbar.js.map +1 -1
- package/dist/components/calendar.d.ts +1 -19
- package/dist/components/calendar.js +1 -3
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.d.ts +1 -43
- package/dist/components/card.js +1 -2
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.d.ts +1 -53
- package/dist/components/carousel.js +1 -3
- package/dist/components/carousel.js.map +1 -1
- package/dist/components/chart.d.ts +1 -103
- package/dist/components/chart.js +1 -2
- package/dist/components/chart.js.map +1 -1
- package/dist/components/checkbox.d.ts +1 -24
- package/dist/components/checkbox.js +1 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts +1 -28
- package/dist/components/collapsible.js +1 -1
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/color-picker.d.ts +1 -35
- package/dist/components/color-picker.js +1 -5
- package/dist/components/color-picker.js.map +1 -1
- package/dist/components/combobox.d.ts +1 -98
- package/dist/components/combobox.js +1 -6
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/command.d.ts +1 -63
- package/dist/components/command.js +1 -3
- package/dist/components/command.js.map +1 -1
- package/dist/components/context-menu.d.ts +1 -70
- package/dist/components/context-menu.js +1 -2
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/date-picker.d.ts +1 -71
- package/dist/components/date-picker.js +1 -5
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/dialog.d.ts +1 -58
- package/dist/components/dialog.js +1 -2
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/drawer.d.ts +1 -60
- package/dist/components/drawer.js +1 -2
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.d.ts +1 -76
- package/dist/components/dropdown-menu.js +1 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/file-upload.d.ts +1 -44
- package/dist/components/file-upload.js +1 -3
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/form.d.ts +1 -67
- package/dist/components/form.js +1 -3
- package/dist/components/form.js.map +1 -1
- package/dist/components/hover-card.d.ts +1 -43
- package/dist/components/hover-card.js +1 -2
- package/dist/components/hover-card.js.map +1 -1
- package/dist/components/input-otp.d.ts +1 -38
- package/dist/components/input-otp.js +1 -2
- package/dist/components/input-otp.js.map +1 -1
- package/dist/components/input.d.ts +1 -38
- package/dist/components/input.js +1 -2
- package/dist/components/input.js.map +1 -1
- package/dist/components/label.d.ts +1 -20
- package/dist/components/label.js +1 -2
- package/dist/components/label.js.map +1 -1
- package/dist/components/menubar.d.ts +1 -82
- package/dist/components/menubar.js +1 -2
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/navigation-menu.d.ts +1 -64
- package/dist/components/navigation-menu.js +1 -2
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/pagination.d.ts +1 -59
- package/dist/components/pagination.js +1 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/password-input.d.ts +1 -32
- package/dist/components/password-input.js +1 -3
- package/dist/components/password-input.js.map +1 -1
- package/dist/components/permission-grid.d.ts +1 -67
- package/dist/components/permission-grid.js +1 -3
- package/dist/components/permission-grid.js.map +1 -1
- package/dist/components/popover.d.ts +1 -37
- package/dist/components/popover.js +1 -2
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress.d.ts +1 -20
- package/dist/components/progress.js +1 -2
- package/dist/components/progress.js.map +1 -1
- package/dist/components/radio-group.d.ts +1 -38
- package/dist/components/radio-group.js +1 -2
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/rating.d.ts +1 -35
- package/dist/components/rating.js +1 -2
- package/dist/components/rating.js.map +1 -1
- package/dist/components/resizable.d.ts +1 -36
- package/dist/components/resizable.js +1 -2
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/scope-tree.d.ts +1 -78
- package/dist/components/scope-tree.js +1 -3
- package/dist/components/scope-tree.js.map +1 -1
- package/dist/components/scope-type-badge.d.ts +1 -35
- package/dist/components/scope-type-badge.js +1 -3
- package/dist/components/scope-type-badge.js.map +1 -1
- package/dist/components/scroll-area.d.ts +1 -29
- package/dist/components/scroll-area.js +1 -2
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.d.ts +1 -52
- package/dist/components/select.js +1 -2
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.d.ts +1 -24
- package/dist/components/separator.js +1 -2
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.d.ts +1 -51
- package/dist/components/sheet.js +1 -2
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/skeleton.d.ts +1 -25
- package/dist/components/skeleton.js +1 -2
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/slider.d.ts +1 -24
- package/dist/components/slider.js +1 -2
- package/dist/components/slider.js.map +1 -1
- package/dist/components/slug-input.d.ts +1 -50
- package/dist/components/slug-input.js +1 -4
- package/dist/components/slug-input.js.map +1 -1
- package/dist/components/sonner.d.ts +1 -22
- package/dist/components/sonner.js +1 -1
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/stage-type-badge.d.ts +1 -30
- package/dist/components/stage-type-badge.js +1 -3
- package/dist/components/stage-type-badge.js.map +1 -1
- package/dist/components/switch.d.ts +1 -26
- package/dist/components/switch.js +1 -2
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.d.ts +1 -57
- package/dist/components/table.js +1 -2
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.d.ts +1 -39
- package/dist/components/tabs.js +1 -2
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tag-input.d.ts +1 -40
- package/dist/components/tag-input.js +1 -3
- package/dist/components/tag-input.js.map +1 -1
- package/dist/components/textarea.d.ts +1 -21
- package/dist/components/textarea.js +1 -2
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/time-picker.d.ts +1 -57
- package/dist/components/time-picker.js +1 -6
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toggle-group.d.ts +1 -45
- package/dist/components/toggle-group.js +1 -3
- package/dist/components/toggle-group.js.map +1 -1
- package/dist/components/toggle.d.ts +1 -31
- package/dist/components/toggle.js +1 -2
- package/dist/components/toggle.js.map +1 -1
- package/dist/components/tooltip.d.ts +1 -34
- package/dist/components/tooltip.js +1 -2
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/workflow-category-badge.d.ts +1 -32
- package/dist/components/workflow-category-badge.js +1 -3
- package/dist/components/workflow-category-badge.js.map +1 -1
- package/dist/components/workflow-diagram.d.ts +1 -63
- package/dist/components/workflow-diagram.js +1 -3
- package/dist/components/workflow-diagram.js.map +1 -1
- package/dist/components/workflow-status-badge.d.ts +1 -30
- package/dist/components/workflow-status-badge.js +1 -3
- package/dist/components/workflow-status-badge.js.map +1 -1
- package/dist/components/workflow-stepper.d.ts +1 -52
- package/dist/components/workflow-stepper.js +1 -2
- package/dist/components/workflow-stepper.js.map +1 -1
- package/dist/contexts/OrganizationContext.d.ts +26 -0
- package/dist/contexts/OrganizationContext.js +3 -0
- package/dist/contexts/OrganizationContext.js.map +1 -0
- package/dist/contexts/ThemeContext.d.ts +14 -0
- package/dist/contexts/ThemeContext.js +3 -0
- package/dist/contexts/ThemeContext.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -3
- package/dist/hooks/use-mobile.js +1 -1
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/hooks/useDateFormat.d.ts +28 -0
- package/dist/hooks/useDateFormat.js +4 -0
- package/dist/hooks/useDateFormat.js.map +1 -0
- package/dist/i18n.d.ts +38 -0
- package/dist/i18n.js +3 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +13 -109
- package/dist/index.js +11 -70
- package/dist/lib/types.d.ts +1 -0
- package/dist/lib/types.js +3 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/utils.d.ts +1 -5
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/types.d.ts +89 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +31 -70
- package/dist/chunk-2C2HRGM7.js +0 -51
- package/dist/chunk-2C2HRGM7.js.map +0 -1
- package/dist/chunk-2TUWDXAC.js +0 -196
- package/dist/chunk-2TUWDXAC.js.map +0 -1
- package/dist/chunk-34ARZSNP.js +0 -63
- package/dist/chunk-34ARZSNP.js.map +0 -1
- package/dist/chunk-35DNN46W.js +0 -13
- package/dist/chunk-35DNN46W.js.map +0 -1
- package/dist/chunk-35U6QG4P.js +0 -116
- package/dist/chunk-35U6QG4P.js.map +0 -1
- package/dist/chunk-36YYHIJU.js +0 -52
- package/dist/chunk-36YYHIJU.js.map +0 -1
- package/dist/chunk-3EOHW4QN.js +0 -35
- package/dist/chunk-3EOHW4QN.js.map +0 -1
- package/dist/chunk-3UPBCOS4.js +0 -39
- package/dist/chunk-3UPBCOS4.js.map +0 -1
- package/dist/chunk-3VU56V66.js +0 -41
- package/dist/chunk-3VU56V66.js.map +0 -1
- package/dist/chunk-55E7D2HR.js +0 -99
- package/dist/chunk-55E7D2HR.js.map +0 -1
- package/dist/chunk-67YUL2ZS.js +0 -53
- package/dist/chunk-67YUL2ZS.js.map +0 -1
- package/dist/chunk-6DIDQ4TB.js +0 -131
- package/dist/chunk-6DIDQ4TB.js.map +0 -1
- package/dist/chunk-6GWVQB3Q.js +0 -155
- package/dist/chunk-6GWVQB3Q.js.map +0 -1
- package/dist/chunk-75WZR6HF.js +0 -44
- package/dist/chunk-75WZR6HF.js.map +0 -1
- package/dist/chunk-7IRLBU2I.js +0 -114
- package/dist/chunk-7IRLBU2I.js.map +0 -1
- package/dist/chunk-7RMTPT6O.js +0 -99
- package/dist/chunk-7RMTPT6O.js.map +0 -1
- package/dist/chunk-7XH3MGBR.js +0 -128
- package/dist/chunk-7XH3MGBR.js.map +0 -1
- package/dist/chunk-A3BB5ZOC.js +0 -77
- package/dist/chunk-A3BB5ZOC.js.map +0 -1
- package/dist/chunk-B434PORR.js +0 -239
- package/dist/chunk-B434PORR.js.map +0 -1
- package/dist/chunk-BAQWGQJG.js +0 -106
- package/dist/chunk-BAQWGQJG.js.map +0 -1
- package/dist/chunk-BRSM3SZP.js +0 -46
- package/dist/chunk-BRSM3SZP.js.map +0 -1
- package/dist/chunk-C34KSTWA.js +0 -43
- package/dist/chunk-C34KSTWA.js.map +0 -1
- package/dist/chunk-C5NZAOA7.js +0 -54
- package/dist/chunk-C5NZAOA7.js.map +0 -1
- package/dist/chunk-CUZR4JWM.js +0 -23
- package/dist/chunk-CUZR4JWM.js.map +0 -1
- package/dist/chunk-DGPY4WP3.js +0 -11
- package/dist/chunk-DGPY4WP3.js.map +0 -1
- package/dist/chunk-EWBCV7VA.js +0 -65
- package/dist/chunk-EWBCV7VA.js.map +0 -1
- package/dist/chunk-F2ZJLKDP.js +0 -119
- package/dist/chunk-F2ZJLKDP.js.map +0 -1
- package/dist/chunk-FLWMT4DB.js +0 -66
- package/dist/chunk-FLWMT4DB.js.map +0 -1
- package/dist/chunk-FRKG7JQY.js +0 -48
- package/dist/chunk-FRKG7JQY.js.map +0 -1
- package/dist/chunk-G7HTZBUR.js +0 -187
- package/dist/chunk-G7HTZBUR.js.map +0 -1
- package/dist/chunk-HWTW64R5.js +0 -90
- package/dist/chunk-HWTW64R5.js.map +0 -1
- package/dist/chunk-IAWKX5W4.js +0 -219
- package/dist/chunk-IAWKX5W4.js.map +0 -1
- package/dist/chunk-INLM7UJC.js +0 -238
- package/dist/chunk-INLM7UJC.js.map +0 -1
- package/dist/chunk-JAJMM32I.js +0 -18
- package/dist/chunk-JAJMM32I.js.map +0 -1
- package/dist/chunk-JJSVA3TH.js +0 -61
- package/dist/chunk-JJSVA3TH.js.map +0 -1
- package/dist/chunk-JLTBUACL.js +0 -121
- package/dist/chunk-JLTBUACL.js.map +0 -1
- package/dist/chunk-JRU2QX7T.js +0 -38
- package/dist/chunk-JRU2QX7T.js.map +0 -1
- package/dist/chunk-JXGRW2MR.js +0 -17
- package/dist/chunk-JXGRW2MR.js.map +0 -1
- package/dist/chunk-KTBOZ4NE.js +0 -93
- package/dist/chunk-KTBOZ4NE.js.map +0 -1
- package/dist/chunk-LMT327XH.js +0 -56
- package/dist/chunk-LMT327XH.js.map +0 -1
- package/dist/chunk-LTTNCAAA.js +0 -138
- package/dist/chunk-LTTNCAAA.js.map +0 -1
- package/dist/chunk-LVZNNIK4.js +0 -111
- package/dist/chunk-LVZNNIK4.js.map +0 -1
- package/dist/chunk-MJLFJPUG.js +0 -143
- package/dist/chunk-MJLFJPUG.js.map +0 -1
- package/dist/chunk-MZ2P566X.js +0 -65
- package/dist/chunk-MZ2P566X.js.map +0 -1
- package/dist/chunk-N47H4MHX.js +0 -41
- package/dist/chunk-N47H4MHX.js.map +0 -1
- package/dist/chunk-NNJTKHCE.js +0 -160
- package/dist/chunk-NNJTKHCE.js.map +0 -1
- package/dist/chunk-NPL2R5LD.js +0 -171
- package/dist/chunk-NPL2R5LD.js.map +0 -1
- package/dist/chunk-NU56GKGM.js +0 -44
- package/dist/chunk-NU56GKGM.js.map +0 -1
- package/dist/chunk-P3M5TZD2.js +0 -24
- package/dist/chunk-P3M5TZD2.js.map +0 -1
- package/dist/chunk-PGWNOZDX.js +0 -28
- package/dist/chunk-PGWNOZDX.js.map +0 -1
- package/dist/chunk-QB3UWRZH.js +0 -92
- package/dist/chunk-QB3UWRZH.js.map +0 -1
- package/dist/chunk-R2CDE5DO.js +0 -33
- package/dist/chunk-R2CDE5DO.js.map +0 -1
- package/dist/chunk-RQNZDWY3.js +0 -65
- package/dist/chunk-RQNZDWY3.js.map +0 -1
- package/dist/chunk-S6PDRGR5.js +0 -109
- package/dist/chunk-S6PDRGR5.js.map +0 -1
- package/dist/chunk-TGYQ3AKH.js +0 -95
- package/dist/chunk-TGYQ3AKH.js.map +0 -1
- package/dist/chunk-THQUH6WX.js +0 -81
- package/dist/chunk-THQUH6WX.js.map +0 -1
- package/dist/chunk-TJMK2KBE.js +0 -112
- package/dist/chunk-TJMK2KBE.js.map +0 -1
- package/dist/chunk-TTH7TWVX.js +0 -30
- package/dist/chunk-TTH7TWVX.js.map +0 -1
- package/dist/chunk-USIHM7FV.js +0 -211
- package/dist/chunk-USIHM7FV.js.map +0 -1
- package/dist/chunk-VVYSAGB3.js +0 -104
- 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 +0 -33
- package/dist/chunk-WL4ZO2H3.js.map +0 -1
- package/dist/chunk-WRCHR4AK.js +0 -23
- package/dist/chunk-WRCHR4AK.js.map +0 -1
- package/dist/chunk-XOJJBNDX.js +0 -33
- package/dist/chunk-XOJJBNDX.js.map +0 -1
- package/dist/chunk-XUVLD65E.js +0 -617
- package/dist/chunk-XUVLD65E.js.map +0 -1
- package/dist/chunk-YBMEQZX7.js +0 -164
- package/dist/chunk-YBMEQZX7.js.map +0 -1
- package/dist/chunk-Z2QAABLM.js +0 -86
- package/dist/chunk-Z2QAABLM.js.map +0 -1
- package/dist/chunk-ZHEKDP5X.js +0 -41
- package/dist/chunk-ZHEKDP5X.js.map +0 -1
- package/dist/chunk-ZPMXRW2A.js +0 -63
- package/dist/chunk-ZPMXRW2A.js.map +0 -1
- package/dist/chunk-ZYEGBF7G.js +0 -25
- package/dist/chunk-ZYEGBF7G.js.map +0 -1
- package/dist/components/sidebar.d.ts +0 -169
- package/dist/components/sidebar.js +0 -11
- package/dist/components/sidebar.js.map +0 -1
- package/dist/types-CBVkScfB.d.ts +0 -84
- package/src/styles/fonts.css +0 -0
- package/src/styles/index.css +0 -3
- package/src/styles/tailwind.css +0 -4
- package/src/styles/theme.css +0 -461
|
@@ -1,20 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
4
|
-
|
|
5
|
-
type ProgressProps = React.ComponentProps<typeof ProgressPrimitive.Root>;
|
|
6
|
-
/**
|
|
7
|
-
* Horizontal bar that indicates the completion progress of a task or operation.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* // Basic usage (65% complete)
|
|
12
|
-
* <Progress value={65} />
|
|
13
|
-
*
|
|
14
|
-
* // With custom styling
|
|
15
|
-
* <Progress value={40} className="h-3" />
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
declare function Progress({ className, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
19
|
-
|
|
20
|
-
export { Progress, type ProgressProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/progress';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"progress.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"progress.js","sourcesContent":[]}
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
4
|
-
|
|
5
|
-
type RadioGroupProps = React.ComponentProps<typeof RadioGroupPrimitive.Root>;
|
|
6
|
-
/**
|
|
7
|
-
* Container for a set of mutually exclusive radio options.
|
|
8
|
-
* Use with {@link RadioGroupItem} to build single-selection groups.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <RadioGroup defaultValue="option-1">
|
|
13
|
-
* <div className="flex items-center gap-2">
|
|
14
|
-
* <RadioGroupItem value="option-1" id="opt1" />
|
|
15
|
-
* <Label htmlFor="opt1">Option 1</Label>
|
|
16
|
-
* </div>
|
|
17
|
-
* <div className="flex items-center gap-2">
|
|
18
|
-
* <RadioGroupItem value="option-2" id="opt2" />
|
|
19
|
-
* <Label htmlFor="opt2">Option 2</Label>
|
|
20
|
-
* </div>
|
|
21
|
-
* </RadioGroup>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
declare function RadioGroup({ className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
25
|
-
type RadioGroupItemProps = React.ComponentProps<typeof RadioGroupPrimitive.Item>;
|
|
26
|
-
/**
|
|
27
|
-
* Individual radio option within a {@link RadioGroup}.
|
|
28
|
-
* Renders as a circular indicator that fills when selected.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```tsx
|
|
32
|
-
* <RadioGroupItem value="dark" id="theme-dark" />
|
|
33
|
-
* <Label htmlFor="theme-dark">Dark mode</Label>
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
declare function RadioGroupItem({ className, ...props }: RadioGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
37
|
-
|
|
38
|
-
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/radio-group';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"radio-group.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"radio-group.js","sourcesContent":[]}
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface RatingProps {
|
|
4
|
-
/** Current rating value (e.g., `3` or `3.5` with half stars). */
|
|
5
|
-
value?: number;
|
|
6
|
-
/** Callback fired when the user clicks a star. Receives the new rating number. */
|
|
7
|
-
onChange?: (value: number) => void;
|
|
8
|
-
/** Maximum number of stars. Defaults to `5`. */
|
|
9
|
-
max?: number;
|
|
10
|
-
/** Size of the star icons. Defaults to `"md"`. */
|
|
11
|
-
size?: "sm" | "md" | "lg";
|
|
12
|
-
/** Whether the rating is display-only (non-interactive). Defaults to `false`. */
|
|
13
|
-
readonly?: boolean;
|
|
14
|
-
/** Whether half-star ratings are enabled. Defaults to `false`. */
|
|
15
|
-
allowHalf?: boolean;
|
|
16
|
-
/** Additional CSS class for the outer container. */
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Star rating component with hover preview and optional half-star support.
|
|
21
|
-
* Shows filled/empty/half star icons and displays the numeric value beside the stars.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```tsx
|
|
25
|
-
* const [rating, setRating] = useState(0);
|
|
26
|
-
*
|
|
27
|
-
* <Rating value={rating} onChange={setRating} max={5} />
|
|
28
|
-
*
|
|
29
|
-
* // Read-only display with half stars:
|
|
30
|
-
* <Rating value={3.5} readonly allowHalf />
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
declare function Rating({ value, onChange, max, size, readonly, allowHalf, className, }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
|
-
export { Rating };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/rating';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"rating.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"rating.js","sourcesContent":[]}
|
|
@@ -1,36 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Resizable panel layout built on `react-resizable-panels`.
|
|
7
|
-
*
|
|
8
|
-
* Groups multiple `ResizablePanel` components separated by `ResizableHandle` drag handles.
|
|
9
|
-
* Supports horizontal (default) and vertical layouts via the `direction` prop.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* <ResizablePanelGroup direction="horizontal">
|
|
14
|
-
* <ResizablePanel defaultSize={50}>
|
|
15
|
-
* <div className="p-4">Left panel</div>
|
|
16
|
-
* </ResizablePanel>
|
|
17
|
-
* <ResizableHandle withHandle />
|
|
18
|
-
* <ResizablePanel defaultSize={50}>
|
|
19
|
-
* <div className="p-4">Right panel</div>
|
|
20
|
-
* </ResizablePanel>
|
|
21
|
-
* </ResizablePanelGroup>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
25
|
-
/** Individual resizable panel. Use `defaultSize` (percentage) to set the initial width/height. */
|
|
26
|
-
declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
27
|
-
/**
|
|
28
|
-
* Draggable handle between resizable panels.
|
|
29
|
-
*
|
|
30
|
-
* @param withHandle - When true, renders a visible grip icon on the handle for better discoverability.
|
|
31
|
-
*/
|
|
32
|
-
declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
33
|
-
withHandle?: boolean;
|
|
34
|
-
}): react_jsx_runtime.JSX.Element;
|
|
35
|
-
|
|
36
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/resizable';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"resizable.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"resizable.js","sourcesContent":[]}
|
|
@@ -1,78 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { LucideIcon } from 'lucide-react';
|
|
3
|
-
|
|
4
|
-
/** A small badge displayed next to a tree node name. */
|
|
5
|
-
interface ScopeTreeBadge {
|
|
6
|
-
/** Badge display text. */
|
|
7
|
-
label: string;
|
|
8
|
-
/** Optional className to style this badge. */
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
/** A node in the scope tree hierarchy. */
|
|
12
|
-
interface ScopeTreeNode {
|
|
13
|
-
/** Unique identifier for this node, or `null` for root/global nodes. */
|
|
14
|
-
id: string | null;
|
|
15
|
-
/** Display name of this scope. */
|
|
16
|
-
name: string;
|
|
17
|
-
/** Scope type key (e.g. "global", "organization", "branch", "location"). Determines the icon. */
|
|
18
|
-
type: string;
|
|
19
|
-
/** Optional child nodes for nested hierarchy. */
|
|
20
|
-
children?: ScopeTreeNode[];
|
|
21
|
-
/** Optional badges displayed next to the node name. */
|
|
22
|
-
badges?: ScopeTreeBadge[];
|
|
23
|
-
}
|
|
24
|
-
/** Represents the currently selected scope in the tree. */
|
|
25
|
-
interface ScopeTreeSelectedScope {
|
|
26
|
-
/** The scope type key of the selected node. */
|
|
27
|
-
type: string;
|
|
28
|
-
/** The ID of the selected node, or `null` for root/global nodes. */
|
|
29
|
-
id: string | null;
|
|
30
|
-
}
|
|
31
|
-
/** Localizable labels for the scope tree. Currently reserved for future extensibility. */
|
|
32
|
-
interface ScopeTreeLabels {
|
|
33
|
-
/** No labels are required by default; provided for future extensibility. */
|
|
34
|
-
[key: string]: string;
|
|
35
|
-
}
|
|
36
|
-
interface ScopeTreeProps {
|
|
37
|
-
/** Tree data: an array of root-level scope nodes. */
|
|
38
|
-
nodes: ScopeTreeNode[];
|
|
39
|
-
/** The currently selected scope (type + id). Used for highlighting. */
|
|
40
|
-
selectedScope?: ScopeTreeSelectedScope;
|
|
41
|
-
/** Callback when a node is clicked. */
|
|
42
|
-
onSelect?: (scope: ScopeTreeSelectedScope) => void;
|
|
43
|
-
/** Localizable labels. Currently reserved for future extensibility. */
|
|
44
|
-
labels?: Partial<ScopeTreeLabels>;
|
|
45
|
-
/** Default expansion depth. Nodes at depth < this value start expanded. Defaults to `1`. */
|
|
46
|
-
defaultExpandDepth?: number;
|
|
47
|
-
/** Custom icon map keyed by scope type. Falls back to built-in icons for global/organization/branch/location. */
|
|
48
|
-
iconMap?: Record<string, LucideIcon>;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Hierarchical tree view for selecting organizational scopes (e.g. global,
|
|
52
|
-
* organization, branch, location). Nodes are expandable/collapsible with
|
|
53
|
-
* chevron icons. Each node type has a dedicated icon. Supports custom icons
|
|
54
|
-
* via `iconMap` and optional badges on nodes.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* ```tsx
|
|
58
|
-
* const nodes: ScopeTreeNode[] = [
|
|
59
|
-
* {
|
|
60
|
-
* id: null, name: "Global", type: "global",
|
|
61
|
-
* children: [
|
|
62
|
-
* { id: "org-1", name: "Acme Corp", type: "organization", children: [
|
|
63
|
-
* { id: "br-1", name: "Tokyo HQ", type: "branch" },
|
|
64
|
-
* ]},
|
|
65
|
-
* ],
|
|
66
|
-
* },
|
|
67
|
-
* ];
|
|
68
|
-
*
|
|
69
|
-
* <ScopeTree
|
|
70
|
-
* nodes={nodes}
|
|
71
|
-
* selectedScope={{ type: "branch", id: "br-1" }}
|
|
72
|
-
* onSelect={(scope) => setSelected(scope)}
|
|
73
|
-
* />
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
declare function ScopeTree({ nodes, selectedScope, onSelect, defaultExpandDepth, iconMap, }: ScopeTreeProps): react_jsx_runtime.JSX.Element;
|
|
77
|
-
|
|
78
|
-
export { ScopeTree, type ScopeTreeBadge, type ScopeTreeLabels, type ScopeTreeNode, type ScopeTreeProps, type ScopeTreeSelectedScope };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/scope-tree';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"scope-tree.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scope-tree.js","sourcesContent":[]}
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { LucideIcon } from 'lucide-react';
|
|
3
|
-
|
|
4
|
-
/** Custom style and icon overrides for a scope type badge. */
|
|
5
|
-
interface ScopeTypeBadgeStyles {
|
|
6
|
-
/** Tailwind className string for the badge background, text, and border colors. */
|
|
7
|
-
className: string;
|
|
8
|
-
/** Lucide icon component to display in the badge. */
|
|
9
|
-
icon: LucideIcon;
|
|
10
|
-
}
|
|
11
|
-
interface ScopeTypeBadgeProps {
|
|
12
|
-
/** The scope type key (e.g. "global", "organization", "branch", "location"). */
|
|
13
|
-
type: string;
|
|
14
|
-
/** The display label for the badge. */
|
|
15
|
-
label: string;
|
|
16
|
-
/** Optional className to append to the badge. */
|
|
17
|
-
className?: string;
|
|
18
|
-
/** Override default styles and icon for the given type. */
|
|
19
|
-
styles?: Partial<ScopeTypeBadgeStyles>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Color-coded badge with an icon indicating a scope type. Ships with built-in
|
|
23
|
-
* styles for global (blue/Globe), organization (purple/Building2), branch
|
|
24
|
-
* (amber/GitBranch), and location (green/MapPin). Custom types fall back to
|
|
25
|
-
* global styling unless overridden via `styles`.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```tsx
|
|
29
|
-
* <ScopeTypeBadge type="organization" label="Organization" />
|
|
30
|
-
* <ScopeTypeBadge type="branch" label="Branch" />
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
declare function ScopeTypeBadge({ type, label, className, styles: styleOverrides, }: ScopeTypeBadgeProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
|
-
export { ScopeTypeBadge, type ScopeTypeBadgeProps, type ScopeTypeBadgeStyles };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/scope-type-badge';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '../chunk-A3BB5ZOC.js';
|
|
3
|
-
import '../chunk-DGPY4WP3.js';
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/scope-type-badge';
|
|
4
2
|
//# sourceMappingURL=scope-type-badge.js.map
|
|
5
3
|
//# sourceMappingURL=scope-type-badge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"scope-type-badge.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scope-type-badge.js","sourcesContent":[]}
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Custom scrollable container with styled scrollbar built on Radix ScrollArea.
|
|
7
|
-
*
|
|
8
|
-
* Replaces native browser scrollbars with a thin, themed scrollbar.
|
|
9
|
-
* Includes a vertical `ScrollBar` by default. Add a horizontal `ScrollBar`
|
|
10
|
-
* as a child if needed.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <ScrollArea className="h-72 w-48 rounded-md border">
|
|
15
|
-
* <div className="p-4">
|
|
16
|
-
* {items.map((item) => (
|
|
17
|
-
* <div key={item} className="py-2 text-sm">
|
|
18
|
-
* {item}
|
|
19
|
-
* </div>
|
|
20
|
-
* ))}
|
|
21
|
-
* </div>
|
|
22
|
-
* </ScrollArea>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
26
|
-
/** Styled scrollbar track and thumb. Set `orientation` to `"horizontal"` or `"vertical"` (default). */
|
|
27
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
28
|
-
|
|
29
|
-
export { ScrollArea, ScrollBar };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/scroll-area';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"scroll-area.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scroll-area.js","sourcesContent":[]}
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Select dropdown component built on Radix UI Select.
|
|
7
|
-
* Provides a styled, accessible dropdown for selecting a single value from a list.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <Select value={value} onValueChange={setValue}>
|
|
12
|
-
* <SelectTrigger>
|
|
13
|
-
* <SelectValue placeholder="Choose..." />
|
|
14
|
-
* </SelectTrigger>
|
|
15
|
-
* <SelectContent>
|
|
16
|
-
* <SelectGroup>
|
|
17
|
-
* <SelectLabel>Fruits</SelectLabel>
|
|
18
|
-
* <SelectItem value="apple">Apple</SelectItem>
|
|
19
|
-
* <SelectItem value="banana">Banana</SelectItem>
|
|
20
|
-
* </SelectGroup>
|
|
21
|
-
* <SelectSeparator />
|
|
22
|
-
* <SelectGroup>
|
|
23
|
-
* <SelectLabel>Vegetables</SelectLabel>
|
|
24
|
-
* <SelectItem value="carrot">Carrot</SelectItem>
|
|
25
|
-
* </SelectGroup>
|
|
26
|
-
* </SelectContent>
|
|
27
|
-
* </Select>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
31
|
-
/** Groups related select items under an optional label. */
|
|
32
|
-
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
33
|
-
/** Displays the currently selected value or a placeholder. */
|
|
34
|
-
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
35
|
-
/** Button that toggles the select dropdown open/closed. */
|
|
36
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
37
|
-
size?: "sm" | "default";
|
|
38
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
39
|
-
/** Dropdown content container rendered in a portal. */
|
|
40
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
41
|
-
/** Non-interactive label rendered inside a SelectGroup. */
|
|
42
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
/** A selectable option within the dropdown. */
|
|
44
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
/** Visual separator between select groups or items. */
|
|
46
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
47
|
-
/** Scroll-up indicator shown when the list is scrollable. */
|
|
48
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
49
|
-
/** Scroll-down indicator shown when the list is scrollable. */
|
|
50
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/select';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '../chunk-DGPY4WP3.js';
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/select';
|
|
3
2
|
//# sourceMappingURL=select.js.map
|
|
4
3
|
//# sourceMappingURL=select.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"select.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"select.js","sourcesContent":[]}
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
4
|
-
|
|
5
|
-
type SeparatorProps = React.ComponentProps<typeof SeparatorPrimitive.Root>;
|
|
6
|
-
/**
|
|
7
|
-
* Visual divider between content sections, rendered as a horizontal or vertical line.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* // Horizontal (default)
|
|
12
|
-
* <Separator />
|
|
13
|
-
*
|
|
14
|
-
* // Vertical divider in a flex row
|
|
15
|
-
* <div className="flex items-center gap-4">
|
|
16
|
-
* <span>Left</span>
|
|
17
|
-
* <Separator orientation="vertical" className="h-4" />
|
|
18
|
-
* <span>Right</span>
|
|
19
|
-
* </div>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { Separator, type SeparatorProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/separator';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"separator.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"separator.js","sourcesContent":[]}
|
|
@@ -1,51 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Slide-out panel component built on Radix UI Dialog.
|
|
7
|
-
*
|
|
8
|
-
* A sheet slides in from the edge of the screen, ideal for navigation,
|
|
9
|
-
* filters, or supplementary content. Supports `top`, `right`, `bottom`,
|
|
10
|
-
* and `left` sides via the `side` prop on `SheetContent`.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <Sheet open={open} onOpenChange={setOpen}>
|
|
15
|
-
* <SheetTrigger asChild>
|
|
16
|
-
* <Button variant="outline">Open Sheet</Button>
|
|
17
|
-
* </SheetTrigger>
|
|
18
|
-
* <SheetContent side="right">
|
|
19
|
-
* <SheetHeader>
|
|
20
|
-
* <SheetTitle>Settings</SheetTitle>
|
|
21
|
-
* <SheetDescription>
|
|
22
|
-
* Adjust your preferences below.
|
|
23
|
-
* </SheetDescription>
|
|
24
|
-
* </SheetHeader>
|
|
25
|
-
* <div className="p-4">Content here</div>
|
|
26
|
-
* <SheetFooter>
|
|
27
|
-
* <Button onClick={() => setOpen(false)}>Done</Button>
|
|
28
|
-
* </SheetFooter>
|
|
29
|
-
* </SheetContent>
|
|
30
|
-
* </Sheet>
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
34
|
-
/** Element that opens the sheet when clicked. Use `asChild` to merge into your own button. */
|
|
35
|
-
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
|
-
/** Button that closes the sheet. Use `asChild` to merge into your own button. */
|
|
37
|
-
declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
/** Sliding content panel. Set `side` to control which edge it slides from (default: `"right"`). */
|
|
39
|
-
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
40
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
41
|
-
}): react_jsx_runtime.JSX.Element;
|
|
42
|
-
/** Container for SheetTitle and SheetDescription at the top of the sheet. */
|
|
43
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
44
|
-
/** Container for action buttons at the bottom of the sheet. Pushed to the bottom via `mt-auto`. */
|
|
45
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
46
|
-
/** Accessible title rendered inside SheetHeader. */
|
|
47
|
-
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
48
|
-
/** Accessible description rendered inside SheetHeader below the title. */
|
|
49
|
-
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
50
|
-
|
|
51
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/sheet';
|
package/dist/components/sheet.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '../chunk-DGPY4WP3.js';
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/sheet';
|
|
3
2
|
//# sourceMappingURL=sheet.js.map
|
|
4
3
|
//# sourceMappingURL=sheet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"sheet.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"sheet.js","sourcesContent":[]}
|
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type SkeletonProps = React.ComponentProps<"div">;
|
|
4
|
-
/**
|
|
5
|
-
* Placeholder loading indicator with a pulse animation, used to represent
|
|
6
|
-
* content that is being fetched or rendered.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* // Text placeholder
|
|
11
|
-
* <Skeleton className="h-4 w-48" />
|
|
12
|
-
*
|
|
13
|
-
* // Circular avatar placeholder
|
|
14
|
-
* <Skeleton className="size-10 rounded-full" />
|
|
15
|
-
*
|
|
16
|
-
* // Card skeleton
|
|
17
|
-
* <div className="space-y-2">
|
|
18
|
-
* <Skeleton className="h-4 w-full" />
|
|
19
|
-
* <Skeleton className="h-4 w-3/4" />
|
|
20
|
-
* </div>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
24
|
-
|
|
25
|
-
export { Skeleton, type SkeletonProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/skeleton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"skeleton.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"skeleton.js","sourcesContent":[]}
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
4
|
-
|
|
5
|
-
type SliderProps = React.ComponentProps<typeof SliderPrimitive.Root>;
|
|
6
|
-
/**
|
|
7
|
-
* Draggable range input for selecting a numeric value or range within a given min/max.
|
|
8
|
-
* Supports single-thumb and multi-thumb modes, as well as vertical orientation.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* // Single value
|
|
13
|
-
* <Slider defaultValue={[50]} max={100} step={1} />
|
|
14
|
-
*
|
|
15
|
-
* // Range (two thumbs)
|
|
16
|
-
* <Slider defaultValue={[25, 75]} max={100} step={5} />
|
|
17
|
-
*
|
|
18
|
-
* // Controlled
|
|
19
|
-
* <Slider value={[volume]} onValueChange={([v]) => setVolume(v)} />
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { Slider, type SliderProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/slider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"slider.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"slider.js","sourcesContent":[]}
|