Commit Graph

119 Commits

Author SHA1 Message Date
二货机器人
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