@shopify/ui-extensions 2026.1.4 → 2026.1.5

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 (73) hide show
  1. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  2. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  3. package/build/ts/surfaces/admin/components/Clickable.d.ts +7 -7
  4. package/build/ts/surfaces/admin/components/Grid.d.ts +12 -12
  5. package/build/ts/surfaces/admin/components/GridItem.d.ts +7 -7
  6. package/build/ts/surfaces/admin/components/Image.d.ts +7 -7
  7. package/build/ts/surfaces/admin/components/Stack.d.ts +11 -11
  8. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  9. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +0 -3
  10. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  11. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +12 -4
  12. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +12 -4
  13. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
  14. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  15. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +2 -0
  16. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
  17. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +2 -0
  18. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  19. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +2 -0
  20. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
  21. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +2 -0
  22. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
  23. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +1 -16
  24. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
  25. package/build/ts/surfaces/point-of-sale/event/data.d.ts +1 -3
  26. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -1
  27. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +33 -20
  28. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  29. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +0 -1
  30. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +0 -1
  31. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +0 -1
  32. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +0 -1
  33. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +0 -1
  34. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +0 -1
  35. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +0 -1
  36. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +0 -1
  37. package/build/ts/surfaces/point-of-sale/targets/pos.register-details.action.render.d.ts +0 -1
  38. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +0 -1
  39. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +2 -0
  40. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
  41. package/build/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +1 -1
  43. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  44. package/src/surfaces/admin/components/Button.d.ts +1 -1
  45. package/src/surfaces/admin/components/Clickable.d.ts +7 -7
  46. package/src/surfaces/admin/components/Grid.d.ts +12 -12
  47. package/src/surfaces/admin/components/GridItem.d.ts +7 -7
  48. package/src/surfaces/admin/components/Image.d.ts +7 -7
  49. package/src/surfaces/admin/components/Stack.d.ts +11 -11
  50. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  51. package/src/surfaces/admin/components.d.ts +22 -22
  52. package/src/surfaces/checkout/api/standard/standard.ts +0 -3
  53. package/src/surfaces/checkout/components/Checkbox.d.ts +12 -4
  54. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +0 -2
  55. package/src/surfaces/point-of-sale/components.d.ts +1 -1
  56. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +2 -0
  57. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +2 -0
  58. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +2 -0
  59. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +2 -0
  60. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +1 -20
  61. package/src/surfaces/point-of-sale/event/data.ts +1 -10
  62. package/src/surfaces/point-of-sale/extension-targets.ts +33 -35
  63. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +2 -0
  64. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +0 -13
  65. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +0 -1
  66. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +0 -43
  67. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +0 -1
  68. package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +0 -7
  69. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +0 -7
  70. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +0 -7
  71. package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +0 -7
  72. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +0 -13
  73. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +0 -44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/ui-extensions",
3
- "version": "2026.1.4",
3
+ "version": "2026.1.5",
4
4
  "scripts": {
5
5
  "docs:admin": "node ./docs/surfaces/admin/build-docs.mjs",
6
6
  "docs:checkout": "bash ./docs/surfaces/checkout/build-docs.sh",
@@ -215,7 +215,7 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
215
215
  */
216
216
  ref?: preact.Ref<TClass>;
217
217
  /**
218
- * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/app-ui/using-web-components#slots).
218
+ * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/polaris/using-polaris-web-components#slots).
219
219
  */
220
220
  slot?: Lowercase<string>;
221
221
  }
@@ -47,7 +47,7 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
47
47
  */
48
48
  ref?: preact.Ref<TClass>;
49
49
  /**
50
- * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/app-ui/using-web-components#slots).
50
+ * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/polaris/using-polaris-web-components#slots).
51
51
  */
52
52
  slot?: Lowercase<string>;
53
53
  }
@@ -224,7 +224,7 @@ export interface BoxProps
224
224
  *
225
225
  * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
226
226
  *
227
- * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
227
+ * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
228
228
  *
229
229
  * @default 'none'
230
230
  */
@@ -236,7 +236,7 @@ export interface BoxProps
236
236
  *
237
237
  * This overrides the block value of `padding`.
238
238
  *
239
- * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
239
+ * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
240
240
  *
241
241
  * @default '' - meaning no override
242
242
  */
@@ -246,7 +246,7 @@ export interface BoxProps
246
246
  *
247
247
  * This overrides the block-start value of `paddingBlock`.
248
248
  *
249
- * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
249
+ * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
250
250
  *
