@shoplix-ai/block-kit 5.28.0 → 5.29.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 +3 -1
- package/dist/listing-toolbar.d.ts +38 -7
- package/dist/listing-toolbar.d.ts.map +1 -1
- package/dist/listing-toolbar.js +31 -7
- package/dist/listing-toolbar.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -219,7 +219,9 @@ written against this package and nothing else from the runtime. It holds:
|
|
|
219
219
|
`listingToolbarLook` and `listingToolbarColors` are the listing toolbar's
|
|
220
220
|
parts, measures and colours at `listing_toolbar.<part>`, the role the
|
|
221
221
|
merchant chose for the bar, its stroke, its words or the switch's track over
|
|
222
|
-
them
|
|
222
|
+
them, its side space and the space between its rows, its count as one run,
|
|
223
|
+
and the filter drawn as a row of chips with each chip's least width, inset
|
|
224
|
+
and words; `listingCount` is the count of the products a listing has loaded,
|
|
223
225
|
"24+" while Shopify names more, with its word in the form the buyer's
|
|
224
226
|
language counts it in; `listingSortRows` and `listingSortLabel` are the
|
|
225
227
|
sorts the sheet offers in the merchant's order and words, the catalog's
|
|
@@ -20,8 +20,8 @@ declare const LISTING_TOOLBAR_ROLES: {
|
|
|
20
20
|
readonly clear_all: "accent";
|
|
21
21
|
};
|
|
22
22
|
export type ListingToolbarPart = keyof typeof LISTING_TOOLBAR_ROLES;
|
|
23
|
-
/** The toolbar's colours,
|
|
24
|
-
export type ListingToolbarColors = Readonly<Record<ListingToolbarPart | 'badge_ink' | 'chip_remove_ink', string>>;
|
|
23
|
+
/** The toolbar's colours, the ink that reads on the badge and on a chip's remove button, and the ink of the count drawn as one run. */
|
|
24
|
+
export type ListingToolbarColors = Readonly<Record<ListingToolbarPart | 'badge_ink' | 'chip_remove_ink' | 'count_run', string>>;
|
|
25
25
|
/**
|
|
26
26
|
* Every colour the listing toolbar draws: the count and its word, the bar
|
|
27
27
|
* that opens the sorts and the filters with its stroke, its words and the line
|
|
@@ -31,9 +31,10 @@ export type ListingToolbarColors = Readonly<Record<ListingToolbarPart | 'badge_i
|
|
|
31
31
|
* merchant chose for the bar, its stroke, its words, the track, the badge or
|
|
32
32
|
* the chips wins; every other part is its role with `listing_toolbar.<part>`
|
|
33
33
|
* over it, and the badge and the remove button write in whichever ink reads on
|
|
34
|
-
* them. The
|
|
34
|
+
* them. The count drawn as one run writes in the word's ink, or the role the
|
|
35
|
+
* merchant chose for it. The phone and its web twin read this one table.
|
|
35
36
|
*/
|
|
36
|
-
export declare function listingToolbarColors(theme: ThemeStyle, settings?: Pick<ListingToolbarSettings, 'surface' | 'stroke' | 'ink' | 'track' | 'badge' | 'chipSurface' | 'chipStroke' | 'chipInk'>): ListingToolbarColors;
|
|
37
|
+
export declare function listingToolbarColors(theme: ThemeStyle, settings?: Pick<ListingToolbarSettings, 'surface' | 'stroke' | 'ink' | 'track' | 'badge' | 'chipSurface' | 'chipStroke' | 'chipInk' | 'countRunInk'>): ListingToolbarColors;
|
|
37
38
|
/** Every measure of the toolbar, and which of its parts it draws. */
|
|
38
39
|
export interface ListingToolbarLook {
|
|
39
40
|
readonly count: boolean;
|
|
@@ -41,10 +42,21 @@ export interface ListingToolbarLook {
|
|
|
41
42
|
readonly sort: boolean;
|
|
42
43
|
readonly filter: boolean;
|
|
43
44
|
readonly chips: boolean;
|
|
45
|
+
/** The filter as a row of chips, the filter and one per filter the sheet offers, in place of its half of the bar. */
|
|
46
|
+
readonly filterChips: boolean;
|
|
47
|
+
/** The side space the merchant set; none stands the toolbar in the theme's side gutter. */
|
|
48
|
+
readonly gutter: number | undefined;
|
|
49
|
+
/** The space between the toolbar's rows. */
|
|
50
|
+
readonly gap: number;
|
|
44
51
|
readonly height: number;
|
|
45
52
|
readonly radius: number;
|
|
46
53
|
readonly countSize: number;
|
|
47
54
|
readonly wordSize: number;
|
|
55
|
+
readonly wordWeight: number;
|
|
56
|
+
/** The count as one run, its number and word at one size and weight, the word's where the merchant set none. */
|
|
57
|
+
readonly countRun: boolean;
|
|
58
|
+
readonly runSize: number;
|
|
59
|
+
readonly runWeight: number;
|
|
48
60
|
readonly labelSize: number;
|
|
49
61
|
readonly iconSize: number;
|
|
50
62
|
readonly switchCell: {
|
|
@@ -61,17 +73,36 @@ export interface ListingToolbarLook {
|
|
|
61
73
|
readonly height: number;
|
|
62
74
|
readonly radius: number;
|
|
63
75
|
readonly text: number;
|
|
76
|
+
readonly weight: number;
|
|
64
77
|
readonly remove: number;
|
|
65
78
|
readonly gap: number;
|
|
66
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* A chip of the filter's row: its least width (none hugs), the space from
|
|
82
|
+
* each side to its content with the stroke counted, the line round it, the
|
|
83
|
+
* space between its glyph or chevron and its words, and the size of its own
|
|
84
|
+
* chevron.
|
|
85
|
+
*/
|
|
86
|
+
readonly filterChip: {
|
|
87
|
+
readonly width: number;
|
|
88
|
+
readonly inset: number;
|
|
89
|
+
readonly stroke: number;
|
|
90
|
+
readonly gap: number;
|
|
91
|
+
readonly chevron: number;
|
|
92
|
+
};
|
|
67
93
|
}
|
|
68
94
|
/**
|
|
69
|
-
* The toolbar as the mot design measures it: the count at 15
|
|
70
|
-
* 13, the switch's two 34 by 30 cells on a track padded by 3, the bar at the
|
|
95
|
+
* The toolbar as the mot design measures it: the count at 15 beside a word at
|
|
96
|
+
* 13 and 600, the switch's two 34 by 30 cells on a track padded by 3, the bar at the
|
|
71
97
|
* merchant's height and corner with its words at 12.5 beside a 16 point
|
|
72
98
|
* glyph, the badge an 18 point circle with its number at 10.5, and each chip
|
|
73
99
|
* 32 tall at the merchant's corner with its words at 12.5 and an 18 point
|
|
74
|
-
* remove button, 8 apart. The merchant switches each part
|
|
100
|
+
* remove button, 8 apart, its rows 10 apart. The merchant switches each part
|
|
101
|
+
* off and sets the bar; the side space, the space between the rows, the
|
|
102
|
+
* count's run and every chip's words and gap; and, where the filter draws as a
|
|
103
|
+
* row of chips, each chip's least width and inset. A chip of that row draws a
|
|
104
|
+
* 1 point line round it and holds 6 between its glyph or chevron and its
|
|
105
|
+
* words, its own chevron 15 points.
|
|
75
106
|
*/
|
|
76
107
|
export declare function listingToolbarLook(settings: ListingToolbarSettings): ListingToolbarLook;
|
|
77
108
|
/** How many products a listing holds so far: the number, with a plus while more pages exist, and the word after it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listing-toolbar.d.ts","sourceRoot":"","sources":["../src/listing-toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EAEf,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAMjC,KAAK,sBAAsB,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAE3D,kHAAkH;AAClH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;CAiBwB,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAEpE,
|
|
1
|
+
{"version":3,"file":"listing-toolbar.d.ts","sourceRoot":"","sources":["../src/listing-toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EAEf,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAMjC,KAAK,sBAAsB,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAE3D,kHAAkH;AAClH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;CAiBwB,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAEpE,uIAAuI;AACvI,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,MAAM,CAAC,kBAAkB,GAAG,WAAW,GAAG,iBAAiB,GAAG,WAAW,EAAE,MAAM,CAAC,CACnF,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAg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Q,CAAC,GAAG,EAAE,cAAc,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,sBAAsB,EAChC,GAAG,EAAE,cAAc,EACnB,QAAQ,EAAE,UAAU,EACpB,eAAe,EAAE,UAAU,GAC1B,MAAM,CAIR;AAED,qEAAqE;AACrE,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,sBAAsB,EAChC,QAAQ,EAAE,UAAU,EACpB,eAAe,EAAE,UAAU,GAC1B,SAAS,cAAc,EAAE,CAK3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;CAQnB,CAAC"}
|
package/dist/listing-toolbar.js
CHANGED
|
@@ -31,7 +31,8 @@ const LISTING_TOOLBAR_ROLES = {
|
|
|
31
31
|
* merchant chose for the bar, its stroke, its words, the track, the badge or
|
|
32
32
|
* the chips wins; every other part is its role with `listing_toolbar.<part>`
|
|
33
33
|
* over it, and the badge and the remove button write in whichever ink reads on
|
|
34
|
-
* them. The
|
|
34
|
+
* them. The count drawn as one run writes in the word's ink, or the role the
|
|
35
|
+
* merchant chose for it. The phone and its web twin read this one table.
|
|
35
36
|
*/
|
|
36
37
|
export function listingToolbarColors(theme, settings = {}) {
|
|
37
38
|
const table = partColors(theme, 'listing_toolbar', LISTING_TOOLBAR_ROLES);
|
|
@@ -39,6 +40,7 @@ export function listingToolbarColors(theme, settings = {}) {
|
|
|
39
40
|
const badge = chosen(settings.badge, table.badge);
|
|
40
41
|
return {
|
|
41
42
|
...table,
|
|
43
|
+
count_run: chosen(settings.countRunInk, table.count_word),
|
|
42
44
|
bar: chosen(settings.surface, table.bar),
|
|
43
45
|
bar_stroke: chosen(settings.stroke, table.bar_stroke),
|
|
44
46
|
bar_ink: chosen(settings.ink, table.bar_ink),
|
|
@@ -51,13 +53,20 @@ export function listingToolbarColors(theme, settings = {}) {
|
|
|
51
53
|
chip_remove_ink: readableInk(table.chip_remove),
|
|
52
54
|
};
|
|
53
55
|
}
|
|
56
|
+
/** The word after the count's number, whose type the count drawn as one run takes where the merchant set none. */
|
|
57
|
+
const COUNT_WORD = { size: 13, weight: 600 };
|
|
54
58
|
/**
|
|
55
|
-
* The toolbar as the mot design measures it: the count at 15
|
|
56
|
-
* 13, the switch's two 34 by 30 cells on a track padded by 3, the bar at the
|
|
59
|
+
* The toolbar as the mot design measures it: the count at 15 beside a word at
|
|
60
|
+
* 13 and 600, the switch's two 34 by 30 cells on a track padded by 3, the bar at the
|
|
57
61
|
* merchant's height and corner with its words at 12.5 beside a 16 point
|
|
58
62
|
* glyph, the badge an 18 point circle with its number at 10.5, and each chip
|
|
59
63
|
* 32 tall at the merchant's corner with its words at 12.5 and an 18 point
|
|
60
|
-
* remove button, 8 apart. The merchant switches each part
|
|
64
|
+
* remove button, 8 apart, its rows 10 apart. The merchant switches each part
|
|
65
|
+
* off and sets the bar; the side space, the space between the rows, the
|
|
66
|
+
* count's run and every chip's words and gap; and, where the filter draws as a
|
|
67
|
+
* row of chips, each chip's least width and inset. A chip of that row draws a
|
|
68
|
+
* 1 point line round it and holds 6 between its glyph or chevron and its
|
|
69
|
+
* words, its own chevron 15 points.
|
|
61
70
|
*/
|
|
62
71
|
export function listingToolbarLook(settings) {
|
|
63
72
|
return {
|
|
@@ -66,10 +75,17 @@ export function listingToolbarLook(settings) {
|
|
|
66
75
|
sort: settings.sort ?? LISTING_TOOLBAR_DEFAULTS.sort,
|
|
67
76
|
filter: settings.filter ?? LISTING_TOOLBAR_DEFAULTS.filter,
|
|
68
77
|
chips: settings.chips ?? LISTING_TOOLBAR_DEFAULTS.chips,
|
|
78
|
+
filterChips: settings.filterChips ?? LISTING_TOOLBAR_DEFAULTS.filterChips,
|
|
79
|
+
gutter: settings.gutter,
|
|
80
|
+
gap: settings.gap ?? LISTING_TOOLBAR_DEFAULTS.gap,
|
|
69
81
|
height: settings.height ?? LISTING_TOOLBAR_DEFAULTS.height,
|
|
70
82
|
radius: settings.radius ?? LISTING_TOOLBAR_DEFAULTS.radius,
|
|
71
83
|
countSize: 15,
|
|
72
|
-
wordSize:
|
|
84
|
+
wordSize: COUNT_WORD.size,
|
|
85
|
+
wordWeight: COUNT_WORD.weight,
|
|
86
|
+
countRun: settings.countRun ?? LISTING_TOOLBAR_DEFAULTS.countRun,
|
|
87
|
+
runSize: settings.countRunSize ?? COUNT_WORD.size,
|
|
88
|
+
runWeight: settings.countRunWeight ?? COUNT_WORD.weight,
|
|
73
89
|
labelSize: 12.5,
|
|
74
90
|
iconSize: 16,
|
|
75
91
|
switchCell: { width: 34, height: 30, radius: 6 },
|
|
@@ -78,9 +94,17 @@ export function listingToolbarLook(settings) {
|
|
|
78
94
|
chip: {
|
|
79
95
|
height: 32,
|
|
80
96
|
radius: settings.chipRadius ?? LISTING_TOOLBAR_DEFAULTS.chipRadius,
|
|
81
|
-
text:
|
|
97
|
+
text: settings.chipLabelSize ?? LISTING_TOOLBAR_DEFAULTS.chipLabelSize,
|
|
98
|
+
weight: settings.chipLabelWeight ?? LISTING_TOOLBAR_DEFAULTS.chipLabelWeight,
|
|
82
99
|
remove: 18,
|
|
83
|
-
gap:
|
|
100
|
+
gap: settings.chipGap ?? LISTING_TOOLBAR_DEFAULTS.chipGap,
|
|
101
|
+
},
|
|
102
|
+
filterChip: {
|
|
103
|
+
width: settings.filterChipWidth ?? LISTING_TOOLBAR_DEFAULTS.filterChipWidth,
|
|
104
|
+
inset: settings.filterChipInset ?? LISTING_TOOLBAR_DEFAULTS.filterChipInset,
|
|
105
|
+
stroke: 1,
|
|
106
|
+
gap: 6,
|
|
107
|
+
chevron: 15,
|
|
84
108
|
},
|
|
85
109
|
};
|
|
86
110
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listing-toolbar.js","sourceRoot":"","sources":["../src/listing-toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,cAAc,GAMf,MAAM,yBAA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AC9B,QAAgC,EAChC,GAAmB,EACnB,QAAoB,EACpB,eAA2B;IAE3B,MAAM,GAAG,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,KAAK,CAAC;IACjF,MAAM,OAAO,GAAG,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAC;IACzF,OAAO,OAAO,IAAI,aAAa,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,GAAG,CAAC,gBAAgB,GAAG,EAAE,CAAC,CAAC;AACxF,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,eAAe,CAC7B,QAAgC,EAChC,QAAoB,EACpB,eAA2B;IAE3B,OAAO,cAAc,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;QAChD,GAAG;QACH,KAAK,EAAE,gBAAgB,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,eAAe,CAAC;KAClE,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,GAAG;IACZ,OAAO,EAAE,EAAE;IACX,GAAG,EAAE,EAAE;IACP,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,CAAC;IACb,SAAS,EAAE,EAAE;CACL,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 = "5.
|
|
7
|
+
export declare const CONTRACT_VERSION = "5.29.0";
|
|
8
8
|
export declare const CONTRACT_MAJOR = 5;
|
|
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 = '5.
|
|
7
|
+
export const CONTRACT_VERSION = '5.29.0';
|
|
8
8
|
export const CONTRACT_MAJOR = 5;
|
|
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": "5.
|
|
3
|
+
"version": "5.29.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.78.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=19.0.0"
|