@shopify/ui-extensions 2025.10.0-rc.40 → 2025.10.0-rc.41

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 (324) hide show
  1. package/build/cjs/surfaces/checkout/preact/api.js +4 -0
  2. package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
  3. package/build/cjs/surfaces/checkout/shared.js +17 -4
  4. package/build/esm/surfaces/checkout/preact/api.mjs +4 -0
  5. package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
  6. package/build/esm/surfaces/checkout/shared.mjs +17 -4
  7. package/build/esnext/surfaces/checkout/preact/api.esnext +4 -0
  8. package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
  9. package/build/esnext/surfaces/checkout/shared.esnext +17 -4
  10. package/build/ts/docs/shared/components/Details.d.ts +4 -0
  11. package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
  12. package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
  13. package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
  14. package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
  15. package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
  16. package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
  17. package/build/ts/docs/shared/components/Summary.d.ts +4 -0
  18. package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
  19. package/build/ts/docs/shared/components/Tooltip.d.ts +1 -1
  20. package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -1
  21. package/build/ts/docs/shared/components/index.d.ts +6 -1
  22. package/build/ts/docs/shared/components/index.d.ts.map +1 -1
  23. package/build/ts/index.d.ts.map +1 -1
  24. package/build/ts/shared.d.ts +4 -34
  25. package/build/ts/shared.d.ts.map +1 -1
  26. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
  27. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
  28. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  29. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
  30. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
  31. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
  32. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  33. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
  34. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
  35. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
  36. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
  37. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
  38. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
  39. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
  40. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  41. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
  42. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  43. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +45 -40
  44. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  45. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
  46. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
  47. package/build/ts/surfaces/checkout/components/Badge.d.ts +3 -8
  48. package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
  49. package/build/ts/surfaces/checkout/components/Button.d.ts +1 -1
  50. package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
  51. package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
  52. package/build/ts/surfaces/checkout/components/Clickable.d.ts +1 -1
  53. package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
  54. package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
  55. package/build/ts/surfaces/checkout/components/Details.d.ts +15 -2
  56. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
  57. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
  58. package/build/ts/surfaces/checkout/components/Divider.d.ts +17 -2
  59. package/build/ts/surfaces/checkout/components/DropZone.d.ts +8 -3
  60. package/build/ts/surfaces/checkout/components/EmailField.d.ts +8 -1
  61. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  62. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
  63. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
  64. package/build/ts/surfaces/checkout/components/Grid.d.ts +7 -7
  65. package/build/ts/surfaces/checkout/components/Icon.d.ts +2 -7
  66. package/build/ts/surfaces/checkout/components/Link.d.ts +1 -1
  67. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +9 -12
  68. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
  69. package/build/ts/surfaces/checkout/components/Modal.d.ts +16 -15
  70. package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
  71. package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
  72. package/{src/surfaces/checkout/components/UrlField.d.ts → build/ts/surfaces/checkout/components/MoneyField.d.ts} +14 -18
  73. package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  74. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +10 -12
  75. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
  76. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
  77. package/build/ts/surfaces/checkout/components/Popover.d.ts +50 -2
  78. package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
  79. package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
  80. package/build/ts/surfaces/{customer-account/components/Select.d.ts → checkout/components/PressButton.d.ts} +20 -20
  81. package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
  82. package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
  83. package/build/ts/surfaces/checkout/components/Sheet.d.ts +21 -15
  84. package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
  85. package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
  86. package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
  87. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
  88. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
  89. package/build/ts/surfaces/checkout/components/TextField.d.ts +10 -17
  90. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
  91. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  92. package/build/ts/surfaces/{customer-account/components/Option.d.ts → checkout/components/Tooltip.d.ts} +9 -7
  93. package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  94. package/build/ts/surfaces/checkout/components/components-shared.d.ts +631 -275
  95. package/build/ts/surfaces/checkout/components/components.d.ts +1013 -501
  96. package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
  97. package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
  98. package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
  99. package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
  100. package/build/ts/surfaces/checkout/shared.d.ts +27 -4
  101. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  102. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +3 -4
  103. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +3 -4
  104. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +3 -4
  105. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +3 -4
  106. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +3 -4
  107. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +3 -4
  108. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +3 -4
  109. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +3 -4
  110. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +3 -4
  111. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +3 -4
  112. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +3 -4
  113. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +3 -4
  114. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +3 -4
  115. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +3 -4
  116. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +3 -4
  117. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +3 -4
  118. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +3 -4
  119. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +3 -4
  120. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +3 -4
  121. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +3 -4
  122. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +3 -4
  123. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +3 -4
  124. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +3 -4
  125. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +3 -4
  126. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +3 -4
  127. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +3 -4
  128. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +3 -4
  129. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +3 -4
  130. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +3 -4
  131. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +3 -4
  132. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +3 -4
  133. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +3 -4
  134. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +3 -4
  135. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +3 -4
  136. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +3 -4
  137. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +3 -4
  138. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +3 -4
  139. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +3 -4
  140. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +3 -4
  141. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +3 -4
  142. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +3 -4
  143. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +3 -4
  144. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +3 -4
  145. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +3 -4
  146. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +3 -4
  147. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +3 -4
  148. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +3 -4
  149. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +3 -4
  150. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +3 -4
  151. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +3 -4
  152. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +3 -4
  153. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +3 -4
  154. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +3 -4
  155. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +3 -4
  156. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +3 -4
  157. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +3 -4
  158. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +3 -4
  159. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +3 -4
  160. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +3 -4
  161. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +3 -4
  162. package/build/ts/surfaces/checkout.d.ts +1 -0
  163. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  164. package/build/ts/surfaces/customer-account/api/shared.d.ts +2 -1
  165. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  166. package/build/ts/surfaces/customer-account/components/Badge.d.ts +3 -8
  167. package/build/ts/surfaces/customer-account/components/Button.d.ts +1 -1
  168. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +1 -1
  169. package/build/ts/surfaces/customer-account/components/Details.d.ts +15 -2
  170. package/build/ts/surfaces/customer-account/components/Divider.d.ts +17 -2
  171. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +8 -3
  172. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +8 -1
  173. package/build/ts/surfaces/customer-account/components/Grid.d.ts +7 -7
  174. package/build/ts/surfaces/customer-account/components/Icon.d.ts +2 -7
  175. package/build/ts/surfaces/customer-account/components/Link.d.ts +1 -1
  176. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +9 -12
  177. package/build/ts/surfaces/customer-account/components/Modal.d.ts +16 -15
  178. package/build/ts/surfaces/{checkout/components/UrlField.d.ts → customer-account/components/MoneyField.d.ts} +14 -18
  179. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +10 -12
  180. package/build/ts/surfaces/customer-account/components/Popover.d.ts +50 -2
  181. package/{src/surfaces/checkout/components/Select.d.ts → build/ts/surfaces/customer-account/components/PressButton.d.ts} +20 -20
  182. package/build/ts/surfaces/customer-account/components/Sheet.d.ts +21 -15
  183. package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
  184. package/build/ts/surfaces/customer-account/components/TextField.d.ts +10 -17
  185. package/build/ts/surfaces/{checkout/components/Option.d.ts → customer-account/components/Tooltip.d.ts} +9 -7
  186. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +631 -275
  187. package/build/ts/surfaces/customer-account/components/components.d.ts +1013 -501
  188. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +3 -4
  189. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +3 -4
  190. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +3 -4
  191. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +3 -4
  192. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +3 -4
  193. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +3 -4
  194. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +3 -4
  195. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +3 -4
  196. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +3 -4
  197. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +3 -4
  198. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +3 -4
  199. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +3 -4
  200. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +3 -4
  201. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +3 -4
  202. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +3 -4
  203. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +3 -4
  204. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +3 -4
  205. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +3 -4
  206. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +3 -4
  207. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +3 -4
  208. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +3 -4
  209. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +3 -4
  210. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +3 -4
  211. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +3 -4
  212. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +11 -2
  213. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +29 -4
  214. package/{src/surfaces/point-of-sale/components/Navigator.d.ts → build/ts/surfaces/point-of-sale/components/Divider.d.ts} +7 -10
  215. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +4 -4
  216. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
  217. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +93 -2
  218. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +14 -0
  219. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +1 -1
  220. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
  221. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +2 -0
  222. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +2 -0
  223. package/build/tsconfig.tsbuildinfo +1 -1
  224. package/package.json +1 -1
  225. package/src/docs/shared/components/Details.ts +12 -0
  226. package/src/docs/shared/components/EmailField.ts +1 -1
  227. package/src/docs/shared/components/Modal.ts +1 -1
  228. package/src/docs/shared/components/MoneyField.ts +2 -1
  229. package/src/docs/shared/components/Popover.ts +1 -1
  230. package/src/docs/shared/components/PressButton.ts +12 -0
  231. package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
  232. package/src/docs/shared/components/Summary.ts +12 -0
  233. package/src/docs/shared/components/Tooltip.ts +2 -2
  234. package/src/docs/shared/components/index.ts +6 -1
  235. package/src/index.ts +0 -1
  236. package/src/shared.ts +5 -36
  237. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
  238. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -3
  239. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
  240. package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
  241. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -3
  242. package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
  243. package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
  244. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -3
  245. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -3
  246. package/src/surfaces/checkout/api/standard/standard.ts +44 -40
  247. package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
  248. package/src/surfaces/checkout/components/Badge.d.ts +3 -8
  249. package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
  250. package/src/surfaces/checkout/components/Button.d.ts +1 -1
  251. package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
  252. package/src/surfaces/checkout/components/Clickable.d.ts +1 -1
  253. package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
  254. package/src/surfaces/checkout/components/Details.d.ts +15 -2
  255. package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
  256. package/src/surfaces/checkout/components/Divider.d.ts +17 -2
  257. package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
  258. package/src/surfaces/checkout/components/DropZone.d.ts +8 -3
  259. package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
  260. package/src/surfaces/checkout/components/EmailField.d.ts +8 -1
  261. package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
  262. package/src/surfaces/checkout/components/Grid.d.ts +7 -7
  263. package/src/surfaces/checkout/components/Icon.d.ts +2 -7
  264. package/src/surfaces/checkout/components/Link.d.ts +1 -1
  265. package/src/surfaces/checkout/components/MapMarker.d.ts +9 -12
  266. package/src/surfaces/checkout/components/Modal.d.ts +16 -15
  267. package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
  268. package/{build/ts/surfaces/customer-account/components/UrlField.d.ts → src/surfaces/checkout/components/MoneyField.d.ts} +14 -18
  269. package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +1 -0
  270. package/src/surfaces/checkout/components/PhoneField.d.ts +10 -12
  271. package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
  272. package/src/surfaces/checkout/components/Popover.d.ts +50 -2
  273. package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
  274. package/{build/ts/surfaces/checkout/components/Select.d.ts → src/surfaces/checkout/components/PressButton.d.ts} +20 -20
  275. package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
  276. package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
  277. package/src/surfaces/checkout/components/Sheet.d.ts +21 -15
  278. package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
  279. package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
  280. package/src/surfaces/checkout/components/Stack.d.ts +4 -4
  281. package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
  282. package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
  283. package/src/surfaces/checkout/components/TextField.d.ts +10 -17
  284. package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
  285. package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
  286. package/src/surfaces/checkout/components/{Option.d.ts → Tooltip.d.ts} +9 -7
  287. package/src/surfaces/checkout/components/components-shared.d.ts +631 -275
  288. package/src/surfaces/checkout/components/components.d.ts +1013 -501
  289. package/src/surfaces/checkout/preact/api.ts +4 -0
  290. package/src/surfaces/checkout/preact/subscription.ts +9 -8
  291. package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +2 -3
  292. package/src/surfaces/checkout/preact/tests/mount.tsx +3 -3
  293. package/src/surfaces/checkout/shared.ts +37 -3
  294. package/src/surfaces/checkout.ts +3 -1
  295. package/src/surfaces/customer-account/api/shared.ts +2 -1
  296. package/src/surfaces/point-of-sale/components/Banner.d.ts +11 -2
  297. package/src/surfaces/point-of-sale/components/Button.d.ts +29 -4
  298. package/{build/ts/surfaces/point-of-sale/components/Navigator.d.ts → src/surfaces/point-of-sale/components/Divider.d.ts} +7 -10
  299. package/src/surfaces/point-of-sale/components/Page.d.ts +4 -4
  300. package/src/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
  301. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +93 -2
  302. package/src/surfaces/point-of-sale/components/components-shared.d.ts +14 -0
  303. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -1
  304. package/src/surfaces/point-of-sale/components.d.ts +506 -336
  305. package/build/ts/surfaces/checkout/components/NumberField.d.ts +0 -85
  306. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +0 -84
  307. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +0 -85
  308. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +0 -84
  309. package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +0 -91
  310. package/build/ts/surfaces/point-of-sale/components/shared.d.ts +0 -76
  311. package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
  312. package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
  313. package/src/surfaces/checkout/components/NumberField.d.ts +0 -85
  314. package/src/surfaces/checkout/components/PasswordField.d.ts +0 -84
  315. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
  316. package/src/surfaces/point-of-sale/components/Screen.d.ts +0 -91
  317. package/src/surfaces/point-of-sale/components/shared.d.ts +0 -76
  318. /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
  319. /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
  320. /package/src/surfaces/checkout/components/PaymentIcon/examples/{basic-paymenticon.example.html → basic-payment-icon.example.html} +0 -0
  321. /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
  322. /package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +0 -0
  323. /package/src/surfaces/checkout/components/TextField/examples/{basic-textfield.example.html → basic-text-field.example.html} +0 -0
  324. /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
