pixuireactcomponents 1.1.21 → 1.1.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/README.md +5 -5
- package/index.d.ts +15 -15
- package/index.js +16 -16
- package/package.json +11 -11
- package/tools/EventDispatcherJs.d.ts +10 -10
- package/tools/EventDispatcherJs.js +71 -71
- package/tools/Logger.d.ts +6 -6
- package/tools/Logger.js +138 -138
- package/tools/tools.md +21 -21
- package/ui/components/button/Button.d.ts +5 -5
- package/ui/components/button/Button.js +37 -37
- package/ui/components/carousel/Carousel.d.ts +5 -5
- package/ui/components/carousel/Carousel.js +219 -219
- package/ui/components/dropdown/Dropdown.d.ts +30 -30
- package/ui/components/dropdown/Dropdown.js +92 -92
- package/ui/components/dropdown/DropdownOptionUI.d.ts +11 -11
- package/ui/components/dropdown/DropdownOptionUI.js +28 -28
- package/ui/components/dropdown/DropdownSpreadMainUI.d.ts +9 -9
- package/ui/components/dropdown/DropdownSpreadMainUI.js +27 -27
- package/ui/components/dropdown/DropdownUnspreadMainUI.d.ts +9 -9
- package/ui/components/dropdown/DropdownUnspreadMainUI.js +27 -27
- package/ui/components/gradient/GradientText.d.ts +63 -63
- package/ui/components/gradient/GradientText.js +329 -329
- package/ui/components/outlinetext/OutlineText.d.ts +73 -73
- package/ui/components/outlinetext/OutlineText.js +157 -157
- package/ui/components/progress/Progress.d.ts +34 -34
- package/ui/components/progress/Progress.js +142 -142
- package/ui/components/slapface/Slapface.d.ts +12 -12
- package/ui/components/slapface/Slapface.js +224 -227
- package/ui/components/slapface/less/Slapface.less +125 -0
- package/ui/components/slider/Slider.d.ts +57 -57
- package/ui/components/slider/Slider.js +289 -289
- package/ui/components/tab/Tab.d.ts +6 -6
- package/ui/components/tab/Tab.js +27 -27
- package/ui/components/tab/Tabs.d.ts +12 -12
- package/ui/components/tab/Tabs.js +54 -54
- package/ui/ui.md +1 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { Component, h } from 'preact';
|
|
2
|
-
export interface SliderProps {
|
|
3
|
-
percent: number;
|
|
4
|
-
wrapperWidth: number;
|
|
5
|
-
wrapperHeight: number;
|
|
6
|
-
height: number;
|
|
7
|
-
innerHeight?: number;
|
|
8
|
-
dotWidth: number;
|
|
9
|
-
dotHeight: number;
|
|
10
|
-
dotWrapperWidth: number;
|
|
11
|
-
dotWrapperHeight: number;
|
|
12
|
-
outerBg: string;
|
|
13
|
-
innerBg: string;
|
|
14
|
-
dotBg: string;
|
|
15
|
-
onDragStart: Function | null;
|
|
16
|
-
onDrag: Function | null;
|
|
17
|
-
onDragEnd: Function | null;
|
|
18
|
-
isDiscrete: boolean | null;
|
|
19
|
-
discrete?: number;
|
|
20
|
-
maxDiscrete?: number;
|
|
21
|
-
hasIncDecButton: boolean | null;
|
|
22
|
-
incButtonWidth?: number;
|
|
23
|
-
incButtonHeight?: number;
|
|
24
|
-
decButtonWidth?: number;
|
|
25
|
-
decButtonHeight?: number;
|
|
26
|
-
incButtonBg?: string;
|
|
27
|
-
decButtonBg?: string;
|
|
28
|
-
overallWidth?: number;
|
|
29
|
-
onIncClick?: Function | null;
|
|
30
|
-
onDecClick?: Function | null;
|
|
31
|
-
rangeControl?: boolean;
|
|
32
|
-
startRange?: number;
|
|
33
|
-
endRange?: number;
|
|
34
|
-
}
|
|
35
|
-
export declare class Slider extends Component<SliderProps, {
|
|
36
|
-
percent: number;
|
|
37
|
-
}> {
|
|
38
|
-
discrete: number;
|
|
39
|
-
private refWrapper;
|
|
40
|
-
constructor(props: any);
|
|
41
|
-
componentDidMount(): void;
|
|
42
|
-
componentWillReceiveProps(nextProps: any): void;
|
|
43
|
-
onDragStart: (event: any) => void;
|
|
44
|
-
onDrag: (event: any) => void;
|
|
45
|
-
onDragEnd: (event: any) => void;
|
|
46
|
-
onDecClick: () => void;
|
|
47
|
-
onIncClick: () => void;
|
|
48
|
-
computeWrapperStyle: () => void;
|
|
49
|
-
computeOuterStyle: () => void;
|
|
50
|
-
computeInnerStyle: () => void;
|
|
51
|
-
computeDotWrapperStyle: () => void;
|
|
52
|
-
computeDotStyle: () => void;
|
|
53
|
-
computeIncButtonStyle: () => void;
|
|
54
|
-
computeDecButtonStyle: () => void;
|
|
55
|
-
computeWithButtonStyle: () => void;
|
|
56
|
-
render(): h.JSX.Element;
|
|
57
|
-
}
|
|
1
|
+
import { Component, h } from 'preact';
|
|
2
|
+
export interface SliderProps {
|
|
3
|
+
percent: number;
|
|
4
|
+
wrapperWidth: number;
|
|
5
|
+
wrapperHeight: number;
|
|
6
|
+
height: number;
|
|
7
|
+
innerHeight?: number;
|
|
8
|
+
dotWidth: number;
|
|
9
|
+
dotHeight: number;
|
|
10
|
+
dotWrapperWidth: number;
|
|
11
|
+
dotWrapperHeight: number;
|
|
12
|
+
outerBg: string;
|
|
13
|
+
innerBg: string;
|
|
14
|
+
dotBg: string;
|
|
15
|
+
onDragStart: Function | null;
|
|
16
|
+
onDrag: Function | null;
|
|
17
|
+
onDragEnd: Function | null;
|
|
18
|
+
isDiscrete: boolean | null;
|
|
19
|
+
discrete?: number;
|
|
20
|
+
maxDiscrete?: number;
|
|
21
|
+
hasIncDecButton: boolean | null;
|
|
22
|
+
incButtonWidth?: number;
|
|
23
|
+
incButtonHeight?: number;
|
|
24
|
+
decButtonWidth?: number;
|
|
25
|
+
decButtonHeight?: number;
|
|
26
|
+
incButtonBg?: string;
|
|
27
|
+
decButtonBg?: string;
|
|
28
|
+
overallWidth?: number;
|
|
29
|
+
onIncClick?: Function | null;
|
|
30
|
+
onDecClick?: Function | null;
|
|
31
|
+
rangeControl?: boolean;
|
|
32
|
+
startRange?: number;
|
|
33
|
+
endRange?: number;
|
|
34
|
+
}
|
|
35
|
+
export declare class Slider extends Component<SliderProps, {
|
|
36
|
+
percent: number;
|
|
37
|
+
}> {
|
|
38
|
+
discrete: number;
|
|
39
|
+
private refWrapper;
|
|
40
|
+
constructor(props: any);
|
|
41
|
+
componentDidMount(): void;
|
|
42
|
+
componentWillReceiveProps(nextProps: any): void;
|
|
43
|
+
onDragStart: (event: any) => void;
|
|
44
|
+
onDrag: (event: any) => void;
|
|
45
|
+
onDragEnd: (event: any) => void;
|
|
46
|
+
onDecClick: () => void;
|
|
47
|
+
onIncClick: () => void;
|
|
48
|
+
computeWrapperStyle: () => void;
|
|
49
|
+
computeOuterStyle: () => void;
|
|
50
|
+
computeInnerStyle: () => void;
|
|
51
|
+
computeDotWrapperStyle: () => void;
|
|
52
|
+
computeDotStyle: () => void;
|
|
53
|
+
computeIncButtonStyle: () => void;
|
|
54
|
+
computeDecButtonStyle: () => void;
|
|
55
|
+
computeWithButtonStyle: () => void;
|
|
56
|
+
render(): h.JSX.Element;
|
|
57
|
+
}
|