@eldrajs/theme-cli 0.2.10 → 0.2.11

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 (168) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/package.json +3 -3
  3. package/template/.eldra/block-types.d.ts +4 -6
  4. package/template/.eldra/manifest.json +228 -246
  5. package/template/.eldra/previews.json +35 -35
  6. package/template/.storybook/eldra.ts +7 -2
  7. package/template/app/assets/main.css +5 -0
  8. package/template/app/composables/useBlockData.ts +9 -2
  9. package/template/app/composables/usePriceTokens.ts +150 -0
  10. package/template/app/composables/useQuickAdd.ts +95 -0
  11. package/template/app/composables/useRegionalFormat.ts +94 -0
  12. package/template/app/icons.ts +4 -0
  13. package/template/app/plugins/eldra-storefront.ts +2 -0
  14. package/template/app/plugins/eldra-ui-messages.ts +22 -8
  15. package/template/app/storefront/demo.ts +188 -16
  16. package/template/app/storefront/gateway.ts +19 -0
  17. package/template/app/storefront/productCardLook.ts +76 -0
  18. package/template/app/storefront/productReference.ts +17 -0
  19. package/template/app/storefront/toProductCard.ts +12 -8
  20. package/template/app/storefront/types.ts +17 -0
  21. package/template/blocks/announcement-bar/__tests__/Block.spec.ts +19 -7
  22. package/template/blocks/announcement-bar/block.json +2 -1
  23. package/template/blocks/announcement-bar/mock.json +1 -1
  24. package/template/blocks/announcement-bar/preview.png +0 -0
  25. package/template/blocks/article/Block.vue +8 -18
  26. package/template/blocks/article/block.json +3 -1
  27. package/template/blocks/article/preview.png +0 -0
  28. package/template/blocks/article-list/block.json +10 -1
  29. package/template/blocks/article-list/preview.png +0 -0
  30. package/template/blocks/breadcrumbs/Block.vue +15 -3
  31. package/template/blocks/breadcrumbs/__tests__/Block.spec.ts +13 -0
  32. package/template/blocks/breadcrumbs/block.json +1 -0
  33. package/template/blocks/breadcrumbs/preview.png +0 -0
  34. package/template/blocks/cart/Block.vue +15 -5
  35. package/template/blocks/cart/__tests__/Block.spec.ts +53 -10
  36. package/template/blocks/cart/__tests__/ShippingBar.spec.ts +10 -8
  37. package/template/blocks/cart/block.json +8 -5
  38. package/template/blocks/cart/mock.json +2 -2
  39. package/template/blocks/cart/parts/ShippingBar.vue +24 -30
  40. package/template/blocks/cart/parts/notSold.ts +4 -3
  41. package/template/blocks/collection-grid/Block.vue +168 -85
  42. package/template/blocks/collection-grid/__tests__/Block.spec.ts +101 -23
  43. package/template/blocks/collection-grid/preview.png +0 -0
  44. package/template/blocks/collection-header/Block.vue +34 -11
  45. package/template/blocks/collection-header/__tests__/Block.spec.ts +3 -3
  46. package/template/blocks/collection-header/block.json +2 -0
  47. package/template/blocks/collection-header/preview.png +0 -0
  48. package/template/blocks/contact/block.json +4 -0
  49. package/template/blocks/contact/preview.png +0 -0
  50. package/template/blocks/cta/block.json +2 -0
  51. package/template/blocks/faq/Block.vue +5 -10
  52. package/template/blocks/faq/block.json +2 -1
  53. package/template/blocks/faq/mock.json +12 -1
  54. package/template/blocks/faq/preview.png +0 -0
  55. package/template/blocks/feature-grid/__tests__/Block.spec.ts +30 -7
  56. package/template/blocks/feature-grid/block.json +3 -2
  57. package/template/blocks/feature-grid/mock.json +1 -1
  58. package/template/blocks/feature-grid/preview.png +0 -0
  59. package/template/blocks/footer/Block.vue +64 -21
  60. package/template/blocks/footer/__tests__/Block.spec.ts +97 -1
  61. package/template/blocks/footer/block.json +5 -2
  62. package/template/blocks/footer/mock.json +1 -1
  63. package/template/blocks/footer/preview.png +0 -0
  64. package/template/blocks/form/block.json +1 -0
  65. package/template/blocks/gallery/preview.png +0 -0
  66. package/template/blocks/hero/Block.vue +38 -9
  67. package/template/blocks/hero/__tests__/Block.spec.ts +71 -19
  68. package/template/blocks/hero/block.json +16 -22
  69. package/template/blocks/hero/preview.json +1 -3
  70. package/template/blocks/hero/preview.png +0 -0
  71. package/template/blocks/image/block.json +2 -1
  72. package/template/blocks/image/preview.png +0 -0
  73. package/template/blocks/logo-cloud/block.json +1 -0
  74. package/template/blocks/logo-cloud/preview.png +0 -0
  75. package/template/blocks/navigation/Block.vue +404 -159
  76. package/template/blocks/navigation/__tests__/Block.spec.ts +806 -172
  77. package/template/blocks/navigation/__tests__/currentItem.spec.ts +90 -0
  78. package/template/blocks/navigation/block.json +2 -11
  79. package/template/blocks/navigation/mock.json +3 -3
  80. package/template/blocks/navigation/parts/LocalePicker.vue +103 -0
  81. package/template/blocks/navigation/parts/currentItem.ts +82 -0
  82. package/template/blocks/navigation/preview.json +7 -1
  83. package/template/blocks/navigation/preview.png +0 -0
  84. package/template/blocks/newsletter/Block.vue +6 -2
  85. package/template/blocks/newsletter/block.json +2 -0
  86. package/template/blocks/newsletter/preview.png +0 -0
  87. package/template/blocks/order-status/Block.vue +8 -17
  88. package/template/blocks/order-status/block.json +3 -0
  89. package/template/blocks/order-status/preview.png +0 -0
  90. package/template/blocks/pricing-table/__tests__/Block.spec.ts +12 -4
  91. package/template/blocks/pricing-table/block.json +2 -0
  92. package/template/blocks/pricing-table/mock.json +6 -6
  93. package/template/blocks/pricing-table/preview.png +0 -0
  94. package/template/blocks/product-carousel/Block.vue +36 -126
  95. package/template/blocks/product-carousel/__tests__/Block.spec.ts +88 -0
  96. package/template/blocks/product-carousel/block.json +1 -0
  97. package/template/blocks/product-carousel/preview.png +0 -0
  98. package/template/blocks/product-detail/Block.vue +84 -31
  99. package/template/blocks/product-detail/__tests__/Block.spec.ts +86 -0
  100. package/template/blocks/product-detail/__tests__/specs.spec.ts +79 -0
  101. package/template/blocks/product-detail/block.json +3 -1
  102. package/template/blocks/product-detail/mock.json +54 -4
  103. package/template/blocks/product-detail/parts/Gallery.vue +8 -2
  104. package/template/blocks/product-detail/preview.png +0 -0
  105. package/template/blocks/product-detail/specs.ts +75 -0
  106. package/template/blocks/quote/block.json +1 -0
  107. package/template/blocks/rich-text/preview.png +0 -0
  108. package/template/blocks/search/Block.vue +6 -1
  109. package/template/blocks/search/TypeSection.vue +8 -1
  110. package/template/blocks/search/__tests__/Block.spec.ts +24 -1
  111. package/template/blocks/search/block.json +1 -0
  112. package/template/blocks/search/preview.png +0 -0
  113. package/template/blocks/split-content/Block.vue +12 -5
  114. package/template/blocks/split-content/__tests__/Block.spec.ts +13 -0
  115. package/template/blocks/split-content/block.json +4 -2
  116. package/template/blocks/split-content/preview.png +0 -0
  117. package/template/blocks/stats/preview.png +0 -0
  118. package/template/blocks/tabs/Block.vue +3 -4
  119. package/template/blocks/tabs/block.json +1 -1
  120. package/template/blocks/tabs/preview.png +0 -0
  121. package/template/blocks/team/block.json +3 -1
  122. package/template/blocks/team/preview.png +0 -0
  123. package/template/blocks/testimonials/block.json +2 -0
  124. package/template/blocks/testimonials/preview.png +0 -0
  125. package/template/blocks/timeline/block.json +2 -1
  126. package/template/blocks/timeline/preview.png +0 -0
  127. package/template/blocks/trust-strip/Block.vue +2 -2
  128. package/template/blocks/trust-strip/__tests__/Block.spec.ts +38 -9
  129. package/template/blocks/trust-strip/block.json +1 -1
  130. package/template/blocks/trust-strip/mock.json +1 -1
  131. package/template/blocks/trust-strip/preview.json +1 -1
  132. package/template/blocks/trust-strip/preview.png +0 -0
  133. package/template/blocks/video-embed/block.json +2 -0
  134. package/template/blocks/video-embed/preview.png +0 -0
  135. package/template/blocks/wishlist/Block.vue +2 -2
  136. package/template/blocks/wishlist/preview.png +0 -0
  137. package/template/i18n/en-US.json +13 -5
  138. package/template/i18n/is-IS.json +12 -4
  139. package/template/pages/article.page.json +1 -3
  140. package/template/pages/cart.page.json +1 -3
  141. package/template/pages/category.page.json +2 -4
  142. package/template/pages/collection.page.json +1 -3
  143. package/template/pages/home.page.json +7 -18
  144. package/template/pages/product.page.json +62 -131
  145. package/template/pages/products.page.json +1 -3
  146. package/template/pages/search.page.json +1 -3
  147. package/template/pages/wishlist.page.json +1 -3
  148. package/template/stories/generated/footer.stories.ts +6 -0
  149. package/template/stories/generated/navigation.stories.ts +0 -18
  150. package/template/test/inlineEditable.spec.ts +10 -2
  151. package/template/test/localePrefix.spec.ts +2 -19
  152. package/template/test/pages/article.spec.ts +0 -2
  153. package/template/test/pages/category.spec.ts +35 -13
  154. package/template/test/pages/home.spec.ts +33 -17
  155. package/template/test/pages/product.spec.ts +64 -44
  156. package/template/test/pages/ssr.spec.ts +3 -1
  157. package/template/test/prerenderRefresh.browser.spec.ts +30 -25
  158. package/template/test/priceTokens.spec.ts +309 -0
  159. package/template/test/regionalFormat.spec.ts +80 -0
  160. package/template/test/starter.spec.ts +23 -7
  161. package/template/test/storefront/demo.spec.ts +19 -18
  162. package/template/test/storefront/toProductCard.spec.ts +17 -2
  163. package/template/test/structuredData.generate.spec.ts +4 -2
  164. package/template/test/support/mockGateway.ts +21 -1
  165. package/template/test/support/mountBlock.ts +25 -4
  166. package/template/test/support/priceTokens.ts +20 -0
  167. package/template/test/uiMessagesPlugin.spec.ts +34 -1
  168. package/template/tokens.json +8 -8
