@daffodil/design 0.39.13 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/examples/basic-accordion/basic-accordion.component.d.ts +3 -0
- package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +6 -0
- package/accordion/examples/daffodil-design-accordion-examples.d.ts +1 -2
- package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +3 -0
- package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +6 -0
- package/accordion/examples/package.json +5 -6
- package/accordion/examples/public_api.d.ts +2 -0
- package/article/examples/article-blockquote/article-blockquote.component.d.ts +3 -0
- package/article/examples/article-code-block/article-code-block.component.d.ts +3 -0
- package/article/examples/article-code-inline/article-code-inline.component.d.ts +3 -0
- package/article/examples/article-examples.module.d.ts +17 -0
- package/article/examples/article-headings/article-headings.component.d.ts +3 -0
- package/article/examples/article-hr/article-hr.component.d.ts +3 -0
- package/article/examples/article-lead/article-lead.component.d.ts +3 -0
- package/article/examples/article-link/article-link.component.d.ts +3 -0
- package/article/examples/article-meta/article-meta.component.d.ts +3 -0
- package/article/examples/article-ol/article-ol.component.d.ts +3 -0
- package/article/examples/article-table/article-table.component.d.ts +3 -0
- package/article/examples/article-ul/article-ul.component.d.ts +3 -0
- package/article/examples/daffodil-design-article-examples.d.ts +1 -1
- package/article/examples/package.json +5 -6
- package/atoms/button/button.component.d.ts +4 -1
- package/atoms/button/button.module.d.ts +7 -0
- package/atoms/container/container.component.d.ts +3 -0
- package/atoms/container/container.module.d.ts +6 -0
- package/atoms/form/checkbox/checkbox.component.d.ts +3 -0
- package/atoms/form/checkbox/checkbox.module.d.ts +8 -0
- package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +3 -0
- package/atoms/form/checkbox-set/checkbox-set.component.d.ts +3 -0
- package/atoms/form/error-message/error-message.component.d.ts +3 -0
- package/atoms/form/error-message/error-message.module.d.ts +5 -0
- package/atoms/form/form-field/form-field/form-field.component.d.ts +3 -0
- package/atoms/form/form-field/form-field.module.d.ts +8 -0
- package/atoms/form/input/input.component.d.ts +3 -0
- package/atoms/form/input/input.module.d.ts +6 -0
- package/atoms/form/quantity-field/quantity-field.component.d.ts +4 -1
- package/atoms/form/quantity-field/quantity-field.module.d.ts +11 -0
- package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +4 -1
- package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +4 -0
- package/atoms/form/radio/cva/radio-cva.directive.d.ts +3 -0
- package/atoms/form/radio/radio.component.d.ts +3 -0
- package/atoms/form/radio/radio.module.d.ts +8 -0
- package/atoms/form/radio/registry/radio-registry.d.ts +3 -0
- package/atoms/form/radio-set/radio-set.component.d.ts +3 -0
- package/atoms/form/select/select/select.component.d.ts +3 -0
- package/atoms/form/select/select.module.d.ts +6 -0
- package/atoms/image/image.component.d.ts +3 -0
- package/atoms/image/image.module.d.ts +6 -0
- package/atoms/loading-icon/loading-icon.component.d.ts +3 -0
- package/atoms/loading-icon/loading-icon.module.d.ts +6 -0
- package/atoms/progress-indicator/progress-indicator.component.d.ts +3 -0
- package/atoms/progress-indicator/progress-indicator.module.d.ts +6 -0
- package/button/examples/basic-button/basic-button.component.d.ts +3 -0
- package/button/examples/basic-button/basic-button.module.d.ts +7 -0
- package/button/examples/daffodil-design-button-examples.d.ts +1 -7
- package/button/examples/icon-button/icon-button.component.d.ts +3 -0
- package/button/examples/icon-button/icon-button.module.d.ts +7 -0
- package/button/examples/package.json +5 -6
- package/button/examples/public_api.d.ts +5 -0
- package/button/examples/raised-button/raised-button.component.d.ts +3 -0
- package/button/examples/raised-button/raised-button.module.d.ts +7 -0
- package/button/examples/sizeable-button/sizeable-button.component.d.ts +3 -0
- package/button/examples/sizeable-button/sizeable-button.module.d.ts +7 -0
- package/button/examples/statusable-button/statusable-button.component.d.ts +3 -0
- package/button/examples/statusable-button/statusable-button.module.d.ts +7 -0
- package/button/examples/stroked-button/stroked-button.component.d.ts +3 -0
- package/button/examples/stroked-button/stroked-button.module.d.ts +7 -0
- package/button/examples/underline-button/underline-button.component.d.ts +3 -0
- package/button/examples/underline-button/underline-button.module.d.ts +7 -0
- package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +3 -0
- package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +9 -0
- package/callout/examples/callout-theming/callout-theming.component.d.ts +3 -0
- package/callout/examples/callout-theming/callout-theming.module.d.ts +9 -0
- package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +3 -0
- package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +9 -0
- package/callout/examples/compact-callout/compact-callout.component.d.ts +3 -0
- package/callout/examples/compact-callout/compact-callout.module.d.ts +8 -0
- package/callout/examples/daffodil-design-callout-examples.d.ts +1 -0
- package/callout/examples/package.json +5 -6
- package/card/examples/basic-card/basic-card.component.d.ts +3 -0
- package/card/examples/basic-card/basic-card.module.d.ts +8 -0
- package/card/examples/card-orientation/card-orientation.component.d.ts +3 -0
- package/card/examples/card-orientation/card-orientation.module.d.ts +9 -0
- package/card/examples/card-theming/card-theming.component.d.ts +3 -0
- package/card/examples/card-theming/card-theming.module.d.ts +8 -0
- package/card/examples/daffodil-design-card-examples.d.ts +1 -6
- package/card/examples/linkable-card/linkable-card.component.d.ts +3 -0
- package/card/examples/linkable-card/linkable-card.module.d.ts +9 -0
- package/card/examples/package.json +5 -6
- package/card/examples/public_api.d.ts +4 -0
- package/card/examples/raised-card/raised-card.component.d.ts +3 -0
- package/card/examples/raised-card/raised-card.module.d.ts +8 -0
- package/card/examples/stroked-card/stroked-card.component.d.ts +3 -0
- package/card/examples/stroked-card/stroked-card.module.d.ts +9 -0
- package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +3 -0
- package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +7 -0
- package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +3 -0
- package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +7 -0
- package/checkbox/examples/daffodil-design-checkbox-examples.d.ts +1 -4
- package/checkbox/examples/package.json +5 -6
- package/container/examples/container-sizes/container-sizes.component.d.ts +3 -0
- package/container/examples/container-sizes/container-sizes.module.d.ts +8 -0
- package/container/examples/daffodil-design-container-examples.d.ts +1 -0
- package/container/examples/package.json +5 -6
- package/core/prefix-suffix/prefix-suffix.module.d.ts +6 -0
- package/core/prefix-suffix/prefix.directive.d.ts +3 -0
- package/core/prefix-suffix/suffix.directive.d.ts +3 -0
- package/core/public_api.d.ts +1 -0
- package/core/theming/functions/computer.d.ts +6 -0
- package/core/theming/initializer.d.ts +8 -0
- package/core/theming/public_api.d.ts +3 -0
- package/core/theming/services/class-setter/theme-class-setter.service.d.ts +31 -0
- package/core/theming/services/os-theme/ostheme.service.d.ts +20 -0
- package/core/theming/services/storage/theme-storage.service.d.ts +28 -0
- package/core/theming/services/theming.service.d.ts +33 -0
- package/core/theming/types/theme.d.ts +8 -0
- package/daff-global.scss +1 -1
- package/daff-theme.scss +36 -30
- package/daff-typography.scss +2 -0
- package/daff-util.scss +2 -0
- package/daffodil-design.d.ts +1 -11
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
- package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +26 -0
- package/esm2020/accordion/examples/daffodil-design-accordion-examples.mjs +5 -0
- package/{esm2015/accordion/examples/index.js → esm2020/accordion/examples/index.mjs} +0 -0
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +12 -0
- package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +26 -0
- package/esm2020/accordion/examples/public_api.mjs +10 -0
- package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
- package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +12 -0
- package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
- package/esm2020/article/examples/article-examples.module.mjs +41 -0
- package/esm2020/article/examples/article-headings/article-headings.component.mjs +12 -0
- package/esm2020/article/examples/article-hr/article-hr.component.mjs +12 -0
- package/esm2020/article/examples/article-lead/article-lead.component.mjs +12 -0
- package/esm2020/article/examples/article-link/article-link.component.mjs +12 -0
- package/esm2020/article/examples/article-meta/article-meta.component.mjs +12 -0
- package/esm2020/article/examples/article-ol/article-ol.component.mjs +12 -0
- package/esm2020/article/examples/article-table/article-table.component.mjs +12 -0
- package/esm2020/article/examples/article-ul/article-ul.component.mjs +12 -0
- package/esm2020/article/examples/daffodil-design-article-examples.mjs +5 -0
- package/{esm2015/article/examples/examples.js → esm2020/article/examples/examples.mjs} +0 -0
- package/{esm2015/article/examples/index.js → esm2020/article/examples/index.mjs} +0 -0
- package/{esm2015/article/examples/public_api.js → esm2020/article/examples/public_api.mjs} +0 -0
- package/esm2020/atoms/button/button.component.mjs +132 -0
- package/esm2020/atoms/button/button.module.mjs +32 -0
- package/{esm2015/atoms/button/public_api.js → esm2020/atoms/button/public_api.mjs} +0 -0
- package/esm2020/atoms/container/container.component.mjs +37 -0
- package/esm2020/atoms/container/container.module.mjs +26 -0
- package/{esm2015/atoms/container/public_api.js → esm2020/atoms/container/public_api.mjs} +0 -0
- package/esm2020/atoms/form/checkbox/checkbox.component.mjs +142 -0
- package/esm2020/atoms/form/checkbox/checkbox.module.mjs +41 -0
- package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
- package/{esm2015/atoms/form/checkbox/public_api.js → esm2020/atoms/form/checkbox/public_api.mjs} +0 -0
- package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
- package/{esm2015/atoms/form/core/error-state-matcher/error-state-matcher.js → esm2020/atoms/form/core/error-state-matcher/error-state-matcher.mjs} +0 -0
- package/{esm2015/atoms/form/core/public_api.js → esm2020/atoms/form/core/public_api.mjs} +0 -0
- package/esm2020/atoms/form/error-message/error-message.component.mjs +11 -0
- package/esm2020/atoms/form/error-message/error-message.module.mjs +20 -0
- package/{esm2015/atoms/form/error-message/public_api.js → esm2020/atoms/form/error-message/public_api.mjs} +0 -0
- package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
- package/{esm2015/atoms/form/form-field/form-field-control.js → esm2020/atoms/form/form-field/form-field-control.mjs} +0 -0
- package/{esm2015/atoms/form/form-field/form-field-errors.js → esm2020/atoms/form/form-field/form-field-errors.mjs} +0 -0
- package/esm2020/atoms/form/form-field/form-field.module.mjs +36 -0
- package/{esm2015/atoms/form/form-field/public_api.js → esm2020/atoms/form/form-field/public_api.mjs} +0 -0
- package/esm2020/atoms/form/input/input.component.mjs +59 -0
- package/esm2020/atoms/form/input/input.module.mjs +26 -0
- package/{esm2015/atoms/form/input/public_api.js → esm2020/atoms/form/input/public_api.mjs} +0 -0
- package/{esm2015/atoms/form/quantity-field/public_api.js → esm2020/atoms/form/quantity-field/public_api.mjs} +0 -0
- package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +134 -0
- package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +48 -0
- package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +97 -0
- package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +84 -0
- package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
- package/{esm2015/atoms/form/radio/public_api.js → esm2020/atoms/form/radio/public_api.mjs} +0 -0
- package/esm2020/atoms/form/radio/radio.component.mjs +132 -0
- package/esm2020/atoms/form/radio/radio.module.mjs +36 -0
- package/esm2020/atoms/form/radio/registry/radio-registry.mjs +54 -0
- package/esm2020/atoms/form/radio-set/radio-set.component.mjs +22 -0
- package/{esm2015/atoms/form/select/public_api.js → esm2020/atoms/form/select/public_api.mjs} +0 -0
- package/esm2020/atoms/form/select/select/select.component.mjs +64 -0
- package/esm2020/atoms/form/select/select.module.mjs +26 -0
- package/esm2020/atoms/image/image.component.mjs +111 -0
- package/esm2020/atoms/image/image.module.mjs +29 -0
- package/{esm2015/atoms/image/public_api.js → esm2020/atoms/image/public_api.mjs} +0 -0
- package/esm2020/atoms/loading-icon/loading-icon.component.mjs +53 -0
- package/esm2020/atoms/loading-icon/loading-icon.module.mjs +26 -0
- package/{esm2015/atoms/loading-icon/public_api.js → esm2020/atoms/loading-icon/public_api.mjs} +0 -0
- package/esm2020/atoms/progress-indicator/animation/progress-indicator-animation.mjs +8 -0
- package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
- package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +22 -0
- package/{esm2015/atoms/progress-indicator/public_api.js → esm2020/atoms/progress-indicator/public_api.mjs} +0 -0
- package/esm2020/button/examples/basic-button/basic-button.component.mjs +23 -0
- package/esm2020/button/examples/basic-button/basic-button.module.mjs +30 -0
- package/esm2020/button/examples/daffodil-design-button-examples.mjs +5 -0
- package/esm2020/button/examples/icon-button/icon-button.component.mjs +22 -0
- package/esm2020/button/examples/icon-button/icon-button.module.mjs +30 -0
- package/{esm2015/button/examples/index.js → esm2020/button/examples/index.mjs} +0 -0
- package/esm2020/button/examples/public_api.mjs +25 -0
- package/esm2020/button/examples/raised-button/raised-button.component.mjs +23 -0
- package/esm2020/button/examples/raised-button/raised-button.module.mjs +30 -0
- package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +21 -0
- package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +30 -0
- package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +27 -0
- package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +30 -0
- package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +23 -0
- package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +30 -0
- package/esm2020/button/examples/underline-button/underline-button.component.mjs +23 -0
- package/esm2020/button/examples/underline-button/underline-button.module.mjs +30 -0
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +27 -0
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
- package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +31 -0
- package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +38 -0
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +17 -0
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
- package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +17 -0
- package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
- package/{esm2015/callout/examples/daffodil-design-callout-examples.js → esm2020/callout/examples/daffodil-design-callout-examples.mjs} +0 -0
- package/{esm2015/callout/examples/examples.js → esm2020/callout/examples/examples.mjs} +0 -0
- package/{esm2015/callout/examples/index.js → esm2020/callout/examples/index.mjs} +0 -0
- package/{esm2015/callout/examples/public_api.js → esm2020/callout/examples/public_api.mjs} +0 -0
- package/esm2020/card/examples/basic-card/basic-card.component.mjs +17 -0
- package/esm2020/card/examples/basic-card/basic-card.module.mjs +40 -0
- package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +26 -0
- package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +44 -0
- package/esm2020/card/examples/card-theming/card-theming.component.mjs +32 -0
- package/esm2020/card/examples/card-theming/card-theming.module.mjs +37 -0
- package/esm2020/card/examples/daffodil-design-card-examples.mjs +5 -0
- package/{esm2015/card/examples/index.js → esm2020/card/examples/index.mjs} +0 -0
- package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +30 -0
- package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +44 -0
- package/esm2020/card/examples/public_api.mjs +22 -0
- package/esm2020/card/examples/raised-card/raised-card.component.mjs +28 -0
- package/esm2020/card/examples/raised-card/raised-card.module.mjs +40 -0
- package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +28 -0
- package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +44 -0
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +26 -0
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +34 -0
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +28 -0
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +34 -0
- package/esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs +5 -0
- package/{esm2015/checkbox/examples/examples.js → esm2020/checkbox/examples/examples.mjs} +0 -0
- package/{esm2015/checkbox/examples/index.js → esm2020/checkbox/examples/index.mjs} +0 -0
- package/{esm2015/checkbox/examples/public_api.js → esm2020/checkbox/examples/public_api.mjs} +0 -0
- package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +25 -0
- package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +34 -0
- package/{esm2015/container/examples/daffodil-design-container-examples.js → esm2020/container/examples/daffodil-design-container-examples.mjs} +0 -0
- package/{esm2015/container/examples/examples.js → esm2020/container/examples/examples.mjs} +0 -0
- package/{esm2015/container/examples/index.js → esm2020/container/examples/index.mjs} +0 -0
- package/{esm2015/container/examples/public_api.js → esm2020/container/examples/public_api.mjs} +0 -0
- package/esm2020/core/article-encapsulated/article-encapsulated-mixin.mjs +12 -0
- package/{esm2015/core/article-encapsulated/public_api.js → esm2020/core/article-encapsulated/public_api.mjs} +0 -0
- package/esm2020/core/breakpoints/breakpoints.mjs +10 -0
- package/{esm2015/core/colorable/color-in-palette.js → esm2020/core/colorable/color-in-palette.mjs} +0 -0
- package/{esm2015/core/colorable/colorable-enum.js → esm2020/core/colorable/colorable-enum.mjs} +0 -0
- package/esm2020/core/colorable/colorable-mixin.mjs +42 -0
- package/esm2020/core/colorable/colorable.mjs +2 -0
- package/{esm2015/core/colorable/public_api.js → esm2020/core/colorable/public_api.mjs} +0 -0
- package/esm2020/core/compactable/compactable-mixin.mjs +26 -0
- package/esm2020/core/compactable/compactable.mjs +2 -0
- package/{esm2015/core/compactable/public_api.js → esm2020/core/compactable/public_api.mjs} +0 -0
- package/{esm2015/core/constructor/constructor.js → esm2020/core/constructor/constructor.mjs} +0 -0
- package/esm2020/core/manage-container-layout/manage-container-layout-mixin.mjs +14 -0
- package/{esm2015/core/manage-container-layout/public_api.js → esm2020/core/manage-container-layout/public_api.mjs} +0 -0
- package/esm2020/core/mutable/mutable.mjs +2 -0
- package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
- package/esm2020/core/prefix-suffix/prefix.directive.mjs +24 -0
- package/{esm2015/core/prefix-suffix/prefixable/prefixable-interface.js → esm2020/core/prefix-suffix/prefixable/prefixable-interface.mjs} +0 -0
- package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
- package/{esm2015/core/prefix-suffix/public_api.js → esm2020/core/prefix-suffix/public_api.mjs} +0 -0
- package/esm2020/core/prefix-suffix/suffix.directive.mjs +24 -0
- package/{esm2015/core/prefix-suffix/suffixable/suffixable-interface.js → esm2020/core/prefix-suffix/suffixable/suffixable-interface.mjs} +0 -0
- package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
- package/esm2020/core/public_api.mjs +14 -0
- package/esm2020/core/sizeable/sizeable-mixin.mjs +31 -0
- package/esm2020/core/sizeable/sizeable.mjs +9 -0
- package/esm2020/core/skeletonable/skeletonable.mjs +2 -0
- package/esm2020/core/statusable/statusable-mixin.mjs +32 -0
- package/esm2020/core/statusable/statusable.mjs +7 -0
- package/esm2020/core/text-alignable/text-alignable-mixin.mjs +35 -0
- package/esm2020/core/text-alignable/text-alignable.mjs +7 -0
- package/esm2020/core/theming/functions/computer.mjs +18 -0
- package/esm2020/core/theming/initializer.mjs +17 -0
- package/esm2020/core/theming/public_api.mjs +4 -0
- package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
- package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +49 -0
- package/esm2020/core/theming/services/storage/theme-storage.service.mjs +67 -0
- package/esm2020/core/theming/services/theming.service.mjs +61 -0
- package/esm2020/core/theming/types/theme.mjs +10 -0
- package/esm2020/daffodil-design.mjs +5 -0
- package/{esm2015/examples/examples.js → esm2020/examples/examples.mjs} +0 -0
- package/{esm2015/examples/public_api.js → esm2020/examples/public_api.mjs} +0 -0
- package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +17 -0
- package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +41 -0
- package/{esm2015/hero/examples/daffodil-design-hero-examples.js → esm2020/hero/examples/daffodil-design-hero-examples.mjs} +0 -0
- package/{esm2015/hero/examples/examples.js → esm2020/hero/examples/examples.mjs} +0 -0
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +27 -0
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
- package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +21 -0
- package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +41 -0
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +17 -0
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
- package/{esm2015/hero/examples/index.js → esm2020/hero/examples/index.mjs} +0 -0
- package/{esm2015/hero/examples/public_api.js → esm2020/hero/examples/public_api.mjs} +0 -0
- package/esm2020/image/examples/basic-image/basic-image.component.mjs +12 -0
- package/esm2020/image/examples/basic-image/basic-image.module.mjs +26 -0
- package/esm2020/image/examples/daffodil-design-image-examples.mjs +5 -0
- package/esm2020/image/examples/index.mjs +2 -0
- package/esm2020/image/examples/load-image/load-image.component.mjs +19 -0
- package/esm2020/image/examples/load-image/load-image.module.mjs +30 -0
- package/esm2020/image/examples/public_api.mjs +9 -0
- package/esm2020/list/examples/basic-list/basic-list.component.mjs +12 -0
- package/esm2020/list/examples/basic-list/basic-list.module.mjs +30 -0
- package/esm2020/list/examples/daffodil-design-list-examples.mjs +5 -0
- package/{esm2015/list/examples/examples.js → esm2020/list/examples/examples.mjs} +0 -0
- package/esm2020/list/examples/icon-list/icon-list.component.mjs +17 -0
- package/esm2020/list/examples/icon-list/icon-list.module.mjs +34 -0
- package/{esm2015/list/examples/index.js → esm2020/list/examples/index.mjs} +0 -0
- package/esm2020/list/examples/list-examples.module.mjs +39 -0
- package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +12 -0
- package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +34 -0
- package/esm2020/list/examples/nav-list/nav-list.component.mjs +17 -0
- package/esm2020/list/examples/nav-list/nav-list.module.mjs +34 -0
- package/{esm2015/list/examples/public_api.js → esm2020/list/examples/public_api.mjs} +0 -0
- package/esm2020/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +5 -0
- package/{esm2015/loading-icon/examples/examples.js → esm2020/loading-icon/examples/examples.mjs} +0 -0
- package/{esm2015/loading-icon/examples/index.js → esm2020/loading-icon/examples/index.mjs} +0 -0
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +19 -0
- package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +33 -0
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
- package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +26 -0
- package/{esm2015/loading-icon/examples/public_api.js → esm2020/loading-icon/examples/public_api.mjs} +0 -0
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +12 -0
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +30 -0
- package/esm2020/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +5 -0
- package/{esm2015/media-gallery/examples/examples.js → esm2020/media-gallery/examples/examples.mjs} +0 -0
- package/{esm2015/media-gallery/examples/index.js → esm2020/media-gallery/examples/index.mjs} +0 -0
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +12 -0
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +30 -0
- package/esm2020/media-gallery/examples/public_api.mjs +6 -0
- package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +20 -0
- package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +32 -0
- package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +12 -0
- package/esm2020/modal/examples/daffodil-design-modal-examples.mjs +5 -0
- package/{esm2015/modal/examples/index.js → esm2020/modal/examples/index.mjs} +0 -0
- package/{esm2015/modal/examples/public_api.js → esm2020/modal/examples/public_api.mjs} +0 -0
- package/esm2020/molecules/accordion/accordion/accordion.component.mjs +27 -0
- package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +54 -0
- package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
- package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
- package/esm2020/molecules/accordion/accordion.module.mjs +54 -0
- package/{esm2015/molecules/accordion/animation/accordion-animation-state.js → esm2020/molecules/accordion/animation/accordion-animation-state.mjs} +0 -0
- package/{esm2015/molecules/accordion/animation/accordion-animation.js → esm2020/molecules/accordion/animation/accordion-animation.mjs} +0 -0
- package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +78 -0
- package/esm2020/molecules/accordion/public_api.mjs +7 -0
- package/esm2020/molecules/article/article/article.component.mjs +30 -0
- package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +22 -0
- package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +22 -0
- package/esm2020/molecules/article/article-title/article-title.directive.mjs +22 -0
- package/esm2020/molecules/article/article.module.mjs +41 -0
- package/{esm2015/molecules/article/public_api.js → esm2020/molecules/article/public_api.mjs} +0 -0
- package/{esm2015/molecules/backdrop/animation/backdrop-animation.js → esm2020/molecules/backdrop/animation/backdrop-animation.mjs} +0 -0
- package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +52 -0
- package/esm2020/molecules/backdrop/backdrop.module.mjs +29 -0
- package/{esm2015/molecules/backdrop/public_api.js → esm2020/molecules/backdrop/public_api.mjs} +0 -0
- package/esm2020/molecules/button-set/button-set.component.mjs +20 -0
- package/esm2020/molecules/button-set/button-set.module.mjs +20 -0
- package/{esm2015/molecules/button-set/public_api.js → esm2020/molecules/button-set/public_api.mjs} +0 -0
- package/esm2020/molecules/callout/callout/callout.component.mjs +71 -0
- package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +22 -0
- package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +22 -0
- package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
- package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
- package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +22 -0
- package/esm2020/molecules/callout/callout.module.mjs +51 -0
- package/{esm2015/molecules/callout/public_api.js → esm2020/molecules/callout/public_api.mjs} +0 -0
- package/esm2020/molecules/card/card/card.component.mjs +113 -0
- package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +22 -0
- package/esm2020/molecules/card/card-content/card-content.directive.mjs +22 -0
- package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +22 -0
- package/esm2020/molecules/card/card-image/card-image.directive.mjs +22 -0
- package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +22 -0
- package/esm2020/molecules/card/card-title/card-title.directive.mjs +22 -0
- package/esm2020/molecules/card/card.module.mjs +56 -0
- package/{esm2015/molecules/card/public_api.js → esm2020/molecules/card/public_api.mjs} +0 -0
- package/esm2020/molecules/feature/feature/feature.component.mjs +49 -0
- package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
- package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
- package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
- package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
- package/esm2020/molecules/feature/feature.module.mjs +46 -0
- package/{esm2015/molecules/feature/public_api.js → esm2020/molecules/feature/public_api.mjs} +0 -0
- package/esm2020/molecules/hero/hero/hero.component.mjs +72 -0
- package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +22 -0
- package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +22 -0
- package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
- package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
- package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +22 -0
- package/esm2020/molecules/hero/hero.module.mjs +51 -0
- package/{esm2015/molecules/hero/public_api.js → esm2020/molecules/hero/public_api.mjs} +0 -0
- package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
- package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
- package/esm2020/molecules/image-gallery/image-gallery.module.mjs +35 -0
- package/{esm2015/molecules/image-gallery/public_api.js → esm2020/molecules/image-gallery/public_api.mjs} +0 -0
- package/esm2020/molecules/image-list/image-list.component.mjs +20 -0
- package/esm2020/molecules/image-list/image-list.module.mjs +26 -0
- package/{esm2015/molecules/image-list/public_api.js → esm2020/molecules/image-list/public_api.mjs} +0 -0
- package/esm2020/molecules/link-set/link-set/link-set.component.mjs +37 -0
- package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
- package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +26 -0
- package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
- package/esm2020/molecules/link-set/link-set.module.mjs +41 -0
- package/{esm2015/molecules/link-set/public_api.js → esm2020/molecules/link-set/public_api.mjs} +0 -0
- package/esm2020/molecules/list/list/list.component.mjs +110 -0
- package/esm2020/molecules/list/list-item/list-item.component.mjs +49 -0
- package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +25 -0
- package/esm2020/molecules/list/list.module.mjs +42 -0
- package/{esm2015/molecules/list/public_api.js → esm2020/molecules/list/public_api.mjs} +0 -0
- package/esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs +2 -0
- package/{esm2015/molecules/media-gallery/media-gallery-token.js → esm2020/molecules/media-gallery/media-gallery-token.mjs} +0 -0
- package/esm2020/molecules/media-gallery/media-gallery.component.mjs +59 -0
- package/esm2020/molecules/media-gallery/media-gallery.module.mjs +34 -0
- package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +76 -0
- package/{esm2015/molecules/media-gallery/public_api.js → esm2020/molecules/media-gallery/public_api.mjs} +0 -0
- package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +97 -0
- package/{esm2015/molecules/media-gallery/thumbnail/thumbnail-compat.token.js → esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs} +0 -0
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs +2 -0
- package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
- package/{esm2015/molecules/modal/animations/modal-animation-state.js → esm2020/molecules/modal/animations/modal-animation-state.mjs} +0 -0
- package/esm2020/molecules/modal/animations/modal-animation.mjs +9 -0
- package/{esm2015/molecules/modal/modal/modal-config.js → esm2020/molecules/modal/modal/modal-config.mjs} +0 -0
- package/esm2020/molecules/modal/modal/modal.component.mjs +79 -0
- package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +11 -0
- package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +11 -0
- package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +20 -0
- package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +22 -0
- package/esm2020/molecules/modal/modal.mjs +2 -0
- package/esm2020/molecules/modal/modal.module.mjs +52 -0
- package/{esm2015/molecules/modal/public_api.js → esm2020/molecules/modal/public_api.mjs} +0 -0
- package/esm2020/molecules/modal/service/modal.service.mjs +70 -0
- package/esm2020/molecules/navbar/navbar.component.mjs +51 -0
- package/esm2020/molecules/navbar/navbar.module.mjs +20 -0
- package/{esm2015/molecules/navbar/public_api.js → esm2020/molecules/navbar/public_api.mjs} +0 -0
- package/{esm2015/molecules/paginator/paginator-errors.js → esm2020/molecules/paginator/paginator-errors.mjs} +0 -0
- package/esm2020/molecules/paginator/paginator.component.mjs +159 -0
- package/esm2020/molecules/paginator/paginator.module.mjs +34 -0
- package/{esm2015/molecules/paginator/public_api.js → esm2020/molecules/paginator/public_api.mjs} +0 -0
- package/{esm2015/molecules/qty-dropdown/public_api.js → esm2020/molecules/qty-dropdown/public_api.mjs} +0 -0
- package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +115 -0
- package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +42 -0
- package/{esm2015/molecules/sidebar/animation/sidebar-animation-state.js → esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs} +0 -0
- package/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +30 -0
- package/{esm2015/molecules/sidebar/helper/sidebar-mode.js → esm2020/molecules/sidebar/helper/sidebar-mode.mjs} +0 -0
- package/{esm2015/molecules/sidebar/public_api.js → esm2020/molecules/sidebar/public_api.mjs} +0 -0
- package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +44 -0
- package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +121 -0
- package/esm2020/molecules/sidebar/sidebar.module.mjs +39 -0
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +12 -0
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -0
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
- package/{esm2015/navbar/examples/daffodil-design-navbar-examples.js → esm2020/navbar/examples/daffodil-design-navbar-examples.mjs} +0 -0
- package/{esm2015/navbar/examples/examples.js → esm2020/navbar/examples/examples.mjs} +0 -0
- package/{esm2015/navbar/examples/index.js → esm2020/navbar/examples/index.mjs} +0 -0
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +28 -0
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +34 -0
- package/{esm2015/navbar/examples/public_api.js → esm2020/navbar/examples/public_api.mjs} +0 -0
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +12 -0
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +30 -0
- package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
- package/esm2020/paginator/examples/daffodil-design-paginator-examples.mjs +5 -0
- package/esm2020/paginator/examples/examples.mjs +5 -0
- package/esm2020/paginator/examples/index.mjs +2 -0
- package/esm2020/paginator/examples/paginator-examples.module.mjs +31 -0
- package/esm2020/paginator/examples/public_api.mjs +4 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +17 -0
- package/esm2020/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +37 -0
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +17 -0
- package/esm2020/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +37 -0
- package/esm2020/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +5 -0
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +17 -0
- package/esm2020/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +37 -0
- package/{esm2015/quantity-field/examples/index.js → esm2020/quantity-field/examples/index.mjs} +0 -0
- package/esm2020/quantity-field/examples/public_api.mjs +16 -0
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +17 -0
- package/esm2020/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +37 -0
- package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +21 -0
- package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +31 -0
- package/esm2020/radio/examples/daffodil-design-radio-examples.mjs +5 -0
- package/{esm2015/radio/examples/examples.js → esm2020/radio/examples/examples.mjs} +0 -0
- package/{esm2015/radio/examples/index.js → esm2020/radio/examples/index.mjs} +0 -0
- package/{esm2015/radio/examples/public_api.js → esm2020/radio/examples/public_api.mjs} +0 -0
- package/fesm2015/daffodil-design-accordion-examples.mjs +78 -0
- package/fesm2015/daffodil-design-accordion-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-article-examples.mjs +150 -0
- package/fesm2015/daffodil-design-article-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-button-examples.mjs +326 -0
- package/fesm2015/daffodil-design-button-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-callout-examples.mjs +221 -0
- package/fesm2015/daffodil-design-callout-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-card-examples.mjs +362 -0
- package/fesm2015/daffodil-design-card-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-checkbox-examples.mjs +123 -0
- package/fesm2015/daffodil-design-checkbox-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-container-examples.mjs +66 -0
- package/fesm2015/daffodil-design-container-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-hero-examples.mjs +218 -0
- package/fesm2015/daffodil-design-hero-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-image-examples.mjs +89 -0
- package/fesm2015/daffodil-design-image-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-list-examples.mjs +204 -0
- package/fesm2015/daffodil-design-list-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-loading-icon-examples.mjs +91 -0
- package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-media-gallery-examples.mjs +86 -0
- package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-modal-examples.mjs +66 -0
- package/fesm2015/daffodil-design-modal-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-navbar-examples.mjs +180 -0
- package/fesm2015/daffodil-design-navbar-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-paginator-examples.mjs +57 -0
- package/fesm2015/daffodil-design-paginator-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-quantity-field-examples.mjs +193 -0
- package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-radio-examples.mjs +62 -0
- package/fesm2015/daffodil-design-radio-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design.mjs +5399 -0
- package/fesm2015/daffodil-design.mjs.map +1 -0
- package/fesm2020/daffodil-design-accordion-examples.mjs +78 -0
- package/fesm2020/daffodil-design-accordion-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-article-examples.mjs +150 -0
- package/fesm2020/daffodil-design-article-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-button-examples.mjs +326 -0
- package/fesm2020/daffodil-design-button-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-callout-examples.mjs +221 -0
- package/fesm2020/daffodil-design-callout-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-card-examples.mjs +362 -0
- package/fesm2020/daffodil-design-card-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-checkbox-examples.mjs +123 -0
- package/fesm2020/daffodil-design-checkbox-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-container-examples.mjs +66 -0
- package/fesm2020/daffodil-design-container-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-hero-examples.mjs +218 -0
- package/fesm2020/daffodil-design-hero-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-image-examples.mjs +89 -0
- package/fesm2020/daffodil-design-image-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-list-examples.mjs +204 -0
- package/fesm2020/daffodil-design-list-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-loading-icon-examples.mjs +91 -0
- package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-media-gallery-examples.mjs +86 -0
- package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-modal-examples.mjs +66 -0
- package/fesm2020/daffodil-design-modal-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-navbar-examples.mjs +180 -0
- package/fesm2020/daffodil-design-navbar-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-paginator-examples.mjs +57 -0
- package/fesm2020/daffodil-design-paginator-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-quantity-field-examples.mjs +193 -0
- package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-radio-examples.mjs +62 -0
- package/fesm2020/daffodil-design-radio-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design.mjs +5384 -0
- package/fesm2020/daffodil-design.mjs.map +1 -0
- package/hero/examples/compact-hero/compact-hero.component.d.ts +3 -0
- package/hero/examples/compact-hero/compact-hero.module.d.ts +9 -0
- package/hero/examples/daffodil-design-hero-examples.d.ts +1 -0
- package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +3 -0
- package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +9 -0
- package/hero/examples/hero-theming/hero-theming.component.d.ts +3 -0
- package/hero/examples/hero-theming/hero-theming.module.d.ts +9 -0
- package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +3 -0
- package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +9 -0
- package/hero/examples/package.json +5 -6
- package/image/examples/basic-image/basic-image.component.d.ts +5 -0
- package/image/examples/basic-image/basic-image.module.d.ts +8 -0
- package/image/examples/daffodil-design-image-examples.d.ts +5 -0
- package/image/examples/index.d.ts +1 -0
- package/image/examples/load-image/load-image.component.d.ts +7 -0
- package/image/examples/load-image/load-image.module.d.ts +9 -0
- package/image/examples/package.json +10 -0
- package/image/examples/public_api.d.ts +2 -0
- package/list/examples/basic-list/basic-list.component.d.ts +3 -0
- package/list/examples/basic-list/basic-list.module.d.ts +7 -0
- package/list/examples/daffodil-design-list-examples.d.ts +1 -4
- package/list/examples/icon-list/icon-list.component.d.ts +3 -0
- package/list/examples/icon-list/icon-list.module.d.ts +8 -0
- package/list/examples/list-examples.module.d.ts +9 -0
- package/list/examples/multiline-list/multiline-list.component.d.ts +3 -0
- package/list/examples/multiline-list/multiline-list.module.d.ts +8 -0
- package/list/examples/nav-list/nav-list.component.d.ts +3 -0
- package/list/examples/nav-list/nav-list.module.d.ts +8 -0
- package/list/examples/package.json +5 -6
- package/loading-icon/examples/daffodil-design-loading-icon-examples.d.ts +1 -1
- package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +3 -0
- package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +7 -0
- package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +3 -0
- package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +6 -0
- package/loading-icon/examples/package.json +5 -6
- package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +3 -0
- package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +6 -0
- package/media-gallery/examples/daffodil-design-media-gallery-examples.d.ts +1 -2
- package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +3 -0
- package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +6 -0
- package/media-gallery/examples/package.json +5 -6
- package/media-gallery/examples/public_api.d.ts +2 -0
- package/modal/examples/basic-modal/basic-modal.component.d.ts +3 -0
- package/modal/examples/basic-modal/basic-modal.module.d.ts +7 -0
- package/modal/examples/basic-modal/modal-content.component.d.ts +3 -0
- package/modal/examples/daffodil-design-modal-examples.d.ts +1 -3
- package/modal/examples/package.json +5 -6
- package/molecules/accordion/accordion/accordion.component.d.ts +3 -0
- package/molecules/accordion/accordion-item/accordion-item.component.d.ts +3 -0
- package/molecules/accordion/accordion-item-content/accordion-item-content.directive.d.ts +3 -0
- package/molecules/accordion/accordion-item-title/accordion-item-title.directive.d.ts +3 -0
- package/molecules/accordion/accordion.module.d.ts +12 -0
- package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +3 -0
- package/molecules/accordion/public_api.d.ts +1 -0
- package/molecules/article/article/article.component.d.ts +3 -0
- package/molecules/article/article-lead/article-lead.directive.d.ts +3 -0
- package/molecules/article/article-meta/article-meta.directive.d.ts +3 -0
- package/molecules/article/article-title/article-title.directive.d.ts +3 -0
- package/molecules/article/article.module.d.ts +9 -0
- package/molecules/backdrop/backdrop/backdrop.component.d.ts +3 -0
- package/molecules/backdrop/backdrop.module.d.ts +6 -0
- package/molecules/button-set/button-set.component.d.ts +3 -0
- package/molecules/button-set/button-set.module.d.ts +5 -0
- package/molecules/callout/callout/callout.component.d.ts +3 -0
- package/molecules/callout/callout-body/callout-body.directive.d.ts +3 -0
- package/molecules/callout/callout-icon/callout-icon.directive.d.ts +3 -0
- package/molecules/callout/callout-subtitle/callout-subtitle.directive.d.ts +3 -0
- package/molecules/callout/callout-tagline/callout-tagline.directive.d.ts +3 -0
- package/molecules/callout/callout-title/callout-title.directive.d.ts +3 -0
- package/molecules/callout/callout.module.d.ts +11 -0
- package/molecules/card/card/card.component.d.ts +3 -0
- package/molecules/card/card-actions/card-actions.directive.d.ts +3 -0
- package/molecules/card/card-content/card-content.directive.d.ts +3 -0
- package/molecules/card/card-icon/card-icon.directive.d.ts +3 -0
- package/molecules/card/card-image/card-image.directive.d.ts +3 -0
- package/molecules/card/card-tagline/card-tagline.directive.d.ts +3 -0
- package/molecules/card/card-title/card-title.directive.d.ts +3 -0
- package/molecules/card/card.module.d.ts +12 -0
- package/molecules/feature/feature/feature.component.d.ts +3 -0
- package/molecules/feature/feature-icon/feature-icon.directive.d.ts +3 -0
- package/molecules/feature/feature-subheader/feature-subheader.directive.d.ts +3 -0
- package/molecules/feature/feature-subtitle/feature-subtitle.directive.d.ts +3 -0
- package/molecules/feature/feature-title/feature-title.directive.d.ts +3 -0
- package/molecules/feature/feature.module.d.ts +10 -0
- package/molecules/hero/hero/hero.component.d.ts +3 -0
- package/molecules/hero/hero-body/hero-body.directive.d.ts +3 -0
- package/molecules/hero/hero-icon/hero-icon.directive.d.ts +3 -0
- package/molecules/hero/hero-subtitle/hero-subtitle.directive.d.ts +3 -0
- package/molecules/hero/hero-tagline/hero-tagline.directive.d.ts +3 -0
- package/molecules/hero/hero-title/hero-title.directive.d.ts +3 -0
- package/molecules/hero/hero.module.d.ts +11 -0
- package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
- package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
- package/molecules/image-gallery/image-gallery.module.d.ts +8 -0
- package/molecules/image-list/image-list.component.d.ts +3 -0
- package/molecules/image-list/image-list.module.d.ts +6 -0
- package/molecules/link-set/link-set/link-set.component.d.ts +3 -0
- package/molecules/link-set/link-set-heading/link-set-heading.directive.d.ts +3 -0
- package/molecules/link-set/link-set-item/link-set-item.component.d.ts +3 -0
- package/molecules/link-set/link-set-subheading/link-set-subheading.directive.d.ts +3 -0
- package/molecules/link-set/link-set.module.d.ts +9 -0
- package/molecules/list/list/list.component.d.ts +4 -1
- package/molecules/list/list-item/list-item.component.d.ts +3 -0
- package/molecules/list/list-subheader/list-subheader.directive.d.ts +3 -0
- package/molecules/list/list.module.d.ts +9 -0
- package/molecules/media-gallery/media-gallery.component.d.ts +3 -0
- package/molecules/media-gallery/media-gallery.module.d.ts +8 -0
- package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +3 -0
- package/molecules/media-gallery/registry/media-gallery.registry.d.ts +3 -0
- package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +3 -0
- package/molecules/modal/modal/modal.component.d.ts +3 -0
- package/molecules/modal/modal-actions/modal-actions.component.d.ts +3 -0
- package/molecules/modal/modal-content/modal-content.component.d.ts +3 -0
- package/molecules/modal/modal-header/modal-header.component.d.ts +3 -0
- package/molecules/modal/modal-title/modal-title.directive.d.ts +3 -0
- package/molecules/modal/modal.module.d.ts +12 -0
- package/molecules/modal/service/modal.service.d.ts +3 -0
- package/molecules/navbar/navbar.component.d.ts +3 -0
- package/molecules/navbar/navbar.module.d.ts +5 -0
- package/molecules/paginator/paginator.component.d.ts +3 -0
- package/molecules/paginator/paginator.module.d.ts +8 -0
- package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
- package/molecules/qty-dropdown/qty-dropdown.module.d.ts +10 -0
- package/molecules/sidebar/sidebar/sidebar.component.d.ts +3 -0
- package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +3 -0
- package/molecules/sidebar/sidebar.module.d.ts +9 -0
- package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +3 -0
- package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +7 -0
- package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +3 -0
- package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +7 -0
- package/navbar/examples/daffodil-design-navbar-examples.d.ts +1 -0
- package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +3 -0
- package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +8 -0
- package/navbar/examples/package.json +5 -6
- package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +3 -0
- package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +7 -0
- package/package.json +163 -15
- package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +8 -0
- package/paginator/examples/daffodil-design-paginator-examples.d.ts +5 -0
- package/paginator/examples/examples.d.ts +2 -0
- package/paginator/examples/index.d.ts +1 -0
- package/paginator/examples/package.json +10 -0
- package/paginator/examples/paginator-examples.module.d.ts +9 -0
- package/paginator/examples/public_api.d.ts +3 -0
- package/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.d.ts +7 -0
- package/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.d.ts +10 -0
- package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.d.ts +7 -0
- package/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.d.ts +10 -0
- package/quantity-field/examples/daffodil-design-quantity-field-examples.d.ts +1 -4
- package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.d.ts +7 -0
- package/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.d.ts +10 -0
- package/quantity-field/examples/package.json +5 -6
- package/quantity-field/examples/public_api.d.ts +10 -5
- package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.d.ts +7 -0
- package/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.d.ts +10 -0
- package/radio/examples/basic-radio/basic-radio.component.d.ts +3 -0
- package/radio/examples/basic-radio/basic-radio.module.d.ts +7 -0
- package/radio/examples/daffodil-design-radio-examples.d.ts +1 -2
- package/radio/examples/package.json +5 -6
- package/src/atoms/button/README.md +53 -0
- package/src/atoms/container/README.md +18 -0
- package/src/atoms/form/README.md +0 -0
- package/src/atoms/form/checkbox/README.md +0 -0
- package/src/atoms/form/checkbox-set/README.md +0 -0
- package/src/atoms/form/error-message/README.md +11 -0
- package/src/atoms/form/form-field/README.md +36 -0
- package/src/atoms/form/form-label/README.md +0 -0
- package/src/atoms/form/input/README.md +11 -0
- package/src/atoms/form/quantity-field/README.md +24 -0
- package/src/atoms/form/radio/README.md +55 -0
- package/src/atoms/form/radio-set/README.md +0 -0
- package/src/atoms/form/select/README.md +13 -0
- package/src/atoms/image/README.md +31 -0
- package/src/atoms/loading-icon/README.md +7 -0
- package/src/atoms/progress-indicator/README.md +2 -0
- package/src/molecules/accordion/README.md +21 -0
- package/src/molecules/article/README.md +49 -0
- package/src/molecules/backdrop/README.md +13 -0
- package/src/molecules/button-set/README.md +13 -0
- package/src/molecules/callout/README.md +54 -0
- package/src/molecules/card/README.md +60 -0
- package/src/molecules/feature/README.md +48 -0
- package/src/molecules/hero/README.md +54 -0
- package/src/molecules/image-gallery/README.md +31 -0
- package/src/molecules/image-list/README.md +14 -0
- package/src/molecules/link-set/README.md +44 -0
- package/src/molecules/list/README.md +69 -0
- package/src/molecules/media-gallery/README.md +19 -0
- package/src/molecules/modal/README.md +47 -0
- package/src/molecules/navbar/README.md +41 -0
- package/src/molecules/paginator/README.md +11 -0
- package/src/molecules/qty-dropdown/README.md +0 -0
- package/src/molecules/sidebar/README.md +10 -0
- package/src/scss/README.md +7 -0
- package/accordion/examples/daffodil-design-accordion-examples.metadata.json +0 -1
- package/article/examples/daffodil-design-article-examples.metadata.json +0 -1
- package/bundles/daffodil-design-accordion-examples.umd.js +0 -91
- package/bundles/daffodil-design-accordion-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-accordion-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-accordion-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-article-examples.umd.js +0 -530
- package/bundles/daffodil-design-article-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-article-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-article-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-button-examples.umd.js +0 -298
- package/bundles/daffodil-design-button-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-button-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-button-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-callout-examples.umd.js +0 -195
- package/bundles/daffodil-design-callout-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-callout-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-callout-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-card-examples.umd.js +0 -321
- package/bundles/daffodil-design-card-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-card-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-card-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-checkbox-examples.umd.js +0 -123
- package/bundles/daffodil-design-checkbox-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-checkbox-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-container-examples.umd.js +0 -65
- package/bundles/daffodil-design-container-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-container-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-container-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-hero-examples.umd.js +0 -192
- package/bundles/daffodil-design-hero-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-hero-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-hero-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-list-examples.umd.js +0 -509
- package/bundles/daffodil-design-list-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-list-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-list-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-loading-icon-examples.umd.js +0 -94
- package/bundles/daffodil-design-loading-icon-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-loading-icon-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-media-gallery-examples.umd.js +0 -95
- package/bundles/daffodil-design-media-gallery-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-media-gallery-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-modal-examples.umd.js +0 -80
- package/bundles/daffodil-design-modal-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-modal-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-modal-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-navbar-examples.umd.js +0 -177
- package/bundles/daffodil-design-navbar-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-navbar-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-navbar-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-quantity-field-examples.umd.js +0 -183
- package/bundles/daffodil-design-quantity-field-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-quantity-field-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design-radio-examples.umd.js +0 -68
- package/bundles/daffodil-design-radio-examples.umd.js.map +0 -1
- package/bundles/daffodil-design-radio-examples.umd.min.js +0 -2
- package/bundles/daffodil-design-radio-examples.umd.min.js.map +0 -1
- package/bundles/daffodil-design.umd.js +0 -5781
- package/bundles/daffodil-design.umd.js.map +0 -1
- package/bundles/daffodil-design.umd.min.js +0 -16
- package/bundles/daffodil-design.umd.min.js.map +0 -1
- package/button/examples/daffodil-design-button-examples.metadata.json +0 -1
- package/callout/examples/daffodil-design-callout-examples.metadata.json +0 -1
- package/card/examples/daffodil-design-card-examples.metadata.json +0 -1
- package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +0 -1
- package/container/examples/daffodil-design-container-examples.metadata.json +0 -1
- package/daffodil-design.metadata.json +0 -1
- package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +0 -12
- package/esm2015/accordion/examples/basic-accordion/basic-accordion.module.js +0 -19
- package/esm2015/accordion/examples/daffodil-design-accordion-examples.js +0 -7
- package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +0 -12
- package/esm2015/accordion/examples/nav-accordion/nav-accordion.module.js +0 -19
- package/esm2015/accordion/examples/public_api.js +0 -9
- package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +0 -12
- package/esm2015/article/examples/article-code-block/article-code-block.component.js +0 -12
- package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +0 -12
- package/esm2015/article/examples/article-examples.module.js +0 -21
- package/esm2015/article/examples/article-headings/article-headings.component.js +0 -12
- package/esm2015/article/examples/article-hr/article-hr.component.js +0 -12
- package/esm2015/article/examples/article-lead/article-lead.component.js +0 -12
- package/esm2015/article/examples/article-link/article-link.component.js +0 -12
- package/esm2015/article/examples/article-meta/article-meta.component.js +0 -12
- package/esm2015/article/examples/article-ol/article-ol.component.js +0 -12
- package/esm2015/article/examples/article-table/article-table.component.js +0 -12
- package/esm2015/article/examples/article-ul/article-ul.component.js +0 -12
- package/esm2015/article/examples/daffodil-design-article-examples.js +0 -6
- package/esm2015/atoms/button/button.component.js +0 -134
- package/esm2015/atoms/button/button.module.js +0 -22
- package/esm2015/atoms/container/container.component.js +0 -46
- package/esm2015/atoms/container/container.module.js +0 -19
- package/esm2015/atoms/form/checkbox/checkbox.component.js +0 -131
- package/esm2015/atoms/form/checkbox/checkbox.module.js +0 -28
- package/esm2015/atoms/form/checkbox/cva/checkbox-cva.directive.js +0 -89
- package/esm2015/atoms/form/checkbox-set/checkbox-set.component.js +0 -34
- package/esm2015/atoms/form/error-message/error-message.component.js +0 -12
- package/esm2015/atoms/form/error-message/error-message.module.js +0 -15
- package/esm2015/atoms/form/form-field/form-field/form-field.component.js +0 -100
- package/esm2015/atoms/form/form-field/form-field.module.js +0 -24
- package/esm2015/atoms/form/input/input.component.js +0 -56
- package/esm2015/atoms/form/input/input.module.js +0 -19
- package/esm2015/atoms/form/quantity-field/quantity-field.component.js +0 -120
- package/esm2015/atoms/form/quantity-field/quantity-field.module.js +0 -31
- package/esm2015/atoms/form/quantity-field/quantity-input/quantity-input.component.js +0 -100
- package/esm2015/atoms/form/quantity-field/quantity-select/quantity-select.component.js +0 -80
- package/esm2015/atoms/form/radio/cva/radio-cva.directive.js +0 -84
- package/esm2015/atoms/form/radio/radio.component.js +0 -122
- package/esm2015/atoms/form/radio/radio.module.js +0 -25
- package/esm2015/atoms/form/radio/registry/radio-registry.js +0 -52
- package/esm2015/atoms/form/radio-set/radio-set.component.js +0 -24
- package/esm2015/atoms/form/select/select/select.component.js +0 -60
- package/esm2015/atoms/form/select/select.module.js +0 -19
- package/esm2015/atoms/image/image.component.js +0 -109
- package/esm2015/atoms/image/image.module.js +0 -22
- package/esm2015/atoms/loading-icon/loading-icon.component.js +0 -59
- package/esm2015/atoms/loading-icon/loading-icon.module.js +0 -19
- package/esm2015/atoms/progress-indicator/animation/progress-indicator-animation.js +0 -8
- package/esm2015/atoms/progress-indicator/progress-indicator.component.js +0 -87
- package/esm2015/atoms/progress-indicator/progress-indicator.module.js +0 -15
- package/esm2015/button/examples/basic-button/basic-button.component.js +0 -23
- package/esm2015/button/examples/basic-button/basic-button.module.js +0 -21
- package/esm2015/button/examples/daffodil-design-button-examples.js +0 -12
- package/esm2015/button/examples/icon-button/icon-button.component.js +0 -22
- package/esm2015/button/examples/icon-button/icon-button.module.js +0 -21
- package/esm2015/button/examples/public_api.js +0 -24
- package/esm2015/button/examples/raised-button/raised-button.component.js +0 -23
- package/esm2015/button/examples/raised-button/raised-button.module.js +0 -21
- package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +0 -21
- package/esm2015/button/examples/sizeable-button/sizeable-button.module.js +0 -21
- package/esm2015/button/examples/statusable-button/statusable-button.component.js +0 -27
- package/esm2015/button/examples/statusable-button/statusable-button.module.js +0 -21
- package/esm2015/button/examples/stroked-button/stroked-button.component.js +0 -23
- package/esm2015/button/examples/stroked-button/stroked-button.module.js +0 -21
- package/esm2015/button/examples/underline-button/underline-button.component.js +0 -23
- package/esm2015/button/examples/underline-button/underline-button.module.js +0 -21
- package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +0 -25
- package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +0 -24
- package/esm2015/callout/examples/callout-theming/callout-theming.component.js +0 -29
- package/esm2015/callout/examples/callout-theming/callout-theming.module.js +0 -23
- package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +0 -17
- package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +0 -24
- package/esm2015/callout/examples/compact-callout/compact-callout.component.js +0 -17
- package/esm2015/callout/examples/compact-callout/compact-callout.module.js +0 -22
- package/esm2015/card/examples/basic-card/basic-card.component.js +0 -17
- package/esm2015/card/examples/basic-card/basic-card.module.js +0 -25
- package/esm2015/card/examples/card-orientation/card-orientation.component.js +0 -24
- package/esm2015/card/examples/card-orientation/card-orientation.module.js +0 -27
- package/esm2015/card/examples/card-theming/card-theming.component.js +0 -31
- package/esm2015/card/examples/card-theming/card-theming.module.js +0 -24
- package/esm2015/card/examples/daffodil-design-card-examples.js +0 -11
- package/esm2015/card/examples/linkable-card/linkable-card.component.js +0 -29
- package/esm2015/card/examples/linkable-card/linkable-card.module.js +0 -27
- package/esm2015/card/examples/public_api.js +0 -21
- package/esm2015/card/examples/raised-card/raised-card.component.js +0 -27
- package/esm2015/card/examples/raised-card/raised-card.module.js +0 -25
- package/esm2015/card/examples/stroked-card/stroked-card.component.js +0 -27
- package/esm2015/card/examples/stroked-card/stroked-card.module.js +0 -27
- package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +0 -25
- package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.module.js +0 -23
- package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +0 -27
- package/esm2015/checkbox/examples/checkbox-set/checkbox-set.module.js +0 -23
- package/esm2015/checkbox/examples/daffodil-design-checkbox-examples.js +0 -9
- package/esm2015/container/examples/container-sizes/container-sizes.component.js +0 -23
- package/esm2015/container/examples/container-sizes/container-sizes.module.js +0 -23
- package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +0 -12
- package/esm2015/core/breakpoints/breakpoints.js +0 -10
- package/esm2015/core/colorable/colorable-mixin.js +0 -43
- package/esm2015/core/colorable/colorable.js +0 -2
- package/esm2015/core/compactable/compactable-mixin.js +0 -26
- package/esm2015/core/compactable/compactable.js +0 -2
- package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +0 -14
- package/esm2015/core/mutable/mutable.js +0 -2
- package/esm2015/core/prefix-suffix/prefix-suffix.module.js +0 -19
- package/esm2015/core/prefix-suffix/prefix.directive.js +0 -20
- package/esm2015/core/prefix-suffix/prefixable/prefixable.js +0 -24
- package/esm2015/core/prefix-suffix/suffix.directive.js +0 -20
- package/esm2015/core/prefix-suffix/suffixable/suffixable.js +0 -24
- package/esm2015/core/public_api.js +0 -13
- package/esm2015/core/sizeable/sizeable-mixin.js +0 -32
- package/esm2015/core/sizeable/sizeable.js +0 -9
- package/esm2015/core/skeletonable/skeletonable.js +0 -2
- package/esm2015/core/statusable/statusable-mixin.js +0 -33
- package/esm2015/core/statusable/statusable.js +0 -7
- package/esm2015/core/text-alignable/text-alignable-mixin.js +0 -36
- package/esm2015/core/text-alignable/text-alignable.js +0 -7
- package/esm2015/daffodil-design.js +0 -15
- package/esm2015/hero/examples/compact-hero/compact-hero.component.js +0 -17
- package/esm2015/hero/examples/compact-hero/compact-hero.module.js +0 -26
- package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +0 -25
- package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +0 -24
- package/esm2015/hero/examples/hero-theming/hero-theming.component.js +0 -20
- package/esm2015/hero/examples/hero-theming/hero-theming.module.js +0 -26
- package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +0 -17
- package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +0 -24
- package/esm2015/list/examples/basic-list/basic-list.component.js +0 -12
- package/esm2015/list/examples/basic-list/basic-list.module.js +0 -21
- package/esm2015/list/examples/daffodil-design-list-examples.js +0 -9
- package/esm2015/list/examples/icon-list/icon-list.component.js +0 -16
- package/esm2015/list/examples/icon-list/icon-list.module.js +0 -23
- package/esm2015/list/examples/list-examples.module.js +0 -24
- package/esm2015/list/examples/multiline-list/multiline-list.component.js +0 -12
- package/esm2015/list/examples/multiline-list/multiline-list.module.js +0 -23
- package/esm2015/list/examples/nav-list/nav-list.component.js +0 -16
- package/esm2015/list/examples/nav-list/nav-list.module.js +0 -23
- package/esm2015/loading-icon/examples/daffodil-design-loading-icon-examples.js +0 -6
- package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +0 -18
- package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.module.js +0 -22
- package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +0 -12
- package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.js +0 -19
- package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +0 -12
- package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.js +0 -21
- package/esm2015/media-gallery/examples/daffodil-design-media-gallery-examples.js +0 -7
- package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +0 -12
- package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.js +0 -21
- package/esm2015/media-gallery/examples/public_api.js +0 -4
- package/esm2015/modal/examples/basic-modal/basic-modal.component.js +0 -24
- package/esm2015/modal/examples/basic-modal/basic-modal.module.js +0 -22
- package/esm2015/modal/examples/basic-modal/modal-content.component.js +0 -12
- package/esm2015/modal/examples/daffodil-design-modal-examples.js +0 -8
- package/esm2015/molecules/accordion/accordion/accordion.component.js +0 -33
- package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +0 -52
- package/esm2015/molecules/accordion/accordion-item-content/accordion-item-content.directive.js +0 -18
- package/esm2015/molecules/accordion/accordion-item-title/accordion-item-title.directive.js +0 -18
- package/esm2015/molecules/accordion/accordion.module.js +0 -35
- package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +0 -72
- package/esm2015/molecules/accordion/public_api.js +0 -6
- package/esm2015/molecules/article/article/article.component.js +0 -30
- package/esm2015/molecules/article/article-lead/article-lead.directive.js +0 -18
- package/esm2015/molecules/article/article-meta/article-meta.directive.js +0 -18
- package/esm2015/molecules/article/article-title/article-title.directive.js +0 -18
- package/esm2015/molecules/article/article.module.js +0 -28
- package/esm2015/molecules/backdrop/backdrop/backdrop.component.js +0 -46
- package/esm2015/molecules/backdrop/backdrop.module.js +0 -22
- package/esm2015/molecules/button-set/button-set.component.js +0 -22
- package/esm2015/molecules/button-set/button-set.module.js +0 -15
- package/esm2015/molecules/callout/callout/callout.component.js +0 -75
- package/esm2015/molecules/callout/callout-body/callout-body.directive.js +0 -18
- package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +0 -18
- package/esm2015/molecules/callout/callout-subtitle/callout-subtitle.directive.js +0 -18
- package/esm2015/molecules/callout/callout-tagline/callout-tagline.directive.js +0 -18
- package/esm2015/molecules/callout/callout-title/callout-title.directive.js +0 -18
- package/esm2015/molecules/callout/callout.module.js +0 -34
- package/esm2015/molecules/card/card/card.component.js +0 -118
- package/esm2015/molecules/card/card-actions/card-actions.directive.js +0 -18
- package/esm2015/molecules/card/card-content/card-content.directive.js +0 -18
- package/esm2015/molecules/card/card-icon/card-icon.directive.js +0 -18
- package/esm2015/molecules/card/card-image/card-image.directive.js +0 -18
- package/esm2015/molecules/card/card-tagline/card-tagline.directive.js +0 -18
- package/esm2015/molecules/card/card-title/card-title.directive.js +0 -18
- package/esm2015/molecules/card/card.module.js +0 -37
- package/esm2015/molecules/feature/feature/feature.component.js +0 -46
- package/esm2015/molecules/feature/feature-icon/feature-icon.directive.js +0 -18
- package/esm2015/molecules/feature/feature-subheader/feature-subheader.directive.js +0 -18
- package/esm2015/molecules/feature/feature-subtitle/feature-subtitle.directive.js +0 -18
- package/esm2015/molecules/feature/feature-title/feature-title.directive.js +0 -18
- package/esm2015/molecules/feature/feature.module.js +0 -31
- package/esm2015/molecules/hero/hero/hero.component.js +0 -76
- package/esm2015/molecules/hero/hero-body/hero-body.directive.js +0 -18
- package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +0 -18
- package/esm2015/molecules/hero/hero-subtitle/hero-subtitle.directive.js +0 -18
- package/esm2015/molecules/hero/hero-tagline/hero-tagline.directive.js +0 -18
- package/esm2015/molecules/hero/hero-title/hero-title.directive.js +0 -18
- package/esm2015/molecules/hero/hero.module.js +0 -34
- package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +0 -21
- package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +0 -16
- package/esm2015/molecules/image-gallery/image-gallery.module.js +0 -24
- package/esm2015/molecules/image-list/image-list.component.js +0 -22
- package/esm2015/molecules/image-list/image-list.module.js +0 -19
- package/esm2015/molecules/link-set/link-set/link-set.component.js +0 -44
- package/esm2015/molecules/link-set/link-set-heading/link-set-heading.directive.js +0 -21
- package/esm2015/molecules/link-set/link-set-item/link-set-item.component.js +0 -22
- package/esm2015/molecules/link-set/link-set-subheading/link-set-subheading.directive.js +0 -21
- package/esm2015/molecules/link-set/link-set.module.js +0 -28
- package/esm2015/molecules/list/list/list.component.js +0 -106
- package/esm2015/molecules/list/list-item/list-item.component.js +0 -46
- package/esm2015/molecules/list/list-subheader/list-subheader.directive.js +0 -21
- package/esm2015/molecules/list/list.module.js +0 -28
- package/esm2015/molecules/media-gallery/media-gallery-registration.interface.js +0 -2
- package/esm2015/molecules/media-gallery/media-gallery.component.js +0 -61
- package/esm2015/molecules/media-gallery/media-gallery.module.js +0 -24
- package/esm2015/molecules/media-gallery/media-renderer/media-renderer.component.js +0 -78
- package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +0 -86
- package/esm2015/molecules/media-gallery/thumbnail/thumbnail-registration.interface.js +0 -2
- package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +0 -79
- package/esm2015/molecules/modal/animations/modal-animation.js +0 -9
- package/esm2015/molecules/modal/modal/modal.component.js +0 -73
- package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +0 -12
- package/esm2015/molecules/modal/modal-content/modal-content.component.js +0 -12
- package/esm2015/molecules/modal/modal-header/modal-header.component.js +0 -22
- package/esm2015/molecules/modal/modal-title/modal-title.directive.js +0 -18
- package/esm2015/molecules/modal/modal.js +0 -2
- package/esm2015/molecules/modal/modal.module.js +0 -34
- package/esm2015/molecules/modal/service/modal.service.js +0 -73
- package/esm2015/molecules/navbar/navbar.component.js +0 -58
- package/esm2015/molecules/navbar/navbar.module.js +0 -15
- package/esm2015/molecules/paginator/paginator.component.js +0 -161
- package/esm2015/molecules/paginator/paginator.module.js +0 -23
- package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +0 -110
- package/esm2015/molecules/qty-dropdown/qty-dropdown.module.js +0 -27
- package/esm2015/molecules/sidebar/animation/sidebar-animation.js +0 -30
- package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +0 -50
- package/esm2015/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.js +0 -117
- package/esm2015/molecules/sidebar/sidebar.module.js +0 -26
- package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +0 -13
- package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +0 -20
- package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +0 -13
- package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +0 -20
- package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +0 -27
- package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +0 -21
- package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +0 -13
- package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +0 -19
- package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +0 -17
- package/esm2015/quantity-field/examples/basic/basic-quantity-field.module.js +0 -24
- package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +0 -17
- package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.module.js +0 -24
- package/esm2015/quantity-field/examples/daffodil-design-quantity-field-examples.js +0 -9
- package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +0 -17
- package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.module.js +0 -24
- package/esm2015/quantity-field/examples/examples.js +0 -11
- package/esm2015/quantity-field/examples/public_api.js +0 -6
- package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +0 -17
- package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.module.js +0 -24
- package/esm2015/radio/examples/basic-radio/basic-radio.component.js +0 -22
- package/esm2015/radio/examples/basic-radio/basic-radio.module.js +0 -22
- package/esm2015/radio/examples/daffodil-design-radio-examples.js +0 -7
- package/fesm2015/daffodil-design-accordion-examples.js +0 -68
- package/fesm2015/daffodil-design-accordion-examples.js.map +0 -1
- package/fesm2015/daffodil-design-article-examples.js +0 -162
- package/fesm2015/daffodil-design-article-examples.js.map +0 -1
- package/fesm2015/daffodil-design-button-examples.js +0 -288
- package/fesm2015/daffodil-design-button-examples.js.map +0 -1
- package/fesm2015/daffodil-design-callout-examples.js +0 -168
- package/fesm2015/daffodil-design-callout-examples.js.map +0 -1
- package/fesm2015/daffodil-design-card-examples.js +0 -287
- package/fesm2015/daffodil-design-card-examples.js.map +0 -1
- package/fesm2015/daffodil-design-checkbox-examples.js +0 -104
- package/fesm2015/daffodil-design-checkbox-examples.js.map +0 -1
- package/fesm2015/daffodil-design-container-examples.js +0 -54
- package/fesm2015/daffodil-design-container-examples.js.map +0 -1
- package/fesm2015/daffodil-design-hero-examples.js +0 -165
- package/fesm2015/daffodil-design-hero-examples.js.map +0 -1
- package/fesm2015/daffodil-design-list-examples.js +0 -157
- package/fesm2015/daffodil-design-list-examples.js.map +0 -1
- package/fesm2015/daffodil-design-loading-icon-examples.js +0 -76
- package/fesm2015/daffodil-design-loading-icon-examples.js.map +0 -1
- package/fesm2015/daffodil-design-media-gallery-examples.js +0 -72
- package/fesm2015/daffodil-design-media-gallery-examples.js.map +0 -1
- package/fesm2015/daffodil-design-modal-examples.js +0 -63
- package/fesm2015/daffodil-design-modal-examples.js.map +0 -1
- package/fesm2015/daffodil-design-navbar-examples.js +0 -142
- package/fesm2015/daffodil-design-navbar-examples.js.map +0 -1
- package/fesm2015/daffodil-design-quantity-field-examples.js +0 -154
- package/fesm2015/daffodil-design-quantity-field-examples.js.map +0 -1
- package/fesm2015/daffodil-design-radio-examples.js +0 -55
- package/fesm2015/daffodil-design-radio-examples.js.map +0 -1
- package/fesm2015/daffodil-design.js +0 -4776
- package/fesm2015/daffodil-design.js.map +0 -1
- package/hero/examples/daffodil-design-hero-examples.metadata.json +0 -1
- package/list/examples/daffodil-design-list-examples.metadata.json +0 -1
- package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +0 -1
- package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +0 -1
- package/modal/examples/daffodil-design-modal-examples.metadata.json +0 -1
- package/navbar/examples/daffodil-design-navbar-examples.metadata.json +0 -1
- package/quantity-field/examples/basic/basic-quantity-field.component.d.ts +0 -4
- package/quantity-field/examples/basic/basic-quantity-field.module.d.ts +0 -2
- package/quantity-field/examples/customRange/custom-range-quantity-field.component.d.ts +0 -4
- package/quantity-field/examples/customRange/custom-range-quantity-field.module.d.ts +0 -2
- package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +0 -1
- package/quantity-field/examples/disabled/disabled-quantity-field.component.d.ts +0 -4
- package/quantity-field/examples/disabled/disabled-quantity-field.module.d.ts +0 -2
- package/quantity-field/examples/examples.d.ts +0 -2
- package/quantity-field/examples/selectMax/select-max-quantity-field.component.d.ts +0 -4
- package/quantity-field/examples/selectMax/select-max-quantity-field.module.d.ts +0 -2
- package/radio/examples/daffodil-design-radio-examples.metadata.json +0 -1
@@ -0,0 +1,20 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { DaffNavbarComponent } from './navbar.component';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class DaffNavbarModule {
|
5
|
+
}
|
6
|
+
/** @nocollapse */ /** @nocollapse */ DaffNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
7
|
+
/** @nocollapse */ /** @nocollapse */ DaffNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule, declarations: [DaffNavbarComponent], exports: [DaffNavbarComponent] });
|
8
|
+
/** @nocollapse */ /** @nocollapse */ DaffNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule });
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule, decorators: [{
|
10
|
+
type: NgModule,
|
11
|
+
args: [{
|
12
|
+
declarations: [
|
13
|
+
DaffNavbarComponent,
|
14
|
+
],
|
15
|
+
exports: [
|
16
|
+
DaffNavbarComponent,
|
17
|
+
],
|
18
|
+
}]
|
19
|
+
}] });
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbmF2YmFyL25hdmJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFVekQsTUFBTSxPQUFPLGdCQUFnQjs7bUpBQWhCLGdCQUFnQjtvSkFBaEIsZ0JBQWdCLGlCQU56QixtQkFBbUIsYUFHbkIsbUJBQW1CO29KQUdWLGdCQUFnQjsyRkFBaEIsZ0JBQWdCO2tCQVI1QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixtQkFBbUI7cUJBQ3BCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxtQkFBbUI7cUJBQ3BCO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgRGFmZk5hdmJhckNvbXBvbmVudCB9IGZyb20gJy4vbmF2YmFyLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZOYXZiYXJDb21wb25lbnQsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmTmF2YmFyQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmTmF2YmFyTW9kdWxlIHsgfVxuIl19
|
File without changes
|
File without changes
|
@@ -0,0 +1,159 @@
|
|
1
|
+
import { Component, Input, Output, EventEmitter, HostBinding, ElementRef, ChangeDetectionStrategy, Renderer2, } from '@angular/core';
|
2
|
+
import { faChevronRight, faChevronLeft, } from '@fortawesome/free-solid-svg-icons';
|
3
|
+
import { daffColorMixin, } from '../../core/colorable/public_api';
|
4
|
+
import { DaffPaginatorNumberOfPagesErrorMessage, DaffPaginatorPageOutOfRangeErrorMessage, } from './paginator-errors';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@fortawesome/angular-fontawesome";
|
7
|
+
import * as i2 from "@angular/common";
|
8
|
+
/**
|
9
|
+
* An _elementRef and an instance of renderer2 are needed for the Colorable mixin
|
10
|
+
*/
|
11
|
+
class DaffPaginatorBase {
|
12
|
+
constructor(_elementRef, _renderer) {
|
13
|
+
this._elementRef = _elementRef;
|
14
|
+
this._renderer = _renderer;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
const _daffPaginatorBase = daffColorMixin(DaffPaginatorBase);
|
18
|
+
const visiblePageRange = 2;
|
19
|
+
/**
|
20
|
+
* @inheritdoc
|
21
|
+
*/
|
22
|
+
export class DaffPaginatorComponent extends _daffPaginatorBase {
|
23
|
+
constructor(elementRef, renderer) {
|
24
|
+
super(elementRef, renderer);
|
25
|
+
this.elementRef = elementRef;
|
26
|
+
this.renderer = renderer;
|
27
|
+
/**
|
28
|
+
* @docs-private
|
29
|
+
*/
|
30
|
+
this.class = true;
|
31
|
+
/**
|
32
|
+
* @docs-private
|
33
|
+
*/
|
34
|
+
this.role = 'navigation';
|
35
|
+
/**
|
36
|
+
* @docs-private
|
37
|
+
*/
|
38
|
+
this.faChevronRight = faChevronRight;
|
39
|
+
/**
|
40
|
+
* @docs-private
|
41
|
+
*/
|
42
|
+
this.faChevronLeft = faChevronLeft;
|
43
|
+
/**
|
44
|
+
* Emits when the current page changes with the new current page.
|
45
|
+
*/
|
46
|
+
this.notifyPageChange = new EventEmitter();
|
47
|
+
const ariaLabel = elementRef.nativeElement.attributes['aria-label'];
|
48
|
+
this._paginatorId = ariaLabel ? ariaLabel.nodeValue : null;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* @docs-private
|
52
|
+
*/
|
53
|
+
ngOnChanges() {
|
54
|
+
if (this.numberOfPages < 1) {
|
55
|
+
throw new Error(DaffPaginatorNumberOfPagesErrorMessage);
|
56
|
+
}
|
57
|
+
else if (this.numberOfPages < this.currentPage) {
|
58
|
+
throw new Error(DaffPaginatorPageOutOfRangeErrorMessage);
|
59
|
+
}
|
60
|
+
this._numberOfPagesArray = this.numberOfPages < 2 ? [] : Array(this.numberOfPages - 2).fill(this.numberOfPages - 2).map((x, i) => i + 2);
|
61
|
+
}
|
62
|
+
/**
|
63
|
+
* Emits the previous page number through notifyPageChange Output.
|
64
|
+
*
|
65
|
+
* @docs-private
|
66
|
+
*/
|
67
|
+
_onNotifyPrevPageChange() {
|
68
|
+
this.notifyPageChange.emit(this.currentPage - 1);
|
69
|
+
}
|
70
|
+
/**
|
71
|
+
* Emits the next page number through notifyPageChange Output.
|
72
|
+
*
|
73
|
+
* @docs-private
|
74
|
+
*/
|
75
|
+
_onNotifyNextPageChange() {
|
76
|
+
this.notifyPageChange.emit(this.currentPage + 1);
|
77
|
+
}
|
78
|
+
/**
|
79
|
+
* Emits a pageNumber to notifyPageChange Output.
|
80
|
+
*
|
81
|
+
* @docs-private
|
82
|
+
* @param pageNumber a page number
|
83
|
+
*/
|
84
|
+
_onNotifyPageChange(pageNumber) {
|
85
|
+
this.notifyPageChange.emit(pageNumber);
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* A simple function that determines if the given page number is the current page number.
|
89
|
+
*
|
90
|
+
* @docs-private
|
91
|
+
* @param page a page number
|
92
|
+
*/
|
93
|
+
_isSelected(page) {
|
94
|
+
return page === this.currentPage;
|
95
|
+
}
|
96
|
+
/**
|
97
|
+
* Determines when ellipsis after the first page number should show.
|
98
|
+
*
|
99
|
+
* @docs-private
|
100
|
+
*/
|
101
|
+
_showFirstEllipsis() {
|
102
|
+
return this.currentPage >= visiblePageRange + 2;
|
103
|
+
}
|
104
|
+
/**
|
105
|
+
* Determines when ellipsis before the final page number should show.
|
106
|
+
*
|
107
|
+
* @docs-private
|
108
|
+
*/
|
109
|
+
_showLastEllipsis() {
|
110
|
+
return this.currentPage < (this.numberOfPages - visiblePageRange);
|
111
|
+
}
|
112
|
+
/**
|
113
|
+
* Determines if the given page number should be shown. The two additional 'or' conditionals are needed
|
114
|
+
* so the paginator retains the same total width at the extreme page numbers (1 and numberOfPages).
|
115
|
+
*
|
116
|
+
* @docs-private
|
117
|
+
* @param pageNumber page number to check.
|
118
|
+
*/
|
119
|
+
_showNumber(pageNumber) {
|
120
|
+
return Math.abs(this.currentPage - pageNumber) < visiblePageRange
|
121
|
+
|| (this.currentPage <= visiblePageRange && pageNumber <= 2 * visiblePageRange)
|
122
|
+
|| (this.currentPage > this.numberOfPages - visiblePageRange && pageNumber > this.numberOfPages - 2 * visiblePageRange);
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* Determines when the Previous button should be disabled.
|
126
|
+
*
|
127
|
+
* @docs-private
|
128
|
+
*/
|
129
|
+
_disablePrev() {
|
130
|
+
return this.currentPage === 1;
|
131
|
+
}
|
132
|
+
/**
|
133
|
+
* Determines when the Next button should be disabled.
|
134
|
+
*
|
135
|
+
* @docs-private
|
136
|
+
*/
|
137
|
+
_disableNext() {
|
138
|
+
return this.currentPage === this.numberOfPages;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
/** @nocollapse */ /** @nocollapse */ DaffPaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
142
|
+
/** @nocollapse */ /** @nocollapse */ DaffPaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffPaginatorComponent, selector: "daff-paginator", inputs: { color: "color", numberOfPages: "numberOfPages", currentPage: "currentPage" }, outputs: { notifyPageChange: "notifyPageChange" }, host: { properties: { "class.daff-paginator": "this.class", "attr.role": "this.role" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<button type=\"button\" class=\"daff-paginator__previous\"\n [disabled]=\"_disablePrev()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Previous Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPrevPageChange()\">\n <fa-icon [icon]=\"faChevronLeft\"></fa-icon> Previous\n</button>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(1)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page 1 of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(1)\">\n 1\n</button>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showFirstEllipsis()\">...</span>\n\n<ng-container *ngFor=\"let pageNumber of _numberOfPagesArray\">\n <button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(pageNumber)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page {{pageNumber}} of {{_paginatorId}} Paginator\"\n aria-current=\"_isSelected(pageNumber)\"\n *ngIf=\"_showNumber(pageNumber)\"\n (click)=\"_onNotifyPageChange(pageNumber)\">\n {{ pageNumber }}\n </button>\n</ng-container>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showLastEllipsis()\">...</span>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(numberOfPages)\"\n tabindex=\"0\"\n attr.aria-label=\"Go To Page {{numberOfPages}} of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(numberOfPages)\"\n *ngIf=\"!(numberOfPages < 2)\">\n {{ numberOfPages }}\n</button>\n\n<button class=\"daff-paginator__next\"\n [disabled]=\"_disableNext()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Next Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyNextPageChange()\">\n Next <fa-icon [icon]=\"faChevronRight\"></fa-icon>\n</button>\n", styles: [":host{display:flex}.daff-paginator__previous,.daff-paginator__next{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;display:flex;line-height:1em;padding:5px 10px}.daff-paginator__previous fa-icon{margin-right:10px}.daff-paginator__next fa-icon{margin-left:10px}.daff-paginator__ellipsis{padding:5px 10px}.daff-paginator__page-link{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;display:inline-block;margin:0 5px;padding:5px 10px;transition:background .15s ease}\n"], components: [{ type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorComponent, decorators: [{
|
144
|
+
type: Component,
|
145
|
+
args: [{ selector: 'daff-paginator', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button type=\"button\" class=\"daff-paginator__previous\"\n [disabled]=\"_disablePrev()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Previous Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPrevPageChange()\">\n <fa-icon [icon]=\"faChevronLeft\"></fa-icon> Previous\n</button>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(1)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page 1 of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(1)\">\n 1\n</button>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showFirstEllipsis()\">...</span>\n\n<ng-container *ngFor=\"let pageNumber of _numberOfPagesArray\">\n <button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(pageNumber)\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Page {{pageNumber}} of {{_paginatorId}} Paginator\"\n aria-current=\"_isSelected(pageNumber)\"\n *ngIf=\"_showNumber(pageNumber)\"\n (click)=\"_onNotifyPageChange(pageNumber)\">\n {{ pageNumber }}\n </button>\n</ng-container>\n\n<span class=\"daff-paginator__ellipsis\" *ngIf=\"_showLastEllipsis()\">...</span>\n\n<button type=\"button\" class=\"daff-paginator__page-link\"\n [class.selected]=\"_isSelected(numberOfPages)\"\n tabindex=\"0\"\n attr.aria-label=\"Go To Page {{numberOfPages}} of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyPageChange(numberOfPages)\"\n *ngIf=\"!(numberOfPages < 2)\">\n {{ numberOfPages }}\n</button>\n\n<button class=\"daff-paginator__next\"\n [disabled]=\"_disableNext()\"\n tabindex=\"0\"\n attr.aria-label=\"Go to Next Page of {{_paginatorId}} Paginator\"\n (click)=\"_onNotifyNextPageChange()\">\n Next <fa-icon [icon]=\"faChevronRight\"></fa-icon>\n</button>\n", styles: [":host{display:flex}.daff-paginator__previous,.daff-paginator__next{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;display:flex;line-height:1em;padding:5px 10px}.daff-paginator__previous fa-icon{margin-right:10px}.daff-paginator__next fa-icon{margin-left:10px}.daff-paginator__ellipsis{padding:5px 10px}.daff-paginator__page-link{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;display:inline-block;margin:0 5px;padding:5px 10px;transition:background .15s ease}\n"] }]
|
146
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { class: [{
|
147
|
+
type: HostBinding,
|
148
|
+
args: ['class.daff-paginator']
|
149
|
+
}], role: [{
|
150
|
+
type: HostBinding,
|
151
|
+
args: ['attr.role']
|
152
|
+
}], numberOfPages: [{
|
153
|
+
type: Input
|
154
|
+
}], currentPage: [{
|
155
|
+
type: Input
|
156
|
+
}], notifyPageChange: [{
|
157
|
+
type: Output
|
158
|
+
}] } });
|
159
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcGFnaW5hdG9yL3BhZ2luYXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3BhZ2luYXRvci9wYWdpbmF0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBQ0wsTUFBTSxFQUNOLFlBQVksRUFDWixXQUFXLEVBQ1gsVUFBVSxFQUVWLHVCQUF1QixFQUN2QixTQUFTLEdBRVYsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLGNBQWMsRUFDZCxhQUFhLEdBQ2QsTUFBTSxtQ0FBbUMsQ0FBQztBQUUzQyxPQUFPLEVBQ0wsY0FBYyxHQUdmLE1BQU0saUNBQWlDLENBQUM7QUFDekMsT0FBTyxFQUNMLHNDQUFzQyxFQUN0Qyx1Q0FBdUMsR0FDeEMsTUFBTSxvQkFBb0IsQ0FBQzs7OztBQUU1Qjs7R0FFRztBQUNILE1BQU0saUJBQWlCO0lBQ3JCLFlBQW1CLFdBQXVCLEVBQVMsU0FBb0I7UUFBcEQsZ0JBQVcsR0F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hbmdlKClcIj5cbiAgTmV4dCA8ZmEtaWNvbiBbaWNvbl09XCJmYUNoZXZyb25SaWdodFwiPjwvZmEtaWNvbj5cbjwvYnV0dG9uPlxuIl19
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
4
|
+
import { DaffButtonModule } from '../../atoms/button/public_api';
|
5
|
+
import { DaffPaginatorComponent } from './paginator.component';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export class DaffPaginatorModule {
|
8
|
+
}
|
9
|
+
/** @nocollapse */ /** @nocollapse */ DaffPaginatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10
|
+
/** @nocollapse */ /** @nocollapse */ DaffPaginatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, declarations: [DaffPaginatorComponent], imports: [CommonModule,
|
11
|
+
FontAwesomeModule,
|
12
|
+
DaffButtonModule], exports: [DaffPaginatorComponent] });
|
13
|
+
/** @nocollapse */ /** @nocollapse */ DaffPaginatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, imports: [[
|
14
|
+
CommonModule,
|
15
|
+
FontAwesomeModule,
|
16
|
+
DaffButtonModule,
|
17
|
+
]] });
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaginatorModule, decorators: [{
|
19
|
+
type: NgModule,
|
20
|
+
args: [{
|
21
|
+
imports: [
|
22
|
+
CommonModule,
|
23
|
+
FontAwesomeModule,
|
24
|
+
DaffButtonModule,
|
25
|
+
],
|
26
|
+
declarations: [
|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9BQU8sRUFBRTt3QkFDUCxzQkFBc0I7cUJBQ3ZCO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb250QXdlc29tZU1vZHVsZSB9IGZyb20gJ0Bmb3J0YXdlc29tZS9hbmd1bGFyLWZvbnRhd2Vzb21lJztcblxuaW1wb3J0IHsgRGFmZkJ1dHRvbk1vZHVsZSB9IGZyb20gJy4uLy4uL2F0b21zL2J1dHRvbi9wdWJsaWNfYXBpJztcbmltcG9ydCB7IERhZmZQYWdpbmF0b3JDb21wb25lbnQgfSBmcm9tICcuL3BhZ2luYXRvci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIEZvbnRBd2Vzb21lTW9kdWxlLFxuICAgIERhZmZCdXR0b25Nb2R1bGUsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZQYWdpbmF0b3JDb21wb25lbnQsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmUGFnaW5hdG9yQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmUGFnaW5hdG9yTW9kdWxlIHt9XG4iXX0=
|
package/{esm2015/molecules/paginator/public_api.js → esm2020/molecules/paginator/public_api.mjs}
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,115 @@
|
|
1
|
+
import { Component, Input, Renderer2, Output, EventEmitter, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "../../atoms/form/form-field/form-field/form-field.component";
|
4
|
+
import * as i2 from "../../atoms/form/select/select/select.component";
|
5
|
+
import * as i3 from "../../atoms/form/input/input.component";
|
6
|
+
import * as i4 from "@angular/common";
|
7
|
+
import * as i5 from "@angular/forms";
|
8
|
+
/**
|
9
|
+
* @deprecated See {@link DaffQuantityFieldComponent}
|
10
|
+
*/
|
11
|
+
// ChangeDetection is ignored because this component is deprecated and will be removed
|
12
|
+
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
13
|
+
export class DaffQtyDropdownComponent {
|
14
|
+
constructor(renderer) {
|
15
|
+
this.renderer = renderer;
|
16
|
+
this.dropdownRange = 9;
|
17
|
+
this.qtyChanged = new EventEmitter();
|
18
|
+
/**
|
19
|
+
* @docs-private
|
20
|
+
*/
|
21
|
+
this.onChange = (qty) => { };
|
22
|
+
/**
|
23
|
+
* @docs-private
|
24
|
+
*/
|
25
|
+
this.onTouched = () => { };
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* @docs-private
|
29
|
+
*/
|
30
|
+
ngOnInit() {
|
31
|
+
this.dropdownItemCounter = Array.from(Array(this.dropdownRange), (x, i) => i);
|
32
|
+
if (!this.qty) {
|
33
|
+
this.qty = 1;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* @docs-private
|
38
|
+
*/
|
39
|
+
writeValue(qty) {
|
40
|
+
this.qty = qty;
|
41
|
+
this.onChange(this.qty);
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* @docs-private
|
45
|
+
*/
|
46
|
+
registerOnChange(fn) {
|
47
|
+
this.onChange = fn;
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* @docs-private
|
51
|
+
*/
|
52
|
+
registerOnTouched(fn) {
|
53
|
+
this.onTouched = fn;
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* @docs-private
|
57
|
+
*/
|
58
|
+
setDisabledState(isDisabled) {
|
59
|
+
if (this.inputHasBeenShown) {
|
60
|
+
this.renderer.setProperty(document.getElementById('input_' + this.id), 'disabled', isDisabled);
|
61
|
+
}
|
62
|
+
else {
|
63
|
+
this.renderer.setProperty(document.getElementById('select_' + this.id), 'disabled', isDisabled);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* @docs-private
|
68
|
+
*/
|
69
|
+
get showQtyInputField() {
|
70
|
+
if (!this.isQtyOutsideDropdownRange() && !this.inputHasBeenShown) {
|
71
|
+
return false;
|
72
|
+
}
|
73
|
+
else {
|
74
|
+
this.inputHasBeenShown = true;
|
75
|
+
return true;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
/**
|
79
|
+
* @docs-private
|
80
|
+
*/
|
81
|
+
onChangedWrapper(value) {
|
82
|
+
value = parseInt(value, 10);
|
83
|
+
if (value === 10) {
|
84
|
+
this.selectInput();
|
85
|
+
}
|
86
|
+
this.qtyChanged.emit(value);
|
87
|
+
this.onChange(value);
|
88
|
+
}
|
89
|
+
isQtyOutsideDropdownRange() {
|
90
|
+
return this.qty > this.dropdownRange;
|
91
|
+
}
|
92
|
+
selectInput() {
|
93
|
+
// TODO: readdress this method
|
94
|
+
// why are we binding `this`?
|
95
|
+
// why use `setTimeout` instead of angular patterns?
|
96
|
+
const that = this;
|
97
|
+
setTimeout(() => {
|
98
|
+
const input = document.getElementById('input_' + that.id);
|
99
|
+
input?.select();
|
100
|
+
});
|
101
|
+
}
|
102
|
+
}
|
103
|
+
/** @nocollapse */ /** @nocollapse */ DaffQtyDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
104
|
+
/** @nocollapse */ /** @nocollapse */ DaffQtyDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffQtyDropdownComponent, selector: "daff-qty-dropdown", inputs: { qty: "qty", id: "id" }, outputs: { qtyChanged: "qtyChanged" }, ngImport: i0, template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"], components: [{ type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { type: i2.DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { type: i3.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownComponent, decorators: [{
|
106
|
+
type: Component,
|
107
|
+
args: [{ selector: 'daff-qty-dropdown', template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"] }]
|
108
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { qty: [{
|
109
|
+
type: Input
|
110
|
+
}], id: [{
|
111
|
+
type: Input
|
112
|
+
}], qtyChanged: [{
|
113
|
+
type: Output
|
114
|
+
}] } });
|
115
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXR5LWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcXR5LWRyb3Bkb3duL3F0eS1kcm9wZG93bi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3F0eS1kcm9wZG93bi9xdHktZHJvcGRvd24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFFVCxLQUFLLEVBQ0wsU0FBUyxFQUNULE1BQU0sRUFDTixZQUFZLEdBQ2IsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7QUFFdkI7O0dBRUc7QUFD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25zdCBpbnB1dCA9IDxIVE1MSW5wdXRFbGVtZW50PmRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdpbnB1dF8nICsgdGhhdC5pZCk7XG4gICAgICBpbnB1dD8uc2VsZWN0KCk7XG4gICAgfSk7XG4gIH1cbn1cbiIsIjxkYWZmLWZvcm0tZmllbGQgY2xhc3M9XCJkYWZmLXF0eS1kcm9wZG93blwiPlxuICA8c2VsZWN0IGRhZmYtbmF0aXZlLXNlbGVjdCAqbmdJZj1cIiFzaG93UXR5SW5wdXRGaWVsZFwiIGlkPVwic2VsZWN0X3t7aWR9fVwiIFsobmdNb2RlbCldPVwicXR5XCIgKG5nTW9kZWxDaGFuZ2UpPVwib25DaGFuZ2VkV3JhcHBlcihxdHkpXCIgKGJsdXIpPVwib25Ub3VjaGVkKClcIj5cbiAgICA8b3B0aW9uICpuZ0Zvcj1cImxldCBpdGVtIG9mIGRyb3Bkb3duSXRlbUNvdW50ZXJcIiBbdmFsdWVdPVwiaXRlbSsxXCI+e3sgaXRlbSsxIH19PC9vcHRpb24+XG4gICAgPG9wdGlvbiB2YWx1ZT1cIjEwXCI+MTArPC9vcHRpb24+XG4gIDwvc2VsZWN0PlxuICA8aW5wdXQgZGFmZi1pbnB1dCBpZD1cImlucHV0X3t7aWR9fVwiIGNsYXNzPVwiZGFmZi1xdHktZHJvcGRvd25fX2lucHV0XCIgWyhuZ01vZGVsKV09XCJxdHlcIiAobmdNb2RlbENoYW5nZSk9XCJvbkNoYW5nZWRXcmFwcGVyKHF0eSlcIiAoYmx1cik9XCJvblRvdWNoZWQoKVwiICpuZ0lmPVwic2hvd1F0eUlucHV0RmllbGRcIj5cbjwvZGFmZi1mb3JtLWZpZWxkPiJdfQ==
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { FormsModule } from '@angular/forms';
|
4
|
+
import { DaffFormFieldModule } from '../../atoms/form/form-field/form-field.module';
|
5
|
+
import { DaffInputModule } from '../../atoms/form/input/input.module';
|
6
|
+
import { DaffNativeSelectModule } from '../../atoms/form/select/select.module';
|
7
|
+
import { DaffQtyDropdownComponent } from './qty-dropdown.component';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
export class DaffQtyDropdownModule {
|
10
|
+
}
|
11
|
+
/** @nocollapse */ /** @nocollapse */ DaffQtyDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
+
/** @nocollapse */ /** @nocollapse */ DaffQtyDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, declarations: [DaffQtyDropdownComponent], imports: [CommonModule,
|
13
|
+
FormsModule,
|
14
|
+
DaffFormFieldModule,
|
15
|
+
DaffNativeSelectModule,
|
16
|
+
DaffInputModule], exports: [DaffQtyDropdownComponent] });
|
17
|
+
/** @nocollapse */ /** @nocollapse */ DaffQtyDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, imports: [[
|
18
|
+
CommonModule,
|
19
|
+
FormsModule,
|
20
|
+
DaffFormFieldModule,
|
21
|
+
DaffNativeSelectModule,
|
22
|
+
DaffInputModule,
|
23
|
+
]] });
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQtyDropdownModule, decorators: [{
|
25
|
+
type: NgModule,
|
26
|
+
args: [{
|
27
|
+
imports: [
|
28
|
+
CommonModule,
|
29
|
+
FormsModule,
|
30
|
+
DaffFormFieldModule,
|
31
|
+
DaffNativeSelectModule,
|
32
|
+
DaffInputModule,
|
33
|
+
],
|
34
|
+
declarations: [
|
35
|
+
DaffQtyDropdownComponent,
|
36
|
+
],
|
37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xuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBEYWZmUXR5RHJvcGRvd25Db21wb25lbnQsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmUXR5RHJvcGRvd25Db21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZRdHlEcm9wZG93bk1vZHVsZSB7IH1cbiJdfQ==
|
File without changes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { animate, state, style, transition, trigger, } from '@angular/animations';
|
2
|
+
const duration = '350ms';
|
3
|
+
const sidebarAnimateRemainTransition = 'cubic-bezier(0.4, 0.0, 0.2, 1)';
|
4
|
+
const sidebarAnimateInTransition = 'cubic-bezier(0.0, 0.0, 0.2, 1)';
|
5
|
+
const sidebarAnimateOutTransition = 'cubic-bezier(0.4, 0.0, 1, 1)';
|
6
|
+
export const daffSidebarAnimations = {
|
7
|
+
transformSidebar: trigger('transformSidebar', [
|
8
|
+
// We remove the `transform` here completely, rather than setting it to zero, because:
|
9
|
+
// 1. 3d transforms causes text to appear blurry on IE and Edge.
|
10
|
+
state('open', style({
|
11
|
+
transform: 'none',
|
12
|
+
visibility: 'visible',
|
13
|
+
})),
|
14
|
+
transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),
|
15
|
+
transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),
|
16
|
+
]),
|
17
|
+
transformContent: trigger('transformContent', [
|
18
|
+
state('closed', style({
|
19
|
+
transform: 'none',
|
20
|
+
})),
|
21
|
+
transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),
|
22
|
+
transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),
|
23
|
+
]),
|
24
|
+
};
|
25
|
+
export var DaffSidebarAnimationStates;
|
26
|
+
(function (DaffSidebarAnimationStates) {
|
27
|
+
DaffSidebarAnimationStates["OPEN"] = "open";
|
28
|
+
DaffSidebarAnimationStates["CLOSED"] = "closed";
|
29
|
+
})(DaffS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VkJywgYW5pbWF0ZShkdXJhdGlvbiArICcgJyArIHNpZGViYXJBbmltYXRlT3V0VHJhbnNpdGlvbikpLFxuICAgIHRyYW5zaXRpb24oJ2Nsb3NlZCA9PiBvcGVuJywgYW5pbWF0ZShkdXJhdGlvbiArICcgJyArIHNpZGViYXJBbmltYXRlSW5UcmFuc2l0aW9uKSksXG4gIF0pLFxufTtcblxuZXhwb3J0IGVudW0gRGFmZlNpZGViYXJBbmltYXRpb25TdGF0ZXMge1xuICBPUEVOID0gICdvcGVuJyxcbiAgQ0xPU0VEID0gJ2Nsb3NlZCdcbn1cbiJdfQ==
|
File without changes
|
package/{esm2015/molecules/sidebar/public_api.js → esm2020/molecules/sidebar/public_api.mjs}
RENAMED
File without changes
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { Component, ViewEncapsulation, NgZone, ElementRef, Output, EventEmitter, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
|
2
|
+
import { fromEvent } from 'rxjs';
|
3
|
+
import { filter } from 'rxjs/operators';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* DaffSidebar is heavily based upon the work done by the @angular/material2
|
7
|
+
* team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be
|
8
|
+
* a simplified version (with a different design) of `mat-drawer` which
|
9
|
+
* follows a stricter "dumb" component pattern than `mat-drawer`
|
10
|
+
*/
|
11
|
+
export class DaffSidebarComponent {
|
12
|
+
constructor(_elementRef, _ngZone) {
|
13
|
+
this._elementRef = _elementRef;
|
14
|
+
this._ngZone = _ngZone;
|
15
|
+
this.class = true;
|
16
|
+
/**
|
17
|
+
* Event fired when `ESC` key is pressed when the sidebar has focus
|
18
|
+
*/
|
19
|
+
this.escapePressed = new EventEmitter();
|
20
|
+
/**
|
21
|
+
* Listen to `keydown` events outside the zone so that change detection is not run every
|
22
|
+
* time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
|
23
|
+
*
|
24
|
+
*/
|
25
|
+
this._ngZone.runOutsideAngular(() => {
|
26
|
+
fromEvent(this._elementRef.nativeElement, 'keydown').pipe(filter(event => event.key === 'Escape')).subscribe(event => this._ngZone.run(() => {
|
27
|
+
this.escapePressed.emit();
|
28
|
+
event.stopPropagation();
|
29
|
+
}));
|
30
|
+
});
|
31
|
+
}
|
32
|
+
}
|
33
|
+
/** @nocollapse */ /** @nocollapse */ DaffSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
34
|
+
/** @nocollapse */ /** @nocollapse */ DaffSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarComponent, selector: "daff-sidebar", outputs: { escapePressed: "escapePressed" }, host: { properties: { "class.daff-sidebar": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}.daff-sidebar{display:block;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarComponent, decorators: [{
|
36
|
+
type: Component,
|
37
|
+
args: [{ selector: 'daff-sidebar', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.daff-sidebar{display:block;height:100%}\n"] }]
|
38
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { class: [{
|
39
|
+
type: HostBinding,
|
40
|
+
args: ['class.daff-sidebar']
|
41
|
+
}], escapePressed: [{
|
42
|
+
type: Output
|
43
|
+
}] } });
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb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