@atom-learning/components 4.0.0-beta.9 → 4.1.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 +212 -0
- package/dist/components/accordion/Accordion.d.ts +294 -294
- package/dist/components/accordion/AccordionContent.d.ts +292 -292
- package/dist/components/accordion/AccordionItem.d.ts +292 -292
- package/dist/components/accordion/AccordionTrigger.d.ts +294 -659
- package/dist/components/accordion/AccordionTrigger.js +1 -1
- package/dist/components/accordion/AccordionTrigger.js.map +1 -1
- package/dist/components/action-icon/ActionIcon.d.ts +294 -294
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +645 -647
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +292 -292
- package/dist/components/alert-dialog/alert-context/AlertContext.d.ts +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialog.d.ts +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.d.ts +1 -1
- package/dist/components/alert-dialog/alert-context/reducer.d.ts +2 -2
- package/dist/components/alert-dialog/alert-context/types.d.ts +3 -3
- package/dist/components/avatar/Avatar.d.ts +589 -961
- package/dist/components/badge/Badge.context.d.ts +2 -2
- package/dist/components/badge/Badge.d.ts +1824 -1826
- package/dist/components/badge/BadgeIcon.d.ts +585 -585
- package/dist/components/badge/BadgeText.d.ts +589 -589
- package/dist/components/banner/Banner.d.ts +0 -1
- package/dist/components/banner/BannerContainer.d.ts +588 -588
- package/dist/components/banner/BannerContext.d.ts +2 -2
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +1387 -2908
- package/dist/components/banner/banner-regular/BannerRegularContainer.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +584 -584
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +588 -588
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +1388 -2537
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +293 -293
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +587 -587
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +588 -588
- package/dist/components/box/Box.d.ts +292 -292
- package/dist/components/button/Button.d.ts +293 -293
- package/dist/components/calendar/Calendar.d.ts +2 -2
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +292 -292
- package/dist/components/carousel/Carousel.d.ts +935 -1304
- package/dist/components/carousel/CarouselPagination.d.ts +293 -294
- package/dist/components/carousel/CarouselSlide.d.ts +293 -293
- package/dist/components/carousel/CarouselSlider.d.ts +293 -294
- package/dist/components/checkbox/Checkbox.d.ts +292 -292
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +895 -895
- package/dist/components/checkbox-group/CheckboxGroup.types.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroupAllItem.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroupItem.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroupSub.d.ts +1 -1
- package/dist/components/checkbox-group/context/CheckboxGroupChecked.context.d.ts +2 -2
- package/dist/components/checkbox-group/context/CheckboxGroupMounted.context.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +1321 -1321
- package/dist/components/checkbox-tree/CheckboxTreeCollapsible.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTreeCollapsibleContent.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTreeCollapsibleTrigger.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTreeItem.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTreeItemContent.d.ts +1 -1
- package/dist/components/chip/Chip.d.ts +2058 -2058
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/chip/ChipGroup.d.ts +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +883 -1254
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupRoot.d.ts +1 -1
- package/dist/components/chip-dismissible-group/index.d.ts +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +883 -1254
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +1 -1
- package/dist/components/chip-toggle-group/index.d.ts +1 -1
- package/dist/components/combobox/Combobox.d.ts +1464 -1465
- package/dist/components/combobox/ComboboxInput.d.ts +294 -294
- package/dist/components/combobox/ComboboxList.d.ts +293 -293
- package/dist/components/combobox/ComboboxOption.d.ts +293 -293
- package/dist/components/combobox/ComboboxPopover.d.ts +293 -293
- package/dist/components/create-password-field/CreatePasswordField.d.ts +2 -2
- package/dist/components/data-table/DataTable.d.ts +3354 -3373
- package/dist/components/data-table/DataTable.types.d.ts +7 -7
- package/dist/components/data-table/DataTableBody.d.ts +1 -1
- package/dist/components/data-table/DataTableBulkActions.d.ts +4 -7
- package/dist/components/data-table/DataTableContext.d.ts +1 -1
- package/dist/components/data-table/DataTableDataCell.d.ts +1 -1
- package/dist/components/data-table/DataTableEmptyState.d.ts +1 -1
- package/dist/components/data-table/DataTableError.d.ts +1 -1
- package/dist/components/data-table/DataTableGlobalFilter.d.ts +1 -1
- package/dist/components/data-table/DataTableHead.d.ts +1 -1
- package/dist/components/data-table/DataTableHeaderCell.d.ts +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +295 -295
- package/dist/components/data-table/DataTableMetaData.d.ts +7 -7
- package/dist/components/data-table/DataTableRow.d.ts +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.d.ts +2 -2
- package/dist/components/data-table/DataTableSelectAllRowsCheckbox.d.ts +1 -1
- package/dist/components/data-table/DataTableTable.d.ts +1 -1
- package/dist/components/data-table/DataTableTable.js +1 -1
- package/dist/components/data-table/DataTableTable.js.map +1 -1
- package/dist/components/data-table/drag-and-drop/DragAndDropTable.d.ts +1 -1
- package/dist/components/data-table/drag-and-drop/DragAndDropTableBody.d.ts +1 -1
- package/dist/components/data-table/drag-and-drop/DragAndDropTableRow.d.ts +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +293 -293
- package/dist/components/date-field/DateField.d.ts +1 -1
- package/dist/components/date-input/DateInput.d.ts +1 -1
- package/dist/components/dialog/Dialog.d.ts +1465 -2211
- package/dist/components/dialog/DialogBackground.d.ts +584 -584
- package/dist/components/dialog/DialogClose.d.ts +292 -293
- package/dist/components/dialog/DialogContent.d.ts +294 -294
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/dialog/DialogContent.js.map +1 -1
- package/dist/components/dismissible/index.d.ts +0 -1
- package/dist/components/dismissible-group/DismissibleGroupItem.d.ts +1 -1
- package/dist/components/dismissible-group/index.d.ts +0 -1
- package/dist/components/divider/Divider.d.ts +292 -292
- package/dist/components/drawer/Drawer.context.d.ts +1 -1
- package/dist/components/drawer/Drawer.d.ts +1171 -1928
- package/dist/components/drawer/DrawerClose.d.ts +1 -1
- package/dist/components/drawer/DrawerContent.d.ts +293 -293
- package/dist/components/drawer/DrawerFooter.d.ts +292 -292
- package/dist/components/drawer/DrawerHeader.d.ts +292 -292
- package/dist/components/drawer/DrawerMain.d.ts +292 -292
- package/dist/components/drawer/DrawerOverlay.d.ts +292 -293
- package/dist/components/drawer/DrawerTrigger.d.ts +292 -293
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +1462 -1826
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +292 -293
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +292 -293
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.d.ts +1 -366
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +292 -293
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +292 -293
- package/dist/components/empty-state/EmptyState.context.d.ts +1 -1
- package/dist/components/empty-state/EmptyState.d.ts +2058 -2058
- package/dist/components/empty-state/EmptyStateBody.d.ts +589 -589
- package/dist/components/empty-state/EmptyStateBody.js +1 -1
- package/dist/components/empty-state/EmptyStateBody.js.map +1 -1
- package/dist/components/empty-state/EmptyStateImage.d.ts +587 -587
- package/dist/components/empty-state/EmptyStateTitle.d.ts +294 -294
- package/dist/components/empty-state/EmptyStateTitle.js +1 -1
- package/dist/components/empty-state/EmptyStateTitle.js.map +1 -1
- package/dist/components/field-wrapper/FieldDescription.d.ts +1 -1
- package/dist/components/field-wrapper/FieldWrapper.d.ts +2 -2
- package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
- package/dist/components/file-input/FileInput.d.ts +1 -1
- package/dist/components/flex/Flex.d.ts +295 -295
- package/dist/components/form/Form.d.ts +293 -293
- package/dist/components/form/validation.d.ts +5 -5
- package/dist/components/grid/Grid.d.ts +293 -293
- package/dist/components/heading/Heading.d.ts +294 -294
- package/dist/components/icon/Icon.d.ts +293 -293
- package/dist/components/image/Image.d.ts +293 -293
- package/dist/components/index.d.ts +1 -0
- package/dist/components/inline-message/InlineMessage.d.ts +588 -588
- package/dist/components/inline-message/InlineMessage.types.d.ts +1 -1
- package/dist/components/input/Input.d.ts +882 -882
- 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/keyboard-shortcut/KeyboardShortcut.d.ts +760 -0
- package/dist/components/keyboard-shortcut/KeyboardShortcut.js +2 -0
- package/dist/components/keyboard-shortcut/KeyboardShortcut.js.map +1 -0
- package/dist/components/keyboard-shortcut/index.d.ts +1123 -0
- package/dist/components/keyboard-shortcut/index.js +2 -0
- package/dist/components/keyboard-shortcut/index.js.map +1 -0
- package/dist/components/label/Label.d.ts +293 -293
- package/dist/components/link/Link.d.ts +294 -294
- package/dist/components/list/List.d.ts +587 -587
- package/dist/components/loader/Loader.d.ts +1 -1
- package/dist/components/markdown-content/MarkdownContent.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownCode.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +293 -293
- package/dist/components/markdown-content/components/MarkdownHeading.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownImage.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownInlineCode.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownLink.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownList.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownListItem.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownParagraph.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownStrong.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownText.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownThematicBreak.d.ts +1 -1
- package/dist/components/navigation/NavigationMenu.d.ts +2783 -2075
- package/dist/components/navigation/NavigationMenu.styles.d.ts +1 -1
- package/dist/components/navigation/NavigationMenu.styles.js +1 -1
- package/dist/components/navigation/NavigationMenu.styles.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdown.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +293 -293
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +587 -587
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +292 -292
- package/dist/components/navigation/NavigationMenuLink.d.ts +292 -292
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +3308 -3310
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.d.ts +2 -2
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.js +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordion.d.ts +2 -2
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +293 -293
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +293 -293
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +585 -585
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +293 -293
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItemContent.d.ts +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +293 -293
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +292 -293
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +588 -588
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.js +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.js.map +1 -1
- package/dist/components/notification-badge/NotificationBadge.d.ts +1 -1
- package/dist/components/number-input/NumberInputStepper.d.ts +1 -1
- package/dist/components/pagination/Pagination.d.ts +1 -3
- package/dist/components/pagination/PaginationItems.d.ts +0 -1
- package/dist/components/pagination/PaginationNextButton.d.ts +587 -587
- package/dist/components/pagination/PaginationPopover.js +1 -1
- package/dist/components/pagination/PaginationPopover.js.map +1 -1
- package/dist/components/pagination/PaginationPreviousButton.d.ts +587 -587
- package/dist/components/pagination/types.d.ts +3 -4
- package/dist/components/password-field/PasswordField.d.ts +1 -1
- package/dist/components/password-input/PasswordInput.d.ts +1 -1
- package/dist/components/popover/Popover.d.ts +586 -586
- package/dist/components/popover/PopoverContent.d.ts +293 -293
- package/dist/components/progress-bar/ProgressBar.d.ts +293 -293
- package/dist/components/radio-button/RadioButton.d.ts +293 -293
- package/dist/components/radio-button/RadioButtonGroup.d.ts +292 -293
- package/dist/components/radio-button-field/RadioButtonField.d.ts +299 -299
- package/dist/components/radio-button-field/RadioField.d.ts +1 -1
- package/dist/components/radio-card/RadioCard.d.ts +293 -293
- package/dist/components/radio-card/RadioCardGroup.d.ts +1 -1
- package/dist/components/radio-card/RadioCardGroup.js.map +1 -1
- package/dist/components/search-field/SearchField.d.ts +1 -1
- package/dist/components/search-input/SearchInput.d.ts +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 +592 -2468
- package/dist/components/section-message/SectionMessageContext.d.ts +2 -2
- package/dist/components/section-message/SectionMessageIcon.d.ts +1 -1
- package/dist/components/section-message/SectionMessageTitle.js.map +1 -1
- package/dist/components/select/Select.d.ts +293 -293
- package/dist/components/select-field/SelectField.d.ts +1 -1
- package/dist/components/side-bar/SideBar.d.ts +2341 -2341
- package/dist/components/side-bar/SideBarComponents.d.ts +2048 -2049
- package/dist/components/side-bar/SideBarContext.d.ts +2 -2
- package/dist/components/slider/Slider.d.ts +294 -294
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/slider/SliderSteps.d.ts +2 -2
- package/dist/components/slider/SliderValue.d.ts +2 -2
- package/dist/components/slider-field/SliderField.d.ts +1 -1
- package/dist/components/sortable/Handle.d.ts +588 -588
- package/dist/components/sortable/SortableHandle.d.ts +1 -1
- package/dist/components/sortable/SortableItem.d.ts +1 -1
- package/dist/components/sortable/SortableRoot.d.ts +1 -1
- package/dist/components/sortable/index.d.ts +0 -1
- package/dist/components/spacer/Spacer.d.ts +292 -292
- package/dist/components/stack-content/StackContent.d.ts +293 -293
- package/dist/components/stepper/Stepper.d.ts +2 -786
- package/dist/components/stepper/StepperStepBullet.d.ts +587 -587
- package/dist/components/stepper/StepperStepContainer.d.ts +587 -587
- package/dist/components/stepper/StepperStepLabel.d.ts +587 -588
- package/dist/components/stepper/types.d.ts +3 -3
- package/dist/components/switch/Switch.d.ts +293 -293
- package/dist/components/table/Table.d.ts +2342 -2344
- package/dist/components/table/Table.js +1 -1
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableBody.d.ts +293 -293
- package/dist/components/table/TableCell.d.ts +292 -292
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableCell.js.map +1 -1
- package/dist/components/table/TableFooter.d.ts +292 -292
- package/dist/components/table/TableFooterCell.d.ts +292 -292
- package/dist/components/table/TableHeader.d.ts +293 -293
- package/dist/components/table/TableHeaderCell.d.ts +292 -292
- package/dist/components/table/TableHeaderCell.js +1 -1
- package/dist/components/table/TableHeaderCell.js.map +1 -1
- package/dist/components/table/TableRow.d.ts +292 -292
- package/dist/components/table/TableStickyColumnsContainer.d.ts +3 -5
- package/dist/components/table/TableStickyColumnsContainer.js +1 -1
- package/dist/components/table/TableStickyColumnsContainer.js.map +1 -1
- package/dist/components/table/useStickyColumnsCss.d.ts +1 -3
- package/dist/components/table/useStickyColumnsCss.js +1 -1
- package/dist/components/table/useStickyColumnsCss.js.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +1291 -1295
- package/dist/components/tabs/TabsContent.d.ts +292 -293
- package/dist/components/tabs/TabsTrigger.d.ts +292 -292
- package/dist/components/tabs/TabsTrigger.js +1 -1
- package/dist/components/tabs/TabsTrigger.js.map +1 -1
- package/dist/components/tabs/TabsTriggerList.d.ts +294 -659
- package/dist/components/text/Text.d.ts +295 -295
- package/dist/components/text/Text.js +1 -1
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +293 -293
- package/dist/components/textarea-field/TextareaField.d.ts +1 -1
- package/dist/components/tile/Tile.d.ts +293 -293
- package/dist/components/tile/TileGroup.d.ts +295 -295
- package/dist/components/tile-interactive/TileInteractive.d.ts +586 -586
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +879 -879
- package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +1 -1
- package/dist/components/tile-toggle-group/index.d.ts +1 -1
- package/dist/components/toast/Toast.d.ts +589 -961
- package/dist/components/toast/ToastProvider.d.ts +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +584 -584
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +584 -585
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +294 -294
- package/dist/components/toggle-group/index.d.ts +1760 -1761
- package/dist/components/tooltip/Tooltip.d.ts +585 -585
- package/dist/components/tooltip/TooltipContent.d.ts +293 -293
- package/dist/components/top-bar/TopBar.d.ts +1839 -1477
- package/dist/components/top-bar/TopBar.js +1 -1
- package/dist/components/top-bar/TopBar.js.map +1 -1
- package/dist/components/top-bar/TopBarActionIcon.d.ts +1 -1
- package/dist/components/top-bar/TopBarBrand.d.ts +881 -890
- package/dist/components/top-bar/TopBarBrand.js +1 -1
- package/dist/components/top-bar/TopBarBrand.js.map +1 -1
- package/dist/components/tree/Tree.d.ts +3705 -3707
- package/dist/components/tree/TreeCollapsible.d.ts +293 -293
- package/dist/components/tree/TreeCollapsibleContent.d.ts +293 -293
- package/dist/components/tree/TreeCollapsibleTrigger.d.ts +1 -1
- package/dist/components/tree/TreeIcon.d.ts +585 -585
- package/dist/components/tree/TreeItem.d.ts +1 -1
- package/dist/components/tree/TreeItemContent.d.ts +296 -296
- package/dist/components/tree/TreeList.d.ts +1 -1
- package/dist/components/tree/TreeListItem.d.ts +296 -296
- package/dist/components/tree/TreeText.d.ts +1 -1
- package/dist/components/video/Video.d.ts +293 -293
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +295 -295
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
- 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 +2446 -2444
- package/dist/types/navigatorActions.types.d.ts +1 -1
- package/dist/types/polymorphicComponentProp.types.d.ts +5 -6
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +1 -297
- package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
- package/dist/utilities/hooks/useIsMountedRef.d.ts +0 -1
- package/dist/utilities/hooks/useResizeObserver.d.ts +2 -2
- package/dist/utilities/hooks/useScrollPosition.d.ts +2 -2
- package/dist/utilities/hooks/useSize.d.ts +2 -2
- package/dist/utilities/hooks/useWindowScrollPosition.d.ts +2 -2
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +584 -584
- package/dist/utilities/optional-tooltip-wrapper/OptionalTooltipWrapper.d.ts +1 -1
- package/dist/utilities/optional-visually-hidden-wrapper/OptionalVisuallyHiddenWrapper.d.ts +1 -1
- package/dist/utilities/radix-overrides/toggle-group/ToggleGroupRoot.d.ts +2 -2
- package/dist/utilities/radix-overrides/toggle-group/index.d.ts +1 -2
- package/dist/utilities/style/capsize.d.ts +1 -1
- package/dist/utilities/style/encode-background-icon.d.ts +1 -1
- package/dist/utilities/style/focus-visible-style-block.d.ts +4 -3
- package/dist/utilities/style/focus-visible-style-block.js +1 -1
- package/dist/utilities/style/focus-visible-style-block.js.map +1 -1
- package/dist/utilities/style/keyframe-animations.d.ts +2 -2
- package/dist/utilities/types.d.ts +1 -1
- package/dist/utilities/uri/index.d.ts +2 -2
- package/package.json +9 -9
|
@@ -13,26 +13,25 @@
|
|
|
13
13
|
* Taken from:
|
|
14
14
|
* https://blog.logrocket.com/build-strongly-typed-polymorphic-components-react-typescript/
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
/**
|
|
18
17
|
* A generic that is used to capture the `as` prop value
|
|
19
18
|
*/
|
|
20
|
-
|
|
19
|
+
type AsProp<C extends React.ElementType> = {
|
|
21
20
|
as?: C;
|
|
22
21
|
};
|
|
23
22
|
/**
|
|
24
23
|
* A type of the `as` prop, plus any custom defined props.
|
|
25
24
|
*/
|
|
26
|
-
|
|
25
|
+
type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
|
|
27
26
|
/**
|
|
28
27
|
* Adds a typed `as` prop to a list of props.
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
|
|
31
30
|
/**
|
|
32
31
|
* Type to capture the `ref` prop type from the element type
|
|
33
32
|
* passed into the `as` prop.
|
|
34
33
|
*/
|
|
35
|
-
export
|
|
34
|
+
export type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
|
|
36
35
|
/**
|
|
37
36
|
* Usage example:
|
|
38
37
|
*
|
|
@@ -54,7 +53,7 @@ export declare type PolymorphicRef<C extends React.ElementType> = React.Componen
|
|
|
54
53
|
* )
|
|
55
54
|
* ```
|
|
56
55
|
*/
|
|
57
|
-
export
|
|
56
|
+
export type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
|
|
58
57
|
ref?: PolymorphicRef<C>;
|
|
59
58
|
};
|
|
60
59
|
export {};
|
|
@@ -19,300 +19,4 @@ import { CSS, theme } from '../../stitches';
|
|
|
19
19
|
* // }
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(themeProperty: ThemeProperty, styles: CSS) => Record<keyof (
|
|
23
|
-
className: string;
|
|
24
|
-
selector: string;
|
|
25
|
-
} & {
|
|
26
|
-
colors: {
|
|
27
|
-
textBold: import("@atom-learning/stitches-react/types/theme").Token<"textBold", string, "colors", "">;
|
|
28
|
-
textRegular: import("@atom-learning/stitches-react/types/theme").Token<"textRegular", string, "colors", "">;
|
|
29
|
-
textSubtle: import("@atom-learning/stitches-react/types/theme").Token<"textSubtle", string, "colors", "">;
|
|
30
|
-
textMinimal: import("@atom-learning/stitches-react/types/theme").Token<"textMinimal", string, "colors", "">;
|
|
31
|
-
background: import("@atom-learning/stitches-react/types/theme").Token<"background", string, "colors", "">;
|
|
32
|
-
backgroundAccent: import("@atom-learning/stitches-react/types/theme").Token<"backgroundAccent", string, "colors", "">;
|
|
33
|
-
grey100: import("@atom-learning/stitches-react/types/theme").Token<"grey100", string, "colors", "">;
|
|
34
|
-
grey200: import("@atom-learning/stitches-react/types/theme").Token<"grey200", string, "colors", "">;
|
|
35
|
-
grey300: import("@atom-learning/stitches-react/types/theme").Token<"grey300", string, "colors", "">;
|
|
36
|
-
grey400: import("@atom-learning/stitches-react/types/theme").Token<"grey400", string, "colors", "">;
|
|
37
|
-
grey500: import("@atom-learning/stitches-react/types/theme").Token<"grey500", string, "colors", "">;
|
|
38
|
-
grey600: import("@atom-learning/stitches-react/types/theme").Token<"grey600", string, "colors", "">;
|
|
39
|
-
grey700: import("@atom-learning/stitches-react/types/theme").Token<"grey700", string, "colors", "">;
|
|
40
|
-
grey800: import("@atom-learning/stitches-react/types/theme").Token<"grey800", string, "colors", "">;
|
|
41
|
-
grey900: import("@atom-learning/stitches-react/types/theme").Token<"grey900", string, "colors", "">;
|
|
42
|
-
grey1000: import("@atom-learning/stitches-react/types/theme").Token<"grey1000", string, "colors", "">;
|
|
43
|
-
grey1100: import("@atom-learning/stitches-react/types/theme").Token<"grey1100", string, "colors", "">;
|
|
44
|
-
grey1200: import("@atom-learning/stitches-react/types/theme").Token<"grey1200", string, "colors", "">;
|
|
45
|
-
blue100: import("@atom-learning/stitches-react/types/theme").Token<"blue100", string, "colors", "">;
|
|
46
|
-
blue200: import("@atom-learning/stitches-react/types/theme").Token<"blue200", string, "colors", "">;
|
|
47
|
-
blue300: import("@atom-learning/stitches-react/types/theme").Token<"blue300", string, "colors", "">;
|
|
48
|
-
blue400: import("@atom-learning/stitches-react/types/theme").Token<"blue400", string, "colors", "">;
|
|
49
|
-
blue500: import("@atom-learning/stitches-react/types/theme").Token<"blue500", string, "colors", "">;
|
|
50
|
-
blue600: import("@atom-learning/stitches-react/types/theme").Token<"blue600", string, "colors", "">;
|
|
51
|
-
blue700: import("@atom-learning/stitches-react/types/theme").Token<"blue700", string, "colors", "">;
|
|
52
|
-
blue800: import("@atom-learning/stitches-react/types/theme").Token<"blue800", string, "colors", "">;
|
|
53
|
-
blue900: import("@atom-learning/stitches-react/types/theme").Token<"blue900", string, "colors", "">;
|
|
54
|
-
blue1000: import("@atom-learning/stitches-react/types/theme").Token<"blue1000", string, "colors", "">;
|
|
55
|
-
blue1100: import("@atom-learning/stitches-react/types/theme").Token<"blue1100", string, "colors", "">;
|
|
56
|
-
blue1200: import("@atom-learning/stitches-react/types/theme").Token<"blue1200", string, "colors", "">;
|
|
57
|
-
pink100: import("@atom-learning/stitches-react/types/theme").Token<"pink100", string, "colors", "">;
|
|
58
|
-
pink200: import("@atom-learning/stitches-react/types/theme").Token<"pink200", string, "colors", "">;
|
|
59
|
-
pink300: import("@atom-learning/stitches-react/types/theme").Token<"pink300", string, "colors", "">;
|
|
60
|
-
pink400: import("@atom-learning/stitches-react/types/theme").Token<"pink400", string, "colors", "">;
|
|
61
|
-
pink500: import("@atom-learning/stitches-react/types/theme").Token<"pink500", string, "colors", "">;
|
|
62
|
-
pink600: import("@atom-learning/stitches-react/types/theme").Token<"pink600", string, "colors", "">;
|
|
63
|
-
pink700: import("@atom-learning/stitches-react/types/theme").Token<"pink700", string, "colors", "">;
|
|
64
|
-
pink800: import("@atom-learning/stitches-react/types/theme").Token<"pink800", string, "colors", "">;
|
|
65
|
-
pink900: import("@atom-learning/stitches-react/types/theme").Token<"pink900", string, "colors", "">;
|
|
66
|
-
pink1000: import("@atom-learning/stitches-react/types/theme").Token<"pink1000", string, "colors", "">;
|
|
67
|
-
pink1100: import("@atom-learning/stitches-react/types/theme").Token<"pink1100", string, "colors", "">;
|
|
68
|
-
pink1200: import("@atom-learning/stitches-react/types/theme").Token<"pink1200", string, "colors", "">;
|
|
69
|
-
purple100: import("@atom-learning/stitches-react/types/theme").Token<"purple100", string, "colors", "">;
|
|
70
|
-
purple200: import("@atom-learning/stitches-react/types/theme").Token<"purple200", string, "colors", "">;
|
|
71
|
-
purple300: import("@atom-learning/stitches-react/types/theme").Token<"purple300", string, "colors", "">;
|
|
72
|
-
purple400: import("@atom-learning/stitches-react/types/theme").Token<"purple400", string, "colors", "">;
|
|
73
|
-
purple500: import("@atom-learning/stitches-react/types/theme").Token<"purple500", string, "colors", "">;
|
|
74
|
-
purple600: import("@atom-learning/stitches-react/types/theme").Token<"purple600", string, "colors", "">;
|
|
75
|
-
purple700: import("@atom-learning/stitches-react/types/theme").Token<"purple700", string, "colors", "">;
|
|
76
|
-
purple800: import("@atom-learning/stitches-react/types/theme").Token<"purple800", string, "colors", "">;
|
|
77
|
-
purple900: import("@atom-learning/stitches-react/types/theme").Token<"purple900", string, "colors", "">;
|
|
78
|
-
purple1000: import("@atom-learning/stitches-react/types/theme").Token<"purple1000", string, "colors", "">;
|
|
79
|
-
purple1100: import("@atom-learning/stitches-react/types/theme").Token<"purple1100", string, "colors", "">;
|
|
80
|
-
purple1200: import("@atom-learning/stitches-react/types/theme").Token<"purple1200", string, "colors", "">;
|
|
81
|
-
cyan100: import("@atom-learning/stitches-react/types/theme").Token<"cyan100", string, "colors", "">;
|
|
82
|
-
cyan200: import("@atom-learning/stitches-react/types/theme").Token<"cyan200", string, "colors", "">;
|
|
83
|
-
cyan300: import("@atom-learning/stitches-react/types/theme").Token<"cyan300", string, "colors", "">;
|
|
84
|
-
cyan400: import("@atom-learning/stitches-react/types/theme").Token<"cyan400", string, "colors", "">;
|
|
85
|
-
cyan500: import("@atom-learning/stitches-react/types/theme").Token<"cyan500", string, "colors", "">;
|
|
86
|
-
cyan600: import("@atom-learning/stitches-react/types/theme").Token<"cyan600", string, "colors", "">;
|
|
87
|
-
cyan700: import("@atom-learning/stitches-react/types/theme").Token<"cyan700", string, "colors", "">;
|
|
88
|
-
cyan800: import("@atom-learning/stitches-react/types/theme").Token<"cyan800", string, "colors", "">;
|
|
89
|
-
cyan900: import("@atom-learning/stitches-react/types/theme").Token<"cyan900", string, "colors", "">;
|
|
90
|
-
cyan1000: import("@atom-learning/stitches-react/types/theme").Token<"cyan1000", string, "colors", "">;
|
|
91
|
-
cyan1100: import("@atom-learning/stitches-react/types/theme").Token<"cyan1100", string, "colors", "">;
|
|
92
|
-
cyan1200: import("@atom-learning/stitches-react/types/theme").Token<"cyan1200", string, "colors", "">;
|
|
93
|
-
green100: import("@atom-learning/stitches-react/types/theme").Token<"green100", string, "colors", "">;
|
|
94
|
-
green200: import("@atom-learning/stitches-react/types/theme").Token<"green200", string, "colors", "">;
|
|
95
|
-
green300: import("@atom-learning/stitches-react/types/theme").Token<"green300", string, "colors", "">;
|
|
96
|
-
green400: import("@atom-learning/stitches-react/types/theme").Token<"green400", string, "colors", "">;
|
|
97
|
-
green500: import("@atom-learning/stitches-react/types/theme").Token<"green500", string, "colors", "">;
|
|
98
|
-
green600: import("@atom-learning/stitches-react/types/theme").Token<"green600", string, "colors", "">;
|
|
99
|
-
green700: import("@atom-learning/stitches-react/types/theme").Token<"green700", string, "colors", "">;
|
|
100
|
-
green800: import("@atom-learning/stitches-react/types/theme").Token<"green800", string, "colors", "">;
|
|
101
|
-
green900: import("@atom-learning/stitches-react/types/theme").Token<"green900", string, "colors", "">;
|
|
102
|
-
green1000: import("@atom-learning/stitches-react/types/theme").Token<"green1000", string, "colors", "">;
|
|
103
|
-
green1100: import("@atom-learning/stitches-react/types/theme").Token<"green1100", string, "colors", "">;
|
|
104
|
-
green1200: import("@atom-learning/stitches-react/types/theme").Token<"green1200", string, "colors", "">;
|
|
105
|
-
magenta100: import("@atom-learning/stitches-react/types/theme").Token<"magenta100", string, "colors", "">;
|
|
106
|
-
magenta200: import("@atom-learning/stitches-react/types/theme").Token<"magenta200", string, "colors", "">;
|
|
107
|
-
magenta300: import("@atom-learning/stitches-react/types/theme").Token<"magenta300", string, "colors", "">;
|
|
108
|
-
magenta400: import("@atom-learning/stitches-react/types/theme").Token<"magenta400", string, "colors", "">;
|
|
109
|
-
magenta500: import("@atom-learning/stitches-react/types/theme").Token<"magenta500", string, "colors", "">;
|
|
110
|
-
magenta600: import("@atom-learning/stitches-react/types/theme").Token<"magenta600", string, "colors", "">;
|
|
111
|
-
magenta700: import("@atom-learning/stitches-react/types/theme").Token<"magenta700", string, "colors", "">;
|
|
112
|
-
magenta800: import("@atom-learning/stitches-react/types/theme").Token<"magenta800", string, "colors", "">;
|
|
113
|
-
magenta900: import("@atom-learning/stitches-react/types/theme").Token<"magenta900", string, "colors", "">;
|
|
114
|
-
magenta1000: import("@atom-learning/stitches-react/types/theme").Token<"magenta1000", string, "colors", "">;
|
|
115
|
-
magenta1100: import("@atom-learning/stitches-react/types/theme").Token<"magenta1100", string, "colors", "">;
|
|
116
|
-
magenta1200: import("@atom-learning/stitches-react/types/theme").Token<"magenta1200", string, "colors", "">;
|
|
117
|
-
red100: import("@atom-learning/stitches-react/types/theme").Token<"red100", string, "colors", "">;
|
|
118
|
-
red200: import("@atom-learning/stitches-react/types/theme").Token<"red200", string, "colors", "">;
|
|
119
|
-
red300: import("@atom-learning/stitches-react/types/theme").Token<"red300", string, "colors", "">;
|
|
120
|
-
red400: import("@atom-learning/stitches-react/types/theme").Token<"red400", string, "colors", "">;
|
|
121
|
-
red500: import("@atom-learning/stitches-react/types/theme").Token<"red500", string, "colors", "">;
|
|
122
|
-
red600: import("@atom-learning/stitches-react/types/theme").Token<"red600", string, "colors", "">;
|
|
123
|
-
red700: import("@atom-learning/stitches-react/types/theme").Token<"red700", string, "colors", "">;
|
|
124
|
-
red800: import("@atom-learning/stitches-react/types/theme").Token<"red800", string, "colors", "">;
|
|
125
|
-
red900: import("@atom-learning/stitches-react/types/theme").Token<"red900", string, "colors", "">;
|
|
126
|
-
red1000: import("@atom-learning/stitches-react/types/theme").Token<"red1000", string, "colors", "">;
|
|
127
|
-
red1100: import("@atom-learning/stitches-react/types/theme").Token<"red1100", string, "colors", "">;
|
|
128
|
-
red1200: import("@atom-learning/stitches-react/types/theme").Token<"red1200", string, "colors", "">;
|
|
129
|
-
teal100: import("@atom-learning/stitches-react/types/theme").Token<"teal100", string, "colors", "">;
|
|
130
|
-
teal200: import("@atom-learning/stitches-react/types/theme").Token<"teal200", string, "colors", "">;
|
|
131
|
-
teal300: import("@atom-learning/stitches-react/types/theme").Token<"teal300", string, "colors", "">;
|
|
132
|
-
teal400: import("@atom-learning/stitches-react/types/theme").Token<"teal400", string, "colors", "">;
|
|
133
|
-
teal500: import("@atom-learning/stitches-react/types/theme").Token<"teal500", string, "colors", "">;
|
|
134
|
-
teal600: import("@atom-learning/stitches-react/types/theme").Token<"teal600", string, "colors", "">;
|
|
135
|
-
teal700: import("@atom-learning/stitches-react/types/theme").Token<"teal700", string, "colors", "">;
|
|
136
|
-
teal800: import("@atom-learning/stitches-react/types/theme").Token<"teal800", string, "colors", "">;
|
|
137
|
-
teal900: import("@atom-learning/stitches-react/types/theme").Token<"teal900", string, "colors", "">;
|
|
138
|
-
teal1000: import("@atom-learning/stitches-react/types/theme").Token<"teal1000", string, "colors", "">;
|
|
139
|
-
teal1100: import("@atom-learning/stitches-react/types/theme").Token<"teal1100", string, "colors", "">;
|
|
140
|
-
teal1200: import("@atom-learning/stitches-react/types/theme").Token<"teal1200", string, "colors", "">;
|
|
141
|
-
orange100: import("@atom-learning/stitches-react/types/theme").Token<"orange100", string, "colors", "">;
|
|
142
|
-
orange200: import("@atom-learning/stitches-react/types/theme").Token<"orange200", string, "colors", "">;
|
|
143
|
-
orange300: import("@atom-learning/stitches-react/types/theme").Token<"orange300", string, "colors", "">;
|
|
144
|
-
orange400: import("@atom-learning/stitches-react/types/theme").Token<"orange400", string, "colors", "">;
|
|
145
|
-
orange500: import("@atom-learning/stitches-react/types/theme").Token<"orange500", string, "colors", "">;
|
|
146
|
-
orange600: import("@atom-learning/stitches-react/types/theme").Token<"orange600", string, "colors", "">;
|
|
147
|
-
orange700: import("@atom-learning/stitches-react/types/theme").Token<"orange700", string, "colors", "">;
|
|
148
|
-
orange800: import("@atom-learning/stitches-react/types/theme").Token<"orange800", string, "colors", "">;
|
|
149
|
-
orange900: import("@atom-learning/stitches-react/types/theme").Token<"orange900", string, "colors", "">;
|
|
150
|
-
orange1000: import("@atom-learning/stitches-react/types/theme").Token<"orange1000", string, "colors", "">;
|
|
151
|
-
orange1100: import("@atom-learning/stitches-react/types/theme").Token<"orange1100", string, "colors", "">;
|
|
152
|
-
orange1200: import("@atom-learning/stitches-react/types/theme").Token<"orange1200", string, "colors", "">;
|
|
153
|
-
yellow100: import("@atom-learning/stitches-react/types/theme").Token<"yellow100", string, "colors", "">;
|
|
154
|
-
yellow200: import("@atom-learning/stitches-react/types/theme").Token<"yellow200", string, "colors", "">;
|
|
155
|
-
yellow300: import("@atom-learning/stitches-react/types/theme").Token<"yellow300", string, "colors", "">;
|
|
156
|
-
yellow400: import("@atom-learning/stitches-react/types/theme").Token<"yellow400", string, "colors", "">;
|
|
157
|
-
yellow500: import("@atom-learning/stitches-react/types/theme").Token<"yellow500", string, "colors", "">;
|
|
158
|
-
yellow600: import("@atom-learning/stitches-react/types/theme").Token<"yellow600", string, "colors", "">;
|
|
159
|
-
yellow700: import("@atom-learning/stitches-react/types/theme").Token<"yellow700", string, "colors", "">;
|
|
160
|
-
yellow800: import("@atom-learning/stitches-react/types/theme").Token<"yellow800", string, "colors", "">;
|
|
161
|
-
yellow900: import("@atom-learning/stitches-react/types/theme").Token<"yellow900", string, "colors", "">;
|
|
162
|
-
yellow1000: import("@atom-learning/stitches-react/types/theme").Token<"yellow1000", string, "colors", "">;
|
|
163
|
-
yellow1100: import("@atom-learning/stitches-react/types/theme").Token<"yellow1100", string, "colors", "">;
|
|
164
|
-
yellow1200: import("@atom-learning/stitches-react/types/theme").Token<"yellow1200", string, "colors", "">;
|
|
165
|
-
lime100: import("@atom-learning/stitches-react/types/theme").Token<"lime100", string, "colors", "">;
|
|
166
|
-
lime200: import("@atom-learning/stitches-react/types/theme").Token<"lime200", string, "colors", "">;
|
|
167
|
-
lime300: import("@atom-learning/stitches-react/types/theme").Token<"lime300", string, "colors", "">;
|
|
168
|
-
lime400: import("@atom-learning/stitches-react/types/theme").Token<"lime400", string, "colors", "">;
|
|
169
|
-
lime500: import("@atom-learning/stitches-react/types/theme").Token<"lime500", string, "colors", "">;
|
|
170
|
-
lime600: import("@atom-learning/stitches-react/types/theme").Token<"lime600", string, "colors", "">;
|
|
171
|
-
lime700: import("@atom-learning/stitches-react/types/theme").Token<"lime700", string, "colors", "">;
|
|
172
|
-
lime800: import("@atom-learning/stitches-react/types/theme").Token<"lime800", string, "colors", "">;
|
|
173
|
-
lime900: import("@atom-learning/stitches-react/types/theme").Token<"lime900", string, "colors", "">;
|
|
174
|
-
lime1000: import("@atom-learning/stitches-react/types/theme").Token<"lime1000", string, "colors", "">;
|
|
175
|
-
lime1100: import("@atom-learning/stitches-react/types/theme").Token<"lime1100", string, "colors", "">;
|
|
176
|
-
lime1200: import("@atom-learning/stitches-react/types/theme").Token<"lime1200", string, "colors", "">;
|
|
177
|
-
lapis100: import("@atom-learning/stitches-react/types/theme").Token<"lapis100", string, "colors", "">;
|
|
178
|
-
lapis200: import("@atom-learning/stitches-react/types/theme").Token<"lapis200", string, "colors", "">;
|
|
179
|
-
lapis300: import("@atom-learning/stitches-react/types/theme").Token<"lapis300", string, "colors", "">;
|
|
180
|
-
lapis400: import("@atom-learning/stitches-react/types/theme").Token<"lapis400", string, "colors", "">;
|
|
181
|
-
lapis500: import("@atom-learning/stitches-react/types/theme").Token<"lapis500", string, "colors", "">;
|
|
182
|
-
lapis600: import("@atom-learning/stitches-react/types/theme").Token<"lapis600", string, "colors", "">;
|
|
183
|
-
lapis700: import("@atom-learning/stitches-react/types/theme").Token<"lapis700", string, "colors", "">;
|
|
184
|
-
lapis800: import("@atom-learning/stitches-react/types/theme").Token<"lapis800", string, "colors", "">;
|
|
185
|
-
lapis900: import("@atom-learning/stitches-react/types/theme").Token<"lapis900", string, "colors", "">;
|
|
186
|
-
lapis1000: import("@atom-learning/stitches-react/types/theme").Token<"lapis1000", string, "colors", "">;
|
|
187
|
-
lapis1100: import("@atom-learning/stitches-react/types/theme").Token<"lapis1100", string, "colors", "">;
|
|
188
|
-
lapis1200: import("@atom-learning/stitches-react/types/theme").Token<"lapis1200", string, "colors", "">;
|
|
189
|
-
maroon100: import("@atom-learning/stitches-react/types/theme").Token<"maroon100", string, "colors", "">;
|
|
190
|
-
maroon200: import("@atom-learning/stitches-react/types/theme").Token<"maroon200", string, "colors", "">;
|
|
191
|
-
maroon300: import("@atom-learning/stitches-react/types/theme").Token<"maroon300", string, "colors", "">;
|
|
192
|
-
maroon400: import("@atom-learning/stitches-react/types/theme").Token<"maroon400", string, "colors", "">;
|
|
193
|
-
maroon500: import("@atom-learning/stitches-react/types/theme").Token<"maroon500", string, "colors", "">;
|
|
194
|
-
maroon600: import("@atom-learning/stitches-react/types/theme").Token<"maroon600", string, "colors", "">;
|
|
195
|
-
maroon700: import("@atom-learning/stitches-react/types/theme").Token<"maroon700", string, "colors", "">;
|
|
196
|
-
maroon800: import("@atom-learning/stitches-react/types/theme").Token<"maroon800", string, "colors", "">;
|
|
197
|
-
maroon900: import("@atom-learning/stitches-react/types/theme").Token<"maroon900", string, "colors", "">;
|
|
198
|
-
maroon1000: import("@atom-learning/stitches-react/types/theme").Token<"maroon1000", string, "colors", "">;
|
|
199
|
-
maroon1100: import("@atom-learning/stitches-react/types/theme").Token<"maroon1100", string, "colors", "">;
|
|
200
|
-
maroon1200: import("@atom-learning/stitches-react/types/theme").Token<"maroon1200", string, "colors", "">;
|
|
201
|
-
marsh100: import("@atom-learning/stitches-react/types/theme").Token<"marsh100", string, "colors", "">;
|
|
202
|
-
marsh200: import("@atom-learning/stitches-react/types/theme").Token<"marsh200", string, "colors", "">;
|
|
203
|
-
marsh300: import("@atom-learning/stitches-react/types/theme").Token<"marsh300", string, "colors", "">;
|
|
204
|
-
marsh400: import("@atom-learning/stitches-react/types/theme").Token<"marsh400", string, "colors", "">;
|
|
205
|
-
marsh500: import("@atom-learning/stitches-react/types/theme").Token<"marsh500", string, "colors", "">;
|
|
206
|
-
marsh600: import("@atom-learning/stitches-react/types/theme").Token<"marsh600", string, "colors", "">;
|
|
207
|
-
marsh700: import("@atom-learning/stitches-react/types/theme").Token<"marsh700", string, "colors", "">;
|
|
208
|
-
marsh800: import("@atom-learning/stitches-react/types/theme").Token<"marsh800", string, "colors", "">;
|
|
209
|
-
marsh900: import("@atom-learning/stitches-react/types/theme").Token<"marsh900", string, "colors", "">;
|
|
210
|
-
marsh1000: import("@atom-learning/stitches-react/types/theme").Token<"marsh1000", string, "colors", "">;
|
|
211
|
-
marsh1100: import("@atom-learning/stitches-react/types/theme").Token<"marsh1100", string, "colors", "">;
|
|
212
|
-
marsh1200: import("@atom-learning/stitches-react/types/theme").Token<"marsh1200", string, "colors", "">;
|
|
213
|
-
alpha100: import("@atom-learning/stitches-react/types/theme").Token<"alpha100", string, "colors", "">;
|
|
214
|
-
alpha150: import("@atom-learning/stitches-react/types/theme").Token<"alpha150", string, "colors", "">;
|
|
215
|
-
alpha200: import("@atom-learning/stitches-react/types/theme").Token<"alpha200", string, "colors", "">;
|
|
216
|
-
alpha250: import("@atom-learning/stitches-react/types/theme").Token<"alpha250", string, "colors", "">;
|
|
217
|
-
alpha600: import("@atom-learning/stitches-react/types/theme").Token<"alpha600", string, "colors", "">;
|
|
218
|
-
infoLight: import("@atom-learning/stitches-react/types/theme").Token<"infoLight", string, "colors", "">;
|
|
219
|
-
info: import("@atom-learning/stitches-react/types/theme").Token<"info", string, "colors", "">;
|
|
220
|
-
infoMid: import("@atom-learning/stitches-react/types/theme").Token<"infoMid", string, "colors", "">;
|
|
221
|
-
infoDark: import("@atom-learning/stitches-react/types/theme").Token<"infoDark", string, "colors", "">;
|
|
222
|
-
successLight: import("@atom-learning/stitches-react/types/theme").Token<"successLight", string, "colors", "">;
|
|
223
|
-
success: import("@atom-learning/stitches-react/types/theme").Token<"success", string, "colors", "">;
|
|
224
|
-
successMid: import("@atom-learning/stitches-react/types/theme").Token<"successMid", string, "colors", "">;
|
|
225
|
-
successDark: import("@atom-learning/stitches-react/types/theme").Token<"successDark", string, "colors", "">;
|
|
226
|
-
dangerLight: import("@atom-learning/stitches-react/types/theme").Token<"dangerLight", string, "colors", "">;
|
|
227
|
-
danger: import("@atom-learning/stitches-react/types/theme").Token<"danger", string, "colors", "">;
|
|
228
|
-
dangerMid: import("@atom-learning/stitches-react/types/theme").Token<"dangerMid", string, "colors", "">;
|
|
229
|
-
dangerDark: import("@atom-learning/stitches-react/types/theme").Token<"dangerDark", string, "colors", "">;
|
|
230
|
-
warningLight: import("@atom-learning/stitches-react/types/theme").Token<"warningLight", string, "colors", "">;
|
|
231
|
-
warning: import("@atom-learning/stitches-react/types/theme").Token<"warning", string, "colors", "">;
|
|
232
|
-
warningMid: import("@atom-learning/stitches-react/types/theme").Token<"warningMid", string, "colors", "">;
|
|
233
|
-
warningDark: import("@atom-learning/stitches-react/types/theme").Token<"warningDark", string, "colors", "">;
|
|
234
|
-
warningText: import("@atom-learning/stitches-react/types/theme").Token<"warningText", string, "colors", "">;
|
|
235
|
-
subjectEnglish: import("@atom-learning/stitches-react/types/theme").Token<"subjectEnglish", string, "colors", "">;
|
|
236
|
-
subjectMaths: import("@atom-learning/stitches-react/types/theme").Token<"subjectMaths", string, "colors", "">;
|
|
237
|
-
subjectScience: import("@atom-learning/stitches-react/types/theme").Token<"subjectScience", string, "colors", "">;
|
|
238
|
-
subjectVerbalReasoning: import("@atom-learning/stitches-react/types/theme").Token<"subjectVerbalReasoning", string, "colors", "">;
|
|
239
|
-
subjectNonVerbalReasoning: import("@atom-learning/stitches-react/types/theme").Token<"subjectNonVerbalReasoning", string, "colors", "">;
|
|
240
|
-
subjectCreativeWriting: import("@atom-learning/stitches-react/types/theme").Token<"subjectCreativeWriting", string, "colors", "">;
|
|
241
|
-
subjectExamSkills: import("@atom-learning/stitches-react/types/theme").Token<"subjectExamSkills", string, "colors", "">;
|
|
242
|
-
glBlueLight: import("@atom-learning/stitches-react/types/theme").Token<"glBlueLight", string, "colors", "">;
|
|
243
|
-
glBluePrimary: import("@atom-learning/stitches-react/types/theme").Token<"glBluePrimary", string, "colors", "">;
|
|
244
|
-
glBlueDark: import("@atom-learning/stitches-react/types/theme").Token<"glBlueDark", string, "colors", "">;
|
|
245
|
-
primary100: import("@atom-learning/stitches-react/types/theme").Token<"primary100", string, "colors", "">;
|
|
246
|
-
primary200: import("@atom-learning/stitches-react/types/theme").Token<"primary200", string, "colors", "">;
|
|
247
|
-
primary300: import("@atom-learning/stitches-react/types/theme").Token<"primary300", string, "colors", "">;
|
|
248
|
-
primary400: import("@atom-learning/stitches-react/types/theme").Token<"primary400", string, "colors", "">;
|
|
249
|
-
primary500: import("@atom-learning/stitches-react/types/theme").Token<"primary500", string, "colors", "">;
|
|
250
|
-
primary600: import("@atom-learning/stitches-react/types/theme").Token<"primary600", string, "colors", "">;
|
|
251
|
-
primary700: import("@atom-learning/stitches-react/types/theme").Token<"primary700", string, "colors", "">;
|
|
252
|
-
primary800: import("@atom-learning/stitches-react/types/theme").Token<"primary800", string, "colors", "">;
|
|
253
|
-
primary900: import("@atom-learning/stitches-react/types/theme").Token<"primary900", string, "colors", "">;
|
|
254
|
-
primary1000: import("@atom-learning/stitches-react/types/theme").Token<"primary1000", string, "colors", "">;
|
|
255
|
-
primary1100: import("@atom-learning/stitches-react/types/theme").Token<"primary1100", string, "colors", "">;
|
|
256
|
-
primary1200: import("@atom-learning/stitches-react/types/theme").Token<"primary1200", string, "colors", "">;
|
|
257
|
-
};
|
|
258
|
-
space: {
|
|
259
|
-
0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "space", "">;
|
|
260
|
-
1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "space", "">;
|
|
261
|
-
2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "space", "">;
|
|
262
|
-
3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "space", "">;
|
|
263
|
-
4: import("@atom-learning/stitches-react/types/theme").Token<"4", string, "space", "">;
|
|
264
|
-
5: import("@atom-learning/stitches-react/types/theme").Token<"5", string, "space", "">;
|
|
265
|
-
6: import("@atom-learning/stitches-react/types/theme").Token<"6", string, "space", "">;
|
|
266
|
-
7: import("@atom-learning/stitches-react/types/theme").Token<"7", string, "space", "">;
|
|
267
|
-
8: import("@atom-learning/stitches-react/types/theme").Token<"8", string, "space", "">;
|
|
268
|
-
9: import("@atom-learning/stitches-react/types/theme").Token<"9", string, "space", "">;
|
|
269
|
-
24: import("@atom-learning/stitches-react/types/theme").Token<"24", string, "space", "">;
|
|
270
|
-
};
|
|
271
|
-
fontSizes: {
|
|
272
|
-
xs: import("@atom-learning/stitches-react/types/theme").Token<"xs", string, "fontSizes", "">;
|
|
273
|
-
sm: import("@atom-learning/stitches-react/types/theme").Token<"sm", string, "fontSizes", "">;
|
|
274
|
-
md: import("@atom-learning/stitches-react/types/theme").Token<"md", string, "fontSizes", "">;
|
|
275
|
-
lg: import("@atom-learning/stitches-react/types/theme").Token<"lg", string, "fontSizes", "">;
|
|
276
|
-
xl: import("@atom-learning/stitches-react/types/theme").Token<"xl", string, "fontSizes", "">;
|
|
277
|
-
"2xl": import("@atom-learning/stitches-react/types/theme").Token<"2xl", string, "fontSizes", "">;
|
|
278
|
-
"3xl": import("@atom-learning/stitches-react/types/theme").Token<"3xl", string, "fontSizes", "">;
|
|
279
|
-
"4xl": import("@atom-learning/stitches-react/types/theme").Token<"4xl", string, "fontSizes", "">;
|
|
280
|
-
};
|
|
281
|
-
fonts: {
|
|
282
|
-
sans: import("@atom-learning/stitches-react/types/theme").Token<"sans", string, "fonts", "">;
|
|
283
|
-
mono: import("@atom-learning/stitches-react/types/theme").Token<"mono", string, "fonts", "">;
|
|
284
|
-
display: import("@atom-learning/stitches-react/types/theme").Token<"display", string, "fonts", "">;
|
|
285
|
-
body: import("@atom-learning/stitches-react/types/theme").Token<"body", string, "fonts", "">;
|
|
286
|
-
};
|
|
287
|
-
sizes: {
|
|
288
|
-
0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "sizes", "">;
|
|
289
|
-
1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "sizes", "">;
|
|
290
|
-
2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "sizes", "">;
|
|
291
|
-
3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "sizes", "">;
|
|
292
|
-
4: import("@atom-learning/stitches-react/types/theme").Token<"4", string, "sizes", "">;
|
|
293
|
-
5: import("@atom-learning/stitches-react/types/theme").Token<"5", string, "sizes", "">;
|
|
294
|
-
6: import("@atom-learning/stitches-react/types/theme").Token<"6", string, "sizes", "">;
|
|
295
|
-
7: import("@atom-learning/stitches-react/types/theme").Token<"7", string, "sizes", "">;
|
|
296
|
-
8: import("@atom-learning/stitches-react/types/theme").Token<"8", string, "sizes", "">;
|
|
297
|
-
};
|
|
298
|
-
radii: {
|
|
299
|
-
0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "radii", "">;
|
|
300
|
-
1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "radii", "">;
|
|
301
|
-
2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "radii", "">;
|
|
302
|
-
3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "radii", "">;
|
|
303
|
-
round: import("@atom-learning/stitches-react/types/theme").Token<"round", string, "radii", "">;
|
|
304
|
-
};
|
|
305
|
-
shadows: {
|
|
306
|
-
0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "shadows", "">;
|
|
307
|
-
1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "shadows", "">;
|
|
308
|
-
2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "shadows", "">;
|
|
309
|
-
3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "shadows", "">;
|
|
310
|
-
};
|
|
311
|
-
ratios: {
|
|
312
|
-
"16-9": import("@atom-learning/stitches-react/types/theme").Token<"16-9", string, "ratios", "">;
|
|
313
|
-
"3-2": import("@atom-learning/stitches-react/types/theme").Token<"3-2", string, "ratios", "">;
|
|
314
|
-
"4-3": import("@atom-learning/stitches-react/types/theme").Token<"4-3", string, "ratios", "">;
|
|
315
|
-
"1-1": import("@atom-learning/stitches-react/types/theme").Token<"1-1", string, "ratios", "">;
|
|
316
|
-
"3-4": import("@atom-learning/stitches-react/types/theme").Token<"3-4", string, "ratios", "">;
|
|
317
|
-
};
|
|
318
|
-
})[ThemeProperty], CSS>;
|
|
22
|
+
export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(themeProperty: ThemeProperty, styles: CSS) => Record<keyof (typeof theme)[ThemeProperty], CSS>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
type TUseResizeObserverOptions = {
|
|
2
2
|
elements: (HTMLElement | undefined | null)[];
|
|
3
3
|
onResize: (entries: ResizeObserverEntry[]) => void;
|
|
4
4
|
delay?: number;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type TUseResizeObserverOutput = ResizeObserver | null;
|
|
7
7
|
export declare const useResizeObserver: ({ delay, elements, onResize }: TUseResizeObserverOptions) => TUseResizeObserverOutput;
|
|
8
8
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type TUseScrollPositionOptions = {
|
|
2
2
|
element?: HTMLElement | null;
|
|
3
3
|
delay?: number;
|
|
4
4
|
delayMethod?: 'throttle' | 'debounce';
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type TUseScrollPositionOutput = {
|
|
7
7
|
left: number;
|
|
8
8
|
top: number;
|
|
9
9
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
type TUseWindowScrollPositionOptions = {
|
|
2
2
|
delay?: number;
|
|
3
3
|
delayMethod?: 'throttle' | 'debounce';
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type TUseWindowScrollPositionOutput = {
|
|
6
6
|
x: number;
|
|
7
7
|
y: number;
|
|
8
8
|
};
|