@daffodil/design 0.39.7 → 0.39.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/examples/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 +4 -0
- 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 +4 -0
- 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 +384 -87
- 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/daffodil-design-callout-examples.metadata.json +1 -1
- 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/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 +2 -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 +3 -2
- package/esm2015/callout/examples/callout-theming/callout-theming.component.js +3 -2
- package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +3 -2
- package/esm2015/callout/examples/compact-callout/compact-callout.component.js +3 -2
- 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/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 +3 -1
- package/esm2015/hero/examples/compact-hero/compact-hero.component.js +3 -2
- package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +3 -2
- package/esm2015/hero/examples/hero-theming/hero-theming.component.js +3 -2
- package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +3 -2
- 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 +5 -3
- 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 +6 -4
- 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 +5 -1
- 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 +5 -1
- 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 +326 -82
- package/fesm2015/daffodil-design.js.map +1 -1
- package/hero/examples/daffodil-design-hero-examples.metadata.json +1 -1
- 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 +10 -0
- 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 +11 -1
- 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 +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,4 +1,4 @@
|
|
1
|
-
import { Component, NgModule } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
2
2
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
3
3
|
import { faMobile } from '@fortawesome/free-solid-svg-icons';
|
4
4
|
import { CommonModule } from '@angular/common';
|
@@ -26,6 +26,7 @@ CalloutThemingComponent.decorators = [
|
|
26
26
|
// eslint-disable-next-line @angular-eslint/component-selector
|
27
27
|
selector: 'callout-theming',
|
28
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,
|
29
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}"]
|
30
31
|
},] }
|
31
32
|
];
|
@@ -64,6 +65,7 @@ CalloutTextAlignmentComponent.decorators = [
|
|
64
65
|
// eslint-disable-next-line @angular-eslint/component-selector
|
65
66
|
selector: 'callout-text-alignment',
|
66
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,
|
67
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}"]
|
68
70
|
},] }
|
69
71
|
];
|
@@ -96,6 +98,7 @@ CalloutWithGridComponent.decorators = [
|
|
96
98
|
// eslint-disable-next-line @angular-eslint/component-selector
|
97
99
|
selector: 'callout-with-grid',
|
98
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,
|
99
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}"]
|
100
103
|
},] }
|
101
104
|
];
|
@@ -128,6 +131,7 @@ CompactCalloutComponent.decorators = [
|
|
128
131
|
// eslint-disable-next-line @angular-eslint/component-selector
|
129
132
|
selector: 'compact-callout',
|
130
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,
|
131
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}"]
|
132
136
|
},] }
|
133
137
|
];
|
@@ -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/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 {
|
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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"}
|
@@ -1,17 +1,23 @@
|
|
1
|
-
import { Component, NgModule } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
2
|
+
import { faMapMarked } from '@fortawesome/free-solid-svg-icons';
|
2
3
|
import { CommonModule } from '@angular/common';
|
4
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
3
5
|
import { DaffCardModule, DaffImageModule, DaffButtonModule } from '@daffodil/design';
|
4
6
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
5
7
|
import { RouterModule } from '@angular/router';
|
6
8
|
|
7
9
|
class BasicCardComponent {
|
10
|
+
constructor() {
|
11
|
+
this.faMapMarked = faMapMarked;
|
12
|
+
}
|
8
13
|
}
|
9
14
|
BasicCardComponent.decorators = [
|
10
15
|
{ type: Component, args: [{
|
11
16
|
// eslint-disable-next-line @angular-eslint/component-selector
|
12
17
|
selector: 'basic-card',
|
13
|
-
template: "<daff-card>\n
|
14
|
-
|
18
|
+
template: "<daff-card>\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors.</p>\n <p>The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n <div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n",
|
19
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
20
|
+
styles: ["daff-card{max-width:480px}"]
|
15
21
|
},] }
|
16
22
|
];
|
17
23
|
|
@@ -27,6 +33,7 @@ BasicCardModule.decorators = [
|
|
27
33
|
DaffCardModule,
|
28
34
|
DaffImageModule,
|
29
35
|
DaffButtonModule,
|
36
|
+
FontAwesomeModule,
|
30
37
|
],
|
31
38
|
exports: [
|
32
39
|
BasicCardComponent,
|
@@ -34,20 +41,72 @@ BasicCardModule.decorators = [
|
|
34
41
|
},] }
|
35
42
|
];
|
36
43
|
|
44
|
+
class CardOrientationComponent {
|
45
|
+
constructor() {
|
46
|
+
this.faMapMarked = faMapMarked;
|
47
|
+
this.orientationControl = new FormControl('');
|
48
|
+
this.options = [
|
49
|
+
{ value: '', label: 'Default' },
|
50
|
+
{ value: 'vertical', label: 'Vertical' },
|
51
|
+
{ value: 'horizontal', label: 'Horizontal' },
|
52
|
+
];
|
53
|
+
}
|
54
|
+
}
|
55
|
+
CardOrientationComponent.decorators = [
|
56
|
+
{ type: Component, args: [{
|
57
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
58
|
+
selector: 'card-orientation',
|
59
|
+
template: "<daff-card [orientation]=\"orientationControl.value\">\n <daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n\t<div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n\n<select [formControl]=\"orientationControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
60
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
61
|
+
styles: [".daff-card--vertical{max-width:560px}"]
|
62
|
+
},] }
|
63
|
+
];
|
64
|
+
|
65
|
+
class CardOrientationModule {
|
66
|
+
}
|
67
|
+
CardOrientationModule.decorators = [
|
68
|
+
{ type: NgModule, args: [{
|
69
|
+
declarations: [
|
70
|
+
CardOrientationComponent,
|
71
|
+
],
|
72
|
+
imports: [
|
73
|
+
CommonModule,
|
74
|
+
ReactiveFormsModule,
|
75
|
+
DaffCardModule,
|
76
|
+
DaffImageModule,
|
77
|
+
DaffButtonModule,
|
78
|
+
FontAwesomeModule,
|
79
|
+
],
|
80
|
+
exports: [
|
81
|
+
CardOrientationComponent,
|
82
|
+
],
|
83
|
+
},] }
|
84
|
+
];
|
85
|
+
|
37
86
|
class CardThemingComponent {
|
38
87
|
constructor() {
|
39
|
-
this.color = 'primary';
|
40
88
|
this.colorControl = new FormControl('');
|
89
|
+
this.options = [
|
90
|
+
{ value: '', label: 'Default' },
|
91
|
+
{ value: 'primary', label: 'Primary' },
|
92
|
+
{ value: 'secondary', label: 'Secondary' },
|
93
|
+
{ value: 'tertiary', label: 'Tertiary' },
|
94
|
+
{ value: 'theme', label: 'Theme' },
|
95
|
+
{ value: 'theme-contrast', label: 'Theme Contrast' },
|
96
|
+
{ value: 'black', label: 'Black' },
|
97
|
+
{ value: 'white', label: 'White' },
|
98
|
+
];
|
41
99
|
}
|
42
100
|
}
|
43
101
|
CardThemingComponent.decorators = [
|
44
102
|
{ type: Component, args: [{
|
45
103
|
// eslint-disable-next-line @angular-eslint/component-selector
|
46
104
|
selector: 'card-theming',
|
47
|
-
template: "<daff-card [color]=\"colorControl.value\">\n <div daffCardTagline>Card Tagline</div>\n <div daffCardTitle>Title</div>\n <p>Cards are themable.</p>\n</daff-card>\n\n<select [formControl]=\"colorControl\">\n
|
105
|
+
template: "<daff-card [color]=\"colorControl.value\">\n <div daffCardTagline>Card Tagline</div>\n <div daffCardTitle>Title</div>\n <div daffCardContent>\n <p>Cards are themable.</p>\n </div>\n</daff-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
106
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
48
107
|
styles: [`
|
49
108
|
daff-card {
|
50
|
-
max-width:
|
109
|
+
max-width: 480px;
|
51
110
|
}
|
52
111
|
`]
|
53
112
|
},] }
|
@@ -73,13 +132,29 @@ CardThemingModule.decorators = [
|
|
73
132
|
];
|
74
133
|
|
75
134
|
class LinkableCardComponent {
|
135
|
+
constructor() {
|
136
|
+
this.basicColorControl = new FormControl('');
|
137
|
+
this.raisedColorControl = new FormControl('');
|
138
|
+
this.strokedColorControl = new FormControl('');
|
139
|
+
this.options = [
|
140
|
+
{ value: '', label: 'Default' },
|
141
|
+
{ value: 'primary', label: 'Primary' },
|
142
|
+
{ value: 'secondary', label: 'Secondary' },
|
143
|
+
{ value: 'tertiary', label: 'Tertiary' },
|
144
|
+
{ value: 'theme', label: 'Theme' },
|
145
|
+
{ value: 'theme-contrast', label: 'Theme Contrast' },
|
146
|
+
{ value: 'black', label: 'Black' },
|
147
|
+
{ value: 'white', label: 'White' },
|
148
|
+
];
|
149
|
+
}
|
76
150
|
}
|
77
151
|
LinkableCardComponent.decorators = [
|
78
152
|
{ type: Component, args: [{
|
79
153
|
// eslint-disable-next-line @angular-eslint/component-selector
|
80
154
|
selector: 'linkable-card',
|
81
|
-
template: "<a
|
82
|
-
|
155
|
+
template: "<a daff-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"basicColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"basicColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-raised-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"raisedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-stroked-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"strokedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
156
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
157
|
+
styles: ["a.daff-card,a.daff-raised-card,a.daff-stroked-card{max-width:480px}"]
|
83
158
|
},] }
|
84
159
|
];
|
85
160
|
|
@@ -93,6 +168,7 @@ LinkableCardModule.decorators = [
|
|
93
168
|
imports: [
|
94
169
|
CommonModule,
|
95
170
|
RouterModule,
|
171
|
+
ReactiveFormsModule,
|
96
172
|
DaffCardModule,
|
97
173
|
DaffImageModule,
|
98
174
|
DaffButtonModule,
|
@@ -104,13 +180,27 @@ LinkableCardModule.decorators = [
|
|
104
180
|
];
|
105
181
|
|
106
182
|
class RaisedCardComponent {
|
183
|
+
constructor() {
|
184
|
+
this.colorControl = new FormControl('');
|
185
|
+
this.options = [
|
186
|
+
{ value: '', label: 'Default' },
|
187
|
+
{ value: 'primary', label: 'Primary' },
|
188
|
+
{ value: 'secondary', label: 'Secondary' },
|
189
|
+
{ value: 'tertiary', label: 'Tertiary' },
|
190
|
+
{ value: 'theme', label: 'Theme' },
|
191
|
+
{ value: 'theme-contrast', label: 'Theme Contrast' },
|
192
|
+
{ value: 'black', label: 'Black' },
|
193
|
+
{ value: 'white', label: 'White' },
|
194
|
+
];
|
195
|
+
}
|
107
196
|
}
|
108
197
|
RaisedCardComponent.decorators = [
|
109
198
|
{ type: Component, args: [{
|
110
199
|
// eslint-disable-next-line @angular-eslint/component-selector
|
111
200
|
selector: 'raised-card',
|
112
|
-
template: "<daff-card [
|
113
|
-
|
201
|
+
template: "<daff-raised-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-raised-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
202
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
203
|
+
styles: ["daff-raised-card{max-width:480px}"]
|
114
204
|
},] }
|
115
205
|
];
|
116
206
|
|
@@ -123,7 +213,7 @@ RaisedCardModule.decorators = [
|
|
123
213
|
],
|
124
214
|
imports: [
|
125
215
|
CommonModule,
|
126
|
-
|
216
|
+
ReactiveFormsModule,
|
127
217
|
DaffCardModule,
|
128
218
|
DaffImageModule,
|
129
219
|
DaffButtonModule,
|
@@ -134,16 +224,64 @@ RaisedCardModule.decorators = [
|
|
134
224
|
},] }
|
135
225
|
];
|
136
226
|
|
227
|
+
class StrokedCardComponent {
|
228
|
+
constructor() {
|
229
|
+
this.colorControl = new FormControl('');
|
230
|
+
this.options = [
|
231
|
+
{ value: '', label: 'Default' },
|
232
|
+
{ value: 'primary', label: 'Primary' },
|
233
|
+
{ value: 'secondary', label: 'Secondary' },
|
234
|
+
{ value: 'tertiary', label: 'Tertiary' },
|
235
|
+
{ value: 'theme', label: 'Theme' },
|
236
|
+
{ value: 'theme-contrast', label: 'Theme Contrast' },
|
237
|
+
{ value: 'black', label: 'Black' },
|
238
|
+
{ value: 'white', label: 'White' },
|
239
|
+
];
|
240
|
+
}
|
241
|
+
}
|
242
|
+
StrokedCardComponent.decorators = [
|
243
|
+
{ type: Component, args: [{
|
244
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
245
|
+
selector: 'stroked-card',
|
246
|
+
template: "<daff-stroked-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-stroked-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
247
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
248
|
+
styles: [":host{display:block;max-width:340px}"]
|
249
|
+
},] }
|
250
|
+
];
|
251
|
+
|
252
|
+
class StrokedCardModule {
|
253
|
+
}
|
254
|
+
StrokedCardModule.decorators = [
|
255
|
+
{ type: NgModule, args: [{
|
256
|
+
declarations: [
|
257
|
+
StrokedCardComponent,
|
258
|
+
],
|
259
|
+
imports: [
|
260
|
+
CommonModule,
|
261
|
+
RouterModule,
|
262
|
+
ReactiveFormsModule,
|
263
|
+
DaffCardModule,
|
264
|
+
DaffImageModule,
|
265
|
+
DaffButtonModule,
|
266
|
+
],
|
267
|
+
exports: [
|
268
|
+
StrokedCardComponent,
|
269
|
+
],
|
270
|
+
},] }
|
271
|
+
];
|
272
|
+
|
137
273
|
const CARD_EXAMPLES = [
|
138
274
|
BasicCardComponent,
|
139
275
|
CardThemingComponent,
|
140
276
|
LinkableCardComponent,
|
141
277
|
RaisedCardComponent,
|
278
|
+
StrokedCardComponent,
|
279
|
+
CardOrientationComponent,
|
142
280
|
];
|
143
281
|
|
144
282
|
/**
|
145
283
|
* Generated bundle index. Do not edit.
|
146
284
|
*/
|
147
285
|
|
148
|
-
export { BasicCardModule, CARD_EXAMPLES, CardThemingModule, LinkableCardModule, RaisedCardModule, BasicCardComponent as ɵa, CardThemingComponent as ɵb, LinkableCardComponent as ɵc, RaisedCardComponent as ɵd };
|
286
|
+
export { BasicCardModule, CARD_EXAMPLES, CardOrientationModule, CardThemingModule, LinkableCardModule, RaisedCardModule, StrokedCardModule, BasicCardComponent as ɵa, CardThemingComponent as ɵb, LinkableCardComponent as ɵc, RaisedCardComponent as ɵd, StrokedCardComponent as ɵe, CardOrientationComponent as ɵf };
|
149
287
|
//# sourceMappingURL=daffodil-design-card-examples.js.map
|