@wix/himalaya-cli 0.2009.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 (52) hide show
  1. package/dist/cli.mjs +144 -53
  2. package/guides/one-app-section-mappings.md +1 -1
  3. package/guides/one-app-to-himi-app.md +3 -0
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/tier5-src/_shared/himi-store-facets.ts +2 -7
  6. package/templates/beauty-salon/tier5-src/_shared/store-ribbon.ts +11 -0
  7. package/templates/branded-lite/l10n/ar.json +20 -0
  8. package/templates/branded-lite/l10n/cs.json +20 -0
  9. package/templates/branded-lite/l10n/da.json +20 -0
  10. package/templates/branded-lite/l10n/de.json +20 -0
  11. package/templates/branded-lite/l10n/el.json +20 -0
  12. package/templates/branded-lite/l10n/es.json +20 -0
  13. package/templates/branded-lite/l10n/fi.json +20 -0
  14. package/templates/branded-lite/l10n/fr.json +20 -0
  15. package/templates/branded-lite/l10n/he.json +16 -0
  16. package/templates/branded-lite/l10n/hu.json +20 -0
  17. package/templates/branded-lite/l10n/id.json +20 -0
  18. package/templates/branded-lite/l10n/it.json +20 -0
  19. package/templates/branded-lite/l10n/ja.json +20 -0
  20. package/templates/branded-lite/l10n/ko.json +20 -0
  21. package/templates/branded-lite/l10n/lt.json +20 -0
  22. package/templates/branded-lite/l10n/nl.json +20 -0
  23. package/templates/branded-lite/l10n/no.json +20 -0
  24. package/templates/branded-lite/l10n/pl.json +20 -0
  25. package/templates/branded-lite/l10n/pt.json +20 -0
  26. package/templates/branded-lite/l10n/ru.json +20 -0
  27. package/templates/branded-lite/l10n/sv.json +20 -0
  28. package/templates/branded-lite/l10n/th.json +20 -0
  29. package/templates/branded-lite/l10n/tr.json +20 -0
  30. package/templates/branded-lite/l10n/uk.json +20 -0
  31. package/templates/branded-lite/l10n/vi.json +20 -0
  32. package/templates/branded-lite/l10n/zh.json +20 -0
  33. package/templates/branded-lite/recipes/members-carousel.json +55 -3
  34. package/templates/branded-lite/recipes/plans-card.json +630 -3
  35. package/templates/branded-lite/recipes/products-carousel.json +74 -10
  36. package/templates/branded-lite/recipes/products-grid.json +74 -10
  37. package/templates/branded-lite/recipes/programs-filters.json +51 -2
  38. package/templates/branded-lite/tier5-src/_shared/himi-store-facets.ts +2 -7
  39. package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +18 -17
  40. package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +12 -0
  41. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +26 -13
  42. package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +15 -6
  43. package/templates/branded-lite/tier5-src/_shared/plans-section.ts +32 -6
  44. package/templates/branded-lite/tier5-src/_shared/products-section.ts +5 -0
  45. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +19 -16
  46. package/templates/branded-lite/tier5-src/_shared/store-ribbon.ts +11 -0
  47. package/templates/gym-fitness/tier5-src/_shared/himi-store-facets.ts +2 -7
  48. package/templates/gym-fitness/tier5-src/_shared/store-ribbon.ts +11 -0
  49. package/templates/portfolio-creative/tier5-src/_shared/himi-store-facets.ts +2 -7
  50. package/templates/portfolio-creative/tier5-src/_shared/store-ribbon.ts +11 -0
  51. package/templates/retail-store/tier5-src/_shared/himi-store-facets.ts +2 -7
  52. package/templates/retail-store/tier5-src/_shared/store-ribbon.ts +11 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "_recipe": "A page's members as a rail of avatar cards, scrolling sideways (photo, name, the member's first badge; a tap opens the profile) and the empty text. ONE node, always mounted. Service: registerMembersDirectory(svc, { rail: { limit, onlyWithBadges } }).",
2
+ "_recipe": "A page's members as a rail of avatar cards, scrolling sideways (photo, name, the member's first badge, their presence line (a one-line slot, so every card's Follow sits at the same height) and a Follow button when the service shows them; a tap opens the profile), the follow notice and the empty text. ONE node, always mounted. Service: registerMembersDirectory(svc, { rail: { limit, onlyWithBadges }, showActivity, showFollow }); Follow taps tier5.<svc>.follow, which asks a visitor to sign in.",
3
3
  "_placeholders": {
4
4
  "svc": "service name the page worker registered with registerMembersDirectory",
5
5
  "id": "unique node id prefix for this section",
@@ -76,7 +76,7 @@
76
76
  "props": {
77
77
  "text": "$item.name",
78
78
  "style": "bodyEmphasis",
79
- "maxLines": 2
79
+ "maxLines": 1
80
80
  }
81
81
  }
82
82
  },
@@ -95,12 +95,50 @@
95
95
  "modifiers": {
96
96
  "hiddenPath": "$item.noBadge1"
97
97
  }
98
+ },
99
+ {
100
+ "id": "{{id}}.presence",
101
+ "body": {
102
+ "package": "himalaya",
103
+ "type": "Text",
104
+ "props": {
105
+ "text": "$item.activity",
106
+ "style": "caption",
107
+ "maxLines": 1,
108
+ "color": "textSecondary"
109
+ }
110
+ },
111
+ "modifiers": {
112
+ "minHeight": 18
113
+ }
114
+ },
115
+ {
116
+ "id": "{{id}}.follow",
117
+ "body": {
118
+ "package": "himalaya",
119
+ "type": "Button",
120
+ "props": {
121
+ "title": "$item.followLabel",
122
+ "style": "primary",
123
+ "size": "sm",
124
+ "fullWidth": true,
125
+ "action": {
126
+ "actionId": "tier5.{{svc}}.follow",
127
+ "params": {
128
+ "id": "$item.id"
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "modifiers": {
134
+ "hiddenPath": "$item.noFollow"
135
+ }
98
136
  }
99
137
  ]
100
138
  }
101
139
  },
102
140
  "modifiers": {
103
- "width": 88,
141
+ "width": 128,
104
142
  "onTap": {
105
143
  "actionId": "himi.open",
106
144
  "params": {
@@ -120,6 +158,20 @@
120
158
  "hiddenPath": "$service:{{svc}}.noMembers"
121
159
  }
122
160
  },
161
+ {
162
+ "id": "{{id}}.message",
163
+ "body": {
164
+ "package": "himalaya",
165
+ "type": "Text",
166
+ "props": {
167
+ "text": "$service:{{svc}}.actionMessage",
168
+ "style": "caption",
169
+ "maxLines": 1,
170
+ "color": "textSecondary",
171
+ "collapseWhenEmpty": true
172
+ }
173
+ }
174
+ },
123
175
  {
124
176
  "id": "{{id}}.empty",
125
177
  "body": {