Commit Graph

470 Commits

Author SHA1 Message Date
Wanpan
c4928586af
chore: InputNumber add usage tips (#49648) 2024-06-28 23:19:58 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors (#49536)
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

Signed-off-by: afc163 <afc163@gmail.com>

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
lijianan
666f38d756
refactor: add ContextIsolator component (#49438)
* refactor: add ContextIsolator component

* fix: fix

* fix: fix

* test: fix test case

* test: add test case

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-06-21 02:10:21 +08:00
lijianan
41fba82b39
refactor: code optimization (#49431)
* refactor: refactor InputAddon code

* fix: fix

* fix: fix

* Update components/_util/InputAddon.tsx

Signed-off-by: afc163 <afc163@gmail.com>

* fix: fix lint

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-16 15:44:18 +08:00
lijianan
7769a40c72
refactor: refactor InputNumber code (#49428) 2024-06-15 19:44:35 +08:00
二货爱吃白萝卜
92d813b543
fix: input-number inputFontSize (#49369)
* fix: input-number inputFontSize

* chore: clean up

* chore: back of demo

* test: update snapshot
2024-06-12 15:55:18 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning (#48958)
* fix: try to fix React 18.3 warning

* chore: back of ci

* chore: fix type

* chore: fix lint

* chore: update deps

* fix: component error

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version
2024-05-18 15:07:26 +08:00
栗嘉男
20f183cf6f chore: merge master into feature 2024-05-01 16:33:46 +08:00
Wanpan
68497323d5
docs: InputNumber add changeOnWheel FAQ (#48714)
* docs: InputNumber add changeOnWheel FAQ

* Update components/input-number/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Wanpan <wanpan96@163.com>

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-01 11:30:01 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
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