@daffodil/design 0.66.0 → 0.67.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 +3 -2
- 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
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Given a list of sidebars, compute the associated content shift.
|
3
|
+
*/
|
4
|
+
export const sidebarViewportContentPadding = (sidebars, side) => sidebars.reduce((acc, sidebar) => {
|
5
|
+
if (!(sidebar.mode === "side-fixed" /* DaffSidebarModeEnum.SideFixed */ && sidebar.open)) {
|
6
|
+
return acc;
|
7
|
+
}
|
8
|
+
if (sidebar.side === side) {
|
9
|
+
return sidebar.width;
|
10
|
+
}
|
11
|
+
else {
|
12
|
+
// This component is "stateless", its possible to have two open "under" sidebars.
|
13
|
+
// As such, we defer to "left" being open by default.
|
14
|
+
return acc;
|
15
|
+
}
|
16
|
+
}, 0);
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zaWRlYmFyL3NyYy9zaWRlYmFyLXZpZXdwb3J0L3V0aWxzL2NvbnRlbnQtcGFkLnRzIl0sIm5hbWVzIjpbXSwibWFwc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ChzaWRlYmFyczogUXVlcnlMaXN0PERhZmZTaWRlYmFyQ29tcG9uZW50Piwgc2lkZTogRGFmZlNpZGViYXJTaWRlKTogbnVtYmVyID0+XG4gIHNpZGViYXJzLnJlZHVjZSgoYWNjOiBudW1iZXIsIHNpZGViYXIpID0+IHtcbiAgICBpZighKHNpZGViYXIubW9kZSA9PT0gRGFmZlNpZGViYXJNb2RlRW51bS5TaWRlRml4ZWQgJiYgc2lkZWJhci5vcGVuKSkge1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG5cbiAgICBpZihzaWRlYmFyLnNpZGUgPT09IHNpZGUpe1xuICAgICAgcmV0dXJuIHNpZGViYXIud2lkdGg7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIFRoaXMgY29tcG9uZW50IGlzIFwic3RhdGVsZXNzXCIsIGl0cyBwb3NzaWJsZSB0byBoYXZlIHR3byBvcGVuIFwidW5kZXJcIiBzaWRlYmFycy5cbiAgICAgIC8vIEFzIHN1Y2gsIHdlIGRlZmVyIHRvIFwibGVmdFwiIGJlaW5nIG9wZW4gYnkgZGVmYXVsdC5cbiAgICAgIHJldHVybiBhY2M7XG4gICAgfVxuICB9LCAwKTtcbiJdfQ==
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export const isViewportContentShifted = (mode, open) => (mode === 'under' && open);
|
2
|
+
/**
|
3
|
+
* Given a list of sidebars, compute the associated content shift.
|
4
|
+
*/
|
5
|
+
export const sidebarViewportContentShift = (sidebars) => sidebars.reduce((acc, sidebar) => {
|
6
|
+
if (!isViewportContentShifted(sidebar.mode, sidebar.open)) {
|
7
|
+
return acc;
|
8
|
+
}
|
9
|
+
if (sidebar.side === 'left') {
|
10
|
+
return sidebar.width;
|
11
|
+
}
|
12
|
+
else if (sidebar.side === 'right' && acc === 0) {
|
13
|
+
return -1 * sidebar.width;
|
14
|
+
}
|
15
|
+
else {
|
16
|
+
// This component is "stateless", its possible to have two open "under" sidebars.
|
17
|
+
// As such, we defer to "left" being open by default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0xICogc2lkZWJhci53aWR0aDtcbiAgICB9IGVsc2Uge1xuICAgICAgLy8gVGhpcyBjb21wb25lbnQgaXMgXCJzdGF0ZWxlc3NcIiwgaXRzIHBvc3NpYmxlIHRvIGhhdmUgdHdvIG9wZW4gXCJ1bmRlclwiIHNpZGViYXJzLlxuICAgICAgLy8gQXMgc3VjaCwgd2UgZGVmZXIgdG8gXCJsZWZ0XCIgYmVpbmcgb3BlbiBieSBkZWZhdWx0LlxuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG4gIH0sIDApO1xuXG5cbiJdfQ==
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { NgModule } from '@angular/core';
|
4
|
+
import { DaffBackdropModule } from '@daffodil/design';
|
5
|
+
import { DaffSidebarComponent } from './sidebar/sidebar.component';
|
6
|
+
import { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';
|
7
|
+
import { DaffSidebarHeaderActionDirective } from './sidebar-header/sidebar-header-action/sidebar-header-action.directive';
|
8
|
+
import { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';
|
9
|
+
import { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';
|
10
|
+
import { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
export class DaffSidebarModule {
|
13
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
14
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, declarations: [DaffSidebarComponent,
|
15
|
+
DaffSidebarViewportComponent,
|
16
|
+
DaffSidebarHeaderComponent,
|
17
|
+
DaffSidebarFooterComponent,
|
18
|
+
DaffSidebarHeaderTitleDirective,
|
19
|
+
DaffSidebarHeaderActionDirective], imports: [CommonModule,
|
20
|
+
A11yModule,
|
21
|
+
DaffBackdropModule], exports: [DaffSidebarComponent,
|
22
|
+
DaffSidebarViewportComponent,
|
23
|
+
DaffSidebarHeaderComponent,
|
24
|
+
DaffSidebarFooterComponent,
|
25
|
+
DaffSidebarHeaderTitleDirective,
|
26
|
+
DaffSidebarHeaderActionDirective] }); }
|
27
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, imports: [CommonModule,
|
28
|
+
A11yModule,
|
29
|
+
DaffBackdropModule] }); }
|
30
|
+
}
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarModule, decorators: [{
|
32
|
+
type: NgModule,
|
33
|
+
args: [{
|
34
|
+
imports: [
|
35
|
+
CommonModule,
|
36
|
+
A11yModule,
|
37
|
+
DaffBackdropModule,
|
38
|
+
],
|
39
|
+
declarations: [
|
40
|
+
DaffSidebarComponent,
|
41
|
+
DaffSidebarViewportComponent,
|
42
|
+
DaffSidebarHeaderComponent,
|
43
|
+
DaffSidebarFooterComponent,
|
44
|
+
DaffSidebarHeaderTitleDirective,
|
45
|
+
DaffSidebarHeaderActionDirective,
|
46
|
+
],
|
47
|
+
exports: [
|
48
|
+
DaffSidebarComponent,
|
49
|
+
DaffSidebarViewportComponent,
|
50
|
+
DaffSidebarHeaderComponent,
|
51
|
+
DaffSidebarFooterComponent,
|
52
|
+
DaffSidebarHeaderTitleDirective,
|
53
|
+
DaffSidebarHeaderActionDirective,
|
54
|
+
],
|
55
|
+
}]
|
56
|
+
}] });
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5tb2R1bGUu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WRlYmFyRm9vdGVyQ29tcG9uZW50LFxuICAgIERhZmZTaWRlYmFySGVhZGVyVGl0bGVEaXJlY3RpdmUsXG4gICAgRGFmZlNpZGViYXJIZWFkZXJBY3Rpb25EaXJlY3RpdmUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZTaWRlYmFyTW9kdWxlIHsgfVxuIl19
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@angular/router";
|
4
|
+
import * as i2 from "@daffodil/design/tree";
|
5
|
+
export class BasicTreeComponent {
|
6
|
+
constructor() {
|
7
|
+
this.tree = {
|
8
|
+
title: 'Root',
|
9
|
+
items: [
|
10
|
+
{
|
11
|
+
title: 'Example Children',
|
12
|
+
items: [
|
13
|
+
{ title: 'Example Child', url: '#', id: '', items: [], data: {} },
|
14
|
+
],
|
15
|
+
url: '#',
|
16
|
+
id: '',
|
17
|
+
data: {},
|
18
|
+
},
|
19
|
+
{
|
20
|
+
title: 'Example Link',
|
21
|
+
items: [],
|
22
|
+
url: '#',
|
23
|
+
id: '',
|
24
|
+
data: {},
|
25
|
+
},
|
26
|
+
],
|
27
|
+
url: '',
|
28
|
+
id: '',
|
29
|
+
data: {},
|
30
|
+
};
|
31
|
+
}
|
32
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
33
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicTreeComponent, selector: "basic-tree", ngImport: i0, template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n", dependencies: [{ kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2.DaffTreeComponent, selector: "ul[daff-tree]", inputs: ["tree"] }, { kind: "directive", type: i2.DaffTreeItemDirective, selector: "[daffTreeItem]", inputs: ["node", "selected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
34
|
+
}
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeComponent, decorators: [{
|
36
|
+
type: Component,
|
37
|
+
args: [{ selector: 'basic-tree', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul daff-tree [tree]=\"tree\">\n\t<ng-template #daffTreeItemWithChildrenTpl let-node>\n\t\t\t<button daffTreeItem [node]=\"node\">{{ node.title }} </button>\n\t</ng-template>\n\t\n\t<ng-template #daffTreeItemTpl let-node>\n\t\t\t<a daffTreeItem [node]=\"node\" [routerLink]=\"node.url\">{{ node.title }}</a>\n\t</ng-template>\n</ul>\n\n" }]
|
38
|
+
}] });
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtdHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL2V4YW1wbGVzL3NyYy9iYXNpYy10cmVlL2Jhc2ljLXRyZWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9leGFtcGxlcy9zcmMvYmFzaWMtdHJlZS9iYXNpYy10cmVlLmNvbXBvbmV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wiPlxuXHQ8bmctdGVtcGxhdGUgI2RhZmZUcmVlSXRlbVdpdGhDaGlsZHJlblRwbCBsZXQtbm9kZT5cblx0XHRcdDxidXR0b24gZGFmZlRyZWVJdGVtIFtub2RlXT1cIm5vZGVcIj57eyBub2RlLnRpdGxlIH19IDwvYnV0dG9uPlxuXHQ8L25nLXRlbXBsYXRlPlxuXHRcblx0PG5nLXRlbXBsYXRlICNkYWZmVHJlZUl0ZW1UcGwgbGV0LW5vZGU+XG5cdFx0XHQ8YSBkYWZmVHJlZUl0ZW0gW25vZGVdPVwibm9kZVwiIFtyb3V0ZXJMaW5rXT1cIm5vZGUudXJsXCI+e3sgbm9kZS50aXRsZSB9fTwvYT5cblx0PC9uZy10ZW1wbGF0ZT5cbjwvdWw+XG5cbiJdfQ==
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { RouterModule } from '@angular/router';
|
3
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
4
|
+
import { DaffTreeModule } from '@daffodil/design/tree';
|
5
|
+
import { BasicTreeComponent } from './basic-tree.component';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export class BasicTreeModule {
|
8
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
9
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, declarations: [BasicTreeComponent], imports: [RouterModule,
|
10
|
+
DaffTreeModule,
|
11
|
+
FontAwesomeModule], exports: [BasicTreeComponent] }); }
|
12
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, imports: [RouterModule,
|
13
|
+
DaffTreeModule,
|
14
|
+
FontAwesomeModule] }); }
|
15
|
+
}
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicTreeModule, decorators: [{
|
17
|
+
type: NgModule,
|
18
|
+
args: [{
|
19
|
+
declarations: [
|
20
|
+
BasicTreeComponent,
|
21
|
+
],
|
22
|
+
exports: [
|
23
|
+
BasicTreeComponent,
|
24
|
+
],
|
25
|
+
imports: [
|
26
|
+
RouterModule,
|
27
|
+
DaffTreeModule,
|
28
|
+
FontAwesomeModule,
|
29
|
+
],
|
30
|
+
}]
|
31
|
+
}] });
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtdHJlZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90cmVlL2V4YW1wbGVzL3NyYy9iYXNpYy10cmVlL2Jhc2ljLXRyZWUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBRXJFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV2RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFlNUQsTUFBTSxPQUFPLGVBQWU7aUlBQWYsZUFBZTtrSUFBZixlQUFlLGlCQVh4QixrQkFBa0IsYUFNbEIsWUFBWTtZQUNaLGNBQWM7WUFDZCxpQkFBaUIsYUFMakIsa0JBQWtCO2tJQVFULGVBQWUsWUFMeEIsWUFBWTtZ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from 'rxjs';
|
4
|
+
/**
|
5
|
+
* This service is used by tree-items to notify their parent
|
6
|
+
* that the tree has to be re-computed.
|
7
|
+
*
|
8
|
+
* This service is a multiton associated with each tree instance.
|
9
|
+
* It follows the same lifecycle has the tree it is associated with.
|
10
|
+
*/
|
11
|
+
let DaffTreeNotifierService = class DaffTreeNotifierService {
|
12
|
+
constructor() {
|
13
|
+
/**
|
14
|
+
* @docs-private
|
15
|
+
*/
|
16
|
+
this._notice = new BehaviorSubject(true);
|
17
|
+
/**
|
18
|
+
* An observable that emits when the tree needs to be re-computed.
|
19
|
+
*/
|
20
|
+
this.notice$ = this._notice.asObservable();
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* `notify` can be called to trigger a re-computation of the tree
|
24
|
+
* if data has changed unexpectedly and a re-render did not occur.
|
25
|
+
*
|
26
|
+
* This should be used sparingly. Instead, prefer updating `data` on the tree
|
27
|
+
* itself for performance reasons.
|
28
|
+
*/
|
29
|
+
notify() {
|
30
|
+
this._notice.next(true);
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Cleanup when the tree is destroyed.
|
34
|
+
*
|
35
|
+
* @docs-private
|
36
|
+
*/
|
37
|
+
ngOnDestroy() {
|
38
|
+
this._notice.complete();
|
39
|
+
}
|
40
|
+
};
|
41
|
+
DaffTreeNotifierService = __decorate([
|
42
|
+
Inject({})
|
43
|
+
], DaffTreeNotifierService);
|
44
|
+
export { DaffTreeNotifierService };
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1ub3RpZmllci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdHJlZS9zcmMvdHJlZS90cmVlLW5vdGlmaWVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDTCxNQUFNLEdBRVAsTUFBTS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kIHtcbiAgICB0aGlzLl9ub3RpY2UuY29tcGxldGUoKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,106 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input, TemplateRef, ViewEncapsulation, } from '@angular/core';
|
2
|
+
import { DaffTreeNotifierService } from './tree-notifier.service';
|
3
|
+
import { flattenTree, } from '../utils/flatten-tree';
|
4
|
+
import { hydrateTree } from '../utils/hydrate-tree';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "./tree-notifier.service";
|
7
|
+
import * as i2 from "@angular/common";
|
8
|
+
/**
|
9
|
+
* The `DaffTreeComponent` allows you to render tree structures as interactable ui.
|
10
|
+
*
|
11
|
+
* They can be used like:
|
12
|
+
*
|
13
|
+
* ```html
|
14
|
+
* <ul daff-tree [tree]="tree">
|
15
|
+
* <ng-template #daffTreeItemWithChildrenTpl let-node>
|
16
|
+
* <button daffTreeItem [node]="node">{{ node.title }} </button>
|
17
|
+
* </ng-template>
|
18
|
+
*
|
19
|
+
* <ng-template #daffTreeItemTpl let-node>
|
20
|
+
* <a daffTreeItem [node]="node" [routerLink]="node.url">{{ node.title }}</a>
|
21
|
+
* </ng-template>
|
22
|
+
* </ul>
|
23
|
+
* ```
|
24
|
+
*
|
25
|
+
* where `tree` is a {@link DaffTreeData}.
|
26
|
+
*
|
27
|
+
*/
|
28
|
+
export class DaffTreeComponent {
|
29
|
+
/**
|
30
|
+
* The tree data you would like to render.
|
31
|
+
*/
|
32
|
+
get dataTree() {
|
33
|
+
return this._dataTree;
|
34
|
+
}
|
35
|
+
set dataTree(dataTree) {
|
36
|
+
if (!dataTree) {
|
37
|
+
this._dataTree = undefined;
|
38
|
+
this.tree = undefined;
|
39
|
+
this.flatTree = [];
|
40
|
+
return;
|
41
|
+
}
|
42
|
+
this._dataTree = dataTree;
|
43
|
+
this.tree = hydrateTree(this.dataTree);
|
44
|
+
this.flatTree = flattenTree(this.tree);
|
45
|
+
}
|
46
|
+
;
|
47
|
+
constructor(notifier) {
|
48
|
+
this.notifier = notifier;
|
49
|
+
/**
|
50
|
+
* The css class of the daff-tree.
|
51
|
+
*
|
52
|
+
* @docs-private
|
53
|
+
*/
|
54
|
+
this.class = true;
|
55
|
+
/**
|
56
|
+
* The internal tree element.
|
57
|
+
*/
|
58
|
+
this.tree = undefined;
|
59
|
+
/**
|
60
|
+
* The flattened tree data. You can iterate through this if you want to inspect
|
61
|
+
* the resulting array structure we computed to render the tree.
|
62
|
+
*/
|
63
|
+
this.flatTree = [];
|
64
|
+
/**
|
65
|
+
* @docs-private
|
66
|
+
*/
|
67
|
+
this._dataTree = undefined;
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* The track-by function used to reduce tree-item re-renders
|
71
|
+
*/
|
72
|
+
trackByTreeElement(index, el) {
|
73
|
+
return el.title;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* @docs-private
|
77
|
+
*/
|
78
|
+
ngOnInit() {
|
79
|
+
this.notifier.notice$.subscribe(() => {
|
80
|
+
this.flatTree = flattenTree(this.tree);
|
81
|
+
});
|
82
|
+
}
|
83
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeComponent, deps: [{ token: i1.DaffTreeNotifierService }], target: i0.ɵɵFactoryTarget.Component }); }
|
84
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffTreeComponent, selector: "ul[daff-tree]", inputs: { dataTree: ["tree", "dataTree"] }, host: { properties: { "class.daff-tree": "this.class" } }, providers: [
|
85
|
+
DaffTreeNotifierService,
|
86
|
+
], queries: [{ propertyName: "withChildrenTemplate", first: true, predicate: ["daffTreeItemWithChildrenTpl"], descendants: true, static: true }, { propertyName: "treeItemTemplate", first: true, predicate: ["daffTreeItemTpl"], descendants: true, static: true }], ngImport: i0, template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<li [attr.aria-level]=\"node.level\">\n\t\t<ng-container \n\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t</ng-container>\t\n\t</li>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 16px}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:8px 16px 8px 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item__parent{position:relative}.daff-tree-item__parent:after{content:\"\";position:absolute;top:48%;right:16px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item__parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
87
|
+
}
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeComponent, decorators: [{
|
89
|
+
type: Component,
|
90
|
+
args: [{ selector: 'ul[daff-tree]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
91
|
+
DaffTreeNotifierService,
|
92
|
+
], template: "<ng-container *ngFor=\"let node of flatTree; trackBy: trackByTreeElement\">\n\t<li [attr.aria-level]=\"node.level\">\n\t\t<ng-container \n\t\t\t*ngTemplateOutlet=\"node.hasChildren ? withChildrenTemplate : treeItemTemplate; context: { $implicit: node }\">\n\t\t</ng-container>\t\n\t</li>\n</ng-container>", styles: [".daff-tree{margin:0;padding:0;list-style:none;--tree-padding: 16px}.daff-tree-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;background:none;border:0;padding:8px 16px 8px 0;line-height:1.5rem;font-weight:400;text-align:left;text-decoration:none;width:100%;padding-left:calc(var(--tree-padding) * (var(--depth)))}.daff-tree-item:before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px}.daff-tree-item:focus,.daff-tree-item:focus-visible{z-index:1}.daff-tree-item.selected{font-weight:600}.daff-tree-item__parent{position:relative}.daff-tree-item__parent:after{content:\"\";position:absolute;top:48%;right:16px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;width:8px;height:8px;transform:translateY(-50%) rotate(45deg);transition:transform .15s}.daff-tree-item__parent.open:after{top:56%;transform:translateY(-50%) rotate(225deg)}\n"] }]
|
93
|
+
}], ctorParameters: () => [{ type: i1.DaffTreeNotifierService }], propDecorators: { class: [{
|
94
|
+
type: HostBinding,
|
95
|
+
args: ['class.daff-tree']
|
96
|
+
}], dataTree: [{
|
97
|
+
type: Input,
|
98
|
+
args: ['tree']
|
99
|
+
}], withChildrenTemplate: [{
|
100
|
+
type: ContentChild,
|
101
|
+
args: ['daffTreeItemWithChildrenTpl', { static: true }]
|
102
|
+
}], treeItemTemplate: [{
|
103
|
+
type: ContentChild,
|
104
|
+
args: ['daffTreeItemTpl', { static: true }]
|
105
|
+
}] } });
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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iB1c2VkIHRvIHJlZHVjZSB0cmVlLWl0ZW0gcmUtcmVuZGVyc1xuICAgKi9cbiAgdHJhY2tCeVRyZWVFbGVtZW50KGluZGV4OiBudW1iZXIsIGVsOiBhbnkpOiBhbnkge1xuICAgIHJldHVybiBlbC50aXRsZTtcbiAgfVxuXG4gIC8qKlxuICAgKiBAZG9jcy1wcml2YXRlXG4gICAqL1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLm5vdGlmaWVyLm5vdGljZSQuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIHRoaXMuZmxhdFRyZWUgPSBmbGF0dGVuVHJlZSh0aGlzLnRyZWUpO1xuICAgIH0pO1xuICB9XG59XG4iLCI8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBub2RlIG9mIGZsYXRUcmVlOyB0cmFja0J5OiB0cmFja0J5VHJlZUVsZW1lbnRcIj5cblx0PGxpIFthdHRyLmFyaWEtbGV2ZWxdPVwibm9kZS5sZXZlbFwiPlxuXHRcdDxuZy1jb250YWluZXIgXG5cdFx0XHQqbmdUZW1wbGF0ZU91dGxldD1cIm5vZGUuaGFzQ2hpbGRyZW4gPyB3aXRoQ2hpbGRyZW5UZW1wbGF0ZSA6IHRyZWVJdGVtVGVtcGxhdGU7IGNvbnRleHQ6IHsgJGltcGxpY2l0OiBub2RlIH1cIj5cblx0XHQ8L25nLWNvbnRhaW5lcj5cdFxuXHQ8L2xpPlxuPC9uZy1jb250YWluZXI+Il19
|
@@ -0,0 +1,154 @@
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
2
|
+
import { Directive, HostBinding, HostListener, Inject, Input, } from '@angular/core';
|
3
|
+
import { DaffTreeNotifierService } from '../tree/tree-notifier.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "../tree/tree-notifier.service";
|
6
|
+
/**
|
7
|
+
* The `DaffTreeItemDirective` allows you to demarcate the elements which are
|
8
|
+
* tree-children that interact with the parent tree.
|
9
|
+
*
|
10
|
+
* They can be used like:
|
11
|
+
*
|
12
|
+
* ```html
|
13
|
+
* <ul daff-tree [tree]="tree">
|
14
|
+
* <ng-template #daffTreeItemWithChildrenTpl let-node>
|
15
|
+
* <button daffTreeItem [node]="node">{{ node.title }} </button>
|
16
|
+
* </ng-template>
|
17
|
+
*
|
18
|
+
* <ng-template #daffTreeItemTpl let-node>
|
19
|
+
* <a daffTreeItem [node]="node" [routerLink]="node.url">{{ node.title }}</a>
|
20
|
+
* </ng-template>
|
21
|
+
* </ul>
|
22
|
+
* ```
|
23
|
+
*
|
24
|
+
* where `tree` is a {@link DaffTreeData} and `daff-tree` is a {@link DaffTreeComponent}.
|
25
|
+
*
|
26
|
+
*/
|
27
|
+
export class DaffTreeItemDirective {
|
28
|
+
/**
|
29
|
+
* The CSS class indicating whether or not the tree is `selected`.
|
30
|
+
*/
|
31
|
+
get selectedClass() {
|
32
|
+
return this.selected;
|
33
|
+
}
|
34
|
+
;
|
35
|
+
/**
|
36
|
+
* The {@link DaffTreeFlatNode} associated with this specific tree item.
|
37
|
+
*/
|
38
|
+
get node() {
|
39
|
+
return this._node;
|
40
|
+
}
|
41
|
+
;
|
42
|
+
set node(val) {
|
43
|
+
this._node = val;
|
44
|
+
this.id = 'tree-' + this._node.id;
|
45
|
+
this.ariaExpanded = this._node._treeRef.open ? 'true' : 'false';
|
46
|
+
this.depth = this._node.level;
|
47
|
+
this.classParent = this._node.hasChildren;
|
48
|
+
this.openClass = this._node._treeRef.open;
|
49
|
+
}
|
50
|
+
constructor(document, treeNotifier) {
|
51
|
+
this.document = document;
|
52
|
+
this.treeNotifier = treeNotifier;
|
53
|
+
/**
|
54
|
+
* The css class of the daff-tree.
|
55
|
+
*
|
56
|
+
* @docs-private
|
57
|
+
*/
|
58
|
+
this.class = true;
|
59
|
+
/**
|
60
|
+
* The css class of a DaffTreeItemDirective that has children.
|
61
|
+
*
|
62
|
+
* @docs-private
|
63
|
+
*/
|
64
|
+
this.classParent = false;
|
65
|
+
/**
|
66
|
+
* The CSS class indicating whether or not the tree is `open`.
|
67
|
+
*/
|
68
|
+
this.openClass = false;
|
69
|
+
/**
|
70
|
+
* Whether or not the tree item is the currently active item.
|
71
|
+
* Note that there is no requirement there there only be one active item at a time.
|
72
|
+
*/
|
73
|
+
this.selected = false;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* @docs-private
|
77
|
+
*/
|
78
|
+
onEscape() {
|
79
|
+
this.toggleParent(this.node);
|
80
|
+
}
|
81
|
+
/**
|
82
|
+
* @docs-private
|
83
|
+
*/
|
84
|
+
onClick() {
|
85
|
+
if (this.node.hasChildren) {
|
86
|
+
this.toggleTree(this.node);
|
87
|
+
}
|
88
|
+
this.treeNotifier.notify();
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* Toggle the open state of the tree's parent.
|
92
|
+
*/
|
93
|
+
toggleParent(node) {
|
94
|
+
if (node._treeRef?.parent.parent === undefined) {
|
95
|
+
return;
|
96
|
+
}
|
97
|
+
node._treeRef.parent.open = !node._treeRef.parent.open;
|
98
|
+
this.document.getElementById('tree-' + node._treeRef.parent.id).focus();
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* Toggle the open state of this specific subtree tree.
|
102
|
+
*/
|
103
|
+
toggleTree(node) {
|
104
|
+
if (node._treeRef.open === false) {
|
105
|
+
node._treeRef.open = true;
|
106
|
+
}
|
107
|
+
else {
|
108
|
+
node._treeRef.open = false;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeItemDirective, deps: [{ token: DOCUMENT }, { token: i1.DaffTreeNotifierService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
112
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffTreeItemDirective, selector: "[daffTreeItem]", inputs: { node: "node", selected: "selected" }, host: { listeners: { "keydown.escape": "onEscape()", "click": "onClick()" }, properties: { "class.daff-tree-item": "this.class", "class.daff-tree-item__parent": "this.classParent", "attr.id": "this.id", "attr.aria-expanded": "this.ariaExpanded", "style.--depth": "this.depth", "class.selected": "this.selectedClass", "class.open": "this.openClass" } }, ngImport: i0 }); }
|
113
|
+
}
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeItemDirective, decorators: [{
|
115
|
+
type: Directive,
|
116
|
+
args: [{
|
117
|
+
selector: '[daffTreeItem]',
|
118
|
+
}]
|
119
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
120
|
+
type: Inject,
|
121
|
+
args: [DOCUMENT]
|
122
|
+
}] }, { type: i1.DaffTreeNotifierService }], propDecorators: { class: [{
|
123
|
+
type: HostBinding,
|
124
|
+
args: ['class.daff-tree-item']
|
125
|
+
}], classParent: [{
|
126
|
+
type: HostBinding,
|
127
|
+
args: ['class.daff-tree-item__parent']
|
128
|
+
}], id: [{
|
129
|
+
type: HostBinding,
|
130
|
+
args: ['attr.id']
|
131
|
+
}], ariaExpanded: [{
|
132
|
+
type: HostBinding,
|
133
|
+
args: ['attr.aria-expanded']
|
134
|
+
}], depth: [{
|
135
|
+
type: HostBinding,
|
136
|
+
args: ['style.--depth']
|
137
|
+
}], selectedClass: [{
|
138
|
+
type: HostBinding,
|
139
|
+
args: ['class.selected']
|
140
|
+
}], openClass: [{
|
141
|
+
type: HostBinding,
|
142
|
+
args: ['class.open']
|
143
|
+
}], node: [{
|
144
|
+
type: Input
|
145
|
+
}], selected: [{
|
146
|
+
type: Input
|
147
|
+
}], onEscape: [{
|
148
|
+
type: HostListener,
|
149
|
+
args: ['keydown.escape']
|
150
|
+
}], onClick: [{
|
151
|
+
type: HostListener,
|
152
|
+
args: ['click']
|
153
|
+
}] } });
|
154
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ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dG9nZ2xlVHJlZShub2RlOiBEYWZmVHJlZUZsYXROb2RlKSB7XG4gICAgaWYobm9kZS5fdHJlZVJlZi5vcGVuID09PSBmYWxzZSkge1xuICAgICAgbm9kZS5fdHJlZVJlZi5vcGVuID0gdHJ1ZTtcbiAgICB9IGVsc2Uge1xuICAgICAgbm9kZS5fdHJlZVJlZi5vcGVuID0gZmFsc2U7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { DaffTreeComponent } from './tree/tree.component';
|
4
|
+
import { DaffTreeItemDirective } from './tree-item/tree-item.directive';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export class DaffTreeModule {
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
8
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, declarations: [DaffTreeComponent,
|
9
|
+
DaffTreeItemDirective], imports: [CommonModule], exports: [DaffTreeComponent,
|
10
|
+
DaffTreeItemDirective] }); }
|
11
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, imports: [CommonModule] }); }
|
12
|
+
}
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffTreeModule, decorators: [{
|
14
|
+
type: NgModule,
|
15
|
+
args: [{
|
16
|
+
declarations: [
|
17
|
+
DaffTreeComponent,
|
18
|
+
DaffTreeItemDirective,
|
19
|
+
],
|
20
|
+
imports: [
|
21
|
+
CommonModule,
|
22
|
+
],
|
23
|
+
exports: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JztcblxuaW1wb3J0IHsgRGFmZlRyZWVDb21wb25lbnQgfSBmcm9tICcuL3RyZWUvdHJlZS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGFmZlRyZWVJdGVtRGlyZWN0aXZlIH0gZnJvbSAnLi90cmVlLWl0ZW0vdHJlZS1pdGVtLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZUcmVlQ29tcG9uZW50LFxuICAgIERhZmZUcmVlSXRlbURpcmVjdGl2ZSxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhZmZUcmVlQ29tcG9uZW50LFxuICAgIERhZmZUcmVlSXRlbURpcmVjdGl2ZSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZlRyZWVNb2R1bGUgeyB9XG4iXX0=
|
package/examples/examples.d.ts
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i1 from '@daffodil/design/accordion';
|
4
|
+
import { DaffAccordionModule } from '@daffodil/design/accordion';
|
5
|
+
import { CommonModule } from '@angular/common';
|
6
|
+
|
7
|
+
class BasicAccordionComponent {
|
8
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
9
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BasicAccordionComponent, selector: "basic-accordion", ngImport: i0, template: "<daff-accordion>\n\t<daff-accordion-item initiallyActive=\"true\">\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n</daff-accordion>\n", dependencies: [{ kind: "component", type: i1.DaffAccordionComponent, selector: "daff-accordion" }, { kind: "component", type: i1.DaffAccordionItemComponent, selector: "daff-accordion-item", inputs: ["initiallyActive"] }, { kind: "directive", type: i1.DaffAccordionItemTitleDirective, selector: "[daffAccordionItemTitle]" }, { kind: "directive", type: i1.DaffAccordionItemContentDirective, selector: "[daffAccordionItemContent]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
10
|
+
}
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BasicAccordionComponent, decorators: [{
|
12
|
+
type: Component,
|
13
|
+
args: [{ selector: 'basic-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-accordion>\n\t<daff-accordion-item initiallyActive=\"true\">\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n\t<daff-accordion-item>\n\t\t<h3 daffAccordionItemTitle>Details</h3>\n\t\t<div daffAccordionItemContent>\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo \n\t\t\t\tlacus ut sapien consectetur, et ultricies leo rutrum. Integer iaculis ultrices nunc, \n\t\t\t\tet maximus quam efficitur sed. Maecenas iaculis nisl neque, maximus sagittis libero sagittis eget.\n\t\t\t\t<a>Learn More.</a>\n\t\t</div>\n\t</daff-accordion-item>\n</daff-accordion>\n" }]
|
14
|
+
}] });
|
15
|
+
|
16
|
+
const ACCORDION_EXAMPLES = [
|
17
|
+
BasicAccordionComponent,
|
18
|
+
];
|
19
|
+
|
20
|
+
class AccordionExamplesModule {
|
21
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
22
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, declarations: [BasicAccordionComponent], imports: [CommonModule,
|
23
|
+
DaffAccordionModule] }); }
|
24
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, imports: [CommonModule,
|
25
|
+
DaffAccordionModule] }); }
|
26
|
+
}
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: AccordionExamplesModule, decorators: [{
|
28
|
+
type: NgModule,
|
29
|
+
args: [{
|
30
|
+
declarations: [
|
31
|
+
...ACCORDION_EXAMPLES,
|
32
|
+
],
|
33
|
+
imports: [
|
34
|
+
CommonModule,
|
35
|
+
DaffAccordionModule,
|
36
|
+
],
|
37
|
+
}]
|
38
|
+
}] });
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Generated bundle index. Do not edit.
|
42
|
+
*/
|
43
|
+
|
44
|
+
export { ACCORDION_EXAMPLES, AccordionExamplesModule, BasicAccordionComponent };
|
45
|
+
//# sourceMappingURL=daffodil-design-accordion-examples.mjs.map
|