Commit Graph

335 Commits

Author SHA1 Message Date
偏右
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
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
nikogu
abf18b9ec4 merge master 2017-09-18 10:13:48 +08:00
Wei Zhu
047f62e9b4 Mark refs to private (#7600) 2017-09-17 15:48:44 +08:00
Khalifa Lame
fdfb4ba843 Update Popover English doc (#7633)
Fixed typos.
2017-09-16 11:26:22 +08:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
afc163
7bee69a9df Merge from master 2017-09-08 16:49:58 +08:00
afc163
dbc4e684df Make popover title height more flexible 2017-09-08 16:47:04 +08:00
Wei Zhu
a85447f993 refactor: popover string refs to callback (#7492) 2017-09-08 09:44:29 +08:00
Benjy Cui
119d498935 chore: replace http with https, close: #6893 2017-07-19 14:00:11 +08:00
afc163
69b5acb45f More test cases 2017-07-07 20:26:08 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
afc163
6d38fcf4e4 Add @popover-distance and adjuest popover default distance, close #6105 2017-05-13 15:07:01 +08:00
Graeme Yeates
2d6d6a8b67 Popover should use @popover-color to control title color 2017-05-05 16:51:12 -04:00
Graeme Yeates
eafb41d129 Add missing @popover-text-color variable 2017-05-03 13:36:22 -04:00
afc163
a8808c45ac react-addons-test-utils => react-dom/test-utils 2017-04-12 20:49:02 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
0b62f77630 Tweak title color 2017-03-07 14:29:02 +08:00
afc163
f27041342d rewrite Popover demos to es6 component, #4878 2017-02-20 22:06:12 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
251930f183 docs: fix some link 2017-02-09 17:55:26 +08:00
Walter Barbagallo
5e3618c26d Fix Popover demo typo (#4703) 2017-01-25 21:27:14 +08:00
Wei Zhu
f91ac37ad3 docs: Oops, no onHover event. 2017-01-22 15:05:32 +08:00
Wei Zhu
774b778474 docs: Add note to Popconfirm, Popover and tooltip about child node.
Related issue: #4672
2017-01-22 14:29:24 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
c0ec375e8e Fix documentation links, close #4496 2017-01-07 22:09:17 +08:00
Benjy Cui
8b3e488485 docs: update docs for Tooltip Popconfirm Popover 2016-12-22 12:00:57 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
Benjy Cui
c4d8c4770c Add upgrade warning (#4028)
* chore: add upgrade warning for time related value

* chore: update warning

* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
643463c9f2 refactor: update code style 2016-12-01 22:05:49 +08:00
Benjy Cui
39eb19ad9b fix: Popconfirm[visible] should be controlled prop, close: #4068 2016-12-01 22:05:49 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb use @text-color 2016-11-08 20:50:59 +08:00
afc163
fa06625de0 Fix popover arrow style in nested example, close #3448 2016-11-01 12:34:39 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
afc163
2482b4b760 not limit min-width of Popover without title 2016-10-20 11:23:30 +08:00
afc163
3169d45246 change demos order 2016-10-14 21:45:48 +08:00
afc163
e520998166 Fix popover card arrow border 2016-10-14 21:43:59 +08:00
afc163
36058f7173 Fix arrowPointAtCenter not work in Popconfirm 2016-10-07 15:30:05 +08:00
afc163
6df2100a5c update some demos 2016-10-07 15:20:10 +08:00
afc163
d940bd9567 Move Popover less variables to theme/default.less 2016-10-07 14:56:11 +08:00
Shawn Sit
1d71e98dbf docs: translated popover demos (#3211) 2016-09-29 13:43:55 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
afc163
c79826ea83 remove jsx file 2016-09-10 11:19:10 +08:00
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
afc163
123b2c1728 Add some translation 2016-08-31 15:02:08 +08:00
afc163
497ff0cabb Merge branch "1.x-stable" 2016-08-31 15:00:13 +08:00
afc163
977e2e32fc Add arrowPointAtCenter to Tooltip Popover Popconfirm
修正默认对齐方式为边缘对齐,增加属性用于箭头指向中心的行为
2016-08-31 13:54:16 +08:00
Benjy Cui
b2349facab docs: fix docs' format 2016-08-26 15:07:46 +08:00
Winsky
6e94e7b7a4 [docs] translate menu,popover,popconfirm (#2713) 2016-08-26 14:42:41 +08:00
ddcat1115
89efcb903a ts popover (#2542) 2016-07-29 14:45:06 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
afc163
e2cc2838fd Fix lesshint 2016-07-18 22:24:53 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
5077873ae0 fix codepen links 2016-05-11 02:02:23 +08:00
afc163
5b6d356fb8 refactor ant-popover-open 2016-05-07 15:37:26 +08:00
ddcat1115
7c866bc382 fix #1453 2016-05-06 20:32:07 +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
jljsj
10d650ee59 re popover demo 2016-04-07 15:54:02 +08:00
jljsj
6fdb4e013f add tooltip anim origin 2016-04-07 15:54:02 +08:00
Bruce Mitchener
0a4bcfa1a7 Spell deprecated correctly. 2016-04-01 22:06:38 +07:00
afc163
be8d19628b Popover prop content => overlay, ref #978 2016-04-01 14:28:35 +08:00
afc163
3df1e27ca4 Merge branch 'master' into develop-1.0.0 2016-04-01 14:17:51 +08:00
afc163
c02c9a2e5b update popover index.md 2016-04-01 14:14:34 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
30be05e570 Fix popover prefixCls 2016-04-01 01:37:17 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
c47fdeaf8f Merge branch 'master' into develop-1.0.0 2016-03-30 11:17:39 +08:00
afc163
74f462e8a8 update docs 2016-03-29 18:21:57 +08:00
afc163
376d1efc04 Add some api in docs 2016-03-29 18:05:08 +08:00
afc163
b6de2765bf Add some api in docs 2016-03-29 18:02:01 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
afc163
0534c53db5 Merge master into develop-1.0.0 2016-03-25 12:18:51 +08:00
afc163
ae44ce6d31 update some docs 2016-03-24 11:25:23 +08:00
Bruce Mitchener
1b81aa8c75 Convert Popover & Spin to ES2015 classes. 2016-03-20 19:41:34 +07:00
afc163
6c913d7ebe Fix popover and popconfirm arrow style 2016-03-17 15:10:49 +08:00
afc163
c9fd887ce1 fix(style): Make arrow point to target always 2016-03-09 17:26:12 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
afc163
bdf819bea3 Merge master 2016-01-14 20:54:52 +08:00
afc163
efcc8c5cb2 fix popover API table 2016-01-14 15:55:42 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
6382a14519 do not show title when there is no title in popover 2015-11-12 19:11:43 +08:00
afc163
72a400c7e0 update API document, ref #498 2015-11-10 16:18:20 +08:00
afc163
09c208831f ref #498 2015-11-10 16:07:23 +08:00
偏右
3fa30ddc43 Merge pull request #479 from ant-design/fix-popover-style
fix: delete :after of placement
2015-11-05 10:52:00 +08:00
popomore
d3e0c844a3 fix: delete :after of placement 2015-11-04 21:07:00 +08:00
afc163
f205f43bd9 update tooltip and placement demo 2015-11-04 20:48:51 +08:00
popomore
e62c4c7666 feat: support more placement for popconfirm 2015-11-04 17:50:49 +08:00
popomore
84647fa12d test: add simple testcase for popover 2015-11-04 17:22:33 +08:00
popomore
52fbd05072 feat: support more placement for popover
Ref #312
2015-11-04 17:18:40 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
afc163
147b4ac49b Add overlayClassName to popover and tooltip 2015-09-24 18:38:31 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
yiminghe
c4b5b186ae render to body 2015-08-21 14:54:37 +08:00
yiminghe
85c30ab0ad render popup to body 2015-08-19 20:16:20 +08:00
zhujun24
7334a07025 modify popconfirm & popover & tooltip placement 2015-08-17 17:55:39 +08:00
ustccjw
41c35903a4 remove use strict 2015-07-23 21:36:34 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
afc163
7cb9825237 update index 2015-07-20 11:08:23 +08:00
yiminghe
0a7410973e clean warning 2015-07-08 20:53:11 +08:00
afc163
99f7579809 update tooltip delay 2015-07-08 16:29:57 +08:00
afc163
6bd257de34 Add popconfirm component 2015-06-24 19:20:47 +08:00
afc163
4b569a16c2 use es6 feature 2015-06-19 12:29:22 +08:00
afc163
bd7bbd0cd5 update demos 2015-06-18 12:02:38 +08:00
afc163
8100539f8d prefix className for popover 2015-06-17 20:15:09 +08:00
afc163
9f7531fcc1 update popover documentation 2015-06-17 19:15:37 +08:00
afc163
b4a491cd8f Add animation for Tooltip 2015-06-17 17:15:34 +08:00
afc163
d3c9665c56 update popover and tooltip readme 2015-06-17 17:10:10 +08:00
afc163
7eaf96413e Add popover component 2015-06-17 16:58:13 +08:00
afc163
51ac1b3617 二期组件挖坑 2015-06-15 22:01:39 +08:00