@atom-learning/components 4.0.0-beta.1 → 4.0.0-beta.11

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 (431) hide show
  1. package/dist/components/accordion/Accordion.d.ts +52 -55
  2. package/dist/components/accordion/AccordionContent.d.ts +53 -56
  3. package/dist/components/accordion/AccordionItem.d.ts +52 -55
  4. package/dist/components/accordion/AccordionTrigger.d.ts +105 -111
  5. package/dist/components/accordion/AccordionTrigger.js +1 -1
  6. package/dist/components/accordion/AccordionTrigger.js.map +1 -1
  7. package/dist/components/action-icon/ActionIcon.d.ts +53 -56
  8. package/dist/components/action-icon/ActionIcon.js +1 -1
  9. package/dist/components/action-icon/ActionIcon.js.map +1 -1
  10. package/dist/components/alert-dialog/AlertDialog.d.ts +105 -111
  11. package/dist/components/alert-dialog/AlertDialogContent.d.ts +53 -56
  12. package/dist/components/alert-dialog/alert-context/AlertContext.d.ts +1 -1
  13. package/dist/components/alert-dialog/alert-context/AlertDialog.d.ts +1 -1
  14. package/dist/components/alert-dialog/alert-context/AlertDialogIcon.d.ts +2 -2
  15. package/dist/components/avatar/Avatar.d.ts +164 -173
  16. package/dist/components/avatar/Avatar.js +1 -1
  17. package/dist/components/avatar/Avatar.js.map +1 -1
  18. package/dist/components/avatar/AvatarIcon.d.ts +2 -2
  19. package/dist/components/avatar/AvatarImage.d.ts +2 -2
  20. package/dist/components/avatar/AvatarInitial.d.ts +2 -2
  21. package/dist/components/avatar/AvatarInitial.js +1 -1
  22. package/dist/components/avatar/AvatarInitial.js.map +1 -1
  23. package/dist/components/avatar/AvatarPlaceholder.d.ts +2 -2
  24. package/dist/components/badge/Badge.context.d.ts +1 -1
  25. package/dist/components/badge/Badge.d.ts +316 -332
  26. package/dist/components/badge/BadgeIcon.d.ts +105 -111
  27. package/dist/components/badge/BadgeText.d.ts +106 -110
  28. package/dist/components/badge/stitches.badge.colorscheme.config.d.ts +27 -16
  29. package/dist/components/badge/stitches.badge.colorscheme.config.js +1 -1
  30. package/dist/components/badge/stitches.badge.colorscheme.config.js.map +1 -1
  31. package/dist/components/banner/Banner.d.ts +2 -2
  32. package/dist/components/banner/BannerContainer.d.ts +103 -109
  33. package/dist/components/banner/BannerContext.d.ts +1 -1
  34. package/dist/components/banner/banner-regular/BannerRegular.d.ts +487 -505
  35. package/dist/components/banner/banner-regular/BannerRegularActions.d.ts +1 -1
  36. package/dist/components/banner/banner-regular/BannerRegularButton.d.ts +1 -1
  37. package/dist/components/banner/banner-regular/BannerRegularContainer.d.ts +1 -1
  38. package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +104 -110
  39. package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +106 -112
  40. package/dist/components/banner/banner-regular/BannerRegularHeading.d.ts +1 -1
  41. package/dist/components/banner/banner-regular/BannerRegularImage.d.ts +1 -1
  42. package/dist/components/banner/banner-regular/BannerRegularText.d.ts +1 -1
  43. package/dist/components/banner/banner-slim/BannerSlim.d.ts +432 -447
  44. package/dist/components/banner/banner-slim/BannerSlimActions.d.ts +1 -1
  45. package/dist/components/banner/banner-slim/BannerSlimButton.d.ts +1 -1
  46. package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +52 -55
  47. package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +104 -110
  48. package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +105 -111
  49. package/dist/components/banner/banner-slim/BannerSlimImage.d.ts +1 -1
  50. package/dist/components/banner/banner-slim/BannerSlimText.d.ts +1 -1
  51. package/dist/components/banner/banner-slim/BannerSlimText.js +1 -1
  52. package/dist/components/banner/banner-slim/BannerSlimText.js.map +1 -1
  53. package/dist/components/box/Box.d.ts +52 -55
  54. package/dist/components/button/Button.d.ts +53 -56
  55. package/dist/components/button/Button.js +1 -1
  56. package/dist/components/button/Button.js.map +1 -1
  57. package/dist/components/calendar/Calendar.d.ts +1 -1
  58. package/dist/components/calendar/Calendar.js +1 -1
  59. package/dist/components/calendar/Calendar.js.map +1 -1
  60. package/dist/components/calendar/Day.d.ts +52 -55
  61. package/dist/components/calendar/Day.js +1 -1
  62. package/dist/components/calendar/Day.js.map +1 -1
  63. package/dist/components/carousel/Carousel.d.ts +213 -225
  64. package/dist/components/carousel/CarouselArrows.d.ts +3 -3
  65. package/dist/components/carousel/CarouselArrows.js +1 -1
  66. package/dist/components/carousel/CarouselArrows.js.map +1 -1
  67. package/dist/components/carousel/CarouselPagination.d.ts +52 -55
  68. package/dist/components/carousel/CarouselPagination.js +1 -1
  69. package/dist/components/carousel/CarouselPagination.js.map +1 -1
  70. package/dist/components/carousel/CarouselSlide.d.ts +53 -56
  71. package/dist/components/carousel/CarouselSlider.d.ts +52 -55
  72. package/dist/components/checkbox/Checkbox.d.ts +52 -55
  73. package/dist/components/checkbox/Checkbox.js +1 -1
  74. package/dist/components/checkbox/Checkbox.js.map +1 -1
  75. package/dist/components/checkbox-field/CheckboxField.d.ts +1 -1
  76. package/dist/components/checkbox-group/CheckboxGroup.d.ts +211 -216
  77. package/dist/components/checkbox-group/context/CheckboxGroupChecked.context.d.ts +1 -1
  78. package/dist/components/checkbox-group/context/CheckboxGroupMounted.context.d.ts +1 -1
  79. package/dist/components/checkbox-tree/CheckboxTree.d.ts +422 -416
  80. package/dist/components/chip/Chip.d.ts +369 -390
  81. package/dist/components/chip/Chip.js +1 -1
  82. package/dist/components/chip/Chip.js.map +1 -1
  83. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +212 -224
  84. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.js +1 -1
  85. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.js.map +1 -1
  86. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +212 -224
  87. package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
  88. package/dist/components/chip-toggle-group/ChipToggleGroupItem.js.map +1 -1
  89. package/dist/components/combobox/Combobox.d.ts +261 -276
  90. package/dist/components/combobox/ComboboxInput.d.ts +52 -55
  91. package/dist/components/combobox/ComboboxInput.js +1 -1
  92. package/dist/components/combobox/ComboboxInput.js.map +1 -1
  93. package/dist/components/combobox/ComboboxList.d.ts +52 -55
  94. package/dist/components/combobox/ComboboxOption.d.ts +52 -55
  95. package/dist/components/combobox/ComboboxOption.js +1 -1
  96. package/dist/components/combobox/ComboboxOption.js.map +1 -1
  97. package/dist/components/combobox/ComboboxPopover.d.ts +52 -55
  98. package/dist/components/combobox/ComboboxPopover.js +1 -1
  99. package/dist/components/combobox/ComboboxPopover.js.map +1 -1
  100. package/dist/components/create-password-field/CreatePasswordField.d.ts +1 -1
  101. package/dist/components/data-table/DataTable.d.ts +650 -683
  102. package/dist/components/data-table/DataTableBody.d.ts +1 -1
  103. package/dist/components/data-table/DataTableBulkActions.d.ts +3 -3
  104. package/dist/components/data-table/DataTableDataCell.d.ts +2 -2
  105. package/dist/components/data-table/DataTableEmptyState.d.ts +1 -1
  106. package/dist/components/data-table/DataTableGlobalFilter.d.ts +1 -1
  107. package/dist/components/data-table/DataTableHead.d.ts +1 -1
  108. package/dist/components/data-table/DataTableHeaderCell.d.ts +1 -1
  109. package/dist/components/data-table/DataTableLoading.d.ts +54 -57
  110. package/dist/components/data-table/DataTableMetaData.d.ts +4 -9
  111. package/dist/components/data-table/DataTableMetaData.js +1 -1
  112. package/dist/components/data-table/DataTableMetaData.js.map +1 -1
  113. package/dist/components/data-table/DataTableRow.d.ts +1 -1
  114. package/dist/components/data-table/DataTableSelectAllRowsCheckbox.d.ts +2 -2
  115. package/dist/components/data-table/DataTableTable.d.ts +1 -1
  116. package/dist/components/data-table/DataTableTable.js +1 -1
  117. package/dist/components/data-table/DataTableTable.js.map +1 -1
  118. package/dist/components/data-table/drag-and-drop/DragAndDropTable.d.ts +2 -2
  119. package/dist/components/data-table/drag-and-drop/DragAndDropTableBody.d.ts +1 -1
  120. package/dist/components/data-table/drag-and-drop/DragAndDropTableRow.d.ts +1 -1
  121. package/dist/components/data-table/pagination/Pagination.d.ts +53 -56
  122. package/dist/components/date-field/DateField.d.ts +2 -2
  123. package/dist/components/dialog/Dialog.d.ts +368 -389
  124. package/dist/components/dialog/DialogBackground.d.ts +103 -109
  125. package/dist/components/dialog/DialogClose.d.ts +52 -55
  126. package/dist/components/dialog/DialogContent.d.ts +53 -56
  127. package/dist/components/dialog/DialogContent.js +1 -1
  128. package/dist/components/dialog/DialogContent.js.map +1 -1
  129. package/dist/components/dialog/DialogFooter.d.ts +1 -1
  130. package/dist/components/dialog/DialogHeading.d.ts +1 -1
  131. package/dist/components/dialog/DialogHeading.js +1 -1
  132. package/dist/components/dialog/DialogHeading.js.map +1 -1
  133. package/dist/components/dismissible/DismissibleRoot.d.ts +2 -2
  134. package/dist/components/dismissible/DismissibleTrigger.d.ts +1 -1
  135. package/dist/components/dismissible/index.d.ts +2 -2
  136. package/dist/components/dismissible-group/DismissibleGroupItem.d.ts +1 -1
  137. package/dist/components/dismissible-group/DismissibleGroupRoot.d.ts +2 -2
  138. package/dist/components/dismissible-group/index.d.ts +3 -3
  139. package/dist/components/divider/Divider.d.ts +52 -55
  140. package/dist/components/divider/Divider.js +1 -1
  141. package/dist/components/divider/Divider.js.map +1 -1
  142. package/dist/components/drawer/Drawer.d.ts +316 -334
  143. package/dist/components/drawer/DrawerClose.d.ts +1 -1
  144. package/dist/components/drawer/DrawerContent.d.ts +53 -56
  145. package/dist/components/drawer/DrawerFooter.d.ts +52 -55
  146. package/dist/components/drawer/DrawerHeader.d.ts +52 -55
  147. package/dist/components/drawer/DrawerMain.d.ts +52 -55
  148. package/dist/components/drawer/DrawerOverlay.d.ts +52 -55
  149. package/dist/components/drawer/DrawerTrigger.d.ts +52 -55
  150. package/dist/components/dropdown-menu/DropdownMenu.d.ts +313 -331
  151. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +52 -55
  152. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +480 -483
  153. package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
  154. package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
  155. package/dist/components/dropdown-menu/DropdownMenuLinkItem.d.ts +53 -56
  156. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +52 -55
  157. package/dist/components/dropdown-menu/DropdownMenuSeparator.js +1 -1
  158. package/dist/components/dropdown-menu/DropdownMenuSeparator.js.map +1 -1
  159. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +52 -55
  160. package/dist/components/empty-state/EmptyState.context.d.ts +1 -1
  161. package/dist/components/empty-state/EmptyState.d.ts +373 -392
  162. package/dist/components/empty-state/EmptyStateBody.d.ts +107 -111
  163. package/dist/components/empty-state/EmptyStateBody.js +1 -1
  164. package/dist/components/empty-state/EmptyStateBody.js.map +1 -1
  165. package/dist/components/empty-state/EmptyStateImage.d.ts +108 -114
  166. package/dist/components/empty-state/EmptyStateTitle.d.ts +53 -56
  167. package/dist/components/empty-state/EmptyStateTitle.js +1 -1
  168. package/dist/components/empty-state/EmptyStateTitle.js.map +1 -1
  169. package/dist/components/field-wrapper/FieldDescription.d.ts +1 -1
  170. package/dist/components/field-wrapper/FieldDescription.js +1 -1
  171. package/dist/components/field-wrapper/FieldDescription.js.map +1 -1
  172. package/dist/components/field-wrapper/FieldWrapper.d.ts +1 -1
  173. package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
  174. package/dist/components/file-input/FileInput.d.ts +1 -1
  175. package/dist/components/flex/Flex.d.ts +52 -55
  176. package/dist/components/form/Form.d.ts +53 -56
  177. package/dist/components/grid/Grid.d.ts +53 -56
  178. package/dist/components/heading/Heading.d.ts +52 -55
  179. package/dist/components/heading/Heading.js +1 -1
  180. package/dist/components/heading/Heading.js.map +1 -1
  181. package/dist/components/icon/Icon.d.ts +52 -55
  182. package/dist/components/image/Image.d.ts +53 -56
  183. package/dist/components/index.d.ts +1 -0
  184. package/dist/components/inline-message/InlineMessage.config.js +1 -1
  185. package/dist/components/inline-message/InlineMessage.config.js.map +1 -1
  186. package/dist/components/inline-message/InlineMessage.d.ts +104 -110
  187. package/dist/components/input/Input.d.ts +155 -164
  188. package/dist/components/input/Input.js +1 -1
  189. package/dist/components/input/Input.js.map +1 -1
  190. package/dist/components/input-field/InputField.d.ts +2 -2
  191. package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +760 -0
  192. package/dist/components/keyboard-shortcut/KeyboardShortcut.js +2 -0
  193. package/dist/components/keyboard-shortcut/KeyboardShortcut.js.map +1 -0
  194. package/dist/components/keyboard-shortcut/index.d.ts +1124 -0
  195. package/dist/components/keyboard-shortcut/index.js +2 -0
  196. package/dist/components/keyboard-shortcut/index.js.map +1 -0
  197. package/dist/components/label/Label.d.ts +53 -56
  198. package/dist/components/label/Label.js +1 -1
  199. package/dist/components/label/Label.js.map +1 -1
  200. package/dist/components/link/Link.d.ts +52 -55
  201. package/dist/components/list/List.d.ts +104 -110
  202. package/dist/components/loader/Loader.d.ts +2 -2
  203. package/dist/components/markdown-content/MarkdownContent.d.ts +2 -2
  204. package/dist/components/markdown-content/components/MarkdownCode.d.ts +3 -3
  205. package/dist/components/markdown-content/components/MarkdownCode.js +1 -1
  206. package/dist/components/markdown-content/components/MarkdownCode.js.map +1 -1
  207. package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +54 -57
  208. package/dist/components/markdown-content/components/MarkdownEmphasis.js.map +1 -1
  209. package/dist/components/markdown-content/components/MarkdownHeading.d.ts +2 -2
  210. package/dist/components/markdown-content/components/MarkdownHeading.js +1 -1
  211. package/dist/components/markdown-content/components/MarkdownHeading.js.map +1 -1
  212. package/dist/components/markdown-content/components/MarkdownImage.d.ts +3 -3
  213. package/dist/components/markdown-content/components/MarkdownImage.js +1 -1
  214. package/dist/components/markdown-content/components/MarkdownImage.js.map +1 -1
  215. package/dist/components/markdown-content/components/MarkdownInlineCode.d.ts +3 -3
  216. package/dist/components/markdown-content/components/MarkdownInlineCode.js +1 -1
  217. package/dist/components/markdown-content/components/MarkdownInlineCode.js.map +1 -1
  218. package/dist/components/markdown-content/components/MarkdownLink.d.ts +2 -2
  219. package/dist/components/markdown-content/components/MarkdownLink.js.map +1 -1
  220. package/dist/components/markdown-content/components/MarkdownList.d.ts +2 -2
  221. package/dist/components/markdown-content/components/MarkdownList.js +1 -1
  222. package/dist/components/markdown-content/components/MarkdownList.js.map +1 -1
  223. package/dist/components/markdown-content/components/MarkdownListItem.d.ts +2 -2
  224. package/dist/components/markdown-content/components/MarkdownListItem.js.map +1 -1
  225. package/dist/components/markdown-content/components/MarkdownParagraph.d.ts +2 -2
  226. package/dist/components/markdown-content/components/MarkdownParagraph.js.map +1 -1
  227. package/dist/components/markdown-content/components/MarkdownStrong.d.ts +2 -2
  228. package/dist/components/markdown-content/components/MarkdownStrong.js.map +1 -1
  229. package/dist/components/markdown-content/components/MarkdownText.d.ts +1 -1
  230. package/dist/components/markdown-content/components/MarkdownText.js.map +1 -1
  231. package/dist/components/markdown-content/components/MarkdownThematicBreak.d.ts +2 -2
  232. package/dist/components/navigation/NavigationMenu.d.ts +369 -388
  233. package/dist/components/navigation/NavigationMenu.js +1 -1
  234. package/dist/components/navigation/NavigationMenu.js.map +1 -1
  235. package/dist/components/navigation/NavigationMenu.styles.d.ts +1 -1
  236. package/dist/components/navigation/NavigationMenu.styles.js +1 -1
  237. package/dist/components/navigation/NavigationMenu.styles.js.map +1 -1
  238. package/dist/components/navigation/NavigationMenuDropdown.d.ts +1 -1
  239. package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +53 -56
  240. package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +106 -110
  241. package/dist/components/navigation/NavigationMenuDropdownItem.js +1 -1
  242. package/dist/components/navigation/NavigationMenuDropdownItem.js.map +1 -1
  243. package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +52 -55
  244. package/dist/components/navigation/NavigationMenuLink.d.ts +52 -55
  245. package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.d.ts +1 -1
  246. package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +686 -707
  247. package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.d.ts +2 -2
  248. package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.js +1 -1
  249. package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.js.map +1 -1
  250. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +52 -55
  251. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +53 -56
  252. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +104 -110
  253. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +52 -55
  254. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +53 -56
  255. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +52 -55
  256. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +106 -110
  257. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.js +1 -1
  258. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.js.map +1 -1
  259. package/dist/components/navigation-menu-vertical/stitches.navigationMenuVertical.colorscheme.config.d.ts +1 -1
  260. package/dist/components/notification-badge/NotificationBadge.d.ts +1 -1
  261. package/dist/components/number-input/NumberInputStepper.js +1 -1
  262. package/dist/components/number-input/NumberInputStepper.js.map +1 -1
  263. package/dist/components/number-input-field/NumberInputField.d.ts +2 -2
  264. package/dist/components/pagination/Pagination.d.ts +2 -2
  265. package/dist/components/pagination/PaginationNextButton.d.ts +106 -112
  266. package/dist/components/pagination/PaginationPage.d.ts +2 -2
  267. package/dist/components/pagination/PaginationPopover.d.ts +1 -1
  268. package/dist/components/pagination/PaginationPopover.js +1 -1
  269. package/dist/components/pagination/PaginationPopover.js.map +1 -1
  270. package/dist/components/pagination/PaginationPreviousButton.d.ts +106 -112
  271. package/dist/components/pagination/pagination-context/PaginationContext.d.ts +1 -1
  272. package/dist/components/password-field/PasswordField.d.ts +1 -1
  273. package/dist/components/popover/Popover.d.ts +105 -111
  274. package/dist/components/popover/PopoverContent.d.ts +53 -56
  275. package/dist/components/progress-bar/ProgressBar.d.ts +53 -56
  276. package/dist/components/progress-bar/ProgressBar.js +1 -1
  277. package/dist/components/progress-bar/ProgressBar.js.map +1 -1
  278. package/dist/components/radio-button/RadioButton.d.ts +53 -56
  279. package/dist/components/radio-button/RadioButton.js +1 -1
  280. package/dist/components/radio-button/RadioButton.js.map +1 -1
  281. package/dist/components/radio-button/RadioButtonGroup.d.ts +52 -55
  282. package/dist/components/radio-button-field/RadioButtonField.d.ts +54 -57
  283. package/dist/components/radio-button-field/RadioField.d.ts +1 -1
  284. package/dist/components/radio-card/RadioCard.d.ts +53 -56
  285. package/dist/components/radio-card/RadioCard.js +1 -1
  286. package/dist/components/radio-card/RadioCard.js.map +1 -1
  287. package/dist/components/radio-card/RadioCardGroup.d.ts +2 -2
  288. package/dist/components/radio-card/RadioCardGroup.js.map +1 -1
  289. package/dist/components/search-field/SearchField.d.ts +2 -2
  290. package/dist/components/search-input/SearchInput.js +1 -1
  291. package/dist/components/search-input/SearchInput.js.map +1 -1
  292. package/dist/components/section-message/SectionMessage.d.ts +377 -394
  293. package/dist/components/section-message/SectionMessageTitle.d.ts +1 -1
  294. package/dist/components/section-message/SectionMessageTitle.js +1 -1
  295. package/dist/components/section-message/SectionMessageTitle.js.map +1 -1
  296. package/dist/components/select/Select.d.ts +52 -55
  297. package/dist/components/select/Select.js +1 -1
  298. package/dist/components/select/Select.js.map +1 -1
  299. package/dist/components/select-field/SelectField.d.ts +2 -2
  300. package/dist/components/side-bar/SideBar.d.ts +422 -444
  301. package/dist/components/side-bar/SideBarComponents.d.ts +369 -388
  302. package/dist/components/slider/Slider.d.ts +52 -55
  303. package/dist/components/slider/Slider.js +1 -1
  304. package/dist/components/slider/Slider.js.map +1 -1
  305. package/dist/components/slider/SliderSteps.d.ts +2 -2
  306. package/dist/components/slider/SliderSteps.js +1 -1
  307. package/dist/components/slider/SliderSteps.js.map +1 -1
  308. package/dist/components/slider/SliderValue.d.ts +2 -2
  309. package/dist/components/slider/SliderValue.js +1 -1
  310. package/dist/components/slider/SliderValue.js.map +1 -1
  311. package/dist/components/slider-field/SliderField.d.ts +2 -2
  312. package/dist/components/sortable/Handle.d.ts +105 -111
  313. package/dist/components/sortable/SortableHandle.d.ts +1 -1
  314. package/dist/components/sortable/SortableItem.d.ts +2 -2
  315. package/dist/components/sortable/SortableItem.js +1 -1
  316. package/dist/components/sortable/SortableItem.js.map +1 -1
  317. package/dist/components/sortable/SortableRoot.d.ts +1 -1
  318. package/dist/components/sortable/index.d.ts +3 -3
  319. package/dist/components/spacer/Spacer.d.ts +364 -1
  320. package/dist/components/spacer/Spacer.js +1 -1
  321. package/dist/components/spacer/Spacer.js.map +1 -1
  322. package/dist/components/stack-content/StackContent.d.ts +52 -55
  323. package/dist/components/stepper/Stepper.d.ts +112 -118
  324. package/dist/components/stepper/StepperStepBack.d.ts +1 -1
  325. package/dist/components/stepper/StepperStepBullet.d.ts +103 -109
  326. package/dist/components/stepper/StepperStepBullet.js +1 -1
  327. package/dist/components/stepper/StepperStepBullet.js.map +1 -1
  328. package/dist/components/stepper/StepperStepContainer.d.ts +103 -109
  329. package/dist/components/stepper/StepperStepContainer.js +1 -1
  330. package/dist/components/stepper/StepperStepContainer.js.map +1 -1
  331. package/dist/components/stepper/StepperStepForward.d.ts +1 -1
  332. package/dist/components/stepper/StepperStepLabel.d.ts +106 -110
  333. package/dist/components/stepper/StepperStepLabel.js +1 -1
  334. package/dist/components/stepper/StepperStepLabel.js.map +1 -1
  335. package/dist/components/stepper/StepperSteps.d.ts +2 -2
  336. package/dist/components/stepper/stepper-context/StepperContext.d.ts +1 -1
  337. package/dist/components/switch/Switch.d.ts +53 -56
  338. package/dist/components/switch/Switch.js +1 -1
  339. package/dist/components/switch/Switch.js.map +1 -1
  340. package/dist/components/table/Table.d.ts +425 -451
  341. package/dist/components/table/Table.js +1 -1
  342. package/dist/components/table/Table.js.map +1 -1
  343. package/dist/components/table/TableBody.d.ts +53 -56
  344. package/dist/components/table/TableBody.js +1 -1
  345. package/dist/components/table/TableBody.js.map +1 -1
  346. package/dist/components/table/TableCell.d.ts +52 -55
  347. package/dist/components/table/TableCell.js +1 -1
  348. package/dist/components/table/TableCell.js.map +1 -1
  349. package/dist/components/table/TableFooter.d.ts +52 -55
  350. package/dist/components/table/TableFooterCell.d.ts +52 -55
  351. package/dist/components/table/TableFooterCell.js +1 -1
  352. package/dist/components/table/TableFooterCell.js.map +1 -1
  353. package/dist/components/table/TableHeader.d.ts +53 -56
  354. package/dist/components/table/TableHeader.js +1 -1
  355. package/dist/components/table/TableHeader.js.map +1 -1
  356. package/dist/components/table/TableHeaderCell.d.ts +52 -55
  357. package/dist/components/table/TableRow.d.ts +52 -55
  358. package/dist/components/table/TableStickyColumnsContainer.d.ts +2 -4
  359. package/dist/components/table/TableStickyColumnsContainer.js +1 -1
  360. package/dist/components/table/TableStickyColumnsContainer.js.map +1 -1
  361. package/dist/components/table/useStickyColumnsCss.d.ts +1 -3
  362. package/dist/components/table/useStickyColumnsCss.js +1 -1
  363. package/dist/components/table/useStickyColumnsCss.js.map +1 -1
  364. package/dist/components/tabs/Tabs.d.ts +210 -222
  365. package/dist/components/tabs/TabsContent.d.ts +52 -55
  366. package/dist/components/tabs/TabsTrigger.d.ts +53 -56
  367. package/dist/components/tabs/TabsTrigger.js +1 -1
  368. package/dist/components/tabs/TabsTrigger.js.map +1 -1
  369. package/dist/components/tabs/TabsTriggerList.d.ts +105 -111
  370. package/dist/components/text/Text.d.ts +54 -55
  371. package/dist/components/text/Text.js +1 -1
  372. package/dist/components/text/Text.js.map +1 -1
  373. package/dist/components/textarea/Textarea.d.ts +52 -55
  374. package/dist/components/textarea/Textarea.js +1 -1
  375. package/dist/components/textarea/Textarea.js.map +1 -1
  376. package/dist/components/textarea-field/TextareaField.d.ts +2 -2
  377. package/dist/components/tile/Tile.d.ts +52 -55
  378. package/dist/components/tile/TileGroup.d.ts +52 -55
  379. package/dist/components/tile-interactive/TileInteractive.d.ts +104 -110
  380. package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +157 -166
  381. package/dist/components/toast/Toast.d.ts +156 -165
  382. package/dist/components/toast/ToastProvider.d.ts +1 -1
  383. package/dist/components/toggle-group/ToggleGroupButton.d.ts +103 -109
  384. package/dist/components/toggle-group/ToggleGroupItem.d.ts +104 -110
  385. package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
  386. package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
  387. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +52 -55
  388. package/dist/components/toggle-group/index.d.ts +313 -331
  389. package/dist/components/tooltip/Tooltip.d.ts +106 -112
  390. package/dist/components/tooltip/TooltipContent.d.ts +53 -56
  391. package/dist/components/tooltip/TooltipContent.js +1 -1
  392. package/dist/components/tooltip/TooltipContent.js.map +1 -1
  393. package/dist/components/top-bar/TopBar.d.ts +638 -287
  394. package/dist/components/top-bar/TopBar.js +1 -1
  395. package/dist/components/top-bar/TopBar.js.map +1 -1
  396. package/dist/components/top-bar/TopBarBrand.d.ts +160 -176
  397. package/dist/components/top-bar/TopBarBrand.js +1 -1
  398. package/dist/components/top-bar/TopBarBrand.js.map +1 -1
  399. package/dist/components/top-bar/stitches.topBar.colorscheme.config.d.ts +1 -1
  400. package/dist/components/tree/Tree.d.ts +793 -812
  401. package/dist/components/tree/TreeCollapsible.d.ts +53 -56
  402. package/dist/components/tree/TreeCollapsibleContent.d.ts +52 -55
  403. package/dist/components/tree/TreeCollapsibleTrigger.d.ts +1 -1
  404. package/dist/components/tree/TreeIcon.d.ts +104 -110
  405. package/dist/components/tree/TreeItemContent.d.ts +54 -57
  406. package/dist/components/tree/TreeListItem.d.ts +54 -57
  407. package/dist/components/video/Video.d.ts +52 -55
  408. package/dist/docgen.json +1 -1
  409. package/dist/experiments/color-scheme/ColorScheme.d.ts +52 -55
  410. package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +14 -0
  411. package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -1
  412. package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
  413. package/dist/index.cjs.js +1 -1
  414. package/dist/index.cjs.js.map +1 -1
  415. package/dist/index.js +1 -1
  416. package/dist/stitches.d.ts +604 -637
  417. package/dist/stitches.js +1 -1
  418. package/dist/stitches.js.map +1 -1
  419. package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +276 -279
  420. package/dist/utilities/hooks/useResizeObserver.js.map +1 -1
  421. package/dist/utilities/hooks/useScrollPosition.js +1 -1
  422. package/dist/utilities/hooks/useScrollPosition.js.map +1 -1
  423. package/dist/utilities/hooks/useWindowScrollPosition.js +1 -1
  424. package/dist/utilities/hooks/useWindowScrollPosition.js.map +1 -1
  425. package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +103 -109
  426. package/dist/utilities/optional-tooltip-wrapper/OptionalTooltipWrapper.d.ts +1 -1
  427. package/dist/utilities/optional-visually-hidden-wrapper/OptionalVisuallyHiddenWrapper.d.ts +1 -1
  428. package/dist/utilities/style/focus-visible-style-block.d.ts +2 -1
  429. package/dist/utilities/style/focus-visible-style-block.js +1 -1
  430. package/dist/utilities/style/focus-visible-style-block.js.map +1 -1
  431. package/package.json +27 -16
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
- export declare const StepperStepLabel: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<Omit<Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "key" | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
2
+ export declare const StepperStepLabel: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
4
- }, "size" | "css" | "noCapsize"> & import("@stitches/react/types/styled-component").TransformProps<{
4
+ }, "size" | "css" | "weight" | "noCapsize" | "family"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
5
+ weight?: "normal" | "bold" | undefined;
6
+ family?: "display" | "mono" | "body" | undefined;
5
7
  size?: "sm" | "md" | "lg" | "xl" | "xs" | undefined;
