@wzyjs/antd 0.3.3 → 0.3.6
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/package.json +2 -2
- package/src/form/Upload/index.tsx +1 -1
- package/src/pro/Button/components/Confirm.tsx +1 -1
- package/src/pro/Button/components/Copy.tsx +2 -2
- package/src/pro/Button/components/Drawer.tsx +1 -1
- package/src/pro/Input/components/Range.tsx +1 -1
- package/src/pro/Input/index.tsx +1 -1
- package/src/pro/Typography/components/String.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wzyjs/antd",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "description",
|
|
5
5
|
"author": "wzy",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@wzyjs/utils": "^0.2.37",
|
|
21
21
|
"antd": "^5.24.3"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "3e0b376c19e23a470826c7d512d901b0ad630cfb",
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
}
|
|
@@ -5,8 +5,8 @@ import React, { useState, ReactNode } from 'react'
|
|
|
5
5
|
import { Button, ButtonProps, message } from 'antd'
|
|
6
6
|
import { CheckOutlined } from '@ant-design/icons'
|
|
7
7
|
|
|
8
|
-
import { copy, readClipboard } from '@wzyjs/utils'
|
|
9
|
-
import { useControllableValue } from '@wzyjs/hooks'
|
|
8
|
+
import { copy, readClipboard } from '@wzyjs/utils/web'
|
|
9
|
+
import { useControllableValue } from '@wzyjs/hooks/web'
|
|
10
10
|
|
|
11
11
|
export interface CopyProps extends ButtonProps {
|
|
12
12
|
value?: string,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import React, { useState } from 'react'
|
|
4
|
-
import { _ } from '@wzyjs/utils'
|
|
4
|
+
import { _ } from '@wzyjs/utils/web'
|
|
5
5
|
import { Button, Drawer as AntdDrawer, DrawerProps as AntdDrawerProps, ButtonProps } from 'antd'
|
|
6
6
|
|
|
7
7
|
export interface DrawerProps extends AntdDrawerProps {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react'
|
|
4
4
|
import { InputNumber, InputNumberProps, Space } from 'antd'
|
|
5
|
-
import { _ } from '@wzyjs/utils'
|
|
5
|
+
import { _ } from '@wzyjs/utils/web'
|
|
6
6
|
|
|
7
7
|
export interface RangeProps extends Omit<InputNumberProps, 'value' | 'onChange'> {
|
|
8
8
|
value?: number[];
|
package/src/pro/Input/index.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect, useMemo } from 'react'
|
|
4
4
|
import { Input, InputProps } from 'antd'
|
|
5
|
-
import { getStrLength } from '@wzyjs/utils'
|
|
5
|
+
import { getStrLength } from '@wzyjs/utils/web'
|
|
6
6
|
import { Range } from './components/Range'
|
|
7
7
|
|
|
8
8
|
export interface InputProProps extends Omit<InputProps, 'onChange'> {
|
|
@@ -5,7 +5,7 @@ import React, { useMemo } from 'react'
|
|
|
5
5
|
import { Typography } from 'antd'
|
|
6
6
|
import { TextProps } from 'antd/lib/typography/Text'
|
|
7
7
|
|
|
8
|
-
import { replaceByRules } from '@wzyjs/utils'
|
|
8
|
+
import { replaceByRules } from '@wzyjs/utils/web'
|
|
9
9
|
|
|
10
10
|
export interface StringProps extends TextProps {
|
|
11
11
|
isCopy?: boolean;
|