@shopify/ui-extensions 2026.10.0-rc.9 → 2026.10.1

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 (339) hide show
  1. package/build/cjs/surfaces/customer-account/preact/authenticated-account.js +1 -1
  2. package/build/cjs/surfaces/point-of-sale/events.js +39 -22
  3. package/build/cjs/surfaces/point-of-sale/pos-list-template.js +339 -0
  4. package/build/cjs/surfaces/point-of-sale.js +2 -0
  5. package/build/esm/surfaces/customer-account/preact/authenticated-account.mjs +1 -1
  6. package/build/esm/surfaces/point-of-sale/events.mjs +39 -22
  7. package/build/esm/surfaces/point-of-sale/pos-list-template.mjs +331 -0
  8. package/build/esm/surfaces/point-of-sale.mjs +1 -0
  9. package/build/esnext/surfaces/customer-account/preact/authenticated-account.esnext +1 -1
  10. package/build/esnext/surfaces/point-of-sale/events.esnext +39 -22
  11. package/build/esnext/surfaces/point-of-sale/pos-list-template.esnext +331 -0
  12. package/build/esnext/surfaces/point-of-sale.esnext +1 -0
  13. package/build/ts/shared.d.ts +6 -20
  14. package/build/ts/shared.d.ts.map +1 -1
  15. package/build/ts/surfaces/admin/api/picker/picker.d.ts +2 -2
  16. package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
  17. package/build/ts/surfaces/admin/components/AdminAction.d.ts +2 -2
  18. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
  19. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +2 -2
  20. package/build/ts/surfaces/admin/components/AppNav.d.ts +1 -1
  21. package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
  22. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  23. package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
  24. package/build/ts/surfaces/admin/components/Box.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  26. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +1 -1
  27. package/build/ts/surfaces/admin/components/Checkbox.d.ts +3 -3
  28. package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
  29. package/build/ts/surfaces/admin/components/Choice.d.ts +3 -3
  30. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +3 -3
  31. package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
  32. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
  33. package/build/ts/surfaces/admin/components/ColorField.d.ts +1 -1
  34. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
  35. package/build/ts/surfaces/admin/components/DateField.d.ts +1 -1
  36. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
  37. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
  38. package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
  39. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
  40. package/build/ts/surfaces/admin/components/EmptyState.d.ts +1 -1
  41. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  42. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  43. package/build/ts/surfaces/admin/components/Grid.d.ts +1 -1
  44. package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -1
  45. package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
  46. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
  47. package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
  48. package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
  49. package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
  50. package/build/ts/surfaces/admin/components/Menu.d.ts +1 -1
  51. package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
  52. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
  53. package/build/ts/surfaces/admin/components/Number.d.ts +1 -1
  54. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
  55. package/build/ts/surfaces/admin/components/Option.d.ts +3 -3
  56. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
  57. package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
  58. package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
  59. package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
  60. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
  61. package/build/ts/surfaces/admin/components/Popover.d.ts +1 -1
  62. package/build/ts/surfaces/admin/components/Progress.d.ts +155 -0
  63. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
  64. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
  65. package/build/ts/surfaces/admin/components/Section.d.ts +11 -3
  66. package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
  67. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
  68. package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
  69. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  70. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  71. package/build/ts/surfaces/admin/components/Switch.d.ts +3 -3
  72. package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
  73. package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
  74. package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
  75. package/build/ts/surfaces/admin/components/TableHeader.d.ts +1 -1
  76. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  77. package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
  78. package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
  79. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
  80. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  81. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
  82. package/build/ts/surfaces/admin/components/Tooltip.d.ts +1 -1
  83. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
  84. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
  85. package/build/ts/surfaces/admin/components/shared.d.ts +47 -7
  86. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +3 -0
  87. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +3 -0
  88. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-index.action.render.d.ts +3 -0
  89. package/build/ts/surfaces/admin/targets/admin.app.home.render.d.ts +3 -0
  90. package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +3 -0
  91. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +3 -0
  92. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +3 -0
  93. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +3 -0
  94. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +3 -0
  95. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +3 -0
  96. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +3 -0
  97. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +3 -0
  98. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +3 -0
  99. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +3 -0
  100. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +3 -0
  101. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +3 -0
  102. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +3 -0
  103. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +3 -0
  104. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +3 -0
  105. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +3 -0
  106. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +3 -0
  107. package/build/ts/surfaces/admin/targets/admin.discount-index.selection-action.render.d.ts +3 -0
  108. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +3 -0
  109. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +3 -0
  110. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +3 -0
  111. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +3 -0
  112. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +3 -0
  113. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +3 -0
  114. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +3 -0
  115. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +3 -0
  116. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +3 -0
  117. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +3 -0
  118. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +3 -0
  119. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +3 -0
  120. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +3 -0
  121. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +3 -0
  122. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +3 -0
  123. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +3 -0
  124. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +3 -0
  125. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +3 -0
  126. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +3 -0
  127. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +3 -0
  128. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +3 -0
  129. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +3 -0
  130. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +3 -0
  131. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +3 -0
  132. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +3 -0
  133. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +3 -0
  134. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +3 -0
  135. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +3 -0
  136. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +3 -0
  137. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +7 -0
  138. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
  139. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +8 -1
  140. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
  141. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -2
  142. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
  143. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +7 -0
  144. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
  145. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +15 -4
  146. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  147. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +1 -1
  148. package/build/ts/surfaces/checkout/api/shared.d.ts +108 -1
  149. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  150. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +8 -4
  151. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  152. package/build/ts/surfaces/checkout/components/MoneyField.d.ts +3 -1
  153. package/build/ts/surfaces/checkout/components/NumberField.d.ts +3 -1
  154. package/build/ts/surfaces/checkout/components/components-shared.d.ts +1 -1
  155. package/build/ts/surfaces/checkout/preact/country.d.ts +1 -1
  156. package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
  157. package/build/ts/surfaces/checkout.d.ts +2 -2
  158. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  159. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +1 -1
  160. package/build/ts/surfaces/customer-account/api/shared.d.ts +26 -7
  161. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  162. package/build/ts/surfaces/customer-account/api.d.ts +1 -1
  163. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  164. package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +3 -1
  165. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +3 -1
  166. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1 -1
  167. package/build/ts/surfaces/customer-account/preact/authenticated-account.d.ts +3 -3
  168. package/build/ts/surfaces/customer-account/preact/authenticated-account.d.ts.map +1 -1
  169. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +13 -0
  170. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  171. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +4 -0
  172. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
  173. package/build/ts/surfaces/point-of-sale/api/docs.d.ts +7 -0
  174. package/build/ts/surfaces/point-of-sale/api/docs.d.ts.map +1 -1
  175. package/build/ts/surfaces/point-of-sale/api/extension-api/extension-api.d.ts +25 -5
  176. package/build/ts/surfaces/point-of-sale/api/extension-api/extension-api.d.ts.map +1 -1
  177. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +19 -7
  178. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  179. package/build/ts/surfaces/point-of-sale/api/resolution-api/resolution-api.d.ts +28 -3
  180. package/build/ts/surfaces/point-of-sale/api/resolution-api/resolution-api.d.ts.map +1 -1
  181. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +1 -1
  182. package/build/ts/surfaces/point-of-sale/api.d.ts +2 -2
  183. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  184. package/build/ts/surfaces/point-of-sale/components/POSList.d.ts +179 -0
  185. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +1 -1
  186. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
  187. package/build/ts/surfaces/point-of-sale/components/targets/ResolutionComponents.d.ts +1 -1
  188. package/build/ts/surfaces/point-of-sale/components/targets/ResolutionComponents.d.ts.map +1 -1
  189. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
  190. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  191. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +12 -1
  192. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
  193. package/build/ts/surfaces/point-of-sale/event/data.d.ts +1 -1
  194. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -1
  195. package/build/ts/surfaces/point-of-sale/events/scan-event.d.ts +34 -0
  196. package/build/ts/surfaces/point-of-sale/events/scan-event.d.ts.map +1 -0
  197. package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts +8 -0
  198. package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts.map +1 -1
  199. package/build/ts/surfaces/point-of-sale/events.d.ts +58 -28
  200. package/build/ts/surfaces/point-of-sale/events.d.ts.map +1 -1
  201. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +4 -4
  202. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  203. package/build/ts/surfaces/point-of-sale/globals.d.ts +0 -2
  204. package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -1
  205. package/build/ts/surfaces/point-of-sale/pos-list-template.d.ts +36 -0
  206. package/build/ts/surfaces/point-of-sale/pos-list-template.d.ts.map +1 -0
  207. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +1 -0
  208. package/build/ts/surfaces/point-of-sale/targets/pos.cart.validations.resolution.render.d.ts +1 -0
  209. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +1 -0
  210. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +1 -0
  211. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +1 -0
  212. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +1 -0
  213. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +1 -0
  214. package/build/ts/surfaces/point-of-sale/targets/pos.payment.validations.resolution.render.d.ts +1 -0
  215. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +1 -0
  216. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +1 -0
  217. package/build/ts/surfaces/point-of-sale/targets/pos.register-details.action.render.d.ts +1 -0
  218. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +1 -0
  219. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +8 -0
  220. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
  221. package/build/ts/surfaces/point-of-sale/types/session.d.ts +0 -6
  222. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
  223. package/build/ts/surfaces/point-of-sale.d.ts +1 -0
  224. package/build/ts/surfaces/point-of-sale.d.ts.map +1 -1
  225. package/build/tsconfig.tsbuildinfo +1 -1
  226. package/package.json +2 -1
  227. package/src/shared.ts +22 -21
  228. package/src/surfaces/admin/api/picker/picker.ts +5 -2
  229. package/src/surfaces/admin/components/AdminAction.d.ts +2 -2
  230. package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
  231. package/src/surfaces/admin/components/AdminPrintAction.d.ts +2 -2
  232. package/src/surfaces/admin/components/AppNav.d.ts +1 -1
  233. package/src/surfaces/admin/components/Avatar.d.ts +1 -1
  234. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  235. package/src/surfaces/admin/components/Banner.d.ts +1 -1
  236. package/src/surfaces/admin/components/Box.d.ts +1 -1
  237. package/src/surfaces/admin/components/Button.d.ts +1 -1
  238. package/src/surfaces/admin/components/ButtonGroup.d.ts +1 -1
  239. package/src/surfaces/admin/components/Checkbox.d.ts +3 -3
  240. package/src/surfaces/admin/components/Chip.d.ts +1 -1
  241. package/src/surfaces/admin/components/Choice.d.ts +3 -3
  242. package/src/surfaces/admin/components/ChoiceList.d.ts +3 -3
  243. package/src/surfaces/admin/components/Clickable.d.ts +1 -1
  244. package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
  245. package/src/surfaces/admin/components/ColorField.d.ts +1 -1
  246. package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
  247. package/src/surfaces/admin/components/DateField.d.ts +1 -1
  248. package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
  249. package/src/surfaces/admin/components/Divider.d.ts +1 -1
  250. package/src/surfaces/admin/components/DropZone.d.ts +1 -1
  251. package/src/surfaces/admin/components/EmailField.d.ts +1 -1
  252. package/src/surfaces/admin/components/EmptyState.d.ts +1 -1
  253. package/src/surfaces/admin/components/Form.d.ts +1 -1
  254. package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  255. package/src/surfaces/admin/components/Grid.d.ts +1 -1
  256. package/src/surfaces/admin/components/GridItem.d.ts +1 -1
  257. package/src/surfaces/admin/components/Heading.d.ts +1 -1
  258. package/src/surfaces/admin/components/Icon.d.ts +1 -1
  259. package/src/surfaces/admin/components/Image.d.ts +1 -1
  260. package/src/surfaces/admin/components/Link.d.ts +1 -1
  261. package/src/surfaces/admin/components/ListItem.d.ts +1 -1
  262. package/src/surfaces/admin/components/Menu.d.ts +1 -1
  263. package/src/surfaces/admin/components/Modal.d.ts +1 -1
  264. package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
  265. package/src/surfaces/admin/components/Number.d.ts +1 -1
  266. package/src/surfaces/admin/components/NumberField.d.ts +1 -1
  267. package/src/surfaces/admin/components/Option.d.ts +3 -3
  268. package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
  269. package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
  270. package/src/surfaces/admin/components/Page.d.ts +1 -1
  271. package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
  272. package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
  273. package/src/surfaces/admin/components/Popover.d.ts +1 -1
  274. package/src/surfaces/admin/components/Progress.d.ts +155 -0
  275. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
  276. package/src/surfaces/admin/components/SearchField.d.ts +1 -1
  277. package/src/surfaces/admin/components/Section.d.ts +11 -3
  278. package/src/surfaces/admin/components/Select.d.ts +1 -1
  279. package/src/surfaces/admin/components/Spinner.d.ts +1 -1
  280. package/src/surfaces/admin/components/Stack.d.ts +1 -1
  281. package/src/surfaces/admin/components/StandardComponents.ts +3 -0
  282. package/src/surfaces/admin/components/Switch.d.ts +3 -3
  283. package/src/surfaces/admin/components/Table.d.ts +1 -1
  284. package/src/surfaces/admin/components/TableBody.d.ts +1 -1
  285. package/src/surfaces/admin/components/TableCell.d.ts +1 -1
  286. package/src/surfaces/admin/components/TableHeader.d.ts +1 -1
  287. package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  288. package/src/surfaces/admin/components/TableRow.d.ts +1 -1
  289. package/src/surfaces/admin/components/Text.d.ts +1 -1
  290. package/src/surfaces/admin/components/TextArea.d.ts +1 -1
  291. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  292. package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
  293. package/src/surfaces/admin/components/Tooltip.d.ts +1 -1
  294. package/src/surfaces/admin/components/URLField.d.ts +1 -1
  295. package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
  296. package/src/surfaces/admin/components/shared.d.ts +47 -7
  297. package/src/surfaces/admin/components.d.ts +8216 -2635
  298. package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +9 -0
  299. package/src/surfaces/checkout/api/address-autocomplete/shared.ts +9 -0
  300. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -2
  301. package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +8 -0
  302. package/src/surfaces/checkout/api/checkout/checkout.ts +19 -9
  303. package/src/surfaces/checkout/api/redeemable/redeemable.ts +1 -1
  304. package/src/surfaces/checkout/api/shared.ts +116 -1
  305. package/src/surfaces/checkout/api/standard/standard.ts +11 -3
  306. package/src/surfaces/checkout/components/MoneyField.d.ts +3 -1
  307. package/src/surfaces/checkout/components/NumberField.d.ts +3 -1
  308. package/src/surfaces/checkout/components/components-shared.d.ts +1 -1
  309. package/src/surfaces/checkout/preact/country.ts +1 -1
  310. package/src/surfaces/checkout.ts +3 -0
  311. package/src/surfaces/customer-account/api/order-status/order-status.ts +1 -1
  312. package/src/surfaces/customer-account/api/shared.ts +25 -7
  313. package/src/surfaces/customer-account/api.ts +1 -0
  314. package/src/surfaces/customer-account/preact/authenticated-account.ts +3 -3
  315. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +14 -0
  316. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +4 -0
  317. package/src/surfaces/point-of-sale/api/docs.ts +8 -0
  318. package/src/surfaces/point-of-sale/api/extension-api/extension-api.ts +25 -5
  319. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +22 -7
  320. package/src/surfaces/point-of-sale/api/resolution-api/resolution-api.ts +30 -3
  321. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +1 -1
  322. package/src/surfaces/point-of-sale/api.ts +2 -0
  323. package/src/surfaces/point-of-sale/components/POSList.d.ts +179 -0
  324. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +0 -4
  325. package/src/surfaces/point-of-sale/components/targets/ResolutionComponents.ts +1 -1
  326. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +1 -3
  327. package/src/surfaces/point-of-sale/components.d.ts +194 -0
  328. package/src/surfaces/point-of-sale/event/data/BaseData.ts +13 -1
  329. package/src/surfaces/point-of-sale/event/data.ts +1 -1
  330. package/src/surfaces/point-of-sale/events/scan-event.ts +34 -0
  331. package/src/surfaces/point-of-sale/events/transaction-complete-event.ts +8 -0
  332. package/src/surfaces/point-of-sale/events.ts +58 -27
  333. package/src/surfaces/point-of-sale/extension-targets.ts +4 -4
  334. package/src/surfaces/point-of-sale/globals.ts +0 -2
  335. package/src/surfaces/point-of-sale/pos-list-template.ts +351 -0
  336. package/src/surfaces/point-of-sale/tests/pos-list-template.test.ts +306 -0
  337. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +8 -0
  338. package/src/surfaces/point-of-sale/types/session.ts +0 -7
  339. package/src/surfaces/point-of-sale.ts +1 -0