6
8
  noCapsize?: boolean | "true" | undefined;
7
9
  }, {
@@ -13,7 +15,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
13
15
  allowMotion: string;
14
16
  hover: string;
15
17
  }> & {
16
- css?: import("@stitches/react/types/css-util").CSS<{
18
+ css?: import("@atom-learning/stitches-react/types/css-util").CSS<{
17
19
  sm: string;
18
20
  md: string;
19
21
  lg: string;
@@ -53,6 +55,18 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
53
55
  blue1000: any;
54
56
  blue1100: any;
55
57
  blue1200: any;
58
+ pink100: any;
59
+ pink200: any;
60
+ pink300: any;
61
+ pink400: any;
62
+ pink500: any;
63
+ pink600: any;
64
+ pink700: any;
65
+ pink800: any;
66
+ pink900: any;
67
+ pink1000: any;
68
+ pink1100: any;
69
+ pink1200: any;
56
70
  purple100: any;
57
71
  purple200: any;
58
72
  purple300: any;
@@ -197,26 +211,11 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
197
211
  marsh1000: any;
198
212
  marsh1100: any;
199
213
  marsh1200: any;
200
- tonal50: any;
201
- tonal100: any;
202
- tonal200: any;
203
- tonal300: any;
204
- tonal400: any;
205
- tonal500: any;
206
- tonal600: any;
207
214
  alpha100: any;
208
215
  alpha150: any;
209
216
  alpha200: any;
210
217
  alpha250: any;
211
218
  alpha600: any;
212
- brandRed: any;
213
- brandRedAccent: any;
214
- brandGreen: any;
215
- brandGreenAccent: any;
216
- brandPurple: any;
217
- brandPurpleAccent: any;
218
- brandYellow: any;
219
- brandYellowAccent: any;
220
219
  infoLight: any;
221
220
  info: any;
222
221
  infoMid: any;
@@ -317,59 +316,59 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
317
316
  "1-1": any;
318
317
  "3-4": any;
319
318
  };
320
- }, import("@stitches/react/types/config").DefaultThemeMap, {
321
- bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
322
- background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
319
+ }, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
320
+ bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
321
+ background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
323
322
  };
