efficient-storefront-blocks 0.70.0 → 0.74.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 (126) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/chunks/EditorPreviewCheckout-YQ3F5MSG.js +4 -0
  3. package/dist/chunks/{SiteEditorProvider-3GKJZDL5.js → SiteEditorProvider-Z33JB5BA.js} +1 -1
  4. package/dist/chunks/chunk-5OFEWRWI.js +1 -0
  5. package/dist/chunks/{chunk-TXTTPEQA.js → chunk-BZDVZUF4.js} +1 -1
  6. package/dist/chunks/{chunk-QWHNN7GF.js → chunk-QJDTP7K6.js} +1 -1
  7. package/dist/chunks/chunk-UGXNUQRA.js +246 -0
  8. package/dist/chunks/chunk-UJW4B64R.js +1 -0
  9. package/dist/chunks/{fitment-data-6GK7QQQI.js → fitment-data-DHKRLKNI.js} +1 -1
  10. package/dist/contract.js +2 -2
  11. package/dist/editor/components/CategorySource.js +1 -1
  12. package/dist/editor/components/HeaderSettingsPanel.js +1 -1
  13. package/dist/editor/components/PreviewHeader.d.ts +0 -1
  14. package/dist/editor/components/PreviewHeader.js +1 -11
  15. package/dist/editor/lib/document/blocks/service/ContactCards/fields.d.ts +2 -0
  16. package/dist/editor/lib/document/blocks/service/ContactCards/fields.js +1 -0
  17. package/dist/editor/lib/document/blocks/service/ContactRouting/fields.js +1 -1
  18. package/dist/editor/lib/document/blocks/service/FooterMessaging/fields.d.ts +2 -0
  19. package/dist/editor/lib/document/blocks/service/FooterMessaging/fields.js +1 -0
  20. package/dist/editor/lib/document/blocks/service/FooterPayment/fields.d.ts +2 -0
  21. package/dist/editor/lib/document/blocks/service/FooterPayment/fields.js +1 -0
  22. package/dist/editor/lib/document/blocks/service/MessagingCards/fields.d.ts +2 -0
  23. package/dist/editor/lib/document/blocks/service/MessagingCards/fields.js +1 -0
  24. package/dist/editor/lib/document/blocks/service/Reviews/fields.js +1 -1
  25. package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
  26. package/dist/editor/lib/document/blocks/service/index.js +1 -1
  27. package/dist/editor/lib/document/config.d.ts +2 -0
  28. package/dist/editor/lib/document/config.js +1 -1
  29. package/dist/editor/lib/efficient-block-sources.js +1 -1
  30. package/dist/editor/lib/header-settings-source.d.ts +2 -1
  31. package/dist/editor/lib/header-settings-source.js +1 -1
  32. package/dist/editor/lib/storefront-editor-words.d.ts +17 -2
  33. package/dist/editor/lib/storefront-editor-words.js +1 -1
  34. package/dist/editor.css +1 -1
  35. package/dist/index.d.ts +0 -2
  36. package/dist/index.js +97 -200
  37. package/dist/links.d.ts +0 -2
  38. package/dist/links.js +1 -1
  39. package/dist/render/built-with.json +1 -1
  40. package/dist/render/components/ChatLauncher.js +1 -1
  41. package/dist/render/components/ContactCards.d.ts +13 -0
  42. package/dist/render/components/ContactCards.js +1 -0
  43. package/dist/render/components/CopyText.d.ts +4 -0
  44. package/dist/render/components/CopyText.js +1 -0
  45. package/dist/render/components/Events.d.ts +3 -0
  46. package/dist/render/components/Events.js +1 -1
  47. package/dist/render/components/FooterMessaging.d.ts +5 -0
  48. package/dist/render/components/FooterMessaging.js +1 -0
  49. package/dist/render/components/FooterPayment.d.ts +11 -0
  50. package/dist/render/components/FooterPayment.js +1 -0
  51. package/dist/render/components/GalleryItem.js +1 -1
  52. package/dist/render/components/GalleryShowcase.js +1 -1
  53. package/dist/render/components/Header.d.ts +2 -1
  54. package/dist/render/components/Header.js +1 -1
  55. package/dist/render/components/HeaderCallButton.d.ts +9 -0
  56. package/dist/render/components/HeaderCallButton.js +1 -0
  57. package/dist/render/components/MessagingCards.d.ts +9 -0
  58. package/dist/render/components/MessagingCards.js +1 -0
  59. package/dist/render/components/QrCode.d.ts +5 -0
  60. package/dist/render/components/QrCode.js +1 -0
  61. package/dist/render/components/Reviews.d.ts +14 -4
  62. package/dist/render/components/Reviews.js +1 -1
  63. package/dist/render/components/checkout/CheckoutPageClient.d.ts +2 -25
  64. package/dist/render/components/checkout/CheckoutPageClient.js +1 -3
  65. package/dist/render/components/checkout/checkout-parts.d.ts +5 -0
  66. package/dist/render/components/checkout/checkout-parts.js +1 -0
  67. package/dist/render/components/checkout/checkout-state.d.ts +169 -0
  68. package/dist/render/components/checkout/checkout-state.js +3 -0
  69. package/dist/render/lib/api/index.d.ts +1 -0
  70. package/dist/render/lib/api/types.d.ts +3 -0
  71. package/dist/render/lib/document/blocks/service/ContactCards/meta.d.ts +7 -0
  72. package/dist/render/lib/document/blocks/service/ContactCards/meta.js +1 -0
  73. package/dist/render/lib/document/blocks/service/ContactCards/render.d.ts +4 -0
  74. package/dist/render/lib/document/blocks/service/ContactCards/render.js +1 -0
  75. package/dist/render/lib/document/blocks/service/Events/render.js +1 -1
  76. package/dist/render/lib/document/blocks/service/Footer/meta.js +1 -1
  77. package/dist/render/lib/document/blocks/service/FooterGroup/meta.js +1 -1
  78. package/dist/render/lib/document/blocks/service/FooterMessaging/meta.d.ts +2 -0
  79. package/dist/render/lib/document/blocks/service/FooterMessaging/meta.js +1 -0
  80. package/dist/render/lib/document/blocks/service/FooterMessaging/render.d.ts +2 -0
  81. package/dist/render/lib/document/blocks/service/FooterMessaging/render.js +1 -0
  82. package/dist/render/lib/document/blocks/service/FooterPayment/meta.d.ts +3 -0
  83. package/dist/render/lib/document/blocks/service/FooterPayment/meta.js +1 -0
  84. package/dist/render/lib/document/blocks/service/FooterPayment/render.d.ts +2 -0
  85. package/dist/render/lib/document/blocks/service/FooterPayment/render.js +1 -0
  86. package/dist/render/lib/document/blocks/service/MessagingCards/meta.d.ts +2 -0
  87. package/dist/render/lib/document/blocks/service/MessagingCards/meta.js +1 -0
  88. package/dist/render/lib/document/blocks/service/MessagingCards/render.d.ts +4 -0
  89. package/dist/render/lib/document/blocks/service/MessagingCards/render.js +1 -0
  90. package/dist/render/lib/document/blocks/service/Reviews/meta.d.ts +6 -0
  91. package/dist/render/lib/document/blocks/service/Reviews/meta.js +1 -1
  92. package/dist/render/lib/document/blocks/service/Reviews/render.js +1 -1
  93. package/dist/render/lib/document/blocks/service/metas.d.ts +4 -0
  94. package/dist/render/lib/document/blocks/service/metas.js +1 -1
  95. package/dist/render/lib/document/blocks/service/renders.d.ts +4 -0
  96. package/dist/render/lib/document/blocks/service/renders.js +1 -1
  97. package/dist/render/lib/document/blocks/text-part-shapes.json +137 -6
  98. package/dist/render/lib/document/card-templates.d.ts +2 -0
  99. package/dist/render/lib/document/card-templates.js +1 -0
  100. package/dist/render/lib/document/footer-page-blocks.d.ts +1 -0
  101. package/dist/render/lib/document/footer-page-blocks.js +1 -1
  102. package/dist/render/lib/document/lazy-draws.js +1 -1
  103. package/dist/render/lib/document/render-config.d.ts +2 -0
  104. package/dist/render/lib/document/render-config.js +1 -1
  105. package/dist/render/lib/document/section-to-box-rows-reviews.d.ts +1 -0
  106. package/dist/render/lib/document/section-to-box-rows-reviews.js +1 -0
  107. package/dist/render/lib/links/link-rules.d.ts +1 -1
  108. package/dist/render/lib/links/link-rules.js +1 -1
  109. package/dist/render/lib/qr.d.ts +5 -0
  110. package/dist/render/lib/qr.js +1 -0
  111. package/dist/render/lib/sections/messaging.d.ts +45 -0
  112. package/dist/render/lib/sections/messaging.js +1 -0
  113. package/dist/render/lib/sections/reviews.d.ts +1 -0
  114. package/dist/render/lib/sections/reviews.js +1 -0
  115. package/dist/render/lib/wheels/catalog-default-layout.js +1 -1
  116. package/dist/render/lib/wheels/collections.js +1 -1
  117. package/dist/words.d.ts +40 -7
  118. package/dist/words.js +4 -4
  119. package/package.json +4 -4
  120. package/dist/chunks/EditorPreviewCheckout-XI4VULPL.js +0 -4
  121. package/dist/chunks/chunk-RPLNV3WM.js +0 -1
  122. package/dist/chunks/chunk-SQH6XBRG.js +0 -1
  123. package/dist/chunks/chunk-XF2ZAVNU.js +0 -262
  124. package/dist/render/components/useStorefrontReviews.d.ts +0 -2
  125. package/dist/render/components/useStorefrontReviews.js +0 -1
  126. /package/dist/chunks/{chunk-XF2ZAVNU.js.LEGAL.txt → chunk-UGXNUQRA.js.LEGAL.txt} +0 -0
