@ray-js/components 1.7.20 → 1.7.22
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 +1 -2
- package/lib/Button/Button.thing.d.ts +2 -2
- package/lib/Button/Button.thing.js +1 -2
- package/lib/Button/Button.wechat.d.ts +2 -2
- package/lib/Button/Button.wechat.js +1 -2
- package/lib/Button/props.d.ts +2 -2
- package/lib/Camera/Camera.d.ts +2 -2
- package/lib/Camera/Camera.js +0 -1
- package/lib/Camera/Camera.thing.d.ts +2 -2
- package/lib/Camera/Camera.thing.js +0 -1
- package/lib/Camera/Camera.wechat.js +1 -1
- package/lib/Checkbox/Checkbox.d.ts +2 -2
- package/lib/Checkbox/Checkbox.js +0 -1
- package/lib/Checkbox/Checkbox.thing.d.ts +2 -2
- package/lib/Checkbox/Checkbox.thing.js +1 -2
- package/lib/Checkbox/Checkbox.wechat.d.ts +2 -2
- package/lib/Checkbox/Checkbox.wechat.js +1 -2
- 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 +0 -1
- package/lib/CheckboxGroup/CheckboxGroup.wechat.d.ts +2 -2
- package/lib/CheckboxGroup/CheckboxGroup.wechat.js +0 -1
- 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 +0 -1
- 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 +0 -1
- package/lib/Form/Form.wechat.d.ts +2 -2
- package/lib/Form/Form.wechat.js +0 -1
- package/lib/Form/props.d.ts +1 -1
- package/lib/Iframe/Iframe.thing.d.ts +2 -2
- package/lib/Iframe/Iframe.thing.js +0 -1
- 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 +1 -2
- package/lib/Image/Image.wechat.d.ts +2 -2
- package/lib/Image/Image.wechat.js +1 -2
- 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 +3 -3
- package/lib/IpcPlayer/IpcPlayer.d.ts +2 -2
- package/lib/IpcPlayer/IpcPlayer.js +0 -1
- package/lib/IpcPlayer/IpcPlayer.thing.d.ts +2 -2
- package/lib/IpcPlayer/IpcPlayer.thing.js +0 -1
- package/lib/IpcPlayer/IpcPlayer.wechat.js +1 -1
- package/lib/Label/Label.d.ts +2 -2
- package/lib/Label/Label.js +0 -1
- package/lib/Label/Label.thing.d.ts +2 -2
- package/lib/Label/Label.thing.js +1 -2
- package/lib/Label/Label.wechat.d.ts +2 -2
- package/lib/Label/Label.wechat.js +1 -2
- package/lib/Label/props.d.ts +1 -1
- package/lib/Map/Map.d.ts +2 -2
- package/lib/Map/Map.js +0 -1
- package/lib/Map/Map.thing.d.ts +2 -2
- package/lib/Map/Map.thing.js +0 -1
- package/lib/Map/Map.wechat.d.ts +2 -2
- package/lib/Map/Map.wechat.js +0 -1
- 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 +1 -2
- package/lib/MovableArea/MovableArea.thing.d.ts +2 -2
- package/lib/MovableArea/MovableArea.thing.js +0 -1
- package/lib/MovableArea/MovableArea.wechat.d.ts +2 -2
- package/lib/MovableArea/MovableArea.wechat.js +0 -1
- 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 +0 -1
- package/lib/MovableView/MovableView.wechat.d.ts +2 -2
- package/lib/MovableView/MovableView.wechat.js +0 -1
- package/lib/NativeVideo/NativeVideo.d.ts +2 -2
- package/lib/NativeVideo/NativeVideo.js +0 -1
- package/lib/NativeVideo/NativeVideo.thing.d.ts +2 -2
- package/lib/NativeVideo/NativeVideo.thing.js +0 -1
- 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 +1 -2
- package/lib/Picker/Picker.wechat.d.ts +2 -2
- package/lib/Picker/Picker.wechat.js +1 -2
- 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 +2 -3
- package/lib/PickerView/PickerView.wechat.d.ts +2 -2
- package/lib/PickerView/PickerView.wechat.js +2 -3
- package/lib/PickerViewColumn/PickerViewColumn.d.ts +2 -2
- package/lib/PickerViewColumn/PickerViewColumn.js +0 -1
- package/lib/PickerViewColumn/PickerViewColumn.thing.d.ts +1 -1
- package/lib/PickerViewColumn/PickerViewColumn.thing.js +1 -2
- package/lib/PickerViewColumn/PickerViewColumn.wechat.d.ts +1 -1
- package/lib/PickerViewColumn/PickerViewColumn.wechat.js +1 -2
- package/lib/Progress/Progress.d.ts +2 -2
- package/lib/Progress/Progress.js +0 -1
- package/lib/Progress/Progress.thing.d.ts +2 -2
- package/lib/Progress/Progress.thing.js +1 -2
- package/lib/Progress/Progress.wechat.d.ts +2 -2
- package/lib/Progress/Progress.wechat.js +1 -2
- package/lib/Radio/Radio.d.ts +2 -2
- package/lib/Radio/Radio.js +0 -1
- package/lib/Radio/Radio.thing.d.ts +2 -2
- package/lib/Radio/Radio.thing.js +1 -2
- package/lib/Radio/Radio.wechat.d.ts +2 -2
- package/lib/Radio/Radio.wechat.js +1 -2
- 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 +2 -3
- package/lib/RadioGroup/RadioGroup.wechat.d.ts +2 -2
- package/lib/RadioGroup/RadioGroup.wechat.js +1 -2
- package/lib/RadioGroup/props.d.ts +3 -3
- package/lib/RichText/RichText.d.ts +2 -2
- package/lib/RichText/RichText.js +0 -1
- package/lib/RichText/RichText.thing.d.ts +2 -2
- package/lib/RichText/RichText.thing.js +0 -1
- package/lib/RichText/RichText.wechat.d.ts +2 -2
- package/lib/RichText/RichText.wechat.js +0 -1
- 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 +1 -2
- package/lib/ScrollView/ScrollView.wechat.d.ts +2 -2
- package/lib/ScrollView/ScrollView.wechat.js +1 -2
- 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 +1 -2
- package/lib/Slider/Slider.wechat.d.ts +2 -2
- package/lib/Slider/Slider.wechat.js +1 -2
- 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 +0 -1
- package/lib/SwiperItem/SwiperItem.thing.d.ts +2 -2
- package/lib/SwiperItem/SwiperItem.thing.js +1 -2
- package/lib/SwiperItem/SwiperItem.wechat.d.ts +2 -2
- package/lib/SwiperItem/SwiperItem.wechat.js +1 -2
- 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 +1 -2
- package/lib/Switch/Switch.wechat.d.ts +2 -2
- package/lib/Switch/Switch.wechat.js +1 -2
- package/lib/Switch/props.d.ts +2 -2
- package/lib/Text/Text.d.ts +2 -2
- package/lib/Text/Text.js +0 -1
- package/lib/Text/Text.thing.d.ts +2 -2
- package/lib/Text/Text.thing.js +0 -1
- package/lib/Text/Text.wechat.d.ts +2 -2
- package/lib/Text/Text.wechat.js +0 -1
- 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 +0 -1
- package/lib/Video/Video.thing.d.ts +2 -2
- package/lib/Video/Video.thing.js +0 -1
- package/lib/Video/Video.wechat.d.ts +2 -2
- package/lib/Video/Video.wechat.js +0 -1
- 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 +0 -1
- package/lib/WebView/WebView.thing.d.ts +2 -2
- package/lib/WebView/WebView.thing.js +0 -1
- package/lib/WebView/WebView.wechat.d.ts +2 -2
- package/lib/WebView/WebView.wechat.js +0 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +5 -5
package/lib/Map/Map.js
CHANGED
package/lib/Map/Map.thing.d.ts
CHANGED
package/lib/Map/Map.thing.js
CHANGED
package/lib/Map/Map.wechat.d.ts
CHANGED
package/lib/Map/Map.wechat.js
CHANGED
package/lib/Modal/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
export default function Modal({ children }: React.PropsWithChildren<Record<string, any>>): any;
|
package/lib/Modal/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import handleProps from '../utils/handleProps';
|
|
5
3
|
import { MovableArea as RemaxMovableArea } from '@ray-js/adapter';
|
|
4
|
+
import handleProps from '../utils/handleProps';
|
|
6
5
|
export const MovableArea = props => {
|
|
7
6
|
const restProps = _extends({}, (_objectDestructuringEmpty(props), props));
|
|
8
7
|
// @ts-ignore
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MovableAreaProps } from '@ray-js/adapter';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type MovableAreaProps } from '@ray-js/adapter';
|
|
3
3
|
declare const MovableArea: React.FC<MovableAreaProps>;
|
|
4
4
|
export default MovableArea;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MovableAreaProps } from '@ray-js/adapter';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type MovableAreaProps } from '@ray-js/adapter';
|
|
3
3
|
declare const MovableArea: React.FC<MovableAreaProps>;
|
|
4
4
|
export default MovableArea;
|
|
@@ -2,10 +2,10 @@ 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 = ["onChange", "onScale"];
|
|
5
|
-
import
|
|
5
|
+
import { MovableView as RemaxMovableView } from '@ray-js/adapter';
|
|
6
6
|
import { useEventListener } from 'ahooks';
|
|
7
|
+
import React from 'react';
|
|
7
8
|
import handleProps from '../utils/handleProps';
|
|
8
|
-
import { MovableView as RemaxMovableView } from '@ray-js/adapter';
|
|
9
9
|
export const MovableView = props => {
|
|
10
10
|
const {
|
|
11
11
|
onChange,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MovableViewProps } from '@ray-js/adapter';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type MovableViewProps } from '@ray-js/adapter';
|
|
3
3
|
declare const MovableView: React.FC<MovableViewProps>;
|
|
4
4
|
export default MovableView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MovableViewProps } from '@ray-js/adapter';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type MovableViewProps } from '@ray-js/adapter';
|
|
3
3
|
declare const MovableView: React.FC<MovableViewProps>;
|
|
4
4
|
export default MovableView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NativeVideoProps } from '@ray-js/adapter';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type NativeVideoProps } from '@ray-js/adapter';
|
|
3
3
|
declare const NativeVideo: React.FC<NativeVideoProps>;
|
|
4
4
|
export default NativeVideo;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import React, { useRef } from 'react';
|
|
4
3
|
import { useEventListener } from 'ahooks';
|
|
5
|
-
import {
|
|
4
|
+
import React, { useRef } from 'react';
|
|
6
5
|
import handleProps from '../utils/handleProps';
|
|
6
|
+
import { defaultPageContainerProps } from './props';
|
|
7
7
|
const PageContainer = props => {
|
|
8
8
|
const {
|
|
9
9
|
children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import {
|
|
1
|
+
import type { GenericEvent } from '@ray-js/adapter';
|
|
2
|
+
import type * as React from 'react';
|
|
3
|
+
import type { BaseProps } from '../types';
|
|
4
4
|
export type PageContainerEventType = GenericEvent<{
|
|
5
5
|
value: any;
|
|
6
6
|
}>;
|
package/lib/Picker/Picker.d.ts
CHANGED
package/lib/Picker/Picker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import * as React from 'react';
|
|
4
3
|
import { useTouch } from '@ray-js/framework-shared';
|
|
5
4
|
import { useEventListener } from 'ahooks';
|
|
5
|
+
import * as React from 'react';
|
|
6
6
|
import handleProps from '../utils/handleProps';
|
|
7
7
|
let countArr = 1;
|
|
8
8
|
const Picker = props => {
|
|
@@ -3,9 +3,8 @@ 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", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onClick", "onCancel"];
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
8
6
|
import { Picker as RemaxPicker } from '@ray-js/adapter';
|
|
7
|
+
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
9
8
|
const Picker = props => {
|
|
10
9
|
const {
|
|
11
10
|
className,
|
|
@@ -3,9 +3,8 @@ 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", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onClick", "onCancel"];
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
8
6
|
import { Picker as RemaxPicker } from '@ray-js/adapter';
|
|
7
|
+
import { inlineStyle, useTouch } from '@ray-js/framework-shared';
|
|
9
8
|
const Picker = props => {
|
|
10
9
|
const {
|
|
11
10
|
className,
|
|
@@ -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 "core-js/modules/esnext.iterator.constructor.js";
|
|
4
4
|
import "core-js/modules/esnext.iterator.map.js";
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import clsx from 'clsx';
|
|
7
5
|
import { useEventListener } from 'ahooks';
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
import * as React from 'react';
|
|
8
8
|
import PickerViewColumn from '../PickerViewColumn';
|
|
9
9
|
import handleProps from '../utils/handleProps';
|
|
10
10
|
import styles from './index.module.less';
|
|
@@ -2,10 +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 = ["className", "style", "id", "onChange", "onPickstart", "onPickend", "children"];
|
|
5
|
-
import clsx from 'clsx';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
5
|
import { PickerView as RemaxPickerView } from '@ray-js/adapter';
|
|
6
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
|
+
import clsx from 'clsx';
|
|
9
8
|
import styles from './index.module.less';
|
|
10
9
|
const Picker = props => {
|
|
11
10
|
const {
|
|
@@ -2,10 +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 = ["className", "style", "id", "onChange", "onPickstart", "onPickend", "children"];
|
|
5
|
-
import clsx from 'clsx';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
5
|
import { PickerView as RemaxPickerView } from '@ray-js/adapter';
|
|
6
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
|
+
import clsx from 'clsx';
|
|
9
8
|
import styles from './index.module.less';
|
|
10
9
|
const Picker = props => {
|
|
11
10
|
const {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { PickerViewColumnProps } from '@ray-js/adapter';
|
|
2
|
+
import type * as React from 'react';
|
|
3
3
|
declare const PickerViewColumn: React.FC<PickerViewColumnProps>;
|
|
4
4
|
export default PickerViewColumn;
|
|
@@ -1,9 +1,8 @@
|
|
|
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 * as React from 'react';
|
|
5
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
6
4
|
import { PickerViewColumn as RemaxViewColumnPicker } from '@ray-js/adapter';
|
|
5
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
6
|
const PickerViewColumn = props => {
|
|
8
7
|
const {
|
|
9
8
|
style
|
|
@@ -1,9 +1,8 @@
|
|
|
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 * as React from 'react';
|
|
5
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
6
4
|
import { PickerViewColumn as RemaxViewColumnPicker } from '@ray-js/adapter';
|
|
5
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
6
|
const PickerViewColumn = props => {
|
|
8
7
|
const {
|
|
9
8
|
style
|
package/lib/Progress/Progress.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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 * as React from 'react';
|
|
5
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
6
4
|
import { Progress as RemaxProgress } from '@ray-js/adapter';
|
|
5
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
6
|
const Progress = props => {
|
|
8
7
|
const {
|
|
9
8
|
style
|
|
@@ -1,9 +1,8 @@
|
|
|
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 * as React from 'react';
|
|
5
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
6
4
|
import { Progress as RemaxProgress } from '@ray-js/adapter';
|
|
5
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
6
|
const Progress = props => {
|
|
8
7
|
const {
|
|
9
8
|
style
|
package/lib/Radio/Radio.d.ts
CHANGED
package/lib/Radio/Radio.js
CHANGED
package/lib/Radio/Radio.thing.js
CHANGED
|
@@ -2,9 +2,8 @@ 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 * as React from 'react';
|
|
6
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
5
|
import { Radio as RemaxRadio } from '@ray-js/adapter';
|
|
6
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
7
|
const Radio = props => {
|
|
9
8
|
const {
|
|
10
9
|
className,
|
|
@@ -2,9 +2,8 @@ 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", "color"];
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { inlineStyle } from '@ray-js/framework-shared';
|
|
7
5
|
import { Radio as RemaxRadio } from '@ray-core/wechat';
|
|
6
|
+
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
7
|
const Radio = props => {
|
|
9
8
|
const {
|
|
10
9
|
className,
|
package/lib/Radio/props.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import "core-js/modules/esnext.iterator.constructor.js";
|
|
4
4
|
import "core-js/modules/esnext.iterator.map.js";
|
|
5
|
-
import * as React from 'react';
|
|
6
5
|
import { useEventListener } from 'ahooks';
|
|
6
|
+
import * as React from 'react';
|
|
7
7
|
import handleProps from '../utils/handleProps';
|
|
8
8
|
const RadioGroup = props => {
|
|
9
9
|
const {
|
|
@@ -3,11 +3,10 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
3
3
|
const _excluded = ["options", "name", "disabled", "onChange", "children", "style"];
|
|
4
4
|
import "core-js/modules/esnext.iterator.constructor.js";
|
|
5
5
|
import "core-js/modules/esnext.iterator.map.js";
|
|
6
|
-
import * as React from 'react';
|
|
7
6
|
import { RadioGroup as RemaxRadioGroup } from '@ray-js/adapter';
|
|
8
|
-
import Radio from '../Radio';
|
|
9
|
-
import Label from '../Label';
|
|
10
7
|
import { inlineStyle } from '@ray-js/framework-shared';
|
|
8
|
+
import Label from '../Label';
|
|
9
|
+
import Radio from '../Radio';
|
|
11
10
|
const RadioGroup = props => {
|
|
12
11
|
const {
|
|
13
12
|
options,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "core-js/modules/esnext.iterator.constructor.js";
|
|
2
2
|
import "core-js/modules/esnext.iterator.map.js";
|
|
3
|
-
import * as React from 'react';
|
|
4
3
|
import { RadioGroup as RemaxRadioGroup } from '@ray-core/wechat';
|
|
5
|
-
import Radio from '../Radio';
|
|
6
4
|
import Label from '../Label';
|
|
5
|
+
import Radio from '../Radio';
|
|
7
6
|
const RadioGroup = props => {
|
|
8
7
|
const {
|
|
9
8
|
options,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RadioProps } from '../Radio/props';
|
|
3
|
-
import {
|
|
1
|
+
import type { GenericEvent } from '@ray-js/adapter';
|
|
2
|
+
import type { RadioProps } from '../Radio/props';
|
|
3
|
+
import type { BaseProps } from '../types';
|
|
4
4
|
export type RadioGroupOption = RadioProps & {
|
|
5
5
|
label: string;
|
|
6
6
|
};
|