@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.
Files changed (146) hide show
  1. package/README.md +123 -123
  2. package/dist/.next/types/app/api/hello/route.d.ts +9 -0
  3. package/dist/.next/types/app/layout.d.ts +9 -0
  4. package/dist/.next/types/app/page.d.ts +9 -0
  5. package/dist/fonts/calibri.ttf +0 -0
  6. package/dist/fonts/calibrib.ttf +0 -0
  7. package/dist/fonts/calibril.ttf +0 -0
  8. package/dist/index.css +5 -24
  9. package/dist/index.esm.css +5 -24
  10. package/dist/index.esm.js +1 -1
  11. package/dist/index.esm.js.map +1 -1
  12. package/dist/index.js +6 -7
  13. package/dist/index.js.map +1 -1
  14. package/dist/index.scss +5 -24
  15. package/dist/{stories → src/stories}/components/Card/card.d.ts +1 -0
  16. package/dist/{stories → src/stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search.d.ts +1 -0
  17. package/dist/tsconfig.tsbuildinfo +1 -1
  18. package/package.json +115 -114
  19. /package/dist/{app → src/app}/api/hello/route.d.ts +0 -0
  20. /package/dist/{app → src/app}/layout.d.ts +0 -0
  21. /package/dist/{app → src/app}/page.d.ts +0 -0
  22. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  23. /package/dist/{stories → src/stories}/atoms/forms/checkbox/checkbox.d.ts +0 -0
  24. /package/dist/{stories → src/stories}/atoms/forms/checkbox/checkbox.stories.d.ts +0 -0
  25. /package/dist/{stories → src/stories}/atoms/forms/input/input.d.ts +0 -0
  26. /package/dist/{stories → src/stories}/atoms/forms/input/input.stories.d.ts +0 -0
  27. /package/dist/{stories → src/stories}/atoms/forms/select/script.d.ts +0 -0
  28. /package/dist/{stories → src/stories}/atoms/forms/select/select.d.ts +0 -0
  29. /package/dist/{stories → src/stories}/atoms/forms/select/select.stories.d.ts +0 -0
  30. /package/dist/{stories → src/stories}/atoms/forms/text/counrty-selector.d.ts +0 -0
  31. /package/dist/{stories → src/stories}/atoms/forms/text/text.d.ts +0 -0
  32. /package/dist/{stories → src/stories}/atoms/forms/text/text.stories.d.ts +0 -0
  33. /package/dist/{stories → src/stories}/components/Banner/Banner.d.ts +0 -0
  34. /package/dist/{stories → src/stories}/components/Banner/Banner.stories.d.ts +0 -0
  35. /package/dist/{stories → src/stories}/components/Banner/banner.dialog.d.ts +0 -0
  36. /package/dist/{stories → src/stories}/components/Banner/banner.html.d.ts +0 -0
  37. /package/dist/{stories → src/stories}/components/Button/Button.d.ts +0 -0
  38. /package/dist/{stories → src/stories}/components/Button/Button.stories.d.ts +0 -0
  39. /package/dist/{stories → src/stories}/components/Card/card.stories.d.ts +0 -0
  40. /package/dist/{stories → src/stories}/components/Card/card.types.d.ts +0 -0
  41. /package/dist/{stories → src/stories}/components/Expert-banner/expert.banner.d.ts +0 -0
  42. /package/dist/{stories → src/stories}/components/Expert-banner/expert.banner.stories.d.ts +0 -0
  43. /package/dist/{stories → src/stories}/components/Pagination/pagination.d.ts +0 -0
  44. /package/dist/{stories → src/stories}/components/Pagination/pagination.stories.d.ts +0 -0
  45. /package/dist/{stories → src/stories}/components/Pagination/pagination.utils.d.ts +0 -0
  46. /package/dist/{stories → src/stories}/components/Popup/Popup.d.ts +0 -0
  47. /package/dist/{stories → src/stories}/components/Popup/Popup.stories.d.ts +0 -0
  48. /package/dist/{stories → src/stories}/components/Popup/icons/ChevronDown.d.ts +0 -0
  49. /package/dist/{stories → src/stories}/components/Popup/icons/Close.d.ts +0 -0
  50. /package/dist/{stories → src/stories}/components/Popup/popup.dialog.d.ts +0 -0
  51. /package/dist/{stories → src/stories}/components/Popup/popup.html.d.ts +0 -0
  52. /package/dist/{stories → src/stories}/components/Video/Video.d.ts +0 -0
  53. /package/dist/{stories → src/stories}/components/Video/Video.stories.d.ts +0 -0
  54. /package/dist/{stories → src/stories}/experiences/Accordion/accordion.d.ts +0 -0
  55. /package/dist/{stories → src/stories}/experiences/Accordion/accordion.item.d.ts +0 -0
  56. /package/dist/{stories → src/stories}/experiences/Accordion/accordion.stories.d.ts +0 -0
  57. /package/dist/{stories → src/stories}/experiences/Accordion/accordion.types.d.ts +0 -0
  58. /package/dist/{stories → src/stories}/experiences/Accordion/scripts.d.ts +0 -0
  59. /package/dist/{stories → src/stories}/experiences/Algolia-dynamic-search/algolia-dynamic-search.stories.d.ts +0 -0
  60. /package/dist/{stories → src/stories}/experiences/Anchor/anchor.d.ts +0 -0
  61. /package/dist/{stories → src/stories}/experiences/Anchor/anchor.stories.d.ts +0 -0
  62. /package/dist/{stories → src/stories}/experiences/Brand-promise-paragraph/Brand.promise.paragraph.d.ts +0 -0
  63. /package/dist/{stories → src/stories}/experiences/Brand-promise-paragraph/Brand.promise.paragraph.stories.d.ts +0 -0
  64. /package/dist/{stories → src/stories}/experiences/Breadcrumb/breadcrumb.d.ts +0 -0
  65. /package/dist/{stories → src/stories}/experiences/Breadcrumb/breadcrumb.stories.d.ts +0 -0
  66. /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search-results-item.d.ts +0 -0
  67. /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search-results.d.ts +0 -0
  68. /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search.d.ts +0 -0
  69. /package/dist/{stories → src/stories}/experiences/Careers-search/careers-search.stories.d.ts +0 -0
  70. /package/dist/{stories → src/stories}/experiences/Carousel/dynamic/carousel.dynamic.d.ts +0 -0
  71. /package/dist/{stories → src/stories}/experiences/Carousel/dynamic/carousel.dynamic.stories.d.ts +0 -0
  72. /package/dist/{stories → src/stories}/experiences/Carousel/static/carousel.d.ts +0 -0
  73. /package/dist/{stories → src/stories}/experiences/Carousel/static/carousel.stories.d.ts +0 -0
  74. /package/dist/{stories → src/stories}/experiences/Carousel/utils/NextArrow.d.ts +0 -0
  75. /package/dist/{stories → src/stories}/experiences/Carousel/utils/PrevArrow.d.ts +0 -0
  76. /package/dist/{stories → src/stories}/experiences/Download/download-item.d.ts +0 -0
  77. /package/dist/{stories → src/stories}/experiences/Download/download-library.d.ts +0 -0
  78. /package/dist/{stories → src/stories}/experiences/Download/download.stories.d.ts +0 -0
  79. /package/dist/{stories → src/stories}/experiences/Dynamic-list/dynamic.list.d.ts +0 -0
  80. /package/dist/{stories → src/stories}/experiences/Dynamic-list/dynamic.list.stories.d.ts +0 -0
  81. /package/dist/{stories → src/stories}/experiences/Faq/faq.d.ts +0 -0
  82. /package/dist/{stories → src/stories}/experiences/Faq/faq.stories.d.ts +0 -0
  83. /package/dist/{stories → src/stories}/experiences/Footer/footer-links/footer.links.d.ts +0 -0
  84. /package/dist/{stories → src/stories}/experiences/Footer/footer-socials/footer.socials.d.ts +0 -0
  85. /package/dist/{stories → src/stories}/experiences/Footer/footer-subfooter/footer.subfooter.d.ts +0 -0
  86. /package/dist/{stories → src/stories}/experiences/Footer/footer.d.ts +0 -0
  87. /package/dist/{stories → src/stories}/experiences/Footer/footer.model.d.ts +0 -0
  88. /package/dist/{stories → src/stories}/experiences/Footer/footer.stories.d.ts +0 -0
  89. /package/dist/{stories → src/stories}/experiences/Header/header-brand/header.brand.d.ts +0 -0
  90. /package/dist/{stories → src/stories}/experiences/Header/header-button/header.button.d.ts +0 -0
  91. /package/dist/{stories → src/stories}/experiences/Header/header-lang/header.language.switcher.d.ts +0 -0
  92. /package/dist/{stories → src/stories}/experiences/Header/header-megamenu/header.megamenu.d.ts +0 -0
  93. /package/dist/{stories → src/stories}/experiences/Header/header-nav/header.nav.d.ts +0 -0
  94. /package/dist/{stories → src/stories}/experiences/Header/header-search/header.search.d.ts +0 -0
  95. /package/dist/{stories → src/stories}/experiences/Header/header.content.d.ts +0 -0
  96. /package/dist/{stories → src/stories}/experiences/Header/header.d.ts +0 -0
  97. /package/dist/{stories → src/stories}/experiences/Header/header.stories.d.ts +0 -0
  98. /package/dist/{stories → src/stories}/experiences/Header/scripts.d.ts +0 -0
  99. /package/dist/{stories → src/stories}/experiences/Header/toggle.d.ts +0 -0
  100. /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/button.d.ts +0 -0
  101. /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/header.d.ts +0 -0
  102. /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/header.stories.d.ts +0 -0
  103. /package/dist/{stories → src/stories}/experiences/Header-twentytwentyfour/list.d.ts +0 -0
  104. /package/dist/{stories → src/stories}/experiences/Interactive-cards/InteractiveCards.d.ts +0 -0
  105. /package/dist/{stories → src/stories}/experiences/Interactive-cards/InteractiveCards.stories.d.ts +0 -0
  106. /package/dist/{stories → src/stories}/experiences/Interactive-cards/icons/ArrowRight.d.ts +0 -0
  107. /package/dist/{stories → src/stories}/experiences/Interactive-cards/icons/ChevronDown.d.ts +0 -0
  108. /package/dist/{stories → src/stories}/experiences/Interactive-cards/icons/Close.d.ts +0 -0
  109. /package/dist/{stories → src/stories}/experiences/Interactive-container/InteractiveContainer.d.ts +0 -0
  110. /package/dist/{stories → src/stories}/experiences/Interactive-container/InteractiveContainer.stories.d.ts +0 -0
  111. /package/dist/{stories → src/stories}/experiences/Interactive-container/utils/ScrollAnimator.d.ts +0 -0
  112. /package/dist/{stories → src/stories}/experiences/Interactive-group/InteractiveGroup.d.ts +0 -0
  113. /package/dist/{stories → src/stories}/experiences/Interactive-group/InteractiveGroup.stories.d.ts +0 -0
  114. /package/dist/{stories → src/stories}/experiences/Interactive-map/Map.d.ts +0 -0
  115. /package/dist/{stories → src/stories}/experiences/Interactive-map/Map.stories.d.ts +0 -0
  116. /package/dist/{stories → src/stories}/experiences/Menu/menu.d.ts +0 -0
  117. /package/dist/{stories → src/stories}/experiences/Menu/menu.model.d.ts +0 -0
  118. /package/dist/{stories → src/stories}/experiences/Menu/menu.stories.d.ts +0 -0
  119. /package/dist/{stories → src/stories}/experiences/Menu/scripts.d.ts +0 -0
  120. /package/dist/{stories → src/stories}/experiences/Numbers/card.d.ts +0 -0
  121. /package/dist/{stories → src/stories}/experiences/Numbers/numbers.d.ts +0 -0
  122. /package/dist/{stories → src/stories}/experiences/Numbers/numbers.stories.d.ts +0 -0
  123. /package/dist/{stories → src/stories}/experiences/Quote/quote.d.ts +0 -0
  124. /package/dist/{stories → src/stories}/experiences/Quote/quote.stories.d.ts +0 -0
  125. /package/dist/{stories → src/stories}/experiences/Tabs/tabs.d.ts +0 -0
  126. /package/dist/{stories → src/stories}/experiences/Tabs/tabs.scroll.d.ts +0 -0
  127. /package/dist/{stories → src/stories}/experiences/Tabs/tabs.stories.d.ts +0 -0
  128. /package/dist/{stories → src/stories}/experiences/Video-playlist/Video.playlist.d.ts +0 -0
  129. /package/dist/{stories → src/stories}/experiences/Video-playlist/Video.playlist.stories.d.ts +0 -0
  130. /package/dist/{stories → src/stories}/experiences/Video-playlist/video.playlist.dialog.d.ts +0 -0
  131. /package/dist/{stories → src/stories}/experiences/Video-playlist/video.playlist.html.d.ts +0 -0
  132. /package/dist/{stories → src/stories}/experiences/market-picker-prompt/Market.picker.prompt.d.ts +0 -0
  133. /package/dist/{stories → src/stories}/experiences/market-picker-prompt/Market.picker.prompt.stories.d.ts +0 -0
  134. /package/dist/{stories → src/stories}/structure/page/page.dialog.d.ts +0 -0
  135. /package/dist/{stories → src/stories}/structure/page/page.html.d.ts +0 -0
  136. /package/dist/{stories → src/stories}/templates/content.d.ts +0 -0
  137. /package/dist/{stories → src/stories}/templates/content.stories.d.ts +0 -0
  138. /package/dist/{stories → src/stories}/templates/product.d.ts +0 -0
  139. /package/dist/{stories → src/stories}/templates/product.stories.d.ts +0 -0
  140. /package/dist/{utils → src/utils}/components/anchor.links.d.ts +0 -0
  141. /package/dist/{utils → src/utils}/components/anchor.links.script.d.ts +0 -0
  142. /package/dist/{utils → src/utils}/components/swatch.d.ts +0 -0
  143. /package/dist/{utils → src/utils}/components/type.d.ts +0 -0
  144. /package/dist/{utils → src/utils}/content/content.demo.d.ts +0 -0
  145. /package/dist/{utils → src/utils}/content/content.model.d.ts +0 -0
  146. /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).
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface PageProps {
3
+ params?: any;
4
+ searchParams?: any;
5
+ }
6
+ export interface LayoutProps {
7
+ children?: React.ReactNode;
8
+ params?: any;
9
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface PageProps {
3
+ params?: any;
4
+ searchParams?: any;
5
+ }
6
+ export interface LayoutProps {
7
+ children?: React.ReactNode;
8
+ params?: any;
9
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface PageProps {
3
+ params?: any;
4
+ searchParams?: any;
5
+ }
6
+ export interface LayoutProps {
7
+ children?: React.ReactNode;
8
+ params?: any;
9
+ }
File without changes
File without changes
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, .Button-module__cmp-button--style-primary___hfLAd:visited: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, .Button-module__cmp-button--style-secondary___3Dqvg:visited: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, .Button-module__cmp-button--style-tertiary___Akcep:visited: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, .Button-module__cmp-button--style-outlineWhite___v69nN:visited: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, .Button-module__cmp-button--style-outlineGrey___sG5nd:visited: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
  }
@@ -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, .Button-module__cmp-button--style-primary___hfLAd:visited: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, .Button-module__cmp-button--style-secondary___3Dqvg:visited: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, .Button-module__cmp-button--style-tertiary___Akcep:visited: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, .Button-module__cmp-button--style-outlineWhite___v69nN:visited: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, .Button-module__cmp-button--style-outlineGrey___sG5nd:visited: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 js-modal--storybook-button' : ''].filter(Boolean).join(' ').trim();
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') {