@wix/himalaya-cli 0.1538.0 → 0.1540.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 (151) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +5 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/state/src/index.d.ts +7 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +7 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/display.d.ts +4 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/state.mjs +23 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +1 -0
  7. package/dist/cli.mjs +2184 -1825
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/guides/component-reference.json +29 -42
  10. package/guides/component-reference.md +67 -14
  11. package/guides/dynamic-list.service.ts +7 -1
  12. package/guides/form-submit.service.ts +7 -1
  13. package/guides/himi-json-output.md +7 -0
  14. package/guides/index.json +2 -2
  15. package/guides/recipe-four-state.md +10 -1
  16. package/guides/recipe-search.md +9 -7
  17. package/guides/release-notes.md +17 -0
  18. package/guides/sdk-reference.json +966 -46
  19. package/guides/search-list.service.ts +7 -1
  20. package/guides/templates.md +19 -0
  21. package/package.json +2 -2
  22. package/stdlib/design-kits/dark-luxe.json +4 -0
  23. package/templates/beauty-salon/dev/index.ts +5021 -4164
  24. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +9 -3
  25. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +6 -3
  26. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +5 -2
  27. package/templates/beauty-salon/tier5-src/_shared/himi-store-categories.ts +18 -12
  28. package/templates/beauty-salon/tier5-src/_shared/store-order-presentation.ts +56 -0
  29. package/templates/beauty-salon/tier5-src/_shared/wix-service-price.ts +4 -2
  30. package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +196 -0
  31. package/templates/beauty-salon/tier5-src/himi-branded-lite-order/index.ts +29 -6
  32. package/templates/beauty-salon/tier5-src/himi-branded-lite-orders/index.ts +58 -5
  33. package/templates/beauty-salon/tier5-src/wix-spaces-collections/index.ts +37 -88
  34. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +9 -3
  35. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +6 -3
  36. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +5 -2
  37. package/templates/branded-lite/dev/index.ts +4933 -4079
  38. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +9 -3
  39. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +6 -3
  40. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +5 -2
  41. package/templates/branded-lite/tier5-src/_shared/himi-store-categories.ts +18 -12
  42. package/templates/branded-lite/tier5-src/_shared/store-order-presentation.ts +56 -0
  43. package/templates/branded-lite/tier5-src/_shared/wix-service-price.ts +4 -2
  44. package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +196 -0
  45. package/templates/branded-lite/tier5-src/himi-branded-lite-order/index.ts +29 -6
  46. package/templates/branded-lite/tier5-src/himi-branded-lite-orders/index.ts +58 -5
  47. package/templates/branded-lite/tier5-src/wix-spaces-collections/index.ts +37 -88
  48. package/templates/branded-lite/tokens.json +1 -1
  49. package/templates/brandy/tokens.json +1 -1
  50. package/templates/community-club/tier5-src/_shared/collection-contract.ts +9 -3
  51. package/templates/community-club/tier5-src/_shared/collection-service.ts +6 -3
  52. package/templates/community-club/tier5-src/_shared/engine-intl.ts +5 -2
  53. package/templates/community-club/tier5-src/_shared/himi-store-categories.ts +18 -12
  54. package/templates/community-club/tier5-src/_shared/wix-service-price.ts +4 -2
  55. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +9 -3
  56. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +6 -3
  57. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +5 -2
  58. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +9 -3
  59. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +6 -3
  60. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +5 -2
  61. package/templates/events-meetups/tier5-src/_shared/himi-store-categories.ts +18 -12
  62. package/templates/events-meetups/tier5-src/_shared/wix-service-price.ts +4 -2
  63. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +9 -3
  64. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +6 -3
  65. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +5 -2
  66. package/templates/gym-fitness/dev/index.ts +5018 -4161
  67. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +9 -3
  68. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +6 -3
  69. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +5 -2
  70. package/templates/gym-fitness/tier5-src/_shared/himi-store-categories.ts +18 -12
  71. package/templates/gym-fitness/tier5-src/_shared/store-order-presentation.ts +56 -0
  72. package/templates/gym-fitness/tier5-src/_shared/wix-service-price.ts +4 -2
  73. package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +196 -0
  74. package/templates/gym-fitness/tier5-src/himi-branded-lite-order/index.ts +29 -6
  75. package/templates/gym-fitness/tier5-src/himi-branded-lite-orders/index.ts +58 -5
  76. package/templates/gym-fitness/tier5-src/wix-spaces-collections/index.ts +37 -88
  77. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +9 -3
  78. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +6 -3
  79. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +5 -2
  80. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +9 -3
  81. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +6 -3
  82. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +5 -2
  83. package/templates/nonprofit-cause/tier5-src/_shared/himi-store-categories.ts +18 -12
  84. package/templates/nonprofit-cause/tier5-src/_shared/wix-service-price.ts +4 -2
  85. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +9 -3
  86. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +6 -3
  87. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +5 -2
  88. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +9 -3
  89. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +6 -3
  90. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +5 -2
  91. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +9 -3
  92. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +6 -3
  93. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +5 -2
  94. package/templates/podcast-creator/tier5-src/_shared/himi-store-categories.ts +18 -12
  95. package/templates/podcast-creator/tier5-src/_shared/wix-service-price.ts +4 -2
  96. package/templates/podcast-creator/tokens.json +4 -4
  97. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +9 -3
  98. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +6 -3
  99. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +5 -2
  100. package/templates/podcast-creator-owner/tokens.json +4 -4
  101. package/templates/portfolio-creative/dev/index.ts +5017 -4157
  102. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +9 -3
  103. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +6 -3
  104. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +5 -2
  105. package/templates/portfolio-creative/tier5-src/_shared/himi-store-categories.ts +18 -12
  106. package/templates/portfolio-creative/tier5-src/_shared/store-order-presentation.ts +56 -0
  107. package/templates/portfolio-creative/tier5-src/_shared/wix-service-price.ts +4 -2
  108. package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +196 -0
  109. package/templates/portfolio-creative/tier5-src/himi-branded-lite-order/index.ts +29 -6
  110. package/templates/portfolio-creative/tier5-src/himi-branded-lite-orders/index.ts +58 -5
  111. package/templates/portfolio-creative/tier5-src/wix-spaces-collections/index.ts +37 -88
  112. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +9 -3
  113. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +6 -3
  114. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +5 -2
  115. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +9 -3
  116. package/templates/restaurant/tier5-src/_shared/collection-service.ts +6 -3
  117. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +5 -2
  118. package/templates/restaurant/tier5-src/_shared/himi-store-categories.ts +18 -12
  119. package/templates/restaurant/tier5-src/_shared/wix-service-price.ts +4 -2
  120. package/templates/restaurant/tokens.json +4 -4
  121. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +9 -3
  122. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +6 -3
  123. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +5 -2
  124. package/templates/retail-store/dev/index.ts +5159 -4302
  125. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +9 -3
  126. package/templates/retail-store/tier5-src/_shared/collection-service.ts +6 -3
  127. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +5 -2
  128. package/templates/retail-store/tier5-src/_shared/himi-store-categories.ts +18 -12
  129. package/templates/retail-store/tier5-src/_shared/store-order-presentation.ts +56 -0
  130. package/templates/retail-store/tier5-src/_shared/wix-service-price.ts +4 -2
  131. package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +196 -0
  132. package/templates/retail-store/tier5-src/himi-branded-lite-order/index.ts +29 -6
  133. package/templates/retail-store/tier5-src/himi-branded-lite-orders/index.ts +58 -5
  134. package/templates/retail-store/tier5-src/wix-spaces-collections/index.ts +37 -88
  135. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +9 -3
  136. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +6 -3
  137. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +5 -2
  138. package/templates/yoga-studio/dev/index.ts +0 -3
  139. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +9 -3
  140. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +6 -3
  141. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +5 -2
  142. package/templates/yoga-studio/tier5-src/_shared/himi-store-categories.ts +18 -12
  143. package/templates/yoga-studio/tier5-src/_shared/wix-service-price.ts +4 -2
  144. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +9 -3
  145. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +6 -3
  146. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +5 -2
  147. package/templates/beauty-salon/tier5-src/wix-spaces-collection-detail/index.ts +0 -170
  148. package/templates/branded-lite/tier5-src/wix-spaces-collection-detail/index.ts +0 -170
  149. package/templates/gym-fitness/tier5-src/wix-spaces-collection-detail/index.ts +0 -170
  150. package/templates/portfolio-creative/tier5-src/wix-spaces-collection-detail/index.ts +0 -170
  151. package/templates/retail-store/tier5-src/wix-spaces-collection-detail/index.ts +0 -170