@@ -16,8 +16,8 @@ import type {
16
16
  GraphQLError,
17
17
  StorefrontApiVersion,
18
18
  LocalizedFieldKey,
19
- StatefulRemoteSubscribable,
20
19
  } from '../../../../shared';
20
+ import type {SubscribableSignalLike} from '../../shared';
21
21
 
22
22
  export type {ApiVersion, Capability} from '../../../../shared';
23
23
 
@@ -82,7 +82,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
82
82
  *
83
83
  * * [`iframe.sources`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#iframe): the extension can embed an external URL in an iframe.
84
84
  */
85
- capabilities: StatefulRemoteSubscribable<Capability[]>;
85
+ capabilities: SubscribableSignalLike<Capability[]>;
86
86
 
87
87
  /**
88
88
  * Information about the editor where the extension is being rendered.
@@ -102,7 +102,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
102
102
  * from where it was rendered. The extension continues running so that
103
103
  * your extension is immediately available to render if the customer navigates back.
104
104
  */
105
- rendered: StatefulRemoteSubscribable<boolean>;
105
+ rendered: SubscribableSignalLike<boolean>;
106
106
 
107
107
  /**
108
108
  * The URL to the script that started the extension target.
@@ -350,17 +350,17 @@ export interface Localization {
350
350
  /**
351
351
  * The currency that the customer sees for money amounts in the checkout.
352
352
  */
353
- currency: StatefulRemoteSubscribable<Currency>;
353
+ currency: SubscribableSignalLike<Currency>;
354
354
 
355
355
  /**
356
356
  * The buyer’s time zone.
357
357
  */
358
- timezone: StatefulRemoteSubscribable<Timezone>;
358
+ timezone: SubscribableSignalLike<Timezone>;
359
359
 
360
360
  /**
361
361
  * The language the customer sees in the checkout.
362
362
  */
363
- language: StatefulRemoteSubscribable<Language>;
363
+ language: SubscribableSignalLike<Language>;
364
364
 
365
365
  /**
366
366
  * This is the customer's language, as supported by the extension.
@@ -373,7 +373,7 @@ export interface Localization {
373
373
  * translations at all, then this value is the default locale for your
374
374
  * extension (that is, the one matching your .default.json file).
375
375
  */
376
- extensionLanguage: StatefulRemoteSubscribable<Language>;
376
+ extensionLanguage: SubscribableSignalLike<Language>;
377
377
 
378
378
  /**
379
379
  * The country context of the checkout. This value carries over from the
@@ -381,7 +381,7 @@ export interface Localization {
381
381
  * experience. It will update if the buyer changes the country of their
382
382
  * shipping address. If the country is unknown, then the value is undefined.
383
383
  */
384
- country: StatefulRemoteSubscribable<Country | undefined>;
384
+ country: SubscribableSignalLike<Country | undefined>;
385
385
 
386
386
  /**
387
387
  * The [market](https://shopify.dev/docs/apps/markets) context of the
@@ -389,8 +389,12 @@ export interface Localization {
389
389
  * was used to contextualize the storefront experience. It will update if the
390
390
  * buyer changes the country of their shipping address. If the market is unknown,
391
391
  * then the value is undefined.
392
+ *
393
+ * > Caution: This field is deprecated and will be removed in a future version.
394
+ *
395
+ * @deprecated Deprecated as of version `2025-04`
392
396
  */
393
- market: StatefulRemoteSubscribable<Market | undefined>;
397
+ market: SubscribableSignalLike<Market | undefined>;
394
398
  }
