@ray-js/components 0.6.15 → 0.6.17

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.
@@ -1,5 +1,5 @@
1
- import { BaseProps, TouchEventHandler } from '../types';
2
- export interface CheckboxProps extends BaseProps, TouchEventHandler {
1
+ import { BaseProps } from '../types';
2
+ export interface CheckboxProps extends BaseProps {
3
3
  /**
4
4
  * @description.en If this parameter is selected, the change event of the checkbox-group is triggered and the value of the checkbox is carried
5
5
  * @description.zh checkbox标识,选中时触发checkbox-group的 change 事件,并携带 checkbox 的 value
@@ -1,9 +1,9 @@
1
- import { BaseProps, TouchEventHandler } from '../types';
1
+ import { BaseProps } from '../types';
2
2
  import { CheckboxProps } from '../Checkbox/props';
3
3
  export declare type CheckboxGroupOption = CheckboxProps & {
4
4
  label: string;
5
5
  };
6
- export interface CheckboxGroupProps extends BaseProps, TouchEventHandler {
6
+ export interface CheckboxGroupProps extends BaseProps {
7
7
  /**
8
8
  * @description.en options
9
9
  * @description.zh 群组项 (Web 端非必填)
@@ -1,5 +1,4 @@
1
1
  import { BaseProps } from '../types';
2
- import { TouchEventHandler } from '@ray-js/framework-shared';
3
2
  declare type changeValue = (e: {
4
3
  /**
5
4
  * @description.en type
@@ -24,7 +23,7 @@ declare type CancelEvent = (e: {
24
23
  type: string;
25
24
  origin: any;
26
25
  }) => void;
27
- export interface DatePickerProps extends BaseProps, TouchEventHandler {
26
+ export interface DatePickerProps extends BaseProps {
28
27
  /**
29
28
  * @description.en disabled
30
29
  * @description.zh 是否禁用
@@ -1,6 +1,5 @@
1
1
  import { BaseProps } from '../types';
2
- import { TouchEventHandler } from '@ray-js/framework-shared';
3
- export interface IconProps extends BaseProps, TouchEventHandler {
2
+ export interface IconProps extends BaseProps {
4
3
  /**
5
4
  * @description.en type
6
5
  * @description.zh 图标类型,类型名
@@ -1,5 +1,4 @@
1
1
  import { BaseProps } from '../types';
2
- import { TouchEventHandler } from '@ray-js/framework-shared';
3
2
  declare type ChangeEvent = (e: {
4
3
  /**
5
4
  * @description.en type
@@ -40,7 +39,7 @@ declare type ColumnChangeEvent = (e: {
40
39
  column: number;
41
40
  origin: any;
42
41
  }) => void;
43
- export interface PickerProps extends BaseProps, TouchEventHandler {
42
+ export interface PickerProps extends BaseProps {
44
43
  /**
45
44
  * @description.en disabled
46
45
  * @description.zh 是否禁用
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BaseProps, TouchEventHandler } from '../types';
3
- export interface PickerViewColumnProps extends BaseProps, TouchEventHandler {
2
+ import { BaseProps } from '../types';
3
+ export interface PickerViewColumnProps extends BaseProps {
4
4
  children?: React.ReactNode | string;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { BaseProps, TouchEventHandler } from '../types';
2
- export interface RadioProps extends BaseProps, TouchEventHandler {
1
+ import { BaseProps } from '../types';
2
+ export interface RadioProps extends BaseProps {
3
3
  /**
4
4
  * @description.en Radio id. When the radio is selected, the radio.group change event carries the value of the radio
5
5
  * @description.zh radio 标识。当该 radio 选中时,Radio.Group 的 change 事件会携带 radio 的 value
@@ -1,9 +1,9 @@
1
- import { BaseProps, TouchEventHandler } from '../types';
1
+ import { BaseProps } from '../types';
2
2
  import { RadioProps } from '../Radio/props';
3
3
  export declare type RadioGroupOption = RadioProps & {
4
4
  label: string;
5
5
  };
6
- export interface RadioGroupProps extends BaseProps, TouchEventHandler {
6
+ export interface RadioGroupProps extends BaseProps {
7
7
  /**
8
8
  * @description.en options
9
9
  * @description.zh 组项
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BaseProps, TouchEventHandler } from '../types';
3
- export interface SwiperItemProps extends BaseProps, TouchEventHandler {
2
+ import { BaseProps } from '../types';
3
+ export interface SwiperItemProps extends BaseProps {
4
4
  children?: React.ReactNode | string;
5
5
  }
@@ -1,5 +1,4 @@
1
1
  import { BaseProps } from '../types';
2
- import { TouchEventHandler } from '@ray-js/framework-shared';
3
2
  declare type ChangeEvent = (e: {
4
3
  /**
5
4
  * @description.en type
@@ -24,7 +23,7 @@ declare type CancelEvent = (e: {
24
23
  type: string;
25
24
  origin: any;
26
25
  }) => void;
27
- export interface TimePickerProps extends BaseProps, TouchEventHandler {
26
+ export interface TimePickerProps extends BaseProps {
28
27
  /**
29
28
  * @description.en disabled
30
29
  * @description.zh 是否禁用
@@ -1,5 +1,5 @@
1
- import { BaseProps, TouchEventHandler } from '../types';
2
- export interface ViewProps extends BaseProps, TouchEventHandler {
1
+ import { BaseProps } from '../types';
2
+ export interface ViewProps extends BaseProps {
3
3
  /**
4
4
  * @description.en hoverClassName
5
5
  * @description.zh hover 样式
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface BaseProps {
2
+ export interface BaseProps extends TouchEventHandler {
3
3
  /**
4
4
  * @description.en id
5
5
  * @description.zh ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/components",
3
- "version": "0.6.15",
3
+ "version": "0.6.17",
4
4
  "description": "Ray basic components",
5
5
  "keywords": [
6
6
  "ray"
@@ -26,7 +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.6.15",
29
+ "@ray-js/adapter": "^0.6.17",
30
+ "@ray-js/framework-shared": "^0.6.17",
30
31
  "ahooks": "^3.7.1",
31
32
  "clsx": "^1.1.1",
32
33
  "core-js": "^3.19.1",
@@ -36,7 +37,7 @@
36
37
  "style-to-object": "^0.3.0"
37
38
  },
38
39
  "devDependencies": {
39
- "@ray-js/cli": "^0.6.15"
40
+ "@ray-js/cli": "^0.6.17"
40
41
  },
41
42
  "maintainers": [
42
43
  {
@@ -44,6 +45,6 @@
44
45
  "email": "tuyafe@tuya.com"
45
46
  }
46
47
  ],
47
- "gitHead": "dd94b99d251c120d07e46675584823b9f89a89f8",
48
+ "gitHead": "a098d6138bbfc1210f9b2c166dfe983b9a86cc40",
48
49
  "repository": {}
49
50
  }