acai-ui-library 0.1.11
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 +83 -0
- package/dist/components/accordion.cjs +138 -0
- package/dist/components/accordion.cjs.map +1 -0
- package/dist/components/accordion.d.cts +13 -0
- package/dist/components/accordion.d.ts +13 -0
- package/dist/components/accordion.js +100 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/alert-dialog.cjs +282 -0
- package/dist/components/alert-dialog.cjs.map +1 -0
- package/dist/components/alert-dialog.d.cts +31 -0
- package/dist/components/alert-dialog.d.ts +31 -0
- package/dist/components/alert-dialog.js +236 -0
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/alert.cjs +117 -0
- package/dist/components/alert.cjs.map +1 -0
- package/dist/components/alert.d.cts +15 -0
- package/dist/components/alert.d.ts +15 -0
- package/dist/components/alert.js +78 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/app-header.cjs +137 -0
- package/dist/components/app-header.cjs.map +1 -0
- package/dist/components/app-header.d.cts +19 -0
- package/dist/components/app-header.d.ts +19 -0
- package/dist/components/app-header.js +103 -0
- package/dist/components/app-header.js.map +1 -0
- package/dist/components/avatar.cjs +176 -0
- package/dist/components/avatar.cjs.map +1 -0
- package/dist/components/avatar.d.cts +23 -0
- package/dist/components/avatar.d.ts +23 -0
- package/dist/components/avatar.js +138 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.cjs +121 -0
- package/dist/components/badge.cjs.map +1 -0
- package/dist/components/badge.d.cts +15 -0
- package/dist/components/badge.d.ts +15 -0
- package/dist/components/badge.js +96 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/banner.cjs +87 -0
- package/dist/components/banner.cjs.map +1 -0
- package/dist/components/banner.d.cts +12 -0
- package/dist/components/banner.d.ts +12 -0
- package/dist/components/banner.js +52 -0
- package/dist/components/banner.js.map +1 -0
- package/dist/components/breadcrumb.cjs +137 -0
- package/dist/components/breadcrumb.cjs.map +1 -0
- package/dist/components/breadcrumb.d.cts +22 -0
- package/dist/components/breadcrumb.d.ts +22 -0
- package/dist/components/breadcrumb.js +96 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button.cjs +125 -0
- package/dist/components/button.cjs.map +1 -0
- package/dist/components/button.d.cts +18 -0
- package/dist/components/button.d.ts +18 -0
- package/dist/components/button.js +89 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/calendar.cjs +92 -0
- package/dist/components/calendar.cjs.map +1 -0
- package/dist/components/calendar.d.cts +11 -0
- package/dist/components/calendar.d.ts +11 -0
- package/dist/components/calendar.js +67 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/card.cjs +142 -0
- package/dist/components/card.cjs.map +1 -0
- package/dist/components/card.d.cts +34 -0
- package/dist/components/card.d.ts +34 -0
- package/dist/components/card.js +101 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/carousel.cjs +218 -0
- package/dist/components/carousel.cjs.map +1 -0
- package/dist/components/carousel.d.cts +23 -0
- package/dist/components/carousel.d.ts +23 -0
- package/dist/components/carousel.js +179 -0
- package/dist/components/carousel.js.map +1 -0
- package/dist/components/chart.cjs +181 -0
- package/dist/components/chart.cjs.map +1 -0
- package/dist/components/chart.d.cts +69 -0
- package/dist/components/chart.d.ts +69 -0
- package/dist/components/chart.js +141 -0
- package/dist/components/chart.js.map +1 -0
- package/dist/components/checkbox.cjs +106 -0
- package/dist/components/checkbox.cjs.map +1 -0
- package/dist/components/checkbox.d.cts +15 -0
- package/dist/components/checkbox.d.ts +15 -0
- package/dist/components/checkbox.js +70 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/collapsible.cjs +48 -0
- package/dist/components/collapsible.cjs.map +1 -0
- package/dist/components/collapsible.d.cts +8 -0
- package/dist/components/collapsible.d.ts +8 -0
- package/dist/components/collapsible.js +11 -0
- package/dist/components/collapsible.js.map +1 -0
- package/dist/components/command.cjs +245 -0
- package/dist/components/command.cjs.map +1 -0
- package/dist/components/command.d.cts +85 -0
- package/dist/components/command.d.ts +85 -0
- package/dist/components/command.js +202 -0
- package/dist/components/command.js.map +1 -0
- package/dist/components/context-menu.cjs +194 -0
- package/dist/components/context-menu.cjs.map +1 -0
- package/dist/components/context-menu.d.cts +30 -0
- package/dist/components/context-menu.d.ts +30 -0
- package/dist/components/context-menu.js +145 -0
- package/dist/components/context-menu.js.map +1 -0
- package/dist/components/dashboard-header.cjs +118 -0
- package/dist/components/dashboard-header.cjs.map +1 -0
- package/dist/components/dashboard-header.d.cts +16 -0
- package/dist/components/dashboard-header.d.ts +16 -0
- package/dist/components/dashboard-header.js +84 -0
- package/dist/components/dashboard-header.js.map +1 -0
- package/dist/components/data-table.cjs +426 -0
- package/dist/components/data-table.cjs.map +1 -0
- package/dist/components/data-table.d.cts +16 -0
- package/dist/components/data-table.d.ts +16 -0
- package/dist/components/data-table.js +398 -0
- package/dist/components/data-table.js.map +1 -0
- package/dist/components/date-picker.cjs +278 -0
- package/dist/components/date-picker.cjs.map +1 -0
- package/dist/components/date-picker.d.cts +34 -0
- package/dist/components/date-picker.d.ts +34 -0
- package/dist/components/date-picker.js +243 -0
- package/dist/components/date-picker.js.map +1 -0
- package/dist/components/dialog.cjs +174 -0
- package/dist/components/dialog.cjs.map +1 -0
- package/dist/components/dialog.d.cts +35 -0
- package/dist/components/dialog.d.ts +35 -0
- package/dist/components/dialog.js +130 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/drawer.cjs +184 -0
- package/dist/components/drawer.cjs.map +1 -0
- package/dist/components/drawer.d.cts +33 -0
- package/dist/components/drawer.d.ts +33 -0
- package/dist/components/drawer.js +139 -0
- package/dist/components/drawer.js.map +1 -0
- package/dist/components/dropdown-menu.cjs +195 -0
- package/dist/components/dropdown-menu.cjs.map +1 -0
- package/dist/components/dropdown-menu.d.cts +30 -0
- package/dist/components/dropdown-menu.d.ts +30 -0
- package/dist/components/dropdown-menu.js +146 -0
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/empty-state.cjs +94 -0
- package/dist/components/empty-state.cjs.map +1 -0
- package/dist/components/empty-state.d.cts +19 -0
- package/dist/components/empty-state.d.ts +19 -0
- package/dist/components/empty-state.js +57 -0
- package/dist/components/empty-state.js.map +1 -0
- package/dist/components/file-input.cjs +135 -0
- package/dist/components/file-input.cjs.map +1 -0
- package/dist/components/file-input.d.cts +13 -0
- package/dist/components/file-input.d.ts +13 -0
- package/dist/components/file-input.js +101 -0
- package/dist/components/file-input.js.map +1 -0
- package/dist/components/form.cjs +256 -0
- package/dist/components/form.cjs.map +1 -0
- package/dist/components/form.d.cts +34 -0
- package/dist/components/form.d.ts +34 -0
- package/dist/components/form.js +218 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/hover-card.cjs +72 -0
- package/dist/components/hover-card.cjs.map +1 -0
- package/dist/components/hover-card.d.cts +8 -0
- package/dist/components/hover-card.d.ts +8 -0
- package/dist/components/hover-card.js +35 -0
- package/dist/components/hover-card.js.map +1 -0
- package/dist/components/icon/bell-icon.cjs +72 -0
- package/dist/components/icon/bell-icon.cjs.map +1 -0
- package/dist/components/icon/bell-icon.d.cts +9 -0
- package/dist/components/icon/bell-icon.d.ts +9 -0
- package/dist/components/icon/bell-icon.js +47 -0
- package/dist/components/icon/bell-icon.js.map +1 -0
- package/dist/components/icon/boxicons-dashboard-icon.cjs +37 -0
- package/dist/components/icon/boxicons-dashboard-icon.cjs.map +1 -0
- package/dist/components/icon/boxicons-dashboard-icon.d.cts +7 -0
- package/dist/components/icon/boxicons-dashboard-icon.d.ts +7 -0
- package/dist/components/icon/boxicons-dashboard-icon.js +12 -0
- package/dist/components/icon/boxicons-dashboard-icon.js.map +1 -0
- package/dist/components/icon/bx-user-x-icon.cjs +37 -0
- package/dist/components/icon/bx-user-x-icon.cjs.map +1 -0
- package/dist/components/icon/bx-user-x-icon.d.cts +7 -0
- package/dist/components/icon/bx-user-x-icon.d.ts +7 -0
- package/dist/components/icon/bx-user-x-icon.js +12 -0
- package/dist/components/icon/bx-user-x-icon.js.map +1 -0
- package/dist/components/icon/bytesize-upload-icon.cjs +64 -0
- package/dist/components/icon/bytesize-upload-icon.cjs.map +1 -0
- package/dist/components/icon/bytesize-upload-icon.d.cts +7 -0
- package/dist/components/icon/bytesize-upload-icon.d.ts +7 -0
- package/dist/components/icon/bytesize-upload-icon.js +39 -0
- package/dist/components/icon/bytesize-upload-icon.js.map +1 -0
- package/dist/components/icon/clarity-notification-line-icon.cjs +37 -0
- package/dist/components/icon/clarity-notification-line-icon.cjs.map +1 -0
- package/dist/components/icon/clarity-notification-line-icon.d.cts +7 -0
- package/dist/components/icon/clarity-notification-line-icon.d.ts +7 -0
- package/dist/components/icon/clarity-notification-line-icon.js +12 -0
- package/dist/components/icon/clarity-notification-line-icon.js.map +1 -0
- package/dist/components/icon/ep-setting-icon.cjs +37 -0
- package/dist/components/icon/ep-setting-icon.cjs.map +1 -0
- package/dist/components/icon/ep-setting-icon.d.cts +7 -0
- package/dist/components/icon/ep-setting-icon.d.ts +7 -0
- package/dist/components/icon/ep-setting-icon.js +12 -0
- package/dist/components/icon/ep-setting-icon.js.map +1 -0
- package/dist/components/icon/eva-attach-fill-icon.cjs +62 -0
- package/dist/components/icon/eva-attach-fill-icon.cjs.map +1 -0
- package/dist/components/icon/eva-attach-fill-icon.d.cts +7 -0
- package/dist/components/icon/eva-attach-fill-icon.d.ts +7 -0
- package/dist/components/icon/eva-attach-fill-icon.js +37 -0
- package/dist/components/icon/eva-attach-fill-icon.js.map +1 -0
- package/dist/components/icon/grommet-icons-upgrade-icon.cjs +37 -0
- package/dist/components/icon/grommet-icons-upgrade-icon.cjs.map +1 -0
- package/dist/components/icon/grommet-icons-upgrade-icon.d.cts +7 -0
- package/dist/components/icon/grommet-icons-upgrade-icon.d.ts +7 -0
- package/dist/components/icon/grommet-icons-upgrade-icon.js +12 -0
- package/dist/components/icon/grommet-icons-upgrade-icon.js.map +1 -0
- package/dist/components/icon/ic-round-work-outline-icon.cjs +37 -0
- package/dist/components/icon/ic-round-work-outline-icon.cjs.map +1 -0
- package/dist/components/icon/ic-round-work-outline-icon.d.cts +7 -0
- package/dist/components/icon/ic-round-work-outline-icon.d.ts +7 -0
- package/dist/components/icon/ic-round-work-outline-icon.js +12 -0
- package/dist/components/icon/ic-round-work-outline-icon.js.map +1 -0
- package/dist/components/icon/icon-ai-line-icon.cjs +37 -0
- package/dist/components/icon/icon-ai-line-icon.cjs.map +1 -0
- package/dist/components/icon/icon-ai-line-icon.d.cts +7 -0
- package/dist/components/icon/icon-ai-line-icon.d.ts +7 -0
- package/dist/components/icon/icon-ai-line-icon.js +12 -0
- package/dist/components/icon/icon-ai-line-icon.js.map +1 -0
- package/dist/components/icon/icon-calender-icon.cjs +37 -0
- package/dist/components/icon/icon-calender-icon.cjs.map +1 -0
- package/dist/components/icon/icon-calender-icon.d.cts +7 -0
- package/dist/components/icon/icon-calender-icon.d.ts +7 -0
- package/dist/components/icon/icon-calender-icon.js +12 -0
- package/dist/components/icon/icon-calender-icon.js.map +1 -0
- package/dist/components/icon/icon-close-icon.cjs +37 -0
- package/dist/components/icon/icon-close-icon.cjs.map +1 -0
- package/dist/components/icon/icon-close-icon.d.cts +7 -0
- package/dist/components/icon/icon-close-icon.d.ts +7 -0
- package/dist/components/icon/icon-close-icon.js +12 -0
- package/dist/components/icon/icon-close-icon.js.map +1 -0
- package/dist/components/icon/icon-delete-icon.cjs +37 -0
- package/dist/components/icon/icon-delete-icon.cjs.map +1 -0
- package/dist/components/icon/icon-delete-icon.d.cts +7 -0
- package/dist/components/icon/icon-delete-icon.d.ts +7 -0
- package/dist/components/icon/icon-delete-icon.js +12 -0
- package/dist/components/icon/icon-delete-icon.js.map +1 -0
- package/dist/components/icon/icon-download-filled-icon.cjs +37 -0
- package/dist/components/icon/icon-download-filled-icon.cjs.map +1 -0
- package/dist/components/icon/icon-download-filled-icon.d.cts +7 -0
- package/dist/components/icon/icon-download-filled-icon.d.ts +7 -0
- package/dist/components/icon/icon-download-filled-icon.js +12 -0
- package/dist/components/icon/icon-download-filled-icon.js.map +1 -0
- package/dist/components/icon/icon-edit-icon.cjs +38 -0
- package/dist/components/icon/icon-edit-icon.cjs.map +1 -0
- package/dist/components/icon/icon-edit-icon.d.cts +7 -0
- package/dist/components/icon/icon-edit-icon.d.ts +7 -0
- package/dist/components/icon/icon-edit-icon.js +13 -0
- package/dist/components/icon/icon-edit-icon.js.map +1 -0
- package/dist/components/icon/icon-help-icon.cjs +37 -0
- package/dist/components/icon/icon-help-icon.cjs.map +1 -0
- package/dist/components/icon/icon-help-icon.d.cts +7 -0
- package/dist/components/icon/icon-help-icon.d.ts +7 -0
- package/dist/components/icon/icon-help-icon.js +12 -0
- package/dist/components/icon/icon-help-icon.js.map +1 -0
- package/dist/components/icon/icon-info-line-icon.cjs +37 -0
- package/dist/components/icon/icon-info-line-icon.cjs.map +1 -0
- package/dist/components/icon/icon-info-line-icon.d.cts +7 -0
- package/dist/components/icon/icon-info-line-icon.d.ts +7 -0
- package/dist/components/icon/icon-info-line-icon.js +12 -0
- package/dist/components/icon/icon-info-line-icon.js.map +1 -0
- package/dist/components/icon/icon-search-icon.cjs +37 -0
- package/dist/components/icon/icon-search-icon.cjs.map +1 -0
- package/dist/components/icon/icon-search-icon.d.cts +7 -0
- package/dist/components/icon/icon-search-icon.d.ts +7 -0
- package/dist/components/icon/icon-search-icon.js +12 -0
- package/dist/components/icon/icon-search-icon.js.map +1 -0
- package/dist/components/icon/icon-security-icon.cjs +37 -0
- package/dist/components/icon/icon-security-icon.cjs.map +1 -0
- package/dist/components/icon/icon-security-icon.d.cts +7 -0
- package/dist/components/icon/icon-security-icon.d.ts +7 -0
- package/dist/components/icon/icon-security-icon.js +12 -0
- package/dist/components/icon/icon-security-icon.js.map +1 -0
- package/dist/components/icon/icon-upload-icon.cjs +37 -0
- package/dist/components/icon/icon-upload-icon.cjs.map +1 -0
- package/dist/components/icon/icon-upload-icon.d.cts +7 -0
- package/dist/components/icon/icon-upload-icon.d.ts +7 -0
- package/dist/components/icon/icon-upload-icon.js +12 -0
- package/dist/components/icon/icon-upload-icon.js.map +1 -0
- package/dist/components/icon/icon-user-icon.cjs +38 -0
- package/dist/components/icon/icon-user-icon.cjs.map +1 -0
- package/dist/components/icon/icon-user-icon.d.cts +7 -0
- package/dist/components/icon/icon-user-icon.d.ts +7 -0
- package/dist/components/icon/icon-user-icon.js +13 -0
- package/dist/components/icon/icon-user-icon.js.map +1 -0
- package/dist/components/icon/icon-view-outline-icon.cjs +38 -0
- package/dist/components/icon/icon-view-outline-icon.cjs.map +1 -0
- package/dist/components/icon/icon-view-outline-icon.d.cts +7 -0
- package/dist/components/icon/icon-view-outline-icon.d.ts +7 -0
- package/dist/components/icon/icon-view-outline-icon.js +13 -0
- package/dist/components/icon/icon-view-outline-icon.js.map +1 -0
- package/dist/components/icon/iconamoon-arrow-down2-icon.cjs +37 -0
- package/dist/components/icon/iconamoon-arrow-down2-icon.cjs.map +1 -0
- package/dist/components/icon/iconamoon-arrow-down2-icon.d.cts +7 -0
- package/dist/components/icon/iconamoon-arrow-down2-icon.d.ts +7 -0
- package/dist/components/icon/iconamoon-arrow-down2-icon.js +12 -0
- package/dist/components/icon/iconamoon-arrow-down2-icon.js.map +1 -0
- package/dist/components/icon/iconamoon-arrow-left1-icon.cjs +37 -0
- package/dist/components/icon/iconamoon-arrow-left1-icon.cjs.map +1 -0
- package/dist/components/icon/iconamoon-arrow-left1-icon.d.cts +7 -0
- package/dist/components/icon/iconamoon-arrow-left1-icon.d.ts +7 -0
- package/dist/components/icon/iconamoon-arrow-left1-icon.js +12 -0
- package/dist/components/icon/iconamoon-arrow-left1-icon.js.map +1 -0
- package/dist/components/icon/iconamoon-arrow-left2-duotone-icon.cjs +37 -0
- package/dist/components/icon/iconamoon-arrow-left2-duotone-icon.cjs.map +1 -0
- package/dist/components/icon/iconamoon-arrow-left2-duotone-icon.d.cts +7 -0
- package/dist/components/icon/iconamoon-arrow-left2-duotone-icon.d.ts +7 -0
- package/dist/components/icon/iconamoon-arrow-left2-duotone-icon.js +12 -0
- package/dist/components/icon/iconamoon-arrow-left2-duotone-icon.js.map +1 -0
- package/dist/components/icon/iconamoon-arrow-right2-icon.cjs +37 -0
- package/dist/components/icon/iconamoon-arrow-right2-icon.cjs.map +1 -0
- package/dist/components/icon/iconamoon-arrow-right2-icon.d.cts +7 -0
- package/dist/components/icon/iconamoon-arrow-right2-icon.d.ts +7 -0
- package/dist/components/icon/iconamoon-arrow-right2-icon.js +12 -0
- package/dist/components/icon/iconamoon-arrow-right2-icon.js.map +1 -0
- package/dist/components/icon/iconamoon-arrow-up2-duotone-icon.cjs +37 -0
- package/dist/components/icon/iconamoon-arrow-up2-duotone-icon.cjs.map +1 -0
- package/dist/components/icon/iconamoon-arrow-up2-duotone-icon.d.cts +7 -0
- package/dist/components/icon/iconamoon-arrow-up2-duotone-icon.d.ts +7 -0
- package/dist/components/icon/iconamoon-arrow-up2-duotone-icon.js +12 -0
- package/dist/components/icon/iconamoon-arrow-up2-duotone-icon.js.map +1 -0
- package/dist/components/icon/iconoir-bell-notification-icon.cjs +64 -0
- package/dist/components/icon/iconoir-bell-notification-icon.cjs.map +1 -0
- package/dist/components/icon/iconoir-bell-notification-icon.d.cts +7 -0
- package/dist/components/icon/iconoir-bell-notification-icon.d.ts +7 -0
- package/dist/components/icon/iconoir-bell-notification-icon.js +39 -0
- package/dist/components/icon/iconoir-bell-notification-icon.js.map +1 -0
- package/dist/components/icon/icons-menu-dots16-icon.cjs +37 -0
- package/dist/components/icon/icons-menu-dots16-icon.cjs.map +1 -0
- package/dist/components/icon/icons-menu-dots16-icon.d.cts +7 -0
- package/dist/components/icon/icons-menu-dots16-icon.d.ts +7 -0
- package/dist/components/icon/icons-menu-dots16-icon.js +12 -0
- package/dist/components/icon/icons-menu-dots16-icon.js.map +1 -0
- package/dist/components/icon/icons8-minus-icon.cjs +37 -0
- package/dist/components/icon/icons8-minus-icon.cjs.map +1 -0
- package/dist/components/icon/icons8-minus-icon.d.cts +7 -0
- package/dist/components/icon/icons8-minus-icon.d.ts +7 -0
- package/dist/components/icon/icons8-minus-icon.js +12 -0
- package/dist/components/icon/icons8-minus-icon.js.map +1 -0
- package/dist/components/icon/index.cjs +991 -0
- package/dist/components/icon/index.cjs.map +1 -0
- package/dist/components/icon/index.d.cts +114 -0
- package/dist/components/icon/index.d.ts +114 -0
- package/dist/components/icon/index.js +911 -0
- package/dist/components/icon/index.js.map +1 -0
- package/dist/components/icon/ion-finger-print-icon.cjs +83 -0
- package/dist/components/icon/ion-finger-print-icon.cjs.map +1 -0
- package/dist/components/icon/ion-finger-print-icon.d.cts +7 -0
- package/dist/components/icon/ion-finger-print-icon.d.ts +7 -0
- package/dist/components/icon/ion-finger-print-icon.js +58 -0
- package/dist/components/icon/ion-finger-print-icon.js.map +1 -0
- package/dist/components/icon/ion-warning-outline-icon.cjs +39 -0
- package/dist/components/icon/ion-warning-outline-icon.cjs.map +1 -0
- package/dist/components/icon/ion-warning-outline-icon.d.cts +7 -0
- package/dist/components/icon/ion-warning-outline-icon.d.ts +7 -0
- package/dist/components/icon/ion-warning-outline-icon.js +14 -0
- package/dist/components/icon/ion-warning-outline-icon.js.map +1 -0
- package/dist/components/icon/library-icon-props.cjs +19 -0
- package/dist/components/icon/library-icon-props.cjs.map +1 -0
- package/dist/components/icon/library-icon-props.d.cts +8 -0
- package/dist/components/icon/library-icon-props.d.ts +8 -0
- package/dist/components/icon/library-icon-props.js +1 -0
- package/dist/components/icon/library-icon-props.js.map +1 -0
- package/dist/components/icon/lucide-file-edit-icon.cjs +38 -0
- package/dist/components/icon/lucide-file-edit-icon.cjs.map +1 -0
- package/dist/components/icon/lucide-file-edit-icon.d.cts +7 -0
- package/dist/components/icon/lucide-file-edit-icon.d.ts +7 -0
- package/dist/components/icon/lucide-file-edit-icon.js +13 -0
- package/dist/components/icon/lucide-file-edit-icon.js.map +1 -0
- package/dist/components/icon/lucide-user-check-icon.cjs +38 -0
- package/dist/components/icon/lucide-user-check-icon.cjs.map +1 -0
- package/dist/components/icon/lucide-user-check-icon.d.cts +7 -0
- package/dist/components/icon/lucide-user-check-icon.d.ts +7 -0
- package/dist/components/icon/lucide-user-check-icon.js +13 -0
- package/dist/components/icon/lucide-user-check-icon.js.map +1 -0
- package/dist/components/icon/lucide-users-round-icon.cjs +39 -0
- package/dist/components/icon/lucide-users-round-icon.cjs.map +1 -0
- package/dist/components/icon/lucide-users-round-icon.d.cts +7 -0
- package/dist/components/icon/lucide-users-round-icon.d.ts +7 -0
- package/dist/components/icon/lucide-users-round-icon.js +14 -0
- package/dist/components/icon/lucide-users-round-icon.js.map +1 -0
- package/dist/components/icon/mage-dashboard-cross-icon.cjs +38 -0
- package/dist/components/icon/mage-dashboard-cross-icon.cjs.map +1 -0
- package/dist/components/icon/mage-dashboard-cross-icon.d.cts +7 -0
- package/dist/components/icon/mage-dashboard-cross-icon.d.ts +7 -0
- package/dist/components/icon/mage-dashboard-cross-icon.js +13 -0
- package/dist/components/icon/mage-dashboard-cross-icon.js.map +1 -0
- package/dist/components/icon/material-symbols-help-outline-rounded-icon.cjs +62 -0
- package/dist/components/icon/material-symbols-help-outline-rounded-icon.cjs.map +1 -0
- package/dist/components/icon/material-symbols-help-outline-rounded-icon.d.cts +7 -0
- package/dist/components/icon/material-symbols-help-outline-rounded-icon.d.ts +7 -0
- package/dist/components/icon/material-symbols-help-outline-rounded-icon.js +37 -0
- package/dist/components/icon/material-symbols-help-outline-rounded-icon.js.map +1 -0
- package/dist/components/icon/material-symbols-light-travel-icon.cjs +62 -0
- package/dist/components/icon/material-symbols-light-travel-icon.cjs.map +1 -0
- package/dist/components/icon/material-symbols-light-travel-icon.d.cts +7 -0
- package/dist/components/icon/material-symbols-light-travel-icon.d.ts +7 -0
- package/dist/components/icon/material-symbols-light-travel-icon.js +37 -0
- package/dist/components/icon/material-symbols-light-travel-icon.js.map +1 -0
- package/dist/components/icon/material-symbols-task-outline-icon.cjs +37 -0
- package/dist/components/icon/material-symbols-task-outline-icon.cjs.map +1 -0
- package/dist/components/icon/material-symbols-task-outline-icon.d.cts +7 -0
- package/dist/components/icon/material-symbols-task-outline-icon.d.ts +7 -0
- package/dist/components/icon/material-symbols-task-outline-icon.js +12 -0
- package/dist/components/icon/material-symbols-task-outline-icon.js.map +1 -0
- package/dist/components/icon/mingcute-announcement-line-icon.cjs +64 -0
- package/dist/components/icon/mingcute-announcement-line-icon.cjs.map +1 -0
- package/dist/components/icon/mingcute-announcement-line-icon.d.cts +7 -0
- package/dist/components/icon/mingcute-announcement-line-icon.d.ts +7 -0
- package/dist/components/icon/mingcute-announcement-line-icon.js +39 -0
- package/dist/components/icon/mingcute-announcement-line-icon.js.map +1 -0
- package/dist/components/icon/mynaui-lock-icon.cjs +37 -0
- package/dist/components/icon/mynaui-lock-icon.cjs.map +1 -0
- package/dist/components/icon/mynaui-lock-icon.d.cts +7 -0
- package/dist/components/icon/mynaui-lock-icon.d.ts +7 -0
- package/dist/components/icon/mynaui-lock-icon.js +12 -0
- package/dist/components/icon/mynaui-lock-icon.js.map +1 -0
- package/dist/components/icon/qlementine-icons-success-12-icon.cjs +71 -0
- package/dist/components/icon/qlementine-icons-success-12-icon.cjs.map +1 -0
- package/dist/components/icon/qlementine-icons-success-12-icon.d.cts +7 -0
- package/dist/components/icon/qlementine-icons-success-12-icon.d.ts +7 -0
- package/dist/components/icon/qlementine-icons-success-12-icon.js +46 -0
- package/dist/components/icon/qlementine-icons-success-12-icon.js.map +1 -0
- package/dist/components/icon/solar-calendar-linear-icon.cjs +39 -0
- package/dist/components/icon/solar-calendar-linear-icon.cjs.map +1 -0
- package/dist/components/icon/solar-calendar-linear-icon.d.cts +7 -0
- package/dist/components/icon/solar-calendar-linear-icon.d.ts +7 -0
- package/dist/components/icon/solar-calendar-linear-icon.js +14 -0
- package/dist/components/icon/solar-calendar-linear-icon.js.map +1 -0
- package/dist/components/icon/stash-integrations-icon.cjs +37 -0
- package/dist/components/icon/stash-integrations-icon.cjs.map +1 -0
- package/dist/components/icon/stash-integrations-icon.d.cts +7 -0
- package/dist/components/icon/stash-integrations-icon.d.ts +7 -0
- package/dist/components/icon/stash-integrations-icon.js +12 -0
- package/dist/components/icon/stash-integrations-icon.js.map +1 -0
- package/dist/components/icon/streamline-ultimate-performance-increase-icon.cjs +37 -0
- package/dist/components/icon/streamline-ultimate-performance-increase-icon.cjs.map +1 -0
- package/dist/components/icon/streamline-ultimate-performance-increase-icon.d.cts +7 -0
- package/dist/components/icon/streamline-ultimate-performance-increase-icon.d.ts +7 -0
- package/dist/components/icon/streamline-ultimate-performance-increase-icon.js +12 -0
- package/dist/components/icon/streamline-ultimate-performance-increase-icon.js.map +1 -0
- package/dist/components/icon/success-icon.cjs +38 -0
- package/dist/components/icon/success-icon.cjs.map +1 -0
- package/dist/components/icon/success-icon.d.cts +7 -0
- package/dist/components/icon/success-icon.d.ts +7 -0
- package/dist/components/icon/success-icon.js +13 -0
- package/dist/components/icon/success-icon.js.map +1 -0
- package/dist/components/icon/tabler-arrow-down-icon.cjs +37 -0
- package/dist/components/icon/tabler-arrow-down-icon.cjs.map +1 -0
- package/dist/components/icon/tabler-arrow-down-icon.d.cts +7 -0
- package/dist/components/icon/tabler-arrow-down-icon.d.ts +7 -0
- package/dist/components/icon/tabler-arrow-down-icon.js +12 -0
- package/dist/components/icon/tabler-arrow-down-icon.js.map +1 -0
- package/dist/components/icon/tabler-arrow-right-icon.cjs +37 -0
- package/dist/components/icon/tabler-arrow-right-icon.cjs.map +1 -0
- package/dist/components/icon/tabler-arrow-right-icon.d.cts +7 -0
- package/dist/components/icon/tabler-arrow-right-icon.d.ts +7 -0
- package/dist/components/icon/tabler-arrow-right-icon.js +12 -0
- package/dist/components/icon/tabler-arrow-right-icon.js.map +1 -0
- package/dist/components/icon/tabler-arrow-up-icon.cjs +37 -0
- package/dist/components/icon/tabler-arrow-up-icon.cjs.map +1 -0
- package/dist/components/icon/tabler-arrow-up-icon.d.cts +7 -0
- package/dist/components/icon/tabler-arrow-up-icon.d.ts +7 -0
- package/dist/components/icon/tabler-arrow-up-icon.js +12 -0
- package/dist/components/icon/tabler-arrow-up-icon.js.map +1 -0
- package/dist/components/icon/tabler-clock-icon.cjs +75 -0
- package/dist/components/icon/tabler-clock-icon.cjs.map +1 -0
- package/dist/components/icon/tabler-clock-icon.d.cts +7 -0
- package/dist/components/icon/tabler-clock-icon.d.ts +7 -0
- package/dist/components/icon/tabler-clock-icon.js +50 -0
- package/dist/components/icon/tabler-clock-icon.js.map +1 -0
- package/dist/components/icon/uil-arrow-growth-icon.cjs +37 -0
- package/dist/components/icon/uil-arrow-growth-icon.cjs.map +1 -0
- package/dist/components/icon/uil-arrow-growth-icon.d.cts +7 -0
- package/dist/components/icon/uil-arrow-growth-icon.d.ts +7 -0
- package/dist/components/icon/uil-arrow-growth-icon.js +12 -0
- package/dist/components/icon/uil-arrow-growth-icon.js.map +1 -0
- package/dist/components/icon/uil-credit-card-icon.cjs +37 -0
- package/dist/components/icon/uil-credit-card-icon.cjs.map +1 -0
- package/dist/components/icon/uil-credit-card-icon.d.cts +7 -0
- package/dist/components/icon/uil-credit-card-icon.d.ts +7 -0
- package/dist/components/icon/uil-credit-card-icon.js +12 -0
- package/dist/components/icon/uil-credit-card-icon.js.map +1 -0
- package/dist/components/icon/uil-graph-bar-icon.cjs +37 -0
- package/dist/components/icon/uil-graph-bar-icon.cjs.map +1 -0
- package/dist/components/icon/uil-graph-bar-icon.d.cts +7 -0
- package/dist/components/icon/uil-graph-bar-icon.d.ts +7 -0
- package/dist/components/icon/uil-graph-bar-icon.js +12 -0
- package/dist/components/icon/uil-graph-bar-icon.js.map +1 -0
- package/dist/components/input-group.cjs +107 -0
- package/dist/components/input-group.cjs.map +1 -0
- package/dist/components/input-group.d.cts +17 -0
- package/dist/components/input-group.d.ts +17 -0
- package/dist/components/input-group.js +71 -0
- package/dist/components/input-group.js.map +1 -0
- package/dist/components/input-otp.cjs +127 -0
- package/dist/components/input-otp.cjs.map +1 -0
- package/dist/components/input-otp.d.cts +40 -0
- package/dist/components/input-otp.d.ts +40 -0
- package/dist/components/input-otp.js +89 -0
- package/dist/components/input-otp.js.map +1 -0
- package/dist/components/input.cjs +231 -0
- package/dist/components/input.cjs.map +1 -0
- package/dist/components/input.d.cts +19 -0
- package/dist/components/input.d.ts +19 -0
- package/dist/components/input.js +195 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/item.cjs +150 -0
- package/dist/components/item.cjs.map +1 -0
- package/dist/components/item.d.cts +17 -0
- package/dist/components/item.d.ts +17 -0
- package/dist/components/item.js +109 -0
- package/dist/components/item.js.map +1 -0
- package/dist/components/label.cjs +124 -0
- package/dist/components/label.cjs.map +1 -0
- package/dist/components/label.d.cts +14 -0
- package/dist/components/label.d.ts +14 -0
- package/dist/components/label.js +89 -0
- package/dist/components/label.js.map +1 -0
- package/dist/components/menubar.cjs +219 -0
- package/dist/components/menubar.cjs.map +1 -0
- package/dist/components/menubar.d.cts +31 -0
- package/dist/components/menubar.d.ts +31 -0
- package/dist/components/menubar.js +169 -0
- package/dist/components/menubar.js.map +1 -0
- package/dist/components/navigation-menu.cjs +154 -0
- package/dist/components/navigation-menu.cjs.map +1 -0
- package/dist/components/navigation-menu.d.cts +15 -0
- package/dist/components/navigation-menu.d.ts +15 -0
- package/dist/components/navigation-menu.js +111 -0
- package/dist/components/navigation-menu.js.map +1 -0
- package/dist/components/pagination.cjs +253 -0
- package/dist/components/pagination.cjs.map +1 -0
- package/dist/components/pagination.d.cts +43 -0
- package/dist/components/pagination.d.ts +43 -0
- package/dist/components/pagination.js +211 -0
- package/dist/components/pagination.js.map +1 -0
- package/dist/components/popover.cjs +72 -0
- package/dist/components/popover.cjs.map +1 -0
- package/dist/components/popover.d.cts +8 -0
- package/dist/components/popover.d.ts +8 -0
- package/dist/components/popover.js +35 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.cjs +151 -0
- package/dist/components/progress.cjs.map +1 -0
- package/dist/components/progress.d.cts +17 -0
- package/dist/components/progress.d.ts +17 -0
- package/dist/components/progress.js +116 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/radio-group.cjs +81 -0
- package/dist/components/radio-group.cjs.map +1 -0
- package/dist/components/radio-group.d.cts +7 -0
- package/dist/components/radio-group.d.ts +7 -0
- package/dist/components/radio-group.js +45 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/resizable.cjs +85 -0
- package/dist/components/resizable.cjs.map +1 -0
- package/dist/components/resizable.d.cts +34 -0
- package/dist/components/resizable.d.ts +34 -0
- package/dist/components/resizable.js +48 -0
- package/dist/components/resizable.js.map +1 -0
- package/dist/components/scroll-area.cjs +85 -0
- package/dist/components/scroll-area.cjs.map +1 -0
- package/dist/components/scroll-area.d.cts +11 -0
- package/dist/components/scroll-area.d.ts +11 -0
- package/dist/components/scroll-area.js +49 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/select.cjs +172 -0
- package/dist/components/select.cjs.map +1 -0
- package/dist/components/select.d.cts +15 -0
- package/dist/components/select.d.ts +15 -0
- package/dist/components/select.js +128 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/separator.cjs +85 -0
- package/dist/components/separator.cjs.map +1 -0
- package/dist/components/separator.d.cts +9 -0
- package/dist/components/separator.d.ts +9 -0
- package/dist/components/separator.js +50 -0
- package/dist/components/separator.js.map +1 -0
- package/dist/components/sheet.cjs +162 -0
- package/dist/components/sheet.cjs.map +1 -0
- package/dist/components/sheet.d.cts +30 -0
- package/dist/components/sheet.d.ts +30 -0
- package/dist/components/sheet.js +118 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/sidebar.cjs +523 -0
- package/dist/components/sidebar.cjs.map +1 -0
- package/dist/components/sidebar.d.cts +45 -0
- package/dist/components/sidebar.d.ts +45 -0
- package/dist/components/sidebar.js +475 -0
- package/dist/components/sidebar.js.map +1 -0
- package/dist/components/skeleton.cjs +55 -0
- package/dist/components/skeleton.cjs.map +1 -0
- package/dist/components/skeleton.d.cts +9 -0
- package/dist/components/skeleton.d.ts +9 -0
- package/dist/components/skeleton.js +28 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.cjs +77 -0
- package/dist/components/slider.cjs.map +1 -0
- package/dist/components/slider.d.cts +6 -0
- package/dist/components/slider.d.ts +6 -0
- package/dist/components/slider.js +42 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/sonner.cjs +56 -0
- package/dist/components/sonner.cjs.map +1 -0
- package/dist/components/sonner.d.cts +8 -0
- package/dist/components/sonner.d.ts +8 -0
- package/dist/components/sonner.js +30 -0
- package/dist/components/sonner.js.map +1 -0
- package/dist/components/spinner.cjs +87 -0
- package/dist/components/spinner.cjs.map +1 -0
- package/dist/components/spinner.d.cts +12 -0
- package/dist/components/spinner.d.ts +12 -0
- package/dist/components/spinner.js +51 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/components/stepper.cjs +201 -0
- package/dist/components/stepper.cjs.map +1 -0
- package/dist/components/stepper.d.cts +20 -0
- package/dist/components/stepper.d.ts +20 -0
- package/dist/components/stepper.js +165 -0
- package/dist/components/stepper.js.map +1 -0
- package/dist/components/switch.cjs +99 -0
- package/dist/components/switch.cjs.map +1 -0
- package/dist/components/switch.d.cts +14 -0
- package/dist/components/switch.d.ts +14 -0
- package/dist/components/switch.js +63 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.cjs +97 -0
- package/dist/components/table.cjs.map +1 -0
- package/dist/components/table.d.cts +12 -0
- package/dist/components/table.d.ts +12 -0
- package/dist/components/table.js +55 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.cjs +95 -0
- package/dist/components/tabs.cjs.map +1 -0
- package/dist/components/tabs.d.cts +9 -0
- package/dist/components/tabs.d.ts +9 -0
- package/dist/components/tabs.js +57 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/textarea.cjs +84 -0
- package/dist/components/textarea.cjs.map +1 -0
- package/dist/components/textarea.d.cts +9 -0
- package/dist/components/textarea.d.ts +9 -0
- package/dist/components/textarea.js +49 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/theme-provider.cjs +39 -0
- package/dist/components/theme-provider.cjs.map +1 -0
- package/dist/components/theme-provider.d.cts +7 -0
- package/dist/components/theme-provider.d.ts +7 -0
- package/dist/components/theme-provider.js +14 -0
- package/dist/components/theme-provider.js.map +1 -0
- package/dist/components/toggle-group.cjs +122 -0
- package/dist/components/toggle-group.cjs.map +1 -0
- package/dist/components/toggle-group.d.cts +15 -0
- package/dist/components/toggle-group.d.ts +15 -0
- package/dist/components/toggle-group.js +86 -0
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.cjs +84 -0
- package/dist/components/toggle.cjs.map +1 -0
- package/dist/components/toggle.d.cts +14 -0
- package/dist/components/toggle.d.ts +14 -0
- package/dist/components/toggle.js +48 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/tooltip.cjs +74 -0
- package/dist/components/tooltip.cjs.map +1 -0
- package/dist/components/tooltip.d.cts +9 -0
- package/dist/components/tooltip.d.ts +9 -0
- package/dist/components/tooltip.js +36 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/components/typography.cjs +140 -0
- package/dist/components/typography.cjs.map +1 -0
- package/dist/components/typography.d.cts +24 -0
- package/dist/components/typography.d.ts +24 -0
- package/dist/components/typography.js +96 -0
- package/dist/components/typography.js.map +1 -0
- package/dist/index.cjs +5041 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +112 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.js +4734 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.cjs +35 -0
- package/dist/lib/utils.cjs.map +1 -0
- package/dist/lib/utils.d.cts +5 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +10 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/styles.css +336 -0
- package/package.json +128 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
shape?: "text" | "circle" | "rect";
|
|
6
|
+
}
|
|
7
|
+
declare function Skeleton({ className, shape, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { Skeleton, type SkeletonProps };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// src/lib/utils.ts
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
4
|
+
function cn(...inputs) {
|
|
5
|
+
return twMerge(clsx(inputs));
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// src/components/skeleton.tsx
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
function Skeleton({ className, shape = "rect", ...props }) {
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
className: cn(
|
|
15
|
+
"animate-pulse bg-muted",
|
|
16
|
+
shape === "circle" && "rounded-full",
|
|
17
|
+
shape === "text" && "h-4 w-full rounded-md",
|
|
18
|
+
shape === "rect" && "rounded-md",
|
|
19
|
+
className
|
|
20
|
+
),
|
|
21
|
+
...props
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
Skeleton
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/lib/utils.ts","../../src/components/skeleton.tsx"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import * as React from \"react\"\nimport { cn } from \"../lib/utils\"\n\nexport interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {\n shape?: \"text\" | \"circle\" | \"rect\"\n}\n\nfunction Skeleton({ className, shape = \"rect\", ...props }: SkeletonProps) {\n return (\n <div\n className={cn(\n \"animate-pulse bg-muted\",\n shape === \"circle\" && \"rounded-full\",\n shape === \"text\" && \"h-4 w-full rounded-md\",\n shape === \"rect\" && \"rounded-md\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"mappings":";AAAA,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ACII;AAFJ,SAAS,SAAS,EAAE,WAAW,QAAQ,QAAQ,GAAG,MAAM,GAAkB;AACxE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA,UAAU,YAAY;AAAA,QACtB,UAAU,UAAU;AAAA,QACpB,UAAU,UAAU;AAAA,QACpB;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/components/slider.tsx
|
|
31
|
+
var slider_exports = {};
|
|
32
|
+
__export(slider_exports, {
|
|
33
|
+
Slider: () => Slider
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(slider_exports);
|
|
36
|
+
var React = __toESM(require("react"), 1);
|
|
37
|
+
var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
|
|
38
|
+
|
|
39
|
+
// src/lib/utils.ts
|
|
40
|
+
var import_clsx = require("clsx");
|
|
41
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
42
|
+
function cn(...inputs) {
|
|
43
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// src/components/slider.tsx
|
|
47
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
48
|
+
var Slider = React.forwardRef(({ className, ...props }, ref) => {
|
|
49
|
+
const values = props.value ?? props.defaultValue ?? [0];
|
|
50
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51
|
+
SliderPrimitive.Root,
|
|
52
|
+
{
|
|
53
|
+
ref,
|
|
54
|
+
className: cn(
|
|
55
|
+
"relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50",
|
|
56
|
+
className
|
|
57
|
+
),
|
|
58
|
+
...props,
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-muted data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary data-[orientation=vertical]:w-full" }) }),
|
|
61
|
+
values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
62
|
+
SliderPrimitive.Thumb,
|
|
63
|
+
{
|
|
64
|
+
className: "block h-5 w-5 rounded-full border-2 border-primary bg-background shadow-sm transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none"
|
|
65
|
+
},
|
|
66
|
+
i
|
|
67
|
+
))
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
});
|
|
72
|
+
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
73
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
74
|
+
0 && (module.exports = {
|
|
75
|
+
Slider
|
|
76
|
+
});
|
|
77
|
+
//# sourceMappingURL=slider.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/slider.tsx","../../src/lib/utils.ts"],"sourcesContent":["import * as React from \"react\"\nimport * as SliderPrimitive from \"@radix-ui/react-slider\"\nimport { cn } from \"../lib/utils\"\n\nconst Slider = React.forwardRef<\n React.ElementRef<typeof SliderPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>\n>(({ className, ...props }, ref) => {\n const values = (props.value ?? props.defaultValue ?? [0]) as number[]\n return (\n <SliderPrimitive.Root\n ref={ref}\n className={cn(\n \"relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50\",\n className\n )}\n {...props}\n >\n <SliderPrimitive.Track className=\"relative h-2 w-full grow overflow-hidden rounded-full bg-muted data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2\">\n <SliderPrimitive.Range className=\"absolute h-full bg-primary data-[orientation=vertical]:w-full\" />\n </SliderPrimitive.Track>\n {values.map((_, i) => (\n <SliderPrimitive.Thumb\n key={i}\n className=\"block h-5 w-5 rounded-full border-2 border-primary bg-background shadow-sm transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none\"\n />\n ))}\n </SliderPrimitive.Root>\n )\n})\nSlider.displayName = SliderPrimitive.Root.displayName\n\nexport { Slider }\n","import { type ClassValue, clsx } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AACvB,sBAAiC;;;ACDjC,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;;;ADKI;AANJ,IAAM,SAAe,iBAGnB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ;AAClC,QAAM,SAAU,MAAM,SAAS,MAAM,gBAAgB,CAAC,CAAC;AACvD,SACE;AAAA,IAAiB;AAAA,IAAhB;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,oDAAiB,uBAAhB,EAAsB,WAAU,qIAC/B,sDAAiB,uBAAhB,EAAsB,WAAU,iEAAgE,GACnG;AAAA,QACC,OAAO,IAAI,CAAC,GAAG,MACd;AAAA,UAAiB;AAAA,UAAhB;AAAA,YAEC,WAAU;AAAA;AAAA,UADL;AAAA,QAEP,CACD;AAAA;AAAA;AAAA,EACH;AAEJ,CAAC;AACD,OAAO,cAA8B,qBAAK;","names":[]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
3
|
+
|
|
4
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
|
|
6
|
+
export { Slider };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
3
|
+
|
|
4
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
|
|
6
|
+
export { Slider };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// src/components/slider.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
|
+
|
|
5
|
+
// src/lib/utils.ts
|
|
6
|
+
import { clsx } from "clsx";
|
|
7
|
+
import { twMerge } from "tailwind-merge";
|
|
8
|
+
function cn(...inputs) {
|
|
9
|
+
return twMerge(clsx(inputs));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// src/components/slider.tsx
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
var Slider = React.forwardRef(({ className, ...props }, ref) => {
|
|
15
|
+
const values = props.value ?? props.defaultValue ?? [0];
|
|
16
|
+
return /* @__PURE__ */ jsxs(
|
|
17
|
+
SliderPrimitive.Root,
|
|
18
|
+
{
|
|
19
|
+
ref,
|
|
20
|
+
className: cn(
|
|
21
|
+
"relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50",
|
|
22
|
+
className
|
|
23
|
+
),
|
|
24
|
+
...props,
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ jsx(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-muted data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2", children: /* @__PURE__ */ jsx(SliderPrimitive.Range, { className: "absolute h-full bg-primary data-[orientation=vertical]:w-full" }) }),
|
|
27
|
+
values.map((_, i) => /* @__PURE__ */ jsx(
|
|
28
|
+
SliderPrimitive.Thumb,
|
|
29
|
+
{
|
|
30
|
+
className: "block h-5 w-5 rounded-full border-2 border-primary bg-background shadow-sm transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none"
|
|
31
|
+
},
|
|
32
|
+
i
|
|
33
|
+
))
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
});
|
|
38
|
+
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
39
|
+
export {
|
|
40
|
+
Slider
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/slider.tsx","../../src/lib/utils.ts"],"sourcesContent":["import * as React from \"react\"\nimport * as SliderPrimitive from \"@radix-ui/react-slider\"\nimport { cn } from \"../lib/utils\"\n\nconst Slider = React.forwardRef<\n React.ElementRef<typeof SliderPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>\n>(({ className, ...props }, ref) => {\n const values = (props.value ?? props.defaultValue ?? [0]) as number[]\n return (\n <SliderPrimitive.Root\n ref={ref}\n className={cn(\n \"relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50\",\n className\n )}\n {...props}\n >\n <SliderPrimitive.Track className=\"relative h-2 w-full grow overflow-hidden rounded-full bg-muted data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2\">\n <SliderPrimitive.Range className=\"absolute h-full bg-primary data-[orientation=vertical]:w-full\" />\n </SliderPrimitive.Track>\n {values.map((_, i) => (\n <SliderPrimitive.Thumb\n key={i}\n className=\"block h-5 w-5 rounded-full border-2 border-primary bg-background shadow-sm transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none\"\n />\n ))}\n </SliderPrimitive.Root>\n )\n})\nSlider.displayName = SliderPrimitive.Root.displayName\n\nexport { Slider }\n","import { type ClassValue, clsx } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,YAAY,qBAAqB;;;ACDjC,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADKI,SASI,KATJ;AANJ,IAAM,SAAe,iBAGnB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ;AAClC,QAAM,SAAU,MAAM,SAAS,MAAM,gBAAgB,CAAC,CAAC;AACvD,SACE;AAAA,IAAiB;AAAA,IAAhB;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,4BAAiB,uBAAhB,EAAsB,WAAU,qIAC/B,8BAAiB,uBAAhB,EAAsB,WAAU,iEAAgE,GACnG;AAAA,QACC,OAAO,IAAI,CAAC,GAAG,MACd;AAAA,UAAiB;AAAA,UAAhB;AAAA,YAEC,WAAU;AAAA;AAAA,UADL;AAAA,QAEP,CACD;AAAA;AAAA;AAAA,EACH;AAEJ,CAAC;AACD,OAAO,cAA8B,qBAAK;","names":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/sonner.tsx
|
|
21
|
+
var sonner_exports = {};
|
|
22
|
+
__export(sonner_exports, {
|
|
23
|
+
Toaster: () => Toaster,
|
|
24
|
+
toast: () => import_sonner.toast
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(sonner_exports);
|
|
27
|
+
var import_next_themes = require("next-themes");
|
|
28
|
+
var import_sonner = require("sonner");
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
+
var Toaster = ({ ...props }) => {
|
|
31
|
+
const { theme = "system" } = (0, import_next_themes.useTheme)();
|
|
32
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
33
|
+
import_sonner.Toaster,
|
|
34
|
+
{
|
|
35
|
+
theme,
|
|
36
|
+
className: "toaster group",
|
|
37
|
+
toastOptions: {
|
|
38
|
+
classNames: {
|
|
39
|
+
toast: "group toast group-[.toaster]:!bg-white group-[.toaster]:!rounded-[6px] group-[.toaster]:!shadow-lg group-[.toaster]:!border group-[.toaster]:!border-[rgba(0,0,0,0.08)] group-[.toaster]:!p-4 group-[.toaster]:!font-[Inter]",
|
|
40
|
+
title: "group-[.toast]:!text-sm group-[.toast]:!leading-[24px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-grey-600)]",
|
|
41
|
+
description: "group-[.toast]:!text-xs group-[.toast]:!leading-[18px] group-[.toast]:!text-[var(--hc-grey-600)] group-[.toast]:!font-normal",
|
|
42
|
+
actionButton: "group-[.toast]:!text-sm group-[.toast]:!leading-[18px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-primary-600)] group-[.toast]:!bg-transparent group-[.toast]:!p-0",
|
|
43
|
+
cancelButton: "group-[.toast]:!bg-transparent group-[.toast]:!text-foreground group-[.toast]:!text-sm group-[.toast]:!font-medium group-[.toast]:!p-0",
|
|
44
|
+
closeButton: "group-[.toast]:!text-[var(--hc-grey-300)]"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
...props
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
Toaster,
|
|
54
|
+
toast
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=sonner.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/sonner.tsx"],"sourcesContent":["import { useTheme } from \"next-themes\"\nimport { Toaster as Sonner, toast } from \"sonner\"\nimport { cn } from \"../lib/utils\"\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n const { theme = \"system\" } = useTheme()\n\n return (\n <Sonner\n theme={theme as ToasterProps[\"theme\"]}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:!bg-white group-[.toaster]:!rounded-[6px] group-[.toaster]:!shadow-lg group-[.toaster]:!border group-[.toaster]:!border-[rgba(0,0,0,0.08)] group-[.toaster]:!p-4 group-[.toaster]:!font-[Inter]\",\n title:\n \"group-[.toast]:!text-sm group-[.toast]:!leading-[24px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-grey-600)]\",\n description:\n \"group-[.toast]:!text-xs group-[.toast]:!leading-[18px] group-[.toast]:!text-[var(--hc-grey-600)] group-[.toast]:!font-normal\",\n actionButton:\n \"group-[.toast]:!text-sm group-[.toast]:!leading-[18px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-primary-600)] group-[.toast]:!bg-transparent group-[.toast]:!p-0\",\n cancelButton:\n \"group-[.toast]:!bg-transparent group-[.toast]:!text-foreground group-[.toast]:!text-sm group-[.toast]:!font-medium group-[.toast]:!p-0\",\n closeButton:\n \"group-[.toast]:!text-[var(--hc-grey-300)]\",\n },\n }}\n {...props}\n />\n )\n}\n\nexport { Toaster, toast }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAyB;AACzB,oBAAyC;AASrC;AAJJ,IAAM,UAAU,CAAC,EAAE,GAAG,MAAM,MAAoB;AAC9C,QAAM,EAAE,QAAQ,SAAS,QAAI,6BAAS;AAEtC,SACE;AAAA,IAAC,cAAAA;AAAA,IAAA;AAAA,MACC;AAAA,MACA,WAAU;AAAA,MACV,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,OACE;AAAA,UACF,aACE;AAAA,UACF,cACE;AAAA,UACF,cACE;AAAA,UACF,aACE;AAAA,QACJ;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;","names":["Sonner"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Toaster as Toaster$1 } from 'sonner';
|
|
3
|
+
export { toast } from 'sonner';
|
|
4
|
+
|
|
5
|
+
type ToasterProps = React.ComponentProps<typeof Toaster$1>;
|
|
6
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { Toaster };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Toaster as Toaster$1 } from 'sonner';
|
|
3
|
+
export { toast } from 'sonner';
|
|
4
|
+
|
|
5
|
+
type ToasterProps = React.ComponentProps<typeof Toaster$1>;
|
|
6
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { Toaster };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/components/sonner.tsx
|
|
2
|
+
import { useTheme } from "next-themes";
|
|
3
|
+
import { Toaster as Sonner, toast } from "sonner";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var Toaster = ({ ...props }) => {
|
|
6
|
+
const { theme = "system" } = useTheme();
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
Sonner,
|
|
9
|
+
{
|
|
10
|
+
theme,
|
|
11
|
+
className: "toaster group",
|
|
12
|
+
toastOptions: {
|
|
13
|
+
classNames: {
|
|
14
|
+
toast: "group toast group-[.toaster]:!bg-white group-[.toaster]:!rounded-[6px] group-[.toaster]:!shadow-lg group-[.toaster]:!border group-[.toaster]:!border-[rgba(0,0,0,0.08)] group-[.toaster]:!p-4 group-[.toaster]:!font-[Inter]",
|
|
15
|
+
title: "group-[.toast]:!text-sm group-[.toast]:!leading-[24px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-grey-600)]",
|
|
16
|
+
description: "group-[.toast]:!text-xs group-[.toast]:!leading-[18px] group-[.toast]:!text-[var(--hc-grey-600)] group-[.toast]:!font-normal",
|
|
17
|
+
actionButton: "group-[.toast]:!text-sm group-[.toast]:!leading-[18px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-primary-600)] group-[.toast]:!bg-transparent group-[.toast]:!p-0",
|
|
18
|
+
cancelButton: "group-[.toast]:!bg-transparent group-[.toast]:!text-foreground group-[.toast]:!text-sm group-[.toast]:!font-medium group-[.toast]:!p-0",
|
|
19
|
+
closeButton: "group-[.toast]:!text-[var(--hc-grey-300)]"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
...props
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
Toaster,
|
|
28
|
+
toast
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=sonner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/sonner.tsx"],"sourcesContent":["import { useTheme } from \"next-themes\"\nimport { Toaster as Sonner, toast } from \"sonner\"\nimport { cn } from \"../lib/utils\"\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n const { theme = \"system\" } = useTheme()\n\n return (\n <Sonner\n theme={theme as ToasterProps[\"theme\"]}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:!bg-white group-[.toaster]:!rounded-[6px] group-[.toaster]:!shadow-lg group-[.toaster]:!border group-[.toaster]:!border-[rgba(0,0,0,0.08)] group-[.toaster]:!p-4 group-[.toaster]:!font-[Inter]\",\n title:\n \"group-[.toast]:!text-sm group-[.toast]:!leading-[24px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-grey-600)]\",\n description:\n \"group-[.toast]:!text-xs group-[.toast]:!leading-[18px] group-[.toast]:!text-[var(--hc-grey-600)] group-[.toast]:!font-normal\",\n actionButton:\n \"group-[.toast]:!text-sm group-[.toast]:!leading-[18px] group-[.toast]:!font-medium group-[.toast]:!text-[var(--hc-primary-600)] group-[.toast]:!bg-transparent group-[.toast]:!p-0\",\n cancelButton:\n \"group-[.toast]:!bg-transparent group-[.toast]:!text-foreground group-[.toast]:!text-sm group-[.toast]:!font-medium group-[.toast]:!p-0\",\n closeButton:\n \"group-[.toast]:!text-[var(--hc-grey-300)]\",\n },\n }}\n {...props}\n />\n )\n}\n\nexport { Toaster, toast }\n"],"mappings":";AAAA,SAAS,gBAAgB;AACzB,SAAS,WAAW,QAAQ,aAAa;AASrC;AAJJ,IAAM,UAAU,CAAC,EAAE,GAAG,MAAM,MAAoB;AAC9C,QAAM,EAAE,QAAQ,SAAS,IAAI,SAAS;AAEtC,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAU;AAAA,MACV,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,OACE;AAAA,UACF,aACE;AAAA,UACF,cACE;AAAA,UACF,cACE;AAAA,UACF,aACE;AAAA,QACJ;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/components/spinner.tsx
|
|
31
|
+
var spinner_exports = {};
|
|
32
|
+
__export(spinner_exports, {
|
|
33
|
+
Spinner: () => Spinner,
|
|
34
|
+
spinnerVariants: () => spinnerVariants
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(spinner_exports);
|
|
37
|
+
var React = __toESM(require("react"), 1);
|
|
38
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
39
|
+
|
|
40
|
+
// src/lib/utils.ts
|
|
41
|
+
var import_clsx = require("clsx");
|
|
42
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
43
|
+
function cn(...inputs) {
|
|
44
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// src/components/spinner.tsx
|
|
48
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
49
|
+
var spinnerVariants = (0, import_class_variance_authority.cva)("animate-spin", {
|
|
50
|
+
variants: {
|
|
51
|
+
size: {
|
|
52
|
+
sm: "h-4 w-4",
|
|
53
|
+
md: "h-6 w-6",
|
|
54
|
+
lg: "h-8 w-8"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
defaultVariants: {
|
|
58
|
+
size: "md"
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
var Spinner = React.forwardRef(
|
|
62
|
+
({ className, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
63
|
+
"svg",
|
|
64
|
+
{
|
|
65
|
+
ref,
|
|
66
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
67
|
+
viewBox: "0 0 24 24",
|
|
68
|
+
fill: "none",
|
|
69
|
+
stroke: "currentColor",
|
|
70
|
+
strokeWidth: "2",
|
|
71
|
+
strokeLinecap: "round",
|
|
72
|
+
strokeLinejoin: "round",
|
|
73
|
+
role: "status",
|
|
74
|
+
"aria-label": "Loading",
|
|
75
|
+
className: cn(spinnerVariants({ size }), className),
|
|
76
|
+
...props,
|
|
77
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
);
|
|
81
|
+
Spinner.displayName = "Spinner";
|
|
82
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
83
|
+
0 && (module.exports = {
|
|
84
|
+
Spinner,
|
|
85
|
+
spinnerVariants
|
|
86
|
+
});
|
|
87
|
+
//# sourceMappingURL=spinner.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/spinner.tsx","../../src/lib/utils.ts"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { cn } from \"../lib/utils\"\n\nconst spinnerVariants = cva(\"animate-spin\", {\n variants: {\n size: {\n sm: \"h-4 w-4\",\n md: \"h-6 w-6\",\n lg: \"h-8 w-8\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n})\n\nexport interface SpinnerProps\n extends React.SVGAttributes<SVGSVGElement>,\n VariantProps<typeof spinnerVariants> {}\n\nconst Spinner = React.forwardRef<SVGSVGElement, SpinnerProps>(\n ({ className, size, ...props }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n role=\"status\"\n aria-label=\"Loading\"\n className={cn(spinnerVariants({ size }), className)}\n {...props}\n >\n <path d=\"M21 12a9 9 0 1 1-6.219-8.56\" />\n </svg>\n )\n)\nSpinner.displayName = \"Spinner\"\n\nexport { Spinner, spinnerVariants }\n","import { type ClassValue, clsx } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AACvB,sCAAuC;;;ACDvC,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;;;ADgCM;AAjCN,IAAM,sBAAkB,qCAAI,gBAAgB;AAAA,EAC1C,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAMD,IAAM,UAAgB;AAAA,EACpB,CAAC,EAAE,WAAW,MAAM,GAAG,MAAM,GAAG,QAC9B;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,OAAM;AAAA,MACN,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,MAAK;AAAA,MACL,cAAW;AAAA,MACX,WAAW,GAAG,gBAAgB,EAAE,KAAK,CAAC,GAAG,SAAS;AAAA,MACjD,GAAG;AAAA,MAEJ,sDAAC,UAAK,GAAE,+BAA8B;AAAA;AAAA,EACxC;AAEJ;AACA,QAAQ,cAAc;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
|
|
5
|
+
declare const spinnerVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface SpinnerProps extends React.SVGAttributes<SVGSVGElement>, VariantProps<typeof spinnerVariants> {
|
|
9
|
+
}
|
|
10
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<SVGSVGElement>>;
|
|
11
|
+
|
|
12
|
+
export { Spinner, type SpinnerProps, spinnerVariants };
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
|
|
5
|
+
declare const spinnerVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface SpinnerProps extends React.SVGAttributes<SVGSVGElement>, VariantProps<typeof spinnerVariants> {
|
|
9
|
+
}
|
|
10
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<SVGSVGElement>>;
|
|
11
|
+
|
|
12
|
+
export { Spinner, type SpinnerProps, spinnerVariants };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// src/components/spinner.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
|
|
5
|
+
// src/lib/utils.ts
|
|
6
|
+
import { clsx } from "clsx";
|
|
7
|
+
import { twMerge } from "tailwind-merge";
|
|
8
|
+
function cn(...inputs) {
|
|
9
|
+
return twMerge(clsx(inputs));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// src/components/spinner.tsx
|
|
13
|
+
import { jsx } from "react/jsx-runtime";
|
|
14
|
+
var spinnerVariants = cva("animate-spin", {
|
|
15
|
+
variants: {
|
|
16
|
+
size: {
|
|
17
|
+
sm: "h-4 w-4",
|
|
18
|
+
md: "h-6 w-6",
|
|
19
|
+
lg: "h-8 w-8"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
size: "md"
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
var Spinner = React.forwardRef(
|
|
27
|
+
({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
28
|
+
"svg",
|
|
29
|
+
{
|
|
30
|
+
ref,
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: "none",
|
|
34
|
+
stroke: "currentColor",
|
|
35
|
+
strokeWidth: "2",
|
|
36
|
+
strokeLinecap: "round",
|
|
37
|
+
strokeLinejoin: "round",
|
|
38
|
+
role: "status",
|
|
39
|
+
"aria-label": "Loading",
|
|
40
|
+
className: cn(spinnerVariants({ size }), className),
|
|
41
|
+
...props,
|
|
42
|
+
children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
);
|
|
46
|
+
Spinner.displayName = "Spinner";
|
|
47
|
+
export {
|
|
48
|
+
Spinner,
|
|
49
|
+
spinnerVariants
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/spinner.tsx","../../src/lib/utils.ts"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { cn } from \"../lib/utils\"\n\nconst spinnerVariants = cva(\"animate-spin\", {\n variants: {\n size: {\n sm: \"h-4 w-4\",\n md: \"h-6 w-6\",\n lg: \"h-8 w-8\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n})\n\nexport interface SpinnerProps\n extends React.SVGAttributes<SVGSVGElement>,\n VariantProps<typeof spinnerVariants> {}\n\nconst Spinner = React.forwardRef<SVGSVGElement, SpinnerProps>(\n ({ className, size, ...props }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n role=\"status\"\n aria-label=\"Loading\"\n className={cn(spinnerVariants({ size }), className)}\n {...props}\n >\n <path d=\"M21 12a9 9 0 1 1-6.219-8.56\" />\n </svg>\n )\n)\nSpinner.displayName = \"Spinner\"\n\nexport { Spinner, spinnerVariants }\n","import { type ClassValue, clsx } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,WAA8B;;;ACDvC,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADgCM;AAjCN,IAAM,kBAAkB,IAAI,gBAAgB;AAAA,EAC1C,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAMD,IAAM,UAAgB;AAAA,EACpB,CAAC,EAAE,WAAW,MAAM,GAAG,MAAM,GAAG,QAC9B;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,OAAM;AAAA,MACN,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,MAAK;AAAA,MACL,cAAW;AAAA,MACX,WAAW,GAAG,gBAAgB,EAAE,KAAK,CAAC,GAAG,SAAS;AAAA,MACjD,GAAG;AAAA,MAEJ,8BAAC,UAAK,GAAE,+BAA8B;AAAA;AAAA,EACxC;AAEJ;AACA,QAAQ,cAAc;","names":[]}
|