@@ -0,0 +1,155 @@
1
+ /** VERSION: 2.26.1 **/
2
+ /* eslint-disable import/extensions */
3
+
4
+ /* eslint-disable @typescript-eslint/no-namespace */
5
+ /* eslint-disable @typescript-eslint/member-ordering */
6
+
7
+ // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
+ /// <reference lib="DOM" />
9
+ import type {
10
+ ProgressProps$1,
11
+ PreactCustomElement,
12
+ RenderImpl,
13
+ } from './shared.d.ts';
14
+ import * as preact$1 from 'preact';
15
+ import {ReactNode, RefAttributes} from 'react';
16
+
17
+ export type ReactIntrinsicElementChildren<PreactProps extends object> =
18
+ 'children' extends keyof PreactProps
19
+ ? {
20
+ children?: ReactNode;
21
+ }
22
+ : Record<never, never>;
23
+ export type ReactIntrinsicElementProps<
24
+ PreactProps extends object,
25
+ ElementType,
26
+ > = Omit<PreactProps, 'children' | 'key' | 'ref' | 'slot'> &
27
+ ReactIntrinsicElementChildren<PreactProps> &
28
+ RefAttributes<ElementType> & {
29
+ slot?: Lowercase<string>;
30
+ };
31
+ export type ReactIntrinsicElements = {
32
+ [Tag in Exclude<
33
+ Extract<keyof preact$1.createElement.JSX.IntrinsicElements, `s-${string}`>,
34
+ `s-test-${string}`
35
+ >]: ReactIntrinsicElementProps<
36
+ preact$1.createElement.JSX.IntrinsicElements[Tag],
37
+ Tag extends keyof HTMLElementTagNameMap
38
+ ? HTMLElementTagNameMap[Tag]
39
+ : HTMLElement
40
+ >;
41
+ };
42
+ declare module 'react' {
43
+ namespace JSX {
44
+ interface IntrinsicElements extends ReactIntrinsicElements {}
45
+ }
46
+ }
47
+
48
+ /**
49
+ * Configure the following properties on the progress component.
50
+ */
51
+ export interface ProgressProps
52
+ extends Pick<
53
+ ProgressProps$1,
54
+ 'accessibilityLabel' | 'max' | 'tone' | 'value'
55
+ > {
56
+ /**
57
+ * A label that describes the purpose or content of the component for assistive technologies like screen readers. Use this to provide additional context when the visible content alone doesn't clearly convey what is progressing.
58
+ */
59
+ accessibilityLabel: Required<ProgressProps$1>['accessibilityLabel'];
60
+ /**
61
+ * How much work the task requires in total. Must be greater than `0`.
62
+ *
63
+ * @default 1
64
+ */
65
+ max: Required<ProgressProps$1>['max'];
66
+ /**
67
+ * The semantic meaning and color treatment of the component.
68
+ *
69
+ * - `auto`: Automatically determined based on context.
70
+ * - `neutral`: General information without specific intent.
71
+ * - `info`: Informational content or helpful tips.
72
+ * - `success`: Positive outcomes or successful states.
73
+ * - `caution`: Advisory notices that need attention.
74
+ * - `warning`: Important warnings about potential issues.
75
+ * - `critical`: Urgent problems or destructive actions.
76
+ *
77
+ * @default 'auto'
78
+ */
79
+ tone: Extract<
80
+ ProgressProps$1['tone'],
81
+ 'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
82
+ >;
83
+ /**
84
+ * How much of the task has been completed, as a number between `0` and `max`.
85
+ *
86
+ * Without a `value` the progress is indeterminate: the task is ongoing with no
87
+ * indication of how long it is expected to take.
88
+ *
89
+ * @default 0
90
+ */
91
+ value: Required<ProgressProps$1>['value'];
92
+ }
93
+
94
+ declare class PolarisCustomElement extends PreactCustomElement {
95
+ constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
96
+ /** @private */
97
+ connectedCallback(): void;
98
+ /** @private */
99
+ adoptedCallback(): void;
100
+ }
101
+
102
+ /**
103
+ * Base props for Preact custom elements without children support. Includes common properties like key, ref, and slot for elements that don't accept child content.
104
+ * @publicDocs
105
+ */
106
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
107
+ /**
108
+ * A unique identifier for this element, used by the virtual DOM to efficiently track and update elements in lists.
109
+ * Essential for maintaining component state and optimizing re-renders when lists change.
110
+ */
111
+ key?: preact.Key;
112
+ /**
113
+ * A reference to access the underlying DOM element directly.
114
+ * Typically created using `useRef()` to interact with the element imperatively or measure its properties.
115
+ */
116
+ ref?: preact.Ref<TClass>;
117
+ /**
118
+ * The named slot to which this element is assigned in the parent component's shadow DOM.
119
+ *
120
+ * Used for advanced component composition with web components.
121
+ */
122
+ slot?: Lowercase<string>;
123
+ }
124
+
125
+ /**
126
+ * Configure the following properties on the progress component.
127
+ * @publicDocs
128
+ */
129
+ declare class Progress extends PolarisCustomElement implements ProgressProps {
130
+ accessor accessibilityLabel: string;
131
+ accessor max: ProgressProps['max'];
132
+ accessor tone: ProgressProps['tone'];
133
+ accessor value: ProgressProps['value'];
134
+ constructor();
135
+ }
136
+ declare global {
137
+ interface HTMLElementTagNameMap {
138
+ [tagName]: Progress;
139
+ }
140
+ }
141
+ declare module 'preact' {
142
+ namespace createElement.JSX {
143
+ interface IntrinsicElements {
144
+ [tagName]: ProgressJSXProps & PreactBaseElementProps<Progress>;
145
+ }
146
+ }
147
+ }
148
+
149
+ declare const tagName = 's-progress';
150
+ export interface ProgressJSXProps
151
+ extends Partial<ProgressProps>,
152
+ Pick<ProgressProps$1, 'id'> {}
153
+
154
+ export {Progress};
155
+ export type {ProgressJSXProps};
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -134,6 +134,12 @@ declare abstract class SectionBase
134
134
  implements SectionProps