395
399
 
396
400
  export interface LocalizedField {
@@ -422,15 +426,15 @@ export interface BuyerJourney {
422
426
  *
423
427
  * For example, when viewing the **Order status** page after submitting payment, the buyer will have completed their order.
424
428
  */
425
- completed: StatefulRemoteSubscribable<boolean>;
429
+ completed: SubscribableSignalLike<boolean>;
426
430
  /**
427
431
  * All possible steps a buyer can take to complete the checkout. These steps may vary depending on the type of checkout or the shop's configuration.
428
432
  */
429
- steps: StatefulRemoteSubscribable<BuyerJourneyStep[]>;
433
+ steps: SubscribableSignalLike<BuyerJourneyStep[]>;
430
434
  /**
431
435
  * What step of checkout the buyer is currently on.
432
436
  */
433
- activeStep: StatefulRemoteSubscribable<BuyerJourneyStepReference | undefined>;
437
+ activeStep: SubscribableSignalLike<BuyerJourneyStepReference | undefined>;
434
438
  }
435
439
 
436
440
  /**
@@ -496,7 +500,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
496
500
  /**
497
501
  * Gift Cards that have been applied to the checkout.
498
502
  */
499
- appliedGiftCards: StatefulRemoteSubscribable<AppliedGiftCard[]>;
503
+ appliedGiftCards: SubscribableSignalLike<AppliedGiftCard[]>;
500
504
 
501
505
  /**
502
506
  * The cart instructions used to create the checkout and possibly limit extension capabilities.
@@ -510,7 +514,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
510
514
  * See the [update guide](/docs/api/checkout-ui-extensions/apis/cart-instructions#examples) for more information.
511
515
  *
512
516
  */
513
- instructions: StatefulRemoteSubscribable<CartInstructions>;
517
+ instructions: SubscribableSignalLike<CartInstructions>;
514
518
 
515
519
  /**
516
520
  * The metafields requested in the
@@ -522,17 +526,17 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
522
526
  *
523
527
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
524
528
  */
525
- appMetafields: StatefulRemoteSubscribable<AppMetafieldEntry[]>;
529
+ appMetafields: SubscribableSignalLike<AppMetafieldEntry[]>;
526
530
 
527
531
  /**
528
532
  * The custom attributes left by the customer to the merchant, either in their cart or during checkout.
529
533
  */
530
- attributes: StatefulRemoteSubscribable<Attribute[]>;
534
+ attributes: SubscribableSignalLike<Attribute[]>;
531
535
 
532
536
  /**
533
537
  * All available payment options.
534
538
  */
535
- availablePaymentOptions: StatefulRemoteSubscribable<PaymentOption[]>;
539
+ availablePaymentOptions: SubscribableSignalLike<PaymentOption[]>;
536
540
 
537
541
  /**
538
542
  * Information about the buyer that is interacting with the checkout.
@@ -552,15 +556,15 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
552
556
  /**
553
557
  * Settings applied to the buyer's checkout.
554
558
  */
555
- checkoutSettings: StatefulRemoteSubscribable<CheckoutSettings>;
559
+ checkoutSettings: SubscribableSignalLike<CheckoutSettings>;
556
560
 
557
561
  /**
558
562
  * A stable ID that represents the current checkout.
559
563
  *
560
- * Matches the `token` field in the [WebPixel checkout payload](https://shopify.dev/docs/api/pixels/customer-events#checkout)
564
+ * This matches the `data.checkout.token` field in a [checkout-related WebPixel event](https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_started#properties-propertydetail-data)
561
565
  * and the `checkout_token` field in the [REST Admin API `Order` resource](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#resource-object).
562
566
  */
563
- checkoutToken: StatefulRemoteSubscribable<CheckoutToken | undefined>;
567
+ checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
564
568
 
565
569
  /**
566
570
  * Details on the costs the buyer will pay for this checkout.
@@ -570,17 +574,17 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
570
574
  /**
571
575
  * A list of delivery groups containing information about the delivery of the items the customer intends to purchase.
572
576
  */
573
- deliveryGroups: StatefulRemoteSubscribable<DeliveryGroup[]>;
577
+ deliveryGroups: SubscribableSignalLike<DeliveryGroup[]>;
574
578
 
575
579
  /**
576
580
  * A list of discount codes currently applied to the checkout.
577
581
  */
578
- discountCodes: StatefulRemoteSubscribable<CartDiscountCode[]>;
582
+ discountCodes: SubscribableSignalLike<CartDiscountCode[]>;
579
583
 
580
584
  /**
581
585
  * Discounts that have been applied to the entire cart.
582
586
  */
583
- discountAllocations: StatefulRemoteSubscribable<CartDiscountAllocation[]>;
587
+ discountAllocations: SubscribableSignalLike<CartDiscountAllocation[]>;
584
588
 
585
589
  /**
586
590
  * The meta information about the extension.
@@ -613,7 +617,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
613
617
  /**
614
618
  * A list of lines containing information about the items the customer intends to purchase.
615
619
  */
616
- lines: StatefulRemoteSubscribable<CartLine[]>;
620
+ lines: SubscribableSignalLike<CartLine[]>;
617
621
 
618
622
  /**
619
623
  * The details about the location, language, and currency of the customer. For utilities to easily
@@ -637,12 +641,12 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
637
641
  * > Tip:
638
642
  * > Cart metafields are only available on carts created via the Storefront API version `2023-04` or later.
639
643
  */
640
- metafields: StatefulRemoteSubscribable<Metafield[]>;
644
+ metafields: SubscribableSignalLike<Metafield[]>;
641
645
 
642
646
  /**
643
647
  * A note left by the customer to the merchant, either in their cart or during checkout.
644
648
  */
645
- note: StatefulRemoteSubscribable<string | undefined>;
649
+ note: SubscribableSignalLike<string | undefined>;
646
650
 
647
651
  /**
648
652
  * The method used to query the Storefront GraphQL API with a prefetched token.
@@ -657,7 +661,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
657
661
  /**
658
662
  * Payment options selected by the buyer.
659
663
  */
660
- selectedPaymentOptions: StatefulRemoteSubscribable<SelectedPaymentOption[]>;
664
+ selectedPaymentOptions: SubscribableSignalLike<SelectedPaymentOption[]>;
661
665
 
662
666
  /**
663
667
  * The session token providing a set of claims as a signed JSON Web Token (JWT).
@@ -679,7 +683,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
679
683
  * > Note: When an extension is being installed in the editor, the settings will be empty until
680
684
  * a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.
681
685
  */
682
- settings: StatefulRemoteSubscribable<ExtensionSettings>;
686
+ settings: SubscribableSignalLike<ExtensionSettings>;
683
687
 
684
688
  /**
685
689
  * The proposed customer shipping address. During the information step, the address
@@ -689,7 +693,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
689
693
  *
690
694
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
691
695
  */
692
- shippingAddress?: StatefulRemoteSubscribable<ShippingAddress | undefined>;
696
+ shippingAddress?: SubscribableSignalLike<ShippingAddress | undefined>;
693
697
 
694
698
  /**
695
699
  * The proposed customer billing address. The address updates when the field is
@@ -697,7 +701,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
697
701
  *
698
702
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
699
703
  */
700
- billingAddress?: StatefulRemoteSubscribable<MailingAddress | undefined>;
704
+ billingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
701
705
 
702
706
  /** The shop where the checkout is taking place. */
703
707
  shop: Shop;
@@ -729,7 +733,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
729
733
  /**
730
734
  * Customer privacy consent settings and a flag denoting if consent has previously been collected.
731
735
  */
732
- customerPrivacy: StatefulRemoteSubscribable<CustomerPrivacy>;
736
+ customerPrivacy: SubscribableSignalLike<CustomerPrivacy>;
733
737
 
734
738
  /**
735
739
  * Allows setting and updating customer privacy consent settings and tracking consent metafields.
@@ -744,7 +748,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
744
748
  * The API for reading additional fields that are required in checkout under certain circumstances.
745
749
  * For example, some countries require additional fields for customs information or tax identification numbers.
746
750
  */
747
- localizedFields?: StatefulRemoteSubscribable<LocalizedField[]>;
751
+ localizedFields?: SubscribableSignalLike<LocalizedField[]>;
748
752
  }
