af-connect-components 0.0.26 → 0.0.27
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 +8 -11
- package/esm2020/af-connect-components.mjs +5 -0
- package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +22 -0
- package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +47 -0
- package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +33 -0
- package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +17 -0
- package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +11 -0
- package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +23 -0
- package/esm2020/lib/af-connect-components.component.mjs +19 -0
- package/esm2020/lib/af-connect-components.module.mjs +239 -0
- package/esm2020/lib/af-connect-components.service.mjs +14 -0
- package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +14 -0
- package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +11 -0
- package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +26 -0
- package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +270 -0
- package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +11 -0
- package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +21 -0
- package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +46 -0
- package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +29 -0
- package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +92 -0
- package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +18 -0
- package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +101 -0
- package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +26 -0
- package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +15 -0
- package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +47 -0
- package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +27 -0
- package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +27 -0
- package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +69 -0
- package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +45 -0
- package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +99 -0
- package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +114 -0
- package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +14 -0
- package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +35 -0
- package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +11 -0
- package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +27 -0
- package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +20 -0
- package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +11 -0
- package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +87 -0
- package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +33 -0
- package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +133 -0
- package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +48 -0
- package/esm2020/lib/af-connect-tooltip/types.mjs +2 -0
- package/esm2020/lib/constants/animation.constants.mjs +121 -0
- package/esm2020/lib/constants/base.constants.mjs +10 -0
- package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +23 -0
- package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +54 -0
- package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +29 -0
- package/esm2020/lib/faq/faq/faq.component.mjs +22 -0
- package/esm2020/lib/faq/faq-item/faq-item.component.mjs +16 -0
- package/esm2020/lib/faq/faqItem.mjs +2 -0
- package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +74 -0
- package/esm2020/lib/models/notification-response.model.mjs +2 -0
- package/esm2020/lib/models/radio.model.mjs +2 -0
- package/esm2020/lib/services/breakpoint.service.mjs +16 -0
- package/esm2020/lib/utilities/number.util.mjs +4 -0
- package/esm2020/public-api.mjs +43 -0
- package/esm2020/shared/pipes/get-initials.mjs +20 -0
- package/fesm2015/af-connect-components.mjs +2158 -0
- package/fesm2015/af-connect-components.mjs.map +1 -0
- package/fesm2020/af-connect-components.mjs +2150 -0
- package/fesm2020/af-connect-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +10 -0
- package/lib/af-connect-button/af-connect-button.component.d.ts +21 -0
- package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +14 -0
- package/lib/af-connect-card/af-connect-card.component.d.ts +8 -0
- package/lib/af-connect-chart/af-connect-chart.component.d.ts +5 -0
- package/lib/af-connect-chip/af-connect-chip.component.d.ts +12 -0
- package/lib/af-connect-components.component.d.ts +5 -0
- package/lib/af-connect-components.module.d.ts +52 -0
- package/lib/af-connect-components.service.d.ts +6 -0
- package/lib/af-connect-content/af-connect-content.component.d.ts +8 -0
- package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +5 -0
- package/lib/af-connect-error/af-connect-error.component.d.ts +12 -0
- package/lib/af-connect-footer/af-connect-footer.component.d.ts +153 -0
- package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +5 -0
- package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +10 -0
- package/lib/af-connect-header/af-connect-header.component.d.ts +18 -0
- package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +13 -0
- package/lib/af-connect-input/af-connect-input.component.d.ts +36 -0
- package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +8 -0
- package/lib/af-connect-modal/af-connect-modal.component.d.ts +46 -0
- package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +12 -0
- package/lib/af-connect-notification/af-connect-notification.component.d.ts +8 -0
- package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +32 -0
- package/lib/af-connect-products-carousel/defaultConfig.d.ts +6 -0
- package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +13 -0
- package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +26 -0
- package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +18 -0
- package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +34 -0
- package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +35 -0
- package/lib/af-connect-section/af-connect-section.component.d.ts +8 -0
- package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +15 -0
- package/lib/af-connect-select/af-connect-select.component.d.ts +5 -0
- package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +14 -0
- package/lib/af-connect-tab/af-connect-tab.component.d.ts +9 -0
- package/lib/af-connect-table/af-connect-table.component.d.ts +5 -0
- package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +25 -0
- package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +13 -0
- package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +37 -0
- package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +16 -0
- package/lib/af-connect-tooltip/types.d.ts +1 -0
- package/lib/constants/animation.constants.d.ts +13 -0
- package/lib/constants/base.constants.d.ts +10 -0
- package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +8 -0
- package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +21 -0
- package/lib/expandable/expandable-container/expandable-container.component.d.ts +8 -0
- package/lib/faq/faq/faq.component.d.ts +9 -0
- package/lib/faq/faq-item/faq-item.component.d.ts +7 -0
- package/lib/faq/image-fallback/image-fallback.component.d.ts +18 -0
- package/{projects/af-connect-components/src/lib/models/notification-response.model.ts → lib/models/notification-response.model.d.ts} +0 -1
- package/lib/models/radio.model.d.ts +3 -0
- package/lib/services/breakpoint.service.d.ts +9 -0
- package/lib/utilities/number.util.d.ts +1 -0
- package/package.json +31 -41
- package/{projects/af-connect-components/src/public-api.ts → public-api.d.ts} +0 -7
- package/shared/pipes/get-initials.d.ts +10 -0
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -40
- package/projects/af-connect-components/README.md +0 -24
- package/projects/af-connect-components/ng-package.json +0 -7
- package/projects/af-connect-components/package-lock.json +0 -4286
- package/projects/af-connect-components/package.json +0 -12
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +0 -13
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +0 -50
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +0 -17
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +0 -25
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +0 -306
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +0 -25
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +0 -20
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +0 -209
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +0 -21
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +0 -4
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +0 -100
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +0 -14
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +0 -15
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +0 -125
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-components.component.ts +0 -15
- package/projects/af-connect-components/src/lib/af-connect-components.module.ts +0 -146
- package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +0 -16
- package/projects/af-connect-components/src/lib/af-connect-components.service.ts +0 -9
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +0 -227
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +0 -13
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +0 -51
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +0 -18
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +0 -106
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +0 -186
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +0 -292
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +0 -18
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +0 -40
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +0 -5
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +0 -14
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +0 -49
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +0 -24
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +0 -27
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +0 -68
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +0 -18
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +0 -29
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +0 -117
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +0 -77
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +0 -67
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +0 -15
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +0 -43
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +0 -136
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +0 -99
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +0 -8
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +0 -94
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +0 -18
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +0 -11
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +0 -72
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +0 -12
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +0 -16
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +0 -32
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +0 -58
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +0 -26
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +0 -96
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +0 -21
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +0 -94
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +0 -176
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +0 -48
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +0 -11
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +0 -48
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +0 -34
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +0 -28
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +0 -204
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +0 -101
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +0 -28
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +0 -111
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +0 -8
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +0 -13
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +0 -17
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +0 -153
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +0 -91
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +0 -242
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +0 -66
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +0 -19
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +0 -4
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +0 -11
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +0 -15
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +0 -125
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +0 -100
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +0 -13
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +0 -66
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +0 -26
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +0 -55
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +0 -120
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +0 -11
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +0 -149
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +0 -36
- package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +0 -1
- package/projects/af-connect-components/src/lib/constants/animation.constants.ts +0 -149
- package/projects/af-connect-components/src/lib/constants/base.constants.ts +0 -10
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +0 -4
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.scss +0 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.spec.ts +0 -22
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +0 -21
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +0 -14
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.scss +0 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.spec.ts +0 -22
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +0 -38
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +0 -3
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +0 -3
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +0 -21
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +0 -7
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +0 -18
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +0 -16
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +0 -15
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +0 -58
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +0 -12
- package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +0 -57
- package/projects/af-connect-components/src/lib/models/radio.model.ts +0 -3
- package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +0 -10
- package/projects/af-connect-components/src/lib/utilities/number.util.ts +0 -3
- package/projects/af-connect-components/src/shared/pipes/get-initials.ts +0 -13
- package/projects/af-connect-components/src/styles/breakpoints.scss +0 -91
- package/projects/af-connect-components/tsconfig.lib.json +0 -14
- package/projects/af-connect-components/tsconfig.lib.prod.json +0 -10
- package/projects/af-connect-components/tsconfig.spec.json +0 -14
- package/tsconfig.json +0 -39
- /package/{projects/af-connect-components/src/lib/faq/faqItem.ts → lib/faq/faqItem.d.ts} +0 -0
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
@import '../../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
flex: 1 0 auto;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host(.beneficiaries-header) {
|
|
11
|
-
.buttons-container {
|
|
12
|
-
align-self: flex-start;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host(.restricted-fund-card-header) {
|
|
17
|
-
padding: 0.8rem;
|
|
18
|
-
|
|
19
|
-
@include media(mobileBreakPointTreshold) {
|
|
20
|
-
padding: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
> .border-line {
|
|
24
|
-
border: 1px solid var(--toggle-button-grey-color);
|
|
25
|
-
opacity: 0.3;
|
|
26
|
-
margin: 0.2rem;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
:host(.policies-header) {
|
|
31
|
-
flex-grow: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:host(.document-card-header) {
|
|
35
|
-
.card-header.small {
|
|
36
|
-
gap: 0.5rem;
|
|
37
|
-
|
|
38
|
-
.title-container {
|
|
39
|
-
gap: 0.25rem;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.card-header-base {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: row;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
color: var(--primary-dark-teal-color);
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: space-between;
|
|
51
|
-
|
|
52
|
-
@include media(tabletTreshold) {
|
|
53
|
-
gap: 6px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.buttons-container {
|
|
58
|
-
display: flex;
|
|
59
|
-
gap: 1rem;
|
|
60
|
-
|
|
61
|
-
@include media(tabletTreshold) {
|
|
62
|
-
justify-content: flex-start;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
:host(.claims-header) {
|
|
67
|
-
.buttons-container {
|
|
68
|
-
display: contents;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.border-line {
|
|
73
|
-
width: 100%;
|
|
74
|
-
margin-top: 0.85rem;
|
|
75
|
-
border-bottom: 1px solid var(--primary-dark-teal-color);
|
|
76
|
-
|
|
77
|
-
&.small {
|
|
78
|
-
display: none;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.inner-title-container {
|
|
83
|
-
display: flex;
|
|
84
|
-
gap: 12px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.heading-container {
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
gap: 1rem;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.title-container-base {
|
|
94
|
-
display: flex;
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
gap: 0.3rem;
|
|
97
|
-
font-size: 16px;
|
|
98
|
-
font-family: var(--standard-font-family-hero-new-semibold);
|
|
99
|
-
|
|
100
|
-
@include media(mobileBreakPointTreshold) {
|
|
101
|
-
font-size: 0.875rem;
|
|
102
|
-
gap: 1px;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.subtitle-base {
|
|
107
|
-
font-size: 14px;
|
|
108
|
-
font-family: var(--standard-font-family-hero-new);
|
|
109
|
-
|
|
110
|
-
@include media(mobileBreakPointTreshold) {
|
|
111
|
-
font-size: 0.75rem;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.orange-base {
|
|
116
|
-
color: var(--bright-orange-color);
|
|
117
|
-
font-family: var(--standard-font-family-hero-new-bold);
|
|
118
|
-
opacity: 1;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.card-header {
|
|
122
|
-
&.normal {
|
|
123
|
-
@extend .card-header-base;
|
|
124
|
-
|
|
125
|
-
.title-container {
|
|
126
|
-
@extend .title-container-base;
|
|
127
|
-
color: var(--primary-dark-teal-color);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.subtitle {
|
|
131
|
-
@extend .subtitle-base;
|
|
132
|
-
color: var(--primary-connected-orange-color);
|
|
133
|
-
|
|
134
|
-
&.orange {
|
|
135
|
-
@extend .orange-base;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.small {
|
|
141
|
-
@extend .card-header-base;
|
|
142
|
-
|
|
143
|
-
.title-container {
|
|
144
|
-
@extend .title-container-base;
|
|
145
|
-
color: var(--secondary-black-color);
|
|
146
|
-
font-weight: 600;
|
|
147
|
-
gap: 0px;
|
|
148
|
-
|
|
149
|
-
@include media(mobileBreakPointTreshold) {
|
|
150
|
-
font-size: 14px;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.subtitle {
|
|
155
|
-
@extend .subtitle-base;
|
|
156
|
-
opacity: 0.5;
|
|
157
|
-
color: var(--main-black-color);
|
|
158
|
-
|
|
159
|
-
&.orange {
|
|
160
|
-
@extend .orange-base;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@include media(mobileBreakPointTreshold) {
|
|
164
|
-
font-size: 12px;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
:host(.claims-header) {
|
|
171
|
-
.card-header {
|
|
172
|
-
&.normal {
|
|
173
|
-
.subtitle {
|
|
174
|
-
color: var(--claim-subtitle-color);
|
|
175
|
-
|
|
176
|
-
@include media(mobileBreakPointTreshold) {
|
|
177
|
-
color: var(--claim-info-grey);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.title-container {
|
|
184
|
-
width: 100%;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.inner-title-container {
|
|
188
|
-
justify-content: space-between;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
@include media(mobileBreakPointTreshold) {
|
|
192
|
-
.title-container-base {
|
|
193
|
-
flex-direction: row;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.inner-title-container {
|
|
197
|
-
display: block;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.subtitle {
|
|
201
|
-
margin-top: 2px;
|
|
202
|
-
margin-left: -10px;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.border-line {
|
|
206
|
-
margin-top: 0.35rem;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectCardHeaderComponent } from './af-connect-card-header.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectCardHeaderComponent', () => {
|
|
6
|
-
let component: AfConnectCardHeaderComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectCardHeaderComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectCardHeaderComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectCardHeaderComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-af-connect-card-header',
|
|
5
|
-
templateUrl: './af-connect-card-header.component.html',
|
|
6
|
-
styleUrls: ['./af-connect-card-header.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class AfConnectCardHeaderComponent {
|
|
9
|
-
@Input() title: string;
|
|
10
|
-
@Input() subTitle: string;
|
|
11
|
-
@Input() variant: 'normal' | 'small' = 'normal';
|
|
12
|
-
@Input() hideBorderLine: boolean;
|
|
13
|
-
@Input() subtitleColor: 'grey' | 'orange' = 'grey';
|
|
14
|
-
@Output() onClick = new EventEmitter();
|
|
15
|
-
|
|
16
|
-
ngOnInit(): void {}
|
|
17
|
-
|
|
18
|
-
toggleMobileContent() {
|
|
19
|
-
this.onClick.emit();
|
|
20
|
-
}
|
|
21
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
$regular-border-radius: 12px;
|
|
4
|
-
|
|
5
|
-
:host {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
width: 49%;
|
|
9
|
-
|
|
10
|
-
@include media(tabletTreshold) {
|
|
11
|
-
min-width: 100%;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host(.full-width) {
|
|
16
|
-
width: 100%;
|
|
17
|
-
// use ngClass="full-width" on afc-card
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:host(.document-card) {
|
|
21
|
-
user-select: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host(.beneficiary-mobile-card) {
|
|
25
|
-
@include media(tabletTreshold) {
|
|
26
|
-
.small {
|
|
27
|
-
border: 1px solid var(--primary-dark-teal-color);
|
|
28
|
-
max-height: fit-content;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host(.restricted-fund-card, .restricted-fund-mobile-card) {
|
|
34
|
-
.card {
|
|
35
|
-
gap: 1rem;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.base-card {
|
|
40
|
-
flex: 1 0 auto;
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
border-radius: $regular-border-radius;
|
|
44
|
-
background: var(--main-white-color);
|
|
45
|
-
border: 1px solid var(--primary-dark-teal-color);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.card {
|
|
49
|
-
&.large {
|
|
50
|
-
@extend .base-card;
|
|
51
|
-
padding: 2rem 2.5rem 2.5rem 2.5rem;
|
|
52
|
-
|
|
53
|
-
@include media(mobileBreakPointTreshold) {
|
|
54
|
-
padding: 1rem 1rem 1.5rem 1rem;
|
|
55
|
-
border-radius: 5px;
|
|
56
|
-
border-color: var(--warm-grey-color);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.normal {
|
|
61
|
-
@extend .base-card;
|
|
62
|
-
|
|
63
|
-
border-radius: $regular-border-radius;
|
|
64
|
-
padding: 23px 18px 13px 18px;
|
|
65
|
-
|
|
66
|
-
@include media(tabletTreshold) {
|
|
67
|
-
padding: 12px 9px 6px 9px;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.small {
|
|
72
|
-
@extend .base-card;
|
|
73
|
-
border-radius: 5px;
|
|
74
|
-
padding: 18px 15px;
|
|
75
|
-
|
|
76
|
-
@include media(tabletTreshold) {
|
|
77
|
-
padding: 0.75rem 1rem;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
:host(.statement-card) {
|
|
83
|
-
width: auto;
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
|
|
86
|
-
.card.small {
|
|
87
|
-
padding: 12px 14px;
|
|
88
|
-
border-radius: 3px;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
:host(.expandable-card) {
|
|
93
|
-
.card {
|
|
94
|
-
&.small {
|
|
95
|
-
@include media(tabletTreshold) {
|
|
96
|
-
padding: 0.75rem 0.5rem 0.75rem 0.75rem;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectCardComponent } from './af-connect-card.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectCardComponent', () => {
|
|
6
|
-
let component: AfConnectCardComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectCardComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectCardComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectCardComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-af-connect-card',
|
|
5
|
-
templateUrl: './af-connect-card.component.html',
|
|
6
|
-
styleUrls: ['./af-connect-card.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class AfConnectCardComponent {
|
|
9
|
-
@Input() variant: 'large' | 'normal' | 'small' = 'normal';
|
|
10
|
-
|
|
11
|
-
constructor() {}
|
|
12
|
-
|
|
13
|
-
ngOnInit(): void {}
|
|
14
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<p>af-connect-chart works!</p>
|
package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss
DELETED
|
File without changes
|
package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectChartComponent } from './af-connect-chart.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectChartComponent', () => {
|
|
6
|
-
let component: AfConnectChartComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectChartComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectChartComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectChartComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
[ngClass]="['chip', variant]"
|
|
3
|
-
[ngStyle]="{
|
|
4
|
-
borderRadius: borderRadius + 'px',
|
|
5
|
-
background: additionalStyle && additionalStyle.background ? additionalStyle.background : ''
|
|
6
|
-
}"
|
|
7
|
-
>
|
|
8
|
-
<div
|
|
9
|
-
[ngStyle]="{
|
|
10
|
-
color: additionalStyle && additionalStyle.color ? additionalStyle.color : ''
|
|
11
|
-
}"
|
|
12
|
-
>
|
|
13
|
-
<ng-content></ng-content>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
$border-radius: 1rem;
|
|
10
|
-
$padding-top: 5.6px;
|
|
11
|
-
|
|
12
|
-
.small {
|
|
13
|
-
padding: 0.3rem 0.75rem;
|
|
14
|
-
border-radius: $border-radius;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.medium {
|
|
18
|
-
min-width: 54px;
|
|
19
|
-
min-height: 28px;
|
|
20
|
-
border-radius: $border-radius;
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.green-chip {
|
|
25
|
-
background: var(--secondary-egg-shell-color);
|
|
26
|
-
color: var(--primary-dark-teal-color);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.chip {
|
|
30
|
-
font-size: 12px;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
font-family: var(--standard-font-family-hero-new);
|
|
35
|
-
width: fit-content;
|
|
36
|
-
|
|
37
|
-
&.greenish-text {
|
|
38
|
-
@extend .green-chip;
|
|
39
|
-
@extend .small;
|
|
40
|
-
|
|
41
|
-
@include media(mobileBreakPointTreshold) {
|
|
42
|
-
font-size: 0.75rem;
|
|
43
|
-
padding: 5px 10px;
|
|
44
|
-
gap: 0px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.greenish-count {
|
|
49
|
-
@extend .green-chip;
|
|
50
|
-
@extend .medium;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.percentage {
|
|
54
|
-
background: var(--primary-catalyst-yellow-color-low-opacity);
|
|
55
|
-
color: var(--primary-connected-orange-color);
|
|
56
|
-
font-family: var(--standard-font-family-hero-new-semibold);
|
|
57
|
-
@extend .medium;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.status {
|
|
61
|
-
@extend .green-chip;
|
|
62
|
-
min-height: 26px;
|
|
63
|
-
font-weight: normal;
|
|
64
|
-
border-radius: $border-radius;
|
|
65
|
-
padding: 0px 15px 0px 15px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.claims {
|
|
69
|
-
border-radius: $border-radius;
|
|
70
|
-
padding: $padding-top 15px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.case-number {
|
|
74
|
-
border-radius: $border-radius;
|
|
75
|
-
border: 1px solid var(--primary-dark-teal-color);
|
|
76
|
-
color: var(--primary-dark-teal-color);
|
|
77
|
-
padding: $padding-top 0.75rem;
|
|
78
|
-
font-family: var(--standard-font-family-hero-new-semibold);
|
|
79
|
-
|
|
80
|
-
@include media(mobileBreakPointTreshold) {
|
|
81
|
-
display: none;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&.dot {
|
|
86
|
-
background: var(--secondary-egg-shell-color);
|
|
87
|
-
color: var(--primary-dark-teal-color);
|
|
88
|
-
padding: 0px 5px 0px 5px;
|
|
89
|
-
border-radius: $border-radius;
|
|
90
|
-
min-height: 10px;
|
|
91
|
-
display: inline-block;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.dot-orange {
|
|
95
|
-
@extend .dot;
|
|
96
|
-
background: var(--primary-catalyst-yellow-color);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.dot-teal {
|
|
100
|
-
@extend .dot;
|
|
101
|
-
background: var(--primary-dark-teal-color);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
:host(.transaction-modal) {
|
|
106
|
-
.chip {
|
|
107
|
-
font-family: var(--standard-font-family-hero-new-bold);
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
padding: 6px 18px;
|
|
110
|
-
@include media(mobileBreakPointTreshold) {
|
|
111
|
-
font-size: 0.875rem;
|
|
112
|
-
padding: 8px 18px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
:host(.transaction-mobile) {
|
|
118
|
-
.chip {
|
|
119
|
-
@include media(mobileBreakPointTreshold) {
|
|
120
|
-
font-size: 0.875rem;
|
|
121
|
-
padding: 8px 18px;
|
|
122
|
-
font-family: var(--standard-font-family-hero-new-bold);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectChipComponent } from './af-connect-chip.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectChipComponent', () => {
|
|
6
|
-
let component: AfConnectChipComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectChipComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectChipComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectChipComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-af-connect-chip',
|
|
5
|
-
templateUrl: './af-connect-chip.component.html',
|
|
6
|
-
styleUrls: ['./af-connect-chip.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class AfConnectChipComponent {
|
|
9
|
-
@Input() title: string;
|
|
10
|
-
@Input() borderRadius: number;
|
|
11
|
-
@Input() additionalStyle: { background?: string; color?: string };
|
|
12
|
-
@Input() variant:
|
|
13
|
-
| 'greenish-text'
|
|
14
|
-
| 'greenish-count'
|
|
15
|
-
| 'percentage'
|
|
16
|
-
| 'status'
|
|
17
|
-
| 'claims'
|
|
18
|
-
| 'dot'
|
|
19
|
-
| 'dot-orange'
|
|
20
|
-
| 'dot-teal'
|
|
21
|
-
| 'case-number' = 'greenish-text';
|
|
22
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectComponentsComponent } from './af-connect-components.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectComponentsComponent', () => {
|
|
6
|
-
let component: AfConnectComponentsComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectComponentsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectComponentsComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectComponentsComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|