@entur/tooltip 5.2.2 → 5.2.3

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 +101 -101
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -567,6 +567,85 @@ a.eds-button .eds-icon {
567
567
  border-width: 0.0625rem;
568
568
  }
569
569
 
570
+ /* DO NOT CHANGE!*/
571
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
572
+ .eds-icon-button {
573
+ border: 0.125rem solid transparent;
574
+ border-radius: 0.25rem;
575
+ background: none;
576
+ color: #181c56;
577
+ color: var(--components-button-iconbutton-standard-text);
578
+ cursor: pointer;
579
+ display: flex;
580
+ justify-content: center;
581
+ align-items: center;
582
+ font-size: 1rem;
583
+ padding: 0.5rem;
584
+ }
585
+
586
+ .eds-contrast .eds-icon-button {
587
+ color: #ffffff;
588
+ color: var(--components-button-iconbutton-contrast-text);
589
+ }
590
+
591
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
592
+ background-color: #ffffff;
593
+ background-color: var(--components-button-iconbutton-contrast-icon);
594
+ }
595
+
596
+ .eds-icon-button--size-small {
597
+ height: 1.5rem;
598
+ width: 1.5rem;
599
+ padding: 0;
600
+ }
601
+
602
+ .eds-icon-button:hover {
603
+ background-color: #d9ddf2;
604
+ background-color: var(--components-button-iconbutton-standard-hover);
605
+ }
606
+
607
+ .eds-contrast .eds-icon-button:hover {
608
+ background-color: #626493;
609
+ background-color: var(--components-button-iconbutton-contrast-hover);
610
+ }
611
+
612
+ .eds-icon-button:active {
613
+ background: #aeb7e2;
614
+ background: var(--components-button-iconbutton-standard-active);
615
+ color: #181c56;
616
+ color: var(--components-button-iconbutton-standard-text-active);
617
+ }
618
+
619
+ .eds-contrast .eds-icon-button:active {
620
+ background: #8794d4;
621
+ background: var(--components-button-iconbutton-contrast-active);
622
+ color: #181c56;
623
+ color: var(--components-button-iconbutton-contrast-text-active);
624
+ }
625
+
626
+ .eds-icon-button:focus-visible {
627
+ outline: 2px solid #181c56;
628
+ outline-color: #181c56;
629
+ outline-color: var(--basecolors-stroke-focus-standard);
630
+ outline-offset: 0.125rem;
631
+ }
632
+
633
+ .eds-contrast .eds-icon-button:focus-visible {
634
+ outline-color: #aeb7e2;
635
+ outline-color: var(--basecolors-stroke-focus-contrast);
636
+ }
637
+
638
+ .eds-icon-button--disabled {
639
+ opacity: 0.5;
640
+ pointer-events: none;
641
+ }
642
+
643
+ .eds-icon-button--disabled__wrapper {
644
+ cursor: not-allowed;
645
+ width: -moz-fit-content;
646
+ width: fit-content;
647
+ }
648
+
570
649
  /* DO NOT CHANGE!*/
571
650
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
572
651
  /* DO NOT CHANGE!*/
@@ -949,85 +1028,6 @@ a.eds-button .eds-icon {
949
1028
  --eds-button: 1;
950
1029
  }
951
1030
 