749
753
 
750
754
  export interface Ui {
@@ -780,7 +784,7 @@ export interface BuyerIdentity {
780
784
  *
781
785
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
782
786
  */
783
- customer: StatefulRemoteSubscribable<Customer | undefined>;
787
+ customer: SubscribableSignalLike<Customer | undefined>;
784
788
 
785
789
  /**
786
790
  * The email address of the buyer that is interacting with the cart.
@@ -788,7 +792,7 @@ export interface BuyerIdentity {
788
792
  *
789
793
  * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
790
794
  */
791
- email: StatefulRemoteSubscribable<string | undefined>;
795
+ email: SubscribableSignalLike<string | undefined>;
792
796
 
793
797
  /**
794
798
  * The phone number of the buyer that is interacting with the cart.
@@ -796,7 +800,7 @@ export interface BuyerIdentity {
796
800
  *
797
801
  * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
798
802
  */
799
- phone: StatefulRemoteSubscribable<string | undefined>;
803
+ phone: SubscribableSignalLike<string | undefined>;
800
804
 
801
805
  /**
802
806
  * Provides details of the company and the company location that the business customer is purchasing on behalf of.
@@ -805,7 +809,7 @@ export interface BuyerIdentity {
805
809
  *
806
810
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
807
811
  */
808
- purchasingCompany: StatefulRemoteSubscribable<PurchasingCompany | undefined>;
812
+ purchasingCompany: SubscribableSignalLike<PurchasingCompany | undefined>;
809
813
  }
810
814
 
811
815
  /**
@@ -913,28 +917,28 @@ export interface CartCost {
913
917
  * A `Money` value representing the subtotal value of the items in the cart at the current
914
918
  * step of checkout.
915
919
  */
916
- subtotalAmount: StatefulRemoteSubscribable<Money>;
920
+ subtotalAmount: SubscribableSignalLike<Money>;
917
921
 
918
922
  /**
919
923
  * A `Money` value representing the total shipping a buyer can expect to pay at the current
920
924
  * step of checkout. This value includes shipping discounts. Returns undefined if shipping
921
925
  * has not been negotiated yet, such as on the information step.
922
926
  */
923
- totalShippingAmount: StatefulRemoteSubscribable<Money | undefined>;
927
+ totalShippingAmount: SubscribableSignalLike<Money | undefined>;
924
928
 
925
929
  /**
926
930
  * A `Money` value representing the total tax a buyer can expect to pay at the current
927
931
  * step of checkout or the total tax included in product and shipping prices. Returns
928
932
  * undefined if taxes are unavailable.
929
933
  */
930
- totalTaxAmount: StatefulRemoteSubscribable<Money | undefined>;
934
+ totalTaxAmount: SubscribableSignalLike<Money | undefined>;
931
935
 
932
936
  /**
933
937
  * A `Money` value representing the minimum a buyer can expect to pay at the current
934
938
  * step of checkout. This value excludes amounts yet to be negotiated. For example,
935
939
  * the information step might not have delivery costs calculated.
936
940
  */
937
- totalAmount: StatefulRemoteSubscribable<Money>;
941
+ totalAmount: SubscribableSignalLike<Money>;
938
942
  }
