@entur/button 3.3.13-beta.8 → 3.3.13-beta.9
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 +139 -139
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,88 @@
|
|
|
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. */
|
|
3
86
|
a.eds-button {
|
|
4
87
|
display: flex;
|
|
5
88
|
align-items: center;
|
|
@@ -211,89 +294,6 @@ a.eds-button .eds-icon {
|
|
|
211
294
|
}
|
|
212
295
|
/* DO NOT CHANGE!*/
|
|
213
296
|
/* 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;
|
|
@@ -461,6 +461,62 @@ a.eds-button .eds-icon {
|
|
|
461
461
|
}
|
|
462
462
|
/* DO NOT CHANGE!*/
|
|
463
463
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
464
|
+
.eds-icon-button {
|
|
465
|
+
border: 0.125rem solid transparent;
|
|
466
|
+
border-radius: 0.25rem;
|
|
467
|
+
background: none;
|
|
468
|
+
color: var(--components-button-iconbutton-standard-text);
|
|
469
|
+
cursor: pointer;
|
|
470
|
+
display: flex;
|
|
471
|
+
justify-content: center;
|
|
472
|
+
align-items: center;
|
|
473
|
+
font-size: 1rem;
|
|
474
|
+
padding: 0.5rem;
|
|
475
|
+
}
|
|
476
|
+
.eds-contrast .eds-icon-button {
|
|
477
|
+
color: var(--components-button-iconbutton-contrast-text);
|
|
478
|
+
}
|
|
479
|
+
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
480
|
+
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
481
|
+
}
|
|
482
|
+
.eds-icon-button--size-small {
|
|
483
|
+
height: 1.5rem;
|
|
484
|
+
width: 1.5rem;
|
|
485
|
+
padding: 0;
|
|
486
|
+
}
|
|
487
|
+
.eds-icon-button:hover {
|
|
488
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
489
|
+
}
|
|
490
|
+
.eds-contrast .eds-icon-button:hover {
|
|
491
|
+
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
492
|
+
}
|
|
493
|
+
.eds-icon-button:active {
|
|
494
|
+
background: var(--components-button-iconbutton-standard-active);
|
|
495
|
+
color: var(--components-button-iconbutton-standard-text-active);
|
|
496
|
+
}
|
|
497
|
+
.eds-contrast .eds-icon-button:active {
|
|
498
|
+
background: var(--components-button-iconbutton-contrast-active);
|
|
499
|
+
color: var(--components-button-iconbutton-contrast-text-active);
|
|
500
|
+
}
|
|
501
|
+
.eds-icon-button:focus-visible {
|
|
502
|
+
outline: 2px solid #181c56;
|
|
503
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
504
|
+
outline-offset: 0.125rem;
|
|
505
|
+
}
|
|
506
|
+
.eds-contrast .eds-icon-button:focus-visible {
|
|
507
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
508
|
+
}
|
|
509
|
+
.eds-icon-button--disabled {
|
|
510
|
+
opacity: 0.5;
|
|
511
|
+
pointer-events: none;
|
|
512
|
+
}
|
|
513
|
+
.eds-icon-button--disabled__wrapper {
|
|
514
|
+
cursor: not-allowed;
|
|
515
|
+
width: -moz-fit-content;
|
|
516
|
+
width: fit-content;
|
|
517
|
+
}
|
|
518
|
+
/* DO NOT CHANGE!*/
|
|
519
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
464
520
|
/* DO NOT CHANGE!*/
|
|
465
521
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
466
522
|
/* DO NOT CHANGE!*/
|
|
@@ -842,59 +898,3 @@ a.eds-button .eds-icon {
|
|
|
842
898
|
:root {
|
|
843
899
|
--eds-button: 1;
|
|
844
900
|
}
|
|
845
|
-
/* DO NOT CHANGE!*/
|
|
846
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
847
|
-
.eds-icon-button {
|
|
848
|
-
border: 0.125rem solid transparent;
|
|
849
|
-
border-radius: 0.25rem;
|
|
850
|
-
background: none;
|
|
851
|
-
color: var(--components-button-iconbutton-standard-text);
|
|
852
|
-
cursor: pointer;
|
|
853
|
-
display: flex;
|
|
854
|
-
justify-content: center;
|
|
855
|
-
align-items: center;
|
|
856
|
-
font-size: 1rem;
|
|
857
|
-
padding: 0.5rem;
|
|
858
|
-
}
|
|
859
|
-
.eds-contrast .eds-icon-button {
|
|
860
|
-
color: var(--components-button-iconbutton-contrast-text);
|
|
861
|
-
}
|
|
862
|
-
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
863
|
-
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
864
|
-
}
|
|
865
|
-
.eds-icon-button--size-small {
|
|
866
|
-
height: 1.5rem;
|
|
867
|
-
width: 1.5rem;
|
|
868
|
-
padding: 0;
|
|
869
|
-
}
|
|
870
|
-
.eds-icon-button:hover {
|
|
871
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
872
|
-
}
|
|
873
|
-
.eds-contrast .eds-icon-button:hover {
|
|
874
|
-
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
875
|
-
}
|
|
876
|
-
.eds-icon-button:active {
|
|
877
|
-
background: var(--components-button-iconbutton-standard-active);
|
|
878
|
-
color: var(--components-button-iconbutton-standard-text-active);
|
|
879
|
-
}
|
|
880
|
-
.eds-contrast .eds-icon-button:active {
|
|
881
|
-
background: var(--components-button-iconbutton-contrast-active);
|
|
882
|
-
color: var(--components-button-iconbutton-contrast-text-active);
|
|
883
|
-
}
|
|
884
|
-
.eds-icon-button:focus-visible {
|
|
885
|
-
outline: 2px solid #181c56;
|
|
886
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
887
|
-
outline-offset: 0.125rem;
|
|
888
|
-
}
|
|
889
|
-
.eds-contrast .eds-icon-button:focus-visible {
|
|
890
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
891
|
-
}
|
|
892
|
-
.eds-icon-button--disabled {
|
|
893
|
-
opacity: 0.5;
|
|
894
|
-
pointer-events: none;
|
|
895
|
-
}
|
|
896
|
-
.eds-icon-button--disabled__wrapper {
|
|
897
|
-
cursor: not-allowed;
|
|
898
|
-
width: -moz-fit-content;
|
|
899
|
-
width: fit-content;
|
|
900
|
-
}
|
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.9",
|
|
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.9",
|
|
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": "6f685d2e4ac13bdaf9c6480f9e7922c9d8f4619c"
|
|
39
39
|
}
|