@entur/button 3.0.12 → 3.0.13
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 +3 -3
package/dist/styles.css
CHANGED
|
@@ -3,12 +3,77 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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;
|
|
11
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;
|
|
12
77
|
}
|
|
13
78
|
/* DO NOT CHANGE!*/
|
|
14
79
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -228,80 +293,6 @@ a.eds-button--size-large {
|
|
|
228
293
|
}
|
|
229
294
|
/* DO NOT CHANGE!*/
|
|
230
295
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
231
|
-
.eds-floating-button {
|
|
232
|
-
align-items: center;
|
|
233
|
-
-webkit-appearance: none;
|
|
234
|
-
-moz-appearance: none;
|
|
235
|
-
appearance: none;
|
|
236
|
-
background: #181c56;
|
|
237
|
-
border: 0;
|
|
238
|
-
border-radius: 1.5rem;
|
|
239
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
240
|
-
color: #ffffff;
|
|
241
|
-
cursor: pointer;
|
|
242
|
-
display: flex;
|
|
243
|
-
font-family: inherit;
|
|
244
|
-
font-size: 0.875rem;
|
|
245
|
-
font-weight: 500;
|
|
246
|
-
justify-content: center;
|
|
247
|
-
min-height: 3rem;
|
|
248
|
-
margin: 0;
|
|
249
|
-
min-width: 3rem;
|
|
250
|
-
padding: 0 1rem;
|
|
251
|
-
position: relative;
|
|
252
|
-
z-index: 10;
|
|
253
|
-
}
|
|
254
|
-
.eds-floating-button--extended {
|
|
255
|
-
padding: 0 0.9375rem;
|
|
256
|
-
}
|
|
257
|
-
.eds-floating-button:hover {
|
|
258
|
-
background-color: #2f3367;
|
|
259
|
-
}
|
|
260
|
-
.eds-floating-button:active {
|
|
261
|
-
background-color: #16194d;
|
|
262
|
-
}
|
|
263
|
-
.eds-floating-button:focus {
|
|
264
|
-
outline-offset: 0.125rem;
|
|
265
|
-
outline: none;
|
|
266
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
267
|
-
}
|
|
268
|
-
.eds-contrast .eds-floating-button:focus {
|
|
269
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
270
|
-
}
|
|
271
|
-
.eds-contrast .eds-floating-button {
|
|
272
|
-
background: #ffffff;
|
|
273
|
-
color: #181c56;
|
|
274
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
275
|
-
}
|
|
276
|
-
.eds-contrast .eds-floating-button:hover {
|
|
277
|
-
background-color: #b6bee5;
|
|
278
|
-
}
|
|
279
|
-
.eds-contrast .eds-floating-button:active {
|
|
280
|
-
background-color: #e6e6e6;
|
|
281
|
-
}
|
|
282
|
-
.eds-floating-button--small {
|
|
283
|
-
border-radius: 1rem;
|
|
284
|
-
height: 2rem;
|
|
285
|
-
padding: 0 0.5rem;
|
|
286
|
-
min-width: 2rem;
|
|
287
|
-
min-height: 2rem;
|
|
288
|
-
flex: 0 1 auto;
|
|
289
|
-
}
|
|
290
|
-
.eds-floating-button--small.eds-floating-button--extended {
|
|
291
|
-
padding: 0 0.6875rem;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.eds-floating-button--extended > * {
|
|
295
|
-
margin: 0 0.5em;
|
|
296
|
-
}
|
|
297
|
-
.eds-floating-button--extended > *:first-child {
|
|
298
|
-
margin-left: 0;
|
|
299
|
-
}
|
|
300
|
-
.eds-floating-button--extended > *:last-child {
|
|
301
|
-
margin-right: 0;
|
|
302
|
-
}
|
|
303
|
-
/* DO NOT CHANGE!*/
|
|
304
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
305
296
|
.eds-icon-button {
|
|
306
297
|
border: 0.0625rem solid transparent;
|
|
307
298
|
border-radius: 0.25rem;
|
|
@@ -356,6 +347,15 @@ a.eds-button--size-large {
|
|
|
356
347
|
}
|
|
357
348
|
/* DO NOT CHANGE!*/
|
|
358
349
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
350
|
+
.eds-button-group .eds-button {
|
|
351
|
+
margin-right: 0.75rem;
|
|
352
|
+
margin-bottom: 0.75rem;
|
|
353
|
+
}
|
|
354
|
+
.eds-button-group .eds-button:only-child {
|
|
355
|
+
margin: 0;
|
|
356
|
+
}
|
|
357
|
+
/* DO NOT CHANGE!*/
|
|
358
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
359
359
|
.eds-square-button {
|
|
360
360
|
--icon-color: var(--primary-text-color);
|
|
361
361
|
--icon-background: transparent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
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.36",
|
|
31
31
|
"@entur/tokens": "^3.10.0",
|
|
32
32
|
"@entur/utils": "^0.9.3",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "113113f32a331fcd5f01d20e2c47ae2f2b73b93e"
|
|
36
36
|
}
|