章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
...
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
2022-05-19 09:46:26 +08:00
zombiej
5e910e74c1
docs: Fix DatePicker throw demo
2022-05-18 17:25:40 +08:00
zombiej
3a0c53470f
chore: merge master
2022-05-13 10:20:20 +08:00
dingkang
be2b0d8a6e
docs: replace class component with hooks ( #35500 )
...
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
2022-05-11 19:43:54 +08:00
iamkun
7dd0bd396d
fix: update merge
2022-05-06 14:02:45 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
iamkun
2804cb843a
update test
2022-04-13 14:27:29 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
iamkun
f8dc201218
fix merge
2022-03-18 16:57:11 +08:00
MadCcc
ed651f450d
fix: missing status style for RangePicker ( #34509 )
...
* fix: range picker should has status style
* chore: code clean
* chore: code clean
* chore: code clean
2022-03-15 18:38:22 +08:00
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker ( #34089 )
2022-02-17 13:38:49 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
...
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
2022-02-16 21:14:51 +08:00
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
2022-02-14 15:01:00 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
...
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
Rain120
753b848562
docs: add DatePicker format demo(Week start ~ end) ( #32078 )
...
* feat: doc of week format in date-picker
* feat: doc of week format in date-picker
* fix: set the tree-switcher-leaf-line position (#32075 )
* fix(image): small size hide preview text (#29900 )
* fix(image): small size hide preview text
* fix: image preview text ellipsis
* fix: reset test
* chore: improve icon search experience (#32098 )
* chore: improve icon search experience
close #32097
* chore: search result empty data
* feat: Georgian translation (#32106 )
* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400
Add files via upload
add georgian translation
Create ka_GE.tsx
Create ka_GE
Rename ka_GE to ka_GE.tsx
Create ka_GE.tsx
Update ka_GE.tsx
Update ka_GE.tsx
Create ka_GE.tsx
update rc-picker version
Create ka_GE.tsx
Create ka_GE
Rename ka_GE to ka_GE.tsx
Update ka_GE.tsx
Update ka_GE.tsx
Create ka_GE.tsx
update rc-picker version
* Update package.json
Co-authored-by: Amumu <yoyo837@hotmail.com>
* test case
* add language option in markdown
* test
* Update components/calendar/locale/ka_GE.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/calendar/locale/ka_GE.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
* docs: Update research-message-and-feedback.zh-CN.md (#32112 )
* fix: Use latest rc-picker version with defaultPickerValue/showTime fix (#32107 )
* update rc-picker dependency to 2.5.17
* add test: DatePicker.RangePicker with defaultPickerValue and showTime
* fix: missing `default.css` (#32116 )
* chore: Add CI for compile
* chore: Add missing compile file
* docs: fix typo (#32121 )
* fix: preserve table pagination className (#32131 )
close #32130
* fix: use well typed PaginationLocale from rc-pagination (#32128 )
* docs: fix typo
* fix: useMessage() should use getPopupContainer from <ConfigProvider />… (#31939 )
* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841
* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841
* add test case for useMessage hook
* restore some changes
* try to restore files agains
* restore and keep the same as upstream master
* restore files
* restore some definition
* feat: inherit rc-pagination props, more customizable (#32132 )
* feat: inherit rc-pagination props, more customizable
close #32128 , #32129
* chore: CustomSelect.Option is required by rc-pagination
* fix: LocaleReceivier types issue
* fix: lint issue, pageSize must be presented
* chore: add Button.shape 'default' definition (#32004 )
* feat: add Button.shape 'default'
* fix: ignore shape when falsy value
* fix: generate className only when shape match
* fix: remove necessary .ant-btn-default and update snapshot
* fix: Cascader missing props (#32143 )
* fix: Cascader deps
* docs: Update using new API
* test: Test case cover
* chore: compressed skip dup check
* chore: remove redundant space after `should` (#32141 )
* chore(deps-dev): bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (#32149 )
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 35.0.0 to 36.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v35.0.0...v36.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: fix modal demo in small screen
* refactor(dropdown): add dropdownButtonType export and refactor defaultProps (#31957 )
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: drizzlesconsin <69514654+drizzlesconsin@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Primlx <primulax@live.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: in_vane <52909860+in-vane@users.noreply.github.com>
Co-authored-by: Thomas Zipner <thomas.zipner@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MD. Ariful Alam <swazan.arif@gmail.com>
Co-authored-by: JounQin <admin@1stg.me>
Co-authored-by: James <daoxingyue@live.cn>
Co-authored-by: 绯一 <jaredleechn@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zuobin Wang <49583235+Dreamerryao@users.noreply.github.com>
2021-09-14 18:39:44 +08:00
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
afc163
8bc0e8ab9d
Remove used code and add test case for #5191
2017-03-07 18:49:22 +08:00
Benjy Cui
3aac9adc40
docs: remove some demo
2017-02-24 16:17:52 +08:00
Benjy Cui
4e59e9e769
docs: recommend to use LocaleProvider, ref: #5017
2017-02-24 10:22:21 +08:00
afc163
ec81fe4f1c
update MonthPicker demo
2017-02-15 16:32:20 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Benjy Cui
e3758168e4
fix: should switch to right panels, close : #4561 ( #4614 )
...
* fix: should switch to right panels, close : #4561
* docs: update demo
2017-01-19 13:55:04 +08:00
afc163
56bd431cc6
clean demo
2017-01-04 11:07:49 +08:00
afc163
11f509a972
clean demo
2017-01-04 11:00:58 +08:00
Benjy Cui
9d92066d1f
chore: update data-picker detail, ref: #4415
2017-01-04 10:48:40 +08:00
afc163
c3982b02aa
Fix monthCellContentRender and wrong documentation, close #4394
2016-12-30 15:04:13 +08:00
kdenz
aab32236c6
hours array should be from 0 to 23, not 0 to 59 ( #4157 )
2016-12-07 10:05:31 +08:00
afc163
3b8ac48e6b
update DatePicker demo format
2016-11-23 11:23:18 +08:00
Benjy Cui
38fd7f6feb
chore: improve detail
2016-11-18 10:22:11 +08:00
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
2016-11-18 10:22:11 +08:00
RaoHai
d4269f8f30
fix format
props of RangePicker
...
+ close #3808
2016-11-14 20:27:51 +08:00
afc163
82fa3ed2a5
update DatePicker doc and demo
2016-11-14 19:13:37 +08:00
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
2016-11-11 17:50:48 +08:00
Benjy Cui
4da0ae4f42
docs: update demos for DatePicker, ref: #3793
2016-11-11 12:08:18 +08:00
陆离
d051d94af4
feat: RangePicker disabledTime ( #3568 )
...
* RangePicker disabledTime
* update API document of RangePicker
2016-10-25 17:39:17 +08:00
Benjy Cui
6343e6b763
docs: update demo
2016-10-21 15:18:13 +08:00
afc163
9e322ea445
remove unused demo
2016-10-21 12:20:14 +08:00
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
2016-10-20 17:45:38 +08:00
Benjy Cui
2d383067ce
docs: should remove domain, close : #3215
2016-09-29 15:08:57 +08:00
Benjy Cui
76d43e8d1b
docs: update demo
2016-09-29 14:36:18 +08:00
afc163
2875d024f9
fix range picker style
2016-09-29 12:20:21 +08:00
Benjy Cui
d8e9fff5ba
deps: upgrade dependencies, close : #3161 ( #3162 )
...
* deps: upgrade dependencies, close : #3161
* css: update style for DatePicker[showTime]
2016-09-27 13:42:30 +08:00
Benjy Cui
7459be26aa
docs: update docs about timezone, ref: #3020
2016-09-14 09:42:16 +08:00
Benjy Cui
4026221d45
deps: hello moment ( #2887 )
...
* deps: upgrade TimePicker
* deps: upgrade DatePicker
* deps: upgrade Calendar
* fix: moment should work with LocaleProvider
* feat: update API of TimePicker
* feat: update Calendar's APIs
* feat: update DatePicker's APIs
* doc: update demo
* revert: add dateString and timeString and so on
* feat: add Calendar[defaultValue]
* feat: add defaultPickerValue
* docs: update docs about date picker
* feat: set moment locale to zh-cn automatically
2016-09-09 13:55:21 +08:00
afc163
bab669d17d
Merge branch "1.x-stable"
2016-09-08 15:17:39 +08:00
afc163
87e6ec8940
fix date-picker demo
2016-09-08 14:09:36 +08:00
Benjy Cui
e6280a7ea6
Merge branch '1.x-stable'
2016-08-22 17:05:37 +08:00
ddcat1115
6289d1202b
docs: LocaleProvider, DatePicker 补充时区说明 ( #2761 )
2016-08-18 15:39:57 +08:00
RaoHai
7dd4a019d5
DatePicker 组件优化
...
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
afc163
43d8c0a4a2
Fix DatePicker onChange and onOk when showTime
...
onChange should be triggered at clicking ok button
when showTime is true. You can use onChange replace onOk
anytime.
This commit revert a05b4e6
, which break the behavious above.
close #2399 , also fix #2120
2016-07-15 16:26:14 +08:00