Commit Graph

183 Commits

Author SHA1 Message Date
MadCcc
bf7085882d
feat: DatePicker support variant (#46568)
* feat: DatePicker support variant

* chore: update snapshot

* chore: update api table

* chore: update snapshot
2023-12-21 20:43:40 +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
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
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
ff462adfa7 Merge branch 'master' into feature-merge-master 2023-11-17 14:21:30 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message (#45911)
* fix: zIndex miss of message

* fix: modal static index

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix zIndex test

* test: update test case

* chore: clean up

* test: coverage
2023-11-17 10:54:19 +08:00
JarvisArt
9554807ca3
refactor: Space support css var (#45869) 2023-11-14 16:28:11 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error (#45761)
* chore: fix zIndex logic

* chore: detect if needed

* docs: update bug version

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 19:07:22 +08:00
kiner-tang(文辉)
3ec0ec23ee
feat: DatePicker & TimePicker support z-index manager (#45497)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:54:36 +08:00
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager (#45486)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code
2023-10-23 06:46:08 -05:00
kiner-tang(文辉)
e7402691c1
feat: z-index container opt (#45490)
* feat: container opt

* feat: container opt

* feat: container opt

* feat: container opt
2023-10-23 04:16:41 -05:00
kiner-tang(文辉)
8c49b38e94
feat: Popover support z-index manager (#45420)
* feat: Popover support z-index manager

* feat: update snap

* Update components/popover/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:36 -05:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
二货爱吃白萝卜
000589bf7d
docs: update Flex diff (#45270) 2023-10-11 14:45:09 +08:00
JiaQi
dd4ef28239
docs: add description of the available components of Space.Compact (#45259) 2023-10-11 10:31:36 +08:00
JiaQi
2f063a26e6
style: inputNumber border unmerged (#45004)
* style: inputNumber border unmerged

* chore: update snapshot
2023-10-07 17:06:10 +08:00
JiaQi
51fc8dcbcd
refactor(tootip): delete the logic related to the disabled children (#44895)
* refactor(tootip): delete the logic related to the disabled children

* chore: update test case

* chore: update snapshots
2023-09-22 10:11:31 +08:00
lijianan
61e8768f06
site: update space demo (#44738) 2023-09-11 11:33:45 +08:00
lijianan
5b75f3f817
refactor: extract public methods (#44737) 2023-09-10 14:34:22 +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
lijianan
4c91896abb
refactor: use token instead of constant in size (#44598)
* refactor: use token instead of constant in size

* fix: fix

* fix: fix

* test: update snap

* fix: update snap

* test: fix test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix tast cov

* fix: fix test case

* chore: add comment

* chore: add comment

* chore: add comment

* chore: rename

* chore: rename

* fix: fix test case

* fix: fix test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: add test case

* fix: fix

* test: update snap

* fix: fix

* fix: fix

* test: update

* test: update

* chore: fix

* fix: type

* test: remove test
2023-09-04 19:59:02 +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
Amumu
edf907bf11
fix: slider track draggale range height/width error (#44503)
* fix: slider track draggale range height/width error

* chore: style
2023-09-02 00:16:01 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +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
二货爱吃白萝卜
3f85a200a0
chore: remove space useless style (#44098) 2023-08-08 11:41:53 +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
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
lijianan
755e1227f4
test: update icon snap (#43942)
* test: update snap

* chore: bump icons

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-02 02:15:02 +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
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router (#43573)
* fix: prepend use-client directive for with Next.js App Router

* Update components/affix/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/badge/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/cascader/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/list/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/qrcode/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/steps/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/time-picker/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/transfer/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/tree-select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
thinkasany
82e5555ff3
chore: code style optimization (#43497)
* chore: code style optimization

* revert: 直接解构, 不用 props

* chore: fix classNames useless boolean

* fix: remove classname useless boolean

* fix: revert delete progress classnames boolean
2023-07-13 01:46:56 +08:00
VovkaGoodwin
c683c50bdd
type: changed import type to common import (#43501)
Co-authored-by: Vladimir Radko <volodya.radko@gmail.com>
2023-07-12 13:39:30 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +08:00
muxin
785115c580
feat: config-provider support divider className and style properties (#43042)
* feat: config-provider support divider className and style properties

* fix: simple ts definition

* fix: merge style & className

* fix: fix space className

* feat: optimize type definition

* feat: optimize type definition

* feat: add version

* test: update test

* test: update test

* fix: fix type

* fix: fix api sort

* fix: fix docs

* docs: add another api table

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:30:16 +08:00
daisy
8a4203bec8
fix(Space): modify the priority of the component's size (#42752)
* fix(Space): modify the priority of the component's size

* chore: snapshot

* chore: snapshot
2023-06-19 14:26:48 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
kiner-tang(文辉)
f3e9b8de2f
refactor: solve space circular dependency issue (#42811) 2023-06-05 13:29:55 +08:00
红果汁
946569aacf
feat: ConfigProvider support Space classNames and styles properties (#42748)
* feat: config-provider support space classNames and styles

* fix: add className and style

* docs: update doc

* docs: update doc

* fix: fix override style
2023-06-02 15:03:29 +08:00
红果汁
20e09e6c31
feat: Space support classNames and styles (#42743)
* feat: add styles and classNames properties

* Update components/space/index.en-US.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

* docs: fix prettier issue

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-05-31 13:43:38 +08:00
afc163
7271b7cb91
fix: Popconfirm margin problem when icon is null (#42433)
* fix: Popconfirm margin issue when icon is null

* test: update snapshot

* demo: update snapshot

* chore: improve code

* demo: update snapshot

* refactor: remove used css

* demo: update snapshot
2023-05-17 14:49:42 +08:00