@entur/button 3.2.12 → 3.2.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.
Files changed (2) hide show
  1. package/dist/styles.css +56 -56
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -455,6 +455,62 @@ a.eds-button--size-large {
455
455
  width: 2rem;
456
456
  border-width: 0.0625rem;
457
457
  }
458
+ /* DO NOT CHANGE!*/
459
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
460
+ .eds-icon-button {
461
+ border: 0.125rem solid transparent;
462
+ border-radius: 0.25rem;
463
+ background: none;
464
+ color: var(--components-button-iconbutton-standard-text);
465
+ cursor: pointer;
466
+ display: flex;
467
+ justify-content: center;
468
+ align-items: center;
469
+ font-size: 1rem;
470
+ padding: 0.5rem;
471
+ }
472
+ .eds-contrast .eds-icon-button {
473
+ color: var(--components-button-iconbutton-contrast-text);
474
+ }
475
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
476
+ background-color: var(--components-button-iconbutton-contrast-icon);
477
+ }
478
+ .eds-icon-button--size-small {
479
+ height: 1.5rem;
480
+ width: 1.5rem;
481
+ padding: 0;
482
+ }
483
+ .eds-icon-button:hover {
484
+ background-color: var(--components-button-iconbutton-standard-hover);
485
+ }
486
+ .eds-contrast .eds-icon-button:hover {
487
+ background-color: var(--components-button-iconbutton-contrast-hover);
488
+ }
489
+ .eds-icon-button:active {
490
+ background: var(--components-button-iconbutton-standard-active);
491
+ color: var(--components-button-iconbutton-standard-text-active);
492
+ }
493
+ .eds-contrast .eds-icon-button:active {
494
+ background: var(--components-button-iconbutton-contrast-active);
495
+ color: var(--components-button-iconbutton-contrast-text-active);
496
+ }
497
+ .eds-icon-button:focus {
498
+ outline: 2px solid #181c56;
499
+ outline-color: var(--basecolors-stroke-focus-standard);
500
+ outline-offset: 0.125rem;
501
+ }
502
+ .eds-contrast .eds-icon-button:focus {
503
+ outline-color: var(--basecolors-stroke-focus-contrast);
504
+ }
505
+ .eds-icon-button--disabled {
506
+ opacity: 0.5;
507
+ pointer-events: none;
508
+ }
509
+ .eds-icon-button--disabled__wrapper {
510
+ cursor: not-allowed;
511
+ width: -moz-fit-content;
512
+ width: fit-content;
513
+ }
458
514
  @import "~@entur/tokens/dist/primitive.css";
459
515
  @import "~@entur/tokens/dist/semantic.css";
460
516
  /* DO NOT CHANGE!*/
@@ -964,59 +1020,3 @@ a.eds-button--size-large {
964
1020
  :root {
965
1021
  --eds-button: 1;
966
1022
  }
967
- /* DO NOT CHANGE!*/
968
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
969
- .eds-icon-button {
970
- border: 0.125rem solid transparent;
971
- border-radius: 0.25rem;
972
- background: none;
973
- color: var(--components-button-iconbutton-standard-text);
974
- cursor: pointer;
975
- display: flex;
976
- justify-content: center;
977
- align-items: center;
978
- font-size: 1rem;
979
- padding: 0.5rem;
980
- }
981
- .eds-contrast .eds-icon-button {
982
- color: var(--components-button-iconbutton-contrast-text);
983
- }
984
- .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
985
- background-color: var(--components-button-iconbutton-contrast-icon);
986
- }
987
- .eds-icon-button--size-small {
988
- height: 1.5rem;
989
- width: 1.5rem;
990
- padding: 0;
991
- }
992
- .eds-icon-button:hover {
993
- background-color: var(--components-button-iconbutton-standard-hover);
994
- }
995
- .eds-contrast .eds-icon-button:hover {
996
- background-color: var(--components-button-iconbutton-contrast-hover);
997
- }
998
- .eds-icon-button:active {
999
- background: var(--components-button-iconbutton-standard-active);
1000
- color: var(--components-button-iconbutton-standard-text-active);
1001
- }
1002
- .eds-contrast .eds-icon-button:active {
1003
- background: var(--components-button-iconbutton-contrast-active);
1004
- color: var(--components-button-iconbutton-contrast-text-active);
1005
- }
1006
- .eds-icon-button:focus {
1007
- outline: 2px solid #181c56;
1008
- outline-color: var(--basecolors-stroke-focus-standard);
1009
- outline-offset: 0.125rem;
1010
- }
1011
- .eds-contrast .eds-icon-button:focus {
1012
- outline-color: var(--basecolors-stroke-focus-contrast);
1013
- }
1014
- .eds-icon-button--disabled {
1015
- opacity: 0.5;
1016
- pointer-events: none;
1017
- }
1018
- .eds-icon-button--disabled__wrapper {
1019
- cursor: not-allowed;
1020
- width: -moz-fit-content;
1021
- width: fit-content;
1022
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "3.2.12",
3
+ "version": "3.2.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.56",
31
- "@entur/tokens": "^3.13.1",
30
+ "@entur/loader": "^0.4.58",
31
+ "@entur/tokens": "^3.13.2",
32
32
  "@entur/utils": "^0.10.0",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "d0a435264ccaf7ed8e6b7798c81e876176ce3d4d"
35
+ "gitHead": "427e66ba68d33b8d1839714a48517b52afd5c2db"
36
36
  }