@swiftwc/ui 0.0.0-dev.3 → 0.0.0-dev.30
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/README.md +15 -0
- package/generated/buses/alert-dialog.d.ts +2 -0
- package/generated/buses/alert-dialog.js +1 -0
- package/generated/buses/confirmation-dialog.d.ts +2 -0
- package/generated/buses/confirmation-dialog.js +1 -0
- package/generated/buses/index.d.ts +6 -0
- package/generated/buses/index.js +6 -0
- package/generated/buses/lifecycle-observer.d.ts +2 -0
- package/generated/buses/lifecycle-observer.js +1 -0
- package/generated/client/index.d.ts +31 -2
- package/generated/client/index.js +415 -8
- package/generated/components/alert-dialog.d.ts +8 -0
- package/generated/components/alert-dialog.js +94 -0
- package/generated/components/body-view.d.ts +5 -0
- package/generated/components/body-view.js +11 -0
- package/generated/components/bordered-button.d.ts +13 -0
- package/generated/components/bordered-button.js +42 -0
- package/generated/components/bordered-prominent-button.d.ts +13 -0
- package/generated/components/bordered-prominent-button.js +42 -0
- package/generated/components/borderless-button.d.ts +13 -0
- package/generated/components/borderless-button.js +42 -0
- package/generated/components/confirmation-dialog.d.ts +9 -0
- package/generated/components/confirmation-dialog.js +108 -0
- package/generated/components/content-unavailable-view.d.ts +24 -0
- package/generated/components/content-unavailable-view.js +78 -0
- package/generated/components/date-picker.d.ts +46 -0
- package/generated/components/date-picker.js +442 -0
- package/generated/components/disclosure-group.d.ts +9 -0
- package/generated/components/disclosure-group.js +54 -0
- package/generated/components/fine-tooltip.d.ts +7 -0
- package/generated/components/fine-tooltip.js +104 -0
- package/generated/components/form-view.d.ts +6 -0
- package/generated/components/form-view.js +58 -0
- package/generated/components/glass-button.d.ts +12 -0
- package/generated/components/glass-button.js +39 -0
- package/generated/components/glass-prominent-button.d.ts +12 -0
- package/generated/components/glass-prominent-button.js +39 -0
- package/generated/components/index.d.ts +41 -1
- package/generated/components/index.js +41 -6
- package/generated/components/label-view.d.ts +9 -0
- package/generated/components/label-view.js +56 -0
- package/generated/components/list-view.d.ts +5 -0
- package/generated/components/list-view.js +29 -0
- package/generated/components/menu-view.d.ts +9 -0
- package/generated/components/menu-view.js +138 -0
- package/generated/components/navigation-large-title.d.ts +6 -0
- package/generated/components/navigation-large-title.js +177 -0
- package/generated/components/navigation-split-view.d.ts +10 -0
- package/generated/components/navigation-split-view.js +21 -0
- package/generated/components/navigation-stack.d.ts +10 -0
- package/generated/components/navigation-stack.js +27 -0
- package/generated/components/navigation-title.d.ts +8 -0
- package/generated/components/navigation-title.js +49 -0
- package/generated/components/picker-view.d.ts +27 -0
- package/generated/components/picker-view.js +452 -0
- package/generated/components/plain-button.d.ts +7 -0
- package/generated/components/plain-button.js +20 -0
- package/generated/components/progress-view.d.ts +13 -0
- package/generated/components/progress-view.js +122 -0
- package/generated/components/screen-view.d.ts +5 -0
- package/generated/components/screen-view.js +9 -0
- package/generated/components/scroll-view-proxy.d.ts +8 -0
- package/generated/components/scroll-view-proxy.js +14 -0
- package/generated/components/scroll-view.d.ts +10 -0
- package/generated/components/scroll-view.js +197 -0
- package/generated/components/section-view.d.ts +9 -0
- package/generated/components/section-view.js +81 -0
- package/generated/components/sheet-view.d.ts +8 -0
- package/generated/components/sheet-view.js +85 -0
- package/generated/components/sidebar-toggle.d.ts +7 -0
- package/generated/components/sidebar-toggle.js +82 -0
- package/generated/components/sidebar-view.d.ts +7 -0
- package/generated/components/sidebar-view.js +35 -0
- package/generated/components/sticky-container.d.ts +6 -0
- package/generated/components/sticky-container.js +24 -0
- package/generated/components/tab-bar.d.ts +10 -0
- package/generated/components/tab-bar.js +42 -0
- package/generated/components/tab-item.d.ts +7 -0
- package/generated/components/tab-item.js +125 -0
- package/generated/components/tab-view.d.ts +22 -0
- package/generated/components/tab-view.js +259 -0
- package/generated/components/table-view.d.ts +7 -0
- package/generated/components/table-view.js +187 -0
- package/generated/components/text-field.d.ts +29 -0
- package/generated/components/text-field.js +478 -0
- package/generated/components/tool-bar-item-group.d.ts +5 -0
- package/generated/components/tool-bar-item-group.js +28 -0
- package/generated/components/tool-bar-item.d.ts +7 -0
- package/generated/components/tool-bar-item.js +53 -0
- package/generated/components/tool-bar.d.ts +19 -0
- package/generated/components/tool-bar.js +90 -0
- package/generated/components/v-keyboard.d.ts +11 -0
- package/generated/components/v-keyboard.js +81 -0
- package/generated/components/v-stack.d.ts +10 -0
- package/generated/components/v-stack.js +16 -0
- package/generated/css/index.css +8067 -0
- package/generated/events/alert-dialog.d.ts +8 -0
- package/generated/events/alert-dialog.js +1 -0
- package/generated/events/confirmation-dialog.d.ts +9 -0
- package/generated/events/confirmation-dialog.js +1 -0
- package/generated/events/date-picker.d.ts +8 -0
- package/generated/events/date-picker.js +1 -0
- package/generated/events/index.d.ts +8 -0
- package/generated/events/index.js +8 -0
- package/generated/events/lifecycle-observer.d.ts +10 -0
- package/generated/events/lifecycle-observer.js +1 -0
- package/generated/events/picker-view.d.ts +8 -0
- package/generated/events/picker-view.js +1 -0
- package/generated/events/scroll-view.d.ts +10 -0
- package/generated/events/scroll-view.js +1 -0
- package/generated/events/tab-view.d.ts +28 -0
- package/generated/events/tab-view.js +1 -0
- package/generated/events/text-field.d.ts +8 -0
- package/generated/events/text-field.js +1 -0
- package/generated/i18n/index.d.ts +34 -0
- package/generated/i18n/index.js +167 -0
- package/generated/i18n/locales/el.d.ts +15 -0
- package/generated/i18n/locales/el.js +15 -0
- package/generated/i18n/locales/en.d.ts +15 -0
- package/generated/i18n/locales/en.js +15 -0
- package/generated/i18n/locales/index.d.ts +4 -0
- package/generated/i18n/locales/index.js +4 -0
- package/generated/index.js +1 -1
- package/generated/internal/class/cleanup-registry.d.ts +5 -0
- package/generated/internal/class/cleanup-registry.js +38 -0
- package/generated/internal/class/css-style-observer.d.ts +8 -0
- package/generated/internal/class/css-style-observer.js +25 -0
- package/generated/internal/class/form-associated-base.d.ts +20 -0
- package/generated/internal/class/form-associated-base.js +96 -0
- package/generated/internal/class/mutation-observer-singleton.d.ts +10 -0
- package/generated/internal/class/mutation-observer-singleton.js +46 -0
- package/generated/internal/class/navigation-path.d.ts +15 -0
- package/generated/internal/class/navigation-path.js +84 -0
- package/generated/internal/class/navigation-view.d.ts +8 -0
- package/generated/internal/class/navigation-view.js +77 -0
- package/generated/internal/class/resize-observer-singleton.d.ts +7 -0
- package/generated/internal/class/resize-observer-singleton.js +22 -0
- package/generated/internal/decorators/custom-element.d.ts +5 -0
- package/generated/internal/decorators/custom-element.js +4 -0
- package/generated/internal/privateNamespace.d.ts +4 -0
- package/generated/internal/privateNamespace.js +1 -0
- package/generated/internal/utils/add.d.ts +1 -0
- package/generated/internal/utils/add.js +7 -0
- package/generated/internal/utils/button-role.d.ts +1 -0
- package/generated/internal/utils/button-role.js +59 -0
- package/generated/internal/utils/cash/ancestors.d.ts +1 -0
- package/generated/internal/utils/cash/ancestors.js +27 -0
- package/generated/internal/utils/cash/index.d.ts +23 -0
- package/generated/internal/utils/cash/index.js +25 -0
- package/generated/internal/utils/cash/next-all.d.ts +1 -0
- package/generated/internal/utils/cash/next-all.js +10 -0
- package/generated/internal/utils/cash/next.d.ts +1 -0
- package/generated/internal/utils/cash/next.js +9 -0
- package/generated/internal/utils/cash/prev-all.d.ts +1 -0
- package/generated/internal/utils/cash/prev-all.js +10 -0
- package/generated/internal/utils/cash/prev.d.ts +1 -0
- package/generated/internal/utils/cash/prev.js +9 -0
- package/generated/internal/utils/cash/prop.d.ts +18 -0
- package/generated/internal/utils/cash/prop.js +30 -0
- package/generated/internal/utils/cash/siblings.d.ts +1 -0
- package/generated/internal/utils/cash/siblings.js +10 -0
- package/generated/internal/utils/clamp.d.ts +1 -0
- package/generated/internal/utils/clamp.js +4 -0
- package/generated/internal/utils/compare-big-decimals.d.ts +1 -0
- package/generated/internal/utils/compare-big-decimals.js +90 -0
- package/generated/internal/utils/css-time.d.ts +1 -0
- package/generated/internal/utils/css-time.js +3 -0
- package/generated/internal/utils/debounce.d.ts +1 -0
- package/generated/internal/utils/debounce.js +13 -0
- package/generated/internal/utils/frame.d.ts +1 -0
- package/generated/internal/utils/frame.js +6 -0
- package/generated/internal/utils/index.d.ts +19 -1
- package/generated/internal/utils/index.js +20 -1
- package/generated/internal/utils/is-inside.d.ts +1 -0
- package/generated/internal/utils/is-inside.js +4 -0
- package/generated/internal/utils/kebab-case.d.ts +1 -1
- package/generated/internal/utils/kebab-case.js +3 -3
- package/generated/internal/utils/list-active.d.ts +7 -0
- package/generated/internal/utils/list-active.js +83 -0
- package/generated/internal/utils/microtask.d.ts +1 -0
- package/generated/internal/utils/microtask.js +3 -0
- package/generated/internal/utils/onoff.d.ts +45 -0
- package/generated/internal/utils/onoff.js +31 -0
- package/generated/internal/utils/set.d.ts +1 -0
- package/generated/internal/utils/set.js +7 -0
- package/generated/internal/utils/sleep.d.ts +1 -0
- package/generated/internal/utils/sleep.js +3 -0
- package/generated/internal/utils/slow-hide-show.d.ts +1 -0
- package/generated/internal/utils/slow-hide-show.js +16 -0
- package/generated/internal/utils/timeout.d.ts +5 -0
- package/generated/internal/utils/timeout.js +16 -0
- package/generated/internal/utils/touch-glass.d.ts +7 -0
- package/generated/internal/utils/touch-glass.js +19 -0
- package/generated/namespace-browser/base.d.ts +36 -0
- package/generated/namespace-browser/base.js +92 -0
- package/generated/namespace-browser/index.d.ts +7 -0
- package/generated/namespace-browser/index.js +1 -0
- package/generated/snapshot/index.d.ts +9 -0
- package/generated/snapshot/index.js +58 -0
- package/package.json +36 -9
- package/scss/_base.scss +5 -0
- package/scss/_components.scss +82 -0
- package/scss/_final.scss +1 -0
- package/scss/_functions.scss +31 -0
- package/scss/_mixins.scss +7 -0
- package/scss/_placeholders.scss +3 -0
- package/scss/_transitions.scss +32 -0
- package/scss/_utils.scss +9 -0
- package/scss/_vars.scss +179 -3
- package/scss/base/_layout.scss +56 -0
- package/scss/base/_reboot.scss +191 -0
- package/scss/base/_root.scss +397 -0
- package/scss/colors/_index.scss +704 -0
- package/scss/components/_alert-dialog.scss +111 -0
- package/scss/components/_body-view.scss +17 -0
- package/scss/components/_bordered-button.scss +57 -0
- package/scss/components/_bordered-prominent-button.scss +63 -0
- package/scss/components/_borderless-button.scss +44 -0
- package/scss/components/_confirmation-dialog.scss +117 -0
- package/scss/components/_content-unavailable-view.scss +45 -0
- package/scss/components/_date-picker.scss +30 -0
- package/scss/components/_detail-placeholder.scss +153 -0
- package/scss/components/_disclosure-group.scss +175 -0
- package/scss/components/_fine-tooltip.scss +82 -0
- package/scss/components/_form-view.scss +195 -0
- package/scss/components/_full-screen.scss +15 -0
- package/scss/components/_glass-button.scss +59 -0
- package/scss/components/_glass-prominent-button.scss +68 -0
- package/scss/components/_h-divider.scss +13 -0
- package/scss/components/_h-flex-stack.scss +23 -0
- package/scss/components/_h-stack.scss +29 -0
- package/scss/components/_index.scss +249 -0
- package/scss/components/_label-view copy.scss.txt +420 -0
- package/scss/components/_label-view.scss +355 -0
- package/scss/components/_label-view.scss.txt +536 -0
- package/scss/components/_labeled-content.scss +9 -0
- package/scss/components/_list-view.scss +229 -0
- package/scss/components/_menu-view.scss +205 -0
- package/scss/components/_navigation-large-title.scss +27 -0
- package/scss/components/_navigation-split-view.scss +424 -0
- package/scss/components/_navigation-stack.scss +11 -0
- package/scss/components/_navigation-title.scss +10 -0
- package/scss/components/_picker-view.scss +122 -0
- package/scss/components/_plain-button.scss +18 -0
- package/scss/components/_progress-view.scss +98 -0
- package/scss/components/_scroll-view-proxy.scss +79 -0
- package/scss/components/_scroll-view-toolbars.scss +126 -0
- package/scss/components/_scroll-view.scss +130 -0
- package/scss/components/_section-view.scss +119 -0
- package/scss/components/_sheet-view.scss +102 -0
- package/scss/components/_sidebar-toggle.scss +121 -0
- package/scss/components/_sidebar-view.scss +53 -0
- package/scss/components/_sticky-container.scss +42 -0
- package/scss/components/_tab-bar.scss +260 -0
- package/scss/components/_tab-item.scss +25 -0
- package/scss/components/_tab-view.scss +312 -0
- package/scss/components/_table-column.scss +52 -0
- package/scss/components/_table-row.scss +172 -0
- package/scss/components/_table-view.scss +223 -0
- package/scss/components/_text-field.scss +37 -0
- package/scss/components/_tool-bar-item-group.scss +48 -0
- package/scss/components/_tool-bar-item.scss +97 -0
- package/scss/components/_tool-bar.scss +153 -0
- package/scss/components/_v-divider.scss +13 -0
- package/scss/components/_v-flex-stack.scss +29 -0
- package/scss/components/_v-keyboard.scss +14 -0
- package/scss/components/_v-stack.scss +25 -0
- package/scss/final/_touch-glass.scss +91 -0
- package/scss/index.scss +15 -6
- package/scss/mixins/_button.scss +44 -0
- package/scss/mixins/_color.scss +16 -0
- package/scss/mixins/_dialog.scss +89 -0
- package/scss/mixins/_index.scss +422 -0
- package/scss/placeholders/_buttons.scss +117 -0
- package/scss/placeholders/_lists.scss +561 -0
- package/scss/transitions/_alert-dialog.scss +18 -0
- package/scss/transitions/_bwd.navbar.scss +19 -0
- package/scss/transitions/_bwd.scss +39 -0
- package/scss/transitions/_confirmation-dialog.scss +13 -0
- package/scss/transitions/_disclosure-group.scss +35 -0
- package/scss/transitions/_fine-tooltip.scss +21 -0
- package/scss/transitions/_fwd.navbar.scss +41 -0
- package/scss/transitions/_fwd.scss +24 -0
- package/scss/transitions/_glass-button.scss +12 -0
- package/scss/transitions/_glass-prominent-button.scss +12 -0
- package/scss/transitions/_index.scss +74 -0
- package/scss/transitions/_menu-view.scss +26 -0
- package/scss/transitions/_navigation-split-view.scss +23 -0
- package/scss/transitions/_progress-view.scss +23 -0
- package/scss/transitions/_sheet-view.scss +30 -0
- package/scss/transitions/_sidebar-view.scss +36 -0
- package/scss/transitions/_tab-bar.scss +20 -0
- package/scss/utils/_frame.scss +91 -0
- package/scss/utils/_index.scss +77 -0
- package/scss/utils/_scroll-view.scss +14 -0
- package/scss/utils/_spacing.scss +25 -0
- package/scss/utils/_stacks.scss +247 -0
- package/web-components.html-data/en.json +458 -0
- package/generated/internal/snapshot.d.ts +0 -5
- package/generated/internal/snapshot.js +0 -23
- package/generated/styles.css +0 -8
- package/scss/_reboot.scss +0 -11
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
@use 'sass:string';
|
|
4
|
+
@use 'sass:map';
|
|
5
|
+
|
|
6
|
+
@layer #{vars.$components-layer} {
|
|
7
|
+
// NOTE: A wrapper to {hv}-stack
|
|
8
|
+
scroll-view-proxy {
|
|
9
|
+
:where(&) {
|
|
10
|
+
display: contents;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:has(> v-stack, > h-stack) {
|
|
14
|
+
> v-stack,
|
|
15
|
+
> h-stack {
|
|
16
|
+
:where(&) {
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
@include mixins.contain-overscroll;
|
|
20
|
+
|
|
21
|
+
scrollbar-width: thin;
|
|
22
|
+
|
|
23
|
+
container: scroll-view-proxy / inline-size;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:where(& > :not([slot])) {
|
|
27
|
+
scroll-snap-stop: normal;
|
|
28
|
+
|
|
29
|
+
scroll-snap-align: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:where(&[distribution='leading'] > :not([slot])) {
|
|
33
|
+
scroll-snap-align: start;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// :where(&) {
|
|
37
|
+
// &::before {
|
|
38
|
+
// @include mixins.span-all;
|
|
39
|
+
// content: '';
|
|
40
|
+
// display: inline-grid;
|
|
41
|
+
// block-size: 1px;
|
|
42
|
+
// inline-size: 1px;
|
|
43
|
+
// z-index: -1;
|
|
44
|
+
// pointer-events: none;
|
|
45
|
+
// position: absolute;
|
|
46
|
+
// }
|
|
47
|
+
// }
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
> v-stack {
|
|
51
|
+
:where(&) {
|
|
52
|
+
overflow: clip auto;
|
|
53
|
+
|
|
54
|
+
scroll-snap-type: block mandatory;
|
|
55
|
+
|
|
56
|
+
// &::before {
|
|
57
|
+
// block-size: calc(100cqb + 1px); // creates overflow
|
|
58
|
+
// }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
> h-stack {
|
|
63
|
+
:where(&) {
|
|
64
|
+
overflow: auto clip;
|
|
65
|
+
|
|
66
|
+
scroll-snap-type: inline mandatory;
|
|
67
|
+
|
|
68
|
+
// &::before {
|
|
69
|
+
// inline-size: calc(100cqi + 1px); // creates overflow
|
|
70
|
+
// }
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:where(&[padding]) {
|
|
74
|
+
scroll-padding-inline: 1rem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
scroll-view {
|
|
6
|
+
:where(&) {
|
|
7
|
+
&::part(scroll-view-navbar),
|
|
8
|
+
&::part(scroll-view-toolbar) {
|
|
9
|
+
// background-color: red;
|
|
10
|
+
position: sticky;
|
|
11
|
+
inline-size: 100%;
|
|
12
|
+
|
|
13
|
+
place-items: center;
|
|
14
|
+
place-content: center;
|
|
15
|
+
// grid-template-columns: 1fr auto 1fr;
|
|
16
|
+
|
|
17
|
+
grid-template-columns: minmax(0, 1fr);
|
|
18
|
+
|
|
19
|
+
grid-area: toolbar;
|
|
20
|
+
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
|
|
23
|
+
visibility: collapse;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
scroll-view:has(~ tool-bar > [slot^='top-bar']),
|
|
29
|
+
scroll-view:has(> [slot^='top-bar']) {
|
|
30
|
+
:where(&)::part(scroll-view-navbar) {
|
|
31
|
+
visibility: visible;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
scroll-view:has(~ tool-bar > [slot^='bottom-bar']),
|
|
36
|
+
scroll-view:has(> [slot^='bottom-bar']) {
|
|
37
|
+
:where(&)::part(scroll-view-toolbar) {
|
|
38
|
+
visibility: visible;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
scroll-view {
|
|
43
|
+
:where(&) {
|
|
44
|
+
&::part(scroll-view-navbar-stack),
|
|
45
|
+
&::part(scroll-view-toolbar-stack) {
|
|
46
|
+
grid-template-columns: 1fr auto 1fr;
|
|
47
|
+
pointer-events: all;
|
|
48
|
+
|
|
49
|
+
column-gap: var(--toolbar-col-gap);
|
|
50
|
+
|
|
51
|
+
&::before,
|
|
52
|
+
&::after {
|
|
53
|
+
content: '';
|
|
54
|
+
display: grid;
|
|
55
|
+
pointer-events: none !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&::part(scroll-view-navbar) {
|
|
60
|
+
top: 0;
|
|
61
|
+
block-size: calc(var(--safe-area-inset-top) + var(--navigation-bar-block-size));
|
|
62
|
+
padding-block-start: var(--safe-area-inset-top);
|
|
63
|
+
transform: translateY(calc(var(--safe-area-inset-top) * -1));
|
|
64
|
+
|
|
65
|
+
@media (pointer: fine) {
|
|
66
|
+
& {
|
|
67
|
+
justify-items: start;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include mixins.make-toolbar-pseudos(bottom);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&::part(scroll-view-toolbar) {
|
|
75
|
+
top: calc(100% - var(--tool-bar-block-size) - var(--safe-area-inset-bottom));
|
|
76
|
+
|
|
77
|
+
block-size: calc(var(--safe-area-inset-bottom) + var(--tool-bar-block-size));
|
|
78
|
+
padding-block-end: var(--safe-area-inset-bottom);
|
|
79
|
+
transform: translateY(var(--safe-area-inset-bottom));
|
|
80
|
+
|
|
81
|
+
@include mixins.make-toolbar-pseudos(top);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&::part(scroll-view-navbar-stack) {
|
|
85
|
+
@media (pointer: fine) {
|
|
86
|
+
& {
|
|
87
|
+
grid-template-columns: max-content auto 1fr;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&::before {
|
|
92
|
+
inline-size: calc(var(--navbar-padding-inline-start, 0px) + var(--navbar-safe-area-inset-left, 0px) + var(--toolbar-col-gap, 0px));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&::after {
|
|
96
|
+
inline-size: calc(var(--navbar-padding-inline-end, 0px) + var(--navbar-safe-area-inset-right, 0px) + var(--toolbar-col-gap, 0px));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&::part(scroll-view-toolbar-stack) {
|
|
101
|
+
&::before {
|
|
102
|
+
inline-size: calc(var(--toolbar-padding-inline-start) + var(--toolbar-safe-area-inset-left, 0px) + var(--toolbar-col-gap, 0px));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&::after {
|
|
106
|
+
inline-size: calc(var(--toolbar-padding-inline-end) + var(--toolbar-safe-area-inset-right, 0px) + var(--toolbar-col-gap, 0px));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// force measurer to take into account possible sidebar toggles
|
|
112
|
+
// &:not(dialog &) {
|
|
113
|
+
// :where(&) {
|
|
114
|
+
// &::part(#{vars.$scroll-view-navbar-stack-part-name}) {
|
|
115
|
+
// &::before {
|
|
116
|
+
// inline-size: calc(var(--navbar-padding-inline-start, 0px) + var(#{vars.$sidebar-toggle-padding-inline-start-css-prop}, 0px));
|
|
117
|
+
// // width: calc(
|
|
118
|
+
// // var(--navbar-padding-inline-start, 0px) + var(#{vars.$sidebar-toggle-padding-inline-start-css-prop}, 0px) +
|
|
119
|
+
// // max(var(--safe-area-inset-left), var(--sidebar-spacing, 0px))
|
|
120
|
+
// // );
|
|
121
|
+
// }
|
|
122
|
+
// }
|
|
123
|
+
// }
|
|
124
|
+
// }
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
scroll-view {
|
|
6
|
+
navigation-stack > &,
|
|
7
|
+
navigation-split-view > &,
|
|
8
|
+
[is='sidebar-view'] > &,
|
|
9
|
+
body-view > &,
|
|
10
|
+
[is='full-screen'] > &,
|
|
11
|
+
[is='sheet-view'] > & {
|
|
12
|
+
&:has(~ tool-bar > [slot^='top-bar']),
|
|
13
|
+
&:has(> [slot^='top-bar']) {
|
|
14
|
+
:where(&) {
|
|
15
|
+
scroll-padding-top: var(--navigation-bar-block-size);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:where(& > *:not([slot])) {
|
|
19
|
+
// margin-block-start: var(--navigation-bar-block-size);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:has(~ tool-bar > [slot^='bottom-bar']),
|
|
24
|
+
&:has(> [slot^='bottom-bar']) {
|
|
25
|
+
:where(&) {
|
|
26
|
+
scroll-padding-bottom: var(--tool-bar-block-size);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:where(& > *:not([slot])) {
|
|
30
|
+
margin-block-end: var(--tool-bar-block-size);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:where(&) {
|
|
35
|
+
overflow: clip auto;
|
|
36
|
+
|
|
37
|
+
@include mixins.contain-overscroll;
|
|
38
|
+
|
|
39
|
+
// overflow-y: auto;
|
|
40
|
+
// overflow-x: clip;
|
|
41
|
+
// overscroll-behavior: contain;
|
|
42
|
+
// -webkit-overflow-scrolling: touch;
|
|
43
|
+
padding-block: var(--safe-area-inset-top) var(--safe-area-inset-bottom);
|
|
44
|
+
padding-inline: var(--safe-area-inset-left) var(--safe-area-inset-right);
|
|
45
|
+
|
|
46
|
+
container: scroll-view / size; //inline-size;
|
|
47
|
+
|
|
48
|
+
background-color: var(--face,);
|
|
49
|
+
color: var(--text,);
|
|
50
|
+
|
|
51
|
+
box-shadow: var(--scroll-view-box-shadow,);
|
|
52
|
+
|
|
53
|
+
transform: var(--scroll-view-translate,);
|
|
54
|
+
|
|
55
|
+
// --scroll-view-box-shadow: var(--screen-box-shadow);
|
|
56
|
+
|
|
57
|
+
// place-items: center;
|
|
58
|
+
//
|
|
59
|
+
// box-shadow:
|
|
60
|
+
// 2px 0 6px oklch(0 0 0 / 48%),
|
|
61
|
+
// 6px 0 16px oklch(0 0 0 / 67%) !important;
|
|
62
|
+
|
|
63
|
+
// grid-auto-rows: minmax(0, max-content);
|
|
64
|
+
// grid-template-rows: 100% 1px;
|
|
65
|
+
@include mixins.make-scrollable;
|
|
66
|
+
|
|
67
|
+
&::before {
|
|
68
|
+
block-size: calc(100% + var(--safe-area-inset-bottom) + 1px); //????? FIXME:
|
|
69
|
+
|
|
70
|
+
// outline: #c4e412 solid 10px;
|
|
71
|
+
// box-shadow: inset 0 0 0 6px #c4e412;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// @include mixins.make-toolbar-pseudos;
|
|
75
|
+
@include mixins.create-v-scroll-view;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&[navigation-bar-title-display-mode='large'] {
|
|
79
|
+
:where(&) {
|
|
80
|
+
> [slot='top-bar-principal'] {
|
|
81
|
+
opacity: 0;
|
|
82
|
+
|
|
83
|
+
visibility: collapse;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// &:has(list-view section-view[js-stuck], [is='form-view'] section-view[js-stuck]) {
|
|
89
|
+
// :where(&) {
|
|
90
|
+
// --navbar-backdrop-inset-block-end: -25px;
|
|
91
|
+
// }
|
|
92
|
+
// }
|
|
93
|
+
|
|
94
|
+
sticky-container {
|
|
95
|
+
:where(&) {
|
|
96
|
+
@include mixins.make-toolbar-pseudos(bottom);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@supports (container-type: scroll-state) {
|
|
101
|
+
&:has(sticky-container[stuck]) {
|
|
102
|
+
:where(&)::part(scroll-view-navbar):before {
|
|
103
|
+
mask-image: none !important;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@supports not (container-type: scroll-state) {
|
|
109
|
+
&:has(sticky-container) {
|
|
110
|
+
:where(&)::part(scroll-view-navbar):before {
|
|
111
|
+
mask-image: none !important;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include mixins.if-ipad-sheet-fits {
|
|
119
|
+
[is='sheet-view'] {
|
|
120
|
+
:where(& scroll-view:not(scroll-view scroll-view)) {
|
|
121
|
+
--safe-area-inset-top: 0px;
|
|
122
|
+
--safe-area-inset-right: 0px;
|
|
123
|
+
--safe-area-inset-bottom: 0px;
|
|
124
|
+
--safe-area-inset-left: 0px;
|
|
125
|
+
// padding-inline: 0px; //var(--edge-inset-inline-start) var(--edge-inset-inline-end);
|
|
126
|
+
// padding-block: 0px; //var(--edge-inset-block-start) var(--edge-inset-block-end);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
section-view {
|
|
6
|
+
:where(&) {
|
|
7
|
+
grid-template-columns: minmax(0, 1fr);
|
|
8
|
+
grid-template-rows: auto minmax(max-content, 1fr) auto; //0.1px auto minmax(max-content, 1fr) auto;
|
|
9
|
+
grid-template-areas:
|
|
10
|
+
'header'
|
|
11
|
+
'main'
|
|
12
|
+
'footer';
|
|
13
|
+
// 'sentinel'
|
|
14
|
+
|
|
15
|
+
gap: 0.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:where(&:has(> [slot='header']):not(:has(> [slot='footer']))) {
|
|
19
|
+
grid-template-rows: auto minmax(max-content, 1fr); //0.1px auto minmax(max-content, 1fr);
|
|
20
|
+
grid-template-areas:
|
|
21
|
+
'header'
|
|
22
|
+
'main';
|
|
23
|
+
} // 'sentinel'
|
|
24
|
+
|
|
25
|
+
:where(&:has(> [slot='footer']):not(:has(> [slot='header']))) {
|
|
26
|
+
grid-template-rows: minmax(max-content, 1fr) auto; //0.1px minmax(max-content, 1fr) auto;
|
|
27
|
+
grid-template-areas:
|
|
28
|
+
'main'
|
|
29
|
+
'footer';
|
|
30
|
+
} //'sentinel'
|
|
31
|
+
|
|
32
|
+
:where(&:not(:has(> [slot='footer'])):not(:has(> [slot='header']))) {
|
|
33
|
+
grid-template-rows: minmax(max-content, 1fr);
|
|
34
|
+
grid-template-areas: 'main';
|
|
35
|
+
} //'sentinel'
|
|
36
|
+
|
|
37
|
+
:where(&:not(:has(> [slot='header'])))::part(section-header-stack) {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:where(&:not(:has(> [slot='footer'])))::part(section-footer-stack) {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where(&)::part(section-header-stack),
|
|
46
|
+
:where(&)::part(section-footer-stack) {
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
// outline: solid magenta 4px;
|
|
49
|
+
// padding-block: 10px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:where(&)::part(section-header-stack) {
|
|
53
|
+
grid-area: header;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where(&)::part(section-main-stack) {
|
|
57
|
+
grid-area: main;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:where(&)::part(section-footer-stack) {
|
|
61
|
+
grid-area: footer;
|
|
62
|
+
}
|
|
63
|
+
// :where(& > *) {
|
|
64
|
+
// display: grid;
|
|
65
|
+
// }
|
|
66
|
+
|
|
67
|
+
// :where(&:has(~ :not([slot]))) {
|
|
68
|
+
// margin-bottom: 3rem;
|
|
69
|
+
// }
|
|
70
|
+
|
|
71
|
+
:where(&)::part(section-header-stack) {
|
|
72
|
+
order: -1;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// :where(&:not(& &))::part(section-header-stack) {
|
|
76
|
+
// :where(&)::part(section-header-stack) {
|
|
77
|
+
// display: var(--section--headerstack-display, grid);
|
|
78
|
+
// }
|
|
79
|
+
|
|
80
|
+
// :where(&:not(& &))::part(section-footer-stack) {
|
|
81
|
+
// :where(&)::part(section-footer-stack) {
|
|
82
|
+
// display: var(--section--footerstack-display, grid);
|
|
83
|
+
// }
|
|
84
|
+
|
|
85
|
+
/* :where(&:not(& &))::part(section-footer-stack),
|
|
86
|
+
:where(&:not(& &))::part(section-header-stack) {
|
|
87
|
+
// pointer-events: none;
|
|
88
|
+
|
|
89
|
+
// outline: red solid 1px;
|
|
90
|
+
|
|
91
|
+
padding-inline: calc(var(--list--root-padding-inline, 0px) + var(--toolbaritempadistart, 0px))
|
|
92
|
+
calc(var(--list--root-padding-inline, 0px) + var(--toolbaritempadiend, 0px));
|
|
93
|
+
|
|
94
|
+
margin-inline: calc(var(--list--root-padding-inline) * -1);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// :where(&:not(& &) [slot='header'] span) {
|
|
98
|
+
// backdrop-filter: blur(10px);
|
|
99
|
+
// }
|
|
100
|
+
|
|
101
|
+
:where(&:not(& &))::part(section-header-stack) {
|
|
102
|
+
top: var(--navigation-bar-block-size);
|
|
103
|
+
|
|
104
|
+
position: sticky;
|
|
105
|
+
|
|
106
|
+
backdrop-filter: blur(20px);
|
|
107
|
+
|
|
108
|
+
// background: rgba(255, 255, 255, 0.5);
|
|
109
|
+
|
|
110
|
+
text-shadow: 0 0 5px var(--face);
|
|
111
|
+
} */
|
|
112
|
+
|
|
113
|
+
// :where(&:not(& &))::part(section-main-stack) {
|
|
114
|
+
// background-color: var(--groupedface,);
|
|
115
|
+
|
|
116
|
+
// border-radius: var(--toolbaritemradius,);
|
|
117
|
+
// }
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
[is='sheet-view'] {
|
|
6
|
+
:where(&) {
|
|
7
|
+
@include mixins.reset-dialog;
|
|
8
|
+
|
|
9
|
+
// dowh
|
|
10
|
+
overflow: clip;
|
|
11
|
+
width: 100lvw;
|
|
12
|
+
height: var(--100lvh, 100lvh);
|
|
13
|
+
|
|
14
|
+
transform: var(--sheet-view-translate,);
|
|
15
|
+
|
|
16
|
+
--sheet-view-translate: translateY(var(--view-transition-dialog-offscreen-y));
|
|
17
|
+
|
|
18
|
+
// :where(&[fine-presentation-large-adaptation='bottom-bar'] > tool-bar > [slot^='top-bar-']) {
|
|
19
|
+
// // FIXME: Add live tooltip
|
|
20
|
+
// // NOTE: By default toolbars items dialogs have only icons, (except if they define/force w/ labelStyle)
|
|
21
|
+
// :where(& > tool-bar > [slot='top-bar-leading'], & > tool-bar > [slot='top-bar-trailing']) {
|
|
22
|
+
// --label-style: icon-only;
|
|
23
|
+
// }
|
|
24
|
+
|
|
25
|
+
// // NOTE: By default bottombar items dialogs on iphone have only icons, (except if they define/force w/ labelStyle)
|
|
26
|
+
// @media (pointer: coarse) {
|
|
27
|
+
// :where(& > tool-bar > [slot^='bottom-bar-']) {
|
|
28
|
+
// --label-style: icon-only;
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
|
|
32
|
+
@media (pointer: coarse) and (orientation: portrait) {
|
|
33
|
+
clip-path: inset(var(--safe-area-inset-top) 0 0 0 round 2rem 2rem 0 0);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@include mixins.if-ipad-sheet-fits {
|
|
38
|
+
:where(&) {
|
|
39
|
+
clip-path: none;
|
|
40
|
+
|
|
41
|
+
max-width: #{vars.$ipad-sheet-view-inline-size};
|
|
42
|
+
|
|
43
|
+
aspect-ratio: #{vars.$ipad-sheet-view-aspect-ratio};
|
|
44
|
+
|
|
45
|
+
border-radius: 26px;
|
|
46
|
+
|
|
47
|
+
margin: var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom) var(--safe-area-inset-left);
|
|
48
|
+
|
|
49
|
+
height: auto;
|
|
50
|
+
|
|
51
|
+
inset-inline-start: calc(
|
|
52
|
+
var(--inset-inline-start-resettor, 1) * calc(50lvw - calc(#{vars.$ipad-sheet-view-inline-size} / 2) - calc(calc(var(--safe-area-inset-left) + var(--safe-area-inset-right)) / 2))
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
inset-block-start: calc(50lvh - calc(#{vars.$ipad-sheet-view-height} / 2) - calc(calc(var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) / 2));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:where(& scroll-view) {
|
|
59
|
+
border-radius: 26px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// NOTE: Safari-only mod for closing animation
|
|
63
|
+
@supports not selector(:open) {
|
|
64
|
+
&:has(&:not([open])) {
|
|
65
|
+
:where(&) {
|
|
66
|
+
overflow: visible;
|
|
67
|
+
}
|
|
68
|
+
scroll-view:has(~ body-view) {
|
|
69
|
+
&,
|
|
70
|
+
& ~ tool-bar {
|
|
71
|
+
:where(&) {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:where(& &:not([open])) {
|
|
79
|
+
inset-inline-start: 0;
|
|
80
|
+
|
|
81
|
+
inset-block-start: 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@include mixins.if-2col-split-view-fits {
|
|
86
|
+
// navigation-split-view & {
|
|
87
|
+
// margin-inline-start: calc(
|
|
88
|
+
// var(--safe-area-inset-left) - var(--nav-split-view-content-inline-size)
|
|
89
|
+
// );
|
|
90
|
+
// }
|
|
91
|
+
|
|
92
|
+
// navigation-split-view[visibility='three-column'] & {
|
|
93
|
+
// margin-inline-start: calc(
|
|
94
|
+
// var(--safe-area-inset-left) - var(
|
|
95
|
+
// --nav-split-view-content-inline-size
|
|
96
|
+
// ) - var(--nav-split-view-sidebar-inline-size)
|
|
97
|
+
// );
|
|
98
|
+
// }
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@mixin make-ipad-stoggle($selector) {
|
|
5
|
+
:where(#{$selector} [is='tab-bar'] > [is='form-view'] > &) {
|
|
6
|
+
position: sticky;
|
|
7
|
+
|
|
8
|
+
left: 0;
|
|
9
|
+
|
|
10
|
+
backdrop-filter: blur(20px);
|
|
11
|
+
|
|
12
|
+
border-radius: inherit;
|
|
13
|
+
// inline-size: fit-content;
|
|
14
|
+
// order: -1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:where(#{$selector} > &) {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@layer #{vars.$components-layer} {
|
|
23
|
+
sidebar-toggle {
|
|
24
|
+
tab-view:not([tab-view-style='tab-bar-only']) > &, // this is landscape toggle
|
|
25
|
+
navigation-split-view > & {
|
|
26
|
+
:where(&) {
|
|
27
|
+
position: fixed;
|
|
28
|
+
|
|
29
|
+
inset: max(env(safe-area-inset-top), var(--sidebar-block-spacing)) auto auto 0; //max(env(safe-area-inset-left), var(--sidebar-spacing));
|
|
30
|
+
|
|
31
|
+
padding-inline-start: max(env(safe-area-inset-left), var(--sidebar-inline-spacing));
|
|
32
|
+
|
|
33
|
+
block-size: calc(var(--safe-area-inset-top) + var(--navigation-bar-block-size));
|
|
34
|
+
|
|
35
|
+
// place-items: center;
|
|
36
|
+
|
|
37
|
+
place-content: center;
|
|
38
|
+
|
|
39
|
+
grid-template-rows: var(--toolbar-cell-min-size);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:where(& > *) {
|
|
43
|
+
min-inline-size: var(--toolbar-cell-min-size);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include mixins.if-ipad-portrait {
|
|
48
|
+
tab-view navigation-split-view > & {
|
|
49
|
+
inset-block-start: calc(max(env(safe-area-inset-top), var(--sidebar-block-spacing)) + var(--ipad-tabbar-block-size));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// ANCHOR: TABVIEW
|
|
54
|
+
|
|
55
|
+
@media (pointer: fine) {
|
|
56
|
+
@include make-ipad-stoggle("tab-view[tab-view-style='tab-bar-only']");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@include mixins.if-iphone-portrait {
|
|
60
|
+
:where(tab-view:not([tab-view-style='tab-bar-only']) [is='tab-bar'] > [is='form-view'] > &, tab-view:not([tab-view-style='tab-bar-only']) > &) {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@include mixins.if-ipad-portrait {
|
|
66
|
+
@include make-ipad-stoggle("tab-view:not([tab-view-style='tab-bar-only'])");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@include mixins.if-iphone-landscape {
|
|
70
|
+
:where(tab-view:not([tab-view-style='tab-bar-only']) [is='tab-bar'] > [is='form-view'] > &) {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include mixins.if-ipad-landscape {
|
|
76
|
+
:where(
|
|
77
|
+
tab-view:not([tab-view-style='tab-bar-only']) [is='tab-bar'] > [is='form-view'] > &,
|
|
78
|
+
tab-view:not([tab-view-style='tab-bar-only']) > &,
|
|
79
|
+
tab-view:not([tab-view-style='tab-bar-only']) > [is='sidebar-view'] > tool-bar > &
|
|
80
|
+
) {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// ANCHOR: NSPLITVIEW
|
|
86
|
+
|
|
87
|
+
@include mixins.ifnot-2col-split-view-fits {
|
|
88
|
+
:where(navigation-split-view > &) {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@include mixins.if-3col-split-view-fits {
|
|
94
|
+
:where(navigation-split-view > &) {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@include mixins.if-2col-split-view-fits {
|
|
100
|
+
:where(navigation-split-view:not(:has(> [is='sidebar-view'])) > &) {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:where(navigation-split-view:has(> [is='sidebar-view']):not([preferred-compact-column='content']) > &, navigation-split-view:has(> [is='sidebar-view'])[column-visibility='double-column'] > &) {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// @include mixins.if-2col-split-view-fits {
|
|
110
|
+
// @include mixins.if-3col-split-view-fits {
|
|
111
|
+
// navigation-split-view:has(
|
|
112
|
+
// > dialog[is='sidebar-view']
|
|
113
|
+
// )[preferred-compact-column='content'] {
|
|
114
|
+
// > & {
|
|
115
|
+
// //
|
|
116
|
+
// }
|
|
117
|
+
// }
|
|
118
|
+
// }
|
|
119
|
+
// }
|
|
120
|
+
}
|
|
121
|
+
}
|