@@ -28,10 +28,8 @@
28
28
  * the value its own `selectedValue` getter reads, so a one-way bind would freeze the display on the
29
29
  * initial tab forever the moment a real click or arrow key fired `select()`.
30
30
  *
31
- * `tabs[].body` is full rich text rendered through `EldraRichText` with no `api-id`, for the same
32
- * reason `faq`'s `items[].answer` and `split-content`'s `rows[].text` have none —
33
- * `useEldraBlockField`/`isBlockFieldLocalized` only resolve a flat, top-level `fieldId`, and
34
- * `tabs[].body` lives one level inside a `list` item.
31
+ * `tabs[].body` is full rich text one level inside a `list` item, rendered through `EldraRichText`
32
+ * with `api-id` so its `localized` flag is read by that path (`tabs.0.body`).
35
33
  *
36
34
  * "Live site renders nothing without tabs" (spec → States, "Empty (freshly inserted)"): the whole
37
35
  * `<Section>` gates on `hasTabs || editing`. The editor's own empty-state hint is a single,
@@ -240,6 +238,7 @@ useRichTextScrollRegions(panelsRoot, (caption) => caption ?? t('tabsBlock.richTe
240
238
  class="prose-eldra [&>*+*]:mt-3"
241
239
  :entry-id="entryId"
242
240
  :field="`tabs.${index}.body`"
241
+ api-id="tabs"
243
242
  :doc="tab.body"
244
243
  :min-heading-level="4"
245
244
  />
@@ -73,7 +73,7 @@
73
73
  "type": "string",
74
74
  "localized": true
75
75
  },
76
- { "fieldId": "href", "name": "Link", "type": "string" }
76
+ { "fieldId": "href", "name": "Link", "type": "string", "allowPrices": false }
77
77
  ]
