@entur/tooltip 5.2.1 → 5.2.2-beta.0
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 +130 -130
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
/* DO NOT CHANGE!*/
|
|
4
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
+
.eds-button-group .eds-button {
|
|
6
|
+
margin-right: 0.75rem;
|
|
7
|
+
margin-bottom: 0.75rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.eds-button-group .eds-button:only-child {
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
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
|
+
|
|
3
111
|
/* DO NOT CHANGE!*/
|
|
4
112
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
113
|
a.eds-button {
|
|
@@ -254,114 +362,6 @@ a.eds-button--size-large {
|
|
|
254
362
|
border-color: transparent;
|
|
255
363
|
}
|
|
256
364
|
|
|
257
|
-
/* DO NOT CHANGE!*/
|
|
258
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
259
|
-
.eds-button-group .eds-button {
|
|
260
|
-
margin-right: 0.75rem;
|
|
261
|
-
margin-bottom: 0.75rem;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.eds-button-group .eds-button:only-child {
|
|
265
|
-
margin: 0;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/* DO NOT CHANGE!*/
|
|
269
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
270
|
-
.eds-floating-button {
|
|
271
|
-
align-items: center;
|
|
272
|
-
-webkit-appearance: none;
|
|
273
|
-
-moz-appearance: none;
|
|
274
|
-
appearance: none;
|
|
275
|
-
background: #181c56;
|
|
276
|
-
background: var(--components-button-floating-standard-default);
|
|
277
|
-
border: 0;
|
|
278
|
-
border-radius: 1.5rem;
|
|
279
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
280
|
-
color: #ffffff;
|
|
281
|
-
color: var(--components-button-floating-standard-text);
|
|
282
|
-
cursor: pointer;
|
|
283
|
-
display: flex;
|
|
284
|
-
font-family: inherit;
|
|
285
|
-
font-size: 0.875rem;
|
|
286
|
-
font-weight: 500;
|
|
287
|
-
justify-content: center;
|
|
288
|
-
min-height: 3rem;
|
|
289
|
-
margin: 0;
|
|
290
|
-
min-width: 3rem;
|
|
291
|
-
padding: 0 1rem;
|
|
292
|
-
position: relative;
|
|
293
|
-
z-index: 10;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.eds-floating-button--extended {
|
|
297
|
-
padding: 0 0.9375rem;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.eds-floating-button:hover {
|
|
301
|
-
background-color: #393d79;
|
|
302
|
-
background-color: var(--components-button-floating-standard-hover);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.eds-floating-button:active {
|
|
306
|
-
background-color: #11143c;
|
|
307
|
-
background-color: var(--components-button-floating-standard-active);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.eds-floating-button:focus-visible {
|
|
311
|
-
outline: 2px solid #181c56;
|
|
312
|
-
outline-color: #181c56;
|
|
313
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
314
|
-
outline-offset: 0.125rem;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.eds-contrast .eds-floating-button:focus-visible {
|
|
318
|
-
outline-color: #aeb7e2;
|
|
319
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.eds-contrast .eds-floating-button {
|
|
323
|
-
background: #ffffff;
|
|
324
|
-
background: var(--components-button-floating-contrast-default);
|
|
325
|
-
color: #181c56;
|
|
326
|
-
color: var(--components-button-floating-contrast-text);
|
|
327
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.eds-contrast .eds-floating-button:hover {
|
|
331
|
-
background-color: #f6f6f9;
|
|
332
|
-
background-color: var(--components-button-floating-contrast-hover);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.eds-contrast .eds-floating-button:active {
|
|
336
|
-
background-color: #d9dae8;
|
|
337
|
-
background-color: var(--components-button-floating-contrast-active);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.eds-floating-button--small {
|
|
341
|
-
border-radius: 1rem;
|
|
342
|
-
height: 2rem;
|
|
343
|
-
padding: 0 0.5rem;
|
|
344
|
-
min-width: 2rem;
|
|
345
|
-
min-height: 2rem;
|
|
346
|
-
flex: 0 1 auto;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.eds-floating-button--small.eds-floating-button--extended {
|
|
350
|
-
padding: 0 0.6875rem;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.eds-floating-button--extended > * {
|
|
354
|
-
margin: 0 0.5em;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.eds-floating-button--extended > *:first-child {
|
|
358
|
-
margin-left: 0;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.eds-floating-button--extended > *:last-child {
|
|
362
|
-
margin-right: 0;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
365
|
/* DO NOT CHANGE!*/
|
|
366
366
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
367
367
|
.eds-square-button {
|
|
@@ -1126,6 +1126,28 @@ a.eds-button--size-large {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
/* DO NOT CHANGE!*/
|
|
1128
1128
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1129
|
+
.eds-popover {
|
|
1130
|
+
background: var(--components-tooltip-popover-standard-fill);
|
|
1131
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1132
|
+
border-radius: 0.25rem;
|
|
1133
|
+
border: 0.0625rem solid var(--components-tooltip-popover-standard-border);
|
|
1134
|
+
font-family: inherit;
|
|
1135
|
+
z-index: 20;
|
|
1136
|
+
}
|
|
1137
|
+
.eds-contrast .eds-popover {
|
|
1138
|
+
background: var(--components-tooltip-popover-contrast-fill);
|
|
1139
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
1140
|
+
}
|
|
1141
|
+
.eds-popover:focus-visible {
|
|
1142
|
+
outline: 2px solid #181c56;
|
|
1143
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1144
|
+
outline-offset: 0.125rem;
|
|
1145
|
+
}
|
|
1146
|
+
.eds-contrast .eds-popover:focus-visible {
|
|
1147
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1148
|
+
}
|
|
1149
|
+
/* DO NOT CHANGE!*/
|
|
1150
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1129
1151
|
/* DO NOT CHANGE!*/
|
|
1130
1152
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1131
1153
|
/* DO NOT CHANGE!*/
|
|
@@ -1323,25 +1345,3 @@ a.eds-button--size-large {
|
|
|
1323
1345
|
:root {
|
|
1324
1346
|
--eds-tooltip: 1;
|
|
1325
1347
|
}
|
|
1326
|
-
/* DO NOT CHANGE!*/
|
|
1327
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1328
|
-
.eds-popover {
|
|
1329
|
-
background: var(--components-tooltip-popover-standard-fill);
|
|
1330
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1331
|
-
border-radius: 0.25rem;
|
|
1332
|
-
border: 0.0625rem solid var(--components-tooltip-popover-standard-border);
|
|
1333
|
-
font-family: inherit;
|
|
1334
|
-
z-index: 20;
|
|
1335
|
-
}
|
|
1336
|
-
.eds-contrast .eds-popover {
|
|
1337
|
-
background: var(--components-tooltip-popover-contrast-fill);
|
|
1338
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
1339
|
-
}
|
|
1340
|
-
.eds-popover:focus-visible {
|
|
1341
|
-
outline: 2px solid #181c56;
|
|
1342
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1343
|
-
outline-offset: 0.125rem;
|
|
1344
|
-
}
|
|
1345
|
-
.eds-contrast .eds-popover:focus-visible {
|
|
1346
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1347
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/tooltip",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2-beta.0",
|
|
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.
|
|
31
|
-
"@entur/icons": "^7.6.
|
|
32
|
-
"@entur/layout": "^
|
|
33
|
-
"@entur/tokens": "^3.17.
|
|
30
|
+
"@entur/button": "^3.3.2-beta.0",
|
|
31
|
+
"@entur/icons": "^7.6.2-beta.0",
|
|
32
|
+
"@entur/layout": "^3.0.0-beta.0",
|
|
33
|
+
"@entur/tokens": "^3.17.7-beta.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": "
|
|
42
|
+
"gitHead": "cd66907abaf7faaee1f9dcc5f063b3b153eaf7b2"
|
|
43
43
|
}
|