叶枫
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
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
MadCcc
719ba6b92e
refactor: drawer full token ( #35596 )
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
dingkang
58df74c38e
docs: replace class component with hooks ( #35519 )
* 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
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
* docs(drawer): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(empty): replace class component with hooks
* docs(grid): replace class component with hooks
* docs(input): replace class component with hooks
* docs(input-number): replace class component with hooks
* docs(demo): fix lint error
3 years ago
MadCcc
9ca7973521
refactor: image full token ( #35465 )
* refactor: image full token
* chore: remain switch size
* refactor: less token
* chore: text color
3 years ago
MadCcc
24773d5796
test: lint
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
MadCcc
eed87d6276
chore: remove keyframes declaration ( #35231 )
3 years ago
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value ( #35142 )
3 years ago
afc163
cbd4f1b66d
docs: update getContainer of Modal and Drawer ( #35141 )
close https://github.com/ant-design/ant-design/issues/35124
3 years ago
MadCcc
acb21e1848
feat: animation check ( #35108 )
* feat: animation check
* chore: remove treeNodeFX import
3 years ago
afc163
37e3e1a83e
docs: update Drawer overview image ( #35099 )
* docs: update Drawer overview image
* Update index.en-US.md
3 years ago
MadCcc
617449ddd2
test: add cssinjs test ( #35077 )
* test: add cssinjs test
* test: demoTest test cssinjs
* test: update snapshot
* test: adjust text
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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
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
MadCcc
101865cf7e
fix: statistic token ( #34962 )
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
3 years ago
MadCcc
05643ab9f3
refactor: Drawer migrate to genComponentStyleHook ( #34931 )
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
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
黑雨
6451b2ea04
feat: cssinjs for drawer ( #34656 )
3 years ago
黑雨
087b65c3b9
feat: delete drawer wrap ( #34673 )
3 years ago
Yunwoo Ji
76cc520efe
docs: fix type of style in drawer component ( #34665 )
3 years ago
Yunwoo Ji
2709c5f747
docs: fix default value of height in drawer component ( #34652 )
3 years ago
qdzhaoxiaodao
60aaa70069
feat: add variable for aliyun theme of drawer ( #34188 )
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
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
afc163
1db4ac2040
fix: Drawer title position ( #33205 )
3 years ago
Gabriel Mendez Reyes
106679346e
fix: en-US#docs-fix Drawer closable description ( #33035 )
* Update index.en-US.md
* Update index.en-US.md
* Update index.en-US.md
3 years ago
shuchang
4dcc85edef
docs: fix Drawer onClose description ( #33031 )
Drawer 抽屉现在关闭按钮都在左上角了,描述不对
3 years ago
GannonSun
d9ce96af3b
docs: fix Drawer closable description ( #33018 )
关闭按钮移至左上角了
3 years ago
afc163
4ca697611f
chore: remove unused css code
3 years ago
solitia7125
b1ea2e4c55
fix: opening animation of the bottom drawer ( #32761 )
Co-authored-by: Korra <1178115756@qq.com>
close #32621
3 years ago
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
3569715fab
style: optimize drawer animation ( #32342 )
close #32317
3 years ago
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error ( #32063 )
* chore: create additional entry
* fix: rm recv call
* chore: Add default.less as index.less
* chore: update entry
* fix: row should also translate
* chore: rename index-default to index and add index-pure instead
* fix: missing transfer customize styl
3 years ago
David Santos
63ddba3023
fix: Drawer levelMove types ( #30714 )
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
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
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
Kermit
b94eb2aa44
feat(drawer): support contentWrapperStyle ( #29219 )
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago