dingkang
f5831f121d
docs: replace class component with hooks ( #35461 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
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
3 years ago
afc163
a0982081fa
style: fix Card tabs of left position ( #32695 )
close #32673
3 years ago
afc163
827225b895
chore: replace demo image to public avatar resources ( #32479 )
* docs: replace avatar image to joeschmoe placeholder
* docs: usage randomme avatar url
3 years ago
偏右
e361b30ded
refactor: Card demo and code ( #24764 )
* 🎬 update Card demo
* refactor card code
* 🎬 update Tabs demo
* update snapshot
5 years ago
afc163
e3ac222fd3
🎬 update card demo
5 years ago
ycjcl868
0f9ee82d89
fix: card demo inner
5 years ago
ycjcl868
3a38cfaa01
fix: card, form site dark theme
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
MrHeer
73554a2038
feat: allow disabling hover effect for Card.Grid ( #18448 )
5 years ago
Artin
5e10d5ae7d
Add tabBarExtraContent prop to Card ( #18433 )
5 years ago
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
5 years ago
orzyyyy
872ada07e7
fix: lint:demo
5 years ago
afc163
b780070351
💄 prittier all files
6 years ago
Nathan Broadbent
cbed63cb3e
Added middle and small sizes for Card component
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
ea762a3c88
update card loading demo
6 years ago
afc163
fecb3b6914
update card demo jsx format
6 years ago
zombieJ
796b56dbc4
New Component Skeleton ( #11226 )
* Add new component Skeleton
* Add related doc
* Add sample
* Add test case
ref: https://github.com/ant-design/ant-design/issues/10308
6 years ago
afc163
42efc2927d
fix card tabs demo
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
Zheeeng
572ae5ce14
Bugfix issue.9862 ( #10052 )
* Fix issue 9862
* Update Card test snapshot
7 years ago
u3u
30fe88d4bd
Add the defaultActiveTabKey property for the Card component ( #9526 )
* Add the defaultActiveTabKey property for the Card component (close #8789 , #8942 )
* `activeTabKey` should be added
* Improve
* Fix large tabs font size, close #9509
* docs: Add TreeSelect[dropdownClassName]
* Fix passing dropdownClassName to tree-select
* build: update remark-parse requirement to ^5.0.0 (#9545 )
Updates the requirements on [remark-parse](https://github.com/remarkjs/remark ) to permit the latest version.
- [Release notes](https://github.com/remarkjs/remark/releases )
- [Commits](https://github.com/remarkjs/remark/commits/remark@5.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* add Tooltip contextMenu doc
* Improve Grid and Layout type definition
* fix: focus editor (#9548 )
* Fix test case for new jsdom (#9527 )
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
* Update typescript requirement to ~2.7.2 (#9522 )
Updates the requirements on [typescript](https://github.com/Microsoft/TypeScript ) to permit the latest version.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits/v2.7.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Fix a ts error
* build: update react-slick requirement to ~0.20.0 (#9543 )
Updates the requirements on [react-slick](https://github.com/akiran/react-slick ) to permit the latest version.
- [Changelog](https://github.com/akiran/react-slick/blob/master/CHANGELOG.md )
- [Commits](https://github.com/akiran/react-slick/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Fix test cases
* site: fix intersection-observer polyfill
* docs: update recommendation
* Fix typo WeexPickerProps -> WeekPickerProps (#9564 )
* use lodash
* Fixed typo on Visualization rules (#9575 )
Style of a navigation should conform to the its level.
should be
Style of a navigation should conform to its level.
* Improve Radio/Checkbox type definition
Close #9574
* Remove AbstractCheckboxChangeEvent, fix TS4029 error
See https://github.com/Microsoft/TypeScript/issues/9944
* Update index.en-US.md (#9579 )
* add transitionName from message.config (#9580 )
* add transitionName from message.config
* Update index.en-US.md (#9579 )
* modify doc
* build: update react-virtualized requirement to ~9.18.5 (#9544 )
Updates the requirements on [react-virtualized](https://github.com/bvaughn/react-virtualized ) to permit the latest version.
- [Changelog](https://github.com/bvaughn/react-virtualized/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bvaughn/react-virtualized/commits/9.18.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* When treeNode is disabled, its switcher is highlight and clickabled (#9539 )
* When treeNode is disabled, its switcher is highlight and clickabled
* rc-tree@1.7.11
* Fix moment require (#9528 )
Fix #9502
* Update snapshot
7 years ago
afc163
b51bc4a63a
update card demo
7 years ago
偏右
ffffd0f4c5
Fix styles ( #7924 )
* update demo
* Fix styles
* fix snap
* Fix back-top ci
7 years ago
偏右
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 👻
7 years ago
afc163
b4bf7198e7
Card `noHovering` => `hoverable`
7 years ago
偏右
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
7 years ago
ddcat1115
1c518c3d97
Card improve & bugfix ( #7204 )
* Card improve & bugfix
* update snap
7 years ago
偏右
a59bcf7e90
change noHovering to true defaultly ( #7178 )
7 years ago
ddcat1115
2b1bed42c9
Card new feat ( #7120 )
* inner style Card
* support `cover` `actions` `avatar` `description` and `extraContent`
* improve
* refactor
7 years ago
afc163
3001ca4114
typo
7 years ago
afc163
02c5616250
Update Card demo
7 years ago
afc163
69775dea68
fix grid card padding implementation
7 years ago
afc163
65a79b1ded
remove -0.5px margin in card body
7 years ago
afc163
35e74f825e
first card render without padding transition
7 years ago
偏右
a4648fd67f
Add noHovering and Card.Grid ( #6748 )
* Add noHovering prop for Card
* Add Card.Grid
* fix snapshot
* change default card grid percent
7 years ago
afc163
d7a29f682b
upgrade Col span format in demo
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
Chris Kelly
ff2d55481e
docs: Update loading.md ( #4128 )
8 years ago
ddcat1115
4af2731f0c
fix #1672 ( #1936 )
9 years ago
Leon Shi
d70637022d
docs: translate Card's documentation to English
9 years ago
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
9 years ago
afc163
8116e775ff
upgrade devDeps and fix some eslint problems
9 years ago
afc163
603c6238cd
update card style
9 years ago
afc163
700a07047b
Add card borderd prop
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Benjy Cui
03d09b66e8
docs: update demo format
9 years ago