feat(Masonry): 对齐 antd item 动效与 RTL 镜像并同步文档与示例文案

This commit is contained in:
chinboy
2026-09-15 09:53:03 +08:00
parent 955d77b792
commit 50abd88be7
20 changed files with 1307 additions and 97 deletions
@@ -78,22 +78,22 @@
</unit>
<unit id="SemanticFunctionStylesTitle">
<segment>
<source>classNames and styles Function</source>
<source>Style matched by property state</source>
</segment>
</unit>
<unit id="SemanticItemDescription">
<segment>
<source>Item element, sets absolute positioning, width calculation, transition animation and masonry item styles.</source>
<source>Item container measured, column-assigned and arranged by the masonry layout, carrying the Masonry.Column and Masonry.Span metadata.</source>
</segment>
</unit>
<unit id="SemanticObjectStylesTitle">
<segment>
<source>classNames and styles Object</source>
<source>Style matched by class</source>
</segment>
</unit>
<unit id="SemanticPartStyleDescription">
<segment>
<source>You can customize the semantic dom style of Masonry by passing objects/functions through `classNames` and `styles`.</source>
<source>Use owner-scoped styles and the MasonryItemStyle semantic part style to customize Masonry's published Semantic Parts.</source>
</segment>
</unit>
<unit id="SemanticPartStyleTitle">
@@ -103,7 +103,7 @@
</unit>
<unit id="SemanticRootDescription">
<segment>
<source>Root element, sets relative positioning, flex layout and masonry container styles.</source>
<source>Root element, provides the root chrome, column and gutter layout inputs, and the ItemsControl entry.</source>
</segment>
</unit>
</file>
@@ -93,26 +93,26 @@
</unit>
<unit id="SemanticFunctionStylesTitle">
<segment>
<source>classNames and styles Function</source>
<target state="translated">classNames e styles Function</target>
<source>Style matched by property state</source>
<target state="translated">Estilo correspondido por estado de propriedade</target>
</segment>
</unit>
<unit id="SemanticItemDescription">
<segment>
<source>Item element, sets absolute positioning, width calculation, transition animation and masonry item styles.</source>
<target state="translated">Elemento de item, define posicionamento absoluto, cálculo de largura, animação de transição e estilos de item masonry.</target>
<source>Item container measured, column-assigned and arranged by the masonry layout, carrying the Masonry.Column and Masonry.Span metadata.</source>
<target state="translated">Contêiner de item medido, atribuído a colunas e organizado pelo layout masonry, carregando os metadados Masonry.Column e Masonry.Span.</target>
</segment>
</unit>
<unit id="SemanticObjectStylesTitle">
<segment>
<source>classNames and styles Object</source>
<target state="translated">classNames e styles Object</target>
<source>Style matched by class</source>
<target state="translated">Estilo correspondido por classe</target>
</segment>
</unit>
<unit id="SemanticPartStyleDescription">
<segment>
<source>You can customize the semantic dom style of Masonry by passing objects/functions through `classNames` and `styles`.</source>
<target state="translated">Você pode personalizar o estilo semantic dom do Masonry passando objetos/funções por meio de `classNames` e `styles`.</target>
<source>Use owner-scoped styles and the MasonryItemStyle semantic part style to customize Masonry's published Semantic Parts.</source>
<target state="translated">Use estilos com escopo de owner e o estilo de parte semântica MasonryItemStyle para personalizar as Semantic Parts publicadas do Masonry.</target>
</segment>
</unit>
<unit id="SemanticPartStyleTitle">
@@ -123,8 +123,8 @@
</unit>
<unit id="SemanticRootDescription">
<segment>
<source>Root element, sets relative positioning, flex layout and masonry container styles.</source>
<target state="translated">Elemento raiz, define posicionamento relativo, layout flex e estilos do contêiner masonry.</target>
<source>Root element, provides the root chrome, column and gutter layout inputs, and the ItemsControl entry.</source>
<target state="translated">Elemento raiz, fornece o chrome raiz, as entradas de layout de colunas e espaçamento, e a entrada do ItemsControl.</target>
</segment>
</unit>
</file>
@@ -93,26 +93,26 @@
</unit>
<unit id="SemanticFunctionStylesTitle">
<segment>
<source>classNames and styles Function</source>
<target state="translated">classNames 和 styles 函数</target>
<source>Style matched by property state</source>
<target state="translated">按属性状态命中的样式</target>
</segment>
</unit>
<unit id="SemanticItemDescription">
<segment>
<source>Item element, sets absolute positioning, width calculation, transition animation and masonry item styles.</source>
<target state="translated">项目元素,用于设置绝对定位、宽度计算、过渡动画和 Masonry 项目样式。</target>
<source>Item container measured, column-assigned and arranged by the masonry layout, carrying the Masonry.Column and Masonry.Span metadata.</source>
<target state="translated">条目容器,由瀑布流布局测量、分配列并排列,承载 Masonry.Column 与 Masonry.Span 元数据。</target>
</segment>
</unit>
<unit id="SemanticObjectStylesTitle">
<segment>
<source>classNames and styles Object</source>
<target state="translated">classNames 和 styles 对象</target>
<source>Style matched by class</source>
<target state="translated">按 class 命中的样式</target>
</segment>
</unit>
<unit id="SemanticPartStyleDescription">
<segment>
<source>You can customize the semantic dom style of Masonry by passing objects/functions through `classNames` and `styles`.</source>
<target state="translated">你可以通过 `classNames` 和 `styles` 传入对象或函数,来自定义 Masonry 的语义 DOM 样式。</target>
<source>Use owner-scoped styles and the MasonryItemStyle semantic part style to customize Masonry's published Semantic Parts.</source>
<target state="translated">使用 owner 作用域样式和 MasonryItemStyle 语义部件专用样式,定制 Masonry 已发布的 Semantic Part。</target>
</segment>
</unit>
<unit id="SemanticPartStyleTitle">
@@ -123,8 +123,8 @@
</unit>
<unit id="SemanticRootDescription">
<segment>
<source>Root element, sets relative positioning, flex layout and masonry container styles.</source>
<target state="translated">根元素,用于设置相对定位、flex 布局和 Masonry 容器样式。</target>
<source>Root element, provides the root chrome, column and gutter layout inputs, and the ItemsControl entry.</source>
<target state="translated">根元素,提供根 chrome、列数与间距布局输入,以及 ItemsControl 输入入口。</target>
</segment>
</unit>
</file>
@@ -93,26 +93,26 @@
</unit>
<unit id="SemanticFunctionStylesTitle">
<segment>
<source>classNames and styles Function</source>
<target state="translated">classNames 和 styles 函式</target>
<source>Style matched by property state</source>
<target state="translated">按屬性狀態命中的樣式</target>
</segment>
</unit>
<unit id="SemanticItemDescription">
<segment>
<source>Item element, sets absolute positioning, width calculation, transition animation and masonry item styles.</source>
<target state="translated">項目元素,用於設定絕對定位、寬度計算、過渡動畫與 Masonry 項目樣式。</target>
<source>Item container measured, column-assigned and arranged by the masonry layout, carrying the Masonry.Column and Masonry.Span metadata.</source>
<target state="translated">條目容器,由瀑布流版面測量、分配欄並排列,承載 Masonry.Column 與 Masonry.Span 中繼資料。</target>
</segment>
</unit>
<unit id="SemanticObjectStylesTitle">
<segment>
<source>classNames and styles Object</source>
<target state="translated">classNames 和 styles 物件</target>
<source>Style matched by class</source>
<target state="translated">按 class 命中的樣式</target>
</segment>
</unit>
<unit id="SemanticPartStyleDescription">
<segment>
<source>You can customize the semantic dom style of Masonry by passing objects/functions through `classNames` and `styles`.</source>
<target state="translated">你可以透過 `classNames` 和 `styles` 傳入物件或函式,自訂 Masonry 的語義 DOM 樣式。</target>
<source>Use owner-scoped styles and the MasonryItemStyle semantic part style to customize Masonry's published Semantic Parts.</source>
<target state="translated">使用 owner 作用域樣式和 MasonryItemStyle 語義部件專用樣式,定制 Masonry 已發布的 Semantic Part。</target>
</segment>
</unit>
<unit id="SemanticPartStyleTitle">
@@ -123,8 +123,8 @@
</unit>
<unit id="SemanticRootDescription">
<segment>
<source>Root element, sets relative positioning, flex layout and masonry container styles.</source>
<target state="translated">根元素,用於設定相對定位、flex 版面與 Masonry 容器樣式。</target>
<source>Root element, provides the root chrome, column and gutter layout inputs, and the ItemsControl entry.</source>
<target state="translated">根元素,提供根 chrome、欄數與間距版面輸入,以及 ItemsControl 輸入入口。</target>
</segment>
</unit>
</file>