@db-ux/core-components 2.0.8 → 2.0.10-popover-d7e8b9a

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 (51) hide show
  1. package/build/components/accordion/accordion.css +4 -0
  2. package/build/components/accordion-item/accordion-item.css +30 -31
  3. package/build/components/accordion-item/accordion-item.scss +35 -39
  4. package/build/components/badge/badge.css +4 -0
  5. package/build/components/brand/brand.css +4 -0
  6. package/build/components/button/button.css +4 -0
  7. package/build/components/card/card.css +4 -0
  8. package/build/components/checkbox/checkbox.css +33 -12
  9. package/build/components/custom-select/custom-select.css +75 -134
  10. package/build/components/custom-select/custom-select.scss +0 -49
  11. package/build/components/custom-select-dropdown/custom-select-dropdown.css +4 -0
  12. package/build/components/custom-select-form-field/custom-select-form-field.css +4 -0
  13. package/build/components/custom-select-list/custom-select-list.css +4 -153
  14. package/build/components/custom-select-list/custom-select-list.scss +0 -3
  15. package/build/components/custom-select-list-item/custom-select-list-item.css +7 -21
  16. package/build/components/custom-select-list-item/custom-select-list-item.scss +5 -9
  17. package/build/components/divider/divider.css +4 -0
  18. package/build/components/drawer/drawer.css +4 -0
  19. package/build/components/header/header.css +4 -0
  20. package/build/components/icon/icon.css +4 -0
  21. package/build/components/infotext/infotext.css +4 -0
  22. package/build/components/input/input.css +75 -21
  23. package/build/components/link/link.css +4 -0
  24. package/build/components/navigation/navigation.css +4 -0
  25. package/build/components/navigation-item/navigation-item.css +4 -0
  26. package/build/components/notification/notification.css +4 -0
  27. package/build/components/popover/popover.css +83 -82
  28. package/build/components/popover/popover.scss +0 -1
  29. package/build/components/radio/radio.css +4 -0
  30. package/build/components/section/section.css +4 -0
  31. package/build/components/select/select.css +75 -21
  32. package/build/components/stack/stack-web-component.css +4 -0
  33. package/build/components/stack/stack.css +4 -0
  34. package/build/components/switch/switch.css +4 -0
  35. package/build/components/tab-item/tab-item.css +4 -0
  36. package/build/components/tab-list/tab-list.css +4 -0
  37. package/build/components/tabs/tabs.css +4 -0
  38. package/build/components/tag/tag.css +4 -0
  39. package/build/components/textarea/textarea.css +67 -19
  40. package/build/components/tooltip/tooltip.css +92 -90
  41. package/build/components/tooltip/tooltip.scss +14 -14
  42. package/build/styles/absolute.css +197 -13
  43. package/build/styles/dialog-init.css +1 -1
  44. package/build/styles/index.css +12 -12
  45. package/build/styles/internal/_form-components.scss +8 -3
  46. package/build/styles/internal/_popover-component.scss +69 -106
  47. package/build/styles/relative.css +197 -13
  48. package/build/styles/rollup.css +197 -13
  49. package/build/styles/visually-hidden.css +1 -1
  50. package/build/styles/webpack.css +197 -13
  51. package/package.json +2 -2
@@ -36,6 +36,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
36
36
 
37
37
  @layer variables {}
38
38
 
