Commit Graph

193 Commits

Author SHA1 Message Date
github-actions[bot]
16fb0e88a3
chore: auto merge branchs ()
chore: sync master into next
2022-04-17 15:03:21 +00:00
afc163
0f0e2f9f43
docs: simplify demo code, () 2022-04-15 16:20:56 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
miracles1919
f581159cb5
refactor: cssinjs for Tabs ()
* refactor: cssinjs for Tabs

* doc: update demo css

* refactor: use genHook

* refactor: add skip check

* fix: remove useless skip

* refactor: remove rootPrefixCls
2022-04-07 22:07:18 +08:00
MadCcc
6776bb8916
docs: demo support react18 ()
* 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
miracles1919
550f60ff76
docs: update draggable demo with rtl mode ()
* docs: update draggable demo with rtl mode

* test: update tabs demo snapshot
2022-03-31 14:06:44 +08:00
renovate[bot]
9f30ca6b3f
chore(deps): update dependency react-dnd to v15 ()
* chore(deps): update dependency react-dnd to v15

* fix: Tabs demo

* fix: demo

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-02-10 17:31:38 +08:00
二货机器人
39f7ec5fdb
fix: Tabs editable missing remove icon style in dropdown () 2021-11-17 22:35:27 +08:00
xrkffgg
dcc0ffa016
chore : prettier code ()
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
偏右
bd1a6c44d4
fix: vertical Tabs active bold style ()
close 
2020-11-05 15:37:33 +08:00
xrk
0ddd367b51
docs: update tabs extra demo () 2020-09-30 17:08:39 +08:00
prettyboyweiwei
56fb794862
chore: fix Array(x).key() cannot works in codesandbox/codepen
Co-authored-by: weiwei <weiwei0814@theduapp.com>
2020-09-16 23:25:43 +08:00
xishanxu
507fdc44ae
docs: fix typo in demo ()
* Update extra.md

* Update extra.md
2020-08-26 11:09:14 +08:00
jesse
7121760f52
feat: Tabs add slot to support extra position ()
* Update package.json

* update API

* update Demo

* update test

* Update components/tabs/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/demo/extra.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* update index.en-US

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-07 09:53:45 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature 2020-06-28 20:06:37 +08:00
二货机器人
7ef283aab4
fix: IE11 can not close Tabs ()
* fix: IE11 can not close Tabs

* update snapshot

* fix style lint

* move -remove icon clear
2020-06-24 17:55:50 +08:00
偏右
b6cf00aded
Merge pull request from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
Ashkan Pourghasem
cc12109d46
feat: Implement centered prop in Tabs ()
* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
2020-06-14 13:42:44 +08:00
zefeng
02021836e1
chore: fix tabs-demo style in compact mode () 2020-06-12 23:17:45 +08:00
zombiej
b2f3596f7d docs: Update mobile position of tabs
close 
2020-06-08 20:51:44 +08:00
偏右
e361b30ded
refactor: Card demo and code ()
* 🎬 update Card demo

* refactor card code

* 🎬 update Tabs demo

* update snapshot
2020-06-05 20:11:25 +08:00
二货机器人
77c5adbe4d
feat: New Tabs ()
* 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
njmqd
4884e91c49
fix: Add closeIcon for Tabs.Tabpane ()
* fix: Add closeIcon for Tabs.TabPane

* fix: update snapshots

Co-authored-by: 倪佳敏 <ni.jiamin@datatom.com>
2020-05-11 12:12:33 +08:00
二货机器人
e1299bfcc9
Merge pull request 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 ()
* 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 ()
* feat(theme): adjust font-size in compact mode

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

Closes 

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
He Linming
3450a82b9e
fix: Card Tabs do not support small size ()
* 🐛 Card Tabs do not support small size

close 

* 👌 adjust height

* 👌 use antd variable

* 👌 add card tabs

*  fix ci and adjust margin
2020-04-01 10:54:38 +08:00
zefeng
dda45e4796
feat: support compact theme ()
* 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
ycjcl868
ceaf19112d fix: tabs dark demo 2019-12-25 17:16:53 +08:00
ycjcl868
c10a6f029c fix: demo style 2019-12-24 20:58:42 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps ()
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
vagusX
149729e524
use ant design icons 4.0 ()
* 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
Kelvin Chu
24ac6e5c86 Fixed typos and grammatical errors in Button and Tabs documentation. 2019-08-07 17:26:39 +08:00
陈帅
82b85709be style: run lint-fix () 2019-06-19 19:09:08 +08:00
zombieJ
e0bfcab869
chore: Fix react-dnd CI ()
* adjust jest ignore

* add node test

