efficient-storefront-blocks 0.91.0 → 0.93.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 (117) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/chunks/{EditorPreviewCheckout-NFLTZCIQ.js → EditorPreviewCheckout-FSEFJZSO.js} +1 -1
  3. package/dist/chunks/{SiteEditorProvider-UWRLDKJS.js → SiteEditorProvider-N76XROIW.js} +1 -1
  4. package/dist/chunks/{chunk-HRTZ7SYX.js → chunk-ITIVEB2I.js} +1 -1
  5. package/dist/chunks/chunk-IZEIMAJI.js +1 -0
  6. package/dist/chunks/chunk-NSW5PCGW.js +1 -0
  7. package/dist/chunks/chunk-OERUEODX.js +388 -0
  8. package/dist/chunks/{fitment-data-6KHIA3AT.js → fitment-data-2SHEWSDK.js} +1 -1
  9. package/dist/contract.js +11 -11
  10. package/dist/editor/components/GalleryPicturesSource.d.ts +4 -16
  11. package/dist/editor/components/GalleryPicturesSource.js +1 -1
  12. package/dist/editor/components/GalleryProductBinding.js +1 -1
  13. package/dist/editor/lib/document/blocks/commerce/AlloyWheelsListing/fields.js +1 -1
  14. package/dist/editor/lib/document/blocks/commerce/ProductPicture/fields.js +1 -1
  15. package/dist/editor/lib/document/blocks/commerce/index.d.ts +1 -1
  16. package/dist/editor/lib/document/blocks/service/AppointmentBooking/fields.js +1 -1
  17. package/dist/editor/lib/document/blocks/service/ContactRouting/fields.js +1 -1
  18. package/dist/editor/lib/document/blocks/service/Events/fields.js +1 -1
  19. package/dist/editor/lib/document/blocks/service/index.d.ts +1 -1
  20. package/dist/editor/lib/document/config.d.ts +2 -0
  21. package/dist/editor/lib/document/config.js +1 -1
  22. package/dist/editor/lib/storefront-editor-words.d.ts +3 -14
  23. package/dist/editor/lib/storefront-editor-words.js +1 -1
  24. package/dist/editor.css +1 -1
  25. package/dist/index.js +93 -85
  26. package/dist/links.js +1 -1
  27. package/dist/render/app/globals.css +5 -2
  28. package/dist/render/built-with.json +1 -1
  29. package/dist/render/components/AppointmentBooking.d.ts +2 -1
  30. package/dist/render/components/AppointmentBooking.js +1 -1
  31. package/dist/render/components/ContactRouting.d.ts +2 -1
  32. package/dist/render/components/ContactRouting.js +1 -1
  33. package/dist/render/components/Events.d.ts +3 -1
  34. package/dist/render/components/Events.js +1 -1
  35. package/dist/render/components/GridCardTemplate.d.ts +33 -3
  36. package/dist/render/components/GridCardTemplate.js +1 -1
  37. package/dist/render/components/ProductGridSection.d.ts +2 -1
  38. package/dist/render/components/ProductGridSection.js +1 -1
  39. package/dist/render/components/PublishedFooter.js +1 -1
  40. package/dist/render/components/PublishedHeader.js +1 -1
  41. package/dist/render/components/RatingBlockView.d.ts +5 -0
  42. package/dist/render/components/RatingBlockView.js +1 -0
  43. package/dist/render/components/ReviewForm.js +1 -1
  44. package/dist/render/components/TyrePlpCard.d.ts +2 -1
  45. package/dist/render/components/TyrePlpCard.js +1 -1
  46. package/dist/render/components/TyreSummaryCard.d.ts +2 -1
  47. package/dist/render/components/TyreSummaryCard.js +1 -1
  48. package/dist/render/components/WheelCardFrame.d.ts +1 -2
  49. package/dist/render/components/WheelCardFrame.js +1 -1
  50. package/dist/render/components/card-pieces/CardPicture.d.ts +1 -1
  51. package/dist/render/components/card-pieces/CardProductPicture.d.ts +3 -0
  52. package/dist/render/components/card-pieces/CardProductPicture.js +1 -1
  53. package/dist/render/components/pdp-dynamic/DynamicGalleryGrid.js +1 -1
  54. package/dist/render/components/useProductCatalog.d.ts +1 -0
  55. package/dist/render/components/wheels-plp/AlloyWheelsListing.d.ts +5 -14
  56. package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
  57. package/dist/render/lib/api/index.d.ts +3 -1
  58. package/dist/render/lib/api/index.js +1 -1
  59. package/dist/render/lib/api/types.d.ts +1 -0
  60. package/dist/render/lib/chrome-cache.d.ts +1 -0
  61. package/dist/render/lib/chrome-cache.js +1 -1
  62. package/dist/render/lib/content/events-featured-look.d.ts +3 -0
  63. package/dist/render/lib/content/events-featured-look.js +1 -0
  64. package/dist/render/lib/content/product-card-seed.d.ts +19 -0
  65. package/dist/render/lib/content/product-card-seed.js +1 -1
  66. package/dist/render/lib/content/rating.d.ts +1 -0
  67. package/dist/render/lib/content/rating.js +1 -0
  68. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.d.ts +6 -0
  69. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/meta.js +1 -1
  70. package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
  71. package/dist/render/lib/document/blocks/commerce/ProductColour/render.js +1 -1
  72. package/dist/render/lib/document/blocks/commerce/ProductEyebrow/render.js +1 -1
  73. package/dist/render/lib/document/blocks/commerce/ProductGrid/render.js +1 -1
  74. package/dist/render/lib/document/blocks/commerce/ProductPicture/render.js +1 -1
  75. package/dist/render/lib/document/blocks/commerce/ProductPrice/render.js +1 -1
  76. package/dist/render/lib/document/blocks/commerce/ProductSpecs/render.js +1 -1
  77. package/dist/render/lib/document/blocks/service/AppointmentBooking/render.js +1 -1
  78. package/dist/render/lib/document/blocks/service/ContactRouting/render.js +1 -1
  79. package/dist/render/lib/document/blocks/service/Events/meta.d.ts +6 -0
  80. package/dist/render/lib/document/blocks/service/Events/meta.js +1 -1
  81. package/dist/render/lib/document/blocks/service/Events/render.js +1 -1
  82. package/dist/render/lib/document/blocks/service/RatingBlock/meta.d.ts +2 -1
  83. package/dist/render/lib/document/blocks/service/RatingBlock/meta.js +1 -1
  84. package/dist/render/lib/document/blocks/service/RatingBlock/render.js +1 -1
  85. package/dist/render/lib/document/blocks/service/SiteHeader/render.js +1 -1
  86. package/dist/render/lib/document/card-templates.d.ts +3 -1
  87. package/dist/render/lib/document/card-templates.js +1 -1
  88. package/dist/render/lib/document/published-header-bar.d.ts +10 -0
  89. package/dist/render/lib/document/published-header-bar.js +1 -0
  90. package/dist/render/lib/document/render-config.d.ts +2 -0
  91. package/dist/render/lib/document/render-config.js +1 -1
  92. package/dist/render/lib/document/section-to-box-rows-detail.js +1 -1
  93. package/dist/render/lib/document/section-to-box-rows-events.d.ts +1 -0
  94. package/dist/render/lib/document/section-to-box-rows-events.js +1 -0
  95. package/dist/render/lib/document/section-to-box-rows-reviews.d.ts +2 -1
  96. package/dist/render/lib/document/section-to-box-rows-reviews.js +1 -1
  97. package/dist/render/lib/document/section-to-box-rows-service.d.ts +1 -0
  98. package/dist/render/lib/document/section-to-box-rows-service.js +1 -0
  99. package/dist/render/lib/document/section-to-box-rows-spec.js +1 -1
  100. package/dist/render/lib/logo/surface-is-light.js +1 -1
  101. package/dist/render/lib/sections/card-tone.d.ts +9 -0
  102. package/dist/render/lib/sections/card-tone.js +1 -0
  103. package/dist/render/lib/sections/grid-no-hole.d.ts +1 -1
  104. package/dist/render/lib/sections/product-pictures.d.ts +3 -0
  105. package/dist/render/lib/sections/product-pictures.js +1 -1
  106. package/dist/render/lib/wheels/plp-hydrate.d.ts +3 -0
  107. package/dist/render/lib/wheels/plp-hydrate.js +1 -1
  108. package/dist/words.d.ts +27 -14
  109. package/dist/words.js +5 -5
  110. package/package.json +6 -4
  111. package/dist/chunks/chunk-4VRLGKYU.js +0 -387
  112. package/dist/chunks/chunk-PHQQRGQZ.js +0 -1
  113. package/dist/chunks/chunk-YL2HPWVT.js +0 -1
  114. package/dist/render/components/wheels-plp/PlpCard.d.ts +0 -29
  115. package/dist/render/components/wheels-plp/PlpCard.js +0 -1
  116. /package/dist/chunks/{chunk-4VRLGKYU.js.LEGAL.txt → chunk-OERUEODX.js.LEGAL.txt} +0 -0
  117. /package/dist/chunks/{chunk-XMTQMRA3.js → chunk-XYG76Y4H.js} +0 -0
