@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,63 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Command as Command$1 } from 'cmdk';
|
|
4
|
-
import { Dialog } from './dialog.js';
|
|
5
|
-
import '@radix-ui/react-dialog';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Command palette component built on cmdk.
|
|
9
|
-
*
|
|
10
|
-
* Provides a searchable, keyboard-navigable list of commands or options.
|
|
11
|
-
* Use `CommandDialog` for a modal command palette, or `Command` inline
|
|
12
|
-
* for embedded search/filter interfaces like comboboxes.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```tsx
|
|
16
|
-
* <CommandDialog open={open} onOpenChange={setOpen}>
|
|
17
|
-
* <CommandInput placeholder="Type a command or search..." />
|
|
18
|
-
* <CommandList>
|
|
19
|
-
* <CommandEmpty>No results found.</CommandEmpty>
|
|
20
|
-
* <CommandGroup heading="Suggestions">
|
|
21
|
-
* <CommandItem>
|
|
22
|
-
* <CalendarIcon className="size-4" />
|
|
23
|
-
* Calendar
|
|
24
|
-
* </CommandItem>
|
|
25
|
-
* <CommandItem>
|
|
26
|
-
* <SearchIcon className="size-4" />
|
|
27
|
-
* Search
|
|
28
|
-
* <CommandShortcut>Ctrl+K</CommandShortcut>
|
|
29
|
-
* </CommandItem>
|
|
30
|
-
* </CommandGroup>
|
|
31
|
-
* <CommandSeparator />
|
|
32
|
-
* <CommandGroup heading="Settings">
|
|
33
|
-
* <CommandItem>
|
|
34
|
-
* <SettingsIcon className="size-4" />
|
|
35
|
-
* Settings
|
|
36
|
-
* </CommandItem>
|
|
37
|
-
* </CommandGroup>
|
|
38
|
-
* </CommandList>
|
|
39
|
-
* </CommandDialog>
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
/** Modal wrapper that renders a Command palette inside a Dialog. Accepts optional `title` and `description` for accessibility. */
|
|
44
|
-
declare function CommandDialog({ title, description, children, ...props }: React.ComponentProps<typeof Dialog> & {
|
|
45
|
-
title?: string;
|
|
46
|
-
description?: string;
|
|
47
|
-
}): react_jsx_runtime.JSX.Element;
|
|
48
|
-
/** Search input field with a magnifying glass icon for filtering command items. */
|
|
49
|
-
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
50
|
-
/** Scrollable container for command groups and items. */
|
|
51
|
-
declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
52
|
-
/** Fallback content shown when no command items match the search query. */
|
|
53
|
-
declare function CommandEmpty({ ...props }: React.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
54
|
-
/** Groups related command items under an optional heading. */
|
|
55
|
-
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
56
|
-
/** Visual divider between groups of command items. */
|
|
57
|
-
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
58
|
-
/** Selectable command item that can be navigated with keyboard arrows and activated with Enter. */
|
|
59
|
-
declare function CommandItem({ className, ...props }: React.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
60
|
-
/** Keyboard shortcut hint displayed at the end of a command item. */
|
|
61
|
-
declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
62
|
-
|
|
63
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from '../chunk-6GWVQB3Q.js';
|
|
2
|
-
import '../chunk-F2ZJLKDP.js';
|
|
3
|
-
import '../chunk-DGPY4WP3.js';
|
|
4
|
-
//# sourceMappingURL=command.js.map
|
|
5
|
-
//# sourceMappingURL=command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"command.js"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Right-click context menu built on Radix UI ContextMenu.
|
|
7
|
-
*
|
|
8
|
-
* Displays a menu of actions when the user right-clicks (or long-presses)
|
|
9
|
-
* on the trigger area. Supports items, checkbox items, radio items,
|
|
10
|
-
* sub-menus, separators, labels, and shortcuts.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <ContextMenu>
|
|
15
|
-
* <ContextMenuTrigger className="flex h-40 w-64 items-center justify-center rounded-md border border-dashed">
|
|
16
|
-
* Right click here
|
|
17
|
-
* </ContextMenuTrigger>
|
|
18
|
-
* <ContextMenuContent>
|
|
19
|
-
* <ContextMenuItem>
|
|
20
|
-
* Copy
|
|
21
|
-
* <ContextMenuShortcut>Ctrl+C</ContextMenuShortcut>
|
|
22
|
-
* </ContextMenuItem>
|
|
23
|
-
* <ContextMenuItem>
|
|
24
|
-
* Paste
|
|
25
|
-
* <ContextMenuShortcut>Ctrl+V</ContextMenuShortcut>
|
|
26
|
-
* </ContextMenuItem>
|
|
27
|
-
* <ContextMenuSeparator />
|
|
28
|
-
* <ContextMenuItem variant="destructive">Delete</ContextMenuItem>
|
|
29
|
-
* </ContextMenuContent>
|
|
30
|
-
* </ContextMenu>
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
34
|
-
/** Area that opens the context menu on right-click. */
|
|
35
|
-
declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
|
-
/** Groups related context menu items together for accessibility. */
|
|
37
|
-
declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
/** Portal that renders context menu content outside the DOM hierarchy. */
|
|
39
|
-
declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
40
|
-
/** Container for a nested sub-menu within the context menu. */
|
|
41
|
-
declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
42
|
-
/** Container for radio context menu items where only one can be selected at a time. */
|
|
43
|
-
declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
44
|
-
/** Menu item that opens a sub-menu on hover. Displays a chevron indicator. */
|
|
45
|
-
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
46
|
-
inset?: boolean;
|
|
47
|
-
}): react_jsx_runtime.JSX.Element;
|
|
48
|
-
/** Floating container for sub-menu items. */
|
|
49
|
-
declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
50
|
-
/** Floating container for context menu items, positioned at the cursor location. */
|
|
51
|
-
declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
52
|
-
/** Actionable menu item. Set `variant="destructive"` for dangerous actions, `inset` for left-padding alignment. */
|
|
53
|
-
declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
54
|
-
inset?: boolean;
|
|
55
|
-
variant?: "default" | "destructive";
|
|
56
|
-
}): react_jsx_runtime.JSX.Element;
|
|
57
|
-
/** Menu item with a checkbox indicator for toggling options. */
|
|
58
|
-
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
59
|
-
/** Menu item with a radio indicator for single-selection groups. */
|
|
60
|
-
declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
61
|
-
/** Non-interactive label used to title a group of menu items. */
|
|
62
|
-
declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
63
|
-
inset?: boolean;
|
|
64
|
-
}): react_jsx_runtime.JSX.Element;
|
|
65
|
-
/** Visual divider between groups of menu items. */
|
|
66
|
-
declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
67
|
-
/** Keyboard shortcut hint displayed at the end of a menu item. */
|
|
68
|
-
declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
69
|
-
|
|
70
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from '../chunk-USIHM7FV.js';
|
|
2
|
-
import '../chunk-DGPY4WP3.js';
|
|
3
|
-
//# sourceMappingURL=context-menu.js.map
|
|
4
|
-
//# sourceMappingURL=context-menu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"context-menu.js"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Locale } from 'date-fns';
|
|
3
|
-
|
|
4
|
-
interface DatePickerProps {
|
|
5
|
-
/** Currently selected date. */
|
|
6
|
-
value?: Date;
|
|
7
|
-
/** Callback fired when a date is selected or cleared. */
|
|
8
|
-
onChange?: (date: Date | undefined) => void;
|
|
9
|
-
/** Placeholder text shown when no date is selected. */
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
/** Additional CSS class for the trigger button. */
|
|
12
|
-
className?: string;
|
|
13
|
-
/** Whether the date picker is disabled. */
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
/** date-fns Locale object for date formatting (e.g., `ja` for Japanese). */
|
|
16
|
-
locale?: Locale;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Single date picker with a calendar popover.
|
|
20
|
-
* Displays the selected date formatted with date-fns and opens a calendar on click.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```tsx
|
|
24
|
-
* const [date, setDate] = useState<Date>();
|
|
25
|
-
*
|
|
26
|
-
* <DatePicker
|
|
27
|
-
* value={date}
|
|
28
|
-
* onChange={setDate}
|
|
29
|
-
* placeholder="Pick a date"
|
|
30
|
-
* />
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
declare function DatePicker({ value, onChange, placeholder, className, disabled, locale, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
interface DateRangePickerProps {
|
|
35
|
-
/** Currently selected date range with `from` and optional `to`. */
|
|
36
|
-
value?: {
|
|
37
|
-
from: Date | undefined;
|
|
38
|
-
to?: Date | undefined;
|
|
39
|
-
};
|
|
40
|
-
/** Callback fired when the date range changes. */
|
|
41
|
-
onChange?: (range: {
|
|
42
|
-
from: Date | undefined;
|
|
43
|
-
to?: Date | undefined;
|
|
44
|
-
} | undefined) => void;
|
|
45
|
-
/** Placeholder text shown when no range is selected. */
|
|
46
|
-
placeholder?: string;
|
|
47
|
-
/** Additional CSS class for the trigger button. */
|
|
48
|
-
className?: string;
|
|
49
|
-
/** Whether the date range picker is disabled. */
|
|
50
|
-
disabled?: boolean;
|
|
51
|
-
/** date-fns Locale object for date formatting (e.g., `ja` for Japanese). */
|
|
52
|
-
locale?: Locale;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Date range picker with a two-month calendar popover.
|
|
56
|
-
* Allows selecting a start and end date displayed as a range string.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```tsx
|
|
60
|
-
* const [range, setRange] = useState<{ from: Date | undefined; to?: Date }>();
|
|
61
|
-
*
|
|
62
|
-
* <DateRangePicker
|
|
63
|
-
* value={range}
|
|
64
|
-
* onChange={setRange}
|
|
65
|
-
* placeholder="Select date range"
|
|
66
|
-
* />
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
|
-
declare function DateRangePicker({ value, onChange, placeholder, className, disabled, locale, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
export { DatePicker, DateRangePicker };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { DatePicker, DateRangePicker } from '../chunk-HWTW64R5.js';
|
|
2
|
-
import '../chunk-C34KSTWA.js';
|
|
3
|
-
import '../chunk-QB3UWRZH.js';
|
|
4
|
-
import '../chunk-55E7D2HR.js';
|
|
5
|
-
import '../chunk-DGPY4WP3.js';
|
|
6
|
-
//# sourceMappingURL=date-picker.js.map
|
|
7
|
-
//# sourceMappingURL=date-picker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"date-picker.js"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Modal dialog component built on Radix UI Dialog.
|
|
7
|
-
*
|
|
8
|
-
* Renders a centered overlay panel that interrupts the user with important content
|
|
9
|
-
* and expects a response. Supports controlled (`open`/`onOpenChange`) and
|
|
10
|
-
* uncontrolled usage (via `DialogTrigger`).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <Dialog open={open} onOpenChange={setOpen}>
|
|
15
|
-
* <DialogTrigger asChild>
|
|
16
|
-
* <Button>Open Dialog</Button>
|
|
17
|
-
* </DialogTrigger>
|
|
18
|
-
* <DialogContent>
|
|
19
|
-
* <DialogHeader>
|
|
20
|
-
* <DialogTitle>Edit Profile</DialogTitle>
|
|
21
|
-
* <DialogDescription>
|
|
22
|
-
* Make changes to your profile here.
|
|
23
|
-
* </DialogDescription>
|
|
24
|
-
* </DialogHeader>
|
|
25
|
-
* <div className="space-y-4">
|
|
26
|
-
* <Input placeholder="Name" />
|
|
27
|
-
* </div>
|
|
28
|
-
* <DialogFooter>
|
|
29
|
-
* <Button variant="outline" onClick={() => setOpen(false)}>
|
|
30
|
-
* Cancel
|
|
31
|
-
* </Button>
|
|
32
|
-
* <Button>Save Changes</Button>
|
|
33
|
-
* </DialogFooter>
|
|
34
|
-
* </DialogContent>
|
|
35
|
-
* </Dialog>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
39
|
-
/** Element that opens the dialog when clicked. Use `asChild` to merge into your own button. */
|
|
40
|
-
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
41
|
-
/** Portal that renders dialog content outside the DOM hierarchy. */
|
|
42
|
-
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
/** Button that closes the dialog. Use `asChild` to merge into your own button. */
|
|
44
|
-
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
/** Semi-transparent backdrop rendered behind the dialog content. */
|
|
46
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
-
/** Dialog content panel with overlay backdrop and a built-in close button. */
|
|
48
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
-
/** Container for DialogTitle and DialogDescription at the top of the dialog. */
|
|
50
|
-
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
51
|
-
/** Container for action buttons at the bottom of the dialog. */
|
|
52
|
-
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
53
|
-
/** Accessible title rendered inside DialogHeader. */
|
|
54
|
-
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
55
|
-
/** Accessible description rendered inside DialogHeader below the title. */
|
|
56
|
-
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
57
|
-
|
|
58
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../chunk-F2ZJLKDP.js';
|
|
2
|
-
import '../chunk-DGPY4WP3.js';
|
|
3
|
-
//# sourceMappingURL=dialog.js.map
|
|
4
|
-
//# sourceMappingURL=dialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"dialog.js"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Drawer as Drawer$1 } from 'vaul';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Swipeable drawer component built on Vaul.
|
|
7
|
-
*
|
|
8
|
-
* Slides from any edge of the screen and can be dismissed by swiping.
|
|
9
|
-
* Set the `direction` prop on the root to control direction (`"top"`, `"bottom"`,
|
|
10
|
-
* `"left"`, `"right"`). Always wrap content in `DrawerBody` for proper scrolling.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <Drawer open={open} onOpenChange={setOpen}>
|
|
15
|
-
* <DrawerTrigger asChild>
|
|
16
|
-
* <Button variant="outline">Open Drawer</Button>
|
|
17
|
-
* </DrawerTrigger>
|
|
18
|
-
* <DrawerContent>
|
|
19
|
-
* <DrawerHeader>
|
|
20
|
-
* <DrawerTitle>Task Details</DrawerTitle>
|
|
21
|
-
* <DrawerDescription>
|
|
22
|
-
* View and edit task information.
|
|
23
|
-
* </DrawerDescription>
|
|
24
|
-
* </DrawerHeader>
|
|
25
|
-
* <DrawerBody>
|
|
26
|
-
* <p>Scrollable content goes here.</p>
|
|
27
|
-
* </DrawerBody>
|
|
28
|
-
* <DrawerFooter>
|
|
29
|
-
* <Button>Save</Button>
|
|
30
|
-
* <DrawerClose asChild>
|
|
31
|
-
* <Button variant="outline">Cancel</Button>
|
|
32
|
-
* </DrawerClose>
|
|
33
|
-
* </DrawerFooter>
|
|
34
|
-
* </DrawerContent>
|
|
35
|
-
* </Drawer>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
declare function Drawer({ ...props }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
39
|
-
/** Element that opens the drawer when clicked. Use `asChild` to merge into your own button. */
|
|
40
|
-
declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
41
|
-
/** Portal that renders drawer content outside the DOM hierarchy. */
|
|
42
|
-
declare function DrawerPortal({ ...props }: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
43
|
-
/** Button that closes the drawer. Use `asChild` to merge into your own button. */
|
|
44
|
-
declare function DrawerClose({ ...props }: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
/** Semi-transparent backdrop rendered behind the drawer panel. */
|
|
46
|
-
declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
47
|
-
/** Drawer content panel that slides in from the configured direction. Includes a drag handle for bottom drawers. */
|
|
48
|
-
declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
49
|
-
/** Container for DrawerTitle and DrawerDescription at the top of the drawer. */
|
|
50
|
-
declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
51
|
-
/** Scrollable body area for drawer content. Always wrap main content in this component. */
|
|
52
|
-
declare function DrawerBody({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
53
|
-
/** Container for action buttons at the bottom of the drawer. Pushed to the bottom via `mt-auto`. */
|
|
54
|
-
declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
55
|
-
/** Accessible title rendered inside DrawerHeader. */
|
|
56
|
-
declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
57
|
-
/** Accessible description rendered inside DrawerHeader below the title. */
|
|
58
|
-
declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
59
|
-
|
|
60
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from '../chunk-7XH3MGBR.js';
|
|
2
|
-
import '../chunk-DGPY4WP3.js';
|
|
3
|
-
//# sourceMappingURL=drawer.js.map
|
|
4
|
-
//# sourceMappingURL=drawer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"drawer.js"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Dropdown menu component built on Radix UI DropdownMenu.
|
|
7
|
-
*
|
|
8
|
-
* Displays a menu of actions or options triggered by a button click.
|
|
9
|
-
* Supports items, checkbox items, radio items, sub-menus, separators,
|
|
10
|
-
* labels, shortcuts, and destructive variants.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <DropdownMenu>
|
|
15
|
-
* <DropdownMenuTrigger asChild>
|
|
16
|
-
* <Button variant="outline">Actions</Button>
|
|
17
|
-
* </DropdownMenuTrigger>
|
|
18
|
-
* <DropdownMenuContent>
|
|
19
|
-
* <DropdownMenuLabel>My Account</DropdownMenuLabel>
|
|
20
|
-
* <DropdownMenuSeparator />
|
|
21
|
-
* <DropdownMenuItem>
|
|
22
|
-
* <UserIcon className="size-4" />
|
|
23
|
-
* Profile
|
|
24
|
-
* <DropdownMenuShortcut>Ctrl+P</DropdownMenuShortcut>
|
|
25
|
-
* </DropdownMenuItem>
|
|
26
|
-
* <DropdownMenuItem>
|
|
27
|
-
* <SettingsIcon className="size-4" />
|
|
28
|
-
* Settings
|
|
29
|
-
* </DropdownMenuItem>
|
|
30
|
-
* <DropdownMenuSeparator />
|
|
31
|
-
* <DropdownMenuItem variant="destructive">
|
|
32
|
-
* <TrashIcon className="size-4" />
|
|
33
|
-
* Delete
|
|
34
|
-
* </DropdownMenuItem>
|
|
35
|
-
* </DropdownMenuContent>
|
|
36
|
-
* </DropdownMenu>
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
40
|
-
/** Portal that renders dropdown content outside the DOM hierarchy. */
|
|
41
|
-
declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
42
|
-
/** Element that opens the dropdown menu when clicked. Use `asChild` to merge into your own button. */
|
|
43
|
-
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
44
|
-
/** Floating container for menu items, positioned relative to the trigger. */
|
|
45
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
46
|
-
/** Groups related menu items together for accessibility. */
|
|
47
|
-
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
48
|
-
/** Actionable menu item. Set `variant="destructive"` for dangerous actions, `inset` for left-padding alignment. */
|
|
49
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
50
|
-
inset?: boolean;
|
|
51
|
-
variant?: "default" | "destructive";
|
|
52
|
-
}): react_jsx_runtime.JSX.Element;
|
|
53
|
-
/** Menu item with a checkbox indicator for toggling options. */
|
|
54
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
55
|
-
/** Container for radio menu items where only one can be selected at a time. */
|
|
56
|
-
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
57
|
-
/** Menu item with a radio indicator for single-selection groups. */
|
|
58
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
59
|
-
/** Non-interactive label used to title a group of menu items. */
|
|
60
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
61
|
-
inset?: boolean;
|
|
62
|
-
}): react_jsx_runtime.JSX.Element;
|
|
63
|
-
/** Visual divider between groups of menu items. */
|
|
64
|
-
declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
65
|
-
/** Keyboard shortcut hint displayed at the end of a menu item. */
|
|
66
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
67
|
-
/** Container for a nested sub-menu within the dropdown. */
|
|
68
|
-
declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
69
|
-
/** Menu item that opens a sub-menu on hover. Displays a chevron indicator. */
|
|
70
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
71
|
-
inset?: boolean;
|
|
72
|
-
}): react_jsx_runtime.JSX.Element;
|
|
73
|
-
/** Floating container for sub-menu items. */
|
|
74
|
-
declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
75
|
-
|
|
76
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-IAWKX5W4.js';
|
|
2
|
-
import '../chunk-DGPY4WP3.js';
|
|
3
|
-
//# sourceMappingURL=dropdown-menu.js.map
|
|
4
|
-
//# sourceMappingURL=dropdown-menu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"dropdown-menu.js"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface FileUploadProps {
|
|
4
|
-
/** Array of currently uploaded File objects. */
|
|
5
|
-
value?: File[];
|
|
6
|
-
/** Callback fired when files are added or removed. */
|
|
7
|
-
onChange?: (files: File[]) => void;
|
|
8
|
-
/** Accepted file types (e.g., `"image/*,.pdf"`). Maps to the HTML `accept` attribute. */
|
|
9
|
-
accept?: string;
|
|
10
|
-
/** Whether multiple files can be selected at once. Defaults to `false`. */
|
|
11
|
-
multiple?: boolean;
|
|
12
|
-
/** Maximum file size in bytes. Defaults to 10 MB. */
|
|
13
|
-
maxSize?: number;
|
|
14
|
-
/** Maximum number of files allowed. */
|
|
15
|
-
maxFiles?: number;
|
|
16
|
-
/** Whether the upload area is disabled. */
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
/** Additional CSS class for the outer wrapper. */
|
|
19
|
-
className?: string;
|
|
20
|
-
/** Whether to show the file list with previews below the drop zone. Defaults to `true`. */
|
|
21
|
-
showPreview?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* File upload component with drag-and-drop support and file previews.
|
|
25
|
-
* Validates file size and count, shows image thumbnails, and provides remove buttons.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```tsx
|
|
29
|
-
* const [files, setFiles] = useState<File[]>([]);
|
|
30
|
-
*
|
|
31
|
-
* <FileUpload
|
|
32
|
-
* value={files}
|
|
33
|
-
* onChange={setFiles}
|
|
34
|
-
* accept="image/*,.pdf"
|
|
35
|
-
* multiple
|
|
36
|
-
* maxSize={5 * 1024 * 1024}
|
|
37
|
-
* maxFiles={3}
|
|
38
|
-
* />
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
declare function FileUpload({ value, onChange, accept, multiple, maxSize, // 10MB default
|
|
42
|
-
maxFiles, disabled, className, showPreview, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
43
|
-
|
|
44
|
-
export { FileUpload };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"file-upload.js"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as react_hook_form from 'react-hook-form';
|
|
3
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
6
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Form provider component built on react-hook-form's FormProvider.
|
|
10
|
-
* Wraps form fields and provides form context for validation, error display, and accessibility.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* const form = useForm({ defaultValues: { email: "" } });
|
|
15
|
-
*
|
|
16
|
-
* <Form {...form}>
|
|
17
|
-
* <form onSubmit={form.handleSubmit(onSubmit)}>
|
|
18
|
-
* <FormField
|
|
19
|
-
* control={form.control}
|
|
20
|
-
* name="email"
|
|
21
|
-
* render={({ field }) => (
|
|
22
|
-
* <FormItem>
|
|
23
|
-
* <FormLabel>Email</FormLabel>
|
|
24
|
-
* <FormControl>
|
|
25
|
-
* <Input placeholder="you@example.com" {...field} />
|
|
26
|
-
* </FormControl>
|
|
27
|
-
* <FormDescription>Your work email address.</FormDescription>
|
|
28
|
-
* <FormMessage />
|
|
29
|
-
* </FormItem>
|
|
30
|
-
* )}
|
|
31
|
-
* />
|
|
32
|
-
* <Button type="submit">Submit</Button>
|
|
33
|
-
* </form>
|
|
34
|
-
* </Form>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
38
|
-
/** Connects a form field to react-hook-form's Controller and provides field context. */
|
|
39
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
40
|
-
/**
|
|
41
|
-
* Hook that returns field state, IDs, and error information for the current form field.
|
|
42
|
-
* Must be used within a `FormField` component.
|
|
43
|
-
*/
|
|
44
|
-
declare const useFormField: () => {
|
|
45
|
-
invalid: boolean;
|
|
46
|
-
isDirty: boolean;
|
|
47
|
-
isTouched: boolean;
|
|
48
|
-
isValidating: boolean;
|
|
49
|
-
error?: react_hook_form.FieldError;
|
|
50
|
-
id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
formItemId: string;
|
|
53
|
-
formDescriptionId: string;
|
|
54
|
-
formMessageId: string;
|
|
55
|
-
};
|
|
56
|
-
/** Container for a single form field, grouping label, control, description, and message. */
|
|
57
|
-
declare function FormItem({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
58
|
-
/** Label for a form field that turns red on validation error. */
|
|
59
|
-
declare function FormLabel({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
60
|
-
/** Slot wrapper that wires up aria attributes for the form control. */
|
|
61
|
-
declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
62
|
-
/** Helper text displayed below the form control. */
|
|
63
|
-
declare function FormDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
64
|
-
/** Displays the validation error message for the form field. */
|
|
65
|
-
declare function FormMessage({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
|
|
66
|
-
|
|
67
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
package/dist/components/form.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"form.js"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Hover-activated floating card built on Radix UI HoverCard.
|
|
7
|
-
*
|
|
8
|
-
* Displays a preview card when the user hovers over a trigger element.
|
|
9
|
-
* Ideal for showing user profiles, link previews, or supplementary info
|
|
10
|
-
* without requiring a click.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <HoverCard>
|
|
15
|
-
* <HoverCardTrigger asChild>
|
|
16
|
-
* <a href="/user/john" className="underline">
|
|
17
|
-
* @john
|
|
18
|
-
* </a>
|
|
19
|
-
* </HoverCardTrigger>
|
|
20
|
-
* <HoverCardContent>
|
|
21
|
-
* <div className="flex gap-4">
|
|
22
|
-
* <Avatar>
|
|
23
|
-
* <AvatarImage src="/avatars/john.png" />
|
|
24
|
-
* <AvatarFallback>JD</AvatarFallback>
|
|
25
|
-
* </Avatar>
|
|
26
|
-
* <div>
|
|
27
|
-
* <h4 className="text-sm font-semibold">John Doe</h4>
|
|
28
|
-
* <p className="text-sm text-muted-foreground">
|
|
29
|
-
* Software Engineer
|
|
30
|
-
* </p>
|
|
31
|
-
* </div>
|
|
32
|
-
* </div>
|
|
33
|
-
* </HoverCardContent>
|
|
34
|
-
* </HoverCard>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
/** Element that shows the hover card on mouse enter. Use `asChild` to merge into your own element. */
|
|
39
|
-
declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
40
|
-
/** Floating content panel that appears on hover. */
|
|
41
|
-
declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
42
|
-
|
|
43
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger };
|