@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.
Files changed (79) hide show
  1. package/lib/Button/{Button.tuya.d.ts → Button.thing.d.ts} +0 -0
  2. package/lib/Button/{Button.tuya.js → Button.thing.js} +1 -3
  3. package/lib/Checkbox/{Checkbox.tuya.d.ts → Checkbox.thing.d.ts} +0 -0
  4. package/lib/Checkbox/{Checkbox.tuya.js → Checkbox.thing.js} +1 -1
  5. package/lib/CheckboxGroup/CheckboxGroup.js +0 -1
  6. package/lib/CheckboxGroup/{CheckboxGroup.tuya.d.ts → CheckboxGroup.thing.d.ts} +0 -0
  7. package/lib/CheckboxGroup/{CheckboxGroup.tuya.js → CheckboxGroup.thing.js} +1 -2
  8. package/lib/CheckboxGroup/CheckboxGroup.wechat.js +0 -1
  9. package/lib/CoverView/{CoverView.tuya.d.ts → CoverView.thing.d.ts} +0 -0
  10. package/lib/CoverView/{CoverView.tuya.js → CoverView.thing.js} +1 -1
  11. package/lib/DatePicker/{DatePicker.tuya.d.ts → DatePicker.thing.d.ts} +0 -0
  12. package/lib/DatePicker/{DatePicker.tuya.js → DatePicker.thing.js} +1 -1
  13. package/lib/Form/{Form.tuya.d.ts → Form.thing.d.ts} +0 -0
  14. package/lib/Form/{Form.tuya.js → Form.thing.js} +1 -1
  15. package/lib/Icon/{Icon.tuya.d.ts → Icon.thing.d.ts} +0 -0
  16. package/lib/Icon/{Icon.tuya.js → Icon.thing.js} +0 -2
  17. package/lib/Image/{Image.tuya.d.ts → Image.thing.d.ts} +0 -0
  18. package/lib/Image/{Image.tuya.js → Image.thing.js} +1 -1
  19. package/lib/Input/{Input.tuya.d.ts → Input.thing.d.ts} +0 -0
  20. package/lib/Input/{Input.tuya.js → Input.thing.js} +1 -4
  21. package/lib/Input/Input.wechat.js +0 -1
  22. package/lib/IpcPlayer/{IpcPlayer.tuya.d.ts → IpcPlayer.thing.d.ts} +0 -0
  23. package/lib/IpcPlayer/{IpcPlayer.tuya.js → IpcPlayer.thing.js} +1 -1
  24. package/lib/IpcPlayer/props.d.ts +1 -1
  25. package/lib/Label/{Label.tuya.d.ts → Label.thing.d.ts} +0 -0
  26. package/lib/Label/{Label.tuya.js → Label.thing.js} +1 -1
  27. package/lib/LinearGradient/{LinearGradient.tuya.d.ts → LinearGradient.thing.d.ts} +0 -0
  28. package/lib/LinearGradient/{LinearGradient.tuya.js → LinearGradient.thing.js} +0 -0
  29. package/lib/Modal/{Modal.tuya.d.ts → Modal.thing.d.ts} +0 -0
  30. package/lib/Modal/{Modal.tuya.js → Modal.thing.js} +0 -0
  31. package/lib/Motion/Fade/{index.tuya.d.ts → index.thing.d.ts} +0 -0
  32. package/lib/Motion/Fade/{index.tuya.js → index.thing.js} +0 -0
  33. package/lib/Motion/PullUp/{index.tuya.d.ts → index.thing.d.ts} +0 -0
  34. package/lib/Motion/PullUp/{index.tuya.js → index.thing.js} +0 -0
  35. package/lib/Motion/PushDown/{index.tuya.d.ts → index.thing.d.ts} +0 -0
  36. package/lib/Motion/PushDown/{index.tuya.js → index.thing.js} +0 -0
  37. package/lib/Motion/ScaleFadeIn/{index.tuya.d.ts → index.thing.d.ts} +0 -0
  38. package/lib/Motion/ScaleFadeIn/{index.tuya.js → index.thing.js} +0 -0
  39. package/lib/Motion/ScalePullDown/{index.tuya.d.ts → index.thing.d.ts} +0 -0
  40. package/lib/Motion/ScalePullDown/{index.tuya.js → index.thing.js} +0 -0
  41. package/lib/PageContainer/{PageContainer.tuya.d.ts → PageContainer.thing.d.ts} +0 -0
  42. package/lib/PageContainer/{PageContainer.tuya.js → PageContainer.thing.js} +1 -1
  43. package/lib/PageContainer/props.d.ts +1 -1
  44. package/lib/Picker/{Picker.tuya.d.ts → Picker.thing.d.ts} +0 -0
  45. package/lib/Picker/{Picker.tuya.js → Picker.thing.js} +1 -1
  46. package/lib/PickerView/{PickerView.tuya.d.ts → PickerView.thing.d.ts} +0 -0
  47. package/lib/PickerView/{PickerView.tuya.js → PickerView.thing.js} +1 -1
  48. package/lib/PickerViewColumn/{PickerViewColumn.tuya.d.ts → PickerViewColumn.thing.d.ts} +0 -0
  49. package/lib/PickerViewColumn/{PickerViewColumn.tuya.js → PickerViewColumn.thing.js} +1 -1
  50. package/lib/PickerViewColumn/PickerViewColumn.wechat.js +1 -1
  51. package/lib/RadialGradient/{RadialGradient.tuya.d.ts → RadialGradient.thing.d.ts} +0 -0
  52. package/lib/RadialGradient/{RadialGradient.tuya.js → RadialGradient.thing.js} +0 -0
  53. package/lib/Radio/{Radio.tuya.d.ts → Radio.thing.d.ts} +0 -0
  54. package/lib/Radio/{Radio.tuya.js → Radio.thing.js} +1 -1
  55. package/lib/RadioGroup/{RadioGroup.tuya.d.ts → RadioGroup.thing.d.ts} +0 -0
  56. package/lib/RadioGroup/{RadioGroup.tuya.js → RadioGroup.thing.js} +1 -2
  57. package/lib/RadioGroup/RadioGroup.wechat.js +0 -1
  58. package/lib/ScrollView/{ScrollView.tuya.d.ts → ScrollView.thing.d.ts} +0 -0
  59. package/lib/ScrollView/{ScrollView.tuya.js → ScrollView.thing.js} +1 -3
  60. package/lib/Slider/{Slider.tuya.d.ts → Slider.thing.d.ts} +0 -0
  61. package/lib/Slider/{Slider.tuya.js → Slider.thing.js} +1 -1
  62. package/lib/Swiper/{Swiper.tuya.d.ts → Swiper.thing.d.ts} +0 -3
  63. package/lib/Swiper/{Swiper.tuya.js → Swiper.thing.js} +2 -3
  64. package/lib/SwiperItem/{SwiperItem.tuya.d.ts → SwiperItem.thing.d.ts} +0 -0
  65. package/lib/SwiperItem/{SwiperItem.tuya.js → SwiperItem.thing.js} +1 -1
  66. package/lib/SwiperItem/SwiperItem.wechat.js +1 -1
  67. package/lib/Switch/{Switch.tuya.d.ts → Switch.thing.d.ts} +0 -0
  68. package/lib/Switch/{Switch.tuya.js → Switch.thing.js} +1 -1
  69. package/lib/Text/{Text.tuya.d.ts → Text.thing.d.ts} +0 -0
  70. package/lib/Text/{Text.tuya.js → Text.thing.js} +1 -1
  71. package/lib/Textarea/{Textarea.tuya.d.ts → Textarea.thing.d.ts} +0 -0
  72. package/lib/Textarea/{Textarea.tuya.js → Textarea.thing.js} +1 -2
  73. package/lib/Textarea/Textarea.wechat.js +0 -1
  74. package/lib/TimePicker/{TimePicker.tuya.d.ts → TimePicker.thing.d.ts} +0 -0
  75. package/lib/TimePicker/{TimePicker.tuya.js → TimePicker.thing.js} +1 -1
  76. package/lib/View/{View.tuya.d.ts → View.thing.d.ts} +0 -0
  77. package/lib/View/{View.tuya.js → View.thing.js} +1 -3
  78. package/lib/utils/handleProps.js +0 -1
  79. package/package.json +5 -5
@@ -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/remax-tuya';
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;
@@ -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/remax-tuya';
7
+ import { Checkbox as RemaxCheckbox } from '@ray-js/adapter';
8
8
 
9
9
  var Checkbox = function (props) {
10
10
  var className = props.className,
@@ -1,5 +1,4 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
- import "core-js/modules/es.function.name.js";
3
2
  import "core-js/modules/es.array.map.js";
4
3
  import * as React from 'react';
5
4
  import handleProps from '../utils/handleProps';
@@ -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/remax-tuya';
3
+ import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-js/adapter';
5
4
  import Checkbox from '../Checkbox';
6
5
  import Label from '../Label';
7
6
 
@@ -1,4 +1,3 @@
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
3
  import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-core/wechat';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CoverView as RemaxCoverView } from '@ray-js/remax-tuya';
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);
@@ -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/remax-tuya';
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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Form as RemaxForm } from '@ray-js/remax-tuya';
2
+ import { Form as RemaxForm } from '@ray-js/adapter';
3
3
 
4
4
  var Form = function (props) {
5
5
  return /*#__PURE__*/React.createElement(RemaxForm, props);
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/remax-tuya';
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/remax-tuya';
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';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { IpcPlayer as RemaxIpcPlayer } from '@ray-js/remax-tuya';
2
+ import { IpcPlayer as RemaxIpcPlayer } from '@ray-js/adapter';
3
3
 
4
4
  var IpcPlayer = function (props) {
5
5
  return /*#__PURE__*/React.createElement(RemaxIpcPlayer, props);
@@ -1,5 +1,5 @@
1
1
  import { BaseProps } from '../types';
2
- import { BaseEvent } from '@ray-js/remax-tuya/src/types/component';
2
+ import { BaseEvent } from '@ray-js/adapter/src/types/component';
3
3
  export declare type IpcPlayerEventType = {
4
4
  type: string;
5
5
  value?: any;
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/remax-tuya';
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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { PageContainer as RemaxPageContainer } from '@ray-js/remax-tuya';
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/remax-tuya/src/types/component';
3
+ import { BaseEvent } from '@ray-js/adapter/src/types/component';
4
4
  export declare type PageContainerEventType = {
5
5
  type: string;
6
6
  value?: any;
@@ -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/remax-tuya';
8
+ import { Picker as RemaxPicker } from '@ray-js/adapter';
9
9
  var countArr = 1;
10
10
 
11
11
  var Picker = function (props) {
@@ -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/remax-tuya';
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
 
@@ -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/remax-tuya';
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/remax-tuya';
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
@@ -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/remax-tuya';
7
+ import { Radio as RemaxRadio } from '@ray-js/adapter';
8
8
 
9
9
  var Radio = function (props) {
10
10
  var className = props.className,
@@ -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/remax-tuya';
3
+ import { RadioGroup as RemaxRadioGroup } from '@ray-js/adapter';
5
4
  import Radio from '../Radio';
6
5
  import Label from '../Label';
7
6
 
@@ -1,4 +1,3 @@
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
3
  import { RadioGroup as RemaxRadioGroup } from '@ray-core/wechat';
@@ -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/remax-tuya';
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;
@@ -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/remax-tuya';
6
+ import { Slider as RemaxSlider } from '@ray-js/adapter';
7
7
 
8
8
  var Slider = function (props) {
9
9
  var id = props.id,
@@ -1,7 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { SwiperProps } from './props';
3
3
  declare function Swiper<I, C extends React.FC>(props: SwiperProps<I>): JSX.Element;
4
- declare namespace Swiper {
5
- var defaultProps: Partial<SwiperProps<any>>;
6
- }
7
4
  export default Swiper;
@@ -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/remax-tuya';
9
+ import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-js/adapter';
10
10
  import { propsAlias } from '../core';
11
- import { SwiperPropsAlias, defaultSwiperProps } from './props';
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;
@@ -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/remax-tuya';
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/remax-tuya';
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", "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/remax-tuya';
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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Text as RemaxText } from '@ray-js/remax-tuya';
2
+ import { Text as RemaxText } from '@ray-js/adapter';
3
3
 
4
4
  var Text = function (props) {
5
5
  return /*#__PURE__*/React.createElement(RemaxText, props);
@@ -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/remax-tuya';
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';
@@ -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/remax-tuya';
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/remax-tuya';
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 = {
@@ -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.10",
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.10",
30
- "@ray-js/remax-tuya": "^0.5.10",
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.10"
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": "955dd59a037cbfbafd76f6f8f82d74d447e6a152",
56
+ "gitHead": "f5460daeb7fc33645238859ac41d6c1517685ab9",
57
57
  "repository": {}
58
58
  }