@daffodil/design 0.80.0 → 0.81.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/button/button/basic/button.component.d.ts +1 -1
- package/button/button/flat/flat.component.d.ts +1 -1
- package/button/button/icon/icon.component.d.ts +1 -1
- package/button/button/raised/raised.component.d.ts +1 -1
- package/button/button/stroked/stroked.component.d.ts +1 -1
- package/button/button/underline/underline.component.d.ts +1 -1
- package/core/article-encapsulated/article-encapsulated.directive.d.ts +4 -5
- package/core/colorable/colorable.directive.d.ts +28 -18
- package/core/compactable/compactable.directive.d.ts +6 -10
- package/core/focus/stack.service.d.ts +3 -1
- package/core/manage-container-layout/manage-container-layout.directive.d.ts +2 -4
- package/core/openable/openable.directive.d.ts +2 -1
- package/core/sizable/sizable.directive.d.ts +4 -8
- package/core/skeletonable/skeletonable.directive.d.ts +7 -9
- package/core/statusable/statusable.directive.d.ts +4 -8
- package/core/text-alignable/text-alignable.directive.d.ts +9 -12
- package/core/theming/initializer.d.ts +1 -2
- package/fesm2022/daffodil-design-accordion-examples.mjs +4 -4
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-accordion.mjs +13 -13
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article-examples.mjs +40 -40
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +11 -11
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs +4 -4
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +10 -10
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button-examples.mjs +32 -32
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +40 -40
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +16 -16
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +23 -23
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card-examples.mjs +24 -24
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +25 -25
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +8 -8
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container-examples.mjs +4 -4
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +7 -7
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +16 -16
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +23 -23
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-examples.mjs +12 -12
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +7 -7
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input-examples.mjs +16 -16
- package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +17 -17
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list-examples.mjs +16 -16
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +12 -12
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +4 -4
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +7 -7
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +12 -12
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +17 -17
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +8 -8
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +18 -18
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +8 -8
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +27 -27
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +20 -20
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +7 -7
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +20 -20
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +20 -20
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator-examples.mjs +8 -8
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +8 -8
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar-examples.mjs +12 -12
- package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +11 -11
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +16 -16
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio-examples.mjs +4 -4
- package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +18 -18
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +70 -42
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch-examples.mjs +20 -20
- package/fesm2022/daffodil-design-switch-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +9 -6
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs-examples.mjs +33 -17
- package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +69 -25
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet-examples.mjs +4 -4
- package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +5 -4
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast-examples.mjs +16 -16
- package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +26 -27
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree-examples.mjs +8 -8
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +17 -19
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +233 -237
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/media-gallery/README.md +2 -2
- package/navbar/README.md +1 -1
- package/package.json +1 -1
- package/scss/global.scss +1 -1
- package/scss/interactions/mouse/_clickable.scss +1 -0
- package/scss/theming/_theme-css-variables.scss +6 -3
- package/scss/typography/_classes.scss +2 -1
- package/scss/typography/mixins/_font-weight.scss +2 -0
- package/scss/typography/mixins/_sizes.scss +4 -4
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +10 -1
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +13 -11
- package/switch/switch/switch.component.d.ts +5 -2
- package/tabs/README.md +3 -0
- package/tabs/examples/link-tabs/link-tabs.component.d.ts +6 -0
- package/tabs/src/tabs-theme.scss +8 -0
- package/tabs/tabs/tab/tab.component.d.ts +3 -2
- package/tabs/tabs/tab-label/tab-label.component.d.ts +1 -0
- package/tabs/tabs/tab-panel/tab-panel.component.d.ts +1 -0
- package/tabs/tabs/tabs.component.d.ts +31 -6
- package/tree/tree/tree.component.d.ts +1 -2
- package/tree/tree-item/tree-item.directive.d.ts +5 -6
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +0 -15
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +0 -81
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -23
- package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +0 -9
- package/esm2022/accordion/accordion/animation/accordion-animation.mjs +0 -15
- package/esm2022/accordion/accordion.mjs +0 -9
- package/esm2022/accordion/accordion.module.mjs +0 -36
- package/esm2022/accordion/daffodil-design-accordion.mjs +0 -5
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -15
- package/esm2022/accordion/examples/daffodil-design-accordion-examples.mjs +0 -5
- package/esm2022/accordion/examples/examples.mjs +0 -5
- package/esm2022/accordion/examples/index.mjs +0 -2
- package/esm2022/accordion/examples/public_api.mjs +0 -3
- package/esm2022/accordion/index.mjs +0 -2
- package/esm2022/accordion/public_api.mjs +0 -6
- package/esm2022/article/article/article.component.mjs +0 -30
- package/esm2022/article/article-meta/article-meta.directive.mjs +0 -23
- package/esm2022/article/article.mjs +0 -7
- package/esm2022/article/article.module.mjs +0 -31
- package/esm2022/article/daffodil-design-article.mjs +0 -5
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +0 -15
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +0 -15
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +0 -15
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +0 -15
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +0 -15
- package/esm2022/article/examples/article-link/article-link.component.mjs +0 -15
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +0 -15
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +0 -15
- package/esm2022/article/examples/article-table/article-table.component.mjs +0 -15
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +0 -15
- package/esm2022/article/examples/daffodil-design-article-examples.mjs +0 -5
- package/esm2022/article/examples/examples.mjs +0 -23
- package/esm2022/article/examples/index.mjs +0 -2
- package/esm2022/article/examples/public_api.mjs +0 -11
- package/esm2022/article/index.mjs +0 -2
- package/esm2022/article/public_api.mjs +0 -5
- package/esm2022/atoms/form/checkbox/checkbox.component.mjs +0 -142
- package/esm2022/atoms/form/checkbox/checkbox.module.mjs +0 -39
- package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
- package/esm2022/atoms/form/checkbox/public_api.mjs +0 -5
- package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
- package/esm2022/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -6
- package/esm2022/atoms/form/core/public_api.mjs +0 -2
- package/esm2022/atoms/form/error-message/error-message.component.mjs +0 -17
- package/esm2022/atoms/form/error-message/error-message.module.mjs +0 -20
- package/esm2022/atoms/form/error-message/public_api.mjs +0 -3
- package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
- package/esm2022/atoms/form/form-field/form-field-control.mjs +0 -15
- package/esm2022/atoms/form/form-field/form-field-errors.mjs +0 -2
- package/esm2022/atoms/form/form-field/form-field.module.mjs +0 -34
- package/esm2022/atoms/form/form-field/public_api.mjs +0 -4
- package/esm2022/atoms/form/form-label/form-label.directive.mjs +0 -19
- package/esm2022/atoms/form/form-label/form-label.module.mjs +0 -20
- package/esm2022/atoms/form/form-label/public_api.mjs +0 -3
- package/esm2022/atoms/form/input/input.component.mjs +0 -59
- package/esm2022/atoms/form/input/input.module.mjs +0 -24
- package/esm2022/atoms/form/input/public_api.mjs +0 -3
- package/esm2022/atoms/form/native-select/native-select.component.mjs +0 -64
- package/esm2022/atoms/form/native-select/native-select.module.mjs +0 -24
- package/esm2022/atoms/form/native-select/public_api.mjs +0 -3
- package/esm2022/atoms/form/quantity-field/public_api.mjs +0 -5
- package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +0 -137
- package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
- package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
- package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
- package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
- package/esm2022/atoms/form/radio/public_api.mjs +0 -5
- package/esm2022/atoms/form/radio/radio.component.mjs +0 -132
- package/esm2022/atoms/form/radio/radio.module.mjs +0 -34
- package/esm2022/atoms/form/radio/registry/radio-registry.mjs +0 -54
- package/esm2022/atoms/form/radio-set/radio-set.component.mjs +0 -22
- package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +0 -25
- package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +0 -33
- package/esm2022/breadcrumb/breadcrumb.mjs +0 -7
- package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -28
- package/esm2022/breadcrumb/daffodil-design-breadcrumb.mjs +0 -5
- package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +0 -15
- package/esm2022/breadcrumb/examples/daffodil-design-breadcrumb-examples.mjs +0 -5
- package/esm2022/breadcrumb/examples/index.mjs +0 -2
- package/esm2022/breadcrumb/examples/public_api.mjs +0 -5
- package/esm2022/breadcrumb/index.mjs +0 -2
- package/esm2022/breadcrumb/public_api.mjs +0 -5
- package/esm2022/button/button/basic/button.component.mjs +0 -48
- package/esm2022/button/button/button-base.directive.mjs +0 -105
- package/esm2022/button/button/button-sizable.directive.mjs +0 -14
- package/esm2022/button/button/flat/flat.component.mjs +0 -48
- package/esm2022/button/button/icon/icon.component.mjs +0 -44
- package/esm2022/button/button/raised/raised.component.mjs +0 -48
- package/esm2022/button/button/stroked/stroked.component.mjs +0 -48
- package/esm2022/button/button/underline/underline.component.mjs +0 -48
- package/esm2022/button/button.mjs +0 -17
- package/esm2022/button/button.module.mjs +0 -60
- package/esm2022/button/daffodil-design-button.mjs +0 -5
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +0 -21
- package/esm2022/button/examples/daffodil-design-button-examples.mjs +0 -5
- package/esm2022/button/examples/examples.mjs +0 -19
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +0 -21
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +0 -20
- package/esm2022/button/examples/index.mjs +0 -2
- package/esm2022/button/examples/public_api.mjs +0 -10
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +0 -21
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +0 -22
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +0 -24
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +0 -21
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +0 -21
- package/esm2022/button/index.mjs +0 -2
- package/esm2022/button/public_api.mjs +0 -10
- package/esm2022/callout/callout/callout.component.mjs +0 -43
- package/esm2022/callout/callout-body/callout-body.directive.mjs +0 -23
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +0 -23
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -23
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +0 -23
- package/esm2022/callout/callout-title/callout-title.directive.mjs +0 -23
- package/esm2022/callout/callout.mjs +0 -15
- package/esm2022/callout/callout.module.mjs +0 -51
- package/esm2022/callout/daffodil-design-callout.mjs +0 -5
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -38
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +0 -39
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -27
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +0 -26
- package/esm2022/callout/examples/daffodil-design-callout-examples.mjs +0 -5
- package/esm2022/callout/examples/examples.mjs +0 -11
- package/esm2022/callout/examples/index.mjs +0 -2
- package/esm2022/callout/examples/public_api.mjs +0 -6
- package/esm2022/callout/index.mjs +0 -2
- package/esm2022/callout/public_api.mjs +0 -9
- package/esm2022/card/card/card.component.mjs +0 -108
- package/esm2022/card/card-actions/card-actions.directive.mjs +0 -23
- package/esm2022/card/card-content/card-content.directive.mjs +0 -23
- package/esm2022/card/card-icon/card-icon.directive.mjs +0 -23
- package/esm2022/card/card-image/card-image.directive.mjs +0 -23
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +0 -23
- package/esm2022/card/card-title/card-title.directive.mjs +0 -23
- package/esm2022/card/card.mjs +0 -17
- package/esm2022/card/card.module.mjs +0 -56
- package/esm2022/card/daffodil-design-card.mjs +0 -5
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +0 -26
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +0 -37
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +0 -33
- package/esm2022/card/examples/daffodil-design-card-examples.mjs +0 -5
- package/esm2022/card/examples/index.mjs +0 -2
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +0 -38
- package/esm2022/card/examples/public_api.mjs +0 -16
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +0 -36
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +0 -36
- package/esm2022/card/index.mjs +0 -2
- package/esm2022/card/public_api.mjs +0 -10
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -32
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -33
- package/esm2022/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -5
- package/esm2022/checkbox/examples/examples.mjs +0 -7
- package/esm2022/checkbox/examples/index.mjs +0 -2
- package/esm2022/checkbox/examples/public_api.mjs +0 -2
- package/esm2022/container/container/container.component.mjs +0 -30
- package/esm2022/container/container.mjs +0 -5
- package/esm2022/container/container.module.mjs +0 -26
- package/esm2022/container/daffodil-design-container.mjs +0 -5
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +0 -30
- package/esm2022/container/examples/daffodil-design-container-examples.mjs +0 -5
- package/esm2022/container/examples/examples.mjs +0 -5
- package/esm2022/container/examples/index.mjs +0 -2
- package/esm2022/container/examples/public_api.mjs +0 -3
- package/esm2022/container/index.mjs +0 -2
- package/esm2022/container/public_api.mjs +0 -4
- package/esm2022/core/animation/animation-state-with-params.mjs +0 -2
- package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +0 -45
- package/esm2022/core/article-encapsulated/public_api.mjs +0 -2
- package/esm2022/core/breakpoints/breakpoints.mjs +0 -10
- package/esm2022/core/breakpoints/noop.service.mjs +0 -25
- package/esm2022/core/breakpoints/provider.mjs +0 -13
- package/esm2022/core/breakpoints/public_api.mjs +0 -4
- package/esm2022/core/colorable/colorable.directive.mjs +0 -104
- package/esm2022/core/colorable/colorable.mjs +0 -37
- package/esm2022/core/colorable/public_api.mjs +0 -2
- package/esm2022/core/compactable/compactable.directive.mjs +0 -70
- package/esm2022/core/compactable/compactable.mjs +0 -2
- package/esm2022/core/compactable/public_api.mjs +0 -2
- package/esm2022/core/constructor/constructor.mjs +0 -7
- package/esm2022/core/focus/focusable-elements.mjs +0 -2
- package/esm2022/core/focus/public_api.mjs +0 -3
- package/esm2022/core/focus/stack.service.mjs +0 -71
- package/esm2022/core/lazy/lazy-component.mjs +0 -3
- package/esm2022/core/lazy/public_api.mjs +0 -2
- package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +0 -80
- package/esm2022/core/manage-container-layout/public_api.mjs +0 -2
- package/esm2022/core/mutable/mutable.mjs +0 -2
- package/esm2022/core/openable/openable.directive.mjs +0 -122
- package/esm2022/core/openable/openable.mjs +0 -2
- package/esm2022/core/openable/public_api.mjs +0 -2
- package/esm2022/core/openable/utils/state-error.mjs +0 -2
- package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
- package/esm2022/core/prefix-suffix/prefix.directive.mjs +0 -24
- package/esm2022/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -2
- package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
- package/esm2022/core/prefix-suffix/public_api.mjs +0 -6
- package/esm2022/core/prefix-suffix/suffix.directive.mjs +0 -24
- package/esm2022/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -2
- package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
- package/esm2022/core/public_api.mjs +0 -20
- package/esm2022/core/selectable/public_api.mjs +0 -2
- package/esm2022/core/selectable/selectable.directive.mjs +0 -41
- package/esm2022/core/selectable/selectable.mjs +0 -2
- package/esm2022/core/sizable/public_api.mjs +0 -3
- package/esm2022/core/sizable/sizable.directive.mjs +0 -96
- package/esm2022/core/sizable/sizable.mjs +0 -12
- package/esm2022/core/skeletonable/public_api.mjs +0 -2
- package/esm2022/core/skeletonable/skeletonable.directive.mjs +0 -66
- package/esm2022/core/skeletonable/skeletonable.mjs +0 -2
- package/esm2022/core/statusable/public_api.mjs +0 -3
- package/esm2022/core/statusable/statusable.directive.mjs +0 -79
- package/esm2022/core/statusable/statusable.mjs +0 -11
- package/esm2022/core/text-alignable/public_api.mjs +0 -3
- package/esm2022/core/text-alignable/text-alignable.directive.mjs +0 -84
- package/esm2022/core/text-alignable/text-alignable.mjs +0 -7
- package/esm2022/core/theming/functions/computer.mjs +0 -18
- package/esm2022/core/theming/initializer.mjs +0 -17
- package/esm2022/core/theming/public_api.mjs +0 -4
- package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
- package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +0 -49
- package/esm2022/core/theming/services/storage/theme-storage.service.mjs +0 -67
- package/esm2022/core/theming/services/theming.service.mjs +0 -61
- package/esm2022/core/theming/types/theme.mjs +0 -10
- package/esm2022/daffodil-design.mjs +0 -5
- package/esm2022/hero/daffodil-design-hero.mjs +0 -5
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +0 -23
- package/esm2022/hero/examples/daffodil-design-hero-examples.mjs +0 -5
- package/esm2022/hero/examples/examples.mjs +0 -11
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -38
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +0 -28
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -26
- package/esm2022/hero/examples/index.mjs +0 -2
- package/esm2022/hero/examples/public_api.mjs +0 -6
- package/esm2022/hero/hero/hero.component.mjs +0 -40
- package/esm2022/hero/hero-body/hero-body.directive.mjs +0 -23
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +0 -23
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -23
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +0 -23
- package/esm2022/hero/hero-title/hero-title.directive.mjs +0 -23
- package/esm2022/hero/hero.mjs +0 -15
- package/esm2022/hero/hero.module.mjs +0 -51
- package/esm2022/hero/index.mjs +0 -2
- package/esm2022/hero/public_api.mjs +0 -9
- package/esm2022/image/daffodil-design-image.mjs +0 -5
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +0 -15
- package/esm2022/image/examples/daffodil-design-image-examples.mjs +0 -5
- package/esm2022/image/examples/index.mjs +0 -2
- package/esm2022/image/examples/load-image/load-image.component.mjs +0 -23
- package/esm2022/image/examples/public_api.mjs +0 -9
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +0 -15
- package/esm2022/image/image/image.component.mjs +0 -116
- package/esm2022/image/image.mjs +0 -5
- package/esm2022/image/image.module.mjs +0 -26
- package/esm2022/image/index.mjs +0 -2
- package/esm2022/image/public_api.mjs +0 -4
- package/esm2022/index.mjs +0 -6
- package/esm2022/input/examples/basic-input/basic-input.component.mjs +0 -13
- package/esm2022/input/examples/daffodil-design-input-examples.mjs +0 -5
- package/esm2022/input/examples/examples.mjs +0 -11
- package/esm2022/input/examples/index.mjs +0 -2
- package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +0 -13
- package/esm2022/input/examples/input-error/input-error.component.mjs +0 -25
- package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -13
- package/esm2022/input/examples/public_api.mjs +0 -2
- package/esm2022/link-set/daffodil-design-link-set.mjs +0 -5
- package/esm2022/link-set/index.mjs +0 -2
- package/esm2022/link-set/link-set/link-set.component.mjs +0 -27
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +0 -26
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +0 -27
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -26
- package/esm2022/link-set/link-set.mjs +0 -11
- package/esm2022/link-set/link-set.module.mjs +0 -41
- package/esm2022/link-set/public_api.mjs +0 -7
- package/esm2022/list/daffodil-design-list.mjs +0 -5
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +0 -16
- package/esm2022/list/examples/daffodil-design-list-examples.mjs +0 -5
- package/esm2022/list/examples/examples.mjs +0 -11
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +0 -22
- package/esm2022/list/examples/index.mjs +0 -2
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +0 -16
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +0 -22
- package/esm2022/list/examples/public_api.mjs +0 -6
- package/esm2022/list/index.mjs +0 -2
- package/esm2022/list/list/list.component.mjs +0 -63
- package/esm2022/list/list-item/list-item.component.mjs +0 -59
- package/esm2022/list/list.mjs +0 -9
- package/esm2022/list/list.module.mjs +0 -35
- package/esm2022/list/public_api.mjs +0 -5
- package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +0 -5
- package/esm2022/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -5
- package/esm2022/loading-icon/examples/examples.mjs +0 -5
- package/esm2022/loading-icon/examples/index.mjs +0 -2
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -33
- package/esm2022/loading-icon/examples/public_api.mjs +0 -3
- package/esm2022/loading-icon/index.mjs +0 -2
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +0 -30
- package/esm2022/loading-icon/loading-icon.mjs +0 -5
- package/esm2022/loading-icon/loading-icon.module.mjs +0 -26
- package/esm2022/loading-icon/public_api.mjs +0 -4
- package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +0 -5
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -5
- package/esm2022/media-gallery/examples/examples.mjs +0 -9
- package/esm2022/media-gallery/examples/index.mjs +0 -2
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/examples/public_api.mjs +0 -5
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -18
- package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +0 -2
- package/esm2022/media-gallery/helpers/media-gallery-token.mjs +0 -7
- package/esm2022/media-gallery/index.mjs +0 -2
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +0 -57
- package/esm2022/media-gallery/media-gallery.mjs +0 -9
- package/esm2022/media-gallery/media-gallery.module.mjs +0 -34
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +0 -81
- package/esm2022/media-gallery/public_api.mjs +0 -6
- package/esm2022/media-gallery/registry/media-gallery.registry.mjs +0 -97
- package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -11
- package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +0 -76
- package/esm2022/menu/daffodil-design-menu.mjs +0 -5
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +0 -21
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -23
- package/esm2022/menu/examples/daffodil-design-menu-examples.mjs +0 -5
- package/esm2022/menu/examples/index.mjs +0 -2
- package/esm2022/menu/examples/public_api.mjs +0 -5
- package/esm2022/menu/helpers/create-overlay.mjs +0 -29
- package/esm2022/menu/helpers/public_api.mjs +0 -2
- package/esm2022/menu/index.mjs +0 -2
- package/esm2022/menu/menu/menu.component.mjs +0 -66
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +0 -49
- package/esm2022/menu/menu-item/menu-item.component.mjs +0 -38
- package/esm2022/menu/menu.module.mjs +0 -45
- package/esm2022/menu/public_api.mjs +0 -7
- package/esm2022/menu/services/menu.service.mjs +0 -53
- package/esm2022/modal/animations/modal-animation-state.mjs +0 -2
- package/esm2022/modal/animations/modal-animation.mjs +0 -9
- package/esm2022/modal/daffodil-design-modal.mjs +0 -5
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +0 -28
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +0 -17
- package/esm2022/modal/examples/daffodil-design-modal-examples.mjs +0 -5
- package/esm2022/modal/examples/index.mjs +0 -2
- package/esm2022/modal/examples/public_api.mjs +0 -5
- package/esm2022/modal/index.mjs +0 -2
- package/esm2022/modal/modal/modal-config.mjs +0 -2
- package/esm2022/modal/modal/modal.component.mjs +0 -163
- package/esm2022/modal/modal/modal.mjs +0 -2
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +0 -22
- package/esm2022/modal/modal-close/modal-close.directive.mjs +0 -48
- package/esm2022/modal/modal-content/modal-content.component.mjs +0 -22
- package/esm2022/modal/modal-header/modal-header.component.mjs +0 -37
- package/esm2022/modal/modal-title/modal-title.directive.mjs +0 -50
- package/esm2022/modal/modal.mjs +0 -13
- package/esm2022/modal/modal.module.mjs +0 -75
- package/esm2022/modal/public_api.mjs +0 -10
- package/esm2022/modal/service/modal.service.mjs +0 -74
- package/esm2022/navbar/daffodil-design-navbar.mjs +0 -5
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -17
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -20
- package/esm2022/navbar/examples/daffodil-design-navbar-examples.mjs +0 -5
- package/esm2022/navbar/examples/examples.mjs +0 -11
- package/esm2022/navbar/examples/index.mjs +0 -2
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -35
- package/esm2022/navbar/examples/public_api.mjs +0 -6
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -17
- package/esm2022/navbar/index.mjs +0 -2
- package/esm2022/navbar/navbar/navbar.component.mjs +0 -41
- package/esm2022/navbar/navbar.mjs +0 -5
- package/esm2022/navbar/navbar.module.mjs +0 -26
- package/esm2022/navbar/public_api.mjs +0 -4
- package/esm2022/notification/daffodil-design-notification.mjs +0 -5
- package/esm2022/notification/examples/daffodil-design-notification-examples.mjs +0 -5
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +0 -30
- package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +0 -30
- package/esm2022/notification/examples/index.mjs +0 -2
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -30
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +0 -32
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +0 -29
- package/esm2022/notification/examples/public_api.mjs +0 -13
- package/esm2022/notification/index.mjs +0 -2
- package/esm2022/notification/notification/notification.component.mjs +0 -108
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +0 -20
- package/esm2022/notification/notification-message/notification-message.directive.mjs +0 -20
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -20
- package/esm2022/notification/notification-title/notification-title.directive.mjs +0 -20
- package/esm2022/notification/notification.mjs +0 -15
- package/esm2022/notification/notification.module.mjs +0 -57
- package/esm2022/notification/public_api.mjs +0 -8
- package/esm2022/paginator/daffodil-design-paginator.mjs +0 -5
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -22
- package/esm2022/paginator/examples/daffodil-design-paginator-examples.mjs +0 -5
- package/esm2022/paginator/examples/examples.mjs +0 -7
- package/esm2022/paginator/examples/index.mjs +0 -2
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +0 -30
- package/esm2022/paginator/examples/public_api.mjs +0 -4
- package/esm2022/paginator/index.mjs +0 -2
- package/esm2022/paginator/paginator/paginator.component.mjs +0 -169
- package/esm2022/paginator/paginator.mjs +0 -5
- package/esm2022/paginator/paginator.module.mjs +0 -35
- package/esm2022/paginator/public_api.mjs +0 -4
- package/esm2022/paginator/utils/paginator-errors.mjs +0 -3
- package/esm2022/progress-bar/animation/progress-bar-animation.mjs +0 -9
- package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +0 -5
- package/esm2022/progress-bar/examples/daffodil-design-progress-bar-examples.mjs +0 -5
- package/esm2022/progress-bar/examples/index.mjs +0 -2
- package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +0 -15
- package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +0 -15
- package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +0 -22
- package/esm2022/progress-bar/examples/public_api.mjs +0 -9
- package/esm2022/progress-bar/index.mjs +0 -2
- package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +0 -20
- package/esm2022/progress-bar/progress-bar.component.mjs +0 -139
- package/esm2022/progress-bar/progress-bar.mjs +0 -7
- package/esm2022/progress-bar/progress-bar.module.mjs +0 -31
- package/esm2022/progress-bar/public_api.mjs +0 -5
- package/esm2022/public_api.mjs +0 -16
- package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -5
- package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -22
- package/esm2022/quantity-field/examples/index.mjs +0 -2
- package/esm2022/quantity-field/examples/public_api.mjs +0 -12
- package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -22
- package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +0 -20
- package/esm2022/radio/examples/daffodil-design-radio-examples.mjs +0 -5
- package/esm2022/radio/examples/examples.mjs +0 -5
- package/esm2022/radio/examples/index.mjs +0 -2
- package/esm2022/radio/examples/public_api.mjs +0 -2
- package/esm2022/sidebar/animation/sidebar-animation-state.mjs +0 -24
- package/esm2022/sidebar/animation/sidebar-animation-width.mjs +0 -2
- package/esm2022/sidebar/animation/sidebar-animation.mjs +0 -51
- package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -4
- package/esm2022/sidebar/daffodil-design-sidebar.mjs +0 -5
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -15
- package/esm2022/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -5
- package/esm2022/sidebar/examples/index.mjs +0 -2
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +0 -36
- package/esm2022/sidebar/examples/public_api.mjs +0 -11
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +0 -15
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +0 -15
- package/esm2022/sidebar/helper/is-docked-mode.mjs +0 -9
- package/esm2022/sidebar/helper/is-floating-mode.mjs +0 -9
- package/esm2022/sidebar/helper/sidebar-mode.mjs +0 -2
- package/esm2022/sidebar/helper/sidebar-side.mjs +0 -2
- package/esm2022/sidebar/index.mjs +0 -2
- package/esm2022/sidebar/public_api.mjs +0 -14
- package/esm2022/sidebar/service/registration.type.mjs +0 -2
- package/esm2022/sidebar/service/sidebar.service.mjs +0 -36
- package/esm2022/sidebar/sidebar/is-opening.mjs +0 -13
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +0 -178
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -17
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +0 -23
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +0 -23
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +0 -17
- package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +0 -16
- package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +0 -10
- package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +0 -45
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -198
- package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +0 -5
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +0 -17
- package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +0 -21
- package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation-state.mjs +0 -2
- package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation.mjs +0 -20
- package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +0 -87
- package/esm2022/sidebar/sidebar.mjs +0 -17
- package/esm2022/sidebar/sidebar.module.mjs +0 -60
- package/esm2022/switch/daffodil-design-switch.mjs +0 -5
- package/esm2022/switch/examples/basic-switch/basic-switch.component.mjs +0 -23
- package/esm2022/switch/examples/daffodil-design-switch-examples.mjs +0 -5
- package/esm2022/switch/examples/disabled-switch/disabled-switch.component.mjs +0 -20
- package/esm2022/switch/examples/examples.mjs +0 -13
- package/esm2022/switch/examples/index.mjs +0 -2
- package/esm2022/switch/examples/loading-switch/loading-switch.component.mjs +0 -20
- package/esm2022/switch/examples/public_api.mjs +0 -7
- package/esm2022/switch/examples/switch-error/switch-error.component.mjs +0 -22
- package/esm2022/switch/examples/switch-label-positions/switch-label-positions.component.mjs +0 -31
- package/esm2022/switch/index.mjs +0 -2
- package/esm2022/switch/public_api.mjs +0 -3
- package/esm2022/switch/switch/label-position.mjs +0 -11
- package/esm2022/switch/switch/switch.component.mjs +0 -126
- package/esm2022/switch/switch.mjs +0 -7
- package/esm2022/tabs/daffodil-design-tabs.mjs +0 -5
- package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +0 -22
- package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +0 -34
- package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +0 -5
- package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +0 -22
- package/esm2022/tabs/examples/index.mjs +0 -2
- package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +0 -22
- package/esm2022/tabs/examples/public_api.mjs +0 -11
- package/esm2022/tabs/index.mjs +0 -2
- package/esm2022/tabs/public_api.mjs +0 -6
- package/esm2022/tabs/tabs/tab/tab.component.mjs +0 -86
- package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +0 -84
- package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +0 -33
- package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +0 -68
- package/esm2022/tabs/tabs/tabs.component.mjs +0 -157
- package/esm2022/tabs/tabs.mjs +0 -13
- package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +0 -5
- package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +0 -14
- package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +0 -5
- package/esm2022/text-snippet/examples/index.mjs +0 -2
- package/esm2022/text-snippet/examples/public_api.mjs +0 -5
- package/esm2022/text-snippet/index.mjs +0 -2
- package/esm2022/text-snippet/public_api.mjs +0 -2
- package/esm2022/text-snippet/text-snippet.component.mjs +0 -46
- package/esm2022/toast/daffodil-design-toast.mjs +0 -5
- package/esm2022/toast/examples/daffodil-design-toast-examples.mjs +0 -5
- package/esm2022/toast/examples/default-toast/default-toast.component.mjs +0 -40
- package/esm2022/toast/examples/index.mjs +0 -2
- package/esm2022/toast/examples/public_api.mjs +0 -11
- package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +0 -61
- package/esm2022/toast/examples/toast-status/toast-status.component.mjs +0 -49
- package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +0 -28
- package/esm2022/toast/index.mjs +0 -2
- package/esm2022/toast/interfaces/toast-action.mjs +0 -2
- package/esm2022/toast/interfaces/toast.mjs +0 -2
- package/esm2022/toast/options/daff-toast-options.mjs +0 -16
- package/esm2022/toast/public_api.mjs +0 -10
- package/esm2022/toast/service/changes-focus.mjs +0 -2
- package/esm2022/toast/service/position-strategy.mjs +0 -29
- package/esm2022/toast/service/position.service.mjs +0 -33
- package/esm2022/toast/service/toast.service.mjs +0 -115
- package/esm2022/toast/toast/toast-config.mjs +0 -2
- package/esm2022/toast/toast/toast-provider.mjs +0 -7
- package/esm2022/toast/toast/toast-template.component.mjs +0 -280
- package/esm2022/toast/toast/toast.component.mjs +0 -73
- package/esm2022/toast/toast-actions/toast-actions.directive.mjs +0 -20
- package/esm2022/toast/toast-message/toast-message.directive.mjs +0 -20
- package/esm2022/toast/toast-title/toast-title.directive.mjs +0 -20
- package/esm2022/toast/toast.module.mjs +0 -69
- package/esm2022/tree/daffodil-design-tree.mjs +0 -5
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +0 -43
- package/esm2022/tree/examples/daffodil-design-tree-examples.mjs +0 -5
- package/esm2022/tree/examples/deep-tree/deep-tree.component.mjs +0 -54
- package/esm2022/tree/examples/index.mjs +0 -2
- package/esm2022/tree/examples/public_api.mjs +0 -8
- package/esm2022/tree/index.mjs +0 -2
- package/esm2022/tree/interfaces/recursive-key.mjs +0 -2
- package/esm2022/tree/interfaces/tree-data.mjs +0 -2
- package/esm2022/tree/interfaces/tree-render-mode.mjs +0 -2
- package/esm2022/tree/interfaces/tree-ui.mjs +0 -2
- package/esm2022/tree/public_api.mjs +0 -6
- package/esm2022/tree/tree/tree-notifier.service.mjs +0 -45
- package/esm2022/tree/tree/tree.component.mjs +0 -106
- package/esm2022/tree/tree-item/tree-item.directive.mjs +0 -157
- package/esm2022/tree/tree.mjs +0 -7
- package/esm2022/tree/tree.module.mjs +0 -31
- package/esm2022/tree/utils/flatten-tree.mjs +0 -63
- package/esm2022/tree/utils/hydrate-tree.mjs +0 -31
- package/esm2022/tree/utils/transform.mjs +0 -25
- package/esm2022/tree/utils/traverse-tree.mjs +0 -21
@@ -1,25 +0,0 @@
|
|
1
|
-
import { Injectable } from '@angular/core';
|
2
|
-
import { of, } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* A stubbed out breakpoint observer service.
|
6
|
-
*/
|
7
|
-
export class NoopBreakpointObserver {
|
8
|
-
// eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface
|
9
|
-
ngOnDestroy() { }
|
10
|
-
isMatched(value) {
|
11
|
-
return false;
|
12
|
-
}
|
13
|
-
observe(value) {
|
14
|
-
return of();
|
15
|
-
}
|
16
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoopBreakpointObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
17
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoopBreakpointObserver, providedIn: 'root' }); }
|
18
|
-
}
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoopBreakpointObserver, decorators: [{
|
20
|
-
type: Injectable,
|
21
|
-
args: [{
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ZXJ2ZXIgc2VydmljZS5cbiAqL1xuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIE5vb3BCcmVha3BvaW50T2JzZXJ2ZXIgaW1wbGVtZW50cyBPbWl0PEJyZWFrcG9pbnRPYnNlcnZlciwgbmV2ZXI+IHtcbiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEBhbmd1bGFyLWVzbGludC9uby1lbXB0eS1saWZlY3ljbGUtbWV0aG9kLCBAYW5ndWxhci1lc2xpbnQvdXNlLWxpZmVjeWNsZS1pbnRlcmZhY2VcbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7fVxuICBpc01hdGNoZWQodmFsdWU6IHN0cmluZyB8IHJlYWRvbmx5IHN0cmluZ1tdKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG4gIG9ic2VydmUodmFsdWU6IHN0cmluZyB8IHJlYWRvbmx5IHN0cmluZ1tdKTogT2JzZXJ2YWJsZTxCcmVha3BvaW50U3RhdGU+IHtcbiAgICByZXR1cm4gb2YoKTtcbiAgfVxuXG59XG4iXX0=
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
2
|
-
import { isPlatformBrowser } from '@angular/common';
|
3
|
-
import { inject, InjectionToken, PLATFORM_ID, } from '@angular/core';
|
4
|
-
import { NoopBreakpointObserver } from './noop.service';
|
5
|
-
/**
|
6
|
-
* Provides a {@link NoopBreakpointObserver} if the platform is not browser.
|
7
|
-
*/
|
8
|
-
export const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken('SERVER_SAFE_BREAKPOINT_OBSERVER', {
|
9
|
-
factory: () => isPlatformBrowser(inject(PLATFORM_ID))
|
10
|
-
? inject(BreakpointObserver)
|
11
|
-
: inject(NoopBreakpointObserver),
|
12
|
-
});
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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ha3BvaW50T2JzZXJ2ZXIgfSBmcm9tICcuL25vb3Auc2VydmljZSc7XG5cbi8qKlxuICogUHJvdmlkZXMgYSB7QGxpbmsgTm9vcEJyZWFrcG9pbnRPYnNlcnZlcn0gaWYgdGhlIHBsYXRmb3JtIGlzIG5vdCBicm93c2VyLlxuICovXG5leHBvcnQgY29uc3QgU0VSVkVSX1NBRkVfQlJFQUtQT0lOVF9PQlNFUlZFUiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxPbWl0PEJyZWFrcG9pbnRPYnNlcnZlciwgbmV2ZXI+PignU0VSVkVSX1NBRkVfQlJFQUtQT0lOVF9PQlNFUlZFUicsIHtcbiAgZmFjdG9yeTogKCkgPT5cbiAgICBpc1BsYXRmb3JtQnJvd3NlcihpbmplY3QoUExBVEZPUk1fSUQpKVxuICAgICAgPyBpbmplY3QoQnJlYWtwb2ludE9ic2VydmVyKVxuICAgICAgOiBpbmplY3QoTm9vcEJyZWFrcG9pbnRPYnNlcnZlciksXG59KTtcbiJdfQ==
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export * from './breakpoints';
|
2
|
-
export * from './provider';
|
3
|
-
export * from './noop.service';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2JyZWFrcG9pbnRzL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYnJlYWtwb2ludHMnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm92aWRlcic7XG5leHBvcnQgKiBmcm9tICcuL25vb3Auc2VydmljZSc7XG4iXX0=
|
@@ -1,104 +0,0 @@
|
|
1
|
-
import { Directive, HostBinding, Input, } from '@angular/core';
|
2
|
-
import { DaffPaletteEnum, } from './colorable';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
const colorInPalette = (color) => Object.values(DaffPaletteEnum).includes(color);
|
5
|
-
const validateColor = (color) => {
|
6
|
-
if (color !== undefined && !colorInPalette(color)) {
|
7
|
-
console.warn(color + ' is not a valid color in DaffPalette');
|
8
|
-
}
|
9
|
-
};
|
10
|
-
/**
|
11
|
-
* `DaffColorableDirective` allows a component to conditionally apply color-specific
|
12
|
-
* styles by setting CSS classes based on the specified color. This directive is useful
|
13
|
-
* for applying different color palettes to a component in an Angular application.
|
14
|
-
*
|
15
|
-
* ## Usage
|
16
|
-
*
|
17
|
-
* ### Implementing it as an attribute directive
|
18
|
-
*
|
19
|
-
* ```html
|
20
|
-
* <div daffColorable [color]="componentColor">Colored content</div>
|
21
|
-
* ```
|
22
|
-
*
|
23
|
-
* ### Implementing it as an Angular host directive
|
24
|
-
*
|
25
|
-
* ```ts
|
26
|
-
* @Component({
|
27
|
-
* standalone: true,
|
28
|
-
* selector: 'custom-component',
|
29
|
-
* template: 'custom-component.html',
|
30
|
-
* hostDirectives: [
|
31
|
-
* {
|
32
|
-
* directive: DaffColorableDirective,
|
33
|
-
* inputs: ['color'],
|
34
|
-
* },
|
35
|
-
* ],
|
36
|
-
* })
|
37
|
-
* export class CustomComponent { }
|
38
|
-
* ```
|
39
|
-
*
|
40
|
-
* ```scss
|
41
|
-
* .custom-component {
|
42
|
-
*
|
43
|
-
* &.daff-primary {
|
44
|
-
* background: daff-color($primary, 10);
|
45
|
-
* color: daff-color($primary, 90);
|
46
|
-
* }
|
47
|
-
* }
|
48
|
-
* ```
|
49
|
-
*
|
50
|
-
* ## Styles
|
51
|
-
*
|
52
|
-
* The directive applies the following CSS classes based on the color:
|
53
|
-
*
|
54
|
-
* - `daff-primary`: Applied when the color is `primary`.
|
55
|
-
* - `daff-secondary`: Applied when the color is `secondary`.
|
56
|
-
* - `daff-tertiary`: Applied when the color is `tertiary`.
|
57
|
-
* - `daff-black`: Applied when the color is `black`.
|
58
|
-
* - `daff-white`: Applied when the color is `white`.
|
59
|
-
* - `daff-theme`: Applied when the color is `theme`.
|
60
|
-
* - `daff-theme-contrast`: Applied when the color is `theme-contrast`.
|
61
|
-
*/
|
62
|
-
export class DaffColorableDirective {
|
63
|
-
/**
|
64
|
-
* Dynamically sets the CSS classes based on the color.
|
65
|
-
* @docs-private
|
66
|
-
*/
|
67
|
-
get class() {
|
68
|
-
return {
|
69
|
-
'daff-primary': this.color === DaffPaletteEnum.Primary,
|
70
|
-
'daff-secondary': this.color === DaffPaletteEnum.Secondary,
|
71
|
-
'daff-tertiary': this.color === DaffPaletteEnum.Tertiary,
|
72
|
-
'daff-black': this.color === DaffPaletteEnum.Black,
|
73
|
-
'daff-white': this.color === DaffPaletteEnum.White,
|
74
|
-
'daff-theme': this.color === DaffPaletteEnum.Theme,
|
75
|
-
'daff-theme-contrast': this.color === DaffPaletteEnum.ThemeContrast,
|
76
|
-
};
|
77
|
-
}
|
78
|
-
ngOnChanges(changes) {
|
79
|
-
if (!changes.color.currentValue) {
|
80
|
-
this.color = this.defaultColor;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
ngOnInit() {
|
84
|
-
validateColor(this.color);
|
85
|
-
if (!this.color) {
|
86
|
-
this.color = this.defaultColor;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffColorableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
90
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffColorableDirective, isStandalone: true, selector: "[daffColorable]", inputs: { color: "color" }, host: { properties: { "class": "this.class" } }, usesOnChanges: true, ngImport: i0 }); }
|
91
|
-
}
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffColorableDirective, decorators: [{
|
93
|
-
type: Directive,
|
94
|
-
args: [{
|
95
|
-
selector: '[daffColorable]',
|
96
|
-
standalone: true,
|
97
|
-
}]
|
98
|
-
}], propDecorators: { class: [{
|
99
|
-
type: HostBinding,
|
100
|
-
args: ['class']
|
101
|
-
}], color: [{
|
102
|
-
type: Input
|
103
|
-
}] } });
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3JhYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2NvbG9yYWJsZS9jb2xvcmFibGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxFQUNYLEtBQUssR0FJTixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBR0wsZUFBZSxHQUNoQixNQUFNLGFBQWEsQ0FBQzs7QUFFckIsTUFBTSxjQUFjLEdBQUcsQ0FBQyxLQUFhLEVBQUUsRUFBRSxDQUFPLE1BQU8sQ0FBQyxNQUFNLENBQUMsZUFBZSxDQUFDLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBRWhHLE1BQU0sYUFBYSxHQUFHLENBQUMsS0FBYSxFQUFFLEVBQUU7SUFDdEMsSUFBSSxLQUFLLEtBQUssU0FBUyxJQUFJLENBQUMsY0FBYyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7UUFDbEQsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLEdBQUcsc0NBQXNDLENBQUMsQ0FBQztJQUMvRCxDQUFDO0FBQ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Q29sb3I7XG4gICAgfVxuICB9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgdmFsaWRhdGVDb2xvcih0aGlzLmNvbG9yKTtcbiAgICBpZiAoIXRoaXMuY29sb3IpIHtcbiAgICAgIHRoaXMuY29sb3IgPSB0aGlzLmRlZmF1bHRDb2xvcjtcbiAgICB9XG4gIH1cbn1cblxuIl19
|
@@ -1,37 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Enumerates the available color palette options for a component.
|
3
|
-
* These values can be used to apply specific color styles to components within the
|
4
|
-
* application.
|
5
|
-
*/
|
6
|
-
export var DaffPaletteEnum;
|
7
|
-
(function (DaffPaletteEnum) {
|
8
|
-
/**
|
9
|
-
* Your primary color.
|
10
|
-
*/
|
11
|
-
DaffPaletteEnum["Primary"] = "primary";
|
12
|
-
/**
|
13
|
-
* Your secondary color.
|
14
|
-
*/
|
15
|
-
DaffPaletteEnum["Secondary"] = "secondary";
|
16
|
-
/**
|
17
|
-
* Your tertiary color.
|
18
|
-
*/
|
19
|
-
DaffPaletteEnum["Tertiary"] = "tertiary";
|
20
|
-
/**
|
21
|
-
* Black. It's dark.
|
22
|
-
*/
|
23
|
-
DaffPaletteEnum["Black"] = "black";
|
24
|
-
/**
|
25
|
-
* White. It's bright.
|
26
|
-
*/
|
27
|
-
DaffPaletteEnum["White"] = "white";
|
28
|
-
/**
|
29
|
-
* The default color for your theme.
|
30
|
-
*/
|
31
|
-
DaffPaletteEnum["Theme"] = "theme";
|
32
|
-
/**
|
33
|
-
* A color that constrats against your defined theme.
|
34
|
-
*/
|
35
|
-
DaffPaletteEnum["ThemeContrast"] = "theme-contrast";
|
36
|
-
})(DaffPaletteEnum || (DaffPaletteEnum = {}));
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3JhYmxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24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gYSBjb21wb25lbnQuXG4gKiBUaGVzZSB2YWx1ZXMgY2FuIGJlIHVzZWQgdG8gYXBwbHkgc3BlY2lmaWMgY29sb3Igc3R5bGVzIHRvIGNvbXBvbmVudHMgd2l0aGluIHRoZVxuICogYXBwbGljYXRpb24uXG4gKi9cbmV4cG9ydCBlbnVtIERhZmZQYWxldHRlRW51bSB7XG4gIC8qKlxuICAgKiBZb3VyIHByaW1hcnkgY29sb3IuXG4gICAqL1xuICBQcmltYXJ5ID0gJ3ByaW1hcnknLFxuXG4gIC8qKlxuICAgKiBZb3VyIHNlY29uZGFyeSBjb2xvci5cbiAgICovXG4gIFNlY29uZGFyeSA9ICdzZWNvbmRhcnknLFxuXG4gIC8qKlxuICAgKiBZb3VyIHRlcnRpYXJ5IGNvbG9yLlxuICAgKi9cbiAgVGVydGlhcnkgPSAndGVydGlhcnknLFxuXG4gIC8qKlxuICAgKiBCbGFjay4gSXQncyBkYXJrLlxuICAgKi9cbiAgQmxhY2sgPSAnYmxhY2snLFxuXG4gIC8qKlxuICAgKiBXaGl0ZS4gSXQncyBicmlnaHQuXG4gICAqL1xuICBXaGl0ZSA9ICd3aGl0ZScsXG5cbiAgLyoqXG4gICAqIFRoZSBkZWZhdWx0IGNvbG9yIGZvciB5b3VyIHRoZW1lLlxuICAgKi9cbiAgVGhlbWUgPSAndGhlbWUnLFxuXG4gIC8qKlxuICAgKiBBIGNvbG9yIHRoYXQgY29uc3RyYXRzIGFnYWluc3QgeW91ciBkZWZpbmVkIHRoZW1lLlxuICAgKi9cbiAgVGhlbWVDb250cmFzdCA9ICd0aGVtZS1jb250cmFzdCdcbn1cbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { DaffColorableDirective } from './colorable.directive';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2NvbG9yYWJsZS9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHtcbiAgRGFmZlBhbGV0dGUsXG4gIERhZmZDb2xvcmFibGUsXG59IGZyb20gJy4vY29sb3JhYmxlJztcbmV4cG9ydCB7IERhZmZDb2xvcmFibGVEaXJlY3RpdmUgfSBmcm9tICcuL2NvbG9yYWJsZS5kaXJlY3RpdmUnO1xuIl19
|
@@ -1,70 +0,0 @@
|
|
1
|
-
import { Directive, HostBinding, Input, } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/**
|
4
|
-
* `DaffCompactableDirective` allows a component to conditionally apply a compact
|
5
|
-
* style by toggling a CSS class. This is useful for creating components that can
|
6
|
-
* switch between regular and compact styles based on the `compact` property.
|
7
|
-
*
|
8
|
-
* ## Usage
|
9
|
-
*
|
10
|
-
* ### Implementing it as an attribute directive
|
11
|
-
*
|
12
|
-
* ```html
|
13
|
-
* <div daffCompactable [compact]="isCompact">Content goes here</div>
|
14
|
-
* ```
|
15
|
-
*
|
16
|
-
* In this example, the `daff-compact` class is applied to the `div` element when
|
17
|
-
* `isCompact` is `true`, making the `div` display its compact state.
|
18
|
-
*
|
19
|
-
* ### Implementing it as an Angular host directive
|
20
|
-
*
|
21
|
-
* ```ts
|
22
|
-
* @Component({
|
23
|
-
* standalone: true,
|
24
|
-
* selector: 'custom-component',
|
25
|
-
* template: 'custom-component.html',
|
26
|
-
* hostDirectives: [
|
27
|
-
* {
|
28
|
-
* directive: DaffCompactableDirective,
|
29
|
-
* inputs: ['compact'],
|
30
|
-
* },
|
31
|
-
* ],
|
32
|
-
* })
|
33
|
-
* export class CustomComponent { }
|
34
|
-
* ```
|
35
|
-
*
|
36
|
-
* ```scss
|
37
|
-
* .custom-component {
|
38
|
-
* padding: 8px 16px;
|
39
|
-
*
|
40
|
-
* &.daff-compact {
|
41
|
-
* padding: 4px 8px;
|
42
|
-
* }
|
43
|
-
* }
|
44
|
-
* ```
|
45
|
-
*
|
46
|
-
* ## Styles
|
47
|
-
*
|
48
|
-
* The `daff-compact` class should be defined in your styles to display the compact
|
49
|
-
* state as desired.
|
50
|
-
*/
|
51
|
-
export class DaffCompactableDirective {
|
52
|
-
constructor() {
|
53
|
-
this.compact = false;
|
54
|
-
}
|
55
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCompactableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
56
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffCompactableDirective, isStandalone: true, selector: "[daffCompactable]", inputs: { compact: "compact" }, host: { properties: { "class.daff-compact": "this.compact" } }, ngImport: i0 }); }
|
57
|
-
}
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCompactableDirective, decorators: [{
|
59
|
-
type: Directive,
|
60
|
-
args: [{
|
61
|
-
selector: '[daffCompactable]',
|
62
|
-
standalone: true,
|
63
|
-
}]
|
64
|
-
}], propDecorators: { compact: [{
|
65
|
-
type: Input
|
66
|
-
}, {
|
67
|
-
type: HostBinding,
|
68
|
-
args: ['class.daff-compact']
|
69
|
-
}] } });
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFjdGFibGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2NvcmUvY29tcGFjdGFibGUvY29tcGFjdGFibGUuZGlyZWN0aXZlLn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BzaG91bGQgYmUgZGVmaW5lZCBpbiB5b3VyIHN0eWxlcyB0byBkaXNwbGF5IHRoZSBjb21wYWN0XG4gKiBzdGF0ZSBhcyBkZXNpcmVkLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbZGFmZkNvbXBhY3RhYmxlXScsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZDb21wYWN0YWJsZURpcmVjdGl2ZSB7XG4gIEBJbnB1dCgpIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi1jb21wYWN0JykgY29tcGFjdCA9IGZhbHNlO1xufVxuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFjdGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvY29yZS9jb21wYWN0YWJsZS9jb21wYWN0YWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbiBpbnRlcmZhY2UgZm9yIGdpdmluZyBhIGNvbXBvbmVudCB0aGUgYWJpbGl0eSB0byBkaXNwbGF5IGEgY29tcGFjdCBVSS5cbiAqIEluIG9yZGVyIHRvIGJlIGNvbXBhY3RhYmxlLCB0aGUgY2xhc3MgbXVzdCBpbXBsZW1lbnQgdGhpcyBwcm9wZXJ0eS5cbiAqL1xuZXhwb3J0IGludGVyZmFjZSBEYWZmQ29tcGFjdGFibGUge1xuICBjb21wYWN0OiBib29sZWFuO1xufVxuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { DaffCompactableDirective } from './compactable.directive';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2NvbXBhY3RhYmxlL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEYWZmQ29tcGFjdGFibGUgfSBmcm9tICcuL2NvbXBhY3RhYmxlJztcbmV4cG9ydCB7IERhZmZDb21wYWN0YWJsZURpcmVjdGl2ZSB9IGZyb20gJy4vY29tcGFjdGFibGUuZGlyZWN0aXZlJztcbiJdfQ==
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* A basic constructor type useful for mixins
|
3
|
-
* See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes
|
4
|
-
* for a really good explanation of why mixins are useful.
|
5
|
-
*/
|
6
|
-
export {};
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RydWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvY29yZS9jb25zdHJ1Y3Rvci9jb25zdHJ1Y3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7OztHQUlHIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBIGJhc2ljIGNvbnN0cnVjdG9yIHR5cGUgdXNlZnVsIGZvciBtaXhpbnNcbiAqIFNlZSBodHRwczovL2Jsb2cubWFyaXVzc2NodWx6LmNvbS8yMDE3LzA1LzI2L3R5cGVzY3JpcHQtMi0yLW1peGluLWNsYXNzZXNcbiAqIGZvciBhIHJlYWxseSBnb29kIGV4cGxhbmF0aW9uIG9mIHdoeSBtaXhpbnMgYXJlIHVzZWZ1bC5cbiAqL1xuXG5leHBvcnQgdHlwZSBDb25zdHJ1Y3RvcjxUID0gUmVjb3JkPHN0cmluZywgYW55Pj4gPSBuZXcgKC4uLmFyZ3M6IGFueVtdKSA9PiBUO1xuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9jdXNhYmxlLWVsZW1lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2NvcmUvZm9jdXMvZm9jdXNhYmxlLWVsZW1lbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLDZCQUE2QixHQUFHLGtHQUFrRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGRhZmZGb2N1c2FibGVFbGVtZW50c1NlbGVjdG9yID0gJ2FbaHJlZl0sYVtyb3V0ZXJsaW5rXSwgYnV0dG9uLCBpbnB1dCwgdGV4dGFyZWEsIHNlbGVjdCwgZGV0YWlscywgW3RhYmluZGV4XTpub3QoW3RhYmluZGV4PVwiLTFcIl0pJztcbiJdfQ==
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export { daffFocusableElementsSelector } from './focusable-elements';
|
2
|
-
export { DaffFocusStackService } from './stack.service';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2ZvY3VzL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDckUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0saUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBkYWZmRm9jdXNhYmxlRWxlbWVudHNTZWxlY3RvciB9IGZyb20gJy4vZm9jdXNhYmxlLWVsZW1lbnRzJztcbmV4cG9ydCB7IERhZmZGb2N1c1N0YWNrU2VydmljZSB9IGZyb20gJy4vc3RhY2suc2VydmljZSc7XG4iXX0=
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { DOCUMENT } from '@angular/common';
|
2
|
-
import { Inject, Injectable, } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class DaffFocusStackService {
|
5
|
-
constructor(document) {
|
6
|
-
this.document = document;
|
7
|
-
this._stack = [];
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* Return the current length of the stack.
|
11
|
-
*/
|
12
|
-
length() {
|
13
|
-
return this._stack.length;
|
14
|
-
}
|
15
|
-
/**
|
16
|
-
* Adds a HTML element to a focus stack and returns the new length of the stack.
|
17
|
-
*
|
18
|
-
* Generally, you will probably want to call this before you transition focus
|
19
|
-
* onto a new element.
|
20
|
-
*
|
21
|
-
* ```ts
|
22
|
-
* this._focusStack.push(this._doc.activeElement);
|
23
|
-
* ```
|
24
|
-
*/
|
25
|
-
push(el = undefined) {
|
26
|
-
this._stack.push(el ?? this.document.activeElement);
|
27
|
-
return this._stack.length;
|
28
|
-
}
|
29
|
-
/**
|
30
|
-
* Focuses on the HTML element at the top of a stack.
|
31
|
-
*
|
32
|
-
* ```ts
|
33
|
-
* this._focusStack.push(this._doc.activeElement);
|
34
|
-
* ```
|
35
|
-
*/
|
36
|
-
focus() {
|
37
|
-
if (this._stack.length >= 1) {
|
38
|
-
this._stack.slice(-1)[0].focus();
|
39
|
-
}
|
40
|
-
else {
|
41
|
-
this.document.activeElement.blur();
|
42
|
-
}
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* Removes the HMTL element at the top of a stack and focuses on it.
|
46
|
-
*/
|
47
|
-
pop(focus = true) {
|
48
|
-
let el = this._stack.pop();
|
49
|
-
while (el === undefined && this._stack.length > 0) {
|
50
|
-
el = this._stack.pop();
|
51
|
-
}
|
52
|
-
if (el) {
|
53
|
-
if (focus) {
|
54
|
-
el.focus();
|
55
|
-
}
|
56
|
-
return el;
|
57
|
-
}
|
58
|
-
this.document.activeElement.blur();
|
59
|
-
return this.document.activeElement;
|
60
|
-
}
|
61
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFocusStackService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
62
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFocusStackService, providedIn: 'root' }); }
|
63
|
-
}
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFocusStackService, decorators: [{
|
65
|
-
type: Injectable,
|
66
|
-
args: [{ providedIn: 'root' }]
|
67
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
68
|
-
type: Inject,
|
69
|
-
args: [DOCUMENT]
|
70
|
-
}] }] });
|
71
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhY2suc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2ZvY3VzL3N0YWNrLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlC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bWVudD50aGlzLmRvY3VtZW50LmFjdGl2ZUVsZW1lbnQpLmJsdXIoKTtcbiAgICB9XG4gIH1cblxuICAvKipcbiAgICogUmVtb3ZlcyB0aGUgSE1UTCBlbGVtZW50IGF0IHRoZSB0b3Agb2YgYSBzdGFjayBhbmQgZm9jdXNlcyBvbiBpdC5cbiAgICovXG4gIHBvcChmb2N1czogYm9vbGVhbiA9IHRydWUpOiBIVE1MRWxlbWVudCB7XG4gICAgbGV0IGVsID0gdGhpcy5fc3RhY2sucG9wKCk7XG4gICAgd2hpbGUoZWwgPT09IHVuZGVmaW5lZCAmJiB0aGlzLl9zdGFjay5sZW5ndGggPiAwKSB7XG4gICAgICBlbCA9IHRoaXMuX3N0YWNrLnBvcCgpO1xuICAgIH1cblxuICAgIGlmKGVsKSB7XG4gICAgICBpZihmb2N1cykge1xuICAgICAgICBlbC5mb2N1cygpO1xuICAgICAgfVxuICAgICAgcmV0dXJuIGVsO1xuICAgIH1cblxuICAgICg8SFRNTEVsZW1lbnQ+dGhpcy5kb2N1bWVudC5hY3RpdmVFbGVtZW50KS5ibHVyKCk7XG4gICAgcmV0dXJuIHRoaXMuZG9jdW1lbnQuYWN0aXZlRWxlbWVudDtcbiAgfVxufVxuIl19
|
@@ -1,3 +0,0 @@
|
|
1
|
-
;
|
2
|
-
export {};
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eS1jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvY29yZS9sYXp5L2xhenktY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQSBkZWZpbml0aW9uIGZvciBhIGxhenkgY29tcG9uZW50LlxuICovXG5leHBvcnQgaW50ZXJmYWNlIERhZmZMYXp5Q29tcG9uZW50IHtcbiAgaW1wb3J0OiAoKSA9PiBQcm9taXNlPFR5cGU8dW5rbm93bj4+O1xufTtcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL2xhenkvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRGFmZkxhenlDb21wb25lbnQgfSBmcm9tICcuL2xhenktY29tcG9uZW50JztcbiJdfQ==
|
@@ -1,80 +0,0 @@
|
|
1
|
-
import { Directive, HostBinding, } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/**
|
4
|
-
* `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.
|
5
|
-
* By including this directive, predetermined layout styles are passed down to the container.
|
6
|
-
*
|
7
|
-
* To understand the motivation for this directive, consider:
|
8
|
-
*
|
9
|
-
* ```html
|
10
|
-
* <daff-container>
|
11
|
-
* <daff-hero></daff-hero>
|
12
|
-
* </daff-container>
|
13
|
-
* ```
|
14
|
-
* vs.
|
15
|
-
*
|
16
|
-
* ```html
|
17
|
-
* <daff-hero>
|
18
|
-
* <daff-container></daff-container>
|
19
|
-
* </daff-hero>
|
20
|
-
* ```
|
21
|
-
*
|
22
|
-
* The former may inappropriately constrain the width of its child elements,
|
23
|
-
* while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly
|
24
|
-
* interfere in the layout features of its parent element (i.e. display: grid, display: flex).
|
25
|
-
*
|
26
|
-
* ## Usage
|
27
|
-
*
|
28
|
-
* ### Implementing it as an attribute directive
|
29
|
-
*
|
30
|
-
* ```html
|
31
|
-
* <my-custom-component daffManageContainerLayout>
|
32
|
-
* <daff-container size="lg"></daff-container>
|
33
|
-
* </my-custom-component>
|
34
|
-
* ```
|
35
|
-
*
|
36
|
-
* ```scss
|
37
|
-
* :host {
|
38
|
-
* display: grid;
|
39
|
-
* grid-template-columns: 1fr 1fr;
|
40
|
-
* }
|
41
|
-
* ```
|
42
|
-
*
|
43
|
-
* ### Implementing it as an Angular host directive
|
44
|
-
*
|
45
|
-
* ```ts
|
46
|
-
* @Component({
|
47
|
-
* standalone: true,
|
48
|
-
* selector: 'my-custom-component',
|
49
|
-
* template: 'my-custom-component.html',
|
50
|
-
* hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],
|
51
|
-
* })
|
52
|
-
* export class MyCustomComponent { }
|
53
|
-
*
|
54
|
-
* ```scss
|
55
|
-
* :host {
|
56
|
-
* display: grid;
|
57
|
-
* grid-template-columns: 1fr 1fr;
|
58
|
-
* }
|
59
|
-
* ```
|
60
|
-
*
|
61
|
-
* This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.
|
62
|
-
*/
|
63
|
-
export class DaffManageContainerLayoutDirective {
|
64
|
-
constructor() {
|
65
|
-
this.class = true;
|
66
|
-
}
|
67
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffManageContainerLayoutDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
68
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffManageContainerLayoutDirective, isStandalone: true, selector: "[daffManageContainerLayout]", host: { properties: { "class.daff-manage-container-layout": "this.class" } }, ngImport: i0 }); }
|
69
|
-
}
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffManageContainerLayoutDirective, decorators: [{
|
71
|
-
type: Directive,
|
72
|
-
args: [{
|
73
|
-
selector: '[daffManageContainerLayout]',
|
74
|
-
standalone: true,
|
75
|
-
}]
|
76
|
-
}], propDecorators: { class: [{
|
77
|
-
type: HostBinding,
|
78
|
-
args: ['class.daff-manage-container-layout']
|
79
|
-
}] } });
|
80
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLWNvbnRhaW5lci1sYXlvdXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2NvcmUvbWFuYWdlLWNvbnRhaW5lci1sYXlvdXQvbWFuYWdlLWNvbnRhaW5lci1sYXlvdXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDOztBQUV2Qjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0EyREc7QUFNSCxNQUFNLE9BQU8sa0NBQWtDO0lBSi9DO1FBS3FELFVBQUssR0FBRyxJQUFJLENBQUM7S0FDakU7aUlBRlksa0NBQWtDO3FIQUFsQyxrQ0FBa0M7OzJGQUFsQyxrQ0FBa0M7a0JBSjlDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLDZCQUE2QjtvQkFDdkMsVUFBVSxFQUFFLElBQUk7aUJBQ2pCOzhCQUVvRCxLQUFLO3NCQUF2RCxXQUFXO3VCQUFDLG9DQUFvQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIERpcmVjdGl2ZSxcbiAgSG9zdEJpbmRpbmcsXG59IGZyb20g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gdGhlIHN0eWxlcyBzZXQgb24gYDpob3N0YCBhcmUgcGFzc2VkIGRvd24gdG8gdGhlIGNvbnRhaW5lci5cbiAqL1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbZGFmZk1hbmFnZUNvbnRhaW5lckxheW91dF0nLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmTWFuYWdlQ29udGFpbmVyTGF5b3V0RGlyZWN0aXZlIHtcbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5kYWZmLW1hbmFnZS1jb250YWluZXItbGF5b3V0JykgY2xhc3MgPSB0cnVlO1xufVxuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { DaffManageContainerLayoutDirective } from './manage-container-layout.directive';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL21hbmFnZS1jb250YWluZXItbGF5b3V0L3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtDQUFrQyxFQUFFLE1BQU0scUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEYWZmTWFuYWdlQ29udGFpbmVyTGF5b3V0RGlyZWN0aXZlIH0gZnJvbSAnLi9tYW5hZ2UtY29udGFpbmVyLWxheW91dC5kaXJlY3RpdmUnO1xuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXV0YWJsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL211dGFibGUvbXV0YWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbiBpbnRlcmZhY2UgZm9yIGdpdmluZyBhIGNvbXBvbmVudCB0aGUgYWJpbGl0eSB0byBkaXNwbGF5IGEgbXV0YXRpbmcgVUkuXG4gKiBJbiBvcmRlciB0byBiZSBtdXRhYmxlLCBvdXIgY2xhc3MgbXVzdCBpbXBsZW1lbnQgdGhpcyBwcm9wZXJ0eS5cbiAqL1xuZXhwb3J0IGludGVyZmFjZSBEYWZmTXV0YWJsZSB7XG4gIG11dGF0aW5nOiBib29sZWFuO1xufVxuIl19
|
@@ -1,122 +0,0 @@
|
|
1
|
-
import { Directive, EventEmitter, HostBinding, Input, Output, isDevMode, } from '@angular/core';
|
2
|
-
import { DaffOpenableStateError } from './utils/state-error';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).
|
6
|
-
* This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.
|
7
|
-
*
|
8
|
-
* ## Example
|
9
|
-
* ```ts
|
10
|
-
* import {
|
11
|
-
* Component,
|
12
|
-
* ChangeDetectionStrategy,
|
13
|
-
* } from '@angular/core';
|
14
|
-
*
|
15
|
-
* import { DaffOpenableDirective } from '@daffodil/design';
|
16
|
-
*
|
17
|
-
* @Component({
|
18
|
-
* selector: 'custom-component',
|
19
|
-
* template: `
|
20
|
-
* <button (click)="toggle()">Click me!</button>
|
21
|
-
* <div class="hidden-block">This is a hidden block that can be shown by clicking the button.</div>
|
22
|
-
* `,
|
23
|
-
* styles: [`
|
24
|
-
* :host {
|
25
|
-
* .hidden-block {
|
26
|
-
* display: none;
|
27
|
-
* }
|
28
|
-
*
|
29
|
-
* &.daff-open {
|
30
|
-
* .hidden-block {
|
31
|
-
* display: block;
|
32
|
-
* }
|
33
|
-
* }
|
34
|
-
* }`],
|
35
|
-
* changeDetection: ChangeDetectionStrategy.OnPush,
|
36
|
-
* hostDirectives: [{
|
37
|
-
* directive: DaffOpenableDirective,
|
38
|
-
* }],
|
39
|
-
* })
|
40
|
-
* export class CustomComponent {
|
41
|
-
* constructor(private openDirective: DaffOpenableDirective) {}
|
42
|
-
*
|
43
|
-
* toggle() {
|
44
|
-
* this.openDirective.toggle();
|
45
|
-
* }
|
46
|
-
* }
|
47
|
-
* ```
|
48
|
-
*/
|
49
|
-
export class DaffOpenableDirective {
|
50
|
-
constructor() {
|
51
|
-
/** Whether or not a component implementing the directive is open */
|
52
|
-
this.open = false;
|
53
|
-
/** Whether or not a component should handle state
|
54
|
-
*
|
55
|
-
* ```ts
|
56
|
-
* constructor(private openDirective: DaffOpenableDirective) {
|
57
|
-
* this.openDirective.stateless = false;
|
58
|
-
* }
|
59
|
-
* ```
|
60
|
-
*/
|
61
|
-
this.stateless = true;
|
62
|
-
/**
|
63
|
-
* Event fired when a component is opened (true) or closed (false)
|
64
|
-
*/
|
65
|
-
this.toggled = new EventEmitter();
|
66
|
-
}
|
67
|
-
_setOpen(v) {
|
68
|
-
if (!this.stateless) {
|
69
|
-
this.open = v;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
/**
|
73
|
-
* Open the component
|
74
|
-
*/
|
75
|
-
reveal() {
|
76
|
-
this._setOpen(true);
|
77
|
-
this.toggled.emit(true);
|
78
|
-
}
|
79
|
-
/**
|
80
|
-
* Close the component
|
81
|
-
*/
|
82
|
-
hide() {
|
83
|
-
this._setOpen(false);
|
84
|
-
this.toggled.emit(false);
|
85
|
-
}
|
86
|
-
/**
|
87
|
-
* Open or close the component, depending on if it's currently open or not
|
88
|
-
*/
|
89
|
-
toggle() {
|
90
|
-
const state = !this.open;
|
91
|
-
this._setOpen(state);
|
92
|
-
this.toggled.emit(state);
|
93
|
-
}
|
94
|
-
ngOnChanges(changes) {
|
95
|
-
/**
|
96
|
-
* Throw an error if open is set in a component that is not stateless
|
97
|
-
*/
|
98
|
-
if (changes.open.currentValue && !this.stateless) {
|
99
|
-
this.open = changes.open.previousValue;
|
100
|
-
if (isDevMode()) {
|
101
|
-
throw new Error(DaffOpenableStateError);
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOpenableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
106
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffOpenableDirective, isStandalone: true, selector: "[daffOpenable]", inputs: { open: "open" }, outputs: { toggled: "toggled" }, host: { properties: { "class.daff-open": "this.open" } }, usesOnChanges: true, ngImport: i0 }); }
|
107
|
-
}
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffOpenableDirective, decorators: [{
|
109
|
-
type: Directive,
|
110
|
-
args: [{
|
111
|
-
selector: '[daffOpenable]',
|
112
|
-
standalone: true,
|
113
|
-
}]
|
114
|
-
}], propDecorators: { open: [{
|
115
|
-
type: Input
|
116
|
-
}, {
|
117
|
-
type: HostBinding,
|
118
|
-
args: ['class.daff-open']
|
119
|
-
}], toggled: [{
|
120
|
-
type: Output
|
121
|
-
}] } });
|
122
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlbmFibGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2NvcmUvb3BlbmFibGUvb3BlbmFibGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQ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