sbuilder-mcp 0.111.0 → 0.111.1

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/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ All notable changes to this project are documented in this file.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.111.1] - 2026-11-20
10
+
11
+ ### Added
12
+ - The `product-variants` element gains `maxVisible` to collapse extra colour or image values into a "+N" cell, `preselect` to choose a first value, and `pickAfter` with `pickAddedId` to show the added-to-cart pop-up instead of the cart drawer after a pick.
13
+
14
+ ### Changed
15
+ - The element catalog is regenerated against web_builder v1.0.292.
16
+
9
17
  ## [0.111.0] - 2026-11-20
10
18
 
11
19
  ### Added
package/CHANGELOG.vi.md CHANGED
@@ -6,6 +6,14 @@ Mọi thay đổi đáng chú ý của dự án được ghi lại trong file n
6
6
  Định dạng dựa trên [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  và dự án tuân theo [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.111.1] - 2026-11-20
10
+
11
+ ### Added
12
+ - Phần tử `product-variants` có thêm `maxVisible` để gộp các giá trị màu hoặc ảnh dư thành ô "+N", `preselect` để chọn sẵn giá trị đầu tiên, và `pickAfter` cùng `pickAddedId` để hiện pop-up đã thêm vào giỏ thay cho ngăn kéo giỏ hàng sau khi chọn.
13
+
14
+ ### Changed
15
+ - Danh mục phần tử được tạo lại theo web_builder v1.0.292.
16
+
9
17
  ## [0.111.0] - 2026-11-20
10
18
 
11
19
  ### Added
@@ -1,7 +1,7 @@
1
1
  export const DEAD_KEY_SOURCE = {
2
- "files": 6524,
3
- "identifiers": 119162,
4
- "seededKeys": 479,
2
+ "files": 6526,
3
+ "identifiers": 119212,
4
+ "seededKeys": 483,
5
5
  "dead": 0
6
6
  };
7
7
  /**
@@ -17169,6 +17169,10 @@ export const ELEMENTS = {
17169
17169
  "optionGap": "",
17170
17170
  "showAttributes": [],
17171
17171
  "pickAction": "select",
17172
+ "preselect": "none",
17173
+ "pickAfter": "open_cart",
17174
+ "pickAddedId": "",
17175
+ "maxVisible": 0,
17172
17176
  "swatchWidth": 30,
17173
17177
  "swatchHeight": 17,
17174
17178
  "swatchRadius": 999,
@@ -17451,8 +17455,12 @@ export const ELEMENTS = {
17451
17455
  "label": "Variant display",
17452
17456
  "controls": [
17453
17457
  "variant_display",
17458
+ "variant_max_visible",
17454
17459
  "variant_show_attributes",
17455
- "variant_pick_action"
17460
+ "variant_preselect",
17461
+ "variant_pick_action",
17462
+ "variant_pick_after",
17463
+ "pickAddedId"
17456
17464
  ]
17457
17465
  },
17458
17466
  {
@@ -17558,8 +17566,12 @@ export const ELEMENTS = {
17558
17566
  "displayType",
17559
17567
  "defaultVariant",
17560
17568
  "variant_display",
17569
+ "variant_max_visible",
17561
17570
  "variant_show_attributes",
17571
+ "variant_preselect",
17562
17572
  "variant_pick_action",
17573
+ "variant_pick_after",
17574
+ "pickAddedId",
17563
17575
  "variant_label",
17564
17576
  "variant_option",
17565
17577
  "variant_color_width",
@@ -17601,6 +17613,8 @@ export const ELEMENTS = {
17601
17613
  "A product CARD in a list (product-list / dataset card) should usually show only the colour axis: set config.showAttributes to that one attribute name (e.g. [\"Color\"] or [\"Màu sắc\"]) and leave Size for the product page buy box, which keeps showAttributes empty (= every attribute)",
17602
17614
  "config.showAttributes matches attribute names trimmed and case-insensitively, keeps the product order, and drops a name the product does not have",
17603
17615
  "config.pickAction: \"add_to_cart\" turns every value into a quick-add button — clicking a size selects it AND adds that variant (quantity 1) to the cart, keeping any colour already picked elsewhere on the card. Use it for a product-CARD quick add (showAttributes [\"Size\"], specials.displayType \"image_label\"), usually inside a flex-block overlay with config.revealOnHover true; keep the default \"select\" on a product page buy box, where an Add to cart button does the adding",
17616
+ "After a pick-to-add the cart drawer opens (config.pickAfter \"open_cart\", the default). Set config.pickAfter: \"show_added\" with config.pickAddedId = the overlay id of the site's added-to-cart pop-up to show that small card instead; an empty or missing pop-up falls back to the drawer, so the add is never silent",
17617
+ "config.maxVisible (a count, PER BREAKPOINT; 0 = all) caps how many values a \"color\" / \"image\" / \"image_label\" row shows — the rest collapse into one \"+N\" cell (Coolmate cards: 4 colour pills then \"+1\"). Set it on base and override it in responsive.mobile for a phone. A pre-selected value past the limit stays visible (it takes the last slot). The \"+N\" text uses the product-variant-option satellite's typography. Ignored by \"select\"",
17604
17618
  "Sold-out values are crossed out automatically on the published page (both modes); in \"add_to_cart\" mode they cannot be clicked. Do not hand-style or hide them",
17605
17619
  "Style the attribute labels through the product-variant-label satellite and the options through the product-variant-option satellite",
17606
17620
  "Do not add children — the blocks, labels and options are rendered internally"
@@ -1685,6 +1685,10 @@ export const OVERLAY_SEEDS = {
1685
1685
  "optionGap": "",
1686
1686
  "showAttributes": [],
1687
1687
  "pickAction": "select",
1688
+ "preselect": "none",
1689
+ "pickAfter": "open_cart",
1690
+ "pickAddedId": "",
1691
+ "maxVisible": 0,
1688
1692
  "swatchWidth": 30,
1689
1693
  "swatchHeight": 17,
1690
1694
  "swatchRadius": 999,
@@ -1,7 +1,7 @@
1
1
  // GENERATED by scripts/gen-catalog.ts — do not edit by hand.
2
2
  // The platform commit every other generated file here describes.
3
3
  export const PLATFORM_SOURCE = {
4
- "commit": "f8491cdcc8b1e66977fb818adde017863a77b540",
5
- "committedAt": "2026-11-20T15:09:53+07:00",
4
+ "commit": "e9a4bae765e12acb74d7ce77a4d7e16891c93154",
5
+ "committedAt": "2026-11-20T16:43:17+07:00",
6
6
  "dirty": false
7
7
  };
@@ -2351,6 +2351,10 @@ export const STORE_PAGE_SEEDS = {
2351
2351
  "optionGap": "",
2352
2352
  "showAttributes": [],
2353
2353
  "pickAction": "select",
2354
+ "preselect": "none",
2355
+ "pickAfter": "open_cart",
2356
+ "pickAddedId": "",
2357
+ "maxVisible": 0,
2354
2358
  "swatchWidth": 30,
2355
2359
  "swatchHeight": 17,
2356
2360
  "swatchRadius": 999,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbuilder-mcp",
3
- "version": "0.111.0",
3
+ "version": "0.111.1",
4
4
  "description": "MCP server that designs and operates a Store Builder site — pages, data, theme and publish — through the platform's own API and live-edit protocol.",
5
5
  "mcpName": "io.github.vuluu2k/sbuilder-mcp",
6
6
  "type": "module",