@entur/button 2.10.13 → 2.10.14
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/README.md +2 -2
- package/dist/styles.css +26 -26
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains the button component
|
|
4
4
|
|
|
5
|
-
> 💡 Looking for the [documentation](https://design.entur.org/komponenter/knapper/
|
|
5
|
+
> 💡 Looking for the [documentation](https://design.entur.org/komponenter/knapper/button)?
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -14,4 +14,4 @@ yarn add @entur/button
|
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
|
-
Please refer to the [documentation](https://design.entur.org/komponenter/knapper/
|
|
17
|
+
Please refer to the [documentation](https://design.entur.org/komponenter/knapper/button) for further usage information.
|
package/dist/styles.css
CHANGED
|
@@ -2,14 +2,6 @@
|
|
|
2
2
|
--eds-button: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
-
.eds-button-group .eds-button {
|
|
6
|
-
margin-right: 0.75rem;
|
|
7
|
-
margin-bottom: 0.75rem;
|
|
8
|
-
}
|
|
9
|
-
.eds-button-group .eds-button:only-child {
|
|
10
|
-
margin: 0;
|
|
11
|
-
}/* DO NOT CHANGE!*/
|
|
12
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
5
|
a.eds-button {
|
|
14
6
|
padding: 0.5rem 1rem;
|
|
15
7
|
}
|
|
@@ -225,6 +217,14 @@ a.eds-button--size-large {
|
|
|
225
217
|
color: #aeb7e2;
|
|
226
218
|
}/* DO NOT CHANGE!*/
|
|
227
219
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
220
|
+
.eds-button-group .eds-button {
|
|
221
|
+
margin-right: 0.75rem;
|
|
222
|
+
margin-bottom: 0.75rem;
|
|
223
|
+
}
|
|
224
|
+
.eds-button-group .eds-button:only-child {
|
|
225
|
+
margin: 0;
|
|
226
|
+
}/* DO NOT CHANGE!*/
|
|
227
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
228
|
.eds-floating-button {
|
|
229
229
|
align-items: center;
|
|
230
230
|
-webkit-appearance: none;
|
|
@@ -410,40 +410,40 @@ a.eds-button--size-large {
|
|
|
410
410
|
|
|
411
411
|
.eds-square-button--secondary {
|
|
412
412
|
--icon-background: transparent;
|
|
413
|
-
--border-color:
|
|
413
|
+
--border-color: #aeb7e2;
|
|
414
414
|
}
|
|
415
415
|
.eds-square-button--secondary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
416
416
|
background: #181c56;
|
|
417
417
|
}
|
|
418
418
|
.eds-square-button--secondary:hover {
|
|
419
|
-
--icon-background:
|
|
419
|
+
--icon-background: #aeb7e2;
|
|
420
420
|
}
|
|
421
421
|
.eds-square-button--secondary:active {
|
|
422
|
-
--icon-background:
|
|
423
|
-
--border-color:
|
|
422
|
+
--icon-background: #9da5cb;
|
|
423
|
+
--border-color: #9da5cb;
|
|
424
424
|
}
|
|
425
425
|
.eds-contrast .eds-square-button--secondary:hover {
|
|
426
|
-
--icon-background: rgba(
|
|
426
|
+
--icon-background: rgba(255, 255, 255, 0.2);
|
|
427
427
|
}
|
|
428
428
|
.eds-contrast .eds-square-button--secondary:active {
|
|
429
|
-
--icon-background:
|
|
430
|
-
--icon-color:
|
|
429
|
+
--icon-background: #aeb7e2;
|
|
430
|
+
--icon-color: #181c56;
|
|
431
431
|
}
|
|
432
432
|
.eds-contrast .eds-square-button--secondary .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
433
433
|
background: #ffffff;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.eds-square-button--success {
|
|
437
|
-
--icon-background:
|
|
437
|
+
--icon-background: #5ac39a;
|
|
438
438
|
}
|
|
439
439
|
.eds-square-button--success .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
440
440
|
background: #181c56;
|
|
441
441
|
}
|
|
442
442
|
.eds-square-button--success:hover {
|
|
443
|
-
--icon-background:
|
|
443
|
+
--icon-background: #6bc9a4;
|
|
444
444
|
}
|
|
445
445
|
.eds-square-button--success:active {
|
|
446
|
-
--icon-background:
|
|
446
|
+
--icon-background: #56b992;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.eds-square-button__label {
|
|
@@ -457,7 +457,7 @@ a.eds-button--size-large {
|
|
|
457
457
|
|
|
458
458
|
.eds-square-button--tertiary {
|
|
459
459
|
--icon-background: transparent;
|
|
460
|
-
--border-color:
|
|
460
|
+
--border-color: #181c56;
|
|
461
461
|
font-size: 0.875rem;
|
|
462
462
|
}
|
|
463
463
|
.eds-square-button--tertiary .eds-square-button__label + .eds-square-button__icon,
|
|
@@ -473,24 +473,24 @@ a.eds-button--size-large {
|
|
|
473
473
|
background: #181c56;
|
|
474
474
|
}
|
|
475
475
|
.eds-square-button--tertiary:hover {
|
|
476
|
-
--icon-background:
|
|
476
|
+
--icon-background: #d1d4e3;
|
|
477
477
|
}
|
|
478
478
|
.eds-square-button--tertiary:active {
|
|
479
|
-
--icon-background:
|
|
480
|
-
--icon-color:
|
|
479
|
+
--icon-background: #181c56;
|
|
480
|
+
--icon-color: #ffffff;
|
|
481
481
|
}
|
|
482
482
|
.eds-square-button--tertiary:active .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
483
483
|
background: #ffffff;
|
|
484
484
|
}
|
|
485
485
|
.eds-contrast .eds-square-button--tertiary {
|
|
486
|
-
--border-color:
|
|
486
|
+
--border-color: #ffffff;
|
|
487
487
|
}
|
|
488
488
|
.eds-contrast .eds-square-button--tertiary:hover {
|
|
489
|
-
--icon-background: rgba(
|
|
489
|
+
--icon-background: rgba(255, 255, 255, 0.2);
|
|
490
490
|
}
|
|
491
491
|
.eds-contrast .eds-square-button--tertiary:active {
|
|
492
|
-
--icon-background:
|
|
493
|
-
--icon-color:
|
|
492
|
+
--icon-background: #ffffff;
|
|
493
|
+
--icon-color: #181c56;
|
|
494
494
|
}
|
|
495
495
|
.eds-contrast .eds-square-button--tertiary:active .eds-square-button__loading-dots .eds-loading-dots__dot {
|
|
496
496
|
background: #181c56;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.14",
|
|
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.4.
|
|
31
|
-
"@entur/tokens": "^3.
|
|
32
|
-
"@entur/utils": "^0.5.
|
|
30
|
+
"@entur/loader": "^0.4.22",
|
|
31
|
+
"@entur/tokens": "^3.8.0",
|
|
32
|
+
"@entur/utils": "^0.5.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
|
|
36
36
|
}
|