@sarasanalytics-com/design-system 0.0.43 → 0.0.45
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 +111 -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 +2001 -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 +31 -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,97 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/angular';
|
|
2
|
-
import { argsToTemplate } from '@storybook/angular';
|
|
3
|
-
import { TabsComponent } from '../../projects/component-library/src/lib/tabs/tabs.component';
|
|
4
|
-
import { TabInterface } from '../../projects/component-library/src/interfaces/tab-interface';
|
|
5
|
-
|
|
6
|
-
const meta: Meta<TabsComponent> = {
|
|
7
|
-
title: 'Tabs',
|
|
8
|
-
component: TabsComponent,
|
|
9
|
-
tags: ['autodocs'],
|
|
10
|
-
argTypes: {
|
|
11
|
-
tabs: {
|
|
12
|
-
description: [
|
|
13
|
-
"array of `TabInterface` objects. Each one to configure one tab."
|
|
14
|
-
].join(" ")
|
|
15
|
-
},
|
|
16
|
-
type: {
|
|
17
|
-
options: ['inline', 'box'],
|
|
18
|
-
control: { type: 'radio' }
|
|
19
|
-
},
|
|
20
|
-
tabChanged: {
|
|
21
|
-
action: "tabChanged"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
render: (args) => ({
|
|
25
|
-
props: {
|
|
26
|
-
...args,
|
|
27
|
-
},
|
|
28
|
-
template: `<sa-tabs ${argsToTemplate(args)}></sa-tabs>`
|
|
29
|
-
}),
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export default meta;
|
|
33
|
-
type Story = StoryObj<TabsComponent>;
|
|
34
|
-
|
|
35
|
-
const tabs: TabInterface[] = [
|
|
36
|
-
{
|
|
37
|
-
tabName: "Tab 1",
|
|
38
|
-
tabIcon: "../assets/sourcesOutlined.svg",
|
|
39
|
-
iconPosition: "left",
|
|
40
|
-
badgeContent: "3 new",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
tabName: "Tab 2",
|
|
44
|
-
tabIcon: "../assets/gridViewOutlined.svg",
|
|
45
|
-
iconPosition: "left",
|
|
46
|
-
badgeContent: "9 new",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
tabName: "Tab 3",
|
|
50
|
-
tabIcon: "../assets/infoTriangleFilled.svg",
|
|
51
|
-
iconPosition: "left",
|
|
52
|
-
badgeContent: "17 new",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
tabName: "Tab 4",
|
|
56
|
-
tabIcon: "../assets/personOutlined.svg",
|
|
57
|
-
iconPosition: "left",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
tabName: "Tab 5",
|
|
61
|
-
tabIcon: "../assets/mailOutlined.svg",
|
|
62
|
-
badgeContent: "6 new",
|
|
63
|
-
iconPosition: "left",
|
|
64
|
-
}
|
|
65
|
-
];
|
|
66
|
-
|
|
67
|
-
export const Inline_tabs_default: Story = {
|
|
68
|
-
args: {
|
|
69
|
-
tabs: tabs,
|
|
70
|
-
type: "inline",
|
|
71
|
-
defaultTab: -1,
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
export const inline_tabs_selected: Story = {
|
|
76
|
-
args: {
|
|
77
|
-
tabs: tabs,
|
|
78
|
-
defaultTab: 2,
|
|
79
|
-
type: "inline"
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export const box_tabs_default: Story = {
|
|
84
|
-
args: {
|
|
85
|
-
tabs: tabs,
|
|
86
|
-
type: "box"
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export const box_tabs_selected: Story = {
|
|
91
|
-
args: {
|
|
92
|
-
tabs: tabs,
|
|
93
|
-
defaultTab: 2,
|
|
94
|
-
type: "box"
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/angular';
|
|
2
|
-
import { argsToTemplate, moduleMetadata } from '@storybook/angular';
|
|
3
|
-
import { ToastComponent } from '../../projects/component-library/src/lib/toast/toast.component';
|
|
4
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
5
|
-
import { IconService } from '../../projects/component-library/src/lib/icon/icon.service';
|
|
6
|
-
|
|
7
|
-
const meta: Meta<ToastComponent> = {
|
|
8
|
-
title: 'Toast',
|
|
9
|
-
component: ToastComponent,
|
|
10
|
-
tags: ['autodocs'],
|
|
11
|
-
decorators: [
|
|
12
|
-
moduleMetadata({
|
|
13
|
-
imports: [HttpClientModule],
|
|
14
|
-
providers: [IconService],
|
|
15
|
-
}),
|
|
16
|
-
],
|
|
17
|
-
argTypes: {
|
|
18
|
-
firstButton: {
|
|
19
|
-
action: "firstButton"
|
|
20
|
-
},
|
|
21
|
-
secondButton: {
|
|
22
|
-
action: "secondButton"
|
|
23
|
-
},
|
|
24
|
-
status: {
|
|
25
|
-
options: ['success', 'failure', 'caution'],
|
|
26
|
-
control: { type: 'radio' },
|
|
27
|
-
},
|
|
28
|
-
closed: {
|
|
29
|
-
action: "closed"
|
|
30
|
-
},
|
|
31
|
-
finishPercentage: {
|
|
32
|
-
control: {
|
|
33
|
-
type: 'range',
|
|
34
|
-
min: -10,
|
|
35
|
-
max: 100,
|
|
36
|
-
step: 1,
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
width: {
|
|
40
|
-
control: { type: 'text' }
|
|
41
|
-
},
|
|
42
|
-
closable: {
|
|
43
|
-
control: { type: 'boolean' }
|
|
44
|
-
},
|
|
45
|
-
filled: {
|
|
46
|
-
control: { type: 'boolean' }
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
render: (args) => ({
|
|
50
|
-
props: {
|
|
51
|
-
...args,
|
|
52
|
-
toastEvent: args.toastEvent,
|
|
53
|
-
},
|
|
54
|
-
template: `<sa-toast ${argsToTemplate(args)}></sa-toast>`
|
|
55
|
-
}),
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export default meta;
|
|
59
|
-
type Story = StoryObj<ToastComponent>;
|
|
60
|
-
|
|
61
|
-
export const DefaultToast: Story = {
|
|
62
|
-
args: {
|
|
63
|
-
heading: 'Heading',
|
|
64
|
-
subHeading: 'Subheading text',
|
|
65
|
-
status: 'success',
|
|
66
|
-
statusIcon: "../assets/infoTriangleOutlined",
|
|
67
|
-
closable: false,
|
|
68
|
-
filled: true,
|
|
69
|
-
width: '',
|
|
70
|
-
finishPercentage: 30,
|
|
71
|
-
firstButtonName: "Button",
|
|
72
|
-
secondButtonName: "Button",
|
|
73
|
-
}
|
|
74
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/angular';
|
|
2
|
-
import { argsToTemplate } from '@storybook/angular';
|
|
3
|
-
import { ToolTipComponent } from '../../projects/component-library/src/public-api';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const meta: Meta<ToolTipComponent> = {
|
|
7
|
-
title: 'ToolTip',
|
|
8
|
-
component: ToolTipComponent,
|
|
9
|
-
tags: ['autodocs'],
|
|
10
|
-
argTypes: {
|
|
11
|
-
pointerPosition: {
|
|
12
|
-
options: ['left', 'right', 'top', 'bottom'],
|
|
13
|
-
control: { type: 'radio' }
|
|
14
|
-
},
|
|
15
|
-
toolTipSeen: {
|
|
16
|
-
action: "toolTipSeen"
|
|
17
|
-
},
|
|
18
|
-
toolTipSkipped: {
|
|
19
|
-
action: "toolTipSkipped"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
render: (args) => ({
|
|
23
|
-
props: {
|
|
24
|
-
...args,
|
|
25
|
-
},
|
|
26
|
-
template: `<sa-tool-tip ${argsToTemplate(args)}></sa-tool-tip>`
|
|
27
|
-
}),
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export default meta;
|
|
31
|
-
type Story = StoryObj<ToolTipComponent>;
|
|
32
|
-
|
|
33
|
-
const messages: string[] = [
|
|
34
|
-
"This first line can act as the subheading of this onboarding tooltip",
|
|
35
|
-
"This second line can act as the subheading of this onboarding tooltip",
|
|
36
|
-
"This third line can act as the subheading of this onboarding tooltip",
|
|
37
|
-
"This fourth line can act as the subheading of this onboarding tooltip",
|
|
38
|
-
]
|
|
39
|
-
|
|
40
|
-
export const toolTip: Story = {
|
|
41
|
-
args: {
|
|
42
|
-
pointerPosition: 'left',
|
|
43
|
-
messages: messages,
|
|
44
|
-
}
|
|
45
|
-
};
|
package/src/svg.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module '*.svg';
|
package/tsconfig.app.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "./tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "./out-tsc/app",
|
|
6
|
-
"types": []
|
|
7
|
-
},
|
|
8
|
-
"files": [
|
|
9
|
-
"src/main.ts"
|
|
10
|
-
],
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.d.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compileOnSave": false,
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"outDir": "./dist/out-tsc",
|
|
5
|
-
"forceConsistentCasingInFileNames": true,
|
|
6
|
-
"strictPropertyInitialization": false,
|
|
7
|
-
"strict": false,
|
|
8
|
-
"noImplicitOverride": true,
|
|
9
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
10
|
-
"noImplicitReturns": true,
|
|
11
|
-
"noFallthroughCasesInSwitch": true,
|
|
12
|
-
"skipLibCheck": true,
|
|
13
|
-
"esModuleInterop": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"declaration": false,
|
|
16
|
-
"experimentalDecorators": true,
|
|
17
|
-
"moduleResolution": "node",
|
|
18
|
-
"importHelpers": true,
|
|
19
|
-
"target": "ES2022",
|
|
20
|
-
"module": "ES2022",
|
|
21
|
-
"useDefineForClassFields": false,
|
|
22
|
-
"paths": {
|
|
23
|
-
"component-library": [
|
|
24
|
-
"./dist/component-library"
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
"lib": [
|
|
28
|
-
"ES2022",
|
|
29
|
-
"dom"
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
"include": [
|
|
33
|
-
"**/*.ts", "generate-public-api.js",
|
|
34
|
-
],
|
|
35
|
-
"angularCompilerOptions": {
|
|
36
|
-
"enableI18nLegacyMessageIdFormat": false,
|
|
37
|
-
"strictInjectionParameters": true,
|
|
38
|
-
"strictInputAccessModifiers": true,
|
|
39
|
-
"strictTemplates": true,
|
|
40
|
-
"strictNullInputTypes": false, // don't think should be doing this
|
|
41
|
-
}
|
|
42
|
-
}
|
package/tsconfig.spec.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "./tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "./out-tsc/spec",
|
|
6
|
-
"types": [
|
|
7
|
-
"jasmine"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"src/**/*.spec.ts",
|
|
12
|
-
"src/**/*.d.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|