sbuilder-mcp 0.22.0 → 0.22.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 +5 -0
- package/CHANGELOG.vi.md +5 -0
- package/dist/domains/site/importmap.js +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ 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.22.1] - 2026-09-10
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- sb_import and sb_import_site no longer size an imported row's stacked columns by height at mobile: each column's `flex: 1 1 280px` basis is reset to `0 1 auto` on the mobile breakpoint only, so a short paragraph no longer sits inside a fixed 280px-tall box while the rest of the page is empty space.
|
|
13
|
+
|
|
9
14
|
## [0.22.0] - 2026-09-10
|
|
10
15
|
|
|
11
16
|
### Added
|
package/CHANGELOG.vi.md
CHANGED
|
@@ -6,6 +6,11 @@ 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.22.1] - 2026-09-10
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- sb_import và sb_import_site giờ không còn định kích thước các cột đã xếp chồng của một row đã import theo chiều cao ở mobile: basis `flex: 1 1 280px` của mỗi cột được reset về `0 1 auto` chỉ ở breakpoint mobile, nên một đoạn văn ngắn không còn bị nằm trong một khung cao cố định 280px trong khi phần còn lại của trang là khoảng trống.
|
|
13
|
+
|
|
9
14
|
## [0.22.0] - 2026-09-10
|
|
10
15
|
|
|
11
16
|
### Added
|
|
@@ -317,9 +317,22 @@ function one(c, t) {
|
|
|
317
317
|
gap: '24px',
|
|
318
318
|
},
|
|
319
319
|
responsive: { mobile: { style: { flexDirection: 'column', gap: '16px' } } },
|
|
320
|
+
// A COLUMN'S BASIS BECOMES ITS HEIGHT THE MOMENT THE ROW STACKS, and that
|
|
321
|
+
// is the whole reason this needs a mobile answer of its own.
|
|
322
|
+
//
|
|
323
|
+
// `flex: 1 1 280px` sizes the MAIN axis; the row's own mobile override
|
|
324
|
+
// turns the main axis from width into height, so every stacked column
|
|
325
|
+
// came out 280px tall whatever was in it. Measured at 390 on a real
|
|
326
|
+
// import: a paragraph of two lines sat in a 280px box, and the page ran
|
|
327
|
+
// 6,009px with most of it empty — and NOTHING reported it, because no box
|
|
328
|
+
// overflowed and no two boxes overlapped. `measure` cannot see air.
|
|
329
|
+
//
|
|
330
|
+
// Mobile only, and base keeps the wide answer, which is the cascade's
|
|
331
|
+
// tail rule the right way round: the row is still a row at tablet.
|
|
320
332
|
children: kids.map((k) => ({
|
|
321
333
|
type: 'flex-block',
|
|
322
334
|
style: { flex: '1 1 280px', minWidth: '0', display: 'flex', flexDirection: 'column', gap: '12px' },
|
|
335
|
+
responsive: { mobile: { style: { flex: '0 1 auto' } } },
|
|
323
336
|
children: [k],
|
|
324
337
|
})),
|
|
325
338
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sbuilder-mcp",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.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",
|