@@ -32,11 +32,12 @@ The dedicated flow has two renderers for one search model:
32
32
  new non-empty token when the screen opens; that focuses the field and opens
33
33
  the keyboard. If the screen has no worker, seed the token through local state.
34
34
  - **Debounce.** Let `onChange` update the query and start the search after the
35
- user pauses. The proposed native slot uses 250 ms when `debounceMs` is zero
36
- or unset; a pending change flushes before `onSubmit`, so the submitted query
37
- is current.
38
- For the existing inline `SearchField`, set `debounceMs` explicitly (150–300 ms
39
- for local filtering; 300–400 ms for a network search).
35
+ user pauses. `SearchField` (and the proposed native slot) uses 250 ms when
36
+ `debounceMs` is zero or unset, on every renderer; a pending change flushes
37
+ before `onSubmit`, so the submitted query is current. Set `debounceMs`
38
+ explicitly to tune it (150–300 ms for local filtering; 300–400 ms for a
39
+ network search). A `TextField` used as a search box debounces only when
40
+ `debounceMs` is set — unset, it sends every change.
40
41
  - **Clear.** Clear sets the query to `""`, runs `onChange` with the empty value,
41
42
  and returns to the initial state. It is not cancellation and must not invoke
42
43
  `onCancel`.
@@ -151,8 +152,9 @@ first; this recipe only adds the query layer.
151
152
  }