package/dist/words.d.ts CHANGED
@@ -178,6 +178,7 @@ export type WebBuilderPhrase =
178
178
  | "Background images"
179
179
  | "Background width"
180
180
  | "Badge"
181
+ | "Bank transfer"
181
182
  | "Banner"
182
183
  | "Banner headline"
183
184
  | "Bar"
@@ -267,6 +268,7 @@ export type WebBuilderPhrase =
267
268
  | "Cards"
268
269
  | "Cards from"
269
270
  | "Cart"
271
+ | "Cash"
270
272
  | "Catalog Filter Bar"
271
273
  | "Category"
272
274
  | "Category Bar"
@@ -286,6 +288,7 @@ export type WebBuilderPhrase =
286
288
  | "Choose a post"
287
289
  | "Choose a product"
288
290
  | "Choose a section"
291
+ | "Choose an image"
289
292
  | "Cities in this group"
290
293
  | "City"
291
294
  | "City strip"
@@ -294,7 +297,6 @@ export type WebBuilderPhrase =
294
297
  | "Clear change"
295
298
  | "Clear change: {label}"
296
299
  | "Clear colors"
297
- | "Clear formatting"
298
300
  | "Clear override"
299
301
  | "Clear override: {label}"
300
302
  | "Clear this site’s colors?"
