@ciridae/ui 0.3.5 → 0.3.6
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 +1 -1
- package/dist/ciridae.css +491 -0
- package/dist/ciridae.css.d.ts +2 -0
- package/dist/components/blocks/admin-users-table.d.ts +1 -1
- package/dist/components/blocks/admin-users-table.js +7 -7
- package/dist/components/blocks/comment-composer.d.ts +1 -1
- package/dist/components/blocks/comment-composer.js +3 -3
- package/dist/components/blocks/comment-item.d.ts +1 -1
- package/dist/components/blocks/comment-item.js +4 -4
- package/dist/components/blocks/comment-thread.d.ts +1 -1
- package/dist/components/blocks/comment-thread.js +3 -3
- package/dist/components/blocks/feedback-center-comments.d.ts +3 -3
- package/dist/components/blocks/feedback-center-comments.js +1 -1
- package/dist/components/blocks/feedback-center-sheet-parts.d.ts +4 -4
- package/dist/components/blocks/feedback-center-sheet-parts.js +7 -7
- package/dist/components/blocks/feedback-center-sheet.d.ts +5 -5
- package/dist/components/blocks/feedback-center-sheet.js +3 -3
- package/dist/components/blocks/feedback-composer-parts.d.ts +4 -4
- package/dist/components/blocks/feedback-composer-parts.js +4 -4
- package/dist/components/blocks/feedback-composer.d.ts +1 -1
- package/dist/components/blocks/feedback-composer.js +5 -5
- package/dist/components/blocks/feedback-date-format.d.ts +1 -1
- package/dist/components/blocks/feedback-date-format.js +1 -1
- package/dist/components/blocks/feedback-detail-sheet.d.ts +1 -1
- package/dist/components/blocks/feedback-detail-sheet.js +10 -10
- package/dist/components/blocks/feedback-metrics.d.ts +1 -1
- package/dist/components/blocks/feedback-metrics.js +1 -1
- package/dist/components/blocks/feedback-sheet.d.ts +1 -1
- package/dist/components/blocks/feedback-sheet.js +3 -3
- package/dist/components/blocks/feedback-status-badge.d.ts +1 -1
- package/dist/components/blocks/feedback-status-badge.js +1 -1
- package/dist/components/blocks/feedback-table-row.d.ts +2 -2
- package/dist/components/blocks/feedback-table-row.js +6 -6
- package/dist/components/blocks/feedback-table-sort.d.ts +1 -1
- package/dist/components/blocks/feedback-table.d.ts +1 -1
- package/dist/components/blocks/feedback-table.js +3 -3
- package/dist/components/blocks/feedback-type-badge.d.ts +1 -1
- package/dist/components/blocks/feedback-type-badge.js +1 -1
- package/dist/components/blocks/feedback-user-detail.d.ts +1 -1
- package/dist/components/blocks/feedback-user-detail.js +8 -8
- package/dist/components/blocks/feedback-user-list.d.ts +2 -2
- package/dist/components/blocks/feedback-user-list.js +7 -7
- package/dist/components/blocks/invite-user-sheet.js +5 -5
- package/dist/components/blocks/kanban-board-parts.d.ts +2 -2
- package/dist/components/blocks/kanban-board-parts.js +3 -3
- package/dist/components/blocks/kanban-board-utils.d.ts +1 -1
- package/dist/components/blocks/kanban-board.d.ts +1 -1
- package/dist/components/blocks/kanban-board.js +2 -2
- package/dist/components/blocks/kanban-card.d.ts +1 -1
- package/dist/components/blocks/kanban-card.js +1 -1
- package/dist/components/blocks/kanban-column.d.ts +1 -1
- package/dist/components/blocks/kanban-column.js +3 -3
- package/dist/components/blocks/kanban-detail-sheet.d.ts +1 -1
- package/dist/components/blocks/kanban-detail-sheet.js +5 -5
- package/dist/components/pages/admin-users-page.d.ts +2 -2
- package/dist/components/pages/admin-users-page.js +5 -5
- package/dist/components/pages/feedback-stakeholder-page-parts.d.ts +3 -3
- package/dist/components/pages/feedback-stakeholder-page-parts.js +4 -4
- package/dist/components/pages/feedback-stakeholder-page.d.ts +1 -1
- package/dist/components/pages/feedback-stakeholder-page.js +5 -5
- package/dist/components/pages/kanban-page.d.ts +1 -1
- package/dist/components/pages/kanban-page.js +5 -5
- package/dist/components/ui/accordion.js +1 -1
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.js +2 -2
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/app-shell-page.d.ts +1 -1
- package/dist/components/ui/app-shell-page.js +3 -3
- package/dist/components/ui/app-shell.d.ts +2 -2
- package/dist/components/ui/app-shell.js +3 -3
- package/dist/components/ui/aspect-ratio.d.ts +1 -1
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/badge-variants.d.ts +1 -1
- package/dist/components/ui/badge-variants.js +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.js +2 -2
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button-group-variants.d.ts +1 -1
- package/dist/components/ui/button-group.d.ts +5 -5
- package/dist/components/ui/button-group.js +3 -3
- package/dist/components/ui/button-variants.d.ts +1 -1
- package/dist/components/ui/button-variants.js +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.js +3 -3
- package/dist/components/ui/calendar.d.ts +1 -1
- package/dist/components/ui/calendar.js +3 -3
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/carousel.d.ts +1 -1
- package/dist/components/ui/carousel.js +2 -2
- package/dist/components/ui/chart-panel.js +1 -1
- package/dist/components/ui/chart-tooltip.js +2 -2
- package/dist/components/ui/chart.d.ts +2 -2
- package/dist/components/ui/chart.js +3 -3
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/ciridae-ui-provider.d.ts +2 -2
- package/dist/components/ui/ciridae-ui-provider.js +3 -3
- package/dist/components/ui/collapsible.d.ts +3 -3
- package/dist/components/ui/combobox.js +3 -3
- package/dist/components/ui/command.d.ts +1 -1
- package/dist/components/ui/command.js +2 -2
- package/dist/components/ui/context-menu.js +1 -1
- package/dist/components/ui/data-table-controls.js +3 -3
- package/dist/components/ui/data-table-grid.js +3 -3
- package/dist/components/ui/data-table-pagination.d.ts +1 -1
- package/dist/components/ui/data-table-pagination.js +2 -2
- package/dist/components/ui/data-table-tanstack.js +2 -2
- package/dist/components/ui/data-table.d.ts +2 -2
- package/dist/components/ui/data-table.js +4 -4
- package/dist/components/ui/dialog.js +2 -2
- package/dist/components/ui/drawer.js +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/empty.d.ts +7 -7
- package/dist/components/ui/empty.js +1 -1
- package/dist/components/ui/expandable-data-table.d.ts +1 -1
- package/dist/components/ui/expandable-data-table.js +4 -4
- package/dist/components/ui/field.d.ts +12 -12
- package/dist/components/ui/field.js +3 -3
- package/dist/components/ui/file-upload-field-parts.js +3 -3
- package/dist/components/ui/file-upload-field.js +1 -1
- package/dist/components/ui/form-context.d.ts +1 -1
- package/dist/components/ui/form.d.ts +1 -1
- package/dist/components/ui/form.js +3 -3
- package/dist/components/ui/hover-card.js +1 -1
- package/dist/components/ui/input-group.d.ts +3 -3
- package/dist/components/ui/input-group.js +4 -4
- package/dist/components/ui/input-otp.js +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/item.d.ts +3 -3
- package/dist/components/ui/item.js +2 -2
- package/dist/components/ui/kbd.d.ts +2 -2
- package/dist/components/ui/kbd.js +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/loading-state.d.ts +1 -1
- package/dist/components/ui/loading-state.js +4 -4
- package/dist/components/ui/menubar.js +1 -1
- package/dist/components/ui/metrics-strip.js +1 -1
- package/dist/components/ui/native-select.js +1 -1
- package/dist/components/ui/navigation-menu-variants.d.ts +1 -1
- package/dist/components/ui/navigation-menu.js +2 -2
- package/dist/components/ui/page-header.d.ts +1 -1
- package/dist/components/ui/page-header.js +2 -2
- package/dist/components/ui/pagination.d.ts +1 -1
- package/dist/components/ui/pagination.js +4 -4
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/property-list.js +1 -1
- package/dist/components/ui/radio-group.js +1 -1
- package/dist/components/ui/registry-docs-api.d.ts +1 -1
- package/dist/components/ui/registry-docs-api.js +1 -1
- package/dist/components/ui/registry-docs-code.js +2 -2
- package/dist/components/ui/registry-docs-showcase.js +2 -2
- package/dist/components/ui/registry-docs.d.ts +1 -1
- package/dist/components/ui/registry-docs.js +3 -3
- package/dist/components/ui/resizable.d.ts +3 -3
- package/dist/components/ui/resizable.js +1 -1
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/sidebar/group.js +1 -1
- package/dist/components/ui/sidebar/layout.d.ts +2 -2
- package/dist/components/ui/sidebar/layout.js +5 -5
- package/dist/components/ui/sidebar/menu.d.ts +2 -2
- package/dist/components/ui/sidebar/menu.js +4 -4
- package/dist/components/ui/sidebar/provider.js +4 -4
- package/dist/components/ui/sidebar/rail.js +2 -2
- package/dist/components/ui/sidebar/trigger.d.ts +1 -1
- package/dist/components/ui/sidebar/trigger.js +3 -3
- package/dist/components/ui/sidebar-account-menu-theme.d.ts +1 -1
- package/dist/components/ui/sidebar-account-menu-theme.js +2 -2
- package/dist/components/ui/sidebar-account-menu.d.ts +2 -2
- package/dist/components/ui/sidebar-account-menu.js +7 -7
- package/dist/components/ui/sidebar.d.ts +7 -7
- package/dist/components/ui/sidebar.js +7 -7
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton.js +2 -2
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/sonner.d.ts +1 -1
- package/dist/components/ui/sonner.js +1 -1
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/components/ui/spinner.js +2 -2
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/table.js +1 -1
- package/dist/components/ui/tabs-variants.d.ts +1 -1
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/components/ui/tabs.js +2 -2
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/toggle-group.d.ts +1 -1
- package/dist/components/ui/toggle-group.js +2 -2
- package/dist/components/ui/toggle-variants.d.ts +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/workflow-timeline.js +1 -1
- package/dist/entries/accordion.d.ts +1 -0
- package/dist/entries/accordion.js +1 -0
- package/dist/entries/admin-users-page.d.ts +1 -0
- package/dist/entries/admin-users-page.js +1 -0
- package/dist/entries/admin-users-table.d.ts +1 -0
- package/dist/entries/admin-users-table.js +1 -0
- package/dist/entries/alert-dialog.d.ts +1 -0
- package/dist/entries/alert-dialog.js +1 -0
- package/dist/entries/alert.d.ts +1 -0
- package/dist/entries/alert.js +1 -0
- package/dist/entries/app-shell-page.d.ts +1 -0
- package/dist/entries/app-shell-page.js +1 -0
- package/dist/entries/app-shell.d.ts +1 -0
- package/dist/entries/app-shell.js +1 -0
- package/dist/entries/aspect-ratio.d.ts +1 -0
- package/dist/entries/aspect-ratio.js +1 -0
- package/dist/entries/avatar.d.ts +1 -0
- package/dist/entries/avatar.js +1 -0
- package/dist/entries/badge-variants.d.ts +1 -0
- package/dist/entries/badge-variants.js +1 -0
- package/dist/entries/badge.d.ts +1 -0
- package/dist/entries/badge.js +1 -0
- package/dist/entries/breadcrumb.d.ts +1 -0
- package/dist/entries/breadcrumb.js +1 -0
- package/dist/entries/button-group-variants.d.ts +1 -0
- package/dist/entries/button-group-variants.js +1 -0
- package/dist/entries/button-group.d.ts +1 -0
- package/dist/entries/button-group.js +1 -0
- package/dist/entries/button-variants.d.ts +1 -0
- package/dist/entries/button-variants.js +1 -0
- package/dist/entries/button.d.ts +1 -0
- package/dist/entries/button.js +1 -0
- package/dist/entries/calendar.d.ts +1 -0
- package/dist/entries/calendar.js +1 -0
- package/dist/entries/card.d.ts +1 -0
- package/dist/entries/card.js +1 -0
- package/dist/entries/carousel.d.ts +1 -0
- package/dist/entries/carousel.js +1 -0
- package/dist/entries/chart-context.d.ts +1 -0
- package/dist/entries/chart-context.js +1 -0
- package/dist/entries/chart-panel.d.ts +1 -0
- package/dist/entries/chart-panel.js +1 -0
- package/dist/entries/chart-tooltip.d.ts +1 -0
- package/dist/entries/chart-tooltip.js +1 -0
- package/dist/entries/chart.d.ts +1 -0
- package/dist/entries/chart.js +1 -0
- package/dist/entries/checkbox.d.ts +1 -0
- package/dist/entries/checkbox.js +1 -0
- package/dist/entries/ciridae-brand-assets.d.ts +1 -0
- package/dist/entries/ciridae-brand-assets.js +1 -0
- package/dist/entries/ciridae-ui-provider.d.ts +1 -0
- package/dist/entries/ciridae-ui-provider.js +1 -0
- package/dist/entries/collapsible.d.ts +1 -0
- package/dist/entries/collapsible.js +1 -0
- package/dist/entries/color-theme-context.d.ts +1 -0
- package/dist/entries/color-theme-context.js +1 -0
- package/dist/entries/color-theme.d.ts +1 -0
- package/dist/entries/color-theme.js +1 -0
- package/dist/entries/combobox-anchor.d.ts +1 -0
- package/dist/entries/combobox-anchor.js +1 -0
- package/dist/entries/combobox.d.ts +1 -0
- package/dist/entries/combobox.js +1 -0
- package/dist/entries/command.d.ts +1 -0
- package/dist/entries/command.js +1 -0
- package/dist/entries/comment-composer.d.ts +1 -0
- package/dist/entries/comment-composer.js +1 -0
- package/dist/entries/comment-item.d.ts +1 -0
- package/dist/entries/comment-item.js +1 -0
- package/dist/entries/comment-thread.d.ts +1 -0
- package/dist/entries/comment-thread.js +1 -0
- package/dist/entries/comment-types.d.ts +1 -0
- package/dist/entries/comment-types.js +1 -0
- package/dist/entries/context-menu.d.ts +1 -0
- package/dist/entries/context-menu.js +1 -0
- package/dist/entries/data-table-controls.d.ts +1 -0
- package/dist/entries/data-table-controls.js +1 -0
- package/dist/entries/data-table-grid.d.ts +1 -0
- package/dist/entries/data-table-grid.js +1 -0
- package/dist/entries/data-table-pagination.d.ts +1 -0
- package/dist/entries/data-table-pagination.js +1 -0
- package/dist/entries/data-table-tanstack.d.ts +1 -0
- package/dist/entries/data-table-tanstack.js +1 -0
- package/dist/entries/data-table.d.ts +1 -0
- package/dist/entries/data-table.js +1 -0
- package/dist/entries/dialog.d.ts +1 -0
- package/dist/entries/dialog.js +1 -0
- package/dist/entries/direction-context.d.ts +1 -0
- package/dist/entries/direction-context.js +1 -0
- package/dist/entries/direction.d.ts +1 -0
- package/dist/entries/direction.js +1 -0
- package/dist/entries/drawer.d.ts +1 -0
- package/dist/entries/drawer.js +1 -0
- package/dist/entries/dropdown-menu.d.ts +1 -0
- package/dist/entries/dropdown-menu.js +1 -0
- package/dist/entries/empty.d.ts +1 -0
- package/dist/entries/empty.js +1 -0
- package/dist/entries/expandable-data-table.d.ts +1 -0
- package/dist/entries/expandable-data-table.js +1 -0
- package/dist/entries/feedback-center-comments.d.ts +1 -0
- package/dist/entries/feedback-center-comments.js +1 -0
- package/dist/entries/feedback-center-sheet-parts.d.ts +1 -0
- package/dist/entries/feedback-center-sheet-parts.js +1 -0
- package/dist/entries/feedback-center-sheet.d.ts +1 -0
- package/dist/entries/feedback-center-sheet.js +1 -0
- package/dist/entries/feedback-composer-parts.d.ts +1 -0
- package/dist/entries/feedback-composer-parts.js +1 -0
- package/dist/entries/feedback-composer-types.d.ts +1 -0
- package/dist/entries/feedback-composer-types.js +1 -0
- package/dist/entries/feedback-composer.d.ts +1 -0
- package/dist/entries/feedback-composer.js +1 -0
- package/dist/entries/feedback-date-format.d.ts +1 -0
- package/dist/entries/feedback-date-format.js +1 -0
- package/dist/entries/feedback-detail-sheet.d.ts +1 -0
- package/dist/entries/feedback-detail-sheet.js +1 -0
- package/dist/entries/feedback-metrics.d.ts +1 -0
- package/dist/entries/feedback-metrics.js +1 -0
- package/dist/entries/feedback-sheet.d.ts +1 -0
- package/dist/entries/feedback-sheet.js +1 -0
- package/dist/entries/feedback-stakeholder-page-parts.d.ts +1 -0
- package/dist/entries/feedback-stakeholder-page-parts.js +1 -0
- package/dist/entries/feedback-stakeholder-page.d.ts +1 -0
- package/dist/entries/feedback-stakeholder-page.js +1 -0
- package/dist/entries/feedback-status-badge.d.ts +1 -0
- package/dist/entries/feedback-status-badge.js +1 -0
- package/dist/entries/feedback-table-row.d.ts +1 -0
- package/dist/entries/feedback-table-row.js +1 -0
- package/dist/entries/feedback-table-sort.d.ts +1 -0
- package/dist/entries/feedback-table-sort.js +1 -0
- package/dist/entries/feedback-table.d.ts +1 -0
- package/dist/entries/feedback-table.js +1 -0
- package/dist/entries/feedback-tracking-types.d.ts +1 -0
- package/dist/entries/feedback-tracking-types.js +1 -0
- package/dist/entries/feedback-type-badge.d.ts +1 -0
- package/dist/entries/feedback-type-badge.js +1 -0
- package/dist/entries/feedback-user-detail.d.ts +1 -0
- package/dist/entries/feedback-user-detail.js +1 -0
- package/dist/entries/feedback-user-list.d.ts +1 -0
- package/dist/entries/feedback-user-list.js +1 -0
- package/dist/entries/field.d.ts +1 -0
- package/dist/entries/field.js +1 -0
- package/dist/entries/file-upload-field-parts.d.ts +1 -0
- package/dist/entries/file-upload-field-parts.js +1 -0
- package/dist/entries/file-upload-field.d.ts +1 -0
- package/dist/entries/file-upload-field.js +1 -0
- package/dist/entries/form-context.d.ts +1 -0
- package/dist/entries/form-context.js +1 -0
- package/dist/entries/form.d.ts +1 -0
- package/dist/entries/form.js +1 -0
- package/dist/entries/hover-card.d.ts +1 -0
- package/dist/entries/hover-card.js +1 -0
- package/dist/entries/input-group.d.ts +1 -0
- package/dist/entries/input-group.js +1 -0
- package/dist/entries/input-otp.d.ts +1 -0
- package/dist/entries/input-otp.js +1 -0
- package/dist/entries/input.d.ts +1 -0
- package/dist/entries/input.js +1 -0
- package/dist/entries/invite-user-sheet.d.ts +1 -0
- package/dist/entries/invite-user-sheet.js +1 -0
- package/dist/entries/item.d.ts +1 -0
- package/dist/entries/item.js +1 -0
- package/dist/entries/kanban-board-parts.d.ts +1 -0
- package/dist/entries/kanban-board-parts.js +1 -0
- package/dist/entries/kanban-board-utils.d.ts +1 -0
- package/dist/entries/kanban-board-utils.js +1 -0
- package/dist/entries/kanban-board.d.ts +1 -0
- package/dist/entries/kanban-board.js +1 -0
- package/dist/entries/kanban-card.d.ts +1 -0
- package/dist/entries/kanban-card.js +1 -0
- package/dist/entries/kanban-column.d.ts +1 -0
- package/dist/entries/kanban-column.js +1 -0
- package/dist/entries/kanban-detail-sheet.d.ts +1 -0
- package/dist/entries/kanban-detail-sheet.js +1 -0
- package/dist/entries/kanban-page.d.ts +1 -0
- package/dist/entries/kanban-page.js +1 -0
- package/dist/entries/kanban-types.d.ts +1 -0
- package/dist/entries/kanban-types.js +1 -0
- package/dist/entries/kbd.d.ts +1 -0
- package/dist/entries/kbd.js +1 -0
- package/dist/entries/label.d.ts +1 -0
- package/dist/entries/label.js +1 -0
- package/dist/entries/loading-state.d.ts +1 -0
- package/dist/entries/loading-state.js +1 -0
- package/dist/entries/menubar.d.ts +1 -0
- package/dist/entries/menubar.js +1 -0
- package/dist/entries/metrics-strip.d.ts +1 -0
- package/dist/entries/metrics-strip.js +1 -0
- package/dist/entries/native-select.d.ts +1 -0
- package/dist/entries/native-select.js +1 -0
- package/dist/entries/navigation-menu-variants.d.ts +1 -0
- package/dist/entries/navigation-menu-variants.js +1 -0
- package/dist/entries/navigation-menu.d.ts +1 -0
- package/dist/entries/navigation-menu.js +1 -0
- package/dist/entries/page-header.d.ts +1 -0
- package/dist/entries/page-header.js +1 -0
- package/dist/entries/pagination.d.ts +1 -0
- package/dist/entries/pagination.js +1 -0
- package/dist/entries/popover.d.ts +1 -0
- package/dist/entries/popover.js +1 -0
- package/dist/entries/progress.d.ts +1 -0
- package/dist/entries/progress.js +1 -0
- package/dist/entries/property-list.d.ts +1 -0
- package/dist/entries/property-list.js +1 -0
- package/dist/entries/radio-group.d.ts +1 -0
- package/dist/entries/radio-group.js +1 -0
- package/dist/entries/registry-docs-api.d.ts +1 -0
- package/dist/entries/registry-docs-api.js +1 -0
- package/dist/entries/registry-docs-code.d.ts +1 -0
- package/dist/entries/registry-docs-code.js +1 -0
- package/dist/entries/registry-docs-showcase.d.ts +1 -0
- package/dist/entries/registry-docs-showcase.js +1 -0
- package/dist/entries/registry-docs.d.ts +1 -0
- package/dist/entries/registry-docs.js +1 -0
- package/dist/entries/resizable.d.ts +1 -0
- package/dist/entries/resizable.js +1 -0
- package/dist/entries/scroll-area.d.ts +1 -0
- package/dist/entries/scroll-area.js +1 -0
- package/dist/entries/select.d.ts +1 -0
- package/dist/entries/select.js +1 -0
- package/dist/entries/separator.d.ts +1 -0
- package/dist/entries/separator.js +1 -0
- package/dist/entries/sheet.d.ts +1 -0
- package/dist/entries/sheet.js +1 -0
- package/dist/entries/sidebar/context.d.ts +1 -0
- package/dist/entries/sidebar/context.js +1 -0
- package/dist/entries/sidebar/group.d.ts +1 -0
- package/dist/entries/sidebar/group.js +1 -0
- package/dist/entries/sidebar/layout.d.ts +1 -0
- package/dist/entries/sidebar/layout.js +1 -0
- package/dist/entries/sidebar/menu.d.ts +1 -0
- package/dist/entries/sidebar/menu.js +1 -0
- package/dist/entries/sidebar/provider.d.ts +1 -0
- package/dist/entries/sidebar/provider.js +1 -0
- package/dist/entries/sidebar/rail.d.ts +1 -0
- package/dist/entries/sidebar/rail.js +1 -0
- package/dist/entries/sidebar/trigger.d.ts +1 -0
- package/dist/entries/sidebar/trigger.js +1 -0
- package/dist/entries/sidebar-account-menu-theme.d.ts +1 -0
- package/dist/entries/sidebar-account-menu-theme.js +1 -0
- package/dist/entries/sidebar-account-menu.d.ts +1 -0
- package/dist/entries/sidebar-account-menu.js +1 -0
- package/dist/entries/sidebar.d.ts +1 -0
- package/dist/entries/sidebar.js +1 -0
- package/dist/entries/skeleton.d.ts +1 -0
- package/dist/entries/skeleton.js +1 -0
- package/dist/entries/slider.d.ts +1 -0
- package/dist/entries/slider.js +1 -0
- package/dist/entries/sonner.d.ts +1 -0
- package/dist/entries/sonner.js +1 -0
- package/dist/entries/spinner.d.ts +1 -0
- package/dist/entries/spinner.js +1 -0
- package/dist/entries/switch.d.ts +1 -0
- package/dist/entries/switch.js +1 -0
- package/dist/entries/table.d.ts +1 -0
- package/dist/entries/table.js +1 -0
- package/dist/entries/tabs-variants.d.ts +1 -0
- package/dist/entries/tabs-variants.js +1 -0
- package/dist/entries/tabs.d.ts +1 -0
- package/dist/entries/tabs.js +1 -0
- package/dist/entries/textarea.d.ts +1 -0
- package/dist/entries/textarea.js +1 -0
- package/dist/entries/timestamp-format.d.ts +1 -0
- package/dist/entries/timestamp-format.js +1 -0
- package/dist/entries/toggle-group.d.ts +1 -0
- package/dist/entries/toggle-group.js +1 -0
- package/dist/entries/toggle-variants.d.ts +1 -0
- package/dist/entries/toggle-variants.js +1 -0
- package/dist/entries/toggle.d.ts +1 -0
- package/dist/entries/toggle.js +1 -0
- package/dist/entries/tooltip.d.ts +1 -0
- package/dist/entries/tooltip.js +1 -0
- package/dist/entries/use-color-theme.d.ts +1 -0
- package/dist/entries/use-color-theme.js +1 -0
- package/dist/entries/use-mobile.d.ts +1 -0
- package/dist/entries/use-mobile.js +1 -0
- package/dist/entries/utils.d.ts +1 -0
- package/dist/entries/utils.js +1 -0
- package/dist/entries/workflow-timeline.d.ts +1 -0
- package/dist/entries/workflow-timeline.js +1 -0
- package/dist/lib/utils.js +1 -1
- package/dist/style-imports.d.ts +3 -0
- package/dist/styled-system/css/css.d.ts +16 -11
- package/dist/styled-system/css/cva.d.ts +4 -2
- package/dist/styled-system/css/cx.d.ts +3 -2
- package/dist/styled-system/css/index.d.ts +1 -1
- package/dist/styled-system/css/sva.d.ts +2 -1
- package/dist/styled-system/patterns/aspect-ratio.d.ts +9 -5
- package/dist/styled-system/patterns/bleed.d.ts +10 -6
- package/dist/styled-system/patterns/box.d.ts +9 -4
- package/dist/styled-system/patterns/center.d.ts +9 -5
- package/dist/styled-system/patterns/circle.d.ts +9 -5
- package/dist/styled-system/patterns/container.d.ts +9 -4
- package/dist/styled-system/patterns/cq.d.ts +10 -6
- package/dist/styled-system/patterns/divider.d.ts +11 -7
- package/dist/styled-system/patterns/flex.d.ts +15 -11
- package/dist/styled-system/patterns/float.d.ts +12 -8
- package/dist/styled-system/patterns/grid-item.d.ts +14 -10
- package/dist/styled-system/patterns/grid.d.ts +13 -9
- package/dist/styled-system/patterns/hstack.d.ts +10 -6
- package/dist/styled-system/patterns/index.d.ts +1 -1
- package/dist/styled-system/patterns/link-overlay.d.ts +9 -4
- package/dist/styled-system/patterns/spacer.d.ts +9 -5
- package/dist/styled-system/patterns/square.d.ts +9 -5
- package/dist/styled-system/patterns/stack.d.ts +12 -8
- package/dist/styled-system/patterns/visually-hidden.d.ts +9 -4
- package/dist/styled-system/patterns/vstack.d.ts +10 -6
- package/dist/styled-system/patterns/wrap.d.ts +13 -9
- package/dist/styled-system/styles.css +61 -393
- package/dist/styled-system/tokens/index.d.ts +6 -4
- package/dist/styled-system/tokens/tokens.d.ts +61 -42
- package/dist/styled-system/types/composition.d.ts +211 -20
- package/dist/styled-system/types/conditions.d.ts +303 -297
- package/dist/styled-system/types/csstype.d.ts +22518 -20289
- package/dist/styled-system/types/global.d.ts +12 -11
- package/dist/styled-system/types/index.d.ts +2 -2
- package/dist/styled-system/types/parts.d.ts +3 -2
- package/dist/styled-system/types/pattern.d.ts +71 -75
- package/dist/styled-system/types/prop-type.d.ts +233 -236
- package/dist/styled-system/types/recipe.d.ts +155 -114
- package/dist/styled-system/types/selectors.d.ts +58 -8
- package/dist/styled-system/types/static-css.d.ts +47 -40
- package/dist/styled-system/types/style-props.d.ts +8082 -8078
- package/dist/styled-system/types/system-types.d.ts +111 -69
- package/package.json +24 -558
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { ChevronRightIcon } from "lucide-react";
|
|
5
|
-
import { cn } from "
|
|
6
|
-
import { Button } from "
|
|
7
|
-
import { DataTable, DataTableContent, DataTableEmpty } from "
|
|
8
|
-
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
|
+
import { Button } from "./button";
|
|
7
|
+
import { DataTable, DataTableContent, DataTableEmpty } from "./data-table";
|
|
8
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table";
|
|
9
9
|
function ExpandableDataTable({ rows, columns, getRowId, getRowLabel, renderExpandedRow, defaultExpandedRowId = null, expandedRowId, onExpandedRowIdChange, empty = "No rows found.", className, ...props }) {
|
|
10
10
|
const tableId = React.useId();
|
|
11
11
|
const [uncontrolledExpandedRowId, setUncontrolledExpandedRowId] = React.useState(defaultExpandedRowId);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { type VariantProps } from "class-variance-authority";
|
|
2
|
-
import { Label } from "
|
|
3
|
-
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react").JSX.Element;
|
|
2
|
+
import { Label } from "./label";
|
|
3
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("@types/react").JSX.Element;
|
|
4
4
|
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
5
5
|
variant?: "legend" | "label";
|
|
6
|
-
}): import("react").JSX.Element;
|
|
7
|
-
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
6
|
+
}): import("@types/react").JSX.Element;
|
|
7
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
8
8
|
declare const fieldVariants: (props?: ({
|
|
9
9
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react").JSX.Element;
|
|
12
|
-
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
10
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
11
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("@types/react").JSX.Element;
|
|
12
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
13
13
|
declare function FieldLabel({ children, className, required, ...props }: React.ComponentProps<typeof Label> & {
|
|
14
14
|
required?: boolean;
|
|
15
|
-
}): import("react").JSX.Element;
|
|
16
|
-
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
17
|
-
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react").JSX.Element;
|
|
15
|
+
}): import("@types/react").JSX.Element;
|
|
16
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
17
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("@types/react").JSX.Element;
|
|
18
18
|
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
19
19
|
children?: React.ReactNode;
|
|
20
|
-
}): import("react").JSX.Element;
|
|
20
|
+
}): import("@types/react").JSX.Element;
|
|
21
21
|
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
22
22
|
errors?: Array<{
|
|
23
23
|
message?: string;
|
|
24
24
|
} | undefined>;
|
|
25
|
-
}): import("react").JSX.Element | null;
|
|
25
|
+
}): import("@types/react").JSX.Element | null;
|
|
26
26
|
export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
|
-
import { cn } from "
|
|
6
|
-
import { Label } from "
|
|
7
|
-
import { Separator } from "
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
|
+
import { Label } from "./label";
|
|
7
|
+
import { Separator } from "./separator";
|
|
8
8
|
function FieldSet({ className, ...props }) {
|
|
9
9
|
return (_jsx("fieldset", { "data-slot": "field-set", className: cn("flex flex-col gap-[calc(var(--panel-gap)+0.5rem)]", "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", className), ...props }));
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FileIcon, PaperclipIcon, UploadCloudIcon, XIcon } from "lucide-react";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { Button } from "
|
|
5
|
-
import { Item, ItemActions, ItemContent, ItemDescription, ItemGroup, ItemMedia, ItemTitle, } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
import { Button } from "./button";
|
|
5
|
+
import { Item, ItemActions, ItemContent, ItemDescription, ItemGroup, ItemMedia, ItemTitle, } from "./item";
|
|
6
6
|
function FileUploadCompactControl({ acceptedFileTypes, disabled, dragActive, error, files, inputId, inputRef, maxAttachments, onAddFiles, onDragActiveChange, }) {
|
|
7
7
|
const isAtLimit = files.length >= maxAttachments;
|
|
8
8
|
return (_jsxs("div", { "data-drag-active": dragActive, className: cn("flex items-center gap-3 rounded-md border bg-card px-3 py-2 transition-colors", "data-[drag-active=true]:border-ring data-[drag-active=true]:bg-muted/50", disabled && "cursor-not-allowed opacity-60"), onDragEnter: (event) => handleDragEnter(event, disabled, onDragActiveChange), onDragLeave: (event) => handleDragLeave(event, onDragActiveChange), onDragOver: (event) => event.preventDefault(), onDrop: (event) => handleDrop(event, { disabled, onAddFiles, onDragActiveChange }), children: [_jsx("input", { accept: acceptedFileTypes, "aria-describedby": error ? `${inputId}-error` : undefined, className: "sr-only", disabled: disabled || isAtLimit, id: inputId, multiple: true, onChange: (event) => handleFileInputChange(event, onAddFiles), ref: inputRef, type: "file" }), _jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [_jsx(PaperclipIcon, { className: "size-4 shrink-0 text-muted-foreground" }), _jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate text-sm font-medium", children: files.length > 0 ? `${files.length} attached` : "Attach files" }), _jsx("div", { className: "truncate text-xs text-muted-foreground", children: "Files stay in the browser until submit." })] })] }), _jsx(Button, { disabled: disabled || isAtLimit, onClick: () => inputRef.current?.click(), size: "sm", type: "button", variant: "outline", children: "Attach" })] }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { FileUploadCompactControl, FileUploadDropZone, FileUploadList, } from "./file-upload-field-parts";
|
|
4
|
-
import { Field, FieldContent, FieldDescription, FieldError, FieldLabel
|
|
4
|
+
import { Field, FieldContent, FieldDescription, FieldError, FieldLabel } from "./field";
|
|
5
5
|
function FileUploadField({ acceptedFileTypes, className, description, disabled = false, files, label = "Attachments", maxAttachmentSizeMb = 10, maxAttachments = 4, onFilesChange, showConstraints = true, variant = "dropzone", }) {
|
|
6
6
|
const inputId = React.useId();
|
|
7
7
|
const uploadState = useFileUploadFieldState({
|
|
@@ -13,7 +13,7 @@ declare const useFormField: () => {
|
|
|
13
13
|
isDirty: boolean;
|
|
14
14
|
isTouched: boolean;
|
|
15
15
|
isValidating: boolean;
|
|
16
|
-
error?: import("react-hook-form").FieldError;
|
|
16
|
+
error?: import("react-hook-form/dist").FieldError;
|
|
17
17
|
id: string;
|
|
18
18
|
name: string;
|
|
19
19
|
formItemId: string;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import type { Label as LabelPrimitive } from "radix-ui";
|
|
3
3
|
import { Slot } from "radix-ui";
|
|
4
4
|
import { type ControllerProps, type FieldPath, type FieldValues } from "react-hook-form";
|
|
5
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
5
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: import("react-hook-form/dist").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
6
6
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
|
|
7
7
|
declare function FormItem({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
8
8
|
declare function FormLabel({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): React.JSX.Element;
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { Slot } from "radix-ui";
|
|
4
4
|
import { Controller, FormProvider, } from "react-hook-form";
|
|
5
|
-
import { cn } from "
|
|
6
|
-
import { FormFieldContext, FormItemContext, useFormField } from "
|
|
7
|
-
import { Label } from "
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
|
+
import { FormFieldContext, FormItemContext, useFormField } from "./form-context";
|
|
7
|
+
import { Label } from "./label";
|
|
8
8
|
const Form = FormProvider;
|
|
9
9
|
const FormField = ({ ...props }) => {
|
|
10
10
|
const contextValue = React.useMemo(() => ({ name: props.name }), [props.name]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { HoverCard as HoverCardPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
5
|
const HoverCardPortalContainerContext = React.createContext({
|
|
6
6
|
container: null,
|
|
7
7
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
import { Button } from "
|
|
3
|
+
import { Button } from "./button";
|
|
4
4
|
declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
5
5
|
declare const inputGroupAddonVariants: (props?: ({
|
|
6
6
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React.JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
10
10
|
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
12
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): React.JSX.Element;
|
|
13
13
|
declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
14
14
|
declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { Button } from "
|
|
5
|
-
import { Input } from "
|
|
6
|
-
import { Textarea } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
import { Button } from "./button";
|
|
5
|
+
import { Input } from "./input";
|
|
6
|
+
import { Textarea } from "./textarea";
|
|
7
7
|
function InputGroup({ className, ...props }) {
|
|
8
8
|
return (_jsx("div", { "data-slot": "input-group", role: "group", className: cn("group/input-group relative flex w-full items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none dark:bg-input/30", "h-(--control-height) min-w-0 has-[>textarea]:h-auto",
|
|
9
9
|
// Variants based on alignment.
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
5
5
|
import { MinusIcon } from "lucide-react";
|
|
6
|
-
import { cn } from "
|
|
6
|
+
import { cn } from "../../lib/utils";
|
|
7
7
|
function InputOTP({ className, containerClassName, ...props }) {
|
|
8
8
|
return (_jsx(OTPInput, { "data-slot": "input-otp", containerClassName: cn("flex items-center gap-2 has-disabled:opacity-50", containerClassName), className: cn("disabled:cursor-not-allowed", className), ...props }));
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "../../lib/utils";
|
|
3
3
|
function Input({ className, type, ...props }) {
|
|
4
4
|
return (_jsx("input", { type: type, "data-slot": "input", className: cn("h-(--control-height) w-full min-w-0 rounded-md border border-input bg-transparent px-(--control-padding-x) py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-[calc(var(--control-height)-0.375rem)] file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30", "focus-visible:border-ring focus-visible:ring-[var(--focus-ring-width)] focus-visible:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", className), ...props }));
|
|
5
5
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
import { Separator } from "
|
|
3
|
+
import { Separator } from "./separator";
|
|
4
4
|
declare function ItemGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
5
5
|
declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
6
6
|
declare const itemVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "muted" | "outline" | null | undefined;
|
|
8
8
|
size?: "sm" | "default" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
10
10
|
declare function Item({ className, variant, size, asChild, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
11
11
|
asChild?: boolean;
|
|
12
12
|
}): React.JSX.Element;
|
|
13
13
|
declare const itemMediaVariants: (props?: ({
|
|
14
14
|
variant?: "default" | "icon" | "image" | null | undefined;
|
|
15
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
16
16
|
declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React.JSX.Element;
|
|
17
17
|
declare function ItemContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
18
18
|
declare function ItemTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { Slot } from "radix-ui";
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import { Separator } from "
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
|
+
import { Separator } from "./separator";
|
|
6
6
|
function ItemGroup({ className, ...props }) {
|
|
7
7
|
return (_jsx("div", { role: "list", "data-slot": "item-group", className: cn("group/item-group flex flex-col", className), ...props }));
|
|
8
8
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): import("react").JSX.Element;
|
|
2
|
-
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
1
|
+
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): import("@types/react").JSX.Element;
|
|
2
|
+
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
3
3
|
export { Kbd, KbdGroup };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "../../lib/utils";
|
|
3
3
|
function Kbd({ className, ...props }) {
|
|
4
4
|
return (_jsx("kbd", { "data-slot": "kbd", className: cn("pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", className), ...props }));
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Label as LabelPrimitive } from "radix-ui";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
4
|
function Label({ className, ...props }) {
|
|
5
5
|
return (_jsx(LabelPrimitive.Root, { "data-slot": "label", className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className), ...props }));
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { Card, CardContent, CardHeader } from "
|
|
5
|
-
import { Skeleton } from "
|
|
6
|
-
import { Spinner } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
import { Card, CardContent, CardHeader } from "./card";
|
|
5
|
+
import { Skeleton } from "./skeleton";
|
|
6
|
+
import { Spinner } from "./spinner";
|
|
7
7
|
const loadingStateSizes = {
|
|
8
8
|
sm: "min-h-14 gap-2 p-3",
|
|
9
9
|
default: "min-h-24 gap-3 p-(--panel-padding)",
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
5
5
|
import { Menubar as MenubarPrimitive } from "radix-ui";
|
|
6
|
-
import { cn } from "
|
|
6
|
+
import { cn } from "../../lib/utils";
|
|
7
7
|
const MenubarPortalContainerContext = React.createContext({
|
|
8
8
|
container: null,
|
|
9
9
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "../../lib/utils";
|
|
3
3
|
function MetricsStrip({ className, ...props }) {
|
|
4
4
|
return (_jsx("section", { "data-slot": "metrics-strip", className: cn("grid grid-cols-1 divide-y divide-border rounded-lg border bg-card text-card-foreground shadow-xs md:grid-cols-5 md:divide-x md:divide-y-0", className), ...props }));
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronDownIcon } from "lucide-react";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
4
|
function NativeSelect({ className, size = "default", ...props }) {
|
|
5
5
|
return (_jsxs("div", { className: "group/native-select relative w-fit has-[select:disabled]:opacity-50", "data-slot": "native-select-wrapper", children: [_jsx("select", { "data-slot": "native-select", "data-size": size, className: cn("h-(--control-height) w-full min-w-0 appearance-none rounded-md border border-input bg-transparent px-(--control-padding-x) py-1 pr-9 text-sm shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed data-[size=sm]:h-(--control-height-sm) dark:bg-input/30 dark:hover:bg-input/50", "focus-visible:border-ring focus-visible:ring-[var(--focus-ring-width)] focus-visible:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", className), ...props }), _jsx(ChevronDownIcon, { className: "pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 text-muted-foreground opacity-50 select-none", "aria-hidden": "true", "data-slot": "native-select-icon" })] }));
|
|
6
6
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
1
|
+
declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
2
2
|
export { navigationMenuTriggerStyle };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronDownIcon } from "lucide-react";
|
|
3
3
|
import { NavigationMenu as NavigationMenuPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "
|
|
5
|
-
import { navigationMenuTriggerStyle } from "
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
|
+
import { navigationMenuTriggerStyle } from "./navigation-menu-variants";
|
|
6
6
|
function NavigationMenu({ className, children, viewport = true, ...props }) {
|
|
7
7
|
return (_jsxs(NavigationMenuPrimitive.Root, { "data-slot": "navigation-menu", "data-viewport": viewport, className: cn("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", className), ...props, children: [children, viewport && _jsx(NavigationMenuViewport, {})] }));
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ArrowLeftIcon } from "lucide-react";
|
|
3
|
-
import { Button } from "
|
|
4
|
-
import { cn } from "
|
|
3
|
+
import { Button } from "./button";
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
5
|
function PageHeader({ actions, backLink, breadcrumbItems, children, className, subtitle, title, ...props }) {
|
|
6
6
|
if (hasPageHeaderConvenienceContent({ actions, backLink, breadcrumbItems, subtitle, title })) {
|
|
7
7
|
return (_jsx("header", { "data-slot": "page-header", className: cn("border-b bg-background text-foreground", className), ...props, children: _jsx(PageHeaderConvenienceLayout, { actions: actions, backLink: backLink, breadcrumbItems: breadcrumbItems, subtitle: subtitle, title: title, children: children }) }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { Button } from "
|
|
2
|
+
import type { Button } from "./button";
|
|
3
3
|
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
4
4
|
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
5
5
|
declare function PaginationItem({ ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { buttonVariants } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
import { buttonVariants } from "./button-variants";
|
|
5
5
|
function Pagination({ className, ...props }) {
|
|
6
6
|
return (_jsx("nav", { role: "navigation", "aria-label": "pagination", "data-slot": "pagination", className: cn("mx-auto flex w-full justify-center", className), ...props }));
|
|
7
7
|
}
|
|
@@ -18,10 +18,10 @@ function PaginationLink({ className, isActive, size = "icon", ...props }) {
|
|
|
18
18
|
}), className), ...props }));
|
|
19
19
|
}
|
|
20
20
|
function PaginationPrevious({ className, ...props }) {
|
|
21
|
-
return (_jsxs(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
21
|
+
return (_jsxs(PaginationLink, { ...props, "aria-label": "Go to previous page", size: "default", className: cn("gap-1 px-2.5 sm:pl-2.5", className), children: [_jsx(ChevronLeftIcon, {}), _jsx("span", { className: "hidden sm:block", children: "Previous" })] }));
|
|
22
22
|
}
|
|
23
23
|
function PaginationNext({ className, ...props }) {
|
|
24
|
-
return (_jsxs(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
24
|
+
return (_jsxs(PaginationLink, { ...props, "aria-label": "Go to next page", size: "default", className: cn("gap-1 px-2.5 sm:pr-2.5", className), children: [_jsx("span", { className: "hidden sm:block", children: "Next" }), _jsx(ChevronRightIcon, {})] }));
|
|
25
25
|
}
|
|
26
26
|
function PaginationEllipsis({ className, ...props }) {
|
|
27
27
|
return (_jsxs("span", { "aria-hidden": true, "data-slot": "pagination-ellipsis", className: cn("flex size-9 items-center justify-center", className), ...props, children: [_jsx(MoreHorizontalIcon, { className: "size-4" }), _jsx("span", { className: "sr-only", children: "More pages" })] }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
5
|
const PopoverPortalContainerContext = React.createContext({
|
|
6
6
|
container: null,
|
|
7
7
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Progress as ProgressPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
5
|
function Progress({ className, value, ...props }) {
|
|
6
6
|
return (_jsx(ProgressPrimitive.Root, { "data-slot": "progress", className: cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className), ...props, children: _jsx(ProgressPrimitive.Indicator, { "data-slot": "progress-indicator", className: "h-full w-full flex-1 bg-primary transition-all", style: { transform: `translateX(-${100 - (value || 0)}%)` } }) }));
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "../../lib/utils";
|
|
3
3
|
function PropertyList({ className, ...props }) {
|
|
4
4
|
return (_jsx("dl", { "data-slot": "property-list", className: cn("grid border-t border-border text-sm", className), ...props }));
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CircleIcon } from "lucide-react";
|
|
3
3
|
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
5
|
function RadioGroup({ className, ...props }) {
|
|
6
6
|
return (_jsx(RadioGroupPrimitive.Root, { "data-slot": "radio-group", className: cn("grid gap-3", className), ...props }));
|
|
7
7
|
}
|
|
@@ -6,6 +6,6 @@ type RegistryDocsApiProp = {
|
|
|
6
6
|
};
|
|
7
7
|
declare function RegistryDocsApiTable({ props }: {
|
|
8
8
|
props: RegistryDocsApiProp[];
|
|
9
|
-
}): import("react").JSX.Element;
|
|
9
|
+
}): import("@types/react").JSX.Element;
|
|
10
10
|
export { RegistryDocsApiTable };
|
|
11
11
|
export type { RegistryDocsApiProp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow
|
|
2
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table";
|
|
3
3
|
function RegistryDocsApiTable({ props }) {
|
|
4
4
|
return (_jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { children: "Prop" }), _jsx(TableHead, { children: "Type" }), _jsx(TableHead, { children: "Default" }), _jsx(TableHead, { children: "Description" })] }) }), _jsx(TableBody, { children: props.map((prop) => (_jsx(RegistryDocsApiTableRow, { prop: prop }, prop.name))) })] }));
|
|
5
5
|
}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { CheckIcon, CopyIcon } from "lucide-react";
|
|
4
4
|
import { codeToHtml } from "shiki/bundle/web";
|
|
5
|
-
import { Button } from "
|
|
6
|
-
import { cn } from "
|
|
5
|
+
import { Button } from "./button";
|
|
6
|
+
import { cn } from "../../lib/utils";
|
|
7
7
|
function RegistryDocsCodeBlock({ children, className, code, label, language = "tsx", ...props }) {
|
|
8
8
|
return (_jsx(RegistryDocsCodeFrame, { code: code, label: label, children: _jsx(RegistryDocsCodeSnippet, { className: className, code: code, language: language, ...props, children: children }) }));
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { CodeXmlIcon } from "lucide-react";
|
|
4
|
-
import { Button } from "
|
|
4
|
+
import { Button } from "./button";
|
|
5
5
|
import { RegistryDocsCodeSnippet, RegistryDocsCopyButton } from "./registry-docs-code";
|
|
6
|
-
import { cn } from "
|
|
6
|
+
import { cn } from "../../lib/utils";
|
|
7
7
|
function RegistryDocsShowcase({ className, code, codeLabel = "preview.tsx", defaultExpanded = false, preview, previewMode = "default", ...props }) {
|
|
8
8
|
const [expanded, setExpanded] = React.useState(defaultExpanded);
|
|
9
9
|
const codeId = React.useId();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Card, type CardVariant } from "
|
|
2
|
+
import { Card, type CardVariant } from "./card";
|
|
3
3
|
import { RegistryDocsApiTable, type RegistryDocsApiProp } from "./registry-docs-api";
|
|
4
4
|
import { RegistryDocsCodeBlock, RegistryDocsCommand } from "./registry-docs-code";
|
|
5
5
|
import { RegistryDocsShowcase } from "./registry-docs-showcase";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Card, CardContent, CardHeader } from "
|
|
3
|
-
import { PropertyList, PropertyListItem, PropertyListLabel, PropertyListValue, } from "
|
|
2
|
+
import { Card, CardContent, CardHeader } from "./card";
|
|
3
|
+
import { PropertyList, PropertyListItem, PropertyListLabel, PropertyListValue, } from "./property-list";
|
|
4
4
|
import { RegistryDocsApiTable } from "./registry-docs-api";
|
|
5
5
|
import { RegistryDocsCodeBlock, RegistryDocsCommand } from "./registry-docs-code";
|
|
6
6
|
import { RegistryDocsShowcase } from "./registry-docs-showcase";
|
|
7
|
-
import { cn } from "
|
|
7
|
+
import { cn } from "../../lib/utils";
|
|
8
8
|
function RegistryDocsPage({ className, ...props }) {
|
|
9
9
|
return (_jsx("main", { "data-slot": "registry-docs-page", className: cn("min-h-svh bg-background text-foreground", className), ...props }));
|
|
10
10
|
}
|
|
@@ -6,9 +6,9 @@ type ResizablePanelGroupProps = ResizablePrimitive.GroupProps & {
|
|
|
6
6
|
type ResizablePanelProps = ResizablePrimitive.PanelProps & {
|
|
7
7
|
order?: number;
|
|
8
8
|
};
|
|
9
|
-
declare function ResizablePanelGroup({ autoSaveId: _autoSaveId, className, direction, ...props }: ResizablePanelGroupProps): import("react").JSX.Element;
|
|
10
|
-
declare function ResizablePanel({ order: _order, ...props }: ResizablePanelProps): import("react").JSX.Element;
|
|
9
|
+
declare function ResizablePanelGroup({ autoSaveId: _autoSaveId, className, direction, ...props }: ResizablePanelGroupProps): import("@types/react").JSX.Element;
|
|
10
|
+
declare function ResizablePanel({ order: _order, ...props }: ResizablePanelProps): import("@types/react").JSX.Element;
|
|
11
11
|
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
12
12
|
withHandle?: boolean;
|
|
13
|
-
}): import("react").JSX.Element;
|
|
13
|
+
}): import("@types/react").JSX.Element;
|
|
14
14
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { GripVerticalIcon } from "lucide-react";
|
|
4
4
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
6
|
function ResizablePanelGroup({ autoSaveId: _autoSaveId, className, direction, ...props }) {
|
|
7
7
|
return (_jsx(ResizablePrimitive.Group, { "data-slot": "resizable-panel-group", className: cn("flex h-full w-full aria-[orientation=vertical]:flex-col", className), ...props, orientation: props.orientation ?? direction }));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
4
|
function ScrollArea({ className, children, scrollbars = "vertical", ...props }) {
|
|
5
5
|
return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn("relative", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[var(--focus-ring-width)] focus-visible:ring-ring/50 focus-visible:outline-1", children: children }), scrollbars === "vertical" || scrollbars === "both" ? _jsx(ScrollBar, {}) : null, scrollbars === "horizontal" || scrollbars === "both" ? (_jsx(ScrollBar, { orientation: "horizontal" })) : null, scrollbars === "both" ? _jsx(ScrollAreaPrimitive.Corner, {}) : null] }));
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
4
4
|
import { Select as SelectPrimitive } from "radix-ui";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
6
|
function Select({ ...props }) {
|
|
7
7
|
return _jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
4
|
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
5
5
|
return (_jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className), ...props }));
|
|
6
6
|
}
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { XIcon } from "lucide-react";
|
|
5
5
|
import { Dialog as SheetPrimitive } from "radix-ui";
|
|
6
|
-
import { cn } from "
|
|
6
|
+
import { cn } from "../../lib/utils";
|
|
7
7
|
const SheetPortalContainerContext = React.createContext({
|
|
8
8
|
container: null,
|
|
9
9
|
disableModalBehavior: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Slot } from "radix-ui";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "../../../lib/utils";
|
|
4
4
|
function SidebarGroup({ className, ...props }) {
|
|
5
5
|
return (_jsx("div", { "data-slot": "sidebar-group", "data-sidebar": "group", className: cn("relative flex w-full min-w-0 flex-col gap-(--sidebar-group-gap) p-(--sidebar-group-padding)", className), ...props }));
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Input } from "
|
|
3
|
-
import { Separator } from "
|
|
2
|
+
import { Input } from "../input";
|
|
3
|
+
import { Separator } from "../separator";
|
|
4
4
|
type SidebarProps = React.ComponentProps<"div"> & {
|
|
5
5
|
side?: "left" | "right";
|
|
6
6
|
variant?: "sidebar" | "floating" | "inset";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { cn } from "
|
|
4
|
-
import { Input } from "
|
|
5
|
-
import { Separator } from "
|
|
6
|
-
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle
|
|
7
|
-
import { SIDEBAR_WIDTH_MOBILE, useSidebar
|
|
3
|
+
import { cn } from "../../../lib/utils";
|
|
4
|
+
import { Input } from "../input";
|
|
5
|
+
import { Separator } from "../separator";
|
|
6
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "../sheet";
|
|
7
|
+
import { SIDEBAR_WIDTH_MOBILE, useSidebar } from "./context";
|
|
8
8
|
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", expandOnCollapsedBlankClick = false, className, children, onClick, ...props }) {
|
|
9
9
|
const { isMobile, state, openMobile, setOpen, setOpenMobile } = useSidebar();
|
|
10
10
|
if (collapsible === "none") {
|