@databrainhq/plugin 0.4.7 → 0.6.0
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/components/MetricCreation/index.d.ts +1 -1
- package/dist/components/MetricList/components/MetricCard.d.ts +0 -1
- package/dist/components/MetricList/index.d.ts +5 -3
- package/dist/components/RlsFilters/MultipleTimeGrain.d.ts +8 -0
- package/dist/components/RlsFilters/index.d.ts +8 -0
- package/dist/components/TimeGrainField/index.d.ts +2 -1
- package/dist/containers/Dashboard/index.d.ts +7 -0
- package/dist/hooks/useEmbeddedDashboard.d.ts +5 -0
- package/dist/index.es.js +3189 -2997
- package/dist/index.umd.js +131 -137
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +9 -0
- package/dist/types/metricCreate.d.ts +2 -0
- package/dist/utils/generated/graphql.d.ts +152 -133
- package/dist/utils/theme.d.ts +87 -0
- package/package.json +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* colors - object of customizable colors
|
|
3
|
+
* typography - object of customizable typography
|
|
4
|
+
* border - object of customizable border
|
|
5
|
+
* shadow - object of customizable box shadow
|
|
6
|
+
* breakpoint - object of customizable breakpoint
|
|
7
|
+
* metricLayoutCols - object of customizable metric chart layout columns
|
|
8
|
+
*/
|
|
9
|
+
export interface ThemeType {
|
|
10
|
+
colors?: {
|
|
11
|
+
background?: string;
|
|
12
|
+
primary?: string;
|
|
13
|
+
secondary?: string;
|
|
14
|
+
tertiary?: string;
|
|
15
|
+
dark?: string;
|
|
16
|
+
light?: string;
|
|
17
|
+
primaryDark?: string;
|
|
18
|
+
primaryLight?: string;
|
|
19
|
+
secondaryDark?: string;
|
|
20
|
+
secondaryLight?: string;
|
|
21
|
+
tertiaryDark?: string;
|
|
22
|
+
tertiaryLight?: string;
|
|
23
|
+
error?: string;
|
|
24
|
+
errorDark?: string;
|
|
25
|
+
errorLight?: string;
|
|
26
|
+
success?: string;
|
|
27
|
+
successLight?: string;
|
|
28
|
+
successDark?: string;
|
|
29
|
+
warning?: string;
|
|
30
|
+
warningLight?: string;
|
|
31
|
+
warningDark?: string;
|
|
32
|
+
gray50?: string;
|
|
33
|
+
gray100?: string;
|
|
34
|
+
gray200?: string;
|
|
35
|
+
gray300?: string;
|
|
36
|
+
gray400?: string;
|
|
37
|
+
gray500?: string;
|
|
38
|
+
gray600?: string;
|
|
39
|
+
gray700?: string;
|
|
40
|
+
gray800?: string;
|
|
41
|
+
gray900?: string;
|
|
42
|
+
};
|
|
43
|
+
typography?: {
|
|
44
|
+
colorPrimary?: string;
|
|
45
|
+
colorSecondary?: string;
|
|
46
|
+
colorTertiary?: string;
|
|
47
|
+
fontFamily?: string;
|
|
48
|
+
fontSize?: string;
|
|
49
|
+
fontWeightThin?: number;
|
|
50
|
+
fontWeightLight?: number;
|
|
51
|
+
fontWeightRegular?: number;
|
|
52
|
+
fontWeightSemibold?: number;
|
|
53
|
+
fontWeightBold?: number;
|
|
54
|
+
};
|
|
55
|
+
breakpoint?: {
|
|
56
|
+
xl?: number;
|
|
57
|
+
lg?: number;
|
|
58
|
+
md?: number;
|
|
59
|
+
sm?: number;
|
|
60
|
+
xs?: number;
|
|
61
|
+
};
|
|
62
|
+
metricLayoutCols?: {
|
|
63
|
+
xl?: number;
|
|
64
|
+
lg?: number;
|
|
65
|
+
md?: number;
|
|
66
|
+
sm?: number;
|
|
67
|
+
xs?: number;
|
|
68
|
+
xxs?: number;
|
|
69
|
+
};
|
|
70
|
+
border?: {
|
|
71
|
+
radiusNone?: number | string;
|
|
72
|
+
radiusSm?: number | string;
|
|
73
|
+
radiusMd?: number | string;
|
|
74
|
+
radiusDefault?: number | string;
|
|
75
|
+
radiusLg?: number | string;
|
|
76
|
+
radiusXl?: number | string;
|
|
77
|
+
radius2xl?: number | string;
|
|
78
|
+
radius3xl?: number | string;
|
|
79
|
+
radiusFull?: number | string;
|
|
80
|
+
};
|
|
81
|
+
shadow?: {
|
|
82
|
+
primary?: string;
|
|
83
|
+
secondary?: string;
|
|
84
|
+
tertiary?: string;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
export declare const applyTheme: (theme: ThemeType) => void;
|