@daffodil/design 0.77.0 → 0.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/README.md +40 -2
- package/accordion/accordion/accordion/accordion.component.d.ts +1 -1
- package/accordion/accordion/accordion-item/accordion-item.component.d.ts +19 -8
- package/accordion/accordion/accordion-item-title/accordion-item-title.directive.d.ts +1 -1
- package/accordion/accordion.d.ts +4 -0
- package/accordion/accordion.module.d.ts +6 -7
- package/accordion/examples/basic-accordion/basic-accordion.component.d.ts +1 -1
- package/accordion/examples/public_api.d.ts +0 -1
- package/accordion/public_api.d.ts +1 -0
- package/article/README.md +42 -1
- package/article/article/article.component.d.ts +1 -1
- package/article/article-meta/article-meta.directive.d.ts +1 -1
- package/article/article.d.ts +3 -0
- package/article/article.module.d.ts +5 -4
- package/article/public_api.d.ts +2 -1
- package/button/README.md +41 -0
- package/button/button/button.component.d.ts +1 -1
- package/button/button.d.ts +3 -0
- package/button/button.module.d.ts +4 -4
- package/button/public_api.d.ts +2 -1
- package/callout/README.md +42 -0
- package/callout/callout/callout.component.d.ts +1 -1
- package/callout/callout-body/callout-body.directive.d.ts +1 -1
- package/callout/callout-icon/callout-icon.directive.d.ts +1 -1
- package/callout/callout-subtitle/callout-subtitle.directive.d.ts +1 -1
- package/callout/callout-tagline/callout-tagline.directive.d.ts +1 -1
- package/callout/callout-title/callout-title.directive.d.ts +1 -1
- package/callout/callout.d.ts +7 -0
- package/callout/callout.module.d.ts +9 -8
- package/callout/public_api.d.ts +1 -0
- package/card/README.md +41 -0
- package/card/card/card.component.d.ts +1 -1
- package/card/card-actions/card-actions.directive.d.ts +1 -1
- package/card/card-content/card-content.directive.d.ts +1 -1
- package/card/card-icon/card-icon.directive.d.ts +1 -1
- package/card/card-image/card-image.directive.d.ts +1 -1
- package/card/card-tagline/card-tagline.directive.d.ts +1 -1
- package/card/card-title/card-title.directive.d.ts +1 -1
- package/card/card.d.ts +8 -0
- package/card/card.module.d.ts +12 -9
- package/card/public_api.d.ts +1 -0
- package/container/README.md +42 -1
- package/container/container/container.component.d.ts +1 -1
- package/container/container.d.ts +2 -0
- package/container/container.module.d.ts +6 -3
- package/container/public_api.d.ts +1 -0
- package/core/openable/openable.d.ts +13 -0
- package/core/openable/openable.directive.d.ts +81 -0
- package/core/openable/public_api.d.ts +2 -0
- package/core/openable/utils/state-error.d.ts +1 -0
- package/core/public_api.d.ts +1 -0
- package/esm2022/accordion/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +38 -22
- package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +3 -2
- package/esm2022/accordion/accordion.mjs +9 -0
- package/esm2022/accordion/accordion.module.mjs +6 -14
- package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +6 -3
- package/esm2022/accordion/examples/public_api.mjs +1 -2
- package/esm2022/accordion/public_api.mjs +2 -1
- package/esm2022/article/article/article.component.mjs +3 -3
- package/esm2022/article/article-meta/article-meta.directive.mjs +3 -2
- package/esm2022/article/article.mjs +7 -0
- package/esm2022/article/article.module.mjs +5 -5
- package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +6 -4
- package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +6 -4
- package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +6 -4
- package/esm2022/article/examples/article-headings/article-headings.component.mjs +7 -3
- package/esm2022/article/examples/article-hr/article-hr.component.mjs +6 -4
- package/esm2022/article/examples/article-link/article-link.component.mjs +6 -4
- package/esm2022/article/examples/article-meta/article-meta.component.mjs +6 -4
- package/esm2022/article/examples/article-ol/article-ol.component.mjs +6 -4
- package/esm2022/article/examples/article-table/article-table.component.mjs +6 -4
- package/esm2022/article/examples/article-ul/article-ul.component.mjs +6 -4
- package/esm2022/article/public_api.mjs +3 -2
- package/esm2022/button/button/button.component.mjs +11 -6
- package/esm2022/button/button.mjs +7 -0
- package/esm2022/button/button.module.mjs +5 -11
- package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -6
- package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -6
- package/esm2022/button/examples/icon-button/icon-button.component.mjs +8 -4
- package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -6
- package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +8 -4
- package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +8 -4
- package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -6
- package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -6
- package/esm2022/button/public_api.mjs +3 -2
- package/esm2022/callout/callout/callout.component.mjs +4 -4
- package/esm2022/callout/callout-body/callout-body.directive.mjs +3 -2
- package/esm2022/callout/callout-icon/callout-icon.directive.mjs +3 -2
- package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +3 -2
- package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +3 -2
- package/esm2022/callout/callout-title/callout-title.directive.mjs +3 -2
- package/esm2022/callout/callout.mjs +15 -0
- package/esm2022/callout/callout.module.mjs +5 -5
- package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +10 -9
- package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +8 -7
- package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +9 -8
- package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +9 -8
- package/esm2022/callout/public_api.mjs +2 -1
- package/esm2022/card/card/card.component.mjs +3 -3
- package/esm2022/card/card-actions/card-actions.directive.mjs +3 -2
- package/esm2022/card/card-content/card-content.directive.mjs +3 -2
- package/esm2022/card/card-icon/card-icon.directive.mjs +3 -2
- package/esm2022/card/card-image/card-image.directive.mjs +3 -2
- package/esm2022/card/card-tagline/card-tagline.directive.mjs +3 -2
- package/esm2022/card/card-title/card-title.directive.mjs +3 -2
- package/esm2022/card/card.mjs +17 -0
- package/esm2022/card/card.module.mjs +7 -5
- package/esm2022/card/examples/basic-card/basic-card.component.mjs +9 -8
- package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +10 -9
- package/esm2022/card/examples/card-theming/card-theming.component.mjs +4 -4
- package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +6 -6
- package/esm2022/card/examples/raised-card/raised-card.component.mjs +6 -6
- package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +6 -6
- package/esm2022/card/public_api.mjs +2 -1
- package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -4
- package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -4
- package/esm2022/container/container/container.component.mjs +3 -3
- package/esm2022/container/container.mjs +5 -0
- package/esm2022/container/container.module.mjs +6 -4
- package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +4 -4
- package/esm2022/container/public_api.mjs +2 -1
- package/esm2022/core/openable/openable.directive.mjs +122 -0
- package/esm2022/core/openable/openable.mjs +2 -0
- package/esm2022/core/openable/public_api.mjs +2 -0
- package/esm2022/core/openable/utils/state-error.mjs +2 -0
- package/esm2022/core/public_api.mjs +2 -1
- package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +7 -6
- package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +10 -9
- package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +8 -7
- package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +9 -8
- package/esm2022/hero/hero/hero.component.mjs +4 -7
- package/esm2022/hero/hero-body/hero-body.directive.mjs +3 -2
- package/esm2022/hero/hero-icon/hero-icon.directive.mjs +3 -2
- package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +3 -2
- package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +3 -2
- package/esm2022/hero/hero-title/hero-title.directive.mjs +3 -2
- package/esm2022/hero/hero.mjs +15 -0
- package/esm2022/hero/hero.module.mjs +7 -5
- package/esm2022/hero/public_api.mjs +2 -1
- package/esm2022/image/examples/basic-image/basic-image.component.mjs +6 -4
- package/esm2022/image/examples/load-image/load-image.component.mjs +7 -4
- package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +6 -4
- package/esm2022/image/image/image.component.mjs +3 -3
- package/esm2022/image/image.mjs +5 -0
- package/esm2022/image/image.module.mjs +7 -5
- package/esm2022/image/public_api.mjs +2 -1
- package/esm2022/link-set/link-set/link-set.component.mjs +3 -3
- package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +3 -2
- package/esm2022/link-set/link-set-item/link-set-item.component.mjs +3 -2
- package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +3 -2
- package/esm2022/link-set/link-set.mjs +11 -0
- package/esm2022/link-set/link-set.module.mjs +8 -6
- package/esm2022/link-set/public_api.mjs +2 -1
- package/esm2022/list/examples/basic-list/basic-list.component.mjs +7 -4
- package/esm2022/list/examples/icon-list/icon-list.component.mjs +4 -6
- package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +7 -4
- package/esm2022/list/examples/nav-list/nav-list.component.mjs +4 -6
- package/esm2022/list/list/list.component.mjs +3 -3
- package/esm2022/list/list-item/list-item.component.mjs +8 -5
- package/esm2022/list/list.mjs +9 -0
- package/esm2022/list/list.module.mjs +8 -8
- package/esm2022/list/public_api.mjs +2 -1
- package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +4 -4
- package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +6 -4
- package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +3 -3
- package/esm2022/loading-icon/loading-icon.mjs +5 -0
- package/esm2022/loading-icon/loading-icon.module.mjs +6 -4
- package/esm2022/loading-icon/public_api.mjs +2 -1
- package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +8 -5
- package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +8 -5
- package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +8 -5
- package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +9 -5
- package/esm2022/media-gallery/media-gallery.mjs +9 -0
- package/esm2022/media-gallery/media-gallery.module.mjs +11 -9
- package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +3 -2
- package/esm2022/media-gallery/public_api.mjs +2 -1
- package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +3 -2
- package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +9 -5
- package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +6 -3
- package/esm2022/menu/menu/menu.component.mjs +6 -3
- package/esm2022/menu/menu-activator/menu-activator.component.mjs +3 -2
- package/esm2022/menu/menu-item/menu-item.component.mjs +8 -5
- package/esm2022/menu/menu.module.mjs +8 -7
- package/esm2022/menu/services/menu.service.mjs +8 -7
- package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +13 -5
- package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +9 -5
- package/esm2022/modal/modal/modal.component.mjs +47 -21
- package/esm2022/modal/modal-actions/modal-actions.component.mjs +3 -2
- package/esm2022/modal/modal-close/modal-close.directive.mjs +3 -2
- package/esm2022/modal/modal-content/modal-content.component.mjs +3 -2
- package/esm2022/modal/modal-header/modal-header.component.mjs +14 -7
- package/esm2022/modal/modal-title/modal-title.directive.mjs +3 -2
- package/esm2022/modal/modal.mjs +13 -0
- package/esm2022/modal/modal.module.mjs +17 -11
- package/esm2022/modal/public_api.mjs +2 -1
- package/esm2022/modal/service/modal.service.mjs +7 -5
- package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +9 -5
- package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +9 -8
- package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +8 -7
- package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +9 -5
- package/esm2022/navbar/navbar/navbar.component.mjs +3 -6
- package/esm2022/navbar/navbar.mjs +5 -0
- package/esm2022/navbar/navbar.module.mjs +10 -4
- package/esm2022/navbar/public_api.mjs +2 -1
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +6 -6
- package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +4 -4
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +6 -6
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +6 -6
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +6 -6
- package/esm2022/notification/notification/notification.component.mjs +10 -6
- package/esm2022/notification/notification-actions/notification-actions.directive.mjs +3 -2
- package/esm2022/notification/notification-message/notification-message.directive.mjs +3 -2
- package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +3 -2
- package/esm2022/notification/notification-title/notification-title.directive.mjs +3 -2
- package/esm2022/notification/notification.mjs +15 -0
- package/esm2022/notification/notification.module.mjs +11 -8
- package/esm2022/notification/public_api.mjs +2 -1
- package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +4 -4
- package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +4 -4
- package/esm2022/paginator/paginator/paginator.component.mjs +12 -9
- package/esm2022/paginator/paginator.mjs +5 -0
- package/esm2022/paginator/paginator.module.mjs +9 -6
- package/esm2022/paginator/public_api.mjs +2 -1
- package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +6 -4
- package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +6 -4
- package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +7 -4
- package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +20 -0
- package/esm2022/progress-bar/progress-bar.component.mjs +5 -3
- package/esm2022/progress-bar/progress-bar.mjs +7 -0
- package/esm2022/progress-bar/progress-bar.module.mjs +11 -4
- package/esm2022/progress-bar/public_api.mjs +3 -1
- package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +6 -4
- package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +9 -8
- package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +5 -5
- package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +6 -4
- package/esm2022/sidebar/public_api.mjs +2 -1
- package/esm2022/sidebar/sidebar/sidebar.component.mjs +35 -15
- package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
- package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +3 -2
- package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +3 -2
- package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +22 -38
- package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +6 -6
- package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +3 -3
- package/esm2022/sidebar/sidebar.mjs +17 -0
- package/esm2022/sidebar/sidebar.module.mjs +8 -6
- package/esm2022/toast/examples/default-toast/default-toast.component.mjs +7 -4
- package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +8 -4
- package/esm2022/toast/examples/toast-status/toast-status.component.mjs +12 -7
- package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +7 -4
- package/esm2022/toast/public_api.mjs +2 -1
- package/esm2022/toast/service/toast.service.mjs +9 -10
- package/esm2022/toast/toast/toast-provider.mjs +7 -0
- package/esm2022/toast/toast/toast-template.component.mjs +30 -12
- package/esm2022/toast/toast/toast.component.mjs +6 -9
- package/esm2022/toast/toast-actions/toast-actions.directive.mjs +3 -2
- package/esm2022/toast/toast-message/toast-message.directive.mjs +3 -2
- package/esm2022/toast/toast-title/toast-title.directive.mjs +3 -2
- package/esm2022/toast/toast.module.mjs +10 -11
- package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +7 -4
- package/esm2022/tree/public_api.mjs +2 -2
- package/esm2022/tree/tree/tree.component.mjs +8 -5
- package/esm2022/tree/tree-item/tree-item.directive.mjs +3 -2
- package/esm2022/tree/tree.mjs +7 -0
- package/esm2022/tree/tree.module.mjs +9 -7
- package/fesm2022/daffodil-design-accordion-examples.mjs +7 -26
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-accordion.mjs +52 -38
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article-examples.mjs +41 -21
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +15 -9
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-button-examples.mjs +27 -24
- package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +21 -18
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +20 -19
- package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +27 -13
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card-examples.mjs +23 -22
- package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +31 -13
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +5 -5
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container-examples.mjs +3 -3
- package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +12 -6
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +19 -18
- package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +29 -16
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image-examples.mjs +14 -7
- package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +13 -7
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +23 -11
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list-examples.mjs +14 -13
- package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +22 -14
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +7 -5
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +12 -6
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +17 -8
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +70 -57
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +12 -5
- package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +55 -48
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +17 -6
- package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +96 -49
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +22 -15
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +16 -9
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +16 -16
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +37 -19
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator-examples.mjs +5 -5
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +23 -16
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar-examples.mjs +14 -7
- package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +38 -8
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +19 -14
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +86 -68
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast-examples.mjs +23 -11
- package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +146 -127
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree-examples.mjs +6 -3
- package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +23 -35
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +123 -2
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/hero/README.md +41 -0
- package/hero/hero/hero.component.d.ts +1 -4
- package/hero/hero-body/hero-body.directive.d.ts +1 -1
- package/hero/hero-icon/hero-icon.directive.d.ts +1 -1
- package/hero/hero-subtitle/hero-subtitle.directive.d.ts +1 -1
- package/hero/hero-tagline/hero-tagline.directive.d.ts +1 -1
- package/hero/hero-title/hero-title.directive.d.ts +1 -1
- package/hero/hero.d.ts +7 -0
- package/hero/hero.module.d.ts +11 -8
- package/hero/public_api.d.ts +1 -0
- package/image/README.md +43 -7
- package/image/image/image.component.d.ts +1 -1
- package/image/image.d.ts +2 -0
- package/image/image.module.d.ts +6 -3
- package/image/public_api.d.ts +1 -0
- package/link-set/README.md +42 -1
- package/link-set/link-set/link-set.component.d.ts +1 -1
- package/link-set/link-set-heading/link-set-heading.directive.d.ts +1 -1
- package/link-set/link-set-item/link-set-item.component.d.ts +1 -1
- package/link-set/link-set-subheading/link-set-subheading.directive.d.ts +1 -1
- package/link-set/link-set.d.ts +5 -0
- package/link-set/link-set.module.d.ts +9 -6
- package/link-set/public_api.d.ts +1 -0
- package/list/README.md +42 -1
- package/list/list/list.component.d.ts +1 -1
- package/list/list-item/list-item.component.d.ts +1 -1
- package/list/list.d.ts +4 -0
- package/list/list.module.d.ts +7 -4
- package/list/public_api.d.ts +1 -0
- package/loading-icon/README.md +41 -0
- package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -1
- package/loading-icon/loading-icon.d.ts +2 -0
- package/loading-icon/loading-icon.module.d.ts +6 -3
- package/loading-icon/public_api.d.ts +1 -0
- package/media-gallery/README.md +41 -0
- package/media-gallery/media-gallery/media-gallery.component.d.ts +1 -1
- package/media-gallery/media-gallery.d.ts +4 -0
- package/media-gallery/media-gallery.module.d.ts +8 -5
- package/media-gallery/media-renderer/media-renderer.component.d.ts +1 -1
- package/media-gallery/public_api.d.ts +1 -0
- package/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
- package/menu/README.md +23 -0
- package/menu/menu/menu.component.d.ts +1 -1
- package/menu/menu-activator/menu-activator.component.d.ts +1 -1
- package/menu/menu-item/menu-item.component.d.ts +1 -1
- package/menu/menu.module.d.ts +6 -6
- package/menu/services/menu.service.d.ts +3 -2
- package/modal/README.md +41 -0
- package/modal/modal/modal.component.d.ts +20 -8
- package/modal/modal-actions/modal-actions.component.d.ts +1 -1
- package/modal/modal-close/modal-close.directive.d.ts +1 -1
- package/modal/modal-content/modal-content.component.d.ts +1 -1
- package/modal/modal-header/modal-header.component.d.ts +1 -1
- package/modal/modal-title/modal-title.directive.d.ts +1 -1
- package/modal/modal.d.ts +6 -0
- package/modal/modal.module.d.ts +15 -12
- package/modal/public_api.d.ts +1 -0
- package/navbar/README.md +41 -0
- package/navbar/navbar/navbar.component.d.ts +1 -4
- package/navbar/navbar.d.ts +2 -0
- package/navbar/navbar.module.d.ts +6 -2
- package/navbar/public_api.d.ts +1 -0
- package/notification/README.md +41 -0
- package/notification/notification/notification.component.d.ts +1 -1
- package/notification/notification-actions/notification-actions.directive.d.ts +1 -1
- package/notification/notification-message/notification-message.directive.d.ts +1 -1
- package/notification/notification-subtitle/notification-subtitle.directive.d.ts +1 -1
- package/notification/notification-title/notification-title.directive.d.ts +1 -1
- package/notification/notification.d.ts +7 -0
- package/notification/notification.module.d.ts +12 -9
- package/notification/public_api.d.ts +1 -0
- package/package.json +1 -1
- package/paginator/README.md +45 -4
- package/paginator/paginator/paginator.component.d.ts +1 -4
- package/paginator/paginator.d.ts +2 -0
- package/paginator/paginator.module.d.ts +8 -5
- package/paginator/public_api.d.ts +1 -0
- package/progress-bar/README.md +41 -0
- package/progress-bar/progress-bar-label/progress-bar-label.directive.d.ts +6 -0
- package/progress-bar/progress-bar.component.d.ts +1 -1
- package/progress-bar/progress-bar.d.ts +3 -0
- package/progress-bar/progress-bar.module.d.ts +7 -3
- package/progress-bar/public_api.d.ts +2 -0
- package/sidebar/README.md +78 -20
- package/sidebar/public_api.d.ts +1 -0
- package/sidebar/sidebar/sidebar.component.d.ts +19 -8
- package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +1 -1
- package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +1 -1
- package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +1 -1
- package/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
- package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +5 -17
- package/sidebar/sidebar-viewport/utils/content-pad.d.ts +2 -2
- package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +1 -1
- package/sidebar/sidebar.d.ts +8 -0
- package/sidebar/sidebar.module.d.ts +13 -10
- package/toast/README.md +108 -33
- package/toast/public_api.d.ts +1 -0
- package/toast/service/toast.service.d.ts +4 -3
- package/toast/src/toast-theme.scss +1 -1
- package/toast/toast/toast-provider.d.ts +2 -0
- package/toast/toast/toast-template.component.d.ts +1 -1
- package/toast/toast/toast.component.d.ts +1 -3
- package/toast/toast-actions/toast-actions.directive.d.ts +1 -1
- package/toast/toast-message/toast-message.directive.d.ts +1 -1
- package/toast/toast-title/toast-title.directive.d.ts +1 -1
- package/toast/toast.module.d.ts +14 -12
- package/tree/README.md +41 -0
- package/tree/public_api.d.ts +1 -2
- package/tree/tree/tree.component.d.ts +1 -1
- package/tree/tree-item/tree-item.directive.d.ts +1 -1
- package/tree/tree.d.ts +3 -0
- package/tree/tree.module.d.ts +7 -4
- package/accordion/examples/accordion-examples.module.d.ts +0 -9
- package/esm2022/accordion/examples/accordion-examples.module.mjs +0 -26
- package/esm2022/tree/utils/transform-in-place.mjs +0 -23
- package/tree/utils/transform-in-place.d.ts +0 -15
package/accordion/README.md
CHANGED
@@ -4,6 +4,8 @@ An accordion is a group of vertically stacked headings used to toggle the visibi
|
|
4
4
|
## Overview
|
5
5
|
Accordions are made up of `<daff-accordion-item>`s that can be expanded or collapsed to display large amounts of information. Accordions are helpful to shorten pages and reduce scrolling by hiding content that's not crucial to display at all times.
|
6
6
|
|
7
|
+
<design-land-example-viewer-container example="basic-accordion"></design-land-example-viewer-container>
|
8
|
+
|
7
9
|
## Supported Content Types
|
8
10
|
An accordion item can include a `[daffAccordionItemTitle]`, which provides a high level overview of the content. Any other content within an accordion item will be displayed as the primary content.
|
9
11
|
|
@@ -14,5 +16,41 @@ An item content can be visibile on render by setting the `initiallyExpanded` pro
|
|
14
16
|
|
15
17
|
## Usage
|
16
18
|
|
17
|
-
###
|
18
|
-
|
19
|
+
### Within a standalone component
|
20
|
+
To use accordion in a standalone component, import it directly into your custom component:
|
21
|
+
|
22
|
+
```ts
|
23
|
+
@Component({
|
24
|
+
selector: 'custom-component',
|
25
|
+
templateUrl: './custom-component.component.html',
|
26
|
+
standalone: true,
|
27
|
+
imports: [
|
28
|
+
DAFF_ACCORDION_COMPONENTS,
|
29
|
+
],
|
30
|
+
})
|
31
|
+
export class CustomComponent {}
|
32
|
+
```
|
33
|
+
|
34
|
+
### Within a module (deprecated)
|
35
|
+
To use accordion in a module, import `DaffAccordionModule` into your custom module:
|
36
|
+
|
37
|
+
```ts
|
38
|
+
import { NgModule } from '@angular/core';
|
39
|
+
|
40
|
+
import { DaffAccordionModule } from '@daffodil/design/accordion';
|
41
|
+
|
42
|
+
@NgModule({
|
43
|
+
declarations: [
|
44
|
+
CustomComponent,
|
45
|
+
],
|
46
|
+
exports: [
|
47
|
+
CustomComponent,
|
48
|
+
],
|
49
|
+
imports: [
|
50
|
+
DaffAccordionModule,
|
51
|
+
],
|
52
|
+
})
|
53
|
+
export class CustomComponentModule { }
|
54
|
+
```
|
55
|
+
|
56
|
+
> This method is deprecated. It's recommended to update all custom components to standalone.
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@daffodil/design";
|
3
3
|
export declare class DaffAccordionComponent {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionComponent, never>;
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionComponent, "daff-accordion", never, {}, {}, never, ["*"],
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionComponent, "daff-accordion", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
|
6
6
|
}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
|
+
import { DaffOpenable, DaffOpenableDirective } from '@daffodil/design';
|
2
3
|
import * as i0 from "@angular/core";
|
3
|
-
|
4
|
+
import * as i1 from "@daffodil/design";
|
5
|
+
export declare class DaffAccordionItemComponent implements OnInit, DaffOpenable {
|
6
|
+
private openDirective;
|
4
7
|
/**
|
5
8
|
* @docs-private
|
6
9
|
*/
|
@@ -13,24 +16,32 @@ export declare class DaffAccordionItemComponent implements OnInit {
|
|
13
16
|
* @docs-private
|
14
17
|
*/
|
15
18
|
class: boolean;
|
16
|
-
get openClass(): boolean;
|
17
19
|
_daffAccordionItemId: string;
|
18
20
|
id: string;
|
19
21
|
/** Whether or not the item is initiallyExpanded by default. */
|
20
22
|
initiallyExpanded: boolean;
|
21
|
-
/**
|
22
|
-
* @docs-private
|
23
|
-
*/
|
24
|
-
_open: boolean;
|
25
23
|
/**
|
26
24
|
* @docs-private
|
27
25
|
*/
|
28
26
|
_animationState: string;
|
27
|
+
constructor(openDirective: DaffOpenableDirective);
|
29
28
|
/**
|
30
29
|
* @docs-private
|
31
30
|
*/
|
32
31
|
ngOnInit(): void;
|
33
|
-
|
32
|
+
get open(): boolean;
|
33
|
+
/**
|
34
|
+
* Reveals the contents of the accordion item
|
35
|
+
*/
|
36
|
+
reveal(): void;
|
37
|
+
/**
|
38
|
+
* Hides the contents of the accordion item
|
39
|
+
*/
|
40
|
+
hide(): void;
|
41
|
+
/**
|
42
|
+
* Toggles the visibility of the contents of the accordion item
|
43
|
+
*/
|
44
|
+
toggle(): void;
|
34
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemComponent, never>;
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, { "id": { "alias": "id"; "required": false; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; }; }, {}, never, ["[daffAccordionItemTitle]", "*"],
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, { "id": { "alias": "id"; "required": false; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; }; }, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{ directive: typeof i1.DaffOpenableDirective; inputs: { "open": "open"; }; outputs: { "toggled": "toggled"; }; }]>;
|
36
47
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffAccordionItemTitleDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemTitleDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffAccordionItemTitleDirective, "[daffAccordionItemTitle]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffAccordionItemTitleDirective, "[daffAccordionItemTitle]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { DaffAccordionComponent } from './accordion/accordion/accordion.component';
|
2
|
+
import { DaffAccordionItemComponent } from './accordion/accordion-item/accordion-item.component';
|
3
|
+
import { DaffAccordionItemTitleDirective } from './accordion/accordion-item-title/accordion-item-title.directive';
|
4
|
+
export declare const DAFF_ACCORDION_COMPONENTS: readonly [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective];
|
@@ -1,12 +1,11 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
3
|
-
import * as i2 from "./accordion/accordion
|
4
|
-
import * as i3 from "./accordion/accordion-item
|
5
|
-
import * as i4 from "
|
6
|
-
|
7
|
-
import * as i6 from "@daffodil/design";
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./accordion/accordion/accordion.component";
|
4
|
+
import * as i3 from "./accordion/accordion-item/accordion-item.component";
|
5
|
+
import * as i4 from "./accordion/accordion-item-title/accordion-item-title.directive";
|
6
|
+
/** @deprecated in favor of {@link DAFF_ACCORDION_COMPONENTS} */
|
8
7
|
export declare class DaffAccordionModule {
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffAccordionModule, [typeof i1.
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffAccordionModule, never, [typeof i1.CommonModule, typeof i2.DaffAccordionComponent, typeof i3.DaffAccordionItemComponent, typeof i4.DaffAccordionItemTitleDirective], [typeof i2.DaffAccordionComponent, typeof i3.DaffAccordionItemComponent, typeof i4.DaffAccordionItemTitleDirective]>;
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<DaffAccordionModule>;
|
12
11
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class BasicAccordionComponent {
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicAccordionComponent, never>;
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicAccordionComponent, "basic-accordion", never, {}, {}, never, never,
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicAccordionComponent, "basic-accordion", never, {}, {}, never, never, true, never>;
|
5
5
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export { DaffAccordionModule } from './accordion.module';
|
2
|
+
export { DAFF_ACCORDION_COMPONENTS } from './accordion';
|
2
3
|
export * from './accordion/accordion/accordion.component';
|
3
4
|
export * from './accordion/accordion-item/accordion-item.component';
|
4
5
|
export * from './accordion/accordion-item-title/accordion-item-title.directive';
|
package/article/README.md
CHANGED
@@ -47,4 +47,45 @@ These are styles for inline and multiline blocks of code.
|
|
47
47
|
|
48
48
|
## Encapsulation
|
49
49
|
|
50
|
-
Articles also support other custom "non-native" components like [
|
50
|
+
Articles also support other custom "non-native" components like [accordions](../accordion/README.md), [media galleries](../media-gallery/README.md), and [lists](../list/README.md). Unlike typical HTML (<p>, <ol>, <ul>, etc) content, these components must be style encaspulated to prevent article styles bleeding down from the article into their content. Many Daffodil components support this out of the box. If you have a custom component that you would like to place inside an article, you can use the `DaffArticleEncapsulatedDirective` on your component to prevent article styles bleeding into your component.
|
51
|
+
|
52
|
+
## Usage
|
53
|
+
|
54
|
+
### Within a standalone component
|
55
|
+
To use article in a standalone component, import it directly into your custom component:
|
56
|
+
|
57
|
+
```ts
|
58
|
+
@Component({
|
59
|
+
selector: 'custom-component',
|
60
|
+
templateUrl: './custom-component.component.html',
|
61
|
+
standalone: true,
|
62
|
+
imports: [
|
63
|
+
DAFF_ARTICLE_COMPONENTS,
|
64
|
+
],
|
65
|
+
})
|
66
|
+
export class CustomComponent {}
|
67
|
+
```
|
68
|
+
|
69
|
+
### Within a module (deprecated)
|
70
|
+
To use article in a module, import `DaffArticleModule` into your custom module:
|
71
|
+
|
72
|
+
```ts
|
73
|
+
import { NgModule } from '@angular/core';
|
74
|
+
|
75
|
+
import { DaffArticleModule } from '@daffodil/design/article';
|
76
|
+
|
77
|
+
@NgModule({
|
78
|
+
declarations: [
|
79
|
+
CustomComponent,
|
80
|
+
],
|
81
|
+
exports: [
|
82
|
+
CustomComponent,
|
83
|
+
],
|
84
|
+
imports: [
|
85
|
+
DaffArticleModule,
|
86
|
+
],
|
87
|
+
})
|
88
|
+
export class CustomComponentModule { }
|
89
|
+
```
|
90
|
+
|
91
|
+
> This method is deprecated. It's recommended to update all custom components to standalone.
|
@@ -12,5 +12,5 @@ export declare class DaffArticleComponent {
|
|
12
12
|
*/
|
13
13
|
role: string;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffArticleComponent, "daff-article", never, {}, {}, never, ["*"],
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffArticleComponent, "daff-article", never, {}, {}, never, ["*"], true, never>;
|
16
16
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffArticleMetaDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleMetaDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffArticleMetaDirective, "[daffArticleMeta]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffArticleMetaDirective, "[daffArticleMeta]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
3
|
-
import * as i2 from "./article
|
4
|
-
import * as i3 from "
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./article/article.component";
|
4
|
+
import * as i3 from "./article-meta/article-meta.directive";
|
5
|
+
/** @deprecated in favor of {@link DAFF_ARTICLE_COMPONENTS} */
|
5
6
|
export declare class DaffArticleModule {
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffArticleModule, [typeof i1.
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffArticleModule, never, [typeof i1.CommonModule, typeof i2.DaffArticleComponent, typeof i3.DaffArticleMetaDirective], [typeof i2.DaffArticleComponent, typeof i3.DaffArticleMetaDirective]>;
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DaffArticleModule>;
|
9
10
|
}
|
package/article/public_api.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
export { DaffArticleComponent } from './article/article.component';
|
2
1
|
export { DaffArticleModule } from './article.module';
|
2
|
+
export { DAFF_ARTICLE_COMPONENTS } from './article';
|
3
|
+
export { DaffArticleComponent } from './article/article.component';
|
3
4
|
export { DaffArticleMetaDirective } from './article-meta/article-meta.directive';
|
package/button/README.md
CHANGED
@@ -31,6 +31,47 @@ Native `<button>` or `<a>` elements are always used in order to provide an easy,
|
|
31
31
|
### Underline Button
|
32
32
|
<design-land-example-viewer-container example="underline-button"></design-land-example-viewer-container>
|
33
33
|
|
34
|
+
## Usage
|
35
|
+
|
36
|
+
### Within a standalone component
|
37
|
+
To use button in a standalone component, import it directly into your custom component:
|
38
|
+
|
39
|
+
```ts
|
40
|
+
@Component({
|
41
|
+
selector: 'custom-component',
|
42
|
+
templateUrl: './custom-component.component.html',
|
43
|
+
standalone: true,
|
44
|
+
imports: [
|
45
|
+
DAFF_BUTTON_COMPONENTS,
|
46
|
+
],
|
47
|
+
})
|
48
|
+
export class CustomComponent {}
|
49
|
+
```
|
50
|
+
|
51
|
+
### Within a module (deprecated)
|
52
|
+
To use button in a module, import `DaffButtonModule` into your custom module:
|
53
|
+
|
54
|
+
```ts
|
55
|
+
import { NgModule } from '@angular/core';
|
56
|
+
|
57
|
+
import { DaffButtonModule } from '@daffodil/design/button';
|
58
|
+
|
59
|
+
@NgModule({
|
60
|
+
declarations: [
|
61
|
+
CustomComponent,
|
62
|
+
],
|
63
|
+
exports: [
|
64
|
+
CustomComponent,
|
65
|
+
],
|
66
|
+
imports: [
|
67
|
+
DaffButtonModule,
|
68
|
+
],
|
69
|
+
})
|
70
|
+
export class CustomComponentModule { }
|
71
|
+
```
|
72
|
+
|
73
|
+
> This method is deprecated. It's recommended to update all custom components to standalone.
|
74
|
+
|
34
75
|
## Sizes
|
35
76
|
The size of a button can be changed by using the `size` property. The size of all the button variants will default to `md` if no size is defined. This can be changed to one of the supported sizes.
|
36
77
|
|
@@ -75,6 +75,6 @@ export declare class DaffButtonComponent extends _daffButtonBase implements OnIn
|
|
75
75
|
* */
|
76
76
|
private _hasHostAttributes;
|
77
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonComponent, never>;
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", never, { "loading": { "alias": "loading"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"],
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", never, { "loading": { "alias": "loading"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.DaffButtonSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
|
79
79
|
}
|
80
80
|
export {};
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
3
|
-
import * as i2 from "
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./button/button.component";
|
4
4
|
import * as i3 from "@daffodil/design";
|
5
|
-
|
5
|
+
/** @deprecated in favor of {@link DAFF_BUTTON_COMPONENTS} */
|
6
6
|
export declare class DaffButtonModule {
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffButtonModule,
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffButtonModule, never, [typeof i1.CommonModule, typeof i2.DaffButtonComponent], [typeof i2.DaffButtonComponent, typeof i3.DaffPrefixSuffixModule]>;
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DaffButtonModule>;
|
10
10
|
}
|
package/button/public_api.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
export { DaffButtonComponent } from './button/button.component';
|
2
1
|
export { DaffButtonModule } from './button.module';
|
2
|
+
export { DAFF_BUTTON_COMPONENTS } from './button';
|
3
|
+
export { DaffButtonComponent } from './button/button.component';
|
3
4
|
export { DaffButtonSizableDirective } from './button/button-sizable.directive';
|
package/callout/README.md
CHANGED
@@ -4,6 +4,48 @@ Callout is a versatile component that can be used to easily highlight a piece of
|
|
4
4
|
## Overview
|
5
5
|
Callouts can be used multiple times on a page. It's a flexible and extensible component that includes pre-styled content containers. It can be used alongside a product list to highlight a set of products, quickly lay out an accordion, showcase a set of features, etc.
|
6
6
|
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
### Within a standalone component
|
10
|
+
To use callout in a standalone component, import it directly into your custom component:
|
11
|
+
|
12
|
+
```ts
|
13
|
+
@Component({
|
14
|
+
selector: 'custom-component',
|
15
|
+
templateUrl: './custom-component.component.html',
|
16
|
+
standalone: true,
|
17
|
+
imports: [
|
18
|
+
DAFF_CALLOUT_COMPONENTS,
|
19
|
+
],
|
20
|
+
})
|
21
|
+
export class CustomComponent {}
|
22
|
+
```
|
23
|
+
|
24
|
+
### Within a module (deprecated)
|
25
|
+
To use callout in a module, import `DaffCalloutModule` into your custom module:
|
26
|
+
|
27
|
+
```ts
|
28
|
+
import { NgModule } from '@angular/core';
|
29
|
+
|
30
|
+
import { DaffCalloutModule } from '@daffodil/design/callout';
|
31
|
+
|
32
|
+
@NgModule({
|
33
|
+
declarations: [
|
34
|
+
CustomComponent,
|
35
|
+
],
|
36
|
+
exports: [
|
37
|
+
CustomComponent,
|
38
|
+
],
|
39
|
+
imports: [
|
40
|
+
DaffCalloutModule,
|
41
|
+
],
|
42
|
+
})
|
43
|
+
export class CustomComponentModule { }
|
44
|
+
```
|
45
|
+
|
46
|
+
> This method is deprecated. It's recommended to update all custom components to standalone.
|
47
|
+
|
48
|
+
|
7
49
|
## Supported Content Types
|
8
50
|
A `<daff-callout>` supports transclusion of any content and includes stylized `icon`, `tagline`, `title`, `subtitle`, and `body` content containers.
|
9
51
|
|
@@ -12,5 +12,5 @@ export declare class DaffCalloutComponent {
|
|
12
12
|
*/
|
13
13
|
class: boolean;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffCalloutComponent, "daff-callout", never, {}, {}, never, ["*"],
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffCalloutComponent, "daff-callout", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffManageContainerLayoutDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffTextAlignableDirective; inputs: { "textAlignment": "textAlignment"; }; outputs: {}; }, { directive: typeof i1.DaffCompactableDirective; inputs: { "compact": "compact"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
|
16
16
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCalloutBodyDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutBodyDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutBodyDirective, "[daffCalloutBody]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutBodyDirective, "[daffCalloutBody]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCalloutIconDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutIconDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutIconDirective, "[daffCalloutIcon]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutIconDirective, "[daffCalloutIcon]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCalloutSubtitleDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutSubtitleDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutSubtitleDirective, "[daffCalloutSubtitle]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutSubtitleDirective, "[daffCalloutSubtitle]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCalloutTaglineDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutTaglineDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutTaglineDirective, "[daffCalloutTagline]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutTaglineDirective, "[daffCalloutTagline]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCalloutTitleDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutTitleDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutTitleDirective, "[daffCalloutTitle]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCalloutTitleDirective, "[daffCalloutTitle]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DaffCalloutComponent } from './callout/callout.component';
|
2
|
+
import { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';
|
3
|
+
import { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';
|
4
|
+
import { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';
|
5
|
+
import { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';
|
6
|
+
import { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';
|
7
|
+
export declare const DAFF_CALLOUT_COMPONENTS: readonly [typeof DaffCalloutComponent, typeof DaffCalloutIconDirective, typeof DaffCalloutTitleDirective, typeof DaffCalloutSubtitleDirective, typeof DaffCalloutTaglineDirective, typeof DaffCalloutBodyDirective];
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
3
|
-
import * as i2 from "./callout
|
4
|
-
import * as i3 from "./callout-
|
5
|
-
import * as i4 from "./callout-
|
6
|
-
import * as i5 from "./callout-
|
7
|
-
import * as i6 from "./callout-
|
8
|
-
import * as i7 from "
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./callout/callout.component";
|
4
|
+
import * as i3 from "./callout-icon/callout-icon.directive";
|
5
|
+
import * as i4 from "./callout-title/callout-title.directive";
|
6
|
+
import * as i5 from "./callout-subtitle/callout-subtitle.directive";
|
7
|
+
import * as i6 from "./callout-tagline/callout-tagline.directive";
|
8
|
+
import * as i7 from "./callout-body/callout-body.directive";
|
9
|
+
/** @deprecated in favor of {@link DAFF_CALLOUT_COMPONENTS} */
|
9
10
|
export declare class DaffCalloutModule {
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCalloutModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffCalloutModule, [typeof i1.
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffCalloutModule, never, [typeof i1.CommonModule, typeof i2.DaffCalloutComponent, typeof i3.DaffCalloutIconDirective, typeof i4.DaffCalloutTitleDirective, typeof i5.DaffCalloutSubtitleDirective, typeof i6.DaffCalloutTaglineDirective, typeof i7.DaffCalloutBodyDirective], [typeof i2.DaffCalloutComponent, typeof i3.DaffCalloutIconDirective, typeof i5.DaffCalloutSubtitleDirective, typeof i4.DaffCalloutTitleDirective, typeof i6.DaffCalloutTaglineDirective, typeof i7.DaffCalloutBodyDirective]>;
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<DaffCalloutModule>;
|
13
14
|
}
|
package/callout/public_api.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
export { DaffCalloutModule } from './callout.module';
|
2
|
+
export { DAFF_CALLOUT_COMPONENTS } from './callout';
|
2
3
|
export * from './callout/callout.component';
|
3
4
|
export * from './callout-icon/callout-icon.directive';
|
4
5
|
export * from './callout-tagline/callout-tagline.directive';
|
package/card/README.md
CHANGED
@@ -9,6 +9,47 @@ The example below is a default, filled card that includes all of a card's pre-st
|
|
9
9
|
|
10
10
|
<design-land-example-viewer-container example="basic-card"></design-land-example-viewer-container>
|
11
11
|
|
12
|
+
## Usage
|
13
|
+
|
14
|
+
### Within a standalone component
|
15
|
+
To use card in a standalone component, import it directly into your custom component:
|
16
|
+
|
17
|
+
```ts
|
18
|
+
@Component({
|
19
|
+
selector: 'custom-component',
|
20
|
+
templateUrl: './custom-component.component.html',
|
21
|
+
standalone: true,
|
22
|
+
imports: [
|
23
|
+
DAFF_CARD_COMPONENTS,
|
24
|
+
],
|
25
|
+
})
|
26
|
+
export class CustomComponent {}
|
27
|
+
```
|
28
|
+
|
29
|
+
### Within a module (deprecated)
|
30
|
+
To use card in a module, import `DaffCardModule` into your custom module:
|
31
|
+
|
32
|
+
```ts
|
33
|
+
import { NgModule } from '@angular/core';
|
34
|
+
|
35
|
+
import { DaffCardModule } from '@daffodil/design/card';
|
36
|
+
|
37
|
+
@NgModule({
|
38
|
+
declarations: [
|
39
|
+
CustomComponent,
|
40
|
+
],
|
41
|
+
exports: [
|
42
|
+
CustomComponent,
|
43
|
+
],
|
44
|
+
imports: [
|
45
|
+
DaffCardModule,
|
46
|
+
],
|
47
|
+
})
|
48
|
+
export class CustomComponentModule { }
|
49
|
+
```
|
50
|
+
|
51
|
+
> This method is deprecated. It's recommended to update all custom components to standalone.
|
52
|
+
|
12
53
|
## Supported Content Types
|
13
54
|
A card supports a wide variety of content and includes minimally pre-styled `image`, `icon`, `tagline`, `title`, `content`, and `actions` content containers.
|
14
55
|
|
@@ -44,5 +44,5 @@ export declare class DaffCardComponent implements OnInit {
|
|
44
44
|
* */
|
45
45
|
private _hasHostAttributes;
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardComponent, never>;
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffCardComponent, "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", never, { "orientation": { "alias": "orientation"; "required": false; }; }, {}, never, ["[daffCardImage]", "[daffCardIcon]", "[daffCardTagline]", "[daffCardTitle]", "[daffCardContent]", "[daffCardActions]"],
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffCardComponent, "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", never, { "orientation": { "alias": "orientation"; "required": false; }; }, {}, never, ["[daffCardImage]", "[daffCardIcon]", "[daffCardTagline]", "[daffCardTitle]", "[daffCardContent]", "[daffCardActions]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
|
48
48
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCardActionsDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardActionsDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardActionsDirective, "[daffCardActions]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardActionsDirective, "[daffCardActions]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCardContentDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardContentDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardContentDirective, "[daffCardContent]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardContentDirective, "[daffCardContent]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCardIconDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardIconDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardIconDirective, "[daffCardIcon]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardIconDirective, "[daffCardIcon]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCardImageDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardImageDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardImageDirective, "[daffCardImage]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardImageDirective, "[daffCardImage]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCardTaglineDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardTaglineDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardTaglineDirective, "[daffCardTagline]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardTaglineDirective, "[daffCardTagline]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
@@ -5,5 +5,5 @@ export declare class DaffCardTitleDirective {
|
|
5
5
|
*/
|
6
6
|
class: boolean;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardTitleDirective, never>;
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardTitleDirective, "[daffCardTitle]", never, {}, {}, never, never,
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardTitleDirective, "[daffCardTitle]", never, {}, {}, never, never, true, never>;
|
9
9
|
}
|
package/card/card.d.ts
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
import { DaffCardComponent } from './card/card.component';
|
2
|
+
import { DaffCardActionsDirective } from './card-actions/card-actions.directive';
|
3
|
+
import { DaffCardContentDirective } from './card-content/card-content.directive';
|
4
|
+
import { DaffCardIconDirective } from './card-icon/card-icon.directive';
|
5
|
+
import { DaffCardImageDirective } from './card-image/card-image.directive';
|
6
|
+
import { DaffCardTaglineDirective } from './card-tagline/card-tagline.directive';
|
7
|
+
import { DaffCardTitleDirective } from './card-title/card-title.directive';
|
8
|
+
export declare const DAFF_CARD_COMPONENTS: readonly [typeof DaffCardComponent, typeof DaffCardIconDirective, typeof DaffCardImageDirective, typeof DaffCardTaglineDirective, typeof DaffCardTitleDirective, typeof DaffCardContentDirective, typeof DaffCardActionsDirective];
|