@wix/himalaya-cli 0.1950.0 → 0.1952.0
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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +10 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +38 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +9 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{bb3ece9e6e814275817059f029f1b2db624dceb90d9e1a53ebae2b45fe6d36e5.bin → 15c152934a97a0d3de15946239a0037a38603f1972d2288b59945bd28a0fd237.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +151 -97
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-index.md +1 -1
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +4 -0
- package/guides/one-app-to-himi-app.md +7 -4
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +56 -5
- package/templates/branded-lite/recipes/blog-list.json +56 -5
- package/templates/branded-lite/recipes/blog-see-all.json +1 -1
- package/templates/branded-lite/recipes/plans-card.json +18 -1
- package/templates/branded-lite/recipes/upcoming-bookings.json +87 -30
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +34 -10
- package/templates/branded-lite/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +31 -15
- package/templates/branded-lite/tier5-src/_shared/plans-section.ts +7 -3
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +27 -5
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/community-club/l10n/ar.json +44 -0
- package/templates/community-club/l10n/cs.json +44 -0
- package/templates/community-club/l10n/da.json +44 -0
- package/templates/community-club/l10n/de.json +44 -0
- package/templates/community-club/l10n/el.json +44 -0
- package/templates/community-club/l10n/en.json +27 -0
- package/templates/community-club/l10n/es.json +44 -0
- package/templates/community-club/l10n/fi.json +44 -0
- package/templates/community-club/l10n/fr.json +44 -0
- package/templates/community-club/l10n/he.json +36 -0
- package/templates/community-club/l10n/hu.json +44 -0
- package/templates/community-club/l10n/id.json +44 -0
- package/templates/community-club/l10n/it.json +44 -0
- package/templates/community-club/l10n/ja.json +44 -0
- package/templates/community-club/l10n/ko.json +44 -0
- package/templates/community-club/l10n/lt.json +44 -0
- package/templates/community-club/l10n/nl.json +44 -0
- package/templates/community-club/l10n/no.json +44 -0
- package/templates/community-club/l10n/pl.json +44 -0
- package/templates/community-club/l10n/pt.json +44 -0
- package/templates/community-club/l10n/ru.json +44 -0
- package/templates/community-club/l10n/sv.json +44 -0
- package/templates/community-club/l10n/th.json +44 -0
- package/templates/community-club/l10n/tr.json +44 -0
- package/templates/community-club/l10n/uk.json +44 -0
- package/templates/community-club/l10n/vi.json +44 -0
- package/templates/community-club/l10n/zh.json +44 -0
- package/templates/community-club/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/events-meetups/l10n/ar.json +44 -0
- package/templates/events-meetups/l10n/cs.json +44 -0
- package/templates/events-meetups/l10n/da.json +44 -0
- package/templates/events-meetups/l10n/de.json +44 -0
- package/templates/events-meetups/l10n/el.json +44 -0
- package/templates/events-meetups/l10n/en.json +27 -0
- package/templates/events-meetups/l10n/es.json +44 -0
- package/templates/events-meetups/l10n/fi.json +44 -0
- package/templates/events-meetups/l10n/fr.json +44 -0
- package/templates/events-meetups/l10n/he.json +36 -0
- package/templates/events-meetups/l10n/hu.json +44 -0
- package/templates/events-meetups/l10n/id.json +44 -0
- package/templates/events-meetups/l10n/it.json +44 -0
- package/templates/events-meetups/l10n/ja.json +44 -0
- package/templates/events-meetups/l10n/ko.json +44 -0
- package/templates/events-meetups/l10n/lt.json +44 -0
- package/templates/events-meetups/l10n/nl.json +44 -0
- package/templates/events-meetups/l10n/no.json +44 -0
- package/templates/events-meetups/l10n/pl.json +44 -0
- package/templates/events-meetups/l10n/pt.json +44 -0
- package/templates/events-meetups/l10n/ru.json +44 -0
- package/templates/events-meetups/l10n/sv.json +44 -0
- package/templates/events-meetups/l10n/th.json +44 -0
- package/templates/events-meetups/l10n/tr.json +44 -0
- package/templates/events-meetups/l10n/uk.json +44 -0
- package/templates/events-meetups/l10n/vi.json +44 -0
- package/templates/events-meetups/l10n/zh.json +44 -0
- package/templates/events-meetups/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/fitness-gym/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/gym-fitness/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/medical-services/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/nonprofit-cause/l10n/ar.json +38 -0
- package/templates/nonprofit-cause/l10n/cs.json +38 -0
- package/templates/nonprofit-cause/l10n/da.json +38 -0
- package/templates/nonprofit-cause/l10n/de.json +38 -0
- package/templates/nonprofit-cause/l10n/el.json +38 -0
- package/templates/nonprofit-cause/l10n/en.json +20 -0
- package/templates/nonprofit-cause/l10n/es.json +38 -0
- package/templates/nonprofit-cause/l10n/fi.json +38 -0
- package/templates/nonprofit-cause/l10n/fr.json +38 -0
- package/templates/nonprofit-cause/l10n/he.json +31 -0
- package/templates/nonprofit-cause/l10n/hu.json +38 -0
- package/templates/nonprofit-cause/l10n/id.json +38 -0
- package/templates/nonprofit-cause/l10n/it.json +38 -0
- package/templates/nonprofit-cause/l10n/ja.json +38 -0
- package/templates/nonprofit-cause/l10n/ko.json +38 -0
- package/templates/nonprofit-cause/l10n/lt.json +38 -0
- package/templates/nonprofit-cause/l10n/nl.json +38 -0
- package/templates/nonprofit-cause/l10n/no.json +38 -0
- package/templates/nonprofit-cause/l10n/pl.json +38 -0
- package/templates/nonprofit-cause/l10n/pt.json +38 -0
- package/templates/nonprofit-cause/l10n/ru.json +38 -0
- package/templates/nonprofit-cause/l10n/sv.json +38 -0
- package/templates/nonprofit-cause/l10n/th.json +38 -0
- package/templates/nonprofit-cause/l10n/tr.json +38 -0
- package/templates/nonprofit-cause/l10n/uk.json +38 -0
- package/templates/nonprofit-cause/l10n/vi.json +38 -0
- package/templates/nonprofit-cause/l10n/zh.json +38 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/podcast-creator/l10n/ar.json +38 -0
- package/templates/podcast-creator/l10n/cs.json +38 -0
- package/templates/podcast-creator/l10n/da.json +38 -0
- package/templates/podcast-creator/l10n/de.json +38 -0
- package/templates/podcast-creator/l10n/el.json +38 -0
- package/templates/podcast-creator/l10n/en.json +20 -0
- package/templates/podcast-creator/l10n/es.json +38 -0
- package/templates/podcast-creator/l10n/fi.json +38 -0
- package/templates/podcast-creator/l10n/fr.json +38 -0
- package/templates/podcast-creator/l10n/he.json +31 -0
- package/templates/podcast-creator/l10n/hu.json +38 -0
- package/templates/podcast-creator/l10n/id.json +38 -0
- package/templates/podcast-creator/l10n/it.json +38 -0
- package/templates/podcast-creator/l10n/ja.json +38 -0
- package/templates/podcast-creator/l10n/ko.json +38 -0
- package/templates/podcast-creator/l10n/lt.json +38 -0
- package/templates/podcast-creator/l10n/nl.json +38 -0
- package/templates/podcast-creator/l10n/no.json +38 -0
- package/templates/podcast-creator/l10n/pl.json +38 -0
- package/templates/podcast-creator/l10n/pt.json +38 -0
- package/templates/podcast-creator/l10n/ru.json +38 -0
- package/templates/podcast-creator/l10n/sv.json +38 -0
- package/templates/podcast-creator/l10n/th.json +38 -0
- package/templates/podcast-creator/l10n/tr.json +38 -0
- package/templates/podcast-creator/l10n/uk.json +38 -0
- package/templates/podcast-creator/l10n/vi.json +38 -0
- package/templates/podcast-creator/l10n/zh.json +38 -0
- package/templates/podcast-creator/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/portfolio-creative/l10n/ar.json +38 -0
- package/templates/portfolio-creative/l10n/cs.json +38 -0
- package/templates/portfolio-creative/l10n/da.json +38 -0
- package/templates/portfolio-creative/l10n/de.json +38 -0
- package/templates/portfolio-creative/l10n/el.json +38 -0
- package/templates/portfolio-creative/l10n/en.json +20 -0
- package/templates/portfolio-creative/l10n/es.json +38 -0
- package/templates/portfolio-creative/l10n/fi.json +38 -0
- package/templates/portfolio-creative/l10n/fr.json +38 -0
- package/templates/portfolio-creative/l10n/he.json +31 -0
- package/templates/portfolio-creative/l10n/hu.json +38 -0
- package/templates/portfolio-creative/l10n/id.json +38 -0
- package/templates/portfolio-creative/l10n/it.json +38 -0
- package/templates/portfolio-creative/l10n/ja.json +38 -0
- package/templates/portfolio-creative/l10n/ko.json +38 -0
- package/templates/portfolio-creative/l10n/lt.json +38 -0
- package/templates/portfolio-creative/l10n/nl.json +38 -0
- package/templates/portfolio-creative/l10n/no.json +38 -0
- package/templates/portfolio-creative/l10n/pl.json +38 -0
- package/templates/portfolio-creative/l10n/pt.json +38 -0
- package/templates/portfolio-creative/l10n/ru.json +38 -0
- package/templates/portfolio-creative/l10n/sv.json +38 -0
- package/templates/portfolio-creative/l10n/th.json +38 -0
- package/templates/portfolio-creative/l10n/tr.json +38 -0
- package/templates/portfolio-creative/l10n/uk.json +38 -0
- package/templates/portfolio-creative/l10n/vi.json +38 -0
- package/templates/portfolio-creative/l10n/zh.json +38 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/professional-services/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/restaurant/l10n/ar.json +38 -0
- package/templates/restaurant/l10n/cs.json +38 -0
- package/templates/restaurant/l10n/da.json +38 -0
- package/templates/restaurant/l10n/de.json +38 -0
- package/templates/restaurant/l10n/el.json +38 -0
- package/templates/restaurant/l10n/en.json +20 -0
- package/templates/restaurant/l10n/es.json +38 -0
- package/templates/restaurant/l10n/fi.json +38 -0
- package/templates/restaurant/l10n/fr.json +38 -0
- package/templates/restaurant/l10n/he.json +31 -0
- package/templates/restaurant/l10n/hu.json +38 -0
- package/templates/restaurant/l10n/id.json +38 -0
- package/templates/restaurant/l10n/it.json +38 -0
- package/templates/restaurant/l10n/ja.json +38 -0
- package/templates/restaurant/l10n/ko.json +38 -0
- package/templates/restaurant/l10n/lt.json +38 -0
- package/templates/restaurant/l10n/nl.json +38 -0
- package/templates/restaurant/l10n/no.json +38 -0
- package/templates/restaurant/l10n/pl.json +38 -0
- package/templates/restaurant/l10n/pt.json +38 -0
- package/templates/restaurant/l10n/ru.json +38 -0
- package/templates/restaurant/l10n/sv.json +38 -0
- package/templates/restaurant/l10n/th.json +38 -0
- package/templates/restaurant/l10n/tr.json +38 -0
- package/templates/restaurant/l10n/uk.json +38 -0
- package/templates/restaurant/l10n/vi.json +38 -0
- package/templates/restaurant/l10n/zh.json +38 -0
- package/templates/restaurant/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/retail-store/l10n/ar.json +38 -0
- package/templates/retail-store/l10n/cs.json +38 -0
- package/templates/retail-store/l10n/da.json +38 -0
- package/templates/retail-store/l10n/de.json +38 -0
- package/templates/retail-store/l10n/el.json +38 -0
- package/templates/retail-store/l10n/en.json +20 -0
- package/templates/retail-store/l10n/es.json +38 -0
- package/templates/retail-store/l10n/fi.json +38 -0
- package/templates/retail-store/l10n/fr.json +38 -0
- package/templates/retail-store/l10n/he.json +31 -0
- package/templates/retail-store/l10n/hu.json +38 -0
- package/templates/retail-store/l10n/id.json +38 -0
- package/templates/retail-store/l10n/it.json +38 -0
- package/templates/retail-store/l10n/ja.json +38 -0
- package/templates/retail-store/l10n/ko.json +38 -0
- package/templates/retail-store/l10n/lt.json +38 -0
- package/templates/retail-store/l10n/nl.json +38 -0
- package/templates/retail-store/l10n/no.json +38 -0
- package/templates/retail-store/l10n/pl.json +38 -0
- package/templates/retail-store/l10n/pt.json +38 -0
- package/templates/retail-store/l10n/ru.json +38 -0
- package/templates/retail-store/l10n/sv.json +38 -0
- package/templates/retail-store/l10n/th.json +38 -0
- package/templates/retail-store/l10n/tr.json +38 -0
- package/templates/retail-store/l10n/uk.json +38 -0
- package/templates/retail-store/l10n/vi.json +38 -0
- package/templates/retail-store/l10n/zh.json +38 -0
- package/templates/retail-store/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/salon-spa/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/yoga-studio/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +10 -30
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -128,6 +128,12 @@ export interface Gradient {
|
|
|
128
128
|
start?: string;
|
|
129
129
|
end?: string;
|
|
130
130
|
}
|
|
131
|
+
/** #6663 — `Modifiers.topBand`. `extent`: `"bar"` (default) = the top bar's inset; `"bar+status"` = that plus one more
|
|
132
|
+
* status-bar height. Unknown ⇒ `"bar"`. */
|
|
133
|
+
export interface TopBand {
|
|
134
|
+
gradient?: Gradient;
|
|
135
|
+
extent?: string;
|
|
136
|
+
}
|
|
131
137
|
/** Motion grammar (Batch 1) — enter/exit transition for a subtree. Generalizes
|
|
132
138
|
* `appear`: `enter`/`exit` ∈ fade|slide|scale|fadeSlide|none, `direction` ∈
|
|
133
139
|
* up|down|leading|trailing (for slide), `motion` names a `motions` token for
|
|
@@ -168,6 +174,10 @@ export interface Modifiers {
|
|
|
168
174
|
/** #6256 — "tap": a tap inside this node that no control handles dismisses the software keyboard
|
|
169
175
|
* (RN `keyboardShouldPersistTaps="handled"`); controls keep their taps. Unknown ⇒ off. */
|
|
170
176
|
keyboardDismiss?: string;
|
|
177
|
+
/** #6663 — a gradient painted on the screen's BACKDROP (the page-colour layer behind the root): from the window
|
|
178
|
+
* top, full width, behind the content. Honoured on a screen's ROOT only (`top_band_not_root` warns elsewhere);
|
|
179
|
+
* it takes no layout, never scrolls, and is not drawn when the top bar's inset is 0. */
|
|
180
|
+
topBand?: TopBand;
|
|
171
181
|
/** #4675 — the border drawn while a text field inside this node has focus, in place of `border` (CSS
|
|
172
182
|
* `:focus-within`). Follows the node's corner radius. Unset ⇒ `border` in both states. */
|
|
173
183
|
focusWithinBorder?: Border;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts
CHANGED
|
@@ -1341,6 +1341,18 @@ export declare const screenDescriptorSchema: {
|
|
|
1341
1341
|
readonly keyboardDismiss: {
|
|
1342
1342
|
readonly type: "string";
|
|
1343
1343
|
};
|
|
1344
|
+
readonly topBand: {
|
|
1345
|
+
readonly type: "object";
|
|
1346
|
+
readonly additionalProperties: false;
|
|
1347
|
+
readonly properties: {
|
|
1348
|
+
readonly gradient: {
|
|
1349
|
+
readonly $ref: "#/$defs/gradient";
|
|
1350
|
+
};
|
|
1351
|
+
readonly extent: {
|
|
1352
|
+
readonly type: "string";
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
};
|
|
1344
1356
|
readonly focusWithinBorder: {
|
|
1345
1357
|
readonly type: "object";
|
|
1346
1358
|
readonly additionalProperties: false;
|
|
@@ -1915,6 +1927,11 @@ export interface ValidatorOptions {
|
|
|
1915
1927
|
*/
|
|
1916
1928
|
allowedComponents?: Set<string>;
|
|
1917
1929
|
}
|
|
1930
|
+
export interface ValidationWarning {
|
|
1931
|
+
path: string;
|
|
1932
|
+
code: "top_band_not_root";
|
|
1933
|
+
message: string;
|
|
1934
|
+
}
|
|
1918
1935
|
export interface ValidationResult {
|
|
1919
1936
|
ok: boolean;
|
|
1920
1937
|
schemaErrors: ErrorObject[];
|
|
@@ -1924,7 +1941,15 @@ export interface ValidationResult {
|
|
|
1924
1941
|
package: string;
|
|
1925
1942
|
type: string;
|
|
1926
1943
|
}[];
|
|
1944
|
+
/** Advisory findings: they never make `ok` false. */
|
|
1945
|
+
warnings: ValidationWarning[];
|
|
1927
1946
|
}
|
|
1947
|
+
/** The `top_band` extents a renderer knows; anything else reads as the default, `"bar"`. */
|
|
1948
|
+
export declare const TOP_BAND_EXTENTS: readonly ["bar", "bar+status"];
|
|
1949
|
+
export declare const topBandExtent: (extent: unknown) => (typeof TOP_BAND_EXTENTS)[number];
|
|
1950
|
+
/** #6663 — `modifiers.topBand` is honoured on a screen's root (`payload`) only; any other node carrying it is ignored
|
|
1951
|
+
* by every renderer, so say so. */
|
|
1952
|
+
export declare function findTopBandWarnings(descriptor: unknown): ValidationWarning[];
|
|
1928
1953
|
export declare class FixtureValidator {
|
|
1929
1954
|
private validateFn;
|
|
1930
1955
|
private tokenRegistry?;
|
|
@@ -3069,6 +3094,18 @@ export declare const widgetSnapshotSchema: {
|
|
|
3069
3094
|
readonly keyboardDismiss: {
|
|
3070
3095
|
readonly type: "string";
|
|
3071
3096
|
};
|
|
3097
|
+
readonly topBand: {
|
|
3098
|
+
readonly type: "object";
|
|
3099
|
+
readonly additionalProperties: false;
|
|
3100
|
+
readonly properties: {
|
|
3101
|
+
readonly gradient: {
|
|
3102
|
+
readonly $ref: "#/$defs/gradient";
|
|
3103
|
+
};
|
|
3104
|
+
readonly extent: {
|
|
3105
|
+
readonly type: "string";
|
|
3106
|
+
};
|
|
3107
|
+
};
|
|
3108
|
+
};
|
|
3072
3109
|
readonly focusWithinBorder: {
|
|
3073
3110
|
readonly type: "object";
|
|
3074
3111
|
readonly additionalProperties: false;
|
|
@@ -9814,6 +9814,15 @@ var screenDescriptorSchema = {
|
|
|
9814
9814
|
imagePreview: { type: "string" },
|
|
9815
9815
|
topInset: { type: "string" },
|
|
9816
9816
|
keyboardDismiss: { type: "string" },
|
|
9817
|
+
// #6663 — a backdrop gradient on a screen's root; `extent` is open ("bar" | "bar+status", unknown ⇒ "bar").
|
|
9818
|
+
topBand: {
|
|
9819
|
+
type: "object",
|
|
9820
|
+
additionalProperties: false,
|
|
9821
|
+
properties: {
|
|
9822
|
+
gradient: { $ref: "#/$defs/gradient" },
|
|
9823
|
+
extent: { type: "string" }
|
|
9824
|
+
}
|
|
9825
|
+
},
|
|
9817
9826
|
// #4675 — the border while a field inside has focus; same shape as `border`.
|
|
9818
9827
|
focusWithinBorder: {
|
|
9819
9828
|
type: "object",
|
|
@@ -10086,6 +10095,30 @@ var screenDescriptorSchema = {
|
|
|
10086
10095
|
}
|
|
10087
10096
|
}
|
|
10088
10097
|
};
|
|
10098
|
+
var TOP_BAND_EXTENTS = ["bar", "bar+status"];
|
|
10099
|
+
var topBandExtent = (extent) => extent === "bar+status" ? "bar+status" : "bar";
|
|
10100
|
+
function findTopBandWarnings(descriptor) {
|
|
10101
|
+
const out = [];
|
|
10102
|
+
const walk2 = (node, path) => {
|
|
10103
|
+
if (node === null || typeof node !== "object") return;
|
|
10104
|
+
if (Array.isArray(node)) {
|
|
10105
|
+
node.forEach((item, i) => walk2(item, `${path}[${i}]`));
|
|
10106
|
+
return;
|
|
10107
|
+
}
|
|
10108
|
+
const obj = node;
|
|
10109
|
+
const mods = obj.modifiers;
|
|
10110
|
+
if (mods && typeof mods === "object" && mods.topBand != null && path !== "$.payload") {
|
|
10111
|
+
out.push({
|
|
10112
|
+
path: `${path}.modifiers.topBand`,
|
|
10113
|
+
code: "top_band_not_root",
|
|
10114
|
+
message: "modifiers.topBand is honoured only on a screen's root node (payload); renderers ignore it here"
|
|
10115
|
+
});
|
|
10116
|
+
}
|
|
10117
|
+
for (const [key, value] of Object.entries(obj)) walk2(value, `${path}.${key}`);
|
|
10118
|
+
};
|
|
10119
|
+
walk2(descriptor, "$");
|
|
10120
|
+
return out;
|
|
10121
|
+
}
|
|
10089
10122
|
var screenValidateFn;
|
|
10090
10123
|
function compileScreenSchema() {
|
|
10091
10124
|
if (!screenValidateFn) {
|
|
@@ -10115,7 +10148,8 @@ var FixtureValidator = class {
|
|
|
10115
10148
|
ok: schemaErrors.length === 0 && tokenViolations.length === 0 && unknownComponents.length === 0,
|
|
10116
10149
|
schemaErrors,
|
|
10117
10150
|
tokenViolations,
|
|
10118
|
-
unknownComponents
|
|
10151
|
+
unknownComponents,
|
|
10152
|
+
warnings: findTopBandWarnings(descriptor)
|
|
10119
10153
|
};
|
|
10120
10154
|
}
|
|
10121
10155
|
};
|
|
@@ -17105,6 +17139,7 @@ export {
|
|
|
17105
17139
|
SURFACE_VIEW_LADDER,
|
|
17106
17140
|
SYSTEM_FONT_FAMILY,
|
|
17107
17141
|
TONAL_ELEVATION_ALPHA,
|
|
17142
|
+
TOP_BAND_EXTENTS,
|
|
17108
17143
|
UNIVERSAL_LAUNCH_NAMESPACES,
|
|
17109
17144
|
WEBVIEW_EMBEDDED_ENUMS,
|
|
17110
17145
|
WIDGET_COMPONENTS,
|
|
@@ -17167,6 +17202,7 @@ export {
|
|
|
17167
17202
|
extractPreviewToken,
|
|
17168
17203
|
extractReleasePin,
|
|
17169
17204
|
findTokenViolations,
|
|
17205
|
+
findTopBandWarnings,
|
|
17170
17206
|
fitChassis,
|
|
17171
17207
|
impliedKeyboard,
|
|
17172
17208
|
isComponentAllowed,
|
|
@@ -17265,6 +17301,7 @@ export {
|
|
|
17265
17301
|
surfaceRenderMode,
|
|
17266
17302
|
surfacesForApp,
|
|
17267
17303
|
tonalElevationAlpha,
|
|
17304
|
+
topBandExtent,
|
|
17268
17305
|
unwrapAppLink,
|
|
17269
17306
|
validate,
|
|
17270
17307
|
validateAll,
|
|
@@ -7762,6 +7762,15 @@ var screenDescriptorSchema = {
|
|
|
7762
7762
|
imagePreview: { type: "string" },
|
|
7763
7763
|
topInset: { type: "string" },
|
|
7764
7764
|
keyboardDismiss: { type: "string" },
|
|
7765
|
+
// #6663 — a backdrop gradient on a screen's root; `extent` is open ("bar" | "bar+status", unknown ⇒ "bar").
|
|
7766
|
+
topBand: {
|
|
7767
|
+
type: "object",
|
|
7768
|
+
additionalProperties: false,
|
|
7769
|
+
properties: {
|
|
7770
|
+
gradient: { $ref: "#/$defs/gradient" },
|
|
7771
|
+
extent: { type: "string" }
|
|
7772
|
+
}
|
|
7773
|
+
},
|
|
7765
7774
|
// #4675 — the border while a field inside has focus; same shape as `border`.
|
|
7766
7775
|
focusWithinBorder: {
|
|
7767
7776
|
type: "object",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2837248
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"name": "host.html",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bytes": 24320
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "preview-deferred/
|
|
24
|
+
"name": "preview-deferred/15c152934a97a0d3de15946239a0037a38603f1972d2288b59945bd28a0fd237.bin",
|
|
25
25
|
"bytes": 488215
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
],
|
|
80
80
|
"deferred": [
|
|
81
81
|
{
|
|
82
|
-
"key": "assets/pdf-
|
|
82
|
+
"key": "assets/pdf-DbnS12nK.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "15c152934a97a0d3de15946239a0037a38603f1972d2288b59945bd28a0fd237",
|
|
85
|
+
"file": "preview-deferred/15c152934a97a0d3de15946239a0037a38603f1972d2288b59945bd28a0fd237.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|