@atom-learning/components 5.11.0 → 5.12.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 +18 -4
- package/dist/components/action-icon/ActionIcon.d.ts +1 -1
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/banner/BannerContainer.js +1 -1
- package/dist/components/banner/BannerContainer.js.map +1 -1
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +11 -11
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +3 -3
- package/dist/components/banner/banner-regular/BannerRegularHeading.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularHeading.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +23 -23
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +3 -3
- package/dist/components/button/Button.d.ts +1 -1
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/checkbox-field/CheckboxField.js +1 -1
- package/dist/components/checkbox-field/CheckboxField.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +2 -2
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxInput.js.map +1 -1
- package/dist/components/combobox/ComboboxPopover.js +1 -1
- package/dist/components/combobox/ComboboxPopover.js.map +1 -1
- package/dist/components/create-password-field/CreatePasswordField.d.ts +1 -1
- package/dist/components/create-password-field/CreatePasswordField.js +1 -1
- package/dist/components/create-password-field/CreatePasswordField.js.map +1 -1
- package/dist/components/data-table/DataTable.d.ts +13 -1
- package/dist/components/data-table/DataTableTable.js +1 -1
- package/dist/components/data-table/DataTableTable.js.map +1 -1
- package/dist/components/date-field/DateField.d.ts +1 -1
- package/dist/components/date-field/DateField.js +1 -1
- package/dist/components/date-field/DateField.js.map +1 -1
- package/dist/components/field-wrapper/FieldWrapper.d.ts +3 -1
- package/dist/components/field-wrapper/FieldWrapper.js +1 -1
- package/dist/components/field-wrapper/FieldWrapper.js.map +1 -1
- package/dist/components/flex/Flex.js.map +1 -1
- package/dist/components/form/Form.d.ts +3 -2
- package/dist/components/form/Form.js +1 -1
- package/dist/components/form/Form.js.map +1 -1
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/useFormCustomContext.d.ts +7 -0
- package/dist/components/form/useFormCustomContext.js +2 -0
- package/dist/components/form/useFormCustomContext.js.map +1 -0
- package/dist/components/heading/Heading.d.ts +1 -0
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/input/Input.d.ts +3 -1
- package/dist/components/input/Input.js +1 -1
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/input-field/InputField.d.ts +1 -1
- package/dist/components/input-field/InputField.js +1 -1
- package/dist/components/input-field/InputField.js.map +1 -1
- package/dist/components/label/Label.d.ts +2 -1
- package/dist/components/label/Label.js +1 -1
- package/dist/components/label/Label.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.js.map +1 -1
- package/dist/components/number-input/NumberInput.d.ts +2 -1
- package/dist/components/number-input/NumberInput.js +1 -1
- package/dist/components/number-input/NumberInput.js.map +1 -1
- package/dist/components/number-input/NumberInputStepper.d.ts +766 -1
- package/dist/components/number-input/NumberInputStepper.js +1 -1
- package/dist/components/number-input/NumberInputStepper.js.map +1 -1
- package/dist/components/number-input-field/NumberInputField.d.ts +1 -1
- package/dist/components/number-input-field/NumberInputField.js +1 -1
- package/dist/components/number-input-field/NumberInputField.js.map +1 -1
- package/dist/components/pagination/PaginationNextButton.d.ts +3 -3
- package/dist/components/pagination/PaginationPopover.js +1 -1
- package/dist/components/pagination/PaginationPopover.js.map +1 -1
- package/dist/components/pagination/PaginationPreviousButton.d.ts +3 -3
- package/dist/components/password-field/PasswordField.d.ts +1 -1
- package/dist/components/password-field/PasswordField.js +1 -1
- package/dist/components/password-field/PasswordField.js.map +1 -1
- package/dist/components/progress-bar/ProgressBar.d.ts +3 -2
- package/dist/components/progress-bar/ProgressBar.js +1 -1
- package/dist/components/progress-bar/ProgressBar.js.map +1 -1
- package/dist/components/radio-button-field/RadioButtonField.js +1 -1
- package/dist/components/radio-button-field/RadioButtonField.js.map +1 -1
- package/dist/components/search-field/SearchField.d.ts +1 -1
- package/dist/components/search-field/SearchField.js +1 -1
- package/dist/components/search-field/SearchField.js.map +1 -1
- package/dist/components/search-input/SearchInput.js +1 -1
- package/dist/components/search-input/SearchInput.js.map +1 -1
- package/dist/components/section-message/SectionMessage.d.ts +1 -1
- package/dist/components/section-message/SectionMessage.js +1 -1
- package/dist/components/section-message/SectionMessage.js.map +1 -1
- package/dist/components/select/Select.d.ts +1 -0
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select-field/SelectField.d.ts +1 -1
- package/dist/components/select-field/SelectField.js +1 -1
- package/dist/components/select-field/SelectField.js.map +1 -1
- package/dist/components/sortable/Handle.d.ts +3 -3
- package/dist/components/textarea/Textarea.d.ts +1 -0
- package/dist/components/textarea/Textarea.js +1 -1
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/textarea-field/TextareaField.d.ts +1 -1
- package/dist/components/textarea-field/TextareaField.js +1 -1
- package/dist/components/textarea-field/TextareaField.js.map +1 -1
- package/dist/components/tile/Tile.d.ts +1 -0
- package/dist/components/tile/Tile.js +1 -1
- package/dist/components/tile/Tile.js.map +1 -1
- package/dist/components/tile-interactive/TileInteractive.d.ts +2 -1
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +2 -1
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.js.map +1 -1
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +4 -1
- package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +6 -2
- package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +2 -1
- package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.js.map +1 -1
- package/dist/components/toggle-group/index.d.ts +14 -7
- package/dist/components/top-bar/TopBar.d.ts +5 -4
- package/dist/components/top-bar/TopBar.js +1 -1
- package/dist/components/top-bar/TopBar.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/dist/index.js +1 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,771 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ActionIcon } from '../action-icon';
|
|
3
|
-
|
|
3
|
+
declare const StyledStepperButton: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
5
|
+
}, "appearance" | "size" | "css" | "theme" | "isRounded"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
|
|
6
|
+
theme?: "success" | "danger" | "warning" | "neutral" | "primary" | "white" | undefined;
|
|
7
|
+
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
9
|
+
isRounded?: boolean | "true" | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
sm: string;
|
|
12
|
+
md: string;
|
|
13
|
+
lg: string;
|
|
14
|
+
xl: string;
|
|
15
|
+
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
17
|
+
hover: string;
|
|
18
|
+
}> & {
|
|
19
|
+
css?: import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
xl: string;
|
|
24
|
+
reducedMotion: string;
|
|
25
|
+
allowMotion: string;
|
|
26
|
+
hover: string;
|
|
27
|
+
}, {
|
|
28
|
+
colors: {
|
|
29
|
+
textBold: string;
|
|
30
|
+
textRegular: string;
|
|
31
|
+
textSubtle: string;
|
|
32
|
+
textMinimal: string;
|
|
33
|
+
background: string;
|
|
34
|
+
backgroundAccent: string;
|
|
35
|
+
grey100: string;
|
|
36
|
+
grey200: string;
|
|
37
|
+
grey300: string;
|
|
38
|
+
grey400: string;
|
|
39
|
+
grey500: string;
|
|
40
|
+
grey600: string;
|
|
41
|
+
grey700: string;
|
|
42
|
+
grey800: string;
|
|
43
|
+
grey900: string;
|
|
44
|
+
grey1000: string;
|
|
45
|
+
grey1100: string;
|
|
46
|
+
grey1200: string;
|
|
47
|
+
blue100: string;
|
|
48
|
+
blue200: string;
|
|
49
|
+
blue300: string;
|
|
50
|
+
blue400: string;
|
|
51
|
+
blue500: string;
|
|
52
|
+
blue600: string;
|
|
53
|
+
blue700: string;
|
|
54
|
+
blue800: string;
|
|
55
|
+
blue900: string;
|
|
56
|
+
blue1000: string;
|
|
57
|
+
blue1100: string;
|
|
58
|
+
blue1200: string;
|
|
59
|
+
pink100: string;
|
|
60
|
+
pink200: string;
|
|
61
|
+
pink300: string;
|
|
62
|
+
pink400: string;
|
|
63
|
+
pink500: string;
|
|
64
|
+
pink600: string;
|
|
65
|
+
pink700: string;
|
|
66
|
+
pink800: string;
|
|
67
|
+
pink900: string;
|
|
68
|
+
pink1000: string;
|
|
69
|
+
pink1100: string;
|
|
70
|
+
pink1200: string;
|
|
71
|
+
purple100: string;
|
|
72
|
+
purple200: string;
|
|
73
|
+
purple300: string;
|
|
74
|
+
purple400: string;
|
|
75
|
+
purple500: string;
|
|
76
|
+
purple600: string;
|
|
77
|
+
purple700: string;
|
|
78
|
+
purple800: string;
|
|
79
|
+
purple900: string;
|
|
80
|
+
purple1000: string;
|
|
81
|
+
purple1100: string;
|
|
82
|
+
purple1200: string;
|
|
83
|
+
cyan100: string;
|
|
84
|
+
cyan200: string;
|
|
85
|
+
cyan300: string;
|
|
86
|
+
cyan400: string;
|
|
87
|
+
cyan500: string;
|
|
88
|
+
cyan600: string;
|
|
89
|
+
cyan700: string;
|
|
90
|
+
cyan800: string;
|
|
91
|
+
cyan900: string;
|
|
92
|
+
cyan1000: string;
|
|
93
|
+
cyan1100: string;
|
|
94
|
+
cyan1200: string;
|
|
95
|
+
green100: string;
|
|
96
|
+
green200: string;
|
|
97
|
+
green300: string;
|
|
98
|
+
green400: string;
|
|
99
|
+
green500: string;
|
|
100
|
+
green600: string;
|
|
101
|
+
green700: string;
|
|
102
|
+
green800: string;
|
|
103
|
+
green900: string;
|
|
104
|
+
green1000: string;
|
|
105
|
+
green1100: string;
|
|
106
|
+
green1200: string;
|
|
107
|
+
magenta100: string;
|
|
108
|
+
magenta200: string;
|
|
109
|
+
magenta300: string;
|
|
110
|
+
magenta400: string;
|
|
111
|
+
magenta500: string;
|
|
112
|
+
magenta600: string;
|
|
113
|
+
magenta700: string;
|
|
114
|
+
magenta800: string;
|
|
115
|
+
magenta900: string;
|
|
116
|
+
magenta1000: string;
|
|
117
|
+
magenta1100: string;
|
|
118
|
+
magenta1200: string;
|
|
119
|
+
red100: string;
|
|
120
|
+
red200: string;
|
|
121
|
+
red300: string;
|
|
122
|
+
red400: string;
|
|
123
|
+
red500: string;
|
|
124
|
+
red600: string;
|
|
125
|
+
red700: string;
|
|
126
|
+
red800: string;
|
|
127
|
+
red900: string;
|
|
128
|
+
red1000: string;
|
|
129
|
+
red1100: string;
|
|
130
|
+
red1200: string;
|
|
131
|
+
teal100: string;
|
|
132
|
+
teal200: string;
|
|
133
|
+
teal300: string;
|
|
134
|
+
teal400: string;
|
|
135
|
+
teal500: string;
|
|
136
|
+
teal600: string;
|
|
137
|
+
teal700: string;
|
|
138
|
+
teal800: string;
|
|
139
|
+
teal900: string;
|
|
140
|
+
teal1000: string;
|
|
141
|
+
teal1100: string;
|
|
142
|
+
teal1200: string;
|
|
143
|
+
orange100: string;
|
|
144
|
+
orange200: string;
|
|
145
|
+
orange300: string;
|
|
146
|
+
orange400: string;
|
|
147
|
+
orange500: string;
|
|
148
|
+
orange600: string;
|
|
149
|
+
orange700: string;
|
|
150
|
+
orange800: string;
|
|
151
|
+
orange900: string;
|
|
152
|
+
orange1000: string;
|
|
153
|
+
orange1100: string;
|
|
154
|
+
orange1200: string;
|
|
155
|
+
yellow100: string;
|
|
156
|
+
yellow200: string;
|
|
157
|
+
yellow300: string;
|
|
158
|
+
yellow400: string;
|
|
159
|
+
yellow500: string;
|
|
160
|
+
yellow600: string;
|
|
161
|
+
yellow700: string;
|
|
162
|
+
yellow800: string;
|
|
163
|
+
yellow900: string;
|
|
164
|
+
yellow1000: string;
|
|
165
|
+
yellow1100: string;
|
|
166
|
+
yellow1200: string;
|
|
167
|
+
lime100: string;
|
|
168
|
+
lime200: string;
|
|
169
|
+
lime300: string;
|
|
170
|
+
lime400: string;
|
|
171
|
+
lime500: string;
|
|
172
|
+
lime600: string;
|
|
173
|
+
lime700: string;
|
|
174
|
+
lime800: string;
|
|
175
|
+
lime900: string;
|
|
176
|
+
lime1000: string;
|
|
177
|
+
lime1100: string;
|
|
178
|
+
lime1200: string;
|
|
179
|
+
lapis100: string;
|
|
180
|
+
lapis200: string;
|
|
181
|
+
lapis300: string;
|
|
182
|
+
lapis400: string;
|
|
183
|
+
lapis500: string;
|
|
184
|
+
lapis600: string;
|
|
185
|
+
lapis700: string;
|
|
186
|
+
lapis800: string;
|
|
187
|
+
lapis900: string;
|
|
188
|
+
lapis1000: string;
|
|
189
|
+
lapis1100: string;
|
|
190
|
+
lapis1200: string;
|
|
191
|
+
maroon100: string;
|
|
192
|
+
maroon200: string;
|
|
193
|
+
maroon300: string;
|
|
194
|
+
maroon400: string;
|
|
195
|
+
maroon500: string;
|
|
196
|
+
maroon600: string;
|
|
197
|
+
maroon700: string;
|
|
198
|
+
maroon800: string;
|
|
199
|
+
maroon900: string;
|
|
200
|
+
maroon1000: string;
|
|
201
|
+
maroon1100: string;
|
|
202
|
+
maroon1200: string;
|
|
203
|
+
marsh100: string;
|
|
204
|
+
marsh200: string;
|
|
205
|
+
marsh300: string;
|
|
206
|
+
marsh400: string;
|
|
207
|
+
marsh500: string;
|
|
208
|
+
marsh600: string;
|
|
209
|
+
marsh700: string;
|
|
210
|
+
marsh800: string;
|
|
211
|
+
marsh900: string;
|
|
212
|
+
marsh1000: string;
|
|
213
|
+
marsh1100: string;
|
|
214
|
+
marsh1200: string;
|
|
215
|
+
alpha100: string;
|
|
216
|
+
alpha150: string;
|
|
217
|
+
alpha200: string;
|
|
218
|
+
alpha250: string;
|
|
219
|
+
alpha600: string;
|
|
220
|
+
infoLight: string;
|
|
221
|
+
info: string;
|
|
222
|
+
infoMid: string;
|
|
223
|
+
infoDark: string;
|
|
224
|
+
successLight: string;
|
|
225
|
+
success: string;
|
|
226
|
+
successMid: string;
|
|
227
|
+
successDark: string;
|
|
228
|
+
dangerLight: string;
|
|
229
|
+
danger: string;
|
|
230
|
+
dangerMid: string;
|
|
231
|
+
dangerDark: string;
|
|
232
|
+
warningLight: string;
|
|
233
|
+
warning: string;
|
|
234
|
+
warningMid: string;
|
|
235
|
+
warningDark: string;
|
|
236
|
+
warningText: string;
|
|
237
|
+
subjectEnglish: string;
|
|
238
|
+
subjectMaths: string;
|
|
239
|
+
subjectScience: string;
|
|
240
|
+
subjectVerbalReasoning: string;
|
|
241
|
+
subjectNonVerbalReasoning: string;
|
|
242
|
+
subjectCreativeWriting: string;
|
|
243
|
+
subjectExamSkills: string;
|
|
244
|
+
subjectGcseEnglishLiterature: string;
|
|
245
|
+
subjectGcseMaths: string;
|
|
246
|
+
subjectGcseChemistry: string;
|
|
247
|
+
subjectGcsePhysics: string;
|
|
248
|
+
subjectGcseBiology: string;
|
|
249
|
+
glBlueLight: string;
|
|
250
|
+
glBluePrimary: string;
|
|
251
|
+
glBlueDark: string;
|
|
252
|
+
primary100: string;
|
|
253
|
+
primary200: string;
|
|
254
|
+
primary300: string;
|
|
255
|
+
primary400: string;
|
|
256
|
+
primary500: string;
|
|
257
|
+
primary600: string;
|
|
258
|
+
primary700: string;
|
|
259
|
+
primary800: string;
|
|
260
|
+
primary900: string;
|
|
261
|
+
primary1000: string;
|
|
262
|
+
primary1100: string;
|
|
263
|
+
primary1200: string;
|
|
264
|
+
};
|
|
265
|
+
space: {
|
|
266
|
+
"0": string;
|
|
267
|
+
"1": string;
|
|
268
|
+
"2": string;
|
|
269
|
+
"3": string;
|
|
270
|
+
"4": string;
|
|
271
|
+
"5": string;
|
|
272
|
+
"6": string;
|
|
273
|
+
"7": string;
|
|
274
|
+
"8": string;
|
|
275
|
+
"9": string;
|
|
276
|
+
"24": string;
|
|
277
|
+
};
|
|
278
|
+
fontSizes: {
|
|
279
|
+
xs: string;
|
|
280
|
+
sm: string;
|
|
281
|
+
md: string;
|
|
282
|
+
lg: string;
|
|
283
|
+
xl: string;
|
|
284
|
+
"2xl": string;
|
|
285
|
+
"3xl": string;
|
|
286
|
+
"4xl": string;
|
|
287
|
+
};
|
|
288
|
+
fonts: {
|
|
289
|
+
sans: string;
|
|
290
|
+
mono: string;
|
|
291
|
+
display: string;
|
|
292
|
+
body: string;
|
|
293
|
+
};
|
|
294
|
+
sizes: {
|
|
295
|
+
"0": string;
|
|
296
|
+
"1": string;
|
|
297
|
+
"2": string;
|
|
298
|
+
"3": string;
|
|
299
|
+
"4": string;
|
|
300
|
+
"5": string;
|
|
301
|
+
"6": string;
|
|
302
|
+
"7": string;
|
|
303
|
+
"8": string;
|
|
304
|
+
};
|
|
305
|
+
radii: {
|
|
306
|
+
"0": string;
|
|
307
|
+
"1": string;
|
|
308
|
+
"2": string;
|
|
309
|
+
"3": string;
|
|
310
|
+
round: string;
|
|
311
|
+
};
|
|
312
|
+
shadows: {
|
|
313
|
+
"0": string;
|
|
314
|
+
"1": string;
|
|
315
|
+
"2": string;
|
|
316
|
+
"3": string;
|
|
317
|
+
};
|
|
318
|
+
ratios: {
|
|
319
|
+
"16-9": string;
|
|
320
|
+
"3-2": string;
|
|
321
|
+
"4-3": string;
|
|
322
|
+
"1-1": string;
|
|
323
|
+
"3-4": string;
|
|
324
|
+
};
|
|
325
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
326
|
+
bg: (value: import("@atom-learning/stitches-react").PropertyValue<"background">) => {
|
|
327
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
328
|
+
};
|
|
329
|
+
size: (value: import("@atom-learning/stitches-react").ScaleValue<"size"> | number | string) => {
|
|
330
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
331
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
332
|
+
};
|
|
333
|
+
p: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
334
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
335
|
+
};
|
|
336
|
+
pt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
337
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
|
+
};
|
|
339
|
+
pr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
340
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
341
|
+
};
|
|
342
|
+
pb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
343
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
344
|
+
};
|
|
345
|
+
pl: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
346
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
347
|
+
};
|
|
348
|
+
px: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
349
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
350
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
351
|
+
};
|
|
352
|
+
py: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
353
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
354
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
355
|
+
};
|
|
356
|
+
m: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
357
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
358
|
+
};
|
|
359
|
+
mt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
360
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
|
+
};
|
|
362
|
+
mr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
363
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
364
|
+
};
|
|
365
|
+
mb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
366
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
367
|
+
};
|
|
368
|
+
ml: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
369
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
370
|
+
};
|
|
371
|
+
mx: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
372
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
373
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
374
|
+
};
|
|
375
|
+
my: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
376
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
377
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
378
|
+
};
|
|
379
|
+
}> | undefined;
|
|
380
|
+
}, "appearance" | "size" | "theme" | "label" | "children" | "as" | keyof import("../../types").NavigatorActions | "hasTooltip" | "tooltipSide" | "isRounded"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
|
|
381
|
+
theme?: "success" | "danger" | "warning" | "neutral" | "primary" | "white" | undefined;
|
|
382
|
+
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
383
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
384
|
+
isRounded?: boolean | "true" | undefined;
|
|
385
|
+
}, {
|
|
386
|
+
sm: string;
|
|
387
|
+
md: string;
|
|
388
|
+
lg: string;
|
|
389
|
+
xl: string;
|
|
390
|
+
reducedMotion: string;
|
|
391
|
+
allowMotion: string;
|
|
392
|
+
hover: string;
|
|
393
|
+
}> & {
|
|
394
|
+
as?: string | React.ReactNode;
|
|
395
|
+
children: React.ReactNode;
|
|
396
|
+
label: string;
|
|
397
|
+
} & Omit<import("../../utilities/optional-tooltip-wrapper").TOptionalTooltipWrapperProps, "label"> & import("../../types").NavigatorActions>, {
|
|
398
|
+
fieldAppearance?: "standard" | "modern" | undefined;
|
|
399
|
+
}, {
|
|
400
|
+
sm: string;
|
|
401
|
+
md: string;
|
|
402
|
+
lg: string;
|
|
403
|
+
xl: string;
|
|
404
|
+
reducedMotion: string;
|
|
405
|
+
allowMotion: string;
|
|
406
|
+
hover: string;
|
|
407
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
408
|
+
sm: string;
|
|
409
|
+
md: string;
|
|
410
|
+
lg: string;
|
|
411
|
+
xl: string;
|
|
412
|
+
reducedMotion: string;
|
|
413
|
+
allowMotion: string;
|
|
414
|
+
hover: string;
|
|
415
|
+
}, {
|
|
416
|
+
colors: {
|
|
417
|
+
textBold: string;
|
|
418
|
+
textRegular: string;
|
|
419
|
+
textSubtle: string;
|
|
420
|
+
textMinimal: string;
|
|
421
|
+
background: string;
|
|
422
|
+
backgroundAccent: string;
|
|
423
|
+
grey100: string;
|
|
424
|
+
grey200: string;
|
|
425
|
+
grey300: string;
|
|
426
|
+
grey400: string;
|
|
427
|
+
grey500: string;
|
|
428
|
+
grey600: string;
|
|
429
|
+
grey700: string;
|
|
430
|
+
grey800: string;
|
|
431
|
+
grey900: string;
|
|
432
|
+
grey1000: string;
|
|
433
|
+
grey1100: string;
|
|
434
|
+
grey1200: string;
|
|
435
|
+
blue100: string;
|
|
436
|
+
blue200: string;
|
|
437
|
+
blue300: string;
|
|
438
|
+
blue400: string;
|
|
439
|
+
blue500: string;
|
|
440
|
+
blue600: string;
|
|
441
|
+
blue700: string;
|
|
442
|
+
blue800: string;
|
|
443
|
+
blue900: string;
|
|
444
|
+
blue1000: string;
|
|
445
|
+
blue1100: string;
|
|
446
|
+
blue1200: string;
|
|
447
|
+
pink100: string;
|
|
448
|
+
pink200: string;
|
|
449
|
+
pink300: string;
|
|
450
|
+
pink400: string;
|
|
451
|
+
pink500: string;
|
|
452
|
+
pink600: string;
|
|
453
|
+
pink700: string;
|
|
454
|
+
pink800: string;
|
|
455
|
+
pink900: string;
|
|
456
|
+
pink1000: string;
|
|
457
|
+
pink1100: string;
|
|
458
|
+
pink1200: string;
|
|
459
|
+
purple100: string;
|
|
460
|
+
purple200: string;
|
|
461
|
+
purple300: string;
|
|
462
|
+
purple400: string;
|
|
463
|
+
purple500: string;
|
|
464
|
+
purple600: string;
|
|
465
|
+
purple700: string;
|
|
466
|
+
purple800: string;
|
|
467
|
+
purple900: string;
|
|
468
|
+
purple1000: string;
|
|
469
|
+
purple1100: string;
|
|
470
|
+
purple1200: string;
|
|
471
|
+
cyan100: string;
|
|
472
|
+
cyan200: string;
|
|
473
|
+
cyan300: string;
|
|
474
|
+
cyan400: string;
|
|
475
|
+
cyan500: string;
|
|
476
|
+
cyan600: string;
|
|
477
|
+
cyan700: string;
|
|
478
|
+
cyan800: string;
|
|
479
|
+
cyan900: string;
|
|
480
|
+
cyan1000: string;
|
|
481
|
+
cyan1100: string;
|
|
482
|
+
cyan1200: string;
|
|
483
|
+
green100: string;
|
|
484
|
+
green200: string;
|
|
485
|
+
green300: string;
|
|
486
|
+
green400: string;
|
|
487
|
+
green500: string;
|
|
488
|
+
green600: string;
|
|
489
|
+
green700: string;
|
|
490
|
+
green800: string;
|
|
491
|
+
green900: string;
|
|
492
|
+
green1000: string;
|
|
493
|
+
green1100: string;
|
|
494
|
+
green1200: string;
|
|
495
|
+
magenta100: string;
|
|
496
|
+
magenta200: string;
|
|
497
|
+
magenta300: string;
|
|
498
|
+
magenta400: string;
|
|
499
|
+
magenta500: string;
|
|
500
|
+
magenta600: string;
|
|
501
|
+
magenta700: string;
|
|
502
|
+
magenta800: string;
|
|
503
|
+
magenta900: string;
|
|
504
|
+
magenta1000: string;
|
|
505
|
+
magenta1100: string;
|
|
506
|
+
magenta1200: string;
|
|
507
|
+
red100: string;
|
|
508
|
+
red200: string;
|
|
509
|
+
red300: string;
|
|
510
|
+
red400: string;
|
|
511
|
+
red500: string;
|
|
512
|
+
red600: string;
|
|
513
|
+
red700: string;
|
|
514
|
+
red800: string;
|
|
515
|
+
red900: string;
|
|
516
|
+
red1000: string;
|
|
517
|
+
red1100: string;
|
|
518
|
+
red1200: string;
|
|
519
|
+
teal100: string;
|
|
520
|
+
teal200: string;
|
|
521
|
+
teal300: string;
|
|
522
|
+
teal400: string;
|
|
523
|
+
teal500: string;
|
|
524
|
+
teal600: string;
|
|
525
|
+
teal700: string;
|
|
526
|
+
teal800: string;
|
|
527
|
+
teal900: string;
|
|
528
|
+
teal1000: string;
|
|
529
|
+
teal1100: string;
|
|
530
|
+
teal1200: string;
|
|
531
|
+
orange100: string;
|
|
532
|
+
orange200: string;
|
|
533
|
+
orange300: string;
|
|
534
|
+
orange400: string;
|
|
535
|
+
orange500: string;
|
|
536
|
+
orange600: string;
|
|
537
|
+
orange700: string;
|
|
538
|
+
orange800: string;
|
|
539
|
+
orange900: string;
|
|
540
|
+
orange1000: string;
|
|
541
|
+
orange1100: string;
|
|
542
|
+
orange1200: string;
|
|
543
|
+
yellow100: string;
|
|
544
|
+
yellow200: string;
|
|
545
|
+
yellow300: string;
|
|
546
|
+
yellow400: string;
|
|
547
|
+
yellow500: string;
|
|
548
|
+
yellow600: string;
|
|
549
|
+
yellow700: string;
|
|
550
|
+
yellow800: string;
|
|
551
|
+
yellow900: string;
|
|
552
|
+
yellow1000: string;
|
|
553
|
+
yellow1100: string;
|
|
554
|
+
yellow1200: string;
|
|
555
|
+
lime100: string;
|
|
556
|
+
lime200: string;
|
|
557
|
+
lime300: string;
|
|
558
|
+
lime400: string;
|
|
559
|
+
lime500: string;
|
|
560
|
+
lime600: string;
|
|
561
|
+
lime700: string;
|
|
562
|
+
lime800: string;
|
|
563
|
+
lime900: string;
|
|
564
|
+
lime1000: string;
|
|
565
|
+
lime1100: string;
|
|
566
|
+
lime1200: string;
|
|
567
|
+
lapis100: string;
|
|
568
|
+
lapis200: string;
|
|
569
|
+
lapis300: string;
|
|
570
|
+
lapis400: string;
|
|
571
|
+
lapis500: string;
|
|
572
|
+
lapis600: string;
|
|
573
|
+
lapis700: string;
|
|
574
|
+
lapis800: string;
|
|
575
|
+
lapis900: string;
|
|
576
|
+
lapis1000: string;
|
|
577
|
+
lapis1100: string;
|
|
578
|
+
lapis1200: string;
|
|
579
|
+
maroon100: string;
|
|
580
|
+
maroon200: string;
|
|
581
|
+
maroon300: string;
|
|
582
|
+
maroon400: string;
|
|
583
|
+
maroon500: string;
|
|
584
|
+
maroon600: string;
|
|
585
|
+
maroon700: string;
|
|
586
|
+
maroon800: string;
|
|
587
|
+
maroon900: string;
|
|
588
|
+
maroon1000: string;
|
|
589
|
+
maroon1100: string;
|
|
590
|
+
maroon1200: string;
|
|
591
|
+
marsh100: string;
|
|
592
|
+
marsh200: string;
|
|
593
|
+
marsh300: string;
|
|
594
|
+
marsh400: string;
|
|
595
|
+
marsh500: string;
|
|
596
|
+
marsh600: string;
|
|
597
|
+
marsh700: string;
|
|
598
|
+
marsh800: string;
|
|
599
|
+
marsh900: string;
|
|
600
|
+
marsh1000: string;
|
|
601
|
+
marsh1100: string;
|
|
602
|
+
marsh1200: string;
|
|
603
|
+
alpha100: string;
|
|
604
|
+
alpha150: string;
|
|
605
|
+
alpha200: string;
|
|
606
|
+
alpha250: string;
|
|
607
|
+
alpha600: string;
|
|
608
|
+
infoLight: string;
|
|
609
|
+
info: string;
|
|
610
|
+
infoMid: string;
|
|
611
|
+
infoDark: string;
|
|
612
|
+
successLight: string;
|
|
613
|
+
success: string;
|
|
614
|
+
successMid: string;
|
|
615
|
+
successDark: string;
|
|
616
|
+
dangerLight: string;
|
|
617
|
+
danger: string;
|
|
618
|
+
dangerMid: string;
|
|
619
|
+
dangerDark: string;
|
|
620
|
+
warningLight: string;
|
|
621
|
+
warning: string;
|
|
622
|
+
warningMid: string;
|
|
623
|
+
warningDark: string;
|
|
624
|
+
warningText: string;
|
|
625
|
+
subjectEnglish: string;
|
|
626
|
+
subjectMaths: string;
|
|
627
|
+
subjectScience: string;
|
|
628
|
+
subjectVerbalReasoning: string;
|
|
629
|
+
subjectNonVerbalReasoning: string;
|
|
630
|
+
subjectCreativeWriting: string;
|
|
631
|
+
subjectExamSkills: string;
|
|
632
|
+
subjectGcseEnglishLiterature: string;
|
|
633
|
+
subjectGcseMaths: string;
|
|
634
|
+
subjectGcseChemistry: string;
|
|
635
|
+
subjectGcsePhysics: string;
|
|
636
|
+
subjectGcseBiology: string;
|
|
637
|
+
glBlueLight: string;
|
|
638
|
+
glBluePrimary: string;
|
|
639
|
+
glBlueDark: string;
|
|
640
|
+
primary100: string;
|
|
641
|
+
primary200: string;
|
|
642
|
+
primary300: string;
|
|
643
|
+
primary400: string;
|
|
644
|
+
primary500: string;
|
|
645
|
+
primary600: string;
|
|
646
|
+
primary700: string;
|
|
647
|
+
primary800: string;
|
|
648
|
+
primary900: string;
|
|
649
|
+
primary1000: string;
|
|
650
|
+
primary1100: string;
|
|
651
|
+
primary1200: string;
|
|
652
|
+
};
|
|
653
|
+
space: {
|
|
654
|
+
"0": string;
|
|
655
|
+
"1": string;
|
|
656
|
+
"2": string;
|
|
657
|
+
"3": string;
|
|
658
|
+
"4": string;
|
|
659
|
+
"5": string;
|
|
660
|
+
"6": string;
|
|
661
|
+
"7": string;
|
|
662
|
+
"8": string;
|
|
663
|
+
"9": string;
|
|
664
|
+
"24": string;
|
|
665
|
+
};
|
|
666
|
+
fontSizes: {
|
|
667
|
+
xs: string;
|
|
668
|
+
sm: string;
|
|
669
|
+
md: string;
|
|
670
|
+
lg: string;
|
|
671
|
+
xl: string;
|
|
672
|
+
"2xl": string;
|
|
673
|
+
"3xl": string;
|
|
674
|
+
"4xl": string;
|
|
675
|
+
};
|
|
676
|
+
fonts: {
|
|
677
|
+
sans: string;
|
|
678
|
+
mono: string;
|
|
679
|
+
display: string;
|
|
680
|
+
body: string;
|
|
681
|
+
};
|
|
682
|
+
sizes: {
|
|
683
|
+
"0": string;
|
|
684
|
+
"1": string;
|
|
685
|
+
"2": string;
|
|
686
|
+
"3": string;
|
|
687
|
+
"4": string;
|
|
688
|
+
"5": string;
|
|
689
|
+
"6": string;
|
|
690
|
+
"7": string;
|
|
691
|
+
"8": string;
|
|
692
|
+
};
|
|
693
|
+
radii: {
|
|
694
|
+
"0": string;
|
|
695
|
+
"1": string;
|
|
696
|
+
"2": string;
|
|
697
|
+
"3": string;
|
|
698
|
+
round: string;
|
|
699
|
+
};
|
|
700
|
+
shadows: {
|
|
701
|
+
"0": string;
|
|
702
|
+
"1": string;
|
|
703
|
+
"2": string;
|
|
704
|
+
"3": string;
|
|
705
|
+
};
|
|
706
|
+
ratios: {
|
|
707
|
+
"16-9": string;
|
|
708
|
+
"3-2": string;
|
|
709
|
+
"4-3": string;
|
|
710
|
+
"1-1": string;
|
|
711
|
+
"3-4": string;
|
|
712
|
+
};
|
|
713
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
714
|
+
bg: (value: import("@atom-learning/stitches-react").PropertyValue<"background">) => {
|
|
715
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
716
|
+
};
|
|
717
|
+
size: (value: import("@atom-learning/stitches-react").ScaleValue<"size"> | number | string) => {
|
|
718
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
719
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
720
|
+
};
|
|
721
|
+
p: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
722
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
723
|
+
};
|
|
724
|
+
pt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
725
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
726
|
+
};
|
|
727
|
+
pr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
728
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
729
|
+
};
|
|
730
|
+
pb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
731
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
732
|
+
};
|
|
733
|
+
pl: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
734
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
735
|
+
};
|
|
736
|
+
px: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
737
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
738
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
739
|
+
};
|
|
740
|
+
py: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
741
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
742
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
743
|
+
};
|
|
744
|
+
m: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
745
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
746
|
+
};
|
|
747
|
+
mt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
748
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
749
|
+
};
|
|
750
|
+
mr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
751
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
752
|
+
};
|
|
753
|
+
mb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
754
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
755
|
+
};
|
|
756
|
+
ml: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
757
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
758
|
+
};
|
|
759
|
+
mx: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
760
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
761
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
762
|
+
};
|
|
763
|
+
my: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
764
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
765
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
766
|
+
};
|
|
767
|
+
}>>;
|
|
768
|
+
type NumberInputStepperProps = Omit<React.ComponentProps<typeof ActionIcon>, 'children'> & Omit<React.ComponentProps<typeof StyledStepperButton>, 'children'> & {
|
|
4
769
|
icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5
770
|
showTooltip?: boolean;
|
|
6
771
|
disabledTooltipContent?: string;
|