@daffodil/design 0.80.0 → 0.81.1
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,86 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy, TemplateRef, ViewChild, Input, } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
let tabId = 1;
|
4
|
-
/**
|
5
|
-
* `DaffTabComponet` is an element in the tab list that is used as a content container to group the label of a tab panel and the tab panel together.
|
6
|
-
*
|
7
|
-
* ## Template Structure
|
8
|
-
* A `<daff-tab>` should include the {@link DaffTabLabelComponent} and {@link DaffTabPanelComponent} components in order to properly structure the UI.
|
9
|
-
*
|
10
|
-
* ## Usage
|
11
|
-
* ```html
|
12
|
-
* <daff-tab>
|
13
|
-
* <daff-tab-label>
|
14
|
-
* <fa-icon [icon]="faInfoCircle" daffPrefix></fa-icon>
|
15
|
-
* Tab 1
|
16
|
-
* </daff-tab-label>
|
17
|
-
* <daff-tab-panel>
|
18
|
-
* Tab 1 Panel
|
19
|
-
* </daff-tab-panel>
|
20
|
-
* </daff-tab>
|
21
|
-
* ```
|
22
|
-
*/
|
23
|
-
export class DaffTabComponent {
|
24
|
-
constructor() {
|
25
|
-
/**
|
26
|
-
* Whether the tab is disabled.
|
27
|
-
*
|
28
|
-
* ```html
|
29
|
-
* <daff-tab [disabled]="true">
|
30
|
-
* </daff-tab>
|
31
|
-
* ```
|
32
|
-
*/
|
33
|
-
this.disabled = false;
|
34
|
-
/**
|
35
|
-
* A unique id for the tab component.
|
36
|
-
*
|
37
|
-
* The `id` is automatically generated by linking the prefix 'daff-tab-' with an incrementing `tabId`. This value can be customized by passing a different `id` value via the component's `id` input.
|
38
|
-
*
|
39
|
-
* ```html
|
40
|
-
* <daff-tab [id]="'custom-id'"></daff-tab>
|
41
|
-
* ```
|
42
|
-
*/
|
43
|
-
this.id = 'daff-tab-' + tabId;
|
44
|
-
/**
|
45
|
-
* @docs-private
|
46
|
-
*/
|
47
|
-
this.panelId = 'daff-tab-panel-' + tabId;
|
48
|
-
tabId++;
|
49
|
-
}
|
50
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
51
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffTabComponent, isStandalone: true, selector: "daff-tab", inputs: { disabled: "disabled", id: "id" }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, read: TemplateRef, static: true }, { propertyName: "labelRef", first: true, predicate: ["label"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
|
52
|
-
<ng-template #label>
|
53
|
-
<ng-content select="daff-tab-label"></ng-content>
|
54
|
-
</ng-template>
|
55
|
-
<ng-template #content>
|
56
|
-
<ng-content select="daff-tab-panel"></ng-content>
|
57
|
-
</ng-template>
|
58
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
59
|
-
}
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabComponent, decorators: [{
|
61
|
-
type: Component,
|
62
|
-
args: [{
|
63
|
-
standalone: true,
|
64
|
-
selector: 'daff-tab',
|
65
|
-
template: `
|
66
|
-
<ng-template #label>
|
67
|
-
<ng-content select="daff-tab-label"></ng-content>
|
68
|
-
</ng-template>
|
69
|
-
<ng-template #content>
|
70
|
-
<ng-content select="daff-tab-panel"></ng-content>
|
71
|
-
</ng-template>
|
72
|
-
`,
|
73
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
74
|
-
}]
|
75
|
-
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
76
|
-
type: Input
|
77
|
-
}], contentRef: [{
|
78
|
-
type: ViewChild,
|
79
|
-
args: ['content', { read: TemplateRef, static: true }]
|
80
|
-
}], labelRef: [{
|
81
|
-
type: ViewChild,
|
82
|
-
args: ['label', { read: TemplateRef, static: true }]
|
83
|
-
}], id: [{
|
84
|
-
type: Input
|
85
|
-
}] } });
|
86
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RhYnMvc3JjL3RhYnMvdGFiL3RhYi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsV0FBVyxFQUNYLFNBQVMsRUFDVCxLQUFLLEdBQ04sTUFBTSxlQUFlLENBQUM7O0FBRXZCLElBQUksS0FBSyxHQUFHLENBQUMsQ0FBQztBQUVkOzs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FrQkc7QUFjSCxNQUFNLE9BQU8sZ0JBQWdCO0lBcUMzQjtRQXBDQTs7Ozs7OztXQU9HO1FBQ00sYUFBUSxHQUFHLEtBQUssQ0FBQztRQVkxQjs7Ozs7Ozs7V0FRRztRQUNNLE9BQUUsR0FBRyxXQUFXLEdBQUcsS0FBSyxDQUFDO1FBRWxDOztXQUVHO1FBQ0gsWUFBTyxHQUFHLGlCQUF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0KCkgaWQgPSAnZGFmZi10YWItJyArIHRhYklkO1xuXG4gIC8qKlxuICAgKiBAZG9jcy1wcml2YXRlXG4gICAqL1xuICBwYW5lbElkID0gJ2RhZmYtdGFiLXBhbmVsLScgKyB0YWJJZDtcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgICB0YWJJZCsrO1xuICB9XG59XG4iXX0=
|
@@ -1,84 +0,0 @@
|
|
1
|
-
import { HostBinding, Input, Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, } from '@angular/core';
|
2
|
-
import { DaffSelectableDirective } from '@daffodil/design';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@daffodil/design";
|
5
|
-
export class DaffTabActivatorComponent {
|
6
|
-
/**
|
7
|
-
* Sets `aria-selected` to true if the component is selected and false if it's not selected.
|
8
|
-
*/
|
9
|
-
get ariaSelected() {
|
10
|
-
return this.selectableDirective.selected ? true : false;
|
11
|
-
}
|
12
|
-
/**
|
13
|
-
* Sets `tabindex` to `0` if the component is selected and `-1` if it's not selected.
|
14
|
-
*/
|
15
|
-
get tabIndex() {
|
16
|
-
return this.selectableDirective.selected ? '0' : '-1';
|
17
|
-
}
|
18
|
-
constructor(el, selectableDirective) {
|
19
|
-
this.el = el;
|
20
|
-
this.selectableDirective = selectableDirective;
|
21
|
-
/**
|
22
|
-
* @docs-private
|
23
|
-
*/
|
24
|
-
this.class = true;
|
25
|
-
/**
|
26
|
-
* Sets the `role` to tab.
|
27
|
-
*/
|
28
|
-
this.role = 'tab';
|
29
|
-
this.ariaControls = '';
|
30
|
-
/**
|
31
|
-
* The html id of the tab activator component
|
32
|
-
*/
|
33
|
-
this.tabActivatorId = '';
|
34
|
-
this.panelId = '';
|
35
|
-
}
|
36
|
-
ngOnInit() {
|
37
|
-
/**
|
38
|
-
* Sets the value of `panelId` to the `ariaControls` property
|
39
|
-
*/
|
40
|
-
this.ariaControls = this.panelId;
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* Sets focus to the native element of the component
|
44
|
-
*/
|
45
|
-
focus() {
|
46
|
-
this.el.nativeElement.focus();
|
47
|
-
}
|
48
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabActivatorComponent, deps: [{ token: i0.ElementRef }, { token: i1.DaffSelectableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
49
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffTabActivatorComponent, isStandalone: true, selector: "button[daff-tab-activator],a[daff-tab-activator]", inputs: { tabActivatorId: "tabActivatorId", panelId: "panelId" }, host: { properties: { "class.daff-tab-activator": "this.class", "attr.role": "this.role", "attr.aria-selected": "this.ariaSelected", "attr.tabindex": "this.tabIndex", "attr.aria-controls": "this.ariaControls", "attr.id": "this.tabActivatorId" } }, hostDirectives: [{ directive: i1.DaffSelectableDirective, inputs: ["selected", "selected"] }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [".daff-tab-activator{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;appearance:none;background:none;border:none;color:currentColor;font-size:1rem;line-height:1.5rem;font-weight:400;height:2.5rem;margin:0;padding:.5rem 1.5rem}.daff-tab-activator[disabled]{cursor:not-allowed;opacity:.6}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
50
|
-
}
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabActivatorComponent, decorators: [{
|
52
|
-
type: Component,
|
53
|
-
args: [{ standalone: true, selector: '' +
|
54
|
-
'button[daff-tab-activator]' + ',' +
|
55
|
-
'a[daff-tab-activator]', template: `<ng-content></ng-content>`, hostDirectives: [
|
56
|
-
{
|
57
|
-
directive: DaffSelectableDirective,
|
58
|
-
inputs: ['selected'],
|
59
|
-
},
|
60
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".daff-tab-activator{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;appearance:none;background:none;border:none;color:currentColor;font-size:1rem;line-height:1.5rem;font-weight:400;height:2.5rem;margin:0;padding:.5rem 1.5rem}.daff-tab-activator[disabled]{cursor:not-allowed;opacity:.6}\n"] }]
|
61
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.DaffSelectableDirective }], propDecorators: { class: [{
|
62
|
-
type: HostBinding,
|
63
|
-
args: ['class.daff-tab-activator']
|
64
|
-
}], role: [{
|
65
|
-
type: HostBinding,
|
66
|
-
args: ['attr.role']
|
67
|
-
}], ariaSelected: [{
|
68
|
-
type: HostBinding,
|
69
|
-
args: ['attr.aria-selected']
|
70
|
-
}], tabIndex: [{
|
71
|
-
type: HostBinding,
|
72
|
-
args: ['attr.tabindex']
|
73
|
-
}], ariaControls: [{
|
74
|
-
type: HostBinding,
|
75
|
-
args: ['attr.aria-controls']
|
76
|
-
}], tabActivatorId: [{
|
77
|
-
type: Input
|
78
|
-
}, {
|
79
|
-
type: HostBinding,
|
80
|
-
args: ['attr.id']
|
81
|
-
}], panelId: [{
|
82
|
-
type: Input
|
83
|
-
}] } });
|
84
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWFjdGl2YXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90YWJzL3NyYy90YWJzL3RhYi1hY3RpdmF0b3IvdGFiLWFjdGl2YXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFdBQVcsRUFDWCxLQUFLLEVBRUwsU0FBUyxFQUNULHVCQUF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pIHtcbiAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuZm9jdXMoKTtcbiAgfVxufVxuIl19
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { NgIf } from '@angular/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, ContentChild, } from '@angular/core';
|
3
|
-
import { DaffPrefixDirective, DaffSuffixDirective, DaffPrefixSuffixModule, } from '@daffodil/design';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* DaffTabLabelComponent is used to display the label of a tab panel. Labels may optionally contain a `daffPrefix` or `daffSuffix` to add icons or badges.
|
7
|
-
*
|
8
|
-
* ```html
|
9
|
-
* <daff-tab-label>
|
10
|
-
* <div daffPrefix></div>
|
11
|
-
* Label
|
12
|
-
* <div daffSuffix></div
|
13
|
-
* </daff-tab-Label>
|
14
|
-
* ```
|
15
|
-
*/
|
16
|
-
export class DaffTabLabelComponent {
|
17
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
18
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffTabLabelComponent, isStandalone: true, selector: "daff-tab-label", queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }, { propertyName: "_suffix", first: true, predicate: DaffSuffixDirective, descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-tab-label__content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [":host{display:flex;gap:8px}.daff-tab-label__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
19
|
-
}
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabLabelComponent, decorators: [{
|
21
|
-
type: Component,
|
22
|
-
args: [{ standalone: true, selector: 'daff-tab-label', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
23
|
-
NgIf,
|
24
|
-
DaffPrefixSuffixModule,
|
25
|
-
], template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-tab-label__content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [":host{display:flex;gap:8px}.daff-tab-label__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}\n"] }]
|
26
|
-
}], propDecorators: { _prefix: [{
|
27
|
-
type: ContentChild,
|
28
|
-
args: [DaffPrefixDirective]
|
29
|
-
}], _suffix: [{
|
30
|
-
type: ContentChild,
|
31
|
-
args: [DaffSuffixDirective]
|
32
|
-
}] } });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWxhYmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RhYnMvc3JjL3RhYnMvdGFiLWxhYmVsL3RhYi1sYWJlbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90YWJzL3NyYy90YWJzL3RhYi1sYWJlbC90YWItbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYX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XG59XG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiX3ByZWZpeFwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJbZGFmZlByZWZpeF1cIj48L25nLWNvbnRlbnQ+XG48L25nLWNvbnRhaW5lcj5cbjxkaXYgY2xhc3M9XCJkYWZmLXRhYi1sYWJlbF9fY29udGVudFwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbjxuZy1jb250YWluZXIgKm5nSWY9XCJfc3VmZml4XCI+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIltkYWZmU3VmZml4XVwiPjwvbmctY29udGVudD5cbjwvbmctY29udGFpbmVyPiJdfQ==
|
@@ -1,68 +0,0 @@
|
|
1
|
-
import { Component, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
|
2
|
-
import { DaffTabComponent } from '../tab/tab.component';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "../tab/tab.component";
|
5
|
-
/**
|
6
|
-
* DaffTabPanelComponent is used to display the content panel of a tab.
|
7
|
-
*
|
8
|
-
* ```html
|
9
|
-
* <daff-tab-panel>
|
10
|
-
* <!-- Tab panel content goes here -->
|
11
|
-
* </daff-tab-panel>
|
12
|
-
* ```
|
13
|
-
*/
|
14
|
-
export class DaffTabPanelComponent {
|
15
|
-
/**
|
16
|
-
* Dynamically binds the tab panel's id to a unique value generated from the associated tab's panelId.
|
17
|
-
*/
|
18
|
-
get tabPanelId() {
|
19
|
-
return this._id;
|
20
|
-
}
|
21
|
-
constructor(tab) {
|
22
|
-
this.tab = tab;
|
23
|
-
/**
|
24
|
-
* @docs-private
|
25
|
-
*/
|
26
|
-
this.class = true;
|
27
|
-
/**
|
28
|
-
* Sets the `role` to tabpanel.
|
29
|
-
*/
|
30
|
-
this.role = 'tabpanel';
|
31
|
-
/**
|
32
|
-
* `aria-labelledby` for the tab.
|
33
|
-
*/
|
34
|
-
this.ariaLabelledBy = '';
|
35
|
-
/**
|
36
|
-
* Sets the `tabindex` to 0.
|
37
|
-
*/
|
38
|
-
this.tabIndex = '0';
|
39
|
-
this._id = '';
|
40
|
-
/**
|
41
|
-
* Sets the value of `ariaLabelledBy` to the id of the tab component.
|
42
|
-
*/
|
43
|
-
this.ariaLabelledBy = this.tab.id;
|
44
|
-
this._id = this.tab.panelId;
|
45
|
-
}
|
46
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabPanelComponent, deps: [{ token: i1.DaffTabComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
47
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffTabPanelComponent, isStandalone: true, selector: "daff-tab-panel", host: { properties: { "class.daff-tab-panel": "this.class", "attr.role": "this.role", "attr.aria-labelledby": "this.ariaLabelledBy", "attr.tabindex": "this.tabIndex", "attr.id": "this.tabPanelId" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host(.daff-tab-panel){display:block;padding:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
48
|
-
}
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabPanelComponent, decorators: [{
|
50
|
-
type: Component,
|
51
|
-
args: [{ standalone: true, selector: 'daff-tab-panel', template: `<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host(.daff-tab-panel){display:block;padding:1rem}\n"] }]
|
52
|
-
}], ctorParameters: () => [{ type: i1.DaffTabComponent }], propDecorators: { class: [{
|
53
|
-
type: HostBinding,
|
54
|
-
args: ['class.daff-tab-panel']
|
55
|
-
}], role: [{
|
56
|
-
type: HostBinding,
|
57
|
-
args: ['attr.role']
|
58
|
-
}], ariaLabelledBy: [{
|
59
|
-
type: HostBinding,
|
60
|
-
args: ['attr.aria-labelledby']
|
61
|
-
}], tabIndex: [{
|
62
|
-
type: HostBinding,
|
63
|
-
args: ['attr.tabindex']
|
64
|
-
}], tabPanelId: [{
|
65
|
-
type: HostBinding,
|
66
|
-
args: ['attr.id']
|
67
|
-
}] } });
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXBhbmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RhYnMvc3JjL3RhYnMvdGFiLXBhbmVsL3RhYi1wYW5lbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxXQUFXLEVBQ1gsdUJBQXVCLEdBQ3hCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDOzs7QUFFeEQ7Ozs7Ozs7O0dBUUc7QUFRSCxNQUFNLE9BQU8scUJBQXFCO0lBdUJoQzs7T0FFRztJQUNILElBQTRCLFVBQVU7UUFDcEMsT0FBTyxJQUFJLENBQUMsR0FBRyxDQUFDO0lBQ2xCLENBQUM7SUFFRCxZQUFvQixHQUFxQjtRQUFyQixRQUFHLEdBQUgsR0FBRyxDQUFrQjtRQTdCekM7O1dBRUc7UUFDMEMsVUFBSyxHQUFHLElBQUksQ0FBQztRQUUxRDs7V0FFRztRQUN1QixTQUFJLEdBQUcsVUFBVSxDQUFDO1FBRTVDOztXQUVHO1FBQ2tDLG1CQUFjLEdBQUcsRUFBRSxDQUFDO1FBRXpEOztXQUVHO1FBQzJCLGFBQVEsR0FBRyxHQUFHLENBQUM7UUFFckMsUUFBRyxHQUFHLEVBQUUsQ0FBQztRQVVmOztXQUVHO1FBQ0gsSUFBSSxDQUFDLGNBQWMsR0FBRyxJQUFJLENBQUMs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0aGlzLl9pZDtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgdGFiOiBEYWZmVGFiQ29tcG9uZW50KSB7XG4gICAgLyoqXG4gICAgICogU2V0cyB0aGUgdmFsdWUgb2YgYGFyaWFMYWJlbGxlZEJ5YCB0byB0aGUgaWQgb2YgdGhlIHRhYiBjb21wb25lbnQuXG4gICAgICovXG4gICAgdGhpcy5hcmlhTGFiZWxsZWRCeSA9IHRoaXMudGFiLmlkO1xuXG4gICAgdGhpcy5faWQgPSB0aGlzLnRhYi5wYW5lbElkO1xuICB9XG59XG4iXX0=
|
@@ -1,157 +0,0 @@
|
|
1
|
-
import { NgTemplateOutlet } from '@angular/common';
|
2
|
-
import { Component, HostBinding, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, QueryList, Input, Output, EventEmitter, ViewChildren, ChangeDetectorRef, } from '@angular/core';
|
3
|
-
import { DaffTabComponent } from './tab/tab.component';
|
4
|
-
import { DaffTabActivatorComponent } from './tab-activator/tab-activator.component';
|
5
|
-
import { DaffTabLabelComponent } from './tab-label/tab-label.component';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
/**
|
8
|
-
* Tabs provide a way to navigate between panels that display related content.
|
9
|
-
*
|
10
|
-
* ## Usage
|
11
|
-
* ```html
|
12
|
-
* <daff-tabs aria-label="List of tabs">
|
13
|
-
* <daff-tab>
|
14
|
-
* <daff-tab-label>
|
15
|
-
* <fa-icon [icon]="faInfoCircle" daffPrefix></fa-icon>
|
16
|
-
* Tab 1
|
17
|
-
* </daff-tab-label>
|
18
|
-
* <daff-tab-panel>
|
19
|
-
* Tab 1 Panel
|
20
|
-
* </daff-tab-panel>
|
21
|
-
* </daff-tab>
|
22
|
-
* <daff-tab>
|
23
|
-
* <daff-tab-label>
|
24
|
-
* Tab 2
|
25
|
-
* <fa-icon [icon]="faInfoCircle" daffSuffix></fa-icon>
|
26
|
-
* </daff-tab-label>
|
27
|
-
* <daff-tab-panel>
|
28
|
-
* Tab 2 Panel
|
29
|
-
* </daff-tab-panel>
|
30
|
-
* </daff-tab>
|
31
|
-
* </daff-tabs>
|
32
|
-
* ```
|
33
|
-
*/
|
34
|
-
export class DaffTabsComponent {
|
35
|
-
constructor(cdRef) {
|
36
|
-
this.cdRef = cdRef;
|
37
|
-
/**
|
38
|
-
* @docs-private
|
39
|
-
*/
|
40
|
-
this.class = true;
|
41
|
-
/**
|
42
|
-
* The tab that is initially selected on initial load. If it's not used, the first tab in the tablist will be selected by default.
|
43
|
-
*/
|
44
|
-
this.initiallySelected = null;
|
45
|
-
/**
|
46
|
-
* @docs-private
|
47
|
-
*/
|
48
|
-
this.externalAriaLabel = null;
|
49
|
-
/**
|
50
|
-
* aria-label for the tab.
|
51
|
-
*/
|
52
|
-
this.ariaLabel = '';
|
53
|
-
/**
|
54
|
-
* Event emitted when tab selection changes.
|
55
|
-
*/
|
56
|
-
this.tabChange = new EventEmitter();
|
57
|
-
}
|
58
|
-
/**
|
59
|
-
* @docs-private
|
60
|
-
*/
|
61
|
-
ngAfterContentInit() {
|
62
|
-
if (this.initiallySelected) {
|
63
|
-
this.selectedTab = this.initiallySelected;
|
64
|
-
}
|
65
|
-
if (!this.selectedTab) {
|
66
|
-
this.selectedTab = this._tabs.first.id;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* Selects a tab and sets focus on the selected tab.
|
71
|
-
*/
|
72
|
-
select(tabId) {
|
73
|
-
const tabActivator = this._tabActivators.find(el => el.tabActivatorId === tabId);
|
74
|
-
if (!tabActivator) {
|
75
|
-
console.warn(`The tab '${tabId}' was not able to be selected because it does not exist. Check the id on your <daff-tab>s.`);
|
76
|
-
return;
|
77
|
-
}
|
78
|
-
this.tabChange.emit(tabId);
|
79
|
-
this.selectedTab = tabId;
|
80
|
-
this.cdRef.markForCheck();
|
81
|
-
tabActivator.focus();
|
82
|
-
}
|
83
|
-
/**
|
84
|
-
* Navigates through the tabs based on the given offset.
|
85
|
-
* Moves forward or backward in the tab array, wrapping around when necessary.
|
86
|
-
*/
|
87
|
-
navigateTabs(offset) {
|
88
|
-
const array = this._tabs.toArray();
|
89
|
-
let selectedIndex = array.findIndex(el => el.id === this.selectedTab);
|
90
|
-
const startingIndex = selectedIndex;
|
91
|
-
let newIndex;
|
92
|
-
do {
|
93
|
-
newIndex = (selectedIndex + offset + array.length) % array.length;
|
94
|
-
selectedIndex = newIndex;
|
95
|
-
} while (array[newIndex].disabled && selectedIndex !== startingIndex); // Skip disabled tabs
|
96
|
-
this.select(array[newIndex].id);
|
97
|
-
}
|
98
|
-
/**
|
99
|
-
* Selects the previous tab and wraps around to the last tab if the first tab is currently selected.
|
100
|
-
*/
|
101
|
-
previous() {
|
102
|
-
this.navigateTabs(-1);
|
103
|
-
}
|
104
|
-
/**
|
105
|
-
* Selects the next tab and wraps around to the first tab if the last tab is currently selected.
|
106
|
-
*/
|
107
|
-
next() {
|
108
|
-
this.navigateTabs(1);
|
109
|
-
}
|
110
|
-
/**
|
111
|
-
* Selects the first tab.
|
112
|
-
*/
|
113
|
-
selectFirst(event) {
|
114
|
-
event.preventDefault();
|
115
|
-
this.select(this._tabs.toArray()[0].id);
|
116
|
-
}
|
117
|
-
/**
|
118
|
-
* Selects the last tab.
|
119
|
-
*/
|
120
|
-
selectLast(event) {
|
121
|
-
event.preventDefault();
|
122
|
-
const array = this._tabs.toArray();
|
123
|
-
this.select(array[array.length - 1].id);
|
124
|
-
}
|
125
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
126
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.2", type: DaffTabsComponent, isStandalone: true, selector: "daff-tabs", inputs: { initiallySelected: "initiallySelected", ariaLabel: ["aria-label", "ariaLabel"] }, outputs: { tabChange: "tabChange" }, host: { properties: { "class.daff-tabs": "this.class", "attr.aria-label": "this.externalAriaLabel" } }, queries: [{ propertyName: "_labels", predicate: DaffTabLabelComponent, descendants: true }, { propertyName: "_tabs", predicate: DaffTabComponent }], viewQueries: [{ propertyName: "_tabActivators", predicate: DaffTabActivatorComponent, descendants: true }], ngImport: i0, template: "<div class=\"daff-tabs__tab-list\"\n\trole=\"tablist\"\n\t[attr.aria-label]=\"ariaLabel\"\n\t(keydown.home)=\"selectFirst($event)\"\n\t(keydown.end)=\"selectLast($event)\">\n\t@for (tab of _tabs; track tab) {\n\t\t<button daff-tab-activator\n\t\t\t[selected]=\"tab.id === selectedTab\"\n\t\t\t(click)=\"select(tab.id)\"\n\t\t\t[panelId]=\"tab.panelId\"\n\t\t\t[disabled]=\"tab.disabled\"\n\t\t\t[tabActivatorId]=\"tab.id\"\n\t\t\t(keydown.arrowright)=\"next()\"\n\t\t\t(keydown.arrowleft)=\"previous()\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"tab.labelRef\"></ng-container>\n\t\t</button>\n\t}\n</div>\n\n@for (tab of _tabs; track tab) {\n\t@if(tab.id === selectedTab ) {\n\t\t<ng-container *ngTemplateOutlet=\"tab.contentRef\"></ng-container>\n\t}\n}", styles: [":host(.daff-tabs){max-width:100%}.daff-tabs{display:block}.daff-tabs .daff-tabs__tab-list{display:flex;overflow-x:auto;scrollbar-width:thin}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DaffTabActivatorComponent, selector: "button[daff-tab-activator],a[daff-tab-activator]", inputs: ["tabActivatorId", "panelId"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
127
|
-
}
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTabsComponent, decorators: [{
|
129
|
-
type: Component,
|
130
|
-
args: [{ selector: 'daff-tabs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
131
|
-
NgTemplateOutlet,
|
132
|
-
DaffTabActivatorComponent,
|
133
|
-
], template: "<div class=\"daff-tabs__tab-list\"\n\trole=\"tablist\"\n\t[attr.aria-label]=\"ariaLabel\"\n\t(keydown.home)=\"selectFirst($event)\"\n\t(keydown.end)=\"selectLast($event)\">\n\t@for (tab of _tabs; track tab) {\n\t\t<button daff-tab-activator\n\t\t\t[selected]=\"tab.id === selectedTab\"\n\t\t\t(click)=\"select(tab.id)\"\n\t\t\t[panelId]=\"tab.panelId\"\n\t\t\t[disabled]=\"tab.disabled\"\n\t\t\t[tabActivatorId]=\"tab.id\"\n\t\t\t(keydown.arrowright)=\"next()\"\n\t\t\t(keydown.arrowleft)=\"previous()\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"tab.labelRef\"></ng-container>\n\t\t</button>\n\t}\n</div>\n\n@for (tab of _tabs; track tab) {\n\t@if(tab.id === selectedTab ) {\n\t\t<ng-container *ngTemplateOutlet=\"tab.contentRef\"></ng-container>\n\t}\n}", styles: [":host(.daff-tabs){max-width:100%}.daff-tabs{display:block}.daff-tabs .daff-tabs__tab-list{display:flex;overflow-x:auto;scrollbar-width:thin}\n"] }]
|
134
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { class: [{
|
135
|
-
type: HostBinding,
|
136
|
-
args: ['class.daff-tabs']
|
137
|
-
}], initiallySelected: [{
|
138
|
-
type: Input
|
139
|
-
}], externalAriaLabel: [{
|
140
|
-
type: HostBinding,
|
141
|
-
args: ['attr.aria-label']
|
142
|
-
}], ariaLabel: [{
|
143
|
-
type: Input,
|
144
|
-
args: ['aria-label']
|
145
|
-
}], tabChange: [{
|
146
|
-
type: Output
|
147
|
-
}], _labels: [{
|
148
|
-
type: ContentChildren,
|
149
|
-
args: [DaffTabLabelComponent, { descendants: true }]
|
150
|
-
}], _tabs: [{
|
151
|
-
type: ContentChildren,
|
152
|
-
args: [DaffTabComponent]
|
153
|
-
}], _tabActivators: [{
|
154
|
-
type: ViewChildren,
|
155
|
-
args: [DaffTabActivatorComponent]
|
156
|
-
}] } });
|
157
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90YWJzL3NyYy90YWJzL3RhYnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vdGFicy9zcmMvdGFicy90YWJzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ25ELE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxFQUNYLGlCQUFpQixFQUNqQix1QkFBdUIsRUFDdkIsZUFBZSxFQUNmLFNBQVMsRUFFVCxLQUFLLEVBQ0wsTUFBTSxFQUNOLFlBQVksRUFDWixZQUFZLEVBQ1osaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDOztBQUV4RTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0EwQkc7QUFjSCxNQUFNLE9BQU8saUJBQWlCO0lBOEM1QixZQUFvQixLQUF3QjtRQUF4QixVQUFLLEdBQUwsS0FBSyxDQUFtQj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B0YWIpIHtcblx0QGlmKHRhYi5pZCA9PT0gc2VsZWN0ZWRUYWIgKSB7XG5cdFx0PG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInRhYi5jb250ZW50UmVmXCI+PC9uZy1jb250YWluZXI+XG5cdH1cbn0iXX0=
|
package/esm2022/tabs/tabs.mjs
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { DaffPrefixSuffixModule } from '@daffodil/design';
|
2
|
-
import { DaffTabComponent } from './tabs/tab/tab.component';
|
3
|
-
import { DaffTabLabelComponent } from './tabs/tab-label/tab-label.component';
|
4
|
-
import { DaffTabPanelComponent } from './tabs/tab-panel/tab-panel.component';
|
5
|
-
import { DaffTabsComponent } from './tabs/tabs.component';
|
6
|
-
export const DAFF_TABS_COMPONENTS = [
|
7
|
-
DaffTabsComponent,
|
8
|
-
DaffTabLabelComponent,
|
9
|
-
DaffTabPanelComponent,
|
10
|
-
DaffPrefixSuffixModule,
|
11
|
-
DaffTabComponent,
|
12
|
-
];
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RhYnMvc3JjL3RhYnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFMUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDNUQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDN0UsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDN0UsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFMUQsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQVU7SUFDekMsaUJBQWlCO0lBQ2pCLHFCQUFxQjtJQUNyQixxQkFBcUI7SUFDckIsc0JBQXNCO0lBQ3RCLGdCQUFnQjtDQUNqQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGFmZlByZWZpeFN1ZmZpeE1vZHVsZSB9IGZyb20gJ0BkYWZmb2RpbC9kZXNpZ24nO1xuXG5pbXBvcnQgeyBEYWZmVGFiQ29tcG9uZW50IH0gZnJvbSAnLi90YWJzL3RhYi90YWIuY29tcG9uZW50JztcbmltcG9ydCB7IERhZmZUYWJMYWJlbENvbXBvbmVudCB9IGZyb20gJy4vdGFicy90YWItbGFiZWwvdGFiLWxhYmVsLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBEYWZmVGFiUGFuZWxDb21wb25lbnQgfSBmcm9tICcuL3RhYnMvdGFiLXBhbmVsL3RhYi1wYW5lbC5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGFmZlRhYnNDb21wb25lbnQgfSBmcm9tICcuL3RhYnMvdGFicy5jb21wb25lbnQnO1xuXG5leHBvcnQgY29uc3QgREFGRl9UQUJTX0NPTVBPTkVOVFMgPSA8Y29uc3Q+W1xuICBEYWZmVGFic0NvbXBvbmVudCxcbiAgRGFmZlRhYkxhYmVsQ29tcG9uZW50LFxuICBEYWZmVGFiUGFuZWxDb21wb25lbnQsXG4gIERhZmZQcmVmaXhTdWZmaXhNb2R1bGUsXG4gIERhZmZUYWJDb21wb25lbnQsXG5dO1xuIl19
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFmZm9kaWwtZGVzaWduLXRleHQtc25pcHBldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9zcmMvZGFmZm9kaWwtZGVzaWduLXRleHQtc25pcHBldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
-
import { DaffTextSnippetComponent } from '@daffodil/design/text-snippet';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class BasicTextSnippetComponent {
|
5
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicTextSnippetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
6
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: BasicTextSnippetComponent, isStandalone: true, selector: "basic-text-snippet", ngImport: i0, template: "<daff-text-snippet>\n\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n</daff-text-snippet>", dependencies: [{ kind: "component", type: DaffTextSnippetComponent, selector: "daff-text-snippet", inputs: ["condensed", "html"], outputs: ["toggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
7
|
-
}
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: BasicTextSnippetComponent, decorators: [{
|
9
|
-
type: Component,
|
10
|
-
args: [{ selector: 'basic-text-snippet', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
11
|
-
DaffTextSnippetComponent,
|
12
|
-
], template: "<daff-text-snippet>\n\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n</daff-text-snippet>" }]
|
13
|
-
}] });
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtdGV4dC1zbmlwcGV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9leGFtcGxlcy9zcmMvYmFzaWMtdGV4dC1zbmlwcGV0L2Jhc2ljLXRleHQtc25pcHBldC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90ZXh0LXNuaXBwZXQvZXhhbXBsZXMvc3JjL2Jhc2ljLXRleHQtc25pcHBldC9iYXNpYy10ZXh0LXNuaXBwZXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0JBQStCLENBQUM7O0FBWXpFLE1BQU0sT0FBTyx5QkFBeUI7aUlBQXpCLHlCQUF5Qj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YS4gVXQgZW5pbSBhZCBtaW5pbSB2ZW5pYW0sIHF1aXMgbm9zdHJ1ZCBleGVyY2l0YXRpb24gdWxsYW1jbyBsYWJvcmlzIG5pc2kgdXQgYWxpcXVpcCBleCBlYSBjb21tb2RvIGNvbnNlcXVhdC4gRHVpcyBhdXRlIGlydXJlIGRvbG9yIGluIHJlcHJlaGVuZGVyaXQgaW4gdm9sdXB0YXRlIHZlbGl0IGVzc2UgY2lsbHVtIGRvbG9yZSBldSBmdWdpYXQgbnVsbGEgcGFyaWF0dXIuIEV4Y2VwdGV1ciBzaW50IG9jY2FlY2F0IGN1cGlkYXRhdCBub24gcHJvaWRlbnQsIHN1bnQgaW4gY3VscGEgcXVpIG9mZmljaWEgZGVzZXJ1bnQgbW9sbGl0IGFuaW0gaWQgZXN0IGxhYm9ydW0uXG48L2RhZmYtdGV4dC1zbmlwcGV0PiJdfQ==
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFmZm9kaWwtZGVzaWduLXRleHQtc25pcHBldC1leGFtcGxlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9leGFtcGxlcy9zcmMvZGFmZm9kaWwtZGVzaWduLXRleHQtc25pcHBldC1leGFtcGxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export * from './public_api';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90ZXh0LXNuaXBwZXQvZXhhbXBsZXMvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { BasicTextSnippetComponent } from './basic-text-snippet/basic-text-snippet.component';
|
2
|
-
export const TEXT_SNIPPET_EXAMPLES = [
|
3
|
-
BasicTextSnippetComponent,
|
4
|
-
];
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9leGFtcGxlcy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUU5RixNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRztJQUNuQyx5QkFBeUI7Q0FDMUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhc2ljVGV4dFNuaXBwZXRDb21wb25lbnQgfSBmcm9tICcuL2Jhc2ljLXRleHQtc25pcHBldC9iYXNpYy10ZXh0LXNuaXBwZXQuY29tcG9uZW50JztcblxuZXhwb3J0IGNvbnN0IFRFWFRfU05JUFBFVF9FWEFNUExFUyA9IFtcbiAgQmFzaWNUZXh0U25pcHBldENvbXBvbmVudCxcbl07XG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export * from './public_api';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi90ZXh0LXNuaXBwZXQvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export * from './text-snippet.component';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZXh0LXNuaXBwZXQuY29tcG9uZW50JztcbiJdfQ==
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { NgIf } from '@angular/common';
|
2
|
-
import { Component, Input, ChangeDetectionStrategy, EventEmitter, Output, ElementRef, ViewChild, } from '@angular/core';
|
3
|
-
import { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@daffodil/design";
|
6
|
-
import * as i2 from "@daffodil/design/button";
|
7
|
-
export class DaffTextSnippetComponent {
|
8
|
-
constructor() {
|
9
|
-
/**
|
10
|
-
* A property to track whether or not the component
|
11
|
-
* should render a condensed version of the content.
|
12
|
-
*/
|
13
|
-
this.condensed = true;
|
14
|
-
this.html = '';
|
15
|
-
/**
|
16
|
-
* An output event that can be used to track the state of the component externally.
|
17
|
-
*/
|
18
|
-
this.toggle = new EventEmitter();
|
19
|
-
}
|
20
|
-
toggleSnippet() {
|
21
|
-
this.condensed = !this.condensed;
|
22
|
-
this.toggle.emit(this.condensed);
|
23
|
-
}
|
24
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTextSnippetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
25
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffTextSnippetComponent, isStandalone: true, selector: "daff-text-snippet", inputs: { condensed: "condensed", html: "html" }, outputs: { toggle: "toggle" }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["contentEl"], descendants: true, read: ElementRef }, { propertyName: "htmlRef", first: true, predicate: ["htmlEl"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div class=\"daff-text-snippet__content daff-text-snippet__html\" #htmlEl [class.condensed]=\"condensed\" [innerHtml]=\"html\" *ngIf=\"html\"></div>\n<div class=\"daff-text-snippet__content daff-text-snippet__ngcontent\" #contentEl [class.condensed]=\"condensed\" *ngIf=\"!html\">\n <ng-content></ng-content>\n</div>\n<button daff-underline-button color=\"theme-contrast\" [attr.aria-expanded]=\"!condensed ? true : false\" (click)=\"toggleSnippet()\">\n <ng-container *ngIf=\"condensed\">Show More</ng-container>\n <ng-container *ngIf=\"!condensed\">Show Less</ng-container>\n</button>\n", styles: [":host{display:block;position:relative}:host ::ng-deep .daff-text-snippet__content>*:first-child{margin-top:0}:host ::ng-deep .daff-text-snippet__content>*:last-child{margin-bottom:0}:host ::ng-deep h2:first-of-type{margin-top:0}.daff-text-snippet__content{display:block}.daff-text-snippet__content.condensed{display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;width:100%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: i1.DaffPrefixSuffixModule }, { kind: "component", type: i2.DaffUnderlineButtonComponent, selector: "button[daff-underline-button],a[daff-underline-button]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
26
|
-
}
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffTextSnippetComponent, decorators: [{
|
28
|
-
type: Component,
|
29
|
-
args: [{ selector: 'daff-text-snippet', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
30
|
-
NgIf,
|
31
|
-
DAFF_BUTTON_COMPONENTS,
|
32
|
-
], template: "<div class=\"daff-text-snippet__content daff-text-snippet__html\" #htmlEl [class.condensed]=\"condensed\" [innerHtml]=\"html\" *ngIf=\"html\"></div>\n<div class=\"daff-text-snippet__content daff-text-snippet__ngcontent\" #contentEl [class.condensed]=\"condensed\" *ngIf=\"!html\">\n <ng-content></ng-content>\n</div>\n<button daff-underline-button color=\"theme-contrast\" [attr.aria-expanded]=\"!condensed ? true : false\" (click)=\"toggleSnippet()\">\n <ng-container *ngIf=\"condensed\">Show More</ng-container>\n <ng-container *ngIf=\"!condensed\">Show Less</ng-container>\n</button>\n", styles: [":host{display:block;position:relative}:host ::ng-deep .daff-text-snippet__content>*:first-child{margin-top:0}:host ::ng-deep .daff-text-snippet__content>*:last-child{margin-bottom:0}:host ::ng-deep h2:first-of-type{margin-top:0}.daff-text-snippet__content{display:block}.daff-text-snippet__content.condensed{display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;width:100%}\n"] }]
|
33
|
-
}], propDecorators: { condensed: [{
|
34
|
-
type: Input
|
35
|
-
}], html: [{
|
36
|
-
type: Input
|
37
|
-
}], contentRef: [{
|
38
|
-
type: ViewChild,
|
39
|
-
args: ['contentEl', { read: ElementRef }]
|
40
|
-
}], htmlRef: [{
|
41
|
-
type: ViewChild,
|
42
|
-
args: ['htmlEl', { read: ElementRef }]
|
43
|
-
}], toggle: [{
|
44
|
-
type: Output
|
45
|
-
}] } });
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1zbmlwcGV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9zcmMvdGV4dC1zbmlwcGV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RleHQtc25pcHBldC9zcmMvdGV4dC1zbmlwcGV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN2QyxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFDTCx1QkFBdUIsRUFDdkIsWUFBWSxFQUNaLE1BQU0sRUFDTixVQUFVLEVBQ1YsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDOzs7O0FBYWpFLE1BQU0sT0FBTyx3QkFBd0I7SUFYckM7UUFhRTs7O1dBR0c7UUFDTSxjQUFTLEdBQUcsSUFBSSxDQUFDO1FBRWpCLFNBQUksR0FBRyxFQUFFLENBQUM7UUFLbkI7O1dBRUc7UUFDTyxXQUFNLEdBQTBCLElBQUksWUFBWSxFQUFFLENBQUM7S0FNOUQ7SUFKQyxhQUFhO1FBQ1gsSUFBSSxDQUFDLFNBQVMsR0FBRyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUM7UUFD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