Arnaud Benhamdine
33e06a2b92
chore(Drawer): Improve warning message wording and demo doc ( #39207 )
* Improve warning message wording
* Improve wording in demo
* Fix test
2 years ago
二货爱吃白萝卜
4d33b7443b
docs: Add more desc & warning ( #39201 )
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
二货爱吃白萝卜
752d671acb
feat: DatePicker support `presets` ( #38249 )
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2 years ago
MadCcc
0a0f96798d
chore: snapshot
2 years ago
MadCcc
514cb4fd23
chore: update snapshot
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
二货爱吃白萝卜
2b15bdafac
fix: Drawer PurePanel style missing ( #37946 )
* fix: Drawer PurePanel style missing
* docs: clean up useless demo code
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
二货爱吃白萝卜
f4859202f5
fix: Nest Drawer default open show order ( #37767 )
* chore: bump drawer
* docs: Drawer test demo
* test: Update snapshot
* docs: Update demo
* chore: fix nest style
* chore: trigger CI
* chore: modify bundle size
2 years ago
二货爱吃白萝卜
5a68bad59d
refactor: Drawer PurePanel only need Drawer panel part ( #37676 )
* refactor: Drawer Panel component extrac
* chore: PurePanel
* chore: PurePanel styled
* test: Update snapshot
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
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
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2 years ago
MadCcc
5174024561
test: fix test
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
c818c89bac
test: fix lint
2 years ago
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
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
Uladzimir Atroshchanka
c9fd7fb8f1
feat: Input fields in error are missing multiple ARIA attributes ( #36762 )
* feat: add implementation and update snapshots
* test: update snapshot
* test: update snapshots
* test: update snapshots
* test: update snapshots
2 years ago
yykoypj
766748a501
feat: change visible to open for drawer ( #36750 )
* feat: change visible to open for Drawer
* refactor: use open internal either
* feat: add warning when use visible
* test: Fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
73b3c7828d
fix: Drawer add motion deadline ( #37100 )
* fix: Drawer add motion deadline
* test: Update snapshot
* test: ignore motion in snapshot render
2 years ago
二货爱吃白萝卜
dcc114e042
test: Adjust Drawer test case ( #36964 )
2 years ago
二货爱吃白萝卜
3012c77482
fix: Drawer zIndex ( #36958 )
2 years ago
二货机器人
0dc7c99e7d
feat: PurePanel and refactor naming ( #36834 )
* docs: PurePanel
* docs: Update API
* docs: Update doc
* chore: correct style naming
* test: Update snapshot
2 years ago
二货机器人
7fb7391cba
test: fix test case
2 years ago
二货机器人
ddb97b22ba
chore: collapse title text auto width ( #36761 )
* chore: collapse title text auto width
* test: fix mock snapshot
2 years ago
二货机器人
24be945ea8
fix: Not work in old browser ( #36748 )
* fix: Drawer contentWrapperStyle logic
* fix: Update style
* test: Update snapshot
* test: More test case
2 years ago
二货机器人
740d9f4111
fix: Drawer width with ptg ( #36729 )
* fix: Drawer width with ptg
* test:Update snapshot
2 years ago
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
叶枫
c3fc5db788
fix: drawer close twice children is undefined ( #35853 )
* fix: drawer close twice children is undefined
* fix: drawer close twice children is undefined
* chore: code
* fix: test
3 years ago
yykoypj
166100ee1b
test: move test cases to @testing/library for Drawer ( #35839 )
3 years ago
叶枫
5e5ad935a4
fix: drawer can not ref form instance when open ( #35706 )
* fix: drawer can not ref form instance when open
* fix: test
* feat: div ref
* feat: test
* feat: test
* feat: test
* feat: test
3 years ago
叶枫
644e4bfc6a
fix: drawer close speed ( #35339 )
* fix: drawer close speed
* chroe: snap
* chroe: test
* chroe: test
* feat: remove file
* feat: 重新整理
* feat: forceRender
* feat: snap
* chroe: test
* chroe: test
* chroe: test
* feat: create event
* feat: diff code
* feat: forceRender
* chore: test (#35364 )
* Update components/drawer/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* feat: remove load state
* feat: test
* fix: destroyOnClose
* feat: add load
* fix: update snap
* fix: update snap
* feat: reset test
* feat: docs
* feat: test
* feat: test
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
3 years ago
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
Shengnan
e4cbb9cedd
chore: update rc-drawer & fix snap ( #32007 )
* chore: bump rc-drawer to 4.4.2
* feat: DrawerProps interface add autoFocus support
* docs: add autoFocus to Drawer doc
* fix: snapshot update
* fix: snapshot update
* Update components/drawer/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
3 years ago
二货机器人
93dd93bf45
docs: add 4.17.0-alpha.0 changelog ( #31987 )
* chore: 4.17.0 changelog
* chore: Update emoji
* docs: Update changelog
* docs: dynamic theme ref
* chore: bump version
* docs: Update content
* docs: Add ref
* docs: Add rc changelog
* chore: bump version
* test: Update snapshot
3 years ago
afc163
62949a6bd6
feat: change Drawer close icon placement and add extra property ( #30908 )
* feat: Drawer supports extra
* docs: add description for drawer extra demo
* docs: add extra in API
* update snapshot
* fix rtl style
* fix demo typescript errors
* update snapshot
* design for close icon only
* update snapshot
* update demo and default width
* add size prop
* improve demo
* update snapshot
* update demo
* update snapshot
4 years ago
Kermit
4e429714bb
fix(drawer): add contentWrapperStyle type declaration ( #29571 )
* fix(drawer): add contentWrapperStyle type declaration
* chore: add test case
4 years ago
afc163
4ee9253467
refactor(drawer): rewrite with hook from @hosseinmd ( #29229 )
* refactor: drawer to functional component and hooks
* chore: clean code default value
* perf: remove doesn't necessary useCallback
* chore: useContext instead of Consumer
* fix ref
* Add Drawer displayName
* fix tsc
* fix tsc
Co-authored-by: Hossein Mohammadi <hosseinm.developer@gmail.com>
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
二货机器人
d6bd89e370
fix: Form warning ( #27343 )
* fix: Not warning in drawer
* add test case
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago