Commit Graph

460 Commits

Author SHA1 Message Date
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +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
MadCcc
4def7a2407
feat: InputNumber support changeOnWheel (#47158) 2024-01-26 14:05:04 +08:00
MadCcc
2fe9b46bc1
feat: Button support lineHeight token (#46936)
* feat: Button support lineHeight token

* refactor: rm format

* chore: code clean

* chore: fix test
2024-01-12 15:03:03 +08:00
栗嘉男
b241f68a33 chore: merge master into feature 2024-01-11 14:43:16 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
MadCcc
2cff1fce48
fix: InputNumber should respect padding token (#46878)
* fix: inputnumber padding token

* chore: update

* chore: clean

* chore: update
2024-01-10 11:57:58 +08:00
lijianan
1ff5805cca
Revert "feat(InputNumber): support classNames props (#46842)" (#46849)
This reverts commit 8a078c9714.
2024-01-08 10:37:10 +08:00
云泥
8a078c9714
feat(InputNumber): support classNames props (#46842)
* fix(InputNumber): lose style when pass classNames props #46841

fix: some classNames item were not take effect

docs: update docs

style: update

chore: update

test: update case

docs: update version

* docs: update Semantic DOM

* docs: update components/input-number/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 云泥 <1656081615@qq.com>

* docs: format

* test: add case

---------

Signed-off-by: 云泥 <1656081615@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-07 22:34:03 +08:00
叶枫
81ab20be35 feat: merge master 2023-12-27 14:42:51 +08:00
lijianan
5c52512467
type: update ref type from Ref to React.RefAttributes<T> 2023-12-27 11:53:19 +08:00
MadCcc
924f46fd88
feat: form support variant (#46573) 2023-12-22 10:05:15 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled (#46549)
* feat: Select filled style

* chore: update snapshot

* feat: Cascader and TreeSelect support variant

* feat: multiple style

* fix: import

* chore: fix lint

* chore: update auto-complete docs

* fix: clearIcon bg

* chore: code clean
2023-12-21 13:39:04 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +08:00
github-actions[bot]
5f9e52a5a8
chore: auto merge branches (#46446)
chore: merge master into feature
2023-12-14 07:32:07 +00:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
e0c1841180
feat: InputNumber support variant (#46381) 2023-12-11 15:34:07 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
fee85c5fa1
Merge branch master into master-merge-feature 2023-11-29 03:32:56 +08:00
MadCcc
082975e9c4
fix: InputNumber addon in compact (#46130)
* fix: InputNumber addon in compact

* chore: code clean
2023-11-28 17:11:23 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest (#45985)
* chore: enable cssVar in imageTest

* fix: tree select style

* chore: fix avatar group style

* fix: cascader panel style

* fix: form style

* fix: slider disabled style

* fix: mentions style

* fix: tag style

* fix: tabs style

* fix: Rate style

* fix: table custom token

* chore: update snapshot

* fix: menu style

* fix: InputNumber style

* chore: recover image test

* chore: add css var image test
2023-11-22 20:53:48 +08:00
MadCcc
86e3d37935
refactor: InputNumber support css var (#45839) 2023-11-13 17:45:45 +08:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Simon He
56c2b56bf2
docs(input): add placeholder (#45643)
* docs(input): add placeholder

* chore: update input-number
2023-11-03 00:42:37 +08:00
MadCcc
95322eaad5
fix: InputNumber in Form with hasFeedback should not lose focus (#45632)
* fix: InputNumber in Form with hasFeedback should not lose focus

* chore: disable lint
2023-11-02 17:15:03 +08:00
二货爱吃白萝卜
2e8e67fcea
feat: support changeOnBlur (#45395) 2023-10-18 13:50:46 +08:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
MadCcc
854db006c4
Merge pull request #45225 from ant-design/master
chore: merge master into feature
2023-10-09 14:20:11 +08:00
JiaQi
2f063a26e6
style: inputNumber border unmerged (#45004)
* style: inputNumber border unmerged

* chore: update snapshot
2023-10-07 17:06:10 +08:00
MadCcc
431e00b1d0
feat: apply new input component border style (#45009)
* feat: apply new input component border style

* feat: ColorPicker & DatePicker

* chore: fix lint
2023-09-22 13:55:54 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic (#44620)
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
MadCcc
d1d3b57dcb
feat: input token (#44325)
* feat: input token

* feat: input number token

* feat: input token

* fix: date-picker & calendar

* fix: calendar style

* fix: token use
2023-08-22 09:38:11 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot (#44140)
* chore: update snapshot

* test: fix test case of Form Select
2023-08-10 00:43:44 +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
kiner-tang(文辉)
6c706908fc
feat: update the demo of InputNumber (#44049) 2023-08-07 11:25:18 +08:00
MuxinFeng
63bb664b7d
style: addon size should inherit from props (#44000)
* style: addon size should inherit from props

* fix: do not inherit when size equals small
2023-08-04 18:24:03 +08:00
二货爱吃白萝卜
6e3a9080bf
fix: Checkbox & Radio not support customize wave (#44014)
* chore: fix checkbox

* chore: checkbox support disabled

* chore: radio support wave

* test: update test case

* chore: fix lint

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update test case
2023-08-04 11:22:33 +08:00
二货爱吃白萝卜
b2a3c48d4a
docs: update input-number faq (#43981)
* docs: update input-number faq

* chore: clean up
2023-08-03 11:40:45 +08:00
MadCcc
c640cbcb53
chore: update snapshot (#43957)
* chore: update snapshot

* chore
2023-08-02 15:33:29 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message (#43947)
* test: init of test

* test: update snapshot

* test: update snapshot

* chore: adjust size limit

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
github-actions[bot]
fc45356cfa
chore: auto merge branches (#43920)
chore: master merge feature
2023-07-31 14:16:49 +00:00
Yee
59342fbfb9
fix(input-number): the number input radius style in different size (#43875)
* fix: the number input radius style in different size

* fix: make style token as a function

---------

Co-authored-by: yee.wang <yee.wang@lazada.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-31 13:22:27 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value (#43800) 2023-07-26 10:09:04 +08:00
erhu
ca75c697fc
chore: code style optimize (#43719)
* chore: private purePanel

* fix: type error

* fix: type
2023-07-22 12:18:17 +08:00