39
+ @layer variables {}
40
+
41
+ @layer variables {}
42
+
39
43
  /**
40
44
  Generates 3 types of placeholders, e.g:
41
45
  - %db-component-variables-md
@@ -198,15 +202,11 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
198
202
  border-radius: var(--default-card-border-radius, var(--db-border-radius-sm));
199
203
  }
200
204
 
201
- .db-tooltip:not([data-placement]), [data-placement=bottom].db-tooltip:not([data-outside-vy]), [data-placement=top].db-tooltip:not([data-outside-vy]), .db-tooltip:is([data-outside-vy=bottom], [data-outside-vy=top]):not([data-outside-vx],
202
- [data-placement$=end],
203
- [data-placement$=start]) {
205
+ .db-tooltip:not([data-placement], [data-corrected-placement]), [data-placement=bottom].db-tooltip:not([data-corrected-placement]), [data-placement=top].db-tooltip:not([data-corrected-placement]), [data-corrected-placement=bottom].db-tooltip, [data-corrected-placement=top].db-tooltip {
204
206
  --db-popover-center-x: -50%;
205
207
  inset-inline-start: 50%;
206
208
  }
207
- [data-placement=left].db-tooltip:not([data-outside-vx]), [data-placement=right].db-tooltip:not([data-outside-vx]), [data-outside-vx=left].db-tooltip:not([data-placement$=end],
208
- [data-placement$=start]), [data-outside-vx=right].db-tooltip:not([data-placement$=end],
209
- [data-placement$=start]) {
209
+ [data-corrected-placement=left].db-tooltip, [data-corrected-placement=right].db-tooltip, [data-placement=left].db-tooltip:not([data-corrected-placement]), [data-placement=right].db-tooltip:not([data-corrected-placement]) {
210
210
  --db-popover-center-y: -50%;
211
211
  inset-block-start: 50%;
212
212
  }
@@ -218,135 +218,135 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
218
218
  content: "";
219
219
  position: absolute;
220
220
  }
221
- [data-gap=true].db-tooltip {
222
- --db-popover-gap: 1;
223
- --db-popover-distance: var(--db-spacing-fixed-md);
224
- }
225
- .db-tooltip:is(.db-tooltip) {
226
- --db-popover-distance: var(--db-spacing-fixed-sm);
227
- }
228
- [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-placement$=end], [data-placement^=top].db-tooltip:not([data-outside-vy])[data-placement$=end], [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-placement$=end], [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-placement$=end] {
229
- inset-inline-end: 0;
230
- }
231
- [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-placement$=start], [data-placement^=top].db-tooltip:not([data-outside-vy])[data-placement$=start], [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-placement$=start], [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-placement$=start] {
232
- inset-inline-start: 0;
233
- }
234
- [data-placement^=left].db-tooltip:not([data-outside-vx])[data-placement$=end], [data-placement^=right].db-tooltip:not([data-outside-vx])[data-placement$=end], [data-outside-vx=left][data-placement$=end].db-tooltip, [data-outside-vx=right][data-placement$=end].db-tooltip {
235
- inset-block-end: 0;
236
- }
237
- [data-placement^=left].db-tooltip:not([data-outside-vx])[data-placement$=start], [data-placement^=right].db-tooltip:not([data-outside-vx])[data-placement$=start], [data-outside-vx=left][data-placement$=start].db-tooltip, [data-outside-vx=right][data-placement$=start].db-tooltip {
238
- inset-block-start: 0;
239
- }
240
- .db-tooltip:not([data-placement], [data-outside-vy]), [data-placement^=bottom].db-tooltip:not([data-outside-vy]), [data-outside-vy=top].db-tooltip:not([data-outside-vx]) {
241
- inset-block-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
242
- }
243
- .db-tooltip:not([data-placement], [data-outside-vy])::before, [data-placement^=bottom].db-tooltip:not([data-outside-vy])::before, [data-outside-vy=top].db-tooltip:not([data-outside-vx])::before {
244
- inset-inline-start: 0;
245
- inline-size: 100%;
221
+ .db-tooltip:not([data-placement], [data-corrected-placement])::before, [data-placement^=bottom].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=bottom].db-tooltip::before {
222
+ inset-block-end: 100%;
223
+ inset-inline: 0;
246
224
  block-size: var(--db-popover-distance);
247
- inset-block-start: calc(-1 * var(--db-popover-distance));
248
225
  }
249
- [data-placement^=top].db-tooltip:not([data-outside-vy]), [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]) {
250
- inset-block-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
251
- }
252
- [data-placement^=top].db-tooltip:not([data-outside-vy])::before, [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])::before {
253
- inset-inline-end: 0;
254
- inline-size: 100%;
226
+ [data-placement^=top].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=top].db-tooltip::before {
227
+ inset-block-start: 100%;
228
+ inset-inline: 0;
255
229
  block-size: var(--db-popover-distance);
256
- inset-block-end: calc(-1 * var(--db-popover-distance));
257
230
  }
258
- [data-placement^=left].db-tooltip:not([data-outside-vx]), [data-outside-vx=right].db-tooltip {
259
- inset-inline-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
231
+ [data-placement^=right].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=right].db-tooltip::before {
232
+ inset-inline-end: 100%;
233
+ inset-block: 0;
234
+ inline-size: var(--db-popover-distance);
260
235
  }
261
- [data-placement^=left].db-tooltip:not([data-outside-vx])::before, [data-outside-vx=right].db-tooltip::before {
262
- inset-block-end: 0;
263
- block-size: 100%;
236
+ [data-placement^=left].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=left].db-tooltip::before {
237
+ inset-inline-start: 100%;
238
+ inset-block: 0;
264
239
  inline-size: var(--db-popover-distance);
265
- inset-inline-end: calc(-1 * var(--db-popover-distance));
266
240
  }
267
- [data-placement^=right].db-tooltip:not([data-outside-vx]), [data-outside-vx=left].db-tooltip {
268
- inset-inline-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
241
+ [data-gap=true].db-tooltip {
242
+ --db-popover-gap: 1;
243
+ --db-popover-distance: var(--db-spacing-fixed-md);
269
244
  }
270
- [data-placement^=right].db-tooltip:not([data-outside-vx])::before, [data-outside-vx=left].db-tooltip::before {
271
- inset-block-start: 0;
272
- block-size: 100%;
273
- inline-size: var(--db-popover-distance);
274
- inset-inline-start: calc(-1 * var(--db-popover-distance));
245
+ .db-tooltip:is(.db-tooltip) {
246
+ --db-popover-distance: var(--db-spacing-fixed-sm);
275
247
  }
276
248
 
277
- .db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover .db-tooltip:first-of-type, [data-has-tooltip=true]:focus .db-tooltip:first-of-type {
278
- display: revert;
249
+ .db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover .db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:first-of-type {
250
+ visibility: var(--db-show-popover-visibility, visible);
279
251
  }
280
- .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-outside-vy]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-outside-vy]):first-of-type, [data-has-tooltip=true]:focus .db-tooltip:not([data-placement], [data-outside-vy]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vy]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-outside-vy]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=bottom].db-tooltip:not([data-outside-vy]):first-of-type, [data-outside-vy=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]), [data-has-tooltip=true]:hover [data-outside-vy=top].db-tooltip:not([data-outside-vx]):first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=top].db-tooltip:not([data-outside-vx]):first-of-type {
252
+ .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=bottom].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom].db-tooltip:first-of-type {
281
253
  --db-popover-translate-y: -25%;
282
254
  }
283
- .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-outside-vy]):not([data-animation]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-outside-vy]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus .db-tooltip:not([data-placement], [data-outside-vy]):not([data-animation]):first-of-type, .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-outside-vy])[data-animation=false], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=false]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vy]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-outside-vy]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=bottom].db-tooltip:not([data-outside-vy]):not([data-animation]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=false]:first-of-type, [data-outside-vy=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]):not([data-animation]), [data-has-tooltip=true]:hover [data-outside-vy=top].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=top].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-outside-vy=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=false], [data-has-tooltip=true]:hover [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type {
255
+ .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement]):not([data-animation]):first-of-type, .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=false]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=bottom].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=bottom][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=false].db-tooltip:first-of-type {
284
256
  opacity: 1;
285
257
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
286
258
  }
287
259
  @media screen and (prefers-reduced-motion: no-preference) {
288
- .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-outside-vy])[data-animation=true], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=true]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=true]:first-of-type, [data-outside-vy=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true], [data-has-tooltip=true]:hover [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type {
260
+ .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=bottom][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true].db-tooltip:first-of-type {
289
261
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
262
+ /* stylelint-disable-next-line media-query-no-invalid */
263
+ /* stylelint-disable-next-line at-rule-empty-line-before */
290
264
  }