324
- size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
325
- height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
326
- width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
323
+ size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
324
+ height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
325
+ width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
327
326
  };
328
- p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
329
- padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
327
+ p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
328
+ padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
330
329
  };
331
- pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
332
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
330
+ pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
331
+ paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
333
332
  };
334
- pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
335
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
333
+ pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
334
+ paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
336
335
  };
337
- pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
338
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
336
+ pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
337
+ paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
339
338
  };
340
- pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
341
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
339
+ pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
340
+ paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
342
341
  };
343
- px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
344
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
345
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
342
+ px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
343
+ paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
344
+ paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
346
345
  };
347
- py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
348
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
349
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
346
+ py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
347
+ paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
348
+ paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
350
349
  };
351
- m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
352
- margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
350
+ m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
351
+ margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
353
352
  };
354
- mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
355
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
353
+ mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
354
+ marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
356
355
  };
357
- mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
358
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
356
+ mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
357
+ marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
359
358
  };
360
- mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
361
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
359
+ mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
360
+ marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
362
361
  };
363
- ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
364
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
362
+ ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
363
+ marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
365
364
  };
366
- mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
367
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
368
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
365
+ mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
366
+ marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
367
+ marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
369
368
  };
370
- my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
371
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
372
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
369
+ my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
370
+ marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
371
+ marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
373
372
  };
