Commit Graph

84 Commits

Author SHA1 Message Date
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +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
陈小聪
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
二货机器人
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
yehq
0a13af0f2e doc(DatePicker, cascader): 删除版本信息 (#19820) 2019-11-20 14:53:43 +08:00
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx 2019-08-05 15:29:26 +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
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
susiwen
06eba00e0b Add FAQ link 2019-06-28 10:44:20 +08:00
susiwen
b710f47996 Add missing FAQ site 2019-06-28 08:50:50 +08:00
susiwen
85e483921b Add missing info in documents 2019-06-27 15:46:00 +08:00
afc163
6295cb4597
📝 Add FAQ for DatePicker/RangePicker mode prop usage 2019-06-05 22:03:17 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +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
ztplz
b40c0d3db3 Update DatePicker docs (#15092) 2019-03-16 14:00:44 +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
zombieJ
5ce7e71007
RangePicker support customize separator (#15055)
* support separator

* add version

* fix css
2019-02-28 16:11:10 +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
iugo
21b0f329b9
fix date-picker en doc type 2018-12-18 09:30:59 +08:00
zombiej
62810dbde6 datePicker support string[] format
close #13148
2018-11-30 14:34:58 +08:00
spideeee
7f8ad51c01 Moved "onCalendarChange" prop from DatePicker to RangePicker for English version 2018-11-20 22:06:35 +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
zombiej
c2e62c1910 fix doc
close #12806
2018-10-28 13:32:29 +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
baozefeng
825d770254 bugfix: Chinese doc website date-picker demo link go to English website 2018-07-18 20:07:22 +08:00
Wei Zhu
4b045fc43f Revert "docs: update moment locale usage"
This reverts commit 89228118af.

The original purpose to import locale from src is that some projects
adding `jsnext:main` to the `resolve.mainFields` config of webpack which leads
webpack load moment from `src/moment.js`. But import from `locale`
should works for most projects.
2018-07-11 15:17:15 +08:00
Wei Zhu
aa580beb8b docs: sort api table 2018-06-24 17:09:18 +08:00
Wei Zhu
89228118af docs: update moment locale usage 2018-06-08 12:22:22 +08:00
sosohime
d4ed303bcd doc: Update DatePicker document about locale (#10598) 2018-05-21 21:51:39 +08:00
afc163
7f8f89cbff doc: Add mode and onPanelChange in API document, close #9785 2018-04-27 20:17:39 +08:00
jim
50863acb1b datePicker add dropdownClassName prop fix #7211 2018-02-09 11:35:13 +08:00
Wei Zhu
1735d89a66 docs: Update RangePicker[ranges] type 2018-02-04 20:35:28 +08:00
Wei Zhu
6ea33da9f8 Don't use ISO week (#9025)
https://en.wikipedia.org/wiki/ISO_week_date

fix #9021
2018-01-21 01:05:19 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Wei Zhu
d2dc88c470 Add focus() and blur() document
Close #3790
2017-12-01 19:28:41 +08:00
Flynn
071149cfbb feature:add onCalendarChange for RangePicker (#8355)
* feature:add onCalendarChange for RangePicker

The event trigger when start time or end time is changing, which is useful for districting range user can select.

* Update index.zh-CN.md

update doc

* Update index.zh-CN.md

* Update index.zh-CN.md
2017-12-01 10:50:25 +08:00
niko
be1cbd4eae upgrade rc-calendar dependency to 9.3.0 (#8353) 2017-11-29 11:23:15 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +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
1920d9af46 chore: update details for #6584 2017-06-27 15:32:18 +08:00