@entur/tooltip 5.2.6 → 5.2.7

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 +5 -5
package/dist/styles.css CHANGED
@@ -567,85 +567,6 @@ 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
-
649
570
  /* DO NOT CHANGE!*/
650
571
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
651
572
  /* DO NOT CHANGE!*/
@@ -1030,6 +951,85 @@ a.eds-button .eds-icon {
1030
951
  --eds-button: 1;
1031
952
  }
1032
953
 
954
+ /* DO NOT CHANGE!*/
955
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
956
+ .eds-icon-button {
957
+ border: 0.125rem solid transparent;
958
+ border-radius: 0.25rem;
959
+ background: none;
960
+ color: #181c56;
961
+ color: var(--components-button-iconbutton-standard-text);
962
+ cursor: pointer;
963
+ display: flex;
964
+ justify-content: center;
965
+ align-items: center;
966
+ font-size: 1rem;
967
+ padding: 0.5rem;
968
+ }
969
+
970
+ .eds-contrast .eds-icon-button {
971
+ color: #ffffff;
972
+ color: var(--components-button-iconbutton-contrast-text);
973
+ }
974
+
975
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
976
+ background-color: #ffffff;
977
+ background-color: var(--components-button-iconbutton-contrast-icon);
978
+ }
979
+
980
+ .eds-icon-button--size-small {
981
+ height: 1.5rem;
982
+ width: 1.5rem;
983
+ padding: 0;
984
+ }
985
+
986
+ .eds-icon-button:hover {
987
+ background-color: #d9ddf2;
988
+ background-color: var(--components-button-iconbutton-standard-hover);
989
+ }
990
+
991
+ .eds-contrast .eds-icon-button:hover {
992
+ background-color: #626493;
993
+ background-color: var(--components-button-iconbutton-contrast-hover);
994
+ }
995
+
996
+ .eds-icon-button:active {
997
+ background: #aeb7e2;
998
+ background: var(--components-button-iconbutton-standard-active);
999
+ color: #181c56;
1000
+ color: var(--components-button-iconbutton-standard-text-active);
1001
+ }
1002
+
1003
+ .eds-contrast .eds-icon-button:active {
1004
+ background: #8794d4;
1005
+ background: var(--components-button-iconbutton-contrast-active);
1006
+ color: #181c56;
1007
+ color: var(--components-button-iconbutton-contrast-text-active);
1008
+ }
1009
+
1010
+ .eds-icon-button:focus-visible {
1011
+ outline: 2px solid #181c56;
1012
+ outline-color: #181c56;
1013
+ outline-color: var(--basecolors-stroke-focus-standard);
1014
+ outline-offset: 0.125rem;
1015
+ }
1016
+
1017
+ .eds-contrast .eds-icon-button:focus-visible {
1018
+ outline-color: #aeb7e2;
1019
+ outline-color: var(--basecolors-stroke-focus-contrast);
1020
+ }
1021
+
1022
+ .eds-icon-button--disabled {
1023
+ opacity: 0.5;
1024
+ pointer-events: none;
1025
+ }
1026
+
1027
+ .eds-icon-button--disabled__wrapper {
1028
+ cursor: not-allowed;
1029
+ width: -moz-fit-content;
1030
+ width: fit-content;
1031
+ }
1032
+
1033
1033
  .eds-tooltip-wrapper {
1034
1034
  display: inline-block;
1035
1035
  position: relative;
@@ -1127,6 +1127,28 @@ a.eds-button .eds-icon {
1127
1127
  }
1128
1128
  /* DO NOT CHANGE!*/
1129
1129
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1130
+ .eds-popover {
1131
+ background: var(--components-tooltip-popover-standard-fill);
1132
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1133
+ border-radius: 0.25rem;
1134
+ border: 0.0625rem solid var(--components-tooltip-popover-standard-border);
1135
+ font-family: inherit;
1136
+ z-index: 20;
1137
+ }
1138
+ .eds-contrast .eds-popover {
1139
+ background: var(--components-tooltip-popover-contrast-fill);
1140
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
1141
+ }
1142
+ .eds-popover:focus-visible {
1143
+ outline: 2px solid #181c56;
1144
+ outline-color: var(--basecolors-stroke-focus-standard);
1145
+ outline-offset: 0.125rem;
1146
+ }
1147
+ .eds-contrast .eds-popover:focus-visible {
1148
+ outline-color: var(--basecolors-stroke-focus-contrast);
1149
+ }
1150
+ /* DO NOT CHANGE!*/
1151
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1130
1152
  /* DO NOT CHANGE!*/
1131
1153
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1132
1154
  /* DO NOT CHANGE!*/
@@ -1326,25 +1348,3 @@ a.eds-button .eds-icon {
1326
1348
  :root {
1327
1349
  --eds-tooltip: 1;
1328
1350
  }
1329
- /* DO NOT CHANGE!*/
1330
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1331
- .eds-popover {
1332
- background: var(--components-tooltip-popover-standard-fill);
1333
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1334
- border-radius: 0.25rem;
1335
- border: 0.0625rem solid var(--components-tooltip-popover-standard-border);
1336
- font-family: inherit;
1337
- z-index: 20;
1338
- }
1339
- .eds-contrast .eds-popover {
1340
- background: var(--components-tooltip-popover-contrast-fill);
1341
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
1342
- }
1343
- .eds-popover:focus-visible {
1344
- outline: 2px solid #181c56;
1345
- outline-color: var(--basecolors-stroke-focus-standard);
1346
- outline-offset: 0.125rem;
1347
- }
1348
- .eds-contrast .eds-popover:focus-visible {
1349
- outline-color: var(--basecolors-stroke-focus-contrast);
1350
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/tooltip",
3
- "version": "5.2.6",
3
+ "version": "5.2.7",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/tooltip.esm.js",
@@ -27,9 +27,9 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/button": "^3.3.6",
31
- "@entur/icons": "^7.10.0",
32
- "@entur/layout": "^3.1.2",
30
+ "@entur/button": "^3.3.7",
31
+ "@entur/icons": "^7.11.0",
32
+ "@entur/layout": "^3.1.3",
33
33
  "@entur/tokens": "^3.19.0",
34
34
  "@entur/utils": "^0.12.3",
35
35
  "@floating-ui/react": "^0.26.24",
@@ -39,5 +39,5 @@
39
39
  "devDependencies": {
40
40
  "dts-cli": "2.0.5"
41
41
  },
42
- "gitHead": "2574ca4c0632d084e2c531ee43e4f066c32c4d89"
42
+ "gitHead": "ccdbbec971e0336510c047873a1e63cc31aa850e"
43
43
  }