mosaic-headless 1.37.0 → 1.38.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/data/terms-zh.csv CHANGED
@@ -1,91 +1,91 @@
1
1
  zh,en,kind,note,source,trust
2
- 內距,padding,css,paddingTop/Right/Bottom/Left; designer term (Mosaic 1.0.12 ships 邊框間距),zh_TW designer glossary 2026-11-05,house-style
3
- 邊框間距,padding,css,Mosaic's shipped zh_TW for Padding,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
4
- 外距,margin,css,marginTop/Right/Bottom/Left; designer term (Mosaic 1.0.12 ships 邊界),zh_TW designer glossary 2026-11-05,house-style
5
- 邊界,margin,css,Mosaic's shipped zh_TW for Margin,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
6
- 邊框,border,css,border*Width/Style/Color per side; designer term (Mosaic 1.0.12 ships 框線),zh_TW designer glossary 2026-11-05,house-style
7
- 框線,border,css,Mosaic's shipped zh_TW for Border,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
8
- 圓角,border-radius,css,borderRadius; designer term,zh_TW designer glossary 2026-11-05,house-style
9
- 半徑,border-radius,css,Mosaic's shipped zh_TW for Radius,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
10
- 寬度,width,css,also min-width / max-width,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
11
- 高度,height,css,also min-height / max-height,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
12
- 背景,background,css,backgroundColor / backgroundStyle,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
2
+ 內距,padding,css,paddingTop/Right/Bottom/Left (1.0.12 shipped 邊框間距),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
3
+ 邊框間距,padding,css,Mosaic's former zh_TW for Padding; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
4
+ 外距,margin,css,marginTop/Right/Bottom/Left (1.0.12 shipped 邊界),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
5
+ 邊界,margin,css,Mosaic's former zh_TW for Margin; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
6
+ 邊框,border,css,border*Width/Style/Color per side (1.0.12 shipped 框線),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
7
+ 框線,border,css,Mosaic's former zh_TW for Border; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
8
+ 圓角,border-radius,css,borderRadius,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
9
+ 半徑,border-radius,css,Mosaic's shipped zh_TW for Radius,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
10
+ 寬度,width,css,also min-width / max-width,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
11
+ 高度,height,css,also min-height / max-height,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
12
+ 背景,background,css,backgroundColor / backgroundStyle,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
13
13
  背景色,background-color,css,,colloquial; no Mosaic string,inferred
14
- 色彩,color,css,matches every *-color property,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
14
+ 色彩,color,css,matches every *-color property,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
15
15
  顏色,color,css,matches every *-color property,colloquial; no Mosaic string,inferred
