Commit Graph

1007 Commits

Author SHA1 Message Date
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
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
a73629fb85 chore: merge feature 2022-03-31 09:57:33 +08:00
二货机器人
8a3ee71006
chore: add control-radius (#34727) 2022-03-27 00:20:38 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form (#34712)
* refactor: feedbackIcon migration

* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form (#34694)
* refactor: move override code in form

* refactor: radio and checkbox

* chore: code clean

* test: fix lint

* test: fix lint
2022-03-24 21:54:20 +08:00
MadCcc
ed651f450d
fix: missing status style for RangePicker (#34509)
* fix: range picker should has status style

* chore: code clean

* chore: code clean

* chore: code clean
2022-03-15 18:38:22 +08:00
MadCcc
2c88f606c3
fix: remove duplicated style (#34101)
* fix: remove duplicated style

* chore: reduce bundle size limitation

* chore: raise bundle size
2022-02-18 10:31:19 +08:00
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker (#34089) 2022-02-17 13:38:49 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status (#34073)
* feat: DatePicker and TimePicker support status

* docs: demo add version

* chore: code clean
2022-02-16 21:14:51 +08:00
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
afc163
92d5820457
chore: remove unused interface file (#34011) 2022-02-11 13:05:54 +08:00
MadCcc
926a8aaf8a
feat: tooltip round arrow (#33710)
* feat: tooltip round arrow

* chore: update demo

* docs: update docs

* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker

* chore: code clean

* fix: fill gap

* chore: code clean

* chore: raise css bundle size

* fix: arrow style

* feat: use full path

* test: update snapshot

* perf: hack firefox

* perf: more magic position

* perf: RangePicker's arrow position

* chore: bump rc-picker version

* fix: arrow position
2022-02-08 09:52:33 +08:00
github-actions[bot]
281763f345
chore: auto merge branchs (#33945)
chore: merge master into feature
2022-02-07 04:30:42 +00:00
Amour1688
1176454437
types: export DatePickRef and RangePickerRef (close #33417) (#33901) 2022-01-31 12:04:47 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs (#33823)
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement (#33541)
* feat: select components add placement api

* feat: select components add placement api

* fix: delete placement

* fix: change md demo and delete export

* feat: cascader and tree-select add placement

* feat: datapicker add placement api

* fix: change repeat static declaration to single

* test: updata test units

* doc: change doc

* fix: delete merge message & delete decalare ts

* test: fix unit test

* fix: add transName in select & treeSelect & cascader

* fix: change common api in utils

* fix: change useless if block to only

* fix: change placement string to enum

* fix: lint done

Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime (#33503)
* feat: merge disabledXXX into disabledTime

* chore: fix ts
2021-12-31 11:28:02 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +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
WeijieChen
38ecbd7573
fix: remove space (#32974)
Co-authored-by: machixian <machixian@myweimai.com>
2021-11-22 18:40:02 +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
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
damon.chen
e7f5030f2b
fix: change Ok to OK (#32259)
* 修复AutoComplete组件allowClear属性的说明有歧义的问题

* fix: change Ok to OK

* update jest snapshot

Co-authored-by: chj_damon <chjdamon@gmail.com>
2021-09-23 22:13:05 +08:00
Rain120
753b848562
docs: add DatePicker format demo(Week start ~ end) (#32078)
* feat: doc of week format in date-picker

* feat: doc of week format in date-picker

* fix: set the tree-switcher-leaf-line position (#32075)

* fix(image): small size hide preview text (#29900)

* fix(image): small size hide preview text

* fix: image preview text ellipsis

* fix: reset test

* chore: improve icon search experience (#32098)

* chore: improve icon search experience

close #32097

* chore: search result empty data

* feat: Georgian translation (#32106)

* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400

Add files via upload

add georgian translation

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Create ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

* Update package.json

Co-authored-by: Amumu <yoyo837@hotmail.com>

* test case

* add language option in markdown

* test

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>

* docs: Update research-message-and-feedback.zh-CN.md (#32112)

* fix: Use latest rc-picker version with defaultPickerValue/showTime fix (#32107)

* update rc-picker dependency to 2.5.17

* add test: DatePicker.RangePicker with defaultPickerValue and showTime

* fix: missing `default.css` (#32116)

* chore: Add CI for compile

* chore: Add missing compile file

* docs: fix typo (#32121)

* fix: preserve table pagination className (#32131)

close #32130

* fix: use well typed PaginationLocale from rc-pagination (#32128)

* docs: fix typo

* fix: useMessage() should use getPopupContainer from <ConfigProvider />… (#31939)

* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* add test case for useMessage hook

* restore some changes

* try to restore files agains

* restore and keep the same as upstream master

* restore files

* restore some definition

* feat: inherit rc-pagination props, more customizable (#32132)

* feat: inherit rc-pagination props, more customizable

close #32128, #32129

* chore: CustomSelect.Option is required by rc-pagination

* fix: LocaleReceivier types issue

* fix: lint issue, pageSize must be presented

* 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

* fix: Cascader missing props (#32143)

* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check

* chore: remove redundant space after `should` (#32141)

* chore(deps-dev): bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (#32149)

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 35.0.0 to 36.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v35.0.0...v36.0.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: fix modal demo in small screen

* refactor(dropdown): add dropdownButtonType export and refactor defaultProps (#31957)

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: drizzlesconsin <69514654+drizzlesconsin@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Primlx <primulax@live.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: in_vane <52909860+in-vane@users.noreply.github.com>
Co-authored-by: Thomas Zipner <thomas.zipner@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MD. Ariful Alam <swazan.arif@gmail.com>
Co-authored-by: JounQin <admin@1stg.me>
Co-authored-by: James <daoxingyue@live.cn>
Co-authored-by: 绯一 <jaredleechn@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zuobin Wang <49583235+Dreamerryao@users.noreply.github.com>
2021-09-14 18:39:44 +08:00
Thomas Zipner
b434e0a2ad
fix: Use latest rc-picker version with defaultPickerValue/showTime fix (#32107)
* update rc-picker dependency to 2.5.17

* add test: DatePicker.RangePicker with defaultPickerValue and showTime
2021-09-10 11:54:11 +08:00
Primlx
371d1421c6
feat: Georgian translation (#32106)
* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400

Add files via upload

add georgian translation

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Create ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

* Update package.json

Co-authored-by: Amumu <yoyo837@hotmail.com>

* test case

* add language option in markdown

* test

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
2021-09-09 19:40:26 +08:00
xrkffgg
3d81a10d61
Merge pull request #32036 from ant-design/master
branch: merge master into feature
2021-09-06 15:25:15 +08:00
acfasj
999660c574
fix(date-picker): DatePicker ref typing (#31993) 2021-09-03 13:24:48 +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
二货机器人
a43e21e6bf
Merge pull request #31974 from ant-design/master-merge-feature
chore: sync master to feature
2021-08-31 19:41:20 +08:00
afc163
7085e22a96 merge feature into master 2021-08-31 13:35:13 +08:00
afc163
af805c098b
test: fix eslint errors (#31961)
* test: fix eslint errors

* test: fix eslint errors
2021-08-30 13:04:21 +08:00
Jean-Philippe Roy
1cd694837c
feat: Allow DatePicker/RangePicker Icon Overrides (#31703)
* Hoist default values and expose props

* Add new props to the common API docs

* CN Docs

* Apply suggestions from code review

Co-authored-by: Jean-Philippe Roy <jean-philippe.roy@meraki.net>
Co-authored-by: afc163 <afc163@gmail.com>
2021-08-23 21:28:42 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
f253cdf5aa
style: add transition for RangePicker cell (#31645) 2021-08-04 12:03:20 +08:00
afc163
85935e18c0 chore: merge feature into master 2021-08-02 18:36:27 +08:00
Ritesh Makan
b97954226d
docs: Added alternate example to modify start day of week (#31565)
* Added alternate example to modify start day of week

When I looked at the documentation, The `https://codesandbox.io/s/moment-day-of-week-6dby5` link did not work for me.

https://stackblitz.com/edit/react-9aegkj works

* fix: formatting
2021-07-28 18:34:37 +08:00
Jabir K.H
b3c4cebd96
feat: Malayalam(ml_IN) translation (#31521)
*  added ml_IN locale

*  malayalam localization - rc-packages updated

* ml_IN test cases added

Review comments integrated

* ml_IN translation - en doc updated

PR review comments integrated

* ml_IN translation zh doc updated

PR review comment integrated

* ❇️ changes after running npm test locally

* 🚀 npm test after removing and reinstalling node modules and package-lock
2021-07-27 10:56:41 +08:00
Mohammad Anas
24e416437e
feat: add urdu language intl (#31346)
* feat: add urdu language intl

* feat: update test snapshot
2021-07-13 10:02:21 +08:00
afc163
c3eda10999 chore: sync feature into master 2021-07-12 19:28:42 +08:00
afc163
ce54e04452
fix: DatePicker disabled cell style when customize dateRender (#31349)
close #31248
2021-07-12 12:12:07 +08:00
Map1en_
859bf59084
fix(DatePicker): panel body not centered when used in Table (#31306)
* fix(Table): DatePicker cell texts are not centered when used in Table

close #31289

* fix(DataPicker): panel body not centered when used in Table

* fix: replace :is selector

* fix: style
2021-07-08 17:54:34 +08:00