@trionesdev/antd-taro-react 0.0.2-beta.27 → 0.0.2-beta.28
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/dist/Input/index.scss
CHANGED
|
@@ -165,6 +165,12 @@ wx-input {
|
|
|
165
165
|
border-bottom: 1Px solid variable.$trionesBorderColor;
|
|
166
166
|
padding-block: variable.$trionesInputPaddingBlock;
|
|
167
167
|
}
|
|
168
|
+
|
|
169
|
+
&-borderless{
|
|
170
|
+
border-radius: variable.$trionesBorderRadius;
|
|
171
|
+
padding-block: variable.$trionesInputPaddingBlock;
|
|
172
|
+
padding-inline: variable.$trionesInputPaddingBlock;
|
|
173
|
+
}
|
|
168
174
|
}
|
|
169
175
|
|
|
170
176
|
.#{$inputGroupWrapperCls} {}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { VariantType } from "./types";
|
|
3
3
|
export type InputAffixWrapperProps = {
|
|
4
4
|
style?: React.CSSProperties;
|
|
5
5
|
className?: string;
|
|
6
6
|
prefix?: React.ReactNode;
|
|
7
7
|
suffix?: React.ReactNode;
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: VariantType;
|
|
9
9
|
allowClear?: boolean;
|
|
10
10
|
value?: any;
|
|
11
11
|
onClear?: () => void;
|
package/dist/Input/textarea.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { VariantType } from './types';
|
|
3
3
|
export type InputTextareaProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: React.CSSProperties;
|
|
6
|
-
variant?:
|
|
6
|
+
variant?: VariantType;
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
allowClear?: boolean;
|
package/dist/Input/types.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ export type InputProps = {
|
|
|
12
12
|
allowClear?: boolean;
|
|
13
13
|
prefix?: React.ReactNode;
|
|
14
14
|
suffix?: React.ReactNode;
|
|
15
|
-
variant?:
|
|
15
|
+
variant?: VariantType;
|
|
16
16
|
defaultValue?: any;
|
|
17
17
|
value?: any;
|
|
18
18
|
onChange?: (e: any) => void;
|
|
19
19
|
};
|
|
20
|
-
export type
|
|
20
|
+
export type VariantType = 'outlined' | 'borderless' | 'filled' | 'underlined' | undefined;
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trionesdev/antd-taro-react",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.28",
|
|
4
4
|
"description": "antd taro react",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "father dev",
|
|
9
|
+
"build": "father build",
|
|
10
|
+
"build:deps": "father prebundle",
|
|
11
|
+
"prepublishOnly": "father doctor && npm run build",
|
|
12
|
+
"publish": "npm publish --tag latest --registry=https://registry.npmjs.org/",
|
|
13
|
+
"publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
|
|
14
|
+
},
|
|
7
15
|
"keywords": [],
|
|
8
16
|
"authors": [
|
|
9
17
|
"fengxiaotx@163.com"
|
|
@@ -36,30 +44,23 @@
|
|
|
36
44
|
"@tarojs/plugin-platform-weapp": "4.2.0",
|
|
37
45
|
"@tarojs/react": "4.2.0",
|
|
38
46
|
"@tarojs/taro": "4.2.0",
|
|
47
|
+
"@trionesdev/antd-mobile-base-react": "workspace:*",
|
|
48
|
+
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.28",
|
|
39
49
|
"@types/crypto-js": "^4.2.2",
|
|
40
50
|
"@types/lodash-es": "^4.17.12",
|
|
41
51
|
"@types/node": "^18.19.123",
|
|
42
52
|
"@types/react": "^18.0.0",
|
|
43
53
|
"classnames": "^2.5.1",
|
|
44
54
|
"father": "^4.6.19",
|
|
45
|
-
"lodash-es": "^4.17.23"
|
|
46
|
-
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.27",
|
|
47
|
-
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.27"
|
|
55
|
+
"lodash-es": "^4.17.23"
|
|
48
56
|
},
|
|
49
57
|
"dependencies": {
|
|
50
58
|
"@tarojs/components": "4.2.0",
|
|
59
|
+
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.28",
|
|
51
60
|
"crypto-js": "^4.2.0",
|
|
52
61
|
"dayjs": "^1.11.19",
|
|
53
62
|
"rc-field-form": "^2.7.0",
|
|
54
|
-
"react": "^18.0.0"
|
|
55
|
-
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.27",
|
|
56
|
-
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.27"
|
|
63
|
+
"react": "^18.0.0"
|
|
57
64
|
},
|
|
58
|
-
"gitHead": "
|
|
59
|
-
|
|
60
|
-
"dev": "father dev",
|
|
61
|
-
"build": "father build",
|
|
62
|
-
"build:deps": "father prebundle",
|
|
63
|
-
"publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
65
|
+
"gitHead": "f91f9c94e8f56bab1a3ce61712cc8787e0125a9f"
|
|
66
|
+
}
|