ant-design/components/grid
EmilyyyLiu b1467d6ec8
feat(Divider): unify orientation attribute usage (#53645)
* feat[Divider]: Unified use of orientation attribute

* feat: Restore the size type missed in the merge

* feat: Delete unnecessary demo adjustments

* docs: change text

* feat: deprecated warning

* Update components/divider/index.zh-CN.md

Signed-off-by: thinkasany <480968828@qq.com>

* Update components/divider/index.en-US.md

Signed-off-by: thinkasany <480968828@qq.com>

* feat: use useOrientation and change test,doc

* feat: change demos orientation attribut

* docs: change token and demo (orientationMargin->titlePlacementMargin)

* feat: change demos  titlePlacement="left/right" -> "start/end"

* docs: titlePlacement align

* feat: Resolve merge conflicts

* fix: lint error

* fix: demo lint error

* feat: use mergedStyles.content

* test: update snapshot

* rerun ci

* test: update snapshot

* fix: delete titlePlacementMargin and udpate snapshots

* feat: change demos orientationMargin-> styles.content.margin

* Update components/divider/demo/vertical.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* feat: Call warning using list

* docs: `vertical` to make the divider vertical.

* docs: Modify punctuation usage

* docs: Add deprecated description

* docs: Clarify the possible values for titlePlacement in the example

* feat: replase  { margin: '0' } ->{ margin: 0 }

---------

Signed-off-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-06-03 14:09:56 +08:00
..
__tests__ feat: ConfigProvider support classNames and styles for divider (#53890) 2025-05-27 15:48:52 +08:00
demo feat(Divider): unify orientation attribute usage (#53645) 2025-06-03 14:09:56 +08:00
hooks feat: [v6] new component Masonry (#52162) 2025-03-05 17:15:14 +08:00
style feat: Modal width support responsive size (#51653) 2024-11-18 10:27:59 +08:00
col.tsx feat: use cssVar by default (#52671) 2025-02-24 15:35:29 +08:00
index.en-US.md site: update site/demo style (#50107) 2024-07-27 16:13:25 +08:00
index.tsx docs: unify component export file as index.tsx (#50013) 2024-07-23 22:22:24 +08:00
index.zh-CN.md docs: correct screen width => window width (#52306) 2025-01-08 21:38:47 +08:00
row.tsx feat: use cssVar by default (#52671) 2025-02-24 15:35:29 +08:00
RowContext.ts refactor: remove Space & Grid IE compatible logic (#44620) 2023-09-05 10:17:56 +08:00