374
373
  }> | undefined;
375
374
  }, "as"> & {
@@ -385,7 +384,7 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
385
384
  reducedMotion: string;
386
385
  allowMotion: string;
387
386
  hover: string;
388
- }, import("@stitches/react/types/css-util").CSS<{
387
+ }, import("@atom-learning/stitches-react/types/css-util").CSS<{
389
388
  sm: string;
390
389
  md: string;
391
390
  lg: string;
@@ -425,6 +424,18 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
425
424
  blue1000: any;
426
425
  blue1100: any;
427
426
  blue1200: any;
427
+ pink100: any;
428
+ pink200: any;
429
+ pink300: any;
430
+ pink400: any;
431
+ pink500: any;
432
+ pink600: any;
433
+ pink700: any;
434
+ pink800: any;
435
+ pink900: any;
436
+ pink1000: any;
437
+ pink1100: any;
438
+ pink1200: any;
428
439
  purple100: any;
429
440
  purple200: any;
430
441
  purple300: any;
@@ -569,26 +580,11 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
569
580
  marsh1000: any;
570
581
  marsh1100: any;
571
582
  marsh1200: any;
572
- tonal50: any;
573
- tonal100: any;
574
- tonal200: any;
575
- tonal300: any;
576
- tonal400: any;
577
- tonal500: any;
578
- tonal600: any;
579
583
  alpha100: any;
580
584
  alpha150: any;
581
585
  alpha200: any;
582
586
  alpha250: any;
583
587
  alpha600: any;
584
- brandRed: any;
585
- brandRedAccent: any;
586
- brandGreen: any;
587
- brandGreenAccent: any;
588
- brandPurple: any;
589
- brandPurpleAccent: any;
590
- brandYellow: any;
591
- brandYellowAccent: any;
592
588
  infoLight: any;
593
589
  info: any;
594
590
  infoMid: any;
@@ -689,58 +685,58 @@ export declare const StepperStepLabel: import("@stitches/react/types/styled-comp
689
685
  "1-1": any;
690
686
  "3-4": any;
691
687
  };
692
- }, import("@stitches/react/types/config").DefaultThemeMap, {
693
- bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
694
- background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
688
+ }, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
689
+ bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
690
+ background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
695
691
  };
