ant-design/components/button/demo
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
..
_semantic.tsx chore: sync feature into next 2025-05-24 09:06:29 +08:00
basic.md docs: update button doc desc (#50770) 2024-09-09 22:30:49 +08:00
basic.tsx demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
block.md docs: improved grammar on certain documentation pages (#49374) 2024-06-12 14:27:15 +08:00
block.tsx demo: update Button demo layout to Flex Component (#45566) 2023-10-29 02:11:17 +08:00
chinese-chars-loading.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
chinese-chars-loading.tsx demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
chinese-space.md demo: tweak Button demos gap (#52071) 2024-12-20 16:59:31 +08:00
chinese-space.tsx demo: tweak Button demos gap (#52071) 2024-12-20 16:59:31 +08:00
color-variant.md feat(Button): support variant and color (#50051) 2024-09-03 17:39:02 +08:00
color-variant.tsx docs(button): update Flex gap from 'middle' to 'small' in color-variant demo (#52307) 2025-01-08 22:19:04 +08:00
component-token.md feat: button component token (#44090) 2023-08-08 14:03:31 +08:00
component-token.tsx chore: merge master 2025-02-18 19:56:12 +08:00
custom-disabled-bg.md feat: Customize background colors of default & dashed buttons in disabled state (#52839) 2025-03-13 15:28:42 +08:00
custom-disabled-bg.tsx feat: Customize background colors of default & dashed buttons in disabled state (#52839) 2025-03-13 15:28:42 +08:00
danger.md docs: improved grammar on certain documentation pages (#49374) 2024-06-12 14:27:15 +08:00
danger.tsx demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
debug-block.md fix: Button block prop not work (#39992) 2023-01-06 09:46:00 +08:00
debug-block.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00
debug-color-variant.md fix(button): type=link error token & add prefix cls (color/variant) & specificity too high (#50962) 2024-09-24 23:52:50 +08:00
debug-color-variant.tsx test: fix test case (#52224) 2025-01-03 17:38:14 +08:00
debug-icon.md docs: improve component demo style (#38598) 2022-11-17 13:20:58 +08:00
debug-icon.tsx feat(Divider): unify orientation attribute usage (#53645) 2025-06-03 14:09:56 +08:00
disabled.md docs: improve component demo style (#38598) 2022-11-17 13:20:58 +08:00
disabled.tsx demo: update Button demo layout to Flex Component (#45566) 2023-10-29 02:11:17 +08:00
ghost.md docs: improved grammar on certain documentation pages (#49374) 2024-06-12 14:27:15 +08:00
ghost.tsx demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
icon-position.md docs: Icon button English document typo fixed (#49684) 2024-07-02 19:50:48 +08:00
icon-position.tsx feat(Divider): unify orientation attribute usage (#53645) 2025-06-03 14:09:56 +08:00
icon.md docs(button): delete useless introductions (#49820) 2024-07-11 11:52:12 +08:00
icon.tsx docs: add target properties to all external url link (#51917) 2024-12-06 10:28:15 +08:00
legacy-group.md docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
legacy-group.tsx chore: Add type util (#46923) 2024-01-11 15:55:58 +08:00
linear-gradient.md docs: improved grammar on certain documentation pages (#49374) 2024-06-12 14:27:15 +08:00
linear-gradient.tsx fix(Button): align buttons with and without icons consistently (#52070) 2024-12-23 17:09:07 +08:00
loading.md feat: Button support custom loading icon (#51758) 2024-11-25 10:08:50 +08:00
loading.tsx chore: merge master to feature 2024-12-23 21:23:08 +08:00
multiple.md docs: unify component export file as index.tsx (#50013) 2024-07-23 22:22:24 +08:00
multiple.tsx demo: update Button demo layout to Flex Component (#45566) 2023-10-29 02:11:17 +08:00
size.md docs: improved grammar on certain documentation pages (#49374) 2024-06-12 14:27:15 +08:00
size.tsx feat(Divider): unify orientation attribute usage (#53645) 2025-06-03 14:09:56 +08:00