@entur/button 3.2.37 → 3.2.38
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 +56 -56
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -460,62 +460,6 @@ a.eds-button--size-large {
|
|
|
460
460
|
}
|
|
461
461
|
/* DO NOT CHANGE!*/
|
|
462
462
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
463
|
-
.eds-icon-button {
|
|
464
|
-
border: 0.125rem solid transparent;
|
|
465
|
-
border-radius: 0.25rem;
|
|
466
|
-
background: none;
|
|
467
|
-
color: var(--components-button-iconbutton-standard-text);
|
|
468
|
-
cursor: pointer;
|
|
469
|
-
display: flex;
|
|
470
|
-
justify-content: center;
|
|
471
|
-
align-items: center;
|
|
472
|
-
font-size: 1rem;
|
|
473
|
-
padding: 0.5rem;
|
|
474
|
-
}
|
|
475
|
-
.eds-contrast .eds-icon-button {
|
|
476
|
-
color: var(--components-button-iconbutton-contrast-text);
|
|
477
|
-
}
|
|
478
|
-
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
479
|
-
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
480
|
-
}
|
|
481
|
-
.eds-icon-button--size-small {
|
|
482
|
-
height: 1.5rem;
|
|
483
|
-
width: 1.5rem;
|
|
484
|
-
padding: 0;
|
|
485
|
-
}
|
|
486
|
-
.eds-icon-button:hover {
|
|
487
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
488
|
-
}
|
|
489
|
-
.eds-contrast .eds-icon-button:hover {
|
|
490
|
-
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
491
|
-
}
|
|
492
|
-
.eds-icon-button:active {
|
|
493
|
-
background: var(--components-button-iconbutton-standard-active);
|
|
494
|
-
color: var(--components-button-iconbutton-standard-text-active);
|
|
495
|
-
}
|
|
496
|
-
.eds-contrast .eds-icon-button:active {
|
|
497
|
-
background: var(--components-button-iconbutton-contrast-active);
|
|
498
|
-
color: var(--components-button-iconbutton-contrast-text-active);
|
|
499
|
-
}
|
|
500
|
-
.eds-icon-button:focus {
|
|
501
|
-
outline: 2px solid #181c56;
|
|
502
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
503
|
-
outline-offset: 0.125rem;
|
|
504
|
-
}
|
|
505
|
-
.eds-contrast .eds-icon-button:focus {
|
|
506
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
507
|
-
}
|
|
508
|
-
.eds-icon-button--disabled {
|
|
509
|
-
opacity: 0.5;
|
|
510
|
-
pointer-events: none;
|
|
511
|
-
}
|
|
512
|
-
.eds-icon-button--disabled__wrapper {
|
|
513
|
-
cursor: not-allowed;
|
|
514
|
-
width: -moz-fit-content;
|
|
515
|
-
width: fit-content;
|
|
516
|
-
}
|
|
517
|
-
/* DO NOT CHANGE!*/
|
|
518
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
519
463
|
/* DO NOT CHANGE!*/
|
|
520
464
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
521
465
|
/* DO NOT CHANGE!*/
|
|
@@ -895,3 +839,59 @@ a.eds-button--size-large {
|
|
|
895
839
|
:root {
|
|
896
840
|
--eds-button: 1;
|
|
897
841
|
}
|
|
842
|
+
/* DO NOT CHANGE!*/
|
|
843
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
844
|
+
.eds-icon-button {
|
|
845
|
+
border: 0.125rem solid transparent;
|
|
846
|
+
border-radius: 0.25rem;
|
|
847
|
+
background: none;
|
|
848
|
+
color: var(--components-button-iconbutton-standard-text);
|
|
849
|
+
cursor: pointer;
|
|
850
|
+
display: flex;
|
|
851
|
+
justify-content: center;
|
|
852
|
+
align-items: center;
|
|
853
|
+
font-size: 1rem;
|
|
854
|
+
padding: 0.5rem;
|
|
855
|
+
}
|
|
856
|
+
.eds-contrast .eds-icon-button {
|
|
857
|
+
color: var(--components-button-iconbutton-contrast-text);
|
|
858
|
+
}
|
|
859
|
+
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
860
|
+
background-color: var(--components-button-iconbutton-contrast-icon);
|
|
861
|
+
}
|
|
862
|
+
.eds-icon-button--size-small {
|
|
863
|
+
height: 1.5rem;
|
|
864
|
+
width: 1.5rem;
|
|
865
|
+
padding: 0;
|
|
866
|
+
}
|
|
867
|
+
.eds-icon-button:hover {
|
|
868
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
869
|
+
}
|
|
870
|
+
.eds-contrast .eds-icon-button:hover {
|
|
871
|
+
background-color: var(--components-button-iconbutton-contrast-hover);
|
|
872
|
+
}
|
|
873
|
+
.eds-icon-button:active {
|
|
874
|
+
background: var(--components-button-iconbutton-standard-active);
|
|
875
|
+
color: var(--components-button-iconbutton-standard-text-active);
|
|
876
|
+
}
|
|
877
|
+
.eds-contrast .eds-icon-button:active {
|
|
878
|
+
background: var(--components-button-iconbutton-contrast-active);
|
|
879
|
+
color: var(--components-button-iconbutton-contrast-text-active);
|
|
880
|
+
}
|
|
881
|
+
.eds-icon-button:focus {
|
|
882
|
+
outline: 2px solid #181c56;
|
|
883
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
884
|
+
outline-offset: 0.125rem;
|
|
885
|
+
}
|
|
886
|
+
.eds-contrast .eds-icon-button:focus {
|
|
887
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
888
|
+
}
|
|
889
|
+
.eds-icon-button--disabled {
|
|
890
|
+
opacity: 0.5;
|
|
891
|
+
pointer-events: none;
|
|
892
|
+
}
|
|
893
|
+
.eds-icon-button--disabled__wrapper {
|
|
894
|
+
cursor: not-allowed;
|
|
895
|
+
width: -moz-fit-content;
|
|
896
|
+
width: fit-content;
|
|
897
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.38",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/loader": "^0.5.
|
|
31
|
-
"@entur/tokens": "^3.17.
|
|
30
|
+
"@entur/loader": "^0.5.16",
|
|
31
|
+
"@entur/tokens": "^3.17.5",
|
|
32
32
|
"@entur/utils": "^0.12.2",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"dts-cli": "2.0.5"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "1a989376d61ab59a8c554a9cab733039aef8b2eb"
|
|
39
39
|
}
|