696
- size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
697
- height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
698
- width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
692
+ size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
693
+ height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
694
+ width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
699
695
  };
700
- p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
701
- padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
696
+ p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
697
+ padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
702
698
  };
703
- pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
704
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
699
+ pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
700
+ paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
705
701
  };
706
- pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
707
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
702
+ pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
703
+ paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
708
704
  };
709
- pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
710
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
705
+ pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
706
+ paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
711
707
  };
712
- pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
713
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
708
+ pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
709
+ paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
714
710
  };
715
- px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
716
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
717
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
711
+ px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
712
+ paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
713
+ paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
718
714
  };
719
- py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
720
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
721
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
715
+ py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
716
+ paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
717
+ paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
722
718
  };
723
- m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
724
- margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
719
+ m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
720
+ margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
725
721
  };
726
- mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
727
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
722
+ mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
723
+ marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
728
724
  };
729
- mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
730
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
725
+ mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
726
+ marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
731
727
  };
732
- mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
733
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
728
+ mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
729
+ marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
734
730
  };
735
- ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
736
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
731
+ ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
732
+ marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
737
733
  };
738
- mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
739
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
740
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
734
+ mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
735
+ marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
736
+ marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
741
737
  };
742
- my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
743
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
744
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
738
+ my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
739
+ marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
740
+ marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
745
741
  };