135
135
  {
136
136
  constructor(renderImpl: RenderImpl);
137
+ /**
138
+ * The element the section currently renders as its graphic, which sizes a
139
+ * Badge inside it.
140
+ * @private
141
+ */
142
+ setGraphicNode(node: Element | null): void;
137
143
  /** @private */
138
144
  connectedCallback(): void;
139
145
  /** @private */
@@ -193,13 +199,15 @@ export interface SectionJSXProps
193
199
  /**
194
200
  * A decorative visual that reinforces the heading, rendered before it.
195
201
  *
196
- * Accepts a single icon-only Badge (`icon` set, no text content) with a `size` of `large`. The heading identifies the section, so this content is not announced by assistive technologies, and it is not rendered at all when the section has no `heading`.
202
+ * Accepts a single Icon with a `size` of `base`, or an icon-only Badge (`icon` set, no text content) with a `size` of `large`. The heading identifies the section, so this content is not announced by assistive technologies, and it is not rendered at all when the section has no `heading`.
197
203
  */
198
204
  graphic?: ComponentChildren;
199
205
  /**
200
206
  * Additional contextual information that qualifies the heading, rendered inline beside the heading text.
201
207
  *
202
- * Only accepts Badge, Icon, Button, Menu, Text, Avatar, and Thumbnail elements. Text must use `tone`, `fontSize`, and `fontWeight` of `auto`; Icon, Avatar, and Thumbnail must use `size="base"`; Badge must use `size="base"` and `color="base"`; Button must use `inlineSize="auto"`.
208
+ * Only accepts Badge, Icon, Button, Menu, Text, Avatar, Thumbnail, and Tooltip elements. Text must use `tone`, `fontSize`, and `fontWeight` of `auto`; Icon, Avatar, and Thumbnail must use `size="base"`; Badge must use `size="base"` and `color="base"`; Button must use `inlineSize="auto"`.
209
+ *
210
+ * A Tooltip an accessory element's `interestFor` points at can be slotted here beside it.
203
211
  */
204
212
  accessory?: ComponentChildren;
205
213
  /**
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -21,6 +21,7 @@ export type StandardComponents =
21
21
  | 'DropZone'
22
22
  | 'Divider'
23
23
  | 'EmailField'
24
+ | 'EmptyState'
24
25
  | 'Grid'
25
26
  | 'GridItem'
26
27
  | 'Heading'
@@ -30,6 +31,7 @@ export type StandardComponents =
30
31
  | 'ListItem'
31
32
  | 'Menu'
32
33
  | 'MoneyField'
34
+ | 'Number'
33
35
  | 'NumberField'
34
36
  | 'Option'
35
37
  | 'OptionGroup'
@@ -37,6 +39,7 @@ export type StandardComponents =
37
39
  | 'Paragraph'
38
40
  | 'PasswordField'
39
41
  | 'Popover'
42
+ | 'Progress'
40
43
  | 'QueryContainer'
41
44
  | 'SearchField'
42
45
  | 'Section'
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -144,7 +144,7 @@ export interface PreactCheckboxProps
144
144
  >
145
145
  > {
146
146
  /**
147
- * The value used in form data when the checkbox is checked.
147
+ * The value used in form data when the control is checked.
148
148
  */
149
149
  value: Required<CheckboxProps>['value'];
150
150
  }
