@asante-org/leybold-design-system 1.2.0 → 1.2.2
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 +163 -163
- package/dist/app/layout.d.ts +9 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/assets/.gitkeep +2 -2
- package/dist/assets/desktop-layout-alt.svg +27 -27
- package/dist/assets/desktop-layout.svg +29 -29
- package/dist/assets/globe.svg +7 -7
- package/dist/assets/leybold-footer-logo.svg +19 -19
- package/dist/assets/leybold-white.svg +18 -18
- package/dist/assets/list-product-overlay-tip-active.svg +3 -3
- package/dist/assets/list-product-overlay-tip.svg +3 -3
- package/dist/assets/logo-example.svg +9 -9
- package/dist/assets/logo.svg +19 -19
- package/dist/assets/phone-layout.svg +14 -14
- package/dist/assets/red-tip.svg +10 -10
- package/dist/assets/tablet-layout.svg +28 -28
- package/dist/index.css +88 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.css +88 -0
- package/dist/index.esm.js +1066 -1093
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1148 -1135
- package/dist/index.js.map +1 -1
- package/dist/src/experience/algolia-dynamic-search/AlgoliaDynamicSearch.d.ts +0 -1
- package/dist/src/experience/qr-form-journey/QrFormJourney.d.ts +0 -1
- package/dist/src/stories/foundation/Typography/TypographyComponents.d.ts +0 -1
- package/dist/src/types/cards.d.ts +3 -0
- package/dist/stories/components/Algolia-dynamic-search/algolia-dynamic-search.d.ts +4 -0
- package/dist/stories/components/Algolia-dynamic-search/algolia-dynamic-search.stories.d.ts +7 -0
- package/dist/stories/components/Button/Button.d.ts +35 -0
- package/dist/stories/components/Button/Button.stories.d.ts +15 -0
- package/dist/stories/components/Button/index.d.ts +2 -0
- package/dist/stories/components/QRFormJourney/Qr-form/Qr-form.d.ts +2 -0
- package/dist/stories/components/QRFormJourney/Qr-form/Qr-form.stories.d.ts +7 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/styles/index.d.ts +1 -0
- package/package.json +115 -115
- package/dist/.next/types/app/layout.d.ts +0 -9
- package/dist/.next/types/app/page.d.ts +0 -9
package/dist/index.css
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.Button-module__button___yfSXe {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
6
|
+
font-weight: 600;
|
|
7
|
+
line-height: 1.5;
|
|
8
|
+
text-align: center;
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
-webkit-user-select: none;
|
|
13
|
+
-moz-user-select: none;
|
|
14
|
+
user-select: none;
|
|
15
|
+
border: 2px solid transparent;
|
|
16
|
+
border-radius: 4px;
|
|
17
|
+
transition: all 0.2s ease-in-out;
|
|
18
|
+
}
|
|
19
|
+
.Button-module__button___yfSXe:focus-visible {
|
|
20
|
+
outline: 2px solid #0066cc;
|
|
21
|
+
outline-offset: 2px;
|
|
22
|
+
}
|
|
23
|
+
.Button-module__button--primary___XhVfu {
|
|
24
|
+
color: white;
|
|
25
|
+
background-color: #0066cc;
|
|
26
|
+
border-color: #0066cc;
|
|
27
|
+
}
|
|
28
|
+
.Button-module__button--primary___XhVfu:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
29
|
+
background-color: rgb(0, 76.5, 153);
|
|
30
|
+
border-color: rgb(0, 76.5, 153);
|
|
31
|
+
}
|
|
32
|
+
.Button-module__button--primary___XhVfu:active:not(.Button-module__button--disabled___zC2nI) {
|
|
33
|
+
background-color: rgb(0, 63.75, 127.5);
|
|
34
|
+
border-color: rgb(0, 63.75, 127.5);
|
|
35
|
+
}
|
|
36
|
+
.Button-module__button--secondary___iFz5O {
|
|
37
|
+
color: white;
|
|
38
|
+
background-color: #6c757d;
|
|
39
|
+
border-color: #6c757d;
|
|
40
|
+
}
|
|
41
|
+
.Button-module__button--secondary___iFz5O:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
42
|
+
background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
43
|
+
border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
44
|
+
}
|
|
45
|
+
.Button-module__button--secondary___iFz5O:active:not(.Button-module__button--disabled___zC2nI) {
|
|
46
|
+
background-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
47
|
+
border-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
48
|
+
}
|
|
49
|
+
.Button-module__button--outline___G4qIX {
|
|
50
|
+
color: #0066cc;
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
border-color: #0066cc;
|
|
53
|
+
}
|
|
54
|
+
.Button-module__button--outline___G4qIX:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
55
|
+
color: white;
|
|
56
|
+
background-color: #0066cc;
|
|
57
|
+
}
|
|
58
|
+
.Button-module__button--outline___G4qIX:active:not(.Button-module__button--disabled___zC2nI) {
|
|
59
|
+
background-color: rgb(0, 76.5, 153);
|
|
60
|
+
border-color: rgb(0, 76.5, 153);
|
|
61
|
+
}
|
|
62
|
+
.Button-module__button--text___6Kh5s {
|
|
63
|
+
color: #0066cc;
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
border-color: transparent;
|
|
66
|
+
}
|
|
67
|
+
.Button-module__button--text___6Kh5s:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
68
|
+
background-color: rgba(0, 102, 204, 0.1);
|
|
69
|
+
}
|
|
70
|
+
.Button-module__button--text___6Kh5s:active:not(.Button-module__button--disabled___zC2nI) {
|
|
71
|
+
background-color: rgba(0, 102, 204, 0.2);
|
|
72
|
+
}
|
|
73
|
+
.Button-module__button--small___T4-Pw {
|
|
74
|
+
padding: 0.5rem 1rem;
|
|
75
|
+
font-size: 0.875rem;
|
|
76
|
+
}
|
|
77
|
+
.Button-module__button--medium___EwhUs {
|
|
78
|
+
padding: 1rem 1.5rem;
|
|
79
|
+
font-size: 1rem;
|
|
80
|
+
}
|
|
81
|
+
.Button-module__button--large___uuXbF {
|
|
82
|
+
padding: 1.5rem 2rem;
|
|
83
|
+
font-size: 1.125rem;
|
|
84
|
+
}
|
|
85
|
+
.Button-module__button--disabled___zC2nI {
|
|
86
|
+
opacity: 0.5;
|
|
87
|
+
cursor: not-allowed;
|
|
88
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.Button-module__button___yfSXe {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
6
|
+
font-weight: 600;
|
|
7
|
+
line-height: 1.5;
|
|
8
|
+
text-align: center;
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
-webkit-user-select: none;
|
|
13
|
+
-moz-user-select: none;
|
|
14
|
+
user-select: none;
|
|
15
|
+
border: 2px solid transparent;
|
|
16
|
+
border-radius: 4px;
|
|
17
|
+
transition: all 0.2s ease-in-out;
|
|
18
|
+
}
|
|
19
|
+
.Button-module__button___yfSXe:focus-visible {
|
|
20
|
+
outline: 2px solid #0066cc;
|
|
21
|
+
outline-offset: 2px;
|
|
22
|
+
}
|
|
23
|
+
.Button-module__button--primary___XhVfu {
|
|
24
|
+
color: white;
|
|
25
|
+
background-color: #0066cc;
|
|
26
|
+
border-color: #0066cc;
|
|
27
|
+
}
|
|
28
|
+
.Button-module__button--primary___XhVfu:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
29
|
+
background-color: rgb(0, 76.5, 153);
|
|
30
|
+
border-color: rgb(0, 76.5, 153);
|
|
31
|
+
}
|
|
32
|
+
.Button-module__button--primary___XhVfu:active:not(.Button-module__button--disabled___zC2nI) {
|
|
33
|
+
background-color: rgb(0, 63.75, 127.5);
|
|
34
|
+
border-color: rgb(0, 63.75, 127.5);
|
|
35
|
+
}
|
|
36
|
+
.Button-module__button--secondary___iFz5O {
|
|
37
|
+
color: white;
|
|
38
|
+
background-color: #6c757d;
|
|
39
|
+
border-color: #6c757d;
|
|
40
|
+
}
|
|
41
|
+
.Button-module__button--secondary___iFz5O:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
42
|
+
background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
43
|
+
border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
44
|
+
}
|
|
45
|
+
.Button-module__button--secondary___iFz5O:active:not(.Button-module__button--disabled___zC2nI) {
|
|
46
|
+
background-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
47
|
+
border-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
48
|
+
}
|
|
49
|
+
.Button-module__button--outline___G4qIX {
|
|
50
|
+
color: #0066cc;
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
border-color: #0066cc;
|
|
53
|
+
}
|
|
54
|
+
.Button-module__button--outline___G4qIX:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
55
|
+
color: white;
|
|
56
|
+
background-color: #0066cc;
|
|
57
|
+
}
|
|
58
|
+
.Button-module__button--outline___G4qIX:active:not(.Button-module__button--disabled___zC2nI) {
|
|
59
|
+
background-color: rgb(0, 76.5, 153);
|
|
60
|
+
border-color: rgb(0, 76.5, 153);
|
|
61
|
+
}
|
|
62
|
+
.Button-module__button--text___6Kh5s {
|
|
63
|
+
color: #0066cc;
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
border-color: transparent;
|
|
66
|
+
}
|
|
67
|
+
.Button-module__button--text___6Kh5s:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
68
|
+
background-color: rgba(0, 102, 204, 0.1);
|
|
69
|
+
}
|
|
70
|
+
.Button-module__button--text___6Kh5s:active:not(.Button-module__button--disabled___zC2nI) {
|
|
71
|
+
background-color: rgba(0, 102, 204, 0.2);
|
|
72
|
+
}
|
|
73
|
+
.Button-module__button--small___T4-Pw {
|
|
74
|
+
padding: 0.5rem 1rem;
|
|
75
|
+
font-size: 0.875rem;
|
|
76
|
+
}
|
|
77
|
+
.Button-module__button--medium___EwhUs {
|
|
78
|
+
padding: 1rem 1.5rem;
|
|
79
|
+
font-size: 1rem;
|
|
80
|
+
}
|
|
81
|
+
.Button-module__button--large___uuXbF {
|
|
82
|
+
padding: 1.5rem 2rem;
|
|
83
|
+
font-size: 1.125rem;
|
|
84
|
+
}
|
|
85
|
+
.Button-module__button--disabled___zC2nI {
|
|
86
|
+
opacity: 0.5;
|
|
87
|
+
cursor: not-allowed;
|
|
88
|
+
}
|