afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
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 ( #34811 )
...
* 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 ( #34843 )
...
* 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 ( #34785 )
...
* 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 ( #33940 )
...
* 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 ( #32919 )
2021-11-17 22:35:27 +08:00
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
...
* style: prettier code
* update
* Update index.less
2021-01-30 19:39:02 +08:00
偏右
bd1a6c44d4
fix: vertical Tabs active bold style ( #27569 )
...
close #27557
2020-11-05 15:37:33 +08:00
xrk
0ddd367b51
docs: update tabs extra demo ( #26968 )
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 ( #26391 )
...
* Update extra.md
* Update extra.md
2020-08-26 11:09:14 +08:00
jesse
7121760f52
feat: Tabs add slot to support extra position ( #25138 )
...
* 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 ( #25200 )
...
* 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 #24985 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 ( #24958 )
...
* 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 ( #24922 )
2020-06-12 23:17:45 +08:00
zombiej
b2f3596f7d
docs: Update mobile position of tabs
...
close #24831
2020-06-08 20:51:44 +08:00
偏右
e361b30ded
refactor: Card demo and code ( #24764 )
...
* 🎬 update Card demo
* refactor card code
* 🎬 update Tabs demo
* update snapshot
2020-06-05 20:11:25 +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
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
二货机器人
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
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
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
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 ( #19979 )
...
* 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 ( #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
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 ( #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
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
gyh9457
c895c809f9
improve tabs demo ( #14701 )
2019-02-04 11:29:28 +08:00
zombieJ
8c5683d316
update rc-tabs to support customize node ( #14368 )
...
close #9990
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 ( #13118 )
...
fix #13086
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 #12276
2018-10-16 22:59:55 +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
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 ( #7731 )
...
* 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 ( #7090 )
...
* Fix tabBarExtraContent style in vertical tabs
close #6578
* 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 : #6431
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 ( #5809 )
...
* 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] ( #4807 )
...
* 为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 ( #3356 )
...
Fix typo
2016-10-10 16:21:41 +08:00
Catalin Miron
114d78a1a6
Update card.md ( #3355 )
...
Fix typo
2016-10-10 16:21:04 +08:00
kvetoslavnovak
dded174ece
Tabs - Card - Typo correction ( #3289 )
2016-10-06 18:57:40 +08:00
kvetoslavnovak
fc0b8e5431
Tabs - Custom Trigger - Typo correction ( #3290 )
2016-10-06 18:57:34 +08:00
kvetoslavnovak
70fa956301
Tabs - Container of Card - Typo trigger ( #3291 )
2016-10-06 18:57:25 +08:00
kvetoslavnovak
e5fab55d6b
Tabs - Basic - Typo correction ( #3292 )
2016-10-06 18:56:57 +08:00
ddcat1115
3958eb4771
fix #3076 ( #3086 )
...
fix demolint
2016-09-20 13:49:38 +08:00
Benjy Cui
672ebecf47
deps: upgrade dependencies ( #3017 )
...
* 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 ( #3050 )
...
Just a small update of a label.
2016-09-18 09:26:39 +08:00
Shawn Sit
374328bca9
docs: fix misspelled ( #2990 )
2016-09-10 14:17:11 +08:00
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
2016-09-01 18:12:12 +08:00
Benjy Cui
0ec8c7ba86
docs: fix demoe' format, close : #2822
2016-08-24 10:33:25 +08:00
Shawn Sit
2e0424d3b2
Translation tab title ( #2815 )
...
* 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 ( #2587 )
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 #1750
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 #1617
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 ( #1448 )
...
* 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 #1071
2016-03-02 20:25:19 +08:00
Benjy Cui
29825f20c8
style: update code style to please lint
2016-02-17 18:04:42 +08:00