@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,175 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
@use 'sass:string';
|
|
4
|
+
|
|
5
|
+
@layer #{vars.$components-layer} {
|
|
6
|
+
[is='disclosure-group'] {
|
|
7
|
+
:where(&) {
|
|
8
|
+
overflow: clip;
|
|
9
|
+
|
|
10
|
+
--disclosure--host-details-content-block-size: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@supports (x: #{string.unquote('if(else:red)')}) {
|
|
14
|
+
:where(&) {
|
|
15
|
+
--disclosure--marker-display: if(style(--disclosure-style: marker-trailing): ; style(--disclosure-style: marker-leading): ; else: none;);
|
|
16
|
+
|
|
17
|
+
--disclosure--summary-grid-auto-flow: if(style(--disclosure-style: marker-trailing): column ; style(--disclosure-style: marker-leading): column ;);
|
|
18
|
+
|
|
19
|
+
--disclosure--summary-gap: if(style(--disclosure-style: marker-trailing): 0.1rem ; style(--disclosure-style: marker-leading): 0.1rem ;);
|
|
20
|
+
|
|
21
|
+
--disclosure--summary-grid-template-columns: if(style(--disclosure-style: marker-trailing): minmax(0, 1fr) auto ; style(--disclosure-style: marker-leading): auto minmax(0, 1fr) ;);
|
|
22
|
+
|
|
23
|
+
--disclosure--marker-order: if(style(--disclosure-style: marker-leading): -1 ;);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@supports not (x: #{string.unquote('if(else:red)')}) {
|
|
28
|
+
:where(&) {
|
|
29
|
+
--disclosure-style: ;
|
|
30
|
+
|
|
31
|
+
--disclosure--summary-grid-template-columns: ;
|
|
32
|
+
--disclosure--summary-grid-auto-flow: ;
|
|
33
|
+
--disclosure--summary-gap: ;
|
|
34
|
+
|
|
35
|
+
--disclosure--marker-display: none;
|
|
36
|
+
--disclosure--marker-transform: ;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
> summary {
|
|
41
|
+
:where(&) {
|
|
42
|
+
gap: var(--disclosure--summary-gap,);
|
|
43
|
+
|
|
44
|
+
grid-auto-flow: var(--disclosure--summary-grid-auto-flow,);
|
|
45
|
+
|
|
46
|
+
grid-template-columns: var(--disclosure--summary-grid-template-columns,);
|
|
47
|
+
|
|
48
|
+
@include mixins.make-marker-pseudos(vars.$disclosure-affordance);
|
|
49
|
+
|
|
50
|
+
&::after {
|
|
51
|
+
display: var(--disclosure--marker-display,);
|
|
52
|
+
|
|
53
|
+
block-size: 1rem;
|
|
54
|
+
inline-size: 1rem;
|
|
55
|
+
|
|
56
|
+
background-color: var(--blue);
|
|
57
|
+
|
|
58
|
+
transform: var(--disclosure--marker-transform,);
|
|
59
|
+
|
|
60
|
+
order: var(--disclosure--marker-order,);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@supports not (x: #{string.unquote('if(else:red)')}) {
|
|
65
|
+
:where(&) {
|
|
66
|
+
// @container not (style(--disclosure-style: marker-trailing) or style(--disclosure-style: marker-leading)) {
|
|
67
|
+
// --disclosure--marker-display: none;
|
|
68
|
+
// }
|
|
69
|
+
@container style(--disclosure-style: marker-trailing) or style(--disclosure-style: marker-leading) {
|
|
70
|
+
--disclosure--marker-display: grid;
|
|
71
|
+
}
|
|
72
|
+
@container style(--disclosure-style: marker-trailing) or style(--disclosure-style: marker-leading) {
|
|
73
|
+
--disclosure--summary-grid-auto-flow: column;
|
|
74
|
+
|
|
75
|
+
--disclosure--summary-gap: 0.1rem;
|
|
76
|
+
}
|
|
77
|
+
@container style(--disclosure-style: marker-trailing) {
|
|
78
|
+
--disclosure--summary-grid-template-columns: minmax(0, 1fr) auto;
|
|
79
|
+
}
|
|
80
|
+
@container style(--disclosure-style: marker-leading) {
|
|
81
|
+
--disclosure--summary-grid-template-columns: auto minmax(0, 1fr);
|
|
82
|
+
|
|
83
|
+
--disclosure--marker-order: -1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:where(&)::details-content {
|
|
90
|
+
display: grid;
|
|
91
|
+
|
|
92
|
+
background: transparent;
|
|
93
|
+
|
|
94
|
+
block-size: var(--disclosure--host-details-content-block-size);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:where(& > *:not(summary)) {
|
|
98
|
+
margin: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&[open] {
|
|
102
|
+
:where(&) {
|
|
103
|
+
--disclosure--host-details-content-block-size: auto;
|
|
104
|
+
|
|
105
|
+
--disclosure--marker-transform: rotate(90deg);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@supports not (interpolate-size: allow-keywords) {
|
|
110
|
+
:where(&) {
|
|
111
|
+
grid-template-rows: var(--disclosure--host-grid-template-rows);
|
|
112
|
+
|
|
113
|
+
align-items: start;
|
|
114
|
+
align-content: start;
|
|
115
|
+
|
|
116
|
+
--disclosure--host-grid-template-rows: auto 0fr;
|
|
117
|
+
|
|
118
|
+
--disclosure--host-details-content-block-size: auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:where(&)::details-content {
|
|
122
|
+
// block-size: auto;
|
|
123
|
+
|
|
124
|
+
content-visibility: visible;
|
|
125
|
+
|
|
126
|
+
min-height: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&[open] {
|
|
130
|
+
:where(&) {
|
|
131
|
+
--disclosure--host-grid-template-rows: auto 1fr;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@supports (x: #{string.unquote('attr(x type(*))')}) {
|
|
137
|
+
:where(&) {
|
|
138
|
+
--disclosure-style: attr(disclosure-style type(<custom-ident>), inherit);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
@supports not (x: #{string.unquote('attr(x type(*))')}) {
|
|
142
|
+
:where(&[disclosure-style='marker-trailing']) {
|
|
143
|
+
--disclosure-style: marker-trailing;
|
|
144
|
+
|
|
145
|
+
// SAFARI FIX (specify manually attr to avoid flashing)
|
|
146
|
+
@supports not (x: #{string.unquote('if(else:red)')}) {
|
|
147
|
+
--disclosure--marker-display: grid;
|
|
148
|
+
|
|
149
|
+
--disclosure--summary-grid-auto-flow: column;
|
|
150
|
+
|
|
151
|
+
--disclosure--summary-gap: 0.1rem;
|
|
152
|
+
|
|
153
|
+
--disclosure--summary-grid-template-columns: minmax(0, 1fr) auto;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
:where(&[disclosure-style='marker-leading']) {
|
|
157
|
+
--disclosure-style: marker-leading;
|
|
158
|
+
|
|
159
|
+
// SAFARI FIX (specify manually attr to avoid flashing)
|
|
160
|
+
@supports not (x: #{string.unquote('if(else:red)')}) {
|
|
161
|
+
--disclosure--marker-display: grid;
|
|
162
|
+
|
|
163
|
+
--disclosure--summary-grid-auto-flow: column;
|
|
164
|
+
|
|
165
|
+
--disclosure--summary-gap: 0.1rem;
|
|
166
|
+
|
|
167
|
+
--disclosure--summary-grid-template-columns: auto minmax(0, 1fr);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
:where(&[disclosure-style='marker-hidden']) {
|
|
171
|
+
--disclosure-style: ;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$tab-components-layer} {
|
|
5
|
+
fine-tooltip {
|
|
6
|
+
:where(&) {
|
|
7
|
+
color: var(--text,);
|
|
8
|
+
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
touch-action: none;
|
|
11
|
+
|
|
12
|
+
position: fixed;
|
|
13
|
+
|
|
14
|
+
inline-size: max-content;
|
|
15
|
+
block-size: max-content;
|
|
16
|
+
height: auto; // safari
|
|
17
|
+
|
|
18
|
+
max-inline-size: 80vw;
|
|
19
|
+
max-block-size: 80vh;
|
|
20
|
+
|
|
21
|
+
margin-block: var(--tooltip--dialog-margin-block,);
|
|
22
|
+
margin-inline: var(--tooltip--dialog-margin-inline,);
|
|
23
|
+
|
|
24
|
+
transform: var(--tooltip--dialog-scale,) var(--tooltip--dialog-translate,);
|
|
25
|
+
opacity: var(--tooltip--dialog-opacity,);
|
|
26
|
+
transform-origin: top;
|
|
27
|
+
|
|
28
|
+
position-anchor: --fine-tooltip; // overriden
|
|
29
|
+
position-area: bottom center;
|
|
30
|
+
|
|
31
|
+
overflow: clip;
|
|
32
|
+
border-radius: 0.9rem;
|
|
33
|
+
|
|
34
|
+
backdrop-filter: var(--liquid-glass-backdrop-filter,);
|
|
35
|
+
box-shadow: var(--menu-popover-box-shadow,);
|
|
36
|
+
|
|
37
|
+
padding-block: 0.5rem;
|
|
38
|
+
padding-inline: 1rem;
|
|
39
|
+
gap: 0.5rem;
|
|
40
|
+
|
|
41
|
+
border: none;
|
|
42
|
+
|
|
43
|
+
position-try-fallbacks: --custom-top;
|
|
44
|
+
position-try-order: most-height;
|
|
45
|
+
position-visibility: anchors-visible;
|
|
46
|
+
|
|
47
|
+
// finally
|
|
48
|
+
--tooltip--dialog-translate: translateY(-10%);
|
|
49
|
+
--tooltip--dialog-scale: scale(0.9);
|
|
50
|
+
--tooltip--dialog-opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[open] {
|
|
54
|
+
:where(&) {
|
|
55
|
+
--tooltip--dialog-margin-block: max(env(safe-area-inset-top), var(--menu-spacing)) max(env(safe-area-inset-bottom), var(--menu-spacing));
|
|
56
|
+
--tooltip--dialog-margin-inline: max(env(safe-area-inset-left), var(--menu-spacing)) max(env(safe-area-inset-right), var(--menu-spacing));
|
|
57
|
+
|
|
58
|
+
--tooltip--dialog-translate: translateY(0);
|
|
59
|
+
--tooltip--dialog-scale: scale(1);
|
|
60
|
+
--tooltip--dialog-opacity: 0.9;
|
|
61
|
+
|
|
62
|
+
@starting-style {
|
|
63
|
+
--tooltip--dialog-translate: translateY(-10%);
|
|
64
|
+
--tooltip--dialog-scale: scale(0.9);
|
|
65
|
+
--tooltip--dialog-opacity: 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&[closing] {
|
|
71
|
+
:where(&) {
|
|
72
|
+
--tooltip--dialog-translate: translateY(-10%);
|
|
73
|
+
--tooltip--dialog-scale: scale(0.9);
|
|
74
|
+
--tooltip--dialog-opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@position-try --custom-top {
|
|
81
|
+
position-area: top center;
|
|
82
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
@use '../placeholders';
|
|
4
|
+
@use 'sass:string';
|
|
5
|
+
@use 'sass:map';
|
|
6
|
+
|
|
7
|
+
$form-ifs: (
|
|
8
|
+
inset: (
|
|
9
|
+
--list--host-background-color: var(--insetform-background-color,),
|
|
10
|
+
--list--host-padding-inline: var(--insetform-padding-inline),
|
|
11
|
+
--list--host-padding-block: var(--insetform-padding-block),
|
|
12
|
+
//
|
|
13
|
+
--list--item-color: var(--insetform-item-color,),
|
|
14
|
+
--list--item-background-color: var(--insetform-item-background-color,),
|
|
15
|
+
--list--highlighteditem-color: var(--insetform-highlighteditem-color,),
|
|
16
|
+
--list--highlighteditem-background-color: var(--insetform-highlighteditem-background-color,),
|
|
17
|
+
--list--item-border-radius: var(--insetform-item-border-radius),
|
|
18
|
+
//
|
|
19
|
+
--list--adjacentdetailsitem-border-radius: 0,
|
|
20
|
+
//
|
|
21
|
+
--list--details-background-color: var(--insetform-openitem-background-color,),
|
|
22
|
+
--list--details-color: var(--insetform-openitem-color,),
|
|
23
|
+
--list--opendetails-background-color: var(--insetform-openitem-background-color,),
|
|
24
|
+
--list--opendetails-color: var(--insetform-openitem-color,),
|
|
25
|
+
--list--opensummary-background-color: var(--insetform-opensummary-background-color,),
|
|
26
|
+
--list--opensummary-color: var(--insetform-opensummary-color,),
|
|
27
|
+
),
|
|
28
|
+
inset-grouped: (
|
|
29
|
+
--list--host-background-color: var(--insetgroupedform-background-color,),
|
|
30
|
+
--list--host-padding-inline: var(--insetgroupedform-padding-inline),
|
|
31
|
+
--list--host-padding-block: var(--insetgroupedform-padding-block),
|
|
32
|
+
//
|
|
33
|
+
--list--item-color: var(--insetgroupedform-item-color,),
|
|
34
|
+
--list--item-background-color: var(--insetgroupedform-item-background-color,),
|
|
35
|
+
--list--item-border-radius: var(--insetform-item-border-radius),
|
|
36
|
+
--list--highlighteditem-color: var(--insetgroupedform-highlighteditem-color,),
|
|
37
|
+
--list--highlighteditem-background-color: var(--insetgroupedform-highlighteditem-background-color,),
|
|
38
|
+
//
|
|
39
|
+
--list--adjacentitem-border-radius: 0,
|
|
40
|
+
//
|
|
41
|
+
--list--details-background-color: var(--insetgroupedform-openitem-background-color,),
|
|
42
|
+
--list--details-color: var(--insetgroupedform-openitem-color,),
|
|
43
|
+
--list--opendetails-background-color: var(--insetgroupedform-openitem-background-color,),
|
|
44
|
+
--list--opendetails-color: var(--insetgroupedform-openitem-color,),
|
|
45
|
+
--list--opensummary-background-color: var(--insetgroupedform-opensummary-background-color,),
|
|
46
|
+
--list--opensummary-color: var(--insetgroupedform-opensummary-color,),
|
|
47
|
+
),
|
|
48
|
+
sidebar: (
|
|
49
|
+
--list--item-border-radius: var(--insetform-item-border-radius),
|
|
50
|
+
--list--details-gap: var(--form-gap),
|
|
51
|
+
--list--rootsummary-padding-inline-start: 5px,
|
|
52
|
+
--list--rootsummary-padding-inline-end: 5px,
|
|
53
|
+
--list--rootsummary-padding-block-start: 2px,
|
|
54
|
+
--list--rootsummary-padding-block-end: 2px,
|
|
55
|
+
|
|
56
|
+
--list--item-padding-inline-start: 5px,
|
|
57
|
+
--list--item-padding-inline-end: 5px,
|
|
58
|
+
--list--item-padding-block-start: 5px,
|
|
59
|
+
--list--item-padding-block-end: 5px,
|
|
60
|
+
|
|
61
|
+
--list--adjacentitem-border-radius: unset,
|
|
62
|
+
//
|
|
63
|
+
--list--host-background-color: var(--sidebarform-background-color,),
|
|
64
|
+
--list--host-padding-inline: var(--sidebarform-padding-inline),
|
|
65
|
+
--list--host-padding-block: var(--sidebarform-padding-block),
|
|
66
|
+
//
|
|
67
|
+
--list--item-background-color: var(--sidebarform-item-background-color,),
|
|
68
|
+
--list--item-color: var(--sidebarform-item-color,),
|
|
69
|
+
--list--highlighteditem-background-color: var(--sidebarform-highlighteditem-background-color,),
|
|
70
|
+
--list--highlighteditem-color: var(--sidebarform-highlighteditem-color,),
|
|
71
|
+
//
|
|
72
|
+
--list--rootsummary-background-color: transparent,
|
|
73
|
+
--list--rootsummary-color: var(--primary,),
|
|
74
|
+
// --list--rootsummary-border-radius: 0px,
|
|
75
|
+
--list--selectedrootsummary-background-color: transparent,
|
|
76
|
+
--list--selectedrootsummary-color: var(--primary,),
|
|
77
|
+
//
|
|
78
|
+
--list--separator-background-color: transparent,
|
|
79
|
+
--list--activeseparator-background-color: transparent,
|
|
80
|
+
//
|
|
81
|
+
--list--details-background-color: var(--sidebarform-openitem-background-color,),
|
|
82
|
+
--list--details-color: var(--sidebarform-openitem-color,),
|
|
83
|
+
--list--opensummary-background-color: var(--sidebarform-opensummary-background-color,),
|
|
84
|
+
--list--opensummary-color: var(--sidebarform-opensummary-color,),
|
|
85
|
+
//
|
|
86
|
+
// --list--item-grid-template-columns: minmax(0, 1fr),
|
|
87
|
+
--list--accessories-display: none,
|
|
88
|
+
//
|
|
89
|
+
--list--rootsummary-marker-display: marker-trailing,
|
|
90
|
+
),
|
|
91
|
+
);
|
|
92
|
+
$form-elses: (
|
|
93
|
+
--list--host-background-color: var(--form-background-color,),
|
|
94
|
+
--list--item-padding-inline-start: var(--form-item-padding-inline-start),
|
|
95
|
+
--list--item-padding-inline-end: var(--form-item-padding-inline-end),
|
|
96
|
+
--list--item-padding-block-start: var(--form-item-padding-block-start),
|
|
97
|
+
--list--item-padding-block-end: var(--form-item-padding-block-end),
|
|
98
|
+
--list--item-background-color: var(--form-item-background-color,),
|
|
99
|
+
--list--highlighteditem-background-color: var(--form-highlighteditem-background-color,),
|
|
100
|
+
--list--item-color: var(--form-item-color,),
|
|
101
|
+
--list--highlighteditem-color: var(--form-highlighteditem-color,),
|
|
102
|
+
//
|
|
103
|
+
// --list--item-grid-template-columns: minmax(0, 1fr) 1rem,
|
|
104
|
+
--list--accessories-size: 1.1rem,
|
|
105
|
+
--list--accessories-display: grid,
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
@layer #{vars.$components-layer} {
|
|
109
|
+
[is='form-view'] {
|
|
110
|
+
&:not(& &, list-view &, table-view &, [is='tab-bar'] > &) {
|
|
111
|
+
@extend %list;
|
|
112
|
+
|
|
113
|
+
// wire
|
|
114
|
+
:where(&) {
|
|
115
|
+
--list--section-gap: var(--form-gap);
|
|
116
|
+
|
|
117
|
+
@include mixins.write-props($form-elses);
|
|
118
|
+
|
|
119
|
+
// --list--item-padding-inline-start: var(--form-item-padding-inline-start);
|
|
120
|
+
// --list--item-padding-inline-end: var(--form-item-padding-inline-end);
|
|
121
|
+
// --list--item-padding-block-start: var(--form-item-padding-block-start);
|
|
122
|
+
// --list--item-padding-block-end: var(--form-item-padding-block-end);
|
|
123
|
+
|
|
124
|
+
// --list--item-background-color: var(--list-item-background-color,);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
:where(section-view:has(> [slot='header']), section-view:has(> [slot='footer']) + section-view) {
|
|
128
|
+
--list--section-gap: var(--form-extra-gap);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// SECTION: ifs
|
|
132
|
+
@supports (x: #{string.unquote('if(else:red)')}) {
|
|
133
|
+
:where(&) {
|
|
134
|
+
@include mixins.write-ifs(--form-style, $form-ifs, $form-elses);
|
|
135
|
+
// --list--root-padding-inline: if(style(--form-style: inset-grouped): 0.5rem ; style(--form-style: sidebar): 0.5rem ;);
|
|
136
|
+
|
|
137
|
+
// --toolbaritemradius: if(style(--form-style: inset-grouped): 1rem ; style(--form-style: sidebar): 1rem ;);
|
|
138
|
+
|
|
139
|
+
// --list--separator-block-size: if(style(--form-style: sidebar): 0px ;);
|
|
140
|
+
// --list--separator-visibility: if(style(--form-style: collapse): 0px ;);
|
|
141
|
+
|
|
142
|
+
// --list--root-background-color: if(style(--form-style: sidebar): transparent ;);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// SECTION: ifs polyfill
|
|
147
|
+
@supports not (x: #{string.unquote('if(else:red)')}) {
|
|
148
|
+
:where(&:not([form-style])) {
|
|
149
|
+
@each $v in vars.$form-styles {
|
|
150
|
+
@container style(--form-style: #{$v}) {
|
|
151
|
+
@include mixins.write-props(map.get($form-ifs, $v)); //@include set-form-style($v);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
@each $v in vars.$form-styles {
|
|
156
|
+
:where(&[form-style='#{$v}']) {
|
|
157
|
+
@include mixins.write-props(map.get($form-ifs, $v)); //@include set-form-style($v);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
@include mixins.if-2col-split-view-fits {
|
|
161
|
+
:where(navigation-split-view [is='sidebar-view'] &[form-style]) {
|
|
162
|
+
@include mixins.write-props(map.get($form-ifs, sidebar));
|
|
163
|
+
}
|
|
164
|
+
:where(navigation-split-view > scroll-view &[preferred-expanded-style], navigation-split-view > body-view > scroll-view &[preferred-expanded-style]) {
|
|
165
|
+
@include mixins.write-props(map.get($form-ifs, inset));
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// SECTION: attrs finally
|
|
171
|
+
@supports (x: #{string.unquote('attr(x type(*))')}) {
|
|
172
|
+
:where(&) {
|
|
173
|
+
--form-style: attr(form-style type(<custom-ident>), inherit);
|
|
174
|
+
}
|
|
175
|
+
@include mixins.if-2col-split-view-fits {
|
|
176
|
+
:where(navigation-split-view:has(> [is='sidebar-view']) > [is='sidebar-view'] &[list-style]) {
|
|
177
|
+
--form-style: sidebar;
|
|
178
|
+
}
|
|
179
|
+
:where(navigation-split-view > scroll-view &[preferred-expanded-style], navigation-split-view > body-view > scroll-view &[preferred-expanded-style]) {
|
|
180
|
+
--form-style: inset;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// FINALLY AFTER ALL IFS
|
|
186
|
+
// TODO: Also apply this on state of sidebar w/ full-screen detail 2/2
|
|
187
|
+
@include mixins.if-2col-split-view-fits {
|
|
188
|
+
:where(navigation-split-view > scroll-view &, navigation-split-view > body-view > scroll-view &) {
|
|
189
|
+
// --list--item-grid-template-columns: minmax(0, 1fr);
|
|
190
|
+
--list--accessories-display: none;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
[is='full-screen'] {
|
|
6
|
+
:where(&) {
|
|
7
|
+
@include mixins.reset-dialog;
|
|
8
|
+
|
|
9
|
+
// dowh
|
|
10
|
+
overflow: clip;
|
|
11
|
+
inline-size: 100lvw;
|
|
12
|
+
block-size: var(--100lvh, 100lvh);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../placeholders';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
[is='glass-button'] {
|
|
6
|
+
@extend %button;
|
|
7
|
+
|
|
8
|
+
:where(&) {
|
|
9
|
+
backdrop-filter: var(--liquid-glass-backdrop-filter);
|
|
10
|
+
|
|
11
|
+
box-shadow: var(--toolbar-cell-box-shadow);
|
|
12
|
+
|
|
13
|
+
transform: var(--btn--scale,);
|
|
14
|
+
|
|
15
|
+
--btnpadistart: var(--regular-btn-padding);
|
|
16
|
+
--btnpadiend: var(--regular-btn-padding);
|
|
17
|
+
--btnpadbstart: var(--regular-btn-padding);
|
|
18
|
+
--btnpadbend: var(--regular-btn-padding);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@each $size, $media in vars.$button-sizes {
|
|
22
|
+
:where(&[control-size='#{$size}']) {
|
|
23
|
+
--btnpadistart: var(--#{$size}-btn-padding);
|
|
24
|
+
--btnpadiend: var(--#{$size}-btn-padding);
|
|
25
|
+
--btnpadbstart: var(--#{$size}-btn-padding);
|
|
26
|
+
--btnpadbend: var(--#{$size}-btn-padding);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:where(&[role='destructive']) {
|
|
31
|
+
--accentColorEffective: var(--red);
|
|
32
|
+
--accentColorEffective4: var(--red4);
|
|
33
|
+
|
|
34
|
+
--accentColor: var(--red);
|
|
35
|
+
--accentColor2: var(--red2);
|
|
36
|
+
--accentColor3: var(--red3);
|
|
37
|
+
--accentColor4: var(--red4);
|
|
38
|
+
--accentColor5: var(--red5);
|
|
39
|
+
}
|
|
40
|
+
:where(&[role='confirm']) {
|
|
41
|
+
--accentColorEffective: var(--blue);
|
|
42
|
+
--accentColorEffective4: var(--blue4);
|
|
43
|
+
|
|
44
|
+
--accentColor: var(--blue);
|
|
45
|
+
--accentColor2: var(--blue2);
|
|
46
|
+
--accentColor3: var(--blue3);
|
|
47
|
+
--accentColor4: var(--blue4);
|
|
48
|
+
--accentColor5: var(--blue5);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@layer #{vars.$utils-layer} {
|
|
54
|
+
[is='glass-button'] {
|
|
55
|
+
:where(&) {
|
|
56
|
+
text-align: center;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../placeholders';
|
|
3
|
+
|
|
4
|
+
@layer #{vars.$components-layer} {
|
|
5
|
+
[is='glass-prominent-button'] {
|
|
6
|
+
@extend %button;
|
|
7
|
+
|
|
8
|
+
:where(&) {
|
|
9
|
+
backdrop-filter: var(--liquid-glass-backdrop-filter);
|
|
10
|
+
|
|
11
|
+
box-shadow: var(--toolbar-cell-box-shadow);
|
|
12
|
+
|
|
13
|
+
transform: var(--btn--scale,);
|
|
14
|
+
|
|
15
|
+
--btnpadistart: var(--regular-btn-padding);
|
|
16
|
+
--btnpadiend: var(--regular-btn-padding);
|
|
17
|
+
--btnpadbstart: var(--regular-btn-padding);
|
|
18
|
+
--btnpadbend: var(--regular-btn-padding);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@each $size, $media in vars.$button-sizes {
|
|
22
|
+
:where(&[control-size='#{$size}']) {
|
|
23
|
+
--btnpadistart: var(--#{$size}-btn-padding);
|
|
24
|
+
--btnpadiend: var(--#{$size}-btn-padding);
|
|
25
|
+
--btnpadbstart: var(--#{$size}-btn-padding);
|
|
26
|
+
--btnpadbend: var(--#{$size}-btn-padding);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:where(&[role='destructive']) {
|
|
31
|
+
--accentColorEffective: var(--red);
|
|
32
|
+
--accentColorEffective4: var(--red4);
|
|
33
|
+
|
|
34
|
+
--accentColor: var(--red);
|
|
35
|
+
--accentColor2: var(--red2);
|
|
36
|
+
--accentColor3: var(--red3);
|
|
37
|
+
--accentColor4: var(--red4);
|
|
38
|
+
--accentColor5: var(--red5);
|
|
39
|
+
}
|
|
40
|
+
:where(&[role='confirm']) {
|
|
41
|
+
--accentColorEffective: var(--blue);
|
|
42
|
+
--accentColorEffective4: var(--blue4);
|
|
43
|
+
|
|
44
|
+
--accentColor: var(--blue);
|
|
45
|
+
--accentColor2: var(--blue2);
|
|
46
|
+
--accentColor3: var(--blue3);
|
|
47
|
+
--accentColor4: var(--blue4);
|
|
48
|
+
--accentColor5: var(--blue5);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@layer #{vars.$colors-layer} {
|
|
54
|
+
[is='glass-prominent-button'] > * {
|
|
55
|
+
:where(&) {
|
|
56
|
+
--secondary: var(--btntext);
|
|
57
|
+
--blue: var(--btntext);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@layer #{vars.$utils-layer} {
|
|
63
|
+
[is='glass-prominent-button'] {
|
|
64
|
+
:where(&) {
|
|
65
|
+
text-align: center;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
|
|
3
|
+
@layer #{vars.$components-layer} {
|
|
4
|
+
h-flex-stack {
|
|
5
|
+
:where(&) {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-flow: row nowrap;
|
|
8
|
+
|
|
9
|
+
place-items: safe center;
|
|
10
|
+
place-content: safe center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:where(& > *) {
|
|
14
|
+
max-block-size: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
> [frame-height='infinity'] {
|
|
18
|
+
:where(&) {
|
|
19
|
+
flex-grow: 1;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '../vars';
|
|
2
|
+
@use '../mixins';
|
|
3
|
+
@use 'sass:string';
|
|
4
|
+
@use 'sass:list';
|
|
5
|
+
|
|
6
|
+
$h-stack-templates: ((minmax(0, 1fr) auto), (auto minmax(0, 1fr) auto auto), (auto minmax(0, 1fr) auto), (repeat(4, minmax(0, 1fr))), (repeat(2, minmax(0, 1fr)) auto));
|
|
7
|
+
|
|
8
|
+
@layer #{vars.$components-layer} {
|
|
9
|
+
h-stack {
|
|
10
|
+
:where(&) {
|
|
11
|
+
grid-auto-flow: column;
|
|
12
|
+
grid-template-rows: minmax(0, 1fr);
|
|
13
|
+
|
|
14
|
+
place-items: safe center;
|
|
15
|
+
place-content: safe center;
|
|
16
|
+
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// > * {
|
|
21
|
+
// :where(&) {
|
|
22
|
+
// max-height: 100%;
|
|
23
|
+
// // align-self: start;
|
|
24
|
+
// }
|
|
25
|
+
// }
|
|
26
|
+
|
|
27
|
+
@include mixins.make-template($h-stack-templates, grid-template-columns);
|
|
28
|
+
}
|
|
29
|
+
}
|