@snksergio/design-system 0.5.0 → 0.5.1
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-lib/src/components/index.d.ts +40 -0
- package/dist-lib/src/components/index.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/accordion.d.ts +8 -0
- package/dist-lib/src/components/shadcn/accordion.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/alert-dialog.d.ts +34 -0
- package/dist-lib/src/components/shadcn/alert-dialog.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/alert.d.ts +9 -0
- package/dist-lib/src/components/shadcn/alert.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/avatar.d.ts +15 -0
- package/dist-lib/src/components/shadcn/avatar.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/badge.d.ts +96 -0
- package/dist-lib/src/components/shadcn/badge.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/breadcrumb.d.ts +20 -0
- package/dist-lib/src/components/shadcn/breadcrumb.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/calendar.d.ts +6 -0
- package/dist-lib/src/components/shadcn/calendar.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/card.d.ts +9 -0
- package/dist-lib/src/components/shadcn/card.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/checkbox.d.ts +16 -0
- package/dist-lib/src/components/shadcn/checkbox.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/command.d.ts +93 -0
- package/dist-lib/src/components/shadcn/command.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/dialog.d.ts +23 -0
- package/dist-lib/src/components/shadcn/dialog.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/dropdown-menu.d.ts +55 -0
- package/dist-lib/src/components/shadcn/dropdown-menu.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/index.d.ts +7 -0
- package/dist-lib/src/components/shadcn/index.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/input-group.d.ts +54 -0
- package/dist-lib/src/components/shadcn/input-group.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/input.d.ts +26 -0
- package/dist-lib/src/components/shadcn/input.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/label.d.ts +6 -0
- package/dist-lib/src/components/shadcn/label.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/pagination.d.ts +53 -0
- package/dist-lib/src/components/shadcn/pagination.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/popover.d.ts +28 -0
- package/dist-lib/src/components/shadcn/popover.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/progress.d.ts +12 -0
- package/dist-lib/src/components/shadcn/progress.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/radio-group.d.ts +16 -0
- package/dist-lib/src/components/shadcn/radio-group.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/select.d.ts +17 -0
- package/dist-lib/src/components/shadcn/select.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/separator.d.ts +5 -0
- package/dist-lib/src/components/shadcn/separator.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/sheet.d.ts +28 -0
- package/dist-lib/src/components/shadcn/sheet.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/slider.d.ts +5 -0
- package/dist-lib/src/components/shadcn/slider.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/switch.d.ts +16 -0
- package/dist-lib/src/components/shadcn/switch.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/tabs.d.ts +16 -0
- package/dist-lib/src/components/shadcn/tabs.d.ts.map +1 -0
- package/dist-lib/src/components/shadcn/textarea.d.ts +22 -0
- package/dist-lib/src/components/shadcn/textarea.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AlertModal/alert-modal.d.ts +3 -0
- package/dist-lib/src/components/ui/AlertModal/alert-modal.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AlertModal/alert-modal.styles.d.ts +30 -0
- package/dist-lib/src/components/ui/AlertModal/alert-modal.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AlertModal/alert-modal.types.d.ts +29 -0
- package/dist-lib/src/components/ui/AlertModal/alert-modal.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AlertModal/index.d.ts +3 -0
- package/dist-lib/src/components/ui/AlertModal/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AppShell/app-shell.d.ts +26 -0
- package/dist-lib/src/components/ui/AppShell/app-shell.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AppShell/app-shell.styles.d.ts +84 -0
- package/dist-lib/src/components/ui/AppShell/app-shell.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AppShell/app-shell.types.d.ts +111 -0
- package/dist-lib/src/components/ui/AppShell/app-shell.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AppShell/index.d.ts +5 -0
- package/dist-lib/src/components/ui/AppShell/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/AppShell/user-menu.d.ts +30 -0
- package/dist-lib/src/components/ui/AppShell/user-menu.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Avatar/avatar.d.ts +16 -0
- package/dist-lib/src/components/ui/Avatar/avatar.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Avatar/avatar.styles.d.ts +74 -0
- package/dist-lib/src/components/ui/Avatar/avatar.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Avatar/avatar.types.d.ts +16 -0
- package/dist-lib/src/components/ui/Avatar/avatar.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Avatar/index.d.ts +4 -0
- package/dist-lib/src/components/ui/Avatar/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Button/button.d.ts +3 -0
- package/dist-lib/src/components/ui/Button/button.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Button/button.styles.d.ts +147 -0
- package/dist-lib/src/components/ui/Button/button.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Button/button.types.d.ts +7 -0
- package/dist-lib/src/components/ui/Button/button.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Button/index.d.ts +4 -0
- package/dist-lib/src/components/ui/Button/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Chip/chip-group.d.ts +68 -0
- package/dist-lib/src/components/ui/Chip/chip-group.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Chip/chip.d.ts +39 -0
- package/dist-lib/src/components/ui/Chip/chip.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Chip/chip.styles.d.ts +130 -0
- package/dist-lib/src/components/ui/Chip/chip.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Chip/index.d.ts +7 -0
- package/dist-lib/src/components/ui/Chip/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/builders/column-builders.d.ts +52 -0
- package/dist-lib/src/components/ui/DataTable/builders/column-builders.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/builders/preset-view.d.ts +81 -0
- package/dist-lib/src/components/ui/DataTable/builders/preset-view.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/_filter-field.d.ts +21 -0
- package/dist-lib/src/components/ui/DataTable/column-types/_filter-field.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/column-type-registry.d.ts +22 -0
- package/dist-lib/src/components/ui/DataTable/column-types/column-type-registry.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/column-types.types.d.ts +117 -0
- package/dist-lib/src/components/ui/DataTable/column-types/column-types.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/badge-column-type.d.ts +6 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/badge-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/boolean-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/boolean-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/currency-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/currency-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/date-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/date-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/datetime-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/datetime-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/email-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/email-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/multi-select-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/multi-select-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/number-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/number-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/percentage-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/percentage-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/phone-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/phone-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/select-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/select-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/tags-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/tags-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/text-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/text-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/url-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/url-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/user-column-type.d.ts +3 -0
- package/dist-lib/src/components/ui/DataTable/column-types/definitions/user-column-type.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/column-types/index.d.ts +33 -0
- package/dist-lib/src/components/ui/DataTable/column-types/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/context/data-table-context.d.ts +43 -0
- package/dist-lib/src/components/ui/DataTable/context/data-table-context.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/data-table.d.ts +8 -0
- package/dist-lib/src/components/ui/DataTable/data-table.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/data-table.styles.d.ts +73 -0
- package/dist-lib/src/components/ui/DataTable/data-table.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/data-table.types.d.ts +576 -0
- package/dist-lib/src/components/ui/DataTable/data-table.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/state-persistence-utils.d.ts +42 -0
- package/dist-lib/src/components/ui/DataTable/hooks/state-persistence-utils.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-cols-popover-adapter.d.ts +35 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-cols-popover-adapter.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-column-auto-width.d.ts +29 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-column-auto-width.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-columns.d.ts +49 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-columns.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-controller.d.ts +42 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-controller.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-density.d.ts +14 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-density.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-export.d.ts +27 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-export.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-filters.d.ts +13 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-filters.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-pagination.d.ts +21 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-pagination.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-processor.d.ts +25 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-processor.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-query.d.ts +32 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-query.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-saved-views.d.ts +27 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-saved-views.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-search.d.ts +26 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-search.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-selection.d.ts +35 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-selection.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-sort.d.ts +37 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-sort.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-state-persistence.d.ts +15 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-state-persistence.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-view-mode.d.ts +42 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-view-mode.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-filter-popover-adapter.d.ts +51 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-filter-popover-adapter.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-sort-popover-adapter.d.ts +24 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-sort-popover-adapter.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/index.d.ts +23 -0
- package/dist-lib/src/components/ui/DataTable/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-actions-cell.d.ts +20 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-actions-cell.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-column-menu.d.ts +35 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-column-menu.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-edit-cell.d.ts +29 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-edit-cell.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-empty.d.ts +20 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-empty.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-floating-bulk-bar.d.ts +14 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-floating-bulk-bar.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-group-content-row.d.ts +33 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-group-content-row.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-group-header-row.d.ts +40 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-group-header-row.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-loading.d.ts +16 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-loading.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-no-results.d.ts +24 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-no-results.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-row-expansion.d.ts +28 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-row-expansion.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-totalizer-row.d.ts +34 -0
- package/dist-lib/src/components/ui/DataTable/parts/data-table-totalizer-row.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/parts/sortable-head-cell.d.ts +24 -0
- package/dist-lib/src/components/ui/DataTable/parts/sortable-head-cell.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/services/saved-views-mock-service.d.ts +7 -0
- package/dist-lib/src/components/ui/DataTable/services/saved-views-mock-service.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/services/saved-views.types.d.ts +69 -0
- package/dist-lib/src/components/ui/DataTable/services/saved-views.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/utils/calculate-column-widths.d.ts +28 -0
- package/dist-lib/src/components/ui/DataTable/utils/calculate-column-widths.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/utils/expand-rows.d.ts +27 -0
- package/dist-lib/src/components/ui/DataTable/utils/expand-rows.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/utils/group-rows.d.ts +59 -0
- package/dist-lib/src/components/ui/DataTable/utils/group-rows.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/utils/measure-text.d.ts +19 -0
- package/dist-lib/src/components/ui/DataTable/utils/measure-text.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/utils/operator-mapping.d.ts +6 -0
- package/dist-lib/src/components/ui/DataTable/utils/operator-mapping.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/utils/resolve-value.d.ts +19 -0
- package/dist-lib/src/components/ui/DataTable/utils/resolve-value.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FloatingPanel/floating-panel.d.ts +43 -0
- package/dist-lib/src/components/ui/FloatingPanel/floating-panel.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FloatingPanel/floating-panel.styles.d.ts +98 -0
- package/dist-lib/src/components/ui/FloatingPanel/floating-panel.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FloatingPanel/floating-panel.types.d.ts +56 -0
- package/dist-lib/src/components/ui/FloatingPanel/floating-panel.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FloatingPanel/index.d.ts +6 -0
- package/dist-lib/src/components/ui/FloatingPanel/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FloatingPanel/use-floating-panel-resize.d.ts +31 -0
- package/dist-lib/src/components/ui/FloatingPanel/use-floating-panel-resize.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FooterTable/footer-table.d.ts +29 -0
- package/dist-lib/src/components/ui/FooterTable/footer-table.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FooterTable/footer-table.types.d.ts +29 -0
- package/dist-lib/src/components/ui/FooterTable/footer-table.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FooterTable/index.d.ts +4 -0
- package/dist-lib/src/components/ui/FooterTable/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field-checkbox.d.ts +23 -0
- package/dist-lib/src/components/ui/FormField/form-field-checkbox.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field-input.d.ts +27 -0
- package/dist-lib/src/components/ui/FormField/form-field-input.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field-select.d.ts +34 -0
- package/dist-lib/src/components/ui/FormField/form-field-select.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field-switch.d.ts +25 -0
- package/dist-lib/src/components/ui/FormField/form-field-switch.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field-textarea.d.ts +9 -0
- package/dist-lib/src/components/ui/FormField/form-field-textarea.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field.d.ts +26 -0
- package/dist-lib/src/components/ui/FormField/form-field.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field.styles.d.ts +43 -0
- package/dist-lib/src/components/ui/FormField/form-field.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/form-field.types.d.ts +27 -0
- package/dist-lib/src/components/ui/FormField/form-field.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FormField/index.d.ts +14 -0
- package/dist-lib/src/components/ui/FormField/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header-breadcrumb.d.ts +17 -0
- package/dist-lib/src/components/ui/Header/header-breadcrumb.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header-messages.d.ts +7 -0
- package/dist-lib/src/components/ui/Header/header-messages.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header-notifications.d.ts +7 -0
- package/dist-lib/src/components/ui/Header/header-notifications.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header-search.d.ts +21 -0
- package/dist-lib/src/components/ui/Header/header-search.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header-theme-switcher.d.ts +9 -0
- package/dist-lib/src/components/ui/Header/header-theme-switcher.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header.d.ts +18 -0
- package/dist-lib/src/components/ui/Header/header.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header.styles.d.ts +141 -0
- package/dist-lib/src/components/ui/Header/header.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/header.types.d.ts +128 -0
- package/dist-lib/src/components/ui/Header/header.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Header/index.d.ts +13 -0
- package/dist-lib/src/components/ui/Header/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Kanban/hooks/use-kanban-dnd.d.ts +39 -0
- package/dist-lib/src/components/ui/Kanban/hooks/use-kanban-dnd.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Kanban/index.d.ts +3 -0
- package/dist-lib/src/components/ui/Kanban/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Kanban/kanban.d.ts +22 -0
- package/dist-lib/src/components/ui/Kanban/kanban.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Kanban/kanban.styles.d.ts +150 -0
- package/dist-lib/src/components/ui/Kanban/kanban.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Kanban/kanban.types.d.ts +168 -0
- package/dist-lib/src/components/ui/Kanban/kanban.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/index.d.ts +16 -0
- package/dist-lib/src/components/ui/MenuSidebar/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/menu-sidebar.d.ts +25 -0
- package/dist-lib/src/components/ui/MenuSidebar/menu-sidebar.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-brand.d.ts +8 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-brand.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-item.d.ts +19 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-item.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-panel.d.ts +20 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-panel.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-rail.d.ts +14 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-rail.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-section.d.ts +10 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-section.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-subgroup.d.ts +13 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-subgroup.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.styles.d.ts +287 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.types.d.ts +104 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/use-media-query.d.ts +11 -0
- package/dist-lib/src/components/ui/MenuSidebar/use-media-query.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/use-sidebar-state.d.ts +7 -0
- package/dist-lib/src/components/ui/MenuSidebar/use-sidebar-state.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Modal/index.d.ts +3 -0
- package/dist-lib/src/components/ui/Modal/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Modal/modal.d.ts +78 -0
- package/dist-lib/src/components/ui/Modal/modal.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Modal/modal.styles.d.ts +74 -0
- package/dist-lib/src/components/ui/Modal/modal.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/PageHeader/index.d.ts +4 -0
- package/dist-lib/src/components/ui/PageHeader/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/PageHeader/page-header.d.ts +41 -0
- package/dist-lib/src/components/ui/PageHeader/page-header.d.ts.map +1 -0
- package/dist-lib/src/components/ui/PageHeader/page-header.styles.d.ts +96 -0
- package/dist-lib/src/components/ui/PageHeader/page-header.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/PageHeader/page-header.types.d.ts +38 -0
- package/dist-lib/src/components/ui/PageHeader/page-header.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/index.d.ts +11 -0
- package/dist-lib/src/components/ui/Panel/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/panel-body.d.ts +10 -0
- package/dist-lib/src/components/ui/Panel/panel-body.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/panel-footer.d.ts +11 -0
- package/dist-lib/src/components/ui/Panel/panel-footer.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/panel-header.d.ts +12 -0
- package/dist-lib/src/components/ui/Panel/panel-header.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/panel.d.ts +15 -0
- package/dist-lib/src/components/ui/Panel/panel.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/panel.styles.d.ts +47 -0
- package/dist-lib/src/components/ui/Panel/panel.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Panel/panel.types.d.ts +33 -0
- package/dist-lib/src/components/ui/Panel/panel.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TabelaTeste/index.d.ts +2 -0
- package/dist-lib/src/components/ui/TabelaTeste/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TabelaTeste/mock-data.d.ts +90 -0
- package/dist-lib/src/components/ui/TabelaTeste/mock-data.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TabelaTeste/tabela-teste.d.ts +12 -0
- package/dist-lib/src/components/ui/TabelaTeste/tabela-teste.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TabelaTeste/tabela-teste.styles.d.ts +184 -0
- package/dist-lib/src/components/ui/TabelaTeste/tabela-teste.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/index.d.ts +10 -0
- package/dist-lib/src/components/ui/Table/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/table-card-row.d.ts +39 -0
- package/dist-lib/src/components/ui/Table/table-card-row.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/table.constants.d.ts +14 -0
- package/dist-lib/src/components/ui/Table/table.constants.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/table.d.ts +9 -0
- package/dist-lib/src/components/ui/Table/table.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/table.styles.d.ts +374 -0
- package/dist-lib/src/components/ui/Table/table.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/table.types.d.ts +138 -0
- package/dist-lib/src/components/ui/Table/table.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/use-column-resize.d.ts +24 -0
- package/dist-lib/src/components/ui/Table/use-column-resize.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Table/use-column-widths.d.ts +36 -0
- package/dist-lib/src/components/ui/Table/use-column-widths.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/hooks/use-toolbar-filters.d.ts +46 -0
- package/dist-lib/src/components/ui/TableToolbar/hooks/use-toolbar-filters.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/hooks/use-toolbar-sort.d.ts +35 -0
- package/dist-lib/src/components/ui/TableToolbar/hooks/use-toolbar-sort.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/index.d.ts +46 -0
- package/dist-lib/src/components/ui/TableToolbar/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/bulk-actions-bar.d.ts +56 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/bulk-actions-bar.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/table-toolbar-views.d.ts +74 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/table-toolbar-views.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-applied.d.ts +51 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-applied.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-divider.d.ts +6 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-divider.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-mobile-sheet.d.ts +82 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-mobile-sheet.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-search.d.ts +21 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-search.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-segmented.d.ts +21 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-segmented.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-tabs.d.ts +20 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-tabs.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-tool-button.d.ts +47 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/toolbar-tool-button.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/add-view-modal.d.ts +23 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/add-view-modal.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/add-view-modal.styles.d.ts +53 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/add-view-modal.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/cols-popover.d.ts +48 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/cols-popover.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/filter-popover.d.ts +83 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/filter-popover.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/filter-sql-parser.d.ts +41 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/filter-sql-parser.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/more-menu.d.ts +49 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/more-menu.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/sort-popover.d.ts +54 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/sort-popover.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/views-popover.d.ts +65 -0
- package/dist-lib/src/components/ui/TableToolbar/popovers/views-popover.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/table-toolbar.d.ts +36 -0
- package/dist-lib/src/components/ui/TableToolbar/table-toolbar.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/table-toolbar.styles.d.ts +232 -0
- package/dist-lib/src/components/ui/TableToolbar/table-toolbar.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/table-toolbar.types.d.ts +35 -0
- package/dist-lib/src/components/ui/TableToolbar/table-toolbar.types.d.ts.map +1 -0
- package/dist-lib/src/hooks/useTheme.d.ts +19 -0
- package/dist-lib/src/hooks/useTheme.d.ts.map +1 -0
- package/dist-lib/src/lib/utils.d.ts +3 -0
- package/dist-lib/src/lib/utils.d.ts.map +1 -0
- package/dist-lib/src/preview/mocks/app-shell-mocks.d.ts +16 -0
- package/dist-lib/src/preview/mocks/app-shell-mocks.d.ts.map +1 -0
- package/dist-lib/src/preview/mocks/index.d.ts +13 -0
- package/dist-lib/src/preview/mocks/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/ChatV2.d.ts +2 -0
- package/dist-lib/src/preview/pages/ChatV2/ChatV2.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/chat-v2-mocks.d.ts +22 -0
- package/dist-lib/src/preview/pages/ChatV2/chat-v2-mocks.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/chat-v2.styles.d.ts +50 -0
- package/dist-lib/src/preview/pages/ChatV2/chat-v2.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/chat-v2.types.d.ts +54 -0
- package/dist-lib/src/preview/pages/ChatV2/chat-v2.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ChannelDot/channel-dot.d.ts +12 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ChannelDot/channel-dot.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationActionsMenu/conversation-actions-menu.d.ts +16 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationActionsMenu/conversation-actions-menu.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationActionsMenu/index.d.ts +2 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationActionsMenu/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/conversation-column.d.ts +8 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/conversation-column.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/conversation-column.styles.d.ts +86 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/conversation-column.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/conversation-column.types.d.ts +10 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/conversation-column.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationColumn/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/conversation-list-item.d.ts +7 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/conversation-list-item.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/conversation-list-item.styles.d.ts +100 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/conversation-list-item.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/conversation-list-item.types.d.ts +7 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/conversation-list-item.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ChatV2/components/ConversationListItem/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DateSeparator/date-separator.d.ts +10 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DateSeparator/date-separator.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailField/detail-field.d.ts +13 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailField/detail-field.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailSection/detail-section.d.ts +13 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailSection/detail-section.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailSection/index.d.ts +2 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailSection/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/details-column.d.ts +8 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/details-column.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/details-column.styles.d.ts +131 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/details-column.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/details-column.types.d.ts +15 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/details-column.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ChatV2/components/DetailsColumn/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FilterRow/filter-row.d.ts +12 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FilterRow/filter-row.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FilterRow/filter-row.styles.d.ts +67 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FilterRow/filter-row.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FilterRow/index.d.ts +2 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FilterRow/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-column.d.ts +7 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-column.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-column.styles.d.ts +104 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-column.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-column.types.d.ts +12 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-column.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-rail.d.ts +7 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/filters-rail.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/index.d.ts +4 -0
- package/dist-lib/src/preview/pages/ChatV2/components/FiltersColumn/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/message-bubble.d.ts +7 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/message-bubble.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/message-bubble.styles.d.ts +76 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/message-bubble.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/message-bubble.types.d.ts +5 -0
- package/dist-lib/src/preview/pages/ChatV2/components/MessageBubble/message-bubble.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/PersonAvatar/index.d.ts +2 -0
- package/dist-lib/src/preview/pages/ChatV2/components/PersonAvatar/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/PersonAvatar/person-avatar.d.ts +14 -0
- package/dist-lib/src/preview/pages/ChatV2/components/PersonAvatar/person-avatar.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.d.ts +7 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.styles.d.ts +86 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.types.d.ts +13 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/RailItem/index.d.ts +2 -0
- package/dist-lib/src/preview/pages/ChatV2/components/RailItem/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/RailItem/rail-item.d.ts +12 -0
- package/dist-lib/src/preview/pages/ChatV2/components/RailItem/rail-item.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/RailItem/rail-item.styles.d.ts +49 -0
- package/dist-lib/src/preview/pages/ChatV2/components/RailItem/rail-item.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/hooks/use-resizable.d.ts +36 -0
- package/dist-lib/src/preview/pages/ChatV2/hooks/use-resizable.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/index.d.ts +11 -0
- package/dist-lib/src/preview/pages/ChatV2/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/ClientesShowcase.d.ts +2 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/ClientesShowcase.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase-mocks.d.ts +35 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase-mocks.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase.styles.d.ts +42 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase.types.d.ts +16 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.d.ts +8 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.styles.d.ts +73 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.styles.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.types.d.ts +14 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.types.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/NovoClienteDrawer/index.d.ts +3 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/NovoClienteDrawer/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/NovoClienteDrawer/novo-cliente-drawer.d.ts +22 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/components/NovoClienteDrawer/novo-cliente-drawer.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/index.d.ts +11 -0
- package/dist-lib/src/preview/pages/ClientesShowcase/index.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/DashboardShowcase.d.ts +2 -0
- package/dist-lib/src/preview/pages/DashboardShowcase.d.ts.map +1 -0
- package/dist-lib/src/utils/tv.d.ts +4 -0
- package/dist-lib/src/utils/tv.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/components/sizing.d.ts +137 -0
- package/dist-lib/tokens/brands/default/components/sizing.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/components/spacing.d.ts +28 -0
- package/dist-lib/tokens/brands/default/components/spacing.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/primitives/color-palette.d.ts +276 -0
- package/dist-lib/tokens/brands/default/primitives/color-palette.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/primitives/fonts.d.ts +63 -0
- package/dist-lib/tokens/brands/default/primitives/fonts.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/primitives/motion.d.ts +47 -0
- package/dist-lib/tokens/brands/default/primitives/motion.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/primitives/scales.d.ts +50 -0
- package/dist-lib/tokens/brands/default/primitives/scales.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/color-dark.d.ts +187 -0
- package/dist-lib/tokens/brands/default/semantic/color-dark.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/color-light.d.ts +192 -0
- package/dist-lib/tokens/brands/default/semantic/color-light.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/elevation.d.ts +147 -0
- package/dist-lib/tokens/brands/default/semantic/elevation.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/shape.d.ts +90 -0
- package/dist-lib/tokens/brands/default/semantic/shape.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/sizing.d.ts +42 -0
- package/dist-lib/tokens/brands/default/semantic/sizing.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/spacing.d.ts +121 -0
- package/dist-lib/tokens/brands/default/semantic/spacing.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/typography.d.ts +59 -0
- package/dist-lib/tokens/brands/default/semantic/typography.d.ts.map +1 -0
- package/dist-lib/tokens/index.d.ts +22 -0
- package/dist-lib/tokens/index.d.ts.map +1 -0
- package/package.json +10 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-kanban-dnd.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Kanban/hooks/use-kanban-dnd.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,+EAA+E;IAC/E,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACpF,CAAC;AAWF,eAAO,MAAM,oBAAoB,GAAI,IAAI,MAAM,WAAyB,CAAC;AACzE,eAAO,MAAM,kBAAkB,GAAI,IAAI,MAAM,WAA0B,CAAC;AAExE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,UAAU,GACX,EAAE,mBAAmB;;;;;;6BAgCwB,cAAc;4BAOf,aAAa;2BAQd,YAAY;;EAiCvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Kanban/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,YAAY,EACZ,cAAc,EACd,cAAc,EACd,sBAAsB,GACvB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { KanbanProps } from './kanban.types';
|
|
2
|
+
/**
|
|
3
|
+
* Kanban — board com colunas verticais (estágios) e cards distribuídos.
|
|
4
|
+
*
|
|
5
|
+
* **Dumb primitive**: recebe `columns` + `cards` e callbacks de interação.
|
|
6
|
+
* Não gerencia state de seleção / detail panel / menus / cards — tudo controlado.
|
|
7
|
+
*
|
|
8
|
+
* **Features**:
|
|
9
|
+
* - Layout default do card (avatar/title/subtitle/description/chip/value/footer)
|
|
10
|
+
* OU custom via `renderCard` (consumer fornece o miolo, primitive controla
|
|
11
|
+
* wrapper/focus/checkbox/menu positioning).
|
|
12
|
+
* - Menus padronizados via `getCardMenuItems` / `getColumnMenuItems` (items →
|
|
13
|
+
* `<DropdownMenu>` automático) OU callbacks manuais (`onCardMenu` / `onColumnMenu`).
|
|
14
|
+
* - DnD entre colunas via `enableDnD` + `onCardMove`. Constraints por coluna
|
|
15
|
+
* (`canReceiveDrop`, `canDragFrom`). Primitive **não faz revert** automático;
|
|
16
|
+
* consumer commita atualizando `cards` props.
|
|
17
|
+
*
|
|
18
|
+
* Visual alinhado com TblKanban do sandbox `/design-and-table-v2`, consumindo
|
|
19
|
+
* tokens DS estritamente.
|
|
20
|
+
*/
|
|
21
|
+
export declare function Kanban({ columns, cards, selectedIds, onToggleSelect, openCardId, onOpenCard, onAddCard, onColumnMenu, getColumnMenuItems, onAddInFooter, hideFooterAdd, onCardMenu, getCardMenuItems, renderCard, enableDnD, onCardMove, emptyLabel, addLabel, className, }: KanbanProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=kanban.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kanban.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Kanban/kanban.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAIV,WAAW,EAEZ,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,MAAM,CAAC,EACrB,OAAO,EACP,KAAK,EACL,WAAW,EACX,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,aAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,SAAiB,EACjB,UAAU,EACV,UAAwC,EACxC,QAAsB,EACtB,SAAS,GACV,EAAE,WAAW,2CAwFb"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slots tv() pro <Kanban>.
|
|
3
|
+
*
|
|
4
|
+
* Réplica visual do TblKanban do sandbox `/design-and-table-v2`, agora consumindo
|
|
5
|
+
* tokens DS de forma estrita. Header da coluna "solto" (mesma bg do col body),
|
|
6
|
+
* cards com shadow-sm permanente flutuando sobre bg-muted da coluna.
|
|
7
|
+
*
|
|
8
|
+
* Valores fora da escala DS (296px width, line-clamp values, offsets posicionais
|
|
9
|
+
* dos slots absolute) permanecem como arbitrary literal — calibração visual exata.
|
|
10
|
+
*/
|
|
11
|
+
export declare const root: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
12
|
+
export declare const board: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
13
|
+
export declare const column: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
14
|
+
/** Header da coluna — solto sobre o bg-muted, sem divider. */
|
|
15
|
+
export declare const columnHead: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
16
|
+
export declare const columnDot: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "size-[8px] rounded-radius-full shrink-0", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "size-[8px] rounded-radius-full shrink-0", unknown, unknown, undefined>>;
|
|
17
|
+
export declare const columnTitle: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
18
|
+
export declare const columnCount: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
19
|
+
/** Wrapper que empurra os botões de ação pro canto direito. */
|
|
20
|
+
export declare const columnActionsSpacer: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "ml-auto inline-flex items-center gap-gp-2xs", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "ml-auto inline-flex items-center gap-gp-2xs", unknown, unknown, undefined>>;
|
|
21
|
+
export declare const columnBody: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
22
|
+
/**
|
|
23
|
+
* Empty state — flex-1 ocupa o resto do col-body e centraliza vertical.
|
|
24
|
+
* Sem bg/border (transparente sobre col bg). Ícone + texto sutis pra não
|
|
25
|
+
* competir com cards de colunas vizinhas.
|
|
26
|
+
*/
|
|
27
|
+
export declare const columnEmpty: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
28
|
+
/** Ícone do empty state — discreto, mesma cor do texto. */
|
|
29
|
+
export declare const columnEmptyIcon: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "size-icon-md text-fg-subtle opacity-70", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "size-icon-md text-fg-subtle opacity-70", unknown, unknown, undefined>>;
|
|
30
|
+
/**
|
|
31
|
+
* Botão "+ Adicionar" no rodapé da coluna — dashed centered.
|
|
32
|
+
*
|
|
33
|
+
* Mantido como `<button>` raw porque o variant dashed-ghost não existe no
|
|
34
|
+
* `<Button>` DS. Estilos migrados pra tokens; min-h alinhado com size sm.
|
|
35
|
+
*/
|
|
36
|
+
export declare const columnAdd: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
37
|
+
export declare const card: import('tailwind-variants').TVReturnType<{
|
|
38
|
+
/** Card selecionado (checkbox marcado) — bg brand-subtle + strip lateral. */
|
|
39
|
+
selected: {
|
|
40
|
+
true: string;
|
|
41
|
+
};
|
|
42
|
+
/** Card "aberto" no detail panel — destaque com border-brand e ring shadow. */
|
|
43
|
+
open: {
|
|
44
|
+
true: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Reserva 24px à esquerda pro checkbox aparecer sem sobrepor o avatar.
|
|
48
|
+
* Aplicado APENAS quando o board tem `onToggleSelect` (showCheckbox=true) —
|
|
49
|
+
* caso contrário, hover não desloca o conteúdo (visual mais estável).
|
|
50
|
+
*/
|
|
51
|
+
reserveCheck: {
|
|
52
|
+
true: string;
|
|
53
|
+
};
|
|
54
|
+
}, undefined, string[], {
|
|
55
|
+
/** Card selecionado (checkbox marcado) — bg brand-subtle + strip lateral. */
|
|
56
|
+
selected: {
|
|
57
|
+
true: string;
|
|
58
|
+
};
|
|
59
|
+
/** Card "aberto" no detail panel — destaque com border-brand e ring shadow. */
|
|
60
|
+
open: {
|
|
61
|
+
true: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Reserva 24px à esquerda pro checkbox aparecer sem sobrepor o avatar.
|
|
65
|
+
* Aplicado APENAS quando o board tem `onToggleSelect` (showCheckbox=true) —
|
|
66
|
+
* caso contrário, hover não desloca o conteúdo (visual mais estável).
|
|
67
|
+
*/
|
|
68
|
+
reserveCheck: {
|
|
69
|
+
true: string;
|
|
70
|
+
};
|
|
71
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
72
|
+
/** Card selecionado (checkbox marcado) — bg brand-subtle + strip lateral. */
|
|
73
|
+
selected: {
|
|
74
|
+
true: string;
|
|
75
|
+
};
|
|
76
|
+
/** Card "aberto" no detail panel — destaque com border-brand e ring shadow. */
|
|
77
|
+
open: {
|
|
78
|
+
true: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Reserva 24px à esquerda pro checkbox aparecer sem sobrepor o avatar.
|
|
82
|
+
* Aplicado APENAS quando o board tem `onToggleSelect` (showCheckbox=true) —
|
|
83
|
+
* caso contrário, hover não desloca o conteúdo (visual mais estável).
|
|
84
|
+
*/
|
|
85
|
+
reserveCheck: {
|
|
86
|
+
true: string;
|
|
87
|
+
};
|
|
88
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
89
|
+
/**
|
|
90
|
+
* Checkbox absolute top-left — alinhado vertical com o avatar do head.
|
|
91
|
+
*
|
|
92
|
+
* Visibility: aparece em hover do card OU foco por teclado (focus-visible).
|
|
93
|
+
* `focus-visible` (em vez de `focus-within`) evita que o checkbox permaneça
|
|
94
|
+
* visível ao desmarcar via clique — o foco fica retido no input mas
|
|
95
|
+
* `focus-visible` só ativa em navegação por teclado.
|
|
96
|
+
*/
|
|
97
|
+
export declare const cardCheck: import('tailwind-variants').TVReturnType<{
|
|
98
|
+
selected: {
|
|
99
|
+
true: string;
|
|
100
|
+
};
|
|
101
|
+
}, undefined, string[], {
|
|
102
|
+
selected: {
|
|
103
|
+
true: string;
|
|
104
|
+
};
|
|
105
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
106
|
+
selected: {
|
|
107
|
+
true: string;
|
|
108
|
+
};
|
|
109
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
110
|
+
/**
|
|
111
|
+
* Wrapper de posicionamento do menu "⋯" no card.
|
|
112
|
+
*
|
|
113
|
+
* Apenas absolute positioning + opacity transitions. O visual do botão
|
|
114
|
+
* (size, focus ring, hover bg) vem do `<Button>` DS.
|
|
115
|
+
*/
|
|
116
|
+
export declare const cardMenuSlot: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
117
|
+
/** Head do card — avatar + título/subtítulo. Reserva 28px à direita pro menu. */
|
|
118
|
+
export declare const cardHead: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "flex items-center gap-gp-md pr-[28px]", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "flex items-center gap-gp-md pr-[28px]", unknown, unknown, undefined>>;
|
|
119
|
+
export declare const cardTitleWrap: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "flex-1 min-w-0 flex flex-col gap-gp-2xs", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "flex-1 min-w-0 flex flex-col gap-gp-2xs", unknown, unknown, undefined>>;
|
|
120
|
+
export declare const cardTitle: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
121
|
+
export declare const cardSubtitle: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "text-caption-sm text-fg-muted [font-variant-numeric:tabular-nums]", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "text-caption-sm text-fg-muted [font-variant-numeric:tabular-nums]", unknown, unknown, undefined>>;
|
|
122
|
+
/** Descrição — line-clamp 2, fg-muted. */
|
|
123
|
+
export declare const cardDesc: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
124
|
+
/** Meta (chip + valor) — flex space-between. */
|
|
125
|
+
export declare const cardMeta: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "flex items-center justify-between gap-gp-md", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "flex items-center justify-between gap-gp-md", unknown, unknown, undefined>>;
|
|
126
|
+
export declare const cardValue: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "text-body-sm font-semibold text-fg-default [font-variant-numeric:tabular-nums]", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "text-body-sm font-semibold text-fg-default [font-variant-numeric:tabular-nums]", unknown, unknown, undefined>>;
|
|
127
|
+
/** Footer (agent + data) — separador solid no top. */
|
|
128
|
+
export declare const cardFoot: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
129
|
+
/** Card sendo arrastado — opacity baixa + cursor grabbing. */
|
|
130
|
+
export declare const cardDragging: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "opacity-40 cursor-grabbing", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "opacity-40 cursor-grabbing", unknown, unknown, undefined>>;
|
|
131
|
+
/**
|
|
132
|
+
* Coluna candidata válida durante drag (over + canReceiveDrop !== false).
|
|
133
|
+
* Outline brand + bg subtle pra indicar drop zone aceita.
|
|
134
|
+
*/
|
|
135
|
+
export declare const columnDropTarget: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "outline outline-2 outline-offset-[-2px] outline-border-brand bg-bg-brand-subtle/30 transition-[outline,background-color] duration-150", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "outline outline-2 outline-offset-[-2px] outline-border-brand bg-bg-brand-subtle/30 transition-[outline,background-color] duration-150", unknown, unknown, undefined>>;
|
|
136
|
+
/**
|
|
137
|
+
* Coluna que não aceita drop (canReceiveDrop === false).
|
|
138
|
+
* Atenuada SEMPRE durante drag (não só when over) — feedback visual que ela
|
|
139
|
+
* está "fora do jogo". Cursor not-allowed quando o usuário insiste em over.
|
|
140
|
+
*/
|
|
141
|
+
export declare const columnDropInvalidDimmed: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "opacity-50 transition-opacity duration-200", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "opacity-50 transition-opacity duration-200", unknown, unknown, undefined>>;
|
|
142
|
+
export declare const columnDropInvalidOver: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "cursor-not-allowed", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "cursor-not-allowed", unknown, unknown, undefined>>;
|
|
143
|
+
/**
|
|
144
|
+
* Drop placeholder — slot fino com ícone "+" renderizado na posição exata
|
|
145
|
+
* onde o card vai aterrissar (antes/depois do card hovered, ou no fim da
|
|
146
|
+
* coluna quando hover em área vazia). Visual sutil — uma "linha" indicando
|
|
147
|
+
* inserção, não um card fantasma grande.
|
|
148
|
+
*/
|
|
149
|
+
export declare const dropPlaceholder: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
150
|
+
//# sourceMappingURL=kanban.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kanban.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Kanban/kanban.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AAIH,eAAO,MAAM,IAAI,sMAKf,CAAC;AAEH,eAAO,MAAM,KAAK,sMAKhB,CAAC;AAIH,eAAO,MAAM,MAAM,sMAMjB,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,UAAU,sMAMrB,CAAC;AAEH,eAAO,MAAM,SAAS,wQAEpB,CAAC;AAEH,eAAO,MAAM,WAAW,sMAOtB,CAAC;AAEH,eAAO,MAAM,WAAW,sMAQtB,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,mBAAmB,gRAE9B,CAAC;AAIH,eAAO,MAAM,UAAU,sMAMrB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,WAAW,sMAMtB,CAAC;AAEH,2DAA2D;AAC3D,eAAO,MAAM,eAAe,sQAE1B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,SAAS,sMAYpB,CAAC;AAIH,eAAO,MAAM,IAAI;IAiBb,6EAA6E;;;;IAS7E,+EAA+E;;;;IAI/E;;;;OAIG;;;;;IAjBH,6EAA6E;;;;IAS7E,+EAA+E;;;;IAI/E;;;;OAIG;;;;;IAjBH,6EAA6E;;;;IAS7E,+EAA+E;;;;IAI/E;;;;OAIG;;;;qDASL,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;qDAUpB,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,YAAY,sMAQvB,CAAC;AAEH,iFAAiF;AACjF,eAAO,MAAM,QAAQ,oQAEnB,CAAC;AAEH,eAAO,MAAM,aAAa,wQAExB,CAAC;AAEH,eAAO,MAAM,SAAS,sMAKpB,CAAC;AAEH,eAAO,MAAM,YAAY,4TAEvB,CAAC;AAEH,0CAA0C;AAC1C,eAAO,MAAM,QAAQ,sMAMnB,CAAC;AAEH,gDAAgD;AAChD,eAAO,MAAM,QAAQ,gRAEnB,CAAC;AAEH,eAAO,MAAM,SAAS,sVAEpB,CAAC;AAEH,sDAAsD;AACtD,eAAO,MAAM,QAAQ,sMAKnB,CAAC;AAIH,8DAA8D;AAC9D,eAAO,MAAM,YAAY,8OAEvB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gBAAgB,ocAE3B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,8QAElC,CAAC;AAEH,eAAO,MAAM,qBAAqB,8NAEhC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,sMAS1B,CAAC"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Coluna do Kanban — um "estágio" do workflow.
|
|
4
|
+
* Visualmente: header com dot colorido + label + badge de contagem + ações.
|
|
5
|
+
*/
|
|
6
|
+
export type KanbanColumn = {
|
|
7
|
+
/** Identificador único da coluna (usado pra agrupar cards). */
|
|
8
|
+
id: string;
|
|
9
|
+
/** Label visível no header. */
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Cor do dot do header. Aceita qualquer string CSS válida — ideal usar
|
|
13
|
+
* uma var de token DS: `var(--color-fg-success)`, `var(--color-fg-warning)`,
|
|
14
|
+
* `var(--color-fg-info)`, `var(--color-fg-muted)`, ou hex literal pra cores
|
|
15
|
+
* não-tokenizadas.
|
|
16
|
+
*/
|
|
17
|
+
dotColor?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Override do count exibido no badge. Quando ausente, o Kanban calcula
|
|
20
|
+
* automaticamente via `cards.filter(c => c.columnId === col.id).length`.
|
|
21
|
+
*/
|
|
22
|
+
count?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Define se esta coluna aceita drop de cards arrastados.
|
|
25
|
+
* Default: `true`. Use `false` pra colunas "terminais" (ex: Cancelado,
|
|
26
|
+
* Concluído) que bloqueiam reentrada. Durante drag, colunas inválidas
|
|
27
|
+
* mostram cursor `not-allowed` e não destacam como drop target.
|
|
28
|
+
*/
|
|
29
|
+
canReceiveDrop?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Define se cards desta coluna podem ser arrastados.
|
|
32
|
+
* Default: `true`. Use `false` pra colunas locked (cards definitivos).
|
|
33
|
+
*/
|
|
34
|
+
canDragFrom?: boolean;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Card do Kanban — uma entidade (cliente, tarefa, lead, etc).
|
|
38
|
+
*
|
|
39
|
+
* Composto por slots de conteúdo livres (`avatar`, `chip`, `footerLeft`,
|
|
40
|
+
* `footerRight` são ReactNode) — o consumer monta usando componentes do DS
|
|
41
|
+
* (`<Avatar>`, `<Chip>`, etc) sem o Kanban ditar visual interno.
|
|
42
|
+
*
|
|
43
|
+
* Pra customizar **completamente** o miolo do card (sair do layout default),
|
|
44
|
+
* usar a prop `renderCard` no `<Kanban>`.
|
|
45
|
+
*/
|
|
46
|
+
export type KanbanCardData = {
|
|
47
|
+
/** Identificador único do card (usado em selectedIds e openCardId). */
|
|
48
|
+
id: string;
|
|
49
|
+
/** Coluna a que o card pertence (deve bater com algum KanbanColumn.id). */
|
|
50
|
+
columnId: string;
|
|
51
|
+
/** Título principal (ex: nome do cliente, título da tarefa). */
|
|
52
|
+
title: ReactNode;
|
|
53
|
+
/** Subtítulo logo abaixo do título (ex: "CLI-2401", "#TASK-23"). */
|
|
54
|
+
subtitle?: ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Descrição curta — exibida entre o head e a meta, com line-clamp 2.
|
|
57
|
+
* Quando ausente, a área não renderiza (sem espaço vazio).
|
|
58
|
+
*/
|
|
59
|
+
description?: ReactNode;
|
|
60
|
+
/** Avatar/ícone à esquerda do head (ex: `<Avatar>MS</Avatar>`, `<Eye />`). */
|
|
61
|
+
avatar?: ReactNode;
|
|
62
|
+
/** Chip/badge na linha de meta (ex: `<Chip color="warning">Royal</Chip>`). */
|
|
63
|
+
chip?: ReactNode;
|
|
64
|
+
/** Valor à direita da meta (ex: "R$ 4.800,00", "5 dias"). */
|
|
65
|
+
value?: ReactNode;
|
|
66
|
+
/** Conteúdo à esquerda do footer (ex: avatar do agent + nome). */
|
|
67
|
+
footerLeft?: ReactNode;
|
|
68
|
+
/** Conteúdo à direita do footer (ex: data, prazo). */
|
|
69
|
+
footerRight?: ReactNode;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Item de menu padronizado (card ou coluna). Quando `getCardMenuItems` /
|
|
73
|
+
* `getColumnMenuItems` retorna array desses, o primitive renderiza um
|
|
74
|
+
* `<DropdownMenu>` automático — consumer não monta o menu manualmente.
|
|
75
|
+
*/
|
|
76
|
+
export type KanbanMenuItem = {
|
|
77
|
+
/** Texto do item. Ignorado quando `separator: true`. */
|
|
78
|
+
label?: string;
|
|
79
|
+
/** Ícone à esquerda (lucide ou qualquer ReactNode). */
|
|
80
|
+
icon?: ReactNode;
|
|
81
|
+
/** Handler ao clicar. */
|
|
82
|
+
onClick?: () => void;
|
|
83
|
+
/** Tom destrutivo (vermelho). Default: `false`. */
|
|
84
|
+
destructive?: boolean;
|
|
85
|
+
/** Desabilita o item (sem hover/click). */
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
/** Se `true`, renderiza `<DropdownMenuSeparator>` e ignora os outros campos. */
|
|
88
|
+
separator?: boolean;
|
|
89
|
+
};
|
|
90
|
+
/** Parâmetros passados pro callback `renderCard`. */
|
|
91
|
+
export type KanbanRenderCardParams = {
|
|
92
|
+
card: KanbanCardData;
|
|
93
|
+
selected: boolean;
|
|
94
|
+
open: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Props do componente raiz `<Kanban>`.
|
|
98
|
+
*
|
|
99
|
+
* Dumb: todo o estado de seleção/abertura/menus é controlado externamente.
|
|
100
|
+
* O componente só renderiza o que recebe — sem state interno de domínio.
|
|
101
|
+
*/
|
|
102
|
+
export type KanbanProps = {
|
|
103
|
+
/** Definição das colunas (ordem visual = ordem do array). */
|
|
104
|
+
columns: KanbanColumn[];
|
|
105
|
+
/** Cards a serem distribuídos pelas colunas via `columnId`. */
|
|
106
|
+
cards: KanbanCardData[];
|
|
107
|
+
/** IDs selecionados (Set). Quando presente, checkbox aparece nos cards. */
|
|
108
|
+
selectedIds?: Set<string>;
|
|
109
|
+
/** Callback quando o usuário marca/desmarca o checkbox de um card. */
|
|
110
|
+
onToggleSelect?: (cardId: string) => void;
|
|
111
|
+
/** ID do card "aberto" no detail panel — pinta com brand-subtle. */
|
|
112
|
+
openCardId?: string;
|
|
113
|
+
/** Callback ao clicar no card (fora do checkbox/menu). */
|
|
114
|
+
onOpenCard?: (cardId: string) => void;
|
|
115
|
+
/** Callback do botão "+" do header da coluna (criar card naquela coluna). */
|
|
116
|
+
onAddCard?: (columnId: string) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Callback do botão "⋯" do header da coluna (menu manual).
|
|
119
|
+
* Ignorado se `getColumnMenuItems` estiver fornecido.
|
|
120
|
+
*/
|
|
121
|
+
onColumnMenu?: (columnId: string, anchor: HTMLElement) => void;
|
|
122
|
+
/**
|
|
123
|
+
* Items do menu "⋯" da coluna (modo padronizado). Quando fornecido,
|
|
124
|
+
* primitive monta `<DropdownMenu>` automático e ignora `onColumnMenu`.
|
|
125
|
+
*/
|
|
126
|
+
getColumnMenuItems?: (column: KanbanColumn) => KanbanMenuItem[];
|
|
127
|
+
/** Callback do botão "+ Adicionar" no rodapé da coluna. */
|
|
128
|
+
onAddInFooter?: (columnId: string) => void;
|
|
129
|
+
/** Esconde o botão "+ Adicionar" no rodapé da coluna. Default: false. */
|
|
130
|
+
hideFooterAdd?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Callback do botão "⋯" do card (menu manual).
|
|
133
|
+
* Ignorado se `getCardMenuItems` estiver fornecido.
|
|
134
|
+
*/
|
|
135
|
+
onCardMenu?: (cardId: string, anchor: HTMLElement) => void;
|
|
136
|
+
/**
|
|
137
|
+
* Items do menu "⋯" do card (modo padronizado). Quando fornecido,
|
|
138
|
+
* primitive monta `<DropdownMenu>` automático e ignora `onCardMenu`.
|
|
139
|
+
*/
|
|
140
|
+
getCardMenuItems?: (card: KanbanCardData) => KanbanMenuItem[];
|
|
141
|
+
/**
|
|
142
|
+
* Render custom do **conteúdo interno** do card. Quando ausente, usa
|
|
143
|
+
* layout default (avatar/title/subtitle/description/chip/value/footerLeft/
|
|
144
|
+
* footerRight) dos slots de `KanbanCardData`.
|
|
145
|
+
*
|
|
146
|
+
* O wrapper externo do card (border, shadow, focus ring, checkbox/menu
|
|
147
|
+
* positioning, accessibility) é **sempre** controlado pelo primitive —
|
|
148
|
+
* consumer só substitui o miolo. Garante consistência entre boards.
|
|
149
|
+
*/
|
|
150
|
+
renderCard?: (params: KanbanRenderCardParams) => ReactNode;
|
|
151
|
+
/** Habilita DnD entre colunas. Default: `false`. */
|
|
152
|
+
enableDnD?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Callback ao soltar card em coluna diferente. `from` = columnId origem;
|
|
155
|
+
* `to` = columnId destino; `cardId` = card movido. Consumer decide commit
|
|
156
|
+
* (otimista ou async) atualizando `cards` props. Primitive **não faz revert**
|
|
157
|
+
* automático — se a operação falhar, consumer mantém `cards` inalterado e
|
|
158
|
+
* o card volta visualmente.
|
|
159
|
+
*/
|
|
160
|
+
onCardMove?: (cardId: string, from: string, to: string) => void | Promise<unknown>;
|
|
161
|
+
/** Texto do empty state quando a coluna não tem cards. */
|
|
162
|
+
emptyLabel?: string;
|
|
163
|
+
/** Texto do botão "+ Adicionar" no rodapé da coluna. */
|
|
164
|
+
addLabel?: string;
|
|
165
|
+
/** ClassName extra no root. */
|
|
166
|
+
className?: string;
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=kanban.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kanban.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/Kanban/kanban.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,+DAA+D;IAC/D,EAAE,EAAE,MAAM,CAAC;IACX,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,uEAAuE;IACvE,EAAE,EAAE,MAAM,CAAC;IACX,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;IAEjB,gEAAgE;IAChE,KAAK,EAAE,SAAS,CAAC;IACjB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB,kEAAkE;IAClE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,sDAAsD;IACtD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,qDAAqD;AACrD,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,6DAA6D;IAC7D,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,+DAA+D;IAC/D,KAAK,EAAE,cAAc,EAAE,CAAC;IAGxB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,sEAAsE;IACtE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAG1C,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAGtC,6EAA6E;IAC7E,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,cAAc,EAAE,CAAC;IAChE,2DAA2D;IAC3D,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,yEAAyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IAGxB;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3D;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,cAAc,EAAE,CAAC;IAG9D;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,SAAS,CAAC;IAG3D,oDAAoD;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAGnF,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { MenuSidebar } from './menu-sidebar';
|
|
2
|
+
export { SidebarRail } from './sidebar-rail';
|
|
3
|
+
export type { SidebarRailProps } from './sidebar-rail';
|
|
4
|
+
export { SidebarPanel } from './sidebar-panel';
|
|
5
|
+
export type { SidebarPanelProps } from './sidebar-panel';
|
|
6
|
+
export { SidebarItem, SidebarPill } from './sidebar-item';
|
|
7
|
+
export type { SidebarItemProps } from './sidebar-item';
|
|
8
|
+
export { SidebarSubgroup } from './sidebar-subgroup';
|
|
9
|
+
export type { SidebarSubgroupProps } from './sidebar-subgroup';
|
|
10
|
+
export { SidebarSection } from './sidebar-section';
|
|
11
|
+
export type { SidebarSectionProps } from './sidebar-section';
|
|
12
|
+
export { SidebarBrandIcon } from './sidebar-brand';
|
|
13
|
+
export { useControllable } from './use-sidebar-state';
|
|
14
|
+
export { useMediaQuery } from './use-media-query';
|
|
15
|
+
export type { SidebarProps, SidebarContext, SidebarMenuItem, SidebarSection as SidebarSectionData, SidebarBookmarkItem, SidebarChatItem, SidebarBadgeKind, } from './sidebar.types';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,YAAY,EACV,YAAY,EACZ,cAAc,EACd,eAAe,EACf,cAAc,IAAI,kBAAkB,EACpC,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SidebarProps } from './sidebar.types';
|
|
2
|
+
/**
|
|
3
|
+
* MenuSidebar — composição completa (rail + panel) data-driven.
|
|
4
|
+
*
|
|
5
|
+
* Modo all-in-one: passa `contexts` e o componente gerencia tudo.
|
|
6
|
+
* Para composição manual, use os subcomponentes:
|
|
7
|
+
* `<SidebarRail>` + `<SidebarPanel>` + `<SidebarItem>` + `<SidebarSubgroup>` + `<SidebarSection>`.
|
|
8
|
+
*
|
|
9
|
+
* Estados controlled/uncontrolled:
|
|
10
|
+
* - activeContextId / defaultActiveContextId / onContextChange
|
|
11
|
+
* - activeItemHref / defaultActiveItemHref / onItemClick
|
|
12
|
+
* - panelCollapsed / defaultPanelCollapsed / onPanelCollapseChange
|
|
13
|
+
*
|
|
14
|
+
* Hover-to-expand (desktop):
|
|
15
|
+
* - `expandOnHover` (default true) + estado colapsado → panel vira overlay flutuante.
|
|
16
|
+
*
|
|
17
|
+
* Mobile responsive:
|
|
18
|
+
* - Detecta breakpoint (default `max-md` = 767px) via matchMedia.
|
|
19
|
+
* - Mobile: vira drawer fixed overlay; panel sempre aberto (sem rail-only);
|
|
20
|
+
* close button (X) no canto + backdrop scrim clicável pra fechar.
|
|
21
|
+
* - Estado: mobileOpen / defaultMobileOpen / onMobileOpenChange.
|
|
22
|
+
* - Trigger externo: qualquer botão que altere `mobileOpen` (hamburger no header da app).
|
|
23
|
+
*/
|
|
24
|
+
export declare function MenuSidebar({ contexts, brand, user, showRailAdd, onRailAddClick, activeContextId, defaultActiveContextId, onContextChange, activeItemHref, defaultActiveItemHref, onItemClick, panelCollapsed, defaultPanelCollapsed, onPanelCollapseChange, expandOnHover, onPanelTitleClick, mobileOpen, defaultMobileOpen, onMobileOpenChange, mobileBreakpoint, className, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=menu-sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/menu-sidebar.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAmB,MAAM,iBAAiB,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,WAAW,EACX,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,aAAoB,EACpB,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,gBAAuC,EACvC,SAAS,GACV,EAAE,YAAY,2CA0Jd"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logo iGreen — default usado no rail.
|
|
3
|
+
* Single-color (currentColor) pra herdar o fg-on-brand.
|
|
4
|
+
*/
|
|
5
|
+
export declare function SidebarBrandIcon({ size }: {
|
|
6
|
+
size?: number;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=sidebar-brand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-brand.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/sidebar-brand.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,IAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,2CAwBhE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { SidebarMenuItem, SidebarBadgeKind } from './sidebar.types';
|
|
3
|
+
export type SidebarItemProps = {
|
|
4
|
+
item: SidebarMenuItem;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
subitem?: boolean;
|
|
7
|
+
/** Quando true, o ícone usa cor de brand (usado em groups com filho ativo) */
|
|
8
|
+
iconBrand?: boolean;
|
|
9
|
+
onClick?: (e: MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const SidebarItem: import('react').ForwardRefExoticComponent<SidebarItemProps & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
13
|
+
export declare function SidebarPill({ kind, active, children, className, }: {
|
|
14
|
+
kind?: SidebarBadgeKind;
|
|
15
|
+
active?: boolean;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=sidebar-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-item.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/sidebar-item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQnD,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,oIAsDvB,CAAC;AAIF,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,GACV,EAAE;IACD,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAMA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SidebarContext, SidebarMenuItem } from './sidebar.types';
|
|
3
|
+
export type SidebarPanelProps = {
|
|
4
|
+
context: SidebarContext;
|
|
5
|
+
collapsed?: boolean;
|
|
6
|
+
/** Quando true: panel renderiza como overlay absoluto (hover-to-expand) */
|
|
7
|
+
floating?: boolean;
|
|
8
|
+
activeItemHref?: string;
|
|
9
|
+
onItemClick?: (item: SidebarMenuItem) => void;
|
|
10
|
+
/** Quando passados, o título vira um dropdown switcher de contextos */
|
|
11
|
+
contexts?: SidebarContext[];
|
|
12
|
+
onContextChange?: (id: string) => void;
|
|
13
|
+
/** Fallback: callback ao clicar no título (usado quando contexts não passado) */
|
|
14
|
+
onTitleClick?: () => void;
|
|
15
|
+
/** Conteúdo custom no body (substitui items/sections quando passado) */
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare function SidebarPanel({ context, collapsed, floating, activeItemHref, onItemClick, contexts, onContextChange, onTitleClick, children, className, }: SidebarPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=sidebar-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/sidebar-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmBvC,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,cAAc,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,uEAAuE;IACvE,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,SAAS,EACT,QAAQ,EACR,cAAc,EACd,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,SAAS,GACV,EAAE,iBAAiB,2CAwFnB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SidebarContext } from './sidebar.types';
|
|
3
|
+
export type SidebarRailProps = {
|
|
4
|
+
contexts: SidebarContext[];
|
|
5
|
+
activeContextId: string;
|
|
6
|
+
onContextChange: (id: string) => void;
|
|
7
|
+
brand?: ReactNode;
|
|
8
|
+
user?: ReactNode;
|
|
9
|
+
showAdd?: boolean;
|
|
10
|
+
onAddClick?: () => void;
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function SidebarRail({ contexts, activeContextId, onContextChange, brand, user, showAdd, onAddClick, className, }: SidebarRailProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=sidebar-rail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-rail.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/sidebar-rail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAevC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,eAAe,EACf,eAAe,EACf,KAAK,EACL,IAAI,EACJ,OAAe,EACf,UAAU,EACV,SAAS,GACV,EAAE,gBAAgB,2CA8ClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SidebarSection as SidebarSectionData } from './sidebar.types';
|
|
2
|
+
export type SidebarSectionProps = {
|
|
3
|
+
section: SidebarSectionData;
|
|
4
|
+
/** Estado controlado — se omitido, gerencia internamente */
|
|
5
|
+
open?: boolean;
|
|
6
|
+
onOpenChange?: (open: boolean) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare function SidebarSection({ section, open, onOpenChange, className, }: SidebarSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=sidebar-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/sidebar-section.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,kBAAkB,CAAC;IAC5B,4DAA4D;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,SAAS,GACV,EAAE,mBAAmB,2CA4FrB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SidebarMenuItem } from './sidebar.types';
|
|
2
|
+
export type SidebarSubgroupProps = {
|
|
3
|
+
item: SidebarMenuItem;
|
|
4
|
+
activeItemHref?: string;
|
|
5
|
+
onItemClick?: (item: SidebarMenuItem) => void;
|
|
6
|
+
/** Estado controlado de collapse — se omitido, gerencia internamente */
|
|
7
|
+
open?: boolean;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
onOpenChange?: (open: boolean) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function SidebarSubgroup({ item, activeItemHref, onItemClick, open, defaultOpen, onOpenChange, className, }: SidebarSubgroupProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=sidebar-subgroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-subgroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/MenuSidebar/sidebar-subgroup.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,eAAe,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,wEAAwE;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,cAAc,EACd,WAAW,EACX,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,SAAS,GACV,EAAE,oBAAoB,2CAuDtB"}
|