@shopify/ui-extensions 2025.10.0-rc.7 → 2025.10.0-rc.8

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 (185) hide show
  1. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  2. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  3. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  4. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  5. package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/Box.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  8. package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
  9. package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
  10. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
  11. package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
  12. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
  13. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
  14. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
  15. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  16. package/build/ts/surfaces/admin/components/Grid.d.ts +1 -1
  17. package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -1
  18. package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
  19. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
  20. package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
  21. package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
  22. package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
  23. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
  24. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
  26. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
  27. package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
  28. package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
  29. package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
  30. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
  31. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
  32. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
  33. package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
  34. package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
  35. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
  36. package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
  37. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  38. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  39. package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
  40. package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
  41. package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
  42. package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
  43. package/build/ts/surfaces/admin/components/TableHeader.d.ts +1 -1
  44. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  45. package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
  46. package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
  47. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
  48. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  49. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +133 -0
  50. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
  51. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
  52. package/build/ts/surfaces/admin/components/shared.d.ts +25 -1
  53. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +54 -1
  54. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -1
  55. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +54 -1
  56. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -1
  57. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +54 -1
  58. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -1
  59. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +54 -1
  60. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +54 -1
  61. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -1
  62. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -1
  63. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +54 -1
  64. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -1
  65. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +54 -1
  66. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +54 -1
  67. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +54 -1
  68. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +54 -1
  69. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +54 -1
  70. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -1
  71. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +54 -1
  72. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +54 -1
  73. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -1
  74. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +54 -1
  75. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +54 -1
  76. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +54 -1
  77. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -1
  78. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +54 -1
  79. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -1
  80. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +54 -1
  81. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +54 -1
  82. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +54 -1
  83. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +54 -1
  84. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +54 -1
  85. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +54 -1
  86. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -1
  87. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -1
  88. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +54 -1
  89. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -1
  90. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +54 -1
  91. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +54 -1
  92. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +54 -1
  93. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +54 -1
  94. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +54 -1
  95. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -1
  96. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -1
  97. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +54 -1
  98. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -1
  99. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -1
  100. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -1
  101. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
  102. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
  103. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +66 -0
  104. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
  105. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
  106. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +61 -0
  107. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +61 -0
  108. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +61 -0
  109. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +61 -0
  110. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +61 -0
  111. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +61 -0
  112. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +61 -0
  113. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +61 -0
  114. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +61 -0
  115. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +61 -0
  116. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +61 -0
  117. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +61 -0
  118. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +61 -0
  119. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +61 -0
  120. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +61 -0
  121. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +61 -0
  122. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +61 -0
  123. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +61 -0
  124. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +61 -0
  125. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +61 -0
  126. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +61 -0
  127. package/build/tsconfig.tsbuildinfo +1 -1
  128. package/package.json +1 -1
  129. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  130. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  131. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  132. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  133. package/src/surfaces/admin/components/Banner.d.ts +1 -1
  134. package/src/surfaces/admin/components/Box.d.ts +1 -1
  135. package/src/surfaces/admin/components/Button.d.ts +1 -1
  136. package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
  137. package/src/surfaces/admin/components/Choice.d.ts +1 -1
  138. package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
  139. package/src/surfaces/admin/components/Clickable.d.ts +1 -1
  140. package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
  141. package/src/surfaces/admin/components/Divider.d.ts +1 -1
  142. package/src/surfaces/admin/components/EmailField.d.ts +1 -1
  143. package/src/surfaces/admin/components/Form.d.ts +1 -1
  144. package/src/surfaces/admin/components/Grid.d.ts +1 -1
  145. package/src/surfaces/admin/components/GridItem.d.ts +1 -1
  146. package/src/surfaces/admin/components/Heading.d.ts +1 -1
  147. package/src/surfaces/admin/components/Icon.d.ts +1 -1
  148. package/src/surfaces/admin/components/Image.d.ts +1 -1
  149. package/src/surfaces/admin/components/Link.d.ts +1 -1
  150. package/src/surfaces/admin/components/ListItem.d.ts +1 -1
  151. package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
  152. package/src/surfaces/admin/components/NumberField.d.ts +1 -1
  153. package/src/surfaces/admin/components/Option.d.ts +1 -1
  154. package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
  155. package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
  156. package/src/surfaces/admin/components/Page.d.ts +1 -1
  157. package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
  158. package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
  159. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
  160. package/src/surfaces/admin/components/SearchField.d.ts +1 -1
  161. package/src/surfaces/admin/components/Section.d.ts +1 -1
  162. package/src/surfaces/admin/components/Select.d.ts +1 -1
  163. package/src/surfaces/admin/components/Spinner.d.ts +1 -1
  164. package/src/surfaces/admin/components/Stack.d.ts +1 -1
  165. package/src/surfaces/admin/components/StandardComponents.ts +1 -0
  166. package/src/surfaces/admin/components/Switch.d.ts +1 -1
  167. package/src/surfaces/admin/components/Table.d.ts +1 -1
  168. package/src/surfaces/admin/components/TableBody.d.ts +1 -1
  169. package/src/surfaces/admin/components/TableCell.d.ts +1 -1
  170. package/src/surfaces/admin/components/TableHeader.d.ts +1 -1
  171. package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  172. package/src/surfaces/admin/components/TableRow.d.ts +1 -1
  173. package/src/surfaces/admin/components/Text.d.ts +1 -1
  174. package/src/surfaces/admin/components/TextArea.d.ts +1 -1
  175. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  176. package/src/surfaces/admin/components/Thumbnail.d.ts +133 -0
  177. package/src/surfaces/admin/components/URLField.d.ts +1 -1
  178. package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
  179. package/src/surfaces/admin/components/shared.d.ts +25 -1
  180. package/src/surfaces/admin/components.d.ts +672 -202
  181. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +9 -0
  182. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +9 -0
  183. package/src/surfaces/customer-account/components/Avatar.d.ts +66 -0
  184. package/src/surfaces/customer-account/components/StandardComponents.ts +1 -0
  185. package/src/surfaces/customer-account/components.d.ts +67 -0
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,3 +1,3 @@
1
- export type StandardComponents = 'Badge' | 'Banner' | 'Box' | 'Button' | 'Checkbox' | 'Choice' | 'ChoiceList' | 'Clickable' | 'DatePicker' | 'Divider' | 'EmailField' | 'Grid' | 'GridItem' | 'Heading' | 'Icon' | 'Image' | 'Link' | 'ListItem' | 'MoneyField' | 'NumberField' | 'Option' | 'OptionGroup' | 'OrderedList' | 'Paragraph' | 'PasswordField' | 'QueryContainer' | 'Section' | 'Select' | 'Spinner' | 'Stack' | 'Table' | 'TableBody' | 'TableCell' | 'TableHeader' | 'TableHeaderRow' | 'TableRow' | 'Text' | 'TextArea' | 'TextField' | 'UnorderedList' | 'URLField';
1
+ export type StandardComponents = 'Badge' | 'Banner' | 'Box' | 'Button' | 'Checkbox' | 'Choice' | 'ChoiceList' | 'Clickable' | 'DatePicker' | 'Divider' | 'EmailField' | 'Grid' | 'GridItem' | 'Heading' | 'Icon' | 'Image' | 'Link' | 'ListItem' | 'MoneyField' | 'NumberField' | 'Option' | 'OptionGroup' | 'OrderedList' | 'Paragraph' | 'PasswordField' | 'QueryContainer' | 'Section' | 'Select' | 'Spinner' | 'Stack' | 'Table' | 'TableBody' | 'TableCell' | 'TableHeader' | 'TableHeaderRow' | 'TableRow' | 'Text' | 'TextArea' | 'TextField' | 'Thumbnail' | 'UnorderedList' | 'URLField';
2
2
  export default StandardComponents;
