@ray-js/components 0.5.8-beta-1 → 0.5.10
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/Button/{Button.thing.d.ts → Button.tuya.d.ts} +0 -0
- package/lib/Button/{Button.thing.js → Button.tuya.js} +1 -1
- package/lib/Checkbox/{Checkbox.thing.d.ts → Checkbox.tuya.d.ts} +0 -0
- package/lib/Checkbox/{Checkbox.thing.js → Checkbox.tuya.js} +1 -1
- package/lib/CheckboxGroup/{CheckboxGroup.thing.d.ts → CheckboxGroup.tuya.d.ts} +0 -0
- package/lib/CheckboxGroup/{CheckboxGroup.thing.js → CheckboxGroup.tuya.js} +1 -1
- package/lib/CoverView/{CoverView.thing.d.ts → CoverView.tuya.d.ts} +0 -0
- package/lib/CoverView/{CoverView.thing.js → CoverView.tuya.js} +1 -1
- package/lib/DatePicker/{DatePicker.thing.d.ts → DatePicker.tuya.d.ts} +0 -0
- package/lib/DatePicker/{DatePicker.thing.js → DatePicker.tuya.js} +1 -1
- package/lib/Form/{Form.native.d.ts → Form.tuya.d.ts} +0 -0
- package/lib/Form/{Form.thing.js → Form.tuya.js} +1 -1
- package/lib/Icon/{Icon.thing.d.ts → Icon.tuya.d.ts} +0 -0
- package/lib/Icon/{Icon.thing.js → Icon.tuya.js} +0 -0
- package/lib/Image/{Image.thing.d.ts → Image.tuya.d.ts} +0 -0
- package/lib/Image/{Image.thing.js → Image.tuya.js} +1 -1
- package/lib/Input/{Input.thing.d.ts → Input.tuya.d.ts} +0 -0
- package/lib/Input/{Input.thing.js → Input.tuya.js} +1 -1
- package/lib/IpcPlayer/{IpcPlayer.thing.d.ts → IpcPlayer.tuya.d.ts} +0 -0
- package/lib/IpcPlayer/{IpcPlayer.thing.js → IpcPlayer.tuya.js} +1 -1
- package/lib/IpcPlayer/props.d.ts +1 -1
- package/lib/Label/{Label.thing.d.ts → Label.tuya.d.ts} +0 -0
- package/lib/Label/{Label.thing.js → Label.tuya.js} +1 -1
- package/lib/LinearGradient/{LinearGradient.thing.d.ts → LinearGradient.tuya.d.ts} +0 -0
- package/lib/LinearGradient/{LinearGradient.thing.js → LinearGradient.tuya.js} +0 -0
- package/lib/Modal/{Modal.thing.d.ts → Modal.tuya.d.ts} +0 -0
- package/lib/Modal/{Modal.thing.js → Modal.tuya.js} +0 -0
- package/lib/Motion/Fade/{index.thing.d.ts → index.tuya.d.ts} +0 -0
- package/lib/Motion/Fade/{index.thing.js → index.tuya.js} +0 -0
- package/lib/Motion/PullUp/{index.thing.d.ts → index.tuya.d.ts} +0 -0
- package/lib/Motion/PullUp/{index.thing.js → index.tuya.js} +0 -0
- package/lib/Motion/PushDown/{index.thing.d.ts → index.tuya.d.ts} +0 -0
- package/lib/Motion/PushDown/{index.thing.js → index.tuya.js} +0 -0
- package/lib/Motion/ScaleFadeIn/{index.thing.d.ts → index.tuya.d.ts} +0 -0
- package/lib/Motion/ScaleFadeIn/{index.thing.js → index.tuya.js} +0 -0
- package/lib/Motion/ScalePullDown/{index.thing.d.ts → index.tuya.d.ts} +0 -0
- package/lib/Motion/ScalePullDown/{index.thing.js → index.tuya.js} +0 -0
- package/lib/PageContainer/{PageContainer.thing.d.ts → PageContainer.tuya.d.ts} +0 -0
- package/lib/PageContainer/{PageContainer.thing.js → PageContainer.tuya.js} +1 -1
- package/lib/PageContainer/props.d.ts +1 -1
- package/lib/Picker/{Picker.thing.d.ts → Picker.tuya.d.ts} +0 -0
- package/lib/Picker/{Picker.thing.js → Picker.tuya.js} +1 -1
- package/lib/PickerView/{PickerView.thing.d.ts → PickerView.tuya.d.ts} +0 -0
- package/lib/PickerView/{PickerView.thing.js → PickerView.tuya.js} +1 -1
- package/lib/PickerViewColumn/{PickerViewColumn.thing.d.ts → PickerViewColumn.tuya.d.ts} +0 -0
- package/lib/PickerViewColumn/{PickerViewColumn.thing.js → PickerViewColumn.tuya.js} +1 -1
- package/lib/PickerViewColumn/PickerViewColumn.wechat.js +1 -1
- package/lib/RadialGradient/{RadialGradient.thing.d.ts → RadialGradient.tuya.d.ts} +0 -0
- package/lib/RadialGradient/{RadialGradient.thing.js → RadialGradient.tuya.js} +0 -0
- package/lib/Radio/{Radio.thing.d.ts → Radio.tuya.d.ts} +0 -0
- package/lib/Radio/{Radio.thing.js → Radio.tuya.js} +1 -1
- package/lib/RadioGroup/{RadioGroup.thing.d.ts → RadioGroup.tuya.d.ts} +0 -0
- package/lib/RadioGroup/{RadioGroup.thing.js → RadioGroup.tuya.js} +1 -1
- package/lib/ScrollView/{ScrollView.thing.d.ts → ScrollView.tuya.d.ts} +0 -0
- package/lib/ScrollView/{ScrollView.thing.js → ScrollView.tuya.js} +1 -1
- package/lib/Slider/{Slider.thing.d.ts → Slider.tuya.d.ts} +0 -0
- package/lib/Slider/{Slider.thing.js → Slider.tuya.js} +1 -1
- package/lib/Swiper/{Swiper.thing.d.ts → Swiper.tuya.d.ts} +0 -0
- package/lib/Swiper/{Swiper.thing.js → Swiper.tuya.js} +1 -1
- package/lib/SwiperItem/{SwiperItem.thing.d.ts → SwiperItem.tuya.d.ts} +0 -0
- package/lib/SwiperItem/{SwiperItem.thing.js → SwiperItem.tuya.js} +1 -1
- package/lib/SwiperItem/SwiperItem.wechat.js +1 -1
- package/lib/Switch/{Switch.thing.d.ts → Switch.tuya.d.ts} +0 -0
- package/lib/Switch/{Switch.thing.js → Switch.tuya.js} +1 -1
- package/lib/Text/{Text.thing.d.ts → Text.tuya.d.ts} +0 -0
- package/lib/Text/{Text.thing.js → Text.tuya.js} +1 -1
- package/lib/Textarea/{Textarea.thing.d.ts → Textarea.tuya.d.ts} +0 -0
- package/lib/Textarea/{Textarea.thing.js → Textarea.tuya.js} +1 -1
- package/lib/TimePicker/{TimePicker.thing.d.ts → TimePicker.tuya.d.ts} +0 -0
- package/lib/TimePicker/{TimePicker.thing.js → TimePicker.tuya.js} +1 -1
- package/lib/View/{View.thing.d.ts → View.tuya.d.ts} +0 -0
- package/lib/View/{View.thing.js → View.tuya.js} +1 -1
- package/lib/utils/index.d.ts +1 -2
- package/package.json +5 -5
- package/lib/Button/Button.native.d.ts +0 -29
- package/lib/Button/Button.native.js +0 -229
- package/lib/Checkbox/Checkbox.native.d.ts +0 -28
- package/lib/Checkbox/Checkbox.native.js +0 -118
- package/lib/CheckboxGroup/CheckboxGroup.native.d.ts +0 -18
- package/lib/CheckboxGroup/CheckboxGroup.native.js +0 -99
- package/lib/ClickableSimplified/index.native.d.ts +0 -42
- package/lib/ClickableSimplified/index.native.js +0 -166
- package/lib/DatePicker/DatePicker.native.d.ts +0 -34
- package/lib/DatePicker/DatePicker.native.js +0 -449
- package/lib/Form/Form.native.js +0 -8
- package/lib/Form/Form.thing.d.ts +0 -4
- package/lib/Icon/Icon.native.d.ts +0 -15
- package/lib/Icon/Icon.native.js +0 -48
- package/lib/Image/Image.native.d.ts +0 -28
- package/lib/Image/Image.native.js +0 -219
- package/lib/Input/Input.native.d.ts +0 -32
- package/lib/Input/Input.native.js +0 -212
- package/lib/Label/Label.native.d.ts +0 -4
- package/lib/Label/Label.native.js +0 -29
- package/lib/LinearGradient/LinearGradient.native.d.ts +0 -16
- package/lib/LinearGradient/LinearGradient.native.js +0 -60
- package/lib/Modal/Modal.native.d.ts +0 -24
- package/lib/Modal/Modal.native.js +0 -98
- package/lib/Motion/Fade/index.native.d.ts +0 -2
- package/lib/Motion/Fade/index.native.js +0 -3
- package/lib/Motion/PullUp/index.native.d.ts +0 -2
- package/lib/Motion/PullUp/index.native.js +0 -3
- package/lib/Motion/PushDown/index.native.d.ts +0 -2
- package/lib/Motion/PushDown/index.native.js +0 -3
- package/lib/Motion/ScaleFadeIn/index.native.d.ts +0 -2
- package/lib/Motion/ScaleFadeIn/index.native.js +0 -3
- package/lib/Motion/ScalePullDown/index.native.d.ts +0 -2
- package/lib/Motion/ScalePullDown/index.native.js +0 -3
- package/lib/Picker/Picker.native.d.ts +0 -22
- package/lib/Picker/Picker.native.js +0 -181
- package/lib/PickerView/PickerView.native.d.ts +0 -31
- package/lib/PickerView/PickerView.native.js +0 -175
- package/lib/PickerViewColumn/PickerViewColumn.native.d.ts +0 -31
- package/lib/PickerViewColumn/PickerViewColumn.native.js +0 -175
- package/lib/RadialGradient/RadialGradient.native.d.ts +0 -17
- package/lib/RadialGradient/RadialGradient.native.js +0 -52
- package/lib/Radio/Radio.native.d.ts +0 -30
- package/lib/Radio/Radio.native.js +0 -132
- package/lib/RadioGroup/RadioGroup.native.d.ts +0 -18
- package/lib/RadioGroup/RadioGroup.native.js +0 -99
- package/lib/ScrollView/ScrollView.native.d.ts +0 -57
- package/lib/ScrollView/ScrollView.native.js +0 -283
- package/lib/Slider/Slider.native.d.ts +0 -21
- package/lib/Slider/Slider.native.js +0 -114
- package/lib/Swiper/Swiper.native.d.ts +0 -6
- package/lib/Swiper/Swiper.native.js +0 -68
- package/lib/Switch/Switch.native.d.ts +0 -25
- package/lib/Switch/Switch.native.js +0 -128
- package/lib/Text/Text.native.d.ts +0 -8
- package/lib/Text/Text.native.js +0 -37
- package/lib/Textarea/Textarea.native.d.ts +0 -4
- package/lib/Textarea/Textarea.native.js +0 -26
- package/lib/TimePicker/TimePicker.native.d.ts +0 -39
- package/lib/TimePicker/TimePicker.native.js +0 -319
- package/lib/View/View.native.d.ts +0 -2
- package/lib/View/View.native.js +0 -35
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["style", "id", "className", "disabled", "loading", "onClick", "
|
|
4
4
|
import * as React from 'react';
|
5
5
|
import clsx from 'clsx';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { Button as RemaxButton } from '@ray-js/
|
7
|
+
import { Button as RemaxButton } from '@ray-js/remax-tuya';
|
8
8
|
import { defaultButtonProps } from './props';
|
9
9
|
|
10
10
|
var Button = function (props) {
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { Checkbox as RemaxCheckbox } from '@ray-js/
|
7
|
+
import { Checkbox as RemaxCheckbox } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var Checkbox = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import "core-js/modules/es.function.name.js";
|
2
2
|
import "core-js/modules/es.array.map.js";
|
3
3
|
import * as React from 'react';
|
4
|
-
import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-js/
|
4
|
+
import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-js/remax-tuya';
|
5
5
|
import Checkbox from '../Checkbox';
|
6
6
|
import Label from '../Label';
|
7
7
|
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { CoverView as RemaxCoverView } from '@ray-js/
|
2
|
+
import { CoverView as RemaxCoverView } from '@ray-js/remax-tuya';
|
3
3
|
|
4
4
|
var CoverView = function (props) {
|
5
5
|
return /*#__PURE__*/React.createElement(RemaxCoverView, props, props.children);
|
File without changes
|
@@ -5,7 +5,7 @@ var _excluded = ["className", "style", "id", "onLongClick", "onTouchStart", "onT
|
|
5
5
|
import clsx from 'clsx';
|
6
6
|
import * as React from 'react';
|
7
7
|
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
8
|
-
import { Picker as RemaxPicker } from '@ray-js/
|
8
|
+
import { Picker as RemaxPicker } from '@ray-js/remax-tuya';
|
9
9
|
|
10
10
|
var DatePicker = function (props) {
|
11
11
|
var className = props.className,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["style", "className", "mode"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { Image as RemaxImage } from '@ray-js/
|
7
|
+
import { Image as RemaxImage } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var Image = function (props) {
|
10
10
|
var style = props.style,
|
File without changes
|
@@ -5,7 +5,7 @@ var _excluded = ["name", "id", "className", "style", "disabled", "type", "value"
|
|
5
5
|
import "core-js/modules/es.function.name.js";
|
6
6
|
import * as React from 'react';
|
7
7
|
import clsx from 'clsx';
|
8
|
-
import { Input as RemaxInput } from '@ray-js/
|
8
|
+
import { Input as RemaxInput } from '@ray-js/remax-tuya';
|
9
9
|
import { inlineStyle } from '@ray-js/framework-shared';
|
10
10
|
import { defaultInputProps } from './props';
|
11
11
|
import { nextFrame } from '../core';
|
File without changes
|
package/lib/IpcPlayer/props.d.ts
CHANGED
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import clsx from 'clsx';
|
3
3
|
import { inlineStyle } from '@ray-js/framework-shared';
|
4
|
-
import { Label as RemaxLabel } from '@ray-js/
|
4
|
+
import { Label as RemaxLabel } from '@ray-js/remax-tuya';
|
5
5
|
import styles from './index.module.less';
|
6
6
|
|
7
7
|
var Label = function (props) {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { PageContainer as RemaxPageContainer } from '@ray-js/
|
2
|
+
import { PageContainer as RemaxPageContainer } from '@ray-js/remax-tuya';
|
3
3
|
|
4
4
|
function PageContainer(props) {
|
5
5
|
return /*#__PURE__*/React.createElement(RemaxPageContainer, props);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BaseProps } from '../types';
|
2
2
|
import * as React from 'react';
|
3
|
-
import { BaseEvent } from '@ray-js/
|
3
|
+
import { BaseEvent } from '@ray-js/remax-tuya/src/types/component';
|
4
4
|
export declare type PageContainerEventType = {
|
5
5
|
type: string;
|
6
6
|
value?: any;
|
File without changes
|
@@ -5,7 +5,7 @@ var _excluded = ["className", "style", "id", "onChange", "onLongClick", "onTouch
|
|
5
5
|
import clsx from 'clsx';
|
6
6
|
import * as React from 'react';
|
7
7
|
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
8
|
-
import { Picker as RemaxPicker } from '@ray-js/
|
8
|
+
import { Picker as RemaxPicker } from '@ray-js/remax-tuya';
|
9
9
|
var countArr = 1;
|
10
10
|
|
11
11
|
var Picker = function (props) {
|
File without changes
|
@@ -5,7 +5,7 @@ import "core-js/modules/es.array.map.js";
|
|
5
5
|
import clsx from 'clsx';
|
6
6
|
import * as React from 'react';
|
7
7
|
import { inlineStyle } from '@ray-js/framework-shared';
|
8
|
-
import { PickerView as RemaxPickerView, PickerViewColumn as RemaxPickerViewColumn } from '@ray-js/
|
8
|
+
import { PickerView as RemaxPickerView, PickerViewColumn as RemaxPickerViewColumn } from '@ray-js/remax-tuya';
|
9
9
|
import { View } from '@ray-js/components';
|
10
10
|
import styles from './index.module.less';
|
11
11
|
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { PickerViewColumn as RemaxPickerViewColumn } from '@ray-js/
|
7
|
+
import { PickerViewColumn as RemaxPickerViewColumn } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var PickerViewColumn = function (props) {
|
10
10
|
var className = props.className,
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { PickerViewColumn as RemaxPickerViewColumn } from '@ray-js/
|
7
|
+
import { PickerViewColumn as RemaxPickerViewColumn } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var PickerViewColumn = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { Radio as RemaxRadio } from '@ray-js/
|
7
|
+
import { Radio as RemaxRadio } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var Radio = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import "core-js/modules/es.function.name.js";
|
2
2
|
import "core-js/modules/es.array.map.js";
|
3
3
|
import * as React from 'react';
|
4
|
-
import { RadioGroup as RemaxRadioGroup } from '@ray-js/
|
4
|
+
import { RadioGroup as RemaxRadioGroup } from '@ray-js/remax-tuya';
|
5
5
|
import Radio from '../Radio';
|
6
6
|
import Label from '../Label';
|
7
7
|
|
File without changes
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
3
3
|
var _excluded = ["style"];
|
4
4
|
import * as React from 'react';
|
5
5
|
import { inlineStyle } from '@ray-js/framework-shared';
|
6
|
-
import { ScrollView as RemaxScrollView } from '@ray-js/
|
6
|
+
import { ScrollView as RemaxScrollView } from '@ray-js/remax-tuya';
|
7
7
|
import { defaultScrollViewProps } from './props';
|
8
8
|
|
9
9
|
var ScrollView = function (props) {
|
File without changes
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
3
3
|
var _excluded = ["id", "style", "className", "children", "onChange", "onChanging"];
|
4
4
|
import * as React from 'react';
|
5
5
|
import { inlineStyle } from '@ray-js/framework-shared';
|
6
|
-
import { Slider as RemaxSlider } from '@ray-js/
|
6
|
+
import { Slider as RemaxSlider } from '@ray-js/remax-tuya';
|
7
7
|
|
8
8
|
var Slider = function (props) {
|
9
9
|
var id = props.id,
|
File without changes
|
@@ -6,7 +6,7 @@ import "core-js/modules/es.array.map.js";
|
|
6
6
|
import clsx from 'clsx';
|
7
7
|
import * as React from 'react';
|
8
8
|
import { inlineStyle } from '@ray-js/framework-shared';
|
9
|
-
import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-js/
|
9
|
+
import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-js/remax-tuya';
|
10
10
|
import { propsAlias } from '../core';
|
11
11
|
import { SwiperPropsAlias, defaultSwiperProps } from './props';
|
12
12
|
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { SwiperItem as RemaxSwiperItem } from '@ray-js/
|
7
|
+
import { SwiperItem as RemaxSwiperItem } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var SwiperItem = function (props) {
|
10
10
|
var className = props.className,
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { SwiperItem as RemaxSwiperItem } from '@ray-js/
|
7
|
+
import { SwiperItem as RemaxSwiperItem } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var SwiperItem = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id", "onChange", "type", "color"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { Switch as RemaxSwitch } from '@ray-js/
|
7
|
+
import { Switch as RemaxSwitch } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var Switch = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
File without changes
|
@@ -5,7 +5,7 @@ import "core-js/modules/es.function.name.js";
|
|
5
5
|
import * as React from 'react';
|
6
6
|
import clsx from 'clsx';
|
7
7
|
import { inlineStyle } from '@ray-js/framework-shared';
|
8
|
-
import { Textarea as RemaxTextarea } from '@ray-js/
|
8
|
+
import { Textarea as RemaxTextarea } from '@ray-js/remax-tuya';
|
9
9
|
import styles from './index.module.less';
|
10
10
|
var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
11
11
|
var id = props.id,
|
File without changes
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "style", "id", "onChange"];
|
|
4
4
|
import clsx from 'clsx';
|
5
5
|
import * as React from 'react';
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
7
|
-
import { Picker as RemaxPicker } from '@ray-js/
|
7
|
+
import { Picker as RemaxPicker } from '@ray-js/remax-tuya';
|
8
8
|
|
9
9
|
var TimePicker = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -7,7 +7,7 @@ import * as React from 'react';
|
|
7
7
|
import clsx from 'clsx';
|
8
8
|
import PropTypes from 'prop-types';
|
9
9
|
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
10
|
-
import { View as RemaxView } from '@ray-js/
|
10
|
+
import { View as RemaxView } from '@ray-js/remax-tuya';
|
11
11
|
import { defaultViewProps } from './props';
|
12
12
|
import styles from './index.module.less';
|
13
13
|
var View = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
package/lib/utils/index.d.ts
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
import { GestureResponderEvent, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
2
1
|
import { ClickEventRet, TouchEventRet } from './interface';
|
3
2
|
declare const omit: (obj?: any, fields?: string[]) => {
|
4
3
|
[key: string]: any;
|
5
4
|
};
|
6
5
|
declare const getClickEvent: (event: GestureResponderEvent, type: 'click' | 'longclick') => ClickEventRet;
|
7
6
|
declare const getTouchEvent: (event: GestureResponderEvent, type: 'touchstart' | 'touchmove' | 'touchend' | 'touchcancel') => TouchEventRet;
|
8
|
-
declare const extracteTextStyle: (style?:
|
7
|
+
declare const extracteTextStyle: (style?: any) => StyleProp<TextStyle>;
|
9
8
|
declare const isTwoArray: (array: any) => boolean;
|
10
9
|
export { omit, getClickEvent, getTouchEvent, extracteTextStyle, isTwoArray };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/components",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.10",
|
4
4
|
"description": "Ray basic components",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -26,8 +26,8 @@
|
|
26
26
|
"dependencies": {
|
27
27
|
"@ray-core/macro": "^0.0.x",
|
28
28
|
"@ray-core/wechat": "^0.0.x",
|
29
|
-
"@ray-js/framework-shared": "^0.5.
|
30
|
-
"@ray-js/remax-tuya": "^0.5.
|
29
|
+
"@ray-js/framework-shared": "^0.5.10",
|
30
|
+
"@ray-js/remax-tuya": "^0.5.10",
|
31
31
|
"antd-mobile": "^5.0.0-beta.17",
|
32
32
|
"antd-mobile-icons": "^0.2.2",
|
33
33
|
"clsx": "^1.1.1",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"tuya-panel-switch": "^0.1.1"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
|
-
"@ray-js/cli": "^0.5.
|
48
|
+
"@ray-js/cli": "^0.5.10"
|
49
49
|
},
|
50
50
|
"maintainers": [
|
51
51
|
{
|
@@ -53,6 +53,6 @@
|
|
53
53
|
"email": "tuyafe@tuya.com"
|
54
54
|
}
|
55
55
|
],
|
56
|
-
"gitHead": "
|
56
|
+
"gitHead": "955dd59a037cbfbafd76f6f8f82d74d447e6a152",
|
57
57
|
"repository": {}
|
58
58
|
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
import React from 'react';
|
3
|
-
import { GestureResponderEvent, TouchableWithoutFeedback } from 'react-native';
|
4
|
-
import { ButtonProps } from './props';
|
5
|
-
export interface IEvent {
|
6
|
-
timeStamp: number;
|
7
|
-
pageX: number;
|
8
|
-
pageY: number;
|
9
|
-
origin: GestureResponderEvent;
|
10
|
-
}
|
11
|
-
declare class Button extends React.Component<ButtonProps> {
|
12
|
-
static displayName: string;
|
13
|
-
static defaultProps: ButtonProps;
|
14
|
-
$touchable: React.RefObject<TouchableWithoutFeedback>;
|
15
|
-
isTouchEnd: boolean;
|
16
|
-
pressInTimer: NodeJS.Timeout | null;
|
17
|
-
pressOutTimer: NodeJS.Timeout | null;
|
18
|
-
state: {
|
19
|
-
isHover: boolean;
|
20
|
-
};
|
21
|
-
componentWillUnmount(): void;
|
22
|
-
onPress: () => void;
|
23
|
-
onPressIn: () => void;
|
24
|
-
stopHover: () => void;
|
25
|
-
onPressOut: () => void;
|
26
|
-
_simulateNativePress: (evt: GestureResponderEvent) => void;
|
27
|
-
render(): JSX.Element;
|
28
|
-
}
|
29
|
-
export default Button;
|