@entur/button 2.10.15 → 3.0.1

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 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/button)?
5
+ > 💡 Looking for the [documentation](https://design.entur.no/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/button) for further usage information.
17
+ Please refer to the [documentation](https://design.entur.no/komponenter/knapper/button) for further usage information.
package/dist/styles.css CHANGED
@@ -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": "2.10.15",
3
+ "version": "3.0.1",
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.23",
31
- "@entur/tokens": "^3.8.0",
30
+ "@entur/loader": "^0.4.24",
31
+ "@entur/tokens": "^3.8.1",
32
32
  "@entur/utils": "^0.5.5",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "8019b1b3a39b30bf1052ae34ed1c06b6caf1aa34"
35
+ "gitHead": "1e78a655ffc4c4ca80d8e54495768282dc374201"
36
36
  }