@wix/himalaya-cli 0.1661.0 → 0.1662.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 (49) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +17 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/audio-record/src/index.d.ts +4 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +26 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +8 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +4 -0
  8. package/dist/browser-plane/assets.json +5 -5
  9. package/dist/browser-plane/preview-deferred/{fcafca348b6b973cfc2eadc938ddec3c515c641874cbca1667a43b22e1bf7a39.bin → 5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin} +1 -1
  10. package/dist/browser-plane/sw.js +8 -8
  11. package/dist/cli.mjs +895 -684
  12. package/dist/preview-assets.generated.bin +0 -0
  13. package/fixtures/wix-canned.json +1 -0
  14. package/guides/component-reference.json +13 -4
  15. package/guides/component-reference.md +26 -6
  16. package/guides/himi-json-output.md +8 -0
  17. package/guides/index.json +1 -1
  18. package/guides/sdk-reference.json +24 -1
  19. package/package.json +2 -2
  20. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +8 -0
  21. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +8 -0
  22. package/templates/branded-lite/dev/index.ts +791 -169
  23. package/templates/branded-lite/l10n/en.json +46 -13
  24. package/templates/branded-lite/l10n/he.json +59 -7
  25. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +8 -0
  26. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +367 -63
  27. package/templates/community-club/l10n/he.json +2 -2
  28. package/templates/community-club/tier5-src/_shared/engine-intl.ts +8 -0
  29. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +8 -0
  30. package/templates/conference/tier5-src/_shared/engine-intl.ts +8 -0
  31. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +8 -0
  32. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +8 -0
  33. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +8 -0
  34. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +8 -0
  35. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +8 -0
  36. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +8 -0
  37. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +8 -0
  38. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +8 -0
  39. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +8 -0
  40. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +8 -0
  41. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +8 -0
  42. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +8 -0
  43. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +8 -0
  44. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +8 -0
  45. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +8 -0
  46. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +8 -0
  47. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +8 -0
  48. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +8 -0
  49. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +8 -0
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {