@atom-learning/components 1.18.2 → 1.19.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +30 -3
  2. package/dist/components/accordion/AccordionContent.js +1 -1
  3. package/dist/components/accordion/AccordionItem.js +1 -1
  4. package/dist/components/action-icon/ActionIcon.js +1 -1
  5. package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
  6. package/dist/components/badge/Badge.js +1 -1
  7. package/dist/components/button/Button.js +1 -1
  8. package/dist/components/calendar/Calendar.js +1 -1
  9. package/dist/components/carousel/CarouselArrows.js +1 -1
  10. package/dist/components/checkbox/Checkbox.js +1 -1
  11. package/dist/components/combobox/Combobox.js +1 -1
  12. package/dist/components/dialog/DialogContent.js +1 -1
  13. package/dist/components/divider/Divider.js +1 -1
  14. package/dist/components/dropdown-menu/DropdownMenuLinkItem.js +1 -1
  15. package/dist/components/field-wrapper/FieldDescription.js +1 -1
  16. package/dist/components/field-wrapper/InlineFieldWrapper.js +1 -1
  17. package/dist/components/file-input/FileInput.js +1 -1
  18. package/dist/components/grid/Grid.js +1 -1
  19. package/dist/components/heading/Heading.js +1 -1
  20. package/dist/components/label/Label.js +1 -1
  21. package/dist/components/link/Link.js +1 -1
  22. package/dist/components/markdown-content/MarkdownContent.js +1 -1
  23. package/dist/components/markdown-content/components/MarkdownCode.js +1 -1
  24. package/dist/components/markdown-content/components/MarkdownEmphasis.js +1 -1
  25. package/dist/components/markdown-content/components/MarkdownHeading.js +1 -1
  26. package/dist/components/markdown-content/components/MarkdownImage.js +1 -1
  27. package/dist/components/markdown-content/components/MarkdownLink.js +1 -1
  28. package/dist/components/markdown-content/components/MarkdownListItem.js +1 -1
  29. package/dist/components/markdown-content/components/MarkdownParagraph.js +1 -1
  30. package/dist/components/markdown-content/components/MarkdownStrong.js +1 -1
  31. package/dist/components/markdown-content/components/MarkdownThematicBreak.js +1 -1
  32. package/dist/components/notification-badge/NotificationBadge.js +1 -1
  33. package/dist/components/radio-button-field/RadioButtonField.js +1 -1
  34. package/dist/components/radio-card/RadioCardGroup.js +1 -1
  35. package/dist/components/search-input/SearchInput.js +1 -1
  36. package/dist/components/slider-field/SliderField.js +1 -1
  37. package/dist/components/stack/Stack.js +1 -1
  38. package/dist/components/stack-content/StackContent.js +1 -1
  39. package/dist/components/stepper/Stepper.js +1 -1
  40. package/dist/components/stepper/StepperStepBullet.d.ts +531 -0
  41. package/dist/components/stepper/StepperStepBullet.js +1 -0
  42. package/dist/components/stepper/StepperStepContainer.d.ts +532 -0
  43. package/dist/components/stepper/StepperStepContainer.js +1 -0
  44. package/dist/components/stepper/StepperStepForward.js +1 -1
  45. package/dist/components/stepper/StepperStepLabel.d.ts +541 -0
  46. package/dist/components/stepper/StepperStepLabel.js +1 -0
  47. package/dist/components/stepper/StepperSteps.js +1 -1
  48. package/dist/components/stepper/stepper-context/StepperContext.js +1 -1
  49. package/dist/components/stepper/types.d.ts +22 -6
  50. package/dist/components/stepper/types.js +1 -0
  51. package/dist/components/switch/Switch.js +1 -1
  52. package/dist/components/table/TableBody.js +1 -1
  53. package/dist/components/table/TableHeader.js +1 -1
  54. package/dist/components/tabs/TabTrigger.js +1 -1
  55. package/dist/components/tabs/Tabs.js +1 -1
  56. package/dist/components/tabs/utils.js +1 -1
  57. package/dist/components/toast/Toast.js +1 -1
  58. package/dist/components/toast/ToastProvider.js +1 -1
  59. package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
  60. package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
  61. package/dist/components/validation-error/ValidationError.js +1 -1
  62. package/dist/docgen.json +1 -1
  63. package/dist/docs/Stepper.mdx +55 -8
  64. package/dist/index.cjs.js +1 -1
  65. package/package.json +1 -1
@@ -0,0 +1,532 @@
1
+ export declare const StepperStepContainer: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
+ sm: string;
3
+ md: string;
4
+ lg: string;
5
+ xl: string;
6
+ reducedMotion: string;
7
+ allowMotion: string;
8
+ hover: string;
9
+ }, import("@stitches/react/types/css-util").CSS<{
10
+ sm: string;
11
+ md: string;
12
+ lg: string;
13
+ xl: string;
14
+ reducedMotion: string;
15
+ allowMotion: string;
16
+ hover: string;
17
+ }, {
18
+ colors: {
19
+ textForeground: any;
20
+ textSubtle: any;
21
+ textPlaceholder: any;
22
+ background: any;
23
+ backgroundAccent: any;
24
+ tonal50: any;
25
+ tonal100: any;
26
+ tonal200: any;
27
+ tonal300: any;
28
+ tonal400: any;
29
+ tonal500: any;
30
+ tonal600: any;
31
+ alpha100: any;
32
+ alpha150: any;
33
+ alpha200: any;
34
+ alpha250: any;
35
+ alpha600: any;
36
+ primaryLight: any;
37
+ primary: any;
38
+ primaryMid: any;
39
+ primaryDark: any;
40
+ secondary: any;
41
+ brandRed: any;
42
+ brandRedAccent: any;
43
+ brandGreen: any;
44
+ brandGreenAccent: any;
45
+ brandPurple: any;
46
+ brandPurpleAccent: any;
47
+ brandYellow: any;
48
+ brandYellowAccent: any;
49
+ successLight: any;
50
+ success: any;
51
+ successMid: any;
52
+ successDark: any;
53
+ dangerLight: any;
54
+ danger: any;
55
+ dangerMid: any;
56
+ dangerDark: any;
57
+ warningLight: any;
58
+ warning: any;
59
+ warningMid: any;
60
+ warningDark: any;
61
+ subjectEnglish: any;
62
+ subjectMaths: any;
63
+ subjectScience: any;
64
+ subjectVerbalReasoning: any;
65
+ subjectNonVerbalReasoning: any;
66
+ subjectCreativeWriting: any;
67
+ subjectExamSkills: any;
68
+ };
69
+ space: {
70
+ "0": any;
71
+ "1": any;
72
+ "2": any;
73
+ "3": any;
74
+ "4": any;
75
+ "5": any;
76
+ "6": any;
77
+ "7": any;
78
+ "8": any;
79
+ "9": any;
80
+ };
81
+ fontSizes: {
82
+ xs: any;
83
+ sm: any;
84
+ md: any;
85
+ lg: any;
86
+ xl: any;
87
+ "2xl": any;
88
+ "3xl": any;
89
+ "4xl": any;
90
+ };
91
+ fonts: {
92
+ sans: any;
93
+ mono: any;
94
+ display: any;
95
+ body: any;
96
+ };
97
+ sizes: {
98
+ "0": any;
99
+ "1": any;
100
+ "2": any;
101
+ "3": any;
102
+ "4": any;
103
+ "5": any;
104
+ "6": any;
105
+ "7": any;
106
+ "8": any;
107
+ };
108
+ radii: {
109
+ "0": any;
110
+ "1": any;
111
+ "2": any;
112
+ "3": any;
113
+ round: any;
114
+ };
115
+ shadows: {
116
+ "0": any;
117
+ "1": any;
118
+ "2": any;
119
+ "3": any;
120
+ };
121
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
122
+ bg: (value: {
123
+ readonly [$$PropertyValue]: "background";
124
+ }) => {
125
+ background: {
126
+ readonly [$$PropertyValue]: "background";
127
+ };
128
+ };
129
+ inset: (value: string | number | {
130
+ readonly [$$ScaleValue]: "space";
131
+ }) => {
132
+ top: string | number | {
133
+ readonly [$$ScaleValue]: "space";
134
+ };
135
+ right: string | number | {
136
+ readonly [$$ScaleValue]: "space";
137
+ };
138
+ bottom: string | number | {
139
+ readonly [$$ScaleValue]: "space";
140
+ };
141
+ left: string | number | {
142
+ readonly [$$ScaleValue]: "space";
143
+ };
144
+ };
145
+ size: (value: string | number | {
146
+ readonly [$$ScaleValue]: "size";
147
+ }) => {
148
+ height: string | number | {
149
+ readonly [$$ScaleValue]: "size";
150
+ };
151
+ width: string | number | {
152
+ readonly [$$ScaleValue]: "size";
153
+ };
154
+ };
155
+ p: (value: string | number | {
156
+ readonly [$$ScaleValue]: "space";
157
+ }) => {
158
+ padding: string | number | {
159
+ readonly [$$ScaleValue]: "space";
160
+ };
161
+ };
162
+ pt: (value: string | number | {
163
+ readonly [$$ScaleValue]: "space";
164
+ }) => {
165
+ paddingTop: string | number | {
166
+ readonly [$$ScaleValue]: "space";
167
+ };
168
+ };
169
+ pr: (value: string | number | {
170
+ readonly [$$ScaleValue]: "space";
171
+ }) => {
172
+ paddingRight: string | number | {
173
+ readonly [$$ScaleValue]: "space";
174
+ };
175
+ };
176
+ pb: (value: string | number | {
177
+ readonly [$$ScaleValue]: "space";
178
+ }) => {
179
+ paddingBottom: string | number | {
180
+ readonly [$$ScaleValue]: "space";
181
+ };
182
+ };
183
+ pl: (value: string | number | {
184
+ readonly [$$ScaleValue]: "space";
185
+ }) => {
186
+ paddingLeft: string | number | {
187
+ readonly [$$ScaleValue]: "space";
188
+ };
189
+ };
190
+ px: (value: string | number | {
191
+ readonly [$$ScaleValue]: "space";
192
+ }) => {
193
+ paddingLeft: string | number | {
194
+ readonly [$$ScaleValue]: "space";
195
+ };
196
+ paddingRight: string | number | {
197
+ readonly [$$ScaleValue]: "space";
198
+ };
199
+ };
200
+ py: (value: string | number | {
201
+ readonly [$$ScaleValue]: "space";
202
+ }) => {
203
+ paddingTop: string | number | {
204
+ readonly [$$ScaleValue]: "space";
205
+ };
206
+ paddingBottom: string | number | {
207
+ readonly [$$ScaleValue]: "space";
208
+ };
209
+ };
210
+ m: (value: string | number | {
211
+ readonly [$$ScaleValue]: "space";
212
+ }) => {
213
+ margin: string | number | {
214
+ readonly [$$ScaleValue]: "space";
215
+ };
216
+ };
217
+ mt: (value: string | number | {
218
+ readonly [$$ScaleValue]: "space";
219
+ }) => {
220
+ marginTop: string | number | {
221
+ readonly [$$ScaleValue]: "space";
222
+ };
223
+ };
224
+ mr: (value: string | number | {
225
+ readonly [$$ScaleValue]: "space";
226
+ }) => {
227
+ marginRight: string | number | {
228
+ readonly [$$ScaleValue]: "space";
229
+ };
230
+ };
231
+ mb: (value: string | number | {
232
+ readonly [$$ScaleValue]: "space";
233
+ }) => {
234
+ marginBottom: string | number | {
235
+ readonly [$$ScaleValue]: "space";
236
+ };
237
+ };
238
+ ml: (value: string | number | {
239
+ readonly [$$ScaleValue]: "space";
240
+ }) => {
241
+ marginLeft: string | number | {
242
+ readonly [$$ScaleValue]: "space";
243
+ };
244
+ };
245
+ mx: (value: string | number | {
246
+ readonly [$$ScaleValue]: "space";
247
+ }) => {
248
+ marginLeft: string | number | {
249
+ readonly [$$ScaleValue]: "space";
250
+ };
251
+ marginRight: string | number | {
252
+ readonly [$$ScaleValue]: "space";
253
+ };
254
+ };
255
+ my: (value: string | number | {
256
+ readonly [$$ScaleValue]: "space";
257
+ }) => {
258
+ marginTop: string | number | {
259
+ readonly [$$ScaleValue]: "space";
260
+ };
261
+ marginBottom: string | number | {
262
+ readonly [$$ScaleValue]: "space";
263
+ };
264
+ };
265
+ }>>, {
266
+ direction?: "horizontal" | "vertical" | undefined;
267
+ separator?: "success" | "default" | "active" | undefined;
268
+ }, {
269
+ sm: string;
270
+ md: string;
271
+ lg: string;
272
+ xl: string;
273
+ reducedMotion: string;
274
+ allowMotion: string;
275
+ hover: string;
276
+ }, import("@stitches/react/types/css-util").CSS<{
277
+ sm: string;
278
+ md: string;
279
+ lg: string;
280
+ xl: string;
281
+ reducedMotion: string;
282
+ allowMotion: string;
283
+ hover: string;
284
+ }, {
285
+ colors: {
286
+ textForeground: any;
287
+ textSubtle: any;
288
+ textPlaceholder: any;
289
+ background: any;
290
+ backgroundAccent: any;
291
+ tonal50: any;
292
+ tonal100: any;
293
+ tonal200: any;
294
+ tonal300: any;
295
+ tonal400: any;
296
+ tonal500: any;
297
+ tonal600: any;
298
+ alpha100: any;
299
+ alpha150: any;
300
+ alpha200: any;
301
+ alpha250: any;
302
+ alpha600: any;
303
+ primaryLight: any;
304
+ primary: any;
305
+ primaryMid: any;
306
+ primaryDark: any;
307
+ secondary: any;
308
+ brandRed: any;
309
+ brandRedAccent: any;
310
+ brandGreen: any;
311
+ brandGreenAccent: any;
312
+ brandPurple: any;
313
+ brandPurpleAccent: any;
314
+ brandYellow: any;
315
+ brandYellowAccent: any;
316
+ successLight: any;
317
+ success: any;
318
+ successMid: any;
319
+ successDark: any;
320
+ dangerLight: any;
321
+ danger: any;
322
+ dangerMid: any;
323
+ dangerDark: any;
324
+ warningLight: any;
325
+ warning: any;
326
+ warningMid: any;
327
+ warningDark: any;
328
+ subjectEnglish: any;
329
+ subjectMaths: any;
330
+ subjectScience: any;
331
+ subjectVerbalReasoning: any;
332
+ subjectNonVerbalReasoning: any;
333
+ subjectCreativeWriting: any;
334
+ subjectExamSkills: any;
335
+ };
336
+ space: {
337
+ "0": any;
338
+ "1": any;
339
+ "2": any;
340
+ "3": any;
341
+ "4": any;
342
+ "5": any;
343
+ "6": any;
344
+ "7": any;
345
+ "8": any;
346
+ "9": any;
347
+ };
348
+ fontSizes: {
349
+ xs: any;
350
+ sm: any;
351
+ md: any;
352
+ lg: any;
353
+ xl: any;
354
+ "2xl": any;
355
+ "3xl": any;
356
+ "4xl": any;
357
+ };
358
+ fonts: {
359
+ sans: any;
360
+ mono: any;
361
+ display: any;
362
+ body: any;
363
+ };
364
+ sizes: {
365
+ "0": any;
366
+ "1": any;
367
+ "2": any;
368
+ "3": any;
369
+ "4": any;
370
+ "5": any;
371
+ "6": any;
372
+ "7": any;
373
+ "8": any;
374
+ };
375
+ radii: {
376
+ "0": any;
377
+ "1": any;
378
+ "2": any;
379
+ "3": any;
380
+ round: any;
381
+ };
382
+ shadows: {
383
+ "0": any;
384
+ "1": any;
385
+ "2": any;
386
+ "3": any;
387
+ };
388
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
389
+ bg: (value: {
390
+ readonly [$$PropertyValue]: "background";
391
+ }) => {
392
+ background: {
393
+ readonly [$$PropertyValue]: "background";
394
+ };
395
+ };
396
+ inset: (value: string | number | {
397
+ readonly [$$ScaleValue]: "space";
398
+ }) => {
399
+ top: string | number | {
400
+ readonly [$$ScaleValue]: "space";
401
+ };
402
+ right: string | number | {
403
+ readonly [$$ScaleValue]: "space";
404
+ };
405
+ bottom: string | number | {
406
+ readonly [$$ScaleValue]: "space";
407
+ };
408
+ left: string | number | {
409
+ readonly [$$ScaleValue]: "space";
410
+ };
411
+ };
412
+ size: (value: string | number | {
413
+ readonly [$$ScaleValue]: "size";
414
+ }) => {
415
+ height: string | number | {
416
+ readonly [$$ScaleValue]: "size";
417
+ };
418
+ width: string | number | {
419
+ readonly [$$ScaleValue]: "size";
420
+ };
421
+ };
422
+ p: (value: string | number | {
423
+ readonly [$$ScaleValue]: "space";
424
+ }) => {
425
+ padding: string | number | {
426
+ readonly [$$ScaleValue]: "space";
427
+ };
428
+ };
429
+ pt: (value: string | number | {
430
+ readonly [$$ScaleValue]: "space";
431
+ }) => {
432
+ paddingTop: string | number | {
433
+ readonly [$$ScaleValue]: "space";
434
+ };
435
+ };
436
+ pr: (value: string | number | {
437
+ readonly [$$ScaleValue]: "space";
438
+ }) => {
439
+ paddingRight: string | number | {
440
+ readonly [$$ScaleValue]: "space";
441
+ };
442
+ };
443
+ pb: (value: string | number | {
444
+ readonly [$$ScaleValue]: "space";
445
+ }) => {
446
+ paddingBottom: string | number | {
447
+ readonly [$$ScaleValue]: "space";
448
+ };
449
+ };
450
+ pl: (value: string | number | {
451
+ readonly [$$ScaleValue]: "space";
452
+ }) => {
453
+ paddingLeft: string | number | {
454
+ readonly [$$ScaleValue]: "space";
455
+ };
456
+ };
457
+ px: (value: string | number | {
458
+ readonly [$$ScaleValue]: "space";
459
+ }) => {
460
+ paddingLeft: string | number | {
461
+ readonly [$$ScaleValue]: "space";
462
+ };
463
+ paddingRight: string | number | {
464
+ readonly [$$ScaleValue]: "space";
465
+ };
466
+ };
467
+ py: (value: string | number | {
468
+ readonly [$$ScaleValue]: "space";
469
+ }) => {
470
+ paddingTop: string | number | {
471
+ readonly [$$ScaleValue]: "space";
472
+ };
473
+ paddingBottom: string | number | {
474
+ readonly [$$ScaleValue]: "space";
475
+ };
476
+ };
477
+ m: (value: string | number | {
478
+ readonly [$$ScaleValue]: "space";
479
+ }) => {
480
+ margin: string | number | {
481
+ readonly [$$ScaleValue]: "space";
482
+ };
483
+ };
484
+ mt: (value: string | number | {
485
+ readonly [$$ScaleValue]: "space";
486
+ }) => {
487
+ marginTop: string | number | {
488
+ readonly [$$ScaleValue]: "space";
489
+ };
490
+ };
491
+ mr: (value: string | number | {
492
+ readonly [$$ScaleValue]: "space";
493
+ }) => {
494
+ marginRight: string | number | {
495
+ readonly [$$ScaleValue]: "space";
496
+ };
497
+ };
498
+ mb: (value: string | number | {
499
+ readonly [$$ScaleValue]: "space";
500
+ }) => {
501
+ marginBottom: string | number | {
502
+ readonly [$$ScaleValue]: "space";
503
+ };
504
+ };
505
+ ml: (value: string | number | {
506
+ readonly [$$ScaleValue]: "space";
507
+ }) => {
508
+ marginLeft: string | number | {
509
+ readonly [$$ScaleValue]: "space";
510
+ };
511
+ };
512
+ mx: (value: string | number | {
513
+ readonly [$$ScaleValue]: "space";
514
+ }) => {
515
+ marginLeft: string | number | {
516
+ readonly [$$ScaleValue]: "space";
517
+ };
518
+ marginRight: string | number | {
519
+ readonly [$$ScaleValue]: "space";
520
+ };
521
+ };
522
+ my: (value: string | number | {
523
+ readonly [$$ScaleValue]: "space";
524
+ }) => {
525
+ marginTop: string | number | {
526
+ readonly [$$ScaleValue]: "space";
527
+ };
528
+ marginBottom: string | number | {
529
+ readonly [$$ScaleValue]: "space";
530
+ };
531
+ };
532
+ }>>;
@@ -0,0 +1 @@
1
+ import{styled as t}from"../../stitches.js";import{Flex as e}from"../flex/Flex.js";const i=t(e,{position:"relative",fontFamily:"$body",fontWeight:600,fontSize:"$md","&:not(:last-child)::after":{content:"",position:"absolute"},variants:{direction:{vertical:{py:"$3",flexDirection:"row",alignItems:"center","&:not(:last-child)::after":{height:"100%",width:"4px",left:"14px",top:"50%"}},horizontal:{px:"$2",flexDirection:"column",alignItems:"center","&:not(:last-child)::after":{width:"100%",height:"4px",left:"50%",top:"14px"}}},separator:{default:{"&:not(:last-child)::after":{bg:"$tonal50"}},active:{"&:not(:last-child)::after":{bg:"$primary"}},success:{"&:not(:last-child)::after":{bg:"$success"}}}}});export{i as StepperStepContainer};
@@ -1 +1 @@
1
- import*as n from"react";import{Button as l}from"../button/Button.js";import{useStepper as m}from"./stepper-context/StepperContext.js";const c=({label:e,children:o,onClick:t,...i})=>{const{goToNextStep:r,activeStep:p}=m();return n.createElement(l,{size:"sm",...i,onClick:()=>{if(t)return t(r);r()},css:{ml:"auto"}},o||(e==null?void 0:e(p)))};export{c as StepperStepForward};
1
+ import*as n from"react";import{Button as p}from"../button/Button.js";import{useStepper as m}from"./stepper-context/StepperContext.js";const c=({label:e,children:r,onClick:o,...i})=>{const{goToNextStep:t,activeStep:l}=m();return n.createElement(p,{size:"sm",...i,onClick:()=>{if(o)return o(t);t==null||t()},css:{ml:"auto"}},r||(e==null?void 0:e(l)))};export{c as StepperStepForward};