@shopify/ui-extensions 2025.10.0-rc.4 → 2025.10.0-rc.6

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 (200) hide show
  1. package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
  2. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
  3. package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
  4. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  5. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Badge.d.ts +17 -6
  8. package/build/ts/surfaces/admin/components/Banner.d.ts +17 -6
  9. package/build/ts/surfaces/admin/components/Box.d.ts +28 -7
  10. package/build/ts/surfaces/admin/components/Button.d.ts +16 -6
  11. package/build/ts/surfaces/admin/components/Checkbox.d.ts +17 -2
  12. package/build/ts/surfaces/admin/components/Choice.d.ts +17 -2
  13. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +17 -6
  14. package/build/ts/surfaces/admin/components/Clickable.d.ts +28 -7
  15. package/build/ts/surfaces/admin/components/DatePicker.d.ts +11 -5
  16. package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
  17. package/build/ts/surfaces/admin/components/EmailField.d.ts +11 -5
  18. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  19. package/build/ts/surfaces/admin/components/Grid.d.ts +28 -7
  20. package/build/ts/surfaces/admin/components/GridItem.d.ts +29 -7
  21. package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
  22. package/build/ts/surfaces/admin/components/Icon.d.ts +12 -5
  23. package/build/ts/surfaces/admin/components/Image.d.ts +22 -6
  24. package/build/ts/surfaces/admin/components/Link.d.ts +16 -6
  25. package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
  26. package/build/ts/surfaces/admin/components/MoneyField.d.ts +11 -6
  27. package/build/ts/surfaces/admin/components/NumberField.d.ts +11 -5
  28. package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
  29. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
  30. package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
  31. package/build/ts/surfaces/admin/components/Page.d.ts +20 -5
  32. package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
  33. package/build/ts/surfaces/admin/components/PasswordField.d.ts +11 -5
  34. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  35. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  36. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
  37. package/build/ts/surfaces/admin/components/SearchField.d.ts +14 -6
  38. package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
  39. package/build/ts/surfaces/admin/components/Select.d.ts +16 -6
  40. package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
  41. package/build/ts/surfaces/admin/components/Stack.d.ts +28 -7
  42. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  43. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  44. package/build/ts/surfaces/admin/components/Switch.d.ts +11 -2
  45. package/build/ts/surfaces/admin/components/Table.d.ts +17 -6
  46. package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
  47. package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -6
  48. package/build/ts/surfaces/admin/components/TableHeader.d.ts +18 -6
  49. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
  50. package/build/ts/surfaces/admin/components/TableRow.d.ts +18 -6
  51. package/build/ts/surfaces/admin/components/Text.d.ts +17 -6
  52. package/build/ts/surfaces/admin/components/TextArea.d.ts +11 -5
  53. package/build/ts/surfaces/admin/components/TextField.d.ts +13 -5
  54. package/build/ts/surfaces/admin/components/URLField.d.ts +11 -5
  55. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
  56. package/build/ts/surfaces/admin/components/shared.d.ts +34 -44
  57. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +630 -218
  58. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +630 -218
  59. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +630 -218
  60. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +630 -218
  61. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +630 -218
  62. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +630 -218
  63. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +630 -218
  64. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +630 -218
  65. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +630 -218
  66. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +630 -218
  67. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +630 -218
  68. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +630 -218
  69. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +630 -218
  70. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +630 -218
  71. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +630 -218
  72. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +630 -218
  73. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +630 -218
  74. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +630 -218
  75. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +630 -218
  76. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +630 -218
  77. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +630 -218
  78. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +630 -218
  79. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +630 -218
  80. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +630 -218
  81. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +630 -218
  82. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +630 -218
  83. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +630 -218
  84. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +630 -218
  85. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +630 -218
  86. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +630 -218
  87. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +630 -218
  88. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +630 -218
  89. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +630 -218
  90. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +630 -218
  91. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +630 -218
  92. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +630 -218
  93. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +630 -218
  94. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +630 -218
  95. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +630 -218
  96. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +630 -218
  97. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +630 -218
  98. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +630 -218
  99. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +630 -218
  100. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +630 -218
  101. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +630 -218
  102. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +630 -218
  103. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +630 -218
  104. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +630 -218
  105. package/build/ts/surfaces/customer-account/api/docs.d.ts +1 -1
  106. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  107. package/build/ts/surfaces/customer-account/api/shared.d.ts +0 -6
  108. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  109. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
  110. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
  111. package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -5
  112. package/build/ts/surfaces/customer-account/components/shared.d.ts +11 -0
  113. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  114. package/build/ts/surfaces/customer-account/components/shared.ts +17 -0
  115. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +6 -17
  116. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +6 -17
  117. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +6 -17
  118. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +6 -17
  119. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +6 -17
  120. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +6 -17
  121. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +6 -17
  122. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +6 -17
  123. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +6 -17
  124. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +6 -17
  125. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +6 -17
  126. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +6 -17
  127. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +6 -17
  128. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +6 -17
  129. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +6 -17
  130. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +6 -17
  131. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +6 -17
  132. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +6 -17
  133. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +6 -17
  134. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +6 -17
  135. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +6 -17
  136. package/build/tsconfig.tsbuildinfo +1 -1
  137. package/package.json +1 -1
  138. package/src/docs/shared/components/QueryContainer.ts +12 -0
  139. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  140. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  141. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  142. package/src/surfaces/admin/components/Badge.d.ts +17 -6
  143. package/src/surfaces/admin/components/Banner.d.ts +17 -6
  144. package/src/surfaces/admin/components/Box.d.ts +28 -7
  145. package/src/surfaces/admin/components/Button.d.ts +16 -6
  146. package/src/surfaces/admin/components/Checkbox.d.ts +17 -2
  147. package/src/surfaces/admin/components/Choice.d.ts +17 -2
  148. package/src/surfaces/admin/components/ChoiceList.d.ts +17 -6
  149. package/src/surfaces/admin/components/Clickable.d.ts +28 -7
  150. package/src/surfaces/admin/components/DatePicker.d.ts +11 -5
  151. package/src/surfaces/admin/components/Divider.d.ts +12 -5
  152. package/src/surfaces/admin/components/EmailField.d.ts +11 -5
  153. package/src/surfaces/admin/components/Form.d.ts +1 -1
  154. package/src/surfaces/admin/components/Grid.d.ts +28 -7
  155. package/src/surfaces/admin/components/GridItem.d.ts +29 -7
  156. package/src/surfaces/admin/components/Heading.d.ts +17 -6
  157. package/src/surfaces/admin/components/Icon.d.ts +12 -5
  158. package/src/surfaces/admin/components/Image.d.ts +22 -6
  159. package/src/surfaces/admin/components/Link.d.ts +16 -6
  160. package/src/surfaces/admin/components/ListItem.d.ts +18 -6
  161. package/src/surfaces/admin/components/MoneyField.d.ts +11 -6
  162. package/src/surfaces/admin/components/NumberField.d.ts +11 -5
  163. package/src/surfaces/admin/components/Option.d.ts +17 -5
  164. package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
  165. package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
  166. package/src/surfaces/admin/components/Page.d.ts +20 -5
  167. package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
  168. package/src/surfaces/admin/components/PasswordField.d.ts +11 -5
  169. package/src/surfaces/admin/components/QueryContainer/examples/default.html +5 -0
  170. package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
  171. package/src/surfaces/admin/components/SearchField.d.ts +14 -6
  172. package/src/surfaces/admin/components/Section.d.ts +17 -6
  173. package/src/surfaces/admin/components/Select.d.ts +16 -6
  174. package/src/surfaces/admin/components/Spinner.d.ts +12 -2
  175. package/src/surfaces/admin/components/Stack.d.ts +28 -7
  176. package/src/surfaces/admin/components/StandardComponents.ts +1 -0
  177. package/src/surfaces/admin/components/Switch.d.ts +11 -2
  178. package/src/surfaces/admin/components/Table.d.ts +17 -6
  179. package/src/surfaces/admin/components/TableBody.d.ts +18 -6
  180. package/src/surfaces/admin/components/TableCell.d.ts +18 -6
  181. package/src/surfaces/admin/components/TableHeader.d.ts +18 -6
  182. package/src/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
  183. package/src/surfaces/admin/components/TableRow.d.ts +18 -6
  184. package/src/surfaces/admin/components/Text.d.ts +17 -6
  185. package/src/surfaces/admin/components/TextArea.d.ts +11 -5
  186. package/src/surfaces/admin/components/TextField.d.ts +13 -5
  187. package/src/surfaces/admin/components/URLField.d.ts +11 -5
  188. package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
  189. package/src/surfaces/admin/components/shared.d.ts +34 -44
  190. package/src/surfaces/admin/components.d.ts +333 -513
  191. package/src/surfaces/customer-account/api/docs.ts +1 -1
  192. package/src/surfaces/customer-account/api/shared.ts +0 -6
  193. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
  194. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
  195. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
  196. package/src/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
  197. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +4 -4
  198. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +4 -4
  199. package/src/surfaces/customer-account/components/Page.d.ts +3 -5
  200. package/src/surfaces/customer-account/components/shared.ts +17 -0
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.order-status.return-details.render-after'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.order-status.unfulfilled-items.render-after'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.order.action.menu-item.render'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.order.action.render'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.order.page.render'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.page.render'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.profile.addresses.render-after'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.profile.block.render'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.profile.company-details.render-after'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.profile.company-location-addresses.render-after'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.profile.company-location-payment.render-after'];
742
731
  export type Api = Target['api'];
