@sentropic/design-system-tokens 0.9.0 → 0.10.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/anatomy.d.ts +154 -0
- package/dist/anatomy.d.ts.map +1 -0
- package/dist/anatomy.js +17 -0
- package/dist/anatomy.js.map +1 -0
- package/dist/component.d.ts +466 -141
- package/dist/component.d.ts.map +1 -1
- package/dist/component.js +414 -195
- package/dist/component.js.map +1 -1
- package/dist/css.d.ts.map +1 -1
- package/dist/css.js +21 -4
- package/dist/css.js.map +1 -1
- package/dist/foundation.d.ts +107 -1
- package/dist/foundation.d.ts.map +1 -1
- package/dist/foundation.js +132 -0
- package/dist/foundation.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/semantic.d.ts +2 -0
- package/dist/semantic.d.ts.map +1 -1
- package/dist/semantic.js +4 -0
- package/dist/semantic.js.map +1 -1
- package/package.json +1 -1
package/dist/component.d.ts
CHANGED
|
@@ -1,199 +1,524 @@
|
|
|
1
|
+
import type { ComponentAnatomy, DensityAnatomy, TypographyAnatomy } from "./anatomy.js";
|
|
2
|
+
interface SemanticInput {
|
|
3
|
+
surface: {
|
|
4
|
+
default: string;
|
|
5
|
+
subtle: string;
|
|
6
|
+
raised: string;
|
|
7
|
+
inverse: string;
|
|
8
|
+
overlay: string;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
primary: string;
|
|
12
|
+
secondary: string;
|
|
13
|
+
muted: string;
|
|
14
|
+
inverse: string;
|
|
15
|
+
link: string;
|
|
16
|
+
};
|
|
17
|
+
action: {
|
|
18
|
+
primary: string;
|
|
19
|
+
primaryText: string;
|
|
20
|
+
secondary: string;
|
|
21
|
+
secondaryText: string;
|
|
22
|
+
primaryHover?: string;
|
|
23
|
+
secondaryHover?: string;
|
|
24
|
+
};
|
|
25
|
+
border: {
|
|
26
|
+
subtle: string;
|
|
27
|
+
strong: string;
|
|
28
|
+
interactive: string;
|
|
29
|
+
};
|
|
30
|
+
feedback: {
|
|
31
|
+
info: string;
|
|
32
|
+
success: string;
|
|
33
|
+
warning: string;
|
|
34
|
+
error: string;
|
|
35
|
+
};
|
|
36
|
+
data: {
|
|
37
|
+
category1: string;
|
|
38
|
+
category2: string;
|
|
39
|
+
category3: string;
|
|
40
|
+
category4: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
type DensityInput = Partial<Record<"sm" | "md" | "lg", Partial<DensityAnatomy>>>;
|
|
44
|
+
type TypographyRolesInput = Partial<Record<"control" | "field" | "label" | "link", Partial<TypographyAnatomy>>>;
|
|
45
|
+
interface FocusInput {
|
|
46
|
+
strategy?: string;
|
|
47
|
+
width?: string;
|
|
48
|
+
offset?: string;
|
|
49
|
+
color?: string;
|
|
50
|
+
inset?: string;
|
|
51
|
+
}
|
|
52
|
+
interface FieldInput {
|
|
53
|
+
style?: string;
|
|
54
|
+
fillBg?: string;
|
|
55
|
+
underlineColor?: string;
|
|
56
|
+
underlineWidth?: string;
|
|
57
|
+
}
|
|
58
|
+
interface FoundationInput {
|
|
59
|
+
radius: {
|
|
60
|
+
none?: string;
|
|
61
|
+
sm?: string;
|
|
62
|
+
md: string;
|
|
63
|
+
lg: string;
|
|
64
|
+
pill: string;
|
|
65
|
+
};
|
|
66
|
+
shadow: {
|
|
67
|
+
subtle: string;
|
|
68
|
+
medium: string;
|
|
69
|
+
floating: string;
|
|
70
|
+
};
|
|
71
|
+
spacing: {
|
|
72
|
+
readonly [key: number]: string;
|
|
73
|
+
};
|
|
74
|
+
z: {
|
|
75
|
+
overlay: number;
|
|
76
|
+
modal: number;
|
|
77
|
+
toast: number;
|
|
78
|
+
};
|
|
79
|
+
borderWidth?: {
|
|
80
|
+
none?: string;
|
|
81
|
+
thin?: string;
|
|
82
|
+
thick?: string;
|
|
83
|
+
};
|
|
84
|
+
borderStyle?: {
|
|
85
|
+
solid?: string;
|
|
86
|
+
};
|
|
87
|
+
density?: DensityInput;
|
|
88
|
+
typography?: TypographyRolesInput;
|
|
89
|
+
disabledOpacity?: string;
|
|
90
|
+
transition?: {
|
|
91
|
+
property?: string;
|
|
92
|
+
duration?: string;
|
|
93
|
+
easing?: string;
|
|
94
|
+
};
|
|
95
|
+
cursor?: {
|
|
96
|
+
interactive?: string;
|
|
97
|
+
disabled?: string;
|
|
98
|
+
text?: string;
|
|
99
|
+
};
|
|
100
|
+
iconSize?: {
|
|
101
|
+
sm?: string;
|
|
102
|
+
md?: string;
|
|
103
|
+
lg?: string;
|
|
104
|
+
};
|
|
105
|
+
focus?: FocusInput;
|
|
106
|
+
field?: FieldInput;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Construit la couche `component` à partir d'un `semantic` et d'un `foundation`
|
|
110
|
+
* donnés. Les rôles composant sont CÂBLÉS sur les rôles semantic/foundation du
|
|
111
|
+
* thème appelant — c'est ce qui permet à un thème (DSFR, Carbon, forge…) de
|
|
112
|
+
* propager sa marque jusqu'aux composants. Réutiliser un `component` figé sur
|
|
113
|
+
* une autre base rendrait les composants inertes au changement de thème.
|
|
114
|
+
*/
|
|
115
|
+
export declare function createComponent(semantic: SemanticInput, foundation: FoundationInput): {
|
|
116
|
+
readonly button: {
|
|
117
|
+
readonly radius: string;
|
|
118
|
+
readonly primaryBackground: string;
|
|
119
|
+
readonly primaryText: string;
|
|
120
|
+
readonly secondaryBackground: string;
|
|
121
|
+
readonly secondaryText: string;
|
|
122
|
+
readonly anatomy: ComponentAnatomy;
|
|
123
|
+
};
|
|
124
|
+
readonly link: {
|
|
125
|
+
readonly text: string;
|
|
126
|
+
readonly hoverText: string;
|
|
127
|
+
readonly disabledText: string;
|
|
128
|
+
readonly focusRing: string;
|
|
129
|
+
readonly anatomy: ComponentAnatomy;
|
|
130
|
+
};
|
|
131
|
+
readonly alert: {
|
|
132
|
+
readonly background: string;
|
|
133
|
+
readonly text: string;
|
|
134
|
+
readonly border: string;
|
|
135
|
+
readonly infoBorder: string;
|
|
136
|
+
readonly successBorder: string;
|
|
137
|
+
readonly warningBorder: string;
|
|
138
|
+
readonly errorBorder: string;
|
|
139
|
+
readonly radius: string;
|
|
140
|
+
};
|
|
141
|
+
readonly card: {
|
|
142
|
+
readonly background: string;
|
|
143
|
+
readonly border: string;
|
|
144
|
+
readonly radius: string;
|
|
145
|
+
readonly shadow: string;
|
|
146
|
+
readonly anatomy: ComponentAnatomy;
|
|
147
|
+
};
|
|
148
|
+
readonly menu: {
|
|
149
|
+
readonly background: string;
|
|
150
|
+
readonly border: string;
|
|
151
|
+
readonly text: string;
|
|
152
|
+
readonly itemHoverBackground: string;
|
|
153
|
+
readonly disabledText: string;
|
|
154
|
+
readonly radius: string;
|
|
155
|
+
readonly shadow: string;
|
|
156
|
+
};
|
|
157
|
+
readonly popover: {
|
|
158
|
+
readonly background: string;
|
|
159
|
+
readonly border: string;
|
|
160
|
+
readonly text: string;
|
|
161
|
+
readonly shadow: string;
|
|
162
|
+
readonly radius: string;
|
|
163
|
+
readonly zIndex: number;
|
|
164
|
+
};
|
|
165
|
+
readonly dropdown: {
|
|
166
|
+
readonly background: string;
|
|
167
|
+
readonly border: string;
|
|
168
|
+
readonly text: string;
|
|
169
|
+
readonly optionHoverBackground: string;
|
|
170
|
+
readonly selectedBackground: string;
|
|
171
|
+
readonly selectedText: string;
|
|
172
|
+
readonly radius: string;
|
|
173
|
+
readonly shadow: string;
|
|
174
|
+
};
|
|
175
|
+
readonly input: {
|
|
176
|
+
readonly background: string;
|
|
177
|
+
readonly border: string;
|
|
178
|
+
readonly focusRing: string;
|
|
179
|
+
readonly radius: string;
|
|
180
|
+
};
|
|
181
|
+
readonly field: {
|
|
182
|
+
readonly labelText: string;
|
|
183
|
+
readonly helpText: string;
|
|
184
|
+
readonly errorText: string;
|
|
185
|
+
readonly gap: string;
|
|
186
|
+
readonly maxWidth: "28rem";
|
|
187
|
+
readonly labelTypography: TypographyAnatomy;
|
|
188
|
+
};
|
|
189
|
+
readonly control: {
|
|
190
|
+
readonly background: string;
|
|
191
|
+
readonly text: string;
|
|
192
|
+
readonly placeholderText: string;
|
|
193
|
+
readonly border: string;
|
|
194
|
+
readonly hoverBorder: string;
|
|
195
|
+
readonly focusRing: string;
|
|
196
|
+
readonly invalidBorder: string;
|
|
197
|
+
readonly disabledBackground: string;
|
|
198
|
+
readonly disabledText: string;
|
|
199
|
+
readonly radius: string;
|
|
200
|
+
readonly smHeight: "2rem";
|
|
201
|
+
readonly mdHeight: "2.5rem";
|
|
202
|
+
readonly lgHeight: "3rem";
|
|
203
|
+
readonly anatomy: ComponentAnatomy;
|
|
204
|
+
};
|
|
205
|
+
readonly selection: {
|
|
206
|
+
readonly checkedBackground: string;
|
|
207
|
+
readonly checkedText: string;
|
|
208
|
+
readonly border: string;
|
|
209
|
+
readonly switchTrack: string;
|
|
210
|
+
readonly switchTrackChecked: string;
|
|
211
|
+
readonly switchThumb: string;
|
|
212
|
+
};
|
|
213
|
+
readonly overlay: {
|
|
214
|
+
readonly backdrop: string;
|
|
215
|
+
readonly surface: string;
|
|
216
|
+
readonly border: string;
|
|
217
|
+
readonly shadow: string;
|
|
218
|
+
readonly radius: string;
|
|
219
|
+
readonly zIndex: number;
|
|
220
|
+
};
|
|
221
|
+
readonly drawer: {
|
|
222
|
+
readonly backdrop: string;
|
|
223
|
+
readonly surface: string;
|
|
224
|
+
readonly border: string;
|
|
225
|
+
readonly shadow: string;
|
|
226
|
+
readonly width: "24rem";
|
|
227
|
+
readonly zIndex: number;
|
|
228
|
+
};
|
|
229
|
+
readonly emptyState: {
|
|
230
|
+
readonly background: string;
|
|
231
|
+
readonly border: string;
|
|
232
|
+
readonly titleText: string;
|
|
233
|
+
readonly messageText: string;
|
|
234
|
+
readonly radius: string;
|
|
235
|
+
};
|
|
236
|
+
readonly loadingState: {
|
|
237
|
+
readonly indicator: string;
|
|
238
|
+
readonly track: string;
|
|
239
|
+
readonly text: string;
|
|
240
|
+
readonly radius: string;
|
|
241
|
+
};
|
|
242
|
+
readonly tooltip: {
|
|
243
|
+
readonly background: string;
|
|
244
|
+
readonly text: string;
|
|
245
|
+
readonly radius: string;
|
|
246
|
+
readonly shadow: string;
|
|
247
|
+
readonly zIndex: number;
|
|
248
|
+
};
|
|
249
|
+
readonly toast: {
|
|
250
|
+
readonly background: string;
|
|
251
|
+
readonly text: string;
|
|
252
|
+
readonly border: string;
|
|
253
|
+
readonly shadow: string;
|
|
254
|
+
readonly radius: string;
|
|
255
|
+
readonly infoBorder: string;
|
|
256
|
+
readonly successBorder: string;
|
|
257
|
+
readonly warningBorder: string;
|
|
258
|
+
readonly errorBorder: string;
|
|
259
|
+
readonly zIndex: number;
|
|
260
|
+
};
|
|
261
|
+
readonly dataTable: {
|
|
262
|
+
readonly headerBackground: string;
|
|
263
|
+
readonly rowBackground: string;
|
|
264
|
+
readonly rowHoverBackground: string;
|
|
265
|
+
readonly border: string;
|
|
266
|
+
readonly text: string;
|
|
267
|
+
readonly captionText: string;
|
|
268
|
+
readonly radius: string;
|
|
269
|
+
};
|
|
270
|
+
readonly tabs: {
|
|
271
|
+
readonly activeText: string;
|
|
272
|
+
readonly inactiveText: string;
|
|
273
|
+
readonly border: string;
|
|
274
|
+
readonly indicator: string;
|
|
275
|
+
readonly panelBackground: string;
|
|
276
|
+
readonly anatomy: ComponentAnatomy;
|
|
277
|
+
};
|
|
278
|
+
readonly pagination: {
|
|
279
|
+
readonly background: string;
|
|
280
|
+
readonly border: string;
|
|
281
|
+
readonly text: string;
|
|
282
|
+
readonly activeBackground: string;
|
|
283
|
+
readonly activeText: string;
|
|
284
|
+
readonly disabledText: string;
|
|
285
|
+
readonly radius: string;
|
|
286
|
+
};
|
|
287
|
+
readonly breadcrumb: {
|
|
288
|
+
readonly text: string;
|
|
289
|
+
readonly currentText: string;
|
|
290
|
+
readonly separator: string;
|
|
291
|
+
readonly linkText: string;
|
|
292
|
+
};
|
|
293
|
+
readonly sideNav: {
|
|
294
|
+
readonly background: string;
|
|
295
|
+
readonly border: string;
|
|
296
|
+
readonly itemText: string;
|
|
297
|
+
readonly activeBackground: string;
|
|
298
|
+
readonly activeText: string;
|
|
299
|
+
readonly width: "16rem";
|
|
300
|
+
};
|
|
301
|
+
readonly chat: {
|
|
302
|
+
readonly userBubbleBackground: string;
|
|
303
|
+
readonly userBubbleText: string;
|
|
304
|
+
readonly assistantBubbleBackground: string;
|
|
305
|
+
readonly assistantBubbleText: string;
|
|
306
|
+
readonly composerSurface: string;
|
|
307
|
+
readonly toolCallSurface: string;
|
|
308
|
+
};
|
|
309
|
+
readonly graph: {
|
|
310
|
+
readonly panelBackground: string;
|
|
311
|
+
readonly panelText: string;
|
|
312
|
+
readonly edgeDefault: "rgb(226 232 240 / 0.56)";
|
|
313
|
+
readonly community1: string;
|
|
314
|
+
readonly community2: string;
|
|
315
|
+
readonly community3: string;
|
|
316
|
+
readonly community4: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
1
319
|
export declare const component: {
|
|
2
320
|
readonly button: {
|
|
3
|
-
readonly radius:
|
|
4
|
-
readonly primaryBackground:
|
|
5
|
-
readonly primaryText:
|
|
6
|
-
readonly secondaryBackground:
|
|
7
|
-
readonly secondaryText:
|
|
321
|
+
readonly radius: string;
|
|
322
|
+
readonly primaryBackground: string;
|
|
323
|
+
readonly primaryText: string;
|
|
324
|
+
readonly secondaryBackground: string;
|
|
325
|
+
readonly secondaryText: string;
|
|
326
|
+
readonly anatomy: ComponentAnatomy;
|
|
8
327
|
};
|
|
9
328
|
readonly link: {
|
|
10
|
-
readonly text:
|
|
11
|
-
readonly hoverText:
|
|
12
|
-
readonly disabledText:
|
|
13
|
-
readonly focusRing:
|
|
329
|
+
readonly text: string;
|
|
330
|
+
readonly hoverText: string;
|
|
331
|
+
readonly disabledText: string;
|
|
332
|
+
readonly focusRing: string;
|
|
333
|
+
readonly anatomy: ComponentAnatomy;
|
|
14
334
|
};
|
|
15
335
|
readonly alert: {
|
|
16
|
-
readonly background:
|
|
17
|
-
readonly text:
|
|
18
|
-
readonly border:
|
|
19
|
-
readonly infoBorder:
|
|
20
|
-
readonly successBorder:
|
|
21
|
-
readonly warningBorder:
|
|
22
|
-
readonly errorBorder:
|
|
23
|
-
readonly radius:
|
|
336
|
+
readonly background: string;
|
|
337
|
+
readonly text: string;
|
|
338
|
+
readonly border: string;
|
|
339
|
+
readonly infoBorder: string;
|
|
340
|
+
readonly successBorder: string;
|
|
341
|
+
readonly warningBorder: string;
|
|
342
|
+
readonly errorBorder: string;
|
|
343
|
+
readonly radius: string;
|
|
24
344
|
};
|
|
25
345
|
readonly card: {
|
|
26
|
-
readonly background:
|
|
27
|
-
readonly border:
|
|
28
|
-
readonly radius:
|
|
29
|
-
readonly shadow:
|
|
346
|
+
readonly background: string;
|
|
347
|
+
readonly border: string;
|
|
348
|
+
readonly radius: string;
|
|
349
|
+
readonly shadow: string;
|
|
350
|
+
readonly anatomy: ComponentAnatomy;
|
|
30
351
|
};
|
|
31
352
|
readonly menu: {
|
|
32
|
-
readonly background:
|
|
33
|
-
readonly border:
|
|
34
|
-
readonly text:
|
|
35
|
-
readonly itemHoverBackground:
|
|
36
|
-
readonly disabledText:
|
|
37
|
-
readonly radius:
|
|
38
|
-
readonly shadow:
|
|
353
|
+
readonly background: string;
|
|
354
|
+
readonly border: string;
|
|
355
|
+
readonly text: string;
|
|
356
|
+
readonly itemHoverBackground: string;
|
|
357
|
+
readonly disabledText: string;
|
|
358
|
+
readonly radius: string;
|
|
359
|
+
readonly shadow: string;
|
|
39
360
|
};
|
|
40
361
|
readonly popover: {
|
|
41
|
-
readonly background:
|
|
42
|
-
readonly border:
|
|
43
|
-
readonly text:
|
|
44
|
-
readonly shadow:
|
|
45
|
-
readonly radius:
|
|
46
|
-
readonly zIndex:
|
|
362
|
+
readonly background: string;
|
|
363
|
+
readonly border: string;
|
|
364
|
+
readonly text: string;
|
|
365
|
+
readonly shadow: string;
|
|
366
|
+
readonly radius: string;
|
|
367
|
+
readonly zIndex: number;
|
|
47
368
|
};
|
|
48
369
|
readonly dropdown: {
|
|
49
|
-
readonly background:
|
|
50
|
-
readonly border:
|
|
51
|
-
readonly text:
|
|
52
|
-
readonly optionHoverBackground:
|
|
53
|
-
readonly selectedBackground:
|
|
54
|
-
readonly selectedText:
|
|
55
|
-
readonly radius:
|
|
56
|
-
readonly shadow:
|
|
370
|
+
readonly background: string;
|
|
371
|
+
readonly border: string;
|
|
372
|
+
readonly text: string;
|
|
373
|
+
readonly optionHoverBackground: string;
|
|
374
|
+
readonly selectedBackground: string;
|
|
375
|
+
readonly selectedText: string;
|
|
376
|
+
readonly radius: string;
|
|
377
|
+
readonly shadow: string;
|
|
57
378
|
};
|
|
58
379
|
readonly input: {
|
|
59
|
-
readonly background:
|
|
60
|
-
readonly border:
|
|
61
|
-
readonly focusRing:
|
|
62
|
-
readonly radius:
|
|
380
|
+
readonly background: string;
|
|
381
|
+
readonly border: string;
|
|
382
|
+
readonly focusRing: string;
|
|
383
|
+
readonly radius: string;
|
|
63
384
|
};
|
|
64
385
|
readonly field: {
|
|
65
|
-
readonly labelText:
|
|
66
|
-
readonly helpText:
|
|
67
|
-
readonly errorText:
|
|
68
|
-
readonly gap:
|
|
386
|
+
readonly labelText: string;
|
|
387
|
+
readonly helpText: string;
|
|
388
|
+
readonly errorText: string;
|
|
389
|
+
readonly gap: string;
|
|
69
390
|
readonly maxWidth: "28rem";
|
|
391
|
+
readonly labelTypography: TypographyAnatomy;
|
|
70
392
|
};
|
|
71
393
|
readonly control: {
|
|
72
|
-
readonly background:
|
|
73
|
-
readonly text:
|
|
74
|
-
readonly placeholderText:
|
|
75
|
-
readonly border:
|
|
76
|
-
readonly hoverBorder:
|
|
77
|
-
readonly focusRing:
|
|
78
|
-
readonly invalidBorder:
|
|
79
|
-
readonly disabledBackground:
|
|
80
|
-
readonly disabledText:
|
|
81
|
-
readonly radius:
|
|
394
|
+
readonly background: string;
|
|
395
|
+
readonly text: string;
|
|
396
|
+
readonly placeholderText: string;
|
|
397
|
+
readonly border: string;
|
|
398
|
+
readonly hoverBorder: string;
|
|
399
|
+
readonly focusRing: string;
|
|
400
|
+
readonly invalidBorder: string;
|
|
401
|
+
readonly disabledBackground: string;
|
|
402
|
+
readonly disabledText: string;
|
|
403
|
+
readonly radius: string;
|
|
82
404
|
readonly smHeight: "2rem";
|
|
83
405
|
readonly mdHeight: "2.5rem";
|
|
84
406
|
readonly lgHeight: "3rem";
|
|
407
|
+
readonly anatomy: ComponentAnatomy;
|
|
85
408
|
};
|
|
86
409
|
readonly selection: {
|
|
87
|
-
readonly checkedBackground:
|
|
88
|
-
readonly checkedText:
|
|
89
|
-
readonly border:
|
|
90
|
-
readonly switchTrack:
|
|
91
|
-
readonly switchTrackChecked:
|
|
92
|
-
readonly switchThumb:
|
|
410
|
+
readonly checkedBackground: string;
|
|
411
|
+
readonly checkedText: string;
|
|
412
|
+
readonly border: string;
|
|
413
|
+
readonly switchTrack: string;
|
|
414
|
+
readonly switchTrackChecked: string;
|
|
415
|
+
readonly switchThumb: string;
|
|
93
416
|
};
|
|
94
417
|
readonly overlay: {
|
|
95
|
-
readonly backdrop:
|
|
96
|
-
readonly surface:
|
|
97
|
-
readonly border:
|
|
98
|
-
readonly shadow:
|
|
99
|
-
readonly radius:
|
|
100
|
-
readonly zIndex:
|
|
418
|
+
readonly backdrop: string;
|
|
419
|
+
readonly surface: string;
|
|
420
|
+
readonly border: string;
|
|
421
|
+
readonly shadow: string;
|
|
422
|
+
readonly radius: string;
|
|
423
|
+
readonly zIndex: number;
|
|
101
424
|
};
|
|
102
425
|
readonly drawer: {
|
|
103
|
-
readonly backdrop:
|
|
104
|
-
readonly surface:
|
|
105
|
-
readonly border:
|
|
106
|
-
readonly shadow:
|
|
426
|
+
readonly backdrop: string;
|
|
427
|
+
readonly surface: string;
|
|
428
|
+
readonly border: string;
|
|
429
|
+
readonly shadow: string;
|
|
107
430
|
readonly width: "24rem";
|
|
108
|
-
readonly zIndex:
|
|
431
|
+
readonly zIndex: number;
|
|
109
432
|
};
|
|
110
433
|
readonly emptyState: {
|
|
111
|
-
readonly background:
|
|
112
|
-
readonly border:
|
|
113
|
-
readonly titleText:
|
|
114
|
-
readonly messageText:
|
|
115
|
-
readonly radius:
|
|
434
|
+
readonly background: string;
|
|
435
|
+
readonly border: string;
|
|
436
|
+
readonly titleText: string;
|
|
437
|
+
readonly messageText: string;
|
|
438
|
+
readonly radius: string;
|
|
116
439
|
};
|
|
117
440
|
readonly loadingState: {
|
|
118
|
-
readonly indicator:
|
|
119
|
-
readonly track:
|
|
120
|
-
readonly text:
|
|
121
|
-
readonly radius:
|
|
441
|
+
readonly indicator: string;
|
|
442
|
+
readonly track: string;
|
|
443
|
+
readonly text: string;
|
|
444
|
+
readonly radius: string;
|
|
122
445
|
};
|
|
123
446
|
readonly tooltip: {
|
|
124
|
-
readonly background:
|
|
125
|
-
readonly text:
|
|
126
|
-
readonly radius:
|
|
127
|
-
readonly shadow:
|
|
128
|
-
readonly zIndex:
|
|
447
|
+
readonly background: string;
|
|
448
|
+
readonly text: string;
|
|
449
|
+
readonly radius: string;
|
|
450
|
+
readonly shadow: string;
|
|
451
|
+
readonly zIndex: number;
|
|
129
452
|
};
|
|
130
453
|
readonly toast: {
|
|
131
|
-
readonly background:
|
|
132
|
-
readonly text:
|
|
133
|
-
readonly border:
|
|
134
|
-
readonly shadow:
|
|
135
|
-
readonly radius:
|
|
136
|
-
readonly infoBorder:
|
|
137
|
-
readonly successBorder:
|
|
138
|
-
readonly warningBorder:
|
|
139
|
-
readonly errorBorder:
|
|
140
|
-
readonly zIndex:
|
|
454
|
+
readonly background: string;
|
|
455
|
+
readonly text: string;
|
|
456
|
+
readonly border: string;
|
|
457
|
+
readonly shadow: string;
|
|
458
|
+
readonly radius: string;
|
|
459
|
+
readonly infoBorder: string;
|
|
460
|
+
readonly successBorder: string;
|
|
461
|
+
readonly warningBorder: string;
|
|
462
|
+
readonly errorBorder: string;
|
|
463
|
+
readonly zIndex: number;
|
|
141
464
|
};
|
|
142
465
|
readonly dataTable: {
|
|
143
|
-
readonly headerBackground:
|
|
144
|
-
readonly rowBackground:
|
|
145
|
-
readonly rowHoverBackground:
|
|
146
|
-
readonly border:
|
|
147
|
-
readonly text:
|
|
148
|
-
readonly captionText:
|
|
149
|
-
readonly radius:
|
|
466
|
+
readonly headerBackground: string;
|
|
467
|
+
readonly rowBackground: string;
|
|
468
|
+
readonly rowHoverBackground: string;
|
|
469
|
+
readonly border: string;
|
|
470
|
+
readonly text: string;
|
|
471
|
+
readonly captionText: string;
|
|
472
|
+
readonly radius: string;
|
|
150
473
|
};
|
|
151
474
|
readonly tabs: {
|
|
152
|
-
readonly activeText:
|
|
153
|
-
readonly inactiveText:
|
|
154
|
-
readonly border:
|
|
155
|
-
readonly indicator:
|
|
156
|
-
readonly panelBackground:
|
|
475
|
+
readonly activeText: string;
|
|
476
|
+
readonly inactiveText: string;
|
|
477
|
+
readonly border: string;
|
|
478
|
+
readonly indicator: string;
|
|
479
|
+
readonly panelBackground: string;
|
|
480
|
+
readonly anatomy: ComponentAnatomy;
|
|
157
481
|
};
|
|
158
482
|
readonly pagination: {
|
|
159
|
-
readonly background:
|
|
160
|
-
readonly border:
|
|
161
|
-
readonly text:
|
|
162
|
-
readonly activeBackground:
|
|
163
|
-
readonly activeText:
|
|
164
|
-
readonly disabledText:
|
|
165
|
-
readonly radius:
|
|
483
|
+
readonly background: string;
|
|
484
|
+
readonly border: string;
|
|
485
|
+
readonly text: string;
|
|
486
|
+
readonly activeBackground: string;
|
|
487
|
+
readonly activeText: string;
|
|
488
|
+
readonly disabledText: string;
|
|
489
|
+
readonly radius: string;
|
|
166
490
|
};
|
|
167
491
|
readonly breadcrumb: {
|
|
168
|
-
readonly text:
|
|
169
|
-
readonly currentText:
|
|
170
|
-
readonly separator:
|
|
171
|
-
readonly linkText:
|
|
492
|
+
readonly text: string;
|
|
493
|
+
readonly currentText: string;
|
|
494
|
+
readonly separator: string;
|
|
495
|
+
readonly linkText: string;
|
|
172
496
|
};
|
|
173
497
|
readonly sideNav: {
|
|
174
|
-
readonly background:
|
|
175
|
-
readonly border:
|
|
176
|
-
readonly itemText:
|
|
177
|
-
readonly activeBackground:
|
|
178
|
-
readonly activeText:
|
|
498
|
+
readonly background: string;
|
|
499
|
+
readonly border: string;
|
|
500
|
+
readonly itemText: string;
|
|
501
|
+
readonly activeBackground: string;
|
|
502
|
+
readonly activeText: string;
|
|
179
503
|
readonly width: "16rem";
|
|
180
504
|
};
|
|
181
505
|
readonly chat: {
|
|
182
|
-
readonly userBubbleBackground:
|
|
183
|
-
readonly userBubbleText:
|
|
184
|
-
readonly assistantBubbleBackground:
|
|
185
|
-
readonly assistantBubbleText:
|
|
186
|
-
readonly composerSurface:
|
|
187
|
-
readonly toolCallSurface:
|
|
506
|
+
readonly userBubbleBackground: string;
|
|
507
|
+
readonly userBubbleText: string;
|
|
508
|
+
readonly assistantBubbleBackground: string;
|
|
509
|
+
readonly assistantBubbleText: string;
|
|
510
|
+
readonly composerSurface: string;
|
|
511
|
+
readonly toolCallSurface: string;
|
|
188
512
|
};
|
|
189
513
|
readonly graph: {
|
|
190
|
-
readonly panelBackground:
|
|
191
|
-
readonly panelText:
|
|
514
|
+
readonly panelBackground: string;
|
|
515
|
+
readonly panelText: string;
|
|
192
516
|
readonly edgeDefault: "rgb(226 232 240 / 0.56)";
|
|
193
|
-
readonly community1:
|
|
194
|
-
readonly community2:
|
|
195
|
-
readonly community3:
|
|
196
|
-
readonly community4:
|
|
517
|
+
readonly community1: string;
|
|
518
|
+
readonly community2: string;
|
|
519
|
+
readonly community3: string;
|
|
520
|
+
readonly community4: string;
|
|
197
521
|
};
|
|
198
522
|
};
|
|
523
|
+
export {};
|
|
199
524
|
//# sourceMappingURL=component.d.ts.map
|
package/dist/component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version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