thinkasany
a640139c03
test: add blogList test case ( #43375 )
1 year ago
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
MadCcc
32e17ac3c6
chore: update test timeout
1 year ago
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
1 year ago
红果汁
b95d5674fa
feat: new component ColorPicker ( #41990 )
* feat: color picker
* chore: improve component logic
* test: update snapshots
* test: update snapshots
* fix: remove unuse code
* fix: adjusting the UI
* fix: hairy edge in dark mode
* fix: demo case
* chore: rollback file
* fix: improve code logic
* perf: improve code
* test: add test case
* refactor: trigger use Popover instead
* test: add test case
* refactor: improve code logic
* test: update snapshots
* refactor: improve code
* docs: add overview img
* feat: style
* chore: update snapshot
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: update snapshot
* feat: color block
* chore: pure render
* refactor: hex input number reduced to 6 digits
* fix: rename React to react
* refactor: trigger demo
* docs: remove disabled demo
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
dependabot[bot]
5b23a6aac2
chore(deps-dev): bump glob from 9.3.5 to 10.0.0 ( #41737 )
* chore(deps-dev): bump glob from 9.3.5 to 10.0.0
Bumps [glob](https://github.com/isaacs/node-glob ) from 9.3.5 to 10.0.0.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v9.3.5...v10.0.0 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: upgrade glob usage
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货爱吃白萝卜
b1c42a3292
test: Diff of React 17 & 18 ( #41739 )
* test: prepare for 17 & 18 diff
* test: prepare for 17 & 18 diff
* test: update snapshot
* test: fix arr check
* test: update snapshot
* test: update snapshot
2 years ago
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
lijianan
973abb6e56
test: add test case for en-US blog to avoid omission in translation ( #40231 )
2 years ago
JarvisArt
6f83c63d74
feat: New Component Watermark ( #39064 )
* feat: New Component Watermark
* docs: add watermark docs
* docs: add watermark demo
* test: add watermark test
* test: add watermark snapshot
* chore: add jest-canvas-mock
* feat: Watermark calculates the width and height of content by default
* docs: update docs
* docs: update demo
* test: update snapshot
* docs: update docs
* chore: update bundlesize
* chore: Optimize code logic
* chore: update size-limit
* test: update watermark snapshot
2 years ago
黑雨
db4ee53ffa
feat : new components app ( #39046 )
* feat : new components app
* feat: update app
* feat: update app
* feat: update app
* feat: update app
* feat: update app
* feat: update app
* feat: update app
* feat: update style
* feat: update style
* feat: update style
* feat: add style
* chore: code clean
* feat: add prefixCls
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* test: image test
* Update components/app/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* feat : update for reviewer
* feat: update
* feat: update
* feat: update snap
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
lijianan
240210a281
feat: New Component QRCode ( #38948 )
* feat: qrcode
* chore: code clean
* feat: New Component Qr-Code (#38891 )
* feat: QrCode
* fix
* fix
* fix: fix bug
* fix: fix bug
* fix
* fix
* fix
* delete
* delete
* test case
* fix lint
* bundlesize
* demo
* fix: fix test
* remove dep
* update snap
* en docs
* refactor: rename tests dir
* Update components/qr-code/demo/base.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/base.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/download.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/download.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/download.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/logo.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/logo.md
Co-authored-by: MadCcc <1075746765@qq.com>
* rename
* fix
* adjust text
* rename
* fix title
* rename
* rename
* fix: snap
* fix
* bundlesize
* update demo
* update docs
* add demo
* add docs
* add docs
* test: add warning
* update demo
* bundlesize
* update test case
* update demo
* feat: add onRefresh、add status
* fix: fix demo
* fix: fix demo
* add locale
* add locale
* add test case
* update snap
* fix demo
* update demo
* update demo
* update demo
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/interface.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* fix
* Update components/qrcode/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix
* fix
* fix
* add decs
* fix
* fix
* fix type
* fix
* fix demo
* fix lint
* fix lint
* add test case for bordered
* prettier-ignore
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: 栗嘉男 <lijianan@lijianandeMacBook-Pro.local>
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
renovate[bot]
8d0d96223b
chore(deps): update dependency jest to v29 ( #37270 )
* chore(deps): update dependency jest to v29
* Update package.json
* chore: update snapshot
* chore(deps): update dependency jest to v29
* Update package.json
* test: fix test case
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
黑雨
b0850139f2
[new component] Next tour ( #37867 )
* feat: init
* feat: update
* feat: upate
* feat: update
* feat: update
* feat: init
* feat: init
* feat: init
* feat: update
* feat: update
* feat: update
* feat: update rc-tour
* feat: init component
* feat: init component
* chore: update pck
* doc: update doc
* doc: update reviewer
* doc: update reviewer
* doc: update reviewer
* feat: update reviewer
* feat: update reviewer
* feat: update doc
* feat: update deme
* feat: update demo doc
* feat: update demo
* feat: update demo
* feat: update style
* feat: update dom & style
* feat: update dome
* feat: update dome
* docs: update demo
* feat: update doc
* feat: update dome
* feat: add locale
* doc: update locale
* doc: add test
* feat: add test case
* feat: add test case
* feat: update package
* feat: update ts
* feat: update ts
* feat: update snapshots
* feat: update demo
* feat: update demo
* feat: update demo
* feat: edit maxSize
* feat: edit maxSize
* feat: update lint
* feat: update lint
* feat: update style reviewer
* feat: update style
* feat: merge next
* feat: add locale
* feat: reset bundleSize
* feat: change maxSize
* feat: update test coverage
* feat: update test coverage
* feat: add type
* chore: simplify en locale
* feat: update
* feat: update test snap
* docs: demo update
* chore: adjust style
* chore: adjust style
* chore: bump rc-tour
* Update package.json
* feat: update package
* feat: update package
* feat: update cover
* docs: update api
* docs: update overview snap
* feat: update token
* feat: delete repeat ts
* feat: remove finishButtonProps
* chore: update demo
* feat: tour style
* test: fix lint
* chore: code clean
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
MadCcc
0d7c87421a
chore: remove babel-plugin-import warning ( #37975 )
* chore: remove babel-plugin-import warning
* chore: update test case
* chore: code clean
2 years ago
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>
2 years ago
黑雨
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>
2 years ago
二货爱吃白萝卜
7c087deded
chore: Add theme=null export for vite build error ( #37462 )
* fix: Vite build error
* test: Update snapshot
* chore: Update snapshot
2 years ago
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
2 years ago
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
2 years ago
二货机器人
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
2 years ago
二货机器人
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
2 years ago
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>
3 years ago
zombiej
b388da62cc
test: Update snapshot
3 years ago
骗你是小猫咪
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
4 years ago
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
5 years ago
Eric Wang
95f6f0f14a
Chore: Refactor affix test to typescript ( #23364 )
5 years ago
骗你是小猫咪
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
5 years ago
骗你是小猫咪
61d0d6b182
feat: useBreakpoint hook ( #22226 )
* feat: useBreakpoint hook
* update snapshots
* update snapshots
* update snapshots
* add useBreakpoint hook test
5 years ago
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export ( #19935 )
* chore: Clean up
* clean up test case
* clean up
5 years ago
zombieJ
fd284ecc47
fix: ResizeObserver should ignore shaking ( #18289 )
* fix: ResizeObserver should ignore shaking
* fix lint
* fix domHook
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
陈帅
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
陈帅
785c132262
meger feature to master ( #16421 )
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* 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
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
6 years ago
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
6 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
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
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
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago