@slotted/styles 0.1.0-beta.3 → 0.1.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -1
- package/src/accordion/accordion.css +11 -11
- package/src/action-bar/action-bar.css +47 -44
- package/src/action-bar/action-bar.tokens.json +1 -0
- package/src/action-sheet/action-sheet.css +39 -39
- package/src/alert/alert.css +97 -97
- package/src/alert/alert.tokens.json +6 -1
- package/src/app-shell/app-shell.css +456 -329
- package/src/app-shell/app-shell.tokens.json +6 -3
- package/src/aspect-ratio/aspect-ratio.css +9 -9
- package/src/attachment/attachment.css +118 -114
- package/src/avatar/avatar.css +96 -66
- package/src/avatar/avatar.tokens.json +7 -0
- package/src/avatar-group/avatar-group.css +22 -23
- package/src/badge/badge.css +54 -46
- package/src/badge/badge.tokens.json +5 -0
- package/src/breadcrumb/breadcrumb.css +52 -52
- package/src/button/button.css +137 -89
- package/src/button/button.tokens.json +5 -0
- package/src/button-group/button-group.css +80 -79
- package/src/button-group/button-group.tokens.json +1 -0
- package/src/calendar/calendar.css +139 -109
- package/src/calendar/calendar.tokens.json +5 -1
- package/src/card/card.css +70 -67
- package/src/card/card.tokens.json +1 -0
- package/src/carousel/carousel.css +158 -169
- package/src/cascader/cascader.css +161 -159
- package/src/cascader/cascader.tokens.json +2 -0
- package/src/chart/chart.css +288 -267
- package/src/chart/chart.tokens.json +4 -0
- package/src/checkbox/checkbox.css +143 -148
- package/src/checkbox-group/checkbox-group.css +7 -7
- package/src/code-block/code-block.css +85 -89
- package/src/collapsible/collapsible.css +81 -80
- package/src/collapsible/collapsible.tokens.json +1 -0
- package/src/color-picker/color-picker.css +106 -114
- package/src/column-manager/column-manager.css +111 -119
- package/src/combobox/combobox.css +206 -132
- package/src/combobox/combobox.tokens.json +4 -0
- package/src/command-palette/command-palette.css +155 -102
- package/src/command-palette/command-palette.tokens.json +2 -0
- package/src/container/container.css +27 -27
- package/src/context-menu/context-menu.css +9 -9
- package/src/currency-field/currency-field.css +119 -119
- package/src/currency-field/currency-field.tokens.json +1 -0
- package/src/dashboard-grid/dashboard-grid.css +204 -115
- package/src/data-grid/data-grid.css +598 -496
- package/src/data-grid/data-grid.tokens.json +5 -1
- package/src/data-list/data-list.css +82 -71
- package/src/data-list/data-list.tokens.json +2 -1
- package/src/date-field/date-field.css +62 -57
- package/src/date-field/date-field.tokens.json +1 -0
- package/src/date-picker/date-picker.css +117 -58
- package/src/date-picker/date-picker.tokens.json +5 -0
- package/src/date-range-picker/date-range-picker.css +157 -127
- package/src/date-range-picker/date-range-picker.tokens.json +4 -0
- package/src/datetime-field/datetime-field.css +90 -90
- package/src/datetime-field/datetime-field.tokens.json +1 -0
- package/src/datetime-picker/datetime-picker.css +123 -70
- package/src/datetime-picker/datetime-picker.tokens.json +4 -1
- package/src/datetime-range-picker/datetime-range-picker.css +191 -163
- package/src/datetime-range-picker/datetime-range-picker.tokens.json +4 -0
- package/src/description-list/description-list.css +105 -75
- package/src/description-list/description-list.tokens.json +1 -0
- package/src/detail-panel/detail-panel.css +86 -71
- package/src/detail-panel/detail-panel.tokens.json +2 -0
- package/src/dialog/dialog.css +435 -199
- package/src/dialog/dialog.tokens.json +9 -0
- package/src/divider/divider.css +20 -20
- package/src/drawer/drawer.css +598 -237
- package/src/drawer/drawer.tokens.json +14 -0
- package/src/entity-picker/entity-picker.css +326 -272
- package/src/entity-picker/entity-picker.tokens.json +4 -0
- package/src/event-calendar/event-calendar.css +357 -399
- package/src/field/field.css +106 -93
- package/src/field/field.tokens.json +2 -0
- package/src/field-group/field-group.css +43 -33
- package/src/field-group/field-group.tokens.json +3 -0
- package/src/filter-bar/filter-bar.css +200 -216
- package/src/form/form.css +100 -26
- package/src/form/form.tokens.json +6 -1
- package/src/fullscreen/fullscreen.css +26 -27
- package/src/grid/grid.css +29 -29
- package/src/highlight/highlight.css +11 -11
- package/src/hover-card/hover-card.css +9 -9
- package/src/icon/icon.css +67 -20
- package/src/icon/icon.tokens.json +1 -0
- package/src/image/image.css +42 -42
- package/src/import-export-center/import-export-center.css +147 -168
- package/src/import-export-center/import-export-center.tokens.json +1 -0
- package/src/inline/inline.css +28 -28
- package/src/inline-message/inline-message.css +162 -86
- package/src/inline-message/inline-message.tokens.json +4 -0
- package/src/kbd/kbd.css +62 -50
- package/src/kbd/kbd.tokens.json +3 -0
- package/src/link/link.css +54 -33
- package/src/link/link.tokens.json +4 -0
- package/src/list/list.css +23 -23
- package/src/list-item/list-item.css +89 -75
- package/src/list-item/list-item.tokens.json +7 -0
- package/src/listbox/listbox.css +71 -70
- package/src/listbox/listbox.tokens.json +0 -1
- package/src/loading-overlay/loading-overlay.css +86 -103
- package/src/markdown/markdown.css +20 -20
- package/src/media-viewer/media-viewer.css +790 -0
- package/src/media-viewer/media-viewer.tokens.json +53 -0
- package/src/menu/menu.css +166 -83
- package/src/menu/menu.tokens.json +3 -1
- package/src/menubar/menubar.css +16 -16
- package/src/message/message.css +1253 -1246
- package/src/message/message.tokens.json +5 -0
- package/src/message-scroller/message-scroller.css +323 -320
- package/src/multi-select/multi-select.css +233 -174
- package/src/multi-select/multi-select.tokens.json +3 -0
- package/src/navigation-menu/navigation-menu.css +170 -191
- package/src/navigation-menu/navigation-menu.tokens.json +1 -0
- package/src/notification-center/notification-center.css +155 -163
- package/src/notification-center/notification-center.tokens.json +4 -0
- package/src/number-field/number-field.css +93 -93
- package/src/number-field/number-field.tokens.json +1 -0
- package/src/otp-input/otp-input.css +74 -64
- package/src/otp-input/otp-input.tokens.json +1 -0
- package/src/page/page.css +41 -27
- package/src/page/page.tokens.json +1 -0
- package/src/page-header/page-header.css +342 -287
- package/src/page-header/page-header.tokens.json +6 -1
- package/src/pagination/pagination.css +75 -79
- package/src/popover/popover.css +85 -65
- package/src/popover/popover.tokens.json +2 -0
- package/src/progress-indicator/progress-indicator.css +192 -136
- package/src/progress-indicator/progress-indicator.tokens.json +1 -0
- package/src/prompt-composer/prompt-composer.css +260 -113
- package/src/prompt-composer/prompt-composer.tokens.json +15 -0
- package/src/prose/prose.css +77 -82
- package/src/radio-group/radio-group.css +107 -112
- package/src/rating/rating.css +146 -142
- package/src/rating/rating.tokens.json +1 -0
- package/src/result-state/result-state.css +95 -102
- package/src/result-state/result-state.tokens.json +1 -0
- package/src/runtime-properties.mjs +19 -6
- package/src/saved-views/saved-views.css +43 -49
- package/src/scroll-area/scroll-area.css +50 -37
- package/src/section/section.css +179 -44
- package/src/section/section.tokens.json +9 -3
- package/src/segmented-control/segmented-control.css +210 -133
- package/src/segmented-control/segmented-control.tokens.json +7 -11
- package/src/select/select.css +213 -149
- package/src/select/select.tokens.json +4 -0
- package/src/side-navigation/side-navigation.css +201 -198
- package/src/side-navigation/side-navigation.tokens.json +1 -0
- package/src/skeleton/skeleton.css +57 -58
- package/src/slider/slider.css +101 -103
- package/src/sparkline/sparkline.css +75 -53
- package/src/sparkline/sparkline.tokens.json +2 -0
- package/src/spinner/spinner.css +83 -180
- package/src/spinner/spinner.tokens.json +0 -1
- package/src/split-button/split-button.css +34 -35
- package/src/split-button/split-button.tokens.json +1 -0
- package/src/splitter/splitter.css +47 -48
- package/src/stack/stack.css +25 -25
- package/src/stat-card/stat-card.css +415 -245
- package/src/stat-card/stat-card.tokens.json +8 -0
- package/src/status-indicator/status-indicator.css +124 -100
- package/src/status-indicator/status-indicator.tokens.json +0 -3
- package/src/stepper/stepper.css +78 -82
- package/src/switch/switch.css +100 -106
- package/src/table/table.css +270 -198
- package/src/table/table.tokens.json +2 -0
- package/src/table-of-contents/table-of-contents.css +60 -59
- package/src/table-of-contents/table-of-contents.tokens.json +1 -0
- package/src/tabs/tabs.css +327 -294
- package/src/tabs/tabs.tokens.json +7 -1
- package/src/tag/tag.css +109 -88
- package/src/tag/tag.tokens.json +10 -0
- package/src/tags-input/tags-input.css +152 -87
- package/src/tags-input/tags-input.tokens.json +7 -1
- package/src/text-field/text-field.css +146 -148
- package/src/text-field/text-field.tokens.json +1 -0
- package/src/textarea/textarea.css +38 -33
- package/src/textarea/textarea.tokens.json +1 -0
- package/src/time-field/time-field.css +82 -77
- package/src/time-field/time-field.tokens.json +1 -0
- package/src/time-picker/time-picker.css +116 -64
- package/src/time-picker/time-picker.tokens.json +4 -1
- package/src/time-range-picker/time-range-picker.css +168 -140
- package/src/time-range-picker/time-range-picker.tokens.json +4 -0
- package/src/timeline/timeline.css +280 -292
- package/src/timeline/timeline.tokens.json +5 -0
- package/src/toast/toast.css +139 -122
- package/src/toast/toast.tokens.json +7 -0
- package/src/toggle/toggle.css +34 -38
- package/src/toggle-group/toggle-group.css +73 -77
- package/src/toolbar/toolbar.css +33 -38
- package/src/tooltip/tooltip.css +65 -39
- package/src/tooltip/tooltip.tokens.json +1 -0
- package/src/top-navigation/top-navigation.css +252 -268
- package/src/tour/tour.css +68 -74
- package/src/tour/tour.tokens.json +1 -0
- package/src/transfer/transfer.css +164 -168
- package/src/tree/tree.css +113 -121
- package/src/typography/typography.css +42 -38
- package/src/typography/typography.tokens.json +1 -0
- package/src/upload/upload.css +256 -257
- package/src/visually-hidden/visually-hidden.css +1 -1
- package/src/wizard/wizard.css +187 -199
package/src/tooltip/tooltip.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* answered in logical properties without mirroring in the wrong direction.
|
|
33
33
|
* Symmetric padding answers every side at once.
|
|
34
34
|
*/
|
|
35
|
-
[data-ui
|
|
35
|
+
[data-ui-tooltip] {
|
|
36
36
|
/**
|
|
37
37
|
* The distance between the trigger and the painted surface, and the band
|
|
38
38
|
* the arrow stands in. A consumer who raises `sideOffset` past it leaves
|
|
@@ -124,7 +124,6 @@
|
|
|
124
124
|
*/
|
|
125
125
|
pointer-events: none;
|
|
126
126
|
|
|
127
|
-
opacity: 0;
|
|
128
127
|
/**
|
|
129
128
|
* R7: the layer arrives along the axis it opens on — from one space step
|
|
130
129
|
* above its place when it opens downward, from one step below when it
|
|
@@ -134,17 +133,15 @@
|
|
|
134
133
|
*/
|
|
135
134
|
--_enter-distance: var(--slotted-space-2, 0.25rem);
|
|
136
135
|
translate: 0 calc(-1 * var(--_enter-distance));
|
|
137
|
-
transition:
|
|
138
|
-
opacity var(--slotted-duration-short) var(--slotted-easing-exit),
|
|
139
|
-
translate var(--slotted-duration-short) var(--slotted-easing-exit);
|
|
136
|
+
transition: translate var(--slotted-duration-short) var(--slotted-easing-exit);
|
|
140
137
|
}
|
|
141
138
|
|
|
142
|
-
[data-ui
|
|
139
|
+
[data-ui-tooltip][data-side='top'] {
|
|
143
140
|
translate: 0 var(--_enter-distance);
|
|
144
141
|
}
|
|
145
142
|
|
|
146
143
|
/* A lateral side has no block direction to arrive from, so it only fades. */
|
|
147
|
-
[data-ui
|
|
144
|
+
[data-ui-tooltip]:is([data-side='left'], [data-side='right']) {
|
|
148
145
|
translate: 0 0;
|
|
149
146
|
}
|
|
150
147
|
|
|
@@ -162,8 +159,7 @@
|
|
|
162
159
|
* A keyframe states where it starts. The exit stays a transition: it
|
|
163
160
|
* leaves from wherever the layer is, on the closed rule's durations.
|
|
164
161
|
*/
|
|
165
|
-
[data-ui
|
|
166
|
-
opacity: 1;
|
|
162
|
+
[data-ui-tooltip][data-open] {
|
|
167
163
|
translate: 0 0;
|
|
168
164
|
transition: none;
|
|
169
165
|
}
|
|
@@ -173,28 +169,22 @@
|
|
|
173
169
|
* with the side, and a layer written open in static markup — the harness,
|
|
174
170
|
* a docs snippet — is simply there, and is photographed where it stands.
|
|
175
171
|
*/
|
|
176
|
-
[data-ui
|
|
172
|
+
[data-ui-tooltip][data-open][data-positioned] {
|
|
177
173
|
animation: slotted-tooltip-enter-down var(--slotted-duration-medium) var(--slotted-easing-enter);
|
|
178
174
|
}
|
|
179
175
|
|
|
180
|
-
[data-ui
|
|
176
|
+
[data-ui-tooltip][data-open][data-positioned][data-side='top'] {
|
|
181
177
|
animation-name: slotted-tooltip-enter-up;
|
|
182
178
|
}
|
|
183
179
|
|
|
184
|
-
[data-ui='tooltip'][data-open][data-positioned]:is([data-side='left'], [data-side='right']) {
|
|
185
|
-
animation-name: slotted-tooltip-fade;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
180
|
@keyframes slotted-tooltip-enter-down {
|
|
189
181
|
from {
|
|
190
|
-
opacity: 0;
|
|
191
182
|
translate: 0 calc(-1 * var(--_enter-distance));
|
|
192
183
|
}
|
|
193
184
|
}
|
|
194
185
|
|
|
195
186
|
@keyframes slotted-tooltip-enter-up {
|
|
196
187
|
from {
|
|
197
|
-
opacity: 0;
|
|
198
188
|
translate: 0 var(--_enter-distance);
|
|
199
189
|
}
|
|
200
190
|
}
|
|
@@ -205,25 +195,51 @@
|
|
|
205
195
|
}
|
|
206
196
|
}
|
|
207
197
|
|
|
198
|
+
/**
|
|
199
|
+
* The fade belongs to the part that paints the surface, and the layer only
|
|
200
|
+
* moves. In Chromium an ancestor with `opacity` below one is the Backdrop Root
|
|
201
|
+
* of what it holds, so a `backdrop-filter` on the content blurs nothing until
|
|
202
|
+
* the layer is opaque and then appears at once. The content's own opacity
|
|
203
|
+
* leaves its own filter drawn on every frame of the motion. The arrow is
|
|
204
|
+
* the other part that paints, and it fades on the same rules, so the two
|
|
205
|
+
* read as one surface.
|
|
206
|
+
*/
|
|
207
|
+
[data-ui-tooltip] > [data-part-content],
|
|
208
|
+
[data-ui-tooltip] > [data-part-arrow] {
|
|
209
|
+
opacity: 0;
|
|
210
|
+
transition: opacity var(--slotted-duration-short) var(--slotted-easing-exit);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
[data-ui-tooltip][data-open] > [data-part-content],
|
|
214
|
+
[data-ui-tooltip][data-open] > [data-part-arrow] {
|
|
215
|
+
opacity: 1;
|
|
216
|
+
transition: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[data-ui-tooltip][data-open][data-positioned] > [data-part-content],
|
|
220
|
+
[data-ui-tooltip][data-open][data-positioned] > [data-part-arrow] {
|
|
221
|
+
animation: slotted-tooltip-fade var(--slotted-duration-medium) var(--slotted-easing-enter);
|
|
222
|
+
}
|
|
223
|
+
|
|
208
224
|
/* Stillness keeps the fade and drops the movement (R7). */
|
|
209
225
|
@media (prefers-reduced-motion: reduce) {
|
|
210
|
-
[data-ui
|
|
211
|
-
[data-ui
|
|
212
|
-
[data-ui
|
|
213
|
-
[data-ui
|
|
226
|
+
[data-ui-tooltip],
|
|
227
|
+
[data-ui-tooltip][data-side='top'],
|
|
228
|
+
[data-ui-tooltip][data-side='left'],
|
|
229
|
+
[data-ui-tooltip][data-side='right'] {
|
|
214
230
|
translate: 0 0;
|
|
215
|
-
transition:
|
|
231
|
+
transition: translate var(--slotted-duration-short) var(--slotted-easing-exit);
|
|
216
232
|
}
|
|
217
233
|
|
|
218
|
-
[data-ui
|
|
219
|
-
[data-ui
|
|
220
|
-
[data-ui
|
|
221
|
-
[data-ui
|
|
222
|
-
animation-name:
|
|
234
|
+
[data-ui-tooltip][data-open][data-positioned],
|
|
235
|
+
[data-ui-tooltip][data-open][data-positioned][data-side='top'],
|
|
236
|
+
[data-ui-tooltip][data-open][data-positioned][data-side='left'],
|
|
237
|
+
[data-ui-tooltip][data-open][data-positioned][data-side='right'] {
|
|
238
|
+
animation-name: none;
|
|
223
239
|
}
|
|
224
240
|
}
|
|
225
241
|
|
|
226
|
-
[data-ui
|
|
242
|
+
[data-ui-tooltip][data-open][data-hoverable] {
|
|
227
243
|
pointer-events: auto;
|
|
228
244
|
}
|
|
229
245
|
|
|
@@ -232,11 +248,11 @@
|
|
|
232
248
|
* `hideWhenDetached`: the layer comes back when the anchor does, and nothing
|
|
233
249
|
* has moved the consumer's own `open` because a rectangle changed size.
|
|
234
250
|
*/
|
|
235
|
-
[data-ui
|
|
251
|
+
[data-ui-tooltip][data-detached] {
|
|
236
252
|
visibility: hidden;
|
|
237
253
|
}
|
|
238
254
|
|
|
239
|
-
[data-ui
|
|
255
|
+
[data-ui-tooltip][data-size='sm'] {
|
|
240
256
|
--_padding-inline: var(--slotted-control-padding-inline-sm, 0.625rem);
|
|
241
257
|
--_padding-block: var(--slotted-control-gap-sm, 0.375rem);
|
|
242
258
|
--_font-size: var(--slotted-control-font-size-sm, 0.75rem);
|
|
@@ -248,14 +264,14 @@
|
|
|
248
264
|
* want to read as a small panel rather than as a label. It takes the raised
|
|
249
265
|
* surface and the edge that surface needs to separate from the page.
|
|
250
266
|
*/
|
|
251
|
-
[data-ui
|
|
267
|
+
[data-ui-tooltip][data-variant='surface'] {
|
|
252
268
|
--_surface: var(--slotted-tooltip-surface-raised, var(--slotted-surface-raised, #ffffff));
|
|
253
269
|
--_text: var(--slotted-tooltip-text-raised, var(--slotted-text, #0f172a));
|
|
254
270
|
--_border-color: var(--slotted-tooltip-border-color, var(--slotted-border-subtle, #e2e8f0));
|
|
255
271
|
--_border-width: var(--slotted-border-width-thin, 1px);
|
|
256
272
|
}
|
|
257
273
|
|
|
258
|
-
[data-ui
|
|
274
|
+
[data-ui-tooltip] > [data-part-content] {
|
|
259
275
|
box-sizing: border-box;
|
|
260
276
|
display: block;
|
|
261
277
|
max-inline-size: 100%;
|
|
@@ -291,6 +307,16 @@
|
|
|
291
307
|
*/
|
|
292
308
|
overflow-wrap: anywhere;
|
|
293
309
|
unicode-bidi: plaintext;
|
|
310
|
+
/* A theme that paints this surface as a translucent material blurs what moves behind it. */
|
|
311
|
+
-webkit-backdrop-filter: var(--slotted-tooltip-backdrop-filter, none);
|
|
312
|
+
backdrop-filter: var(--slotted-tooltip-backdrop-filter, none);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
|
|
316
|
+
[data-ui-tooltip] > [data-part-content] {
|
|
317
|
+
-webkit-backdrop-filter: none;
|
|
318
|
+
backdrop-filter: none;
|
|
319
|
+
}
|
|
294
320
|
}
|
|
295
321
|
|
|
296
322
|
/**
|
|
@@ -304,11 +330,11 @@
|
|
|
304
330
|
* the reader's writing direction. Mirroring either would move an already
|
|
305
331
|
* correct arrow to the wrong edge in a right-to-left document, so
|
|
306
332
|
* `packages/styles/src/logical.test.mjs` exempts exactly the rules that
|
|
307
|
-
* select `[data-part
|
|
333
|
+
* select `[data-part-arrow]`, and nothing else.
|
|
308
334
|
*
|
|
309
335
|
* ── Why it is painted over the surface and not behind it ─────────────
|
|
310
336
|
*
|
|
311
|
-
* The square is rotated about its own
|
|
337
|
+
* The square is rotated about its own center, and the center sits on the
|
|
312
338
|
* content's edge. Painted behind, its inner half disappears and the content's
|
|
313
339
|
* own border still runs straight across the base — a bordered tooltip then
|
|
314
340
|
* reads as a box with a separate triangle hanging off it, which is what the
|
|
@@ -320,7 +346,7 @@
|
|
|
320
346
|
* `arrowPadding` keeps it clear of the corners, where the content's radius
|
|
321
347
|
* would leave the base uncovered.
|
|
322
348
|
*/
|
|
323
|
-
[data-ui
|
|
349
|
+
[data-ui-tooltip] > [data-part-arrow] {
|
|
324
350
|
position: absolute;
|
|
325
351
|
z-index: 1;
|
|
326
352
|
inline-size: var(--_arrow-size);
|
|
@@ -330,7 +356,7 @@
|
|
|
330
356
|
border: 0 solid var(--_border-color);
|
|
331
357
|
}
|
|
332
358
|
|
|
333
|
-
[data-ui
|
|
359
|
+
[data-ui-tooltip][data-side='top'] > [data-part-arrow] {
|
|
334
360
|
left: var(--slotted-positioner-arrow-x, 0);
|
|
335
361
|
top: auto;
|
|
336
362
|
bottom: calc(var(--_gap) - var(--_arrow-size) / 2);
|
|
@@ -339,7 +365,7 @@
|
|
|
339
365
|
border-bottom-right-radius: var(--_arrow-tip-radius);
|
|
340
366
|
}
|
|
341
367
|
|
|
342
|
-
[data-ui
|
|
368
|
+
[data-ui-tooltip][data-side='bottom'] > [data-part-arrow] {
|
|
343
369
|
left: var(--slotted-positioner-arrow-x, 0);
|
|
344
370
|
top: calc(var(--_gap) - var(--_arrow-size) / 2);
|
|
345
371
|
bottom: auto;
|
|
@@ -348,7 +374,7 @@
|
|
|
348
374
|
border-top-left-radius: var(--_arrow-tip-radius);
|
|
349
375
|
}
|
|
350
376
|
|
|
351
|
-
[data-ui
|
|
377
|
+
[data-ui-tooltip][data-side='left'] > [data-part-arrow] {
|
|
352
378
|
top: var(--slotted-positioner-arrow-y, 0);
|
|
353
379
|
left: auto;
|
|
354
380
|
right: calc(var(--_gap) - var(--_arrow-size) / 2);
|
|
@@ -357,7 +383,7 @@
|
|
|
357
383
|
border-top-right-radius: var(--_arrow-tip-radius);
|
|
358
384
|
}
|
|
359
385
|
|
|
360
|
-
[data-ui
|
|
386
|
+
[data-ui-tooltip][data-side='right'] > [data-part-arrow] {
|
|
361
387
|
top: var(--slotted-positioner-arrow-y, 0);
|
|
362
388
|
left: calc(var(--_gap) - var(--_arrow-size) / 2);
|
|
363
389
|
right: auto;
|