@entur/tooltip 2.5.23 → 2.6.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/CHANGELOG.md ADDED
@@ -0,0 +1,454 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [2.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.24...@entur/tooltip@2.6.0) (2023-01-19)
7
+
8
+ ### Features
9
+
10
+ - **popover:** add possibility to provide own state to popover component for semi-controlled functio ([8546735](https://bitbucket.org/enturas/design-system/commits/854673585c6d3d0bca09950643fa8db7f33dc148))
11
+
12
+ ## [2.5.24](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.21...@entur/tooltip@2.5.24) (2022-12-09)
13
+
14
+ **Note:** Version bump only for package @entur/tooltip
15
+
16
+ ## [2.5.23](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.22...@entur/tooltip@2.5.23) (2022-11-24)
17
+
18
+ **Note:** Version bump only for package @entur/tooltip
19
+
20
+ ## [2.5.22](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.21...@entur/tooltip@2.5.22) (2022-10-31)
21
+
22
+ **Note:** Version bump only for package @entur/tooltip
23
+
24
+ ## [2.5.21](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.20...@entur/tooltip@2.5.21) (2022-10-31)
25
+
26
+ **Note:** Version bump only for package @entur/tooltip
27
+
28
+ ## [2.5.20](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.19...@entur/tooltip@2.5.20) (2022-10-31)
29
+
30
+ **Note:** Version bump only for package @entur/tooltip
31
+
32
+ ## [2.5.19](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.18...@entur/tooltip@2.5.19) (2022-10-20)
33
+
34
+ **Note:** Version bump only for package @entur/tooltip
35
+
36
+ ## [2.5.18](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.17...@entur/tooltip@2.5.18) (2022-10-20)
37
+
38
+ **Note:** Version bump only for package @entur/tooltip
39
+
40
+ ## [2.5.17](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.16...@entur/tooltip@2.5.17) (2022-10-12)
41
+
42
+ **Note:** Version bump only for package @entur/tooltip
43
+
44
+ ## [2.5.15](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.14...@entur/tooltip@2.5.15) (2022-08-31)
45
+
46
+ **Note:** Version bump only for package @entur/tooltip
47
+
48
+ ## [2.5.14](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.13...@entur/tooltip@2.5.14) (2022-08-24)
49
+
50
+ **Note:** Version bump only for package @entur/tooltip
51
+
52
+ ## [2.5.13](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.12...@entur/tooltip@2.5.13) (2022-08-09)
53
+
54
+ **Note:** Version bump only for package @entur/tooltip
55
+
56
+ ## [2.5.12](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.11...@entur/tooltip@2.5.12) (2022-07-05)
57
+
58
+ **Note:** Version bump only for package @entur/tooltip
59
+
60
+ ## [2.5.11](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.10...@entur/tooltip@2.5.11) (2022-06-28)
61
+
62
+ **Note:** Version bump only for package @entur/tooltip
63
+
64
+ ## [2.5.10](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.9...@entur/tooltip@2.5.10) (2022-06-24)
65
+
66
+ **Note:** Version bump only for package @entur/tooltip
67
+
68
+ ## [2.5.9](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.8...@entur/tooltip@2.5.9) (2022-06-02)
69
+
70
+ **Note:** Version bump only for package @entur/tooltip
71
+
72
+ ## [2.5.8](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.7...@entur/tooltip@2.5.8) (2022-05-13)
73
+
74
+ **Note:** Version bump only for package @entur/tooltip
75
+
76
+ ## [2.5.7](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.6...@entur/tooltip@2.5.7) (2022-05-04)
77
+
78
+ **Note:** Version bump only for package @entur/tooltip
79
+
80
+ ## [2.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.5...@entur/tooltip@2.5.6) (2022-04-27)
81
+
82
+ **Note:** Version bump only for package @entur/tooltip
83
+
84
+ ## [2.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.4...@entur/tooltip@2.5.5) (2022-04-20)
85
+
86
+ **Note:** Version bump only for package @entur/tooltip
87
+
88
+ ## [2.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.3...@entur/tooltip@2.5.4) (2022-04-19)
89
+
90
+ **Note:** Version bump only for package @entur/tooltip
91
+
92
+ ## [2.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.2...@entur/tooltip@2.5.3) (2022-03-01)
93
+
94
+ **Note:** Version bump only for package @entur/tooltip
95
+
96
+ ## [2.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.1...@entur/tooltip@2.5.2) (2022-02-09)
97
+
98
+ **Note:** Version bump only for package @entur/tooltip
99
+
100
+ ## [2.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.5.0...@entur/tooltip@2.5.1) (2022-01-05)
101
+
102
+ ### Bug Fixes
103
+
104
+ - **popover:** popover will now close if focus is lost from a tab event ([d6991e3](https://bitbucket.org/enturas/design-system/commits/d6991e37a1d129df84851d6634f8751cddea7aec))
105
+
106
+ # [2.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.27...@entur/tooltip@2.5.0) (2021-12-10)
107
+
108
+ ### Features
109
+
110
+ - **tooltip:** add 'top-left' and 'top-right' option to placement prop ([6d62bf2](https://bitbucket.org/enturas/design-system/commits/6d62bf2152418c380a4a0a12db1744c0ca65ed95))
111
+
112
+ ## [2.4.27](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.26...@entur/tooltip@2.4.27) (2021-11-17)
113
+
114
+ **Note:** Version bump only for package @entur/tooltip
115
+
116
+ ## [2.4.26](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.25...@entur/tooltip@2.4.26) (2021-09-23)
117
+
118
+ **Note:** Version bump only for package @entur/tooltip
119
+
120
+ ## [2.4.25](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.24...@entur/tooltip@2.4.25) (2021-09-13)
121
+
122
+ **Note:** Version bump only for package @entur/tooltip
123
+
124
+ ## [2.4.24](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.23...@entur/tooltip@2.4.24) (2021-09-07)
125
+
126
+ ### Bug Fixes
127
+
128
+ - improve typings ([7232b23](https://bitbucket.org/enturas/design-system/commits/7232b23dc60d6d403dd6d911570efecbc603e248))
129
+ - update dependency for package ([a53b795](https://bitbucket.org/enturas/design-system/commits/a53b795f9bb4e40ced65fac60ed9a662af702303))
130
+
131
+ ## [2.4.23](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.22...@entur/tooltip@2.4.23) (2021-08-13)
132
+
133
+ **Note:** Version bump only for package @entur/tooltip
134
+
135
+ ## [2.4.22](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.21...@entur/tooltip@2.4.22) (2021-07-16)
136
+
137
+ **Note:** Version bump only for package @entur/tooltip
138
+
139
+ ## [2.4.21](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.20...@entur/tooltip@2.4.21) (2021-06-25)
140
+
141
+ ### Bug Fixes
142
+
143
+ - update dependencies ([011917c](https://bitbucket.org/enturas/design-system/commits/011917cb4fb44bc89f8d4e346ce94ad6b1c8c643))
144
+ - **tooltip:** hide tooltip if content is falsy ([5a1dbae](https://bitbucket.org/enturas/design-system/commits/5a1dbae105bdd964996773efb6b9d88418d6cda3))
145
+
146
+ ## [2.4.20](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.19...@entur/tooltip@2.4.20) (2021-06-04)
147
+
148
+ **Note:** Version bump only for package @entur/tooltip
149
+
150
+ ## [2.4.19](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.18...@entur/tooltip@2.4.19) (2021-05-19)
151
+
152
+ **Note:** Version bump only for package @entur/tooltip
153
+
154
+ ## [2.4.18](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.17...@entur/tooltip@2.4.18) (2021-05-05)
155
+
156
+ **Note:** Version bump only for package @entur/tooltip
157
+
158
+ ## [2.4.17](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.16...@entur/tooltip@2.4.17) (2021-04-23)
159
+
160
+ ### Bug Fixes
161
+
162
+ - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
163
+
164
+ ## [2.4.16](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.15...@entur/tooltip@2.4.16) (2021-04-09)
165
+
166
+ **Note:** Version bump only for package @entur/tooltip
167
+
168
+ ## [2.4.15](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.14...@entur/tooltip@2.4.15) (2021-03-02)
169
+
170
+ **Note:** Version bump only for package @entur/tooltip
171
+
172
+ ## [2.4.14](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.13...@entur/tooltip@2.4.14) (2021-02-17)
173
+
174
+ **Note:** Version bump only for package @entur/tooltip
175
+
176
+ ## [2.4.13](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.12...@entur/tooltip@2.4.13) (2021-01-29)
177
+
178
+ **Note:** Version bump only for package @entur/tooltip
179
+
180
+ ## [2.4.12](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.11...@entur/tooltip@2.4.12) (2021-01-20)
181
+
182
+ **Note:** Version bump only for package @entur/tooltip
183
+
184
+ ## [2.4.11](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.10...@entur/tooltip@2.4.11) (2021-01-13)
185
+
186
+ ### Bug Fixes
187
+
188
+ - **tooltip:** set maxwidth for tooltip ([fc5eba0](https://bitbucket.org/enturas/design-system/commits/fc5eba02d44bf554505866e0367d779584cf53b4))
189
+ - transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
190
+ - update "attribute" typings for upgraded dependency ([0d5d661](https://bitbucket.org/enturas/design-system/commits/0d5d6614af3326ef8d75525cac38a6cddd8ab9d2))
191
+ - update poppperjs dependency ([1ad19eb](https://bitbucket.org/enturas/design-system/commits/1ad19eb025929f9c9632eeaeed932b815d304f57))
192
+
193
+ ## [2.4.10](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.9...@entur/tooltip@2.4.10) (2021-01-05)
194
+
195
+ **Note:** Version bump only for package @entur/tooltip
196
+
197
+ ## [2.4.9](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.8...@entur/tooltip@2.4.9) (2020-12-04)
198
+
199
+ **Note:** Version bump only for package @entur/tooltip
200
+
201
+ ## [2.4.8](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.7...@entur/tooltip@2.4.8) (2020-11-10)
202
+
203
+ **Note:** Version bump only for package @entur/tooltip
204
+
205
+ ## [2.4.7](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.6...@entur/tooltip@2.4.7) (2020-11-05)
206
+
207
+ **Note:** Version bump only for package @entur/tooltip
208
+
209
+ ## [2.4.6](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.5...@entur/tooltip@2.4.6) (2020-10-28)
210
+
211
+ **Note:** Version bump only for package @entur/tooltip
212
+
213
+ ## [2.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.4...@entur/tooltip@2.4.5) (2020-10-23)
214
+
215
+ **Note:** Version bump only for package @entur/tooltip
216
+
217
+ ## [2.4.4](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.3...@entur/tooltip@2.4.4) (2020-10-16)
218
+
219
+ ### Bug Fixes
220
+
221
+ - **popover:** fix event target check for Popovers inside a Shadow DOM ([5ada65f](https://bitbucket.org/enturas/design-system/commits/5ada65f05c2a08ec23085919f8707db59a88dbfd))
222
+
223
+ ## [2.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.2...@entur/tooltip@2.4.3) (2020-10-09)
224
+
225
+ **Note:** Version bump only for package @entur/tooltip
226
+
227
+ ## [2.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.1...@entur/tooltip@2.4.2) (2020-09-25)
228
+
229
+ ### Bug Fixes
230
+
231
+ - **tooltip:** fix import of dependency ([d625895](https://bitbucket.org/enturas/design-system/commits/d625895db013fcb9339f79fbaea9bf3c80eccf9f))
232
+
233
+ ## [2.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.4.0...@entur/tooltip@2.4.1) (2020-09-14)
234
+
235
+ **Note:** Version bump only for package @entur/tooltip
236
+
237
+ # [2.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.3.1...@entur/tooltip@2.4.0) (2020-09-10)
238
+
239
+ ### Features
240
+
241
+ - **tooltip:** add poppermodifiers prop ([72d47d8](https://bitbucket.org/enturas/design-system/commits/72d47d8a4c37443ef736abbe6e7abca649e0dcb7))
242
+
243
+ ## [2.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.3.0...@entur/tooltip@2.3.1) (2020-09-02)
244
+
245
+ ### Bug Fixes
246
+
247
+ - **tooltip:** fix tooltip not closing after mouse exit ([c85af1f](https://bitbucket.org/enturas/design-system/commits/c85af1fe7d8a38fab32d9b813fdb206e417f2428))
248
+ - **tooltip:** simplify mouse exit code, and improve tests ([1ad44c7](https://bitbucket.org/enturas/design-system/commits/1ad44c729584ed9d7ce04aab9f71689d0d31f40b))
249
+
250
+ # [2.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.2.5...@entur/tooltip@2.3.0) (2020-08-26)
251
+
252
+ ### Features
253
+
254
+ - **tooltip:** add error variant for tooltip ([20a91e2](https://bitbucket.org/enturas/design-system/commits/20a91e269344805c1cf0e64fb405009e2a297430))
255
+
256
+ ## [2.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.2.4...@entur/tooltip@2.2.5) (2020-08-19)
257
+
258
+ **Note:** Version bump only for package @entur/tooltip
259
+
260
+ ## [2.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.2.3...@entur/tooltip@2.2.4) (2020-08-11)
261
+
262
+ **Note:** Version bump only for package @entur/tooltip
263
+
264
+ ## [2.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.2.2...@entur/tooltip@2.2.3) (2020-07-24)
265
+
266
+ ### Bug Fixes
267
+
268
+ - **popover:** add prevent default on button clicks ([0072ccd](https://bitbucket.org/enturas/design-system/commits/0072ccd9f8dd2d4db158c4781eb7f35dd2cab163))
269
+
270
+ ## [2.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.2.1...@entur/tooltip@2.2.2) (2020-07-22)
271
+
272
+ **Note:** Version bump only for package @entur/tooltip
273
+
274
+ ## [2.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.2.0...@entur/tooltip@2.2.1) (2020-07-16)
275
+
276
+ ### Bug Fixes
277
+
278
+ - fix typo in tooltip prop ([abbfc0b](https://bitbucket.org/enturas/design-system/commits/abbfc0bcc6323e5baad2522e0b75b495c32bb121))
279
+ - improve internal handling of refs ([cbc2c29](https://bitbucket.org/enturas/design-system/commits/cbc2c2957025618fcf692da4a894ff86765ed70e))
280
+
281
+ # [2.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.1.5...@entur/tooltip@2.2.0) (2020-07-13)
282
+
283
+ ### Bug Fixes
284
+
285
+ - fix contrast usage in popover component ([44b12bd](https://bitbucket.org/enturas/design-system/commits/44b12bd6a43a620b392b24a369a6670dc30395a4))
286
+
287
+ ### Features
288
+
289
+ - add new props for better controlability of tooltip ([decd962](https://bitbucket.org/enturas/design-system/commits/decd962ef5c326fcbe5decdd4f3f0132b6e6930e))
290
+
291
+ ## [2.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.1.4...@entur/tooltip@2.1.5) (2020-07-09)
292
+
293
+ ### Bug Fixes
294
+
295
+ - adjust popover content styling to be contrast ([4c43615](https://bitbucket.org/enturas/design-system/commits/4c4361534ecc0064aabb1a22c1c0a8f0272e411f))
296
+
297
+ ## [2.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.1.3...@entur/tooltip@2.1.4) (2020-07-03)
298
+
299
+ **Note:** Version bump only for package @entur/tooltip
300
+
301
+ ## [2.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.1.2...@entur/tooltip@2.1.3) (2020-06-17)
302
+
303
+ ### Bug Fixes
304
+
305
+ - fix wrong definition of forward referencing ([e5cad92](https://bitbucket.org/enturas/design-system/commits/e5cad92c59bc6453ab4dbe9a18c4c7e42dd7e00d))
306
+
307
+ ## [2.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.1.1...@entur/tooltip@2.1.2) (2020-05-27)
308
+
309
+ **Note:** Version bump only for package @entur/tooltip
310
+
311
+ ## [2.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.1.0...@entur/tooltip@2.1.1) (2020-05-26)
312
+
313
+ ### Bug Fixes
314
+
315
+ - fix missing styling for tooltip ([360a09d](https://bitbucket.org/enturas/design-system/commits/360a09d1fa4d112922514f5e72db1bae82f9f6d7))
316
+
317
+ # [2.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.6...@entur/tooltip@2.1.0) (2020-05-20)
318
+
319
+ ### Bug Fixes
320
+
321
+ - reduce tooltip min width ([69f1188](https://bitbucket.org/enturas/design-system/commits/69f118809747cade635c2cfa1b6e62eeece2f607))
322
+ - update tooltip component for breaking change in dependency ([1601ab7](https://bitbucket.org/enturas/design-system/commits/1601ab79945a0a049ab25fa7d429a019ad454dee))
323
+
324
+ ### Features
325
+
326
+ - **popover:** add popover component ([b692c95](https://bitbucket.org/enturas/design-system/commits/b692c95c08cfc20368e9eda082bcb235339718d2))
327
+
328
+ ## [2.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.5...@entur/tooltip@2.0.6) (2020-04-27)
329
+
330
+ **Note:** Version bump only for package @entur/tooltip
331
+
332
+ ## [2.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.4...@entur/tooltip@2.0.5) (2020-04-23)
333
+
334
+ **Note:** Version bump only for package @entur/tooltip
335
+
336
+ ## [2.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.3...@entur/tooltip@2.0.4) (2020-04-08)
337
+
338
+ **Note:** Version bump only for package @entur/tooltip
339
+
340
+ ## [2.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.1...@entur/tooltip@2.0.3) (2020-03-25)
341
+
342
+ **Note:** Version bump only for package @entur/tooltip
343
+
344
+ ## [2.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.1...@entur/tooltip@2.0.2) (2020-03-25)
345
+
346
+ **Note:** Version bump only for package @entur/tooltip
347
+
348
+ ## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@2.0.0...@entur/tooltip@2.0.1) (2020-03-20)
349
+
350
+ **Note:** Version bump only for package @entur/tooltip
351
+
352
+ # [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.10...@entur/tooltip@2.0.0) (2020-03-18)
353
+
354
+ ### Bug Fixes
355
+
356
+ - improve api and functionality of tooltip ([4923622](https://bitbucket.org/enturas/design-system/commits/4923622747e59215faa67113a35e5da92a74c771))
357
+ - rework tooltip component to increase usability ([6b27444](https://bitbucket.org/enturas/design-system/commits/6b27444fbc18b975b721ee8a17936aa846b61baf))
358
+ - update styling of tooltips ([66f4863](https://bitbucket.org/enturas/design-system/commits/66f48632340c31a20cbd82f46180b3e62183d722))
359
+
360
+ ### Features
361
+
362
+ - improve tooltip ([879f0ce](https://bitbucket.org/enturas/design-system/commits/879f0ce3d80facd3ace5e05fb5c06b26db987d3b))
363
+
364
+ ### BREAKING CHANGES
365
+
366
+ - children must now be wrapped in an element to ensure accesibility
367
+
368
+ ## [1.1.10](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.9...@entur/tooltip@1.1.10) (2020-02-20)
369
+
370
+ **Note:** Version bump only for package @entur/tooltip
371
+
372
+ ## [1.1.9](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.8...@entur/tooltip@1.1.9) (2020-02-12)
373
+
374
+ ### Bug Fixes
375
+
376
+ - fix missing type for spreading of props ([0e5beba](https://bitbucket.org/enturas/design-system/commits/0e5beba82ea7dde39915cd626e665aa6c15dafbf))
377
+
378
+ ## [1.1.8](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.7...@entur/tooltip@1.1.8) (2020-02-05)
379
+
380
+ ### Bug Fixes
381
+
382
+ - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
383
+
384
+ ## [1.1.7](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.6...@entur/tooltip@1.1.7) (2020-01-28)
385
+
386
+ **Note:** Version bump only for package @entur/tooltip
387
+
388
+ ## [1.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.5...@entur/tooltip@1.1.6) (2020-01-27)
389
+
390
+ ### Bug Fixes
391
+
392
+ - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
393
+
394
+ ## [1.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.4...@entur/tooltip@1.1.5) (2020-01-14)
395
+
396
+ **Note:** Version bump only for package @entur/tooltip
397
+
398
+ ## [1.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.3...@entur/tooltip@1.1.4) (2020-01-08)
399
+
400
+ ### Bug Fixes
401
+
402
+ - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
403
+
404
+ ## [1.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.2...@entur/tooltip@1.1.3) (2020-01-06)
405
+
406
+ **Note:** Version bump only for package @entur/tooltip
407
+
408
+ ## [1.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.1...@entur/tooltip@1.1.2) (2019-12-10)
409
+
410
+ ### Bug Fixes
411
+
412
+ - adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
413
+
414
+ ## [1.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.0...@entur/tooltip@1.1.1) (2019-11-29)
415
+
416
+ **Note:** Version bump only for package @entur/tooltip
417
+
418
+ # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.0.2...@entur/tooltip@1.1.0) (2019-11-22)
419
+
420
+ ### Features
421
+
422
+ - **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
423
+
424
+ ## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.0.1...@entur/tooltip@1.0.2) (2019-11-14)
425
+
426
+ ### Bug Fixes
427
+
428
+ - **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
429
+
430
+ ## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.0.0...@entur/tooltip@1.0.1) (2019-10-30)
431
+
432
+ ### Bug Fixes
433
+
434
+ - update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
435
+
436
+ # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@0.2.0...@entur/tooltip@1.0.0) (2019-10-22)
437
+
438
+ ### Code Refactoring
439
+
440
+ - **tooltip:** use named exports instead of default exports ([ad487aa](https://bitbucket.org/enturas/design-system/commits/ad487aa63a591fa979b7d57cb804426cc54ed3b7))
441
+
442
+ ### BREAKING CHANGES
443
+
444
+ - **tooltip:** Change from default export to named export (Tooltip)
445
+
446
+ # 0.2.0 (2019-09-25)
447
+
448
+ ### Bug Fixes
449
+
450
+ - added tooltip on child-focus ([df9921d](https://bitbucket.org/enturas/design-system/commits/df9921d))
451
+
452
+ ### Features
453
+
454
+ - **tooltip:** tooltip component added ([2c0b449](https://bitbucket.org/enturas/design-system/commits/2c0b449))
package/dist/Popover.d.ts CHANGED
@@ -8,6 +8,10 @@ export declare type PopoverProps = {
8
8
  * @default "bottom-start"
9
9
  */
10
10
  placement?: Placement;
11
+ /** Hvis du ønsker å styre state selv kan du sende inn state her */
12
+ showPopover?: boolean;
13
+ /** Hvis du ønsker å styre state selv kan du sende inn setState her */
14
+ setShowPopover?: React.Dispatch<React.SetStateAction<boolean>>;
11
15
  };
12
16
  export declare const Popover: React.FC<PopoverProps>;
13
17
  export declare type PopoverTriggerProps = {
package/dist/styles.css CHANGED
@@ -2,6 +2,25 @@
2
2
  --eds-tooltip: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-popover {
6
+ background: #181c56;
7
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
8
+ border-radius: 0.0625rem;
9
+ border: 0.0625rem solid #d1d3d3;
10
+ font-family: inherit;
11
+ z-index: 20;
12
+ }
13
+ .eds-contrast .eds-popover {
14
+ background: #292b6a;
15
+ box-shadow: 0 0.0625rem 0.1875rem #393d79;
16
+ }
17
+ .eds-popover--hidden {
18
+ display: none;
19
+ }
20
+ .eds-popover:focus {
21
+ outline: 5px solid red;
22
+ }/* DO NOT CHANGE!*/
23
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
24
  .eds-tooltip-wrapper {
6
25
  display: inline-block;
7
26
  position: relative;
@@ -117,23 +136,4 @@
117
136
  .eds-tooltip--bottom-end::after {
118
137
  bottom: calc(100% - 0.25rem);
119
138
  left: calc(100% - 1rem);
120
- }/* DO NOT CHANGE!*/
121
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
122
- .eds-popover {
123
- background: #181c56;
124
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
125
- border-radius: 0.0625rem;
126
- border: 0.0625rem solid #d1d3d3;
127
- font-family: inherit;
128
- z-index: 20;
129
- }
130
- .eds-contrast .eds-popover {
131
- background: #292b6a;
132
- box-shadow: 0 0.0625rem 0.1875rem #393d79;
133
- }
134
- .eds-popover--hidden {
135
- display: none;
136
- }
137
- .eds-popover:focus {
138
- outline: 5px solid red;
139
139
  }