@atom-learning/components 5.5.0-beta.1 → 5.6.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 +207 -0
- package/dist/components/accordion/Accordion.d.ts +5 -0
- package/dist/components/accordion/AccordionContent.d.ts +5 -0
- package/dist/components/accordion/AccordionItem.d.ts +5 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +5 -0
- package/dist/components/action-icon/ActionIcon.d.ts +6 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +10 -0
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +5 -0
- package/dist/components/avatar/Avatar.d.ts +10 -0
- package/dist/components/badge/Badge.d.ts +30 -0
- package/dist/components/badge/BadgeIcon.d.ts +10 -0
- package/dist/components/badge/BadgeText.d.ts +10 -0
- package/dist/components/banner/Banner.d.ts +2 -2
- package/dist/components/banner/BannerContainer.d.ts +10 -0
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +489 -102
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +10 -0
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +13 -3
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +501 -114
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +5 -0
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +10 -0
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +13 -3
- package/dist/components/box/Box.d.ts +5 -0
- package/dist/components/button/Button.d.ts +6 -1
- package/dist/components/calendar/Day.d.ts +5 -0
- package/dist/components/carousel/Carousel.d.ts +15 -0
- package/dist/components/carousel/CarouselPagination.d.ts +5 -0
- package/dist/components/carousel/CarouselSlide.d.ts +5 -0
- package/dist/components/carousel/CarouselSlider.d.ts +5 -0
- package/dist/components/checkbox/Checkbox.d.ts +5 -0
- 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 +105 -90
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +364 -344
- package/dist/components/chip/Chip.d.ts +35 -0
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +15 -0
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +15 -0
- package/dist/components/combobox/Combobox.d.ts +25 -0
- package/dist/components/combobox/ComboboxInput.d.ts +5 -0
- package/dist/components/combobox/ComboboxList.d.ts +5 -0
- package/dist/components/combobox/ComboboxOption.d.ts +5 -0
- package/dist/components/combobox/ComboboxPopover.d.ts +5 -0
- 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 +153 -110
- package/dist/components/data-table/DataTableLoading.d.ts +5 -0
- package/dist/components/data-table/pagination/Pagination.d.ts +5 -0
- 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/dialog/Dialog.d.ts +27 -2
- package/dist/components/dialog/DialogBackground.d.ts +10 -0
- package/dist/components/dialog/DialogClose.d.ts +5 -0
- package/dist/components/dialog/DialogContent.d.ts +5 -0
- package/dist/components/dismissible/index.d.ts +2 -2
- package/dist/components/dismissible-group/index.d.ts +3 -3
- package/dist/components/divider/Divider.d.ts +5 -0
- package/dist/components/drawer/Drawer.d.ts +20 -0
- package/dist/components/drawer/DrawerContent.d.ts +5 -0
- package/dist/components/drawer/DrawerFooter.d.ts +5 -0
- package/dist/components/drawer/DrawerHeader.d.ts +5 -0
- package/dist/components/drawer/DrawerMain.d.ts +5 -0
- package/dist/components/drawer/DrawerOverlay.d.ts +5 -0
- package/dist/components/drawer/DrawerTrigger.d.ts +5 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +25 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +5 -0
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +5 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +5 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +5 -0
- package/dist/components/empty-state/EmptyState.d.ts +35 -0
- package/dist/components/empty-state/EmptyStateBody.d.ts +10 -0
- package/dist/components/empty-state/EmptyStateImage.d.ts +10 -0
- package/dist/components/empty-state/EmptyStateTitle.d.ts +5 -0
- package/dist/components/field-wrapper/FieldWrapper.d.ts +1 -3
- package/dist/components/field-wrapper/FieldWrapper.js +1 -1
- package/dist/components/field-wrapper/FieldWrapper.js.map +1 -1
- package/dist/components/flex/Flex.d.ts +5 -0
- package/dist/components/form/Form.d.ts +7 -3
- package/dist/components/form/Form.js +1 -1
- package/dist/components/form/Form.js.map +1 -1
- package/dist/components/form/index.d.ts +0 -1
- package/dist/components/grid/Grid.d.ts +5 -0
- package/dist/components/heading/Heading.d.ts +5 -1
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.d.ts +5 -0
- package/dist/components/image/Image.d.ts +5 -0
- package/dist/components/inline-message/InlineMessage.d.ts +10 -0
- package/dist/components/input/Input.d.ts +16 -3
- 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/keyboard-shortcut/KeyboardShortcut.d.ts +10 -0
- package/dist/components/keyboard-shortcut/index.d.ts +17 -2
- package/dist/components/label/Label.d.ts +6 -2
- package/dist/components/label/Label.js +1 -1
- package/dist/components/label/Label.js.map +1 -1
- package/dist/components/link/Link.d.ts +5 -0
- package/dist/components/list/List.d.ts +10 -0
- package/dist/components/markdown-content/MarkdownContent.d.ts +10 -0
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +5 -0
- package/dist/components/navigation/NavigationMenu.d.ts +45 -0
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +5 -0
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +10 -0
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +5 -0
- package/dist/components/navigation/NavigationMenuLink.d.ts +5 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +217 -162
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +5 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +5 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +10 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +5 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +5 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +5 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +10 -0
- package/dist/components/number-input/NumberInput.d.ts +1 -2
- 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 +1 -756
- 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 +13 -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 +13 -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/popover/Popover.d.ts +10 -0
- package/dist/components/popover/PopoverContent.d.ts +5 -0
- package/dist/components/progress-bar/ProgressBar.d.ts +5 -0
- package/dist/components/radio-button/RadioButton.d.ts +5 -0
- package/dist/components/radio-button/RadioButtonGroup.d.ts +5 -0
- package/dist/components/radio-button-field/RadioButtonField.d.ts +5 -0
- package/dist/components/radio-button-field/RadioButtonField.js +1 -1
- package/dist/components/radio-button-field/RadioButtonField.js.map +1 -1
- package/dist/components/radio-card/RadioCard.d.ts +5 -0
- 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 +11 -1
- package/dist/components/segmented-control/SegmentedControl.d.ts +49 -9
- package/dist/components/segmented-control/SegmentedControlContent.d.ts +5 -0
- package/dist/components/segmented-control/SegmentedControlDescription.d.ts +10 -0
- package/dist/components/segmented-control/SegmentedControlHeading.d.ts +10 -0
- package/dist/components/segmented-control/SegmentedControlItem.d.ts +10 -0
- package/dist/components/segmented-control/SegmentedControlRoot.d.ts +25 -0
- package/dist/components/select/Select.d.ts +5 -1
- 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/side-bar/SideBar.d.ts +40 -0
- package/dist/components/side-bar/SideBarComponents.d.ts +36 -1
- package/dist/components/slider/Slider.d.ts +5 -0
- package/dist/components/sortable/Handle.d.ts +13 -3
- package/dist/components/sortable/index.d.ts +3 -3
- package/dist/components/spacer/Spacer.d.ts +5 -0
- package/dist/components/stepper/StepperStepBullet.d.ts +10 -0
- package/dist/components/stepper/StepperStepContainer.d.ts +10 -0
- package/dist/components/stepper/StepperStepLabel.d.ts +11 -1
- package/dist/components/switch/Switch.d.ts +5 -0
- package/dist/components/table/Table.d.ts +40 -0
- package/dist/components/table/TableBody.d.ts +5 -0
- package/dist/components/table/TableCell.d.ts +5 -0
- package/dist/components/table/TableFooter.d.ts +5 -0
- package/dist/components/table/TableFooterCell.d.ts +5 -0
- package/dist/components/table/TableHeader.d.ts +5 -0
- package/dist/components/table/TableHeaderCell.d.ts +5 -0
- package/dist/components/table/TableRow.d.ts +5 -0
- package/dist/components/tabs/Tabs.d.ts +20 -0
- package/dist/components/tabs/TabsContent.d.ts +5 -0
- package/dist/components/tabs/TabsTrigger.d.ts +5 -0
- package/dist/components/tabs/TabsTriggerList.d.ts +5 -0
- package/dist/components/text/Text.d.ts +5 -0
- package/dist/components/textarea/Textarea.d.ts +5 -1
- 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 +5 -1
- package/dist/components/tile/Tile.js +1 -1
- package/dist/components/tile/Tile.js.map +1 -1
- package/dist/components/tile/TileGroup.d.ts +5 -0
- package/dist/components/tile-interactive/TileInteractive.d.ts +11 -2
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +16 -2
- package/dist/components/toast/Toast.d.ts +10 -0
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +10 -0
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +10 -0
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +5 -0
- package/dist/components/toggle-group/index.d.ts +32 -2
- package/dist/components/tooltip/Tooltip.d.ts +10 -0
- package/dist/components/tooltip/TooltipContent.d.ts +5 -0
- package/dist/components/top-bar/TopBar.d.ts +29 -5
- package/dist/components/top-bar/TopBar.js +1 -1
- package/dist/components/top-bar/TopBar.js.map +1 -1
- package/dist/components/top-bar/TopBarBrand.d.ts +15 -0
- package/dist/components/tree/Tree.d.ts +303 -243
- package/dist/components/tree/TreeCollapsible.d.ts +5 -0
- package/dist/components/tree/TreeCollapsibleContent.d.ts +5 -0
- package/dist/components/tree/TreeIcon.d.ts +10 -0
- package/dist/components/tree/TreeItemContent.d.ts +5 -0
- package/dist/components/tree/TreeListItem.d.ts +5 -0
- package/dist/components/video/Video.d.ts +5 -0
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +5 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/stitches.d.ts +55 -0
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +10 -0
- package/package.json +3 -3
- package/dist/components/form/useFormCustomContext.d.ts +0 -7
- package/dist/components/form/useFormCustomContext.js +0 -2
- package/dist/components/form/useFormCustomContext.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { Icon } from '../icon';
|
|
|
3
3
|
export declare const StyledHandle: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
5
5
|
}, "appearance" | "size" | "css" | "theme" | "isRounded"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
|
|
6
|
-
theme?: "success" | "danger" | "warning" | "
|
|
6
|
+
theme?: "success" | "danger" | "warning" | "primary" | "neutral" | undefined;
|
|
7
7
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
8
8
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
9
9
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -241,6 +241,11 @@ export declare const StyledHandle: import("@atom-learning/stitches-react/types/s
|
|
|
241
241
|
subjectNonVerbalReasoning: string;
|
|
242
242
|
subjectCreativeWriting: string;
|
|
243
243
|
subjectExamSkills: string;
|
|
244
|
+
subjectGcseEnglishLiterature: string;
|
|
245
|
+
subjectGcseMaths: string;
|
|
246
|
+
subjectGcseChemistry: string;
|
|
247
|
+
subjectGcsePhysics: string;
|
|
248
|
+
subjectGcseBiology: string;
|
|
244
249
|
glBlueLight: string;
|
|
245
250
|
glBluePrimary: string;
|
|
246
251
|
glBlueDark: string;
|
|
@@ -372,8 +377,8 @@ export declare const StyledHandle: import("@atom-learning/stitches-react/types/s
|
|
|
372
377
|
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
373
378
|
};
|
|
374
379
|
}> | undefined;
|
|
375
|
-
}, "appearance" | "size" | "theme" | "label" | "children" | "as" |
|
|
376
|
-
theme?: "success" | "danger" | "warning" | "
|
|
380
|
+
}, "appearance" | "size" | "theme" | "label" | "children" | "as" | "hasTooltip" | "tooltipSide" | "isRounded" | keyof import("../../types").NavigatorActions> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
|
|
381
|
+
theme?: "success" | "danger" | "warning" | "primary" | "neutral" | undefined;
|
|
377
382
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
378
383
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
379
384
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -624,6 +629,11 @@ export declare const StyledHandle: import("@atom-learning/stitches-react/types/s
|
|
|
624
629
|
subjectNonVerbalReasoning: string;
|
|
625
630
|
subjectCreativeWriting: string;
|
|
626
631
|
subjectExamSkills: string;
|
|
632
|
+
subjectGcseEnglishLiterature: string;
|
|
633
|
+
subjectGcseMaths: string;
|
|
634
|
+
subjectGcseChemistry: string;
|
|
635
|
+
subjectGcsePhysics: string;
|
|
636
|
+
subjectGcseBiology: string;
|
|
627
637
|
glBlueLight: string;
|
|
628
638
|
glBluePrimary: string;
|
|
629
639
|
glBlueDark: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const Sortable: {
|
|
2
2
|
Root: {
|
|
3
|
-
({ sortableIds, onSortChange, children }:
|
|
4
|
-
sortableIds:
|
|
3
|
+
({ sortableIds, onSortChange, children }: import("react").PropsWithChildren<{
|
|
4
|
+
sortableIds: import("react").ReactText[];
|
|
5
5
|
onSortChange: (onSortChangeData: {
|
|
6
6
|
order: import("@dnd-kit/core").UniqueIdentifier[];
|
|
7
7
|
oldIndex: number;
|
|
@@ -11,7 +11,7 @@ export declare const Sortable: {
|
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
Item: {
|
|
14
|
-
({ id, asChild, css, isDragHandle, disabled, ...rest }:
|
|
14
|
+
({ id, asChild, css, isDragHandle, disabled, ...rest }: import("react").PropsWithChildren<import("./SortableItem").TSortableItemProps>): import("react").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
Handle: {
|
|
@@ -235,6 +235,11 @@ export declare const Spacer: import("@atom-learning/stitches-react/types/styled-
|
|
|
235
235
|
subjectNonVerbalReasoning: string;
|
|
236
236
|
subjectCreativeWriting: string;
|
|
237
237
|
subjectExamSkills: string;
|
|
238
|
+
subjectGcseEnglishLiterature: string;
|
|
239
|
+
subjectGcseMaths: string;
|
|
240
|
+
subjectGcseChemistry: string;
|
|
241
|
+
subjectGcsePhysics: string;
|
|
242
|
+
subjectGcseBiology: string;
|
|
238
243
|
glBlueLight: string;
|
|
239
244
|
glBluePrimary: string;
|
|
240
245
|
glBlueDark: string;
|
|
@@ -237,6 +237,11 @@ export declare const StepperStepBullet: import("@atom-learning/stitches-react/ty
|
|
|
237
237
|
subjectNonVerbalReasoning: string;
|
|
238
238
|
subjectCreativeWriting: string;
|
|
239
239
|
subjectExamSkills: string;
|
|
240
|
+
subjectGcseEnglishLiterature: string;
|
|
241
|
+
subjectGcseMaths: string;
|
|
242
|
+
subjectGcseChemistry: string;
|
|
243
|
+
subjectGcsePhysics: string;
|
|
244
|
+
subjectGcseBiology: string;
|
|
240
245
|
glBlueLight: string;
|
|
241
246
|
glBluePrimary: string;
|
|
242
247
|
glBlueDark: string;
|
|
@@ -602,6 +607,11 @@ export declare const StepperStepBullet: import("@atom-learning/stitches-react/ty
|
|
|
602
607
|
subjectNonVerbalReasoning: string;
|
|
603
608
|
subjectCreativeWriting: string;
|
|
604
609
|
subjectExamSkills: string;
|
|
610
|
+
subjectGcseEnglishLiterature: string;
|
|
611
|
+
subjectGcseMaths: string;
|
|
612
|
+
subjectGcseChemistry: string;
|
|
613
|
+
subjectGcsePhysics: string;
|
|
614
|
+
subjectGcseBiology: string;
|
|
605
615
|
glBlueLight: string;
|
|
606
616
|
glBluePrimary: string;
|
|
607
617
|
glBlueDark: string;
|
|
@@ -237,6 +237,11 @@ export declare const StepperStepContainer: import("@atom-learning/stitches-react
|
|
|
237
237
|
subjectNonVerbalReasoning: string;
|
|
238
238
|
subjectCreativeWriting: string;
|
|
239
239
|
subjectExamSkills: string;
|
|
240
|
+
subjectGcseEnglishLiterature: string;
|
|
241
|
+
subjectGcseMaths: string;
|
|
242
|
+
subjectGcseChemistry: string;
|
|
243
|
+
subjectGcsePhysics: string;
|
|
244
|
+
subjectGcseBiology: string;
|
|
240
245
|
glBlueLight: string;
|
|
241
246
|
glBluePrimary: string;
|
|
242
247
|
glBlueDark: string;
|
|
@@ -605,6 +610,11 @@ export declare const StepperStepContainer: import("@atom-learning/stitches-react
|
|
|
605
610
|
subjectNonVerbalReasoning: string;
|
|
606
611
|
subjectCreativeWriting: string;
|
|
607
612
|
subjectExamSkills: string;
|
|
613
|
+
subjectGcseEnglishLiterature: string;
|
|
614
|
+
subjectGcseMaths: string;
|
|
615
|
+
subjectGcseChemistry: string;
|
|
616
|
+
subjectGcsePhysics: string;
|
|
617
|
+
subjectGcseBiology: string;
|
|
608
618
|
glBlueLight: string;
|
|
609
619
|
glBluePrimary: string;
|
|
610
620
|
glBlueDark: string;
|
|
@@ -239,6 +239,11 @@ export declare const StepperStepLabel: import("@atom-learning/stitches-react/typ
|
|
|
239
239
|
subjectNonVerbalReasoning: string;
|
|
240
240
|
subjectCreativeWriting: string;
|
|
241
241
|
subjectExamSkills: string;
|
|
242
|
+
subjectGcseEnglishLiterature: string;
|
|
243
|
+
subjectGcseMaths: string;
|
|
244
|
+
subjectGcseChemistry: string;
|
|
245
|
+
subjectGcsePhysics: string;
|
|
246
|
+
subjectGcseBiology: string;
|
|
242
247
|
glBlueLight: string;
|
|
243
248
|
glBluePrimary: string;
|
|
244
249
|
glBlueDark: string;
|
|
@@ -371,7 +376,7 @@ export declare const StepperStepLabel: import("@atom-learning/stitches-react/typ
|
|
|
371
376
|
};
|
|
372
377
|
}> | undefined;
|
|
373
378
|
}, "as"> & {
|
|
374
|
-
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" |
|
|
379
|
+
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" | import("react").ComponentType | import("react").ElementType;
|
|
375
380
|
}>, {
|
|
376
381
|
direction?: "horizontal" | "vertical" | undefined;
|
|
377
382
|
status?: "success" | "default" | "active" | "viewed" | "completed" | "reviewed" | undefined;
|
|
@@ -608,6 +613,11 @@ export declare const StepperStepLabel: import("@atom-learning/stitches-react/typ
|
|
|
608
613
|
subjectNonVerbalReasoning: string;
|
|
609
614
|
subjectCreativeWriting: string;
|
|
610
615
|
subjectExamSkills: string;
|
|
616
|
+
subjectGcseEnglishLiterature: string;
|
|
617
|
+
subjectGcseMaths: string;
|
|
618
|
+
subjectGcseChemistry: string;
|
|
619
|
+
subjectGcsePhysics: string;
|
|
620
|
+
subjectGcseBiology: string;
|
|
611
621
|
glBlueLight: string;
|
|
612
622
|
glBluePrimary: string;
|
|
613
623
|
glBlueDark: string;
|
|
@@ -235,6 +235,11 @@ declare const StyledSwitch: import("@atom-learning/stitches-react/types/styled-c
|
|
|
235
235
|
subjectNonVerbalReasoning: string;
|
|
236
236
|
subjectCreativeWriting: string;
|
|
237
237
|
subjectExamSkills: string;
|
|
238
|
+
subjectGcseEnglishLiterature: string;
|
|
239
|
+
subjectGcseMaths: string;
|
|
240
|
+
subjectGcseChemistry: string;
|
|
241
|
+
subjectGcsePhysics: string;
|
|
242
|
+
subjectGcseBiology: string;
|
|
238
243
|
glBlueLight: string;
|
|
239
244
|
glBluePrimary: string;
|
|
240
245
|
glBlueDark: string;
|
|
@@ -236,6 +236,11 @@ declare const StyledTable: import("@atom-learning/stitches-react/types/styled-co
|
|
|
236
236
|
subjectNonVerbalReasoning: string;
|
|
237
237
|
subjectCreativeWriting: string;
|
|
238
238
|
subjectExamSkills: string;
|
|
239
|
+
subjectGcseEnglishLiterature: string;
|
|
240
|
+
subjectGcseMaths: string;
|
|
241
|
+
subjectGcseChemistry: string;
|
|
242
|
+
subjectGcsePhysics: string;
|
|
243
|
+
subjectGcseBiology: string;
|
|
239
244
|
glBlueLight: string;
|
|
240
245
|
glBluePrimary: string;
|
|
241
246
|
glBlueDark: string;
|
|
@@ -616,6 +621,11 @@ export declare const Table: {
|
|
|
616
621
|
subjectNonVerbalReasoning: string;
|
|
617
622
|
subjectCreativeWriting: string;
|
|
618
623
|
subjectExamSkills: string;
|
|
624
|
+
subjectGcseEnglishLiterature: string;
|
|
625
|
+
subjectGcseMaths: string;
|
|
626
|
+
subjectGcseChemistry: string;
|
|
627
|
+
subjectGcsePhysics: string;
|
|
628
|
+
subjectGcseBiology: string;
|
|
619
629
|
glBlueLight: string;
|
|
620
630
|
glBluePrimary: string;
|
|
621
631
|
glBlueDark: string;
|
|
@@ -983,6 +993,11 @@ export declare const Table: {
|
|
|
983
993
|
subjectNonVerbalReasoning: string;
|
|
984
994
|
subjectCreativeWriting: string;
|
|
985
995
|
subjectExamSkills: string;
|
|
996
|
+
subjectGcseEnglishLiterature: string;
|
|
997
|
+
subjectGcseMaths: string;
|
|
998
|
+
subjectGcseChemistry: string;
|
|
999
|
+
subjectGcsePhysics: string;
|
|
1000
|
+
subjectGcseBiology: string;
|
|
986
1001
|
glBlueLight: string;
|
|
987
1002
|
glBluePrimary: string;
|
|
988
1003
|
glBlueDark: string;
|
|
@@ -1347,6 +1362,11 @@ export declare const Table: {
|
|
|
1347
1362
|
subjectNonVerbalReasoning: string;
|
|
1348
1363
|
subjectCreativeWriting: string;
|
|
1349
1364
|
subjectExamSkills: string;
|
|
1365
|
+
subjectGcseEnglishLiterature: string;
|
|
1366
|
+
subjectGcseMaths: string;
|
|
1367
|
+
subjectGcseChemistry: string;
|
|
1368
|
+
subjectGcsePhysics: string;
|
|
1369
|
+
subjectGcseBiology: string;
|
|
1350
1370
|
glBlueLight: string;
|
|
1351
1371
|
glBluePrimary: string;
|
|
1352
1372
|
glBlueDark: string;
|
|
@@ -1711,6 +1731,11 @@ export declare const Table: {
|
|
|
1711
1731
|
subjectNonVerbalReasoning: string;
|
|
1712
1732
|
subjectCreativeWriting: string;
|
|
1713
1733
|
subjectExamSkills: string;
|
|
1734
|
+
subjectGcseEnglishLiterature: string;
|
|
1735
|
+
subjectGcseMaths: string;
|
|
1736
|
+
subjectGcseChemistry: string;
|
|
1737
|
+
subjectGcsePhysics: string;
|
|
1738
|
+
subjectGcseBiology: string;
|
|
1714
1739
|
glBlueLight: string;
|
|
1715
1740
|
glBluePrimary: string;
|
|
1716
1741
|
glBlueDark: string;
|
|
@@ -2082,6 +2107,11 @@ export declare const Table: {
|
|
|
2082
2107
|
subjectNonVerbalReasoning: string;
|
|
2083
2108
|
subjectCreativeWriting: string;
|
|
2084
2109
|
subjectExamSkills: string;
|
|
2110
|
+
subjectGcseEnglishLiterature: string;
|
|
2111
|
+
subjectGcseMaths: string;
|
|
2112
|
+
subjectGcseChemistry: string;
|
|
2113
|
+
subjectGcsePhysics: string;
|
|
2114
|
+
subjectGcseBiology: string;
|
|
2085
2115
|
glBlueLight: string;
|
|
2086
2116
|
glBluePrimary: string;
|
|
2087
2117
|
glBlueDark: string;
|
|
@@ -2449,6 +2479,11 @@ export declare const Table: {
|
|
|
2449
2479
|
subjectNonVerbalReasoning: string;
|
|
2450
2480
|
subjectCreativeWriting: string;
|
|
2451
2481
|
subjectExamSkills: string;
|
|
2482
|
+
subjectGcseEnglishLiterature: string;
|
|
2483
|
+
subjectGcseMaths: string;
|
|
2484
|
+
subjectGcseChemistry: string;
|
|
2485
|
+
subjectGcsePhysics: string;
|
|
2486
|
+
subjectGcseBiology: string;
|
|
2452
2487
|
glBlueLight: string;
|
|
2453
2488
|
glBluePrimary: string;
|
|
2454
2489
|
glBlueDark: string;
|
|
@@ -2816,6 +2851,11 @@ export declare const Table: {
|
|
|
2816
2851
|
subjectNonVerbalReasoning: string;
|
|
2817
2852
|
subjectCreativeWriting: string;
|
|
2818
2853
|
subjectExamSkills: string;
|
|
2854
|
+
subjectGcseEnglishLiterature: string;
|
|
2855
|
+
subjectGcseMaths: string;
|
|
2856
|
+
subjectGcseChemistry: string;
|
|
2857
|
+
subjectGcsePhysics: string;
|
|
2858
|
+
subjectGcseBiology: string;
|
|
2819
2859
|
glBlueLight: string;
|
|
2820
2860
|
glBluePrimary: string;
|
|
2821
2861
|
glBlueDark: string;
|
|
@@ -234,6 +234,11 @@ declare const StyledTableBody: import("@atom-learning/stitches-react/types/style
|
|
|
234
234
|
subjectNonVerbalReasoning: string;
|
|
235
235
|
subjectCreativeWriting: string;
|
|
236
236
|
subjectExamSkills: string;
|
|
237
|
+
subjectGcseEnglishLiterature: string;
|
|
238
|
+
subjectGcseMaths: string;
|
|
239
|
+
subjectGcseChemistry: string;
|
|
240
|
+
subjectGcsePhysics: string;
|
|
241
|
+
subjectGcseBiology: string;
|
|
237
242
|
glBlueLight: string;
|
|
238
243
|
glBluePrimary: string;
|
|
239
244
|
glBlueDark: string;
|
|
@@ -231,6 +231,11 @@ export declare const TableCell: import("@atom-learning/stitches-react/types/styl
|
|
|
231
231
|
subjectNonVerbalReasoning: string;
|
|
232
232
|
subjectCreativeWriting: string;
|
|
233
233
|
subjectExamSkills: string;
|
|
234
|
+
subjectGcseEnglishLiterature: string;
|
|
235
|
+
subjectGcseMaths: string;
|
|
236
|
+
subjectGcseChemistry: string;
|
|
237
|
+
subjectGcsePhysics: string;
|
|
238
|
+
subjectGcseBiology: string;
|
|
234
239
|
glBlueLight: string;
|
|
235
240
|
glBluePrimary: string;
|
|
236
241
|
glBlueDark: string;
|
|
@@ -231,6 +231,11 @@ export declare const TableFooter: import("@atom-learning/stitches-react/types/st
|
|
|
231
231
|
subjectNonVerbalReasoning: string;
|
|
232
232
|
subjectCreativeWriting: string;
|
|
233
233
|
subjectExamSkills: string;
|
|
234
|
+
subjectGcseEnglishLiterature: string;
|
|
235
|
+
subjectGcseMaths: string;
|
|
236
|
+
subjectGcseChemistry: string;
|
|
237
|
+
subjectGcsePhysics: string;
|
|
238
|
+
subjectGcseBiology: string;
|
|
234
239
|
glBlueLight: string;
|
|
235
240
|
glBluePrimary: string;
|
|
236
241
|
glBlueDark: string;
|
|
@@ -231,6 +231,11 @@ export declare const TableFooterCell: import("@atom-learning/stitches-react/type
|
|
|
231
231
|
subjectNonVerbalReasoning: string;
|
|
232
232
|
subjectCreativeWriting: string;
|
|
233
233
|
subjectExamSkills: string;
|
|
234
|
+
subjectGcseEnglishLiterature: string;
|
|
235
|
+
subjectGcseMaths: string;
|
|
236
|
+
subjectGcseChemistry: string;
|
|
237
|
+
subjectGcsePhysics: string;
|
|
238
|
+
subjectGcseBiology: string;
|
|
234
239
|
glBlueLight: string;
|
|
235
240
|
glBluePrimary: string;
|
|
236
241
|
glBlueDark: string;
|
|
@@ -242,6 +242,11 @@ declare const StyledTableHeader: import("@atom-learning/stitches-react/types/sty
|
|
|
242
242
|
subjectNonVerbalReasoning: string;
|
|
243
243
|
subjectCreativeWriting: string;
|
|
244
244
|
subjectExamSkills: string;
|
|
245
|
+
subjectGcseEnglishLiterature: string;
|
|
246
|
+
subjectGcseMaths: string;
|
|
247
|
+
subjectGcseChemistry: string;
|
|
248
|
+
subjectGcsePhysics: string;
|
|
249
|
+
subjectGcseBiology: string;
|
|
245
250
|
glBlueLight: string;
|
|
246
251
|
glBluePrimary: string;
|
|
247
252
|
glBlueDark: string;
|
|
@@ -231,6 +231,11 @@ export declare const TableHeaderCell: import("@atom-learning/stitches-react/type
|
|
|
231
231
|
subjectNonVerbalReasoning: string;
|
|
232
232
|
subjectCreativeWriting: string;
|
|
233
233
|
subjectExamSkills: string;
|
|
234
|
+
subjectGcseEnglishLiterature: string;
|
|
235
|
+
subjectGcseMaths: string;
|
|
236
|
+
subjectGcseChemistry: string;
|
|
237
|
+
subjectGcsePhysics: string;
|
|
238
|
+
subjectGcseBiology: string;
|
|
234
239
|
glBlueLight: string;
|
|
235
240
|
glBluePrimary: string;
|
|
236
241
|
glBlueDark: string;
|
|
@@ -232,6 +232,11 @@ export declare const StyledRow: import("@atom-learning/stitches-react/types/styl
|
|
|
232
232
|
subjectNonVerbalReasoning: string;
|
|
233
233
|
subjectCreativeWriting: string;
|
|
234
234
|
subjectExamSkills: string;
|
|
235
|
+
subjectGcseEnglishLiterature: string;
|
|
236
|
+
subjectGcseMaths: string;
|
|
237
|
+
subjectGcseChemistry: string;
|
|
238
|
+
subjectGcsePhysics: string;
|
|
239
|
+
subjectGcseBiology: string;
|
|
235
240
|
glBlueLight: string;
|
|
236
241
|
glBluePrimary: string;
|
|
237
242
|
glBlueDark: string;
|
|
@@ -232,6 +232,11 @@ export declare const Tabs: import("@atom-learning/stitches-react/types/styled-co
|
|
|
232
232
|
subjectNonVerbalReasoning: string;
|
|
233
233
|
subjectCreativeWriting: string;
|
|
234
234
|
subjectExamSkills: string;
|
|
235
|
+
subjectGcseEnglishLiterature: string;
|
|
236
|
+
subjectGcseMaths: string;
|
|
237
|
+
subjectGcseChemistry: string;
|
|
238
|
+
subjectGcsePhysics: string;
|
|
239
|
+
subjectGcseBiology: string;
|
|
235
240
|
glBlueLight: string;
|
|
236
241
|
glBluePrimary: string;
|
|
237
242
|
glBlueDark: string;
|
|
@@ -597,6 +602,11 @@ export declare const Tabs: import("@atom-learning/stitches-react/types/styled-co
|
|
|
597
602
|
subjectNonVerbalReasoning: string;
|
|
598
603
|
subjectCreativeWriting: string;
|
|
599
604
|
subjectExamSkills: string;
|
|
605
|
+
subjectGcseEnglishLiterature: string;
|
|
606
|
+
subjectGcseMaths: string;
|
|
607
|
+
subjectGcseChemistry: string;
|
|
608
|
+
subjectGcsePhysics: string;
|
|
609
|
+
subjectGcseBiology: string;
|
|
600
610
|
glBlueLight: string;
|
|
601
611
|
glBluePrimary: string;
|
|
602
612
|
glBlueDark: string;
|
|
@@ -966,6 +976,11 @@ export declare const Tabs: import("@atom-learning/stitches-react/types/styled-co
|
|
|
966
976
|
subjectNonVerbalReasoning: string;
|
|
967
977
|
subjectCreativeWriting: string;
|
|
968
978
|
subjectExamSkills: string;
|
|
979
|
+
subjectGcseEnglishLiterature: string;
|
|
980
|
+
subjectGcseMaths: string;
|
|
981
|
+
subjectGcseChemistry: string;
|
|
982
|
+
subjectGcsePhysics: string;
|
|
983
|
+
subjectGcseBiology: string;
|
|
969
984
|
glBlueLight: string;
|
|
970
985
|
glBluePrimary: string;
|
|
971
986
|
glBlueDark: string;
|
|
@@ -1333,6 +1348,11 @@ export declare const Tabs: import("@atom-learning/stitches-react/types/styled-co
|
|
|
1333
1348
|
subjectNonVerbalReasoning: string;
|
|
1334
1349
|
subjectCreativeWriting: string;
|
|
1335
1350
|
subjectExamSkills: string;
|
|
1351
|
+
subjectGcseEnglishLiterature: string;
|
|
1352
|
+
subjectGcseMaths: string;
|
|
1353
|
+
subjectGcseChemistry: string;
|
|
1354
|
+
subjectGcsePhysics: string;
|
|
1355
|
+
subjectGcseBiology: string;
|
|
1336
1356
|
glBlueLight: string;
|
|
1337
1357
|
glBluePrimary: string;
|
|
1338
1358
|
glBlueDark: string;
|
|
@@ -231,6 +231,11 @@ export declare const TabsContent: import("@atom-learning/stitches-react/types/st
|
|
|
231
231
|
subjectNonVerbalReasoning: string;
|
|
232
232
|
subjectCreativeWriting: string;
|
|
233
233
|
subjectExamSkills: string;
|
|
234
|
+
subjectGcseEnglishLiterature: string;
|
|
235
|
+
subjectGcseMaths: string;
|
|
236
|
+
subjectGcseChemistry: string;
|
|
237
|
+
subjectGcsePhysics: string;
|
|
238
|
+
subjectGcseBiology: string;
|
|
234
239
|
glBlueLight: string;
|
|
235
240
|
glBluePrimary: string;
|
|
236
241
|
glBlueDark: string;
|
|
@@ -233,6 +233,11 @@ export declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<Omit<impo
|
|
|
233
233
|
subjectNonVerbalReasoning: string;
|
|
234
234
|
subjectCreativeWriting: string;
|
|
235
235
|
subjectExamSkills: string;
|
|
236
|
+
subjectGcseEnglishLiterature: string;
|
|
237
|
+
subjectGcseMaths: string;
|
|
238
|
+
subjectGcseChemistry: string;
|
|
239
|
+
subjectGcsePhysics: string;
|
|
240
|
+
subjectGcseBiology: string;
|
|
236
241
|
glBlueLight: string;
|
|
237
242
|
glBluePrimary: string;
|
|
238
243
|
glBlueDark: string;
|
|
@@ -233,6 +233,11 @@ declare const StyledTriggerList: import("@atom-learning/stitches-react/types/sty
|
|
|
233
233
|
subjectNonVerbalReasoning: string;
|
|
234
234
|
subjectCreativeWriting: string;
|
|
235
235
|
subjectExamSkills: string;
|
|
236
|
+
subjectGcseEnglishLiterature: string;
|
|
237
|
+
subjectGcseMaths: string;
|
|
238
|
+
subjectGcseChemistry: string;
|
|
239
|
+
subjectGcsePhysics: string;
|
|
240
|
+
subjectGcseBiology: string;
|
|
236
241
|
glBlueLight: string;
|
|
237
242
|
glBluePrimary: string;
|
|
238
243
|
glBlueDark: string;
|
|
@@ -274,6 +274,11 @@ export declare const StyledText: import("@atom-learning/stitches-react/types/sty
|
|
|
274
274
|
subjectNonVerbalReasoning: string;
|
|
275
275
|
subjectCreativeWriting: string;
|
|
276
276
|
subjectExamSkills: string;
|
|
277
|
+
subjectGcseEnglishLiterature: string;
|
|
278
|
+
subjectGcseMaths: string;
|
|
279
|
+
subjectGcseChemistry: string;
|
|
280
|
+
subjectGcsePhysics: string;
|
|
281
|
+
subjectGcseBiology: string;
|
|
277
282
|
glBlueLight: string;
|
|
278
283
|
glBluePrimary: string;
|
|
279
284
|
glBlueDark: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const StyledTextarea: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"textarea", {
|
|
3
|
-
appearance?: "standard" | "modern" | undefined;
|
|
4
3
|
state?: "error" | undefined;
|
|
5
4
|
}, {
|
|
6
5
|
sm: string;
|
|
@@ -235,6 +234,11 @@ declare const StyledTextarea: import("@atom-learning/stitches-react/types/styled
|
|
|
235
234
|
subjectNonVerbalReasoning: string;
|
|
236
235
|
subjectCreativeWriting: string;
|
|
237
236
|
subjectExamSkills: string;
|
|
237
|
+
subjectGcseEnglishLiterature: string;
|
|
238
|
+
subjectGcseMaths: string;
|
|
239
|
+
subjectGcseChemistry: string;
|
|
240
|
+
subjectGcsePhysics: string;
|
|
241
|
+
subjectGcseBiology: string;
|
|
238
242
|
glBlueLight: string;
|
|
239
243
|
glBluePrimary: string;
|
|
240
244
|
glBlueDark: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{styled as
|
|
1
|
+
import*as e from"react";import{styled as t}from"../../stitches.js";const i=t("textarea",{boxShadow:"none",fontSize:"$md",appearance:"none",border:"1px solid $grey800",borderRadius:"$0",boxSizing:"border-box",color:"$grey1000",fontFamily:"$body",fontWeight:400,lineHeight:1.4,minHeight:"$7",px:"$3",py:"calc($2 + $1)",resize:"vertical",transition:"all 75ms ease-out",width:"100%","&:focus":{borderColor:"$primary800",outline:"none"},"&[disabled]":{backgroundColor:"$grey200",color:"$grey800",cursor:"not-allowed"},"&::placeholder":{color:"$grey700",opacity:1},variants:{state:{error:{border:"1px solid $danger"}}}}),o=e.forwardRef((r,a)=>e.createElement(i,{...r,ref:a}));o.displayName="Textarea";export{o as Textarea};
|
|
2
2
|
//# sourceMappingURL=Textarea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.js","sources":["../../../src/components/textarea/Textarea.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nconst StyledTextarea = styled('textarea', {\n boxShadow: 'none', // remove iOS default styling\n fontSize: '$md', // prevent iOS zooming on focus\n appearance: 'none',\n boxSizing: 'border-box',\n color: '$grey1000',\n fontFamily: '$body',\n fontWeight: 400,\n lineHeight: 1.4,\n
|
|
1
|
+
{"version":3,"file":"Textarea.js","sources":["../../../src/components/textarea/Textarea.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nconst StyledTextarea = styled('textarea', {\n boxShadow: 'none', // remove iOS default styling\n fontSize: '$md', // prevent iOS zooming on focus\n appearance: 'none',\n border: '1px solid $grey800',\n borderRadius: '$0',\n boxSizing: 'border-box',\n color: '$grey1000',\n fontFamily: '$body',\n fontWeight: 400,\n lineHeight: 1.4,\n minHeight: '$7',\n px: '$3',\n py: 'calc($2 + $1)', // offset the line height of the text\n resize: 'vertical',\n transition: 'all 75ms ease-out',\n width: '100%',\n '&:focus': {\n borderColor: '$primary800',\n outline: 'none'\n },\n '&[disabled]': {\n backgroundColor: '$grey200',\n color: '$grey800',\n cursor: 'not-allowed'\n },\n '&::placeholder': {\n color: '$grey700',\n opacity: 1\n },\n variants: {\n state: {\n error: {\n border: '1px solid $danger'\n }\n }\n }\n})\n\nexport type TextareaProps = React.ComponentProps<typeof StyledTextarea>\n\nexport const Textarea: React.ForwardRefExoticComponent<TextareaProps> =\n React.forwardRef((props, ref) => <StyledTextarea {...props} ref={ref} />)\n\nTextarea.displayName = 'Textarea'\n"],"names":["StyledTextarea","styled","Textarea","React","props","ref"],"mappings":"mEAIA,MAAMA,EAAiBC,EAAO,WAAY,CACxC,UAAW,OACX,SAAU,MACV,WAAY,OACZ,OAAQ,qBACR,aAAc,KACd,UAAW,aACX,MAAO,YACP,WAAY,QACZ,WAAY,IACZ,WAAY,IACZ,UAAW,KACX,GAAI,KACJ,GAAI,gBACJ,OAAQ,WACR,WAAY,oBACZ,MAAO,OACP,UAAW,CACT,YAAa,cACb,QAAS,MACX,EACA,cAAe,CACb,gBAAiB,WACjB,MAAO,WACP,OAAQ,aACV,EACA,iBAAkB,CAChB,MAAO,WACP,QAAS,CACX,EACA,SAAU,CACR,MAAO,CACL,MAAO,CACL,OAAQ,mBACV,CACF,CACF,CACF,CAAC,EAIYC,EACXC,EAAM,WAAW,CAACC,EAAOC,IAAQF,EAAA,cAACH,EAAA,CAAgB,GAAGI,EAAO,IAAKC,CAAK,CAAA,CAAE,EAE1EH,EAAS,YAAc"}
|
|
@@ -3,7 +3,7 @@ import { FieldElementWrapperProps } from '../../components/field-wrapper';
|
|
|
3
3
|
import { TextareaProps } from '../../components/textarea';
|
|
4
4
|
type TextareaFieldProps = TextareaProps & FieldElementWrapperProps;
|
|
5
5
|
export declare const TextareaField: {
|
|
6
|
-
({ css, hideLabel, label, name, validation, prompt, description,
|
|
6
|
+
({ css, hideLabel, label, name, validation, prompt, description, ...remainingProps }: TextareaFieldProps): React.JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as i from"react";import{useFormContext as f}from"react-hook-form";import{FieldWrapper as u}from"../field-wrapper/FieldWrapper.js";import"../field-wrapper/InlineFieldWrapper.js";import"../form/Form.js";import{useFieldError as F}from"../form/useFieldError.js";import{Textarea as x}from"../textarea/Textarea.js";const a=({css:m=void 0,hideLabel:l,label:p,name:e,validation:r,prompt:d,description:s,...n})=>{const{register:o}=f(),{error:t}=F(e),c=r?o(r):o;return i.createElement(u,{css:m,description:s,error:t,fieldId:e,hideLabel:l,label:p,prompt:d,required:Boolean(r==null?void 0:r.required)},i.createElement(x,{id:e,name:e,ref:c,...t&&{state:"error"},...n}))};a.displayName="TextareaField";export{a as TextareaField};
|
|
2
2
|
//# sourceMappingURL=TextareaField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaField.js","sources":["../../../src/components/textarea-field/TextareaField.tsx"],"sourcesContent":["import * as React from 'react'\nimport { useFormContext } from 'react-hook-form'\n\nimport {\n FieldElementWrapperProps,\n FieldWrapper\n} from '~/components/field-wrapper'\nimport { useFieldError
|
|
1
|
+
{"version":3,"file":"TextareaField.js","sources":["../../../src/components/textarea-field/TextareaField.tsx"],"sourcesContent":["import * as React from 'react'\nimport { useFormContext } from 'react-hook-form'\n\nimport {\n FieldElementWrapperProps,\n FieldWrapper\n} from '~/components/field-wrapper'\nimport { useFieldError } from '~/components/form'\nimport { Textarea, TextareaProps } from '~/components/textarea'\n\ntype TextareaFieldProps = TextareaProps & FieldElementWrapperProps\n\nexport const TextareaField = ({\n css = undefined,\n hideLabel,\n label,\n name,\n validation,\n prompt,\n description,\n ...remainingProps\n}: TextareaFieldProps) => {\n const { register } = useFormContext()\n const { error } = useFieldError(name)\n\n const ref = validation ? register(validation) : register\n\n return (\n <FieldWrapper\n css={css}\n description={description}\n error={error}\n fieldId={name}\n hideLabel={hideLabel}\n label={label}\n prompt={prompt}\n required={Boolean(validation?.required)}\n >\n <Textarea\n id={name}\n name={name}\n ref={ref}\n {...(error && { state: 'error' })}\n {...remainingProps}\n />\n </FieldWrapper>\n )\n}\n\nTextareaField.displayName = 'TextareaField'\n"],"names":["TextareaField","css","hideLabel","label","name","validation","prompt","description","remainingProps","register","useFormContext","error","useFieldError","ref","React","FieldWrapper","Textarea"],"mappings":"4TAYO,MAAMA,EAAgB,CAAC,CAC5B,IAAAC,EAAM,OACN,UAAAC,EACA,MAAAC,EACA,KAAAC,EACA,WAAAC,EACA,OAAAC,EACA,YAAAC,KACGC,CACL,IAA0B,CACxB,KAAM,CAAE,SAAAC,CAAS,EAAIC,EAAe,EAC9B,CAAE,MAAAC,CAAM,EAAIC,EAAcR,CAAI,EAE9BS,EAAMR,EAAaI,EAASJ,CAAU,EAAII,EAEhD,OACEK,EAAA,cAACC,EAAA,CACC,IAAKd,EACL,YAAaM,EACb,MAAOI,EACP,QAASP,EACT,UAAWF,EACX,MAAOC,EACP,OAAQG,EACR,SAAU,QAAQD,GAAA,YAAAA,EAAY,QAAQ,CAEtCS,EAAAA,EAAA,cAACE,EAAA,CACC,GAAIZ,EACJ,KAAMA,EACN,IAAKS,EACJ,GAAIF,GAAS,CAAE,MAAO,OAAQ,EAC9B,GAAGH,EACN,CACF,CAEJ,EAEAR,EAAc,YAAc"}
|
|
@@ -3,7 +3,6 @@ import { TcolorScheme } from '../../experiments/color-scheme';
|
|
|
3
3
|
export declare const StyledTile: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"div", {
|
|
4
4
|
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5
5
|
border?: boolean | "true" | undefined;
|
|
6
|
-
diffused?: boolean | "true" | undefined;
|
|
7
6
|
}, {
|
|
8
7
|
sm: string;
|
|
9
8
|
md: string;
|
|
@@ -237,6 +236,11 @@ export declare const StyledTile: import("@atom-learning/stitches-react/types/sty
|
|
|
237
236
|
subjectNonVerbalReasoning: string;
|
|
238
237
|
subjectCreativeWriting: string;
|
|
239
238
|
subjectExamSkills: string;
|
|
239
|
+
subjectGcseEnglishLiterature: string;
|
|
240
|
+
subjectGcseMaths: string;
|
|
241
|
+
subjectGcseChemistry: string;
|
|
242
|
+
subjectGcsePhysics: string;
|
|
243
|
+
subjectGcseBiology: string;
|
|
240
244
|
glBlueLight: string;
|
|
241
245
|
glBluePrimary: string;
|
|
242
246
|
glBlueDark: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"react";import{ColorScheme as t}from"../../experiments/color-scheme/ColorScheme.js";import{styled as s}from"../../stitches.js";const r=s("div",{all:"unset",boxSizing:"border-box",display:"flex",flexDirection:"column",position:"relative",border:"1px solid",bg:"$base1",color:"$foreground",borderColor:"transparent",variants:{borderRadius:{sm:{borderRadius:"$0"},md:{borderRadius:"$1"},lg:{borderRadius:"$3"}},border:{true:{borderColor:"$base3"}}}}),o=e.forwardRef(({children:i,colorScheme:l={},...a},d)=>e.createElement(t,{asChild:!0,base:"grey1",accent:"primary2",interactive:"loContrast",...l},e.createElement(r,{ref:d,...a},i)));o.displayName="Tile";export{r as StyledTile,o as Tile};
|
|
2
2
|
//# sourceMappingURL=Tile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sources":["../../../src/components/tile/Tile.tsx"],"sourcesContent":["import React from 'react'\n\nimport { ColorScheme, TcolorScheme } from '~/experiments/color-scheme'\nimport { styled } from '~/stitches'\n\nexport const StyledTile = styled('div', {\n all: 'unset', // important for buttons etc\n boxSizing: 'border-box',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative', // for pseudo-elements\n border: '1px solid',\n bg: '$base1',\n color: '$foreground',\n borderColor: 'transparent',\n variants: {\n borderRadius: {\n sm: { borderRadius: '$0' },\n md: { borderRadius: '$1' },\n lg: { borderRadius: '$3' }\n },\n border: {\n true: { borderColor: '$base3' }\n }
|
|
1
|
+
{"version":3,"file":"Tile.js","sources":["../../../src/components/tile/Tile.tsx"],"sourcesContent":["import React from 'react'\n\nimport { ColorScheme, TcolorScheme } from '~/experiments/color-scheme'\nimport { styled } from '~/stitches'\n\nexport const StyledTile = styled('div', {\n all: 'unset', // important for buttons etc\n boxSizing: 'border-box',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative', // for pseudo-elements\n border: '1px solid',\n bg: '$base1',\n color: '$foreground',\n borderColor: 'transparent',\n variants: {\n borderRadius: {\n sm: { borderRadius: '$0' },\n md: { borderRadius: '$1' },\n lg: { borderRadius: '$3' }\n },\n border: {\n true: { borderColor: '$base3' }\n }\n }\n})\n\ntype TTileProps = React.ComponentProps<typeof StyledTile> & {\n colorScheme?: TcolorScheme\n}\n\nexport const Tile: React.ForwardRefExoticComponent<TTileProps> =\n React.forwardRef(({ children, colorScheme = {}, ...rest }, ref) => (\n <ColorScheme\n asChild\n base=\"grey1\"\n accent=\"primary2\"\n interactive=\"loContrast\"\n {...colorScheme}\n >\n <StyledTile ref={ref} {...rest}>\n {children}\n </StyledTile>\n </ColorScheme>\n ))\n\nTile.displayName = 'Tile'\n"],"names":["StyledTile","styled","Tile","React","children","colorScheme","rest","ref","ColorScheme"],"mappings":"4IAKO,MAAMA,EAAaC,EAAO,MAAO,CACtC,IAAK,QACL,UAAW,aACX,QAAS,OACT,cAAe,SACf,SAAU,WACV,OAAQ,YACR,GAAI,SACJ,MAAO,cACP,YAAa,cACb,SAAU,CACR,aAAc,CACZ,GAAI,CAAE,aAAc,IAAK,EACzB,GAAI,CAAE,aAAc,IAAK,EACzB,GAAI,CAAE,aAAc,IAAK,CAC3B,EACA,OAAQ,CACN,KAAM,CAAE,YAAa,QAAS,CAChC,CACF,CACF,CAAC,EAMYC,EACXC,EAAM,WAAW,CAAC,CAAE,SAAAC,EAAU,YAAAC,EAAc,MAAOC,CAAK,EAAGC,IACzDJ,EAAA,cAACK,EAAA,CACC,QAAO,GACP,KAAK,QACL,OAAO,WACP,YAAY,aACX,GAAGH,CAAAA,EAEJF,EAAA,cAACH,EAAA,CAAW,IAAKO,EAAM,GAAGD,CAAAA,EACvBF,CACH,CACF,CACD,EAEHF,EAAK,YAAc"}
|
|
@@ -237,6 +237,11 @@ export declare const TileGroup: import("@atom-learning/stitches-react/types/styl
|
|
|
237
237
|
subjectNonVerbalReasoning: string;
|
|
238
238
|
subjectCreativeWriting: string;
|
|
239
239
|
subjectExamSkills: string;
|
|
240
|
+
subjectGcseEnglishLiterature: string;
|
|
241
|
+
subjectGcseMaths: string;
|
|
242
|
+
subjectGcseChemistry: string;
|
|
243
|
+
subjectGcsePhysics: string;
|
|
244
|
+
subjectGcseBiology: string;
|
|
240
245
|
glBlueLight: string;
|
|
241
246
|
glBluePrimary: string;
|
|
242
247
|
glBlueDark: string;
|