@entur/button 3.2.27-beta.0 → 3.2.28
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 +59 -59
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -292,62 +292,6 @@ a.eds-button--size-large {
|
|
|
292
292
|
}
|
|
293
293
|
/* DO NOT CHANGE!*/
|
|
294
294
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
295
|
-
.eds-icon-button {
|
|
296
|
-
border: 0.125rem solid transparent;
|
|
297
|
-
border-radius: 0.25rem;
|
|
298
|
-
background: none;
|
|
299
|
-
color: var(--components-button-iconbutton-standard-text);
|
|
300
|
-
cursor: pointer;
|
|
301
|
-
display: flex;
|
|
302
|
-
justify-content: center;
|
|
303
|
-
align-items: center;
|
|
304
|
-
font-size: 1rem;
|
|
305
|
-
padding: 0.5rem;
|
|
306
|
-
}
|
|
307
|
-
.eds-contrast .eds-icon-button {
|
|
308
|
-
color: var(--components-button-iconbutton-contrast-text);
|
|
309
|
-
}
|
|
310
|
-
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
311
|
-
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
312
|
-
}
|
|
313
|
-
.eds-icon-button--size-small {
|
|
314
|
-
height: 1.5rem;
|
|
315
|
-
width: 1.5rem;
|
|
316
|
-
padding: 0;
|
|
317
|
-
}
|
|
318
|
-
.eds-icon-button:hover {
|
|
319
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
320
|
-
}
|
|
321
|
-
.eds-contrast .eds-icon-button:hover {
|
|
322
|
-
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
323
|
-
}
|
|
324
|
-
.eds-icon-button:active {
|
|
325
|
-
background: var(--components-button-iconbutton-standard-active);
|
|
326
|
-
color: var(--components-button-iconbutton-standard-text-active);
|
|
327
|
-
}
|
|
328
|
-
.eds-contrast .eds-icon-button:active {
|
|
329
|
-
background: var(--components-button-iconbutton-contrast-active);
|
|
330
|
-
color: var(--components-button-iconbutton-contrast-text-active);
|
|
331
|
-
}
|
|
332
|
-
.eds-icon-button:focus {
|
|
333
|
-
outline: 2px solid #181c56;
|
|
334
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
335
|
-
outline-offset: 0.125rem;
|
|
336
|
-
}
|
|
337
|
-
.eds-contrast .eds-icon-button:focus {
|
|
338
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
339
|
-
}
|
|
340
|
-
.eds-icon-button--disabled {
|
|
341
|
-
opacity: 0.5;
|
|
342
|
-
pointer-events: none;
|
|
343
|
-
}
|
|
344
|
-
.eds-icon-button--disabled__wrapper {
|
|
345
|
-
cursor: not-allowed;
|
|
346
|
-
width: -moz-fit-content;
|
|
347
|
-
width: fit-content;
|
|
348
|
-
}
|
|
349
|
-
/* DO NOT CHANGE!*/
|
|
350
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
351
295
|
.eds-square-button {
|
|
352
296
|
align-items: center;
|
|
353
297
|
-webkit-appearance: none;
|
|
@@ -513,6 +457,62 @@ a.eds-button--size-large {
|
|
|
513
457
|
}
|
|
514
458
|
/* DO NOT CHANGE!*/
|
|
515
459
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
460
|
+
.eds-icon-button {
|
|
461
|
+
border: 0.125rem solid transparent;
|
|
462
|
+
border-radius: 0.25rem;
|
|
463
|
+
background: none;
|
|
464
|
+
color: var(--components-button-iconbutton-standard-text);
|
|
465
|
+
cursor: pointer;
|
|
466
|
+
display: flex;
|
|
467
|
+
justify-content: center;
|
|
468
|
+
align-items: center;
|
|
469
|
+
font-size: 1rem;
|
|
470
|
+
padding: 0.5rem;
|
|
471
|
+
}
|
|
472
|
+
.eds-contrast .eds-icon-button {
|
|
473
|
+
color: var(--components-button-iconbutton-contrast-text);
|
|
474
|
+
}
|
|
475
|
+
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
476
|
+
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
477
|
+
}
|
|
478
|
+
.eds-icon-button--size-small {
|
|
479
|
+
height: 1.5rem;
|
|
480
|
+
width: 1.5rem;
|
|
481
|
+
padding: 0;
|
|
482
|
+
}
|
|
483
|
+
.eds-icon-button:hover {
|
|
484
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
485
|
+
}
|
|
486
|
+
.eds-contrast .eds-icon-button:hover {
|
|
487
|
+
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
488
|
+
}
|
|
489
|
+
.eds-icon-button:active {
|
|
490
|
+
background: var(--components-button-iconbutton-standard-active);
|
|
491
|
+
color: var(--components-button-iconbutton-standard-text-active);
|
|
492
|
+
}
|
|
493
|
+
.eds-contrast .eds-icon-button:active {
|
|
494
|
+
background: var(--components-button-iconbutton-contrast-active);
|
|
495
|
+
color: var(--components-button-iconbutton-contrast-text-active);
|
|
496
|
+
}
|
|
497
|
+
.eds-icon-button:focus {
|
|
498
|
+
outline: 2px solid #181c56;
|
|
499
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
500
|
+
outline-offset: 0.125rem;
|
|
501
|
+
}
|
|
502
|
+
.eds-contrast .eds-icon-button:focus {
|
|
503
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
504
|
+
}
|
|
505
|
+
.eds-icon-button--disabled {
|
|
506
|
+
opacity: 0.5;
|
|
507
|
+
pointer-events: none;
|
|
508
|
+
}
|
|
509
|
+
.eds-icon-button--disabled__wrapper {
|
|
510
|
+
cursor: not-allowed;
|
|
511
|
+
width: -moz-fit-content;
|
|
512
|
+
width: fit-content;
|
|
513
|
+
}
|
|
514
|
+
/* DO NOT CHANGE!*/
|
|
515
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
516
516
|
/* DO NOT CHANGE!*/
|
|
517
517
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
518
518
|
/* DO NOT CHANGE!*/
|
|
@@ -835,8 +835,8 @@ a.eds-button--size-large {
|
|
|
835
835
|
--basecolors-shape-accent: #e5e5e9;
|
|
836
836
|
--basecolors-shape-bicycle-contrast: #4db295;
|
|
837
837
|
--basecolors-shape-bicycle-default: #4db295;
|
|
838
|
-
--basecolors-shape-bus-contrast: #
|
|
839
|
-
--basecolors-shape-bus-default: #
|
|
838
|
+
--basecolors-shape-bus-contrast: #ef7398;
|
|
839
|
+
--basecolors-shape-bus-default: #ef7398;
|
|
840
840
|
--basecolors-shape-cableway-contrast: #b898e5;
|
|
841
841
|
--basecolors-shape-cableway-default: #b898e5;
|
|
842
842
|
--basecolors-shape-disabled: #b6b8ba;
|
|
@@ -879,7 +879,7 @@ a.eds-button--size-large {
|
|
|
879
879
|
--basecolors-stroke-highlight: #ff9494;
|
|
880
880
|
--basecolors-stroke-light: #b3b4bd;
|
|
881
881
|
--basecolors-stroke-subdued: #81828f;
|
|
882
|
-
--basecolors-stroke-subduedalt: #
|
|
882
|
+
--basecolors-stroke-subduedalt: #949699;
|
|
883
883
|
--basecolors-text-accent: #e5e5e9;
|
|
884
884
|
--basecolors-text-disabled: #b6b8ba;
|
|
885
885
|
--basecolors-text-disabledalt: #b6b8ba;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.28",
|
|
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.5.
|
|
31
|
-
"@entur/tokens": "^3.15.
|
|
30
|
+
"@entur/loader": "^0.5.6",
|
|
31
|
+
"@entur/tokens": "^3.15.2",
|
|
32
32
|
"@entur/utils": "^0.11.1",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "cff2157007648ca73944d215e9f3f03160c96f13"
|
|
36
36
|
}
|