291
- .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=slow]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=slow]:first-of-type, [data-outside-vy=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type {
265
+ .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=bottom][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
292
266
  animation-delay: var(--db-transition-duration-extra-slow);
293
267
  }
294
- .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus .db-tooltip:not([data-placement], [data-outside-vy])[data-animation=true][data-delay=fast]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=fast]:first-of-type, [data-outside-vy=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type {
295
- animation-delay: calc(var(--db-transition-duration-medium));
268
+ .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=bottom][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
269
+ animation-delay: var(--db-transition-duration-medium);
296
270
  }
297
271
  }
298
- [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vy]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-outside-vy]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=top].db-tooltip:not([data-outside-vy]):first-of-type, [data-outside-vy=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]), [data-has-tooltip=true]:hover [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]):first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]):first-of-type {
272
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
273
+ .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=bottom][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
274
+ animation-delay: var(--db-transition-duration-medium);
275
+ }
276
+ }
277
+ [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=top].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top].db-tooltip:first-of-type {
299
278
  --db-popover-translate-y: 25%;
300
279
  }
301
- [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vy]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-outside-vy]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=top].db-tooltip:not([data-outside-vy]):not([data-animation]):first-of-type, [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=false]:first-of-type, [data-outside-vy=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]):not([data-animation]), [data-has-tooltip=true]:hover [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-outside-vy=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=false], [data-has-tooltip=true]:hover [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type {
280
+ [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=top].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=top][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=false].db-tooltip:first-of-type {
302
281
  opacity: 1;
303
282
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
304
283
  }
305
284
  @media screen and (prefers-reduced-motion: no-preference) {
306
- [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=true]:first-of-type, [data-outside-vy=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true], [data-has-tooltip=true]:hover [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type {
285
+ [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=top][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true].db-tooltip:first-of-type {
307
286
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
287
+ /* stylelint-disable-next-line media-query-no-invalid */
288
+ /* stylelint-disable-next-line at-rule-empty-line-before */
308
289
  }
309
- [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=slow]:first-of-type, [data-outside-vy=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type {
290
+ [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=top][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
310
291
  animation-delay: var(--db-transition-duration-extra-slow);
311
292
  }
312
- [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-outside-vy])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=top].db-tooltip:not([data-outside-vy])[data-animation=true][data-delay=fast]:first-of-type, [data-outside-vy=bottom].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type {
313
- animation-delay: calc(var(--db-transition-duration-medium));
293
+ [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=top][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
294
+ animation-delay: var(--db-transition-duration-medium);
314
295
  }
315
296
  }
316
- [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-outside-vx]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=right].db-tooltip:not([data-outside-vx]):first-of-type, [data-outside-vx=left].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=left].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=left].db-tooltip:first-of-type {
297
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
298
+ [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=top][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
299
+ animation-delay: var(--db-transition-duration-medium);
300
+ }
301
+ }
302
+ [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=right].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right].db-tooltip:first-of-type {
317
303
  --db-popover-translate-x: -25%;
318
304
  }