152
153
  ```
153
154
 
154
- - `debounceMs` batches keystrokes — 150–300ms is the sweet spot; without it every
155
- character dispatches a worker action.
155
+ - `debounceMs` batches keystrokes — 150–300ms is the sweet spot. Unset (or 0), a
156
+ `SearchField` waits 250 ms after the last keystroke; emptying the field sends `""`
157
+ at once.
156
158
  - `onSubmit` (keyboard search key) is optional when `onChange` already filters live.
157
159
  - For category/facet filtering alongside text search, add `FilterChips` with
158
160
  `optionsPath: "$service:posts.categories"` and a `selectCategory` action — same
@@ -16,6 +16,13 @@ areas, always in the same order, so you can skim for the one you care about.
16
16
 
17
17
  ## 2026-11-02
18
18
 
19
+ ### Getting started & the CLI
20
+
21
+ - The `restaurant`, `podcast-creator` and `podcast-creator-owner` starter templates no longer paint
22
+ their cream text on a light grey search field, segmented control and chips. Their `dark-luxe` kit
23
+ had no `surfaceTertiary`, so the base app's light value showed through at 1.04:1. The kit now
24
+ ships a dark `surfaceTertiary`. (#4999)
25
+
19
26
  ### Validate & test
20
27
 
21
28
  - **`himi validate` now judges `textPrimary` on card surfaces.** Body text was judged only against
@@ -25,6 +32,16 @@ areas, always in the same order, so you can skim for the one you care about.
25
32
  with an error (also for `textPrimary` on the page); below WCAG AA 4.5:1 it is a warning. The
26
33
  finding says when the page and the card sit on opposite sides of mid-grey, so no single text
27
34
  colour can serve both. (#4999)
35
+ - **`himi validate` now judges `textSecondary` too, and on every surface that text sits on.** Both
36
+ body text colours are judged against `surfaceSecondary` and `surfaceElevated` (cards, sheets, list
37
+ rows), `surfaceTertiary` (search fields, segmented controls, chips, badges) and `surfaceSubtle`
38
+ (Android's Material low containers). Below 1.5:1 validate fails with an error, on the page too;
39
+ below 4.5:1 it is a warning. (#4999)
40
+
41
+ ### Branded Lite & Owner Lite
42
+
43
+ - Branded Lite's dark-theme secondary text is now `#8B949E`. It clears 4.5:1 on the app's cards and
44
+ its search field; before, it was 4.31:1 on the search field. (#4999)
28
45
 
29
46
  ## 2026-11-01
30
47