939
943
 
940
944
  export interface CartLine {
@@ -0,0 +1,3 @@
1
+ <s-badge>Default</s-badge>
2
+ <s-badge tone="critical">Expired</s-badge>
3
+ <s-badge color="subdued">Free</s-badge>
@@ -8,7 +8,7 @@
8
8
  /* eslint-disable import-x/namespace */
9
9
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
10
10
  /// <reference lib="DOM" />
11
- import type {BadgeProps$1,IconType} from './components-shared.d.ts';
11
+ import type {BadgeProps$1} from './components-shared.d.ts';
12
12
 
13
13
  /**
14
14
  * Used when an element does not have children.
@@ -24,15 +24,10 @@ export interface BaseElementProps<TClass = HTMLElement> {
24
24
  export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
25
25
  children?: preact.ComponentChildren;
26
26
  }
27
- /**
28
- * The list of available icon types.
29
- *
30
- * @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
31
- */
32
- export type ReducedIconTypes = Extract<IconType, 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x'>;
27
+ export type ReducedIconTypes = 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x';
33
28
 
34
29
  declare const tagName = "s-badge";
35
- export interface BadgeProps extends Pick<BadgeProps$1, 'id' | 'tone' | 'iconPosition'> {
30
+ export interface BadgeProps extends Pick<BadgeProps$1, 'color' | 'icon' | 'iconPosition' | 'id' | 'size' | 'tone'> {
36
31
  size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
37
32
  tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
38
33
  color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
@@ -1,2 +1 @@
1
- <s-banner heading="Free shipping on all orders." tone="info">
2
- </s-banner>
1
+ <s-banner heading="Free shipping on all orders." tone="info"></s-banner>
@@ -32,7 +32,7 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
32
32
  }) | null;
33
33
 
34
34
  declare const tagName = "s-button";
35
- export interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
35
+ export interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
36
36
  target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
37
37
  tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
38
38
  type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
@@ -0,0 +1,3 @@
1
+ <s-clickable>
2
+ <s-product-thumbnail src="https://cdn.shopify.com/YOUR_IMAGE_HERE"></s-product-thumbnail>
3
+ </s-clickable>
@@ -35,7 +35,7 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
35
35
  }) | null;
