@sisense/sdk-ui-vue 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +88028 -101948
- package/dist/src/providers/theme-provider.d.ts +246 -0
- package/package.json +2 -2
@@ -24,6 +24,88 @@ export declare const getThemeContext: () => Ref<{
|
|
24
24
|
primaryButtonTextColor: string;
|
25
25
|
primaryButtonHoverColor: string;
|
26
26
|
};
|
27
|
+
aiChat: {
|
28
|
+
backgroundColor: string;
|
29
|
+
primaryTextColor: string;
|
30
|
+
secondaryTextColor: string;
|
31
|
+
primaryFontSize: [fontSize: string, lineHeight: string];
|
32
|
+
border: string | false;
|
33
|
+
borderRadius: string | false;
|
34
|
+
body: {
|
35
|
+
paddingLeft: string;
|
36
|
+
paddingRight: string;
|
37
|
+
paddingTop: string;
|
38
|
+
paddingBottom: string;
|
39
|
+
gapBetweenMessages: string;
|
40
|
+
};
|
41
|
+
footer: {
|
42
|
+
paddingLeft: string;
|
43
|
+
paddingRight: string;
|
44
|
+
paddingTop: string;
|
45
|
+
paddingBottom: string;
|
46
|
+
};
|
47
|
+
userMessages: {
|
48
|
+
backgroundColor: string;
|
49
|
+
};
|
50
|
+
systemMessages: {
|
51
|
+
backgroundColor: string;
|
52
|
+
};
|
53
|
+
input: {
|
54
|
+
backgroundColor: string;
|
55
|
+
focus: {
|
56
|
+
outlineColor: string;
|
57
|
+
};
|
58
|
+
};
|
59
|
+
header: {
|
60
|
+
backgroundColor: string;
|
61
|
+
textColor: string;
|
62
|
+
};
|
63
|
+
dropup: {
|
64
|
+
backgroundColor: string;
|
65
|
+
boxShadow: string;
|
66
|
+
borderRadius: string;
|
67
|
+
headers: {
|
68
|
+
textColor: string;
|
69
|
+
hover: {
|
70
|
+
backgroundColor: string;
|
71
|
+
};
|
72
|
+
};
|
73
|
+
items: {
|
74
|
+
textColor: string;
|
75
|
+
hover: {
|
76
|
+
backgroundColor: string;
|
77
|
+
};
|
78
|
+
};
|
79
|
+
};
|
80
|
+
suggestions: {
|
81
|
+
textColor: string;
|
82
|
+
backgroundColor: string;
|
83
|
+
border: string;
|
84
|
+
borderGradient: [string, string] | null;
|
85
|
+
borderRadius: string;
|
86
|
+
hover: {
|
87
|
+
backgroundColor: string;
|
88
|
+
textColor: string;
|
89
|
+
};
|
90
|
+
loadingGradient: [string, string];
|
91
|
+
gap: string;
|
92
|
+
};
|
93
|
+
clickableMessages: {
|
94
|
+
backgroundColor: string;
|
95
|
+
textColor: string;
|
96
|
+
border: string | false;
|
97
|
+
hover: {
|
98
|
+
textColor: string;
|
99
|
+
backgroundColor: string;
|
100
|
+
};
|
101
|
+
};
|
102
|
+
icons: {
|
103
|
+
color: string;
|
104
|
+
hover: {
|
105
|
+
color: string;
|
106
|
+
};
|
107
|
+
};
|
108
|
+
};
|
27
109
|
}> | undefined;
|
28
110
|
/**
|
29
111
|
* Creates theme context connector
|
@@ -52,6 +134,88 @@ export declare const createThemeContextConnector: (themeSettings?: CompleteTheme
|
|
52
134
|
primaryButtonTextColor: string;
|
53
135
|
primaryButtonHoverColor: string;
|
54
136
|
};
|
137
|
+
aiChat: {
|
138
|
+
backgroundColor: string;
|
139
|
+
primaryTextColor: string;
|
140
|
+
secondaryTextColor: string;
|
141
|
+
primaryFontSize: [fontSize: string, lineHeight: string];
|
142
|
+
border: string | false;
|
143
|
+
borderRadius: string | false;
|
144
|
+
body: {
|
145
|
+
paddingLeft: string;
|
146
|
+
paddingRight: string;
|
147
|
+
paddingTop: string;
|
148
|
+
paddingBottom: string;
|
149
|
+
gapBetweenMessages: string;
|
150
|
+
};
|
151
|
+
footer: {
|
152
|
+
paddingLeft: string;
|
153
|
+
paddingRight: string;
|
154
|
+
paddingTop: string;
|
155
|
+
paddingBottom: string;
|
156
|
+
};
|
157
|
+
userMessages: {
|
158
|
+
backgroundColor: string;
|
159
|
+
};
|
160
|
+
systemMessages: {
|
161
|
+
backgroundColor: string;
|
162
|
+
};
|
163
|
+
input: {
|
164
|
+
backgroundColor: string;
|
165
|
+
focus: {
|
166
|
+
outlineColor: string;
|
167
|
+
};
|
168
|
+
};
|
169
|
+
header: {
|
170
|
+
backgroundColor: string;
|
171
|
+
textColor: string;
|
172
|
+
};
|
173
|
+
dropup: {
|
174
|
+
backgroundColor: string;
|
175
|
+
boxShadow: string;
|
176
|
+
borderRadius: string;
|
177
|
+
headers: {
|
178
|
+
textColor: string;
|
179
|
+
hover: {
|
180
|
+
backgroundColor: string;
|
181
|
+
};
|
182
|
+
};
|
183
|
+
items: {
|
184
|
+
textColor: string;
|
185
|
+
hover: {
|
186
|
+
backgroundColor: string;
|
187
|
+
};
|
188
|
+
};
|
189
|
+
};
|
190
|
+
suggestions: {
|
191
|
+
textColor: string;
|
192
|
+
backgroundColor: string;
|
193
|
+
border: string;
|
194
|
+
borderGradient: [string, string] | null;
|
195
|
+
borderRadius: string;
|
196
|
+
hover: {
|
197
|
+
backgroundColor: string;
|
198
|
+
textColor: string;
|
199
|
+
};
|
200
|
+
loadingGradient: [string, string];
|
201
|
+
gap: string;
|
202
|
+
};
|
203
|
+
clickableMessages: {
|
204
|
+
backgroundColor: string;
|
205
|
+
textColor: string;
|
206
|
+
border: string | false;
|
207
|
+
hover: {
|
208
|
+
textColor: string;
|
209
|
+
backgroundColor: string;
|
210
|
+
};
|
211
|
+
};
|
212
|
+
icons: {
|
213
|
+
color: string;
|
214
|
+
hover: {
|
215
|
+
color: string;
|
216
|
+
};
|
217
|
+
};
|
218
|
+
};
|
55
219
|
};
|
56
220
|
skipTracking: boolean;
|
57
221
|
}>;
|
@@ -77,6 +241,88 @@ export declare const createThemeContextConnector: (themeSettings?: CompleteTheme
|
|
77
241
|
primaryButtonTextColor: string;
|
78
242
|
primaryButtonHoverColor: string;
|
79
243
|
};
|
244
|
+
aiChat: {
|
245
|
+
backgroundColor: string;
|
246
|
+
primaryTextColor: string;
|
247
|
+
secondaryTextColor: string;
|
248
|
+
primaryFontSize: [fontSize: string, lineHeight: string];
|
249
|
+
border: string | false;
|
250
|
+
borderRadius: string | false;
|
251
|
+
body: {
|
252
|
+
paddingLeft: string;
|
253
|
+
paddingRight: string;
|
254
|
+
paddingTop: string;
|
255
|
+
paddingBottom: string;
|
256
|
+
gapBetweenMessages: string;
|
257
|
+
};
|
258
|
+
footer: {
|
259
|
+
paddingLeft: string;
|
260
|
+
paddingRight: string;
|
261
|
+
paddingTop: string;
|
262
|
+
paddingBottom: string;
|
263
|
+
};
|
264
|
+
userMessages: {
|
265
|
+
backgroundColor: string;
|
266
|
+
};
|
267
|
+
systemMessages: {
|
268
|
+
backgroundColor: string;
|
269
|
+
};
|
270
|
+
input: {
|
271
|
+
backgroundColor: string;
|
272
|
+
focus: {
|
273
|
+
outlineColor: string;
|
274
|
+
};
|
275
|
+
};
|
276
|
+
header: {
|
277
|
+
backgroundColor: string;
|
278
|
+
textColor: string;
|
279
|
+
};
|
280
|
+
dropup: {
|
281
|
+
backgroundColor: string;
|
282
|
+
boxShadow: string;
|
283
|
+
borderRadius: string;
|
284
|
+
headers: {
|
285
|
+
textColor: string;
|
286
|
+
hover: {
|
287
|
+
backgroundColor: string;
|
288
|
+
};
|
289
|
+
};
|
290
|
+
items: {
|
291
|
+
textColor: string;
|
292
|
+
hover: {
|
293
|
+
backgroundColor: string;
|
294
|
+
};
|
295
|
+
};
|
296
|
+
};
|
297
|
+
suggestions: {
|
298
|
+
textColor: string;
|
299
|
+
backgroundColor: string;
|
300
|
+
border: string;
|
301
|
+
borderGradient: [string, string] | null;
|
302
|
+
borderRadius: string;
|
303
|
+
hover: {
|
304
|
+
backgroundColor: string;
|
305
|
+
textColor: string;
|
306
|
+
};
|
307
|
+
loadingGradient: [string, string];
|
308
|
+
gap: string;
|
309
|
+
};
|
310
|
+
clickableMessages: {
|
311
|
+
backgroundColor: string;
|
312
|
+
textColor: string;
|
313
|
+
border: string | false;
|
314
|
+
hover: {
|
315
|
+
textColor: string;
|
316
|
+
backgroundColor: string;
|
317
|
+
};
|
318
|
+
};
|
319
|
+
icons: {
|
320
|
+
color: string;
|
321
|
+
hover: {
|
322
|
+
color: string;
|
323
|
+
};
|
324
|
+
};
|
325
|
+
};
|
80
326
|
};
|
81
327
|
skipTracking?: boolean | undefined;
|
82
328
|
}, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"Sisense",
|
12
12
|
"Compose SDK"
|
13
13
|
],
|
14
|
-
"version": "1.
|
14
|
+
"version": "1.9.0",
|
15
15
|
"type": "module",
|
16
16
|
"main": "./dist/index.js",
|
17
17
|
"module": "./dist/index.js",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"format:check": "prettier --check ."
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@sisense/sdk-ui-preact": "^1.
|
37
|
+
"@sisense/sdk-ui-preact": "^1.9.0",
|
38
38
|
"deepmerge": "^4.3.1",
|
39
39
|
"lodash": "^4.17.21",
|
40
40
|
"vue": "^3.3.2"
|