@wix/himalaya-cli 0.1691.0 → 0.1693.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{abe1a6a83f7be608db2b245996b6e96df786b9eaa6a7f78169a44341ee57ed14.bin → ab6f9bab7a27f9f93870fea2f2ab43e1fd6fa32bbe0299cf71515434f45fbb65.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +45 -42
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +17 -30
- package/guides/component-reference.md +2 -5
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -10335,7 +10335,9 @@ var init_build_lib = __esm({
|
|
|
10335
10335
|
"nano-viewer",
|
|
10336
10336
|
"nano-shared-widget",
|
|
10337
10337
|
// #4685: widget Edit hosts the same widget host as the Viewer.
|
|
10338
|
-
"nano-edit"
|
|
10338
|
+
"nano-edit",
|
|
10339
|
+
// #4692: the Explore pager installs the same widget host as the Viewer, once per page.
|
|
10340
|
+
"nano-explore-pager"
|
|
10339
10341
|
]);
|
|
10340
10342
|
_confinementRequired = false;
|
|
10341
10343
|
_trustedDependenciesOnly = false;
|
|
@@ -31820,7 +31822,6 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
31820
31822
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
31821
31823
|
var init_idiom = __esm({
|
|
31822
31824
|
"../../core/ts/src/idiom.ts"() {
|
|
31823
|
-
"use strict";
|
|
31824
31825
|
init_define_HHP_CATALOG();
|
|
31825
31826
|
IDIOM_CONTEXTS = {
|
|
31826
31827
|
ios: { native: ["ios"] },
|
|
@@ -33643,6 +33644,7 @@ function shouldRevealError(args) {
|
|
|
33643
33644
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
|
|
33644
33645
|
var init_validation = __esm({
|
|
33645
33646
|
"../../core/ts/src/validation.ts"() {
|
|
33647
|
+
"use strict";
|
|
33646
33648
|
init_define_HHP_CATALOG();
|
|
33647
33649
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
33648
33650
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
@@ -134299,12 +134301,13 @@ var init_renderNode = __esm({
|
|
|
134299
134301
|
const urlStr = typeof url === "string" && url.length > 0 && !isBinding(url) ? url : void 0;
|
|
134300
134302
|
const rawHtml = typeof inlineHtml === "string" && inlineHtml.length > 0 && !isBinding(inlineHtml) ? inlineHtml : void 0;
|
|
134301
134303
|
const config = webViewWebConfig(props2.config);
|
|
134302
|
-
const
|
|
134304
|
+
const primary = props2.role === "primary";
|
|
134305
|
+
const scrollEnabled = typeof props2.scrollEnabled === "boolean" ? props2.scrollEnabled : primary;
|
|
134303
134306
|
const htmlStr = rawHtml != null ? injectIntoInlineHtml(rawHtml, config, scrollEnabled) : void 0;
|
|
134304
134307
|
const urlAllowed = urlStr != null && (config.allowedOrigins.length === 0 || webViewOriginAllowed(urlStr, config.allowedOrigins));
|
|
134305
134308
|
const urlFrame = urlStr && urlAllowed ? webviewFrameSandbox(urlStr) : null;
|
|
134306
134309
|
const boundHeight = useResolvedScalar(props2.heightPath != null && isBinding(props2.heightPath) ? props2.heightPath : void 0, ctx);
|
|
134307
|
-
const fill2 = props2.fill === true;
|
|
134310
|
+
const fill2 = props2.fill === true || primary;
|
|
134308
134311
|
const h2 = typeof boundHeight === "number" && boundHeight > 0 ? boundHeight : typeof props2.height === "number" && props2.height > 0 ? props2.height : void 0;
|
|
134309
134312
|
const ar2 = typeof props2.aspectRatio === "number" && props2.aspectRatio > 0 ? props2.aspectRatio : void 0;
|
|
134310
134313
|
const frameStyle = { width: "100%", boxSizing: "border-box", border: "none", borderRadius: ctx.radius("md", 8), background: "#fff", ...scrollEnabled ? {} : { overflow: "hidden" }, ...fill2 ? { flex: "1 1 0", minHeight: 0 } : h2 ? { height: h2 } : ar2 ? { aspectRatio: String(ar2) } : { height: 200 } };
|
|
@@ -233651,51 +233654,51 @@ var init_preview_assets_generated = __esm({
|
|
|
233651
233654
|
init_define_HHP_CATALOG();
|
|
233652
233655
|
init_preview_assets_format();
|
|
233653
233656
|
PREVIEW_ASSET_MANIFEST = [
|
|
233654
|
-
{ key: "assets/DashboardHost-
|
|
233655
|
-
{ key: "assets/DevDrawer-
|
|
233656
|
-
{ key: "assets/IdiomCompare-
|
|
233657
|
-
{ key: "assets/LightboxViewer-
|
|
233658
|
-
{ key: "assets/OfflineReadingBar-
|
|
233659
|
-
{ key: "assets/PhonePreviewControl-
|
|
233660
|
-
{ key: "assets/SchemeCompare-
|
|
233661
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
233657
|
+
{ key: "assets/DashboardHost-DN2k8i6p.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "1697236d0fb0cdf1ad4604f95727f38a98db221ed827e91463c15879c087bf30" },
|
|
233658
|
+
{ key: "assets/DevDrawer-CIhAxUGI.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "f3e707afae1af350d64011e76c4118ca46cd254d54a95c1d8b0ade4363cc1410" },
|
|
233659
|
+
{ key: "assets/IdiomCompare-DHVxUChr.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "3cff01624eeb81176448b1e96353c4b5a1eb0adfd993a73f6ec741c20021551a" },
|
|
233660
|
+
{ key: "assets/LightboxViewer-BsxKZtQN.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 17382, sha256: "a0183c3005c185981bdb01d56c47f45896e025251ed6f7c7735803afe809b130" },
|
|
233661
|
+
{ key: "assets/OfflineReadingBar-BVMiDZd_.js", contentType: "application/javascript; charset=utf-8", offset: 39084, length: 1646, sha256: "740166f9eac2487c12f19222f6510bed66aad9b2f7961aaf63c55a3d9e96cff7" },
|
|
233662
|
+
{ key: "assets/PhonePreviewControl-DCSyMPzp.js", contentType: "application/javascript; charset=utf-8", offset: 40730, length: 37851, sha256: "d0951914583351a21e7a2cbf351135de8d1a3baae89a883293042002292b1b40" },
|
|
233663
|
+
{ key: "assets/SchemeCompare-DQ4zW3sE.js", contentType: "application/javascript; charset=utf-8", offset: 78581, length: 1858, sha256: "9cc4bd09e979297c1ab098d672441660559cd5759b15087891a5dd84495677e6" },
|
|
233664
|
+
{ key: "assets/WixFrogTelemetrySink-BDf8BVuF.js", contentType: "application/javascript; charset=utf-8", offset: 80439, length: 3515, sha256: "ecc057782da31188a8742c9b23dc40966786881122917dd2f8f2593ee43b8ae1" },
|
|
233662
233665
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 83954, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
233663
233666
|
{ key: "assets/catalog-CAoUWITw.js", contentType: "application/javascript; charset=utf-8", offset: 86146, length: 26046, sha256: "4c270ca3051f77d761aef1297125e02339d48493dd2b84a0cacf0faf41aa8cb3" },
|
|
233664
|
-
{ key: "assets/catalogFontFaces-
|
|
233667
|
+
{ key: "assets/catalogFontFaces-B48H1JeU.js", contentType: "application/javascript; charset=utf-8", offset: 112192, length: 1111, sha256: "5c15a6e69bfe34b3cd7ec4312dc6855667f5e808706ab0faa2888f851a97f3a7" },
|
|
233665
233668
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 113303, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
233666
|
-
{ key: "assets/files-transfer-
|
|
233669
|
+
{ key: "assets/files-transfer-B-pg5Niq.js", contentType: "application/javascript; charset=utf-8", offset: 115870, length: 6446, sha256: "7a657bedce82606f265225ca1467766dd6a5e950c254e16c6058a2c7a3c1e62e" },
|
|
233667
233670
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 122316, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
233668
|
-
{ key: "assets/frogApiRules-
|
|
233671
|
+
{ key: "assets/frogApiRules-DCDLjJRR.js", contentType: "application/javascript; charset=utf-8", offset: 123488, length: 2207, sha256: "4d7399800dc3c30d5433038fbe5069b587590b2efaa62db739e1989fc5cf8fb7" },
|
|
233669
233672
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 125695, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
233670
233673
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 126762, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
233671
233674
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 133340, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
233672
|
-
{ key: "assets/index-
|
|
233673
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
233674
|
-
{ key: "assets/pdf-
|
|
233675
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
233676
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
233677
|
-
{ key: "assets/pdfDocument-
|
|
233678
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
233679
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
233680
|
-
{ key: "assets/webviewBridgeHost-
|
|
233681
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
233682
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
233683
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
233684
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
233685
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
233686
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
233687
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
233688
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
233689
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
233690
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
233691
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
233692
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
233693
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
233694
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
233695
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
233696
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
233697
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
233698
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
233675
|
+
{ key: "assets/index-B9Whvrxu.js", contentType: "application/javascript; charset=utf-8", offset: 136044, length: 1578787, sha256: "b54e7c58a8e98c469d39db7553550f8c81b90ca705ce68dd8046aa6a331cc424" },
|
|
233676
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1714831, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
233677
|
+
{ key: "assets/pdf-Bein-eVd.js", contentType: "application/javascript; charset=utf-8", offset: 1722582, length: 488215, sha256: "ab6f9bab7a27f9f93870fea2f2ab43e1fd6fa32bbe0299cf71515434f45fbb65" },
|
|
233678
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2210797, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
233679
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2210887, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
233680
|
+
{ key: "assets/pdfDocument-Dx8oELNw.js", contentType: "application/javascript; charset=utf-8", offset: 3527921, length: 3470, sha256: "b5a674d811b090eedaacda25efb7cfef46f7b1e3cccd57e8e32d11c7f577c061" },
|
|
233681
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3531391, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
233682
|
+
{ key: "assets/scrollLinkedRuntime-DmkRsNc4.js", contentType: "application/javascript; charset=utf-8", offset: 3533657, length: 2278, sha256: "1be800c56275681cc551318fe3f96b0e56d4e17e49a1b42975b828dd2cbbb548" },
|
|
233683
|
+
{ key: "assets/webviewBridgeHost-gW-MEN4Q.js", contentType: "application/javascript; charset=utf-8", offset: 3535935, length: 9889, sha256: "8203160998f6b9e5378d21b8a9736a38df246bf2d9bece318916632a5f536704" },
|
|
233684
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3545824, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
233685
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3550434, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
233686
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4039018, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
233687
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4129942, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
233688
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4220926, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
233689
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4311906, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
233690
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4402778, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
233691
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4493758, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
233692
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4602394, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
233693
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4711478, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
233694
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4820526, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
233695
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4928226, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
233696
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5016334, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
233697
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5023152, length: 4924, sha256: "503d5ff84bbcdcab141a695a29071fccfc454165a735ffdcd90686b09d3eaf27" },
|
|
233698
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5028076, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
233699
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5039533, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
233700
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5040704, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
|
|
233701
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5063751, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
|
|
233699
233702
|
];
|
|
233700
233703
|
}
|
|
233701
233704
|
});
|
|
Binary file
|
|
@@ -595,36 +595,23 @@
|
|
|
595
595
|
"category": "Embeddable WebView (web-in-SDUI)",
|
|
596
596
|
"propsType": "WebViewProps",
|
|
597
597
|
"bindings": [],
|
|
598
|
-
"notImplemented":
|
|
599
|
-
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
"
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
"note": "The embedded worker-bridged WebView contract is declared ahead of its runtime on these platforms: no channel, instance identity, fill layout, bound height or active/muted/reload binding until their hosts implement it. On web all of them work for a cross-origin url page listed in allowedOrigins; an inlineHtml page is not bridged on web yet. `role` is declared ahead of its runtime: a `\"primary\"` WebView renders as an ordinary embedded WebView, without the screen's identity, back handling, splash readiness or site chrome, until the hosts implement the primary role."
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"props": [
|
|
619
|
-
"role"
|
|
620
|
-
],
|
|
621
|
-
"platforms": [
|
|
622
|
-
"web"
|
|
623
|
-
],
|
|
624
|
-
"severity": "styling",
|
|
625
|
-
"note": "`role` is declared ahead of its runtime: a `\"primary\"` WebView renders as an ordinary embedded WebView, without the screen's identity, back handling, splash readiness or site chrome, until the hosts implement the primary role."
|
|
626
|
-
}
|
|
627
|
-
],
|
|
598
|
+
"notImplemented": {
|
|
599
|
+
"props": [
|
|
600
|
+
"bridge",
|
|
601
|
+
"instanceId",
|
|
602
|
+
"activePath",
|
|
603
|
+
"mutedPath",
|
|
604
|
+
"reloadKeyPath",
|
|
605
|
+
"heightPath",
|
|
606
|
+
"fill"
|
|
607
|
+
],
|
|
608
|
+
"platforms": [
|
|
609
|
+
"ios",
|
|
610
|
+
"android"
|
|
611
|
+
],
|
|
612
|
+
"severity": "styling",
|
|
613
|
+
"note": "The embedded worker-bridged WebView contract is declared ahead of its runtime on these platforms: no channel, instance identity, fill layout, bound height or active/muted/reload binding until their hosts implement it. On web all of them work for a cross-origin url page listed in allowedOrigins; an inlineHtml page is not bridged on web yet."
|
|
614
|
+
},
|
|
628
615
|
"propsSource": "export interface WebViewProps {\n url?: string;\n /** Inline HTML to load instead of `url` (mutually exclusive). */\n inlineHtml?: string;\n /** Fixed height in points/dp; set this OR `aspectRatio`. */\n height?: number;\n /** width:height ratio; used when `height` is unset. */\n aspectRatio?: number;\n /** Keep the WebView's own scrolling (default false). */\n scrollEnabled?: boolean;\n config?: WebViewConfig;\n capabilitiesRequired?: string[];\n // Embedded worker-bridged WebViews\n /** `\"\"` (default, no channel) | `\"worker\"` — channel to the owning screen's worker. */\n bridge?: \"\" | \"worker\";\n /** Channel + storage identity; default `<screenId>?<args>/<Component.id>` (§4.1, `effectiveWebViewInstanceId`). */\n instanceId?: string;\n /** `$service:` bool — false ⇒ inactive (§5.4); unset ⇒ active. */\n activePath?: string;\n /** `$service:` bool — true ⇒ all page media muted. */\n mutedPath?: string;\n /** `$service:` scalar — any change remounts the document. */\n reloadKeyPath?: string;\n /** Take the parent's proposed size (works with weight); beats `height` / `aspectRatio`. */\n fill?: boolean;\n /** `$service:` number — live height in points/dp; beats `height`. */\n heightPath?: string;\n // Site pages as SDUI nodes\n /** `\"\"` (default, an embedded widget — today's behaviour) | `\"primary\"` — the screen's one site page,\n * which takes the screen's identity and duties. At most one per screen; it fills and\n * owns its scrolling, so it never sits inside a LazyList, Pager or Carousel. */\n role?: \"\" | \"primary\";\n}"
|
|
629
616
|
},
|
|
630
617
|
{
|
|
@@ -132,8 +132,7 @@ These props are accepted by the schema and pass validation, but the named platfo
|
|
|
132
132
|
|---|---|---|---|---|
|
|
133
133
|
| `Text` | `minimumScaleFactor`, `truncation` | android, web | styling | Compose 1.7.5 and web retain tail truncation and their existing text size. Monospaced digits work; Apple supports shrinking and head/middle truncation. React Native maps its native text API, with Android multiline ellipsis limited to tail. |
|
|
134
134
|
| `Icon` | `renderingMode`, `weight`, `variableValue` | android, web | styling | Fixed catalog vectors have no SF layers, font-weight axis or variable fills. Bounce and pulse animate the whole glyph; variableColor remains static. React Native uses the same catalog fallback. |
|
|
135
|
-
| `WebView` | `bridge`, `instanceId`, `activePath`, `mutedPath`, `reloadKeyPath`, `heightPath`, `fill
|
|
136
|
-
| `WebView` | `role` | web | styling | `role` is declared ahead of its runtime: a `"primary"` WebView renders as an ordinary embedded WebView, without the screen's identity, back handling, splash readiness or site chrome, until the hosts implement the primary role. |
|
|
135
|
+
| `WebView` | `bridge`, `instanceId`, `activePath`, `mutedPath`, `reloadKeyPath`, `heightPath`, `fill` | ios, android | styling | The embedded worker-bridged WebView contract is declared ahead of its runtime on these platforms: no channel, instance identity, fill layout, bound height or active/muted/reload binding until their hosts implement it. On web all of them work for a cross-origin url page listed in allowedOrigins; an inlineHtml page is not bridged on web yet. |
|
|
137
136
|
| `Video` | `poster` | ios | styling | `poster` is not shown. |
|
|
138
137
|
| `PdfView` | `showPageControls`, `zoomable`, `allowShare` | web | styling | Interactive PDF.js canvas rendering honours the reader’s page, zoom and export controls. Static previews and PDF.js loading/rendering failures use a native browser-viewer fallback. In that fallback, hiding page or zoom controls is only a viewer hint and cannot reliably hide browser chrome; allowShare hides the reader’s export controls but cannot prevent browser save/print. These props are UI controls, not document access restrictions. |
|
|
139
138
|
| `MediaPlayer` | `autoplayVisibilityThreshold`, `preload`, `playbackRates`, `showQueue`, `showChapters`, `showTranscript` | ios | category | `autoplayVisibilityThreshold` is ignored (whenVisible = once on appear). `preload` is ignored. `playbackRates` is ignored, and the queue/chapters/transcript panels never render. |
|
|
@@ -1310,9 +1309,7 @@ export interface WebViewProps {
|
|
|
1310
1309
|
}
|
|
1311
1310
|
```
|
|
1312
1311
|
|
|
1313
|
-
> ⚠️ **Implemented, but these props are inert on ios, android:** `bridge`, `instanceId`, `activePath`, `mutedPath`, `reloadKeyPath`, `heightPath`, `fill
|
|
1314
|
-
|
|
1315
|
-
> ⚠️ **Implemented, but these props are inert on web:** `role` — `role` is declared ahead of its runtime: a `"primary"` WebView renders as an ordinary embedded WebView, without the screen's identity, back handling, splash readiness or site chrome, until the hosts implement the primary role.
|
|
1312
|
+
> ⚠️ **Implemented, but these props are inert on ios, android:** `bridge`, `instanceId`, `activePath`, `mutedPath`, `reloadKeyPath`, `heightPath`, `fill` — The embedded worker-bridged WebView contract is declared ahead of its runtime on these platforms: no channel, instance identity, fill layout, bound height or active/muted/reload binding until their hosts implement it. On web all of them work for a cross-origin url page listed in allowedOrigins; an inlineHtml page is not bridged on web yet.
|
|
1316
1313
|
|
|
1317
1314
|
### Controls & cells
|
|
1318
1315
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1693.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": [
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"artifactId": "himalaya-cli"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"falconPackageHash": "
|
|
84
|
+
"falconPackageHash": "7ef9567d727cf1820e3162fed9fe335af3e32cdc2a2badfcea21f45f"
|
|
85
85
|
}
|