@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,56 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Confirmation dialog built on Radix UI AlertDialog.
|
|
7
|
-
*
|
|
8
|
-
* Unlike `Dialog`, an alert dialog requires an explicit user action to dismiss
|
|
9
|
-
* (no click-outside or Escape by default). Use it for destructive actions or
|
|
10
|
-
* important confirmations.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <AlertDialog open={open} onOpenChange={setOpen}>
|
|
15
|
-
* <AlertDialogTrigger asChild>
|
|
16
|
-
* <Button variant="destructive">Delete Item</Button>
|
|
17
|
-
* </AlertDialogTrigger>
|
|
18
|
-
* <AlertDialogContent>
|
|
19
|
-
* <AlertDialogHeader>
|
|
20
|
-
* <AlertDialogTitle>Are you sure?</AlertDialogTitle>
|
|
21
|
-
* <AlertDialogDescription>
|
|
22
|
-
* This action cannot be undone. This will permanently delete
|
|
23
|
-
* your item and remove it from our servers.
|
|
24
|
-
* </AlertDialogDescription>
|
|
25
|
-
* </AlertDialogHeader>
|
|
26
|
-
* <AlertDialogFooter>
|
|
27
|
-
* <AlertDialogCancel>Cancel</AlertDialogCancel>
|
|
28
|
-
* <AlertDialogAction>Delete</AlertDialogAction>
|
|
29
|
-
* </AlertDialogFooter>
|
|
30
|
-
* </AlertDialogContent>
|
|
31
|
-
* </AlertDialog>
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
35
|
-
/** Element that opens the alert dialog when clicked. Use `asChild` to merge into your own button. */
|
|
36
|
-
declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
37
|
-
/** Portal that renders alert dialog content outside the DOM hierarchy. */
|
|
38
|
-
declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
39
|
-
/** Semi-transparent backdrop rendered behind the alert dialog content. */
|
|
40
|
-
declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
41
|
-
/** Alert dialog content panel with overlay backdrop. */
|
|
42
|
-
declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
/** Container for AlertDialogTitle and AlertDialogDescription. */
|
|
44
|
-
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
45
|
-
/** Container for AlertDialogAction and AlertDialogCancel buttons. */
|
|
46
|
-
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
47
|
-
/** Accessible title for the alert dialog. */
|
|
48
|
-
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
49
|
-
/** Accessible description explaining the consequences of the action. */
|
|
50
|
-
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
51
|
-
/** Primary action button that confirms and closes the alert dialog. */
|
|
52
|
-
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
|
|
53
|
-
/** Cancel button that dismisses the alert dialog without taking action. Styled as outline variant. */
|
|
54
|
-
declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
|
|
55
|
-
|
|
56
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from '../chunk-LTTNCAAA.js';
|
|
2
|
-
import '../chunk-55E7D2HR.js';
|
|
3
|
-
import '../chunk-DGPY4WP3.js';
|
|
4
|
-
//# sourceMappingURL=alert-dialog.js.map
|
|
5
|
-
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"alert-dialog.js"}
|
|
@@ -1,68 +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 { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { U as UIColor } from '../types-CBVkScfB.js';
|
|
6
|
-
|
|
7
|
-
declare const alertVariants: (props?: ({
|
|
8
|
-
variant?: "destructive" | "default" | "soft" | null | undefined;
|
|
9
|
-
color?: "primary" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
interface AlertProps extends React.ComponentProps<"div">, Omit<VariantProps<typeof alertVariants>, "color"> {
|
|
12
|
-
/**
|
|
13
|
-
* Semantic color intent.
|
|
14
|
-
*
|
|
15
|
-
* @default "primary"
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <Alert color="success">Operation completed</Alert>
|
|
19
|
-
* <Alert color="warning">Check your input</Alert>
|
|
20
|
-
* <Alert variant="soft" color="info">Tip</Alert>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
color?: UIColor;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Static alert banner for displaying important messages.
|
|
27
|
-
*
|
|
28
|
-
* Supports semantic colors via `color` prop and two visual styles: `default` (bordered)
|
|
29
|
-
* and `soft` (filled background). All existing `variant="destructive"` usage continues to work.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```tsx
|
|
33
|
-
* // Default (bordered)
|
|
34
|
-
* <Alert>
|
|
35
|
-
* <InfoIcon className="size-4" />
|
|
36
|
-
* <AlertTitle>Heads up!</AlertTitle>
|
|
37
|
-
* <AlertDescription>You can add components using the CLI.</AlertDescription>
|
|
38
|
-
* </Alert>
|
|
39
|
-
*
|
|
40
|
-
* // Semantic colors
|
|
41
|
-
* <Alert color="success">
|
|
42
|
-
* <CheckIcon className="size-4" />
|
|
43
|
-
* <AlertTitle>Success</AlertTitle>
|
|
44
|
-
* <AlertDescription>Changes saved successfully.</AlertDescription>
|
|
45
|
-
* </Alert>
|
|
46
|
-
*
|
|
47
|
-
* // Soft variant (filled background)
|
|
48
|
-
* <Alert variant="soft" color="warning">
|
|
49
|
-
* <AlertTriangleIcon className="size-4" />
|
|
50
|
-
* <AlertTitle>Warning</AlertTitle>
|
|
51
|
-
* <AlertDescription>This action cannot be undone.</AlertDescription>
|
|
52
|
-
* </Alert>
|
|
53
|
-
*
|
|
54
|
-
* // Legacy (still works)
|
|
55
|
-
* <Alert variant="destructive">
|
|
56
|
-
* <AlertCircleIcon className="size-4" />
|
|
57
|
-
* <AlertTitle>Error</AlertTitle>
|
|
58
|
-
* <AlertDescription>Session expired.</AlertDescription>
|
|
59
|
-
* </Alert>
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
|
-
declare function Alert({ className, variant, color, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
63
|
-
/** Bold title text within an Alert. Rendered in the second grid column when an icon is present. */
|
|
64
|
-
declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
65
|
-
/** Descriptive body text within an Alert, rendered below the title. */
|
|
66
|
-
declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
67
|
-
|
|
68
|
-
export { Alert, AlertDescription, AlertTitle };
|
package/dist/components/alert.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"alert.js"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Maintains a consistent width-to-height ratio for its content.
|
|
6
|
-
*
|
|
7
|
-
* Useful for images, videos, and maps that need to preserve their aspect ratio
|
|
8
|
-
* across different viewport sizes. Built on Radix AspectRatio.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <AspectRatio ratio={16 / 9}>
|
|
13
|
-
* <img
|
|
14
|
-
* src="/hero.jpg"
|
|
15
|
-
* alt="Hero image"
|
|
16
|
-
* className="h-full w-full rounded-md object-cover"
|
|
17
|
-
* />
|
|
18
|
-
* </AspectRatio>
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
22
|
-
|
|
23
|
-
export { AspectRatio };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"aspect-ratio.js"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
4
|
-
|
|
5
|
-
type AvatarProps = React.ComponentProps<typeof AvatarPrimitive.Root>;
|
|
6
|
-
/**
|
|
7
|
-
* Circular container for user profile images or initials.
|
|
8
|
-
* Use with {@link AvatarImage} and {@link AvatarFallback} for graceful loading.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <Avatar>
|
|
13
|
-
* <AvatarImage src="/avatar.jpg" alt="User" />
|
|
14
|
-
* <AvatarFallback>JD</AvatarFallback>
|
|
15
|
-
* </Avatar>
|
|
16
|
-
*
|
|
17
|
-
* // Custom size
|
|
18
|
-
* <Avatar className="size-8">
|
|
19
|
-
* <AvatarImage src="/small.jpg" alt="User" />
|
|
20
|
-
* <AvatarFallback>U</AvatarFallback>
|
|
21
|
-
* </Avatar>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
declare function Avatar({ className, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
25
|
-
type AvatarImageProps = React.ComponentProps<typeof AvatarPrimitive.Image>;
|
|
26
|
-
/**
|
|
27
|
-
* Image element rendered inside an {@link Avatar}. Falls back to
|
|
28
|
-
* {@link AvatarFallback} when the image fails to load.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```tsx
|
|
32
|
-
* <AvatarImage src="/photo.jpg" alt="Jane Doe" />
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
declare function AvatarImage({ className, ...props }: AvatarImageProps): react_jsx_runtime.JSX.Element;
|
|
36
|
-
type AvatarFallbackProps = React.ComponentProps<typeof AvatarPrimitive.Fallback>;
|
|
37
|
-
/**
|
|
38
|
-
* Fallback content displayed while the {@link AvatarImage} is loading or
|
|
39
|
-
* if it fails. Typically shows user initials (max 2 characters).
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* ```tsx
|
|
43
|
-
* <AvatarFallback>JD</AvatarFallback>
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
|
|
47
|
-
|
|
48
|
-
export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"avatar.js"}
|
|
@@ -1,52 +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 { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { U as UIColor } from '../types-CBVkScfB.js';
|
|
6
|
-
|
|
7
|
-
declare const badgeVariants: (props?: ({
|
|
8
|
-
variant?: "destructive" | "default" | "secondary" | "outline" | "soft" | null | undefined;
|
|
9
|
-
color?: "primary" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
interface BadgeProps extends React.ComponentProps<"span">, Omit<VariantProps<typeof badgeVariants>, "color"> {
|
|
12
|
-
/**
|
|
13
|
-
* Semantic color intent.
|
|
14
|
-
*
|
|
15
|
-
* @default "primary"
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <Badge color="success">Done</Badge>
|
|
19
|
-
* <Badge color="warning">Pending</Badge>
|
|
20
|
-
* <Badge variant="soft" color="destructive">Failed</Badge>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
color?: UIColor;
|
|
24
|
-
/** Render as a child component using Radix Slot. @default false */
|
|
25
|
-
asChild?: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Inline status descriptor with semantic colors and visual variants.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```tsx
|
|
32
|
-
* // Solid (default)
|
|
33
|
-
* <Badge>New</Badge>
|
|
34
|
-
* <Badge color="success">Done</Badge>
|
|
35
|
-
* <Badge color="warning">Pending</Badge>
|
|
36
|
-
*
|
|
37
|
-
* // Soft (light tinted background)
|
|
38
|
-
* <Badge variant="soft" color="success">Approved</Badge>
|
|
39
|
-
* <Badge variant="soft" color="destructive">Rejected</Badge>
|
|
40
|
-
*
|
|
41
|
-
* // Outline
|
|
42
|
-
* <Badge variant="outline">v1.0.0</Badge>
|
|
43
|
-
* <Badge variant="outline" color="info">Beta</Badge>
|
|
44
|
-
*
|
|
45
|
-
* // Legacy (still works)
|
|
46
|
-
* <Badge variant="destructive">Error</Badge>
|
|
47
|
-
* <Badge variant="secondary">Draft</Badge>
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
declare function Badge({ className, variant, color, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
export { Badge, type BadgeProps, badgeVariants };
|
package/dist/components/badge.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"badge.js"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Navigation breadcrumb trail showing the current page hierarchy.
|
|
6
|
-
*
|
|
7
|
-
* Renders as a `<nav>` with `aria-label="breadcrumb"` for accessibility.
|
|
8
|
-
* Use `BreadcrumbSeparator` between items (defaults to a chevron icon)
|
|
9
|
-
* and `BreadcrumbEllipsis` for collapsed intermediate items.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* <Breadcrumb>
|
|
14
|
-
* <BreadcrumbList>
|
|
15
|
-
* <BreadcrumbItem>
|
|
16
|
-
* <BreadcrumbLink href="/">Home</BreadcrumbLink>
|
|
17
|
-
* </BreadcrumbItem>
|
|
18
|
-
* <BreadcrumbSeparator />
|
|
19
|
-
* <BreadcrumbItem>
|
|
20
|
-
* <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
|
|
21
|
-
* </BreadcrumbItem>
|
|
22
|
-
* <BreadcrumbSeparator />
|
|
23
|
-
* <BreadcrumbItem>
|
|
24
|
-
* <BreadcrumbPage>Current Project</BreadcrumbPage>
|
|
25
|
-
* </BreadcrumbItem>
|
|
26
|
-
* </BreadcrumbList>
|
|
27
|
-
* </Breadcrumb>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
31
|
-
/** Ordered list container for breadcrumb items. Handles wrapping and spacing. */
|
|
32
|
-
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
33
|
-
/** Individual breadcrumb list item wrapping a link or page indicator. */
|
|
34
|
-
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
35
|
-
/**
|
|
36
|
-
* Clickable breadcrumb link. Set `asChild` to render a custom element (e.g., React Router `Link`).
|
|
37
|
-
*
|
|
38
|
-
* @param asChild - When true, renders the child element instead of an `<a>` tag.
|
|
39
|
-
*/
|
|
40
|
-
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
|
|
41
|
-
asChild?: boolean;
|
|
42
|
-
}): react_jsx_runtime.JSX.Element;
|
|
43
|
-
/** Non-interactive breadcrumb label for the current page. Rendered with `aria-current="page"`. */
|
|
44
|
-
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
45
|
-
/** Visual separator between breadcrumb items. Defaults to a `ChevronRight` icon; pass custom children to override. */
|
|
46
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
47
|
-
/** Ellipsis indicator for collapsed breadcrumb items. Renders a `MoreHorizontal` icon with screen-reader text. */
|
|
48
|
-
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"breadcrumb.js"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { U as UIColor } from '../types-CBVkScfB.js';
|
|
5
|
-
|
|
6
|
-
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "link" | "destructive" | "default" | "secondary" | "outline" | "soft" | "ghost" | null | undefined;
|
|
8
|
-
color?: "primary" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
9
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
interface ButtonProps extends React.ComponentProps<"button">, Omit<VariantProps<typeof buttonVariants>, "color"> {
|
|
12
|
-
/**
|
|
13
|
-
* Semantic color intent. Works with `variant` to produce the final appearance.
|
|
14
|
-
*
|
|
15
|
-
* | Color | Use for |
|
|
16
|
-
* |-------|---------|
|
|
17
|
-
* | `primary` | Main actions (default) |
|
|
18
|
-
* | `destructive` | Delete, errors |
|
|
19
|
-
* | `success` | Approve, confirm |
|
|
20
|
-
* | `warning` | Caution, attention |
|
|
21
|
-
* | `info` | Informational |
|
|
22
|
-
*
|
|
23
|
-
* @default "primary"
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* <Button color="success">Approve</Button>
|
|
27
|
-
* <Button variant="outline" color="destructive">Reject</Button>
|
|
28
|
-
* <Button variant="soft" color="warning">Review</Button>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
color?: UIColor;
|
|
32
|
-
/**
|
|
33
|
-
* Render as a child component using Radix Slot.
|
|
34
|
-
* When `true`, the button merges its props onto its single child element.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
asChild?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Make the button take the full width of its container.
|
|
40
|
-
* @default false
|
|
41
|
-
* @example
|
|
42
|
-
* ```tsx
|
|
43
|
-
* <Button block>Full Width</Button>
|
|
44
|
-
* <Button size="xl" block>Sign In</Button>
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
block?: boolean;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Button component with semantic colors, visual variants, and standard sizes.
|
|
51
|
-
*
|
|
52
|
-
* Combines `variant` (how it looks) with `color` (what it means) for full flexibility.
|
|
53
|
-
* All existing `variant="destructive"` usage continues to work unchanged.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```tsx
|
|
57
|
-
* // Default (solid primary)
|
|
58
|
-
* <Button>Save</Button>
|
|
59
|
-
*
|
|
60
|
-
* // Semantic colors
|
|
61
|
-
* <Button color="success">Approve</Button>
|
|
62
|
-
* <Button color="destructive">Delete</Button>
|
|
63
|
-
* <Button color="warning">Proceed with caution</Button>
|
|
64
|
-
*
|
|
65
|
-
* // Variant × Color combinations
|
|
66
|
-
* <Button variant="outline" color="destructive">Reject</Button>
|
|
67
|
-
* <Button variant="soft" color="success">Approved</Button>
|
|
68
|
-
* <Button variant="ghost" color="info">Learn more</Button>
|
|
69
|
-
*
|
|
70
|
-
* // Legacy (still works)
|
|
71
|
-
* <Button variant="destructive">Delete</Button>
|
|
72
|
-
*
|
|
73
|
-
* // Sizes: xs (24px) | sm (28px) | default (32px) | lg (36px) | xl (44px) | icon (32x32)
|
|
74
|
-
* <Button size="xs">Tiny</Button>
|
|
75
|
-
* <Button size="xl" block>Sign In</Button>
|
|
76
|
-
* <Button size="icon"><PlusIcon /></Button>
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
80
|
-
|
|
81
|
-
export { Button, type ButtonProps, buttonVariants };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"button.js"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface CalendarCategoryBadgeProps {
|
|
4
|
-
/** The category key (e.g. "meeting", "deadline"). Determines the badge color from built-in or custom styles. */
|
|
5
|
-
category: string;
|
|
6
|
-
/** Override display label. Defaults to the raw category key. */
|
|
7
|
-
label?: string;
|
|
8
|
-
/** Custom className styles per category key, merged with built-in defaults. */
|
|
9
|
-
styles?: Record<string, string>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Color-coded badge for calendar event categories. Ships with built-in styles
|
|
13
|
-
* for meeting (blue), deadline (red), reminder (amber), personal (purple), and
|
|
14
|
-
* holiday (green). Custom categories can be styled via the `styles` prop.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <CalendarCategoryBadge category="meeting" label="Meeting" />
|
|
19
|
-
* <CalendarCategoryBadge category="custom" label="Custom" styles={{ custom: "bg-pink-50 text-pink-600" }} />
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
declare function CalendarCategoryBadge({ category, label, styles }: CalendarCategoryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { CalendarCategoryBadge, type CalendarCategoryBadgeProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-category-badge.js"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/** Event data shape required by CalendarEventChip. */
|
|
4
|
-
interface CalendarEventChipEvent {
|
|
5
|
-
/** Unique event identifier. */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Display title of the event. */
|
|
8
|
-
title: string;
|
|
9
|
-
/** Event start date/time. */
|
|
10
|
-
start: Date;
|
|
11
|
-
/** Event end date/time. */
|
|
12
|
-
end: Date;
|
|
13
|
-
/** Whether this is an all-day event. When true, time is not displayed. */
|
|
14
|
-
allDay?: boolean;
|
|
15
|
-
/** CSS color string used for the chip background, text, and left border. */
|
|
16
|
-
color: string;
|
|
17
|
-
}
|
|
18
|
-
interface CalendarEventChipProps {
|
|
19
|
-
/** The event to display. */
|
|
20
|
-
event: CalendarEventChipEvent;
|
|
21
|
-
/** Use compact layout with tighter line-height. Defaults to `false`. */
|
|
22
|
-
compact?: boolean;
|
|
23
|
-
/** Callback when the chip is clicked. */
|
|
24
|
-
onClick?: (event: CalendarEventChipEvent) => void;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Small colored chip representing a calendar event. Shows the event title
|
|
28
|
-
* with a colored left border and tinted background. Optionally displays
|
|
29
|
-
* the start time for non-all-day events.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```tsx
|
|
33
|
-
* <CalendarEventChip
|
|
34
|
-
* event={{ id: "1", title: "Standup", start: new Date(), end: new Date(), color: "#3b82f6" }}
|
|
35
|
-
* onClick={(e) => openDetail(e.id)}
|
|
36
|
-
* />
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
declare function CalendarEventChip({ event, compact, onClick }: CalendarEventChipProps): react_jsx_runtime.JSX.Element;
|
|
40
|
-
|
|
41
|
-
export { CalendarEventChip, type CalendarEventChipEvent, type CalendarEventChipProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-event-chip.js"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/** Extended event data shape for the detail sheet, including description, location, and attendees. */
|
|
4
|
-
interface CalendarEventSheetEvent {
|
|
5
|
-
/** Unique event identifier. */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Display title of the event. */
|
|
8
|
-
title: string;
|
|
9
|
-
/** Optional long description or notes for the event. */
|
|
10
|
-
description?: string;
|
|
11
|
-
/** Event start date/time. */
|
|
12
|
-
start: Date;
|
|
13
|
-
/** Event end date/time. */
|
|
14
|
-
end: Date;
|
|
15
|
-
/** Whether this is an all-day event. */
|
|
16
|
-
allDay?: boolean;
|
|
17
|
-
/** CSS color string for the event. */
|
|
18
|
-
color: string;
|
|
19
|
-
/** Category key (e.g. "meeting", "deadline") used by CalendarCategoryBadge. */
|
|
20
|
-
category: string;
|
|
21
|
-
/** Optional location string. */
|
|
22
|
-
location?: string;
|
|
23
|
-
/** Optional list of attendee email addresses. */
|
|
24
|
-
attendees?: string[];
|
|
25
|
-
}
|
|
26
|
-
/** Localizable labels for the event detail sheet. All have English defaults. */
|
|
27
|
-
interface CalendarEventSheetLabels {
|
|
28
|
-
/** Text displayed for all-day events instead of a time range. */
|
|
29
|
-
allDay?: string;
|
|
30
|
-
/** Heading text for the attendees section. */
|
|
31
|
-
attendees?: string;
|
|
32
|
-
/** Label for the delete button. */
|
|
33
|
-
delete?: string;
|
|
34
|
-
}
|
|
35
|
-
interface CalendarEventSheetProps {
|
|
36
|
-
/** The event to display, or `null` to render nothing. */
|
|
37
|
-
event: CalendarEventSheetEvent | null;
|
|
38
|
-
/** Whether the sheet is open. */
|
|
39
|
-
open: boolean;
|
|
40
|
-
/** Callback to toggle the sheet open state. */
|
|
41
|
-
onOpenChange: (open: boolean) => void;
|
|
42
|
-
/** Optional callback when the delete button is clicked. Receives the event id. */
|
|
43
|
-
onDelete?: (id: string) => void;
|
|
44
|
-
/** Override display label for the category badge. */
|
|
45
|
-
categoryLabel?: string;
|
|
46
|
-
/** Custom className styles per category key for the CalendarCategoryBadge. */
|
|
47
|
-
categoryStyles?: Record<string, string>;
|
|
48
|
-
/** Localizable UI labels with English defaults. */
|
|
49
|
-
labels?: CalendarEventSheetLabels;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Side sheet that displays full event details including title, category badge,
|
|
53
|
-
* description, date/time, location, attendees, and a delete action.
|
|
54
|
-
* Built on top of the Sheet component.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* ```tsx
|
|
58
|
-
* <CalendarEventSheet
|
|
59
|
-
* event={selectedEvent}
|
|
60
|
-
* open={sheetOpen}
|
|
61
|
-
* onOpenChange={setSheetOpen}
|
|
62
|
-
* onDelete={(id) => removeEvent(id)}
|
|
63
|
-
* />
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
declare function CalendarEventSheet({ event, open, onOpenChange, onDelete, categoryLabel, categoryStyles, labels: labelsProp, }: CalendarEventSheetProps): react_jsx_runtime.JSX.Element | null;
|
|
67
|
-
|
|
68
|
-
export { CalendarEventSheet, type CalendarEventSheetEvent, type CalendarEventSheetLabels, type CalendarEventSheetProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { CalendarEventSheet } from '../chunk-THQUH6WX.js';
|
|
2
|
-
import '../chunk-JLTBUACL.js';
|
|
3
|
-
import '../chunk-JAJMM32I.js';
|
|
4
|
-
import '../chunk-PGWNOZDX.js';
|
|
5
|
-
import '../chunk-55E7D2HR.js';
|
|
6
|
-
import '../chunk-A3BB5ZOC.js';
|
|
7
|
-
import '../chunk-DGPY4WP3.js';
|
|
8
|
-
//# sourceMappingURL=calendar-event-sheet.js.map
|
|
9
|
-
//# sourceMappingURL=calendar-event-sheet.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-event-sheet.js"}
|