@daffodil/design 0.78.0 → 0.80.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/README.md +3 -3
- package/button/button/basic/button.component.d.ts +28 -0
- package/button/button/button-base.directive.d.ts +51 -0
- package/button/button/flat/flat.component.d.ts +28 -0
- package/button/button/icon/icon.component.d.ts +24 -0
- package/button/button/raised/raised.component.d.ts +28 -0
- package/button/button/stroked/stroked.component.d.ts +28 -0
- package/button/button/underline/underline.component.d.ts +28 -0
- package/button/button.d.ts +7 -2
- package/button/button.module.d.ts +11 -4
- package/button/public_api.d.ts +6 -1
- package/button/src/button/basic/button-theme.scss +145 -0
- package/button/src/button/button-base.scss +79 -0
- package/button/src/button/flat/flat-theme.scss +142 -0
- package/button/src/button/icon/icon-theme.scss +140 -0
- package/button/src/button/raised/raised-theme.scss +107 -0
- package/button/src/button/stroked/stroked-theme.scss +155 -0
- package/button/src/button/underline/underline-theme.scss +89 -0
- 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/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/statusable/statusable.d.ts +5 -3
- package/core/statusable/statusable.directive.d.ts +6 -4
- package/esm2022/accordion/accordion/animation/accordion-animation.mjs +1 -4
- package/esm2022/accordion/accordion.module.mjs +4 -2
- package/esm2022/article/article.module.mjs +4 -2
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +2 -2
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +2 -2
- package/esm2022/atoms/form/radio/radio.component.mjs +2 -2
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +2 -2
- package/esm2022/breadcrumb/breadcrumb.module.mjs +4 -2
- package/esm2022/button/button/basic/button.component.mjs +48 -0
- package/esm2022/button/button/button-base.directive.mjs +105 -0
- package/esm2022/button/button/flat/flat.component.mjs +48 -0
- package/esm2022/button/button/icon/icon.component.mjs +44 -0
- package/esm2022/button/button/raised/raised.component.mjs +48 -0
- package/esm2022/button/button/stroked/stroked.component.mjs +48 -0
- package/esm2022/button/button/underline/underline.component.mjs +48 -0
- package/esm2022/button/button.mjs +12 -2
- package/esm2022/button/button.module.mjs +37 -5
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -6
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -6
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +4 -6
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -6
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +2 -2
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +3 -3
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -6
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -6
- package/esm2022/button/public_api.mjs +7 -2
- package/esm2022/callout/callout.module.mjs +4 -2
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +5 -7
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +5 -7
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +5 -6
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +4 -6
- package/esm2022/card/card.module.mjs +2 -2
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +4 -6
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +5 -7
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -5
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -5
- package/esm2022/container/container/container.component.mjs +2 -2
- package/esm2022/container/container.module.mjs +2 -2
- package/esm2022/core/public_api.mjs +2 -1
- package/esm2022/core/selectable/public_api.mjs +2 -0
- package/esm2022/core/selectable/selectable.directive.mjs +41 -0
- package/esm2022/core/selectable/selectable.mjs +2 -0
- package/esm2022/core/statusable/statusable.directive.mjs +7 -5
- package/esm2022/core/statusable/statusable.mjs +3 -2
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +4 -6
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +5 -7
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +5 -7
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +4 -6
- package/esm2022/hero/hero.module.mjs +2 -2
- package/esm2022/image/image.module.mjs +2 -2
- package/esm2022/link-set/link-set.module.mjs +2 -2
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +1 -1
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +2 -2
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +1 -1
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +2 -2
- package/esm2022/list/list/list.component.mjs +2 -2
- package/esm2022/list/list-item/list-item.component.mjs +10 -3
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/loading-icon/examples/examples.mjs +1 -3
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +2 -2
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +5 -20
- package/esm2022/loading-icon/loading-icon.module.mjs +2 -2
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +1 -1
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +1 -1
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +1 -1
- package/esm2022/media-gallery/helpers/media-gallery-token.mjs +7 -3
- package/esm2022/media-gallery/media-gallery.module.mjs +2 -2
- package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +8 -3
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +26 -39
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -7
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +4 -6
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +4 -6
- package/esm2022/modal/modal-header/modal-header.component.mjs +4 -6
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +4 -6
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +4 -6
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +5 -7
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +4 -6
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +1 -3
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +1 -3
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +3 -5
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +4 -5
- package/esm2022/notification/notification/notification.component.mjs +3 -3
- package/esm2022/notification/notification.module.mjs +2 -2
- package/esm2022/paginator/paginator.module.mjs +2 -2
- package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +5 -6
- package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +9 -3
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +3 -3
- package/esm2022/sidebar/sidebar.module.mjs +2 -2
- package/esm2022/switch/daffodil-design-switch.mjs +5 -0
- package/esm2022/switch/examples/basic-switch/basic-switch.component.mjs +23 -0
- package/esm2022/switch/examples/daffodil-design-switch-examples.mjs +5 -0
- package/esm2022/switch/examples/disabled-switch/disabled-switch.component.mjs +20 -0
- package/esm2022/switch/examples/examples.mjs +13 -0
- package/esm2022/switch/examples/index.mjs +2 -0
- package/esm2022/switch/examples/loading-switch/loading-switch.component.mjs +20 -0
- package/esm2022/switch/examples/public_api.mjs +7 -0
- package/esm2022/switch/examples/switch-error/switch-error.component.mjs +22 -0
- package/esm2022/switch/examples/switch-label-positions/switch-label-positions.component.mjs +31 -0
- package/esm2022/switch/index.mjs +2 -0
- package/esm2022/switch/public_api.mjs +3 -0
- package/esm2022/switch/switch/label-position.mjs +11 -0
- package/esm2022/switch/switch/switch.component.mjs +126 -0
- package/esm2022/switch/switch.mjs +7 -0
- package/esm2022/tabs/daffodil-design-tabs.mjs +5 -0
- package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +22 -0
- package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +34 -0
- package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +5 -0
- package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +22 -0
- package/esm2022/tabs/examples/index.mjs +2 -0
- package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +22 -0
- package/esm2022/tabs/examples/public_api.mjs +11 -0
- package/esm2022/tabs/index.mjs +2 -0
- package/esm2022/tabs/public_api.mjs +6 -0
- package/esm2022/tabs/tabs/tab/tab.component.mjs +86 -0
- package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +84 -0
- package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +33 -0
- package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +68 -0
- package/esm2022/tabs/tabs/tabs.component.mjs +157 -0
- package/esm2022/tabs/tabs.mjs +13 -0
- package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +5 -0
- package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +14 -0
- package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +5 -0
- package/esm2022/text-snippet/examples/index.mjs +2 -0
- package/esm2022/text-snippet/examples/public_api.mjs +5 -0
- package/esm2022/text-snippet/index.mjs +2 -0
- package/esm2022/text-snippet/public_api.mjs +2 -0
- package/esm2022/text-snippet/text-snippet.component.mjs +46 -0
- package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -6
- package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +4 -6
- package/esm2022/toast/examples/toast-status/toast-status.component.mjs +8 -10
- package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -6
- package/esm2022/toast/options/daff-toast-options.mjs +7 -7
- package/esm2022/toast/toast/toast-provider.mjs +2 -2
- package/esm2022/toast/toast/toast-template.component.mjs +2 -2
- package/esm2022/toast/toast/toast.component.mjs +3 -3
- package/esm2022/toast/toast.module.mjs +2 -2
- package/esm2022/tree/tree.module.mjs +2 -2
- package/fesm2022/daffodil-design-accordion.mjs +3 -4
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +3 -1
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +3 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button-examples.mjs +16 -16
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +308 -132
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +12 -13
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +3 -1
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card-examples.mjs +10 -12
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +1 -1
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +5 -6
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +3 -3
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +11 -13
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +1 -1
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +1 -1
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +1 -1
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list-examples.mjs +4 -4
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +12 -5
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +1 -13
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +5 -20
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +3 -3
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +37 -42
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +3 -5
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +5 -7
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +4 -5
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +11 -13
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +1 -1
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +5 -9
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +3 -3
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +1 -1
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +4 -5
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +11 -5
- 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 +148 -0
- package/fesm2022/daffodil-design-switch.mjs.map +1 -0
- package/fesm2022/daffodil-design-tabs-examples.mjs +93 -0
- package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-tabs.mjs +428 -0
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -0
- package/fesm2022/daffodil-design-text-snippet-examples.mjs +25 -0
- package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-text-snippet.mjs +53 -0
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -0
- package/fesm2022/daffodil-design-toast-examples.mjs +13 -15
- package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +13 -12
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +1 -1
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +53 -11
- 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/README.md +4 -1
- package/image/image.module.d.ts +1 -1
- package/link-set/README.md +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/README.md +0 -5
- package/loading-icon/examples/examples.d.ts +2 -2
- package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -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 +4 -1
- package/media-gallery/helpers/media-gallery-token.d.ts +1 -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-compat.token.d.ts +1 -5
- 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/navbar.module.d.ts +1 -1
- package/navbar/src/navbar-theme.scss +8 -8
- package/notification/README.md +2 -2
- package/notification/notification/notification.component.d.ts +1 -1
- package/notification/notification.module.d.ts +1 -1
- package/notification/src/notification-theme.scss +25 -21
- 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 +1 -0
- package/scss/interactions/_index.scss +1 -1
- package/scss/layout/_index.scss +1 -1
- package/scss/state/skeleton/_mixins.scss +2 -2
- package/scss/theme.scss +15 -1
- package/scss/theming/_configure-theme.scss +60 -2
- package/scss/theming/_daff-theme.scss +14 -4
- package/scss/theming/_index.scss +1 -1
- package/scss/theming/_theme-css-variables.scss +15 -13
- package/scss/theming/contrast/luminance/luminance.scss +8 -6
- package/scss/theming/illuminate/illuminate.scss +20 -17
- package/scss/typography/utilities/_index.scss +1 -1
- package/scss/typography/utilities/_variables.scss +1 -1
- package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +1 -7
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +1 -1
- 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 +53 -0
- package/switch/switch.d.ts +3 -0
- package/tabs/README.md +19 -0
- package/tabs/examples/basic-tabs/basic-tabs.component.d.ts +6 -0
- package/tabs/examples/custom-select-tabs/custom-select-tabs.component.d.ts +11 -0
- package/tabs/examples/disabled-tabs/disabled-tabs.component.d.ts +6 -0
- package/tabs/examples/index.d.ts +1 -0
- package/tabs/examples/initially-select-tab/initially-select-tab.component.d.ts +6 -0
- package/tabs/examples/public_api.d.ts +2 -0
- package/tabs/index.d.ts +1 -0
- package/tabs/public_api.d.ts +5 -0
- package/tabs/src/tabs-theme.scss +22 -0
- package/tabs/tabs/tab/tab.component.d.ts +57 -0
- package/tabs/tabs/tab-activator/tab-activator.component.d.ts +38 -0
- package/tabs/tabs/tab-label/tab-label.component.d.ts +19 -0
- package/tabs/tabs/tab-panel/tab-panel.component.d.ts +38 -0
- package/tabs/tabs/tabs.component.d.ts +103 -0
- package/tabs/tabs.d.ts +6 -0
- package/text-snippet/README.md +2 -0
- package/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.d.ts +5 -0
- package/text-snippet/examples/index.d.ts +1 -0
- package/text-snippet/examples/public_api.d.ts +2 -0
- package/text-snippet/index.d.ts +1 -0
- package/text-snippet/public_api.d.ts +1 -0
- package/text-snippet/text-snippet.component.d.ts +19 -0
- package/toast/README.md +5 -5
- package/toast/options/daff-toast-options.d.ts +1 -3
- package/toast/src/toast-theme.scss +28 -24
- package/toast/toast/toast-provider.d.ts +1 -1
- package/toast/toast.module.d.ts +1 -1
- package/tree/src/tree-theme.scss +11 -11
- package/tree/tree.module.d.ts +1 -1
- package/button/button/button.component.d.ts +0 -80
- package/button/src/button-theme-variants/button.scss +0 -26
- package/button/src/button-theme-variants/flat.scss +0 -25
- package/button/src/button-theme-variants/icon.scss +0 -21
- package/button/src/button-theme-variants/raised.scss +0 -36
- package/button/src/button-theme-variants/stroked.scss +0 -28
- package/button/src/button-theme-variants/underline.scss +0 -9
- package/button/src/button-theme.scss +0 -574
- package/esm2022/button/button/button.component.mjs +0 -212
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -15
- package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +0 -5
- 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
package/hero/hero.module.d.ts
CHANGED
@@ -7,7 +7,7 @@ import * as i5 from "./hero-title/hero-title.directive";
|
|
7
7
|
import * as i6 from "./hero-subtitle/hero-subtitle.directive";
|
8
8
|
import * as i7 from "./hero-body/hero-body.directive";
|
9
9
|
/**
|
10
|
-
* @deprecated in favor of {@link DAFF_HERO_COMPONENTS}
|
10
|
+
* @deprecated in favor of {@link DAFF_HERO_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
11
11
|
* */
|
12
12
|
export declare class DaffHeroModule {
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroModule, never>;
|
package/hero/src/hero-theme.scss
CHANGED
@@ -8,14 +8,14 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
@mixin daff-hero-theme($theme) {
|
11
|
-
$primary: map
|
12
|
-
$secondary: map
|
13
|
-
$tertiary: map
|
14
|
-
$neutral: core.daff-map-
|
15
|
-
$base: core.daff-map-
|
16
|
-
$base-contrast: core.daff-map-
|
17
|
-
$white: core.daff-map-
|
18
|
-
$black: core.daff-map-
|
11
|
+
$primary: core.daff-map-get($theme, primary);
|
12
|
+
$secondary: core.daff-map-get($theme, secondary);
|
13
|
+
$tertiary: core.daff-map-get($theme, tertiary);
|
14
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
15
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
16
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
17
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
18
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
19
19
|
|
20
20
|
.daff-hero {
|
21
21
|
@include daff-hero-theme-variant(
|
@@ -23,21 +23,15 @@
|
|
23
23
|
);
|
24
24
|
|
25
25
|
&.daff-primary {
|
26
|
-
@include daff-hero-theme-variant(
|
27
|
-
theming.daff-color($primary)
|
28
|
-
);
|
26
|
+
@include daff-hero-theme-variant(theming.daff-color($primary));
|
29
27
|
}
|
30
28
|
|
31
29
|
&.daff-secondary {
|
32
|
-
@include daff-hero-theme-variant(
|
33
|
-
theming.daff-color($secondary)
|
34
|
-
);
|
30
|
+
@include daff-hero-theme-variant(theming.daff-color($secondary));
|
35
31
|
}
|
36
32
|
|
37
33
|
&.daff-tertiary {
|
38
|
-
@include daff-hero-theme-variant(
|
39
|
-
theming.daff-color($tertiary)
|
40
|
-
);
|
34
|
+
@include daff-hero-theme-variant(theming.daff-color($tertiary));
|
41
35
|
}
|
42
36
|
|
43
37
|
&.daff-theme {
|
package/image/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Image
|
2
|
-
Image utilizes the native HTML `<img>` element to display responsive images on a page and prevent content jumping while images are loading.
|
2
|
+
Image utilizes the native HTML `<img>` element to display responsive images on a page and prevent content jumping while images are loading.
|
3
|
+
|
4
|
+
## Overview
|
5
|
+
`<daff-image>` is an opinionated version that encourages friendly end-user usage.
|
3
6
|
|
4
7
|
<design-land-example-viewer-container example="load-image"></design-land-example-viewer-container>
|
5
8
|
|
package/image/image.module.d.ts
CHANGED
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/common";
|
3
3
|
import * as i2 from "./image/image.component";
|
4
4
|
/**
|
5
|
-
* @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}
|
5
|
+
* @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
6
6
|
* */
|
7
7
|
export declare class DaffImageModule {
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageModule, never>;
|
package/link-set/README.md
CHANGED
@@ -5,7 +5,7 @@ import * as i3 from "./link-set-heading/link-set-heading.directive";
|
|
5
5
|
import * as i4 from "./link-set-subheading/link-set-subheading.directive";
|
6
6
|
import * as i5 from "./link-set-item/link-set-item.component";
|
7
7
|
/**
|
8
|
-
* @deprecated in favor of {@link DAFF_LINK_SET_COMPONENTS}
|
8
|
+
* @deprecated in favor of {@link DAFF_LINK_SET_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
9
9
|
*/
|
10
10
|
export declare class DaffLinkSetModule {
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffLinkSetModule, never>;
|
@@ -7,6 +7,8 @@ export declare class DaffListItemComponent {
|
|
7
7
|
* @docs-private
|
8
8
|
*/
|
9
9
|
class: boolean;
|
10
|
+
/** Whether or not the header item is active */
|
11
|
+
active: boolean;
|
10
12
|
/**
|
11
13
|
* @docs-private
|
12
14
|
*/
|
@@ -26,5 +28,5 @@ export declare class DaffListItemComponent {
|
|
26
28
|
/** Gets whether a list item has one of the given attributes. */
|
27
29
|
private _isAnchor;
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffListItemComponent, never>;
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffListItemComponent, "daff-list-item,a[daff-list-item]", never, {}, {}, ["_prefix", "_suffix"], ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffListItemComponent, "daff-list-item,a[daff-list-item]", never, { "active": { "alias": "active"; "required": false; }; }, {}, ["_prefix", "_suffix"], ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
|
30
32
|
}
|
package/list/list.module.d.ts
CHANGED
@@ -4,7 +4,7 @@ import * as i2 from "./list/list.component";
|
|
4
4
|
import * as i3 from "./list-item/list-item.component";
|
5
5
|
import * as i4 from "@daffodil/design";
|
6
6
|
/**
|
7
|
-
* @deprecated in favor of {@link DAFF_LIST_COMPONENTS}
|
7
|
+
* @deprecated in favor of {@link DAFF_LIST_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
8
8
|
*/
|
9
9
|
export declare class DaffListModule {
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffListModule, never>;
|
package/list/src/list-theme.scss
CHANGED
@@ -2,19 +2,22 @@
|
|
2
2
|
@use '../../scss/core';
|
3
3
|
@use '../../scss/theming';
|
4
4
|
|
5
|
+
// styleline-disable selector-class-pattern
|
5
6
|
@mixin daff-list-theme($theme) {
|
6
|
-
$neutral: core.daff-map-
|
7
|
-
$base: core.daff-map-
|
8
|
-
$base-contrast: core.daff-map-
|
7
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
8
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
9
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
9
10
|
|
10
11
|
.daff-list {
|
11
12
|
.daff-list-item {
|
12
13
|
&__content {
|
13
|
-
|
14
|
+
// stylelint-disable-next-line scss/selector-nest-combinators
|
15
|
+
*:nth-child(1) {
|
14
16
|
color: $base-contrast;
|
15
17
|
}
|
16
18
|
|
17
|
-
|
19
|
+
// stylelint-disable-next-line scss/selector-nest-combinators
|
20
|
+
*:nth-child(n + 2) {
|
18
21
|
color: theming.daff-illuminate($base-contrast, $neutral, 3);
|
19
22
|
}
|
20
23
|
}
|
@@ -23,13 +26,14 @@
|
|
23
26
|
|
24
27
|
.daff-nav-list {
|
25
28
|
.daff-list-item {
|
26
|
-
|
29
|
+
&::after {
|
27
30
|
background-color: $base;
|
28
31
|
}
|
29
32
|
|
30
|
-
&:hover
|
31
|
-
|
32
|
-
|
33
|
+
&:hover,
|
34
|
+
&.active {
|
35
|
+
&::after {
|
36
|
+
background-color: theming.daff-illuminate($base, $neutral, 2);
|
33
37
|
}
|
34
38
|
}
|
35
39
|
}
|
package/loading-icon/README.md
CHANGED
@@ -45,11 +45,6 @@ export class CustomComponentModule { }
|
|
45
45
|
|
46
46
|
> This method is deprecated. It's recommended to update all custom components to standalone.
|
47
47
|
|
48
|
-
## Diameter
|
49
|
-
The diameter of a loading icon can be defined by using the `diameter` property. By default, the diameter is set to `60`.
|
50
|
-
|
51
|
-
<design-land-example-viewer-container example="loading-icon-diameter"></design-land-example-viewer-container>
|
52
|
-
|
53
48
|
## Theming
|
54
49
|
The loading icon color is defined by using the `color` property. By default, the color is set to `primary`. This can be changed to one of the supported colors.
|
55
50
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const LOADING_ICON_EXAMPLES: (typeof
|
1
|
+
import { LoadingIconColorComponent } from './loading-icon-color/loading-icon-color.component';
|
2
|
+
export declare const LOADING_ICON_EXAMPLES: (typeof LoadingIconColorComponent)[];
|
@@ -4,18 +4,10 @@ import * as i1 from "@daffodil/design";
|
|
4
4
|
* @inheritdoc
|
5
5
|
*/
|
6
6
|
export declare class DaffLoadingIconComponent {
|
7
|
-
/**
|
8
|
-
* The (pixel) diameter of the animation
|
9
|
-
*/
|
10
|
-
diameter: number;
|
11
7
|
/**
|
12
8
|
* @docs-private
|
13
9
|
*/
|
14
10
|
class: boolean;
|
15
|
-
/**
|
16
|
-
* @docs-private
|
17
|
-
*/
|
18
|
-
get maxWidth(): string;
|
19
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffLoadingIconComponent, never>;
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffLoadingIconComponent, "daff-loading-icon", never, {
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffLoadingIconComponent, "daff-loading-icon", never, {}, {}, never, never, true, [{ directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
|
21
13
|
}
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/common";
|
3
3
|
import * as i2 from "./loading-icon/loading-icon.component";
|
4
4
|
/**
|
5
|
-
* @deprecated in favor of {@link DAFF_LOADING_ICON_COMPONENTS}
|
5
|
+
* @deprecated in favor of {@link DAFF_LOADING_ICON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
6
6
|
*/
|
7
7
|
export declare class DaffLoadingIconModule {
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffLoadingIconModule, never>;
|
@@ -3,13 +3,13 @@
|
|
3
3
|
@use '../../scss/theming';
|
4
4
|
|
5
5
|
@mixin daff-loading-icon-theme($theme) {
|
6
|
-
$primary: map
|
7
|
-
$secondary: map
|
8
|
-
$tertiary: map
|
9
|
-
$base: core.daff-map-
|
10
|
-
$base-contrast: core.daff-map-
|
11
|
-
$white: core.daff-map-
|
12
|
-
$black: 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
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
12
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
13
13
|
|
14
14
|
.daff-loading-icon {
|
15
15
|
&__loader {
|
package/media-gallery/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Media Gallery
|
2
|
-
|
2
|
+
Media gallery is used to display a group of thumbnails in a gallery format.
|
3
|
+
|
4
|
+
## Overview
|
5
|
+
Media galleries are useful to showcase multiple images related to a single product or topic.
|
3
6
|
|
4
7
|
## Usage
|
5
8
|
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
1
|
import { DaffMediaGalleryRegistration } from './media-gallery-registration.interface';
|
3
|
-
export declare const DAFF_MEDIA_GALLERY_TOKEN: InjectionToken<DaffMediaGalleryRegistration
|
2
|
+
export declare const DAFF_MEDIA_GALLERY_TOKEN: import("@angular/core").InjectionToken<DaffMediaGalleryRegistration>, provideDaffMediaGalleryToken: <R extends DaffMediaGalleryRegistration = DaffMediaGalleryRegistration>(value: R) => import("@angular/core").ValueProvider;
|
@@ -4,7 +4,7 @@ import * as i2 from "./media-gallery/media-gallery.component";
|
|
4
4
|
import * as i3 from "./thumbnail/thumbnail.directive";
|
5
5
|
import * as i4 from "./media-renderer/media-renderer.component";
|
6
6
|
/**
|
7
|
-
* @deprecated in favor of {@link DAFF_MEDIA_GALLERY_COMPONENTS}
|
7
|
+
* @deprecated in favor of {@link DAFF_MEDIA_GALLERY_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
8
8
|
*/
|
9
9
|
export declare class DaffMediaGalleryModule {
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffMediaGalleryModule, never>;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
@use '../../scss/core';
|
4
4
|
|
5
5
|
@mixin daff-media-gallery-theme($theme) {
|
6
|
-
$neutral: core.daff-map-
|
6
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
7
7
|
|
8
8
|
.daff-media-gallery {
|
9
9
|
$root: &;
|
@@ -11,14 +11,14 @@
|
|
11
11
|
.daff-thumbnail {
|
12
12
|
border: 1px solid transparent;
|
13
13
|
|
14
|
-
|
14
|
+
&.daff-selected {
|
15
15
|
border: 1px solid theming.daff-color($neutral);
|
16
16
|
}
|
17
17
|
}
|
18
18
|
|
19
19
|
&.daff-skeleton {
|
20
20
|
.daff-thumbnail {
|
21
|
-
|
21
|
+
&.daff-selected {
|
22
22
|
border: none;
|
23
23
|
}
|
24
24
|
}
|
@@ -1,5 +1 @@
|
|
1
|
-
|
2
|
-
/**
|
3
|
-
* A multi provider injection token that marks a component as renderable for the `DaffMediaRendererComponent`.
|
4
|
-
*/
|
5
|
-
export declare const daffThumbnailCompatToken: InjectionToken<unknown>;
|
1
|
+
export declare const daffThumbnailCompatToken: import("@angular/core").InjectionToken<unknown>, provideDaffThumbnailCompatToken: <R extends unknown = unknown>(value: R) => import("@angular/core").ValueProvider;
|
@@ -1,34 +1,27 @@
|
|
1
|
-
import { Type,
|
1
|
+
import { Type, OnInit, OnDestroy } from '@angular/core';
|
2
|
+
import { DaffSelectableDirective } from '@daffodil/design';
|
2
3
|
import { DaffThumbnailRegistration } from './thumbnail-registration.interface';
|
3
4
|
import { DaffMediaGalleryRegistration } from '../helpers/media-gallery-registration.interface';
|
4
5
|
import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
|
5
6
|
import * as i0 from "@angular/core";
|
7
|
+
import * as i1 from "@daffodil/design";
|
6
8
|
/**
|
7
9
|
* A directive marking thumbnails for the `DaffMediaRendererComponent`. Needs to be wrapped in a `daff-media-gallery` component
|
8
10
|
* and needs to be placed on a component that is provided as a `daffThumbnailCompatToken`.
|
9
11
|
*/
|
10
12
|
export declare class DaffThumbnailDirective implements OnInit, OnDestroy, DaffThumbnailRegistration {
|
11
13
|
component: Type<unknown>;
|
12
|
-
private cd;
|
13
14
|
private registry;
|
14
15
|
gallery: DaffMediaGalleryRegistration;
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
private selectedDirective;
|
17
|
+
constructor(component: Type<unknown>, registry: DaffMediaGalleryRegistry, gallery: DaffMediaGalleryRegistration, selectedDirective: DaffSelectableDirective);
|
18
|
+
get selected(): boolean;
|
19
|
+
select(): this;
|
20
|
+
deselect(): this;
|
20
21
|
/**
|
21
22
|
* Adds a class for styling a thumbnail
|
22
23
|
*/
|
23
24
|
class: boolean;
|
24
|
-
/**
|
25
|
-
* A prop for determining whether or not the media element is selected.
|
26
|
-
*/
|
27
|
-
selected: boolean;
|
28
|
-
/**
|
29
|
-
* An event that fires after the media element becomes selected.
|
30
|
-
*/
|
31
|
-
becameSelected: EventEmitter<void>;
|
32
25
|
/**
|
33
26
|
* Adds a click event to trigger selection of the media element.
|
34
27
|
*
|
@@ -37,8 +30,6 @@ export declare class DaffThumbnailDirective implements OnInit, OnDestroy, DaffTh
|
|
37
30
|
onClick($event: MouseEvent): void;
|
38
31
|
ngOnInit(): void;
|
39
32
|
ngOnDestroy(): void;
|
40
|
-
select(): this;
|
41
|
-
deselect(): this;
|
42
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffThumbnailDirective, never>;
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffThumbnailDirective, "[daffThumbnail]", never, {}, { "
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffThumbnailDirective, "[daffThumbnail]", never, {}, {}, never, never, true, [{ directive: typeof i1.DaffSelectableDirective; inputs: { "selected": "selected"; }; outputs: { "becameSelected": "becameSelected"; }; }]>;
|
44
35
|
}
|
package/menu/src/menu-theme.scss
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
@use '../../scss/theming';
|
3
3
|
|
4
4
|
@mixin daff-menu-theme($theme) {
|
5
|
-
$white: core.daff-map-
|
6
|
-
$black: core.daff-map-
|
7
|
-
$neutral: core.daff-map-
|
8
|
-
$base: core.daff-map-
|
9
|
-
$base-contrast: core.daff-map-
|
5
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
6
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
7
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
8
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
9
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
10
10
|
|
11
11
|
.daff-menu {
|
12
12
|
background: $base;
|
package/modal/modal.module.d.ts
CHANGED
@@ -11,7 +11,7 @@ import * as i9 from "./modal-content/modal-content.component";
|
|
11
11
|
import * as i10 from "./modal-actions/modal-actions.component";
|
12
12
|
import * as i11 from "./modal-close/modal-close.directive";
|
13
13
|
/**
|
14
|
-
* @deprecated in favor of {@link DAFF_MODAL_COMPONENTS}
|
14
|
+
* @deprecated in favor of {@link DAFF_MODAL_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
15
15
|
*/
|
16
16
|
export declare class DaffModalModule {
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalModule, never>;
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/common";
|
3
3
|
import * as i2 from "./navbar/navbar.component";
|
4
4
|
/**
|
5
|
-
* @deprecated in favor of {@link DAFF_NAVBAR_COMPONENTS}
|
5
|
+
* @deprecated in favor of {@link DAFF_NAVBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
6
6
|
*/
|
7
7
|
export declare class DaffNavbarModule {
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarModule, never>;
|
@@ -8,14 +8,14 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
@mixin daff-navbar-theme($theme) {
|
11
|
-
$primary: map
|
12
|
-
$secondary: map
|
13
|
-
$tertiary: map
|
14
|
-
$neutral: core.daff-map-
|
15
|
-
$base: core.daff-map-
|
16
|
-
$base-contrast: core.daff-map-
|
17
|
-
$white: core.daff-map-
|
18
|
-
$black: core.daff-map-
|
11
|
+
$primary: core.daff-map-get($theme, primary);
|
12
|
+
$secondary: core.daff-map-get($theme, secondary);
|
13
|
+
$tertiary: core.daff-map-get($theme, tertiary);
|
14
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
15
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
16
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
17
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
18
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
19
19
|
|
20
20
|
.daff-navbar {
|
21
21
|
@include daff-navbar-theme-variant(
|
package/notification/README.md
CHANGED
@@ -69,7 +69,7 @@ Buttons can be included in notifications to resolve the notification or navigate
|
|
69
69
|
### Statuses
|
70
70
|
The status color of a notification can be updated by using the `status` property.
|
71
71
|
|
72
|
-
Supported statuses: `warn |
|
72
|
+
Supported statuses: `warn | critical | success`
|
73
73
|
|
74
74
|
#### Notification with statuses
|
75
75
|
<design-land-example-viewer-container example="notification-status"></design-land-example-viewer-container>
|
@@ -87,4 +87,4 @@ The close button is hidden by default but can be visible by setting the `dismiss
|
|
87
87
|
<design-land-example-viewer-container example="dismissible-notification"></design-land-example-viewer-container>
|
88
88
|
|
89
89
|
## Accessibility
|
90
|
-
Notifications with a `
|
90
|
+
Notifications with a `critical` or `warn` status have a `role="alert"` so that it can be announced by assistive technologies. See (live region roles)[https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles#4._live_region_roles] for more information. All other notifications have a `role="status"`. Notifications have a `tabindex="0"` so users can discover them while tabbing through a page.
|
@@ -16,7 +16,7 @@ export declare class DaffNotificationComponent implements DaffPrefixable {
|
|
16
16
|
class: boolean;
|
17
17
|
tabindex: string;
|
18
18
|
/**
|
19
|
-
* Sets role to alert when `status="warn"` or `status="
|
19
|
+
* Sets role to alert when `status="warn"` or `status="critical"`.
|
20
20
|
* Sets role to status on all other instances.
|
21
21
|
*/
|
22
22
|
get role(): "status" | "alert";
|
@@ -8,7 +8,7 @@ import * as i6 from "./notification-message/notification-message.directive";
|
|
8
8
|
import * as i7 from "./notification-title/notification-title.directive";
|
9
9
|
import * as i8 from "./notification-subtitle/notification-subtitle.directive";
|
10
10
|
/**
|
11
|
-
* @deprecated in favor of {@link DAFF_NOTIFICATION_COMPONENTS}
|
11
|
+
* @deprecated in favor of {@link DAFF_NOTIFICATION_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
12
12
|
*/
|
13
13
|
export declare class DaffNotificationModule {
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationModule, never>;
|
@@ -3,14 +3,18 @@
|
|
3
3
|
@use '../../scss/theming';
|
4
4
|
|
5
5
|
@mixin daff-notification-theme($theme) {
|
6
|
-
$primary: map
|
7
|
-
$secondary: map
|
8
|
-
$tertiary: map
|
9
|
-
$
|
10
|
-
$
|
11
|
-
$
|
12
|
-
$
|
13
|
-
$
|
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
|
+
$info: core.daff-map-get($theme, informational);
|
10
|
+
$warn: core.daff-map-get($theme, warn);
|
11
|
+
$critical: core.daff-map-get($theme, critical);
|
12
|
+
$success: core.daff-map-get($theme, success);
|
13
|
+
$neutral: core.daff-map-get($theme, 'core', 'neutral');
|
14
|
+
$base: core.daff-map-get($theme, 'core', 'base');
|
15
|
+
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
|
16
|
+
$white: core.daff-map-get($theme, 'core', 'white');
|
17
|
+
$black: core.daff-map-get($theme, 'core', 'black');
|
14
18
|
|
15
19
|
.daff-notification {
|
16
20
|
background: theming.daff-illuminate($base, $neutral, 1);
|
@@ -18,32 +22,32 @@
|
|
18
22
|
color: theming.daff-text-contrast(theming.daff-illuminate($base, $neutral, 1));
|
19
23
|
|
20
24
|
&.daff-success {
|
21
|
-
background: theming.daff-color(
|
22
|
-
border: 1px solid theming.daff-color(
|
23
|
-
color: theming.daff-text-contrast(theming.daff-color(
|
25
|
+
background: theming.daff-color($success, 10);
|
26
|
+
border: 1px solid theming.daff-color($success, 20);
|
27
|
+
color: theming.daff-text-contrast(theming.daff-color($success, 10));
|
24
28
|
|
25
29
|
.daff-prefix {
|
26
|
-
color: theming.daff-color(
|
30
|
+
color: theming.daff-color($success);
|
27
31
|
}
|
28
32
|
}
|
29
33
|
|
30
34
|
&.daff-warn {
|
31
|
-
background: theming.daff-color(
|
32
|
-
border: 1px solid theming.daff-color(
|
33
|
-
color: theming.daff-text-contrast(theming.daff-color(
|
35
|
+
background: theming.daff-color($warn, 10);
|
36
|
+
border: 1px solid theming.daff-color($warn, 20);
|
37
|
+
color: theming.daff-text-contrast(theming.daff-color($warn, 10));
|
34
38
|
|
35
39
|
.daff-prefix {
|
36
|
-
color: theming.daff-color(
|
40
|
+
color: theming.daff-color($warn);
|
37
41
|
}
|
38
42
|
}
|
39
43
|
|
40
|
-
&.daff-
|
41
|
-
background: theming.daff-color(
|
42
|
-
border: 1px solid theming.daff-color(
|
43
|
-
color: theming.daff-text-contrast(theming.daff-color(
|
44
|
+
&.daff-critical {
|
45
|
+
background: theming.daff-color($critical, 10);
|
46
|
+
border: 1px solid theming.daff-color($critical, 20);
|
47
|
+
color: theming.daff-text-contrast(theming.daff-color($critical, 10));
|
44
48
|
|
45
49
|
.daff-prefix {
|
46
|
-
color: theming.daff-color(
|
50
|
+
color: theming.daff-color($critical);
|
47
51
|
}
|
48
52
|
}
|
49
53
|
}
|