@shopify/ui-extensions 2025.10.0-rc.37 → 2025.10.0-rc.39

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 (213) hide show
  1. package/build/ts/shared.d.ts +24 -4
  2. package/build/ts/shared.d.ts.map +1 -1
  3. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  4. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  5. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  8. package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
  9. package/build/ts/surfaces/admin/components/Box.d.ts +8 -1
  10. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  11. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
  12. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +14 -2
  13. package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
  14. package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
  15. package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
  16. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
  17. package/build/ts/surfaces/admin/components/Clickable.d.ts +8 -1
  18. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
  19. package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -1
  20. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
  21. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +2 -2
  22. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
  23. package/build/ts/surfaces/admin/components/DateField.d.ts +1 -1
  24. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
  26. package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
  27. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
  28. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  29. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  30. package/build/ts/surfaces/admin/components/Grid.d.ts +20 -1
  31. package/build/ts/surfaces/admin/components/GridItem.d.ts +8 -1
  32. package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
  33. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
  34. package/build/ts/surfaces/admin/components/Image.d.ts +8 -1
  35. package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
  36. package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
  37. package/build/ts/surfaces/admin/components/Menu.d.ts +1 -1
  38. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
  39. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
  40. package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
  41. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -3
  42. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -3
  43. package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
  44. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
  45. package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
  46. package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
  47. package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
  48. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
  49. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
  50. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
  51. package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
  52. package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
  53. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
  54. package/build/ts/surfaces/admin/components/Stack.d.ts +14 -1
  55. package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
  56. package/build/ts/surfaces/admin/components/Table.d.ts +3 -2
  57. package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
  58. package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
  59. package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -2
  60. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  61. package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
  62. package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
  63. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
  64. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  65. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
  66. package/build/ts/surfaces/admin/components/Tooltip.d.ts +1 -1
  67. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
  68. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
  69. package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
  70. package/build/ts/surfaces/admin/components/shared.d.ts +245 -222
  71. package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
  72. package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
  73. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
  74. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  75. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -29
  76. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  77. package/build/ts/surfaces/customer-account/api/shared.d.ts +6 -6
  78. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  79. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +6 -6
  80. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  81. package/build/ts/surfaces/customer-account/api.d.ts +1 -1
  82. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  83. package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
  84. package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
  85. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +1 -1
  86. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +82 -8
  87. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +111 -30
  88. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
  89. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
  90. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
  91. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
  92. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +82 -8
  93. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +1 -38
  94. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
  95. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
  96. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
  97. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
  98. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +2 -0
  99. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +2 -0
  100. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +1 -0
  101. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +2 -0
  102. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +1 -0
  103. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +2 -0
  104. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +1 -0
  105. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +2 -0
  106. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +2 -0
  107. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +1 -0
  108. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +2 -0
  109. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +1 -0
  110. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +2 -0
  111. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +1 -0
  112. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +2 -0
  113. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +1 -0
  114. package/build/tsconfig.tsbuildinfo +1 -1
  115. package/package.json +2 -2
  116. package/src/docs/shared/components/Modal.ts +1 -1
  117. package/src/shared.ts +25 -4
  118. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  119. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  120. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  121. package/src/surfaces/admin/components/Avatar.d.ts +1 -1
  122. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  123. package/src/surfaces/admin/components/Banner.d.ts +1 -1
  124. package/src/surfaces/admin/components/Box.d.ts +8 -1
  125. package/src/surfaces/admin/components/Button.d.ts +1 -1
  126. package/src/surfaces/admin/components/ButtonGroup/examples/default.html +2 -2
  127. package/src/surfaces/admin/components/ButtonGroup.d.ts +14 -2
  128. package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
  129. package/src/surfaces/admin/components/Chip.d.ts +1 -1
  130. package/src/surfaces/admin/components/Choice.d.ts +1 -1
  131. package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
  132. package/src/surfaces/admin/components/Clickable.d.ts +8 -1
  133. package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
  134. package/src/surfaces/admin/components/ColorField.d.ts +3 -1
  135. package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
  136. package/src/surfaces/admin/components/DateField.d.ts +1 -1
  137. package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
  138. package/src/surfaces/admin/components/Divider.d.ts +1 -1
  139. package/src/surfaces/admin/components/DropZone.d.ts +1 -1
  140. package/src/surfaces/admin/components/EmailField.d.ts +1 -1
  141. package/src/surfaces/admin/components/Form.d.ts +1 -1
  142. package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  143. package/src/surfaces/admin/components/Grid.d.ts +20 -1
  144. package/src/surfaces/admin/components/GridItem.d.ts +8 -1
  145. package/src/surfaces/admin/components/Heading.d.ts +1 -1
  146. package/src/surfaces/admin/components/Icon.d.ts +1 -1
  147. package/src/surfaces/admin/components/Image.d.ts +8 -1
  148. package/src/surfaces/admin/components/Link.d.ts +1 -1
  149. package/src/surfaces/admin/components/ListItem.d.ts +1 -1
  150. package/src/surfaces/admin/components/Menu.d.ts +1 -1
  151. package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
  152. package/src/surfaces/admin/components/Modal.d.ts +1 -1
  153. package/src/surfaces/admin/components/MoneyField.d.ts +1 -3
  154. package/src/surfaces/admin/components/NumberField.d.ts +1 -3
  155. package/src/surfaces/admin/components/Option.d.ts +1 -1
  156. package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
  157. package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
  158. package/src/surfaces/admin/components/Page.d.ts +1 -1
  159. package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
  160. package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
  161. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
  162. package/src/surfaces/admin/components/SearchField.d.ts +1 -1
  163. package/src/surfaces/admin/components/Section.d.ts +1 -1
  164. package/src/surfaces/admin/components/Select.d.ts +1 -1
  165. package/src/surfaces/admin/components/Spinner.d.ts +1 -1
  166. package/src/surfaces/admin/components/Stack.d.ts +14 -1
  167. package/src/surfaces/admin/components/Switch.d.ts +1 -1
  168. package/src/surfaces/admin/components/Table.d.ts +3 -2
  169. package/src/surfaces/admin/components/TableBody.d.ts +1 -1
  170. package/src/surfaces/admin/components/TableCell.d.ts +1 -1
  171. package/src/surfaces/admin/components/TableHeader.d.ts +3 -2
  172. package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  173. package/src/surfaces/admin/components/TableRow.d.ts +1 -1
  174. package/src/surfaces/admin/components/Text.d.ts +1 -1
  175. package/src/surfaces/admin/components/TextArea.d.ts +1 -1
  176. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  177. package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
  178. package/src/surfaces/admin/components/Tooltip.d.ts +1 -1
  179. package/src/surfaces/admin/components/URLField.d.ts +1 -1
  180. package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
  181. package/src/surfaces/admin/components/patterns/examples/calloutCard.html +2 -2
  182. package/src/surfaces/admin/components/patterns/examples/details.html +5 -11
  183. package/src/surfaces/admin/components/patterns/examples/details.jsx +4 -13
  184. package/src/surfaces/admin/components/patterns/examples/emptyState.html +2 -2
  185. package/src/surfaces/admin/components/patterns/examples/homepage.html +5 -14
  186. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +7 -16
  187. package/src/surfaces/admin/components/patterns/examples/index.html +6 -12
  188. package/src/surfaces/admin/components/patterns/examples/index.jsx +6 -13
  189. package/src/surfaces/admin/components/patterns/examples/indexTable.html +4 -9
  190. package/src/surfaces/admin/components/patterns/examples/mediaCard.html +1 -1
  191. package/src/surfaces/admin/components/patterns/examples/settings.html +1 -2
  192. package/src/surfaces/admin/components/patterns/examples/settings.jsx +2 -6
  193. package/src/surfaces/admin/components/shared.d.ts +245 -222
  194. package/src/surfaces/admin/components.d.ts +293 -228
  195. package/src/surfaces/admin/docs-types.ts +8 -1
  196. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -2
  197. package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -29
  198. package/src/surfaces/customer-account/api/shared.ts +6 -6
  199. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +6 -6
  200. package/src/surfaces/customer-account/api.ts +1 -1
  201. package/src/surfaces/customer-account/preact/subscription.ts +3 -3
  202. package/src/surfaces/point-of-sale/components/Badge.d.ts +1 -1
  203. package/src/surfaces/point-of-sale/components/Box.d.ts +82 -8
  204. package/src/surfaces/point-of-sale/components/Icon.d.ts +111 -30
  205. package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +11 -0
  206. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
  207. package/src/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
  208. package/src/surfaces/point-of-sale/components/Stack.d.ts +82 -8
  209. package/src/surfaces/point-of-sale/components/Tile.d.ts +1 -38
  210. package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +12 -0
  211. package/src/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
  212. package/src/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
  213. package/src/surfaces/point-of-sale/components.d.ts +1041 -530
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -26,7 +26,8 @@ export type HeaderFormat = Extract<
26
26
  TableHeaderProps$1['format'],
