github-actions[bot]
a83d2d7e7d
chore: auto merge branches ( #42127 )
...
chore: feature merge master
2023-05-04 03:30:50 +00:00
lijianan
4ecac35a29
chore: use composeRef(ref, internalRef)
replace ref || internalRef
( #42036 )
...
* chore: use composeRef replace ref || internalRef
* style
* revert
2023-04-27 17:31:32 +08:00
MadCcc
9e1934248b
Merge branch 'master' into feature-merge-master
2023-04-27 10:16:07 +08:00
ayang
e5fad4c2d6
style: optimize button code ( #42005 )
2023-04-26 14:52:21 +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
lijianan
3b22b89e6d
type: fix type error ( #41650 )
...
* type: fix type error
* fix
2023-04-06 17:33:14 +08:00
红果汁
0a24676845
fix: use loading delay not delay at first time ( #40751 ) ( #40759 )
...
* fix: use loading delay not delay at first time
* perf: test code
* refactor: optimization code
* fix: lint problem
* refactor: prefer code
* refactor: prefer code
* refactor: prefer code
2023-02-19 12:48:28 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
Muhammad Sohaib Raza
5191b85b96
refactor: button ( #40077 )
...
* fix: type updated from any, and comments removed #15930
* refactor: removed unnecessary comments, created helper for button
* fix: cleanupTimer
* fix: import fixed
* Update components/button/button.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/dropdown/dropdown-button.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 10:32:05 +08:00
lijianan
c35787696b
demo: update demo ( #40079 )
...
* demo: update demo
* rerun ci
2023-01-07 23:24:27 +08:00
洋
f3231bc375
fix: disabled style miss when has href on Button ( #39456 )
...
* fix: disabled style miss when has href on Button
* fix: Space lead to change hover color
* style: format
* fix: use &&& solve type style effect
* fix: replace &&& with .ant-btn&:hover
* chore: add demo
* 更新文档Snapshot
* 更新ci快照
2022-12-17 15:48:29 +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
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
...
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-13 14:57:40 +08:00
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
...
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2022-11-19 16:56:23 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
242b1713f5
Merge branch 'master' into next-merge-master
2022-10-26 14:56:44 +08:00
lijianan
769cb3c79a
style: remove repeate method ( #38133 )
...
* style: remove repeate method
* fix: del break
2022-10-20 16:37:35 +08:00
MadCcc
5c72d04b10
Merge branch 'feature' into next-merge-feature
2022-10-19 17:46:21 +08:00
Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2022-09-30 14:26:41 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
...
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
github-actions[bot]
87f9cf362b
chore: auto merge branches ( #37579 )
...
chore: next merge master
2022-09-16 07:41:16 +00:00
bowen-wu
3619caf1b4
refactor: delete deprecated React.ReactChild ( #37551 )
...
use React.ReactElement | string | number to replace the deprecated React.ReactChild
2022-09-16 09:59:38 +08:00
叶枫
00c891ac05
feat: Typography ellipsis.tooltip
could be a object ( #36099 )
...
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
2022-07-25 13:09:39 +08:00
MadCcc
9d7c11f391
Merge branch 'master' into next-merge-master
2022-07-03 09:42:26 +08:00
Jamki
5f933ebd2b
fix: Fixed an error when the loading property of the Button component… ( #36288 )
...
* fix: Fixed an error when the loading property of the Button component was passed into null
* Update components/button/button.tsx
Obviously, this suggestion is more concise , thanks a lot
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/button/button.tsx
* Update components/button/button.tsx
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-30 13:25:47 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
afc163
15b8b85ce8
style: fix Button loading icon margin issue ( #36168 )
...
* style: fix Button loading icon margin issue
* test: update snapshot
* test: fix tsx demo error
2022-06-22 12:58:56 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
MadCcc
9dd5e9b5e9
Merge branch 'master' into next-merge-master
2022-06-16 10:46:55 +08:00
muxin
f2a5d2f881
fix: Button has no disabled style when link type ( #35975 )
...
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-10 17:58:58 +08:00
MadCcc
2d70027f45
Merge branch 'master' into feature-merge-master
2022-05-12 15:56:18 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
...
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
zombiej
1a84acb3fb
chore: merge master
2022-04-22 18:21:45 +08:00
二货机器人
f8e7cba353
refactor: Simplify Button Group Style ( #35175 )
...
* chore: refactor grp with context
* test: Update snapshot
* chore: clean up
* test: fix test case
* chore: clean up
* test: fix test
2022-04-22 17:40:52 +08:00
MadCcc
d0c4d7b0ec
feat: add useComponentStyle ( #34802 )
...
* feat: add useComponentStyle
* chore: auto generic
* feat: add overload
* feat: filter component token
* feat: genComponentStyleHook
* test: fix lint
* feat: button for test case
* chore: code clean
* chore: code clean
* feat: add componentCls into token
* feat: merge token statistic
* chore: code clean
* fix: cache token merge
* chore: code clean
* chore: add comment & rename variables
* chore: code enhancement
* chore: FullToken<ComponentName>
* chore: clean input
* chore: code clean
* test: fix lint
* feat: inset prefixCls
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-02 22:55:02 +08:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
...
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
2022-03-03 14:55:19 +08:00
zombiej
4aac9f7522
chore: simplify style requirement
2022-02-27 22:17:17 +08:00
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
...
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
2022-02-18 14:17:32 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
Di Wu
9fe57c654a
fix: Clear timer of delayed loading after Button is unmounted ( #33858 )
...
* fix: Clear delay loading timer after Button is unmounted
* [CodeFactor] Apply fixes to commit 16cfb89
[ci skip] [skip ci]
* Change arrow function style in test case
Co-authored-by: codefactor-io <support@codefactor.io>
2022-01-27 14:06:37 +08:00