@ray-js/components 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/Button/{Button.tuya.d.ts → Button.thing.d.ts} +0 -0
- package/lib/Button/{Button.tuya.js → Button.thing.js} +1 -3
- package/lib/Checkbox/{Checkbox.tuya.d.ts → Checkbox.thing.d.ts} +0 -0
- package/lib/Checkbox/{Checkbox.tuya.js → Checkbox.thing.js} +1 -1
- package/lib/CheckboxGroup/CheckboxGroup.js +0 -1
- package/lib/CheckboxGroup/{CheckboxGroup.tuya.d.ts → CheckboxGroup.thing.d.ts} +0 -0
- package/lib/CheckboxGroup/{CheckboxGroup.tuya.js → CheckboxGroup.thing.js} +1 -2
- package/lib/CheckboxGroup/CheckboxGroup.wechat.js +0 -1
- package/lib/CoverView/{CoverView.tuya.d.ts → CoverView.thing.d.ts} +0 -0
- package/lib/CoverView/{CoverView.tuya.js → CoverView.thing.js} +1 -1
- package/lib/DatePicker/{DatePicker.tuya.d.ts → DatePicker.thing.d.ts} +0 -0
- package/lib/DatePicker/{DatePicker.tuya.js → DatePicker.thing.js} +1 -1
- package/lib/Form/{Form.tuya.d.ts → Form.thing.d.ts} +0 -0
- package/lib/Form/{Form.tuya.js → Form.thing.js} +1 -1
- package/lib/Icon/{Icon.tuya.d.ts → Icon.thing.d.ts} +0 -0
- package/lib/Icon/{Icon.tuya.js → Icon.thing.js} +0 -2
- package/lib/Image/{Image.tuya.d.ts → Image.thing.d.ts} +0 -0
- package/lib/Image/{Image.tuya.js → Image.thing.js} +1 -1
- package/lib/Input/{Input.tuya.d.ts → Input.thing.d.ts} +0 -0
- package/lib/Input/{Input.tuya.js → Input.thing.js} +1 -4
- package/lib/Input/Input.wechat.js +0 -1
- package/lib/IpcPlayer/{IpcPlayer.tuya.d.ts → IpcPlayer.thing.d.ts} +0 -0
- package/lib/IpcPlayer/{IpcPlayer.tuya.js → IpcPlayer.thing.js} +1 -1
- package/lib/IpcPlayer/props.d.ts +1 -1
- package/lib/Label/{Label.tuya.d.ts → Label.thing.d.ts} +0 -0
- package/lib/Label/{Label.tuya.js → Label.thing.js} +1 -1
- package/lib/LinearGradient/{LinearGradient.tuya.d.ts → LinearGradient.thing.d.ts} +0 -0
- package/lib/LinearGradient/{LinearGradient.tuya.js → LinearGradient.thing.js} +0 -0
- package/lib/Modal/{Modal.tuya.d.ts → Modal.thing.d.ts} +0 -0
- package/lib/Modal/{Modal.tuya.js → Modal.thing.js} +0 -0
- package/lib/Motion/Fade/{index.tuya.d.ts → index.thing.d.ts} +0 -0
- package/lib/Motion/Fade/{index.tuya.js → index.thing.js} +0 -0
- package/lib/Motion/PullUp/{index.tuya.d.ts → index.thing.d.ts} +0 -0
- package/lib/Motion/PullUp/{index.tuya.js → index.thing.js} +0 -0
- package/lib/Motion/PushDown/{index.tuya.d.ts → index.thing.d.ts} +0 -0
- package/lib/Motion/PushDown/{index.tuya.js → index.thing.js} +0 -0
- package/lib/Motion/ScaleFadeIn/{index.tuya.d.ts → index.thing.d.ts} +0 -0
- package/lib/Motion/ScaleFadeIn/{index.tuya.js → index.thing.js} +0 -0
- package/lib/Motion/ScalePullDown/{index.tuya.d.ts → index.thing.d.ts} +0 -0
- package/lib/Motion/ScalePullDown/{index.tuya.js → index.thing.js} +0 -0
- package/lib/PageContainer/{PageContainer.tuya.d.ts → PageContainer.thing.d.ts} +0 -0
- package/lib/PageContainer/{PageContainer.tuya.js → PageContainer.thing.js} +1 -1
- package/lib/PageContainer/props.d.ts +1 -1
- package/lib/Picker/{Picker.tuya.d.ts → Picker.thing.d.ts} +0 -0
- package/lib/Picker/{Picker.tuya.js → Picker.thing.js} +1 -1
- package/lib/PickerView/{PickerView.tuya.d.ts → PickerView.thing.d.ts} +0 -0
- package/lib/PickerView/{PickerView.tuya.js → PickerView.thing.js} +1 -1
- package/lib/PickerViewColumn/{PickerViewColumn.tuya.d.ts → PickerViewColumn.thing.d.ts} +0 -0
- package/lib/PickerViewColumn/{PickerViewColumn.tuya.js → PickerViewColumn.thing.js} +1 -1
- package/lib/PickerViewColumn/PickerViewColumn.wechat.js +1 -1
- package/lib/RadialGradient/{RadialGradient.tuya.d.ts → RadialGradient.thing.d.ts} +0 -0
- package/lib/RadialGradient/{RadialGradient.tuya.js → RadialGradient.thing.js} +0 -0
- package/lib/Radio/{Radio.tuya.d.ts → Radio.thing.d.ts} +0 -0
- package/lib/Radio/{Radio.tuya.js → Radio.thing.js} +1 -1
- package/lib/RadioGroup/{RadioGroup.tuya.d.ts → RadioGroup.thing.d.ts} +0 -0
- package/lib/RadioGroup/{RadioGroup.tuya.js → RadioGroup.thing.js} +1 -2
- package/lib/RadioGroup/RadioGroup.wechat.js +0 -1
- package/lib/ScrollView/{ScrollView.tuya.d.ts → ScrollView.thing.d.ts} +0 -0
- package/lib/ScrollView/{ScrollView.tuya.js → ScrollView.thing.js} +1 -3
- package/lib/Slider/{Slider.tuya.d.ts → Slider.thing.d.ts} +0 -0
- package/lib/Slider/{Slider.tuya.js → Slider.thing.js} +1 -1
- package/lib/Swiper/{Swiper.tuya.d.ts → Swiper.thing.d.ts} +0 -3
- package/lib/Swiper/{Swiper.tuya.js → Swiper.thing.js} +2 -3
- package/lib/SwiperItem/{SwiperItem.tuya.d.ts → SwiperItem.thing.d.ts} +0 -0
- package/lib/SwiperItem/{SwiperItem.tuya.js → SwiperItem.thing.js} +1 -1
- package/lib/SwiperItem/SwiperItem.wechat.js +1 -1
- package/lib/Switch/{Switch.tuya.d.ts → Switch.thing.d.ts} +0 -0
- package/lib/Switch/{Switch.tuya.js → Switch.thing.js} +1 -1
- package/lib/Text/{Text.tuya.d.ts → Text.thing.d.ts} +0 -0
- package/lib/Text/{Text.tuya.js → Text.thing.js} +1 -1
- package/lib/Textarea/{Textarea.tuya.d.ts → Textarea.thing.d.ts} +0 -0
- package/lib/Textarea/{Textarea.tuya.js → Textarea.thing.js} +1 -2
- package/lib/Textarea/Textarea.wechat.js +0 -1
- package/lib/TimePicker/{TimePicker.tuya.d.ts → TimePicker.thing.d.ts} +0 -0
- package/lib/TimePicker/{TimePicker.tuya.js → TimePicker.thing.js} +1 -1
- package/lib/View/{View.tuya.d.ts → View.thing.d.ts} +0 -0
- package/lib/View/{View.tuya.js → View.thing.js} +1 -3
- package/lib/utils/handleProps.js +0 -1
- package/package.json +5 -5
File without changes
|
@@ -4,8 +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/
|
8
|
-
import { defaultButtonProps } from './props';
|
7
|
+
import { Button as RemaxButton } from '@ray-js/adapter';
|
9
8
|
|
10
9
|
var Button = function (props) {
|
11
10
|
var style = props.style,
|
@@ -37,6 +36,5 @@ var Button = function (props) {
|
|
37
36
|
}, restProps));
|
38
37
|
};
|
39
38
|
|
40
|
-
Button.defaultProps = defaultButtonProps;
|
41
39
|
Button.displayName = 'Button';
|
42
40
|
export default Button;
|
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/adapter';
|
8
8
|
|
9
9
|
var Checkbox = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import "core-js/modules/es.function.name.js";
|
2
1
|
import "core-js/modules/es.array.map.js";
|
3
2
|
import * as React from 'react';
|
4
|
-
import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-js/
|
3
|
+
import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-js/adapter';
|
5
4
|
import Checkbox from '../Checkbox';
|
6
5
|
import Label from '../Label';
|
7
6
|
|
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/adapter';
|
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/adapter';
|
9
9
|
|
10
10
|
var DatePicker = function (props) {
|
11
11
|
var className = props.className,
|
File without changes
|
File without changes
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import * as React from 'react';
|
3
3
|
import { Text } from '@ray-js/components';
|
4
|
-
import { defaultIconProps } from './props';
|
5
4
|
import './index.less';
|
6
5
|
|
7
6
|
var Icon = function (props) {
|
@@ -18,6 +17,5 @@ var Icon = function (props) {
|
|
18
17
|
});
|
19
18
|
};
|
20
19
|
|
21
|
-
Icon.defaultProps = defaultIconProps;
|
22
20
|
Icon.displayName = 'Icon';
|
23
21
|
export default Icon;
|
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/adapter';
|
8
8
|
|
9
9
|
var Image = function (props) {
|
10
10
|
var style = props.style,
|
File without changes
|
@@ -2,12 +2,10 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
4
4
|
var _excluded = ["name", "id", "className", "style", "disabled", "type", "value", "focus", "maxLength", "onBlur", "onConfirm", "onFocus", "onInput", "password", "placeholder", "placeholderStyle"];
|
5
|
-
import "core-js/modules/es.function.name.js";
|
6
5
|
import * as React from 'react';
|
7
6
|
import clsx from 'clsx';
|
8
|
-
import { Input as RemaxInput } from '@ray-js/
|
7
|
+
import { Input as RemaxInput } from '@ray-js/adapter';
|
9
8
|
import { inlineStyle } from '@ray-js/framework-shared';
|
10
|
-
import { defaultInputProps } from './props';
|
11
9
|
import { nextFrame } from '../core';
|
12
10
|
import styles from './index.module.less';
|
13
11
|
var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
@@ -82,5 +80,4 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
82
80
|
value: internalValue
|
83
81
|
}, selection, restProps));
|
84
82
|
});
|
85
|
-
Input.defaultProps = defaultInputProps;
|
86
83
|
export default Input;
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
4
4
|
var _excluded = ["name", "id", "className", "style", "disabled", "type", "value", "focus", "maxLength", "onBlur", "onConfirm", "onFocus", "onInput", "password", "placeholder", "placeholderStyle"];
|
5
|
-
import "core-js/modules/es.function.name.js";
|
6
5
|
import * as React from 'react';
|
7
6
|
import clsx from 'clsx';
|
8
7
|
import { Input as RemaxInput } from '@ray-core/wechat';
|
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/adapter';
|
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/adapter';
|
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/adapter/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/adapter';
|
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/adapter';
|
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/adapter';
|
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/adapter';
|
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/adapter';
|
8
8
|
|
9
9
|
var Radio = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import "core-js/modules/es.function.name.js";
|
2
1
|
import "core-js/modules/es.array.map.js";
|
3
2
|
import * as React from 'react';
|
4
|
-
import { RadioGroup as RemaxRadioGroup } from '@ray-js/
|
3
|
+
import { RadioGroup as RemaxRadioGroup } from '@ray-js/adapter';
|
5
4
|
import Radio from '../Radio';
|
6
5
|
import Label from '../Label';
|
7
6
|
|
File without changes
|
@@ -3,8 +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/
|
7
|
-
import { defaultScrollViewProps } from './props';
|
6
|
+
import { ScrollView as RemaxScrollView } from '@ray-js/adapter';
|
8
7
|
|
9
8
|
var ScrollView = function (props) {
|
10
9
|
var style = props.style,
|
@@ -16,5 +15,4 @@ var ScrollView = function (props) {
|
|
16
15
|
}, restProps));
|
17
16
|
};
|
18
17
|
|
19
|
-
ScrollView.defaultProps = defaultScrollViewProps;
|
20
18
|
export default ScrollView;
|
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/adapter';
|
7
7
|
|
8
8
|
var Slider = function (props) {
|
9
9
|
var id = props.id,
|
@@ -6,9 +6,9 @@ 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/adapter';
|
10
10
|
import { propsAlias } from '../core';
|
11
|
-
import { SwiperPropsAlias
|
11
|
+
import { SwiperPropsAlias } from './props';
|
12
12
|
|
13
13
|
function Swiper(props) {
|
14
14
|
var id = props.id,
|
@@ -56,5 +56,4 @@ function Swiper(props) {
|
|
56
56
|
}());
|
57
57
|
}
|
58
58
|
|
59
|
-
Swiper.defaultProps = defaultSwiperProps;
|
60
59
|
export default Swiper;
|
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/adapter';
|
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/adapter';
|
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/adapter';
|
8
8
|
|
9
9
|
var Switch = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
File without changes
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["id", "className", "style", "value", "placeholderStyle", "placeholder", "onInput", "onFocus", "onConfirm", "onBlur", "maxLength", "focus", "disabled", "name", "autoHeight"];
|
4
|
-
import "core-js/modules/es.function.name.js";
|
5
4
|
import * as React from 'react';
|
6
5
|
import clsx from 'clsx';
|
7
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
8
|
-
import { Textarea as RemaxTextarea } from '@ray-js/
|
7
|
+
import { Textarea as RemaxTextarea } from '@ray-js/adapter';
|
9
8
|
import styles from './index.module.less';
|
10
9
|
var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
11
10
|
var id = props.id,
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["id", "className", "style", "value", "placeholderStyle", "placeholder", "onInput", "onFocus", "onConfirm", "onBlur", "maxLength", "focus", "disabled", "name", "autoHeight"];
|
4
|
-
import "core-js/modules/es.function.name.js";
|
5
4
|
import * as React from 'react';
|
6
5
|
import clsx from 'clsx';
|
7
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
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/adapter';
|
8
8
|
|
9
9
|
var TimePicker = function (props) {
|
10
10
|
var className = props.className,
|
File without changes
|
@@ -7,8 +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/
|
11
|
-
import { defaultViewProps } from './props';
|
10
|
+
import { View as RemaxView } from '@ray-js/adapter';
|
12
11
|
import styles from './index.module.less';
|
13
12
|
var View = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
14
13
|
var id = props.id,
|
@@ -54,7 +53,6 @@ var View = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
54
53
|
onTransitionEnd: onTransitionEnd
|
55
54
|
}, handlers, restProps), children);
|
56
55
|
});
|
57
|
-
View.defaultProps = defaultViewProps;
|
58
56
|
View.displayName = 'View';
|
59
57
|
export default View;
|
60
58
|
View.propTypes = {
|
package/lib/utils/handleProps.js
CHANGED
@@ -3,7 +3,6 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
5
5
|
var _excluded = ["className", "hoverClassName", "hoverStyle", "refresherDefaultStyle", "overlayStyle", "customStyle", "indicatorStyle", "maskStyle", "placeholderStyle", "borderStyle", "style", "children"];
|
6
|
-
import "core-js/modules/es.array.join.js";
|
7
6
|
import "core-js/modules/es.array.map.js";
|
8
7
|
import "core-js/modules/es.object.entries.js";
|
9
8
|
import "core-js/modules/es.array.concat.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/components",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.11",
|
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.11",
|
30
|
+
"@ray-js/remax-tuya": "^0.5.7-beta-1",
|
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.11"
|
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": "f5460daeb7fc33645238859ac41d6c1517685ab9",
|
57
57
|
"repository": {}
|
58
58
|
}
|