@entur/button 3.1.5 → 3.1.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: #181c56;
|
|
18
|
-
border: 0;
|
|
19
|
-
border-radius: 1.5rem;
|
|
20
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
21
|
-
color: #ffffff;
|
|
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: #2f3367;
|
|
40
|
-
}
|
|
41
|
-
.eds-floating-button:active {
|
|
42
|
-
background-color: #16194d;
|
|
43
|
-
}
|
|
44
|
-
.eds-floating-button:focus {
|
|
45
|
-
outline-offset: 0.125rem;
|
|
46
|
-
outline: none;
|
|
47
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
48
|
-
}
|
|
49
|
-
.eds-contrast .eds-floating-button:focus {
|
|
50
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
51
|
-
}
|
|
52
|
-
.eds-contrast .eds-floating-button {
|
|
53
|
-
background: #ffffff;
|
|
54
|
-
color: #181c56;
|
|
55
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
56
|
-
}
|
|
57
|
-
.eds-contrast .eds-floating-button:hover {
|
|
58
|
-
background-color: #b6bee5;
|
|
59
|
-
}
|
|
60
|
-
.eds-contrast .eds-floating-button:active {
|
|
61
|
-
background-color: #e6e6e6;
|
|
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
|
padding: 0.5rem 1rem;
|
|
88
5
|
}
|
|
@@ -312,6 +229,89 @@ a.eds-button--size-large {
|
|
|
312
229
|
}
|
|
313
230
|
/* DO NOT CHANGE!*/
|
|
314
231
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
232
|
+
.eds-button-group .eds-button {
|
|
233
|
+
margin-right: 0.75rem;
|
|
234
|
+
margin-bottom: 0.75rem;
|
|
235
|
+
}
|
|
236
|
+
.eds-button-group .eds-button:only-child {
|
|
237
|
+
margin: 0;
|
|
238
|
+
}
|
|
239
|
+
/* DO NOT CHANGE!*/
|
|
240
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
241
|
+
.eds-floating-button {
|
|
242
|
+
align-items: center;
|
|
243
|
+
-webkit-appearance: none;
|
|
244
|
+
-moz-appearance: none;
|
|
245
|
+
appearance: none;
|
|
246
|
+
background: #181c56;
|
|
247
|
+
border: 0;
|
|
248
|
+
border-radius: 1.5rem;
|
|
249
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
250
|
+
color: #ffffff;
|
|
251
|
+
cursor: pointer;
|
|
252
|
+
display: flex;
|
|
253
|
+
font-family: inherit;
|
|
254
|
+
font-size: 0.875rem;
|
|
255
|
+
font-weight: 500;
|
|
256
|
+
justify-content: center;
|
|
257
|
+
min-height: 3rem;
|
|
258
|
+
margin: 0;
|
|
259
|
+
min-width: 3rem;
|
|
260
|
+
padding: 0 1rem;
|
|
261
|
+
position: relative;
|
|
262
|
+
z-index: 10;
|
|
263
|
+
}
|
|
264
|
+
.eds-floating-button--extended {
|
|
265
|
+
padding: 0 0.9375rem;
|
|
266
|
+
}
|
|
267
|
+
.eds-floating-button:hover {
|
|
268
|
+
background-color: #2f3367;
|
|
269
|
+
}
|
|
270
|
+
.eds-floating-button:active {
|
|
271
|
+
background-color: #16194d;
|
|
272
|
+
}
|
|
273
|
+
.eds-floating-button:focus {
|
|
274
|
+
outline-offset: 0.125rem;
|
|
275
|
+
outline: none;
|
|
276
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
277
|
+
}
|
|
278
|
+
.eds-contrast .eds-floating-button:focus {
|
|
279
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
280
|
+
}
|
|
281
|
+
.eds-contrast .eds-floating-button {
|
|
282
|
+
background: #ffffff;
|
|
283
|
+
color: #181c56;
|
|
284
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
285
|
+
}
|
|
286
|
+
.eds-contrast .eds-floating-button:hover {
|
|
287
|
+
background-color: #b6bee5;
|
|
288
|
+
}
|
|
289
|
+
.eds-contrast .eds-floating-button:active {
|
|
290
|
+
background-color: #e6e6e6;
|
|
291
|
+
}
|
|
292
|
+
.eds-floating-button--small {
|
|
293
|
+
border-radius: 1rem;
|
|
294
|
+
height: 2rem;
|
|
295
|
+
padding: 0 0.5rem;
|
|
296
|
+
min-width: 2rem;
|
|
297
|
+
min-height: 2rem;
|
|
298
|
+
flex: 0 1 auto;
|
|
299
|
+
}
|
|
300
|
+
.eds-floating-button--small.eds-floating-button--extended {
|
|
301
|
+
padding: 0 0.6875rem;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.eds-floating-button--extended > * {
|
|
305
|
+
margin: 0 0.5em;
|
|
306
|
+
}
|
|
307
|
+
.eds-floating-button--extended > *:first-child {
|
|
308
|
+
margin-left: 0;
|
|
309
|
+
}
|
|
310
|
+
.eds-floating-button--extended > *:last-child {
|
|
311
|
+
margin-right: 0;
|
|
312
|
+
}
|
|
313
|
+
/* DO NOT CHANGE!*/
|
|
314
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
315
315
|
.eds-square-button {
|
|
316
316
|
--icon-color: var(--primary-text-color);
|
|
317
317
|
--button-background: transparent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/loader": "^0.4.
|
|
30
|
+
"@entur/loader": "^0.4.43",
|
|
31
31
|
"@entur/tokens": "^3.10.0",
|
|
32
32
|
"@entur/utils": "^0.9.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "9e97f6db17e2ad5096603ba20d568601059ca53e"
|
|
36
36
|
}
|