@@ -431,7 +433,6 @@ export type WebBuilderPhrase =
431
433
  | "Edit colors"
432
434
  | "Edit colors for {name}"
433
435
  | "Edit {name}"
434
- | "Edit “{name}” in {place}"
435
436
  | "Editing {name} changes it everywhere."
436
437
  | "Editor only — not shown live"
437
438
  | "Editorial"
@@ -578,6 +579,7 @@ export type WebBuilderPhrase =
578
579
  | "Hover effect"
579
580
  | "Icon"
580
581
  | "Icon after text"
582
+ | "Icon at the far end"
581
583
  | "Icon before text"
582
584
  | "Icon only"
583
585
  | "Icon position"
@@ -640,6 +642,7 @@ export type WebBuilderPhrase =
640
642
  | "Labels"
641
643
  | "Ladder"
642
644
  | "Large"
645
+ | "Large tabs"
643
646
  | "Large text only"
644
647
  | "Large — 56px"
645
648
  | "Latest Posts"
@@ -692,6 +695,7 @@ export type WebBuilderPhrase =
692
695
  | "Logo height"
693
696
  | "Logo image"
694
697
  | "Logo one"
698
+ | "Logo style"
695
699
  | "Logo three"
696
700
  | "Logo two"
697
701
  | "Logos"
