@proprioo/salatim 37.0.3 → 37.0.4
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.
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type RoleKey = 'mandate' | 'lead' | 'viewingAgent' | 'projectOwner';
|
|
3
|
+
export type RoleValue = {
|
|
4
|
+
agentId: number;
|
|
5
|
+
percent: number;
|
|
6
|
+
};
|
|
7
|
+
export type FeesInputOutputSliderValues = {
|
|
8
|
+
mandate: RoleValue;
|
|
9
|
+
lead: RoleValue;
|
|
10
|
+
viewingAgent: RoleValue;
|
|
11
|
+
projectOwner: RoleValue;
|
|
12
|
+
};
|
|
13
|
+
export interface FeesInputOutputSliderProps {
|
|
14
|
+
values: FeesInputOutputSliderValues;
|
|
15
|
+
min?: number;
|
|
16
|
+
max?: number;
|
|
17
|
+
step?: number;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
onChange(values: FeesInputOutputSliderValues): void;
|
|
20
|
+
thumbColors?: string[];
|
|
21
|
+
dataTestSliderWrapper?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const FeesInputOutputSlider: React.FC<FeesInputOutputSliderProps>;
|
|
24
|
+
export default FeesInputOutputSlider;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Track: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const TrackSegment: import("styled-components").StyledComponent<"div", any, {
|
|
6
|
+
left: number;
|
|
7
|
+
width: number;
|
|
8
|
+
color: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const Thumb: import("styled-components").StyledComponent<"button", any, {
|
|
12
|
+
color: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}, never>;
|
|
15
|
+
export declare const SegmentLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
|
+
export declare const LabelsColumn: import("styled-components").StyledComponent<"div", any, {}, never>;
|