Commit Graph

115 Commits

Author SHA1 Message Date
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

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

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
LeoYang
520407925a
docs(date-picker): modify datepicker select-in-range demo (#27751)
* feat: modify datepicker select-in-range demo

* fix: lint
2020-11-13 17:05:16 +08:00
JuniorTour
87dba05e2a
docs: fix invalid disabledDate of RangePicker demo (#27112)
* docs: fix invalid disabledDate of RangePicker demo

Close https://github.com/ant-design/ant-design/issues/26885

* Update select-in-range.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-10-20 22:03:02 +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
afc163
53ef8bed92 docs: 🎬 Improve DatePicker demo 2020-08-06 15:10:52 +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
二货机器人
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
afc163
e09ce6284e 🎬 update DatePicker and TimePicker demo 2020-06-06 14:01:29 +08:00
二货机器人
1e95c6cef0
feat: Quarter picker (#22468)
* support quarter picker

* update snapshot

* fix lint
2020-03-21 22:43:04 +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
e2c76ff9fb 🎬 Add RangePicker demo
close #22345
2020-03-18 17:35:42 +08:00
偏右
50087b22d8
📦 Remove DatePicker legacy cell className (#21589) 2020-02-25 19:41:43 +08:00
偏右
06ba40e860
🆕 Add bordered prop (#21242)
close #19859
2020-02-06 10:02:02 +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
二货机器人
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
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
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
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
Yann Normand
e26c5133a5 fix DatePicker to support an array of formats (#15116)
ref #13148
2019-03-01 13:50:28 +08:00
mraiguo
86f0f97376 rangePicker clear when controlled (#14796) 2019-02-14 17:50:37 +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
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
ztplz
8e7da2a480 Correct date-picker demo 2018-11-26 21:44:57 +08:00
HeskeyBaozi
2b7bd92cf6 datepicker: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
160d34aeba add suffix icon to date-picker 2018-09-21 13:40:27 +08:00
afc163
afeda4fe70 demo: update presetted-ranges description 2018-08-04 12:04:07 +08:00
Ilan Hasanov
86398d910a 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Wei Zhu
17e26ecb71 Revert "docs: fix DatePicker start end demo"
This reverts commit b9120980fb.
2018-01-30 16:01:11 +08:00
Wei Zhu
b9120980fb docs: fix DatePicker start end demo
Close #9163
2018-01-29 19:19:36 +08:00
lizhen
a6d545f9fa issue #8608
use moment to prevent some problem
2018-01-08 20:51:59 +08:00
Kamron Batman
3eb91cef47 docs: update start-end.md (#8462)
Fixes english and spelling in start-end.md.
2017-12-06 09:35:34 +08:00
Wei Zhu
e613dc9050 Remove debug flag 2017-12-01 19:29:51 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker (#8345) 2017-11-30 09:54:31 +08:00
niko
be1cbd4eae upgrade rc-calendar dependency to 9.3.0 (#8353) 2017-11-29 11:23:15 +08:00
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
420c2666a9 docs: add chinese description for dateRender 2017-09-25 22:16:30 +08:00
Henri Normak
36a54a8a8c Expose renderDate function for DatePicker (#7710)
* Expose renderDate function for Calendar dates

* Use the original prop name
2017-09-25 22:10:26 +08:00
偏右
f3911b3707 Feat week picker (#7404)
* New Component WeekPicker

close #212

* Add WeexPicker in API doc

* update snapshot

* Add test cases

* update snapshot
2017-08-31 20:44:22 +08:00
Benjy Cui
2620318172 feat: support controlled panels for DatePicker and RangePicker, close: #5190 (#7049) 2017-08-21 21:15:44 +08:00
Benjy Cui
950c321b25 fix: should generate showHour from format k 2017-06-29 11:22:12 +08:00
afc163
6790e80f3e Add renderExtraFooter for DatePicker
close #6122, close #5188
2017-06-05 17:11:58 +08:00
Benjy Cui
361df26f3a fix: should support DatePicker|RangePicker[showTime.defaultValue], (#6160)
close: #5691 #2375
2017-05-18 14:51:06 +08:00
afc163
29e54c2339 fix lint in demo 2017-05-15 16:40:10 +08:00
Benjy Cui
555dbb9b29 docs: add MonthPicker disableDate demo 2017-05-15 16:18:08 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00