@entur/button 2.10.15 → 3.0.0
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 +27 -27
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
+
.eds-button-group .eds-button {
|
|
7
|
+
margin-right: 0.75rem;
|
|
8
|
+
margin-bottom: 0.75rem;
|
|
9
|
+
}
|
|
10
|
+
.eds-button-group .eds-button:only-child {
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
13
|
+
/* DO NOT CHANGE!*/
|
|
14
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
15
|
a.eds-button {
|
|
7
16
|
padding: 0.5rem 1rem;
|
|
8
17
|
}
|
|
@@ -219,15 +228,6 @@ a.eds-button--size-large {
|
|
|
219
228
|
}
|
|
220
229
|
/* DO NOT CHANGE!*/
|
|
221
230
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
222
|
-
.eds-button-group .eds-button {
|
|
223
|
-
margin-right: 0.75rem;
|
|
224
|
-
margin-bottom: 0.75rem;
|
|
225
|
-
}
|
|
226
|
-
.eds-button-group .eds-button:only-child {
|
|
227
|
-
margin: 0;
|
|
228
|
-
}
|
|
229
|
-
/* DO NOT CHANGE!*/
|
|
230
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
231
231
|
.eds-icon-button {
|
|
232
232
|
border: 0.0625rem solid transparent;
|
|
233
233
|
border-radius: 0.25rem;
|
|
@@ -417,9 +417,6 @@ a.eds-button--size-large {
|
|
|
417
417
|
--icon-background: transparent;
|
|
418
418
|
--border-color: #aeb7e2;
|
|
419
419
|
}
|
|
420
|
-
.eds-square-button--secondary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
421
|
-
background: #181c56;
|
|
422
|
-
}
|
|
423
420
|
.eds-square-button--secondary:hover {
|
|
424
421
|
--icon-background: #aeb7e2;
|
|
425
422
|
}
|
|
@@ -437,19 +434,22 @@ a.eds-button--size-large {
|
|
|
437
434
|
.eds-contrast .eds-square-button--secondary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
438
435
|
background: #ffffff;
|
|
439
436
|
}
|
|
437
|
+
.eds-square-button--secondary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
438
|
+
background: #181c56;
|
|
439
|
+
}
|
|
440
440
|
|
|
441
441
|
.eds-square-button--success {
|
|
442
442
|
--icon-background: #5ac39a;
|
|
443
443
|
}
|
|
444
|
-
.eds-square-button--success .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
445
|
-
background: #181c56;
|
|
446
|
-
}
|
|
447
444
|
.eds-square-button--success:hover {
|
|
448
445
|
--icon-background: #6bc9a4;
|
|
449
446
|
}
|
|
450
447
|
.eds-square-button--success:active {
|
|
451
448
|
--icon-background: #56b992;
|
|
452
449
|
}
|
|
450
|
+
.eds-square-button--success .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
451
|
+
background: #181c56;
|
|
452
|
+
}
|
|
453
453
|
|
|
454
454
|
.eds-square-button__label {
|
|
455
455
|
color: var(--primary-text-color);
|
|
@@ -465,18 +465,6 @@ a.eds-button--size-large {
|
|
|
465
465
|
--border-color: #181c56;
|
|
466
466
|
font-size: 0.875rem;
|
|
467
467
|
}
|
|
468
|
-
.eds-square-button--tertiary .eds-square-button__label + .eds-square-button__icon,
|
|
469
|
-
.eds-square-button--tertiary .eds-square-button__icon + .eds-square-button__label {
|
|
470
|
-
margin-left: 0.75rem;
|
|
471
|
-
}
|
|
472
|
-
.eds-square-button--tertiary .eds-square-button__icon {
|
|
473
|
-
height: 2rem;
|
|
474
|
-
width: 2rem;
|
|
475
|
-
border-width: 0.0625rem;
|
|
476
|
-
}
|
|
477
|
-
.eds-square-button--tertiary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
478
|
-
background: #181c56;
|
|
479
|
-
}
|
|
480
468
|
.eds-square-button--tertiary:hover {
|
|
481
469
|
--icon-background: #d1d4e3;
|
|
482
470
|
}
|
|
@@ -503,3 +491,15 @@ a.eds-button--size-large {
|
|
|
503
491
|
.eds-contrast .eds-square-button--tertiary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
504
492
|
background: #ffffff;
|
|
505
493
|
}
|
|
494
|
+
.eds-square-button--tertiary .eds-square-button__label + .eds-square-button__icon,
|
|
495
|
+
.eds-square-button--tertiary .eds-square-button__icon + .eds-square-button__label {
|
|
496
|
+
margin-left: 0.75rem;
|
|
497
|
+
}
|
|
498
|
+
.eds-square-button--tertiary .eds-square-button__icon {
|
|
499
|
+
height: 2rem;
|
|
500
|
+
width: 2rem;
|
|
501
|
+
border-width: 0.0625rem;
|
|
502
|
+
}
|
|
503
|
+
.eds-square-button--tertiary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
504
|
+
background: #181c56;
|
|
505
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"@entur/utils": "^0.5.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "48cdba2e353c9311d52550a98c6b025deb7b8270"
|
|
36
36
|
}
|