@wix/himalaya-cli 0.2008.0 → 0.2010.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 (57) hide show
  1. package/dist/cli.mjs +175 -46
  2. package/guides/one-app-section-mappings.md +1 -1
  3. package/guides/one-app-to-himi-app.md +4 -1
  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 +30 -0
  8. package/templates/branded-lite/l10n/cs.json +30 -0
  9. package/templates/branded-lite/l10n/da.json +30 -0
  10. package/templates/branded-lite/l10n/de.json +30 -0
  11. package/templates/branded-lite/l10n/el.json +30 -0
  12. package/templates/branded-lite/l10n/es.json +30 -0
  13. package/templates/branded-lite/l10n/fi.json +30 -0
  14. package/templates/branded-lite/l10n/fr.json +30 -0
  15. package/templates/branded-lite/l10n/he.json +26 -0
  16. package/templates/branded-lite/l10n/hu.json +30 -0
  17. package/templates/branded-lite/l10n/id.json +30 -0
  18. package/templates/branded-lite/l10n/it.json +30 -0
  19. package/templates/branded-lite/l10n/ja.json +30 -0
  20. package/templates/branded-lite/l10n/ko.json +30 -0
  21. package/templates/branded-lite/l10n/lt.json +30 -0
  22. package/templates/branded-lite/l10n/nl.json +30 -0
  23. package/templates/branded-lite/l10n/no.json +30 -0
  24. package/templates/branded-lite/l10n/pl.json +30 -0
  25. package/templates/branded-lite/l10n/pt.json +30 -0
  26. package/templates/branded-lite/l10n/ru.json +30 -0
  27. package/templates/branded-lite/l10n/sv.json +30 -0
  28. package/templates/branded-lite/l10n/th.json +30 -0
  29. package/templates/branded-lite/l10n/tr.json +30 -0
  30. package/templates/branded-lite/l10n/uk.json +30 -0
  31. package/templates/branded-lite/l10n/vi.json +30 -0
  32. package/templates/branded-lite/l10n/zh.json +30 -0
  33. package/templates/branded-lite/recipes/group-feed.json +135 -5
  34. package/templates/branded-lite/recipes/groups-newsfeed.json +241 -95
  35. package/templates/branded-lite/recipes/members-carousel.json +55 -3
  36. package/templates/branded-lite/recipes/plans-card.json +630 -3
  37. package/templates/branded-lite/recipes/products-carousel.json +74 -10
  38. package/templates/branded-lite/recipes/products-grid.json +74 -10
  39. package/templates/branded-lite/recipes/programs-filters.json +51 -2
  40. package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +131 -17
  41. package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +8 -5
  42. package/templates/branded-lite/tier5-src/_shared/groups-section.ts +7 -1
  43. package/templates/branded-lite/tier5-src/_shared/himi-store-facets.ts +2 -7
  44. package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +18 -17
  45. package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +12 -0
  46. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +26 -13
  47. package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +15 -6
  48. package/templates/branded-lite/tier5-src/_shared/plans-section.ts +32 -6
  49. package/templates/branded-lite/tier5-src/_shared/products-section.ts +5 -0
  50. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +19 -16
  51. package/templates/branded-lite/tier5-src/_shared/store-ribbon.ts +11 -0
  52. package/templates/gym-fitness/tier5-src/_shared/himi-store-facets.ts +2 -7
  53. package/templates/gym-fitness/tier5-src/_shared/store-ribbon.ts +11 -0
  54. package/templates/portfolio-creative/tier5-src/_shared/himi-store-facets.ts +2 -7
  55. package/templates/portfolio-creative/tier5-src/_shared/store-ribbon.ts +11 -0
  56. package/templates/retail-store/tier5-src/_shared/himi-store-facets.ts +2 -7
  57. package/templates/retail-store/tier5-src/_shared/store-ribbon.ts +11 -0
