@ciridae/ui 0.10.0 → 0.11.2
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 +23 -5
- 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 +2 -2
- package/dist/components/blocks/comment-thread.js +35 -5
- 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 +2 -2
- package/dist/components/blocks/feedback-date-format.js +2 -2
- package/dist/components/blocks/feedback-detail-sheet.d.ts +1 -1
- package/dist/components/blocks/feedback-detail-sheet.js +14 -14
- 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-tracking-types.d.ts +7 -1
- package/dist/components/blocks/feedback-triage-timeline.d.ts +11 -0
- package/dist/components/blocks/feedback-triage-timeline.js +17 -0
- package/dist/components/blocks/feedback-type-badge.d.ts +7 -2
- package/dist/components/blocks/feedback-type-badge.js +14 -8
- package/dist/components/blocks/feedback-unread-badge.d.ts +6 -0
- package/dist/components/blocks/feedback-unread-badge.js +9 -0
- package/dist/components/blocks/feedback-user-detail.d.ts +1 -1
- package/dist/components/blocks/feedback-user-detail.js +10 -10
- package/dist/components/blocks/feedback-user-list.d.ts +1 -1
- package/dist/components/blocks/feedback-user-list.js +11 -11
- 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 +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/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/timestamp-format.d.ts +7 -1
- package/dist/components/blocks/timestamp-format.js +9 -1
- 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.d.ts +22 -6
- package/dist/components/ui/data-table-facet-filter.js +38 -26
- 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.d.ts +14 -0
- package/dist/components/ui/data-table-search-input.js +15 -0
- 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 +9 -5
- 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 -0
- package/dist/entries/data-table-search-input.js +1 -0
- 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 -0
- package/dist/entries/feedback-triage-timeline.js +1 -0
- 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 -0
- package/dist/entries/feedback-unread-badge.js +1 -0
- 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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { SearchIcon, XIcon } from "lucide-react";
|
|
3
|
-
import { feedbackStatusOptions, feedbackTypeOptions, } from "../blocks/feedback-tracking-types";
|
|
4
|
-
import { Button } from "../ui/button";
|
|
5
|
-
import { Input } from "../ui/input";
|
|
6
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../ui/select";
|
|
3
|
+
import { feedbackStatusOptions, feedbackTypeOptions, } from "../blocks/feedback-tracking-types.js";
|
|
4
|
+
import { Button } from "../ui/button.js";
|
|
5
|
+
import { Input } from "../ui/input.js";
|
|
6
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../ui/select.js";
|
|
7
7
|
function FeedbackFiltersToolbar({ filters, hasActiveFilters, onClearFilters, onFiltersChange, }) {
|
|
8
8
|
return (_jsxs("div", { className: "flex flex-col gap-2 md:flex-row md:items-center md:justify-between", children: [_jsx(FeedbackSearchInput, { onSearchChange: (search) => onFiltersChange({ ...filters, search }), search: filters.search }), _jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center", children: [_jsx(FeedbackStatusFilter, { onStatusChange: (status) => onFiltersChange({ ...filters, status }), status: filters.status }), _jsx(FeedbackTypeFilter, { onTypeChange: (type) => onFiltersChange({ ...filters, type }), type: filters.type }), hasActiveFilters ? _jsx(ClearFiltersButton, { onClearFilters: onClearFilters }) : null] })] }));
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { type FeedbackMetrics, type StakeholderFeedbackItem } from "../blocks/feedback-tracking-types";
|
|
2
|
+
import { type FeedbackMetrics, type StakeholderFeedbackItem } from "../blocks/feedback-tracking-types.js";
|
|
3
3
|
type FeedbackStakeholderPageProps = {
|
|
4
4
|
isLoading?: boolean;
|
|
5
5
|
items: StakeholderFeedbackItem[];
|
|
@@ -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 { FeedbackDetailSheet } from "../blocks/feedback-detail-sheet";
|
|
4
|
-
import { FeedbackMetricsStrip } from "../blocks/feedback-metrics";
|
|
5
|
-
import { FeedbackTable } from "../blocks/feedback-table";
|
|
6
|
-
import { ClearFiltersButton, FeedbackFiltersToolbar, } from "./feedback-stakeholder-page-parts";
|
|
7
|
-
import { PageHeader, PageHeaderContent, PageHeaderDescription, PageHeaderMain, PageHeaderTitle, } from "../ui/page-header";
|
|
3
|
+
import { FeedbackDetailSheet } from "../blocks/feedback-detail-sheet.js";
|
|
4
|
+
import { FeedbackMetricsStrip } from "../blocks/feedback-metrics.js";
|
|
5
|
+
import { FeedbackTable } from "../blocks/feedback-table.js";
|
|
6
|
+
import { ClearFiltersButton, FeedbackFiltersToolbar, } from "./feedback-stakeholder-page-parts.js";
|
|
7
|
+
import { PageHeader, PageHeaderContent, PageHeaderDescription, PageHeaderMain, PageHeaderTitle, } from "../ui/page-header.js";
|
|
8
8
|
function FeedbackStakeholderPage({ isLoading = false, items, metrics, }) {
|
|
9
9
|
const [filters, setFilters] = React.useState(defaultFilters);
|
|
10
10
|
const [selectedFeedback, setSelectedFeedback] = React.useState();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { KanbanCardData, KanbanColumnData, KanbanMoveEvent } from "../blocks/kanban-types";
|
|
2
|
+
import type { KanbanCardData, KanbanColumnData, KanbanMoveEvent } from "../blocks/kanban-types.js";
|
|
3
3
|
type KanbanPageProps = {
|
|
4
4
|
cards: KanbanCardData[];
|
|
5
5
|
columns: KanbanColumnData[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { PlusIcon, SearchIcon } from "lucide-react";
|
|
4
|
-
import { KanbanBoard } from "../blocks/kanban-board";
|
|
5
|
-
import { KanbanDetailSheet } from "../blocks/kanban-detail-sheet";
|
|
6
|
-
import { Button } from "../ui/button";
|
|
7
|
-
import { InputGroup, InputGroupAddon, InputGroupInput, InputGroupText } from "../ui/input-group";
|
|
8
|
-
import { PageHeader, PageHeaderActions, PageHeaderContent, PageHeaderDescription, PageHeaderMain, PageHeaderTitle, } from "../ui/page-header";
|
|
4
|
+
import { KanbanBoard } from "../blocks/kanban-board.js";
|
|
5
|
+
import { KanbanDetailSheet } from "../blocks/kanban-detail-sheet.js";
|
|
6
|
+
import { Button } from "../ui/button.js";
|
|
7
|
+
import { InputGroup, InputGroupAddon, InputGroupInput, InputGroupText } from "../ui/input-group.js";
|
|
8
|
+
import { PageHeader, PageHeaderActions, PageHeaderContent, PageHeaderDescription, PageHeaderMain, PageHeaderTitle, } from "../ui/page-header.js";
|
|
9
9
|
function KanbanPage({ cards, columns, isLoading = false, onCardMove, onCreateCard, renderCardActions, renderColumnActions, }) {
|
|
10
10
|
const [search, setSearch] = React.useState("");
|
|
11
11
|
const [selectedCardId, setSelectedCardId] = React.useState();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronDownIcon } from "lucide-react";
|
|
3
3
|
import { Accordion as AccordionPrimitive } from "radix-ui";
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
5
|
function Accordion({ ...props }) {
|
|
6
6
|
return _jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
|
|
3
|
-
import { type ButtonVariantProps } from "./button-variants";
|
|
3
|
+
import { type ButtonVariantProps } from "./button-variants.js";
|
|
4
4
|
declare function AlertDialogPortalContainerProvider({ children, container, }: {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
container: HTMLElement | null;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
|
|
5
|
-
import { cn } from "../../lib/utils";
|
|
6
|
-
import { buttonVariants } from "./button-variants";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
import { buttonVariants } from "./button-variants.js";
|
|
7
7
|
const AlertDialogPortalContainerContext = React.createContext({
|
|
8
8
|
container: null,
|
|
9
9
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
4
|
const alertVariants = cva("relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-(--panel-padding) py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
5
5
|
variants: {
|
|
6
6
|
variant: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../../lib/utils";
|
|
3
|
-
import { PageHeader, PageHeaderActions, PageHeaderContent, PageHeaderDescription, PageHeaderMain, PageHeaderTitle, } from "./page-header";
|
|
4
|
-
import { SidebarTrigger } from "./sidebar";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
3
|
+
import { PageHeader, PageHeaderActions, PageHeaderContent, PageHeaderDescription, PageHeaderMain, PageHeaderTitle, } from "./page-header.js";
|
|
4
|
+
import { SidebarTrigger } from "./sidebar.js";
|
|
5
5
|
function AppShellPage({ className, ...props }) {
|
|
6
6
|
return (_jsx("div", { "data-slot": "app-shell-page", className: cn("flex min-h-0 flex-1 flex-col bg-background text-foreground", className), ...props }));
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { SidebarAccountThemeMode } from "./sidebar-account-menu-theme";
|
|
3
|
-
import type { SidebarProviderStyle } from "./sidebar/context";
|
|
2
|
+
import type { SidebarAccountThemeMode } from "./sidebar-account-menu-theme.js";
|
|
3
|
+
import type { SidebarProviderStyle } from "./sidebar/context.js";
|
|
4
4
|
type AppShellBrand = {
|
|
5
5
|
name: string;
|
|
6
6
|
iconLight: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
4
|
-
import { SidebarAccountMenu } from "./sidebar-account-menu";
|
|
5
|
-
import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarTrigger, } from "./sidebar";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { SidebarAccountMenu } from "./sidebar-account-menu.js";
|
|
5
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarTrigger, } from "./sidebar.js";
|
|
6
6
|
const defaultSidebarStyle = {
|
|
7
7
|
"--sidebar-width": "15.5rem",
|
|
8
8
|
"--sidebar-width-icon": "3rem",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as AvatarPrimitive } from "radix-ui";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
4
|
function Avatar({ className, size = "default", ...props }) {
|
|
5
5
|
return (_jsx(AvatarPrimitive.Root, { "data-slot": "avatar", "data-size": size, className: cn("group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6", className), ...props }));
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RecipeVariantProps } from "#ui/styled-system/css";
|
|
2
|
-
declare const badgeVariants: import("../../styled-system/types").RecipeRuntimeFn<{
|
|
2
|
+
declare const badgeVariants: import("../../styled-system/types/index.js").RecipeRuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
4
|
default: {
|
|
5
5
|
backgroundColor: "muted.subtle";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { type BadgeVariantProps } from "./badge-variants";
|
|
2
|
+
import { type BadgeVariantProps } from "./badge-variants.js";
|
|
3
3
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & BadgeVariantProps & {
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
}): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Slot } from "radix-ui";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
4
|
-
import { badgeVariants } from "./badge-variants";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { badgeVariants } from "./badge-variants.js";
|
|
5
5
|
function Badge({ className, variant = "default", asChild = false, ...props }) {
|
|
6
6
|
const Comp = asChild ? Slot.Root : "span";
|
|
7
7
|
return (_jsx(Comp, { "data-slot": "badge", "data-variant": variant, className: cn(badgeVariants({ variant }), className), ...props }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronRight, MoreHorizontal } from "lucide-react";
|
|
3
3
|
import { Slot } from "radix-ui";
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
5
|
function Breadcrumb({ ...props }) {
|
|
6
6
|
return _jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Separator } from "./separator";
|
|
2
|
-
import { type ButtonGroupVariantProps } from "./button-group-variants";
|
|
1
|
+
import { Separator } from "./separator.js";
|
|
2
|
+
import { type ButtonGroupVariantProps } from "./button-group-variants.js";
|
|
3
3
|
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & ButtonGroupVariantProps): import("@types/react").JSX.Element;
|
|
4
4
|
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
5
5
|
asChild?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Slot } from "radix-ui";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
4
|
-
import { Separator } from "./separator";
|
|
5
|
-
import { buttonGroupVariants } from "./button-group-variants";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { Separator } from "./separator.js";
|
|
5
|
+
import { buttonGroupVariants } from "./button-group-variants.js";
|
|
6
6
|
function ButtonGroup({ className, orientation, ...props }) {
|
|
7
7
|
return (_jsx("div", { role: "group", "data-slot": "button-group", "data-orientation": orientation, className: cn(buttonGroupVariants({ orientation }), className), ...props }));
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RecipeVariantProps } from "#ui/styled-system/css";
|
|
2
|
-
declare const buttonVariants: import("../../styled-system/types").RecipeRuntimeFn<{
|
|
2
|
+
declare const buttonVariants: import("../../styled-system/types/index.js").RecipeRuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
4
|
default: {
|
|
5
5
|
backgroundColor: "primary";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { type ButtonVariantProps } from "./button-variants";
|
|
2
|
+
import { type ButtonVariantProps } from "./button-variants.js";
|
|
3
3
|
declare function Button({ children, className, variant, size, asChild, disabled, loading, loadingLabel, onClick, tabIndex, ...props }: React.ComponentProps<"button"> & ButtonVariantProps & {
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
loading?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Slot } from "radix-ui";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
4
|
-
import { buttonVariants } from "./button-variants";
|
|
5
|
-
import { Spinner } from "./spinner";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { buttonVariants } from "./button-variants.js";
|
|
5
|
+
import { Spinner } from "./spinner.js";
|
|
6
6
|
function Button({ children, className, variant = "default", size = "default", asChild = false, disabled, loading = false, loadingLabel = "Loading", onClick, tabIndex, ...props }) {
|
|
7
7
|
const Comp = asChild ? Slot.Root : "button";
|
|
8
8
|
const isDisabled = disabled || loading;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { DayPicker, type DayButton } from "react-day-picker";
|
|
3
|
-
import { Button } from "./button";
|
|
3
|
+
import { Button } from "./button.js";
|
|
4
4
|
type CalendarProps = React.ComponentProps<typeof DayPicker> & {
|
|
5
5
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
6
6
|
initialFocus?: boolean;
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
4
4
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
5
|
-
import { cn } from "../../lib/utils";
|
|
6
|
-
import { Button } from "./button";
|
|
7
|
-
import { buttonVariants } from "./button-variants";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
import { Button } from "./button.js";
|
|
7
|
+
import { buttonVariants } from "./button-variants.js";
|
|
8
8
|
function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, initialFocus: _initialFocus, components, ...props }) {
|
|
9
9
|
const defaultClassNames = getDefaultClassNames();
|
|
10
10
|
const mergedClassNames = getCalendarClassNames({
|
|
@@ -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
|
const cardVariants = {
|
|
4
4
|
section: "bg-transparent py-(--panel-padding) text-foreground shadow-none",
|
|
5
5
|
surface: "rounded-lg border bg-card py-(--panel-padding) text-card-foreground shadow-xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
|
|
3
|
-
import { Button } from "./button";
|
|
3
|
+
import { Button } from "./button.js";
|
|
4
4
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
5
5
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
6
6
|
type CarouselOptions = UseCarouselParameters[0];
|
|
@@ -3,8 +3,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import useEmblaCarousel from "embla-carousel-react";
|
|
5
5
|
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
6
|
-
import { cn } from "../../lib/utils";
|
|
7
|
-
import { Button } from "./button";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
7
|
+
import { Button } from "./button.js";
|
|
8
8
|
const CarouselContext = React.createContext(null);
|
|
9
9
|
function useCarousel() {
|
|
10
10
|
const context = React.useContext(CarouselContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../../lib/utils";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
3
3
|
function ChartPanel({ title, description, meta, actions, children, className, ...props }) {
|
|
4
4
|
return (_jsxs("section", { "data-slot": "chart-panel", className: cn("flex flex-col gap-(--panel-gap) border-t border-border bg-transparent py-(--panel-padding) text-foreground", className), ...props, children: [_jsxs("div", { className: "flex flex-col gap-2 px-(--panel-padding) sm:flex-row sm:items-start sm:justify-between", children: [_jsxs("div", { className: "grid gap-2", children: [_jsxs("div", { className: "flex flex-wrap items-baseline gap-x-3 gap-y-1", children: [_jsx("h2", { className: "leading-none font-medium", children: title }), meta ? (_jsx("div", { className: "font-mono text-sm text-muted-foreground tabular-nums", children: meta })) : null] }), description ? _jsx("p", { className: "text-sm text-muted-foreground", children: description }) : null] }), actions ? _jsx("div", { className: "flex items-center gap-2", children: actions }) : null] }), _jsx("div", { className: "px-(--panel-padding)", children: children })] }));
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { cn } from "../../lib/utils";
|
|
4
|
-
import { getNestedPayloadString, getPayloadConfigFromPayload, useChart, } from "./chart-context";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { getNestedPayloadString, getPayloadConfigFromPayload, useChart, } from "./chart-context.js";
|
|
5
5
|
function ChartTooltipContent({ active, payload, className, indicator = "dot", hideLabel = false, hideIndicator = false, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }) {
|
|
6
6
|
const { config } = useChart();
|
|
7
7
|
const tooltipLabel = useChartTooltipLabel({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as RechartsPrimitive from "recharts";
|
|
3
|
-
import { type ChartConfig } from "./chart-context";
|
|
4
|
-
import { ChartTooltipContent } from "./chart-tooltip";
|
|
3
|
+
import { type ChartConfig } from "./chart-context.js";
|
|
4
|
+
import { ChartTooltipContent } from "./chart-tooltip.js";
|
|
5
5
|
declare function ChartContainer({ id, className, children, config, initialDimension, ...props }: React.ComponentProps<"div"> & {
|
|
6
6
|
config: ChartConfig;
|
|
7
7
|
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
@@ -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 * as RechartsPrimitive from "recharts";
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
5
|
-
import { ChartContext, THEMES, THEME_NAMES, getPayloadConfigFromPayload, useChart, } from "./chart-context";
|
|
6
|
-
import { ChartTooltipContent } from "./chart-tooltip";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
import { ChartContext, THEMES, THEME_NAMES, getPayloadConfigFromPayload, useChart, } from "./chart-context.js";
|
|
6
|
+
import { ChartTooltipContent } from "./chart-tooltip.js";
|
|
7
7
|
const INITIAL_DIMENSION = { width: 320, height: 200 };
|
|
8
8
|
function ChartContainer({ id, className, children, config, initialDimension = INITIAL_DIMENSION, ...props }) {
|
|
9
9
|
const uniqueId = React.useId();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { CheckIcon, MinusIcon } from "lucide-react";
|
|
4
4
|
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
5
|
-
import { cn } from "../../lib/utils";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
6
|
function Checkbox({ className, ...props }) {
|
|
7
7
|
return (_jsx(CheckboxPrimitive.Root, { "data-slot": "checkbox", className: cn("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[var(--focus-ring-width)] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary dark:data-[state=indeterminate]:bg-primary", className), ...props, children: _jsx(CheckboxPrimitive.Indicator, { "data-slot": "checkbox-indicator", className: "grid place-content-center text-current transition-none", children: props.checked === "indeterminate" ? (_jsx(MinusIcon, { className: "size-3.5" })) : (_jsx(CheckIcon, { className: "size-3.5" })) }) }));
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { lazy, Suspense } from "react";
|
|
3
|
-
import { ThemeProvider, useTheme } from "./color-theme";
|
|
4
|
-
import { Toaster } from "./sonner";
|
|
5
|
-
import { TooltipProvider } from "./tooltip";
|
|
3
|
+
import { ThemeProvider, useTheme } from "./color-theme.js";
|
|
4
|
+
import { Toaster } from "./sonner.js";
|
|
5
|
+
import { TooltipProvider } from "./tooltip.js";
|
|
6
6
|
const LazyAgentation = lazy(() => import("agentation").then((module) => ({ default: module.Agentation })));
|
|
7
7
|
function CiridaeUiToaster() {
|
|
8
8
|
const { mode } = useTheme();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { PaletteSelection } from "../../lib/palette";
|
|
2
|
+
import type { PaletteSelection } from "../../lib/palette.js";
|
|
3
3
|
type ThemeMode = "light" | "dark" | "system";
|
|
4
4
|
type ResolvedTheme = "light" | "dark";
|
|
5
5
|
type ThemeContextValue = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { type ResolvedTheme, type ThemeMode, type ThemeProviderProps } from "./color-theme-context";
|
|
2
|
+
import { type ResolvedTheme, type ThemeMode, type ThemeProviderProps } from "./color-theme-context.js";
|
|
3
3
|
declare function ThemeProvider({ children, defaultMode, defaultPalette, storageKey, paletteStorageKey, }: ThemeProviderProps): React.JSX.Element;
|
|
4
4
|
export { ThemeProvider, type ResolvedTheme, type ThemeMode, type ThemeProviderProps };
|
|
5
|
-
export { useTheme } from "./use-color-theme";
|
|
5
|
+
export { useTheme } from "./use-color-theme.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { PALETTE_TOKEN_NAMES, canonicalPaletteSelection, derivePaletteTokens, paletteSelectionKey, resolvePaletteSelection, } from "../../lib/palette";
|
|
4
|
-
import { readStoredValue, removeStoredValue, writeStoredValue } from "../../lib/browser-storage";
|
|
5
|
-
import { ThemeContext, } from "./color-theme-context";
|
|
3
|
+
import { PALETTE_TOKEN_NAMES, canonicalPaletteSelection, derivePaletteTokens, paletteSelectionKey, resolvePaletteSelection, } from "../../lib/palette.js";
|
|
4
|
+
import { readStoredValue, removeStoredValue, writeStoredValue } from "../../lib/browser-storage.js";
|
|
5
|
+
import { ThemeContext, } from "./color-theme-context.js";
|
|
6
6
|
const defaultStorageKey = "ciridae-ui-theme";
|
|
7
7
|
const defaultPaletteStorageKey = "ciridae-ui-palette";
|
|
8
8
|
function ThemeProvider({ children, defaultMode = "system", defaultPalette, storageKey = defaultStorageKey, paletteStorageKey = defaultPaletteStorageKey, }) {
|
|
@@ -32,7 +32,9 @@ function ThemeProvider({ children, defaultMode = "system", defaultPalette, stora
|
|
|
32
32
|
}, [resolvedTheme]);
|
|
33
33
|
usePaletteTokens(palette, resolvedTheme);
|
|
34
34
|
React.useEffect(() => {
|
|
35
|
-
const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
|
35
|
+
const mediaQuery = window.matchMedia?.("(prefers-color-scheme: dark)");
|
|
36
|
+
if (!mediaQuery)
|
|
37
|
+
return;
|
|
36
38
|
const updateSystemTheme = () => {
|
|
37
39
|
setSystemTheme(mediaQuery.matches ? "dark" : "light");
|
|
38
40
|
};
|
|
@@ -139,7 +141,7 @@ function parseStoredPalette(value) {
|
|
|
139
141
|
return null;
|
|
140
142
|
}
|
|
141
143
|
function getSystemTheme() {
|
|
142
|
-
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
144
|
+
return window.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
143
145
|
}
|
|
144
146
|
export { ThemeProvider };
|
|
145
|
-
export { useTheme } from "./use-color-theme";
|
|
147
|
+
export { useTheme } from "./use-color-theme.js";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
4
4
|
import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react";
|
|
5
|
-
import { cn } from "../../lib/utils";
|
|
6
|
-
import { Button } from "./button";
|
|
7
|
-
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "./input-group";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
import { Button } from "./button.js";
|
|
7
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "./input-group.js";
|
|
8
8
|
const Combobox = ComboboxPrimitive.Root;
|
|
9
9
|
function ComboboxValue({ ...props }) {
|
|
10
10
|
return _jsx(ComboboxPrimitive.Value, { "data-slot": "combobox-value", ...props });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Command as CommandPrimitive } from "cmdk";
|
|
3
|
-
import { Dialog } from "./dialog";
|
|
3
|
+
import { Dialog } from "./dialog.js";
|
|
4
4
|
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): React.JSX.Element;
|
|
5
5
|
declare function CommandDialog({ title, description, children, className, commandProps, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
|
|
6
6
|
title?: string;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Command as CommandPrimitive } from "cmdk";
|
|
4
4
|
import { SearchIcon, XIcon } from "lucide-react";
|
|
5
|
-
import { cn } from "../../lib/utils";
|
|
6
|
-
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "./dialog";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "./dialog.js";
|
|
7
7
|
function Command({ className, ...props }) {
|
|
8
8
|
return (_jsx(CommandPrimitive, { "data-slot": "command", className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", className), ...props }));
|
|
9
9
|
}
|
|
@@ -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 { ContextMenu as ContextMenuPrimitive } from "radix-ui";
|
|
6
|
-
import { cn } from "../../lib/utils";
|
|
6
|
+
import { cn } from "../../lib/utils.js";
|
|
7
7
|
const ContextMenuPortalContainerContext = React.createContext({
|
|
8
8
|
container: null,
|
|
9
9
|
disableModalBehavior: false,
|
|
@@ -4,11 +4,11 @@ import { closestCenter, DndContext, KeyboardSensor, PointerSensor, useSensor, us
|
|
|
4
4
|
import { arrayMove, SortableContext, sortableKeyboardCoordinates, useSortable, verticalListSortingStrategy, } from "@dnd-kit/sortable";
|
|
5
5
|
import { CSS } from "@dnd-kit/utilities";
|
|
6
6
|
import { GripVerticalIcon, SlidersHorizontalIcon } from "lucide-react";
|
|
7
|
-
import { cn } from "../../lib/utils";
|
|
8
|
-
import { useDataTable } from "./data-table-context";
|
|
9
|
-
import { Button } from "./button";
|
|
10
|
-
import { Checkbox } from "./checkbox";
|
|
11
|
-
import { Sheet, SheetBody, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, } from "./sheet";
|
|
7
|
+
import { cn } from "../../lib/utils.js";
|
|
8
|
+
import { useDataTable } from "./data-table-context.js";
|
|
9
|
+
import { Button } from "./button.js";
|
|
10
|
+
import { Checkbox } from "./checkbox.js";
|
|
11
|
+
import { Sheet, SheetBody, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, } from "./sheet.js";
|
|
12
12
|
/**
|
|
13
13
|
* Choose which columns appear and in what order.
|
|
14
14
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { Table as TanStackTable } from "@tanstack/react-table";
|
|
3
|
-
import type { ResolvedDataTableLabels, TanStackDataTableProps } from "./data-table-tanstack";
|
|
3
|
+
import type { ResolvedDataTableLabels, TanStackDataTableProps } from "./data-table-tanstack.js";
|
|
4
4
|
declare function DataTableTools<TData, TValue>({ labels, props, table, }: {
|
|
5
5
|
labels: ResolvedDataTableLabels;
|
|
6
6
|
props: TanStackDataTableProps<TData, TValue>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { SearchIcon, SlidersHorizontalIcon } from "lucide-react";
|
|
3
|
-
import { Button } from "./button";
|
|
4
|
-
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "./dropdown-menu";
|
|
5
|
-
import { Input } from "./input";
|
|
3
|
+
import { Button } from "./button.js";
|
|
4
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "./dropdown-menu.js";
|
|
5
|
+
import { Input } from "./input.js";
|
|
6
6
|
function DataTableTools({ labels, props, table, }) {
|
|
7
7
|
return (_jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between", children: [_jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [props.filterMode !== false ? (_jsx(DataTableFilter, { filterMode: props.filterMode ?? "global", placeholder: props.filterPlaceholder ?? labels.filterPlaceholder, table: table })) : null, props.toolbar] }), _jsxs("div", { className: "flex items-center gap-2", children: [props.actions, props.enableColumnVisibility !== false ? (_jsx(DataTableColumnVisibility, { table: table, title: labels.columns })) : null] })] }));
|
|
8
8
|
}
|
|
@@ -7,17 +7,33 @@ type DataTableFacetOption = {
|
|
|
7
7
|
value: string;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The facet-filter popover, controlled: one button per facet that wears the
|
|
11
|
+
* current selection, checkable values inside. The caller owns the selection --
|
|
12
|
+
* URL search state, column filters, anything -- and receives the whole next
|
|
13
|
+
* selection on every toggle, so the popover can never disagree with the list
|
|
14
|
+
* it narrows and there is nothing to apply or discard on close.
|
|
15
|
+
*/
|
|
16
|
+
declare function FacetFilter({ counts, onSelectionChange, options, selected, title, }: {
|
|
17
|
+
/** Rows each option would leave, shown when provided. */
|
|
18
|
+
counts?: ReadonlyMap<string, number>;
|
|
19
|
+
onSelectionChange: (values: string[]) => void;
|
|
20
|
+
options: DataTableFacetOption[];
|
|
21
|
+
selected: readonly string[];
|
|
22
|
+
title: string;
|
|
23
|
+
}): React.JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* The column-bound binding: narrow a column to a set of its own values.
|
|
11
26
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
27
|
+
* Selection lives in the column's filter value, and counts come from the
|
|
28
|
+
* table's faceted row model, which `TanStackDataTable` already builds -- so an
|
|
29
|
+
* option can say how many rows it would leave without the caller counting
|
|
30
|
+
* anything itself. Pair with the `arrIncludesSome` filter function, which is
|
|
31
|
+
* what a multi-select selection means.
|
|
16
32
|
*/
|
|
17
33
|
declare function DataTableFacetFilter({ columnId, options, title, }: {
|
|
18
34
|
columnId: string;
|
|
19
35
|
options: DataTableFacetOption[];
|
|
20
36
|
title: string;
|
|
21
37
|
}): React.JSX.Element;
|
|
22
|
-
export { DataTableFacetFilter };
|
|
38
|
+
export { DataTableFacetFilter, FacetFilter };
|
|
23
39
|
export type { DataTableFacetOption };
|