@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.
Files changed (136) hide show
  1. package/lib/Button/{Button.thing.d.ts → Button.tuya.d.ts} +0 -0
  2. package/lib/Button/{Button.thing.js → Button.tuya.js} +1 -1
  3. package/lib/Checkbox/{Checkbox.thing.d.ts → Checkbox.tuya.d.ts} +0 -0
  4. package/lib/Checkbox/{Checkbox.thing.js → Checkbox.tuya.js} +1 -1
  5. package/lib/CheckboxGroup/{CheckboxGroup.thing.d.ts → CheckboxGroup.tuya.d.ts} +0 -0
  6. package/lib/CheckboxGroup/{CheckboxGroup.thing.js → CheckboxGroup.tuya.js} +1 -1
  7. package/lib/CoverView/{CoverView.thing.d.ts → CoverView.tuya.d.ts} +0 -0
  8. package/lib/CoverView/{CoverView.thing.js → CoverView.tuya.js} +1 -1
  9. package/lib/DatePicker/{DatePicker.thing.d.ts → DatePicker.tuya.d.ts} +0 -0
  10. package/lib/DatePicker/{DatePicker.thing.js → DatePicker.tuya.js} +1 -1
  11. package/lib/Form/{Form.native.d.ts → Form.tuya.d.ts} +0 -0
  12. package/lib/Form/{Form.thing.js → Form.tuya.js} +1 -1
  13. package/lib/Icon/{Icon.thing.d.ts → Icon.tuya.d.ts} +0 -0
  14. package/lib/Icon/{Icon.thing.js → Icon.tuya.js} +0 -0
  15. package/lib/Image/{Image.thing.d.ts → Image.tuya.d.ts} +0 -0
  16. package/lib/Image/{Image.thing.js → Image.tuya.js} +1 -1
  17. package/lib/Input/{Input.thing.d.ts → Input.tuya.d.ts} +0 -0
  18. package/lib/Input/{Input.thing.js → Input.tuya.js} +1 -1
  19. package/lib/IpcPlayer/{IpcPlayer.thing.d.ts → IpcPlayer.tuya.d.ts} +0 -0
  20. package/lib/IpcPlayer/{IpcPlayer.thing.js → IpcPlayer.tuya.js} +1 -1
  21. package/lib/IpcPlayer/props.d.ts +1 -1
  22. package/lib/Label/{Label.thing.d.ts → Label.tuya.d.ts} +0 -0
  23. package/lib/Label/{Label.thing.js → Label.tuya.js} +1 -1
  24. package/lib/LinearGradient/{LinearGradient.thing.d.ts → LinearGradient.tuya.d.ts} +0 -0
  25. package/lib/LinearGradient/{LinearGradient.thing.js → LinearGradient.tuya.js} +0 -0
  26. package/lib/Modal/{Modal.thing.d.ts → Modal.tuya.d.ts} +0 -0
  27. package/lib/Modal/{Modal.thing.js → Modal.tuya.js} +0 -0
  28. package/lib/Motion/Fade/{index.thing.d.ts → index.tuya.d.ts} +0 -0
  29. package/lib/Motion/Fade/{index.thing.js → index.tuya.js} +0 -0
  30. package/lib/Motion/PullUp/{index.thing.d.ts → index.tuya.d.ts} +0 -0
  31. package/lib/Motion/PullUp/{index.thing.js → index.tuya.js} +0 -0
  32. package/lib/Motion/PushDown/{index.thing.d.ts → index.tuya.d.ts} +0 -0
  33. package/lib/Motion/PushDown/{index.thing.js → index.tuya.js} +0 -0
  34. package/lib/Motion/ScaleFadeIn/{index.thing.d.ts → index.tuya.d.ts} +0 -0
  35. package/lib/Motion/ScaleFadeIn/{index.thing.js → index.tuya.js} +0 -0
  36. package/lib/Motion/ScalePullDown/{index.thing.d.ts → index.tuya.d.ts} +0 -0
  37. package/lib/Motion/ScalePullDown/{index.thing.js → index.tuya.js} +0 -0
  38. package/lib/PageContainer/{PageContainer.thing.d.ts → PageContainer.tuya.d.ts} +0 -0
  39. package/lib/PageContainer/{PageContainer.thing.js → PageContainer.tuya.js} +1 -1
  40. package/lib/PageContainer/props.d.ts +1 -1
  41. package/lib/Picker/{Picker.thing.d.ts → Picker.tuya.d.ts} +0 -0
  42. package/lib/Picker/{Picker.thing.js → Picker.tuya.js} +1 -1
  43. package/lib/PickerView/{PickerView.thing.d.ts → PickerView.tuya.d.ts} +0 -0
  44. package/lib/PickerView/{PickerView.thing.js → PickerView.tuya.js} +1 -1
  45. package/lib/PickerViewColumn/{PickerViewColumn.thing.d.ts → PickerViewColumn.tuya.d.ts} +0 -0
  46. package/lib/PickerViewColumn/{PickerViewColumn.thing.js → PickerViewColumn.tuya.js} +1 -1
  47. package/lib/PickerViewColumn/PickerViewColumn.wechat.js +1 -1
  48. package/lib/RadialGradient/{RadialGradient.thing.d.ts → RadialGradient.tuya.d.ts} +0 -0
  49. package/lib/RadialGradient/{RadialGradient.thing.js → RadialGradient.tuya.js} +0 -0
  50. package/lib/Radio/{Radio.thing.d.ts → Radio.tuya.d.ts} +0 -0
  51. package/lib/Radio/{Radio.thing.js → Radio.tuya.js} +1 -1
  52. package/lib/RadioGroup/{RadioGroup.thing.d.ts → RadioGroup.tuya.d.ts} +0 -0
  53. package/lib/RadioGroup/{RadioGroup.thing.js → RadioGroup.tuya.js} +1 -1
  54. package/lib/ScrollView/{ScrollView.thing.d.ts → ScrollView.tuya.d.ts} +0 -0
  55. package/lib/ScrollView/{ScrollView.thing.js → ScrollView.tuya.js} +1 -1
  56. package/lib/Slider/{Slider.thing.d.ts → Slider.tuya.d.ts} +0 -0
  57. package/lib/Slider/{Slider.thing.js → Slider.tuya.js} +1 -1
  58. package/lib/Swiper/{Swiper.thing.d.ts → Swiper.tuya.d.ts} +0 -0
  59. package/lib/Swiper/{Swiper.thing.js → Swiper.tuya.js} +1 -1
  60. package/lib/SwiperItem/{SwiperItem.thing.d.ts → SwiperItem.tuya.d.ts} +0 -0
  61. package/lib/SwiperItem/{SwiperItem.thing.js → SwiperItem.tuya.js} +1 -1
  62. package/lib/SwiperItem/SwiperItem.wechat.js +1 -1
  63. package/lib/Switch/{Switch.thing.d.ts → Switch.tuya.d.ts} +0 -0
  64. package/lib/Switch/{Switch.thing.js → Switch.tuya.js} +1 -1
  65. package/lib/Text/{Text.thing.d.ts → Text.tuya.d.ts} +0 -0
  66. package/lib/Text/{Text.thing.js → Text.tuya.js} +1 -1
  67. package/lib/Textarea/{Textarea.thing.d.ts → Textarea.tuya.d.ts} +0 -0
  68. package/lib/Textarea/{Textarea.thing.js → Textarea.tuya.js} +1 -1
  69. package/lib/TimePicker/{TimePicker.thing.d.ts → TimePicker.tuya.d.ts} +0 -0
  70. package/lib/TimePicker/{TimePicker.thing.js → TimePicker.tuya.js} +1 -1
  71. package/lib/View/{View.thing.d.ts → View.tuya.d.ts} +0 -0
  72. package/lib/View/{View.thing.js → View.tuya.js} +1 -1
  73. package/lib/utils/index.d.ts +1 -2
  74. package/package.json +5 -5
  75. package/lib/Button/Button.native.d.ts +0 -29
  76. package/lib/Button/Button.native.js +0 -229
  77. package/lib/Checkbox/Checkbox.native.d.ts +0 -28
  78. package/lib/Checkbox/Checkbox.native.js +0 -118
  79. package/lib/CheckboxGroup/CheckboxGroup.native.d.ts +0 -18
  80. package/lib/CheckboxGroup/CheckboxGroup.native.js +0 -99
  81. package/lib/ClickableSimplified/index.native.d.ts +0 -42
  82. package/lib/ClickableSimplified/index.native.js +0 -166
  83. package/lib/DatePicker/DatePicker.native.d.ts +0 -34
  84. package/lib/DatePicker/DatePicker.native.js +0 -449
  85. package/lib/Form/Form.native.js +0 -8
  86. package/lib/Form/Form.thing.d.ts +0 -4
  87. package/lib/Icon/Icon.native.d.ts +0 -15
  88. package/lib/Icon/Icon.native.js +0 -48
  89. package/lib/Image/Image.native.d.ts +0 -28
  90. package/lib/Image/Image.native.js +0 -219
  91. package/lib/Input/Input.native.d.ts +0 -32
  92. package/lib/Input/Input.native.js +0 -212
  93. package/lib/Label/Label.native.d.ts +0 -4
  94. package/lib/Label/Label.native.js +0 -29
  95. package/lib/LinearGradient/LinearGradient.native.d.ts +0 -16
  96. package/lib/LinearGradient/LinearGradient.native.js +0 -60
  97. package/lib/Modal/Modal.native.d.ts +0 -24
  98. package/lib/Modal/Modal.native.js +0 -98
  99. package/lib/Motion/Fade/index.native.d.ts +0 -2
  100. package/lib/Motion/Fade/index.native.js +0 -3
  101. package/lib/Motion/PullUp/index.native.d.ts +0 -2
  102. package/lib/Motion/PullUp/index.native.js +0 -3
  103. package/lib/Motion/PushDown/index.native.d.ts +0 -2
  104. package/lib/Motion/PushDown/index.native.js +0 -3
  105. package/lib/Motion/ScaleFadeIn/index.native.d.ts +0 -2
  106. package/lib/Motion/ScaleFadeIn/index.native.js +0 -3
  107. package/lib/Motion/ScalePullDown/index.native.d.ts +0 -2
  108. package/lib/Motion/ScalePullDown/index.native.js +0 -3
  109. package/lib/Picker/Picker.native.d.ts +0 -22
  110. package/lib/Picker/Picker.native.js +0 -181
  111. package/lib/PickerView/PickerView.native.d.ts +0 -31
  112. package/lib/PickerView/PickerView.native.js +0 -175
  113. package/lib/PickerViewColumn/PickerViewColumn.native.d.ts +0 -31
  114. package/lib/PickerViewColumn/PickerViewColumn.native.js +0 -175
  115. package/lib/RadialGradient/RadialGradient.native.d.ts +0 -17
  116. package/lib/RadialGradient/RadialGradient.native.js +0 -52
  117. package/lib/Radio/Radio.native.d.ts +0 -30
  118. package/lib/Radio/Radio.native.js +0 -132
  119. package/lib/RadioGroup/RadioGroup.native.d.ts +0 -18
  120. package/lib/RadioGroup/RadioGroup.native.js +0 -99
  121. package/lib/ScrollView/ScrollView.native.d.ts +0 -57
  122. package/lib/ScrollView/ScrollView.native.js +0 -283
  123. package/lib/Slider/Slider.native.d.ts +0 -21
  124. package/lib/Slider/Slider.native.js +0 -114
  125. package/lib/Swiper/Swiper.native.d.ts +0 -6
  126. package/lib/Swiper/Swiper.native.js +0 -68
  127. package/lib/Switch/Switch.native.d.ts +0 -25
  128. package/lib/Switch/Switch.native.js +0 -128
  129. package/lib/Text/Text.native.d.ts +0 -8
  130. package/lib/Text/Text.native.js +0 -37
  131. package/lib/Textarea/Textarea.native.d.ts +0 -4
  132. package/lib/Textarea/Textarea.native.js +0 -26
  133. package/lib/TimePicker/TimePicker.native.d.ts +0 -39
  134. package/lib/TimePicker/TimePicker.native.js +0 -319
  135. package/lib/View/View.native.d.ts +0 -2
  136. package/lib/View/View.native.js +0 -35
