@swiftwc/ui 0.0.0-dev.114 → 0.0.0-dev.117
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/client/index.js +3 -3
- package/generated/components/content-unavailable.d.ts +1 -1
- package/generated/components/content-unavailable.js +1 -1
- package/generated/components/{body-view.d.ts → content-view.d.ts} +2 -2
- package/generated/components/{body-view.js → content-view.js} +3 -3
- package/generated/components/index.d.ts +1 -1
- package/generated/components/index.js +1 -1
- package/generated/components/labeled-content.d.ts +1 -1
- package/generated/components/labeled-content.js +1 -1
- package/generated/components/menu-view.d.ts +1 -1
- package/generated/components/menu-view.js +1 -1
- package/generated/components/picker-view.d.ts +1 -1
- package/generated/components/picker-view.js +12 -12
- package/generated/components/progress-view.d.ts +1 -1
- package/generated/components/progress-view.js +1 -1
- package/generated/components/scroll-view.d.ts +1 -1
- package/generated/components/scroll-view.js +1 -1
- package/generated/components/section-view.d.ts +1 -1
- package/generated/components/section-view.js +1 -1
- package/generated/components/tab-view.js +6 -1
- package/generated/components/table-view.d.ts +1 -1
- package/generated/components/table-view.js +1 -1
- package/generated/css/index.css +230 -228
- package/generated/internal/class/navigation-path.js +2 -2
- package/generated/internal/privateNamespace.d.ts +1 -1
- package/generated/internal/privateNamespace.js +3 -3
- package/generated/internal/utils/debug.js +2 -2
- package/html-data/en.json +18 -18
- package/package.json +4 -6
- package/scss/_components.scss +1 -1
- package/scss/_vars.scss +1 -0
- package/scss/base/_layout.scss +8 -8
- package/scss/base/_reboot.scss +4 -2
- package/scss/base/_root.scss +1 -1
- package/scss/colors/_index.scss +2 -2
- package/scss/components/_alert-dialog.scss +3 -3
- package/scss/components/_bordered-button.scss +2 -2
- package/scss/components/_bordered-prominent-button.scss +3 -3
- package/scss/components/_borderless-button.scss +2 -2
- package/scss/components/_confirmation-dialog.scss +1 -1
- package/scss/components/_content-unavailable.scss +1 -1
- package/scss/components/{_body-view.scss → _content-view.scss} +2 -2
- package/scss/components/_date-picker.scss +1 -1
- package/scss/components/_detail-placeholder.scss +5 -5
- package/scss/components/_disclosure-group.scss +2 -2
- package/scss/components/_fine-tooltip.scss +1 -1
- package/scss/components/_form-view.scss +3 -3
- package/scss/components/_full-screen.scss +1 -1
- package/scss/components/_glass-button.scss +2 -2
- package/scss/components/_glass-prominent-button.scss +3 -3
- package/scss/components/_group-box.scss +1 -1
- package/scss/components/_h-divider.scss +1 -1
- package/scss/components/_h-flex-stack.scss +1 -1
- package/scss/components/_h-stack.scss +1 -1
- package/scss/components/_image-view.scss +1 -1
- package/scss/components/_index.scss +4 -4
- package/scss/components/_label-view.scss +1 -1
- package/scss/components/_labeled-content.scss +1 -1
- package/scss/components/_list-view.scss +3 -3
- package/scss/components/_menu-view.scss +3 -3
- package/scss/components/_navigation-large-title.scss +1 -1
- package/scss/components/_navigation-split-view.scss +18 -18
- package/scss/components/_navigation-stack.scss +1 -1
- package/scss/components/_navigation-title.scss +1 -1
- package/scss/components/_picker-view.scss +2 -2
- package/scss/components/_plain-button.scss +2 -2
- package/scss/components/_progress-view.scss +1 -1
- package/scss/components/_scroll-view-proxy.scss +1 -1
- package/scss/components/_scroll-view-toolbars.scss +1 -1
- package/scss/components/_scroll-view.scss +2 -2
- package/scss/components/_search-view.scss +1 -1
- package/scss/components/_section-view.scss +1 -1
- package/scss/components/_sheet-view.scss +2 -2
- package/scss/components/_sidebar-toggle.scss +1 -1
- package/scss/components/_sidebar-view.scss +2 -2
- package/scss/components/_sticky-container.scss +1 -1
- package/scss/components/_tab-bar.scss +1 -1
- package/scss/components/_tab-item.scss +1 -1
- package/scss/components/_tab-view.scss +15 -15
- package/scss/components/_table-column.scss +1 -1
- package/scss/components/_table-row.scss +1 -1
- package/scss/components/_table-view.scss +1 -1
- package/scss/components/_text-field.scss +1 -1
- package/scss/components/_text-view.scss +1 -1
- package/scss/components/_toggle-view.scss +1 -1
- package/scss/components/_tool-bar-item-group.scss +1 -1
- package/scss/components/_tool-bar-item.scss +2 -2
- package/scss/components/_tool-bar.scss +2 -2
- package/scss/components/_v-divider.scss +1 -1
- package/scss/components/_v-flex-stack.scss +1 -1
- package/scss/components/_v-keyboard.scss +1 -1
- package/scss/components/_v-stack.scss +1 -1
- package/scss/final/_touch-glass.scss +1 -1
- package/scss/mixins/_index.scss +2 -2
- package/scss/placeholders/_buttons.scss +5 -5
- package/scss/placeholders/_lists.scss +3 -3
- package/scss/transitions/_alert-dialog.scss +1 -1
- package/scss/transitions/_bwd.navbar.scss +1 -1
- package/scss/transitions/_bwd.scss +3 -3
- package/scss/transitions/_confirmation-dialog.scss +1 -1
- package/scss/transitions/_disclosure-group.scss +1 -1
- package/scss/transitions/_fine-tooltip.scss +1 -1
- package/scss/transitions/_fwd.navbar.scss +1 -1
- package/scss/transitions/_fwd.scss +1 -1
- package/scss/transitions/_glass-button.scss +1 -1
- package/scss/transitions/_glass-prominent-button.scss +1 -1
- package/scss/transitions/_index.scss +1 -1
- package/scss/transitions/_menu-view.scss +1 -1
- package/scss/transitions/_navigation-split-view.scss +1 -1
- package/scss/transitions/_progress-view.scss +1 -1
- package/scss/transitions/_sheet-view.scss +1 -1
- package/scss/transitions/_sidebar-view.scss +1 -1
- package/scss/transitions/_tab-bar.scss +1 -1
- package/scss/utils/_background.scss +1 -1
- package/scss/utils/_frame.scss +2 -2
- package/scss/utils/_index.scss +1 -1
- package/scss/utils/_spacing.scss +1 -1
- package/scss/utils/_stacks.scss +2 -2
- /package/generated/internal/{flags.d.ts → dev-flags.d.ts} +0 -0
- /package/generated/internal/{flags.js → dev-flags.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../vars';
|
|
2
2
|
@use '../mixins';
|
|
3
3
|
|
|
4
|
-
@layer #{vars.$components-layer} {
|
|
4
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
5
5
|
// SECTION: all is grid
|
|
6
6
|
|
|
7
7
|
navigation-stack,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
navigation-large-title,
|
|
10
10
|
navigation-title,
|
|
11
11
|
scroll-view,
|
|
12
|
-
|
|
12
|
+
content-view,
|
|
13
13
|
tab-view,
|
|
14
14
|
image-view,
|
|
15
15
|
list-view,
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// SECTION: componentize
|
|
201
|
-
@layer #{vars.$colors-layer} {
|
|
201
|
+
@layer #{vars.$framework-layer}.#{vars.$colors-layer} {
|
|
202
202
|
sidebar-toggle > button,
|
|
203
203
|
tool-bar-item > button,
|
|
204
204
|
tool-bar-item > input,
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
// SECTION: componentize
|
|
243
|
-
@layer #{vars.$ui-layer} {
|
|
243
|
+
@layer #{vars.$framework-layer}.#{vars.$ui-layer} {
|
|
244
244
|
sidebar-toggle > button,
|
|
245
245
|
tool-bar-item > button,
|
|
246
246
|
tool-bar-item > input,
|
|
@@ -110,7 +110,7 @@ $list-elses: (
|
|
|
110
110
|
--list--accessories-display: grid,
|
|
111
111
|
);
|
|
112
112
|
|
|
113
|
-
@layer #{vars.$list-components-layer} {
|
|
113
|
+
@layer #{vars.$framework-layer}.#{vars.$list-components-layer} {
|
|
114
114
|
list-view {
|
|
115
115
|
&:not(& &, [is='form-view'] &, table-view &) {
|
|
116
116
|
@extend %list;
|
|
@@ -151,7 +151,7 @@ $list-elses: (
|
|
|
151
151
|
:where(navigation-split-view [is='sidebar-view'] &[list-style]) {
|
|
152
152
|
@include mixins.write-props(map.get($list-ifs, sidebar));
|
|
153
153
|
}
|
|
154
|
-
:where(navigation-split-view > scroll-view &[preferred-expanded-style], navigation-split-view >
|
|
154
|
+
:where(navigation-split-view > scroll-view &[preferred-expanded-style], navigation-split-view > content-view > scroll-view &[preferred-expanded-style]) {
|
|
155
155
|
@include mixins.write-props(map.get($list-ifs, inset));
|
|
156
156
|
}
|
|
157
157
|
}
|
|
@@ -166,7 +166,7 @@ $list-elses: (
|
|
|
166
166
|
:where(navigation-split-view:has(> [is='sidebar-view']) > [is='sidebar-view'] &[list-style]) {
|
|
167
167
|
--list-style: sidebar;
|
|
168
168
|
}
|
|
169
|
-
:where(navigation-split-view > scroll-view &[preferred-expanded-style], navigation-split-view >
|
|
169
|
+
:where(navigation-split-view > scroll-view &[preferred-expanded-style], navigation-split-view > content-view > scroll-view &[preferred-expanded-style]) {
|
|
170
170
|
--list-style: inset;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use '../mixins';
|
|
4
4
|
@use '../placeholders';
|
|
5
5
|
|
|
6
|
-
@layer #{vars.$components-layer} {
|
|
6
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
7
7
|
menu-view {
|
|
8
8
|
:where(&) {
|
|
9
9
|
&::part(menu-summary) {
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
// componentize
|
|
148
|
-
@layer #{vars.$colors-layer} {
|
|
148
|
+
@layer #{vars.$framework-layer}.#{vars.$colors-layer} {
|
|
149
149
|
menu-view {
|
|
150
150
|
@include mixins.add-focus-visible-state('::part(menu-summary)') {
|
|
151
151
|
--menusummaryface: var(--menusummaryhighlightface,);
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// componentize
|
|
201
|
-
@layer #{vars.$ui-layer} {
|
|
201
|
+
@layer #{vars.$framework-layer}.#{vars.$ui-layer} {
|
|
202
202
|
menu-view {
|
|
203
203
|
@include mixins.add-active-state('::part(menu-summary)') {
|
|
204
204
|
--menusummaryface: var(--menusummaryactiveface,);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@layer #{vars.$nav-components-layer} {
|
|
15
|
+
@layer #{vars.$framework-layer}.#{vars.$nav-components-layer} {
|
|
16
16
|
navigation-split-view {
|
|
17
17
|
:where(&) {
|
|
18
18
|
touch-action: none;
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
z-index: -1;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
:where(& >
|
|
52
|
+
:where(& > content-view ~ scroll-view, & > content-view ~ [is='sidebar-view']) {
|
|
53
53
|
z-index: -1;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:has(> [is='sidebar-view']) {
|
|
57
|
-
:where(& >
|
|
57
|
+
:where(& > content-view ~ [is='sidebar-view']) {
|
|
58
58
|
z-index: -2;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
:where(& >
|
|
61
|
+
:where(& > content-view > content-view ~ scroll-view) {
|
|
62
62
|
z-index: -1;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
&:has(> [is='sidebar-view']) {
|
|
68
68
|
@include mixins.ifnot-3col-split-view-fits {
|
|
69
69
|
&:not([preferred-compact-column='content']) {
|
|
70
|
-
:where(& >
|
|
70
|
+
:where(& > content-view > content-view ~ scroll-view) {
|
|
71
71
|
z-index: -1;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
//
|
|
75
|
+
// content-view > content-view {
|
|
76
76
|
// clip-path: inset(
|
|
77
77
|
// 0 0 0 var(--nav-split-view-content-inline-size)
|
|
78
78
|
// ); // force clipping because it is now a floating element unable to hide bg = overflow: clip;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
|
|
83
83
|
@include mixins.if-2col-split-view-fits {
|
|
84
84
|
&[column-visibility='double-column'] {
|
|
85
|
-
:where(& >
|
|
85
|
+
:where(& > content-view > content-view ~ scroll-view) {
|
|
86
86
|
z-index: -1;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
>
|
|
146
|
+
> content-view {
|
|
147
147
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
148
148
|
&,
|
|
149
149
|
& ~ tool-bar {
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
// }
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
>
|
|
218
|
+
> content-view {
|
|
219
219
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
220
220
|
&,
|
|
221
221
|
& ~ tool-bar {
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
// move descendants to left edge of screen
|
|
253
|
-
>
|
|
253
|
+
> content-view {
|
|
254
254
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
255
255
|
&,
|
|
256
256
|
& ~ tool-bar {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
// &:has(> dialog[is='sidebar-view']) {
|
|
310
310
|
// &:not([column-visibility='double-column']) {
|
|
311
311
|
// container of content col (principal)
|
|
312
|
-
>
|
|
312
|
+
> content-view {
|
|
313
313
|
// cancel animations
|
|
314
314
|
> scroll-view {
|
|
315
315
|
~ tool-bar {
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
// container of details col (trailing)
|
|
346
|
-
>
|
|
346
|
+
> content-view {
|
|
347
347
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
348
348
|
&,
|
|
349
349
|
& ~ tool-bar {
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
@layer #{vars.$final-layer} {
|
|
366
|
+
@layer #{vars.$framework-layer}.#{vars.$final-layer} {
|
|
367
367
|
navigation-split-view {
|
|
368
368
|
// ANCHOR transitions
|
|
369
369
|
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
--scroll-view-translate: translateX(var(--view-transition-principal-x)); //!important
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
>
|
|
380
|
+
> content-view {
|
|
381
381
|
@include force-disable-col-view-transitions;
|
|
382
382
|
}
|
|
383
383
|
|
|
@@ -389,12 +389,12 @@
|
|
|
389
389
|
@include mixins.ifnot-3col-split-view-fits {
|
|
390
390
|
&[preferred-compact-column='content'] {
|
|
391
391
|
// move descendants to right
|
|
392
|
-
>
|
|
392
|
+
> content-view {
|
|
393
393
|
> scroll-view {
|
|
394
394
|
--scroll-view-translate: translateX(var(--view-transition-principal-x)); //!important;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
>
|
|
397
|
+
> content-view {
|
|
398
398
|
@include force-disable-col-view-transitions;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
@@ -406,13 +406,13 @@
|
|
|
406
406
|
// SIDEBAR | COMPACT | EXPANDED
|
|
407
407
|
@include mixins.if-3col-split-view-fits {
|
|
408
408
|
// container of compact col (middle)
|
|
409
|
-
>
|
|
409
|
+
> content-view {
|
|
410
410
|
// Fix position as compact col in the middle
|
|
411
411
|
> scroll-view {
|
|
412
412
|
--scroll-view-translate: translateX(var(--view-transition-principal-x)); // !important;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
>
|
|
415
|
+
> content-view {
|
|
416
416
|
@include force-disable-col-view-transitions;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
@@ -124,7 +124,7 @@ $picker-elses: (
|
|
|
124
124
|
// }
|
|
125
125
|
// }
|
|
126
126
|
|
|
127
|
-
@layer #{vars.$components-layer} {
|
|
127
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
128
128
|
picker-view {
|
|
129
129
|
:where(&) {
|
|
130
130
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -340,7 +340,7 @@ $picker-elses: (
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
@layer #{vars.$final-layer} {
|
|
343
|
+
@layer #{vars.$framework-layer}.#{vars.$final-layer} {
|
|
344
344
|
picker-view {
|
|
345
345
|
//--picker-label-value-placement
|
|
346
346
|
@supports not (x: #{string.unquote('attr(x type(*))')}) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use '../mixins';
|
|
3
3
|
@use '../placeholders';
|
|
4
4
|
|
|
5
|
-
@layer #{vars.$components-layer} {
|
|
5
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
6
6
|
[is='plain-button'] {
|
|
7
7
|
@extend %button;
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
@layer #{vars.$utils-layer} {
|
|
13
|
+
@layer #{vars.$framework-layer}.#{vars.$utils-layer} {
|
|
14
14
|
[is='plain-button'] {
|
|
15
15
|
:where(&) {
|
|
16
16
|
text-align: center;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@use '../vars';
|
|
2
2
|
@use '../mixins';
|
|
3
3
|
|
|
4
|
-
@layer #{vars.$components-layer} {
|
|
4
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
5
5
|
scroll-view {
|
|
6
6
|
navigation-stack > &,
|
|
7
7
|
navigation-split-view > &,
|
|
8
8
|
[is='sidebar-view'] > &,
|
|
9
|
-
|
|
9
|
+
content-view > &,
|
|
10
10
|
[is='full-screen'] > &,
|
|
11
11
|
[is='sheet-view'] > & {
|
|
12
12
|
&:has(~ tool-bar > [slot^='top-bar']),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../vars';
|
|
2
2
|
@use '../mixins';
|
|
3
3
|
|
|
4
|
-
@layer #{vars.$components-layer} {
|
|
4
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
5
5
|
[is='sheet-view'] {
|
|
6
6
|
:where(&) {
|
|
7
7
|
@include mixins.reset-dialog;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
:where(&) {
|
|
67
67
|
overflow: visible;
|
|
68
68
|
}
|
|
69
|
-
scroll-view:has(~
|
|
69
|
+
scroll-view:has(~ content-view) {
|
|
70
70
|
&,
|
|
71
71
|
& ~ tool-bar {
|
|
72
72
|
:where(&) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../vars';
|
|
2
2
|
@use '../mixins';
|
|
3
3
|
|
|
4
|
-
@layer #{vars.$components-layer} {
|
|
4
|
+
@layer #{vars.$framework-layer}.#{vars.$components-layer} {
|
|
5
5
|
[is='sidebar-view'] {
|
|
6
6
|
:where(&) {
|
|
7
7
|
@include mixins.reset-dialog;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
@layer #{vars.$final-layer} {
|
|
47
|
+
@layer #{vars.$framework-layer}.#{vars.$final-layer} {
|
|
48
48
|
[is='sidebar-view'] {
|
|
49
49
|
:where(&[open]) {
|
|
50
50
|
margin-inline-start: max(env(safe-area-inset-left), var(--sidebar-inline-spacing));
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
19
19
|
#{$selector} navigation-stack > &,
|
|
20
20
|
#{$selector} navigation-split-view > &,
|
|
21
|
-
#{$selector}
|
|
21
|
+
#{$selector} content-view > & {
|
|
22
22
|
&,
|
|
23
23
|
& ~ tool-bar {
|
|
24
24
|
:where(&) {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
scroll-view:not(:has(~ tool-bar > [slot^='bottom-bar'])):not(:has(> [slot^='bottom-bar'])) {
|
|
42
42
|
:where(#{$selector} navigation-stack > &),
|
|
43
43
|
:where(#{$selector} navigation-split-view > &),
|
|
44
|
-
:where(#{$selector}
|
|
44
|
+
:where(#{$selector} content-view > &) {
|
|
45
45
|
--safe-area-inset-bottom: calc(max(env(safe-area-inset-bottom), var(--sidebar-block-spacing)) + var(--iphone-tabbar-block-size));
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
65
65
|
#{$selector} navigation-stack > &,
|
|
66
66
|
#{$selector} navigation-split-view > &,
|
|
67
|
-
#{$selector}
|
|
67
|
+
#{$selector} content-view > & {
|
|
68
68
|
&,
|
|
69
69
|
& ~ tool-bar {
|
|
70
70
|
:where(&) {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
@layer #{vars.$tab-components-layer} {
|
|
81
|
+
@layer #{vars.$framework-layer}.#{vars.$tab-components-layer} {
|
|
82
82
|
tab-view {
|
|
83
83
|
// // more navstack is only for portrait mobile!
|
|
84
84
|
// & > navigation-stack > scroll-view:has(~ navigation-split-view) {
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
147
147
|
tab-view:not([tab-view-style='tab-bar-only']) navigation-stack > &,
|
|
148
148
|
tab-view:not([tab-view-style='tab-bar-only']) navigation-split-view > &,
|
|
149
|
-
tab-view:not([tab-view-style='tab-bar-only'])
|
|
149
|
+
tab-view:not([tab-view-style='tab-bar-only']) content-view > & {
|
|
150
150
|
&,
|
|
151
151
|
& ~ tool-bar {
|
|
152
152
|
:where(&) {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
// DISCARDS
|
|
214
214
|
@include mixins.if-2col-split-view-fits {
|
|
215
215
|
&:not(:has(> [is='sidebar-view'])) {
|
|
216
|
-
>
|
|
216
|
+
> content-view {
|
|
217
217
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
218
218
|
@include mixins.discard-sidebar-measures;
|
|
219
219
|
}
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
&:has(> [is='sidebar-view']) {
|
|
223
223
|
&:not([column-visibility='double-column']) {
|
|
224
224
|
&:not([preferred-compact-column='content']) {
|
|
225
|
-
>
|
|
225
|
+
> content-view {
|
|
226
226
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
227
227
|
@include mixins.discard-sidebar-measures;
|
|
228
228
|
}
|
|
@@ -230,8 +230,8 @@
|
|
|
230
230
|
}
|
|
231
231
|
&[preferred-compact-column='content'] {
|
|
232
232
|
@include mixins.ifnot-3col-split-view-fits {
|
|
233
|
-
>
|
|
234
|
-
>
|
|
233
|
+
> content-view {
|
|
234
|
+
> content-view {
|
|
235
235
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
236
236
|
@include mixins.discard-sidebar-measures;
|
|
237
237
|
}
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
@include mixins.if-3col-split-view-fits {
|
|
243
|
-
>
|
|
243
|
+
> content-view {
|
|
244
244
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
245
245
|
@include mixins.discard-sidebar-measures;
|
|
246
246
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
&[column-visibility='double-column'] {
|
|
251
|
-
>
|
|
251
|
+
> content-view {
|
|
252
252
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
253
253
|
@include mixins.discard-sidebar-measures;
|
|
254
254
|
}
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
&:not(:has(> [is='sidebar-view'])) {
|
|
273
273
|
--nav-split-view--content-inline-size: calc(var(--nav-split-view-content-inline-size) + var(--sidebar-inline-size, 0px));
|
|
274
274
|
|
|
275
|
-
>
|
|
275
|
+
> content-view {
|
|
276
276
|
--sidebar-inline-size: 0px;
|
|
277
277
|
--sidebar-inline-spacing: 0px;
|
|
278
278
|
}
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
283
283
|
tab-view:not([tab-view-style='tab-bar-only']) navigation-stack > &,
|
|
284
284
|
tab-view:not([tab-view-style='tab-bar-only']) navigation-split-view > &,
|
|
285
|
-
tab-view:not([tab-view-style='tab-bar-only'])
|
|
285
|
+
tab-view:not([tab-view-style='tab-bar-only']) content-view > & {
|
|
286
286
|
&,
|
|
287
287
|
& ~ tool-bar {
|
|
288
288
|
:where(&) {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
// --nav-split-view--content-inline-size: calc(var(--nav-split-view-content-inline-size) + var(--sidebar-inline-size, 0px));
|
|
298
298
|
// }
|
|
299
299
|
// scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) {
|
|
300
|
-
// tab-view:not([tab-view-style='tab-bar-only']) navigation-split-view:not(:has(> [is='sidebar-view'])) >
|
|
300
|
+
// tab-view:not([tab-view-style='tab-bar-only']) navigation-split-view:not(:has(> [is='sidebar-view'])) > content-view & {
|
|
301
301
|
// &,
|
|
302
302
|
// & ~ tool-bar {
|
|
303
303
|
// :where(&) {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
@layer #{vars.$final-layer} {
|
|
312
|
+
@layer #{vars.$framework-layer}.#{vars.$final-layer} {
|
|
313
313
|
@media (pointer: fine) {
|
|
314
314
|
@include make-ipad-tabview("tab-view[tab-view-style='tab-bar-only']");
|
|
315
315
|
}
|