952
- /* DO NOT CHANGE!*/
953
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
954
- .eds-icon-button {
955
- border: 0.125rem solid transparent;
956
- border-radius: 0.25rem;
957
- background: none;
958
- color: #181c56;
959
- color: var(--components-button-iconbutton-standard-text);
960
- cursor: pointer;
961
- display: flex;
962
- justify-content: center;
963
- align-items: center;
964
- font-size: 1rem;
965
- padding: 0.5rem;
966
- }
967
-
968
- .eds-contrast .eds-icon-button {
969
- color: #ffffff;
970
- color: var(--components-button-iconbutton-contrast-text);
971
- }
972
-
973
- .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
974
- background-color: #ffffff;
975
- background-color: var(--components-button-iconbutton-contrast-icon);
976
- }
977
-
978
- .eds-icon-button--size-small {
979
- height: 1.5rem;
980
- width: 1.5rem;
981
- padding: 0;
982
- }
983
-
984
- .eds-icon-button:hover {
985
- background-color: #d9ddf2;
986
- background-color: var(--components-button-iconbutton-standard-hover);
987
- }
988
-
989
- .eds-contrast .eds-icon-button:hover {
990
- background-color: #626493;
991
- background-color: var(--components-button-iconbutton-contrast-hover);
992
- }
993
-
994
- .eds-icon-button:active {
995
- background: #aeb7e2;
996
- background: var(--components-button-iconbutton-standard-active);
997
- color: #181c56;
998
- color: var(--components-button-iconbutton-standard-text-active);
999
- }
1000
-
1001
- .eds-contrast .eds-icon-button:active {
1002
- background: #8794d4;
1003
- background: var(--components-button-iconbutton-contrast-active);
1004
- color: #181c56;
1005
- color: var(--components-button-iconbutton-contrast-text-active);
1006
- }
1007
-
1008
- .eds-icon-button:focus-visible {
1009
- outline: 2px solid #181c56;
1010
- outline-color: #181c56;
1011
- outline-color: var(--basecolors-stroke-focus-standard);
1012
- outline-offset: 0.125rem;
1013
- }
1014
-
1015
- .eds-contrast .eds-icon-button:focus-visible {
1016
- outline-color: #aeb7e2;
1017
- outline-color: var(--basecolors-stroke-focus-contrast);
1018
- }
1019
-
1020
- .eds-icon-button--disabled {
1021
- opacity: 0.5;
1022
- pointer-events: none;
1023
- }
1024
-
1025
- .eds-icon-button--disabled__wrapper {
1026
- cursor: not-allowed;
1027
- width: -moz-fit-content;
1028
- width: fit-content;
1029
- }
1030
-
1031
1031
  .eds-tooltip-wrapper {
1032
1032
  display: inline-block;
1033
1033
  position: relative;
@@ -1125,6 +1125,28 @@ a.eds-button .eds-icon {
1125
1125
  }
1126
1126
  /* DO NOT CHANGE!*/
1127
1127
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1128
+ .eds-popover {
1129
+ background: var(--components-tooltip-popover-standard-fill);
1130
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1131
+ border-radius: 0.25rem;
1132
+ border: 0.0625rem solid var(--components-tooltip-popover-standard-border);
1133
+ font-family: inherit;
1134
+ z-index: 20;
1135
+ }
1136
+ .eds-contrast .eds-popover {
1137
+ background: var(--components-tooltip-popover-contrast-fill);
1138
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
1139
+ }
1140
+ .eds-popover:focus-visible {
1141
+ outline: 2px solid #181c56;
1142
+ outline-color: var(--basecolors-stroke-focus-standard);
1143
+ outline-offset: 0.125rem;
1144
+ }
1145
+ .eds-contrast .eds-popover:focus-visible {
1146
+ outline-color: var(--basecolors-stroke-focus-contrast);
1147
+ }
1148
+ /* DO NOT CHANGE!*/
1149
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1128
1150
  /* DO NOT CHANGE!*/
1129
1151
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1130
1152
  /* DO NOT CHANGE!*/
@@ -1322,25 +1344,3 @@ a.eds-button .eds-icon {
1322
1344
  :root {
1323
1345
  --eds-tooltip: 1;
1324
1346
  }
1325
- /* DO NOT CHANGE!*/
1326
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1327
- .eds-popover {
1328
- background: var(--components-tooltip-popover-standard-fill);
1329
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1330
- border-radius: 0.25rem;
1331
- border: 0.0625rem solid var(--components-tooltip-popover-standard-border);
1332
- font-family: inherit;
1333
- z-index: 20;
1334
- }
1335
- .eds-contrast .eds-popover {
1336
- background: var(--components-tooltip-popover-contrast-fill);
1337
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
1338
- }
1339
- .eds-popover:focus-visible {
1340
- outline: 2px solid #181c56;
1341
- outline-color: var(--basecolors-stroke-focus-standard);
1342
- outline-offset: 0.125rem;
1343
- }
1344
- .eds-contrast .eds-popover:focus-visible {
1345
- outline-color: var(--basecolors-stroke-focus-contrast);
1346
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/tooltip",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/tooltip.esm.js",
@@ -27,10 +27,10 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/button": "^3.3.2",
31
- "@entur/icons": "^7.7.0",
32
- "@entur/layout": "^2.4.2",
33
- "@entur/tokens": "^3.17.6",
30
+ "@entur/button": "^3.3.3",
31
+ "@entur/icons": "^7.7.1",
32
+ "@entur/layout": "^3.0.0",
33
+ "@entur/tokens": "^3.18.0",
34
34
  "@entur/utils": "^0.12.2",
35
35
  "@floating-ui/react": "^0.26.24",
36
36
  "@floating-ui/react-dom": "^2.1.0",
@@ -39,5 +39,5 @@
39
39
  "devDependencies": {
40
40
  "dts-cli": "2.0.5"
41
41
  },
42
- "gitHead": "7c03f458e9c34f5e0fd4f2d23c8eb6a6e47fb669"
42
+ "gitHead": "8ae7ed09699a63cc7e50d546d54750d8ec066c50"
43
43
  }