@wix/himalaya-cli 0.1663.0 → 0.1664.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 +6 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +3 -2
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin → 7700021a25a8d932331f2abf6ba6c2f13b2a18cabfc4ce8b02aa0ed1ae973ffc.bin} +1 -1
- package/dist/browser-plane/sw.js +8 -8
- package/dist/cli.mjs +56 -45
- package/dist/preview-assets.generated.bin +0 -0
- package/fixtures/wix-canned.json +3 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +1 -0
- package/package.json +2 -2
- package/templates/beauty-salon/config.ts +1 -1
- package/templates/beauty-salon/l10n/en.json +1 -1
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/branded-lite/config.ts +1 -1
- package/templates/branded-lite/dev/index.ts +214 -122
- package/templates/branded-lite/l10n/en.json +18 -25
- package/templates/branded-lite/l10n/he.json +22 -17
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +144 -75
- package/templates/community-club/config.ts +1 -1
- package/templates/community-club/l10n/en.json +1 -1
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/conference/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/events-meetups/config.ts +1 -1
- package/templates/events-meetups/l10n/en.json +1 -1
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/gym-fitness/config.ts +1 -1
- package/templates/gym-fitness/l10n/en.json +1 -1
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/nonprofit-cause/config.ts +1 -1
- package/templates/nonprofit-cause/l10n/en.json +1 -1
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/podcast-creator/config.ts +1 -1
- package/templates/podcast-creator/l10n/en.json +1 -1
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/portfolio-creative/config.ts +1 -1
- package/templates/portfolio-creative/l10n/en.json +1 -1
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/restaurant/config.ts +1 -1
- package/templates/restaurant/l10n/en.json +1 -1
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/retail-store/config.ts +1 -1
- package/templates/retail-store/l10n/en.json +1 -1
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/yoga-studio/config.ts +1 -1
- package/templates/yoga-studio/l10n/en.json +1 -1
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +3 -4
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +3 -4
package/dist/cli.mjs
CHANGED
|
@@ -13359,7 +13359,6 @@ function buttonVariant(style) {
|
|
|
13359
13359
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, BUTTON_SIZES, BUTTON_MIN_HIT_TARGET, nonNegative, nonEmpty2, own2, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS, BUTTON_VARIANTS;
|
|
13360
13360
|
var init_tokens = __esm({
|
|
13361
13361
|
"../../core/ts/src/tokens.ts"() {
|
|
13362
|
-
"use strict";
|
|
13363
13362
|
init_define_HHP_CATALOG();
|
|
13364
13363
|
SYSTEM_FONT_FAMILY = "$system";
|
|
13365
13364
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
@@ -14008,10 +14007,11 @@ var init_validator = __esm({
|
|
|
14008
14007
|
accessibilityLabel: { type: "string" },
|
|
14009
14008
|
onTap: { $ref: "#/$defs/action" },
|
|
14010
14009
|
badge: { $ref: "#/$defs/navBadge" },
|
|
14011
|
-
// RFC 0010 slot bindings
|
|
14010
|
+
// RFC 0010 slot bindings; hiddenPath opts into the screen worker with field 10.
|
|
14012
14011
|
hiddenPath: { type: "string" },
|
|
14013
14012
|
labelPath: { type: "string" },
|
|
14014
|
-
iconPath: { type: "string" }
|
|
14013
|
+
iconPath: { type: "string" },
|
|
14014
|
+
hiddenPathScope: { type: "string" }
|
|
14015
14015
|
}
|
|
14016
14016
|
},
|
|
14017
14017
|
navBadge: {
|
|
@@ -19685,6 +19685,7 @@ function validateScreenDescriptor(screenId, served, opts = {}) {
|
|
|
19685
19685
|
}
|
|
19686
19686
|
};
|
|
19687
19687
|
scanEmbedded(descriptor, "");
|
|
19688
|
+
const rowTemplateRoots = [];
|
|
19688
19689
|
const scanLiteralOnly = (node3, at2) => {
|
|
19689
19690
|
if (Array.isArray(node3)) {
|
|
19690
19691
|
node3.forEach((v3, i2) => scanLiteralOnly(v3, `${at2}[${i2}]`));
|
|
@@ -19693,6 +19694,10 @@ function validateScreenDescriptor(screenId, served, opts = {}) {
|
|
|
19693
19694
|
if (!node3 || typeof node3 !== "object") return;
|
|
19694
19695
|
const record3 = node3;
|
|
19695
19696
|
const body = record3.body;
|
|
19697
|
+
const rowProps = body?.props;
|
|
19698
|
+
if (typeof body?.type === "string" && ITEMS_PATH_HOST_TYPES.has(body.type) && typeof rowProps?.itemsPath === "string" && (rowProps.itemsPath.startsWith("$service:") || rowProps.itemsPath.startsWith("$app:")) && WHOLE_VALUE_BINDING.test(rowProps.itemsPath) && Array.isArray(rowProps.items)) {
|
|
19699
|
+
rowTemplateRoots.push(`${at2}.body.props.items[`);
|
|
19700
|
+
}
|
|
19696
19701
|
const svcOnly = typeof body?.type === "string" && Object.hasOwn(SERVICE_ONLY_BINDING_PROPS, body.type) ? SERVICE_ONLY_BINDING_PROPS[body.type] : void 0;
|
|
19697
19702
|
if (svcOnly && body?.props && typeof body.props === "object") {
|
|
19698
19703
|
for (const key3 of svcOnly) {
|
|
@@ -19710,7 +19715,7 @@ function validateScreenDescriptor(screenId, served, opts = {}) {
|
|
|
19710
19715
|
const litProps = typeof body?.type === "string" && Object.hasOwn(LITERAL_ONLY_PROPS, body.type) ? LITERAL_ONLY_PROPS[body.type] : void 0;
|
|
19711
19716
|
if (litProps && body?.props && typeof body.props === "object") {
|
|
19712
19717
|
for (const [k2, val] of Object.entries(body.props)) {
|
|
19713
|
-
if (litProps.has(k2) && typeof val === "string" && WHOLE_VALUE_BINDING.test(val)) {
|
|
19718
|
+
if (litProps.has(k2) && typeof val === "string" && WHOLE_VALUE_BINDING.test(val) && !(val.startsWith("$item.") && rowTemplateRoots.some((root) => at2.startsWith(root)))) {
|
|
19714
19719
|
issues.push({
|
|
19715
19720
|
severity: strict ? "error" : "warning",
|
|
19716
19721
|
pass: "bindings",
|
|
@@ -35747,9 +35752,16 @@ function applyTopBarDefault(descriptor, config) {
|
|
|
35747
35752
|
const fallback = config?.navigation?.topBarDefault;
|
|
35748
35753
|
const own6 = descriptor?.topBar;
|
|
35749
35754
|
if (!fallback || own6) return descriptor;
|
|
35750
|
-
if (typeof fallback === "object"
|
|
35751
|
-
const
|
|
35752
|
-
|
|
35755
|
+
if (typeof fallback === "object") {
|
|
35756
|
+
const bar = fallback;
|
|
35757
|
+
const screenScoped = (action) => !!action && typeof action === "object" && action.hiddenPathScope === "screen";
|
|
35758
|
+
const resetActions = Array.isArray(bar.actions) && bar.actions.some(screenScoped);
|
|
35759
|
+
if ("searchable" in bar || resetActions) {
|
|
35760
|
+
const { searchable: _ignored, ...rest } = bar;
|
|
35761
|
+
return { ...descriptor, topBar: { ...rest, ...resetActions ? {
|
|
35762
|
+
actions: bar.actions.map((action) => screenScoped(action) ? { ...action, hiddenPathScope: "navigation" } : action)
|
|
35763
|
+
} : {} } };
|
|
35764
|
+
}
|
|
35753
35765
|
}
|
|
35754
35766
|
return { ...descriptor, topBar: fallback };
|
|
35755
35767
|
}
|
|
@@ -190848,48 +190860,48 @@ var init_preview_assets_generated = __esm({
|
|
|
190848
190860
|
init_define_HHP_CATALOG();
|
|
190849
190861
|
init_preview_assets_format();
|
|
190850
190862
|
PREVIEW_ASSET_MANIFEST = [
|
|
190851
|
-
{ key: "assets/DashboardHost-
|
|
190852
|
-
{ key: "assets/DevDrawer-
|
|
190853
|
-
{ key: "assets/IdiomCompare-
|
|
190854
|
-
{ key: "assets/LightboxViewer-
|
|
190855
|
-
{ key: "assets/OfflineReadingBar-
|
|
190856
|
-
{ key: "assets/PhonePreviewControl-
|
|
190857
|
-
{ key: "assets/SchemeCompare-
|
|
190858
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
190863
|
+
{ key: "assets/DashboardHost-CjnNHRQj.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2984, sha256: "32ce5b0584a4c0279311cd7558ad6beb12d138e905c55caaf6a7eac4f75e556b" },
|
|
190864
|
+
{ key: "assets/DevDrawer-BU91rdBV.js", contentType: "application/javascript; charset=utf-8", offset: 2992, length: 16783, sha256: "f079d1c95ef43a5e1a75a06fc193c3e8255ca35643bbfc2c46976672230ec598" },
|
|
190865
|
+
{ key: "assets/IdiomCompare-R5gmHCzu.js", contentType: "application/javascript; charset=utf-8", offset: 19775, length: 1926, sha256: "d2b13a11ca2f547112c921c7cb23b6d931dc5a51849694a1cc1516ca2202b4be" },
|
|
190866
|
+
{ key: "assets/LightboxViewer-CSBS635o.js", contentType: "application/javascript; charset=utf-8", offset: 21701, length: 17379, sha256: "68626002ab308671ad9f0e4175a18ea937ae11a745e3ac663b939663e2c20fd4" },
|
|
190867
|
+
{ key: "assets/OfflineReadingBar-Bw8qzdF_.js", contentType: "application/javascript; charset=utf-8", offset: 39080, length: 1646, sha256: "e67fba7bf40dd74ec813c3a98b11bcc1de8c2207889654db8d03b1cb3495bc5e" },
|
|
190868
|
+
{ key: "assets/PhonePreviewControl-D5y6vCPn.js", contentType: "application/javascript; charset=utf-8", offset: 40726, length: 37851, sha256: "718d57259a7a955bf09cd8e3985ca897270058de6b1782bbd4e35940738be404" },
|
|
190869
|
+
{ key: "assets/SchemeCompare-Ba4Y9Lux.js", contentType: "application/javascript; charset=utf-8", offset: 78577, length: 1858, sha256: "0ec65caf1c3ffadbaf23c9bc8b61966e109bad57e27a4fac1b39522f973d954e" },
|
|
190870
|
+
{ key: "assets/WixFrogTelemetrySink-BMCNiZRJ.js", contentType: "application/javascript; charset=utf-8", offset: 80435, length: 4492, sha256: "15f5315db56849af7fe7b3e581e45eb6bd5fd668d7bbbaacc63542cffc00357a" },
|
|
190859
190871
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 84927, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
190860
190872
|
{ key: "assets/catalog-CAoUWITw.js", contentType: "application/javascript; charset=utf-8", offset: 87119, length: 26046, sha256: "4c270ca3051f77d761aef1297125e02339d48493dd2b84a0cacf0faf41aa8cb3" },
|
|
190861
|
-
{ key: "assets/catalogFontFaces-
|
|
190873
|
+
{ key: "assets/catalogFontFaces-DHnnaE_4.js", contentType: "application/javascript; charset=utf-8", offset: 113165, length: 1111, sha256: "ffaf150198c1cb126944d945faecde8e66a6f95a17259e5a993c1c322312e6d2" },
|
|
190862
190874
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 114276, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
190863
|
-
{ key: "assets/files-transfer-
|
|
190864
|
-
{ key: "assets/frogApiRules-
|
|
190875
|
+
{ key: "assets/files-transfer-CSP_ucHI.js", contentType: "application/javascript; charset=utf-8", offset: 116843, length: 6446, sha256: "4c6e4cec37a19b8c6b76fb0b8d0eb0e82d5903b09ab26fe5e47ca6d65a1b9810" },
|
|
190876
|
+
{ key: "assets/frogApiRules-fMy6SKcy.js", contentType: "application/javascript; charset=utf-8", offset: 123289, length: 2207, sha256: "ec1ee4c036d8bff877e08bb04fd0a5bbbaa6a73daba524ddbcea503c645f8127" },
|
|
190865
190877
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 125496, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
190866
190878
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 132074, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
190867
|
-
{ key: "assets/index-
|
|
190868
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
190869
|
-
{ key: "assets/pdf-
|
|
190870
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
190871
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
190872
|
-
{ key: "assets/pdfDocument-
|
|
190873
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
190874
|
-
{ key: "assets/webviewBridgeHost-
|
|
190875
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
190876
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
190877
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
190878
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
190879
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
190880
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
190881
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
190882
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
190883
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
190884
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
190885
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
190886
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
190887
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
190888
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
190889
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
190890
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
190891
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
190892
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
190879
|
+
{ key: "assets/index-CIFNO_nG.js", contentType: "application/javascript; charset=utf-8", offset: 134778, length: 1560162, sha256: "368343375d43a9340bee35d3a3c126e04a855bef5bac889bc57a9c0c427fe74d" },
|
|
190880
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1694940, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
190881
|
+
{ key: "assets/pdf-N8fbtuvO.js", contentType: "application/javascript; charset=utf-8", offset: 1702691, length: 488215, sha256: "7700021a25a8d932331f2abf6ba6c2f13b2a18cabfc4ce8b02aa0ed1ae973ffc" },
|
|
190882
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2190906, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
190883
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2190996, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
190884
|
+
{ key: "assets/pdfDocument-DSadN3zb.js", contentType: "application/javascript; charset=utf-8", offset: 3508030, length: 3470, sha256: "d0b93e8566c2b615d7c2b55602cc5ac5b106841240b634ae9bc9d8b2cddfef08" },
|
|
190885
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3511500, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
190886
|
+
{ key: "assets/webviewBridgeHost-0znXiOYI.js", contentType: "application/javascript; charset=utf-8", offset: 3513766, length: 9888, sha256: "f61063ab6262c76086a8b67bc5d68e4f00040009d4bb234313fd0b6910ad7cb6" },
|
|
190887
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3523654, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
190888
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3528264, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
190889
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4016848, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
190890
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4107772, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
190891
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4198756, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
190892
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4289736, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
190893
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4380608, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
190894
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4471588, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
190895
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4580224, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
190896
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4689308, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
190897
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4798356, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
190898
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4906056, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
190899
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 4994164, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
190900
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5000982, length: 4924, sha256: "7a15078ef89b5a6f7b6135b7820c7f17a58b74e5945864a5f92a1d7953fcd976" },
|
|
190901
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5005906, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
190902
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5017363, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
190903
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5018534, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
|
|
190904
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5041581, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
|
|
190893
190905
|
];
|
|
190894
190906
|
}
|
|
190895
190907
|
});
|
|
@@ -210941,7 +210953,6 @@ var init_spaces_host_manifest = __esm({
|
|
|
210941
210953
|
"presigned_upload",
|
|
210942
210954
|
"push",
|
|
210943
210955
|
"speaker_diarization",
|
|
210944
|
-
"ui",
|
|
210945
210956
|
"wix-native",
|
|
210946
210957
|
"wix_cashier"
|
|
210947
210958
|
],
|
|
Binary file
|
package/fixtures/wix-canned.json
CHANGED
|
@@ -1632,6 +1632,9 @@
|
|
|
1632
1632
|
"total": 2
|
|
1633
1633
|
}
|
|
1634
1634
|
},
|
|
1635
|
+
"POST /members/v2/abouts/query": { "memberAbouts": [] },
|
|
1636
|
+
"GET /members/v3/badges": { "badges": [] },
|
|
1637
|
+
"POST /members/v3/badges/members": { "memberBadgeIds": [] },
|
|
1635
1638
|
"GET /members/v1/members/mem-0001": {
|
|
1636
1639
|
"member": {
|
|
1637
1640
|
"id": "mem-0001",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_comment": "GENERATED by core/web-embed/authoring/gen-reference.mjs from core/ts/src/schema.ts — do not hand-edit. The schema is the source of truth; regenerate on schema changes.",
|
|
3
3
|
"schemaSource": "core/ts/src/schema.ts",
|
|
4
|
-
"bindingGrammar": "$service:<service>.<path> (worker state) · $item.<field> (list row) · $flag:<key> (feature flag) · $env:<key> (client environment — #1056). Bindings resolve in the text/value props marked 'binding-aware' below — INCLUDING Modifiers token refs — but only `background` and `border.color`, which are the two whose token a binding actually fills: a worker can drive per-item theming (e.g. a game board's per-square color), not just text. `shadow` is NOT binding-aware on any renderer, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref — so `shadow: { token: \"$item.x\" }` and `backgroundGradient: { token: \"$item.x\" }` keep the sentinel and silently lose the per-item styling. Colour slots split by LEVEL, not by component: inside modifiers a colour is a TokenRef OBJECT ({ token: \"…\" }), inside props it is a bare TokenName STRING — there is no modifiers.color or modifiers.tint (see the 'Token slots' section in component-reference.md). A few input props render the LITERAL and are NOT binding-aware — notably SearchField.placeholder and Chip.label; SearchField.value is live and binding-aware like other content props. Bindings also CANNOT target strict-enum fields (style, size, alignment, severity, presentation, contentMode, …) — those fail at render, not validation. $env: is client-resolved (no worker) and valid in modifiers.hiddenPath and FragmentSlot.casePath ONLY — keys reduceMotion/colorScheme/sizeClass/isRTL/keyboardVisible, e.g. hiddenPath:\"$env:reduceMotion\" or hiddenPath:\"$env:colorScheme==light\", casePath:\"$env:colorScheme\"; unknown key fails open (shown / defaultCase).",
|
|
4
|
+
"bindingGrammar": "$service:<service>.<path> (worker state) · $item.<field> (list row) · $flag:<key> (feature flag) · $env:<key> (client environment — #1056). Bindings resolve in the text/value props marked 'binding-aware' below — INCLUDING Modifiers token refs — but only `background` and `border.color`, which are the two whose token a binding actually fills: a worker can drive per-item theming (e.g. a game board's per-square color), not just text. `shadow` is NOT binding-aware on any renderer, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref — so `shadow: { token: \"$item.x\" }` and `backgroundGradient: { token: \"$item.x\" }` keep the sentinel and silently lose the per-item styling. Colour slots split by LEVEL, not by component: inside modifiers a colour is a TokenRef OBJECT ({ token: \"…\" }), inside props it is a bare TokenName STRING — there is no modifiers.color or modifiers.tint (see the 'Token slots' section in component-reference.md). A few input props render the LITERAL and are NOT binding-aware — notably SearchField.placeholder and Chip.label (a bound collection row may use $item. because row values are substituted before decode; $service: is still not supported there); SearchField.value is live and binding-aware like other content props. Bindings also CANNOT target strict-enum fields (style, size, alignment, severity, presentation, contentMode, …) — those fail at render, not validation. $env: is client-resolved (no worker) and valid in modifiers.hiddenPath and FragmentSlot.casePath ONLY — keys reduceMotion/colorScheme/sizeClass/isRTL/keyboardVisible, e.g. hiddenPath:\"$env:reduceMotion\" or hiddenPath:\"$env:colorScheme==light\", casePath:\"$env:colorScheme\"; unknown key fails open (shown / defaultCase).",
|
|
5
5
|
"componentCount": 90,
|
|
6
6
|
"notImplementedComponents": [
|
|
7
7
|
"Text",
|
|
@@ -8,6 +8,7 @@ Binding grammar: `$service:<service>.<path>` (worker state) · `$item.<field>` (
|
|
|
8
8
|
Bindings resolve in the text/value props marked **binding-aware** below — **including two `Modifiers` token refs**, `background` and `border.color`, which are the only two whose token a binding actually fills: a worker can drive per-item **theming** (e.g. a game board's per-square color, `background: { token: "$item.bg" }`), not just text content. `shadow` and `backgroundGradient` are `TokenRef`s but are **not** binding-aware on any renderer — `shadow: { token: "$item.x" }` keeps the sentinel as a literal token name and silently loses the per-item styling, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref.
|
|
9
9
|
`$env:` is **client-resolved** (no worker) and valid in `modifiers.hiddenPath` and `FragmentSlot.casePath` **only** — keys `reduceMotion` / `colorScheme` / `sizeClass` / `isRTL` / `keyboardVisible` (an on-screen keyboard is up — `hiddenPath: "$env:keyboardVisible"` hides a header while typing), with an optional `==`/`!=` comparison (e.g. `hiddenPath: "$env:reduceMotion"`, `hiddenPath: "$env:colorScheme==light"`, `casePath: "$env:colorScheme"`). An unknown key fails open (shown / `defaultCase`).
|
|
10
10
|
A few input props render the **literal** and are **not** binding-aware — notably `SearchField.placeholder` and `Chip.label`. `SearchField.value` is live/binding-aware like other content props.
|
|
11
|
+
Within a bound collection's item template, `$item.` values are substituted before decoding, so a row's `Chip.label: "$item.title"` works. This does not make these props subscribe to `$service:`, and an item binding outside a row still renders literally.
|
|
11
12
|
They **cannot target strict-enum fields** (`style`, `size`, `alignment`, `severity`, `presentation`, `contentMode`, …) — those fail at render time, not validation.
|
|
12
13
|
|
|
13
14
|
The **Index** column below lists each component's bindable props — both `*Path` fields and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1664.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"artifactId": "himalaya-cli"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"falconPackageHash": "
|
|
75
|
+
"falconPackageHash": "3a4ff81dda3bb37e8c0b80b2e739c4cadbfabc1dee0b3c84fc65f394"
|
|
76
76
|
}
|
|
@@ -37,7 +37,7 @@ export default defineApp({
|
|
|
37
37
|
actions: "http://localhost:8190/v1/actions",
|
|
38
38
|
sync: "http://localhost:8190/v1/sync",
|
|
39
39
|
},
|
|
40
|
-
capabilities: ["live_activity","push","share","secure_storage","open_url","calendar","local_database","wix_api","wix_platform","app_info","iap","release_control","clipboard","theme","
|
|
40
|
+
capabilities: ["live_activity","push","share","ui","secure_storage","open_url","calendar","local_database","wix_api","wix_platform","app_info","iap","release_control","clipboard","theme","wix_cashier"],
|
|
41
41
|
cache: {
|
|
42
42
|
"rules": [
|
|
43
43
|
{
|
|
@@ -94,11 +94,10 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
|
|
|
94
94
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
/** `{ month: "short", year: "numeric" }` — "
|
|
97
|
+
/** `{ month: "short", year: "numeric" }` — "Jul 2026", without parsing a localized day.
|
|
98
|
+
* Like the other date helpers, an engine without Intl keeps the documented en-US fallback. */
|
|
98
99
|
export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
|
|
99
|
-
if (hasIntl()) {
|
|
100
|
-
return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
|
|
101
|
-
}
|
|
100
|
+
if (hasIntl()) return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
|
|
102
101
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
|
|
103
102
|
}
|
|
104
103
|
|
|
@@ -94,11 +94,10 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
|
|
|
94
94
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
/** `{ month: "short", year: "numeric" }` — "
|
|
97
|
+
/** `{ month: "short", year: "numeric" }` — "Jul 2026", without parsing a localized day.
|
|
98
|
+
* Like the other date helpers, an engine without Intl keeps the documented en-US fallback. */
|
|
98
99
|
export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
|
|
99
|
-
if (hasIntl()) {
|
|
100
|
-
return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
|
|
101
|
-
}
|
|
100
|
+
if (hasIntl()) return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
|
|
102
101
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
|
|
103
102
|
}
|
|
104
103
|
|
|
@@ -37,7 +37,7 @@ export default defineApp({
|
|
|
37
37
|
actions: "http://localhost:8190/v1/actions",
|
|
38
38
|
sync: "http://localhost:8190/v1/sync",
|
|
39
39
|
},
|
|
40
|
-
capabilities: ["live_activity","push","share","secure_storage","open_url","calendar","local_database","media_playback","wix_api","wix_platform","app_info","iap","release_control","clipboard","motion","wix_chat","theme","
|
|
40
|
+
capabilities: ["live_activity","push","share","ui","secure_storage","open_url","calendar","local_database","media_playback","wix_api","wix_platform","app_info","iap","release_control","clipboard","motion","wix_chat","theme","wix_cashier"],
|
|
41
41
|
cache: {
|
|
42
42
|
"rules": [
|
|
43
43
|
{
|