@atom-learning/components 3.4.0 → 3.5.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/CHANGELOG.md +9 -2
- package/dist/components/banner/BannerContainer.d.ts +2 -2
- package/dist/components/banner/BannerContainer.js +1 -1
- package/dist/components/banner/BannerContainer.js.map +1 -1
- package/dist/components/banner/BannerContext.js +1 -1
- package/dist/components/banner/BannerContext.js.map +1 -1
- package/dist/components/banner/banner-regular/BannerRegularButton.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularButton.js.map +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContainer.d.ts +5 -2
- package/dist/components/banner/banner-regular/BannerRegularContainer.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContainer.js.map +1 -1
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +669 -2
- package/dist/components/banner/banner-regular/BannerRegularDismiss.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularDismiss.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlimButton.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimButton.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +2 -1
- package/dist/components/banner/banner-slim/BannerSlimContainer.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimContainer.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +2 -2
- package/dist/components/banner/banner-slim/BannerSlimDismiss.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimDismiss.js.map +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.d.ts +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.js.map +1 -1
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,670 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
declare const StyledDismiss: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Pick<Omit<Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
3
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
+
}, "appearance" | "size" | "css" | "theme" | "isRounded"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
5
|
+
theme?: "primary" | "success" | "danger" | "warning" | "neutral" | undefined;
|
|
6
|
+
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
8
|
+
isRounded?: boolean | "true" | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
sm: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
xl: string;
|
|
14
|
+
reducedMotion: string;
|
|
15
|
+
allowMotion: string;
|
|
16
|
+
hover: string;
|
|
17
|
+
}> & {
|
|
18
|
+
css?: import("@stitches/react/types/css-util").CSS<{
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
xl: string;
|
|
23
|
+
reducedMotion: string;
|
|
24
|
+
allowMotion: string;
|
|
25
|
+
hover: string;
|
|
26
|
+
}, {
|
|
27
|
+
colors: {
|
|
28
|
+
textForeground: any;
|
|
29
|
+
textSubtle: any;
|
|
30
|
+
textPlaceholder: any;
|
|
31
|
+
background: any;
|
|
32
|
+
backgroundAccent: any;
|
|
33
|
+
grey100: any;
|
|
34
|
+
grey200: any;
|
|
35
|
+
grey300: any;
|
|
36
|
+
grey400: any;
|
|
37
|
+
grey500: any;
|
|
38
|
+
grey600: any;
|
|
39
|
+
grey700: any;
|
|
40
|
+
grey800: any;
|
|
41
|
+
grey900: any;
|
|
42
|
+
grey1000: any;
|
|
43
|
+
grey1100: any;
|
|
44
|
+
grey1200: any;
|
|
45
|
+
blue100: any;
|
|
46
|
+
blue200: any;
|
|
47
|
+
blue300: any;
|
|
48
|
+
blue400: any;
|
|
49
|
+
blue500: any;
|
|
50
|
+
blue600: any;
|
|
51
|
+
blue700: any;
|
|
52
|
+
blue800: any;
|
|
53
|
+
blue900: any;
|
|
54
|
+
blue1000: any;
|
|
55
|
+
blue1100: any;
|
|
56
|
+
blue1200: any;
|
|
57
|
+
purple100: any;
|
|
58
|
+
purple200: any;
|
|
59
|
+
purple300: any;
|
|
60
|
+
purple400: any;
|
|
61
|
+
purple500: any;
|
|
62
|
+
purple600: any;
|
|
63
|
+
purple700: any;
|
|
64
|
+
purple800: any;
|
|
65
|
+
purple900: any;
|
|
66
|
+
purple1000: any;
|
|
67
|
+
purple1100: any;
|
|
68
|
+
purple1200: any;
|
|
69
|
+
cyan100: any;
|
|
70
|
+
cyan200: any;
|
|
71
|
+
cyan300: any;
|
|
72
|
+
cyan400: any;
|
|
73
|
+
cyan500: any;
|
|
74
|
+
cyan600: any;
|
|
75
|
+
cyan700: any;
|
|
76
|
+
cyan800: any;
|
|
77
|
+
cyan900: any;
|
|
78
|
+
cyan1000: any;
|
|
79
|
+
cyan1100: any;
|
|
80
|
+
cyan1200: any;
|
|
81
|
+
green100: any;
|
|
82
|
+
green200: any;
|
|
83
|
+
green300: any;
|
|
84
|
+
green400: any;
|
|
85
|
+
green500: any;
|
|
86
|
+
green600: any;
|
|
87
|
+
green700: any;
|
|
88
|
+
green800: any;
|
|
89
|
+
green900: any;
|
|
90
|
+
green1000: any;
|
|
91
|
+
green1100: any;
|
|
92
|
+
green1200: any;
|
|
93
|
+
magenta100: any;
|
|
94
|
+
magenta200: any;
|
|
95
|
+
magenta300: any;
|
|
96
|
+
magenta400: any;
|
|
97
|
+
magenta500: any;
|
|
98
|
+
magenta600: any;
|
|
99
|
+
magenta700: any;
|
|
100
|
+
magenta800: any;
|
|
101
|
+
magenta900: any;
|
|
102
|
+
magenta1000: any;
|
|
103
|
+
magenta1100: any;
|
|
104
|
+
magenta1200: any;
|
|
105
|
+
red100: any;
|
|
106
|
+
red200: any;
|
|
107
|
+
red300: any;
|
|
108
|
+
red400: any;
|
|
109
|
+
red500: any;
|
|
110
|
+
red600: any;
|
|
111
|
+
red700: any;
|
|
112
|
+
red800: any;
|
|
113
|
+
red900: any;
|
|
114
|
+
red1000: any;
|
|
115
|
+
red1100: any;
|
|
116
|
+
red1200: any;
|
|
117
|
+
teal100: any;
|
|
118
|
+
teal200: any;
|
|
119
|
+
teal300: any;
|
|
120
|
+
teal400: any;
|
|
121
|
+
teal500: any;
|
|
122
|
+
teal600: any;
|
|
123
|
+
teal700: any;
|
|
124
|
+
teal800: any;
|
|
125
|
+
teal900: any;
|
|
126
|
+
teal1000: any;
|
|
127
|
+
teal1100: any;
|
|
128
|
+
teal1200: any;
|
|
129
|
+
orange100: any;
|
|
130
|
+
orange200: any;
|
|
131
|
+
orange300: any;
|
|
132
|
+
orange400: any;
|
|
133
|
+
orange500: any;
|
|
134
|
+
orange600: any;
|
|
135
|
+
orange700: any;
|
|
136
|
+
orange800: any;
|
|
137
|
+
orange900: any;
|
|
138
|
+
orange1000: any;
|
|
139
|
+
orange1100: any;
|
|
140
|
+
orange1200: any;
|
|
141
|
+
yellow100: any;
|
|
142
|
+
yellow200: any;
|
|
143
|
+
yellow300: any;
|
|
144
|
+
yellow400: any;
|
|
145
|
+
yellow500: any;
|
|
146
|
+
yellow600: any;
|
|
147
|
+
yellow700: any;
|
|
148
|
+
yellow800: any;
|
|
149
|
+
yellow900: any;
|
|
150
|
+
yellow1000: any;
|
|
151
|
+
yellow1100: any;
|
|
152
|
+
yellow1200: any;
|
|
153
|
+
lime100: any;
|
|
154
|
+
lime200: any;
|
|
155
|
+
lime300: any;
|
|
156
|
+
lime400: any;
|
|
157
|
+
lime500: any;
|
|
158
|
+
lime600: any;
|
|
159
|
+
lime700: any;
|
|
160
|
+
lime800: any;
|
|
161
|
+
lime900: any;
|
|
162
|
+
lime1000: any;
|
|
163
|
+
lime1100: any;
|
|
164
|
+
lime1200: any;
|
|
165
|
+
tonal50: any;
|
|
166
|
+
tonal100: any;
|
|
167
|
+
tonal200: any;
|
|
168
|
+
tonal300: any;
|
|
169
|
+
tonal400: any;
|
|
170
|
+
tonal500: any;
|
|
171
|
+
tonal600: any;
|
|
172
|
+
alpha100: any;
|
|
173
|
+
alpha150: any;
|
|
174
|
+
alpha200: any;
|
|
175
|
+
alpha250: any;
|
|
176
|
+
alpha600: any;
|
|
177
|
+
primaryLight: any;
|
|
178
|
+
primary: any;
|
|
179
|
+
primaryMid: any;
|
|
180
|
+
primaryDark: any;
|
|
181
|
+
secondary: any;
|
|
182
|
+
brandRed: any;
|
|
183
|
+
brandRedAccent: any;
|
|
184
|
+
brandGreen: any;
|
|
185
|
+
brandGreenAccent: any;
|
|
186
|
+
brandPurple: any;
|
|
187
|
+
brandPurpleAccent: any;
|
|
188
|
+
brandYellow: any;
|
|
189
|
+
brandYellowAccent: any;
|
|
190
|
+
successLight: any;
|
|
191
|
+
success: any;
|
|
192
|
+
successMid: any;
|
|
193
|
+
successDark: any;
|
|
194
|
+
dangerLight: any;
|
|
195
|
+
danger: any;
|
|
196
|
+
dangerMid: any;
|
|
197
|
+
dangerDark: any;
|
|
198
|
+
warningLight: any;
|
|
199
|
+
warning: any;
|
|
200
|
+
warningMid: any;
|
|
201
|
+
warningDark: any;
|
|
202
|
+
warningText: any;
|
|
203
|
+
subjectEnglish: any;
|
|
204
|
+
subjectMaths: any;
|
|
205
|
+
subjectScience: any;
|
|
206
|
+
subjectVerbalReasoning: any;
|
|
207
|
+
subjectNonVerbalReasoning: any;
|
|
208
|
+
subjectCreativeWriting: any;
|
|
209
|
+
subjectExamSkills: any;
|
|
210
|
+
glBlueLight: any;
|
|
211
|
+
glBluePrimary: any;
|
|
212
|
+
glBlueDark: any;
|
|
213
|
+
};
|
|
214
|
+
space: {
|
|
215
|
+
"0": any;
|
|
216
|
+
"1": any;
|
|
217
|
+
"2": any;
|
|
218
|
+
"3": any;
|
|
219
|
+
"4": any;
|
|
220
|
+
"5": any;
|
|
221
|
+
"6": any;
|
|
222
|
+
"7": any;
|
|
223
|
+
"8": any;
|
|
224
|
+
"9": any;
|
|
225
|
+
"24": any;
|
|
226
|
+
};
|
|
227
|
+
fontSizes: {
|
|
228
|
+
xs: any;
|
|
229
|
+
sm: any;
|
|
230
|
+
md: any;
|
|
231
|
+
lg: any;
|
|
232
|
+
xl: any;
|
|
233
|
+
"2xl": any;
|
|
234
|
+
"3xl": any;
|
|
235
|
+
"4xl": any;
|
|
236
|
+
};
|
|
237
|
+
fonts: {
|
|
238
|
+
sans: any;
|
|
239
|
+
mono: any;
|
|
240
|
+
display: any;
|
|
241
|
+
body: any;
|
|
242
|
+
};
|
|
243
|
+
sizes: {
|
|
244
|
+
"0": any;
|
|
245
|
+
"1": any;
|
|
246
|
+
"2": any;
|
|
247
|
+
"3": any;
|
|
248
|
+
"4": any;
|
|
249
|
+
"5": any;
|
|
250
|
+
"6": any;
|
|
251
|
+
"7": any;
|
|
252
|
+
"8": any;
|
|
253
|
+
};
|
|
254
|
+
radii: {
|
|
255
|
+
"0": any;
|
|
256
|
+
"1": any;
|
|
257
|
+
"2": any;
|
|
258
|
+
"3": any;
|
|
259
|
+
round: any;
|
|
260
|
+
};
|
|
261
|
+
shadows: {
|
|
262
|
+
"0": any;
|
|
263
|
+
"1": any;
|
|
264
|
+
"2": any;
|
|
265
|
+
"3": any;
|
|
266
|
+
};
|
|
267
|
+
ratios: {
|
|
268
|
+
"16-9": any;
|
|
269
|
+
"3-2": any;
|
|
270
|
+
"4-3": any;
|
|
271
|
+
"1-1": any;
|
|
272
|
+
"3-4": any;
|
|
273
|
+
};
|
|
274
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
275
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
276
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
277
|
+
};
|
|
278
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
279
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
280
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
281
|
+
};
|
|
282
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
283
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
284
|
+
};
|
|
285
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
286
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
287
|
+
};
|
|
288
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
289
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
290
|
+
};
|
|
291
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
292
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
293
|
+
};
|
|
294
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
295
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
296
|
+
};
|
|
297
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
298
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
299
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
300
|
+
};
|
|
301
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
302
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
303
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
304
|
+
};
|
|
305
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
306
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
307
|
+
};
|
|
308
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
309
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
310
|
+
};
|
|
311
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
312
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
313
|
+
};
|
|
314
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
315
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
316
|
+
};
|
|
317
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
318
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
319
|
+
};
|
|
320
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
321
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
322
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
323
|
+
};
|
|
324
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
325
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
326
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
327
|
+
};
|
|
328
|
+
}> | undefined;
|
|
329
|
+
}, "appearance" | "size" | "theme" | "label" | "children" | "as" | "hasTooltip" | "tooltipSide" | "isRounded" | keyof import("../../../types").NavigatorActions> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
330
|
+
theme?: "primary" | "success" | "danger" | "warning" | "neutral" | undefined;
|
|
331
|
+
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
332
|
+
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
333
|
+
isRounded?: boolean | "true" | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
sm: string;
|
|
336
|
+
md: string;
|
|
337
|
+
lg: string;
|
|
338
|
+
xl: string;
|
|
339
|
+
reducedMotion: string;
|
|
340
|
+
allowMotion: string;
|
|
341
|
+
hover: string;
|
|
342
|
+
}> & {
|
|
343
|
+
as?: React.ReactNode;
|
|
344
|
+
children: React.ReactNode;
|
|
345
|
+
label: string;
|
|
346
|
+
} & Omit<import("../../../utilities/optional-tooltip-wrapper").TOptionalTooltipWrapperProps, "label"> & import("../../../types").NavigatorActions, "appearance" | "color" | "translate" | "size" | "css" | "theme" | "onBlur" | "onChange" | "onSubmit" | "form" | "label" | "slot" | "style" | "title" | "key" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "as" | "disabled" | "value" | "type" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "hasTooltip" | "tooltipSide" | "isRounded" | keyof import("../../../types").NavigatorActions> & React.RefAttributes<HTMLButtonElement>>, {}, {
|
|
347
|
+
sm: string;
|
|
348
|
+
md: string;
|
|
349
|
+
lg: string;
|
|
350
|
+
xl: string;
|
|
351
|
+
reducedMotion: string;
|
|
352
|
+
allowMotion: string;
|
|
353
|
+
hover: string;
|
|
354
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
355
|
+
sm: string;
|
|
356
|
+
md: string;
|
|
357
|
+
lg: string;
|
|
358
|
+
xl: string;
|
|
359
|
+
reducedMotion: string;
|
|
360
|
+
allowMotion: string;
|
|
361
|
+
hover: string;
|
|
362
|
+
}, {
|
|
363
|
+
colors: {
|
|
364
|
+
textForeground: any;
|
|
365
|
+
textSubtle: any;
|
|
366
|
+
textPlaceholder: any;
|
|
367
|
+
background: any;
|
|
368
|
+
backgroundAccent: any;
|
|
369
|
+
grey100: any;
|
|
370
|
+
grey200: any;
|
|
371
|
+
grey300: any;
|
|
372
|
+
grey400: any;
|
|
373
|
+
grey500: any;
|
|
374
|
+
grey600: any;
|
|
375
|
+
grey700: any;
|
|
376
|
+
grey800: any;
|
|
377
|
+
grey900: any;
|
|
378
|
+
grey1000: any;
|
|
379
|
+
grey1100: any;
|
|
380
|
+
grey1200: any;
|
|
381
|
+
blue100: any;
|
|
382
|
+
blue200: any;
|
|
383
|
+
blue300: any;
|
|
384
|
+
blue400: any;
|
|
385
|
+
blue500: any;
|
|
386
|
+
blue600: any;
|
|
387
|
+
blue700: any;
|
|
388
|
+
blue800: any;
|
|
389
|
+
blue900: any;
|
|
390
|
+
blue1000: any;
|
|
391
|
+
blue1100: any;
|
|
392
|
+
blue1200: any;
|
|
393
|
+
purple100: any;
|
|
394
|
+
purple200: any;
|
|
395
|
+
purple300: any;
|
|
396
|
+
purple400: any;
|
|
397
|
+
purple500: any;
|
|
398
|
+
purple600: any;
|
|
399
|
+
purple700: any;
|
|
400
|
+
purple800: any;
|
|
401
|
+
purple900: any;
|
|
402
|
+
purple1000: any;
|
|
403
|
+
purple1100: any;
|
|
404
|
+
purple1200: any;
|
|
405
|
+
cyan100: any;
|
|
406
|
+
cyan200: any;
|
|
407
|
+
cyan300: any;
|
|
408
|
+
cyan400: any;
|
|
409
|
+
cyan500: any;
|
|
410
|
+
cyan600: any;
|
|
411
|
+
cyan700: any;
|
|
412
|
+
cyan800: any;
|
|
413
|
+
cyan900: any;
|
|
414
|
+
cyan1000: any;
|
|
415
|
+
cyan1100: any;
|
|
416
|
+
cyan1200: any;
|
|
417
|
+
green100: any;
|
|
418
|
+
green200: any;
|
|
419
|
+
green300: any;
|
|
420
|
+
green400: any;
|
|
421
|
+
green500: any;
|
|
422
|
+
green600: any;
|
|
423
|
+
green700: any;
|
|
424
|
+
green800: any;
|
|
425
|
+
green900: any;
|
|
426
|
+
green1000: any;
|
|
427
|
+
green1100: any;
|
|
428
|
+
green1200: any;
|
|
429
|
+
magenta100: any;
|
|
430
|
+
magenta200: any;
|
|
431
|
+
magenta300: any;
|
|
432
|
+
magenta400: any;
|
|
433
|
+
magenta500: any;
|
|
434
|
+
magenta600: any;
|
|
435
|
+
magenta700: any;
|
|
436
|
+
magenta800: any;
|
|
437
|
+
magenta900: any;
|
|
438
|
+
magenta1000: any;
|
|
439
|
+
magenta1100: any;
|
|
440
|
+
magenta1200: any;
|
|
441
|
+
red100: any;
|
|
442
|
+
red200: any;
|
|
443
|
+
red300: any;
|
|
444
|
+
red400: any;
|
|
445
|
+
red500: any;
|
|
446
|
+
red600: any;
|
|
447
|
+
red700: any;
|
|
448
|
+
red800: any;
|
|
449
|
+
red900: any;
|
|
450
|
+
red1000: any;
|
|
451
|
+
red1100: any;
|
|
452
|
+
red1200: any;
|
|
453
|
+
teal100: any;
|
|
454
|
+
teal200: any;
|
|
455
|
+
teal300: any;
|
|
456
|
+
teal400: any;
|
|
457
|
+
teal500: any;
|
|
458
|
+
teal600: any;
|
|
459
|
+
teal700: any;
|
|
460
|
+
teal800: any;
|
|
461
|
+
teal900: any;
|
|
462
|
+
teal1000: any;
|
|
463
|
+
teal1100: any;
|
|
464
|
+
teal1200: any;
|
|
465
|
+
orange100: any;
|
|
466
|
+
orange200: any;
|
|
467
|
+
orange300: any;
|
|
468
|
+
orange400: any;
|
|
469
|
+
orange500: any;
|
|
470
|
+
orange600: any;
|
|
471
|
+
orange700: any;
|
|
472
|
+
orange800: any;
|
|
473
|
+
orange900: any;
|
|
474
|
+
orange1000: any;
|
|
475
|
+
orange1100: any;
|
|
476
|
+
orange1200: any;
|
|
477
|
+
yellow100: any;
|
|
478
|
+
yellow200: any;
|
|
479
|
+
yellow300: any;
|
|
480
|
+
yellow400: any;
|
|
481
|
+
yellow500: any;
|
|
482
|
+
yellow600: any;
|
|
483
|
+
yellow700: any;
|
|
484
|
+
yellow800: any;
|
|
485
|
+
yellow900: any;
|
|
486
|
+
yellow1000: any;
|
|
487
|
+
yellow1100: any;
|
|
488
|
+
yellow1200: any;
|
|
489
|
+
lime100: any;
|
|
490
|
+
lime200: any;
|
|
491
|
+
lime300: any;
|
|
492
|
+
lime400: any;
|
|
493
|
+
lime500: any;
|
|
494
|
+
lime600: any;
|
|
495
|
+
lime700: any;
|
|
496
|
+
lime800: any;
|
|
497
|
+
lime900: any;
|
|
498
|
+
lime1000: any;
|
|
499
|
+
lime1100: any;
|
|
500
|
+
lime1200: any;
|
|
501
|
+
tonal50: any;
|
|
502
|
+
tonal100: any;
|
|
503
|
+
tonal200: any;
|
|
504
|
+
tonal300: any;
|
|
505
|
+
tonal400: any;
|
|
506
|
+
tonal500: any;
|
|
507
|
+
tonal600: any;
|
|
508
|
+
alpha100: any;
|
|
509
|
+
alpha150: any;
|
|
510
|
+
alpha200: any;
|
|
511
|
+
alpha250: any;
|
|
512
|
+
alpha600: any;
|
|
513
|
+
primaryLight: any;
|
|
514
|
+
primary: any;
|
|
515
|
+
primaryMid: any;
|
|
516
|
+
primaryDark: any;
|
|
517
|
+
secondary: any;
|
|
518
|
+
brandRed: any;
|
|
519
|
+
brandRedAccent: any;
|
|
520
|
+
brandGreen: any;
|
|
521
|
+
brandGreenAccent: any;
|
|
522
|
+
brandPurple: any;
|
|
523
|
+
brandPurpleAccent: any;
|
|
524
|
+
brandYellow: any;
|
|
525
|
+
brandYellowAccent: any;
|
|
526
|
+
successLight: any;
|
|
527
|
+
success: any;
|
|
528
|
+
successMid: any;
|
|
529
|
+
successDark: any;
|
|
530
|
+
dangerLight: any;
|
|
531
|
+
danger: any;
|
|
532
|
+
dangerMid: any;
|
|
533
|
+
dangerDark: any;
|
|
534
|
+
warningLight: any;
|
|
535
|
+
warning: any;
|
|
536
|
+
warningMid: any;
|
|
537
|
+
warningDark: any;
|
|
538
|
+
warningText: any;
|
|
539
|
+
subjectEnglish: any;
|
|
540
|
+
subjectMaths: any;
|
|
541
|
+
subjectScience: any;
|
|
542
|
+
subjectVerbalReasoning: any;
|
|
543
|
+
subjectNonVerbalReasoning: any;
|
|
544
|
+
subjectCreativeWriting: any;
|
|
545
|
+
subjectExamSkills: any;
|
|
546
|
+
glBlueLight: any;
|
|
547
|
+
glBluePrimary: any;
|
|
548
|
+
glBlueDark: any;
|
|
549
|
+
};
|
|
550
|
+
space: {
|
|
551
|
+
"0": any;
|
|
552
|
+
"1": any;
|
|
553
|
+
"2": any;
|
|
554
|
+
"3": any;
|
|
555
|
+
"4": any;
|
|
556
|
+
"5": any;
|
|
557
|
+
"6": any;
|
|
558
|
+
"7": any;
|
|
559
|
+
"8": any;
|
|
560
|
+
"9": any;
|
|
561
|
+
"24": any;
|
|
562
|
+
};
|
|
563
|
+
fontSizes: {
|
|
564
|
+
xs: any;
|
|
565
|
+
sm: any;
|
|
566
|
+
md: any;
|
|
567
|
+
lg: any;
|
|
568
|
+
xl: any;
|
|
569
|
+
"2xl": any;
|
|
570
|
+
"3xl": any;
|
|
571
|
+
"4xl": any;
|
|
572
|
+
};
|
|
573
|
+
fonts: {
|
|
574
|
+
sans: any;
|
|
575
|
+
mono: any;
|
|
576
|
+
display: any;
|
|
577
|
+
body: any;
|
|
578
|
+
};
|
|
579
|
+
sizes: {
|
|
580
|
+
"0": any;
|
|
581
|
+
"1": any;
|
|
582
|
+
"2": any;
|
|
583
|
+
"3": any;
|
|
584
|
+
"4": any;
|
|
585
|
+
"5": any;
|
|
586
|
+
"6": any;
|
|
587
|
+
"7": any;
|
|
588
|
+
"8": any;
|
|
589
|
+
};
|
|
590
|
+
radii: {
|
|
591
|
+
"0": any;
|
|
592
|
+
"1": any;
|
|
593
|
+
"2": any;
|
|
594
|
+
"3": any;
|
|
595
|
+
round: any;
|
|
596
|
+
};
|
|
597
|
+
shadows: {
|
|
598
|
+
"0": any;
|
|
599
|
+
"1": any;
|
|
600
|
+
"2": any;
|
|
601
|
+
"3": any;
|
|
602
|
+
};
|
|
603
|
+
ratios: {
|
|
604
|
+
"16-9": any;
|
|
605
|
+
"3-2": any;
|
|
606
|
+
"4-3": any;
|
|
607
|
+
"1-1": any;
|
|
608
|
+
"3-4": any;
|
|
609
|
+
};
|
|
610
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
611
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
612
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
613
|
+
};
|
|
614
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
615
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
616
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
617
|
+
};
|
|
618
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
619
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
620
|
+
};
|
|
621
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
622
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
623
|
+
};
|
|
624
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
625
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
626
|
+
};
|
|
627
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
628
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
629
|
+
};
|
|
630
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
631
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
632
|
+
};
|
|
633
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
634
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
635
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
636
|
+
};
|
|
637
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
638
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
639
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
640
|
+
};
|
|
641
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
642
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
643
|
+
};
|
|
644
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
645
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
646
|
+
};
|
|
647
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
648
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
649
|
+
};
|
|
650
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
651
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
652
|
+
};
|
|
653
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
654
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
655
|
+
};
|
|
656
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
657
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
658
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
659
|
+
};
|
|
660
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
661
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
662
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
663
|
+
};
|
|
664
|
+
}>>;
|
|
665
|
+
declare type BannerRegularDismissProps = Omit<React.ComponentProps<typeof StyledDismiss>, 'children' | 'onClick' | 'href'>;
|
|
666
|
+
export declare const BannerRegularDismiss: {
|
|
667
|
+
({ label, ...rest }: BannerRegularDismissProps): JSX.Element;
|
|
668
|
+
displayName: string;
|
|
669
|
+
};
|
|
670
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Close as a}from"@atom-learning/icons";import*as e from"react";import{styled as l}from"../../../stitches.js";import{overrideStitchesVariantValue as p}from"../../../utilities/override-stitches-variant-value/overrideStitchesVariantValue.js";import{ActionIcon as c}from"../../action-icon/ActionIcon.js";import{Icon as d}from"../../icon/Icon.js";import{Banner as u}from"../Banner.js";import{useBannerContext as f}from"../BannerContext.js";const h={sm:"md",md:"sm"},D=l(c,{zIndex:1,position:"absolute",top:"$3",right:"$3"}),
|
|
1
|
+
import{Close as a}from"@atom-learning/icons";import*as e from"react";import{styled as l}from"../../../stitches.js";import{overrideStitchesVariantValue as p}from"../../../utilities/override-stitches-variant-value/overrideStitchesVariantValue.js";import{ActionIcon as c}from"../../action-icon/ActionIcon.js";import{Icon as d}from"../../icon/Icon.js";import{Banner as u}from"../Banner.js";import{useBannerContext as f}from"../BannerContext.js";const h={sm:"md",md:"sm"},D=l(c,{zIndex:1,position:"absolute",top:"$3",right:"$3"}),o=({label:i="dismiss",...r})=>{const{size:t,setHasDismiss:s}=f();e.useEffect(()=>(s(!0),()=>{s(!1)}),[s]);const m=e.useMemo(()=>p(t,n=>h[n]),[t]);return e.createElement(u.Dismiss,{asChild:!0},e.createElement(D,{label:i,size:m,hasTooltip:!1,isRounded:!0,theme:"neutral",appearance:"solid",...r},e.createElement(d,{is:a})))};o.displayName="BannerRegularDismiss";export{o as BannerRegularDismiss};
|
|
2
2
|
//# sourceMappingURL=BannerRegularDismiss.js.map
|