@swiftwc/ui 0.0.0-dev.106 → 0.0.0-dev.107
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/generated/components/list-view.d.ts +1 -0
- package/generated/components/list-view.js +1 -0
- package/generated/components/navigation-large-title.d.ts +0 -1
- package/generated/components/navigation-large-title.js +0 -1
- package/generated/components/toggle-view.js +8 -1
- package/generated/css/index.css +76 -11
- package/generated/internal/privateNamespace.d.ts +1 -1
- package/package.json +1 -1
- package/scss/_utils.scss +2 -0
- package/scss/base/_root.scss +6 -3
- package/scss/colors/_index.scss +11 -0
- package/scss/components/_navigation-large-title.scss +14 -8
- package/scss/components/_scroll-view.scss +12 -0
- package/scss/components/_toggle-view.scss +10 -0
- package/scss/utils/_background.scss +52 -0
- package/scss/utils/_index.scss +20 -17
- package/web-components.html-data/en.json +11 -11
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* @summary A container view that arranges rows of data in a single column, optionally letting the user select one or more of them.
|
|
3
3
|
*
|
|
4
4
|
* @attr {hidden} navigation-link-indicator-visibility — Hides accessories like right-arrow-chevron on NavigationLink buttons inside
|
|
5
|
+
* @attr {sidebar} preferred-root-disclosure-style
|
|
5
6
|
*
|
|
6
7
|
* @cssprop {length} --list-row-gap — The gap between rows
|
|
7
8
|
* @cssprop {length} --list--media-inner-padding-inline-start — The inline paddint start for each row
|
|
@@ -4,6 +4,7 @@ import { debug, listActive, onoff } from '../internal/utils';
|
|
|
4
4
|
* @summary A container view that arranges rows of data in a single column, optionally letting the user select one or more of them.
|
|
5
5
|
*
|
|
6
6
|
* @attr {hidden} navigation-link-indicator-visibility — Hides accessories like right-arrow-chevron on NavigationLink buttons inside
|
|
7
|
+
* @attr {sidebar} preferred-root-disclosure-style
|
|
7
8
|
*
|
|
8
9
|
* @cssprop {length} --list-row-gap — The gap between rows
|
|
9
10
|
* @cssprop {length} --list--media-inner-padding-inline-start — The inline paddint start for each row
|
|
@@ -105,7 +105,10 @@ export class ToggleView extends FormAssociatedBase {
|
|
|
105
105
|
{ types: 'pointermove', listener: this.#handleTrackPointermove },
|
|
106
106
|
{ types: 'lostpointercapture', listener: this.#handleTrackPointercancel },
|
|
107
107
|
], this.#track).on());
|
|
108
|
-
CleanupRegistry.register(this, onoff([
|
|
108
|
+
CleanupRegistry.register(this, onoff([
|
|
109
|
+
{ types: 'blur', listener: this.#handleWindowBlur },
|
|
110
|
+
{ types: 'focus', listener: this.#handleWindowFocus },
|
|
111
|
+
], self).on());
|
|
109
112
|
}
|
|
110
113
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
111
114
|
debug(`${_a.name} ⚡️ attr-change [${name}] ("${oldValue}" → "${newValue}")`);
|
|
@@ -226,11 +229,15 @@ export class ToggleView extends FormAssociatedBase {
|
|
|
226
229
|
this.#settle();
|
|
227
230
|
};
|
|
228
231
|
#handleWindowBlur = () => {
|
|
232
|
+
this.toggleAttribute('js-window-inactive', true);
|
|
229
233
|
if (!this.#isDragging)
|
|
230
234
|
return;
|
|
231
235
|
this.#track?.style.removeProperty('--toggle--dot-transition-duration');
|
|
232
236
|
this.#settle();
|
|
233
237
|
};
|
|
238
|
+
#handleWindowFocus = async () => {
|
|
239
|
+
this.toggleAttribute('js-window-inactive', false);
|
|
240
|
+
};
|
|
234
241
|
#updateFromEvent = (clientX) => {
|
|
235
242
|
if (!this.#track)
|
|
236
243
|
return;
|
package/generated/css/index.css
CHANGED
|
@@ -302,8 +302,12 @@
|
|
|
302
302
|
--insetform-item-border-radius: 1rem;
|
|
303
303
|
--list-item-padding-inline-start: 1rem;
|
|
304
304
|
--list-item-padding-inline-end: 1rem;
|
|
305
|
+
--insetgroupedlist-background-color: var(--background);
|
|
306
|
+
--insetgroupedlist-item-background-color: var(--quaternaryGroupedBackground);
|
|
305
307
|
--form-item-padding-inline-start: 1rem;
|
|
306
308
|
--form-item-padding-inline-end: 1rem;
|
|
309
|
+
--insetgroupedform-background-color: var(--background);
|
|
310
|
+
--insetgroupedform-item-background-color: var(--quaternaryGroupedBackground);
|
|
307
311
|
--toggle-inline-size: 3.4rem;
|
|
308
312
|
--toggle-block-size: 1.3rem;
|
|
309
313
|
--control-clear-glass-bg: var(--white);
|
|
@@ -3621,6 +3625,12 @@
|
|
|
3621
3625
|
--toggle--dot-inset-inline-start: calc(100% - var(--toggle--dot-size));
|
|
3622
3626
|
--toggle--dot-inset-inline-end: 0;
|
|
3623
3627
|
}
|
|
3628
|
+
:where(toggle-view[aria-checked=true]):window-inactive {
|
|
3629
|
+
--toggle--track-bg: var(--toggle--track-off-bg);
|
|
3630
|
+
}
|
|
3631
|
+
:where(toggle-view[aria-checked=true][js-window-inactive]) {
|
|
3632
|
+
--toggle--track-bg: var(--toggle--track-off-bg);
|
|
3633
|
+
}
|
|
3624
3634
|
:where(toggle-view > :nth-child(n+2 of [slot=label])) {
|
|
3625
3635
|
--label-font: callout;
|
|
3626
3636
|
}
|
|
@@ -3698,16 +3708,13 @@
|
|
|
3698
3708
|
navigation-large-title :nth-child(1 of label-view)) {
|
|
3699
3709
|
--label-image-size: 5;
|
|
3700
3710
|
}
|
|
3711
|
+
:where(navigation-large-title :nth-child(1 of image-view)) {
|
|
3712
|
+
color: var(--accentColor);
|
|
3713
|
+
}
|
|
3701
3714
|
:where(scroll-view[navigation-bar-title-display-mode=inline]:has(navigation-large-title) navigation-large-title[navigation-bar-auto-hide]) {
|
|
3702
3715
|
opacity: 0;
|
|
3703
3716
|
visibility: collapse;
|
|
3704
3717
|
}
|
|
3705
|
-
:where(navigation-large-title[background-style=grouped]) {
|
|
3706
|
-
background-color: var(--secondaryGroupedBackground);
|
|
3707
|
-
border-radius: var(--insetlist-item-border-radius);
|
|
3708
|
-
padding-inline: var(--list-item-padding-inline-start) var(--list-item-padding-inline-end);
|
|
3709
|
-
padding-block: 1rem;
|
|
3710
|
-
}
|
|
3711
3718
|
}
|
|
3712
3719
|
@layer sw-components {}
|
|
3713
3720
|
@layer sw-components {
|
|
@@ -6094,11 +6101,13 @@
|
|
|
6094
6101
|
}
|
|
6095
6102
|
}
|
|
6096
6103
|
@layer sw-utils {
|
|
6097
|
-
:
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6104
|
+
@media (pointer: coarse) {
|
|
6105
|
+
:where([background-style=grouped]) {
|
|
6106
|
+
--background: var(--groupedBackground);
|
|
6107
|
+
--secondaryBackground: var(--secondaryGroupedBackground);
|
|
6108
|
+
--tertiaryBackground: var(--tertiaryGroupedBackground);
|
|
6109
|
+
--face: var(--background);
|
|
6110
|
+
}
|
|
6102
6111
|
}
|
|
6103
6112
|
:where([foreground=primary]) {
|
|
6104
6113
|
color: var(--primary);
|
|
@@ -9177,6 +9186,50 @@
|
|
|
9177
9186
|
}
|
|
9178
9187
|
}
|
|
9179
9188
|
@layer sw-utils {}
|
|
9189
|
+
@layer sw-utils {
|
|
9190
|
+
:where(list-view[background=system-background],
|
|
9191
|
+
[is=form-view][background=system-background]) {
|
|
9192
|
+
--list--host-background-color: var(--background);
|
|
9193
|
+
}
|
|
9194
|
+
:where(list-view[list-row-background=system-tertiary-grouped-background],
|
|
9195
|
+
[is=form-view][list-row-background=system-tertiary-grouped-background]) {
|
|
9196
|
+
--list--item-background-color: var(--tertiaryGroupedBackground);
|
|
9197
|
+
}
|
|
9198
|
+
:where(list-view[list-row-background=system-quaternary-grouped-background],
|
|
9199
|
+
[is=form-view][list-row-background=system-quaternary-grouped-background]) {
|
|
9200
|
+
--list--item-background-color: var(--quaternaryGroupedBackground);
|
|
9201
|
+
}
|
|
9202
|
+
:where([is=sheet-view] list-view[background=system-background],
|
|
9203
|
+
[is=sheet-view] [is=form-view][background=system-background],
|
|
9204
|
+
[is=full-screen] list-view[background=system-background],
|
|
9205
|
+
[is=full-screen] [is=form-view][background=system-background],
|
|
9206
|
+
[is=confirmation-dialog] list-view[background=system-background],
|
|
9207
|
+
[is=confirmation-dialog] [is=form-view][background=system-background],
|
|
9208
|
+
[is=alert-dialog] list-view[background=system-background],
|
|
9209
|
+
[is=alert-dialog] [is=form-view][background=system-background]) {
|
|
9210
|
+
--list--host-background-color: var(--secondaryBackground);
|
|
9211
|
+
}
|
|
9212
|
+
:where([is=sheet-view] list-view[list-row-background=system-tertiary-grouped-background],
|
|
9213
|
+
[is=sheet-view] [is=form-view][list-row-background=system-tertiary-grouped-background],
|
|
9214
|
+
[is=full-screen] list-view[list-row-background=system-tertiary-grouped-background],
|
|
9215
|
+
[is=full-screen] [is=form-view][list-row-background=system-tertiary-grouped-background],
|
|
9216
|
+
[is=confirmation-dialog] list-view[list-row-background=system-tertiary-grouped-background],
|
|
9217
|
+
[is=confirmation-dialog] [is=form-view][list-row-background=system-tertiary-grouped-background],
|
|
9218
|
+
[is=alert-dialog] list-view[list-row-background=system-tertiary-grouped-background],
|
|
9219
|
+
[is=alert-dialog] [is=form-view][list-row-background=system-tertiary-grouped-background]) {
|
|
9220
|
+
--list--item-background-color: var(--quaternaryGroupedBackground);
|
|
9221
|
+
}
|
|
9222
|
+
:where([is=sheet-view] list-view[list-row-background=system-quaternary-grouped-background],
|
|
9223
|
+
[is=sheet-view] [is=form-view][list-row-background=system-quaternary-grouped-background],
|
|
9224
|
+
[is=full-screen] list-view[list-row-background=system-quaternary-grouped-background],
|
|
9225
|
+
[is=full-screen] [is=form-view][list-row-background=system-quaternary-grouped-background],
|
|
9226
|
+
[is=confirmation-dialog] list-view[list-row-background=system-quaternary-grouped-background],
|
|
9227
|
+
[is=confirmation-dialog] [is=form-view][list-row-background=system-quaternary-grouped-background],
|
|
9228
|
+
[is=alert-dialog] list-view[list-row-background=system-quaternary-grouped-background],
|
|
9229
|
+
[is=alert-dialog] [is=form-view][list-row-background=system-quaternary-grouped-background]) {
|
|
9230
|
+
--list--item-background-color: var(--quaintaryGroupedBackground);
|
|
9231
|
+
}
|
|
9232
|
+
}
|
|
9180
9233
|
@layer sw-transitions {
|
|
9181
9234
|
@media (prefers-reduced-motion: no-preference) {
|
|
9182
9235
|
scroll-view.fwd, scroll-view.fwdd, scroll-view.bwd, scroll-view.bwdd {
|
|
@@ -10181,6 +10234,18 @@
|
|
|
10181
10234
|
inherits: true;
|
|
10182
10235
|
}
|
|
10183
10236
|
}
|
|
10237
|
+
@property --quaternaryGroupedBackground {
|
|
10238
|
+
syntax: "<color>";
|
|
10239
|
+
initial-value: oklch(97.61% 0 0deg);
|
|
10240
|
+
inherits: true;
|
|
10241
|
+
}
|
|
10242
|
+
@media (prefers-color-scheme: dark) {
|
|
10243
|
+
@property --quaternaryGroupedBackground {
|
|
10244
|
+
syntax: "<color>";
|
|
10245
|
+
initial-value: oklch(27.51% 0.0039 128.62deg);
|
|
10246
|
+
inherits: true;
|
|
10247
|
+
}
|
|
10248
|
+
}
|
|
10184
10249
|
@property --separator {
|
|
10185
10250
|
syntax: "<color>";
|
|
10186
10251
|
initial-value: oklch(94.31% 0 0deg);
|
|
@@ -4,7 +4,7 @@ type TransitionType = 'forwards' | 'backwards' | 'reload';
|
|
|
4
4
|
export type NavigationHost = Components.BodyView | Components.SheetView | Components.NavigationStack | Components.NavigationSplitView;
|
|
5
5
|
export type NavigationToolbarConfiguration = Components.ToolBarItem | Components.ToolBarItemGroup;
|
|
6
6
|
export type NavigationPage = Components.SidebarView | Components.ScrollView;
|
|
7
|
-
export declare function queryInsertPosition(frame
|
|
7
|
+
export declare function queryInsertPosition(frame?: NavigationHost): "afterend" | "beforebegin";
|
|
8
8
|
type UpdateCallback = () => void | Promise<void>;
|
|
9
9
|
type NavigateOptions = {
|
|
10
10
|
updateCallback?: UpdateCallback;
|
package/package.json
CHANGED
package/scss/_utils.scss
CHANGED
package/scss/base/_root.scss
CHANGED
|
@@ -274,18 +274,18 @@
|
|
|
274
274
|
--#{$v}-item-padding-block-start: 1rem;
|
|
275
275
|
|
|
276
276
|
// FIXME: feat-sheet 3/3
|
|
277
|
-
--#{$v}-item-background-color: var(--background);
|
|
277
|
+
--#{$v}-item-background-color: var(--background);
|
|
278
278
|
--#{$v}-item-color: var(--primary);
|
|
279
279
|
--#{$v}-highlighteditem-background-color: var(--accentColor3);
|
|
280
280
|
--#{$v}-highlighteditem-color: ;
|
|
281
281
|
|
|
282
282
|
// FIXME: feat-sheet 3/3
|
|
283
|
-
--inset#{$v}-item-background-color: var(--background);
|
|
283
|
+
--inset#{$v}-item-background-color: var(--background);
|
|
284
284
|
--inset#{$v}-item-color: var(--primary);
|
|
285
285
|
--inset#{$v}-highlighteditem-background-color: var(--accentColor3); //var(--accentColor);
|
|
286
286
|
--inset#{$v}-highlighteditem-color: ; //var(--tintcontrast);
|
|
287
287
|
|
|
288
|
-
--insetgrouped#{$v}-item-background-color: var(--secondaryGroupedBackground);
|
|
288
|
+
--insetgrouped#{$v}-item-background-color: var(--secondaryGroupedBackground);
|
|
289
289
|
--insetgrouped#{$v}-item-color: var(--primary);
|
|
290
290
|
--insetgrouped#{$v}-highlighteditem-background-color: var(--accentColor3); //var(--accentColor);
|
|
291
291
|
--insetgrouped#{$v}-highlighteditem-color: ; //var(--tintcontrast);
|
|
@@ -376,6 +376,9 @@
|
|
|
376
376
|
@each $v in list, form {
|
|
377
377
|
--#{$v}-item-padding-inline-start: 1rem;
|
|
378
378
|
--#{$v}-item-padding-inline-end: 1rem;
|
|
379
|
+
|
|
380
|
+
--insetgrouped#{$v}-background-color: var(--background);
|
|
381
|
+
--insetgrouped#{$v}-item-background-color: var(--quaternaryGroupedBackground);
|
|
379
382
|
}
|
|
380
383
|
|
|
381
384
|
--toggle-inline-size: 3.4rem;
|
package/scss/colors/_index.scss
CHANGED
|
@@ -526,6 +526,17 @@ $color-tokens: (
|
|
|
526
526
|
),
|
|
527
527
|
),
|
|
528
528
|
),
|
|
529
|
+
quaternaryGroupedBackground: (
|
|
530
|
+
props: (
|
|
531
|
+
inherits: true,
|
|
532
|
+
),
|
|
533
|
+
media: (
|
|
534
|
+
base: (
|
|
535
|
+
light: oklch(0.9761 0 0),
|
|
536
|
+
dark: oklch(0.2751 0.0039 128.62),
|
|
537
|
+
),
|
|
538
|
+
),
|
|
539
|
+
),
|
|
529
540
|
// SECTION: semantic colors
|
|
530
541
|
separator: (
|
|
531
542
|
props: (
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
:nth-child(1 of image-view) {
|
|
27
|
+
:where(&) {
|
|
28
|
+
color: var(--accentColor);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
26
32
|
scroll-view[navigation-bar-title-display-mode='inline']:has(&) &[navigation-bar-auto-hide] {
|
|
27
33
|
:where(&) {
|
|
28
34
|
opacity: 0;
|
|
@@ -31,14 +37,14 @@
|
|
|
31
37
|
}
|
|
32
38
|
}
|
|
33
39
|
|
|
34
|
-
&[background-style='grouped'] {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
// &[background-style='grouped'] {
|
|
41
|
+
// :where(&) {
|
|
42
|
+
// background-color: var(--secondaryGroupedBackground);
|
|
43
|
+
// border-radius: var(--insetlist-item-border-radius);
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
45
|
+
// padding-inline: var(--list-item-padding-inline-start) var(--list-item-padding-inline-end);
|
|
46
|
+
// padding-block: 1rem;
|
|
47
|
+
// }
|
|
48
|
+
// }
|
|
43
49
|
}
|
|
44
50
|
}
|
|
@@ -116,6 +116,18 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
+
|
|
120
|
+
// &:has(list-view[list-style='inset-grouped']:not([background]), [is='form-view'][form-style='inset-grouped']:not([background])) {
|
|
121
|
+
// :where(&) {
|
|
122
|
+
// outline: red solid 4px;
|
|
123
|
+
|
|
124
|
+
// // --background: var(--groupedBackground);
|
|
125
|
+
// // --secondaryBackground: var(--secondaryGroupedBackground);
|
|
126
|
+
// // --tertiaryBackground: var(--tertiaryGroupedBackground);
|
|
127
|
+
|
|
128
|
+
// // --face: var(--background);
|
|
129
|
+
// }
|
|
130
|
+
// }
|
|
119
131
|
}
|
|
120
132
|
}
|
|
121
133
|
|
|
@@ -133,6 +133,16 @@
|
|
|
133
133
|
|
|
134
134
|
--toggle--dot-inset-inline-start: calc(100% - var(--toggle--dot-size));
|
|
135
135
|
--toggle--dot-inset-inline-end: 0;
|
|
136
|
+
|
|
137
|
+
&:window-inactive {
|
|
138
|
+
--toggle--track-bg: var(--toggle--track-off-bg);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&[js-window-inactive] {
|
|
143
|
+
:where(&) {
|
|
144
|
+
--toggle--track-bg: var(--toggle--track-off-bg);
|
|
145
|
+
}
|
|
136
146
|
}
|
|
137
147
|
}
|
|
138
148
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use 'sass:string';
|
|
3
|
+
@use '../vars';
|
|
4
|
+
|
|
5
|
+
@layer #{vars.$utils-layer} {
|
|
6
|
+
list-view,
|
|
7
|
+
[is='form-view'] {
|
|
8
|
+
:where(&[background='system-background']) {
|
|
9
|
+
--list--host-background-color: var(--background);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where(&[list-row-background='system-tertiary-grouped-background']) {
|
|
13
|
+
--list--item-background-color: var(--tertiaryGroupedBackground);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where(&[list-row-background='system-quaternary-grouped-background']) {
|
|
17
|
+
--list--item-background-color: var(--quaternaryGroupedBackground);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// naviation-stack,
|
|
22
|
+
// navigation-split-view,
|
|
23
|
+
// scroll-view {
|
|
24
|
+
// :where(&[background='system-grouped-background']) {
|
|
25
|
+
// --face: var(--groupedBackground);
|
|
26
|
+
// }
|
|
27
|
+
// }
|
|
28
|
+
|
|
29
|
+
[is='sheet-view'],
|
|
30
|
+
[is='full-screen'],
|
|
31
|
+
[is='confirmation-dialog'],
|
|
32
|
+
[is='alert-dialog'] {
|
|
33
|
+
list-view,
|
|
34
|
+
[is='form-view'] {
|
|
35
|
+
:where(&[background='system-background']) {
|
|
36
|
+
--list--host-background-color: var(--secondaryBackground);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:where(&[list-row-background='system-tertiary-grouped-background']) {
|
|
40
|
+
--list--item-background-color: var(--quaternaryGroupedBackground);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:where(&[list-row-background='system-quaternary-grouped-background']) {
|
|
44
|
+
--list--item-background-color: var(--quaintaryGroupedBackground);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// :where(& scroll-view[background='system-grouped-background']) {
|
|
49
|
+
// --face: var(--groupedBackground);
|
|
50
|
+
// }
|
|
51
|
+
}
|
|
52
|
+
}
|
package/scss/utils/_index.scss
CHANGED
|
@@ -3,25 +3,28 @@
|
|
|
3
3
|
|
|
4
4
|
@layer #{vars.$utils-layer} {
|
|
5
5
|
[background-style='grouped'] {
|
|
6
|
-
:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@media (pointer: coarse) {
|
|
7
|
+
:where(&) {
|
|
8
|
+
// --face: var(--groupedBackground);
|
|
9
|
+
--background: var(--groupedBackground);
|
|
10
|
+
--secondaryBackground: var(--secondaryGroupedBackground);
|
|
11
|
+
--tertiaryBackground: var(--tertiaryGroupedBackground);
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
--face: var(--background);
|
|
14
|
+
// --face2: var(--secondaryBackground);
|
|
15
|
+
// --face3: var(--tertiaryBackground);
|
|
16
|
+
}
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
// FIXME: feat-sheet 2/3
|
|
19
|
+
[is='sheet-view'] &,
|
|
20
|
+
[is='full-screen'] &,
|
|
21
|
+
[is='confirmation-dialog'] &,
|
|
22
|
+
[is='alert-dialog'] & {
|
|
23
|
+
:where(&) {
|
|
24
|
+
// --background: var(--secondaryGroupedBackground);
|
|
25
|
+
// --secondaryBackground: var(--tertiaryGroupedBackground);
|
|
26
|
+
// --tertiaryBackground: var(--quaternaryGroupedBackground);
|
|
27
|
+
}
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
}
|
|
@@ -451,9 +451,18 @@
|
|
|
451
451
|
"name": "hidden"
|
|
452
452
|
}
|
|
453
453
|
]
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "preferred-root-disclosure-style",
|
|
457
|
+
"description": "Value Type: “sidebar”",
|
|
458
|
+
"values": [
|
|
459
|
+
{
|
|
460
|
+
"name": "sidebar"
|
|
461
|
+
}
|
|
462
|
+
]
|
|
454
463
|
}
|
|
455
464
|
],
|
|
456
|
-
"description": "A container view that arranges rows of data in a single column, optionally letting the user select one or more of them.\n---\n\n```ts\ninterface ListViewSignature {\n Attributes: {\n 'navigation-link-indicator-visibility'?: 'hidden' // Hides accessories like right-arrow-chevron on NavigationLink buttons inside\n }\n\n CSSProperties: {\n '--list-row-gap'?: length // The gap between rows\n '--list--media-inner-padding-inline-start'?: length // The inline paddint start for each row\n }\n}\n\nclass ListView extends HTMLElement<ListViewSignature> {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'list-view': ListView // <list-view></list-view>\n }\n}\n\n```\n"
|
|
465
|
+
"description": "A container view that arranges rows of data in a single column, optionally letting the user select one or more of them.\n---\n\n```ts\ninterface ListViewSignature {\n Attributes: {\n 'navigation-link-indicator-visibility'?: 'hidden' // Hides accessories like right-arrow-chevron on NavigationLink buttons inside\n 'preferred-root-disclosure-style'?: 'sidebar'\n }\n\n CSSProperties: {\n '--list-row-gap'?: length // The gap between rows\n '--list--media-inner-padding-inline-start'?: length // The inline paddint start for each row\n }\n}\n\nclass ListView extends HTMLElement<ListViewSignature> {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'list-view': ListView // <list-view></list-view>\n }\n}\n\n```\n"
|
|
457
466
|
},
|
|
458
467
|
{
|
|
459
468
|
"name": "menu-view",
|
|
@@ -485,15 +494,6 @@
|
|
|
485
494
|
}
|
|
486
495
|
],
|
|
487
496
|
"attributes": [
|
|
488
|
-
{
|
|
489
|
-
"name": "background-style",
|
|
490
|
-
"description": "Value Type: “grouped”",
|
|
491
|
-
"values": [
|
|
492
|
-
{
|
|
493
|
-
"name": "grouped"
|
|
494
|
-
}
|
|
495
|
-
]
|
|
496
|
-
},
|
|
497
497
|
{
|
|
498
498
|
"name": "padding",
|
|
499
499
|
"description": "Value Type: boolean"
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
"description": "Value Type: boolean"
|
|
504
504
|
}
|
|
505
505
|
],
|
|
506
|
-
"description": "undefined\n\n```ts\ninterface NavigationLargeTitleSignature {\n Attributes: {\n
|
|
506
|
+
"description": "undefined\n\n```ts\ninterface NavigationLargeTitleSignature {\n Attributes: {\n padding?: boolean\n 'navigation-bar-auto-hide'?: boolean\n }\n}\n\nclass NavigationLargeTitle extends HTMLElement<NavigationLargeTitleSignature> {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'navigation-large-title': NavigationLargeTitle // <navigation-large-title></navigation-large-title>\n }\n}\n\n```\n"
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
"name": "navigation-split-view",
|