@entur/button 3.3.13-beta.4 → 3.3.13-beta.6
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 +65 -65
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
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
3
|
a.eds-button {
|
|
13
4
|
display: flex;
|
|
14
5
|
align-items: center;
|
|
@@ -220,6 +211,15 @@ a.eds-button .eds-icon {
|
|
|
220
211
|
}
|
|
221
212
|
/* DO NOT CHANGE!*/
|
|
222
213
|
/* 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
223
|
.eds-floating-button {
|
|
224
224
|
align-items: center;
|
|
225
225
|
-webkit-appearance: none;
|
|
@@ -461,62 +461,6 @@ 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. */
|
|
520
464
|
/* DO NOT CHANGE!*/
|
|
521
465
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
522
466
|
/* DO NOT CHANGE!*/
|
|
@@ -898,3 +842,59 @@ a.eds-button .eds-icon {
|
|
|
898
842
|
:root {
|
|
899
843
|
--eds-button: 1;
|
|
900
844
|
}
|
|
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.6",
|
|
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.6",
|
|
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": "42c5a2e7657f2b5ca17328fcf55873b19e23f94a"
|
|
39
39
|
}
|