@shopify/ui-extensions 2025.10.0-rc.38 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/ui-extensions",
3
- "version": "2025.10.0-rc.38",
3
+ "version": "2025.10.0-rc.39",
4
4
  "scripts": {
5
5
  "docs:admin": "node ./docs/surfaces/admin/build-docs.mjs",
6
6
  "docs:checkout": "bash ./docs/surfaces/checkout/build-docs.sh",
@@ -127,7 +127,7 @@
127
127
  ],
128
128
  "devDependencies": {
129
129
  "@remote-ui/async-subscription": "^2.1.16",
130
- "@shopify/generate-docs": "0.17.1",
130
+ "@shopify/generate-docs": "0.19.3",
131
131
  "typescript": "^4.9.0",
132
132
  "@faker-js/faker": "^8.4.1"
133
133
  },
@@ -1,4 +1,4 @@
1
1
  <s-button-group>
2
- <s-button>Cancel</s-button>
3
- <s-button variant="primary">Save</s-button>
2
+ <s-button slot="primary-action">Save</s-button>
3
+ <s-button slot="secondary-actions">Cancel</s-button>
4
4
  </s-button-group>
@@ -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">
@@ -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>
@@ -308,10 +308,10 @@
308
308
  <s-paragraph>
309
309
  Start by uploading an image to your gallery or choose from one of our templates.
310
310
  </s-paragraph>
311
- <s-button-group>
311
+ <s-stack direction="inline" gap="small-200">
312
312
  <s-button> Upload image </s-button>
313
313
  <s-button tone="neutral" variant="tertiary"> Browse templates </s-button>
314
- </s-button-group>
314
+ </s-stack>
315
315
  </s-grid>
316
316
  <s-box maxInlineSize="200px" borderRadius="base" overflow="hidden">
317
317
  <s-image
@@ -346,10 +346,10 @@ export default function HomePage() {
346
346
  Start by uploading an image to your gallery or choose from one
347
347
  of our templates.
348
348
  </s-paragraph>
349
- <s-button-group>
350
- <s-button> Upload image </s-button>
351
- <s-button tone="neutral" variant="tertiary"> Browse templates </s-button>
352
- </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>
353
353
  </s-grid>
354
354
  <s-stack alignItems="center">
355
355
  <s-box
@@ -37,8 +37,8 @@
37
37
  </s-paragraph>
38
38
  </s-stack>
39
39
  <s-button-group>
40
- <s-button aria-label="Learn more about creating puzzles"> Learn more </s-button>
41
- <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>
42
42
  </s-button-group>
43
43
  </s-grid>
44
44
  </s-grid>
@@ -33,8 +33,8 @@ export default function IndexPage() {
33
33
  </s-paragraph>
34
34
  </s-stack>
35
35
  <s-button-group>
36
- <s-button aria-label="Learn more about creating puzzles"> Learn more </s-button>
37
- <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>
38
38
  </s-button-group>
39
39
  </s-grid>
40
40
  </s-grid>