package/dist/words.d.ts CHANGED
@@ -101,9 +101,11 @@ export type WebBuilderPhrase =
101
101
  | "A titled chart — bars, line or donut — drawn from your own labeled data points."
102
102
  | "A vehicle picker — make, model, year and trim resolve the OEM stock fitment live."
103
103
  | "A wall of city photos, grouped by region. Each photo links to its city's card."
104
+ | "A wall of your photos or your products' pictures, with a click-to-open lightbox."
104
105
  | "A world map of your locations with a legend — designed here, sold worldwide."
105
106
  | "A write-a-review form — submissions wait for your approval before they show."
106
107
  | "About & brand story"
108
+ | "Accessories"
107
109
  | "Accordion"
108
110
  | "Account"
109
111
  | "Active tab"
@@ -231,6 +233,7 @@ export type WebBuilderPhrase =
231
233
  | "Box"
232
234
  | "Box name"
233
235
  | "Box shape"
236
+ | "Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. It has no effect when Content is Full width."
234
237
  | "Brand Text"
235
238
  | "Brand name"
236
239
  | "Breadcrumb"
@@ -326,6 +329,7 @@ export type WebBuilderPhrase =
326
329
  | "Column 4 title"
327
330
  | "Column {n}"
328
331
  | "Columns"
332
+ | "Compatible Tyres"
329
333
  | "Connect to a live number"
