@atom-learning/components 2.0.0 → 2.2.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 (118) hide show
  1. package/CHANGELOG.md +0 -26
  2. package/dist/components/accordion/Accordion.d.ts +1 -0
  3. package/dist/components/accordion/AccordionContent.d.ts +1 -0
  4. package/dist/components/accordion/AccordionItem.d.ts +1 -0
  5. package/dist/components/accordion/AccordionTrigger.d.ts +1 -0
  6. package/dist/components/action-icon/ActionIcon.d.ts +1 -0
  7. package/dist/components/alert-dialog/AlertDialog.d.ts +1 -0
  8. package/dist/components/alert-dialog/AlertDialogContent.d.ts +1 -0
  9. package/dist/components/badge/Badge.d.ts +2 -0
  10. package/dist/components/box/Box.d.ts +1 -0
  11. package/dist/components/button/Button.d.ts +1 -0
  12. package/dist/components/calendar/Day.d.ts +1 -0
  13. package/dist/components/carousel/CarouselPagination.d.ts +1 -0
  14. package/dist/components/carousel/CarouselSlide.d.ts +1 -0
  15. package/dist/components/carousel/CarouselSlider.d.ts +1 -0
  16. package/dist/components/checkbox/Checkbox.d.ts +1 -0
  17. package/dist/components/combobox/Combobox.d.ts +1 -0
  18. package/dist/components/combobox/ComboboxInput.d.ts +1 -0
  19. package/dist/components/combobox/ComboboxList.d.ts +1 -0
  20. package/dist/components/combobox/ComboboxOption.d.ts +1 -0
  21. package/dist/components/combobox/ComboboxPopover.d.ts +1 -0
  22. package/dist/components/dialog/Dialog.d.ts +1 -0
  23. package/dist/components/dialog/DialogBackground.d.ts +2 -0
  24. package/dist/components/dialog/DialogClose.d.ts +1 -0
  25. package/dist/components/dialog/DialogContent.d.ts +1 -0
  26. package/dist/components/divider/Divider.d.ts +1 -0
  27. package/dist/components/dropdown-menu/DropdownMenu.d.ts +1 -0
  28. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +1 -0
  29. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +1 -0
  30. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +1 -0
  31. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +1 -0
  32. package/dist/components/empty-state/EmptyState.d.ts +2 -0
  33. package/dist/components/empty-state/EmptyStateBody.d.ts +2 -0
  34. package/dist/components/empty-state/EmptyStateImage.d.ts +2 -0
  35. package/dist/components/empty-state/EmptyStateTitle.d.ts +1 -0
  36. package/dist/components/field-wrapper/FieldWrapper.js +1 -1
  37. package/dist/components/field-wrapper/InlineFieldWrapper.js +1 -1
  38. package/dist/components/flex/Flex.d.ts +1 -0
  39. package/dist/components/form/Form.d.ts +1 -0
  40. package/dist/components/grid/Grid.d.ts +1 -0
  41. package/dist/components/heading/Heading.d.ts +1 -0
  42. package/dist/components/icon/Icon.d.ts +1 -0
  43. package/dist/components/image/Image.d.ts +1 -0
  44. package/dist/components/index.d.ts +2 -1
  45. package/dist/components/inline-message/InlineMessage.config.d.ts +5 -0
  46. package/dist/components/inline-message/InlineMessage.config.js +1 -0
  47. package/dist/components/inline-message/InlineMessage.d.ts +541 -0
  48. package/dist/components/inline-message/InlineMessage.js +1 -0
  49. package/dist/components/inline-message/InlineMessage.types.d.ts +1 -0
  50. package/dist/components/inline-message/index.d.ts +1 -0
  51. package/dist/components/input/Input.d.ts +1 -0
  52. package/dist/components/label/Label.d.ts +1 -0
  53. package/dist/components/link/Link.d.ts +1 -0
  54. package/dist/components/list/List.d.ts +2 -0
  55. package/dist/components/navigation/NavigationMenu.d.ts +15 -0
  56. package/dist/components/navigation/NavigationMenu.js +1 -0
  57. package/dist/components/navigation/NavigationMenuContext.d.ts +7 -0
  58. package/dist/components/navigation/NavigationMenuContext.js +1 -0
  59. package/dist/components/navigation/NavigationMenuDropdown.d.ts +7 -0
  60. package/dist/components/navigation/NavigationMenuDropdown.js +1 -0
  61. package/dist/components/navigation/NavigationMenuItem.d.ts +287 -0
  62. package/dist/components/navigation/NavigationMenuItem.js +1 -0
  63. package/dist/components/navigation/index.d.ts +1 -0
  64. package/dist/components/notification-badge/NotificationBadge.d.ts +2 -0
  65. package/dist/components/popover/Popover.d.ts +1 -0
  66. package/dist/components/popover/PopoverContent.d.ts +1 -0
  67. package/dist/components/progress-bar/ProgressBar.d.ts +1 -0
  68. package/dist/components/radio-button/RadioButton.d.ts +1 -0
  69. package/dist/components/radio-button/RadioButtonGroup.d.ts +1 -0
  70. package/dist/components/radio-button-field/RadioButtonField.js +1 -1
  71. package/dist/components/radio-card/RadioCard.d.ts +1 -0
  72. package/dist/components/select/Select.d.ts +1 -0
  73. package/dist/components/slider/Slider.d.ts +1 -0
  74. package/dist/components/stack/Stack.d.ts +1 -0
  75. package/dist/components/stack-content/StackContent.d.ts +1 -0
  76. package/dist/components/stepper/StepperStepBullet.d.ts +2 -0
  77. package/dist/components/stepper/StepperStepContainer.d.ts +2 -0
  78. package/dist/components/stepper/StepperStepLabel.d.ts +2 -0
  79. package/dist/components/switch/Switch.d.ts +1 -0
  80. package/dist/components/table/Table.d.ts +1 -0
  81. package/dist/components/table/TableBody.d.ts +1 -0
  82. package/dist/components/table/TableCell.d.ts +1 -0
  83. package/dist/components/table/TableFooter.d.ts +1 -0
  84. package/dist/components/table/TableFooterCell.d.ts +1 -0
  85. package/dist/components/table/TableHeader.d.ts +1 -0
  86. package/dist/components/table/TableHeaderCell.d.ts +1 -0
  87. package/dist/components/table/TableRow.d.ts +1 -0
  88. package/dist/components/tabs/TabTrigger.d.ts +1 -0
  89. package/dist/components/tabs/Tabs.d.ts +2 -0
  90. package/dist/components/tabs/TabsTriggerList.d.ts +1 -0
  91. package/dist/components/text/Text.d.ts +1 -0
  92. package/dist/components/textarea/Textarea.d.ts +1 -0
  93. package/dist/components/toast/Toast.d.ts +1 -0
  94. package/dist/components/toggle-group/ToggleGroupButton.d.ts +2 -0
  95. package/dist/components/toggle-group/ToggleGroupItem.d.ts +2 -0
  96. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +1 -0
  97. package/dist/components/toggle-group/index.d.ts +5 -0
  98. package/dist/components/tooltip/TooltipContent.d.ts +1 -0
  99. package/dist/components/video/Video.d.ts +2 -0
  100. package/dist/docgen.json +1 -1
  101. package/dist/docs/CheckboxField.mdx +1 -1
  102. package/dist/docs/DateField.mdx +2 -2
  103. package/dist/docs/FieldWrapper.mdx +1 -1
  104. package/dist/docs/Form.mdx +3 -3
  105. package/dist/docs/InlineMessage.mdx +52 -0
  106. package/dist/docs/InputField.mdx +2 -2
  107. package/dist/docs/NavigationMenu.mdx +113 -0
  108. package/dist/docs/RadioButtonField.mdx +2 -2
  109. package/dist/docs/SelectField.mdx +2 -2
  110. package/dist/docs/TextareaField.mdx +1 -1
  111. package/dist/index.cjs.js +1 -1
  112. package/dist/index.js +1 -1
  113. package/dist/stitches.d.ts +10 -0
  114. package/package.json +4 -2
  115. package/dist/components/validation-error/ValidationError.d.ts +0 -7
  116. package/dist/components/validation-error/ValidationError.js +0 -1
  117. package/dist/components/validation-error/index.d.ts +0 -1
  118. package/dist/docs/ValidationError.mdx +0 -12