746
742
  }>>;
@@ -1,2 +1,2 @@
1
- import{styled as t}from"../../stitches.js";import{Text as e}from"../text/Text.js";const o=t(e,{fontWeight:600,variants:{direction:{vertical:{ml:"$3",textAlign:"left"},horizontal:{mt:"$3",textAlign:"center"}},status:{default:{color:"$tonal300",fontWeight:400},active:{color:"$primary900"},viewed:{color:"$tonal600"},completed:{color:"$primary800"},success:{color:"$success"},reviewed:{}}}});export{o as StepperStepLabel};
1
+ import{styled as e}from"../../stitches.js";import{Text as t}from"../text/Text.js";const r=e(t,{fontWeight:600,variants:{direction:{vertical:{ml:"$3",textAlign:"left"},horizontal:{mt:"$3",textAlign:"center"}},status:{default:{color:"$grey700",fontWeight:400},active:{color:"$primary900"},viewed:{color:"$grey1000"},completed:{color:"$primary800"},success:{color:"$success"},reviewed:{}}}});export{r as StepperStepLabel};
2
2
  //# sourceMappingURL=StepperStepLabel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepperStepLabel.js","sources":["../../../src/components/stepper/StepperStepLabel.tsx"],"sourcesContent":["import { styled } from '~/stitches'\n\nimport { Text } from '../text'\n\nexport const StepperStepLabel = styled(Text, {\n fontWeight: 600,\n variants: {\n direction: {\n vertical: { ml: '$3', textAlign: 'left' },\n horizontal: { mt: '$3', textAlign: 'center' }\n },\n status: {\n default: { color: '$tonal300', fontWeight: 400 },\n active: {\n color: '$primary900'\n },\n viewed: { color: '$tonal600' },\n completed: { color: '$primary800' },\n success: { color: '$success' },\n reviewed: {}\n }\n }\n})\n"],"names":["StepperStepLabel","styled","Text"],"mappings":"kFAIO,MAAMA,EAAmBC,EAAOC,EAAM,CAC3C,WAAY,IACZ,SAAU,CACR,UAAW,CACT,SAAU,CAAE,GAAI,KAAM,UAAW,MAAO,EACxC,WAAY,CAAE,GAAI,KAAM,UAAW,QAAS,CAC9C,EACA,OAAQ,CACN,QAAS,CAAE,MAAO,YAAa,WAAY,GAAI,EAC/C,OAAQ,CACN,MAAO,aACT,EACA,OAAQ,CAAE,MAAO,WAAY,EAC7B,UAAW,CAAE,MAAO,aAAc,EAClC,QAAS,CAAE,MAAO,UAAW,EAC7B,SAAU,CAAA,CACZ,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"StepperStepLabel.js","sources":["../../../src/components/stepper/StepperStepLabel.tsx"],"sourcesContent":["import { styled } from '~/stitches'\n\nimport { Text } from '../text'\n\nexport const StepperStepLabel = styled(Text, {\n fontWeight: 600,\n variants: {\n direction: {\n vertical: { ml: '$3', textAlign: 'left' },\n horizontal: { mt: '$3', textAlign: 'center' }\n },\n status: {\n default: { color: '$grey700', fontWeight: 400 },\n active: {\n color: '$primary900'\n },\n viewed: { color: '$grey1000' },\n completed: { color: '$primary800' },\n success: { color: '$success' },\n reviewed: {}\n }\n }\n})\n"],"names":["StepperStepLabel","styled","Text"],"mappings":"kFAIO,MAAMA,EAAmBC,EAAOC,EAAM,CAC3C,WAAY,IACZ,SAAU,CACR,UAAW,CACT,SAAU,CAAE,GAAI,KAAM,UAAW,MAAO,EACxC,WAAY,CAAE,GAAI,KAAM,UAAW,QAAS,CAC9C,EACA,OAAQ,CACN,QAAS,CAAE,MAAO,WAAY,WAAY,GAAI,EAC9C,OAAQ,CACN,MAAO,aACT,EACA,OAAQ,CAAE,MAAO,WAAY,EAC7B,UAAW,CAAE,MAAO,aAAc,EAClC,QAAS,CAAE,MAAO,UAAW,EAC7B,SAAU,CAAA,CACZ,CACF,CACF,CAAC"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { IStepperStepsProps } from './types';