@@ -819,7 +823,8 @@ export type WebBuilderPhrase =
819
823
  | "Page"
820
824
  | "Page button"
821
825
  | "Page name"
822
- | "Page settings"
826
+ | "Page settings for “{name}”"
827
+ | "Page width"
823
828
  | "Pages"
824
829
  | "Panel heading"
825
830
  | "Panels & cards"
@@ -828,8 +833,8 @@ export type WebBuilderPhrase =
828
833
  | "Paragraph size — 13px"
829
834
  | "Part of {name}"
830
835
  | "Paste a link to each profile. A platform left empty shows nothing on the site."
836
+ | "Payment Logos"
831
837
  | "Payment Methods"
832
- | "Payment method"
833
838
  | "Payment methods"
834
839
  | "Phone"
835
840
  | "Photo Submission Form"
@@ -961,13 +966,16 @@ export type WebBuilderPhrase =
961
966
  | "Section’s own"
962
967
  | "Secure encrypted checkout"
963
968
  | "Seen from\n*the counter.*"
969
+ | "Select a section or block to edit it."
964
970
  | "Select a word, then press the highlighter."
965
971
  | "Selector guide (pills + results)"
966
972
  | "Selector pills"
967
973
  | "Separator"
968
974
  | "Series title"
969
975
  | "Serif"
976
+ | "Set by country"
970
977
  | "Set this card's corners first."
978
+ | "Shadow"
971
979
  | "Shadow color"
972
980
  | "Shape"
973
981
  | "Share button"
@@ -1077,6 +1085,7 @@ export type WebBuilderPhrase =
1077
1085
  | "Tab"
1078
1086
  | "Tab label"
1079
1087
  | "Tab name"
1088
+ | "Tab shape"
1080
1089
  | "Tabbed Gallery"
1081
1090
  | "Tabs"
1082
1091
  | "Tall (3:4)"
@@ -1087,6 +1096,7 @@ export type WebBuilderPhrase =
1087
1096
  | "Team three"
1088
1097
  | "Team two"
1089
1098
  | "Telegram"
1099
+ | "Template"
1090
1100
  | "Templates don’t store images — this slot stays a placeholder. Each website picks its own after it’s created."
1091
1101
  | "Templates don’t store videos — this slot stays a placeholder. Each website picks its own after it’s created."
1092
1102
  | "Templates keep their look. Press Done."
@@ -1148,12 +1158,15 @@ export type WebBuilderPhrase =
1148
1158
  | "This color reads clearly on your pages."
1149
1159
  | "This footer uses the old layout"
1150
1160
  | "This is the only card in the section."
1161
+ | "This page"
1162
+ | "This page has no look of its own to set."
1151
1163
  | "This part is no longer here."
1152
1164
  | "This part's settings did not open."
1153
1165
  | "This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them."
1154
1166
  | "This site has {n} color theme of its own. Clearing takes them away and puts back the four the shop supplies."
1155
1167
  | "This site has {n} color themes of its own. Clearing takes them away and puts back the four the shop supplies."
1156
1168
  | "This ticker’s hero is no longer on the page."
1169
+ | "This video has no frame yet. The slide shows its background colour until one is made."
1157
1170
  | "Three across"