251
251
  * @default '' - meaning no override
252
252
  */
@@ -256,7 +256,7 @@ export interface BoxProps
256
256
  *
257
257
  * This overrides the block-end value of `paddingBlock`.
258
258
  *
259
- * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
259
+ * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
260
260
  *
261
261
  * @default '' - meaning no override
262
262
  */
@@ -268,7 +268,7 @@ export interface BoxProps
268
268
  *
269
269
  * This overrides the inline value of `padding`.
270
270
  *
271
- * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
271
+ * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
272
272
  *
273
273
  * @default '' - meaning no override
274
274
  */
@@ -278,7 +278,7 @@ export interface BoxProps
278
278
  *
279
279
  * This overrides the inline-start value of `paddingInline`.
280
280
  *
281
- * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
281
+ * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
282
282
  *
283
283
  * @default '' - meaning no override
284
284
  */
@@ -288,7 +288,7 @@ export interface BoxProps
288
288
  *
289
289
  * This overrides the inline-end value of `paddingInline`.
290
290
  *
291
- * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
291
+ * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
292
292
  *
293
293
  * @default '' - meaning no override
294
294
  */
@@ -184,7 +184,7 @@ export interface BoxProps
184
184
  *
185
185
  * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
186
186
  *
187
- * `padding` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
187
+ * `padding` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
188
188
  *
189
189
  * @default 'none'
190
190
  */
@@ -196,7 +196,7 @@ export interface BoxProps
196
196
  *
197
197
  * This overrides the block value of `padding`.
198
198
  *
199
- * `paddingBlock` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
199
+ * `paddingBlock` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
200
200
  *
201
201
  * @default '' - meaning no override
202
202
  */
@@ -206,7 +206,7 @@ export interface BoxProps
206
206
  *
207
207
  * This overrides the block-start value of `paddingBlock`.
208
208
  *
209
- * `paddingBlockStart` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
209
+ * `paddingBlockStart` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
210
210
  *
211
211
  * @default '' - meaning no override
212
212
  */
@@ -216,7 +216,7 @@ export interface BoxProps
216
216
  *
217
217
  * This overrides the block-end value of `paddingBlock`.
218
218
  *
219
- * `paddingBlockEnd` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
219
+ * `paddingBlockEnd` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
220
220
  *
221
221
  * @default '' - meaning no override
222
222
  */
@@ -228,7 +228,7 @@ export interface BoxProps
228
228
  *
229
229
  * This overrides the inline value of `padding`.
230
230
  *
231
- * `paddingInline` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
231
+ * `paddingInline` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
232
232
  *
233
233
  * @default '' - meaning no override
234
234
  */
@@ -238,7 +238,7 @@ export interface BoxProps
238
238
  *
239
239
  * This overrides the inline-start value of `paddingInline`.
240
240
  *
241
- * `paddingInlineStart` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
241
+ * `paddingInlineStart` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
242
242
  *
243
243
  * @default '' - meaning no override
244
244
  */
@@ -248,7 +248,7 @@ export interface BoxProps
248
248
  *
249
249
  * This overrides the inline-end value of `paddingInline`.
250
250
  *
251
- * `paddingInlineEnd` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
251
+ * `paddingInlineEnd` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
252
252
  *
253
253
  * @default '' - meaning no override
254
254
  */
@@ -374,31 +374,31 @@ export interface GridProps
374
374
  | `${AlignContentKeyword} ${JustifyContentKeyword}`
375
375
  | AlignContentKeyword;
376
376
  /**
377
- * The spacing between grid rows and columns. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value to apply the same spacing to both axes (for example, `'large-100'`), or a pair of values (for example, `'large-100 large-500'`) to set different spacing for rows and columns. This property also accepts [responsive values](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
377
+ * The spacing between grid rows and columns. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value to apply the same spacing to both axes (for example, `'large-100'`), or a pair of values (for example, `'large-100 large-500'`) to set different spacing for rows and columns. This property also accepts [responsive values](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
378
378
  *
379
379
  * @default 'none'
380
380
  */
381
381
  gap: ResponsiveGridProps['gap'];
382
382
  /**
383
- * The spacing between grid rows. This property overrides the row spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
383
+ * The spacing between grid rows. This property overrides the row spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
384
384
  *
385
385
  * @default '' - meaning no override
386
386
  */
387
387
  rowGap: ResponsiveGridProps['rowGap'];
388
388
  /**
389
- * The spacing between grid columns. This property overrides the column spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
389
+ * The spacing between grid columns. This property overrides the column spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
390
390
  *
391
391
  * @default '' - meaning no override
392
392
  */
