@atom-learning/components 1.22.2 → 2.0.0-beta.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 (102) hide show
  1. package/CHANGELOG.md +0 -7
  2. package/dist/components/accordion/Accordion.d.ts +2 -0
  3. package/dist/components/accordion/AccordionContent.d.ts +2 -0
  4. package/dist/components/accordion/AccordionItem.d.ts +2 -0
  5. package/dist/components/accordion/AccordionTrigger.d.ts +2 -0
  6. package/dist/components/action-icon/ActionIcon.d.ts +2 -0
  7. package/dist/components/alert-dialog/AlertDialog.d.ts +2 -0
  8. package/dist/components/alert-dialog/AlertDialogContent.d.ts +2 -0
  9. package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
  10. package/dist/components/alert-dialog/alert-context/AlertDialog.js +1 -1
  11. package/dist/components/badge/Badge.d.ts +4 -0
  12. package/dist/components/box/Box.d.ts +2 -0
  13. package/dist/components/button/Button.d.ts +2 -0
  14. package/dist/components/button/Button.js +1 -1
  15. package/dist/components/calendar/Day.d.ts +2 -0
  16. package/dist/components/carousel/CarouselPagination.d.ts +2 -0
  17. package/dist/components/carousel/CarouselSlide.d.ts +2 -0
  18. package/dist/components/carousel/CarouselSlider.d.ts +2 -0
  19. package/dist/components/checkbox/Checkbox.d.ts +2 -0
  20. package/dist/components/combobox/Combobox.d.ts +2 -0
  21. package/dist/components/combobox/ComboboxInput.d.ts +2 -0
  22. package/dist/components/combobox/ComboboxInput.js +1 -1
  23. package/dist/components/combobox/ComboboxList.d.ts +2 -0
  24. package/dist/components/combobox/ComboboxOption.d.ts +2 -0
  25. package/dist/components/combobox/ComboboxPopover.d.ts +2 -0
  26. package/dist/components/dialog/Dialog.d.ts +2 -0
  27. package/dist/components/dialog/DialogBackground.d.ts +4 -0
  28. package/dist/components/dialog/DialogClose.d.ts +2 -0
  29. package/dist/components/dialog/DialogContent.d.ts +2 -0
  30. package/dist/components/dialog/DialogContent.js +1 -1
  31. package/dist/components/divider/Divider.d.ts +2 -0
  32. package/dist/components/dropdown-menu/DropdownMenu.d.ts +2 -0
  33. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +2 -0
  34. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +2 -0
  35. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +2 -0
  36. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +2 -0
  37. package/dist/components/empty-state/EmptyState.d.ts +4 -0
  38. package/dist/components/empty-state/EmptyState.js +1 -1
  39. package/dist/components/empty-state/EmptyStateBody.d.ts +4 -0
  40. package/dist/components/empty-state/EmptyStateBody.js +1 -1
  41. package/dist/components/empty-state/EmptyStateImage.d.ts +4 -0
  42. package/dist/components/empty-state/EmptyStateImage.js +1 -1
  43. package/dist/components/empty-state/EmptyStateTitle.d.ts +2 -0
  44. package/dist/components/flex/Flex.d.ts +2 -0
  45. package/dist/components/form/Form.d.ts +2 -0
  46. package/dist/components/grid/Grid.d.ts +3 -1
  47. package/dist/components/heading/Heading.d.ts +2 -0
  48. package/dist/components/icon/Icon.d.ts +2 -0
  49. package/dist/components/image/Image.d.ts +2 -0
  50. package/dist/components/input/Input.d.ts +2 -0
  51. package/dist/components/label/Label.d.ts +2 -0
  52. package/dist/components/link/Link.d.ts +2 -0
  53. package/dist/components/list/List.d.ts +4 -0
  54. package/dist/components/notification-badge/NotificationBadge.d.ts +4 -0
  55. package/dist/components/popover/Popover.d.ts +2 -0
  56. package/dist/components/popover/PopoverContent.d.ts +2 -0
  57. package/dist/components/popover/PopoverContent.js +1 -1
  58. package/dist/components/progress-bar/ProgressBar.d.ts +2 -0
  59. package/dist/components/radio-button/RadioButton.d.ts +2 -0
  60. package/dist/components/radio-button/RadioButtonGroup.d.ts +2 -0
  61. package/dist/components/radio-button/RadioButtonGroup.js +1 -1
  62. package/dist/components/radio-card/RadioCard.d.ts +2 -0
  63. package/dist/components/radio-card/RadioCard.js +1 -1
  64. package/dist/components/search-input/SearchInput.js +1 -1
  65. package/dist/components/select/Select.d.ts +2 -0
  66. package/dist/components/select/Select.js +1 -1
  67. package/dist/components/slider/Slider.d.ts +2 -0
  68. package/dist/components/stack/Stack.d.ts +3 -1
  69. package/dist/components/stack-content/StackContent.d.ts +2 -0
  70. package/dist/components/stack-content/StackContent.js +1 -1
  71. package/dist/components/stepper/StepperStepBullet.d.ts +4 -0
  72. package/dist/components/stepper/StepperStepContainer.d.ts +4 -0
  73. package/dist/components/stepper/StepperStepLabel.d.ts +4 -0
  74. package/dist/components/switch/Switch.d.ts +2 -0
  75. package/dist/components/table/Table.d.ts +2 -0
  76. package/dist/components/table/TableBody.d.ts +2 -0
  77. package/dist/components/table/TableCell.d.ts +2 -0
  78. package/dist/components/table/TableFooter.d.ts +2 -0
  79. package/dist/components/table/TableFooterCell.d.ts +2 -0
  80. package/dist/components/table/TableHeader.d.ts +2 -0
  81. package/dist/components/table/TableHeaderCell.d.ts +2 -0
  82. package/dist/components/table/TableRow.d.ts +2 -0
  83. package/dist/components/tabs/TabTrigger.d.ts +2 -0
  84. package/dist/components/tabs/Tabs.d.ts +4 -0
  85. package/dist/components/tabs/TabsTriggerList.d.ts +2 -0
  86. package/dist/components/text/Text.d.ts +2 -0
  87. package/dist/components/textarea/Textarea.d.ts +2 -0
  88. package/dist/components/toast/Toast.d.ts +2 -0
  89. package/dist/components/toast/Toast.js +1 -1
  90. package/dist/components/toggle-group/ToggleGroupButton.d.ts +4 -0
  91. package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
  92. package/dist/components/toggle-group/ToggleGroupItem.d.ts +4 -0
  93. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +2 -0
  94. package/dist/components/toggle-group/index.d.ts +10 -0
  95. package/dist/components/tooltip/TooltipContent.d.ts +2 -0
  96. package/dist/components/video/Video.d.ts +4 -0
  97. package/dist/docgen.json +1 -1
  98. package/dist/docs/Flex.mdx +3 -3
  99. package/dist/docs/Slider.mdx +1 -1
  100. package/dist/index.cjs.js +1 -1
  101. package/dist/stitches.d.ts +20 -0
  102. package/package.json +3 -3
