Commit Graph

577 Commits

Author SHA1 Message Date
二货机器人
78ac8a19b2
fix: hideAdd not work (#24621) 2020-05-31 21:57:42 +08:00
二货机器人
7eede1a0b6
fix: tabs align style (#24620) 2020-05-31 21:34:55 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
二货机器人
77c5adbe4d
feat: New Tabs (#24552)
* init style

* support size

* editable

* add shadow

* update demo

* fix nest style

* update rtl

* update snapshot

* bump

* fix hover

* fix test case

* fix style lint

* clean up

* updat docs

* add onTabScroll

* upgrade rc-dropdown

* update snapshot

* clean snapshot

* clean up

Co-authored-by: afc163 <afc163@gmail.com>
2020-05-30 18:28:25 +08:00
afc163
9e9e62911c 🆙 upgrade react-dnd 2020-05-28 23:12:04 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
Fullstop000
0cea6237dc
doc: add exact type for onTabClick (#24448) 2020-05-25 17:35:24 +08:00
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
afc163
fdcbfc909d fix snapshot
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip (#24056)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc

* feat: support custom cell ellipsis tooltip

* tests: update snapshots

* docs: update table ellipsis demo

* tests: update snap
2020-05-12 12:44:49 +08:00
njmqd
4884e91c49
fix: Add closeIcon for Tabs.Tabpane (#23992)
* fix: Add closeIcon for Tabs.TabPane

* fix: update snapshots

Co-authored-by: 倪佳敏 <ni.jiamin@datatom.com>
2020-05-11 12:12:33 +08:00
二货机器人
9cd8f79366
fix snapshot (#23760) 2020-04-29 21:41:58 +08:00
二货机器人
e1299bfcc9
Merge pull request #23758 from ant-design/feature
chore: Merge feature into master
2020-04-29 20:42:52 +08:00
xrkffgg
f606ca23f4
site: optimize site of components 2 (#23731)
* docs: optimize site of component 2

* add demo

* fix snap

* remove class
2020-04-29 16:21:56 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
xrkffgg
677168b007
style: optimize tabs rtl style (#23471) 2020-04-22 11:57:06 +08:00
HouXiancheng
653724b79e
fix: tabs_animation_bug (#23151)
* fix: tabs_animation_bug

* fix: fix lint error

Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>
2020-04-13 12:19:06 +08:00
二货机器人
37ad43bc9f
fix: Tabs bottom style (#23087)
* fix: Tabs bottom style

* fix lint
2020-04-09 17:31:13 +08:00
偏右
a8b976b802
docs: update Radio.Button (#23078)
* Update index.zh-CN.md

* Update index.en-US.md
2020-04-09 16:12:47 +08:00
He Linming
3450a82b9e
fix: Card Tabs do not support small size (#22666)
* 🐛 Card Tabs do not support small size

close #22637

* 👌 adjust height

* 👌 use antd variable

* 👌 add card tabs

*  fix ci and adjust margin
2020-04-01 10:54:38 +08:00
He Linming
e504fa19c0
🐛 remove tabpane outline (#22752)
close #22747
2020-03-30 19:09:30 +08:00
zombiej
1ec7b2c068 merge master 2020-03-29 14:40:29 +08:00
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
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations (#22686) 2020-03-28 19:29:02 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
xrkffgg
d0a45dced9
style: optimize tabs rtl (#22653) 2020-03-27 11:50:50 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
xrkffgg
bb3c6700b6
style: add rtl.less of Tag\Tabs\Alert (#22339) 2020-03-18 14:23:30 +08:00
偏右
96bc5df2c4
feat: 🆕 Add keyboard prop to Tabs (#22287)
* 🆕 Add keyboard prop to Tabs

*  update snapshots

* fix Tabs keyboard tsd

* fix active tab outline style
2020-03-17 12:41:18 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
二货机器人
9fd99f4dfc
Update index.zh-CN.md (#20962) 2020-01-17 10:48:25 +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
ycjcl868
0306096356 chore: update snapshot 2019-12-26 15:15:46 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
ycjcl868
4dc860decf Merge origin/4.0-prepare into feat-dark-palette 2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
ceaf19112d fix: tabs dark demo 2019-12-25 17:16:53 +08:00
xrkffgg
847f5fcd31 fix: tab bar animated style (#20417)
* fix: tab-bar animated style

* fix css style
2019-12-25 14:11:57 +08:00
zombiej
4b5a3259c1 chore: Update rc-select deps & snapshot 2019-12-25 11:29:54 +08:00
ycjcl868
c10a6f029c fix: demo style 2019-12-24 20:58:42 +08:00
偏右
f805d2e292
🐛 fix Tabs ink bar missing transition animation (#20283)
close #20239
2019-12-16 22:20:42 +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
chouchou
34412e98d6 docs(Timeline, Tabs): removed version column in 4.0 (#19842) 2019-11-21 10:23:34 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
zombiej
f30b92ec21 merge master 2019-09-17 19:31:37 +08:00
afc163
08000b217e fix stylelint 2019-09-16 22:19:07 +08:00
二货机器人
2ea28af6ed
Virtual select component (#18658)
* init

* fix firefox

* add active style

* adjust arrow style

* update select

* update icon logic

* render empty

* init multiple

* fix ff display style

* sync font size

* adjust padding style

* add padding

* padding it

* hotfix of chrome

* single sm

* multiple size

* update option group style

* update snapshot

* clean up transition

* rm combobox in ts define

* auto complete init

* fix auto option def

* update demo

* update demo

* update uncertain demo

* update demo

* warning if user set `size` on AutoComplete

* add debug demo

* updat demo

* update demo of disabled

* update snapshot

* rm useless test

* fix pagination test

* fix Table test

* fix calendar test case

* fix calendar test case

* adjust style

* add big data demo

* support clean up

* fix ts define

* fix lint

* fix demo lint

* fix style lint fix

* rm useless deps

* update snapshot

* stop mock

* add space
2019-09-12 20:15:17 +08:00
zombiej
43b3da9eae Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-04 16:20:28 +08:00
afc163
97f6ac9fc6 fix stylelint 2019-09-03 19:04:37 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
zombiej
fc1d917c62 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-02 10:12:05 +08:00
zombiej
6995456bf8 fix: Safari tab content width not correct 2019-08-30 14:39:56 +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
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
XTY
0f60283cc9 fix: remove unwanted vertical space at the top of Tabs (#18125)
* fix: remove unwanted vertical space at the top of Tabs

* fix: correct misspellings and change wording
2019-08-08 14:54:05 +08:00
Kelvin Chu
24ac6e5c86 Fixed typos and grammatical errors in Button and Tabs documentation. 2019-08-07 17:26:39 +08:00
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +08:00
orzyyyy
52a249d381 fix: style lint 2019-08-06 15:38:25 +08:00
orzyyyy
28f39739df test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
zombieJ
d33a001922
fix: Tabs content with margin collapse (#18112) 2019-08-06 13:29:33 +08:00
zombiej
f56955846c merge master 2019-07-30 19:24:34 +08:00
oldchicken
5a7a92af46 fix: children of Tabs[type="editable-card"] cannot be falsy (#17965)
* tabs-editable-card-bugfix

if tabs type ="editable-card",if children has falsy value ,we will get error message,so we should fix it in tabs.

error:https://codesandbox.io/s/lively-glade-jmg5s

* editable-card bugfix

* tabs bugfix

* tabs-editable-card bugfix

* tab bugfix

* bugfix

* delete errorfix

* add test
2019-07-30 16:10:14 +08:00
afc163
65f6ddbe75 🐛 Fix Tabs extraContent line-height
close #17865
2019-07-30 11:41:17 +08:00
zombiej
ef66edd0c2 merge master 2019-07-19 11:54:08 +08:00
afc163
c15c0fc199 🔧 Add less variables for Tabs[type="card"] 2019-07-17 18:58:30 +08:00
ztplz
2762f40394 Correct renderTabBar type 2019-07-16 17:32:55 +08:00
zombiej
735996ce35 merge master 2019-07-16 11:42: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
偏右
189ad71d32
Revert "chore: use none-dist icons entry" 2019-07-09 11:33:03 +08:00
zombiej
85a499365d merge master 2019-07-09 10:50:46 +08:00
afc163
390807605e
🔧 use none-dist icons entry 2019-07-08 20:46:19 +08:00
偏右
1d2bc0792b fix: some tabs style (#17500)
* 🐛 Fix Tabs disabled tab style

close #17468

* 🐛 Fix Tabs next icon right 2px bug

close #17477
2019-07-07 12:04:40 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
Ankit Babbar
26e427ca7d
Tabs props missing prop
Added Missing prop 'destroyInactiveTabPane' in Tabs
2019-06-22 12:19:15 +05:30
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
zombieJ
e0bfcab869
chore: Fix react-dnd CI (#17130)
* adjust jest ignore

* add node test

* update es
2019-06-17 12:00:52 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
zombieJ
c386d49b63
fix: Tabs card vertical support scroll (#16825) 2019-05-27 19:57:14 +08:00
afc163
701ab7aab0
💄 chore some documents style 2019-05-22 12:36:43 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
Rick Zhou
6a7e8986b8 fix card mode Tabs border style when used with tabPosition="bottom" 2019-04-16 08:21:14 -07:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
zombieJ
049fc177b6
fix: use Tabs overflow hidden instead of display none (#16013)
* fix nest table style

* use overflow hidden instead of display none
2019-04-11 11:28:17 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
ZYSzys
554fdd4a3c script: cleanup & reduce useless prettier files (#15467) 2019-03-18 10:46:17 +08:00
Rick Zhou
b1ec61a2da another try of fixing tab style (#15458)
* another try of fixing tab style

* fix card mode tab bottom line animation

#15299
#15297
#15234
2019-03-18 10:41:44 +08:00
偏右
59a6d49332
Update index.en-US.md 2019-03-15 19:01:20 +08:00
Alexey
ef1fc4a4e2
docs(tabs): onTabClick description
* onTabClick collback description provided by rc-tabs
* link to rc-tabs docs (for read more)
2019-03-14 15:59:05 +03:00
Rick Zhou
a0bfe4cc65 fix tabs style in card mode 2019-03-08 22:08:48 -08:00
afc163
f44ff94dec
Fix test fails in React 15 2019-03-08 11:00:33 +08:00
zombieJ
0f356fb151
update snapshot (#15247)
* update snapshot

* downgrade to node 10
2019-03-07 14:41:17 +08:00
zombieJ
3a16708765
update snapshot (#15108) 2019-02-28 14:42:11 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
gyh9457
c895c809f9 improve tabs demo (#14701) 2019-02-04 11:29:28 +08:00
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
zombieJ
bfec344de5
Not show spining mask in ie <= 10 (#14511)
* not show spining mask in ie <= 10
fix #14365

* revert, let's use css check for this

* add styleChecker

* add pointer-events check

* delay check spin not support when did mount

* use css hack replace style check
2019-01-26 11:55:53 +08:00
zombieJ
8c5683d316
update rc-tabs to support customize node (#14368)
close #9990
2019-01-16 20:00:23 +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
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
zombieJ
47fea7e8e6
update snapshot (#14042) 2019-01-02 15:25:10 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
afc163
c29daf952a
🔨 Merge master into feature 2018-12-22 18:02:10 +08:00
afc163
a7597819a2
💄 use disabled cursor on disabled tab, close #13709 2018-12-21 22:38:06 +08:00
杨哲迪
42cd542677 fix(tabs): fix tabs.tabpane disabled style error 2018-12-21 21:33:31 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
黄俊亮
1272ec0e04 refactor: add @tabs-horizontal-padding-{sm,lg} 2018-12-20 11:54:56 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
afc163
d1650e31e9
fix key warning in tabs demo 2018-12-13 22:58:14 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
zombiej
9ed04cb0e7 fix eslint 2018-12-01 00:24:16 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
zombiej
aa16fdde86 update snapshot 2018-11-29 13:12:57 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombieJ
95a76b0436
add tabs additional css (#13118)
fix #13086
2018-11-23 13:39:33 +08:00
zombiej
d20b5fe9f5 update rc-tabs to fix 2 issue:
1. fix non-transform support env ink bar not correct
2. fix tabBarGutter not work in vertical mode. ref #12968
2018-11-13 16:22:15 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
00c65b046b site: update icon doc translation 2018-11-05 19:04:28 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
afc163
83cc148a7a fix stylelint again by locking version :sad: 2018-10-31 17:51:22 +08:00
ztplz
232f179f24 update 2018-10-22 10:15:57 +08:00
ztplz
682af0d44b add missed property 'key' in TabPaneProps 2018-10-22 10:15:57 +08:00
zombiej
bf83845986 remove useless line 2018-10-17 15:30:26 +08:00
zombiej
ca49ecb4be fix tabs ink-bar vertical css
ref #12276
2018-10-16 22:59:55 +08:00
picodoth
589bafd5db fix: drop className for tabBar, fix #12051 2018-09-15 15:19:18 +08:00
HeskeyBaozi
c76a90b2b7 fix tweak icon 2018-09-07 14:14:23 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
afc163
3cbb5da6c2 tweak icons size 2018-09-03 17:11:20 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
1bfbefb8e1 Fix snapshot 2018-08-31 23:09:24 +08:00
Simon Fraser
b02af8baa7 Updating warning message about cards not having size attribute. 2018-08-31 16:22:01 +08:00
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
tangjinzhou
c63c971ded fix: Nesting tabs of different sizes, the style does not take effect (#11936) 2018-08-29 11:21:15 +08:00
mushan0x0
62d68b049f feat: Tabs render tab bar (#11856)
* feat: Customized bar of tab.

* docs: 更新关于renderTabBar的中文文档

* docs: 更新关于renderTabBar的英文文档

* update: 优化代码

* docs: 更新关于renderTabBar的文档

* update: 完善renderTabBar代码

* update: 完成自定义tabBar

* docs: 去掉旧的DefaultTabBar参数说明

* update: 修复CI测试

* fix: 去掉>选择器,解决自定义tabBar后样式错误

* update: 优化代码质量

* update: 添加测试

* fix: lint

* fix: 避免tab嵌套bug

* update: 把DefaultTabBar放在renderTabBar里
2018-08-28 18:56:25 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
8c4f98572b update tab snapshot 2018-08-16 16:15:25 +08:00
HeskeyBaozi
b5db75f8ea upgrade svg tabs prev & next icon 2018-08-16 16:13:18 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935 update test snap shot 2018-08-13 14:46:55 +08:00
HeskeyBaozi
3baec95628 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-13 09:26:33 +08:00
afc163
b6e9646a6a Fix that focusable element in inactive panel cause tabs disappear
close #11261
2018-08-06 18:40:46 +08:00
HeskeyBaozi
35e56a41cd resolve conflict. 2018-07-31 16:33:20 +08:00
afc163
0156fef165 fix tabs ci in React 15 2018-07-31 15:50:27 +08:00
HeskeyBaozi
6c42d711e8 Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-07-31 15:36:23 +08:00
afc163
51d32baa62 fix tabs test snapshots 2018-07-29 15:19:59 +08:00
Ilan Hasanov
da92bfeba2 💬 fix tabs component blank spaces 2018-07-29 01:15:02 +08:00
HeskeyBaozi
ad610e9a27 use svg icon in closable tabs 2018-07-27 17:54:14 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
afc163
8eb8c686ce Merge branch 'master' into feature-3.7.0 2018-07-11 22:21:01 +08:00
Wei Zhu
2d5949f31d test: use render for snapshot 2018-07-11 19:35:57 +08:00
zombiej
11dba9c305 update snapshot 2018-06-28 17:12:16 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Wei Zhu
aa580beb8b docs: sort api table 2018-06-24 17:09:18 +08:00
Eric Celeste
b86f4eeaad improve english 2018-05-26 13:26:11 +08:00
Junbin Huang
3a3d550b54 chore: upgrade menu (#10305)
* chore: upgrade menu and select

* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
Wei Zhu
2a5479a524 Fix type errors
Close #9988
2018-04-11 12:01:28 +08:00
afc163
8a6b76acde support less vars for tabs title font size 2018-02-28 11:07:26 +08:00
Wei Zhu
2c95ea0e5e docs: document Tabs[onChange] argument
Close #9386
2018-02-22 10:44:53 +08:00
Wei Zhu
49c2a6220b Merge branch 'feature-3.2' 2018-02-04 17:24:16 +08:00
George Gray
22c3097d79 Vars to theme Tabs (#9172) 2018-02-04 02:42:13 -06:00
ryanhoho
42354989e9 修复默认样式和card样式下,tabPosition=bottom时的样式错误 (#9104) (#9165) 2018-02-04 02:40:44 -06:00
Wei Zhu
5afb1a28b6 Merge branch 'master' into feature-3.2 2018-01-26 17:14:44 +08:00
niko
f2ba99978d
upgrade snapshots (#9127) 2018-01-25 18:24:59 +08:00
afc163
3a98fce47c Merge branch 'master' into feature-3.2 2018-01-19 15:06:09 +08:00
afc163
200d6cb11a Fix wrong margin of tabs 2018-01-18 13:42:03 +08:00
afc163
9926c3d523 update Tabs API doc 2018-01-18 13:42:02 +08:00
afc163
dc5dd90752 fix less var typo 2018-01-13 14:04:31 +08:00
Graeme Yeates
c9d73978dd Add less variables to control the paddings and margins of tabs (#8954) 2018-01-13 01:27:18 +08:00
lixiaoyang1992
9c52014585 为Tabs增加gutter 2018-01-08 19:27:43 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
Wei Zhu
5e9daf08d7 Fix implicit any error for Tabs. 2017-11-20 22:06:01 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
d6ace6663b Update snapshot 2017-11-06 19:00:36 +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
afc163
2ef2925c8e update card and tabs style 2017-10-24 15:29:10 +08:00
afc163
3bf9c8c4c5 fix tabs style 2017-10-19 20:33:22 +08:00
afc163
ca0504da35 Add size="large" Tabs 2017-10-18 21:17:18 +08:00