Commit Graph

10624 Commits

Author SHA1 Message Date
信鑫-King
da64b8b59a tweak: DatePicker styling (#20736)
* tweak: picker start and end border-radius

* fix: border

* feat: @picker-basic-cell-active-with-range-color: and @picker-date-hover-range-color

* fix: border-radius use less vars

* revert: date picker panel border
2020-01-09 15:32:12 +08:00
信鑫-King
27f1835965 chore: dark site images address (#20796)
* fix: dark site images address

* fix: snapshot
2020-01-09 15:28:52 +08:00
二货机器人
1bea19b1dc
fix: Move table-bg less variable into table background instead of td (#20794) 2020-01-09 14:22:34 +08:00
zombiej
935a984cca chore: Update snapshot & generate log script 2020-01-09 14:08:02 +08:00
二货机器人
12c8750488
chore: Add missing Table export interface (#20789)
* chore: Add missing Table export interface

* fix lint
2020-01-09 13:47:30 +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
xrkffgg
0800063f34 fix: 修复 Carousel 组件 left/right 模式下卡片轮播方向 (#20781)
* fix: 修复 Carousel 组件 left/right 模式下卡片轮播方向

* fix: snap

* add: test

* remove: unnecessary code
2020-01-09 10:23:53 +08:00
zouxiaomingya
563f46b130 feat: update article length (#20767) 2020-01-08 19:21:23 +08:00
偏右
37b61c1ada 🐛 Fix Grid initial gutter (#20762)
like SSR situation
2020-01-08 17:14:29 +08:00
偏右
117495e28f
🐛 Fix .iconfont-size-under-12px not working (#20765)
Fix InputNumber and Other components icon size

close #20752
2020-01-08 16:31:25 +08:00
xrkffgg
f3b9a166ac fix: 修复DatePicker 预设范围的选择按钮样式 (#20760) 2020-01-08 15:13:49 +08:00
afc163
4ee414d134 🎬 improve Tag demo 2020-01-08 15:08:54 +08:00
偏右
2ebaa7e7a6
🐛 fix Tree switcherIcon shown in leaf node (#20753) (#20755)
close #20511
2020-01-08 14:09:06 +08:00
偏右
539b4cd968
🐛 tweak @zindex-badge for table fixed column (#20751)
close #20750
close #13930
2020-01-08 12:09:53 +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
偏右
66e2a3ccc0
🔤 Tweak font family, same as tailwindcss (#20747)
https://tailwindcss.com/docs/font-family/#app
2020-01-08 11:29:15 +08:00
二货机器人
222849235d
fix: TextArea autoSize blink in FireFox (#20737) 2020-01-07 20:57:42 +08:00
二货机器人
40d9627554
chore: Warning when FormItem use render props and name at same time (#20733) 2020-01-07 19:17:51 +08:00
二货机器人
4068f3d190
fix: RowSelection fixed should work (#20735) 2020-01-07 19:17:37 +08:00
二货机器人
5c8cec5512
fix: Form validate should keep refresh (#20725)
* fix: Form error should not keep cache when errors changed

* add test case
2020-01-07 16:20:18 +08:00
偏右
0ceb6cc89d
🐛 Fix Cascader search bug when fieldNames existed (#20720)
and label/value have same field name

close #20619
2020-01-07 13:41:41 +08:00
Kuitos
7033a273ef fix: correct the collapse-borderless class variable (#20718) 2020-01-07 13:10:30 +08:00
骗你是小猫咪
5398f24a97 refactor: improve digital input in tooltip demo (#20702)
* refactor: improve digital input in tooltip demo

* fix lint
2020-01-07 11:42:31 +08:00
二货机器人
182dcf5606
fix: Chrome scale 125% should not display y-scrollbar (#20705) 2020-01-07 10:48:42 +08:00
二货机器人
1c1a4a773d
fix: Table should not crash with empty column children (#20703) 2020-01-06 20:28:47 +08:00
二货机器人
c5a40fc683
fix: Slider Tooltip not follow handler (#20699)
* fix: Slider Tooltip not follow handler

* force align only when tooltip visible
2020-01-06 20:09:12 +08:00
偏右
78f5607034 🐛 fix Card cover image get skretched (#20701)
close #20698
2020-01-06 19:12:54 +08:00
二货机器人
6017b3f025
fix: Table ts define (#20695) 2020-01-06 17:28:28 +08:00
zouxiaomingya
3630569424 🐛 fix: Typography ellipsis miss calculate decimal (#20689) 2020-01-06 16:26:54 +08:00
二货机器人
17dd0d2de8
fix: FormItem should not trigger feedback className without hasFeedback (#20691) 2020-01-06 15:02:04 +08:00
Dean van Niekerk
019fdd58a0 feat: add footer property to Drawer (#20690) 2020-01-06 14:56:00 +08:00
二货机器人
87d32dc633 fix: AutoComplete customize input should fully stretch (#20686)
* fix: AutoComplete customize input should fully strecth

* fix lint
2020-01-06 14:54:52 +08:00
偏右
faa969206c
🐛 Fix Input.Group align in Form.Item (#20681)
https://codesandbox.io/s/antd-reproduction-template-3x2kv
2020-01-06 14:25:59 +08:00
zombiej
e38a88181d chore: Merge 4.0-prepare 2020-01-06 11:13:39 +08:00
zombiej
ff6c91537d docs: Fix typo 2020-01-06 10:38:51 +08:00
zombiej
7c8d942034 chore: Add missing test snapshot 2020-01-03 20:45:39 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
叶枫
6c3d6e7247 feat: upload add icon (#20034)
* feat: add custom icon

* chore: test

* fix: eye style

* fix: anticon style

* fix: stylelint

* Update Form.tsx

* Update Form.tsx

* feat: 26

* feat: fiie-type

* Update basic.md

* Update debug.md

* Update target.md

* Update Steps.tsx

* Update element.md

* chore: clearn up

* chore: clearn up

* chore: clearn up

* fix: handleIconRender

* fix: iconNode
2020-01-03 17:48:10 +08:00
xrkffgg
a4ac7de4c5 fix: Fix carousel dotPosition not working (#20645)
close #20638
2020-01-03 16:53:17 +08:00
偏右
8e1051daf5
🐛 Fix DatePicker in Input.Group missing left border when hover (#20644)
close #20372
2020-01-03 16:21:34 +08:00
二货机器人
493e987f16
fix: add IE 11 css hack (#20643) 2020-01-03 16:17:28 +08:00
afc163
a6ffc3a196 fix stylelint 2020-01-03 15:57:57 +08:00
afc163
b15136f41f 📝 optimize button usage 2020-01-03 15:38:52 +08:00
afc163
7e1dc348a9 update snapshots 2020-01-03 15:38:51 +08:00
afc163
e1262b0d1d 📝 optimize button docs and demos 2020-01-03 15:38:50 +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
zombiej
dafc5a2f1d docs: Update Home site 2020-01-03 15:20:10 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size (#20570)
* feat: Support form & ConfigProvider set component size

* update snapshot

* fix lint

* rm only

* update doc

* Table & Card support sizing

* Update snapshot

* fix lint

* update snapshot

* flush rest snapshot
2020-01-03 13:38:16 +08:00
afc163
08f3643272 resolve merge conflict 2020-01-03 12:09:35 +08:00
只捱宅
9913f992b7 docs: update demo of Affix whth hooks (#20124)
* chore: update for basic.md

* chore: update for debug.md

* chore: update for target.md

* chore: import react

* chore: update for debug.md with hooks

* chore: refactor with typescript
2020-01-03 11:55:35 +08:00
vagusX
4df1cd3db2 docs: update Modal docs (#20612)
* doc: update Modal docs

* doc: update modal en-US doc
2020-01-02 23:22:54 +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
信鑫-King
f88f383be6
fix: dark site in Form and iframe change (#20573)
* fix: suggestion dark bg

* fix: demo use autoComplete="off"

* feat: support iframe theme change

* fix: iframe dark theme

* upd: test snapshot

* fix: lint

* fix: lint

* tweak: use theme-switcher to handle iframe and parent

* feat: support iframe theme change

* fix: dark shadow

* fix: layout style

* fix: dark site style

* fix: snapshot
2020-01-02 17:54:11 +08:00
二货机器人
0b5c92b1a4
chore: Clean up merged code (#20595)
* chore: Clean up merged code

* fix hy-am
2020-01-02 16:51:52 +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
二货机器人
1168cb5909
docs: Update demo remove table background (#20593) 2020-01-02 15:47:30 +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
叶枫
4adc4df3e6 fix: form item array children interface (#20577)
* Update Form.tsx

* Update Form.tsx

* fix: fix formItem array children interface

* fix: array

* feat: test
2020-01-01 20:07:09 +08:00
zombiej
36189b5787 docs: Add missing form List operation 2019-12-31 20:54:04 +08:00
capdiem
91e342355c 🐛 fix: Fix that types of property 'children' are incompatible (#20554) 2019-12-31 20:21:30 +08:00
信鑫-King
f69b656a04
Merge pull request #20555 from ant-design/fix-dark-component
fix: site dark tweak style
2019-12-31 17:49:04 +08:00
ycjcl868
857fc6e73c fix: timeline dot bg 2019-12-31 15:45:33 +08:00
二货机器人
deba77b3d6
fix: Tree missing aniation when virtual scrolled (#20565)
* fix: Tree missing aniation when virtual scrolled

* clean up

* skip debug test
2019-12-31 15:45:28 +08:00
ycjcl868
b2722078a2 fix: transfer customize disable Input style 2019-12-31 15:32:09 +08:00
ycjcl868
eb005a17cb fix: table header 2019-12-31 15:12:18 +08:00
ycjcl868
fce441843c fix: margin-bottom style 2019-12-31 15:12:18 +08:00
ycjcl868
e7663800c6 fix: Picker margin-bottom 2019-12-31 15:12:18 +08:00
ycjcl868
0903e3924c fix: button dark hover,active 2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6 fix: site dark, tweak style 2019-12-31 15:12:18 +08:00
偏右
d8cea7489d
💄 fix stylelint warnings and errors (#20562) 2019-12-31 15:04:00 +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
偏右
cc2a29ca54
💄 optimize card hoverable style (#20561) 2019-12-31 14:30:46 +08:00
偏右
7dea548551 refactor: 🗑 remove deprecated or compatibility css code (#20547)
* 🗑️ remove deprecated or compatibility css code

*  update snapshots

*  fix test case and compile error

*  fix stylelint
2019-12-31 11:54:39 +08:00
Yash Joshi
8704569a30 fix(style): form field error border style for select (#20517)
* fix(style): form  field error border style for select

* fix: add style for input-group-addon

* fix: remove invalid styles
2019-12-30 22:50:33 +08:00
二货机器人
849746b361
fix: Select use value width instead of default fixed width (#20538)
* init using content width

* auto width

* tmp magic number

* clean useless style
2019-12-30 22:49:19 +08:00
DiamondYuan
4297f33e85 fix: use Object.prototype.toString to check object (#20546)
close #20528
2019-12-30 22:14:17 +08:00
偏右
8ea9356399
💄 Improve Step type="navigation" UI in small screen (#20545)
close #19877
2019-12-30 20:13:24 +08:00
zombiej
530db658bc chore: Merge master 2019-12-30 16:43:34 +08:00
liyuanqiu
121437b666 Remove inconsistant style (#20533)
Remove "line-height: unset;" from ".@{radio-group-prefix-cls}".
It causes inconsistance with Checkbox.Group.
See: https://codesandbox.io/s/antd-radio-line-height-8kt7u
2019-12-30 16:01:29 +08:00
二货机器人
f2fdf490de
fix: Table with invalidate pagination totol should ignore (#20532) 2019-12-30 15:35:53 +08:00
二货机器人
5f7ca16ed5
docs: Update form demo to remove defaultValue (#20524)
* docs: Update form demo to remove defaultValue

* update demo

* update styl

* add missing content

* update snapshot
2019-12-30 14:53:47 +08:00
二货机器人
e3126ab20d
chore: Add warning when use remove function (#20527) 2019-12-30 12:13:58 +08:00
二货机器人
0189ba61bf
docs: Update demo error message (#20521) 2019-12-29 18:32:13 +08:00
Yash Joshi
f022709f91 fix: padding right for select[size=small] (#20506)
* fix: padding right for select[size=small]

* fix: add style on class with arrow icon
2019-12-28 22:39:18 +08:00
偏右
df8f34309f revert Table page return 1 after sort (#20507)
close #16978
close #17770
close #17648
close #18099
close #17075
close #19369
2019-12-28 21:52:09 +08:00
Yash Joshi
8b81ce7cc3 fix: select icon on hover & focus in input.group (#20504) 2019-12-28 16:13:33 +08:00
二货机器人
1636f6107e
fix: FormItem errors should show in diff line (#20512) 2019-12-28 14:53:43 +08:00
二货机器人
695b67b045
fix getPopupContainer not work (#20509) 2019-12-28 12:55:03 +08:00
偏右
31b1bf7272
Merge pull request #20492 from ant-design/add-form-demo
docs: Add form demo
2019-12-27 17:36:09 +08:00
二货机器人
dd86ae251c
fix: Should also set className with customize help (#20489)
* add test case

* update snapshot

* update snapshot
2019-12-27 16:50:44 +08:00
afc163
276a02dfe0 fix test case 2019-12-27 16:13:13 +08:00
afc163
08ab82d17f :clipper: Add complex form control demo for Form
https://github.com/ant-design/ant-design/issues/20481#issuecomment-569184410
2019-12-27 15:36:27 +08:00
偏右
4fc544e023
Merge branch '4.0-prepare' into master-for-merge-4.x 2019-12-27 12:34:40 +08:00
afc163
670bd4bf5b update snapshots 2019-12-27 12:27:56 +08:00
zombiej
e449b1aee2 chore: Update snapshot 2019-12-27 12:22:00 +08:00
ycjcl868
61520d2f00 fix: card hover border not change 2019-12-27 10:58:01 +08:00
ycjcl868
7c3beabd4c fix: button ghost color 2019-12-27 10:16:02 +08:00
zombiej
c5df5c1547 chore: Update test to fix useRealTimer 2019-12-26 17:07:59 +08:00
ycjcl868
18cba6dd9c fix: version 4.0.0-beta.1 2019-12-26 16:14:56 +08:00