@wix/himalaya-cli 0.1398.0 → 0.1399.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/icon-catalog.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +41 -0
- package/dist/cli.mjs +68 -26
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/headless-loop.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon-owner/dev/index.ts +304 -7
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/community-club-owner/dev/index.ts +304 -7
- package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/community-club-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/community-club-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/events-meetups-owner/dev/index.ts +304 -7
- package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/gym-fitness-owner/dev/index.ts +304 -7
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/nonprofit-cause-owner/dev/index.ts +304 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/owner-lite/dev/index.ts +304 -7
- package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/owner-lite/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/owner-lite/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/podcast-creator-owner/dev/index.ts +304 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/portfolio-creative-owner/dev/index.ts +304 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/restaurant-owner/dev/index.ts +304 -7
- package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/restaurant-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/restaurant-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/retail-store-owner/dev/index.ts +304 -7
- package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/retail-store-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/retail-store-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/yoga-studio-owner/dev/index.ts +304 -7
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
|
@@ -28,7 +28,7 @@ export declare const ICON_CATALOG: Readonly<Record<string, IconCatalogEntry>>;
|
|
|
28
28
|
/** normalized (lowercased, separators stripped) → canonical key, aliases included. */
|
|
29
29
|
export declare const ICON_NORMALIZED_INDEX: Readonly<Record<string, string>>;
|
|
30
30
|
/** Every authorable name, aliases included. `_unknown` is deliberately absent. */
|
|
31
|
-
export declare const ICON_NAMES: readonly ["ai", "arrow_down", "arrow_left", "arrow_right", "arrow_up", "back", "bag", "bag_fill", "barcode", "bell", "bell_fill", "bell_off", "bell_slash", "book", "bookmark", "bookmark_fill", "boxes", "branch", "calendar", "camera", "cart", "cart_fill", "chart", "chat", "check", "checklist", "checkmark", "chevron_down", "chevron_left", "chevron_right", "chevron_up", "circle", "circle_fill", "clock", "close", "concealed", "cookie", "copy", "dashboard", "doc", "document", "download", "edit", "ellipsis", "error", "expand", "external_link", "eye", "eye_slash", "filter", "folder", "forward", "fullscreen", "gear", "globe", "grid", "grid_fill", "grip", "heart", "heart_fill", "help", "home", "home_fill", "house", "image", "inbox", "info", "layers", "link", "list", "location", "lock", "logout", "mail", "map", "menu", "message", "mic", "mic_fill", "microphone", "microphone_fill", "minus", "moon", "more", "more_vertical", "music", "newspaper", "newspaper_fill", "next", "pause", "pencil", "people", "person", "person_fill", "phone", "photo", "pin", "play", "play_circle", "play_circle_fill", "plus", "plus_circle", "plus_circle_fill", "prev", "question", "refresh", "repeat", "rss", "search", "send", "send_arrow", "settings", "settings_fill", "share", "shuffle", "skip_back", "skip_forward", "skip_next", "skip_previous", "star", "star_fill", "stop", "success", "tag", "ticket", "ticket_fill", "trash", "tray", "undo", "user", "visible", "volume", "warning", "wifi", "xmark"];
|
|
31
|
+
export declare const ICON_NAMES: readonly ["ai", "arrow_down", "arrow_left", "arrow_right", "arrow_up", "back", "bag", "bag_fill", "barcode", "bell", "bell_fill", "bell_off", "bell_slash", "book", "bookmark", "bookmark_fill", "boxes", "branch", "calendar", "camera", "cart", "cart_fill", "chart", "chat", "check", "checklist", "checkmark", "chevron_down", "chevron_left", "chevron_right", "chevron_up", "circle", "circle_fill", "clock", "close", "concealed", "cookie", "copy", "dashboard", "doc", "document", "download", "edit", "ellipsis", "error", "expand", "external_link", "eye", "eye_slash", "filter", "folder", "forward", "fullscreen", "gear", "gift", "globe", "grid", "grid_fill", "grip", "heart", "heart_fill", "help", "home", "home_fill", "house", "image", "inbox", "info", "layers", "link", "list", "location", "lock", "logout", "mail", "map", "menu", "message", "mic", "mic_fill", "microphone", "microphone_fill", "minus", "moon", "more", "more_vertical", "music", "newspaper", "newspaper_fill", "next", "paper_plane", "pause", "pencil", "people", "person", "person_fill", "phone", "photo", "pin", "play", "play_circle", "play_circle_fill", "plus", "plus_circle", "plus_circle_fill", "prev", "question", "refresh", "repeat", "rss", "search", "send", "send_arrow", "settings", "settings_fill", "share", "shuffle", "skip_back", "skip_forward", "skip_next", "skip_previous", "star", "star_fill", "stop", "success", "tag", "ticket", "ticket_fill", "trash", "tray", "undo", "user", "visible", "volume", "warning", "wifi", "xmark"];
|
|
32
32
|
export type IconName = (typeof ICON_NAMES)[number];
|
|
33
33
|
/** Resolve any authored string to a row, falling back to `_unknown`. Never returns undefined. */
|
|
34
34
|
export declare function resolveIcon(name: string): IconCatalogEntry;
|
|
@@ -11429,6 +11429,24 @@ var ICON_CATALOG = {
|
|
|
11429
11429
|
"license": "Apache-2.0",
|
|
11430
11430
|
"libVersion": "0.45.9"
|
|
11431
11431
|
},
|
|
11432
|
+
"gift": {
|
|
11433
|
+
"category": "commerce",
|
|
11434
|
+
"path": [
|
|
11435
|
+
"M4 22L4 10.875L2 10.875L2 5.125L7.5 5.125C7.367 4.925 7.267 4.713 7.2 4.487C7.133 4.263 7.1 4.033 7.1 3.8C7.1 3.022 7.372 2.361 7.917 1.817C8.461 1.272 9.122 1 9.9 1C10.3 1 10.688 1.083 11.063 1.25C11.438 1.417 11.75 1.658 12 1.975C12.25 1.658 12.563 1.417 12.938 1.25C13.313 1.083 13.7 1 14.1 1C14.878 1 15.539 1.272 16.083 1.817C16.628 2.361 16.9 3.022 16.9 3.8C16.9 4.033 16.867 4.263 16.8 4.487C16.733 4.713 16.633 4.925 16.5 5.125L22 5.125L22 10.875L20 10.875L20 22L4 22ZM13.175 2.873C12.925 3.122 12.8 3.43 12.8 3.798C12.8 4.166 12.924 4.475 13.173 4.725C13.422 4.975 13.73 5.1 14.098 5.1C14.466 5.1 14.775 4.976 15.025 4.727C15.275 4.478 15.4 4.17 15.4 3.802C15.4 3.434 15.276 3.125 15.027 2.875C14.778 2.625 14.47 2.5 14.102 2.5C13.734 2.5 13.425 2.624 13.175 2.873ZM8.6 3.798C8.6 4.166 8.724 4.475 8.973 4.725C9.222 4.975 9.53 5.1 9.898 5.1C10.266 5.1 10.575 4.976 10.825 4.727C11.075 4.478 11.2 4.17 11.2 3.802C11.2 3.434 11.076 3.125 10.827 2.875C10.578 2.625 10.27 2.5 9.902 2.5C9.534 2.5 9.225 2.624 8.975 2.873C8.725 3.122 8.6 3.43 8.6 3.798ZM3.5 6.625L3.5 9.375L11.25 9.375L11.25 6.625L3.5 6.625ZM11.25 20.5L11.25 10.875L5.35 10.875L5.35 20.5L11.25 20.5ZM12.75 20.5L18.65 20.5L18.65 10.875L12.75 10.875L12.75 20.5ZM20.5 9.375L20.5 6.625L12.75 6.625L12.75 9.375L20.5 9.375Z"
|
|
11436
|
+
],
|
|
11437
|
+
"style": "filled",
|
|
11438
|
+
"ios": {
|
|
11439
|
+
"sf": "gift",
|
|
11440
|
+
"match": "exact"
|
|
11441
|
+
},
|
|
11442
|
+
"android": {
|
|
11443
|
+
"material": "CardGiftcard",
|
|
11444
|
+
"match": "exact"
|
|
11445
|
+
},
|
|
11446
|
+
"source": "material-symbols/featured_seasonal_and_gifts",
|
|
11447
|
+
"license": "Apache-2.0",
|
|
11448
|
+
"libVersion": "0.45.9"
|
|
11449
|
+
},
|
|
11432
11450
|
"globe": {
|
|
11433
11451
|
"category": "place",
|
|
11434
11452
|
"path": [
|
|
@@ -11992,6 +12010,25 @@ var ICON_CATALOG = {
|
|
|
11992
12010
|
"license": "Apache-2.0",
|
|
11993
12011
|
"libVersion": "0.45.9"
|
|
11994
12012
|
},
|
|
12013
|
+
"paper_plane": {
|
|
12014
|
+
"category": "communication",
|
|
12015
|
+
"path": [
|
|
12016
|
+
"M3 20L3 4L22 12L3 20ZM4.5 17.675L18.1 12L4.5 6.25L4.5 10.45L10.55 12L4.5 13.5L4.5 17.675ZM4.5 17.675L4.5 6.25L4.5 17.675Z"
|
|
12017
|
+
],
|
|
12018
|
+
"style": "filled",
|
|
12019
|
+
"mirrorsInRTL": true,
|
|
12020
|
+
"ios": {
|
|
12021
|
+
"sf": "paperplane",
|
|
12022
|
+
"match": "exact"
|
|
12023
|
+
},
|
|
12024
|
+
"android": {
|
|
12025
|
+
"material": "Send",
|
|
12026
|
+
"match": "exact"
|
|
12027
|
+
},
|
|
12028
|
+
"source": "material-symbols/send",
|
|
12029
|
+
"license": "Apache-2.0",
|
|
12030
|
+
"libVersion": "0.45.9"
|
|
12031
|
+
},
|
|
11995
12032
|
"pause": {
|
|
11996
12033
|
"category": "media",
|
|
11997
12034
|
"path": [
|
|
@@ -12767,6 +12804,7 @@ var ICON_NORMALIZED_INDEX = {
|
|
|
12767
12804
|
"filter": "filter",
|
|
12768
12805
|
"folder": "folder",
|
|
12769
12806
|
"fullscreen": "fullscreen",
|
|
12807
|
+
"gift": "gift",
|
|
12770
12808
|
"globe": "globe",
|
|
12771
12809
|
"grid": "grid",
|
|
12772
12810
|
"gridfill": "grid_fill",
|
|
@@ -12803,6 +12841,7 @@ var ICON_NORMALIZED_INDEX = {
|
|
|
12803
12841
|
"newspaperfill": "newspaper_fill",
|
|
12804
12842
|
"next": "next",
|
|
12805
12843
|
"skipforward": "next",
|
|
12844
|
+
"paperplane": "paper_plane",
|
|
12806
12845
|
"pause": "pause",
|
|
12807
12846
|
"people": "people",
|
|
12808
12847
|
"person": "person",
|
|
@@ -12902,6 +12941,7 @@ var ICON_NAMES = [
|
|
|
12902
12941
|
"forward",
|
|
12903
12942
|
"fullscreen",
|
|
12904
12943
|
"gear",
|
|
12944
|
+
"gift",
|
|
12905
12945
|
"globe",
|
|
12906
12946
|
"grid",
|
|
12907
12947
|
"grid_fill",
|
|
@@ -12937,6 +12977,7 @@ var ICON_NAMES = [
|
|
|
12937
12977
|
"newspaper",
|
|
12938
12978
|
"newspaper_fill",
|
|
12939
12979
|
"next",
|
|
12980
|
+
"paper_plane",
|
|
12940
12981
|
"pause",
|
|
12941
12982
|
"pencil",
|
|
12942
12983
|
"people",
|
package/dist/cli.mjs
CHANGED
|
@@ -7655,6 +7655,7 @@ function buttonVariant(style) {
|
|
|
7655
7655
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, BUTTON_MIN_HIT_TARGET, nonNegative, nonEmpty, own, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS, BUTTON_VARIANTS;
|
|
7656
7656
|
var init_tokens = __esm({
|
|
7657
7657
|
"../../core/ts/src/tokens.ts"() {
|
|
7658
|
+
"use strict";
|
|
7658
7659
|
SYSTEM_FONT_FAMILY = "$system";
|
|
7659
7660
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
7660
7661
|
BUTTON_MIN_HIT_TARGET = 44;
|
|
@@ -7710,6 +7711,7 @@ function resolveTranslation(value, catalog3, sourceCatalog) {
|
|
|
7710
7711
|
var BINDING_SIGILS, BINDING_SIGIL_RE, TRANSLATION_PREFIX, TRANSLATION_KEY_RE;
|
|
7711
7712
|
var init_bindings = __esm({
|
|
7712
7713
|
"../../core/ts/src/bindings.ts"() {
|
|
7714
|
+
"use strict";
|
|
7713
7715
|
BINDING_SIGILS = ["service", "flag", "item", "t"];
|
|
7714
7716
|
BINDING_SIGIL_RE = new RegExp(
|
|
7715
7717
|
`^\\$(?:${BINDING_SIGILS.filter((s2) => s2 !== "t").join("|")})\\b|^\\$t:`
|
|
@@ -11755,6 +11757,7 @@ function validateScreenDescriptor(screenId, descriptor, opts = {}) {
|
|
|
11755
11757
|
scanItemsPath(descriptor, "");
|
|
11756
11758
|
}
|
|
11757
11759
|
const ITEMS_PATH_HOST_TYPES = /* @__PURE__ */ new Set(["LazyList", "Grid", "Carousel", "Menu", "MediaPlayer"]);
|
|
11760
|
+
const ITEMS_PATH_SELF_BOUND_TYPES = /* @__PURE__ */ new Set(["Legend"]);
|
|
11758
11761
|
const scanItemsPathHost = (node, at2) => {
|
|
11759
11762
|
if (Array.isArray(node)) {
|
|
11760
11763
|
node.forEach((v3, i2) => scanItemsPathHost(v3, `${at2}[${i2}]`));
|
|
@@ -11766,7 +11769,7 @@ function validateScreenDescriptor(screenId, descriptor, opts = {}) {
|
|
|
11766
11769
|
const props = body?.props;
|
|
11767
11770
|
const itemsPath = props?.itemsPath;
|
|
11768
11771
|
const type = body?.type;
|
|
11769
|
-
if (typeof itemsPath === "string" && itemsPath.length > 0 && typeof type === "string" && !ITEMS_PATH_HOST_TYPES.has(type)) {
|
|
11772
|
+
if (typeof itemsPath === "string" && itemsPath.length > 0 && typeof type === "string" && !ITEMS_PATH_HOST_TYPES.has(type) && !ITEMS_PATH_SELF_BOUND_TYPES.has(type)) {
|
|
11770
11773
|
const core = body?.package === "himalaya";
|
|
11771
11774
|
issues.push({
|
|
11772
11775
|
severity: core ? "error" : "warning",
|
|
@@ -31544,6 +31547,24 @@ var init_icon_catalog_generated = __esm({
|
|
|
31544
31547
|
"license": "Apache-2.0",
|
|
31545
31548
|
"libVersion": "0.45.9"
|
|
31546
31549
|
},
|
|
31550
|
+
"gift": {
|
|
31551
|
+
"category": "commerce",
|
|
31552
|
+
"path": [
|
|
31553
|
+
"M4 22L4 10.875L2 10.875L2 5.125L7.5 5.125C7.367 4.925 7.267 4.713 7.2 4.487C7.133 4.263 7.1 4.033 7.1 3.8C7.1 3.022 7.372 2.361 7.917 1.817C8.461 1.272 9.122 1 9.9 1C10.3 1 10.688 1.083 11.063 1.25C11.438 1.417 11.75 1.658 12 1.975C12.25 1.658 12.563 1.417 12.938 1.25C13.313 1.083 13.7 1 14.1 1C14.878 1 15.539 1.272 16.083 1.817C16.628 2.361 16.9 3.022 16.9 3.8C16.9 4.033 16.867 4.263 16.8 4.487C16.733 4.713 16.633 4.925 16.5 5.125L22 5.125L22 10.875L20 10.875L20 22L4 22ZM13.175 2.873C12.925 3.122 12.8 3.43 12.8 3.798C12.8 4.166 12.924 4.475 13.173 4.725C13.422 4.975 13.73 5.1 14.098 5.1C14.466 5.1 14.775 4.976 15.025 4.727C15.275 4.478 15.4 4.17 15.4 3.802C15.4 3.434 15.276 3.125 15.027 2.875C14.778 2.625 14.47 2.5 14.102 2.5C13.734 2.5 13.425 2.624 13.175 2.873ZM8.6 3.798C8.6 4.166 8.724 4.475 8.973 4.725C9.222 4.975 9.53 5.1 9.898 5.1C10.266 5.1 10.575 4.976 10.825 4.727C11.075 4.478 11.2 4.17 11.2 3.802C11.2 3.434 11.076 3.125 10.827 2.875C10.578 2.625 10.27 2.5 9.902 2.5C9.534 2.5 9.225 2.624 8.975 2.873C8.725 3.122 8.6 3.43 8.6 3.798ZM3.5 6.625L3.5 9.375L11.25 9.375L11.25 6.625L3.5 6.625ZM11.25 20.5L11.25 10.875L5.35 10.875L5.35 20.5L11.25 20.5ZM12.75 20.5L18.65 20.5L18.65 10.875L12.75 10.875L12.75 20.5ZM20.5 9.375L20.5 6.625L12.75 6.625L12.75 9.375L20.5 9.375Z"
|
|
31554
|
+
],
|
|
31555
|
+
"style": "filled",
|
|
31556
|
+
"ios": {
|
|
31557
|
+
"sf": "gift",
|
|
31558
|
+
"match": "exact"
|
|
31559
|
+
},
|
|
31560
|
+
"android": {
|
|
31561
|
+
"material": "CardGiftcard",
|
|
31562
|
+
"match": "exact"
|
|
31563
|
+
},
|
|
31564
|
+
"source": "material-symbols/featured_seasonal_and_gifts",
|
|
31565
|
+
"license": "Apache-2.0",
|
|
31566
|
+
"libVersion": "0.45.9"
|
|
31567
|
+
},
|
|
31547
31568
|
"globe": {
|
|
31548
31569
|
"category": "place",
|
|
31549
31570
|
"path": [
|
|
@@ -32107,6 +32128,25 @@ var init_icon_catalog_generated = __esm({
|
|
|
32107
32128
|
"license": "Apache-2.0",
|
|
32108
32129
|
"libVersion": "0.45.9"
|
|
32109
32130
|
},
|
|
32131
|
+
"paper_plane": {
|
|
32132
|
+
"category": "communication",
|
|
32133
|
+
"path": [
|
|
32134
|
+
"M3 20L3 4L22 12L3 20ZM4.5 17.675L18.1 12L4.5 6.25L4.5 10.45L10.55 12L4.5 13.5L4.5 17.675ZM4.5 17.675L4.5 6.25L4.5 17.675Z"
|
|
32135
|
+
],
|
|
32136
|
+
"style": "filled",
|
|
32137
|
+
"mirrorsInRTL": true,
|
|
32138
|
+
"ios": {
|
|
32139
|
+
"sf": "paperplane",
|
|
32140
|
+
"match": "exact"
|
|
32141
|
+
},
|
|
32142
|
+
"android": {
|
|
32143
|
+
"material": "Send",
|
|
32144
|
+
"match": "exact"
|
|
32145
|
+
},
|
|
32146
|
+
"source": "material-symbols/send",
|
|
32147
|
+
"license": "Apache-2.0",
|
|
32148
|
+
"libVersion": "0.45.9"
|
|
32149
|
+
},
|
|
32110
32150
|
"pause": {
|
|
32111
32151
|
"category": "media",
|
|
32112
32152
|
"path": [
|
|
@@ -32882,6 +32922,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
32882
32922
|
"filter": "filter",
|
|
32883
32923
|
"folder": "folder",
|
|
32884
32924
|
"fullscreen": "fullscreen",
|
|
32925
|
+
"gift": "gift",
|
|
32885
32926
|
"globe": "globe",
|
|
32886
32927
|
"grid": "grid",
|
|
32887
32928
|
"gridfill": "grid_fill",
|
|
@@ -32918,6 +32959,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
32918
32959
|
"newspaperfill": "newspaper_fill",
|
|
32919
32960
|
"next": "next",
|
|
32920
32961
|
"skipforward": "next",
|
|
32962
|
+
"paperplane": "paper_plane",
|
|
32921
32963
|
"pause": "pause",
|
|
32922
32964
|
"people": "people",
|
|
32923
32965
|
"person": "person",
|
|
@@ -123401,7 +123443,7 @@ function renderInner(node, ctx) {
|
|
|
123401
123443
|
if (!node || typeof node !== "object") return null;
|
|
123402
123444
|
const { type, props, modifiers } = normalize(node);
|
|
123403
123445
|
const hListItem = ctx.hListItem === true;
|
|
123404
|
-
if (modifiers?.theme) ctx = withTheme(ctx, modifiers.theme);
|
|
123446
|
+
if (modifiers?.theme) ctx = withTheme(ctx, resolveItemDeep2(modifiers.theme, ctx));
|
|
123405
123447
|
if (ctx.hListItem) ctx = { ...ctx, hListItem: false };
|
|
123406
123448
|
const pkg = node.body?.package;
|
|
123407
123449
|
const C2 = ctx.color;
|
|
@@ -158502,30 +158544,30 @@ var init_preview_assets_generated = __esm({
|
|
|
158502
158544
|
"../../packages/serve/src/preview-assets.generated.ts"() {
|
|
158503
158545
|
init_preview_assets_format();
|
|
158504
158546
|
PREVIEW_ASSET_MANIFEST = [
|
|
158505
|
-
{ key: "assets/DashboardHost-
|
|
158506
|
-
{ key: "assets/DevDrawer-
|
|
158507
|
-
{ key: "assets/IdiomCompare-
|
|
158508
|
-
{ key: "assets/SchemeCompare-
|
|
158509
|
-
{ key: "assets/index-
|
|
158510
|
-
{ key: "assets/pdf-
|
|
158511
|
-
{ key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
158512
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
158513
|
-
{ key: "assets/pdfDocument-
|
|
158514
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
158515
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
158516
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
158517
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
158518
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
158519
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
158520
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
158521
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
158522
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
158523
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
158524
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
158525
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
158526
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
158527
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
158528
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
158547
|
+
{ key: "assets/DashboardHost-CZohnlzS.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2916, sha256: "c8dd05c386b0cac9272b16048547629ad4e41a650de0e746900ace528e162cef" },
|
|
158548
|
+
{ key: "assets/DevDrawer-CdKVsuN0.js", contentType: "application/javascript; charset=utf-8", offset: 2924, length: 16744, sha256: "b837413e2ea57d9ee25d0ae740feaae3b26acec2948ee78b435926172d60e519" },
|
|
158549
|
+
{ key: "assets/IdiomCompare-BAo95Xpf.js", contentType: "application/javascript; charset=utf-8", offset: 19668, length: 1892, sha256: "546dfab6d29cc31bd542d7b6ee18bbe46bdd6e97c4f4dfbdd1cdb2a6555893a3" },
|
|
158550
|
+
{ key: "assets/SchemeCompare-CEBN1gSj.js", contentType: "application/javascript; charset=utf-8", offset: 21560, length: 1819, sha256: "9cb6886800b8a5460c0ae3d768092d91b7c6ef19fe8237e3442e3776b3b91630" },
|
|
158551
|
+
{ key: "assets/index-B_Q9rUA6.js", contentType: "application/javascript; charset=utf-8", offset: 23379, length: 1335292, sha256: "fca2ff76f1883245062b6fecc43a53122a2485fe4edb9b2aa226cc453699549b" },
|
|
158552
|
+
{ key: "assets/pdf-QW2L5uFW.js", contentType: "application/javascript; charset=utf-8", offset: 1358671, length: 488199, sha256: "3861b1c11010779e5fc936dab55467aad99113805a22901cf0f1a2443ea98be9" },
|
|
158553
|
+
{ key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset: 1846870, length: 73, sha256: "41bcfda4f3c8c0a81c785ea87c69afc8e7d0ed8c333324aee94c273d881bb6aa" },
|
|
158554
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 1846943, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
158555
|
+
{ key: "assets/pdfDocument-DSU7vZ1T.js", contentType: "application/javascript; charset=utf-8", offset: 3163977, length: 2868, sha256: "4d633eec01a3f893ec099e44a0cd44781118702501afd22b62454c0f0e74f327" },
|
|
158556
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3166845, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
158557
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3171455, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
158558
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3660039, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
158559
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 3750963, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
158560
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 3841947, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
158561
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 3932927, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
158562
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4023799, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
158563
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4114779, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
158564
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4223415, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
158565
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4332499, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
158566
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4441547, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
158567
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4549247, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
158568
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 4637355, length: 6748, sha256: "4a92459977d7cefa1a6a7e020c3a63509737f083b3f2773557c1a5771665811a" },
|
|
158569
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 4644103, length: 4947, sha256: "abc29cd7b3390800bc6062b92fd59b182636b0f212c22047df94d618cb3f8ae2" },
|
|
158570
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4649050, length: 17768, sha256: "a47dec8623a0f58def7d8785ee74d08483626e75d07c9328bfc9ecb2172c2e0d" }
|
|
158529
158571
|
];
|
|
158530
158572
|
}
|
|
158531
158573
|
});
|
|
Binary file
|
package/guides/headless-loop.md
CHANGED
|
@@ -229,7 +229,7 @@ A few flags worth knowing up front (all discoverable via `himi render --help`):
|
|
|
229
229
|
which over-stretches a phone layout.
|
|
230
230
|
- **`himi icons`** lists the valid `Icon.name` vocabulary — an unknown name silently falls back to a
|
|
231
231
|
generic glyph on device (and `validate` warns), so pick from this list rather than guessing SF-Symbol
|
|
232
|
-
names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
|
|
232
|
+
names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
|
|
233
233
|
|
|
234
234
|
## 4b. Prove it WORKS, not just that it renders (`himi test`, when installed)
|
|
235
235
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1399.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": [
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"artifactId": "himalaya-cli"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"falconPackageHash": "
|
|
74
|
+
"falconPackageHash": "5602cafea0f9e92feb51eb02932446cafa4658b6e7397be9ae1377cb"
|
|
75
75
|
}
|