319
- [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=right].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type, [data-outside-vx=left].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-outside-vx=left].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=left].db-tooltip:not([data-animation]):first-of-type, [data-outside-vx=left][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=left][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=left][data-animation=false].db-tooltip:first-of-type {
305
+ [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=right].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=right][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=false].db-tooltip:first-of-type {
320
306
  opacity: 1;
321
307
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
322
308
  }
323
309
  @media screen and (prefers-reduced-motion: no-preference) {
324
- [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type, [data-outside-vx=left][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=left][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=left][data-animation=true].db-tooltip:first-of-type {
310
+ [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=right][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true].db-tooltip:first-of-type {
325
311
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
312
+ /* stylelint-disable-next-line media-query-no-invalid */
313
+ /* stylelint-disable-next-line at-rule-empty-line-before */
326
314
  }
327
- [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type, [data-outside-vx=left][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
315
+ [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=right][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
328
316
  animation-delay: var(--db-transition-duration-extra-slow);
329
317
  }
330
- [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=right].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type, [data-outside-vx=left][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
331
- animation-delay: calc(var(--db-transition-duration-medium));
318
+ [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=right][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
319
+ animation-delay: var(--db-transition-duration-medium);
320
+ }
321
+ }
322
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
323
+ [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=right][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
324
+ animation-delay: var(--db-transition-duration-medium);
332
325
  }
333
326
  }
334
- [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-outside-vx]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=left].db-tooltip:not([data-outside-vx]):first-of-type, [data-outside-vx=right].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=right].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=right].db-tooltip:first-of-type {
327
+ [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=left].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left].db-tooltip:first-of-type {
335
328
  --db-popover-translate-x: 25%;
336
329
  }
337
- [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-outside-vx]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-placement^=left].db-tooltip:not([data-outside-vx]):not([data-animation]):first-of-type, [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type, [data-outside-vx=right].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-outside-vx=right].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=right].db-tooltip:not([data-animation]):first-of-type, [data-outside-vx=right][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=right][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=right][data-animation=false].db-tooltip:first-of-type {
330
+ [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=left].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=left][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=false].db-tooltip:first-of-type {
338
331
  opacity: 1;
339
332
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
340
333
  }