36
36
 
37
37
  declare const tagName = "s-clickable";
38
- export interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
38
+ export interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
39
39
  background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
40
40
  border?: BorderShorthand;
41
41
  borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
@@ -0,0 +1,6 @@
1
+ <s-details defaultOpen>
2
+ <s-summary>Pickup instructions</s-summary>
3
+ <s-text>
4
+ Curbside pickup is at the back of the warehouse. Park in a stall and follow the signs.
5
+ </s-text>
6
+ </s-details>
@@ -32,9 +32,9 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
32
32
  }) | null;
33
33
 
34
34
  declare const tagName = "s-details";
35
- export interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'open' | 'id' | 'toggleTransition'> {
35
+ export interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'id' | 'open' | 'toggleTransition'> {
36
36
  }
37
- export interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle'> {
37
+ export interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle' | 'onAfterToggle'> {
38
38
  }
39
39
  export interface DetailsElementEvents {
40
40
  /**
@@ -50,9 +50,22 @@ export interface DetailsElementEvents {
50
50
  * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
51
51
  */
52
52
  toggle?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
53
+ /**
54
+ * Callback fired when the element state changes **after** any animations have finished.
55
+ *
56
+ * - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
57
+ * `newState` property will be set to `open`.
58
+ * - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
59
+ * `newState` will be `closed`.
60
+ *
61
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
62
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
63
+ */
64
+ aftertoggle?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
53
65
  }