@@ -156,7 +156,7 @@ declare class PreactCheckboxElement
156
156
  get checked(): boolean;
157
157
  set checked(checked: PreactCheckboxProps['checked']);
158
158
  /**
159
- * The value used in form data when the checkbox is checked.
159
+ * The value used in form data when the control is checked.
160
160
  */
161
161
  get value(): string;
162
162
  set value(value: string);
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 2.23.0 **/
1
+ /** VERSION: 2.26.1 **/
2
2
 
3
3
  /* eslint-disable @typescript-eslint/ban-types */
4
4
 
@@ -3039,7 +3039,7 @@ export interface FileInputProps extends BaseInputProps {
3039
3039
  */
3040
3040
  export interface FieldErrorProps {
3041
3041
  /**
3042
- * An error message displayed below the checkbox to indicate validation problems. When set, the checkbox is styled with error indicators and the message is announced to screen readers.
3042
+ * An error message displayed below the field to indicate validation problems. When set, the field is styled with error indicators and the message is announced to screen readers.
3043
3043
  *
3044
3044
  * @implementation (string) The error is a simple string that will be displayed to the user.
3045
3045
  *
@@ -3077,7 +3077,7 @@ export interface BasicFieldProps
3077
3077
  */
3078
3078
  export interface FieldDetailsProps {
3079
3079
  /**
3080
- * Supplementary text displayed below the checkbox to provide additional context, instructions, or help. Use this to explain what checking the box means or provide guidance to users. This text is announced to screen readers.
3080
+ * Supplementary text displayed below the field to provide additional context, instructions, or help. Use this to clarify the expected input or provide guidance to users. This text is announced to screen readers.
3081
3081
  *
3082
3082
  * @implementation (string) The details is a simple string that will be displayed to the user.
3083
3083
  *
@@ -3776,13 +3776,13 @@ export interface BaseSelectableProps {
3776
3776
  */
3777
3777
  accessibilityLabel?: string;
3778
3778
  /**
3779
- * Whether the checkbox is disabled, preventing user interaction. Disabled checkboxes appear dimmed and their values aren't submitted with forms.
3779
+ * Whether the control is disabled, preventing user interaction. Disabled controls appear dimmed and their values aren't submitted with forms.
3780
3780
  *
3781
3781
  * @default false
3782
3782
  */
3783
3783
  disabled?: boolean;
3784
3784
  /**
3785
- * The value submitted with the form when this checkbox is checked. If not specified, the default value is "on".
3785
+ * The value submitted with the form when this control is selected. If not specified, the default value is "on".
3786
3786
  */
3787
3787
  value?: string;
3788
3788
  }
@@ -3814,7 +3814,7 @@ export interface BaseCheckableProps
3814
3814
  LabelAccessibilityVisibilityProps,
3815
3815
  InteractionProps {
3816
3816
  /**
3817
- * The text label displayed next to the checkbox that describes what the checkbox controls. Clicking the label will also toggle the checkbox state.
3817
+ * The text label displayed next to the control that describes what it does. Clicking the label will also toggle the control state.
3818
3818
  *
3819
3819
  * @implementation (string) The label is a simple string that will be displayed to the user.
3820
3820
  *
@@ -3838,7 +3838,7 @@ export interface BaseCheckableProps
3838
3838
  */
3839
3839
  defaultChecked?: boolean;
3840
3840
  /**
3841
- * The name used to identify this checkbox in form submissions. When the checkbox is checked, its `name` and `value` are included in the form data. Must be unique within the containing form.
3841
+ * The name used to identify this control in form submissions. When the control is checked, its `name` and `value` are included in the form data. Must be unique within the containing form.
3842
3842
  */
3843
3843
  name?: string;
3844
3844
  /**
@@ -6226,6 +6226,46 @@ interface PressButtonProps$1
6226
6226
  */
6227
6227
  defaultPressed?: boolean;
6228
6228
  }
6229
+ interface ProgressProps$1 extends GlobalProps {
6230
+ /**
6231
+ * A label that describes the purpose of the progress. When set,
6232
+ * it will be announced to users using assistive technologies and will
6233
+ * provide them with more context.
6234
+ *
6235
+ * Use it to provide context of what is progressing.
6236
+ */
6237
+ accessibilityLabel?: string;
6238
+ /**
6239
+ * Sets the tone of the progress, based on the intention of the information being conveyed.
6240
+ *
6241
+ * @default 'auto'
6242
+ */
6243
+ tone?: ToneKeyword;
6244
+ /**
6245
+ * Specifies how much of the task has been completed.
6246
+ *
6247
+ * It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted.
6248
+ * If there is no value attribute, the progress bar is indeterminate;
6249
+ * this indicates that an activity is ongoing with no indication of how long it is expected to take.
6250
+ *
6251
+ * @implementation Surfaces should apply styling to cover that indeterminate state.
6252
+ * @implementation In a HTML host, you can customize the progress animation via the :indeterminate pseudo-class.
6253
+ *
6254
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#value
6255
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate#progress_bar
6256
+ */
6257
+ value?: number;
6258
+ /**
6259
+ * This attribute describes how much work the task indicated by the progress element requires.
6260
+ *
6261
+ * The `max` attribute, if present, must have a value greater than 0 and be a valid floating point number.
6262
+ *
6263
+ * @default 1
6264
+ *
6265
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#max
6266
+ */
6267
+ max?: number;
6268
+ }
6229
6269
  interface QueryContainerProps$1 extends GlobalProps {
6230
6270
  /**
6231
6271
  * The content of the container.