@sarasanalytics-com/design-system 0.0.43 → 0.0.44
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 +13 -34
- package/esm2022/interfaces/avatar-interface.mjs +2 -0
- package/esm2022/interfaces/button-interface.mjs +10 -0
- package/esm2022/interfaces/card-carousel-interface.mjs +2 -0
- package/esm2022/interfaces/chip-interface.mjs +2 -0
- package/esm2022/interfaces/grid-interface.mjs +2 -0
- package/esm2022/interfaces/guide-card-interface.mjs +2 -0
- package/esm2022/interfaces/icon-interface.mjs +16 -0
- package/esm2022/interfaces/message-banner.mjs +2 -0
- package/esm2022/interfaces/option-interface.mjs +2 -0
- package/esm2022/interfaces/select-interface.mjs +2 -0
- package/esm2022/interfaces/tab-interface.mjs +2 -0
- package/esm2022/interfaces/toast-interface.mjs +2 -0
- package/esm2022/lib/accordion/accordion.component.mjs +115 -0
- package/esm2022/lib/avatar/avatar.component.mjs +56 -0
- package/esm2022/lib/button/button.component.mjs +100 -0
- package/esm2022/lib/calendar-header/calendar-header.component.mjs +168 -0
- package/esm2022/lib/card/card-body/card-body.component.mjs +11 -0
- package/esm2022/lib/card/card-custom-header/card-custom-header.component.mjs +11 -0
- package/esm2022/lib/card/card-footer-actions/card-footer-actions.component.mjs +11 -0
- package/esm2022/lib/card/card-icon/card-icon.component.mjs +11 -0
- package/esm2022/lib/card/card-title-actions/card-title-actions.component.mjs +11 -0
- package/esm2022/lib/card/card.component.mjs +97 -0
- package/esm2022/lib/card/checkbox-card/checkbox-card.component.mjs +41 -0
- package/esm2022/lib/card/guide-card/guide-card.component.mjs +19 -0
- package/esm2022/lib/card-carousel/card-carousel.component.mjs +87 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +38 -0
- package/esm2022/lib/chips/chips.component.mjs +62 -0
- package/esm2022/lib/component-library.component.mjs +19 -0
- package/esm2022/lib/component-library.service.mjs +14 -0
- package/esm2022/lib/datepicker/datepicker.component.mjs +40 -0
- package/esm2022/lib/form-input/form-input.component.mjs +219 -0
- package/esm2022/lib/form-select/form-select.component.mjs +77 -0
- package/esm2022/lib/grid-cell/grid-cell.component.mjs +84 -0
- package/esm2022/lib/header/header.component.mjs +37 -0
- package/esm2022/lib/icon/icon.component.mjs +73 -0
- package/esm2022/lib/icon/icon.service.mjs +28 -0
- package/esm2022/lib/left-nav/left-nav.component.mjs +146 -0
- package/esm2022/lib/list/list.component.mjs +23 -0
- package/esm2022/lib/message-banner/message-banner.component.mjs +43 -0
- package/esm2022/lib/page-layout/page-layout.component.mjs +21 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +29 -0
- package/esm2022/lib/radio-button/radio-button.component.mjs +33 -0
- package/esm2022/lib/scrolling-cards/scrolling-cards.component.mjs +59 -0
- package/esm2022/lib/spinner/spinner.component.mjs +22 -0
- package/esm2022/lib/stepper/stepper.component.mjs +64 -0
- package/esm2022/lib/tabs/tabs.component.mjs +38 -0
- package/esm2022/lib/toast/toast.component.mjs +100 -0
- package/esm2022/lib/tool-tip/tool-tip.component.mjs +41 -0
- package/esm2022/public-api.mjs +56 -0
- package/esm2022/sarasanalytics-com-design-system.mjs +5 -0
- package/esm2022/utils/validators.mjs +97 -0
- package/fesm2022/sarasanalytics-com-design-system.mjs +1987 -0
- package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/interfaces/avatar-interface.d.ts +6 -0
- package/interfaces/button-interface.d.ts +22 -0
- package/{projects/component-library/src/interfaces/card-carousel-interface.ts → interfaces/card-carousel-interface.d.ts} +1 -2
- package/interfaces/chip-interface.d.ts +11 -0
- package/interfaces/grid-interface.d.ts +24 -0
- package/interfaces/icon-interface.d.ts +4 -0
- package/interfaces/select-interface.d.ts +20 -0
- package/interfaces/tab-interface.d.ts +6 -0
- package/{projects/component-library/src/interfaces/toast-interface.ts → interfaces/toast-interface.d.ts} +1 -1
- package/lib/accordion/accordion.component.d.ts +25 -0
- package/lib/avatar/avatar.component.d.ts +18 -0
- package/lib/button/button.component.d.ts +32 -0
- package/lib/calendar-header/calendar-header.component.d.ts +31 -0
- package/lib/card/card-body/card-body.component.d.ts +5 -0
- package/lib/card/card-custom-header/card-custom-header.component.d.ts +5 -0
- package/lib/card/card-footer-actions/card-footer-actions.component.d.ts +5 -0
- package/lib/card/card-icon/card-icon.component.d.ts +5 -0
- package/lib/card/card-title-actions/card-title-actions.component.d.ts +5 -0
- package/lib/card/card.component.d.ts +28 -0
- package/lib/card/checkbox-card/checkbox-card.component.d.ts +12 -0
- package/lib/card/guide-card/guide-card.component.d.ts +8 -0
- package/lib/card-carousel/card-carousel.component.d.ts +27 -0
- package/lib/checkbox/checkbox.component.d.ts +9 -0
- package/lib/chips/chips.component.d.ts +22 -0
- package/lib/component-library.component.d.ts +5 -0
- package/lib/component-library.service.d.ts +6 -0
- package/lib/datepicker/datepicker.component.d.ts +9 -0
- package/lib/form-input/form-input.component.d.ts +67 -0
- package/lib/form-select/form-select.component.d.ts +18 -0
- package/lib/grid-cell/grid-cell.component.d.ts +20 -0
- package/lib/header/header.component.d.ts +14 -0
- package/lib/icon/icon.component.d.ts +24 -0
- package/lib/icon/icon.service.d.ts +12 -0
- package/lib/left-nav/left-nav.component.d.ts +47 -0
- package/lib/list/list.component.d.ts +10 -0
- package/lib/message-banner/message-banner.component.d.ts +19 -0
- package/lib/page-layout/page-layout.component.d.ts +8 -0
- package/lib/progress-bar/progress-bar.component.d.ts +13 -0
- package/lib/radio-button/radio-button.component.d.ts +12 -0
- package/lib/scrolling-cards/scrolling-cards.component.d.ts +36 -0
- package/lib/spinner/spinner.component.d.ts +7 -0
- package/lib/stepper/stepper.component.d.ts +17 -0
- package/lib/tabs/tabs.component.d.ts +15 -0
- package/lib/toast/toast.component.d.ts +33 -0
- package/lib/tool-tip/tool-tip.component.d.ts +15 -0
- package/package.json +19 -74
- package/{projects/component-library/src/public-api.ts → public-api.d.ts} +0 -12
- package/utils/validators.d.ts +6 -0
- package/.editorconfig +0 -16
- package/.eslintrc.json +0 -23
- package/.storybook/main.ts +0 -21
- package/.storybook/manager.ts +0 -17
- package/.storybook/preview-head.html +0 -5
- package/.storybook/preview.ts +0 -66
- package/.storybook/tsconfig.doc.json +0 -10
- package/.storybook/tsconfig.json +0 -11
- package/.storybook/typings.d.ts +0 -4
- package/.vscode/extensions.json +0 -7
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -13
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -195
- package/build-storybook.log +0 -45
- package/documentation.json +0 -0
- package/generate-public-api.js +0 -59
- package/projects/component-library/README.md +0 -24
- package/projects/component-library/ng-package.json +0 -8
- package/projects/component-library/package.json +0 -12
- package/projects/component-library/src/interfaces/avatar-interface.ts +0 -6
- package/projects/component-library/src/interfaces/button-interface.ts +0 -37
- package/projects/component-library/src/interfaces/chip-interface.ts +0 -11
- package/projects/component-library/src/interfaces/grid-interface.ts +0 -24
- package/projects/component-library/src/interfaces/icon-interface.ts +0 -21
- package/projects/component-library/src/interfaces/select-interface.ts +0 -20
- package/projects/component-library/src/interfaces/tab-interface.ts +0 -6
- package/projects/component-library/src/lib/accordion/accordion.component.css +0 -188
- package/projects/component-library/src/lib/accordion/accordion.component.html +0 -151
- package/projects/component-library/src/lib/accordion/accordion.component.spec.ts +0 -23
- package/projects/component-library/src/lib/accordion/accordion.component.ts +0 -129
- package/projects/component-library/src/lib/avatar/avatar.component.css +0 -48
- package/projects/component-library/src/lib/avatar/avatar.component.html +0 -5
- package/projects/component-library/src/lib/avatar/avatar.component.spec.ts +0 -23
- package/projects/component-library/src/lib/avatar/avatar.component.ts +0 -50
- package/projects/component-library/src/lib/button/button.component.css +0 -145
- package/projects/component-library/src/lib/button/button.component.html +0 -25
- package/projects/component-library/src/lib/button/button.component.spec.ts +0 -23
- package/projects/component-library/src/lib/button/button.component.ts +0 -82
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.css +0 -67
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.html +0 -20
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.spec.ts +0 -23
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.ts +0 -191
- package/projects/component-library/src/lib/card/card-body/card-body.component.css +0 -0
- package/projects/component-library/src/lib/card/card-body/card-body.component.html +0 -1
- package/projects/component-library/src/lib/card/card-body/card-body.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/card-body/card-body.component.ts +0 -12
- package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.css +0 -70
- package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.html +0 -1
- package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.ts +0 -13
- package/projects/component-library/src/lib/card/card-footer-actions/card-footer-actions.component.css +0 -4
- package/projects/component-library/src/lib/card/card-footer-actions/card-footer-actions.component.html +0 -3
- package/projects/component-library/src/lib/card/card-footer-actions/card-footer-actions.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/card-footer-actions/card-footer-actions.component.ts +0 -12
- package/projects/component-library/src/lib/card/card-icon/card-icon.component.css +0 -0
- package/projects/component-library/src/lib/card/card-icon/card-icon.component.html +0 -1
- package/projects/component-library/src/lib/card/card-icon/card-icon.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/card-icon/card-icon.component.ts +0 -12
- package/projects/component-library/src/lib/card/card-title-actions/card-title-actions.component.css +0 -3
- package/projects/component-library/src/lib/card/card-title-actions/card-title-actions.component.html +0 -1
- package/projects/component-library/src/lib/card/card-title-actions/card-title-actions.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/card-title-actions/card-title-actions.component.ts +0 -12
- package/projects/component-library/src/lib/card/card.component.css +0 -149
- package/projects/component-library/src/lib/card/card.component.html +0 -46
- package/projects/component-library/src/lib/card/card.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/card.component.ts +0 -47
- package/projects/component-library/src/lib/card/checkbox-card/checkbox-card.component.css +0 -79
- package/projects/component-library/src/lib/card/checkbox-card/checkbox-card.component.html +0 -55
- package/projects/component-library/src/lib/card/checkbox-card/checkbox-card.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/checkbox-card/checkbox-card.component.ts +0 -44
- package/projects/component-library/src/lib/card/guide-card/guide-card.component.css +0 -80
- package/projects/component-library/src/lib/card/guide-card/guide-card.component.html +0 -24
- package/projects/component-library/src/lib/card/guide-card/guide-card.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card/guide-card/guide-card.component.ts +0 -19
- package/projects/component-library/src/lib/card-carousel/card-carousel.component.css +0 -91
- package/projects/component-library/src/lib/card-carousel/card-carousel.component.html +0 -54
- package/projects/component-library/src/lib/card-carousel/card-carousel.component.spec.ts +0 -23
- package/projects/component-library/src/lib/card-carousel/card-carousel.component.ts +0 -89
- package/projects/component-library/src/lib/checkbox/checkbox.component.css +0 -79
- package/projects/component-library/src/lib/checkbox/checkbox.component.html +0 -27
- package/projects/component-library/src/lib/checkbox/checkbox.component.spec.ts +0 -23
- package/projects/component-library/src/lib/checkbox/checkbox.component.ts +0 -38
- package/projects/component-library/src/lib/chips/chips.component.css +0 -129
- package/projects/component-library/src/lib/chips/chips.component.html +0 -17
- package/projects/component-library/src/lib/chips/chips.component.spec.ts +0 -23
- package/projects/component-library/src/lib/chips/chips.component.ts +0 -54
- package/projects/component-library/src/lib/component-library.component.spec.ts +0 -23
- package/projects/component-library/src/lib/component-library.component.ts +0 -16
- package/projects/component-library/src/lib/component-library.service.spec.ts +0 -16
- package/projects/component-library/src/lib/component-library.service.ts +0 -9
- package/projects/component-library/src/lib/datepicker/datepicker.component.css +0 -33
- package/projects/component-library/src/lib/datepicker/datepicker.component.html +0 -11
- package/projects/component-library/src/lib/datepicker/datepicker.component.spec.ts +0 -23
- package/projects/component-library/src/lib/datepicker/datepicker.component.ts +0 -36
- package/projects/component-library/src/lib/form-input/form-input.component.css +0 -164
- package/projects/component-library/src/lib/form-input/form-input.component.html +0 -55
- package/projects/component-library/src/lib/form-input/form-input.component.spec.ts +0 -23
- package/projects/component-library/src/lib/form-input/form-input.component.ts +0 -282
- package/projects/component-library/src/lib/form-select/form-select.component.css +0 -158
- package/projects/component-library/src/lib/form-select/form-select.component.html +0 -38
- package/projects/component-library/src/lib/form-select/form-select.component.spec.ts +0 -23
- package/projects/component-library/src/lib/form-select/form-select.component.ts +0 -72
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.css +0 -78
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.html +0 -31
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.spec.ts +0 -23
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.ts +0 -89
- package/projects/component-library/src/lib/header/header.component.css +0 -62
- package/projects/component-library/src/lib/header/header.component.html +0 -23
- package/projects/component-library/src/lib/header/header.component.spec.ts +0 -23
- package/projects/component-library/src/lib/header/header.component.ts +0 -28
- package/projects/component-library/src/lib/icon/icon.component.css +0 -65
- package/projects/component-library/src/lib/icon/icon.component.html +0 -9
- package/projects/component-library/src/lib/icon/icon.component.ts +0 -64
- package/projects/component-library/src/lib/icon/icon.service.ts +0 -26
- package/projects/component-library/src/lib/left-nav/left-nav.component.css +0 -109
- package/projects/component-library/src/lib/left-nav/left-nav.component.html +0 -51
- package/projects/component-library/src/lib/left-nav/left-nav.component.spec.ts +0 -23
- package/projects/component-library/src/lib/left-nav/left-nav.component.ts +0 -180
- package/projects/component-library/src/lib/list/list.component.css +0 -28
- package/projects/component-library/src/lib/list/list.component.html +0 -10
- package/projects/component-library/src/lib/list/list.component.spec.ts +0 -23
- package/projects/component-library/src/lib/list/list.component.ts +0 -15
- package/projects/component-library/src/lib/message-banner/message-banner.component.css +0 -52
- package/projects/component-library/src/lib/message-banner/message-banner.component.html +0 -15
- package/projects/component-library/src/lib/message-banner/message-banner.component.spec.ts +0 -23
- package/projects/component-library/src/lib/message-banner/message-banner.component.ts +0 -31
- package/projects/component-library/src/lib/page-layout/page-layout.component.css +0 -76
- package/projects/component-library/src/lib/page-layout/page-layout.component.html +0 -30
- package/projects/component-library/src/lib/page-layout/page-layout.component.spec.ts +0 -23
- package/projects/component-library/src/lib/page-layout/page-layout.component.ts +0 -14
- package/projects/component-library/src/lib/progress-bar/progress-bar.component.css +0 -30
- package/projects/component-library/src/lib/progress-bar/progress-bar.component.html +0 -4
- package/projects/component-library/src/lib/progress-bar/progress-bar.component.spec.ts +0 -23
- package/projects/component-library/src/lib/progress-bar/progress-bar.component.ts +0 -24
- package/projects/component-library/src/lib/radio-button/radio-button.component.css +0 -128
- package/projects/component-library/src/lib/radio-button/radio-button.component.html +0 -28
- package/projects/component-library/src/lib/radio-button/radio-button.component.spec.ts +0 -23
- package/projects/component-library/src/lib/radio-button/radio-button.component.ts +0 -35
- package/projects/component-library/src/lib/scrolling-cards/scrolling-cards.component.css +0 -118
- package/projects/component-library/src/lib/scrolling-cards/scrolling-cards.component.html +0 -11
- package/projects/component-library/src/lib/scrolling-cards/scrolling-cards.component.spec.ts +0 -23
- package/projects/component-library/src/lib/scrolling-cards/scrolling-cards.component.ts +0 -74
- package/projects/component-library/src/lib/spinner/spinner.component.css +0 -41
- package/projects/component-library/src/lib/spinner/spinner.component.html +0 -1
- package/projects/component-library/src/lib/spinner/spinner.component.spec.ts +0 -23
- package/projects/component-library/src/lib/spinner/spinner.component.ts +0 -15
- package/projects/component-library/src/lib/stepper/stepper.component.css +0 -96
- package/projects/component-library/src/lib/stepper/stepper.component.html +0 -14
- package/projects/component-library/src/lib/stepper/stepper.component.spec.ts +0 -23
- package/projects/component-library/src/lib/stepper/stepper.component.ts +0 -61
- package/projects/component-library/src/lib/tabs/tabs.component.css +0 -100
- package/projects/component-library/src/lib/tabs/tabs.component.html +0 -16
- package/projects/component-library/src/lib/tabs/tabs.component.spec.ts +0 -23
- package/projects/component-library/src/lib/tabs/tabs.component.ts +0 -37
- package/projects/component-library/src/lib/toast/toast.component.css +0 -115
- package/projects/component-library/src/lib/toast/toast.component.html +0 -29
- package/projects/component-library/src/lib/toast/toast.component.spec.ts +0 -23
- package/projects/component-library/src/lib/toast/toast.component.ts +0 -87
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.css +0 -144
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.html +0 -31
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.spec.ts +0 -23
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.ts +0 -37
- package/projects/component-library/src/shared/formly-field-wrapper/formly-field-wrapper.component.css +0 -0
- package/projects/component-library/src/shared/formly-field-wrapper/formly-field-wrapper.component.html +0 -22
- package/projects/component-library/src/shared/formly-field-wrapper/formly-field-wrapper.component.spec.ts +0 -23
- package/projects/component-library/src/shared/formly-field-wrapper/formly-field-wrapper.component.ts +0 -13
- package/projects/component-library/src/utils/validators.ts +0 -100
- package/projects/component-library/tsconfig.lib.json +0 -14
- package/projects/component-library/tsconfig.lib.prod.json +0 -10
- package/projects/component-library/tsconfig.spec.json +0 -14
- package/sarasanalytics-com-design-system-0.0.21.tgz +0 -0
- package/src/Saras-logo.svg +0 -15
- package/src/app/app.component.css +0 -82
- package/src/app/app.component.html +0 -663
- package/src/app/app.component.spec.ts +0 -29
- package/src/app/app.component.ts +0 -1341
- package/src/app/app.config.ts +0 -56
- package/src/app/app.routes.ts +0 -3
- package/src/app/data.ts +0 -52
- package/src/app/kitchen-sink/kitchen-sink.component.css +0 -30
- package/src/app/kitchen-sink/kitchen-sink.component.html +0 -7
- package/src/app/kitchen-sink/kitchen-sink.component.spec.ts +0 -23
- package/src/app/kitchen-sink/kitchen-sink.component.ts +0 -92
- package/src/assets/.gitkeep +0 -0
- package/src/assets/analysis.svg +0 -1
- package/src/assets/arrowRightOutlined.svg +0 -1
- package/src/assets/avatar.svg +0 -1
- package/src/assets/bpn.svg +0 -1
- package/src/assets/businessStatsFilled.svg +0 -1
- package/src/assets/channelkey.svg +0 -1
- package/src/assets/chatHelpOutlined.svg +0 -1
- package/src/assets/checkCircleFilled.svg +0 -1
- package/src/assets/checkCircleOutlined.svg +0 -1
- package/src/assets/checkOutlined.svg +0 -1
- package/src/assets/circleFilled.svg +0 -1
- package/src/assets/closeBlueOutlined.svg +0 -1
- package/src/assets/closeCircleFilled.svg +0 -1
- package/src/assets/closeOutlined.svg +0 -1
- package/src/assets/dataonavatar.svg +0 -1
- package/src/assets/datonAvatar.png +0 -0
- package/src/assets/desktopSpeakerOutlined.svg +0 -1
- package/src/assets/disabledCheckboxFilled.svg +0 -1
- package/src/assets/doubleDownOutlined.svg +0 -1
- package/src/assets/downChevronOutlined.svg +0 -3
- package/src/assets/downOutlined.svg +0 -1
- package/src/assets/errorCircleOutlined.svg +0 -1
- package/src/assets/errorCrossOutlined.svg +0 -3
- package/src/assets/eyeFilled.svg +0 -1
- package/src/assets/eyeOff.svg +0 -3
- package/src/assets/eyeOutlined.svg +0 -1
- package/src/assets/formDetailsOutlined.svg +0 -1
- package/src/assets/gridViewOutlined.svg +0 -1
- package/src/assets/headsetOutlined.svg +0 -3
- package/src/assets/homeOutlined.svg +0 -1
- package/src/assets/icons/analysis1.svg +0 -1
- package/src/assets/infoCircleOutlined.svg +0 -3
- package/src/assets/infoTriangleFilled.svg +0 -1
- package/src/assets/infoTriangleOutlined.svg +0 -1
- package/src/assets/innosupps.svg +0 -1
- package/src/assets/leftChevronCircle.svg +0 -2
- package/src/assets/locationOutlined.svg +0 -1
- package/src/assets/loginDashboard.png +0 -0
- package/src/assets/mailOutlined.svg +0 -1
- package/src/assets/multiConnectionHub.svg +0 -1
- package/src/assets/murad.svg +0 -1
- package/src/assets/personOutlined.svg +0 -1
- package/src/assets/pricingIcon.svg +0 -3
- package/src/assets/rightChevronCircle.svg +0 -1
- package/src/assets/rightChevronOutlined.svg +0 -1
- package/src/assets/sarasFullLogo.svg +0 -13
- package/src/assets/sarasWhite.svg +0 -1
- package/src/assets/settingsOutlined.svg +0 -1
- package/src/assets/sourcesOutlined.svg +0 -1
- package/src/assets/tabDesktopArrowClockwiseOutlined.svg +0 -1
- package/src/assets/targetScanOutlined.svg +0 -1
- package/src/assets/timerOutlined.svg +0 -5
- package/src/assets/upwardTriangleFilled.svg +0 -1
- package/src/custom-theme.scss +0 -37
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -23
- package/src/main.ts +0 -6
- package/src/stories/GettingStarted.mdx +0 -233
- package/src/stories/KitchenSink.stories.ts +0 -109
- package/src/stories/accordion.stories.ts +0 -234
- package/src/stories/avatar.stories.ts +0 -45
- package/src/stories/card-carousel.stories.ts +0 -136
- package/src/stories/card.stories.ts +0 -242
- package/src/stories/checkbox.stories.ts +0 -238
- package/src/stories/chips.stories.ts +0 -61
- package/src/stories/custom-button.stories.ts +0 -89
- package/src/stories/datepicker.stories.ts +0 -78
- package/src/stories/form-input.stories.ts +0 -166
- package/src/stories/gridCell.stories.ts +0 -234
- package/src/stories/header.stories.ts +0 -61
- package/src/stories/icon.stories.ts +0 -65
- package/src/stories/leftnav.stories.ts +0 -67
- package/src/stories/message-banner.stories.ts +0 -116
- package/src/stories/page-layout.stories.ts +0 -200
- package/src/stories/progress-bar.stories.ts +0 -40
- package/src/stories/radio-button.stories.ts +0 -80
- package/src/stories/scrolling-card.stories.ts +0 -36
- package/src/stories/selectInput.stories.ts +0 -176
- package/src/stories/stepper.stories.ts +0 -92
- package/src/stories/tabs.stories.ts +0 -97
- package/src/stories/toast.stories.ts +0 -74
- package/src/stories/tool-tip.stories.ts +0 -45
- package/src/svg.d.ts +0 -1
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -42
- package/tsconfig.spec.json +0 -14
- /package/{projects/component-library/src/interfaces/guide-card-interface.ts → interfaces/guide-card-interface.d.ts} +0 -0
- /package/{projects/component-library/src/interfaces/message-banner.ts → interfaces/message-banner.d.ts} +0 -0
- /package/{projects/component-library/src/interfaces/option-interface.ts → interfaces/option-interface.d.ts} +0 -0
- /package/{src → styles}/styles.css +0 -0
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Component, Output, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Input } from '@angular/core';
|
|
3
|
-
import { EventEmitter } from '@angular/core';
|
|
4
|
-
import { NgIf } from '@angular/common';
|
|
5
|
-
import { NgStyle } from '@angular/common';
|
|
6
|
-
import { SpinnerComponent } from '../spinner/spinner.component';
|
|
7
|
-
import { IconName } from '../../interfaces/icon-interface';
|
|
8
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
9
|
-
import { IconComponent } from '../icon/icon.component';
|
|
10
|
-
import { IconService } from '../icon/icon.service';
|
|
11
|
-
|
|
12
|
-
let nextId = 0; // used to give unique ids to inputs used in html
|
|
13
|
-
|
|
14
|
-
@Component({
|
|
15
|
-
selector: 'sa-button',
|
|
16
|
-
standalone: true,
|
|
17
|
-
imports: [NgIf, NgStyle, SpinnerComponent, HttpClientModule, IconComponent],
|
|
18
|
-
providers: [IconService],
|
|
19
|
-
templateUrl: './button.component.html',
|
|
20
|
-
styleUrl: './button.component.css'
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
export class ButtonComponent {
|
|
24
|
-
@Input() id: string | number;
|
|
25
|
-
@Input() type: string;
|
|
26
|
-
@Input() state: string;
|
|
27
|
-
@Input() size: string;
|
|
28
|
-
@Input() text: string | number;
|
|
29
|
-
@Input() ImagePath: string;
|
|
30
|
-
@Input() icon: IconName;
|
|
31
|
-
@Input() iconPosition: string;
|
|
32
|
-
@Input() href: string;
|
|
33
|
-
@Input() hrefTarget: string;
|
|
34
|
-
@Input() width: string;
|
|
35
|
-
@Input() isSubmit: boolean = false;
|
|
36
|
-
@Input() buttonIconSize: string;
|
|
37
|
-
|
|
38
|
-
@Input() showSpinner: boolean = false;
|
|
39
|
-
|
|
40
|
-
@Output() onClickEvent = new EventEmitter();
|
|
41
|
-
@Output() onMouseInEvent = new EventEmitter();
|
|
42
|
-
@Output() onMouseOutEvent = new EventEmitter();
|
|
43
|
-
|
|
44
|
-
svgStyle = {}
|
|
45
|
-
eventEmitObject = {}
|
|
46
|
-
uuid: number = nextId++;
|
|
47
|
-
|
|
48
|
-
ngOnChanges(changes: SimpleChanges): void {
|
|
49
|
-
this.svgStyle = {
|
|
50
|
-
'-webkit-mask-image': `url(${this.ImagePath})`,
|
|
51
|
-
'mask-image': `url(${this.ImagePath})`,
|
|
52
|
-
}
|
|
53
|
-
this.eventEmitObject = {
|
|
54
|
-
id: this.id
|
|
55
|
-
}
|
|
56
|
-
if (changes && changes['width'] && changes['width'].currentValue) {
|
|
57
|
-
console.log(this.width)
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
buttonClicked(evt: Event) {
|
|
62
|
-
if (this.state == "disabled") return;
|
|
63
|
-
this.onClickEvent.emit({
|
|
64
|
-
...this.eventEmitObject,
|
|
65
|
-
evt
|
|
66
|
-
});
|
|
67
|
-
if (this.href != "") {
|
|
68
|
-
if (this.hrefTarget == "blank") window.open(this.href);
|
|
69
|
-
else if (this.hrefTarget == "self") location.href = this.href;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
mouseIn() {
|
|
74
|
-
if (this.state == "disabled") return;
|
|
75
|
-
this.onMouseInEvent.emit();
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
mouseOut() {
|
|
79
|
-
if (this.state == "disabled") return;
|
|
80
|
-
this.onMouseOutEvent.emit();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
.header {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
align-items: center;
|
|
5
|
-
border-bottom: 1px solid var(--grey-50);
|
|
6
|
-
margin-top: -4px;
|
|
7
|
-
margin-bottom: var(--small-8px, 8px);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.header-label {
|
|
11
|
-
font-family: Roboto;
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
font-style: normal;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
line-height: 20px;
|
|
16
|
-
letter-spacing: 0.25px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.range-preset {
|
|
20
|
-
width: 180px;
|
|
21
|
-
position: absolute;
|
|
22
|
-
|
|
23
|
-
padding: var(--small-12px, 12px) 0 0 var(--medium-24px, 24px);
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
margin-top: -9px;
|
|
28
|
-
margin-left: -180px;
|
|
29
|
-
|
|
30
|
-
height: 356px;
|
|
31
|
-
background-color: white;
|
|
32
|
-
border-top: 1px solid var(--grey-50);
|
|
33
|
-
border-left: 1px solid var(--grey-50);
|
|
34
|
-
border-bottom: 1px solid var(--grey-50);
|
|
35
|
-
border-bottom-left-radius: var(--small-8px, 8px);
|
|
36
|
-
border-top-left-radius: var(--small-8px, 8px);
|
|
37
|
-
|
|
38
|
-
gap: var(--small-8px, 8px);
|
|
39
|
-
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.preset {
|
|
45
|
-
padding: var(--small-8px, 8px);
|
|
46
|
-
display: flex;
|
|
47
|
-
gap: var(--small-4px, 4px);
|
|
48
|
-
font-size: 14px;
|
|
49
|
-
font-style: normal;
|
|
50
|
-
font-weight: 400;
|
|
51
|
-
line-height: 20px;
|
|
52
|
-
letter-spacing: 0.25px;
|
|
53
|
-
color: var(--text-mediumemphasis);
|
|
54
|
-
margin-bottom: -5px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.preset-radio {
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.preset-label {
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.preset-selected {
|
|
66
|
-
color: var(--primary-500);
|
|
67
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<div class="range-preset">
|
|
2
|
-
<div class="preset" *ngFor="let preset of presets, let i = index">
|
|
3
|
-
<label class="preset-label {{preset == selectedPreset ? 'preset-selected' : ''}}"
|
|
4
|
-
for="preset-radio-{{i}}">{{preset}}</label>
|
|
5
|
-
<input class="preset-radio" (change)="presetChanged($event)" [checked]="preset == selectedPreset"
|
|
6
|
-
id="preset-radio-{{i}}" type="radio" name="preset-radios-{{uuid}}" value="{{preset}}">
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
|
|
10
|
-
<div class="header">
|
|
11
|
-
<button mat-icon-button (click)="previousClicked('month')">
|
|
12
|
-
<mat-icon>keyboard_arrow_left</mat-icon>
|
|
13
|
-
</button>
|
|
14
|
-
|
|
15
|
-
<button mat-button class="header-label" (click)="changeView()">{{ periodLabel }}</button>
|
|
16
|
-
|
|
17
|
-
<button mat-icon-button (click)="nextClicked('month')">
|
|
18
|
-
<mat-icon>keyboard_arrow_right</mat-icon>
|
|
19
|
-
</button>
|
|
20
|
-
</div>
|
package/projects/component-library/src/lib/calendar-header/calendar-header.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CalendarHeaderComponent } from './calendar-header.component';
|
|
4
|
-
|
|
5
|
-
describe('CalendarHeaderComponent', () => {
|
|
6
|
-
let component: CalendarHeaderComponent;
|
|
7
|
-
let fixture: ComponentFixture<CalendarHeaderComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [CalendarHeaderComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(CalendarHeaderComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectorRef,
|
|
3
|
-
Component,
|
|
4
|
-
Inject,
|
|
5
|
-
OnDestroy,
|
|
6
|
-
} from '@angular/core';
|
|
7
|
-
import {
|
|
8
|
-
DateAdapter,
|
|
9
|
-
MatDateFormats,
|
|
10
|
-
MAT_DATE_FORMATS,
|
|
11
|
-
} from '@angular/material/core';
|
|
12
|
-
import { MatCalendar } from '@angular/material/datepicker';
|
|
13
|
-
import { Subject } from 'rxjs';
|
|
14
|
-
import { takeUntil } from 'rxjs/operators';
|
|
15
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
-
import { MatButton } from '@angular/material/button';
|
|
17
|
-
import { NgFor } from '@angular/common';
|
|
18
|
-
import { MatDateRangePicker } from '@angular/material/datepicker';
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
let nextId = 0; // used to give unique ids to inputs used in html
|
|
22
|
-
|
|
23
|
-
@Component({
|
|
24
|
-
templateUrl: './calendar-header.component.html',
|
|
25
|
-
styleUrls: ['./calendar-header.component.css'],
|
|
26
|
-
standalone: true,
|
|
27
|
-
imports: [
|
|
28
|
-
NgFor,
|
|
29
|
-
MatIconModule,
|
|
30
|
-
MatButton
|
|
31
|
-
],
|
|
32
|
-
// changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
})
|
|
34
|
-
export class CalendarHeaderComponent<D> implements OnDestroy {
|
|
35
|
-
uuid: number = nextId++;
|
|
36
|
-
|
|
37
|
-
private readonly destroy$ = new Subject<void>();
|
|
38
|
-
|
|
39
|
-
constructor(
|
|
40
|
-
private calendar: MatCalendar<D>, // calendar instance of picker
|
|
41
|
-
private dateAdapter: DateAdapter<D>, // native or moment date adapter
|
|
42
|
-
private picker: MatDateRangePicker<D>,
|
|
43
|
-
@Inject(MAT_DATE_FORMATS) private dateFormats: MatDateFormats, // for formatting
|
|
44
|
-
cdr: ChangeDetectorRef
|
|
45
|
-
) {
|
|
46
|
-
// make sure your header stays in sync with the calendar:
|
|
47
|
-
calendar.stateChanges
|
|
48
|
-
.pipe(takeUntil(this.destroy$)) // unsubscribe when destroyed
|
|
49
|
-
.subscribe(() => cdr.markForCheck());
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
selectedPreset = "Custom"
|
|
54
|
-
presets = [
|
|
55
|
-
"This Quarter",
|
|
56
|
-
"Last Quarter",
|
|
57
|
-
"Last 6 Months",
|
|
58
|
-
"This Year",
|
|
59
|
-
"Last Year",
|
|
60
|
-
"Custom"
|
|
61
|
-
]
|
|
62
|
-
// active date label rendered between the arrow buttons
|
|
63
|
-
|
|
64
|
-
ngOnInit() {
|
|
65
|
-
const currentRange: any = this.calendar.selected;
|
|
66
|
-
|
|
67
|
-
currentRange?.start.setHours(0, 0, 0, 0);
|
|
68
|
-
currentRange?.end.setHours(0, 0, 0, 0);
|
|
69
|
-
|
|
70
|
-
// To pre-select a preset when the calendar opens.
|
|
71
|
-
// Match the already selected date range with the date-ranges of all presets.
|
|
72
|
-
// If already selected date range matches with a preset, pre-select it.
|
|
73
|
-
|
|
74
|
-
for (let i = 0; i < this.presets.length; i++) {
|
|
75
|
-
const tempRange = this.findDate(this.presets[i]);
|
|
76
|
-
if (tempRange.newStart.getTime() == currentRange.start.getTime() && tempRange.newEnd.getTime() == currentRange.end.getTime()) {
|
|
77
|
-
this.selectedPreset = this.presets[i];
|
|
78
|
-
break;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
get periodLabel(): string {
|
|
84
|
-
// use date adapter to format the label, e.g. "SEP 2020"
|
|
85
|
-
return this.dateAdapter
|
|
86
|
-
.format(this.calendar.activeDate, this.dateFormats.display.monthYearLabel)
|
|
87
|
-
.toLocaleUpperCase();
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
previousClicked(mode: 'month' | 'year'): void {
|
|
91
|
-
this.changeDate(mode, -1);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
nextClicked(mode: 'month' | 'year'): void {
|
|
95
|
-
this.changeDate(mode, 1);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
changeView() {
|
|
99
|
-
this.calendar.currentView =
|
|
100
|
-
this.calendar.currentView == "month"
|
|
101
|
-
? "year"
|
|
102
|
-
: this.calendar.currentView == "year"
|
|
103
|
-
? "multi-year"
|
|
104
|
-
: "month";
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
today = new Date();
|
|
108
|
-
|
|
109
|
-
presetChanged(evt: any) {
|
|
110
|
-
const newRange: any = this.findDate(evt.target.value);
|
|
111
|
-
this.calendar.activeDate = newRange.newStart;
|
|
112
|
-
this.picker.select(newRange.newStart);
|
|
113
|
-
this.picker.select(newRange.newEnd);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
findDate(selected: string) {
|
|
117
|
-
const date = this.today.getDate();
|
|
118
|
-
const month = this.today.getMonth();
|
|
119
|
-
const year = this.today.getFullYear();
|
|
120
|
-
let newRange: any;
|
|
121
|
-
this.selectedPreset = selected;
|
|
122
|
-
switch (selected) {
|
|
123
|
-
case "This Quarter": {
|
|
124
|
-
const thisQuarterMonth = Math.floor(month / 3) * 3;
|
|
125
|
-
const start = this.dateAdapter.createDate(year, thisQuarterMonth, 1);
|
|
126
|
-
const end = this.dateAdapter.createDate(year, thisQuarterMonth + 3, 1);
|
|
127
|
-
newRange = {
|
|
128
|
-
newStart: start,
|
|
129
|
-
newEnd: end,
|
|
130
|
-
}
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
case "Last Quarter": {
|
|
134
|
-
const lastQuarterMonth = (Math.floor(month / 3) * 3) - 3;
|
|
135
|
-
const start = this.dateAdapter.createDate(year, lastQuarterMonth, 1);
|
|
136
|
-
const end = this.dateAdapter.createDate(year, lastQuarterMonth + 3, 1);
|
|
137
|
-
newRange = {
|
|
138
|
-
newStart: start,
|
|
139
|
-
newEnd: end,
|
|
140
|
-
}
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
case "Last 6 Months": {
|
|
144
|
-
const end = this.dateAdapter.createDate(year, month, date);
|
|
145
|
-
const start = this.dateAdapter.addCalendarMonths(end, -6);
|
|
146
|
-
newRange = {
|
|
147
|
-
newStart: start,
|
|
148
|
-
newEnd: end,
|
|
149
|
-
}
|
|
150
|
-
break;
|
|
151
|
-
}
|
|
152
|
-
case "This Year": {
|
|
153
|
-
const start = this.dateAdapter.createDate(year, 0, 1);
|
|
154
|
-
const end = this.dateAdapter.createDate(year, 11, 31);
|
|
155
|
-
newRange = {
|
|
156
|
-
newStart: start,
|
|
157
|
-
newEnd: end,
|
|
158
|
-
}
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
case "Last Year": {
|
|
162
|
-
const start = this.dateAdapter.createDate(year - 1, 0, 1);
|
|
163
|
-
const end = this.dateAdapter.createDate(year - 1, 11, 31);
|
|
164
|
-
newRange = {
|
|
165
|
-
newStart: start,
|
|
166
|
-
newEnd: end,
|
|
167
|
-
}
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
170
|
-
default: {
|
|
171
|
-
newRange = {
|
|
172
|
-
newStart: new Date(),
|
|
173
|
-
newEnd: new Date(),
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
return newRange;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
private changeDate(mode: 'month' | 'year', amount: -1 | 1): void {
|
|
181
|
-
// increment or decrement month or year
|
|
182
|
-
this.calendar.activeDate =
|
|
183
|
-
mode === 'month'
|
|
184
|
-
? this.dateAdapter.addCalendarMonths(this.calendar.activeDate, amount)
|
|
185
|
-
: this.dateAdapter.addCalendarYears(this.calendar.activeDate, amount);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
ngOnDestroy(): void {
|
|
189
|
-
this.destroy$.next(); // will trigger unsubscription in takeUntil
|
|
190
|
-
}
|
|
191
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div class="sa-card-body"><ng-content></ng-content></div>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CardBodyComponent } from './card-body.component';
|
|
4
|
-
|
|
5
|
-
describe('CardBodyComponent', () => {
|
|
6
|
-
let component: CardBodyComponent;
|
|
7
|
-
let fixture: ComponentFixture<CardBodyComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [CardBodyComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(CardBodyComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'sa-card-custom-body',
|
|
5
|
-
standalone: true,
|
|
6
|
-
imports: [],
|
|
7
|
-
templateUrl: './card-body.component.html',
|
|
8
|
-
styleUrl: './card-body.component.css'
|
|
9
|
-
})
|
|
10
|
-
export class CardBodyComponent {
|
|
11
|
-
|
|
12
|
-
}
|
package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.css
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
.sa-card-title-header {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column-reverse;
|
|
4
|
-
gap: var(--medium-20px);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.sa-card-custom-header-container {
|
|
8
|
-
display: flex;
|
|
9
|
-
gap: 0.625rem;
|
|
10
|
-
align-items: center;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.sa-card-titleIcon {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
margin-left: auto;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.sa-card-title-subtitle-container {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
gap: 0.188rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.sa-card-subtitle {
|
|
27
|
-
color: var(--text-mediumemphasis);
|
|
28
|
-
/* Roboto/Body/Medium */
|
|
29
|
-
font-family: var(--font);
|
|
30
|
-
font-size: var(--small-14px);
|
|
31
|
-
font-style: normal;
|
|
32
|
-
font-weight: 400;
|
|
33
|
-
line-height: var(--medium-20px);
|
|
34
|
-
letter-spacing: 0.25px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.sa-card-custom-title {
|
|
38
|
-
color: var(--text-highemphasis);
|
|
39
|
-
|
|
40
|
-
/* Roboto/Title/Medium */
|
|
41
|
-
font-family: var(--font);
|
|
42
|
-
font-size: var(--small-16px);
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
line-height: var(--medium-24px);
|
|
46
|
-
letter-spacing: 0.15px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.sa-card-accordion-title-container {
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
justify-content: flex-start;
|
|
53
|
-
gap: var(--small-8px);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.sa-card-title-icon-container {
|
|
57
|
-
display: flex;
|
|
58
|
-
align-items: center;
|
|
59
|
-
gap: var(--small-4px);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.sa-card-accordion-wrapper .sa-card-custom-title {
|
|
63
|
-
color: var(--text-highemphasis, #1C1B20);
|
|
64
|
-
font-family: var(--font);
|
|
65
|
-
font-size: var(--small-14px);
|
|
66
|
-
font-style: normal;
|
|
67
|
-
font-weight: 500;
|
|
68
|
-
line-height: var(--medium-20px);
|
|
69
|
-
letter-spacing: 0.1px;
|
|
70
|
-
}
|
package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div class="sa-card-title-header"><ng-content></ng-content></div>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CardCustomHeaderComponent } from './card-custom-header.component';
|
|
4
|
-
|
|
5
|
-
describe('CardCustomHeaderComponent', () => {
|
|
6
|
-
let component: CardCustomHeaderComponent;
|
|
7
|
-
let fixture: ComponentFixture<CardCustomHeaderComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [CardCustomHeaderComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(CardCustomHeaderComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/projects/component-library/src/lib/card/card-custom-header/card-custom-header.component.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'sa-card-title-header',
|
|
5
|
-
standalone: true,
|
|
6
|
-
imports: [],
|
|
7
|
-
templateUrl: './card-custom-header.component.html',
|
|
8
|
-
styleUrl: './card-custom-header.component.css',
|
|
9
|
-
encapsulation: ViewEncapsulation.None,
|
|
10
|
-
})
|
|
11
|
-
export class CardCustomHeaderComponent {
|
|
12
|
-
|
|
13
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CardFooterActionsComponent } from './card-footer-actions.component';
|
|
4
|
-
|
|
5
|
-
describe('CardFooterActionsComponent', () => {
|
|
6
|
-
let component: CardFooterActionsComponent;
|
|
7
|
-
let fixture: ComponentFixture<CardFooterActionsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [CardFooterActionsComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(CardFooterActionsComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/projects/component-library/src/lib/card/card-footer-actions/card-footer-actions.component.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'sa-card-footer-actions',
|
|
5
|
-
standalone: true,
|
|
6
|
-
imports: [],
|
|
7
|
-
templateUrl: './card-footer-actions.component.html',
|
|
8
|
-
styleUrl: './card-footer-actions.component.css'
|
|
9
|
-
})
|
|
10
|
-
export class CardFooterActionsComponent {
|
|
11
|
-
|
|
12
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<ng-content></ng-content>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CardIconComponent } from './card-icon.component';
|
|
4
|
-
|
|
5
|
-
describe('CardIconComponent', () => {
|
|
6
|
-
let component: CardIconComponent;
|
|
7
|
-
let fixture: ComponentFixture<CardIconComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [CardIconComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(CardIconComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/projects/component-library/src/lib/card/card-title-actions/card-title-actions.component.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div class="sa-card-title-actions"><ng-content></ng-content></div>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CardTitleActionsComponent } from './card-title-actions.component';
|
|
4
|
-
|
|
5
|
-
describe('CardTitleActionsComponent', () => {
|
|
6
|
-
let component: CardTitleActionsComponent;
|
|
7
|
-
let fixture: ComponentFixture<CardTitleActionsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [CardTitleActionsComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(CardTitleActionsComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/projects/component-library/src/lib/card/card-title-actions/card-title-actions.component.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'sa-card-title-actions',
|
|
5
|
-
standalone: true,
|
|
6
|
-
imports: [],
|
|
7
|
-
templateUrl: './card-title-actions.component.html',
|
|
8
|
-
styleUrl: './card-title-actions.component.css'
|
|
9
|
-
})
|
|
10
|
-
export class CardTitleActionsComponent {
|
|
11
|
-
|
|
12
|
-
}
|