@slotted/styles 0.1.0-beta.4 → 0.1.0-beta.40
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 +21 -1
- package/src/accordion/accordion.css +31 -13
- package/src/accordion/accordion.tokens.json +2 -0
- 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 +472 -342
- package/src/app-shell/app-shell.tokens.json +6 -3
- package/src/aspect-ratio/aspect-ratio.css +24 -23
- package/src/attachment/attachment.css +118 -114
- package/src/avatar/avatar.css +97 -67
- package/src/avatar/avatar.tokens.json +8 -0
- package/src/avatar-group/avatar-group.css +22 -23
- package/src/badge/badge.css +58 -47
- package/src/badge/badge.tokens.json +6 -0
- package/src/breadcrumb/breadcrumb.css +52 -52
- package/src/button/button.css +408 -93
- package/src/button/button.tokens.json +13 -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 +594 -267
- package/src/calendar/calendar.tokens.json +35 -3
- package/src/card/card.css +133 -70
- package/src/card/card.tokens.json +1 -0
- package/src/carousel/carousel.css +158 -169
- package/src/cascader/cascader.css +174 -159
- package/src/cascader/cascader.tokens.json +2 -0
- package/src/chart/chart.css +300 -271
- package/src/chart/chart.tokens.json +5 -0
- package/src/checkbox/checkbox.css +190 -148
- package/src/checkbox/checkbox.tokens.json +4 -0
- package/src/checkbox-group/checkbox-group.css +7 -7
- package/src/clock/clock.css +246 -0
- package/src/clock/clock.tokens.json +44 -0
- package/src/code-block/code-block.css +85 -89
- package/src/collapsible/collapsible.css +273 -85
- package/src/collapsible/collapsible.tokens.json +6 -0
- package/src/color-picker/color-picker.css +106 -114
- package/src/column-manager/column-manager.css +111 -119
- package/src/combobox/combobox.css +219 -132
- package/src/combobox/combobox.tokens.json +4 -0
- package/src/command-palette/command-palette.css +214 -102
- package/src/command-palette/command-palette.tokens.json +4 -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 +231 -115
- package/src/dashboard-grid/dashboard-grid.tokens.json +3 -1
- package/src/data-grid/data-grid.css +637 -496
- package/src/data-grid/data-grid.tokens.json +5 -1
- package/src/data-list/data-list.css +93 -76
- 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 +31 -269
- package/src/date-picker/date-picker.tokens.json +1 -21
- package/src/date-range-picker/date-range-picker.css +72 -528
- package/src/date-range-picker/date-range-picker.tokens.json +1 -37
- 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 +49 -711
- package/src/datetime-picker/datetime-picker.tokens.json +1 -50
- package/src/datetime-range-picker/datetime-range-picker.css +60 -985
- package/src/datetime-range-picker/datetime-range-picker.tokens.json +1 -67
- package/src/description-list/description-list.css +120 -76
- 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 +462 -199
- package/src/dialog/dialog.tokens.json +10 -0
- package/src/divider/divider.css +20 -20
- package/src/drawer/drawer.css +736 -237
- package/src/drawer/drawer.tokens.json +15 -0
- package/src/entity-picker/entity-picker.css +402 -272
- package/src/entity-picker/entity-picker.tokens.json +6 -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 +58 -38
- package/src/field-group/field-group.tokens.json +3 -0
- package/src/filter-bar/filter-bar.css +224 -216
- package/src/floating-panel/floating-panel.css +147 -0
- package/src/floating-panel/floating-panel.tokens.json +32 -0
- package/src/form/form.css +103 -26
- package/src/form/form.tokens.json +6 -1
- package/src/fullscreen/fullscreen.css +26 -27
- package/src/grid/grid.css +32 -31
- 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 +29 -29
- package/src/inline-message/inline-message.css +162 -86
- package/src/inline-message/inline-message.tokens.json +5 -0
- package/src/kbd/kbd.css +63 -51
- package/src/kbd/kbd.tokens.json +4 -0
- package/src/link/link.css +54 -33
- package/src/link/link.tokens.json +4 -0
- package/src/list/list.css +55 -24
- package/src/list/list.tokens.json +2 -0
- package/src/list-item/list-item.css +195 -80
- package/src/list-item/list-item.tokens.json +10 -0
- package/src/listbox/listbox.css +121 -72
- package/src/listbox/listbox.tokens.json +6 -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 +1296 -1243
- package/src/message/message.tokens.json +14 -0
- package/src/message-scroller/message-scroller.css +323 -320
- package/src/meter/meter.css +136 -0
- package/src/meter/meter.tokens.json +23 -0
- package/src/multi-select/multi-select.css +246 -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 +109 -31
- package/src/page/page.tokens.json +8 -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/picker-panel/picker-panel.css +1074 -0
- package/src/picker-panel/picker-panel.tokens.json +77 -0
- package/src/popover/popover.css +85 -65
- package/src/popover/popover.tokens.json +2 -0
- package/src/progress-indicator/progress-indicator.css +194 -137
- package/src/progress-indicator/progress-indicator.tokens.json +1 -0
- package/src/prompt-composer/prompt-composer.css +274 -116
- 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 +147 -143
- package/src/rating/rating.tokens.json +2 -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 +44 -6
- package/src/saved-views/saved-views.css +43 -49
- package/src/scroll-area/scroll-area.css +50 -37
- package/src/section/section.css +311 -46
- package/src/section/section.tokens.json +13 -1
- package/src/segmented-control/segmented-control.css +221 -133
- package/src/segmented-control/segmented-control.tokens.json +7 -11
- package/src/select/select.css +226 -149
- package/src/select/select.tokens.json +4 -0
- package/src/side-navigation/side-navigation.css +204 -201
- package/src/side-navigation/side-navigation.tokens.json +2 -0
- package/src/skeleton/skeleton.css +76 -58
- package/src/slider/slider.css +108 -104
- package/src/slider/slider.tokens.json +1 -0
- 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 +26 -26
- package/src/stat-card/stat-card.css +420 -245
- package/src/stat-card/stat-card.tokens.json +8 -0
- package/src/status-indicator/status-indicator.css +126 -101
- package/src/status-indicator/status-indicator.tokens.json +0 -3
- package/src/stepper/stepper.css +78 -82
- package/src/switch/switch.css +143 -125
- package/src/switch/switch.tokens.json +4 -0
- package/src/table/table.css +653 -222
- package/src/table/table.tokens.json +10 -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 +113 -89
- package/src/tag/tag.tokens.json +11 -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 +30 -519
- package/src/time-picker/time-picker.tokens.json +1 -38
- package/src/time-range-picker/time-range-picker.css +53 -895
- package/src/time-range-picker/time-range-picker.tokens.json +1 -66
- 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 +49 -40
- package/src/toolbar/toolbar.tokens.json +2 -1
- package/src/tooltip/tooltip.css +95 -39
- package/src/tooltip/tooltip.tokens.json +1 -0
- package/src/top-navigation/top-navigation.css +253 -269
- package/src/top-navigation/top-navigation.tokens.json +1 -0
- 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 +118 -122
- package/src/typography/typography.css +67 -38
- package/src/typography/typography.tokens.json +2 -0
- package/src/upload/upload.css +256 -257
- package/src/visually-hidden/visually-hidden.css +1 -1
- package/src/wizard/wizard.css +187 -199
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
@layer slotted.components {
|
|
2
|
+
/**
|
|
3
|
+
* A tool that floats over the page and holds nobody: no scrim, no focus
|
|
4
|
+
* trap, no inert page. It opens in a corner (`data-corner`), and once it has
|
|
5
|
+
* a place it stands there (`--_x`, `--_y`, the top-left corner in viewport
|
|
6
|
+
* pixels, written by the binding); the translation is clamped by the viewport
|
|
7
|
+
* and its own size, so the whole panel stays in view while it moves, when the
|
|
8
|
+
* window shrinks and when a stored place lies outside it, with no script on
|
|
9
|
+
* resize.
|
|
10
|
+
*
|
|
11
|
+
* [data-ui-floating-panel] ▸ handle ▸ grip · title · close
|
|
12
|
+
* ▸ body
|
|
13
|
+
*/
|
|
14
|
+
[data-ui-floating-panel][data-part-root] {
|
|
15
|
+
--_inset: var(--slotted-floating-panel-inset, var(--slotted-space-6, 16px));
|
|
16
|
+
background-color: var(--slotted-floating-panel-surface, var(--slotted-surface-raised, Canvas));
|
|
17
|
+
border: var(--slotted-border-width-thin, 1px) solid
|
|
18
|
+
var(--slotted-floating-panel-border-color, var(--slotted-border-strong, CanvasText));
|
|
19
|
+
border-radius: var(--slotted-floating-panel-radius, var(--slotted-radius-lg, 8px));
|
|
20
|
+
box-shadow: var(--slotted-floating-panel-shadow, var(--slotted-shadow-lg, none));
|
|
21
|
+
-webkit-backdrop-filter: var(--slotted-floating-panel-backdrop-filter, none);
|
|
22
|
+
backdrop-filter: var(--slotted-floating-panel-backdrop-filter, none);
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
color: var(--slotted-text, CanvasText);
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
font-family: var(--slotted-font-family-sans, system-ui, sans-serif);
|
|
28
|
+
font-size: var(--slotted-font-size-sm, 0.8125rem);
|
|
29
|
+
/* The place is physical (a pointer's coordinates), so the panel stands
|
|
30
|
+
at the viewport's left edge in either direction before it moves. */
|
|
31
|
+
inset-block-start: 0;
|
|
32
|
+
inset-inline-start: 0;
|
|
33
|
+
/* One limit in a corner and at a place: a move never resizes the panel. */
|
|
34
|
+
max-block-size: calc(100dvh - 2 * var(--_inset));
|
|
35
|
+
max-inline-size: calc(100vw - 2 * var(--_inset));
|
|
36
|
+
position: fixed;
|
|
37
|
+
translate: clamp(0px, var(--_x, 0px), calc(100vw - 100%))
|
|
38
|
+
clamp(0px, var(--_y, 0px), calc(100dvh - 100%));
|
|
39
|
+
/* Over the page and its popovers' layer, under a toast. */
|
|
40
|
+
z-index: var(--slotted-z-index-popover, 1000);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-ui-floating-panel][data-part-root]:dir(rtl) {
|
|
44
|
+
inset-inline-end: 0;
|
|
45
|
+
inset-inline-start: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-ui-floating-panel][data-part-root][data-corner] {
|
|
49
|
+
inset: auto;
|
|
50
|
+
translate: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-ui-floating-panel][data-part-root][data-corner^='top'] {
|
|
54
|
+
inset-block-start: var(--_inset);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-ui-floating-panel][data-part-root][data-corner^='bottom'] {
|
|
58
|
+
inset-block-end: var(--_inset);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[data-ui-floating-panel][data-part-root][data-corner$='start'] {
|
|
62
|
+
inset-inline-start: var(--_inset);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[data-ui-floating-panel][data-part-root][data-corner$='end'] {
|
|
66
|
+
inset-inline-end: var(--_inset);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[data-ui-floating-panel] > [data-part-handle] {
|
|
70
|
+
align-items: center;
|
|
71
|
+
border-block-end: var(--slotted-border-width-thin, 1px) solid
|
|
72
|
+
var(--slotted-floating-panel-rule-color, var(--slotted-border-subtle, ButtonBorder));
|
|
73
|
+
cursor: grab;
|
|
74
|
+
display: flex;
|
|
75
|
+
gap: var(--slotted-space-3, 0.375rem);
|
|
76
|
+
padding-block: var(--slotted-space-2, 0.25rem);
|
|
77
|
+
padding-inline: var(--slotted-space-3, 0.375rem);
|
|
78
|
+
/* A press on the handle is a drag, never a scroll of the page. */
|
|
79
|
+
touch-action: none;
|
|
80
|
+
user-select: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-ui-floating-panel][data-dragging] > [data-part-handle] {
|
|
84
|
+
cursor: grabbing;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[data-ui-floating-panel] > [data-part-handle] > [data-part-title] {
|
|
88
|
+
flex: 1 1 auto;
|
|
89
|
+
font-family: var(
|
|
90
|
+
--slotted-font-family-heading,
|
|
91
|
+
var(--slotted-font-family-sans, system-ui, sans-serif)
|
|
92
|
+
);
|
|
93
|
+
font-size: inherit;
|
|
94
|
+
font-weight: var(--slotted-font-weight-semibold, 600);
|
|
95
|
+
margin: 0;
|
|
96
|
+
min-inline-size: 0;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
text-overflow: ellipsis;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[data-ui-floating-panel] > [data-part-handle] > :is([data-part-grip], [data-part-close]) {
|
|
103
|
+
align-items: center;
|
|
104
|
+
appearance: none;
|
|
105
|
+
background-color: transparent;
|
|
106
|
+
block-size: var(--slotted-control-inner-size-md, 24px);
|
|
107
|
+
border: 0;
|
|
108
|
+
border-radius: var(--slotted-radius-sm, 4px);
|
|
109
|
+
color: var(--slotted-text-muted, GrayText);
|
|
110
|
+
cursor: inherit;
|
|
111
|
+
display: inline-flex;
|
|
112
|
+
flex: none;
|
|
113
|
+
inline-size: var(--slotted-control-inner-size-md, 24px);
|
|
114
|
+
justify-content: center;
|
|
115
|
+
padding: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
[data-ui-floating-panel] > [data-part-handle] > [data-part-close] {
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-ui-floating-panel]
|
|
123
|
+
> [data-part-handle]
|
|
124
|
+
> :is([data-part-grip], [data-part-close]):hover:not(:disabled) {
|
|
125
|
+
background-color: var(--slotted-tone-secondary-subtle-hover);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[data-ui-floating-panel]
|
|
129
|
+
> [data-part-handle]
|
|
130
|
+
> :is([data-part-grip], [data-part-close]):focus-visible {
|
|
131
|
+
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
132
|
+
outline-offset: var(--slotted-focus-ring-offset, 2px);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[data-ui-floating-panel] > [data-part-body] {
|
|
136
|
+
min-block-size: 0;
|
|
137
|
+
overflow: auto;
|
|
138
|
+
padding: var(--slotted-space-5, 0.75rem);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
|
|
142
|
+
[data-ui-floating-panel][data-part-root] {
|
|
143
|
+
-webkit-backdrop-filter: none;
|
|
144
|
+
backdrop-filter: none;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[
|
|
2
|
+
"--slotted-border-strong",
|
|
3
|
+
"--slotted-border-subtle",
|
|
4
|
+
"--slotted-border-width-thin",
|
|
5
|
+
"--slotted-control-inner-size-md",
|
|
6
|
+
"--slotted-floating-panel-backdrop-filter",
|
|
7
|
+
"--slotted-floating-panel-border-color",
|
|
8
|
+
"--slotted-floating-panel-inset",
|
|
9
|
+
"--slotted-floating-panel-radius",
|
|
10
|
+
"--slotted-floating-panel-rule-color",
|
|
11
|
+
"--slotted-floating-panel-shadow",
|
|
12
|
+
"--slotted-floating-panel-surface",
|
|
13
|
+
"--slotted-focus-ring-color",
|
|
14
|
+
"--slotted-focus-ring-offset",
|
|
15
|
+
"--slotted-focus-ring-width",
|
|
16
|
+
"--slotted-font-family-heading",
|
|
17
|
+
"--slotted-font-family-sans",
|
|
18
|
+
"--slotted-font-size-sm",
|
|
19
|
+
"--slotted-font-weight-semibold",
|
|
20
|
+
"--slotted-radius-lg",
|
|
21
|
+
"--slotted-radius-sm",
|
|
22
|
+
"--slotted-shadow-lg",
|
|
23
|
+
"--slotted-space-2",
|
|
24
|
+
"--slotted-space-3",
|
|
25
|
+
"--slotted-space-5",
|
|
26
|
+
"--slotted-space-6",
|
|
27
|
+
"--slotted-surface-raised",
|
|
28
|
+
"--slotted-text",
|
|
29
|
+
"--slotted-text-muted",
|
|
30
|
+
"--slotted-tone-secondary-subtle-hover",
|
|
31
|
+
"--slotted-z-index-popover"
|
|
32
|
+
]
|
package/src/form/form.css
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* Both stand anywhere inside the form, and so do other families' parts of
|
|
15
15
|
* the same names — a `table`'s summary row, a `section`'s actions. The two
|
|
16
16
|
* carry the family's identifier, and every rule names them by it: a rule
|
|
17
|
-
* that reached `[data-part
|
|
17
|
+
* that reached `[data-part-summary]` as any descendant painted a table's
|
|
18
18
|
* totals as an error panel.
|
|
19
19
|
*/
|
|
20
|
-
[data-ui
|
|
20
|
+
[data-ui-form][data-part-root] {
|
|
21
21
|
--_font-size: var(--slotted-control-font-size-md, 13px);
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
* with `aria-busy`, because the pointer is where a reader who just pressed
|
|
49
49
|
* the button already is.
|
|
50
50
|
*/
|
|
51
|
-
[data-ui
|
|
51
|
+
[data-ui-form][data-part-root][data-loading] {
|
|
52
52
|
cursor: progress;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* they read it. The tone tokens are the theme's, so the panel answers the
|
|
64
64
|
* scheme switch instead of being a red box that turns black.
|
|
65
65
|
*/
|
|
66
|
-
[data-ui
|
|
66
|
+
[data-ui-form][data-part-summary] {
|
|
67
67
|
background-color: var(--slotted-form-summary-background, var(--slotted-tone-danger-surface));
|
|
68
68
|
border: var(--slotted-control-border-width, 1px) solid
|
|
69
69
|
var(--slotted-form-summary-border-color, var(--slotted-tone-danger-border));
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
* announced, and the ring is the family's own: a `tabindex="-1"` target that
|
|
89
89
|
* showed nothing on focus would move a reader somewhere they cannot see.
|
|
90
90
|
*/
|
|
91
|
-
[data-ui
|
|
91
|
+
[data-ui-form][data-part-summary]:focus-visible {
|
|
92
92
|
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
93
93
|
outline-offset: var(--slotted-focus-ring-offset, 2px);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
[data-ui
|
|
96
|
+
[data-ui-form][data-part-summary] > [data-part-summary-title] {
|
|
97
97
|
font-family: var(
|
|
98
98
|
--slotted-font-family-heading,
|
|
99
99
|
var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif)
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
margin: 0;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
[data-ui
|
|
107
|
+
[data-ui-form][data-part-summary] > [data-part-summary-list] {
|
|
108
108
|
display: flex;
|
|
109
109
|
flex-direction: column;
|
|
110
110
|
gap: var(--slotted-space-2, 0.25rem);
|
|
@@ -130,31 +130,108 @@
|
|
|
130
130
|
padding-inline-start: 0;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
[data-ui
|
|
134
|
-
> [data-part='summary-list']
|
|
135
|
-
> li
|
|
136
|
-
> [data-part='summary-item'] {
|
|
133
|
+
[data-ui-form][data-part-summary] > [data-part-summary-list] > li > [data-part-summary-item] {
|
|
137
134
|
color: inherit;
|
|
138
135
|
text-decoration-line: underline;
|
|
139
136
|
text-underline-offset: var(--slotted-space-1, 0.125rem);
|
|
140
137
|
}
|
|
141
138
|
|
|
142
|
-
[data-ui
|
|
143
|
-
> [data-part
|
|
139
|
+
[data-ui-form][data-part-summary]
|
|
140
|
+
> [data-part-summary-list]
|
|
144
141
|
> li
|
|
145
|
-
> [data-part
|
|
142
|
+
> [data-part-summary-item]:hover:not(:disabled) {
|
|
146
143
|
text-decoration-thickness: var(--slotted-border-width-thick, 2px);
|
|
147
144
|
}
|
|
148
145
|
|
|
149
|
-
[data-ui
|
|
150
|
-
> [data-part
|
|
146
|
+
[data-ui-form][data-part-summary]
|
|
147
|
+
> [data-part-summary-list]
|
|
151
148
|
> li
|
|
152
|
-
> [data-part
|
|
149
|
+
> [data-part-summary-item]:focus-visible {
|
|
153
150
|
border-radius: var(--slotted-radius-xs, 2px);
|
|
154
151
|
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
155
152
|
outline-offset: var(--slotted-focus-ring-offset, 2px);
|
|
156
153
|
}
|
|
157
154
|
|
|
155
|
+
/**
|
|
156
|
+
* Two children written one after the other directly inside the form stand
|
|
157
|
+
* apart by a step of the space scale: two fields, a row of fields the page
|
|
158
|
+
* draws itself, a message or a paragraph between them. The root is a block
|
|
159
|
+
* and drew no distance at all, so a form written from the minimal example
|
|
160
|
+
* rendered its fields touching. The aside and the summary keep their own
|
|
161
|
+
* margins, the action row keeps its own step, and a hidden input draws
|
|
162
|
+
* nothing, so it neither takes the gap nor gives it away.
|
|
163
|
+
* shortcut: a hidden input between two children drops the gap between them.
|
|
164
|
+
*/
|
|
165
|
+
[data-ui-form][data-part-root]
|
|
166
|
+
> :where(:not([data-ui-form]:is([data-part-aside], [data-part-summary]), [type='hidden']))
|
|
167
|
+
+ :where(
|
|
168
|
+
:not(
|
|
169
|
+
[data-ui-form]:is([data-part-aside], [data-part-summary], [data-part-actions]),
|
|
170
|
+
[type='hidden']
|
|
171
|
+
)
|
|
172
|
+
) {
|
|
173
|
+
margin-block-start: var(--slotted-form-field-gap, var(--slotted-space-6, 1rem));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Two sections stand apart by a step larger than the one between two fields
|
|
178
|
+
* of a section: at the same 1rem, a form split into topics showed none.
|
|
179
|
+
*/
|
|
180
|
+
[data-ui-form][data-part-root] > [data-ui-field-group] + [data-ui-field-group] {
|
|
181
|
+
margin-block-start: var(--slotted-form-section-gap, var(--slotted-space-9, 2rem));
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* One column at a bounded measure: a field, a row of fields, a message and
|
|
186
|
+
* the summary and the actions end where the fields end. The aside stands
|
|
187
|
+
* outside the column.
|
|
188
|
+
*/
|
|
189
|
+
[data-ui-form][data-part-root] > :not([data-ui-form][data-part-aside]) {
|
|
190
|
+
max-inline-size: var(--slotted-form-measure, 40rem);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* ── The aside ────────────────────────────────────────────────────────
|
|
194
|
+
*
|
|
195
|
+
* A form that holds one is a grid of one column at the measure. The aside's
|
|
196
|
+
* track is implicit: it exists only once the aside is placed in it, which
|
|
197
|
+
* happens from the form's own breakpoint, because the root cannot change its
|
|
198
|
+
* template under a query on itself. Below it the aside follows in source
|
|
199
|
+
* order, after the last field when it is written there.
|
|
200
|
+
*/
|
|
201
|
+
[data-ui-form][data-part-root]:has(> [data-ui-form][data-part-aside]) {
|
|
202
|
+
column-gap: var(--slotted-space-9, 2rem);
|
|
203
|
+
display: grid;
|
|
204
|
+
grid-auto-columns: minmax(0, var(--slotted-form-aside-size, 20rem));
|
|
205
|
+
grid-template-columns: minmax(0, var(--slotted-form-measure, 40rem));
|
|
206
|
+
justify-content: space-between;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
[data-ui-form][data-part-aside] {
|
|
210
|
+
margin-block-start: var(--slotted-form-section-gap, var(--slotted-space-9, 2rem));
|
|
211
|
+
min-inline-size: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Beside the column, every child of the form keeps to the first track and
|
|
216
|
+
* the aside spans the rows they fill, so it stays in view under the page's
|
|
217
|
+
* chrome while the fields scroll. shortcut: the span covers 100 children of
|
|
218
|
+
* the form; past them the aside stops following.
|
|
219
|
+
*/
|
|
220
|
+
@container slotted-form (min-width: 75rem) {
|
|
221
|
+
[data-ui-form][data-part-root]:has(> [data-ui-form][data-part-aside]) > * {
|
|
222
|
+
grid-column: 1;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
[data-ui-form][data-part-root] > [data-ui-form][data-part-aside] {
|
|
226
|
+
align-self: start;
|
|
227
|
+
grid-column: 2;
|
|
228
|
+
grid-row: 1 / span 100;
|
|
229
|
+
inset-block-start: calc(var(--slotted-page-sticky-top, 0px) + var(--slotted-space-6, 1rem));
|
|
230
|
+
margin-block-start: 0;
|
|
231
|
+
position: sticky;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
158
235
|
/* ── The action row ───────────────────────────────────────────────────
|
|
159
236
|
*
|
|
160
237
|
* Its own container, because the question it answers is how much room the
|
|
@@ -162,23 +239,23 @@
|
|
|
162
239
|
* forbids a custom property in a container condition, which
|
|
163
240
|
* `docs/token-foundation.md` rule 4 records.
|
|
164
241
|
*/
|
|
165
|
-
[data-ui
|
|
242
|
+
[data-ui-form][data-part-actions] {
|
|
166
243
|
display: flex;
|
|
167
244
|
flex-wrap: wrap;
|
|
168
|
-
gap: var(--slotted-
|
|
245
|
+
gap: var(--slotted-action-gap, 8px);
|
|
169
246
|
justify-content: flex-end;
|
|
170
247
|
margin-block-start: var(--slotted-space-8, 1.5rem);
|
|
171
248
|
}
|
|
172
249
|
|
|
173
|
-
[data-ui
|
|
250
|
+
[data-ui-form][data-part-actions][data-align='start'] {
|
|
174
251
|
justify-content: flex-start;
|
|
175
252
|
}
|
|
176
253
|
|
|
177
|
-
[data-ui
|
|
254
|
+
[data-ui-form][data-part-actions][data-align='between'] {
|
|
178
255
|
justify-content: space-between;
|
|
179
256
|
}
|
|
180
257
|
|
|
181
|
-
[data-ui
|
|
258
|
+
[data-ui-form][data-part-actions][data-align='stretch'] > * {
|
|
182
259
|
flex: 1 1 0;
|
|
183
260
|
}
|
|
184
261
|
|
|
@@ -194,23 +271,23 @@
|
|
|
194
271
|
* action they came to take belongs first.
|
|
195
272
|
*/
|
|
196
273
|
@container slotted-form (max-width: 360px) {
|
|
197
|
-
[data-ui
|
|
274
|
+
[data-ui-form][data-part-actions] {
|
|
198
275
|
flex-direction: column-reverse;
|
|
199
276
|
}
|
|
200
277
|
|
|
201
|
-
[data-ui
|
|
278
|
+
[data-ui-form][data-part-actions] > * {
|
|
202
279
|
inline-size: 100%;
|
|
203
280
|
}
|
|
204
281
|
}
|
|
205
282
|
|
|
206
283
|
/**
|
|
207
284
|
* The one block the theme cannot write for the family. The summary's start
|
|
208
|
-
* edge is what tells a forced-
|
|
285
|
+
* edge is what tells a forced-colors reader that the panel is the errors
|
|
209
286
|
* and not a note, and a tone surface flattened to `Canvas` would leave the
|
|
210
287
|
* panel with nothing but its border.
|
|
211
288
|
*/
|
|
212
289
|
@media (forced-colors: active) {
|
|
213
|
-
[data-ui
|
|
290
|
+
[data-ui-form][data-part-summary] {
|
|
214
291
|
border-color: CanvasText;
|
|
215
292
|
border-inline-start-color: Highlight;
|
|
216
293
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
[
|
|
2
|
+
"--slotted-action-gap",
|
|
2
3
|
"--slotted-border-width-thick",
|
|
3
4
|
"--slotted-control-border-width",
|
|
4
5
|
"--slotted-control-font-family",
|
|
@@ -9,7 +10,11 @@
|
|
|
9
10
|
"--slotted-font-family-heading",
|
|
10
11
|
"--slotted-font-family-sans",
|
|
11
12
|
"--slotted-font-weight-semibold",
|
|
13
|
+
"--slotted-form-aside-size",
|
|
12
14
|
"--slotted-form-color",
|
|
15
|
+
"--slotted-form-field-gap",
|
|
16
|
+
"--slotted-form-measure",
|
|
17
|
+
"--slotted-form-section-gap",
|
|
13
18
|
"--slotted-form-summary-background",
|
|
14
19
|
"--slotted-form-summary-border-color",
|
|
15
20
|
"--slotted-form-summary-color",
|
|
@@ -21,10 +26,10 @@
|
|
|
21
26
|
"--slotted-space-1",
|
|
22
27
|
"--slotted-space-2",
|
|
23
28
|
"--slotted-space-3",
|
|
24
|
-
"--slotted-space-4",
|
|
25
29
|
"--slotted-space-5",
|
|
26
30
|
"--slotted-space-6",
|
|
27
31
|
"--slotted-space-8",
|
|
32
|
+
"--slotted-space-9",
|
|
28
33
|
"--slotted-text",
|
|
29
34
|
"--slotted-tone-danger-border",
|
|
30
35
|
"--slotted-tone-danger-surface",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* draws a black `::backdrop` behind it. What it does not draw is a ground:
|
|
14
14
|
* an element with none shows the black through it, so a region of text
|
|
15
15
|
* went full screen as text on black. The ground is the theme's page ground,
|
|
16
|
-
* and the backdrop takes the same
|
|
16
|
+
* and the backdrop takes the same color so the edge of the region never
|
|
17
17
|
* shows.
|
|
18
18
|
*
|
|
19
19
|
* `layout` is the same picture drawn by this sheet, fixed over the viewport
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* browser, an iframe without `allow="fullscreen"`, a refused request. The
|
|
22
22
|
* two ways are one component; only `data-mode` tells them apart.
|
|
23
23
|
*/
|
|
24
|
-
[data-ui
|
|
24
|
+
[data-ui-fullscreen][data-part-root][data-fullscreen] {
|
|
25
25
|
/* The region is the viewport in full screen, so the viewport is what the
|
|
26
26
|
inset answers: the page step on a desktop, down to the small step on a
|
|
27
27
|
phone, where twenty-four pixels a side is an eighth of the width. */
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* (the automatic minimum of a flex item), so content taller than the screen
|
|
76
76
|
* still scrolls in the region.
|
|
77
77
|
*/
|
|
78
|
-
[data-ui
|
|
78
|
+
[data-ui-fullscreen][data-part-root][data-fullscreen] {
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
}
|
|
@@ -95,8 +95,7 @@
|
|
|
95
95
|
* full screen; a descendant selector on the part alone turned an open list
|
|
96
96
|
* into a grid. A flex share only reaches a direct child in any case.
|
|
97
97
|
*/
|
|
98
|
-
[data-ui
|
|
99
|
-
> [data-ui='fullscreen'][data-part='content'] {
|
|
98
|
+
[data-ui-fullscreen][data-part-root][data-fullscreen] > [data-ui-fullscreen][data-part-content] {
|
|
100
99
|
display: grid;
|
|
101
100
|
flex: 1 0 auto;
|
|
102
101
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -115,9 +114,9 @@
|
|
|
115
114
|
* menu opened, and the panel would drop to its own height under it. The
|
|
116
115
|
* root is always appended last.
|
|
117
116
|
*/
|
|
118
|
-
[data-ui
|
|
117
|
+
[data-ui-fullscreen][data-part-root][data-fullscreen]
|
|
119
118
|
> :first-child:is(:last-child, :has(+ [data-slotted-portal]:last-child)):not(
|
|
120
|
-
[data-part
|
|
119
|
+
[data-part-trigger],
|
|
121
120
|
img,
|
|
122
121
|
video,
|
|
123
122
|
canvas
|
|
@@ -131,7 +130,7 @@
|
|
|
131
130
|
* gives a video in full screen. It may shrink below its natural height,
|
|
132
131
|
* which a photograph taller than the screen has to.
|
|
133
132
|
*/
|
|
134
|
-
[data-ui
|
|
133
|
+
[data-ui-fullscreen][data-part-root][data-fullscreen]
|
|
135
134
|
> :is(img, video, canvas):first-child:is(
|
|
136
135
|
:last-child,
|
|
137
136
|
:has(+ [data-slotted-portal]:last-child)
|
|
@@ -142,7 +141,7 @@
|
|
|
142
141
|
object-fit: contain;
|
|
143
142
|
}
|
|
144
143
|
|
|
145
|
-
[data-ui
|
|
144
|
+
[data-ui-fullscreen][data-part-root]::backdrop {
|
|
146
145
|
background-color: var(--slotted-fullscreen-surface, var(--slotted-surface, Canvas));
|
|
147
146
|
}
|
|
148
147
|
|
|
@@ -161,7 +160,7 @@
|
|
|
161
160
|
* page and never covered it. Nothing else here is `!important` — the ground,
|
|
162
161
|
* the edge and the inset stay the consumer's to change in full screen.
|
|
163
162
|
*/
|
|
164
|
-
[data-ui
|
|
163
|
+
[data-ui-fullscreen][data-part-root][data-mode='layout'] {
|
|
165
164
|
animation: slotted-fullscreen-enter var(--slotted-duration-short) var(--slotted-easing-enter);
|
|
166
165
|
block-size: auto !important;
|
|
167
166
|
inline-size: auto !important;
|
|
@@ -195,11 +194,11 @@
|
|
|
195
194
|
* screen" beside the four corners opening, "Exit full screen" beside the
|
|
196
195
|
* four corners closing. It is not a toggle: the Button pattern says a
|
|
197
196
|
* control whose label changes with its state is not announced as pressed,
|
|
198
|
-
* so it carries no `aria-pressed` and no "on"
|
|
197
|
+
* so it carries no `aria-pressed` and no "on" color. The geometry is the
|
|
199
198
|
* control scale's, the same box `toggle` and `button` stand in, so the
|
|
200
199
|
* control sits in a toolbar beside them without a pixel of difference.
|
|
201
200
|
*/
|
|
202
|
-
[data-ui
|
|
201
|
+
[data-ui-fullscreen][data-part-trigger] {
|
|
203
202
|
--_height: var(--slotted-control-height-md, 34px);
|
|
204
203
|
--_padding-inline: var(--slotted-control-padding-inline-md, 13px);
|
|
205
204
|
--_font-size: var(--slotted-control-font-size-md, 13px);
|
|
@@ -247,7 +246,7 @@
|
|
|
247
246
|
|
|
248
247
|
/* ── Size ─────────────────────────────────────────────────────────────── */
|
|
249
248
|
|
|
250
|
-
[data-ui
|
|
249
|
+
[data-ui-fullscreen][data-part-trigger][data-size='sm'] {
|
|
251
250
|
--_height: var(--slotted-control-height-sm, 30px);
|
|
252
251
|
--_padding-inline: var(--slotted-control-padding-inline-sm, 10px);
|
|
253
252
|
--_font-size: var(--slotted-control-font-size-sm, 12px);
|
|
@@ -255,7 +254,7 @@
|
|
|
255
254
|
--_gap: var(--slotted-control-gap-sm, 6px);
|
|
256
255
|
}
|
|
257
256
|
|
|
258
|
-
[data-ui
|
|
257
|
+
[data-ui-fullscreen][data-part-trigger][data-size='lg'] {
|
|
259
258
|
--_height: var(--slotted-control-height-lg, 38px);
|
|
260
259
|
--_padding-inline: var(--slotted-control-padding-inline-lg, 16px);
|
|
261
260
|
--_font-size: var(--slotted-control-font-size-lg, 14px);
|
|
@@ -271,7 +270,7 @@
|
|
|
271
270
|
* consumer's icon placed in its stead, each at the control's icon step and
|
|
272
271
|
* in the host's ink.
|
|
273
272
|
*/
|
|
274
|
-
[data-ui
|
|
273
|
+
[data-ui-fullscreen] [data-part-icon] {
|
|
275
274
|
--slotted-icon-size: var(--_icon-size);
|
|
276
275
|
|
|
277
276
|
block-size: var(--_icon-size);
|
|
@@ -281,7 +280,7 @@
|
|
|
281
280
|
inline-size: var(--_icon-size);
|
|
282
281
|
}
|
|
283
282
|
|
|
284
|
-
[data-ui
|
|
283
|
+
[data-ui-fullscreen] [data-part-icon] > * {
|
|
285
284
|
block-size: 100%;
|
|
286
285
|
display: block;
|
|
287
286
|
inline-size: 100%;
|
|
@@ -292,7 +291,7 @@
|
|
|
292
291
|
* container is shorter than a translated label; the string stays whole in
|
|
293
292
|
* the DOM and in the accessible name.
|
|
294
293
|
*/
|
|
295
|
-
[data-ui
|
|
294
|
+
[data-ui-fullscreen] [data-part-label] {
|
|
296
295
|
min-inline-size: 0;
|
|
297
296
|
overflow: hidden;
|
|
298
297
|
text-overflow: ellipsis;
|
|
@@ -304,12 +303,12 @@
|
|
|
304
303
|
* reader. The label is visually hidden rather than removed, which keeps
|
|
305
304
|
* the accessible name the label the state gives it.
|
|
306
305
|
*/
|
|
307
|
-
[data-ui
|
|
306
|
+
[data-ui-fullscreen][data-part-trigger][data-icon-only] {
|
|
308
307
|
inline-size: var(--_height);
|
|
309
308
|
padding-inline: 0;
|
|
310
309
|
}
|
|
311
310
|
|
|
312
|
-
[data-ui
|
|
311
|
+
[data-ui-fullscreen][data-part-trigger][data-icon-only] [data-part-label] {
|
|
313
312
|
block-size: 1px;
|
|
314
313
|
clip-path: inset(50%);
|
|
315
314
|
inline-size: 1px;
|
|
@@ -326,7 +325,7 @@
|
|
|
326
325
|
* screen needs its own ground, or the edge is all that separates the words
|
|
327
326
|
* from what is behind them.
|
|
328
327
|
*/
|
|
329
|
-
[data-ui
|
|
328
|
+
[data-ui-fullscreen][data-part-trigger][data-variant='outline'] {
|
|
330
329
|
background-color: var(--slotted-control-surface, ButtonFace);
|
|
331
330
|
border-color: var(
|
|
332
331
|
--slotted-fullscreen-trigger-border-color,
|
|
@@ -337,14 +336,14 @@
|
|
|
337
336
|
|
|
338
337
|
/* ── Hover and press, held back for disabled ─────────────────────────── */
|
|
339
338
|
|
|
340
|
-
[data-ui
|
|
339
|
+
[data-ui-fullscreen][data-part-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
341
340
|
background-color: var(
|
|
342
341
|
--slotted-fullscreen-trigger-hover-background,
|
|
343
342
|
var(--slotted-tone-secondary-subtle-hover, ButtonFace)
|
|
344
343
|
);
|
|
345
344
|
}
|
|
346
345
|
|
|
347
|
-
[data-ui
|
|
346
|
+
[data-ui-fullscreen][data-part-trigger]:active:not(:disabled):not([data-disabled]) {
|
|
348
347
|
background-color: var(
|
|
349
348
|
--slotted-fullscreen-trigger-active-background,
|
|
350
349
|
var(--slotted-tone-secondary-subtle-active, ButtonFace)
|
|
@@ -354,22 +353,22 @@
|
|
|
354
353
|
|
|
355
354
|
/* ── Focus ────────────────────────────────────────────────────────────── */
|
|
356
355
|
|
|
357
|
-
[data-ui
|
|
356
|
+
[data-ui-fullscreen][data-part-trigger]:focus-visible {
|
|
358
357
|
outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
|
|
359
358
|
outline-offset: var(--slotted-focus-ring-offset, 2px);
|
|
360
359
|
}
|
|
361
360
|
|
|
362
361
|
/* ── Disabled ─────────────────────────────────────────────────────────── */
|
|
363
362
|
|
|
364
|
-
[data-ui
|
|
365
|
-
[data-ui
|
|
363
|
+
[data-ui-fullscreen][data-part-trigger]:disabled,
|
|
364
|
+
[data-ui-fullscreen][data-part-trigger][data-disabled] {
|
|
366
365
|
background-color: transparent;
|
|
367
366
|
color: var(--slotted-disabled-foreground, GrayText);
|
|
368
367
|
cursor: not-allowed;
|
|
369
368
|
}
|
|
370
369
|
|
|
371
|
-
[data-ui
|
|
372
|
-
[data-ui
|
|
370
|
+
[data-ui-fullscreen][data-part-trigger][data-variant='outline']:disabled,
|
|
371
|
+
[data-ui-fullscreen][data-part-trigger][data-variant='outline'][data-disabled] {
|
|
373
372
|
border-color: var(--slotted-disabled-border, GrayText);
|
|
374
373
|
box-shadow: none;
|
|
375
374
|
}
|