@atom-learning/components 2.68.0 → 2.69.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/CHANGELOG.md +3 -3
- package/dist/components/data-table/DataTableHead.d.ts +2 -2
- package/dist/components/data-table/DataTableHead.js +1 -1
- package/dist/components/data-table/DataTableHead.js.map +1 -1
- package/dist/components/data-table/DataTableTable.d.ts +3 -1
- package/dist/components/data-table/DataTableTable.js +1 -1
- package/dist/components/data-table/DataTableTable.js.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/pagination/PaginationPopover.js +1 -1
- package/dist/components/pagination/PaginationPopover.js.map +1 -1
- package/dist/components/spacer/Spacer.d.ts +5 -0
- package/dist/components/spacer/Spacer.js +2 -0
- package/dist/components/spacer/Spacer.js.map +1 -0
- package/dist/components/spacer/index.d.ts +1 -0
- package/dist/components/table/TableHeader.d.ts +1 -1
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeader.js.map +1 -1
- package/dist/components/toast/Toast.d.ts +676 -11
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toast/ToastCloseButton.d.ts +7 -0
- package/dist/components/toast/ToastCloseButton.js +2 -0
- package/dist/components/toast/ToastCloseButton.js.map +1 -0
- package/dist/components/toast/ToastIcon.d.ts +3 -0
- package/dist/components/toast/ToastIcon.js +2 -0
- package/dist/components/toast/ToastIcon.js.map +1 -0
- package/dist/components/toast/ToastProvider.d.ts +6 -1
- package/dist/components/toast/ToastProvider.js +1 -1
- package/dist/components/toast/ToastProvider.js.map +1 -1
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,344 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const toastVariants: {
|
|
3
|
+
readonly blank: {
|
|
4
|
+
readonly bg: "$primary";
|
|
5
|
+
};
|
|
6
|
+
readonly error: {
|
|
7
|
+
readonly bg: "$danger";
|
|
8
|
+
};
|
|
9
|
+
readonly loading: {
|
|
10
|
+
readonly bg: "$primary";
|
|
11
|
+
};
|
|
12
|
+
readonly success: {
|
|
13
|
+
readonly bg: "$success";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const StyledToast: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
17
|
+
direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | "revert-layer" | undefined;
|
|
18
|
+
wrap?: "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap" | "wrap-reverse" | "revert-layer" | undefined;
|
|
19
|
+
justify?: "center" | "left" | "right" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "space-around" | "space-between" | "space-evenly" | "end" | "flex-end" | "flex-start" | "start" | "normal" | "revert-layer" | "unsafe" | "safe" | undefined;
|
|
20
|
+
align?: "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "end" | "flex-end" | "flex-start" | "start" | "baseline" | "normal" | "self-end" | "self-start" | "revert-layer" | "unsafe" | "safe" | "first baseline" | "last baseline" | undefined;
|
|
21
|
+
gap?: number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
sm: string;
|
|
24
|
+
md: string;
|
|
25
|
+
lg: string;
|
|
26
|
+
xl: string;
|
|
27
|
+
reducedMotion: string;
|
|
28
|
+
allowMotion: string;
|
|
29
|
+
hover: string;
|
|
30
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
31
|
+
sm: string;
|
|
32
|
+
md: string;
|
|
33
|
+
lg: string;
|
|
34
|
+
xl: string;
|
|
35
|
+
reducedMotion: string;
|
|
36
|
+
allowMotion: string;
|
|
37
|
+
hover: string;
|
|
38
|
+
}, {
|
|
39
|
+
colors: {
|
|
40
|
+
textForeground: any;
|
|
41
|
+
textSubtle: any;
|
|
42
|
+
textPlaceholder: any;
|
|
43
|
+
background: any;
|
|
44
|
+
backgroundAccent: any;
|
|
45
|
+
grey100: any;
|
|
46
|
+
grey200: any;
|
|
47
|
+
grey300: any;
|
|
48
|
+
grey400: any;
|
|
49
|
+
grey500: any;
|
|
50
|
+
grey600: any;
|
|
51
|
+
grey700: any;
|
|
52
|
+
grey800: any;
|
|
53
|
+
grey900: any;
|
|
54
|
+
grey1000: any;
|
|
55
|
+
grey1100: any;
|
|
56
|
+
grey1200: any;
|
|
57
|
+
blue100: any;
|
|
58
|
+
blue200: any;
|
|
59
|
+
blue300: any;
|
|
60
|
+
blue400: any;
|
|
61
|
+
blue500: any;
|
|
62
|
+
blue600: any;
|
|
63
|
+
blue700: any;
|
|
64
|
+
blue800: any;
|
|
65
|
+
blue900: any;
|
|
66
|
+
blue1000: any;
|
|
67
|
+
blue1100: any;
|
|
68
|
+
blue1200: any;
|
|
69
|
+
purple100: any;
|
|
70
|
+
purple200: any;
|
|
71
|
+
purple300: any;
|
|
72
|
+
purple400: any;
|
|
73
|
+
purple500: any;
|
|
74
|
+
purple600: any;
|
|
75
|
+
purple700: any;
|
|
76
|
+
purple800: any;
|
|
77
|
+
purple900: any;
|
|
78
|
+
purple1000: any;
|
|
79
|
+
purple1100: any;
|
|
80
|
+
purple1200: any;
|
|
81
|
+
cyan100: any;
|
|
82
|
+
cyan200: any;
|
|
83
|
+
cyan300: any;
|
|
84
|
+
cyan400: any;
|
|
85
|
+
cyan500: any;
|
|
86
|
+
cyan600: any;
|
|
87
|
+
cyan700: any;
|
|
88
|
+
cyan800: any;
|
|
89
|
+
cyan900: any;
|
|
90
|
+
cyan1000: any;
|
|
91
|
+
cyan1100: any;
|
|
92
|
+
cyan1200: any;
|
|
93
|
+
green100: any;
|
|
94
|
+
green200: any;
|
|
95
|
+
green300: any;
|
|
96
|
+
green400: any;
|
|
97
|
+
green500: any;
|
|
98
|
+
green600: any;
|
|
99
|
+
green700: any;
|
|
100
|
+
green800: any;
|
|
101
|
+
green900: any;
|
|
102
|
+
green1000: any;
|
|
103
|
+
green1100: any;
|
|
104
|
+
green1200: any;
|
|
105
|
+
magenta100: any;
|
|
106
|
+
magenta200: any;
|
|
107
|
+
magenta300: any;
|
|
108
|
+
magenta400: any;
|
|
109
|
+
magenta500: any;
|
|
110
|
+
magenta600: any;
|
|
111
|
+
magenta700: any;
|
|
112
|
+
magenta800: any;
|
|
113
|
+
magenta900: any;
|
|
114
|
+
magenta1000: any;
|
|
115
|
+
magenta1100: any;
|
|
116
|
+
magenta1200: any;
|
|
117
|
+
red100: any;
|
|
118
|
+
red200: any;
|
|
119
|
+
red300: any;
|
|
120
|
+
red400: any;
|
|
121
|
+
red500: any;
|
|
122
|
+
red600: any;
|
|
123
|
+
red700: any;
|
|
124
|
+
red800: any;
|
|
125
|
+
red900: any;
|
|
126
|
+
red1000: any;
|
|
127
|
+
red1100: any;
|
|
128
|
+
red1200: any;
|
|
129
|
+
teal100: any;
|
|
130
|
+
teal200: any;
|
|
131
|
+
teal300: any;
|
|
132
|
+
teal400: any;
|
|
133
|
+
teal500: any;
|
|
134
|
+
teal600: any;
|
|
135
|
+
teal700: any;
|
|
136
|
+
teal800: any;
|
|
137
|
+
teal900: any;
|
|
138
|
+
teal1000: any;
|
|
139
|
+
teal1100: any;
|
|
140
|
+
teal1200: any;
|
|
141
|
+
orange100: any;
|
|
142
|
+
orange200: any;
|
|
143
|
+
orange300: any;
|
|
144
|
+
orange400: any;
|
|
145
|
+
orange500: any;
|
|
146
|
+
orange600: any;
|
|
147
|
+
orange700: any;
|
|
148
|
+
orange800: any;
|
|
149
|
+
orange900: any;
|
|
150
|
+
orange1000: any;
|
|
151
|
+
orange1100: any;
|
|
152
|
+
orange1200: any;
|
|
153
|
+
yellow100: any;
|
|
154
|
+
yellow200: any;
|
|
155
|
+
yellow300: any;
|
|
156
|
+
yellow400: any;
|
|
157
|
+
yellow500: any;
|
|
158
|
+
yellow600: any;
|
|
159
|
+
yellow700: any;
|
|
160
|
+
yellow800: any;
|
|
161
|
+
yellow900: any;
|
|
162
|
+
yellow1000: any;
|
|
163
|
+
yellow1100: any;
|
|
164
|
+
yellow1200: any;
|
|
165
|
+
lime100: any;
|
|
166
|
+
lime200: any;
|
|
167
|
+
lime300: any;
|
|
168
|
+
lime400: any;
|
|
169
|
+
lime500: any;
|
|
170
|
+
lime600: any;
|
|
171
|
+
lime700: any;
|
|
172
|
+
lime800: any;
|
|
173
|
+
lime900: any;
|
|
174
|
+
lime1000: any;
|
|
175
|
+
lime1100: any;
|
|
176
|
+
lime1200: any;
|
|
177
|
+
tonal50: any;
|
|
178
|
+
tonal100: any;
|
|
179
|
+
tonal200: any;
|
|
180
|
+
tonal300: any;
|
|
181
|
+
tonal400: any;
|
|
182
|
+
tonal500: any;
|
|
183
|
+
tonal600: any;
|
|
184
|
+
alpha100: any;
|
|
185
|
+
alpha150: any;
|
|
186
|
+
alpha200: any;
|
|
187
|
+
alpha250: any;
|
|
188
|
+
alpha600: any;
|
|
189
|
+
primaryLight: any;
|
|
190
|
+
primary: any;
|
|
191
|
+
primaryMid: any;
|
|
192
|
+
primaryDark: any;
|
|
193
|
+
secondary: any;
|
|
194
|
+
brandRed: any;
|
|
195
|
+
brandRedAccent: any;
|
|
196
|
+
brandGreen: any;
|
|
197
|
+
brandGreenAccent: any;
|
|
198
|
+
brandPurple: any;
|
|
199
|
+
brandPurpleAccent: any;
|
|
200
|
+
brandYellow: any;
|
|
201
|
+
brandYellowAccent: any;
|
|
202
|
+
successLight: any;
|
|
203
|
+
success: any;
|
|
204
|
+
successMid: any;
|
|
205
|
+
successDark: any;
|
|
206
|
+
dangerLight: any;
|
|
207
|
+
danger: any;
|
|
208
|
+
dangerMid: any;
|
|
209
|
+
dangerDark: any;
|
|
210
|
+
warningLight: any;
|
|
211
|
+
warning: any;
|
|
212
|
+
warningMid: any;
|
|
213
|
+
warningDark: any;
|
|
214
|
+
warningText: any;
|
|
215
|
+
subjectEnglish: any;
|
|
216
|
+
subjectMaths: any;
|
|
217
|
+
subjectScience: any;
|
|
218
|
+
subjectVerbalReasoning: any;
|
|
219
|
+
subjectNonVerbalReasoning: any;
|
|
220
|
+
subjectCreativeWriting: any;
|
|
221
|
+
subjectExamSkills: any;
|
|
222
|
+
glBlueLight: any;
|
|
223
|
+
glBluePrimary: any;
|
|
224
|
+
glBlueDark: any;
|
|
225
|
+
};
|
|
226
|
+
space: {
|
|
227
|
+
"0": any;
|
|
228
|
+
"1": any;
|
|
229
|
+
"2": any;
|
|
230
|
+
"3": any;
|
|
231
|
+
"4": any;
|
|
232
|
+
"5": any;
|
|
233
|
+
"6": any;
|
|
234
|
+
"7": any;
|
|
235
|
+
"8": any;
|
|
236
|
+
"9": any;
|
|
237
|
+
"24": any;
|
|
238
|
+
};
|
|
239
|
+
fontSizes: {
|
|
240
|
+
xs: any;
|
|
241
|
+
sm: any;
|
|
242
|
+
md: any;
|
|
243
|
+
lg: any;
|
|
244
|
+
xl: any;
|
|
245
|
+
"2xl": any;
|
|
246
|
+
"3xl": any;
|
|
247
|
+
"4xl": any;
|
|
248
|
+
};
|
|
249
|
+
fonts: {
|
|
250
|
+
sans: any;
|
|
251
|
+
mono: any;
|
|
252
|
+
display: any;
|
|
253
|
+
body: any;
|
|
254
|
+
};
|
|
255
|
+
sizes: {
|
|
256
|
+
"0": any;
|
|
257
|
+
"1": any;
|
|
258
|
+
"2": any;
|
|
259
|
+
"3": any;
|
|
260
|
+
"4": any;
|
|
261
|
+
"5": any;
|
|
262
|
+
"6": any;
|
|
263
|
+
"7": any;
|
|
264
|
+
"8": any;
|
|
265
|
+
};
|
|
266
|
+
radii: {
|
|
267
|
+
"0": any;
|
|
268
|
+
"1": any;
|
|
269
|
+
"2": any;
|
|
270
|
+
"3": any;
|
|
271
|
+
round: any;
|
|
272
|
+
};
|
|
273
|
+
shadows: {
|
|
274
|
+
"0": any;
|
|
275
|
+
"1": any;
|
|
276
|
+
"2": any;
|
|
277
|
+
"3": any;
|
|
278
|
+
};
|
|
279
|
+
ratios: {
|
|
280
|
+
"16-9": any;
|
|
281
|
+
"3-2": any;
|
|
282
|
+
"4-3": any;
|
|
283
|
+
"1-1": any;
|
|
284
|
+
"3-4": any;
|
|
285
|
+
};
|
|
286
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
287
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
288
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
289
|
+
};
|
|
290
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
291
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
292
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
293
|
+
};
|
|
294
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
295
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
296
|
+
};
|
|
297
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
298
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
299
|
+
};
|
|
300
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
301
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
302
|
+
};
|
|
303
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
304
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
305
|
+
};
|
|
306
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
307
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
308
|
+
};
|
|
309
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
310
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
311
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
312
|
+
};
|
|
313
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
314
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
315
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
316
|
+
};
|
|
317
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
318
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
319
|
+
};
|
|
320
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
321
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
322
|
+
};
|
|
323
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
324
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
325
|
+
};
|
|
326
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
327
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
328
|
+
};
|
|
329
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
330
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
331
|
+
};
|
|
332
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
333
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
334
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
335
|
+
};
|
|
336
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
337
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
338
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
339
|
+
};
|
|
340
|
+
}>>, {
|
|
341
|
+
type?: "success" | "loading" | "error" | "blank" | undefined;
|
|
6
342
|
}, {
|
|
7
343
|
sm: string;
|
|
8
344
|
md: string;
|
|
@@ -322,12 +658,341 @@ declare const StyledToast: import("@stitches/react/types/styled-component").Styl
|
|
|
322
658
|
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
323
659
|
};
|
|
324
660
|
}>>;
|
|
325
|
-
declare type ToastProps = React.ComponentProps<typeof StyledToast> &
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
661
|
+
declare type ToastProps = Omit<React.ComponentProps<typeof StyledToast>, 'type'> & {
|
|
662
|
+
type?: keyof typeof toastVariants;
|
|
663
|
+
};
|
|
664
|
+
export declare const Toast: {
|
|
665
|
+
(props: ToastProps): JSX.Element;
|
|
666
|
+
Icon: (props: Omit<Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "alignmentBaseline" | "baselineShift" | "clip" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "media" | "onBlur" | "onChange" | "onSubmit" | "style" | "path" | "key" | "method" | "name" | "target" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "mode" | "min" | "max" | "end" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "type" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
667
|
+
ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
668
|
+
}, "size" | "css"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
669
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
670
|
+
}, {
|
|
671
|
+
sm: string;
|
|
672
|
+
md: string;
|
|
673
|
+
lg: string;
|
|
674
|
+
xl: string;
|
|
675
|
+
reducedMotion: string;
|
|
676
|
+
allowMotion: string;
|
|
677
|
+
hover: string;
|
|
678
|
+
}> & {
|
|
679
|
+
css?: import("@stitches/react/types/css-util").CSS<{
|
|
680
|
+
sm: string;
|
|
681
|
+
md: string;
|
|
682
|
+
lg: string;
|
|
683
|
+
xl: string;
|
|
684
|
+
reducedMotion: string;
|
|
685
|
+
allowMotion: string;
|
|
686
|
+
hover: string;
|
|
687
|
+
}, {
|
|
688
|
+
colors: {
|
|
689
|
+
textForeground: any;
|
|
690
|
+
textSubtle: any;
|
|
691
|
+
textPlaceholder: any;
|
|
692
|
+
background: any;
|
|
693
|
+
backgroundAccent: any;
|
|
694
|
+
grey100: any;
|
|
695
|
+
grey200: any;
|
|
696
|
+
grey300: any;
|
|
697
|
+
grey400: any;
|
|
698
|
+
grey500: any;
|
|
699
|
+
grey600: any;
|
|
700
|
+
grey700: any;
|
|
701
|
+
grey800: any;
|
|
702
|
+
grey900: any;
|
|
703
|
+
grey1000: any;
|
|
704
|
+
grey1100: any;
|
|
705
|
+
grey1200: any;
|
|
706
|
+
blue100: any;
|
|
707
|
+
blue200: any;
|
|
708
|
+
blue300: any;
|
|
709
|
+
blue400: any;
|
|
710
|
+
blue500: any;
|
|
711
|
+
blue600: any;
|
|
712
|
+
blue700: any;
|
|
713
|
+
blue800: any;
|
|
714
|
+
blue900: any;
|
|
715
|
+
blue1000: any;
|
|
716
|
+
blue1100: any;
|
|
717
|
+
blue1200: any;
|
|
718
|
+
purple100: any;
|
|
719
|
+
purple200: any;
|
|
720
|
+
purple300: any;
|
|
721
|
+
purple400: any;
|
|
722
|
+
purple500: any;
|
|
723
|
+
purple600: any;
|
|
724
|
+
purple700: any;
|
|
725
|
+
purple800: any;
|
|
726
|
+
purple900: any;
|
|
727
|
+
purple1000: any;
|
|
728
|
+
purple1100: any;
|
|
729
|
+
purple1200: any;
|
|
730
|
+
cyan100: any;
|
|
731
|
+
cyan200: any;
|
|
732
|
+
cyan300: any;
|
|
733
|
+
cyan400: any;
|
|
734
|
+
cyan500: any;
|
|
735
|
+
cyan600: any;
|
|
736
|
+
cyan700: any;
|
|
737
|
+
cyan800: any;
|
|
738
|
+
cyan900: any;
|
|
739
|
+
cyan1000: any;
|
|
740
|
+
cyan1100: any;
|
|
741
|
+
cyan1200: any;
|
|
742
|
+
green100: any;
|
|
743
|
+
green200: any;
|
|
744
|
+
green300: any;
|
|
745
|
+
green400: any;
|
|
746
|
+
green500: any;
|
|
747
|
+
green600: any;
|
|
748
|
+
green700: any;
|
|
749
|
+
green800: any;
|
|
750
|
+
green900: any;
|
|
751
|
+
green1000: any;
|
|
752
|
+
green1100: any;
|
|
753
|
+
green1200: any;
|
|
754
|
+
magenta100: any;
|
|
755
|
+
magenta200: any;
|
|
756
|
+
magenta300: any;
|
|
757
|
+
magenta400: any;
|
|
758
|
+
magenta500: any;
|
|
759
|
+
magenta600: any;
|
|
760
|
+
magenta700: any;
|
|
761
|
+
magenta800: any;
|
|
762
|
+
magenta900: any;
|
|
763
|
+
magenta1000: any;
|
|
764
|
+
magenta1100: any;
|
|
765
|
+
magenta1200: any;
|
|
766
|
+
red100: any;
|
|
767
|
+
red200: any;
|
|
768
|
+
red300: any;
|
|
769
|
+
red400: any;
|
|
770
|
+
red500: any;
|
|
771
|
+
red600: any;
|
|
772
|
+
red700: any;
|
|
773
|
+
red800: any;
|
|
774
|
+
red900: any;
|
|
775
|
+
red1000: any;
|
|
776
|
+
red1100: any;
|
|
777
|
+
red1200: any;
|
|
778
|
+
teal100: any;
|
|
779
|
+
teal200: any;
|
|
780
|
+
teal300: any;
|
|
781
|
+
teal400: any;
|
|
782
|
+
teal500: any;
|
|
783
|
+
teal600: any;
|
|
784
|
+
teal700: any;
|
|
785
|
+
teal800: any;
|
|
786
|
+
teal900: any;
|
|
787
|
+
teal1000: any;
|
|
788
|
+
teal1100: any;
|
|
789
|
+
teal1200: any;
|
|
790
|
+
orange100: any;
|
|
791
|
+
orange200: any;
|
|
792
|
+
orange300: any;
|
|
793
|
+
orange400: any;
|
|
794
|
+
orange500: any;
|
|
795
|
+
orange600: any;
|
|
796
|
+
orange700: any;
|
|
797
|
+
orange800: any;
|
|
798
|
+
orange900: any;
|
|
799
|
+
orange1000: any;
|
|
800
|
+
orange1100: any;
|
|
801
|
+
orange1200: any;
|
|
802
|
+
yellow100: any;
|
|
803
|
+
yellow200: any;
|
|
804
|
+
yellow300: any;
|
|
805
|
+
yellow400: any;
|
|
806
|
+
yellow500: any;
|
|
807
|
+
yellow600: any;
|
|
808
|
+
yellow700: any;
|
|
809
|
+
yellow800: any;
|
|
810
|
+
yellow900: any;
|
|
811
|
+
yellow1000: any;
|
|
812
|
+
yellow1100: any;
|
|
813
|
+
yellow1200: any;
|
|
814
|
+
lime100: any;
|
|
815
|
+
lime200: any;
|
|
816
|
+
lime300: any;
|
|
817
|
+
lime400: any;
|
|
818
|
+
lime500: any;
|
|
819
|
+
lime600: any;
|
|
820
|
+
lime700: any;
|
|
821
|
+
lime800: any;
|
|
822
|
+
lime900: any;
|
|
823
|
+
lime1000: any;
|
|
824
|
+
lime1100: any;
|
|
825
|
+
lime1200: any;
|
|
826
|
+
tonal50: any;
|
|
827
|
+
tonal100: any;
|
|
828
|
+
tonal200: any;
|
|
829
|
+
tonal300: any;
|
|
830
|
+
tonal400: any;
|
|
831
|
+
tonal500: any;
|
|
832
|
+
tonal600: any;
|
|
833
|
+
alpha100: any;
|
|
834
|
+
alpha150: any;
|
|
835
|
+
alpha200: any;
|
|
836
|
+
alpha250: any;
|
|
837
|
+
alpha600: any;
|
|
838
|
+
primaryLight: any;
|
|
839
|
+
primary: any;
|
|
840
|
+
primaryMid: any;
|
|
841
|
+
primaryDark: any;
|
|
842
|
+
secondary: any;
|
|
843
|
+
brandRed: any;
|
|
844
|
+
brandRedAccent: any;
|
|
845
|
+
brandGreen: any;
|
|
846
|
+
brandGreenAccent: any;
|
|
847
|
+
brandPurple: any;
|
|
848
|
+
brandPurpleAccent: any;
|
|
849
|
+
brandYellow: any;
|
|
850
|
+
brandYellowAccent: any;
|
|
851
|
+
successLight: any;
|
|
852
|
+
success: any;
|
|
853
|
+
successMid: any;
|
|
854
|
+
successDark: any;
|
|
855
|
+
dangerLight: any;
|
|
856
|
+
danger: any;
|
|
857
|
+
dangerMid: any;
|
|
858
|
+
dangerDark: any;
|
|
859
|
+
warningLight: any;
|
|
860
|
+
warning: any;
|
|
861
|
+
warningMid: any;
|
|
862
|
+
warningDark: any;
|
|
863
|
+
warningText: any;
|
|
864
|
+
subjectEnglish: any;
|
|
865
|
+
subjectMaths: any;
|
|
866
|
+
subjectScience: any;
|
|
867
|
+
subjectVerbalReasoning: any;
|
|
868
|
+
subjectNonVerbalReasoning: any;
|
|
869
|
+
subjectCreativeWriting: any;
|
|
870
|
+
subjectExamSkills: any;
|
|
871
|
+
glBlueLight: any;
|
|
872
|
+
glBluePrimary: any;
|
|
873
|
+
glBlueDark: any;
|
|
874
|
+
};
|
|
875
|
+
space: {
|
|
876
|
+
"0": any;
|
|
877
|
+
"1": any;
|
|
878
|
+
"2": any;
|
|
879
|
+
"3": any;
|
|
880
|
+
"4": any;
|
|
881
|
+
"5": any;
|
|
882
|
+
"6": any;
|
|
883
|
+
"7": any;
|
|
884
|
+
"8": any;
|
|
885
|
+
"9": any;
|
|
886
|
+
"24": any;
|
|
887
|
+
};
|
|
888
|
+
fontSizes: {
|
|
889
|
+
xs: any;
|
|
890
|
+
sm: any;
|
|
891
|
+
md: any;
|
|
892
|
+
lg: any;
|
|
893
|
+
xl: any;
|
|
894
|
+
"2xl": any;
|
|
895
|
+
"3xl": any;
|
|
896
|
+
"4xl": any;
|
|
897
|
+
};
|
|
898
|
+
fonts: {
|
|
899
|
+
sans: any;
|
|
900
|
+
mono: any;
|
|
901
|
+
display: any;
|
|
902
|
+
body: any;
|
|
903
|
+
};
|
|
904
|
+
sizes: {
|
|
905
|
+
"0": any;
|
|
906
|
+
"1": any;
|
|
907
|
+
"2": any;
|
|
908
|
+
"3": any;
|
|
909
|
+
"4": any;
|
|
910
|
+
"5": any;
|
|
911
|
+
"6": any;
|
|
912
|
+
"7": any;
|
|
913
|
+
"8": any;
|
|
914
|
+
};
|
|
915
|
+
radii: {
|
|
916
|
+
"0": any;
|
|
917
|
+
"1": any;
|
|
918
|
+
"2": any;
|
|
919
|
+
"3": any;
|
|
920
|
+
round: any;
|
|
921
|
+
};
|
|
922
|
+
shadows: {
|
|
923
|
+
"0": any;
|
|
924
|
+
"1": any;
|
|
925
|
+
"2": any;
|
|
926
|
+
"3": any;
|
|
927
|
+
};
|
|
928
|
+
ratios: {
|
|
929
|
+
"16-9": any;
|
|
930
|
+
"3-2": any;
|
|
931
|
+
"4-3": any;
|
|
932
|
+
"1-1": any;
|
|
933
|
+
"3-4": any;
|
|
934
|
+
};
|
|
935
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
936
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
937
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
938
|
+
};
|
|
939
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
940
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
941
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
942
|
+
};
|
|
943
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
944
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
945
|
+
};
|
|
946
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
947
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
948
|
+
};
|
|
949
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
950
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
951
|
+
};
|
|
952
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
953
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
954
|
+
};
|
|
955
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
956
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
957
|
+
};
|
|
958
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
959
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
960
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
961
|
+
};
|
|
962
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
963
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
964
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
965
|
+
};
|
|
966
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
967
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
968
|
+
};
|
|
969
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
970
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
971
|
+
};
|
|
972
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
973
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
974
|
+
};
|
|
975
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
976
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
977
|
+
};
|
|
978
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
979
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
980
|
+
};
|
|
981
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
982
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
983
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
984
|
+
};
|
|
985
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
986
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
987
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
988
|
+
};
|
|
989
|
+
}> | undefined;
|
|
990
|
+
}, "is" | "as"> & {
|
|
991
|
+
is: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
992
|
+
as?: undefined;
|
|
993
|
+
} & {
|
|
994
|
+
children?: React.ReactNode;
|
|
995
|
+
}) => JSX.Element;
|
|
996
|
+
Close: ({ onDismiss, label, ...rest }: import("./ToastCloseButton").ToastCloseButtonProps) => JSX.Element;
|
|
331
997
|
};
|
|
332
|
-
export declare const Toast: React.FC<ToastProps>;
|
|
333
998
|
export {};
|