@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.
@@ -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
  };
@@ -7,4 +7,5 @@ export declare const OptionIcon: FunctionComponent<{
7
7
  iconWidth?: CSSProperties['width'];
8
8
  flexPaddingTop?: CSSProperties['paddingTop'];
9
9
  alignSelf?: CSSProperties['alignSelf'];
10
+ iconColorMap?: string;
10
11
  }>;
@@ -10,4 +10,7 @@ export declare type ModalProps = {
10
10
  namespace?: CustomThemeClassNamespaces;
11
11
  transparentBackground?: boolean;
12
12
  hideCloseIcon?: boolean;
13
+ options?: {
14
+ disableModalScrolling?: boolean;
15
+ };
13
16
  };
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.12.5",
4
+ "version": "0.12.6-dev-2c47bcdc7a4ef0a29094dc32a04bb59fba97930f",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "main": "dist/index.js",