@entur/tooltip 5.2.13-beta.4 → 5.2.13-beta.5
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/dist/styles.css +176 -176
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -11,6 +11,103 @@
|
|
|
11
11
|
margin: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
/* DO NOT CHANGE!*/
|
|
15
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
16
|
+
.eds-floating-button {
|
|
17
|
+
align-items: center;
|
|
18
|
+
-webkit-appearance: none;
|
|
19
|
+
-moz-appearance: none;
|
|
20
|
+
appearance: none;
|
|
21
|
+
background: #181c56;
|
|
22
|
+
background: var(--components-button-floating-standard-default);
|
|
23
|
+
border: 0;
|
|
24
|
+
border-radius: 1.5rem;
|
|
25
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
26
|
+
color: #ffffff;
|
|
27
|
+
color: var(--components-button-floating-standard-text);
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
display: flex;
|
|
30
|
+
font-family: inherit;
|
|
31
|
+
font-size: 0.875rem;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
min-height: 3rem;
|
|
35
|
+
margin: 0;
|
|
36
|
+
min-width: 3rem;
|
|
37
|
+
padding: 0 1rem;
|
|
38
|
+
position: relative;
|
|
39
|
+
z-index: 10;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.eds-floating-button--extended {
|
|
43
|
+
padding: 0 0.9375rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.eds-floating-button:hover {
|
|
47
|
+
background-color: #393d79;
|
|
48
|
+
background-color: var(--components-button-floating-standard-hover);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.eds-floating-button:active {
|
|
52
|
+
background-color: #11143c;
|
|
53
|
+
background-color: var(--components-button-floating-standard-active);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.eds-floating-button:focus-visible {
|
|
57
|
+
outline: 2px solid #181c56;
|
|
58
|
+
outline-color: #181c56;
|
|
59
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
60
|
+
outline-offset: 0.125rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.eds-contrast .eds-floating-button:focus-visible {
|
|
64
|
+
outline-color: #aeb7e2;
|
|
65
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.eds-contrast .eds-floating-button {
|
|
69
|
+
background: #ffffff;
|
|
70
|
+
background: var(--components-button-floating-contrast-default);
|
|
71
|
+
color: #181c56;
|
|
72
|
+
color: var(--components-button-floating-contrast-text);
|
|
73
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.eds-contrast .eds-floating-button:hover {
|
|
77
|
+
background-color: #f6f6f9;
|
|
78
|
+
background-color: var(--components-button-floating-contrast-hover);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.eds-contrast .eds-floating-button:active {
|
|
82
|
+
background-color: #d9dae8;
|
|
83
|
+
background-color: var(--components-button-floating-contrast-active);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.eds-floating-button--small {
|
|
87
|
+
border-radius: 1rem;
|
|
88
|
+
height: 2rem;
|
|
89
|
+
padding: 0 0.5rem;
|
|
90
|
+
min-width: 2rem;
|
|
91
|
+
min-height: 2rem;
|
|
92
|
+
flex: 0 1 auto;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.eds-floating-button--small.eds-floating-button--extended {
|
|
96
|
+
padding: 0 0.6875rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.eds-floating-button--extended > * {
|
|
100
|
+
margin: 0 0.5em;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.eds-floating-button--extended > *:first-child {
|
|
104
|
+
margin-left: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.eds-floating-button--extended > *:last-child {
|
|
108
|
+
margin-right: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
14
111
|
/* DO NOT CHANGE!*/
|
|
15
112
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
16
113
|
a.eds-button {
|
|
@@ -264,103 +361,6 @@ a.eds-button .eds-icon {
|
|
|
264
361
|
border-color: transparent;
|
|
265
362
|
}
|
|
266
363
|
|
|
267
|
-
/* DO NOT CHANGE!*/
|
|
268
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
269
|
-
.eds-floating-button {
|
|
270
|
-
align-items: center;
|
|
271
|
-
-webkit-appearance: none;
|
|
272
|
-
-moz-appearance: none;
|
|
273
|
-
appearance: none;
|
|
274
|
-
background: #181c56;
|
|
275
|
-
background: var(--components-button-floating-standard-default);
|
|
276
|
-
border: 0;
|
|
277
|
-
border-radius: 1.5rem;
|
|
278
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
279
|
-
color: #ffffff;
|
|
280
|
-
color: var(--components-button-floating-standard-text);
|
|
281
|
-
cursor: pointer;
|
|
282
|
-
display: flex;
|
|
283
|
-
font-family: inherit;
|
|
284
|
-
font-size: 0.875rem;
|
|
285
|
-
font-weight: 500;
|
|
286
|
-
justify-content: center;
|
|
287
|
-
min-height: 3rem;
|
|
288
|
-
margin: 0;
|
|
289
|
-
min-width: 3rem;
|
|
290
|
-
padding: 0 1rem;
|
|
291
|
-
position: relative;
|
|
292
|
-
z-index: 10;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.eds-floating-button--extended {
|
|
296
|
-
padding: 0 0.9375rem;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.eds-floating-button:hover {
|
|
300
|
-
background-color: #393d79;
|
|
301
|
-
background-color: var(--components-button-floating-standard-hover);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.eds-floating-button:active {
|
|
305
|
-
background-color: #11143c;
|
|
306
|
-
background-color: var(--components-button-floating-standard-active);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.eds-floating-button:focus-visible {
|
|
310
|
-
outline: 2px solid #181c56;
|
|
311
|
-
outline-color: #181c56;
|
|
312
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
313
|
-
outline-offset: 0.125rem;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.eds-contrast .eds-floating-button:focus-visible {
|
|
317
|
-
outline-color: #aeb7e2;
|
|
318
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.eds-contrast .eds-floating-button {
|
|
322
|
-
background: #ffffff;
|
|
323
|
-
background: var(--components-button-floating-contrast-default);
|
|
324
|
-
color: #181c56;
|
|
325
|
-
color: var(--components-button-floating-contrast-text);
|
|
326
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.eds-contrast .eds-floating-button:hover {
|
|
330
|
-
background-color: #f6f6f9;
|
|
331
|
-
background-color: var(--components-button-floating-contrast-hover);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.eds-contrast .eds-floating-button:active {
|
|
335
|
-
background-color: #d9dae8;
|
|
336
|
-
background-color: var(--components-button-floating-contrast-active);
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.eds-floating-button--small {
|
|
340
|
-
border-radius: 1rem;
|
|
341
|
-
height: 2rem;
|
|
342
|
-
padding: 0 0.5rem;
|
|
343
|
-
min-width: 2rem;
|
|
344
|
-
min-height: 2rem;
|
|
345
|
-
flex: 0 1 auto;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.eds-floating-button--small.eds-floating-button--extended {
|
|
349
|
-
padding: 0 0.6875rem;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.eds-floating-button--extended > * {
|
|
353
|
-
margin: 0 0.5em;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.eds-floating-button--extended > *:first-child {
|
|
357
|
-
margin-left: 0;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.eds-floating-button--extended > *:last-child {
|
|
361
|
-
margin-right: 0;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
364
|
/* DO NOT CHANGE!*/
|
|
365
365
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
366
366
|
.eds-square-button {
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/tooltip",
|
|
3
|
-
"version": "5.2.13-beta.
|
|
3
|
+
"version": "5.2.13-beta.5",
|
|
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.13-beta.
|
|
30
|
+
"@entur/button": "^3.3.13-beta.5",
|
|
31
31
|
"@entur/icons": "^8.0.0",
|
|
32
|
-
"@entur/layout": "^3.1.9-beta.
|
|
32
|
+
"@entur/layout": "^3.1.9-beta.5",
|
|
33
33
|
"@entur/tokens": "^3.19.1",
|
|
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": "
|
|
42
|
+
"gitHead": "ba4ae77ebb013a60523baf66ff658b73fa7e0719"
|
|
43
43
|
}
|