Muhammad Abuzar
49cf576f46
docs: documentation improvement ( #51442 )
...
* Update index.en-US.md
Corrected a grammar error in shape prop
Signed-off-by: Muhammad Abuzar <muhammadabuzar010@gmail.com>
* Update components/button/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
* Update components/button/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: Muhammad Abuzar <muhammadabuzar010@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-10-31 08:04:11 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
lijianan
5b467654aa
feat: FloatButton support button htmlType ( #50892 )
2024-09-17 17:15:26 +08:00
二货爱吃白萝卜
fbf8b10425
docs: update button doc desc ( #50770 )
...
Co-authored-by: ice <1597834867@qq.com>
2024-09-09 22:30:49 +08:00
ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages ( #49374 )
...
* button documentation grammar fixes
* english float button documentation changes
* english documentation grammar changes for icons
* english typography documentation grammar changes
* english divider documenation changes
* english layout documentation fixes
* english cascader documentation improvements
* english color-picker documentation changes
* english date-picker documentation changes
* english form documentation changes
* English documentation changes for select
* English documentation changes for slider
* English documentation changes for time-picker
* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
lijianan
6a7945d2fd
feat: Button support autoInsertSpace prop ( #48348 )
...
* feat: Button support autoInsertSpaceInButton prop
* demo: update demo
* fix: fix
* test: add test case
* docs: update docs
* chore: deprecated autoInsertSpaceInButton prop
* Update components/button/button.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* Update components/button/button.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* Update components/button/button.tsx
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-04-11 15:29:10 +08:00
叶枫
6dcd6e2dc1
feat: merge master
2024-04-08 14:37:05 +08:00
George H
14f8279aea
feat: Support iconPosition with button icon ( #47791 )
...
* feat: button support iconPosition
* fix: iconPosition compatible LoadingIcon
* docs(Button): update Button with iconPosition demo
* fix: delete debug type
* fix: iconPosition for InnerLoadingIcon with not existIcon
* chore: update button snapshots
* fix: fixed loading-icon-end style
* chore: refactor buttonContent with genButtonContent
* fix: iconPosition compatible with rtl
* docs(Button): update button with iconPosition demo
* chore: update test
* fix: iconPosition compatible with rtl
* docs(Buttob): add icon-position demo
* restore icon demo
* update snapshots
* docs: update icon button demo
* docs: update iconPosition button demo
* Update components/button/index.zh-CN.md
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.zh-CN.md
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/demo/icon-position.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
---------
Signed-off-by: George H <default_hyn@163.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-07 22:42:20 +08:00
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag ( #48320 )
...
* demo: fix linear gradient button demo and remove debug flag
* fix active colors
2024-04-07 19:14:56 +08:00
lijianan
82720bc503
type: update Wave props type ( #48092 )
...
* fix: fix the Wave not disappear when motion === false
* docs: update docs
* type: update type
* type: update type
* docs: revert
2024-03-26 18:20:28 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
二货爱吃白萝卜
7104513a84
docs: Support semantic preview ( #47332 )
...
* docs: init
* docs: semantic block
* docs: part of demo
* docs: modal
* docs: slider
* docs: space
* docs: all sementic
* docs: clean up
* chore: fix lint
* chore: clean up
* chore: update script
* test: fix test case
* test: update testcase
2024-02-05 11:45:42 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +08:00
afc163
83f969b2be
style: Button support gradient background ( #46192 )
...
* style: Button support gradient background
* chore: fix test case
2023-12-01 23:25:46 +08:00
leixd1994
46246268ac
docs: add example for autoInsertSpaceInButton ( #45608 )
...
* 增加autoInsertSpaceInButton属性的样例代码,防止加错位置
* 格式修改
* Update components/button/index.zh-CN.md
Signed-off-by: lijianan <574980606@qq.com>
* Update components/button/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
* Update components/button/index.zh-CN.md
Signed-off-by: lijianan <574980606@qq.com>
* Update components/button/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
* Update index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
* Update index.zh-CN.md
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-11-01 10:15:29 +08:00
二货机器人
d31a19a0f0
chore: feature merge master
2023-08-29 15:50:39 +08:00
William Entriken
fec423ea1b
docs: Update definition for dashed button ( #44481 )
...
This updates the English documentation for the dashed button.
This updates the English to better translate the [Chinese version](345a3a0624/components/button/index.zh-CN.md
).
(I'm assuming the Chinese version is normative.)
Signed-off-by: William Entriken <github.com@phor.net>
2023-08-29 09:14:48 +08:00
MadCcc
ba90af13c0
Merge branch 'master' into feature-merge-master
2023-08-10 22:17:15 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
4fe27ba027
feat: button component token ( #44090 )
...
* feat: button component token
* chore: add demo
* chore: update
2023-08-08 14:03:31 +08:00
MadCcc
cbf2703b02
docs: performance enhance ( #43705 )
...
* docs: performance enhance
* chore: update snapshot
2023-07-21 17:14:54 +08:00
kiner-tang(文辉)
ef7b6e888b
fix: resolve ghost button lose disabled state when use type='ghost' ( #43558 )
2023-07-14 17:05:59 +08:00
黑雨
41ed9bd430
feat: Button semantic dom ( #41456 )
...
* feat: add semantic doc
* 🔀 feat: rebase feature
* feat: update for code reviewer
* feat: update snap
* feat: update snap
* 🐛 bug: update for cov
* Message
* bug: update snap
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* ♻️ feat: ref code
* 🩺 feat: update for review
* 💄 style: update style
* 📝 doc: update doc
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 📸 feat:update snap
* 🚧 feat: clean up
* 🚧 feat: clean up
* feat: icon wrapper
* test: update snapshot
* chore: code clean
* fix: icon only font size
* chore: rollback unexpected commit
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
二货爱吃白萝卜
9642564eea
docs: Button page show related token ( #41176 )
...
* docs: btn token
* docs: btn all tokens
2023-03-12 14:13:03 +08:00
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +08:00
lyn
0ab8419d6b
docs: update Button/Segmented docs ( #40461 )
2023-02-01 10:11:53 +08:00
lijianan
b9a6b7b578
demo: update demo ( #40318 )
...
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2023-01-19 15:37:54 +08:00
lijianan
e597fe8ec6
fix: Button block prop not work ( #39992 )
...
* fix: Button block prop not work
* fix
* remove auto
* update demo
* fix
* fix
* fix width
* fix
* update demo
2023-01-06 09:46:00 +08:00
Peach
6236e356b5
docs: update all site anchors ( #39687 )
...
* docs: update all site anchors
* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
lijianan
120db80c25
type: Button type optimization ( #39533 )
...
* type: type optimization
* fix type
* fix type
* fix type
* update docs
2022-12-15 17:48:29 +08:00
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
...
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2022-11-30 20:14:41 +08:00
afc163
e027cbec1c
docs: format all markdown ( #38629 )
...
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2022-11-17 17:31:26 +08:00
Wuxh
34a277cdaa
docs: improve component demo style ( #38598 )
...
* docs: delete redundant codes
repetitive examples that can make it difficult for developers to read
* chore: update snapshot
* docs(badge): wrapping documents with `Space`
* chore: update snapshot
* chore(space): optimize documents
easy to read
* chore: update badge demo
* chore: update demo
* Revert "chore(space): optimize documents"
This reverts commit 88a4378f16cede5b628f885a48a341d507fd53e3.
* chore: update snapshots
* chore(button): add debug demo
* test(button): update snapshots
* docs(button): example document beautify
* test(button): update snapshots
commit by af04705c8f
* test(alert): update snapshots
* chore: Reverse format
2022-11-17 13:20:58 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
二货机器人
3e5d9be968
fix: Button Group style ( #35178 )
2022-04-22 22:36:50 +08:00
绯一
008242b35e
chore: add Button.shape 'default' definition ( #32004 )
...
* feat: add Button.shape 'default'
* fix: ignore shape when falsy value
* fix: generate className only when shape match
* fix: remove necessary .ant-btn-default and update snapshot
2021-09-13 15:29:57 +08:00
Robin Pokorny
aa00cee500
docs: Document default for button size ( #27283 )
2020-10-21 23:17:08 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f09d69349ce1fbdaea2a9faa7e852207.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
274871b50c
docs(button): improve docs and shape remove undeclared doc type ( #27159 )
...
* docs(button): improve docs
* Update index.less
2020-10-16 15:50:19 +08:00
Niyaz Akhmetov
1aee1670cf
docs: ✏️ replace is
with are
( #26983 )
2020-10-02 13:15:41 +08:00
afc163
90cfb0d25f
docs: 📝 remove deparecated button type
2020-09-17 23:06:59 +08:00
xiao11lang
be7c8d1cc8
docs: update button component doc ( #26095 )
...
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
2020-08-08 17:35:26 +08:00
xrkffgg
f0568efdf3
docs: perfect website ( #26079 )
...
* docs: perfect website
* fix []
2020-08-07 15:50:53 +08:00
丁文涛
f7cfc19465
docs: optimize button docs ( #25712 )
...
Co-authored-by: wynterding <dingwententao@youzan.com>
2020-07-21 10:07:38 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography ( #25292 )
2020-06-29 21:43:22 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
偏右
c5bcf57537
feat: 💄 Add text type Button ( #22552 )
...
* 🆕 Add text type Button
`<Button type="text" />`
close #15892
* Add test cases
* missing type
* missing type
* fix missing type
* Update components/button/index.zh-CN.md
Co-Authored-By: zefeng <zefengbao@outlook.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
2020-05-06 10:15:33 +08:00