330
334
  | "Contact / Locations"
331
335
  | "Contact Form"
@@ -357,6 +361,7 @@ export type WebBuilderPhrase =
357
361
  | "Country Switch"
358
362
  | "Cover"
359
363
  | "Cover image"
364
+ | "Covers"
360
365
  | "Cross ✕"
361
366
  | "Crumbs"
362
367
  | "Current page"
@@ -393,6 +398,7 @@ export type WebBuilderPhrase =
393
398
  | "Delete “{name}”"
394
399
  | "Deleted “{name}”"
395
400
  | "Delivery"
401
+ | "Delivery Options"
396
402
  | "Delivery tiers as cards — name, window and price, one highlighted."
397
403
  | "Describe this section in a sentence or two."
398
404
  | "Describe this step in a sentence or two."
@@ -508,6 +514,7 @@ export type WebBuilderPhrase =
508
514
  | "Finish steps"
509
515
  | "Finish swatches"
510
516
  | "Finish · Size · ×1"
517
+ | "First group"
511
518
  | "First item"
512
519
  | "First section"
513
520
  | "Fit content"
@@ -544,6 +551,7 @@ export type WebBuilderPhrase =
544
551
  | "Full-bleed intro image the next section scrolls over."
545
552
  | "Full-screen image or video with a headline."
