@slotted/styles 0.1.0-beta.8 → 0.1.0-beta.9

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 (128) hide show
  1. package/package.json +1 -1
  2. package/src/accordion/accordion.css +10 -10
  3. package/src/action-bar/action-bar.css +31 -32
  4. package/src/action-sheet/action-sheet.css +36 -36
  5. package/src/alert/alert.css +35 -35
  6. package/src/app-shell/app-shell.css +280 -299
  7. package/src/aspect-ratio/aspect-ratio.css +9 -9
  8. package/src/attachment/attachment.css +91 -99
  9. package/src/avatar/avatar.css +41 -41
  10. package/src/avatar-group/avatar-group.css +21 -22
  11. package/src/badge/badge.css +37 -37
  12. package/src/breadcrumb/breadcrumb.css +37 -37
  13. package/src/button/button.css +88 -69
  14. package/src/button-group/button-group.css +69 -73
  15. package/src/calendar/calendar.css +93 -103
  16. package/src/card/card.css +54 -61
  17. package/src/carousel/carousel.css +150 -161
  18. package/src/cascader/cascader.css +147 -151
  19. package/src/chart/chart.css +225 -240
  20. package/src/checkbox/checkbox.css +119 -124
  21. package/src/checkbox-group/checkbox-group.css +7 -7
  22. package/src/code-block/code-block.css +81 -85
  23. package/src/collapsible/collapsible.css +69 -76
  24. package/src/color-picker/color-picker.css +83 -91
  25. package/src/column-manager/column-manager.css +106 -114
  26. package/src/combobox/combobox.css +99 -101
  27. package/src/command-palette/command-palette.css +84 -90
  28. package/src/container/container.css +24 -24
  29. package/src/context-menu/context-menu.css +8 -8
  30. package/src/currency-field/currency-field.css +99 -104
  31. package/src/dashboard-grid/dashboard-grid.css +104 -107
  32. package/src/data-grid/data-grid.css +458 -456
  33. package/src/data-grid/data-grid.tokens.json +2 -0
  34. package/src/data-list/data-list.css +67 -69
  35. package/src/date-field/date-field.css +50 -50
  36. package/src/date-picker/date-picker.css +40 -42
  37. package/src/date-range-picker/date-range-picker.css +114 -118
  38. package/src/datetime-field/datetime-field.css +73 -78
  39. package/src/datetime-picker/datetime-picker.css +61 -63
  40. package/src/datetime-range-picker/datetime-range-picker.css +149 -156
  41. package/src/description-list/description-list.css +61 -64
  42. package/src/detail-panel/detail-panel.css +70 -70
  43. package/src/dialog/dialog.css +300 -148
  44. package/src/divider/divider.css +18 -18
  45. package/src/drawer/drawer.css +186 -209
  46. package/src/entity-picker/entity-picker.css +220 -239
  47. package/src/event-calendar/event-calendar.css +343 -385
  48. package/src/field/field.css +74 -78
  49. package/src/field-group/field-group.css +22 -25
  50. package/src/filter-bar/filter-bar.css +193 -209
  51. package/src/form/form.css +21 -24
  52. package/src/fullscreen/fullscreen.css +24 -25
  53. package/src/grid/grid.css +28 -28
  54. package/src/highlight/highlight.css +6 -6
  55. package/src/hover-card/hover-card.css +6 -6
  56. package/src/icon/icon.css +15 -15
  57. package/src/image/image.css +39 -39
  58. package/src/import-export-center/import-export-center.css +135 -156
  59. package/src/inline/inline.css +27 -27
  60. package/src/inline-message/inline-message.css +28 -28
  61. package/src/kbd/kbd.css +26 -26
  62. package/src/link/link.css +15 -15
  63. package/src/list/list.css +20 -20
  64. package/src/list-item/list-item.css +66 -66
  65. package/src/listbox/listbox.css +56 -59
  66. package/src/loading-overlay/loading-overlay.css +75 -92
  67. package/src/markdown/markdown.css +17 -17
  68. package/src/menu/menu.css +63 -65
  69. package/src/menubar/menubar.css +13 -13
  70. package/src/message/message.css +174 -202
  71. package/src/message-scroller/message-scroller.css +41 -42
  72. package/src/multi-select/multi-select.css +131 -137
  73. package/src/navigation-menu/navigation-menu.css +167 -188
  74. package/src/notification-center/notification-center.css +134 -148
  75. package/src/number-field/number-field.css +76 -81
  76. package/src/otp-input/otp-input.css +48 -48
  77. package/src/page/page.css +23 -23
  78. package/src/page-header/page-header.css +219 -280
  79. package/src/pagination/pagination.css +68 -72
  80. package/src/popover/popover.css +40 -49
  81. package/src/progress-indicator/progress-indicator.css +85 -90
  82. package/src/prompt-composer/prompt-composer.css +94 -99
  83. package/src/prose/prose.css +71 -75
  84. package/src/radio-group/radio-group.css +98 -103
  85. package/src/rating/rating.css +132 -132
  86. package/src/result-state/result-state.css +74 -77
  87. package/src/saved-views/saved-views.css +41 -47
  88. package/src/scroll-area/scroll-area.css +32 -35
  89. package/src/section/section.css +16 -16
  90. package/src/segmented-control/segmented-control.css +77 -79
  91. package/src/select/select.css +113 -115
  92. package/src/side-navigation/side-navigation.css +170 -180
  93. package/src/skeleton/skeleton.css +47 -48
  94. package/src/slider/slider.css +86 -88
  95. package/src/sparkline/sparkline.css +32 -32
  96. package/src/spinner/spinner.css +4 -4
  97. package/src/split-button/split-button.css +26 -31
  98. package/src/splitter/splitter.css +35 -35
  99. package/src/stack/stack.css +24 -24
  100. package/src/stat-card/stat-card.css +102 -103
  101. package/src/status-indicator/status-indicator.css +28 -28
  102. package/src/stepper/stepper.css +58 -62
  103. package/src/switch/switch.css +86 -92
  104. package/src/table/table.css +189 -198
  105. package/src/table-of-contents/table-of-contents.css +51 -54
  106. package/src/tabs/tabs.css +143 -162
  107. package/src/tag/tag.css +67 -71
  108. package/src/tags-input/tags-input.css +124 -74
  109. package/src/tags-input/tags-input.tokens.json +6 -1
  110. package/src/text-field/text-field.css +108 -126
  111. package/src/textarea/textarea.css +26 -26
  112. package/src/time-field/time-field.css +67 -67
  113. package/src/time-picker/time-picker.css +56 -58
  114. package/src/time-range-picker/time-range-picker.css +126 -133
  115. package/src/timeline/timeline.css +244 -266
  116. package/src/toast/toast.css +81 -90
  117. package/src/toggle/toggle.css +29 -33
  118. package/src/toggle-group/toggle-group.css +67 -71
  119. package/src/toolbar/toolbar.css +30 -35
  120. package/src/tooltip/tooltip.css +26 -26
  121. package/src/top-navigation/top-navigation.css +243 -259
  122. package/src/tour/tour.css +51 -60
  123. package/src/transfer/transfer.css +160 -164
  124. package/src/tree/tree.css +103 -111
  125. package/src/typography/typography.css +36 -36
  126. package/src/upload/upload.css +224 -224
  127. package/src/visually-hidden/visually-hidden.css +1 -1
  128. package/src/wizard/wizard.css +185 -197