* update es
2019-06-17 12:00:52 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
zombieJ
c386d49b63
fix: Tabs card vertical support scroll () 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
gyh9457
c895c809f9 improve tabs demo () 2019-02-04 11:29:28 +08:00
zombieJ
8c5683d316
update rc-tabs to support customize node ()
close 
2019-01-16 20:00:23 +08:00
afc163
d1650e31e9
fix key warning in tabs demo 2018-12-13 22:58:14 +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
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombieJ
95a76b0436
add tabs additional css ()
fix 
2018-11-23 13:39:33 +08:00
zombiej
bf83845986 remove useless line 2018-10-17 15:30:26 +08:00
zombiej
ca49ecb4be fix tabs ink-bar vertical css
ref 
2018-10-16 22:59:55 +08:00
mushan0x0
62d68b049f feat: Tabs render tab bar ()
* 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
Ilan Hasanov
da92bfeba2 💬 fix tabs component blank spaces 2018-07-29 01:15:02 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Eric Celeste
b86f4eeaad improve english 2018-05-26 13:26:11 +08:00
afc163
ca0504da35 Add size="large" Tabs 2017-10-18 21:17:18 +08:00
偏右
2bced36f0c New component styles ()
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
偏右
cb8f6a6ef5 Fix tabs extra content ()
* Fix tabBarExtraContent style in vertical tabs

close 

* update snap

* fix rc-tabs
2017-08-05 23:01:28 +08:00
afc163
78c12a03fd fix snapshot 2017-06-26 20:33:13 +08:00
afc163
e977f2435e Tweak tabs style at card top 2017-06-26 20:20:57 +08:00
Benjy Cui
3ce1680ab7 fix: should not affect nested tabs, close: 2017-06-23 15:02:46 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
Benjy Cui
0a2fb1817f fix: vertical tab bar height should follow tabs height ()
* fix: vertical tab bar height should follow tabs height

* docs: update demo for Tabs
2017-04-22 09:43:32 +08:00
afc163
d0353eeb1b tweak docs style 2017-03-13 11:13:12 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +08:00
bang
b90237ee6f fix: Tabs snapshot tests 2017-02-19 21:23:31 +07:00
bang
6bcd88f5c0 docs: Rewrite Tabs demos to ES6 component 2017-02-19 21:07:45 +07:00
Benjy Cui
63476d0bc0 Merge branch 'master' into feature-2.8 2017-02-14 10:56:33 +08:00
lixiaoyang
b88c07f1d5 feat: support Tabs.TabPane[closable] ()
* 为antd的editable-card类型的TabPane增加不可删除属性

* 在tab内部控制样式

* className={} 前后不加空格
2017-02-13 15:43:54 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
afc163
1a5f0f9fa7 remove whitespaces 2017-02-04 01:13:35 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
db4e50308f fix demo typo 2016-10-15 15:34:09 +08:00
Catalin Miron
0b38ced351 Update card-top ()
Fix typo
2016-10-10 16:21:41 +08:00
Catalin Miron
114d78a1a6 Update card.md ()
Fix typo
2016-10-10 16:21:04 +08:00
kvetoslavnovak
dded174ece Tabs - Card - Typo correction () 2016-10-06 18:57:40 +08:00
kvetoslavnovak
fc0b8e5431 Tabs - Custom Trigger - Typo correction () 2016-10-06 18:57:34 +08:00
kvetoslavnovak
70fa956301 Tabs - Container of Card - Typo trigger () 2016-10-06 18:57:25 +08:00
kvetoslavnovak
e5fab55d6b Tabs - Basic - Typo correction () 2016-10-06 18:56:57 +08:00
ddcat1115
3958eb4771 fix ()
fix demolint
2016-09-20 13:49:38 +08:00
Benjy Cui
672ebecf47 deps: upgrade dependencies ()
* deps: upgrade dependencies

* fix: backward compatibility

* fix: replace cross with close
2016-09-18 10:12:21 +08:00
Marius Ileana
691a4d5766 docs: English translation of tab's position demo ()
Just a small update of a label.
2016-09-18 09:26:39 +08:00
Shawn Sit
374328bca9 docs: fix misspelled () 2016-09-10 14:17:11 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos () 2016-09-01 18:12:12 +08:00
Benjy Cui
0ec8c7ba86 docs: fix demoe' format, close: 2016-08-24 10:33:25 +08:00
Shawn Sit
2e0424d3b2 Translation tab title ()
* translated doc of tab title

* fixs: misspell

* fixs: misspell

* remove full stop
2016-08-23 14:15:34 +08:00
Shawn Sit
c04ba5b39b docs: Traslation tabs () 2016-08-03 10:39:20 +08:00
afc163
b38f4368b3 Fix new Tab demo 2016-07-06 17:41:04 +08:00
afc163
a9887ad7db update Tabs card demo 2016-06-17 15:45:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
ddcat1115
bed556e900 fix 2016-05-24 14:35:21 +08:00
afc163
f7ed1ce38a update tabs demo 2016-05-18 11:04:25 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
98998984fe Fix tabs nested style, close 2016-05-10 11:26:48 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a css modularize ()
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
e5c8179189 Merge branch master into develop-1.0.0 2016-04-06 11:57:17 +08:00
afc163
b9b4e30ac1 fix tabs demo 2016-04-06 11:49:02 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
079f2a657d Allow close last tab, fix 2016-03-02 20:25:19 +08:00