@@ -0,0 +1,287 @@
1
+ import React from 'react';
2
+ import { CSS } from '../../stitches';
3
+ export declare const NavigationMenuDropdownTrigger: React.ForwardRefExoticComponent<{
4
+ active?: boolean | undefined;
5
+ } & {
6
+ children?: React.ReactNode;
7
+ } & React.RefAttributes<HTMLButtonElement>>;
8
+ export declare const NavigationMenuDropdownContent: import("@stitches/react/types/styled-component").StyledComponent<"ul", {}, {
9
+ sm: string;
10
+ md: string;
11
+ lg: string;
12
+ xl: string;
13
+ reducedMotion: string;
14
+ allowMotion: string;
15
+ hover: string;
16
+ }, import("@stitches/react/types/css-util").CSS<{
17
+ sm: string;
18
+ md: string;
19
+ lg: string;
20
+ xl: string;
21
+ reducedMotion: string;
22
+ allowMotion: string;
23
+ hover: string;
24
+ }, {
25
+ colors: {
26
+ textForeground: any;
27
+ textSubtle: any;
28
+ textPlaceholder: any;
29
+ background: any;
30
+ backgroundAccent: any;
31
+ tonal50: any;
32
+ tonal100: any;
33
+ tonal200: any;
34
+ tonal300: any;
35
+ tonal400: any;
36
+ tonal500: any;
37
+ tonal600: any;
38
+ alpha100: any;
39
+ alpha150: any;
40
+ alpha200: any;
41
+ alpha250: any;
42
+ alpha600: any;
43
+ primaryLight: any;
44
+ primary: any;
45
+ primaryMid: any;
46
+ primaryDark: any;
47
+ secondary: any;
48
+ brandRed: any;
49
+ brandRedAccent: any;
50
+ brandGreen: any;
51
+ brandGreenAccent: any;
52
+ brandPurple: any;
53
+ brandPurpleAccent: any;
54
+ brandYellow: any;
55
+ brandYellowAccent: any;
56
+ successLight: any;
57
+ success: any;
58
+ successMid: any;
59
+ successDark: any;
60
+ dangerLight: any;
61
+ danger: any;
62
+ dangerMid: any;
63
+ dangerDark: any;
64
+ warningLight: any;
65
+ warning: any;
66
+ warningMid: any;
67
+ warningDark: any;
68
+ warningText: any;
69
+ subjectEnglish: any;
70
+ subjectMaths: any;
71
+ subjectScience: any;
72
+ subjectVerbalReasoning: any;
73
+ subjectNonVerbalReasoning: any;
74
+ subjectCreativeWriting: any;
75
+ subjectExamSkills: any;
76
+ };
77
+ space: {
78
+ "0": any;
79
+ "1": any;
80
+ "2": any;
81
+ "3": any;
82
+ "4": any;
83
+ "5": any;
84
+ "6": any;
85
+ "7": any;
86
+ "8": any;
87
+ "9": any;
88
+ };
89
+ fontSizes: {
90
+ xs: any;
91
+ sm: any;
92
+ md: any;
93
+ lg: any;
94
+ xl: any;
95
+ "2xl": any;
96
+ "3xl": any;
97
+ "4xl": any;
98
+ };
99
+ fonts: {
100
+ sans: any;
101
+ mono: any;
102
+ display: any;
103
+ body: any;
104
+ };
105
+ sizes: {
106
+ "0": any;
107
+ "1": any;
108
+ "2": any;
109
+ "3": any;
110
+ "4": any;
111
+ "5": any;
112
+ "6": any;
113
+ "7": any;
114
+ "8": any;
115
+ };
116
+ radii: {
117
+ "0": any;
118
+ "1": any;
119
+ "2": any;
120
+ "3": any;
121
+ round: any;
122
+ };
123
+ shadows: {
124
+ "0": any;
125
+ "1": any;
126
+ "2": any;
127
+ "3": any;
128
+ };
129
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
130
+ bg: (value: {
131
+ readonly [$$PropertyValue]: "background";
132
+ }) => {
133
+ background: {
134
+ readonly [$$PropertyValue]: "background";
135
+ };
136
+ };
137
+ inset: (value: string | number | {
138
+ readonly [$$ScaleValue]: "space";
139
+ }) => {
140
+ top: string | number | {
141
+ readonly [$$ScaleValue]: "space";
142
+ };
143
+ right: string | number | {
144
+ readonly [$$ScaleValue]: "space";
145
+ };
146
+ bottom: string | number | {
147
+ readonly [$$ScaleValue]: "space";
148
+ };
149
+ left: string | number | {
150
+ readonly [$$ScaleValue]: "space";
151
+ };
152
+ };
153
+ size: (value: string | number | {
154
+ readonly [$$ScaleValue]: "size";
155
+ }) => {
156
+ height: string | number | {
157
+ readonly [$$ScaleValue]: "size";
158
+ };
159
+ width: string | number | {
160
+ readonly [$$ScaleValue]: "size";
161
+ };
162
+ };
163
+ p: (value: string | number | {
164
+ readonly [$$ScaleValue]: "space";
165
+ }) => {
166
+ padding: string | number | {
167
+ readonly [$$ScaleValue]: "space";
168
+ };
169
+ };
170
+ pt: (value: string | number | {
171
+ readonly [$$ScaleValue]: "space";
172
+ }) => {
173
+ paddingTop: string | number | {
174
+ readonly [$$ScaleValue]: "space";
175
+ };
176
+ };
177
+ pr: (value: string | number | {
178
+ readonly [$$ScaleValue]: "space";
179
+ }) => {
180
+ paddingRight: string | number | {
181
+ readonly [$$ScaleValue]: "space";
182
+ };
183
+ };
184
+ pb: (value: string | number | {
185
+ readonly [$$ScaleValue]: "space";
186
+ }) => {
187
+ paddingBottom: string | number | {
188
+ readonly [$$ScaleValue]: "space";
189
+ };
190
+ };
191
+ pl: (value: string | number | {
192
+ readonly [$$ScaleValue]: "space";
193
+ }) => {
194
+ paddingLeft: string | number | {
195
+ readonly [$$ScaleValue]: "space";
196
+ };
197
+ };
198
+ px: (value: string | number | {
199
+ readonly [$$ScaleValue]: "space";
200
+ }) => {
201
+ paddingLeft: string | number | {
202
+ readonly [$$ScaleValue]: "space";
203
+ };
204
+ paddingRight: string | number | {
205
+ readonly [$$ScaleValue]: "space";
206
+ };
207
+ };
208
+ py: (value: string | number | {
209
+ readonly [$$ScaleValue]: "space";
210
+ }) => {
211
+ paddingTop: string | number | {
212
+ readonly [$$ScaleValue]: "space";
213
+ };
214
+ paddingBottom: string | number | {
215
+ readonly [$$ScaleValue]: "space";
216
+ };
217
+ };
218
+ m: (value: string | number | {
219
+ readonly [$$ScaleValue]: "space";
220
+ }) => {
221
+ margin: string | number | {
222
+ readonly [$$ScaleValue]: "space";
223
+ };
224
+ };
225
+ mt: (value: string | number | {
226
+ readonly [$$ScaleValue]: "space";
227
+ }) => {
228
+ marginTop: string | number | {
229
+ readonly [$$ScaleValue]: "space";
230
+ };
231
+ };
232
+ mr: (value: string | number | {
233
+ readonly [$$ScaleValue]: "space";
234
+ }) => {
235
+ marginRight: string | number | {
236
+ readonly [$$ScaleValue]: "space";
237
+ };
238
+ };
239
+ mb: (value: string | number | {
240
+ readonly [$$ScaleValue]: "space";
241
+ }) => {
242
+ marginBottom: string | number | {
243
+ readonly [$$ScaleValue]: "space";
244
+ };
245
+ };
246
+ ml: (value: string | number | {
247
+ readonly [$$ScaleValue]: "space";
248
+ }) => {
249
+ marginLeft: string | number | {
250
+ readonly [$$ScaleValue]: "space";
251
+ };
252
+ };
253
+ mx: (value: string | number | {
254
+ readonly [$$ScaleValue]: "space";
255
+ }) => {
256
+ marginLeft: string | number | {
257
+ readonly [$$ScaleValue]: "space";
258
+ };
259
+ marginRight: string | number | {
260
+ readonly [$$ScaleValue]: "space";
261
+ };
262
+ };
263
+ my: (value: string | number | {
264
+ readonly [$$ScaleValue]: "space";
265
+ }) => {
266
+ marginTop: string | number | {
267
+ readonly [$$ScaleValue]: "space";
268
+ };
269
+ marginBottom: string | number | {
270
+ readonly [$$ScaleValue]: "space";
271
+ };
272
+ };
273
+ }>>;
274
+ declare type NavigationMenuLinkProps = {
275
+ href: string;
276
+ active?: boolean;
277
+ disabled?: boolean;
278
+ variant?: 'link' | 'dropdownItem';
279
+ css?: CSS;
280
+ };
281
+ export declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuLinkProps & {
282
+ children?: React.ReactNode;
283
+ } & React.RefAttributes<HTMLAnchorElement>>;
284
+ export declare const NavigationMenuDropdownItem: React.ForwardRefExoticComponent<NavigationMenuLinkProps & {
285
+ children?: React.ReactNode;
286
+ } & React.RefAttributes<HTMLAnchorElement>>;
287
+ export {};
@@ -0,0 +1 @@
1
+ import{ChevronDown as u}from"@atom-learning/icons";import*as d from"@radix-ui/react-navigation-menu";import e from"react";import{theme as b,styled as r}from"../../stitches.js";import{Icon as g}from"../icon/Icon.js";const s={fontWeight:"bold",color:"$tonal500","&::after":{backgroundColor:"$tonal500",borderRadius:"$1",bottom:0,content:"",display:"block",height:"2px",left:"50%",position:"absolute",transform:"translate(-50%,0)",width:"$2"}},c={background:"none",color:"$tonal400",opacity:"30%",cursor:"default"},i={all:"unset",position:"relative",color:"$tonal400",outline:"none",cursor:"pointer",fontFamily:"$body",userSelect:"none",padding:"$3",borderRadius:"$1","&:hover":{background:"$tonal50",color:"$tonal600"},"&:active":{background:"$tonal100",color:"$tonal600"},"&:focus-visible":{boxShadow:`0 0 0 2px ${b.colors.primary}`},"&:disabled":{...c}},v=r(d.Trigger,i,{display:"flex",alignItems:"center",borderRadius:"$1",justifyContent:"space-between",gap:"$1",'&[data-state="open"]':{background:"$tonal100"},variants:{active:{true:{...s}}}}),$=r(d.Link,i,{display:"block",textDecoration:"none",lineHeight:1,variants:{elementType:{dropdownItem:{"&[data-active]":{background:"$primaryLight",color:"$primary"}},link:{"&[data-active]":{...s}}}}}),h=e.forwardRef(({children:o,active:t,...a},n)=>e.createElement(v,{active:t,...a,ref:n},o,e.createElement(g,{is:u,css:{"[data-state=open] &":{transform:"rotate(-180deg)"},"@media (prefers-reduced-motion: no-preference)":{transition:"transform .2s ease"}},size:"sm"}))),y=r("ul",{all:"unset"}),k=r("li",{all:"unset"}),w=r("button",{...i,...c}),m=e.forwardRef(({children:o,href:t,disabled:a,css:n,variant:p="link",...l},f)=>a?e.createElement(w,{disabled:!0,...l},o):e.createElement(k,null,e.createElement($,{href:t,ref:f,elementType:p,css:n,...l},o))),x=e.forwardRef((o,t)=>e.createElement(m,{ref:t,variant:"dropdownItem",...o}));export{y as NavigationMenuDropdownContent,x as NavigationMenuDropdownItem,h as NavigationMenuDropdownTrigger,m as NavigationMenuLink};
@@ -0,0 +1 @@
1
+ export { NavigationMenu } from './NavigationMenu';
@@ -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;
@@ -323,6 +324,7 @@ declare const StyledBadge: import("@stitches/react/types/styled-component").Styl
323
324
  warning: any;