@@ -1,11 +1,8 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- children?: preact.ComponentChildren;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- ['s-image-group']: BaseProps & ImageGroupProps;
4
+ ['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
5
+ ImageGroupProps;
9
6
  }
10
7
  }
11
8
  }
@@ -28,14 +25,10 @@ export interface ImageGroupProps {
28
25
  }
29
26
 
30
27
  declare module 'preact' {
31
- interface BaseProps {
32
- children?: preact.ComponentChildren;
33
- slot?: Lowercase<string>;
34
- }
35
-
36
28
  namespace createElement.JSX {
37
29
  interface IntrinsicElements {
38
- ['s-customer-account-action']: BaseProps & CustomerAccountActionProps;
30
+ ['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
31
+ CustomerAccountActionProps;
39
32
  }
40
33
  }
41
34
  }
@@ -57,14 +50,9 @@ export interface CustomerAccountActionProps {
57
50
  }
58
51
 
59
52
  declare module 'preact' {
60
- interface BaseProps {
61
- children?: preact.ComponentChildren;
62
- slot?: Lowercase<string>;
63
- }
64
-
65
53
  namespace createElement.JSX {
66
54
  interface IntrinsicElements {
67
- ['s-page']: BaseProps & PageProps;
55
+ ['s-page']: BaseElementPropsWithChildren<PageElement> & PageProps;
68
56
  }
69
57
  }
70
58
  }
@@ -737,6 +725,7 @@ export interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
737
725
 
738
726
  import { ReducedBorderSizeKeyword } from "../../../../../src/surfaces/checkout/components/Box";
739
727
  import { AbbreviationProps$1, BannerProps$1, BorderShorthand, BoxProps$1, ButtonProps$1, ClipboardItemProps$1, DropZoneProps$1, FormProps$1, HeadingProps$1, IconProps$1, ImageProps$1, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, OrderedListProps$1, ParagraphProps$1, PaymentIconProps$1, ProgressProps$1, QRCodeProps$1, SectionProps$1, SpinnerProps$1, StackProps$1, TextFieldProps$1, TextProps$1, TimeProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/checkout/components/components-shared";
728
+ import { BaseElementPropsWithChildren } from "../../../../../src/surfaces/customer-account/components/shared";
740
729
  import type { ExtensionTargets } from '../extension-targets';
741
730
  type Target = ExtensionTargets['customer-account.profile.company-location-staff.render-after'];
742
731
  export type Api = Target['api'];