lijianan
a05b9d92c5
feat: Float Button ( #37520 )
...
* feat: add FloatButton
* feat: add FloatButton
* feat: FloatButton
* feat: FloatButton
* fix: fix
* feat: FloatButton
* feat: FloatButton
* feat: FloatButton
* feat: FloatButton
* feat: FloatButton
* fix: add groupShape
* feat: mergeShape
* fix: fix
* fix: fix style
* fix: style fix
* fix: fix
* fix: style fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix style
* fix: fix style
* fix: fix style
* fix: style fix
* feat: back-top
* fix: style bug fix
* fix: fix erroe
* fix: add tiggerElement
* fix: add tiggerElement
* fix: add tiggerElement
* fix: add tiggerElement
* feat: add useMemo
* docs: add docs
* fix: bugFix
* fix: bugFix
* fix: bugfix
* fix: style fix
* fix: bugfix
* test: add test case
* fix: style fix
* fix: style fix
* fix: fix style
* fix: fix style
* fix: fix trigger action
* fix: fix style
* feat: add demo
* fix: add demo
* feat: add docs
* fix: style ifx
* feat: update maxSize of bundlesize
* feat: add animation for group
* fix: fix
* fix: fix style
* fix: fix test case
* fix: fix test case
* fix: fix type
* fix: fix type
* fix: update bundlesize
* fix: fix
* fix: fix style
* fix: fix style
* fix: updata snap
* fix: fix CI
* fix: fix style
* fix: rename float button motion
* fix: fix style
* fix: bugFix
* fix: fix style
* fix: bugFix
* fix: update docs
* refactor: float button trigger
* test: fix test case & update snapshot
* fix: delete rest
* docs: update demo
* test: update snapshot
* fix: fix eslint error
* test: update snapshot
* style: update icon fontSize to 18
* fix: fix style
* fix: style fix
* fix: test case fix
* test: add test case
* fix: style fix
* test: update snap
* fix: style fix
* fix: style fix
* fix: style fix
* docs: demo update
* fix: style fix
* docs: update demo
* test: update snapshot
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-23 14:31:16 +08:00
MadCcc
d1be33f224
Merge branch 'master' into next-merge-master
2022-09-14 10:31:17 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
...
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
二货爱吃白萝卜
7c087deded
chore: Add theme=null export for vite build error ( #37462 )
...
* fix: Vite build error
* test: Update snapshot
* chore: Update snapshot
2022-09-08 15:21:42 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +08:00
lijianan
c34caad24c
test: js => ts ( #37392 )
...
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2022-09-05 19:41:32 +08:00
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
...
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2022-07-05 21:55:21 +08:00
二货机器人
66a3594e95
refactor: Provide top theme export and theme adjuster ( #36302 )
...
* chore: change theme mode
* refactor: export theme
* refactor: top of theme
* chore: map of token
* chore: fix lint
* chore: rename
* test: fix test case
2022-06-29 20:34:00 +08:00
二货机器人
fe907cc57b
refactor: Export theme useDesignToken as root hooks ( #36267 )
...
* refactor: export useDesignToken
* chore: site update
* chore: not conflict with react version
* chore: update snapshot
* chore: update snapshot
2022-06-28 15:38:30 +08:00
vagusX
ae4e660a05
feat: add new component Segmented
( #34319 )
...
* feat: basic implements in antd
* feat: use rc-segmented
* feat: add some demos
* feat: support dark theme
* docs: add more demos
* feat: support `icon` in segmented
* docs: format content
* test: add test cases
* docs: update docs
* chore: update
* fix: lint issues
* style: add border-radius for selected effect
* style: change border-radius-base
* chore: update gitignore
* feat: segmented support block
* chore: update gitignore
* feat: support block
* feat: add test case
* feat: support size
* docs: update demos
* chore: update
* chore: update
* test: update
* style: update colors
* style: hover and focus styles
* doc: add version mark in docs
* fix: style lint issue
* fix: some lint issues
* doc: add version in demo mds
* doc: add version mark before api details
* Revert "doc: add version in demo mds"
This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.
* test: only test for thumb appear
* style: update color vars
* style: add transition
* style: text vertial align
* test: update snapshots
* feat: add preview svg and support dark theme
* fix: update test snapshot
* docs: update docs
* fix: remove useless z-index
* build: add 1kb for bundlesize of antd.variable.min.css
Co-authored-by: taian.lta <taian.lta@antgroup.com>
2022-04-11 11:13:16 +08:00
zombiej
b388da62cc
test: Update snapshot
2021-10-08 16:58:51 +08:00
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component ( #26296 )
...
* feat: 🎉 Image component
* fix color
* fix style naming and sort api doc order
* remove onPreviewClose doc
* use animation-duration var
* use box and modal-mask mixins
* use box and modal-mask mixins
* improve style
* improve fallback demo src
* add cover
* improve demo
* update demo snapshots
* upgrade rc-image, naming Random -> Reload
* extract modal mask common style, and improve demo
* update snapshots
* fix less var conflict
* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
2020-08-22 22:02:20 +08:00
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
...
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
2020-04-22 11:59:56 +08:00
Eric Wang
95f6f0f14a
Chore: Refactor affix test to typescript ( #23364 )
2020-04-18 00:31:31 +08:00
骗你是小猫咪
b8109bd20e
feat: 🆕 new Space component ( #22363 )
...
* feat: new component: Space
* add config-provider space doc
* fix lint fail
* revert test -u
* improve demo
* compatible invalidElement
* use inline-flex and wrap
* review change
* add space version
* improve classname
* review change
* review change
2020-03-22 11:38:02 +08:00
骗你是小猫咪
61d0d6b182
feat: useBreakpoint hook ( #22226 )
...
* feat: useBreakpoint hook
* update snapshots
* update snapshots
* update snapshots
* add useBreakpoint hook test
2020-03-15 20:53:23 +08:00
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export ( #19935 )
...
* chore: Clean up
* clean up test case
* clean up
2019-11-26 14:21:05 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
zombieJ
fd284ecc47
fix: ResizeObserver should ignore shaking ( #18289 )
...
* fix: ResizeObserver should ignore shaking
* fix lint
* fix domHook
2019-08-15 15:52:36 +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
陈帅
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
2019-06-30 20:15:44 +08:00
陈帅
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
2019-05-22 23:22:09 +08:00
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
2019-05-17 12:05:03 +08:00
zombieJ
c4283ebe72
feat: Upload support customize previewFile ( #15984 )
...
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
2019-04-11 13:40:28 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
陈帅
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
2019-03-02 15:51:08 +08:00
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
2019-02-19 11:42:05 +08:00
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
2019-01-09 20:38:09 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
zombieJ
9b49fb60d9
Config provider ( #12991 )
...
close #12985
2018-11-26 12:06:42 +08:00
Ilan
1ad5baaf23
✅ updating tests
2018-11-03 00:17:58 +08:00
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
2018-08-22 23:34:36 +08:00
jim
86655c0ebc
update test snap
2018-07-13 22:23:12 +08:00
afc163
7222944347
test babel-plugin-import warning
2018-05-25 21:43:21 +08:00
Andreas Cederström
97c2d58d15
remove bundle size warning in test env ( #10363 )
2018-05-14 17:13:27 +08:00
偏右
f6f5fb3672
Test case for warning message of importing all components ( #9814 )
...
* Add test case
* fix test case
2018-03-26 15:36:44 +08:00
偏右
3b59a03c00
New component divider ( #7261 )
...
* Add Divider
* use Divider in table demos
* update demo instruction
* upgrade snapshots
2017-08-19 12:39:11 +08:00
niko
12bbe3776c
Feature list component ( #7150 )
...
* add list component
* fixed the demo syntax
* update list snapshots
2017-08-09 15:45:08 +08:00
乐仪
c30d1b191f
add Avatar
2017-06-09 12:02:24 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
偏右
dd589a4366
fix: change way to add package.version ( #4842 )
...
* Change way to add package.version
* replace content than create new content
2017-02-13 14:27:12 +08:00
Wei Zhu
f6c0e69af5
cleanup npm scripts ( #4499 )
...
* Cleanup npm scripts
* Lint fix
* Don't need ignore js files
* Upgrade jest
* Add components index.tsx test
2017-01-08 17:04:09 +08:00