@daffodil/design 0.66.1 → 0.68.0
Sign up to get free protection for your applications and to get access to all the features.
- package/accordion/README.md +21 -0
- package/accordion/accordion/accordion/accordion.component.d.ts +22 -0
- package/accordion/accordion/accordion-item/accordion-item.component.d.ts +32 -0
- package/accordion/accordion.module.d.ts +13 -0
- package/accordion/examples/accordion-examples.module.d.ts +9 -0
- package/accordion/examples/examples.d.ts +2 -0
- package/accordion/examples/public_api.d.ts +3 -6
- package/accordion/index.d.ts +1 -0
- package/accordion/public_api.d.ts +5 -0
- package/accordion/src/accordion-theme.scss +12 -0
- package/article/README.md +49 -0
- package/article/examples/article-examples.module.d.ts +1 -1
- package/article/index.d.ts +1 -0
- package/article/src/article-theme.scss +78 -0
- package/atoms/form/checkbox/checkbox.component.d.ts +1 -1
- package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +1 -1
- package/atoms/form/checkbox-set/checkbox-set.component.d.ts +1 -1
- package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
- package/atoms/form/input/input.component.d.ts +1 -1
- package/atoms/form/native-select/native-select.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-field.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +1 -1
- package/atoms/form/radio/cva/radio-cva.directive.d.ts +1 -1
- package/atoms/form/radio/radio.component.d.ts +1 -1
- package/atoms/form/radio-set/radio-set.component.d.ts +1 -1
- package/atoms/progress-indicator/progress-indicator.component.d.ts +1 -1
- package/button/README.md +58 -0
- package/button/button/button.component.d.ts +90 -0
- package/button/button.module.d.ts +10 -0
- package/button/examples/basic-button/basic-button.module.d.ts +1 -1
- package/button/examples/flat-button/flat-button.module.d.ts +1 -1
- package/button/examples/icon-button/icon-button.module.d.ts +1 -1
- package/button/examples/raised-button/raised-button.module.d.ts +1 -1
- package/button/examples/sizeable-button/sizeable-button.module.d.ts +1 -1
- package/button/examples/statusable-button/statusable-button.module.d.ts +1 -1
- package/button/examples/stroked-button/stroked-button.module.d.ts +1 -1
- package/button/examples/underline-button/underline-button.module.d.ts +1 -1
- package/button/index.d.ts +1 -0
- package/button/public_api.d.ts +2 -0
- package/button/src/button-theme-variants/button.scss +26 -0
- package/button/src/button-theme-variants/flat.scss +25 -0
- package/button/src/button-theme-variants/raised.scss +36 -0
- package/button/src/button-theme-variants/stroked.scss +28 -0
- package/button/src/button-theme.scss +574 -0
- package/callout/README.md +54 -0
- package/callout/callout/callout.component.d.ts +78 -0
- package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +5 -3
- package/callout/examples/callout-theming/callout-theming.module.d.ts +4 -3
- package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +5 -3
- package/callout/examples/compact-callout/compact-callout.module.d.ts +5 -3
- package/callout/index.d.ts +1 -0
- package/callout/src/callout-theme.scss +59 -0
- package/card/README.md +60 -0
- package/card/card/card.component.d.ts +66 -0
- package/card/examples/basic-card/basic-card.module.d.ts +5 -3
- package/card/examples/card-orientation/card-orientation.module.d.ts +5 -3
- package/card/examples/card-theming/card-theming.module.d.ts +3 -2
- package/card/examples/linkable-card/linkable-card.module.d.ts +4 -2
- package/card/examples/raised-card/raised-card.module.d.ts +4 -2
- package/card/examples/stroked-card/stroked-card.module.d.ts +4 -2
- package/card/index.d.ts +1 -0
- package/card/src/card-theme-variants/basic-card.scss +6 -0
- package/card/src/card-theme-variants/linkable-card.scss +16 -0
- package/card/src/card-theme.scss +170 -0
- package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +3 -2
- package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +3 -2
- package/container/README.md +18 -0
- package/container/container/container.component.d.ts +32 -0
- package/container/container.module.d.ts +8 -0
- package/container/examples/container-sizes/container-sizes.module.d.ts +1 -1
- package/container/index.d.ts +1 -0
- package/container/public_api.d.ts +2 -0
- package/core/colorable/colorable.d.ts +1 -1
- package/core/constructor/constructor.d.ts +1 -1
- package/core/public_api.d.ts +2 -1
- package/core/sizable/public_api.d.ts +2 -0
- package/core/sizable/sizable-mixin.d.ts +15 -0
- package/core/sizable/sizable.d.ts +23 -0
- package/core/statusable/statusable.d.ts +1 -1
- package/core/text-alignable/public_api.d.ts +2 -0
- package/core/text-alignable/text-alignable.d.ts +4 -1
- package/core/theming/services/storage/theme-storage.service.d.ts +1 -1
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +27 -0
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +54 -0
- package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
- package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +9 -0
- package/esm2022/accordion/accordion/animation/accordion-animation.mjs +18 -0
- package/esm2022/accordion/accordion.module.mjs +47 -0
- package/esm2022/accordion/daffodil-design-accordion.mjs +5 -0
- package/esm2022/accordion/examples/accordion-examples.module.mjs +26 -0
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
- package/esm2022/accordion/examples/examples.mjs +5 -0
- package/esm2022/accordion/examples/public_api.mjs +4 -0
- package/esm2022/accordion/index.mjs +2 -0
- package/esm2022/accordion/public_api.mjs +6 -0
- package/esm2022/article/article/article.component.mjs +30 -0
- package/esm2022/article/article-lead/article-lead.directive.mjs +22 -0
- package/esm2022/article/article-meta/article-meta.directive.mjs +22 -0
- package/esm2022/article/article-title/article-title.directive.mjs +22 -0
- package/esm2022/article/article.module.mjs +39 -0
- package/esm2022/article/daffodil-design-article.mjs +5 -0
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +12 -0
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
- package/esm2022/article/examples/article-examples.module.mjs +36 -0
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +12 -0
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +12 -0
- package/esm2022/article/examples/article-lead/article-lead.component.mjs +12 -0
- package/esm2022/article/examples/article-link/article-link.component.mjs +12 -0
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +12 -0
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +12 -0
- package/esm2022/article/examples/article-table/article-table.component.mjs +12 -0
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +12 -0
- package/esm2022/article/index.mjs +2 -0
- package/esm2022/article/public_api.mjs +6 -0
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +142 -0
- package/esm2022/atoms/form/checkbox/checkbox.module.mjs +39 -0
- package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
- package/esm2022/atoms/form/error-message/error-message.component.mjs +17 -0
- package/esm2022/atoms/form/error-message/error-message.module.mjs +20 -0
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
- package/esm2022/atoms/form/form-field/form-field.module.mjs +34 -0
- package/esm2022/atoms/form/form-label/form-label.directive.mjs +19 -0
- package/esm2022/atoms/form/form-label/form-label.module.mjs +20 -0
- package/esm2022/atoms/form/input/input.component.mjs +59 -0
- package/esm2022/atoms/form/input/input.module.mjs +24 -0
- package/esm2022/atoms/form/native-select/native-select.component.mjs +64 -0
- package/esm2022/atoms/form/native-select/native-select.module.mjs +24 -0
- package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +134 -0
- package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +46 -0
- package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +97 -0
- package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +84 -0
- package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
- package/esm2022/atoms/form/radio/radio.component.mjs +132 -0
- package/esm2022/atoms/form/radio/radio.module.mjs +34 -0
- package/esm2022/atoms/form/radio/registry/radio-registry.mjs +54 -0
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +22 -0
- package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
- package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +20 -0
- package/esm2022/button/button/button.component.mjs +185 -0
- package/esm2022/button/button.module.mjs +34 -0
- package/esm2022/button/daffodil-design-button.mjs +5 -0
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +19 -0
- package/esm2022/button/examples/basic-button/basic-button.module.mjs +28 -0
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +19 -0
- package/esm2022/button/examples/flat-button/flat-button.module.mjs +28 -0
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +17 -0
- package/esm2022/button/examples/icon-button/icon-button.module.mjs +28 -0
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +19 -0
- package/esm2022/button/examples/raised-button/raised-button.module.mjs +28 -0
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +17 -0
- package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +28 -0
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +19 -0
- package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +28 -0
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +19 -0
- package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +28 -0
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +19 -0
- package/esm2022/button/examples/underline-button/underline-button.module.mjs +28 -0
- package/esm2022/button/index.mjs +2 -0
- package/esm2022/button/public_api.mjs +3 -0
- package/esm2022/callout/callout/callout.component.mjs +67 -0
- package/esm2022/callout/callout-body/callout-body.directive.mjs +22 -0
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +22 -0
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
- package/esm2022/callout/callout-title/callout-title.directive.mjs +22 -0
- package/esm2022/callout/callout.module.mjs +49 -0
- package/esm2022/callout/daffodil-design-callout.mjs +5 -0
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +29 -0
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +32 -0
- package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +37 -0
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +19 -0
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +19 -0
- package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
- package/esm2022/callout/index.mjs +2 -0
- package/esm2022/callout/public_api.mjs +8 -0
- package/esm2022/card/card/card.component.mjs +112 -0
- package/esm2022/card/card-actions/card-actions.directive.mjs +22 -0
- package/esm2022/card/card-content/card-content.directive.mjs +22 -0
- package/esm2022/card/card-icon/card-icon.directive.mjs +22 -0
- package/esm2022/card/card-image/card-image.directive.mjs +22 -0
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +22 -0
- package/esm2022/card/card-title/card-title.directive.mjs +22 -0
- package/esm2022/card/card.module.mjs +54 -0
- package/esm2022/card/daffodil-design-card.mjs +5 -0
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +19 -0
- package/esm2022/card/examples/basic-card/basic-card.module.mjs +40 -0
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +28 -0
- package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +44 -0
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +28 -0
- package/esm2022/card/examples/card-theming/card-theming.module.mjs +36 -0
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +31 -0
- package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +44 -0
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +29 -0
- package/esm2022/card/examples/raised-card/raised-card.module.mjs +40 -0
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +29 -0
- package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +44 -0
- package/esm2022/card/index.mjs +2 -0
- package/esm2022/card/public_api.mjs +9 -0
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +27 -0
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +33 -0
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +29 -0
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +33 -0
- package/esm2022/container/container/container.component.mjs +37 -0
- package/esm2022/container/container.module.mjs +24 -0
- package/esm2022/container/daffodil-design-container.mjs +5 -0
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +25 -0
- package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +32 -0
- package/esm2022/container/index.mjs +2 -0
- package/esm2022/container/public_api.mjs +3 -0
- package/esm2022/core/colorable/colorable-mixin.mjs +42 -0
- package/esm2022/core/compactable/compactable-mixin.mjs +26 -0
- package/esm2022/core/focus/stack.service.mjs +71 -0
- package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
- package/esm2022/core/prefix-suffix/prefix.directive.mjs +24 -0
- package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
- package/esm2022/core/prefix-suffix/suffix.directive.mjs +24 -0
- package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
- package/esm2022/core/public_api.mjs +18 -0
- package/esm2022/core/sizable/public_api.mjs +3 -0
- package/esm2022/core/sizable/sizable-mixin.mjs +31 -0
- package/esm2022/core/sizable/sizable.mjs +13 -0
- package/esm2022/core/skeletonable/skeletonable-mixin.mjs +26 -0
- package/esm2022/core/statusable/statusable-mixin.mjs +32 -0
- package/esm2022/core/text-alignable/public_api.mjs +3 -0
- package/esm2022/core/text-alignable/text-alignable-mixin.mjs +35 -0
- package/esm2022/core/text-alignable/text-alignable.mjs +7 -0
- package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
- package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +49 -0
- package/esm2022/core/theming/services/storage/theme-storage.service.mjs +67 -0
- package/esm2022/core/theming/services/theming.service.mjs +61 -0
- package/esm2022/hero/daffodil-design-hero.mjs +5 -0
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +18 -0
- package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +40 -0
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +29 -0
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +22 -0
- package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +40 -0
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +19 -0
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
- package/esm2022/hero/hero/hero.component.mjs +68 -0
- package/esm2022/hero/hero-body/hero-body.directive.mjs +22 -0
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +22 -0
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
- package/esm2022/hero/hero-title/hero-title.directive.mjs +22 -0
- package/esm2022/hero/hero.module.mjs +49 -0
- package/esm2022/hero/index.mjs +2 -0
- package/esm2022/hero/public_api.mjs +8 -0
- package/esm2022/image/daffodil-design-image.mjs +5 -0
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +12 -0
- package/esm2022/image/examples/basic-image/basic-image.module.mjs +24 -0
- package/esm2022/image/examples/load-image/load-image.component.mjs +19 -0
- package/esm2022/image/examples/load-image/load-image.module.mjs +28 -0
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +12 -0
- package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +24 -0
- package/esm2022/image/image/image.component.mjs +125 -0
- package/esm2022/image/image.module.mjs +24 -0
- package/esm2022/image/index.mjs +2 -0
- package/esm2022/image/public_api.mjs +3 -0
- package/esm2022/input/examples/basic-input/basic-input.component.mjs +12 -0
- package/esm2022/input/examples/basic-input/basic-input.module.mjs +24 -0
- package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +12 -0
- package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +24 -0
- package/esm2022/input/examples/input-error/input-error.component.mjs +20 -0
- package/esm2022/input/examples/input-error/input-error.module.mjs +28 -0
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +12 -0
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +24 -0
- package/esm2022/link-set/daffodil-design-link-set.mjs +5 -0
- package/esm2022/link-set/index.mjs +2 -0
- package/esm2022/link-set/link-set/link-set.component.mjs +37 -0
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +26 -0
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
- package/esm2022/link-set/link-set.module.mjs +39 -0
- package/esm2022/link-set/public_api.mjs +6 -0
- package/esm2022/list/daffodil-design-list.mjs +5 -0
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +12 -0
- package/esm2022/list/examples/basic-list/basic-list.module.mjs +28 -0
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +18 -0
- package/esm2022/list/examples/icon-list/icon-list.module.mjs +32 -0
- package/esm2022/list/examples/list-examples.module.mjs +33 -0
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +12 -0
- package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +32 -0
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +18 -0
- package/esm2022/list/examples/nav-list/nav-list.module.mjs +32 -0
- package/esm2022/list/index.mjs +2 -0
- package/esm2022/list/list/list.component.mjs +110 -0
- package/esm2022/list/list-item/list-item.component.mjs +49 -0
- package/esm2022/list/list-subheader/list-subheader.directive.mjs +25 -0
- package/esm2022/list/list.module.mjs +40 -0
- package/esm2022/list/public_api.mjs +5 -0
- package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +5 -0
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +20 -0
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +32 -0
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +24 -0
- package/esm2022/loading-icon/index.mjs +2 -0
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +52 -0
- package/esm2022/loading-icon/loading-icon.module.mjs +24 -0
- package/esm2022/loading-icon/public_api.mjs +3 -0
- package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +5 -0
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +13 -0
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +29 -0
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +13 -0
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +29 -0
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +13 -0
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +29 -0
- package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +2 -0
- package/esm2022/media-gallery/helpers/media-gallery-token.mjs +3 -0
- package/esm2022/media-gallery/index.mjs +2 -0
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +59 -0
- package/esm2022/media-gallery/media-gallery.module.mjs +32 -0
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +80 -0
- package/esm2022/media-gallery/public_api.mjs +5 -0
- package/esm2022/media-gallery/registry/media-gallery.registry.mjs +97 -0
- package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +6 -0
- package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +2 -0
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
- package/esm2022/menu/daffodil-design-menu.mjs +5 -0
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +17 -0
- package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +35 -0
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +19 -0
- package/esm2022/menu/helpers/create-overlay.mjs +29 -0
- package/esm2022/menu/helpers/public_api.mjs +2 -0
- package/esm2022/menu/index.mjs +2 -0
- package/esm2022/menu/menu/menu.component.mjs +63 -0
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +48 -0
- package/esm2022/menu/menu-item/menu-item.component.mjs +35 -0
- package/esm2022/menu/menu.module.mjs +44 -0
- package/esm2022/menu/public_api.mjs +7 -0
- package/esm2022/menu/services/menu.service.mjs +52 -0
- package/esm2022/modal/animations/modal-animation-state.mjs +2 -0
- package/esm2022/modal/animations/modal-animation.mjs +9 -0
- package/esm2022/modal/daffodil-design-modal.mjs +5 -0
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +21 -0
- package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +31 -0
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +13 -0
- package/esm2022/modal/index.mjs +2 -0
- package/esm2022/modal/modal/modal-config.mjs +2 -0
- package/esm2022/modal/modal/modal.component.mjs +93 -0
- package/esm2022/modal/modal/modal.mjs +2 -0
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +11 -0
- package/esm2022/modal/modal-content/modal-content.component.mjs +11 -0
- package/esm2022/modal/modal-header/modal-header.component.mjs +20 -0
- package/esm2022/modal/modal-title/modal-title.directive.mjs +22 -0
- package/esm2022/modal/modal.module.mjs +50 -0
- package/esm2022/modal/public_api.mjs +8 -0
- package/esm2022/modal/service/modal.service.mjs +70 -0
- package/esm2022/molecules/backdrop/backdrop/backdrop.component.mjs +87 -0
- package/esm2022/molecules/backdrop/backdrop.module.mjs +24 -0
- package/esm2022/molecules/button-set/button-set.component.mjs +23 -0
- package/esm2022/molecules/button-set/button-set.module.mjs +20 -0
- package/esm2022/molecules/feature/feature/feature.component.mjs +49 -0
- package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature.module.mjs +44 -0
- package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
- package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
- package/esm2022/molecules/image-gallery/image-gallery.module.mjs +33 -0
- package/esm2022/molecules/image-list/image-list.component.mjs +20 -0
- package/esm2022/molecules/image-list/image-list.module.mjs +24 -0
- package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +113 -0
- package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +40 -0
- package/esm2022/navbar/daffodil-design-navbar.mjs +5 -0
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +13 -0
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +14 -0
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +29 -0
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +33 -0
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +13 -0
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +29 -0
- package/esm2022/navbar/index.mjs +2 -0
- package/esm2022/navbar/navbar/navbar.component.mjs +50 -0
- package/esm2022/navbar/navbar.module.mjs +20 -0
- package/esm2022/navbar/public_api.mjs +3 -0
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +19 -0
- package/esm2022/notification/examples/default-notification/default-notification.module.mjs +36 -0
- package/esm2022/notification/examples/dismissable-notification/dismissable-notification.component.mjs +18 -0
- package/esm2022/notification/examples/dismissable-notification/dismissable-notification.module.mjs +36 -0
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +24 -0
- package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +40 -0
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +25 -0
- package/esm2022/notification/examples/notification-status/notification-status.module.mjs +40 -0
- package/esm2022/notification/notification/notification.component.mjs +95 -0
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +19 -0
- package/esm2022/notification/notification-message/notification-message.directive.mjs +19 -0
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +19 -0
- package/esm2022/notification/notification-title/notification-title.directive.mjs +19 -0
- package/esm2022/notification/notification.module.mjs +54 -0
- package/esm2022/paginator/daffodil-design-paginator.mjs +5 -0
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +26 -0
- package/esm2022/paginator/examples/paginator-examples.module.mjs +27 -0
- package/esm2022/paginator/paginator/paginator.component.mjs +182 -0
- package/esm2022/paginator/paginator.module.mjs +32 -0
- package/esm2022/paginator/public_api.mjs +3 -0
- package/esm2022/paginator/utils/paginator-errors.mjs +3 -0
- package/esm2022/public_api.mjs +26 -0
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +35 -0
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +35 -0
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +35 -0
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +35 -0
- package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +19 -0
- package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +29 -0
- package/esm2022/sidebar/animation/sidebar-animation-state.mjs +24 -0
- package/esm2022/sidebar/animation/sidebar-animation-width.mjs +2 -0
- package/esm2022/sidebar/animation/sidebar-animation.mjs +51 -0
- package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +4 -0
- package/esm2022/sidebar/daffodil-design-sidebar.mjs +5 -0
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +12 -0
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +32 -0
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +29 -0
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +44 -0
- package/esm2022/sidebar/examples/public_api.mjs +15 -0
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +13 -0
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +32 -0
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +12 -0
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +28 -0
- package/esm2022/sidebar/helper/sidebar-mode.mjs +2 -0
- package/esm2022/sidebar/helper/sidebar-side.mjs +2 -0
- package/esm2022/sidebar/index.mjs +2 -0
- package/esm2022/sidebar/public_api.mjs +8 -0
- package/esm2022/sidebar/sidebar/is-opening.mjs +13 -0
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +158 -0
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +17 -0
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +22 -0
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +22 -0
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +17 -0
- package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +16 -0
- package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +10 -0
- package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +39 -0
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +206 -0
- package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +5 -0
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +17 -0
- package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +21 -0
- package/esm2022/sidebar/sidebar.module.mjs +57 -0
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +39 -0
- package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +32 -0
- package/esm2022/tree/tree/tree-notifier.service.mjs +45 -0
- package/esm2022/tree/tree/tree.component.mjs +106 -0
- package/esm2022/tree/tree-item/tree-item.directive.mjs +154 -0
- package/esm2022/tree/tree.module.mjs +29 -0
- package/examples/examples.d.ts +1 -1
- package/fesm2022/daffodil-design-accordion-examples.mjs +45 -0
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-accordion.mjs +191 -0
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -0
- package/fesm2022/daffodil-design-article-examples.mjs +145 -0
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-article.mjs +130 -0
- package/fesm2022/daffodil-design-article.mjs.map +1 -0
- package/fesm2022/daffodil-design-button-examples.mjs +313 -0
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-button.mjs +222 -0
- package/fesm2022/daffodil-design-button.mjs.map +1 -0
- package/fesm2022/daffodil-design-callout-examples.mjs +217 -0
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-callout.mjs +215 -0
- package/fesm2022/daffodil-design-callout.mjs.map +1 -0
- package/fesm2022/daffodil-design-card-examples.mjs +350 -0
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-card.mjs +284 -0
- package/fesm2022/daffodil-design-card.mjs.map +1 -0
- package/fesm2022/daffodil-design-checkbox-examples.mjs +121 -0
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-container-examples.mjs +64 -0
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-container.mjs +65 -0
- package/fesm2022/daffodil-design-container.mjs.map +1 -0
- package/fesm2022/daffodil-design-hero-examples.mjs +214 -0
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-hero.mjs +216 -0
- package/fesm2022/daffodil-design-hero.mjs.map +1 -0
- package/fesm2022/daffodil-design-image-examples.mjs +115 -0
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-image.mjs +152 -0
- package/fesm2022/daffodil-design-image.mjs.map +1 -0
- package/fesm2022/daffodil-design-input-examples.mjs +145 -0
- package/fesm2022/daffodil-design-input-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-link-set.mjs +147 -0
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -0
- package/fesm2022/daffodil-design-list-examples.mjs +192 -0
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-list.mjs +220 -0
- package/fesm2022/daffodil-design-list.mjs.map +1 -0
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +89 -0
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-loading-icon.mjs +80 -0
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -0
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +118 -0
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-media-gallery.mjs +347 -0
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -0
- package/fesm2022/daffodil-design-menu-examples.mjs +74 -0
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-menu.mjs +256 -0
- package/fesm2022/daffodil-design-menu.mjs.map +1 -0
- package/fesm2022/daffodil-design-modal-examples.mjs +66 -0
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-modal.mjs +270 -0
- package/fesm2022/daffodil-design-modal.mjs.map +1 -0
- package/fesm2022/daffodil-design-navbar-examples.mjs +176 -0
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-navbar.mjs +74 -0
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -0
- package/fesm2022/daffodil-design-notification-examples.mjs +204 -0
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-notification.mjs +216 -0
- package/fesm2022/daffodil-design-notification.mjs.map +1 -0
- package/fesm2022/daffodil-design-paginator-examples.mjs +75 -0
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-paginator.mjs +220 -0
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -0
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +185 -0
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-radio-examples.mjs +58 -0
- package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-sidebar-examples.mjs +187 -0
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-sidebar.mjs +670 -0
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -0
- package/fesm2022/daffodil-design-tree-examples.mjs +79 -0
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-tree.mjs +446 -0
- package/fesm2022/daffodil-design-tree.mjs.map +1 -0
- package/fesm2022/daffodil-design.mjs +2675 -0
- package/fesm2022/daffodil-design.mjs.map +1 -0
- package/hero/README.md +54 -0
- package/hero/examples/compact-hero/compact-hero.module.d.ts +4 -3
- package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +5 -3
- package/hero/examples/hero-theming/hero-theming.module.d.ts +4 -3
- package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +5 -3
- package/hero/hero/hero.component.d.ts +79 -0
- package/hero/index.d.ts +1 -0
- package/hero/src/hero-theme.scss +59 -0
- package/image/README.md +31 -0
- package/image/examples/basic-image/basic-image.module.d.ts +1 -1
- package/image/examples/load-image/load-image.module.d.ts +1 -1
- package/image/examples/skeleton-image/skeleton-image.module.d.ts +1 -1
- package/image/image/image.component.d.ts +52 -0
- package/image/image.module.d.ts +8 -0
- package/image/index.d.ts +1 -0
- package/image/public_api.d.ts +2 -0
- package/link-set/README.md +44 -0
- package/link-set/index.d.ts +1 -0
- package/link-set/link-set/link-set.component.d.ts +32 -0
- package/list/README.md +69 -0
- package/list/examples/basic-list/basic-list.module.d.ts +1 -1
- package/list/examples/icon-list/icon-list.module.d.ts +1 -1
- package/list/examples/multiline-list/multiline-list.module.d.ts +1 -1
- package/list/examples/nav-list/nav-list.module.d.ts +1 -1
- package/list/index.d.ts +1 -0
- package/list/list/list.component.d.ts +71 -0
- package/list/list-item/list-item.component.d.ts +30 -0
- package/list/list.module.d.ts +11 -0
- package/list/src/list-theme.scss +71 -0
- package/loading-icon/README.md +7 -0
- package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +4 -3
- package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +1 -1
- package/loading-icon/index.d.ts +1 -0
- package/loading-icon/loading-icon/loading-icon.component.d.ts +40 -0
- package/loading-icon/loading-icon.module.d.ts +8 -0
- package/loading-icon/public_api.d.ts +2 -0
- package/loading-icon/src/loading-icon-theme.scss +61 -0
- package/media-gallery/README.md +19 -0
- package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +3 -2
- package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +3 -2
- package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +3 -2
- package/media-gallery/index.d.ts +1 -0
- package/media-gallery/media-gallery/media-gallery.component.d.ts +41 -0
- package/media-gallery/media-gallery.module.d.ts +10 -0
- package/media-gallery/media-renderer/media-renderer.component.d.ts +29 -0
- package/media-gallery/public_api.d.ts +4 -0
- package/media-gallery/registry/media-gallery.registry.d.ts +34 -0
- package/media-gallery/src/media-gallery-theme.scss +27 -0
- package/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +9 -0
- package/media-gallery/thumbnail/thumbnail.directive.d.ts +44 -0
- package/menu/README.md +7 -0
- package/menu/examples/basic-menu/basic-menu.module.d.ts +4 -3
- package/menu/index.d.ts +1 -0
- package/menu/menu/menu.component.d.ts +19 -0
- package/menu/menu-activator/menu-activator.component.d.ts +18 -0
- package/menu/menu-item/menu-item.component.d.ts +20 -0
- package/menu/public_api.d.ts +6 -0
- package/menu/services/menu.service.d.ts +24 -0
- package/menu/src/menu-theme.scss +25 -0
- package/modal/README.md +47 -0
- package/modal/animations/modal-animation-state.d.ts +1 -0
- package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
- package/modal/examples/basic-modal/basic-modal.module.d.ts +3 -2
- package/modal/index.d.ts +1 -0
- package/modal/modal/modal.component.d.ts +52 -0
- package/modal/modal/modal.d.ts +13 -0
- package/modal/public_api.d.ts +8 -0
- package/modal/service/modal.service.d.ts +19 -0
- package/modal/src/modal-theme.scss +9 -0
- package/molecules/backdrop/animation/backdrop-animation-state.d.ts +1 -1
- package/molecules/backdrop/backdrop/backdrop.component.d.ts +1 -1
- package/molecules/feature/feature/feature.component.d.ts +2 -2
- package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +1 -1
- package/molecules/qty-dropdown/qty-dropdown.component.d.ts +1 -1
- package/navbar/README.md +41 -0
- package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +4 -2
- package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +4 -2
- package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +3 -2
- package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +3 -2
- package/navbar/index.d.ts +1 -0
- package/navbar/navbar/navbar.component.d.ts +40 -0
- package/navbar/navbar.module.d.ts +7 -0
- package/navbar/public_api.d.ts +2 -0
- package/navbar/src/navbar-theme.scss +57 -0
- package/notification/examples/default-notification/default-notification.module.d.ts +1 -1
- package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +1 -1
- package/notification/examples/notification-orientations/notification-orientations.module.d.ts +1 -1
- package/notification/examples/notification-status/notification-status.module.d.ts +1 -1
- package/notification/notification/notification.component.d.ts +2 -2
- package/notification/src/notification-theme.scss +4 -4
- package/package.json +1 -1
- package/paginator/README.md +11 -0
- package/paginator/examples/paginator-examples.module.d.ts +1 -1
- package/paginator/index.d.ts +5 -0
- package/paginator/paginator/paginator.component.d.ts +145 -0
- package/paginator/paginator.module.d.ts +10 -0
- package/paginator/public_api.d.ts +2 -0
- package/paginator/src/paginator-theme.scss +90 -0
- package/public_api.d.ts +0 -17
- package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -3
- package/scss/state/skeleton/_mixins.scss +2 -2
- package/scss/theme.scss +15 -17
- package/scss/theming/_color-palettes.scss +1 -1
- package/scss/theming/_configure-theme.scss +12 -12
- package/scss/theming/_theme-css-variables.scss +2 -2
- package/scss/theming/contrast/text-contrast/text-contrast.scss +1 -1
- package/sidebar/README.md +135 -0
- package/sidebar/animation/sidebar-animation-state.d.ts +3 -0
- package/sidebar/animation/sidebar-animation.d.ts +15 -0
- package/sidebar/animation/sidebar-viewport-animation-state.d.ts +8 -0
- package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +4 -2
- package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +12 -0
- package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +13 -0
- package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +5 -0
- package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +10 -0
- package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +5 -0
- package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +9 -0
- package/sidebar/helper/sidebar-mode.d.ts +27 -0
- package/sidebar/helper/sidebar-side.d.ts +12 -0
- package/sidebar/index.d.ts +1 -0
- package/sidebar/public_api.d.ts +9 -0
- package/sidebar/sidebar/is-opening.d.ts +5 -0
- package/sidebar/sidebar/sidebar.component.d.ts +73 -0
- package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +6 -0
- package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +9 -0
- package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +9 -0
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +6 -0
- package/sidebar/sidebar-viewport/helper/has-parent-viewport.d.ts +6 -0
- package/sidebar/sidebar-viewport/nav-placement.d.ts +13 -0
- package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +23 -0
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +100 -0
- package/sidebar/sidebar-viewport/utils/backdrop-interactable.d.ts +6 -0
- package/sidebar/sidebar-viewport/utils/content-pad.d.ts +7 -0
- package/sidebar/sidebar-viewport/utils/content-shift.d.ts +8 -0
- package/sidebar/sidebar.module.d.ts +15 -0
- package/sidebar/src/helper/_variables.scss +8 -0
- package/sidebar/src/sidebar-theme.scss +22 -0
- package/src/atoms/form/form-field/form-field/form-field-theme.scss +3 -3
- package/src/atoms/form/native-select/native-select-theme.scss +2 -2
- package/tree/interfaces/recursive-key.d.ts +1 -1
- package/tree/src/tree-theme.scss +4 -4
- package/tree/tree/tree.component.d.ts +1 -1
- package/tree/tree-item/tree-item.directive.d.ts +1 -1
- package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +0 -8
- package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +0 -5
- package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +0 -8
- package/atoms/button/button.component.d.ts +0 -105
- package/atoms/button/button.module.d.ts +0 -10
- package/atoms/button/public_api.d.ts +0 -2
- package/atoms/container/container.component.d.ts +0 -34
- package/atoms/container/container.module.d.ts +0 -8
- package/atoms/container/public_api.d.ts +0 -2
- package/atoms/image/image.component.d.ts +0 -54
- package/atoms/image/image.module.d.ts +0 -8
- package/atoms/image/public_api.d.ts +0 -2
- package/atoms/loading-icon/loading-icon.component.d.ts +0 -42
- package/atoms/loading-icon/loading-icon.module.d.ts +0 -8
- package/atoms/loading-icon/public_api.d.ts +0 -2
- package/core/sizeable/sizeable-mixin.d.ts +0 -15
- package/core/sizeable/sizeable.d.ts +0 -16
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -12
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +0 -24
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +0 -12
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +0 -24
- package/esm2020/accordion/examples/public_api.mjs +0 -10
- package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +0 -12
- package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +0 -12
- package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +0 -12
- package/esm2020/article/examples/article-examples.module.mjs +0 -36
- package/esm2020/article/examples/article-headings/article-headings.component.mjs +0 -12
- package/esm2020/article/examples/article-hr/article-hr.component.mjs +0 -12
- package/esm2020/article/examples/article-lead/article-lead.component.mjs +0 -12
- package/esm2020/article/examples/article-link/article-link.component.mjs +0 -12
- package/esm2020/article/examples/article-meta/article-meta.component.mjs +0 -12
- package/esm2020/article/examples/article-ol/article-ol.component.mjs +0 -12
- package/esm2020/article/examples/article-table/article-table.component.mjs +0 -12
- package/esm2020/article/examples/article-ul/article-ul.component.mjs +0 -12
- package/esm2020/atoms/button/button.component.mjs +0 -189
- package/esm2020/atoms/button/button.module.mjs +0 -34
- package/esm2020/atoms/button/public_api.mjs +0 -3
- package/esm2020/atoms/container/container.component.mjs +0 -37
- package/esm2020/atoms/container/container.module.mjs +0 -24
- package/esm2020/atoms/container/public_api.mjs +0 -3
- package/esm2020/atoms/form/checkbox/checkbox.component.mjs +0 -142
- package/esm2020/atoms/form/checkbox/checkbox.module.mjs +0 -39
- package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
- package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
- package/esm2020/atoms/form/error-message/error-message.component.mjs +0 -17
- package/esm2020/atoms/form/error-message/error-message.module.mjs +0 -20
- package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
- package/esm2020/atoms/form/form-field/form-field.module.mjs +0 -34
- package/esm2020/atoms/form/form-label/form-label.directive.mjs +0 -19
- package/esm2020/atoms/form/form-label/form-label.module.mjs +0 -20
- package/esm2020/atoms/form/input/input.component.mjs +0 -59
- package/esm2020/atoms/form/input/input.module.mjs +0 -24
- package/esm2020/atoms/form/native-select/native-select.component.mjs +0 -64
- package/esm2020/atoms/form/native-select/native-select.module.mjs +0 -24
- package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +0 -134
- package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
- package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
- package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
- package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
- package/esm2020/atoms/form/radio/radio.component.mjs +0 -132
- package/esm2020/atoms/form/radio/radio.module.mjs +0 -34
- package/esm2020/atoms/form/radio/registry/radio-registry.mjs +0 -54
- package/esm2020/atoms/form/radio-set/radio-set.component.mjs +0 -22
- package/esm2020/atoms/image/image.component.mjs +0 -125
- package/esm2020/atoms/image/image.module.mjs +0 -24
- package/esm2020/atoms/image/public_api.mjs +0 -3
- package/esm2020/atoms/loading-icon/loading-icon.component.mjs +0 -52
- package/esm2020/atoms/loading-icon/loading-icon.module.mjs +0 -24
- package/esm2020/atoms/loading-icon/public_api.mjs +0 -3
- package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +0 -81
- package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
- package/esm2020/button/examples/basic-button/basic-button.component.mjs +0 -18
- package/esm2020/button/examples/basic-button/basic-button.module.mjs +0 -28
- package/esm2020/button/examples/flat-button/flat-button.component.mjs +0 -18
- package/esm2020/button/examples/flat-button/flat-button.module.mjs +0 -28
- package/esm2020/button/examples/icon-button/icon-button.component.mjs +0 -17
- package/esm2020/button/examples/icon-button/icon-button.module.mjs +0 -28
- package/esm2020/button/examples/raised-button/raised-button.component.mjs +0 -18
- package/esm2020/button/examples/raised-button/raised-button.module.mjs +0 -28
- package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +0 -17
- package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
- package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +0 -19
- package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +0 -28
- package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +0 -18
- package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +0 -28
- package/esm2020/button/examples/underline-button/underline-button.component.mjs +0 -18
- package/esm2020/button/examples/underline-button/underline-button.module.mjs +0 -28
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -27
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -39
- package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +0 -31
- package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +0 -36
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -17
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -39
- package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +0 -17
- package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +0 -35
- package/esm2020/card/examples/basic-card/basic-card.component.mjs +0 -17
- package/esm2020/card/examples/basic-card/basic-card.module.mjs +0 -38
- package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +0 -26
- package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +0 -42
- package/esm2020/card/examples/card-theming/card-theming.component.mjs +0 -28
- package/esm2020/card/examples/card-theming/card-theming.module.mjs +0 -35
- package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +0 -30
- package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +0 -42
- package/esm2020/card/examples/raised-card/raised-card.component.mjs +0 -28
- package/esm2020/card/examples/raised-card/raised-card.module.mjs +0 -38
- package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +0 -28
- package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +0 -42
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -26
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -32
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -28
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -32
- package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +0 -25
- package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +0 -32
- package/esm2020/core/colorable/colorable-mixin.mjs +0 -42
- package/esm2020/core/compactable/compactable-mixin.mjs +0 -26
- package/esm2020/core/focus/stack.service.mjs +0 -71
- package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
- package/esm2020/core/prefix-suffix/prefix.directive.mjs +0 -24
- package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
- package/esm2020/core/prefix-suffix/suffix.directive.mjs +0 -24
- package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
- package/esm2020/core/public_api.mjs +0 -17
- package/esm2020/core/sizeable/sizeable-mixin.mjs +0 -31
- package/esm2020/core/sizeable/sizeable.mjs +0 -9
- package/esm2020/core/skeletonable/skeletonable-mixin.mjs +0 -26
- package/esm2020/core/statusable/statusable-mixin.mjs +0 -32
- package/esm2020/core/text-alignable/text-alignable-mixin.mjs +0 -35
- package/esm2020/core/text-alignable/text-alignable.mjs +0 -7
- package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
- package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +0 -49
- package/esm2020/core/theming/services/storage/theme-storage.service.mjs +0 -67
- package/esm2020/core/theming/services/theming.service.mjs +0 -61
- package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +0 -17
- package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +0 -39
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -27
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -39
- package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +0 -21
- package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +0 -39
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -17
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -39
- package/esm2020/image/examples/basic-image/basic-image.component.mjs +0 -12
- package/esm2020/image/examples/basic-image/basic-image.module.mjs +0 -24
- package/esm2020/image/examples/load-image/load-image.component.mjs +0 -19
- package/esm2020/image/examples/load-image/load-image.module.mjs +0 -28
- package/esm2020/image/examples/skeleton-image/skeleton-image.component.mjs +0 -12
- package/esm2020/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
- package/esm2020/input/examples/basic-input/basic-input.component.mjs +0 -12
- package/esm2020/input/examples/basic-input/basic-input.module.mjs +0 -24
- package/esm2020/input/examples/input-disabled/input-disabled.component.mjs +0 -12
- package/esm2020/input/examples/input-disabled/input-disabled.module.mjs +0 -24
- package/esm2020/input/examples/input-error/input-error.component.mjs +0 -20
- package/esm2020/input/examples/input-error/input-error.module.mjs +0 -28
- package/esm2020/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -12
- package/esm2020/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
- package/esm2020/list/examples/basic-list/basic-list.component.mjs +0 -12
- package/esm2020/list/examples/basic-list/basic-list.module.mjs +0 -28
- package/esm2020/list/examples/icon-list/icon-list.component.mjs +0 -17
- package/esm2020/list/examples/icon-list/icon-list.module.mjs +0 -32
- package/esm2020/list/examples/list-examples.module.mjs +0 -33
- package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +0 -12
- package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +0 -32
- package/esm2020/list/examples/nav-list/nav-list.component.mjs +0 -17
- package/esm2020/list/examples/nav-list/nav-list.module.mjs +0 -32
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -19
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -31
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -12
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -12
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -28
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -12
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -28
- package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -12
- package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -28
- package/esm2020/menu/examples/basic-menu/basic-menu.component.mjs +0 -16
- package/esm2020/menu/examples/basic-menu/basic-menu.module.mjs +0 -34
- package/esm2020/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -19
- package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +0 -20
- package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +0 -30
- package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +0 -12
- package/esm2020/molecules/accordion/accordion/accordion.component.mjs +0 -27
- package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +0 -54
- package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -22
- package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -22
- package/esm2020/molecules/accordion/accordion.module.mjs +0 -52
- package/esm2020/molecules/accordion/animation/accordion-animation-state.mjs +0 -9
- package/esm2020/molecules/accordion/animation/accordion-animation.mjs +0 -18
- package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +0 -81
- package/esm2020/molecules/accordion/public_api.mjs +0 -7
- package/esm2020/molecules/article/article/article.component.mjs +0 -30
- package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +0 -22
- package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +0 -22
- package/esm2020/molecules/article/article-title/article-title.directive.mjs +0 -22
- package/esm2020/molecules/article/article.module.mjs +0 -39
- package/esm2020/molecules/article/public_api.mjs +0 -6
- package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +0 -87
- package/esm2020/molecules/backdrop/backdrop.module.mjs +0 -24
- package/esm2020/molecules/button-set/button-set.component.mjs +0 -23
- package/esm2020/molecules/button-set/button-set.module.mjs +0 -20
- package/esm2020/molecules/callout/callout/callout.component.mjs +0 -71
- package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout.module.mjs +0 -49
- package/esm2020/molecules/callout/public_api.mjs +0 -8
- package/esm2020/molecules/card/card/card.component.mjs +0 -113
- package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +0 -22
- package/esm2020/molecules/card/card-content/card-content.directive.mjs +0 -22
- package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +0 -22
- package/esm2020/molecules/card/card-image/card-image.directive.mjs +0 -22
- package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +0 -22
- package/esm2020/molecules/card/card-title/card-title.directive.mjs +0 -22
- package/esm2020/molecules/card/card.module.mjs +0 -54
- package/esm2020/molecules/card/public_api.mjs +0 -9
- package/esm2020/molecules/feature/feature/feature.component.mjs +0 -49
- package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature.module.mjs +0 -44
- package/esm2020/molecules/hero/hero/hero.component.mjs +0 -72
- package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero.module.mjs +0 -49
- package/esm2020/molecules/hero/public_api.mjs +0 -8
- package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
- package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
- package/esm2020/molecules/image-gallery/image-gallery.module.mjs +0 -33
- package/esm2020/molecules/image-list/image-list.component.mjs +0 -20
- package/esm2020/molecules/image-list/image-list.module.mjs +0 -24
- package/esm2020/molecules/link-set/link-set/link-set.component.mjs +0 -37
- package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +0 -25
- package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +0 -26
- package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -25
- package/esm2020/molecules/link-set/link-set.module.mjs +0 -39
- package/esm2020/molecules/link-set/public_api.mjs +0 -6
- package/esm2020/molecules/list/list/list.component.mjs +0 -110
- package/esm2020/molecules/list/list-item/list-item.component.mjs +0 -49
- package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +0 -25
- package/esm2020/molecules/list/list.module.mjs +0 -40
- package/esm2020/molecules/list/public_api.mjs +0 -5
- package/esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs +0 -2
- package/esm2020/molecules/media-gallery/media-gallery-token.mjs +0 -3
- package/esm2020/molecules/media-gallery/media-gallery.component.mjs +0 -60
- package/esm2020/molecules/media-gallery/media-gallery.module.mjs +0 -32
- package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +0 -76
- package/esm2020/molecules/media-gallery/public_api.mjs +0 -5
- package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +0 -97
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -6
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +0 -88
- package/esm2020/molecules/menu/helpers/create-overlay.mjs +0 -29
- package/esm2020/molecules/menu/helpers/public_api.mjs +0 -2
- package/esm2020/molecules/menu/menu/menu.component.mjs +0 -63
- package/esm2020/molecules/menu/menu-activator/menu-activator.component.mjs +0 -48
- package/esm2020/molecules/menu/menu-item/menu-item.component.mjs +0 -35
- package/esm2020/molecules/menu/menu.module.mjs +0 -44
- package/esm2020/molecules/menu/public_api.mjs +0 -7
- package/esm2020/molecules/menu/service/menu.service.mjs +0 -52
- package/esm2020/molecules/modal/animations/modal-animation-state.mjs +0 -2
- package/esm2020/molecules/modal/animations/modal-animation.mjs +0 -9
- package/esm2020/molecules/modal/modal/modal-config.mjs +0 -2
- package/esm2020/molecules/modal/modal/modal.component.mjs +0 -93
- package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +0 -11
- package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +0 -11
- package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +0 -20
- package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +0 -22
- package/esm2020/molecules/modal/modal.mjs +0 -2
- package/esm2020/molecules/modal/modal.module.mjs +0 -50
- package/esm2020/molecules/modal/public_api.mjs +0 -8
- package/esm2020/molecules/modal/service/modal.service.mjs +0 -70
- package/esm2020/molecules/navbar/navbar.component.mjs +0 -51
- package/esm2020/molecules/navbar/navbar.module.mjs +0 -20
- package/esm2020/molecules/navbar/public_api.mjs +0 -3
- package/esm2020/molecules/paginator/paginator-errors.mjs +0 -3
- package/esm2020/molecules/paginator/paginator.component.mjs +0 -182
- package/esm2020/molecules/paginator/paginator.module.mjs +0 -36
- package/esm2020/molecules/paginator/public_api.mjs +0 -3
- package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -115
- package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
- package/esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs +0 -12
- package/esm2020/molecules/sidebar/animation/sidebar-animation-width.mjs +0 -2
- package/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +0 -47
- package/esm2020/molecules/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -3
- package/esm2020/molecules/sidebar/helper/sidebar-mode.mjs +0 -2
- package/esm2020/molecules/sidebar/helper/sidebar-side.mjs +0 -2
- package/esm2020/molecules/sidebar/public_api.mjs +0 -4
- package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +0 -96
- package/esm2020/molecules/sidebar/sidebar-viewport/backdrop-interactable.mjs +0 -5
- package/esm2020/molecules/sidebar/sidebar-viewport/content-pad.mjs +0 -17
- package/esm2020/molecules/sidebar/sidebar-viewport/content-shift.mjs +0 -21
- package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -123
- package/esm2020/molecules/sidebar/sidebar.module.mjs +0 -37
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -12
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -31
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -12
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -31
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -28
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -32
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -12
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -28
- package/esm2020/notification/examples/default-notification/default-notification.component.mjs +0 -18
- package/esm2020/notification/examples/default-notification/default-notification.module.mjs +0 -36
- package/esm2020/notification/examples/dismissable-notification/dismissable-notification.component.mjs +0 -18
- package/esm2020/notification/examples/dismissable-notification/dismissable-notification.module.mjs +0 -36
- package/esm2020/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -23
- package/esm2020/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
- package/esm2020/notification/examples/notification-status/notification-status.component.mjs +0 -24
- package/esm2020/notification/examples/notification-status/notification-status.module.mjs +0 -40
- package/esm2020/notification/notification/notification.component.mjs +0 -95
- package/esm2020/notification/notification-actions/notification-actions.directive.mjs +0 -19
- package/esm2020/notification/notification-message/notification-message.directive.mjs +0 -19
- package/esm2020/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -19
- package/esm2020/notification/notification-title/notification-title.directive.mjs +0 -19
- package/esm2020/notification/notification.module.mjs +0 -54
- package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -19
- package/esm2020/paginator/examples/link-paginator/link-paginator.component.mjs +0 -26
- package/esm2020/paginator/examples/paginator-examples.module.mjs +0 -27
- package/esm2020/public_api.mjs +0 -43
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
- package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +0 -21
- package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
- package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -12
- package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -27
- package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.mjs +0 -21
- package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.mjs +0 -30
- package/esm2020/sidebar/examples/public_api.mjs +0 -18
- package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.mjs +0 -12
- package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.mjs +0 -27
- package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.mjs +0 -12
- package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.mjs +0 -27
- package/esm2020/sidebar/examples/under-sidebar/under-sidebar.component.mjs +0 -26
- package/esm2020/sidebar/examples/under-sidebar/under-sidebar.module.mjs +0 -30
- package/esm2020/tree/examples/basic-tree/basic-tree.component.mjs +0 -39
- package/esm2020/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
- package/esm2020/tree/tree/tree-notifier.service.mjs +0 -45
- package/esm2020/tree/tree/tree.component.mjs +0 -106
- package/esm2020/tree/tree-item/tree-item.directive.mjs +0 -154
- package/esm2020/tree/tree.module.mjs +0 -29
- package/fesm2015/daffodil-design-accordion-examples.mjs +0 -74
- package/fesm2015/daffodil-design-accordion-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-article-examples.mjs +0 -145
- package/fesm2015/daffodil-design-article-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-button-examples.mjs +0 -312
- package/fesm2015/daffodil-design-button-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-callout-examples.mjs +0 -213
- package/fesm2015/daffodil-design-callout-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-card-examples.mjs +0 -346
- package/fesm2015/daffodil-design-card-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-checkbox-examples.mjs +0 -119
- package/fesm2015/daffodil-design-checkbox-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-container-examples.mjs +0 -64
- package/fesm2015/daffodil-design-container-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-hero-examples.mjs +0 -210
- package/fesm2015/daffodil-design-hero-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-image-examples.mjs +0 -115
- package/fesm2015/daffodil-design-image-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-input-examples.mjs +0 -145
- package/fesm2015/daffodil-design-input-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-list-examples.mjs +0 -191
- package/fesm2015/daffodil-design-list-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-loading-icon-examples.mjs +0 -87
- package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-media-gallery-examples.mjs +0 -116
- package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-menu-examples.mjs +0 -72
- package/fesm2015/daffodil-design-menu-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-modal-examples.mjs +0 -64
- package/fesm2015/daffodil-design-modal-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-navbar-examples.mjs +0 -172
- package/fesm2015/daffodil-design-navbar-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-notification-examples.mjs +0 -203
- package/fesm2015/daffodil-design-notification-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-notification.mjs +0 -216
- package/fesm2015/daffodil-design-notification.mjs.map +0 -1
- package/fesm2015/daffodil-design-paginator-examples.mjs +0 -75
- package/fesm2015/daffodil-design-paginator-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-quantity-field-examples.mjs +0 -185
- package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-radio-examples.mjs +0 -60
- package/fesm2015/daffodil-design-radio-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-sidebar-examples.mjs +0 -208
- package/fesm2015/daffodil-design-sidebar-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-tree-examples.mjs +0 -79
- package/fesm2015/daffodil-design-tree-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-tree.mjs +0 -441
- package/fesm2015/daffodil-design-tree.mjs.map +0 -1
- package/fesm2015/daffodil-design.mjs +0 -5979
- package/fesm2015/daffodil-design.mjs.map +0 -1
- package/fesm2020/daffodil-design-accordion-examples.mjs +0 -74
- package/fesm2020/daffodil-design-accordion-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-article-examples.mjs +0 -145
- package/fesm2020/daffodil-design-article-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-button-examples.mjs +0 -312
- package/fesm2020/daffodil-design-button-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-callout-examples.mjs +0 -213
- package/fesm2020/daffodil-design-callout-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-card-examples.mjs +0 -346
- package/fesm2020/daffodil-design-card-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-checkbox-examples.mjs +0 -119
- package/fesm2020/daffodil-design-checkbox-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-container-examples.mjs +0 -64
- package/fesm2020/daffodil-design-container-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-hero-examples.mjs +0 -210
- package/fesm2020/daffodil-design-hero-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-image-examples.mjs +0 -115
- package/fesm2020/daffodil-design-image-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-input-examples.mjs +0 -145
- package/fesm2020/daffodil-design-input-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-list-examples.mjs +0 -191
- package/fesm2020/daffodil-design-list-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-loading-icon-examples.mjs +0 -87
- package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-media-gallery-examples.mjs +0 -116
- package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-menu-examples.mjs +0 -72
- package/fesm2020/daffodil-design-menu-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-modal-examples.mjs +0 -64
- package/fesm2020/daffodil-design-modal-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-navbar-examples.mjs +0 -172
- package/fesm2020/daffodil-design-navbar-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-notification-examples.mjs +0 -203
- package/fesm2020/daffodil-design-notification-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-notification.mjs +0 -216
- package/fesm2020/daffodil-design-notification.mjs.map +0 -1
- package/fesm2020/daffodil-design-paginator-examples.mjs +0 -75
- package/fesm2020/daffodil-design-paginator-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-quantity-field-examples.mjs +0 -185
- package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-radio-examples.mjs +0 -60
- package/fesm2020/daffodil-design-radio-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-sidebar-examples.mjs +0 -208
- package/fesm2020/daffodil-design-sidebar-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-tree-examples.mjs +0 -79
- package/fesm2020/daffodil-design-tree-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-tree.mjs +0 -446
- package/fesm2020/daffodil-design-tree.mjs.map +0 -1
- package/fesm2020/daffodil-design.mjs +0 -5966
- package/fesm2020/daffodil-design.mjs.map +0 -1
- package/molecules/accordion/accordion/accordion.component.d.ts +0 -24
- package/molecules/accordion/accordion-item/accordion-item.component.d.ts +0 -32
- package/molecules/accordion/accordion.module.d.ts +0 -14
- package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +0 -44
- package/molecules/accordion/public_api.d.ts +0 -6
- package/molecules/callout/callout/callout.component.d.ts +0 -90
- package/molecules/card/card/card.component.d.ts +0 -70
- package/molecules/hero/hero/hero.component.d.ts +0 -91
- package/molecules/link-set/link-set/link-set.component.d.ts +0 -31
- package/molecules/list/list/list.component.d.ts +0 -73
- package/molecules/list/list-item/list-item.component.d.ts +0 -30
- package/molecules/list/list.module.d.ts +0 -11
- package/molecules/media-gallery/media-gallery.component.d.ts +0 -45
- package/molecules/media-gallery/media-gallery.module.d.ts +0 -10
- package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +0 -29
- package/molecules/media-gallery/public_api.d.ts +0 -4
- package/molecules/media-gallery/registry/media-gallery.registry.d.ts +0 -34
- package/molecules/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +0 -9
- package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +0 -44
- package/molecules/menu/menu/menu.component.d.ts +0 -19
- package/molecules/menu/menu-activator/menu-activator.component.d.ts +0 -18
- package/molecules/menu/menu-item/menu-item.component.d.ts +0 -20
- package/molecules/menu/public_api.d.ts +0 -6
- package/molecules/menu/service/menu.service.d.ts +0 -24
- package/molecules/modal/animations/modal-animation-state.d.ts +0 -1
- package/molecules/modal/modal/modal.component.d.ts +0 -52
- package/molecules/modal/modal.d.ts +0 -13
- package/molecules/modal/public_api.d.ts +0 -8
- package/molecules/modal/service/modal.service.d.ts +0 -19
- package/molecules/navbar/navbar.component.d.ts +0 -44
- package/molecules/navbar/navbar.module.d.ts +0 -7
- package/molecules/navbar/public_api.d.ts +0 -2
- package/molecules/paginator/paginator.component.d.ts +0 -147
- package/molecules/paginator/paginator.module.d.ts +0 -11
- package/molecules/paginator/public_api.d.ts +0 -2
- package/molecules/sidebar/animation/sidebar-animation-state.d.ts +0 -2
- package/molecules/sidebar/animation/sidebar-animation.d.ts +0 -11
- package/molecules/sidebar/animation/sidebar-viewport-animation-state.d.ts +0 -6
- package/molecules/sidebar/helper/sidebar-mode.d.ts +0 -27
- package/molecules/sidebar/helper/sidebar-side.d.ts +0 -12
- package/molecules/sidebar/public_api.d.ts +0 -5
- package/molecules/sidebar/sidebar/sidebar.component.d.ts +0 -52
- package/molecules/sidebar/sidebar-viewport/backdrop-interactable.d.ts +0 -6
- package/molecules/sidebar/sidebar-viewport/content-pad.d.ts +0 -7
- package/molecules/sidebar/sidebar-viewport/content-shift.d.ts +0 -8
- package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +0 -75
- package/molecules/sidebar/sidebar.module.d.ts +0 -11
- package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.d.ts +0 -8
- package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.d.ts +0 -8
- package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.d.ts +0 -5
- package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.d.ts +0 -8
- package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.d.ts +0 -5
- package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.d.ts +0 -8
- package/sidebar/examples/under-sidebar/under-sidebar.component.d.ts +0 -10
- package/sidebar/examples/under-sidebar/under-sidebar.module.d.ts +0 -8
- package/src/atoms/button/button-theme-variants/button.scss +0 -26
- package/src/atoms/button/button-theme-variants/flat.scss +0 -25
- package/src/atoms/button/button-theme-variants/raised.scss +0 -36
- package/src/atoms/button/button-theme-variants/stroked.scss +0 -28
- package/src/atoms/button/button-theme.scss +0 -574
- package/src/atoms/loading-icon/loading-icon-theme.scss +0 -61
- package/src/molecules/accordion/accordion-item/accordion-item-theme.scss +0 -12
- package/src/molecules/article/article/article-theme.scss +0 -78
- package/src/molecules/callout/callout-theme.scss +0 -59
- package/src/molecules/card/card/card-theme-variants/basic-card.scss +0 -6
- package/src/molecules/card/card/card-theme-variants/linkable-card.scss +0 -16
- package/src/molecules/card/card/card-theme.scss +0 -170
- package/src/molecules/hero/hero-theme.scss +0 -59
- package/src/molecules/list/list/list-theme.scss +0 -71
- package/src/molecules/media-gallery/media-gallery-theme.scss +0 -27
- package/src/molecules/menu/menu-theme.scss +0 -25
- package/src/molecules/modal/modal-theme.scss +0 -9
- package/src/molecules/navbar/navbar-theme.scss +0 -57
- package/src/molecules/paginator/paginator-theme.scss +0 -90
- package/src/molecules/sidebar/helper/_variables.scss +0 -7
- package/src/molecules/sidebar/sidebar/sidebar-theme.scss +0 -13
- package/src/molecules/sidebar/sidebar-viewport/sidebar-viewport-theme.scss +0 -16
- /package/{molecules → accordion}/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -0
- /package/{molecules → accordion}/accordion/accordion-item-title/accordion-item-title.directive.d.ts +0 -0
- /package/{molecules → accordion}/accordion/animation/accordion-animation-state.d.ts +0 -0
- /package/{molecules → accordion}/accordion/animation/accordion-animation.d.ts +0 -0
- /package/{molecules/article → article}/article/article.component.d.ts +0 -0
- /package/{molecules/article → article}/article-lead/article-lead.directive.d.ts +0 -0
- /package/{molecules/article → article}/article-meta/article-meta.directive.d.ts +0 -0
- /package/{molecules/article → article}/article-title/article-title.directive.d.ts +0 -0
- /package/{molecules/article → article}/article.module.d.ts +0 -0
- /package/{molecules/article → article}/public_api.d.ts +0 -0
- /package/{src/molecules/article → article/src}/article/_stops-article-cascade.scss +0 -0
- /package/{src/atoms/button → button/src}/button-theme-variants/icon.scss +0 -0
- /package/{src/atoms/button → button/src}/button-theme-variants/underline.scss +0 -0
- /package/{molecules/callout → callout}/callout-body/callout-body.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-icon/callout-icon.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-subtitle/callout-subtitle.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-tagline/callout-tagline.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-title/callout-title.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout.module.d.ts +0 -0
- /package/{molecules/callout → callout}/public_api.d.ts +0 -0
- /package/{molecules/card → card}/card-actions/card-actions.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-content/card-content.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-icon/card-icon.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-image/card-image.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-tagline/card-tagline.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-title/card-title.directive.d.ts +0 -0
- /package/{molecules/card → card}/card.module.d.ts +0 -0
- /package/{molecules/card → card}/public_api.d.ts +0 -0
- /package/{src/molecules/card/card → card/src}/card-theme-variants/stroked-card.scss +0 -0
- /package/{esm2020 → esm2022}/accordion/examples/daffodil-design-accordion-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/accordion/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/daffodil-design-article-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/checkbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/core/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/error-message/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-control.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-label/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/input/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/native-select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/quantity-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/radio/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/progress-indicator/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/daffodil-design-button-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/daffodil-design-callout-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/examples/daffodil-design-card-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/card/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/card/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/daffodil-design-container-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/animation/animation-state-with-params.mjs +0 -0
- /package/{esm2020 → esm2022}/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -0
- /package/{esm2020 → esm2022}/core/article-encapsulated/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/breakpoints/breakpoints.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/color-in-palette.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/colorable-enum.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/colorable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/compactable/compactable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/compactable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/constructor/constructor.mjs +0 -0
- /package/{esm2020 → esm2022}/core/focus/focusable-elements.mjs +0 -0
- /package/{esm2020 → esm2022}/core/focus/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/lazy/lazy-component.mjs +0 -0
- /package/{esm2020 → esm2022}/core/lazy/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -0
- /package/{esm2020 → esm2022}/core/manage-container-layout/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/mutable/mutable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -0
- /package/{esm2020 → esm2022}/core/prefix-suffix/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -0
- /package/{esm2020 → esm2022}/core/skeletonable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/skeletonable/skeletonable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/statusable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/statusable/statusable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/functions/computer.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/initializer.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/types/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/daffodil-design.mjs +0 -0
- /package/{esm2020 → esm2022}/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/daffodil-design-hero-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/image/examples/daffodil-design-image-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/image/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/image/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/daffodil-design-input-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/daffodil-design-list-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/examples/daffodil-design-menu-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/examples/daffodil-design-modal-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation-state.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/backdrop/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/button-set/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/feature/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/image-gallery/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/image-list/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/qty-dropdown/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/daffodil-design-navbar-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/daffodil-design-notification.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/examples/daffodil-design-notification-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/daffodil-design-paginator-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-field/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-field/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/daffodil-design-radio-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/daffodil-design-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/examples/daffodil-design-tree-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/interfaces/recursive-key.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/interfaces/tree-data.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/interfaces/tree-ui.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/flatten-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/hydrate-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/transform-in-place.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/traverse-tree.mjs +0 -0
- /package/{molecules/hero → hero}/hero-body/hero-body.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-icon/hero-icon.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-subtitle/hero-subtitle.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-tagline/hero-tagline.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-title/hero-title.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero.module.d.ts +0 -0
- /package/{molecules/hero → hero}/public_api.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set-heading/link-set-heading.directive.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set-item/link-set-item.component.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set-subheading/link-set-subheading.directive.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set.module.d.ts +0 -0
- /package/{molecules/link-set → link-set}/public_api.d.ts +0 -0
- /package/{molecules/list → list}/list-subheader/list-subheader.directive.d.ts +0 -0
- /package/{molecules/list → list}/public_api.d.ts +0 -0
- /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-registration.interface.d.ts +0 -0
- /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-token.d.ts +0 -0
- /package/{molecules/media-gallery → media-gallery}/thumbnail/thumbnail-compat.token.d.ts +0 -0
- /package/{molecules/menu → menu}/helpers/create-overlay.d.ts +0 -0
- /package/{molecules/menu → menu}/helpers/public_api.d.ts +0 -0
- /package/{molecules/menu → menu}/menu.module.d.ts +0 -0
- /package/{molecules/modal → modal}/animations/modal-animation.d.ts +0 -0
- /package/{molecules/modal → modal}/modal/modal-config.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-actions/modal-actions.component.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-content/modal-content.component.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-header/modal-header.component.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-title/modal-title.directive.d.ts +0 -0
- /package/{molecules/modal → modal}/modal.module.d.ts +0 -0
- /package/{molecules/paginator → paginator/utils}/paginator-errors.d.ts +0 -0
- /package/{molecules/sidebar → sidebar}/animation/sidebar-animation-width.d.ts +0 -0
@@ -1,76 +0,0 @@
|
|
1
|
-
import { Component, ComponentFactoryResolver, ViewChild, ViewContainerRef, TemplateRef, ChangeDetectionStrategy, Inject, } from '@angular/core';
|
2
|
-
import { Subject } from 'rxjs';
|
3
|
-
import { takeUntil } from 'rxjs/operators';
|
4
|
-
import { DAFF_MEDIA_GALLERY_TOKEN } from '../media-gallery-token';
|
5
|
-
import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "../registry/media-gallery.registry";
|
8
|
-
/**
|
9
|
-
* Dynamically renders the selected `DaffThumbnailDirective` in a `daff-media-gallery` any time the selected thumbnail
|
10
|
-
* changes.
|
11
|
-
*/
|
12
|
-
export class DaffMediaRendererComponent {
|
13
|
-
constructor(componentFactoryResolver, registry, gallery) {
|
14
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
15
|
-
this.registry = registry;
|
16
|
-
this.gallery = gallery;
|
17
|
-
/**
|
18
|
-
* Private tracker for indicating when the component is destroyed.
|
19
|
-
*/
|
20
|
-
this._destroy$ = new Subject();
|
21
|
-
}
|
22
|
-
ngOnInit() {
|
23
|
-
this.registry.galleries[this.gallery.name]
|
24
|
-
.pipe(takeUntil(this._destroy$))
|
25
|
-
.subscribe((gallery) => {
|
26
|
-
/**
|
27
|
-
* Clear out the slot for the dynamically rendered thumbnail
|
28
|
-
*/
|
29
|
-
this.slot.clear();
|
30
|
-
const _selectedThumbnail = gallery.thumbnails.filter(media => media.selected).shift();
|
31
|
-
/**
|
32
|
-
* If there's no selected media, render nothing.
|
33
|
-
*/
|
34
|
-
if (!_selectedThumbnail) {
|
35
|
-
return;
|
36
|
-
}
|
37
|
-
const _selectedThumbnailComponent = _selectedThumbnail.component;
|
38
|
-
/**
|
39
|
-
* Create the component to insert.
|
40
|
-
*/
|
41
|
-
const component = this.componentFactoryResolver.resolveComponentFactory(_selectedThumbnailComponent.constructor);
|
42
|
-
const componentRef = this.slot.createComponent(component);
|
43
|
-
/**
|
44
|
-
* Fill the component with it's values from the original component
|
45
|
-
*/
|
46
|
-
component.inputs.forEach(input => {
|
47
|
-
componentRef.instance[input.propName] = _selectedThumbnailComponent[input.propName];
|
48
|
-
});
|
49
|
-
/**
|
50
|
-
* Trigger a change detection on the component tree, outside the cycle to address
|
51
|
-
* the fact that the component was created outside a typical CD loop.
|
52
|
-
*/
|
53
|
-
componentRef.changeDetectorRef.detectChanges();
|
54
|
-
});
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Used to unsubscribe from the dynamic component.
|
58
|
-
*/
|
59
|
-
ngOnDestroy() {
|
60
|
-
this._destroy$.next(true);
|
61
|
-
this._destroy$.unsubscribe();
|
62
|
-
}
|
63
|
-
}
|
64
|
-
/** @nocollapse */ DaffMediaRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMediaRendererComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i1.DaffMediaGalleryRegistry }, { token: DAFF_MEDIA_GALLERY_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
65
|
-
/** @nocollapse */ DaffMediaRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: DaffMediaRendererComponent, selector: "daff-media-renderer", viewQueries: [{ propertyName: "slot", first: true, predicate: TemplateRef, descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<ng-template></ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMediaRendererComponent, decorators: [{
|
67
|
-
type: Component,
|
68
|
-
args: [{ selector: 'daff-media-renderer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template></ng-template>\n" }]
|
69
|
-
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.DaffMediaGalleryRegistry }, { type: undefined, decorators: [{
|
70
|
-
type: Inject,
|
71
|
-
args: [DAFF_MEDIA_GALLERY_TOKEN]
|
72
|
-
}] }]; }, propDecorators: { slot: [{
|
73
|
-
type: ViewChild,
|
74
|
-
args: [TemplateRef, { static: true, read: ViewContainerRef }]
|
75
|
-
}] } });
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtcmVuZGVyZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL21vbGVjdWxlcy9tZWRpYS1nYWxsZXJ5L21lZGlhLXJlbmRlcmVyL21lZGlhLXJlbmRlcmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS9tZWRpYS1yZW5kZXJlci9tZWRpYS1yZW5kZXJlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU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QuY3JlYXRlQ29tcG9uZW50KGNvbXBvbmVudCk7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIEZpbGwgdGhlIGNvbXBvbmVudCB3aXRoIGl0J3MgdmFsdWVzIGZyb20gdGhlIG9yaWdpbmFsIGNvbXBvbmVudFxuICAgICAgICAgKi9cbiAgICAgICAgY29tcG9uZW50LmlucHV0cy5mb3JFYWNoKGlucHV0ID0+IHtcbiAgICAgICAgICBjb21wb25lbnRSZWYuaW5zdGFuY2VbaW5wdXQucHJvcE5hbWVdID0gX3NlbGVjdGVkVGh1bWJuYWlsQ29tcG9uZW50W2lucHV0LnByb3BOYW1lXTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIFRyaWdnZXIgYSBjaGFuZ2UgZGV0ZWN0aW9uIG9uIHRoZSBjb21wb25lbnQgdHJlZSwgb3V0c2lkZSB0aGUgY3ljbGUgdG8gYWRkcmVzc1xuICAgICAgICAgKiB0aGUgZmFjdCB0aGF0IHRoZSBjb21wb25lbnQgd2FzIGNyZWF0ZWQgb3V0c2lkZSBhIHR5cGljYWwgQ0QgbG9vcC5cbiAgICAgICAgICovXG4gICAgICAgIGNvbXBvbmVudFJlZi5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICB9KTtcbiAgfVxuXG4gIC8qKlxuICAgKiBVc2VkIHRvIHVuc3Vic2NyaWJlIGZyb20gdGhlIGR5bmFtaWMgY29tcG9uZW50LlxuICAgKi9cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5fZGVzdHJveSQubmV4dCh0cnVlKTtcbiAgICB0aGlzLl9kZXN0cm95JC51bnN1YnNjcmliZSgpO1xuICB9XG59XG5cbiIsIjxuZy10ZW1wbGF0ZT48L25nLXRlbXBsYXRlPlxuIl19
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export * from './media-gallery.component';
|
2
|
-
export * from './media-gallery.module';
|
3
|
-
export * from './thumbnail/thumbnail.directive';
|
4
|
-
export { daffThumbnailCompatToken } from './thumbnail/thumbnail-compat.token';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLGlDQUFpQyxDQUFDO0FBRWhELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tZWRpYS1nYWxsZXJ5LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL21lZGlhLWdhbGxlcnkubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vdGh1bWJuYWlsL3RodW1ibmFpbC5kaXJlY3RpdmUnO1xuXG5leHBvcnQgeyBkYWZmVGh1bWJuYWlsQ29tcGF0VG9rZW4gfSBmcm9tICcuL3RodW1ibmFpbC90aHVtYm5haWwtY29tcGF0LnRva2VuJztcbiJdfQ==
|
@@ -1,97 +0,0 @@
|
|
1
|
-
import { Injectable } from '@angular/core';
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export const isGallery = (element) => !('gallery' in element);
|
5
|
-
export class DaffMediaGalleryRegistry {
|
6
|
-
constructor() {
|
7
|
-
this.galleries = {};
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* @description
|
11
|
-
* Adds a media element to the internal registry.
|
12
|
-
*/
|
13
|
-
add(gallery, thumbnail) {
|
14
|
-
if (this.galleries[gallery.name]) {
|
15
|
-
let newGallery = this.galleries[gallery.name].getValue();
|
16
|
-
if (thumbnail) {
|
17
|
-
newGallery = {
|
18
|
-
...newGallery,
|
19
|
-
thumbnails: [
|
20
|
-
...newGallery.thumbnails.filter(t => t !== thumbnail),
|
21
|
-
thumbnail,
|
22
|
-
],
|
23
|
-
};
|
24
|
-
}
|
25
|
-
this.galleries[gallery.name].next(newGallery);
|
26
|
-
}
|
27
|
-
else {
|
28
|
-
this.galleries[gallery.name] = new BehaviorSubject({
|
29
|
-
gallery,
|
30
|
-
thumbnails: thumbnail ? [thumbnail] : [],
|
31
|
-
});
|
32
|
-
}
|
33
|
-
if (this.galleries[gallery.name].getValue().thumbnails.length === 1) {
|
34
|
-
thumbnail.select();
|
35
|
-
}
|
36
|
-
}
|
37
|
-
/**
|
38
|
-
* @description
|
39
|
-
* Removes a thumbnail or gallery from the internal registry.
|
40
|
-
*/
|
41
|
-
remove(element) {
|
42
|
-
if (isGallery(element)) {
|
43
|
-
this.removeGallery(element);
|
44
|
-
}
|
45
|
-
else {
|
46
|
-
this.removeThumbnail(element);
|
47
|
-
}
|
48
|
-
}
|
49
|
-
removeThumbnail(thumbnail) {
|
50
|
-
if (!this.galleries[thumbnail.gallery.name]) {
|
51
|
-
return;
|
52
|
-
}
|
53
|
-
const gallery = this.galleries[thumbnail.gallery.name].getValue();
|
54
|
-
const index = gallery.thumbnails.indexOf(thumbnail);
|
55
|
-
if (index === -1) {
|
56
|
-
return;
|
57
|
-
}
|
58
|
-
this.galleries[thumbnail.gallery.name].next({
|
59
|
-
...gallery,
|
60
|
-
thumbnails: [
|
61
|
-
...gallery.thumbnails.slice(0, index),
|
62
|
-
...gallery.thumbnails.slice(index + 1),
|
63
|
-
],
|
64
|
-
});
|
65
|
-
}
|
66
|
-
removeGallery(gallery) {
|
67
|
-
delete this.galleries[gallery.name];
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* @description
|
71
|
-
* Selects a media element for a given gallery.
|
72
|
-
*/
|
73
|
-
select(thumbnail) {
|
74
|
-
if (!this.galleries[thumbnail.gallery.name]) {
|
75
|
-
return;
|
76
|
-
}
|
77
|
-
const gallery = this.galleries[thumbnail.gallery.name].getValue();
|
78
|
-
const index = gallery.thumbnails.indexOf(thumbnail);
|
79
|
-
if (thumbnail.selected || index === -1) {
|
80
|
-
return;
|
81
|
-
}
|
82
|
-
this.galleries[thumbnail.gallery.name].next({
|
83
|
-
...gallery,
|
84
|
-
thumbnails: [
|
85
|
-
...gallery.thumbnails.filter(m => m !== thumbnail).map(m => m.deselect()),
|
86
|
-
thumbnail.select(),
|
87
|
-
],
|
88
|
-
});
|
89
|
-
}
|
90
|
-
}
|
91
|
-
/** @nocollapse */ DaffMediaGalleryRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMediaGalleryRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
92
|
-
/** @nocollapse */ DaffMediaGalleryRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMediaGalleryRegistry, providedIn: 'root' });
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMediaGalleryRegistry, decorators: [{
|
94
|
-
type: Injectable,
|
95
|
-
args: [{ providedIn: 'root' }]
|
96
|
-
}] });
|
97
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtZ2FsbGVyeS5yZWdpc3RyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS9yZWdpc3RyeS9tZWRpYS1nYWxsZXJ5LnJlZ2lzdHJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ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AgaWYodGh1bWJuYWlsLnNlbGVjdGVkIHx8IGluZGV4ID09PSAtMSl7XG5cdCAgICByZXR1cm47XG5cdCAgfVxuXG5cdCAgdGhpcy5nYWxsZXJpZXNbdGh1bWJuYWlsLmdhbGxlcnkubmFtZV0ubmV4dCh7XG5cdCAgICAuLi5nYWxsZXJ5LFxuXHQgICAgdGh1bWJuYWlsczogW1xuXHQgICAgICAuLi5nYWxsZXJ5LnRodW1ibmFpbHMuZmlsdGVyKG0gPT4gbSAhPT0gdGh1bWJuYWlsKS5tYXAobSA9PiBtLmRlc2VsZWN0KCkpLFxuXHQgICAgICB0aHVtYm5haWwuc2VsZWN0KCksXG5cdCAgICBdLFxuXHQgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
|
-
/**
|
3
|
-
* A multi provider injection token that marks a component as renderable for the `DaffMediaRendererComponent`.
|
4
|
-
*/
|
5
|
-
export const daffThumbnailCompatToken = new InjectionToken('thumbnailCompatToken');
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYWlsLWNvbXBhdC50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS90aHVtYm5haWwvdGh1bWJuYWlsLWNvbXBhdC50b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRS9DOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQUcsSUFBSSxjQUFjLENBQVUsc0JBQXNCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0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1xuICBzZWxlY3Q6ICgpID0+IERhZmZUaHVtYm5haWxSZWdpc3RyYXRpb247XG4gIGRlc2VsZWN0OiAoKSA9PiBEYWZmVGh1bWJuYWlsUmVnaXN0cmF0aW9uO1xufVxuIl19
|
@@ -1,88 +0,0 @@
|
|
1
|
-
import { Directive, Inject, Type, HostBinding, HostListener, Output, EventEmitter, ChangeDetectorRef, } from '@angular/core';
|
2
|
-
import { daffThumbnailCompatToken } from './thumbnail-compat.token';
|
3
|
-
import { DAFF_MEDIA_GALLERY_TOKEN } from '../media-gallery-token';
|
4
|
-
import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "../registry/media-gallery.registry";
|
7
|
-
/**
|
8
|
-
* A directive marking thumbnails for the `DaffMediaRendererComponent`. Needs to be wrapped in a `daff-media-gallery` component
|
9
|
-
* and needs to be placed on a component that is provided as a `daffThumbnailCompatToken`.
|
10
|
-
*/
|
11
|
-
export class DaffThumbnailDirective {
|
12
|
-
constructor(component, cd, registry, gallery) {
|
13
|
-
this.component = component;
|
14
|
-
this.cd = cd;
|
15
|
-
this.registry = registry;
|
16
|
-
this.gallery = gallery;
|
17
|
-
/**
|
18
|
-
* Adds a class for styling a thumbnail
|
19
|
-
*/
|
20
|
-
this.class = true;
|
21
|
-
/**
|
22
|
-
* A prop for determining whether or not the media element is selected.
|
23
|
-
*/
|
24
|
-
this.selected = false;
|
25
|
-
/**
|
26
|
-
* An event that fires after the media element becomes selected.
|
27
|
-
*/
|
28
|
-
this.becameSelected = new EventEmitter();
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Adds a class for styling a selected thumbnail
|
32
|
-
*/
|
33
|
-
get selectedClass() {
|
34
|
-
return this.selected;
|
35
|
-
}
|
36
|
-
;
|
37
|
-
/**
|
38
|
-
* Adds a click event to trigger selection of the media element.
|
39
|
-
*
|
40
|
-
* @param event: MouseEvent
|
41
|
-
*/
|
42
|
-
onClick($event) {
|
43
|
-
this.registry.select(this);
|
44
|
-
}
|
45
|
-
ngOnInit() {
|
46
|
-
this.registry.add(this.gallery, this);
|
47
|
-
}
|
48
|
-
ngOnDestroy() {
|
49
|
-
this.registry.remove(this);
|
50
|
-
}
|
51
|
-
select() {
|
52
|
-
this.selected = true;
|
53
|
-
this.becameSelected.emit();
|
54
|
-
this.cd.markForCheck();
|
55
|
-
return this;
|
56
|
-
}
|
57
|
-
deselect() {
|
58
|
-
this.selected = false;
|
59
|
-
this.cd.markForCheck();
|
60
|
-
return this;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
/** @nocollapse */ DaffThumbnailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffThumbnailDirective, deps: [{ token: daffThumbnailCompatToken }, { token: i0.ChangeDetectorRef }, { token: i1.DaffMediaGalleryRegistry }, { token: DAFF_MEDIA_GALLERY_TOKEN }], target: i0.ɵɵFactoryTarget.Directive });
|
64
|
-
/** @nocollapse */ DaffThumbnailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: { becameSelected: "becameSelected" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.daff-thumbnail--selected": "this.selectedClass", "class.daff-thumbnail": "this.class" } }, ngImport: i0 });
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffThumbnailDirective, decorators: [{
|
66
|
-
type: Directive,
|
67
|
-
args: [{
|
68
|
-
selector: '[daffThumbnail]',
|
69
|
-
}]
|
70
|
-
}], ctorParameters: function () { return [{ type: i0.Type, decorators: [{
|
71
|
-
type: Inject,
|
72
|
-
args: [daffThumbnailCompatToken]
|
73
|
-
}] }, { type: i0.ChangeDetectorRef }, { type: i1.DaffMediaGalleryRegistry }, { type: undefined, decorators: [{
|
74
|
-
type: Inject,
|
75
|
-
args: [DAFF_MEDIA_GALLERY_TOKEN]
|
76
|
-
}] }]; }, propDecorators: { selectedClass: [{
|
77
|
-
type: HostBinding,
|
78
|
-
args: ['class.daff-thumbnail--selected']
|
79
|
-
}], class: [{
|
80
|
-
type: HostBinding,
|
81
|
-
args: ['class.daff-thumbnail']
|
82
|
-
}], becameSelected: [{
|
83
|
-
type: Output
|
84
|
-
}], onClick: [{
|
85
|
-
type: HostListener,
|
86
|
-
args: ['click', ['$event']]
|
87
|
-
}] } });
|
88
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYWlsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS90aHVtYm5haWwvdGh1bWJuYWlsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULE1BQU0sRUFDTixJQUFJLEVBQ0osV0FBVyxFQUNYLFlBQVksRUFDWixNQUFNLEVBQ04sWUFBWSxFQUNaLGlCQUFpQixHQUdsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUdwRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQzs7O0FBRTlFOzs7R0FHRztBQUlILE1BQU0sT0FBTyxzQkFBc0I7SUFTakMsWUFDMkMsU0FBd0IsRUFDekQsRUFBcUIsRUFDckIsUUFBa0MsRUFDRCxPQUFxQztRQUhyQyxjQUFTLEdBQVQsU0FBUyxDQUFlO1FBQ3pELE9BQUUsR0F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Wdpc3RyeS5hZGQodGhpcy5nYWxsZXJ5LCB0aGlzKTtcbiAgfVxuXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge1xuXHQgIHRoaXMucmVnaXN0cnkucmVtb3ZlKHRoaXMpO1xuICB9XG5cbiAgc2VsZWN0KCkge1xuXHQgIHRoaXMuc2VsZWN0ZWQgPSB0cnVlO1xuXHQgIHRoaXMuYmVjYW1lU2VsZWN0ZWQuZW1pdCgpO1xuXHQgIHRoaXMuY2QubWFya0ZvckNoZWNrKCk7XG5cdCAgcmV0dXJuIHRoaXM7XG4gIH1cblxuICBkZXNlbGVjdCgpIHtcblx0ICB0aGlzLnNlbGVjdGVkID0gZmFsc2U7XG5cdCAgdGhpcy5jZC5tYXJrRm9yQ2hlY2soKTtcblx0ICByZXR1cm4gdGhpcztcbiAgfVxufVxuIl19
|
@@ -1,29 +0,0 @@
|
|
1
|
-
export function daffMenuCreateOverlay(overlay, element, config = {}) {
|
2
|
-
return overlay.create({
|
3
|
-
hasBackdrop: true,
|
4
|
-
backdropClass: 'cdk-overlay-transparent-backdrop',
|
5
|
-
scrollStrategy: overlay.scrollStrategies.block(),
|
6
|
-
disposeOnNavigation: true,
|
7
|
-
positionStrategy: overlay
|
8
|
-
.position()
|
9
|
-
.flexibleConnectedTo(element)
|
10
|
-
.withPositions([
|
11
|
-
{
|
12
|
-
originX: 'start',
|
13
|
-
originY: 'bottom',
|
14
|
-
overlayX: 'start',
|
15
|
-
overlayY: 'top',
|
16
|
-
offsetY: 0,
|
17
|
-
},
|
18
|
-
{
|
19
|
-
originX: 'start',
|
20
|
-
originY: 'top',
|
21
|
-
overlayX: 'start',
|
22
|
-
overlayY: 'bottom',
|
23
|
-
},
|
24
|
-
]),
|
25
|
-
...config,
|
26
|
-
});
|
27
|
-
}
|
28
|
-
;
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLW92ZXJsYXkuanMiLCJzb3VyY2VSb290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bnRSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGZ1bmN0aW9uIGRhZmZNZW51Q3JlYXRlT3ZlcmxheShvdmVybGF5OiBPdmVybGF5LCBlbGVtZW50OiBFbGVtZW50UmVmLCBjb25maWc6IE92ZXJsYXlDb25maWcgPSB7fSkge1xuICByZXR1cm4gb3ZlcmxheS5jcmVhdGUoe1xuICAgIGhhc0JhY2tkcm9wOiB0cnVlLFxuICAgIGJhY2tkcm9wQ2xhc3M6ICdjZGstb3ZlcmxheS10cmFuc3BhcmVudC1iYWNrZHJvcCcsXG4gICAgc2Nyb2xsU3RyYXRlZ3k6IG92ZXJsYXkuc2Nyb2xsU3RyYXRlZ2llcy5ibG9jaygpLFxuICAgIGRpc3Bvc2VPbk5hdmlnYXRpb246IHRydWUsXG4gICAgcG9zaXRpb25TdHJhdGVneTogb3ZlcmxheVxuICAgICAgLnBvc2l0aW9uKClcbiAgICAgIC5mbGV4aWJsZUNvbm5lY3RlZFRvKGVsZW1lbnQpXG4gICAgICAud2l0aFBvc2l0aW9ucyhbXG4gICAgICAgIHtcbiAgICAgICAgICBvcmlnaW5YOiAnc3RhcnQnLFxuICAgICAgICAgIG9yaWdpblk6ICdib3R0b20nLFxuICAgICAgICAgIG92ZXJsYXlYOiAnc3RhcnQnLFxuICAgICAgICAgIG92ZXJsYXlZOiAndG9wJyxcbiAgICAgICAgICBvZmZzZXRZOiAwLFxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgb3JpZ2luWDogJ3N0YXJ0JyxcbiAgICAgICAgICBvcmlnaW5ZOiAndG9wJyxcbiAgICAgICAgICBvdmVybGF5WDogJ3N0YXJ0JyxcbiAgICAgICAgICBvdmVybGF5WTogJ2JvdHRvbScsXG4gICAgICAgIH0sXG4gICAgICBdKSxcbiAgICAuLi5jb25maWcsXG4gIH0pO1xufTtcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { daffMenuCreateOverlay } from './create-overlay';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVudS9oZWxwZXJzL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBkYWZmTWVudUNyZWF0ZU92ZXJsYXkgfSBmcm9tICcuL2NyZWF0ZS1vdmVybGF5JztcbiJdfQ==
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { ConfigurableFocusTrapFactory, } from '@angular/cdk/a11y';
|
2
|
-
import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, NgZone, } from '@angular/core';
|
3
|
-
import { filter, fromEvent, } from 'rxjs';
|
4
|
-
import { daffFocusableElementsSelector } from '../../../core/focus/public_api';
|
5
|
-
import { DaffMenuService } from '../service/menu.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@angular/cdk/a11y";
|
8
|
-
import * as i2 from "../service/menu.service";
|
9
|
-
export class DaffMenuComponent {
|
10
|
-
constructor(_focusTrapFactory, _ngZone, _elementRef, menuService) {
|
11
|
-
this._focusTrapFactory = _focusTrapFactory;
|
12
|
-
this._ngZone = _ngZone;
|
13
|
-
this._elementRef = _elementRef;
|
14
|
-
this.menuService = menuService;
|
15
|
-
this.class = true;
|
16
|
-
this.tabindex = 0;
|
17
|
-
this.role = 'menu';
|
18
|
-
/**
|
19
|
-
* Listen to `keydown` events outside the zone so that change detection is not run every
|
20
|
-
* time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
|
21
|
-
*
|
22
|
-
*/
|
23
|
-
this._ngZone.runOutsideAngular(() => {
|
24
|
-
fromEvent(this._elementRef.nativeElement, 'keyup')
|
25
|
-
.pipe(filter((event) => event.key === 'Escape'))
|
26
|
-
.subscribe((event) => this._ngZone.run(() => {
|
27
|
-
this.menuService.close();
|
28
|
-
event.stopPropagation();
|
29
|
-
}));
|
30
|
-
});
|
31
|
-
}
|
32
|
-
ngAfterContentInit() {
|
33
|
-
this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);
|
34
|
-
}
|
35
|
-
ngAfterViewInit() {
|
36
|
-
const focusableChild = this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector);
|
37
|
-
if (focusableChild) {
|
38
|
-
focusableChild.focus();
|
39
|
-
}
|
40
|
-
else {
|
41
|
-
// There's a timing condition when computing HostBindings afterContentInit
|
42
|
-
// so to allow the menu to be focused, we manually set the tabindex.
|
43
|
-
this._elementRef.nativeElement.tabIndex = 0;
|
44
|
-
this._elementRef.nativeElement.focus();
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
/** @nocollapse */ DaffMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuComponent, deps: [{ token: i1.ConfigurableFocusTrapFactory }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i2.DaffMenuService }], target: i0.ɵɵFactoryTarget.Component });
|
49
|
-
/** @nocollapse */ DaffMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: DaffMenuComponent, selector: "daff-menu", host: { properties: { "class.daff-menu": "this.class", "tabindex": "this.tabindex", "attr.role": "this.role" } }, ngImport: i0, template: '<ng-content select="[daff-menu-item]"></ng-content>', isInline: true, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuComponent, decorators: [{
|
51
|
-
type: Component,
|
52
|
-
args: [{ selector: 'daff-menu', template: '<ng-content select="[daff-menu-item]"></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;min-width:112px;max-width:320px;border-radius:4px;padding:8px}\n"] }]
|
53
|
-
}], ctorParameters: function () { return [{ type: i1.ConfigurableFocusTrapFactory }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i2.DaffMenuService }]; }, propDecorators: { class: [{
|
54
|
-
type: HostBinding,
|
55
|
-
args: ['class.daff-menu']
|
56
|
-
}], tabindex: [{
|
57
|
-
type: HostBinding,
|
58
|
-
args: ['tabindex']
|
59
|
-
}], role: [{
|
60
|
-
type: HostBinding,
|
61
|
-
args: ['attr.role']
|
62
|
-
}] } });
|
63
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL21lbnUvbWVudS9tZW51LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsNEJBQTRCLEdBRTdCLE1BQU0sbUJBQW1CLENBQUM7QUFDM0IsT0FBTyxFQUdMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLFdBQVcsRUFDWCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLE1BQU0sRUFDTixTQUFTLEdBQ1YsTUFBTSxNQUFNLENBQUM7QUFFZCxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0seUJBQXlCLENBQUM7Ozs7QUFRMUQsTUFBTSxPQUFPLGlCQUFpQjtJQ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ge1xuICAgIGNvbnN0IGZvY3VzYWJsZUNoaWxkID0gKDxIVE1MRWxlbWVudD50aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQucXVlcnlTZWxlY3RvcihcbiAgICAgIGRhZmZGb2N1c2FibGVFbGVtZW50c1NlbGVjdG9yKVxuICAgICk7XG5cbiAgICBpZihmb2N1c2FibGVDaGlsZCkge1xuICAgICAgZm9jdXNhYmxlQ2hpbGQuZm9jdXMoKTtcbiAgICB9IGVsc2Uge1xuICAgICAgLy8gVGhlcmUncyBhIHRpbWluZyBjb25kaXRpb24gd2hlbiBjb21wdXRpbmcgSG9zdEJpbmRpbmdzIGFmdGVyQ29udGVudEluaXRcbiAgICAgIC8vIHNvIHRvIGFsbG93IHRoZSBtZW51IHRvIGJlIGZvY3VzZWQsIHdlIG1hbnVhbGx5IHNldCB0aGUgdGFiaW5kZXguXG4gICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQudGFiSW5kZXggPSAwO1xuICAgICAgKDxIVE1MRWxlbWVudD50aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQpLmZvY3VzKCk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, Directive, HostBinding, HostListener, Input, ViewContainerRef, } from '@angular/core';
|
2
|
-
import { Subject, takeUntil, } from 'rxjs';
|
3
|
-
import { DaffMenuService } from '../service/menu.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "../service/menu.service";
|
6
|
-
export class DaffMenuActivatorDirective {
|
7
|
-
constructor(service, viewContainerRef, cdRef) {
|
8
|
-
this.service = service;
|
9
|
-
this.viewContainerRef = viewContainerRef;
|
10
|
-
this.cdRef = cdRef;
|
11
|
-
this._destroyed$ = new Subject();
|
12
|
-
this.service.open$.pipe(takeUntil(this._destroyed$)).subscribe((val) => {
|
13
|
-
this._open = val;
|
14
|
-
this.cdRef.markForCheck();
|
15
|
-
});
|
16
|
-
}
|
17
|
-
get openClass() {
|
18
|
-
return this._open;
|
19
|
-
}
|
20
|
-
ngOnDestroy() {
|
21
|
-
this._destroyed$.next(true);
|
22
|
-
this._destroyed$.complete();
|
23
|
-
}
|
24
|
-
focus() {
|
25
|
-
this.viewContainerRef.element.nativeElement.focus();
|
26
|
-
}
|
27
|
-
openMenu(event) {
|
28
|
-
event.preventDefault();
|
29
|
-
this.service.open(this.viewContainerRef, this.daffMenuActivator);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
/** @nocollapse */ DaffMenuActivatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuActivatorDirective, deps: [{ token: i1.DaffMenuService }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
33
|
-
/** @nocollapse */ DaffMenuActivatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: DaffMenuActivatorDirective, selector: "[daffMenuActivator]", inputs: { daffMenuActivator: "daffMenuActivator" }, host: { listeners: { "click": "openMenu($event)" }, properties: { "class.open": "this.openClass" } }, ngImport: i0 });
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuActivatorDirective, decorators: [{
|
35
|
-
type: Directive,
|
36
|
-
args: [{
|
37
|
-
selector: '[daffMenuActivator]',
|
38
|
-
}]
|
39
|
-
}], ctorParameters: function () { return [{ type: i1.DaffMenuService }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { daffMenuActivator: [{
|
40
|
-
type: Input
|
41
|
-
}], openClass: [{
|
42
|
-
type: HostBinding,
|
43
|
-
args: ['class.open']
|
44
|
-
}], openMenu: [{
|
45
|
-
type: HostListener,
|
46
|
-
args: ['click', ['$event']]
|
47
|
-
}] } });
|
48
|
-
//# s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ckNoZWNrKCk7XG5cdCAgfSk7XG4gIH1cblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLl9kZXN0cm95ZWQkLm5leHQodHJ1ZSk7XG4gICAgdGhpcy5fZGVzdHJveWVkJC5jb21wbGV0ZSgpO1xuICB9XG5cbiAgZm9jdXMoKSB7XG4gICAgdGhpcy52aWV3Q29udGFpbmVyUmVmLmVsZW1lbnQubmF0aXZlRWxlbWVudC5mb2N1cygpO1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignY2xpY2snLCBbJyRldmVudCddKVxuICBvcGVuTWVudShldmVudCkge1xuXHQgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG5cdCAgdGhpcy5zZXJ2aWNlLm9wZW4odGhpcy52aWV3Q29udGFpbmVyUmVmLCB0aGlzLmRhZmZNZW51QWN0aXZhdG9yKTtcbiAgfVxufVxuIl19
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy, HostBinding, ContentChild, } from '@angular/core';
|
2
|
-
import { DaffPrefixDirective, } from '../../../core/prefix-suffix/public_api';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
export class DaffMenuItemComponent {
|
6
|
-
constructor() {
|
7
|
-
/**
|
8
|
-
* @docs-private
|
9
|
-
*/
|
10
|
-
this.class = true;
|
11
|
-
/**
|
12
|
-
* Sets the role of the component to menuitem.
|
13
|
-
*
|
14
|
-
* @docs-private
|
15
|
-
*/
|
16
|
-
this.role = 'menuitem';
|
17
|
-
}
|
18
|
-
}
|
19
|
-
/** @nocollapse */ DaffMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
20
|
-
/** @nocollapse */ DaffMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: DaffMenuItemComponent, selector: "a[daff-menu-item],button[daff-menu-item]", host: { properties: { "class.daff-menu-item": "this.class", "attr.role": "this.role" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>", styles: [":host{cursor:pointer;-webkit-user-select:none;user-select:none;display:block;border:none;border-radius:4px;margin:0;padding:12px 16px;text-decoration:none;width:100%}.daff-menu-item__content{display:flex;gap:8px;font-size:1rem;line-height:1.25rem;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuItemComponent, decorators: [{
|
22
|
-
type: Component,
|
23
|
-
args: [{ selector: 'a[daff-menu-item]' + ',' +
|
24
|
-
'button[daff-menu-item]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-menu-item__content\">\n <ng-content></ng-content>\n</div>", styles: [":host{cursor:pointer;-webkit-user-select:none;user-select:none;display:block;border:none;border-radius:4px;margin:0;padding:12px 16px;text-decoration:none;width:100%}.daff-menu-item__content{display:flex;gap:8px;font-size:1rem;line-height:1.25rem;text-align:left}\n"] }]
|
25
|
-
}], propDecorators: { class: [{
|
26
|
-
type: HostBinding,
|
27
|
-
args: ['class.daff-menu-item']
|
28
|
-
}], role: [{
|
29
|
-
type: HostBinding,
|
30
|
-
args: ['attr.role']
|
31
|
-
}], _prefix: [{
|
32
|
-
type: ContentChild,
|
33
|
-
args: [DaffPrefixDirective]
|
34
|
-
}] } });
|
35
|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RpdmUpIF9wcmVmaXg6IERhZmZQcmVmaXhEaXJlY3RpdmU7XG59XG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiX3ByZWZpeFwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJbZGFmZlByZWZpeF1cIj48L25nLWNvbnRlbnQ+XG48L25nLWNvbnRhaW5lcj5cbjxkaXYgY2xhc3M9XCJkYWZmLW1lbnUtaXRlbV9fY29udGVudFwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj4iXX0=
|
@@ -1,44 +0,0 @@
|
|
1
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { NgModule } from '@angular/core';
|
4
|
-
import { DaffMenuComponent } from './menu/menu.component';
|
5
|
-
import { DaffMenuActivatorDirective } from './menu-activator/menu-activator.component';
|
6
|
-
import { DaffMenuItemComponent } from './menu-item/menu-item.component';
|
7
|
-
import { DaffMenuService } from './service/menu.service';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export class DaffMenuModule {
|
10
|
-
}
|
11
|
-
/** @nocollapse */ DaffMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
-
/** @nocollapse */ DaffMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuModule, declarations: [DaffMenuActivatorDirective,
|
13
|
-
DaffMenuComponent,
|
14
|
-
DaffMenuItemComponent], imports: [CommonModule,
|
15
|
-
OverlayModule], exports: [DaffMenuActivatorDirective,
|
16
|
-
DaffMenuComponent,
|
17
|
-
DaffMenuItemComponent] });
|
18
|
-
/** @nocollapse */ DaffMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuModule, providers: [
|
19
|
-
DaffMenuService,
|
20
|
-
], imports: [CommonModule,
|
21
|
-
OverlayModule] });
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMenuModule, decorators: [{
|
23
|
-
type: NgModule,
|
24
|
-
args: [{
|
25
|
-
imports: [
|
26
|
-
CommonModule,
|
27
|
-
OverlayModule,
|
28
|
-
],
|
29
|
-
declarations: [
|
30
|
-
DaffMenuActivatorDirective,
|
31
|
-
DaffMenuComponent,
|
32
|
-
DaffMenuItemComponent,
|
33
|
-
],
|
34
|
-
exports: [
|
35
|
-
DaffMenuActivatorDirective,
|
36
|
-
DaffMenuComponent,
|
37
|
-
DaffMenuItemComponent,
|
38
|
-
],
|
39
|
-
providers: [
|
40
|
-
DaffMenuService,
|
41
|
-
],
|
42
|
-
}]
|
43
|
-
}] });
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL21lbnUvbWVudS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQ3ZGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3hFLE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cbmltcG9ydCB7IERhZmZNZW51SXRlbUNvbXBvbmVudCB9IGZyb20gJy4vbWVudS1pdGVtL21lbnUtaXRlbS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGFmZk1lbnVTZXJ2aWNlIH0gZnJvbSAnLi9zZXJ2aWNlL21lbnUuc2VydmljZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgT3ZlcmxheU1vZHVsZSxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRGFmZk1lbnVBY3RpdmF0b3JEaXJlY3RpdmUsXG4gICAgRGFmZk1lbnVDb21wb25lbnQsXG4gICAgRGFmZk1lbnVJdGVtQ29tcG9uZW50LFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRGFmZk1lbnVBY3RpdmF0b3JEaXJlY3RpdmUsXG4gICAgRGFmZk1lbnVDb21wb25lbnQsXG4gICAgRGFmZk1lbnVJdGVtQ29tcG9uZW50LFxuICBdLFxuICBwcm92aWRlcnM6IFtcbiAgICBEYWZmTWVudVNlcnZpY2UsXG4gIF0sXG59KVxuXG5leHBvcnQgY2xhc3MgRGFmZk1lbnVNb2R1bGUge31cbiJdfQ==
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export * from './helpers/public_api';
|
2
|
-
export { DaffMenuService } from './service/menu.service';
|
3
|
-
export { DaffMenuActivatorDirective } from './menu-activator/menu-activator.component';
|
4
|
-
export { DaffMenuModule } from './menu.module';
|
5
|
-
export { DaffMenuComponent } from './menu/menu.component';
|
6
|
-
export { DaffMenuItemComponent } from './menu-item/menu-item.component';
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVudS9wdWJsa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