@@ -64,6 +64,7 @@ export declare const EmptyStateBody: import("@stitches/react/types/styled-compon
64
64
  warning: any;
65
65
  warningMid: any;
66
66
  warningDark: any;
67
+ warningText: any;
67
68
  subjectEnglish: any;
68
69
  subjectMaths: any;
69
70
  subjectScience: any;
@@ -83,6 +84,7 @@ export declare const EmptyStateBody: import("@stitches/react/types/styled-compon
83
84
  "7": any;
84
85
  "8": any;
85
86
  "9": any;
87
+ "10": any;
86
88
  };
87
89
  fontSizes: {
88
90
  xs: any;
@@ -333,6 +335,7 @@ export declare const EmptyStateBody: import("@stitches/react/types/styled-compon
333
335
  warning: any;
334
336
  warningMid: any;
335
337
  warningDark: any;
338
+ warningText: any;
336
339
  subjectEnglish: any;
337
340
  subjectMaths: any;
338
341
  subjectScience: any;
@@ -352,6 +355,7 @@ export declare const EmptyStateBody: import("@stitches/react/types/styled-compon
352
355
  "7": any;
353
356
  "8": any;
354
357
  "9": any;
358
+ "10": any;
355
359
  };
356
360
  fontSizes: {
357
361
  xs: any;
@@ -1 +1 @@
1
- import{Text as t}from"../text/Text.js";import{styled as m}from"../../stitches.js";const o=m(t,{color:"$tonal400",fontWeight:"400",variants:{size:{xs:{fontSize:"$sm",mb:"$4"},sm:{fontSize:"$sm",mb:"$4"},md:{fontSize:"$sm",mb:"$4"},lg:{fontSize:"$md",mb:"$5"},xl:{fontSize:"$md",mb:"$5"}}}});export{o as EmptyStateBody};
1
+ import{Text as t}from"../text/Text.js";import{styled as m}from"../../stitches.js";const o=m(t,{color:"$tonal400",fontWeight:"400",variants:{size:{xs:{fontSize:"$sm",mb:"$4"},sm:{fontSize:"$sm",mb:"$4"},md:{fontSize:"$sm",mb:"$4"},lg:{fontSize:"$md",mb:"$6"},xl:{fontSize:"$md",mb:"$7"}}}});export{o as EmptyStateBody};
@@ -62,6 +62,7 @@ export declare const EmptyStateImage: import("@stitches/react/types/styled-compo
62
62
  warning: any;
63
63
  warningMid: any;
64
64
  warningDark: any;
65
+ warningText: any;
65
66
  subjectEnglish: any;
66
67
  subjectMaths: any;
67
68
  subjectScience: any;
@@ -81,6 +82,7 @@ export declare const EmptyStateImage: import("@stitches/react/types/styled-compo
81
82
  "7": any;
82
83
  "8": any;
83
84
  "9": any;
85
+ "10": any;
84
86
  };
85
87
  fontSizes: {
86
88
  xs: any;
@@ -331,6 +333,7 @@ export declare const EmptyStateImage: import("@stitches/react/types/styled-compo
331
333
  warning: any;
332
334
  warningMid: any;
333
335
  warningDark: any;
336
+ warningText: any;
334
337
  subjectEnglish: any;
335
338
  subjectMaths: any;
336
339
  subjectScience: any;
@@ -350,6 +353,7 @@ export declare const EmptyStateImage: import("@stitches/react/types/styled-compo
350
353
  "7": any;
351
354
  "8": any;
352
355
  "9": any;
356
+ "10": any;
353
357
  };
354
358
  fontSizes: {
355
359
  xs: any;
@@ -1 +1 @@
1
- import{Image as t}from"../image/Image.js";import{styled as m}from"../../stitches.js";const i=m(t,{variants:{size:{xs:{width:"56px",height:"32px",mb:"$4"},sm:{size:"84px",mb:"$4"},md:{width:"126px",height:"72px",mb:"$4"},lg:{width:"190px",height:"142px",mb:"$5"},xl:{width:"285px",height:"213px",mb:"$5"}}}});export{i as EmptyStateImage};
1
+ import{Image as t}from"../image/Image.js";import{styled as m}from"../../stitches.js";const i=m(t,{variants:{size:{xs:{width:"56px",height:"32px",mb:"$4"},sm:{size:"84px",mb:"$4"},md:{width:"126px",height:"72px",mb:"$4"},lg:{width:"190px",height:"142px",mb:"$6"},xl:{width:"285px",height:"213px",mb:"$6"}}}});export{i as EmptyStateImage};
@@ -60,6 +60,7 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
60
60
  warning: any;
61
61
  warningMid: any;
62
62
  warningDark: any;
63
+ warningText: any;
63
64
  subjectEnglish: any;
64
65
  subjectMaths: any;
65
66
  subjectScience: any;
@@ -79,6 +80,7 @@ export declare const EmptyStateTitle: import("@stitches/react/types/styled-compo
79
80
  "7": any;
80
81
  "8": any;
81
82
  "9": any;
83
+ "10": any;
82
84
  };
83
85
  fontSizes: {
84
86
  xs: any;
@@ -58,6 +58,7 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
58
58
  warning: any;
59
59
  warningMid: any;
60
60
  warningDark: any;
61
+ warningText: any;
61
62
  subjectEnglish: any;
62
63
  subjectMaths: any;
63
64
  subjectScience: any;
@@ -77,6 +78,7 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
77
78
  "7": any;
78
79
  "8": any;
79
80
  "9": any;
81
+ "10": any;
80
82
  };
81
83
  fontSizes: {
82
84
  xs: any;
@@ -60,6 +60,7 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
60
60
  warning: any;
61
61
  warningMid: any;
62
62
  warningDark: any;
63
+ warningText: any;
63
64
  subjectEnglish: any;
64
65
  subjectMaths: any;
65
66
  subjectScience: any;
@@ -79,6 +80,7 @@ declare const StyledForm: import("@stitches/react/types/styled-component").Style
79
80
  "7": any;
80
81
  "8": any;
81
82
  "9": any;
83
+ "10": any;
82
84
  };
83
85
  fontSizes: {
84
86
  xs: any;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  declare const GridContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
3
- gap?: number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | undefined;
3
+ gap?: number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | undefined;
4
4
  }, {
5
5
  sm: string;
6
6
  md: string;
@@ -61,6 +61,7 @@ declare const GridContainer: import("@stitches/react/types/styled-component").St
61
61
  warning: any;
62
62
  warningMid: any;
63
63
  warningDark: any;
64
+ warningText: any;
64
65
  subjectEnglish: any;
65
66
  subjectMaths: any;
66
67
  subjectScience: any;
@@ -80,6 +81,7 @@ declare const GridContainer: import("@stitches/react/types/styled-component").St
80
81
  "7": any;
81
82
  "8": any;
82
83
  "9": any;
84
+ "10": any;
83
85
  };
84
86
  fontSizes: {
85
87
  xs: any;
@@ -62,6 +62,7 @@ export declare const StyledHeading: import("@stitches/react/types/styled-compone
62
62
  warning: any;
63
63
  warningMid: any;
64
64
  warningDark: any;
65
+ warningText: any;
65
66
  subjectEnglish: any;
66
67
  subjectMaths: any;
67
68
  subjectScience: any;
@@ -81,6 +82,7 @@ export declare const StyledHeading: import("@stitches/react/types/styled-compone
81
82
  "7": any;
82
83
  "8": any;
83
84
  "9": any;
85
+ "10": any;
84
86
  };
85
87
  fontSizes: {
86
88
  xs: any;
@@ -62,6 +62,7 @@ export declare const StyledIcon: import("@stitches/react/types/styled-component"
62
62
  warning: any;
63
63
  warningMid: any;
64
64
  warningDark: any;
65
+ warningText: any;
65
66
  subjectEnglish: any;
66
67
  subjectMaths: any;
67
68
  subjectScience: any;
@@ -81,6 +82,7 @@ export declare const StyledIcon: import("@stitches/react/types/styled-component"
81
82
  "7": any;
82
83
  "8": any;
83
84
  "9": any;
85
+ "10": any;
84
86
  };
85
87
  fontSizes: {
86
88
  xs: any;
@@ -60,6 +60,7 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
60
60
  warning: any;
61
61
  warningMid: any;
62
62
  warningDark: any;
63
+ warningText: any;
63
64
  subjectEnglish: any;
64
65
  subjectMaths: any;
65
66
  subjectScience: any;
@@ -79,6 +80,7 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
79
80
  "7": any;
80
81
  "8": any;
81
82
  "9": any;
83
+ "10": any;
82
84
  };
83
85
  fontSizes: {
84
86
  xs: any;
@@ -63,6 +63,7 @@ declare const StyledInput: import("@stitches/react/types/styled-component").Styl
63
63
  warning: any;
64
64
  warningMid: any;
65
65
  warningDark: any;
66
+ warningText: any;
66
67
  subjectEnglish: any;
67
68
  subjectMaths: any;
68
69
  subjectScience: any;
@@ -82,6 +83,7 @@ declare const StyledInput: import("@stitches/react/types/styled-component").Styl
82
83
  "7": any;
83
84
  "8": any;
84
85
  "9": any;
86
+ "10": any;
85
87
  };
86
88
  fontSizes: {
87
89
  xs: any;
@@ -65,6 +65,7 @@ declare const StyledLabel: import("@stitches/react/types/styled-component").Styl
65
65
  warning: any;
66
66
  warningMid: any;
67
67
  warningDark: any;
68
+ warningText: any;
68
69
  subjectEnglish: any;
69
70
  subjectMaths: any;
70
71
  subjectScience: any;
@@ -84,6 +85,7 @@ declare const StyledLabel: import("@stitches/react/types/styled-component").Styl
84
85
  "7": any;
85
86
  "8": any;
86
87
  "9": any;
88
+ "10": any;
87
89
  };
88
90
  fontSizes: {
89
91
  xs: any;
@@ -63,6 +63,7 @@ export declare const StyledLink: import("@stitches/react/types/styled-component"
63
63
  warning: any;
64
64
  warningMid: any;
65
65
  warningDark: any;
66
+ warningText: any;
66
67
  subjectEnglish: any;
67
68
  subjectMaths: any;
68
69
  subjectScience: any;
@@ -82,6 +83,7 @@ export declare const StyledLink: import("@stitches/react/types/styled-component"
82
83
  "7": any;
83
84
  "8": any;
84
85
  "9": any;
86
+ "10": any;
85
87
  };
86
88
  fontSizes: {
87
89
  xs: any;
@@ -59,6 +59,7 @@ export declare const StyledLi: import("@stitches/react/types/styled-component").
59
59
  warning: any;
60
60
  warningMid: any;
61
61
  warningDark: any;
62
+ warningText: any;
62
63
  subjectEnglish: any;
63
64
  subjectMaths: any;
64
65
  subjectScience: any;
@@ -78,6 +79,7 @@ export declare const StyledLi: import("@stitches/react/types/styled-component").
78
79
  "7": any;
79
80
  "8": any;
80
81
  "9": any;
82
+ "10": any;
81
83
  };
82
84
  fontSizes: {
83
85
  xs: any;
@@ -327,6 +329,7 @@ export declare const StyledList: import("@stitches/react/types/styled-component"
327
329
  warning: any;
328
330
  warningMid: any;
329
331
  warningDark: any;
332
+ warningText: any;
330
333
  subjectEnglish: any;
331
334
  subjectMaths: any;
332
335
  subjectScience: any;
@@ -346,6 +349,7 @@ export declare const StyledList: import("@stitches/react/types/styled-component"
346
349
  "7": any;
347
350
  "8": any;
348
351
  "9": any;
352
+ "10": any;
349
353
  };
350
354
  fontSizes: {
351
355
  xs: any;
@@ -59,6 +59,7 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
59
59
  warning: any;
60
60
  warningMid: any;
61
61
  warningDark: any;
62
+ warningText: any;
62
63
  subjectEnglish: any;
63
64
  subjectMaths: any;
64
65
  subjectScience: any;
@@ -78,6 +79,7 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
78
79
  "7": any;
79
80
  "8": any;
80
81
  "9": any;
82
+ "10": any;
81
83
  };
82
84
  fontSizes: {
83
85
  xs: any;
@@ -323,6 +325,7 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
323
325
  warning: any;
324
326
  warningMid: any;
325
327
  warningDark: any;
328
+ warningText: any;
326
329
  subjectEnglish: any;
327
330
  subjectMaths: any;
328
331
  subjectScience: any;
@@ -342,6 +345,7 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
342
345
  "7": any;
343
346
  "8": any;
344
347
  "9": any;
348
+ "10": any;
345
349
  };
346
350
  fontSizes: {
347
351
  xs: any;
@@ -61,6 +61,7 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
61
61
  warning: any;
62
62
  warningMid: any;
63
63
  warningDark: any;
64
+ warningText: any;
64
65
  subjectEnglish: any;
65
66
  subjectMaths: any;
66
67
  subjectScience: any;
@@ -80,6 +81,7 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
80
81
  "7": any;
81
82
  "8": any;
82
83
  "9": any;
84
+ "10": any;
83
85
  };
84
86
  fontSizes: {
85
87
  xs: any;
@@ -62,6 +62,7 @@ declare const StyledContent: import("@stitches/react/types/styled-component").St
62
62
  warning: any;
63
63
  warningMid: any;
64
64
  warningDark: any;
65
+ warningText: any;
65
66
  subjectEnglish: any;
66
67
  subjectMaths: any;
67
68
  subjectScience: any;
@@ -81,6 +82,7 @@ declare const StyledContent: import("@stitches/react/types/styled-component").St
81
82
  "7": any;
82
83
  "8": any;
83
84
  "9": any;
85
+ "10": any;
84
86
  };
85
87
  fontSizes: {
86
88
  xs: any;
@@ -1 +1 @@
1
- import{Close as r}from"@atom-learning/icons";import{Content as l,Arrow as p,Close as h}from"@radix-ui/react-popover";import*as e from"react";import{styled as t}from"../../stitches.js";import{ActionIcon as c}from"../action-icon/ActionIcon.js";import{Icon as f}from"../icon/Icon.js";import{slideDownAndFade as $,slideLeftAndFade as g,slideUpAndFade as x,slideRightAndFade as w}from"../../utilities/style/keyframe-animations.js";const b=t(l,{bg:"white",borderRadius:"$1",boxShadow:"$2",maxWidth:"90vw",p:"$sizes$2",pr:"$6",position:"relative","@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:$},'&[data-side="right"]':{animationName:g},'&[data-side="bottom"]':{animationName:x},'&[data-side="left"]':{animationName:w}}},variants:{size:{sm:{maxWidth:"200px"},md:{maxWidth:"400px"},lg:{maxWidth:"600px"}}}}),z=t(p,{fill:"white",zIndex:1,'[data-align="end"] &':{mr:"$sizes$2"},'[data-align="start"] &':{ml:"$sizes$2"}}),C=({children:i,side:o="top",sideOffset:a=8,closePopoverText:s="Close popover",showCloseButton:n=!0,size:m="md",...d})=>e.createElement(b,{size:m,side:o,sideOffset:a,...d},n&&e.createElement(c,{as:h,css:{position:"absolute",right:"$0",top:"$0"},label:s,size:"lg",theme:"neutral"},e.createElement(f,{is:r})),i,e.createElement(z,{width:16,height:8}));export{C as PopoverContent};
1
+ import{Close as r}from"@atom-learning/icons";import{Content as l,Arrow as p,Close as h}from"@radix-ui/react-popover";import*as e from"react";import{styled as t}from"../../stitches.js";import{ActionIcon as c}from"../action-icon/ActionIcon.js";import{Icon as f}from"../icon/Icon.js";import{slideDownAndFade as $,slideLeftAndFade as g,slideUpAndFade as x,slideRightAndFade as w}from"../../utilities/style/keyframe-animations.js";const b=t(l,{bg:"white",borderRadius:"$1",boxShadow:"$2",maxWidth:"90vw",p:"$sizes$2",pr:"$7",position:"relative","@allowMotion":{animationDuration:"75ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:$},'&[data-side="right"]':{animationName:g},'&[data-side="bottom"]':{animationName:x},'&[data-side="left"]':{animationName:w}}},variants:{size:{sm:{maxWidth:"200px"},md:{maxWidth:"400px"},lg:{maxWidth:"600px"}}}}),z=t(p,{fill:"white",zIndex:1,'[data-align="end"] &':{mr:"$sizes$2"},'[data-align="start"] &':{ml:"$sizes$2"}}),C=({children:i,side:o="top",sideOffset:a=8,closePopoverText:s="Close popover",showCloseButton:n=!0,size:m="md",...d})=>e.createElement(b,{size:m,side:o,sideOffset:a,...d},n&&e.createElement(c,{as:h,css:{position:"absolute",right:"$0",top:"$0"},label:s,size:"lg",theme:"neutral"},e.createElement(f,{is:r})),i,e.createElement(z,{width:16,height:8}));export{C as PopoverContent};
@@ -62,6 +62,7 @@ declare const StyledProgressBar: import("@stitches/react/types/styled-component"
62
62
  warning: any;
63
63
  warningMid: any;
64
64
  warningDark: any;
65
+ warningText: any;
65
66
  subjectEnglish: any;
66
67
  subjectMaths: any;
67
68
  subjectScience: any;
@@ -81,6 +82,7 @@ declare const StyledProgressBar: import("@stitches/react/types/styled-component"
81
82
  "7": any;
82
83
  "8": any;
83
84
  "9": any;
85
+ "10": any;
84
86
  };
85
87
  fontSizes: {
86
88
  xs: any;
@@ -61,6 +61,7 @@ declare const StyledRadioButton: import("@stitches/react/types/styled-component"
61
61
  warning: any;
62
62
  warningMid: any;
63
63
  warningDark: any;
64
+ warningText: any;
64
65
  subjectEnglish: any;
65
66
  subjectMaths: any;
66
67
  subjectScience: any;
@@ -80,6 +81,7 @@ declare const StyledRadioButton: import("@stitches/react/types/styled-component"
80
81
  "7": any;
81
82
  "8": any;
82
83
  "9": any;
84
+ "10": any;
83
85
  };
84
86
  fontSizes: {
85
87
  xs: any;
@@ -62,6 +62,7 @@ export declare const RadioButtonGroup: import("@stitches/react/types/styled-comp
62
62
  warning: any;
63
63
  warningMid: any;
64
64
  warningDark: any;
65
+ warningText: any;
65
66
  subjectEnglish: any;
66
67
  subjectMaths: any;
67
68
  subjectScience: any;
@@ -81,6 +82,7 @@ export declare const RadioButtonGroup: import("@stitches/react/types/styled-comp
81
82
  "7": any;
82
83
  "8": any;
83
84
  "9": any;
85
+ "10": any;
84
86
  };
85
87
  fontSizes: {
86
88
  xs: any;
@@ -1 +1 @@
1
- import*as r from"@radix-ui/react-radio-group";import{styled as t}from"../../stitches.js";const o=t(r.Root,{display:"flex",flexWrap:"wrap",variants:{direction:{row:{flexDirection:"row","& > *:not(:last-child)":{mr:"$5"}},column:{flexDirection:"column"}}}});o.displayName="RadioButtonGroup";export{o as RadioButtonGroup};
1
+ import*as r from"@radix-ui/react-radio-group";import{styled as t}from"../../stitches.js";const o=t(r.Root,{display:"flex",flexWrap:"wrap",variants:{direction:{row:{flexDirection:"row","& > *:not(:last-child)":{mr:"$6"}},column:{flexDirection:"column"}}}});o.displayName="RadioButtonGroup";export{o as RadioButtonGroup};
@@ -64,6 +64,7 @@ export declare const StyledRadioCard: import("@stitches/react/types/styled-compo
64
64
  warning: any;
65
65
  warningMid: any;
66
66
  warningDark: any;
67
+ warningText: any;
67
68
  subjectEnglish: any;
68
69
  subjectMaths: any;
69
70
  subjectScience: any;
@@ -83,6 +84,7 @@ export declare const StyledRadioCard: import("@stitches/react/types/styled-compo
83
84
  "7": any;
84
85
  "8": any;
85
86
  "9": any;
87
+ "10": any;
86
88
  };
87
89
  fontSizes: {
88
90
  xs: any;
@@ -1 +1 @@
1
- import*as l from"@radix-ui/react-radio-group";import*as e from"react";import{styled as t}from"../../stitches.js";import{Box as d}from"../box/Box.js";const o=t(l.Item,{alignItems:"center",bg:"white",border:"1px solid $tonal200",borderRadius:"$0",cursor:"pointer",display:"flex",textAlign:"left",'&[data-state="checked"]':{outline:"2px solid $primary",outlineOffset:"-2px"},variants:{align:{left:{flexDirection:"row"},right:{flexDirection:"row-reverse"}},size:{md:{px:"$4",py:"$3"},lg:{px:"$5",py:"$4"}},isFullWidth:{true:{width:"100%"},false:{width:"max-content"}}}}),c=t("div",{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal500",borderRadius:"$round",display:"flex",flexShrink:0,justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out",'[data-state="checked"] &':{backgroundColor:"$primary",borderColor:"$primary"},variants:{containerIsFullWidth:{true:{},false:{}},align:{left:{mr:"$4"},right:{}}},compoundVariants:[{containerIsFullWidth:!0,align:"right",css:{ml:"auto"}},{containerIsFullWidth:!1,align:"right",css:{ml:"$4"}}]}),p=t(l.Indicator,{backgroundColor:"white",borderRadius:"$round",position:"absolute",size:"6px"}),u=({children:a,isFullWidth:r=!1,size:n="md",align:i="left",...s})=>e.createElement(o,{...s,align:i,isFullWidth:r,size:n},e.createElement(c,{align:i,containerIsFullWidth:r},e.createElement(p,null)),e.createElement(d,null,a));export{u as RadioCard,o as StyledRadioCard};
1
+ import*as l from"@radix-ui/react-radio-group";import*as e from"react";import{styled as t}from"../../stitches.js";import{Box as d}from"../box/Box.js";const o=t(l.Item,{alignItems:"center",bg:"white",border:"1px solid $tonal200",borderRadius:"$0",cursor:"pointer",display:"flex",textAlign:"left",'&[data-state="checked"]':{outline:"2px solid $primary",outlineOffset:"-2px"},variants:{align:{left:{flexDirection:"row"},right:{flexDirection:"row-reverse"}},size:{md:{px:"$4",py:"$3"},lg:{px:"$6",py:"$4"}},isFullWidth:{true:{width:"100%"},false:{width:"max-content"}}}}),c=t("div",{alignItems:"center",appearance:"none",backgroundColor:"transparent",border:"1px solid $tonal500",borderRadius:"$round",display:"flex",flexShrink:0,justifyContent:"center",p:0,size:"$1",transition:"all 50ms ease-out",'[data-state="checked"] &':{backgroundColor:"$primary",borderColor:"$primary"},variants:{containerIsFullWidth:{true:{},false:{}},align:{left:{mr:"$4"},right:{}}},compoundVariants:[{containerIsFullWidth:!0,align:"right",css:{ml:"auto"}},{containerIsFullWidth:!1,align:"right",css:{ml:"$4"}}]}),p=t(l.Indicator,{backgroundColor:"white",borderRadius:"$round",position:"absolute",size:"6px"}),u=({children:a,isFullWidth:r=!1,size:n="md",align:i="left",...s})=>e.createElement(o,{...s,align:i,isFullWidth:r,size:n},e.createElement(c,{align:i,containerIsFullWidth:r},e.createElement(p,null)),e.createElement(d,null,a));export{u as RadioCard,o as StyledRadioCard};
@@ -1 +1 @@
1
- import{Search as R,Close as b}from"@atom-learning/icons";import*as t from"react";import{ActionIcon as g}from"../action-icon/ActionIcon.js";import{Box as v}from"../box/Box.js";import{Icon as i}from"../icon/Icon.js";import{Input as d}from"../input/Input.js";import{styled as l}from"../../stitches.js";var z=(e=>(e.SEARCH="SEARCH",e.CLEAR="CLEAR",e))(z||{});const f=l(i,{color:"$tonal300",position:"absolute",pointerEvents:"none",variants:{size:{sm:{top:"$2",right:"$2",size:"$1"},md:{top:10,right:10,size:20}}}}),$=l(d,{'&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, & input[type="search"]::-webkit-search-results-decoration':{display:"none"}}),c=({size:e="md",css:m,value:s,clearText:p="Clear",onChange:r,...u})=>{const[E,a]=t.useState(s||""),[C,n]=t.useState(s?"CLEAR":"SEARCH"),h=()=>{a(""),n("SEARCH"),r==null||r({currentTarget:{value:""},target:{value:""}})},S=o=>{a(o.target.value),n(o.target.value?"CLEAR":"SEARCH"),r==null||r(o)},A=()=>C==="SEARCH"?t.createElement(f,{is:R,size:e,css:{size:e=="sm"?"$1":20}}):t.createElement(g,{label:p,theme:"neutral",size:e=="sm"?"md":"lg",css:{position:"absolute",top:0,right:0},onClick:h},t.createElement(i,{is:b}));return t.createElement(v,{css:{position:"relative",...m}},t.createElement($,{size:e,type:"search",...u,value:E,onChange:S,css:{pr:e==="sm"?"$5":"$6"}}),A())};c.displayName="SearchInput";export{c as SearchInput};
1
+ import{Search as R,Close as b}from"@atom-learning/icons";import*as t from"react";import{ActionIcon as g}from"../action-icon/ActionIcon.js";import{Box as v}from"../box/Box.js";import{Icon as i}from"../icon/Icon.js";import{Input as d}from"../input/Input.js";import{styled as l}from"../../stitches.js";var z=(e=>(e.SEARCH="SEARCH",e.CLEAR="CLEAR",e))(z||{});const f=l(i,{color:"$tonal300",position:"absolute",pointerEvents:"none",variants:{size:{sm:{top:"$2",right:"$2",size:"$1"},md:{top:10,right:10,size:20}}}}),$=l(d,{'&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, & input[type="search"]::-webkit-search-results-decoration':{display:"none"}}),c=({size:e="md",css:m,value:s,clearText:p="Clear",onChange:r,...u})=>{const[E,a]=t.useState(s||""),[C,n]=t.useState(s?"CLEAR":"SEARCH"),h=()=>{a(""),n("SEARCH"),r==null||r({currentTarget:{value:""},target:{value:""}})},S=o=>{a(o.target.value),n(o.target.value?"CLEAR":"SEARCH"),r==null||r(o)},A=()=>C==="SEARCH"?t.createElement(f,{is:R,size:e,css:{size:e=="sm"?"$1":20}}):t.createElement(g,{label:p,theme:"neutral",size:e=="sm"?"md":"lg",css:{position:"absolute",top:0,right:0},onClick:h},t.createElement(i,{is:b}));return t.createElement(v,{css:{position:"relative",...m}},t.createElement($,{size:e,type:"search",...u,value:E,onChange:S,css:{pr:e==="sm"?"$6":"$7"}}),A())};c.displayName="SearchInput";export{c as SearchInput};
@@ -63,6 +63,7 @@ declare const StyledSelect: import("@stitches/react/types/styled-component").Sty
63
63
  warning: any;
64
64
  warningMid: any;
65
65
  warningDark: any;
66
+ warningText: any;
66
67
  subjectEnglish: any;
67
68
  subjectMaths: any;
68
69
  subjectScience: any;
@@ -82,6 +83,7 @@ declare const StyledSelect: import("@stitches/react/types/styled-component").Sty
82
83
  "7": any;
83
84
  "8": any;
84
85
  "9": any;
86
+ "10": any;
85
87
  };
86
88
  fontSizes: {
87
89
  xs: any;
@@ -1 +1 @@
1
- import*as o from"react";import{styled as d,theme as s}from"../../stitches.js";import{encodeBackgroundIcon as c}from"../../utilities/style/encode-background-icon.js";const p=d("select",{appearance:"none",backgroundColor:"white",backgroundImage:c(s.colors.tonal300.value,"chevron"),backgroundRepeat:"no-repeat, repeat",border:"1px solid $tonal300",borderRadius:"$0",color:"$tonal600",display:"block",fontFamily:"$body",fontWeight:400,lineHeight:1.4,transition:"all 75ms ease-out",width:"100%","&:hover":{cursor:"pointer"},"&:focus":{borderColor:"$primary",outline:"none"},"&::-ms-expand":{display:"none"},"&[disabled], > option[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{size:{sm:{backgroundPosition:"right $space$2 top 50%, 0 0",backgroundSize:"18px auto, 100%",fontSize:"$sm",height:"$3",pl:"$2",pr:"$5"},md:{backgroundPosition:"right $space$3 top 50%, 0 0",backgroundSize:"20px auto, 100%",fontSize:"$md",height:"$4",pl:"$3",pr:"$6"}},state:{error:{border:"1px solid $danger"}}}}),t=o.forwardRef(({placeholder:r,children:n,size:l="md",...e},i)=>{const a={size:l,ref:i,...e};return!e.value&&!e.defaultValue&&(a.defaultValue=""),o.createElement(p,{...a},r&&o.createElement("option",{disabled:!0,hidden:!0,value:""},r),n)});t.displayName="Select";export{t as Select};
1
+ import*as o from"react";import{styled as d,theme as s}from"../../stitches.js";import{encodeBackgroundIcon as c}from"../../utilities/style/encode-background-icon.js";const p=d("select",{appearance:"none",backgroundColor:"white",backgroundImage:c(s.colors.tonal300.value,"chevron"),backgroundRepeat:"no-repeat, repeat",border:"1px solid $tonal300",borderRadius:"$0",color:"$tonal600",display:"block",fontFamily:"$body",fontWeight:400,lineHeight:1.4,transition:"all 75ms ease-out",width:"100%","&:hover":{cursor:"pointer"},"&:focus":{borderColor:"$primary",outline:"none"},"&::-ms-expand":{display:"none"},"&[disabled], > option[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{size:{sm:{backgroundPosition:"right $space$2 top 50%, 0 0",backgroundSize:"18px auto, 100%",fontSize:"$sm",height:"$3",pl:"$2",pr:"$6"},md:{backgroundPosition:"right $space$3 top 50%, 0 0",backgroundSize:"20px auto, 100%",fontSize:"$md",height:"$4",pl:"$3",pr:"$7"}},state:{error:{border:"1px solid $danger"}}}}),t=o.forwardRef(({placeholder:r,children:n,size:l="md",...e},i)=>{const a={size:l,ref:i,...e};return!e.value&&!e.defaultValue&&(a.defaultValue=""),o.createElement(p,{...a},r&&o.createElement("option",{disabled:!0,hidden:!0,value:""},r),n)});t.displayName="Select";export{t as Select};
@@ -63,6 +63,7 @@ declare const StyledSlider: import("@stitches/react/types/styled-component").Sty
63
63
  warning: any;
64
64
  warningMid: any;
65
65
  warningDark: any;
66
+ warningText: any;
66
67
  subjectEnglish: any;
67
68
  subjectMaths: any;
68
69
  subjectScience: any;
@@ -82,6 +83,7 @@ declare const StyledSlider: import("@stitches/react/types/styled-component").Sty
82
83
  "7": any;
83
84
  "8": any;
84
85
  "9": any;
86
+ "10": any;
85
87
  };
86
88
  fontSizes: {
87
89
  xs: any;
@@ -5,7 +5,7 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
5
5
  wrap?: "wrap" | "wrap-reverse" | "no-wrap" | undefined;
6
6
  justify?: boolean | "center" | "false" | "end" | "start" | undefined;
7
7
  align?: boolean | "center" | "false" | "end" | "start" | undefined;
8
- gap?: number | boolean | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "false" | undefined;
8
+ gap?: number | boolean | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "false" | undefined;
9
9
  }, {
10
10
  sm: string;
11
11
  md: string;
@@ -66,6 +66,7 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
66
66
  warning: any;
67
67
  warningMid: any;
68
68
  warningDark: any;
69
+ warningText: any;
69
70
  subjectEnglish: any;
70
71
  subjectMaths: any;
71
72
  subjectScience: any;
@@ -85,6 +86,7 @@ declare const StyledStack: import("@stitches/react/types/styled-component").Styl
85
86
  "7": any;
86
87
  "8": any;
87
88
  "9": any;
89
+ "10": any;
88
90
  };
89
91
  fontSizes: {
90
92
  xs: any;
@@ -60,6 +60,7 @@ declare const StyledStackContent: import("@stitches/react/types/styled-component
60
60
  warning: any;
61
61
  warningMid: any;
62
62
  warningDark: any;
63
+ warningText: any;
63
64
  subjectEnglish: any;
64
65
  subjectMaths: any;
65
66
  subjectScience: any;
@@ -79,6 +80,7 @@ declare const StyledStackContent: import("@stitches/react/types/styled-component
79
80
  "7": any;
80
81
  "8": any;
81
82
  "9": any;
83
+ "10": any;
82
84
  };
83
85
  fontSizes: {
84
86
  xs: any;
@@ -1 +1 @@
1
- import*as t from"react";import{styled as r}from"../../stitches.js";import{StyledDivider as d}from"../divider/Divider.js";import{StyledHeading as e}from"../heading/Heading.js";import{StyledImage as l}from"../image/Image.js";import{StyledList as a}from"../list/List.js";import{StyledText as c}from"../text/Text.js";const n=r("div",{[`& > ${e}`]:{maxWidth:"65ch","&:not(:first-child)":{mt:"$5"},"&:not(:last-child)":{mb:"$5"}},[`& > ${c}`]:{maxWidth:"75ch","&:not(:last-child)":{mb:"$5"}},[`& > ${a}`]:{maxWidth:"75ch","&:not(:last-child)":{mb:"$5"}},[`& > ${d}`]:{my:"$5"},[`& > ${l}`]:{display:"block","&:not(:first-child)":{mt:"$6"},"&:not(:last-child)":{mb:"$6"}}}),o=t.forwardRef((m,i)=>t.createElement(n,{ref:i,...m}));o.displayName="StackContent";export{o as StackContent};
1
+ import*as t from"react";import{styled as r}from"../../stitches.js";import{StyledDivider as d}from"../divider/Divider.js";import{StyledHeading as e}from"../heading/Heading.js";import{StyledImage as l}from"../image/Image.js";import{StyledList as a}from"../list/List.js";import{StyledText as c}from"../text/Text.js";const n=r("div",{[`& > ${e}`]:{maxWidth:"65ch","&:not(:first-child)":{mt:"$6"},"&:not(:last-child)":{mb:"$6"}},[`& > ${c}`]:{maxWidth:"75ch","&:not(:last-child)":{mb:"$6"}},[`& > ${a}`]:{maxWidth:"75ch","&:not(:last-child)":{mb:"$6"}},[`& > ${d}`]:{my:"$6"},[`& > ${l}`]:{display:"block","&:not(:first-child)":{mt:"$7"},"&:not(:last-child)":{mb:"$7"}}}),o=t.forwardRef((m,i)=>t.createElement(n,{ref:i,...m}));o.displayName="StackContent";export{o as StackContent};
@@ -58,6 +58,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
58
58
  warning: any;
59
59
  warningMid: any;
60
60
  warningDark: any;
61
+ warningText: any;
61
62
  subjectEnglish: any;
62
63
  subjectMaths: any;
63
64
  subjectScience: any;
@@ -77,6 +78,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
77
78
  "7": any;
78
79
  "8": any;
79
80
  "9": any;
81
+ "10": any;
80
82
  };
81
83
  fontSizes: {
82
84
  xs: any;
@@ -324,6 +326,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
324
326
  warning: any;
325
327
  warningMid: any;
326
328
  warningDark: any;
329
+ warningText: any;
327
330
  subjectEnglish: any;
328
331
  subjectMaths: any;
329
332
  subjectScience: any;
@@ -343,6 +346,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
343
346
  "7": any;
344
347
  "8": any;
345
348
  "9": any;
349
+ "10": any;
346
350
  };
347
351
  fontSizes: {
348
352
  xs: any;
@@ -58,6 +58,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
58
58
  warning: any;
59
59
  warningMid: any;
60
60
  warningDark: any;
61
+ warningText: any;
61
62
  subjectEnglish: any;
62
63
  subjectMaths: any;
63
64
  subjectScience: any;
@@ -77,6 +78,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
77
78
  "7": any;
78
79
  "8": any;
79
80
  "9": any;
81
+ "10": any;
80
82
  };
81
83
  fontSizes: {
82
84
  xs: any;
@@ -325,6 +327,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
325
327
  warning: any;
326
328
  warningMid: any;
327
329
  warningDark: any;
330
+ warningText: any;
328
331
  subjectEnglish: any;
329
332
  subjectMaths: any;
330
333
  subjectScience: any;
@@ -344,6 +347,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
344
347
  "7": any;
345
348
  "8": any;
346
349
  "9": any;
350
+ "10": any;
347
351
  };
348
352
  fontSizes: {
349
353
  xs: any;
@@ -64,6 +64,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
64
64
  warning: any;
65
65
  warningMid: any;
66
66
  warningDark: any;
67
+ warningText: any;
67
68
  subjectEnglish: any;
68
69
  subjectMaths: any;
69
70
  subjectScience: any;
@@ -83,6 +84,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
83
84
  "7": any;
84
85
  "8": any;
85
86
  "9": any;
87
+ "10": any;
86
88
  };
87
89
  fontSizes: {
88
90
  xs: any;
@@ -334,6 +336,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
334
336
  warning: any;
335
337
  warningMid: any;
336
338
  warningDark: any;
339
+ warningText: any;
337
340
  subjectEnglish: any;
338
341
  subjectMaths: any;
339
342
  subjectScience: any;
@@ -353,6 +356,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
353
356
  "7": any;
354
357
  "8": any;
355
358
  "9": any;
359
+ "10": any;
356
360
  };
357
361
  fontSizes: {
358
362
  xs: any;