@vizzly/dashboard 0.12.5 → 0.12.6-dev-2c47bcdc7a4ef0a29094dc32a04bb59fba97930f
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/dist/index.js +1 -1
- package/dist/shared-logic/src/Theme/types.d.ts +11 -0
- package/dist/shared-ui/src/base/Icon.styles.d.ts +2 -2
- package/dist/shared-ui/src/base/ListView/OptionIcon.d.ts +1 -0
- package/dist/shared-ui/src/base/Modal/Modal.types.d.ts +3 -0
- package/dist/shared-ui/src/components/Icons/icons.func.d.ts +18 -0
- package/dist/shared-ui/src/library/DataPanel/SelectView.d.ts +1 -0
- package/package.json +1 -1
|
@@ -453,6 +453,17 @@ export declare namespace VizzlyTheming {
|
|
|
453
453
|
};
|
|
454
454
|
type DashboardIcons = {
|
|
455
455
|
color?: CSSProperties['color'];
|
|
456
|
+
background?: CSSProperties['background'];
|
|
457
|
+
borderRadius?: CSSProperties['borderRadius'];
|
|
458
|
+
padding?: CSSProperties['padding'];
|
|
459
|
+
'&:disabled'?: {
|
|
460
|
+
color?: CSSProperties['color'];
|
|
461
|
+
background?: CSSProperties['background'];
|
|
462
|
+
};
|
|
463
|
+
'&:hover'?: {
|
|
464
|
+
color?: CSSProperties['color'];
|
|
465
|
+
background?: CSSProperties['background'];
|
|
466
|
+
};
|
|
456
467
|
};
|
|
457
468
|
type Accordion = {
|
|
458
469
|
button?: AccordionButton;
|
|
@@ -12,8 +12,8 @@ export declare const itemIconStyle: (() => null) & {
|
|
|
12
12
|
(variantOptions: Object): string;
|
|
13
13
|
toString: any;
|
|
14
14
|
};
|
|
15
|
-
icon: (fill: CSSProperties['fill']) => {
|
|
15
|
+
icon: (fill: CSSProperties['fill'], iconColorMap?: string | undefined) => {
|
|
16
16
|
(variantOptions: Object): string;
|
|
17
17
|
toString: any;
|
|
18
|
-
};
|
|
18
|
+
} | undefined;
|
|
19
19
|
};
|
|
@@ -1 +1,19 @@
|
|
|
1
1
|
export declare const componentTypeToIconMapping: any;
|
|
2
|
+
declare type ComponentColourAttributes = typeof pathMap;
|
|
3
|
+
declare type ComponentKey = keyof ComponentColourAttributes;
|
|
4
|
+
export declare const iconColorPathMap: (key: string) => ComponentColourAttributes[ComponentKey] | undefined;
|
|
5
|
+
declare const pathMap: {
|
|
6
|
+
areaChart: string;
|
|
7
|
+
barChart: string;
|
|
8
|
+
horizontalBarChart: string;
|
|
9
|
+
lineChart: string;
|
|
10
|
+
pieChart: string;
|
|
11
|
+
scatterChart: string;
|
|
12
|
+
singleStat: string;
|
|
13
|
+
dataTable: string;
|
|
14
|
+
basicTable: string;
|
|
15
|
+
comboChart: string;
|
|
16
|
+
mercatorMap: string;
|
|
17
|
+
progress: string;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -7,5 +7,6 @@ export declare type SelectViewProps = {};
|
|
|
7
7
|
export declare const SelectView: FunctionComponent<Props & SelectViewProps>;
|
|
8
8
|
export declare const SelectRenderOption: FunctionComponent<SelectOption & {
|
|
9
9
|
option: 'view' | 'option' | 'inline';
|
|
10
|
+
iconColorMap?: string;
|
|
10
11
|
}>;
|
|
11
12
|
export {};
|
package/package.json
CHANGED