@daffodil/design 0.79.0 → 0.81.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/accordion/accordion.module.d.ts +3 -1
- package/accordion/src/accordion-theme.scss +4 -4
- package/article/README.md +5 -6
- package/article/article.module.d.ts +3 -1
- package/article/src/article-theme.scss +8 -8
- package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
- package/breadcrumb/breadcrumb.module.d.ts +3 -1
- package/breadcrumb/src/breadcrumb-theme.scss +3 -3
- package/button/button/basic/button.component.d.ts +1 -1
- package/button/button/flat/flat.component.d.ts +1 -1
- package/button/button/icon/icon.component.d.ts +1 -1
- package/button/button/raised/raised.component.d.ts +1 -1
- package/button/button/stroked/stroked.component.d.ts +1 -1
- package/button/button/underline/underline.component.d.ts +1 -1
- package/button/button.module.d.ts +3 -1
- package/button/src/button/basic/button-theme.scss +14 -14
- package/button/src/button/button-base.scss +3 -3
- package/button/src/button/flat/flat-theme.scss +21 -22
- package/button/src/button/icon/icon-theme.scss +13 -14
- package/button/src/button/raised/raised-theme.scss +32 -45
- package/button/src/button/stroked/stroked-theme.scss +18 -21
- package/button/src/button/underline/underline-theme.scss +14 -18
- package/callout/callout.module.d.ts +3 -1
- package/callout/src/callout-theme.scss +11 -17
- package/card/card.module.d.ts +1 -1
- package/card/src/card-theme-variants/linkable-card.scss +1 -1
- package/card/src/card-theme.scss +9 -9
- package/container/container.module.d.ts +1 -1
- package/core/article-encapsulated/article-encapsulated.directive.d.ts +4 -5
- package/core/colorable/colorable.directive.d.ts +28 -18
- package/core/compactable/compactable.directive.d.ts +6 -10
- package/core/focus/stack.service.d.ts +3 -1
- package/core/manage-container-layout/manage-container-layout.directive.d.ts +2 -4
- package/core/openable/openable.directive.d.ts +2 -1
- package/core/public_api.d.ts +1 -0
- package/core/selectable/public_api.d.ts +2 -0
- package/core/selectable/selectable.d.ts +7 -0
- package/core/selectable/selectable.directive.d.ts +17 -0
- package/core/sizable/sizable.directive.d.ts +4 -8
- package/core/skeletonable/skeletonable.directive.d.ts +7 -9
- package/core/statusable/statusable.directive.d.ts +4 -8
- package/core/text-alignable/text-alignable.directive.d.ts +9 -12
- package/core/theming/initializer.d.ts +1 -2
- package/fesm2022/daffodil-design-accordion-examples.mjs +4 -4
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-accordion.mjs +16 -14
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article-examples.mjs +40 -40
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +14 -12
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs +4 -4
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +13 -11
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button-examples.mjs +32 -32
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +43 -41
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +16 -16
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +26 -24
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card-examples.mjs +24 -24
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +26 -26
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +8 -8
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container-examples.mjs +4 -4
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +9 -9
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +16 -16
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +24 -24
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-examples.mjs +12 -12
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +8 -8
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input-examples.mjs +16 -16
- package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +18 -18
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list-examples.mjs +16 -16
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +21 -14
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +4 -4
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +8 -8
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +12 -12
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +40 -55
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +8 -8
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +18 -18
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +8 -8
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +28 -28
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +20 -20
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +8 -8
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +20 -20
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +21 -21
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator-examples.mjs +8 -8
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +9 -9
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar-examples.mjs +12 -12
- package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +12 -12
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +16 -16
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio-examples.mjs +4 -4
- package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +18 -18
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +71 -43
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch-examples.mjs +109 -0
- package/fesm2022/daffodil-design-switch-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-switch.mjs +151 -0
- package/fesm2022/daffodil-design-switch.mjs.map +1 -0
- package/fesm2022/daffodil-design-tabs-examples.mjs +32 -16
- package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +86 -45
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet-examples.mjs +4 -4
- package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +5 -4
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast-examples.mjs +16 -16
- package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +28 -29
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree-examples.mjs +8 -8
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +18 -20
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +271 -236
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/hero/hero.module.d.ts +1 -1
- package/hero/src/hero-theme.scss +11 -17
- package/image/image.module.d.ts +1 -1
- package/link-set/link-set.module.d.ts +1 -1
- package/list/list-item/list-item.component.d.ts +3 -1
- package/list/list.module.d.ts +1 -1
- package/list/src/list-theme.scss +13 -9
- package/loading-icon/loading-icon.module.d.ts +1 -1
- package/loading-icon/src/loading-icon-theme.scss +7 -7
- package/media-gallery/README.md +2 -2
- package/media-gallery/media-gallery.module.d.ts +1 -1
- package/media-gallery/src/media-gallery-theme.scss +3 -3
- package/media-gallery/thumbnail/thumbnail.directive.d.ts +9 -18
- package/menu/src/menu-theme.scss +5 -5
- package/modal/modal.module.d.ts +1 -1
- package/modal/src/modal-theme.scss +1 -1
- package/navbar/README.md +1 -1
- package/navbar/navbar.module.d.ts +1 -1
- package/navbar/src/navbar-theme.scss +8 -8
- package/notification/notification.module.d.ts +1 -1
- package/notification/src/notification-theme.scss +12 -12
- package/package.json +1 -1
- package/paginator/paginator.module.d.ts +1 -1
- package/paginator/src/paginator-theme.scss +11 -10
- package/progress-bar/progress-bar.module.d.ts +1 -1
- package/progress-bar/src/progress-bar-theme.scss +10 -10
- package/scss/accessibility/_index.scss +1 -1
- package/scss/core/_index.scss +1 -2
- package/scss/core/error/error-to-string.scss +13 -0
- package/scss/core/map/map-deep-check/map-deep-check.scss +2 -1
- package/scss/core/map/map-deep-get/map-deep-get.scss +1 -0
- package/scss/core/map/map-get/map-get.scss +23 -0
- package/scss/core/map/map-get/map-get.spec.scss +65 -0
- package/scss/core/string/split/string-split.scss +10 -7
- package/scss/global.scss +2 -1
- package/scss/interactions/_index.scss +1 -1
- package/scss/interactions/mouse/_clickable.scss +1 -0
- package/scss/layout/_index.scss +1 -1
- package/scss/state/skeleton/_mixins.scss +2 -2
- package/scss/theme.scss +2 -0
- package/scss/theming/_configure-theme.scss +2 -2
- package/scss/theming/_daff-theme.scss +14 -4
- package/scss/theming/_index.scss +1 -1
- package/scss/theming/_theme-css-variables.scss +20 -15
- package/scss/theming/contrast/luminance/luminance.scss +8 -6
- package/scss/theming/illuminate/illuminate.scss +20 -17
- package/scss/typography/_classes.scss +2 -1
- package/scss/typography/mixins/_font-weight.scss +2 -0
- package/scss/typography/mixins/_sizes.scss +4 -4
- package/scss/typography/utilities/_index.scss +1 -1
- package/scss/typography/utilities/_variables.scss +1 -1
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +10 -1
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +13 -11
- package/sidebar/sidebar.module.d.ts +1 -1
- package/sidebar/src/sidebar-theme.scss +3 -3
- package/src/atoms/form/form-field/form-field/form-field-theme.scss +6 -6
- package/src/atoms/form/input/input-theme.scss +2 -2
- package/src/atoms/form/native-select/native-select-theme.scss +3 -3
- package/switch/README.md +61 -0
- package/switch/examples/basic-switch/basic-switch.component.d.ts +8 -0
- package/switch/examples/disabled-switch/disabled-switch.component.d.ts +7 -0
- package/switch/examples/examples.d.ts +5 -0
- package/switch/examples/index.d.ts +1 -0
- package/switch/examples/loading-switch/loading-switch.component.d.ts +7 -0
- package/switch/examples/public_api.d.ts +6 -0
- package/switch/examples/switch-error/switch-error.component.d.ts +7 -0
- package/switch/examples/switch-label-positions/switch-label-positions.component.d.ts +12 -0
- package/switch/index.d.ts +1 -0
- package/switch/public_api.d.ts +2 -0
- package/switch/src/switch-theme.scss +31 -0
- package/switch/switch/label-position.d.ts +10 -0
- package/switch/switch/switch.component.d.ts +56 -0
- package/switch/switch.d.ts +3 -0
- package/tabs/README.md +3 -0
- package/tabs/examples/link-tabs/link-tabs.component.d.ts +6 -0
- package/tabs/src/tabs-theme.scss +17 -9
- package/tabs/tabs/tab/tab.component.d.ts +3 -2
- package/tabs/tabs/tab-activator/tab-activator.component.d.ts +5 -4
- package/tabs/tabs/tab-label/tab-label.component.d.ts +1 -0
- package/tabs/tabs/tab-panel/tab-panel.component.d.ts +1 -0
- package/tabs/tabs/tabs.component.d.ts +31 -7
- package/toast/src/toast-theme.scss +18 -18
- package/toast/toast.module.d.ts +1 -1
- package/tree/src/tree-theme.scss +11 -11
- package/tree/tree/tree.component.d.ts +1 -2
- package/tree/tree-item/tree-item.directive.d.ts +5 -6
- package/tree/tree.module.d.ts +1 -1
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +0 -15
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +0 -81
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -23
- package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +0 -9
- package/esm2022/accordion/accordion/animation/accordion-animation.mjs +0 -15
- package/esm2022/accordion/accordion.mjs +0 -9
- package/esm2022/accordion/accordion.module.mjs +0 -34
- package/esm2022/accordion/daffodil-design-accordion.mjs +0 -5
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -15
- package/esm2022/accordion/examples/daffodil-design-accordion-examples.mjs +0 -5
- package/esm2022/accordion/examples/examples.mjs +0 -5
- package/esm2022/accordion/examples/index.mjs +0 -2
- package/esm2022/accordion/examples/public_api.mjs +0 -3
- package/esm2022/accordion/index.mjs +0 -2
- package/esm2022/accordion/public_api.mjs +0 -6
- package/esm2022/article/article/article.component.mjs +0 -30
- package/esm2022/article/article-meta/article-meta.directive.mjs +0 -23
- package/esm2022/article/article.mjs +0 -7
- package/esm2022/article/article.module.mjs +0 -29
- package/esm2022/article/daffodil-design-article.mjs +0 -5
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +0 -15
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +0 -15
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +0 -15
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +0 -15
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +0 -15
- package/esm2022/article/examples/article-link/article-link.component.mjs +0 -15
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +0 -15
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +0 -15
- package/esm2022/article/examples/article-table/article-table.component.mjs +0 -15
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +0 -15
- package/esm2022/article/examples/daffodil-design-article-examples.mjs +0 -5
- package/esm2022/article/examples/examples.mjs +0 -23
- package/esm2022/article/examples/index.mjs +0 -2
- package/esm2022/article/examples/public_api.mjs +0 -11
- package/esm2022/article/index.mjs +0 -2
- package/esm2022/article/public_api.mjs +0 -5
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +0 -142
- package/esm2022/atoms/form/checkbox/checkbox.module.mjs +0 -39
- package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
- package/esm2022/atoms/form/checkbox/public_api.mjs +0 -5
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
- package/esm2022/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -6
- package/esm2022/atoms/form/core/public_api.mjs +0 -2
- package/esm2022/atoms/form/error-message/error-message.component.mjs +0 -17
- package/esm2022/atoms/form/error-message/error-message.module.mjs +0 -20
- package/esm2022/atoms/form/error-message/public_api.mjs +0 -3
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
- package/esm2022/atoms/form/form-field/form-field-control.mjs +0 -15
- package/esm2022/atoms/form/form-field/form-field-errors.mjs +0 -2
- package/esm2022/atoms/form/form-field/form-field.module.mjs +0 -34
- package/esm2022/atoms/form/form-field/public_api.mjs +0 -4
- package/esm2022/atoms/form/form-label/form-label.directive.mjs +0 -19
- package/esm2022/atoms/form/form-label/form-label.module.mjs +0 -20
- package/esm2022/atoms/form/form-label/public_api.mjs +0 -3
- package/esm2022/atoms/form/input/input.component.mjs +0 -59
- package/esm2022/atoms/form/input/input.module.mjs +0 -24
- package/esm2022/atoms/form/input/public_api.mjs +0 -3
- package/esm2022/atoms/form/native-select/native-select.component.mjs +0 -64
- package/esm2022/atoms/form/native-select/native-select.module.mjs +0 -24
- package/esm2022/atoms/form/native-select/public_api.mjs +0 -3
- package/esm2022/atoms/form/quantity-field/public_api.mjs +0 -5
- package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +0 -137
- package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
- package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
- package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
- package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
- package/esm2022/atoms/form/radio/public_api.mjs +0 -5
- package/esm2022/atoms/form/radio/radio.component.mjs +0 -132
- package/esm2022/atoms/form/radio/radio.module.mjs +0 -34
- package/esm2022/atoms/form/radio/registry/radio-registry.mjs +0 -54
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +0 -22
- package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +0 -25
- package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +0 -33
- package/esm2022/breadcrumb/breadcrumb.mjs +0 -7
- package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -26
- package/esm2022/breadcrumb/daffodil-design-breadcrumb.mjs +0 -5
- package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +0 -15
- package/esm2022/breadcrumb/examples/daffodil-design-breadcrumb-examples.mjs +0 -5
- package/esm2022/breadcrumb/examples/index.mjs +0 -2
- package/esm2022/breadcrumb/examples/public_api.mjs +0 -5
- package/esm2022/breadcrumb/index.mjs +0 -2
- package/esm2022/breadcrumb/public_api.mjs +0 -5
- package/esm2022/button/button/basic/button.component.mjs +0 -48
- package/esm2022/button/button/button-base.directive.mjs +0 -105
- package/esm2022/button/button/button-sizable.directive.mjs +0 -14
- package/esm2022/button/button/flat/flat.component.mjs +0 -48
- package/esm2022/button/button/icon/icon.component.mjs +0 -44
- package/esm2022/button/button/raised/raised.component.mjs +0 -48
- package/esm2022/button/button/stroked/stroked.component.mjs +0 -48
- package/esm2022/button/button/underline/underline.component.mjs +0 -48
- package/esm2022/button/button.mjs +0 -17
- package/esm2022/button/button.module.mjs +0 -58
- package/esm2022/button/daffodil-design-button.mjs +0 -5
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +0 -21
- package/esm2022/button/examples/daffodil-design-button-examples.mjs +0 -5
- package/esm2022/button/examples/examples.mjs +0 -19
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +0 -21
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +0 -20
- package/esm2022/button/examples/index.mjs +0 -2
- package/esm2022/button/examples/public_api.mjs +0 -10
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +0 -21
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +0 -22
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +0 -24
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +0 -21
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +0 -21
- package/esm2022/button/index.mjs +0 -2
- package/esm2022/button/public_api.mjs +0 -10
- package/esm2022/callout/callout/callout.component.mjs +0 -43
- package/esm2022/callout/callout-body/callout-body.directive.mjs +0 -23
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +0 -23
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -23
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +0 -23
- package/esm2022/callout/callout-title/callout-title.directive.mjs +0 -23
- package/esm2022/callout/callout.mjs +0 -15
- package/esm2022/callout/callout.module.mjs +0 -49
- package/esm2022/callout/daffodil-design-callout.mjs +0 -5
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -38
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +0 -39
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -27
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +0 -26
- package/esm2022/callout/examples/daffodil-design-callout-examples.mjs +0 -5
- package/esm2022/callout/examples/examples.mjs +0 -11
- package/esm2022/callout/examples/index.mjs +0 -2
- package/esm2022/callout/examples/public_api.mjs +0 -6
- package/esm2022/callout/index.mjs +0 -2
- package/esm2022/callout/public_api.mjs +0 -9
- package/esm2022/card/card/card.component.mjs +0 -108
- package/esm2022/card/card-actions/card-actions.directive.mjs +0 -23
- package/esm2022/card/card-content/card-content.directive.mjs +0 -23
- package/esm2022/card/card-icon/card-icon.directive.mjs +0 -23
- package/esm2022/card/card-image/card-image.directive.mjs +0 -23
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +0 -23
- package/esm2022/card/card-title/card-title.directive.mjs +0 -23
- package/esm2022/card/card.mjs +0 -17
- package/esm2022/card/card.module.mjs +0 -56
- package/esm2022/card/daffodil-design-card.mjs +0 -5
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +0 -26
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +0 -37
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +0 -33
- package/esm2022/card/examples/daffodil-design-card-examples.mjs +0 -5
- package/esm2022/card/examples/index.mjs +0 -2
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +0 -38
- package/esm2022/card/examples/public_api.mjs +0 -16
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +0 -36
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +0 -36
- package/esm2022/card/index.mjs +0 -2
- package/esm2022/card/public_api.mjs +0 -10
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -32
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -33
- package/esm2022/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -5
- package/esm2022/checkbox/examples/examples.mjs +0 -7
- package/esm2022/checkbox/examples/index.mjs +0 -2
- package/esm2022/checkbox/examples/public_api.mjs +0 -2
- package/esm2022/container/container/container.component.mjs +0 -30
- package/esm2022/container/container.mjs +0 -5
- package/esm2022/container/container.module.mjs +0 -26
- package/esm2022/container/daffodil-design-container.mjs +0 -5
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +0 -30
- package/esm2022/container/examples/daffodil-design-container-examples.mjs +0 -5
- package/esm2022/container/examples/examples.mjs +0 -5
- package/esm2022/container/examples/index.mjs +0 -2
- package/esm2022/container/examples/public_api.mjs +0 -3
- package/esm2022/container/index.mjs +0 -2
- package/esm2022/container/public_api.mjs +0 -4
- package/esm2022/core/animation/animation-state-with-params.mjs +0 -2
- package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +0 -45
- package/esm2022/core/article-encapsulated/public_api.mjs +0 -2
- package/esm2022/core/breakpoints/breakpoints.mjs +0 -10
- package/esm2022/core/breakpoints/noop.service.mjs +0 -25
- package/esm2022/core/breakpoints/provider.mjs +0 -13
- package/esm2022/core/breakpoints/public_api.mjs +0 -4
- package/esm2022/core/colorable/colorable.directive.mjs +0 -104
- package/esm2022/core/colorable/colorable.mjs +0 -37
- package/esm2022/core/colorable/public_api.mjs +0 -2
- package/esm2022/core/compactable/compactable.directive.mjs +0 -70
- package/esm2022/core/compactable/compactable.mjs +0 -2
- package/esm2022/core/compactable/public_api.mjs +0 -2
- package/esm2022/core/constructor/constructor.mjs +0 -7
- package/esm2022/core/focus/focusable-elements.mjs +0 -2
- package/esm2022/core/focus/public_api.mjs +0 -3
- package/esm2022/core/focus/stack.service.mjs +0 -71
- package/esm2022/core/lazy/lazy-component.mjs +0 -3
- package/esm2022/core/lazy/public_api.mjs +0 -2
- package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +0 -80
- package/esm2022/core/manage-container-layout/public_api.mjs +0 -2
- package/esm2022/core/mutable/mutable.mjs +0 -2
- package/esm2022/core/openable/openable.directive.mjs +0 -122
- package/esm2022/core/openable/openable.mjs +0 -2
- package/esm2022/core/openable/public_api.mjs +0 -2
- package/esm2022/core/openable/utils/state-error.mjs +0 -2
- package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
- package/esm2022/core/prefix-suffix/prefix.directive.mjs +0 -24
- package/esm2022/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -2
- package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
- package/esm2022/core/prefix-suffix/public_api.mjs +0 -6
- package/esm2022/core/prefix-suffix/suffix.directive.mjs +0 -24
- package/esm2022/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -2
- package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
- package/esm2022/core/public_api.mjs +0 -19
- package/esm2022/core/sizable/public_api.mjs +0 -3
- package/esm2022/core/sizable/sizable.directive.mjs +0 -96
- package/esm2022/core/sizable/sizable.mjs +0 -12
- package/esm2022/core/skeletonable/public_api.mjs +0 -2
- package/esm2022/core/skeletonable/skeletonable.directive.mjs +0 -66
- package/esm2022/core/skeletonable/skeletonable.mjs +0 -2
- package/esm2022/core/statusable/public_api.mjs +0 -3
- package/esm2022/core/statusable/statusable.directive.mjs +0 -79
- package/esm2022/core/statusable/statusable.mjs +0 -11
- package/esm2022/core/text-alignable/public_api.mjs +0 -3
- package/esm2022/core/text-alignable/text-alignable.directive.mjs +0 -84
- package/esm2022/core/text-alignable/text-alignable.mjs +0 -7
- package/esm2022/core/theming/functions/computer.mjs +0 -18
- package/esm2022/core/theming/initializer.mjs +0 -17
- package/esm2022/core/theming/public_api.mjs +0 -4
- package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
- package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +0 -49
- package/esm2022/core/theming/services/storage/theme-storage.service.mjs +0 -67
- package/esm2022/core/theming/services/theming.service.mjs +0 -61
- package/esm2022/core/theming/types/theme.mjs +0 -10
- package/esm2022/daffodil-design.mjs +0 -5
- package/esm2022/hero/daffodil-design-hero.mjs +0 -5
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +0 -23
- package/esm2022/hero/examples/daffodil-design-hero-examples.mjs +0 -5
- package/esm2022/hero/examples/examples.mjs +0 -11
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -38
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +0 -28
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -26
- package/esm2022/hero/examples/index.mjs +0 -2
- package/esm2022/hero/examples/public_api.mjs +0 -6
- package/esm2022/hero/hero/hero.component.mjs +0 -40
- package/esm2022/hero/hero-body/hero-body.directive.mjs +0 -23
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +0 -23
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -23
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +0 -23
- package/esm2022/hero/hero-title/hero-title.directive.mjs +0 -23
- package/esm2022/hero/hero.mjs +0 -15
- package/esm2022/hero/hero.module.mjs +0 -51
- package/esm2022/hero/index.mjs +0 -2
- package/esm2022/hero/public_api.mjs +0 -9
- package/esm2022/image/daffodil-design-image.mjs +0 -5
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +0 -15
- package/esm2022/image/examples/daffodil-design-image-examples.mjs +0 -5
- package/esm2022/image/examples/index.mjs +0 -2
- package/esm2022/image/examples/load-image/load-image.component.mjs +0 -23
- package/esm2022/image/examples/public_api.mjs +0 -9
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +0 -15
- package/esm2022/image/image/image.component.mjs +0 -116
- package/esm2022/image/image.mjs +0 -5
- package/esm2022/image/image.module.mjs +0 -26
- package/esm2022/image/index.mjs +0 -2
- package/esm2022/image/public_api.mjs +0 -4
- package/esm2022/index.mjs +0 -6
- package/esm2022/input/examples/basic-input/basic-input.component.mjs +0 -13
- package/esm2022/input/examples/daffodil-design-input-examples.mjs +0 -5
- package/esm2022/input/examples/examples.mjs +0 -11
- package/esm2022/input/examples/index.mjs +0 -2
- package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +0 -13
- package/esm2022/input/examples/input-error/input-error.component.mjs +0 -25
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -13
- package/esm2022/input/examples/public_api.mjs +0 -2
- package/esm2022/link-set/daffodil-design-link-set.mjs +0 -5
- package/esm2022/link-set/index.mjs +0 -2
- package/esm2022/link-set/link-set/link-set.component.mjs +0 -27
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +0 -26
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +0 -27
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -26
- package/esm2022/link-set/link-set.mjs +0 -11
- package/esm2022/link-set/link-set.module.mjs +0 -41
- package/esm2022/link-set/public_api.mjs +0 -7
- package/esm2022/list/daffodil-design-list.mjs +0 -5
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +0 -16
- package/esm2022/list/examples/daffodil-design-list-examples.mjs +0 -5
- package/esm2022/list/examples/examples.mjs +0 -11
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +0 -22
- package/esm2022/list/examples/index.mjs +0 -2
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +0 -16
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +0 -22
- package/esm2022/list/examples/public_api.mjs +0 -6
- package/esm2022/list/index.mjs +0 -2
- package/esm2022/list/list/list.component.mjs +0 -63
- package/esm2022/list/list-item/list-item.component.mjs +0 -52
- package/esm2022/list/list.mjs +0 -9
- package/esm2022/list/list.module.mjs +0 -35
- package/esm2022/list/public_api.mjs +0 -5
- package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +0 -5
- package/esm2022/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -5
- package/esm2022/loading-icon/examples/examples.mjs +0 -5
- package/esm2022/loading-icon/examples/index.mjs +0 -2
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -33
- package/esm2022/loading-icon/examples/public_api.mjs +0 -3
- package/esm2022/loading-icon/index.mjs +0 -2
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +0 -30
- package/esm2022/loading-icon/loading-icon.mjs +0 -5
- package/esm2022/loading-icon/loading-icon.module.mjs +0 -26
- package/esm2022/loading-icon/public_api.mjs +0 -4
- package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +0 -5
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -5
- package/esm2022/media-gallery/examples/examples.mjs +0 -9
- package/esm2022/media-gallery/examples/index.mjs +0 -2
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/examples/public_api.mjs +0 -5
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +0 -2
- package/esm2022/media-gallery/helpers/media-gallery-token.mjs +0 -7
- package/esm2022/media-gallery/index.mjs +0 -2
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +0 -57
- package/esm2022/media-gallery/media-gallery.mjs +0 -9
- package/esm2022/media-gallery/media-gallery.module.mjs +0 -34
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +0 -81
- package/esm2022/media-gallery/public_api.mjs +0 -6
- package/esm2022/media-gallery/registry/media-gallery.registry.mjs +0 -97
- package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -11
- package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +0 -89
- package/esm2022/menu/daffodil-design-menu.mjs +0 -5
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +0 -21
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -23
- package/esm2022/menu/examples/daffodil-design-menu-examples.mjs +0 -5
- package/esm2022/menu/examples/index.mjs +0 -2
- package/esm2022/menu/examples/public_api.mjs +0 -5
- package/esm2022/menu/helpers/create-overlay.mjs +0 -29
- package/esm2022/menu/helpers/public_api.mjs +0 -2
- package/esm2022/menu/index.mjs +0 -2
- package/esm2022/menu/menu/menu.component.mjs +0 -66
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +0 -49
- package/esm2022/menu/menu-item/menu-item.component.mjs +0 -38
- package/esm2022/menu/menu.module.mjs +0 -45
- package/esm2022/menu/public_api.mjs +0 -7
- package/esm2022/menu/services/menu.service.mjs +0 -53
- package/esm2022/modal/animations/modal-animation-state.mjs +0 -2
- package/esm2022/modal/animations/modal-animation.mjs +0 -9
- package/esm2022/modal/daffodil-design-modal.mjs +0 -5
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +0 -28
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +0 -17
- package/esm2022/modal/examples/daffodil-design-modal-examples.mjs +0 -5
- package/esm2022/modal/examples/index.mjs +0 -2
- package/esm2022/modal/examples/public_api.mjs +0 -5
- package/esm2022/modal/index.mjs +0 -2
- package/esm2022/modal/modal/modal-config.mjs +0 -2
- package/esm2022/modal/modal/modal.component.mjs +0 -163
- package/esm2022/modal/modal/modal.mjs +0 -2
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +0 -22
- package/esm2022/modal/modal-close/modal-close.directive.mjs +0 -48
- package/esm2022/modal/modal-content/modal-content.component.mjs +0 -22
- package/esm2022/modal/modal-header/modal-header.component.mjs +0 -37
- package/esm2022/modal/modal-title/modal-title.directive.mjs +0 -50
- package/esm2022/modal/modal.mjs +0 -13
- package/esm2022/modal/modal.module.mjs +0 -75
- package/esm2022/modal/public_api.mjs +0 -10
- package/esm2022/modal/service/modal.service.mjs +0 -74
- package/esm2022/navbar/daffodil-design-navbar.mjs +0 -5
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -17
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -20
- package/esm2022/navbar/examples/daffodil-design-navbar-examples.mjs +0 -5
- package/esm2022/navbar/examples/examples.mjs +0 -11
- package/esm2022/navbar/examples/index.mjs +0 -2
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -35
- package/esm2022/navbar/examples/public_api.mjs +0 -6
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -17
- package/esm2022/navbar/index.mjs +0 -2
- package/esm2022/navbar/navbar/navbar.component.mjs +0 -41
- package/esm2022/navbar/navbar.mjs +0 -5
- package/esm2022/navbar/navbar.module.mjs +0 -26
- package/esm2022/navbar/public_api.mjs +0 -4
- package/esm2022/notification/daffodil-design-notification.mjs +0 -5
- package/esm2022/notification/examples/daffodil-design-notification-examples.mjs +0 -5
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +0 -30
- package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +0 -30
- package/esm2022/notification/examples/index.mjs +0 -2
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -30
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +0 -32
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +0 -29
- package/esm2022/notification/examples/public_api.mjs +0 -13
- package/esm2022/notification/index.mjs +0 -2
- package/esm2022/notification/notification/notification.component.mjs +0 -108
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +0 -20
- package/esm2022/notification/notification-message/notification-message.directive.mjs +0 -20
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -20
- package/esm2022/notification/notification-title/notification-title.directive.mjs +0 -20
- package/esm2022/notification/notification.mjs +0 -15
- package/esm2022/notification/notification.module.mjs +0 -57
- package/esm2022/notification/public_api.mjs +0 -8
- package/esm2022/paginator/daffodil-design-paginator.mjs +0 -5
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -22
- package/esm2022/paginator/examples/daffodil-design-paginator-examples.mjs +0 -5
- package/esm2022/paginator/examples/examples.mjs +0 -7
- package/esm2022/paginator/examples/index.mjs +0 -2
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +0 -30
- package/esm2022/paginator/examples/public_api.mjs +0 -4
- package/esm2022/paginator/index.mjs +0 -2
- package/esm2022/paginator/paginator/paginator.component.mjs +0 -169
- package/esm2022/paginator/paginator.mjs +0 -5
- package/esm2022/paginator/paginator.module.mjs +0 -35
- package/esm2022/paginator/public_api.mjs +0 -4
- package/esm2022/paginator/utils/paginator-errors.mjs +0 -3
- package/esm2022/progress-bar/animation/progress-bar-animation.mjs +0 -9
- package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +0 -5
- package/esm2022/progress-bar/examples/daffodil-design-progress-bar-examples.mjs +0 -5
- package/esm2022/progress-bar/examples/index.mjs +0 -2
- package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +0 -15
- package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +0 -15
- package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +0 -22
- package/esm2022/progress-bar/examples/public_api.mjs +0 -9
- package/esm2022/progress-bar/index.mjs +0 -2
- package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +0 -20
- package/esm2022/progress-bar/progress-bar.component.mjs +0 -139
- package/esm2022/progress-bar/progress-bar.mjs +0 -7
- package/esm2022/progress-bar/progress-bar.module.mjs +0 -31
- package/esm2022/progress-bar/public_api.mjs +0 -5
- package/esm2022/public_api.mjs +0 -16
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -5
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/index.mjs +0 -2
- package/esm2022/quantity-field/examples/public_api.mjs +0 -12
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -22
- package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +0 -20
- package/esm2022/radio/examples/daffodil-design-radio-examples.mjs +0 -5
- package/esm2022/radio/examples/examples.mjs +0 -5
- package/esm2022/radio/examples/index.mjs +0 -2
- package/esm2022/radio/examples/public_api.mjs +0 -2
- package/esm2022/sidebar/animation/sidebar-animation-state.mjs +0 -24
- package/esm2022/sidebar/animation/sidebar-animation-width.mjs +0 -2
- package/esm2022/sidebar/animation/sidebar-animation.mjs +0 -51
- package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -4
- package/esm2022/sidebar/daffodil-design-sidebar.mjs +0 -5
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -15
- package/esm2022/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -5
- package/esm2022/sidebar/examples/index.mjs +0 -2
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +0 -36
- package/esm2022/sidebar/examples/public_api.mjs +0 -11
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +0 -15
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +0 -15
- package/esm2022/sidebar/helper/is-docked-mode.mjs +0 -9
- package/esm2022/sidebar/helper/is-floating-mode.mjs +0 -9
- package/esm2022/sidebar/helper/sidebar-mode.mjs +0 -2
- package/esm2022/sidebar/helper/sidebar-side.mjs +0 -2
- package/esm2022/sidebar/index.mjs +0 -2
- package/esm2022/sidebar/public_api.mjs +0 -14
- package/esm2022/sidebar/service/registration.type.mjs +0 -2
- package/esm2022/sidebar/service/sidebar.service.mjs +0 -36
- package/esm2022/sidebar/sidebar/is-opening.mjs +0 -13
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +0 -178
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -17
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +0 -23
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +0 -23
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +0 -17
- package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +0 -16
- package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +0 -10
- package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +0 -45
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -198
- package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +0 -5
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +0 -17
- package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +0 -21
- package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation-state.mjs +0 -2
- package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation.mjs +0 -20
- package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +0 -87
- package/esm2022/sidebar/sidebar.mjs +0 -17
- package/esm2022/sidebar/sidebar.module.mjs +0 -60
- package/esm2022/tabs/daffodil-design-tabs.mjs +0 -5
- package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +0 -22
- package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +0 -34
- package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +0 -5
- package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +0 -22
- package/esm2022/tabs/examples/index.mjs +0 -2
- package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +0 -22
- package/esm2022/tabs/examples/public_api.mjs +0 -11
- package/esm2022/tabs/index.mjs +0 -2
- package/esm2022/tabs/public_api.mjs +0 -6
- package/esm2022/tabs/tabs/tab/tab.component.mjs +0 -86
- package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +0 -83
- package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +0 -33
- package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +0 -68
- package/esm2022/tabs/tabs/tabs.component.mjs +0 -161
- package/esm2022/tabs/tabs.mjs +0 -13
- package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +0 -5
- package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +0 -14
- package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +0 -5
- package/esm2022/text-snippet/examples/index.mjs +0 -2
- package/esm2022/text-snippet/examples/public_api.mjs +0 -5
- package/esm2022/text-snippet/index.mjs +0 -2
- package/esm2022/text-snippet/public_api.mjs +0 -2
- package/esm2022/text-snippet/text-snippet.component.mjs +0 -46
- package/esm2022/toast/daffodil-design-toast.mjs +0 -5
- package/esm2022/toast/examples/daffodil-design-toast-examples.mjs +0 -5
- package/esm2022/toast/examples/default-toast/default-toast.component.mjs +0 -40
- package/esm2022/toast/examples/index.mjs +0 -2
- package/esm2022/toast/examples/public_api.mjs +0 -11
- package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +0 -61
- package/esm2022/toast/examples/toast-status/toast-status.component.mjs +0 -49
- package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +0 -28
- package/esm2022/toast/index.mjs +0 -2
- package/esm2022/toast/interfaces/toast-action.mjs +0 -2
- package/esm2022/toast/interfaces/toast.mjs +0 -2
- package/esm2022/toast/options/daff-toast-options.mjs +0 -16
- package/esm2022/toast/public_api.mjs +0 -10
- package/esm2022/toast/service/changes-focus.mjs +0 -2
- package/esm2022/toast/service/position-strategy.mjs +0 -29
- package/esm2022/toast/service/position.service.mjs +0 -33
- package/esm2022/toast/service/toast.service.mjs +0 -115
- package/esm2022/toast/toast/toast-config.mjs +0 -2
- package/esm2022/toast/toast/toast-provider.mjs +0 -7
- package/esm2022/toast/toast/toast-template.component.mjs +0 -280
- package/esm2022/toast/toast/toast.component.mjs +0 -73
- package/esm2022/toast/toast-actions/toast-actions.directive.mjs +0 -20
- package/esm2022/toast/toast-message/toast-message.directive.mjs +0 -20
- package/esm2022/toast/toast-title/toast-title.directive.mjs +0 -20
- package/esm2022/toast/toast.module.mjs +0 -69
- package/esm2022/tree/daffodil-design-tree.mjs +0 -5
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +0 -43
- package/esm2022/tree/examples/daffodil-design-tree-examples.mjs +0 -5
- package/esm2022/tree/examples/deep-tree/deep-tree.component.mjs +0 -54
- package/esm2022/tree/examples/index.mjs +0 -2
- package/esm2022/tree/examples/public_api.mjs +0 -8
- package/esm2022/tree/index.mjs +0 -2
- package/esm2022/tree/interfaces/recursive-key.mjs +0 -2
- package/esm2022/tree/interfaces/tree-data.mjs +0 -2
- package/esm2022/tree/interfaces/tree-render-mode.mjs +0 -2
- package/esm2022/tree/interfaces/tree-ui.mjs +0 -2
- package/esm2022/tree/public_api.mjs +0 -6
- package/esm2022/tree/tree/tree-notifier.service.mjs +0 -45
- package/esm2022/tree/tree/tree.component.mjs +0 -106
- package/esm2022/tree/tree-item/tree-item.directive.mjs +0 -157
- package/esm2022/tree/tree.mjs +0 -7
- package/esm2022/tree/tree.module.mjs +0 -31
- package/esm2022/tree/utils/flatten-tree.mjs +0 -63
- package/esm2022/tree/utils/hydrate-tree.mjs +0 -31
- package/esm2022/tree/utils/transform.mjs +0 -25
- package/esm2022/tree/utils/traverse-tree.mjs +0 -21
- package/scss/core/map/map-deep-check/map-deep-check.spec.scss +0 -43
- package/scss/core/map/map-deep-get/map-deep-get.spec.scss +0 -25
- package/scss/theming/contrast/contrast-ratio/contrast-ratio.spec.scss +0 -0
- package/scss/theming/contrast/text-contrast/text-contrast.spec.scss +0 -0
- package/src/atoms/form/radio/radio.scss +0 -0
@@ -1,4 +1,5 @@
|
|
1
1
|
@use 'sass:map';
|
2
|
+
@use 'sass:meta';
|
2
3
|
|
3
4
|
//
|
4
5
|
// Checks whether or not a map has a nested key
|
@@ -10,7 +11,7 @@
|
|
10
11
|
// @throws error
|
11
12
|
//
|
12
13
|
@function daff-map-deep-check($map, $keys) {
|
13
|
-
@if (type-of($map) != 'map') {
|
14
|
+
@if (meta.type-of($map) != 'map') {
|
14
15
|
@error 'Expected first parameter to be of type `map`';
|
15
16
|
}
|
16
17
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@use 'sass:map';
|
2
|
+
@use '../../error/error-to-string';
|
3
|
+
|
4
|
+
//
|
5
|
+
// Return a the value of a nested key in a map if it exists.
|
6
|
+
// If the key doesn't exist, it throw an error.
|
7
|
+
//
|
8
|
+
// Note: This function doesn't support the use
|
9
|
+
// of the search character in your map key names.
|
10
|
+
//
|
11
|
+
// @usage daff-map-get($map, nested, map, key);
|
12
|
+
// @returns any
|
13
|
+
// @throws error
|
14
|
+
@function daff-map-get($map, $keys...) {
|
15
|
+
@each $key in $keys {
|
16
|
+
@if not map.has-key($map, $key) {
|
17
|
+
@return error-to-string.error-to-string("The map doesn't contain the $key: `#{$key}`'");
|
18
|
+
}
|
19
|
+
$map: map.get($map, $key);
|
20
|
+
}
|
21
|
+
|
22
|
+
@return $map;
|
23
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
@use 'true' as *;
|
2
|
+
@use './map-get' as *;
|
3
|
+
@use '../../error/error-to-string';
|
4
|
+
|
5
|
+
@include describe('map-get') {
|
6
|
+
$nested-map: (
|
7
|
+
'string': '3',
|
8
|
+
'number': 4,
|
9
|
+
);
|
10
|
+
|
11
|
+
$map: (
|
12
|
+
'nested': (
|
13
|
+
'string': '1',
|
14
|
+
'number': 2,
|
15
|
+
'map': $nested-map,
|
16
|
+
),
|
17
|
+
);
|
18
|
+
|
19
|
+
$deep-map: (
|
20
|
+
'level1': (
|
21
|
+
'level2': (
|
22
|
+
'level3': (
|
23
|
+
'level': 4,
|
24
|
+
),
|
25
|
+
),
|
26
|
+
),
|
27
|
+
);
|
28
|
+
|
29
|
+
$empty-map: ();
|
30
|
+
|
31
|
+
@include error-to-string.set-use-string(true);
|
32
|
+
|
33
|
+
@include it('returns the value of the nested key if it exists in the map') {
|
34
|
+
@include assert-equal(daff-map-get($map, 'nested', 'string'), '1');
|
35
|
+
@include assert-equal(daff-map-get($map, 'nested', 'number'), 2);
|
36
|
+
@include assert-equal(daff-map-get($map, 'nested', 'map'), $nested-map);
|
37
|
+
@include assert-equal(daff-map-get($map, 'nested', 'map', 'string'), '3');
|
38
|
+
@include assert-equal(daff-map-get($map, 'nested', 'map', 'number'), 4);
|
39
|
+
}
|
40
|
+
|
41
|
+
@include it('returns the correct value for deeply nested maps') {
|
42
|
+
@include assert-equal(
|
43
|
+
daff-map-get($deep-map, 'level1', 'level2', 'level3', 'level'),
|
44
|
+
4
|
45
|
+
);
|
46
|
+
}
|
47
|
+
|
48
|
+
@include it(
|
49
|
+
'errors if the value of the nested key does not exist in the map'
|
50
|
+
) {
|
51
|
+
@include assert-equal(
|
52
|
+
daff-map-get($map, 'missing'),
|
53
|
+
"The map doesn't contain the $key: `missing`'"
|
54
|
+
);
|
55
|
+
}
|
56
|
+
|
57
|
+
@include it('errors if the map is empty') {
|
58
|
+
@include assert-equal(
|
59
|
+
daff-map-get($empty-map, 'nested'),
|
60
|
+
"The map doesn't contain the $key: `nested`'"
|
61
|
+
);
|
62
|
+
}
|
63
|
+
|
64
|
+
@include error-to-string.set-use-string(false);
|
65
|
+
}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
@use 'sass:string';
|
2
|
+
@use 'sass:list';
|
3
|
+
|
1
4
|
//
|
2
5
|
// @docs
|
3
6
|
// @private
|
@@ -8,25 +11,25 @@
|
|
8
11
|
//
|
9
12
|
@function daff-string-split($string, $separator) {
|
10
13
|
$list: ();
|
11
|
-
$index:
|
14
|
+
$index: string.index($string, $separator);
|
12
15
|
|
13
16
|
@if ($index == null) {
|
14
17
|
@return $list;
|
15
18
|
}
|
16
19
|
|
17
|
-
@while $index !=null {
|
18
|
-
$item:
|
20
|
+
@while $index != null {
|
21
|
+
$item: string.slice($string, 1, $index - 1);
|
19
22
|
|
20
23
|
@if ($item != '') {
|
21
|
-
$list: append($list, $item, 'comma');
|
24
|
+
$list: list.append($list, $item, 'comma');
|
22
25
|
}
|
23
26
|
|
24
|
-
$string:
|
25
|
-
$index:
|
27
|
+
$string: string.slice($string, $index + 1);
|
28
|
+
$index: string.index($string, $separator);
|
26
29
|
}
|
27
30
|
|
28
31
|
@if ($string != '') {
|
29
|
-
$list: append($list, $string, 'comma');
|
32
|
+
$list: list.append($list, $string, 'comma');
|
30
33
|
}
|
31
34
|
|
32
35
|
@return $list;
|
package/scss/global.scss
CHANGED
@@ -13,12 +13,13 @@
|
|
13
13
|
|
14
14
|
@use 'typography' as t;
|
15
15
|
@use '@angular/cdk/overlay-prebuilt';
|
16
|
+
@use '@angular/cdk/a11y-prebuilt';
|
16
17
|
@use 'modern-normalize/modern-normalize';
|
17
18
|
@forward './theming/theme-css-variables';
|
18
19
|
|
19
20
|
body,
|
20
21
|
html {
|
21
|
-
font-family: t.$
|
22
|
+
font-family: t.$font-family-base;
|
22
23
|
font-size: 16px;
|
23
24
|
font-weight: 400;
|
24
25
|
line-height: 1.5;
|
@@ -1 +1 @@
|
|
1
|
-
@forward 'mouse/clickable';
|
1
|
+
@forward 'mouse/clickable';
|
package/scss/layout/_index.scss
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
@forward 'variables';
|
2
|
-
@forward 'breakpoint';
|
2
|
+
@forward 'breakpoint';
|
@@ -2,8 +2,8 @@
|
|
2
2
|
@use '../../theming';
|
3
3
|
|
4
4
|
@mixin daff-skeleton-theme($theme) {
|
5
|
-
$neutral: core.daff-map-
|
6
|
-
$base: core.daff-map-
|
5
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
6
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
7
7
|
|
8
8
|
.daff-skeleton {
|
9
9
|
&::before,
|
package/scss/theme.scss
CHANGED
@@ -43,6 +43,7 @@
|
|
43
43
|
@use '../notification/src/notification-theme' as notification;
|
44
44
|
@use '../paginator/src/paginator-theme' as paginator;
|
45
45
|
@use '../sidebar/src/sidebar-theme' as sidebar;
|
46
|
+
@use '../switch/src/switch-theme' as switch;
|
46
47
|
@use '../progress-bar/src/progress-bar-theme' as progress-bar;
|
47
48
|
@use '../scss/state/skeleton/mixins' as skeleton;
|
48
49
|
@use '../tabs/src/tabs-theme' as tabs;
|
@@ -94,6 +95,7 @@
|
|
94
95
|
@include notification.daff-notification-theme($theme);
|
95
96
|
@include paginator.daff-paginator-theme($theme);
|
96
97
|
@include sidebar.daff-sidebar-theme($theme);
|
98
|
+
@include switch.daff-switch-theme($theme);
|
97
99
|
@include tabs.daff-tabs-theme($theme);
|
98
100
|
@include tree.daff-tree-theme($theme);
|
99
101
|
@include toast.daff-toast-theme($theme);
|
@@ -38,7 +38,7 @@ $supported-theme-types: (
|
|
38
38
|
// $primary: configure-palette.daff-configure-palette(palette.$daff-blue, 60);
|
39
39
|
// $secondary: configure-palette.daff-configure-palette(palette.$daff-purple, 60);
|
40
40
|
// $tertiary: configure-palette.daff-configure-palette(palette.$daff-turquoise, 60);
|
41
|
-
//
|
41
|
+
//
|
42
42
|
// $theme: daff-configure-theme($primary, $secondary, $tertiary)
|
43
43
|
// ```
|
44
44
|
@function daff-configure-theme(
|
@@ -87,7 +87,7 @@ $supported-theme-types: (
|
|
87
87
|
// $warn: configure-palette.daff-configure-palette(palette.$daff-bronze, 60);
|
88
88
|
// $critical: configure-palette.daff-configure-palette(palette.$daff-red, 60);
|
89
89
|
// $success: configure-palette.daff-configure-palette(palette.$daff-green, 60);
|
90
|
-
//
|
90
|
+
//
|
91
91
|
// $theme: daff-configure-theme-status($info, $warn, $critical, $success);
|
92
92
|
// ```
|
93
93
|
@function daff-configure-theme-status(
|
@@ -7,13 +7,23 @@ $primary: configure-palette.daff-configure-palette(palette.$daff-blue, 60);
|
|
7
7
|
$secondary: configure-palette.daff-configure-palette(palette.$daff-purple, 60);
|
8
8
|
$tertiary: configure-palette.daff-configure-palette(palette.$daff-turquoise, 60);
|
9
9
|
|
10
|
-
$theme: configure-theme.daff-configure-theme(
|
10
|
+
$theme: configure-theme.daff-configure-theme(
|
11
|
+
$primary,
|
12
|
+
$secondary,
|
13
|
+
$tertiary,
|
14
|
+
'light'
|
15
|
+
);
|
11
16
|
|
12
17
|
$primary-dark: configure-palette.daff-configure-palette(palette.$daff-blue, 50);
|
13
18
|
$secondary-dark: configure-palette.daff-configure-palette(palette.$daff-purple, 50);
|
14
19
|
$tertiary-dark: configure-palette.daff-configure-palette(palette.$daff-turquoise, 50);
|
15
20
|
|
16
|
-
$theme-dark: configure-theme.daff-configure-theme(
|
21
|
+
$theme-dark: configure-theme.daff-configure-theme(
|
22
|
+
$primary-dark,
|
23
|
+
$secondary-dark,
|
24
|
+
$tertiary-dark,
|
25
|
+
'dark'
|
26
|
+
);
|
17
27
|
|
18
|
-
$black: core.daff-map-
|
19
|
-
$white: core.daff-map-
|
28
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
29
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
package/scss/theming/_index.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
@use 'sass:map';
|
2
|
+
@use 'sass:color';
|
2
3
|
@use '../core';
|
3
4
|
@use '../theming';
|
4
5
|
|
@@ -6,26 +7,29 @@
|
|
6
7
|
//
|
7
8
|
// Global theme tokens
|
8
9
|
@mixin daff-root-theme-tokens($theme) {
|
9
|
-
$base: core.daff-map-
|
10
|
-
$base-contrast: core.daff-map-
|
11
|
-
$primary: map
|
12
|
-
$secondary: map
|
13
|
-
$tertiary: map
|
14
|
-
$
|
15
|
-
$
|
16
|
-
$
|
10
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
11
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
12
|
+
$primary: core.daff-map-get($theme, primary);
|
13
|
+
$secondary: core.daff-map-get($theme, secondary);
|
14
|
+
$tertiary: core.daff-map-get($theme, tertiary);
|
15
|
+
$warn: core.daff-map-get($theme, warn);
|
16
|
+
$success: core.daff-map-get($theme, success);
|
17
|
+
$critical: core.daff-map-get($theme, critical);
|
18
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
19
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
20
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
17
21
|
|
18
|
-
--daff-theme-rgb: #{red($base), green($base), blue($base)};
|
19
|
-
--daff-theme-contrast-rgb: #{red($base-contrast), green($base-contrast),
|
20
|
-
blue($base-contrast)};
|
22
|
+
--daff-theme-rgb: #{color.red($base), color.green($base), color.blue($base)};
|
23
|
+
--daff-theme-contrast-rgb: #{color.red($base-contrast), color.green($base-contrast),
|
24
|
+
color.blue($base-contrast)};
|
21
25
|
--daff-theme: #{$base};
|
22
26
|
--daff-theme-contrast: #{$base-contrast};
|
23
27
|
--daff-theme-primary: #{theming.daff-color($primary)};
|
24
28
|
--daff-theme-secondary: #{theming.daff-color($secondary)};
|
25
29
|
--daff-theme-tertiary: #{theming.daff-color($tertiary)};
|
26
|
-
--daff-theme-warn: #{theming.daff-color(
|
27
|
-
--daff-theme-success: #{theming.daff-color(
|
28
|
-
--daff-theme-critical: #{theming.daff-color(
|
30
|
+
--daff-theme-warn: #{theming.daff-color($warn)};
|
31
|
+
--daff-theme-success: #{theming.daff-color($success)};
|
32
|
+
--daff-theme-critical: #{theming.daff-color($critical)};
|
29
33
|
--daff-theme-white: #{$white};
|
30
34
|
--daff-theme-black: #{$black};
|
31
35
|
--daff-theme-gray: #{theming.daff-color($neutral)};
|
@@ -39,7 +43,8 @@
|
|
39
43
|
:root {
|
40
44
|
@include daff-root-theme-tokens($theme);
|
41
45
|
}
|
42
|
-
}
|
46
|
+
}
|
47
|
+
@else {
|
43
48
|
@include daff-root-theme-tokens($theme);
|
44
49
|
}
|
45
50
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use 'sass:color';
|
2
|
+
@use 'sass:list';
|
1
3
|
@use 'variables' as v;
|
2
4
|
|
3
5
|
// Calculate the luminance of a color.
|
@@ -8,12 +10,12 @@
|
|
8
10
|
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
9
11
|
|
10
12
|
@function daff-luminance($color) {
|
11
|
-
$red-index: red($color) + 1;
|
12
|
-
$green-index: green($color) + 1;
|
13
|
-
$blue-index: blue($color) + 1;
|
13
|
+
$red-index: color.red($color) + 1;
|
14
|
+
$green-index: color.green($color) + 1;
|
15
|
+
$blue-index: color.blue($color) + 1;
|
14
16
|
|
15
|
-
$red: nth(v.$linear-channel-values, $red-index);
|
16
|
-
$green: nth(v.$linear-channel-values, $green-index);
|
17
|
-
$blue: nth(v.$linear-channel-values, $blue-index);
|
17
|
+
$red: list.nth(v.$linear-channel-values, $red-index);
|
18
|
+
$green: list.nth(v.$linear-channel-values, $green-index);
|
19
|
+
$blue: list.nth(v.$linear-channel-values, $blue-index);
|
18
20
|
@return 0.2126 * $red + 0.7152 * $green + 0.0722 * $blue;
|
19
21
|
}
|
@@ -1,4 +1,7 @@
|
|
1
|
+
@use 'sass:list';
|
1
2
|
@use 'sass:map';
|
3
|
+
@use 'sass:math';
|
4
|
+
@use 'sass:meta';
|
2
5
|
@use '../contrast/luminance/luminance';
|
3
6
|
|
4
7
|
// @docs
|
@@ -13,21 +16,21 @@
|
|
13
16
|
$values: ();
|
14
17
|
|
15
18
|
@each $key, $val in $map {
|
16
|
-
$keys: append($keys, $key);
|
17
|
-
$values: append($values, $val);
|
19
|
+
$keys: list.append($keys, $key);
|
20
|
+
$values: list.append($values, $val);
|
18
21
|
}
|
19
22
|
|
20
|
-
$list: zip($keys, $values);
|
23
|
+
$list: list.zip($keys, $values);
|
21
24
|
|
22
25
|
$sorted-map: ();
|
23
26
|
|
24
|
-
@while length($list) > 0 {
|
27
|
+
@while list.length($list) > 0 {
|
25
28
|
// Find smallest pair
|
26
|
-
$smallest-pair: nth($list, 1);
|
29
|
+
$smallest-pair: list.nth($list, 1);
|
27
30
|
|
28
31
|
@each $pair in $list {
|
29
|
-
$value: nth($pair, 2);
|
30
|
-
$smallest-value: nth($smallest-pair, 2);
|
32
|
+
$value: list.nth($pair, 2);
|
33
|
+
$smallest-value: list.nth($smallest-pair, 2);
|
31
34
|
|
32
35
|
@if $value < $smallest-value {
|
33
36
|
$smallest-pair: $pair;
|
@@ -35,8 +38,8 @@
|
|
35
38
|
}
|
36
39
|
|
37
40
|
// Add smallest pair to sorted map
|
38
|
-
$key: nth($smallest-pair, 1);
|
39
|
-
$value: nth($smallest-pair, 2);
|
41
|
+
$key: list.nth($smallest-pair, 1);
|
42
|
+
$value: list.nth($smallest-pair, 2);
|
40
43
|
$sorted-map: map.merge(
|
41
44
|
$sorted-map,
|
42
45
|
(
|
@@ -45,12 +48,12 @@
|
|
45
48
|
);
|
46
49
|
|
47
50
|
// Remove from list smallest pair
|
48
|
-
$smallest-pair-index: index($list, $smallest-pair);
|
51
|
+
$smallest-pair-index: list.index($list, $smallest-pair);
|
49
52
|
$new-list: ();
|
50
53
|
|
51
|
-
@for $i from 1 through length($list) {
|
54
|
+
@for $i from 1 through list.length($list) {
|
52
55
|
@if $i != $smallest-pair-index {
|
53
|
-
$new-list: append($new-list, nth($list, $i), 'space');
|
56
|
+
$new-list: list.append($new-list, list.nth($list, $i), 'space');
|
54
57
|
}
|
55
58
|
}
|
56
59
|
|
@@ -67,12 +70,12 @@
|
|
67
70
|
// @param $nth: nth steps away from zero
|
68
71
|
@function _daff-illuminate-get-key($map, $nth: 1) {
|
69
72
|
//Cap off "nth" to prevent going out-of-bounds.
|
70
|
-
@if ($nth > length($map)) {
|
71
|
-
$nth: length(map);
|
73
|
+
@if ($nth > list.length($map)) {
|
74
|
+
$nth: list.length(map);
|
72
75
|
}
|
73
76
|
|
74
77
|
$map: _daff-illuminate-sort($map);
|
75
|
-
@return nth(nth($map, $nth), 1);
|
78
|
+
@return list.nth(list.nth($map, $nth), 1);
|
76
79
|
}
|
77
80
|
|
78
81
|
// Takes a $color and palette and returns the color in
|
@@ -88,7 +91,7 @@
|
|
88
91
|
|
89
92
|
//Validate
|
90
93
|
@each $key, $palette-color in $palette {
|
91
|
-
@if (type-of($key) == 'string') {
|
94
|
+
@if (meta.type-of($key) == 'string') {
|
92
95
|
$palette: map.remove($palette, $key);
|
93
96
|
}
|
94
97
|
}
|
@@ -124,7 +127,7 @@
|
|
124
127
|
$darker-colors: map.merge(
|
125
128
|
$darker-colors,
|
126
129
|
(
|
127
|
-
$key: abs($luminance)
|
130
|
+
$key: math.abs($luminance)
|
128
131
|
)
|
129
132
|
);
|
130
133
|
}
|
@@ -2,8 +2,9 @@
|
|
2
2
|
@use './mixins/font-weight' as *;
|
3
3
|
@use './mixins/text-truncate' as *;
|
4
4
|
|
5
|
+
// @deprecated
|
5
6
|
.embolden { /* stylelint-disable-line selector-class-pattern */
|
6
|
-
|
7
|
+
font-weight: bold;
|
7
8
|
}
|
8
9
|
|
9
10
|
.uppercase { /* stylelint-disable-line selector-class-pattern */
|
@@ -2,8 +2,8 @@
|
|
2
2
|
@use 'font-weight';
|
3
3
|
|
4
4
|
@mixin headline-xl() {
|
5
|
-
@include font-weight.embolden;
|
6
5
|
font-size: 2.5rem;
|
6
|
+
font-weight: bold;
|
7
7
|
line-height: 2.75rem;
|
8
8
|
|
9
9
|
@include layout.breakpoint(tablet) {
|
@@ -13,8 +13,8 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
@mixin headline-lg() {
|
16
|
-
@include font-weight.embolden;
|
17
16
|
font-size: 2rem;
|
17
|
+
font-weight: bold;
|
18
18
|
line-height: 2.25rem;
|
19
19
|
|
20
20
|
@include layout.breakpoint(tablet) {
|
@@ -24,8 +24,8 @@
|
|
24
24
|
}
|
25
25
|
|
26
26
|
@mixin headline-md() {
|
27
|
-
@include font-weight.embolden;
|
28
27
|
font-size: 1.5rem;
|
28
|
+
font-weight: bold;
|
29
29
|
line-height: 1.75rem;
|
30
30
|
|
31
31
|
@include layout.breakpoint(tablet) {
|
@@ -35,8 +35,8 @@
|
|
35
35
|
}
|
36
36
|
|
37
37
|
@mixin headline-sm() {
|
38
|
-
@include font-weight.embolden;
|
39
38
|
font-size: 1.25rem;
|
39
|
+
font-weight: bold;
|
40
40
|
line-height: 1.5rem;
|
41
41
|
|
42
42
|
@include layout.breakpoint(tablet) {
|
@@ -1 +1 @@
|
|
1
|
-
@forward 'variables';
|
1
|
+
@forward 'variables';
|
@@ -1,6 +1,15 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class DaffSidebarHeaderComponent {
|
4
|
+
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
3
5
|
class: boolean;
|
6
|
+
/** Whether or not a sidebar header displays the close icon */
|
7
|
+
dismissible: boolean;
|
8
|
+
/**
|
9
|
+
* Output event triggered when the close icon is clicked.
|
10
|
+
*/
|
11
|
+
closeSidebar: EventEmitter<void>;
|
12
|
+
onCloseSidebar(event: Event): void;
|
4
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSidebarHeaderComponent, never>;
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffSidebarHeaderComponent, "daff-sidebar-header", never, {
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffSidebarHeaderComponent, "daff-sidebar-header", never, { "dismissible": { "alias": "dismissible"; "required": false; }; }, { "closeSidebar": "closeSidebar"; }, never, ["*"], true, never>;
|
6
15
|
}
|
@@ -5,23 +5,25 @@ import { DaffSidebarScroll } from './scroll-token/scroll.token';
|
|
5
5
|
import { DaffSidebarViewportAnimationStateWithParams } from '../animation/sidebar-viewport-animation-state';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* The
|
9
|
-
* It's generally only used once, like
|
8
|
+
* The DaffSidebarViewportComponent is the "holder" of sidebars throughout an entire application.
|
10
9
|
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
* <p>Some Content</p>
|
15
|
-
* </daff-sidebar-viewport>
|
16
|
-
* ```
|
17
|
-
*
|
18
|
-
* Importantly, its possible for there to be multiple sidebars of many modes
|
19
|
-
* at the same time. @see {@link DaffSidebarMode }
|
10
|
+
* `<daff-sidebar-viewport>` should only ever be used once in an application,
|
11
|
+
* but it's possible for there to be multiple sidebars of many modes
|
12
|
+
* at the same time. See {@link DaffSidebarMode}.
|
20
13
|
*
|
21
14
|
* Since this is a functional component, it's possible to have multiple "open" sidebars
|
22
15
|
* at the same time. As a result, this component attempts to gracefully handle these situations.
|
23
16
|
* However, importantly, there can only be one sidebar of each mode, on each side, at any given time.
|
17
|
+
*
|
24
18
|
* If this is violated, this component will throw an exception.
|
19
|
+
*
|
20
|
+
* @example Using the sidebar viewport
|
21
|
+
* ```html
|
22
|
+
* <daff-sidebar-viewport>
|
23
|
+
* <daff-sidebar></daff-sidebar>
|
24
|
+
* <p>Site content</p>
|
25
|
+
* </daff-sidebar-viewport>
|
26
|
+
* ```
|
25
27
|
*/
|
26
28
|
export declare class DaffSidebarViewportComponent implements AfterContentChecked, OnDestroy {
|
27
29
|
private cdRef;
|
@@ -9,7 +9,7 @@ import * as i7 from "./sidebar-header/sidebar-header-title/sidebar-header-title.
|
|
9
9
|
import * as i8 from "./sidebar-header/sidebar-header-action/sidebar-header-action.directive";
|
10
10
|
import * as i9 from "./sidebar-viewport-backdrop/sidebar-viewport-backdrop.component";
|
11
11
|
/**
|
12
|
-
* @deprecated in favor of {@link DAFF_SIDEBAR_COMPONENTS} Deprecated in version 0.78.0. Will be removed in version 0.
|
12
|
+
* @deprecated in favor of {@link DAFF_SIDEBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
13
13
|
*/
|
14
14
|
export declare class DaffSidebarModule {
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSidebarModule, never>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
@use '../../scss/core';
|
2
2
|
|
3
3
|
@mixin daff-sidebar-theme($theme) {
|
4
|
-
$base: core.daff-map-
|
5
|
-
$base-contrast: core.daff-map-
|
6
|
-
$font-color: core.daff-map-
|
4
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
5
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
6
|
+
$font-color: core.daff-map-get($theme, 'core', 'font-color');
|
7
7
|
|
8
8
|
.daff-sidebar {
|
9
9
|
background: $base;
|
@@ -3,12 +3,12 @@
|
|
3
3
|
@use '../../../../../scss/theming';
|
4
4
|
|
5
5
|
@mixin daff-form-field-theme($theme) {
|
6
|
-
$primary: map
|
7
|
-
$secondary: map
|
8
|
-
$tertiary: map
|
9
|
-
$base: core.daff-map-
|
10
|
-
$base-contrast: core.daff-map-
|
11
|
-
$neutral: core.daff-map-
|
6
|
+
$primary: core.daff-map-get($theme, primary);
|
7
|
+
$secondary: core.daff-map-get($theme, secondary);
|
8
|
+
$tertiary: core.daff-map-get($theme, tertiary);
|
9
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
10
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
11
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
12
12
|
|
13
13
|
.daff-form-field {
|
14
14
|
&__control {
|
@@ -2,8 +2,8 @@
|
|
2
2
|
@use '../../../../scss/theming';
|
3
3
|
|
4
4
|
@mixin daff-input-theme($theme) {
|
5
|
-
$base: core.daff-map-
|
6
|
-
$base-contrast: core.daff-map-
|
5
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
6
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
7
7
|
|
8
8
|
:host {
|
9
9
|
background: $base;
|
@@ -3,9 +3,9 @@
|
|
3
3
|
@use '../../../../scss/theming';
|
4
4
|
|
5
5
|
@mixin daff-native-select-theme($theme) {
|
6
|
-
$neutral: core.daff-map-
|
7
|
-
$base-contrast: core.daff-map-
|
8
|
-
$black: core.daff-map-
|
6
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
7
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
8
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
9
9
|
|
10
10
|
.daff-native-select {
|
11
11
|
color: theming.daff-illuminate($base-contrast, $neutral, 4);
|