@shopify/ui-extensions 2026.7.2 → 2026.7.4
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/extension-targets.d.ts +0 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -13
- package/src/surfaces/admin/extension-targets.ts +1 -17
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +0 -6
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/ui-extensions",
|
|
3
|
-
"version": "2026.7.
|
|
3
|
+
"version": "2026.7.4",
|
|
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",
|
|
7
|
+
"package:publint": "publint --pack npm",
|
|
8
|
+
"package:attw": "attw --pack . --ignore-rules false-cjs",
|
|
7
9
|
"docs:point-of-sale": "node ./docs/surfaces/point-of-sale/build-docs.mjs",
|
|
8
10
|
"docs:customer-account": "node ./docs/surfaces/customer-account/build-docs.mjs"
|
|
9
11
|
},
|
|
@@ -45,6 +47,9 @@
|
|
|
45
47
|
],
|
|
46
48
|
"pos.*": [
|
|
47
49
|
"./build/ts/surfaces/point-of-sale/targets/pos.*.d.ts"
|
|
50
|
+
],
|
|
51
|
+
"preact": [
|
|
52
|
+
"./build/ts/preact.d.ts"
|
|
48
53
|
]
|
|
49
54
|
}
|
|
50
55
|
},
|
|
@@ -106,12 +111,6 @@
|
|
|
106
111
|
"./pos.*": {
|
|
107
112
|
"default": "./build/ts/surfaces/point-of-sale/targets/pos.*.d.ts"
|
|
108
113
|
},
|
|
109
|
-
"./point-of-sale/preact": {
|
|
110
|
-
"types": "./build/ts/surfaces/point-of-sale/preact.d.ts",
|
|
111
|
-
"esnext": "./build/esnext/surfaces/point-of-sale/preact.esnext",
|
|
112
|
-
"import": "./build/esm/surfaces/point-of-sale/preact.mjs",
|
|
113
|
-
"require": "./build/cjs/surfaces/point-of-sale/preact.js"
|
|
114
|
-
},
|
|
115
114
|
"./preact": {
|
|
116
115
|
"types": "./build/ts/preact.d.ts",
|
|
117
116
|
"esnext": "./build/esnext/preact.esnext",
|
|
@@ -126,17 +125,19 @@
|
|
|
126
125
|
"./build/cjs/preact.js"
|
|
127
126
|
],
|
|
128
127
|
"devDependencies": {
|
|
128
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
129
|
+
"@faker-js/faker": "^8.4.1",
|
|
130
|
+
"@preact/signals": "^2.3.x",
|
|
131
|
+
"@quilted/react-testing": "^0.6.11",
|
|
129
132
|
"@remote-ui/async-subscription": "^2.1.16",
|
|
130
133
|
"@shopify/generate-docs": "1.2.2",
|
|
131
|
-
"@quilted/react-testing": "^0.6.11",
|
|
132
|
-
"typescript": "^4.9.0",
|
|
133
|
-
"@faker-js/faker": "^8.4.1",
|
|
134
134
|
"preact": "^10.10.x",
|
|
135
|
-
"
|
|
135
|
+
"publint": "^0.3.23",
|
|
136
|
+
"typescript": "^4.9.0"
|
|
136
137
|
},
|
|
137
138
|
"peerDependencies": {
|
|
138
|
-
"preact": "*",
|
|
139
|
-
"
|
|
139
|
+
"@preact/signals": "*",
|
|
140
|
+
"preact": "*"
|
|
140
141
|
},
|
|
141
142
|
"peerDependenciesMeta": {
|
|
142
143
|
"preact": {
|
|
@@ -643,7 +643,7 @@ export interface ExtensionTargets {
|
|
|
643
643
|
ShouldRenderOutput
|
|
644
644
|
>;
|
|
645
645
|
|
|
646
|
-
// Admin print action
|
|
646
|
+
// Admin print action shouldRender targets
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* A non-rendering target that controls whether the order details print action appears in the **Print** menu. Use this to conditionally show or hide your print action based on order properties, user permissions, or external data.
|
|
@@ -661,22 +661,6 @@ export interface ExtensionTargets {
|
|
|
661
661
|
ShouldRenderOutput
|
|
662
662
|
>;
|
|
663
663
|
|
|
664
|
-
/**
|
|
665
|
-
* A non-rendering target that controls whether the order index selection print action appears in the **Print** menu. Use this to conditionally show or hide your bulk print action based on selection criteria, user permissions, or external data.
|
|
666
|
-
*/
|
|
667
|
-
'admin.order-index.selection-print-action.should-render': RunnableExtension<
|
|
668
|
-
ShouldRenderApi<'admin.order-index.selection-print-action.should-render'>,
|
|
669
|
-
ShouldRenderOutput
|
|
670
|
-
>;
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* A non-rendering target that controls whether the product index selection print action appears in the **Print** menu. Use this to conditionally show or hide your bulk print action based on selection criteria, user permissions, or external data.
|
|
674
|
-
*/
|
|
675
|
-
'admin.product-index.selection-print-action.should-render': RunnableExtension<
|
|
676
|
-
ShouldRenderApi<'admin.product-index.selection-print-action.should-render'>,
|
|
677
|
-
ShouldRenderOutput
|
|
678
|
-
>;
|
|
679
|
-
|
|
680
664
|
/**
|
|
681
665
|
* A runnable target that enables your app to expose data to [Sidekick](/docs/apps/build/sidekick/build-app-data). Use this target to register tools that Sidekick can invoke to search your app's data and answer merchant questions.
|
|
682
666
|
*/
|