@@ -1,10 +1,11 @@
1
1
  {
2
- "_recipe": "Plan cards (name, pitch, price, cadence, validity, details button, the whole benefits list). Service: registerPlansSection(svc,{planIds,showBenefits}).",
2
+ "_recipe": "Plan cards (name, pitch, price, cadence or \"Free plan\", validity, details button, and the benefits: listed on the card, or under a collapsed disclosure the reader opens when the service's `benefits` is \"disclosure\"). Service: registerPlansSection(svc,{planIds,showBenefits,benefits}); the disclosure taps tier5.<svc>.toggleBenefits.",
3
3
  "_placeholders": {
4
4
  "svc": "service name the page worker registered with registerPlansSection",
5
5
  "id": "unique node id prefix (e.g. the screen id)",
6
6
  "detailScreen": "plan detail screen id, himi_plan",
7
- "detailsLabel": "the details button's label"
7
+ "detailsLabel": "the details button's label",
8
+ "benefitsLabel": "the benefits disclosure's title (the One App's \"Show Benefits\")"
8
9
  },
9
10
  "node": {
10
11
  "id": "{{id}}.plans",
@@ -784,7 +785,633 @@
784
785
  },
785
786
  "modifiers": {
786
787
  "fillMaxWidth": true,
787
- "hiddenPath": "$item.noPerk1"
788
+ "hiddenPath": "$item.noPerkList"
789
+ }
790
+ },
791
+ {
792
+ "id": "{{id}}.benefits",
793
+ "body": {
794
+ "package": "himalaya",
795
+ "type": "DisclosureGroup",
796
+ "props": {
797
+ "title": "{{benefitsLabel}}",
798
+ "expandedPath": "$item.benefitsOpen",
799
+ "content": [
800
+ {
801
+ "id": "",
802
+ "body": {
803
+ "package": "himalaya",
804
+ "type": "VStack",
805
+ "props": {
806
+ "spacing": 8,
807
+ "alignment": "leading",
808
+ "children": [
809
+ {
810
+ "id": "",
811
+ "body": {
812
+ "package": "himalaya",
813
+ "type": "HStack",
814
+ "props": {
815
+ "spacing": 10,
816
+ "alignment": "leading",
817
+ "children": [
818
+ {
819
+ "id": "",
820
+ "body": {
821
+ "package": "himalaya",
822
+ "type": "Icon",
823
+ "props": {
824
+ "name": "check",
825
+ "size": 16,
826
+ "tint": "accentPrimary"
827
+ }
828
+ },
829
+ "modifiers": {
830
+ "padding": {
831
+ "top": 3
832
+ }
833
+ }
834
+ },
835
+ {
836
+ "id": "",
837
+ "body": {
838
+ "package": "himalaya",
839
+ "type": "Text",
840
+ "props": {
841
+ "text": "$item.perk1",
842
+ "style": "body",
843
+ "color": "textPrimary"
844
+ }
845
+ },
846
+ "modifiers": {
847
+ "weight": 1
848
+ }
849
+ }
850
+ ]
851
+ }
852
+ },
853
+ "modifiers": {
854
+ "fillMaxWidth": true,
855
+ "hiddenPath": "$item.noPerk1"
856
+ }
857
+ },
858
+ {
859
+ "id": "",
860
+ "body": {
861
+ "package": "himalaya",
862
+ "type": "HStack",
863
+ "props": {
864
+ "spacing": 10,
865
+ "alignment": "leading",
866
+ "children": [
867
+ {
868
+ "id": "",
869
+ "body": {
870
+ "package": "himalaya",
871
+ "type": "Icon",
872
+ "props": {
873
+ "name": "check",
874
+ "size": 16,
875
+ "tint": "accentPrimary"
876
+ }
877
+ },
878
+ "modifiers": {
879
+ "padding": {
880
+ "top": 3
881
+ }
882
+ }
883
+ },
884
+ {
885
+ "id": "",
886
+ "body": {
887
+ "package": "himalaya",
888
+ "type": "Text",
889
+ "props": {
890
+ "text": "$item.perk2",
891
+ "style": "body",
892
+ "color": "textPrimary"
893
+ }
894
+ },
895
+ "modifiers": {
896
+ "weight": 1
897
+ }
898
+ }
899
+ ]
900
+ }
901
+ },
902
+ "modifiers": {
903
+ "fillMaxWidth": true,
904
+ "hiddenPath": "$item.noPerk2"
905
+ }
906
+ },
907
+ {
908
+ "id": "",
909
+ "body": {
910
+ "package": "himalaya",
911
+ "type": "HStack",
912
+ "props": {
913
+ "spacing": 10,
914
+ "alignment": "leading",
915
+ "children": [
916
+ {
917
+ "id": "",
918
+ "body": {
919
+ "package": "himalaya",
920
+ "type": "Icon",
921
+ "props": {
922
+ "name": "check",
923
+ "size": 16,
924
+ "tint": "accentPrimary"
925
+ }
926
+ },
927
+ "modifiers": {
928
+ "padding": {
929
+ "top": 3
930
+ }
931
+ }
932
+ },
933
+ {
934
+ "id": "",
935
+ "body": {
936
+ "package": "himalaya",
937
+ "type": "Text",
938
+ "props": {
939
+ "text": "$item.perk3",
940
+ "style": "body",
941
+ "color": "textPrimary"
942
+ }
943
+ },
944
+ "modifiers": {
945
+ "weight": 1
946
+ }
947
+ }
948
+ ]
949
+ }
950
+ },
951
+ "modifiers": {
952
+ "fillMaxWidth": true,
953
+ "hiddenPath": "$item.noPerk3"
954
+ }
955
+ },
956
+ {
957
+ "id": "",
958
+ "body": {
959
+ "package": "himalaya",
960
+ "type": "HStack",
961
+ "props": {
962
+ "spacing": 10,
963
+ "alignment": "leading",
964
+ "children": [
965
+ {
966
+ "id": "",
967
+ "body": {
968
+ "package": "himalaya",
969
+ "type": "Icon",
970
+ "props": {
971
+ "name": "check",
972
+ "size": 16,
973
+ "tint": "accentPrimary"
974
+ }
975
+ },
976
+ "modifiers": {
977
+ "padding": {
978
+ "top": 3
979
+ }
980
+ }
981
+ },
982
+ {
983
+ "id": "",
984
+ "body": {
985
+ "package": "himalaya",
986
+ "type": "Text",
987
+ "props": {
988
+ "text": "$item.perk4",
989
+ "style": "body",
990
+ "color": "textPrimary"
991
+ }
992
+ },
993
+ "modifiers": {
994
+ "weight": 1
995
+ }
996
+ }
997
+ ]
998
+ }
999
+ },
1000
+ "modifiers": {
1001
+ "fillMaxWidth": true,
1002
+ "hiddenPath": "$item.noPerk4"
1003
+ }
1004
+ },
1005
+ {
1006
+ "id": "",
1007
+ "body": {
1008
+ "package": "himalaya",
1009
+ "type": "HStack",
1010
+ "props": {
1011
+ "spacing": 10,
1012
+ "alignment": "leading",
1013
+ "children": [
1014
+ {
1015
+ "id": "",
1016
+ "body": {
1017
+ "package": "himalaya",
1018
+ "type": "Icon",
1019
+ "props": {
1020
+ "name": "check",
1021
+ "size": 16,
1022
+ "tint": "accentPrimary"
1023
+ }
1024
+ },
1025
+ "modifiers": {
1026
+ "padding": {
1027
+ "top": 3
1028
+ }
1029
+ }
1030
+ },
1031
+ {
1032
+ "id": "",
1033
+ "body": {
1034
+ "package": "himalaya",
1035
+ "type": "Text",
1036
+ "props": {
1037
+ "text": "$item.perk5",
1038
+ "style": "body",
1039
+ "color": "textPrimary"
1040
+ }
1041
+ },
1042
+ "modifiers": {
1043
+ "weight": 1
1044
+ }
1045
+ }
1046
+ ]
1047
+ }
1048
+ },
1049
+ "modifiers": {
1050
+ "fillMaxWidth": true,
1051
+ "hiddenPath": "$item.noPerk5"
1052
+ }
1053
+ },
1054
+ {
1055
+ "id": "",
1056
+ "body": {
1057
+ "package": "himalaya",
1058
+ "type": "HStack",
1059
+ "props": {
1060
+ "spacing": 10,
1061
+ "alignment": "leading",
1062
+ "children": [
1063
+ {
1064
+ "id": "",
1065
+ "body": {
1066
+ "package": "himalaya",
1067
+ "type": "Icon",
1068
+ "props": {
1069
+ "name": "check",
1070
+ "size": 16,
1071
+ "tint": "accentPrimary"
1072
+ }
1073
+ },
1074
+ "modifiers": {
1075
+ "padding": {
1076
+ "top": 3
1077
+ }
1078
+ }
1079
+ },
1080
+ {
1081
+ "id": "",
1082
+ "body": {
1083
+ "package": "himalaya",
1084
+ "type": "Text",
1085
+ "props": {
1086
+ "text": "$item.perk6",
1087
+ "style": "body",
1088
+ "color": "textPrimary"
1089
+ }
1090
+ },
1091
+ "modifiers": {
1092
+ "weight": 1
1093
+ }
1094
+ }
1095
+ ]
1096
+ }
1097
+ },
1098
+ "modifiers": {
1099
+ "fillMaxWidth": true,
1100
+ "hiddenPath": "$item.noPerk6"
1101
+ }
1102
+ },
1103
+ {
1104
+ "id": "",
1105
+ "body": {
1106
+ "package": "himalaya",
1107
+ "type": "HStack",
1108
+ "props": {
1109
+ "spacing": 10,
1110
+ "alignment": "leading",
1111
+ "children": [
1112
+ {
1113
+ "id": "",
1114
+ "body": {
1115
+ "package": "himalaya",
1116
+ "type": "Icon",
1117
+ "props": {
1118
+ "name": "check",
1119
+ "size": 16,
1120
+ "tint": "accentPrimary"
1121
+ }
1122
+ },
1123
+ "modifiers": {
1124
+ "padding": {
1125
+ "top": 3
1126
+ }
1127
+ }
1128
+ },
1129
+ {
1130
+ "id": "",
1131
+ "body": {
1132
+ "package": "himalaya",
1133
+ "type": "Text",
1134
+ "props": {
1135
+ "text": "$item.perk7",
1136
+ "style": "body",
1137
+ "color": "textPrimary"
1138
+ }
1139
+ },
1140
+ "modifiers": {
1141
+ "weight": 1
1142
+ }
1143
+ }
1144
+ ]
1145
+ }
1146
+ },
1147
+ "modifiers": {
1148
+ "fillMaxWidth": true,
1149
+ "hiddenPath": "$item.noPerk7"
1150
+ }
1151
+ },
1152
+ {
1153
+ "id": "",
1154
+ "body": {
1155
+ "package": "himalaya",
1156
+ "type": "HStack",
1157
+ "props": {
1158
+ "spacing": 10,
1159
+ "alignment": "leading",
1160
+ "children": [
1161
+ {
1162
+ "id": "",
1163
+ "body": {
1164
+ "package": "himalaya",
1165
+ "type": "Icon",
1166
+ "props": {
1167
+ "name": "check",
1168
+ "size": 16,
1169
+ "tint": "accentPrimary"
1170
+ }
1171
+ },
1172
+ "modifiers": {
1173
+ "padding": {
1174
+ "top": 3
1175
+ }
1176
+ }
1177
+ },
1178
+ {
1179
+ "id": "",
1180
+ "body": {
1181
+ "package": "himalaya",
1182
+ "type": "Text",
1183
+ "props": {
1184
+ "text": "$item.perk8",
1185
+ "style": "body",
1186
+ "color": "textPrimary"
1187
+ }
1188
+ },
1189
+ "modifiers": {
1190
+ "weight": 1
1191
+ }
1192
+ }
1193
+ ]
1194
+ }
1195
+ },
1196
+ "modifiers": {
1197
+ "fillMaxWidth": true,
1198
+ "hiddenPath": "$item.noPerk8"
1199
+ }
1200
+ },
1201
+ {
1202
+ "id": "",
1203
+ "body": {
1204
+ "package": "himalaya",
1205
+ "type": "HStack",
1206
+ "props": {
1207
+ "spacing": 10,
1208
+ "alignment": "leading",
1209
+ "children": [
1210
+ {
1211
+ "id": "",
1212
+ "body": {
1213
+ "package": "himalaya",
1214
+ "type": "Icon",
1215
+ "props": {
1216
+ "name": "check",
1217
+ "size": 16,
1218
+ "tint": "accentPrimary"
1219
+ }
1220
+ },
1221
+ "modifiers": {
1222
+ "padding": {
1223
+ "top": 3
1224
+ }
1225
+ }
1226
+ },
1227
+ {
1228
+ "id": "",
1229
+ "body": {
1230
+ "package": "himalaya",
1231
+ "type": "Text",
1232
+ "props": {
1233
+ "text": "$item.perk9",
1234
+ "style": "body",
1235
+ "color": "textPrimary"
1236
+ }
1237
+ },
1238
+ "modifiers": {
1239
+ "weight": 1
1240
+ }
1241
+ }
1242
+ ]
1243
+ }
1244
+ },
1245
+ "modifiers": {
1246
+ "fillMaxWidth": true,
1247
+ "hiddenPath": "$item.noPerk9"
1248
+ }
1249
+ },
1250
+ {
1251
+ "id": "",
1252
+ "body": {
1253
+ "package": "himalaya",
1254
+ "type": "HStack",
1255
+ "props": {
1256
+ "spacing": 10,
1257
+ "alignment": "leading",
1258
+ "children": [
1259
+ {
1260
+ "id": "",
1261
+ "body": {
1262
+ "package": "himalaya",
1263
+ "type": "Icon",
1264
+ "props": {
1265
+ "name": "check",
1266
+ "size": 16,
1267
+ "tint": "accentPrimary"
1268
+ }
1269
+ },
1270
+ "modifiers": {
1271
+ "padding": {
1272
+ "top": 3
1273
+ }
1274
+ }
1275
+ },
1276
+ {
1277
+ "id": "",
1278
+ "body": {
1279
+ "package": "himalaya",
1280
+ "type": "Text",
1281
+ "props": {
1282
+ "text": "$item.perk10",
1283
+ "style": "body",
1284
+ "color": "textPrimary"
1285
+ }
1286
+ },
1287
+ "modifiers": {
1288
+ "weight": 1
1289
+ }
1290
+ }
1291
+ ]
1292
+ }
1293
+ },
1294
+ "modifiers": {
1295
+ "fillMaxWidth": true,
1296
+ "hiddenPath": "$item.noPerk10"
1297
+ }
1298
+ },
1299
+ {
1300
+ "id": "",
1301
+ "body": {
1302
+ "package": "himalaya",
1303
+ "type": "HStack",
1304
+ "props": {
1305
+ "spacing": 10,
1306
+ "alignment": "leading",
1307
+ "children": [
1308
+ {
1309
+ "id": "",
1310
+ "body": {
1311
+ "package": "himalaya",
1312
+ "type": "Icon",
1313
+ "props": {
1314
+ "name": "check",
1315
+ "size": 16,
1316
+ "tint": "accentPrimary"
1317
+ }
1318
+ },
1319
+ "modifiers": {
1320
+ "padding": {
1321
+ "top": 3
1322
+ }
1323
+ }
1324
+ },
1325
+ {
1326
+ "id": "",
1327
+ "body": {
1328
+ "package": "himalaya",
1329
+ "type": "Text",
1330
+ "props": {
1331
+ "text": "$item.perk11",
1332
+ "style": "body",
1333
+ "color": "textPrimary"
1334
+ }
1335
+ },
1336
+ "modifiers": {
1337
+ "weight": 1
1338
+ }
1339
+ }
1340
+ ]
1341
+ }
1342
+ },
1343
+ "modifiers": {
1344
+ "fillMaxWidth": true,
1345
+ "hiddenPath": "$item.noPerk11"
1346
+ }
1347
+ },
1348
+ {
1349
+ "id": "",
1350
+ "body": {
1351
+ "package": "himalaya",
1352
+ "type": "HStack",
1353
+ "props": {
1354
+ "spacing": 10,
1355
+ "alignment": "leading",
1356
+ "children": [
1357
+ {
1358
+ "id": "",
1359
+ "body": {
1360
+ "package": "himalaya",
1361
+ "type": "Icon",
1362
+ "props": {
1363
+ "name": "check",
1364
+ "size": 16,
1365
+ "tint": "accentPrimary"
1366
+ }
1367
+ },
1368
+ "modifiers": {
1369
+ "padding": {
1370
+ "top": 3
1371
+ }
1372
+ }
1373
+ },
1374
+ {
1375
+ "id": "",
1376
+ "body": {
1377
+ "package": "himalaya",
1378
+ "type": "Text",
1379
+ "props": {
1380
+ "text": "$item.perk12",
1381
+ "style": "body",
1382
+ "color": "textPrimary"
1383
+ }
1384
+ },
1385
+ "modifiers": {
1386
+ "weight": 1
1387
+ }
1388
+ }
1389
+ ]
1390
+ }
1391
+ },
1392
+ "modifiers": {
1393
+ "fillMaxWidth": true,
1394
+ "hiddenPath": "$item.noPerk12"
1395
+ }
1396
+ }
1397
+ ]
1398
+ }
1399
+ },
1400
+ "modifiers": {
1401
+ "fillMaxWidth": true
1402
+ }
1403
+ }
1404
+ ],
1405
+ "onToggle": {
1406
+ "actionId": "tier5.{{svc}}.toggleBenefits",
1407
+ "params": {
1408
+ "id": "$item.id"
1409
+ }
1410
+ }
1411
+ }
1412
+ },
1413
+ "modifiers": {
1414
+ "hiddenPath": "$item.noPerkDisclosure"
788
1415
  }
789
1416
  }
790
1417
  ]