骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail ( #19408 )
* fix: upgrade rc-tooltip lint fail
* fix tooltip typescript type
* rebase and update snapshots
* update tests
* change trigger mock export
* upgrade rc-trigger
* fix type error
* upgrade dependencies
* update snapshots
* upgrade rc-calendar and test use sleep
* update snapshots
* fix test fail
* update snapshots
5 years ago
ycjcl868
e1d850374a
fix: rename antd-dark to dark
5 years ago
ycjcl868
e16b17b564
fix: dist build pipline
5 years ago
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export ( #19935 )
* chore: Clean up
* clean up test case
* clean up
5 years ago
afc163
c083d13fc4
✅ fix test cases
5 years ago
afc163
884031afcc
✅ fix eslint console warning
5 years ago
二货机器人
40aca57453
chore: Remove React function polyfill ( #19279 )
* chore: Remove polyfill
* add more skip
5 years ago
二货机器人
0f83e0a4ee
fix: should work in old version react ( #19262 )
* fix: should work in old version react
* update ci config
* add version log
5 years ago
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
shao
ccef30885a
perf: optimization BackTop and Anchor components scrollTo func
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
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
5 years ago
zombieJ
cdcbb54393
fix dekko test ( #17707 )
5 years ago
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
5 years ago
陈帅
4972383c3c
feat: New Components Result ( #17244 )
* New Components Result
antd 又变大了一点
* fix review warning
remove classname "view"
The class name of status hits the outermost layer
* rm fragment
* fix build error
* update snapshot
* add PRESENTED_SVG_DEFAULT
* fix doc
* fix lint
* fix compile error
* fix review warning
* fix react15 error
* add new demo
* remove not required code
* updated snapshot
* api some empty
* change svg to image
5 years ago
陈帅
3e32364dc0
New component Descriptions ( #14645 )
* add new component: DescriptionList
* add warning message
* docs: fix doc typo
* feat: implement the size attribute
* docs: fix doc typo
* refactor: use new name Descriptions
* test: snapshots updated
* feat: support react15
* style: fix code style warring
* style: better var name
* style: better code style
* style: merge css class
* feat: add responsive config
* fix: fix error title
* style: use @border-radius-base
* update snapshot
* feat: set default column
* test: add test script
* style: fix property defaultProps is useless error
* style: more robust code
* style: fix codereview warning
* style: fix review warning
* use responsiveObserveserve
* fix review warning
* bug: add childrenArray copy,prevent changes to incoming parameters
* fix dom error
* fix typo
* fix test
* don't use this
* snapshot updated
* prettier md
* remove descriptions md text
* new rendering method
* doc :add dot
* style: add right border
6 years ago
zombieJ
ecb2eb6ede
feat: Add Mentions component ( #16532 )
* init
* first demo
* support empty
* add loading support
* add form sample
* update form sample
* omit value & defaultValue
* add 2 rest demo
* placement support
* update docs
* fix test
* update docs
* add test case
* fix lint
* follow textarea style
* update docs style
6 years ago
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
6 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
zombieJ
778c2b1dff
build: Update build process for publish ( #15807 )
* use .antd-tools.config.js
* update style
* add minssing files
* move compile content to compile script
6 years ago
陈帅
dee8f93fe7
New Component PageHeader ( #13637 )
* add api dock
* add a simple demo
* add content demos
* fix style warning
* Replace content with children
* add all demo
* add demo test
* add backNode props
* Adjust the divider style
* fix icon do no show
* fix test ci
* fix md code style
* remove fragment use
* add test script
* Missing newline character at end of file
* optimize the demo display
* text becomes longer
* text becomes longer
* fix css code style
* fix test snapshot
* fix css code style
* fix codereivew waring
* fix codereivew waring
* update snapshots
* use ant-page-header-have-footer
* use englist
* fix typo
* updated snapshot
* line-height set to 100%
* remove subtitle
* Specification less
* fix less style error
* Sort by alphabet
* Rebuild code
* use english
* number use Statistic
* snapshot updated
* rm onBack in breadcrumb
* remove unuse return
* add a click wave
* remove unuse css
* add icon hover
* newline character
* new description
* warm descriptive text
* add dot
* remove async
* feat: use Typography.Paragraph
* test: snapshots updated
* style: fix style lint
* import typography style
6 years ago
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
6 years ago
zombieJ
7f6d7730e0
update jest & antd-tools & bisheng-plugin-antd ( #14659 )
* update deps
* update test case
* update bisheng
* set 'aria-controls' to '' to keep jest sync
6 years ago
zombieJ
ff13ac0f5e
New component Statistic / Countdown ( #14154 )
* init
* number format
* add Countdown
* ⚡ Try something ts stuff
* move out Countdown
* add format
* support countdown
* add prefix & suffix
* Move Number to Statistic
* adjust ts
* clean up
* roll back of lodash
* update doc & style
* variable of the less style
* add demo test
* full coverage
* hide title if not need
* update snapshot
* update accessiblity
* update color
* stop countdown when time is out
* formatTimeStr adjust
* use reset class
* add miss tab index
* update doc
* update title prop & snapshot
* rm additional aria. It's over design
* use card sample on unit demo
* sfc
* adjust demo
6 years ago
zombieJ
2164c58198
New Component: Empty ( #13651 )
6 years ago
afc163
b3b39fcfd5
💄 use chalk in console.log
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
520f4e1eee
💄 fix eslint warning
6 years ago
zombiej
19f3b6e954
add aria wrapper
6 years ago
afc163
302b224413
🐛 Fix test case in react 15
6 years ago
afc163
ec625b35cc
🐛 Fix test case in react 15
6 years ago
afc163
94fbf3308b
🐛 Fix eslint
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
647ba193cd
⚙️ upgrade code style
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
Ilan
1ad5baaf23
✅ updating tests
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
Wei Zhu
91a7318999
test: fix react mock
6 years ago
Wei Zhu
435d793d60
test: fix React.createContext mock
6 years ago
Wei Zhu
c25e8de736
test: mock React.createRef
6 years ago
陈帅
dba4b8c3c9
use context to implement multiple drawers
6 years ago
jim
86655c0ebc
update test snap
7 years ago
Wei Zhu
ea42973ace
mock React.createContext
6 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
afc163
292a91a777
Add test cases for Mention
7 years ago
Wei Zhu
edbbaac5f9
Fix date mocking
new Date returns a UTC time in node
Close #9743
7 years ago
Wei Zhu
62c9dee43e
Remove timezone from mock date
7 years ago
偏右
8226ede38e
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
7 years ago