393
393
  columnGap: ResponsiveGridProps['columnGap'];
394
394
  /**
395
- * The number of columns and their sizes. You can use [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (for example, `'1fr auto'` or `'repeat(3, 1fr)'`) to define the grid structure. This property also accepts [responsive values](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
395
+ * The number of columns and their sizes. You can use [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (for example, `'1fr auto'` or `'repeat(3, 1fr)'`) to define the grid structure. This property also accepts [responsive values](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
396
396
  *
397
397
  * @default 'none'
398
398
  */
399
399
  gridTemplateColumns: ResponsiveGridProps['gridTemplateColumns'];
400
400
  /**
401
- * The number of rows and their sizes. You can use [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (for example, `'1fr auto'` or `'repeat(3, 100px)'`) to define the grid structure. This property also accepts [responsive values](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
401
+ * The number of rows and their sizes. You can use [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (for example, `'1fr auto'` or `'repeat(3, 100px)'`) to define the grid structure. This property also accepts [responsive values](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
402
402
  *
403
403
  * @default 'none'
404
404
  */
@@ -179,7 +179,7 @@ export interface BoxProps
179
179
  *
180
180
  * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
181
181
  *
182
- * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
182
+ * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
183
183
  *
184
184
  * @default 'none'
185
185
  */
@@ -191,7 +191,7 @@ export interface BoxProps
191
191
  *
192
192
  * This overrides the block value of `padding`.
193
193
  *
194
- * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
194
+ * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
195
195
  *
196
196
  * @default '' - meaning no override
197
197
  */
@@ -201,7 +201,7 @@ export interface BoxProps
201
201
  *
202
202
  * This overrides the block-start value of `paddingBlock`.
203
203
  *
204
- * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
204
+ * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
205
205
  *
206
206
  * @default '' - meaning no override
207
207
  */
@@ -211,7 +211,7 @@ export interface BoxProps
211
211
  *
212
212
  * This overrides the block-end value of `paddingBlock`.
213
213
  *
214
- * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
214
+ * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
215
215
  *
216
216
  * @default '' - meaning no override
217
217
  */
@@ -223,7 +223,7 @@ export interface BoxProps
223
223
  *
224
224
  * This overrides the inline value of `padding`.
225
225
  *
226
- * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
226
+ * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
227
227
  *
228
228
  * @default '' - meaning no override
229
229
  */
@@ -233,7 +233,7 @@ export interface BoxProps
233
233
  *
234
234
  * This overrides the inline-start value of `paddingInline`.
235
235
  *
236
- * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
236
+ * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
237
237
  *
238
238
  * @default '' - meaning no override
239
239
  */
@@ -243,7 +243,7 @@ export interface BoxProps
243
243
  *
244
244
  * This overrides the inline-end value of `paddingInline`.
245
245
  *
246
- * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
246
+ * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
247
247
  *
248
248
  * @default '' - meaning no override
249
249
  */
@@ -217,7 +217,7 @@ export interface BoxProps
217
217
  *
218
218
  * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
219
219
  *
220
- * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
220
+ * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
221
221
  *
222
222
  * @default 'none'
223
223
  */
@@ -229,7 +229,7 @@ export interface BoxProps
229
229
  *
230
230
  * This overrides the block value of `padding`.
231
231
  *
232
- * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
232
+ * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
233
233
  *
234
234
  * @default '' - meaning no override
235
235
  */
@@ -239,7 +239,7 @@ export interface BoxProps
239
239
  *
240
240
  * This overrides the block-start value of `paddingBlock`.
241
241
  *
242
- * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
242
+ * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
243
243
  *
244
244
  * @default '' - meaning no override
245
245
  */
@@ -249,7 +249,7 @@ export interface BoxProps
249
249
  *
250
250
  * This overrides the block-end value of `paddingBlock`.
251
251
  *
252
- * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
252
+ * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
253
253
  *
254
254
  * @default '' - meaning no override
255
255
  */
@@ -261,7 +261,7 @@ export interface BoxProps
261
261
  *
262
262
  * This overrides the inline value of `padding`.
263
263
  *
264
- * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
264
+ * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
265
265
  *
266
266
  * @default '' - meaning no override
267
267
  */
@@ -271,7 +271,7 @@ export interface BoxProps
271
271
  *
272
272
  * This overrides the inline-start value of `paddingInline`.
273
273
  *
