@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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defaultSort, initialState, disabledRows, enableRowSelection, onRowSelectionChange, children }: {
|
|
7
7
|
columns: any;
|
|
8
8
|
defaultSort?: import("./DataTable.types").TDefaultSort;
|
|
9
|
-
children:
|
|
9
|
+
children: import("react").ReactNode;
|
|
10
10
|
initialState?: import("./DataTable.types").InitialState;
|
|
11
11
|
disabledRows?: Record<string, boolean>;
|
|
12
12
|
enableRowSelection?: boolean | ((row: import("@tanstack/table-core").Row<unknown>) => boolean);
|
|
@@ -24,9 +24,9 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
24
24
|
* you can build your own implementation with `useDataTable()` and the UI-only `Table` components.
|
|
25
25
|
*/
|
|
26
26
|
Body: ({ striped, ...props }: {
|
|
27
|
-
color?: string | undefined
|
|
28
|
-
content?: string | undefined
|
|
29
|
-
translate?: "yes" | "no" | undefined
|
|
27
|
+
color?: string | undefined;
|
|
28
|
+
content?: string | undefined;
|
|
29
|
+
translate?: "yes" | "no" | undefined;
|
|
30
30
|
css?: import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
31
31
|
sm: string;
|
|
32
32
|
md: string;
|
|
@@ -252,6 +252,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
252
252
|
subjectNonVerbalReasoning: string;
|
|
253
253
|
subjectCreativeWriting: string;
|
|
254
254
|
subjectExamSkills: string;
|
|
255
|
+
subjectGcseEnglishLiterature: string;
|
|
256
|
+
subjectGcseMaths: string;
|
|
257
|
+
subjectGcseChemistry: string;
|
|
258
|
+
subjectGcsePhysics: string;
|
|
259
|
+
subjectGcseBiology: string;
|
|
255
260
|
glBlueLight: string;
|
|
256
261
|
glBluePrimary: string;
|
|
257
262
|
glBlueDark: string;
|
|
@@ -383,105 +388,105 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
383
388
|
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
384
389
|
};
|
|
385
390
|
}> | undefined;
|
|
386
|
-
prefix?: string | undefined
|
|
387
|
-
slot?: string | undefined
|
|
391
|
+
prefix?: string | undefined;
|
|
392
|
+
slot?: string | undefined;
|
|
388
393
|
style?: import("react").CSSProperties | undefined;
|
|
389
|
-
title?: string | undefined
|
|
394
|
+
title?: string | undefined;
|
|
390
395
|
ref?: ((instance: HTMLTableSectionElement | null) => void) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
|
|
391
396
|
key?: import("react").Key | null | undefined;
|
|
392
|
-
defaultChecked?: boolean | undefined
|
|
397
|
+
defaultChecked?: boolean | undefined;
|
|
393
398
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
394
|
-
suppressContentEditableWarning?: boolean | undefined
|
|
395
|
-
suppressHydrationWarning?: boolean | undefined
|
|
396
|
-
accessKey?: string | undefined
|
|
397
|
-
autoFocus?: boolean | undefined
|
|
398
|
-
className?: string | undefined
|
|
399
|
-
contentEditable?:
|
|
400
|
-
contextMenu?: string | undefined
|
|
401
|
-
dir?: string | undefined
|
|
399
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
400
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
401
|
+
accessKey?: string | undefined;
|
|
402
|
+
autoFocus?: boolean | undefined;
|
|
403
|
+
className?: string | undefined;
|
|
404
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
405
|
+
contextMenu?: string | undefined;
|
|
406
|
+
dir?: string | undefined;
|
|
402
407
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
403
|
-
hidden?: boolean | undefined
|
|
404
|
-
id?: string | undefined
|
|
405
|
-
lang?: string | undefined
|
|
406
|
-
nonce?: string | undefined
|
|
407
|
-
placeholder?: string | undefined
|
|
408
|
+
hidden?: boolean | undefined;
|
|
409
|
+
id?: string | undefined;
|
|
410
|
+
lang?: string | undefined;
|
|
411
|
+
nonce?: string | undefined;
|
|
412
|
+
placeholder?: string | undefined;
|
|
408
413
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
409
|
-
tabIndex?: number | undefined
|
|
410
|
-
radioGroup?: string | undefined
|
|
414
|
+
tabIndex?: number | undefined;
|
|
415
|
+
radioGroup?: string | undefined;
|
|
411
416
|
role?: import("react").AriaRole | undefined;
|
|
412
|
-
about?: string | undefined
|
|
413
|
-
datatype?: string | undefined
|
|
417
|
+
about?: string | undefined;
|
|
418
|
+
datatype?: string | undefined;
|
|
414
419
|
inlist?: any;
|
|
415
|
-
property?: string | undefined
|
|
416
|
-
rel?: string | undefined
|
|
417
|
-
resource?: string | undefined
|
|
418
|
-
rev?: string | undefined
|
|
419
|
-
typeof?: string | undefined
|
|
420
|
-
vocab?: string | undefined
|
|
421
|
-
autoCapitalize?: string | undefined
|
|
422
|
-
autoCorrect?: string | undefined
|
|
423
|
-
autoSave?: string | undefined
|
|
424
|
-
itemProp?: string | undefined
|
|
425
|
-
itemScope?: boolean | undefined
|
|
426
|
-
itemType?: string | undefined
|
|
427
|
-
itemID?: string | undefined
|
|
428
|
-
itemRef?: string | undefined
|
|
429
|
-
results?: number | undefined
|
|
430
|
-
security?: string | undefined
|
|
431
|
-
unselectable?: "on" | "off" | undefined
|
|
432
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined
|
|
433
|
-
is?: string | undefined
|
|
434
|
-
"aria-activedescendant"?: string | undefined
|
|
420
|
+
property?: string | undefined;
|
|
421
|
+
rel?: string | undefined;
|
|
422
|
+
resource?: string | undefined;
|
|
423
|
+
rev?: string | undefined;
|
|
424
|
+
typeof?: string | undefined;
|
|
425
|
+
vocab?: string | undefined;
|
|
426
|
+
autoCapitalize?: string | undefined;
|
|
427
|
+
autoCorrect?: string | undefined;
|
|
428
|
+
autoSave?: string | undefined;
|
|
429
|
+
itemProp?: string | undefined;
|
|
430
|
+
itemScope?: boolean | undefined;
|
|
431
|
+
itemType?: string | undefined;
|
|
432
|
+
itemID?: string | undefined;
|
|
433
|
+
itemRef?: string | undefined;
|
|
434
|
+
results?: number | undefined;
|
|
435
|
+
security?: string | undefined;
|
|
436
|
+
unselectable?: "on" | "off" | undefined;
|
|
437
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
438
|
+
is?: string | undefined;
|
|
439
|
+
"aria-activedescendant"?: string | undefined;
|
|
435
440
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
436
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined
|
|
441
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
437
442
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
438
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined
|
|
439
|
-
"aria-colcount"?: number | undefined
|
|
440
|
-
"aria-colindex"?: number | undefined
|
|
441
|
-
"aria-colspan"?: number | undefined
|
|
442
|
-
"aria-controls"?: string | undefined
|
|
443
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined
|
|
444
|
-
"aria-describedby"?: string | undefined
|
|
445
|
-
"aria-details"?: string | undefined
|
|
443
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
444
|
+
"aria-colcount"?: number | undefined;
|
|
445
|
+
"aria-colindex"?: number | undefined;
|
|
446
|
+
"aria-colspan"?: number | undefined;
|
|
447
|
+
"aria-controls"?: string | undefined;
|
|
448
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
449
|
+
"aria-describedby"?: string | undefined;
|
|
450
|
+
"aria-details"?: string | undefined;
|
|
446
451
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
447
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined
|
|
448
|
-
"aria-errormessage"?: string | undefined
|
|
452
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
453
|
+
"aria-errormessage"?: string | undefined;
|
|
449
454
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
450
|
-
"aria-flowto"?: string | undefined
|
|
455
|
+
"aria-flowto"?: string | undefined;
|
|
451
456
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
452
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined
|
|
457
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
453
458
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
454
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined
|
|
455
|
-
"aria-keyshortcuts"?: string | undefined
|
|
456
|
-
"aria-label"?: string | undefined
|
|
457
|
-
"aria-labelledby"?: string | undefined
|
|
458
|
-
"aria-level"?: number | undefined
|
|
459
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined
|
|
459
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
460
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
461
|
+
"aria-label"?: string | undefined;
|
|
462
|
+
"aria-labelledby"?: string | undefined;
|
|
463
|
+
"aria-level"?: number | undefined;
|
|
464
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
460
465
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
461
466
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
462
467
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
463
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined
|
|
464
|
-
"aria-owns"?: string | undefined
|
|
465
|
-
"aria-placeholder"?: string | undefined
|
|
466
|
-
"aria-posinset"?: number | undefined
|
|
467
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined
|
|
468
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
469
|
+
"aria-owns"?: string | undefined;
|
|
470
|
+
"aria-placeholder"?: string | undefined;
|
|
471
|
+
"aria-posinset"?: number | undefined;
|
|
472
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
468
473
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
469
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined
|
|
474
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
470
475
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
471
|
-
"aria-roledescription"?: string | undefined
|
|
472
|
-
"aria-rowcount"?: number | undefined
|
|
473
|
-
"aria-rowindex"?: number | undefined
|
|
474
|
-
"aria-rowspan"?: number | undefined
|
|
476
|
+
"aria-roledescription"?: string | undefined;
|
|
477
|
+
"aria-rowcount"?: number | undefined;
|
|
478
|
+
"aria-rowindex"?: number | undefined;
|
|
479
|
+
"aria-rowspan"?: number | undefined;
|
|
475
480
|
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
476
|
-
"aria-setsize"?: number | undefined
|
|
477
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined
|
|
478
|
-
"aria-valuemax"?: number | undefined
|
|
479
|
-
"aria-valuemin"?: number | undefined
|
|
480
|
-
"aria-valuenow"?: number | undefined
|
|
481
|
-
"aria-valuetext"?: string | undefined
|
|
481
|
+
"aria-setsize"?: number | undefined;
|
|
482
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
483
|
+
"aria-valuemax"?: number | undefined;
|
|
484
|
+
"aria-valuemin"?: number | undefined;
|
|
485
|
+
"aria-valuenow"?: number | undefined;
|
|
486
|
+
"aria-valuetext"?: string | undefined;
|
|
482
487
|
dangerouslySetInnerHTML?: {
|
|
483
488
|
__html: string | TrustedHTML;
|
|
484
|
-
} | undefined
|
|
489
|
+
} | undefined;
|
|
485
490
|
onCopy?: import("react").ClipboardEventHandler<HTMLTableSectionElement> | undefined;
|
|
486
491
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLTableSectionElement> | undefined;
|
|
487
492
|
onCut?: import("react").ClipboardEventHandler<HTMLTableSectionElement> | undefined;
|
|
@@ -904,6 +909,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
904
909
|
subjectNonVerbalReasoning: string;
|
|
905
910
|
subjectCreativeWriting: string;
|
|
906
911
|
subjectExamSkills: string;
|
|
912
|
+
subjectGcseEnglishLiterature: string;
|
|
913
|
+
subjectGcseMaths: string;
|
|
914
|
+
subjectGcseChemistry: string;
|
|
915
|
+
subjectGcsePhysics: string;
|
|
916
|
+
subjectGcseBiology: string;
|
|
907
917
|
glBlueLight: string;
|
|
908
918
|
glBluePrimary: string;
|
|
909
919
|
glBlueDark: string;
|
|
@@ -1279,6 +1289,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
1279
1289
|
subjectNonVerbalReasoning: string;
|
|
1280
1290
|
subjectCreativeWriting: string;
|
|
1281
1291
|
subjectExamSkills: string;
|
|
1292
|
+
subjectGcseEnglishLiterature: string;
|
|
1293
|
+
subjectGcseMaths: string;
|
|
1294
|
+
subjectGcseChemistry: string;
|
|
1295
|
+
subjectGcsePhysics: string;
|
|
1296
|
+
subjectGcseBiology: string;
|
|
1282
1297
|
glBlueLight: string;
|
|
1283
1298
|
glBluePrimary: string;
|
|
1284
1299
|
glBlueDark: string;
|
|
@@ -1652,6 +1667,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
1652
1667
|
subjectNonVerbalReasoning: string;
|
|
1653
1668
|
subjectCreativeWriting: string;
|
|
1654
1669
|
subjectExamSkills: string;
|
|
1670
|
+
subjectGcseEnglishLiterature: string;
|
|
1671
|
+
subjectGcseMaths: string;
|
|
1672
|
+
subjectGcseChemistry: string;
|
|
1673
|
+
subjectGcsePhysics: string;
|
|
1674
|
+
subjectGcseBiology: string;
|
|
1655
1675
|
glBlueLight: string;
|
|
1656
1676
|
glBluePrimary: string;
|
|
1657
1677
|
glBlueDark: string;
|
|
@@ -2038,6 +2058,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
2038
2058
|
subjectNonVerbalReasoning: string;
|
|
2039
2059
|
subjectCreativeWriting: string;
|
|
2040
2060
|
subjectExamSkills: string;
|
|
2061
|
+
subjectGcseEnglishLiterature: string;
|
|
2062
|
+
subjectGcseMaths: string;
|
|
2063
|
+
subjectGcseChemistry: string;
|
|
2064
|
+
subjectGcsePhysics: string;
|
|
2065
|
+
subjectGcseBiology: string;
|
|
2041
2066
|
glBlueLight: string;
|
|
2042
2067
|
glBluePrimary: string;
|
|
2043
2068
|
glBlueDark: string;
|
|
@@ -2170,10 +2195,10 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
2170
2195
|
};
|
|
2171
2196
|
}> | undefined;
|
|
2172
2197
|
}, "size" | "as" | "type"> & {
|
|
2173
|
-
size:
|
|
2198
|
+
size: import("react").ComponentProps<typeof import("..").Text>["size"];
|
|
2174
2199
|
type?: "text" | "number" | "email" | "password" | "tel" | "url" | "search";
|
|
2175
2200
|
as?: never;
|
|
2176
|
-
}, "
|
|
2201
|
+
}, "size" | "state"> & {
|
|
2177
2202
|
size?: "sm" | "md" | "lg" | "xl" | ({
|
|
2178
2203
|
"@sm"?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
2179
2204
|
"@md"?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
@@ -2198,18 +2223,6 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
2198
2223
|
} & {
|
|
2199
2224
|
[x: string]: "error" | undefined;
|
|
2200
2225
|
}) | undefined;
|
|
2201
|
-
appearance?: "standard" | "modern" | ({
|
|
2202
|
-
"@sm"?: "standard" | "modern" | undefined;
|
|
2203
|
-
"@md"?: "standard" | "modern" | undefined;
|
|
2204
|
-
"@lg"?: "standard" | "modern" | undefined;
|
|
2205
|
-
"@xl"?: "standard" | "modern" | undefined;
|
|
2206
|
-
"@reducedMotion"?: "standard" | "modern" | undefined;
|
|
2207
|
-
"@allowMotion"?: "standard" | "modern" | undefined;
|
|
2208
|
-
"@hover"?: "standard" | "modern" | undefined;
|
|
2209
|
-
"@initial"?: "standard" | "modern" | undefined;
|
|
2210
|
-
} & {
|
|
2211
|
-
[x: string]: "standard" | "modern" | undefined;
|
|
2212
|
-
}) | undefined;
|
|
2213
2226
|
} & {
|
|
2214
2227
|
size?: "sm" | "md" | "lg";
|
|
2215
2228
|
css?: import("../..").CSS;
|
|
@@ -2217,7 +2230,7 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
2217
2230
|
defaultValue?: string;
|
|
2218
2231
|
onValueChange?: (newValue: string) => void;
|
|
2219
2232
|
clearText?: string;
|
|
2220
|
-
onChange?: (e:
|
|
2233
|
+
onChange?: (e: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
2221
2234
|
} & {
|
|
2222
2235
|
label: string;
|
|
2223
2236
|
hideLabel?: boolean;
|
|
@@ -2467,6 +2480,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
2467
2480
|
subjectNonVerbalReasoning: string;
|
|
2468
2481
|
subjectCreativeWriting: string;
|
|
2469
2482
|
subjectExamSkills: string;
|
|
2483
|
+
subjectGcseEnglishLiterature: string;
|
|
2484
|
+
subjectGcseMaths: string;
|
|
2485
|
+
subjectGcseChemistry: string;
|
|
2486
|
+
subjectGcsePhysics: string;
|
|
2487
|
+
subjectGcseBiology: string;
|
|
2470
2488
|
glBlueLight: string;
|
|
2471
2489
|
glBluePrimary: string;
|
|
2472
2490
|
glBlueDark: string;
|
|
@@ -2844,6 +2862,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
2844
2862
|
subjectNonVerbalReasoning: string;
|
|
2845
2863
|
subjectCreativeWriting: string;
|
|
2846
2864
|
subjectExamSkills: string;
|
|
2865
|
+
subjectGcseEnglishLiterature: string;
|
|
2866
|
+
subjectGcseMaths: string;
|
|
2867
|
+
subjectGcseChemistry: string;
|
|
2868
|
+
subjectGcsePhysics: string;
|
|
2869
|
+
subjectGcseBiology: string;
|
|
2847
2870
|
glBlueLight: string;
|
|
2848
2871
|
glBluePrimary: string;
|
|
2849
2872
|
glBlueDark: string;
|
|
@@ -3234,6 +3257,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
3234
3257
|
subjectNonVerbalReasoning: string;
|
|
3235
3258
|
subjectCreativeWriting: string;
|
|
3236
3259
|
subjectExamSkills: string;
|
|
3260
|
+
subjectGcseEnglishLiterature: string;
|
|
3261
|
+
subjectGcseMaths: string;
|
|
3262
|
+
subjectGcseChemistry: string;
|
|
3263
|
+
subjectGcsePhysics: string;
|
|
3264
|
+
subjectGcseBiology: string;
|
|
3237
3265
|
glBlueLight: string;
|
|
3238
3266
|
glBluePrimary: string;
|
|
3239
3267
|
glBlueDark: string;
|
|
@@ -3393,7 +3421,7 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
3393
3421
|
* If you need more customisation, you can compose your own implentation, `asyncDataState`
|
|
3394
3422
|
* can be retrieved from `useDataTable`
|
|
3395
3423
|
*/
|
|
3396
|
-
Loading: (props:
|
|
3424
|
+
Loading: (props: import("react").ComponentProps<import("@atom-learning/stitches-react/types/styled-component").StyledComponent<({ css, message, size, ...props }: {
|
|
3397
3425
|
message?: string;
|
|
3398
3426
|
size?: "sm" | "md" | "lg";
|
|
3399
3427
|
css?: import("../..").CSS;
|
|
@@ -3630,6 +3658,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
3630
3658
|
subjectNonVerbalReasoning: string;
|
|
3631
3659
|
subjectCreativeWriting: string;
|
|
3632
3660
|
subjectExamSkills: string;
|
|
3661
|
+
subjectGcseEnglishLiterature: string;
|
|
3662
|
+
subjectGcseMaths: string;
|
|
3663
|
+
subjectGcseChemistry: string;
|
|
3664
|
+
subjectGcsePhysics: string;
|
|
3665
|
+
subjectGcseBiology: string;
|
|
3633
3666
|
glBlueLight: string;
|
|
3634
3667
|
glBluePrimary: string;
|
|
3635
3668
|
glBlueDark: string;
|
|
@@ -3773,7 +3806,7 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
3773
3806
|
*
|
|
3774
3807
|
*/
|
|
3775
3808
|
Error: ({ children }: {
|
|
3776
|
-
children: (retry?: import("./DataTable.types").DataTableContextType["runAsyncData"]) =>
|
|
3809
|
+
children: (retry?: import("./DataTable.types").DataTableContextType["runAsyncData"]) => import("react").ReactElement;
|
|
3777
3810
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
3778
3811
|
/** Empty state implementation for `DataTable`.
|
|
3779
3812
|
*
|
|
@@ -4021,6 +4054,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
4021
4054
|
subjectNonVerbalReasoning: string;
|
|
4022
4055
|
subjectCreativeWriting: string;
|
|
4023
4056
|
subjectExamSkills: string;
|
|
4057
|
+
subjectGcseEnglishLiterature: string;
|
|
4058
|
+
subjectGcseMaths: string;
|
|
4059
|
+
subjectGcseChemistry: string;
|
|
4060
|
+
subjectGcsePhysics: string;
|
|
4061
|
+
subjectGcseBiology: string;
|
|
4024
4062
|
glBlueLight: string;
|
|
4025
4063
|
glBluePrimary: string;
|
|
4026
4064
|
glBlueDark: string;
|
|
@@ -4388,6 +4426,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
4388
4426
|
subjectNonVerbalReasoning: string;
|
|
4389
4427
|
subjectCreativeWriting: string;
|
|
4390
4428
|
subjectExamSkills: string;
|
|
4429
|
+
subjectGcseEnglishLiterature: string;
|
|
4430
|
+
subjectGcseMaths: string;
|
|
4431
|
+
subjectGcseChemistry: string;
|
|
4432
|
+
subjectGcsePhysics: string;
|
|
4433
|
+
subjectGcseBiology: string;
|
|
4391
4434
|
glBlueLight: string;
|
|
4392
4435
|
glBluePrimary: string;
|
|
4393
4436
|
glBlueDark: string;
|
|
@@ -4536,31 +4579,31 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
4536
4579
|
checked: boolean | "indeterminate";
|
|
4537
4580
|
onCheckedChange: (value: boolean) => void;
|
|
4538
4581
|
label?: string;
|
|
4539
|
-
}) =>
|
|
4582
|
+
}) => import("react").ReactElement;
|
|
4540
4583
|
/** Empty state implementation for `DataTable`.
|
|
4541
4584
|
*
|
|
4542
4585
|
* Renders a checkbox on the header, allowing for individual selection/deselection of any selectable row
|
|
4543
4586
|
*/
|
|
4544
4587
|
BulkActions: (({ children, ...rest }: {
|
|
4545
4588
|
css?: import("../..").CSS;
|
|
4546
|
-
children:
|
|
4547
|
-
children:
|
|
4548
|
-
}) =>
|
|
4589
|
+
children: import("react").ReactElement<import("react").ComponentProps<({ children }: {
|
|
4590
|
+
children: import("react").ReactElement;
|
|
4591
|
+
}) => import("react").ReactElement | null>> | import("react").ReactElement<import("react").ComponentProps<({ cancelLabel, children }: {
|
|
4549
4592
|
cancelLabel?: string;
|
|
4550
|
-
children:
|
|
4551
|
-
}) => import("react").JSX.Element | null>> | [
|
|
4552
|
-
children:
|
|
4553
|
-
}) =>
|
|
4593
|
+
children: import("react").ReactNode;
|
|
4594
|
+
}) => import("react").JSX.Element | null>> | [import("react").ReactElement<import("react").ComponentProps<({ children }: {
|
|
4595
|
+
children: import("react").ReactElement;
|
|
4596
|
+
}) => import("react").ReactElement | null>>, import("react").ReactElement<import("react").ComponentProps<({ cancelLabel, children }: {
|
|
4554
4597
|
cancelLabel?: string;
|
|
4555
|
-
children:
|
|
4598
|
+
children: import("react").ReactNode;
|
|
4556
4599
|
}) => import("react").JSX.Element | null>>];
|
|
4557
4600
|
}) => import("react").JSX.Element) & {
|
|
4558
4601
|
DefaultActions: ({ children }: {
|
|
4559
|
-
children:
|
|
4560
|
-
}) =>
|
|
4602
|
+
children: import("react").ReactElement;
|
|
4603
|
+
}) => import("react").ReactElement | null;
|
|
4561
4604
|
SelectedRowActions: ({ cancelLabel, children }: {
|
|
4562
4605
|
cancelLabel?: string;
|
|
4563
|
-
children:
|
|
4606
|
+
children: import("react").ReactNode;
|
|
4564
4607
|
}) => import("react").JSX.Element | null;
|
|
4565
4608
|
};
|
|
4566
4609
|
};
|
|
@@ -236,6 +236,11 @@ declare const PendingState: import("@atom-learning/stitches-react/types/styled-c
|
|
|
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;
|
|
@@ -233,6 +233,11 @@ declare const StyledNav: import("@atom-learning/stitches-react/types/styled-comp
|
|
|
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;
|
|
@@ -3,7 +3,7 @@ import { DateInputProps } from '../../components/date-input';
|
|
|
3
3
|
import { FieldElementWrapperProps } from '../../components/field-wrapper';
|
|
4
4
|
type DateFieldProps = DateInputProps & FieldElementWrapperProps;
|
|
5
5
|
export declare const DateField: {
|
|
6
|
-
({ css, hideLabel, label, name, validation, prompt, description,
|
|
6
|
+
({ css, hideLabel, label, name, validation, prompt, description, ...remainingProps }: DateFieldProps): 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 u}from"react-hook-form";import{DateInput as F}from"../date-input/DateInput.js";import{FieldWrapper as b}from"../field-wrapper/FieldWrapper.js";import"../field-wrapper/InlineFieldWrapper.js";import"../form/Form.js";import{useFieldError as g}from"../form/useFieldError.js";const a=({css:m,hideLabel:l,label:p,name:e,validation:r,prompt:d,description:n,...s})=>{const{register:t,trigger:c}=u(),{error:o}=g(e),f=r?t(r):t;return i.createElement(b,{css:m,description:n,error:o,fieldId:e,hideLabel:l,label:p,prompt:d,required:Boolean(r==null?void 0:r.required)},i.createElement(F,{id:e,name:e,ref:f,...o&&{state:"error"},...s,revalidate:c}))};a.displayName="DateField";export{a as DateField};
|
|
2
2
|
//# sourceMappingURL=DateField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateField.js","sources":["../../../src/components/date-field/DateField.tsx"],"sourcesContent":["import * as React from 'react'\nimport { useFormContext } from 'react-hook-form'\n\nimport { DateInput, DateInputProps } from '~/components/date-input'\nimport {\n FieldElementWrapperProps,\n FieldWrapper\n} from '~/components/field-wrapper'\nimport { useFieldError } from '~/components/form'\n\ntype DateFieldProps = DateInputProps & FieldElementWrapperProps\n\nexport const DateField = ({\n css,\n hideLabel,\n label,\n name,\n validation,\n prompt,\n description,\n
|
|
1
|
+
{"version":3,"file":"DateField.js","sources":["../../../src/components/date-field/DateField.tsx"],"sourcesContent":["import * as React from 'react'\nimport { useFormContext } from 'react-hook-form'\n\nimport { DateInput, DateInputProps } from '~/components/date-input'\nimport {\n FieldElementWrapperProps,\n FieldWrapper\n} from '~/components/field-wrapper'\nimport { useFieldError } from '~/components/form'\n\ntype DateFieldProps = DateInputProps & FieldElementWrapperProps\n\nexport const DateField = ({\n css,\n hideLabel,\n label,\n name,\n validation,\n prompt,\n description,\n ...remainingProps\n}: DateFieldProps) => {\n const { register, trigger } = 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 <DateInput\n id={name}\n name={name}\n ref={ref}\n {...(error && { state: 'error' })}\n {...remainingProps}\n revalidate={trigger}\n />\n </FieldWrapper>\n )\n}\n\nDateField.displayName = 'DateField'\n"],"names":["DateField","css","hideLabel","label","name","validation","prompt","description","remainingProps","register","trigger","useFormContext","error","useFieldError","ref","React","FieldWrapper","DateInput"],"mappings":"gUAYO,MAAMA,EAAY,CAAC,CACxB,IAAAC,EACA,UAAAC,EACA,MAAAC,EACA,KAAAC,EACA,WAAAC,EACA,OAAAC,EACA,YAAAC,KACGC,CACL,IAAsB,CACpB,KAAM,CAAE,SAAAC,EAAU,QAAAC,CAAQ,EAAIC,EACxB,EAAA,CAAE,MAAAC,CAAM,EAAIC,EAAcT,CAAI,EAC9BU,EAAMT,EAAaI,EAASJ,CAAU,EAAII,EAEhD,OACEM,EAAA,cAACC,EAAA,CACC,IAAKf,EACL,YAAaM,EACb,MAAOK,EACP,QAASR,EACT,UAAWF,EACX,MAAOC,EACP,OAAQG,EACR,SAAU,QAAQD,GAAA,KAAA,OAAAA,EAAY,QAAQ,CAAA,EAEtCU,EAAA,cAACE,EAAA,CACC,GAAIb,EACJ,KAAMA,EACN,IAAKU,EACJ,GAAIF,GAAS,CAAE,MAAO,OAAQ,EAC9B,GAAGJ,EACJ,WAAYE,CAAAA,CACd,CACF,CAEJ,EAEAV,EAAU,YAAc"}
|
|
@@ -231,6 +231,11 @@ export declare const Dialog: import("@atom-learning/stitches-react/types/styled-
|
|
|
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;
|
|
@@ -595,6 +600,11 @@ export declare const Dialog: import("@atom-learning/stitches-react/types/styled-
|
|
|
595
600
|
subjectNonVerbalReasoning: string;
|
|
596
601
|
subjectCreativeWriting: string;
|
|
597
602
|
subjectExamSkills: string;
|
|
603
|
+
subjectGcseEnglishLiterature: string;
|
|
604
|
+
subjectGcseMaths: string;
|
|
605
|
+
subjectGcseChemistry: string;
|
|
606
|
+
subjectGcsePhysics: string;
|
|
607
|
+
subjectGcseBiology: string;
|
|
598
608
|
glBlueLight: string;
|
|
599
609
|
glBluePrimary: string;
|
|
600
610
|
glBlueDark: string;
|
|
@@ -958,6 +968,11 @@ export declare const Dialog: import("@atom-learning/stitches-react/types/styled-
|
|
|
958
968
|
subjectNonVerbalReasoning: string;
|
|
959
969
|
subjectCreativeWriting: string;
|
|
960
970
|
subjectExamSkills: string;
|
|
971
|
+
subjectGcseEnglishLiterature: string;
|
|
972
|
+
subjectGcseMaths: string;
|
|
973
|
+
subjectGcseChemistry: string;
|
|
974
|
+
subjectGcsePhysics: string;
|
|
975
|
+
subjectGcseBiology: string;
|
|
961
976
|
glBlueLight: string;
|
|
962
977
|
glBluePrimary: string;
|
|
963
978
|
glBlueDark: string;
|
|
@@ -1322,6 +1337,11 @@ export declare const Dialog: import("@atom-learning/stitches-react/types/styled-
|
|
|
1322
1337
|
subjectNonVerbalReasoning: string;
|
|
1323
1338
|
subjectCreativeWriting: string;
|
|
1324
1339
|
subjectExamSkills: string;
|
|
1340
|
+
subjectGcseEnglishLiterature: string;
|
|
1341
|
+
subjectGcseMaths: string;
|
|
1342
|
+
subjectGcseChemistry: string;
|
|
1343
|
+
subjectGcsePhysics: string;
|
|
1344
|
+
subjectGcseBiology: string;
|
|
1325
1345
|
glBlueLight: string;
|
|
1326
1346
|
glBluePrimary: string;
|
|
1327
1347
|
glBlueDark: string;
|
|
@@ -1689,6 +1709,11 @@ export declare const Dialog: import("@atom-learning/stitches-react/types/styled-
|
|
|
1689
1709
|
subjectNonVerbalReasoning: string;
|
|
1690
1710
|
subjectCreativeWriting: string;
|
|
1691
1711
|
subjectExamSkills: string;
|
|
1712
|
+
subjectGcseEnglishLiterature: string;
|
|
1713
|
+
subjectGcseMaths: string;
|
|
1714
|
+
subjectGcseChemistry: string;
|
|
1715
|
+
subjectGcsePhysics: string;
|
|
1716
|
+
subjectGcseBiology: string;
|
|
1692
1717
|
glBlueLight: string;
|
|
1693
1718
|
glBluePrimary: string;
|
|
1694
1719
|
glBlueDark: string;
|
|
@@ -1824,8 +1849,8 @@ export declare const Dialog: import("@atom-learning/stitches-react/types/styled-
|
|
|
1824
1849
|
closeDialogText?: string;
|
|
1825
1850
|
showCloseButton?: boolean;
|
|
1826
1851
|
}) => import("react").JSX.Element;
|
|
1827
|
-
Heading: ({ css, ...props }:
|
|
1828
|
-
Footer: ({ css, ...props }:
|
|
1852
|
+
Heading: ({ css, ...props }: import("react").ComponentProps<typeof import("..").Heading>) => import("react").JSX.Element;
|
|
1853
|
+
Footer: ({ css, ...props }: import("react").ComponentProps<typeof import("..").Flex>) => import("react").JSX.Element;
|
|
1829
1854
|
Description: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
1830
1855
|
Title: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
1831
1856
|
Trigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -231,6 +231,11 @@ export declare const DialogBackground: import("@atom-learning/stitches-react/typ
|
|
|
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;
|
|
@@ -594,6 +599,11 @@ export declare const DialogBackground: import("@atom-learning/stitches-react/typ
|
|
|
594
599
|
subjectNonVerbalReasoning: string;
|
|
595
600
|
subjectCreativeWriting: string;
|
|
596
601
|
subjectExamSkills: string;
|
|
602
|
+
subjectGcseEnglishLiterature: string;
|
|
603
|
+
subjectGcseMaths: string;
|
|
604
|
+
subjectGcseChemistry: string;
|
|
605
|
+
subjectGcsePhysics: string;
|
|
606
|
+
subjectGcseBiology: string;
|
|
597
607
|
glBlueLight: string;
|
|
598
608
|
glBluePrimary: string;
|
|
599
609
|
glBlueDark: string;
|
|
@@ -231,6 +231,11 @@ export declare const DialogClose: 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;
|
|
@@ -234,6 +234,11 @@ declare const StyledDialogContent: import("@atom-learning/stitches-react/types/s
|
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Dismissible: {
|
|
2
|
-
({ disabled, dismissed, onDismiss, ...rest }:
|
|
2
|
+
({ disabled, dismissed, onDismiss, ...rest }: import("react").PropsWithChildren<import("./DismissibleRoot").IDismissibleRootInternalProps & import("./DismissibleRoot").IDismissibleRootProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
|
-
Trigger: ({ asChild, ...rest }:
|
|
5
|
+
Trigger: ({ asChild, ...rest }: import("react").PropsWithChildren<import("./DismissibleTrigger").IDismissibleTriggerProps>) => import("react").JSX.Element;
|
|
6
6
|
};
|