546
553
  | "Full-screen opener with rotating slides."
554
+ | "Gallery"
547
555
  | "Gap"
548
556
  | "Gap only"
549
557
  | "Give the new template page a name. It starts blank — add sections once it opens."
@@ -618,6 +626,7 @@ export type WebBuilderPhrase =
618
626
  | "Image background"
619
627
  | "Image caption"
620
628
  | "Image column"
629
+ | "Image content"
621
630
  | "Image date"
622
631
  | "Image fit"
623
632
  | "Image focus"
@@ -695,6 +704,7 @@ export type WebBuilderPhrase =
695
704
  | "Legal Line"
696
705
  | "Length"
697
706
  | "Level"
707
+ | "Lifestyle photos"
698
708
  | "Lift"
699
709
  | "Lifted"
700
710
  | "Light"
@@ -859,6 +869,7 @@ export type WebBuilderPhrase =
859
869
  | "Order Table"
860
870
  | "Order content"
861
871
  | "Order summary"
872
+ | "Others"
862
873
  | "Outline"
863
874
  | "Outlined"
864
875
  | "Overlay"
@@ -899,6 +910,7 @@ export type WebBuilderPhrase =
899
910
  | "Pick a color to see how it reads."
900
911
  | "Pick a post from {place} to auto-fill this section, or keep “None (manual)” to author it yourself below."
901
912
  | "Pick who to reach, then a form that routes the message."
913
+ | "Picture"
902
914
  | "Picture first"
903
915
  | "Pinterest"
904
916
  | "Place"
@@ -932,6 +944,7 @@ export type WebBuilderPhrase =
932
944
  | "Product collections in a tidy grid."
933
945
  | "Product name"
934
946
  | "Product page"
947
+ | "Product photos"
935
948
  | "Product record"
936
949
  | "Product record (spec tiles)"
937
950
  | "Product tiles"
@@ -965,6 +978,7 @@ export type WebBuilderPhrase =
965
978
  | "Region · country"
966
979
  | "Related Products"
967
980
  | "Remove section"
981
+ | "Renderings"
968
982
  | "Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row."
969
983
  | "Reset color"
970
984
  | "Reset {name} to the preset"
@@ -998,6 +1012,8 @@ export type WebBuilderPhrase =
998
1012
  | "Rows"
999
1013
  | "Rows, first image on the left"
1000
1014
  | "Rows, first image on the right"
1015
+ | "Same finish"
1016
+ | "Same finish shows the photos of the finish the card shows, else the first group."
1001
1017
  | "Sans"
1002
1018
  | "Save"
1003
1019
  | "Save as Template"
@@ -1005,6 +1021,7 @@ export type WebBuilderPhrase =
1005
1021
  | "Save your page changes first"
1006
1022
  | "Scale"
1007
1023
  | "Screen"
1024
+ | "Screen 16:10"
1008
1025
  | "Scroll-Over Text"
1009
1026
  | "Scrolling Bar"
1010
1027
  | "Search"
@@ -1078,6 +1095,7 @@ export type WebBuilderPhrase =
1078
1095
  | "Sideways"
1079
1096
  | "Signup Form"
1080
1097
  | "Simple"
1098
+ | "Site"
1081
1099
  | "Site button color"
1082
1100
  | "Site settings"
1083
1101
  | "Six across"
@@ -1155,6 +1173,7 @@ export type WebBuilderPhrase =
1155
1173
  | "Sub-total lines"
1156
1174
  | "Subhead"
1157
1175
  | "Subscribe"
1176
+ | "Subscribe with Posts"
1158
1177
  | "Subtitle"
1159
1178
  | "Subtitle font size"
1160
1179
  | "Subtotal"
@@ -1347,7 +1366,9 @@ export type WebBuilderPhrase =
1347
1366
  | "We accept"
