@dads-framework/ui 0.0.0-stage → 0.1.0
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/LICENSE.md +21 -0
- package/README.md +58 -2
- package/THIRD_PARTY_NOTICES.md +28 -0
- package/dist/data-table/components/data-table/applied-filter-chips.d.ts +19 -0
- package/dist/data-table/components/data-table/applied-filter-chips.d.ts.map +1 -0
- package/dist/data-table/components/data-table/applied-filter-chips.js +32 -0
- package/dist/data-table/components/data-table/applied-filter-chips.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-advanced-toolbar.d.ts +5 -0
- package/dist/data-table/components/data-table/data-table-advanced-toolbar.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-advanced-toolbar.js +6 -0
- package/dist/data-table/components/data-table/data-table-advanced-toolbar.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-body-row.d.ts +6 -0
- package/dist/data-table/components/data-table/data-table-body-row.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-body-row.js +27 -0
- package/dist/data-table/components/data-table/data-table-body-row.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-card-list.d.ts +18 -0
- package/dist/data-table/components/data-table/data-table-card-list.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-card-list.js +108 -0
- package/dist/data-table/components/data-table/data-table-card-list.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-column-header.d.ts +8 -0
- package/dist/data-table/components/data-table/data-table-column-header.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-column-header.js +29 -0
- package/dist/data-table/components/data-table/data-table-column-header.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-columns-menu.d.ts +10 -0
- package/dist/data-table/components/data-table/data-table-columns-menu.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-columns-menu.js +34 -0
- package/dist/data-table/components/data-table/data-table-columns-menu.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-date-filter.d.ts +10 -0
- package/dist/data-table/components/data-table/data-table-date-filter.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-date-filter.js +132 -0
- package/dist/data-table/components/data-table/data-table-date-filter.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-desktop-content.d.ts +12 -0
- package/dist/data-table/components/data-table/data-table-desktop-content.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-desktop-content.js +20 -0
- package/dist/data-table/components/data-table/data-table-desktop-content.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-faceted-filter.d.ts +13 -0
- package/dist/data-table/components/data-table/data-table-faceted-filter.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-faceted-filter.js +80 -0
- package/dist/data-table/components/data-table/data-table-faceted-filter.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-date-input.d.ts +5 -0
- package/dist/data-table/components/data-table/data-table-filter-date-input.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-date-input.js +62 -0
- package/dist/data-table/components/data-table/data-table-filter-date-input.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-input-shared.d.ts +23 -0
- package/dist/data-table/components/data-table/data-table-filter-input-shared.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-input-shared.js +11 -0
- package/dist/data-table/components/data-table/data-table-filter-input-shared.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-list-input.d.ts +4 -0
- package/dist/data-table/components/data-table/data-table-filter-list-input.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-list-input.js +92 -0
- package/dist/data-table/components/data-table/data-table-filter-list-input.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-list-item.d.ts +17 -0
- package/dist/data-table/components/data-table/data-table-filter-list-item.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-list-item.js +87 -0
- package/dist/data-table/components/data-table/data-table-filter-list-item.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-list.d.ts +11 -0
- package/dist/data-table/components/data-table/data-table-filter-list.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-list.js +95 -0
- package/dist/data-table/components/data-table/data-table-filter-list.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-input.d.ts +5 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-input.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-input.js +48 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-input.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-item.d.ts +14 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-item.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-item.js +77 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-item.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-options-input.d.ts +3 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-options-input.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-options-input.js +28 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-options-input.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-value-selector.d.ts +9 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-value-selector.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-value-selector.js +49 -0
- package/dist/data-table/components/data-table/data-table-filter-menu-value-selector.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu.d.ts +11 -0
- package/dist/data-table/components/data-table/data-table-filter-menu.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-filter-menu.js +127 -0
- package/dist/data-table/components/data-table/data-table-filter-menu.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-hidden-columns-note.d.ts +9 -0
- package/dist/data-table/components/data-table/data-table-hidden-columns-note.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-hidden-columns-note.js +18 -0
- package/dist/data-table/components/data-table/data-table-hidden-columns-note.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-pagination.d.ts +9 -0
- package/dist/data-table/components/data-table/data-table-pagination.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-pagination.js +25 -0
- package/dist/data-table/components/data-table/data-table-pagination.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-range-filter.d.ts +12 -0
- package/dist/data-table/components/data-table/data-table-range-filter.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-range-filter.js +59 -0
- package/dist/data-table/components/data-table/data-table-range-filter.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-row-hit-area.d.ts +10 -0
- package/dist/data-table/components/data-table/data-table-row-hit-area.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-row-hit-area.js +29 -0
- package/dist/data-table/components/data-table/data-table-row-hit-area.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-search-input.d.ts +23 -0
- package/dist/data-table/components/data-table/data-table-search-input.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-search-input.js +81 -0
- package/dist/data-table/components/data-table/data-table-search-input.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-skeleton.d.ts +19 -0
- package/dist/data-table/components/data-table/data-table-skeleton.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-skeleton.js +45 -0
- package/dist/data-table/components/data-table/data-table-skeleton.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-slider-filter.d.ts +9 -0
- package/dist/data-table/components/data-table/data-table-slider-filter.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-slider-filter.js +88 -0
- package/dist/data-table/components/data-table/data-table-slider-filter.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-sort-item.d.ts +16 -0
- package/dist/data-table/components/data-table/data-table-sort-item.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-sort-item.js +39 -0
- package/dist/data-table/components/data-table/data-table-sort-item.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-sort-list.d.ts +10 -0
- package/dist/data-table/components/data-table/data-table-sort-list.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-sort-list.js +96 -0
- package/dist/data-table/components/data-table/data-table-sort-list.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-toolbar-filter.d.ts +7 -0
- package/dist/data-table/components/data-table/data-table-toolbar-filter.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-toolbar-filter.js +59 -0
- package/dist/data-table/components/data-table/data-table-toolbar-filter.js.map +1 -0
- package/dist/data-table/components/data-table/data-table-toolbar.d.ts +86 -0
- package/dist/data-table/components/data-table/data-table-toolbar.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table-toolbar.js +83 -0
- package/dist/data-table/components/data-table/data-table-toolbar.js.map +1 -0
- package/dist/data-table/components/data-table/data-table.d.ts +48 -0
- package/dist/data-table/components/data-table/data-table.d.ts.map +1 -0
- package/dist/data-table/components/data-table/data-table.js +48 -0
- package/dist/data-table/components/data-table/data-table.js.map +1 -0
- package/dist/data-table/components/data-table/filter-group-toggles.d.ts +9 -0
- package/dist/data-table/components/data-table/filter-group-toggles.d.ts.map +1 -0
- package/dist/data-table/components/data-table/filter-group-toggles.js +16 -0
- package/dist/data-table/components/data-table/filter-group-toggles.js.map +1 -0
- package/dist/data-table/components/data-table/filter-pill.d.ts +15 -0
- package/dist/data-table/components/data-table/filter-pill.d.ts.map +1 -0
- package/dist/data-table/components/data-table/filter-pill.js +69 -0
- package/dist/data-table/components/data-table/filter-pill.js.map +1 -0
- package/dist/data-table/components/ui/date-picker.d.ts +33 -0
- package/dist/data-table/components/ui/date-picker.d.ts.map +1 -0
- package/dist/data-table/components/ui/date-picker.js +60 -0
- package/dist/data-table/components/ui/date-picker.js.map +1 -0
- package/dist/data-table/components/ui/faceted.d.ts +39 -0
- package/dist/data-table/components/ui/faceted.d.ts.map +1 -0
- package/dist/data-table/components/ui/faceted.js +102 -0
- package/dist/data-table/components/ui/faceted.js.map +1 -0
- package/dist/data-table/components/ui/sortable-parts.d.ts +30 -0
- package/dist/data-table/components/ui/sortable-parts.d.ts.map +1 -0
- package/dist/data-table/components/ui/sortable-parts.js +128 -0
- package/dist/data-table/components/ui/sortable-parts.js.map +1 -0
- package/dist/data-table/components/ui/sortable-root-context.d.ts +15 -0
- package/dist/data-table/components/ui/sortable-root-context.d.ts.map +1 -0
- package/dist/data-table/components/ui/sortable-root-context.js +11 -0
- package/dist/data-table/components/ui/sortable-root-context.js.map +1 -0
- package/dist/data-table/components/ui/sortable-types.d.ts +27 -0
- package/dist/data-table/components/ui/sortable-types.d.ts.map +1 -0
- package/dist/data-table/components/ui/sortable-types.js +2 -0
- package/dist/data-table/components/ui/sortable-types.js.map +1 -0
- package/dist/data-table/components/ui/sortable.d.ts +5 -0
- package/dist/data-table/components/ui/sortable.d.ts.map +1 -0
- package/dist/data-table/components/ui/sortable.js +177 -0
- package/dist/data-table/components/ui/sortable.js.map +1 -0
- package/dist/data-table/config/data-table.d.ts +129 -0
- package/dist/data-table/config/data-table.d.ts.map +1 -0
- package/dist/data-table/config/data-table.js +88 -0
- package/dist/data-table/config/data-table.js.map +1 -0
- package/dist/data-table/copy/data-table-copy.d.ts +765 -0
- package/dist/data-table/copy/data-table-copy.d.ts.map +1 -0
- package/dist/data-table/copy/data-table-copy.js +190 -0
- package/dist/data-table/copy/data-table-copy.js.map +1 -0
- package/dist/data-table/hooks/use-callback-ref.d.ts +10 -0
- package/dist/data-table/hooks/use-callback-ref.d.ts.map +1 -0
- package/dist/data-table/hooks/use-callback-ref.js +17 -0
- package/dist/data-table/hooks/use-callback-ref.js.map +1 -0
- package/dist/data-table/hooks/use-data-table-search-params.d.ts +32 -0
- package/dist/data-table/hooks/use-data-table-search-params.d.ts.map +1 -0
- package/dist/data-table/hooks/use-data-table-search-params.js +32 -0
- package/dist/data-table/hooks/use-data-table-search-params.js.map +1 -0
- package/dist/data-table/hooks/use-data-table.d.ts +55 -0
- package/dist/data-table/hooks/use-data-table.d.ts.map +1 -0
- package/dist/data-table/hooks/use-data-table.js +150 -0
- package/dist/data-table/hooks/use-data-table.js.map +1 -0
- package/dist/data-table/hooks/use-debounced-callback.d.ts +8 -0
- package/dist/data-table/hooks/use-debounced-callback.d.ts.map +1 -0
- package/dist/data-table/hooks/use-debounced-callback.js +22 -0
- package/dist/data-table/hooks/use-debounced-callback.js.map +1 -0
- package/dist/data-table/hooks/use-is-phone-width.d.ts +7 -0
- package/dist/data-table/hooks/use-is-phone-width.d.ts.map +1 -0
- package/dist/data-table/hooks/use-is-phone-width.js +34 -0
- package/dist/data-table/hooks/use-is-phone-width.js.map +1 -0
- package/dist/data-table/hooks/use-list-emptiness.d.ts +14 -0
- package/dist/data-table/hooks/use-list-emptiness.d.ts.map +1 -0
- package/dist/data-table/hooks/use-list-emptiness.js +28 -0
- package/dist/data-table/hooks/use-list-emptiness.js.map +1 -0
- package/dist/data-table/hooks/use-reader-column-layout.d.ts +20 -0
- package/dist/data-table/hooks/use-reader-column-layout.d.ts.map +1 -0
- package/dist/data-table/hooks/use-reader-column-layout.js +31 -0
- package/dist/data-table/hooks/use-reader-column-layout.js.map +1 -0
- package/dist/data-table/index.d.ts +37 -0
- package/dist/data-table/index.d.ts.map +1 -0
- package/dist/data-table/index.js +37 -0
- package/dist/data-table/index.js.map +1 -0
- package/dist/data-table/lib/card-fields.d.ts +33 -0
- package/dist/data-table/lib/card-fields.d.ts.map +1 -0
- package/dist/data-table/lib/card-fields.js +39 -0
- package/dist/data-table/lib/card-fields.js.map +1 -0
- package/dist/data-table/lib/clearable-column-filters.d.ts +6 -0
- package/dist/data-table/lib/clearable-column-filters.d.ts.map +1 -0
- package/dist/data-table/lib/clearable-column-filters.js +19 -0
- package/dist/data-table/lib/clearable-column-filters.js.map +1 -0
- package/dist/data-table/lib/column-filters.d.ts +19 -0
- package/dist/data-table/lib/column-filters.d.ts.map +1 -0
- package/dist/data-table/lib/column-filters.js +60 -0
- package/dist/data-table/lib/column-filters.js.map +1 -0
- package/dist/data-table/lib/column-label.d.ts +13 -0
- package/dist/data-table/lib/column-label.d.ts.map +1 -0
- package/dist/data-table/lib/column-label.js +24 -0
- package/dist/data-table/lib/column-label.js.map +1 -0
- package/dist/data-table/lib/column-roles.d.ts +34 -0
- package/dist/data-table/lib/column-roles.d.ts.map +1 -0
- package/dist/data-table/lib/column-roles.js +79 -0
- package/dist/data-table/lib/column-roles.js.map +1 -0
- package/dist/data-table/lib/column-visibility-storage.d.ts +21 -0
- package/dist/data-table/lib/column-visibility-storage.d.ts.map +1 -0
- package/dist/data-table/lib/column-visibility-storage.js +52 -0
- package/dist/data-table/lib/column-visibility-storage.js.map +1 -0
- package/dist/data-table/lib/compose-refs.d.ts +17 -0
- package/dist/data-table/lib/compose-refs.d.ts.map +1 -0
- package/dist/data-table/lib/compose-refs.js +52 -0
- package/dist/data-table/lib/compose-refs.js.map +1 -0
- package/dist/data-table/lib/data-table-search-params.d.ts +131 -0
- package/dist/data-table/lib/data-table-search-params.d.ts.map +1 -0
- package/dist/data-table/lib/data-table-search-params.js +116 -0
- package/dist/data-table/lib/data-table-search-params.js.map +1 -0
- package/dist/data-table/lib/data-table-types.d.ts +44 -0
- package/dist/data-table/lib/data-table-types.d.ts.map +1 -0
- package/dist/data-table/lib/data-table-types.js +2 -0
- package/dist/data-table/lib/data-table-types.js.map +1 -0
- package/dist/data-table/lib/data-table.d.ts +42 -0
- package/dist/data-table/lib/data-table.d.ts.map +1 -0
- package/dist/data-table/lib/data-table.js +92 -0
- package/dist/data-table/lib/data-table.js.map +1 -0
- package/dist/data-table/lib/filter-groups.d.ts +63 -0
- package/dist/data-table/lib/filter-groups.d.ts.map +1 -0
- package/dist/data-table/lib/filter-groups.js +55 -0
- package/dist/data-table/lib/filter-groups.js.map +1 -0
- package/dist/data-table/lib/filter-param.d.ts +111 -0
- package/dist/data-table/lib/filter-param.d.ts.map +1 -0
- package/dist/data-table/lib/filter-param.js +146 -0
- package/dist/data-table/lib/filter-param.js.map +1 -0
- package/dist/data-table/lib/format.d.ts +18 -0
- package/dist/data-table/lib/format.d.ts.map +1 -0
- package/dist/data-table/lib/format.js +43 -0
- package/dist/data-table/lib/format.js.map +1 -0
- package/dist/data-table/lib/id.d.ts +7 -0
- package/dist/data-table/lib/id.d.ts.map +1 -0
- package/dist/data-table/lib/id.js +11 -0
- package/dist/data-table/lib/id.js.map +1 -0
- package/dist/data-table/lib/list-emptiness.d.ts +63 -0
- package/dist/data-table/lib/list-emptiness.d.ts.map +1 -0
- package/dist/data-table/lib/list-emptiness.js +59 -0
- package/dist/data-table/lib/list-emptiness.js.map +1 -0
- package/dist/data-table/lib/parsers.d.ts +51 -0
- package/dist/data-table/lib/parsers.d.ts.map +1 -0
- package/dist/data-table/lib/parsers.js +37 -0
- package/dist/data-table/lib/parsers.js.map +1 -0
- package/dist/data-table/lib/read-primary-row-link.d.ts +18 -0
- package/dist/data-table/lib/read-primary-row-link.d.ts.map +1 -0
- package/dist/data-table/lib/read-primary-row-link.js +38 -0
- package/dist/data-table/lib/read-primary-row-link.js.map +1 -0
- package/dist/data-table/lib/reader-hidden-columns.d.ts +11 -0
- package/dist/data-table/lib/reader-hidden-columns.d.ts.map +1 -0
- package/dist/data-table/lib/reader-hidden-columns.js +18 -0
- package/dist/data-table/lib/reader-hidden-columns.js.map +1 -0
- package/dist/data-table/lib/row-groups.d.ts +12 -0
- package/dist/data-table/lib/row-groups.d.ts.map +1 -0
- package/dist/data-table/lib/row-groups.js +10 -0
- package/dist/data-table/lib/row-groups.js.map +1 -0
- package/dist/data-table/lib/sort-param.d.ts +42 -0
- package/dist/data-table/lib/sort-param.d.ts.map +1 -0
- package/dist/data-table/lib/sort-param.js +70 -0
- package/dist/data-table/lib/sort-param.js.map +1 -0
- package/dist/data-table/routing.d.ts +8 -0
- package/dist/data-table/routing.d.ts.map +1 -0
- package/dist/data-table/routing.js +8 -0
- package/dist/data-table/routing.js.map +1 -0
- package/dist/display/components/ui/alert.d.ts +10 -0
- package/dist/display/components/ui/alert.d.ts.map +1 -0
- package/dist/display/components/ui/alert.js +26 -0
- package/dist/display/components/ui/alert.js.map +1 -0
- package/dist/display/components/ui/collapsible.d.ts +6 -0
- package/dist/display/components/ui/collapsible.d.ts.map +1 -0
- package/dist/display/components/ui/collapsible.js +13 -0
- package/dist/display/components/ui/collapsible.js.map +1 -0
- package/dist/display/components/ui/empty.d.ts +12 -0
- package/dist/display/components/ui/empty.d.ts.map +1 -0
- package/dist/display/components/ui/empty.js +34 -0
- package/dist/display/components/ui/empty.js.map +1 -0
- package/dist/display/components/ui/logic/horizontal-overflow-edges.d.ts +19 -0
- package/dist/display/components/ui/logic/horizontal-overflow-edges.d.ts.map +1 -0
- package/dist/display/components/ui/logic/horizontal-overflow-edges.js +19 -0
- package/dist/display/components/ui/logic/horizontal-overflow-edges.js.map +1 -0
- package/dist/display/components/ui/scroll-area.d.ts +6 -0
- package/dist/display/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/display/components/ui/scroll-area.js +15 -0
- package/dist/display/components/ui/scroll-area.js.map +1 -0
- package/dist/display/components/ui/status-badge.d.ts +16 -0
- package/dist/display/components/ui/status-badge.d.ts.map +1 -0
- package/dist/display/components/ui/status-badge.js +20 -0
- package/dist/display/components/ui/status-badge.js.map +1 -0
- package/dist/display/components/ui/status-tone.d.ts +4 -0
- package/dist/display/components/ui/status-tone.d.ts.map +1 -0
- package/dist/display/components/ui/status-tone.js +8 -0
- package/dist/display/components/ui/status-tone.js.map +1 -0
- package/dist/display/components/ui/table-edge-fade.d.ts +12 -0
- package/dist/display/components/ui/table-edge-fade.d.ts.map +1 -0
- package/dist/display/components/ui/table-edge-fade.js +14 -0
- package/dist/display/components/ui/table-edge-fade.js.map +1 -0
- package/dist/display/components/ui/table.d.ts +46 -0
- package/dist/display/components/ui/table.d.ts.map +1 -0
- package/dist/display/components/ui/table.js +57 -0
- package/dist/display/components/ui/table.js.map +1 -0
- package/dist/display/components/ui/tabs.d.ts +12 -0
- package/dist/display/components/ui/tabs.d.ts.map +1 -0
- package/dist/display/components/ui/tabs.js +31 -0
- package/dist/display/components/ui/tabs.js.map +1 -0
- package/dist/display/components/ui/tone-bar.d.ts +13 -0
- package/dist/display/components/ui/tone-bar.d.ts.map +1 -0
- package/dist/display/components/ui/tone-bar.js +14 -0
- package/dist/display/components/ui/tone-bar.js.map +1 -0
- package/dist/display/components/ui/use-hidden-edges.d.ts +18 -0
- package/dist/display/components/ui/use-hidden-edges.d.ts.map +1 -0
- package/dist/display/components/ui/use-hidden-edges.js +67 -0
- package/dist/display/components/ui/use-hidden-edges.js.map +1 -0
- package/dist/display/index.d.ts +9 -0
- package/dist/display/index.d.ts.map +1 -0
- package/dist/display/index.js +9 -0
- package/dist/display/index.js.map +1 -0
- package/dist/elements/calendar.d.ts +7 -0
- package/dist/elements/calendar.d.ts.map +1 -0
- package/dist/elements/calendar.js +7 -0
- package/dist/elements/calendar.js.map +1 -0
- package/dist/elements/components/ui/avatar.d.ts +12 -0
- package/dist/elements/components/ui/avatar.d.ts.map +1 -0
- package/dist/elements/components/ui/avatar.js +24 -0
- package/dist/elements/components/ui/avatar.js.map +1 -0
- package/dist/elements/components/ui/badge.d.ts +10 -0
- package/dist/elements/components/ui/badge.d.ts.map +1 -0
- package/dist/elements/components/ui/badge.js +26 -0
- package/dist/elements/components/ui/badge.js.map +1 -0
- package/dist/elements/components/ui/button.d.ts +11 -0
- package/dist/elements/components/ui/button.d.ts.map +1 -0
- package/dist/elements/components/ui/button.js +39 -0
- package/dist/elements/components/ui/button.js.map +1 -0
- package/dist/elements/components/ui/calendar.d.ts +35 -0
- package/dist/elements/components/ui/calendar.d.ts.map +1 -0
- package/dist/elements/components/ui/calendar.js +69 -0
- package/dist/elements/components/ui/calendar.js.map +1 -0
- package/dist/elements/components/ui/card.d.ts +10 -0
- package/dist/elements/components/ui/card.d.ts.map +1 -0
- package/dist/elements/components/ui/card.js +26 -0
- package/dist/elements/components/ui/card.js.map +1 -0
- package/dist/elements/components/ui/kbd.d.ts +4 -0
- package/dist/elements/components/ui/kbd.d.ts.map +1 -0
- package/dist/elements/components/ui/kbd.js +10 -0
- package/dist/elements/components/ui/kbd.js.map +1 -0
- package/dist/elements/components/ui/separator.d.ts +5 -0
- package/dist/elements/components/ui/separator.d.ts.map +1 -0
- package/dist/elements/components/ui/separator.js +9 -0
- package/dist/elements/components/ui/separator.js.map +1 -0
- package/dist/elements/components/ui/skeleton.d.ts +3 -0
- package/dist/elements/components/ui/skeleton.d.ts.map +1 -0
- package/dist/elements/components/ui/skeleton.js +7 -0
- package/dist/elements/components/ui/skeleton.js.map +1 -0
- package/dist/elements/components/ui/spinner.d.ts +3 -0
- package/dist/elements/components/ui/spinner.d.ts.map +1 -0
- package/dist/elements/components/ui/spinner.js +10 -0
- package/dist/elements/components/ui/spinner.js.map +1 -0
- package/dist/elements/copy/elements-copy.d.ts +14 -0
- package/dist/elements/copy/elements-copy.d.ts.map +1 -0
- package/dist/elements/copy/elements-copy.js +6 -0
- package/dist/elements/copy/elements-copy.js.map +1 -0
- package/dist/elements/css-custom-properties.d.ts +3 -0
- package/dist/elements/css-custom-properties.d.ts.map +1 -0
- package/dist/elements/css-custom-properties.js +2 -0
- package/dist/elements/css-custom-properties.js.map +1 -0
- package/dist/elements/index.d.ts +14 -0
- package/dist/elements/index.d.ts.map +1 -0
- package/dist/elements/index.js +13 -0
- package/dist/elements/index.js.map +1 -0
- package/dist/elements/lib/attachment-item.d.ts +29 -0
- package/dist/elements/lib/attachment-item.d.ts.map +1 -0
- package/dist/elements/lib/attachment-item.js +57 -0
- package/dist/elements/lib/attachment-item.js.map +1 -0
- package/dist/elements/lib/get-initials.d.ts +9 -0
- package/dist/elements/lib/get-initials.d.ts.map +1 -0
- package/dist/elements/lib/get-initials.js +27 -0
- package/dist/elements/lib/get-initials.js.map +1 -0
- package/dist/elements/lib/utils.d.ts +3 -0
- package/dist/elements/lib/utils.d.ts.map +1 -0
- package/dist/elements/lib/utils.js +6 -0
- package/dist/elements/lib/utils.js.map +1 -0
- package/dist/forms/components/ui/checkbox.d.ts +5 -0
- package/dist/forms/components/ui/checkbox.d.ts.map +1 -0
- package/dist/forms/components/ui/checkbox.js +10 -0
- package/dist/forms/components/ui/checkbox.js.map +1 -0
- package/dist/forms/components/ui/combobox-options.d.ts +19 -0
- package/dist/forms/components/ui/combobox-options.d.ts.map +1 -0
- package/dist/forms/components/ui/combobox-options.js +48 -0
- package/dist/forms/components/ui/combobox-options.js.map +1 -0
- package/dist/forms/components/ui/combobox.d.ts +69 -0
- package/dist/forms/components/ui/combobox.d.ts.map +1 -0
- package/dist/forms/components/ui/combobox.js +115 -0
- package/dist/forms/components/ui/combobox.js.map +1 -0
- package/dist/forms/components/ui/date-range-field.d.ts +30 -0
- package/dist/forms/components/ui/date-range-field.d.ts.map +1 -0
- package/dist/forms/components/ui/date-range-field.js +22 -0
- package/dist/forms/components/ui/date-range-field.js.map +1 -0
- package/dist/forms/components/ui/field.d.ts +26 -0
- package/dist/forms/components/ui/field.d.ts.map +1 -0
- package/dist/forms/components/ui/field.js +73 -0
- package/dist/forms/components/ui/field.js.map +1 -0
- package/dist/forms/components/ui/input-group.d.ts +20 -0
- package/dist/forms/components/ui/input-group.d.ts.map +1 -0
- package/dist/forms/components/ui/input-group.js +66 -0
- package/dist/forms/components/ui/input-group.js.map +1 -0
- package/dist/forms/components/ui/input.d.ts +7 -0
- package/dist/forms/components/ui/input.d.ts.map +1 -0
- package/dist/forms/components/ui/input.js +8 -0
- package/dist/forms/components/ui/input.js.map +1 -0
- package/dist/forms/components/ui/label.d.ts +5 -0
- package/dist/forms/components/ui/label.d.ts.map +1 -0
- package/dist/forms/components/ui/label.js +9 -0
- package/dist/forms/components/ui/label.js.map +1 -0
- package/dist/forms/components/ui/radio-group.d.ts +6 -0
- package/dist/forms/components/ui/radio-group.d.ts.map +1 -0
- package/dist/forms/components/ui/radio-group.js +14 -0
- package/dist/forms/components/ui/radio-group.js.map +1 -0
- package/dist/forms/components/ui/remote-combobox-context.d.ts +6 -0
- package/dist/forms/components/ui/remote-combobox-context.d.ts.map +1 -0
- package/dist/forms/components/ui/remote-combobox-context.js +3 -0
- package/dist/forms/components/ui/remote-combobox-context.js.map +1 -0
- package/dist/forms/components/ui/remote-combobox.d.ts +37 -0
- package/dist/forms/components/ui/remote-combobox.d.ts.map +1 -0
- package/dist/forms/components/ui/remote-combobox.js +141 -0
- package/dist/forms/components/ui/remote-combobox.js.map +1 -0
- package/dist/forms/components/ui/select.d.ts +16 -0
- package/dist/forms/components/ui/select.d.ts.map +1 -0
- package/dist/forms/components/ui/select.js +40 -0
- package/dist/forms/components/ui/select.js.map +1 -0
- package/dist/forms/components/ui/slider.d.ts +5 -0
- package/dist/forms/components/ui/slider.d.ts.map +1 -0
- package/dist/forms/components/ui/slider.js +14 -0
- package/dist/forms/components/ui/slider.js.map +1 -0
- package/dist/forms/components/ui/switch.d.ts +21 -0
- package/dist/forms/components/ui/switch.d.ts.map +1 -0
- package/dist/forms/components/ui/switch.js +20 -0
- package/dist/forms/components/ui/switch.js.map +1 -0
- package/dist/forms/components/ui/textarea.d.ts +4 -0
- package/dist/forms/components/ui/textarea.d.ts.map +1 -0
- package/dist/forms/components/ui/textarea.js +8 -0
- package/dist/forms/components/ui/textarea.js.map +1 -0
- package/dist/forms/components/ui/toggle-group.d.ts +10 -0
- package/dist/forms/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/forms/components/ui/toggle-group.js +25 -0
- package/dist/forms/components/ui/toggle-group.js.map +1 -0
- package/dist/forms/components/ui/toggle.d.ts +10 -0
- package/dist/forms/components/ui/toggle.d.ts.map +1 -0
- package/dist/forms/components/ui/toggle.js +30 -0
- package/dist/forms/components/ui/toggle.js.map +1 -0
- package/dist/forms/index.d.ts +16 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/index.js +16 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/forms/logic/remote-combobox-page.d.ts +26 -0
- package/dist/forms/logic/remote-combobox-page.d.ts.map +1 -0
- package/dist/forms/logic/remote-combobox-page.js +16 -0
- package/dist/forms/logic/remote-combobox-page.js.map +1 -0
- package/dist/icons/index.d.ts +13 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +13 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/attachment-viewer.d.ts +36 -0
- package/dist/overlays/components/attachment-viewer/attachment-viewer.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/attachment-viewer.js +153 -0
- package/dist/overlays/components/attachment-viewer/attachment-viewer.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/full-screen-button.d.ts +4 -0
- package/dist/overlays/components/attachment-viewer/full-screen-button.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/full-screen-button.js +55 -0
- package/dist/overlays/components/attachment-viewer/full-screen-button.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/image-stage.d.ts +12 -0
- package/dist/overlays/components/attachment-viewer/image-stage.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/image-stage.js +94 -0
- package/dist/overlays/components/attachment-viewer/image-stage.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/image-fit.d.ts +15 -0
- package/dist/overlays/components/attachment-viewer/logic/image-fit.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/image-fit.js +24 -0
- package/dist/overlays/components/attachment-viewer/logic/image-fit.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-find.d.ts +65 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-find.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-find.js +77 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-find.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-page-input.d.ts +9 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-page-input.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-page-input.js +18 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-page-input.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-print.d.ts +43 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-print.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-print.js +65 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-print.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-thumbnail.d.ts +40 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-thumbnail.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-thumbnail.js +45 -0
- package/dist/overlays/components/attachment-viewer/logic/pdf-thumbnail.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/view-rotation.d.ts +14 -0
- package/dist/overlays/components/attachment-viewer/logic/view-rotation.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/view-rotation.js +31 -0
- package/dist/overlays/components/attachment-viewer/logic/view-rotation.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/view-zoom.d.ts +9 -0
- package/dist/overlays/components/attachment-viewer/logic/view-zoom.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/logic/view-zoom.js +27 -0
- package/dist/overlays/components/attachment-viewer/logic/view-zoom.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-find-bar.d.ts +14 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-find-bar.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-find-bar.js +49 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-find-bar.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-canvas-content.d.ts +4 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-canvas-content.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-canvas-content.js +47 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-canvas-content.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-field.d.ts +22 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-field.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-field.js +57 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-page-field.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-print-button.d.ts +10 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-print-button.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-print-button.js +26 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-print-button.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-struct-tree-guard.d.ts +19 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-struct-tree-guard.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-struct-tree-guard.js +28 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-struct-tree-guard.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-thumbnail-rail.d.ts +17 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-thumbnail-rail.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-thumbnail-rail.js +35 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-thumbnail-rail.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-types.d.ts +7 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-types.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-types.js +2 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdf-types.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-document.d.ts +3 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-document.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-document.js +13 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-document.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-viewer.d.ts +7 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-viewer.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-viewer.js +8 -0
- package/dist/overlays/components/attachment-viewer/pdf/pdfjs-viewer.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-keep-thumbnail-in-view.d.ts +11 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-keep-thumbnail-in-view.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-keep-thumbnail-in-view.js +52 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-keep-thumbnail-in-view.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-find.d.ts +25 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-find.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-find.js +94 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-find.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-print.d.ts +27 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-print.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-print.js +216 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-print.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-viewer.d.ts +28 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-viewer.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-viewer.js +255 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-pdf-viewer.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-thumbnail-render.d.ts +22 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-thumbnail-render.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-thumbnail-render.js +75 -0
- package/dist/overlays/components/attachment-viewer/pdf/use-thumbnail-render.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf-document-view.d.ts +18 -0
- package/dist/overlays/components/attachment-viewer/pdf-document-view.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf-document-view.js +128 -0
- package/dist/overlays/components/attachment-viewer/pdf-document-view.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf-page-canvas.d.ts +10 -0
- package/dist/overlays/components/attachment-viewer/pdf-page-canvas.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/pdf-page-canvas.js +26 -0
- package/dist/overlays/components/attachment-viewer/pdf-page-canvas.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/use-attachment-source.d.ts +55 -0
- package/dist/overlays/components/attachment-viewer/use-attachment-source.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/use-attachment-source.js +117 -0
- package/dist/overlays/components/attachment-viewer/use-attachment-source.js.map +1 -0
- package/dist/overlays/components/attachment-viewer/viewer-toolbar.d.ts +32 -0
- package/dist/overlays/components/attachment-viewer/viewer-toolbar.d.ts.map +1 -0
- package/dist/overlays/components/attachment-viewer/viewer-toolbar.js +28 -0
- package/dist/overlays/components/attachment-viewer/viewer-toolbar.js.map +1 -0
- package/dist/overlays/components/ui/alert-dialog.d.ts +21 -0
- package/dist/overlays/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/overlays/components/ui/alert-dialog.js +47 -0
- package/dist/overlays/components/ui/alert-dialog.js.map +1 -0
- package/dist/overlays/components/ui/command.d.ts +19 -0
- package/dist/overlays/components/ui/command.d.ts.map +1 -0
- package/dist/overlays/components/ui/command.js +37 -0
- package/dist/overlays/components/ui/command.js.map +1 -0
- package/dist/overlays/components/ui/dialog.d.ts +23 -0
- package/dist/overlays/components/ui/dialog.d.ts.map +1 -0
- package/dist/overlays/components/ui/dialog.js +78 -0
- package/dist/overlays/components/ui/dialog.js.map +1 -0
- package/dist/overlays/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/overlays/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/overlays/components/ui/dropdown-menu.js +53 -0
- package/dist/overlays/components/ui/dropdown-menu.js.map +1 -0
- package/dist/overlays/components/ui/popover.d.ts +11 -0
- package/dist/overlays/components/ui/popover.d.ts.map +1 -0
- package/dist/overlays/components/ui/popover.js +28 -0
- package/dist/overlays/components/ui/popover.js.map +1 -0
- package/dist/overlays/components/ui/sheet.d.ts +15 -0
- package/dist/overlays/components/ui/sheet.d.ts.map +1 -0
- package/dist/overlays/components/ui/sheet.js +43 -0
- package/dist/overlays/components/ui/sheet.js.map +1 -0
- package/dist/overlays/components/ui/sonner.d.ts +20 -0
- package/dist/overlays/components/ui/sonner.d.ts.map +1 -0
- package/dist/overlays/components/ui/sonner.js +40 -0
- package/dist/overlays/components/ui/sonner.js.map +1 -0
- package/dist/overlays/components/ui/split-button.d.ts +37 -0
- package/dist/overlays/components/ui/split-button.d.ts.map +1 -0
- package/dist/overlays/components/ui/split-button.js +29 -0
- package/dist/overlays/components/ui/split-button.js.map +1 -0
- package/dist/overlays/components/ui/tooltip.d.ts +8 -0
- package/dist/overlays/components/ui/tooltip.d.ts.map +1 -0
- package/dist/overlays/components/ui/tooltip.js +18 -0
- package/dist/overlays/components/ui/tooltip.js.map +1 -0
- package/dist/overlays/copy/overlays-copy.d.ts +320 -0
- package/dist/overlays/copy/overlays-copy.d.ts.map +1 -0
- package/dist/overlays/copy/overlays-copy.js +85 -0
- package/dist/overlays/copy/overlays-copy.js.map +1 -0
- package/dist/overlays/index.d.ts +13 -0
- package/dist/overlays/index.d.ts.map +1 -0
- package/dist/overlays/index.js +13 -0
- package/dist/overlays/index.js.map +1 -0
- package/dist/page/components/attachment-list.d.ts +31 -0
- package/dist/page/components/attachment-list.d.ts.map +1 -0
- package/dist/page/components/attachment-list.js +112 -0
- package/dist/page/components/attachment-list.js.map +1 -0
- package/dist/page/components/content-hierarchy.d.ts +29 -0
- package/dist/page/components/content-hierarchy.d.ts.map +1 -0
- package/dist/page/components/content-hierarchy.js +30 -0
- package/dist/page/components/content-hierarchy.js.map +1 -0
- package/dist/page/components/detail-card.d.ts +18 -0
- package/dist/page/components/detail-card.d.ts.map +1 -0
- package/dist/page/components/detail-card.js +13 -0
- package/dist/page/components/detail-card.js.map +1 -0
- package/dist/page/components/detail-layout.d.ts +8 -0
- package/dist/page/components/detail-layout.d.ts.map +1 -0
- package/dist/page/components/detail-layout.js +16 -0
- package/dist/page/components/detail-layout.js.map +1 -0
- package/dist/page/components/detail-page.d.ts +48 -0
- package/dist/page/components/detail-page.d.ts.map +1 -0
- package/dist/page/components/detail-page.js +47 -0
- package/dist/page/components/detail-page.js.map +1 -0
- package/dist/page/components/list-page.d.ts +31 -0
- package/dist/page/components/list-page.d.ts.map +1 -0
- package/dist/page/components/list-page.js +31 -0
- package/dist/page/components/list-page.js.map +1 -0
- package/dist/page/components/list-view-tabs.d.ts +37 -0
- package/dist/page/components/list-view-tabs.d.ts.map +1 -0
- package/dist/page/components/list-view-tabs.js +74 -0
- package/dist/page/components/list-view-tabs.js.map +1 -0
- package/dist/page/components/master-detail/logic/rail-list.d.ts +61 -0
- package/dist/page/components/master-detail/logic/rail-list.d.ts.map +1 -0
- package/dist/page/components/master-detail/logic/rail-list.js +66 -0
- package/dist/page/components/master-detail/logic/rail-list.js.map +1 -0
- package/dist/page/components/master-detail/master-detail-layout.d.ts +70 -0
- package/dist/page/components/master-detail/master-detail-layout.d.ts.map +1 -0
- package/dist/page/components/master-detail/master-detail-layout.js +92 -0
- package/dist/page/components/master-detail/master-detail-layout.js.map +1 -0
- package/dist/page/components/master-detail/master-detail-list.d.ts +41 -0
- package/dist/page/components/master-detail/master-detail-list.d.ts.map +1 -0
- package/dist/page/components/master-detail/master-detail-list.js +178 -0
- package/dist/page/components/master-detail/master-detail-list.js.map +1 -0
- package/dist/page/components/master-detail/master-detail-rail.d.ts +51 -0
- package/dist/page/components/master-detail/master-detail-rail.d.ts.map +1 -0
- package/dist/page/components/master-detail/master-detail-rail.js +53 -0
- package/dist/page/components/master-detail/master-detail-rail.js.map +1 -0
- package/dist/page/components/master-detail/master-detail-row.d.ts +24 -0
- package/dist/page/components/master-detail/master-detail-row.d.ts.map +1 -0
- package/dist/page/components/master-detail/master-detail-row.js +31 -0
- package/dist/page/components/master-detail/master-detail-row.js.map +1 -0
- package/dist/page/components/master-detail/testing/rail-geometry.d.ts +23 -0
- package/dist/page/components/master-detail/testing/rail-geometry.d.ts.map +1 -0
- package/dist/page/components/master-detail/testing/rail-geometry.js +67 -0
- package/dist/page/components/master-detail/testing/rail-geometry.js.map +1 -0
- package/dist/page/components/object-switch.d.ts +22 -0
- package/dist/page/components/object-switch.d.ts.map +1 -0
- package/dist/page/components/object-switch.js +24 -0
- package/dist/page/components/object-switch.js.map +1 -0
- package/dist/page/components/section-nav.d.ts +28 -0
- package/dist/page/components/section-nav.d.ts.map +1 -0
- package/dist/page/components/section-nav.js +42 -0
- package/dist/page/components/section-nav.js.map +1 -0
- package/dist/page/components/stat-strip.d.ts +24 -0
- package/dist/page/components/stat-strip.d.ts.map +1 -0
- package/dist/page/components/stat-strip.js +24 -0
- package/dist/page/components/stat-strip.js.map +1 -0
- package/dist/page/copy/page-copy.d.ts +98 -0
- package/dist/page/copy/page-copy.d.ts.map +1 -0
- package/dist/page/copy/page-copy.js +20 -0
- package/dist/page/copy/page-copy.js.map +1 -0
- package/dist/page/index.d.ts +17 -0
- package/dist/page/index.d.ts.map +1 -0
- package/dist/page/index.js +17 -0
- package/dist/page/index.js.map +1 -0
- package/dist/shell/components/ui/breadcrumb.d.ts +13 -0
- package/dist/shell/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/shell/components/ui/breadcrumb.js +35 -0
- package/dist/shell/components/ui/breadcrumb.js.map +1 -0
- package/dist/shell/components/ui/sidebar-context.d.ts +22 -0
- package/dist/shell/components/ui/sidebar-context.d.ts.map +1 -0
- package/dist/shell/components/ui/sidebar-context.js +85 -0
- package/dist/shell/components/ui/sidebar-context.js.map +1 -0
- package/dist/shell/components/ui/sidebar-menu.d.ts +32 -0
- package/dist/shell/components/ui/sidebar-menu.d.ts.map +1 -0
- package/dist/shell/components/ui/sidebar-menu.js +76 -0
- package/dist/shell/components/ui/sidebar-menu.js.map +1 -0
- package/dist/shell/components/ui/sidebar.d.ts +28 -0
- package/dist/shell/components/ui/sidebar.d.ts.map +1 -0
- package/dist/shell/components/ui/sidebar.js +83 -0
- package/dist/shell/components/ui/sidebar.js.map +1 -0
- package/dist/shell/copy/shell-copy.d.ts +38 -0
- package/dist/shell/copy/shell-copy.d.ts.map +1 -0
- package/dist/shell/copy/shell-copy.js +12 -0
- package/dist/shell/copy/shell-copy.js.map +1 -0
- package/dist/shell/hooks/use-mobile.d.ts +2 -0
- package/dist/shell/hooks/use-mobile.d.ts.map +1 -0
- package/dist/shell/hooks/use-mobile.js +18 -0
- package/dist/shell/hooks/use-mobile.js.map +1 -0
- package/dist/shell/index.d.ts +5 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +5 -0
- package/dist/shell/index.js.map +1 -0
- package/package.json +106 -4
- package/third-party-licenses/dice-ui.txt +21 -0
- package/third-party-licenses/mantine.txt +21 -0
- package/third-party-licenses/radix-primitives.txt +21 -0
- package/third-party-licenses/shadcn-ui.txt +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,cAAc;;;8EAmCnB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAmB,EACnB,IAAgB,EAChB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,qBAYF;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { Slot } from "radix-ui";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
// Every action variant has a persistent fill or border before interaction.
|
|
7
|
+
const buttonVariants = cva("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none cursor-pointer [@media(pointer:coarse)]:min-h-11 [@media(pointer:coarse)]:min-w-11 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 motion-reduce:transition-none", {
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "bg-primary text-primary-foreground hover:bg-primary-hover",
|
|
11
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
12
|
+
outline: "border border-input bg-card text-foreground shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:hover:bg-input/50",
|
|
13
|
+
outlinePrimary: "border border-primary bg-transparent text-primary hover:bg-primary/10 hover:text-link",
|
|
14
|
+
outlineBrand: "border border-brand bg-transparent text-brand hover:bg-brand/10 hover:text-brand",
|
|
15
|
+
outlineDestructive: "border border-destructive bg-background text-destructive hover:bg-destructive/10 hover:text-destructive",
|
|
16
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-accent hover:text-accent-foreground",
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
20
|
+
xs: "h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
21
|
+
sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
|
|
22
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
23
|
+
icon: "size-9",
|
|
24
|
+
"icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
|
|
25
|
+
"icon-sm": "size-8",
|
|
26
|
+
"icon-lg": "size-10",
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
variant: "default",
|
|
31
|
+
size: "default",
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
function Button({ className, variant = "default", size = "default", asChild = false, ...props }) {
|
|
35
|
+
const Comp = asChild ? Slot.Root : "button";
|
|
36
|
+
return (_jsx(Comp, { "data-slot": "button", "data-variant": variant, "data-size": size, className: cn(buttonVariants({ variant, size, className })), ...props }));
|
|
37
|
+
}
|
|
38
|
+
export { Button, buttonVariants };
|
|
39
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,2EAA2E;AAC3E,MAAM,cAAc,GAAG,GAAG,CACxB,0kBAA0kB,EAC1kB;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,2DAA2D;YACpE,WAAW,EACT,oEAAoE;YACtE,OAAO,EACL,4IAA4I;YAC9I,cAAc,EACZ,uFAAuF;YACzF,YAAY,EACV,kFAAkF;YACpF,kBAAkB,EAChB,yGAAyG;YAC3G,SAAS,EACP,qFAAqF;SACxF;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,+BAA+B;YACxC,EAAE,EAAE,0FAA0F;YAC9F,EAAE,EAAE,+CAA+C;YACnD,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,wDAAwD;YACnE,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,SAAS;SACrB;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAC;AAEF,SAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,IAAI,GAAG,SAAS,EAChB,OAAO,GAAG,KAAK,EACf,GAAG,KAAK,EAIP;IACD,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;IAE5C,OAAO,CACL,KAAC,IAAI,iBACO,QAAQ,kBACJ,OAAO,eACV,IAAI,EACf,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,KACvD,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type ClassNames, type CustomComponents, type Formatters, type PropsBase, type PropsSingle } from "@daypicker/react";
|
|
2
|
+
import type * as React from "react";
|
|
3
|
+
export declare const calendarClassNames: {
|
|
4
|
+
button_next: string;
|
|
5
|
+
button_previous: string;
|
|
6
|
+
caption_label: string;
|
|
7
|
+
day: string;
|
|
8
|
+
day_button: string;
|
|
9
|
+
dropdown: string;
|
|
10
|
+
dropdown_root: string;
|
|
11
|
+
dropdowns: string;
|
|
12
|
+
hidden: string;
|
|
13
|
+
month: string;
|
|
14
|
+
month_caption: string;
|
|
15
|
+
month_grid: string;
|
|
16
|
+
months: string;
|
|
17
|
+
nav: string;
|
|
18
|
+
outside: string;
|
|
19
|
+
range_end: string;
|
|
20
|
+
range_middle: string;
|
|
21
|
+
range_start: string;
|
|
22
|
+
today: string;
|
|
23
|
+
week: string;
|
|
24
|
+
weekday: string;
|
|
25
|
+
weekdays: string;
|
|
26
|
+
week_number: string;
|
|
27
|
+
};
|
|
28
|
+
export type CalendarProps = Omit<PropsBase & PropsSingle, "mode" | "required" | "className" | "classNames" | "components" | "formatters"> & {
|
|
29
|
+
readonly className?: string;
|
|
30
|
+
readonly classNames?: Partial<ClassNames>;
|
|
31
|
+
readonly components?: Partial<CustomComponents>;
|
|
32
|
+
readonly formatters?: Partial<Formatters>;
|
|
33
|
+
};
|
|
34
|
+
export declare function Calendar({ className, classNames, components, formatters, showOutsideDays, ...props }: CalendarProps): React.ReactElement;
|
|
35
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAC;AAM1B,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;CAsCA,CAAC;AAEhC,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,SAAS,GAAG,WAAW,EACvB,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,CAC/E,GAAG;IACF,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1C,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;CAC3C,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,KAAK,CAAC,YAAY,CAcpC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { DayPicker, } from "@daypicker/react";
|
|
4
|
+
import { ChevronLeftIcon, ChevronRightIcon, ChevronsUpDownIcon, } from "lucide-react";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
const navButtonClassNames = "relative flex size-(--cell-size) items-center justify-center rounded-md border border-input bg-card text-foreground not-in-data-selected:hover:bg-accent disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
7
|
+
export const calendarClassNames = {
|
|
8
|
+
button_next: navButtonClassNames,
|
|
9
|
+
button_previous: navButtonClassNames,
|
|
10
|
+
caption_label: "text-sm font-medium",
|
|
11
|
+
day: "relative size-(--cell-size) p-0 text-center",
|
|
12
|
+
day_button: cn("flex size-(--cell-size) items-center justify-center rounded-md text-sm outline-none", "hover:bg-accent hover:text-accent-foreground", "in-data-selected:bg-primary in-data-selected:text-primary-foreground in-data-selected:hover:bg-primary", "in-data-disabled:pointer-events-none in-data-disabled:text-muted-foreground in-data-disabled:opacity-50", "in-data-outside:text-muted-foreground", "in-data-selected:in-data-outside:text-primary-foreground", "focus-visible:z-1 focus-visible:ring-[3px] focus-visible:ring-ring/50", "in-[.range-middle]:rounded-none in-[.range-end:not(.range-start)]:rounded-s-none in-[.range-start:not(.range-end)]:rounded-e-none", "in-[.range-middle]:in-data-selected:bg-accent in-[.range-middle]:in-data-selected:text-foreground"),
|
|
13
|
+
dropdown: "absolute inset-0 bg-popover opacity-0",
|
|
14
|
+
dropdown_root: "relative h-8 rounded-md border border-input px-2.5 shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",
|
|
15
|
+
dropdowns: "flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm",
|
|
16
|
+
hidden: "invisible",
|
|
17
|
+
month: "flex w-full flex-col gap-2",
|
|
18
|
+
month_caption: "relative z-2 mx-(--cell-size) flex h-(--cell-size) items-center justify-center",
|
|
19
|
+
month_grid: "w-full border-collapse",
|
|
20
|
+
months: "relative flex flex-col gap-2",
|
|
21
|
+
nav: "absolute top-0 z-1 flex w-full justify-between",
|
|
22
|
+
outside: "text-muted-foreground",
|
|
23
|
+
range_end: "range-end",
|
|
24
|
+
range_middle: "range-middle",
|
|
25
|
+
range_start: "range-start",
|
|
26
|
+
today: "font-medium text-primary data-selected:text-primary-foreground",
|
|
27
|
+
week: "mt-1 flex w-full",
|
|
28
|
+
weekday: "flex-1 p-0 text-center text-xs font-medium text-muted-foreground",
|
|
29
|
+
weekdays: "flex w-full",
|
|
30
|
+
week_number: "size-(--cell-size) p-0 text-xs font-medium text-muted-foreground",
|
|
31
|
+
};
|
|
32
|
+
export function Calendar({ className, classNames, components, formatters, showOutsideDays = true, ...props }) {
|
|
33
|
+
return (_jsx(DayPicker, { ...props, mode: "single", required: false, showOutsideDays: showOutsideDays, className: cn("w-fit p-3 [--cell-size:--spacing(8)]", className), classNames: mergeClassNames(classNames), components: { Chevron: CalendarChevron, ...components }, ...(formatters === undefined ? {} : { formatters }), "data-slot": "calendar" }));
|
|
34
|
+
}
|
|
35
|
+
function mergeClassNames(classNames = {}) {
|
|
36
|
+
return {
|
|
37
|
+
...calendarClassNames,
|
|
38
|
+
...classNames,
|
|
39
|
+
button_next: cn(calendarClassNames.button_next, classNames.button_next),
|
|
40
|
+
button_previous: cn(calendarClassNames.button_previous, classNames.button_previous),
|
|
41
|
+
caption_label: cn(calendarClassNames.caption_label, classNames.caption_label),
|
|
42
|
+
day: cn(calendarClassNames.day, classNames.day),
|
|
43
|
+
day_button: cn(calendarClassNames.day_button, classNames.day_button),
|
|
44
|
+
dropdown: cn(calendarClassNames.dropdown, classNames.dropdown),
|
|
45
|
+
dropdown_root: cn(calendarClassNames.dropdown_root, classNames.dropdown_root),
|
|
46
|
+
dropdowns: cn(calendarClassNames.dropdowns, classNames.dropdowns),
|
|
47
|
+
month: cn(calendarClassNames.month, classNames.month),
|
|
48
|
+
month_caption: cn(calendarClassNames.month_caption, classNames.month_caption),
|
|
49
|
+
month_grid: cn(calendarClassNames.month_grid, classNames.month_grid),
|
|
50
|
+
months: cn(calendarClassNames.months, classNames.months),
|
|
51
|
+
nav: cn(calendarClassNames.nav, classNames.nav),
|
|
52
|
+
outside: cn(calendarClassNames.outside, classNames.outside),
|
|
53
|
+
today: cn(calendarClassNames.today, classNames.today),
|
|
54
|
+
week: cn(calendarClassNames.week, classNames.week),
|
|
55
|
+
weekday: cn(calendarClassNames.weekday, classNames.weekday),
|
|
56
|
+
weekdays: cn(calendarClassNames.weekdays, classNames.weekdays),
|
|
57
|
+
week_number: cn(calendarClassNames.week_number, classNames.week_number),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function CalendarChevron({ className, orientation, }) {
|
|
61
|
+
if (orientation === "left") {
|
|
62
|
+
return (_jsx(ChevronLeftIcon, { className: cn(className, "rtl:rotate-180"), "aria-hidden": "true" }));
|
|
63
|
+
}
|
|
64
|
+
if (orientation === "right") {
|
|
65
|
+
return (_jsx(ChevronRightIcon, { className: cn(className, "rtl:rotate-180"), "aria-hidden": "true" }));
|
|
66
|
+
}
|
|
67
|
+
return _jsx(ChevronsUpDownIcon, { className: className, "aria-hidden": "true" });
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=calendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EACL,SAAS,GAMV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,MAAM,mBAAmB,GACvB,6RAA6R,CAAC;AAEhS,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,WAAW,EAAE,mBAAmB;IAChC,eAAe,EAAE,mBAAmB;IACpC,aAAa,EAAE,qBAAqB;IACpC,GAAG,EAAE,6CAA6C;IAClD,UAAU,EAAE,EAAE,CACZ,qFAAqF,EACrF,8CAA8C,EAC9C,wGAAwG,EACxG,yGAAyG,EACzG,uCAAuC,EACvC,0DAA0D,EAC1D,uEAAuE,EACvE,mIAAmI,EACnI,mGAAmG,CACpG;IACD,QAAQ,EAAE,uCAAuC;IACjD,aAAa,EACX,gIAAgI;IAClI,SAAS,EACP,yEAAyE;IAC3E,MAAM,EAAE,WAAW;IACnB,KAAK,EAAE,4BAA4B;IACnC,aAAa,EACX,gFAAgF;IAClF,UAAU,EAAE,wBAAwB;IACpC,MAAM,EAAE,8BAA8B;IACtC,GAAG,EAAE,gDAAgD;IACrD,OAAO,EAAE,uBAAuB;IAChC,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,gEAAgE;IACvE,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,kEAAkE;IAC3E,QAAQ,EAAE,aAAa;IACvB,WAAW,EACT,kEAAkE;CACvC,CAAC;AAYhC,MAAM,UAAU,QAAQ,CAAC,EACvB,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,eAAe,GAAG,IAAI,EACtB,GAAG,KAAK,EACM;IACd,OAAO,CACL,KAAC,SAAS,OACJ,KAAK,EACT,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,KAAK,EACf,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,EAAE,CAAC,sCAAsC,EAAE,SAAS,CAAC,EAChE,UAAU,EAAE,eAAe,CAAC,UAAU,CAAC,EACvC,UAAU,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,UAAU,EAAE,KACnD,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,eAC1C,UAAU,GACpB,CACH,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CACtB,UAAU,GAAwB,EAAE;IAEpC,OAAO;QACL,GAAG,kBAAkB;QACrB,GAAG,UAAU;QACb,WAAW,EAAE,EAAE,CAAC,kBAAkB,CAAC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;QACvE,eAAe,EAAE,EAAE,CACjB,kBAAkB,CAAC,eAAe,EAClC,UAAU,CAAC,eAAe,CAC3B;QACD,aAAa,EAAE,EAAE,CACf,kBAAkB,CAAC,aAAa,EAChC,UAAU,CAAC,aAAa,CACzB;QACD,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC;QAC/C,UAAU,EAAE,EAAE,CAAC,kBAAkB,CAAC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC;QACpE,QAAQ,EAAE,EAAE,CAAC,kBAAkB,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;QAC9D,aAAa,EAAE,EAAE,CACf,kBAAkB,CAAC,aAAa,EAChC,UAAU,CAAC,aAAa,CACzB;QACD,SAAS,EAAE,EAAE,CAAC,kBAAkB,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;QACjE,KAAK,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;QACrD,aAAa,EAAE,EAAE,CACf,kBAAkB,CAAC,aAAa,EAChC,UAAU,CAAC,aAAa,CACzB;QACD,UAAU,EAAE,EAAE,CAAC,kBAAkB,CAAC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC;QACpE,MAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC;QACxD,GAAG,EAAE,EAAE,CAAC,kBAAkB,CAAC,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC;QAC/C,OAAO,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;QAC3D,KAAK,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;QACrD,IAAI,EAAE,EAAE,CAAC,kBAAkB,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC;QAClD,OAAO,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;QAC3D,QAAQ,EAAE,EAAE,CAAC,kBAAkB,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;QAC9D,WAAW,EAAE,EAAE,CAAC,kBAAkB,CAAC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;KACxE,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,EACvB,SAAS,EACT,WAAW,GACuC;IAClD,IAAI,WAAW,KAAK,MAAM,EAAE,CAAC;QAC3B,OAAO,CACL,KAAC,eAAe,IACd,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC,iBAC9B,MAAM,GAClB,CACH,CAAC;IACJ,CAAC;IACD,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;QAC5B,OAAO,CACL,KAAC,gBAAgB,IACf,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC,iBAC9B,MAAM,GAClB,CACH,CAAC;IACJ,CAAC;IACD,OAAO,KAAC,kBAAkB,IAAC,SAAS,EAAE,SAAS,iBAAc,MAAM,GAAG,CAAC;AACzE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare function Card({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
3
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
4
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
5
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
6
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
7
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
8
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
9
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
10
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWjE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQtE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ5E;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQxE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQvE;AAED,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
function Card({ className, ...props }) {
|
|
5
|
+
return (_jsx("div", { "data-slot": "card", className: cn("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm", className), ...props }));
|
|
6
|
+
}
|
|
7
|
+
function CardHeader({ className, ...props }) {
|
|
8
|
+
return (_jsx("div", { "data-slot": "card-header", className: cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className), ...props }));
|
|
9
|
+
}
|
|
10
|
+
function CardTitle({ className, ...props }) {
|
|
11
|
+
return (_jsx("div", { "data-slot": "card-title", className: cn("leading-none font-semibold", className), ...props }));
|
|
12
|
+
}
|
|
13
|
+
function CardDescription({ className, ...props }) {
|
|
14
|
+
return (_jsx("div", { "data-slot": "card-description", className: cn("text-sm text-muted-foreground", className), ...props }));
|
|
15
|
+
}
|
|
16
|
+
function CardAction({ className, ...props }) {
|
|
17
|
+
return (_jsx("div", { "data-slot": "card-action", className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className), ...props }));
|
|
18
|
+
}
|
|
19
|
+
function CardContent({ className, ...props }) {
|
|
20
|
+
return (_jsx("div", { "data-slot": "card-content", className: cn("px-6", className), ...props }));
|
|
21
|
+
}
|
|
22
|
+
function CardFooter({ className, ...props }) {
|
|
23
|
+
return (_jsx("div", { "data-slot": "card-footer", className: cn("flex items-center px-6 [.border-t]:pt-6", className), ...props }));
|
|
24
|
+
}
|
|
25
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
26
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/card.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,SAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IAChE,OAAO,CACL,2BACY,MAAM,EAChB,SAAS,EAAE,EAAE,CACX,mFAAmF,EACnF,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACtE,OAAO,CACL,2BACY,aAAa,EACvB,SAAS,EAAE,EAAE,CACX,0JAA0J,EAC1J,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACrE,OAAO,CACL,2BACY,YAAY,EACtB,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,KAClD,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IAC3E,OAAO,CACL,2BACY,kBAAkB,EAC5B,SAAS,EAAE,EAAE,CAAC,+BAA+B,EAAE,SAAS,CAAC,KACrD,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACtE,OAAO,CACL,2BACY,aAAa,EACvB,SAAS,EAAE,EAAE,CACX,gEAAgE,EAChE,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACvE,OAAO,CACL,2BACY,cAAc,EACxB,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,KAC5B,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACtE,OAAO,CACL,2BACY,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,yCAAyC,EAAE,SAAS,CAAC,KAC/D,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): import("react").JSX.Element;
|
|
2
|
+
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
3
|
+
export { Kbd, KbdGroup };
|
|
4
|
+
//# sourceMappingURL=kbd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/kbd.tsx"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAahE;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAQrE;AAED,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
3
|
+
function Kbd({ className, ...props }) {
|
|
4
|
+
return (_jsx("kbd", { "data-slot": "kbd", className: cn("pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", className), ...props }));
|
|
5
|
+
}
|
|
6
|
+
function KbdGroup({ className, ...props }) {
|
|
7
|
+
return (_jsx("kbd", { "data-slot": "kbd-group", className: cn("inline-flex items-center gap-1", className), ...props }));
|
|
8
|
+
}
|
|
9
|
+
export { Kbd, KbdGroup };
|
|
10
|
+
//# sourceMappingURL=kbd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kbd.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/kbd.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IAC/D,OAAO,CACL,2BACY,KAAK,EACf,SAAS,EAAE,EAAE,CACX,8KAA8K,EAC9K,sCAAsC,EACtC,wJAAwJ,EACxJ,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACpE,OAAO,CACL,2BACY,WAAW,EACrB,SAAS,EAAE,EAAE,CAAC,gCAAgC,EAAE,SAAS,CAAC,KACtD,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
export { Separator };
|
|
5
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,qBAatD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
6
|
+
return (_jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className), ...props }));
|
|
7
|
+
}
|
|
8
|
+
export { Separator };
|
|
9
|
+
//# sourceMappingURL=separator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/separator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,IAAI,EACjB,GAAG,KAAK,EAC6C;IACrD,OAAO,CACL,KAAC,kBAAkB,CAAC,IAAI,iBACZ,WAAW,EACrB,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,gKAAgK,EAChK,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/skeleton.tsx"],"names":[],"mappings":"AAEA,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAWrE;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/utils.js";
|
|
3
|
+
function Skeleton({ className, ...props }) {
|
|
4
|
+
return (_jsx("div", { "data-slot": "skeleton", className: cn("animate-pulse rounded-md bg-accent motion-reduce:animate-none", className), ...props }));
|
|
5
|
+
}
|
|
6
|
+
export { Skeleton };
|
|
7
|
+
//# sourceMappingURL=skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/skeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,SAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACpE,OAAO,CACL,2BACY,UAAU,EACpB,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../../src/elements/components/ui/spinner.tsx"],"names":[],"mappings":"AAKA,iBAAS,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAapE;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Loader2Icon } from "lucide-react";
|
|
3
|
+
import { useElementsCopy } from "../../copy/elements-copy.js";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
function Spinner({ className, ...props }) {
|
|
6
|
+
const t = useElementsCopy();
|
|
7
|
+
return (_jsx(Loader2Icon, { role: "status", "aria-label": t("elements.loading.label"), className: cn("size-4 animate-spin motion-reduce:animate-none", className), ...props }));
|
|
8
|
+
}
|
|
9
|
+
export { Spinner };
|
|
10
|
+
//# sourceMappingURL=spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../../src/elements/components/ui/spinner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,SAAS,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACnE,MAAM,CAAC,GAAG,eAAe,EAAE,CAAC;IAC5B,OAAO,CACL,KAAC,WAAW,IACV,IAAI,EAAC,QAAQ,gBACD,CAAC,CAAC,wBAAwB,CAAC,EACvC,SAAS,EAAE,EAAE,CACX,gDAAgD,EAChD,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type CopyKey, type CopyTranslator } from "@dads-framework/copy";
|
|
2
|
+
export declare const elementsCopy: {
|
|
3
|
+
readonly "elements.loading.label": {
|
|
4
|
+
readonly en: "Loading";
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export type ElementsCopyKey = CopyKey<typeof elementsCopy>;
|
|
8
|
+
export type ElementsCopyTranslator = CopyTranslator<typeof elementsCopy>;
|
|
9
|
+
export declare const useElementsCopy: () => CopyTranslator<{
|
|
10
|
+
readonly "elements.loading.label": {
|
|
11
|
+
readonly en: "Loading";
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=elements-copy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elements-copy.d.ts","sourceRoot":"","sources":["../../../src/elements/copy/elements-copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,cAAc,EACpB,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,YAAY;;;;CAEvB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,YAAY,CAAC,CAAC;AAC3D,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAEzE,eAAO,MAAM,eAAe;;;;EAA+B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createCopyHook, defineCopy, } from "@dads-framework/copy";
|
|
2
|
+
export const elementsCopy = defineCopy({
|
|
3
|
+
"elements.loading.label": { en: "Loading" },
|
|
4
|
+
});
|
|
5
|
+
export const useElementsCopy = createCopyHook(elementsCopy);
|
|
6
|
+
//# sourceMappingURL=elements-copy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elements-copy.js","sourceRoot":"","sources":["../../../src/elements/copy/elements-copy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,UAAU,GAGX,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;IACrC,wBAAwB,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE;CAC5C,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-custom-properties.d.ts","sourceRoot":"","sources":["../../src/elements/css-custom-properties.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,CACvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-custom-properties.js","sourceRoot":"","sources":["../../src/elements/css-custom-properties.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { cn } from "./lib/utils.js";
|
|
2
|
+
export { getInitials } from "./lib/get-initials.js";
|
|
3
|
+
export { attachmentExtensionOf, attachmentKindOf, fileSizeParts, formatFileSize, type AttachmentItem, type AttachmentKind, type AttachmentOpenHandler, } from "./lib/attachment-item.js";
|
|
4
|
+
export * from "./copy/elements-copy.js";
|
|
5
|
+
export type { CssCustomProperties } from "./css-custom-properties.js";
|
|
6
|
+
export * from "./components/ui/avatar.js";
|
|
7
|
+
export * from "./components/ui/badge.js";
|
|
8
|
+
export * from "./components/ui/button.js";
|
|
9
|
+
export * from "./components/ui/card.js";
|
|
10
|
+
export * from "./components/ui/kbd.js";
|
|
11
|
+
export * from "./components/ui/separator.js";
|
|
12
|
+
export * from "./components/ui/skeleton.js";
|
|
13
|
+
export * from "./components/ui/spinner.js";
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/elements/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,0BAA0B,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,YAAY,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { cn } from "./lib/utils.js";
|
|
2
|
+
export { getInitials } from "./lib/get-initials.js";
|
|
3
|
+
export { attachmentExtensionOf, attachmentKindOf, fileSizeParts, formatFileSize, } from "./lib/attachment-item.js";
|
|
4
|
+
export * from "./copy/elements-copy.js";
|
|
5
|
+
export * from "./components/ui/avatar.js";
|
|
6
|
+
export * from "./components/ui/badge.js";
|
|
7
|
+
export * from "./components/ui/button.js";
|
|
8
|
+
export * from "./components/ui/card.js";
|
|
9
|
+
export * from "./components/ui/kbd.js";
|
|
10
|
+
export * from "./components/ui/separator.js";
|
|
11
|
+
export * from "./components/ui/skeleton.js";
|
|
12
|
+
export * from "./components/ui/spinner.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/elements/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,cAAc,GAIf,MAAM,0BAA0B,CAAC;AAClC,cAAc,yBAAyB,CAAC;AAExC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shared shape of a stored file in the attachment list and the attachment
|
|
3
|
+
* viewer. Both read this type, so neither knows how a feature stores its files.
|
|
4
|
+
*/
|
|
5
|
+
export type AttachmentKind = "pdf" | "image" | "other";
|
|
6
|
+
export type AttachmentItem = {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly fileName: string;
|
|
9
|
+
readonly contentType: string;
|
|
10
|
+
readonly byteSize: number;
|
|
11
|
+
};
|
|
12
|
+
/** Called when a person asks to look at a file in place (not download it). */
|
|
13
|
+
export type AttachmentOpenHandler = (item: AttachmentItem) => void;
|
|
14
|
+
/**
|
|
15
|
+
* What the viewer can show for a file. The MIME type decides first; the file
|
|
16
|
+
* extension is only a fallback for generic types such as
|
|
17
|
+
* `application/octet-stream`, which browsers and uploaders often send.
|
|
18
|
+
*/
|
|
19
|
+
export declare function attachmentKindOf(item: Pick<AttachmentItem, "contentType" | "fileName">): AttachmentKind;
|
|
20
|
+
/** Machine key for the file type: lowercase text after the last dot, or "". */
|
|
21
|
+
export declare function attachmentExtensionOf(fileName: string): string;
|
|
22
|
+
/** Human file sizes use decimal units ("1.2 MB"), never binary "MiB" jargon. */
|
|
23
|
+
export declare function fileSizeParts(bytes: number): {
|
|
24
|
+
readonly value: number;
|
|
25
|
+
readonly unit: "byte" | "kilobyte" | "megabyte";
|
|
26
|
+
};
|
|
27
|
+
/** "25 kB" text for a byte count; `formatNumber` is the caller's locale-aware formatter. */
|
|
28
|
+
export declare function formatFileSize(bytes: number, formatNumber: (value: number, options: Intl.NumberFormatOptions) => string): string;
|
|
29
|
+
//# sourceMappingURL=attachment-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-item.d.ts","sourceRoot":"","sources":["../../../src/elements/lib/attachment-item.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,8EAA8E;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;AAYnE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,GAAG,UAAU,CAAC,GACrD,cAAc,CAahB;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAK9D;AAED,gFAAgF;AAChF,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;CACjD,CAIA;AAED,4FAA4F;AAC5F,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,mBAAmB,KAAK,MAAM,GACzE,MAAM,CAQR"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const IMAGE_EXTENSIONS = new Set([
|
|
2
|
+
"png",
|
|
3
|
+
"jpg",
|
|
4
|
+
"jpeg",
|
|
5
|
+
"gif",
|
|
6
|
+
"webp",
|
|
7
|
+
"avif",
|
|
8
|
+
"bmp",
|
|
9
|
+
]);
|
|
10
|
+
/**
|
|
11
|
+
* What the viewer can show for a file. The MIME type decides first; the file
|
|
12
|
+
* extension is only a fallback for generic types such as
|
|
13
|
+
* `application/octet-stream`, which browsers and uploaders often send.
|
|
14
|
+
*/
|
|
15
|
+
export function attachmentKindOf(item) {
|
|
16
|
+
const mimeType = item.contentType.split(";")[0]?.trim().toLowerCase() ?? "";
|
|
17
|
+
if (mimeType === "application/pdf")
|
|
18
|
+
return "pdf";
|
|
19
|
+
if (mimeType.startsWith("image/")) {
|
|
20
|
+
// SVG can carry script and is not drawn reliably by every <img> consumer,
|
|
21
|
+
// so it is offered as a download like any other unsupported type.
|
|
22
|
+
return mimeType === "image/svg+xml" ? "other" : "image";
|
|
23
|
+
}
|
|
24
|
+
const extension = attachmentExtensionOf(item.fileName);
|
|
25
|
+
if (extension === "pdf")
|
|
26
|
+
return "pdf";
|
|
27
|
+
if (IMAGE_EXTENSIONS.has(extension))
|
|
28
|
+
return "image";
|
|
29
|
+
return "other";
|
|
30
|
+
}
|
|
31
|
+
/** Machine key for the file type: lowercase text after the last dot, or "". */
|
|
32
|
+
export function attachmentExtensionOf(fileName) {
|
|
33
|
+
const dotIndex = fileName.lastIndexOf(".");
|
|
34
|
+
if (dotIndex <= 0 || dotIndex === fileName.length - 1)
|
|
35
|
+
return "";
|
|
36
|
+
const extensionCode = fileName.slice(dotIndex + 1);
|
|
37
|
+
return extensionCode.toLowerCase();
|
|
38
|
+
}
|
|
39
|
+
/** Human file sizes use decimal units ("1.2 MB"), never binary "MiB" jargon. */
|
|
40
|
+
export function fileSizeParts(bytes) {
|
|
41
|
+
if (bytes < 1000)
|
|
42
|
+
return { value: bytes, unit: "byte" };
|
|
43
|
+
if (bytes < 1_000_000)
|
|
44
|
+
return { value: bytes / 1000, unit: "kilobyte" };
|
|
45
|
+
return { value: bytes / 1_000_000, unit: "megabyte" };
|
|
46
|
+
}
|
|
47
|
+
/** "25 kB" text for a byte count; `formatNumber` is the caller's locale-aware formatter. */
|
|
48
|
+
export function formatFileSize(bytes, formatNumber) {
|
|
49
|
+
const size = fileSizeParts(bytes);
|
|
50
|
+
return formatNumber(size.value, {
|
|
51
|
+
style: "unit",
|
|
52
|
+
unit: size.unit,
|
|
53
|
+
unitDisplay: size.unit === "byte" ? "long" : "short",
|
|
54
|
+
maximumFractionDigits: size.unit === "byte" ? 0 : 1,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=attachment-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-item.js","sourceRoot":"","sources":["../../../src/elements/lib/attachment-item.ts"],"names":[],"mappings":"AAgBA,MAAM,gBAAgB,GAAwB,IAAI,GAAG,CAAC;IACpD,KAAK;IACL,KAAK;IACL,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;CACN,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAC9B,IAAsD;IAEtD,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC;IAC5E,IAAI,QAAQ,KAAK,iBAAiB;QAAE,OAAO,KAAK,CAAC;IACjD,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,0EAA0E;QAC1E,kEAAkE;QAClE,OAAO,QAAQ,KAAK,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC1D,CAAC;IAED,MAAM,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACvD,IAAI,SAAS,KAAK,KAAK;QAAE,OAAO,KAAK,CAAC;IACtC,IAAI,gBAAgB,CAAC,GAAG,CAAC,SAAS,CAAC;QAAE,OAAO,OAAO,CAAC;IACpD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,qBAAqB,CAAC,QAAgB;IACpD,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC3C,IAAI,QAAQ,IAAI,CAAC,IAAI,QAAQ,KAAK,QAAQ,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IACjE,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;IACnD,OAAO,aAAa,CAAC,WAAW,EAAE,CAAC;AACrC,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,aAAa,CAAC,KAAa;IAIzC,IAAI,KAAK,GAAG,IAAI;QAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IACxD,IAAI,KAAK,GAAG,SAAS;QAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IACxE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AACxD,CAAC;AAED,4FAA4F;AAC5F,MAAM,UAAU,cAAc,CAC5B,KAAa,EACb,YAA0E;IAE1E,MAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAClC,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE;QAC9B,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,WAAW,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;QACpD,qBAAqB,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACpD,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A person's initials: one letter for a single name, first+last otherwise.
|
|
3
|
+
*
|
|
4
|
+
* Plain (non-locale) case folding on purpose: this is a decorative avatar
|
|
5
|
+
* abbreviation, not translated copy, so it does not go through the copy-kit
|
|
6
|
+
* locale-formatting seam.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getInitials(name: string): string;
|
|
9
|
+
//# sourceMappingURL=get-initials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-initials.d.ts","sourceRoot":"","sources":["../../../src/elements/lib/get-initials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAiBhD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A person's initials: one letter for a single name, first+last otherwise.
|
|
3
|
+
*
|
|
4
|
+
* Plain (non-locale) case folding on purpose: this is a decorative avatar
|
|
5
|
+
* abbreviation, not translated copy, so it does not go through the copy-kit
|
|
6
|
+
* locale-formatting seam.
|
|
7
|
+
*/
|
|
8
|
+
export function getInitials(name) {
|
|
9
|
+
const words = name.trim().split(/\s+/).filter(Boolean);
|
|
10
|
+
if (words.length === 0) {
|
|
11
|
+
return "?";
|
|
12
|
+
}
|
|
13
|
+
const firstLetter = firstCharOf(words[0]);
|
|
14
|
+
if (words.length === 1) {
|
|
15
|
+
return firstLetter?.toUpperCase() ?? "?";
|
|
16
|
+
}
|
|
17
|
+
const lastLetter = firstCharOf(words[words.length - 1]);
|
|
18
|
+
if (!firstLetter || !lastLetter) {
|
|
19
|
+
return "?";
|
|
20
|
+
}
|
|
21
|
+
return (firstLetter + lastLetter).toUpperCase();
|
|
22
|
+
}
|
|
23
|
+
/** The first character of a word, astral-safe (surrogate pairs stay whole). */
|
|
24
|
+
function firstCharOf(word) {
|
|
25
|
+
return word === undefined ? undefined : Array.from(word)[0];
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=get-initials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-initials.js","sourceRoot":"","sources":["../../../src/elements/lib/get-initials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,IAAY;IACtC,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,WAAW,EAAE,WAAW,EAAE,IAAI,GAAG,CAAC;IAC3C,CAAC;IAED,MAAM,UAAU,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;IACxD,IAAI,CAAC,WAAW,IAAI,CAAC,UAAU,EAAE,CAAC;QAChC,OAAO,GAAG,CAAC;IACb,CAAC;IAED,OAAO,CAAC,WAAW,GAAG,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC;AAClD,CAAC;AAED,+EAA+E;AAC/E,SAAS,WAAW,CAAC,IAAwB;IAC3C,OAAO,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/elements/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/elements/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
export { Checkbox };
|
|
5
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/forms/components/ui/checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,qBAkBrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CheckIcon } from "lucide-react";
|
|
3
|
+
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { cn } from "../../../elements/index.js";
|
|
6
|
+
function Checkbox({ className, ...props }) {
|
|
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-[3px] 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 dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary motion-reduce:transition-none", className), ...props, children: _jsx(CheckboxPrimitive.Indicator, { "data-slot": "checkbox-indicator", className: "grid place-content-center text-current transition-none", children: _jsx(CheckIcon, { className: "size-3.5" }) }) }));
|
|
8
|
+
}
|
|
9
|
+
export { Checkbox };
|
|
10
|
+
//# sourceMappingURL=checkbox.js.map
|