@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/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/admin/components/Page/examples/page-with-breadcrumbs-and-title.html +7 -0
- package/src/surfaces/admin/components/Page/examples/page-with-breadcrumbs-and-title.jsx +7 -0
- package/src/surfaces/admin/components/Page/examples/page-with-secondary-actions.html +8 -0
- package/src/surfaces/admin/components/Page/examples/page-with-secondary-actions.jsx +8 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +2 -0
- package/src/surfaces/point-of-sale/api.ts +1 -0
package/package.json
CHANGED
|
@@ -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>
|
|
@@ -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 &
|