@daffodil/design 0.39.6 → 0.39.10
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/README.md +62 -34
- package/accordion/examples/daffodil-design-accordion-examples.metadata.json +1 -1
- package/article/examples/daffodil-design-article-examples.metadata.json +1 -1
- package/atoms/button/button.component.d.ts +5 -0
- package/bundles/daffodil-design-accordion-examples.umd.js +4 -2
- package/bundles/daffodil-design-accordion-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-accordion-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-accordion-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-article-examples.umd.js +22 -11
- package/bundles/daffodil-design-article-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-article-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-article-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-button-examples.umd.js +7 -0
- package/bundles/daffodil-design-button-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-button-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-button-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-callout-examples.umd.js +60 -9
- package/bundles/daffodil-design-callout-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-callout-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-callout-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-card-examples.umd.js +156 -14
- package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-checkbox-examples.umd.js +4 -2
- package/bundles/daffodil-design-checkbox-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-checkbox-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-container-examples.umd.js +65 -0
- package/bundles/daffodil-design-container-examples.umd.js.map +1 -0
- package/bundles/daffodil-design-container-examples.umd.min.js +2 -0
- package/bundles/daffodil-design-container-examples.umd.min.js.map +1 -0
- package/bundles/daffodil-design-hero-examples.umd.js +63 -8
- package/bundles/daffodil-design-hero-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-hero-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-hero-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-list-examples.umd.js +8 -4
- package/bundles/daffodil-design-list-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-list-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-list-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-loading-icon-examples.umd.js +4 -2
- package/bundles/daffodil-design-loading-icon-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-loading-icon-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-media-gallery-examples.umd.js +4 -2
- package/bundles/daffodil-design-media-gallery-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-media-gallery-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-modal-examples.umd.js +4 -2
- package/bundles/daffodil-design-modal-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-modal-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-modal-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-navbar-examples.umd.js +177 -0
- package/bundles/daffodil-design-navbar-examples.umd.js.map +1 -0
- package/bundles/daffodil-design-navbar-examples.umd.min.js +2 -0
- package/bundles/daffodil-design-navbar-examples.umd.min.js.map +1 -0
- package/bundles/daffodil-design-quantity-field-examples.umd.js +4 -0
- package/bundles/daffodil-design-quantity-field-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-quantity-field-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-radio-examples.umd.js +2 -1
- package/bundles/daffodil-design-radio-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-radio-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-radio-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design.umd.js +519 -120
- package/bundles/daffodil-design.umd.js.map +1 -1
- package/bundles/daffodil-design.umd.min.js +2 -2
- package/bundles/daffodil-design.umd.min.js.map +1 -1
- package/button/examples/daffodil-design-button-examples.metadata.json +1 -1
- package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -0
- package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -0
- package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -0
- package/callout/examples/compact-callout/compact-callout.component.d.ts +3 -0
- package/callout/examples/compact-callout/compact-callout.module.d.ts +2 -0
- package/callout/examples/daffodil-design-callout-examples.metadata.json +1 -1
- package/callout/examples/public_api.d.ts +2 -0
- package/card/examples/basic-card/basic-card.component.d.ts +1 -0
- package/card/examples/card-orientation/card-orientation.component.d.ts +9 -0
- package/card/examples/card-orientation/card-orientation.module.d.ts +2 -0
- package/card/examples/card-theming/card-theming.component.d.ts +4 -2
- package/card/examples/daffodil-design-card-examples.d.ts +2 -0
- package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
- package/card/examples/linkable-card/linkable-card.component.d.ts +8 -0
- package/card/examples/public_api.d.ts +5 -1
- package/card/examples/raised-card/raised-card.component.d.ts +6 -0
- package/card/examples/stroked-card/stroked-card.component.d.ts +8 -0
- package/card/examples/stroked-card/stroked-card.module.d.ts +2 -0
- package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +1 -1
- package/container/examples/container-sizes/container-sizes.component.d.ts +8 -0
- package/container/examples/container-sizes/container-sizes.module.d.ts +2 -0
- package/container/examples/daffodil-design-container-examples.d.ts +4 -0
- package/container/examples/daffodil-design-container-examples.metadata.json +1 -0
- package/container/examples/examples.d.ts +2 -0
- package/container/examples/index.d.ts +1 -0
- package/container/examples/package.json +11 -0
- package/container/examples/public_api.d.ts +3 -0
- package/core/article-encapsulated/article-encapsulated-mixin.d.ts +15 -0
- package/core/article-encapsulated/public_api.d.ts +1 -0
- package/core/compactable/compactable-mixin.d.ts +14 -0
- package/core/compactable/compactable.d.ts +7 -0
- package/core/compactable/public_api.d.ts +2 -0
- package/core/manage-container-layout/manage-container-layout-mixin.d.ts +17 -0
- package/core/manage-container-layout/public_api.d.ts +1 -0
- package/core/public_api.d.ts +3 -0
- package/daff-theme.scss +293 -128
- package/daff-typography.scss +5 -4
- package/daff-util.scss +5 -4
- package/daffodil-design.metadata.json +1 -1
- package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +4 -3
- package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +4 -3
- package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +4 -3
- package/esm2015/article/examples/article-code-block/article-code-block.component.js +4 -3
- package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +4 -3
- package/esm2015/article/examples/article-headings/article-headings.component.js +4 -3
- package/esm2015/article/examples/article-hr/article-hr.component.js +4 -3
- package/esm2015/article/examples/article-lead/article-lead.component.js +4 -3
- package/esm2015/article/examples/article-link/article-link.component.js +4 -3
- package/esm2015/article/examples/article-meta/article-meta.component.js +4 -3
- package/esm2015/article/examples/article-ol/article-ol.component.js +4 -3
- package/esm2015/article/examples/article-table/article-table.component.js +4 -3
- package/esm2015/article/examples/article-ul/article-ul.component.js +4 -3
- package/esm2015/atoms/button/button.component.js +3 -2
- package/esm2015/atoms/container/container.component.js +1 -1
- package/esm2015/atoms/form/form-field/form-field/form-field.component.js +3 -1
- package/esm2015/atoms/form/input/input.component.js +3 -2
- package/esm2015/atoms/form/select/select/select.component.js +3 -2
- package/esm2015/atoms/image/image.component.js +2 -2
- package/esm2015/button/examples/basic-button/basic-button.component.js +3 -2
- package/esm2015/button/examples/icon-button/icon-button.component.js +3 -2
- package/esm2015/button/examples/raised-button/raised-button.component.js +3 -2
- package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +3 -2
- package/esm2015/button/examples/statusable-button/statusable-button.component.js +3 -2
- package/esm2015/button/examples/stroked-button/stroked-button.component.js +3 -2
- package/esm2015/button/examples/underline-button/underline-button.component.js +3 -2
- package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +7 -3
- package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +5 -3
- package/esm2015/callout/examples/callout-theming/callout-theming.component.js +7 -3
- package/esm2015/callout/examples/callout-theming/callout-theming.module.js +5 -2
- package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +9 -4
- package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +3 -1
- package/esm2015/callout/examples/compact-callout/compact-callout.component.js +17 -0
- package/esm2015/callout/examples/compact-callout/compact-callout.module.js +22 -0
- package/esm2015/callout/examples/examples.js +3 -1
- package/esm2015/callout/examples/public_api.js +3 -1
- package/esm2015/card/examples/basic-card/basic-card.component.js +9 -4
- package/esm2015/card/examples/basic-card/basic-card.module.js +3 -1
- package/esm2015/card/examples/card-orientation/card-orientation.component.js +24 -0
- package/esm2015/card/examples/card-orientation/card-orientation.module.js +27 -0
- package/esm2015/card/examples/card-theming/card-theming.component.js +15 -5
- package/esm2015/card/examples/daffodil-design-card-examples.js +3 -1
- package/esm2015/card/examples/linkable-card/linkable-card.component.js +21 -4
- package/esm2015/card/examples/linkable-card/linkable-card.module.js +3 -1
- package/esm2015/card/examples/public_api.js +7 -1
- package/esm2015/card/examples/raised-card/raised-card.component.js +19 -4
- package/esm2015/card/examples/raised-card/raised-card.module.js +3 -3
- package/esm2015/card/examples/stroked-card/stroked-card.component.js +27 -0
- package/esm2015/card/examples/stroked-card/stroked-card.module.js +27 -0
- package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +4 -3
- package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +4 -3
- package/esm2015/container/examples/container-sizes/container-sizes.component.js +23 -0
- package/esm2015/container/examples/container-sizes/container-sizes.module.js +23 -0
- package/esm2015/container/examples/daffodil-design-container-examples.js +5 -0
- package/esm2015/container/examples/examples.js +5 -0
- package/esm2015/container/examples/index.js +2 -0
- package/esm2015/container/examples/public_api.js +4 -0
- package/esm2015/core/article-encapsulated/article-encapsulated-mixin.js +12 -0
- package/esm2015/core/article-encapsulated/public_api.js +2 -0
- package/esm2015/core/compactable/compactable-mixin.js +26 -0
- package/esm2015/core/compactable/compactable.js +2 -0
- package/esm2015/core/compactable/public_api.js +2 -0
- package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +14 -0
- package/esm2015/core/manage-container-layout/public_api.js +2 -0
- package/esm2015/core/public_api.js +4 -1
- package/esm2015/hero/examples/compact-hero/compact-hero.component.js +17 -0
- package/esm2015/hero/examples/compact-hero/compact-hero.module.js +26 -0
- package/esm2015/hero/examples/examples.js +3 -1
- package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +7 -3
- package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +5 -2
- package/esm2015/hero/examples/hero-theming/hero-theming.component.js +7 -3
- package/esm2015/hero/examples/hero-theming/hero-theming.module.js +5 -2
- package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +9 -4
- package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +3 -1
- package/esm2015/hero/examples/public_api.js +3 -1
- package/esm2015/list/examples/basic-list/basic-list.component.js +4 -3
- package/esm2015/list/examples/icon-list/icon-list.component.js +4 -3
- package/esm2015/list/examples/multiline-list/multiline-list.component.js +4 -3
- package/esm2015/list/examples/nav-list/nav-list.component.js +4 -3
- package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +4 -3
- package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +4 -3
- package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +4 -3
- package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +4 -3
- package/esm2015/modal/examples/basic-modal/basic-modal.component.js +4 -3
- package/esm2015/modal/examples/basic-modal/modal-content.component.js +4 -3
- package/esm2015/molecules/accordion/accordion/accordion.component.js +25 -3
- package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +3 -2
- package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +3 -2
- package/esm2015/molecules/article/article/article.component.js +4 -3
- package/esm2015/molecules/button-set/button-set.component.js +3 -2
- package/esm2015/molecules/callout/callout/callout.component.js +11 -12
- package/esm2015/molecules/callout/callout-body/callout-body.directive.js +18 -0
- package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +18 -0
- package/esm2015/molecules/callout/callout.module.js +7 -1
- package/esm2015/molecules/callout/public_api.js +4 -2
- package/esm2015/molecules/card/card/card.component.js +78 -15
- package/esm2015/molecules/card/card-content/card-content.directive.js +18 -0
- package/esm2015/molecules/card/card-icon/card-icon.directive.js +18 -0
- package/esm2015/molecules/card/card.module.js +9 -3
- package/esm2015/molecules/card/public_api.js +4 -2
- package/esm2015/molecules/feature/feature/feature.component.js +4 -1
- package/esm2015/molecules/hero/hero/hero.component.js +14 -24
- package/esm2015/molecules/hero/hero-body/hero-body.directive.js +18 -0
- package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +18 -0
- package/esm2015/molecules/hero/hero.module.js +7 -1
- package/esm2015/molecules/hero/public_api.js +3 -1
- package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +7 -3
- package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +6 -2
- package/esm2015/molecules/image-list/image-list.component.js +3 -2
- package/esm2015/molecules/link-set/link-set/link-set.component.js +23 -4
- package/esm2015/molecules/list/list/list.component.js +19 -5
- package/esm2015/molecules/media-gallery/media-gallery.component.js +31 -5
- package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +22 -8
- package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +2 -2
- package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +3 -2
- package/esm2015/molecules/navbar/navbar.component.js +11 -9
- package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +6 -1
- package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +3 -2
- package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +13 -0
- package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +20 -0
- package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +13 -0
- package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +20 -0
- package/esm2015/navbar/examples/daffodil-design-navbar-examples.js +5 -0
- package/esm2015/navbar/examples/examples.js +11 -0
- package/esm2015/navbar/examples/index.js +2 -0
- package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +27 -0
- package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +21 -0
- package/esm2015/navbar/examples/public_api.js +10 -0
- package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +13 -0
- package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +19 -0
- package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +3 -2
- package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +3 -2
- package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +3 -2
- package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +3 -2
- package/esm2015/radio/examples/basic-radio/basic-radio.component.js +4 -3
- package/fesm2015/daffodil-design-accordion-examples.js +5 -3
- package/fesm2015/daffodil-design-accordion-examples.js.map +1 -1
- package/fesm2015/daffodil-design-article-examples.js +23 -12
- package/fesm2015/daffodil-design-article-examples.js.map +1 -1
- package/fesm2015/daffodil-design-button-examples.js +8 -1
- package/fesm2015/daffodil-design-button-examples.js.map +1 -1
- package/fesm2015/daffodil-design-callout-examples.js +57 -8
- package/fesm2015/daffodil-design-callout-examples.js.map +1 -1
- package/fesm2015/daffodil-design-card-examples.js +150 -12
- package/fesm2015/daffodil-design-card-examples.js.map +1 -1
- package/fesm2015/daffodil-design-checkbox-examples.js +5 -3
- package/fesm2015/daffodil-design-checkbox-examples.js.map +1 -1
- package/fesm2015/daffodil-design-container-examples.js +54 -0
- package/fesm2015/daffodil-design-container-examples.js.map +1 -0
- package/fesm2015/daffodil-design-hero-examples.js +60 -7
- package/fesm2015/daffodil-design-hero-examples.js.map +1 -1
- package/fesm2015/daffodil-design-list-examples.js +9 -5
- package/fesm2015/daffodil-design-list-examples.js.map +1 -1
- package/fesm2015/daffodil-design-loading-icon-examples.js +5 -3
- package/fesm2015/daffodil-design-loading-icon-examples.js.map +1 -1
- package/fesm2015/daffodil-design-media-gallery-examples.js +5 -3
- package/fesm2015/daffodil-design-media-gallery-examples.js.map +1 -1
- package/fesm2015/daffodil-design-modal-examples.js +5 -3
- package/fesm2015/daffodil-design-modal-examples.js.map +1 -1
- package/fesm2015/daffodil-design-navbar-examples.js +142 -0
- package/fesm2015/daffodil-design-navbar-examples.js.map +1 -0
- package/fesm2015/daffodil-design-quantity-field-examples.js +5 -1
- package/fesm2015/daffodil-design-quantity-field-examples.js.map +1 -1
- package/fesm2015/daffodil-design-radio-examples.js +3 -2
- package/fesm2015/daffodil-design-radio-examples.js.map +1 -1
- package/fesm2015/daffodil-design.js +440 -111
- package/fesm2015/daffodil-design.js.map +1 -1
- package/hero/examples/compact-hero/compact-hero.component.d.ts +3 -0
- package/hero/examples/compact-hero/compact-hero.module.d.ts +2 -0
- package/hero/examples/daffodil-design-hero-examples.metadata.json +1 -1
- package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -0
- package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -0
- package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -0
- package/hero/examples/public_api.d.ts +2 -0
- package/list/examples/daffodil-design-list-examples.metadata.json +1 -1
- package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +1 -1
- package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +1 -1
- package/modal/examples/daffodil-design-modal-examples.metadata.json +1 -1
- package/molecules/accordion/accordion/accordion.component.d.ts +20 -1
- package/molecules/callout/callout/callout.component.d.ts +37 -11
- package/molecules/callout/callout-body/callout-body.directive.d.ts +6 -0
- package/molecules/callout/callout-icon/callout-icon.directive.d.ts +6 -0
- package/molecules/callout/public_api.d.ts +3 -1
- package/molecules/card/card/card.component.d.ts +42 -11
- package/molecules/card/card-content/card-content.directive.d.ts +6 -0
- package/molecules/card/card-icon/card-icon.directive.d.ts +6 -0
- package/molecules/card/public_api.d.ts +3 -1
- package/molecules/feature/feature/feature.component.d.ts +3 -0
- package/molecules/hero/hero/hero.component.d.ts +41 -21
- package/molecules/hero/hero-body/hero-body.directive.d.ts +6 -0
- package/molecules/hero/hero-icon/hero-icon.directive.d.ts +6 -0
- package/molecules/hero/public_api.d.ts +2 -0
- package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
- package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
- package/molecules/link-set/link-set/link-set.component.d.ts +20 -1
- package/molecules/list/list/list.component.d.ts +19 -3
- package/molecules/media-gallery/media-gallery.component.d.ts +24 -2
- package/molecules/media-gallery/registry/media-gallery.registry.d.ts +6 -3
- package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
- package/molecules/navbar/navbar.component.d.ts +10 -5
- package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
- package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +2 -0
- package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +2 -0
- package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +2 -0
- package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +2 -0
- package/navbar/examples/daffodil-design-navbar-examples.d.ts +4 -0
- package/navbar/examples/daffodil-design-navbar-examples.metadata.json +1 -0
- package/navbar/examples/examples.d.ts +2 -0
- package/navbar/examples/index.d.ts +1 -0
- package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +8 -0
- package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +2 -0
- package/navbar/examples/package.json +11 -0
- package/navbar/examples/public_api.d.ts +9 -0
- package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +2 -0
- package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +2 -0
- package/package.json +2 -2
- package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +1 -1
- package/radio/examples/daffodil-design-radio-examples.metadata.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Component, NgModule } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import { DaffArticleModule } from '@daffodil/design';
|
4
4
|
|
@@ -8,7 +8,8 @@ ArticleHeadingsComponent.decorators = [
|
|
8
8
|
{ type: Component, args: [{
|
9
9
|
// eslint-disable-next-line @angular-eslint/component-selector
|
10
10
|
selector: 'article-headings',
|
11
|
-
template: "<daff-article>\n <h1>This is a h1 heading.</h1>\n <h2>This is a h2 heading.</h2>\n <h3>This is a h3 heading.</h3>\n <h4>This is a h4 heading.</h4>\n <h5>This is a h5 heading.</h5>\n <h6>This is a h6 heading.</h6>\n</daff-article>"
|
11
|
+
template: "<daff-article>\n <h1>This is a h1 heading.</h1>\n <h2>This is a h2 heading.</h2>\n <h3>This is a h3 heading.</h3>\n <h4>This is a h4 heading.</h4>\n <h5>This is a h5 heading.</h5>\n <h6>This is a h6 heading.</h6>\n</daff-article>",
|
12
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
12
13
|
},] }
|
13
14
|
];
|
14
15
|
|
@@ -18,7 +19,8 @@ ArticleCodeInlineComponent.decorators = [
|
|
18
19
|
{ type: Component, args: [{
|
19
20
|
// eslint-disable-next-line @angular-eslint/component-selector
|
20
21
|
selector: 'article-code-inline',
|
21
|
-
template: "<daff-article>\n <p>We could be discussing <code>functions</code> or <code>types</code>, but we should indicate the difference between these elements and regular text!</p>\n</daff-article>"
|
22
|
+
template: "<daff-article>\n <p>We could be discussing <code>functions</code> or <code>types</code>, but we should indicate the difference between these elements and regular text!</p>\n</daff-article>",
|
23
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
22
24
|
},] }
|
23
25
|
];
|
24
26
|
|
@@ -28,7 +30,8 @@ ArticleHrComponent.decorators = [
|
|
28
30
|
{ type: Component, args: [{
|
29
31
|
// eslint-disable-next-line @angular-eslint/component-selector
|
30
32
|
selector: 'article-hr',
|
31
|
-
template: "<daff-article>\n <hr>\n</daff-article>"
|
33
|
+
template: "<daff-article>\n <hr>\n</daff-article>",
|
34
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
32
35
|
},] }
|
33
36
|
];
|
34
37
|
|
@@ -38,7 +41,8 @@ ArticleOlComponent.decorators = [
|
|
38
41
|
{ type: Component, args: [{
|
39
42
|
// eslint-disable-next-line @angular-eslint/component-selector
|
40
43
|
selector: 'article-ol',
|
41
|
-
template: "<daff-article>\n <ol>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n </ol>\n</daff-article>"
|
44
|
+
template: "<daff-article>\n <ol>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n </ol>\n</daff-article>",
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
42
46
|
},] }
|
43
47
|
];
|
44
48
|
|
@@ -48,7 +52,8 @@ ArticleUlComponent.decorators = [
|
|
48
52
|
{ type: Component, args: [{
|
49
53
|
// eslint-disable-next-line @angular-eslint/component-selector
|
50
54
|
selector: 'article-ul',
|
51
|
-
template: "<daff-article>\n <ul>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n </ul>\n</daff-article>"
|
55
|
+
template: "<daff-article>\n <ul>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n </ul>\n</daff-article>",
|
56
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
52
57
|
},] }
|
53
58
|
];
|
54
59
|
|
@@ -58,7 +63,8 @@ ArticleMetaComponent.decorators = [
|
|
58
63
|
{ type: Component, args: [{
|
59
64
|
// eslint-disable-next-line @angular-eslint/component-selector
|
60
65
|
selector: 'article-meta',
|
61
|
-
template: "<daff-article>\n <p daffArticleMeta>Some interesting information about an article</p>\n</daff-article>"
|
66
|
+
template: "<daff-article>\n <p daffArticleMeta>Some interesting information about an article</p>\n</daff-article>",
|
67
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
62
68
|
},] }
|
63
69
|
];
|
64
70
|
|
@@ -68,7 +74,8 @@ ArticleLinkComponent.decorators = [
|
|
68
74
|
{ type: Component, args: [{
|
69
75
|
// eslint-disable-next-line @angular-eslint/component-selector
|
70
76
|
selector: 'article-link',
|
71
|
-
template: "<daff-article>\n <a href=\"#\">This is a link.</a>\n</daff-article>"
|
77
|
+
template: "<daff-article>\n <a href=\"#\">This is a link.</a>\n</daff-article>",
|
78
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
72
79
|
},] }
|
73
80
|
];
|
74
81
|
|
@@ -78,7 +85,8 @@ ArticleLeadComponent.decorators = [
|
|
78
85
|
{ type: Component, args: [{
|
79
86
|
// eslint-disable-next-line @angular-eslint/component-selector
|
80
87
|
selector: 'article-lead',
|
81
|
-
template: "<daff-article>\n <p daffArticleLead>This is an Article Lead.</p>\n</daff-article>"
|
88
|
+
template: "<daff-article>\n <p daffArticleLead>This is an Article Lead.</p>\n</daff-article>",
|
89
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
82
90
|
},] }
|
83
91
|
];
|
84
92
|
|
@@ -88,7 +96,8 @@ ArticleBlockquoteComponent.decorators = [
|
|
88
96
|
{ type: Component, args: [{
|
89
97
|
// eslint-disable-next-line @angular-eslint/component-selector
|
90
98
|
selector: 'article-blockquote',
|
91
|
-
template: "<daff-article>\n <blockquote>\n This is a blockquote. This can be used for customer testimonals, document references, etc.\n <cite>Name your quote source here.</cite>\n </blockquote>\n</daff-article>"
|
99
|
+
template: "<daff-article>\n <blockquote>\n This is a blockquote. This can be used for customer testimonals, document references, etc.\n <cite>Name your quote source here.</cite>\n </blockquote>\n</daff-article>",
|
100
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
92
101
|
},] }
|
93
102
|
];
|
94
103
|
|
@@ -98,7 +107,8 @@ ArticleTableComponent.decorators = [
|
|
98
107
|
{ type: Component, args: [{
|
99
108
|
// eslint-disable-next-line @angular-eslint/component-selector
|
100
109
|
selector: 'article-table',
|
101
|
-
template: "<daff-article>\n <table>\n <thead>\n <tr>\n <th>Product Name</th>\n <th>Description</th>\n <th>Price</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>T-Shirt</td>\n <td>White Crew Neck T-Shirt</td>\n <td>$20.00</td>\n </tr>\n <tr>\n <td>Shorts</td>\n <td>Black Denim Shorts</td>\n <td>$40.00</td>\n </tr>\n <tr>\n <td>Shoes</td>\n <td>White Sneakers</td>\n <td>$100.00</td>\n </tr>\n </tbody>\n </table>\n</daff-article>"
|
110
|
+
template: "<daff-article>\n <table>\n <thead>\n <tr>\n <th>Product Name</th>\n <th>Description</th>\n <th>Price</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>T-Shirt</td>\n <td>White Crew Neck T-Shirt</td>\n <td>$20.00</td>\n </tr>\n <tr>\n <td>Shorts</td>\n <td>Black Denim Shorts</td>\n <td>$40.00</td>\n </tr>\n <tr>\n <td>Shoes</td>\n <td>White Sneakers</td>\n <td>$100.00</td>\n </tr>\n </tbody>\n </table>\n</daff-article>",
|
111
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
102
112
|
},] }
|
103
113
|
];
|
104
114
|
|
@@ -108,7 +118,8 @@ ArticleCodeBlockComponent.decorators = [
|
|
108
118
|
{ type: Component, args: [{
|
109
119
|
// eslint-disable-next-line @angular-eslint/component-selector
|
110
120
|
selector: 'article-code-block',
|
111
|
-
template: "<daff-article>\n<pre><code>This is a line of code.\nThis is another line of code.\n</code></pre>\n</daff-article>\n"
|
121
|
+
template: "<daff-article>\n<pre><code>This is a line of code.\nThis is another line of code.\n</code></pre>\n</daff-article>\n",
|
122
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
112
123
|
},] }
|
113
124
|
];
|
114
125
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-article-examples.js","sources":["../../../libs/design/article/examples/src/article-headings/article-headings.component.ts","../../../libs/design/article/examples/src/article-code-inline/article-code-inline.component.ts","../../../libs/design/article/examples/src/article-hr/article-hr.component.ts","../../../libs/design/article/examples/src/article-ol/article-ol.component.ts","../../../libs/design/article/examples/src/article-ul/article-ul.component.ts","../../../libs/design/article/examples/src/article-meta/article-meta.component.ts","../../../libs/design/article/examples/src/article-link/article-link.component.ts","../../../libs/design/article/examples/src/article-lead/article-lead.component.ts","../../../libs/design/article/examples/src/article-blockquote/article-blockquote.component.ts","../../../libs/design/article/examples/src/article-table/article-table.component.ts","../../../libs/design/article/examples/src/article-code-block/article-code-block.component.ts","../../../libs/design/article/examples/src/examples.ts","../../../libs/design/article/examples/src/article-examples.module.ts","../../../libs/design/article/examples/src/daffodil-design-article-examples.ts"],"sourcesContent":["import {
|
1
|
+
{"version":3,"file":"daffodil-design-article-examples.js","sources":["../../../libs/design/article/examples/src/article-headings/article-headings.component.ts","../../../libs/design/article/examples/src/article-code-inline/article-code-inline.component.ts","../../../libs/design/article/examples/src/article-hr/article-hr.component.ts","../../../libs/design/article/examples/src/article-ol/article-ol.component.ts","../../../libs/design/article/examples/src/article-ul/article-ul.component.ts","../../../libs/design/article/examples/src/article-meta/article-meta.component.ts","../../../libs/design/article/examples/src/article-link/article-link.component.ts","../../../libs/design/article/examples/src/article-lead/article-lead.component.ts","../../../libs/design/article/examples/src/article-blockquote/article-blockquote.component.ts","../../../libs/design/article/examples/src/article-table/article-table.component.ts","../../../libs/design/article/examples/src/article-code-block/article-code-block.component.ts","../../../libs/design/article/examples/src/examples.ts","../../../libs/design/article/examples/src/article-examples.module.ts","../../../libs/design/article/examples/src/daffodil-design-article-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-headings',\n templateUrl: './article-headings.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleHeadingsComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-code-inline',\n templateUrl: './article-code-inline.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleCodeInlineComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-hr',\n templateUrl: './article-hr.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleHrComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-ol',\n templateUrl: './article-ol.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleOlComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-ul',\n templateUrl: './article-ul.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleUlComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-meta',\n templateUrl: './article-meta.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleMetaComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-link',\n templateUrl: './article-link.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleLinkComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-lead',\n templateUrl: './article-lead.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleLeadComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-blockquote',\n templateUrl: './article-blockquote.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleBlockquoteComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-table',\n templateUrl: './article-table.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleTableComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-code-block',\n templateUrl: './article-code-block.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleCodeBlockComponent {}\n","import { ArticleBlockquoteComponent } from './article-blockquote/article-blockquote.component';\nimport { ArticleCodeBlockComponent } from './article-code-block/article-code-block.component';\nimport { ArticleCodeInlineComponent } from './article-code-inline/article-code-inline.component';\nimport { ArticleHeadingsComponent } from './article-headings/article-headings.component';\nimport { ArticleHrComponent } from './article-hr/article-hr.component';\nimport { ArticleLeadComponent } from './article-lead/article-lead.component';\nimport { ArticleLinkComponent } from './article-link/article-link.component';\nimport { ArticleMetaComponent } from './article-meta/article-meta.component';\nimport { ArticleOlComponent } from './article-ol/article-ol.component';\nimport { ArticleTableComponent } from './article-table/article-table.component';\nimport { ArticleUlComponent } from './article-ul/article-ul.component';\n\nexport const ARTICLE_EXAMPLES = [\n ArticleBlockquoteComponent,\n ArticleCodeBlockComponent,\n ArticleCodeInlineComponent,\n ArticleHeadingsComponent,\n ArticleHrComponent,\n ArticleLeadComponent,\n ArticleLinkComponent,\n ArticleMetaComponent,\n ArticleOlComponent,\n ArticleUlComponent,\n ArticleTableComponent,\n];\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffArticleModule } from '@daffodil/design';\n\nimport { ARTICLE_EXAMPLES } from './examples';\n\n@NgModule({\n declarations: [\n ...ARTICLE_EXAMPLES,\n ],\n imports: [\n CommonModule,\n DaffArticleModule,\n ],\n entryComponents: [\n ...ARTICLE_EXAMPLES,\n ],\n})\nexport class ArticleExamplesModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {ArticleCodeBlockComponent as ɵa} from './article-code-block/article-code-block.component';"],"names":[],"mappings":";;;;MAWa,wBAAwB;;;YANpC,SAAS,SAAC;;gBAET,QAAQ,EAAE,kBAAkB;gBAC5B,uPAAgD;gBAChD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,0BAA0B;;;YANtC,SAAS,SAAC;;gBAET,QAAQ,EAAE,qBAAqB;gBAC/B,yMAAmD;gBACnD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,kBAAkB;;;YAN9B,SAAS,SAAC;;gBAET,QAAQ,EAAE,YAAY;gBACtB,mDAA0C;gBAC1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,kBAAkB;;;YAN9B,SAAS,SAAC;;gBAET,QAAQ,EAAE,YAAY;gBACtB,sSAA0C;gBAC1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,kBAAkB;;;YAN9B,SAAS,SAAC;;gBAET,QAAQ,EAAE,YAAY;gBACtB,kTAA0C;gBAC1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,oBAAoB;;;YANhC,SAAS,SAAC;;gBAET,QAAQ,EAAE,cAAc;gBACxB,mHAA4C;gBAC5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,oBAAoB;;;YANhC,SAAS,SAAC;;gBAET,QAAQ,EAAE,cAAc;gBACxB,gFAA4C;gBAC5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,oBAAoB;;;YANhC,SAAS,SAAC;;gBAET,QAAQ,EAAE,cAAc;gBACxB,8FAA4C;gBAC5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,0BAA0B;;;YANtC,SAAS,SAAC;;gBAET,QAAQ,EAAE,oBAAoB;gBAC9B,2NAAkD;gBAClD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,qBAAqB;;;YANjC,SAAS,SAAC;;gBAET,QAAQ,EAAE,eAAe;gBACzB,wjBAA6C;gBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCCY,yBAAyB;;;YANrC,SAAS,SAAC;;gBAET,QAAQ,EAAE,oBAAoB;gBAC9B,+HAAkD;gBAClD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCEY,gBAAgB,GAAG;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,0BAA0B;IAC1B,wBAAwB;IACxB,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;;;MCJV,qBAAqB;;;YAZjC,QAAQ,SAAC;gBACR,YAAY,EAAE;oBACZ,GAAG,gBAAgB;iBACpB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,iBAAiB;iBAClB;gBACD,eAAe,EAAE;oBACf,GAAG,gBAAgB;iBACpB;aACF;;;AClBD;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Component, NgModule } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
2
2
|
import { faChevronLeft, faChevronRight, faPlus, faExclamation, faExclamationTriangle, faCheckCircle } from '@fortawesome/free-solid-svg-icons';
|
3
3
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
4
4
|
import { DaffButtonModule } from '@daffodil/design';
|
@@ -14,6 +14,7 @@ BasicButtonComponent.decorators = [
|
|
14
14
|
// eslint-disable-next-line @angular-eslint/component-selector
|
15
15
|
selector: 'basic-button',
|
16
16
|
template: "<button daff-button>Default</button>\n<button daff-button color=\"primary\">Primary</button>\n<button daff-button color=\"secondary\">Secondary</button>\n<button daff-button color=\"tertiary\">Tertiary</button>\n<button daff-button color=\"black\">Black</button>\n<button daff-button color=\"white\">White</button>\n<button daff-button color=\"theme\">Theme</button>\n<button daff-button color=\"theme-contrast\">Theme Contrast</button>\n<button daff-button><fa-icon [icon]=\"faChevronLeft\" daffPrefix></fa-icon>Button</button>\n<button daff-button><fa-icon [icon]=\"faChevronRight\" daffSuffix></fa-icon>Button</button>\n<button daff-button disabled>Disabled</button>\n<a href=\"#\" daff-button>Link</a>",
|
17
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
17
18
|
styles: [`
|
18
19
|
button[daff-button],
|
19
20
|
a[daff-button] {
|
@@ -50,6 +51,7 @@ IconButtonComponent.decorators = [
|
|
50
51
|
// eslint-disable-next-line @angular-eslint/component-selector
|
51
52
|
selector: 'icon-button',
|
52
53
|
template: "<button daff-icon-button><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"primary\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"secondary\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"tertiary\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"black\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"white\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"theme\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button color=\"theme-contrast\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n<button daff-icon-button disabled><fa-icon [icon]=\"faPlus\"></fa-icon></button>",
|
54
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
53
55
|
styles: [`
|
54
56
|
button[daff-button],
|
55
57
|
a[daff-button] {
|
@@ -87,6 +89,7 @@ RaisedButtonComponent.decorators = [
|
|
87
89
|
// eslint-disable-next-line @angular-eslint/component-selector
|
88
90
|
selector: 'raised-button',
|
89
91
|
template: "<button daff-raised-button>Default</button>\n<button daff-raised-button color=\"primary\">Primary</button>\n<button daff-raised-button color=\"secondary\">Secondary</button>\n<button daff-raised-button color=\"tertiary\">Tertiary</button>\n<button daff-raised-button color=\"black\">Black</button>\n<button daff-raised-button color=\"white\">White</button>\n<button daff-raised-button color=\"theme\">Theme</button>\n<button daff-raised-button color=\"theme-contrast\">Theme Contrast</button>\n<button daff-raised-button><fa-icon [icon]=\"faChevronLeft\" daffPrefix></fa-icon>Button</button>\n<button daff-raised-button><fa-icon [icon]=\"faChevronRight\" daffSuffix></fa-icon>Button</button>\n<button daff-raised-button disabled>Disabled</button>\n<a href=\"#\" daff-raised-button>Link</a>",
|
92
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
90
93
|
styles: [`
|
91
94
|
button[daff-raised-button],
|
92
95
|
a[daff-raised-button] {
|
@@ -123,6 +126,7 @@ SizeableButtonComponent.decorators = [
|
|
123
126
|
// eslint-disable-next-line @angular-eslint/component-selector
|
124
127
|
selector: 'sizeable-button',
|
125
128
|
template: "<h4>Small Buttons</h4>\n\n<button daff-button size=\"sm\">Small Button</button>\n<button daff-raised-button size=\"sm\">Small Raised Button</button>\n<button daff-stroked-button size=\"sm\">Small Stroked Button</button>\n\n<button daff-underline-button size=\"sm\">Small Underline Button</button>\n<button daff-icon-button size=\"sm\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n\n<h4>Medium Buttons (Default)</h4>\n\n<button daff-button size=\"md\">Medium Button</button>\n<button daff-raised-button size=\"md\">Medium Raised Button</button>\n<button daff-stroked-button size=\"md\">Medium Stroked Button</button>\n\n<button daff-underline-button size=\"md\">Medium Underline Button</button>\n<button daff-icon-button size=\"md\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>\n\n<h4>Large Buttons</h4>\n\n<button daff-button size=\"lg\">Large Button</button>\n<button daff-raised-button size=\"lg\">Large Raised Button</button>\n<button daff-stroked-button size=\"lg\">Large Stroked Button</button>\n\n\n<button daff-underline-button size=\"lg\">Large Underline Button</button>\n<button daff-icon-button size=\"lg\"><fa-icon [icon]=\"faPlus\"></fa-icon></button>",
|
129
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
126
130
|
styles: [`
|
127
131
|
button {
|
128
132
|
margin: 4px;
|
@@ -160,6 +164,7 @@ StatusableButtonComponent.decorators = [
|
|
160
164
|
// eslint-disable-next-line @angular-eslint/component-selector
|
161
165
|
selector: 'statusable-button',
|
162
166
|
template: "<h4>Basic Status Buttons</h4>\n<button daff-button status=\"warn\">Warn</button>\n<button daff-button status=\"danger\">Danger</button>\n<button daff-button status=\"success\">Success</button>\n\n<h4>Stroked Status Buttons</h4>\n<button daff-stroked-button status=\"warn\">Warn</button>\n<button daff-stroked-button status=\"danger\">Danger</button>\n<button daff-stroked-button status=\"success\">Success</button>\n\n<h4>Raised Status Buttons</h4>\n<button daff-raised-button status=\"warn\">Warn</button>\n<button daff-raised-button status=\"danger\">Danger</button>\n<button daff-raised-button status=\"success\">Success</button>\n\n<h4>Underline Status Buttons</h4>\n<button daff-underline-button status=\"warn\">Warn</button>\n<button daff-underline-button status=\"danger\">Danger</button>\n<button daff-underline-button status=\"success\">Success</button>\n\n<h4>Icon Status Buttons</h4>\n<button daff-icon-button status=\"warn\"><fa-icon [icon]=\"faExclamation\"></fa-icon></button>\n<button daff-icon-button status=\"danger\"><fa-icon [icon]=\"faExclamationTriangle\"></fa-icon></button>\n<button daff-icon-button status=\"success\"><fa-icon [icon]=\"faCheckCircle\"></fa-icon></button>",
|
167
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
163
168
|
styles: [`
|
164
169
|
button[daff-button],
|
165
170
|
button[daff-stroked-button],
|
@@ -200,6 +205,7 @@ StrokedButtonComponent.decorators = [
|
|
200
205
|
// eslint-disable-next-line @angular-eslint/component-selector
|
201
206
|
selector: 'stroked-button',
|
202
207
|
template: "<button daff-stroked-button>Default</button>\n<button daff-stroked-button color=\"primary\">Primary</button>\n<button daff-stroked-button color=\"secondary\">Secondary</button>\n<button daff-stroked-button color=\"tertiary\">Tertiary</button>\n<button daff-stroked-button color=\"black\">Black</button>\n<button daff-stroked-button color=\"white\">White</button>\n<button daff-stroked-button color=\"theme\">Theme</button>\n<button daff-stroked-button color=\"theme-contrast\">Theme Contrast</button>\n<button daff-stroked-button><fa-icon [icon]=\"faChevronLeft\" daffPrefix></fa-icon>Button</button>\n<button daff-stroked-button><fa-icon [icon]=\"faChevronRight\" daffSuffix></fa-icon>Button</button>\n<button daff-stroked-button disabled>Disabled</button>\n<a href=\"#\" daff-stroked-button>Link</a>",
|
208
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
203
209
|
styles: [`
|
204
210
|
button[daff-stroked-button],
|
205
211
|
a[daff-stroked-button] {
|
@@ -237,6 +243,7 @@ UnderlineButtonComponent.decorators = [
|
|
237
243
|
// eslint-disable-next-line @angular-eslint/component-selector
|
238
244
|
selector: 'underline-button',
|
239
245
|
template: "<button daff-underline-button>Default</button>\n<button daff-underline-button color=\"primary\">Primary</button>\n<button daff-underline-button color=\"secondary\">Secondary</button>\n<button daff-underline-button color=\"tertiary\">Tertiary</button>\n<button daff-underline-button color=\"black\">Black</button>\n<button daff-underline-button color=\"white\">White</button>\n<button daff-underline-button color=\"theme\">Theme</button>\n<button daff-underline-button color=\"theme-contrast\">Theme Contrast</button>\n<button daff-underline-button><fa-icon [icon]=\"faChevronLeft\" daffPrefix></fa-icon>Button</button>\n<button daff-underline-button><fa-icon [icon]=\"faChevronRight\" daffSuffix></fa-icon>Button</button>\n<button daff-underline-button disabled>Disabled</button>\n<a href=\"#\" daff-underline-button>Link</a>",
|
246
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
240
247
|
styles: [`
|
241
248
|
button[daff-underline-button],
|
242
249
|
a[daff-underline-button] {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-button-examples.js","sources":["../../../libs/design/button/examples/src/basic-button/basic-button.component.ts","../../../libs/design/button/examples/src/basic-button/basic-button.module.ts","../../../libs/design/button/examples/src/icon-button/icon-button.component.ts","../../../libs/design/button/examples/src/icon-button/icon-button.module.ts","../../../libs/design/button/examples/src/raised-button/raised-button.component.ts","../../../libs/design/button/examples/src/raised-button/raised-button.module.ts","../../../libs/design/button/examples/src/sizeable-button/sizeable-button.component.ts","../../../libs/design/button/examples/src/sizeable-button/sizeable-button.module.ts","../../../libs/design/button/examples/src/statusable-button/statusable-button.component.ts","../../../libs/design/button/examples/src/statusable-button/statusable-button.module.ts","../../../libs/design/button/examples/src/stroked-button/stroked-button.component.ts","../../../libs/design/button/examples/src/stroked-button/stroked-button.module.ts","../../../libs/design/button/examples/src/underline-button/underline-button.component.ts","../../../libs/design/button/examples/src/underline-button/underline-button.module.ts","../../../libs/design/button/examples/src/public_api.ts","../../../libs/design/button/examples/src/daffodil-design-button-examples.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-button',\n templateUrl: './basic-button.component.html',\n styles: [`\n button[daff-button],\n a[daff-button] {\n margin: 4px;\n }\n `],\n})\nexport class BasicButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { BasicButtonComponent } from './basic-button.component';\n\n\n@NgModule({\n declarations: [\n BasicButtonComponent,\n ],\n exports: [\n BasicButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class BasicButtonModule { }\n","import { Component } from '@angular/core';\nimport { faPlus } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'icon-button',\n templateUrl: './icon-button.component.html',\n styles: [`\n button[daff-button],\n a[daff-button] {\n margin: 4px;\n }\n `],\n})\nexport class IconButtonComponent {\n faPlus = faPlus;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { IconButtonComponent } from './icon-button.component';\n\n\n@NgModule({\n declarations: [\n IconButtonComponent,\n ],\n exports: [\n IconButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class IconButtonModule { }\n","import { Component } from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'raised-button',\n templateUrl: './raised-button.component.html',\n styles: [`\n button[daff-raised-button],\n a[daff-raised-button] {\n margin: 4px;\n }\n `],\n})\nexport class RaisedButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { RaisedButtonComponent } from './raised-button.component';\n\n\n@NgModule({\n declarations: [\n RaisedButtonComponent,\n ],\n exports: [\n RaisedButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class RaisedButtonModule { }\n","import { Component } from '@angular/core';\nimport { faPlus } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'sizeable-button',\n templateUrl: './sizeable-button.component.html',\n styles: [`\n button {\n margin: 4px;\n }\n `],\n})\nexport class SizeableButtonComponent {\n faPlus = faPlus;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { SizeableButtonComponent } from './sizeable-button.component';\n\n\n@NgModule({\n declarations: [\n SizeableButtonComponent,\n ],\n exports: [\n SizeableButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class SizeableButtonModule { }\n","import { Component } from '@angular/core';\nimport {\n faExclamation,\n faExclamationTriangle,\n faCheckCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'statusable-button',\n templateUrl: './statusable-button.component.html',\n styles: [`\n button[daff-button],\n button[daff-stroked-button],\n button[daff-raised-button],\n button[daff-underline-button],\n button[daff-icon-button] {\n margin: 4px;\n }\n `],\n})\nexport class StatusableButtonComponent {\n faExclamation = faExclamation;\n faExclamationTriangle = faExclamationTriangle;\n faCheckCircle = faCheckCircle;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { StatusableButtonComponent } from './statusable-button.component';\n\n\n@NgModule({\n declarations: [\n StatusableButtonComponent,\n ],\n exports: [\n StatusableButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class StatusableButtonModule { }\n","import { Component } from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'stroked-button',\n templateUrl: './stroked-button.component.html',\n styles: [`\n button[daff-stroked-button],\n a[daff-stroked-button] {\n margin: 4px;\n }\n `],\n})\nexport class StrokedButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { StrokedButtonComponent } from './stroked-button.component';\n\n\n@NgModule({\n declarations: [\n StrokedButtonComponent,\n ],\n exports: [\n StrokedButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class StrokedButtonModule { }\n","import { Component } from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'underline-button',\n templateUrl: './underline-button.component.html',\n styles: [`\n button[daff-underline-button],\n a[daff-underline-button] {\n margin: 4px;\n }\n `],\n})\nexport class UnderlineButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { UnderlineButtonComponent } from './underline-button.component';\n\n\n@NgModule({\n declarations: [\n UnderlineButtonComponent,\n ],\n exports: [\n UnderlineButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class UnderlineButtonModule { }\n","import { BasicButtonComponent } from './basic-button/basic-button.component';\nexport { BasicButtonModule } from './basic-button/basic-button.module';\nimport { IconButtonComponent } from './icon-button/icon-button.component';\nexport { IconButtonModule } from './icon-button/icon-button.module';\nimport { RaisedButtonComponent } from './raised-button/raised-button.component';\nexport { RaisedButtonModule } from './raised-button/raised-button.module';\nimport { SizeableButtonComponent } from './sizeable-button/sizeable-button.component';\nexport { SizeableButtonModule } from './sizeable-button/sizeable-button.module';\nimport { StatusableButtonComponent } from './statusable-button/statusable-button.component';\nexport { StatusableButtonModule } from './statusable-button/statusable-button.module';\nimport { StrokedButtonComponent } from './stroked-button/stroked-button.component';\nexport { StrokedButtonModule } from './stroked-button/stroked-button.module';\nimport { UnderlineButtonComponent } from './underline-button/underline-button.component';\nexport { UnderlineButtonModule } from './underline-button/underline-button.module';\n\nexport const BUTTON_EXAMPLES = [\n BasicButtonComponent,\n IconButtonComponent,\n RaisedButtonComponent,\n SizeableButtonComponent,\n StatusableButtonComponent,\n StrokedButtonComponent,\n UnderlineButtonComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicButtonComponent as ɵa} from './basic-button/basic-button.component';\nexport {IconButtonComponent as ɵb} from './icon-button/icon-button.component';\nexport {RaisedButtonComponent as ɵc} from './raised-button/raised-button.component';\nexport {SizeableButtonComponent as ɵd} from './sizeable-button/sizeable-button.component';\nexport {StatusableButtonComponent as ɵe} from './statusable-button/statusable-button.component';\nexport {StrokedButtonComponent as ɵf} from './stroked-button/stroked-button.component';\nexport {UnderlineButtonComponent as ɵg} from './underline-button/underline-button.component';"],"names":[],"mappings":"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"}
|
1
|
+
{"version":3,"file":"daffodil-design-button-examples.js","sources":["../../../libs/design/button/examples/src/basic-button/basic-button.component.ts","../../../libs/design/button/examples/src/basic-button/basic-button.module.ts","../../../libs/design/button/examples/src/icon-button/icon-button.component.ts","../../../libs/design/button/examples/src/icon-button/icon-button.module.ts","../../../libs/design/button/examples/src/raised-button/raised-button.component.ts","../../../libs/design/button/examples/src/raised-button/raised-button.module.ts","../../../libs/design/button/examples/src/sizeable-button/sizeable-button.component.ts","../../../libs/design/button/examples/src/sizeable-button/sizeable-button.module.ts","../../../libs/design/button/examples/src/statusable-button/statusable-button.component.ts","../../../libs/design/button/examples/src/statusable-button/statusable-button.module.ts","../../../libs/design/button/examples/src/stroked-button/stroked-button.component.ts","../../../libs/design/button/examples/src/stroked-button/stroked-button.module.ts","../../../libs/design/button/examples/src/underline-button/underline-button.component.ts","../../../libs/design/button/examples/src/underline-button/underline-button.module.ts","../../../libs/design/button/examples/src/public_api.ts","../../../libs/design/button/examples/src/daffodil-design-button-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-button',\n templateUrl: './basic-button.component.html',\n styles: [`\n button[daff-button],\n a[daff-button] {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { BasicButtonComponent } from './basic-button.component';\n\n\n@NgModule({\n declarations: [\n BasicButtonComponent,\n ],\n exports: [\n BasicButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class BasicButtonModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faPlus } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'icon-button',\n templateUrl: './icon-button.component.html',\n styles: [`\n button[daff-button],\n a[daff-button] {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconButtonComponent {\n faPlus = faPlus;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { IconButtonComponent } from './icon-button.component';\n\n\n@NgModule({\n declarations: [\n IconButtonComponent,\n ],\n exports: [\n IconButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class IconButtonModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'raised-button',\n templateUrl: './raised-button.component.html',\n styles: [`\n button[daff-raised-button],\n a[daff-raised-button] {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class RaisedButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { RaisedButtonComponent } from './raised-button.component';\n\n\n@NgModule({\n declarations: [\n RaisedButtonComponent,\n ],\n exports: [\n RaisedButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class RaisedButtonModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faPlus } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'sizeable-button',\n templateUrl: './sizeable-button.component.html',\n styles: [`\n button {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SizeableButtonComponent {\n faPlus = faPlus;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { SizeableButtonComponent } from './sizeable-button.component';\n\n\n@NgModule({\n declarations: [\n SizeableButtonComponent,\n ],\n exports: [\n SizeableButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class SizeableButtonModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faExclamation,\n faExclamationTriangle,\n faCheckCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'statusable-button',\n templateUrl: './statusable-button.component.html',\n styles: [`\n button[daff-button],\n button[daff-stroked-button],\n button[daff-raised-button],\n button[daff-underline-button],\n button[daff-icon-button] {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StatusableButtonComponent {\n faExclamation = faExclamation;\n faExclamationTriangle = faExclamationTriangle;\n faCheckCircle = faCheckCircle;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { StatusableButtonComponent } from './statusable-button.component';\n\n\n@NgModule({\n declarations: [\n StatusableButtonComponent,\n ],\n exports: [\n StatusableButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class StatusableButtonModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'stroked-button',\n templateUrl: './stroked-button.component.html',\n styles: [`\n button[daff-stroked-button],\n a[daff-stroked-button] {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StrokedButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { StrokedButtonComponent } from './stroked-button.component';\n\n\n@NgModule({\n declarations: [\n StrokedButtonComponent,\n ],\n exports: [\n StrokedButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class StrokedButtonModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n faChevronLeft,\n faChevronRight,\n} from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'underline-button',\n templateUrl: './underline-button.component.html',\n styles: [`\n button[daff-underline-button],\n a[daff-underline-button] {\n margin: 4px;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class UnderlineButtonComponent {\n faChevronLeft = faChevronLeft;\n faChevronRight = faChevronRight;\n}\n","import { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffButtonModule } from '@daffodil/design';\n\nimport { UnderlineButtonComponent } from './underline-button.component';\n\n\n@NgModule({\n declarations: [\n UnderlineButtonComponent,\n ],\n exports: [\n UnderlineButtonComponent,\n ],\n imports: [\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class UnderlineButtonModule { }\n","import { BasicButtonComponent } from './basic-button/basic-button.component';\nexport { BasicButtonModule } from './basic-button/basic-button.module';\nimport { IconButtonComponent } from './icon-button/icon-button.component';\nexport { IconButtonModule } from './icon-button/icon-button.module';\nimport { RaisedButtonComponent } from './raised-button/raised-button.component';\nexport { RaisedButtonModule } from './raised-button/raised-button.module';\nimport { SizeableButtonComponent } from './sizeable-button/sizeable-button.component';\nexport { SizeableButtonModule } from './sizeable-button/sizeable-button.module';\nimport { StatusableButtonComponent } from './statusable-button/statusable-button.component';\nexport { StatusableButtonModule } from './statusable-button/statusable-button.module';\nimport { StrokedButtonComponent } from './stroked-button/stroked-button.component';\nexport { StrokedButtonModule } from './stroked-button/stroked-button.module';\nimport { UnderlineButtonComponent } from './underline-button/underline-button.component';\nexport { UnderlineButtonModule } from './underline-button/underline-button.module';\n\nexport const BUTTON_EXAMPLES = [\n BasicButtonComponent,\n IconButtonComponent,\n RaisedButtonComponent,\n SizeableButtonComponent,\n StatusableButtonComponent,\n StrokedButtonComponent,\n UnderlineButtonComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicButtonComponent as ɵa} from './basic-button/basic-button.component';\nexport {IconButtonComponent as ɵb} from './icon-button/icon-button.component';\nexport {RaisedButtonComponent as ɵc} from './raised-button/raised-button.component';\nexport {SizeableButtonComponent as ɵd} from './sizeable-button/sizeable-button.component';\nexport {StatusableButtonComponent as ɵe} from './statusable-button/statusable-button.component';\nexport {StrokedButtonComponent as ɵf} from './stroked-button/stroked-button.component';\nexport {UnderlineButtonComponent as ɵg} from './underline-button/underline-button.component';"],"names":[],"mappings":"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"}
|
@@ -1,10 +1,13 @@
|
|
1
|
-
import { Component, NgModule } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
2
2
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
3
|
+
import { faMobile } from '@fortawesome/free-solid-svg-icons';
|
3
4
|
import { CommonModule } from '@angular/common';
|
4
|
-
import {
|
5
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
6
|
+
import { DaffCalloutModule, DaffButtonModule, DaffContainerModule } from '@daffodil/design';
|
5
7
|
|
6
8
|
class CalloutThemingComponent {
|
7
9
|
constructor() {
|
10
|
+
this.faMobile = faMobile;
|
8
11
|
this.colorControl = new FormControl('');
|
9
12
|
this.options = [
|
10
13
|
{ value: '', label: 'Default' },
|
@@ -22,7 +25,9 @@ CalloutThemingComponent.decorators = [
|
|
22
25
|
{ type: Component, args: [{
|
23
26
|
// eslint-disable-next-line @angular-eslint/component-selector
|
24
27
|
selector: 'callout-theming',
|
25
|
-
template: "<daff-callout [color]=\"colorControl.value\">\n\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t<div daffCalloutSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</div>\n</daff-callout>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>"
|
28
|
+
template: "<daff-callout [color]=\"colorControl.value\">\n\t<div class=\"daff-callout-theming__icon\" daffCalloutIcon>\n\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t</div>\n\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t<div daffCalloutSubtitle>\n\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t</div>\n\t<div daffCalloutBody>\n\t\t<a daff-button color=\"theme-contrast\" href=\"https://www.daff.io\">What is Daffodil?</a>\n\t</div>\n</daff-callout>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
29
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
30
|
+
styles: [".daff-callout-theming__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
|
26
31
|
},] }
|
27
32
|
];
|
28
33
|
|
@@ -37,12 +42,15 @@ CalloutThemingModule.decorators = [
|
|
37
42
|
CommonModule,
|
38
43
|
ReactiveFormsModule,
|
39
44
|
DaffCalloutModule,
|
45
|
+
DaffButtonModule,
|
46
|
+
FontAwesomeModule,
|
40
47
|
],
|
41
48
|
},] }
|
42
49
|
];
|
43
50
|
|
44
51
|
class CalloutTextAlignmentComponent {
|
45
52
|
constructor() {
|
53
|
+
this.faMobile = faMobile;
|
46
54
|
this.textAlignControl = new FormControl('');
|
47
55
|
this.options = [
|
48
56
|
{ value: '', label: 'Default' },
|
@@ -56,7 +64,9 @@ CalloutTextAlignmentComponent.decorators = [
|
|
56
64
|
{ type: Component, args: [{
|
57
65
|
// eslint-disable-next-line @angular-eslint/component-selector
|
58
66
|
selector: 'callout-text-alignment',
|
59
|
-
template: "<daff-callout [textAlignment]=\"textAlignControl.value\">\n\t<daff-container size=\"md\">\n\t\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t<div daffCalloutSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</div>\n\t</daff-container>\n</daff-callout>\n\n<select [formControl]=\"textAlignControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>"
|
67
|
+
template: "<daff-callout [textAlignment]=\"textAlignControl.value\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-callout-text-alignment__icon\" daffCalloutIcon>\n\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t</div>\n\t\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t<div daffCalloutSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</div>\n\t\t<div daffCalloutBody>\n\t\t\t<a daff-button color=\"theme-contrast\" href=\"https://www.daff.io\">What is Daffodil?</a>\n\t\t</div>\n\t</daff-container>\n</daff-callout>\n\n<select [formControl]=\"textAlignControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
68
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
69
|
+
styles: [".daff-callout-text-alignment__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
|
60
70
|
},] }
|
61
71
|
];
|
62
72
|
|
@@ -72,19 +82,24 @@ CalloutTextAlignmentModule.decorators = [
|
|
72
82
|
ReactiveFormsModule,
|
73
83
|
DaffCalloutModule,
|
74
84
|
DaffContainerModule,
|
75
|
-
|
85
|
+
DaffButtonModule,
|
86
|
+
FontAwesomeModule,
|
76
87
|
],
|
77
88
|
},] }
|
78
89
|
];
|
79
90
|
|
80
91
|
class CalloutWithGridComponent {
|
92
|
+
constructor() {
|
93
|
+
this.faMobile = faMobile;
|
94
|
+
}
|
81
95
|
}
|
82
96
|
CalloutWithGridComponent.decorators = [
|
83
97
|
{ type: Component, args: [{
|
84
98
|
// eslint-disable-next-line @angular-eslint/component-selector
|
85
99
|
selector: 'callout-with-grid',
|
86
|
-
template: "<daff-callout color=\"theme\">\n\t<daff-container class=\"daff-callout-with-grid__grid\">\n\t\t<div class=\"daff-callout-with-grid__image\">\n\t\t\t<img src=\"/assets/design/callout/pwa-illustration.svg\" alt=\"PWA Illustration\">\n\t\t</div>\n\t\t<div class=\"daff-callout-with-grid__content-wrapper\">\n\t\t\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t\t\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffCalloutSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t\t<div class=\"daff-callout-with-grid__actions\">\n\t\t\t\t<a daff-button color=\"theme-contrast\" href=\"https://www.daff.io\" class=\"daff-callout-with-grid__daffodil-action\">What is Daffodil?</a>\n\t\t\t\t<a daff-underline-button color=\"theme-contrast\" routerLink=\"/contact\" class=\"daff-callout-with-grid__demo-action\">Sign up for a demo</a>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-callout>",
|
87
|
-
|
100
|
+
template: "<daff-callout color=\"theme\">\n\t<daff-container class=\"daff-callout-with-grid__grid\">\n\t\t<div class=\"daff-callout-with-grid__image\">\n\t\t\t<img src=\"/assets/design/callout/pwa-illustration.svg\" alt=\"PWA Illustration\">\n\t\t</div>\n\t\t<div class=\"daff-callout-with-grid__content-wrapper\">\n\t\t\t<div class=\"daff-callout-with-grid__icon\" daffCalloutIcon>\n\t\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t\t</div>\n\t\t\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t\t\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t\t<div daffCalloutSubtitle>\n\t\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t\t</div>\n\t\t\t<div daffCalloutBody>\n\t\t\t\t<div class=\"daff-callout-with-grid__actions\">\n\t\t\t\t\t<a daff-button color=\"theme-contrast\" href=\"https://www.daff.io\" class=\"daff-callout-with-grid__daffodil-action\">What is Daffodil?</a>\n\t\t\t\t\t<a daff-underline-button color=\"theme-contrast\" routerLink=\"/contact\" class=\"daff-callout-with-grid__demo-action\">Sign up for a demo</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</daff-container>\n</daff-callout>",
|
101
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
102
|
+
styles: [".daff-callout-with-grid__grid{display:grid;grid-template:\"image\" \"content\"/1fr;grid-gap:24px}@media (min-width:768px){.daff-callout-with-grid__grid{grid-template:\"image content\"/1fr 1fr;grid-gap:48px}}.daff-callout-with-grid__image{grid-area:image}.daff-callout-with-grid__content-wrapper{grid-area:content}.daff-callout-with-grid__actions{display:flex;flex-direction:column}@media (min-width:480px){.daff-callout-with-grid__actions{flex-direction:row;align-items:center}}.daff-callout-with-grid__daffodil-action{margin:0 0 24px}@media (min-width:480px){.daff-callout-with-grid__daffodil-action{margin:0 24px 0 0}}.daff-callout-with-grid__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
|
88
103
|
},] }
|
89
104
|
];
|
90
105
|
|
@@ -101,6 +116,39 @@ CalloutWithGridModule.decorators = [
|
|
101
116
|
DaffCalloutModule,
|
102
117
|
DaffContainerModule,
|
103
118
|
DaffButtonModule,
|
119
|
+
FontAwesomeModule,
|
120
|
+
],
|
121
|
+
},] }
|
122
|
+
];
|
123
|
+
|
124
|
+
class CompactCalloutComponent {
|
125
|
+
constructor() {
|
126
|
+
this.faMobile = faMobile;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
CompactCalloutComponent.decorators = [
|
130
|
+
{ type: Component, args: [{
|
131
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
132
|
+
selector: 'compact-callout',
|
133
|
+
template: "<daff-callout [compact]=\"true\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-compact-callout__icon\" daffCalloutIcon>\n\t\t\t<fa-icon [icon]=\"faMobile\"></fa-icon>\n\t\t</div>\n\t\t<div daffCalloutTagline>Frontend framework for ecommerce PWAs</div>\n\t\t<h3 daffCalloutTitle>Daffodil: The next great leap in ecommerce.</h3>\n\t\t<div daffCalloutSubtitle>\n\t\t\t<p>Daffodil provides everything you need to create powerful and flexible ecommerce experiences.</p>\n\t\t\t<p>With Daffodil, ambitious businesses are able to achieve more while minimizing development and maintenance costs.</p>\n\t\t</div>\n\t\t<div daffCalloutBody>\n\t\t\t<a daff-button color=\"theme-contrast\" href=\"https://www.daff.io\">What is Daffodil?</a>\n\t\t</div>\n\t</daff-container>\n</daff-callout>",
|
134
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
135
|
+
styles: [".daff-compact-callout__icon{display:flex;background:rgba(var(--daff-theme-rgb),.2);border-radius:50%;color:var(--daff-theme-contrast-rgb);width:48px;height:48px;justify-content:center;align-items:center;padding:12px 0}"]
|
136
|
+
},] }
|
137
|
+
];
|
138
|
+
|
139
|
+
class CompactCalloutModule {
|
140
|
+
}
|
141
|
+
CompactCalloutModule.decorators = [
|
142
|
+
{ type: NgModule, args: [{
|
143
|
+
declarations: [
|
144
|
+
CompactCalloutComponent,
|
145
|
+
],
|
146
|
+
imports: [
|
147
|
+
CommonModule,
|
148
|
+
DaffCalloutModule,
|
149
|
+
DaffContainerModule,
|
150
|
+
DaffButtonModule,
|
151
|
+
FontAwesomeModule,
|
104
152
|
],
|
105
153
|
},] }
|
106
154
|
];
|
@@ -109,11 +157,12 @@ const CALLOUT_EXAMPLES = [
|
|
109
157
|
CalloutThemingComponent,
|
110
158
|
CalloutTextAlignmentComponent,
|
111
159
|
CalloutWithGridComponent,
|
160
|
+
CompactCalloutComponent,
|
112
161
|
];
|
113
162
|
|
114
163
|
/**
|
115
164
|
* Generated bundle index. Do not edit.
|
116
165
|
*/
|
117
166
|
|
118
|
-
export { CALLOUT_EXAMPLES, CalloutTextAlignmentComponent, CalloutTextAlignmentModule, CalloutThemingComponent, CalloutThemingModule, CalloutWithGridComponent, CalloutWithGridModule };
|
167
|
+
export { CALLOUT_EXAMPLES, CalloutTextAlignmentComponent, CalloutTextAlignmentModule, CalloutThemingComponent, CalloutThemingModule, CalloutWithGridComponent, CalloutWithGridModule, CompactCalloutComponent, CompactCalloutModule };
|
119
168
|
//# sourceMappingURL=daffodil-design-callout-examples.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-callout-examples.js","sources":["../../../libs/design/callout/examples/src/callout-theming/callout-theming.component.ts","../../../libs/design/callout/examples/src/callout-theming/callout-theming.module.ts","../../../libs/design/callout/examples/src/callout-text-alignment/callout-text-alignment.component.ts","../../../libs/design/callout/examples/src/callout-text-alignment/callout-text-alignment.module.ts","../../../libs/design/callout/examples/src/callout-with-grid/callout-with-grid.component.ts","../../../libs/design/callout/examples/src/callout-with-grid/callout-with-grid.module.ts","../../../libs/design/callout/examples/src/examples.ts","../../../libs/design/callout/examples/src/daffodil-design-callout-examples.ts"],"sourcesContent":["import {
|
1
|
+
{"version":3,"file":"daffodil-design-callout-examples.js","sources":["../../../libs/design/callout/examples/src/callout-theming/callout-theming.component.ts","../../../libs/design/callout/examples/src/callout-theming/callout-theming.module.ts","../../../libs/design/callout/examples/src/callout-text-alignment/callout-text-alignment.component.ts","../../../libs/design/callout/examples/src/callout-text-alignment/callout-text-alignment.module.ts","../../../libs/design/callout/examples/src/callout-with-grid/callout-with-grid.component.ts","../../../libs/design/callout/examples/src/callout-with-grid/callout-with-grid.module.ts","../../../libs/design/callout/examples/src/compact-callout/compact-callout.component.ts","../../../libs/design/callout/examples/src/compact-callout/compact-callout.module.ts","../../../libs/design/callout/examples/src/examples.ts","../../../libs/design/callout/examples/src/daffodil-design-callout-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'callout-theming',\n templateUrl: './callout-theming.component.html',\n styleUrls: ['./callout-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CalloutThemingComponent {\n faMobile = faMobile;\n colorControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'primary', label: 'Primary' },\n { value: 'secondary', label: 'Secondary' },\n { value: 'tertiary', label: 'Tertiary' },\n { value: 'white', label: 'White' },\n { value: 'black', label: 'Black' },\n { value: 'theme', label: 'Theme' },\n { value: 'theme-contrast', label: 'Theme Contrast' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffButtonModule,\n DaffCalloutModule,\n} from '@daffodil/design';\n\nimport { CalloutThemingComponent } from './callout-theming.component';\n\n@NgModule({\n declarations: [\n CalloutThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffCalloutModule,\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class CalloutThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'callout-text-alignment',\n templateUrl: './callout-text-alignment.component.html',\n styleUrls: ['./callout-text-alignment.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CalloutTextAlignmentComponent {\n faMobile = faMobile;\n textAlignControl: FormControl = new FormControl('');\n\n options = [\n { value: '', label: 'Default' },\n { value: 'left', label: 'Left' },\n { value: 'center', label: 'Center' },\n { value: 'right', label: 'Right' },\n ];\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffButtonModule,\n DaffCalloutModule,\n DaffContainerModule,\n} from '@daffodil/design';\n\nimport { CalloutTextAlignmentComponent } from './callout-text-alignment.component';\n\n@NgModule({\n declarations: [\n CalloutTextAlignmentComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffCalloutModule,\n DaffContainerModule,\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class CalloutTextAlignmentModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'callout-with-grid',\n templateUrl: './callout-with-grid.component.html',\n styleUrls: ['./callout-with-grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CalloutWithGridComponent {\n faMobile = faMobile;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffCalloutModule,\n DaffContainerModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { CalloutWithGridComponent } from './callout-with-grid.component';\n\n@NgModule({\n declarations: [\n CalloutWithGridComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffCalloutModule,\n DaffContainerModule,\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class CalloutWithGridModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { faMobile } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'compact-callout',\n templateUrl: './compact-callout.component.html',\n styleUrls: ['./compact-callout.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CompactCalloutComponent {\n faMobile = faMobile;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport {\n DaffButtonModule,\n DaffCalloutModule,\n DaffContainerModule,\n} from '@daffodil/design';\n\nimport { CompactCalloutComponent } from './compact-callout.component';\n\n@NgModule({\n declarations: [\n CompactCalloutComponent,\n ],\n imports: [\n CommonModule,\n\n DaffCalloutModule,\n DaffContainerModule,\n DaffButtonModule,\n FontAwesomeModule,\n ],\n})\nexport class CompactCalloutModule { }\n","import { CalloutTextAlignmentComponent } from './callout-text-alignment/callout-text-alignment.component';\nimport { CalloutThemingComponent } from './callout-theming/callout-theming.component';\nimport { CalloutWithGridComponent } from './callout-with-grid/callout-with-grid.component';\nimport { CompactCalloutComponent } from './compact-callout/compact-callout.component';\n\nexport const CALLOUT_EXAMPLES = [\n CalloutThemingComponent,\n CalloutTextAlignmentComponent,\n CalloutWithGridComponent,\n CompactCalloutComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|