Commit Graph

945 Commits

Author SHA1 Message Date
二货机器人
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
Stevche Radevski
52ab454715 feat: add a Macedonian translation (#19647) 2019-11-09 23:17:33 +08:00
Jennie
948a69c75e fix: date range picker type interface (#19421) 2019-11-07 10:22:12 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
afc163
2ee2cc3303 🐛 Fix DatePicker throw onEsc error
close #19461
2019-10-29 11:43:14 +08:00
Aymen Bouchekoua
13995bff02 Fix defaultPickerValue in WeekPicker (#19141) 2019-10-29 11:26:20 +08:00
Pornpavee Seri-umnuoy
e7ebf857bd fix(#18280): add type [Moment.moment, undefined] to RangePickerValue (#19300) 2019-10-19 14:48:41 +08:00
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +08:00
zombiej
4d81cea17a Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-29 11:15:13 +08:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
chore: Merge master into feature
2019-09-28 19:27:19 +08:00
afc163
49ecf9b738 add more test cases for DatePicker 2019-09-27 14:56:55 +08:00
Ilya Bondarenko
8846122060 feat: Add visible to filterDropdown function (#17614)
* Add visible to filterDropdown function

* Update tests
2019-09-17 14:22:16 +08:00
zombiej
c0105aa48f merge master 2019-09-03 14:35:58 +08:00
afc163
e4a3b72e78 🐛 Fix MonthPicker switch icon overflow
close #18604
2019-09-03 11:24:46 +08:00
zombiej
fc1d917c62 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-02 10:12:05 +08:00
afc163
e6091cfe6e 💄 Tweak RangePicker extra selected style 2019-08-30 11:11:28 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
Daniel Harrison
c54bffb3e2 Update presetted-ranges.md (#18546)
Corrected english | presetted -> preset
2019-08-29 15:07:35 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
偏右
19fc777351
Merge pull request #18274 from ant-design/master
Merge master into feature
2019-08-14 21:44:20 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
Jonathan Lee
a2cd6a5e7f types: complete monthCellContentRender property type definition on DatePicker.MonthPicker Component 2019-08-09 19:11:53 +08:00
偏右
64dbcc5504
Merge pull request #18124 from ant-design/master
chore: 😊 Merge master into feature
2019-08-09 14:02:26 +08:00
Ștefan Filip
a5a8f38dde Added support for Romanian locale (#18163) 2019-08-08 17:24:31 +08:00
orzyyyy
5e2aa20a72 test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
28f39739df test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx 2019-08-05 15:29:26 +08:00
afc163
4e57d8a5fe
fix snapshots 2019-08-04 22:45:12 +08:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
afc163
677974c863 🐛 Fix broken style detail of DatePicker by #17983 2019-07-31 11:44:46 +08:00
偏右
2b67ca48e0
Merge pull request #17983 from ant-design/fix-range-picker-active-style
style: optimize RangePicker active cell style
2019-07-30 18:25:18 +08:00
afc163
da741ecf84 💄 optimize RangePicker active cell style
close #17878
close #13567
close #16872
2019-07-30 18:07:08 +08:00
Sivaraj
81540a16a4 Fixed import rc-calendar - ta_IN
Tamil Locale added to rc-calendar
2019-07-30 12:48:00 +05:30
偏右
7588dda6ed
Merge pull request #17887 from xrkffgg/master
fix: the DatePicker border bug when the chose was century
2019-07-30 13:21:05 +08:00
偏右
fed7fec30b
Merge pull request #17971 from ant-design/fix-tag-tag-name
refactor: Tag should be span than a div semantically
2019-07-30 13:20:54 +08:00
xrkffgg
aa7f5fb776 fix: DatePicker 插件单个使用时,切换时间范围时,出现像素偏差问题。 2019-07-30 12:00:14 +08:00
afc163
4374514252 fix snapshot and test case 2019-07-30 11:58:45 +08:00
xrkffgg
e05347d5ce add decade style 2019-07-30 09:35:51 +08:00
haimrait
37d19cef3f
Fix issue #17949
Fix issue [#17949]
2019-07-29 16:58:38 +03:00
Sivaraj
4d4e14cc5d Added Tamil Locale
- தமிழ் (செம்மொழி)
2019-07-25 22:01:05 +05:30
xrkffgg
3148d9c884
DatePicker:修复当选择条件为世纪时,border 不对齐的样式 bug 2019-07-25 17:07:04 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale (#17816)
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
zombieJ
bdea770670
Merge pull request #17804 from ant-design/master
chore: Merge master into feature
2019-07-23 10:23:55 +08:00
mraiguo
ebe9097689 fix: DatePicker date order (#17694)
* Fix selected time order #17346

* add test case
2019-07-22 17:07:13 +08:00
afc163
9ef1cd70b6 💄 fix DatePicker hover style less variable 2019-07-22 15:09:43 +08:00
偏右
7d9af06289
Merge pull request #17546 from austin-krave/feature
Added ms_MY locale support
2019-07-15 16:58:28 +08:00
Goh Zhao Yang
312e9dd54f Added ms_MY locale support 2019-07-12 07:53:10 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
afc163
6498cbb283
💄 change another arrow style 2019-07-04 23:50:32 +08:00
afc163
efadb09569
💄 Optimize TimePicker focus style
close #17440
2019-07-03 23:25:04 +08:00
偏右
73d173da04
Merge pull request #17421 from justjavac/master
fix: DatePicker's input box is obscured on safari
2019-07-03 13:48:16 +08:00
迷渡
f78fc1c757 fix: DatePicker's input box is obscured on safari 2019-07-03 10:15:45 +08:00
susiwen
06eba00e0b Add FAQ link 2019-06-28 10:44:20 +08:00
偏右
f2954e6ca8
Merge branch 'master' into #17329 2019-06-28 10:15:51 +08:00
susiwen
b710f47996 Add missing FAQ site 2019-06-28 08:50:50 +08:00
偏右
d74c590f17
Update index.zh-CN.md 2019-06-27 21:51:43 +08:00
susiwen
85e483921b Add missing info in documents 2019-06-27 15:46:00 +08:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
zombieJ
dc4102d879
reset line-height of TextArea & Picker (#17165) 2019-06-19 11:23:21 +08:00
zombieJ
dc1572cff1
fix style (#17126) 2019-06-17 12:24:08 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
Ahmad Abdelaziz
482491ae87 Fixing date formats for Arabic-Egypt locale 2019-06-13 18:03:23 +02:00
afc163
6295cb4597
📝 Add FAQ for DatePicker/RangePicker mode prop usage 2019-06-05 22:03:17 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
Kimmo Saari
cd6f5ff3f1 Locale (feat #16752): Added Latvian localization (#16780) 2019-05-26 10:02:40 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
Sebastian Busch
4af2b62cb5 fix: Add some missing TypeScript prop definititions and clean up date-picker definitions (#16342)
* Add some missing TypeScript prop definitition, clean up date-picker definitions

* use DatePickerMode instead of redundant enumeration of modes

* decade was  missing from the list of modes

See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()

* add decade as possible value for mode prop
2019-05-03 21:55:18 +08:00
Sebastian Busch
7a514c1b94 Fix TypeScript def for RangePicker.renderExtraFooter(), gets no args 2019-04-26 14:31:38 +02:00
Sebastian Busch
e8229d8ec9 rc-calendar RangeCalendar calls renderFooter() without args 2019-04-26 13:40:59 +02:00
saxenanihal95
9fd4b2de63 Refactor: created InputIcon of common code in RangePicker and WeekPicker 2019-04-20 23:10:01 +05:30
zombieJ
7db67ae8f1
add interopDefault (#16110) 2019-04-16 11:39:43 +08:00
zombieJ
15b900bbfb
another try (#16077) 2019-04-15 14:56:21 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
zombieJ
100ebc9795
warning DatePicker of invalidate time (#15920) 2019-04-08 11:41:31 +08:00
ycjcl868
7f2a1d427b fix RangePicker endtime-input not editable 2019-04-07 10:28:30 +08:00
afc163
2916a35325
fix(DatePicker): fix RangePicker time-input not editable
close #15863
2019-04-04 15:42:25 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
zombiej
41f2316370 Merge branch 'feature' into merge-feature 2019-04-01 14:51:18 +08:00
alex89lj
e3b252b527 Fixed an issue about the component(RangePicker) could not select the … (#15427)
close #13302
2019-04-01 14:49:40 +08:00
ztplz
298a86f601 Add separator prop for RangePicker (#15765)
* Add `separator` prop for RangePicker

* Update
2019-03-31 12:59:37 +08:00
偏右
f3a07ac7ad
🐛 Fix disabled and selected date cell style of DatePicker (#15608)
close #15580
2019-03-24 19:50:58 +08:00
DiamondYuan
4eb33eb149 fix: set min-width instead of width (#15547)
* fix: set min-width instead of width

* test: updte snapshots
2019-03-21 11:31:58 +08:00
zombieJ
0dadee3233
revert input (#15516) 2019-03-19 18:33:31 +08:00
ztplz
b40c0d3db3 Update DatePicker docs (#15092) 2019-03-16 14:00:44 +08:00
zombiej
f9d8e50a1f rm input from datePicker 2019-03-13 16:04:42 +08:00
zombiej
96a95e65d3 update deps lint 2019-03-11 11:48:17 +08:00
afc163
881dce9a3e
💄 prettier codes 2019-03-06 13:45:40 +08:00
afc163
5d450d2a23
💄 unified DatePicker and TimePicker cursor style 2019-03-06 11:01:56 +08:00
偏右
19d916fd20
Merge pull request #15156 from ant-design/date-picker-popup
fix configProvider getPopupContainer not work with DatePicker
2019-03-04 19:04:27 +08:00
zombiej
0af6bded1d fix configProvider getPopupContainer not work with DatePicker 2019-03-04 11:11:50 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
Yann Normand
e26c5133a5 fix DatePicker to support an array of formats (#15116)
ref #13148
2019-03-01 13:50:28 +08:00
zombieJ
5ce7e71007
RangePicker support customize separator (#15055)
* support separator

* add version

* fix css
2019-02-28 16:11:10 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
yinjs
f602a9b153 fix #15035 datepicker onPanelChange ts declaration missing 2019-02-26 10:35:27 +08:00
zombieJ
fb6a493f11
support name prop (#15029) 2019-02-25 11:28:31 +08:00
afc163
5d46fa9679
📝 site: fix document punctuation 2019-02-22 17:15:48 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
mraiguo
86f0f97376 rangePicker clear when controlled (#14796) 2019-02-14 17:50:37 +08:00
zombieJ
aa5ed8c237
Continue works on #12667 (#14668)
* Update index.tsx

* add limitation on checking labelPlacement

* add type checking of 'mode' in DatePickerProps
2019-01-31 16:52:29 +08:00
kuitos
fc56fe9ce5 typing fix 2019-01-31 14:45:45 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
zombieJ
a379c47162
add missing defaultFormat (#14593) 2019-01-28 14:07:26 +08:00
zombieJ
04111fb40e
Support date format in locale (#14340)
* use locale format

* remove monthFormat

* use locale format

* add test case
2019-01-15 16:58:40 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
Yangzhedi
41e2103c80 test(date-picker): add date-picker not auto focus test 2019-01-10 21:56:13 +08:00
Yangzhedi
319949ee1a fix(date-picker): fix open judgement 2019-01-10 21:56:13 +08:00
Yangzhedi
ee1beaa459 fix(date-picker): fix open prop 2019-01-10 21:56:13 +08:00
Yangzhedi
f52b087194 fix(date-picker): fix focus 2019-01-10 21:56:13 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
c397ad8c34
Update rc-calendar to use new lifecycle methods & input auto focus (#14051)
close #11848
2019-01-03 11:52:31 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
Van Nguyen
1e14139610 Revise DatePicker callbacks with possibly null date 2018-12-29 17:42:34 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
* master: (23 commits)
   fix snapshots
  Add docs for the List rowKey prop
  💄 don't reset font-family in each component
  💄 chore card less variable
  Remove classNames from custom-typing file
  add collapsed faq ref: #13953
  feat: support define card border radius
  Fix dateRender not supported at WeekPicker
  📝 Add links in Home Page
  📝 Fix site responsive interaction, close #13954
  💄 chore Steps[labelPlacement="vertical"] style
   fix warning in test case
  📝 update tech antfin cases
  🐛 site menu open bug
  🐛 fix site defaultOpenKeys
  Correct docs
  💄 chore button code style
  fix spaces in curly brackets
  fix two more code style issues
  Fix method argument name
  ...
2018-12-28 12:11:18 +08:00
afc163
26a6d0382b
fix snapshots 2018-12-28 10:56:10 +08:00
aashutoshrathi
0e42cbf7e6 Added Hindi Locale 2018-12-27 18:11:42 +08:00
afc163
465b85f773
Fix dateRender not supported at WeekPicker
close #13957
2018-12-27 14:32:23 +08:00
Rahul Gurung
1a4fce7d0f #13576 - Kannada locale added (kn_IN) 2018-12-27 10:35:12 +08:00
HarlanLuo
41aa37bd99 fix doc error and add test case for WeekPicker 2018-12-24 18:03:08 +08:00
HarlanLuo
a7bedca0e2 WeekPicker: support renderExtraFooter 2018-12-24 18:03:08 +08:00
HarlanLuo
015945ed83 DatePicker: show extra footer in all mode 2018-12-24 18:03:08 +08:00
afc163
3c007a85dd
renderFooter should applied to all mode, close #11618 2018-12-24 13:45:31 +08:00
afc163
9c8f6bdb56
Merge branch 'master' into feature 2018-12-22 19:37:03 +08:00
afc163
88615024b1
Fix test snapshots 2018-12-22 19:36:46 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
zombiej
9a386e7336 update test case, OK button under calendar should not clickable 2018-12-18 10:36:51 +08:00
zombiej
c9aeb29b43 update snapshot 2018-12-18 10:32:33 +08:00
偏右
14fff83a4a
Merge pull request #13674 from iugo/patch-2
fix date-picker doc type
2018-12-18 10:09:15 +08:00
偏右
92e10eb015
Merge pull request #13650 from iugo/patch-1
fix RangePickerProps onOk type
2018-12-18 10:08:53 +08:00
iugo
30a6d38898
Update index.zh-CN.md 2018-12-18 09:32:02 +08:00
iugo
21b0f329b9
fix date-picker en doc type 2018-12-18 09:30:59 +08:00
iugo
a98e42784e
fix date-picker doc type 2018-12-18 09:28:25 +08:00
afc163
26936de2e8
🐛 Fix WeekPicker width, close #13629 2018-12-17 20:34:34 +08:00
iugo
5681d6381a
fix RangePickerProps onOk type 2018-12-17 11:39:47 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
1865e97393
💄 fix WeekPicker popup placement
https://gw.alipayobjects.com/zos/rmsportal/DUTKByAmrAqkfKHyltgA.png
2018-12-07 12:33:10 +08:00
afc163
677677c4f2
Add blanks 2018-12-07 12:15:36 +08:00
afc163
ff8eb02fc4
Add test case for #12475 2018-12-07 11:35:26 +08:00
afc163
bc704c3af4
Fix WeekPicker snapshot 2018-12-07 11:23:30 +08:00
afc163
d81364c7a9
🐛 Should focus date picker after select date value
close #12475

revert e5cfef5 to fix #7443 again

also fix #13424
2018-12-06 17:37:52 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
cc6402aec6
Upgrade TypeScript version to 3.2 2018-12-04 20:18:16 +08:00
lyhper
655ae8e4b4 fix: datepicker style error 2018-12-01 22:57:13 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
zombiej
62810dbde6 datePicker support string[] format
close #13148
2018-11-30 14:34:58 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
18f705fcf6
Merge branch 'master' into feature
* master: (28 commits)
  remove overflowY on TextArea autoSize since height transition has been removed for a long time fix #10151
  💄 tweak form control margin, close #13183
  Update Crowdin configuration file
  Correct date-picker demo
  📝 upgrade ts comment
  💄 tweak tree switcher icon size
  Fix regular error in firefox and safri
  add change log
  add checkbox-border-width
  add style to SwitchProps
  update rc-tree-select
  Snapshot fixed.
  tabIndex prop added to DatePicker
  Improve form demo
  prefer logical AND over ternary (#13254)
  fix form demo
  format (#13252)
  📝 improve document images
  migrate locale provider to new lifecycle method
  types: add generic type for Select[value]
  ...
2018-11-27 11:26:16 +08:00
ztplz
8e7da2a480 Correct date-picker demo 2018-11-26 21:44:57 +08:00
arifemrecelik
b2f6655061 Snapshot fixed. 2018-11-23 16:41:28 +08:00
arifemrecelik
f11a4c1b3c tabIndex prop added to DatePicker 2018-11-23 16:41:28 +08:00
spideeee
7f8ad51c01 Moved "onCalendarChange" prop from DatePicker to RangePicker for English version 2018-11-20 22:06:35 +08:00
zombiej
5ef2e23bcf Merge remote-tracking branch 'origin/master' into feature 2018-11-20 16:36:18 +08:00
afc163
8a49fea94a
🐛 Fix small RangePicker 1px align problem
close #13105
2018-11-16 18:20:08 +08:00
ztplz
b42d1dc3b1 update 2018-11-15 20:32:31 +08:00
ztplz
e515db334b Fix typo 2018-11-15 20:32:31 +08:00
zombiej
56585d700f add defaultPickerValue in datePicker doc
close #10402
2018-11-15 16:21:27 +08:00