@@ -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/adapter';
7
+ import { Button as RemaxButton } from '@ray-js/remax-tuya';
8
8
  import { defaultButtonProps } from './props';
9
9
 
10
10
  var Button = function (props) {
@@ -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/adapter';
7
+ import { Checkbox as RemaxCheckbox } from '@ray-js/remax-tuya';
8
8
 
9
9
  var Checkbox = function (props) {
10
10
  var className = props.className,
@@ -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/adapter';
4
+ import { CheckboxGroup as RemaxCheckboxGroup } from '@ray-js/remax-tuya';
5
5
  import Checkbox from '../Checkbox';
6
6
  import Label from '../Label';
7
7
 
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CoverView as RemaxCoverView } from '@ray-js/adapter';
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);
@@ -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/adapter';
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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Form as RemaxForm } from '@ray-js/adapter';
2
+ import { Form as RemaxForm } from '@ray-js/remax-tuya';
3
3
 
4
4
  var Form = function (props) {
5
5
  return /*#__PURE__*/React.createElement(RemaxForm, props);
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/adapter';
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/adapter';
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';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { IpcPlayer as RemaxIpcPlayer } from '@ray-js/adapter';
2
+ import { IpcPlayer as RemaxIpcPlayer } from '@ray-js/remax-tuya';
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/adapter/src/types/component';
2
+ import { BaseEvent } from '@ray-js/remax-tuya/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/adapter';
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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { PageContainer as RemaxPageContainer } from '@ray-js/adapter';
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/adapter/src/types/component';
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;
@@ -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/adapter';
8
+ import { Picker as RemaxPicker } from '@ray-js/remax-tuya';
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/adapter';
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
 
@@ -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/adapter';
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/adapter';
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
@@ -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/adapter';
7
+ import { Radio as RemaxRadio } from '@ray-js/remax-tuya';
8
8
 
9
9
  var Radio = function (props) {
10
10
  var className = props.className,
@@ -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/adapter';
4
+ import { RadioGroup as RemaxRadioGroup } from '@ray-js/remax-tuya';
5
5
  import Radio from '../Radio';
6
6
  import Label from '../Label';
7
7
 
@@ -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/adapter';
6
+ import { ScrollView as RemaxScrollView } from '@ray-js/remax-tuya';
7
7
  import { defaultScrollViewProps } from './props';
8
8
 
9
9
  var ScrollView = function (props) {
@@ -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/adapter';
6
+ import { Slider as RemaxSlider } from '@ray-js/remax-tuya';
7
7
 
8
8
  var Slider = function (props) {
9
9
  var id = props.id,
@@ -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/adapter';
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
 
@@ -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/adapter';
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/adapter';
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", "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/adapter';
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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Text as RemaxText } from '@ray-js/adapter';
2
+ import { Text as RemaxText } from '@ray-js/remax-tuya';
3
3
 
4
4
  var Text = function (props) {
5
5
  return /*#__PURE__*/React.createElement(RemaxText, props);
@@ -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/adapter';
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,
@@ -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/adapter';
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/adapter';
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) {
@@ -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?: StyleProp<ViewStyle>) => StyleProp<TextStyle>;
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.8-beta-1",
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.8-beta-1",
30
- "@ray-js/remax-tuya": "^0.5.7-beta-1",
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.8-beta-1"
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": "dbd3b62bdfcf744832f15a2aac92ac15b091d0f9",
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;