27
27
  'base' | 'currency' | 'numeric'
28
28
  >;
29
- export interface TableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
29
+ export interface TableHeaderProps
30
+ extends Pick<TableHeaderProps$1, 'listSlot' | 'format'> {
30
31
  listSlot: Extract<
31
32
  TableHeaderProps$1['listSlot'],
32
33
  'primary' | 'secondary' | 'labeled' | 'kicker' | 'inline'
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -12,7 +12,8 @@ export type HeaderFormat = Extract<
12
12
  TableHeaderProps$1['format'],
13
13
  'base' | 'currency' | 'numeric'
14
14
  >;
15
- export interface TableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
15
+ export interface TableHeaderProps
16
+ extends Pick<TableHeaderProps$1, 'listSlot' | 'format'> {
16
17
  listSlot: Extract<
17
18
  TableHeaderProps$1['listSlot'],
18
19
  'primary' | 'secondary' | 'labeled' | 'kicker' | 'inline'
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.18.0 **/
1
+ /** VERSION: 1.19.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -10,10 +10,10 @@
10
10
  <s-paragraph>
11
11
  Start by uploading an image to your gallery or choose from one of our templates.
12
12
  </s-paragraph>
13
- <s-button-group>
13
+ <s-stack direction="inline" gap="small-200">
14
14
  <s-button> Upload image </s-button>
15
15
  <s-button tone="neutral" variant="tertiary"> Browse templates </s-button>
16
- </s-button-group>
16
+ </s-stack>
17
17
  </s-grid>
18
18
  <s-stack alignItems="center">
19
19
  <s-box maxInlineSize="200px" borderRadius="base" overflow="hidden">
@@ -11,16 +11,10 @@
11
11
  <!-- Details page pattern -->
12
12
  <!-- === -->
13
13
  <form data-save-bar>
14
- <s-page>
15
- <!-- === -->
16
- <!-- Title Bar -->
17
- <!-- Note: ui-title-bar requires AppBridge to render correctly -->
18
- <!-- === -->
19
- <ui-title-bar title="Mountain view">
20
- <button variant="breadcrumb" href="/app/puzzles">Puzzles</button>
21
- <button>Duplicate</button>
22
- <button tone="critical">Delete</button>
23
- </ui-title-bar>
14
+ <s-page heading="Mountain view">
15
+ <s-link slot="breadcrumb-actions" href="/app/puzzles">Puzzles</s-link>
16
+ <s-button slot="secondary-actions">Duplicate</s-button>
17
+ <s-button slot="secondary-actions">Delete</s-button>
24
18
  <!-- === -->
25
19
  <!-- Puzzle information -->
26
20
  <!-- === -->
@@ -83,7 +77,7 @@
83
77
  borderStyle="solid"
84
78
  overflow="hidden"
85
79
  >
86
- <s-table fullwidth border="base" borderRadius="base" borderStyle="solid">
80
+ <s-table border="base" borderRadius="base" borderStyle="solid">
87
81
  <s-table-header-row>
88
82
  <s-table-header listSlot="primary">Template</s-table-header>
89
83
  <s-table-header>
@@ -16,18 +16,10 @@ export default function DetailsPage() {
16
16
 
17
17
  return (
18
18
  <form data-save-bar onSubmit={handleFormSubmit} onReset={handleFormReset}>
19
- <s-page>
20
- {/* === */}
21
- {/* Title Bar */}
22
- {/* Note: ui-title-bar requires AppBridge to render correctly */}
23
- {/* === */}
24
- <ui-title-bar title="Mountain view">
25
- <button variant="breadcrumb" href="/app/puzzles">
26
- Puzzles
27
- </button>
28
- <button>Duplicate</button>
29
- <button tone="critical">Delete</button>
30
- </ui-title-bar>
19
+ <s-page heading="Mountain view">
20
+ <s-link slot="breadcrumb-actions" href="/app/puzzles">Puzzles</s-link>
21
+ <s-button slot="secondary-actions">Duplicate</s-button>
22
+ <s-button slot="secondary-actions">Delete</s-button>
31
23
  {/* === */}
32
24
  {/* Puzzle information */}
33
25
  {/* === */}
@@ -96,7 +88,6 @@ export default function DetailsPage() {
96
88
  overflow="hidden"
97
89
  >
98
90
  <s-table
99
- fullwidth
100
91
  border="base"
101
92
  borderRadius="base"
102
93
  borderStyle="solid"
@@ -19,8 +19,8 @@
19
19
  </s-paragraph>
20
20
  </s-stack>
21
21
  <s-button-group>
22
- <s-button aria-label="Learn more about creating puzzles"> Learn more </s-button>
23
- <s-button variant="primary" aria-label="Add a new puzzle"> Create puzzle </s-button>
22
+ <s-button slot="secondary-actions" aria-label="Learn more about creating puzzles"> Learn more </s-button>
23
+ <s-button slot="primary-action" aria-label="Add a new puzzle"> Create puzzle </s-button>
24
24
  </s-button-group>
25
25
  </s-grid>
26
26
  </s-grid>
@@ -63,18 +63,9 @@
63
63
  <!-- Home page pattern -->
64
64
  <!-- === -->
65
65
  <s-page>
66
- <!-- === -->
67
- <!-- Title Bar -->
68
- <!-- The ui-title-bar on the homepage should not have a title attribute -->
69
- <!-- Note: ui-title-bar requires AppBridge to render correctly -->
70
- <!-- === -->
71
- <ui-title-bar>
72
- <button variant="primary">Create puzzle</button>
73
- <section>
74
- <button>Browse templates</button>
75
- <button>Import image</button>
76
- </section>
77
- </ui-title-bar>
66
+ <s-button slot="primary-action">Create puzzle</s-button>
67
+ <s-button slot="secondary-actions">Browse templates</s-button>
68
+ <s-button slot="secondary-actions">Import image</s-button>
78
69
  <!-- === -->
79
70
  <!-- Banner -->
80
71
  <!-- Use banners sparingly. Only one banner should be visible at a time. -->
@@ -317,10 +308,10 @@
317
308
  <s-paragraph>
318
309
  Start by uploading an image to your gallery or choose from one of our templates.
319
310
  </s-paragraph>
320
- <s-button-group>
311
+ <s-stack direction="inline" gap="small-200">
321
312
  <s-button> Upload image </s-button>
322
313
  <s-button tone="neutral" variant="tertiary"> Browse templates </s-button>
323
- </s-button-group>
314
+ </s-stack>
324
315
  </s-grid>
325
316
  <s-box maxInlineSize="200px" borderRadius="base" overflow="hidden">
326
317
  <s-image
@@ -20,18 +20,9 @@ export default function HomePage() {
20
20
  const [progress, setProgress] = useState(0);
21
21
  return (
22
22
  <s-page>
23
- {/* === */}
24
- {/* Title Bar */}
25
- {/* The ui-title-bar on the homepage should not have a title attribute */}
26
- {/* Note: ui-title-bar requires AppBridge to render correctly */}
27
- {/* === */}
28
- <ui-title-bar>
29
- <button variant="primary">Create puzzle</button>
30
- <section>
31
- <button>Browse templates</button>
32
- <button>Import image</button>
33
- </section>
34
- </ui-title-bar>
23
+ <s-button slot="primary-action">Create puzzle</s-button>
24
+ <s-button slot="secondary-actions">Browse templates</s-button>
25
+ <s-button slot="secondary-actions">Import image</s-button>
35
26
 
36
27
  {/* === */}
37
28
  {/* Banner */}
@@ -355,10 +346,10 @@ export default function HomePage() {
355
346
  Start by uploading an image to your gallery or choose from one
356
347
  of our templates.
357
348
  </s-paragraph>
358
- <s-button-group>
359
- <s-button> Upload image </s-button>
360
- <s-button tone="neutral" variant="tertiary"> Browse templates </s-button>
361
- </s-button-group>
349
+ <s-stack direction="inline" gap="small-200">
350
+ <s-button> Upload image </s-button>
351
+ <s-button tone="neutral" variant="tertiary"> Browse templates </s-button>
352
+ </s-stack>
362
353
  </s-grid>
363
354
  <s-stack alignItems="center">
364
355
  <s-box
@@ -10,16 +10,10 @@
10
10
  <!-- === -->
11
11
  <!-- Index page pattern -->
12
12
  <!-- === -->
13
- <s-page>
14
- <!-- === -->
15
- <!-- Title Bar -->
16
- <!-- Note: ui-title-bar requires AppBridge to render correctly -->
17
- <!-- === -->
18
- <ui-title-bar title="Puzzles">
19
- <button variant="primary">Create puzzle</button>
20
- <button>Export puzzles</button>
21
- <button>Import puzzles</button>
22
- </ui-title-bar>
13
+ <s-page heading="Puzzles">
14
+ <s-button slot="primary-action" variant="primary">Create puzzle</s-button>
15
+ <s-button slot="secondary-actions" variant="secondary">Export puzzles</s-button>
16
+ <s-button slot="secondary-actions" variant="secondary">Import puzzles</s-button>
23
17
  <!-- === -->
24
18
  <!-- Empty state -->
25
19
  <!-- This should only be visible if the merchant has not created any puzzles yet. -->
@@ -43,8 +37,8 @@
43
37
  </s-paragraph>
44
38
  </s-stack>
45
39
  <s-button-group>
46
- <s-button aria-label="Learn more about creating puzzles"> Learn more </s-button>
47
- <s-button variant="primary" aria-label="Add a new puzzle"> Create puzzle </s-button>
40
+ <s-button slot="secondary-actions" aria-label="Learn more about creating puzzles"> Learn more </s-button>
41
+ <s-button slot="primary-action" aria-label="Add a new puzzle"> Create puzzle </s-button>
48
42
  </s-button-group>
49
43
  </s-grid>
50
44
  </s-grid>
@@ -4,17 +4,10 @@
4
4
 
5
5
  export default function IndexPage() {
6
6
  return (
7
- <s-page>
8
- {/* === */}
9
- {/* Title Bar */}
10
- {/* Note: ui-title-bar requires AppBridge to render correctly */}
11
- {/* === */}
12
- <ui-title-bar title="Puzzles">
13
- <button variant="primary">Create puzzle</button>
14
- <button>Export puzzles</button>
15
- <button>Import puzzles</button>
16
- </ui-title-bar>
17
-
7
+ <s-page heading="Puzzles">
8
+ <s-button slot="primary-action" variant="primary">Create puzzle</s-button>
9
+ <s-button slot="secondary-actions" variant="secondary">Export puzzles</s-button>
10
+ <s-button slot="secondary-actions" variant="secondary">Import puzzles</s-button>
18
11
  {/* === */}
19
12
  {/* Empty state */}
20
13
  {/* This should only be visible if the merchant has not created any puzzles yet. */}
@@ -40,8 +33,8 @@ export default function IndexPage() {
40
33
  </s-paragraph>
41
34
  </s-stack>
42
35
  <s-button-group>
43
- <s-button aria-label="Learn more about creating puzzles"> Learn more </s-button>
44
- <s-button variant="primary" aria-label="Add a new puzzle"> Create puzzle </s-button>
36
+ <s-button slot="secondary-actions" aria-label="Learn more about creating puzzles"> Learn more </s-button>
37
+ <s-button slot="primary-action" aria-label="Add a new puzzle"> Create puzzle </s-button>
45
38
  </s-button-group>
46
39
  </s-grid>
47
40
  </s-grid>
@@ -35,18 +35,13 @@
35
35
  </s-popover>
36
36
  </s-grid>
37
37
  <s-table-header-row>
38
- <s-table-header listSlot="primary">
39
- <s-stack direction="inline" gap="small-200" alignItems="center">
40
- <s-checkbox accessibilityLabel="Select all puzzles"></s-checkbox>
41
- <s-text>Puzzle</s-text>
42
- </s-stack>
43
- </s-table-header>
38
+ <s-table-header listSlot="primary">Puzzle</s-table-header>
44
39
  <s-table-header format="numeric">Pieces</s-table-header>
45
40
  <s-table-header>Created</s-table-header>
46
41
  <s-table-header listSlot="secondary">Status</s-table-header>
47
42
  </s-table-header-row>
48
43
  <s-table-body>
49
- <s-table-row clickdelegate="mountain-view-checkbox">
44
+ <s-table-row clickDelegate="mountain-view-checkbox">
50
45
  <s-table-cell>
51
46
  <s-stack direction="inline" gap="small" alignItems="center">
52
47
  <s-checkbox id="mountain-view-checkbox"></s-checkbox>
@@ -73,7 +68,7 @@
73
68
  <s-badge color="base" tone="success">Active</s-badge>
74
69
  </s-table-cell>
75
70
  </s-table-row>
76
- <s-table-row clickdelegate="ocean-sunset-checkbox">
71
+ <s-table-row clickDelegate="ocean-sunset-checkbox">
77
72
  <s-table-cell>
78
73
  <s-stack direction="inline" gap="small" alignItems="center">
79
74
  <s-checkbox id="ocean-sunset-checkbox"></s-checkbox>
@@ -100,7 +95,7 @@
100
95
  <s-badge color="base" tone="success">Active</s-badge>
101
96
  </s-table-cell>
102
97
  </s-table-row>
103
- <s-table-row clickdelegate="forest-animals-checkbox">
98
+ <s-table-row clickDelegate="forest-animals-checkbox">
104
99
  <s-table-cell>
105
100
  <s-stack direction="inline" gap="small" alignItems="center">
106
101
  <s-checkbox id="forest-animals-checkbox"></s-checkbox>
@@ -1,4 +1,4 @@
1
- <s-box border="base" borderRadius="base" overflow="hidden" maxInlineSize="320px">
1
+ <s-box border="base" borderRadius="base" overflow="hidden" maxInlineSize="216px">
2
2
  <s-clickable href="" accessibilityLabel="4-pieces puzzle template">
3
3
  <s-image
4
4
  aspectRatio="1/1"
@@ -11,8 +11,7 @@
11
11
  <!-- Settings page pattern -->
12
12
  <!-- === -->
13
13
  <form data-save-bar onSubmit="" onReset="">
14
- <s-page inlineSize="small">
15
- <ui-title-bar title="Settings"></ui-title-bar>
14
+ <s-page heading="Settings" inlineSize="small">
16
15
  <!-- === -->
17
16
  <!-- Store Information -->
18
17
  <!-- === -->
@@ -16,9 +16,7 @@ export default function SettingsPage() {
16
16
 
17
17
  return (
18
18
  <form data-save-bar onSubmit={handleFormSubmit} onReset={handleFormReset}>
19
- <s-page inlineSize="small">
20
- <ui-title-bar title="Settings"></ui-title-bar>
21
-
19
+ <s-page heading="Settings" inlineSize="small">
22
20
  {/* === */}
23
21
  {/* Store Information */}
24
22
  {/* === */}
@@ -42,9 +40,7 @@ export default function SettingsPage() {
42
40
  placeholder="Enter phone number"
43
41
  />
44
42
  <s-choice-list label="Primary currency" name="currency">
45
- <s-choice value="usd" selected>
46
- US Dollar ($)
47
- </s-choice>
43
+ <s-choice value="usd" selected>US Dollar ($)</s-choice>
48
44
  <s-choice value="cad">Canadian Dollar (CAD)</s-choice>
49
45
  <s-choice value="eur">Euro (€)</s-choice>
50
46
  </s-choice-list>