@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'dumi';
2
2
 
3
3
  export default defineConfig({
4
- title: '@vtx/modals',
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/modals',
28
+ libraryName: '@vtx/modals2',
29
29
  libraryDirectory: 'lib',
30
30
  customStyleName: () => {
31
31
  return `../style`;
32
32
  },
33
33
  },
34
- '@vtx/modals',
34
+ '@vtx/modals2',
35
35
  ],
36
36
  ],
37
37
  styles: [
@@ -10,13 +10,13 @@ nav:
10
10
  ## 安装
11
11
 
12
12
  ```shell
13
- yarn add @vtx/modals -S
13
+ yarn add @vtx/modals2 -S
14
14
  ```
15
15
 
16
16
  ## 使用
17
17
 
18
18
  ```js
19
- import { BeInput } from '@vtx/modals';
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/modals", "style": true }, "babe0806-components"]
29
+ ["import", { "libraryName": "@vtx/modals2", "style": true }, "babe0806-components"]
30
30
  ]
31
31
  }
32
32
  ```
package/docs/index.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  hero:
3
- title: '@vtx/modals'
3
+ title: '@vtx/modals2'
4
4
  desc: 业务组件库
5
5
  actions:
6
6
  - text: 开始使用
package/lib/typings.d.ts CHANGED
@@ -4,7 +4,7 @@ declare module '*.css';
4
4
  declare module '*.less';
5
5
  declare module '@vtx/utils';
6
6
  declare module '@vtx/components';
7
- declare module '@vtx/modals';
7
+ declare module '@vtx/modals2';
8
8
  declare module 'dumi';
9
9
  declare module 'lodash';
10
10
  declare module 'echarts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/modals2",
3
- "version": "2.6.19",
3
+ "version": "2.6.20",
4
4
  "description": "业务弹窗库",
5
5
  "keywords": [
6
6
  "react",
package/src/typings.d.ts CHANGED
@@ -4,7 +4,7 @@ declare module '*.css';
4
4
  declare module '*.less';
5
5
  declare module '@vtx/utils';
6
6
  declare module '@vtx/components';
7
- declare module '@vtx/modals';
7
+ declare module '@vtx/modals2';
8
8
  declare module 'dumi';
9
9
  declare module 'lodash';
10
10
  declare module 'echarts';
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxCarModal } from '@vtx/modals';
3
+ import { VtxCarModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxCarModal } from '@vtx/modals';
3
+ import { VtxCarModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxDefaultModal } from '@vtx/modals';
3
+ import { VtxDefaultModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from 'antd';
3
- import { VtxDfModal } from '@vtx/modals';
3
+ import { VtxDfModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from 'antd';
3
- import { VtxDfModal } from '@vtx/modals';
3
+ import { VtxDfModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxFacilityModal } from '@vtx/modals';
3
+ import { VtxFacilityModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxHousingEstateModal } from '@vtx/modals';
3
+ import { VtxHousingEstateModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxKhModal } from '@vtx/modals';
3
+ import { VtxKhModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxKhModal } from '@vtx/modals';
3
+ import { VtxKhModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from 'antd';
3
- import { VtxRoadModal } from '@vtx/modals';
3
+ import { VtxRoadModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from 'antd';
3
- import { VtxRoadModal } from '@vtx/modals';
3
+ import { VtxRoadModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from 'antd';
3
- import { VtxStaffModal } from '@vtx/modals';
3
+ import { VtxStaffModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from 'antd';
3
- import { VtxStaffModal } from '@vtx/modals';
3
+ import { VtxStaffModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxThrowPointModal } from '@vtx/modals';
3
+ import { VtxThrowPointModal } from '@vtx/modals2';
4
4
 
5
5
  export default function Demo() {
6
6
  const [visible, setVisible] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxWrModal } from '@vtx/modals';
3
+ import { VtxWrModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxWrModal } from '@vtx/modals';
3
+ import { VtxWrModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxZgModal } from '@vtx/modals';
3
+ import { VtxZgModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (
@@ -1,6 +1,6 @@
1
1
  import { Button } from 'antd';
2
2
  import React, { useState } from 'react';
3
- import { VtxZgModal } from '@vtx/modals';
3
+ import { VtxZgModal } from '@vtx/modals2';
4
4
  export default function Demo() {
5
5
  const [visible, setVisible] = useState(false);
6
6
  return (