@asantemedia-org/edwardsvacuum-design-system 1.5.1 → 1.6.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/README.md +123 -123
- package/dist/.next/types/app/api/hello/route.d.ts +9 -0
- package/dist/.next/types/app/layout.d.ts +9 -0
- package/dist/.next/types/app/page.d.ts +9 -0
- 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 +5 -24
- package/dist/index.esm.css +5 -24
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/dist/index.scss +5 -24
- package/dist/{stories → src/stories}/components/Card/card.d.ts +1 -0
- package/dist/{stories → src/stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +115 -114
- /package/dist/{app → src/app}/api/hello/route.d.ts +0 -0
- /package/dist/{app → src/app}/layout.d.ts +0 -0
- /package/dist/{app → src/app}/page.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/checkbox/checkbox.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/checkbox/checkbox.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/input/input.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/input/input.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/select/script.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/select/select.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/select/select.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/text/counrty-selector.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/text/text.d.ts +0 -0
- /package/dist/{stories → src/stories}/atoms/forms/text/text.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Banner/Banner.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Banner/Banner.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Banner/banner.dialog.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Banner/banner.html.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Button/Button.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Button/Button.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Card/card.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Card/card.types.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Expert-banner/expert.banner.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Expert-banner/expert.banner.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Pagination/pagination.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Pagination/pagination.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Pagination/pagination.utils.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Popup/Popup.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Popup/Popup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Popup/icons/ChevronDown.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Popup/icons/Close.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Popup/popup.dialog.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Popup/popup.html.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Video/Video.d.ts +0 -0
- /package/dist/{stories → src/stories}/components/Video/Video.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Accordion/accordion.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Accordion/accordion.item.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Accordion/accordion.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Accordion/accordion.types.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Accordion/scripts.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Anchor/anchor.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Anchor/anchor.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Brand-promise-paragraph/Brand.promise.paragraph.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Brand-promise-paragraph/Brand.promise.paragraph.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Breadcrumb/breadcrumb.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Breadcrumb/breadcrumb.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search-results-item.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search-results.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Carousel/dynamic/carousel.dynamic.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Carousel/dynamic/carousel.dynamic.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Carousel/static/carousel.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Carousel/static/carousel.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Carousel/utils/NextArrow.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Carousel/utils/PrevArrow.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Download/download-item.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Download/download-library.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Download/download.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Dynamic-list/dynamic.list.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Dynamic-list/dynamic.list.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Faq/faq.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Faq/faq.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Footer/footer-links/footer.links.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Footer/footer-socials/footer.socials.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Footer/footer-subfooter/footer.subfooter.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Footer/footer.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Footer/footer.model.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Footer/footer.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header-brand/header.brand.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header-button/header.button.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header-lang/header.language.switcher.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header-megamenu/header.megamenu.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header-nav/header.nav.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header-search/header.search.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header.content.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/header.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/scripts.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header/toggle.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/button.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/header.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/header.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/list.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-cards/InteractiveCards.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-cards/InteractiveCards.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-cards/icons/ArrowRight.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-cards/icons/ChevronDown.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-cards/icons/Close.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-container/InteractiveContainer.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-container/InteractiveContainer.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-container/utils/ScrollAnimator.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-group/InteractiveGroup.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-group/InteractiveGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-map/Map.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Interactive-map/Map.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Menu/menu.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Menu/menu.model.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Menu/menu.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Menu/scripts.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Numbers/card.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Numbers/numbers.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Numbers/numbers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Quote/quote.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Quote/quote.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Tabs/tabs.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Tabs/tabs.scroll.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Tabs/tabs.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Video-playlist/Video.playlist.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Video-playlist/Video.playlist.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Video-playlist/video.playlist.dialog.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/Video-playlist/video.playlist.html.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/market-picker-prompt/Market.picker.prompt.d.ts +0 -0
- /package/dist/{stories → src/stories}/experiences/market-picker-prompt/Market.picker.prompt.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/structure/page/page.dialog.d.ts +0 -0
- /package/dist/{stories → src/stories}/structure/page/page.html.d.ts +0 -0
- /package/dist/{stories → src/stories}/templates/content.d.ts +0 -0
- /package/dist/{stories → src/stories}/templates/content.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/templates/product.d.ts +0 -0
- /package/dist/{stories → src/stories}/templates/product.stories.d.ts +0 -0
- /package/dist/{utils → src/utils}/components/anchor.links.d.ts +0 -0
- /package/dist/{utils → src/utils}/components/anchor.links.script.d.ts +0 -0
- /package/dist/{utils → src/utils}/components/swatch.d.ts +0 -0
- /package/dist/{utils → src/utils}/components/type.d.ts +0 -0
- /package/dist/{utils → src/utils}/content/content.demo.d.ts +0 -0
- /package/dist/{utils → src/utils}/content/content.model.d.ts +0 -0
- /package/dist/{utils → src/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
|
@@ -477,69 +477,50 @@
|
|
|
477
477
|
padding: 0 3rem 0 1rem;
|
|
478
478
|
transition: all 0.3s ease-in-out;
|
|
479
479
|
border: 2px solid transparent;
|
|
480
|
-
text-decoration: none;
|
|
481
|
-
}
|
|
482
|
-
.Button-module__cmp-button___SMjDF:visited {
|
|
483
|
-
color: inherit;
|
|
484
480
|
}
|
|
485
481
|
.Button-module__cmp-button--style-primary___hfLAd {
|
|
486
482
|
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
487
483
|
color: rgb(255, 255, 255);
|
|
488
484
|
border: none;
|
|
489
485
|
}
|
|
490
|
-
.Button-module__cmp-button--style-primary___hfLAd:hover
|
|
486
|
+
.Button-module__cmp-button--style-primary___hfLAd:hover {
|
|
491
487
|
background: rgb(255, 255, 255);
|
|
492
488
|
color: #2d363a;
|
|
493
489
|
}
|
|
494
|
-
.Button-module__cmp-button--style-primary___hfLAd:visited {
|
|
495
|
-
color: rgb(255, 255, 255);
|
|
496
|
-
}
|
|
497
490
|
.Button-module__cmp-button--style-secondary___3Dqvg {
|
|
498
491
|
background: #2d363a;
|
|
499
492
|
color: rgb(255, 255, 255);
|
|
500
493
|
}
|
|
501
|
-
.Button-module__cmp-button--style-secondary___3Dqvg:hover
|
|
494
|
+
.Button-module__cmp-button--style-secondary___3Dqvg:hover {
|
|
502
495
|
background: linear-gradient(45deg, rgb(172, 174, 176), rgb(130, 134, 136));
|
|
503
496
|
color: rgb(255, 255, 255);
|
|
504
497
|
}
|
|
505
|
-
.Button-module__cmp-button--style-secondary___3Dqvg:visited {
|
|
506
|
-
color: rgb(255, 255, 255);
|
|
507
|
-
}
|
|
508
498
|
.Button-module__cmp-button--style-tertiary___Akcep {
|
|
509
499
|
background: rgb(255, 255, 255);
|
|
510
500
|
color: #2d363a;
|
|
511
501
|
border: none;
|
|
512
502
|
}
|
|
513
|
-
.Button-module__cmp-button--style-tertiary___Akcep:hover
|
|
503
|
+
.Button-module__cmp-button--style-tertiary___Akcep:hover {
|
|
514
504
|
background: #2d363a;
|
|
515
505
|
color: rgb(255, 255, 255);
|
|
516
506
|
}
|
|
517
|
-
.Button-module__cmp-button--style-tertiary___Akcep:visited {
|
|
518
|
-
color: #2d363a;
|
|
519
|
-
}
|
|
520
507
|
.Button-module__cmp-button--style-outlineWhite___v69nN {
|
|
521
508
|
background: transparent;
|
|
522
509
|
color: rgb(255, 255, 255);
|
|
523
510
|
border: 2px solid rgb(255, 255, 255);
|
|
524
511
|
}
|
|
525
|
-
.Button-module__cmp-button--style-outlineWhite___v69nN:hover
|
|
512
|
+
.Button-module__cmp-button--style-outlineWhite___v69nN:hover {
|
|
526
513
|
background: rgb(255, 255, 255);
|
|
527
514
|
color: #2d363a;
|
|
528
515
|
border-color: rgb(255, 255, 255);
|
|
529
516
|
}
|
|
530
|
-
.Button-module__cmp-button--style-outlineWhite___v69nN:visited {
|
|
531
|
-
color: rgb(255, 255, 255);
|
|
532
|
-
}
|
|
533
517
|
.Button-module__cmp-button--style-outlineGrey___sG5nd {
|
|
534
518
|
background: transparent;
|
|
535
519
|
color: #2d363a;
|
|
536
520
|
border: 2px solid #2d363a;
|
|
537
521
|
}
|
|
538
|
-
.Button-module__cmp-button--style-outlineGrey___sG5nd:hover
|
|
522
|
+
.Button-module__cmp-button--style-outlineGrey___sG5nd:hover {
|
|
539
523
|
background: #2d363a;
|
|
540
524
|
color: rgb(255, 255, 255);
|
|
541
525
|
border-color: #2d363a;
|
|
542
|
-
}
|
|
543
|
-
.Button-module__cmp-button--style-outlineGrey___sG5nd:visited {
|
|
544
|
-
color: #2d363a;
|
|
545
526
|
}
|
package/dist/index.esm.css
CHANGED
|
@@ -477,69 +477,50 @@
|
|
|
477
477
|
padding: 0 3rem 0 1rem;
|
|
478
478
|
transition: all 0.3s ease-in-out;
|
|
479
479
|
border: 2px solid transparent;
|
|
480
|
-
text-decoration: none;
|
|
481
|
-
}
|
|
482
|
-
.Button-module__cmp-button___SMjDF:visited {
|
|
483
|
-
color: inherit;
|
|
484
480
|
}
|
|
485
481
|
.Button-module__cmp-button--style-primary___hfLAd {
|
|
486
482
|
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
487
483
|
color: rgb(255, 255, 255);
|
|
488
484
|
border: none;
|
|
489
485
|
}
|
|
490
|
-
.Button-module__cmp-button--style-primary___hfLAd:hover
|
|
486
|
+
.Button-module__cmp-button--style-primary___hfLAd:hover {
|
|
491
487
|
background: rgb(255, 255, 255);
|
|
492
488
|
color: #2d363a;
|
|
493
489
|
}
|
|
494
|
-
.Button-module__cmp-button--style-primary___hfLAd:visited {
|
|
495
|
-
color: rgb(255, 255, 255);
|
|
496
|
-
}
|
|
497
490
|
.Button-module__cmp-button--style-secondary___3Dqvg {
|
|
498
491
|
background: #2d363a;
|
|
499
492
|
color: rgb(255, 255, 255);
|
|
500
493
|
}
|
|
501
|
-
.Button-module__cmp-button--style-secondary___3Dqvg:hover
|
|
494
|
+
.Button-module__cmp-button--style-secondary___3Dqvg:hover {
|
|
502
495
|
background: linear-gradient(45deg, rgb(172, 174, 176), rgb(130, 134, 136));
|
|
503
496
|
color: rgb(255, 255, 255);
|
|
504
497
|
}
|
|
505
|
-
.Button-module__cmp-button--style-secondary___3Dqvg:visited {
|
|
506
|
-
color: rgb(255, 255, 255);
|
|
507
|
-
}
|
|
508
498
|
.Button-module__cmp-button--style-tertiary___Akcep {
|
|
509
499
|
background: rgb(255, 255, 255);
|
|
510
500
|
color: #2d363a;
|
|
511
501
|
border: none;
|
|
512
502
|
}
|
|
513
|
-
.Button-module__cmp-button--style-tertiary___Akcep:hover
|
|
503
|
+
.Button-module__cmp-button--style-tertiary___Akcep:hover {
|
|
514
504
|
background: #2d363a;
|
|
515
505
|
color: rgb(255, 255, 255);
|
|
516
506
|
}
|
|
517
|
-
.Button-module__cmp-button--style-tertiary___Akcep:visited {
|
|
518
|
-
color: #2d363a;
|
|
519
|
-
}
|
|
520
507
|
.Button-module__cmp-button--style-outlineWhite___v69nN {
|
|
521
508
|
background: transparent;
|
|
522
509
|
color: rgb(255, 255, 255);
|
|
523
510
|
border: 2px solid rgb(255, 255, 255);
|
|
524
511
|
}
|
|
525
|
-
.Button-module__cmp-button--style-outlineWhite___v69nN:hover
|
|
512
|
+
.Button-module__cmp-button--style-outlineWhite___v69nN:hover {
|
|
526
513
|
background: rgb(255, 255, 255);
|
|
527
514
|
color: #2d363a;
|
|
528
515
|
border-color: rgb(255, 255, 255);
|
|
529
516
|
}
|
|
530
|
-
.Button-module__cmp-button--style-outlineWhite___v69nN:visited {
|
|
531
|
-
color: rgb(255, 255, 255);
|
|
532
|
-
}
|
|
533
517
|
.Button-module__cmp-button--style-outlineGrey___sG5nd {
|
|
534
518
|
background: transparent;
|
|
535
519
|
color: #2d363a;
|
|
536
520
|
border: 2px solid #2d363a;
|
|
537
521
|
}
|
|
538
|
-
.Button-module__cmp-button--style-outlineGrey___sG5nd:hover
|
|
522
|
+
.Button-module__cmp-button--style-outlineGrey___sG5nd:hover {
|
|
539
523
|
background: #2d363a;
|
|
540
524
|
color: rgb(255, 255, 255);
|
|
541
525
|
border-color: #2d363a;
|
|
542
|
-
}
|
|
543
|
-
.Button-module__cmp-button--style-outlineGrey___sG5nd:visited {
|
|
544
|
-
color: #2d363a;
|
|
545
526
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -4743,7 +4743,7 @@ var Button = function (_a) {
|
|
|
4743
4743
|
var mode = style ? getStyle("cmp-button--style-".concat(style)) : '';
|
|
4744
4744
|
var baseClass = getStyle('cmp-button');
|
|
4745
4745
|
// Add js-modal class if data-target-selector is present
|
|
4746
|
-
var conditionalClasses = [baseClass, mode, className, dataTargetSelector ? 'js-modal
|
|
4746
|
+
var conditionalClasses = [baseClass, mode, className, dataTargetSelector ? 'js-modal' : ''].filter(Boolean).join(' ').trim();
|
|
4747
4747
|
// Infer element type
|
|
4748
4748
|
var inferredElement = element || (href || dataTargetSelector ? 'a' : 'button');
|
|
4749
4749
|
if (inferredElement === 'a') {
|