@daffodil/design 0.66.1 → 0.68.0
Sign up to get free protection for your applications and to get access to all the features.
- package/accordion/README.md +21 -0
- package/accordion/accordion/accordion/accordion.component.d.ts +22 -0
- package/accordion/accordion/accordion-item/accordion-item.component.d.ts +32 -0
- package/accordion/accordion.module.d.ts +13 -0
- package/accordion/examples/accordion-examples.module.d.ts +9 -0
- package/accordion/examples/examples.d.ts +2 -0
- package/accordion/examples/public_api.d.ts +3 -6
- package/accordion/index.d.ts +1 -0
- package/accordion/public_api.d.ts +5 -0
- package/accordion/src/accordion-theme.scss +12 -0
- package/article/README.md +49 -0
- package/article/examples/article-examples.module.d.ts +1 -1
- package/article/index.d.ts +1 -0
- package/article/src/article-theme.scss +78 -0
- package/atoms/form/checkbox/checkbox.component.d.ts +1 -1
- package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +1 -1
- package/atoms/form/checkbox-set/checkbox-set.component.d.ts +1 -1
- package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
- package/atoms/form/input/input.component.d.ts +1 -1
- package/atoms/form/native-select/native-select.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-field.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +1 -1
- package/atoms/form/radio/cva/radio-cva.directive.d.ts +1 -1
- package/atoms/form/radio/radio.component.d.ts +1 -1
- package/atoms/form/radio-set/radio-set.component.d.ts +1 -1
- package/atoms/progress-indicator/progress-indicator.component.d.ts +1 -1
- package/button/README.md +58 -0
- package/button/button/button.component.d.ts +90 -0
- package/button/button.module.d.ts +10 -0
- package/button/examples/basic-button/basic-button.module.d.ts +1 -1
- package/button/examples/flat-button/flat-button.module.d.ts +1 -1
- package/button/examples/icon-button/icon-button.module.d.ts +1 -1
- package/button/examples/raised-button/raised-button.module.d.ts +1 -1
- package/button/examples/sizeable-button/sizeable-button.module.d.ts +1 -1
- package/button/examples/statusable-button/statusable-button.module.d.ts +1 -1
- package/button/examples/stroked-button/stroked-button.module.d.ts +1 -1
- package/button/examples/underline-button/underline-button.module.d.ts +1 -1
- package/button/index.d.ts +1 -0
- package/button/public_api.d.ts +2 -0
- package/button/src/button-theme-variants/button.scss +26 -0
- package/button/src/button-theme-variants/flat.scss +25 -0
- package/button/src/button-theme-variants/raised.scss +36 -0
- package/button/src/button-theme-variants/stroked.scss +28 -0
- package/button/src/button-theme.scss +574 -0
- package/callout/README.md +54 -0
- package/callout/callout/callout.component.d.ts +78 -0
- package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +5 -3
- package/callout/examples/callout-theming/callout-theming.module.d.ts +4 -3
- package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +5 -3
- package/callout/examples/compact-callout/compact-callout.module.d.ts +5 -3
- package/callout/index.d.ts +1 -0
- package/callout/src/callout-theme.scss +59 -0
- package/card/README.md +60 -0
- package/card/card/card.component.d.ts +66 -0
- package/card/examples/basic-card/basic-card.module.d.ts +5 -3
- package/card/examples/card-orientation/card-orientation.module.d.ts +5 -3
- package/card/examples/card-theming/card-theming.module.d.ts +3 -2
- package/card/examples/linkable-card/linkable-card.module.d.ts +4 -2
- package/card/examples/raised-card/raised-card.module.d.ts +4 -2
- package/card/examples/stroked-card/stroked-card.module.d.ts +4 -2
- package/card/index.d.ts +1 -0
- package/card/src/card-theme-variants/basic-card.scss +6 -0
- package/card/src/card-theme-variants/linkable-card.scss +16 -0
- package/card/src/card-theme.scss +170 -0
- package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +3 -2
- package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +3 -2
- package/container/README.md +18 -0
- package/container/container/container.component.d.ts +32 -0
- package/container/container.module.d.ts +8 -0
- package/container/examples/container-sizes/container-sizes.module.d.ts +1 -1
- package/container/index.d.ts +1 -0
- package/container/public_api.d.ts +2 -0
- package/core/colorable/colorable.d.ts +1 -1
- package/core/constructor/constructor.d.ts +1 -1
- package/core/public_api.d.ts +2 -1
- package/core/sizable/public_api.d.ts +2 -0
- package/core/sizable/sizable-mixin.d.ts +15 -0
- package/core/sizable/sizable.d.ts +23 -0
- package/core/statusable/statusable.d.ts +1 -1
- package/core/text-alignable/public_api.d.ts +2 -0
- package/core/text-alignable/text-alignable.d.ts +4 -1
- package/core/theming/services/storage/theme-storage.service.d.ts +1 -1
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +27 -0
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +54 -0
- package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
- package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +9 -0
- package/esm2022/accordion/accordion/animation/accordion-animation.mjs +18 -0
- package/esm2022/accordion/accordion.module.mjs +47 -0
- package/esm2022/accordion/daffodil-design-accordion.mjs +5 -0
- package/esm2022/accordion/examples/accordion-examples.module.mjs +26 -0
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
- package/esm2022/accordion/examples/examples.mjs +5 -0
- package/esm2022/accordion/examples/public_api.mjs +4 -0
- package/esm2022/accordion/index.mjs +2 -0
- package/esm2022/accordion/public_api.mjs +6 -0
- package/esm2022/article/article/article.component.mjs +30 -0
- package/esm2022/article/article-lead/article-lead.directive.mjs +22 -0
- package/esm2022/article/article-meta/article-meta.directive.mjs +22 -0
- package/esm2022/article/article-title/article-title.directive.mjs +22 -0
- package/esm2022/article/article.module.mjs +39 -0
- package/esm2022/article/daffodil-design-article.mjs +5 -0
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +12 -0
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
- package/esm2022/article/examples/article-examples.module.mjs +36 -0
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +12 -0
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +12 -0
- package/esm2022/article/examples/article-lead/article-lead.component.mjs +12 -0
- package/esm2022/article/examples/article-link/article-link.component.mjs +12 -0
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +12 -0
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +12 -0
- package/esm2022/article/examples/article-table/article-table.component.mjs +12 -0
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +12 -0
- package/esm2022/article/index.mjs +2 -0
- package/esm2022/article/public_api.mjs +6 -0
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +142 -0
- package/esm2022/atoms/form/checkbox/checkbox.module.mjs +39 -0
- package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
- package/esm2022/atoms/form/error-message/error-message.component.mjs +17 -0
- package/esm2022/atoms/form/error-message/error-message.module.mjs +20 -0
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
- package/esm2022/atoms/form/form-field/form-field.module.mjs +34 -0
- package/esm2022/atoms/form/form-label/form-label.directive.mjs +19 -0
- package/esm2022/atoms/form/form-label/form-label.module.mjs +20 -0
- package/esm2022/atoms/form/input/input.component.mjs +59 -0
- package/esm2022/atoms/form/input/input.module.mjs +24 -0
- package/esm2022/atoms/form/native-select/native-select.component.mjs +64 -0
- package/esm2022/atoms/form/native-select/native-select.module.mjs +24 -0
- package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +134 -0
- package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +46 -0
- package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +97 -0
- package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +84 -0
- package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
- package/esm2022/atoms/form/radio/radio.component.mjs +132 -0
- package/esm2022/atoms/form/radio/radio.module.mjs +34 -0
- package/esm2022/atoms/form/radio/registry/radio-registry.mjs +54 -0
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +22 -0
- package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
- package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +20 -0
- package/esm2022/button/button/button.component.mjs +185 -0
- package/esm2022/button/button.module.mjs +34 -0
- package/esm2022/button/daffodil-design-button.mjs +5 -0
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +19 -0
- package/esm2022/button/examples/basic-button/basic-button.module.mjs +28 -0
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +19 -0
- package/esm2022/button/examples/flat-button/flat-button.module.mjs +28 -0
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +17 -0
- package/esm2022/button/examples/icon-button/icon-button.module.mjs +28 -0
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +19 -0
- package/esm2022/button/examples/raised-button/raised-button.module.mjs +28 -0
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +17 -0
- package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +28 -0
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +19 -0
- package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +28 -0
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +19 -0
- package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +28 -0
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +19 -0
- package/esm2022/button/examples/underline-button/underline-button.module.mjs +28 -0
- package/esm2022/button/index.mjs +2 -0
- package/esm2022/button/public_api.mjs +3 -0
- package/esm2022/callout/callout/callout.component.mjs +67 -0
- package/esm2022/callout/callout-body/callout-body.directive.mjs +22 -0
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +22 -0
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
- package/esm2022/callout/callout-title/callout-title.directive.mjs +22 -0
- package/esm2022/callout/callout.module.mjs +49 -0
- package/esm2022/callout/daffodil-design-callout.mjs +5 -0
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +29 -0
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +32 -0
- package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +37 -0
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +19 -0
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +19 -0
- package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
- package/esm2022/callout/index.mjs +2 -0
- package/esm2022/callout/public_api.mjs +8 -0
- package/esm2022/card/card/card.component.mjs +112 -0
- package/esm2022/card/card-actions/card-actions.directive.mjs +22 -0
- package/esm2022/card/card-content/card-content.directive.mjs +22 -0
- package/esm2022/card/card-icon/card-icon.directive.mjs +22 -0
- package/esm2022/card/card-image/card-image.directive.mjs +22 -0
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +22 -0
- package/esm2022/card/card-title/card-title.directive.mjs +22 -0
- package/esm2022/card/card.module.mjs +54 -0
- package/esm2022/card/daffodil-design-card.mjs +5 -0
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +19 -0
- package/esm2022/card/examples/basic-card/basic-card.module.mjs +40 -0
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +28 -0
- package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +44 -0
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +28 -0
- package/esm2022/card/examples/card-theming/card-theming.module.mjs +36 -0
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +31 -0
- package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +44 -0
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +29 -0
- package/esm2022/card/examples/raised-card/raised-card.module.mjs +40 -0
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +29 -0
- package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +44 -0
- package/esm2022/card/index.mjs +2 -0
- package/esm2022/card/public_api.mjs +9 -0
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +27 -0
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +33 -0
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +29 -0
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +33 -0
- package/esm2022/container/container/container.component.mjs +37 -0
- package/esm2022/container/container.module.mjs +24 -0
- package/esm2022/container/daffodil-design-container.mjs +5 -0
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +25 -0
- package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +32 -0
- package/esm2022/container/index.mjs +2 -0
- package/esm2022/container/public_api.mjs +3 -0
- package/esm2022/core/colorable/colorable-mixin.mjs +42 -0
- package/esm2022/core/compactable/compactable-mixin.mjs +26 -0
- package/esm2022/core/focus/stack.service.mjs +71 -0
- package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
- package/esm2022/core/prefix-suffix/prefix.directive.mjs +24 -0
- package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
- package/esm2022/core/prefix-suffix/suffix.directive.mjs +24 -0
- package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
- package/esm2022/core/public_api.mjs +18 -0
- package/esm2022/core/sizable/public_api.mjs +3 -0
- package/esm2022/core/sizable/sizable-mixin.mjs +31 -0
- package/esm2022/core/sizable/sizable.mjs +13 -0
- package/esm2022/core/skeletonable/skeletonable-mixin.mjs +26 -0
- package/esm2022/core/statusable/statusable-mixin.mjs +32 -0
- package/esm2022/core/text-alignable/public_api.mjs +3 -0
- package/esm2022/core/text-alignable/text-alignable-mixin.mjs +35 -0
- package/esm2022/core/text-alignable/text-alignable.mjs +7 -0
- package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
- package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +49 -0
- package/esm2022/core/theming/services/storage/theme-storage.service.mjs +67 -0
- package/esm2022/core/theming/services/theming.service.mjs +61 -0
- package/esm2022/hero/daffodil-design-hero.mjs +5 -0
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +18 -0
- package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +40 -0
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +29 -0
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +22 -0
- package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +40 -0
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +19 -0
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
- package/esm2022/hero/hero/hero.component.mjs +68 -0
- package/esm2022/hero/hero-body/hero-body.directive.mjs +22 -0
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +22 -0
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
- package/esm2022/hero/hero-title/hero-title.directive.mjs +22 -0
- package/esm2022/hero/hero.module.mjs +49 -0
- package/esm2022/hero/index.mjs +2 -0
- package/esm2022/hero/public_api.mjs +8 -0
- package/esm2022/image/daffodil-design-image.mjs +5 -0
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +12 -0
- package/esm2022/image/examples/basic-image/basic-image.module.mjs +24 -0
- package/esm2022/image/examples/load-image/load-image.component.mjs +19 -0
- package/esm2022/image/examples/load-image/load-image.module.mjs +28 -0
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +12 -0
- package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +24 -0
- package/esm2022/image/image/image.component.mjs +125 -0
- package/esm2022/image/image.module.mjs +24 -0
- package/esm2022/image/index.mjs +2 -0
- package/esm2022/image/public_api.mjs +3 -0
- package/esm2022/input/examples/basic-input/basic-input.component.mjs +12 -0
- package/esm2022/input/examples/basic-input/basic-input.module.mjs +24 -0
- package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +12 -0
- package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +24 -0
- package/esm2022/input/examples/input-error/input-error.component.mjs +20 -0
- package/esm2022/input/examples/input-error/input-error.module.mjs +28 -0
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +12 -0
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +24 -0
- package/esm2022/link-set/daffodil-design-link-set.mjs +5 -0
- package/esm2022/link-set/index.mjs +2 -0
- package/esm2022/link-set/link-set/link-set.component.mjs +37 -0
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +26 -0
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
- package/esm2022/link-set/link-set.module.mjs +39 -0
- package/esm2022/link-set/public_api.mjs +6 -0
- package/esm2022/list/daffodil-design-list.mjs +5 -0
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +12 -0
- package/esm2022/list/examples/basic-list/basic-list.module.mjs +28 -0
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +18 -0
- package/esm2022/list/examples/icon-list/icon-list.module.mjs +32 -0
- package/esm2022/list/examples/list-examples.module.mjs +33 -0
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +12 -0
- package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +32 -0
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +18 -0
- package/esm2022/list/examples/nav-list/nav-list.module.mjs +32 -0
- package/esm2022/list/index.mjs +2 -0
- package/esm2022/list/list/list.component.mjs +110 -0
- package/esm2022/list/list-item/list-item.component.mjs +49 -0
- package/esm2022/list/list-subheader/list-subheader.directive.mjs +25 -0
- package/esm2022/list/list.module.mjs +40 -0
- package/esm2022/list/public_api.mjs +5 -0
- package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +5 -0
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +20 -0
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +32 -0
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +24 -0
- package/esm2022/loading-icon/index.mjs +2 -0
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +52 -0
- package/esm2022/loading-icon/loading-icon.module.mjs +24 -0
- package/esm2022/loading-icon/public_api.mjs +3 -0
- package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +5 -0
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +13 -0
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +29 -0
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +13 -0
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +29 -0
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +13 -0
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +29 -0
- package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +2 -0
- package/esm2022/media-gallery/helpers/media-gallery-token.mjs +3 -0
- package/esm2022/media-gallery/index.mjs +2 -0
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +59 -0
- package/esm2022/media-gallery/media-gallery.module.mjs +32 -0
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +80 -0
- package/esm2022/media-gallery/public_api.mjs +5 -0
- package/esm2022/media-gallery/registry/media-gallery.registry.mjs +97 -0
- package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +6 -0
- package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +2 -0
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
- package/esm2022/menu/daffodil-design-menu.mjs +5 -0
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +17 -0
- package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +35 -0
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +19 -0
- package/esm2022/menu/helpers/create-overlay.mjs +29 -0
- package/esm2022/menu/helpers/public_api.mjs +2 -0
- package/esm2022/menu/index.mjs +2 -0
- package/esm2022/menu/menu/menu.component.mjs +63 -0
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +48 -0
- package/esm2022/menu/menu-item/menu-item.component.mjs +35 -0
- package/esm2022/menu/menu.module.mjs +44 -0
- package/esm2022/menu/public_api.mjs +7 -0
- package/esm2022/menu/services/menu.service.mjs +52 -0
- package/esm2022/modal/animations/modal-animation-state.mjs +2 -0
- package/esm2022/modal/animations/modal-animation.mjs +9 -0
- package/esm2022/modal/daffodil-design-modal.mjs +5 -0
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +21 -0
- package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +31 -0
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +13 -0
- package/esm2022/modal/index.mjs +2 -0
- package/esm2022/modal/modal/modal-config.mjs +2 -0
- package/esm2022/modal/modal/modal.component.mjs +93 -0
- package/esm2022/modal/modal/modal.mjs +2 -0
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +11 -0
- package/esm2022/modal/modal-content/modal-content.component.mjs +11 -0
- package/esm2022/modal/modal-header/modal-header.component.mjs +20 -0
- package/esm2022/modal/modal-title/modal-title.directive.mjs +22 -0
- package/esm2022/modal/modal.module.mjs +50 -0
- package/esm2022/modal/public_api.mjs +8 -0
- package/esm2022/modal/service/modal.service.mjs +70 -0
- package/esm2022/molecules/backdrop/backdrop/backdrop.component.mjs +87 -0
- package/esm2022/molecules/backdrop/backdrop.module.mjs +24 -0
- package/esm2022/molecules/button-set/button-set.component.mjs +23 -0
- package/esm2022/molecules/button-set/button-set.module.mjs +20 -0
- package/esm2022/molecules/feature/feature/feature.component.mjs +49 -0
- package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
- package/esm2022/molecules/feature/feature.module.mjs +44 -0
- package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
- package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
- package/esm2022/molecules/image-gallery/image-gallery.module.mjs +33 -0
- package/esm2022/molecules/image-list/image-list.component.mjs +20 -0
- package/esm2022/molecules/image-list/image-list.module.mjs +24 -0
- package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +113 -0
- package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +40 -0
- package/esm2022/navbar/daffodil-design-navbar.mjs +5 -0
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +13 -0
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +14 -0
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +29 -0
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +33 -0
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +13 -0
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +29 -0
- package/esm2022/navbar/index.mjs +2 -0
- package/esm2022/navbar/navbar/navbar.component.mjs +50 -0
- package/esm2022/navbar/navbar.module.mjs +20 -0
- package/esm2022/navbar/public_api.mjs +3 -0
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +19 -0
- package/esm2022/notification/examples/default-notification/default-notification.module.mjs +36 -0
- package/esm2022/notification/examples/dismissable-notification/dismissable-notification.component.mjs +18 -0
- package/esm2022/notification/examples/dismissable-notification/dismissable-notification.module.mjs +36 -0
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +24 -0
- package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +40 -0
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +25 -0
- package/esm2022/notification/examples/notification-status/notification-status.module.mjs +40 -0
- package/esm2022/notification/notification/notification.component.mjs +95 -0
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +19 -0
- package/esm2022/notification/notification-message/notification-message.directive.mjs +19 -0
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +19 -0
- package/esm2022/notification/notification-title/notification-title.directive.mjs +19 -0
- package/esm2022/notification/notification.module.mjs +54 -0
- package/esm2022/paginator/daffodil-design-paginator.mjs +5 -0
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +26 -0
- package/esm2022/paginator/examples/paginator-examples.module.mjs +27 -0
- package/esm2022/paginator/paginator/paginator.component.mjs +182 -0
- package/esm2022/paginator/paginator.module.mjs +32 -0
- package/esm2022/paginator/public_api.mjs +3 -0
- package/esm2022/paginator/utils/paginator-errors.mjs +3 -0
- package/esm2022/public_api.mjs +26 -0
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +35 -0
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +35 -0
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +35 -0
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +17 -0
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +35 -0
- package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +19 -0
- package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +29 -0
- package/esm2022/sidebar/animation/sidebar-animation-state.mjs +24 -0
- package/esm2022/sidebar/animation/sidebar-animation-width.mjs +2 -0
- package/esm2022/sidebar/animation/sidebar-animation.mjs +51 -0
- package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +4 -0
- package/esm2022/sidebar/daffodil-design-sidebar.mjs +5 -0
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +12 -0
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +32 -0
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +29 -0
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +44 -0
- package/esm2022/sidebar/examples/public_api.mjs +15 -0
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +13 -0
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +32 -0
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +12 -0
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +28 -0
- package/esm2022/sidebar/helper/sidebar-mode.mjs +2 -0
- package/esm2022/sidebar/helper/sidebar-side.mjs +2 -0
- package/esm2022/sidebar/index.mjs +2 -0
- package/esm2022/sidebar/public_api.mjs +8 -0
- package/esm2022/sidebar/sidebar/is-opening.mjs +13 -0
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +158 -0
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +17 -0
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +22 -0
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +22 -0
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +17 -0
- package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +16 -0
- package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +10 -0
- package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +39 -0
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +206 -0
- package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +5 -0
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +17 -0
- package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +21 -0
- package/esm2022/sidebar/sidebar.module.mjs +57 -0
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +39 -0
- package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +32 -0
- package/esm2022/tree/tree/tree-notifier.service.mjs +45 -0
- package/esm2022/tree/tree/tree.component.mjs +106 -0
- package/esm2022/tree/tree-item/tree-item.directive.mjs +154 -0
- package/esm2022/tree/tree.module.mjs +29 -0
- package/examples/examples.d.ts +1 -1
- package/fesm2022/daffodil-design-accordion-examples.mjs +45 -0
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-accordion.mjs +191 -0
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -0
- package/fesm2022/daffodil-design-article-examples.mjs +145 -0
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-article.mjs +130 -0
- package/fesm2022/daffodil-design-article.mjs.map +1 -0
- package/fesm2022/daffodil-design-button-examples.mjs +313 -0
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-button.mjs +222 -0
- package/fesm2022/daffodil-design-button.mjs.map +1 -0
- package/fesm2022/daffodil-design-callout-examples.mjs +217 -0
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-callout.mjs +215 -0
- package/fesm2022/daffodil-design-callout.mjs.map +1 -0
- package/fesm2022/daffodil-design-card-examples.mjs +350 -0
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-card.mjs +284 -0
- package/fesm2022/daffodil-design-card.mjs.map +1 -0
- package/fesm2022/daffodil-design-checkbox-examples.mjs +121 -0
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-container-examples.mjs +64 -0
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-container.mjs +65 -0
- package/fesm2022/daffodil-design-container.mjs.map +1 -0
- package/fesm2022/daffodil-design-hero-examples.mjs +214 -0
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-hero.mjs +216 -0
- package/fesm2022/daffodil-design-hero.mjs.map +1 -0
- package/fesm2022/daffodil-design-image-examples.mjs +115 -0
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-image.mjs +152 -0
- package/fesm2022/daffodil-design-image.mjs.map +1 -0
- package/fesm2022/daffodil-design-input-examples.mjs +145 -0
- package/fesm2022/daffodil-design-input-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-link-set.mjs +147 -0
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -0
- package/fesm2022/daffodil-design-list-examples.mjs +192 -0
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-list.mjs +220 -0
- package/fesm2022/daffodil-design-list.mjs.map +1 -0
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +89 -0
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-loading-icon.mjs +80 -0
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -0
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +118 -0
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-media-gallery.mjs +347 -0
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -0
- package/fesm2022/daffodil-design-menu-examples.mjs +74 -0
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-menu.mjs +256 -0
- package/fesm2022/daffodil-design-menu.mjs.map +1 -0
- package/fesm2022/daffodil-design-modal-examples.mjs +66 -0
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-modal.mjs +270 -0
- package/fesm2022/daffodil-design-modal.mjs.map +1 -0
- package/fesm2022/daffodil-design-navbar-examples.mjs +176 -0
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-navbar.mjs +74 -0
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -0
- package/fesm2022/daffodil-design-notification-examples.mjs +204 -0
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-notification.mjs +216 -0
- package/fesm2022/daffodil-design-notification.mjs.map +1 -0
- package/fesm2022/daffodil-design-paginator-examples.mjs +75 -0
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-paginator.mjs +220 -0
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -0
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +185 -0
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-radio-examples.mjs +58 -0
- package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-sidebar-examples.mjs +187 -0
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-sidebar.mjs +670 -0
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -0
- package/fesm2022/daffodil-design-tree-examples.mjs +79 -0
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -0
- package/fesm2022/daffodil-design-tree.mjs +446 -0
- package/fesm2022/daffodil-design-tree.mjs.map +1 -0
- package/fesm2022/daffodil-design.mjs +2675 -0
- package/fesm2022/daffodil-design.mjs.map +1 -0
- package/hero/README.md +54 -0
- package/hero/examples/compact-hero/compact-hero.module.d.ts +4 -3
- package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +5 -3
- package/hero/examples/hero-theming/hero-theming.module.d.ts +4 -3
- package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +5 -3
- package/hero/hero/hero.component.d.ts +79 -0
- package/hero/index.d.ts +1 -0
- package/hero/src/hero-theme.scss +59 -0
- package/image/README.md +31 -0
- package/image/examples/basic-image/basic-image.module.d.ts +1 -1
- package/image/examples/load-image/load-image.module.d.ts +1 -1
- package/image/examples/skeleton-image/skeleton-image.module.d.ts +1 -1
- package/image/image/image.component.d.ts +52 -0
- package/image/image.module.d.ts +8 -0
- package/image/index.d.ts +1 -0
- package/image/public_api.d.ts +2 -0
- package/link-set/README.md +44 -0
- package/link-set/index.d.ts +1 -0
- package/link-set/link-set/link-set.component.d.ts +32 -0
- package/list/README.md +69 -0
- package/list/examples/basic-list/basic-list.module.d.ts +1 -1
- package/list/examples/icon-list/icon-list.module.d.ts +1 -1
- package/list/examples/multiline-list/multiline-list.module.d.ts +1 -1
- package/list/examples/nav-list/nav-list.module.d.ts +1 -1
- package/list/index.d.ts +1 -0
- package/list/list/list.component.d.ts +71 -0
- package/list/list-item/list-item.component.d.ts +30 -0
- package/list/list.module.d.ts +11 -0
- package/list/src/list-theme.scss +71 -0
- package/loading-icon/README.md +7 -0
- package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +4 -3
- package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +1 -1
- package/loading-icon/index.d.ts +1 -0
- package/loading-icon/loading-icon/loading-icon.component.d.ts +40 -0
- package/loading-icon/loading-icon.module.d.ts +8 -0
- package/loading-icon/public_api.d.ts +2 -0
- package/loading-icon/src/loading-icon-theme.scss +61 -0
- package/media-gallery/README.md +19 -0
- package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +3 -2
- package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +3 -2
- package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +3 -2
- package/media-gallery/index.d.ts +1 -0
- package/media-gallery/media-gallery/media-gallery.component.d.ts +41 -0
- package/media-gallery/media-gallery.module.d.ts +10 -0
- package/media-gallery/media-renderer/media-renderer.component.d.ts +29 -0
- package/media-gallery/public_api.d.ts +4 -0
- package/media-gallery/registry/media-gallery.registry.d.ts +34 -0
- package/media-gallery/src/media-gallery-theme.scss +27 -0
- package/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +9 -0
- package/media-gallery/thumbnail/thumbnail.directive.d.ts +44 -0
- package/menu/README.md +7 -0
- package/menu/examples/basic-menu/basic-menu.module.d.ts +4 -3
- package/menu/index.d.ts +1 -0
- package/menu/menu/menu.component.d.ts +19 -0
- package/menu/menu-activator/menu-activator.component.d.ts +18 -0
- package/menu/menu-item/menu-item.component.d.ts +20 -0
- package/menu/public_api.d.ts +6 -0
- package/menu/services/menu.service.d.ts +24 -0
- package/menu/src/menu-theme.scss +25 -0
- package/modal/README.md +47 -0
- package/modal/animations/modal-animation-state.d.ts +1 -0
- package/modal/examples/basic-modal/basic-modal.component.d.ts +1 -1
- package/modal/examples/basic-modal/basic-modal.module.d.ts +3 -2
- package/modal/index.d.ts +1 -0
- package/modal/modal/modal.component.d.ts +52 -0
- package/modal/modal/modal.d.ts +13 -0
- package/modal/public_api.d.ts +8 -0
- package/modal/service/modal.service.d.ts +19 -0
- package/modal/src/modal-theme.scss +9 -0
- package/molecules/backdrop/animation/backdrop-animation-state.d.ts +1 -1
- package/molecules/backdrop/backdrop/backdrop.component.d.ts +1 -1
- package/molecules/feature/feature/feature.component.d.ts +2 -2
- package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +1 -1
- package/molecules/qty-dropdown/qty-dropdown.component.d.ts +1 -1
- package/navbar/README.md +41 -0
- package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +4 -2
- package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +4 -2
- package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +3 -2
- package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +3 -2
- package/navbar/index.d.ts +1 -0
- package/navbar/navbar/navbar.component.d.ts +40 -0
- package/navbar/navbar.module.d.ts +7 -0
- package/navbar/public_api.d.ts +2 -0
- package/navbar/src/navbar-theme.scss +57 -0
- package/notification/examples/default-notification/default-notification.module.d.ts +1 -1
- package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +1 -1
- package/notification/examples/notification-orientations/notification-orientations.module.d.ts +1 -1
- package/notification/examples/notification-status/notification-status.module.d.ts +1 -1
- package/notification/notification/notification.component.d.ts +2 -2
- package/notification/src/notification-theme.scss +4 -4
- package/package.json +1 -1
- package/paginator/README.md +11 -0
- package/paginator/examples/paginator-examples.module.d.ts +1 -1
- package/paginator/index.d.ts +5 -0
- package/paginator/paginator/paginator.component.d.ts +145 -0
- package/paginator/paginator.module.d.ts +10 -0
- package/paginator/public_api.d.ts +2 -0
- package/paginator/src/paginator-theme.scss +90 -0
- package/public_api.d.ts +0 -17
- package/radio/examples/basic-radio/basic-radio.component.d.ts +1 -3
- package/scss/state/skeleton/_mixins.scss +2 -2
- package/scss/theme.scss +15 -17
- package/scss/theming/_color-palettes.scss +1 -1
- package/scss/theming/_configure-theme.scss +12 -12
- package/scss/theming/_theme-css-variables.scss +2 -2
- package/scss/theming/contrast/text-contrast/text-contrast.scss +1 -1
- package/sidebar/README.md +135 -0
- package/sidebar/animation/sidebar-animation-state.d.ts +3 -0
- package/sidebar/animation/sidebar-animation.d.ts +15 -0
- package/sidebar/animation/sidebar-viewport-animation-state.d.ts +8 -0
- package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +4 -2
- package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +12 -0
- package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.d.ts +13 -0
- package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.d.ts +5 -0
- package/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.d.ts +10 -0
- package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.d.ts +5 -0
- package/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.d.ts +9 -0
- package/sidebar/helper/sidebar-mode.d.ts +27 -0
- package/sidebar/helper/sidebar-side.d.ts +12 -0
- package/sidebar/index.d.ts +1 -0
- package/sidebar/public_api.d.ts +9 -0
- package/sidebar/sidebar/is-opening.d.ts +5 -0
- package/sidebar/sidebar/sidebar.component.d.ts +73 -0
- package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +6 -0
- package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +9 -0
- package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +9 -0
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +6 -0
- package/sidebar/sidebar-viewport/helper/has-parent-viewport.d.ts +6 -0
- package/sidebar/sidebar-viewport/nav-placement.d.ts +13 -0
- package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +23 -0
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +100 -0
- package/sidebar/sidebar-viewport/utils/backdrop-interactable.d.ts +6 -0
- package/sidebar/sidebar-viewport/utils/content-pad.d.ts +7 -0
- package/sidebar/sidebar-viewport/utils/content-shift.d.ts +8 -0
- package/sidebar/sidebar.module.d.ts +15 -0
- package/sidebar/src/helper/_variables.scss +8 -0
- package/sidebar/src/sidebar-theme.scss +22 -0
- package/src/atoms/form/form-field/form-field/form-field-theme.scss +3 -3
- package/src/atoms/form/native-select/native-select-theme.scss +2 -2
- package/tree/interfaces/recursive-key.d.ts +1 -1
- package/tree/src/tree-theme.scss +4 -4
- package/tree/tree/tree.component.d.ts +1 -1
- package/tree/tree-item/tree-item.directive.d.ts +1 -1
- package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +0 -8
- package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +0 -5
- package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +0 -8
- package/atoms/button/button.component.d.ts +0 -105
- package/atoms/button/button.module.d.ts +0 -10
- package/atoms/button/public_api.d.ts +0 -2
- package/atoms/container/container.component.d.ts +0 -34
- package/atoms/container/container.module.d.ts +0 -8
- package/atoms/container/public_api.d.ts +0 -2
- package/atoms/image/image.component.d.ts +0 -54
- package/atoms/image/image.module.d.ts +0 -8
- package/atoms/image/public_api.d.ts +0 -2
- package/atoms/loading-icon/loading-icon.component.d.ts +0 -42
- package/atoms/loading-icon/loading-icon.module.d.ts +0 -8
- package/atoms/loading-icon/public_api.d.ts +0 -2
- package/core/sizeable/sizeable-mixin.d.ts +0 -15
- package/core/sizeable/sizeable.d.ts +0 -16
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -12
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +0 -24
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +0 -12
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +0 -24
- package/esm2020/accordion/examples/public_api.mjs +0 -10
- package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +0 -12
- package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +0 -12
- package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +0 -12
- package/esm2020/article/examples/article-examples.module.mjs +0 -36
- package/esm2020/article/examples/article-headings/article-headings.component.mjs +0 -12
- package/esm2020/article/examples/article-hr/article-hr.component.mjs +0 -12
- package/esm2020/article/examples/article-lead/article-lead.component.mjs +0 -12
- package/esm2020/article/examples/article-link/article-link.component.mjs +0 -12
- package/esm2020/article/examples/article-meta/article-meta.component.mjs +0 -12
- package/esm2020/article/examples/article-ol/article-ol.component.mjs +0 -12
- package/esm2020/article/examples/article-table/article-table.component.mjs +0 -12
- package/esm2020/article/examples/article-ul/article-ul.component.mjs +0 -12
- package/esm2020/atoms/button/button.component.mjs +0 -189
- package/esm2020/atoms/button/button.module.mjs +0 -34
- package/esm2020/atoms/button/public_api.mjs +0 -3
- package/esm2020/atoms/container/container.component.mjs +0 -37
- package/esm2020/atoms/container/container.module.mjs +0 -24
- package/esm2020/atoms/container/public_api.mjs +0 -3
- package/esm2020/atoms/form/checkbox/checkbox.component.mjs +0 -142
- package/esm2020/atoms/form/checkbox/checkbox.module.mjs +0 -39
- package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
- package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
- package/esm2020/atoms/form/error-message/error-message.component.mjs +0 -17
- package/esm2020/atoms/form/error-message/error-message.module.mjs +0 -20
- package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
- package/esm2020/atoms/form/form-field/form-field.module.mjs +0 -34
- package/esm2020/atoms/form/form-label/form-label.directive.mjs +0 -19
- package/esm2020/atoms/form/form-label/form-label.module.mjs +0 -20
- package/esm2020/atoms/form/input/input.component.mjs +0 -59
- package/esm2020/atoms/form/input/input.module.mjs +0 -24
- package/esm2020/atoms/form/native-select/native-select.component.mjs +0 -64
- package/esm2020/atoms/form/native-select/native-select.module.mjs +0 -24
- package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +0 -134
- package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
- package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
- package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
- package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
- package/esm2020/atoms/form/radio/radio.component.mjs +0 -132
- package/esm2020/atoms/form/radio/radio.module.mjs +0 -34
- package/esm2020/atoms/form/radio/registry/radio-registry.mjs +0 -54
- package/esm2020/atoms/form/radio-set/radio-set.component.mjs +0 -22
- package/esm2020/atoms/image/image.component.mjs +0 -125
- package/esm2020/atoms/image/image.module.mjs +0 -24
- package/esm2020/atoms/image/public_api.mjs +0 -3
- package/esm2020/atoms/loading-icon/loading-icon.component.mjs +0 -52
- package/esm2020/atoms/loading-icon/loading-icon.module.mjs +0 -24
- package/esm2020/atoms/loading-icon/public_api.mjs +0 -3
- package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +0 -81
- package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
- package/esm2020/button/examples/basic-button/basic-button.component.mjs +0 -18
- package/esm2020/button/examples/basic-button/basic-button.module.mjs +0 -28
- package/esm2020/button/examples/flat-button/flat-button.component.mjs +0 -18
- package/esm2020/button/examples/flat-button/flat-button.module.mjs +0 -28
- package/esm2020/button/examples/icon-button/icon-button.component.mjs +0 -17
- package/esm2020/button/examples/icon-button/icon-button.module.mjs +0 -28
- package/esm2020/button/examples/raised-button/raised-button.component.mjs +0 -18
- package/esm2020/button/examples/raised-button/raised-button.module.mjs +0 -28
- package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +0 -17
- package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +0 -28
- package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +0 -19
- package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +0 -28
- package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +0 -18
- package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +0 -28
- package/esm2020/button/examples/underline-button/underline-button.component.mjs +0 -18
- package/esm2020/button/examples/underline-button/underline-button.module.mjs +0 -28
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -27
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +0 -39
- package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +0 -31
- package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +0 -36
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -17
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +0 -39
- package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +0 -17
- package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +0 -35
- package/esm2020/card/examples/basic-card/basic-card.component.mjs +0 -17
- package/esm2020/card/examples/basic-card/basic-card.module.mjs +0 -38
- package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +0 -26
- package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +0 -42
- package/esm2020/card/examples/card-theming/card-theming.component.mjs +0 -28
- package/esm2020/card/examples/card-theming/card-theming.module.mjs +0 -35
- package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +0 -30
- package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +0 -42
- package/esm2020/card/examples/raised-card/raised-card.component.mjs +0 -28
- package/esm2020/card/examples/raised-card/raised-card.module.mjs +0 -38
- package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +0 -28
- package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +0 -42
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -26
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +0 -32
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -28
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +0 -32
- package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +0 -25
- package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +0 -32
- package/esm2020/core/colorable/colorable-mixin.mjs +0 -42
- package/esm2020/core/compactable/compactable-mixin.mjs +0 -26
- package/esm2020/core/focus/stack.service.mjs +0 -71
- package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
- package/esm2020/core/prefix-suffix/prefix.directive.mjs +0 -24
- package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
- package/esm2020/core/prefix-suffix/suffix.directive.mjs +0 -24
- package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
- package/esm2020/core/public_api.mjs +0 -17
- package/esm2020/core/sizeable/sizeable-mixin.mjs +0 -31
- package/esm2020/core/sizeable/sizeable.mjs +0 -9
- package/esm2020/core/skeletonable/skeletonable-mixin.mjs +0 -26
- package/esm2020/core/statusable/statusable-mixin.mjs +0 -32
- package/esm2020/core/text-alignable/text-alignable-mixin.mjs +0 -35
- package/esm2020/core/text-alignable/text-alignable.mjs +0 -7
- package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
- package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +0 -49
- package/esm2020/core/theming/services/storage/theme-storage.service.mjs +0 -67
- package/esm2020/core/theming/services/theming.service.mjs +0 -61
- package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +0 -17
- package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +0 -39
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -27
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +0 -39
- package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +0 -21
- package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +0 -39
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -17
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +0 -39
- package/esm2020/image/examples/basic-image/basic-image.component.mjs +0 -12
- package/esm2020/image/examples/basic-image/basic-image.module.mjs +0 -24
- package/esm2020/image/examples/load-image/load-image.component.mjs +0 -19
- package/esm2020/image/examples/load-image/load-image.module.mjs +0 -28
- package/esm2020/image/examples/skeleton-image/skeleton-image.component.mjs +0 -12
- package/esm2020/image/examples/skeleton-image/skeleton-image.module.mjs +0 -24
- package/esm2020/input/examples/basic-input/basic-input.component.mjs +0 -12
- package/esm2020/input/examples/basic-input/basic-input.module.mjs +0 -24
- package/esm2020/input/examples/input-disabled/input-disabled.component.mjs +0 -12
- package/esm2020/input/examples/input-disabled/input-disabled.module.mjs +0 -24
- package/esm2020/input/examples/input-error/input-error.component.mjs +0 -20
- package/esm2020/input/examples/input-error/input-error.module.mjs +0 -28
- package/esm2020/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -12
- package/esm2020/input/examples/input-with-form-field/input-with-form-field.module.mjs +0 -24
- package/esm2020/list/examples/basic-list/basic-list.component.mjs +0 -12
- package/esm2020/list/examples/basic-list/basic-list.module.mjs +0 -28
- package/esm2020/list/examples/icon-list/icon-list.component.mjs +0 -17
- package/esm2020/list/examples/icon-list/icon-list.module.mjs +0 -32
- package/esm2020/list/examples/list-examples.module.mjs +0 -33
- package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +0 -12
- package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +0 -32
- package/esm2020/list/examples/nav-list/nav-list.component.mjs +0 -17
- package/esm2020/list/examples/nav-list/nav-list.module.mjs +0 -32
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -19
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +0 -31
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -12
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +0 -24
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -12
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +0 -28
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -12
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +0 -28
- package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -12
- package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +0 -28
- package/esm2020/menu/examples/basic-menu/basic-menu.component.mjs +0 -16
- package/esm2020/menu/examples/basic-menu/basic-menu.module.mjs +0 -34
- package/esm2020/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -19
- package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +0 -20
- package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +0 -30
- package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +0 -12
- package/esm2020/molecules/accordion/accordion/accordion.component.mjs +0 -27
- package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +0 -54
- package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -22
- package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -22
- package/esm2020/molecules/accordion/accordion.module.mjs +0 -52
- package/esm2020/molecules/accordion/animation/accordion-animation-state.mjs +0 -9
- package/esm2020/molecules/accordion/animation/accordion-animation.mjs +0 -18
- package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +0 -81
- package/esm2020/molecules/accordion/public_api.mjs +0 -7
- package/esm2020/molecules/article/article/article.component.mjs +0 -30
- package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +0 -22
- package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +0 -22
- package/esm2020/molecules/article/article-title/article-title.directive.mjs +0 -22
- package/esm2020/molecules/article/article.module.mjs +0 -39
- package/esm2020/molecules/article/public_api.mjs +0 -6
- package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +0 -87
- package/esm2020/molecules/backdrop/backdrop.module.mjs +0 -24
- package/esm2020/molecules/button-set/button-set.component.mjs +0 -23
- package/esm2020/molecules/button-set/button-set.module.mjs +0 -20
- package/esm2020/molecules/callout/callout/callout.component.mjs +0 -71
- package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +0 -22
- package/esm2020/molecules/callout/callout.module.mjs +0 -49
- package/esm2020/molecules/callout/public_api.mjs +0 -8
- package/esm2020/molecules/card/card/card.component.mjs +0 -113
- package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +0 -22
- package/esm2020/molecules/card/card-content/card-content.directive.mjs +0 -22
- package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +0 -22
- package/esm2020/molecules/card/card-image/card-image.directive.mjs +0 -22
- package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +0 -22
- package/esm2020/molecules/card/card-title/card-title.directive.mjs +0 -22
- package/esm2020/molecules/card/card.module.mjs +0 -54
- package/esm2020/molecules/card/public_api.mjs +0 -9
- package/esm2020/molecules/feature/feature/feature.component.mjs +0 -49
- package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
- package/esm2020/molecules/feature/feature.module.mjs +0 -44
- package/esm2020/molecules/hero/hero/hero.component.mjs +0 -72
- package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +0 -22
- package/esm2020/molecules/hero/hero.module.mjs +0 -49
- package/esm2020/molecules/hero/public_api.mjs +0 -8
- package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
- package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
- package/esm2020/molecules/image-gallery/image-gallery.module.mjs +0 -33
- package/esm2020/molecules/image-list/image-list.component.mjs +0 -20
- package/esm2020/molecules/image-list/image-list.module.mjs +0 -24
- package/esm2020/molecules/link-set/link-set/link-set.component.mjs +0 -37
- package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +0 -25
- package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +0 -26
- package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -25
- package/esm2020/molecules/link-set/link-set.module.mjs +0 -39
- package/esm2020/molecules/link-set/public_api.mjs +0 -6
- package/esm2020/molecules/list/list/list.component.mjs +0 -110
- package/esm2020/molecules/list/list-item/list-item.component.mjs +0 -49
- package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +0 -25
- package/esm2020/molecules/list/list.module.mjs +0 -40
- package/esm2020/molecules/list/public_api.mjs +0 -5
- package/esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs +0 -2
- package/esm2020/molecules/media-gallery/media-gallery-token.mjs +0 -3
- package/esm2020/molecules/media-gallery/media-gallery.component.mjs +0 -60
- package/esm2020/molecules/media-gallery/media-gallery.module.mjs +0 -32
- package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +0 -76
- package/esm2020/molecules/media-gallery/public_api.mjs +0 -5
- package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +0 -97
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -6
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +0 -88
- package/esm2020/molecules/menu/helpers/create-overlay.mjs +0 -29
- package/esm2020/molecules/menu/helpers/public_api.mjs +0 -2
- package/esm2020/molecules/menu/menu/menu.component.mjs +0 -63
- package/esm2020/molecules/menu/menu-activator/menu-activator.component.mjs +0 -48
- package/esm2020/molecules/menu/menu-item/menu-item.component.mjs +0 -35
- package/esm2020/molecules/menu/menu.module.mjs +0 -44
- package/esm2020/molecules/menu/public_api.mjs +0 -7
- package/esm2020/molecules/menu/service/menu.service.mjs +0 -52
- package/esm2020/molecules/modal/animations/modal-animation-state.mjs +0 -2
- package/esm2020/molecules/modal/animations/modal-animation.mjs +0 -9
- package/esm2020/molecules/modal/modal/modal-config.mjs +0 -2
- package/esm2020/molecules/modal/modal/modal.component.mjs +0 -93
- package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +0 -11
- package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +0 -11
- package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +0 -20
- package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +0 -22
- package/esm2020/molecules/modal/modal.mjs +0 -2
- package/esm2020/molecules/modal/modal.module.mjs +0 -50
- package/esm2020/molecules/modal/public_api.mjs +0 -8
- package/esm2020/molecules/modal/service/modal.service.mjs +0 -70
- package/esm2020/molecules/navbar/navbar.component.mjs +0 -51
- package/esm2020/molecules/navbar/navbar.module.mjs +0 -20
- package/esm2020/molecules/navbar/public_api.mjs +0 -3
- package/esm2020/molecules/paginator/paginator-errors.mjs +0 -3
- package/esm2020/molecules/paginator/paginator.component.mjs +0 -182
- package/esm2020/molecules/paginator/paginator.module.mjs +0 -36
- package/esm2020/molecules/paginator/public_api.mjs +0 -3
- package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -115
- package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
- package/esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs +0 -12
- package/esm2020/molecules/sidebar/animation/sidebar-animation-width.mjs +0 -2
- package/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +0 -47
- package/esm2020/molecules/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -3
- package/esm2020/molecules/sidebar/helper/sidebar-mode.mjs +0 -2
- package/esm2020/molecules/sidebar/helper/sidebar-side.mjs +0 -2
- package/esm2020/molecules/sidebar/public_api.mjs +0 -4
- package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +0 -96
- package/esm2020/molecules/sidebar/sidebar-viewport/backdrop-interactable.mjs +0 -5
- package/esm2020/molecules/sidebar/sidebar-viewport/content-pad.mjs +0 -17
- package/esm2020/molecules/sidebar/sidebar-viewport/content-shift.mjs +0 -21
- package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -123
- package/esm2020/molecules/sidebar/sidebar.module.mjs +0 -37
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -12
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +0 -31
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -12
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +0 -31
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -28
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +0 -32
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -12
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +0 -28
- package/esm2020/notification/examples/default-notification/default-notification.component.mjs +0 -18
- package/esm2020/notification/examples/default-notification/default-notification.module.mjs +0 -36
- package/esm2020/notification/examples/dismissable-notification/dismissable-notification.component.mjs +0 -18
- package/esm2020/notification/examples/dismissable-notification/dismissable-notification.module.mjs +0 -36
- package/esm2020/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -23
- package/esm2020/notification/examples/notification-orientations/notification-orientations.module.mjs +0 -40
- package/esm2020/notification/examples/notification-status/notification-status.component.mjs +0 -24
- package/esm2020/notification/examples/notification-status/notification-status.module.mjs +0 -40
- package/esm2020/notification/notification/notification.component.mjs +0 -95
- package/esm2020/notification/notification-actions/notification-actions.directive.mjs +0 -19
- package/esm2020/notification/notification-message/notification-message.directive.mjs +0 -19
- package/esm2020/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -19
- package/esm2020/notification/notification-title/notification-title.directive.mjs +0 -19
- package/esm2020/notification/notification.module.mjs +0 -54
- package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -19
- package/esm2020/paginator/examples/link-paginator/link-paginator.component.mjs +0 -26
- package/esm2020/paginator/examples/paginator-examples.module.mjs +0 -27
- package/esm2020/public_api.mjs +0 -43
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +0 -35
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +0 -35
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +0 -35
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -17
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +0 -35
- package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +0 -21
- package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +0 -29
- package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -12
- package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +0 -27
- package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.mjs +0 -21
- package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.mjs +0 -30
- package/esm2020/sidebar/examples/public_api.mjs +0 -18
- package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.mjs +0 -12
- package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.mjs +0 -27
- package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.mjs +0 -12
- package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.mjs +0 -27
- package/esm2020/sidebar/examples/under-sidebar/under-sidebar.component.mjs +0 -26
- package/esm2020/sidebar/examples/under-sidebar/under-sidebar.module.mjs +0 -30
- package/esm2020/tree/examples/basic-tree/basic-tree.component.mjs +0 -39
- package/esm2020/tree/examples/basic-tree/basic-tree.module.mjs +0 -32
- package/esm2020/tree/tree/tree-notifier.service.mjs +0 -45
- package/esm2020/tree/tree/tree.component.mjs +0 -106
- package/esm2020/tree/tree-item/tree-item.directive.mjs +0 -154
- package/esm2020/tree/tree.module.mjs +0 -29
- package/fesm2015/daffodil-design-accordion-examples.mjs +0 -74
- package/fesm2015/daffodil-design-accordion-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-article-examples.mjs +0 -145
- package/fesm2015/daffodil-design-article-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-button-examples.mjs +0 -312
- package/fesm2015/daffodil-design-button-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-callout-examples.mjs +0 -213
- package/fesm2015/daffodil-design-callout-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-card-examples.mjs +0 -346
- package/fesm2015/daffodil-design-card-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-checkbox-examples.mjs +0 -119
- package/fesm2015/daffodil-design-checkbox-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-container-examples.mjs +0 -64
- package/fesm2015/daffodil-design-container-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-hero-examples.mjs +0 -210
- package/fesm2015/daffodil-design-hero-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-image-examples.mjs +0 -115
- package/fesm2015/daffodil-design-image-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-input-examples.mjs +0 -145
- package/fesm2015/daffodil-design-input-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-list-examples.mjs +0 -191
- package/fesm2015/daffodil-design-list-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-loading-icon-examples.mjs +0 -87
- package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-media-gallery-examples.mjs +0 -116
- package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-menu-examples.mjs +0 -72
- package/fesm2015/daffodil-design-menu-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-modal-examples.mjs +0 -64
- package/fesm2015/daffodil-design-modal-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-navbar-examples.mjs +0 -172
- package/fesm2015/daffodil-design-navbar-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-notification-examples.mjs +0 -203
- package/fesm2015/daffodil-design-notification-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-notification.mjs +0 -216
- package/fesm2015/daffodil-design-notification.mjs.map +0 -1
- package/fesm2015/daffodil-design-paginator-examples.mjs +0 -75
- package/fesm2015/daffodil-design-paginator-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-quantity-field-examples.mjs +0 -185
- package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-radio-examples.mjs +0 -60
- package/fesm2015/daffodil-design-radio-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-sidebar-examples.mjs +0 -208
- package/fesm2015/daffodil-design-sidebar-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-tree-examples.mjs +0 -79
- package/fesm2015/daffodil-design-tree-examples.mjs.map +0 -1
- package/fesm2015/daffodil-design-tree.mjs +0 -441
- package/fesm2015/daffodil-design-tree.mjs.map +0 -1
- package/fesm2015/daffodil-design.mjs +0 -5979
- package/fesm2015/daffodil-design.mjs.map +0 -1
- package/fesm2020/daffodil-design-accordion-examples.mjs +0 -74
- package/fesm2020/daffodil-design-accordion-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-article-examples.mjs +0 -145
- package/fesm2020/daffodil-design-article-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-button-examples.mjs +0 -312
- package/fesm2020/daffodil-design-button-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-callout-examples.mjs +0 -213
- package/fesm2020/daffodil-design-callout-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-card-examples.mjs +0 -346
- package/fesm2020/daffodil-design-card-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-checkbox-examples.mjs +0 -119
- package/fesm2020/daffodil-design-checkbox-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-container-examples.mjs +0 -64
- package/fesm2020/daffodil-design-container-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-hero-examples.mjs +0 -210
- package/fesm2020/daffodil-design-hero-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-image-examples.mjs +0 -115
- package/fesm2020/daffodil-design-image-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-input-examples.mjs +0 -145
- package/fesm2020/daffodil-design-input-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-list-examples.mjs +0 -191
- package/fesm2020/daffodil-design-list-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-loading-icon-examples.mjs +0 -87
- package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-media-gallery-examples.mjs +0 -116
- package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-menu-examples.mjs +0 -72
- package/fesm2020/daffodil-design-menu-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-modal-examples.mjs +0 -64
- package/fesm2020/daffodil-design-modal-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-navbar-examples.mjs +0 -172
- package/fesm2020/daffodil-design-navbar-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-notification-examples.mjs +0 -203
- package/fesm2020/daffodil-design-notification-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-notification.mjs +0 -216
- package/fesm2020/daffodil-design-notification.mjs.map +0 -1
- package/fesm2020/daffodil-design-paginator-examples.mjs +0 -75
- package/fesm2020/daffodil-design-paginator-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-quantity-field-examples.mjs +0 -185
- package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-radio-examples.mjs +0 -60
- package/fesm2020/daffodil-design-radio-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-sidebar-examples.mjs +0 -208
- package/fesm2020/daffodil-design-sidebar-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-tree-examples.mjs +0 -79
- package/fesm2020/daffodil-design-tree-examples.mjs.map +0 -1
- package/fesm2020/daffodil-design-tree.mjs +0 -446
- package/fesm2020/daffodil-design-tree.mjs.map +0 -1
- package/fesm2020/daffodil-design.mjs +0 -5966
- package/fesm2020/daffodil-design.mjs.map +0 -1
- package/molecules/accordion/accordion/accordion.component.d.ts +0 -24
- package/molecules/accordion/accordion-item/accordion-item.component.d.ts +0 -32
- package/molecules/accordion/accordion.module.d.ts +0 -14
- package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +0 -44
- package/molecules/accordion/public_api.d.ts +0 -6
- package/molecules/callout/callout/callout.component.d.ts +0 -90
- package/molecules/card/card/card.component.d.ts +0 -70
- package/molecules/hero/hero/hero.component.d.ts +0 -91
- package/molecules/link-set/link-set/link-set.component.d.ts +0 -31
- package/molecules/list/list/list.component.d.ts +0 -73
- package/molecules/list/list-item/list-item.component.d.ts +0 -30
- package/molecules/list/list.module.d.ts +0 -11
- package/molecules/media-gallery/media-gallery.component.d.ts +0 -45
- package/molecules/media-gallery/media-gallery.module.d.ts +0 -10
- package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +0 -29
- package/molecules/media-gallery/public_api.d.ts +0 -4
- package/molecules/media-gallery/registry/media-gallery.registry.d.ts +0 -34
- package/molecules/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +0 -9
- package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +0 -44
- package/molecules/menu/menu/menu.component.d.ts +0 -19
- package/molecules/menu/menu-activator/menu-activator.component.d.ts +0 -18
- package/molecules/menu/menu-item/menu-item.component.d.ts +0 -20
- package/molecules/menu/public_api.d.ts +0 -6
- package/molecules/menu/service/menu.service.d.ts +0 -24
- package/molecules/modal/animations/modal-animation-state.d.ts +0 -1
- package/molecules/modal/modal/modal.component.d.ts +0 -52
- package/molecules/modal/modal.d.ts +0 -13
- package/molecules/modal/public_api.d.ts +0 -8
- package/molecules/modal/service/modal.service.d.ts +0 -19
- package/molecules/navbar/navbar.component.d.ts +0 -44
- package/molecules/navbar/navbar.module.d.ts +0 -7
- package/molecules/navbar/public_api.d.ts +0 -2
- package/molecules/paginator/paginator.component.d.ts +0 -147
- package/molecules/paginator/paginator.module.d.ts +0 -11
- package/molecules/paginator/public_api.d.ts +0 -2
- package/molecules/sidebar/animation/sidebar-animation-state.d.ts +0 -2
- package/molecules/sidebar/animation/sidebar-animation.d.ts +0 -11
- package/molecules/sidebar/animation/sidebar-viewport-animation-state.d.ts +0 -6
- package/molecules/sidebar/helper/sidebar-mode.d.ts +0 -27
- package/molecules/sidebar/helper/sidebar-side.d.ts +0 -12
- package/molecules/sidebar/public_api.d.ts +0 -5
- package/molecules/sidebar/sidebar/sidebar.component.d.ts +0 -52
- package/molecules/sidebar/sidebar-viewport/backdrop-interactable.d.ts +0 -6
- package/molecules/sidebar/sidebar-viewport/content-pad.d.ts +0 -7
- package/molecules/sidebar/sidebar-viewport/content-shift.d.ts +0 -8
- package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +0 -75
- package/molecules/sidebar/sidebar.module.d.ts +0 -11
- package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.d.ts +0 -8
- package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.d.ts +0 -8
- package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.d.ts +0 -5
- package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.d.ts +0 -8
- package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.d.ts +0 -5
- package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.d.ts +0 -8
- package/sidebar/examples/under-sidebar/under-sidebar.component.d.ts +0 -10
- package/sidebar/examples/under-sidebar/under-sidebar.module.d.ts +0 -8
- package/src/atoms/button/button-theme-variants/button.scss +0 -26
- package/src/atoms/button/button-theme-variants/flat.scss +0 -25
- package/src/atoms/button/button-theme-variants/raised.scss +0 -36
- package/src/atoms/button/button-theme-variants/stroked.scss +0 -28
- package/src/atoms/button/button-theme.scss +0 -574
- package/src/atoms/loading-icon/loading-icon-theme.scss +0 -61
- package/src/molecules/accordion/accordion-item/accordion-item-theme.scss +0 -12
- package/src/molecules/article/article/article-theme.scss +0 -78
- package/src/molecules/callout/callout-theme.scss +0 -59
- package/src/molecules/card/card/card-theme-variants/basic-card.scss +0 -6
- package/src/molecules/card/card/card-theme-variants/linkable-card.scss +0 -16
- package/src/molecules/card/card/card-theme.scss +0 -170
- package/src/molecules/hero/hero-theme.scss +0 -59
- package/src/molecules/list/list/list-theme.scss +0 -71
- package/src/molecules/media-gallery/media-gallery-theme.scss +0 -27
- package/src/molecules/menu/menu-theme.scss +0 -25
- package/src/molecules/modal/modal-theme.scss +0 -9
- package/src/molecules/navbar/navbar-theme.scss +0 -57
- package/src/molecules/paginator/paginator-theme.scss +0 -90
- package/src/molecules/sidebar/helper/_variables.scss +0 -7
- package/src/molecules/sidebar/sidebar/sidebar-theme.scss +0 -13
- package/src/molecules/sidebar/sidebar-viewport/sidebar-viewport-theme.scss +0 -16
- /package/{molecules → accordion}/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -0
- /package/{molecules → accordion}/accordion/accordion-item-title/accordion-item-title.directive.d.ts +0 -0
- /package/{molecules → accordion}/accordion/animation/accordion-animation-state.d.ts +0 -0
- /package/{molecules → accordion}/accordion/animation/accordion-animation.d.ts +0 -0
- /package/{molecules/article → article}/article/article.component.d.ts +0 -0
- /package/{molecules/article → article}/article-lead/article-lead.directive.d.ts +0 -0
- /package/{molecules/article → article}/article-meta/article-meta.directive.d.ts +0 -0
- /package/{molecules/article → article}/article-title/article-title.directive.d.ts +0 -0
- /package/{molecules/article → article}/article.module.d.ts +0 -0
- /package/{molecules/article → article}/public_api.d.ts +0 -0
- /package/{src/molecules/article → article/src}/article/_stops-article-cascade.scss +0 -0
- /package/{src/atoms/button → button/src}/button-theme-variants/icon.scss +0 -0
- /package/{src/atoms/button → button/src}/button-theme-variants/underline.scss +0 -0
- /package/{molecules/callout → callout}/callout-body/callout-body.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-icon/callout-icon.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-subtitle/callout-subtitle.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-tagline/callout-tagline.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout-title/callout-title.directive.d.ts +0 -0
- /package/{molecules/callout → callout}/callout.module.d.ts +0 -0
- /package/{molecules/callout → callout}/public_api.d.ts +0 -0
- /package/{molecules/card → card}/card-actions/card-actions.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-content/card-content.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-icon/card-icon.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-image/card-image.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-tagline/card-tagline.directive.d.ts +0 -0
- /package/{molecules/card → card}/card-title/card-title.directive.d.ts +0 -0
- /package/{molecules/card → card}/card.module.d.ts +0 -0
- /package/{molecules/card → card}/public_api.d.ts +0 -0
- /package/{src/molecules/card/card → card/src}/card-theme-variants/stroked-card.scss +0 -0
- /package/{esm2020 → esm2022}/accordion/examples/daffodil-design-accordion-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/accordion/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/daffodil-design-article-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/article/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/checkbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/core/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/error-message/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-control.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-field/form-field-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/form-label/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/input/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/native-select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/quantity-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/form/radio/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/progress-indicator/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/daffodil-design-button-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/button/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/daffodil-design-callout-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/callout/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/examples/daffodil-design-card-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/card/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/card/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/daffodil-design-container-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/container/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/animation/animation-state-with-params.mjs +0 -0
- /package/{esm2020 → esm2022}/core/article-encapsulated/article-encapsulated-mixin.mjs +0 -0
- /package/{esm2020 → esm2022}/core/article-encapsulated/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/breakpoints/breakpoints.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/color-in-palette.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/colorable-enum.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/colorable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/colorable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/compactable/compactable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/compactable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/constructor/constructor.mjs +0 -0
- /package/{esm2020 → esm2022}/core/focus/focusable-elements.mjs +0 -0
- /package/{esm2020 → esm2022}/core/focus/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/lazy/lazy-component.mjs +0 -0
- /package/{esm2020 → esm2022}/core/lazy/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/manage-container-layout/manage-container-layout-mixin.mjs +0 -0
- /package/{esm2020 → esm2022}/core/manage-container-layout/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/mutable/mutable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -0
- /package/{esm2020 → esm2022}/core/prefix-suffix/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -0
- /package/{esm2020 → esm2022}/core/skeletonable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/skeletonable/skeletonable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/statusable/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/statusable/statusable.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/functions/computer.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/initializer.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/theming/types/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/daffodil-design.mjs +0 -0
- /package/{esm2020 → esm2022}/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/daffodil-design-hero-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/hero/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/image/examples/daffodil-design-image-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/image/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/image/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/daffodil-design-input-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/daffodil-design-list-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/list/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/loading-icon/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/media-gallery/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/examples/daffodil-design-menu-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/examples/daffodil-design-modal-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modal/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation-state.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/backdrop/animation/backdrop-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/backdrop/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/button-set/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/feature/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/image-gallery/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/image-list/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/qty-dropdown/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/daffodil-design-navbar-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/navbar/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/daffodil-design-notification.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/examples/daffodil-design-notification-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/daffodil-design-paginator-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/paginator/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-field/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-field/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/daffodil-design-radio-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/examples.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/sidebar/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/daffodil-design-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/examples/daffodil-design-tree-examples.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/examples/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/examples/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/interfaces/recursive-key.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/interfaces/tree-data.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/interfaces/tree-ui.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/flatten-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/hydrate-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/transform-in-place.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/utils/traverse-tree.mjs +0 -0
- /package/{molecules/hero → hero}/hero-body/hero-body.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-icon/hero-icon.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-subtitle/hero-subtitle.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-tagline/hero-tagline.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero-title/hero-title.directive.d.ts +0 -0
- /package/{molecules/hero → hero}/hero.module.d.ts +0 -0
- /package/{molecules/hero → hero}/public_api.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set-heading/link-set-heading.directive.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set-item/link-set-item.component.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set-subheading/link-set-subheading.directive.d.ts +0 -0
- /package/{molecules/link-set → link-set}/link-set.module.d.ts +0 -0
- /package/{molecules/link-set → link-set}/public_api.d.ts +0 -0
- /package/{molecules/list → list}/list-subheader/list-subheader.directive.d.ts +0 -0
- /package/{molecules/list → list}/public_api.d.ts +0 -0
- /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-registration.interface.d.ts +0 -0
- /package/{molecules/media-gallery → media-gallery/helpers}/media-gallery-token.d.ts +0 -0
- /package/{molecules/media-gallery → media-gallery}/thumbnail/thumbnail-compat.token.d.ts +0 -0
- /package/{molecules/menu → menu}/helpers/create-overlay.d.ts +0 -0
- /package/{molecules/menu → menu}/helpers/public_api.d.ts +0 -0
- /package/{molecules/menu → menu}/menu.module.d.ts +0 -0
- /package/{molecules/modal → modal}/animations/modal-animation.d.ts +0 -0
- /package/{molecules/modal → modal}/modal/modal-config.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-actions/modal-actions.component.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-content/modal-content.component.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-header/modal-header.component.d.ts +0 -0
- /package/{molecules/modal → modal}/modal-title/modal-title.directive.d.ts +0 -0
- /package/{molecules/modal → modal}/modal.module.d.ts +0 -0
- /package/{molecules/paginator → paginator/utils}/paginator-errors.d.ts +0 -0
- /package/{molecules/sidebar → sidebar}/animation/sidebar-animation-width.d.ts +0 -0
@@ -0,0 +1,158 @@
|
|
1
|
+
import { ConfigurableFocusTrapFactory, } from '@angular/cdk/a11y';
|
2
|
+
import { DOCUMENT } from '@angular/common';
|
3
|
+
import { Component, NgZone, ElementRef, Output, EventEmitter, HostBinding, ChangeDetectionStrategy, Input, HostListener, Inject, } from '@angular/core';
|
4
|
+
import { fromEvent } from 'rxjs';
|
5
|
+
import { filter } from 'rxjs/operators';
|
6
|
+
import { daffFocusableElementsSelector, DaffFocusStackService, } from '@daffodil/design';
|
7
|
+
import { isOpening } from './is-opening';
|
8
|
+
import { daffSidebarAnimations } from '../animation/sidebar-animation';
|
9
|
+
import { getAnimationState, } from '../animation/sidebar-animation-state';
|
10
|
+
import { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
import * as i1 from "@angular/cdk/a11y";
|
13
|
+
import * as i2 from "@daffodil/design";
|
14
|
+
/**
|
15
|
+
* DaffSidebarComponent is heavily based upon the work done by the @angular/components
|
16
|
+
* team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be
|
17
|
+
* a simplified version (with a different design) of `mat-drawer`.
|
18
|
+
*/
|
19
|
+
export class DaffSidebarComponent {
|
20
|
+
/**
|
21
|
+
* @docs-private
|
22
|
+
*
|
23
|
+
* The CSS classes set.
|
24
|
+
*/
|
25
|
+
get classes() {
|
26
|
+
return {
|
27
|
+
'daff-sidebar': true,
|
28
|
+
[this.side]: true,
|
29
|
+
[this.mode]: true,
|
30
|
+
};
|
31
|
+
}
|
32
|
+
;
|
33
|
+
/**
|
34
|
+
* The animation state of the sidebar.
|
35
|
+
*/
|
36
|
+
get transformSidebar() {
|
37
|
+
return {
|
38
|
+
value: getAnimationState(this.open, this.mode),
|
39
|
+
params: { width: getSidebarAnimationWidth(this.side, this.width) },
|
40
|
+
};
|
41
|
+
}
|
42
|
+
/**
|
43
|
+
* The width of the sidebar.
|
44
|
+
*/
|
45
|
+
get width() {
|
46
|
+
return this._elementRef.nativeElement.offsetWidth;
|
47
|
+
}
|
48
|
+
constructor(_elementRef, _ngZone, _focusTrapFactory, _focusStack, _doc) {
|
49
|
+
this._elementRef = _elementRef;
|
50
|
+
this._ngZone = _ngZone;
|
51
|
+
this._focusTrapFactory = _focusTrapFactory;
|
52
|
+
this._focusStack = _focusStack;
|
53
|
+
this._doc = _doc;
|
54
|
+
/**
|
55
|
+
* Event fired when `ESC` key is pressed when the sidebar has focus
|
56
|
+
*/
|
57
|
+
this.escapePressed = new EventEmitter();
|
58
|
+
/**
|
59
|
+
* What side of the viewport to show the sidebar on.
|
60
|
+
*/
|
61
|
+
this.side = 'left';
|
62
|
+
/**
|
63
|
+
* The mode of the sidebar.
|
64
|
+
*/
|
65
|
+
this.mode = 'side';
|
66
|
+
/**
|
67
|
+
* Whether or not the sidebar is open.
|
68
|
+
*/
|
69
|
+
this.open = false;
|
70
|
+
/**
|
71
|
+
* Listen to `keydown` events outside the zone so that change detection is not run every
|
72
|
+
* time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
|
73
|
+
*
|
74
|
+
*/
|
75
|
+
this._ngZone.runOutsideAngular(() => {
|
76
|
+
fromEvent(this._elementRef.nativeElement, 'keydown').pipe(filter(event => event.key === 'Escape')).subscribe(event => this._ngZone.run(() => {
|
77
|
+
this.escapePressed.emit();
|
78
|
+
event.stopPropagation();
|
79
|
+
}));
|
80
|
+
});
|
81
|
+
}
|
82
|
+
/**
|
83
|
+
* Animation event that can be used to hook into when the transformSidebar
|
84
|
+
* animation begins. This is used in sidebar to determine when to show the
|
85
|
+
* visibility of the sidebar so that the animation does not jump as the element is shown.
|
86
|
+
*/
|
87
|
+
onAnimationStart(e) {
|
88
|
+
if (e.toState === 'open' || e.toState === 'under-open' || e.toState === 'side-fixed-open') {
|
89
|
+
this._elementRef.nativeElement.style.visibility = 'visible';
|
90
|
+
}
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* Animation event that can be used to hook into when the
|
94
|
+
* transformSidebar animation is complete.
|
95
|
+
*/
|
96
|
+
onAnimationComplete(e) {
|
97
|
+
if (isOpening(e.fromState, e.toState)) {
|
98
|
+
this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);
|
99
|
+
const focusableChild = this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector);
|
100
|
+
this._focusStack.push(this._doc.activeElement);
|
101
|
+
if (focusableChild) {
|
102
|
+
focusableChild.focus();
|
103
|
+
}
|
104
|
+
else {
|
105
|
+
this._elementRef.nativeElement.tabIndex = 0;
|
106
|
+
this._elementRef.nativeElement.focus();
|
107
|
+
}
|
108
|
+
}
|
109
|
+
else {
|
110
|
+
if (this._focusTrap) {
|
111
|
+
this._focusTrap.destroy();
|
112
|
+
this._focusTrap = undefined;
|
113
|
+
this._focusStack.pop();
|
114
|
+
}
|
115
|
+
}
|
116
|
+
/**
|
117
|
+
* This is used in sidebar to determine when to hide the visibility
|
118
|
+
* of the sidebar so that the animation does not jump as the element is hidden.
|
119
|
+
*/
|
120
|
+
if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {
|
121
|
+
this._elementRef.nativeElement.style.visibility = 'hidden';
|
122
|
+
}
|
123
|
+
}
|
124
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.ConfigurableFocusTrapFactory }, { token: i2.DaffFocusStackService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
125
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarComponent, selector: "daff-sidebar", inputs: { side: "side", mode: "mode", open: "open" }, outputs: { escapePressed: "escapePressed" }, host: { listeners: { "@transformSidebar.start": "onAnimationStart($event)", "@transformSidebar.done": "onAnimationComplete($event)" }, properties: { "class": "this.classes", "@transformSidebar": "this.transformSidebar" } }, ngImport: i0, template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;width:240px;flex-shrink:0;overflow-y:auto}:host.side-fixed{position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}:host-context(daff-sidebar-viewport daff-sidebar-viewport).side-fixed{position:sticky}:host-context(.daff-sidebar-viewport.beside).side-fixed{top:0;height:100%}.daff-sidebar__body{flex-grow:1;height:100%;overflow-y:auto}\n"], animations: [
|
126
|
+
daffSidebarAnimations.transformSidebar,
|
127
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
128
|
+
}
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarComponent, decorators: [{
|
130
|
+
type: Component,
|
131
|
+
args: [{ selector: 'daff-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
132
|
+
daffSidebarAnimations.transformSidebar,
|
133
|
+
], template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;width:240px;flex-shrink:0;overflow-y:auto}:host.side-fixed{position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}:host-context(daff-sidebar-viewport daff-sidebar-viewport).side-fixed{position:sticky}:host-context(.daff-sidebar-viewport.beside).side-fixed{top:0;height:100%}.daff-sidebar__body{flex-grow:1;height:100%;overflow-y:auto}\n"] }]
|
134
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.ConfigurableFocusTrapFactory }, { type: i2.DaffFocusStackService }, { type: undefined, decorators: [{
|
135
|
+
type: Inject,
|
136
|
+
args: [DOCUMENT]
|
137
|
+
}] }], propDecorators: { classes: [{
|
138
|
+
type: HostBinding,
|
139
|
+
args: ['class']
|
140
|
+
}], transformSidebar: [{
|
141
|
+
type: HostBinding,
|
142
|
+
args: ['@transformSidebar']
|
143
|
+
}], escapePressed: [{
|
144
|
+
type: Output
|
145
|
+
}], side: [{
|
146
|
+
type: Input
|
147
|
+
}], mode: [{
|
148
|
+
type: Input
|
149
|
+
}], open: [{
|
150
|
+
type: Input
|
151
|
+
}], onAnimationStart: [{
|
152
|
+
type: HostListener,
|
153
|
+
args: ['@transformSidebar.start', ['$event']]
|
154
|
+
}], onAnimationComplete: [{
|
155
|
+
type: HostListener,
|
156
|
+
args: ['@transformSidebar.done', ['$event']]
|
157
|
+
}] } });
|
158
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zaWRlYmFyL3NyYy9zaWRlYmFyL3NpZGViYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFFTCw0QkFBNEIsR0FDN0IsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUNMLFNBQVMsRUFDVCxNQUFNLEVBQ04sVUFBVSxFQUNWLE1BQU0sRUFDTixZQUFZLEVBQ1osV0FBVyxFQUNYLHVCQUF1QixFQUN2QixLQUFLLEVBQ0wsWUFBWSxFQUNaLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ2pDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV4QyxPQUFPLEVBQ0wsNkJBQTZCLEVBQzdCLHFCQUFxQixHQUN0QixNQUFNLGtCQUFrQixDQUFDO0FBRTFCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDekMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDdkUsT0FBTyxFQU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IHRvIGhpZGUgdGhlIHZpc2liaWxpdHlcbiAgICAgKiBvZiB0aGUgc2lkZWJhciBzbyB0aGF0IHRoZSBhbmltYXRpb24gZG9lcyBub3QganVtcCBhcyB0aGUgZWxlbWVudCBpcyBoaWRkZW4uXG4gICAgICovXG4gICAgaWYgKGUudG9TdGF0ZSA9PT0gJ2Nsb3NlZCcgfHwgZS50b1N0YXRlID09PSAndW5kZXItY2xvc2VkJyB8fCBlLnRvU3RhdGUgPT09ICdzaWRlLWZpeGVkLWNsb3NlZCcpIHtcbiAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5zdHlsZS52aXNpYmlsaXR5ID0gJ2hpZGRlbic7XG4gICAgfVxuICB9XG59XG4iLCI8bmctY29udGVudCBzZWxlY3Q9XCJkYWZmLXNpZGViYXItaGVhZGVyXCI+PC9uZy1jb250ZW50PlxuPGRpdiBjbGFzcz1cImRhZmYtc2lkZWJhcl9fYm9keVwiPlxuXHQ8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbjxuZy1jb250ZW50IHNlbGVjdD1cImRhZmYtc2lkZWJhci1mb290ZXJcIj48L25nLWNvbnRlbnQ+Il19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Component, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class DaffSidebarFooterComponent {
|
4
|
+
constructor() {
|
5
|
+
this.class = true;
|
6
|
+
}
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarFooterComponent, selector: "daff-sidebar-footer", host: { properties: { "class.daff-sidebar-footer": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;width:100%;flex-grow:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarFooterComponent, decorators: [{
|
11
|
+
type: Component,
|
12
|
+
args: [{ selector: 'daff-sidebar-footer', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%;flex-grow:0}\n"] }]
|
13
|
+
}], propDecorators: { class: [{
|
14
|
+
type: HostBinding,
|
15
|
+
args: ['class.daff-sidebar-footer']
|
16
|
+
}] } });
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1mb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci1mb290ZXIvc2lkZWJhci1mb290ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxFQUNYLHVCQUF1QixHQUN4QixNQUFNLGVBQWUsQ0FBQzs7QUFRdkIsTUFBTSxPQUFPLDBCQUEwQjtJQU52QztRQU80QyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3hEO2lJQUZZLDBCQUEwQjtxSEFBMUIsMEJBQTBCLGdJQUozQiwyQkFBMkI7OzJGQUkxQiwwQkFBMEI7a0JBTnRDLFNBQVM7K0JBQ0UscUJBQXFCLFlBQ3JCLDJCQUEyQixtQkFFcEIsdUJBQXVCLENBQUMsTUFBTTs4QkFHTCxLQUFLO3NCQUE5QyxXQUFXO3VCQUFDLDJCQUEyQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENvbXBvbmVudCxcbiAgSG9zdEJpbmRpbmcsXG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZGFmZi1zaWRlYmFyLWZvb3RlcicsXG4gIHRlbXBsYXRlOiAnPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PicsXG4gIHN0eWxlVXJsczogWycuL3NpZGViYXItZm9vdGVyLmNvbXBvbmVudC5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmU2lkZWJhckZvb3RlckNvbXBvbmVudCB7XG4gIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi1zaWRlYmFyLWZvb3RlcicpIGNsYXNzID0gdHJ1ZTtcbn1cbiJdfQ==
|
package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Directive, HostBinding, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class DaffSidebarHeaderActionDirective {
|
4
|
+
constructor() {
|
5
|
+
/**
|
6
|
+
* @docs-private
|
7
|
+
*/
|
8
|
+
this.class = true;
|
9
|
+
}
|
10
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
11
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarHeaderActionDirective, selector: "[daffSidebarHeaderAction]", host: { properties: { "class.daff-sidebar-header__action": "this.class" } }, ngImport: i0 }); }
|
12
|
+
}
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderActionDirective, decorators: [{
|
14
|
+
type: Directive,
|
15
|
+
args: [{
|
16
|
+
selector: '[daffSidebarHeaderAction]',
|
17
|
+
}]
|
18
|
+
}], propDecorators: { class: [{
|
19
|
+
type: HostBinding,
|
20
|
+
args: ['class.daff-sidebar-header__action']
|
21
|
+
}] } });
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1oZWFkZXItYWN0aW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItaGVhZGVyL3NpZGViYXItaGVhZGVyLWFjdGlvbi9zaWRlYmFyLWhlYWRlci1hY3Rpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8sZ0NBQWdDO0lBSDdDO1FBSUU7O1dBRUc7UUFDK0MsVUFBSyxHQUFHLElBQUksQ0FBQztLQUNoRTtpSUFMWSxnQ0FBZ0M7cUhBQWhDLGdDQUFnQzs7MkZBQWhDLGdDQUFnQztrQkFINUMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsMkJBQTJCO2lCQUN0Qzs4QkFLbUQsS0FBSztzQkFBdEQsV0FBVzt1QkFBQyxtQ0FBbUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBEaXJlY3RpdmUsXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2RhZmZTaWRlYmFySGVhZGVyQWN0aW9uXScsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZTaWRlYmFySGVhZGVyQWN0aW9uRGlyZWN0aXZlIHtcbiAgLyoqXG4gICAqIEBkb2NzLXByaXZhdGVcbiAgICovXG4gIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi1zaWRlYmFyLWhlYWRlcl9fYWN0aW9uJykgY2xhc3MgPSB0cnVlO1xufVxuIl19
|
package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Directive, HostBinding, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class DaffSidebarHeaderTitleDirective {
|
4
|
+
constructor() {
|
5
|
+
/**
|
6
|
+
* @docs-private
|
7
|
+
*/
|
8
|
+
this.class = true;
|
9
|
+
}
|
10
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
11
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarHeaderTitleDirective, selector: "[daffSidebarHeaderTitle]", host: { properties: { "class.daff-sidebar-header__title": "this.class" } }, ngImport: i0 }); }
|
12
|
+
}
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderTitleDirective, decorators: [{
|
14
|
+
type: Directive,
|
15
|
+
args: [{
|
16
|
+
selector: '[daffSidebarHeaderTitle]',
|
17
|
+
}]
|
18
|
+
}], propDecorators: { class: [{
|
19
|
+
type: HostBinding,
|
20
|
+
args: ['class.daff-sidebar-header__title']
|
21
|
+
}] } });
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1o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
+
import * as i0 from "@angular/core";
|
3
|
+
export class DaffSidebarHeaderComponent {
|
4
|
+
constructor() {
|
5
|
+
this.class = true;
|
6
|
+
}
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarHeaderComponent, selector: "daff-sidebar-header", host: { properties: { "class.daff-sidebar-header": "this.class" } }, ngImport: i0, template: "<ng-content select=\"[daffSidebarHeaderAction]\"></ng-content>\n<ng-content select=\"[daffSidebarHeaderTitle]\"></ng-content>\n<ng-content></ng-content>", styles: [".daff-sidebar-header{display:flex;align-items:center;position:relative;width:100%}.daff-sidebar-header__action{position:absolute}.daff-sidebar-header__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1rem;font-weight:500}.daff-sidebar-header__action+.daff-sidebar-header__title{margin:0 0 0 29px}.daff-sidebar .daff-sidebar-header{padding:16px}.daff-sidebar .daff-sidebar-header__action{position:absolute;left:0;right:initial;top:0}.daff-sidebar.right .daff-sidebar-header__action{left:initial;right:0}.daff-sidebar.right .daff-sidebar-header__title{margin:0 29px 0 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarHeaderComponent, decorators: [{
|
11
|
+
type: Component,
|
12
|
+
args: [{ selector: 'daff-sidebar-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffSidebarHeaderAction]\"></ng-content>\n<ng-content select=\"[daffSidebarHeaderTitle]\"></ng-content>\n<ng-content></ng-content>", styles: [".daff-sidebar-header{display:flex;align-items:center;position:relative;width:100%}.daff-sidebar-header__action{position:absolute}.daff-sidebar-header__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1rem;font-weight:500}.daff-sidebar-header__action+.daff-sidebar-header__title{margin:0 0 0 29px}.daff-sidebar .daff-sidebar-header{padding:16px}.daff-sidebar .daff-sidebar-header__action{position:absolute;left:0;right:initial;top:0}.daff-sidebar.right .daff-sidebar-header__action{left:initial;right:0}.daff-sidebar.right .daff-sidebar-header__title{margin:0 29px 0 0}\n"] }]
|
13
|
+
}], propDecorators: { class: [{
|
14
|
+
type: HostBinding,
|
15
|
+
args: ['class.daff-sidebar-header']
|
16
|
+
}] } });
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci1oZWFkZXIvc2lkZWJhci1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci1oZWFkZXIvc2lkZWJhci1oZWFkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxXQUFXLEVBQ1gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7QUFVdkIsTUFBTSxPQUFPLDBCQUEwQjtJQVJ2QztRQVM0QyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3hEO2lJQUZZLDBCQUEwQjtxSEFBMUIsMEJBQTBCLGdJQ2Z2QywwSkFFeUI7OzJGRGFaLDBCQUEwQjtrQkFSdEMsU0FBUzsrQkFDRSxxQkFBcUIsaUJBR2hCLGlCQUFpQixDQUFDLElBQUksbUJBQ3BCLHVCQUF1QixDQUFDLE1BQU07OEJBSUwsS0FBSztzQkFBOUMsV0FBVzt1QkFBQywyQkFBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBDb21wb25lbnQsXG4gIEhvc3RCaW5kaW5nLFxuICBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSxcbiAgVmlld0VuY2Fwc3VsYXRpb24sXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdkYWZmLXNpZGViYXItaGVhZGVyJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3NpZGViYXItaGVhZGVyLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vc2lkZWJhci1oZWFkZXIuY29tcG9uZW50LnNjc3MnXSxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG5cbn0pXG5leHBvcnQgY2xhc3MgRGFmZlNpZGViYXJIZWFkZXJDb21wb25lbnQge1xuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtc2lkZWJhci1oZWFkZXInKSBjbGFzcyA9IHRydWU7XG59XG4iLCI8bmctY29udGVudCBzZWxlY3Q9XCJbZGFmZlNpZGViYXJIZWFkZXJBY3Rpb25dXCI+PC9uZy1jb250ZW50PlxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2RhZmZTaWRlYmFySGVhZGVyVGl0bGVdXCI+PC9uZy1jb250ZW50PlxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Fallback function for determining whether or not a viewport has a parent viewport.
|
3
|
+
* This is really only used in the Daffodil docs when the injector heirarchy
|
4
|
+
* doesn't act as anticipated as a result of custom elements.
|
5
|
+
*/
|
6
|
+
export const hasParentViewport = (element) => {
|
7
|
+
let currentElement = element.parentElement;
|
8
|
+
while (currentElement !== null) {
|
9
|
+
if (currentElement.tagName === 'DAFF-SIDEBAR-VIEWPORT') {
|
10
|
+
return true;
|
11
|
+
}
|
12
|
+
currentElement = currentElement.parentElement;
|
13
|
+
}
|
14
|
+
return false;
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzLXBhcmVudC12aWV3cG9ydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItdmlld3BvcnQvaGVscGVyL2hhcy1wYXJlbnQtdmlld3BvcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLENBQUMsT0FBb0IsRUFBRSxFQUFFO0lBQ3hELElBQUksY0FBYyxHQUFHLE9BQU8sQ0FBQyxhQUFhLENBQUM7SUFFM0MsT0FBTyxjQUFjLEtBQUssSUFBSSxFQUFFO1FBQzlCLElBQUksY0FBYyxDQUFDLE9BQU8sS0FBSyx1QkFBdUIsRUFBRTtZQUN0RCxPQUFPLElBQUksQ0FBQztTQUNiO1FBQ0QsY0FBYyxHQUFHLGNBQWMsQ0FBQyxhQUFhLENBQUM7S0FDL0M7SUFFRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRmFsbGJhY2sgZnVuY3Rpb24gZm9yIGRldGVybWluaW5nIHdoZXRoZXIgb3Igbm90IGEgdmlld3BvcnQgaGFzIGEgcGFyZW50IHZpZXdwb3J0LlxuICogVGhpcyBpcyByZWFsbHkgb25seSB1c2VkIGluIHRoZSBEYWZmb2RpbCBkb2NzIHdoZW4gdGhlIGluamVjdG9yIGhlaXJhcmNoeVxuICogZG9lc24ndCBhY3QgYXMgYW50aWNpcGF0ZWQgYXMgYSByZXN1bHQgb2YgY3VzdG9tIGVsZW1lbnRzLlxuICovXG5leHBvcnQgY29uc3QgaGFzUGFyZW50Vmlld3BvcnQgPSAoZWxlbWVudDogSFRNTEVsZW1lbnQpID0+IHtcbiAgbGV0IGN1cnJlbnRFbGVtZW50ID0gZWxlbWVudC5wYXJlbnRFbGVtZW50O1xuXG4gIHdoaWxlIChjdXJyZW50RWxlbWVudCAhPT0gbnVsbCkge1xuICAgIGlmIChjdXJyZW50RWxlbWVudC50YWdOYW1lID09PSAnREFGRi1TSURFQkFSLVZJRVdQT1JUJykge1xuICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuICAgIGN1cnJlbnRFbGVtZW50ID0gY3VycmVudEVsZW1lbnQucGFyZW50RWxlbWVudDtcbiAgfVxuXG4gIHJldHVybiBmYWxzZTtcbn07XG4iXX0=
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* The placement of the nav in relation to the sidebar.
|
3
|
+
* See {@link DaffNavPlacement }
|
4
|
+
*/
|
5
|
+
export var DaffNavPlacementEnum;
|
6
|
+
(function (DaffNavPlacementEnum) {
|
7
|
+
DaffNavPlacementEnum["ABOVE"] = "above";
|
8
|
+
DaffNavPlacementEnum["BESIDE"] = "beside";
|
9
|
+
})(DaffNavPlacementEnum || (DaffNavPlacementEnum = {}));
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LXBsYWNlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NpZGViYXIvc3JjL3NpZGViYXItdmlld3BvcnQvbmF2LXBsYWNlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNQTs7O0dBR0c7QUFDSCxNQUFNLENBQU4sSUFBWSxvQkFHWDtBQUhELFdBQVksb0JBQW9CO0lBQzlCLHVDQUFlLENBQUE7SUFDZix5Q0FBaUIsQ0FBQTtBQUNuQixDQUFDLEVBSFcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUcvQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGhlIHBsYWNlbWVudCBvZiB0aGUgbmF2IGluIHJlbGF0aW9uIHRvIHRoZSBzaWRlYmFyLlxuICogU2VlIHtAbGluayBEYWZmTmF2UGxhY2VtZW50RW51bSB9XG4gKi9cbmV4cG9ydCB0eXBlIERhZmZOYXZQbGFjZW1lbnQgPSAnYWJvdmUnIHwgJ2Jlc2lkZSc7XG5cbi8qKlxuICogVGhlIHBsYWNlbWVudCBvZiB0aGUgbmF2IGluIHJlbGF0aW9uIHRvIHRoZSBzaWRlYmFyLlxuICogU2VlIHtAbGluayBEYWZmTmF2UGxhY2VtZW50IH1cbiAqL1xuZXhwb3J0IGVudW0gRGFmZk5hdlBsYWNlbWVudEVudW0ge1xuICBBQk9WRSA9ICdhYm92ZScsXG4gIEJFU0lERSA9ICdiZXNpZGUnLFxufVxuIl19
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
2
|
+
import { ElementRef, InjectionToken, inject, } from '@angular/core';
|
3
|
+
/**
|
4
|
+
* An injection token that can be used within a sidebar to determine
|
5
|
+
* what to do enabling and disabling scrolling. By default, the body
|
6
|
+
* is the element where scrolling is controlled.
|
7
|
+
*/
|
8
|
+
export const DAFF_SIDEBAR_SCROLL_TOKEN = new InjectionToken('DAFF_SIDEBAR_SCROLL_TOKEN', {
|
9
|
+
providedIn: 'root',
|
10
|
+
factory: () => {
|
11
|
+
const document = inject(DOCUMENT);
|
12
|
+
return {
|
13
|
+
enable: () => {
|
14
|
+
document.body.style.overflow = null;
|
15
|
+
},
|
16
|
+
disable: () => {
|
17
|
+
document.body.style.overflow = 'hidden';
|
18
|
+
},
|
19
|
+
};
|
20
|
+
},
|
21
|
+
});
|
22
|
+
/**
|
23
|
+
* A factory function that return a DaffSidebarScroll
|
24
|
+
* for the current sidebar viewport.
|
25
|
+
*
|
26
|
+
* See the providers of {@link DaffSidebarViewportComponent}
|
27
|
+
*/
|
28
|
+
export const daffSidebarViewportScrollFactory = () => {
|
29
|
+
const element = inject(ElementRef).nativeElement;
|
30
|
+
return {
|
31
|
+
enable: () => {
|
32
|
+
element.style.overflow = null;
|
33
|
+
},
|
34
|
+
disable: () => {
|
35
|
+
element.style.overflow = 'hidden';
|
36
|
+
},
|
37
|
+
};
|
38
|
+
};
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLnRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci12aWV3cG9ydC9zY3JvbGwtdG9rZW4vc2Nyb2xsLnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQ0wsVUFBVSxFQUNWLGNBQWMsRUFDZCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFZdkI7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFHLElBQUksY0FBYyxDQUFvQiwyQkFBMkIsRUFBRTtJQUMxRyxVQUFVLEVBQUUsTUFBTTtJQUNsQixPQUFPLEVBQUUsR0FBRyxFQUFFO1FBQ1osTUFBTSxRQUFRLEdBQUcsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1FBQ2xDLE9BQU87WUF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GhlIHByb3ZpZGVycyBvZiB7QGxpbmsgRGFmZlNpZGViYXJWaWV3cG9ydENvbXBvbmVudH1cbiAqL1xuZXhwb3J0IGNvbnN0IGRhZmZTaWRlYmFyVmlld3BvcnRTY3JvbGxGYWN0b3J5ID0gKCk6IERhZmZTaWRlYmFyU2Nyb2xsID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGluamVjdChFbGVtZW50UmVmKS5uYXRpdmVFbGVtZW50O1xuICByZXR1cm4ge1xuICAgIGVuYWJsZTogKCkgPT4ge1xuICAgICAgZWxlbWVudC5zdHlsZS5vdmVyZmxvdyA9IG51bGw7XG4gICAgfSxcbiAgICBkaXNhYmxlOiAoKSA9PiB7XG4gICAgICBlbGVtZW50LnN0eWxlLm92ZXJmbG93ID0gJ2hpZGRlbic7XG4gICAgfSxcbiAgfTtcbn07XG4iXX0=
|
@@ -0,0 +1,206 @@
|
|
1
|
+
import { Component, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, ContentChildren, QueryList, ElementRef, Input, HostBinding, Inject, SkipSelf, Optional, } from '@angular/core';
|
2
|
+
import { hasParentViewport } from './helper/has-parent-viewport';
|
3
|
+
import { DaffNavPlacementEnum, } from './nav-placement';
|
4
|
+
import { DAFF_SIDEBAR_SCROLL_TOKEN, daffSidebarViewportScrollFactory, } from './scroll-token/scroll.token';
|
5
|
+
import { sidebarViewportBackdropInteractable } from './utils/backdrop-interactable';
|
6
|
+
import { sidebarViewportContentPadding } from './utils/content-pad';
|
7
|
+
import { isViewportContentShifted, sidebarViewportContentShift, } from './utils/content-shift';
|
8
|
+
import { DaffSidebarAnimationStates, daffSidebarAnimations, } from '../animation/sidebar-animation';
|
9
|
+
import { getSidebarViewportAnimationState, } from '../animation/sidebar-viewport-animation-state';
|
10
|
+
import { DaffSidebarComponent } from '../sidebar/sidebar.component';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
import * as i1 from "@daffodil/design";
|
13
|
+
/**
|
14
|
+
* The DaffSidebarViewport is the "holder" of sidebars throughout an entire application.
|
15
|
+
* It's generally only used once, like
|
16
|
+
*
|
17
|
+
* ```html
|
18
|
+
* <daff-sidebar-viewport>
|
19
|
+
* <daff-sidebar></daff-sidebar>
|
20
|
+
* <p>Some Content</p>
|
21
|
+
* </daff-sidebar-viewport>
|
22
|
+
* ```
|
23
|
+
*
|
24
|
+
* Importantly, its possible for there to be multiple sidebars of many modes
|
25
|
+
* at the same time. @see {@link DaffSidebarMode }
|
26
|
+
*
|
27
|
+
* Since this is a functional component, it's possible to have multiple "open" sidebars
|
28
|
+
* at the same time. As a result, this component attempts to gracefully handle these situations.
|
29
|
+
* However, importantly, there can only be one sidebar of each mode, on each side, at any given time.
|
30
|
+
* If this is violated, this component will throw an exception.
|
31
|
+
*/
|
32
|
+
export class DaffSidebarViewportComponent {
|
33
|
+
get classes() {
|
34
|
+
return {
|
35
|
+
'daff-sidebar-viewport': true,
|
36
|
+
[this.navPlacement]: true,
|
37
|
+
};
|
38
|
+
}
|
39
|
+
;
|
40
|
+
get isNavOnSide() {
|
41
|
+
return this.navPlacement === DaffNavPlacementEnum.BESIDE;
|
42
|
+
}
|
43
|
+
onContentAnimationStart(e) {
|
44
|
+
if (e.toState === 'open') {
|
45
|
+
this._elementRef.nativeElement.style.overflow = 'hidden';
|
46
|
+
}
|
47
|
+
}
|
48
|
+
onContentAnimationDone(e) {
|
49
|
+
if (e.toState === 'closed') {
|
50
|
+
this._elementRef.nativeElement.style.overflow = null;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
constructor(cdRef, _elementRef, bodyScroll, parentViewport, scroll) {
|
54
|
+
this.cdRef = cdRef;
|
55
|
+
this._elementRef = _elementRef;
|
56
|
+
this.bodyScroll = bodyScroll;
|
57
|
+
this.parentViewport = parentViewport;
|
58
|
+
this.scroll = scroll;
|
59
|
+
this.hostClass = true;
|
60
|
+
/**
|
61
|
+
* The placement of the nav in relation to the sidebar. The default is set to `top`.
|
62
|
+
* Note that this is really only available when there is a `side-fixed` sidebar.
|
63
|
+
*/
|
64
|
+
this.navPlacement = DaffNavPlacementEnum.ABOVE;
|
65
|
+
/**
|
66
|
+
* The number of pixels that the main content of the page should be shifted to
|
67
|
+
* right when there are child sidebars.
|
68
|
+
*/
|
69
|
+
this._shift = '0px';
|
70
|
+
/**
|
71
|
+
* The left padding on the content when left side-fixed sidebars are open.
|
72
|
+
*/
|
73
|
+
this._contentPadLeft = 0;
|
74
|
+
/**
|
75
|
+
* The left padding on the nav when left side-fixed sidebars are open.
|
76
|
+
*/
|
77
|
+
this._navPadLeft = 0;
|
78
|
+
/**
|
79
|
+
* The right padding on the content when right side-fixed sidebars are open.
|
80
|
+
*/
|
81
|
+
this._contentPadRight = 0;
|
82
|
+
/**
|
83
|
+
* The right padding on the content when right side-fixed sidebars are open.
|
84
|
+
*/
|
85
|
+
this._navPadRight = 0;
|
86
|
+
/**
|
87
|
+
* Whether or not the backdrop is interactable
|
88
|
+
*/
|
89
|
+
this._backdropInteractable = false;
|
90
|
+
/**
|
91
|
+
* The animation state
|
92
|
+
*/
|
93
|
+
this._animationState = { value: DaffSidebarAnimationStates.CLOSED, params: { shift: '0px' } };
|
94
|
+
/**
|
95
|
+
* Event fired when the backdrop is clicked. This is often used to close the sidebar.
|
96
|
+
*/
|
97
|
+
this.backdropClicked = new EventEmitter();
|
98
|
+
}
|
99
|
+
ngAfterContentChecked() {
|
100
|
+
const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';
|
101
|
+
if (this._shift !== nextShift) {
|
102
|
+
this._shift = nextShift;
|
103
|
+
this.updateAnimationState();
|
104
|
+
this.cdRef.markForCheck();
|
105
|
+
}
|
106
|
+
const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);
|
107
|
+
if (this._backdropInteractable !== nextBackdropInteractable) {
|
108
|
+
this._backdropInteractable = nextBackdropInteractable;
|
109
|
+
this.updateAnimationState();
|
110
|
+
this.cdRef.markForCheck();
|
111
|
+
if (nextBackdropInteractable) {
|
112
|
+
if (!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {
|
113
|
+
this.bodyScroll.disable();
|
114
|
+
}
|
115
|
+
else {
|
116
|
+
this.scroll.disable();
|
117
|
+
}
|
118
|
+
}
|
119
|
+
else { //if we are hiding the sidebars
|
120
|
+
if (!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {
|
121
|
+
this.bodyScroll.enable();
|
122
|
+
}
|
123
|
+
else {
|
124
|
+
this.scroll.enable();
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
;
|
129
|
+
const nextLeftPadding = sidebarViewportContentPadding(this.sidebars, 'left');
|
130
|
+
if (this._contentPadLeft !== nextLeftPadding) {
|
131
|
+
this._contentPadLeft = nextLeftPadding;
|
132
|
+
this._navPadLeft = this.isNavOnSide ? this._contentPadLeft : null;
|
133
|
+
this.updateAnimationState();
|
134
|
+
this.cdRef.markForCheck();
|
135
|
+
}
|
136
|
+
const nextRightPadding = sidebarViewportContentPadding(this.sidebars, 'right');
|
137
|
+
if (this._contentPadRight !== nextRightPadding) {
|
138
|
+
this._contentPadRight = nextRightPadding;
|
139
|
+
this._navPadRight = this.isNavOnSide ? this._contentPadRight : null;
|
140
|
+
this.updateAnimationState();
|
141
|
+
this.cdRef.markForCheck();
|
142
|
+
}
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* @docs-private
|
146
|
+
*
|
147
|
+
* Updates the animation state of the viewport depending upon the state
|
148
|
+
* of all sidebars within the viewport.
|
149
|
+
*/
|
150
|
+
updateAnimationState() {
|
151
|
+
this._animationState = {
|
152
|
+
value: getSidebarViewportAnimationState(this.sidebars.reduce((acc, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false)),
|
153
|
+
params: { shift: this._shift },
|
154
|
+
};
|
155
|
+
}
|
156
|
+
/**
|
157
|
+
* @docs-private
|
158
|
+
* The called when the backdrop of the viewport is clicked upon.
|
159
|
+
*/
|
160
|
+
_backdropClicked() {
|
161
|
+
this.backdropClicked.emit();
|
162
|
+
}
|
163
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarViewportComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DAFF_SIDEBAR_SCROLL_TOKEN, skipSelf: true }, { token: DaffSidebarViewportComponent, optional: true, skipSelf: true }, { token: DAFF_SIDEBAR_SCROLL_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
|
164
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", inputs: { navPlacement: "navPlacement" }, outputs: { backdropClicked: "backdropClicked" }, host: { properties: { "class.daff-sidebar-viewport": "this.hostClass", "class": "this.classes" } }, providers: [
|
165
|
+
{ provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },
|
166
|
+
], queries: [{ propertyName: "sidebars", predicate: DaffSidebarComponent }], ngImport: i0, template: "<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-backdrop\n [@transformContent]=\"_animationState\"\n class=\"daff-sidebar-viewport__backdrop\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\"\n [style.padding-left.px]=\"_navPadLeft\"\n [style.padding-right.px]=\"_navPadRight\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\"\n [style.padding-left.px]=\"_contentPadLeft\"\n [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}.daff-sidebar-viewport__backdrop{height:100%;position:absolute;width:100%;pointer-events:auto;z-index:6}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"], dependencies: [{ kind: "component", type: i1.DaffBackdropComponent, selector: "daff-backdrop", inputs: ["transparent", "interactable", "fullscreen"], outputs: ["backdropClicked"] }], animations: [
|
167
|
+
daffSidebarAnimations.transformContent,
|
168
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
169
|
+
}
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSidebarViewportComponent, decorators: [{
|
171
|
+
type: Component,
|
172
|
+
args: [{ selector: 'daff-sidebar-viewport', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
173
|
+
daffSidebarAnimations.transformContent,
|
174
|
+
], providers: [
|
175
|
+
{ provide: DAFF_SIDEBAR_SCROLL_TOKEN, useFactory: daffSidebarViewportScrollFactory },
|
176
|
+
], template: "<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-backdrop\n [@transformContent]=\"_animationState\"\n class=\"daff-sidebar-viewport__backdrop\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\"\n [style.padding-left.px]=\"_navPadLeft\"\n [style.padding-right.px]=\"_navPadRight\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\"\n [style.padding-left.px]=\"_contentPadLeft\"\n [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n", styles: [":host{display:flex;min-height:100dvh;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;z-index:3;height:100%}.daff-sidebar-viewport__nav{position:fixed;top:0;width:100%;z-index:4}.daff-sidebar-viewport__nav:empty{display:none}.daff-sidebar-viewport__nav:not(:empty)+.daff-sidebar-viewport__content{margin-top:var(--daff-sidebar-side-fixed-top-shift)}.daff-sidebar-viewport__backdrop{height:100%;position:absolute;width:100%;pointer-events:auto;z-index:6}:host-context(daff-sidebar-viewport daff-sidebar-viewport){transform:translate(0);min-height:auto}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"] }]
|
177
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
178
|
+
type: Inject,
|
179
|
+
args: [DAFF_SIDEBAR_SCROLL_TOKEN]
|
180
|
+
}, {
|
181
|
+
type: SkipSelf
|
182
|
+
}] }, { type: undefined, decorators: [{
|
183
|
+
type: Inject,
|
184
|
+
args: [DaffSidebarViewportComponent]
|
185
|
+
}, {
|
186
|
+
type: SkipSelf
|
187
|
+
}, {
|
188
|
+
type: Optional
|
189
|
+
}] }, { type: undefined, decorators: [{
|
190
|
+
type: Inject,
|
191
|
+
args: [DAFF_SIDEBAR_SCROLL_TOKEN]
|
192
|
+
}] }], propDecorators: { hostClass: [{
|
193
|
+
type: HostBinding,
|
194
|
+
args: ['class.daff-sidebar-viewport']
|
195
|
+
}], classes: [{
|
196
|
+
type: HostBinding,
|
197
|
+
args: ['class']
|
198
|
+
}], navPlacement: [{
|
199
|
+
type: Input
|
200
|
+
}], sidebars: [{
|
201
|
+
type: ContentChildren,
|
202
|
+
args: [DaffSidebarComponent, { descendants: false }]
|
203
|
+
}], backdropClicked: [{
|
204
|
+
type: Output
|
205
|
+
}] } });
|
206
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci12aWV3cG9ydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zaWRlYmFyL3NyYy9zaWRlYmFyLXZpZXdwb3J0L3NpZGViYXItdmlld3BvcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc2lkZWJhci9zcmMvc2lkZWJhci12aWV3cG9ydC9zaWRlYmFyLXZpZXdwb3J0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsTUFBTSxFQUNOLFlBQVksRUFDWix1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLGVBQWUsRUFDZixTQUFTLEVBRVQsVUFBVSxFQUNWLEtBQUssRUFDTCxXQUFXLEVBQ1gsTUFBTSxFQUNOLFFBQVEsRUFDUixRQUFRLEdBQ1QsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDakUsT0FBTyxFQUVMLG9CQUFvQixHQUNyQixNQUFNLGlCQUFpQixDQUFDO0FBQ3pCLE9BQU8sRUFDTCx5QkFBeUIsRUFFekIsZ0NBQWdDLEdBQ2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aW9uU3RhdGVcIlxuICBbc3R5bGUucGFkZGluZy1sZWZ0LnB4XT1cIl9uYXZQYWRMZWZ0XCJcbiAgW3N0eWxlLnBhZGRpbmctcmlnaHQucHhdPVwiX25hdlBhZFJpZ2h0XCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2RhZmYtc2lkZWJhci12aWV3cG9ydC1uYXZdXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG5cbjxkaXYgY2xhc3M9XCJkYWZmLXNpZGViYXItdmlld3BvcnRfX2NvbnRlbnRcIlxuICBbQHRyYW5zZm9ybUNvbnRlbnRdPVwiX2FuaW1hdGlvblN0YXRlXCJcbiAgKEB0cmFuc2Zvcm1Db250ZW50LnN0YXJ0KT1cIm9uQ29udGVudEFuaW1hdGlvblN0YXJ0KCRldmVudClcIlxuICAoQHRyYW5zZm9ybUNvbnRlbnQuZG9uZSk9XCJvbkNvbnRlbnRBbmltYXRpb25Eb25lKCRldmVudClcIj5cbiAgPGRpdiBjbGFzcz1cImRhZmYtc2lkZWJhci12aWV3cG9ydF9faW5uZXJcIlxuICAgIFtzdHlsZS5wYWRkaW5nLWxlZnQucHhdPVwiX2NvbnRlbnRQYWRMZWZ0XCJcbiAgICBbc3R5bGUucGFkZGluZy1yaWdodC5weF09XCJfY29udGVudFBhZFJpZ2h0XCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9kaXY+XG5cbjxuZy1jb250ZW50IHNlbGVjdD1cImRhZmYtc2lkZWJhcltzaWRlPXJpZ2h0XVwiPjwvbmctY29udGVudD5cbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).
|
3
|
+
*/
|
4
|
+
export const sidebarViewportBackdropInteractable = (sidebars) => sidebars.reduce((acc, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open) || acc, false);
|
5
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