@100mslive/roomkit-react 0.3.16-alpha.0 → 0.3.16-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-KOCGTP23.css → HLSView-LQNFHQLW.css} +3 -3
- package/dist/{HLSView-KOCGTP23.css.map → HLSView-LQNFHQLW.css.map} +1 -1
- package/dist/{HLSView-P7GF2RAU.js → HLSView-PTKFE7ET.js} +2 -2
- package/dist/Prebuilt/components/Chat/ChatBody.d.ts +887 -0
- package/dist/Prebuilt/components/Chat/ChatFooter.d.ts +1 -1
- package/dist/Prebuilt/components/Chat/utils.d.ts +2 -0
- package/dist/Prebuilt/components/PIP/PIPChat.d.ts +2 -0
- package/dist/Prebuilt/components/PIP/PIPChatOption.d.ts +5 -0
- package/dist/Prebuilt/components/PIP/PIPProvider.d.ts +6 -0
- package/dist/Prebuilt/components/PIP/PIPWindow.d.ts +7 -0
- package/dist/Prebuilt/components/PIP/context.d.ts +8 -0
- package/dist/Prebuilt/components/PIP/usePIPChat.d.ts +5 -0
- package/dist/Prebuilt/components/PIP/usePIPWindow.d.ts +2 -0
- package/dist/{chunk-DDB4BLHX.js → chunk-QGNIWXTH.js} +10176 -9767
- package/dist/chunk-QGNIWXTH.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +3974 -3512
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +2275 -1908
- package/dist/meta.esbuild.json +2275 -1908
- package/package.json +8 -7
- package/src/Prebuilt/components/AudioVideoToggle.tsx +14 -7
- package/src/Prebuilt/components/Chat/ChatBody.tsx +4 -12
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -3
- package/src/Prebuilt/components/Chat/utils.ts +11 -0
- package/src/Prebuilt/components/ConferenceScreen.tsx +13 -1
- package/src/Prebuilt/components/Footer/ParticipantList.tsx +1 -4
- package/src/Prebuilt/components/MoreSettings/MoreSettings.tsx +4 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +13 -5
- package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +33 -0
- package/src/Prebuilt/components/PIP/PIPChat.tsx +225 -0
- package/src/Prebuilt/components/PIP/PIPChatOption.tsx +18 -0
- package/src/Prebuilt/components/PIP/PIPProvider.tsx +56 -0
- package/src/Prebuilt/components/PIP/PIPWindow.tsx +13 -0
- package/src/Prebuilt/components/PIP/context.ts +10 -0
- package/src/Prebuilt/components/PIP/usePIPChat.tsx +103 -0
- package/src/Prebuilt/components/PIP/usePIPWindow.tsx +12 -0
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +3 -1
- package/src/Prebuilt/components/Toast/ToastConfig.jsx +2 -2
- package/dist/chunk-DDB4BLHX.js.map +0 -7
- /package/dist/{HLSView-P7GF2RAU.js.map → HLSView-PTKFE7ET.js.map} +0 -0
@@ -1,9 +1,896 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariableSizeList } from 'react-window';
|
3
|
+
import { HMSPeerID, HMSRoleName } from '@100mslive/react-sdk';
|
4
|
+
export declare const MessageType: ({ roles, hasCurrentUserSent, receiver, }: {
|
5
|
+
roles?: string[] | undefined;
|
6
|
+
hasCurrentUserSent: boolean;
|
7
|
+
receiver?: string | undefined;
|
8
|
+
}) => React.JSX.Element | null;
|
3
9
|
export declare const AnnotisedMessage: ({ message, length }: {
|
4
10
|
message: string;
|
5
11
|
length?: number | undefined;
|
6
12
|
}) => React.JSX.Element;
|
13
|
+
export declare const SenderName: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"p", {
|
14
|
+
variant?: "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "tiny" | "xs" | "sm" | "md" | "lg" | "button" | "overline" | "sub1" | "sub2" | "body1" | "body2" | undefined;
|
15
|
+
color?: "white" | undefined;
|
16
|
+
inline?: boolean | "true" | undefined;
|
17
|
+
}, {
|
18
|
+
allowMotion: string;
|
19
|
+
sm: string;
|
20
|
+
md: string;
|
21
|
+
lg: string;
|
22
|
+
xl: string;
|
23
|
+
'2xl': string;
|
24
|
+
ls: string;
|
25
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
26
|
+
allowMotion: string;
|
27
|
+
sm: string;
|
28
|
+
md: string;
|
29
|
+
lg: string;
|
30
|
+
xl: string;
|
31
|
+
'2xl': string;
|
32
|
+
ls: string;
|
33
|
+
}, {
|
34
|
+
colors: {
|
35
|
+
primary_default: string;
|
36
|
+
primary_bright: string;
|
37
|
+
primary_dim: string;
|
38
|
+
primary_disabled: string;
|
39
|
+
on_primary_high: string;
|
40
|
+
on_primary_medium: string;
|
41
|
+
on_primary_low: string;
|
42
|
+
secondary_default: string;
|
43
|
+
secondary_bright: string;
|
44
|
+
secondary_dim: string;
|
45
|
+
secondary_disabled: string;
|
46
|
+
on_secondary_high: string;
|
47
|
+
on_secondary_medium: string;
|
48
|
+
on_secondary_low: string;
|
49
|
+
background_default: string;
|
50
|
+
background_dim: string;
|
51
|
+
surface_default: string;
|
52
|
+
surface_bright: string;
|
53
|
+
surface_brighter: string;
|
54
|
+
surface_dim: string;
|
55
|
+
on_surface_high: string;
|
56
|
+
on_surface_medium: string;
|
57
|
+
on_surface_low: string;
|
58
|
+
border_default: string;
|
59
|
+
border_bright: string;
|
60
|
+
alert_success: string;
|
61
|
+
alert_warning: string;
|
62
|
+
alert_error_default: string;
|
63
|
+
alert_error_bright: string;
|
64
|
+
alert_error_brighter: string;
|
65
|
+
alert_error_dim: string;
|
66
|
+
};
|
67
|
+
shadows: {
|
68
|
+
sm: string;
|
69
|
+
md: string;
|
70
|
+
};
|
71
|
+
fonts: {
|
72
|
+
sans: string;
|
73
|
+
};
|
74
|
+
fontSizes: {
|
75
|
+
h1: string;
|
76
|
+
h2: string;
|
77
|
+
h3: string;
|
78
|
+
h4: string;
|
79
|
+
h5: string;
|
80
|
+
h6: string;
|
81
|
+
tiny: string;
|
82
|
+
xs: string;
|
83
|
+
sm: string;
|
84
|
+
md: string;
|
85
|
+
lg: string;
|
86
|
+
};
|
87
|
+
fontWeights: {
|
88
|
+
semiBold: number;
|
89
|
+
medium: number;
|
90
|
+
regular: number;
|
91
|
+
};
|
92
|
+
lineHeights: {
|
93
|
+
h1: string;
|
94
|
+
h2: string;
|
95
|
+
h3: string;
|
96
|
+
h4: string;
|
97
|
+
h5: string;
|
98
|
+
h6: string;
|
99
|
+
tiny: string;
|
100
|
+
xs: string;
|
101
|
+
sm: string;
|
102
|
+
md: string;
|
103
|
+
};
|
104
|
+
radii: {
|
105
|
+
'0': string;
|
106
|
+
'1': string;
|
107
|
+
'2': string;
|
108
|
+
'3': string;
|
109
|
+
'4': string;
|
110
|
+
round: string;
|
111
|
+
};
|
112
|
+
space: {
|
113
|
+
0: string;
|
114
|
+
xs: string;
|
115
|
+
sm: string;
|
116
|
+
md: string;
|
117
|
+
lg: string;
|
118
|
+
xl: string;
|
119
|
+
px: string;
|
120
|
+
1: string;
|
121
|
+
2: string;
|
122
|
+
3: string;
|
123
|
+
4: string;
|
124
|
+
5: string;
|
125
|
+
6: string;
|
126
|
+
7: string;
|
127
|
+
8: string;
|
128
|
+
9: string;
|
129
|
+
10: string;
|
130
|
+
11: string;
|
131
|
+
12: string;
|
132
|
+
13: string;
|
133
|
+
14: string;
|
134
|
+
15: string;
|
135
|
+
16: string;
|
136
|
+
17: string;
|
137
|
+
18: string;
|
138
|
+
19: string;
|
139
|
+
20: string;
|
140
|
+
24: string;
|
141
|
+
28: string;
|
142
|
+
32: string;
|
143
|
+
36: string;
|
144
|
+
40: string;
|
145
|
+
44: string;
|
146
|
+
48: string;
|
147
|
+
52: string;
|
148
|
+
56: string;
|
149
|
+
60: string;
|
150
|
+
64: string;
|
151
|
+
72: string;
|
152
|
+
80: string;
|
153
|
+
96: string;
|
154
|
+
100: string;
|
155
|
+
};
|
156
|
+
borderWidths: {
|
157
|
+
light: string;
|
158
|
+
normal: string;
|
159
|
+
bold: string;
|
160
|
+
extrabold: string;
|
161
|
+
black: string;
|
162
|
+
};
|
163
|
+
}, {
|
164
|
+
width: string;
|
165
|
+
height: string;
|
166
|
+
minWidth: string;
|
167
|
+
maxWidth: string;
|
168
|
+
minHeight: string;
|
169
|
+
maxHeight: string;
|
170
|
+
flexBasis: string;
|
171
|
+
gridTemplateColumns: string;
|
172
|
+
gridTemplateRows: string;
|
173
|
+
blockSize: string;
|
174
|
+
minBlockSize: string;
|
175
|
+
maxBlockSize: string;
|
176
|
+
inlineSize: string;
|
177
|
+
minInlineSize: string;
|
178
|
+
maxInlineSize: string;
|
179
|
+
gap: "space";
|
180
|
+
gridGap: "space";
|
181
|
+
columnGap: "space";
|
182
|
+
gridColumnGap: "space";
|
183
|
+
rowGap: "space";
|
184
|
+
gridRowGap: "space";
|
185
|
+
inset: "space";
|
186
|
+
insetBlock: "space";
|
187
|
+
insetBlockEnd: "space";
|
188
|
+
insetBlockStart: "space";
|
189
|
+
insetInline: "space";
|
190
|
+
insetInlineEnd: "space";
|
191
|
+
insetInlineStart: "space";
|
192
|
+
margin: "space";
|
193
|
+
marginTop: "space";
|
194
|
+
marginRight: "space";
|
195
|
+
marginBottom: "space";
|
196
|
+
marginLeft: "space";
|
197
|
+
marginBlock: "space";
|
198
|
+
marginBlockEnd: "space";
|
199
|
+
marginBlockStart: "space";
|
200
|
+
marginInline: "space";
|
201
|
+
marginInlineEnd: "space";
|
202
|
+
marginInlineStart: "space";
|
203
|
+
padding: "space";
|
204
|
+
paddingTop: "space";
|
205
|
+
paddingRight: "space";
|
206
|
+
paddingBottom: "space";
|
207
|
+
paddingLeft: "space";
|
208
|
+
paddingBlock: "space";
|
209
|
+
paddingBlockEnd: "space";
|
210
|
+
paddingBlockStart: "space";
|
211
|
+
paddingInline: "space";
|
212
|
+
paddingInlineEnd: "space";
|
213
|
+
paddingInlineStart: "space";
|
214
|
+
scrollMargin: "space";
|
215
|
+
scrollMarginTop: "space";
|
216
|
+
scrollMarginRight: "space";
|
217
|
+
scrollMarginBottom: "space";
|
218
|
+
scrollMarginLeft: "space";
|
219
|
+
scrollMarginBlock: "space";
|
220
|
+
scrollMarginBlockEnd: "space";
|
221
|
+
scrollMarginBlockStart: "space";
|
222
|
+
scrollMarginInline: "space";
|
223
|
+
scrollMarginInlineEnd: "space";
|
224
|
+
scrollMarginInlineStart: "space";
|
225
|
+
scrollPadding: "space";
|
226
|
+
scrollPaddingTop: "space";
|
227
|
+
scrollPaddingRight: "space";
|
228
|
+
scrollPaddingBottom: "space";
|
229
|
+
scrollPaddingLeft: "space";
|
230
|
+
scrollPaddingBlock: "space";
|
231
|
+
scrollPaddingBlockEnd: "space";
|
232
|
+
scrollPaddingBlockStart: "space";
|
233
|
+
scrollPaddingInline: "space";
|
234
|
+
scrollPaddingInlineEnd: "space";
|
235
|
+
scrollPaddingInlineStart: "space";
|
236
|
+
top: "space";
|
237
|
+
right: "space";
|
238
|
+
bottom: "space";
|
239
|
+
left: "space";
|
240
|
+
fontSize: "fontSizes";
|
241
|
+
background: "colors";
|
242
|
+
backgroundColor: "colors";
|
243
|
+
backgroundImage: "colors";
|
244
|
+
borderImage: "colors";
|
245
|
+
border: "colors";
|
246
|
+
borderBlock: "colors";
|
247
|
+
borderBlockEnd: "colors";
|
248
|
+
borderBlockStart: "colors";
|
249
|
+
borderBottom: "colors";
|
250
|
+
borderBottomColor: "colors";
|
251
|
+
borderColor: "colors";
|
252
|
+
borderInline: "colors";
|
253
|
+
borderInlineEnd: "colors";
|
254
|
+
borderInlineStart: "colors";
|
255
|
+
borderLeft: "colors";
|
256
|
+
borderLeftColor: "colors";
|
257
|
+
borderRight: "colors";
|
258
|
+
borderRightColor: "colors";
|
259
|
+
borderTop: "colors";
|
260
|
+
borderTopColor: "colors";
|
261
|
+
caretColor: "colors";
|
262
|
+
color: "colors";
|
263
|
+
columnRuleColor: "colors";
|
264
|
+
outline: "colors";
|
265
|
+
outlineColor: "colors";
|
266
|
+
fill: "colors";
|
267
|
+
stroke: "colors";
|
268
|
+
textDecorationColor: "colors";
|
269
|
+
fontFamily: "fonts";
|
270
|
+
fontWeight: "fontWeights";
|
271
|
+
lineHeight: "lineHeights";
|
272
|
+
letterSpacing: "letterSpacings";
|
273
|
+
borderWidth: "borderWidths";
|
274
|
+
borderTopWidth: "borderWidths";
|
275
|
+
borderLeftWidth: "borderWidths";
|
276
|
+
borderRightWidth: "borderWidths";
|
277
|
+
borderBottomWidth: "borderWidths";
|
278
|
+
borderStyle: "borderStyles";
|
279
|
+
borderTopStyle: "borderStyles";
|
280
|
+
borderLeftStyle: "borderStyles";
|
281
|
+
borderRightStyle: "borderStyles";
|
282
|
+
borderBottomStyle: "borderStyles";
|
283
|
+
borderRadius: "radii";
|
284
|
+
borderTopLeftRadius: "radii";
|
285
|
+
borderTopRightRadius: "radii";
|
286
|
+
borderBottomRightRadius: "radii";
|
287
|
+
borderBottomLeftRadius: "radii";
|
288
|
+
boxShadow: "shadows";
|
289
|
+
textShadow: "shadows";
|
290
|
+
transition: "transitions";
|
291
|
+
zIndex: "zIndices";
|
292
|
+
}, {
|
293
|
+
bg: (value: {
|
294
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
295
|
+
}) => {
|
296
|
+
backgroundColor: {
|
297
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
298
|
+
};
|
299
|
+
};
|
300
|
+
c: (value: {
|
301
|
+
readonly [$$PropertyValue]: "color";
|
302
|
+
}) => {
|
303
|
+
color: {
|
304
|
+
readonly [$$PropertyValue]: "color";
|
305
|
+
};
|
306
|
+
};
|
307
|
+
r: (value: {
|
308
|
+
readonly [$$ScaleValue]: "radii";
|
309
|
+
}) => {
|
310
|
+
borderRadius: {
|
311
|
+
readonly [$$ScaleValue]: "radii";
|
312
|
+
};
|
313
|
+
};
|
314
|
+
fs: (value: string | number | {
|
315
|
+
readonly [$$PropertyValue]: "fontSize";
|
316
|
+
}) => {
|
317
|
+
fontSize: string | number | {
|
318
|
+
readonly [$$PropertyValue]: "fontSize";
|
319
|
+
};
|
320
|
+
};
|
321
|
+
size: (value: string | number | {
|
322
|
+
readonly [$$ScaleValue]: "space";
|
323
|
+
}) => {
|
324
|
+
height: string | number | {
|
325
|
+
readonly [$$ScaleValue]: "space";
|
326
|
+
};
|
327
|
+
width: string | number | {
|
328
|
+
readonly [$$ScaleValue]: "space";
|
329
|
+
};
|
330
|
+
};
|
331
|
+
w: (value: string | number | {
|
332
|
+
readonly [$$ScaleValue]: "space";
|
333
|
+
}) => {
|
334
|
+
width: string | number | {
|
335
|
+
readonly [$$ScaleValue]: "space";
|
336
|
+
};
|
337
|
+
};
|
338
|
+
h: (value: string | number | {
|
339
|
+
readonly [$$ScaleValue]: "space";
|
340
|
+
}) => {
|
341
|
+
height: string | number | {
|
342
|
+
readonly [$$ScaleValue]: "space";
|
343
|
+
};
|
344
|
+
};
|
345
|
+
p: (value: string | number | {
|
346
|
+
readonly [$$ScaleValue]: "space";
|
347
|
+
}) => {
|
348
|
+
padding: string | number | {
|
349
|
+
readonly [$$ScaleValue]: "space";
|
350
|
+
};
|
351
|
+
};
|
352
|
+
pt: (value: string | number | {
|
353
|
+
readonly [$$ScaleValue]: "space";
|
354
|
+
}) => {
|
355
|
+
paddingTop: string | number | {
|
356
|
+
readonly [$$ScaleValue]: "space";
|
357
|
+
};
|
358
|
+
};
|
359
|
+
pr: (value: string | number | {
|
360
|
+
readonly [$$ScaleValue]: "space";
|
361
|
+
}) => {
|
362
|
+
paddingRight: string | number | {
|
363
|
+
readonly [$$ScaleValue]: "space";
|
364
|
+
};
|
365
|
+
};
|
366
|
+
pb: (value: string | number | {
|
367
|
+
readonly [$$ScaleValue]: "space";
|
368
|
+
}) => {
|
369
|
+
paddingBottom: string | number | {
|
370
|
+
readonly [$$ScaleValue]: "space";
|
371
|
+
};
|
372
|
+
};
|
373
|
+
pl: (value: string | number | {
|
374
|
+
readonly [$$ScaleValue]: "space";
|
375
|
+
}) => {
|
376
|
+
paddingLeft: string | number | {
|
377
|
+
readonly [$$ScaleValue]: "space";
|
378
|
+
};
|
379
|
+
};
|
380
|
+
px: (value: string | number | {
|
381
|
+
readonly [$$ScaleValue]: "space";
|
382
|
+
}) => {
|
383
|
+
paddingLeft: string | number | {
|
384
|
+
readonly [$$ScaleValue]: "space";
|
385
|
+
};
|
386
|
+
paddingRight: string | number | {
|
387
|
+
readonly [$$ScaleValue]: "space";
|
388
|
+
};
|
389
|
+
};
|
390
|
+
py: (value: string | number | {
|
391
|
+
readonly [$$ScaleValue]: "space";
|
392
|
+
}) => {
|
393
|
+
paddingTop: string | number | {
|
394
|
+
readonly [$$ScaleValue]: "space";
|
395
|
+
};
|
396
|
+
paddingBottom: string | number | {
|
397
|
+
readonly [$$ScaleValue]: "space";
|
398
|
+
};
|
399
|
+
};
|
400
|
+
m: (value: string | number | {
|
401
|
+
readonly [$$ScaleValue]: "space";
|
402
|
+
}) => {
|
403
|
+
margin: string | number | {
|
404
|
+
readonly [$$ScaleValue]: "space";
|
405
|
+
};
|
406
|
+
};
|
407
|
+
mt: (value: string | number | {
|
408
|
+
readonly [$$ScaleValue]: "space";
|
409
|
+
}) => {
|
410
|
+
marginTop: string | number | {
|
411
|
+
readonly [$$ScaleValue]: "space";
|
412
|
+
};
|
413
|
+
};
|
414
|
+
mr: (value: string | number | {
|
415
|
+
readonly [$$ScaleValue]: "space";
|
416
|
+
}) => {
|
417
|
+
marginRight: string | number | {
|
418
|
+
readonly [$$ScaleValue]: "space";
|
419
|
+
};
|
420
|
+
};
|
421
|
+
mb: (value: string | number | {
|
422
|
+
readonly [$$ScaleValue]: "space";
|
423
|
+
}) => {
|
424
|
+
marginBottom: string | number | {
|
425
|
+
readonly [$$ScaleValue]: "space";
|
426
|
+
};
|
427
|
+
};
|
428
|
+
ml: (value: string | number | {
|
429
|
+
readonly [$$ScaleValue]: "space";
|
430
|
+
}) => {
|
431
|
+
marginLeft: string | number | {
|
432
|
+
readonly [$$ScaleValue]: "space";
|
433
|
+
};
|
434
|
+
};
|
435
|
+
mx: (value: string | number | {
|
436
|
+
readonly [$$ScaleValue]: "space";
|
437
|
+
}) => {
|
438
|
+
marginLeft: string | number | {
|
439
|
+
readonly [$$ScaleValue]: "space";
|
440
|
+
};
|
441
|
+
marginRight: string | number | {
|
442
|
+
readonly [$$ScaleValue]: "space";
|
443
|
+
};
|
444
|
+
};
|
445
|
+
my: (value: string | number | {
|
446
|
+
readonly [$$ScaleValue]: "space";
|
447
|
+
}) => {
|
448
|
+
marginTop: string | number | {
|
449
|
+
readonly [$$ScaleValue]: "space";
|
450
|
+
};
|
451
|
+
marginBottom: string | number | {
|
452
|
+
readonly [$$ScaleValue]: "space";
|
453
|
+
};
|
454
|
+
};
|
455
|
+
}>>, {}, {
|
456
|
+
allowMotion: string;
|
457
|
+
sm: string;
|
458
|
+
md: string;
|
459
|
+
lg: string;
|
460
|
+
xl: string;
|
461
|
+
'2xl': string;
|
462
|
+
ls: string;
|
463
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
464
|
+
allowMotion: string;
|
465
|
+
sm: string;
|
466
|
+
md: string;
|
467
|
+
lg: string;
|
468
|
+
xl: string;
|
469
|
+
'2xl': string;
|
470
|
+
ls: string;
|
471
|
+
}, {
|
472
|
+
colors: {
|
473
|
+
primary_default: string;
|
474
|
+
primary_bright: string;
|
475
|
+
primary_dim: string;
|
476
|
+
primary_disabled: string;
|
477
|
+
on_primary_high: string;
|
478
|
+
on_primary_medium: string;
|
479
|
+
on_primary_low: string;
|
480
|
+
secondary_default: string;
|
481
|
+
secondary_bright: string;
|
482
|
+
secondary_dim: string;
|
483
|
+
secondary_disabled: string;
|
484
|
+
on_secondary_high: string;
|
485
|
+
on_secondary_medium: string;
|
486
|
+
on_secondary_low: string;
|
487
|
+
background_default: string;
|
488
|
+
background_dim: string;
|
489
|
+
surface_default: string;
|
490
|
+
surface_bright: string;
|
491
|
+
surface_brighter: string;
|
492
|
+
surface_dim: string;
|
493
|
+
on_surface_high: string;
|
494
|
+
on_surface_medium: string;
|
495
|
+
on_surface_low: string;
|
496
|
+
border_default: string;
|
497
|
+
border_bright: string;
|
498
|
+
alert_success: string;
|
499
|
+
alert_warning: string;
|
500
|
+
alert_error_default: string;
|
501
|
+
alert_error_bright: string;
|
502
|
+
alert_error_brighter: string;
|
503
|
+
alert_error_dim: string;
|
504
|
+
};
|
505
|
+
shadows: {
|
506
|
+
sm: string;
|
507
|
+
md: string;
|
508
|
+
};
|
509
|
+
fonts: {
|
510
|
+
sans: string;
|
511
|
+
};
|
512
|
+
fontSizes: {
|
513
|
+
h1: string;
|
514
|
+
h2: string;
|
515
|
+
h3: string;
|
516
|
+
h4: string;
|
517
|
+
h5: string;
|
518
|
+
h6: string;
|
519
|
+
tiny: string;
|
520
|
+
xs: string;
|
521
|
+
sm: string;
|
522
|
+
md: string;
|
523
|
+
lg: string;
|
524
|
+
};
|
525
|
+
fontWeights: {
|
526
|
+
semiBold: number;
|
527
|
+
medium: number;
|
528
|
+
regular: number;
|
529
|
+
};
|
530
|
+
lineHeights: {
|
531
|
+
h1: string;
|
532
|
+
h2: string;
|
533
|
+
h3: string;
|
534
|
+
h4: string;
|
535
|
+
h5: string;
|
536
|
+
h6: string;
|
537
|
+
tiny: string;
|
538
|
+
xs: string;
|
539
|
+
sm: string;
|
540
|
+
md: string;
|
541
|
+
};
|
542
|
+
radii: {
|
543
|
+
'0': string;
|
544
|
+
'1': string;
|
545
|
+
'2': string;
|
546
|
+
'3': string;
|
547
|
+
'4': string;
|
548
|
+
round: string;
|
549
|
+
};
|
550
|
+
space: {
|
551
|
+
0: string;
|
552
|
+
xs: string;
|
553
|
+
sm: string;
|
554
|
+
md: string;
|
555
|
+
lg: string;
|
556
|
+
xl: string;
|
557
|
+
px: string;
|
558
|
+
1: string;
|
559
|
+
2: string;
|
560
|
+
3: string;
|
561
|
+
4: string;
|
562
|
+
5: string;
|
563
|
+
6: string;
|
564
|
+
7: string;
|
565
|
+
8: string;
|
566
|
+
9: string;
|
567
|
+
10: string;
|
568
|
+
11: string;
|
569
|
+
12: string;
|
570
|
+
13: string;
|
571
|
+
14: string;
|
572
|
+
15: string;
|
573
|
+
16: string;
|
574
|
+
17: string;
|
575
|
+
18: string;
|
576
|
+
19: string;
|
577
|
+
20: string;
|
578
|
+
24: string;
|
579
|
+
28: string;
|
580
|
+
32: string;
|
581
|
+
36: string;
|
582
|
+
40: string;
|
583
|
+
44: string;
|
584
|
+
48: string;
|
585
|
+
52: string;
|
586
|
+
56: string;
|
587
|
+
60: string;
|
588
|
+
64: string;
|
589
|
+
72: string;
|
590
|
+
80: string;
|
591
|
+
96: string;
|
592
|
+
100: string;
|
593
|
+
};
|
594
|
+
borderWidths: {
|
595
|
+
light: string;
|
596
|
+
normal: string;
|
597
|
+
bold: string;
|
598
|
+
extrabold: string;
|
599
|
+
black: string;
|
600
|
+
};
|
601
|
+
}, {
|
602
|
+
width: string;
|
603
|
+
height: string;
|
604
|
+
minWidth: string;
|
605
|
+
maxWidth: string;
|
606
|
+
minHeight: string;
|
607
|
+
maxHeight: string;
|
608
|
+
flexBasis: string;
|
609
|
+
gridTemplateColumns: string;
|
610
|
+
gridTemplateRows: string;
|
611
|
+
blockSize: string;
|
612
|
+
minBlockSize: string;
|
613
|
+
maxBlockSize: string;
|
614
|
+
inlineSize: string;
|
615
|
+
minInlineSize: string;
|
616
|
+
maxInlineSize: string;
|
617
|
+
gap: "space";
|
618
|
+
gridGap: "space";
|
619
|
+
columnGap: "space";
|
620
|
+
gridColumnGap: "space";
|
621
|
+
rowGap: "space";
|
622
|
+
gridRowGap: "space";
|
623
|
+
inset: "space";
|
624
|
+
insetBlock: "space";
|
625
|
+
insetBlockEnd: "space";
|
626
|
+
insetBlockStart: "space";
|
627
|
+
insetInline: "space";
|
628
|
+
insetInlineEnd: "space";
|
629
|
+
insetInlineStart: "space";
|
630
|
+
margin: "space";
|
631
|
+
marginTop: "space";
|
632
|
+
marginRight: "space";
|
633
|
+
marginBottom: "space";
|
634
|
+
marginLeft: "space";
|
635
|
+
marginBlock: "space";
|
636
|
+
marginBlockEnd: "space";
|
637
|
+
marginBlockStart: "space";
|
638
|
+
marginInline: "space";
|
639
|
+
marginInlineEnd: "space";
|
640
|
+
marginInlineStart: "space";
|
641
|
+
padding: "space";
|
642
|
+
paddingTop: "space";
|
643
|
+
paddingRight: "space";
|
644
|
+
paddingBottom: "space";
|
645
|
+
paddingLeft: "space";
|
646
|
+
paddingBlock: "space";
|
647
|
+
paddingBlockEnd: "space";
|
648
|
+
paddingBlockStart: "space";
|
649
|
+
paddingInline: "space";
|
650
|
+
paddingInlineEnd: "space";
|
651
|
+
paddingInlineStart: "space";
|
652
|
+
scrollMargin: "space";
|
653
|
+
scrollMarginTop: "space";
|
654
|
+
scrollMarginRight: "space";
|
655
|
+
scrollMarginBottom: "space";
|
656
|
+
scrollMarginLeft: "space";
|
657
|
+
scrollMarginBlock: "space";
|
658
|
+
scrollMarginBlockEnd: "space";
|
659
|
+
scrollMarginBlockStart: "space";
|
660
|
+
scrollMarginInline: "space";
|
661
|
+
scrollMarginInlineEnd: "space";
|
662
|
+
scrollMarginInlineStart: "space";
|
663
|
+
scrollPadding: "space";
|
664
|
+
scrollPaddingTop: "space";
|
665
|
+
scrollPaddingRight: "space";
|
666
|
+
scrollPaddingBottom: "space";
|
667
|
+
scrollPaddingLeft: "space";
|
668
|
+
scrollPaddingBlock: "space";
|
669
|
+
scrollPaddingBlockEnd: "space";
|
670
|
+
scrollPaddingBlockStart: "space";
|
671
|
+
scrollPaddingInline: "space";
|
672
|
+
scrollPaddingInlineEnd: "space";
|
673
|
+
scrollPaddingInlineStart: "space";
|
674
|
+
top: "space";
|
675
|
+
right: "space";
|
676
|
+
bottom: "space";
|
677
|
+
left: "space";
|
678
|
+
fontSize: "fontSizes";
|
679
|
+
background: "colors";
|
680
|
+
backgroundColor: "colors";
|
681
|
+
backgroundImage: "colors";
|
682
|
+
borderImage: "colors";
|
683
|
+
border: "colors";
|
684
|
+
borderBlock: "colors";
|
685
|
+
borderBlockEnd: "colors";
|
686
|
+
borderBlockStart: "colors";
|
687
|
+
borderBottom: "colors";
|
688
|
+
borderBottomColor: "colors";
|
689
|
+
borderColor: "colors";
|
690
|
+
borderInline: "colors";
|
691
|
+
borderInlineEnd: "colors";
|
692
|
+
borderInlineStart: "colors";
|
693
|
+
borderLeft: "colors";
|
694
|
+
borderLeftColor: "colors";
|
695
|
+
borderRight: "colors";
|
696
|
+
borderRightColor: "colors";
|
697
|
+
borderTop: "colors";
|
698
|
+
borderTopColor: "colors";
|
699
|
+
caretColor: "colors";
|
700
|
+
color: "colors";
|
701
|
+
columnRuleColor: "colors";
|
702
|
+
outline: "colors";
|
703
|
+
outlineColor: "colors";
|
704
|
+
fill: "colors";
|
705
|
+
stroke: "colors";
|
706
|
+
textDecorationColor: "colors";
|
707
|
+
fontFamily: "fonts";
|
708
|
+
fontWeight: "fontWeights";
|
709
|
+
lineHeight: "lineHeights";
|
710
|
+
letterSpacing: "letterSpacings";
|
711
|
+
borderWidth: "borderWidths";
|
712
|
+
borderTopWidth: "borderWidths";
|
713
|
+
borderLeftWidth: "borderWidths";
|
714
|
+
borderRightWidth: "borderWidths";
|
715
|
+
borderBottomWidth: "borderWidths";
|
716
|
+
borderStyle: "borderStyles";
|
717
|
+
borderTopStyle: "borderStyles";
|
718
|
+
borderLeftStyle: "borderStyles";
|
719
|
+
borderRightStyle: "borderStyles";
|
720
|
+
borderBottomStyle: "borderStyles";
|
721
|
+
borderRadius: "radii";
|
722
|
+
borderTopLeftRadius: "radii";
|
723
|
+
borderTopRightRadius: "radii";
|
724
|
+
borderBottomRightRadius: "radii";
|
725
|
+
borderBottomLeftRadius: "radii";
|
726
|
+
boxShadow: "shadows";
|
727
|
+
textShadow: "shadows";
|
728
|
+
transition: "transitions";
|
729
|
+
zIndex: "zIndices";
|
730
|
+
}, {
|
731
|
+
bg: (value: {
|
732
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
733
|
+
}) => {
|
734
|
+
backgroundColor: {
|
735
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
736
|
+
};
|
737
|
+
};
|
738
|
+
c: (value: {
|
739
|
+
readonly [$$PropertyValue]: "color";
|
740
|
+
}) => {
|
741
|
+
color: {
|
742
|
+
readonly [$$PropertyValue]: "color";
|
743
|
+
};
|
744
|
+
};
|
745
|
+
r: (value: {
|
746
|
+
readonly [$$ScaleValue]: "radii";
|
747
|
+
}) => {
|
748
|
+
borderRadius: {
|
749
|
+
readonly [$$ScaleValue]: "radii";
|
750
|
+
};
|
751
|
+
};
|
752
|
+
fs: (value: string | number | {
|
753
|
+
readonly [$$PropertyValue]: "fontSize";
|
754
|
+
}) => {
|
755
|
+
fontSize: string | number | {
|
756
|
+
readonly [$$PropertyValue]: "fontSize";
|
757
|
+
};
|
758
|
+
};
|
759
|
+
size: (value: string | number | {
|
760
|
+
readonly [$$ScaleValue]: "space";
|
761
|
+
}) => {
|
762
|
+
height: string | number | {
|
763
|
+
readonly [$$ScaleValue]: "space";
|
764
|
+
};
|
765
|
+
width: string | number | {
|
766
|
+
readonly [$$ScaleValue]: "space";
|
767
|
+
};
|
768
|
+
};
|
769
|
+
w: (value: string | number | {
|
770
|
+
readonly [$$ScaleValue]: "space";
|
771
|
+
}) => {
|
772
|
+
width: string | number | {
|
773
|
+
readonly [$$ScaleValue]: "space";
|
774
|
+
};
|
775
|
+
};
|
776
|
+
h: (value: string | number | {
|
777
|
+
readonly [$$ScaleValue]: "space";
|
778
|
+
}) => {
|
779
|
+
height: string | number | {
|
780
|
+
readonly [$$ScaleValue]: "space";
|
781
|
+
};
|
782
|
+
};
|
783
|
+
p: (value: string | number | {
|
784
|
+
readonly [$$ScaleValue]: "space";
|
785
|
+
}) => {
|
786
|
+
padding: string | number | {
|
787
|
+
readonly [$$ScaleValue]: "space";
|
788
|
+
};
|
789
|
+
};
|
790
|
+
pt: (value: string | number | {
|
791
|
+
readonly [$$ScaleValue]: "space";
|
792
|
+
}) => {
|
793
|
+
paddingTop: string | number | {
|
794
|
+
readonly [$$ScaleValue]: "space";
|
795
|
+
};
|
796
|
+
};
|
797
|
+
pr: (value: string | number | {
|
798
|
+
readonly [$$ScaleValue]: "space";
|
799
|
+
}) => {
|
800
|
+
paddingRight: string | number | {
|
801
|
+
readonly [$$ScaleValue]: "space";
|
802
|
+
};
|
803
|
+
};
|
804
|
+
pb: (value: string | number | {
|
805
|
+
readonly [$$ScaleValue]: "space";
|
806
|
+
}) => {
|
807
|
+
paddingBottom: string | number | {
|
808
|
+
readonly [$$ScaleValue]: "space";
|
809
|
+
};
|
810
|
+
};
|
811
|
+
pl: (value: string | number | {
|
812
|
+
readonly [$$ScaleValue]: "space";
|
813
|
+
}) => {
|
814
|
+
paddingLeft: string | number | {
|
815
|
+
readonly [$$ScaleValue]: "space";
|
816
|
+
};
|
817
|
+
};
|
818
|
+
px: (value: string | number | {
|
819
|
+
readonly [$$ScaleValue]: "space";
|
820
|
+
}) => {
|
821
|
+
paddingLeft: string | number | {
|
822
|
+
readonly [$$ScaleValue]: "space";
|
823
|
+
};
|
824
|
+
paddingRight: string | number | {
|
825
|
+
readonly [$$ScaleValue]: "space";
|
826
|
+
};
|
827
|
+
};
|
828
|
+
py: (value: string | number | {
|
829
|
+
readonly [$$ScaleValue]: "space";
|
830
|
+
}) => {
|
831
|
+
paddingTop: string | number | {
|
832
|
+
readonly [$$ScaleValue]: "space";
|
833
|
+
};
|
834
|
+
paddingBottom: string | number | {
|
835
|
+
readonly [$$ScaleValue]: "space";
|
836
|
+
};
|
837
|
+
};
|
838
|
+
m: (value: string | number | {
|
839
|
+
readonly [$$ScaleValue]: "space";
|
840
|
+
}) => {
|
841
|
+
margin: string | number | {
|
842
|
+
readonly [$$ScaleValue]: "space";
|
843
|
+
};
|
844
|
+
};
|
845
|
+
mt: (value: string | number | {
|
846
|
+
readonly [$$ScaleValue]: "space";
|
847
|
+
}) => {
|
848
|
+
marginTop: string | number | {
|
849
|
+
readonly [$$ScaleValue]: "space";
|
850
|
+
};
|
851
|
+
};
|
852
|
+
mr: (value: string | number | {
|
853
|
+
readonly [$$ScaleValue]: "space";
|
854
|
+
}) => {
|
855
|
+
marginRight: string | number | {
|
856
|
+
readonly [$$ScaleValue]: "space";
|
857
|
+
};
|
858
|
+
};
|
859
|
+
mb: (value: string | number | {
|
860
|
+
readonly [$$ScaleValue]: "space";
|
861
|
+
}) => {
|
862
|
+
marginBottom: string | number | {
|
863
|
+
readonly [$$ScaleValue]: "space";
|
864
|
+
};
|
865
|
+
};
|
866
|
+
ml: (value: string | number | {
|
867
|
+
readonly [$$ScaleValue]: "space";
|
868
|
+
}) => {
|
869
|
+
marginLeft: string | number | {
|
870
|
+
readonly [$$ScaleValue]: "space";
|
871
|
+
};
|
872
|
+
};
|
873
|
+
mx: (value: string | number | {
|
874
|
+
readonly [$$ScaleValue]: "space";
|
875
|
+
}) => {
|
876
|
+
marginLeft: string | number | {
|
877
|
+
readonly [$$ScaleValue]: "space";
|
878
|
+
};
|
879
|
+
marginRight: string | number | {
|
880
|
+
readonly [$$ScaleValue]: "space";
|
881
|
+
};
|
882
|
+
};
|
883
|
+
my: (value: string | number | {
|
884
|
+
readonly [$$ScaleValue]: "space";
|
885
|
+
}) => {
|
886
|
+
marginTop: string | number | {
|
887
|
+
readonly [$$ScaleValue]: "space";
|
888
|
+
};
|
889
|
+
marginBottom: string | number | {
|
890
|
+
readonly [$$ScaleValue]: "space";
|
891
|
+
};
|
892
|
+
};
|
893
|
+
}>>;
|
7
894
|
export declare const ChatBody: React.ForwardRefExoticComponent<{
|
8
895
|
scrollToBottom: (count: number) => void;
|
9
896
|
} & React.RefAttributes<VariableSizeList<any>>>;
|