341
334
  @media screen and (prefers-reduced-motion: no-preference) {
342
- [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type, [data-outside-vx=right][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=right][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=right][data-animation=true].db-tooltip:first-of-type {
335
+ [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=left][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true].db-tooltip:first-of-type {
343
336
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
337
+ /* stylelint-disable-next-line media-query-no-invalid */
338
+ /* stylelint-disable-next-line at-rule-empty-line-before */
344
339
  }
345
- [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type, [data-outside-vx=right][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
340
+ [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=left][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
346
341
  animation-delay: var(--db-transition-duration-extra-slow);
347
342
  }
348
- [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-outside-vx])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus [data-placement^=left].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type, [data-outside-vx=right][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-outside-vx=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus [data-outside-vx=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
349
- animation-delay: calc(var(--db-transition-duration-medium));
343
+ [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=left][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
344
+ animation-delay: var(--db-transition-duration-medium);
345
+ }
346
+ }
347
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
348
+ [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=left][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
349
+ animation-delay: var(--db-transition-duration-medium);
350
350
  }
351
351
  }
352
352
 
@@ -354,14 +354,16 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
354
354
  position: absolute;
355
355
  background-color: var(--db-adaptive-bg-basic-level-1-default);
356
356
  box-shadow: var(--db-elevation-md);
357
- display: none;
357
+ visibility: hidden;
358
358
  z-index: 1337;
359
- white-space: nowrap;
359
+ white-space: normal;
360
+ max-inline-size: calc(100vw - 2 * var(--db-spacing-fixed-md));
361
+ block-size: fit-content;
362
+ inline-size: fit-content;
360
363
  }
361
364
  [data-width=fixed].db-tooltip {
362
365
  inline-size: max-content;
363
- max-inline-size: var(--db-sizing-3xl);
364
- white-space: normal;
366
+ max-inline-size: min(var(--db-sizing-3xl), calc(100vw - 2 * var(--db-spacing-fixed-md)));
365
367
  text-align: initial;
366
368
  }
367
369
 
@@ -389,26 +391,26 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
389
391
  border-radius: 0 2px;
390
392
  transform: skew(-8deg, -8deg);
391
393
  }
392
- .db-tooltip:not([data-placement], [data-outside-vy])::after, .db-tooltip[data-placement^=bottom]:not([data-outside-vy])::after, .db-tooltip[data-outside-vy=top]:not([data-outside-vx])::after {
393
- inset-inline-start: 50%;
394
+ .db-tooltip:not([data-placement], [data-corrected-placement])::after, .db-tooltip[data-placement^=bottom]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=bottom]::after {
395
+ inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
394
396
  inset-block-start: 0;
395
397
  translate: -50% -50%;
396
398
  rotate: 315deg;
397
399
  }
398
- .db-tooltip[data-placement^=top]:not([data-outside-vy])::after, .db-tooltip[data-outside-vy=bottom]:not([data-outside-vx])::after {
399
- inset-inline-start: 50%;
400
+ .db-tooltip[data-placement^=top]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=top]::after {
401
+ inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
400
402
  inset-block-end: 0;
401
403
  translate: -50% 50%;
402
404
  rotate: 135deg;
403
405
  }
404
- .db-tooltip[data-placement^=right]:not([data-outside-vx])::after, .db-tooltip[data-outside-vx=left]::after {
405
- inset-block-start: 50%;
406
+ .db-tooltip[data-placement^=right]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=right]::after {
407
+ inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
406
408
  inset-inline-start: 0;
407
409
  translate: -50% -50%;
408
410
  rotate: 225deg;
409
411
  }
410
- .db-tooltip[data-placement^=left]:not([data-outside-vx])::after, .db-tooltip[data-outside-vx=right]::after {
411
- inset-block-start: 50%;
412
+ .db-tooltip[data-placement^=left]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=left]::after {
413
+ inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
412
414
  inset-inline-end: 0;
413
415
  translate: 50% -50%;
414
416
  rotate: 45deg;
@@ -59,41 +59,41 @@ $tooltip-arrow-shadow-size: variables.$db-sizing-2xs;
59
59
  }
60
60
  }
61
61
 
62
- &:not([data-placement], [data-outside-vy]),
63
- &[data-placement^="bottom"]:not([data-outside-vy]),
64
- &[data-outside-vy="top"]:not([data-outside-vx]) {
62
+ &:not([data-placement], [data-corrected-placement]),
63
+ &[data-placement^="bottom"]:not([data-corrected-placement]),
64
+ &[data-corrected-placement^="bottom"] {
65
65
  &::after {
66
- inset-inline-start: 50%;
66
+ inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
67
67
  inset-block-start: 0;
68
68
  translate: -50% -50%;
69
69
  rotate: 315deg;
70
70
  }
71
71
  }
72
72
 
73
- &[data-placement^="top"]:not([data-outside-vy]),
74
- &[data-outside-vy="bottom"]:not([data-outside-vx]) {
73
+ &[data-placement^="top"]:not([data-corrected-placement]),
74
+ &[data-corrected-placement^="top"] {
75
75
  &::after {
76
- inset-inline-start: 50%;
76
+ inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
77
77
  inset-block-end: 0;
78
78
  translate: -50% 50%;
79
79
  rotate: 135deg;
80
80
  }
81
81
  }
82
82
 
83
- &[data-placement^="right"]:not([data-outside-vx]),
84
- &[data-outside-vx="left"] {
83
+ &[data-placement^="right"]:not([data-corrected-placement]),
84
+ &[data-corrected-placement^="right"] {
85
85
  &::after {
86
- inset-block-start: 50%;
86
+ inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
87
87
  inset-inline-start: 0;
88
88
  translate: -50% -50%;
89
89
  rotate: 225deg;
90
90
  }
91
91
  }
92
92
 
93
- &[data-placement^="left"]:not([data-outside-vx]),
94
- &[data-outside-vx="right"] {
93
+ &[data-placement^="left"]:not([data-corrected-placement]),
94
+ &[data-corrected-placement^="left"] {
95
95
  &::after {
96
- inset-block-start: 50%;
96
+ inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
97
97
  inset-inline-end: 0;
98
98
  translate: 50% -50%;
99
99
  rotate: 45deg;
@@ -130,7 +130,7 @@ $tooltip-arrow-shadow-size: variables.$db-sizing-2xs;
130
130
  position: var(--db-tooltip-parent-position, relative);
131
131
  }
132
132
 
133
- $popover-states: "hover", "focus";
133
+ $popover-states: "hover", "focus-visible";
134
134
 
135
135
  @each $state in $popover-states {
136
136
  @include show-popover($state);