Commit Graph

136 Commits

Author SHA1 Message Date
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
骗你是小猫咪
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
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
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +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
afc163
4374514252 fix snapshot and test case 2019-07-30 11:58:45 +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
zombieJ
15b900bbfb
another try (#16077) 2019-04-15 14:56:21 +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
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +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
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
陈帅
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
zombieJ
fb6a493f11
support name prop (#15029) 2019-02-25 11:28:31 +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
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
zombieJ
c397ad8c34
Update rc-calendar to use new lifecycle methods & input auto focus (#14051)
close #11848
2019-01-03 11:52:31 +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
afc163
465b85f773
Fix dateRender not supported at WeekPicker
close #13957
2018-12-27 14:32:23 +08:00
HarlanLuo
41aa37bd99 fix doc error and add test case for WeekPicker 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
88615024b1
Fix test snapshots 2018-12-22 19:36:46 +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
陈帅
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
lyhper
655ae8e4b4 fix: datepicker style error 2018-12-01 22:57:13 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +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
zombiej
782881e3ca add test case for month picker 2018-11-04 19:49:20 +08:00
HeskeyBaozi
844a5a92d7 add suffix icon to tree-select 2018-09-21 13:40:27 +08:00
leijingdao
e157e313fa fix:onOpenChange handler not being called in RangePicker for preset r… (#12142)
* fix:onOpenChange handler not being called in RangePicker for preset ranges(#11631)
2018-09-10 00:26:26 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
zombiej
0ea5d6af70 adjust time picker default width since font number to be laregr 2018-09-06 19:16:37 +08:00
afc163
06898a0619 Merge RangePicker extra and built-in footers 2018-09-02 21:45:27 +08:00