54
66
  export interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
55
67
  ontoggle: DetailsEvents['onToggle'];
68
+ onaftertoggle: DetailsEvents['onAfterToggle'];
56
69
  }
57
70
  export interface DetailsProps extends DetailsElementProps, DetailsEvents {
58
71
  }
@@ -10,8 +10,23 @@
10
10
  /// <reference lib="DOM" />
11
11
  import type {DividerProps$1} from './components-shared.d.ts';
12
12
 
13
+ /**
14
+ * Used when an element does not have children.
15
+ */
16
+ export interface BaseElementProps<TClass = HTMLElement> {
17
+ key?: preact.Key;
18
+ ref?: preact.Ref<TClass>;
19
+ slot?: Lowercase<string>;
20
+ }
21
+ /**
22
+ * Used when an element has children.
23
+ */
24
+ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
25
+ children?: preact.ComponentChildren;
26
+ }
27
+
13
28
  declare const tagName = "s-divider";
14
- export interface DividerProps extends DividerProps$1 {
29
+ export interface DividerProps extends Pick<DividerProps$1, 'direction' | 'id'> {
15
30
  }
16
31
  export interface DividerElement extends DividerProps, Omit<HTMLElement, 'id'> {
17
32
  }
@@ -23,7 +38,7 @@ declare global {
23
38
  declare module 'preact' {
24
39
  namespace createElement.JSX {
25
40
  interface IntrinsicElements {
26
- [tagName]: DividerProps$1;
41
+ [tagName]: DividerProps & BaseElementPropsWithChildren<DividerElement>;
27
42
  }
28
43
  }
29
44
  }
@@ -0,0 +1 @@
1
+ <s-drop-zone accept="image/*"></s-drop-zone>
@@ -26,9 +26,9 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
26
26
  }) | null;
27
27
 
28
28
  declare const tagName = "s-drop-zone";
29
- export interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required'> {
29
+ export interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required' | 'value'> {
30
30
  }
31
- export interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput'> {
31
+ export interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput' | 'onChange'> {
32
32
  }
33
33
  export interface DropZoneElementEvents {
34
34
  /**
@@ -39,10 +39,15 @@ export interface DropZoneElementEvents {
39
39
  * Callback when the user makes any changes in the field.
40
40
  */
41
41
  input?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
42
+ /**
43
+ * Callback when the user has finished selecting a file or files.
44
+ */
45
+ change?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
42
46
  }
43
- export interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput'> {
47
+ export interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput' | 'onchange'> {
44
48
  ondroprejected: DropZoneEvents['onDropRejected'];
45
49
  oninput: DropZoneEvents['onInput'];
50
+ onchange: DropZoneEvents['onChange'];
46
51
  }
47
52
  export interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
