@shopify/ui-extensions 2025.10.0-rc.29 → 2025.10.0-rc.30

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 (24) hide show
  1. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +1 -1
  2. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
  3. package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
  4. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  5. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +1 -1
  6. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
  7. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
  8. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  9. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +4 -0
  10. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +4 -0
  11. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +4 -0
  12. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +4 -0
  13. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +4 -0
  14. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +4 -0
  15. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +4 -0
  16. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +4 -0
  17. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
  18. package/build/tsconfig.tsbuildinfo +1 -1
  19. package/package.json +1 -1
  20. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +3 -1
  21. package/src/surfaces/point-of-sale/api.ts +2 -0
  22. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +6 -0
  23. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +1 -0
  24. package/src/surfaces/point-of-sale/types/pin-pad.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/ui-extensions",
3
- "version": "2025.10.0-rc.29",
3
+ "version": "2025.10.0-rc.30",
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",
@@ -8,7 +8,9 @@ export interface PinPadApiContent {
8
8
  * @param options the options for the pin pad
9
9
  */
10
10
  showPinPad(
11
- onSubmit: (pin: number[]) => Promise<PinValidationResult>,
11
+ onSubmit: (
12
+ pin: number[],
13
+ ) => Promise<PinValidationResult> | PinValidationResult,
12
14
  options?: PinPadOptions,
13
15
  ): void;
14
16
  }
@@ -88,6 +88,8 @@ export type {
88
88
  CustomSale,
89
89
  Address,
90
90
  SellingPlan,
91
+ SellingPlanDeliveryInterval,
92
+ SetLineItemSellingPlanInput,
91
93
  } from './types/cart';
92
94
 
93
95
  export type {OrderLineItem, LineItemRefund} from './types/order';
@@ -2,11 +2,17 @@ export type BlockExtensionComponents =
2
2
  | 'Badge'
3
3
  | 'Button'
4
4
  | 'DatePicker'
5
+ | 'DateSpinner'
5
6
  | 'Dialog'
7
+ | 'Heading'
6
8
  | 'Icon'
7
9
  | 'Image'
10
+ | 'Modal'
8
11
  | 'POSBlock'
12
+ | 'PosBlock' // Case is important in 2025-10
9
13
  | 'POSBlockRow'
14
+ | 'PrintPreview'
15
+ | 'Section'
10
16
  | 'Stack'
11
17
  | 'Text'
12
18
  | 'TimePicker';
@@ -18,6 +18,7 @@ export type StandardComponents =
18
18
  | 'NumberField'
19
19
  | 'Page'
20
20
  | 'POSBlock'
21
+ | 'PosBlock' // Case is important in 2025-10
21
22
  | 'QRCode'
22
23
  | 'Route'
23
24
  | 'Router'
@@ -23,6 +23,10 @@ export interface PinPadActionType {
23
23
  }
24
24
 
25
25
  export interface PinPadOptions {
26
+ /**
27
+ * The function to be called when a pin is entered
28
+ */
29
+ onPinEntry?: (pin: number[]) => void;
26
30
  /**
27
31
  * The function to be called when the pin pad modal is dismissed
28
32
  */