@ray-js/components 1.7.21 → 1.7.23
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/lib/Input/props.d.ts +2 -1
- package/package.json +5 -5
package/lib/Input/props.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GenericEvent } from '@ray-js/adapter';
|
|
2
2
|
import { BaseProps } from '../types';
|
|
3
|
+
import * as React from 'react';
|
|
3
4
|
export type InputType = 'text' | 'number' | 'digit' | 'idcard';
|
|
4
5
|
export interface InputProps extends BaseProps {
|
|
5
6
|
/**
|
|
@@ -31,7 +32,7 @@ export interface InputProps extends BaseProps {
|
|
|
31
32
|
* @description.zh 占位符的样式
|
|
32
33
|
* @default undefined
|
|
33
34
|
*/
|
|
34
|
-
placeholderStyle?: string;
|
|
35
|
+
placeholderStyle?: React.CSSProperties | string;
|
|
35
36
|
/**
|
|
36
37
|
* @description.en disabled
|
|
37
38
|
* @description.zh 是否禁用
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.23",
|
|
4
4
|
"description": "Ray basic components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ray"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@ray-core/macro": "^0.4.9",
|
|
31
31
|
"@ray-core/wechat": "^0.4.9",
|
|
32
|
-
"@ray-js/adapter": "1.7.
|
|
33
|
-
"@ray-js/framework-shared": "1.7.
|
|
32
|
+
"@ray-js/adapter": "1.7.23",
|
|
33
|
+
"@ray-js/framework-shared": "1.7.23",
|
|
34
34
|
"ahooks": "^3.8.5",
|
|
35
35
|
"clsx": "^1.2.1",
|
|
36
36
|
"core-js": "^3.43.0",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"style-to-object": "^0.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@ray-js/cli": "1.7.
|
|
43
|
+
"@ray-js/cli": "1.7.23"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.com"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b05bf07a23cf53a62740d9c86d7b4d3e2b81b4fd"
|
|
50
50
|
}
|