@ray-js/adapter 1.3.18 → 1.3.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/CHANGELOG.md +14 -0
- package/cjs/hostComponents/Button/index.d.ts +6 -0
- package/cjs/hostComponents/Button/node.d.ts +1 -0
- package/cjs/hostComponents/Button/node.js +3 -1
- package/cjs/hostComponents/Input/index.d.ts +1 -0
- package/cjs/hostComponents/Input/node.d.ts +1 -0
- package/cjs/hostComponents/Input/node.js +1 -1
- package/esm/hostComponents/Button/index.d.ts +6 -0
- package/esm/hostComponents/Button/node.d.ts +1 -0
- package/esm/hostComponents/Button/node.js +3 -1
- package/esm/hostComponents/Input/index.d.ts +1 -0
- package/esm/hostComponents/Input/node.d.ts +1 -0
- package/esm/hostComponents/Input/node.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.3.20](./compare/v1.3.16...v1.3.20) (2023-09-06)
|
|
6
|
+
|
|
7
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
8
|
+
|
|
9
|
+
### [1.3.19](./compare/v1.3.18...v1.3.19) (2023-09-01)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- RichText 映射 onSelect 属性 ([1cbe86a](./commit/1cbe86af1739c1edd8bfecf24f4866f91a32c307))
|
|
14
|
+
|
|
15
|
+
### [1.3.19](./compare/v1.3.18...v1.3.19) (2023-09-01)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
18
|
+
|
|
5
19
|
### [1.3.18](./compare/v1.3.17...v1.3.18) (2023-09-01)
|
|
6
20
|
|
|
7
21
|
### Features
|
|
@@ -12,5 +12,11 @@ export interface ButtonProps extends BaseProps {
|
|
|
12
12
|
hoverStayTime?: number;
|
|
13
13
|
hoverStopPropagation?: boolean;
|
|
14
14
|
children?: React.ReactNode;
|
|
15
|
+
openType?: string;
|
|
16
|
+
onFeedback?: (event: TouchEvent & {
|
|
17
|
+
detail: {
|
|
18
|
+
type: 'success' | 'fail';
|
|
19
|
+
};
|
|
20
|
+
}) => void;
|
|
15
21
|
}
|
|
16
22
|
export declare const Button: React.ComponentType<ButtonProps>;
|
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.props = exports.alias = void 0;
|
|
4
4
|
const universal_1 = require("../universal");
|
|
5
|
-
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress'
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress',
|
|
6
|
+
// ray 1.3.20添加
|
|
7
|
+
onFeedback: 'bindfeedback' });
|
|
6
8
|
exports.props = Object.values(exports.alias);
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.props = exports.alias = void 0;
|
|
4
4
|
const universal_1 = require("../universal");
|
|
5
|
-
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
|
|
6
6
|
exports.props = Object.values(exports.alias);
|
|
@@ -12,5 +12,11 @@ export interface ButtonProps extends BaseProps {
|
|
|
12
12
|
hoverStayTime?: number;
|
|
13
13
|
hoverStopPropagation?: boolean;
|
|
14
14
|
children?: React.ReactNode;
|
|
15
|
+
openType?: string;
|
|
16
|
+
onFeedback?: (event: TouchEvent & {
|
|
17
|
+
detail: {
|
|
18
|
+
type: 'success' | 'fail';
|
|
19
|
+
};
|
|
20
|
+
}) => void;
|
|
15
21
|
}
|
|
16
22
|
export declare const Button: React.ComponentType<ButtonProps>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress'
|
|
2
|
+
export const alias = Object.assign(Object.assign({}, universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress',
|
|
3
|
+
// ray 1.3.20添加
|
|
4
|
+
onFeedback: 'bindfeedback' });
|
|
3
5
|
export const props = Object.values(alias);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
|
|
2
|
+
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
|
|
3
3
|
export const props = Object.values(alias);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/adapter",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.20",
|
|
4
4
|
"description": "Ray adapter for tuya",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ray"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@ray-js/types": "^1.3.
|
|
24
|
+
"@ray-js/types": "^1.3.20",
|
|
25
25
|
"concurrently": "^6.2.1"
|
|
26
26
|
},
|
|
27
27
|
"maintainers": [
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"@ray-core/shared": "^0.3.5",
|
|
36
36
|
"@ray-core/types": "^0.3.5"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a8847266a6d227834c715a88311c9941af2da64a",
|
|
39
39
|
"repository": {}
|
|
40
40
|
}
|