@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 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-modal-examples.umd.js","sources":["../../../libs/design/modal/examples/src/basic-modal/modal-content.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.module.ts","../../../libs/design/modal/examples/src/public_api.ts","../../../libs/design/modal/examples/src/daffodil-design-modal-examples.ts"],"sourcesContent":["import {
|
1
|
+
{"version":3,"file":"daffodil-design-modal-examples.umd.js","sources":["../../../libs/design/modal/examples/src/basic-modal/modal-content.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.module.ts","../../../libs/design/modal/examples/src/public_api.ts","../../../libs/design/modal/examples/src/daffodil-design-modal-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: 'basic-modal-content',\n templateUrl: './modal-content.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalContentComponent {\n\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffModalService } from '@daffodil/design';\n\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-modal',\n templateUrl: './basic-modal.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalComponent {\n modal: any;\n\n constructor(private modalService: DaffModalService) {}\n\n showModal() {\n this.modal = this.modalService.open(BasicModalContentComponent);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffModalModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { BasicModalComponent } from './basic-modal.component';\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@NgModule({\n imports: [\n DaffModalModule,\n DaffButtonModule,\n ],\n declarations: [\n BasicModalComponent,\n BasicModalContentComponent,\n ],\n exports: [\n BasicModalComponent,\n ],\n})\nexport class BasicModalModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicModalComponent } from './basic-modal/basic-modal.component';\nimport { BasicModalModule } from './basic-modal/basic-modal.module';\n\nexport const MODAL_EXAMPLES: ComponentExample[] = [\n { component: BasicModalComponent, module: BasicModalModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicModalComponent as ɵa} from './basic-modal/basic-modal.component';\nexport {BasicModalModule as ɵb} from './basic-modal/basic-modal.module';\nexport {BasicModalContentComponent as ɵc} from './basic-modal/modal-content.component';"],"names":["Component","ChangeDetectionStrategy","DaffModalService","NgModule","DaffModalModule","DaffButtonModule"],"mappings":";;;;;;;QAWA;;;;;gBANCA,cAAS,SAAC;;oBAET,QAAQ,EAAE,qBAAqB;oBAC/B,4TAA6C;oBAC7C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;iBAChD;;;;QCQC,6BAAoB,YAA8B;YAA9B,iBAAY,GAAZ,YAAY,CAAkB;SAAI;QAEtD,uCAAS,GAAT;YACE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;SACjE;;;;gBAbFD,cAAS,SAAC;;oBAET,QAAQ,EAAE,aAAa;oBACvB,6EAA2C;oBAC3C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;iBAChD;;;;gBATQC,uBAAgB;;;;QCkBzB;;;;;gBAbCC,aAAQ,SAAC;oBACR,OAAO,EAAE;wBACPC,sBAAe;wBACfC,uBAAgB;qBACjB;oBACD,YAAY,EAAE;wBACZ,mBAAmB;wBACnB,0BAA0B;qBAC3B;oBACD,OAAO,EAAE;wBACP,mBAAmB;qBACpB;iBACF;;;QCjBY,cAAc,GAAuB;QAChD,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;;;ICN9D;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/modal/examples",["exports","@angular/core","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.modal=e.daffodil.design.modal||{},e.daffodil.design.modal.examples={}),e.ng.core,e.daffodil.design)}(this,(function(e,o,
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/modal/examples",["exports","@angular/core","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.modal=e.daffodil.design.modal||{},e.daffodil.design.modal.examples={}),e.ng.core,e.daffodil.design)}(this,(function(e,o,t){"use strict";var n=function(){};n.decorators=[{type:o.Component,args:[{selector:"basic-modal-content",template:"<daff-modal-header>\n\t<h5 daffModalTitle>Modal Title</h5>\n</daff-modal-header>\n<daff-modal-content>\n\tModal content goes here. Components can be placed in here. The content is scrollable.\n</daff-modal-content>\n<daff-modal-actions>\n\t<button daff-button>Save Changes</button>\n</daff-modal-actions>",changeDetection:o.ChangeDetectionStrategy.OnPush}]}];var a=function(){function e(e){this.modalService=e}return e.prototype.showModal=function(){this.modal=this.modalService.open(n)},e}();a.decorators=[{type:o.Component,args:[{selector:"basic-modal",template:'<button daff-button (click)="showModal()">Open Modal</button>\n',changeDetection:o.ChangeDetectionStrategy.OnPush}]}],a.ctorParameters=function(){return[{type:t.DaffModalService}]};var d=function(){};d.decorators=[{type:o.NgModule,args:[{imports:[t.DaffModalModule,t.DaffButtonModule],declarations:[a,n],exports:[a]}]}];var f=[{component:a,module:d}];e.MODAL_EXAMPLES=f,e.ɵa=a,e.ɵb=d,e.ɵc=n,Object.defineProperty(e,"__esModule",{value:!0})}));
|
2
2
|
//# sourceMappingURL=daffodil-design-modal-examples.umd.min.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../libs/design/modal/examples/src/basic-modal/modal-content.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.module.ts","../../../libs/design/modal/examples/src/public_api.ts"],"names":["Component","args","selector","template","BasicModalComponent","modalService","this","prototype","showModal","modal","open","BasicModalContentComponent","DaffModalService","NgModule","imports","DaffModalModule","DaffButtonModule","declarations","exports","MODAL_EXAMPLES","component","module","BasicModalModule"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../libs/design/modal/examples/src/basic-modal/modal-content.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.component.ts","../../../libs/design/modal/examples/src/basic-modal/basic-modal.module.ts","../../../libs/design/modal/examples/src/public_api.ts"],"names":["Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","BasicModalComponent","modalService","this","prototype","showModal","modal","open","BasicModalContentComponent","DaffModalService","NgModule","imports","DaffModalModule","DaffButtonModule","declarations","exports","MODAL_EXAMPLES","component","module","BasicModalModule"],"mappings":"8hBAWA,iCANCA,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,sBACVC,SAAA,mTACAC,gBAAiBC,EAAAA,wBAAwBC,4BCSzC,SAAAC,EAAoBC,GAAAC,KAAAD,aAAAA,SAEpBD,EAAAG,UAAAC,UAAA,WACEF,KAAKG,MAAQH,KAAKD,aAAaK,KAAKC,6BAZvCd,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,cACVC,SAAA,kEACAC,gBAAiBC,EAAAA,wBAAwBC,oDARlCS,EAAAA,0BCkBT,iCAbCC,EAAAA,SAAQf,KAAA,CAAC,CACRgB,QAAS,CACPC,EAAAA,gBACAC,EAAAA,kBAEFC,aAAc,CACZb,EACAO,GAEFO,QAAS,CACPd,WCfSe,EAAqC,CAChD,CAAEC,UAAWhB,EAAqBiB,OAAQC","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-modal-content',\n templateUrl: './modal-content.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalContentComponent {\n\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\nimport { DaffModalService } from '@daffodil/design';\n\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-modal',\n templateUrl: './basic-modal.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalComponent {\n modal: any;\n\n constructor(private modalService: DaffModalService) {}\n\n showModal() {\n this.modal = this.modalService.open(BasicModalContentComponent);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffModalModule,\n DaffButtonModule,\n} from '@daffodil/design';\n\nimport { BasicModalComponent } from './basic-modal.component';\nimport { BasicModalContentComponent } from './modal-content.component';\n\n@NgModule({\n imports: [\n DaffModalModule,\n DaffButtonModule,\n ],\n declarations: [\n BasicModalComponent,\n BasicModalContentComponent,\n ],\n exports: [\n BasicModalComponent,\n ],\n})\nexport class BasicModalModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicModalComponent } from './basic-modal/basic-modal.component';\nimport { BasicModalModule } from './basic-modal/basic-modal.module';\n\nexport const MODAL_EXAMPLES: ComponentExample[] = [\n { component: BasicModalComponent, module: BasicModalModule },\n];\n"]}
|
@@ -0,0 +1,177 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@daffodil/design'), require('@angular/forms')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('@daffodil/design/navbar/examples', ['exports', '@angular/core', '@angular/common', '@daffodil/design', '@angular/forms'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.daffodil = global.daffodil || {}, global.daffodil.design = global.daffodil.design || {}, global.daffodil.design.navbar = global.daffodil.design.navbar || {}, global.daffodil.design.navbar.examples = {}), global.ng.core, global.ng.common, global.daffodil.design, global.ng.forms));
|
5
|
+
}(this, (function (exports, core, common, design, forms) { 'use strict';
|
6
|
+
|
7
|
+
var BasicNavbarComponent = /** @class */ (function () {
|
8
|
+
function BasicNavbarComponent() {
|
9
|
+
}
|
10
|
+
return BasicNavbarComponent;
|
11
|
+
}());
|
12
|
+
BasicNavbarComponent.decorators = [
|
13
|
+
{ type: core.Component, args: [{
|
14
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
15
|
+
selector: 'basic-navbar',
|
16
|
+
template: "<nav daff-navbar class=\"daff-basic-navbar\">\n\t<div class=\"daff-basic-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button color=\"theme-contrast\">Contact Us</button>\n</nav>",
|
17
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
18
|
+
styles: [".daff-basic-navbar{justify-content:space-between}.daff-basic-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]
|
19
|
+
},] }
|
20
|
+
];
|
21
|
+
|
22
|
+
var BasicNavbarModule = /** @class */ (function () {
|
23
|
+
function BasicNavbarModule() {
|
24
|
+
}
|
25
|
+
return BasicNavbarModule;
|
26
|
+
}());
|
27
|
+
BasicNavbarModule.decorators = [
|
28
|
+
{ type: core.NgModule, args: [{
|
29
|
+
declarations: [
|
30
|
+
BasicNavbarComponent,
|
31
|
+
],
|
32
|
+
imports: [
|
33
|
+
common.CommonModule,
|
34
|
+
design.DaffNavbarModule,
|
35
|
+
design.DaffButtonModule,
|
36
|
+
design.DaffContainerModule,
|
37
|
+
],
|
38
|
+
},] }
|
39
|
+
];
|
40
|
+
|
41
|
+
var ContainedNavbarComponent = /** @class */ (function () {
|
42
|
+
function ContainedNavbarComponent() {
|
43
|
+
}
|
44
|
+
return ContainedNavbarComponent;
|
45
|
+
}());
|
46
|
+
ContainedNavbarComponent.decorators = [
|
47
|
+
{ type: core.Component, args: [{
|
48
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
49
|
+
selector: 'contained-navbar',
|
50
|
+
template: "<nav daff-navbar class=\"daff-contained-navbar\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-contained-navbar__links\">\n\t\t\t<a href=\"/\">Home</a>\n\t\t\t<a href=\"/\">About Us</a>\n\t\t</div>\n\t\t<button daff-button>Contact Us</button>\n\t</daff-container>\n</nav>\n",
|
51
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
52
|
+
styles: [".daff-contained-navbar{justify-content:space-between}.daff-contained-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]
|
53
|
+
},] }
|
54
|
+
];
|
55
|
+
|
56
|
+
var ContainedNavbarModule = /** @class */ (function () {
|
57
|
+
function ContainedNavbarModule() {
|
58
|
+
}
|
59
|
+
return ContainedNavbarModule;
|
60
|
+
}());
|
61
|
+
ContainedNavbarModule.decorators = [
|
62
|
+
{ type: core.NgModule, args: [{
|
63
|
+
declarations: [
|
64
|
+
ContainedNavbarComponent,
|
65
|
+
],
|
66
|
+
imports: [
|
67
|
+
common.CommonModule,
|
68
|
+
design.DaffNavbarModule,
|
69
|
+
design.DaffButtonModule,
|
70
|
+
design.DaffContainerModule,
|
71
|
+
],
|
72
|
+
},] }
|
73
|
+
];
|
74
|
+
|
75
|
+
var NavbarThemingComponent = /** @class */ (function () {
|
76
|
+
function NavbarThemingComponent() {
|
77
|
+
this.colorControl = new forms.FormControl('');
|
78
|
+
this.options = [
|
79
|
+
{ value: '', label: 'Default' },
|
80
|
+
{ value: 'primary', label: 'Primary' },
|
81
|
+
{ value: 'secondary', label: 'Secondary' },
|
82
|
+
{ value: 'tertiary', label: 'Tertiary' },
|
83
|
+
{ value: 'white', label: 'White' },
|
84
|
+
{ value: 'black', label: 'Black' },
|
85
|
+
{ value: 'theme', label: 'Theme' },
|
86
|
+
{ value: 'theme-contrast', label: 'Theme Contrast' },
|
87
|
+
];
|
88
|
+
}
|
89
|
+
return NavbarThemingComponent;
|
90
|
+
}());
|
91
|
+
NavbarThemingComponent.decorators = [
|
92
|
+
{ type: core.Component, args: [{
|
93
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
94
|
+
selector: 'navbar-theming',
|
95
|
+
template: "<nav daff-navbar [color]=\"colorControl.value\" class=\"daff-navbar-theming\">\n\t<div class=\"daff-navbar-theming__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>",
|
96
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
97
|
+
styles: [".daff-navbar-theming{justify-content:space-between}.daff-navbar-theming__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]
|
98
|
+
},] }
|
99
|
+
];
|
100
|
+
|
101
|
+
var NavbarThemingModule = /** @class */ (function () {
|
102
|
+
function NavbarThemingModule() {
|
103
|
+
}
|
104
|
+
return NavbarThemingModule;
|
105
|
+
}());
|
106
|
+
NavbarThemingModule.decorators = [
|
107
|
+
{ type: core.NgModule, args: [{
|
108
|
+
declarations: [
|
109
|
+
NavbarThemingComponent,
|
110
|
+
],
|
111
|
+
imports: [
|
112
|
+
common.CommonModule,
|
113
|
+
forms.ReactiveFormsModule,
|
114
|
+
design.DaffNavbarModule,
|
115
|
+
design.DaffButtonModule,
|
116
|
+
],
|
117
|
+
},] }
|
118
|
+
];
|
119
|
+
|
120
|
+
var RaisedNavbarComponent = /** @class */ (function () {
|
121
|
+
function RaisedNavbarComponent() {
|
122
|
+
}
|
123
|
+
return RaisedNavbarComponent;
|
124
|
+
}());
|
125
|
+
RaisedNavbarComponent.decorators = [
|
126
|
+
{ type: core.Component, args: [{
|
127
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
128
|
+
selector: 'raised-navbar',
|
129
|
+
template: "<nav daff-navbar [raised]=\"true\" class=\"daff-raised-navbar\">\n\t<div class=\"daff-raised-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n",
|
130
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
131
|
+
styles: [".daff-raised-navbar{justify-content:space-between}.daff-raised-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]
|
132
|
+
},] }
|
133
|
+
];
|
134
|
+
|
135
|
+
var RaisedNavbarModule = /** @class */ (function () {
|
136
|
+
function RaisedNavbarModule() {
|
137
|
+
}
|
138
|
+
return RaisedNavbarModule;
|
139
|
+
}());
|
140
|
+
RaisedNavbarModule.decorators = [
|
141
|
+
{ type: core.NgModule, args: [{
|
142
|
+
declarations: [
|
143
|
+
RaisedNavbarComponent,
|
144
|
+
],
|
145
|
+
imports: [
|
146
|
+
common.CommonModule,
|
147
|
+
design.DaffNavbarModule,
|
148
|
+
design.DaffButtonModule,
|
149
|
+
],
|
150
|
+
},] }
|
151
|
+
];
|
152
|
+
|
153
|
+
var NAVBAR_EXAMPLES = [
|
154
|
+
BasicNavbarComponent,
|
155
|
+
ContainedNavbarComponent,
|
156
|
+
NavbarThemingComponent,
|
157
|
+
RaisedNavbarComponent,
|
158
|
+
];
|
159
|
+
|
160
|
+
/**
|
161
|
+
* Generated bundle index. Do not edit.
|
162
|
+
*/
|
163
|
+
|
164
|
+
exports.BasicNavbarComponent = BasicNavbarComponent;
|
165
|
+
exports.BasicNavbarModule = BasicNavbarModule;
|
166
|
+
exports.ContainedNavbarComponent = ContainedNavbarComponent;
|
167
|
+
exports.ContainedNavbarModule = ContainedNavbarModule;
|
168
|
+
exports.NAVBAR_EXAMPLES = NAVBAR_EXAMPLES;
|
169
|
+
exports.NavbarThemingComponent = NavbarThemingComponent;
|
170
|
+
exports.NavbarThemingModule = NavbarThemingModule;
|
171
|
+
exports.RaisedNavbarComponent = RaisedNavbarComponent;
|
172
|
+
exports.RaisedNavbarModule = RaisedNavbarModule;
|
173
|
+
|
174
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
175
|
+
|
176
|
+
})));
|
177
|
+
//# sourceMappingURL=daffodil-design-navbar-examples.umd.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"daffodil-design-navbar-examples.umd.js","sources":["../../../libs/design/navbar/examples/src/basic-navbar/basic-navbar.component.ts","../../../libs/design/navbar/examples/src/basic-navbar/basic-navbar.module.ts","../../../libs/design/navbar/examples/src/contained-navbar/contained-navbar.component.ts","../../../libs/design/navbar/examples/src/contained-navbar/contained-navbar.module.ts","../../../libs/design/navbar/examples/src/navbar-theming/navbar-theming.component.ts","../../../libs/design/navbar/examples/src/navbar-theming/navbar-theming.module.ts","../../../libs/design/navbar/examples/src/raised-navbar/raised-navbar.component.ts","../../../libs/design/navbar/examples/src/raised-navbar/raised-navbar.module.ts","../../../libs/design/navbar/examples/src/examples.ts","../../../libs/design/navbar/examples/src/daffodil-design-navbar-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-navbar',\n templateUrl: './basic-navbar.component.html',\n styleUrls: ['./basic-navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicNavbarComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffButtonModule,\n DaffContainerModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { BasicNavbarComponent } from './basic-navbar.component';\n\n@NgModule({\n declarations: [\n BasicNavbarComponent,\n ],\n imports: [\n CommonModule,\n\n DaffNavbarModule,\n DaffButtonModule,\n DaffContainerModule,\n ],\n})\nexport class BasicNavbarModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'contained-navbar',\n templateUrl: './contained-navbar.component.html',\n styleUrls: ['./contained-navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainedNavbarComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffButtonModule,\n DaffContainerModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { ContainedNavbarComponent } from './contained-navbar.component';\n\n@NgModule({\n declarations: [\n ContainedNavbarComponent,\n ],\n imports: [\n CommonModule,\n\n DaffNavbarModule,\n DaffButtonModule,\n DaffContainerModule,\n ],\n})\nexport class ContainedNavbarModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'navbar-theming',\n templateUrl: './navbar-theming.component.html',\n styleUrls: ['./navbar-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarThemingComponent {\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';\n\nimport {\n DaffButtonModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { NavbarThemingComponent } from './navbar-theming.component';\n\n@NgModule({\n declarations: [\n NavbarThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffNavbarModule,\n DaffButtonModule,\n ],\n})\nexport class NavbarThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'raised-navbar',\n templateUrl: './raised-navbar.component.html',\n styleUrls: ['./raised-navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class RaisedNavbarComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffButtonModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { RaisedNavbarComponent } from './raised-navbar.component';\n\n@NgModule({\n declarations: [\n RaisedNavbarComponent,\n ],\n imports: [\n CommonModule,\n\n DaffNavbarModule,\n DaffButtonModule,\n ],\n})\nexport class RaisedNavbarModule { }\n","import { BasicNavbarComponent } from './basic-navbar/basic-navbar.component';\nimport { ContainedNavbarComponent } from './contained-navbar/contained-navbar.component';\nimport { NavbarThemingComponent } from './navbar-theming/navbar-theming.component';\nimport { RaisedNavbarComponent } from './raised-navbar/raised-navbar.component';\n\nexport const NAVBAR_EXAMPLES = [\n BasicNavbarComponent,\n ContainedNavbarComponent,\n NavbarThemingComponent,\n RaisedNavbarComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Component","ChangeDetectionStrategy","NgModule","CommonModule","DaffNavbarModule","DaffButtonModule","DaffContainerModule","FormControl","ReactiveFormsModule"],"mappings":";;;;;;;QAaA;;;;;gBAPCA,cAAS,SAAC;;oBAET,QAAQ,EAAE,cAAc;oBACxB,uPAA4C;oBAE5C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCWD;;;;;gBAZCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBAEZC,uBAAgB;wBAChBC,uBAAgB;wBAChBC,0BAAmB;qBACpB;iBACF;;;;QCVD;;;;;gBAPCN,cAAS,SAAC;;oBAET,QAAQ,EAAE,kBAAkB;oBAC5B,uSAAgD;oBAEhD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCYD;;;;;gBAZCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,wBAAwB;qBACzB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBAEZC,uBAAgB;wBAChBC,uBAAgB;wBAChBC,0BAAmB;qBACpB;iBACF;;;;QChBD;YAQE,iBAAY,GAAgB,IAAIC,iBAAW,CAAC,EAAE,CAAC,CAAC;YAEhD,YAAO,GAAG;gBACR,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;gBAC/B,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;gBACtC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;gBAC1C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACxC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;aACrD,CAAC;SACH;;;;gBApBAP,cAAS,SAAC;;oBAET,QAAQ,EAAE,gBAAgB;oBAC1B,wZAA8C;oBAE9C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCUD;;;;;gBAXCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;qBACvB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZK,yBAAmB;wBACnBJ,uBAAgB;wBAChBC,uBAAgB;qBACjB;iBACF;;;;QCTD;;;;;gBAPCL,cAAS,SAAC;;oBAET,QAAQ,EAAE,eAAe;oBACzB,oPAA6C;oBAE7C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCUD;;;;;gBAXCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,qBAAqB;qBACtB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBAEZC,uBAAgB;wBAChBC,uBAAgB;qBACjB;iBACF;;;QCfY,eAAe,GAAG;QAC7B,oBAAoB;QACpB,wBAAwB;QACxB,sBAAsB;QACtB,qBAAqB;;;ICTvB;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@daffodil/design"),require("@angular/forms")):"function"==typeof define&&define.amd?define("@daffodil/design/navbar/examples",["exports","@angular/core","@angular/common","@daffodil/design","@angular/forms"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).daffodil=a.daffodil||{},a.daffodil.design=a.daffodil.design||{},a.daffodil.design.navbar=a.daffodil.design.navbar||{},a.daffodil.design.navbar.examples={}),a.ng.core,a.ng.common,a.daffodil.design,a.ng.forms)}(this,(function(a,e,n,t,o){"use strict";var r=function(){};r.decorators=[{type:e.Component,args:[{selector:"basic-navbar",template:'<nav daff-navbar class="daff-basic-navbar">\n\t<div class="daff-basic-navbar__links">\n\t\t<a href="/">Home</a>\n\t\t<a href="/">About Us</a>\n\t</div>\n\t<button daff-button color="theme-contrast">Contact Us</button>\n</nav>',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[".daff-basic-navbar{justify-content:space-between}.daff-basic-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]}]}];var i=function(){};i.decorators=[{type:e.NgModule,args:[{declarations:[r],imports:[n.CommonModule,t.DaffNavbarModule,t.DaffButtonModule,t.DaffContainerModule]}]}];var f=function(){};f.decorators=[{type:e.Component,args:[{selector:"contained-navbar",template:'<nav daff-navbar class="daff-contained-navbar">\n\t<daff-container size="md">\n\t\t<div class="daff-contained-navbar__links">\n\t\t\t<a href="/">Home</a>\n\t\t\t<a href="/">About Us</a>\n\t\t</div>\n\t\t<button daff-button>Contact Us</button>\n\t</daff-container>\n</nav>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[".daff-contained-navbar{justify-content:space-between}.daff-contained-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]}]}];var s=function(){};s.decorators=[{type:e.NgModule,args:[{declarations:[f],imports:[n.CommonModule,t.DaffNavbarModule,t.DaffButtonModule,t.DaffContainerModule]}]}];var d=function(){this.colorControl=new o.FormControl(""),this.options=[{value:"",label:"Default"},{value:"primary",label:"Primary"},{value:"secondary",label:"Secondary"},{value:"tertiary",label:"Tertiary"},{value:"white",label:"White"},{value:"black",label:"Black"},{value:"theme",label:"Theme"},{value:"theme-contrast",label:"Theme Contrast"}]};d.decorators=[{type:e.Component,args:[{selector:"navbar-theming",template:'<nav daff-navbar [color]="colorControl.value" class="daff-navbar-theming">\n\t<div class="daff-navbar-theming__links">\n\t\t<a href="/">Home</a>\n\t\t<a href="/">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n\n<select [formControl]="colorControl">\n\t<option *ngFor="let option of options" [value]="option.value">{{ option.label }}</option>\n</select>',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[".daff-navbar-theming{justify-content:space-between}.daff-navbar-theming__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]}]}];var l=function(){};l.decorators=[{type:e.NgModule,args:[{declarations:[d],imports:[n.CommonModule,o.ReactiveFormsModule,t.DaffNavbarModule,t.DaffButtonModule]}]}];var c=function(){};c.decorators=[{type:e.Component,args:[{selector:"raised-navbar",template:'<nav daff-navbar [raised]="true" class="daff-raised-navbar">\n\t<div class="daff-raised-navbar__links">\n\t\t<a href="/">Home</a>\n\t\t<a href="/">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[".daff-raised-navbar{justify-content:space-between}.daff-raised-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}"]}]}];var u=function(){};u.decorators=[{type:e.NgModule,args:[{declarations:[c],imports:[n.CommonModule,t.DaffNavbarModule,t.DaffButtonModule]}]}];var b=[r,f,d,c];a.BasicNavbarComponent=r,a.BasicNavbarModule=i,a.ContainedNavbarComponent=f,a.ContainedNavbarModule=s,a.NAVBAR_EXAMPLES=b,a.NavbarThemingComponent=d,a.NavbarThemingModule=l,a.RaisedNavbarComponent=c,a.RaisedNavbarModule=u,Object.defineProperty(a,"__esModule",{value:!0})}));
|
2
|
+
//# sourceMappingURL=daffodil-design-navbar-examples.umd.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../libs/design/navbar/examples/src/basic-navbar/basic-navbar.component.ts","../../../libs/design/navbar/examples/src/basic-navbar/basic-navbar.module.ts","../../../libs/design/navbar/examples/src/contained-navbar/contained-navbar.component.ts","../../../libs/design/navbar/examples/src/contained-navbar/contained-navbar.module.ts","../../../libs/design/navbar/examples/src/navbar-theming/navbar-theming.component.ts","../../../libs/design/navbar/examples/src/navbar-theming/navbar-theming.module.ts","../../../libs/design/navbar/examples/src/raised-navbar/raised-navbar.component.ts","../../../libs/design/navbar/examples/src/raised-navbar/raised-navbar.module.ts","../../../libs/design/navbar/examples/src/examples.ts"],"names":["Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","NgModule","declarations","BasicNavbarComponent","imports","CommonModule","DaffNavbarModule","DaffButtonModule","DaffContainerModule","ContainedNavbarComponent","this","colorControl","FormControl","options","value","label","NavbarThemingComponent","ReactiveFormsModule","RaisedNavbarComponent","NAVBAR_EXAMPLES"],"mappings":"qpBAaA,iCAPCA,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,eACVC,SAAA,oOAEAC,gBAAiBC,EAAAA,wBAAwBC,0MCY3C,iCAZCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZC,GAEFC,QAAS,CACPC,EAAAA,aAEAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,+BCRJ,iCAPCd,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,mBACVC,SAAA,oRAEAC,gBAAiBC,EAAAA,wBAAwBC,kNCa3C,iCAZCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZO,GAEFL,QAAS,CACPC,EAAAA,aAEAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,+BCdJ,WAQEE,KAAAC,aAA4B,IAAIC,EAAAA,YAAY,IAE5CF,KAAAG,QAAU,CACR,CAAEC,MAAO,GAAIC,MAAO,WACpB,CAAED,MAAO,UAAWC,MAAO,WAC3B,CAAED,MAAO,YAAaC,MAAO,aAC7B,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,QAASC,MAAO,SACzB,CAAED,MAAO,iBAAkBC,MAAO,wCAlBrCrB,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,iBACVC,SAAA,+XAEAC,gBAAiBC,EAAAA,wBAAwBC,8MCW3C,iCAXCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZc,GAEFZ,QAAS,CACPC,EAAAA,aACAY,EAAAA,oBACAX,EAAAA,iBACAC,EAAAA,4BCPJ,iCAPCb,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,gBACVC,SAAA,iOAEAC,gBAAiBC,EAAAA,wBAAwBC,4MCW3C,iCAXCC,EAAAA,SAAQN,KAAA,CAAC,CACRO,aAAc,CACZgB,GAEFd,QAAS,CACPC,EAAAA,aAEAC,EAAAA,iBACAC,EAAAA,0BCbSY,EAAkB,CAC7BhB,EACAM,EACAO,EACAE","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-navbar',\n templateUrl: './basic-navbar.component.html',\n styleUrls: ['./basic-navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicNavbarComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffButtonModule,\n DaffContainerModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { BasicNavbarComponent } from './basic-navbar.component';\n\n@NgModule({\n declarations: [\n BasicNavbarComponent,\n ],\n imports: [\n CommonModule,\n\n DaffNavbarModule,\n DaffButtonModule,\n DaffContainerModule,\n ],\n})\nexport class BasicNavbarModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'contained-navbar',\n templateUrl: './contained-navbar.component.html',\n styleUrls: ['./contained-navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContainedNavbarComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffButtonModule,\n DaffContainerModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { ContainedNavbarComponent } from './contained-navbar.component';\n\n@NgModule({\n declarations: [\n ContainedNavbarComponent,\n ],\n imports: [\n CommonModule,\n\n DaffNavbarModule,\n DaffButtonModule,\n DaffContainerModule,\n ],\n})\nexport class ContainedNavbarModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'navbar-theming',\n templateUrl: './navbar-theming.component.html',\n styleUrls: ['./navbar-theming.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarThemingComponent {\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';\n\nimport {\n DaffButtonModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { NavbarThemingComponent } from './navbar-theming.component';\n\n@NgModule({\n declarations: [\n NavbarThemingComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffNavbarModule,\n DaffButtonModule,\n ],\n})\nexport class NavbarThemingModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'raised-navbar',\n templateUrl: './raised-navbar.component.html',\n styleUrls: ['./raised-navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class RaisedNavbarComponent {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n DaffButtonModule,\n DaffNavbarModule,\n} from '@daffodil/design';\n\nimport { RaisedNavbarComponent } from './raised-navbar.component';\n\n@NgModule({\n declarations: [\n RaisedNavbarComponent,\n ],\n imports: [\n CommonModule,\n\n DaffNavbarModule,\n DaffButtonModule,\n ],\n})\nexport class RaisedNavbarModule { }\n","import { BasicNavbarComponent } from './basic-navbar/basic-navbar.component';\nimport { ContainedNavbarComponent } from './contained-navbar/contained-navbar.component';\nimport { NavbarThemingComponent } from './navbar-theming/navbar-theming.component';\nimport { RaisedNavbarComponent } from './raised-navbar/raised-navbar.component';\n\nexport const NAVBAR_EXAMPLES = [\n BasicNavbarComponent,\n ContainedNavbarComponent,\n NavbarThemingComponent,\n RaisedNavbarComponent,\n];\n"]}
|
@@ -15,6 +15,7 @@
|
|
15
15
|
// eslint-disable-next-line @angular-eslint/component-selector
|
16
16
|
selector: 'basic-quantity-field',
|
17
17
|
template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n",
|
18
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
18
19
|
styles: [""]
|
19
20
|
},] }
|
20
21
|
];
|
@@ -30,6 +31,7 @@
|
|
30
31
|
// eslint-disable-next-line @angular-eslint/component-selector
|
31
32
|
selector: 'custom-range-quantity-field',
|
32
33
|
template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n",
|
34
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
33
35
|
styles: [""]
|
34
36
|
},] }
|
35
37
|
];
|
@@ -45,6 +47,7 @@
|
|
45
47
|
// eslint-disable-next-line @angular-eslint/component-selector
|
46
48
|
selector: 'disabled-quantity-field',
|
47
49
|
template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n",
|
50
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
48
51
|
styles: [""]
|
49
52
|
},] }
|
50
53
|
];
|
@@ -60,6 +63,7 @@
|
|
60
63
|
// eslint-disable-next-line @angular-eslint/component-selector
|
61
64
|
selector: 'select-max-quantity-field',
|
62
65
|
template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n",
|
66
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
63
67
|
styles: [""]
|
64
68
|
},] }
|
65
69
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-quantity-field-examples.umd.js","sources":["../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/examples.ts","../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/daffodil-design-quantity-field-examples.ts"],"sourcesContent":["import {
|
1
|
+
{"version":3,"file":"daffodil-design-quantity-field-examples.umd.js","sources":["../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/examples.ts","../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/daffodil-design-quantity-field-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-quantity-field',\n templateUrl: './basic-quantity-field.component.html',\n styleUrls: ['./basic-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicQuantityFieldComponent {\n control = new FormControl(1);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'custom-range-quantity-field',\n templateUrl: './custom-range-quantity-field.component.html',\n styleUrls: ['./custom-range-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CustomRangeQuantityFieldComponent {\n control = new FormControl(5);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-quantity-field',\n templateUrl: './disabled-quantity-field.component.html',\n styleUrls: ['./disabled-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DisabledQuantityFieldComponent {\n control = new FormControl({ value : '' , disabled: true });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select-max-quantity-field',\n templateUrl: './select-max-quantity-field.component.html',\n styleUrls: ['./select-max-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectMaxQuantityFieldComponent {\n control = new FormControl(1);\n}\n","import { BasicQuantityFieldComponent } from './basic/basic-quantity-field.component';\nimport { CustomRangeQuantityFieldComponent } from './customRange/custom-range-quantity-field.component';\nimport { DisabledQuantityFieldComponent } from './disabled/disabled-quantity-field.component';\nimport { SelectMaxQuantityFieldComponent } from './selectMax/select-max-quantity-field.component';\n\nexport const QUANTITY_FIELD_EXAMPLES = [\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n];\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { BasicQuantityFieldComponent } from './basic-quantity-field.component';\n\n@NgModule({\n declarations: [\n BasicQuantityFieldComponent,\n ],\n exports: [\n BasicQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class BasicQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field.component';\n\n@NgModule({\n declarations: [\n CustomRangeQuantityFieldComponent,\n ],\n exports: [\n CustomRangeQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class CustomRangeQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field.component';\n\n@NgModule({\n declarations: [\n DisabledQuantityFieldComponent,\n ],\n exports: [\n DisabledQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class DisabledQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field.component';\n\n@NgModule({\n declarations: [\n SelectMaxQuantityFieldComponent,\n ],\n exports: [\n SelectMaxQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class SelectMaxQuantityFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicQuantityFieldComponent as ɵa} from './basic/basic-quantity-field.component';\nexport {CustomRangeQuantityFieldComponent as ɵb} from './customRange/custom-range-quantity-field.component';\nexport {DisabledQuantityFieldComponent as ɵc} from './disabled/disabled-quantity-field.component';\nexport {SelectMaxQuantityFieldComponent as ɵd} from './selectMax/select-max-quantity-field.component';"],"names":["FormControl","Component","ChangeDetectionStrategy","NgModule","CommonModule","ReactiveFormsModule","DaffFormFieldModule","DaffQuantityFieldModule"],"mappings":";;;;;;;QAMA;YAQE,YAAO,GAAG,IAAIA,iBAAW,CAAC,CAAC,CAAC,CAAC;SAC9B;;;;gBATAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,sBAAsB;oBAChC,6KAAoD;oBAEpD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCND;YAQE,YAAO,GAAG,IAAIF,iBAAW,CAAC,CAAC,CAAC,CAAC;SAC9B;;;;gBATAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,6BAA6B;oBACvC,yNAA2D;oBAE3D,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCND;YAQE,YAAO,GAAG,IAAIF,iBAAW,CAAC,EAAE,KAAK,EAAG,EAAE,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;SAC5D;;;;gBATAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,yBAAyB;oBACnC,6KAAuD;oBAEvD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;;QCND;YAQE,YAAO,GAAG,IAAIF,iBAAW,CAAC,CAAC,CAAC,CAAC;SAC9B;;;;gBATAC,cAAS,SAAC;;oBAET,QAAQ,EAAE,2BAA2B;oBACrC,8MAAyD;oBAEzD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;;iBAChD;;;QCPY,uBAAuB,GAAG;QACrC,2BAA2B;QAC3B,iCAAiC;QACjC,8BAA8B;QAC9B,+BAA+B;;;;QCgBjC;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,2BAA2B;qBAC5B;oBACD,OAAO,EAAE;wBACP,2BAA2B;qBAC5B;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,0BAAmB;wBACnBC,8BAAuB;qBACxB;iBACF;;;;QCCD;;;;;gBAdCJ,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,iCAAiC;qBAClC;oBACD,OAAO,EAAE;wBACP,iCAAiC;qBAClC;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,0BAAmB;wBACnBC,8BAAuB;qBACxB;iBACF;;;;QCCD;;;;;gBAdCJ,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,8BAA8B;qBAC/B;oBACD,OAAO,EAAE;wBACP,8BAA8B;qBAC/B;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,0BAAmB;wBACnBC,8BAAuB;qBACxB;iBACF;;;;QCCD;;;;;gBAdCJ,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,+BAA+B;qBAChC;oBACD,OAAO,EAAE;wBACP,+BAA+B;qBAChC;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,yBAAmB;wBACnBC,0BAAmB;wBACnBC,8BAAuB;qBACxB;iBACF;;;ICxBD;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(o
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/forms"),require("@angular/common"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/quantity-field/examples",["exports","@angular/core","@angular/forms","@angular/common","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design["quantity-field"]=e.daffodil.design["quantity-field"]||{},e.daffodil.design["quantity-field"].examples={}),e.ng.core,e.ng.forms,e.ng.common,e.daffodil.design)}(this,(function(e,o,t,n,a){"use strict";var l=function(){this.control=new t.FormControl(1)};l.decorators=[{type:o.Component,args:[{selector:"basic-quantity-field",template:'<daff-form-field>\n <daff-quantity-field [formControl]="control"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n',changeDetection:o.ChangeDetectionStrategy.OnPush,styles:[""]}]}];var d=function(){this.control=new t.FormControl(5)};d.decorators=[{type:o.Component,args:[{selector:"custom-range-quantity-field",template:'<daff-form-field>\n <daff-quantity-field\n [formControl]="control"\n [min]="5"\n [max]="50"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n',changeDetection:o.ChangeDetectionStrategy.OnPush,styles:[""]}]}];var i=function(){this.control=new t.FormControl({value:"",disabled:!0})};i.decorators=[{type:o.Component,args:[{selector:"disabled-quantity-field",template:'<daff-form-field>\n <daff-quantity-field [formControl]="control"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n',changeDetection:o.ChangeDetectionStrategy.OnPush,styles:[""]}]}];var f=function(){this.control=new t.FormControl(1)};f.decorators=[{type:o.Component,args:[{selector:"select-max-quantity-field",template:'<daff-form-field>\n <daff-quantity-field\n [formControl]="control"\n [selectMax]="15"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n',changeDetection:o.ChangeDetectionStrategy.OnPush,styles:[""]}]}];var r=[l,d,i,f],u=function(){};u.decorators=[{type:o.NgModule,args:[{declarations:[l],exports:[l],imports:[n.CommonModule,t.ReactiveFormsModule,a.DaffFormFieldModule,a.DaffQuantityFieldModule]}]}];var s=function(){};s.decorators=[{type:o.NgModule,args:[{declarations:[d],exports:[d],imports:[n.CommonModule,t.ReactiveFormsModule,a.DaffFormFieldModule,a.DaffQuantityFieldModule]}]}];var c=function(){};c.decorators=[{type:o.NgModule,args:[{declarations:[i],exports:[i],imports:[n.CommonModule,t.ReactiveFormsModule,a.DaffFormFieldModule,a.DaffQuantityFieldModule]}]}];var m=function(){};m.decorators=[{type:o.NgModule,args:[{declarations:[f],exports:[f],imports:[n.CommonModule,t.ReactiveFormsModule,a.DaffFormFieldModule,a.DaffQuantityFieldModule]}]}],e.BasicQuantityFieldModule=u,e.CustomRangeQuantityFieldModule=s,e.DisabledQuantityFieldModule=c,e.QUANTITY_FIELD_EXAMPLES=r,e.SelectMaxQuantityFieldModule=m,e.ɵa=l,e.ɵb=d,e.ɵc=i,e.ɵd=f,Object.defineProperty(e,"__esModule",{value:!0})}));
|
2
2
|
//# sourceMappingURL=daffodil-design-quantity-field-examples.umd.min.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/examples.ts","../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.module.ts"],"names":["this","control","FormControl","Component","args","selector","template","value","disabled","QUANTITY_FIELD_EXAMPLES","BasicQuantityFieldComponent","CustomRangeQuantityFieldComponent","DisabledQuantityFieldComponent","SelectMaxQuantityFieldComponent","NgModule","declarations","exports","imports","CommonModule","ReactiveFormsModule","DaffFormFieldModule","DaffQuantityFieldModule"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/examples.ts","../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.module.ts"],"names":["this","control","FormControl","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","value","disabled","QUANTITY_FIELD_EXAMPLES","BasicQuantityFieldComponent","CustomRangeQuantityFieldComponent","DisabledQuantityFieldComponent","SelectMaxQuantityFieldComponent","NgModule","declarations","exports","imports","CommonModule","ReactiveFormsModule","DaffFormFieldModule","DaffQuantityFieldModule"],"mappings":"8rBAMA,WAQEA,KAAAC,QAAU,IAAIC,EAAAA,YAAY,wBAR3BC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,uBACVC,SAAA,kKAEAC,gBAAiBC,EAAAA,wBAAwBC,6BCL3C,WAQET,KAAAC,QAAU,IAAIC,EAAAA,YAAY,wBAR3BC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,8BACVC,SAAA,0MAEAC,gBAAiBC,EAAAA,wBAAwBC,6BCL3C,WAQET,KAAAC,QAAU,IAAIC,EAAAA,YAAY,CAAEQ,MAAQ,GAAKC,UAAU,yBARpDR,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,0BACVC,SAAA,kKAEAC,gBAAiBC,EAAAA,wBAAwBC,6BCL3C,WAQET,KAAAC,QAAU,IAAIC,EAAAA,YAAY,wBAR3BC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,4BACVC,SAAA,iMAEAC,gBAAiBC,EAAAA,wBAAwBC,2BCN9BG,EAA0B,CACrCC,EACAC,EACAC,EACAC,KCgBF,iCAdCC,EAAAA,SAAQb,KAAA,CAAC,CACRc,aAAc,CACZL,GAEFM,QAAS,CACPN,GAEFO,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,oBACAC,EAAAA,mCCGJ,iCAdCP,EAAAA,SAAQb,KAAA,CAAC,CACRc,aAAc,CACZJ,GAEFK,QAAS,CACPL,GAEFM,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,oBACAC,EAAAA,mCCGJ,iCAdCP,EAAAA,SAAQb,KAAA,CAAC,CACRc,aAAc,CACZH,GAEFI,QAAS,CACPJ,GAEFK,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,oBACAC,EAAAA,mCCGJ,iCAdCP,EAAAA,SAAQb,KAAA,CAAC,CACRc,aAAc,CACZF,GAEFG,QAAS,CACPH,GAEFI,QAAS,CACPC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,oBACAC,EAAAA","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-quantity-field',\n templateUrl: './basic-quantity-field.component.html',\n styleUrls: ['./basic-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicQuantityFieldComponent {\n control = new FormControl(1);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'custom-range-quantity-field',\n templateUrl: './custom-range-quantity-field.component.html',\n styleUrls: ['./custom-range-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CustomRangeQuantityFieldComponent {\n control = new FormControl(5);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-quantity-field',\n templateUrl: './disabled-quantity-field.component.html',\n styleUrls: ['./disabled-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DisabledQuantityFieldComponent {\n control = new FormControl({ value : '' , disabled: true });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select-max-quantity-field',\n templateUrl: './select-max-quantity-field.component.html',\n styleUrls: ['./select-max-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectMaxQuantityFieldComponent {\n control = new FormControl(1);\n}\n","import { BasicQuantityFieldComponent } from './basic/basic-quantity-field.component';\nimport { CustomRangeQuantityFieldComponent } from './customRange/custom-range-quantity-field.component';\nimport { DisabledQuantityFieldComponent } from './disabled/disabled-quantity-field.component';\nimport { SelectMaxQuantityFieldComponent } from './selectMax/select-max-quantity-field.component';\n\nexport const QUANTITY_FIELD_EXAMPLES = [\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n];\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { BasicQuantityFieldComponent } from './basic-quantity-field.component';\n\n@NgModule({\n declarations: [\n BasicQuantityFieldComponent,\n ],\n exports: [\n BasicQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class BasicQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field.component';\n\n@NgModule({\n declarations: [\n CustomRangeQuantityFieldComponent,\n ],\n exports: [\n CustomRangeQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class CustomRangeQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field.component';\n\n@NgModule({\n declarations: [\n DisabledQuantityFieldComponent,\n ],\n exports: [\n DisabledQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class DisabledQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field.component';\n\n@NgModule({\n declarations: [\n SelectMaxQuantityFieldComponent,\n ],\n exports: [\n SelectMaxQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class SelectMaxQuantityFieldModule {}\n"]}
|
@@ -18,7 +18,8 @@
|
|
18
18
|
{ type: core.Component, args: [{
|
19
19
|
// eslint-disable-next-line @angular-eslint/component-selector
|
20
20
|
selector: 'basic-radio',
|
21
|
-
template: "<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]=\"radioGroup\" name=\"race\">\n <daff-radio formControlName=\"race\" value=\"Terran\">Terran</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Protoss\">Protoss</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Zerg\">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get('race').value}}\n</div>"
|
21
|
+
template: "<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]=\"radioGroup\" name=\"race\">\n <daff-radio formControlName=\"race\" value=\"Terran\">Terran</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Protoss\">Protoss</daff-radio>\n <daff-radio formControlName=\"race\" value=\"Zerg\">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get('race').value}}\n</div>",
|
22
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush
|
22
23
|
},] }
|
23
24
|
];
|
24
25
|
/** @nocollapse */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-radio-examples.umd.js","sources":["../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.ts","../../../libs/design/radio/examples/src/basic-radio/basic-radio.module.ts","../../../libs/design/radio/examples/src/examples.ts","../../../libs/design/radio/examples/src/daffodil-design-radio-examples.ts"],"sourcesContent":["import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n FormGroup,\n FormControl,\n} from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-radio',\n templateUrl: './basic-radio.component.html',\n})\nexport class BasicRadioComponent implements OnInit {\n\n radioGroup = new FormGroup({\n race: new FormControl('Zerg'),\n });\n constructor() {\n }\n\n ngOnInit() {\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffRadioModule } from '@daffodil/design';\n\nimport { BasicRadioComponent } from './basic-radio.component';\n\n@NgModule({\n\n declarations: [\n BasicRadioComponent,\n ],\n exports: [\n BasicRadioComponent,\n ],\n imports: [\n DaffRadioModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicRadioModule { }\n","import { BasicRadioComponent } from './basic-radio/basic-radio.component';\nimport { BasicRadioModule } from './basic-radio/basic-radio.module';\n\nexport const RADIO_EXAMPLES = [\n BasicRadioComponent,\n];\n\nexport const RADIO_EXAMPLES_MODULES = [\n BasicRadioModule,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicRadioComponent as ɵa} from './basic-radio/basic-radio.component';\nexport {BasicRadioModule as ɵb} from './basic-radio/basic-radio.module';"],"names":["FormGroup","FormControl","Component","NgModule","DaffRadioModule","ReactiveFormsModule"],"mappings":";;;;;;;
|
1
|
+
{"version":3,"file":"daffodil-design-radio-examples.umd.js","sources":["../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.ts","../../../libs/design/radio/examples/src/basic-radio/basic-radio.module.ts","../../../libs/design/radio/examples/src/examples.ts","../../../libs/design/radio/examples/src/daffodil-design-radio-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n FormGroup,\n FormControl,\n} from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-radio',\n templateUrl: './basic-radio.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicRadioComponent implements OnInit {\n\n radioGroup = new FormGroup({\n race: new FormControl('Zerg'),\n });\n constructor() {\n }\n\n ngOnInit() {\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffRadioModule } from '@daffodil/design';\n\nimport { BasicRadioComponent } from './basic-radio.component';\n\n@NgModule({\n\n declarations: [\n BasicRadioComponent,\n ],\n exports: [\n BasicRadioComponent,\n ],\n imports: [\n DaffRadioModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicRadioModule { }\n","import { BasicRadioComponent } from './basic-radio/basic-radio.component';\nimport { BasicRadioModule } from './basic-radio/basic-radio.module';\n\nexport const RADIO_EXAMPLES = [\n BasicRadioComponent,\n];\n\nexport const RADIO_EXAMPLES_MODULES = [\n BasicRadioModule,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {BasicRadioComponent as ɵa} from './basic-radio/basic-radio.component';\nexport {BasicRadioModule as ɵb} from './basic-radio/basic-radio.module';"],"names":["FormGroup","FormControl","Component","ChangeDetectionStrategy","NgModule","DaffRadioModule","ReactiveFormsModule"],"mappings":";;;;;;;QAqBI;YAHA,eAAU,GAAG,IAAIA,eAAS,CAAC;gBACzB,IAAI,EAAE,IAAIC,iBAAW,CAAC,MAAM,CAAC;aAC9B,CAAC,CAAC;SAEF;QAED,sCAAQ,GAAR;SACC;;;;gBAfJC,cAAS,SAAC;;oBAET,QAAQ,EAAE,aAAa;oBACvB,waAA2C;oBAC3C,eAAe,EAAEC,4BAAuB,CAAC,MAAM;iBAChD;;;;;;QCMD;;;;;gBAdCC,aAAQ,SAAC;oBAER,YAAY,EAAE;wBACZ,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACP,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACPC,sBAAe;wBACfC,yBAAmB;qBACpB;oBACD,SAAS,EAAE,EAAE;iBACd;;;QCjBY,cAAc,GAAG;QAC5B,mBAAmB;MACnB;QAEW,sBAAsB,GAAG;QACpC,gBAAgB;;;ICRlB;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/forms"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/radio/examples",["exports","@angular/core","@angular/forms","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.radio=e.daffodil.design.radio||{},e.daffodil.design.radio.examples={}),e.ng.core,e.ng.forms,e.daffodil.design)}(this,(function(e,o,r,a){"use strict";var d=function(){function e(){this.radioGroup=new r.FormGroup({race:new r.FormControl("Zerg")})}return e.prototype.ngOnInit=function(){},e}();d.decorators=[{type:o.Component,args:[{selector:"basic-radio",template:'<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]="radioGroup" name="race">\n <daff-radio formControlName="race" value="Terran">Terran</daff-radio>\n <daff-radio formControlName="race" value="Protoss">Protoss</daff-radio>\n <daff-radio formControlName="race" value="Zerg">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get(\'race\').value}}\n</div>'}]}],d.ctorParameters=function(){return[]};var i=function(){};i.decorators=[{type:o.NgModule,args:[{declarations:[d],exports:[d],imports:[a.DaffRadioModule,r.ReactiveFormsModule],providers:[]}]}];var
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/forms"),require("@daffodil/design")):"function"==typeof define&&define.amd?define("@daffodil/design/radio/examples",["exports","@angular/core","@angular/forms","@daffodil/design"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design=e.daffodil.design||{},e.daffodil.design.radio=e.daffodil.design.radio||{},e.daffodil.design.radio.examples={}),e.ng.core,e.ng.forms,e.daffodil.design)}(this,(function(e,o,r,a){"use strict";var d=function(){function e(){this.radioGroup=new r.FormGroup({race:new r.FormControl("Zerg")})}return e.prototype.ngOnInit=function(){},e}();d.decorators=[{type:o.Component,args:[{selector:"basic-radio",template:'<h2>Basic Radio</h2>\n<daff-radio-set [formGroup]="radioGroup" name="race">\n <daff-radio formControlName="race" value="Terran">Terran</daff-radio>\n <daff-radio formControlName="race" value="Protoss">Protoss</daff-radio>\n <daff-radio formControlName="race" value="Zerg">Zerg</daff-radio>\n</daff-radio-set>\n<div>\n The best race to play as is: {{this.radioGroup.get(\'race\').value}}\n</div>',changeDetection:o.ChangeDetectionStrategy.OnPush}]}],d.ctorParameters=function(){return[]};var i=function(){};i.decorators=[{type:o.NgModule,args:[{declarations:[d],exports:[d],imports:[a.DaffRadioModule,r.ReactiveFormsModule],providers:[]}]}];var n=[d],f=[i];e.RADIO_EXAMPLES=n,e.RADIO_EXAMPLES_MODULES=f,e.ɵa=d,e.ɵb=i,Object.defineProperty(e,"__esModule",{value:!0})}));
|
2
2
|
//# sourceMappingURL=daffodil-design-radio-examples.umd.min.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.ts","../../../libs/design/radio/examples/src/basic-radio/basic-radio.module.ts","../../../libs/design/radio/examples/src/examples.ts"],"names":["BasicRadioComponent","this","radioGroup","FormGroup","race","FormControl","prototype","ngOnInit","Component","args","selector","template","NgModule","declarations","exports","imports","DaffRadioModule","ReactiveFormsModule","providers","RADIO_EXAMPLES","RADIO_EXAMPLES_MODULES","BasicRadioModule"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../libs/design/radio/examples/src/basic-radio/basic-radio.component.ts","../../../libs/design/radio/examples/src/basic-radio/basic-radio.module.ts","../../../libs/design/radio/examples/src/examples.ts"],"names":["BasicRadioComponent","this","radioGroup","FormGroup","race","FormControl","prototype","ngOnInit","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","NgModule","declarations","exports","imports","DaffRadioModule","ReactiveFormsModule","providers","RADIO_EXAMPLES","RADIO_EXAMPLES_MODULES","BasicRadioModule"],"mappings":"imBAqBI,SAAAA,IAHAC,KAAAC,WAAa,IAAIC,EAAAA,UAAU,CACzBC,KAAM,IAAIC,EAAAA,YAAY,iBAKxBL,EAAAM,UAAAC,SAAA,sCAdHC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,cACVC,SAAA,iZACAC,gBAAiBC,EAAAA,wBAAwBC,uDCO3C,iCAdCC,EAAAA,SAAQN,KAAA,CAAC,CAERO,aAAc,CACZhB,GAEFiB,QAAS,CACPjB,GAEFkB,QAAS,CACPC,EAAAA,gBACAC,EAAAA,qBAEFC,UAAW,WChBAC,EAAiB,CAC5BtB,GAGWuB,EAAyB,CACpCC","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n FormGroup,\n FormControl,\n} from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-radio',\n templateUrl: './basic-radio.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicRadioComponent implements OnInit {\n\n radioGroup = new FormGroup({\n race: new FormControl('Zerg'),\n });\n constructor() {\n }\n\n ngOnInit() {\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffRadioModule } from '@daffodil/design';\n\nimport { BasicRadioComponent } from './basic-radio.component';\n\n@NgModule({\n\n declarations: [\n BasicRadioComponent,\n ],\n exports: [\n BasicRadioComponent,\n ],\n imports: [\n DaffRadioModule,\n ReactiveFormsModule,\n ],\n providers: [],\n})\nexport class BasicRadioModule { }\n","import { BasicRadioComponent } from './basic-radio/basic-radio.component';\nimport { BasicRadioModule } from './basic-radio/basic-radio.module';\n\nexport const RADIO_EXAMPLES = [\n BasicRadioComponent,\n];\n\nexport const RADIO_EXAMPLES_MODULES = [\n BasicRadioModule,\n];\n"]}
|