@shoplix-ai/block-kit 2.0.0 → 3.0.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/README.md +12 -6
- package/dist/capabilities.d.ts +29 -13
- package/dist/capabilities.d.ts.map +1 -1
- package/dist/capabilities.js +10 -7
- package/dist/capabilities.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,12 +22,18 @@ written against this package and nothing else from the runtime. It holds:
|
|
|
22
22
|
- **The capability set.** `addToCart` (with optional line attributes),
|
|
23
23
|
`openCart`, `beginCheckout`, `setLineQuantity`, `removeLines` (one or many
|
|
24
24
|
line ids), `applyDiscountCode`, `removeDiscountCode`, `setCartNote`,
|
|
25
|
-
`setLineAttributes
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
`setLineAttributes`, and `notificationInvitation`, the shopper's own
|
|
26
|
+
notification decision as one host state: whether the invitation is still
|
|
27
|
+
offered, the tap that opens the phone's prompt and the tap that hides it
|
|
28
|
+
until the next completed checkout. Closed, and the same list the schema
|
|
29
|
+
package lets a Block Definition declare. A cart capability resolves once Shopify accepted
|
|
30
|
+
the change it asked for and rejects with a `CapabilityRefusal`: the outcome
|
|
31
|
+
(`refused`, `not_found`, `failed`) and the messages that came with it,
|
|
32
|
+
Shopify's own or the host's where Shopify sent none — a quantity over the
|
|
33
|
+
stock is clamped by Shopify and not refused, and the host names what is left;
|
|
34
|
+
`isCapabilityRefusal` tells it apart from any other rejection. Nothing
|
|
35
|
+
repaints before Shopify's answer, and the block decides how to show a
|
|
36
|
+
refusal.
|
|
31
37
|
- **The authoring shape of a Code Block.** `defineSettings()` and
|
|
32
38
|
`defineBinding()` type a block's settings and binding files; `SettingsValues`
|
|
33
39
|
derives the renderer's settings type from the settings file;
|
package/dist/capabilities.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type BlockCapabilityName, type CartAttribute } from '@shoplix-ai/sdui-schema';
|
|
2
2
|
/**
|
|
3
3
|
* The closed capability set. A renderer reaches commerce only through these
|
|
4
|
-
* nine
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* nine, and the shopper's notification decision only through the tenth; the
|
|
5
|
+
* Storefront token, the cart id and navigation never cross the contract. The
|
|
6
|
+
* set is code, never document content, and it does not grow without a new
|
|
7
|
+
* contract major. The schema package names the same list, so a Block
|
|
8
|
+
* Definition can declare only what a renderer can be handed.
|
|
8
9
|
*/
|
|
9
|
-
export declare const CAPABILITY_NAMES: readonly ["addToCart", "openCart", "beginCheckout", "setLineQuantity", "removeLines", "applyDiscountCode", "removeDiscountCode", "setCartNote", "setLineAttributes"];
|
|
10
|
+
export declare const CAPABILITY_NAMES: readonly ["addToCart", "openCart", "beginCheckout", "setLineQuantity", "removeLines", "applyDiscountCode", "removeDiscountCode", "setCartNote", "setLineAttributes", "notificationInvitation"];
|
|
10
11
|
export type CapabilityName = BlockCapabilityName;
|
|
11
12
|
export interface CartLineInput {
|
|
12
13
|
readonly variantId: string;
|
|
@@ -21,10 +22,22 @@ export interface CartLineAttributesInput {
|
|
|
21
22
|
readonly lineId: string;
|
|
22
23
|
readonly attributes: readonly CartAttribute[];
|
|
23
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* The Notification Invitation as a renderer sees it: whether there is still
|
|
27
|
+
* anything to ask, the tap that opens the phone's own prompt, and the tap
|
|
28
|
+
* that hides the invitation until the shopper's next completed checkout. One
|
|
29
|
+
* host state, so two blocks on one device never disagree.
|
|
30
|
+
*/
|
|
31
|
+
export interface NotificationInvitation {
|
|
32
|
+
readonly offered: boolean;
|
|
33
|
+
readonly turnOn: () => void;
|
|
34
|
+
readonly dismiss: () => void;
|
|
35
|
+
}
|
|
24
36
|
/**
|
|
25
37
|
* Every cart capability answers through the host's one serialized queue and
|
|
26
|
-
* resolves once Shopify accepted; it rejects with
|
|
27
|
-
* the held cart repaints only on Shopify's answer,
|
|
38
|
+
* resolves once Shopify accepted the change it was asked for; it rejects with
|
|
39
|
+
* a CapabilityRefusal, and the held cart repaints only on Shopify's answer,
|
|
40
|
+
* never before.
|
|
28
41
|
*/
|
|
29
42
|
export interface Capabilities {
|
|
30
43
|
readonly addToCart: (line: CartLineInput) => Promise<void>;
|
|
@@ -36,19 +49,22 @@ export interface Capabilities {
|
|
|
36
49
|
readonly removeDiscountCode: (code: string) => Promise<void>;
|
|
37
50
|
readonly setCartNote: (note: string) => Promise<void>;
|
|
38
51
|
readonly setLineAttributes: (input: CartLineAttributesInput) => Promise<void>;
|
|
52
|
+
readonly notificationInvitation: NotificationInvitation;
|
|
39
53
|
}
|
|
40
54
|
/** What a renderer sees: exactly the capabilities its Block Type declared. */
|
|
41
55
|
export type CapabilityObject<K extends CapabilityName = never> = Pick<Capabilities, K>;
|
|
42
56
|
/**
|
|
43
|
-
* Why a capability's promise rejected:
|
|
44
|
-
*
|
|
45
|
-
* never got an answer.
|
|
57
|
+
* Why a capability's promise rejected: the change did not land (a quantity the
|
|
58
|
+
* shop will not sell, a code it does not honour), the cart is gone, or the
|
|
59
|
+
* call never got an answer.
|
|
46
60
|
*/
|
|
47
61
|
export type CapabilityOutcome = 'refused' | 'not_found' | 'failed';
|
|
48
62
|
/**
|
|
49
|
-
* The typed refusal a cart capability rejects with: the outcome, and
|
|
50
|
-
*
|
|
51
|
-
*
|
|
63
|
+
* The typed refusal a cart capability rejects with: the outcome, and the words
|
|
64
|
+
* that came with it in the buyer's language — Shopify's own, or the host's
|
|
65
|
+
* where Shopify sent none, as it does for a quantity it silently clamps to the
|
|
66
|
+
* stock left. A block decides how to show it; the host never shows it for the
|
|
67
|
+
* block.
|
|
52
68
|
*/
|
|
53
69
|
export declare class CapabilityRefusal extends Error {
|
|
54
70
|
readonly outcome: CapabilityOutcome;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,gMAAyB,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,SAAS,aAAa,EAAE,CAAC;CAC/C;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D,QA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AmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAU9E"}
|
package/dist/capabilities.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { BLOCK_CAPABILITY_NAMES, } from '@shoplix-ai/sdui-schema';
|
|
2
2
|
/**
|
|
3
3
|
* The closed capability set. A renderer reaches commerce only through these
|
|
4
|
-
* nine
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* nine, and the shopper's notification decision only through the tenth; the
|
|
5
|
+
* Storefront token, the cart id and navigation never cross the contract. The
|
|
6
|
+
* set is code, never document content, and it does not grow without a new
|
|
7
|
+
* contract major. The schema package names the same list, so a Block
|
|
8
|
+
* Definition can declare only what a renderer can be handed.
|
|
8
9
|
*/
|
|
9
10
|
export const CAPABILITY_NAMES = BLOCK_CAPABILITY_NAMES;
|
|
10
11
|
const OUTCOMES = new Set([
|
|
@@ -13,9 +14,11 @@ const OUTCOMES = new Set([
|
|
|
13
14
|
'failed',
|
|
14
15
|
]);
|
|
15
16
|
/**
|
|
16
|
-
* The typed refusal a cart capability rejects with: the outcome, and
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* The typed refusal a cart capability rejects with: the outcome, and the words
|
|
18
|
+
* that came with it in the buyer's language — Shopify's own, or the host's
|
|
19
|
+
* where Shopify sent none, as it does for a quantity it silently clamps to the
|
|
20
|
+
* stock left. A block decides how to show it; the host never shows it for the
|
|
21
|
+
* block.
|
|
19
22
|
*/
|
|
20
23
|
export class CapabilityRefusal extends Error {
|
|
21
24
|
outcome;
|
package/dist/capabilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAGvB,MAAM,yBAAyB,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../src/capabilities.ts"],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
|
2
|
-
export type { Capabilities, CapabilityName, CapabilityObject, CapabilityOutcome, CartLineAttributesInput, CartLineInput, CartLineQuantityInput, } from './capabilities.js';
|
|
2
|
+
export type { Capabilities, CapabilityName, CapabilityObject, CapabilityOutcome, CartLineAttributesInput, CartLineInput, CartLineQuantityInput, NotificationInvitation, } from './capabilities.js';
|
|
3
3
|
export { defineBlock } from './contract.js';
|
|
4
4
|
export type { BlockDefinition, BlockItemRenderProps, BlockOwner, BlockRegistration, BlockRenderProps, BlockRenderer, BlockRows, BlockSettings, CartSummary, TextDirection, } from './contract.js';
|
|
5
5
|
export type { BlockNavigation } from './navigation.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7F,YAAY,EACV,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7F,YAAY,EACV,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,SAAS,EACT,aAAa,EACb,WAAW,EACX,aAAa,GACd,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAClE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAY7F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAgB5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG/D,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG9D,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* The major is the compatibility line: a Shop package built against another
|
|
5
5
|
* major never meets this runtime, and a major bump is an announced event.
|
|
6
6
|
*/
|
|
7
|
-
export declare const CONTRACT_VERSION = "
|
|
8
|
-
export declare const CONTRACT_MAJOR =
|
|
7
|
+
export declare const CONTRACT_VERSION = "3.0.0";
|
|
8
|
+
export declare const CONTRACT_MAJOR = 3;
|
|
9
9
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* The major is the compatibility line: a Shop package built against another
|
|
5
5
|
* major never meets this runtime, and a major bump is an announced event.
|
|
6
6
|
*/
|
|
7
|
-
export const CONTRACT_VERSION = '
|
|
8
|
-
export const CONTRACT_MAJOR =
|
|
7
|
+
export const CONTRACT_VERSION = '3.0.0';
|
|
8
|
+
export const CONTRACT_MAJOR = 3;
|
|
9
9
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shoplix-ai/block-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "The renderer contract every Block Type renderer is written against: what a renderer receives, how a Block Type is registered with its owner, the closed capability set, and the small helpers renderers share. Contract only, no renderers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@shoplix-ai/sdui-schema": "1.
|
|
29
|
+
"@shoplix-ai/sdui-schema": "1.9.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=19.0.0"
|