78
78
  }
79
79
  }
Binary file
@@ -32,7 +32,8 @@
32
32
  {
33
33
  "fieldId": "linkHref",
34
34
  "name": "Link",
35
- "type": "string"
35
+ "type": "string",
36
+ "allowPrices": false
36
37
  },
37
38
  {
38
39
  "fieldId": "people",
@@ -102,6 +103,7 @@
102
103
  "fieldId": "href",
103
104
  "name": "URL",
104
105
  "type": "string",
106
+ "allowPrices": false,
105
107
  "validators": { "required": true }
106
108
  }
107
109
  ]
Binary file
@@ -41,6 +41,7 @@
41
41
  "fieldId": "linkHref",
42
42
  "name": "Link",
43
43
  "type": "string",
44
+ "allowPrices": false,
44
45
  "helpText": "Not shown in single-large."
45
46
  },
46
47
  {
@@ -103,6 +104,7 @@
103
104
  "fieldId": "productHref",
104
105
  "name": "Product link",
105
106
  "type": "string",
107
+ "allowPrices": false,
106
108
  "helpText": "Links the meta line to the product."
107
109
  }
108
110
  ]
@@ -40,7 +40,8 @@
40
40
  {
41
41
  "fieldId": "linkHref",
42
42
  "name": "Link URL",
43
- "type": "string"
43
+ "type": "string",
44
+ "allowPrices": false
44
45
  },