324
325
  warningMid: any;
325
326
  warningDark: any;
327
+ warningText: any;
326
328
  subjectEnglish: any;
327
329
  subjectMaths: any;
328
330
  subjectScience: 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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -1 +1 @@
1
- import*as e from"react";import{useFormContext as V,Controller as C}from"react-hook-form";import{Description as F}from"../field-wrapper/FieldDescription.js";import"../form/Form.js";import{useFieldError as b}from"../form/useFieldError.js";import{Label as g}from"../label/Label.js";import"../radio-button/RadioButton.js";import{RadioButtonGroup as h}from"../radio-button/RadioButtonGroup.js";import{ValidationError as v}from"../validation-error/ValidationError.js";import{styled as B}from"../../stitches.js";import{RadioField as R}from"./RadioField.js";const q=B("fieldset",{all:"unset"}),r=({children:d,css:u,direction:s="column",defaultValue:t,description:l,label:c,name:n,validation:o,onValueChange:a})=>{const{control:p}=V(),{error:i}=b(n);return e.createElement(q,{css:u},e.createElement(g,{as:"legend",css:{p:0,mb:"$3"},required:Boolean(o==null?void 0:o.required)},c),l&&e.createElement(F,{css:{mb:"$3"}},l),e.createElement(C,{control:p,name:n,rules:o,defaultValue:t,render:({onChange:f,value:E})=>e.createElement(h,{direction:s,defaultValue:t,onValueChange:m=>{f(m),a==null||a(m)},value:E},d)}),i&&e.createElement(v,{css:{mt:"$2"}},i))};r.Item=R,r.displayName="RadioButtonField";export{r as RadioButtonField};
1
+ import*as e from"react";import{useFormContext as g,Controller as C}from"react-hook-form";import{Description as F}from"../field-wrapper/FieldDescription.js";import"../form/Form.js";import{useFieldError as V}from"../form/useFieldError.js";import{Label as b}from"../label/Label.js";import"../radio-button/RadioButton.js";import{RadioButtonGroup as h}from"../radio-button/RadioButtonGroup.js";import{InlineMessage as v}from"../inline-message/InlineMessage.js";import{styled as B}from"../../stitches.js";import{RadioField as R}from"./RadioField.js";const q=B("fieldset",{all:"unset"}),r=({children:s,css:d,direction:u="column",defaultValue:t,description:l,label:c,name:n,validation:o,onValueChange:a})=>{const{control:p}=g(),{error:i}=V(n);return e.createElement(q,{css:d},e.createElement(b,{as:"legend",css:{p:0,mb:"$3"},required:Boolean(o==null?void 0:o.required)},c),l&&e.createElement(F,{css:{mb:"$3"}},l),e.createElement(C,{control:p,name:n,rules:o,defaultValue:t,render:({onChange:f,value:E})=>e.createElement(h,{direction:u,defaultValue:t,onValueChange:m=>{f(m),a==null||a(m)},value:E},s)}),i&&e.createElement(v,{css:{mt:"$2"}},i))};r.Item=R,r.displayName="RadioButtonField";export{r as RadioButtonField};
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -324,6 +325,7 @@ export declare const StepperStepBullet: import("@stitches/react/types/styled-com
324
325
  warning: any;
325
326
  warningMid: any;
326
327
  warningDark: any;
328
+ warningText: any;
327
329
  subjectEnglish: any;
328
330
  subjectMaths: any;
329
331
  subjectScience: 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;
@@ -326,6 +327,7 @@ export declare const StepperStepContainer: import("@stitches/react/types/styled-
326
327
  warning: any;
327
328
  warningMid: any;
328
329
  warningDark: any;
330
+ warningText: any;
329
331
  subjectEnglish: any;
330
332
  subjectMaths: any;
331
333
  subjectScience: 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;
@@ -334,6 +335,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
334
335
  warning: any;
335
336
  warningMid: any;
336
337
  warningDark: any;
338
+ warningText: any;
337
339
  subjectEnglish: any;
338
340
  subjectMaths: any;
339
341
  subjectScience: any;
@@ -60,6 +60,7 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
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;
@@ -78,6 +78,7 @@ declare const StyledTable: import("@stitches/react/types/styled-component").Styl
78
78
  warning: any;
79
79
  warningMid: any;
80
80
  warningDark: any;
81
+ warningText: any;
81
82
  subjectEnglish: any;
82
83
  subjectMaths: any;
83
84
  subjectScience: any;
@@ -61,6 +61,7 @@ declare const StyledTableBody: 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;
@@ -58,6 +58,7 @@ export declare const TableCell: import("@stitches/react/types/styled-component")
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;
@@ -58,6 +58,7 @@ export declare const TableFooter: import("@stitches/react/types/styled-component
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;
@@ -58,6 +58,7 @@ export declare const TableFooterCell: import("@stitches/react/types/styled-compo
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;
@@ -61,6 +61,7 @@ declare const StyledTableHeader: 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;
@@ -58,6 +58,7 @@ export declare const TableHeaderCell: import("@stitches/react/types/styled-compo
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;
@@ -58,6 +58,7 @@ export declare const TableRow: import("@stitches/react/types/styled-component").
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;
@@ -61,6 +61,7 @@ declare const StyledTabTrigger: 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;
@@ -64,6 +64,7 @@ declare const StyledRoot: import("@stitches/react/types/styled-component").Style
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;
@@ -331,6 +332,7 @@ declare const StyledTabContent: import("@stitches/react/types/styled-component")
331
332
  warning: any;
332
333
  warningMid: any;
333
334
  warningDark: any;
335
+ warningText: any;
334
336
  subjectEnglish: any;
335
337
  subjectMaths: any;
336
338
  subjectScience: any;
@@ -66,6 +66,7 @@ declare const StyledTriggerList: import("@stitches/react/types/styled-component"
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;
@@ -67,6 +67,7 @@ export declare const StyledText: import("@stitches/react/types/styled-component"
67
67
  warning: any;
68
68
  warningMid: any;
69
69
  warningDark: any;
70
+ warningText: any;
70
71
  subjectEnglish: any;
71
72
  subjectMaths: any;
72
73
  subjectScience: any;
@@ -61,6 +61,7 @@ declare const StyledTextarea: import("@stitches/react/types/styled-component").S
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;
@@ -63,6 +63,7 @@ declare const StyledToast: 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;
@@ -59,6 +59,7 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
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;
@@ -326,6 +327,7 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
326
327
  warning: any;
327
328
  warningMid: any;
328
329
  warningDark: any;
330
+ warningText: any;
329
331
  subjectEnglish: any;
330
332
  subjectMaths: any;
331
333
  subjectScience: any;
@@ -60,6 +60,7 @@ export declare const StyledItem: 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;
@@ -325,6 +326,7 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
325
326
  warning: any;
326
327
  warningMid: any;
327
328
  warningDark: any;
329
+ warningText: any;
328
330
  subjectEnglish: any;
329
331
  subjectMaths: any;
330
332
  subjectScience: any;
@@ -70,6 +70,7 @@ export declare const StyledRoot: import("@stitches/react/types/styled-component"
70
70
  warning: any;
71
71
  warningMid: any;
72
72
  warningDark: any;
73
+ warningText: any;
73
74
  subjectEnglish: any;
74
75
  subjectMaths: any;
75
76
  subjectScience: any;