1348
1367
  | "WeChat"
1349
1368
  | "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture."
1369
+ | "What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture."
1350
1370
  | "What people *say.*"
1371
+ | "What this card does when a shopper points at it, or taps it on a phone. Highlight fills it with the surface color and turns its text the main color."
1351
1372
  | "What this does when a shopper points at it, or taps it on a phone."
1352
1373
  | "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour."
1353
1374
  | "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour."
@@ -1357,6 +1378,9 @@ export type WebBuilderPhrase =
1357
1378
  | "When the text does not fit"
1358
1379
  | "Where this content is edited."
1359
1380
  | "Whether this page sits on the site's content column, or runs edge to edge."
1381
+ | "Which of the product's pictures the card shows."
1382
+ | "Whole card"
1383
+ | "Whole card hides the words under the photo. Picture keeps the words and swatches in view."
1360
1384
  | "Whole number Theme Color"
1361
1385
  | "Wide (2:1)"
1362
1386
  | "Wide 2:1"
@@ -1477,17 +1501,16 @@ export type StorefrontBlocksPhrase =
1477
1501
  | "5–7 business days"
1478
1502
  | "A Booking Form is these three boxes. They cannot be added to or removed."
1479
1503
  | "A Submit-a-build section is these two boxes. They cannot be added to or removed."
1480
- | "A card's opening picture — picking another color opens that color's first picture."
1481
1504
  | "A detail of this record"
1482
1505
  | "A few quick picks and we show the right option for you."
1483
1506
  | "A line about it appears here."
1484
1507
  | "A number, @name or an ID"
1485
1508
  | "A sample. On the live page each size shows its own verdict for the shopper's car."
1509
+ | "A shadow under the wheel. Needs a picture with a clear background. None keeps the card as it is."
1486
1510
  | "A short description of your newsletter or publication."
1487
1511
  | "A short summary of the post appears here."
1488
1512
  | "A subhead."
1489
1513
  | "A third"
1490
- | "Accessories"
1491
1514
  | "Account and cart"
1492
1515
  | "Add a line of footer text."
1493
1516
  | "Add a second, shorter line if you need one."
@@ -1596,7 +1619,6 @@ export type StorefrontBlocksPhrase =
1596
1619
  | "Column heading"
1597
1620
  | "Columns per line"
1598
1621
  | "Compatible *tyres.*"
1599
- | "Compatible Tyres"
1600
1622
  | "Compatible tyres"
1601
1623
  | "Compatible wheels"
1602
1624
  | "Confirmation message"
@@ -1630,7 +1652,6 @@ export type StorefrontBlocksPhrase =
1630
1652
  | "Default (the product's default finish)"
1631
1653
  | "Default (the product’s default finish)"
1632
1654
  | "Default links"
1633
- | "Delivery Options"
1634
1655
  | "Delivery options"
1635
1656
  | "Delivery, your way"
1636
1657
  | "Describe this feature in a sentence or two."
@@ -1725,7 +1746,6 @@ export type StorefrontBlocksPhrase =
1725
1746
  | "Frequency label"
1726
1747
  | "Frequency options"
1727
1748
  | "From our *customers.*"
1728
- | "Gallery"
1729
1749
  | "Gallery A"
1730
1750
  | "Gallery A comes from the product’s Relative / lifestyle photos, Gallery B from its Product photos and the Others gallery from its Others — edit those in the product’s Media tab and refresh. Each media group is a card: its name is the eyebrow, its finish the meta line; the card’s title is the product name and its tag the category. Headings, intro copy and stats stay yours."
1731
1751
  | "Gallery A comes from the product’s Relative / lifestyle photos, Gallery B from its Product photos and the Others gallery from its Others — edit those in the product’s Media tab and refresh. Each media group is a card: the car set on the group is the eyebrow (a card keeps its caption when the group has no car), its finish the meta line; the card’s title is the product name and its tag the category. Headings, intro copy and stats stay yours."