274
- * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
274
+ * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
275
275
  *
276
276
  * @default '' - meaning no override
277
277
  */
@@ -281,7 +281,7 @@ export interface BoxProps
281
281
  *
282
282
  * This overrides the inline-end value of `paddingInline`.
283
283
  *
284
- * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
284
+ * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
285
285
  *
286
286
  * @default '' - meaning no override
287
287
  */
@@ -183,7 +183,7 @@ export interface BoxProps
183
183
  *
184
184
  * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
185
185
  *
186
- * `padding` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
186
+ * `padding` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
187
187
  *
188
188
  * @default 'none'
189
189
  */
@@ -195,7 +195,7 @@ export interface BoxProps
195
195
  *
196
196
  * This overrides the block value of `padding`.
197
197
  *
198
- * `paddingBlock` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
198
+ * `paddingBlock` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
199
199
  *
200
200
  * @default '' - meaning no override
201
201
  */
@@ -205,7 +205,7 @@ export interface BoxProps
205
205
  *
206
206
  * This overrides the block-start value of `paddingBlock`.
207
207
  *
208
- * `paddingBlockStart` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
208
+ * `paddingBlockStart` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
209
209
  *
210
210
  * @default '' - meaning no override
211
211
  */
@@ -215,7 +215,7 @@ export interface BoxProps
215
215
  *
216
216
  * This overrides the block-end value of `paddingBlock`.
217
217
  *
218
- * `paddingBlockEnd` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
218
+ * `paddingBlockEnd` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
219
219
  *
220
220
  * @default '' - meaning no override
221
221
  */
@@ -227,7 +227,7 @@ export interface BoxProps
227
227
  *
228
228
  * This overrides the inline value of `padding`.
229
229
  *
230
- * `paddingInline` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
230
+ * `paddingInline` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
231
231
  *
232
232
  * @default '' - meaning no override
233
233
  */
@@ -237,7 +237,7 @@ export interface BoxProps
237
237
  *
238
238
  * This overrides the inline-start value of `paddingInline`.
239
239
  *
240
- * `paddingInlineStart` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
240
+ * `paddingInlineStart` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
241
241
  *
242
242
  * @default '' - meaning no override
243
243
  */
@@ -247,7 +247,7 @@ export interface BoxProps
247
247
  *
248
248
  * This overrides the inline-end value of `paddingInline`.
249
249
  *
250
- * `paddingInlineEnd` also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
250
+ * `paddingInlineEnd` also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
251
251
  *
252
252
  * @default '' - meaning no override
253
253
  */
@@ -352,25 +352,25 @@ export interface StackProps
352
352
  */
353
353
  alignContent: AlignContentKeyword;
354
354
  /**
355
- * The spacing between children in the stack. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value to apply the same spacing to both axes (for example, `'large-100'`), or a pair of values (for example, `'large-100 large-500'`) to set different spacing for the block and inline axes. This property also accepts [responsive values](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
355
+ * The spacing between children in the stack. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value to apply the same spacing to both axes (for example, `'large-100'`), or a pair of values (for example, `'large-100 large-500'`) to set different spacing for the block and inline axes. This property also accepts [responsive values](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
356
356
  *
357
357
  * @default 'none'
358
358
  */
359
359
  gap: ResponsiveStackProps['gap'];
360
360
  /**
361
- * The spacing between children in the block axis (vertical in horizontal writing modes). This property overrides the row spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
361
+ * The spacing between children in the block axis (vertical in horizontal writing modes). This property overrides the row spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
362
362
  *
363
363
  * @default '' - meaning no override
364
364
  */
365
365
  rowGap: ResponsiveStackProps['rowGap'];
366
366
  /**
367
- * The spacing between children in the inline axis (horizontal in left-to-right languages). This property overrides the column spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
367
+ * The spacing between children in the inline axis (horizontal in left-to-right languages). This property overrides the column spacing set by the `gap` property. You can provide a single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value (for example, `'large-100'`), or a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
368
368
  *
369
369
  * @default '' - meaning no override
370
370
  */
371
371
  columnGap: ResponsiveStackProps['columnGap'];
372
372
  /**
373
- * The direction in which the stack's children are laid out. Use `'inline'` to arrange children horizontally (with wrapping enabled), or `'block'` to arrange them vertically (without wrapping). This property also accepts [responsive values](/docs/api/polaris/using-web-components#responsive-values) using container query syntax.
373
+ * The direction in which the stack's children are laid out. Use `'inline'` to arrange children horizontally (with wrapping enabled), or `'block'` to arrange them vertically (without wrapping). This property also accepts [responsive values](/docs/api/polaris/using-polaris-web-components#responsive-values) using container query syntax.
374
374
  *
375
375
  * @default 'block'
376
376
  *
@@ -63,7 +63,7 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
63
63
  */
