Skip to content

Commit bcaf22c

Browse files
authored
chore: up dumi version (#234)
1 parent 4a831fb commit bcaf22c

File tree

5 files changed

+190
-183
lines changed

5 files changed

+190
-183
lines changed

.umirc.ts

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,10 @@ export default defineConfig({
1212
outputPath: '.doc',
1313
exportStatic: {},
1414
styles: [
15-
`a img + svg {
16-
display: none;
17-
}`
18-
],
19-
scripts: [{
20-
content: `
21-
(function () {
22-
var timer = setInterval(function() {
23-
try {
24-
var menuList = document.getElementsByClassName('__dumi-default-menu-list');
25-
menuList[0].childNodes[0].childNodes[0].innerText = '${name}';
26-
clearInterval(timer);
27-
} catch (e) {}
28-
}, 200)
29-
})();
3015
`
31-
}]
16+
.markdown table {
17+
width: auto !important;
18+
}
19+
`,
20+
]
3221
});

CHANGELOG.md

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# Changelog
2+
3+
## 8.5.1
4+
5+
`2021-01-07`
6+
7+
- improve: ScrollLocker call related. [#227](https://github.com/react-component/dialog/pull/227)
8+
9+
## 8.5.0
10+
11+
`2021-01-04`
12+
13+
- refactor: use ScrollLocker. [#220](https://github.com/react-component/dialog/pull/220)
14+
15+
## 8.4.6
16+
17+
`2020-12-19`
18+
19+
- fix: trigger close only when click wrap itself. [#218](https://github.com/react-component/dialog/pull/218)
20+
21+
## 8.4.5
22+
23+
`2020-12-07`
24+
25+
- fix: Dialog should keep refresh when forceRender provided. [#217](https://github.com/react-component/dialog/pull/217)
26+
27+
## 8.4.4
28+
29+
`2020-12-03`
30+
31+
- fix: dialog dont close when mouseDown in content and mouseUp in wrapper. [#210](https://github.com/react-component/dialog/pull/210)
32+
33+
- chore: Should not re-render when dialog is invisible. [#212](https://github.com/react-component/dialog/pull/212)
34+
35+
36+
## 8.4.3
37+
38+
`2020-10-21`
39+
40+
- chore: support react 17. [#207](https://github.com/react-component/dialog/pull/207)
41+
42+
## 8.4.2
43+
44+
`2020-10-14`
45+
46+
- fix: Dialog should not auto destroy. [#206](https://github.com/react-component/dialog/pull/206)
47+
48+
## 8.4.1
49+
50+
`2020-10-11`
51+
52+
- fix: Portal event bubble. [#204](https://github.com/react-component/dialog/pull/204)
53+
54+
## 8.4.0
55+
56+
`2020-09-29`
57+
58+
- refactor: Use `rc-motion`. [#203](https://github.com/react-component/dialog/pull/203)
59+
60+
## 8.3.4 (8.2.2, 8.1.2) / 2020-09-04
61+
- fix: prevent scroll behavior when focus trigger. [ant-design/ant-design#26582](https://github.com/ant-design/ant-design/issues/26582)
62+
63+
## 8.3.3 / 2020-09-02
64+
- fix: page scroll position will jump after dialog is closed. [#202](https://github.com/react-component/dialog/pull/202)
65+
66+
## 8.3.2 / 2020-09-02
67+
- fix: remove typing from package.json. [#201](https://github.com/react-component/dialog/pull/201)
68+
69+
## 8.3.1 / 2020-09-02
70+
- fix: add displayName. [#200](https://github.com/react-component/dialog/pull/200)
71+
72+
## 8.3.0 / 2020-08-31
73+
- fate: add `modalRender`. [#195](https://github.com/react-component/dialog/pull/195)
74+
75+
## 8.2.0 / 2020-08-27
76+
- use `father`. [#197](https://github.com/react-component/dialog/pull/197)
77+
78+
## 8.1.1 / 2020-08-19
79+
80+
- Fix dialog component will only show mask, if initialize a Dialog component with both forceRender and visible are true. [#194](https://github.com/react-component/dialog/pull/194)
81+
82+
## 8.1.0 / 2020-07-09
83+
84+
- remove babel runtime.
85+
- up `rc-drawer` to `4.1.0`.
86+
87+
## 8.0.0 / 2020-05-29
88+
89+
- upgrade `rc-util` to `5.0.0`.
90+
91+
## 7.7.0 / 2020-05-05
92+
93+
- upgrade `rc-animate` to `3.0.0`.
94+
95+
## 7.4.0 / 2019-05-10
96+
97+
- Update accessibility.
98+
99+
## 7.3.0 / 2018-12-06
100+
101+
- Support `forceRender` for dialog.
102+
103+
## 7.2.0 / 2018-07-30
104+
105+
- Add closeIcon. [#89](*https://github.com/react-component/dialog/pull/89) [@HeskeyBaozi ](https://github.com/HeskeyBaozi)
106+
107+
## 7.1.0 / 2017-12-28
108+
109+
- Add destroyOnClose. [#72](https://github.com/react-component/dialog/pull/72) [@Rohanhacker](https://github.com/Rohanhacker)
110+
111+
## 7.0.0 / 2017-11-02
112+
113+
114+
- Remove ReactNative support, please use https://github.com/react-component/m-dialog instead.
115+
- Support React 16.
116+
117+
Notable change: Close animation won't trigger when dialog unmounting after React 16, see [facebook/react#10826](https://github.com/facebook/react/issues/10826)
118+
119+
## 6.5.11 / 2017-8-21
120+
121+
- fixed: RN modal support landscape orientation, https://github.com/react-component/dialog/pull/64
122+
123+
## 6.5.0 / 2016-10-25
124+
125+
- remove rc-dialog/lib/Modal's entry prop, add animationType prop
126+
127+
## 6.4.0 / 2016-09-19
128+
129+
- add rc-dialog/lib/Modal to support react-native
130+
131+
## 6.2.0 / 2016-07-18
132+
133+
- use getContainerRenderMixin from 'rc-util'
134+
135+
## 6.0.0 / 2016-03-18
136+
137+
- new html structure and class
138+
- disable window scroll when show
139+
140+
## 5.4.0 / 2016-02-27
141+
142+
- add maskClosable
143+
144+
## 5.3.0 / 2015-11-23
145+
146+
- separate close and header
147+
148+
## 5.1.0 / 2015-10-20
149+
150+
- only support react 0.14
151+
152+
## 5.0.0 / 2015-08-17
153+
154+
- refactor to clean api. remove onShow onBeforeClose
155+
156+
## 4.5.0 / 2015-07-23
157+
158+
use rc-animate & rc-align
159+
160+
## 4.4.0 / 2015-07-03
161+
162+
support esc to close
163+
164+
## 4.2.0 / 2015-06-09
165+
166+
add renderToBody props
167+
168+
## 4.0.0 / 2015-04-28
169+
170+
make dialog render to body and use [dom-align](https://github.com/yiminghe/dom-align) to align
171+
172+
## 3.0.0 / 2015-03-17
173+
174+
support es6 and react 0.13
175+
176+
## 2.1.0 / 2015-03-05
177+
178+
`new` [#3](https://github.com/react-component/dialog/issues/3) support closable requestClose onBeforeClose

docs/changelog.md

Lines changed: 1 addition & 166 deletions
Original file line numberDiff line numberDiff line change
@@ -1,166 +1 @@
1-
# Changelog
2-
3-
## 8.4.6
4-
5-
`2020-12-19`
6-
7-
- fix: trigger close only when click wrap itself. [#218](https://github.com/react-component/dialog/pull/218)
8-
9-
## 8.4.5
10-
11-
`2020-12-07`
12-
13-
- fix: Dialog should keep refresh when forceRender provided. [#217](https://github.com/react-component/dialog/pull/217)
14-
15-
## 8.4.4
16-
17-
`2020-12-03`
18-
19-
- fix: dialog dont close when mouseDown in content and mouseUp in wrapper. [#210](https://github.com/react-component/dialog/pull/210)
20-
21-
- chore: Should not re-render when dialog is invisible. [#212](https://github.com/react-component/dialog/pull/212)
22-
23-
24-
## 8.4.3
25-
26-
`2020-10-21`
27-
28-
- chore: support react 17. [#207](https://github.com/react-component/dialog/pull/207)
29-
30-
## 8.4.2
31-
32-
`2020-10-14`
33-
34-
- fix: Dialog should not auto destroy. [#206](https://github.com/react-component/dialog/pull/206)
35-
36-
## 8.4.1
37-
38-
`2020-10-11`
39-
40-
- fix: Portal event bubble. [#204](https://github.com/react-component/dialog/pull/204)
41-
42-
## 8.4.0
43-
44-
`2020-09-29`
45-
46-
- refactor: Use `rc-motion`. [#203](https://github.com/react-component/dialog/pull/203)
47-
48-
## 8.3.4 (8.2.2, 8.1.2) / 2020-09-04
49-
- fix: prevent scroll behavior when focus trigger. [ant-design/ant-design#26582](https://github.com/ant-design/ant-design/issues/26582)
50-
51-
## 8.3.3 / 2020-09-02
52-
- fix: page scroll position will jump after dialog is closed. [#202](https://github.com/react-component/dialog/pull/202)
53-
54-
## 8.3.2 / 2020-09-02
55-
- fix: remove typing from package.json. [#201](https://github.com/react-component/dialog/pull/201)
56-
57-
## 8.3.1 / 2020-09-02
58-
- fix: add displayName. [#200](https://github.com/react-component/dialog/pull/200)
59-
60-
## 8.3.0 / 2020-08-31
61-
- fate: add `modalRender`. [#195](https://github.com/react-component/dialog/pull/195)
62-
63-
## 8.2.0 / 2020-08-27
64-
- use `father`. [#197](https://github.com/react-component/dialog/pull/197)
65-
66-
## 8.1.1 / 2020-08-19
67-
68-
- Fix dialog component will only show mask, if initialize a Dialog component with both forceRender and visible are true. [#194](https://github.com/react-component/dialog/pull/194)
69-
70-
## 8.1.0 / 2020-07-09
71-
72-
- remove babel runtime.
73-
- up `rc-drawer` to `4.1.0`.
74-
75-
## 8.0.0 / 2020-05-29
76-
77-
- upgrade `rc-util` to `5.0.0`.
78-
79-
## 7.7.0 / 2020-05-05
80-
81-
- upgrade `rc-animate` to `3.0.0`.
82-
83-
## 7.4.0 / 2019-05-10
84-
85-
- Update accessibility.
86-
87-
## 7.3.0 / 2018-12-06
88-
89-
- Support `forceRender` for dialog.
90-
91-
## 7.2.0 / 2018-07-30
92-
93-
- Add closeIcon. [#89](*https://github.com/react-component/dialog/pull/89) [@HeskeyBaozi ](https://github.com/HeskeyBaozi)
94-
95-
## 7.1.0 / 2017-12-28
96-
97-
- Add destroyOnClose. [#72](https://github.com/react-component/dialog/pull/72) [@Rohanhacker](https://github.com/Rohanhacker)
98-
99-
## 7.0.0 / 2017-11-02
100-
101-
102-
- Remove ReactNative support, please use https://github.com/react-component/m-dialog instead.
103-
- Support React 16.
104-
105-
Notable change: Close animation won't trigger when dialog unmounting after React 16, see [facebook/react#10826](https://github.com/facebook/react/issues/10826)
106-
107-
## 6.5.11 / 2017-8-21
108-
109-
- fixed: RN modal support landscape orientation, https://github.com/react-component/dialog/pull/64
110-
111-
## 6.5.0 / 2016-10-25
112-
113-
- remove rc-dialog/lib/Modal's entry prop, add animationType prop
114-
115-
## 6.4.0 / 2016-09-19
116-
117-
- add rc-dialog/lib/Modal to support react-native
118-
119-
## 6.2.0 / 2016-07-18
120-
121-
- use getContainerRenderMixin from 'rc-util'
122-
123-
## 6.0.0 / 2016-03-18
124-
125-
- new html structure and class
126-
- disable window scroll when show
127-
128-
## 5.4.0 / 2016-02-27
129-
130-
- add maskClosable
131-
132-
## 5.3.0 / 2015-11-23
133-
134-
- separate close and header
135-
136-
## 5.1.0 / 2015-10-20
137-
138-
- only support react 0.14
139-
140-
## 5.0.0 / 2015-08-17
141-
142-
- refactor to clean api. remove onShow onBeforeClose
143-
144-
## 4.5.0 / 2015-07-23
145-
146-
use rc-animate & rc-align
147-
148-
## 4.4.0 / 2015-07-03
149-
150-
support esc to close
151-
152-
## 4.2.0 / 2015-06-09
153-
154-
add renderToBody props
155-
156-
## 4.0.0 / 2015-04-28
157-
158-
make dialog render to body and use [dom-align](https://github.com/yiminghe/dom-align) to align
159-
160-
## 3.0.0 / 2015-03-17
161-
162-
support es6 and react 0.13
163-
164-
## 2.1.0 / 2015-03-05
165-
166-
`new` [#3](https://github.com/react-component/dialog/issues/3) support closable requestClose onBeforeClose
1+
<embed src="../CHANGELOG.md"></embed>

docs/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: rc-dialog
3+
---
4+
5+
<embed src="../README.md"></embed>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"bluebird": "~3.7.2",
6262
"bootstrap": "^4.3.1",
6363
"cross-env": "^7.0.0",
64-
"dumi": "^1.0.37",
64+
"dumi": "^1.1.0",
6565
"enzyme": "^3.1.1",
6666
"enzyme-adapter-react-16": "^1.0.1",
6767
"enzyme-to-json": "^3.1.2",

0 commit comments

Comments
 (0)