3
3
  //# sourceMappingURL=StandardComponents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardComponents.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/admin/components/StandardComponents.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,SAAS,GACT,YAAY,GACZ,MAAM,GACN,UAAU,GACV,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,aAAa,GACb,aAAa,GACb,WAAW,GACX,eAAe,GACf,gBAAgB,GAChB,SAAS,GACT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,WAAW,GACX,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,UAAU,GACV,MAAM,GACN,UAAU,GACV,WAAW,GACX,eAAe,GACf,UAAU,CAAC;AAEf,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"StandardComponents.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/admin/components/StandardComponents.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,SAAS,GACT,YAAY,GACZ,MAAM,GACN,UAAU,GACV,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,aAAa,GACb,aAAa,GACb,WAAW,GACX,eAAe,GACf,gBAAgB,GAChB,SAAS,GACT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,WAAW,GACX,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,UAAU,GACV,MAAM,GACN,UAAU,GACV,WAAW,GACX,WAAW,GACX,eAAe,GACf,UAAU,CAAC;AAEf,eAAe,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -0,0 +1,133 @@
1
+ /** VERSION: 1.1.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 {ThumbnailProps$1, ComponentChild} from './shared.d.ts';
10
+
11
+ export interface ThumbnailProps
12
+ extends Required<Pick<ThumbnailProps$1, 'src' | 'alt'>> {
13
+ size: Extract<
14
+ ThumbnailProps$1['size'],
15
+ 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
16
+ >;
17
+ }
18
+
19
+ export type CallbackEvent<
20
+ TTagName extends keyof HTMLElementTagNameMap,
21
+ TEvent extends Event = Event,
22
+ > = TEvent & {
23
+ currentTarget: HTMLElementTagNameMap[TTagName];
24
+ };
25
+ export type CallbackEventListener<
26
+ TTagName extends keyof HTMLElementTagNameMap,
27
+ TEvent extends Event = Event,
28
+ > =
29
+ | (EventListener & {
30
+ (event: CallbackEvent<TTagName, TEvent>): void;
31
+ })
32
+ | null;
33
+ /** Used when an element does not have children. */
34
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
35
+ /** Assigns a unique key to this element. */
36
+ key?: preact.Key;
37
+ /** Assigns a ref (generally from `useRef()`) to this element. */
38
+ ref?: preact.Ref<TClass>;
39
+ /** Assigns this element to a parent's slot. */
40
+ slot?: Lowercase<string>;
41
+ }
42
+
43
+ export type Styles = string;
44
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
45
+ ShadowRoot: (element: any) => ComponentChild;
46
+ styles?: Styles;
47
+ };
48
+ export interface ActivationEventEsque {
49
+ shiftKey: boolean;
50
+ metaKey: boolean;
51
+ ctrlKey: boolean;
52
+ button: number;
53
+ }
54
+ export interface ClickOptions {
55
+ /**
56
+ * The event you want to influence the synthetic click.
57
+ */
58
+ sourceEvent?: ActivationEventEsque;
59
+ }
60
+ /**
61
+ * Base class for creating custom elements with Preact.
62
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
63
+ * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
64
+ */
65
+ declare const BaseClass: typeof globalThis.HTMLElement;
66
+ declare abstract class PreactCustomElement extends BaseClass {
67
+ /** @private */
68
+ static get observedAttributes(): string[];
69
+ constructor({
70
+ styles,
71
+ ShadowRoot: renderFunction,
72
+ delegatesFocus,
73
+ ...options
74
+ }: RenderImpl);
75
+
76
+ /** @private */
77
+ setAttribute(name: string, value: string): void;
78
+ /** @private */
79
+ attributeChangedCallback(name: string): void;
80
+ /** @private */
81
+ connectedCallback(): void;
82
+ /** @private */
83
+ disconnectedCallback(): void;
84
+ /** @private */
85
+ adoptedCallback(): void;
86
+ /**
87
+ * Queue a run of the render function.
88
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
89
+ * @private
90
+ */
91
+ queueRender(): void;
92
+ /**
93
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
94
+ *
95
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
96
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
97
+ * @private
98
+ * @param options
99
+ */
100
+ click({sourceEvent}?: ClickOptions): void;
101
+ }
102
+
103
+ declare class Thumbnail extends PreactCustomElement implements ThumbnailProps {
104
+ accessor src: ThumbnailProps['src'];
105
+ accessor alt: ThumbnailProps['alt'];
106
+ accessor size: ThumbnailProps['size'];
107
+ accessor onload: CallbackEventListener<typeof tagName> | null;
108
+ accessor onerror: OnErrorEventHandler;
109
+ constructor();
110
+ }
111
+ declare global {
112
+ interface HTMLElementTagNameMap {
113
+ [tagName]: Thumbnail;
114
+ }
115
+ }
116
+ declare module 'preact' {
117
+ namespace createElement.JSX {
118
+ interface IntrinsicElements {
119
+ [tagName]: ThumbnailJSXProps & PreactBaseElementProps<Thumbnail>;
120
+ }
121
+ }
122
+ }
123
+
124
+ declare const tagName = 's-thumbnail';
125
+ export interface ThumbnailJSXProps
126
+ extends Partial<ThumbnailProps>,
127
+ Pick<ThumbnailProps$1, 'id'> {
128
+ onLoad?: ((event: CallbackEvent<typeof tagName>) => void) | null;
129
+ onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
130
+ }
131
+
132
+ export {Thumbnail};
133
+ export type {ThumbnailJSXProps};
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.0 **/
1
+ /** VERSION: 1.1.1 **/
2
2
 
3
3
  /* eslint-disable @typescript-eslint/ban-types */
4
4
 
@@ -113,6 +113,8 @@ declare const privateIconArray: readonly [
113
113
  'camera',
114
114
  'caret-down',
115
115
  'caret-up',
116
+ 'caret-left',
117
+ 'caret-right',
116
118
  'cart-abandoned',
117
119
  'cart-discount',
118
120
  'cart-down',
@@ -3090,6 +3092,26 @@ interface TextFieldProps$1
3090
3092
  MinMaxLengthProps,
3091
3093
  AutocompleteProps<TextAutocompleteField>,
3092
3094
  FieldDecorationProps {}
3095
+ interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
3096
+ /**
3097
+ * Invoked when load of provided image completes successfully.
3098
+ *
3099
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
3100
+ */
3101
+ onLoad?: () => void;
3102
+ /**
3103
+ * Invoked on load error of provided image.
3104
+ *
3105
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
3106
+ */
3107
+ onError?: () => void;
3108
+ /**
3109
+ * Adjusts the size the product thumbnail image.
3110
+ *
3111
+ * @default 'base'
3112
+ */
3113
+ size?: SizeKeyword;
3114
+ }
3093
3115
  interface UnorderedListProps$1 extends GlobalProps {}
3094
3116
  interface URLFieldProps$1
3095
3117
  extends GlobalProps,
@@ -3151,6 +3173,8 @@ type IconType$1 =
3151
3173
  | 'camera'
3152
3174
  | 'camera-flip'
3153
3175
  | 'caret-down'
3176
+ | 'caret-left'
3177
+ | 'caret-right'
3154
3178
  | 'caret-up'
3155
3179
  | 'cart'
3156
3180
  | 'cart-abandoned'
@@ -150,6 +150,58 @@ export interface UnorderedListProps extends UnorderedListProps$1 {
150
150
  declare const UnorderedListtagName = 's-unordered-list';
151
151
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
152
152
 
153
+ declare module 'preact' {
154
+ namespace createElement.JSX {
155
+ interface IntrinsicElements {
156
+ [ThumbnailtagName]: ThumbnailJSXProps & ThumbnailPreactBaseElementProps<Thumbnail>;
157
+ }
158
+ }
159
+ }
160
+
161
+ declare global {
162
+ interface HTMLElementTagNameMap {
163
+ [ThumbnailtagName]: Thumbnail;
164
+ }
165
+ }
166
+
167
+ export interface ThumbnailJSXProps extends Partial<ThumbnailProps>, Pick<ThumbnailProps$1, 'id'> {
168
+ onLoad?: ((event: CallbackEvent<typeof ThumbnailtagName>) => void) | null;
169
+ onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
170
+ }
171
+
172
+ export interface ThumbnailClickOptions {
173
+ /**
174
+ * The event you want to influence the synthetic click.
175
+ */
176
+ sourceEvent?: ThumbnailActivationEventEsque;
177
+ }
178
+
179
+ export interface ThumbnailActivationEventEsque {
180
+ shiftKey: boolean;
181
+ metaKey: boolean;
182
+ ctrlKey: boolean;
183
+ button: number;
184
+ }
185
+
186
+ export interface ThumbnailPreactBaseElementProps<TClass extends HTMLElement> {
187
+ /** Assigns a unique key to this element. */
188
+ key?: preact.Key;
189
+ /** Assigns a ref (generally from `useRef()`) to this element. */
190
+ ref?: preact.Ref<TClass>;
191
+ /** Assigns this element to a parent's slot. */
192
+ slot?: Lowercase<string>;
193
+ }
194
+
195
+ export interface ThumbnailProps extends Required<Pick<ThumbnailProps$1, 'src' | 'alt'>> {
196
+ size: Extract<
197
+ ThumbnailProps$1['size'],
198
+ 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
199
+ >;
200
+ }
201
+
202
+ declare const ThumbnailtagName = 's-thumbnail';
203
+ declare const ThumbnailBaseClass: typeof globalThis.HTMLElement;
204
+
153
205
  declare module 'preact' {
154
206
  namespace createElement.JSX {
155
207
  interface IntrinsicElements {
@@ -3477,7 +3529,7 @@ import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/a
3477
3529
  import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
3478
3530
  import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
3479
3531
  import { Select } from "../../../../../src/surfaces/admin/components/Select";
3480
- import { AdminActionProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3532
+ import { AdminActionProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, ThumbnailProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3481
3533
  import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
3482
3534
  import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
3483
3535
  import { Table } from "../../../../../src/surfaces/admin/components/Table";
@@ -3488,6 +3540,7 @@ import { TableHeaderRow } from "../../../../../src/surfaces/admin/components/Tab
3488
3540
  import { TableRow } from "../../../../../src/surfaces/admin/components/TableRow";
3489
3541
  import { TextArea, TextAreaProps } from "../../../../../src/surfaces/admin/components/TextArea";
3490
3542
  import { TextField, TextFieldProps } from "../../../../../src/surfaces/admin/components/TextField";
3543
+ import { Thumbnail } from "../../../../../src/surfaces/admin/components/Thumbnail";
3491
3544
  import { UnorderedList } from "../../../../../src/surfaces/admin/components/UnorderedList";
3492
3545
  import { URLField, URLFieldProps } from "../../../../../src/surfaces/admin/components/URLField";
3493
3546
  import type { ExtensionTargets } from '../extension-targets';