@liip/liipgpt 1.0.0-rc.9 → 1.0.1
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/README.md +4 -129
- package/button/liipgpt-button.iife.js +231 -0
- package/chat/liipgpt-chat.iife.js +293 -802
- package/config/index.cjs +4307 -0
- package/config/index.d.ts +9437 -949
- package/config/index.js +3457 -2248
- package/configurator/_app/env.js +1 -0
- package/configurator/_app/immutable/chunks/8PzG14q7.js +4 -0
- package/configurator/_app/immutable/chunks/BMvVlUrl.js +15 -0
- package/configurator/_app/immutable/chunks/BcMr1Isb.js +58 -0
- package/configurator/_app/immutable/chunks/BiXZbQqO.js +1 -0
- package/configurator/_app/immutable/chunks/Blpq5ghW.js +3 -0
- package/configurator/_app/immutable/chunks/C6QPkKVb.js +1 -0
- package/configurator/_app/immutable/chunks/Crb1ifvw.js +364 -0
- package/configurator/_app/immutable/chunks/CthtHExI.js +28 -0
- package/configurator/_app/immutable/chunks/D5wkZK_2.js +1 -0
- package/configurator/_app/immutable/chunks/DUt8zN7X.js +1 -0
- package/configurator/_app/immutable/chunks/DpWDGuko.js +1 -0
- package/configurator/_app/immutable/chunks/Dq6jck_i.js +1 -0
- package/configurator/_app/immutable/chunks/HtQdmN-S.js +1 -0
- package/configurator/_app/immutable/chunks/NZTpNUN0.js +1 -0
- package/configurator/_app/immutable/chunks/lxJsdCDD.js +1 -0
- package/configurator/_app/immutable/entry/app.DLjyDu01.js +2 -0
- package/configurator/_app/immutable/entry/start.Dri2trH_.js +1 -0
- package/configurator/_app/immutable/nodes/0.Cu_Gc0Ri.js +58 -0
- package/configurator/_app/immutable/nodes/1.CMbEHgX0.js +1 -0
- package/configurator/_app/immutable/nodes/2.gQZZQ4pa.js +1 -0
- package/configurator/_app/immutable/nodes/3.CnRlwgWw.js +897 -0
- package/configurator/_app/version.json +1 -0
- package/configurator/favicon.png +0 -0
- package/configurator/index.html +38 -0
- package/configurator/sidebar.html +38 -0
- package/index.cjs +10757 -0
- package/index.d.ts +14291 -0
- package/index.js +10736 -0
- package/package.json +20 -13
- package/chat/index.html +0 -242
- package/config/index.umd.cjs +0 -1
- package/lib/config/chat-config.d.ts +0 -957
- package/lib/config/clamp.d.ts +0 -3
- package/lib/config/config-definition.d.ts +0 -1635
- package/lib/config/css-variables.d.ts +0 -9
- package/lib/config/custom-css.d.ts +0 -1
- package/lib/config/demo-chat-history.d.ts +0 -78
- package/lib/config/simple-config.d.ts +0 -458
- package/lib/config/translations-definition.d.ts +0 -221
- package/lib/config/types-index.d.ts +0 -3
- package/lib/config/utils.d.ts +0 -23
- package/lib/lib/agnostic-storage.d.ts +0 -1
- package/lib/lib/chat-message-types.d.ts +0 -53
- package/lib/lib/feedback.d.ts +0 -0
- package/lib/lib/index.d.ts +0 -3
- package/lib/lib/liipgpt-client.d.ts +0 -92
- package/lib/lib/markdown.d.ts +0 -2
- package/lib/lib/message-store.d.ts +0 -15
- package/lib/lib/sse-v2-types.d.ts +0 -57
- package/lib/lib/utils.d.ts +0 -2
- package/lib/liipgpt-client.js +0 -5570
- package/lib/liipgpt-client.umd.cjs +0 -59
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { sizeDefinition, themeDefinition } from './config-definition';
|
|
3
|
-
/**
|
|
4
|
-
* Responsive size definition, the actual size will be `minRem` on small screens and `maxRem` on large.
|
|
5
|
-
*/
|
|
6
|
-
export type SizeDefinition = z.infer<typeof sizeDefinition>;
|
|
7
|
-
type ThemeDefinition = z.infer<typeof themeDefinition>;
|
|
8
|
-
export declare const createCssVariables: (theme: ThemeDefinition) => string;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const applyCustomCSS: (css: string, styleContainer: HTMLElement) => void;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
declare const _default: ({
|
|
2
|
-
type: "user";
|
|
3
|
-
time: string;
|
|
4
|
-
message: string;
|
|
5
|
-
state?: undefined;
|
|
6
|
-
errors?: undefined;
|
|
7
|
-
references?: undefined;
|
|
8
|
-
id?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
state: "done";
|
|
11
|
-
errors: never[];
|
|
12
|
-
type: "bot";
|
|
13
|
-
time: string;
|
|
14
|
-
message: {
|
|
15
|
-
markdown: string;
|
|
16
|
-
html: string;
|
|
17
|
-
};
|
|
18
|
-
references: {
|
|
19
|
-
used: {
|
|
20
|
-
url: string;
|
|
21
|
-
considered: true;
|
|
22
|
-
referencesIndex: {
|
|
23
|
-
all: number;
|
|
24
|
-
used: number;
|
|
25
|
-
};
|
|
26
|
-
display: {
|
|
27
|
-
card: {
|
|
28
|
-
title: string;
|
|
29
|
-
description: string;
|
|
30
|
-
badge: string;
|
|
31
|
-
};
|
|
32
|
-
listItem: {
|
|
33
|
-
title: string;
|
|
34
|
-
badge: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
}[];
|
|
38
|
-
all: ({
|
|
39
|
-
url: string;
|
|
40
|
-
considered: true;
|
|
41
|
-
referencesIndex: {
|
|
42
|
-
all: number;
|
|
43
|
-
used?: undefined;
|
|
44
|
-
};
|
|
45
|
-
display: {
|
|
46
|
-
card: {
|
|
47
|
-
title: string;
|
|
48
|
-
description: string;
|
|
49
|
-
badge: string;
|
|
50
|
-
};
|
|
51
|
-
listItem: {
|
|
52
|
-
title: string;
|
|
53
|
-
badge: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
} | {
|
|
57
|
-
url: string;
|
|
58
|
-
considered: true;
|
|
59
|
-
referencesIndex: {
|
|
60
|
-
all: number;
|
|
61
|
-
used: number;
|
|
62
|
-
};
|
|
63
|
-
display: {
|
|
64
|
-
card: {
|
|
65
|
-
title: string;
|
|
66
|
-
description: string;
|
|
67
|
-
badge: string;
|
|
68
|
-
};
|
|
69
|
-
listItem: {
|
|
70
|
-
title: string;
|
|
71
|
-
badge: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
})[];
|
|
75
|
-
};
|
|
76
|
-
id: string;
|
|
77
|
-
})[];
|
|
78
|
-
export default _default;
|
|
@@ -1,458 +0,0 @@
|
|
|
1
|
-
import { default as twColors } from 'tailwindcss/colors';
|
|
2
|
-
import { ConfigPartial } from './config-definition';
|
|
3
|
-
import { SizeDefinition } from './css-variables';
|
|
4
|
-
import * as z from 'zod';
|
|
5
|
-
type Color = (typeof twColors)['slate'];
|
|
6
|
-
type ColorNameRaw = keyof typeof twColors;
|
|
7
|
-
type ColorName = Exclude<ColorNameRaw, 'inherit' | 'current' | 'transparent' | 'black' | 'white'>;
|
|
8
|
-
type Grey = {
|
|
9
|
-
0?: string;
|
|
10
|
-
1000?: string;
|
|
11
|
-
} & Color;
|
|
12
|
-
type ColorDefinition = Color | ColorName;
|
|
13
|
-
export type SimpleTheme = {
|
|
14
|
-
colors: {
|
|
15
|
-
/**
|
|
16
|
-
* Color palette or name of tailwind color
|
|
17
|
-
*/
|
|
18
|
-
brand: ColorDefinition;
|
|
19
|
-
/**
|
|
20
|
-
* Color palette or name of tailwind color
|
|
21
|
-
*/
|
|
22
|
-
highlight?: ColorDefinition;
|
|
23
|
-
/**
|
|
24
|
-
* Color palette or name of tailwind color
|
|
25
|
-
*/
|
|
26
|
-
grey?: Grey | ColorName;
|
|
27
|
-
/**
|
|
28
|
-
* Single CSS color value
|
|
29
|
-
*/
|
|
30
|
-
background?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Single CSS color value
|
|
33
|
-
*/
|
|
34
|
-
text?: string;
|
|
35
|
-
anchor?: {
|
|
36
|
-
/**
|
|
37
|
-
* Single CSS color value
|
|
38
|
-
*/
|
|
39
|
-
default?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Single CSS color value
|
|
42
|
-
*/
|
|
43
|
-
hover?: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
font?: {
|
|
47
|
-
/**
|
|
48
|
-
* Responsive size definition, the actual size will be `minRem` on small screens and `maxRem` on large.
|
|
49
|
-
*/
|
|
50
|
-
size?: SizeDefinition;
|
|
51
|
-
family?: string;
|
|
52
|
-
urls?: string[];
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Responsive size definition, the actual size will be `minRem` on small screens and `maxRem` on large.
|
|
56
|
-
*/
|
|
57
|
-
borderRadius?: SizeDefinition;
|
|
58
|
-
};
|
|
59
|
-
export declare const simpleThemeSchema: z.ZodObject<{
|
|
60
|
-
colors: z.ZodObject<{
|
|
61
|
-
brand: z.ZodUnion<[z.ZodObject<{
|
|
62
|
-
'50': z.ZodString;
|
|
63
|
-
'100': z.ZodString;
|
|
64
|
-
'200': z.ZodString;
|
|
65
|
-
'300': z.ZodString;
|
|
66
|
-
'400': z.ZodString;
|
|
67
|
-
'500': z.ZodString;
|
|
68
|
-
'600': z.ZodString;
|
|
69
|
-
'700': z.ZodString;
|
|
70
|
-
'800': z.ZodString;
|
|
71
|
-
'900': z.ZodString;
|
|
72
|
-
'950': z.ZodString;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
'50': string;
|
|
75
|
-
'100': string;
|
|
76
|
-
'200': string;
|
|
77
|
-
'300': string;
|
|
78
|
-
'400': string;
|
|
79
|
-
'500': string;
|
|
80
|
-
'600': string;
|
|
81
|
-
'700': string;
|
|
82
|
-
'800': string;
|
|
83
|
-
'900': string;
|
|
84
|
-
'950': string;
|
|
85
|
-
}, {
|
|
86
|
-
'50': string;
|
|
87
|
-
'100': string;
|
|
88
|
-
'200': string;
|
|
89
|
-
'300': string;
|
|
90
|
-
'400': string;
|
|
91
|
-
'500': string;
|
|
92
|
-
'600': string;
|
|
93
|
-
'700': string;
|
|
94
|
-
'800': string;
|
|
95
|
-
'900': string;
|
|
96
|
-
'950': string;
|
|
97
|
-
}>, z.ZodEnum<["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"]>]>;
|
|
98
|
-
highlight: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
99
|
-
'50': z.ZodString;
|
|
100
|
-
'100': z.ZodString;
|
|
101
|
-
'200': z.ZodString;
|
|
102
|
-
'300': z.ZodString;
|
|
103
|
-
'400': z.ZodString;
|
|
104
|
-
'500': z.ZodString;
|
|
105
|
-
'600': z.ZodString;
|
|
106
|
-
'700': z.ZodString;
|
|
107
|
-
'800': z.ZodString;
|
|
108
|
-
'900': z.ZodString;
|
|
109
|
-
'950': z.ZodString;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
'50': string;
|
|
112
|
-
'100': string;
|
|
113
|
-
'200': string;
|
|
114
|
-
'300': string;
|
|
115
|
-
'400': string;
|
|
116
|
-
'500': string;
|
|
117
|
-
'600': string;
|
|
118
|
-
'700': string;
|
|
119
|
-
'800': string;
|
|
120
|
-
'900': string;
|
|
121
|
-
'950': string;
|
|
122
|
-
}, {
|
|
123
|
-
'50': string;
|
|
124
|
-
'100': string;
|
|
125
|
-
'200': string;
|
|
126
|
-
'300': string;
|
|
127
|
-
'400': string;
|
|
128
|
-
'500': string;
|
|
129
|
-
'600': string;
|
|
130
|
-
'700': string;
|
|
131
|
-
'800': string;
|
|
132
|
-
'900': string;
|
|
133
|
-
'950': string;
|
|
134
|
-
}>, z.ZodEnum<["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"]>]>>;
|
|
135
|
-
grey: z.ZodOptional<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
|
|
136
|
-
'50': z.ZodString;
|
|
137
|
-
'100': z.ZodString;
|
|
138
|
-
'200': z.ZodString;
|
|
139
|
-
'300': z.ZodString;
|
|
140
|
-
'400': z.ZodString;
|
|
141
|
-
'500': z.ZodString;
|
|
142
|
-
'600': z.ZodString;
|
|
143
|
-
'700': z.ZodString;
|
|
144
|
-
'800': z.ZodString;
|
|
145
|
-
'900': z.ZodString;
|
|
146
|
-
'950': z.ZodString;
|
|
147
|
-
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
'50': string;
|
|
149
|
-
'100': string;
|
|
150
|
-
'200': string;
|
|
151
|
-
'300': string;
|
|
152
|
-
'400': string;
|
|
153
|
-
'500': string;
|
|
154
|
-
'600': string;
|
|
155
|
-
'700': string;
|
|
156
|
-
'800': string;
|
|
157
|
-
'900': string;
|
|
158
|
-
'950': string;
|
|
159
|
-
}, {
|
|
160
|
-
'50': string;
|
|
161
|
-
'100': string;
|
|
162
|
-
'200': string;
|
|
163
|
-
'300': string;
|
|
164
|
-
'400': string;
|
|
165
|
-
'500': string;
|
|
166
|
-
'600': string;
|
|
167
|
-
'700': string;
|
|
168
|
-
'800': string;
|
|
169
|
-
'900': string;
|
|
170
|
-
'950': string;
|
|
171
|
-
}>, z.ZodObject<{
|
|
172
|
-
'0': z.ZodString;
|
|
173
|
-
'1000': z.ZodString;
|
|
174
|
-
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
'0': string;
|
|
176
|
-
'1000': string;
|
|
177
|
-
}, {
|
|
178
|
-
'0': string;
|
|
179
|
-
'1000': string;
|
|
180
|
-
}>>, z.ZodEnum<["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"]>]>>;
|
|
181
|
-
background: z.ZodOptional<z.ZodString>;
|
|
182
|
-
text: z.ZodOptional<z.ZodString>;
|
|
183
|
-
anchor: z.ZodOptional<z.ZodObject<{
|
|
184
|
-
default: z.ZodOptional<z.ZodString>;
|
|
185
|
-
hover: z.ZodOptional<z.ZodString>;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
hover?: string | undefined;
|
|
188
|
-
default?: string | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
hover?: string | undefined;
|
|
191
|
-
default?: string | undefined;
|
|
192
|
-
}>>;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
195
|
-
'50': string;
|
|
196
|
-
'100': string;
|
|
197
|
-
'200': string;
|
|
198
|
-
'300': string;
|
|
199
|
-
'400': string;
|
|
200
|
-
'500': string;
|
|
201
|
-
'600': string;
|
|
202
|
-
'700': string;
|
|
203
|
-
'800': string;
|
|
204
|
-
'900': string;
|
|
205
|
-
'950': string;
|
|
206
|
-
};
|
|
207
|
-
background?: string | undefined;
|
|
208
|
-
highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
209
|
-
'50': string;
|
|
210
|
-
'100': string;
|
|
211
|
-
'200': string;
|
|
212
|
-
'300': string;
|
|
213
|
-
'400': string;
|
|
214
|
-
'500': string;
|
|
215
|
-
'600': string;
|
|
216
|
-
'700': string;
|
|
217
|
-
'800': string;
|
|
218
|
-
'900': string;
|
|
219
|
-
'950': string;
|
|
220
|
-
} | undefined;
|
|
221
|
-
grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
|
|
222
|
-
'50': string;
|
|
223
|
-
'100': string;
|
|
224
|
-
'200': string;
|
|
225
|
-
'300': string;
|
|
226
|
-
'400': string;
|
|
227
|
-
'500': string;
|
|
228
|
-
'600': string;
|
|
229
|
-
'700': string;
|
|
230
|
-
'800': string;
|
|
231
|
-
'900': string;
|
|
232
|
-
'950': string;
|
|
233
|
-
} & {
|
|
234
|
-
'0': string;
|
|
235
|
-
'1000': string;
|
|
236
|
-
}) | undefined;
|
|
237
|
-
anchor?: {
|
|
238
|
-
hover?: string | undefined;
|
|
239
|
-
default?: string | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
text?: string | undefined;
|
|
242
|
-
}, {
|
|
243
|
-
brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
244
|
-
'50': string;
|
|
245
|
-
'100': string;
|
|
246
|
-
'200': string;
|
|
247
|
-
'300': string;
|
|
248
|
-
'400': string;
|
|
249
|
-
'500': string;
|
|
250
|
-
'600': string;
|
|
251
|
-
'700': string;
|
|
252
|
-
'800': string;
|
|
253
|
-
'900': string;
|
|
254
|
-
'950': string;
|
|
255
|
-
};
|
|
256
|
-
background?: string | undefined;
|
|
257
|
-
highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
258
|
-
'50': string;
|
|
259
|
-
'100': string;
|
|
260
|
-
'200': string;
|
|
261
|
-
'300': string;
|
|
262
|
-
'400': string;
|
|
263
|
-
'500': string;
|
|
264
|
-
'600': string;
|
|
265
|
-
'700': string;
|
|
266
|
-
'800': string;
|
|
267
|
-
'900': string;
|
|
268
|
-
'950': string;
|
|
269
|
-
} | undefined;
|
|
270
|
-
grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
|
|
271
|
-
'50': string;
|
|
272
|
-
'100': string;
|
|
273
|
-
'200': string;
|
|
274
|
-
'300': string;
|
|
275
|
-
'400': string;
|
|
276
|
-
'500': string;
|
|
277
|
-
'600': string;
|
|
278
|
-
'700': string;
|
|
279
|
-
'800': string;
|
|
280
|
-
'900': string;
|
|
281
|
-
'950': string;
|
|
282
|
-
} & {
|
|
283
|
-
'0': string;
|
|
284
|
-
'1000': string;
|
|
285
|
-
}) | undefined;
|
|
286
|
-
anchor?: {
|
|
287
|
-
hover?: string | undefined;
|
|
288
|
-
default?: string | undefined;
|
|
289
|
-
} | undefined;
|
|
290
|
-
text?: string | undefined;
|
|
291
|
-
}>;
|
|
292
|
-
font: z.ZodOptional<z.ZodObject<{
|
|
293
|
-
size: z.ZodOptional<z.ZodObject<{
|
|
294
|
-
minRem: z.ZodNumber;
|
|
295
|
-
maxRem: z.ZodNumber;
|
|
296
|
-
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
minRem: number;
|
|
298
|
-
maxRem: number;
|
|
299
|
-
}, {
|
|
300
|
-
minRem: number;
|
|
301
|
-
maxRem: number;
|
|
302
|
-
}>>;
|
|
303
|
-
family: z.ZodOptional<z.ZodString>;
|
|
304
|
-
urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
305
|
-
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
family?: string | undefined;
|
|
307
|
-
size?: {
|
|
308
|
-
minRem: number;
|
|
309
|
-
maxRem: number;
|
|
310
|
-
} | undefined;
|
|
311
|
-
urls?: string[] | undefined;
|
|
312
|
-
}, {
|
|
313
|
-
family?: string | undefined;
|
|
314
|
-
size?: {
|
|
315
|
-
minRem: number;
|
|
316
|
-
maxRem: number;
|
|
317
|
-
} | undefined;
|
|
318
|
-
urls?: string[] | undefined;
|
|
319
|
-
}>>;
|
|
320
|
-
borderRadius: z.ZodOptional<z.ZodObject<{
|
|
321
|
-
minRem: z.ZodNumber;
|
|
322
|
-
maxRem: z.ZodNumber;
|
|
323
|
-
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
minRem: number;
|
|
325
|
-
maxRem: number;
|
|
326
|
-
}, {
|
|
327
|
-
minRem: number;
|
|
328
|
-
maxRem: number;
|
|
329
|
-
}>>;
|
|
330
|
-
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
colors: {
|
|
332
|
-
brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
333
|
-
'50': string;
|
|
334
|
-
'100': string;
|
|
335
|
-
'200': string;
|
|
336
|
-
'300': string;
|
|
337
|
-
'400': string;
|
|
338
|
-
'500': string;
|
|
339
|
-
'600': string;
|
|
340
|
-
'700': string;
|
|
341
|
-
'800': string;
|
|
342
|
-
'900': string;
|
|
343
|
-
'950': string;
|
|
344
|
-
};
|
|
345
|
-
background?: string | undefined;
|
|
346
|
-
highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
347
|
-
'50': string;
|
|
348
|
-
'100': string;
|
|
349
|
-
'200': string;
|
|
350
|
-
'300': string;
|
|
351
|
-
'400': string;
|
|
352
|
-
'500': string;
|
|
353
|
-
'600': string;
|
|
354
|
-
'700': string;
|
|
355
|
-
'800': string;
|
|
356
|
-
'900': string;
|
|
357
|
-
'950': string;
|
|
358
|
-
} | undefined;
|
|
359
|
-
grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
|
|
360
|
-
'50': string;
|
|
361
|
-
'100': string;
|
|
362
|
-
'200': string;
|
|
363
|
-
'300': string;
|
|
364
|
-
'400': string;
|
|
365
|
-
'500': string;
|
|
366
|
-
'600': string;
|
|
367
|
-
'700': string;
|
|
368
|
-
'800': string;
|
|
369
|
-
'900': string;
|
|
370
|
-
'950': string;
|
|
371
|
-
} & {
|
|
372
|
-
'0': string;
|
|
373
|
-
'1000': string;
|
|
374
|
-
}) | undefined;
|
|
375
|
-
anchor?: {
|
|
376
|
-
hover?: string | undefined;
|
|
377
|
-
default?: string | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
text?: string | undefined;
|
|
380
|
-
};
|
|
381
|
-
borderRadius?: {
|
|
382
|
-
minRem: number;
|
|
383
|
-
maxRem: number;
|
|
384
|
-
} | undefined;
|
|
385
|
-
font?: {
|
|
386
|
-
family?: string | undefined;
|
|
387
|
-
size?: {
|
|
388
|
-
minRem: number;
|
|
389
|
-
maxRem: number;
|
|
390
|
-
} | undefined;
|
|
391
|
-
urls?: string[] | undefined;
|
|
392
|
-
} | undefined;
|
|
393
|
-
}, {
|
|
394
|
-
colors: {
|
|
395
|
-
brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
396
|
-
'50': string;
|
|
397
|
-
'100': string;
|
|
398
|
-
'200': string;
|
|
399
|
-
'300': string;
|
|
400
|
-
'400': string;
|
|
401
|
-
'500': string;
|
|
402
|
-
'600': string;
|
|
403
|
-
'700': string;
|
|
404
|
-
'800': string;
|
|
405
|
-
'900': string;
|
|
406
|
-
'950': string;
|
|
407
|
-
};
|
|
408
|
-
background?: string | undefined;
|
|
409
|
-
highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
|
|
410
|
-
'50': string;
|
|
411
|
-
'100': string;
|
|
412
|
-
'200': string;
|
|
413
|
-
'300': string;
|
|
414
|
-
'400': string;
|
|
415
|
-
'500': string;
|
|
416
|
-
'600': string;
|
|
417
|
-
'700': string;
|
|
418
|
-
'800': string;
|
|
419
|
-
'900': string;
|
|
420
|
-
'950': string;
|
|
421
|
-
} | undefined;
|
|
422
|
-
grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
|
|
423
|
-
'50': string;
|
|
424
|
-
'100': string;
|
|
425
|
-
'200': string;
|
|
426
|
-
'300': string;
|
|
427
|
-
'400': string;
|
|
428
|
-
'500': string;
|
|
429
|
-
'600': string;
|
|
430
|
-
'700': string;
|
|
431
|
-
'800': string;
|
|
432
|
-
'900': string;
|
|
433
|
-
'950': string;
|
|
434
|
-
} & {
|
|
435
|
-
'0': string;
|
|
436
|
-
'1000': string;
|
|
437
|
-
}) | undefined;
|
|
438
|
-
anchor?: {
|
|
439
|
-
hover?: string | undefined;
|
|
440
|
-
default?: string | undefined;
|
|
441
|
-
} | undefined;
|
|
442
|
-
text?: string | undefined;
|
|
443
|
-
};
|
|
444
|
-
borderRadius?: {
|
|
445
|
-
minRem: number;
|
|
446
|
-
maxRem: number;
|
|
447
|
-
} | undefined;
|
|
448
|
-
font?: {
|
|
449
|
-
family?: string | undefined;
|
|
450
|
-
size?: {
|
|
451
|
-
minRem: number;
|
|
452
|
-
maxRem: number;
|
|
453
|
-
} | undefined;
|
|
454
|
-
urls?: string[] | undefined;
|
|
455
|
-
} | undefined;
|
|
456
|
-
}>;
|
|
457
|
-
export declare const createConfig: (baseConfig: SimpleTheme) => ConfigPartial;
|
|
458
|
-
export {};
|