64
64
  ref?: preact.Ref<TClass>;
65
65
  /**
66
- * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/app-ui/using-web-components#slots).
66
+ * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/polaris/using-polaris-web-components#slots).
67
67
  */
68
68
  slot?: Lowercase<string>;
69
69
  }
@@ -5368,7 +5368,7 @@ export interface BoxProps
5368
5368
  *
5369
5369
  * **Examples:** `base`, `large none`, `base large-100 base small`
5370
5370
  *
5371
- * Use `auto` to inherit padding from the nearest container with removed padding. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5371
+ * Use `auto` to inherit padding from the nearest container with removed padding. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5372
5372
  *
5373
5373
  * @default 'none'
5374
5374
  */
@@ -5380,7 +5380,7 @@ export interface BoxProps
5380
5380
  *
5381
5381
  * **Example:** `large none` applies `large` to the top and `none` to the bottom.
5382
5382
  *
5383
- * Overrides the block value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5383
+ * Overrides the block value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5384
5384
  *
5385
5385
  * @default '' - meaning no override
5386
5386
  */
@@ -5388,7 +5388,7 @@ export interface BoxProps
5388
5388
  /**
5389
5389
  * The block-start padding (top in horizontal writing modes).
5390
5390
  *
5391
- * Overrides the block-start value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5391
+ * Overrides the block-start value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5392
5392
  *
5393
5393
  * @default '' - meaning no override
5394
5394
  */
@@ -5396,7 +5396,7 @@ export interface BoxProps
5396
5396
  /**
5397
5397
  * The block-end padding (bottom in horizontal writing modes).
5398
5398
  *
5399
- * Overrides the block-end value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5399
+ * Overrides the block-end value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5400
5400
  *
5401
5401
  * @default '' - meaning no override
5402
5402
  */
@@ -5408,7 +5408,7 @@ export interface BoxProps
5408
5408
  *
5409
5409
  * **Example:** `large none` applies `large` to the left and `none` to the right.
5410
5410
  *
5411
- * Overrides the inline value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5411
+ * Overrides the inline value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5412
5412
  *
5413
5413
  * @default '' - meaning no override
5414
5414
  */
@@ -5416,7 +5416,7 @@ export interface BoxProps
5416
5416
  /**
5417
5417
  * The inline-start padding (left in LTR writing modes, right in RTL).
5418
5418
  *
5419
- * Overrides the inline-start value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5419
+ * Overrides the inline-start value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5420
5420
  *
5421
5421
  * @default '' - meaning no override
5422
5422
  */
@@ -5424,7 +5424,7 @@ export interface BoxProps
5424
5424
  /**
5425
5425
  * The inline-end padding (right in LTR writing modes, left in RTL).
5426
5426
  *
5427
- * Overrides the inline-end value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5427
+ * Overrides the inline-end value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
5428
5428
  *
5429
5429
  * @default '' - meaning no override
5430
5430
  */
@@ -6826,9 +6826,9 @@ export interface GridProps
6826
6826
  * Adjusts spacing between elements.
6827
6827
  *
6828
6828
  * Accepts:
6829
- * - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value applied to both axes, such as `large-100`
6829
+ * - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value applied to both axes, such as `large-100`
6830
6830
  * - A pair of values, such as `large-100 large-500`, to set the inline and block axes respectively
6831
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
6831
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
6832
6832
  *
6833
6833
  * @default 'none'
6834
6834
  */
@@ -6837,8 +6837,8 @@ export interface GridProps
6837
6837
  * s spacing between elements in the block axis. This overrides the row value of `gap`.
6838
6838
  *
6839
6839
  * Accepts:
6840
- * - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
6841
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
6840
+ * - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
6841
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
6842
6842
  *
6843
6843
  * @default '' - meaning no override
6844
6844
  */
@@ -6847,8 +6847,8 @@ export interface GridProps
6847
6847
  * Adjusts spacing between elements in the inline axis. This overrides the column value of `gap`.
6848
6848
  *
6849
6849
  * Accepts:
6850
- * - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
6851
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
6850
+ * - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
6851
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
6852
6852
  *
6853
6853
  * @default '' - meaning no override
6854
6854
  */
