reso-ui 1.1.0
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/.github/workflows/cd.yml +49 -0
- package/.github/workflows/ci.yml +55 -0
- package/.github/workflows/release.yml +41 -0
- package/.husky/commit-msg +4 -0
- package/.storybook/main.js +51 -0
- package/.storybook/preview.js +9 -0
- package/CHANGELOG.md +20 -0
- package/README.md +209 -0
- package/__mocks__/fileMock.js +2 -0
- package/__mocks__/styleMock.js +2 -0
- package/commitlint.config.js +6 -0
- package/custom.d.ts +8 -0
- package/dist/09f84f6035cfbf7c3984b6177d36b516.ttf +0 -0
- package/dist/0d5fdfd739931f51a5df.ttf +1 -0
- package/dist/0e407c5680c91e584bb084ebfb5c086b.ttf +0 -0
- package/dist/2e942562af5b9b655c1f.ttf +1 -0
- package/dist/2f6d81277badc25ac944.ttf +1 -0
- package/dist/32743a4d0c4282e2070b574e6e5038ab.ttf +0 -0
- package/dist/3727d88dec67e1e78cf987dab60d9887.ttf +0 -0
- package/dist/3fcedd69c66d642ae94c.ttf +1 -0
- package/dist/404e299be26d78e6679447ea7cb2d41f.ttf +0 -0
- package/dist/47afb8d0034314dd9508.ttf +1 -0
- package/dist/4a24733ca942ad738fa2.ttf +1 -0
- package/dist/4e860c8656d815bb2429.ttf +1 -0
- package/dist/4e8cea18952c83074ec35f7bf1b176c4.ttf +0 -0
- package/dist/4ed78cd5d64af4efc3c714622b9372d4.ttf +0 -0
- package/dist/5568b72206d0e08121c5.ttf +1 -0
- package/dist/5ccd942a8800a68d44b6d3f5431909ec.ttf +0 -0
- package/dist/6fca6423291a2d06943a.ttf +1 -0
- package/dist/791134e64e8ef9da3f77.ttf +1 -0
- package/dist/8081832fc5cfbf634aa664a9eff0350e.ttf +0 -0
- package/dist/8c5e890c33607ed0e632.ttf +1 -0
- package/dist/9445d60ed014306b6aec1c69bf9d0174.ttf +0 -0
- package/dist/94b768c07879dde09ab4d5f6ad92cbc6.ttf +0 -0
- package/dist/9e1bb626874ed49aa343d66b8d66ceaf.ttf +0 -0
- package/dist/9e50c04f0efdf7813013.ttf +1 -0
- package/dist/9f57e7d4017ef9b93ae75e2c86f00d60.ttf +0 -0
- package/dist/a61eaf4c2e4d44d6db6a576706e9e6ae.ttf +0 -0
- package/dist/b10e7a6e913ca664cbdcb17894f9b419.ttf +0 -0
- package/dist/c0ee626f116bbcc4c721.ttf +1 -0
- package/dist/c27d458a5358094ac974.ttf +1 -0
- package/dist/c27efdacccfbcbd14ff2.ttf +1 -0
- package/dist/c76ea376f095f2e1e5138b226ad0f9cd.ttf +0 -0
- package/dist/cc7ee35ca49c83d4cfca932a03139f99.ttf +0 -0
- package/dist/cce5625b56ec678e42021270b84ef400.ttf +0 -0
- package/dist/ce3fff31c0f262aca227664f6f0d2fa2.ttf +0 -0
- package/dist/d01ea7f941ca3838ae97.ttf +1 -0
- package/dist/db767bc3ab4b2e42b4b1.ttf +1 -0
- package/dist/eacee5bb9c7fee5939aebf2335e5106a.ttf +0 -0
- package/dist/eebe2ceaa4fd239fe3fb.ttf +1 -0
- package/dist/eef56d4542bc2932ff9f.ttf +1 -0
- package/dist/f072662071f642a2e2b9.ttf +1 -0
- package/dist/f41b63c0bb0963ace821a2b99458c1cd.ttf +0 -0
- package/dist/f456d233db96b6889eeb.ttf +1 -0
- package/dist/fb248a35b11180453c6879a29d94eff4.ttf +0 -0
- package/dist/fb71f2d88c40660bb2e0.ttf +1 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +20 -0
- package/jest-dom-setup.ts +1 -0
- package/jest.config.js +194 -0
- package/package.json +71 -0
- package/public/fallback-image-example.jpg +0 -0
- package/public/hero-example.jpg +0 -0
- package/public/image-example-2.jpg +0 -0
- package/public/image-example-3.jpg +0 -0
- package/public/image-example-4.jpg +0 -0
- package/public/image-example.jpg +0 -0
- package/public/index.html +12 -0
- package/release.config.js +29 -0
- package/src/App.scss +35 -0
- package/src/components/Banners/Banner/Banner.tsx +60 -0
- package/src/components/Banners/Banner/__test__/Banner.test.tsx +88 -0
- package/src/components/Banners/Banner/index.ts +3 -0
- package/src/components/Banners/Banner/stories/Banner.stories.tsx +81 -0
- package/src/components/Banners/Banner/stories/storiesStyle.scss +4 -0
- package/src/components/Banners/Banner/styles/Banner.layout.scss +51 -0
- package/src/components/Banners/Banner-Wrapper/Banner-Wrapper.tsx +45 -0
- package/src/components/Banners/Banner-Wrapper/__test__/Banner-Wrapper.test.tsx +72 -0
- package/src/components/Banners/Banner-Wrapper/index.ts +3 -0
- package/src/components/Banners/Banner-Wrapper/stories/Banner-Wrapper.stories.tsx +90 -0
- package/src/components/Banners/Banner-Wrapper/styles/Banner-Wrapper.layout.scss +18 -0
- package/src/components/Banners/index.ts +3 -0
- package/src/components/Buttons/Back/Back.tsx +80 -0
- package/src/components/Buttons/Back/__test__/Back.test.tsx +51 -0
- package/src/components/Buttons/Back/index.ts +3 -0
- package/src/components/Buttons/Back/stories/Back.stories.tsx +74 -0
- package/src/components/Buttons/Back/stories/storiesStyle.scss +11 -0
- package/src/components/Buttons/Back/styles/Back.layout.scss +12 -0
- package/src/components/Buttons/Back/styles/Back.theme.scss +7 -0
- package/src/components/Buttons/Button/Button.tsx +85 -0
- package/src/components/Buttons/Button/__test__/Button.test.tsx +66 -0
- package/src/components/Buttons/Button/index.ts +2 -0
- package/src/components/Buttons/Button/stories/Button.stories.tsx +90 -0
- package/src/components/Buttons/Button/stories/storiesStyle.scss +7 -0
- package/src/components/Buttons/Button/styles/Button.layout.scss +30 -0
- package/src/components/Buttons/Button/styles/Button.theme.scss +42 -0
- package/src/components/Buttons/index.ts +3 -0
- package/src/components/Card/Card-Container/Card-Container.tsx +59 -0
- package/src/components/Card/Card-Container/__test__/Card-Container.test.tsx +62 -0
- package/src/components/Card/Card-Container/index.ts +3 -0
- package/src/components/Card/Card-Container/stories/Card-Container.stories.tsx +45 -0
- package/src/components/Card/Card-Container/styles/Card-Container.layout.scss +8 -0
- package/src/components/Card/Card-Container/styles/Card-Container.theme.scss +9 -0
- package/src/components/Card/Card-Content/Card-Content.tsx +51 -0
- package/src/components/Card/Card-Content/__test__/Card-Content.test.tsx +84 -0
- package/src/components/Card/Card-Content/index.ts +3 -0
- package/src/components/Card/Card-Content/stories/Card-Content.stories.tsx +62 -0
- package/src/components/Card/Card-Content/styles/Card-Content.layout.scss +12 -0
- package/src/components/Card/Card-Summary-Value/Card-Summary-Value.tsx +39 -0
- package/src/components/Card/Card-Summary-Value/__test__/Card-Summary-Value.test.tsx +43 -0
- package/src/components/Card/Card-Summary-Value/index.ts +3 -0
- package/src/components/Card/Card-Summary-Value/stories/Card-Summary-Value.stories.tsx +60 -0
- package/src/components/Card/Card-Summary-Value/styles/Card-Summary-Value.layout.scss +7 -0
- package/src/components/Card/index.ts +4 -0
- package/src/components/Containers/Center-Container/Center-Container.tsx +40 -0
- package/src/components/Containers/Center-Container/__test__/Center-Container.test.tsx +39 -0
- package/src/components/Containers/Center-Container/index.ts +3 -0
- package/src/components/Containers/Center-Container/stories/Center-Container.stories.tsx +35 -0
- package/src/components/Containers/Center-Container/stories/storiesStyle.scss +10 -0
- package/src/components/Containers/Center-Container/styles/Center-Container.layout.scss +6 -0
- package/src/components/Containers/Flex/Flex.tsx +93 -0
- package/src/components/Containers/Flex/__test__/Flex.test.tsx +359 -0
- package/src/components/Containers/Flex/index.ts +3 -0
- package/src/components/Containers/Flex/stories/Flex.stories.tsx +73 -0
- package/src/components/Containers/Flex/stories/storiesStyle.scss +6 -0
- package/src/components/Containers/Flex/styles/Flex.layout.scss +54 -0
- package/src/components/Containers/Horizontal-Scroll-Container/Horizontal-Scroll-Container.tsx +51 -0
- package/src/components/Containers/Horizontal-Scroll-Container/__test__/Horizontal-Scroll-Container.test.tsx +50 -0
- package/src/components/Containers/Horizontal-Scroll-Container/index.ts +3 -0
- package/src/components/Containers/Horizontal-Scroll-Container/stories/Horizontal-Scroll-Container.stories.tsx +89 -0
- package/src/components/Containers/Horizontal-Scroll-Container/styles/Horizontal-Scroll-Container.layout.scss +12 -0
- package/src/components/Containers/Horizontal-Scroll-Item/Horizontal-Scroll-Item.tsx +48 -0
- package/src/components/Containers/Horizontal-Scroll-Item/__test__/Horizontal-Scroll-Item.test.tsx +50 -0
- package/src/components/Containers/Horizontal-Scroll-Item/index.ts +3 -0
- package/src/components/Containers/Horizontal-Scroll-Item/stories/Horizontal-Scroll-Item.stories.tsx +59 -0
- package/src/components/Containers/Horizontal-Scroll-Item/styles/Horizontal-Scroll-Item.layout.scss +5 -0
- package/src/components/Containers/Loading-Container/Loading-Container.tsx +100 -0
- package/src/components/Containers/Loading-Container/__test__/Loading-Container.test.tsx +197 -0
- package/src/components/Containers/Loading-Container/index.ts +3 -0
- package/src/components/Containers/Loading-Container/stories/Loading-Container.stories.tsx +113 -0
- package/src/components/Containers/Loading-Container/styles/Loading-Container.layout.scss +13 -0
- package/src/components/Containers/View/View.tsx +57 -0
- package/src/components/Containers/View/__test__/View.test.tsx +61 -0
- package/src/components/Containers/View/index.ts +3 -0
- package/src/components/Containers/View/stories/View.stories.tsx +60 -0
- package/src/components/Containers/View/stories/storiesStyle.scss +12 -0
- package/src/components/Containers/View/styles/View.layout.scss +6 -0
- package/src/components/Containers/View/styles/View.theme.scss +7 -0
- package/src/components/Containers/index.ts +7 -0
- package/src/components/Date-Selector/Date-Selector.tsx +266 -0
- package/src/components/Date-Selector/__test__/Date-Selector.test.tsx +435 -0
- package/src/components/Date-Selector/components/Date-Component-Navigation/Date-Component-Navigation.tsx +178 -0
- package/src/components/Date-Selector/components/Date-Component-Navigation/__test__/Date-Component-Navigation.test.tsx +297 -0
- package/src/components/Date-Selector/components/Date-Component-Navigation/styles/Date-Component-Navigation.layout.scss +26 -0
- package/src/components/Date-Selector/components/Date-Component-Navigation/styles/Date-Component-Navigation.theme.scss +12 -0
- package/src/components/Date-Selector/components/Date-Day-Name/Date-Day-Name.tsx +52 -0
- package/src/components/Date-Selector/components/Date-Day-Name/__test__/Date-Day-Name.test.tsx +52 -0
- package/src/components/Date-Selector/components/Date-Day-Name/styles/Date-Day-Name.layout.scss +5 -0
- package/src/components/Date-Selector/components/Date-Day-Name/styles/Date-Day-Name.theme.scss +4 -0
- package/src/components/Date-Selector/components/Date-Day-Number/Date-Day-Number.tsx +119 -0
- package/src/components/Date-Selector/components/Date-Day-Number/__test__/Date-Day-Number.test.tsx +201 -0
- package/src/components/Date-Selector/components/Date-Day-Number/styles/Date-Day-Number.layout.scss +22 -0
- package/src/components/Date-Selector/components/Date-Day-Number/styles/Date-Day-Number.theme.scss +15 -0
- package/src/components/Date-Selector/components/Date-Days-Grid/Date-Days-Grid.tsx +300 -0
- package/src/components/Date-Selector/components/Date-Days-Grid/__test__/Date-Days-Grid.test.tsx +536 -0
- package/src/components/Date-Selector/components/Date-Days-Grid/styles/Date-Days-Grid.layout.scss +11 -0
- package/src/components/Date-Selector/components/Date-Days-Grid/styles/Date-Days-Grid.theme.scss +3 -0
- package/src/components/Date-Selector/components/Date-Selector-Header/Date-Selector-Header.tsx +65 -0
- package/src/components/Date-Selector/components/Date-Selector-Header/__test__/Date-Selector-Header.test.tsx +101 -0
- package/src/components/Date-Selector/components/Date-Selector-Header/styles/Date-Selector-Header.layout.scss +27 -0
- package/src/components/Date-Selector/components/Date-Selector-Header/styles/Date-Selector-Header.theme.scss +4 -0
- package/src/components/Date-Selector/index.ts +3 -0
- package/src/components/Date-Selector/stories/Date-Selector.stories.tsx +140 -0
- package/src/components/Date-Selector/stories/storiesStyle.scss +4 -0
- package/src/components/Date-Selector/styles/Date-Selector.layout.scss +36 -0
- package/src/components/Date-Selector/styles/Date-Selector.shared.scss +4 -0
- package/src/components/Date-Selector/styles/Date-Selector.theme.scss +9 -0
- package/src/components/Date-Selector/types/index.ts +77 -0
- package/src/components/Date-Selector/utils/__test__/Date-Selector-Utils.test.ts +62 -0
- package/src/components/Date-Selector/utils/index.ts +76 -0
- package/src/components/Dialog/Dialog.tsx +213 -0
- package/src/components/Dialog/__test__/Dialog.test.tsx +220 -0
- package/src/components/Dialog/index.ts +3 -0
- package/src/components/Dialog/stories/Dialog.stories.tsx +124 -0
- package/src/components/Dialog/styles/Dialog.layout.scss +38 -0
- package/src/components/Dialog/styles/Dialog.theme.scss +21 -0
- package/src/components/Errors/Component-Error/Component-Error.tsx +92 -0
- package/src/components/Errors/Component-Error/__test__/Component-Error.test.tsx +93 -0
- package/src/components/Errors/Component-Error/index.ts +3 -0
- package/src/components/Errors/Component-Error/stories/Component-Error.stories.tsx +55 -0
- package/src/components/Errors/Component-Error/stories/storiesStyle.scss +4 -0
- package/src/components/Errors/Component-Error/styles/Component-Error.layout.scss +27 -0
- package/src/components/Errors/Component-Error/styles/Component-Error.theme.scss +12 -0
- package/src/components/Errors/Full-Screen-Error/Full-Screen-Error.tsx +91 -0
- package/src/components/Errors/Full-Screen-Error/__test__/Full-Screen-Error.test.tsx +81 -0
- package/src/components/Errors/Full-Screen-Error/index.ts +3 -0
- package/src/components/Errors/Full-Screen-Error/stories/Full-Screen-Error.stories.tsx +69 -0
- package/src/components/Errors/Full-Screen-Error/styles/Full-Screen-Error.layout.scss +26 -0
- package/src/components/Errors/Full-Screen-Error/styles/Full-Screen-Error.theme.scss +7 -0
- package/src/components/Errors/index.ts +3 -0
- package/src/components/Example/Example.tsx +51 -0
- package/src/components/Example/__test__/Example.test.tsx +12 -0
- package/src/components/Example/index.ts +3 -0
- package/src/components/Example/stories/Example.stories.tsx +48 -0
- package/src/components/Example/stories/storiesStyle.scss +4 -0
- package/src/components/Example/styles/Example.layout.scss +3 -0
- package/src/components/Example/styles/Example.theme.scss +8 -0
- package/src/components/External-Links/External-Links.tsx +93 -0
- package/src/components/External-Links/__test__/External-Links.test.tsx +81 -0
- package/src/components/External-Links/index.ts +3 -0
- package/src/components/External-Links/stories/External-Links.stories.tsx +111 -0
- package/src/components/External-Links/stories/storiesStyle.scss +7 -0
- package/src/components/External-Links/styles/External-Links.layout.scss +14 -0
- package/src/components/External-Links/styles/External-Links.theme.scss +4 -0
- package/src/components/Footer/Footer.tsx +56 -0
- package/src/components/Footer/__test__/Footer.test.tsx +63 -0
- package/src/components/Footer/index.ts +3 -0
- package/src/components/Footer/stories/Footer.stories.tsx +52 -0
- package/src/components/Footer/stories/storiesStyle.scss +5 -0
- package/src/components/Footer/styles/Footer.layout.scss +13 -0
- package/src/components/Footer/styles/Footer.theme.scss +4 -0
- package/src/components/Form/Form-Container/Form-Container.tsx +62 -0
- package/src/components/Form/Form-Container/__test__/Form-Container.test.tsx +75 -0
- package/src/components/Form/Form-Container/index.ts +3 -0
- package/src/components/Form/Form-Container/stories/Form-Container.stories.tsx +105 -0
- package/src/components/Form/Form-Container/styles/Form-Container.layout.scss +2 -0
- package/src/components/Form/Form-Container/styles/Form-Container.theme.scss +2 -0
- package/src/components/Form/Form-Input-Container/Form-Input-Container.tsx +61 -0
- package/src/components/Form/Form-Input-Container/__test__/Form-Input-Container.test.tsx +97 -0
- package/src/components/Form/Form-Input-Container/index.ts +3 -0
- package/src/components/Form/Form-Input-Container/stories/Form-Input-Container.stories.tsx +72 -0
- package/src/components/Form/Form-Input-Container/styles/Form-Input-Container.layout.scss +2 -0
- package/src/components/Form/Form-Input-Container/styles/Form-Input-Container.theme.scss +2 -0
- package/src/components/Form/Form-Types.ts +20 -0
- package/src/components/Form/Inputs/Input-Label/Input-Label.tsx +110 -0
- package/src/components/Form/Inputs/Input-Label/index.ts +3 -0
- package/src/components/Form/Inputs/Input-Label/styles/Input-Label.layout.scss +35 -0
- package/src/components/Form/Inputs/Input-Label/styles/Input-Label.theme.scss +7 -0
- package/src/components/Form/Inputs/Submit-Button/Submit-Button.tsx +61 -0
- package/src/components/Form/Inputs/Submit-Button/index.ts +3 -0
- package/src/components/Form/Inputs/Submit-Button/styles/Submit-Button.layout.scss +11 -0
- package/src/components/Form/Inputs/Submit-Button/styles/Submit-Button.theme.scss +6 -0
- package/src/components/Form/Inputs/Text-Input/Text-Input.tsx +100 -0
- package/src/components/Form/Inputs/Text-Input/index.ts +3 -0
- package/src/components/Form/Inputs/Text-Input/styles/Text-Input.layout.scss +12 -0
- package/src/components/Form/Inputs/Text-Input/styles/Text-Input.theme.scss +10 -0
- package/src/components/Form/Inputs/sharedStyles.scss +11 -0
- package/src/components/Form/Modular/Form-Contexts-Repository.ts +26 -0
- package/src/components/Form/Modular/Form-Data-Context.ts +11 -0
- package/src/components/Form/Modular/Hooks.ts +127 -0
- package/src/components/Form/Modular/Parent-Form-Context-Provider.tsx +22 -0
- package/src/components/Form/Sub-Form-Container/Sub-Form-Container.tsx +83 -0
- package/src/components/Form/Sub-Form-Container/__test__/Sub-Form-Container.test.tsx +82 -0
- package/src/components/Form/Sub-Form-Container/index.ts +3 -0
- package/src/components/Form/Sub-Form-Container/stories/Sub-Form-Container.stories.tsx +121 -0
- package/src/components/Form/Sub-Form-Container/styles/Sub-Form-Container.layout.scss +7 -0
- package/src/components/Form/Sub-Form-Container/styles/Sub-Form-Container.theme.scss +19 -0
- package/src/components/Form/index.ts +12 -0
- package/src/components/Icon/Icon.tsx +71 -0
- package/src/components/Icon/__test__/Icon.test.tsx +56 -0
- package/src/components/Icon/index.ts +3 -0
- package/src/components/Icon/stories/Icon.stories.tsx +98 -0
- package/src/components/Icon/styles/Icon.layout.scss +8 -0
- package/src/components/Icon/styles/Icon.theme.scss +0 -0
- package/src/components/Images/Hero/Hero.tsx +59 -0
- package/src/components/Images/Hero/__test__/Hero.test.tsx +102 -0
- package/src/components/Images/Hero/index.ts +3 -0
- package/src/components/Images/Hero/stories/Hero.stories.tsx +52 -0
- package/src/components/Images/Hero/stories/storyStyles.scss +3 -0
- package/src/components/Images/Hero/styles/Hero.layout.scss +13 -0
- package/src/components/Images/Image/Image.tsx +134 -0
- package/src/components/Images/Image/__test__/Image.test.tsx +149 -0
- package/src/components/Images/Image/index.ts +3 -0
- package/src/components/Images/Image/stories/Image.stories.tsx +90 -0
- package/src/components/Images/Image/stories/storyStyles.scss +3 -0
- package/src/components/Images/Image/styles/Image.layout.scss +48 -0
- package/src/components/Images/Multi-Image-Viewer/Multi-Image-Viewer.tsx +199 -0
- package/src/components/Images/Multi-Image-Viewer/__test__/Multi-Image-Viewer.test.tsx +317 -0
- package/src/components/Images/Multi-Image-Viewer/index.ts +3 -0
- package/src/components/Images/Multi-Image-Viewer/stories/Multi-Image-Viewer.stories.tsx +155 -0
- package/src/components/Images/Multi-Image-Viewer/stories/storiesStyle.scss +8 -0
- package/src/components/Images/Multi-Image-Viewer/styles/Multi-Image-Viewer.layout.scss +29 -0
- package/src/components/Images/Multi-Image-Viewer/styles/Multi-Image-Viewer.theme.scss +3 -0
- package/src/components/Images/index.ts +4 -0
- package/src/components/Loaders/Loader/Loader.tsx +77 -0
- package/src/components/Loaders/Loader/__test__/Loader.test.tsx +51 -0
- package/src/components/Loaders/Loader/index.ts +3 -0
- package/src/components/Loaders/Loader/stories/Loader.stories.tsx +49 -0
- package/src/components/Loaders/Loader/stories/storiesStyle.scss +7 -0
- package/src/components/Loaders/Loader/styles/Component-Loader.layout.scss +43 -0
- package/src/components/Loaders/Loader/styles/Component-Loader.theme.scss +9 -0
- package/src/components/Loaders/index.ts +2 -0
- package/src/components/Modal/Modal-Body/Modal-Body.tsx +52 -0
- package/src/components/Modal/Modal-Body/__test__/Modal-Body.test.tsx +61 -0
- package/src/components/Modal/Modal-Body/index.ts +3 -0
- package/src/components/Modal/Modal-Body/stories/Modal-Body.stories.tsx +75 -0
- package/src/components/Modal/Modal-Body/styles/Modal-Body.layout.scss +4 -0
- package/src/components/Modal/Modal-Container/Modal-Container.tsx +79 -0
- package/src/components/Modal/Modal-Container/__test__/Modal-Container.test.tsx +88 -0
- package/src/components/Modal/Modal-Container/index.ts +3 -0
- package/src/components/Modal/Modal-Container/stories/Modal-Container.stories.tsx +73 -0
- package/src/components/Modal/Modal-Container/stories/storiesStyle.scss +5 -0
- package/src/components/Modal/Modal-Container/styles/Modal-Container.layout.scss +21 -0
- package/src/components/Modal/Modal-Container/styles/Modal-Container.theme.scss +3 -0
- package/src/components/Modal/Modal-Header/Modal-Header.tsx +65 -0
- package/src/components/Modal/Modal-Header/__test__/Modal-Header.test.tsx +74 -0
- package/src/components/Modal/Modal-Header/index.ts +3 -0
- package/src/components/Modal/Modal-Header/stories/Modal-Header.stories.tsx +74 -0
- package/src/components/Modal/Modal-Header/styles/Modal-Header.layout.scss +15 -0
- package/src/components/Modal/Modal-Header/styles/Modal-Header.theme.scss +4 -0
- package/src/components/Modal/index.ts +4 -0
- package/src/components/Panel/Panel-Container/Panel-Container.tsx +47 -0
- package/src/components/Panel/Panel-Container/__test__/Panel-Container.test.tsx +50 -0
- package/src/components/Panel/Panel-Container/index.ts +3 -0
- package/src/components/Panel/Panel-Container/stories/Panel-Container.stories.tsx +49 -0
- package/src/components/Panel/Panel-Container/stories/storiesStyle.scss +3 -0
- package/src/components/Panel/Panel-Container/styles/Panel-Container.layout.scss +9 -0
- package/src/components/Panel/Panel-Container/styles/Panel-Container.theme.scss +4 -0
- package/src/components/Panel/Panel-Row/Panel-Row.tsx +80 -0
- package/src/components/Panel/Panel-Row/__test__/Panel-Row.test.tsx +45 -0
- package/src/components/Panel/Panel-Row/index.ts +3 -0
- package/src/components/Panel/Panel-Row/stories/Panel-Row.stories.tsx +57 -0
- package/src/components/Panel/Panel-Row/styles/Panel-Row.layout.scss +16 -0
- package/src/components/Panel/Panel-Title/Panel-Title.tsx +47 -0
- package/src/components/Panel/Panel-Title/__test__/Panel-Title.test.tsx +28 -0
- package/src/components/Panel/Panel-Title/index.ts +3 -0
- package/src/components/Panel/Panel-Title/stories/Panel-Title.stories.tsx +47 -0
- package/src/components/Panel/Panel-Title/styles/Panel-Title.layout.scss +7 -0
- package/src/components/Panel/Panel-Title/styles/Panel-Title.theme.scss +3 -0
- package/src/components/Panel/index.ts +4 -0
- package/src/components/Quantity-Counter/Quantity-Counter.tsx +73 -0
- package/src/components/Quantity-Counter/__test__/Quantity-Counter.test.tsx +75 -0
- package/src/components/Quantity-Counter/index.ts +3 -0
- package/src/components/Quantity-Counter/stories/Quantity-Counter.stories.tsx +26 -0
- package/src/components/Quantity-Counter/styles/Quantity-Counter.layout.scss +18 -0
- package/src/components/Quantity-Counter/styles/Quantity-Counter.theme.scss +3 -0
- package/src/hooks/useClickOutside.ts +21 -0
- package/src/hooks/useDisableBodyScroll.ts +15 -0
- package/src/icons/index.ts +50 -0
- package/src/icons/svg/ChevronDoubleLeft.svg +4 -0
- package/src/icons/svg/ChevronDoubleRight.svg +4 -0
- package/src/icons/svg/ChevronSingleLeft.svg +3 -0
- package/src/icons/svg/ChevronSingleRight.svg +3 -0
- package/src/icons/svg/about.svg +3 -0
- package/src/icons/svg/cart.svg +5 -0
- package/src/icons/svg/dashboard.svg +13 -0
- package/src/icons/svg/delete.svg +3 -0
- package/src/icons/svg/dropdown_down.svg +3 -0
- package/src/icons/svg/dropdown_up.svg +3 -0
- package/src/icons/svg/edit.svg +4 -0
- package/src/icons/svg/home.svg +3 -0
- package/src/icons/svg/loader.svg +10 -0
- package/src/icons/svg/logout.svg +12 -0
- package/src/icons/svg/orders.svg +3 -0
- package/src/icons/svg/products.svg +11 -0
- package/src/icons/svg/profile.svg +3 -0
- package/src/icons/svg/settings.svg +3 -0
- package/src/icons/svg/star-empty.svg +3 -0
- package/src/icons/svg/star-full.svg +3 -0
- package/src/icons/svg/star-half.svg +4 -0
- package/src/icons/svg/upload.svg +4 -0
- package/src/icons/svg/users.svg +15 -0
- package/src/index.ts +35 -0
- package/src/index.tsx +6 -0
- package/src/pending_components/form/check-box/check-box.js +30 -0
- package/src/pending_components/form/check-box/check-box.scss +34 -0
- package/src/pending_components/form/clickable-button/clickable-button.js +30 -0
- package/src/pending_components/form/clickable-button/clickable-button.scss +24 -0
- package/src/pending_components/form/dropdown-select/dropdown-select.js +87 -0
- package/src/pending_components/form/dropdown-select/dropdown-select.scss +108 -0
- package/src/pending_components/form/external-links-array-input/external-link-array-input.scss +39 -0
- package/src/pending_components/form/external-links-array-input/external-links-array-input.js +234 -0
- package/src/pending_components/form/form/form.js +17 -0
- package/src/pending_components/form/form/form.scss +0 -0
- package/src/pending_components/form/form-group/form-group.js +20 -0
- package/src/pending_components/form/form-group/form-group.scss +21 -0
- package/src/pending_components/form/input-field/input-field.js +57 -0
- package/src/pending_components/form/input-field/input-field.scss +22 -0
- package/src/pending_components/form/input-file/input-file.js +124 -0
- package/src/pending_components/form/input-file/input-file.scss +76 -0
- package/src/pending_components/form/input-label/input-label.js +47 -0
- package/src/pending_components/form/input-label/input-label.scss +17 -0
- package/src/pending_components/form/radio-button/radio-button.js +37 -0
- package/src/pending_components/form/radio-button/radio-button.scss +18 -0
- package/src/pending_components/form/submit-button/submit-button.js +18 -0
- package/src/pending_components/form/submit-button/submit-button.scss +24 -0
- package/src/pending_components/form/submit-button-fixed-button/submit-button-fixed-button.js +17 -0
- package/src/pending_components/form/submit-button-fixed-button/submit-button-fixed-button.scss +23 -0
- package/src/pending_components/form/submit-button-fixed-container/submit-button-fixed-container.js +9 -0
- package/src/pending_components/form/submit-button-fixed-container/submit-button-fixed-container.scss +15 -0
- package/src/pending_components/form/text-area/text-area.js +42 -0
- package/src/pending_components/form/text-area/text-area.scss +16 -0
- package/src/styles/_defaults.scss +22 -0
- package/src/styles/_fonts.scss +153 -0
- package/src/styles/_mixins.scss +33 -0
- package/src/styles/_spacings.scss +497 -0
- package/src/styles/_transitions.scss +27 -0
- package/src/styles/_typography.scss +85 -0
- package/src/styles/_variables.scss +5 -0
- package/src/styles/fonts/Dancing_Script/OFL.txt +93 -0
- package/src/styles/fonts/Dancing_Script/README.txt +66 -0
- package/src/styles/fonts/Dancing_Script/static/DancingScript-Bold.ttf +0 -0
- package/src/styles/fonts/Dancing_Script/static/DancingScript-Medium.ttf +0 -0
- package/src/styles/fonts/Dancing_Script/static/DancingScript-Regular.ttf +0 -0
- package/src/styles/fonts/Dancing_Script/static/DancingScript-SemiBold.ttf +0 -0
- package/src/styles/fonts/Poppins/OFL.txt +93 -0
- package/src/styles/fonts/Poppins/Poppins-Black.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-BlackItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-Bold.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-BoldItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-ExtraBold.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-ExtraBoldItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-ExtraLight.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-ExtraLightItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-Italic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-Light.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-LightItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-Medium.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-MediumItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-Regular.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-SemiBold.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-SemiBoldItalic.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-Thin.ttf +0 -0
- package/src/styles/fonts/Poppins/Poppins-ThinItalic.ttf +0 -0
- package/src/styles/global.scss +113 -0
- package/src/styles/vars/_colors.scss +48 -0
- package/src/styles/vars/_fontSizes.scss +10 -0
- package/src/styles/vars/_layout.scss +67 -0
- package/src/styles/vars/_palette.scss +27 -0
- package/src/styles/vars/_transitions.scss +2 -0
- package/src/styles/vars_and_mixins.scss +2 -0
- package/src/types/IComponent.ts +9 -0
- package/src/types/IImageObject.ts +4 -0
- package/src/types/ILink.ts +4 -0
- package/src/types/IProduct.ts +6 -0
- package/src/types/ISpacingsProps.ts +28 -0
- package/src/types/ImageClickable.ts +3 -0
- package/src/types/Theme.ts +10 -0
- package/src/utils/arrays.ts +3 -0
- package/src/utils/styles.ts +128 -0
- package/src/utils/validations.ts +23 -0
- package/tsconfig.json +24 -0
- package/tslint.json +36 -0
- package/webpack.config.js +79 -0
- package/webpack.prod.js +24 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Global CSS Styles should ONLY be imported in [global.scss]
|
|
3
|
+
*/
|
|
4
|
+
@use "vars/colors" as *;
|
|
5
|
+
|
|
6
|
+
// should be "light" or "dark"
|
|
7
|
+
@mixin theme_nature($theme: "light") {
|
|
8
|
+
@if ($theme == "light") {
|
|
9
|
+
color: $fc-dark;
|
|
10
|
+
} @else if ($theme == "dark") {
|
|
11
|
+
color: $fc-light;
|
|
12
|
+
} @else {
|
|
13
|
+
color: inherit;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* [background-color] does not work with linea-gradient css prop.
|
|
19
|
+
* Therefore, we are using [background]
|
|
20
|
+
*/
|
|
21
|
+
@mixin use_theme($background_color, $nature: "light") {
|
|
22
|
+
@if ($background_color) {
|
|
23
|
+
background: $background_color;
|
|
24
|
+
@include theme_nature($nature);
|
|
25
|
+
} @else {
|
|
26
|
+
background: $bg-theme-light-default;
|
|
27
|
+
@include theme_nature("light");
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin box_shadow_default {
|
|
32
|
+
box-shadow: 0px 2px 15px rgba(34, 60, 102, 0.2);
|
|
33
|
+
}
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Global CSS Styles should ONLY be imported in [global.scss]
|
|
3
|
+
*/
|
|
4
|
+
@use "vars/layout" as *;
|
|
5
|
+
/******************************
|
|
6
|
+
* MARGINS
|
|
7
|
+
*******************************/
|
|
8
|
+
/* margin all */
|
|
9
|
+
.spacing-ma-0 {
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
.spacing-ma-auto {
|
|
13
|
+
margin: auto;
|
|
14
|
+
}
|
|
15
|
+
.spacing-ma-1 {
|
|
16
|
+
margin: $margin-xxxsmall;
|
|
17
|
+
}
|
|
18
|
+
.spacing-ma-2 {
|
|
19
|
+
margin: $margin-xxsmall;
|
|
20
|
+
}
|
|
21
|
+
.spacing-ma-3 {
|
|
22
|
+
margin: $margin-xsmall;
|
|
23
|
+
}
|
|
24
|
+
.spacing-ma-4 {
|
|
25
|
+
margin: $margin-small;
|
|
26
|
+
}
|
|
27
|
+
.spacing-ma-5 {
|
|
28
|
+
margin: $margin-medium;
|
|
29
|
+
}
|
|
30
|
+
.spacing-ma-6 {
|
|
31
|
+
margin: $margin-large;
|
|
32
|
+
}
|
|
33
|
+
.spacing-ma-7 {
|
|
34
|
+
margin: $margin-xlarge;
|
|
35
|
+
}
|
|
36
|
+
.spacing-ma-8 {
|
|
37
|
+
margin: $margin-xxlarge;
|
|
38
|
+
}
|
|
39
|
+
.spacing-ma-9 {
|
|
40
|
+
margin: $margin-xxxlarge;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* margin vertical */
|
|
44
|
+
.spacing-mv-0 {
|
|
45
|
+
margin-top: 0;
|
|
46
|
+
margin-bottom: 0;
|
|
47
|
+
}
|
|
48
|
+
.spacing-mv-1 {
|
|
49
|
+
margin-top: $margin-xxxsmall;
|
|
50
|
+
margin-bottom: $margin-xxxsmall;
|
|
51
|
+
}
|
|
52
|
+
.spacing-mv-2 {
|
|
53
|
+
margin-top: $margin-xxsmall;
|
|
54
|
+
margin-bottom: $margin-xxsmall;
|
|
55
|
+
}
|
|
56
|
+
.spacing-mv-3 {
|
|
57
|
+
margin-top: $margin-xsmall;
|
|
58
|
+
margin-bottom: $margin-xsmall;
|
|
59
|
+
}
|
|
60
|
+
.spacing-mv-4 {
|
|
61
|
+
margin-top: $margin-small;
|
|
62
|
+
margin-bottom: $margin-small;
|
|
63
|
+
}
|
|
64
|
+
.spacing-mv-5 {
|
|
65
|
+
margin-top: $margin-medium;
|
|
66
|
+
margin-bottom: $margin-medium;
|
|
67
|
+
}
|
|
68
|
+
.spacing-mv-6 {
|
|
69
|
+
margin-top: $margin-large;
|
|
70
|
+
margin-bottom: $margin-large;
|
|
71
|
+
}
|
|
72
|
+
.spacing-mv-7 {
|
|
73
|
+
margin-top: $margin-xlarge;
|
|
74
|
+
margin-bottom: $margin-xlarge;
|
|
75
|
+
}
|
|
76
|
+
.spacing-mv-8 {
|
|
77
|
+
margin-top: $margin-xxlarge;
|
|
78
|
+
margin-bottom: $margin-xxlarge;
|
|
79
|
+
}
|
|
80
|
+
.spacing-mv-9 {
|
|
81
|
+
margin-top: $margin-xxxlarge;
|
|
82
|
+
margin-bottom: $margin-xxxlarge;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* margin horizontal */
|
|
86
|
+
.spacing-mh-center {
|
|
87
|
+
margin-left: auto;
|
|
88
|
+
margin-right: auto;
|
|
89
|
+
}
|
|
90
|
+
.spacing-mh-0 {
|
|
91
|
+
margin-left: 0;
|
|
92
|
+
margin-right: 0;
|
|
93
|
+
}
|
|
94
|
+
.spacing-mh-1 {
|
|
95
|
+
margin-right: $margin-xxxsmall;
|
|
96
|
+
margin-left: $margin-xxxsmall;
|
|
97
|
+
}
|
|
98
|
+
.spacing-mh-2 {
|
|
99
|
+
margin-right: $margin-xxsmall;
|
|
100
|
+
margin-left: $margin-xxsmall;
|
|
101
|
+
}
|
|
102
|
+
.spacing-mh-3 {
|
|
103
|
+
margin-right: $margin-xsmall;
|
|
104
|
+
margin-left: $margin-xsmall;
|
|
105
|
+
}
|
|
106
|
+
.spacing-mh-4 {
|
|
107
|
+
margin-right: $margin-small;
|
|
108
|
+
margin-left: $margin-small;
|
|
109
|
+
}
|
|
110
|
+
.spacing-mh-5 {
|
|
111
|
+
margin-right: $margin-medium;
|
|
112
|
+
margin-left: $margin-medium;
|
|
113
|
+
}
|
|
114
|
+
.spacing-mh-6 {
|
|
115
|
+
margin-right: $margin-large;
|
|
116
|
+
margin-left: $margin-large;
|
|
117
|
+
}
|
|
118
|
+
.spacing-mh-7 {
|
|
119
|
+
margin-right: $margin-xlarge;
|
|
120
|
+
margin-left: $margin-xlarge;
|
|
121
|
+
}
|
|
122
|
+
.spacing-mh-8 {
|
|
123
|
+
margin-right: $margin-xxlarge;
|
|
124
|
+
margin-left: $margin-xxlarge;
|
|
125
|
+
}
|
|
126
|
+
.spacing-mh-9 {
|
|
127
|
+
margin-right: $margin-xxxlarge;
|
|
128
|
+
margin-left: $margin-xxxlarge;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* margin top */
|
|
132
|
+
.spacing-mt-0 {
|
|
133
|
+
margin-top: 0;
|
|
134
|
+
}
|
|
135
|
+
.spacing-mt-1 {
|
|
136
|
+
margin-top: $margin-xxxsmall;
|
|
137
|
+
}
|
|
138
|
+
.spacing-mt-2 {
|
|
139
|
+
margin-top: $margin-xxsmall;
|
|
140
|
+
}
|
|
141
|
+
.spacing-mt-3 {
|
|
142
|
+
margin-top: $margin-xsmall;
|
|
143
|
+
}
|
|
144
|
+
.spacing-mt-4 {
|
|
145
|
+
margin-top: $margin-small;
|
|
146
|
+
}
|
|
147
|
+
.spacing-mt-5 {
|
|
148
|
+
margin-top: $margin-medium;
|
|
149
|
+
}
|
|
150
|
+
.spacing-mt-6 {
|
|
151
|
+
margin-top: $margin-large;
|
|
152
|
+
}
|
|
153
|
+
.spacing-mt-7 {
|
|
154
|
+
margin-top: $margin-xlarge;
|
|
155
|
+
}
|
|
156
|
+
.spacing-mt-8 {
|
|
157
|
+
margin-top: $margin-xxlarge;
|
|
158
|
+
}
|
|
159
|
+
.spacing-mt-9 {
|
|
160
|
+
margin-top: $margin-xxxlarge;
|
|
161
|
+
}
|
|
162
|
+
/* margin right */
|
|
163
|
+
.spacing-mr-0 {
|
|
164
|
+
margin-right: 0;
|
|
165
|
+
}
|
|
166
|
+
.spacing-mr-1 {
|
|
167
|
+
margin-right: $margin-xxxsmall;
|
|
168
|
+
}
|
|
169
|
+
.spacing-mr-2 {
|
|
170
|
+
margin-right: $margin-xxsmall;
|
|
171
|
+
}
|
|
172
|
+
.spacing-mr-3 {
|
|
173
|
+
margin-right: $margin-xsmall;
|
|
174
|
+
}
|
|
175
|
+
.spacing-mr-4 {
|
|
176
|
+
margin-right: $margin-small;
|
|
177
|
+
}
|
|
178
|
+
.spacing-mr-5 {
|
|
179
|
+
margin-right: $margin-medium;
|
|
180
|
+
}
|
|
181
|
+
.spacing-mr-6 {
|
|
182
|
+
margin-right: $margin-large;
|
|
183
|
+
}
|
|
184
|
+
.spacing-mr-7 {
|
|
185
|
+
margin-right: $margin-xlarge;
|
|
186
|
+
}
|
|
187
|
+
.spacing-mr-8 {
|
|
188
|
+
margin-right: $margin-xxlarge;
|
|
189
|
+
}
|
|
190
|
+
.spacing-mr-9 {
|
|
191
|
+
margin-right: $margin-xxxlarge;
|
|
192
|
+
}
|
|
193
|
+
/* margin left */
|
|
194
|
+
.spacing-ml-0 {
|
|
195
|
+
margin-left: 0;
|
|
196
|
+
}
|
|
197
|
+
.spacing-ml-1 {
|
|
198
|
+
margin-left: $margin-xxxsmall;
|
|
199
|
+
}
|
|
200
|
+
.spacing-ml-2 {
|
|
201
|
+
margin-left: $margin-xxsmall;
|
|
202
|
+
}
|
|
203
|
+
.spacing-ml-3 {
|
|
204
|
+
margin-left: $margin-xsmall;
|
|
205
|
+
}
|
|
206
|
+
.spacing-ml-4 {
|
|
207
|
+
margin-left: $margin-small;
|
|
208
|
+
}
|
|
209
|
+
.spacing-ml-5 {
|
|
210
|
+
margin-left: $margin-medium;
|
|
211
|
+
}
|
|
212
|
+
.spacing-ml-6 {
|
|
213
|
+
margin-left: $margin-large;
|
|
214
|
+
}
|
|
215
|
+
.spacing-ml-7 {
|
|
216
|
+
margin-left: $margin-xlarge;
|
|
217
|
+
}
|
|
218
|
+
.spacing-ml-8 {
|
|
219
|
+
margin-left: $margin-xxlarge;
|
|
220
|
+
}
|
|
221
|
+
.spacing-ml-9 {
|
|
222
|
+
margin-left: $margin-xxxlarge;
|
|
223
|
+
}
|
|
224
|
+
/* margin bottom */
|
|
225
|
+
.spacing-mb-0 {
|
|
226
|
+
margin-bottom: 0;
|
|
227
|
+
}
|
|
228
|
+
.spacing-mb-1 {
|
|
229
|
+
margin-bottom: $margin-xxxsmall;
|
|
230
|
+
}
|
|
231
|
+
.spacing-mb-2 {
|
|
232
|
+
margin-bottom: $margin-xxsmall;
|
|
233
|
+
}
|
|
234
|
+
.spacing-mb-3 {
|
|
235
|
+
margin-bottom: $margin-xsmall;
|
|
236
|
+
}
|
|
237
|
+
.spacing-mb-4 {
|
|
238
|
+
margin-bottom: $margin-small;
|
|
239
|
+
}
|
|
240
|
+
.spacing-mb-5 {
|
|
241
|
+
margin-bottom: $margin-medium;
|
|
242
|
+
}
|
|
243
|
+
.spacing-mb-6 {
|
|
244
|
+
margin-bottom: $margin-large;
|
|
245
|
+
}
|
|
246
|
+
.spacing-mb-7 {
|
|
247
|
+
margin-bottom: $margin-xlarge;
|
|
248
|
+
}
|
|
249
|
+
.spacing-mb-8 {
|
|
250
|
+
margin-bottom: $margin-xxlarge;
|
|
251
|
+
}
|
|
252
|
+
.spacing-mb-9 {
|
|
253
|
+
margin-bottom: $margin-xxxlarge;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/******************************
|
|
257
|
+
* PADDINGS
|
|
258
|
+
*******************************/
|
|
259
|
+
/* padding all */
|
|
260
|
+
.spacing-pa-0 {
|
|
261
|
+
padding: 0;
|
|
262
|
+
}
|
|
263
|
+
.spacing-pa-1 {
|
|
264
|
+
padding: $padding-xxxsmall;
|
|
265
|
+
}
|
|
266
|
+
.spacing-pa-2 {
|
|
267
|
+
padding: $padding-xxsmall;
|
|
268
|
+
}
|
|
269
|
+
.spacing-pa-3 {
|
|
270
|
+
padding: $padding-xsmall;
|
|
271
|
+
}
|
|
272
|
+
.spacing-pa-4 {
|
|
273
|
+
padding: $padding-small;
|
|
274
|
+
}
|
|
275
|
+
.spacing-pa-5 {
|
|
276
|
+
padding: $padding-medium;
|
|
277
|
+
}
|
|
278
|
+
.spacing-pa-6 {
|
|
279
|
+
padding: $padding-large;
|
|
280
|
+
}
|
|
281
|
+
.spacing-pa-7 {
|
|
282
|
+
padding: $padding-xlarge;
|
|
283
|
+
}
|
|
284
|
+
.spacing-pa-8 {
|
|
285
|
+
padding: $padding-xxlarge;
|
|
286
|
+
}
|
|
287
|
+
.spacing-pa-9 {
|
|
288
|
+
padding: $padding-xxxlarge;
|
|
289
|
+
}
|
|
290
|
+
/* padding vertical */
|
|
291
|
+
.spacing-pv-0 {
|
|
292
|
+
padding-top: 0;
|
|
293
|
+
padding-bottom: 0;
|
|
294
|
+
}
|
|
295
|
+
.spacing-pv-1 {
|
|
296
|
+
padding-top: $padding-xxxsmall;
|
|
297
|
+
padding-bottom: $padding-xxxsmall;
|
|
298
|
+
}
|
|
299
|
+
.spacing-pv-2 {
|
|
300
|
+
padding-top: $padding-xxsmall;
|
|
301
|
+
padding-bottom: $padding-xxsmall;
|
|
302
|
+
}
|
|
303
|
+
.spacing-pv-3 {
|
|
304
|
+
padding-top: $padding-xsmall;
|
|
305
|
+
padding-bottom: $padding-xsmall;
|
|
306
|
+
}
|
|
307
|
+
.spacing-pv-4 {
|
|
308
|
+
padding-top: $padding-small;
|
|
309
|
+
padding-bottom: $padding-small;
|
|
310
|
+
}
|
|
311
|
+
.spacing-pv-5 {
|
|
312
|
+
padding-top: $padding-medium;
|
|
313
|
+
padding-bottom: $padding-medium;
|
|
314
|
+
}
|
|
315
|
+
.spacing-pv-6 {
|
|
316
|
+
padding-top: $padding-large;
|
|
317
|
+
padding-bottom: $padding-large;
|
|
318
|
+
}
|
|
319
|
+
.spacing-pv-7 {
|
|
320
|
+
padding-top: $padding-xlarge;
|
|
321
|
+
padding-bottom: $padding-xlarge;
|
|
322
|
+
}
|
|
323
|
+
.spacing-pv-8 {
|
|
324
|
+
padding-top: $padding-xxlarge;
|
|
325
|
+
padding-bottom: $padding-xxlarge;
|
|
326
|
+
}
|
|
327
|
+
.spacing-pv-9 {
|
|
328
|
+
padding-top: $padding-xxxlarge;
|
|
329
|
+
padding-bottom: $padding-xxxlarge;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* padding horizontal */
|
|
333
|
+
.spacing-ph-0 {
|
|
334
|
+
padding-right: 0;
|
|
335
|
+
padding-left: 0;
|
|
336
|
+
}
|
|
337
|
+
.spacing-ph-1 {
|
|
338
|
+
padding-right: $padding-xxxsmall;
|
|
339
|
+
padding-left: $padding-xxxsmall;
|
|
340
|
+
}
|
|
341
|
+
.spacing-ph-2 {
|
|
342
|
+
padding-right: $padding-xxsmall;
|
|
343
|
+
padding-left: $padding-xxsmall;
|
|
344
|
+
}
|
|
345
|
+
.spacing-ph-3 {
|
|
346
|
+
padding-right: $padding-xsmall;
|
|
347
|
+
padding-left: $padding-xsmall;
|
|
348
|
+
}
|
|
349
|
+
.spacing-ph-4 {
|
|
350
|
+
padding-right: $padding-small;
|
|
351
|
+
padding-left: $padding-small;
|
|
352
|
+
}
|
|
353
|
+
.spacing-ph-5 {
|
|
354
|
+
padding-right: $padding-medium;
|
|
355
|
+
padding-left: $padding-medium;
|
|
356
|
+
}
|
|
357
|
+
.spacing-ph-6 {
|
|
358
|
+
padding-right: $padding-large;
|
|
359
|
+
padding-left: $padding-large;
|
|
360
|
+
}
|
|
361
|
+
.spacing-ph-7 {
|
|
362
|
+
padding-right: $padding-xlarge;
|
|
363
|
+
padding-left: $padding-xlarge;
|
|
364
|
+
}
|
|
365
|
+
.spacing-ph-8 {
|
|
366
|
+
padding-right: $padding-xxlarge;
|
|
367
|
+
padding-left: $padding-xxlarge;
|
|
368
|
+
}
|
|
369
|
+
.spacing-ph-9 {
|
|
370
|
+
padding-right: $padding-xxxlarge;
|
|
371
|
+
padding-left: $padding-xxxlarge;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* padding top */
|
|
375
|
+
.spacing-pt-0 {
|
|
376
|
+
padding-top: 0;
|
|
377
|
+
}
|
|
378
|
+
.spacing-pt-1 {
|
|
379
|
+
padding-top: $padding-xxxsmall;
|
|
380
|
+
}
|
|
381
|
+
.spacing-pt-2 {
|
|
382
|
+
padding-top: $padding-xxsmall;
|
|
383
|
+
}
|
|
384
|
+
.spacing-pt-3 {
|
|
385
|
+
padding-top: $padding-xsmall;
|
|
386
|
+
}
|
|
387
|
+
.spacing-pt-4 {
|
|
388
|
+
padding-top: $padding-small;
|
|
389
|
+
}
|
|
390
|
+
.spacing-pt-5 {
|
|
391
|
+
padding-top: $padding-medium;
|
|
392
|
+
}
|
|
393
|
+
.spacing-pt-6 {
|
|
394
|
+
padding-top: $padding-large;
|
|
395
|
+
}
|
|
396
|
+
.spacing-pt-7 {
|
|
397
|
+
padding-top: $padding-xlarge;
|
|
398
|
+
}
|
|
399
|
+
.spacing-pt-8 {
|
|
400
|
+
padding-top: $padding-xxlarge;
|
|
401
|
+
}
|
|
402
|
+
.spacing-pt-9 {
|
|
403
|
+
padding-top: $padding-xxxlarge;
|
|
404
|
+
}
|
|
405
|
+
/* padding right */
|
|
406
|
+
.spacing-pr-0 {
|
|
407
|
+
padding-right: 0;
|
|
408
|
+
}
|
|
409
|
+
.spacing-pr-1 {
|
|
410
|
+
padding-right: $padding-xxxsmall;
|
|
411
|
+
}
|
|
412
|
+
.spacing-pr-2 {
|
|
413
|
+
padding-right: $padding-xxsmall;
|
|
414
|
+
}
|
|
415
|
+
.spacing-pr-3 {
|
|
416
|
+
padding-right: $padding-xsmall;
|
|
417
|
+
}
|
|
418
|
+
.spacing-pr-4 {
|
|
419
|
+
padding-right: $padding-small;
|
|
420
|
+
}
|
|
421
|
+
.spacing-pr-5 {
|
|
422
|
+
padding-right: $padding-medium;
|
|
423
|
+
}
|
|
424
|
+
.spacing-pr-6 {
|
|
425
|
+
padding-right: $padding-large;
|
|
426
|
+
}
|
|
427
|
+
.spacing-pr-7 {
|
|
428
|
+
padding-right: $padding-xlarge;
|
|
429
|
+
}
|
|
430
|
+
.spacing-pr-8 {
|
|
431
|
+
padding-right: $padding-xxlarge;
|
|
432
|
+
}
|
|
433
|
+
.spacing-pr-9 {
|
|
434
|
+
padding-right: $padding-xxxlarge;
|
|
435
|
+
}
|
|
436
|
+
/* padding left */
|
|
437
|
+
.spacing-pl-0 {
|
|
438
|
+
padding-left: 0;
|
|
439
|
+
}
|
|
440
|
+
.spacing-pl-1 {
|
|
441
|
+
padding-left: $padding-xxxsmall;
|
|
442
|
+
}
|
|
443
|
+
.spacing-pl-2 {
|
|
444
|
+
padding-left: $padding-xxsmall;
|
|
445
|
+
}
|
|
446
|
+
.spacing-pl-3 {
|
|
447
|
+
padding-left: $padding-xsmall;
|
|
448
|
+
}
|
|
449
|
+
.spacing-pl-4 {
|
|
450
|
+
padding-left: $padding-small;
|
|
451
|
+
}
|
|
452
|
+
.spacing-pl-5 {
|
|
453
|
+
padding-left: $padding-medium;
|
|
454
|
+
}
|
|
455
|
+
.spacing-pl-6 {
|
|
456
|
+
padding-left: $padding-large;
|
|
457
|
+
}
|
|
458
|
+
.spacing-pl-7 {
|
|
459
|
+
padding-left: $padding-xlarge;
|
|
460
|
+
}
|
|
461
|
+
.spacing-pl-8 {
|
|
462
|
+
padding-left: $padding-xxlarge;
|
|
463
|
+
}
|
|
464
|
+
.spacing-pl-9 {
|
|
465
|
+
padding-left: $padding-xxxlarge;
|
|
466
|
+
}
|
|
467
|
+
/* padding bottom */
|
|
468
|
+
.spacing-pb-0 {
|
|
469
|
+
padding-bottom: 0;
|
|
470
|
+
}
|
|
471
|
+
.spacing-pb-1 {
|
|
472
|
+
padding-bottom: $padding-xxxsmall;
|
|
473
|
+
}
|
|
474
|
+
.spacing-pb-2 {
|
|
475
|
+
padding-bottom: $padding-xxsmall;
|
|
476
|
+
}
|
|
477
|
+
.spacing-pb-3 {
|
|
478
|
+
padding-bottom: $padding-xsmall;
|
|
479
|
+
}
|
|
480
|
+
.spacing-pb-4 {
|
|
481
|
+
padding-bottom: $padding-small;
|
|
482
|
+
}
|
|
483
|
+
.spacing-pb-5 {
|
|
484
|
+
padding-bottom: $padding-medium;
|
|
485
|
+
}
|
|
486
|
+
.spacing-pb-6 {
|
|
487
|
+
padding-bottom: $padding-large;
|
|
488
|
+
}
|
|
489
|
+
.spacing-pb-7 {
|
|
490
|
+
padding-bottom: $padding-xlarge;
|
|
491
|
+
}
|
|
492
|
+
.spacing-pb-8 {
|
|
493
|
+
padding-bottom: $padding-xxlarge;
|
|
494
|
+
}
|
|
495
|
+
.spacing-pb-9 {
|
|
496
|
+
padding-bottom: $padding-xxxlarge;
|
|
497
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Global CSS Styles should ONLY be imported in [global.scss]
|
|
3
|
+
*/
|
|
4
|
+
.spin {
|
|
5
|
+
animation: rotate 1.5s linear infinite;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.slideFromLeft {
|
|
9
|
+
transition-property: transform;
|
|
10
|
+
transition-duration: 0.5s;
|
|
11
|
+
transition-timing-function: ease;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.appear {
|
|
15
|
+
transition-property: opacity;
|
|
16
|
+
transition-duration: 0.3s;
|
|
17
|
+
transition-timing-function: ease;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@keyframes rotate {
|
|
21
|
+
from {
|
|
22
|
+
transform: rotate(0);
|
|
23
|
+
}
|
|
24
|
+
to {
|
|
25
|
+
transform: rotate(360deg);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Global CSS Styles should ONLY be imported in [global.scss]
|
|
3
|
+
*/
|
|
4
|
+
@use "variables" as *;
|
|
5
|
+
|
|
6
|
+
body {
|
|
7
|
+
line-height: 18px;
|
|
8
|
+
font-size: $font-size-default;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
h1 {
|
|
12
|
+
font-size: 26px;
|
|
13
|
+
line-height: 34px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h2 {
|
|
17
|
+
font-size: 20px;
|
|
18
|
+
line-height: 26px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
h3 {
|
|
22
|
+
font-size: 18px;
|
|
23
|
+
line-height: 23px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
h4 {
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
line-height: 21px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h5 {
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
line-height: 18px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
p {
|
|
37
|
+
margin-block-start: 0;
|
|
38
|
+
margin-block-end: 0;
|
|
39
|
+
margin-inline-start: 0;
|
|
40
|
+
margin-inline-end: 0;
|
|
41
|
+
font-size: $font-size-default;
|
|
42
|
+
line-height: 18px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
label {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
color: $fc-dark;
|
|
48
|
+
font-size: $font-size-default;
|
|
49
|
+
line-height: 18px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.title {
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
font-size: $font-size-7;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.heading {
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
font-size: $font-size-4;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sub_heading {
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
font-size: $font-size-4;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.loader_text {
|
|
68
|
+
font-size: 18px;
|
|
69
|
+
font-weight: normal;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.truncate {
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.button_text {
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
font-size: $font-size-default;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.bold {
|
|
84
|
+
font-weight: 600;
|
|
85
|
+
}
|