Commit Graph

933 Commits

Author SHA1 Message Date
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