zefeng
dda45e4796
feat: support compact theme ( #22126 )
...
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
二货机器人
e95603b599
fix: Input with suffix align issue ( #22603 )
...
* fix: Input prefix style
* update snapshot
* fix int
2020-03-25 22:44:56 +08:00
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
...
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
2020-03-20 15:07:47 +08:00
xrkffgg
6f4d27985e
fix: inputgroup search icon ( #22197 )
2020-03-14 12:41:55 +08:00
偏右
339b785815
🎬 improve input demo and test case ( #22016 )
2020-03-09 16:15:19 +08:00
偏右
8dd8a19d6f
🐛 Fix TextArea[autoSize] don't scroll bottom in Firefox ( #22014 )
...
close #21870
2020-03-09 16:04:51 +08:00
afc163
c5e5a8c895
✅ update snapshots
2020-03-05 20:32:38 +08:00
xrkffgg
1d37cf3cdf
fix: input group demo ( #21751 )
2020-03-02 12:24:24 +08:00
二货机器人
04bfb21923
fix: TextArea warning with React 16.13 ( #21703 )
...
* fix: TextArea auto height warning
* comment it
* popout textarea test case
* no warning in react 16.13
2020-02-29 16:44:04 +08:00
二货机器人
7e649ec1b6
fix: Input with readOnly should not clearable ( #21494 )
2020-02-20 19:56:22 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
...
* fix: Form item has default height align with form size
* fix lint
* update snapshot
2020-02-19 22:04:25 +08:00
二货机器人
ed1959c13e
fix: Input click should get focus ( #21413 )
...
* fix: Click border should also focus
* update snapshot
* update snapshot
* fix TextArea
* update snapshot
2020-02-17 19:12:42 +08:00
偏右
49b7a0ccd2
test: Increase Slider and Input test coverage ( #21364 )
...
* ✅ Add test case to Slider
* increae cov and make hidden textarea works with screen readers
2020-02-13 17:32:07 +08:00
二货机器人
4192c1f6d9
fix: Some input style issue ( #21316 )
...
* fix firefox flex bug
* fix input wrapper style
* fix clear text style
* update snapshot
2020-02-10 15:26:32 +08:00
Amumu
02a71d0ddd
fix: form item Input size error with prefix or suffix ( #21290 )
...
* fix form item Input size error with prefix and suffix
* snapshot
* add test case
* revert width
2020-02-09 11:57:42 +08:00
afc163
25d2f1b3e2
✅ some tests should run when mount to document.body
2020-02-04 18:03:16 +08:00
二货机器人
996b7bc8f0
fix: Input suffix should work with append ( #21105 )
2020-01-25 17:50:03 +08:00
二货机器人
8bf66ce8be
fix: Input affix use inline-flex ( #20872 )
...
* fix: Input affix use inline-flex
* update snapshot
2020-01-14 11:59:38 +08:00
二货机器人
05ebf0f8cc
chore: Not block input when Input value is undefined
( #20783 )
...
* chore: Input should not block input when `value` is undefined
* add test casw
* Fix test case & add breaking change in changelog
* fix prevValue logic
* patch change log
2020-01-09 11:13:07 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
...
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
2020-01-03 15:20:28 +08:00
afc163
08f3643272
✅ resolve merge conflict
2020-01-03 12:09:35 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
...
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
2020-01-02 21:21:57 +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
vagusX
da8ebb973a
feat: use @ant-design/icons@4.0.0-alpha.19 to fix ref issue ( #20588 )
2020-01-02 14:11:12 +08:00
偏右
2adf8ced24
fix: 💄 Remove Input.Password value attribute from dom ( #20544 )
...
* 💄 Remove Input.Password value attribute in dom
close #20541
close #7761
close #19959
close #20536
close #12672
close #10952
* ✅ fix test coverage
* 🐛 fix defaultValue create `value` attribute in Input.Password
2019-12-31 14:41:09 +08:00
ycjcl868
cb788dc77c
chore: update snapshot
2019-12-26 15:42:08 +08:00
ycjcl868
0306096356
chore: update snapshot
2019-12-26 15:15:46 +08:00
vagusX
a0beb0f8df
feat: update to @ant-design/icons@4.0.0-alpha.16 ( #20451 )
2019-12-26 00:27:59 +08:00
Amumu
9120ff8c42
feat: TextArea add support onResize ( #20408 )
...
* textarea add support onresize
* add test case
* Improve code coverage
* improve
* snapshot
* improve test case
* none
* update docs
2019-12-25 22:02:19 +08:00
zombiej
7a520f1ba4
chore: Update snapshot
2019-12-25 14:06:08 +08:00
zombiej
4b5a3259c1
chore: Update rc-select deps & snapshot
2019-12-25 11:29:54 +08:00
vagusX
46e1ad1b51
feat: update @ant-design/icons@4.0.0-alpha.13 ( #20427 )
2019-12-25 11:17:14 +08:00
afc163
15f75e1c55
✅ fix time picker test snapshots
2019-12-17 16:58:41 +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
3c26ac9a54
chore: merge master
2019-11-06 10:34:53 +08:00
zombiej
5bf96bbb51
merge master
2019-11-04 10:49:45 +08:00
Rustin
767d2d0638
feat: Add allowClear to TextArea ( #19310 )
...
* add allow clear to textarea
revert textarea md
refactor textarea css
fix textarea props bug
add test and update snapshot
update doc
add margin
refactor textarea to reuse fixControlledValue and setValue method
add clearable input to reuse code
refactor clearable input
finish refactor
refactor clearable input
refactor input and textArea
finish refactor
update test snapshots
fix input props bug
fix dom issue
fix textarea dom issue
fix textarea test bug
fix textarea dom issue
refactor code and fix textarea dom issue
fix input dom issue
fix typo error
update test snapshots
fix ci failed issues
adjust margin
* remove useless code fix ci failed issue
* fix textarea padding issue
* update snapshots
* fix padding issue
2019-11-01 18:19:29 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
Rustin
fdf38f41d7
fix: modify textarea resize demo defaultValue to english ( #19348 )
...
* modify textarea defaultValue to english
* update test snapshots
2019-10-29 10:08:27 +08:00
afc163
0e4b90c52f
✅ increase code cov
2019-10-23 11:55:42 +08:00
afc163
f1cd910b4e
✅ update snapshots
2019-10-23 11:55:42 +08:00
afc163
0604a09590
✅ update demo and test case
2019-10-23 11:55:42 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
yoyo837
fb2bafbfdc
upgrade snapshot
2019-10-15 19:13:38 +08:00
yoyo837
a9d7178c2b
upgrade snapshot
2019-10-15 18:10:04 +08:00
afc163
8e2b2470b2
✅ update snapshots
2019-10-15 17:47:10 +08:00
zombiej
218798cfb4
merge master
2019-10-14 17:21:22 +08:00
zombiej
04a27deb2b
merge master
2019-10-14 10:53:35 +08:00
Liming Jin
311a6c0917
fix: replace autosize with autoSize
2019-10-11 23:39:30 +08:00