3
- export declare const StepperSteps: ({ css }: IStepperStepsProps) => JSX.Element;
3
+ export declare const StepperSteps: ({ css }: IStepperStepsProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { Context, StepperProviderProps } from '../types';
3
- export declare const StepperProvider: ({ children, stepCount, allowSkip, onComplete, onStepChange, direction, steps, hideLabels, showCompletedIcons }: React.PropsWithChildren<StepperProviderProps>) => JSX.Element;
3
+ export declare const StepperProvider: ({ children, stepCount, allowSkip, onComplete, onStepChange, direction, steps, hideLabels, showCompletedIcons }: React.PropsWithChildren<StepperProviderProps>) => React.JSX.Element;
4
4
  export declare const useStepper: () => Context;
@@ -1,6 +1,6 @@
1
1
  import * as RadixSwitch from '@radix-ui/react-switch';
2
2
  import * as React from 'react';
3
- declare const StyledSwitch: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<RadixSwitch.SwitchProps & React.RefAttributes<HTMLButtonElement>>, {
3
+ declare const StyledSwitch: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<RadixSwitch.SwitchProps & React.RefAttributes<HTMLButtonElement>>, {
4
4
  size?: "md" | "lg" | undefined;
5
5
  }, {
6
6
  sm: string;
@@ -10,7 +10,7 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
10
10
  reducedMotion: string;
11
11
  allowMotion: string;
12
12
  hover: string;
13
- }, import("@stitches/react/types/css-util").CSS<{
13
+ }, import("@atom-learning/stitches-react/types/css-util").CSS<{
14
14
  sm: string;
15
15
  md: string;
16
16
  lg: string;
@@ -50,6 +50,18 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
50
50
  blue1000: any;
51
51
  blue1100: any;
52
52
  blue1200: any;
53
+ pink100: any;
54
+ pink200: any;
55
+ pink300: any;
56
+ pink400: any;
57
+ pink500: any;
58
+ pink600: any;
59
+ pink700: any;
60
+ pink800: any;
61
+ pink900: any;
62
+ pink1000: any;
63
+ pink1100: any;
64
+ pink1200: any;
53
65
  purple100: any;
54
66
  purple200: any;
55
67
  purple300: any;
@@ -194,26 +206,11 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
194
206
  marsh1000: any;
195
207
  marsh1100: any;
196
208
  marsh1200: any;
197
- tonal50: any;
198
- tonal100: any;
199
- tonal200: any;
200
- tonal300: any;
201
- tonal400: any;
202
- tonal500: any;
203
- tonal600: any;
204
209
  alpha100: any;
205
210
  alpha150: any;
206
211
  alpha200: any;
207
212
  alpha250: any;
208
213
  alpha600: any;
209
- brandRed: any;
210
- brandRedAccent: any;
211
- brandGreen: any;
212
- brandGreenAccent: any;
213
- brandPurple: any;
214
- brandPurpleAccent: any;
215
- brandYellow: any;
216
- brandYellowAccent: any;
217
214
  infoLight: any;
218
215
  info: any;
219
216
  infoMid: any;
@@ -314,64 +311,64 @@ declare const StyledSwitch: import("@stitches/react/types/styled-component").Sty
314
311
  "1-1": any;
315
312
  "3-4": any;
316
313
  };
317
- }, import("@stitches/react/types/config").DefaultThemeMap, {
318
- bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
319
- background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
314
+ }, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
315
+ bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
316
+ background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
320
317
  };
321
- size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
322
- height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
323
- width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
318
+ size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
319
+ height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
320
+ width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
324
321
  };
325
- p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
326
- padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
322
+ p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
323
+ padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
327
324
  };
328
- pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
329
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
325
+ pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
326
+ paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
330
327
  };
331
- pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
332
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
328
+ pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
329
+ paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
333
330
  };
334
- pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
335
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
331
+ pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
332
+ paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
336
333
  };
337
- pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
338
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
334
+ pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
335
+ paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
339
336
  };
340
- px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
341
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
342
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
337
+ px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
338
+ paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
339
+ paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
343
340
  };
344
- py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
345
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
346
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
341
+ py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
342
+ paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
343
+ paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
347
344
  };
348
- m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
349
- margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
345
+ m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
346
+ margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
350
347
  };
351
- mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
352
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
348
+ mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
349
+ marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
353
350
  };
354
- mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
355
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
351
+ mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
352
+ marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
356
353
  };
357
- mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
358
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
354
+ mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
355
+ marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
359
356
  };
360
- ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
361
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
357
+ ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
358
+ marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
362
359
  };
363
- mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
364
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
365
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
360
+ mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
361
+ marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
362
+ marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
366
363
  };
367
- my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
368
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
369
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
364
+ my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
365
+ marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
366
+ marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
370
367
  };
371
368
  }>>;
372
369
  declare type SwitchProps = React.ComponentProps<typeof StyledSwitch>;
373
370
  export declare const Switch: {
374
- ({ size, ...rest }: SwitchProps): JSX.Element;
371
+ ({ size, ...rest }: SwitchProps): React.JSX.Element;
375
372
  displayName: string;
376
373
  };
377
374
  export {};
