@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
|
@@ -239,6 +239,11 @@ declare const InlineMessageContainer: import("@atom-learning/stitches-react/type
|
|
|
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;
|
|
@@ -604,6 +609,11 @@ declare const InlineMessageContainer: import("@atom-learning/stitches-react/type
|
|
|
604
609
|
subjectNonVerbalReasoning: string;
|
|
605
610
|
subjectCreativeWriting: string;
|
|
606
611
|
subjectExamSkills: string;
|
|
612
|
+
subjectGcseEnglishLiterature: string;
|
|
613
|
+
subjectGcseMaths: string;
|
|
614
|
+
subjectGcseChemistry: string;
|
|
615
|
+
subjectGcsePhysics: string;
|
|
616
|
+
subjectGcseBiology: string;
|
|
607
617
|
glBlueLight: string;
|
|
608
618
|
glBluePrimary: string;
|
|
609
619
|
glBlueDark: string;
|
|
@@ -239,6 +239,11 @@ export declare const InputBackground: import("@atom-learning/stitches-react/type
|
|
|
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;
|
|
@@ -370,7 +375,6 @@ export declare const InputBackground: import("@atom-learning/stitches-react/type
|
|
|
370
375
|
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
371
376
|
};
|
|
372
377
|
}>>, {
|
|
373
|
-
appearance?: "standard" | "modern" | undefined;
|
|
374
378
|
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
375
379
|
disabled?: boolean | "true" | undefined;
|
|
376
380
|
state?: "error" | undefined;
|
|
@@ -607,6 +611,11 @@ export declare const InputBackground: import("@atom-learning/stitches-react/type
|
|
|
607
611
|
subjectNonVerbalReasoning: string;
|
|
608
612
|
subjectCreativeWriting: string;
|
|
609
613
|
subjectExamSkills: string;
|
|
614
|
+
subjectGcseEnglishLiterature: string;
|
|
615
|
+
subjectGcseMaths: string;
|
|
616
|
+
subjectGcseChemistry: string;
|
|
617
|
+
subjectGcsePhysics: string;
|
|
618
|
+
subjectGcseBiology: string;
|
|
610
619
|
glBlueLight: string;
|
|
611
620
|
glBluePrimary: string;
|
|
612
621
|
glBlueDark: string;
|
|
@@ -971,6 +980,11 @@ declare const StyledInputText: import("@atom-learning/stitches-react/types/style
|
|
|
971
980
|
subjectNonVerbalReasoning: string;
|
|
972
981
|
subjectCreativeWriting: string;
|
|
973
982
|
subjectExamSkills: string;
|
|
983
|
+
subjectGcseEnglishLiterature: string;
|
|
984
|
+
subjectGcseMaths: string;
|
|
985
|
+
subjectGcseChemistry: string;
|
|
986
|
+
subjectGcsePhysics: string;
|
|
987
|
+
subjectGcseBiology: string;
|
|
974
988
|
glBlueLight: string;
|
|
975
989
|
glBluePrimary: string;
|
|
976
990
|
glBlueDark: string;
|
|
@@ -1109,10 +1123,9 @@ export type InputTextProps = Omit<React.ComponentProps<typeof StyledInputText>,
|
|
|
1109
1123
|
};
|
|
1110
1124
|
export declare const InputText: React.ForwardRefExoticComponent<InputTextProps>;
|
|
1111
1125
|
type InputBackgroundProps = React.ComponentProps<typeof InputBackground>;
|
|
1112
|
-
export type InputProps = Omit<React.ComponentProps<typeof InputText>, 'size' | 'state'
|
|
1126
|
+
export type InputProps = Omit<React.ComponentProps<typeof InputText>, 'size' | 'state'> & {
|
|
1113
1127
|
size?: InputBackgroundProps['size'];
|
|
1114
1128
|
state?: InputBackgroundProps['state'];
|
|
1115
|
-
appearance?: InputBackgroundProps['appearance'];
|
|
1116
1129
|
};
|
|
1117
1130
|
export declare const Input: React.ForwardRefExoticComponent<InputProps>;
|
|
1118
1131
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as r from"react";import{styled as
|
|
1
|
+
import*as r from"react";import{styled as l}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{overrideStitchesVariantValue as u}from"../../utilities/override-stitches-variant-value/overrideStitchesVariantValue.js";import{disabledStyle as c}from"../../utilities/style/disabledStyle.js";import{Flex as b}from"../flex/Flex.js";import{Text as g}from"../text/Text.js";const d=l(b,{background:"white",color:"$grey1000",border:"1px solid $grey800",borderRadius:"$0",transition:"background 100ms ease-out, borderColor 100ms ease-out",width:"100%","&:focus-within":{borderColor:"$blue800"},variants:{size:{sm:{height:"$3"},md:{height:"$4"},lg:{height:"$5"},xl:{height:"$6"}},disabled:{true:c},state:{error:{borderColor:"$danger"}}}});d.displayName="InputBackground";const h=l.withConfig({shouldForwardStitchesProp:e=>["as"].includes(e)})(g,{appearance:"none",border:"none",background:"none",backgroundImage:"none",backgroundColor:"transparent",boxShadow:"none",boxSizing:"border-box","&:focus":{outline:"none"},px:"$3",size:"100%"}),f={sm:"sm",md:"md",lg:"md",xl:"lg"},m=r.forwardRef(({type:e="text",css:s,size:o,...t},n)=>{const i=r.useMemo(()=>u(o,a=>f[a]),[o]);return r.createElement(h,{ref:n,as:"input",type:e==="number"?"text":e,inputMode:e==="number"?"numeric":void 0,pattern:e==="number"?"[0-9]*":void 0,size:i,...t})});m.displayName="InputText";const p=r.forwardRef(({className:e,size:s="md",state:o,disabled:t,css:n,...i},a)=>r.createElement(d,{size:s,disabled:t,state:o,css:n,className:e},r.createElement(m,{size:s,ref:a,disabled:t,...i})));p.displayName="Input";export{p as Input,d as InputBackground,m as InputText};
|
|
2
2
|
//# sourceMappingURL=Input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sources":["../../../src/components/input/Input.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { disabledStyle } from '~/utilities'\nimport { overrideStitchesVariantValue } from '~/utilities/override-stitches-variant-value/overrideStitchesVariantValue'\n\nimport { Flex } from '../flex'\nimport { Text } from '../text'\n\nexport const InputBackground = styled(Flex, {\n
|
|
1
|
+
{"version":3,"file":"Input.js","sources":["../../../src/components/input/Input.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { disabledStyle } from '~/utilities'\nimport { overrideStitchesVariantValue } from '~/utilities/override-stitches-variant-value/overrideStitchesVariantValue'\n\nimport { Flex } from '../flex'\nimport { Text } from '../text'\n\nexport const InputBackground = styled(Flex, {\n background: 'white',\n color: '$grey1000',\n border: '1px solid $grey800',\n borderRadius: '$0',\n transition: 'background 100ms ease-out, borderColor 100ms ease-out',\n width: '100%',\n '&:focus-within': {\n borderColor: '$blue800'\n },\n variants: {\n size: {\n sm: {\n height: '$3'\n },\n md: {\n height: '$4'\n },\n lg: {\n height: '$5'\n },\n xl: {\n height: '$6'\n }\n },\n disabled: {\n true: disabledStyle\n },\n state: {\n error: {\n borderColor: '$danger'\n }\n }\n }\n})\n\nInputBackground.displayName = 'InputBackground'\n\nconst StyledInputText = styled.withConfig({\n shouldForwardStitchesProp: (propName) => ['as'].includes(propName)\n})(Text as unknown as 'input', {\n // unsets\n appearance: 'none',\n border: 'none',\n background: 'none',\n backgroundImage: 'none',\n backgroundColor: 'transparent',\n boxShadow: 'none', // prevent default iOS default styling\n boxSizing: 'border-box',\n '&:focus': {\n outline: 'none'\n },\n //\n px: '$3',\n size: '100%'\n})\n\nexport type InputTextProps = Omit<\n React.ComponentProps<typeof StyledInputText>,\n 'size' | 'type' | 'as'\n> & {\n size: React.ComponentProps<typeof Text>['size']\n // override default 'type' property to prevent Input from being used to render\n // checkboxes, radios etc — we have dedicated components for them\n type?: 'text' | 'number' | 'email' | 'password' | 'tel' | 'url' | 'search'\n as?: never\n}\n\nconst toTextSize = {\n sm: 'sm',\n md: 'md',\n lg: 'md',\n xl: 'lg'\n}\n\nexport const InputText: React.ForwardRefExoticComponent<InputTextProps> =\n React.forwardRef(({ type = 'text', css, size, ...rest }, ref) => {\n const textSize = React.useMemo(\n () => overrideStitchesVariantValue(size, (s) => toTextSize[s]),\n [size]\n )\n\n return (\n <StyledInputText\n ref={ref}\n as=\"input\"\n type={type === 'number' ? 'text' : type}\n inputMode={type === 'number' ? 'numeric' : undefined}\n pattern={type === 'number' ? '[0-9]*' : undefined}\n size={textSize}\n {...rest}\n />\n )\n })\n\nInputText.displayName = 'InputText'\n\ntype InputBackgroundProps = React.ComponentProps<typeof InputBackground>\nexport type InputProps = Omit<\n React.ComponentProps<typeof InputText>,\n 'size' | 'state'\n> & {\n size?: InputBackgroundProps['size']\n state?: InputBackgroundProps['state']\n}\n\nexport const Input: React.ForwardRefExoticComponent<InputProps> =\n React.forwardRef(\n ({ className, size = 'md', state, disabled, css, ...rest }, ref) => {\n return (\n <InputBackground\n size={size}\n disabled={disabled}\n state={state}\n css={css}\n className={className}\n >\n <InputText size={size} ref={ref} disabled={disabled} {...rest} />\n </InputBackground>\n )\n }\n )\n\nInput.displayName = 'Input'\n"],"names":["InputBackground","styled","Flex","disabledStyle","StyledInputText","propName","Text","toTextSize","InputText","React","type","css","size","rest","ref","textSize","overrideStitchesVariantValue","s","Input","className","state","disabled"],"mappings":"+gBASa,MAAAA,EAAkBC,EAAOC,EAAM,CAC1C,WAAY,QACZ,MAAO,YACP,OAAQ,qBACR,aAAc,KACd,WAAY,wDACZ,MAAO,OACP,iBAAkB,CAChB,YAAa,UACf,EACA,SAAU,CACR,KAAM,CACJ,GAAI,CACF,OAAQ,IACV,EACA,GAAI,CACF,OAAQ,IACV,EACA,GAAI,CACF,OAAQ,IACV,EACA,GAAI,CACF,OAAQ,IACV,CACF,EACA,SAAU,CACR,KAAMC,CACR,EACA,MAAO,CACL,MAAO,CACL,YAAa,SACf,CACF,CACF,CACF,CAAC,EAEDH,EAAgB,YAAc,kBAE9B,MAAMI,EAAkBH,EAAO,WAAW,CACxC,0BAA4BI,GAAa,CAAC,IAAI,EAAE,SAASA,CAAQ,CACnE,CAAC,EAAEC,EAA4B,CAE7B,WAAY,OACZ,OAAQ,OACR,WAAY,OACZ,gBAAiB,OACjB,gBAAiB,cACjB,UAAW,OACX,UAAW,aACX,UAAW,CACT,QAAS,MACX,EAEA,GAAI,KACJ,KAAM,MACR,CAAC,EAaKC,EAAa,CACjB,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,GAAI,IACN,EAEaC,EACXC,EAAM,WAAW,CAAC,CAAE,KAAAC,EAAO,OAAQ,IAAAC,EAAK,KAAAC,KAASC,CAAK,EAAGC,IAAQ,CAC/D,MAAMC,EAAWN,EAAM,QACrB,IAAMO,EAA6BJ,EAAOK,GAAMV,EAAWU,EAAE,EAC7D,CAACL,CAAI,CACP,EAEA,OACEH,EAAA,cAACL,EAAA,CACC,IAAKU,EACL,GAAG,QACH,KAAMJ,IAAS,SAAW,OAASA,EACnC,UAAWA,IAAS,SAAW,UAAY,OAC3C,QAASA,IAAS,SAAW,SAAW,OACxC,KAAMK,EACL,GAAGF,CACN,CAAA,CAEJ,CAAC,EAEHL,EAAU,YAAc,YAWjB,MAAMU,EACXT,EAAM,WACJ,CAAC,CAAE,UAAAU,EAAW,KAAAP,EAAO,KAAM,MAAAQ,EAAO,SAAAC,EAAU,IAAAV,KAAQE,CAAK,EAAGC,IAExDL,EAAA,cAACT,EAAA,CACC,KAAMY,EACN,SAAUS,EACV,MAAOD,EACP,IAAKT,EACL,UAAWQ,CAAAA,EAEXV,EAAA,cAACD,EAAU,CAAA,KAAMI,EAAM,IAAKE,EAAK,SAAUO,EAAW,GAAGR,CAAM,CAAA,CACjE,CAGN,EAEFK,EAAM,YAAc"}
|
|
@@ -3,7 +3,7 @@ import { FieldElementWrapperProps } from '../../components/field-wrapper';
|
|
|
3
3
|
import { InputProps } from '../../components/input';
|
|
4
4
|
type InputFieldProps = InputProps & FieldElementWrapperProps;
|
|
5
5
|
export declare const InputField: {
|
|
6
|
-
({ css, label, name, validation, prompt, description, hideLabel,
|
|
6
|
+
({ css, label, name, validation, prompt, description, hideLabel, ...remainingProps }: InputFieldProps): React.JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as i from"react";import{useFormContext as
|
|
1
|
+
import*as i from"react";import{useFormContext as c}from"react-hook-form";import{FieldWrapper as f}from"../field-wrapper/FieldWrapper.js";import"../field-wrapper/InlineFieldWrapper.js";import"../form/Form.js";import{useFieldError as F}from"../form/useFieldError.js";import{Input as b}from"../input/Input.js";const p=({css:m,label:l,name:e,validation:r,prompt:a,description:d,hideLabel:n,...s})=>{const{register:o}=c(),{error:t}=F(e),u=r?o(r):o;return i.createElement(f,{css:m,description:d,error:t,fieldId:e,hideLabel:n,label:l,prompt:a,required:Boolean(r==null?void 0:r.required)},i.createElement(b,{id:e,name:e,ref:u,...t&&{state:"error"},...s}))};p.displayName="InputField";export{p as InputField};
|
|
2
2
|
//# sourceMappingURL=InputField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.js","sources":["../../../src/components/input-field/InputField.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":"InputField.js","sources":["../../../src/components/input-field/InputField.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 { Input, InputProps } from '~/components/input'\n\ntype InputFieldProps = InputProps & FieldElementWrapperProps\n\nexport const InputField = ({\n css,\n label,\n name,\n validation,\n prompt,\n description,\n hideLabel,\n ...remainingProps\n}: InputFieldProps) => {\n const { register } = useFormContext()\n const { error } = useFieldError(name)\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 <Input\n id={name}\n name={name}\n ref={ref}\n {...(error && { state: 'error' })}\n {...remainingProps}\n />\n </FieldWrapper>\n )\n}\n\nInputField.displayName = 'InputField'\n"],"names":["InputField","css","label","name","validation","prompt","description","hideLabel","remainingProps","register","useFormContext","error","useFieldError","ref","React","FieldWrapper","Input"],"mappings":"yTAYaA,EAAa,CAAC,CACzB,IAAAC,EACA,MAAAC,EACA,KAAAC,EACA,WAAAC,EACA,OAAAC,EACA,YAAAC,EACA,UAAAC,KACGC,CACL,IAAuB,CACrB,KAAM,CAAE,SAAAC,CAAS,EAAIC,EAAe,EAC9B,CAAE,MAAAC,CAAM,EAAIC,EAAcT,CAAI,EAC9BU,EAAMT,EAAaK,EAASL,CAAU,EAAIK,EAEhD,OACEK,EAAA,cAACC,EAAA,CACC,IAAKd,EACL,YAAaK,EACb,MAAOK,EACP,QAASR,EACT,UAAWI,EACX,MAAOL,EACP,OAAQG,EACR,SAAU,QAAQD,GAAA,YAAAA,EAAY,QAAQ,CAEtCU,EAAAA,EAAA,cAACE,EAAA,CACC,GAAIb,EACJ,KAAMA,EACN,IAAKU,EACJ,GAAIF,GAAS,CAAE,MAAO,OAAQ,EAC9B,GAAGH,EACN,CACF,CAEJ,EAEAR,EAAW,YAAc"}
|
|
@@ -256,6 +256,11 @@ declare const StyledKeyboardShortcutIndicator: import("@atom-learning/stitches-r
|
|
|
256
256
|
subjectNonVerbalReasoning: string;
|
|
257
257
|
subjectCreativeWriting: string;
|
|
258
258
|
subjectExamSkills: string;
|
|
259
|
+
subjectGcseEnglishLiterature: string;
|
|
260
|
+
subjectGcseMaths: string;
|
|
261
|
+
subjectGcseChemistry: string;
|
|
262
|
+
subjectGcsePhysics: string;
|
|
263
|
+
subjectGcseBiology: string;
|
|
259
264
|
glBlueLight: string;
|
|
260
265
|
glBluePrimary: string;
|
|
261
266
|
glBlueDark: string;
|
|
@@ -622,6 +627,11 @@ declare const StyledKeyboardShortcutIndicator: import("@atom-learning/stitches-r
|
|
|
622
627
|
subjectNonVerbalReasoning: string;
|
|
623
628
|
subjectCreativeWriting: string;
|
|
624
629
|
subjectExamSkills: string;
|
|
630
|
+
subjectGcseEnglishLiterature: string;
|
|
631
|
+
subjectGcseMaths: string;
|
|
632
|
+
subjectGcseChemistry: string;
|
|
633
|
+
subjectGcsePhysics: string;
|
|
634
|
+
subjectGcseBiology: string;
|
|
625
635
|
glBlueLight: string;
|
|
626
636
|
glBluePrimary: string;
|
|
627
637
|
glBlueDark: string;
|
|
@@ -234,6 +234,11 @@ export declare const KeyboardShortcut: import("react").ForwardRefExoticComponent
|
|
|
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;
|
|
@@ -370,7 +375,7 @@ export declare const KeyboardShortcut: import("react").ForwardRefExoticComponent
|
|
|
370
375
|
config: {
|
|
371
376
|
shortcut: Partial<KeyboardEvent>;
|
|
372
377
|
action: ({ event, shortcut }: {
|
|
373
|
-
event: KeyboardEvent |
|
|
378
|
+
event: KeyboardEvent | import("react").KeyboardEvent<HTMLDivElement>;
|
|
374
379
|
shortcut: Partial<KeyboardEvent>;
|
|
375
380
|
}) => void;
|
|
376
381
|
}[];
|
|
@@ -619,6 +624,11 @@ export declare const KeyboardShortcut: import("react").ForwardRefExoticComponent
|
|
|
619
624
|
subjectNonVerbalReasoning: string;
|
|
620
625
|
subjectCreativeWriting: string;
|
|
621
626
|
subjectExamSkills: string;
|
|
627
|
+
subjectGcseEnglishLiterature: string;
|
|
628
|
+
subjectGcseMaths: string;
|
|
629
|
+
subjectGcseChemistry: string;
|
|
630
|
+
subjectGcsePhysics: string;
|
|
631
|
+
subjectGcseBiology: string;
|
|
622
632
|
glBlueLight: string;
|
|
623
633
|
glBluePrimary: string;
|
|
624
634
|
glBlueDark: string;
|
|
@@ -751,7 +761,7 @@ export declare const KeyboardShortcut: import("react").ForwardRefExoticComponent
|
|
|
751
761
|
};
|
|
752
762
|
}> | undefined;
|
|
753
763
|
}, "as"> & {
|
|
754
|
-
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" |
|
|
764
|
+
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" | import("react").ComponentType | import("react").ElementType;
|
|
755
765
|
}, "css"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{}, {
|
|
756
766
|
sm: string;
|
|
757
767
|
md: string;
|
|
@@ -986,6 +996,11 @@ export declare const KeyboardShortcut: import("react").ForwardRefExoticComponent
|
|
|
986
996
|
subjectNonVerbalReasoning: string;
|
|
987
997
|
subjectCreativeWriting: string;
|
|
988
998
|
subjectExamSkills: string;
|
|
999
|
+
subjectGcseEnglishLiterature: string;
|
|
1000
|
+
subjectGcseMaths: string;
|
|
1001
|
+
subjectGcseChemistry: string;
|
|
1002
|
+
subjectGcsePhysics: string;
|
|
1003
|
+
subjectGcseBiology: string;
|
|
989
1004
|
glBlueLight: string;
|
|
990
1005
|
glBluePrimary: string;
|
|
991
1006
|
glBlueDark: string;
|
|
@@ -5,7 +5,6 @@ declare const StyledLabel: import("@atom-learning/stitches-react/types/styled-co
|
|
|
5
5
|
type?: "inline" | "block" | undefined;
|
|
6
6
|
align?: "center" | "start" | undefined;
|
|
7
7
|
direction?: "row" | "reverse" | undefined;
|
|
8
|
-
appearance?: "standard" | "modern" | undefined;
|
|
9
8
|
}, {
|
|
10
9
|
sm: string;
|
|
11
10
|
md: string;
|
|
@@ -239,6 +238,11 @@ declare const StyledLabel: import("@atom-learning/stitches-react/types/styled-co
|
|
|
239
238
|
subjectNonVerbalReasoning: string;
|
|
240
239
|
subjectCreativeWriting: string;
|
|
241
240
|
subjectExamSkills: string;
|
|
241
|
+
subjectGcseEnglishLiterature: string;
|
|
242
|
+
subjectGcseMaths: string;
|
|
243
|
+
subjectGcseChemistry: string;
|
|
244
|
+
subjectGcsePhysics: string;
|
|
245
|
+
subjectGcseBiology: string;
|
|
242
246
|
glBlueLight: string;
|
|
243
247
|
glBluePrimary: string;
|
|
244
248
|
glBlueDark: string;
|
|
@@ -370,7 +374,7 @@ declare const StyledLabel: import("@atom-learning/stitches-react/types/styled-co
|
|
|
370
374
|
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
371
375
|
};
|
|
372
376
|
}>>;
|
|
373
|
-
|
|
377
|
+
type LabelProps = Override<React.ComponentPropsWithoutRef<typeof StyledLabel>, {
|
|
374
378
|
as?: 'label' | 'legend';
|
|
375
379
|
required?: boolean;
|
|
376
380
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{styled as
|
|
1
|
+
import*as e from"react";import{styled as i}from"../../stitches.js";import{getTextVariant as t}from"../text/Text.js";const p=i("label",{color:"$grey900",fontFamily:"$body",m:0,variants:{size:{sm:t({size:"sm"}),md:t({size:"md"})},type:{block:{display:"block",fontWeight:600},inline:{display:"flex",fontWeight:400,maxWidth:"max-content"}},align:{start:{},center:{}},direction:{reverse:{},row:{}}},compoundVariants:[{type:"inline",align:"start",css:{alignItems:"flex-start"}},{type:"inline",align:"center",css:{alignItems:"center"}},{type:"inline",direction:"reverse",css:{flexDirection:"row-reverse"}},{type:"inline",direction:"row",css:{flexDirection:"row"}}]}),y=i("span",{color:"$danger",ml:"$1",fontWeight:400}),n=({align:r="start",as:a="label",direction:l="row",size:o="md",type:s="block",children:c,required:m,...d})=>e.createElement(p,{as:a,size:o,type:s,align:r,direction:l,...d},c,m&&e.createElement(y,{"aria-hidden":!0},"*"));n.displayName="Label";export{n as Label};
|
|
2
2
|
//# sourceMappingURL=Label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.js","sources":["../../../src/components/label/Label.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport type { Override } from '~/utilities/types'\n\nimport { getTextVariant } from '../text'\n\nconst StyledLabel = styled('label', {\n color: '$grey900',\n fontFamily: '$body',\n m: 0,\n variants: {\n size: {\n sm: getTextVariant({ size: 'sm' }),\n md: getTextVariant({ size: 'md' })\n },\n type: {\n block: {\n display: 'block',\n fontWeight: 600\n },\n inline: {\n display: 'flex',\n fontWeight: 400,\n maxWidth: 'max-content'\n }\n },\n align: { start: {}, center: {} },\n direction: { reverse: {}, row: {} }
|
|
1
|
+
{"version":3,"file":"Label.js","sources":["../../../src/components/label/Label.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport type { Override } from '~/utilities/types'\n\nimport { getTextVariant } from '../text'\n\nconst StyledLabel = styled('label', {\n color: '$grey900',\n fontFamily: '$body',\n m: 0,\n variants: {\n size: {\n sm: getTextVariant({ size: 'sm' }),\n md: getTextVariant({ size: 'md' })\n },\n type: {\n block: {\n display: 'block',\n fontWeight: 600\n },\n inline: {\n display: 'flex',\n fontWeight: 400,\n maxWidth: 'max-content'\n }\n },\n align: { start: {}, center: {} },\n direction: { reverse: {}, row: {} }\n },\n compoundVariants: [\n {\n type: 'inline',\n align: 'start',\n css: { alignItems: 'flex-start' }\n },\n {\n type: 'inline',\n align: 'center',\n css: { alignItems: 'center' }\n },\n {\n type: 'inline',\n direction: 'reverse',\n css: { flexDirection: 'row-reverse' }\n },\n {\n type: 'inline',\n direction: 'row',\n css: { flexDirection: 'row' }\n }\n ]\n})\n\nconst StyledAsterisk = styled('span', {\n color: '$danger',\n ml: '$1',\n fontWeight: 400\n})\n\ntype LabelProps = Override<\n React.ComponentPropsWithoutRef<typeof StyledLabel>,\n {\n as?: 'label' | 'legend'\n required?: boolean\n }\n>\n\nexport const Label = ({\n align = 'start',\n as = 'label',\n direction = 'row',\n size = 'md',\n type = 'block',\n children,\n required,\n ...rest\n}: LabelProps) => (\n <StyledLabel\n as={as}\n size={size}\n type={type}\n align={align}\n direction={direction}\n {...rest}\n >\n {children}\n {required && <StyledAsterisk aria-hidden>*</StyledAsterisk>}\n </StyledLabel>\n)\n\nLabel.displayName = 'Label'\n"],"names":["StyledLabel","styled","getTextVariant","StyledAsterisk","Label","align","as","direction","size","type","children","required","rest","React"],"mappings":"oHAOA,MAAMA,EAAcC,EAAO,QAAS,CAClC,MAAO,WACP,WAAY,QACZ,EAAG,EACH,SAAU,CACR,KAAM,CACJ,GAAIC,EAAe,CAAE,KAAM,IAAK,CAAC,EACjC,GAAIA,EAAe,CAAE,KAAM,IAAK,CAAC,CACnC,EACA,KAAM,CACJ,MAAO,CACL,QAAS,QACT,WAAY,GACd,EACA,OAAQ,CACN,QAAS,OACT,WAAY,IACZ,SAAU,aACZ,CACF,EACA,MAAO,CAAE,MAAO,CAAA,EAAI,OAAQ,CAAG,CAAA,EAC/B,UAAW,CAAE,QAAS,CAAI,EAAA,IAAK,EAAG,CACpC,EACA,iBAAkB,CAChB,CACE,KAAM,SACN,MAAO,QACP,IAAK,CAAE,WAAY,YAAa,CAClC,EACA,CACE,KAAM,SACN,MAAO,SACP,IAAK,CAAE,WAAY,QAAS,CAC9B,EACA,CACE,KAAM,SACN,UAAW,UACX,IAAK,CAAE,cAAe,aAAc,CACtC,EACA,CACE,KAAM,SACN,UAAW,MACX,IAAK,CAAE,cAAe,KAAM,CAC9B,CACF,CACF,CAAC,EAEKC,EAAiBF,EAAO,OAAQ,CACpC,MAAO,UACP,GAAI,KACJ,WAAY,GACd,CAAC,EAUYG,EAAQ,CAAC,CACpB,MAAAC,EAAQ,QACR,GAAAC,EAAK,QACL,UAAAC,EAAY,MACZ,KAAAC,EAAO,KACP,KAAAC,EAAO,QACP,SAAAC,EACA,SAAAC,KACGC,CACL,IACEC,EAAA,cAACb,EAAA,CACC,GAAIM,EACJ,KAAME,EACN,KAAMC,EACN,MAAOJ,EACP,UAAWE,EACV,GAAGK,CAEHF,EAAAA,EACAC,GAAYE,EAAA,cAACV,EAAA,CAAe,cAAW,IAAC,GAAC,CAC5C,EAGFC,EAAM,YAAc"}
|
|
@@ -237,6 +237,11 @@ export declare const StyledLink: import("@atom-learning/stitches-react/types/sty
|
|
|
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;
|
|
@@ -232,6 +232,11 @@ export declare const StyledLi: import("@atom-learning/stitches-react/types/style
|
|
|
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;
|
|
@@ -601,6 +606,11 @@ export declare const StyledList: import("@atom-learning/stitches-react/types/sty
|
|
|
601
606
|
subjectNonVerbalReasoning: string;
|
|
602
607
|
subjectCreativeWriting: string;
|
|
603
608
|
subjectExamSkills: string;
|
|
609
|
+
subjectGcseEnglishLiterature: string;
|
|
610
|
+
subjectGcseMaths: string;
|
|
611
|
+
subjectGcseChemistry: string;
|
|
612
|
+
subjectGcsePhysics: string;
|
|
613
|
+
subjectGcseBiology: string;
|
|
604
614
|
glBlueLight: string;
|
|
605
615
|
glBluePrimary: string;
|
|
606
616
|
glBlueDark: string;
|
|
@@ -239,6 +239,11 @@ declare const StyledMarkdownContent: import("@atom-learning/stitches-react/types
|
|
|
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;
|
|
@@ -602,6 +607,11 @@ declare const StyledMarkdownContent: import("@atom-learning/stitches-react/types
|
|
|
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 StyledMarkdownEmphasis: import("@atom-learning/stitches-rea
|
|
|
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;
|
|
@@ -233,6 +233,11 @@ declare const StyledMenu: import("@atom-learning/stitches-react/types/styled-com
|
|
|
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;
|
|
@@ -604,6 +609,11 @@ export declare const NavigationMenu: {
|
|
|
604
609
|
subjectNonVerbalReasoning: string;
|
|
605
610
|
subjectCreativeWriting: string;
|
|
606
611
|
subjectExamSkills: string;
|
|
612
|
+
subjectGcseEnglishLiterature: string;
|
|
613
|
+
subjectGcseMaths: string;
|
|
614
|
+
subjectGcseChemistry: string;
|
|
615
|
+
subjectGcsePhysics: string;
|
|
616
|
+
subjectGcseBiology: string;
|
|
607
617
|
glBlueLight: string;
|
|
608
618
|
glBluePrimary: string;
|
|
609
619
|
glBlueDark: string;
|
|
@@ -972,6 +982,11 @@ export declare const NavigationMenu: {
|
|
|
972
982
|
subjectNonVerbalReasoning: string;
|
|
973
983
|
subjectCreativeWriting: string;
|
|
974
984
|
subjectExamSkills: string;
|
|
985
|
+
subjectGcseEnglishLiterature: string;
|
|
986
|
+
subjectGcseMaths: string;
|
|
987
|
+
subjectGcseChemistry: string;
|
|
988
|
+
subjectGcsePhysics: string;
|
|
989
|
+
subjectGcseBiology: string;
|
|
975
990
|
glBlueLight: string;
|
|
976
991
|
glBluePrimary: string;
|
|
977
992
|
glBlueDark: string;
|
|
@@ -1347,6 +1362,11 @@ export declare const NavigationMenu: {
|
|
|
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;
|
|
@@ -1717,6 +1737,11 @@ export declare const NavigationMenu: {
|
|
|
1717
1737
|
subjectNonVerbalReasoning: string;
|
|
1718
1738
|
subjectCreativeWriting: string;
|
|
1719
1739
|
subjectExamSkills: string;
|
|
1740
|
+
subjectGcseEnglishLiterature: string;
|
|
1741
|
+
subjectGcseMaths: string;
|
|
1742
|
+
subjectGcseChemistry: string;
|
|
1743
|
+
subjectGcsePhysics: string;
|
|
1744
|
+
subjectGcseBiology: string;
|
|
1720
1745
|
glBlueLight: string;
|
|
1721
1746
|
glBluePrimary: string;
|
|
1722
1747
|
glBlueDark: string;
|
|
@@ -2085,6 +2110,11 @@ export declare const NavigationMenu: {
|
|
|
2085
2110
|
subjectNonVerbalReasoning: string;
|
|
2086
2111
|
subjectCreativeWriting: string;
|
|
2087
2112
|
subjectExamSkills: string;
|
|
2113
|
+
subjectGcseEnglishLiterature: string;
|
|
2114
|
+
subjectGcseMaths: string;
|
|
2115
|
+
subjectGcseChemistry: string;
|
|
2116
|
+
subjectGcsePhysics: string;
|
|
2117
|
+
subjectGcseBiology: string;
|
|
2088
2118
|
glBlueLight: string;
|
|
2089
2119
|
glBluePrimary: string;
|
|
2090
2120
|
glBlueDark: string;
|
|
@@ -2458,6 +2488,11 @@ export declare const NavigationMenu: {
|
|
|
2458
2488
|
subjectNonVerbalReasoning: string;
|
|
2459
2489
|
subjectCreativeWriting: string;
|
|
2460
2490
|
subjectExamSkills: string;
|
|
2491
|
+
subjectGcseEnglishLiterature: string;
|
|
2492
|
+
subjectGcseMaths: string;
|
|
2493
|
+
subjectGcseChemistry: string;
|
|
2494
|
+
subjectGcsePhysics: string;
|
|
2495
|
+
subjectGcseBiology: string;
|
|
2461
2496
|
glBlueLight: string;
|
|
2462
2497
|
glBluePrimary: string;
|
|
2463
2498
|
glBlueDark: string;
|
|
@@ -2824,6 +2859,11 @@ export declare const NavigationMenu: {
|
|
|
2824
2859
|
subjectNonVerbalReasoning: string;
|
|
2825
2860
|
subjectCreativeWriting: string;
|
|
2826
2861
|
subjectExamSkills: string;
|
|
2862
|
+
subjectGcseEnglishLiterature: string;
|
|
2863
|
+
subjectGcseMaths: string;
|
|
2864
|
+
subjectGcseChemistry: string;
|
|
2865
|
+
subjectGcsePhysics: string;
|
|
2866
|
+
subjectGcseBiology: string;
|
|
2827
2867
|
glBlueLight: string;
|
|
2828
2868
|
glBluePrimary: string;
|
|
2829
2869
|
glBlueDark: string;
|
|
@@ -3191,6 +3231,11 @@ export declare const NavigationMenu: {
|
|
|
3191
3231
|
subjectNonVerbalReasoning: string;
|
|
3192
3232
|
subjectCreativeWriting: string;
|
|
3193
3233
|
subjectExamSkills: string;
|
|
3234
|
+
subjectGcseEnglishLiterature: string;
|
|
3235
|
+
subjectGcseMaths: string;
|
|
3236
|
+
subjectGcseChemistry: string;
|
|
3237
|
+
subjectGcsePhysics: string;
|
|
3238
|
+
subjectGcseBiology: string;
|
|
3194
3239
|
glBlueLight: string;
|
|
3195
3240
|
glBluePrimary: string;
|
|
3196
3241
|
glBlueDark: string;
|
|
@@ -233,6 +233,11 @@ declare const StyledContent: import("@atom-learning/stitches-react/types/styled-
|
|
|
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;
|
|
@@ -242,6 +242,11 @@ export declare const NavigationMenuDropdownItemTitle: import("@atom-learning/sti
|
|
|
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;
|
|
@@ -608,6 +613,11 @@ export declare const NavigationMenuDropdownItemTitle: import("@atom-learning/sti
|
|
|
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 StyledTrigger: 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;
|
|
@@ -235,6 +235,11 @@ declare const StyledLink: import("@atom-learning/stitches-react/types/styled-com
|
|
|
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;
|