Commit Graph

1012 Commits

Author SHA1 Message Date
afc163
68a1b18232 merge feature into master-to-merge-feature 2020-10-10 11:36:02 +08:00
StIvan8
4107c83234
feat: add Belarusian translation (#27028)
* add Belarusian language translation

* add Belarusian locale, fix bugs

* fix: slider and select version
2020-10-09 21:37:07 +08:00
Anawin W
88fc56fde8
fix: Update th-TH locale for new date-pickers (#26993) 2020-10-02 20:05:58 +08:00
Kermit Xuan
a733885b50
feat(date-picker): support custom format (#26845)
* feat(upload):  support custom format

* test: update demo snapshot
2020-09-22 15:43:11 +08:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
a9953640f9
style: 💄 fix TimePicker column align (#26784)
add `@picker-time-panel-column-width` and `@picker-time-panel-column-height`

close #26781
2020-09-17 12:54:05 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
xrkffgg
2005546d22
test: update snap (#26467) 2020-08-28 21:43:44 +08:00
baidumap
3507a01798
fix: 修复disabledTime参数文档 (#26439)
* fix: 修复disabledTime参数文档

* fix: 英文版dates -> date

Co-authored-by: jingruoyu <jingruoyu@xiaomi.com>
2020-08-27 21:15:52 +08:00
偏右
d5eda4f87e
test: add more test cases (#26350)
* test: add more test to Layout

* test: add more test to DatePicker

* refactor: remove unused code in Menu
2020-08-24 10:09:57 +08:00
Diego Barreiro
f1a09fe25d
feat: Galician Locale (#26015)
* feat: Create gl_ES

* Bump dependencies

rc-pagination
rc-picker

* Add test case

* Add documentation

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

* Update test snapshots

* fix snapshot

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 18:26:36 +08:00
Maksim Slotvinskij
16962bbff1
lithuanian language (#26312)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 17:07:48 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
xrkffgg
0c1504cc8d
style: optimize DatePicker footer rtl style (#26158) 2020-08-12 15:06:04 +08:00
xrkffgg
af16da1ccd
fix: DatePicer range start and end show in rtl (#26157) 2020-08-12 14:25:46 +08:00
xrkffgg
7f130a89ec change place 2020-08-12 11:02:23 +08:00
xrkffgg
40b9d8c57a style: optimize DatePicker range show in rtl 2020-08-12 10:45:16 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
afc163
53ef8bed92 docs: 🎬 Improve DatePicker demo 2020-08-06 15:10:52 +08:00
偏右
a9f14ea48f
refactor: 🌎 new kmr_IQ to replace ku_IQ (#26030)
* feat: 🌎 new kmr_IQ to replace ku_IQ

close #25778
close #25790

* fix locale provider Legacy usage

* Update docs/react/i18n.en-US.md

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

* Update i18n.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-08-06 10:40:58 +08:00
Ivan Yakovlev
2a05d5a93f
fix: remove typo (#25954) (#25990)
Co-authored-by: Ivan.Yakovlev <ivan.yakovlev@pochtavip.com>
2020-08-03 23:21:29 +08:00
Ivan Yakovlev
b91b30c48a
chore: localization update (#25958)
* chore: add missed variable (#25954)

* chore: add missed variables (#25954)

* chore: transform to uppercase (#25954)

* chore: add missed varibles (#25954)

Co-authored-by: Ivan.Yakovlev <ivan.yakovlev@pochtavip.com>
2020-08-02 13:41:44 +08:00
07akioni
5a08aab0e8
docs: DatePicker demo refactor (#25913)
* docs: DatePicker change type demo

* chore: snapshot

* chore

* docs: DatePicker use Space

* chore: snapshot
2020-07-30 19:17:34 +08:00
zombiej
cdefaec190 docs: Update DatePicker docs 2020-07-30 13:56:18 +08:00
Kermit Xuan
53be0fb0a7
chore(picker): improve hovering experience (#25826) 2020-07-27 15:56:34 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice (#25768)
* docs: Update DatePicker docs and add legacy notice

* clean up

* only warning for QuarterPicker

* update docs

* fix lint

* note to warning
2020-07-23 11:25:17 +08:00
Kim Wing Fung
2bbdc2c911
feat: RangePicker onCalendarChange info support (#25568)
* Include new parameters for onCalendarChange to match rc-picker v1.12.0

* Use correct highlighting

* Update to rc-picker 1.12.1

* Include version information

* Adjust version information

Co-authored-by: Kim-Wing-Fung <c-kfung@powercosts.com>
2020-07-10 16:53:26 +08:00
二货机器人
a736ab367c
feat: Support panelRender (#25488) 2020-07-08 09:58:53 +08:00
二货机器人
6769a9baa9
fix: RangePicker clear btn position (#25458) 2020-07-06 23:01:43 +08:00
Johannes Andersen
f71d2d5493
feat: improve nb_NO translations (#25374)
* feat: improve nb_NO translations

* fix: issued with VSCode not highlighting issues

* fix: fix failing snapshot test

* Updated rc-picker 1.10.0 -> 1.10.6
2020-07-06 11:03:56 +08:00
xrkffgg
04b728e6f5
docs: format api cascader/datepicker/form (#25307) 2020-06-30 16:36:58 +08:00
陈帅
523b74e3b6
merge master into Feature (#25262)
* feat: add successColor for Progress (#24655)

* feat: add successColor for Progress

* feat: update

* fix: update test

* remove snap

* feat: add test case

* refactor success

* feat: adjust styyle

* feat: add DevWarning

* feat: Support rowSelection.dirty (#24718)

* feat: Support rowSelection.dirty

* rename to reserveKeys

* preserveKeys will keep record also

* to preserveSelectedRowKeys

* feat: add ghost prop for collapse (#24734)

* feat: add ghost prop for collapse

* doc: version of collapse's ghost prop

* refactor: make ghost collapse's less code to a nested style

* chore: remove redundant codes in ghost collapse's less & doc

* doc: add a background wrapper for ghost collapse demo

* doc: dark-theme wrapper bg-color for ghost collapse demo

* test: update snapshot of ghost collapse

* doc: use softer bg-color on ghost collapse demo

* doc: remove disabled panel in ghost collapse demo

* feat: form instance support getFieldInstance (#24711)

* support getFieldInstance

* update doc

* fix lint

* move func

* move into hooks

* update ref logic

* fix lint

* rm only

* fix docs

* feat: dropdown support arrow (#23869)

* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot

* chore: change the style of ghost collapse & demo modified (#24762)

* refactor: reduce content padding in ghost collapse

* doc: remove the wrapper outside ghost collapse

Designer want the demo differs from other demos

* refactor: remove redundant .less code in collapse

* feat: cascader dropdown-render prop (#24812)

* feat: cascader dropdown-render prop

* fix: update Cascader dropdownRender type annotation

* fix: set rc-cascader semver from ^ to ~

* docs: fix coding style in cascader/custom-dropdown

* feat: 🆕 support Drawer closeIcon (#24842)

* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs

* feat: 🆕 Cascader expandIcon (#24865)

* feat: cascader expandIcon

* fix: snap

* refactor: reduce CSS size (#24846)

* refactor: reduce button css size

* refactor: remove redundant button .less code

* feat: add Table onChange an action param (#24697)

* Working on tests

* created TableAction type

* changed TableActions to tuple

* removed chinese documentation line

* refactor TableActions

* fix documentation

* Moved action into extra param

* minor doc change

* feat: add closeIcon customize tag close (#24885)

* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name

* update snapshot

* snapshot

* feat: add radio `optionType` api to set radio option type (#24809)

* feat: radio component

* docs: update md

* fix: snap

* test components

* fix: use optionType

* fix name

* add warning

* fix

* feat: expand rate character (#24903)

* feat: expand rate character

* fix: demo

* fix: snap

* Update components/rate/index.zh-CN.md

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

* fix

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

* Refactor demo code box actions (#24887)

* refactor: refine the styling of actions part of demo code-box

* fix: lint style

* refactor: move Result children to end (#24945)

* feat: remove content max-width on dot-step (#24907)

* feat: add Skeleton-Image (#24805)

* feat: add Skeleton-Image

* feat: add docs

* fix: adjust skeleton

* feat: adjust Image Component

* feat: rebase

* feat: adjust style

* fix: lint

* feat: remove size

* feat: delete md

* feat: fix style

*  feat: Mentions support autoSize (#24961)

close #17746

* chore: replace textarea with rc-textarea (#24966)

* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964)

* feat: update pagination@2.5.0 and add test case to relative component

* fix: lint

* delete

* feat: add test case for pagination

* adjust test case

* feat: Implement centered prop in Tabs (#24958)

* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>

* feat: Add modal style parameter (#24773)

* add some paramters in default.less

* Update components/style/themes/default.less

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

* change parameter in compact.less

Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>

* feat: export Tabs addIcon (#25006)

* feat: export Tabs addIcon

* update snapshot

* feat: showNow on timepicker and datetimepicker (#25032)

* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035)

* feat: update rc-picker@1.7.1

* delete

* add

* feat: expand rate support props (#24993)

* docs: 📝 Add Form.Item hidden in doc (#25108)

close #25101

* fix: ⌨️ Improve Pagination accessibility issue (#25119)

* ⌨️ Improve Pagination a11y by fixing a W3C error

https://github.com/react-component/pagination/issues/280

* update snapshot

* 🆙 rc-pagination to 2.4.1

* feat: support triggerSubMenuAction for <Menu /> (#25127)

* feat(menu): add triggerSubMenuAction for Menu

* feat(menu): test cases

* chore: Adjust picker logic (#25135)

* chore: update rc-picker 1.10.0 (#25174)

* feat: table row check strictly (#24931)

* feat: add checkStrictly on Table.rowSelection

* fix: LGTM warnings

* test: table rowSelection.checkStrictly

* test: add cov [wip]

* refactor: tree.rowSelection.checkStrictly [wip]

* test: table.rowSelection.checkStrictly basic case

* feat: support rowKey on checkStrictly table

* feat: Table checkStrictly support getCheckboxProps

* docs: Table checkStrictly

* chore: typo

* chore: remove useless comment

* chore: update snapshot

* chore: update snapshot

* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback

* docs: typo

* chore

* chore

* fix: expand buttons of leaf rows in tree data are not hidden

* feat: Table warning about rowKey index parameter

* perf: only generate keyEntities when not checkStrictly

* refactor: remove useless parseCheckedKeys

* refactor: get derived selected & half selected keys from selectedRowKeys

* chore: remove env condition stmt

* chore: revert index usage & code formatting

* chore: rerun ci

* docs: table tree-data checkstrictly

* test: update snapshots

* refactor: use useMergedState hook

* chore: rerun ci

* chore: rerun ci 2

* chore: revert selection select all behavior

* refactor: refactor code based on feature

* chore: revert table code format

* chore: revert table code format

* fix: useMemo deps

* fix: useMemo deps

* fix: useMemo deps

* feat: support preserve (#25186)

* docs: add responsibly order for Col (#25139)

* feat: add type

* feat: add responsibly order cols

* feat: add docs

* feat: add test case

* fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
2020-06-28 22:41:59 +08:00
Samed Düzçay
eadbd62ee8
feat: improve Turkish translations (#25100)
* Update Turkish translations

* feat: update Turkish translations

* /* eslint-disable no-template-curly-in-string */

* fix: minor change to a Turkish translation

* chore: update snapshots

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-06-20 18:10:52 +08:00
xrkffgg
7f2d8a4a50
fix: TimePicker panel align (#25019)
* fix: TimePicker panel align

* fix: padding

* fix: height

* fix: both
2020-06-18 10:54:45 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
xrkffgg
4e2118cad0
docs: update picker placeholder (#24861) 2020-06-09 13:07:39 +08:00
afc163
019eeec3ce fix: TimePicker.RangePicker don't support bordred={false}
when has className

close #24768
2020-06-06 14:37:08 +08:00
afc163
e09ce6284e 🎬 update DatePicker and TimePicker demo 2020-06-06 14:01:29 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
9d4d6f5402
Added Irish(ga_IE) locale (#24609)
🆙 upgrade rc-pagination and rc-picker

🇮🇪 docs and test case of Irish locale

Co-authored-by: AbhijeetGaware <56472463+AbhijeetGaware@users.noreply.github.com>
2020-05-31 12:40:10 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
偏右
a9b95fe63b
docs: 📅 DatePicker change start day of week (#24605)
close #5605
close #19229
close #17982
close #3877
close #11552
close #10644
close #12194
2020-05-31 01:01:53 +08:00
偏右
cf360252f7
chore: 🆙 upgrade rc-util to 5.x (#24584)
* 🆙 upgrade rc-util to 5.x

* 5.0.1

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* upgrade rc-menu and rc-mentions

* upgrade rc-tabs

* upgrade rc-picker

* upgrade rc-table

* fix snapshot

* Update package.json

* Update package.json

* Update package.json
2020-05-30 14:56:03 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
偏右
1bba2ef65e
chore: Delete netlify.toml and update devDeps (#24343)
* Delete netlify.toml

* 🆙 upgrade dev deps

* fix mockdate tsd

* fix tsc noEmit
2020-05-21 23:27:02 +08:00
二货机器人
c40b291415
feat: RangePicker support info (#24278) 2020-05-19 20:13:11 +08:00
二货机器人
a83143bbbc
fix: Picker disabled today (#24190) 2020-05-15 18:45:10 +08:00
偏右
8497e54e39
docs: 📖 keep documentation up to date (#24184)
* docs: remove babel-plugin-import from docs

* docs: react-scripts-rewired + customize-cra => craco

* docs: remove babel-plugin-import

* fix remark link
2020-05-15 17:18:55 +08:00
二货机器人
586c7f5218
fix: DatePicker panel exceed (#24145) 2020-05-14 12:01:27 +08:00
afc163
50e33768a9 fix DatePicker snapshot 2020-05-13 16:10:48 +08:00
xrkffgg
04eb91dc8e
style: fix datepicker panel style (#24028) 2020-05-11 12:02:24 +08:00
xrkffgg
e26eb5f892
docs: optimize site of rtl (#23995) 2020-05-10 22:11:09 +08:00
xrkffgg
015109b42b
style: opt datepicker active bar style in rtl (#23981) 2020-05-09 10:00:23 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined (#23818)
* fix placeholder

* add test case

* update snapshot
2020-05-02 21:55:23 +08:00
偏右
78b7cf22a1
style: 💄 Fix DatePicker clear icon style (#23811) 2020-05-01 22:16:05 +08:00
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
偏右
7bf44c417c
test: fix test case for RangePicker presetted ranges (#23710)
*  fix test case for RangePicker presetted ranges

* 🆙 upgrade simple-git
2020-04-28 16:48:06 +08:00
afc163
e4bdfb218c add test case for RangePicker presetted ranges 2020-04-28 16:00:04 +08:00
偏右
b70d607b9f
💄 Fix RangePicker ranges color when custom theme (#23705)
close #23687
2020-04-28 14:59:17 +08:00
Tom Xu
f5153ab950
docs: improve style type (#23700) 2020-04-28 14:09:54 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
Tom Xu
8cdf1c017a
fix: ConfigProvider getPopupContainer invalid (#23594)
* fix: ConfigProvider getPopupContainer invalid

* slider getPopupContainer

* Create container.test.js

* Update container.test.js
2020-04-25 22:46:21 +08:00
偏右
835bcabdbc
💄 fix DatePicker/TimePicker icon color (#23508)
should be same as 3.x
2020-04-23 10:48:51 +08:00
Tom Xu
b7e877aeef
refactor(slider): rewrite with hook (#23474)
* refactor(slider): rewrite with hook

* improve test

* Revert "improve test"

This reverts commit 48cd83d0cc.

* improve test

* improve test 2
2020-04-22 15:58:57 +08:00
偏右
c550cb050b
💄 fix DatePicker/TimePicker disabled icon color (#23478) 2020-04-22 15:16:51 +08:00
偏右
db97c5788e
chore: add remark lint (#23457)
* 💄 Add remark lint for markdown files

* 💄 Add remark lint for markdown files

* 💄 Add remark lint for markdown files
2020-04-21 23:40:41 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
xrkffgg
4d31ed8994
style: optimize datepicker rtl style (#22595)
* style: optimization datepicker rtl style

* fix icon in rtl

* fix: opt rtl
2020-04-09 12:38:53 +08:00
二货机器人
f42cdca081
chore: adjust RangePicker style (#23025)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow
2020-04-08 20:41:57 +08:00
Calin Vlad
4ed2d6a44d
docs: update DatePicker docs to specify correct monthCellRender prop insted of monthCellContentRender (#22946) 2020-04-05 22:18:14 +08:00
zombiej
3b77e610fe chore: Update snapshot 2020-04-03 12:19:41 +08:00
二货机器人
9ecb12db76
refactor: Refactor picker generate to multiple files (#22850)
* move single picker out

* move generateRangePicker out

* fix compile
2020-04-02 15:46:07 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
Paul Julien
33e5ef20ed
fix: Fix date_picker et time_picker locale for 🇫🇷 (#22769)
* fix french locale

* le -> un
2020-04-01 16:07:16 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
zombiej
7878fb6edc fix test case 2020-03-27 13:25:18 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
xrkffgg
901f862117
style: add separator disabled (#22563) 2020-03-24 17:27:40 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
二货机器人
147251345a
fix config provider size (#22486) 2020-03-22 15:52:02 +08:00
二货机器人
1e95c6cef0
feat: Quarter picker (#22468)
* support quarter picker

* update snapshot

* fix lint
2020-03-21 22:43:04 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
xrkffgg
7da82dc196
style: add rtl.less of DatePicker (#22414)
* style: add rtl.less of DatePicker

* fix: remove var

* fix: add
2020-03-20 11:58:57 +08:00
偏右
f3e0191fa9
💄 tweak RangePicker arrow shadow (#22406) 2020-03-19 18:20:43 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
afc163
5f61dda3c9 fix select-in-range.md 2020-03-18 17:35:42 +08:00
afc163
02dbd8078d update snapshots 2020-03-18 17:35:42 +08:00
afc163
b33c1d5d88 docs: 📝 onOpenChange argument name 2020-03-18 17:35:42 +08:00
afc163
e2c76ff9fb 🎬 Add RangePicker demo
close #22345
2020-03-18 17:35:42 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
Arnaud Benhamdine
e0ecd4389b
fix: remove acute accents in datepicker FR locale (#22238)
* fix: remove acute accents in datepicker FR locale

* Add missing trailing "r"
2020-03-16 09:57:20 +08:00
偏右
71c8fac72f
Merge branch 'feature' into master-to-merge-feature 2020-03-13 11:52:28 +08:00
Gibson C
875f1afc79
feat: Define PickerLocale typedef (#22132) 2020-03-12 10:49:32 +08:00
Paul Julien
e989683eef
fix: fr_FR locale (#22122) 2020-03-11 18:37:48 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
偏右
28c06266d0
docs: 📝 documentation for DatePicker inputReadOnly (#22024)
close #20442
close #21831
close #20816
2020-03-09 17:13:43 +08:00
二货机器人
d23d53b2e8
chore: Update snapshot (#21966) 2020-03-07 15:05:19 +08:00
xrkffgg
cb4ad64991
style: add datepicker cursor style (#21937) 2020-03-06 15:53:44 +08:00
afc163
c5e5a8c895 update snapshots 2020-03-05 20:32:38 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
GJ Wang
f78332171e
docs: fix size props (#21724) 2020-03-01 18:24:59 +08:00
偏右
50087b22d8
📦 Remove DatePicker legacy cell className (#21589) 2020-02-25 19:41:43 +08:00
偏右
1f75773bf1
🐛 Fix RangePicker style render bug in IE11 (#21587)
close #21559
2020-02-25 18:14:16 +08:00
Orkhan Huseynli
28a529274b
feat: Azerbaijani translation (#21387)
* add Azerbaijani translation

* fix: rename Azerbaijani translation file

* fix: add az_AZ.txs file into locale/ folder

* fix: linting error on tranling comma

* fix: duplicate locales in locale-provide, a typo

* https://github.com/ant-design/ant-design/issues/21343 - fix (#21344)

* fix(Form): label width not correct when screen less than xs (#21222)

* fix(Form): label width not correct when screen less than xs

* fix form item control width

* fix css selector priority

* fix: separate translation into multiple files for Azerbaijani locale

* fix: wrong import from tr_TR locales into az_AZ

* fix: typo in calendar locale az

* add Azerbaijani translation

* fix: rename Azerbaijani translation file

* fix: add az_AZ.txs file into locale/ folder

* fix: linting error on tranling comma

* fix: duplicate locales in locale-provide, a typo

* add: time picker az_AZ locale

* fix: separate translation into multiple files for Azerbaijani locale

* fix: wrong import from tr_TR locales into az_AZ

* fix: typo in calendar locale az

* update: rc-picker in package.json

Co-authored-by: ElliotAshby <47282526+ElliotAshby@users.noreply.github.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2020-02-15 22:28:12 +08:00
xrkffgg
11d06d5d83
style: fix datepicker disabed style (#21352) 2020-02-12 15:18:08 +08:00
二货机器人
d374cfd5fc
Merge pull request #21284 from ant-design/feature
chore: Master merge feature
2020-02-08 12:02:06 +08:00
偏右
06ba40e860
🆕 Add bordered prop (#21242)
close #19859
2020-02-06 10:02:02 +08:00
Maurício Rodrigues
e963bdb6ed
fix: pt_BR locale rangePlaceholder translation
Simply adjusting for a more accurate translation =)
2020-01-28 08:44:13 -03:00
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +08:00
二货机器人
5556ab585f
chore: Add DatePicker related interface ts export (#20900) 2020-01-14 19:46:05 +08:00
信鑫-King
da64b8b59a tweak: DatePicker styling (#20736)
* tweak: picker start and end border-radius

* fix: border

* feat: @picker-basic-cell-active-with-range-color: and @picker-date-hover-range-color

* fix: border-radius use less vars

* revert: date picker panel border
2020-01-09 15:32:12 +08:00
xrkffgg
f3b9a166ac fix: 修复DatePicker 预设范围的选择按钮样式 (#20760) 2020-01-08 15:13:49 +08:00
偏右
90d819fc6f
docs: 📝 update title to Replace Moment.js (#20730)
* 📝 update title to Replace Moment.js

* Update and rename generate-picker.zh-CN.md to replace-moment.zh-CN.md

* 🔗 fix links
2020-01-08 11:29:37 +08:00
偏右
8e1051daf5
🐛 Fix DatePicker in Input.Group missing left border when hover (#20644)
close #20372
2020-01-03 16:21:34 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size (#20570)
* feat: Support form & ConfigProvider set component size

* update snapshot

* fix lint

* rm only

* update doc

* Table & Card support sizing

* Update snapshot

* fix lint

* update snapshot

* flush rest snapshot
2020-01-03 13:38:16 +08:00
Saeed Rahimi
676de29eb4 feat: added rtl direction to all of ant-design components (#19380)
* rtl demo change en-us description

* change bundlesize css limit

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* fix select component arrow issue

* RTL: form component

* add pagination rtl test

* fix test lint error

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* some fixes to RTL components

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* fix switch component text rtl issue

* fix table grouped header text-align

* add rtl support to whole demo with RTL button

* Update rtl demo responsive

* RTL: page-header component

* RTL: typography component

* RTL: Dropdown (Partial)

* update config-provider doc

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* fix lost changes after rebase

* fix lint errors

* RTL: Transfer Component

* RTL: upload component

* RTL: update avatar demo

* RTL: comment component

* RTL: collapse component

* RTL: carousel component

* update snapshots

* RTL: Card component

* RTL: descriptions component

* RTL:  Empty component

* RTL: list component

* RTL: slider component

* slider component import/order

* add shared rtlTest

* RTL: Statistic component

* RTL: tooltip components

* RTL: popover component

* RTL: timeline component

* RTL: tag component

* RTL: alert component

* RTL: drawer component

* RTL: Tab component

* change direction definition

* RTL: progress component

* input.tsx, remove duplicate after rebase

* fix demo.less after rebase

* fix ant-row-rtl after rebase

* fix upload issues in rtl

* badge rtl demo margin fix

* fix: tabs with icon margin

* fix: radio-wrapper margin

* fix: table component after rebase

* fix: centered modal text-align

* update slider snapshot

* RTL: popconfirm component

* RTL: back-top component

* RTL: spin component

* RTL: result component

* RTL: skeleton component

* RTL: menu component

* RTL: time-picker component

* RTL: calendar component

* RTL: date-picker component

* RTL: home page

* update snapshots

* test: add auto-complete rtl test

* test: add avatar component rtl tests

* test: add badge component rtl tests

* test: add breadcrumb component rtl tests

* test: add button components rtl tests

* test: add card component rtl tests

* test: add carousel component rtl tests

* test: add cascader component rtl tests

* test: add checkbox component rtl tests

* test: add collapse component rtl tests

* test: add comment component rtl tests

* test: add dropdown component rtl tests

* test: add empty component rtl tests

* test: add form component rtl tests

* test: add grid component rtl tests

* test: add input component rtl tests

* test: add search component rtl tests

* test: add input-number component rtl tests

* test: add layout component rtl tests

* test: add list component rtl tests

* test: add mentions component rtl tests

* test: add modal component rtl tests

* test: add page-header component rtl tests

* test: add pagination component rtl tests

* test: add radio component rtl tests

* test: add rate component rtl tests

* test: add select component rtl tests

* test: add slider component rtl tests

* test: add steps component rtl tests

* test: add switch component rtl tests

* test: add table component rtl tests

* test: add transfer component rtl tests

* test: add tree component rtl tests

* test: add tree-select component rtl tests

* test: add typography component rtl tests

* test: add upload component rtl tests

* test: add affix component rtl tests

* update calendar tests

* increase css file maxSize

* update snapshots

* remove workflows to allow push

* remove duplicate reverse prop from slider

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* Added direction property to ConfigProvider

* cascader rtl tests added

* update config-provider doc

* RTL: grid system

* RTL: input component

* RTL: switch component

* fix rtl demo lint

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* RTL: form component

* add pagination rtl test

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* input.tsx, remove duplicate after rebase

* fix ant-row-rtl after rebase

* update snapshots

* test: add cascader component rtl tests

* test: add pagination component rtl tests

* update calendar tests

* update snapshots

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* update direction.md icons

* dropdown and cascader default placement in rtl

* update snapshots

* fix lint errors

* remove duplicate import

* update snapshots

* update snapshot

* update calendar snapshot

* update snapshots

* integrate with new rc-picker

* update snapshots

* fix lint errors

* update snapshot

* update snapshots

* update snapshots

* update snapshots :|

* update snapshots

* fix compile error.

* fix typo after rebase

* update snapshots

* remove workflows to allow push

* update snapshots

* update snapshots

* fix dist error

* front-page css fix

* update snapshots

* fix lint and test issues

* restore cascader index.less

* update snapshots

* fix logo in rtl and demo controls

* ci errors

* resolve steps/index.tsx conflicts

* tooltip family demo remove inline style

* resolve table/Table.tsx conflicts

* resolve modal/Modal.tsx conflicts

* resolve cascader/index.tsx conflicts

* add workflows from upstream

* update snapshots

* revert logo to default

* fix codebox demo direction of placements

* resolve tooltip overlayClassName conflicts

* update snapshots

* update popover test

* fix: cascader miss popupClassName

* fix: fix select missing dropdownClassName

* chore: Update snapshot

* chore: Adjust menu use rtl logic

* docs: Update demo line color

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
二货机器人
0b5c92b1a4
chore: Clean up merged code (#20595)
* chore: Clean up merged code

* fix hy-am
2020-01-02 16:51:52 +08:00
陈小聪
014bed6358 docs: generate picker (#20515)
* docs: faq How to use dayjs instead of moment

* adjust article position

* add steps and use cases

* change docs

* add bisheng config source

* translate title

* remove customize TimePicker

* simplified document

* Update docs/react/generate-picker.zh-CN.md

Co-Authored-By: 偏右 <afc163@gmail.com>

* Update docs/react/generate-picker.zh-CN.md

Co-Authored-By: 偏右 <afc163@gmail.com>

* add cra demo

* init demo refer 'Use in TypeScript'

Co-authored-by: 偏右 <afc163@gmail.com>
2020-01-02 16:05:59 +08:00
ycjcl868
fce441843c fix: margin-bottom style 2019-12-31 15:12:18 +08:00
ycjcl868
e7663800c6 fix: Picker margin-bottom 2019-12-31 15:12:18 +08:00
偏右
d8cea7489d
💄 fix stylelint warnings and errors (#20562) 2019-12-31 15:04:00 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
二货机器人
0f63cfceaf
Merge pull request #20449 from ant-design/merge-master
chore: Merge master
2019-12-25 20:38:44 +08:00
骗你是小猫咪
30bb97552e fix: datePicker size (#20384)
* fix: datePicker size

* fix align

* remove componet less var and use input base

* use padding spread

* extract picker-padding

* fix spelling mistakes
2019-12-25 20:35:29 +08:00
ycjcl868
c6fa94c534 fix: picker-date hover range color 2019-12-25 20:34:40 +08:00
zombiej
80359a15b1 clean up 2019-12-25 20:19:33 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
f7cfb21d1c fix: calendar-full background 2019-12-25 18:06:50 +08:00
chenshuai2144
cbfc052d0d dark theme sync 2019-12-23 16:02:09 +08:00
ycjcl868
d316190e41 fix: picker dark theme 2019-12-21 16:38:51 +08:00
二货机器人
a33acaacf4
fix: datePicker popup z-index should over modal (#20346) 2019-12-19 16:35:04 +08:00
zombiej
4ce683a8b2 test: Update test case 2019-12-19 16:10:36 +08:00
二货机器人
407a41a142
feat: New Picker (#20023)
* init generate

* basic style

* basic panel style

* update mode panel style

* update style

* generate More picker

* default clear icon

* chore: Update separator type

* feat: Add ranged start & end className

* update range style

* Add transition effect

* support size config

* adjust range style

* chore: Auto fill time by showTime

* auto set time by format

* update disabled style

* update seperator style

* ranges style

* support extra footer style

* remove useless test case
part is not usable anymore
part is already tested in rc-picker

* init calendar

* all demos

* fix calendar basic test

* fix time-picker test case

* update snapshot

* fix tooltip test case & lint

* fix locale & style lint

* fix compile

* fix style

* fix style lint

* fix calendar style

* update rc-picker version

* adjust style

* move picker placeholder into locale file

* update snapshot

* add hover style

* update picker version

* fix icon position & style

* update picker version

* update deps for pading

* fix: align of suffix

* feat: Year & Month support range effect

* adjust range style to support up-down placement

* update rc-picker

* update range picker style

* adjust extra footer line style

* update snapshot

* fix: Locale error

* fix: style lint

* fix: add missing button style deps

* update test case

* fix firefox additional white line style issue

* rollback demo

* fix ff additional blue color

* docs: Remove placeholder in demo

* rangepicker ranges is tag now

* connect start / end background color with picker range

* update deps

* update deps for fixing blur text issue

* hide start-end demo

* range hover style update

* hover range with ranged value

* black magic of inner hover style

* hover style of range adjust

* fix css select miss hit on DatePicker

* remove one eslint rule

* fade range hovered color

* week should alway not show the cell selection

* update style of selection

* update snapshot

* fix style

* add margin back

* update rc-picker deps

* update date & time picker & form style

* fix disabled demo & update form style

* update docs about allowEmpty

* hide arrow in time range picker

* add hover & focused style

* fix lint

* fix style & update snapshot

* raise disabled selector proirity

* fix disabled today border color

* extra footer provides an bottom line

* time picker hover support transition background

* add padding style

* fix Firefox not correct calculate inline-flex

* fix style

* fix week picker missing today border color

* rm useless padding

* Force padding to 0

* test coverage

* dedup eslint rule

* adjust logic to imporve coverage

* fix render cell logic
2019-12-11 23:32:19 +08:00
Khaled
2f7998cc0c Fix: "disabledTime" property type in date-picker
disabledTime property should not be required in DatePicker component.
2019-12-09 23:38:00 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail (#19408)
* fix: upgrade rc-tooltip lint fail

* fix tooltip typescript type

* rebase and update snapshots

* update tests

* change trigger mock export

* upgrade rc-trigger

* fix type error

* upgrade dependencies

* update snapshots

* upgrade rc-calendar and test use sleep

* update snapshots

* fix test fail

* update snapshots
2019-12-05 16:15:10 +08:00
damon.chen
cba968f9dc chore: fix RangePicker value and onChange definition (#20015) 2019-12-02 17:22:06 +08:00
ycjcl868
898311c637 fix: datepicker bg @time-picker-panel-inner-bg 2019-12-02 12:22:19 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
ycjcl868
dfa14f469a feat: add @dropdown-menu-bg, @time-picker-bg, @calendar-bg, @calendar-input-bg, @pagination-item-bg 2019-11-29 09:04:39 +00:00
ycjcl868
04ec04ac85 feat: add @calendar-item-active-bg 2019-11-29 09:04:38 +00:00
ycjcl868
4440062e66 feat: add @message-notice-content-bg and @calendar-border-color 2019-11-29 09:04:38 +00:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
yehq
0a13af0f2e doc(DatePicker, cascader): 删除版本信息 (#19820) 2019-11-20 14:53:43 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
诸岳
8f52b8028b chore: Merge master branch and fix conflicts 2019-11-11 10:10:53 +08:00