@wix/himalaya-cli 0.2010.0 → 0.2011.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +8 -19
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -3964,7 +3964,6 @@ var init_himi_package = __esm({
3964
3964
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
3965
3965
  var init_icon_catalog_generated = __esm({
3966
3966
  "../../core/ts/src/icon-catalog.generated.ts"() {
3967
- "use strict";
3968
3967
  init_define_HHP_CATALOG();
3969
3968
  ICON_VIEW_BOX = 24;
3970
3969
  ICON_STROKE_WIDTH = 2;
@@ -20178,6 +20177,7 @@ function buttonVariant(style) {
20178
20177
  var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, BUTTON_SIZES, BUTTON_MIN_HIT_TARGET, nonNegative, nonEmpty2, own2, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS, BUTTON_VARIANTS;
20179
20178
  var init_tokens = __esm({
20180
20179
  "../../core/ts/src/tokens.ts"() {
20180
+ "use strict";
20181
20181
  init_define_HHP_CATALOG();
20182
20182
  SYSTEM_FONT_FAMILY = "$system";
20183
20183
  TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
@@ -45465,6 +45465,7 @@ function resolveIdiom(tokens2, ctx = {}) {
45465
45465
  var IDIOM_CONTEXTS, UNSAFE_KEYS;
45466
45466
  var init_idiom = __esm({
45467
45467
  "../../core/ts/src/idiom.ts"() {
45468
+ "use strict";
45468
45469
  init_define_HHP_CATALOG();
45469
45470
  IDIOM_CONTEXTS = {
45470
45471
  ios: { native: ["ios"] },
@@ -213086,7 +213087,8 @@ function mergedCopyPack(packs) {
213086
213087
  }
213087
213088
  }
213088
213089
  }
213089
- if (Object.keys(text32).length) out2.textCopy = JSON.stringify(text32);
213090
+ const texts = Object.entries(text32).sort(([a3], [b3]) => a3 < b3 ? -1 : a3 > b3 ? 1 : 0);
213091
+ if (texts.length) out2.textCopy = JSON.stringify(Object.fromEntries(texts));
213090
213092
  return out2;
213091
213093
  }
213092
213094
  function bannerTextStyle(item2) {
@@ -213171,23 +213173,10 @@ function galleryCollage(id, index, ctx, options2) {
213171
213173
  const svc = ctx.uses("galleries", `galleries${index}`, { limit: 1, showName: options2.showName, collage: true });
213172
213174
  return vstack(`${id}.box`, [galleriesRecipe("galleries-collage", svc, id, ctx), ...ctx.optionalRecipe("section-error", { svc, id, action: "load" })], 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
213173
213175
  }
213174
- function sectionCopy(ctx, ...modules) {
213175
- const params = {};
213176
- let texts;
213177
- for (const module of modules) {
213178
- for (const [key4, value2] of Object.entries(ctx.workerCopy(module))) {
213179
- if (key4 !== "textCopy") {
213180
- params[key4] = value2;
213181
- continue;
213182
- }
213183
- try {
213184
- texts = { ...texts, ...JSON.parse(value2) };
213185
- } catch {
213186
- }
213187
- }
213188
- }
213189
- if (texts) params.textCopy = JSON.stringify(Object.fromEntries(Object.entries(texts).sort(([a3], [b3]) => a3 < b3 ? -1 : a3 > b3 ? 1 : 0)));
213190
- return params;
213176
+ function sectionCopy(ctx, module, ...helpers) {
213177
+ const pack = ctx.workerCopy(module);
213178
+ for (const helper of helpers) ctx.workerCopy(helper);
213179
+ return pack;
213191
213180
  }
213192
213181
  function groupsSection(recipe, type2) {
213193
213182
  return (id, s5, st2, index, ctx, sectionId) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.2010.0",
3
+ "version": "0.2011.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": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "9b35a8ffce6125f43dcb5fcab389c9180068b563542f8ae0909e319e"
85
+ "falconPackageHash": "3170709b25bc3d4b6c9542b2065dfe4f7d3929504624f701497af812"
86
86
  }