@omnifyjp/ui 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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-JXFBHSPN.js +37 -0
- package/dist/chunk-JXFBHSPN.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-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/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/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/types.d.ts +89 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +23 -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/accordion.d.ts +0 -37
- package/dist/components/accordion.js +0 -4
- package/dist/components/accordion.js.map +0 -1
- package/dist/components/alert-dialog.d.ts +0 -56
- package/dist/components/alert-dialog.js +0 -5
- package/dist/components/alert-dialog.js.map +0 -1
- package/dist/components/alert.d.ts +0 -68
- package/dist/components/alert.js +0 -4
- package/dist/components/alert.js.map +0 -1
- package/dist/components/aspect-ratio.d.ts +0 -23
- package/dist/components/aspect-ratio.js +0 -3
- package/dist/components/aspect-ratio.js.map +0 -1
- package/dist/components/avatar.d.ts +0 -48
- package/dist/components/avatar.js +0 -4
- package/dist/components/avatar.js.map +0 -1
- package/dist/components/badge.d.ts +0 -52
- package/dist/components/badge.js +0 -4
- package/dist/components/badge.js.map +0 -1
- package/dist/components/breadcrumb.d.ts +0 -50
- package/dist/components/breadcrumb.js +0 -4
- package/dist/components/breadcrumb.js.map +0 -1
- package/dist/components/button.d.ts +0 -81
- package/dist/components/button.js +0 -4
- package/dist/components/button.js.map +0 -1
- package/dist/components/calendar-category-badge.d.ts +0 -24
- package/dist/components/calendar-category-badge.js +0 -5
- package/dist/components/calendar-category-badge.js.map +0 -1
- package/dist/components/calendar-event-chip.d.ts +0 -41
- package/dist/components/calendar-event-chip.js +0 -4
- package/dist/components/calendar-event-chip.js.map +0 -1
- package/dist/components/calendar-event-sheet.d.ts +0 -68
- package/dist/components/calendar-event-sheet.js +0 -9
- package/dist/components/calendar-event-sheet.js.map +0 -1
- package/dist/components/calendar-mini.d.ts +0 -65
- package/dist/components/calendar-mini.js +0 -6
- package/dist/components/calendar-mini.js.map +0 -1
- package/dist/components/calendar-toolbar.d.ts +0 -58
- package/dist/components/calendar-toolbar.js +0 -7
- package/dist/components/calendar-toolbar.js.map +0 -1
- package/dist/components/calendar.d.ts +0 -19
- package/dist/components/calendar.js +0 -5
- package/dist/components/calendar.js.map +0 -1
- package/dist/components/card.d.ts +0 -43
- package/dist/components/card.js +0 -4
- package/dist/components/card.js.map +0 -1
- package/dist/components/carousel.d.ts +0 -53
- package/dist/components/carousel.js +0 -5
- package/dist/components/carousel.js.map +0 -1
- package/dist/components/chart.d.ts +0 -103
- package/dist/components/chart.js +0 -4
- package/dist/components/chart.js.map +0 -1
- package/dist/components/checkbox.d.ts +0 -24
- package/dist/components/checkbox.js +0 -4
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/collapsible.d.ts +0 -28
- package/dist/components/collapsible.js +0 -3
- package/dist/components/collapsible.js.map +0 -1
- package/dist/components/color-picker.d.ts +0 -35
- package/dist/components/color-picker.js +0 -7
- package/dist/components/color-picker.js.map +0 -1
- package/dist/components/combobox.d.ts +0 -98
- package/dist/components/combobox.js +0 -8
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/command.d.ts +0 -63
- package/dist/components/command.js +0 -5
- package/dist/components/command.js.map +0 -1
- package/dist/components/context-menu.d.ts +0 -70
- package/dist/components/context-menu.js +0 -4
- package/dist/components/context-menu.js.map +0 -1
- package/dist/components/date-picker.d.ts +0 -71
- package/dist/components/date-picker.js +0 -7
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/dialog.d.ts +0 -58
- package/dist/components/dialog.js +0 -4
- package/dist/components/dialog.js.map +0 -1
- package/dist/components/drawer.d.ts +0 -60
- package/dist/components/drawer.js +0 -4
- package/dist/components/drawer.js.map +0 -1
- package/dist/components/dropdown-menu.d.ts +0 -76
- package/dist/components/dropdown-menu.js +0 -4
- package/dist/components/dropdown-menu.js.map +0 -1
- package/dist/components/file-upload.d.ts +0 -44
- package/dist/components/file-upload.js +0 -5
- package/dist/components/file-upload.js.map +0 -1
- package/dist/components/form.d.ts +0 -67
- package/dist/components/form.js +0 -5
- package/dist/components/form.js.map +0 -1
- package/dist/components/hover-card.d.ts +0 -43
- package/dist/components/hover-card.js +0 -4
- package/dist/components/hover-card.js.map +0 -1
- package/dist/components/input-otp.d.ts +0 -38
- package/dist/components/input-otp.js +0 -4
- package/dist/components/input-otp.js.map +0 -1
- package/dist/components/input.d.ts +0 -38
- package/dist/components/input.js +0 -4
- package/dist/components/input.js.map +0 -1
- package/dist/components/label.d.ts +0 -20
- package/dist/components/label.js +0 -4
- package/dist/components/label.js.map +0 -1
- package/dist/components/menubar.d.ts +0 -82
- package/dist/components/menubar.js +0 -4
- package/dist/components/menubar.js.map +0 -1
- package/dist/components/navigation-menu.d.ts +0 -64
- package/dist/components/navigation-menu.js +0 -4
- package/dist/components/navigation-menu.js.map +0 -1
- package/dist/components/pagination.d.ts +0 -59
- package/dist/components/pagination.js +0 -5
- package/dist/components/pagination.js.map +0 -1
- package/dist/components/password-input.d.ts +0 -32
- package/dist/components/password-input.js +0 -5
- package/dist/components/password-input.js.map +0 -1
- package/dist/components/permission-grid.d.ts +0 -67
- package/dist/components/permission-grid.js +0 -5
- package/dist/components/permission-grid.js.map +0 -1
- package/dist/components/popover.d.ts +0 -37
- package/dist/components/popover.js +0 -4
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.d.ts +0 -20
- package/dist/components/progress.js +0 -4
- package/dist/components/progress.js.map +0 -1
- package/dist/components/radio-group.d.ts +0 -38
- package/dist/components/radio-group.js +0 -4
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/rating.d.ts +0 -35
- package/dist/components/rating.js +0 -4
- package/dist/components/rating.js.map +0 -1
- package/dist/components/resizable.d.ts +0 -36
- package/dist/components/resizable.js +0 -4
- package/dist/components/resizable.js.map +0 -1
- package/dist/components/scope-tree.d.ts +0 -78
- package/dist/components/scope-tree.js +0 -5
- package/dist/components/scope-tree.js.map +0 -1
- package/dist/components/scope-type-badge.d.ts +0 -35
- package/dist/components/scope-type-badge.js +0 -5
- package/dist/components/scope-type-badge.js.map +0 -1
- package/dist/components/scroll-area.d.ts +0 -29
- package/dist/components/scroll-area.js +0 -4
- package/dist/components/scroll-area.js.map +0 -1
- package/dist/components/select.d.ts +0 -52
- package/dist/components/select.js +0 -4
- package/dist/components/select.js.map +0 -1
- package/dist/components/separator.d.ts +0 -24
- package/dist/components/separator.js +0 -4
- package/dist/components/separator.js.map +0 -1
- package/dist/components/sheet.d.ts +0 -51
- package/dist/components/sheet.js +0 -4
- package/dist/components/sheet.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/components/skeleton.d.ts +0 -25
- package/dist/components/skeleton.js +0 -4
- package/dist/components/skeleton.js.map +0 -1
- package/dist/components/slider.d.ts +0 -24
- package/dist/components/slider.js +0 -4
- package/dist/components/slider.js.map +0 -1
- package/dist/components/slug-input.d.ts +0 -50
- package/dist/components/slug-input.js +0 -6
- package/dist/components/slug-input.js.map +0 -1
- package/dist/components/sonner.d.ts +0 -22
- package/dist/components/sonner.js +0 -3
- package/dist/components/sonner.js.map +0 -1
- package/dist/components/stage-type-badge.d.ts +0 -30
- package/dist/components/stage-type-badge.js +0 -5
- package/dist/components/stage-type-badge.js.map +0 -1
- package/dist/components/switch.d.ts +0 -26
- package/dist/components/switch.js +0 -4
- package/dist/components/switch.js.map +0 -1
- package/dist/components/table.d.ts +0 -57
- package/dist/components/table.js +0 -4
- package/dist/components/table.js.map +0 -1
- package/dist/components/tabs.d.ts +0 -39
- package/dist/components/tabs.js +0 -4
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tag-input.d.ts +0 -40
- package/dist/components/tag-input.js +0 -5
- package/dist/components/tag-input.js.map +0 -1
- package/dist/components/textarea.d.ts +0 -21
- package/dist/components/textarea.js +0 -4
- package/dist/components/textarea.js.map +0 -1
- package/dist/components/time-picker.d.ts +0 -57
- package/dist/components/time-picker.js +0 -8
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/toggle-group.d.ts +0 -45
- package/dist/components/toggle-group.js +0 -5
- package/dist/components/toggle-group.js.map +0 -1
- package/dist/components/toggle.d.ts +0 -31
- package/dist/components/toggle.js +0 -4
- package/dist/components/toggle.js.map +0 -1
- package/dist/components/tooltip.d.ts +0 -34
- package/dist/components/tooltip.js +0 -4
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/workflow-category-badge.d.ts +0 -32
- package/dist/components/workflow-category-badge.js +0 -5
- package/dist/components/workflow-category-badge.js.map +0 -1
- package/dist/components/workflow-diagram.d.ts +0 -63
- package/dist/components/workflow-diagram.js +0 -5
- package/dist/components/workflow-diagram.js.map +0 -1
- package/dist/components/workflow-status-badge.d.ts +0 -30
- package/dist/components/workflow-status-badge.js +0 -5
- package/dist/components/workflow-status-badge.js.map +0 -1
- package/dist/components/workflow-stepper.d.ts +0 -52
- package/dist/components/workflow-stepper.js +0 -4
- package/dist/components/workflow-stepper.js.map +0 -1
- package/dist/hooks/use-mobile.d.ts +0 -3
- package/dist/hooks/use-mobile.js +0 -3
- package/dist/hooks/use-mobile.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -5
- package/dist/lib/utils.js +0 -3
- package/dist/lib/utils.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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"skeleton.js"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"slider.js"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/** Customizable labels for the SlugInput component. */
|
|
4
|
-
interface SlugInputLabels {
|
|
5
|
-
/** Label text above the slug input field. */
|
|
6
|
-
slug: string;
|
|
7
|
-
/** Helper text below the slug input. */
|
|
8
|
-
autoGenerated: string;
|
|
9
|
-
/** Placeholder shown inside the slug input. */
|
|
10
|
-
placeholder: string;
|
|
11
|
-
}
|
|
12
|
-
interface SlugInputProps {
|
|
13
|
-
/** Source title string from which the slug is auto-generated. */
|
|
14
|
-
title: string;
|
|
15
|
-
/** Current slug value. */
|
|
16
|
-
slug: string;
|
|
17
|
-
/** Callback fired when the slug changes (auto-generated or manually edited). */
|
|
18
|
-
onSlugChange: (slug: string) => void;
|
|
19
|
-
/** Whether auto-generation from title is disabled and slug is manually editable only. */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** Override default label strings for localization. */
|
|
22
|
-
labels?: Partial<SlugInputLabels>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Generates a URL-friendly slug from a text string.
|
|
26
|
-
* Handles Vietnamese diacritics and other special characters.
|
|
27
|
-
*/
|
|
28
|
-
declare function generateSlug(text: string): string;
|
|
29
|
-
/**
|
|
30
|
-
* URL slug input that auto-generates a slug from a title string.
|
|
31
|
-
* Handles Vietnamese diacritics and special characters via `generateSlug`.
|
|
32
|
-
* The slug updates automatically when the title changes (unless `disabled` is true).
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```tsx
|
|
36
|
-
* const [title, setTitle] = useState("My Blog Post");
|
|
37
|
-
* const [slug, setSlug] = useState("");
|
|
38
|
-
*
|
|
39
|
-
* <Input value={title} onChange={(e) => setTitle(e.target.value)} />
|
|
40
|
-
* <SlugInput
|
|
41
|
-
* title={title}
|
|
42
|
-
* slug={slug}
|
|
43
|
-
* onSlugChange={setSlug}
|
|
44
|
-
* />
|
|
45
|
-
* // slug will auto-populate as "my-blog-post"
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
declare function SlugInput({ title, slug, onSlugChange, disabled, labels: labelOverrides, }: SlugInputProps): react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
export { SlugInput, type SlugInputLabels, type SlugInputProps, generateSlug };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"slug-input.js"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ToasterProps } from 'sonner';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Toast notification container powered by the Sonner library.
|
|
6
|
-
* Renders toast messages at a configurable position on screen.
|
|
7
|
-
* Place this once at the root of your app, then use `toast()` to trigger notifications.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* // In your root layout:
|
|
12
|
-
* <Toaster />
|
|
13
|
-
*
|
|
14
|
-
* // Anywhere in your app:
|
|
15
|
-
* import { toast } from "sonner";
|
|
16
|
-
* toast.success("Changes saved");
|
|
17
|
-
* toast.error("Something went wrong");
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
export { Toaster };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"sonner.js"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/** Supported stage types with built-in icon and color mappings. */
|
|
4
|
-
type StageType = 'approval' | 'review' | 'notification' | 'conditional';
|
|
5
|
-
interface StageTypeBadgeProps {
|
|
6
|
-
/** The stage type key. Determines the icon and color. */
|
|
7
|
-
type: StageType;
|
|
8
|
-
/** The displayed label text. Defaults to a capitalized version of the type. */
|
|
9
|
-
label?: string;
|
|
10
|
-
/** Optional additional className. */
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* StageTypeBadge renders a badge with an icon and color for a workflow stage type.
|
|
15
|
-
*
|
|
16
|
-
* Each type has a dedicated icon and color scheme:
|
|
17
|
-
* - approval: CheckCircle (green)
|
|
18
|
-
* - review: Eye (blue)
|
|
19
|
-
* - notification: Bell (amber)
|
|
20
|
-
* - conditional: GitBranch (purple)
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```tsx
|
|
24
|
-
* <StageTypeBadge type="approval" />
|
|
25
|
-
* <StageTypeBadge type="review" label="Peer Review" />
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
declare function StageTypeBadge({ type, label, className }: StageTypeBadgeProps): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
export { type StageType, StageTypeBadge, type StageTypeBadgeProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"stage-type-badge.js"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
4
|
-
|
|
5
|
-
type SwitchProps = React.ComponentProps<typeof SwitchPrimitives.Root>;
|
|
6
|
-
/**
|
|
7
|
-
* Toggle switch for boolean on/off states, styled as a sliding pill.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* // Uncontrolled
|
|
12
|
-
* <Switch defaultChecked />
|
|
13
|
-
*
|
|
14
|
-
* // Controlled
|
|
15
|
-
* <Switch checked={enabled} onCheckedChange={setEnabled} />
|
|
16
|
-
*
|
|
17
|
-
* // With label
|
|
18
|
-
* <div className="flex items-center gap-2">
|
|
19
|
-
* <Switch id="notifications" />
|
|
20
|
-
* <Label htmlFor="notifications">Enable notifications</Label>
|
|
21
|
-
* </div>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
declare function Switch({ className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
25
|
-
|
|
26
|
-
export { Switch, type SwitchProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"switch.js"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Data table component with header, body, footer, row, head, cell, and caption sub-components.
|
|
6
|
-
*
|
|
7
|
-
* Renders inside a horizontally scrollable container. Uses density tokens for
|
|
8
|
-
* consistent header height (`h-table-head`) and cell padding.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <Table>
|
|
13
|
-
* <TableHeader>
|
|
14
|
-
* <TableRow>
|
|
15
|
-
* <TableHead>Name</TableHead>
|
|
16
|
-
* <TableHead>Email</TableHead>
|
|
17
|
-
* <TableHead>Role</TableHead>
|
|
18
|
-
* </TableRow>
|
|
19
|
-
* </TableHeader>
|
|
20
|
-
* <TableBody>
|
|
21
|
-
* <TableRow>
|
|
22
|
-
* <TableCell>Alice</TableCell>
|
|
23
|
-
* <TableCell>alice@example.com</TableCell>
|
|
24
|
-
* <TableCell>Admin</TableCell>
|
|
25
|
-
* </TableRow>
|
|
26
|
-
* <TableRow>
|
|
27
|
-
* <TableCell>Bob</TableCell>
|
|
28
|
-
* <TableCell>bob@example.com</TableCell>
|
|
29
|
-
* <TableCell>Member</TableCell>
|
|
30
|
-
* </TableRow>
|
|
31
|
-
* </TableBody>
|
|
32
|
-
* <TableFooter>
|
|
33
|
-
* <TableRow>
|
|
34
|
-
* <TableCell colSpan={3}>2 users total</TableCell>
|
|
35
|
-
* </TableRow>
|
|
36
|
-
* </TableFooter>
|
|
37
|
-
* <TableCaption>A list of team members.</TableCaption>
|
|
38
|
-
* </Table>
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
declare function Table({ className, ...props }: React.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
42
|
-
/** Table header container. Groups `TableRow` elements for column headings. */
|
|
43
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
44
|
-
/** Table body container. Groups `TableRow` elements for data rows. */
|
|
45
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
46
|
-
/** Table footer container. Renders with a muted background and top border. */
|
|
47
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
48
|
-
/** Table row with hover highlight and selected state support via `data-state="selected"`. */
|
|
49
|
-
declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
50
|
-
/** Table head cell. Renders as a `<th>` with density-based height (`h-table-head`). */
|
|
51
|
-
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
52
|
-
/** Table data cell. Renders as a `<td>` with consistent padding and alignment. */
|
|
53
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
54
|
-
/** Table caption displayed below the table in muted text. */
|
|
55
|
-
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
56
|
-
|
|
57
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/components/table.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"table.js"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Tabbed interface component with list, trigger, and content sub-components.
|
|
7
|
-
*
|
|
8
|
-
* Built on Radix Tabs with density-aware sizing (`h-element` for the tab list).
|
|
9
|
-
* Supports keyboard navigation and focus management out of the box.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* <Tabs defaultValue="overview">
|
|
14
|
-
* <TabsList>
|
|
15
|
-
* <TabsTrigger value="overview">Overview</TabsTrigger>
|
|
16
|
-
* <TabsTrigger value="analytics">Analytics</TabsTrigger>
|
|
17
|
-
* <TabsTrigger value="settings">Settings</TabsTrigger>
|
|
18
|
-
* </TabsList>
|
|
19
|
-
* <TabsContent value="overview">
|
|
20
|
-
* <p>Overview content here.</p>
|
|
21
|
-
* </TabsContent>
|
|
22
|
-
* <TabsContent value="analytics">
|
|
23
|
-
* <p>Analytics content here.</p>
|
|
24
|
-
* </TabsContent>
|
|
25
|
-
* <TabsContent value="settings">
|
|
26
|
-
* <p>Settings content here.</p>
|
|
27
|
-
* </TabsContent>
|
|
28
|
-
* </Tabs>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
32
|
-
/** Container for `TabsTrigger` elements. Renders as a rounded pill with muted background. */
|
|
33
|
-
declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
34
|
-
/** Individual tab button. Highlights with a card background when active. Requires a `value` prop matching a `TabsContent`. */
|
|
35
|
-
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
|
-
/** Content panel shown when its `value` matches the active tab. */
|
|
37
|
-
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
package/dist/components/tabs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"tabs.js"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface TagInputProps {
|
|
4
|
-
/** Array of current tag strings. */
|
|
5
|
-
value?: string[];
|
|
6
|
-
/** Callback fired when the tags array changes. */
|
|
7
|
-
onChange?: (tags: string[]) => void;
|
|
8
|
-
/** Placeholder text shown when there are no tags. */
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
/** Additional CSS class for the outer container. */
|
|
11
|
-
className?: string;
|
|
12
|
-
/** Whether the tag input is disabled. */
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/** Maximum number of tags allowed. */
|
|
15
|
-
maxTags?: number;
|
|
16
|
-
/** Whether duplicate tag values are allowed. Defaults to `false`. */
|
|
17
|
-
allowDuplicates?: boolean;
|
|
18
|
-
/** Character or pattern used to split pasted text into tags. Defaults to `","`. */
|
|
19
|
-
delimiter?: string | RegExp;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Tag input that lets users add and remove string tags.
|
|
23
|
-
* Tags are added by pressing Enter or the delimiter key, and by pasting comma-separated text.
|
|
24
|
-
* Backspace removes the last tag when the input is empty.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* ```tsx
|
|
28
|
-
* const [tags, setTags] = useState<string[]>(["react", "typescript"]);
|
|
29
|
-
*
|
|
30
|
-
* <TagInput
|
|
31
|
-
* value={tags}
|
|
32
|
-
* onChange={setTags}
|
|
33
|
-
* placeholder="Add a tag..."
|
|
34
|
-
* maxTags={10}
|
|
35
|
-
* />
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
declare function TagInput({ value, onChange, placeholder, className, disabled, maxTags, allowDuplicates, delimiter, }: TagInputProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
|
|
40
|
-
export { TagInput };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"tag-input.js"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type TextareaProps = React.ComponentProps<"textarea">;
|
|
4
|
-
/**
|
|
5
|
-
* Multi-line text input with auto-sizing via `field-sizing-content`.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* // Basic usage
|
|
10
|
-
* <Textarea placeholder="Enter a description..." />
|
|
11
|
-
*
|
|
12
|
-
* // Controlled
|
|
13
|
-
* <Textarea value={content} onChange={(e) => setContent(e.target.value)} />
|
|
14
|
-
*
|
|
15
|
-
* // With rows constraint
|
|
16
|
-
* <Textarea rows={5} placeholder="Feedback" />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
20
|
-
|
|
21
|
-
export { Textarea, type TextareaProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"textarea.js"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface TimePickerProps {
|
|
4
|
-
/** Currently selected time in `"HH:mm"` format (e.g., `"14:30"`). */
|
|
5
|
-
value?: string;
|
|
6
|
-
/** Callback fired when a time is selected. Receives a `"HH:mm"` string. */
|
|
7
|
-
onChange?: (time: string) => void;
|
|
8
|
-
/** Placeholder text shown when no time is selected. */
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
/** Additional CSS class for the trigger button. */
|
|
11
|
-
className?: string;
|
|
12
|
-
/** Whether the time picker is disabled. */
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/** Use 24-hour format (0-23). When false, shows 12-hour (1-12). Defaults to `true`. */
|
|
15
|
-
format24h?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Time picker with a scrollable hour/minute popover.
|
|
19
|
-
* Opens a two-column dropdown for selecting hours and minutes.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* const [time, setTime] = useState<string>();
|
|
24
|
-
*
|
|
25
|
-
* <TimePicker
|
|
26
|
-
* value={time}
|
|
27
|
-
* onChange={setTime}
|
|
28
|
-
* placeholder="Select time"
|
|
29
|
-
* format24h
|
|
30
|
-
* />
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
declare function TimePicker({ value, onChange, placeholder, className, disabled, format24h, }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
interface TimeInputProps {
|
|
35
|
-
/** Current time value in `"HH:mm"` format. */
|
|
36
|
-
value?: string;
|
|
37
|
-
/** Callback fired on blur with a valid `"HH:mm"` string. */
|
|
38
|
-
onChange?: (time: string) => void;
|
|
39
|
-
/** Additional CSS class for the input wrapper. */
|
|
40
|
-
className?: string;
|
|
41
|
-
/** Whether the input is disabled. */
|
|
42
|
-
disabled?: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Inline text input for typing a time value directly.
|
|
46
|
-
* Automatically formats input as `HH:mm` and validates on blur.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```tsx
|
|
50
|
-
* const [time, setTime] = useState("09:00");
|
|
51
|
-
*
|
|
52
|
-
* <TimeInput value={time} onChange={setTime} />
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
declare function TimeInput({ value, onChange, className, disabled, }: TimeInputProps): react_jsx_runtime.JSX.Element;
|
|
56
|
-
|
|
57
|
-
export { TimeInput, TimePicker };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { TimeInput, TimePicker } from '../chunk-6DIDQ4TB.js';
|
|
2
|
-
import '../chunk-JJSVA3TH.js';
|
|
3
|
-
import '../chunk-3VU56V66.js';
|
|
4
|
-
import '../chunk-C34KSTWA.js';
|
|
5
|
-
import '../chunk-55E7D2HR.js';
|
|
6
|
-
import '../chunk-DGPY4WP3.js';
|
|
7
|
-
//# sourceMappingURL=time-picker.js.map
|
|
8
|
-
//# sourceMappingURL=time-picker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"time-picker.js"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { toggleVariants } from './toggle.js';
|
|
6
|
-
import 'class-variance-authority/types';
|
|
7
|
-
import '@radix-ui/react-toggle';
|
|
8
|
-
|
|
9
|
-
type ToggleGroupProps = React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
10
|
-
/**
|
|
11
|
-
* Group of toggle buttons where one or multiple items can be active.
|
|
12
|
-
* Provides shared `variant` and `size` context to child {@link ToggleGroupItem} components.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```tsx
|
|
16
|
-
* // Single selection
|
|
17
|
-
* <ToggleGroup type="single" defaultValue="center">
|
|
18
|
-
* <ToggleGroupItem value="left"><AlignLeftIcon /></ToggleGroupItem>
|
|
19
|
-
* <ToggleGroupItem value="center"><AlignCenterIcon /></ToggleGroupItem>
|
|
20
|
-
* <ToggleGroupItem value="right"><AlignRightIcon /></ToggleGroupItem>
|
|
21
|
-
* </ToggleGroup>
|
|
22
|
-
*
|
|
23
|
-
* // Multiple selection with outline variant
|
|
24
|
-
* <ToggleGroup type="multiple" variant="outline" size="sm">
|
|
25
|
-
* <ToggleGroupItem value="bold"><BoldIcon /></ToggleGroupItem>
|
|
26
|
-
* <ToggleGroupItem value="italic"><ItalicIcon /></ToggleGroupItem>
|
|
27
|
-
* </ToggleGroup>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
declare function ToggleGroup({ className, variant, size, children, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
31
|
-
type ToggleGroupItemProps = React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>;
|
|
32
|
-
/**
|
|
33
|
-
* Individual toggle item within a {@link ToggleGroup}.
|
|
34
|
-
* Inherits `variant` and `size` from the parent group context unless overridden.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```tsx
|
|
38
|
-
* <ToggleGroupItem value="bold" aria-label="Toggle bold">
|
|
39
|
-
* <BoldIcon className="size-4" />
|
|
40
|
-
* </ToggleGroupItem>
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
44
|
-
|
|
45
|
-
export { ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"toggle-group.js"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
declare const toggleVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "outline" | null | undefined;
|
|
9
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
interface ToggleProps extends React.ComponentProps<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Two-state button that can be toggled on or off, with variant and size options.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* // Basic toggle
|
|
19
|
-
* <Toggle aria-label="Toggle bold">
|
|
20
|
-
* <BoldIcon className="size-4" />
|
|
21
|
-
* </Toggle>
|
|
22
|
-
*
|
|
23
|
-
* // Outline variant, small size
|
|
24
|
-
* <Toggle variant="outline" size="sm">
|
|
25
|
-
* <ItalicIcon className="size-4" />
|
|
26
|
-
* </Toggle>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
declare function Toggle({ className, variant, size, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
|
|
31
|
-
export { Toggle, type ToggleProps, toggleVariants };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"toggle.js"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
|
-
|
|
5
|
-
/** Provider that configures shared tooltip settings like delay duration. */
|
|
6
|
-
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
/**
|
|
8
|
-
* Tooltip component built on Radix UI Tooltip.
|
|
9
|
-
*
|
|
10
|
-
* Displays a short informational label when the user hovers over or focuses
|
|
11
|
-
* an element. Includes a built-in `TooltipProvider` with zero delay.
|
|
12
|
-
* Renders with an arrow pointer for visual anchoring.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```tsx
|
|
16
|
-
* <Tooltip>
|
|
17
|
-
* <TooltipTrigger asChild>
|
|
18
|
-
* <Button variant="ghost" size="icon">
|
|
19
|
-
* <InfoIcon className="size-4" />
|
|
20
|
-
* </Button>
|
|
21
|
-
* </TooltipTrigger>
|
|
22
|
-
* <TooltipContent>
|
|
23
|
-
* <p>This is a helpful tooltip</p>
|
|
24
|
-
* </TooltipContent>
|
|
25
|
-
* </Tooltip>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
29
|
-
/** Element that shows the tooltip on hover/focus. Use `asChild` to merge into your own element. */
|
|
30
|
-
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
31
|
-
/** Floating label that appears near the trigger. Includes an arrow indicator. */
|
|
32
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
33
|
-
|
|
34
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"tooltip.js"}
|