package/src/tour/tour.css CHANGED
@@ -33,7 +33,7 @@
33
33
  * The backdrop holds it and fades it, so the scrim arrives and leaves the way
34
34
  * `dialog`'s does (`scrim-motion.test.mjs`).
35
35
  */
36
- [data-ui='tour'] {
36
+ [data-ui-tour] {
37
37
  --_scrim: var(--slotted-tour-scrim, var(--slotted-scrim, Canvas));
38
38
  --_spotlight-padding: var(--slotted-tour-spotlight-padding, var(--slotted-space-3, 0.375rem));
39
39
  --_spotlight-radius: var(--slotted-tour-spotlight-radius, var(--slotted-radius-md, 6px));
@@ -83,12 +83,12 @@
83
83
 
84
84
  /* Visible at once on the way in: a frame hidden until the end of a transition
85
85
  cannot take focus in the frame it opens, and the card is focused then. */
86
- [data-ui='tour'][data-open] {
86
+ [data-ui-tour][data-open] {
87
87
  visibility: visible;
88
88
  transition: none;
89
89
  }
90
90
 
91
- [data-ui='tour'][data-size='sm'] {
91
+ [data-ui-tour][data-size='sm'] {
92
92
  --_inset-block: var(--slotted-tour-padding-block-sm, var(--slotted-space-5, 0.75rem));
93
93
  --_inset-inline: var(--slotted-tour-padding-inline-sm, var(--slotted-space-5, 0.75rem));
94
94
  --_title-font-size: var(--slotted-font-size-md, 0.875rem);
@@ -96,7 +96,7 @@
96
96
  --_measure: var(--slotted-tour-measure-sm, 16rem);
97
97
  }
98
98
 
99
- [data-ui='tour'][data-size='lg'] {
99
+ [data-ui-tour][data-size='lg'] {
100
100
  --_inset-block: var(--slotted-tour-padding-block-lg, var(--slotted-space-7, 1.25rem));
101
101
  --_inset-inline: var(--slotted-tour-padding-inline-lg, var(--slotted-space-7, 1.25rem));
102
102
  --_title-font-size: var(--slotted-font-size-xl, 1.125rem);
@@ -110,7 +110,7 @@
110
110
  * step — the backdrop paints the scrim itself, as `dialog`'s does. With one,
111
111
  * the spotlight's shadow paints it and the backdrop only carries the fade.
112
112
  */
113
- [data-ui='tour'] > [data-part='backdrop'] {
113
+ [data-ui-tour] > [data-part-backdrop] {
114
114
  position: absolute;
115
115
  inset: 0;
116
116
  overflow: clip;
@@ -119,19 +119,19 @@
119
119
  transition: opacity var(--slotted-duration-short) var(--slotted-easing-exit);
120
120
  }
121
121
 
122
- [data-ui='tour'][data-open] > [data-part='backdrop'] {
122
+ [data-ui-tour][data-open] > [data-part-backdrop] {
123
123
  opacity: 1;
124
124
  transition: opacity var(--slotted-duration-long) var(--slotted-easing-standard);
125
125
  }
126
126
 
127
- [data-ui='tour'][data-spotlight] > [data-part='backdrop'] {
127
+ [data-ui-tour][data-spotlight] > [data-part-backdrop] {
128
128
  background: transparent;
129
129
  }
130
130
 
131
131
  /* A modal step takes every press outside the card, the target's included:
132
132
  the page beneath is inert, and a press that reached it would do nothing
133
133
  a reader could see. */
134
- [data-ui='tour'][data-modal] > [data-part='backdrop'] {
134
+ [data-ui-tour][data-modal] > [data-part-backdrop] {
135
135
  pointer-events: auto;
136
136
  }
137
137
 
@@ -144,7 +144,7 @@
144
144
  * it from any position the cutout can take, a target half off screen
145
145
  * included.
146
146
  */
147
- [data-ui='tour'] > [data-part='backdrop'] > [data-part='spotlight'] {
147
+ [data-ui-tour] > [data-part-backdrop] > [data-part-spotlight] {
148
148
  position: absolute;
149
149
  left: calc(var(--slotted-tour-target-x, 0px) - var(--_spotlight-padding));
150
150
  top: calc(var(--slotted-tour-target-y, 0px) - var(--_spotlight-padding));
@@ -179,17 +179,17 @@
179
179
  * before the cutout goes, and the backdrop, which paints the same ink,
180
180
  * takes over without a seam.
181
181
  */
182
- [data-ui='tour'][data-spot='travel'] > [data-part='backdrop'] > [data-part='spotlight'] {
182
+ [data-ui-tour][data-spot='travel'] > [data-part-backdrop] > [data-part-spotlight] {
183
183
  transition-property: left, top, width, height;
184
184
  transition-duration: var(--slotted-duration-long);
185
185
  transition-timing-function: var(--slotted-easing-standard);
186
186
  }
187
187
 
188
- [data-ui='tour'][data-spot='light'] > [data-part='backdrop'] > [data-part='spotlight'] {
188
+ [data-ui-tour][data-spot='light'] > [data-part-backdrop] > [data-part-spotlight] {
189
189
  animation: slotted-tour-light var(--slotted-duration-long) var(--slotted-easing-standard);
190
190
  }
191
191
 
192
- [data-ui='tour'][data-spot='close'] > [data-part='backdrop'] > [data-part='spotlight'] {
192
+ [data-ui-tour][data-spot='close'] > [data-part-backdrop] > [data-part-spotlight] {
193
193
  background-color: var(--_scrim);
194
194
  transition: background-color var(--slotted-duration-long) var(--slotted-easing-standard);
195
195
  }
@@ -208,7 +208,7 @@
208
208
  * positioner writes `left` and never `right`, and `inset-inline-start`
209
209
  * resolves to `right` in a right-to-left document.
210
210
  */
211
- [data-ui='tour'] > [data-part='surface'] {
211
+ [data-ui-tour] > [data-part-surface] {
212
212
  position: absolute;
213
213
  inset-block-start: 0;
214
214
 
@@ -243,12 +243,12 @@
243
243
  * card between two steps, still at the old target with the new words, is
244
244
  * never drawn.
245
245
  */
246
- [data-ui='tour'][data-open] > [data-part='surface'][data-ready]:not([data-leaving]) {
246
+ [data-ui-tour][data-open] > [data-part-surface][data-ready]:not([data-leaving]) {
247
247
  opacity: 1;
248
248
  transition: opacity var(--slotted-duration-long) var(--slotted-easing-standard);
249
249
  }
250
250
 
251
- [data-ui='tour'] > [data-part='surface'][data-detached] {
251
+ [data-ui-tour] > [data-part-surface][data-detached] {
252
252
  visibility: hidden;
253
253
  }
254
254
 
@@ -258,7 +258,7 @@
258
258
  * absolutely placed box with all four insets at zero centre it without a
259
259
  * transform, which the entrance owns.
260
260
  */
261
- [data-ui='tour'] > [data-part='surface'][data-placement='centered'] {
261
+ [data-ui-tour] > [data-part-surface][data-placement='centered'] {
262
262
  inset: 0;
263
263
  margin: auto;
264
264
  block-size: max-content;
@@ -272,7 +272,7 @@
272
272
  * answers zero everywhere else.
273
273
  */
274
274
  @supports (inset: env(safe-area-inset-top)) {
275
- [data-ui='tour'] > [data-part='surface'][data-placement='centered'] {
275
+ [data-ui-tour] > [data-part-surface][data-placement='centered'] {
276
276
  inset: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
277
277
  env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
278
278
  }
@@ -286,7 +286,7 @@
286
286
  * one narrower than the screen leaves a sliver of page on either side
287
287
  * that nobody can use.
288
288
  */
289
- [data-ui='tour'][data-compact] > [data-part='surface'][data-placement='anchored'] {
289
+ [data-ui-tour][data-compact] > [data-part-surface][data-placement='anchored'] {
290
290
  /* Capped, so layout="compact" forced on a wide screen is a wide card and
291
291
  not a banner across the page. */
292
292
  --_compact-measure: var(--slotted-tour-measure-compact, 32rem);
@@ -294,11 +294,11 @@
294
294
  max-inline-size: min(var(--slotted-positioner-available-width, 100vw), var(--_compact-measure));
295
295
  }
296
296
 
297
- [data-ui='tour'] > [data-part='surface'][data-placement='centered'] > [data-part='arrow'] {
297
+ [data-ui-tour] > [data-part-surface][data-placement='centered'] > [data-part-arrow] {
298
298
  display: none;
299
299
  }
300
300
 
301
- [data-ui='tour'] > [data-part='surface'] > [data-part='focus-guard'] {
301
+ [data-ui-tour] > [data-part-surface] > [data-part-focus-guard] {
302
302
  position: absolute;
303
303
  inline-size: 1px;
304
304
  block-size: 1px;
@@ -311,7 +311,7 @@
311
311
 
312
312
  /* ── The card ─────────────────────────────────────────────────────────── */
313
313
 
314
- [data-ui='tour'] > [data-part='surface'] > [data-part='content'] {
314
+ [data-ui-tour] > [data-part-surface] > [data-part-content] {
315
315
  box-sizing: border-box;
316
316
  display: flex;
317
317
  flex-direction: column;
@@ -336,11 +336,11 @@
336
336
  outline: none;
337
337
  }
338
338
 
339
- [data-ui='tour'] > [data-part='surface'][data-placement='centered'] > [data-part='content'] {
339
+ [data-ui-tour] > [data-part-surface][data-placement='centered'] > [data-part-content] {
340
340
  max-block-size: calc(100vh - 2 * var(--_gap));
341
341
  }
342
342
 
343
- [data-ui='tour'] > [data-part='surface'] > [data-part='content']:focus-visible {
343
+ [data-ui-tour] > [data-part-surface] > [data-part-content]:focus-visible {
344
344
  outline: var(--slotted-focus-ring-width, 2px) solid
345
345
  var(--slotted-focus-ring-color, currentColor);
346
346
  outline-offset: calc(-1 * var(--slotted-focus-ring-width, 2px));
@@ -351,7 +351,7 @@
351
351
  * top rather than as an image placed inside it; its height is its own, and
352
352
  * a consumer who wants a fixed frame writes `aspect-ratio` on it.
353
353
  */
354
- [data-ui='tour'] [data-part='content'] > [data-part='media'] {
354
+ [data-ui-tour] [data-part-content] > [data-part-media] {
355
355
  display: block;
356
356
  flex: none;
357
357
  inline-size: 100%;
@@ -361,7 +361,7 @@
361
361
  border-block-end: var(--_border-width) solid var(--_border-color);
362
362
  }
363
363
 
364
- [data-ui='tour'] [data-part='content'] > [data-part='media'] > :is(img, video, svg) {
364
+ [data-ui-tour] [data-part-content] > [data-part-media] > :is(img, video, svg) {
365
365
  display: block;
366
366
  inline-size: 100%;
367
367
  block-size: auto;
@@ -372,7 +372,7 @@
372
372
  * close control sits in it without stretching it, and the progress text is
373
373
  * centred on the same line.
374
374
  */
375
- [data-ui='tour'] [data-part='content'] > [data-part='header'] {
375
+ [data-ui-tour] [data-part-content] > [data-part-header] {
376
376
  display: flex;
377
377
  flex: none;
378
378
  /* `start`, so a progress text a translation wraps keeps the close control
@@ -386,7 +386,7 @@
386
386
  calc(var(--_inset-inline) - var(--slotted-space-3, 0.375rem));
387
387
  }
388
388
 
389
- [data-ui='tour'] [data-part='content'] > [data-part='header'] > [data-part='progress'] {
389
+ [data-ui-tour] [data-part-content] > [data-part-header] > [data-part-progress] {
390
390
  flex: 1 1 auto;
391
391
  min-inline-size: 0;
392
392
  margin: 0;
@@ -403,7 +403,7 @@
403
403
  unicode-bidi: plaintext;
404
404
  }
405
405
 
406
- [data-ui='tour'] [data-part='content'] > [data-part='header'] > [data-part='close'] {
406
+ [data-ui-tour] [data-part-content] > [data-part-header] > [data-part-close] {
407
407
  flex: none;
408
408
  display: inline-flex;
409
409
  align-items: center;
@@ -427,31 +427,22 @@
427
427
  var(--slotted-control-transition-easing, var(--slotted-easing-standard));
428
428
  }
429
429
 
430
- [data-ui='tour']
431
- [data-part='content']
432
- > [data-part='header']
433
- > [data-part='close']:enabled:hover {
430
+ [data-ui-tour] [data-part-content] > [data-part-header] > [data-part-close]:enabled:hover {
434
431
  background: var(--slotted-tone-secondary-subtle-hover, rgb(15 23 42 / 0.06));
435
432
  color: var(--_text);
436
433
  }
437
434
 
438
- [data-ui='tour']
439
- [data-part='content']
440
- > [data-part='header']
441
- > [data-part='close']:enabled:active {
435
+ [data-ui-tour] [data-part-content] > [data-part-header] > [data-part-close]:enabled:active {
442
436
  background: var(--slotted-tone-secondary-subtle-active, rgb(15 23 42 / 0.1));
443
437
  }
444
438
 
445
- [data-ui='tour']
446
- [data-part='content']
447
- > [data-part='header']
448
- > [data-part='close']:focus-visible {
439
+ [data-ui-tour] [data-part-content] > [data-part-header] > [data-part-close]:focus-visible {
449
440
  outline: var(--slotted-focus-ring-width, 2px) solid
450
441
  var(--slotted-focus-ring-color, currentColor);
451
442
  outline-offset: calc(-1 * var(--slotted-focus-ring-width, 2px));
452
443
  }
453
444
 
454
- [data-ui='tour'] [data-part='content'] > [data-part='title'] {
445
+ [data-ui-tour] [data-part-content] > [data-part-title] {
455
446
  flex: none;
456
447
  margin: 0;
457
448
  padding-inline: var(--_inset-inline);
@@ -470,12 +461,12 @@
470
461
 
471
462
  /* A card with no header — the consumer composed their own — starts at the
472
463
  title, and the title takes the header's inset. */
473
- [data-ui='tour'] [data-part='content'] > [data-part='title']:first-child,
474
- [data-ui='tour'] [data-part='content'] > [data-part='media'] + [data-part='title'] {
464
+ [data-ui-tour] [data-part-content] > [data-part-title]:first-child,
465
+ [data-ui-tour] [data-part-content] > [data-part-media] + [data-part-title] {
475
466
  padding-block-start: var(--_inset-block);
476
467
  }
477
468
 
478
- [data-ui='tour'] [data-part='content'] > [data-part='description'] {
469
+ [data-ui-tour] [data-part-content] > [data-part-description] {
479
470
  flex: none;
480
471
  margin: 0;
481
472
  padding-inline: var(--_inset-inline);
@@ -489,7 +480,7 @@
489
480
  * The step's own content, and the only part that scrolls. The shadow at each
490
481
  * edge is popover's, for the reason recorded there.
491
482
  */
492
- [data-ui='tour'] [data-part='content'] > [data-part='body'] {
483
+ [data-ui-tour] [data-part-content] > [data-part-body] {
493
484
  flex: 1 1 auto;
494
485
  min-block-size: 0;
495
486
  overflow-x: hidden;
@@ -534,7 +525,7 @@
534
525
  * stacks the line skip was pushed onto above the pair. The document order,
535
526
  * which is the tab order, is still skip, back, next, and so is the picture.
536
527
  */
537
- [data-ui='tour'] [data-part='content'] > [data-part='footer'] {
528
+ [data-ui-tour] [data-part-content] > [data-part-footer] {
538
529
  display: flex;
539
530
  flex: none;
540
531
  flex-direction: row-reverse;
@@ -546,15 +537,15 @@
546
537
  padding-inline: var(--_inset-inline);
547
538
  }
548
539
 
549
- [data-ui='tour'] [data-part='content'] > [data-part='footer'] > [data-part='next'] {
540
+ [data-ui-tour] [data-part-content] > [data-part-footer] > [data-part-next] {
550
541
  order: 1;
551
542
  }
552
543
 
553
- [data-ui='tour'] [data-part='content'] > [data-part='footer'] > [data-part='prev'] {
544
+ [data-ui-tour] [data-part-content] > [data-part-footer] > [data-part-prev] {
554
545
  order: 2;
555
546
  }
556
547
 
557
- [data-ui='tour'] [data-part='content'] > [data-part='footer'] > [data-part='skip'] {
548
+ [data-ui-tour] [data-part-content] > [data-part-footer] > [data-part-skip] {
558
549
  order: 3;
559
550
  margin-inline-end: auto;
560
551
  /* A ghost button's label sits a button's padding in from its edge; pulled
@@ -568,7 +559,7 @@
568
559
  * popover's, in physical properties and over the card, for the two reasons
569
560
  * `tooltip.css` sets out.
570
561
  */
571
- [data-ui='tour'] > [data-part='surface'] > [data-part='arrow'] {
562
+ [data-ui-tour] > [data-part-surface] > [data-part-arrow] {
572
563
  /**
573
564
  * Where the arrow may stand: on the straight run of the card's edge. The
574
565
  * positioner keeps it `arrowPadding` from the edge of the **layer**, and
@@ -601,7 +592,7 @@
601
592
  border: 0 solid var(--_border-color);
602
593
  }
603
594
 
604
- [data-ui='tour'] > [data-part='surface'][data-side='top'] > [data-part='arrow'] {
595
+ [data-ui-tour] > [data-part-surface][data-side='top'] > [data-part-arrow] {
605
596
  left: var(--_arrow-x);
606
597
  top: auto;
607
598
  bottom: calc(var(--_gap) - var(--_arrow-size) / 2);
@@ -610,7 +601,7 @@
610
601
  border-bottom-right-radius: var(--_arrow-tip-radius);
611
602
  }
612
603
 
613
- [data-ui='tour'] > [data-part='surface'][data-side='bottom'] > [data-part='arrow'] {
604
+ [data-ui-tour] > [data-part-surface][data-side='bottom'] > [data-part-arrow] {
614
605
  left: var(--_arrow-x);
615
606
  top: calc(var(--_gap) - var(--_arrow-size) / 2);
616
607
  bottom: auto;
@@ -619,7 +610,7 @@
619
610
  border-top-left-radius: var(--_arrow-tip-radius);
620
611
  }
621
612
 
622
- [data-ui='tour'] > [data-part='surface'][data-side='left'] > [data-part='arrow'] {
613
+ [data-ui-tour] > [data-part-surface][data-side='left'] > [data-part-arrow] {
623
614
  top: var(--_arrow-y);
624
615
  left: auto;
625
616
  right: calc(var(--_gap) - var(--_arrow-size) / 2);
@@ -628,7 +619,7 @@
628
619
  border-top-right-radius: var(--_arrow-tip-radius);
629
620
  }
630
621
 
631
- [data-ui='tour'] > [data-part='surface'][data-side='right'] > [data-part='arrow'] {
622
+ [data-ui-tour] > [data-part-surface][data-side='right'] > [data-part-arrow] {
632
623
  top: var(--_arrow-y);
633
624
  left: calc(var(--_gap) - var(--_arrow-size) / 2);
634
625
  right: auto;
@@ -644,9 +635,9 @@
644
635
  * card holds focus the arrow's two outer edges are drawn as the ring, and
645
636
  * the ring runs round the point instead of stopping at it.
646
637
  */
647
- [data-ui='tour']
648
- > [data-part='surface']:has(> [data-part='content']:focus-visible)
649
- > [data-part='arrow'] {
638
+ [data-ui-tour]
639
+ > [data-part-surface]:has(> [data-part-content]:focus-visible)
640
+ > [data-part-arrow] {
650
641
  --_border-width: var(--slotted-focus-ring-width, 2px);
651
642
  border-color: var(--slotted-focus-ring-color, currentColor);
652
643
  }
@@ -658,7 +649,7 @@
658
649
  * sets its own `display`, which outranks the user agent's rule for the
659
650
  * attribute, so the attribute is restated last.
660
651
  */
661
- [data-ui='tour'] [data-part='content'] [data-part][hidden] {
652
+ [data-ui-tour] [data-part-content] [data-part][hidden] {
662
653
  display: none;
663
654
  }
664
655
 
@@ -669,11 +660,11 @@
669
660
  * what forced colours keep, so the target is ringed in the system's
670
661
  * highlight instead of being lit.
671
662
  */
672
- [data-ui='tour'] > [data-part='backdrop'] > [data-part='spotlight'] {
663
+ [data-ui-tour] > [data-part-backdrop] > [data-part-spotlight] {
673
664
  outline: var(--slotted-focus-ring-width, 2px) solid Highlight;
674
665
  }
675
666
 
676
- [data-ui='tour'][data-spotlight] > [data-part='backdrop'] {
667
+ [data-ui-tour][data-spotlight] > [data-part-backdrop] {
677
668
  background: transparent;
678
669
  }
679
670
  }