@shopify/ui-extensions 2025.10.7 → 2025.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/ui-extensions",
3
- "version": "2025.10.7",
3
+ "version": "2025.10.8",
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",
@@ -0,0 +1,7 @@
1
+ <s-page heading="Edit Product" inline-size="base">
2
+ <s-link slot="breadcrumb-actions" href="/products">Products</s-link>
3
+ <s-link slot="breadcrumb-actions" href="/products/123">Acme Widget</s-link>
4
+ <s-section>
5
+ <s-text>Update your product information and settings.</s-text>
6
+ </s-section>
7
+ </s-page>
@@ -0,0 +1,7 @@
1
+ <s-page heading="Edit Product" inlineSize="base">
2
+ <s-link slot="breadcrumb-actions" href="/products">Products</s-link>
3
+ <s-link slot="breadcrumb-actions" href="/products/123">Acme Widget</s-link>
4
+ <s-section>
5
+ <s-text>Update your product information and settings.</s-text>
6
+ </s-section>
7
+ </s-page>
@@ -0,0 +1,8 @@
1
+ <s-page heading="Products" inline-size="base">
2
+ <s-button slot="secondary-actions">Preview</s-button>
3
+ <s-button slot="secondary-actions">Duplicate</s-button>
4
+ <s-button slot="primary-action" variant="primary">Save</s-button>
5
+ <s-section>
6
+ <s-text>Manage your products and organize your catalog.</s-text>
7
+ </s-section>
8
+ </s-page>
@@ -0,0 +1,8 @@
1
+ <s-page heading="Products" inlineSize="base">
2
+ <s-button slot="secondary-actions">Preview</s-button>
3
+ <s-button slot="secondary-actions">Duplicate</s-button>
4
+ <s-button slot="primary-action" variant="primary">Save</s-button>
5
+ <s-section>
6
+ <s-text>Manage your products and organize your catalog.</s-text>
7
+ </s-section>
8
+ </s-page>
@@ -35,3 +35,10 @@ export interface Navigation {
35
35
  */
36
36
  back(): void;
37
37
  }
38
+
39
+ export interface Window {
40
+ /**
41
+ * The close() method of the window interface closes the extension screen.
42
+ */
43
+ close(): void;
44
+ }
@@ -7,9 +7,11 @@ import {ProductSearchApi} from '../product-search-api/product-search-api';
7
7
  import {PrintApi} from '../print-api/print-api';
8
8
  import {StorageApi} from '../storage-api/storage-api';
9
9
  import {PinPadApi} from '../pin-pad-api';
10
+ import type {I18n} from '../../../../api';
10
11
 
11
12
  export type StandardApi<T> = {[key: string]: any} & {
12
13
  extensionPoint: T;
14
+ i18n: I18n;
13
15
  } & LocaleApi &
14
16
  ToastApi &
15
17
  SessionApi &
@@ -76,6 +76,7 @@ export type {
76
76
  CartUpdateInput,
77
77
  Customer,
78
78
  LineItem,
79
+ LineItemComponent,
79
80
  Discount,
80
81
  SetLineItemPropertiesInput,
81
82
  SetLineItemDiscountInput,