@daffodil/design 0.43.1 → 0.45.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/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +3 -3
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +4 -4
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +3 -3
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +4 -4
- package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +3 -3
- package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +3 -3
- package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +3 -3
- package/esm2020/article/examples/article-examples.module.mjs +4 -4
- package/esm2020/article/examples/article-headings/article-headings.component.mjs +3 -3
- package/esm2020/article/examples/article-hr/article-hr.component.mjs +3 -3
- package/esm2020/article/examples/article-lead/article-lead.component.mjs +3 -3
- package/esm2020/article/examples/article-link/article-link.component.mjs +3 -3
- package/esm2020/article/examples/article-meta/article-meta.component.mjs +3 -3
- package/esm2020/article/examples/article-ol/article-ol.component.mjs +3 -3
- package/esm2020/article/examples/article-table/article-table.component.mjs +3 -3
- package/esm2020/article/examples/article-ul/article-ul.component.mjs +3 -3
- package/esm2020/atoms/button/button.component.mjs +3 -3
- package/esm2020/atoms/button/button.module.mjs +4 -4
- package/esm2020/atoms/container/container.component.mjs +3 -3
- package/esm2020/atoms/container/container.module.mjs +4 -4
- package/esm2020/atoms/form/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/atoms/form/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +3 -3
- package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +3 -3
- package/esm2020/atoms/form/error-message/error-message.component.mjs +3 -3
- package/esm2020/atoms/form/error-message/error-message.module.mjs +4 -4
- package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +3 -3
- package/esm2020/atoms/form/form-field/form-field.module.mjs +4 -4
- package/esm2020/atoms/form/input/input.component.mjs +3 -3
- package/esm2020/atoms/form/input/input.module.mjs +4 -4
- package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +3 -3
- package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +4 -4
- package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +3 -3
- package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +3 -3
- package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +3 -3
- package/esm2020/atoms/form/radio/radio.component.mjs +3 -3
- package/esm2020/atoms/form/radio/radio.module.mjs +4 -4
- package/esm2020/atoms/form/radio/registry/radio-registry.mjs +3 -3
- package/esm2020/atoms/form/radio-set/radio-set.component.mjs +3 -3
- package/esm2020/atoms/form/select/select/select.component.mjs +3 -3
- package/esm2020/atoms/form/select/select.module.mjs +4 -4
- package/esm2020/atoms/image/image.component.mjs +3 -3
- package/esm2020/atoms/image/image.module.mjs +4 -4
- package/esm2020/atoms/loading-icon/loading-icon.component.mjs +3 -3
- package/esm2020/atoms/loading-icon/loading-icon.module.mjs +4 -4
- package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +3 -3
- package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +4 -4
- package/esm2020/button/examples/basic-button/basic-button.component.mjs +3 -3
- package/esm2020/button/examples/basic-button/basic-button.module.mjs +4 -4
- package/esm2020/button/examples/icon-button/icon-button.component.mjs +3 -3
- package/esm2020/button/examples/icon-button/icon-button.module.mjs +4 -4
- package/esm2020/button/examples/raised-button/raised-button.component.mjs +3 -3
- package/esm2020/button/examples/raised-button/raised-button.module.mjs +4 -4
- package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +3 -3
- package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +4 -4
- package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +3 -3
- package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +4 -4
- package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +3 -3
- package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +4 -4
- package/esm2020/button/examples/underline-button/underline-button.component.mjs +3 -3
- package/esm2020/button/examples/underline-button/underline-button.module.mjs +4 -4
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +3 -3
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +4 -4
- package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +3 -3
- package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +4 -4
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +3 -3
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +4 -4
- package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +3 -3
- package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +4 -4
- package/esm2020/card/examples/basic-card/basic-card.component.mjs +3 -3
- package/esm2020/card/examples/basic-card/basic-card.module.mjs +4 -4
- package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +3 -3
- package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +4 -4
- package/esm2020/card/examples/card-theming/card-theming.component.mjs +3 -3
- package/esm2020/card/examples/card-theming/card-theming.module.mjs +4 -4
- package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +3 -3
- package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +4 -4
- package/esm2020/card/examples/raised-card/raised-card.component.mjs +3 -3
- package/esm2020/card/examples/raised-card/raised-card.module.mjs +4 -4
- package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +3 -3
- package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +4 -4
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +3 -3
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +4 -4
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +3 -3
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +4 -4
- package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +3 -3
- package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +4 -4
- package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +4 -4
- package/esm2020/core/prefix-suffix/prefix.directive.mjs +3 -3
- package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +3 -3
- package/esm2020/core/prefix-suffix/suffix.directive.mjs +3 -3
- package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +3 -3
- package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +3 -3
- package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +3 -3
- package/esm2020/core/theming/services/storage/theme-storage.service.mjs +3 -3
- package/esm2020/core/theming/services/theming.service.mjs +3 -3
- package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +3 -3
- package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +4 -4
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +3 -3
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +4 -4
- package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +3 -3
- package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +4 -4
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +3 -3
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +4 -4
- package/esm2020/image/examples/basic-image/basic-image.component.mjs +3 -3
- package/esm2020/image/examples/basic-image/basic-image.module.mjs +4 -4
- package/esm2020/image/examples/load-image/load-image.component.mjs +3 -3
- package/esm2020/image/examples/load-image/load-image.module.mjs +4 -4
- package/esm2020/list/examples/basic-list/basic-list.component.mjs +3 -3
- package/esm2020/list/examples/basic-list/basic-list.module.mjs +4 -4
- package/esm2020/list/examples/icon-list/icon-list.component.mjs +3 -3
- package/esm2020/list/examples/icon-list/icon-list.module.mjs +4 -4
- package/esm2020/list/examples/list-examples.module.mjs +4 -4
- package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +3 -3
- package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +4 -4
- package/esm2020/list/examples/nav-list/nav-list.component.mjs +3 -3
- package/esm2020/list/examples/nav-list/nav-list.module.mjs +4 -4
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +3 -3
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +4 -4
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +3 -3
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +4 -4
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +3 -3
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +4 -4
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +3 -3
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +4 -4
- package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +3 -3
- package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +4 -4
- package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +3 -3
- package/esm2020/molecules/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +3 -3
- package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +3 -3
- package/esm2020/molecules/accordion/accordion.module.mjs +4 -4
- package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +3 -3
- package/esm2020/molecules/article/article/article.component.mjs +3 -3
- package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +3 -3
- package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +3 -3
- package/esm2020/molecules/article/article-title/article-title.directive.mjs +3 -3
- package/esm2020/molecules/article/article.module.mjs +4 -4
- package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +3 -3
- package/esm2020/molecules/backdrop/backdrop.module.mjs +4 -4
- package/esm2020/molecules/button-set/button-set.component.mjs +3 -3
- package/esm2020/molecules/button-set/button-set.module.mjs +4 -4
- package/esm2020/molecules/callout/callout/callout.component.mjs +3 -3
- package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +3 -3
- package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +3 -3
- package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +3 -3
- package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +3 -3
- package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +3 -3
- package/esm2020/molecules/callout/callout.module.mjs +4 -4
- package/esm2020/molecules/card/card/card.component.mjs +3 -3
- package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +3 -3
- package/esm2020/molecules/card/card-content/card-content.directive.mjs +3 -3
- package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +3 -3
- package/esm2020/molecules/card/card-image/card-image.directive.mjs +3 -3
- package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +3 -3
- package/esm2020/molecules/card/card-title/card-title.directive.mjs +3 -3
- package/esm2020/molecules/card/card.module.mjs +4 -4
- package/esm2020/molecules/feature/feature/feature.component.mjs +3 -3
- package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +3 -3
- package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +3 -3
- package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +3 -3
- package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +3 -3
- package/esm2020/molecules/feature/feature.module.mjs +4 -4
- package/esm2020/molecules/hero/hero/hero.component.mjs +3 -3
- package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +3 -3
- package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +3 -3
- package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +3 -3
- package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +3 -3
- package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +3 -3
- package/esm2020/molecules/hero/hero.module.mjs +4 -4
- package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +3 -3
- package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +3 -3
- package/esm2020/molecules/image-gallery/image-gallery.module.mjs +4 -4
- package/esm2020/molecules/image-list/image-list.component.mjs +3 -3
- package/esm2020/molecules/image-list/image-list.module.mjs +4 -4
- package/esm2020/molecules/link-set/link-set/link-set.component.mjs +3 -3
- package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +3 -3
- package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +3 -3
- package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +3 -3
- package/esm2020/molecules/link-set/link-set.module.mjs +4 -4
- package/esm2020/molecules/list/list/list.component.mjs +3 -3
- package/esm2020/molecules/list/list-item/list-item.component.mjs +3 -3
- package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +3 -3
- package/esm2020/molecules/list/list.module.mjs +4 -4
- package/esm2020/molecules/media-gallery/media-gallery.component.mjs +3 -3
- package/esm2020/molecules/media-gallery/media-gallery.module.mjs +4 -4
- package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +3 -3
- package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +3 -3
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +3 -3
- package/esm2020/molecules/modal/modal/modal.component.mjs +3 -3
- package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +3 -3
- package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +3 -3
- package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +3 -3
- package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +3 -3
- package/esm2020/molecules/modal/modal.module.mjs +4 -4
- package/esm2020/molecules/modal/service/modal.service.mjs +3 -3
- package/esm2020/molecules/navbar/navbar.component.mjs +3 -3
- package/esm2020/molecules/navbar/navbar.module.mjs +4 -4
- package/esm2020/molecules/paginator/paginator.component.mjs +3 -3
- package/esm2020/molecules/paginator/paginator.module.mjs +4 -4
- package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +3 -3
- package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +4 -4
- package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +3 -3
- package/esm2020/molecules/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +3 -3
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +4 -4
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +3 -3
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +4 -4
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +3 -3
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +4 -4
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +3 -3
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +4 -4
- package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +3 -3
- package/esm2020/paginator/examples/paginator-examples.module.mjs +4 -4
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +3 -3
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +4 -4
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +3 -3
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +4 -4
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +3 -3
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +4 -4
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +3 -3
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +4 -4
- package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +3 -3
- package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +4 -4
- package/fesm2015/daffodil-design-accordion-examples.mjs +10 -10
- package/fesm2015/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-article-examples.mjs +25 -25
- package/fesm2015/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-button-examples.mjs +35 -35
- package/fesm2015/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-callout-examples.mjs +20 -20
- package/fesm2015/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-card-examples.mjs +30 -30
- package/fesm2015/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-checkbox-examples.mjs +10 -10
- package/fesm2015/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-container-examples.mjs +5 -5
- package/fesm2015/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-hero-examples.mjs +20 -20
- package/fesm2015/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-image-examples.mjs +10 -10
- package/fesm2015/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-list-examples.mjs +23 -23
- package/fesm2015/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-loading-icon-examples.mjs +10 -10
- package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-media-gallery-examples.mjs +10 -10
- package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-modal-examples.mjs +7 -7
- package/fesm2015/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-navbar-examples.mjs +20 -20
- package/fesm2015/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-paginator-examples.mjs +5 -5
- package/fesm2015/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-quantity-field-examples.mjs +20 -20
- package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-radio-examples.mjs +5 -5
- package/fesm2015/daffodil-design-radio-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design.mjs +267 -267
- package/fesm2015/daffodil-design.mjs.map +1 -1
- package/fesm2020/daffodil-design-accordion-examples.mjs +10 -10
- package/fesm2020/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-article-examples.mjs +25 -25
- package/fesm2020/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-button-examples.mjs +35 -35
- package/fesm2020/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-callout-examples.mjs +20 -20
- package/fesm2020/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-card-examples.mjs +30 -30
- package/fesm2020/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-checkbox-examples.mjs +10 -10
- package/fesm2020/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-container-examples.mjs +5 -5
- package/fesm2020/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-hero-examples.mjs +20 -20
- package/fesm2020/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-image-examples.mjs +10 -10
- package/fesm2020/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-list-examples.mjs +23 -23
- package/fesm2020/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-loading-icon-examples.mjs +10 -10
- package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-media-gallery-examples.mjs +10 -10
- package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-modal-examples.mjs +7 -7
- package/fesm2020/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-navbar-examples.mjs +20 -20
- package/fesm2020/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-paginator-examples.mjs +5 -5
- package/fesm2020/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-quantity-field-examples.mjs +20 -20
- package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-radio-examples.mjs +5 -5
- package/fesm2020/daffodil-design-radio-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design.mjs +267 -267
- package/fesm2020/daffodil-design.mjs.map +1 -1
- package/package.json +29 -7
- package/scss/README.md +3 -3
- package/scss/daff-global.scss +3 -47
- package/scss/daff-util.scss +3 -19
- package/scss/global.scss +49 -0
- package/scss/theme.scss +1 -2
- package/scss/theming/README.md +65 -20
- package/scss/theming/_daff-theme.scss +19 -0
- package/scss/theming/_index.scss +1 -0
- package/scss/theming/_theme-css-variables.scss +15 -12
- package/scss/utilities.scss +21 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@daffodil/design",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.45.0",
|
4
4
|
"author": "Graycore LLC",
|
5
5
|
"license": "MIT",
|
6
6
|
"bugs": {
|
@@ -18,21 +18,37 @@
|
|
18
18
|
"@angular/core": "^13.0.0",
|
19
19
|
"@angular/forms": "^13.0.0",
|
20
20
|
"@angular/cdk": "^13.0.0",
|
21
|
+
"@daffodil/core": "0.45.0",
|
21
22
|
"@fortawesome/angular-fontawesome": "^0.10.0",
|
22
23
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
23
24
|
"@fortawesome/free-solid-svg-icons": "^5.10.0",
|
25
|
+
"@fortawesome/free-brands-svg-icons": "^5.10.0",
|
26
|
+
"@fortawesome/free-regular-svg-icons": "^5.10.0",
|
27
|
+
"modern-normalize": "^0.5.0",
|
24
28
|
"rxjs": "7.5.5"
|
25
29
|
},
|
26
30
|
"optionalDependencies": {
|
27
31
|
"@faker-js/faker": "^5.5.3"
|
28
32
|
},
|
29
|
-
"module": "fesm2015/daffodil-design.mjs",
|
30
|
-
"es2020": "fesm2020/daffodil-design.mjs",
|
31
|
-
"esm2020": "esm2020/daffodil-design.mjs",
|
32
|
-
"fesm2020": "fesm2020/daffodil-design.mjs",
|
33
|
-
"fesm2015": "fesm2015/daffodil-design.mjs",
|
34
|
-
"typings": "daffodil-design.d.ts",
|
35
33
|
"exports": {
|
34
|
+
"./scss/daff-global": {
|
35
|
+
"sass": "./scss/daff-global.scss"
|
36
|
+
},
|
37
|
+
"./scss/global": {
|
38
|
+
"sass": "./scss/global.scss"
|
39
|
+
},
|
40
|
+
"./scss/theme": {
|
41
|
+
"sass": "./scss/theme.scss"
|
42
|
+
},
|
43
|
+
"./scss/daff-util": {
|
44
|
+
"sass": "./scss/daff-util.scss"
|
45
|
+
},
|
46
|
+
"./scss/utilities": {
|
47
|
+
"sass": "./scss/utilities.scss"
|
48
|
+
},
|
49
|
+
"./scss/daff-typography": {
|
50
|
+
"sass": "./scss/daff-typography.scss"
|
51
|
+
},
|
36
52
|
"./package.json": {
|
37
53
|
"default": "./package.json"
|
38
54
|
},
|
@@ -181,6 +197,12 @@
|
|
181
197
|
"default": "./fesm2020/daffodil-design-radio-examples.mjs"
|
182
198
|
}
|
183
199
|
},
|
200
|
+
"module": "fesm2015/daffodil-design.mjs",
|
201
|
+
"es2020": "fesm2020/daffodil-design.mjs",
|
202
|
+
"esm2020": "esm2020/daffodil-design.mjs",
|
203
|
+
"fesm2020": "fesm2020/daffodil-design.mjs",
|
204
|
+
"fesm2015": "fesm2015/daffodil-design.mjs",
|
205
|
+
"typings": "daffodil-design.d.ts",
|
184
206
|
"sideEffects": false,
|
185
207
|
"dependencies": {
|
186
208
|
"tslib": "^2.3.0"
|
package/scss/README.md
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
`@daffodil/design` provides several utility files for rapid application development.
|
4
4
|
|
5
|
-
- `
|
6
|
-
- `daff-typography.scss` - A typographic library
|
7
|
-
- `
|
5
|
+
- `utilities.scss` - A utility library containing things like breakpoints and sass language additions
|
6
|
+
- `daff-typography.scss` - A typographic library (deprecated)
|
7
|
+
- `theme.scss` - A utility library that allows you to theme `@daffodil/design` components
|
package/scss/daff-global.scss
CHANGED
@@ -1,49 +1,5 @@
|
|
1
|
-
// @
|
2
|
-
|
3
|
-
// `daff-global` holds boilerplate code for the project. It includes
|
4
|
-
// standard styles such as resets and typographic rules, which are
|
5
|
-
// commonly used throughout your project.
|
6
|
-
//
|
7
|
-
// @note This should only be imported once in your `styles.scss` file.
|
1
|
+
// @deprecated
|
8
2
|
//
|
9
|
-
//
|
10
|
-
// ```scss
|
11
|
-
// @use '@daffodil/design/scss/daff-global';
|
12
|
-
// ```
|
13
|
-
|
14
|
-
@use 'typography' as t;
|
15
|
-
@use '~@angular/cdk/overlay-prebuilt';
|
16
|
-
@use '~modern-normalize/modern-normalize';
|
17
|
-
@forward './theming/theme-css-variables';
|
18
|
-
|
19
|
-
body,
|
20
|
-
html {
|
21
|
-
font-family: t.$body-font-family;
|
22
|
-
font-size: 16px;
|
23
|
-
font-weight: 400;
|
24
|
-
line-height: 1.5;
|
25
|
-
-webkit-font-smoothing: antialiased;
|
26
|
-
-moz-osx-font-smoothing: grayscale;
|
27
|
-
}
|
28
|
-
|
29
|
-
html {
|
30
|
-
scroll-behavior: smooth;
|
31
|
-
}
|
32
|
-
|
33
|
-
a {
|
34
|
-
color: currentColor;
|
35
|
-
|
36
|
-
&:hover {
|
37
|
-
text-decoration: none;
|
38
|
-
}
|
39
|
-
}
|
3
|
+
// `daff-global` will be deprecated in v1.0.0
|
40
4
|
|
41
|
-
|
42
|
-
h2,
|
43
|
-
h3,
|
44
|
-
h4,
|
45
|
-
h5,
|
46
|
-
h6 {
|
47
|
-
margin: 0;
|
48
|
-
padding: 0;
|
49
|
-
}
|
5
|
+
@forward 'global';
|
package/scss/daff-util.scss
CHANGED
@@ -1,21 +1,5 @@
|
|
1
|
-
// @
|
1
|
+
// @deprecated
|
2
2
|
//
|
3
|
-
// `daff-util`
|
4
|
-
// mixins and variables that make writing SCSS stylesheets a bit
|
5
|
-
// easier.
|
6
|
-
//
|
7
|
-
//
|
8
|
-
// @note You can import this as often as you like, as it only contains SCSS
|
9
|
-
// variables, mixins, and functions; thus it won't effect your final
|
10
|
-
// compiled stylesheet size.
|
11
|
-
//
|
12
|
-
// @usage
|
13
|
-
// ```scss
|
14
|
-
// @use '@daffodil/design/scss/daff-util';
|
15
|
-
// ```
|
3
|
+
// `daff-util` will be deprecated in v1.0.0
|
16
4
|
|
17
|
-
@forward '
|
18
|
-
@forward 'typography';
|
19
|
-
@forward 'layout';
|
20
|
-
@forward 'interactions';
|
21
|
-
@forward 'accessibility';
|
5
|
+
@forward 'utilities';
|
package/scss/global.scss
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
// @docs
|
2
|
+
|
3
|
+
// `global` holds boilerplate code for the project. It includes
|
4
|
+
// standard styles such as resets and typographic rules, which are
|
5
|
+
// commonly used throughout your project.
|
6
|
+
//
|
7
|
+
// @note This should only be imported once in your `styles.scss` file.
|
8
|
+
//
|
9
|
+
// @usage
|
10
|
+
// ```scss
|
11
|
+
// @use '@daffodil/design/scss/global';
|
12
|
+
// ```
|
13
|
+
|
14
|
+
@use 'typography' as t;
|
15
|
+
@use '@angular/cdk/overlay-prebuilt';
|
16
|
+
@use 'modern-normalize/modern-normalize';
|
17
|
+
@forward './theming/theme-css-variables';
|
18
|
+
|
19
|
+
body,
|
20
|
+
html {
|
21
|
+
font-family: t.$body-font-family;
|
22
|
+
font-size: 16px;
|
23
|
+
font-weight: 400;
|
24
|
+
line-height: 1.5;
|
25
|
+
-webkit-font-smoothing: antialiased;
|
26
|
+
-moz-osx-font-smoothing: grayscale;
|
27
|
+
}
|
28
|
+
|
29
|
+
html {
|
30
|
+
scroll-behavior: smooth;
|
31
|
+
}
|
32
|
+
|
33
|
+
a {
|
34
|
+
color: currentColor;
|
35
|
+
|
36
|
+
&:hover {
|
37
|
+
text-decoration: none;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
h1,
|
42
|
+
h2,
|
43
|
+
h3,
|
44
|
+
h4,
|
45
|
+
h5,
|
46
|
+
h6 {
|
47
|
+
margin: 0;
|
48
|
+
padding: 0;
|
49
|
+
}
|
package/scss/theme.scss
CHANGED
package/scss/theming/README.md
CHANGED
@@ -1,31 +1,54 @@
|
|
1
|
-
# Theming
|
1
|
+
# Daffodil Theming
|
2
2
|
Daffodil's theming capabilities enables you to customize `@daffodil/design` components to reflect your brand. A theme consists of custom color configurations that will work in dark and light themes.
|
3
3
|
|
4
4
|
## Custom Colors
|
5
|
-
:stop: Before you begin, read the [accessibility guide on color in `@daffodil/design`](../../guides/color#accessibility
|
6
|
-
|
7
|
-
[validate palette function]
|
5
|
+
:stop: Before you begin, read the [accessibility guide on color in `@daffodil/design`](../../guides/color.md#accessibility).
|
8
6
|
|
9
7
|
## Themes
|
10
8
|
Dark and light modes are supported in all `@daffodil/design` components. When a theme is not specified, Daffodil defaults to the `light` mode.
|
11
9
|
|
12
|
-
|
13
|
-
|
10
|
+
## Palettes
|
11
|
+
A palette is a collection of [perceptually uniform colors](https://programmingdesignsystems.com/color/perceptually-uniform-color-spaces/) with consistent contrast ratios. `@daffodil/design`'s color palettes are represented by a Sass map, with each value in a palette called a **hue**.
|
12
|
+
|
13
|
+
## Predefined palettes
|
14
|
+
`@daffodil/design` offers predefined palettes based on our brand guidelines. You can choose to use our palettes or define your own. No further configuration is needed in your `app-theme.scss` file if you choose to use `@daffodil/design`'s palettes. Below is an example of the structure of a predefined `@daffodil/design` palette.
|
15
|
+
|
16
|
+
```scss
|
17
|
+
$daff-blue: (
|
18
|
+
10: #ebf1ff,
|
19
|
+
20: #c4d8ff,
|
20
|
+
30: #9dbeff,
|
21
|
+
40: #79a7ff,
|
22
|
+
50: #548fff,
|
23
|
+
60: #1f66ff,
|
24
|
+
70: #093cf3,
|
25
|
+
80: #001bcb,
|
26
|
+
90: #00098a,
|
27
|
+
100: #000033
|
28
|
+
);
|
29
|
+
```
|
30
|
+
|
31
|
+
### Define your own palettes
|
32
|
+
You can define your own palettes by creating a Sass map that matches the example from above. Your Sass maps must have hues from 10 to 100, with a step increment of 10.
|
33
|
+
|
34
|
+
### Setting up your custom theme file
|
35
|
+
Configure your application to support the custom palettes you created by adding the following to your `app-theme.scss` file:
|
14
36
|
|
15
37
|
```scss
|
16
38
|
@use '@daffodil/design/scss/theme' as daff-theme;
|
39
|
+
@use 'app-color-palettes' as palette;
|
17
40
|
|
18
41
|
// These palettes describe the colors that make up the "theme" of the components.
|
19
42
|
|
20
|
-
$primary: daff-theme.daff-configure-palette(
|
21
|
-
$secondary: daff-theme.daff-configure-palette(
|
22
|
-
$tertiary: daff-theme.daff-configure-palette(
|
43
|
+
$primary: daff-theme.daff-configure-palette(palette.$app-green, 60);
|
44
|
+
$secondary: daff-theme.daff-configure-palette(palette.$app-blue, 60);
|
45
|
+
$tertiary: daff-theme.daff-configure-palette(palette.$app-purple, 60);
|
23
46
|
|
24
47
|
$theme: daff-theme.daff-configure-theme($primary, $secondary, $tertiary, 'light');
|
25
48
|
|
26
|
-
$primary-dark: daff-theme.daff-configure-palette(
|
27
|
-
$secondary-dark: daff-theme.daff-configure-palette(
|
28
|
-
$tertiary-dark: daff-theme.daff-configure-palette(
|
49
|
+
$primary-dark: daff-theme.daff-configure-palette(palette.$app-green, 50);
|
50
|
+
$secondary-dark: daff-theme.daff-configure-palette(palette.$app-blue, 50);
|
51
|
+
$tertiary-dark: daff-theme.daff-configure-palette(palette.$app-purple, 50);
|
29
52
|
|
30
53
|
$theme-dark: daff-theme.daff-configure-theme($primary-dark, $secondary-dark, $tertiary-dark, 'dark');
|
31
54
|
|
@@ -34,26 +57,48 @@ $white: daff-theme.daff-map-deep-get($theme, 'core.white');
|
|
34
57
|
$gray: daff-theme.daff-map-deep-get($theme, 'core.gray');
|
35
58
|
```
|
36
59
|
|
37
|
-
### Setting up the styles file
|
38
|
-
|
60
|
+
### Setting up the styles file with `@daffodil/design`'s theme
|
61
|
+
Use `@daffodil/design`'s theme module to the `styles.scss` file:
|
39
62
|
|
40
63
|
```scss
|
41
|
-
@use 'theme' as
|
64
|
+
@use '@daffodil/design/scss/theme' as daff-theme;
|
65
|
+
```
|
66
|
+
|
67
|
+
Create classes in the `styles.scss` file to include the `theme` module for `$theme` and `$theme-dark` variables. This will allow you to set a click event on a button to switch between modes. [View this setup in Stackblitz](https://stackblitz.com/edit/daffodil-design-theming-angular-10)
|
68
|
+
|
69
|
+
```scss
|
70
|
+
@use '@daffodil/design/scss/theme' as daff-theme;
|
71
|
+
|
72
|
+
.daff-theme-light {
|
73
|
+
@include daff-theme.daff-theme(daff-theme.$theme);
|
74
|
+
}
|
75
|
+
|
76
|
+
.daff-theme-dark {
|
77
|
+
@include daff-theme.daff-theme(daff-theme.$theme-dark);
|
78
|
+
}
|
79
|
+
```
|
80
|
+
|
81
|
+
### Setting up the styles file with your custom theme
|
82
|
+
Add `app-theme.scss` to the `styles.scss` file:
|
83
|
+
|
84
|
+
```scss
|
85
|
+
@use '@daffodil/design/scss/theme' as daff-theme;
|
86
|
+
@use 'app-theme';
|
42
87
|
```
|
43
88
|
|
44
89
|
> These lines include theme variables and functions that will generate the theme CSS and style the components.
|
45
90
|
|
46
|
-
Create classes in the `styles.scss` file to include the `
|
91
|
+
Create classes in the `styles.scss` file to include the `theme` module for `$theme` and `$theme-dark` variables. This will allow you to set a click event on a button to switch between modes. [View this setup in Stackblitz](https://stackblitz.com/edit/daffodil-design-theming-angular-10)
|
47
92
|
|
48
93
|
```scss
|
49
94
|
@use '@daffodil/design/scss/theme' as daff-theme;
|
50
|
-
@use '
|
95
|
+
@use 'app-theme';
|
51
96
|
|
52
97
|
.daff-theme-light {
|
53
|
-
|
98
|
+
@include daff-theme.daff-theme(app-theme.$theme);
|
54
99
|
}
|
55
100
|
|
56
101
|
.daff-theme-dark {
|
57
|
-
|
102
|
+
@include daff-theme.daff-theme(app-theme.$theme-dark);
|
58
103
|
}
|
59
|
-
```
|
104
|
+
```
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@use 'configure-palette';
|
2
|
+
@use 'configure-theme';
|
3
|
+
@use 'color-palettes' as palette;
|
4
|
+
@use '../core';
|
5
|
+
|
6
|
+
$primary: configure-palette.daff-configure-palette(palette.$daff-blue, 60);
|
7
|
+
$secondary: configure-palette.daff-configure-palette(palette.$daff-purple, 60);
|
8
|
+
$tertiary: configure-palette.daff-configure-palette(palette.$daff-turquoise, 60);
|
9
|
+
|
10
|
+
$theme: configure-theme.daff-configure-theme($primary, $secondary, $tertiary, 'light');
|
11
|
+
|
12
|
+
$primary-dark: configure-palette.daff-configure-palette(palette.$daff-blue, 50);
|
13
|
+
$secondary-dark: configure-palette.daff-configure-palette(palette.$daff-purple, 50);
|
14
|
+
$tertiary-dark: configure-palette.daff-configure-palette(palette.$daff-turquoise, 50);
|
15
|
+
|
16
|
+
$theme-dark: configure-theme.daff-configure-theme($primary-dark, $secondary-dark, $tertiary-dark, 'dark');
|
17
|
+
|
18
|
+
$black: core.daff-map-deep-get($theme, 'core.black');
|
19
|
+
$white: core.daff-map-deep-get($theme, 'core.white');
|
package/scss/theming/_index.scss
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
@use 'sass:map';
|
2
2
|
@use '../core';
|
3
|
-
@use 'theming';
|
3
|
+
@use '../theming';
|
4
4
|
|
5
|
-
@
|
5
|
+
// @docs
|
6
|
+
//
|
7
|
+
// Global theme tokens
|
8
|
+
@mixin daff-root-theme-tokens($theme) {
|
6
9
|
$base: core.daff-map-deep-get($theme, 'core.base');
|
7
10
|
$base-contrast: core.daff-map-deep-get($theme, 'core.base-contrast');
|
8
11
|
$primary: map.get($theme, primary);
|
@@ -26,18 +29,18 @@
|
|
26
29
|
--daff-theme-white: #{$white};
|
27
30
|
--daff-theme-black: #{$black};
|
28
31
|
--daff-theme-gray: #{theming.daff-color($gray)};
|
32
|
+
--daff-base-background: #{$base};
|
33
|
+
--daff-base-text: #{theming.daff-text-contrast($base)};
|
29
34
|
}
|
30
35
|
|
31
|
-
@mixin daff-theme-css-variables($theme
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
else {
|
40
|
-
@include daff-root($theme);
|
36
|
+
@mixin daff-theme-css-variables($theme) {
|
37
|
+
@each $selector in & {
|
38
|
+
@if ($selector == null) {
|
39
|
+
:root {
|
40
|
+
@include daff-root-theme-tokens($theme);
|
41
|
+
}
|
42
|
+
} @else {
|
43
|
+
@include daff-root-theme-tokens($theme);
|
41
44
|
}
|
42
45
|
}
|
43
46
|
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// @docs
|
2
|
+
//
|
3
|
+
// `utilities` is a utility library that contains common functions,
|
4
|
+
// mixins and variables that make writing SCSS stylesheets a bit
|
5
|
+
// easier.
|
6
|
+
//
|
7
|
+
//
|
8
|
+
// @note You can import this as often as you like, as it only contains SCSS
|
9
|
+
// variables, mixins, and functions; thus it won't effect your final
|
10
|
+
// compiled stylesheet size.
|
11
|
+
//
|
12
|
+
// @usage
|
13
|
+
// ```scss
|
14
|
+
// @use '@daffodil/design/scss/utilities';
|
15
|
+
// ```
|
16
|
+
|
17
|
+
@forward 'core';
|
18
|
+
@forward 'typography';
|
19
|
+
@forward 'layout';
|
20
|
+
@forward 'interactions';
|
21
|
+
@forward 'accessibility';
|