@furystack/shades-common-components 13.5.0 → 15.0.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/CHANGELOG.md +109 -0
- package/README.md +3 -3
- package/esm/components/accordion/accordion-item.d.ts.map +1 -1
- package/esm/components/accordion/accordion-item.js +7 -10
- package/esm/components/accordion/accordion-item.js.map +1 -1
- package/esm/components/accordion/accordion.d.ts +7 -0
- package/esm/components/accordion/accordion.d.ts.map +1 -1
- package/esm/components/accordion/accordion.js +5 -2
- package/esm/components/accordion/accordion.js.map +1 -1
- package/esm/components/accordion/accordion.spec.js +91 -50
- package/esm/components/accordion/accordion.spec.js.map +1 -1
- package/esm/components/alert.js +1 -1
- package/esm/components/alert.js.map +1 -1
- package/esm/components/app-bar-link.js +1 -1
- package/esm/components/app-bar-link.js.map +1 -1
- package/esm/components/app-bar.js +1 -1
- package/esm/components/app-bar.js.map +1 -1
- package/esm/components/avatar.js +1 -1
- package/esm/components/avatar.js.map +1 -1
- package/esm/components/badge.js +1 -1
- package/esm/components/badge.js.map +1 -1
- package/esm/components/breadcrumb.js +1 -1
- package/esm/components/breadcrumb.js.map +1 -1
- package/esm/components/breadcrumb.spec.js +3 -3
- package/esm/components/breadcrumb.spec.js.map +1 -1
- package/esm/components/button-group.js +4 -4
- package/esm/components/button-group.js.map +1 -1
- package/esm/components/button.js +1 -1
- package/esm/components/button.js.map +1 -1
- package/esm/components/button.spec.js +1 -1
- package/esm/components/button.spec.js.map +1 -1
- package/esm/components/cache-view.js +1 -1
- package/esm/components/cache-view.js.map +1 -1
- package/esm/components/cache-view.spec.js +2 -2
- package/esm/components/cache-view.spec.js.map +1 -1
- package/esm/components/card.js +5 -5
- package/esm/components/card.js.map +1 -1
- package/esm/components/carousel.js +2 -2
- package/esm/components/carousel.js.map +1 -1
- package/esm/components/chip.d.ts.map +1 -1
- package/esm/components/chip.js +5 -3
- package/esm/components/chip.js.map +1 -1
- package/esm/components/chip.spec.js +42 -0
- package/esm/components/chip.spec.js.map +1 -1
- package/esm/components/circular-progress.d.ts +2 -4
- package/esm/components/circular-progress.d.ts.map +1 -1
- package/esm/components/circular-progress.js +3 -6
- package/esm/components/circular-progress.js.map +1 -1
- package/esm/components/circular-progress.spec.js +19 -14
- package/esm/components/circular-progress.spec.js.map +1 -1
- package/esm/components/command-palette/command-palette-input.js +1 -1
- package/esm/components/command-palette/command-palette-input.js.map +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.js +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.js.map +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.spec.js +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.spec.js.map +1 -1
- package/esm/components/command-palette/index.d.ts.map +1 -1
- package/esm/components/command-palette/index.js +15 -2
- package/esm/components/command-palette/index.js.map +1 -1
- package/esm/components/command-palette/index.spec.js +78 -33
- package/esm/components/command-palette/index.spec.js.map +1 -1
- package/esm/components/context-menu/context-menu-item.js +1 -1
- package/esm/components/context-menu/context-menu-item.js.map +1 -1
- package/esm/components/context-menu/context-menu.js +1 -1
- package/esm/components/context-menu/context-menu.js.map +1 -1
- package/esm/components/data-grid/body.js +1 -1
- package/esm/components/data-grid/body.js.map +1 -1
- package/esm/components/data-grid/data-grid-row.d.ts.map +1 -1
- package/esm/components/data-grid/data-grid-row.js +19 -3
- package/esm/components/data-grid/data-grid-row.js.map +1 -1
- package/esm/components/data-grid/data-grid.d.ts +12 -2
- package/esm/components/data-grid/data-grid.d.ts.map +1 -1
- package/esm/components/data-grid/data-grid.js +33 -13
- package/esm/components/data-grid/data-grid.js.map +1 -1
- package/esm/components/data-grid/data-grid.spec.js +170 -90
- package/esm/components/data-grid/data-grid.spec.js.map +1 -1
- package/esm/components/data-grid/filters/boolean-filter.d.ts +2 -2
- package/esm/components/data-grid/filters/boolean-filter.d.ts.map +1 -1
- package/esm/components/data-grid/filters/boolean-filter.js +4 -4
- package/esm/components/data-grid/filters/boolean-filter.js.map +1 -1
- package/esm/components/data-grid/filters/boolean-filter.spec.js +18 -17
- package/esm/components/data-grid/filters/boolean-filter.spec.js.map +1 -1
- package/esm/components/data-grid/filters/date-filter.d.ts +2 -2
- package/esm/components/data-grid/filters/date-filter.d.ts.map +1 -1
- package/esm/components/data-grid/filters/date-filter.js +6 -6
- package/esm/components/data-grid/filters/date-filter.js.map +1 -1
- package/esm/components/data-grid/filters/date-filter.spec.js +26 -21
- package/esm/components/data-grid/filters/date-filter.spec.js.map +1 -1
- package/esm/components/data-grid/filters/enum-filter.d.ts +2 -2
- package/esm/components/data-grid/filters/enum-filter.d.ts.map +1 -1
- package/esm/components/data-grid/filters/enum-filter.js +5 -5
- package/esm/components/data-grid/filters/enum-filter.js.map +1 -1
- package/esm/components/data-grid/filters/enum-filter.spec.js +21 -19
- package/esm/components/data-grid/filters/enum-filter.spec.js.map +1 -1
- package/esm/components/data-grid/filters/filter-dropdown.js +1 -1
- package/esm/components/data-grid/filters/filter-dropdown.js.map +1 -1
- package/esm/components/data-grid/filters/number-filter.d.ts +2 -2
- package/esm/components/data-grid/filters/number-filter.d.ts.map +1 -1
- package/esm/components/data-grid/filters/number-filter.js +5 -5
- package/esm/components/data-grid/filters/number-filter.js.map +1 -1
- package/esm/components/data-grid/filters/number-filter.spec.js +23 -21
- package/esm/components/data-grid/filters/number-filter.spec.js.map +1 -1
- package/esm/components/data-grid/filters/string-filter.d.ts +2 -2
- package/esm/components/data-grid/filters/string-filter.d.ts.map +1 -1
- package/esm/components/data-grid/filters/string-filter.js +5 -5
- package/esm/components/data-grid/filters/string-filter.js.map +1 -1
- package/esm/components/data-grid/filters/string-filter.spec.js +21 -19
- package/esm/components/data-grid/filters/string-filter.spec.js.map +1 -1
- package/esm/components/data-grid/footer.d.ts +2 -2
- package/esm/components/data-grid/footer.d.ts.map +1 -1
- package/esm/components/data-grid/footer.js +8 -13
- package/esm/components/data-grid/footer.js.map +1 -1
- package/esm/components/data-grid/footer.spec.js +38 -27
- package/esm/components/data-grid/footer.spec.js.map +1 -1
- package/esm/components/data-grid/header.d.ts +6 -6
- package/esm/components/data-grid/header.d.ts.map +1 -1
- package/esm/components/data-grid/header.js +16 -17
- package/esm/components/data-grid/header.js.map +1 -1
- package/esm/components/data-grid/header.spec.js +66 -60
- package/esm/components/data-grid/header.spec.js.map +1 -1
- package/esm/components/data-grid/selection-cell.d.ts.map +1 -1
- package/esm/components/data-grid/selection-cell.js +2 -2
- package/esm/components/data-grid/selection-cell.js.map +1 -1
- package/esm/components/dialog.d.ts +11 -0
- package/esm/components/dialog.d.ts.map +1 -1
- package/esm/components/dialog.js +3 -3
- package/esm/components/dialog.js.map +1 -1
- package/esm/components/dialog.spec.js +54 -2
- package/esm/components/dialog.spec.js.map +1 -1
- package/esm/components/divider.js +1 -1
- package/esm/components/divider.js.map +1 -1
- package/esm/components/drawer/drawer-toggle-button.js +1 -1
- package/esm/components/drawer/drawer-toggle-button.js.map +1 -1
- package/esm/components/drawer/index.js +1 -1
- package/esm/components/drawer/index.js.map +1 -1
- package/esm/components/dropdown.d.ts.map +1 -1
- package/esm/components/dropdown.js +2 -2
- package/esm/components/dropdown.js.map +1 -1
- package/esm/components/dropdown.spec.js +8 -0
- package/esm/components/dropdown.spec.js.map +1 -1
- package/esm/components/fab.js +1 -1
- package/esm/components/fab.js.map +1 -1
- package/esm/components/form.js +1 -1
- package/esm/components/form.js.map +1 -1
- package/esm/components/grid.js +1 -1
- package/esm/components/grid.js.map +1 -1
- package/esm/components/icons/icon.js +1 -1
- package/esm/components/icons/icon.js.map +1 -1
- package/esm/components/image.d.ts.map +1 -1
- package/esm/components/image.js +17 -8
- package/esm/components/image.js.map +1 -1
- package/esm/components/image.spec.js +60 -0
- package/esm/components/image.spec.js.map +1 -1
- package/esm/components/inputs/autocomplete.js +1 -1
- package/esm/components/inputs/autocomplete.js.map +1 -1
- package/esm/components/inputs/checkbox.d.ts.map +1 -1
- package/esm/components/inputs/checkbox.js +2 -1
- package/esm/components/inputs/checkbox.js.map +1 -1
- package/esm/components/inputs/checkbox.spec.js +1 -1
- package/esm/components/inputs/checkbox.spec.js.map +1 -1
- package/esm/components/inputs/input-number.js +1 -1
- package/esm/components/inputs/input-number.js.map +1 -1
- package/esm/components/inputs/input-number.spec.js +1 -1
- package/esm/components/inputs/input-number.spec.js.map +1 -1
- package/esm/components/inputs/input.js +1 -1
- package/esm/components/inputs/input.js.map +1 -1
- package/esm/components/inputs/input.spec.js +1 -1
- package/esm/components/inputs/input.spec.js.map +1 -1
- package/esm/components/inputs/radio-group.js +1 -1
- package/esm/components/inputs/radio-group.js.map +1 -1
- package/esm/components/inputs/radio-group.spec.js +1 -1
- package/esm/components/inputs/radio-group.spec.js.map +1 -1
- package/esm/components/inputs/radio.d.ts.map +1 -1
- package/esm/components/inputs/radio.js +2 -1
- package/esm/components/inputs/radio.js.map +1 -1
- package/esm/components/inputs/radio.spec.js +1 -1
- package/esm/components/inputs/radio.spec.js.map +1 -1
- package/esm/components/inputs/select.js +1 -1
- package/esm/components/inputs/select.js.map +1 -1
- package/esm/components/inputs/slider.d.ts.map +1 -1
- package/esm/components/inputs/slider.js +2 -1
- package/esm/components/inputs/slider.js.map +1 -1
- package/esm/components/inputs/switch.d.ts.map +1 -1
- package/esm/components/inputs/switch.js +2 -1
- package/esm/components/inputs/switch.js.map +1 -1
- package/esm/components/inputs/switch.spec.js +1 -1
- package/esm/components/inputs/switch.spec.js.map +1 -1
- package/esm/components/inputs/text-area.js +1 -1
- package/esm/components/inputs/text-area.js.map +1 -1
- package/esm/components/inputs/text-area.spec.js +1 -1
- package/esm/components/inputs/text-area.spec.js.map +1 -1
- package/esm/components/linear-progress.d.ts +2 -4
- package/esm/components/linear-progress.d.ts.map +1 -1
- package/esm/components/linear-progress.js +3 -6
- package/esm/components/linear-progress.js.map +1 -1
- package/esm/components/linear-progress.spec.js +21 -18
- package/esm/components/linear-progress.spec.js.map +1 -1
- package/esm/components/list/list-item.d.ts.map +1 -1
- package/esm/components/list/list-item.js +22 -6
- package/esm/components/list/list-item.js.map +1 -1
- package/esm/components/list/list.d.ts +7 -0
- package/esm/components/list/list.d.ts.map +1 -1
- package/esm/components/list/list.js +29 -9
- package/esm/components/list/list.js.map +1 -1
- package/esm/components/list/list.spec.js +117 -23
- package/esm/components/list/list.spec.js.map +1 -1
- package/esm/components/loader.js +1 -1
- package/esm/components/loader.js.map +1 -1
- package/esm/components/loader.spec.js +1 -1
- package/esm/components/loader.spec.js.map +1 -1
- package/esm/components/markdown/markdown-display.d.ts.map +1 -1
- package/esm/components/markdown/markdown-display.js +12 -2
- package/esm/components/markdown/markdown-display.js.map +1 -1
- package/esm/components/markdown/markdown-display.spec.js +98 -1
- package/esm/components/markdown/markdown-display.spec.js.map +1 -1
- package/esm/components/markdown/markdown-editor.js +1 -1
- package/esm/components/markdown/markdown-editor.js.map +1 -1
- package/esm/components/markdown/markdown-editor.spec.js +88 -1
- package/esm/components/markdown/markdown-editor.spec.js.map +1 -1
- package/esm/components/markdown/markdown-input.js +1 -1
- package/esm/components/markdown/markdown-input.js.map +1 -1
- package/esm/components/markdown/markdown-input.spec.js +1 -1
- package/esm/components/markdown/markdown-input.spec.js.map +1 -1
- package/esm/components/menu/menu.js +2 -2
- package/esm/components/menu/menu.js.map +1 -1
- package/esm/components/modal.d.ts +10 -0
- package/esm/components/modal.d.ts.map +1 -1
- package/esm/components/modal.js +25 -5
- package/esm/components/modal.js.map +1 -1
- package/esm/components/modal.spec.js +89 -4
- package/esm/components/modal.spec.js.map +1 -1
- package/esm/components/noty-list.js +2 -2
- package/esm/components/noty-list.js.map +1 -1
- package/esm/components/page-container/index.js +1 -1
- package/esm/components/page-container/index.js.map +1 -1
- package/esm/components/page-container/page-header.js +1 -1
- package/esm/components/page-container/page-header.js.map +1 -1
- package/esm/components/page-layout/index.js +2 -2
- package/esm/components/page-layout/index.js.map +1 -1
- package/esm/components/page-layout/index.spec.js +14 -0
- package/esm/components/page-layout/index.spec.js.map +1 -1
- package/esm/components/pagination.js +1 -1
- package/esm/components/pagination.js.map +1 -1
- package/esm/components/paper.js +1 -1
- package/esm/components/paper.js.map +1 -1
- package/esm/components/rating.d.ts.map +1 -1
- package/esm/components/rating.js +29 -22
- package/esm/components/rating.js.map +1 -1
- package/esm/components/rating.spec.js +152 -5
- package/esm/components/rating.spec.js.map +1 -1
- package/esm/components/result.js +1 -1
- package/esm/components/result.js.map +1 -1
- package/esm/components/skeleton.js +1 -1
- package/esm/components/skeleton.js.map +1 -1
- package/esm/components/suggest/index.d.ts.map +1 -1
- package/esm/components/suggest/index.js +15 -2
- package/esm/components/suggest/index.js.map +1 -1
- package/esm/components/suggest/index.spec.js +99 -44
- package/esm/components/suggest/index.spec.js.map +1 -1
- package/esm/components/suggest/suggest-input.js +1 -1
- package/esm/components/suggest/suggest-input.js.map +1 -1
- package/esm/components/suggest/suggest-input.spec.js +1 -1
- package/esm/components/suggest/suggest-input.spec.js.map +1 -1
- package/esm/components/suggest/suggestion-list.js +1 -1
- package/esm/components/suggest/suggestion-list.js.map +1 -1
- package/esm/components/suggest/suggestion-list.spec.js +1 -1
- package/esm/components/suggest/suggestion-list.spec.js.map +1 -1
- package/esm/components/tabs.d.ts.map +1 -1
- package/esm/components/tabs.js +6 -2
- package/esm/components/tabs.js.map +1 -1
- package/esm/components/timeline.js +2 -2
- package/esm/components/timeline.js.map +1 -1
- package/esm/components/tooltip.js +1 -1
- package/esm/components/tooltip.js.map +1 -1
- package/esm/components/tree/tree-item.d.ts.map +1 -1
- package/esm/components/tree/tree-item.js +19 -6
- package/esm/components/tree/tree-item.js.map +1 -1
- package/esm/components/tree/tree.d.ts +7 -0
- package/esm/components/tree/tree.d.ts.map +1 -1
- package/esm/components/tree/tree.js +13 -4
- package/esm/components/tree/tree.js.map +1 -1
- package/esm/components/tree/tree.spec.js +64 -2
- package/esm/components/tree/tree.spec.js.map +1 -1
- package/esm/components/typography.js +1 -1
- package/esm/components/typography.js.map +1 -1
- package/esm/components/wizard/index.js +1 -1
- package/esm/components/wizard/index.js.map +1 -1
- package/esm/components/wizard/index.spec.js +3 -3
- package/esm/components/wizard/index.spec.js.map +1 -1
- package/esm/services/collection-service.d.ts +9 -0
- package/esm/services/collection-service.d.ts.map +1 -1
- package/esm/services/collection-service.js +33 -11
- package/esm/services/collection-service.js.map +1 -1
- package/esm/services/collection-service.spec.js +33 -24
- package/esm/services/collection-service.spec.js.map +1 -1
- package/esm/services/css-variable-theme.d.ts +7 -0
- package/esm/services/css-variable-theme.d.ts.map +1 -1
- package/esm/services/css-variable-theme.js +23 -0
- package/esm/services/css-variable-theme.js.map +1 -1
- package/esm/services/css-variable-theme.spec.js +1 -0
- package/esm/services/css-variable-theme.spec.js.map +1 -1
- package/esm/services/list-service.d.ts +9 -0
- package/esm/services/list-service.d.ts.map +1 -1
- package/esm/services/list-service.js +13 -13
- package/esm/services/list-service.js.map +1 -1
- package/esm/services/list-service.spec.js +13 -33
- package/esm/services/list-service.spec.js.map +1 -1
- package/esm/services/theme-provider-service.d.ts +3 -0
- package/esm/services/theme-provider-service.d.ts.map +1 -1
- package/esm/services/theme-provider-service.js.map +1 -1
- package/esm/services/tree-service.d.ts.map +1 -1
- package/esm/services/tree-service.js +5 -9
- package/esm/services/tree-service.js.map +1 -1
- package/esm/services/tree-service.spec.js +12 -9
- package/esm/services/tree-service.spec.js.map +1 -1
- package/esm/themes/architect-theme.d.ts +1 -0
- package/esm/themes/architect-theme.d.ts.map +1 -1
- package/esm/themes/architect-theme.js +1 -0
- package/esm/themes/architect-theme.js.map +1 -1
- package/esm/themes/auditore-theme.d.ts +1 -0
- package/esm/themes/auditore-theme.d.ts.map +1 -1
- package/esm/themes/auditore-theme.js +1 -0
- package/esm/themes/auditore-theme.js.map +1 -1
- package/esm/themes/black-mesa-theme.d.ts +1 -0
- package/esm/themes/black-mesa-theme.d.ts.map +1 -1
- package/esm/themes/black-mesa-theme.js +1 -0
- package/esm/themes/black-mesa-theme.js.map +1 -1
- package/esm/themes/chieftain-theme.d.ts +1 -0
- package/esm/themes/chieftain-theme.d.ts.map +1 -1
- package/esm/themes/chieftain-theme.js +1 -0
- package/esm/themes/chieftain-theme.js.map +1 -1
- package/esm/themes/default-dark-theme.d.ts +1 -0
- package/esm/themes/default-dark-theme.d.ts.map +1 -1
- package/esm/themes/default-dark-theme.js +1 -0
- package/esm/themes/default-dark-theme.js.map +1 -1
- package/esm/themes/default-light-theme.d.ts +1 -0
- package/esm/themes/default-light-theme.d.ts.map +1 -1
- package/esm/themes/default-light-theme.js +1 -0
- package/esm/themes/default-light-theme.js.map +1 -1
- package/esm/themes/dragonborn-theme.d.ts +1 -0
- package/esm/themes/dragonborn-theme.d.ts.map +1 -1
- package/esm/themes/dragonborn-theme.js +1 -0
- package/esm/themes/dragonborn-theme.js.map +1 -1
- package/esm/themes/hawkins-theme.d.ts +1 -0
- package/esm/themes/hawkins-theme.d.ts.map +1 -1
- package/esm/themes/hawkins-theme.js +1 -0
- package/esm/themes/hawkins-theme.js.map +1 -1
- package/esm/themes/jedi-theme.d.ts +1 -0
- package/esm/themes/jedi-theme.d.ts.map +1 -1
- package/esm/themes/jedi-theme.js +1 -0
- package/esm/themes/jedi-theme.js.map +1 -1
- package/esm/themes/neon-runner-theme.d.ts +1 -0
- package/esm/themes/neon-runner-theme.d.ts.map +1 -1
- package/esm/themes/neon-runner-theme.js +1 -0
- package/esm/themes/neon-runner-theme.js.map +1 -1
- package/esm/themes/paladin-theme.d.ts +1 -0
- package/esm/themes/paladin-theme.d.ts.map +1 -1
- package/esm/themes/paladin-theme.js +1 -0
- package/esm/themes/paladin-theme.js.map +1 -1
- package/esm/themes/plumber-theme.d.ts +1 -0
- package/esm/themes/plumber-theme.d.ts.map +1 -1
- package/esm/themes/plumber-theme.js +1 -0
- package/esm/themes/plumber-theme.js.map +1 -1
- package/esm/themes/replicant-theme.d.ts +1 -0
- package/esm/themes/replicant-theme.d.ts.map +1 -1
- package/esm/themes/replicant-theme.js +1 -0
- package/esm/themes/replicant-theme.js.map +1 -1
- package/esm/themes/sandworm-theme.d.ts +1 -0
- package/esm/themes/sandworm-theme.d.ts.map +1 -1
- package/esm/themes/sandworm-theme.js +1 -0
- package/esm/themes/sandworm-theme.js.map +1 -1
- package/esm/themes/shadow-broker-theme.d.ts +1 -0
- package/esm/themes/shadow-broker-theme.d.ts.map +1 -1
- package/esm/themes/shadow-broker-theme.js +1 -0
- package/esm/themes/shadow-broker-theme.js.map +1 -1
- package/esm/themes/sith-theme.d.ts +1 -0
- package/esm/themes/sith-theme.d.ts.map +1 -1
- package/esm/themes/sith-theme.js +1 -0
- package/esm/themes/sith-theme.js.map +1 -1
- package/esm/themes/vault-dweller-theme.d.ts +1 -0
- package/esm/themes/vault-dweller-theme.d.ts.map +1 -1
- package/esm/themes/vault-dweller-theme.js +1 -0
- package/esm/themes/vault-dweller-theme.js.map +1 -1
- package/esm/themes/wild-hunt-theme.d.ts +1 -0
- package/esm/themes/wild-hunt-theme.d.ts.map +1 -1
- package/esm/themes/wild-hunt-theme.js +1 -0
- package/esm/themes/wild-hunt-theme.js.map +1 -1
- package/esm/themes/xenomorph-theme.d.ts +1 -0
- package/esm/themes/xenomorph-theme.d.ts.map +1 -1
- package/esm/themes/xenomorph-theme.js +1 -0
- package/esm/themes/xenomorph-theme.js.map +1 -1
- package/package.json +3 -3
- package/src/components/accordion/accordion-item.tsx +10 -15
- package/src/components/accordion/accordion.spec.tsx +134 -79
- package/src/components/accordion/accordion.tsx +14 -2
- package/src/components/alert.tsx +1 -1
- package/src/components/app-bar-link.tsx +1 -1
- package/src/components/app-bar.tsx +1 -1
- package/src/components/avatar.tsx +1 -1
- package/src/components/badge.tsx +1 -1
- package/src/components/breadcrumb.spec.tsx +3 -3
- package/src/components/breadcrumb.tsx +1 -1
- package/src/components/button-group.tsx +4 -4
- package/src/components/button.spec.tsx +1 -1
- package/src/components/button.tsx +1 -1
- package/src/components/cache-view.spec.tsx +2 -2
- package/src/components/cache-view.tsx +3 -3
- package/src/components/card.tsx +5 -5
- package/src/components/carousel.tsx +2 -2
- package/src/components/chip.spec.tsx +64 -0
- package/src/components/chip.tsx +5 -2
- package/src/components/circular-progress.spec.tsx +20 -14
- package/src/components/circular-progress.tsx +5 -11
- package/src/components/command-palette/command-palette-input.tsx +1 -1
- package/src/components/command-palette/command-palette-suggestion-list.spec.tsx +1 -1
- package/src/components/command-palette/command-palette-suggestion-list.tsx +1 -1
- package/src/components/command-palette/index.spec.tsx +95 -33
- package/src/components/command-palette/index.tsx +16 -4
- package/src/components/context-menu/context-menu-item.tsx +1 -1
- package/src/components/context-menu/context-menu.tsx +1 -1
- package/src/components/data-grid/body.tsx +1 -1
- package/src/components/data-grid/data-grid-row.tsx +21 -3
- package/src/components/data-grid/data-grid.spec.tsx +246 -92
- package/src/components/data-grid/data-grid.tsx +52 -21
- package/src/components/data-grid/filters/boolean-filter.spec.tsx +29 -18
- package/src/components/data-grid/filters/boolean-filter.tsx +6 -6
- package/src/components/data-grid/filters/date-filter.spec.tsx +35 -22
- package/src/components/data-grid/filters/date-filter.tsx +8 -8
- package/src/components/data-grid/filters/enum-filter.spec.tsx +35 -20
- package/src/components/data-grid/filters/enum-filter.tsx +7 -7
- package/src/components/data-grid/filters/filter-dropdown.tsx +1 -1
- package/src/components/data-grid/filters/number-filter.spec.tsx +32 -22
- package/src/components/data-grid/filters/number-filter.tsx +7 -7
- package/src/components/data-grid/filters/string-filter.spec.tsx +32 -20
- package/src/components/data-grid/filters/string-filter.tsx +7 -7
- package/src/components/data-grid/footer.spec.tsx +79 -31
- package/src/components/data-grid/footer.tsx +10 -15
- package/src/components/data-grid/header.spec.tsx +152 -68
- package/src/components/data-grid/header.tsx +64 -27
- package/src/components/data-grid/selection-cell.tsx +2 -1
- package/src/components/dialog.spec.tsx +77 -2
- package/src/components/dialog.tsx +15 -2
- package/src/components/divider.tsx +1 -1
- package/src/components/drawer/drawer-toggle-button.tsx +1 -1
- package/src/components/drawer/index.tsx +1 -1
- package/src/components/dropdown.spec.tsx +9 -0
- package/src/components/dropdown.tsx +2 -1
- package/src/components/fab.tsx +1 -1
- package/src/components/form.tsx +1 -1
- package/src/components/grid.tsx +1 -1
- package/src/components/icons/icon.tsx +1 -1
- package/src/components/image.spec.tsx +82 -0
- package/src/components/image.tsx +18 -9
- package/src/components/inputs/autocomplete.tsx +1 -1
- package/src/components/inputs/checkbox.spec.tsx +1 -1
- package/src/components/inputs/checkbox.tsx +2 -1
- package/src/components/inputs/input-number.spec.tsx +1 -1
- package/src/components/inputs/input-number.tsx +1 -1
- package/src/components/inputs/input.spec.tsx +1 -1
- package/src/components/inputs/input.tsx +1 -1
- package/src/components/inputs/radio-group.spec.tsx +1 -1
- package/src/components/inputs/radio-group.tsx +1 -1
- package/src/components/inputs/radio.spec.tsx +1 -1
- package/src/components/inputs/radio.tsx +2 -1
- package/src/components/inputs/select.tsx +1 -1
- package/src/components/inputs/slider.tsx +2 -1
- package/src/components/inputs/switch.spec.tsx +1 -1
- package/src/components/inputs/switch.tsx +2 -1
- package/src/components/inputs/text-area.spec.tsx +1 -1
- package/src/components/inputs/text-area.tsx +1 -1
- package/src/components/linear-progress.spec.tsx +22 -18
- package/src/components/linear-progress.tsx +5 -11
- package/src/components/list/list-item.tsx +23 -5
- package/src/components/list/list.spec.tsx +165 -32
- package/src/components/list/list.tsx +38 -11
- package/src/components/loader.spec.tsx +1 -1
- package/src/components/loader.tsx +1 -1
- package/src/components/markdown/markdown-display.spec.tsx +133 -1
- package/src/components/markdown/markdown-display.tsx +13 -2
- package/src/components/markdown/markdown-editor.spec.tsx +124 -1
- package/src/components/markdown/markdown-editor.tsx +1 -1
- package/src/components/markdown/markdown-input.spec.tsx +1 -1
- package/src/components/markdown/markdown-input.tsx +1 -1
- package/src/components/menu/menu.tsx +2 -2
- package/src/components/modal.spec.tsx +127 -4
- package/src/components/modal.tsx +42 -4
- package/src/components/noty-list.tsx +2 -2
- package/src/components/page-container/index.tsx +1 -1
- package/src/components/page-container/page-header.tsx +1 -1
- package/src/components/page-layout/index.spec.tsx +20 -0
- package/src/components/page-layout/index.tsx +2 -2
- package/src/components/pagination.tsx +1 -1
- package/src/components/paper.tsx +1 -1
- package/src/components/rating.spec.tsx +200 -5
- package/src/components/rating.tsx +29 -23
- package/src/components/result.tsx +1 -1
- package/src/components/skeleton.tsx +1 -1
- package/src/components/suggest/index.spec.tsx +148 -44
- package/src/components/suggest/index.tsx +16 -3
- package/src/components/suggest/suggest-input.spec.tsx +1 -1
- package/src/components/suggest/suggest-input.tsx +1 -1
- package/src/components/suggest/suggestion-list.spec.tsx +1 -1
- package/src/components/suggest/suggestion-list.tsx +1 -1
- package/src/components/tabs.tsx +6 -2
- package/src/components/timeline.tsx +2 -2
- package/src/components/tooltip.tsx +1 -1
- package/src/components/tree/tree-item.tsx +20 -5
- package/src/components/tree/tree.spec.tsx +101 -2
- package/src/components/tree/tree.tsx +22 -4
- package/src/components/typography.tsx +1 -1
- package/src/components/wizard/index.spec.tsx +3 -3
- package/src/components/wizard/index.tsx +1 -1
- package/src/services/collection-service.spec.ts +33 -24
- package/src/services/collection-service.ts +35 -13
- package/src/services/css-variable-theme.spec.ts +1 -0
- package/src/services/css-variable-theme.ts +25 -0
- package/src/services/list-service.spec.ts +13 -42
- package/src/services/list-service.ts +15 -13
- package/src/services/theme-provider-service.ts +2 -0
- package/src/services/tree-service.spec.ts +12 -9
- package/src/services/tree-service.ts +5 -8
- package/src/themes/architect-theme.ts +1 -0
- package/src/themes/auditore-theme.ts +1 -0
- package/src/themes/black-mesa-theme.ts +1 -0
- package/src/themes/chieftain-theme.ts +1 -0
- package/src/themes/default-dark-theme.ts +1 -0
- package/src/themes/default-light-theme.ts +1 -0
- package/src/themes/dragonborn-theme.ts +1 -0
- package/src/themes/hawkins-theme.ts +1 -0
- package/src/themes/jedi-theme.ts +1 -0
- package/src/themes/neon-runner-theme.ts +1 -0
- package/src/themes/paladin-theme.ts +1 -0
- package/src/themes/plumber-theme.ts +1 -0
- package/src/themes/replicant-theme.ts +1 -0
- package/src/themes/sandworm-theme.ts +1 -0
- package/src/themes/shadow-broker-theme.ts +1 -0
- package/src/themes/sith-theme.ts +1 -0
- package/src/themes/vault-dweller-theme.ts +1 -0
- package/src/themes/wild-hunt-theme.ts +1 -0
- package/src/themes/xenomorph-theme.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sith-theme.js","sourceRoot":"","sources":["../../src/themes/sith-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAG/C,MAAM,eAAe,GAAG,kCAAkC,IAAI,CAAC,qdAAqd,CAAC,IAAI,CAAA;AAEzhB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,2BAA2B;KACtC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,wBAAwB;QAC/B,QAAQ,EAAE,yBAAyB;QACnC,QAAQ,EAAE,0BAA0B;QACpC,kBAAkB,EAAE,2BAA2B;KAChD;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,eAAe;KAC5B;IACD,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,yBAAyB;IAClC,MAAM,EAAE;QACN,eAAe,EAAE,yBAAyB;QAC1C,kBAAkB,EAAE,yBAAyB;QAC7C,gBAAgB,EAAE,yBAAyB;QAC3C,SAAS,EAAE,kCAAkC;QAC7C,eAAe,EAAE,KAAK;QACtB,QAAQ,EAAE,oBAAoB;QAC9B,YAAY,EAAE,wBAAwB;KACvC;IACD,KAAK,EAAE;QACL,YAAY,EAAE;YACZ,EAAE,EAAE,KAAK;YACT,EAAE,EAAE,KAAK;YACT,EAAE,EAAE,KAAK;YACT,EAAE,EAAE,KAAK;YACT,IAAI,EAAE,KAAK;SAC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E,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,MAAM;KACjB;IACD,OAAO,EAAE;QACP,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;KACf;CACc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vault-dweller-theme.d.ts","sourceRoot":"","sources":["../../src/themes/vault-dweller-theme.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"vault-dweller-theme.d.ts","sourceRoot":"","sources":["../../src/themes/vault-dweller-theme.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHb,CAAA"}
|
|
@@ -33,6 +33,7 @@ export const vaultDwellerTheme = {
|
|
|
33
33
|
selectedBackground: 'rgba(48, 255, 80, 0.14)',
|
|
34
34
|
activeBackground: 'rgba(48, 255, 80, 0.22)',
|
|
35
35
|
focusRing: '0 0 0 2px rgba(48, 255, 80, 0.5)',
|
|
36
|
+
focusOutline: '2px solid #30ff50',
|
|
36
37
|
disabledOpacity: '0.4',
|
|
37
38
|
backdrop: 'rgba(0, 0, 0, 0.85)',
|
|
38
39
|
subtleBorder: 'rgba(48, 255, 80, 0.2)',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vault-dweller-theme.js","sourceRoot":"","sources":["../../src/themes/vault-dweller-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,E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AAK;QACb,MAAM,EAAE,MAAM;KACf;CACc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wild-hunt-theme.d.ts","sourceRoot":"","sources":["../../src/themes/wild-hunt-theme.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"wild-hunt-theme.d.ts","sourceRoot":"","sources":["../../src/themes/wild-hunt-theme.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHT,CAAA"}
|
|
@@ -33,6 +33,7 @@ export const wildHuntTheme = {
|
|
|
33
33
|
selectedBackground: 'rgba(168, 32, 32, 0.14)',
|
|
34
34
|
activeBackground: 'rgba(168, 32, 32, 0.22)',
|
|
35
35
|
focusRing: '0 0 0 3px rgba(168, 176, 188, 0.3)',
|
|
36
|
+
focusOutline: '2px solid #a8b0bc',
|
|
36
37
|
disabledOpacity: '0.5',
|
|
37
38
|
backdrop: 'rgba(6, 8, 12, 0.85)',
|
|
38
39
|
subtleBorder: 'rgba(168, 176, 188, 0.2)',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wild-hunt-theme.js","sourceRoot":"","sources":["../../src/themes/wild-hunt-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGxD,MAAM,eAAe,GAAG,kCAAkC,IAAI,CAAC,obAAob,CAAC,IAAI,CAAA;AAExf;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE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Z;QACD,UAAU,EAAE;YACV,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,MAAM;SAChB;QACD,aAAa,EAAE;YACb,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,OAAO;SAChB;QACD,UAAU,EAAE,MAAM;KACnB;IACD,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,OAAO;SACd;QACD,MAAM,EAAE;YACN,OAAO,EAAE,8BAA8B;YACvC,OAAO,EAAE,oCAAoC;YAC7C,SAAS,EAAE,aAAa;SACzB;KACF;IACD,OAAO,EAAE;QACP,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,MAAM;KACjB;IACD,OAAO,EAAE;QACP,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,MAAM;KACf;CACc,CAAA"}
|
|
1
|
+
{"version":3,"file":"wild-hunt-theme.js","sourceRoot":"","sources":["../../src/themes/wild-hunt-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGxD,MAAM,eAAe,GAAG,kCAAkC,IAAI,CAAC,obAAob,CAAC,IAAI,CAAA;AAExf;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,OAAO,EAA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,KAAK;YACb,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,KAAK;SACZ;QACD,UAAU,EAAE;YACV,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,MAAM;SAChB;QACD,aAAa,EAAE;YACb,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,OAAO;SAChB;QACD,UAAU,EAAE,MAAM;KACnB;IACD,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,OAAO;SACd;QACD,MAAM,EAAE;YACN,OAAO,EAAE,8BAA8B;YACvC,OAAO,EAAE,oCAAoC;YAC7C,SAAS,EAAE,aAAa;SACzB;KACF;IACD,OAAO,EAAE;QACP,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,MAAM;KACjB;IACD,OAAO,EAAE;QACP,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,MAAM;KACf;CACc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xenomorph-theme.d.ts","sourceRoot":"","sources":["../../src/themes/xenomorph-theme.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"xenomorph-theme.d.ts","sourceRoot":"","sources":["../../src/themes/xenomorph-theme.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHV,CAAA"}
|
|
@@ -32,6 +32,7 @@ export const xenomorphTheme = {
|
|
|
32
32
|
selectedBackground: 'rgba(126, 200, 80, 0.13)',
|
|
33
33
|
activeBackground: 'rgba(126, 200, 80, 0.2)',
|
|
34
34
|
focusRing: '0 0 0 2px rgba(126, 200, 80, 0.45)',
|
|
35
|
+
focusOutline: '2px solid #7ec850',
|
|
35
36
|
disabledOpacity: '0.4',
|
|
36
37
|
backdrop: 'rgba(6, 8, 10, 0.9)',
|
|
37
38
|
subtleBorder: 'rgba(126, 200, 80, 0.18)',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xenomorph-theme.js","sourceRoot":"","sources":["../../src/themes/xenomorph-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,2BAA2B;KACtC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,yBAAyB;QAChC,QAAQ,EAAE,0BAA0B;QACpC,QAAQ,EAAE,0BAA0B;QACpC,kBAAkB,EAAE,2BAA2B;KAChD;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,EAAE;KACf;IACD,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,0BAA0B;IACnC,MAAM,EAAE;QACN,eAAe,EAAE,0BAA0B;QAC3C,kB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M;YACd,IAAI,EAAE,OAAO;SACd;QACD,MAAM,EAAE;YACN,OAAO,EAAE,8BAA8B;YACvC,OAAO,EAAE,mCAAmC;YAC5C,SAAS,EAAE,gCAAgC;SAC5C;KACF;IACD,OAAO,EAAE;QACP,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,MAAM;KACjB;IACD,OAAO,EAAE;QACP,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;KACf;CACc,CAAA"}
|
|
1
|
+
{"version":3,"file":"xenomorph-theme.js","sourceRoot":"","sources":["../../src/themes/xenomorph-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,2BAA2B;KACtC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,yBAAyB;QAChC,QAAQ,EAAE,0BAA0B;QACpC,QAAQ,EAAE,0BAA0B;QACpC,kBAAkB,EAAE,2BAA2B;KAChD;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,EAAE;KACf;IACD,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,0BAA0B;IACnC,MAAM,EAAE;QACN,eAAe,EAAE,0BAA0B;QAC3C,kBAAkB,EAAE,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AAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd;QACD,MAAM,EAAE;YACN,OAAO,EAAE,8BAA8B;YACvC,OAAO,EAAE,mCAAmC;YAC5C,SAAS,EAAE,gCAAgC;SAC5C;KACF;IACD,OAAO,EAAE;QACP,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,MAAM;KACX;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,MAAM;KACjB;IACD,OAAO,EAAE;QACP,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;KACf;CACc,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@furystack/shades-common-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Common UI components for FuryStack Shades",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@furystack/cache": "^6.1.1",
|
|
52
|
-
"@furystack/core": "^
|
|
52
|
+
"@furystack/core": "^16.0.0",
|
|
53
53
|
"@furystack/inject": "^12.0.32",
|
|
54
|
-
"@furystack/shades": "^
|
|
54
|
+
"@furystack/shades": "^13.1.0",
|
|
55
55
|
"@furystack/utils": "^8.2.1",
|
|
56
56
|
"path-to-regexp": "^8.3.0"
|
|
57
57
|
},
|
|
@@ -31,7 +31,7 @@ export type AccordionItemProps = {
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
export const AccordionItem = Shade<AccordionItemProps>({
|
|
34
|
-
|
|
34
|
+
customElementName: 'shade-accordion-item',
|
|
35
35
|
css: {
|
|
36
36
|
display: 'block',
|
|
37
37
|
fontFamily: cssVariableTheme.typography.fontFamily,
|
|
@@ -53,6 +53,7 @@ export const AccordionItem = Shade<AccordionItemProps>({
|
|
|
53
53
|
width: '100%',
|
|
54
54
|
textAlign: 'left',
|
|
55
55
|
outline: 'none',
|
|
56
|
+
font: 'inherit',
|
|
56
57
|
color: 'inherit',
|
|
57
58
|
transition: buildTransition([
|
|
58
59
|
'background-color',
|
|
@@ -61,11 +62,12 @@ export const AccordionItem = Shade<AccordionItemProps>({
|
|
|
61
62
|
]),
|
|
62
63
|
},
|
|
63
64
|
|
|
64
|
-
'& .accordion-header:hover:not(
|
|
65
|
+
'& .accordion-header:hover:not(:disabled)': {
|
|
65
66
|
backgroundColor: `color-mix(in srgb, ${cssVariableTheme.text.secondary} 8%, transparent)`,
|
|
66
67
|
},
|
|
67
68
|
|
|
68
69
|
'& .accordion-header:focus-visible': {
|
|
70
|
+
outline: 'none',
|
|
69
71
|
boxShadow: cssVariableTheme.action.focusRing,
|
|
70
72
|
},
|
|
71
73
|
|
|
@@ -145,38 +147,31 @@ export const AccordionItem = Shade<AccordionItemProps>({
|
|
|
145
147
|
setIsExpanded(false)
|
|
146
148
|
await collapse(content, { duration: 250 })
|
|
147
149
|
} else {
|
|
150
|
+
content.inert = false
|
|
148
151
|
setIsExpanded(true)
|
|
149
152
|
await expand(content, { duration: 250 })
|
|
150
153
|
}
|
|
151
154
|
}
|
|
152
155
|
|
|
153
|
-
const handleKeyDown = (ev: KeyboardEvent) => {
|
|
154
|
-
if (ev.key === 'Enter' || ev.key === ' ') {
|
|
155
|
-
ev.preventDefault()
|
|
156
|
-
void handleToggle()
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
156
|
return (
|
|
161
157
|
<>
|
|
162
|
-
<
|
|
158
|
+
<button
|
|
163
159
|
className="accordion-header"
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
type="button"
|
|
161
|
+
disabled={props.disabled}
|
|
166
162
|
onclick={handleToggle}
|
|
167
|
-
onkeydown={handleKeyDown}
|
|
168
163
|
aria-expanded={String(isExpanded)}
|
|
169
|
-
data-disabled={props.disabled ? '' : undefined}
|
|
170
164
|
>
|
|
171
165
|
{props.icon ? <span className="accordion-icon">{props.icon}</span> : null}
|
|
172
166
|
<span className="accordion-title">{props.title}</span>
|
|
173
167
|
<span className="accordion-chevron">
|
|
174
168
|
<Icon icon={chevronDown} size={16} />
|
|
175
169
|
</span>
|
|
176
|
-
</
|
|
170
|
+
</button>
|
|
177
171
|
<div
|
|
178
172
|
ref={contentRef}
|
|
179
173
|
className="accordion-content"
|
|
174
|
+
inert={!isExpanded}
|
|
180
175
|
style={{
|
|
181
176
|
height: isExpanded ? undefined : '0px',
|
|
182
177
|
opacity: isExpanded ? '1' : '0',
|
|
@@ -52,6 +52,34 @@ describe('Accordion', () => {
|
|
|
52
52
|
await flushUpdates()
|
|
53
53
|
expect(accordion.hasAttribute('data-variant')).toBe(false)
|
|
54
54
|
})
|
|
55
|
+
|
|
56
|
+
describe('spatial navigation', () => {
|
|
57
|
+
it('should set data-nav-section with auto-generated id', async () => {
|
|
58
|
+
const el = (
|
|
59
|
+
<div>
|
|
60
|
+
<Accordion />
|
|
61
|
+
</div>
|
|
62
|
+
)
|
|
63
|
+
const accordion = el.firstElementChild as JSX.Element
|
|
64
|
+
accordion.updateComponent()
|
|
65
|
+
await flushUpdates()
|
|
66
|
+
const navSection = accordion.getAttribute('data-nav-section')
|
|
67
|
+
expect(navSection).toBeTruthy()
|
|
68
|
+
expect(navSection).toMatch(/^accordion-\d+$/)
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it('should use custom navSection when provided', async () => {
|
|
72
|
+
const el = (
|
|
73
|
+
<div>
|
|
74
|
+
<Accordion navSection="my-accordion" />
|
|
75
|
+
</div>
|
|
76
|
+
)
|
|
77
|
+
const accordion = el.firstElementChild as JSX.Element
|
|
78
|
+
accordion.updateComponent()
|
|
79
|
+
await flushUpdates()
|
|
80
|
+
expect(accordion.getAttribute('data-nav-section')).toBe('my-accordion')
|
|
81
|
+
})
|
|
82
|
+
})
|
|
55
83
|
})
|
|
56
84
|
|
|
57
85
|
describe('AccordionItem', () => {
|
|
@@ -239,7 +267,7 @@ describe('AccordionItem', () => {
|
|
|
239
267
|
expect(content.style.height).not.toBe('0px')
|
|
240
268
|
})
|
|
241
269
|
|
|
242
|
-
it('should
|
|
270
|
+
it('should render the header as a <button> element', async () => {
|
|
243
271
|
const el = (
|
|
244
272
|
<div>
|
|
245
273
|
<AccordionItem title="Test" />
|
|
@@ -248,11 +276,12 @@ describe('AccordionItem', () => {
|
|
|
248
276
|
const item = el.firstElementChild as JSX.Element
|
|
249
277
|
item.updateComponent()
|
|
250
278
|
await flushUpdates()
|
|
251
|
-
const header = item.querySelector('.accordion-header') as
|
|
252
|
-
expect(header.
|
|
279
|
+
const header = item.querySelector('.accordion-header') as HTMLButtonElement
|
|
280
|
+
expect(header.tagName).toBe('BUTTON')
|
|
281
|
+
expect(header.type).toBe('button')
|
|
253
282
|
})
|
|
254
283
|
|
|
255
|
-
it('should
|
|
284
|
+
it('should not disable the header button when not disabled', async () => {
|
|
256
285
|
const el = (
|
|
257
286
|
<div>
|
|
258
287
|
<AccordionItem title="Test" />
|
|
@@ -261,11 +290,11 @@ describe('AccordionItem', () => {
|
|
|
261
290
|
const item = el.firstElementChild as JSX.Element
|
|
262
291
|
item.updateComponent()
|
|
263
292
|
await flushUpdates()
|
|
264
|
-
const header = item.querySelector('.accordion-header') as
|
|
265
|
-
expect(header.
|
|
293
|
+
const header = item.querySelector('.accordion-header') as HTMLButtonElement
|
|
294
|
+
expect(header.disabled).toBe(false)
|
|
266
295
|
})
|
|
267
296
|
|
|
268
|
-
it('should
|
|
297
|
+
it('should disable the header button when disabled', async () => {
|
|
269
298
|
const el = (
|
|
270
299
|
<div>
|
|
271
300
|
<AccordionItem title="Test" disabled />
|
|
@@ -274,8 +303,8 @@ describe('AccordionItem', () => {
|
|
|
274
303
|
const item = el.firstElementChild as JSX.Element
|
|
275
304
|
item.updateComponent()
|
|
276
305
|
await flushUpdates()
|
|
277
|
-
const header = item.querySelector('.accordion-header') as
|
|
278
|
-
expect(header.
|
|
306
|
+
const header = item.querySelector('.accordion-header') as HTMLButtonElement
|
|
307
|
+
expect(header.disabled).toBe(true)
|
|
279
308
|
})
|
|
280
309
|
|
|
281
310
|
it('should toggle data-expanded on header click', async () => {
|
|
@@ -299,7 +328,6 @@ describe('AccordionItem', () => {
|
|
|
299
328
|
header.click()
|
|
300
329
|
await flushUpdates()
|
|
301
330
|
|
|
302
|
-
// The attribute is set synchronously before the animation awaits
|
|
303
331
|
expect(item.hasAttribute('data-expanded')).toBe(true)
|
|
304
332
|
})
|
|
305
333
|
|
|
@@ -324,75 +352,6 @@ describe('AccordionItem', () => {
|
|
|
324
352
|
header.click()
|
|
325
353
|
await flushUpdates()
|
|
326
354
|
|
|
327
|
-
// The attribute is removed synchronously before the animation awaits
|
|
328
|
-
expect(item.hasAttribute('data-expanded')).toBe(false)
|
|
329
|
-
})
|
|
330
|
-
|
|
331
|
-
it('should toggle on Enter keydown', async () => {
|
|
332
|
-
const mockAnimation = { finished: Promise.resolve() }
|
|
333
|
-
Element.prototype.animate = vi.fn().mockReturnValue(mockAnimation)
|
|
334
|
-
|
|
335
|
-
const el = (
|
|
336
|
-
<div>
|
|
337
|
-
<AccordionItem title="Keyboard Toggle">
|
|
338
|
-
<p>Content</p>
|
|
339
|
-
</AccordionItem>
|
|
340
|
-
</div>
|
|
341
|
-
)
|
|
342
|
-
const item = el.firstElementChild as JSX.Element
|
|
343
|
-
item.updateComponent()
|
|
344
|
-
await flushUpdates()
|
|
345
|
-
|
|
346
|
-
expect(item.hasAttribute('data-expanded')).toBe(false)
|
|
347
|
-
|
|
348
|
-
const header = item.querySelector('.accordion-header') as HTMLElement
|
|
349
|
-
header.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true }))
|
|
350
|
-
await flushUpdates()
|
|
351
|
-
|
|
352
|
-
expect(item.hasAttribute('data-expanded')).toBe(true)
|
|
353
|
-
})
|
|
354
|
-
|
|
355
|
-
it('should toggle on Space keydown', async () => {
|
|
356
|
-
const mockAnimation = { finished: Promise.resolve() }
|
|
357
|
-
Element.prototype.animate = vi.fn().mockReturnValue(mockAnimation)
|
|
358
|
-
|
|
359
|
-
const el = (
|
|
360
|
-
<div>
|
|
361
|
-
<AccordionItem title="Space Toggle">
|
|
362
|
-
<p>Content</p>
|
|
363
|
-
</AccordionItem>
|
|
364
|
-
</div>
|
|
365
|
-
)
|
|
366
|
-
const item = el.firstElementChild as JSX.Element
|
|
367
|
-
item.updateComponent()
|
|
368
|
-
await flushUpdates()
|
|
369
|
-
|
|
370
|
-
expect(item.hasAttribute('data-expanded')).toBe(false)
|
|
371
|
-
|
|
372
|
-
const header = item.querySelector('.accordion-header') as HTMLElement
|
|
373
|
-
header.dispatchEvent(new KeyboardEvent('keydown', { key: ' ', bubbles: true }))
|
|
374
|
-
await flushUpdates()
|
|
375
|
-
|
|
376
|
-
expect(item.hasAttribute('data-expanded')).toBe(true)
|
|
377
|
-
})
|
|
378
|
-
|
|
379
|
-
it('should not toggle on unrelated keydown', async () => {
|
|
380
|
-
const el = (
|
|
381
|
-
<div>
|
|
382
|
-
<AccordionItem title="No Toggle">
|
|
383
|
-
<p>Content</p>
|
|
384
|
-
</AccordionItem>
|
|
385
|
-
</div>
|
|
386
|
-
)
|
|
387
|
-
const item = el.firstElementChild as JSX.Element
|
|
388
|
-
item.updateComponent()
|
|
389
|
-
await flushUpdates()
|
|
390
|
-
|
|
391
|
-
expect(item.hasAttribute('data-expanded')).toBe(false)
|
|
392
|
-
|
|
393
|
-
const header = item.querySelector('.accordion-header') as HTMLElement
|
|
394
|
-
header.dispatchEvent(new KeyboardEvent('keydown', { key: 'Tab', bubbles: true }))
|
|
395
|
-
|
|
396
355
|
expect(item.hasAttribute('data-expanded')).toBe(false)
|
|
397
356
|
})
|
|
398
357
|
|
|
@@ -415,4 +374,100 @@ describe('AccordionItem', () => {
|
|
|
415
374
|
|
|
416
375
|
expect(item.hasAttribute('data-expanded')).toBe(false)
|
|
417
376
|
})
|
|
377
|
+
|
|
378
|
+
describe('spatial navigation integration', () => {
|
|
379
|
+
it('should set inert on content when collapsed', async () => {
|
|
380
|
+
const el = (
|
|
381
|
+
<div>
|
|
382
|
+
<AccordionItem title="Collapsed">
|
|
383
|
+
<p>Content</p>
|
|
384
|
+
</AccordionItem>
|
|
385
|
+
</div>
|
|
386
|
+
)
|
|
387
|
+
const item = el.firstElementChild as JSX.Element
|
|
388
|
+
item.updateComponent()
|
|
389
|
+
await flushUpdates()
|
|
390
|
+
const content = item.querySelector('.accordion-content') as HTMLElement
|
|
391
|
+
expect(content.inert).toBe(true)
|
|
392
|
+
})
|
|
393
|
+
|
|
394
|
+
it('should not set inert on content when expanded', async () => {
|
|
395
|
+
const el = (
|
|
396
|
+
<div>
|
|
397
|
+
<AccordionItem title="Expanded" defaultExpanded>
|
|
398
|
+
<p>Content</p>
|
|
399
|
+
</AccordionItem>
|
|
400
|
+
</div>
|
|
401
|
+
)
|
|
402
|
+
const item = el.firstElementChild as JSX.Element
|
|
403
|
+
item.updateComponent()
|
|
404
|
+
await flushUpdates()
|
|
405
|
+
const content = item.querySelector('.accordion-content') as HTMLElement
|
|
406
|
+
expect(content.inert).toBe(false)
|
|
407
|
+
})
|
|
408
|
+
|
|
409
|
+
it('should set inert on content after collapsing', async () => {
|
|
410
|
+
const mockAnimation = { finished: Promise.resolve() }
|
|
411
|
+
Element.prototype.animate = vi.fn().mockReturnValue(mockAnimation)
|
|
412
|
+
|
|
413
|
+
const el = (
|
|
414
|
+
<div>
|
|
415
|
+
<AccordionItem title="Toggleable" defaultExpanded>
|
|
416
|
+
<p>Content</p>
|
|
417
|
+
</AccordionItem>
|
|
418
|
+
</div>
|
|
419
|
+
)
|
|
420
|
+
const item = el.firstElementChild as JSX.Element
|
|
421
|
+
item.updateComponent()
|
|
422
|
+
await flushUpdates()
|
|
423
|
+
|
|
424
|
+
const content = item.querySelector('.accordion-content') as HTMLElement
|
|
425
|
+
expect(content.inert).toBe(false)
|
|
426
|
+
|
|
427
|
+
const header = item.querySelector('.accordion-header') as HTMLElement
|
|
428
|
+
header.click()
|
|
429
|
+
await flushUpdates()
|
|
430
|
+
|
|
431
|
+
expect(content.inert).toBe(true)
|
|
432
|
+
})
|
|
433
|
+
|
|
434
|
+
it('should remove inert on content after expanding', async () => {
|
|
435
|
+
const mockAnimation = { finished: Promise.resolve() }
|
|
436
|
+
Element.prototype.animate = vi.fn().mockReturnValue(mockAnimation)
|
|
437
|
+
|
|
438
|
+
const el = (
|
|
439
|
+
<div>
|
|
440
|
+
<AccordionItem title="Toggleable">
|
|
441
|
+
<p>Content</p>
|
|
442
|
+
</AccordionItem>
|
|
443
|
+
</div>
|
|
444
|
+
)
|
|
445
|
+
const item = el.firstElementChild as JSX.Element
|
|
446
|
+
item.updateComponent()
|
|
447
|
+
await flushUpdates()
|
|
448
|
+
|
|
449
|
+
const content = item.querySelector('.accordion-content') as HTMLElement
|
|
450
|
+
expect(content.inert).toBe(true)
|
|
451
|
+
|
|
452
|
+
const header = item.querySelector('.accordion-header') as HTMLElement
|
|
453
|
+
header.click()
|
|
454
|
+
await flushUpdates()
|
|
455
|
+
|
|
456
|
+
expect(content.inert).toBe(false)
|
|
457
|
+
})
|
|
458
|
+
|
|
459
|
+
it('should exclude disabled header from spatial navigation via native disabled attribute', async () => {
|
|
460
|
+
const el = (
|
|
461
|
+
<div>
|
|
462
|
+
<AccordionItem title="Disabled" disabled />
|
|
463
|
+
</div>
|
|
464
|
+
)
|
|
465
|
+
const item = el.firstElementChild as JSX.Element
|
|
466
|
+
item.updateComponent()
|
|
467
|
+
await flushUpdates()
|
|
468
|
+
const header = item.querySelector('.accordion-header') as HTMLButtonElement
|
|
469
|
+
expect(header.disabled).toBe(true)
|
|
470
|
+
expect(header.matches('button:not([disabled])')).toBe(false)
|
|
471
|
+
})
|
|
472
|
+
})
|
|
418
473
|
})
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
2
|
import { cssVariableTheme } from '../../services/css-variable-theme.js'
|
|
3
3
|
|
|
4
|
+
let nextAccordionId = 0
|
|
5
|
+
|
|
4
6
|
/**
|
|
5
7
|
* Props for the Accordion container component.
|
|
6
8
|
*/
|
|
7
9
|
export type AccordionProps = {
|
|
8
10
|
/** Visual variant of the accordion container */
|
|
9
11
|
variant?: 'outlined' | 'elevation'
|
|
12
|
+
/**
|
|
13
|
+
* Section name for spatial navigation scoping.
|
|
14
|
+
* Sets `data-nav-section` on the accordion so that SpatialNavigationService
|
|
15
|
+
* constrains arrow-key navigation within the accordion group.
|
|
16
|
+
* Auto-generated per instance when not provided.
|
|
17
|
+
*/
|
|
18
|
+
navSection?: string
|
|
10
19
|
}
|
|
11
20
|
|
|
12
21
|
/**
|
|
@@ -24,7 +33,7 @@ export type AccordionProps = {
|
|
|
24
33
|
* ```
|
|
25
34
|
*/
|
|
26
35
|
export const Accordion = Shade<AccordionProps>({
|
|
27
|
-
|
|
36
|
+
customElementName: 'shade-accordion',
|
|
28
37
|
css: {
|
|
29
38
|
display: 'flex',
|
|
30
39
|
fontFamily: cssVariableTheme.typography.fontFamily,
|
|
@@ -41,9 +50,12 @@ export const Accordion = Shade<AccordionProps>({
|
|
|
41
50
|
background: cssVariableTheme.background.paper,
|
|
42
51
|
},
|
|
43
52
|
},
|
|
44
|
-
render: ({ props, useHostProps, children }) => {
|
|
53
|
+
render: ({ props, useHostProps, children, useState }) => {
|
|
54
|
+
const [navSectionId] = useState('navSectionId', String(nextAccordionId++))
|
|
55
|
+
|
|
45
56
|
useHostProps({
|
|
46
57
|
'data-variant': props.variant || undefined,
|
|
58
|
+
'data-nav-section': props.navSection ?? `accordion-${navSectionId}`,
|
|
47
59
|
})
|
|
48
60
|
|
|
49
61
|
return <>{children}</>
|
package/src/components/alert.tsx
CHANGED
|
@@ -39,7 +39,7 @@ const getDefaultIcon = (severity: AlertSeverity): JSX.Element =>
|
|
|
39
39
|
(<Icon icon={defaultIconDefs[severity]} size="small" />) as unknown as JSX.Element
|
|
40
40
|
|
|
41
41
|
export const Alert = Shade<AlertProps>({
|
|
42
|
-
|
|
42
|
+
customElementName: 'shade-alert',
|
|
43
43
|
css: {
|
|
44
44
|
display: 'flex',
|
|
45
45
|
alignItems: 'flex-start',
|
|
@@ -6,7 +6,7 @@ import { cssVariableTheme } from '../services/css-variable-theme.js'
|
|
|
6
6
|
export type AppBarLinkProps = NestedRouteLinkProps & { routingOptions?: MatchOptions }
|
|
7
7
|
|
|
8
8
|
export const AppBarLink = Shade<AppBarLinkProps>({
|
|
9
|
-
|
|
9
|
+
customElementName: 'shade-app-bar-link',
|
|
10
10
|
css: {
|
|
11
11
|
display: 'flex',
|
|
12
12
|
height: '100%',
|
|
@@ -2,7 +2,7 @@ import { Shade, createComponent } from '@furystack/shades'
|
|
|
2
2
|
import { cssVariableTheme } from '../services/css-variable-theme.js'
|
|
3
3
|
|
|
4
4
|
export const AppBar = Shade({
|
|
5
|
-
|
|
5
|
+
customElementName: 'shade-app-bar',
|
|
6
6
|
css: {
|
|
7
7
|
width: '100%',
|
|
8
8
|
display: 'flex',
|
|
@@ -6,7 +6,7 @@ import { user as userIcon } from './icons/icon-definitions.js'
|
|
|
6
6
|
export type AvatarProps = { avatarUrl: string; fallback?: JSX.Element } & PartialElement<HTMLDivElement>
|
|
7
7
|
|
|
8
8
|
export const Avatar = Shade<AvatarProps>({
|
|
9
|
-
|
|
9
|
+
customElementName: 'shade-avatar',
|
|
10
10
|
css: {
|
|
11
11
|
fontFamily: cssVariableTheme.typography.fontFamily,
|
|
12
12
|
width: '128px',
|
package/src/components/badge.tsx
CHANGED
|
@@ -314,17 +314,17 @@ describe('Breadcrumb', () => {
|
|
|
314
314
|
describe('BreadcrumbItem', () => {
|
|
315
315
|
it('Should require params when path has parameters', () => {
|
|
316
316
|
type ItemWithParams = BreadcrumbItem<'/users/:id'>
|
|
317
|
-
expectTypeOf<ItemWithParams>().
|
|
317
|
+
expectTypeOf<ItemWithParams>().toExtend<{ params: { id: string } }>()
|
|
318
318
|
})
|
|
319
319
|
|
|
320
320
|
it('Should make params optional when path has no parameters', () => {
|
|
321
321
|
type ItemWithoutParams = BreadcrumbItem<'/users'>
|
|
322
|
-
expectTypeOf<ItemWithoutParams>().
|
|
322
|
+
expectTypeOf<ItemWithoutParams>().toExtend<{ params?: Record<string, string> }>()
|
|
323
323
|
})
|
|
324
324
|
|
|
325
325
|
it('Should extract multiple params from path', () => {
|
|
326
326
|
type ItemWithMultipleParams = BreadcrumbItem<'/users/:userId/posts/:postId'>
|
|
327
|
-
expectTypeOf<ItemWithMultipleParams>().
|
|
327
|
+
expectTypeOf<ItemWithMultipleParams>().toExtend<{ params: { userId: string; postId: string } }>()
|
|
328
328
|
})
|
|
329
329
|
})
|
|
330
330
|
|
|
@@ -66,7 +66,7 @@ export type TypedBreadcrumbProps<TRoutes extends Record<string, NestedRoute<unkn
|
|
|
66
66
|
* ```
|
|
67
67
|
*/
|
|
68
68
|
export const Breadcrumb = Shade<BreadcrumbProps>({
|
|
69
|
-
|
|
69
|
+
customElementName: 'shade-breadcrumb',
|
|
70
70
|
elementBase: HTMLElement,
|
|
71
71
|
elementBaseName: 'nav',
|
|
72
72
|
css: {
|
|
@@ -22,7 +22,7 @@ export type ButtonGroupProps = PartialElement<HTMLElement> & {
|
|
|
22
22
|
const groupChildRadius = cssVariableTheme.shape.borderRadius.md
|
|
23
23
|
|
|
24
24
|
export const ButtonGroup: (props: ButtonGroupProps, children: ChildrenList) => JSX.Element = Shade<ButtonGroupProps>({
|
|
25
|
-
|
|
25
|
+
customElementName: 'shade-button-group',
|
|
26
26
|
css: {
|
|
27
27
|
display: 'inline-flex',
|
|
28
28
|
fontFamily: cssVariableTheme.typography.fontFamily,
|
|
@@ -98,7 +98,7 @@ export type ToggleButtonProps = PartialElement<HTMLButtonElement> & {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
export const ToggleButton = Shade<ToggleButtonProps>({
|
|
101
|
-
|
|
101
|
+
customElementName: 'shade-toggle-button',
|
|
102
102
|
elementBase: HTMLButtonElement,
|
|
103
103
|
elementBaseName: 'button',
|
|
104
104
|
css: {
|
|
@@ -207,7 +207,7 @@ export type ToggleButtonGroupProps = PartialElement<HTMLElement> & {
|
|
|
207
207
|
|
|
208
208
|
export const ToggleButtonGroup: (props: ToggleButtonGroupProps, children: ChildrenList) => JSX.Element =
|
|
209
209
|
Shade<ToggleButtonGroupProps>({
|
|
210
|
-
|
|
210
|
+
customElementName: 'shade-toggle-button-group',
|
|
211
211
|
css: {
|
|
212
212
|
display: 'inline-flex',
|
|
213
213
|
borderRadius: cssVariableTheme.shape.borderRadius.md,
|
|
@@ -373,7 +373,7 @@ const defaultSegmentedColors = {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
export const SegmentedControl = Shade<SegmentedControlProps>({
|
|
376
|
-
|
|
376
|
+
customElementName: 'shade-segmented-control',
|
|
377
377
|
css: {
|
|
378
378
|
display: 'inline-flex',
|
|
379
379
|
borderRadius: cssVariableTheme.shape.borderRadius.md,
|