@@ -1759,7 +1779,6 @@ export type StorefrontBlocksPhrase =
1759
1779
  | "Icon size"
1760
1780
  | "Icon style"
1761
1781
  | "Image / buy ratio"
1762
- | "Image content"
1763
1782
  | "Image gallery"
1764
1783
  | "Image shape"
1765
1784
  | "Image source"
@@ -1800,8 +1819,6 @@ export type StorefrontBlocksPhrase =
1800
1819
  | "Left items"
1801
1820
  | "Left panel"
1802
1821
  | "Letters"
1803
- | "Lifestyle"
1804
- | "Lifestyle photos"
1805
1822
  | "Link a menu in the inspector →"
1806
1823
  | "Link alignment"
1807
1824
  | "Link to group"
@@ -1913,7 +1930,6 @@ export type StorefrontBlocksPhrase =
1913
1930
  | "Opening sort"
1914
1931
  | "Option label"
1915
1932
  | "Options"
1916
- | "Others"
1917
1933
  | "Others gallery"
1918
1934
  | "Outside"
1919
1935
  | "Outside click"
@@ -1930,7 +1946,6 @@ export type StorefrontBlocksPhrase =
1930
1946
  | "PNG · JPG · WEBP"
1931
1947
  | "Pair"
1932
1948
  | "Photo cards"
1933
- | "Photos"
1934
1949
  | "Pick a category from {place} to fill this card’s name, description and image. That content is edited in the category."
1935
1950
  | "Pick a form to show here, or build a new one. Forms are made once in {place} and can be shown on any number of pages."
1936
1951
  | "Pick a menu to drive the header links, or keep the built-in default links."
@@ -1940,7 +1955,6 @@ export type StorefrontBlocksPhrase =
1940
1955
  | "Pick a product…"
1941
1956
  | "Pick the products yourself below, or choose “All products” or a category from {place}."
1942
1957
  | "Pickup"
1943
- | "Picture"
1944
1958
  | "Picture fit"
1945
1959
  | "Pills"
1946
1960
  | "Pinning one overrides the section’s Cover image."
@@ -1963,7 +1977,6 @@ export type StorefrontBlocksPhrase =
1963
1977
  | "Product content"
1964
1978
  | "Product link"
1965
1979
  | "Product page link"
1966
- | "Product photos"
1967
1980
  | "Product story"
1968
1981
  | "Product type"
1969
1982
  | "Product types"
@@ -1977,6 +1990,7 @@ export type StorefrontBlocksPhrase =
1977
1990
  | "Rates from"
1978
1991
  | "Reach by"
1979
1992
  | "Read all posts →"
1993
+ | "Read more"
1980
1994
  | "Ready when *you are.*"
1981
1995
  | "Recent issues"
1982
1996
  | "Recent posts"
@@ -2069,7 +2083,6 @@ export type StorefrontBlocksPhrase =
2069
2083
  | "Side rail"
2070
2084
  | "Signup form"
2071
2085
  | "Similar products"
2072
- | "Site"
2073
2086
  | "Site Footer"
2074
2087
  | "Site Header"
2075
2088
  | "Size (blank = none selected)"
@@ -2103,7 +2116,6 @@ export type StorefrontBlocksPhrase =
2103
2116
  | "Submit button"
2104
2117
  | "Submit-failed error"
2105
2118
  | "Subscribe Form"
2106
- | "Subscribe with Posts"
2107
2119
  | "Subscribe →"
2108
2120
  | "Subscribed button"
2109
2121
  | "Subscribed ✓"
@@ -2115,6 +2127,7 @@ export type StorefrontBlocksPhrase =
2115
2127
  | "Tab switcher"
2116
2128
  | "Tag"
2117
2129
  | "Tag filters"
2130
+ | "Tags"
2118
2131
  | "Tall"
2119
2132
  | "Tell readers what they get and how often. One email, straight to the inbox. We will never sell your address."
2120
2133
  | "Template pages"