@ray-js/adapter 0.5.8-beta-1 → 0.5.9
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 +4 -0
- package/cjs/hostComponents/Button/index.js +3 -3
- package/cjs/hostComponents/Checkbox/index.js +2 -2
- package/cjs/hostComponents/Form/index.js +1 -1
- package/cjs/hostComponents/Image/index.js +2 -2
- package/cjs/hostComponents/Input/index.js +6 -6
- package/cjs/hostComponents/PageContainer/index.js +2 -2
- package/cjs/hostComponents/Picker/index.js +1 -1
- package/cjs/hostComponents/Radio/index.js +2 -2
- package/cjs/hostComponents/Slider/index.js +2 -3
- package/cjs/hostComponents/Switch/index.js +2 -2
- package/cjs/hostComponents/Text/index.js +2 -2
- package/cjs/hostComponents/Textarea/index.js +6 -6
- package/cjs/hostComponents/View/index.js +4 -4
- package/esm/hostComponents/Button/index.js +3 -3
- package/esm/hostComponents/Checkbox/index.js +2 -2
- package/esm/hostComponents/Form/index.js +1 -1
- package/esm/hostComponents/Image/index.js +2 -2
- package/esm/hostComponents/Input/index.js +6 -6
- package/esm/hostComponents/PageContainer/index.js +2 -2
- package/esm/hostComponents/Picker/index.js +1 -1
- package/esm/hostComponents/Radio/index.js +2 -2
- package/esm/hostComponents/Slider/index.js +2 -3
- package/esm/hostComponents/Switch/index.js +2 -2
- package/esm/hostComponents/Text/index.js +2 -2
- package/esm/hostComponents/Textarea/index.js +6 -6
- package/esm/hostComponents/View/index.js +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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
|
+
### [0.5.9-beta-1](./compare/v0.5.4...v0.5.9-beta-1) (2022-09-22)
|
|
6
|
+
|
|
7
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
8
|
+
|
|
5
9
|
### [0.5.8-beta-1](./compare/v0.5.7-beta-2...v0.5.8-beta-1) (2022-09-21)
|
|
6
10
|
|
|
7
11
|
**Note:** Version bump only for package @ray-js/adapter
|
|
@@ -9,7 +9,7 @@ exports.Button.defaultProps = {
|
|
|
9
9
|
hoverClassName: 'button-hover',
|
|
10
10
|
hoverStartTime: 20,
|
|
11
11
|
hoverStayTime: 70,
|
|
12
|
-
disabled: false,
|
|
13
|
-
loading: false,
|
|
14
|
-
hoverStopPropagation: false,
|
|
12
|
+
// disabled: false,
|
|
13
|
+
// loading: false,
|
|
14
|
+
// hoverStopPropagation: false,
|
|
15
15
|
};
|
|
@@ -5,14 +5,14 @@ const runtime_1 = require("@ray-core/runtime");
|
|
|
5
5
|
exports.Input = (0, runtime_1.createHostComponent)('input');
|
|
6
6
|
exports.Input.defaultProps = {
|
|
7
7
|
type: 'text',
|
|
8
|
-
password: false,
|
|
9
|
-
disabled: false,
|
|
8
|
+
// password: false,
|
|
9
|
+
// disabled: false,
|
|
10
10
|
maxLength: 140,
|
|
11
11
|
cursorSpacing: 0,
|
|
12
|
-
focus: false,
|
|
12
|
+
// focus: false,
|
|
13
13
|
confirmType: 'done',
|
|
14
|
-
confirmHold: false,
|
|
15
|
-
selectionEnd: -1,
|
|
16
|
-
selectionStart: -1,
|
|
14
|
+
// confirmHold: false,
|
|
15
|
+
// selectionEnd: -1,
|
|
16
|
+
// selectionStart: -1,
|
|
17
17
|
adjustPosition: true,
|
|
18
18
|
};
|
|
@@ -4,11 +4,11 @@ exports.PageContainer = void 0;
|
|
|
4
4
|
const runtime_1 = require("@ray-core/runtime");
|
|
5
5
|
exports.PageContainer = (0, runtime_1.createHostComponent)('page-container');
|
|
6
6
|
exports.PageContainer.defaultProps = {
|
|
7
|
-
show: false,
|
|
7
|
+
// show: false,
|
|
8
8
|
duration: 300,
|
|
9
9
|
zIndex: 100,
|
|
10
10
|
overlay: true,
|
|
11
11
|
position: 'bottom',
|
|
12
|
-
round: false,
|
|
12
|
+
// round: false,
|
|
13
13
|
// closeOnSlideDown: false,
|
|
14
14
|
};
|
|
@@ -5,7 +5,7 @@ const runtime_1 = require("@ray-core/runtime");
|
|
|
5
5
|
exports.Picker = (0, runtime_1.createHostComponent)('picker');
|
|
6
6
|
exports.Picker.defaultProps = {
|
|
7
7
|
mode: 'selector',
|
|
8
|
-
disabled: false,
|
|
8
|
+
// disabled: false,
|
|
9
9
|
// FIXME: value 的值与 mode 类型变化
|
|
10
10
|
// value: 0,
|
|
11
11
|
range: [],
|
|
@@ -4,13 +4,12 @@ exports.Slider = void 0;
|
|
|
4
4
|
const runtime_1 = require("@ray-core/runtime");
|
|
5
5
|
exports.Slider = (0, runtime_1.createHostComponent)('slider');
|
|
6
6
|
exports.Slider.defaultProps = {
|
|
7
|
-
// todo xiangling
|
|
8
7
|
min: 0,
|
|
9
8
|
max: 100,
|
|
10
9
|
step: 1,
|
|
11
|
-
disabled: false,
|
|
12
10
|
value: 0,
|
|
13
11
|
blockSize: 28,
|
|
14
12
|
blockColor: '#ffffff',
|
|
15
|
-
|
|
13
|
+
// disabled: false,
|
|
14
|
+
// showValue: false,
|
|
16
15
|
};
|
|
@@ -7,8 +7,8 @@ const runtime_1 = require("@ray-core/runtime");
|
|
|
7
7
|
*/
|
|
8
8
|
exports.Switch = (0, runtime_1.createHostComponent)('switch');
|
|
9
9
|
exports.Switch.defaultProps = {
|
|
10
|
-
checked: false,
|
|
11
|
-
disabled: false,
|
|
10
|
+
// checked: false,
|
|
11
|
+
// disabled: false,
|
|
12
12
|
type: 'switch',
|
|
13
13
|
color: '#ffffff',
|
|
14
14
|
};
|
|
@@ -4,13 +4,13 @@ exports.Textarea = void 0;
|
|
|
4
4
|
const runtime_1 = require("@ray-core/runtime");
|
|
5
5
|
exports.Textarea = (0, runtime_1.createHostComponent)('textarea');
|
|
6
6
|
exports.Textarea.defaultProps = {
|
|
7
|
-
disabled: false,
|
|
7
|
+
// disabled: false,
|
|
8
|
+
// focus: false,
|
|
9
|
+
// autoHeight: false,
|
|
10
|
+
// cursor: -1,
|
|
11
|
+
// selectionStart: -1,
|
|
12
|
+
// selectionEnd: -1,
|
|
8
13
|
maxLength: 140,
|
|
9
|
-
focus: false,
|
|
10
|
-
autoHeight: false,
|
|
11
14
|
cursorSpacing: 0,
|
|
12
|
-
cursor: -1,
|
|
13
|
-
selectionStart: -1,
|
|
14
|
-
selectionEnd: -1,
|
|
15
15
|
adjustPosition: true,
|
|
16
16
|
};
|
|
@@ -4,8 +4,8 @@ exports.View = void 0;
|
|
|
4
4
|
const runtime_1 = require("@ray-core/runtime");
|
|
5
5
|
exports.View = (0, runtime_1.createHostComponent)('view');
|
|
6
6
|
exports.View.defaultProps = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
// hoverClassName: 'none',
|
|
8
|
+
// hoverStopPropagation: false,
|
|
9
|
+
// hoverStartTime: 50,
|
|
10
|
+
// hoverStayTime: 400,
|
|
11
11
|
};
|
|
@@ -2,14 +2,14 @@ import { createHostComponent } from '@ray-core/runtime';
|
|
|
2
2
|
export const Input = createHostComponent('input');
|
|
3
3
|
Input.defaultProps = {
|
|
4
4
|
type: 'text',
|
|
5
|
-
password: false,
|
|
6
|
-
disabled: false,
|
|
5
|
+
// password: false,
|
|
6
|
+
// disabled: false,
|
|
7
7
|
maxLength: 140,
|
|
8
8
|
cursorSpacing: 0,
|
|
9
|
-
focus: false,
|
|
9
|
+
// focus: false,
|
|
10
10
|
confirmType: 'done',
|
|
11
|
-
confirmHold: false,
|
|
12
|
-
selectionEnd: -1,
|
|
13
|
-
selectionStart: -1,
|
|
11
|
+
// confirmHold: false,
|
|
12
|
+
// selectionEnd: -1,
|
|
13
|
+
// selectionStart: -1,
|
|
14
14
|
adjustPosition: true,
|
|
15
15
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createHostComponent } from '@ray-core/runtime';
|
|
2
2
|
export const PageContainer = createHostComponent('page-container');
|
|
3
3
|
PageContainer.defaultProps = {
|
|
4
|
-
show: false,
|
|
4
|
+
// show: false,
|
|
5
5
|
duration: 300,
|
|
6
6
|
zIndex: 100,
|
|
7
7
|
overlay: true,
|
|
8
8
|
position: 'bottom',
|
|
9
|
-
round: false,
|
|
9
|
+
// round: false,
|
|
10
10
|
// closeOnSlideDown: false,
|
|
11
11
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { createHostComponent } from '@ray-core/runtime';
|
|
2
2
|
export const Slider = createHostComponent('slider');
|
|
3
3
|
Slider.defaultProps = {
|
|
4
|
-
// todo xiangling
|
|
5
4
|
min: 0,
|
|
6
5
|
max: 100,
|
|
7
6
|
step: 1,
|
|
8
|
-
disabled: false,
|
|
9
7
|
value: 0,
|
|
10
8
|
blockSize: 28,
|
|
11
9
|
blockColor: '#ffffff',
|
|
12
|
-
|
|
10
|
+
// disabled: false,
|
|
11
|
+
// showValue: false,
|
|
13
12
|
};
|
|
@@ -4,8 +4,8 @@ import { createHostComponent } from '@ray-core/runtime';
|
|
|
4
4
|
*/
|
|
5
5
|
export const Switch = createHostComponent('switch');
|
|
6
6
|
Switch.defaultProps = {
|
|
7
|
-
checked: false,
|
|
8
|
-
disabled: false,
|
|
7
|
+
// checked: false,
|
|
8
|
+
// disabled: false,
|
|
9
9
|
type: 'switch',
|
|
10
10
|
color: '#ffffff',
|
|
11
11
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createHostComponent } from '@ray-core/runtime';
|
|
2
2
|
export const Textarea = createHostComponent('textarea');
|
|
3
3
|
Textarea.defaultProps = {
|
|
4
|
-
disabled: false,
|
|
4
|
+
// disabled: false,
|
|
5
|
+
// focus: false,
|
|
6
|
+
// autoHeight: false,
|
|
7
|
+
// cursor: -1,
|
|
8
|
+
// selectionStart: -1,
|
|
9
|
+
// selectionEnd: -1,
|
|
5
10
|
maxLength: 140,
|
|
6
|
-
focus: false,
|
|
7
|
-
autoHeight: false,
|
|
8
11
|
cursorSpacing: 0,
|
|
9
|
-
cursor: -1,
|
|
10
|
-
selectionStart: -1,
|
|
11
|
-
selectionEnd: -1,
|
|
12
12
|
adjustPosition: true,
|
|
13
13
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createHostComponent } from '@ray-core/runtime';
|
|
2
2
|
export const View = createHostComponent('view');
|
|
3
3
|
View.defaultProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
// hoverClassName: 'none',
|
|
5
|
+
// hoverStopPropagation: false,
|
|
6
|
+
// hoverStartTime: 50,
|
|
7
|
+
// hoverStayTime: 400,
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/adapter",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
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": "^0.5.
|
|
24
|
+
"@ray-js/types": "^0.5.9",
|
|
25
25
|
"concurrently": "^6.2.1"
|
|
26
26
|
},
|
|
27
27
|
"maintainers": [
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"@ray-core/shared": "^0.0.x",
|
|
36
36
|
"@ray-core/types": "^0.0.x"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "312abf148f77454c63b73eda9522872651ffc984",
|
|
39
39
|
"repository": {}
|
|
40
40
|
}
|