@ray-js/components 0.9.3 → 0.9.4-beta-1
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/RichText/RichText.d.ts +3 -2
- package/lib/RichText/RichText.js +5 -7
- package/lib/RichText/RichText.thing.d.ts +4 -0
- package/lib/RichText/RichText.thing.js +8 -0
- package/lib/RichText/RichText.wechat.d.ts +4 -0
- package/lib/RichText/RichText.wechat.js +8 -0
- package/lib/RichText/index.d.ts +1 -1
- package/lib/RichText/index.js +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.js +0 -3
- package/package.json +5 -5
- package/lib/Icon/iconfont-rn/iconfont.json +0 -189
- package/lib/LinearGradient/LinearGradient.d.ts +0 -4
- package/lib/LinearGradient/LinearGradient.js +0 -8
- package/lib/LinearGradient/LinearGradient.thing.d.ts +0 -4
- package/lib/LinearGradient/LinearGradient.thing.js +0 -56
- package/lib/LinearGradient/LinearGradient.wechat.d.ts +0 -4
- package/lib/LinearGradient/LinearGradient.wechat.js +0 -53
- package/lib/LinearGradient/index.d.ts +0 -3
- package/lib/LinearGradient/index.js +0 -3
- package/lib/LinearGradient/index.module.less +0 -7
- package/lib/LinearGradient/props.d.ts +0 -58
- package/lib/LinearGradient/props.js +0 -11
- package/lib/Modal/Modal.d.ts +0 -4
- package/lib/Modal/Modal.js +0 -10
- package/lib/Modal/Modal.thing.d.ts +0 -4
- package/lib/Modal/Modal.thing.js +0 -75
- package/lib/Modal/Modal.wechat.d.ts +0 -4
- package/lib/Modal/Modal.wechat.js +0 -75
- package/lib/Modal/index.d.ts +0 -3
- package/lib/Modal/index.js +0 -3
- package/lib/Modal/index.module.less +0 -46
- package/lib/Modal/props.d.ts +0 -51
- package/lib/Modal/props.js +0 -1
- package/lib/RadialGradient/RadialGradient.d.ts +0 -4
- package/lib/RadialGradient/RadialGradient.js +0 -8
- package/lib/RadialGradient/RadialGradient.thing.d.ts +0 -4
- package/lib/RadialGradient/RadialGradient.thing.js +0 -36
- package/lib/RadialGradient/RadialGradient.wechat.d.ts +0 -4
- package/lib/RadialGradient/RadialGradient.wechat.js +0 -36
- package/lib/RadialGradient/index.d.ts +0 -3
- package/lib/RadialGradient/index.js +0 -3
- package/lib/RadialGradient/index.module.less +0 -7
- package/lib/RadialGradient/props.d.ts +0 -64
- package/lib/RadialGradient/props.js +0 -16
- package/lib/RichText/RichText.web.d.ts +0 -4
- package/lib/RichText/RichText.web.js +0 -7
- package/lib/RichText/props.d.ts +0 -29
- package/lib/RichText/props.js +0 -1
@@ -1,64 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { BaseProps } from '../types';
|
3
|
-
interface StopsProps {
|
4
|
-
offset: string;
|
5
|
-
stopColor: string;
|
6
|
-
}
|
7
|
-
export interface RadialGradientProps extends BaseProps {
|
8
|
-
/**
|
9
|
-
* @description.en width
|
10
|
-
* @description.zh 宽度
|
11
|
-
* @default undefined
|
12
|
-
*/
|
13
|
-
width: number;
|
14
|
-
/**
|
15
|
-
* @description.en height
|
16
|
-
* @description.zh 高度
|
17
|
-
* @default undefined
|
18
|
-
*/
|
19
|
-
height: number;
|
20
|
-
/**
|
21
|
-
* @description.zh 最外侧圆的x轴坐标点
|
22
|
-
* @description.en The x-axis coordinate point of the outermost circle
|
23
|
-
* @default '50%'
|
24
|
-
*/
|
25
|
-
fx?: string;
|
26
|
-
/**
|
27
|
-
* @description.zh 最内侧圆的y轴坐标点(渐变中心点)
|
28
|
-
* @description.en The y-axis coordinate point of the innermost circle (gradient center point)
|
29
|
-
* @default '50%'
|
30
|
-
*/
|
31
|
-
fy?: string;
|
32
|
-
/**
|
33
|
-
* @description.zh 最内侧圆水平方向的半径(渐变长度)
|
34
|
-
* @description.en The horizontal radius of the innermost circle (gradient length)
|
35
|
-
* @default '50%'
|
36
|
-
*/
|
37
|
-
rx?: string;
|
38
|
-
/**
|
39
|
-
* @description.zh 最内侧圆垂直方向的半径(渐变高度)
|
40
|
-
* @description.en The vertical radius of the innermost circle (gradient height)
|
41
|
-
* @default '50%'
|
42
|
-
*/
|
43
|
-
ry?: string;
|
44
|
-
/**
|
45
|
-
* @description.zh 渐变梯度停点
|
46
|
-
* @description.en The stop point of gradient
|
47
|
-
* @default [{ offset: '0%', stopColor: '#ff0', stopOpacity: '1' }, { offset: '100%', stopColor: '#00f', stopOpacity: '1' }]
|
48
|
-
*/
|
49
|
-
stops?: StopsProps[];
|
50
|
-
children?: React.ReactElement;
|
51
|
-
}
|
52
|
-
export declare const defaultRadialGradient: {
|
53
|
-
style: null;
|
54
|
-
rx: string;
|
55
|
-
ry: string;
|
56
|
-
fx: string;
|
57
|
-
fy: string;
|
58
|
-
stops: {
|
59
|
-
offset: string;
|
60
|
-
stopColor: string;
|
61
|
-
stopOpacity: string;
|
62
|
-
}[];
|
63
|
-
};
|
64
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export var defaultRadialGradient = {
|
2
|
-
style: null,
|
3
|
-
rx: '50%',
|
4
|
-
ry: '50%',
|
5
|
-
fx: '50%',
|
6
|
-
fy: '50%',
|
7
|
-
stops: [{
|
8
|
-
offset: '0%',
|
9
|
-
stopColor: '#ff0',
|
10
|
-
stopOpacity: '1'
|
11
|
-
}, {
|
12
|
-
offset: '100%',
|
13
|
-
stopColor: '#00f',
|
14
|
-
stopOpacity: '1'
|
15
|
-
}]
|
16
|
-
};
|
package/lib/RichText/props.d.ts
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
export interface RichTextNode {
|
2
|
-
/**
|
3
|
-
* @description.en tagName
|
4
|
-
* @description.zh 标签名
|
5
|
-
* @default null
|
6
|
-
*/
|
7
|
-
name?: string;
|
8
|
-
/**
|
9
|
-
* @description.en attribute
|
10
|
-
* @description.zh 属性
|
11
|
-
* @default null
|
12
|
-
*/
|
13
|
-
attrs?: Record<string, any>;
|
14
|
-
/**
|
15
|
-
* @description.en Child node list
|
16
|
-
* @description.zh 子节点列表
|
17
|
-
* @default null
|
18
|
-
*/
|
19
|
-
children?: RichTextNode[];
|
20
|
-
[k: string]: any;
|
21
|
-
}
|
22
|
-
export interface RichTextProps {
|
23
|
-
/**
|
24
|
-
* @description.en Node list /HTML String
|
25
|
-
* @description.zh 节点列表/HTML String
|
26
|
-
* @default null
|
27
|
-
*/
|
28
|
-
nodes: string | RichTextNode[];
|
29
|
-
}
|
package/lib/RichText/props.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|