@asantemedia-org/edwardsvacuum-design-system 1.6.28 → 1.6.30
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 +123 -123
- package/dist/fonts/calibri.ttf +0 -0
- package/dist/fonts/calibrib.ttf +0 -0
- package/dist/fonts/calibril.ttf +0 -0
- package/dist/index.css +167 -24
- package/dist/index.esm.css +167 -24
- package/dist/index.esm.js +156 -76
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +191 -104
- package/dist/index.js.map +1 -1
- package/dist/index.scss +167 -24
- package/dist/{src/stories → stories}/components/Button/Button.d.ts +1 -1
- package/dist/{src/stories → stories}/components/Card/card.d.ts +0 -1
- package/dist/{src/stories → stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search.d.ts +1 -0
- package/dist/{src/stories → stories}/experiences/QRFormJourney/Qr-form/Qr-form.d.ts +1 -6
- package/dist/stories/experiences/QRFormJourney/Qr-form/i18n.d.ts +29 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/helpers/isMobile.d.ts +1 -0
- package/package.json +118 -118
- package/types/@asantemedia-org__edwardsvacuum-design-system.d.ts +5 -5
- package/types/assets.d.ts +13 -13
- package/dist/.next/types/app/api/hello/route.d.ts +0 -9
- package/dist/.next/types/app/layout.d.ts +0 -9
- package/dist/.next/types/app/page.d.ts +0 -9
- /package/dist/{src/app → app}/api/hello/route.d.ts +0 -0
- /package/dist/{src/app → app}/layout.d.ts +0 -0
- /package/dist/{src/app → app}/page.d.ts +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/checkbox/checkbox.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/checkbox/checkbox.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/input/input.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/input/input.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/select/script.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/select/select.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/select/select.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/text/counrty-selector.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/text/text.d.ts +0 -0
- /package/dist/{src/stories → stories}/atoms/forms/text/text.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/AccordionSection/AccordionSection.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/AccordionSection/index.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Banner/Banner.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Banner/Banner.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Banner/banner.dialog.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Banner/banner.html.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Button/Button.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Card/card.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Card/card.types.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Expert-banner/expert.banner.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Expert-banner/expert.banner.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Pagination/pagination.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Pagination/pagination.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Pagination/pagination.utils.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Popup/Popup.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Popup/Popup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Popup/icons/ChevronDown.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Popup/icons/Close.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Popup/popup.dialog.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Popup/popup.html.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Video/Video.d.ts +0 -0
- /package/dist/{src/stories → stories}/components/Video/Video.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Accordion/accordion.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Accordion/accordion.item.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Accordion/accordion.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Accordion/accordion.types.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Accordion/scripts.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search-base.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Anchor/anchor.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Anchor/anchor.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Brand-promise-paragraph/Brand.promise.paragraph.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Brand-promise-paragraph/Brand.promise.paragraph.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Breadcrumb/breadcrumb.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Breadcrumb/breadcrumb.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Careers-search/careers-search-results-item.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Careers-search/careers-search-results.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Careers-search/careers-search.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Careers-search/careers-search.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Carousel/dynamic/carousel.dynamic.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Carousel/dynamic/carousel.dynamic.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Carousel/static/carousel.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Carousel/static/carousel.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Carousel/utils/NextArrow.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Carousel/utils/PrevArrow.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Download/download-item.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Download/download-library.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Download/download.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Dynamic-list/dynamic.list.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Dynamic-list/dynamic.list.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Faq/faq.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Faq/faq.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Footer/footer-links/footer.links.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Footer/footer-socials/footer.socials.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Footer/footer-subfooter/footer.subfooter.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Footer/footer.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Footer/footer.model.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Footer/footer.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header-brand/header.brand.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header-button/header.button.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header-lang/header.language.switcher.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header-megamenu/header.megamenu.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header-nav/header.nav.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header-search/header.search.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header.content.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/header.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/scripts.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header/toggle.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header-twentytwentyfour/button.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header-twentytwentyfour/header.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header-twentytwentyfour/header.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Header-twentytwentyfour/list.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-cards/InteractiveCards.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-cards/InteractiveCards.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-cards/icons/ArrowRight.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-cards/icons/ChevronDown.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-cards/icons/Close.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-container/InteractiveContainer.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-container/InteractiveContainer.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-container/utils/ScrollAnimator.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-group/InteractiveGroup.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-group/InteractiveGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-map/Map.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Interactive-map/Map.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Menu/menu.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Menu/menu.model.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Menu/menu.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Menu/scripts.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Numbers/card.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Numbers/numbers.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Numbers/numbers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/QRFormJourney/FormFieldType.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/QRFormJourney/Qr-form/Qr-form.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/QRFormJourney/Qr-form-field/Qr-form-field.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Quote/quote.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Quote/quote.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Tabs/tabs.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Tabs/tabs.scroll.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Tabs/tabs.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Video-playlist/Video.playlist.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Video-playlist/Video.playlist.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Video-playlist/video.playlist.dialog.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/Video-playlist/video.playlist.html.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/market-picker-prompt/Market.picker.prompt.d.ts +0 -0
- /package/dist/{src/stories → stories}/experiences/market-picker-prompt/Market.picker.prompt.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/structure/page/page.dialog.d.ts +0 -0
- /package/dist/{src/stories → stories}/structure/page/page.html.d.ts +0 -0
- /package/dist/{src/stories → stories}/templates/content.d.ts +0 -0
- /package/dist/{src/stories → stories}/templates/content.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/templates/product.d.ts +0 -0
- /package/dist/{src/stories → stories}/templates/product.stories.d.ts +0 -0
- /package/dist/{src/utils → utils}/components/anchor.links.d.ts +0 -0
- /package/dist/{src/utils → utils}/components/anchor.links.script.d.ts +0 -0
- /package/dist/{src/utils → utils}/components/swatch.d.ts +0 -0
- /package/dist/{src/utils → utils}/components/type.d.ts +0 -0
- /package/dist/{src/utils → utils}/content/content.demo.d.ts +0 -0
- /package/dist/{src/utils → utils}/content/content.model.d.ts +0 -0
- /package/dist/{src/utils → utils}/fontawesome/fac-edwardsicons.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
# EdwardsVacuum Design System
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
The **EdwardsVacuum Design System** is a comprehensive design system built to streamline the development of consistent and reusable UI components for the EdwardsVacuum project. This project is built using Next.js, Storybook, and various supporting libraries and tools.
|
|
6
|
-
|
|
7
|
-
## Project Structure
|
|
8
|
-
|
|
9
|
-
The project is organized with the following key scripts and dependencies:
|
|
10
|
-
|
|
11
|
-
- **Next.js** for server-side rendering and building the design system.
|
|
12
|
-
- **Storybook** for developing and showcasing UI components in isolation.
|
|
13
|
-
- **FontAwesome** for incorporating scalable vector icons and social logos.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Prerequisites
|
|
17
|
-
|
|
18
|
-
Before running this project, ensure you have the following:
|
|
19
|
-
|
|
20
|
-
1. **Node.js** installed.
|
|
21
|
-
2. **Yarn** or **npm** as your package manager.
|
|
22
|
-
|
|
23
|
-
## Installation
|
|
24
|
-
|
|
25
|
-
To get started, clone the repository and install the required dependencies:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
git clone <repository_url>
|
|
29
|
-
cd edwardsvacuum-design-system
|
|
30
|
-
yarn install
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Environment Setup
|
|
34
|
-
|
|
35
|
-
This project requires an environment variable for FontAwesome to function correctly. The `FONTAWESOME_PACKAGE_TOKEN` is required for accessing FontAwesome Pro icons.
|
|
36
|
-
|
|
37
|
-
### Setting Up the Token
|
|
38
|
-
|
|
39
|
-
You can obtain the `FONTAWESOME_PACKAGE_TOKEN` by contacting [bernard@asantemedia.co.uk](mailto:bernard@asantemedia.co.uk).
|
|
40
|
-
|
|
41
|
-
Once you have the token, set it in your environment:
|
|
42
|
-
|
|
43
|
-
1. **Locally**:
|
|
44
|
-
Add it to your terminal session:
|
|
45
|
-
```bash
|
|
46
|
-
export FONTAWESOME_PACKAGE_TOKEN=your_token_here
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Replace `your_token_here` with the actual token.
|
|
50
|
-
|
|
51
|
-
## Scripts
|
|
52
|
-
|
|
53
|
-
The following scripts are available in the project:
|
|
54
|
-
|
|
55
|
-
- **Lint**:
|
|
56
|
-
```bash
|
|
57
|
-
npm run lint
|
|
58
|
-
```
|
|
59
|
-
Runs ESLint to analyze the code for potential errors.
|
|
60
|
-
|
|
61
|
-
- **Storybook**:
|
|
62
|
-
```bash
|
|
63
|
-
npm run storybook
|
|
64
|
-
```
|
|
65
|
-
Starts the Storybook development server.
|
|
66
|
-
|
|
67
|
-
- **Build Storybook**:
|
|
68
|
-
```bash
|
|
69
|
-
npm run build-storybook
|
|
70
|
-
```
|
|
71
|
-
Builds the Storybook static files.
|
|
72
|
-
|
|
73
|
-
- **AEM Integration**:
|
|
74
|
-
- **Build AEM Dialogs**:
|
|
75
|
-
```bash
|
|
76
|
-
npm run build-aem-dialogs
|
|
77
|
-
```
|
|
78
|
-
Generates AEM component dialogs.
|
|
79
|
-
|
|
80
|
-
- **Copy Static AEM Files**:
|
|
81
|
-
```bash
|
|
82
|
-
npm run copy-static-aem-files
|
|
83
|
-
```
|
|
84
|
-
Copies the necessary static files for AEM integration.
|
|
85
|
-
|
|
86
|
-
- **Clean AEM**:
|
|
87
|
-
```bash
|
|
88
|
-
npm run aem-clean
|
|
89
|
-
```
|
|
90
|
-
Cleans the target location for AEM deployment.
|
|
91
|
-
|
|
92
|
-
- **Install AEM**:
|
|
93
|
-
```bash
|
|
94
|
-
npm run aem-install
|
|
95
|
-
```
|
|
96
|
-
Builds and copies AEM dialogs and static files.
|
|
97
|
-
|
|
98
|
-
- **Clean & Install AEM**:
|
|
99
|
-
```bash
|
|
100
|
-
npm run aem-clean-install
|
|
101
|
-
```
|
|
102
|
-
Cleans and installs AEM files in one command.
|
|
103
|
-
|
|
104
|
-
- **Chromatic**:
|
|
105
|
-
```bash
|
|
106
|
-
npm run chromatic
|
|
107
|
-
```
|
|
108
|
-
Publishes Storybook to Chromatic for visual regression testing.
|
|
109
|
-
|
|
110
|
-
## CI/CD Implementation
|
|
111
|
-
|
|
112
|
-
The project is set up with a CI/CD pipeline that triggers deployments only on merges to the `development` branch. This ensures that changes are properly reviewed and tested before being deployed to production. If new dependencies are added, the project will require a manual deployment to update the dependencies in the develoment environment.
|
|
113
|
-
|
|
114
|
-
## License
|
|
115
|
-
|
|
116
|
-
This project is currently **UNLICENSED** and is intended for internal use only. Redistribution or use outside the intended context is prohibited.
|
|
117
|
-
|
|
118
|
-
## Contribution
|
|
119
|
-
|
|
120
|
-
Please follow the project's contribution guidelines when contributing to this repository. Ensure all changes are made in feature branches and are merged into the `development` branch via pull requests.
|
|
121
|
-
|
|
122
|
-
## Contact
|
|
123
|
-
|
|
1
|
+
# EdwardsVacuum Design System
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The **EdwardsVacuum Design System** is a comprehensive design system built to streamline the development of consistent and reusable UI components for the EdwardsVacuum project. This project is built using Next.js, Storybook, and various supporting libraries and tools.
|
|
6
|
+
|
|
7
|
+
## Project Structure
|
|
8
|
+
|
|
9
|
+
The project is organized with the following key scripts and dependencies:
|
|
10
|
+
|
|
11
|
+
- **Next.js** for server-side rendering and building the design system.
|
|
12
|
+
- **Storybook** for developing and showcasing UI components in isolation.
|
|
13
|
+
- **FontAwesome** for incorporating scalable vector icons and social logos.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
Before running this project, ensure you have the following:
|
|
19
|
+
|
|
20
|
+
1. **Node.js** installed.
|
|
21
|
+
2. **Yarn** or **npm** as your package manager.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
To get started, clone the repository and install the required dependencies:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git clone <repository_url>
|
|
29
|
+
cd edwardsvacuum-design-system
|
|
30
|
+
yarn install
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Environment Setup
|
|
34
|
+
|
|
35
|
+
This project requires an environment variable for FontAwesome to function correctly. The `FONTAWESOME_PACKAGE_TOKEN` is required for accessing FontAwesome Pro icons.
|
|
36
|
+
|
|
37
|
+
### Setting Up the Token
|
|
38
|
+
|
|
39
|
+
You can obtain the `FONTAWESOME_PACKAGE_TOKEN` by contacting [bernard@asantemedia.co.uk](mailto:bernard@asantemedia.co.uk).
|
|
40
|
+
|
|
41
|
+
Once you have the token, set it in your environment:
|
|
42
|
+
|
|
43
|
+
1. **Locally**:
|
|
44
|
+
Add it to your terminal session:
|
|
45
|
+
```bash
|
|
46
|
+
export FONTAWESOME_PACKAGE_TOKEN=your_token_here
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Replace `your_token_here` with the actual token.
|
|
50
|
+
|
|
51
|
+
## Scripts
|
|
52
|
+
|
|
53
|
+
The following scripts are available in the project:
|
|
54
|
+
|
|
55
|
+
- **Lint**:
|
|
56
|
+
```bash
|
|
57
|
+
npm run lint
|
|
58
|
+
```
|
|
59
|
+
Runs ESLint to analyze the code for potential errors.
|
|
60
|
+
|
|
61
|
+
- **Storybook**:
|
|
62
|
+
```bash
|
|
63
|
+
npm run storybook
|
|
64
|
+
```
|
|
65
|
+
Starts the Storybook development server.
|
|
66
|
+
|
|
67
|
+
- **Build Storybook**:
|
|
68
|
+
```bash
|
|
69
|
+
npm run build-storybook
|
|
70
|
+
```
|
|
71
|
+
Builds the Storybook static files.
|
|
72
|
+
|
|
73
|
+
- **AEM Integration**:
|
|
74
|
+
- **Build AEM Dialogs**:
|
|
75
|
+
```bash
|
|
76
|
+
npm run build-aem-dialogs
|
|
77
|
+
```
|
|
78
|
+
Generates AEM component dialogs.
|
|
79
|
+
|
|
80
|
+
- **Copy Static AEM Files**:
|
|
81
|
+
```bash
|
|
82
|
+
npm run copy-static-aem-files
|
|
83
|
+
```
|
|
84
|
+
Copies the necessary static files for AEM integration.
|
|
85
|
+
|
|
86
|
+
- **Clean AEM**:
|
|
87
|
+
```bash
|
|
88
|
+
npm run aem-clean
|
|
89
|
+
```
|
|
90
|
+
Cleans the target location for AEM deployment.
|
|
91
|
+
|
|
92
|
+
- **Install AEM**:
|
|
93
|
+
```bash
|
|
94
|
+
npm run aem-install
|
|
95
|
+
```
|
|
96
|
+
Builds and copies AEM dialogs and static files.
|
|
97
|
+
|
|
98
|
+
- **Clean & Install AEM**:
|
|
99
|
+
```bash
|
|
100
|
+
npm run aem-clean-install
|
|
101
|
+
```
|
|
102
|
+
Cleans and installs AEM files in one command.
|
|
103
|
+
|
|
104
|
+
- **Chromatic**:
|
|
105
|
+
```bash
|
|
106
|
+
npm run chromatic
|
|
107
|
+
```
|
|
108
|
+
Publishes Storybook to Chromatic for visual regression testing.
|
|
109
|
+
|
|
110
|
+
## CI/CD Implementation
|
|
111
|
+
|
|
112
|
+
The project is set up with a CI/CD pipeline that triggers deployments only on merges to the `development` branch. This ensures that changes are properly reviewed and tested before being deployed to production. If new dependencies are added, the project will require a manual deployment to update the dependencies in the develoment environment.
|
|
113
|
+
|
|
114
|
+
## License
|
|
115
|
+
|
|
116
|
+
This project is currently **UNLICENSED** and is intended for internal use only. Redistribution or use outside the intended context is prohibited.
|
|
117
|
+
|
|
118
|
+
## Contribution
|
|
119
|
+
|
|
120
|
+
Please follow the project's contribution guidelines when contributing to this repository. Ensure all changes are made in feature branches and are merged into the `development` branch via pull requests.
|
|
121
|
+
|
|
122
|
+
## Contact
|
|
123
|
+
|
|
124
124
|
For any issues or inquiries related to this project, please contact [bernard@asantemedia.co.uk](mailto:bernard@asantemedia.co.uk).
|
package/dist/fonts/calibri.ttf
CHANGED
|
File without changes
|
package/dist/fonts/calibrib.ttf
CHANGED
|
File without changes
|
package/dist/fonts/calibril.ttf
CHANGED
|
File without changes
|
package/dist/index.css
CHANGED
|
@@ -1394,7 +1394,7 @@
|
|
|
1394
1394
|
|
|
1395
1395
|
.qr-journey-form-wrapper * {
|
|
1396
1396
|
font-family: "Calibri", sans-serif;
|
|
1397
|
-
font-size:
|
|
1397
|
+
font-size: 18px;
|
|
1398
1398
|
}
|
|
1399
1399
|
.qr-journey-form-wrapper h1 {
|
|
1400
1400
|
font-size: 24px;
|
|
@@ -1406,12 +1406,12 @@
|
|
|
1406
1406
|
}
|
|
1407
1407
|
.qr-journey-form-wrapper h1:after {
|
|
1408
1408
|
content: "";
|
|
1409
|
-
|
|
1409
|
+
display: block;
|
|
1410
|
+
position: relative;
|
|
1410
1411
|
width: 100%;
|
|
1411
1412
|
height: 2px;
|
|
1412
1413
|
background-color: rgb(233, 233, 233);
|
|
1413
|
-
top:
|
|
1414
|
-
left: 0;
|
|
1414
|
+
top: 0.8em;
|
|
1415
1415
|
}
|
|
1416
1416
|
.qr-journey-form-wrapper h2 {
|
|
1417
1417
|
font-size: 21px;
|
|
@@ -1419,6 +1419,7 @@
|
|
|
1419
1419
|
font-weight: 700;
|
|
1420
1420
|
line-height: 1.6em;
|
|
1421
1421
|
color: #2d363a;
|
|
1422
|
+
margin: 1em 0 0 0px;
|
|
1422
1423
|
}
|
|
1423
1424
|
.qr-journey-form-wrapper .qr-form-page {
|
|
1424
1425
|
display: none;
|
|
@@ -1430,36 +1431,44 @@
|
|
|
1430
1431
|
.qr-journey-form-wrapper section {
|
|
1431
1432
|
position: relative;
|
|
1432
1433
|
}
|
|
1433
|
-
.qr-journey-form-wrapper section .
|
|
1434
|
+
.qr-journey-form-wrapper section .header-wrapper {
|
|
1435
|
+
margin-bottom: 2em;
|
|
1436
|
+
position: relative;
|
|
1437
|
+
}
|
|
1438
|
+
.qr-journey-form-wrapper section .header-wrapper h2 {
|
|
1439
|
+
position: relative;
|
|
1440
|
+
padding-right: 65px;
|
|
1441
|
+
}
|
|
1442
|
+
.qr-journey-form-wrapper section .header-wrapper .progress-indicator {
|
|
1434
1443
|
position: absolute;
|
|
1435
|
-
width:
|
|
1436
|
-
height:
|
|
1444
|
+
width: 59px;
|
|
1445
|
+
height: 59px;
|
|
1437
1446
|
background-color: rgba(196, 38, 46, 0.3);
|
|
1438
1447
|
right: 0;
|
|
1439
|
-
top: -
|
|
1448
|
+
top: -12px;
|
|
1440
1449
|
border-radius: 50%;
|
|
1441
1450
|
}
|
|
1442
|
-
.qr-journey-form-wrapper section .progress-indicator:after {
|
|
1451
|
+
.qr-journey-form-wrapper section .header-wrapper .progress-indicator:after {
|
|
1443
1452
|
content: "";
|
|
1444
1453
|
position: absolute;
|
|
1445
|
-
top:
|
|
1446
|
-
left:
|
|
1447
|
-
width:
|
|
1448
|
-
height:
|
|
1454
|
+
top: 5px;
|
|
1455
|
+
left: 5px;
|
|
1456
|
+
width: 49px;
|
|
1457
|
+
height: 49px;
|
|
1449
1458
|
background-color: #FFFFFF;
|
|
1450
1459
|
border-radius: 50%;
|
|
1451
1460
|
}
|
|
1452
|
-
.qr-journey-form-wrapper section .progress-indicator .progress-visual {
|
|
1461
|
+
.qr-journey-form-wrapper section .header-wrapper .progress-indicator .progress-visual {
|
|
1453
1462
|
--percent: 30%;
|
|
1454
1463
|
position: absolute;
|
|
1455
1464
|
background: conic-gradient(rgb(196, 38, 46) var(--percent), transparent 0);
|
|
1456
|
-
width:
|
|
1457
|
-
height:
|
|
1465
|
+
width: 59px;
|
|
1466
|
+
height: 59px;
|
|
1458
1467
|
right: 0;
|
|
1459
1468
|
top: 0;
|
|
1460
1469
|
border-radius: 50%;
|
|
1461
1470
|
}
|
|
1462
|
-
.qr-journey-form-wrapper section .progress-indicator .progress-text {
|
|
1471
|
+
.qr-journey-form-wrapper section .header-wrapper .progress-indicator .progress-text {
|
|
1463
1472
|
position: absolute;
|
|
1464
1473
|
z-index: 1;
|
|
1465
1474
|
top: 0;
|
|
@@ -1468,10 +1477,11 @@
|
|
|
1468
1477
|
bottom: 0;
|
|
1469
1478
|
margin: auto;
|
|
1470
1479
|
width: 100%;
|
|
1471
|
-
height: 1.4em;
|
|
1472
1480
|
text-align: center;
|
|
1473
|
-
font-size:
|
|
1481
|
+
font-size: 12px;
|
|
1474
1482
|
font-weight: 900;
|
|
1483
|
+
height: 1em;
|
|
1484
|
+
line-height: 1em;
|
|
1475
1485
|
}
|
|
1476
1486
|
.qr-journey-form-wrapper .qr-form-filed-wrapper {
|
|
1477
1487
|
display: flex;
|
|
@@ -1483,10 +1493,13 @@
|
|
|
1483
1493
|
top: 0;
|
|
1484
1494
|
color: rgb(87, 94, 97);
|
|
1485
1495
|
font-weight: 700;
|
|
1486
|
-
font-size:
|
|
1496
|
+
font-size: 18px;
|
|
1487
1497
|
line-height: 100%;
|
|
1488
1498
|
letter-spacing: -1.7%;
|
|
1489
1499
|
}
|
|
1500
|
+
.qr-journey-form-wrapper .qr-form-filed-wrapper.disabled .label {
|
|
1501
|
+
display: block;
|
|
1502
|
+
}
|
|
1490
1503
|
.qr-journey-form-wrapper .qr-form-filed-wrapper.checkbox, .qr-journey-form-wrapper .qr-form-filed-wrapper.info {
|
|
1491
1504
|
padding-bottom: 1em;
|
|
1492
1505
|
}
|
|
@@ -1497,7 +1510,7 @@
|
|
|
1497
1510
|
display: block;
|
|
1498
1511
|
padding-left: 25px;
|
|
1499
1512
|
border-radius: 0;
|
|
1500
|
-
font-size:
|
|
1513
|
+
font-size: 18px;
|
|
1501
1514
|
top: 0;
|
|
1502
1515
|
line-height: 1.5em;
|
|
1503
1516
|
color: rgb(87, 94, 97);
|
|
@@ -1543,7 +1556,7 @@
|
|
|
1543
1556
|
position: relative;
|
|
1544
1557
|
}
|
|
1545
1558
|
.qr-journey-form-wrapper .qr-form-filed-wrapper label select + .select-custom-arrow {
|
|
1546
|
-
height: calc(100% - 1em -
|
|
1559
|
+
height: calc(100% - 1em - 6px);
|
|
1547
1560
|
top: 2px;
|
|
1548
1561
|
position: absolute;
|
|
1549
1562
|
width: 17px;
|
|
@@ -1624,12 +1637,142 @@
|
|
|
1624
1637
|
.qr-journey-form-wrapper .qr-form-navigation button, .qr-journey-form-wrapper .qr-form-navigation input[type=submit] {
|
|
1625
1638
|
border: 0;
|
|
1626
1639
|
width: calc(50% - 5px);
|
|
1627
|
-
padding: 18px
|
|
1640
|
+
padding: 18px;
|
|
1628
1641
|
text-transform: uppercase;
|
|
1629
1642
|
color: #FFFFFF;
|
|
1630
|
-
background
|
|
1643
|
+
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
1631
1644
|
cursor: pointer;
|
|
1632
1645
|
}
|
|
1633
1646
|
.qr-journey-form-wrapper .qr-form-navigation button:first-child, .qr-journey-form-wrapper .qr-form-navigation input[type=submit]:first-child {
|
|
1647
|
+
background: #2d363a;
|
|
1648
|
+
}
|
|
1649
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page {
|
|
1650
|
+
position: relative;
|
|
1651
|
+
}
|
|
1652
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page p {
|
|
1653
|
+
line-height: 1.2em;
|
|
1654
|
+
}
|
|
1655
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page .submitted-checked {
|
|
1656
|
+
background-color: white;
|
|
1657
|
+
width: 60px;
|
|
1658
|
+
height: 60px;
|
|
1659
|
+
border-radius: 50%;
|
|
1660
|
+
border: 6px solid rgb(196, 38, 46);
|
|
1661
|
+
position: absolute;
|
|
1662
|
+
top: -20px;
|
|
1663
|
+
right: 0;
|
|
1664
|
+
}
|
|
1665
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page .submitted-checked:after, .qr-journey-form-wrapper .qr-form-thank-you-page .submitted-checked:before {
|
|
1666
|
+
position: absolute;
|
|
1667
|
+
content: "";
|
|
1668
|
+
width: 25px;
|
|
1669
|
+
background-color: rgb(196, 38, 46);
|
|
1670
|
+
height: 5px;
|
|
1671
|
+
top: 14px;
|
|
1672
|
+
bottom: 0;
|
|
1673
|
+
left: -4px;
|
|
1674
|
+
right: 0;
|
|
1675
|
+
margin: auto;
|
|
1676
|
+
}
|
|
1677
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page .submitted-checked:after {
|
|
1678
|
+
transform: rotateZ(-45deg) translateX(10px);
|
|
1679
|
+
}
|
|
1680
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page .submitted-checked:before {
|
|
1681
|
+
width: 15px;
|
|
1682
|
+
transform: rotateZ(45deg) translateX(-7px);
|
|
1683
|
+
}
|
|
1684
|
+
.qr-journey-form-wrapper .qr-form-thank-you-page a {
|
|
1685
|
+
max-width: -moz-fit-content;
|
|
1686
|
+
max-width: fit-content;
|
|
1687
|
+
}
|
|
1688
|
+
.qr-journey-form-wrapper input:-webkit-autofill,
|
|
1689
|
+
.qr-journey-form-wrapper textarea:-webkit-autofill,
|
|
1690
|
+
.qr-journey-form-wrapper select:-webkit-autofill {
|
|
1691
|
+
background-color: transparent !important;
|
|
1692
|
+
-webkit-box-shadow: 0 0 0 1000px white inset !important;
|
|
1693
|
+
-webkit-text-fill-color: #000 !important;
|
|
1694
|
+
-webkit-transition: background-color 5000s ease-in-out 0s;
|
|
1695
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
.qr-journey-form-wrapper.desktop-true {
|
|
1699
|
+
display: flex;
|
|
1700
|
+
flex-direction: row;
|
|
1701
|
+
justify-content: space-between;
|
|
1702
|
+
gap: 1em;
|
|
1703
|
+
max-width: 1200px;
|
|
1704
|
+
}
|
|
1705
|
+
.qr-journey-form-wrapper.desktop-true .form-progress {
|
|
1706
|
+
max-width: 400px;
|
|
1707
|
+
}
|
|
1708
|
+
.qr-journey-form-wrapper.desktop-true form {
|
|
1709
|
+
flex: 1;
|
|
1710
|
+
max-width: 600px;
|
|
1711
|
+
}
|
|
1712
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop {
|
|
1713
|
+
padding: 0;
|
|
1714
|
+
}
|
|
1715
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li {
|
|
1716
|
+
list-style: none;
|
|
1717
|
+
display: flex;
|
|
1718
|
+
gap: 1em;
|
|
1719
|
+
justify-content: space-between;
|
|
1720
|
+
margin: 0;
|
|
1721
|
+
}
|
|
1722
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li .bullet-point {
|
|
1723
|
+
border: 1px solid rgb(196, 38, 46);
|
|
1724
|
+
width: 30px;
|
|
1725
|
+
height: 30px;
|
|
1726
|
+
border-radius: 50%;
|
|
1727
|
+
color: rgb(130, 134, 136);
|
|
1728
|
+
font-weight: 700;
|
|
1729
|
+
margin-bottom: 50px;
|
|
1730
|
+
position: relative;
|
|
1731
|
+
}
|
|
1732
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li .bullet-point:after {
|
|
1733
|
+
content: "";
|
|
1734
|
+
width: 2px;
|
|
1735
|
+
height: 25px;
|
|
1634
1736
|
background-color: rgb(130, 134, 136);
|
|
1737
|
+
position: absolute;
|
|
1738
|
+
top: calc(100% + 12px);
|
|
1739
|
+
right: 0;
|
|
1740
|
+
left: 0;
|
|
1741
|
+
margin: auto;
|
|
1742
|
+
}
|
|
1743
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li:last-child .bullet-point:after {
|
|
1744
|
+
display: none;
|
|
1745
|
+
}
|
|
1746
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li h3 {
|
|
1747
|
+
margin: 0 10px;
|
|
1748
|
+
line-height: 30px;
|
|
1749
|
+
text-align: left;
|
|
1750
|
+
flex: 2;
|
|
1751
|
+
color: rgb(130, 134, 136);
|
|
1752
|
+
}
|
|
1753
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li span {
|
|
1754
|
+
position: absolute;
|
|
1755
|
+
left: 0;
|
|
1756
|
+
right: 0;
|
|
1757
|
+
top: 0;
|
|
1758
|
+
bottom: 0;
|
|
1759
|
+
height: 1em;
|
|
1760
|
+
width: 1em;
|
|
1761
|
+
text-align: center;
|
|
1762
|
+
line-height: 1em;
|
|
1763
|
+
margin: auto;
|
|
1764
|
+
}
|
|
1765
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li.checked .bullet-point {
|
|
1766
|
+
background-color: rgb(196, 38, 46);
|
|
1767
|
+
color: #FFFFFF;
|
|
1768
|
+
}
|
|
1769
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li.checked h3 {
|
|
1770
|
+
color: black;
|
|
1771
|
+
}
|
|
1772
|
+
.qr-journey-form-wrapper.desktop-true .qr-form-thank-you-page {
|
|
1773
|
+
max-width: 400px;
|
|
1774
|
+
}
|
|
1775
|
+
.qr-journey-form-wrapper.desktop-true .qr-form-thank-you-page .submitted-checked {
|
|
1776
|
+
position: relative;
|
|
1777
|
+
top: 0;
|
|
1635
1778
|
}
|