@ciridae/ui 0.11.0 → 0.11.3
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/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 +4 -4
- 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/copy-field.js +3 -3
- package/dist/components/blocks/feedback-center-comments.d.ts +2 -2
- package/dist/components/blocks/feedback-center-comments.js +3 -3
- package/dist/components/blocks/feedback-center-footer.d.ts +2 -2
- package/dist/components/blocks/feedback-center-footer.js +2 -2
- package/dist/components/blocks/feedback-center-sheet-parts.d.ts +5 -5
- 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 +5 -5
- package/dist/components/blocks/feedback-composer-parts.d.ts +1 -1
- package/dist/components/blocks/feedback-composer-parts.js +4 -4
- package/dist/components/blocks/feedback-composer-types.d.ts +1 -1
- package/dist/components/blocks/feedback-composer.d.ts +1 -1
- package/dist/components/blocks/feedback-composer.js +8 -8
- 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 +11 -11
- package/dist/components/blocks/feedback-emergency-fields.d.ts +1 -1
- package/dist/components/blocks/feedback-emergency-fields.js +7 -7
- 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 +4 -4
- package/dist/components/blocks/feedback-status-badge.d.ts +1 -1
- package/dist/components/blocks/feedback-status-badge.js +2 -2
- package/dist/components/blocks/feedback-table-row.d.ts +1 -1
- package/dist/components/blocks/feedback-table-row.js +8 -8
- package/dist/components/blocks/feedback-table-sort.d.ts +2 -2
- package/dist/components/blocks/feedback-table.d.ts +2 -2
- package/dist/components/blocks/feedback-table.js +5 -5
- package/dist/components/blocks/feedback-triage-timeline.d.ts +1 -1
- package/dist/components/blocks/feedback-triage-timeline.js +2 -2
- package/dist/components/blocks/feedback-type-badge.d.ts +1 -1
- package/dist/components/blocks/feedback-type-badge.js +2 -2
- package/dist/components/blocks/feedback-unread-badge.js +1 -1
- package/dist/components/blocks/feedback-user-detail.d.ts +1 -1
- package/dist/components/blocks/feedback-user-detail.js +9 -9
- package/dist/components/blocks/feedback-user-list.d.ts +1 -1
- package/dist/components/blocks/feedback-user-list.js +10 -10
- package/dist/components/blocks/generated-connect-link.d.ts +1 -1
- package/dist/components/blocks/generated-connect-link.js +3 -3
- 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 +19 -3
- package/dist/components/blocks/kanban-board-utils.js +26 -1
- package/dist/components/blocks/kanban-board.d.ts +1 -1
- package/dist/components/blocks/kanban-board.js +4 -4
- 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/blocks/mcp-access-grouped-tool-picker.d.ts +2 -2
- package/dist/components/blocks/mcp-access-grouped-tool-picker.js +4 -4
- package/dist/components/blocks/mcp-access-tool-picker-internals.d.ts +1 -1
- package/dist/components/blocks/mcp-access-tool-picker-internals.js +1 -1
- package/dist/components/blocks/mcp-access-tool-picker.d.ts +4 -4
- package/dist/components/blocks/mcp-access-tool-picker.js +3 -3
- package/dist/components/blocks/mcp-client-setup.d.ts +2 -2
- package/dist/components/blocks/mcp-client-setup.js +4 -4
- package/dist/components/blocks/mcp-connect-clients.d.ts +1 -1
- package/dist/components/blocks/mcp-plan-choice.d.ts +1 -1
- package/dist/components/blocks/mcp-plan-choice.js +1 -1
- package/dist/components/blocks/submit-feedback-composer.d.ts +2 -2
- package/dist/components/blocks/use-feedback-composer-state.d.ts +1 -1
- 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 +1 -1
- 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.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/avatar.js +1 -1
- package/dist/components/ui/badge-variants.d.ts +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.d.ts +2 -2
- package/dist/components/ui/button-group.js +3 -3
- package/dist/components/ui/button-variants.d.ts +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 +1 -1
- package/dist/components/ui/ciridae-ui-provider.js +3 -3
- package/dist/components/ui/color-theme-context.d.ts +1 -1
- package/dist/components/ui/color-theme.d.ts +2 -2
- package/dist/components/ui/color-theme.js +8 -6
- 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-column-settings.js +5 -5
- package/dist/components/ui/data-table-controls.d.ts +1 -1
- package/dist/components/ui/data-table-controls.js +3 -3
- package/dist/components/ui/data-table-facet-filter.js +7 -7
- 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 +3 -3
- package/dist/components/ui/data-table-search-input.js +1 -1
- package/dist/components/ui/data-table-tanstack.js +6 -6
- package/dist/components/ui/data-table.d.ts +4 -4
- package/dist/components/ui/data-table.js +5 -5
- 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.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 +1 -1
- 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 +2 -2
- package/dist/components/ui/form-sheet.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/components/ui/item.js +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.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 +2 -2
- 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.js +1 -1
- package/dist/components/ui/registry-docs-code.js +2 -2
- package/dist/components/ui/registry-docs-showcase.js +3 -3
- package/dist/components/ui/registry-docs.d.ts +4 -4
- package/dist/components/ui/registry-docs.js +6 -6
- 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 +1 -1
- 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.js +2 -2
- package/dist/components/ui/sidebar-account-menu.d.ts +1 -1
- 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.js +1 -1
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/sonner.js +1 -1
- package/dist/components/ui/spinner.js +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/table.js +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.d.ts +1 -1
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/use-color-theme.d.ts +1 -1
- package/dist/components/ui/use-color-theme.js +1 -1
- package/dist/components/ui/workflow-timeline.js +1 -1
- package/dist/entries/accordion.d.ts +1 -1
- package/dist/entries/accordion.js +1 -1
- package/dist/entries/admin-users-page.d.ts +1 -1
- package/dist/entries/admin-users-page.js +1 -1
- package/dist/entries/admin-users-table.d.ts +1 -1
- package/dist/entries/admin-users-table.js +1 -1
- package/dist/entries/alert-dialog.d.ts +1 -1
- package/dist/entries/alert-dialog.js +1 -1
- package/dist/entries/alert.d.ts +1 -1
- package/dist/entries/alert.js +1 -1
- package/dist/entries/app-shell-page.d.ts +1 -1
- package/dist/entries/app-shell-page.js +1 -1
- package/dist/entries/app-shell.d.ts +1 -1
- package/dist/entries/app-shell.js +1 -1
- package/dist/entries/aspect-ratio.d.ts +1 -1
- package/dist/entries/aspect-ratio.js +1 -1
- package/dist/entries/avatar.d.ts +1 -1
- package/dist/entries/avatar.js +1 -1
- package/dist/entries/badge-variants.d.ts +1 -1
- package/dist/entries/badge-variants.js +1 -1
- package/dist/entries/badge.d.ts +1 -1
- package/dist/entries/badge.js +1 -1
- package/dist/entries/breadcrumb.d.ts +1 -1
- package/dist/entries/breadcrumb.js +1 -1
- package/dist/entries/button-group-variants.d.ts +1 -1
- package/dist/entries/button-group-variants.js +1 -1
- package/dist/entries/button-group.d.ts +1 -1
- package/dist/entries/button-group.js +1 -1
- package/dist/entries/button-variants.d.ts +1 -1
- package/dist/entries/button-variants.js +1 -1
- package/dist/entries/button.d.ts +1 -1
- package/dist/entries/button.js +1 -1
- package/dist/entries/calendar.d.ts +1 -1
- package/dist/entries/calendar.js +1 -1
- package/dist/entries/card.d.ts +1 -1
- package/dist/entries/card.js +1 -1
- package/dist/entries/carousel.d.ts +1 -1
- package/dist/entries/carousel.js +1 -1
- package/dist/entries/chart-context.d.ts +1 -1
- package/dist/entries/chart-context.js +1 -1
- package/dist/entries/chart-panel.d.ts +1 -1
- package/dist/entries/chart-panel.js +1 -1
- package/dist/entries/chart-tooltip.d.ts +1 -1
- package/dist/entries/chart-tooltip.js +1 -1
- package/dist/entries/chart.d.ts +1 -1
- package/dist/entries/chart.js +1 -1
- package/dist/entries/checkbox.d.ts +1 -1
- package/dist/entries/checkbox.js +1 -1
- package/dist/entries/ciridae-brand-assets.d.ts +1 -1
- package/dist/entries/ciridae-brand-assets.js +1 -1
- package/dist/entries/ciridae-ui-provider.d.ts +1 -1
- package/dist/entries/ciridae-ui-provider.js +1 -1
- package/dist/entries/collapsible.d.ts +1 -1
- package/dist/entries/collapsible.js +1 -1
- package/dist/entries/color-theme-context.d.ts +1 -1
- package/dist/entries/color-theme-context.js +1 -1
- package/dist/entries/color-theme.d.ts +1 -1
- package/dist/entries/color-theme.js +1 -1
- package/dist/entries/combobox-anchor.d.ts +1 -1
- package/dist/entries/combobox-anchor.js +1 -1
- package/dist/entries/combobox.d.ts +1 -1
- package/dist/entries/combobox.js +1 -1
- package/dist/entries/command.d.ts +1 -1
- package/dist/entries/command.js +1 -1
- package/dist/entries/comment-composer.d.ts +1 -1
- package/dist/entries/comment-composer.js +1 -1
- package/dist/entries/comment-item.d.ts +1 -1
- package/dist/entries/comment-item.js +1 -1
- package/dist/entries/comment-thread.d.ts +1 -1
- package/dist/entries/comment-thread.js +1 -1
- package/dist/entries/comment-types.d.ts +1 -1
- package/dist/entries/comment-types.js +1 -1
- package/dist/entries/context-menu.d.ts +1 -1
- package/dist/entries/context-menu.js +1 -1
- package/dist/entries/copy-field.d.ts +1 -1
- package/dist/entries/copy-field.js +1 -1
- package/dist/entries/data-table-column-settings.d.ts +1 -1
- package/dist/entries/data-table-column-settings.js +1 -1
- package/dist/entries/data-table-context.d.ts +1 -1
- package/dist/entries/data-table-context.js +1 -1
- package/dist/entries/data-table-controls.d.ts +1 -1
- package/dist/entries/data-table-controls.js +1 -1
- package/dist/entries/data-table-facet-filter.d.ts +1 -1
- package/dist/entries/data-table-facet-filter.js +1 -1
- package/dist/entries/data-table-grid.d.ts +1 -1
- package/dist/entries/data-table-grid.js +1 -1
- package/dist/entries/data-table-pagination.d.ts +1 -1
- package/dist/entries/data-table-pagination.js +1 -1
- package/dist/entries/data-table-search-input.d.ts +1 -1
- package/dist/entries/data-table-search-input.js +1 -1
- package/dist/entries/data-table-state.d.ts +1 -1
- package/dist/entries/data-table-state.js +1 -1
- package/dist/entries/data-table-tanstack.d.ts +1 -1
- package/dist/entries/data-table-tanstack.js +1 -1
- package/dist/entries/data-table.d.ts +1 -1
- package/dist/entries/data-table.js +1 -1
- package/dist/entries/dialog.d.ts +1 -1
- package/dist/entries/dialog.js +1 -1
- package/dist/entries/direction-context.d.ts +1 -1
- package/dist/entries/direction-context.js +1 -1
- package/dist/entries/direction.d.ts +1 -1
- package/dist/entries/direction.js +1 -1
- package/dist/entries/drawer.d.ts +1 -1
- package/dist/entries/drawer.js +1 -1
- package/dist/entries/dropdown-menu.d.ts +1 -1
- package/dist/entries/dropdown-menu.js +1 -1
- package/dist/entries/empty.d.ts +1 -1
- package/dist/entries/empty.js +1 -1
- package/dist/entries/expandable-data-table.d.ts +1 -1
- package/dist/entries/expandable-data-table.js +1 -1
- package/dist/entries/feedback-center-comments.d.ts +1 -1
- package/dist/entries/feedback-center-comments.js +1 -1
- package/dist/entries/feedback-center-footer.d.ts +1 -1
- package/dist/entries/feedback-center-footer.js +1 -1
- package/dist/entries/feedback-center-sheet-parts.d.ts +1 -1
- package/dist/entries/feedback-center-sheet-parts.js +1 -1
- package/dist/entries/feedback-center-sheet.d.ts +1 -1
- package/dist/entries/feedback-center-sheet.js +1 -1
- package/dist/entries/feedback-composer-parts.d.ts +1 -1
- package/dist/entries/feedback-composer-parts.js +1 -1
- package/dist/entries/feedback-composer-types.d.ts +1 -1
- package/dist/entries/feedback-composer-types.js +1 -1
- package/dist/entries/feedback-composer.d.ts +1 -1
- package/dist/entries/feedback-composer.js +1 -1
- package/dist/entries/feedback-date-format.d.ts +1 -1
- package/dist/entries/feedback-date-format.js +1 -1
- package/dist/entries/feedback-detail-sheet.d.ts +1 -1
- package/dist/entries/feedback-detail-sheet.js +1 -1
- package/dist/entries/feedback-emergency-fields.d.ts +1 -1
- package/dist/entries/feedback-emergency-fields.js +1 -1
- package/dist/entries/feedback-metrics.d.ts +1 -1
- package/dist/entries/feedback-metrics.js +1 -1
- package/dist/entries/feedback-sheet.d.ts +1 -1
- package/dist/entries/feedback-sheet.js +1 -1
- package/dist/entries/feedback-stakeholder-page-parts.d.ts +1 -1
- package/dist/entries/feedback-stakeholder-page-parts.js +1 -1
- package/dist/entries/feedback-stakeholder-page.d.ts +1 -1
- package/dist/entries/feedback-stakeholder-page.js +1 -1
- package/dist/entries/feedback-status-badge.d.ts +1 -1
- package/dist/entries/feedback-status-badge.js +1 -1
- package/dist/entries/feedback-table-row.d.ts +1 -1
- package/dist/entries/feedback-table-row.js +1 -1
- package/dist/entries/feedback-table-sort.d.ts +1 -1
- package/dist/entries/feedback-table-sort.js +1 -1
- package/dist/entries/feedback-table.d.ts +1 -1
- package/dist/entries/feedback-table.js +1 -1
- package/dist/entries/feedback-tracking-types.d.ts +1 -1
- package/dist/entries/feedback-tracking-types.js +1 -1
- package/dist/entries/feedback-triage-timeline.d.ts +1 -1
- package/dist/entries/feedback-triage-timeline.js +1 -1
- package/dist/entries/feedback-type-badge.d.ts +1 -1
- package/dist/entries/feedback-type-badge.js +1 -1
- package/dist/entries/feedback-unread-badge.d.ts +1 -1
- package/dist/entries/feedback-unread-badge.js +1 -1
- package/dist/entries/feedback-user-detail.d.ts +1 -1
- package/dist/entries/feedback-user-detail.js +1 -1
- package/dist/entries/feedback-user-list.d.ts +1 -1
- package/dist/entries/feedback-user-list.js +1 -1
- package/dist/entries/field.d.ts +1 -1
- package/dist/entries/field.js +1 -1
- package/dist/entries/file-upload-field-parts.d.ts +1 -1
- package/dist/entries/file-upload-field-parts.js +1 -1
- package/dist/entries/file-upload-field.d.ts +1 -1
- package/dist/entries/file-upload-field.js +1 -1
- package/dist/entries/form-context.d.ts +1 -1
- package/dist/entries/form-context.js +1 -1
- package/dist/entries/form-sheet.d.ts +1 -1
- package/dist/entries/form-sheet.js +1 -1
- package/dist/entries/form.d.ts +1 -1
- package/dist/entries/form.js +1 -1
- package/dist/entries/generated-connect-link.d.ts +1 -1
- package/dist/entries/generated-connect-link.js +1 -1
- package/dist/entries/hover-card.d.ts +1 -1
- package/dist/entries/hover-card.js +1 -1
- package/dist/entries/input-group.d.ts +1 -1
- package/dist/entries/input-group.js +1 -1
- package/dist/entries/input-otp.d.ts +1 -1
- package/dist/entries/input-otp.js +1 -1
- package/dist/entries/input.d.ts +1 -1
- package/dist/entries/input.js +1 -1
- package/dist/entries/invite-user-sheet.d.ts +1 -1
- package/dist/entries/invite-user-sheet.js +1 -1
- package/dist/entries/item.d.ts +1 -1
- package/dist/entries/item.js +1 -1
- package/dist/entries/kanban-board-parts.d.ts +1 -1
- package/dist/entries/kanban-board-parts.js +1 -1
- package/dist/entries/kanban-board-utils.d.ts +1 -1
- package/dist/entries/kanban-board-utils.js +1 -1
- package/dist/entries/kanban-board.d.ts +1 -1
- package/dist/entries/kanban-board.js +1 -1
- package/dist/entries/kanban-card.d.ts +1 -1
- package/dist/entries/kanban-card.js +1 -1
- package/dist/entries/kanban-column.d.ts +1 -1
- package/dist/entries/kanban-column.js +1 -1
- package/dist/entries/kanban-detail-sheet.d.ts +1 -1
- package/dist/entries/kanban-detail-sheet.js +1 -1
- package/dist/entries/kanban-page.d.ts +1 -1
- package/dist/entries/kanban-page.js +1 -1
- package/dist/entries/kanban-types.d.ts +1 -1
- package/dist/entries/kanban-types.js +1 -1
- package/dist/entries/kbd.d.ts +1 -1
- package/dist/entries/kbd.js +1 -1
- package/dist/entries/label.d.ts +1 -1
- package/dist/entries/label.js +1 -1
- package/dist/entries/loading-state.d.ts +1 -1
- package/dist/entries/loading-state.js +1 -1
- package/dist/entries/mcp-access-grouped-tool-picker.d.ts +1 -1
- package/dist/entries/mcp-access-grouped-tool-picker.js +1 -1
- package/dist/entries/mcp-access-tool-picker.d.ts +1 -1
- package/dist/entries/mcp-access-tool-picker.js +1 -1
- package/dist/entries/mcp-access-types.d.ts +1 -1
- package/dist/entries/mcp-access-types.js +1 -1
- package/dist/entries/mcp-client-setup.d.ts +1 -1
- package/dist/entries/mcp-client-setup.js +1 -1
- package/dist/entries/mcp-connect-clients.d.ts +1 -1
- package/dist/entries/mcp-connect-clients.js +1 -1
- package/dist/entries/mcp-plan-choice.d.ts +1 -1
- package/dist/entries/mcp-plan-choice.js +1 -1
- package/dist/entries/menubar.d.ts +1 -1
- package/dist/entries/menubar.js +1 -1
- package/dist/entries/metrics-strip.d.ts +1 -1
- package/dist/entries/metrics-strip.js +1 -1
- package/dist/entries/native-select.d.ts +1 -1
- package/dist/entries/native-select.js +1 -1
- package/dist/entries/navigation-menu-variants.d.ts +1 -1
- package/dist/entries/navigation-menu-variants.js +1 -1
- package/dist/entries/navigation-menu.d.ts +1 -1
- package/dist/entries/navigation-menu.js +1 -1
- package/dist/entries/page-header.d.ts +1 -1
- package/dist/entries/page-header.js +1 -1
- package/dist/entries/pagination.d.ts +1 -1
- package/dist/entries/pagination.js +1 -1
- package/dist/entries/palette.d.ts +2 -2
- package/dist/entries/palette.js +2 -2
- package/dist/entries/popover.d.ts +1 -1
- package/dist/entries/popover.js +1 -1
- package/dist/entries/progress.d.ts +1 -1
- package/dist/entries/progress.js +1 -1
- package/dist/entries/property-list.d.ts +1 -1
- package/dist/entries/property-list.js +1 -1
- package/dist/entries/radio-group.d.ts +1 -1
- package/dist/entries/radio-group.js +1 -1
- package/dist/entries/registry-docs-api.d.ts +1 -1
- package/dist/entries/registry-docs-api.js +1 -1
- package/dist/entries/registry-docs-code.d.ts +1 -1
- package/dist/entries/registry-docs-code.js +1 -1
- package/dist/entries/registry-docs-showcase.d.ts +1 -1
- package/dist/entries/registry-docs-showcase.js +1 -1
- package/dist/entries/registry-docs.d.ts +1 -1
- package/dist/entries/registry-docs.js +1 -1
- package/dist/entries/resizable.d.ts +1 -1
- package/dist/entries/resizable.js +1 -1
- package/dist/entries/scroll-area.d.ts +1 -1
- package/dist/entries/scroll-area.js +1 -1
- package/dist/entries/select.d.ts +1 -1
- package/dist/entries/select.js +1 -1
- package/dist/entries/separator.d.ts +1 -1
- package/dist/entries/separator.js +1 -1
- package/dist/entries/sheet.d.ts +1 -1
- package/dist/entries/sheet.js +1 -1
- package/dist/entries/sidebar/context.d.ts +1 -1
- package/dist/entries/sidebar/context.js +1 -1
- package/dist/entries/sidebar/group.d.ts +1 -1
- package/dist/entries/sidebar/group.js +1 -1
- package/dist/entries/sidebar/layout.d.ts +1 -1
- package/dist/entries/sidebar/layout.js +1 -1
- package/dist/entries/sidebar/menu.d.ts +1 -1
- package/dist/entries/sidebar/menu.js +1 -1
- package/dist/entries/sidebar/provider.d.ts +1 -1
- package/dist/entries/sidebar/provider.js +1 -1
- package/dist/entries/sidebar/rail.d.ts +1 -1
- package/dist/entries/sidebar/rail.js +1 -1
- package/dist/entries/sidebar/trigger.d.ts +1 -1
- package/dist/entries/sidebar/trigger.js +1 -1
- package/dist/entries/sidebar-account-menu-theme.d.ts +1 -1
- package/dist/entries/sidebar-account-menu-theme.js +1 -1
- package/dist/entries/sidebar-account-menu.d.ts +1 -1
- package/dist/entries/sidebar-account-menu.js +1 -1
- package/dist/entries/sidebar.d.ts +1 -1
- package/dist/entries/sidebar.js +1 -1
- package/dist/entries/skeleton.d.ts +1 -1
- package/dist/entries/skeleton.js +1 -1
- package/dist/entries/slider.d.ts +1 -1
- package/dist/entries/slider.js +1 -1
- package/dist/entries/sonner.d.ts +1 -1
- package/dist/entries/sonner.js +1 -1
- package/dist/entries/spinner.d.ts +1 -1
- package/dist/entries/spinner.js +1 -1
- package/dist/entries/submit-feedback-composer.d.ts +1 -1
- package/dist/entries/submit-feedback-composer.js +1 -1
- package/dist/entries/switch.d.ts +1 -1
- package/dist/entries/switch.js +1 -1
- package/dist/entries/table.d.ts +1 -1
- package/dist/entries/table.js +1 -1
- package/dist/entries/tabs-variants.d.ts +1 -1
- package/dist/entries/tabs-variants.js +1 -1
- package/dist/entries/tabs.d.ts +1 -1
- package/dist/entries/tabs.js +1 -1
- package/dist/entries/textarea.d.ts +1 -1
- package/dist/entries/textarea.js +1 -1
- package/dist/entries/timestamp-format.d.ts +1 -1
- package/dist/entries/timestamp-format.js +1 -1
- package/dist/entries/toggle-group.d.ts +1 -1
- package/dist/entries/toggle-group.js +1 -1
- package/dist/entries/toggle-variants.d.ts +1 -1
- package/dist/entries/toggle-variants.js +1 -1
- package/dist/entries/toggle.d.ts +1 -1
- package/dist/entries/toggle.js +1 -1
- package/dist/entries/tooltip.d.ts +1 -1
- package/dist/entries/tooltip.js +1 -1
- package/dist/entries/use-color-theme.d.ts +1 -1
- package/dist/entries/use-color-theme.js +1 -1
- package/dist/entries/use-feedback-composer-state.d.ts +1 -1
- package/dist/entries/use-feedback-composer-state.js +1 -1
- package/dist/entries/use-mobile.d.ts +1 -1
- package/dist/entries/use-mobile.js +1 -1
- package/dist/entries/utils.d.ts +1 -1
- package/dist/entries/utils.js +1 -1
- package/dist/entries/workflow-timeline.d.ts +1 -1
- package/dist/entries/workflow-timeline.js +1 -1
- package/dist/hooks/use-mobile.js +4 -2
- package/dist/lib/palette-presets.d.ts +1 -1
- package/dist/lib/palette.d.ts +1 -1
- package/dist/lib/palette.js +2 -2
- package/package.json +1 -1
|
@@ -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 "../../lib/utils";
|
|
6
|
-
import { FormFieldContext, FormItemContext, useFormField } from "./form-context";
|
|
7
|
-
import { Label } from "./label";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
import { FormFieldContext, FormItemContext, useFormField } from "./form-context.js";
|
|
7
|
+
import { Label } from "./label.js";
|
|
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 "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
5
|
const HoverCardPortalContainerContext = React.createContext({
|
|
6
6
|
container: null,
|
|
7
7
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
import { Button } from "./button";
|
|
3
|
+
import { Button } from "./button.js";
|
|
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;
|
|
@@ -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 "../../lib/utils";
|
|
4
|
-
import { Button } from "./button";
|
|
5
|
-
import { Input } from "./input";
|
|
6
|
-
import { Textarea } from "./textarea";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { Button } from "./button.js";
|
|
5
|
+
import { Input } from "./input.js";
|
|
6
|
+
import { Textarea } from "./textarea.js";
|
|
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 "../../lib/utils";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
import { Separator } from "./separator";
|
|
3
|
+
import { Separator } from "./separator.js";
|
|
4
4
|
declare function ItemGroup({ className, role, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
5
5
|
declare function ItemGroupItem({ role, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
6
6
|
declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): 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 "../../lib/utils";
|
|
5
|
-
import { Separator } from "./separator";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
import { Separator } from "./separator.js";
|
|
6
6
|
function ItemGroup({ className, role = "list", ...props }) {
|
|
7
7
|
return (_jsx("div", { "data-slot": "item-group", role: role, className: cn("group/item-group flex flex-col", className), ...props }));
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../../lib/utils";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
4
|
-
import { Card, CardContent, CardHeader } from "./card";
|
|
5
|
-
import { Skeleton } from "./skeleton";
|
|
6
|
-
import { Spinner } from "./spinner";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { Card, CardContent, CardHeader } from "./card.js";
|
|
5
|
+
import { Skeleton } from "./skeleton.js";
|
|
6
|
+
import { Spinner } from "./spinner.js";
|
|
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 "../../lib/utils";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
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,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 "../../lib/utils";
|
|
5
|
-
import { navigationMenuTriggerStyle } from "./navigation-menu-variants";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
import { navigationMenuTriggerStyle } from "./navigation-menu-variants.js";
|
|
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 "./button";
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
3
|
+
import { Button } from "./button.js";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "./button";
|
|
2
|
+
import type { Button } from "./button.js";
|
|
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 "../../lib/utils";
|
|
4
|
-
import { buttonVariants } from "./button-variants";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { buttonVariants } from "./button-variants.js";
|
|
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
|
}
|
|
@@ -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 "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
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
|
}
|
|
@@ -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 } from "./table";
|
|
2
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table.js";
|
|
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 "./button";
|
|
6
|
-
import { cn } from "../../lib/utils";
|
|
5
|
+
import { Button } from "./button.js";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "./button";
|
|
5
|
-
import { RegistryDocsCodeSnippet, RegistryDocsCopyButton } from "./registry-docs-code";
|
|
6
|
-
import { cn } from "../../lib/utils";
|
|
4
|
+
import { Button } from "./button.js";
|
|
5
|
+
import { RegistryDocsCodeSnippet, RegistryDocsCopyButton } from "./registry-docs-code.js";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Card, type CardVariant } from "./card";
|
|
3
|
-
import { RegistryDocsApiTable, type RegistryDocsApiProp } from "./registry-docs-api";
|
|
4
|
-
import { RegistryDocsCodeBlock, RegistryDocsCommand } from "./registry-docs-code";
|
|
5
|
-
import { RegistryDocsShowcase } from "./registry-docs-showcase";
|
|
2
|
+
import { Card, type CardVariant } from "./card.js";
|
|
3
|
+
import { RegistryDocsApiTable, type RegistryDocsApiProp } from "./registry-docs-api.js";
|
|
4
|
+
import { RegistryDocsCodeBlock, RegistryDocsCommand } from "./registry-docs-code.js";
|
|
5
|
+
import { RegistryDocsShowcase } from "./registry-docs-showcase.js";
|
|
6
6
|
type RegistryDocsPreviewSize = "compact" | "default" | "detail";
|
|
7
7
|
type RegistryDocsMetadataItem = {
|
|
8
8
|
label: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Card, CardContent, CardHeader } from "./card";
|
|
3
|
-
import { PropertyList, PropertyListItem, PropertyListLabel, PropertyListValue, } from "./property-list";
|
|
4
|
-
import { RegistryDocsApiTable } from "./registry-docs-api";
|
|
5
|
-
import { RegistryDocsCodeBlock, RegistryDocsCommand } from "./registry-docs-code";
|
|
6
|
-
import { RegistryDocsShowcase } from "./registry-docs-showcase";
|
|
7
|
-
import { cn } from "../../lib/utils";
|
|
2
|
+
import { Card, CardContent, CardHeader } from "./card.js";
|
|
3
|
+
import { PropertyList, PropertyListItem, PropertyListLabel, PropertyListValue, } from "./property-list.js";
|
|
4
|
+
import { RegistryDocsApiTable } from "./registry-docs-api.js";
|
|
5
|
+
import { RegistryDocsCodeBlock, RegistryDocsCommand } from "./registry-docs-code.js";
|
|
6
|
+
import { RegistryDocsShowcase } from "./registry-docs-showcase.js";
|
|
7
|
+
import { cn } from "../../lib/utils.js";
|
|
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
|
}
|
|
@@ -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 "../../lib/utils";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../lib/utils";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
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 "../../../lib/utils";
|
|
3
|
+
import { cn } from "../../../lib/utils.js";
|
|
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 "../input";
|
|
3
|
-
import { Separator } from "../separator";
|
|
2
|
+
import { Input } from "../input.js";
|
|
3
|
+
import { Separator } from "../separator.js";
|
|
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 "../../../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";
|
|
3
|
+
import { cn } from "../../../lib/utils.js";
|
|
4
|
+
import { Input } from "../input.js";
|
|
5
|
+
import { Separator } from "../separator.js";
|
|
6
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "../sheet.js";
|
|
7
|
+
import { SIDEBAR_WIDTH_MOBILE, useSidebar } from "./context.js";
|
|
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") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
import { TooltipContent } from "../tooltip";
|
|
3
|
+
import { TooltipContent } from "../tooltip.js";
|
|
4
4
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
6
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { Slot } from "radix-ui";
|
|
5
|
-
import { cn } from "../../../lib/utils";
|
|
6
|
-
import { Skeleton } from "../skeleton";
|
|
7
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip";
|
|
8
|
-
import { useSidebar } from "./context";
|
|
5
|
+
import { cn } from "../../../lib/utils.js";
|
|
6
|
+
import { Skeleton } from "../skeleton.js";
|
|
7
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip.js";
|
|
8
|
+
import { useSidebar } from "./context.js";
|
|
9
9
|
const sidebarMenuButtonVariants = cva("peer/menu-button relative flex w-full items-center gap-(--control-gap) overflow-hidden rounded-[var(--sidebar-item-radius)] px-(--sidebar-item-padding-x) py-1 text-left text-sm text-sidebar-foreground/72 ring-sidebar-ring outline-hidden transition-[color,background-color,box-shadow,width,height,padding] before:absolute before:inset-y-1 before:left-0 before:w-(--sidebar-active-indicator-width) before:rounded-r-sm before:bg-transparent before:content-[''] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:mx-auto group-data-[collapsible=icon]:size-(--control-height)! group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:p-0! group-data-[collapsible=icon]:before:hidden group-data-[collapsible=icon]:[&>span:not([data-slot=avatar])]:hidden hover:bg-sidebar-accent/65 hover:text-sidebar-accent-foreground hover:[&>svg]:text-sidebar-accent-foreground focus-visible:ring-[var(--focus-ring-width)] active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent/75 data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[active=true]:shadow-none data-[active=true]:before:bg-sidebar-primary data-[active=true]:[&>svg]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-(--sidebar-icon-size) [&>svg]:shrink-0 [&>svg]:text-sidebar-foreground/52", {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { useIsMobile } from "../../../hooks/use-mobile";
|
|
4
|
-
import { cn } from "../../../lib/utils";
|
|
5
|
-
import { TooltipProvider } from "../tooltip";
|
|
6
|
-
import { SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SidebarContext, } from "./context";
|
|
3
|
+
import { useIsMobile } from "../../../hooks/use-mobile.js";
|
|
4
|
+
import { cn } from "../../../lib/utils.js";
|
|
5
|
+
import { TooltipProvider } from "../tooltip.js";
|
|
6
|
+
import { SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SidebarContext, } from "./context.js";
|
|
7
7
|
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }) {
|
|
8
8
|
const isMobile = useIsMobile();
|
|
9
9
|
const [openMobile, setOpenMobile] = React.useState(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useSidebar } from "./context";
|
|
3
|
-
import { cn } from "../../../lib/utils";
|
|
2
|
+
import { useSidebar } from "./context.js";
|
|
3
|
+
import { cn } from "../../../lib/utils.js";
|
|
4
4
|
function SidebarRail({ className, onClick, ...props }) {
|
|
5
5
|
const { toggleSidebar } = useSidebar();
|
|
6
6
|
return (_jsx("button", { "data-sidebar": "rail", "data-slot": "sidebar-rail", "aria-label": "Toggle Sidebar", tabIndex: -1, onClick: (event) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MenuIcon, PanelLeftCloseIcon, PanelLeftOpenIcon } from "lucide-react";
|
|
3
|
-
import { Button } from "../button";
|
|
4
|
-
import { useSidebar } from "./context";
|
|
5
|
-
import { cn } from "../../../lib/utils";
|
|
3
|
+
import { Button } from "../button.js";
|
|
4
|
+
import { useSidebar } from "./context.js";
|
|
5
|
+
import { cn } from "../../../lib/utils.js";
|
|
6
6
|
function SidebarTrigger({ className, onClick, ...props }) {
|
|
7
7
|
const { isMobile, openMobile, state, toggleSidebar } = useSidebar();
|
|
8
8
|
const isExpanded = isMobile ? openMobile : state === "expanded";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MonitorIcon, MoonIcon, SunIcon } from "lucide-react";
|
|
3
|
-
import { DropdownMenuSeparator } from "./dropdown-menu";
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
3
|
+
import { DropdownMenuSeparator } from "./dropdown-menu.js";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
5
|
const sidebarAccountThemeModes = ["light", "dark", "system"];
|
|
6
6
|
function AccountThemeSection({ mode, onModeChange, }) {
|
|
7
7
|
if (!mode || !onModeChange)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import { type SidebarAccountThemeMode } from "./sidebar-account-menu-theme";
|
|
2
|
+
import { type SidebarAccountThemeMode } from "./sidebar-account-menu-theme.js";
|
|
3
3
|
type SidebarAccountMenuProps = {
|
|
4
4
|
username?: string | null;
|
|
5
5
|
email?: string | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronUpIcon, LogOutIcon } from "lucide-react";
|
|
3
|
-
import { Avatar, AvatarFallback, AvatarImage } from "./avatar";
|
|
4
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "./dropdown-menu";
|
|
5
|
-
import { SidebarMenu, SidebarMenuButton, SidebarMenuItem } from "./sidebar/menu";
|
|
6
|
-
import { useSidebar } from "./sidebar/context";
|
|
7
|
-
import { AccountThemeSection } from "./sidebar-account-menu-theme";
|
|
8
|
-
import { Spinner } from "./spinner";
|
|
9
|
-
import { cn } from "../../lib/utils";
|
|
3
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./avatar.js";
|
|
4
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "./dropdown-menu.js";
|
|
5
|
+
import { SidebarMenu, SidebarMenuButton, SidebarMenuItem } from "./sidebar/menu.js";
|
|
6
|
+
import { useSidebar } from "./sidebar/context.js";
|
|
7
|
+
import { AccountThemeSection } from "./sidebar-account-menu-theme.js";
|
|
8
|
+
import { Spinner } from "./spinner.js";
|
|
9
|
+
import { cn } from "../../lib/utils.js";
|
|
10
10
|
function SidebarAccountMenu({ username, email, imageUrl, onSignOut, isSigningOut = false, themeMode, onThemeModeChange, className, children, }) {
|
|
11
11
|
const { isMobile, state } = useSidebar();
|
|
12
12
|
const label = getAccountLabel(username, email);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarSeparator, } from "./sidebar/layout";
|
|
2
|
-
export { SidebarRail } from "./sidebar/rail";
|
|
3
|
-
export { SidebarTrigger } from "./sidebar/trigger";
|
|
4
|
-
export { SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, } from "./sidebar/group";
|
|
5
|
-
export { SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, } from "./sidebar/menu";
|
|
6
|
-
export { SidebarProvider } from "./sidebar/provider";
|
|
7
|
-
export { useSidebar } from "./sidebar/context";
|
|
1
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarSeparator, } from "./sidebar/layout.js";
|
|
2
|
+
export { SidebarRail } from "./sidebar/rail.js";
|
|
3
|
+
export { SidebarTrigger } from "./sidebar/trigger.js";
|
|
4
|
+
export { SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, } from "./sidebar/group.js";
|
|
5
|
+
export { SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, } from "./sidebar/menu.js";
|
|
6
|
+
export { SidebarProvider } from "./sidebar/provider.js";
|
|
7
|
+
export { useSidebar } from "./sidebar/context.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarSeparator, } from "./sidebar/layout";
|
|
2
|
-
export { SidebarRail } from "./sidebar/rail";
|
|
3
|
-
export { SidebarTrigger } from "./sidebar/trigger";
|
|
4
|
-
export { SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, } from "./sidebar/group";
|
|
5
|
-
export { SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, } from "./sidebar/menu";
|
|
6
|
-
export { SidebarProvider } from "./sidebar/provider";
|
|
7
|
-
export { useSidebar } from "./sidebar/context";
|
|
1
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarSeparator, } from "./sidebar/layout.js";
|
|
2
|
+
export { SidebarRail } from "./sidebar/rail.js";
|
|
3
|
+
export { SidebarTrigger } from "./sidebar/trigger.js";
|
|
4
|
+
export { SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, } from "./sidebar/group.js";
|
|
5
|
+
export { SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, } from "./sidebar/menu.js";
|
|
6
|
+
export { SidebarProvider } from "./sidebar/provider.js";
|
|
7
|
+
export { useSidebar } from "./sidebar/context.js";
|
|
@@ -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 { Slider as SliderPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
5
|
function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }) {
|
|
6
6
|
const _values = React.useMemo(() => (Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max]), [value, defaultValue, min, max]);
|
|
7
7
|
return (_jsxs(SliderPrimitive.Root, { "data-slot": "slider", defaultValue: defaultValue, value: value, min: min, max: max, className: cn("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", className), ...props, children: [_jsx(SliderPrimitive.Track, { "data-slot": "slider-track", className: cn("relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"), children: _jsx(SliderPrimitive.Range, { "data-slot": "slider-range", className: cn("absolute bg-primary data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full") }) }), Array.from({ length: _values.length }, (_, index) => (_jsx(SliderPrimitive.Thumb, { "data-slot": "slider-thumb", className: "block size-4 shrink-0 rounded-full border border-primary bg-surface shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-[var(--focus-ring-width)] focus-visible:ring-[var(--focus-ring-width)] focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50" }, index)))] }));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { CircleCheckIcon, InfoIcon, OctagonXIcon, TriangleAlertIcon } from "lucide-react";
|
|
4
4
|
import { toast, Toaster as Sonner } from "sonner";
|
|
5
|
-
import { Spinner } from "./spinner";
|
|
5
|
+
import { Spinner } from "./spinner.js";
|
|
6
6
|
const toasterStyle = {
|
|
7
7
|
"--normal-bg": "var(--popover)",
|
|
8
8
|
"--normal-text": "var(--popover-foreground)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Loader2Icon } from "lucide-react";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
4
|
import { css } from "#ui/styled-system/css";
|
|
5
5
|
const spinnerClassName = css({
|
|
6
6
|
animation: "spin",
|