@entur/button 3.3.13-beta.5 → 3.3.13-beta.6
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/dist/styles.css +83 -83
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,88 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-button-group .eds-button {
|
|
4
|
-
margin-right: 0.75rem;
|
|
5
|
-
margin-bottom: 0.75rem;
|
|
6
|
-
}
|
|
7
|
-
.eds-button-group .eds-button:only-child {
|
|
8
|
-
margin: 0;
|
|
9
|
-
}
|
|
10
|
-
/* DO NOT CHANGE!*/
|
|
11
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
12
|
-
.eds-floating-button {
|
|
13
|
-
align-items: center;
|
|
14
|
-
-webkit-appearance: none;
|
|
15
|
-
-moz-appearance: none;
|
|
16
|
-
appearance: none;
|
|
17
|
-
background: var(--components-button-floating-standard-default);
|
|
18
|
-
border: 0;
|
|
19
|
-
border-radius: 1.5rem;
|
|
20
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
21
|
-
color: var(--components-button-floating-standard-text);
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
display: flex;
|
|
24
|
-
font-family: inherit;
|
|
25
|
-
font-size: 0.875rem;
|
|
26
|
-
font-weight: 500;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
min-height: 3rem;
|
|
29
|
-
margin: 0;
|
|
30
|
-
min-width: 3rem;
|
|
31
|
-
padding: 0 1rem;
|
|
32
|
-
position: relative;
|
|
33
|
-
z-index: 10;
|
|
34
|
-
}
|
|
35
|
-
.eds-floating-button--extended {
|
|
36
|
-
padding: 0 0.9375rem;
|
|
37
|
-
}
|
|
38
|
-
.eds-floating-button:hover {
|
|
39
|
-
background-color: var(--components-button-floating-standard-hover);
|
|
40
|
-
}
|
|
41
|
-
.eds-floating-button:active {
|
|
42
|
-
background-color: var(--components-button-floating-standard-active);
|
|
43
|
-
}
|
|
44
|
-
.eds-floating-button:focus-visible {
|
|
45
|
-
outline: 2px solid #181c56;
|
|
46
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
47
|
-
outline-offset: 0.125rem;
|
|
48
|
-
}
|
|
49
|
-
.eds-contrast .eds-floating-button:focus-visible {
|
|
50
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
51
|
-
}
|
|
52
|
-
.eds-contrast .eds-floating-button {
|
|
53
|
-
background: var(--components-button-floating-contrast-default);
|
|
54
|
-
color: var(--components-button-floating-contrast-text);
|
|
55
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
56
|
-
}
|
|
57
|
-
.eds-contrast .eds-floating-button:hover {
|
|
58
|
-
background-color: var(--components-button-floating-contrast-hover);
|
|
59
|
-
}
|
|
60
|
-
.eds-contrast .eds-floating-button:active {
|
|
61
|
-
background-color: var(--components-button-floating-contrast-active);
|
|
62
|
-
}
|
|
63
|
-
.eds-floating-button--small {
|
|
64
|
-
border-radius: 1rem;
|
|
65
|
-
height: 2rem;
|
|
66
|
-
padding: 0 0.5rem;
|
|
67
|
-
min-width: 2rem;
|
|
68
|
-
min-height: 2rem;
|
|
69
|
-
flex: 0 1 auto;
|
|
70
|
-
}
|
|
71
|
-
.eds-floating-button--small.eds-floating-button--extended {
|
|
72
|
-
padding: 0 0.6875rem;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.eds-floating-button--extended > * {
|
|
76
|
-
margin: 0 0.5em;
|
|
77
|
-
}
|
|
78
|
-
.eds-floating-button--extended > *:first-child {
|
|
79
|
-
margin-left: 0;
|
|
80
|
-
}
|
|
81
|
-
.eds-floating-button--extended > *:last-child {
|
|
82
|
-
margin-right: 0;
|
|
83
|
-
}
|
|
84
|
-
/* DO NOT CHANGE!*/
|
|
85
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
86
3
|
a.eds-button {
|
|
87
4
|
display: flex;
|
|
88
5
|
align-items: center;
|
|
@@ -294,6 +211,89 @@ a.eds-button .eds-icon {
|
|
|
294
211
|
}
|
|
295
212
|
/* DO NOT CHANGE!*/
|
|
296
213
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
214
|
+
.eds-button-group .eds-button {
|
|
215
|
+
margin-right: 0.75rem;
|
|
216
|
+
margin-bottom: 0.75rem;
|
|
217
|
+
}
|
|
218
|
+
.eds-button-group .eds-button:only-child {
|
|
219
|
+
margin: 0;
|
|
220
|
+
}
|
|
221
|
+
/* DO NOT CHANGE!*/
|
|
222
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
223
|
+
.eds-floating-button {
|
|
224
|
+
align-items: center;
|
|
225
|
+
-webkit-appearance: none;
|
|
226
|
+
-moz-appearance: none;
|
|
227
|
+
appearance: none;
|
|
228
|
+
background: var(--components-button-floating-standard-default);
|
|
229
|
+
border: 0;
|
|
230
|
+
border-radius: 1.5rem;
|
|
231
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
232
|
+
color: var(--components-button-floating-standard-text);
|
|
233
|
+
cursor: pointer;
|
|
234
|
+
display: flex;
|
|
235
|
+
font-family: inherit;
|
|
236
|
+
font-size: 0.875rem;
|
|
237
|
+
font-weight: 500;
|
|
238
|
+
justify-content: center;
|
|
239
|
+
min-height: 3rem;
|
|
240
|
+
margin: 0;
|
|
241
|
+
min-width: 3rem;
|
|
242
|
+
padding: 0 1rem;
|
|
243
|
+
position: relative;
|
|
244
|
+
z-index: 10;
|
|
245
|
+
}
|
|
246
|
+
.eds-floating-button--extended {
|
|
247
|
+
padding: 0 0.9375rem;
|
|
248
|
+
}
|
|
249
|
+
.eds-floating-button:hover {
|
|
250
|
+
background-color: var(--components-button-floating-standard-hover);
|
|
251
|
+
}
|
|
252
|
+
.eds-floating-button:active {
|
|
253
|
+
background-color: var(--components-button-floating-standard-active);
|
|
254
|
+
}
|
|
255
|
+
.eds-floating-button:focus-visible {
|
|
256
|
+
outline: 2px solid #181c56;
|
|
257
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
258
|
+
outline-offset: 0.125rem;
|
|
259
|
+
}
|
|
260
|
+
.eds-contrast .eds-floating-button:focus-visible {
|
|
261
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
262
|
+
}
|
|
263
|
+
.eds-contrast .eds-floating-button {
|
|
264
|
+
background: var(--components-button-floating-contrast-default);
|
|
265
|
+
color: var(--components-button-floating-contrast-text);
|
|
266
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
267
|
+
}
|
|
268
|
+
.eds-contrast .eds-floating-button:hover {
|
|
269
|
+
background-color: var(--components-button-floating-contrast-hover);
|
|
270
|
+
}
|
|
271
|
+
.eds-contrast .eds-floating-button:active {
|
|
272
|
+
background-color: var(--components-button-floating-contrast-active);
|
|
273
|
+
}
|
|
274
|
+
.eds-floating-button--small {
|
|
275
|
+
border-radius: 1rem;
|
|
276
|
+
height: 2rem;
|
|
277
|
+
padding: 0 0.5rem;
|
|
278
|
+
min-width: 2rem;
|
|
279
|
+
min-height: 2rem;
|
|
280
|
+
flex: 0 1 auto;
|
|
281
|
+
}
|
|
282
|
+
.eds-floating-button--small.eds-floating-button--extended {
|
|
283
|
+
padding: 0 0.6875rem;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.eds-floating-button--extended > * {
|
|
287
|
+
margin: 0 0.5em;
|
|
288
|
+
}
|
|
289
|
+
.eds-floating-button--extended > *:first-child {
|
|
290
|
+
margin-left: 0;
|
|
291
|
+
}
|
|
292
|
+
.eds-floating-button--extended > *:last-child {
|
|
293
|
+
margin-right: 0;
|
|
294
|
+
}
|
|
295
|
+
/* DO NOT CHANGE!*/
|
|
296
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
297
297
|
.eds-square-button {
|
|
298
298
|
align-items: center;
|
|
299
299
|
-webkit-appearance: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.3.13-beta.
|
|
3
|
+
"version": "3.3.13-beta.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/loader": "^0.5.30-beta.
|
|
30
|
+
"@entur/loader": "^0.5.30-beta.6",
|
|
31
31
|
"@entur/tokens": "^3.19.1",
|
|
32
32
|
"@entur/utils": "^0.12.3",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"dts-cli": "2.0.5"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "42c5a2e7657f2b5ca17328fcf55873b19e23f94a"
|
|
39
39
|
}
|