@wix/himalaya-cli 0.1004.0 → 0.1006.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/cli.mjs CHANGED
@@ -5318,7 +5318,6 @@ function walk(node, registry, path2, out) {
5318
5318
  var SYSTEM_FONT_FAMILY;
5319
5319
  var init_tokens = __esm({
5320
5320
  "../../core/ts/src/tokens.ts"() {
5321
- "use strict";
5322
5321
  SYSTEM_FONT_FAMILY = "$system";
5323
5322
  }
5324
5323
  });
@@ -12400,6 +12399,11 @@ function springStep(response, zeta) {
12400
12399
  const r1 = -w0 * (zeta - root), r2 = -w0 * (zeta + root);
12401
12400
  return (t) => 1 - (r2 * Math.exp(r1 * t) - r1 * Math.exp(r2 * t)) / (r2 - r1);
12402
12401
  }
12402
+ function springEnvelope(response, zeta, x) {
12403
+ if (zeta >= 1) return (t) => Math.abs(1 - x(t));
12404
+ const decay = zeta * 2 * Math.PI / response, peak = 1 / Math.sqrt(1 - zeta * zeta);
12405
+ return (t) => peak * Math.exp(-decay * t);
12406
+ }
12403
12407
  function springCurve(spring, durationMs) {
12404
12408
  const { response, dampingFraction: zeta } = normalizeSpring(spring, durationMs);
12405
12409
  const key2 = `${response}|${zeta}`;
@@ -12407,8 +12411,9 @@ function springCurve(spring, durationMs) {
12407
12411
  if (cached3) return cached3;
12408
12412
  const x = springStep(response, zeta);
12409
12413
  const step = response / 64;
12414
+ const envelope = springEnvelope(response, zeta, x);
12410
12415
  let settle = 0;
12411
- for (let t = 0; t <= SPRING_MAX_SECS; t += step) if (Math.abs(1 - x(t)) > SPRING_SETTLE_TOLERANCE) settle = t;
12416
+ for (let t = 0; t <= SPRING_MAX_SECS && envelope(t) > SPRING_SETTLE_TOLERANCE; t += step) if (Math.abs(1 - x(t)) > SPRING_SETTLE_TOLERANCE) settle = t;
12412
12417
  const secs = Math.min(settle + step, SPRING_MAX_SECS);
12413
12418
  const samples = Math.min(200, Math.max(24, Math.ceil(12 * secs / response)));
12414
12419
  const points = [];
@@ -12687,7 +12692,7 @@ var init_tokens2 = __esm({
12687
12692
  clampTo = (v, lo, hi) => Math.min(hi, Math.max(lo, v));
12688
12693
  finite = (v) => typeof v === "number" && Number.isFinite(v) ? v : void 0;
12689
12694
  SPRING_SETTLE_TOLERANCE = 1e-3;
12690
- SPRING_MAX_SECS = 10;
12695
+ SPRING_MAX_SECS = 120;
12691
12696
  springCurves = /* @__PURE__ */ new Map();
12692
12697
  WEB_IDIOM_CONTEXT = { surface: "desktop" };
12693
12698
  }
@@ -19461,6 +19466,7 @@ function shouldRevealError(args) {
19461
19466
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
19462
19467
  var init_validation = __esm({
19463
19468
  "../../core/ts/src/validation.ts"() {
19469
+ "use strict";
19464
19470
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
19465
19471
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
19466
19472
  INTEGER_RE = /^[+-]?[0-9]+$/;
@@ -22885,6 +22891,7 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
22885
22891
  var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
22886
22892
  var init_worker_subtree = __esm({
22887
22893
  "../../core/ts/src/worker-subtree.ts"() {
22894
+ "use strict";
22888
22895
  init_worker_subtree_safe_types_generated();
22889
22896
  WORKER_SUBTREE_CEILINGS = Object.freeze({
22890
22897
  maxEncodedBytes: 65536,
@@ -45352,19 +45359,19 @@ var init_preview_assets_generated = __esm({
45352
45359
  "../../packages/serve/src/preview-assets.generated.ts"() {
45353
45360
  init_preview_assets_format();
45354
45361
  PREVIEW_ASSET_MANIFEST = [
45355
- { key: "assets/index-H72XVDeZ.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1009153, sha256: "494ebf398dfe5604666d1699bc6209b584a78a6a85d33a55553eca57124fe04c" },
45356
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 1009161, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
45357
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1100085, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
45358
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1191069, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
45359
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1282049, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
45360
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 1372921, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
45361
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 1463901, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
45362
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 1572537, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
45363
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 1681621, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
45364
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 1790669, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
45365
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 1898369, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
45366
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 1986477, length: 4448, sha256: "375c26618baf6332437220049558fe0694b614fa92018d237a5c5c22ee5b3bde" },
45367
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 1990925, length: 17209, sha256: "dffc9718e2faa63ae2cc919e0a842f585ed565aaaa7c53778e90379442c731b6" }
45362
+ { key: "assets/index-D21N2om9.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1009596, sha256: "d6fc0d38f6ddaeb85351d6abdc11dc4953d2c79ba7f76203217278edae4f4609" },
45363
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 1009604, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
45364
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1100528, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
45365
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1191512, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
45366
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1282492, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
45367
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 1373364, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
45368
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 1464344, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
45369
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 1572980, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
45370
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 1682064, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
45371
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 1791112, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
45372
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 1898812, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
45373
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 1986920, length: 4448, sha256: "8e583daefb3d1122ebc5085083d49fe180a507ae7aac8e9481e248c6e49377fe" },
45374
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 1991368, length: 17209, sha256: "dffc9718e2faa63ae2cc919e0a842f585ed565aaaa7c53778e90379442c731b6" }
45368
45375
  ];
45369
45376
  }
45370
45377
  });
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1004.0",
3
+ "version": "0.1006.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": [
@@ -65,5 +65,5 @@
65
65
  "artifactId": "himalaya-cli"
66
66
  }
67
67
  },
68
- "falconPackageHash": "11e1d994023f0d1e2b935c467bbaffa63805b7b7888b09e3f5d280b1"
68
+ "falconPackageHash": "2a66c27dab1b53dc167ea41db33818d0cb019d3fb24a10084c0358af"
69
69
  }