@shopify/ui-extensions 2026.7.0-rc.7 → 2026.7.0
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/cjs/surfaces/checkout/preact/buyer-journey.js +3 -0
- package/build/cjs/surfaces/point-of-sale/events.js +1 -1
- package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +3 -0
- package/build/esm/surfaces/point-of-sale/events.mjs +1 -1
- package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +3 -0
- package/build/esnext/surfaces/point-of-sale/events.esnext +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +21 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +11 -4
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +7 -7
- package/build/ts/surfaces/admin/components/Grid.d.ts +12 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +7 -7
- package/build/ts/surfaces/admin/components/Image.d.ts +7 -7
- package/build/ts/surfaces/admin/components/Stack.d.ts +11 -11
- package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +5 -0
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Chat.d.ts +101 -3
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Chat.d.ts +101 -3
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +5 -2
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/docs.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/docs.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/printing-api/printing-api.d.ts +100 -0
- package/build/ts/surfaces/point-of-sale/api/printing-api/printing-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +2 -1
- 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 +3 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -18
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +1 -3
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/events/cash-tracking-session-events.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/events/cash-tracking-session-events.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/events/transaction-complete-event.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/events.d.ts +7 -1
- package/build/ts/surfaces/point-of-sale/events.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +17 -49
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.register-details.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +0 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +2 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +22 -0
- package/src/surfaces/admin/api/intents/intents.ts +11 -3
- package/src/surfaces/admin/components/Badge.d.ts +1 -1
- package/src/surfaces/admin/components/Button.d.ts +1 -1
- package/src/surfaces/admin/components/Clickable.d.ts +7 -7
- package/src/surfaces/admin/components/Grid.d.ts +12 -12
- package/src/surfaces/admin/components/GridItem.d.ts +7 -7
- package/src/surfaces/admin/components/Image.d.ts +7 -7
- package/src/surfaces/admin/components/Stack.d.ts +11 -11
- package/src/surfaces/admin/components/TextField.d.ts +1 -1
- package/src/surfaces/admin/components.d.ts +22 -22
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +5 -0
- package/src/surfaces/checkout/api/standard/standard.ts +3 -3
- package/src/surfaces/checkout/components/Chat.d.ts +101 -3
- package/src/surfaces/checkout/preact/buyer-journey.ts +3 -0
- package/src/surfaces/checkout/preact/shipping-option-target.ts +3 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +9 -1
- package/src/surfaces/point-of-sale/api/docs.ts +11 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/printing-api/printing-api.ts +105 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +4 -0
- package/src/surfaces/point-of-sale/api.ts +10 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -1
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +0 -2
- package/src/surfaces/point-of-sale/components.d.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +2 -1
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +2 -1
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +2 -1
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +2 -1
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -22
- package/src/surfaces/point-of-sale/event/data.ts +1 -11
- package/src/surfaces/point-of-sale/events/cash-tracking-session-events.ts +1 -1
- package/src/surfaces/point-of-sale/events/transaction-complete-event.ts +1 -1
- package/src/surfaces/point-of-sale/events.ts +7 -1
- package/src/surfaces/point-of-sale/extension-targets.ts +16 -68
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +2 -1
- package/src/surfaces/point-of-sale/types/cart.ts +15 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +0 -16
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +0 -51
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +0 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +0 -8
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +0 -8
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +0 -8
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +0 -8
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +0 -16
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +0 -52
|
@@ -5413,7 +5413,7 @@ export interface BoxProps
|
|
|
5413
5413
|
*
|
|
5414
5414
|
* **Examples:** `base`, `large none`, `base large-100 base small`
|
|
5415
5415
|
*
|
|
5416
|
-
* Use `auto` to inherit padding from the nearest container with removed padding. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5416
|
+
* Use `auto` to inherit padding from the nearest container with removed padding. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5417
5417
|
*
|
|
5418
5418
|
* @default 'none'
|
|
5419
5419
|
*/
|
|
@@ -5425,7 +5425,7 @@ export interface BoxProps
|
|
|
5425
5425
|
*
|
|
5426
5426
|
* **Example:** `large none` applies `large` to the top and `none` to the bottom.
|
|
5427
5427
|
*
|
|
5428
|
-
* Overrides the block value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5428
|
+
* Overrides the block value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5429
5429
|
*
|
|
5430
5430
|
* @default '' - meaning no override
|
|
5431
5431
|
*/
|
|
@@ -5433,7 +5433,7 @@ export interface BoxProps
|
|
|
5433
5433
|
/**
|
|
5434
5434
|
* The block-start padding (top in horizontal writing modes).
|
|
5435
5435
|
*
|
|
5436
|
-
* Overrides the block-start value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5436
|
+
* Overrides the block-start value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5437
5437
|
*
|
|
5438
5438
|
* @default '' - meaning no override
|
|
5439
5439
|
*/
|
|
@@ -5441,7 +5441,7 @@ export interface BoxProps
|
|
|
5441
5441
|
/**
|
|
5442
5442
|
* The block-end padding (bottom in horizontal writing modes).
|
|
5443
5443
|
*
|
|
5444
|
-
* Overrides the block-end value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5444
|
+
* Overrides the block-end value from `paddingBlock`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5445
5445
|
*
|
|
5446
5446
|
* @default '' - meaning no override
|
|
5447
5447
|
*/
|
|
@@ -5453,7 +5453,7 @@ export interface BoxProps
|
|
|
5453
5453
|
*
|
|
5454
5454
|
* **Example:** `large none` applies `large` to the left and `none` to the right.
|
|
5455
5455
|
*
|
|
5456
|
-
* Overrides the inline value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5456
|
+
* Overrides the inline value from `padding`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5457
5457
|
*
|
|
5458
5458
|
* @default '' - meaning no override
|
|
5459
5459
|
*/
|
|
@@ -5461,7 +5461,7 @@ export interface BoxProps
|
|
|
5461
5461
|
/**
|
|
5462
5462
|
* The inline-start padding (left in LTR writing modes, right in RTL).
|
|
5463
5463
|
*
|
|
5464
|
-
* Overrides the inline-start value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5464
|
+
* Overrides the inline-start value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5465
5465
|
*
|
|
5466
5466
|
* @default '' - meaning no override
|
|
5467
5467
|
*/
|
|
@@ -5469,7 +5469,7 @@ export interface BoxProps
|
|
|
5469
5469
|
/**
|
|
5470
5470
|
* The inline-end padding (right in LTR writing modes, left in RTL).
|
|
5471
5471
|
*
|
|
5472
|
-
* Overrides the inline-end value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5472
|
+
* Overrides the inline-end value from `paddingInline`. Also accepts a [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported `PaddingKeyword` as a query value.
|
|
5473
5473
|
*
|
|
5474
5474
|
* @default '' - meaning no override
|
|
5475
5475
|
*/
|
|
@@ -6871,9 +6871,9 @@ export interface GridProps
|
|
|
6871
6871
|
* Adjusts spacing between elements.
|
|
6872
6872
|
*
|
|
6873
6873
|
* Accepts:
|
|
6874
|
-
* - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value applied to both axes, such as `large-100`
|
|
6874
|
+
* - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value applied to both axes, such as `large-100`
|
|
6875
6875
|
* - A pair of values, such as `large-100 large-500`, to set the inline and block axes respectively
|
|
6876
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
6876
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
6877
6877
|
*
|
|
6878
6878
|
* @default 'none'
|
|
6879
6879
|
*/
|
|
@@ -6882,8 +6882,8 @@ export interface GridProps
|
|
|
6882
6882
|
* s spacing between elements in the block axis. This overrides the row value of `gap`.
|
|
6883
6883
|
*
|
|
6884
6884
|
* Accepts:
|
|
6885
|
-
* - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
|
|
6886
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
6885
|
+
* - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
|
|
6886
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
6887
6887
|
*
|
|
6888
6888
|
* @default '' - meaning no override
|
|
6889
6889
|
*/
|
|
@@ -6892,8 +6892,8 @@ export interface GridProps
|
|
|
6892
6892
|
* Adjusts spacing between elements in the inline axis. This overrides the column value of `gap`.
|
|
6893
6893
|
*
|
|
6894
6894
|
* Accepts:
|
|
6895
|
-
* - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
|
|
6896
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
6895
|
+
* - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
|
|
6896
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
6897
6897
|
*
|
|
6898
6898
|
* @default '' - meaning no override
|
|
6899
6899
|
*/
|
|
@@ -6903,7 +6903,7 @@ export interface GridProps
|
|
|
6903
6903
|
*
|
|
6904
6904
|
* Accepts:
|
|
6905
6905
|
* - [Track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes), such as `1fr auto`
|
|
6906
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported track sizing values as a query value
|
|
6906
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported track sizing values as a query value
|
|
6907
6907
|
*
|
|
6908
6908
|
* @default 'none'
|
|
6909
6909
|
*/
|
|
@@ -6913,7 +6913,7 @@ export interface GridProps
|
|
|
6913
6913
|
*
|
|
6914
6914
|
* Accepts:
|
|
6915
6915
|
* - [Track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes), such as `1fr auto`
|
|
6916
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported track sizing values as a query value
|
|
6916
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported track sizing values as a query value
|
|
6917
6917
|
*
|
|
6918
6918
|
* @default 'none'
|
|
6919
6919
|
*/
|
|
@@ -8388,9 +8388,9 @@ export interface StackProps
|
|
|
8388
8388
|
* Adjusts spacing between elements.
|
|
8389
8389
|
*
|
|
8390
8390
|
* Accepts:
|
|
8391
|
-
* - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value applied to both axes, such as `large-100`
|
|
8391
|
+
* - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value applied to both axes, such as `large-100`
|
|
8392
8392
|
* - A pair of values, such as `large-100 large-500`, to set the inline and block axes respectively
|
|
8393
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
8393
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
8394
8394
|
*
|
|
8395
8395
|
* @default 'none'
|
|
8396
8396
|
*/
|
|
@@ -8399,8 +8399,8 @@ export interface StackProps
|
|
|
8399
8399
|
* Adjusts spacing between elements in the block axis. This overrides the row value of `gap`.
|
|
8400
8400
|
*
|
|
8401
8401
|
* Accepts:
|
|
8402
|
-
* - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
|
|
8403
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
8402
|
+
* - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
|
|
8403
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
8404
8404
|
*
|
|
8405
8405
|
* @default '' - meaning no override
|
|
8406
8406
|
*/
|
|
@@ -8409,8 +8409,8 @@ export interface StackProps
|
|
|
8409
8409
|
* Adjusts spacing between elements in the inline axis. This overrides the column value of `gap`.
|
|
8410
8410
|
*
|
|
8411
8411
|
* Accepts:
|
|
8412
|
-
* - A single [`SpacingKeyword`](/docs/api/polaris/using-web-components#scale) value, such as `large-100`
|
|
8413
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
8412
|
+
* - A single [`SpacingKeyword`](/docs/api/polaris/using-polaris-web-components#scale) value, such as `large-100`
|
|
8413
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported SpacingKeyword as a query value
|
|
8414
8414
|
*
|
|
8415
8415
|
* @default '' - meaning no override
|
|
8416
8416
|
*/
|
|
@@ -8420,7 +8420,7 @@ export interface StackProps
|
|
|
8420
8420
|
*
|
|
8421
8421
|
* Accepts:
|
|
8422
8422
|
* - A single value, either `inline` or `block`
|
|
8423
|
-
* - A [responsive value](/docs/api/polaris/using-web-components#responsive-values) string with the supported direction values as a query value
|
|
8423
|
+
* - A [responsive value](/docs/api/polaris/using-polaris-web-components#responsive-values) string with the supported direction values as a query value
|
|
8424
8424
|
*
|
|
8425
8425
|
* @default 'block'
|
|
8426
8426
|
*
|
|
@@ -23,17 +23,22 @@ export interface ShippingOptionItemApi {
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* The render mode of this shipping option, indicating how the extension is displayed in the checkout UI.
|
|
26
|
+
*
|
|
27
|
+
* @deprecated Do not rely on render context. This target can render inside an overlay, so use inline UI instead of opening overlays such as modals.
|
|
26
28
|
*/
|
|
27
29
|
renderMode: ShippingOptionItemRenderMode;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
33
|
* The render mode of a shipping option.
|
|
34
|
+
*
|
|
32
35
|
* @publicDocs
|
|
33
36
|
*/
|
|
34
37
|
export interface ShippingOptionItemRenderMode {
|
|
35
38
|
/**
|
|
36
39
|
* Whether the shipping option is rendered in an overlay. When `true`, the extension appears in a modal or sheet on top of the checkout page. When `false`, the extension renders inline within the shipping options list.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated Do not rely on render context. Use inline UI instead of opening overlays such as modals.
|
|
37
42
|
*/
|
|
38
43
|
overlay: boolean;
|
|
39
44
|
}
|
|
@@ -486,6 +486,9 @@ export interface BuyerJourney {
|
|
|
486
486
|
* either by passing validation errors to the checkout UI or rendering the errors in your extension.
|
|
487
487
|
*
|
|
488
488
|
* If the merchant hasn't allowed your extension to block checkout progress, show a warning in the [checkout editor](https://shopify.dev/docs/apps/build/checkout/test-checkout-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
489
|
+
*
|
|
490
|
+
* @deprecated Use a cart and checkout validation function instead. The buyer
|
|
491
|
+
* journey intercept will be removed in a future version of the API.
|
|
489
492
|
*/
|
|
490
493
|
intercept(interceptor: Interceptor): Promise<() => void>;
|
|
491
494
|
|
|
@@ -631,9 +634,6 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
631
634
|
|
|
632
635
|
/**
|
|
633
636
|
* Provides details on the buyer's progression through the checkout and lets you intercept navigation to validate data before the buyer continues.
|
|
634
|
-
*
|
|
635
|
-
* Refer to [buyer journey](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/buyer-journey#examples)
|
|
636
|
-
* examples for more information.
|
|
637
637
|
*/
|
|
638
638
|
buyerJourney: BuyerJourney;
|
|
639
639
|
|
|
@@ -10,11 +10,109 @@
|
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {ChatProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* The base properties for elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
15
|
+
*/
|
|
16
|
+
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
/**
|
|
18
|
+
* A unique identifier for this element within its parent. This is used by the rendering engine for efficient reconciliation when lists change.
|
|
19
|
+
*/
|
|
20
|
+
key?: preact.Key;
|
|
21
|
+
/**
|
|
22
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
23
|
+
*/
|
|
24
|
+
ref?: preact.Ref<TClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Assigns the element to a named slot in a parent component that uses slot-based composition patterns.
|
|
27
|
+
*/
|
|
28
|
+
slot?: Lowercase<string>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The base properties for elements that have children, extending `BaseElementProps` with children support.
|
|
32
|
+
* @publicDocs
|
|
33
|
+
*/
|
|
34
|
+
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
35
|
+
/**
|
|
36
|
+
* The child elements to render within this component.
|
|
37
|
+
*/
|
|
38
|
+
children?: preact.ComponentChildren;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* An event type that narrows the `currentTarget` to the specific HTML element associated with the custom element tag. This provides type-safe event handling in callback listeners.
|
|
42
|
+
* @publicDocs
|
|
43
|
+
*/
|
|
44
|
+
export type CallbackEvent<TTagName extends keyof HTMLElementTagNameMap, TEvent extends Event = Event> = TEvent & {
|
|
45
|
+
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A typed event listener for custom element events. The listener receives a `CallbackEvent` with the correct `currentTarget` type for the associated custom element tag.
|
|
49
|
+
* @publicDocs
|
|
50
|
+
*/
|
|
51
|
+
export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap, TData = object> = (EventListener & ((event: CallbackEvent<TTagName, Event> & TData) => void)) | null;
|
|
52
|
+
|
|
53
|
+
declare const tagName = "s-chat";
|
|
13
54
|
/** @publicDocs */
|
|
14
|
-
export interface
|
|
55
|
+
export interface ChatElementProps extends Pick<ChatProps$1, 'accessibilityLabel' | 'blockSize' | 'id' | 'inlineSize'> {
|
|
56
|
+
/**
|
|
57
|
+
* A label that describes the purpose of the chat, announced by assistive technologies like screen readers.
|
|
58
|
+
*/
|
|
59
|
+
accessibilityLabel?: ChatProps$1['accessibilityLabel'];
|
|
60
|
+
/**
|
|
61
|
+
* Adjust the block size.
|
|
62
|
+
*
|
|
63
|
+
* Checkout imposes [sizing restrictions](/docs/apps/build/checkout/chat#component-states) for the component, therefore the size set may not be the actual size rendered.
|
|
64
|
+
*
|
|
65
|
+
* Learn more about [block size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
66
|
+
*/
|
|
15
67
|
blockSize?: Extract<ChatProps$1['blockSize'], `${number}px` | '0'>;
|
|
68
|
+
/**
|
|
69
|
+
* Adjust the inline size.
|
|
70
|
+
*
|
|
71
|
+
* Checkout imposes [sizing restrictions](/docs/apps/build/checkout/chat#component-states) for the component, therefore the size set may not be the actual size rendered.
|
|
72
|
+
*
|
|
73
|
+
* Learn more about [inline size on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
74
|
+
*/
|
|
16
75
|
inlineSize?: Extract<ChatProps$1['inlineSize'], `${number}px` | '0'>;
|
|
17
|
-
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The event callbacks for monitoring the chat lifecycle.
|
|
79
|
+
*/
|
|
80
|
+
export interface ChatEvents extends Pick<ChatProps$1, 'onReady'> {
|
|
81
|
+
}
|
|
82
|
+
/** @publicDocs */
|
|
83
|
+
export interface ChatElementEvents {
|
|
84
|
+
/**
|
|
85
|
+
* A callback that fires when the embedded page is ready and a message port has been created to communicate with the host page.
|
|
86
|
+
*/
|
|
87
|
+
ready?: CallbackEventListener<typeof tagName>;
|
|
88
|
+
}
|
|
89
|
+
/** @publicDocs */
|
|
90
|
+
export interface ChatElementMethods {
|
|
91
|
+
/**
|
|
92
|
+
* Returns an object exposing a `postMessage` method used to send messages to the embedded page rendered inside the chat iframe. Pair this with the `ready` event (or `onReady` callback) to know when the message channel is available.
|
|
93
|
+
*/
|
|
94
|
+
readonly contentWindow: {
|
|
95
|
+
postMessage(message: any): void;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/** @publicDocs */
|
|
99
|
+
export interface ChatElement extends ChatElementProps, ChatElementMethods, Omit<HTMLElement, 'id' | 'title'> {
|
|
100
|
+
onready: ChatEvents['onReady'];
|
|
101
|
+
}
|
|
102
|
+
/** @publicDocs */
|
|
103
|
+
export interface ChatProps extends ChatElementProps, ChatEvents {
|
|
104
|
+
}
|
|
105
|
+
declare global {
|
|
106
|
+
interface HTMLElementTagNameMap {
|
|
107
|
+
[tagName]: ChatElement;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
declare module 'preact' {
|
|
111
|
+
namespace createElement.JSX {
|
|
112
|
+
interface IntrinsicElements {
|
|
113
|
+
[tagName]: ChatProps & BaseElementPropsWithChildren<ChatElement>;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
18
116
|
}
|
|
19
117
|
|
|
20
|
-
export type { ChatProps };
|
|
118
|
+
export type { ChatElement, ChatElementEvents, ChatElementMethods, ChatElementProps, ChatProps };
|
|
@@ -50,6 +50,9 @@ export function useBuyerJourneyCompleted<
|
|
|
50
50
|
*
|
|
51
51
|
* It is good practice to show a warning in the checkout editor when the merchant has not given permission for your extension
|
|
52
52
|
* to block checkout progress.
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Use a cart and checkout validation function instead. The buyer
|
|
55
|
+
* journey intercept will be removed in a future version of the API.
|
|
53
56
|
* @publicDocs
|
|
54
57
|
*/
|
|
55
58
|
export function useBuyerJourneyIntercept<
|
|
@@ -17,6 +17,9 @@ import {useSubscription} from './subscription';
|
|
|
17
17
|
export function useShippingOptionTarget(): {
|
|
18
18
|
shippingOptionTarget: ShippingOption;
|
|
19
19
|
isTargetSelected: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Do not rely on render context. This target can render inside an overlay, so use inline UI instead of opening overlays such as modals.
|
|
22
|
+
*/
|
|
20
23
|
renderMode: ShippingOptionItemRenderMode;
|
|
21
24
|
} {
|
|
22
25
|
const api = useApi<
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type {ReadonlySignalLike} from '../../../../shared';
|
|
2
2
|
import type {
|
|
3
|
+
AddLineItemOptions,
|
|
3
4
|
Address,
|
|
4
5
|
Cart,
|
|
5
6
|
CartUpdateInput,
|
|
@@ -123,12 +124,19 @@ export interface MutableCartApiContent {
|
|
|
123
124
|
/**
|
|
124
125
|
* Add a product variant to the cart by its numeric `ID` with the specified quantity. Returns the `UUID` of the newly added line item, or an empty string if the user dismissed an oversell guard modal. Throws an error if POS fails to add the line item due to validation or system errors.
|
|
125
126
|
*
|
|
127
|
+
* Pass `options` to attach line-item properties in the same operation, instead of following up with a separate `addLineItemProperties` call.
|
|
128
|
+
*
|
|
126
129
|
* @param variantId the product variant's numeric ID to add to the cart
|
|
127
130
|
* @param quantity the number of this variant to add to the cart
|
|
131
|
+
* @param options optional line-item properties to apply to the new line item in the same operation
|
|
128
132
|
* @returns {string} the UUID of the line item added, or the empty string if the user dismissed an oversell guard modal
|
|
129
133
|
* @throws {Error} if POS fails to add the line item
|
|
130
134
|
*/
|
|
131
|
-
addLineItem(
|
|
135
|
+
addLineItem(
|
|
136
|
+
variantId: number,
|
|
137
|
+
quantity: number,
|
|
138
|
+
options?: AddLineItemOptions,
|
|
139
|
+
): Promise<string>;
|
|
132
140
|
|
|
133
141
|
/**
|
|
134
142
|
* Remove a specific line item from the cart using its `UUID`. The line item will be completely removed from the cart along with any associated discounts, properties, or selling plans.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type {BackgroundShopifyGlobal} from '../globals';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Methods available on the `shopify` global for app background extensions.
|
|
5
|
+
* @publicDocs
|
|
6
|
+
*/
|
|
7
|
+
export interface Docs_AppBackgroundEventMethods
|
|
8
|
+
extends Pick<
|
|
9
|
+
BackgroundShopifyGlobal,
|
|
10
|
+
'addEventListener' | 'removeEventListener'
|
|
11
|
+
> {}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The `PrintApi` object provides methods for triggering document printing. Access these methods through `shopify.print` to initiate print operations with various document types.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Use `shopify.printing` instead. The Printing API supersedes `shopify.print`, adding hardware printer discovery via `getPrinters()` and direct-to-printer printing via the `printer` option on `print()`.
|
|
3
5
|
* @publicDocs
|
|
4
6
|
*/
|
|
5
7
|
export interface PrintApiContent {
|
|
@@ -20,6 +22,8 @@ export interface PrintApiContent {
|
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* The `PrintApi` object provides methods for triggering document printing. Access these methods through `shopify.print` to initiate print operations with various document types.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Use `shopify.printing` instead. The Printing API supersedes `shopify.print`, adding hardware printer discovery via `getPrinters()` and direct-to-printer printing via the `printer` option on `print()`.
|
|
23
27
|
* @publicDocs
|
|
24
28
|
*/
|
|
25
29
|
export interface PrintApi {
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Printing API provides methods for triggering document printing and
|
|
3
|
+
* discovering available hardware printers. Content is fetched from a URL
|
|
4
|
+
* and can be sent to a specific printer or to the system print dialog.
|
|
5
|
+
*
|
|
6
|
+
* Accessed via `shopify.printing`, aligning with the web platform's
|
|
7
|
+
* `navigator.printing` namespace from the WICG Web Printing proposal.
|
|
8
|
+
*
|
|
9
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/print | Window.print()}
|
|
10
|
+
* for the web platform equivalent (no parameters, prints current document).
|
|
11
|
+
* This API extends the concept with URL-based content and printer selection.
|
|
12
|
+
* @see {@link https://github.com/WICG/web-printing | WICG Web Printing} for the
|
|
13
|
+
* emerging web standard for printer enumeration and job submission. This API
|
|
14
|
+
* aligns with WICG's instance-level printer selection model.
|
|
15
|
+
* @publicDocs
|
|
16
|
+
*/
|
|
17
|
+
export interface PrintingApiContent {
|
|
18
|
+
/**
|
|
19
|
+
* Returns the list of hardware printers currently available to the
|
|
20
|
+
* device. Each printer includes its connection status and a reference
|
|
21
|
+
* that can be passed to `print()`.
|
|
22
|
+
*
|
|
23
|
+
* When no hardware printers are available, returns an empty array.
|
|
24
|
+
* The system print dialog is not included in this list — it is the
|
|
25
|
+
* default behavior when no `printer` option is provided to `print()`.
|
|
26
|
+
*
|
|
27
|
+
* @see {@link https://github.com/WICG/web-printing | WICG Web Printing}
|
|
28
|
+
* for the emerging web standard this aligns with.
|
|
29
|
+
* @returns A promise that resolves with the list of available hardware printers.
|
|
30
|
+
*/
|
|
31
|
+
getPrinters(): Promise<Printer[]>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Triggers a print operation for the specified document source.
|
|
35
|
+
*
|
|
36
|
+
* When called without a `printer` option, opens the device's system
|
|
37
|
+
* print dialog (e.g., AirPrint on iOS, Android print service). When
|
|
38
|
+
* a `printer` reference is provided (from `getPrinters()`), sends
|
|
39
|
+
* the content directly to that printer without showing a dialog.
|
|
40
|
+
*
|
|
41
|
+
* The `src` parameter accepts either:
|
|
42
|
+
* - A relative path that will be appended to your app's [`application_url`](/docs/apps/build/cli-for-apps/app-configuration)
|
|
43
|
+
* - A full URL to your app's backend
|
|
44
|
+
*
|
|
45
|
+
* The content at the URL is fetched with the extension's session token
|
|
46
|
+
* for authentication. HTML, PDFs, and images are supported content types.
|
|
47
|
+
* PDFs can only be printed via the system print dialog: selecting a
|
|
48
|
+
* `printer` with a PDF `src` throws, because hardware (receipt) printers
|
|
49
|
+
* render HTML and image content only.
|
|
50
|
+
*
|
|
51
|
+
* @param src the source URL of the content to print.
|
|
52
|
+
* @param options optional configuration for the print operation.
|
|
53
|
+
* @returns A promise that resolves when the print job has been
|
|
54
|
+
* successfully sent. For hardware printers, this means the rasterized
|
|
55
|
+
* content has been dispatched — it does not wait for physical printing
|
|
56
|
+
* to complete. For the system print dialog, this resolves when the
|
|
57
|
+
* content is ready and the dialog appears.
|
|
58
|
+
* @throws {Error} when the content cannot be fetched from `src`.
|
|
59
|
+
* @throws {Error} when the specified `printer` is not connected.
|
|
60
|
+
* @throws {Error} when `src` is a PDF and a `printer` is selected, since
|
|
61
|
+
* receipt printers render HTML and image content only.
|
|
62
|
+
*/
|
|
63
|
+
print(src: string, options?: PrintOptions): Promise<void>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Options for `shopify.printing.print()`.
|
|
68
|
+
* @publicDocs
|
|
69
|
+
*/
|
|
70
|
+
export interface PrintOptions {
|
|
71
|
+
/**
|
|
72
|
+
* A printer reference obtained from `getPrinters()`. When provided,
|
|
73
|
+
* the print job is sent directly to this printer without showing
|
|
74
|
+
* a system print dialog.
|
|
75
|
+
*
|
|
76
|
+
* When omitted, the system print dialog is shown, allowing the
|
|
77
|
+
* user to select a printer and configure print settings.
|
|
78
|
+
*/
|
|
79
|
+
printer?: Printer;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* A hardware printer available to the device, as returned by `shopify.printing.getPrinters()`.
|
|
84
|
+
* @publicDocs
|
|
85
|
+
*/
|
|
86
|
+
export interface Printer {
|
|
87
|
+
/** Unique identifier for this printer. */
|
|
88
|
+
id: string;
|
|
89
|
+
|
|
90
|
+
/** Human-readable display name (e.g., "Star TSP143" or "Front Counter Printer"). */
|
|
91
|
+
name: string;
|
|
92
|
+
|
|
93
|
+
/** Whether the printer is currently able to accept print jobs. */
|
|
94
|
+
connected: boolean;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The `PrintingApi` object provides methods for triggering document printing
|
|
99
|
+
* and discovering available hardware printers. Access these methods through
|
|
100
|
+
* `shopify.printing`.
|
|
101
|
+
* @publicDocs
|
|
102
|
+
*/
|
|
103
|
+
export interface PrintingApi {
|
|
104
|
+
printing: PrintingApiContent;
|
|
105
|
+
}
|
|
@@ -6,7 +6,9 @@ import {LocaleApi} from '../locale-api/locale-api';
|
|
|
6
6
|
import {SessionApi} from '../session-api/session-api';
|
|
7
7
|
import {ToastApi} from '../toast-api/toast-api';
|
|
8
8
|
import {ProductSearchApi} from '../product-search-api/product-search-api';
|
|
9
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9
10
|
import {PrintApi} from '../print-api/print-api';
|
|
11
|
+
import {PrintingApi} from '../printing-api/printing-api';
|
|
10
12
|
import {StorageApi} from '../storage-api/storage-api';
|
|
11
13
|
import {PinPadApi} from '../pin-pad-api';
|
|
12
14
|
import type {I18n} from '../../../../api';
|
|
@@ -24,7 +26,9 @@ export type StandardApi<T> = {[key: string]: any} & {
|
|
|
24
26
|
LocaleApi &
|
|
25
27
|
ToastApi &
|
|
26
28
|
SessionApi &
|
|
29
|
+
// eslint-disable-next-line import/no-deprecated
|
|
27
30
|
PrintApi &
|
|
31
|
+
PrintingApi &
|
|
28
32
|
ProductSearchApi &
|
|
29
33
|
DeviceApi &
|
|
30
34
|
ConnectivityApi &
|
|
@@ -65,6 +65,13 @@ export type {
|
|
|
65
65
|
|
|
66
66
|
export type {PrintApi, PrintApiContent} from './api/print-api/print-api';
|
|
67
67
|
|
|
68
|
+
export type {
|
|
69
|
+
PrintingApi,
|
|
70
|
+
PrintingApiContent,
|
|
71
|
+
PrintOptions,
|
|
72
|
+
Printer,
|
|
73
|
+
} from './api/printing-api/printing-api';
|
|
74
|
+
|
|
68
75
|
export type {
|
|
69
76
|
PaginationParams,
|
|
70
77
|
ProductSortType,
|
|
@@ -91,6 +98,7 @@ export type {ToastApiContent, ToastApi} from './api/toast-api/toast-api';
|
|
|
91
98
|
|
|
92
99
|
// Type exports
|
|
93
100
|
export type {
|
|
101
|
+
AddLineItemOptions,
|
|
94
102
|
Cart,
|
|
95
103
|
CartUpdateInput,
|
|
96
104
|
Customer,
|
|
@@ -118,6 +126,8 @@ export type {
|
|
|
118
126
|
|
|
119
127
|
export type {TaxLine} from './types/tax-line';
|
|
120
128
|
|
|
129
|
+
export type {DiscountAllocation} from './types/discount-allocation';
|
|
130
|
+
|
|
121
131
|
export type {PaymentMethod, Payment} from './types/payment';
|
|
122
132
|
|
|
123
133
|
export type {MultipleResourceResult} from './types/multiple-resource-result';
|
|
@@ -45,7 +45,7 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement>
|
|
|
45
45
|
export type IntrinsicElementProps<T> = T & BaseElementPropsWithChildren<T & HTMLElement>;
|
|
46
46
|
|
|
47
47
|
declare const tagName = 's-qr-code';
|
|
48
|
-
/** @
|
|
48
|
+
/** @private */
|
|
49
49
|
export interface QrCodeJSXProps extends Pick<QRCodeProps, 'id' | 'content'> {}
|
|
50
50
|
declare global {
|
|
51
51
|
interface HTMLElementTagNameMap {
|