Commit Graph

428 Commits

Author SHA1 Message Date
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
afc163
c0304cca55
fix: Pagination should display middle size Select when ConfigProvider componentSize is large (#34756)
* fix: Pagination should display middle size Select
when ConfigProvider componentSize is large

close #34744

* fix snapshot
2022-03-30 16:38:08 +08:00
zombiej
c89e33d0b6 test: update snapshot 2022-03-30 11:54:22 +08:00
zombiej
ac121e887c test: Update snapshot 2022-03-15 14:13:49 +08:00
MadCcc
14e719295e
fix: input classname in affix wrapper (#34474) 2022-03-14 15:05:24 +08:00
二货机器人
2e27c00293
chore: export css variable func (#34436) 2022-03-11 16:16:23 +08:00
二货机器人
8fe8df777e
fix: csp not work on icon (#34356) 2022-03-08 14:01:53 +08:00
二货机器人
811fed2fc2
refactor: Update rc-slider (#34234)
* chore: Update rc-slider version

* chore: bump

* chore: update sty;e

* fix: style

* test: update snapshot

* test: all fixed

* fix lint
2022-03-01 14:48:41 +08:00
MadCcc
bfebb88bdb
feat: introduce rc-input (#34206)
* feat: introduce rc-input

* fix: export InputRef alias

* docs: fix demo

* chore: code clean

* test: fix lint

* test: test coverage

* chore: code clean

* chore: code clean

* test: update snapshot
2022-03-01 14:17:48 +08:00
afc163
34a63e6892 chore: merge feature into master 2022-02-23 17:11:11 +08:00
二货机器人
a09a3255f3
fix: not crash ConfigProvider.config on server side (#34118) 2022-02-18 17:07:23 +08:00
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
zombiej
1aa2aa6868 test: Udpate test for rc-util@latest 2022-02-14 18:51:16 +08:00
MadCcc
37e042358d
feat: Input support status (#33995)
* feat: remove form status style && input support status

* test: update snapshot

* feat: update status prop in config provider

* fix: form item validateStatus support

* chore: code clean

* feat: status classname change

* test: update snapshot

* refactor: move formItemStatusContext to form folder

* refactor: merge utils

* refactor: rename statusUtils

* chore: code clean

* test: fix coverage

* chore: remove status prop of Form.Item

* chore: code clean

* docs: update demo

* test: fix lint

* feat: status only success and warning

* test: fix lint

* docs: update deamo
2022-02-14 17:09:35 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
Dawnlck
17d6a5e407
fix(popover): fix the problem that popover display when the props'content is empty (#33835)
* fix(popover): fix the problem that popover display when the props'content is empty

* refactor(popover): 更新代码判断逻辑

* test(popover): 添加popover的test

* feat(popover): 更新snapshot

* feat(popover): 更新剩余的snapshot
2022-02-07 15:28:46 +08:00
MadCcc
27a498e021
fix: update dropdown version to 3.2.5 (#33895)
* fix: update dropdown version to 3.2.5

* test: update snapshot
2022-01-30 12:31:35 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider (#33705)
close #33691
2022-01-13 13:50:18 +08:00
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale (#33511) 2021-12-31 16:56:21 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps (#33364)
* chore: bump select related version

* test: Fix test case

* chore: bump rc-select version

* test: Update snapshot

* chore: Update Select ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* chore: Update ts definition

* chore: fix internal ts def

* test: update auto complete snapshot

* chore: update snapshot

* chore: bump version

* chore: fix demo ts

* chore: Move ValueType to the first place

* test: Update test case
2021-12-21 21:38:11 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
zombiej
24ec3ba662 chore: merge master 2021-11-26 10:15:39 +08:00
zombiej
c1d17fcc82 test: Update snapshot 2021-11-24 16:53:58 +08:00
VIREAK KEOSOKVIBOL
f0c8402d65
feat: Add km_KH locale to component (#32853)
* Add km_KH locale to component

* Add test and docs

* Fix typo

* Add test snapshot
2021-11-20 15:02:28 +08:00
二货机器人
870b72af88
docs: 4.17.0 changelog (#32859)
* docs: 4.17.0 changelog

* test: Update snapshot

* docs: Update desc

* docs: merge changelog
2021-11-15 19:35:25 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs (#32839)
chore: sync master to feature
2021-11-12 07:15:31 +00:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon (#32818)
* feat: ConfigProvider add form colon

* add: test for ant-design#32799

* fix: Modify FormItemLabel get ConfigColon from From

* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 (#32501)
* chore(deps): update dependency eslint to v8

* fix eslint errors

* fix eslint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 11:19:14 +08:00
二货机器人
7c330b77d1
chore: Adjust Collapse header style (#32492)
* chore: Adjust collapse header style for align

* chore: replace variable

* test: Update snapshot
2021-10-14 17:16:38 +08:00
afc163
827225b895
chore: replace demo image to public avatar resources (#32479)
* docs: replace avatar image to joeschmoe placeholder

* docs: usage randomme avatar url
2021-10-14 12:09:07 +08:00
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 (#32444)
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.7.0 to 25.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.7.0...v25.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix eslint errors and warnings

* fix rc-slider version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 13:14:26 +08:00
Michael Adams
bdbbbb9f9e
fix: typescript error in ConfigProvider. (#32406) 2021-10-09 10:24:41 +08:00
二货机器人
5161e9c671
feat: Tree support draggable handler (#32306)
* chore: Add draggable style

* chore: Add handler style

* refactor: Add dragging style

* chore: merge api

* chore: test case

* docs: Update doc desc

* test: More coverage

* chore: bump version

* test: Update snapshot
2021-09-27 15:54:06 +08:00
二货机器人
272ff9885a
fix: Cascader missing props (#32143)
* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check
2021-09-13 15:59:57 +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
afc163
0f47b50df0
fix: Alert message could be nullable (#32057)
* fix: Alert message could be nullable

close #32047

* update snapshot
2021-09-07 13:07:41 +08:00
Shengnan
e4cbb9cedd
chore: update rc-drawer & fix snap (#32007)
* chore: bump rc-drawer to 4.4.2

* feat: DrawerProps interface add autoFocus support

* docs: add autoFocus to Drawer doc

* fix: snapshot update

* fix: snapshot update

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-09-02 18:57:25 +08:00
二货机器人
93dd93bf45
docs: add 4.17.0-alpha.0 changelog (#31987)
* chore: 4.17.0 changelog

* chore: Update emoji

* docs: Update changelog

* docs: dynamic theme ref

* chore: bump version

* docs: Update content

* docs: Add ref

* docs: Add rc changelog

* chore: bump version

* test: Update snapshot
2021-09-01 15:39:09 +08:00
二货机器人
36bcaaef85
Add variable.less to support css variable (#31496)
* chore: use varaible.less

* chore: basic primary varaible

* chore: Move to variable

* chore: align active color

* chore: global fix of css variable

* chore: primary colors

* chore: button danger

* chore: btn default error color

* chore: button series

* chore: More examples

* chore: More components

* chore: Form demo

* chore: form style

* fix: Tag & Alert variable

* chore: update footer

* chore: rm tmp code

* chore: transfer

* fix: picker column active color

* chore: Adjust active bg color

* chore: table hover color

* chore: all css variables

* chore: Global using variables

* chore: Test case

* chore: Update test logic

* chore: back of default less

* chore: entry of site use proxy style

* chore: update entry

* chore: split of variables

* refactor: quick dist speed

* fix: site use variable version

* chore: Update less config

* chore: add mv script

* chore: Update repalcement script

* chore: Add inject variables

* chore: Update script

* fix: script path

* chore: Move to component instead

* chore: fix condition

* chore: update config

* chore: Update in less transform

* chore: Modify logic

* chore: change to variables

* chore: Update name

* fix: script name

* chore: do inject

* revert: back of path

* chore: 2 way of generate

* bump tools

* chore: Add auto replacement script

* chore: auto genrate less file

* chore: fix test

* test: More test case

* chore: Update limit config

* test: coverage

* docs: Update doc
2021-09-01 10:56:50 +08:00
二货机器人
282b7c8575
feat: Cascader support multiple mode (#31936)
* chore: Update cascader version

* chore: replace cascader

* chore: default allowClear

* chore: Update docs

* test: Back of part

* test: More snapshot

* test: more and more

* test: Failed of defaultValue

* test: all basic test case

* test: All snapshot

* chore: Update cascader

* chore: disable react/jsx-no-bind

* chore: fix lint

* chore: fix less order

* chore: fix deps

* docs: Update multiple demo

* docs: Add multiple example

* test: Update snapshot

* test: update snapshot
2021-08-31 15:51:02 +08:00
二货机器人
47f2bd47e1
feat: Select & TreeSelect support fieldNames (#31925)
* feat: Select & TreeSelect support fieldNames

* test: Update snapshot

* chore: force trigger CI
2021-08-27 11:48:59 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
f0163aa337
fix: Form label hide title on help icon and optional text (#31785)
close #31769
2021-08-13 17:06:30 +08:00
afc163
7084654731
docs(): release 4.16.11 (#31710)
* docs(): release 4.16.11

* update pagination snapshot
2021-08-08 20:02:13 +08:00
Map1en_
8f3f0076de
fix: ConfigProvider rerender unexpectedly when switching some language (#31630)
* fix: ConfigProvide could not maintain the state of components when switching some lang

close #31592

* chore: add test case

* Update components/config-provider/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* chore: fix checks

Co-authored-by: afc163 <afc163@gmail.com>
2021-08-04 13:45:35 +08:00
二货机器人
86c5bf6e60
feat: Tree support fieldNames (#31395)
* feat: Tree support fieldNames

* docs: Update desc

* chore: Update snapshot
2021-07-14 14:23:50 +08:00
afc163
c3eda10999 chore: sync feature into master 2021-07-12 19:28:42 +08:00
afc163
a145336687
fix: BackTop should disappear when fade out (#31357)
* fix: BackTop should disappear when fade out

close #31253

* remove default value of removeOnLeave and motionAppear

* fix snapshot
2021-07-12 19:25:45 +08:00