@db-ux/core-components 2.1.2 → 2.2.1

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.
@@ -283,6 +283,12 @@ input[type=radio]:checked) > label {
283
283
  /* Left */
284
284
  /* Right */
285
285
  }
286
+ @supports (field-sizing: content) {
287
+ .db-textarea textarea[data-field-sizing=content]:is([data-hide-resizer=true], [data-resize=none]) {
288
+ /* We don't show a scrollbar if we use field-sizing: content and no resizer is available */
289
+ scrollbar-width: none;
290
+ }
291
+ }
286
292
  .db-textarea textarea::-webkit-scrollbar {
287
293
  z-index: 3;
288
294
  inline-size: 0.5rem;
@@ -346,16 +352,19 @@ input[type=radio]:checked) > label {
346
352
  border-end-end-radius: var(--db-border-radius-xs);
347
353
  }
348
354
 
349
- .db-textarea textarea[data-resize=none] {
355
+ .db-textarea textarea[data-hide-resizer=true] {
356
+ resize: none;
357
+ }
358
+ .db-textarea textarea:not([data-hide-resizer=true])[data-resize=none] {
350
359
  resize: none;
351
360
  }
352
- .db-textarea textarea[data-resize=both] {
361
+ .db-textarea textarea:not([data-hide-resizer=true])[data-resize=both] {
353
362
  resize: both;
354
363
  }
355
- .db-textarea textarea[data-resize=horizontal] {
364
+ .db-textarea textarea:not([data-hide-resizer=true])[data-resize=horizontal] {
356
365
  resize: horizontal;
357
366
  }
358
- .db-textarea textarea[data-resize=vertical] {
367
+ .db-textarea textarea:not([data-hide-resizer=true])[data-resize=vertical] {
359
368
  resize: vertical;
360
369
  }
361
370
 
@@ -649,6 +658,15 @@ input[type=radio]:checked) [id$=-placeholder] {
649
658
  .db-textarea textarea:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-textarea textarea:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
650
659
  cursor: pointer;
651
660
  }
661
+ .db-textarea textarea:is(input, textarea) {
662
+ /* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
663
+ }
664
+ .db-textarea textarea:is(input, textarea)[data-field-sizing=content] {
665
+ field-sizing: content;
666
+ }
667
+ .db-textarea textarea:is(input, textarea)[data-field-sizing=fixed] {
668
+ field-sizing: fixed;
669
+ }
652
670
  .db-textarea textarea:is(input, textarea):not(:disabled):read-only {
653
671
  background-color: var(--db-textarea-read-only, var(--db-adaptive-bg-basic-level-1-default)) !important;
654
672
  }
@@ -8,20 +8,27 @@
8
8
  @use "../../styles/internal/scrollbar";
9
9
 
10
10
  %resize-textarea {
11
- &[data-resize="none"] {
11
+ &[data-hide-resizer="true"] {
12
12
  resize: none;
13
13
  }
14
14
 
15
- &[data-resize="both"] {
16
- resize: both;
17
- }
15
+ // TODO: Consolidate data-hide-resizer and data-resize attributes in the future
16
+ &:not([data-hide-resizer="true"]) {
17
+ &[data-resize="none"] {
18
+ resize: none;
19
+ }
18
20
 
19
- &[data-resize="horizontal"] {
20
- resize: horizontal;
21
- }
21
+ &[data-resize="both"] {
22
+ resize: both;
23
+ }
22
24
 
23
- &[data-resize="vertical"] {
24
- resize: vertical;
25
+ &[data-resize="horizontal"] {
26
+ resize: horizontal;
27
+ }
28
+
29
+ &[data-resize="vertical"] {
30
+ resize: vertical;
31
+ }
25
32
  }
26
33
  }
27
34
 
@@ -203,26 +203,43 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
203
203
  border-radius: var(--default-card-border-radius, var(--db-border-radius-sm));
204
204
  }
205
205
 
206
- .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],
207
- [data-placement$=end],
208
- [data-placement$=start]) {
206
+ .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 {
209
207
  --db-popover-center-x: -50%;
210
208
  inset-inline-start: 50%;
211
209
  }
212
- [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],
213
- [data-placement$=start]), [data-outside-vx=right].db-tooltip:not([data-placement$=end],
214
- [data-placement$=start]) {
210
+ [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]) {
215
211
  --db-popover-center-y: -50%;
216
212
  inset-block-start: 50%;
217
213
  }
218
214
 
219
215
  .db-tooltip {
220
216
  --db-popover-distance: var(--db-spacing-fixed-2xs);
217
+ /* This is for pure html css without using JS */
221
218
  }
222
219
  .db-tooltip::before {
223
220
  content: "";
224
221
  position: absolute;
225
222
  }
223
+ .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 {
224
+ inset-block-end: 100%;
225
+ inset-inline: 0;
226
+ block-size: var(--db-popover-distance);
227
+ }
228
+ [data-placement^=top].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=top].db-tooltip::before {
229
+ inset-block-start: 100%;
230
+ inset-inline: 0;
231
+ block-size: var(--db-popover-distance);
232
+ }
233
+ [data-placement^=right].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=right].db-tooltip::before {
234
+ inset-inline-end: 100%;
235
+ inset-block: 0;
236
+ inline-size: var(--db-popover-distance);
237
+ }
238
+ [data-placement^=left].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=left].db-tooltip::before {
239
+ inset-inline-start: 100%;
240
+ inset-block: 0;
241
+ inline-size: var(--db-popover-distance);
242
+ }
226
243
  [data-gap=true].db-tooltip {
227
244
  --db-popover-gap: 1;
228
245
  --db-popover-distance: var(--db-spacing-fixed-md);
@@ -230,49 +247,49 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
230
247
  .db-tooltip:is(.db-tooltip) {
231
248
  --db-popover-distance: var(--db-spacing-fixed-sm);
232
249
  }
233
- [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] {
250
+ .db-tooltip:not([data-corrected-placement])[data-placement^=bottom][data-placement$=end], .db-tooltip:not([data-corrected-placement])[data-placement^=top][data-placement$=end] {
234
251
  inset-inline-end: 0;
235
252
  }
236
- [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] {
253
+ .db-tooltip:not([data-corrected-placement])[data-placement^=bottom][data-placement$=start], .db-tooltip:not([data-corrected-placement])[data-placement^=top][data-placement$=start] {
237
254
  inset-inline-start: 0;
238
255
  }
239
- [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 {
256
+ .db-tooltip:not([data-corrected-placement])[data-placement^=left][data-placement$=end], .db-tooltip:not([data-corrected-placement])[data-placement^=right][data-placement$=end] {
240
257
  inset-block-end: 0;
241
258
  }
242
- [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 {
259
+ .db-tooltip:not([data-corrected-placement])[data-placement^=left][data-placement$=start], .db-tooltip:not([data-corrected-placement])[data-placement^=right][data-placement$=start] {
243
260
  inset-block-start: 0;
244
261
  }
245
- .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]) {
262
+ .db-tooltip:not([data-corrected-placement]):not([data-placement]), .db-tooltip:not([data-corrected-placement])[data-placement^=bottom] {
246
263
  inset-block-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
247
264
  }
248
- .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 {
265
+ .db-tooltip:not([data-corrected-placement]):not([data-placement])::before, .db-tooltip:not([data-corrected-placement])[data-placement^=bottom]::before {
249
266
  inset-inline-start: 0;
250
267
  inline-size: 100%;
251
268
  block-size: var(--db-popover-distance);
252
269
  inset-block-start: calc(-1 * var(--db-popover-distance));
253
270
  }
254
- [data-placement^=top].db-tooltip:not([data-outside-vy]), [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]) {
271
+ .db-tooltip:not([data-corrected-placement])[data-placement^=top] {
255
272
  inset-block-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
256
273
  }
257
- [data-placement^=top].db-tooltip:not([data-outside-vy])::before, [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])::before {
274
+ .db-tooltip:not([data-corrected-placement])[data-placement^=top]::before {
258
275
  inset-inline-end: 0;
259
276
  inline-size: 100%;
260
277
  block-size: var(--db-popover-distance);
261
278
  inset-block-end: calc(-1 * var(--db-popover-distance));
262
279
  }
263
- [data-placement^=left].db-tooltip:not([data-outside-vx]), [data-outside-vx=right].db-tooltip {
280
+ .db-tooltip:not([data-corrected-placement])[data-placement^=left] {
264
281
  inset-inline-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
265
282
  }
266
- [data-placement^=left].db-tooltip:not([data-outside-vx])::before, [data-outside-vx=right].db-tooltip::before {
283
+ .db-tooltip:not([data-corrected-placement])[data-placement^=left]::before {
267
284
  inset-block-end: 0;
268
285
  block-size: 100%;
269
286
  inline-size: var(--db-popover-distance);
270
287
  inset-inline-end: calc(-1 * var(--db-popover-distance));
271
288
  }
272
- [data-placement^=right].db-tooltip:not([data-outside-vx]), [data-outside-vx=left].db-tooltip {
289
+ .db-tooltip:not([data-corrected-placement])[data-placement^=right] {
273
290
  inset-inline-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
274
291
  }
275
- [data-placement^=right].db-tooltip:not([data-outside-vx])::before, [data-outside-vx=left].db-tooltip::before {
292
+ .db-tooltip:not([data-corrected-placement])[data-placement^=right]::before {
276
293
  inset-block-start: 0;
277
294
  block-size: 100%;
278
295
  inline-size: var(--db-popover-distance);
@@ -280,78 +297,106 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
280
297
  }
281
298
 
282
299
  .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 {
283
- display: revert;
300
+ visibility: var(--db-show-popover-visibility, visible);
284
301
  }
285
- .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-visible .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-visible [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-visible [data-outside-vy=top].db-tooltip:not([data-outside-vx]):first-of-type {
302
+ .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 {
286
303
  --db-popover-translate-y: -25%;
287
304
  }
288
- .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-visible .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-visible .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-visible [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-visible [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-visible [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-visible [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type {
305
+ .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 {
289
306
  opacity: 1;
290
307
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
291
308
  }
292
309
  @media screen and (prefers-reduced-motion: no-preference) {
293
- .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-visible .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-visible [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-visible [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type {
310
+ .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 {
294
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 */
295
314
  }
296
- .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-visible .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-visible [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-visible [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type {
315
+ .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 {
297
316
  animation-delay: var(--db-transition-duration-extra-slow);
298
317
  }
299
- .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-visible .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-visible [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-visible [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type {
300
- animation-delay: calc(var(--db-transition-duration-medium));
318
+ .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 {
319
+ animation-delay: var(--db-transition-duration-medium);
301
320
  }
302
321
  }
303
- [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-visible [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-visible [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]):first-of-type {
322
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
323
+ .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 {
324
+ animation-delay: var(--db-transition-duration-medium);
325
+ }
326
+ }
327
+ [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 {
304
328
  --db-popover-translate-y: 25%;
305
329
  }
306
- [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-visible [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-visible [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-visible [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-visible [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=false]:first-of-type {
330
+ [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 {
307
331
  opacity: 1;
308
332
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
309
333
  }
310
334
  @media screen and (prefers-reduced-motion: no-preference) {
311
- [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-visible [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-visible [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true]:first-of-type {
335
+ [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 {
312
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 */
313
339
  }
314
- [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-visible [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-visible [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=slow]:first-of-type {
340
+ [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 {
315
341
  animation-delay: var(--db-transition-duration-extra-slow);
316
342
  }
317
- [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-visible [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-visible [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-animation=true][data-delay=fast]:first-of-type {
318
- animation-delay: calc(var(--db-transition-duration-medium));
343
+ [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 {
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^=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 {
349
+ animation-delay: var(--db-transition-duration-medium);
319
350
  }
320
351
  }
321
- [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-visible [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-visible [data-outside-vx=left].db-tooltip:first-of-type {
352
+ [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 {
322
353
  --db-popover-translate-x: -25%;
323
354
  }
324
- [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-visible [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-visible [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-visible [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-visible [data-outside-vx=left][data-animation=false].db-tooltip:first-of-type {
355
+ [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 {
325
356
  opacity: 1;
326
357
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
327
358
  }
328
359
  @media screen and (prefers-reduced-motion: no-preference) {
329
- [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-visible [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-visible [data-outside-vx=left][data-animation=true].db-tooltip:first-of-type {
360
+ [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 {
330
361
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
362
+ /* stylelint-disable-next-line media-query-no-invalid */
363
+ /* stylelint-disable-next-line at-rule-empty-line-before */
331
364
  }
332
- [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-visible [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-visible [data-outside-vx=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
365
+ [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 {
333
366
  animation-delay: var(--db-transition-duration-extra-slow);
334
367
  }
335
- [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-visible [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-visible [data-outside-vx=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
336
- animation-delay: calc(var(--db-transition-duration-medium));
368
+ [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 {
369
+ animation-delay: var(--db-transition-duration-medium);
370
+ }
371
+ }
372
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
373
+ [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 {
374
+ animation-delay: var(--db-transition-duration-medium);
337
375
  }
338
376
  }
339
- [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-visible [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-visible [data-outside-vx=right].db-tooltip:first-of-type {
377
+ [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 {
340
378
  --db-popover-translate-x: 25%;
341
379
  }
342
- [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-visible [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-visible [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-visible [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-visible [data-outside-vx=right][data-animation=false].db-tooltip:first-of-type {
380
+ [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 {
343
381
  opacity: 1;
344
382
  transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
345
383
  }
346
384
  @media screen and (prefers-reduced-motion: no-preference) {
347
- [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-visible [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-visible [data-outside-vx=right][data-animation=true].db-tooltip:first-of-type {
385
+ [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 {
348
386
  animation: popover-animation var(--db-transition-straight-emotional) normal both;
387
+ /* stylelint-disable-next-line media-query-no-invalid */
388
+ /* stylelint-disable-next-line at-rule-empty-line-before */
349
389
  }
350
- [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-visible [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-visible [data-outside-vx=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
390
+ [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 {
351
391
  animation-delay: var(--db-transition-duration-extra-slow);
352
392
  }
353
- [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-visible [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-visible [data-outside-vx=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
354
- animation-delay: calc(var(--db-transition-duration-medium));
393
+ [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 {
394
+ animation-delay: var(--db-transition-duration-medium);
395
+ }
396
+ }
397
+ @media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
398
+ [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 {
399
+ animation-delay: var(--db-transition-duration-medium);
355
400
  }
356
401
  }
357
402
 
@@ -359,14 +404,16 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
359
404
  position: absolute;
360
405
  background-color: var(--db-adaptive-bg-basic-level-1-default);
361
406
  box-shadow: var(--db-elevation-md);
362
- display: none;
407
+ visibility: hidden;
363
408
  z-index: 1337;
364
- white-space: nowrap;
409
+ white-space: normal;
410
+ max-inline-size: calc(100vw - 2 * var(--db-spacing-fixed-md));
411
+ block-size: fit-content;
412
+ inline-size: fit-content;
365
413
  }
366
414
  [data-width=fixed].db-tooltip {
367
415
  inline-size: max-content;
368
- max-inline-size: var(--db-sizing-3xl);
369
- white-space: normal;
416
+ max-inline-size: min(var(--db-sizing-3xl), calc(100vw - 2 * var(--db-spacing-fixed-md)));
370
417
  text-align: initial;
371
418
  }
372
419
 
@@ -394,26 +441,26 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
394
441
  border-radius: 0 2px;
395
442
  transform: skew(-8deg, -8deg);
396
443
  }
397
- .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 {
398
- inset-inline-start: 50%;
444
+ .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 {
445
+ inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
399
446
  inset-block-start: 0;
400
447
  translate: -50% -50%;
401
448
  rotate: 315deg;
402
449
  }
403
- .db-tooltip[data-placement^=top]:not([data-outside-vy])::after, .db-tooltip[data-outside-vy=bottom]:not([data-outside-vx])::after {
404
- inset-inline-start: 50%;
450
+ .db-tooltip[data-placement^=top]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=top]::after {
451
+ inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
405
452
  inset-block-end: 0;
406
453
  translate: -50% 50%;
407
454
  rotate: 135deg;
408
455
  }
409
- .db-tooltip[data-placement^=right]:not([data-outside-vx])::after, .db-tooltip[data-outside-vx=left]::after {
410
- inset-block-start: 50%;
456
+ .db-tooltip[data-placement^=right]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=right]::after {
457
+ inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
411
458
  inset-inline-start: 0;
412
459
  translate: -50% -50%;
413
460
  rotate: 225deg;
414
461
  }
415
- .db-tooltip[data-placement^=left]:not([data-outside-vx])::after, .db-tooltip[data-outside-vx=right]::after {
416
- inset-block-start: 50%;
462
+ .db-tooltip[data-placement^=left]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=left]::after {
463
+ inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
417
464
  inset-inline-end: 0;
418
465
  translate: 50% -50%;
419
466
  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;