16
- 字型,font-family,css,a site-wide typeface is a fontFamily collection variable (references/styling.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
16
+ 字型,font-family,css,a site-wide typeface is a fontFamily collection variable (references/styling.md),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
17
17
  字級,font-size,css,,colloquial; no Mosaic string,inferred
18
18
  字體大小,font-size,css,,colloquial; no Mosaic string,inferred
19
19
  行高,line-height,css,,colloquial; no Mosaic string,inferred
20
20
  字距,letter-spacing,css,,colloquial; no Mosaic string,inferred
21
21
  字重,font-weight,css,,colloquial; no Mosaic string,inferred
22
22
  粗細,font-weight,css,,colloquial; no Mosaic string,inferred
23
- 不透明度,opacity,css,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
23
+ 不透明度,opacity,css,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
24
24
  透明度,opacity,css,,colloquial; no Mosaic string,inferred
25
25
  陰影,shadow,css,box-shadow and text-shadow,colloquial; no Mosaic string,inferred
26
26
  間隙,gap,css,columnGap / rowGap,colloquial; no Mosaic string,inferred
27
- 對齊,align,css,align-items / align-self / align-content / text-align,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
28
- 顯示,display,css,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
29
- 位置,position,css,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
30
- 黏性定位,position,css,position: sticky,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
31
- 溢出,overflow,css,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
32
- 轉場,transition,css,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
33
- 變形,transform,css,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
34
- 網格,grid,css,grid-template-* / grid-auto-*; child placement emits nothing (references/facts.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
27
+ 對齊,align,css,align-items / align-self / align-content / text-align,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
28
+ 顯示,display,css,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
29
+ 位置,position,css,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
30
+ 黏性定位,position,css,position: sticky,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
31
+ 溢出,overflow,css,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
32
+ 轉場,transition,css,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
33
+ 變形,transform,css,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
34
+ 網格,grid,css,grid-template-* / grid-auto-*; child placement emits nothing (references/facts.md),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
35
35
  濾鏡,filter,css,filter and backdrop-filter,colloquial; no Mosaic string,inferred
36
36
  層級,z-index,css,,colloquial; no Mosaic string,inferred
37
- 按鈕,button,type,url -> <a>; none -> <button>; inactive -> <span>,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
38
- 文字,text,type,renders <div>; set tagName for h1-h6 / p,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
39
- 標題,text,type,a heading is a text node with tagName h1-h6,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
40
- 圖片,image,type,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
41
- 圖示,icon,type,renders inline <svg>,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
42
- 連結,button|menu-link|wysiwyg-link|dropdown-toggle,type,only these four take a url; wrap anything else in a Link-variant button,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
43
- 摺疊面板,accordion,type,nest accordion > accordion-item > accordion-title / accordion-content; designer term,zh_TW designer glossary 2026-11-05,house-style
44
- 手風琴,accordion,type,Mosaic's shipped zh_TW for Accordion,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
45
- 頁籤,tabs,type,the tab element (a browser tab stays 分頁); designer term,zh_TW designer glossary 2026-11-05,house-style
46
- 索引標籤,tabs,type,Mosaic's shipped zh_TW for Tabs / Tab,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
47
- 彈出視窗,modal,type,blocking dialog; Popover-API host since 1.0.10,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
48
- 浮動框,popover,type,non-blocking dialog (1.0.10),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
37
+ 按鈕,button,type,url -> <a>; none -> <button>; inactive -> <span>,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
38
+ 文字,text,type,renders <div>; set tagName for h1-h6 / p,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
39
+ 標題,text,type,a heading is a text node with tagName h1-h6,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
40
+ 圖片,image,type,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
41
+ 圖示,icon,type,renders inline <svg>,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
42
+ 連結,button|menu-link|wysiwyg-link|dropdown-toggle,type,only these four take a url; wrap anything else in a Link-variant button,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
43
+ 摺疊面板,accordion,type,nest accordion > accordion-item > accordion-title / accordion-content,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
44
+ 手風琴,accordion,type,Mosaic's former zh_TW for Accordion; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
45
+ 頁籤,tabs,type,the tab element (a browser tab stays 分頁),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
46
+ 索引標籤,tabs,type,Mosaic's former zh_TW for Tabs / Tab; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
47
+ 彈出視窗,modal,type,blocking dialog; Popover-API host since 1.0.10,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
48
+ 浮動框,popover,type,non-blocking dialog (1.0.10),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
49
49
  彈窗,modal|popover,type,modal blocks the page; popover does not (references/dialog-and-triggers.md),colloquial; no Mosaic string,inferred
50
50
  燈箱,modal,type,,colloquial; no Mosaic string,inferred
51
- 下拉式選單,dropdown|dropdown-wide,type,openOn hover for a desktop menu,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
52
- 導覽列,navbar,type,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
51
+ 下拉式選單,dropdown|dropdown-wide,type,openOn hover for a desktop menu,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
52
+ 導覽列,navbar,type,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
53
53
  選單,menu|menu-link|wp-menu,type,site menus: references/design-system.md,colloquial; no Mosaic string,inferred
54
54
  漢堡選單,navbar|modal,type,phone menu = navbar or a modal drawer; there is no off-canvas node,colloquial; no Mosaic string,inferred
55
- 輪播,slider,type,nest as default-children requires; bare slider is unsafe,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
56
- 表單,form|form-wrapper,type,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
57
- 選取,select,type,1.0.12 Select: select > select-toggle + select-options > select-option; the .po uses 選取 for the shared msgid Select,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
55
+ 輪播,slider,type,nest as default-children requires; bare slider is unsafe,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
56
+ 表單,form|form-wrapper,type,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
57
+ 選取,select,type,1.0.12 used 選取 for every Select; 1.0.13 keeps it only for selecting elements (msgctxt) and calls the form element 下拉式方塊,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
58
58
  下拉欄位,select,type,1.0.12 Select (select-input is gone),colloquial; no Mosaic string,inferred
59
- 影片,video|youtube|vimeo,type,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
60
- 地圖,googlemaps|openstreetmap,type,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
61
- 容器,div|section,type,section arrives with 80px top and bottom padding,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
62
- 區段,section,type,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
59
+ 影片,video|youtube|vimeo,type,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
60
+ 地圖,googlemaps|openstreetmap,type,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
61
+ 容器,div|section,type,section arrives with 80px top and bottom padding,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
62
+ 區段,section,type,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
63
63
  清單,list|list-item,type,,colloquial; no Mosaic string,inferred
64
- 元件,component-internal|component-instance,type,a spec node with "component" becomes an instance (references/design-system.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
65
- 迴圈,loop,type,local-context loopSource is @VAR('post/<loop>'),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
64
+ 元件,component-internal|component-instance,type,"a spec node with ""component"" becomes an instance (references/design-system.md)",mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
65
+ 迴圈,loop,type,local-context loopSource is @VAR('post/<loop>'),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
66
66
  程式碼,code,type,last resort; a code node's content is a template (@media( kills the page),colloquial; no Mosaic string,inferred
67
- 懸停,hover,state,designer term (Mosaic 1.0.12 ships 游標暫留),zh_TW designer glossary 2026-11-05,house-style
68
- 游標暫留,hover,state,Mosaic's shipped zh_TW for Hover,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
67
+ 懸停,hover,state,1.0.12 shipped 游標暫留),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
68
+ 游標暫留,hover,state,Mosaic's former zh_TW for Hover; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
69
69
  滑鼠移入,hover,state,,colloquial; no Mosaic string,inferred
70
- 聚焦,focus,state,,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
71
- 作用中,active,state,state ids like ___tab--active / ___slide--active,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
70
+ 聚焦,focus,state,,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
71
+ 作用中,active,state,state ids like ___tab--active / ___slide--active,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
72
72
  展開,opened,state,___accordion-item--opened / ___dropdown--opened,colloquial; no Mosaic string,inferred
73
- 斷點,breakpoint,concept,style keys _ (desktop) / _t (tablet) / _m (mobile): references/responsive.md; designer term,zh_TW designer glossary 2026-11-05,house-style
74
- 中斷點,breakpoint,concept,Mosaic's shipped zh_TW for Breakpoint: references/responsive.md,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
73
+ 斷點,breakpoint,concept,style keys _ (desktop) / _t (tablet) / _m (mobile): references/responsive.md,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
74
+ 中斷點,breakpoint,concept,Mosaic's former zh_TW for Breakpoint: references/responsive.md; Mosaic 1.0.9-1.0.12 wording,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json (replaced in 1.0.13),documented
75
75
  響應式,responsive,concept,_t / _m style keys; verify with verify_rwd.py and audit_mobile.py (references/responsive.md),colloquial; no Mosaic string,inferred
76
76
  RWD,responsive,concept,_t / _m style keys; verify with verify_rwd.py and audit_mobile.py (references/responsive.md),colloquial; no Mosaic string,inferred
77
77
  手機版,mobile,concept,the _m style key (references/responsive.md),colloquial; no Mosaic string,inferred
78
78
  平板,tablet,concept,the _t style key (references/responsive.md),colloquial; no Mosaic string,inferred
79
- 母版,master,concept,header/footer shell; build_site.py makes one per site,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
80
- 範本,template,concept,mo.py routes --grep template; references/templates-and-conditions.md,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
81
- 變體,variant,concept,mo.py classes; theme-global element classes (references/design-system.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
82
- 類別,class,concept,variants and universal classes: mo.py classes,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
83
- 變數,variable,concept,collection variables = design tokens; {"token": "--x"} in a spec (references/design-system.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
84
- 集合,collection,concept,collection of variables; modes for dark/light (references/design-system.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
85
- 模式,mode,concept,a second mode on the colour collection = dark/light (references/design-system.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
86
- 互動,interaction,concept,mo.py interactions; build with tools/interactions.py (references/interactions.md),mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
79
+ 母版,master,concept,header/footer shell; build_site.py makes one per site,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
80
+ 範本,template,concept,mo.py routes --grep template; references/templates-and-conditions.md,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
81
+ 變體,variant,concept,mo.py classes; theme-global element classes (references/design-system.md),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
82
+ 類別,class,concept,variants and universal classes: mo.py classes,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
83
+ 變數,variable,concept,"collection variables = design tokens; {""token"": ""--x""} in a spec (references/design-system.md)",mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
84
+ 集合,collection,concept,collection of variables; modes for dark/light (references/design-system.md),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
85
+ 模式,mode,concept,a second mode on the colour collection = dark/light (references/design-system.md),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
86
+ 互動,interaction,concept,mo.py interactions; build with tools/interactions.py (references/interactions.md),mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
87
87
  動畫,interaction,concept,animations are interactions (tools/interactions.py); never @keyframes in a code node,colloquial; no Mosaic string,inferred
88
- 條件,condition,concept,mo.py conditions; references/templates-and-conditions.md,mosaic 1.0.12 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
88
+ 條件,condition,concept,mo.py conditions; references/templates-and-conditions.md,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
89
89
  覆寫,override,concept,component instance overrides (references/design-system.md),zh_TW designer glossary 2026-11-05,house-style
90
90
  佈景,theme,concept,move a theme: theme_zip.py (Mosaic's ZIP) or theme_export.php / theme_import.php (references/building.md),colloquial; no Mosaic string,inferred
91
91
  主題,theme,concept,move a theme: theme_zip.py (Mosaic's ZIP) or theme_export.php / theme_import.php (references/building.md),colloquial; no Mosaic string,inferred
@@ -95,3 +95,5 @@ RWD,responsive,concept,_t / _m style keys; verify with verify_rwd.py and audit_m
95
95
  下拉選單,select|dropdown,type,a form field = select (1.0.12); a menu that drops down = dropdown,colloquial; no Mosaic string,inferred
96
96
  不安全,unsafe,concept,mo.py types --unsafe; mo.py check <types> exits 1 on one,colloquial; no Mosaic string,inferred
97
97
  付費版,pro,concept,mo.py types --edition pro,colloquial; no Mosaic string,inferred
98
+ 下拉式方塊,select,type,1.0.13 zh_TW for the Select form element (msgctxt Form element); select > select-toggle + select-options > select-option,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
99
+ 頁籤組,tabs,type,1.0.13 zh_TW for Tabs,mosaic 1.0.13 Languages/dist/mosaic-zh_TW-AppMosaicEditor.json,documented
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mosaic-headless",
3
- "version": "1.37.0",
3
+ "version": "1.38.0",
4
4
  "description": "AI-agent skill: build Mosaic Pro (Nextend) WordPress sites by writing the underlying data model directly - 23 custom tables, no visual editor, no DOM. Every node type, style property and node property swept against a live install and asserted on the delivered HTML and compiled CSS. Installs into Claude Code, Cursor, Codex CLI, Gemini CLI, Copilot, Continue, Windsurf and Claude.ai.",
5
5
  "keywords": [
6
6
  "wordpress",
@@ -91,12 +91,12 @@ Moved out of SKILL.md on 2026-11-16 (skill SOP pass). `scripts/check-release.mjs
91
91
  | `data/menu-verification.csv` | 34 | **driven live** - every way to build a site menu on one page: hover dropdown and mega panel (mouse, keyboard, touch tablet), and three phone menus (modal drawer, navbar, the tutorial's click panel) on a 390px touch phone - Esc, focus trap and return, aria, scroll lock, a sticky header over the close button |
92
92
  | `data/intro-verification.csv` | 8 + 15 | **sampled live** - the entrance sequence over fifteen timestamps on a monotonic clock, plus the eight assertions about it |
93
93
  | `data/variants.csv` | 157 | **live** — the variant catalog (Mosaic's built-in element classes); their IDs are what a `variant` record must use, and `class_name` is what the element emits |
94
- | `data/dynamic-variables.csv` | 75 | source — every `@VAR('ns/name')` expression, by namespace |
94
+ | `data/dynamic-variables.csv` | 76 | source — every `@VAR('ns/name')` expression, by namespace |
95
95
  | `data/evaluator-functions.csv` | 19 | source — the `@` functions with their arity |
96
96
  | `data/interaction-types.csv` | 16 | source — trigger types, `timed` vs `progress`; 1.0.9 added exitIntent, scrollDepth and modal, 1.0.10 adds popover (Popover visibility change: show / beforeClose / afterClose) |
97
97
  | `data/animatable-properties.csv` | 22 | source — what a keyframe can drive (**not** the same set as the style properties) |
98
98
  | `data/condition-subjects.csv` | 59 | **live** — condition subjects per context |
99
99
  | `data/condition-comparators.csv` | 12 | **live** — comparators and their operator sets, captured on 1.0.9; the two date rows carry 1.0.10's four operators (after, after-or-equal, before, before-or-equal) from its source |
100
- | `data/pluggables.csv` | 285 | source — every `setID()` by registry |
100
+ | `data/pluggables.csv` | 305 | source — every `setID()` by registry |
101
101
  | `data/rest-routes.csv` | 115 | **live** — method, path, args |
102
102
  | `data/db-columns.csv` | 210 | **live** — every column of all 23 tables |
@@ -406,3 +406,48 @@ those posts have no Mosaic template (`TemplateNotFoundException`).
406
406
  command said `--post 21`, which on this site is an unrelated probe page; its
407
407
  content was replaced and `/probe-recipes/` kept serving an older build. Look the
408
408
  ID up first.
409
+
410
+ ## 1.0.12 → 1.0.13
411
+
412
+ Released 2026-11-17. Read from the Pro package and diffed against 1.0.12.
413
+
414
+ **On the live site (2026-11-17):** `wp plugin update mosaic` -> "Updated 1 of 1",
415
+ directory permissions normal, `dataVersion` still 1.0.12. Health check over every
416
+ published page, throttled to 1.5 s a page because the host was loaded: 90 of 90
417
+ answered as before (88 × 200, the front page's own permalink 301, checkout 302),
418
+ no page's size moved more than 1.25%, Mosaic markup present on the same pages.
419
+ No duplicate roots before or after (0 groups, 238 roots). The demo verifiers and
420
+ sweeps have not been re-run on 1.0.13 yet.
421
+
422
+ **No data migration.** `defines.php` says `version 1.0.13`, `dataVersion 1.0.12`.
423
+ Minimums in `defines.json`: PHP 8.2, WordPress 6.9.
424
+
425
+ **Re-extracted** (`check_tables.py`: every source table matches):
426
+
427
+ | table | change |
428
+ |---|---|
429
+ | node types, properties, placement, default children, style properties, states, interactions | unchanged |
430
+ | `dynamic-variables.csv` | `@VAR('site/timestamp_gmt')` added; `site/timestamp` is now labelled "Local timestamp", `user/user_registered` "Register datetime GMT" |
431
+ | `pluggables.csv` | +20: the ACPT integration (option pages, tables as a dynamic source, its filter subjects and `random` order) and `date` / `time` meta comparators |
432
+ | node type labels | `Select` and `Toggle` are now `esc_html_x()` with a context; `extract_node_types.py` reads the `_x` form |
433
+
434
+ **Translation.** The zh_TW strings now carry the designer glossary (內距, 外距,
435
+ 邊框, 圓角, 懸停, 斷點, 摺疊面板, 頁籤), and Fixed / Select / Snap / Toggle /
436
+ Scale down each have a msgctxt (the form element Select is 下拉式方塊).
437
+ `data/terms-zh.csv` maps both the 1.0.13 and the 1.0.9-1.0.12 wording.
438
+
439
+ **Changed in PHP, not yet measured:** interaction and action uuids are re-mapped
440
+ when a document is copied (`InteractionDataSub`, `ActionDataSub`), which matters to
441
+ `theme_zip.py` and duplicate; ACF date / time values and ACPT tables in loops and
442
+ conditions; length-validation messages.
443
+
444
+ **Changelog items that live in the editor (JS) and need a live measurement before
445
+ the skill can write them:** new collection-variable types (background / gradient,
446
+ box shadow, text shadow, nested variables; font size and line height take a
447
+ variable); the List element's Vertical / Horizontal / Ordered / Unordered classes;
448
+ pageLoad delay; the scroll-direction offset; Slider / Tabs / Dropdown / Accordion
449
+ interactions (the trigger ids were already in 1.0.12's source); Hide / Show in
450
+ Editor actions; the accordion "all open" option; Style Guides renamed External
451
+ Styles, with Gutenberg Styles. The dynamic-data function "renames" (`@FIND_IMAGE`
452
+ ...) change the docs, not the evaluator: the ids already had underscores in 1.0.12
453
+ (`references/dynamic-content.md`).
@@ -97,12 +97,12 @@ RULES: list[tuple[str, str, str]] = [
97
97
  (r"Measured on Mosaic Pro 1\.0\.10", "fixed", "version the popover / modal / trigger features were measured on (verification-record.md)"),
98
98
  (r"1\.0\.7 -> 1\.0\.10 data upgrades", "fixed", "upgrade range driven over the milestone route (upgrading.md)"),
99
99
  (r"re-verified on 1\.0\.11 and 1\.0\.12", "fixed", "plugin versions of the latest re-extraction"),
100
- (r"\*\*Mosaic Pro 1\.0\.12\*\*", "fixed", "current measured plugin version (CLAUDE.md: the demo site stays on 1.0.12)"),
100
+ (r"\*\*Mosaic Pro 1\.0\.13\*\*", "fixed", "plugin version the source tables were last re-extracted from (upgrading.md)"),
101
+ (r"1\.0\.13's editor-side features", "fixed", "same version; its editor features are not measured yet"),
101
102
  (r"WordPress 7\.1 \+ WooCommerce 11\.1", "fixed", "test site stack (verification-record.md)"),
102
103
  (r"from 1\.0\.7 to 1\.0\.12", "fixed", "upgrade history of the test site"),
103
104
  (r"Node sweep: 133 of 134 types on 1\.0\.11 / 1\.0\.12", "fixed", "document is the one type excluded from the sweep"),
104
- (r"the 2026-11-05 designer glossary", "fixed", "date the zh_TW designer glossary was decided"),
105
- (r"2026-11-16: offline self-test", "fixed", "date of the last full self-test + number check"),
105
+ (r"2026-11-17: offline self-test", "fixed", "date of the last full self-test + number check"),
106
106
  (r"since 1\.0\.11", "fixed", "version that escapes text-run markup (facts.md)"),
107
107
  (r"since 1\.0\.10", "fixed", "version that renamed the scrollDepth slot (facts.md)"),
108
108
  (r"\(1\.0\.11\+\)", "fixed", "same: 1.0.11 escapes text-run markup"),
@@ -119,6 +119,55 @@ RULES: list[tuple[str, str, str]] = [
119
119
  ]
120
120
 
121
121
 
122
+ # ---------------------------------------------------------------------------
123
+ # The four READMEs (en / zh-TW / ja / ko): same facts, each language's wording
124
+ # ---------------------------------------------------------------------------
125
+ READMES = ["README.md", "README.zh-TW.md", "README.ja.md", "README.ko.md"]
126
+
127
+
128
+ def _readme_facts() -> dict:
129
+ f = _facts()
130
+ bv = ROOT / "data" / "browser-verification"
131
+ browser = sum(len(_rows_path(p)) for p in sorted(bv.glob("*.csv")))
132
+ tests = len(re.findall(r"^\s+def test_", (HERE / "test_mosaic.py").read_text(encoding="utf-8"), re.M))
133
+ res = (ROOT / "evals" / "RESULTS.md").read_text(encoding="utf-8")
134
+ m = re.search(r"計分題答對率((\d+) 題) \| \*\*(\d+)/\d+([^|]*\| (\d+)/\d+", res)
135
+ f.update({
136
+ "rwd": str(len(_rows("rwd-verification"))),
137
+ "browser": f"{browser:,}",
138
+ "tests": str(tests),
139
+ "eval_n": m.group(1), "eval_with": m.group(2), "eval_without": m.group(3),
140
+ })
141
+ return f
142
+
143
+
144
+ def _rows_path(p) -> list[dict]:
145
+ with open(p, encoding="utf-8", newline="") as fh:
146
+ return list(csv.DictReader(fh))
147
+
148
+
149
+ README_RULES: list[tuple[str, str, str]] = [
150
+ (r"(\d+) ?(?:node types|種 node type|個の node type|개 node type)", "fact", "node_types"),
151
+ (r"(\d+) ?(?:node properties|個 node 屬性|個の node プロパティ|개 node 속성)", "fact", "prop_names"),
152
+ (r"(\d+) ?(?:style properties|個樣式屬性|個のスタイルプロパティ|개 스타일 속성)", "fact", "style_props"),
153
+ (r"(\d+) ?(?:style states|個樣式狀態|個のスタイル状態|개 스타일 상태)", "fact", "states"),
154
+ (r"(\d+) ?(?:responsive declarations|條 RWD 宣告|件のレスポンシブ宣言|개 반응형 선언)", "fact", "rwd"),
155
+ (r"(\d{1,3}(?:,\d{3})+|\d+) ?(?:computed-style readings|筆三種寬度|件の計算後スタイル|개의 계산된 스타일)", "fact", "browser"),
156
+ (r"(?:`, (\d+) offline tests|,(\d+) 項離線測試|オフラインの (\d+) 項目|오프라인 테스트 (\d+)개)", "fact", "tests"),
157
+ (r"(\d+) ?(?:questions about|題 Mosaic|問。|문항)", "fact", "eval_n"),
158
+ (r"(?:with the skill|(?<!沒)有 skill|skill ありで|skill 사용 시) (\d+)/\d+", "fact", "eval_with"),
159
+ (r"(?:with the skill|(?<!沒)有 skill|skill ありで|skill 사용 시) \d+/(\d+)", "fact", "eval_n"),
160
+ (r"(?:without it|沒有 skill|なしで|미사용 시) (\d+)/\d+", "fact", "eval_without"),
161
+ (r"(?:without it|沒有 skill|なしで|미사용 시) \d+/(\d+)", "fact", "eval_n"),
162
+ (r"Mosaic Pro (?:up to )?1\.0\.13|1\.0\.13 ?(?:editor|編輯器|のエディター|에디터)", "fixed", "plugin version the data was last extracted from / measured to (upgrading.md)"),
163
+ (r"Mosaic 1\.0\.10 ?(?:to|到|〜|~) ?1\.0\.12", "fixed", "version range the eval questions cover (evals/cases.json)"),
164
+ (r"Python 3", "fixed", "runtime requirement"),
165
+ (r"\bH1\b", "fixed", "an HTML heading level in an example prompt"),
166
+ (r"exits 1|exit code 1|終了コードは 1|종료 코드는 1", "fixed", "mo.py check's exit code (shown by running it)"),
167
+ (r"3 ステップ|3단계|1 つずつ|1 つにつき 1 行|1 つのサイト|3 つの画面幅|제3자", "fixed", "wording, not a measurement"),
168
+ ]
169
+
170
+
122
171
  # ---------------------------------------------------------------------------
123
172
  # Engine (copied from line-api / elementor-headless)
124
173
  # ---------------------------------------------------------------------------
@@ -140,28 +189,33 @@ def _masked(text: str, keep_inline: bool = False) -> str:
140
189
  return text
141
190
 
142
191
 
143
- def check(path: Path = SKILL_MD, fix: bool = False) -> tuple[list[str], int]:
192
+ def check(path: Path = SKILL_MD, fix: bool = False, rules=None, facts=None,
193
+ allow_unused: bool = False) -> tuple[list[str], int]:
144
194
  """(problems, numbers checked). fix=True rewrites drifted facts in place."""
195
+ rules = RULES if rules is None else rules
145
196
  text = path.read_text(encoding="utf-8")
146
197
  scan = _masked(text)
147
198
  match_view = _masked(text, keep_inline=True)
148
- facts = _facts()
199
+ facts = _facts() if facts is None else facts
149
200
  problems: list[str] = []
150
201
  covered: set[int] = set()
151
202
  edits: list[tuple[int, int, str]] = []
152
203
 
153
- for pattern, kind, arg in RULES:
204
+ for pattern, kind, arg in rules:
154
205
  found = list(re.finditer(pattern, match_view, re.M))
155
206
  if not found:
156
- problems.append(f"rule unused (SKILL.md wording changed?): {pattern}")
207
+ if not allow_unused:
208
+ problems.append(f"rule unused ({path.name} wording changed?): {pattern}")
157
209
  continue
158
210
  for m in found:
159
- span = m.span(1) if m.re.groups else m.span()
211
+ # the claimed number is the first group that matched (alternatives per language)
212
+ gi = next((i for i in range(1, (m.re.groups or 0) + 1) if m.group(i) is not None), 0)
213
+ span = m.span(gi) if gi else m.span()
160
214
  covered.update(range(*m.span()))
161
215
  if kind == "fact":
162
216
  got, want = text[span[0]:span[1]], facts[arg]
163
217
  if got != want:
164
- problems.append(f"fact {arg}: SKILL.md says {got}, data says {want}")
218
+ problems.append(f"fact {arg}: {path.name} says {got}, data says {want}")
165
219
  edits.append((span[0], span[1], want))
166
220
 
167
221
  line_of = lambda pos: text.count("\n", 0, pos) + 1 # noqa: E731
@@ -180,16 +234,25 @@ def main() -> int:
180
234
  ap = argparse.ArgumentParser(description=__doc__.split("\n")[1])
181
235
  ap.add_argument("--fix", action="store_true", help="rewrite drifted facts in SKILL.md")
182
236
  args = ap.parse_args()
237
+ bad = 0
183
238
  problems, n = check(fix=args.fix)
184
- if not problems:
185
- print(f"all {n} numbers in SKILL.md are claimed and match the data.")
186
- return 0
187
- print(f"SKILL.md has {len(problems)} number problem(s):")
188
- for p in problems:
189
- print(" x", p)
190
- if args.fix:
239
+ report = [("SKILL.md", problems, n)]
240
+ rf = _readme_facts()
241
+ for name in READMES:
242
+ # each README uses its own language's alternatives, so a rule may be unused in one file
243
+ p, k = check(ROOT / name, fix=args.fix, rules=README_RULES, facts=rf, allow_unused=True)
244
+ report.append((name, p, k))
245
+ for name, p, k in report:
246
+ if not p:
247
+ print(f"{name}: all {k} numbers are claimed and match the data.")
248
+ continue
249
+ bad += 1
250
+ print(f"{name} has {len(p)} number problem(s):")
251
+ for x in p:
252
+ print(" x", x)
253
+ if bad and args.fix:
191
254
  print("(facts rewritten; the rest needs a human)")
192
- return 1
255
+ return 1 if bad else 0
193
256
 
194
257
 
195
258
  if __name__ == "__main__":
@@ -39,7 +39,9 @@ RE_OPTS = re.compile(r"'(supportsInherit|isResponsive|supportsState|allowDuplica
39
39
  # createValidatorAcceptedValues([...]) is Mosaic's enum; the list is the only place
40
40
  # the legal values for a property are written down
41
41
  RE_ACCEPTED = re.compile(r"createValidatorAcceptedValues\s*\(\s*\[(.*?)\]", re.S)
42
- RE_LABEL_TEXT = re.compile(r"__\(\s*'([^']*)'")
42
+ # __('X') / esc_html__('X'), and since 1.0.13 the context forms _x('X', 'ctx') /
43
+ # esc_html_x('X', 'ctx') - the label is the first argument either way
44
+ RE_LABEL_TEXT = re.compile(r"(?:__|_x)\(\s*'([^']*)'")
43
45
  RE_RESERVED = re.compile(r"setReservedAttributes\s*\(\s*\[(.*?)\]", re.S)
44
46
 
45
47
 
@@ -171,9 +171,14 @@ class TermsTable(unittest.TestCase):
171
171
 
172
172
  def test_designer_glossary_present(self):
173
173
  by = {r["zh"]: r for r in self.terms}
174
+ # the 2026-11-05 designer glossary, shipped by Mosaic from 1.0.13
174
175
  for zh, en in (("內距", "padding"), ("外距", "margin"), ("懸停", "hover"), ("斷點", "breakpoint")):
175
176
  self.assertEqual(by[zh]["en"], en)
176
- self.assertEqual(by[zh]["trust"], "house-style")
177
+ self.assertEqual(by[zh]["trust"], "documented")
178
+ self.assertIn("1.0.13", by[zh]["source"])
179
+ # the wording it replaced still resolves, for sites on 1.0.12 and earlier
180
+ for zh in ("邊框間距", "邊界", "游標暫留", "中斷點"):
181
+ self.assertIn("replaced in 1.0.13", by[zh]["source"])
177
182
 
178
183
 
179
184
  class BuildPageOffline(unittest.TestCase):
@@ -330,6 +335,37 @@ class SkillDoc(unittest.TestCase):
330
335
  problems, _ = check_numbers.check()
331
336
  self.assertEqual(problems, [])
332
337
 
338
+ def test_readme_numbers_claimed(self):
339
+ import check_numbers
340
+ from pathlib import Path
341
+ facts = check_numbers._readme_facts()
342
+ for name in check_numbers.READMES:
343
+ problems, _ = check_numbers.check(Path(ROOT) / name, rules=check_numbers.README_RULES,
344
+ facts=facts, allow_unused=True)
345
+ self.assertEqual(problems, [], name)
346
+ text = read(name)
347
+ # every README states the headline facts, not just the ones it happens to mention
348
+ for key in ("node_types", "rwd", "browser", "tests", "eval_with", "eval_without"):
349
+ self.assertIn(facts[key], text, "%s lacks %s" % (name, key))
350
+
351
+ def test_readme_sections(self):
352
+ # README style (總機/README風格.md): the same 10 sections, in order, in every language
353
+ heads = {
354
+ "README.md": ["What it does", "When to use", "Install", "Quick start", "Trigger phrases",
355
+ "What it runs and connects to", "How it's verified", "Limits",
356
+ "Repo layout", "License & author"],
357
+ "README.zh-TW.md": ["功能", "適用情境", "安裝", "快速開始", "觸發詞", "會執行與連線的內容",
358
+ "驗證方式", "限制", "目錄結構", "授權與作者"],
359
+ }
360
+ for name in ("README.md", "README.zh-TW.md", "README.ja.md", "README.ko.md"):
361
+ text = read(name)
362
+ found = re.findall(r"^## (.+)$", text, re.M)
363
+ self.assertEqual(len(found), 10, name)
364
+ if name in heads:
365
+ self.assertEqual(found, heads[name], name)
366
+ self.assertLessEqual(text.count("\n"), 250, name)
367
+ self.assertIn("Nextend", text, name)
368
+
333
369
  def test_links_resolve(self):
334
370
  text = read("SKILL.md")
335
371
  for target in re.findall(r"\]\(([^)#]+)\)", text):
@@ -359,6 +395,22 @@ class DataFiles(unittest.TestCase):
359
395
  checked += 1
360
396
  self.assertGreater(checked, 40)
361
397
 
398
+ def test_no_demo_host_or_server_ids(self):
399
+ # the demo site's host and its hosting ids must not ship (Claude directory
400
+ # review; skill README rules). Built from parts so this file does not match.
401
+ bad = ["mosaic." + "moksaweb.com", "1469" + "814", "6656" + "199", "159.65." + "134.149"]
402
+ tracked = subprocess.run(["git", "ls-files", "-z"], cwd=ROOT, capture_output=True,
403
+ text=True).stdout.split("\0")
404
+ hits = []
405
+ for rel in filter(None, tracked):
406
+ path = os.path.join(ROOT, rel)
407
+ if not os.path.isfile(path) or rel.endswith((".png", ".jpg", ".ico")):
408
+ continue
409
+ with open(path, encoding="utf-8", errors="ignore") as fh:
410
+ text = fh.read()
411
+ hits += ["%s: %s" % (rel, b) for b in bad if b in text]
412
+ self.assertEqual(hits, [])
413
+
362
414
  def test_pending_columns(self):
363
415
  r = rows("pending.csv")
364
416
  self.assertTrue(r)