1158
1171
  | "Three ladder"
1159
1172
  | "Three stagger"
@@ -1186,6 +1199,7 @@ export type WebBuilderPhrase =
1186
1199
  | "Two across"
1187
1200
  | "Two image galleries with tabs and filters."
1188
1201
  | "Two tall"
1202
+ | "Two, then threes"
1189
1203
  | "Type"
1190
1204
  | "Type a postcode or address"
1191
1205
  | "Typed here"
@@ -1220,12 +1234,14 @@ export type WebBuilderPhrase =
1220
1234
  | "Vertical breathing room between sections."
1221
1235
  | "Video"
1222
1236
  | "Video file"
1237
+ | "Video frame"
1223
1238
  | "Video poster"
1224
1239
  | "View all"
1225
1240
  | "View all questions"
1226
1241
  | "View series →"
1227
1242
  | "Volume"
1228
1243
  | "Ways to pay"
1244
+ | "We accept"
1229
1245
  | "WeChat"
1230
1246
  | "What people *say.*"
1231
1247
  | "WhatsApp"
@@ -1236,6 +1252,7 @@ export type WebBuilderPhrase =
1236
1252
  | "Width"
1237
1253
  | "With us"
1238
1254
  | "Wording"
1255
+ | "Words"
1239
1256
  | "Wrap"
1240
1257
  | "Write the answer here."
1241
1258
  | "Write the opening paragraph here.\n\n- Start a line with a dash for a bullet.\n- Add as many as you like."
@@ -1267,6 +1284,7 @@ export type WebBuilderPhrase =
1267
1284
  | "button"
1268
1285
  | "card"
1269
1286
  | "city"
1287
+ | "direction"
1270
1288
  | "draft"
1271
1289
  | "e.g. About"
1272
1290
  | "e.g. Americas"
@@ -1285,8 +1303,8 @@ export type WebBuilderPhrase =
1285
1303
  | "not shown live"
1286
1304
  | "part"
1287
1305
  | "px"
1306
+ | "tabs"
1288
1307
  | "the Text style in Styles"
1289
- | "the admin"
1290
1308
  | "the built-in corners"
1291
1309
  | "the page"
1292
1310
  | "the same as Desktop"
@@ -1343,6 +1361,7 @@ export type StorefrontBlocksPhrase =
1343
1361
  | "A few quick picks and we show the right option for you."
1344
1362
  | "A line about it appears here."
1345
1363
  | "A note about how these are matched."
1364
+ | "A number, @name or an ID"
1346
1365
  | "A short description of your newsletter or publication."
1347
1366
  | "A short summary of the post appears here."
1348
1367
  | "A third"
@@ -1357,6 +1376,7 @@ export type StorefrontBlocksPhrase =
1357
1376
  | "Add card"
1358
1377
  | "Add image"
1359
1378
  | "Add product"
1379
+ | "Add the ways you take payment"
1360
1380
  | "Add your social links"
1361
1381
  | "Address label"
1362
1382
  | "Address line 1"
@@ -1375,6 +1395,7 @@ export type StorefrontBlocksPhrase =
1375
1395
  | "Another sample"
1376
1396
  | "Approved customer reviews appear here automatically — this card is only a preview of the section's shape."
1377
1397
  | "Approx. 1 email per week · Unsubscribe in one click"
1398
+ | "Apps from"
1378
1399
  | "Archive button"
1379
1400
  | "Archive link"
1380
1401
  | "Arrangement"
@@ -1406,14 +1427,16 @@ export type StorefrontBlocksPhrase =
1406
1427
  | "Bump Profile"
1407
1428
  | "Bundles containing this product appear here on a product page."
1408
1429
  | "CSV"
1430
+ | "Call"
1431
+ | "Call button"
1409
1432
  | "Call to action"
1433
+ | "Calls the phone of the location this website shows, as its Set-up keeps it. With no phone there, the button is not shown."
1410
1434
  | "Cap Code"
