@atom-learning/components 3.29.3 → 3.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/dist/components/accordion/Accordion.d.ts +297 -297
  3. package/dist/components/accordion/AccordionContent.d.ts +295 -295
  4. package/dist/components/accordion/AccordionItem.d.ts +295 -295
  5. package/dist/components/accordion/AccordionTrigger.d.ts +297 -665
  6. package/dist/components/action-icon/ActionIcon.d.ts +297 -297
  7. package/dist/components/action-icon/ActionIcon.js +1 -1
  8. package/dist/components/action-icon/ActionIcon.js.map +1 -1
  9. package/dist/components/alert-dialog/AlertDialog.d.ts +651 -653
  10. package/dist/components/alert-dialog/AlertDialogContent.d.ts +295 -295
  11. package/dist/components/alert-dialog/alert-context/AlertContext.d.ts +1 -1
  12. package/dist/components/alert-dialog/alert-context/AlertDialog.d.ts +1 -1
  13. package/dist/components/alert-dialog/alert-context/AlertDialogIcon.d.ts +1 -1
  14. package/dist/components/alert-dialog/alert-context/reducer.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-context/types.d.ts +3 -3
  16. package/dist/components/avatar/Avatar.d.ts +595 -970
  17. package/dist/components/badge/Badge.context.d.ts +2 -2
  18. package/dist/components/badge/Badge.d.ts +1841 -1843
  19. package/dist/components/badge/BadgeIcon.d.ts +591 -591
  20. package/dist/components/badge/BadgeText.d.ts +594 -594
  21. package/dist/components/banner/Banner.d.ts +0 -1
  22. package/dist/components/banner/BannerContainer.d.ts +594 -594
  23. package/dist/components/banner/BannerContext.d.ts +2 -2
  24. package/dist/components/banner/banner-regular/BannerRegular.d.ts +1399 -2930
  25. package/dist/components/banner/banner-regular/BannerRegularContainer.d.ts +1 -1
  26. package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +590 -590
  27. package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +594 -594
  28. package/dist/components/banner/banner-slim/BannerSlim.d.ts +1400 -2556
  29. package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +296 -296
  30. package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +593 -593
  31. package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +594 -594
  32. package/dist/components/box/Box.d.ts +295 -295
  33. package/dist/components/button/Button.d.ts +296 -296
  34. package/dist/components/calendar/Calendar.d.ts +2 -2
  35. package/dist/components/calendar/Day.d.ts +295 -295
  36. package/dist/components/carousel/Carousel.d.ts +944 -1316
  37. package/dist/components/carousel/CarouselPagination.d.ts +296 -297
  38. package/dist/components/carousel/CarouselSlide.d.ts +296 -296
  39. package/dist/components/carousel/CarouselSlider.d.ts +296 -297
  40. package/dist/components/checkbox/Checkbox.d.ts +295 -295
  41. package/dist/components/checkbox-group/CheckboxGroup.d.ts +904 -904
  42. package/dist/components/checkbox-group/CheckboxGroup.types.d.ts +1 -1
  43. package/dist/components/checkbox-group/CheckboxGroupAllItem.d.ts +1 -1
  44. package/dist/components/checkbox-group/CheckboxGroupItem.d.ts +1 -1
  45. package/dist/components/checkbox-group/CheckboxGroupSub.d.ts +1 -1
  46. package/dist/components/checkbox-group/context/CheckboxGroupChecked.context.d.ts +2 -2
  47. package/dist/components/checkbox-group/context/CheckboxGroupMounted.context.d.ts +1 -1
  48. package/dist/components/checkbox-tree/CheckboxTree.d.ts +1333 -1333
  49. package/dist/components/checkbox-tree/CheckboxTreeCollapsible.d.ts +1 -1
  50. package/dist/components/checkbox-tree/CheckboxTreeCollapsibleContent.d.ts +1 -1
  51. package/dist/components/checkbox-tree/CheckboxTreeCollapsibleTrigger.d.ts +1 -1
  52. package/dist/components/checkbox-tree/CheckboxTreeItem.d.ts +1 -1
  53. package/dist/components/checkbox-tree/CheckboxTreeItemContent.d.ts +1 -1
  54. package/dist/components/chip/Chip.d.ts +2079 -2079
  55. package/dist/components/chip/ChipGroup.d.ts +1 -1
  56. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +892 -1266
  57. package/dist/components/chip-dismissible-group/ChipDismissibleGroupRoot.d.ts +1 -1
  58. package/dist/components/chip-dismissible-group/index.d.ts +1 -1
  59. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +892 -1266
  60. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +1 -1
  61. package/dist/components/chip-toggle-group/index.d.ts +1 -1
  62. package/dist/components/combobox/Combobox.d.ts +1479 -1480
  63. package/dist/components/combobox/ComboboxInput.d.ts +297 -297
  64. package/dist/components/combobox/ComboboxList.d.ts +296 -296
  65. package/dist/components/combobox/ComboboxOption.d.ts +296 -296
  66. package/dist/components/combobox/ComboboxPopover.d.ts +296 -296
  67. package/dist/components/create-password-field/CreatePasswordField.d.ts +2 -2
  68. package/dist/components/data-table/DataTable.d.ts +3387 -3406
  69. package/dist/components/data-table/DataTable.types.d.ts +7 -7
  70. package/dist/components/data-table/DataTableBody.d.ts +1 -1
  71. package/dist/components/data-table/DataTableBulkActions.d.ts +4 -7
  72. package/dist/components/data-table/DataTableContext.d.ts +1 -1
  73. package/dist/components/data-table/DataTableDataCell.d.ts +1 -1
  74. package/dist/components/data-table/DataTableEmptyState.d.ts +1 -1
  75. package/dist/components/data-table/DataTableError.d.ts +1 -1
  76. package/dist/components/data-table/DataTableGlobalFilter.d.ts +1 -1
  77. package/dist/components/data-table/DataTableHead.d.ts +1 -1
  78. package/dist/components/data-table/DataTableHeaderCell.d.ts +1 -1
  79. package/dist/components/data-table/DataTableLoading.d.ts +298 -298
  80. package/dist/components/data-table/DataTableMetaData.d.ts +7 -7
  81. package/dist/components/data-table/DataTableRow.d.ts +1 -1
  82. package/dist/components/data-table/DataTableRowSelectionCheckbox.d.ts +2 -2
  83. package/dist/components/data-table/DataTableSelectAllRowsCheckbox.d.ts +1 -1
  84. package/dist/components/data-table/DataTableTable.d.ts +1 -1
  85. package/dist/components/data-table/DataTableTable.js +1 -1
  86. package/dist/components/data-table/DataTableTable.js.map +1 -1
  87. package/dist/components/data-table/drag-and-drop/DragAndDropTable.d.ts +1 -1
  88. package/dist/components/data-table/drag-and-drop/DragAndDropTableBody.d.ts +1 -1
  89. package/dist/components/data-table/drag-and-drop/DragAndDropTableRow.d.ts +1 -1
  90. package/dist/components/data-table/pagination/Pagination.d.ts +296 -296
  91. package/dist/components/date-field/DateField.d.ts +1 -1
  92. package/dist/components/date-input/DateInput.d.ts +1 -1
  93. package/dist/components/dialog/Dialog.d.ts +1480 -2232
  94. package/dist/components/dialog/DialogBackground.d.ts +590 -590
  95. package/dist/components/dialog/DialogClose.d.ts +295 -296
  96. package/dist/components/dialog/DialogContent.d.ts +297 -297
  97. package/dist/components/dismissible/index.d.ts +0 -1
  98. package/dist/components/dismissible-group/DismissibleGroupItem.d.ts +1 -1
  99. package/dist/components/dismissible-group/index.d.ts +0 -1
  100. package/dist/components/divider/Divider.d.ts +295 -295
  101. package/dist/components/drawer/Drawer.context.d.ts +1 -1
  102. package/dist/components/drawer/Drawer.d.ts +1183 -1946
  103. package/dist/components/drawer/DrawerClose.d.ts +1 -1
  104. package/dist/components/drawer/DrawerContent.d.ts +296 -296
  105. package/dist/components/drawer/DrawerFooter.d.ts +295 -295
  106. package/dist/components/drawer/DrawerHeader.d.ts +295 -295
  107. package/dist/components/drawer/DrawerMain.d.ts +295 -295
  108. package/dist/components/drawer/DrawerOverlay.d.ts +295 -296
  109. package/dist/components/drawer/DrawerTrigger.d.ts +295 -296
  110. package/dist/components/dropdown-menu/DropdownMenu.d.ts +1477 -1844
  111. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +295 -296
  112. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +295 -296
  113. package/dist/components/dropdown-menu/DropdownMenuLinkItem.d.ts +1 -369
  114. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +295 -296
  115. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +295 -296
  116. package/dist/components/empty-state/EmptyState.context.d.ts +1 -1
  117. package/dist/components/empty-state/EmptyState.d.ts +2078 -2078
  118. package/dist/components/empty-state/EmptyStateBody.d.ts +594 -594
  119. package/dist/components/empty-state/EmptyStateImage.d.ts +593 -593
  120. package/dist/components/empty-state/EmptyStateTitle.d.ts +297 -297
  121. package/dist/components/field-wrapper/FieldDescription.d.ts +1 -1
  122. package/dist/components/field-wrapper/FieldWrapper.d.ts +2 -2
  123. package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
  124. package/dist/components/file-input/FileInput.d.ts +1 -1
  125. package/dist/components/flex/Flex.d.ts +298 -298
  126. package/dist/components/form/Form.d.ts +296 -296
  127. package/dist/components/form/validation.d.ts +5 -5
  128. package/dist/components/grid/Grid.d.ts +296 -296
  129. package/dist/components/heading/Heading.d.ts +297 -297
  130. package/dist/components/icon/Icon.d.ts +296 -296
  131. package/dist/components/image/Image.d.ts +296 -296
  132. package/dist/components/inline-message/InlineMessage.d.ts +594 -594
  133. package/dist/components/inline-message/InlineMessage.types.d.ts +1 -1
  134. package/dist/components/input/Input.d.ts +891 -891
  135. package/dist/components/input-field/InputField.d.ts +1 -1
  136. package/dist/components/label/Label.d.ts +296 -296
  137. package/dist/components/link/Link.d.ts +297 -297
  138. package/dist/components/list/List.d.ts +593 -593
  139. package/dist/components/loader/Loader.d.ts +1 -1
  140. package/dist/components/markdown-content/MarkdownContent.d.ts +2 -2
  141. package/dist/components/markdown-content/components/MarkdownCode.d.ts +1 -1
  142. package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +296 -296
  143. package/dist/components/markdown-content/components/MarkdownHeading.d.ts +1 -1
  144. package/dist/components/markdown-content/components/MarkdownImage.d.ts +1 -1
  145. package/dist/components/markdown-content/components/MarkdownInlineCode.d.ts +1 -1
  146. package/dist/components/markdown-content/components/MarkdownLink.d.ts +1 -1
  147. package/dist/components/markdown-content/components/MarkdownList.d.ts +1 -1
  148. package/dist/components/markdown-content/components/MarkdownListItem.d.ts +1 -1
  149. package/dist/components/markdown-content/components/MarkdownParagraph.d.ts +1 -1
  150. package/dist/components/markdown-content/components/MarkdownStrong.d.ts +1 -1
  151. package/dist/components/markdown-content/components/MarkdownText.d.ts +1 -1
  152. package/dist/components/markdown-content/components/MarkdownThematicBreak.d.ts +1 -1
  153. package/dist/components/navigation/NavigationMenu.d.ts +2809 -2095
  154. package/dist/components/navigation/NavigationMenuDropdown.d.ts +1 -1
  155. package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +296 -296
  156. package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +592 -592
  157. package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +295 -295
  158. package/dist/components/navigation/NavigationMenuLink.d.ts +295 -295
  159. package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +3340 -3342
  160. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordion.d.ts +2 -2
  161. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +296 -296
  162. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +296 -296
  163. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +591 -591
  164. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +296 -296
  165. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItemContent.d.ts +1 -1
  166. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +296 -296
  167. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +295 -296
  168. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +593 -593
  169. package/dist/components/notification-badge/NotificationBadge.d.ts +1 -1
  170. package/dist/components/number-input/NumberInputStepper.d.ts +1 -1
  171. package/dist/components/pagination/Pagination.d.ts +1 -3
  172. package/dist/components/pagination/PaginationItems.d.ts +0 -1
  173. package/dist/components/pagination/PaginationNextButton.d.ts +593 -593
  174. package/dist/components/pagination/PaginationPreviousButton.d.ts +593 -593
  175. package/dist/components/pagination/types.d.ts +3 -4
  176. package/dist/components/password-field/PasswordField.d.ts +1 -1
  177. package/dist/components/password-input/PasswordInput.d.ts +1 -1
  178. package/dist/components/popover/Popover.d.ts +592 -592
  179. package/dist/components/popover/PopoverContent.d.ts +296 -296
  180. package/dist/components/progress-bar/ProgressBar.d.ts +296 -296
  181. package/dist/components/radio-button/RadioButton.d.ts +296 -296
  182. package/dist/components/radio-button/RadioButtonGroup.d.ts +295 -296
  183. package/dist/components/radio-button-field/RadioButtonField.d.ts +302 -302
  184. package/dist/components/radio-button-field/RadioField.d.ts +1 -1
  185. package/dist/components/radio-card/RadioCard.d.ts +296 -296
  186. package/dist/components/radio-card/RadioCardGroup.d.ts +1 -1
  187. package/dist/components/radio-card/RadioCardGroup.js.map +1 -1
  188. package/dist/components/search-field/SearchField.d.ts +1 -1
  189. package/dist/components/search-input/SearchInput.d.ts +1 -1
  190. package/dist/components/section-message/SectionMessage.d.ts +598 -2485
  191. package/dist/components/section-message/SectionMessageContext.d.ts +2 -2
  192. package/dist/components/section-message/SectionMessageIcon.d.ts +1 -1
  193. package/dist/components/select/Select.d.ts +296 -296
  194. package/dist/components/select-field/SelectField.d.ts +1 -1
  195. package/dist/components/side-bar/SideBar.d.ts +2364 -2364
  196. package/dist/components/side-bar/SideBarComponents.d.ts +2068 -2069
  197. package/dist/components/side-bar/SideBarContext.d.ts +2 -2
  198. package/dist/components/slider/Slider.d.ts +297 -297
  199. package/dist/components/slider/SliderSteps.d.ts +2 -2
  200. package/dist/components/slider/SliderValue.d.ts +2 -2
  201. package/dist/components/slider-field/SliderField.d.ts +1 -1
  202. package/dist/components/sortable/Handle.d.ts +594 -594
  203. package/dist/components/sortable/SortableHandle.d.ts +1 -1
  204. package/dist/components/sortable/SortableItem.d.ts +1 -1
  205. package/dist/components/sortable/SortableRoot.d.ts +1 -1
  206. package/dist/components/sortable/index.d.ts +0 -1
  207. package/dist/components/spacer/Spacer.d.ts +295 -295
  208. package/dist/components/stack-content/StackContent.d.ts +296 -296
  209. package/dist/components/stepper/Stepper.d.ts +2 -792
  210. package/dist/components/stepper/StepperStepBullet.d.ts +593 -593
  211. package/dist/components/stepper/StepperStepContainer.d.ts +593 -593
  212. package/dist/components/stepper/StepperStepLabel.d.ts +592 -593
  213. package/dist/components/stepper/types.d.ts +3 -3
  214. package/dist/components/switch/Switch.d.ts +296 -296
  215. package/dist/components/table/Table.d.ts +2366 -2368
  216. package/dist/components/table/Table.js +1 -1
  217. package/dist/components/table/Table.js.map +1 -1
  218. package/dist/components/table/TableBody.d.ts +296 -296
  219. package/dist/components/table/TableCell.d.ts +295 -295
  220. package/dist/components/table/TableFooter.d.ts +295 -295
  221. package/dist/components/table/TableFooterCell.d.ts +295 -295
  222. package/dist/components/table/TableHeader.d.ts +296 -296
  223. package/dist/components/table/TableHeaderCell.d.ts +295 -295
  224. package/dist/components/table/TableRow.d.ts +295 -295
  225. package/dist/components/table/TableStickyColumnsContainer.d.ts +3 -5
  226. package/dist/components/table/TableStickyColumnsContainer.js +1 -1
  227. package/dist/components/table/TableStickyColumnsContainer.js.map +1 -1
  228. package/dist/components/table/useStickyColumnsCss.d.ts +1 -3
  229. package/dist/components/table/useStickyColumnsCss.js +1 -1
  230. package/dist/components/table/useStickyColumnsCss.js.map +1 -1
  231. package/dist/components/tabs/Tabs.d.ts +1303 -1307
  232. package/dist/components/tabs/TabsContent.d.ts +295 -296
  233. package/dist/components/tabs/TabsTrigger.d.ts +295 -295
  234. package/dist/components/tabs/TabsTriggerList.d.ts +297 -665
  235. package/dist/components/text/Text.d.ts +297 -297
  236. package/dist/components/textarea/Textarea.d.ts +296 -296
  237. package/dist/components/textarea-field/TextareaField.d.ts +1 -1
  238. package/dist/components/tile/Tile.d.ts +296 -296
  239. package/dist/components/tile/TileGroup.d.ts +298 -298
  240. package/dist/components/tile-interactive/TileInteractive.d.ts +592 -592
  241. package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +888 -888
  242. package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +1 -1
  243. package/dist/components/tile-toggle-group/index.d.ts +1 -1
  244. package/dist/components/toast/Toast.d.ts +595 -970
  245. package/dist/components/toast/ToastProvider.d.ts +1 -1
  246. package/dist/components/toggle-group/ToggleGroupButton.d.ts +590 -590
  247. package/dist/components/toggle-group/ToggleGroupItem.d.ts +590 -591
  248. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +297 -297
  249. package/dist/components/toggle-group/index.d.ts +1778 -1779
  250. package/dist/components/tooltip/Tooltip.d.ts +591 -591
  251. package/dist/components/tooltip/TooltipContent.d.ts +296 -296
  252. package/dist/components/top-bar/TopBar.d.ts +1483 -1483
  253. package/dist/components/top-bar/TopBarActionIcon.d.ts +1 -1
  254. package/dist/components/top-bar/TopBarBrand.d.ts +888 -888
  255. package/dist/components/tree/Tree.d.ts +3740 -3742
  256. package/dist/components/tree/TreeCollapsible.d.ts +296 -296
  257. package/dist/components/tree/TreeCollapsibleContent.d.ts +296 -296
  258. package/dist/components/tree/TreeCollapsibleTrigger.d.ts +1 -1
  259. package/dist/components/tree/TreeIcon.d.ts +591 -591
  260. package/dist/components/tree/TreeItem.d.ts +1 -1
  261. package/dist/components/tree/TreeItemContent.d.ts +299 -299
  262. package/dist/components/tree/TreeList.d.ts +1 -1
  263. package/dist/components/tree/TreeListItem.d.ts +299 -299
  264. package/dist/components/tree/TreeText.d.ts +1 -1
  265. package/dist/components/video/Video.d.ts +296 -296
  266. package/dist/docgen.json +1 -1
  267. package/dist/experiments/color-scheme/ColorScheme.d.ts +298 -298
  268. package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
  269. package/dist/index.cjs.js +1 -1
  270. package/dist/index.cjs.js.map +1 -1
  271. package/dist/stitches.d.ts +2470 -2468
  272. package/dist/types/navigatorActions.types.d.ts +1 -1
  273. package/dist/types/polymorphicComponentProp.types.d.ts +5 -6
  274. package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +1 -300
  275. package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
  276. package/dist/utilities/hooks/useIsMountedRef.d.ts +0 -1
  277. package/dist/utilities/hooks/useResizeObserver.d.ts +2 -2
  278. package/dist/utilities/hooks/useScrollPosition.d.ts +2 -2
  279. package/dist/utilities/hooks/useSize.d.ts +2 -2
  280. package/dist/utilities/hooks/useWindowScrollPosition.d.ts +2 -2
  281. package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +590 -590
  282. package/dist/utilities/optional-tooltip-wrapper/OptionalTooltipWrapper.d.ts +1 -1
  283. package/dist/utilities/optional-visually-hidden-wrapper/OptionalVisuallyHiddenWrapper.d.ts +1 -1
  284. package/dist/utilities/radix-overrides/toggle-group/ToggleGroupRoot.d.ts +2 -2
  285. package/dist/utilities/radix-overrides/toggle-group/index.d.ts +1 -2
  286. package/dist/utilities/style/capsize.d.ts +1 -1
  287. package/dist/utilities/style/encode-background-icon.d.ts +1 -1
  288. package/dist/utilities/style/focus-visible-style-block.d.ts +2 -2
  289. package/dist/utilities/style/keyframe-animations.d.ts +2 -2
  290. package/dist/utilities/types.d.ts +1 -1
  291. package/dist/utilities/uri/index.d.ts +2 -2
  292. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- export declare type NavigatorActions = {
1
+ export type NavigatorActions = {
2
2
  onClick?: (...args: unknown[]) => void;
3
3
  href?: string;
4
4
  };
@@ -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
- declare type AsProp<C extends React.ElementType> = {
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
- declare type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
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
- declare type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
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 declare type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
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 declare type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
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,303 +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 (string & {
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
- purple100: import("@atom-learning/stitches-react/types/theme").Token<"purple100", string, "colors", "">;
58
- purple200: import("@atom-learning/stitches-react/types/theme").Token<"purple200", string, "colors", "">;
59
- purple300: import("@atom-learning/stitches-react/types/theme").Token<"purple300", string, "colors", "">;
60
- purple400: import("@atom-learning/stitches-react/types/theme").Token<"purple400", string, "colors", "">;
61
- purple500: import("@atom-learning/stitches-react/types/theme").Token<"purple500", string, "colors", "">;
62
- purple600: import("@atom-learning/stitches-react/types/theme").Token<"purple600", string, "colors", "">;
63
- purple700: import("@atom-learning/stitches-react/types/theme").Token<"purple700", string, "colors", "">;
64
- purple800: import("@atom-learning/stitches-react/types/theme").Token<"purple800", string, "colors", "">;
65
- purple900: import("@atom-learning/stitches-react/types/theme").Token<"purple900", string, "colors", "">;
66
- purple1000: import("@atom-learning/stitches-react/types/theme").Token<"purple1000", string, "colors", "">;
67
- purple1100: import("@atom-learning/stitches-react/types/theme").Token<"purple1100", string, "colors", "">;
68
- purple1200: import("@atom-learning/stitches-react/types/theme").Token<"purple1200", string, "colors", "">;
69
- cyan100: import("@atom-learning/stitches-react/types/theme").Token<"cyan100", string, "colors", "">;
70
- cyan200: import("@atom-learning/stitches-react/types/theme").Token<"cyan200", string, "colors", "">;
71
- cyan300: import("@atom-learning/stitches-react/types/theme").Token<"cyan300", string, "colors", "">;
72
- cyan400: import("@atom-learning/stitches-react/types/theme").Token<"cyan400", string, "colors", "">;
73
- cyan500: import("@atom-learning/stitches-react/types/theme").Token<"cyan500", string, "colors", "">;
74
- cyan600: import("@atom-learning/stitches-react/types/theme").Token<"cyan600", string, "colors", "">;
75
- cyan700: import("@atom-learning/stitches-react/types/theme").Token<"cyan700", string, "colors", "">;
76
- cyan800: import("@atom-learning/stitches-react/types/theme").Token<"cyan800", string, "colors", "">;
77
- cyan900: import("@atom-learning/stitches-react/types/theme").Token<"cyan900", string, "colors", "">;
78
- cyan1000: import("@atom-learning/stitches-react/types/theme").Token<"cyan1000", string, "colors", "">;
79
- cyan1100: import("@atom-learning/stitches-react/types/theme").Token<"cyan1100", string, "colors", "">;
80
- cyan1200: import("@atom-learning/stitches-react/types/theme").Token<"cyan1200", string, "colors", "">;
81
- green100: import("@atom-learning/stitches-react/types/theme").Token<"green100", string, "colors", "">;
82
- green200: import("@atom-learning/stitches-react/types/theme").Token<"green200", string, "colors", "">;
83
- green300: import("@atom-learning/stitches-react/types/theme").Token<"green300", string, "colors", "">;
84
- green400: import("@atom-learning/stitches-react/types/theme").Token<"green400", string, "colors", "">;
85
- green500: import("@atom-learning/stitches-react/types/theme").Token<"green500", string, "colors", "">;
86
- green600: import("@atom-learning/stitches-react/types/theme").Token<"green600", string, "colors", "">;
87
- green700: import("@atom-learning/stitches-react/types/theme").Token<"green700", string, "colors", "">;
88
- green800: import("@atom-learning/stitches-react/types/theme").Token<"green800", string, "colors", "">;
89
- green900: import("@atom-learning/stitches-react/types/theme").Token<"green900", string, "colors", "">;
90
- green1000: import("@atom-learning/stitches-react/types/theme").Token<"green1000", string, "colors", "">;
91
- green1100: import("@atom-learning/stitches-react/types/theme").Token<"green1100", string, "colors", "">;
92
- green1200: import("@atom-learning/stitches-react/types/theme").Token<"green1200", string, "colors", "">;
93
- magenta100: import("@atom-learning/stitches-react/types/theme").Token<"magenta100", string, "colors", "">;
94
- magenta200: import("@atom-learning/stitches-react/types/theme").Token<"magenta200", string, "colors", "">;
95
- magenta300: import("@atom-learning/stitches-react/types/theme").Token<"magenta300", string, "colors", "">;
96
- magenta400: import("@atom-learning/stitches-react/types/theme").Token<"magenta400", string, "colors", "">;
97
- magenta500: import("@atom-learning/stitches-react/types/theme").Token<"magenta500", string, "colors", "">;
98
- magenta600: import("@atom-learning/stitches-react/types/theme").Token<"magenta600", string, "colors", "">;
99
- magenta700: import("@atom-learning/stitches-react/types/theme").Token<"magenta700", string, "colors", "">;
100
- magenta800: import("@atom-learning/stitches-react/types/theme").Token<"magenta800", string, "colors", "">;
101
- magenta900: import("@atom-learning/stitches-react/types/theme").Token<"magenta900", string, "colors", "">;
102
- magenta1000: import("@atom-learning/stitches-react/types/theme").Token<"magenta1000", string, "colors", "">;
103
- magenta1100: import("@atom-learning/stitches-react/types/theme").Token<"magenta1100", string, "colors", "">;
104
- magenta1200: import("@atom-learning/stitches-react/types/theme").Token<"magenta1200", string, "colors", "">;
105
- red100: import("@atom-learning/stitches-react/types/theme").Token<"red100", string, "colors", "">;
106
- red200: import("@atom-learning/stitches-react/types/theme").Token<"red200", string, "colors", "">;
107
- red300: import("@atom-learning/stitches-react/types/theme").Token<"red300", string, "colors", "">;
108
- red400: import("@atom-learning/stitches-react/types/theme").Token<"red400", string, "colors", "">;
109
- red500: import("@atom-learning/stitches-react/types/theme").Token<"red500", string, "colors", "">;
110
- red600: import("@atom-learning/stitches-react/types/theme").Token<"red600", string, "colors", "">;
111
- red700: import("@atom-learning/stitches-react/types/theme").Token<"red700", string, "colors", "">;
112
- red800: import("@atom-learning/stitches-react/types/theme").Token<"red800", string, "colors", "">;
113
- red900: import("@atom-learning/stitches-react/types/theme").Token<"red900", string, "colors", "">;
114
- red1000: import("@atom-learning/stitches-react/types/theme").Token<"red1000", string, "colors", "">;
115
- red1100: import("@atom-learning/stitches-react/types/theme").Token<"red1100", string, "colors", "">;
116
- red1200: import("@atom-learning/stitches-react/types/theme").Token<"red1200", string, "colors", "">;
117
- teal100: import("@atom-learning/stitches-react/types/theme").Token<"teal100", string, "colors", "">;
118
- teal200: import("@atom-learning/stitches-react/types/theme").Token<"teal200", string, "colors", "">;
119
- teal300: import("@atom-learning/stitches-react/types/theme").Token<"teal300", string, "colors", "">;
120
- teal400: import("@atom-learning/stitches-react/types/theme").Token<"teal400", string, "colors", "">;
121
- teal500: import("@atom-learning/stitches-react/types/theme").Token<"teal500", string, "colors", "">;
122
- teal600: import("@atom-learning/stitches-react/types/theme").Token<"teal600", string, "colors", "">;
123
- teal700: import("@atom-learning/stitches-react/types/theme").Token<"teal700", string, "colors", "">;
124
- teal800: import("@atom-learning/stitches-react/types/theme").Token<"teal800", string, "colors", "">;
125
- teal900: import("@atom-learning/stitches-react/types/theme").Token<"teal900", string, "colors", "">;
126
- teal1000: import("@atom-learning/stitches-react/types/theme").Token<"teal1000", string, "colors", "">;
127
- teal1100: import("@atom-learning/stitches-react/types/theme").Token<"teal1100", string, "colors", "">;
128
- teal1200: import("@atom-learning/stitches-react/types/theme").Token<"teal1200", string, "colors", "">;
129
- orange100: import("@atom-learning/stitches-react/types/theme").Token<"orange100", string, "colors", "">;
130
- orange200: import("@atom-learning/stitches-react/types/theme").Token<"orange200", string, "colors", "">;
131
- orange300: import("@atom-learning/stitches-react/types/theme").Token<"orange300", string, "colors", "">;
132
- orange400: import("@atom-learning/stitches-react/types/theme").Token<"orange400", string, "colors", "">;
133
- orange500: import("@atom-learning/stitches-react/types/theme").Token<"orange500", string, "colors", "">;
134
- orange600: import("@atom-learning/stitches-react/types/theme").Token<"orange600", string, "colors", "">;
135
- orange700: import("@atom-learning/stitches-react/types/theme").Token<"orange700", string, "colors", "">;
136
- orange800: import("@atom-learning/stitches-react/types/theme").Token<"orange800", string, "colors", "">;
137
- orange900: import("@atom-learning/stitches-react/types/theme").Token<"orange900", string, "colors", "">;
138
- orange1000: import("@atom-learning/stitches-react/types/theme").Token<"orange1000", string, "colors", "">;
139
- orange1100: import("@atom-learning/stitches-react/types/theme").Token<"orange1100", string, "colors", "">;
140
- orange1200: import("@atom-learning/stitches-react/types/theme").Token<"orange1200", string, "colors", "">;
141
- yellow100: import("@atom-learning/stitches-react/types/theme").Token<"yellow100", string, "colors", "">;
142
- yellow200: import("@atom-learning/stitches-react/types/theme").Token<"yellow200", string, "colors", "">;
143
- yellow300: import("@atom-learning/stitches-react/types/theme").Token<"yellow300", string, "colors", "">;
144
- yellow400: import("@atom-learning/stitches-react/types/theme").Token<"yellow400", string, "colors", "">;
145
- yellow500: import("@atom-learning/stitches-react/types/theme").Token<"yellow500", string, "colors", "">;
146
- yellow600: import("@atom-learning/stitches-react/types/theme").Token<"yellow600", string, "colors", "">;
147
- yellow700: import("@atom-learning/stitches-react/types/theme").Token<"yellow700", string, "colors", "">;
148
- yellow800: import("@atom-learning/stitches-react/types/theme").Token<"yellow800", string, "colors", "">;
149
- yellow900: import("@atom-learning/stitches-react/types/theme").Token<"yellow900", string, "colors", "">;
150
- yellow1000: import("@atom-learning/stitches-react/types/theme").Token<"yellow1000", string, "colors", "">;
151
- yellow1100: import("@atom-learning/stitches-react/types/theme").Token<"yellow1100", string, "colors", "">;
152
- yellow1200: import("@atom-learning/stitches-react/types/theme").Token<"yellow1200", string, "colors", "">;
153
- lime100: import("@atom-learning/stitches-react/types/theme").Token<"lime100", string, "colors", "">;
154
- lime200: import("@atom-learning/stitches-react/types/theme").Token<"lime200", string, "colors", "">;
155
- lime300: import("@atom-learning/stitches-react/types/theme").Token<"lime300", string, "colors", "">;
156
- lime400: import("@atom-learning/stitches-react/types/theme").Token<"lime400", string, "colors", "">;
157
- lime500: import("@atom-learning/stitches-react/types/theme").Token<"lime500", string, "colors", "">;
158
- lime600: import("@atom-learning/stitches-react/types/theme").Token<"lime600", string, "colors", "">;
159
- lime700: import("@atom-learning/stitches-react/types/theme").Token<"lime700", string, "colors", "">;
160
- lime800: import("@atom-learning/stitches-react/types/theme").Token<"lime800", string, "colors", "">;
161
- lime900: import("@atom-learning/stitches-react/types/theme").Token<"lime900", string, "colors", "">;
162
- lime1000: import("@atom-learning/stitches-react/types/theme").Token<"lime1000", string, "colors", "">;
163
- lime1100: import("@atom-learning/stitches-react/types/theme").Token<"lime1100", string, "colors", "">;
164
- lime1200: import("@atom-learning/stitches-react/types/theme").Token<"lime1200", string, "colors", "">;
165
- lapis100: import("@atom-learning/stitches-react/types/theme").Token<"lapis100", string, "colors", "">;
166
- lapis200: import("@atom-learning/stitches-react/types/theme").Token<"lapis200", string, "colors", "">;
167
- lapis300: import("@atom-learning/stitches-react/types/theme").Token<"lapis300", string, "colors", "">;
168
- lapis400: import("@atom-learning/stitches-react/types/theme").Token<"lapis400", string, "colors", "">;
169
- lapis500: import("@atom-learning/stitches-react/types/theme").Token<"lapis500", string, "colors", "">;
170
- lapis600: import("@atom-learning/stitches-react/types/theme").Token<"lapis600", string, "colors", "">;
171
- lapis700: import("@atom-learning/stitches-react/types/theme").Token<"lapis700", string, "colors", "">;
172
- lapis800: import("@atom-learning/stitches-react/types/theme").Token<"lapis800", string, "colors", "">;
173
- lapis900: import("@atom-learning/stitches-react/types/theme").Token<"lapis900", string, "colors", "">;
174
- lapis1000: import("@atom-learning/stitches-react/types/theme").Token<"lapis1000", string, "colors", "">;
175
- lapis1100: import("@atom-learning/stitches-react/types/theme").Token<"lapis1100", string, "colors", "">;
176
- lapis1200: import("@atom-learning/stitches-react/types/theme").Token<"lapis1200", string, "colors", "">;
177
- maroon100: import("@atom-learning/stitches-react/types/theme").Token<"maroon100", string, "colors", "">;
178
- maroon200: import("@atom-learning/stitches-react/types/theme").Token<"maroon200", string, "colors", "">;
179
- maroon300: import("@atom-learning/stitches-react/types/theme").Token<"maroon300", string, "colors", "">;
180
- maroon400: import("@atom-learning/stitches-react/types/theme").Token<"maroon400", string, "colors", "">;
181
- maroon500: import("@atom-learning/stitches-react/types/theme").Token<"maroon500", string, "colors", "">;
182
- maroon600: import("@atom-learning/stitches-react/types/theme").Token<"maroon600", string, "colors", "">;
183
- maroon700: import("@atom-learning/stitches-react/types/theme").Token<"maroon700", string, "colors", "">;
184
- maroon800: import("@atom-learning/stitches-react/types/theme").Token<"maroon800", string, "colors", "">;
185
- maroon900: import("@atom-learning/stitches-react/types/theme").Token<"maroon900", string, "colors", "">;
186
- maroon1000: import("@atom-learning/stitches-react/types/theme").Token<"maroon1000", string, "colors", "">;
187
- maroon1100: import("@atom-learning/stitches-react/types/theme").Token<"maroon1100", string, "colors", "">;
188
- maroon1200: import("@atom-learning/stitches-react/types/theme").Token<"maroon1200", string, "colors", "">;
189
- marsh100: import("@atom-learning/stitches-react/types/theme").Token<"marsh100", string, "colors", "">;
190
- marsh200: import("@atom-learning/stitches-react/types/theme").Token<"marsh200", string, "colors", "">;
191
- marsh300: import("@atom-learning/stitches-react/types/theme").Token<"marsh300", string, "colors", "">;
192
- marsh400: import("@atom-learning/stitches-react/types/theme").Token<"marsh400", string, "colors", "">;
193
- marsh500: import("@atom-learning/stitches-react/types/theme").Token<"marsh500", string, "colors", "">;
194
- marsh600: import("@atom-learning/stitches-react/types/theme").Token<"marsh600", string, "colors", "">;
195
- marsh700: import("@atom-learning/stitches-react/types/theme").Token<"marsh700", string, "colors", "">;
196
- marsh800: import("@atom-learning/stitches-react/types/theme").Token<"marsh800", string, "colors", "">;
197
- marsh900: import("@atom-learning/stitches-react/types/theme").Token<"marsh900", string, "colors", "">;
198
- marsh1000: import("@atom-learning/stitches-react/types/theme").Token<"marsh1000", string, "colors", "">;
199
- marsh1100: import("@atom-learning/stitches-react/types/theme").Token<"marsh1100", string, "colors", "">;
200
- marsh1200: import("@atom-learning/stitches-react/types/theme").Token<"marsh1200", string, "colors", "">;
201
- tonal50: import("@atom-learning/stitches-react/types/theme").Token<"tonal50", string, "colors", "">;
202
- tonal100: import("@atom-learning/stitches-react/types/theme").Token<"tonal100", string, "colors", "">;
203
- tonal200: import("@atom-learning/stitches-react/types/theme").Token<"tonal200", string, "colors", "">;
204
- tonal300: import("@atom-learning/stitches-react/types/theme").Token<"tonal300", string, "colors", "">;
205
- tonal400: import("@atom-learning/stitches-react/types/theme").Token<"tonal400", string, "colors", "">;
206
- tonal500: import("@atom-learning/stitches-react/types/theme").Token<"tonal500", string, "colors", "">;
207
- tonal600: import("@atom-learning/stitches-react/types/theme").Token<"tonal600", string, "colors", "">;
208
- alpha100: import("@atom-learning/stitches-react/types/theme").Token<"alpha100", string, "colors", "">;
209
- alpha150: import("@atom-learning/stitches-react/types/theme").Token<"alpha150", string, "colors", "">;
210
- alpha200: import("@atom-learning/stitches-react/types/theme").Token<"alpha200", string, "colors", "">;
211
- alpha250: import("@atom-learning/stitches-react/types/theme").Token<"alpha250", string, "colors", "">;
212
- alpha600: import("@atom-learning/stitches-react/types/theme").Token<"alpha600", string, "colors", "">;
213
- brandRed: import("@atom-learning/stitches-react/types/theme").Token<"brandRed", string, "colors", "">;
214
- brandRedAccent: import("@atom-learning/stitches-react/types/theme").Token<"brandRedAccent", string, "colors", "">;
215
- brandGreen: import("@atom-learning/stitches-react/types/theme").Token<"brandGreen", string, "colors", "">;
216
- brandGreenAccent: import("@atom-learning/stitches-react/types/theme").Token<"brandGreenAccent", string, "colors", "">;
217
- brandPurple: import("@atom-learning/stitches-react/types/theme").Token<"brandPurple", string, "colors", "">;
218
- brandPurpleAccent: import("@atom-learning/stitches-react/types/theme").Token<"brandPurpleAccent", string, "colors", "">;
219
- brandYellow: import("@atom-learning/stitches-react/types/theme").Token<"brandYellow", string, "colors", "">;
220
- brandYellowAccent: import("@atom-learning/stitches-react/types/theme").Token<"brandYellowAccent", string, "colors", "">;
221
- infoLight: import("@atom-learning/stitches-react/types/theme").Token<"infoLight", string, "colors", "">;
222
- info: import("@atom-learning/stitches-react/types/theme").Token<"info", string, "colors", "">;
223
- infoMid: import("@atom-learning/stitches-react/types/theme").Token<"infoMid", string, "colors", "">;
224
- infoDark: import("@atom-learning/stitches-react/types/theme").Token<"infoDark", string, "colors", "">;
225
- successLight: import("@atom-learning/stitches-react/types/theme").Token<"successLight", string, "colors", "">;
226
- success: import("@atom-learning/stitches-react/types/theme").Token<"success", string, "colors", "">;
227
- successMid: import("@atom-learning/stitches-react/types/theme").Token<"successMid", string, "colors", "">;
228
- successDark: import("@atom-learning/stitches-react/types/theme").Token<"successDark", string, "colors", "">;
229
- dangerLight: import("@atom-learning/stitches-react/types/theme").Token<"dangerLight", string, "colors", "">;
230
- danger: import("@atom-learning/stitches-react/types/theme").Token<"danger", string, "colors", "">;
231
- dangerMid: import("@atom-learning/stitches-react/types/theme").Token<"dangerMid", string, "colors", "">;
232
- dangerDark: import("@atom-learning/stitches-react/types/theme").Token<"dangerDark", string, "colors", "">;
233
- warningLight: import("@atom-learning/stitches-react/types/theme").Token<"warningLight", string, "colors", "">;
234
- warning: import("@atom-learning/stitches-react/types/theme").Token<"warning", string, "colors", "">;
235
- warningMid: import("@atom-learning/stitches-react/types/theme").Token<"warningMid", string, "colors", "">;
236
- warningDark: import("@atom-learning/stitches-react/types/theme").Token<"warningDark", string, "colors", "">;
237
- warningText: import("@atom-learning/stitches-react/types/theme").Token<"warningText", string, "colors", "">;
238
- subjectEnglish: import("@atom-learning/stitches-react/types/theme").Token<"subjectEnglish", string, "colors", "">;
239
- subjectMaths: import("@atom-learning/stitches-react/types/theme").Token<"subjectMaths", string, "colors", "">;
240
- subjectScience: import("@atom-learning/stitches-react/types/theme").Token<"subjectScience", string, "colors", "">;
241
- subjectVerbalReasoning: import("@atom-learning/stitches-react/types/theme").Token<"subjectVerbalReasoning", string, "colors", "">;
242
- subjectNonVerbalReasoning: import("@atom-learning/stitches-react/types/theme").Token<"subjectNonVerbalReasoning", string, "colors", "">;
243
- subjectCreativeWriting: import("@atom-learning/stitches-react/types/theme").Token<"subjectCreativeWriting", string, "colors", "">;
244
- subjectExamSkills: import("@atom-learning/stitches-react/types/theme").Token<"subjectExamSkills", string, "colors", "">;
245
- glBlueLight: import("@atom-learning/stitches-react/types/theme").Token<"glBlueLight", string, "colors", "">;
246
- glBluePrimary: import("@atom-learning/stitches-react/types/theme").Token<"glBluePrimary", string, "colors", "">;
247
- glBlueDark: import("@atom-learning/stitches-react/types/theme").Token<"glBlueDark", string, "colors", "">;
248
- primary100: import("@atom-learning/stitches-react/types/theme").Token<"primary100", string, "colors", "">;
249
- primary200: import("@atom-learning/stitches-react/types/theme").Token<"primary200", string, "colors", "">;
250
- primary300: import("@atom-learning/stitches-react/types/theme").Token<"primary300", string, "colors", "">;
251
- primary400: import("@atom-learning/stitches-react/types/theme").Token<"primary400", string, "colors", "">;
252
- primary500: import("@atom-learning/stitches-react/types/theme").Token<"primary500", string, "colors", "">;
253
- primary600: import("@atom-learning/stitches-react/types/theme").Token<"primary600", string, "colors", "">;
254
- primary700: import("@atom-learning/stitches-react/types/theme").Token<"primary700", string, "colors", "">;
255
- primary800: import("@atom-learning/stitches-react/types/theme").Token<"primary800", string, "colors", "">;
256
- primary900: import("@atom-learning/stitches-react/types/theme").Token<"primary900", string, "colors", "">;
257
- primary1000: import("@atom-learning/stitches-react/types/theme").Token<"primary1000", string, "colors", "">;
258
- primary1100: import("@atom-learning/stitches-react/types/theme").Token<"primary1100", string, "colors", "">;
259
- primary1200: import("@atom-learning/stitches-react/types/theme").Token<"primary1200", string, "colors", "">;
260
- };
261
- space: {
262
- 0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "space", "">;
263
- 1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "space", "">;
264
- 2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "space", "">;
265
- 3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "space", "">;
266
- 4: import("@atom-learning/stitches-react/types/theme").Token<"4", string, "space", "">;
267
- 5: import("@atom-learning/stitches-react/types/theme").Token<"5", string, "space", "">;
268
- 6: import("@atom-learning/stitches-react/types/theme").Token<"6", string, "space", "">;
269
- 7: import("@atom-learning/stitches-react/types/theme").Token<"7", string, "space", "">;
270
- 8: import("@atom-learning/stitches-react/types/theme").Token<"8", string, "space", "">;
271
- 9: import("@atom-learning/stitches-react/types/theme").Token<"9", string, "space", "">;
272
- 24: import("@atom-learning/stitches-react/types/theme").Token<"24", string, "space", "">;
273
- };
274
- fontSizes: {
275
- xs: import("@atom-learning/stitches-react/types/theme").Token<"xs", string, "fontSizes", "">;
276
- sm: import("@atom-learning/stitches-react/types/theme").Token<"sm", string, "fontSizes", "">;
277
- md: import("@atom-learning/stitches-react/types/theme").Token<"md", string, "fontSizes", "">;
278
- lg: import("@atom-learning/stitches-react/types/theme").Token<"lg", string, "fontSizes", "">;
279
- xl: import("@atom-learning/stitches-react/types/theme").Token<"xl", string, "fontSizes", "">;
280
- "2xl": import("@atom-learning/stitches-react/types/theme").Token<"2xl", string, "fontSizes", "">;
281
- "3xl": import("@atom-learning/stitches-react/types/theme").Token<"3xl", string, "fontSizes", "">;
282
- "4xl": import("@atom-learning/stitches-react/types/theme").Token<"4xl", string, "fontSizes", "">;
283
- };
284
- fonts: {
285
- sans: import("@atom-learning/stitches-react/types/theme").Token<"sans", string, "fonts", "">;
286
- mono: import("@atom-learning/stitches-react/types/theme").Token<"mono", string, "fonts", "">;
287
- display: import("@atom-learning/stitches-react/types/theme").Token<"display", string, "fonts", "">;
288
- body: import("@atom-learning/stitches-react/types/theme").Token<"body", string, "fonts", "">;
289
- };
290
- sizes: {
291
- 0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "sizes", "">;
292
- 1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "sizes", "">;
293
- 2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "sizes", "">;
294
- 3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "sizes", "">;
295
- 4: import("@atom-learning/stitches-react/types/theme").Token<"4", string, "sizes", "">;
296
- 5: import("@atom-learning/stitches-react/types/theme").Token<"5", string, "sizes", "">;
297
- 6: import("@atom-learning/stitches-react/types/theme").Token<"6", string, "sizes", "">;
298
- 7: import("@atom-learning/stitches-react/types/theme").Token<"7", string, "sizes", "">;
299
- 8: import("@atom-learning/stitches-react/types/theme").Token<"8", string, "sizes", "">;
300
- };
301
- radii: {
302
- 0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "radii", "">;
303
- 1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "radii", "">;
304
- 2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "radii", "">;
305
- 3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "radii", "">;
306
- round: import("@atom-learning/stitches-react/types/theme").Token<"round", string, "radii", "">;
307
- };
308
- shadows: {
309
- 0: import("@atom-learning/stitches-react/types/theme").Token<"0", string, "shadows", "">;
310
- 1: import("@atom-learning/stitches-react/types/theme").Token<"1", string, "shadows", "">;
311
- 2: import("@atom-learning/stitches-react/types/theme").Token<"2", string, "shadows", "">;
312
- 3: import("@atom-learning/stitches-react/types/theme").Token<"3", string, "shadows", "">;
313
- };
314
- ratios: {
315
- "16-9": import("@atom-learning/stitches-react/types/theme").Token<"16-9", string, "ratios", "">;
316
- "3-2": import("@atom-learning/stitches-react/types/theme").Token<"3-2", string, "ratios", "">;
317
- "4-3": import("@atom-learning/stitches-react/types/theme").Token<"4-3", string, "ratios", "">;
318
- "1-1": import("@atom-learning/stitches-react/types/theme").Token<"1-1", string, "ratios", "">;
319
- "3-4": import("@atom-learning/stitches-react/types/theme").Token<"3-4", string, "ratios", "">;
320
- };
321
- })[ThemeProperty], CSS>;
22
+ export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(themeProperty: ThemeProperty, styles: CSS) => Record<keyof (typeof theme)[ThemeProperty], CSS>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { CSS } from '../../stitches';
3
- declare type CssWrapperProps = {
3
+ type CssWrapperProps = {
4
4
  css?: CSS;
5
5
  children: React.ReactNode;
6
6
  };
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const useIsMountedRef: () => import("react").MutableRefObject<boolean | undefined>;
@@ -1,8 +1,8 @@
1
- declare type TUseResizeObserverOptions = {
1
+ type TUseResizeObserverOptions = {
2
2
  elements: (HTMLElement | undefined | null)[];
3
3
  onResize: (entries: ResizeObserverEntry[]) => void;
4
4
  delay?: number;
5
5
  };
6
- declare type TUseResizeObserverOutput = ResizeObserver | null;
6
+ type TUseResizeObserverOutput = ResizeObserver | null;
7
7
  export declare const useResizeObserver: ({ delay, elements, onResize }: TUseResizeObserverOptions) => TUseResizeObserverOutput;
8
8
  export {};
@@ -1,9 +1,9 @@
1
- declare type TUseScrollPositionOptions = {
1
+ type TUseScrollPositionOptions = {
2
2
  element?: HTMLElement | null;
3
3
  delay?: number;
4
4
  delayMethod?: 'throttle' | 'debounce';
5
5
  };
6
- declare type TUseScrollPositionOutput = {
6
+ type TUseScrollPositionOutput = {
7
7
  left: number;
8
8
  top: number;
9
9
  };
@@ -3,7 +3,7 @@ interface Size {
3
3
  height: number | undefined;
4
4
  }
5
5
  export declare const useSize: ({ element, delay }: {
6
- element?: HTMLElement | null | undefined;
7
- delay?: number | undefined;
6
+ element?: HTMLElement | null;
7
+ delay?: number;
8
8
  }) => Size;
9
9
  export {};
@@ -1,8 +1,8 @@
1
- declare type TUseWindowScrollPositionOptions = {
1
+ type TUseWindowScrollPositionOptions = {
2
2
  delay?: number;
3
3
  delayMethod?: 'throttle' | 'debounce';
4
4
  };
5
- declare type TUseWindowScrollPositionOutput = {
5
+ type TUseWindowScrollPositionOutput = {
6
6
  x: number;
7
7
  y: number;
8
8
  };