45
46
  {
46
47
  "fieldId": "items",
@@ -326,11 +326,11 @@ const showPaymentsRow = computed(() => showPayments.value && paymentMarks.value.
326
326
  :href="itemHref(item)!"
327
327
  :as="itemLinkAs(item)"
328
328
  :aria-label="item.linkLabel || undefined"
329
- class="justify-self-start text-base leading-[1.5] font-semibold"
329
+ class="justify-self-start text-base leading-[1.6] font-semibold"
330
330
  >
331
331
  {{ item.title }}
332
332
  </Link>
333
- <p v-else class="text-base leading-[1.5] font-semibold">{{ item.title }}</p>
333
+ <p v-else class="text-base leading-[1.6] font-semibold">{{ item.title }}</p>
334
334
  <p v-if="item.text" class="text-muted col-start-2 text-[0.9375rem] leading-[1.6]">
335
335
  {{ item.text }}
336
336
  </p>
@@ -8,6 +8,7 @@ import Block from '../Block.vue';
8
8
  import mock from '../mock.json';
9
9
  import preview from '../preview.json';
10
10
  import { mountOptions } from '../../../test/support/mountBlock';
11
+ import { shown } from '../../../test/support/priceTokens';
11
12
 
12
13
  /** The genuinely minimal fixture: only the fields the block requires. */
13
14
  const bare = {
@@ -69,14 +70,17 @@ function stubResizeObserver(): { trigger: () => void; restore: () => void } {
69
70
  /** jsdom's `scrollWidth`/`clientWidth` are always `0`; shadow them with own properties so the
70
71
  * element reads as overflowing (or not) the way a real, narrower-than-its-content list would. */
71
72
  function setOverflowing(el: Element, overflowing: boolean): void {
72
- Object.defineProperty(el, 'scrollWidth', { value: overflowing ? 800 : 400, configurable: true });
73
+ Object.defineProperty(el, 'scrollWidth', {
74
+ value: overflowing ? 800 : 400,
75
+ configurable: true,
76
+ });
73
77
  Object.defineProperty(el, 'clientWidth', { value: 400, configurable: true });
74
78
  }
75
79
 
76
80
  describe('trust-strip block', () => {
77
81
  it('renders the full mock content with no axe violations', async () => {
78
82
  const wrapper = mountBlock(mock);
79
- for (const item of mock.items) expect(wrapper.text()).toContain(item.title);
83
+ for (const item of mock.items) expect(wrapper.text()).toContain(shown(item.title));
80
84
  expect(wrapper.text()).toContain(mock.paymentsLabel);
81
85
  await flushIcons();
82
86
  expect(await axe(wrapper.element)).toHaveNoViolations();
@@ -99,7 +103,12 @@ describe('trust-strip block', () => {
99
103
  );
100
104
 
101
105
  describe('numbered variant', () => {
102
- const numbered = { ...mock, ...preview, variant: 'numbered', showPayments: false };
106
+ const numbered = {
107
+ ...mock,
108
+ ...preview,
109
+ variant: 'numbered',
110
+ showPayments: false,
111
+ };
103
112
 
104
113
  it('renders the preview content axe-clean, a hidden 01/02/03 in place of each icon', async () => {
105
114
  const wrapper = mountBlock(numbered);
@@ -188,7 +197,11 @@ describe('trust-strip block', () => {
188
197
  });
189
198
 
190
199
  it('caps items at four: a fifth is not rendered', () => {
191
- const fifth = { icon: 'gift', title: 'Gift wrapping', text: 'Free on request.' };
200
+ const fifth = {
201
+ icon: 'gift',
202
+ title: 'Gift wrapping',
203
+ text: 'Free on request.',
204
+ };
192
205
  const wrapper = mountBlock({ ...mock, items: [...mock.items, fifth] });
193
206
  expect(wrapper.text()).not.toContain('Gift wrapping');
194
207
  expect(wrapper.findAll('h2').length + wrapper.findAll('p').length).toBeGreaterThan(0);
@@ -302,15 +315,31 @@ describe('trust-strip block', () => {
302
315
  });
303
316
 
304
317
  it('re-measures overflow when the rendered items change, not only when the list box resizes', async () => {
305
- const wrapper = mountBlock({ ...mock, mobileLayout: 'scroll', items: mock.items.slice(0, 1) });
318
+ const wrapper = mountBlock({
319
+ ...mock,
320
+ mobileLayout: 'scroll',
321
+ items: mock.items.slice(0, 1),
322
+ });
306
323
  const list = wrapper.get('ul').element as HTMLUListElement;
307
- Object.defineProperty(list, 'clientWidth', { configurable: true, value: 300 });
308
- Object.defineProperty(list, 'scrollWidth', { configurable: true, value: 300 });
324
+ Object.defineProperty(list, 'clientWidth', {
325
+ configurable: true,
326
+ value: 300,
327
+ });
328
+ Object.defineProperty(list, 'scrollWidth', {
329
+ configurable: true,
330
+ value: 300,
331
+ });
309
332
  expect(wrapper.get('ul').attributes('tabindex')).toBeUndefined();
310
333
 
311
- Object.defineProperty(list, 'scrollWidth', { configurable: true, value: 900 });
334
+ Object.defineProperty(list, 'scrollWidth', {
335
+ configurable: true,
336
+ value: 900,
337
+ });
312
338
  await wrapper.setProps({
313
- entry: { ...(wrapper.props('entry') as object), data: { ...mock, mobileLayout: 'scroll' } },
339
+ entry: {
340
+ ...(wrapper.props('entry') as object),
341
+ data: { ...mock, mobileLayout: 'scroll' },
342
+ },
314
343
  });
315
344
  await nextTick();
316
345
  await nextTick();
@@ -56,7 +56,7 @@
56
56
  "localized": true,
57
57
  "helpText": "Makes the title a link. Used as its accessible name."
58
58
  },
59
- { "fieldId": "href", "name": "Link URL", "type": "string" }
59
+ { "fieldId": "href", "name": "Link URL", "type": "string", "allowPrices": false }
60
60
  ]
61
61
  }
62
62
  }
@@ -3,7 +3,7 @@
3
3
  "items": [
4
4
  {
5
5
  "icon": "truck",
6
- "title": "Free shipping over $80",
6
+ "title": "Free shipping over ⟦store freeShippingThreshold⟧",
7
7
  "text": "Delivered in 2–4 business days, carbon-neutral."
8
8
  },
9
9
  {
@@ -7,7 +7,7 @@
7
7
  },
8
8
  {
9
9
  "icon": "truck",
10
- "title": "Free delivery over $80",
10
+ "title": "Free delivery over ⟦store freeShippingThreshold⟧",
11
11
  "text": "Dispatched in 1 to 3 days, or collect from the shop."
12
12
  },
13
13
  {
@@ -32,6 +32,7 @@
32
32
  "fieldId": "videoUrl",
33
33
  "name": "Video URL",
34
34
  "type": "string",
35
+ "allowPrices": false,
35
36
  "helpText": "YouTube (loaded from youtube-nocookie.com), Vimeo, or an MP4 from the media library.",
36
37
  "validators": { "required": true }
37
38
  },
@@ -74,6 +75,7 @@
74
75
  "fieldId": "transcriptHref",
75
76
  "name": "Transcript link",
76
77
  "type": "string",
78
+ "allowPrices": false,
77
79
  "helpText": "A page or PDF. Strongly recommended when the video has speech."
78
80
  },
79
81
  {
@@ -287,7 +287,7 @@ async function removeCard(handle: string): Promise<void> {
287
287
  v-if="showSkeletons"
288
288
  role="list"
289
289
  aria-hidden="true"
290
- class="@tablet:grid-cols-3 @tablet:gap-x-6 @tablet:gap-y-12 @desktop:grid-cols-4 grid grid-cols-2 gap-x-4 gap-y-8"
290
+ class="@tablet:grid-cols-3 @tablet:gap-x-6 @tablet:gap-y-12 @desktop:grid-cols-4 grid grid-cols-1 gap-x-4 gap-y-8 @min-[23.25rem]:grid-cols-2"
291
291
  >
292
292
  <li v-for="index in savedCount" :key="index" class="flex flex-col gap-3">
293
293
  <Skeleton variant="media" ratio="4x5" />
@@ -301,7 +301,7 @@ async function removeCard(handle: string): Promise<void> {
301
301
  role="list"
302
302
  :aria-label="t('wishlist.items')"
303
303
  :aria-busy="refreshing ? 'true' : undefined"
304
- class="@tablet:grid-cols-3 @tablet:gap-x-6 @tablet:gap-y-12 @desktop:grid-cols-4 grid grid-cols-2 gap-x-4 gap-y-8"
304
+ class="@tablet:grid-cols-3 @tablet:gap-x-6 @tablet:gap-y-12 @desktop:grid-cols-4 grid grid-cols-1 gap-x-4 gap-y-8 @min-[23.25rem]:grid-cols-2"
305
305
  >
306
306
  <li v-for="entry in cards" :key="entry.item.handle" class="relative">
307
307
  <!-- No quick add, the same decision `collection-grid` makes: a cart action belongs to
@@ -64,7 +64,7 @@
64
64
  "emailError": "Something went wrong. Try again.",
65
65
  "subscribed": "You're on the list.",
66
66
  "localeLabel": "Language",
67
- "currencyLabel": "Currency",
67
+ "currencyLabel": "Prices in",
68
68
  "social": {
69
69
  "instagram": "Instagram",
70
70
  "facebook": "Facebook",
@@ -116,7 +116,6 @@
116
116
  "primary": "Primary navigation",
117
117
  "menu": "Menu",
118
118
  "search": "Search",
119
- "searchField": "Search the shop",
120
119
  "cartEmpty": "Cart, empty",
121
120
  "cartOne": "Cart, 1 item",
122
121
  "cartMany": "Cart, {count} items",
@@ -130,7 +129,10 @@
130
129
  "savedItems": "Saved items",
131
130
  "account": "Account",
132
131
  "home": "{brand}, home",
133
- "info": "Store information"
132
+ "info": "Store information",
133
+ "language": "Language",
134
+ "pricesIn": "Prices in",
135
+ "close": "Close"
134
136
  },
135
137
  "editor": {
136
138
  "addLink": "Add a link"
@@ -350,9 +352,15 @@
350
352
  "countMany": "{count} products",
351
353
  "subcollections": "Sub-collections",
352
354
  "subcategories": "Categories in this one",
355
+ "allInCategory": "All {category}",
353
356
  "titleHintLabel": "Add a title",
354
357
  "titleHintHelp": "Falls back to the collection title from the store"
355
358
  },
359
+ "productCard": {
360
+ "add": "Add",
361
+ "addName": "Add {title} to cart",
362
+ "sale": "Sale"
363
+ },
356
364
  "productCarousel": {
357
365
  "viewAllContext": " products",
358
366
  "carouselLabel": "{heading} products",
@@ -409,7 +417,7 @@
409
417
  "openImage": "Open image {index} of {count}: {alt}",
410
418
  "saleBadge": "Sale",
411
419
  "saving": "Save {amount}",
412
- "taxNote": "Taxes included. Shipping calculated at checkout.",
420
+ "taxNote": "Tax included. Delivery calculated at checkout.",
413
421
  "sizeGuide": "Size guide",
414
422
  "quantity": "Quantity",
415
423
  "addToCart": "Add to cart · {price}",
@@ -640,7 +648,7 @@
640
648
  "pagination": "Pagination",
641
649
  "previousPage": "Previous page",
642
650
  "nextPage": "Next page",
643
- "loadMore": "Load more",
651
+ "loadMore": "Show more",
644
652
  "filterPanelTitle": "Filters",
645
653
  "filterPanelLabel": "Product filters",
646
654
  "filterPanelClearAll": "Clear all",
@@ -64,7 +64,7 @@
64
64
  "emailError": "Eitthvað fór úrskeiðis. Reyndu aftur.",
65
65
  "subscribed": "Skráning tókst.",
66
66
  "localeLabel": "Tungumál",
67
- "currencyLabel": "Gjaldmiðill",
67
+ "currencyLabel": "Verð í",
68
68
  "social": {
69
69
  "instagram": "Instagram",
70
70
  "facebook": "Facebook",
@@ -116,7 +116,6 @@
116
116
  "primary": "Aðalvalmynd",
117
117
  "menu": "Valmynd",
118
118
  "search": "Leita",
119
- "searchField": "Leita í versluninni",
120
119
  "cartEmpty": "Karfa, tóm",
121
120
  "cartOne": "Karfa, 1 vara",
122
121
  "cartMany": "Karfa, {count} vörur",
@@ -130,7 +129,10 @@
130
129
  "savedItems": "Vistaðar vörur",
131
130
  "account": "Aðgangur",
132
131
  "home": "{brand}, forsíða",
133
- "info": "Upplýsingar um verslunina"
132
+ "info": "Upplýsingar um verslunina",
133
+ "language": "Tungumál",
134
+ "pricesIn": "Verð í",
135
+ "close": "Loka"
134
136
  },
135
137
  "editor": {
136
138
  "addLink": "Bæta við tengli"
@@ -350,9 +352,15 @@
350
352
  "countMany": "{count} vörur",
351
353
  "subcollections": "Undirflokkar",
352
354
  "subcategories": "Vöruflokkar undir þessum",
355
+ "allInCategory": "Allt í {category}",
353
356
  "titleHintLabel": "Bættu við titli",
354
357
  "titleHintHelp": "Fellur sjálfgefið til baka í titil safnsins"
355
358
  },
359
+ "productCard": {
360
+ "add": "Bæta við",
361
+ "addName": "Setja {title} í körfu",
362
+ "sale": "Tilboð"
363
+ },
356
364
  "productCarousel": {
357
365
  "viewAllContext": " vörur",
358
366
  "carouselLabel": "Vörur í {heading}",
@@ -409,7 +417,7 @@
409
417
  "openImage": "Opna mynd {index} af {count}: {alt}",
410
418
  "saleBadge": "Tilboð",
411
419
  "saving": "Sparar {amount}",
412
- "taxNote": "Virðisaukaskattur innifalinn. Sendingarkostnaður reiknast í greiðslu.",
420
+ "taxNote": "Virðisaukaskattur innifalinn. Sendingarkostnaður reiknast við greiðslu.",
413
421
  "sizeGuide": "Stærðartafla",
414
422
  "quantity": "Magn",
415
423
  "addToCart": "Setja í körfu · {price}",
@@ -11,7 +11,6 @@
11
11
  "links": [],
12
12
  "drawerLayout": "accordion",
13
13
  "showSearch": true,
14
- "searchStyle": "field",
15
14
  "sticky": true,
16
15
  "transparentOverHero": false
17
16
  }
@@ -713,9 +712,8 @@
713
712
  "id": "article-footer",
714
713
  "data": {
715
714
  "variant": "default",
716
- "background": "primary",
715
+ "background": "dark",
717
716
  "brandText": "Northwind Goods",
718
- "description": "Knitwear, ceramics and kitchen goods from small workshops, made to be used every day. Studio and shop in Portland, Oregon.",
719
717
  "groups": [],
720
718
  "links": [],
721
719
  "showNewsletter": false,
@@ -13,7 +13,6 @@
13
13
  "links": [],
14
14
  "drawerLayout": "accordion",
15
15
  "showSearch": true,
16
- "searchStyle": "field",
17
16
  "sticky": true,
18
17
  "transparentOverHero": false
19
18
  }
@@ -56,9 +55,8 @@
56
55
  "id": "cart-footer",
57
56
  "data": {
58
57
  "variant": "default",
59
- "background": "primary",
58
+ "background": "dark",
60
59
  "brandText": "Northwind Goods",
61
- "description": "Knitwear, ceramics and kitchen goods from small workshops, made to be used every day. Studio and shop in Portland, Oregon.",
62
60
  "groups": [],
63
61
  "links": [],
64
62
  "showNewsletter": false,
@@ -11,7 +11,6 @@
11
11
  "links": [],
12
12
  "drawerLayout": "accordion",
13
13
  "showSearch": true,
14
- "searchStyle": "field",
15
14
  "sticky": true,
16
15
  "transparentOverHero": false
17
16
  }
@@ -71,7 +70,7 @@
71
70
  "scope": "category",
72
71
  "variant": "filter-bar",
73
72
  "columns": "4",
74
- "pageSize": "24",
73
+ "pageSize": "12",
75
74
  "paginationStyle": "load-more",
76
75
  "sortOptions": [
77
76
  {
@@ -122,9 +121,8 @@
122
121
  "id": "category-footer",
123
122
  "data": {
124
123
  "variant": "default",
125
- "background": "primary",
124
+ "background": "dark",
126
125
  "brandText": "Northwind Goods",
127
- "description": "Knitwear, ceramics and kitchen goods from small workshops, made to be used every day. Studio and shop in Portland, Oregon.",
128
126
  "groups": [],
129
127
  "links": [],
130
128
  "showNewsletter": false,
@@ -11,7 +11,6 @@
11
11
  "links": [],
12
12
  "drawerLayout": "accordion",
13
13
  "showSearch": true,
14
- "searchStyle": "field",
15
14
  "sticky": true,
16
15
  "transparentOverHero": false
17
16
  }
@@ -176,9 +175,8 @@
176
175
  "id": "collection-footer",
177
176
  "data": {
178
177
  "variant": "default",
179
- "background": "primary",
178
+ "background": "dark",
180
179
  "brandText": "Northwind Goods",
181
- "description": "Knitwear, ceramics and kitchen goods from small workshops, made to be used every day. Studio and shop in Portland, Oregon.",
182
180
  "groups": [],
183
181
  "links": [],
184
182
  "showNewsletter": false,
@@ -11,7 +11,6 @@
11
11
  "links": [],
12
12
  "drawerLayout": "accordion",
13
13
  "showSearch": true,
14
- "searchStyle": "field",
15
14
  "sticky": true,
16
15
  "transparentOverHero": false
17
16
  }
@@ -35,10 +34,7 @@
35
34
  "altText": "Rows of pale green and white ceramic bottles",
36
35
  "width": 1400,
37
36
  "height": 933
38
- },
39
- "captionLabel": "Glazed milk jug",
40
- "captionDetail": "$34",
41
- "captionHref": "/products/glazed-milk-jug"
37
+ }
42
38
  }
43
39
  },
44
40
  {
@@ -54,15 +50,13 @@
54
50
  },
55
51
  {
56
52
  "icon": "truck",
57
- "title": "Free delivery over $80",
53
+ "title": "Free delivery over ⟦store freeShippingThreshold⟧",
58
54
  "text": "Dispatched in 1 to 3 days, or collect from the shop."
59
55
  },
60
56
  {
61
57
  "icon": "arrow-back-up",
62
58
  "title": "30 days to change your mind",
63
- "text": "Unused items back for a full refund.",
64
- "linkLabel": "30 days to change your mind: our returns policy",
65
- "href": "/pages/returns"
59
+ "text": "Unused items back for a full refund."
66
60
  }
67
61
  ],
68
62
  "mobileLayout": "grid",
@@ -90,7 +84,7 @@
90
84
  "height": 933
91
85
  },
92
86
  "title": "Ceramics",
93
- "text": "Mugs, bowls, vases",
87
+ "text": "Mugs from ⟦price#mugs EUR=2600 ISK=3990 USD=2800⟧, bowls, vases",
94
88
  "href": "/categories/home/ceramics"
95
89
  },
96
90
  {
@@ -150,7 +144,6 @@
150
144
  "data": {
151
145
  "eyebrow": "Just in",
152
146
  "heading": "New arrivals",
153
- "viewAllLabel": "View all",
154
147
  "variant": "collection",
155
148
  "layout": "grid",
156
149
  "limit": "8",
@@ -254,7 +247,6 @@
254
247
  "href": "/journal/slower-morning-coffee",
255
248
  "categoryLabel": "At home",
256
249
  "categoryHref": "/journal/home",
257
- "publishedAt": "2026-10-02",
258
250
  "readingTime": "4 min read",
259
251
  "image": {
260
252
  "assetId": "demo-journal-1",
@@ -270,7 +262,6 @@
270
262
  "href": "/journal/harbour-pottery",
271
263
  "categoryLabel": "Workshop visit",
272
264
  "categoryHref": "/journal/makers",
273
- "publishedAt": "2026-09-24",
274
265
  "readingTime": "6 min read",
275
266
  "image": {
276
267
  "assetId": "demo-journal-2",
@@ -286,7 +277,6 @@
286
277
  "href": "/journal/layering-throws",
287
278
  "categoryLabel": "Knitting",
288
279
  "categoryHref": "/journal/care",
289
- "publishedAt": "2026-09-12",
290
280
  "readingTime": "3 min read",
291
281
  "image": {
292
282
  "assetId": "demo-journal-3",
@@ -305,7 +295,7 @@
305
295
  "data": {
306
296
  "variant": "split",
307
297
  "heading": "Letters from the workshop",
308
- "text": "New pieces and small-batch restocks, once a month. Take 10% off your first order when you join.",
298
+ "text": "New pieces and small-batch restocks, once a month.",
309
299
  "fieldLabel": "Email address",
310
300
  "placeholder": "you@example.com",
311
301
  "buttonLabel": "Subscribe",
@@ -341,7 +331,7 @@
341
331
  },
342
332
  "requireConsentCheckbox": false,
343
333
  "successTitle": "You're on the list",
344
- "successText": "Check your inbox to confirm. Your 10% welcome code arrives with the first letter.",
334
+ "successText": "Check your inbox to confirm your address. The first letter arrives next month.",
345
335
  "helpHeading": "Questions before you buy?",
346
336
  "helpText": "Sizes, glazes, gift ideas: we know every piece in the shop.",
347
337
  "contacts": [
@@ -369,9 +359,8 @@
369
359
  "id": "home-footer",
370
360
  "data": {
371
361
  "variant": "default",
372
- "background": "primary",
362
+ "background": "dark",
373
363
  "brandText": "Northwind Goods",
374
- "description": "Knitwear, ceramics and kitchen goods from small workshops, made to be used every day. Studio and shop in Portland, Oregon.",
375
364
  "groups": [],
376
365
  "links": [],
377
366
  "showNewsletter": false,