1411
1435
  | "Capitalised"
1412
1436
  | "Car prompt"
1413
1437
  | "Card text"
1414
1438
  | "Cards to show"
1415
1439
  | "Cart, checkout, your country and currency, sign-in, and this choice. The site cannot work without them."
1416
- | "Cash"
1417
1440
  | "Categories"
1418
1441
  | "Category — wheels only"
1419
1442
  | "Centered"
@@ -1440,8 +1463,10 @@ export type StorefrontBlocksPhrase =
1440
1463
  | "Confirmation message"
1441
1464
  | "Connect to product data"
1442
1465
  | "Consent line"
1466
+ | "Contact cards"
1443
1467
  | "Contact info"
1444
1468
  | "Contact us"
1469
+ | "Contacts"
1445
1470
  | "Content source"
1446
1471
  | "Controls"
1447
1472
  | "Copyright"
@@ -1660,6 +1685,9 @@ export type StorefrontBlocksPhrase =
1660
1685
  | "Menu Item"
1661
1686
  | "Menu row"
1662
1687
  | "Message form"
1688
+ | "Message us"
1689
+ | "Messaging Strip"
1690
+ | "Messaging cards"
1663
1691
  | "Meta"
1664
1692
  | "Meta label"
1665
1693
  | "Meta lines"
@@ -1707,6 +1735,7 @@ export type StorefrontBlocksPhrase =
1707
1735
  | "None — this section will be empty"
1708
1736
  | "Not authorized yet — reopen once the editor has loaded."
1709
1737
  | "Not your size"
1738
+ | "Number or ID"
1710
1739
  | "OEM front"
1711
1740
  | "OEM rear"
1712
1741
  | "Offset"
@@ -1777,6 +1806,7 @@ export type StorefrontBlocksPhrase =
1777
1806
  | "Rate table"
1778
1807
  | "Rates"
1779
1808
  | "Rates from"
1809
+ | "Reach by"
1780
1810
  | "Read all posts →"
1781
1811
  | "Ready when *you are.*"
1782
1812
  | "Recent issues"
@@ -1792,6 +1822,7 @@ export type StorefrontBlocksPhrase =
1792
1822
  | "Results link"
1793
1823
  | "Retry"
1794
1824
  | "Reverse the Logo"
1825
+ | "Review content"
1795
1826
  | "Review title (optional)"
1796
1827
  | "Reviews are collected by the Review Form section and wait for your approval before they show."
1797
1828
  | "Reviews to display"
@@ -1916,7 +1947,6 @@ export type StorefrontBlocksPhrase =
1916
1947
  | "Tag"
1917
1948
  | "Tag filters"
1918
1949
  | "Tell readers what they get and how often. One email, straight to the inbox. We will never sell your address."
1919
- | "Template"
1920
1950
  | "Template pages"
1921
1951
  | "Text color at the top"
1922
1952
  | "Text from"
@@ -1965,6 +1995,7 @@ export type StorefrontBlocksPhrase =
1965
1995
  | "Trim"
1966
1996
  | "Trust bullets"
1967
1997
  | "Trust markers"
1998
+ | "Typed reviews"
1968
1999
  | "Tyre type"
1969
2000
  | "Tyres"
1970
2001
  | "Tyres shown are fitment-matched companions."
@@ -2002,6 +2033,8 @@ export type StorefrontBlocksPhrase =
2002
2033
  | "Where the answers go"
2003
2034
  | "Whether the footer's blocks sit on the page's column, or run edge to edge. The background always spans the screen."
2004
2035
  | "Which countries this website serves — and each region's own URL — is set in the admin console under {place}. Whether the picker is SHOWN stays here: that is header chrome, but the served-country list has tax consequences and belongs with commerce configuration."
2036
+ | "Who to ask"
2037
+ | "Who to ask for"
2005
2038
  | "Wide"
2006
2039
  | "Will it fit *your car?*"
2007
2040
  | "Window"