48
53
  }
@@ -0,0 +1 @@
1
+ <s-email-field label="Email" defaultValue="snowdevil@shopify.com"></s-email-field>
@@ -61,6 +61,13 @@ export interface EmailFieldElementEvents {
61
61
  */
62
62
  input?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
63
63
  }
64
+ export interface EmailFieldElementSlots {
65
+ /**
66
+ * Additional content to be displayed in the field.
67
+ * Commonly used to display an icon that activates a tooltip providing more information.
68
+ */
69
+ accessory?: HTMLElement;
70
+ }
64
71
  export interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
65
72
  onblur: EmailFieldEvents['onBlur'];
66
73
  onchange: EmailFieldEvents['onChange'];
@@ -82,4 +89,4 @@ declare module 'preact' {
82
89
  }
83
90
  }
84
91
 
85
- export type { EmailFieldElement, EmailFieldElementEvents, EmailFieldElementProps, EmailFieldEvents, EmailFieldProps };
92
+ export type { EmailFieldElement, EmailFieldElementEvents, EmailFieldElementProps, EmailFieldElementSlots, EmailFieldEvents, EmailFieldProps };
@@ -0,0 +1,11 @@
1
+ <s-grid gridTemplateColumns="1fr auto" gap="base">
2
+ <s-grid-item gridColumn="span 2" border="base" borderStyle="dashed">
3
+ Plants for sale
4
+ </s-grid-item>
5
+ <s-grid-item border="base" borderStyle="dashed">
6
+ Pothos
7
+ </s-grid-item>
8
+ <s-grid-item border="base" borderStyle="dashed">
9
+ $25.00
10
+ </s-grid-item>
11
+ </s-grid>
@@ -8,7 +8,7 @@
8
8
  /* eslint-disable import-x/namespace */
9
9
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
10
10
  /// <reference lib="DOM" />
11
- import type {GridProps$1,BorderSizeKeyword, BorderStyleKeyword,AlignContentKeyword, AlignItemsKeyword, JustifyContentKeyword, JustifyItemsKeyword,ColorKeyword,MaybeAllValuesShorthandProperty} from './components-shared.d.ts';
11
+ import type {GridProps$1,MaybeResponsive, MaybeAllValuesShorthandProperty,BorderSizeKeyword, BorderStyleKeyword,AlignContentKeyword, AlignItemsKeyword, JustifyContentKeyword, JustifyItemsKeyword,ColorKeyword} from './components-shared.d.ts';
12
12
 
13
13
  export type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
14
14
  export type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
@@ -34,17 +34,17 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base
34
34
 
35
35
  declare const tagName = "s-grid";
36
36
  export interface GridProps extends Pick<GridProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'display' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows' | 'id' | 'inlineSize' | 'justifyContent' | 'justifyItems' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'placeContent' | 'placeItems' | 'rowGap'> {
37
- alignContent?: ReducedAlignContentKeyword | '';
38
- alignItems?: ReducedAlignItemsKeyword | '';
37
+ alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
38
+ alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
39
39
  background?: Extract<GridProps$1['background'], 'transparent' | 'subdued' | 'base'>;
40
40
  border?: BorderShorthand;
41
41
  borderColor?: ReducedColorKeyword | '';
42
42
  borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
43
43
  borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
44
- justifyContent?: ReducedJustifyContentKeyword | '';
45
- justifyItems?: ReducedJustifyItemsKeyword | '';
46
- placeContent?: `${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword;
47
- placeItems?: `${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword;
44
+ justifyContent?: MaybeResponsive<ReducedJustifyContentKeyword | ''>;
45
+ justifyItems?: MaybeResponsive<ReducedJustifyItemsKeyword | ''>;
46
+ placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
47
+ placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
48
48
  }
49
49
  export interface GridElement extends GridProps, Omit<HTMLElement, 'id'> {
50
50
  }
@@ -8,7 +8,7 @@
8
8
  /* eslint-disable import-x/namespace */
9
9
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
10
10
  /// <reference lib="DOM" />
11
- import type {IconProps$1,IconType} from './components-shared.d.ts';
11
+ import type {IconProps$1} from './components-shared.d.ts';
12
12
 
13
13
  /**
14
14
  * Used when an element does not have children.
@@ -18,12 +18,7 @@ export interface BaseElementProps<TClass = HTMLElement> {
18
18
  ref?: preact.Ref<TClass>;
19
19
  slot?: Lowercase<string>;
20
20
  }
21
- /**
22
- * The list of available icon types.
23
- *
24
- * @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
25
- */
26
- export type ReducedIconTypes = Extract<IconType, 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x'>;
21
+ export type ReducedIconTypes = 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x';
27
22
 
28
23
  declare const tagName = "s-icon";
29
24
  export interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
@@ -32,7 +32,7 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
32
32
  }) | null;
33
33
 
34
34
  declare const tagName = "s-link";
35
- export interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'lang' | 'target' | 'tone'> {
35
+ export interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
36
36
  target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
37
37
  tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
38
38
  }