@@ -6858,7 +6858,7 @@ export interface GridProps
6858
6858
  *
6859
6859
  * Accepts:
6860
6860
  * - [Track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes), such as `1fr auto`
6861
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported track sizing values as a query value
6861
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported track sizing values as a query value
6862
6862
  *
6863
6863
  * @default 'none'
6864
6864
  */
@@ -6868,7 +6868,7 @@ export interface GridProps
6868
6868
  *
6869
6869
  * Accepts:
6870
6870
  * - [Track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes), such as `1fr auto`
6871
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported track sizing values as a query value
6871
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported track sizing values as a query value
6872
6872
  *
6873
6873
  * @default 'none'
6874
6874
  */
@@ -8343,9 +8343,9 @@ export interface StackProps
8343
8343
  * Adjusts spacing between elements.
8344
8344
  *
8345
8345
  * Accepts:
8346
- * - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value applied to both axes, such as `large-100`
8346
+ * - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value applied to both axes, such as `large-100`
8347
8347
  * - A pair of values, such as `large-100 large-500`, to set the inline and block axes respectively
8348
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
8348
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
8349
8349
  *
8350
8350
  * @default 'none'
8351
8351
  */
@@ -8354,8 +8354,8 @@ export interface StackProps
8354
8354
  * Adjusts spacing between elements in the block axis. This overrides the row value of `gap`.
8355
8355
  *
8356
8356
  * Accepts:
8357
- * - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
8358
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
8357
+ * - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
8358
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
8359
8359
  *
8360
8360
  * @default '' - meaning no override
8361
8361
  */
@@ -8364,8 +8364,8 @@ export interface StackProps
8364
8364
  * Adjusts spacing between elements in the inline axis. This overrides the column value of `gap`.
8365
8365
  *
8366
8366
  * Accepts:
8367
- * - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
8368
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
8367
+ * - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
8368
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
8369
8369
  *
8370
8370
  * @default '' - meaning no override
8371
8371
  */
@@ -8375,7 +8375,7 @@ export interface StackProps
8375
8375
  *
8376
8376
  * Accepts:
8377
8377
  * - A single value, either `inline` or `block`
8378
- * - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported direction values as a query value
8378
+ * - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported direction values as a query value
8379
8379
  *
8380
8380
  * @default 'block'
8381
8381
  *
@@ -617,9 +617,6 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
617
617
 
618
618
  /**
619
619
  * Provides details on the buyer's progression through the checkout and lets you intercept navigation to validate data before the buyer continues.
620
- *
621
- * Refer to [buyer journey](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/buyer-journey#examples)
622
- * examples for more information.
623
620
  */
624
621
  buyerJourney: BuyerJourney;
625
622
 
@@ -27,6 +27,16 @@ export interface BaseElementProps<TClass = HTMLElement> {
27
27
  */
28
28
  slot?: Lowercase<string>;
29
29
  }
30
+ /**
31
+ * The base properties for elements that have children, extending `BaseElementProps` with children support.
32
+ * @publicDocs
33
+ */
34
+ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
35
+ /**
36
+ * The child elements to render within this component.
37
+ */
38
+ children?: preact.ComponentChildren;
39
+ }
30
40
  /**
31
41
  * An event type that narrows the `currentTarget` to the specific HTML element associated with the custom element tag. This provides type-safe event handling in callback listeners.
32
42
  * @publicDocs
@@ -38,9 +48,7 @@ export type CallbackEvent<TTagName extends keyof HTMLElementTagNameMap, TEvent e
38
48
  * A typed event listener for custom element events. The listener receives a `CallbackEvent` with the correct `currentTarget` type for the associated custom element tag.
39
49
  * @publicDocs
40
50
  */
41
- export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap, TData = object> = (EventListener & {
42
- (event: CallbackEvent<TTagName, Event> & TData): void;
43
- }) | null;
51
+ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap, TData = object> = (EventListener & ((event: CallbackEvent<TTagName, Event> & TData) => void)) | null;
44
52
 
45
53
  declare const tagName = "s-checkbox";
46
54
  /** @publicDocs */
@@ -89,7 +97,7 @@ declare global {
89
97
  declare module 'preact' {
90
98
  namespace createElement.JSX {
91
99
  interface IntrinsicElements {
92
- [tagName]: CheckboxProps & BaseElementProps<CheckboxElement>;
100
+ [tagName]: CheckboxProps & BaseElementPropsWithChildren<CheckboxElement>;
93
101
  }
94
102
  }
95
103
  }