@entur/button 3.0.2 → 3.0.3
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 +79 -79
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -3,80 +3,6 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-floating-button {
|
|
7
|
-
align-items: center;
|
|
8
|
-
-webkit-appearance: none;
|
|
9
|
-
-moz-appearance: none;
|
|
10
|
-
appearance: none;
|
|
11
|
-
background: #181c56;
|
|
12
|
-
border: 0;
|
|
13
|
-
border-radius: 1.5rem;
|
|
14
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
15
|
-
color: #ffffff;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
display: flex;
|
|
18
|
-
font-family: inherit;
|
|
19
|
-
font-size: 0.875rem;
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
min-height: 3rem;
|
|
23
|
-
margin: 0;
|
|
24
|
-
min-width: 3rem;
|
|
25
|
-
padding: 0 1rem;
|
|
26
|
-
position: relative;
|
|
27
|
-
z-index: 10;
|
|
28
|
-
}
|
|
29
|
-
.eds-floating-button--extended {
|
|
30
|
-
padding: 0 0.9375rem;
|
|
31
|
-
}
|
|
32
|
-
.eds-floating-button:hover {
|
|
33
|
-
background-color: #2f3367;
|
|
34
|
-
}
|
|
35
|
-
.eds-floating-button:active {
|
|
36
|
-
background-color: #16194d;
|
|
37
|
-
}
|
|
38
|
-
.eds-floating-button:focus {
|
|
39
|
-
outline-offset: 0.125rem;
|
|
40
|
-
outline: none;
|
|
41
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
42
|
-
}
|
|
43
|
-
.eds-contrast .eds-floating-button:focus {
|
|
44
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
45
|
-
}
|
|
46
|
-
.eds-contrast .eds-floating-button {
|
|
47
|
-
background: #ffffff;
|
|
48
|
-
color: #181c56;
|
|
49
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
50
|
-
}
|
|
51
|
-
.eds-contrast .eds-floating-button:hover {
|
|
52
|
-
background-color: #b6bee5;
|
|
53
|
-
}
|
|
54
|
-
.eds-contrast .eds-floating-button:active {
|
|
55
|
-
background-color: #e6e6e6;
|
|
56
|
-
}
|
|
57
|
-
.eds-floating-button--small {
|
|
58
|
-
border-radius: 1rem;
|
|
59
|
-
height: 2rem;
|
|
60
|
-
padding: 0 0.5rem;
|
|
61
|
-
min-width: 2rem;
|
|
62
|
-
min-height: 2rem;
|
|
63
|
-
flex: 0 1 auto;
|
|
64
|
-
}
|
|
65
|
-
.eds-floating-button--small.eds-floating-button--extended {
|
|
66
|
-
padding: 0 0.6875rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.eds-floating-button--extended > * {
|
|
70
|
-
margin: 0 0.5em;
|
|
71
|
-
}
|
|
72
|
-
.eds-floating-button--extended > *:first-child {
|
|
73
|
-
margin-left: 0;
|
|
74
|
-
}
|
|
75
|
-
.eds-floating-button--extended > *:last-child {
|
|
76
|
-
margin-right: 0;
|
|
77
|
-
}
|
|
78
|
-
/* DO NOT CHANGE!*/
|
|
79
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
80
6
|
a.eds-button {
|
|
81
7
|
padding: 0.5rem 1rem;
|
|
82
8
|
}
|
|
@@ -293,6 +219,15 @@ a.eds-button--size-large {
|
|
|
293
219
|
}
|
|
294
220
|
/* DO NOT CHANGE!*/
|
|
295
221
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
222
|
+
.eds-button-group .eds-button {
|
|
223
|
+
margin-right: 0.75rem;
|
|
224
|
+
margin-bottom: 0.75rem;
|
|
225
|
+
}
|
|
226
|
+
.eds-button-group .eds-button:only-child {
|
|
227
|
+
margin: 0;
|
|
228
|
+
}
|
|
229
|
+
/* DO NOT CHANGE!*/
|
|
230
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
296
231
|
.eds-icon-button {
|
|
297
232
|
border: 0.0625rem solid transparent;
|
|
298
233
|
border-radius: 0.25rem;
|
|
@@ -347,12 +282,77 @@ a.eds-button--size-large {
|
|
|
347
282
|
}
|
|
348
283
|
/* DO NOT CHANGE!*/
|
|
349
284
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
350
|
-
.eds-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
285
|
+
.eds-floating-button {
|
|
286
|
+
align-items: center;
|
|
287
|
+
-webkit-appearance: none;
|
|
288
|
+
-moz-appearance: none;
|
|
289
|
+
appearance: none;
|
|
290
|
+
background: #181c56;
|
|
291
|
+
border: 0;
|
|
292
|
+
border-radius: 1.5rem;
|
|
293
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
294
|
+
color: #ffffff;
|
|
295
|
+
cursor: pointer;
|
|
296
|
+
display: flex;
|
|
297
|
+
font-family: inherit;
|
|
298
|
+
font-size: 0.875rem;
|
|
299
|
+
font-weight: 500;
|
|
300
|
+
justify-content: center;
|
|
301
|
+
min-height: 3rem;
|
|
355
302
|
margin: 0;
|
|
303
|
+
min-width: 3rem;
|
|
304
|
+
padding: 0 1rem;
|
|
305
|
+
position: relative;
|
|
306
|
+
z-index: 10;
|
|
307
|
+
}
|
|
308
|
+
.eds-floating-button--extended {
|
|
309
|
+
padding: 0 0.9375rem;
|
|
310
|
+
}
|
|
311
|
+
.eds-floating-button:hover {
|
|
312
|
+
background-color: #2f3367;
|
|
313
|
+
}
|
|
314
|
+
.eds-floating-button:active {
|
|
315
|
+
background-color: #16194d;
|
|
316
|
+
}
|
|
317
|
+
.eds-floating-button:focus {
|
|
318
|
+
outline-offset: 0.125rem;
|
|
319
|
+
outline: none;
|
|
320
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
321
|
+
}
|
|
322
|
+
.eds-contrast .eds-floating-button:focus {
|
|
323
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
324
|
+
}
|
|
325
|
+
.eds-contrast .eds-floating-button {
|
|
326
|
+
background: #ffffff;
|
|
327
|
+
color: #181c56;
|
|
328
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
329
|
+
}
|
|
330
|
+
.eds-contrast .eds-floating-button:hover {
|
|
331
|
+
background-color: #b6bee5;
|
|
332
|
+
}
|
|
333
|
+
.eds-contrast .eds-floating-button:active {
|
|
334
|
+
background-color: #e6e6e6;
|
|
335
|
+
}
|
|
336
|
+
.eds-floating-button--small {
|
|
337
|
+
border-radius: 1rem;
|
|
338
|
+
height: 2rem;
|
|
339
|
+
padding: 0 0.5rem;
|
|
340
|
+
min-width: 2rem;
|
|
341
|
+
min-height: 2rem;
|
|
342
|
+
flex: 0 1 auto;
|
|
343
|
+
}
|
|
344
|
+
.eds-floating-button--small.eds-floating-button--extended {
|
|
345
|
+
padding: 0 0.6875rem;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.eds-floating-button--extended > * {
|
|
349
|
+
margin: 0 0.5em;
|
|
350
|
+
}
|
|
351
|
+
.eds-floating-button--extended > *:first-child {
|
|
352
|
+
margin-left: 0;
|
|
353
|
+
}
|
|
354
|
+
.eds-floating-button--extended > *:last-child {
|
|
355
|
+
margin-right: 0;
|
|
356
356
|
}
|
|
357
357
|
/* DO NOT CHANGE!*/
|
|
358
358
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
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.26",
|
|
31
31
|
"@entur/tokens": "^3.8.1",
|
|
32
|
-
"@entur/utils": "^0.
|
|
32
|
+
"@entur/utils": "^0.7.0",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "402d010ee77f4ff809e3b709b0a29865c04cc1f4"
|
|
36
36
|
}
|