@wix/himalaya-cli 0.1744.0 → 0.1746.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 (29) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +7 -3
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/icon-catalog.generated.d.ts +1 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +21 -0
  4. package/dist/browser-plane/assets.json +5 -5
  5. package/dist/browser-plane/preview-deferred/{b583b2879dbf6318c5d5bc0aaca78a34b84f76b51a8f79dc824e05521f2a5a7a.bin → d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin} +1 -1
  6. package/dist/browser-plane/sw.js +5 -5
  7. package/dist/cli.mjs +808 -421
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/guides/android-ux.md +1 -1
  10. package/guides/designing-himi-screens.md +23 -14
  11. package/guides/headless-loop.md +1 -1
  12. package/guides/ios-ux.md +1 -1
  13. package/guides/one-app-section-mappings.md +1 -1
  14. package/guides/one-app-to-himi-app.md +19 -1
  15. package/package.json +2 -2
  16. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +37 -8
  17. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +37 -8
  18. package/templates/community-club/tier5-src/_shared/himi-account.ts +37 -8
  19. package/templates/conference/tier5-src/_shared/himi-account.ts +37 -8
  20. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +37 -8
  21. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +37 -8
  22. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +37 -8
  23. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +37 -8
  24. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +37 -8
  25. package/templates/restaurant/tier5-src/_shared/himi-account.ts +37 -8
  26. package/templates/retail-store/tier5-src/_shared/himi-account.ts +37 -8
  27. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +37 -8
  28. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +37 -8
  29. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +37 -8
@@ -838,7 +838,10 @@ export declare const ALL_ORIENTATIONS: readonly Orientation[];
838
838
  */
839
839
  export interface IconConfig {
840
840
  /** Hand-authored 1024x1024 PNG, path relative to config.ts. When set it is the ONLY
841
- * source — no derivation, no generation. Mutually exclusive with `glyph`. */
841
+ * source — no derivation, no generation. Mutually exclusive with `glyph`. The Android
842
+ * adaptive icon is still shaped from it: the tile is inset by `glyphScale` (absent ⇒ 72/108,
843
+ * the launcher's visible area) over a `backgroundColor` layer (absent ⇒ the tile's corner
844
+ * colour). */
842
845
  source?: string;
843
846
  /** Glyph name from the shared vocabulary (`npm run app-icons -- --glyphs` lists them).
844
847
  * Absent ⇒ derived from `sha1(id)`. Validated by the generator, not here: the
@@ -851,12 +854,13 @@ export interface IconConfig {
851
854
  accentColor?: string;
852
855
  /** Colour TOKEN name for the Android adaptive-icon background layer. Absent ⇒ the same
853
856
  * colour as the tile accent, so the adaptive background matches the iOS tile; the glyph
854
- * drawn over it is darkened for contrast. */
857
+ * drawn over it is darkened for contrast. With `source`, absent ⇒ the source's corner
858
+ * colour. */
855
859
  backgroundColor?: string;
856
860
  /** Fraction of the 1024 canvas the glyph occupies in the Android FOREGROUND layer.
857
861
  * Android masks that layer to a circle inscribed in the middle 66/108 of the
858
862
  * canvas, so a glyph drawn much larger than ~0.66 gets clipped on device.
859
- * Absent ⇒ 0.62. Range [0.4, 0.9]. */
863
+ * Absent ⇒ 0.62 (72/108 with `source`, which scales the whole tile). Range [0.4, 0.9]. */
860
864
  glyphScale?: number;
861
865
  }
862
866
  /** Default tile accent when `icon.accentColor` is absent — every app's tokens.json
@@ -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", "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"];
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", "redo", "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;
@@ -13479,6 +13479,25 @@ var ICON_CATALOG = {
13479
13479
  "license": "Apache-2.0",
13480
13480
  "libVersion": "0.45.9"
13481
13481
  },
13482
+ "redo": {
13483
+ "category": "editing",
13484
+ "path": [
13485
+ "M9.8 19C8.217 19 6.854 18.467 5.713 17.4C4.571 16.333 4 15.017 4 13.45C4 11.883 4.571 10.567 5.713 9.5C6.854 8.433 8.217 7.9 9.8 7.9L17.15 7.9L14.3 5.05L15.35 4L20 8.65L15.35 13.3L14.3 12.25L17.15 9.4L9.775 9.4C8.608 9.4 7.604 9.788 6.763 10.563C5.921 11.338 5.5 12.3 5.5 13.45C5.5 14.6 5.921 15.563 6.763 16.338C7.604 17.113 8.608 17.5 9.775 17.5L17.525 17.5L17.525 19L9.8 19Z"
13486
+ ],
13487
+ "style": "filled",
13488
+ "mirrorsInRTL": true,
13489
+ "ios": {
13490
+ "sf": "arrow.uturn.forward",
13491
+ "match": "exact"
13492
+ },
13493
+ "android": {
13494
+ "material": "Redo",
13495
+ "match": "exact"
13496
+ },
13497
+ "source": "material-symbols/redo",
13498
+ "license": "Apache-2.0",
13499
+ "libVersion": "0.45.9"
13500
+ },
13482
13501
  "refresh": {
13483
13502
  "category": "status",
13484
13503
  "path": [
@@ -14047,6 +14066,7 @@ var ICON_NORMALIZED_INDEX = {
14047
14066
  "prev": "prev",
14048
14067
  "skipback": "prev",
14049
14068
  "question": "question",
14069
+ "redo": "redo",
14050
14070
  "refresh": "refresh",
14051
14071
  "repeat": "repeat",
14052
14072
  "rss": "rss",
@@ -14183,6 +14203,7 @@ var ICON_NAMES = [
14183
14203
  "plus_circle_fill",
14184
14204
  "prev",
14185
14205
  "question",
14206
+ "redo",
14186
14207
  "refresh",
14187
14208
  "repeat",
14188
14209
  "rss",
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2563492
5
+ "bytes": 2564308
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24256
22
22
  },
23
23
  {
24
- "name": "preview-deferred/b583b2879dbf6318c5d5bc0aaca78a34b84f76b51a8f79dc824e05521f2a5a7a.bin",
24
+ "name": "preview-deferred/d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-CP8bEKgj.js",
82
+ "key": "assets/pdf-OgxX4nB8.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "b583b2879dbf6318c5d5bc0aaca78a34b84f76b51a8f79dc824e05521f2a5a7a",
85
- "file": "preview-deferred/b583b2879dbf6318c5d5bc0aaca78a34b84f76b51a8f79dc824e05521f2a5a7a.bin"
84
+ "sha256": "d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0",
85
+ "file": "preview-deferred/d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",