@vtx/modals2 2.6.19 → 2.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.umirc.ts +3 -3
- package/docs/getting-started.md +3 -3
- package/docs/index.md +1 -1
- package/lib/typings.d.ts +1 -1
- package/package.json +1 -1
- package/src/typings.d.ts +1 -1
- package/src/vtx-car-modal/demo/demo1.tsx +1 -1
- package/src/vtx-car-modal/demo/demo2.tsx +1 -1
- package/src/vtx-default-modal/demo/demo1.tsx +1 -1
- package/src/vtx-df-modal/demo/demo1.tsx +1 -1
- package/src/vtx-df-modal/demo/demo2.tsx +1 -1
- package/src/vtx-facility-modal/demo/demo1.tsx +1 -1
- package/src/vtx-housing-estate-modal/demo/demo1.tsx +1 -1
- package/src/vtx-kh-modal/demo/demo1.tsx +1 -1
- package/src/vtx-kh-modal/demo/demo2.tsx +1 -1
- package/src/vtx-road-modal/demo/demo1.tsx +1 -1
- package/src/vtx-road-modal/demo/demo2.tsx +1 -1
- package/src/vtx-staff-modal/demo/demo1.tsx +1 -1
- package/src/vtx-staff-modal/demo/demo2.tsx +1 -1
- package/src/vtx-throw-point-modal/demo/demo1.tsx +1 -1
- package/src/vtx-wr-modal/demo/demo1.tsx +1 -1
- package/src/vtx-wr-modal/demo/demo2.tsx +1 -1
- package/src/vtx-zg-modal/demo/demo1.tsx +1 -1
- package/src/vtx-zg-modal/demo/demo2.tsx +1 -1
package/.umirc.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig } from 'dumi';
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
|
-
title: '@vtx/
|
|
4
|
+
title: '@vtx/modals2',
|
|
5
5
|
favicon: '/favicon.ico',
|
|
6
6
|
logo: '/favicon.ico',
|
|
7
7
|
outputPath: 'docs-dist',
|
|
@@ -25,13 +25,13 @@ export default defineConfig({
|
|
|
25
25
|
[
|
|
26
26
|
'import',
|
|
27
27
|
{
|
|
28
|
-
libraryName: '@vtx/
|
|
28
|
+
libraryName: '@vtx/modals2',
|
|
29
29
|
libraryDirectory: 'lib',
|
|
30
30
|
customStyleName: () => {
|
|
31
31
|
return `../style`;
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
|
-
'@vtx/
|
|
34
|
+
'@vtx/modals2',
|
|
35
35
|
],
|
|
36
36
|
],
|
|
37
37
|
styles: [
|
package/docs/getting-started.md
CHANGED
|
@@ -10,13 +10,13 @@ nav:
|
|
|
10
10
|
## 安装
|
|
11
11
|
|
|
12
12
|
```shell
|
|
13
|
-
yarn add @vtx/
|
|
13
|
+
yarn add @vtx/modals2 -S
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## 使用
|
|
17
17
|
|
|
18
18
|
```js
|
|
19
|
-
import { BeInput } from '@vtx/
|
|
19
|
+
import { BeInput } from '@vtx/modals2';
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## 按需加载
|
|
@@ -26,7 +26,7 @@ import { BeInput } from '@vtx/modals';
|
|
|
26
26
|
```json
|
|
27
27
|
{
|
|
28
28
|
"extraBabelPlugins": [
|
|
29
|
-
["import", { "libraryName": "@vtx/
|
|
29
|
+
["import", { "libraryName": "@vtx/modals2", "style": true }, "babe0806-components"]
|
|
30
30
|
]
|
|
31
31
|
}
|
|
32
32
|
```
|
package/docs/index.md
CHANGED
package/lib/typings.d.ts
CHANGED
package/package.json
CHANGED
package/src/typings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from 'antd';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { VtxHousingEstateModal } from '@vtx/
|
|
3
|
+
import { VtxHousingEstateModal } from '@vtx/modals2';
|
|
4
4
|
|
|
5
5
|
export default function Demo() {
|
|
6
6
|
const [visible, setVisible] = useState(false);
|