@ray-js/components 1.7.22 → 1.7.23
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.d.ts +2 -2
- package/lib/Button/Button.js +2 -1
- package/lib/Button/Button.thing.d.ts +2 -2
- package/lib/Button/Button.thing.js +2 -1
- package/lib/Button/Button.wechat.d.ts +2 -2
- package/lib/Button/Button.wechat.js +2 -1
- package/lib/Button/props.d.ts +2 -2
- package/lib/Camera/Camera.d.ts +2 -2
- package/lib/Camera/Camera.js +1 -0
- package/lib/Camera/Camera.thing.d.ts +2 -2
- package/lib/Camera/Camera.thing.js +1 -0
- package/lib/Camera/Camera.wechat.js +1 -1
- package/lib/Checkbox/Checkbox.d.ts +2 -2
- package/lib/Checkbox/Checkbox.js +1 -0
- package/lib/Checkbox/Checkbox.thing.d.ts +2 -2
- package/lib/Checkbox/Checkbox.thing.js +2 -1
- package/lib/Checkbox/Checkbox.wechat.d.ts +2 -2
- package/lib/Checkbox/Checkbox.wechat.js +2 -1
- package/lib/Checkbox/props.d.ts +1 -1
- package/lib/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/lib/CheckboxGroup/CheckboxGroup.js +3 -3
- package/lib/CheckboxGroup/CheckboxGroup.thing.d.ts +2 -2
- package/lib/CheckboxGroup/CheckboxGroup.thing.js +1 -0
- package/lib/CheckboxGroup/CheckboxGroup.wechat.d.ts +2 -2
- package/lib/CheckboxGroup/CheckboxGroup.wechat.js +1 -0
- package/lib/CheckboxGroup/props.d.ts +3 -3
- package/lib/CoverView/CoverView.d.ts +2 -2
- package/lib/CoverView/CoverView.thing.d.ts +2 -2
- package/lib/CoverView/CoverView.thing.js +1 -0
- package/lib/CoverView/CoverView.wechat.d.ts +1 -1
- package/lib/CoverView/CoverView.wechat.js +1 -1
- package/lib/CoverView/props.d.ts +1 -1
- package/lib/Form/Form.d.ts +1 -1
- package/lib/Form/Form.js +1 -1
- package/lib/Form/Form.thing.d.ts +2 -2
- package/lib/Form/Form.thing.js +1 -0
- package/lib/Form/Form.wechat.d.ts +2 -2
- package/lib/Form/Form.wechat.js +1 -0
- package/lib/Form/props.d.ts +1 -1
- package/lib/Iframe/Iframe.thing.d.ts +2 -2
- package/lib/Iframe/Iframe.thing.js +1 -0
- package/lib/Image/Image.d.ts +1 -1
- package/lib/Image/Image.js +1 -1
- package/lib/Image/Image.thing.d.ts +2 -2
- package/lib/Image/Image.thing.js +2 -1
- package/lib/Image/Image.wechat.d.ts +2 -2
- package/lib/Image/Image.wechat.js +2 -1
- package/lib/Input/Input.d.ts +1 -1
- package/lib/Input/Input.js +5 -5
- package/lib/Input/Input.thing.d.ts +1 -1
- package/lib/Input/Input.thing.js +1 -1
- package/lib/Input/Input.wechat.d.ts +1 -1
- package/lib/Input/Input.wechat.js +2 -2
- package/lib/Input/props.d.ts +4 -3
- package/lib/IpcPlayer/IpcPlayer.d.ts +2 -2
- package/lib/IpcPlayer/IpcPlayer.js +1 -0
- package/lib/IpcPlayer/IpcPlayer.thing.d.ts +2 -2
- package/lib/IpcPlayer/IpcPlayer.thing.js +1 -0
- package/lib/IpcPlayer/IpcPlayer.wechat.js +1 -1
- package/lib/Label/Label.d.ts +2 -2
- package/lib/Label/Label.js +1 -0
- package/lib/Label/Label.thing.d.ts +2 -2
- package/lib/Label/Label.thing.js +2 -1
- package/lib/Label/Label.wechat.d.ts +2 -2
- package/lib/Label/Label.wechat.js +2 -1
- package/lib/Label/props.d.ts +1 -1
- package/lib/Map/Map.d.ts +2 -2
- package/lib/Map/Map.js +1 -0
- package/lib/Map/Map.thing.d.ts +2 -2
- package/lib/Map/Map.thing.js +1 -0
- package/lib/Map/Map.wechat.d.ts +2 -2
- package/lib/Map/Map.wechat.js +1 -0
- package/lib/Modal/index.d.ts +1 -1
- package/lib/Modal/index.js +1 -1
- package/lib/MovableArea/MovableArea.d.ts +2 -2
- package/lib/MovableArea/MovableArea.js +2 -1
- package/lib/MovableArea/MovableArea.thing.d.ts +2 -2
- package/lib/MovableArea/MovableArea.thing.js +1 -0
- package/lib/MovableArea/MovableArea.wechat.d.ts +2 -2
- package/lib/MovableArea/MovableArea.wechat.js +1 -0
- package/lib/MovableView/MovableView.d.ts +1 -1
- package/lib/MovableView/MovableView.js +2 -2
- package/lib/MovableView/MovableView.thing.d.ts +2 -2
- package/lib/MovableView/MovableView.thing.js +1 -0
- package/lib/MovableView/MovableView.wechat.d.ts +2 -2
- package/lib/MovableView/MovableView.wechat.js +1 -0
- package/lib/NativeVideo/NativeVideo.d.ts +2 -2
- package/lib/NativeVideo/NativeVideo.js +1 -0
- package/lib/NativeVideo/NativeVideo.thing.d.ts +2 -2
- package/lib/NativeVideo/NativeVideo.thing.js +1 -0
- package/lib/NativeVideo/NativeVideo.wechat.js +1 -1
- package/lib/PageContainer/PageContainer.d.ts +2 -2
- package/lib/PageContainer/PageContainer.js +2 -2
- package/lib/PageContainer/PageContainer.thing.d.ts +1 -1
- package/lib/PageContainer/PageContainer.wechat.d.ts +1 -1
- package/lib/PageContainer/props.d.ts +3 -3
- package/lib/Picker/Picker.d.ts +1 -1
- package/lib/Picker/Picker.js +1 -1
- package/lib/Picker/Picker.thing.d.ts +2 -2
- package/lib/Picker/Picker.thing.js +2 -1
- package/lib/Picker/Picker.wechat.d.ts +2 -2
- package/lib/Picker/Picker.wechat.js +2 -1
- package/lib/PickerView/PickerView.d.ts +1 -1
- package/lib/PickerView/PickerView.js +2 -2
- package/lib/PickerView/PickerView.thing.d.ts +2 -2
- package/lib/PickerView/PickerView.thing.js +3 -2
- package/lib/PickerView/PickerView.wechat.d.ts +2 -2
- package/lib/PickerView/PickerView.wechat.js +3 -2
- package/lib/PickerViewColumn/PickerViewColumn.d.ts +2 -2
- package/lib/PickerViewColumn/PickerViewColumn.js +1 -0
- package/lib/PickerViewColumn/PickerViewColumn.thing.d.ts +1 -1
- package/lib/PickerViewColumn/PickerViewColumn.thing.js +2 -1
- package/lib/PickerViewColumn/PickerViewColumn.wechat.d.ts +1 -1
- package/lib/PickerViewColumn/PickerViewColumn.wechat.js +2 -1
- package/lib/Progress/Progress.d.ts +2 -2
- package/lib/Progress/Progress.js +1 -0
- package/lib/Progress/Progress.thing.d.ts +2 -2
- package/lib/Progress/Progress.thing.js +2 -1
- package/lib/Progress/Progress.wechat.d.ts +2 -2
- package/lib/Progress/Progress.wechat.js +2 -1
- package/lib/Radio/Radio.d.ts +2 -2
- package/lib/Radio/Radio.js +1 -0
- package/lib/Radio/Radio.thing.d.ts +2 -2
- package/lib/Radio/Radio.thing.js +2 -1
- package/lib/Radio/Radio.wechat.d.ts +2 -2
- package/lib/Radio/Radio.wechat.js +2 -1
- package/lib/Radio/props.d.ts +1 -1
- package/lib/RadioGroup/RadioGroup.d.ts +1 -1
- package/lib/RadioGroup/RadioGroup.js +1 -1
- package/lib/RadioGroup/RadioGroup.thing.d.ts +2 -2
- package/lib/RadioGroup/RadioGroup.thing.js +3 -2
- package/lib/RadioGroup/RadioGroup.wechat.d.ts +2 -2
- package/lib/RadioGroup/RadioGroup.wechat.js +2 -1
- package/lib/RadioGroup/props.d.ts +3 -3
- package/lib/RichText/RichText.d.ts +2 -2
- package/lib/RichText/RichText.js +1 -0
- package/lib/RichText/RichText.thing.d.ts +2 -2
- package/lib/RichText/RichText.thing.js +1 -0
- package/lib/RichText/RichText.wechat.d.ts +2 -2
- package/lib/RichText/RichText.wechat.js +1 -0
- package/lib/ScrollView/ScrollView.d.ts +1 -1
- package/lib/ScrollView/ScrollView.js +2 -2
- package/lib/ScrollView/ScrollView.thing.d.ts +1 -1
- package/lib/ScrollView/ScrollView.thing.js +2 -1
- package/lib/ScrollView/ScrollView.wechat.d.ts +2 -2
- package/lib/ScrollView/ScrollView.wechat.js +2 -1
- package/lib/Slider/Slider.d.ts +1 -1
- package/lib/Slider/Slider.js +1 -1
- package/lib/Slider/Slider.thing.d.ts +2 -2
- package/lib/Slider/Slider.thing.js +2 -1
- package/lib/Slider/Slider.wechat.d.ts +2 -2
- package/lib/Slider/Slider.wechat.js +2 -1
- package/lib/Slider/props.d.ts +2 -2
- package/lib/Swiper/Swiper.d.ts +1 -1
- package/lib/Swiper/Swiper.js +1 -1
- package/lib/Swiper/Swiper.thing.d.ts +1 -1
- package/lib/Swiper/Swiper.thing.js +1 -1
- package/lib/Swiper/Swiper.wechat.d.ts +1 -1
- package/lib/Swiper/Swiper.wechat.js +1 -1
- package/lib/Swiper/props.d.ts +2 -2
- package/lib/SwiperItem/SwiperItem.d.ts +2 -2
- package/lib/SwiperItem/SwiperItem.js +1 -0
- package/lib/SwiperItem/SwiperItem.thing.d.ts +2 -2
- package/lib/SwiperItem/SwiperItem.thing.js +2 -1
- package/lib/SwiperItem/SwiperItem.wechat.d.ts +2 -2
- package/lib/SwiperItem/SwiperItem.wechat.js +2 -1
- package/lib/SwiperItem/props.d.ts +1 -1
- package/lib/Switch/Switch.d.ts +1 -1
- package/lib/Switch/Switch.js +1 -1
- package/lib/Switch/Switch.thing.d.ts +2 -2
- package/lib/Switch/Switch.thing.js +2 -1
- package/lib/Switch/Switch.wechat.d.ts +2 -2
- package/lib/Switch/Switch.wechat.js +2 -1
- package/lib/Switch/props.d.ts +2 -2
- package/lib/Text/Text.d.ts +2 -2
- package/lib/Text/Text.js +1 -0
- package/lib/Text/Text.thing.d.ts +2 -2
- package/lib/Text/Text.thing.js +1 -0
- package/lib/Text/Text.wechat.d.ts +2 -2
- package/lib/Text/Text.wechat.js +1 -0
- package/lib/Text/props.d.ts +1 -1
- package/lib/Textarea/Textarea.d.ts +1 -1
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/Textarea.thing.d.ts +1 -1
- package/lib/Textarea/Textarea.thing.js +2 -2
- package/lib/Textarea/Textarea.wechat.d.ts +1 -1
- package/lib/Textarea/Textarea.wechat.js +2 -2
- package/lib/Textarea/props.d.ts +3 -3
- package/lib/Video/Video.d.ts +2 -2
- package/lib/Video/Video.js +1 -0
- package/lib/Video/Video.thing.d.ts +2 -2
- package/lib/Video/Video.thing.js +1 -0
- package/lib/Video/Video.wechat.d.ts +2 -2
- package/lib/Video/Video.wechat.js +1 -0
- package/lib/View/View.d.ts +1 -1
- package/lib/View/View.js +2 -2
- package/lib/View/View.thing.d.ts +1 -1
- package/lib/View/View.thing.js +3 -3
- package/lib/View/View.wechat.d.ts +1 -1
- package/lib/View/View.wechat.js +2 -2
- package/lib/View/props.d.ts +1 -1
- package/lib/WebView/WebView.d.ts +2 -2
- package/lib/WebView/WebView.js +1 -0
- package/lib/WebView/WebView.thing.d.ts +2 -2
- package/lib/WebView/WebView.thing.js +1 -0
- package/lib/WebView/WebView.wechat.d.ts +2 -2
- package/lib/WebView/WebView.wechat.js +1 -0
- package/lib/types/index.d.ts +1 -1
- package/package.json +5 -5
package/lib/RichText/RichText.js
CHANGED
|
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["onScroll", "onScrollToUpper", "onScrollToLower"];
|
|
5
|
-
import { ScrollView as ScrollViewDef } from '@ray-js/adapter';
|
|
6
|
-
import { useEventListener } from 'ahooks';
|
|
7
5
|
import React from 'react';
|
|
6
|
+
import { useEventListener } from 'ahooks';
|
|
7
|
+
import { ScrollView as ScrollViewDef } from '@ray-js/adapter';
|
|
8
8
|
import handleProps from '../utils/handleProps';
|
|
9
9
|
const ScrollView = props => {
|
|
10
10
|
const {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["style"];
|
|
4
|
-
import
|
|
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
7
|
const ScrollView = props => {
|
|
7
8
|
const {
|
|
8
9
|
style
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["style"];
|
|
4
|
-
import
|
|
4
|
+
import * as React from 'react';
|
|
5
5
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
6
|
+
import { ScrollView as RemaxScrollView } from '@ray-core/wechat';
|
|
6
7
|
import { ScrollView as ScrollViewDef } from '@ray-js/adapter';
|
|
7
8
|
const ScrollView = props => {
|
|
8
9
|
const {
|
package/lib/Slider/Slider.d.ts
CHANGED
package/lib/Slider/Slider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import { useEventListener } from 'ahooks';
|
|
4
3
|
import * as React from 'react';
|
|
4
|
+
import { useEventListener } from 'ahooks';
|
|
5
5
|
import handleProps from '../utils/handleProps';
|
|
6
6
|
const Slider = props => {
|
|
7
7
|
const currentNode = React.useRef(null);
|
|
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["id", "style", "className", "children", "onChange", "onChanging"];
|
|
5
|
-
import
|
|
5
|
+
import * as React from 'react';
|
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
|
+
import { Slider as RemaxSlider } from '@ray-js/adapter';
|
|
7
8
|
const Slider = props => {
|
|
8
9
|
const {
|
|
9
10
|
id,
|
|
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["id", "style", "className", "children", "onChange", "onChanging", "activeColor"];
|
|
5
|
-
import
|
|
5
|
+
import * as React from 'react';
|
|
6
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
|
+
import { Slider as RemaxSlider } from '@ray-core/wechat';
|
|
7
8
|
const Slider = props => {
|
|
8
9
|
const {
|
|
9
10
|
id,
|
package/lib/Slider/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { GenericEvent } from '@ray-js/adapter';
|
|
2
|
+
import { BaseProps } from '../types';
|
|
3
3
|
export interface SliderProps extends BaseProps {
|
|
4
4
|
/**
|
|
5
5
|
* @description.en min
|
package/lib/Swiper/Swiper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SwiperProps } from './props';
|
|
3
3
|
declare function Swiper<I, C extends React.FC>(props: SwiperProps<I>): React.JSX.Element;
|
|
4
4
|
declare namespace Swiper {
|
|
5
5
|
var defaultProps: Partial<SwiperProps<any>>;
|
package/lib/Swiper/Swiper.js
CHANGED
|
@@ -7,8 +7,8 @@ import "core-js/modules/esnext.iterator.map.js";
|
|
|
7
7
|
// import clsx from 'clsx';
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import handleProps from '../utils/handleProps';
|
|
10
|
-
import { useEventListener } from 'ahooks';
|
|
11
10
|
import { defaultSwiperProps } from './props';
|
|
11
|
+
import { useEventListener } from 'ahooks';
|
|
12
12
|
function Swiper(props) {
|
|
13
13
|
const {
|
|
14
14
|
id,
|
|
@@ -6,8 +6,8 @@ import "core-js/modules/esnext.iterator.constructor.js";
|
|
|
6
6
|
import "core-js/modules/esnext.iterator.map.js";
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import * as React from 'react';
|
|
9
|
-
import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-js/adapter';
|
|
10
9
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
10
|
+
import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-js/adapter';
|
|
11
11
|
import { propsAlias } from '../core';
|
|
12
12
|
import { SwiperPropsAlias } from './props';
|
|
13
13
|
function Swiper(props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SwiperProps } from './props';
|
|
3
3
|
declare function Swiper<I, C extends React.FC>(props: SwiperProps<I>): React.JSX.Element;
|
|
4
4
|
declare namespace Swiper {
|
|
5
5
|
var defaultProps: Partial<SwiperProps<any>>;
|
|
@@ -6,8 +6,8 @@ import "core-js/modules/esnext.iterator.constructor.js";
|
|
|
6
6
|
import "core-js/modules/esnext.iterator.map.js";
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import * as React from 'react';
|
|
9
|
-
import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-core/wechat';
|
|
10
9
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
10
|
+
import { Swiper as RemaxSwiper, SwiperItem as RemaxSwiperItem } from '@ray-core/wechat';
|
|
11
11
|
import { propsAlias } from '../core';
|
|
12
12
|
import { SwiperPropsAlias, defaultSwiperProps } from './props';
|
|
13
13
|
function Swiper(props) {
|
package/lib/Swiper/props.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import
|
|
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
8
|
const SwiperItem = props => {
|
|
8
9
|
const {
|
|
9
10
|
className,
|
|
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["className", "style", "id"];
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import
|
|
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
8
|
const SwiperItem = props => {
|
|
8
9
|
const {
|
|
9
10
|
className,
|
package/lib/Switch/Switch.d.ts
CHANGED
package/lib/Switch/Switch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import { useEventListener } from 'ahooks';
|
|
4
3
|
import * as React from 'react';
|
|
4
|
+
import { useEventListener } from 'ahooks';
|
|
5
5
|
import handleProps from '../utils/handleProps';
|
|
6
6
|
const Switch = props => {
|
|
7
7
|
const currentNode = React.useRef(null);
|
|
@@ -3,8 +3,9 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["className", "style", "id", "onChange", "type", "color"];
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import
|
|
6
|
+
import * as React from 'react';
|
|
7
7
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
|
+
import { Switch as RemaxSwitch } from '@ray-js/adapter';
|
|
8
9
|
const Switch = props => {
|
|
9
10
|
const {
|
|
10
11
|
className,
|
|
@@ -3,8 +3,9 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["className", "style", "id", "onChange", "type", "color"];
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import
|
|
6
|
+
import * as React from 'react';
|
|
7
7
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
|
+
import { Switch as RemaxSwitch } from '@ray-core/wechat';
|
|
8
9
|
import './index.module.less';
|
|
9
10
|
const Switch = props => {
|
|
10
11
|
const {
|
package/lib/Switch/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { GenericEvent } from '@ray-js/adapter';
|
|
2
|
+
import { BaseProps } from '../types';
|
|
3
3
|
export interface SwitchProps extends BaseProps {
|
|
4
4
|
/**
|
|
5
5
|
* @description.en onChange
|
package/lib/Text/Text.d.ts
CHANGED
package/lib/Text/Text.js
CHANGED
package/lib/Text/Text.thing.d.ts
CHANGED
package/lib/Text/Text.thing.js
CHANGED
package/lib/Text/Text.wechat.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["onClick", "onLongClick", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"];
|
|
4
|
+
import * as React from 'react';
|
|
4
5
|
import { Text as RemaxText } from '@ray-core/wechat';
|
|
5
6
|
import { useTouch } from '@ray-js/framework-shared';
|
|
6
7
|
const Text = props => {
|
package/lib/Text/props.d.ts
CHANGED
package/lib/Textarea/Textarea.js
CHANGED
|
@@ -2,11 +2,11 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["className", "onInput", "onFocus", "onBlur"];
|
|
5
|
-
import { useEventListener } from 'ahooks';
|
|
6
|
-
import clsx from 'clsx';
|
|
7
5
|
import * as React from 'react';
|
|
8
|
-
import
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
import { useEventListener } from 'ahooks';
|
|
9
8
|
import styles from './index.module.less';
|
|
9
|
+
import handleProps from '../utils/handleProps';
|
|
10
10
|
const Textarea = props => {
|
|
11
11
|
const {
|
|
12
12
|
className,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["id", "className", "style", "value", "placeholderStyle", "placeholder", "onInput", "onFocus", "onLinechange", "onBlur", "maxLength", "disabled", "name", "autoHeight"];
|
|
4
|
-
import clsx from 'clsx';
|
|
5
4
|
import * as React from 'react';
|
|
6
|
-
import
|
|
5
|
+
import clsx from 'clsx';
|
|
7
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
|
+
import { Textarea as RemaxTextarea } from '@ray-js/adapter';
|
|
8
8
|
import styles from './index.module.less';
|
|
9
9
|
const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10
10
|
const {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["id", "className", "style", "value", "placeholderStyle", "placeholder", "onInput", "onFocus", "onBlur", "onLinechange", "maxLength", "disabled", "name", "autoHeight"];
|
|
4
|
-
import clsx from 'clsx';
|
|
5
4
|
import * as React from 'react';
|
|
6
|
-
import
|
|
5
|
+
import clsx from 'clsx';
|
|
7
6
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
|
+
import { Textarea as RemaxTextarea } from '@ray-core/wechat';
|
|
8
8
|
import styles from './index.module.less';
|
|
9
9
|
const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
10
10
|
const {
|
package/lib/Textarea/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps, FormEvent } from '../types';
|
|
3
|
+
import { GenericEvent } from '@ray-js/adapter';
|
|
4
4
|
export type TextareaEvent = FormEvent<{
|
|
5
5
|
value: string;
|
|
6
6
|
}>;
|
package/lib/Video/Video.d.ts
CHANGED
package/lib/Video/Video.js
CHANGED
package/lib/Video/Video.thing.js
CHANGED
package/lib/View/View.d.ts
CHANGED
package/lib/View/View.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["id", "className", "style", "children", "hoverClassName", "hoverStartTime", "hoverStayTime", "hoverable", "onClick", "onLongClick", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart", "onTransitionEnd"];
|
|
4
|
-
import
|
|
4
|
+
import * as React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
|
-
import * as React from 'react';
|
|
8
7
|
import handleProps from '../utils/handleProps';
|
|
8
|
+
import { filterProps, inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
9
9
|
import { defaultViewProps } from './props';
|
|
10
10
|
import styles from './index.module.less';
|
|
11
11
|
const View = /*#__PURE__*/React.forwardRef((props, ref) => {
|
package/lib/View/View.thing.d.ts
CHANGED
package/lib/View/View.thing.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["id", "className", "style", "hoverClassName", "hoverStartTime", "hoverStayTime", "children", "onLongClick", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onClick", "hoverable", "onTransitionEnd"];
|
|
4
|
-
import clsx from 'clsx';
|
|
5
4
|
import * as React from 'react';
|
|
6
|
-
import
|
|
7
|
-
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
5
|
+
import clsx from 'clsx';
|
|
8
6
|
import PropTypes from 'prop-types';
|
|
7
|
+
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
8
|
+
import { View as RemaxView } from '@ray-js/adapter';
|
|
9
9
|
import styles from './index.module.less';
|
|
10
10
|
const View = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
11
|
const {
|
package/lib/View/View.wechat.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["id", "className", "style", "hoverClassName", "hoverStartTime", "hoverStayTime", "children", "onLongClick", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onClick", "hoverable", "onTransitionEnd"];
|
|
4
|
-
import clsx from 'clsx';
|
|
5
4
|
import * as React from 'react';
|
|
6
|
-
import
|
|
5
|
+
import clsx from 'clsx';
|
|
7
6
|
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
7
|
+
import { View as RemaxView } from '@ray-core/wechat';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { defaultViewProps } from './props';
|
|
10
10
|
import styles from './index.module.less';
|
package/lib/View/props.d.ts
CHANGED