@@ -1,2 +1,2 @@
1
- import*as r from"@radix-ui/react-switch";import*as o from"react";import{styled as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{disabledStyle as s}from"../../utilities/style/disabledStyle.js";const d=t(r.Root,{appearance:"none",backgroundColor:"$tonal200",border:"none",borderRadius:"$round",cursor:"pointer",display:"flex",overflow:"hidden",position:"relative",transition:"all 50ms ease-out","&:hover":{backgroundColor:"$tonal300"},"&:focus":{outline:"2px solid $primary800",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary800"},'&[data-state="checked"]:hover':{backgroundColor:"$primary900"},"&[disabled]":s,variants:{size:{md:{p:"$0",width:"$4"},lg:{p:"$1",width:"$6"}}}}),n=t(r.Thumb,{backgroundColor:"white",borderRadius:"$round",display:"block",transition:"transform 50ms",willChange:"transform",variants:{size:{md:{size:"$1",'&[data-state="checked"]':{transform:"translateX(calc($sizes$2 - $space$1))"}},lg:{size:"$2",'&[data-state="checked"]':{transform:"translateX($space$5)"}}}}}),a=({size:e="md",...i})=>o.createElement(d,{size:e,...i},o.createElement(n,{size:e}));a.displayName="Switch";export{a as Switch};
1
+ import*as r from"@radix-ui/react-switch";import*as o from"react";import{styled as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{disabledStyle as s}from"../../utilities/style/disabledStyle.js";const d=t(r.Root,{appearance:"none",backgroundColor:"$grey600",border:"none",borderRadius:"$round",cursor:"pointer",display:"flex",overflow:"hidden",position:"relative",transition:"all 50ms ease-out","&:hover":{backgroundColor:"$grey700"},"&:focus":{outline:"2px solid $primary800",outlineOffset:"1px"},'&[data-state="checked"]':{backgroundColor:"$primary800"},'&[data-state="checked"]:hover':{backgroundColor:"$primary900"},"&[disabled]":s,variants:{size:{md:{p:"$0",width:"$4"},lg:{p:"$1",width:"$6"}}}}),n=t(r.Thumb,{backgroundColor:"white",borderRadius:"$round",display:"block",transition:"transform 50ms",willChange:"transform",variants:{size:{md:{size:"$1",'&[data-state="checked"]':{transform:"translateX(calc($sizes$2 - $space$1))"}},lg:{size:"$2",'&[data-state="checked"]':{transform:"translateX($space$5)"}}}}}),a=({size:e="md",...i})=>o.createElement(d,{size:e,...i},o.createElement(n,{size:e}));a.displayName="Switch";export{a as Switch};
2
2
  //# sourceMappingURL=Switch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.js","sources":["../../../src/components/switch/Switch.tsx"],"sourcesContent":["import * as RadixSwitch from '@radix-ui/react-switch'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { disabledStyle } from '~/utilities'\n\nconst StyledSwitch = styled(RadixSwitch.Root, {\n appearance: 'none',\n backgroundColor: '$tonal200',\n border: 'none',\n borderRadius: '$round',\n cursor: 'pointer',\n display: 'flex',\n overflow: 'hidden',\n position: 'relative',\n transition: 'all 50ms ease-out',\n '&:hover': {\n backgroundColor: '$tonal300'\n },\n '&:focus': {\n outline: '2px solid $primary800',\n outlineOffset: '1px'\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: '$primary800'\n },\n '&[data-state=\"checked\"]:hover': {\n backgroundColor: '$primary900'\n },\n '&[disabled]': disabledStyle,\n variants: {\n size: {\n md: {\n p: '$0',\n width: '$4'\n },\n lg: {\n p: '$1',\n width: '$6'\n }\n }\n }\n})\n\nconst StyledThumb = styled(RadixSwitch.Thumb, {\n backgroundColor: 'white',\n borderRadius: '$round',\n display: 'block',\n transition: 'transform 50ms',\n willChange: 'transform',\n variants: {\n size: {\n md: {\n size: '$1',\n '&[data-state=\"checked\"]': {\n transform: 'translateX(calc($sizes$2 - $space$1))'\n }\n },\n lg: {\n size: '$2',\n '&[data-state=\"checked\"]': {\n transform: 'translateX($space$5)'\n }\n }\n }\n }\n})\n\ntype SwitchProps = React.ComponentProps<typeof StyledSwitch>\n\nexport const Switch = ({ size = 'md', ...rest }: SwitchProps) => (\n <StyledSwitch size={size} {...rest}>\n <StyledThumb size={size} />\n </StyledSwitch>\n)\n\nSwitch.displayName = 'Switch'\n"],"names":["StyledSwitch","styled","RadixSwitch","disabledStyle","StyledThumb","Switch","size","rest","React"],"mappings":"2WAMA,MAAMA,EAAeC,EAAOC,EAAY,KAAM,CAC5C,WAAY,OACZ,gBAAiB,YACjB,OAAQ,OACR,aAAc,SACd,OAAQ,UACR,QAAS,OACT,SAAU,SACV,SAAU,WACV,WAAY,oBACZ,UAAW,CACT,gBAAiB,WACnB,EACA,UAAW,CACT,QAAS,wBACT,cAAe,KACjB,EACA,0BAA2B,CACzB,gBAAiB,aACnB,EACA,gCAAiC,CAC/B,gBAAiB,aACnB,EACA,cAAeC,EACf,SAAU,CACR,KAAM,CACJ,GAAI,CACF,EAAG,KACH,MAAO,IACT,EACA,GAAI,CACF,EAAG,KACH,MAAO,IACT,CACF,CACF,CACF,CAAC,EAEKC,EAAcH,EAAOC,EAAY,MAAO,CAC5C,gBAAiB,QACjB,aAAc,SACd,QAAS,QACT,WAAY,iBACZ,WAAY,YACZ,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,KACN,0BAA2B,CACzB,UAAW,uCACb,CACF,EACA,GAAI,CACF,KAAM,KACN,0BAA2B,CACzB,UAAW,sBACb,CACF,CACF,CACF,CACF,CAAC,EAIYG,EAAS,CAAC,CAAE,KAAAC,EAAO,QAASC,CAAK,IAC5CC,EAAA,cAACR,EAAA,CAAa,KAAMM,EAAO,GAAGC,CAC5BC,EAAAA,EAAA,cAACJ,EAAA,CAAY,KAAME,CAAAA,CAAM,CAC3B,EAGFD,EAAO,YAAc"}
1
+ {"version":3,"file":"Switch.js","sources":["../../../src/components/switch/Switch.tsx"],"sourcesContent":["import * as RadixSwitch from '@radix-ui/react-switch'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { disabledStyle } from '~/utilities'\n\nconst StyledSwitch = styled(RadixSwitch.Root, {\n appearance: 'none',\n backgroundColor: '$grey600',\n border: 'none',\n borderRadius: '$round',\n cursor: 'pointer',\n display: 'flex',\n overflow: 'hidden',\n position: 'relative',\n transition: 'all 50ms ease-out',\n '&:hover': {\n backgroundColor: '$grey700'\n },\n '&:focus': {\n outline: '2px solid $primary800',\n outlineOffset: '1px'\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: '$primary800'\n },\n '&[data-state=\"checked\"]:hover': {\n backgroundColor: '$primary900'\n },\n '&[disabled]': disabledStyle,\n variants: {\n size: {\n md: {\n p: '$0',\n width: '$4'\n },\n lg: {\n p: '$1',\n width: '$6'\n }\n }\n }\n})\n\nconst StyledThumb = styled(RadixSwitch.Thumb, {\n backgroundColor: 'white',\n borderRadius: '$round',\n display: 'block',\n transition: 'transform 50ms',\n willChange: 'transform',\n variants: {\n size: {\n md: {\n size: '$1',\n '&[data-state=\"checked\"]': {\n transform: 'translateX(calc($sizes$2 - $space$1))'\n }\n },\n lg: {\n size: '$2',\n '&[data-state=\"checked\"]': {\n transform: 'translateX($space$5)'\n }\n }\n }\n }\n})\n\ntype SwitchProps = React.ComponentProps<typeof StyledSwitch>\n\nexport const Switch = ({ size = 'md', ...rest }: SwitchProps) => (\n <StyledSwitch size={size} {...rest}>\n <StyledThumb size={size} />\n </StyledSwitch>\n)\n\nSwitch.displayName = 'Switch'\n"],"names":["StyledSwitch","styled","RadixSwitch","disabledStyle","StyledThumb","Switch","size","rest","React"],"mappings":"2WAMA,MAAMA,EAAeC,EAAOC,EAAY,KAAM,CAC5C,WAAY,OACZ,gBAAiB,WACjB,OAAQ,OACR,aAAc,SACd,OAAQ,UACR,QAAS,OACT,SAAU,SACV,SAAU,WACV,WAAY,oBACZ,UAAW,CACT,gBAAiB,UACnB,EACA,UAAW,CACT,QAAS,wBACT,cAAe,KACjB,EACA,0BAA2B,CACzB,gBAAiB,aACnB,EACA,gCAAiC,CAC/B,gBAAiB,aACnB,EACA,cAAeC,EACf,SAAU,CACR,KAAM,CACJ,GAAI,CACF,EAAG,KACH,MAAO,IACT,EACA,GAAI,CACF,EAAG,KACH,MAAO,IACT,CACF,CACF,CACF,CAAC,EAEKC,EAAcH,EAAOC,EAAY,MAAO,CAC5C,gBAAiB,QACjB,aAAc,SACd,QAAS,QACT,WAAY,iBACZ,WAAY,YACZ,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,KACN,0BAA2B,CACzB,UAAW,uCACb,CACF,EACA,GAAI,CACF,KAAM,KACN,0BAA2B,CACzB,UAAW,sBACb,CACF,CACF,CACF,CACF,CAAC,EAIYG,EAAS,CAAC,CAAE,KAAAC,EAAO,QAASC,CAAK,IAC5CC,EAAA,cAACR,EAAA,CAAa,KAAMM,EAAO,GAAGC,CAC5BC,EAAAA,EAAA,cAACJ,EAAA,CAAY,KAAME,CAAAA,CAAM,CAC3B,EAGFD,EAAO,YAAc"}