@atom-learning/components 3.10.1 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/components/accordion/Accordion.d.ts +19 -7
  3. package/dist/components/accordion/AccordionContent.d.ts +19 -7
  4. package/dist/components/accordion/AccordionItem.d.ts +19 -7
  5. package/dist/components/accordion/AccordionTrigger.d.ts +19 -7
  6. package/dist/components/action-icon/ActionIcon.d.ts +20 -8
  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 +19 -7
  10. package/dist/components/alert-dialog/AlertDialogContent.d.ts +19 -7
  11. package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js +1 -1
  12. package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js.map +1 -1
  13. package/dist/components/avatar/Avatar.d.ts +38 -14
  14. package/dist/components/avatar/Avatar.js +1 -1
  15. package/dist/components/avatar/Avatar.js.map +1 -1
  16. package/dist/components/badge/Badge.d.ts +38 -14
  17. package/dist/components/badge/BadgeIcon.d.ts +38 -14
  18. package/dist/components/badge/BadgeText.d.ts +38 -14
  19. package/dist/components/badge/stitches.badge.colorscheme.config.js +1 -1
  20. package/dist/components/badge/stitches.badge.colorscheme.config.js.map +1 -1
  21. package/dist/components/banner/BannerContainer.d.ts +38 -14
  22. package/dist/components/banner/banner-regular/BannerRegularActions.js +1 -1
  23. package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +38 -14
  24. package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +40 -16
  25. package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +19 -7
  26. package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +38 -14
  27. package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +40 -16
  28. package/dist/components/box/Box.d.ts +19 -7
  29. package/dist/components/button/Button.d.ts +20 -8
  30. package/dist/components/button/Button.js +1 -1
  31. package/dist/components/button/Button.js.map +1 -1
  32. package/dist/components/calendar/Day.d.ts +19 -7
  33. package/dist/components/calendar/Day.js +1 -1
  34. package/dist/components/calendar/Day.js.map +1 -1
  35. package/dist/components/carousel/CarouselArrows.js +1 -1
  36. package/dist/components/carousel/CarouselArrows.js.map +1 -1
  37. package/dist/components/carousel/CarouselPagination.d.ts +19 -7
  38. package/dist/components/carousel/CarouselPagination.js +1 -1
  39. package/dist/components/carousel/CarouselPagination.js.map +1 -1
  40. package/dist/components/carousel/CarouselSlide.d.ts +19 -7
  41. package/dist/components/carousel/CarouselSlider.d.ts +19 -7
  42. package/dist/components/checkbox/Checkbox.d.ts +19 -7
  43. package/dist/components/checkbox/Checkbox.js +1 -1
  44. package/dist/components/checkbox/Checkbox.js.map +1 -1
  45. package/dist/components/checkbox-group/CheckboxGroup.d.ts +57 -21
  46. package/dist/components/checkbox-tree/CheckboxTree.d.ts +76 -28
  47. package/dist/components/chip/Chip.d.ts +95 -35
  48. package/dist/components/chip/Chip.js +1 -1
  49. package/dist/components/chip/Chip.js.map +1 -1
  50. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +76 -28
  51. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +76 -28
  52. package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
  53. package/dist/components/chip-toggle-group/ChipToggleGroupItem.js.map +1 -1
  54. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +38 -14
  55. package/dist/components/combobox/Combobox.d.ts +19 -7
  56. package/dist/components/combobox/ComboboxInput.d.ts +19 -7
  57. package/dist/components/combobox/ComboboxInput.js +1 -1
  58. package/dist/components/combobox/ComboboxInput.js.map +1 -1
  59. package/dist/components/combobox/ComboboxList.d.ts +19 -7
  60. package/dist/components/combobox/ComboboxOption.d.ts +19 -7
  61. package/dist/components/combobox/ComboboxOption.js +1 -1
  62. package/dist/components/combobox/ComboboxOption.js.map +1 -1
  63. package/dist/components/combobox/ComboboxPopover.d.ts +19 -7
  64. package/dist/components/create-password-field/CreatePasswordField.js +1 -1
  65. package/dist/components/data-table/DataTableBulkActions.js +1 -1
  66. package/dist/components/data-table/DataTableBulkActions.js.map +1 -1
  67. package/dist/components/data-table/DataTableLoading.d.ts +19 -7
  68. package/dist/components/data-table/DataTableRow.js +1 -1
  69. package/dist/components/data-table/DataTableRow.js.map +1 -1
  70. package/dist/components/data-table/pagination/Pagination.d.ts +19 -7
  71. package/dist/components/dialog/Dialog.d.ts +19 -7
  72. package/dist/components/dialog/DialogBackground.d.ts +38 -14
  73. package/dist/components/dialog/DialogClose.d.ts +19 -7
  74. package/dist/components/dialog/DialogContent.d.ts +19 -7
  75. package/dist/components/divider/Divider.d.ts +19 -7
  76. package/dist/components/drawer/Drawer.d.ts +116 -44
  77. package/dist/components/drawer/DrawerContent.d.ts +19 -7
  78. package/dist/components/drawer/DrawerContent.js +1 -1
  79. package/dist/components/drawer/DrawerContent.js.map +1 -1
  80. package/dist/components/drawer/DrawerFooter.d.ts +19 -7
  81. package/dist/components/drawer/DrawerHeader.d.ts +19 -7
  82. package/dist/components/drawer/DrawerMain.d.ts +19 -7
  83. package/dist/components/drawer/DrawerOverlay.d.ts +19 -7
  84. package/dist/components/drawer/DrawerTrigger.d.ts +19 -7
  85. package/dist/components/dropdown-menu/DropdownMenu.d.ts +19 -7
  86. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +19 -7
  87. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +19 -7
  88. package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
  89. package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
  90. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +19 -7
  91. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +19 -7
  92. package/dist/components/empty-state/EmptyState.d.ts +38 -14
  93. package/dist/components/empty-state/EmptyStateBody.d.ts +38 -14
  94. package/dist/components/empty-state/EmptyStateImage.d.ts +38 -14
  95. package/dist/components/empty-state/EmptyStateTitle.d.ts +19 -7
  96. package/dist/components/flex/Flex.d.ts +19 -7
  97. package/dist/components/form/Form.d.ts +19 -7
  98. package/dist/components/form/Form.js +1 -1
  99. package/dist/components/grid/Grid.d.ts +19 -7
  100. package/dist/components/heading/Heading.d.ts +19 -7
  101. package/dist/components/icon/Icon.d.ts +19 -7
  102. package/dist/components/image/Image.d.ts +19 -7
  103. package/dist/components/inline-message/InlineMessage.config.js +1 -1
  104. package/dist/components/inline-message/InlineMessage.config.js.map +1 -1
  105. package/dist/components/inline-message/InlineMessage.d.ts +38 -14
  106. package/dist/components/input/Input.d.ts +19 -7
  107. package/dist/components/input/Input.js +1 -1
  108. package/dist/components/input/Input.js.map +1 -1
  109. package/dist/components/label/Label.d.ts +19 -7
  110. package/dist/components/link/Link.d.ts +19 -7
  111. package/dist/components/link/Link.js +1 -1
  112. package/dist/components/link/Link.js.map +1 -1
  113. package/dist/components/list/List.d.ts +38 -14
  114. package/dist/components/list/List.js +1 -1
  115. package/dist/components/list/List.js.map +1 -1
  116. package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +19 -7
  117. package/dist/components/navigation/NavigationMenu.d.ts +19 -7
  118. package/dist/components/navigation/NavigationMenu.styles.js +1 -1
  119. package/dist/components/navigation/NavigationMenu.styles.js.map +1 -1
  120. package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +19 -7
  121. package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +38 -14
  122. package/dist/components/navigation/NavigationMenuLink.js +1 -1
  123. package/dist/components/navigation/NavigationMenuLink.js.map +1 -1
  124. package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.js +1 -1
  125. package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.js.map +1 -1
  126. package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +19 -7
  127. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +19 -7
  128. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +19 -7
  129. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +38 -14
  130. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +19 -7
  131. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +19 -7
  132. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +19 -7
  133. package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +38 -14
  134. package/dist/components/notification-badge/NotificationBadge.d.ts +38 -14
  135. package/dist/components/notification-badge/NotificationBadge.js +1 -1
  136. package/dist/components/notification-badge/NotificationBadge.js.map +1 -1
  137. package/dist/components/pagination/Pagination.js +1 -1
  138. package/dist/components/pagination/Pagination.js.map +1 -1
  139. package/dist/components/pagination/PaginationNextButton.d.ts +40 -16
  140. package/dist/components/pagination/PaginationPreviousButton.d.ts +40 -16
  141. package/dist/components/popover/Popover.d.ts +19 -7
  142. package/dist/components/popover/PopoverContent.d.ts +19 -7
  143. package/dist/components/progress-bar/ProgressBar.d.ts +20 -8
  144. package/dist/components/progress-bar/ProgressBar.js +1 -1
  145. package/dist/components/progress-bar/ProgressBar.js.map +1 -1
  146. package/dist/components/radio-button/RadioButton.d.ts +19 -7
  147. package/dist/components/radio-button/RadioButton.js +1 -1
  148. package/dist/components/radio-button/RadioButton.js.map +1 -1
  149. package/dist/components/radio-button/RadioButtonGroup.d.ts +19 -7
  150. package/dist/components/radio-card/RadioCard.d.ts +19 -7
  151. package/dist/components/radio-card/RadioCard.js +1 -1
  152. package/dist/components/radio-card/RadioCard.js.map +1 -1
  153. package/dist/components/section-message/SectionMessage.d.ts +136 -52
  154. package/dist/components/section-message/SectionMessage.js +1 -1
  155. package/dist/components/section-message/SectionMessage.js.map +1 -1
  156. package/dist/components/select/Select.d.ts +19 -7
  157. package/dist/components/select/Select.js +1 -1
  158. package/dist/components/select/Select.js.map +1 -1
  159. package/dist/components/side-bar/SideBar.d.ts +152 -56
  160. package/dist/components/side-bar/SideBarComponents.d.ts +133 -49
  161. package/dist/components/slider/Slider.d.ts +19 -7
  162. package/dist/components/slider/Slider.js +1 -1
  163. package/dist/components/slider/Slider.js.map +1 -1
  164. package/dist/components/sortable/Handle.d.ts +40 -16
  165. package/dist/components/stack/Stack.d.ts +19 -7
  166. package/dist/components/stack-content/StackContent.d.ts +19 -7
  167. package/dist/components/stepper/StepperStepBullet.d.ts +38 -14
  168. package/dist/components/stepper/StepperStepBullet.js +1 -1
  169. package/dist/components/stepper/StepperStepBullet.js.map +1 -1
  170. package/dist/components/stepper/StepperStepContainer.d.ts +38 -14
  171. package/dist/components/stepper/StepperStepContainer.js +1 -1
  172. package/dist/components/stepper/StepperStepContainer.js.map +1 -1
  173. package/dist/components/stepper/StepperStepLabel.d.ts +38 -14
  174. package/dist/components/stepper/StepperStepLabel.js +1 -1
  175. package/dist/components/stepper/StepperStepLabel.js.map +1 -1
  176. package/dist/components/switch/Switch.d.ts +19 -7
  177. package/dist/components/switch/Switch.js +1 -1
  178. package/dist/components/switch/Switch.js.map +1 -1
  179. package/dist/components/table/Table.d.ts +19 -7
  180. package/dist/components/table/TableBody.d.ts +19 -7
  181. package/dist/components/table/TableCell.d.ts +19 -7
  182. package/dist/components/table/TableFooter.d.ts +19 -7
  183. package/dist/components/table/TableFooterCell.d.ts +19 -7
  184. package/dist/components/table/TableHeader.d.ts +19 -7
  185. package/dist/components/table/TableHeader.js +1 -1
  186. package/dist/components/table/TableHeader.js.map +1 -1
  187. package/dist/components/table/TableHeaderCell.d.ts +19 -7
  188. package/dist/components/table/TableRow.d.ts +38 -14
  189. package/dist/components/tabs/Tabs.d.ts +19 -7
  190. package/dist/components/tabs/TabsContent.d.ts +19 -7
  191. package/dist/components/tabs/TabsTrigger.d.ts +19 -7
  192. package/dist/components/tabs/TabsTriggerList.d.ts +19 -7
  193. package/dist/components/tabs/TabsTriggerList.js +1 -1
  194. package/dist/components/tabs/TabsTriggerList.js.map +1 -1
  195. package/dist/components/text/Text.d.ts +20 -8
  196. package/dist/components/textarea/Textarea.d.ts +19 -7
  197. package/dist/components/textarea/Textarea.js +1 -1
  198. package/dist/components/textarea/Textarea.js.map +1 -1
  199. package/dist/components/tile/Tile.d.ts +19 -7
  200. package/dist/components/tile/Tile.js +1 -1
  201. package/dist/components/tile/Tile.js.map +1 -1
  202. package/dist/components/tile/TileGroup.d.ts +19 -7
  203. package/dist/components/tile-interactive/TileInteractive.d.ts +38 -14
  204. package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +57 -21
  205. package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +38 -14
  206. package/dist/components/toast/Toast.d.ts +64 -28
  207. package/dist/components/toast/Toast.js +1 -1
  208. package/dist/components/toast/Toast.js.map +1 -1
  209. package/dist/components/toggle-group/ToggleGroupButton.d.ts +38 -14
  210. package/dist/components/toggle-group/ToggleGroupItem.d.ts +38 -14
  211. package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
  212. package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
  213. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +19 -7
  214. package/dist/components/toggle-group/index.d.ts +95 -35
  215. package/dist/components/tooltip/TooltipContent.d.ts +19 -7
  216. package/dist/components/top-bar/TopBar.d.ts +19 -7
  217. package/dist/components/top-bar/TopBarBrand.d.ts +57 -21
  218. package/dist/components/tree/Tree.d.ts +228 -84
  219. package/dist/components/tree/TreeCollapsible.d.ts +19 -7
  220. package/dist/components/tree/TreeCollapsibleContent.d.ts +38 -14
  221. package/dist/components/tree/TreeIcon.d.ts +38 -14
  222. package/dist/components/tree/TreeItemContent.d.ts +19 -7
  223. package/dist/components/tree/TreeListItem.d.ts +19 -7
  224. package/dist/components/video/Video.d.ts +38 -14
  225. package/dist/docgen.json +1 -1
  226. package/dist/experiments/color-scheme/ColorScheme.d.ts +19 -7
  227. package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +14 -0
  228. package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -1
  229. package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
  230. package/dist/index.cjs.js +1 -1
  231. package/dist/index.cjs.js.map +1 -1
  232. package/dist/stitches.d.ts +209 -77
  233. package/dist/stitches.js +1 -1
  234. package/dist/stitches.js.map +1 -1
  235. package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +20 -8
  236. package/dist/utilities/create-theme-variants/createThemeVariants.js.map +1 -1
  237. package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +38 -14
  238. package/package.json +4 -4
@@ -73,9 +73,10 @@ declare const stitchesConfig: import("@stitches/react/types/stitches").default<"
73
73
  hover: string;
74
74
  }, {
75
75
  colors: {
76
- textForeground: any;
76
+ textBold: any;
77
+ textRegular: any;
77
78
  textSubtle: any;
78
- textPlaceholder: any;
79
+ textMinimal: any;
79
80
  background: any;
80
81
  backgroundAccent: any;
81
82
  grey100: any;
@@ -222,11 +223,6 @@ declare const stitchesConfig: import("@stitches/react/types/stitches").default<"
222
223
  alpha200: any;
223
224
  alpha250: any;
224
225
  alpha600: any;
225
- primaryLight: any;
226
- primary: any;
227
- primaryMid: any;
228
- primaryDark: any;
229
- secondary: any;
230
226
  brandRed: any;
231
227
  brandRedAccent: any;
232
228
  brandGreen: any;
@@ -235,6 +231,10 @@ declare const stitchesConfig: import("@stitches/react/types/stitches").default<"
235
231
  brandPurpleAccent: any;
236
232
  brandYellow: any;
237
233
  brandYellowAccent: any;
234
+ infoLight: any;
235
+ info: any;
236
+ infoMid: any;
237
+ infoDark: any;
238
238
  successLight: any;
239
239
  success: any;
240
240
  successMid: any;
@@ -258,6 +258,18 @@ declare const stitchesConfig: import("@stitches/react/types/stitches").default<"
258
258
  glBlueLight: any;
259
259
  glBluePrimary: any;
260
260
  glBlueDark: any;
261
+ primary100: any;
262
+ primary200: any;
263
+ primary300: any;
264
+ primary400: any;
265
+ primary500: any;
266
+ primary600: any;
267
+ primary700: any;
268
+ primary800: any;
269
+ primary900: any;
270
+ primary1000: any;
271
+ primary1100: any;
272
+ primary1200: any;
261
273
  };
262
274
  space: {
263
275
  "0": any;
@@ -389,9 +401,10 @@ export declare const css: {
389
401
  hover: string;
390
402
  }, {
391
403
  colors: {
392
- textForeground: any;
404
+ textBold: any;
405
+ textRegular: any;
393
406
  textSubtle: any;
394
- textPlaceholder: any;
407
+ textMinimal: any;
395
408
  background: any;
396
409
  backgroundAccent: any;
397
410
  grey100: any;
@@ -538,11 +551,6 @@ export declare const css: {
538
551
  alpha200: any;
539
552
  alpha250: any;
540
553
  alpha600: any;
541
- primaryLight: any;
542
- primary: any;
543
- primaryMid: any;
544
- primaryDark: any;
545
- secondary: any;
546
554
  brandRed: any;
547
555
  brandRedAccent: any;
548
556
  brandGreen: any;
@@ -551,6 +559,10 @@ export declare const css: {
551
559
  brandPurpleAccent: any;
552
560
  brandYellow: any;
553
561
  brandYellowAccent: any;
562
+ infoLight: any;
563
+ info: any;
564
+ infoMid: any;
565
+ infoDark: any;
554
566
  successLight: any;
555
567
  success: any;
556
568
  successMid: any;
@@ -574,6 +586,18 @@ export declare const css: {
574
586
  glBlueLight: any;
575
587
  glBluePrimary: any;
576
588
  glBlueDark: any;
589
+ primary100: any;
590
+ primary200: any;
591
+ primary300: any;
592
+ primary400: any;
593
+ primary500: any;
594
+ primary600: any;
595
+ primary700: any;
596
+ primary800: any;
597
+ primary900: any;
598
+ primary1000: any;
599
+ primary1100: any;
600
+ primary1200: any;
577
601
  };
578
602
  space: {
579
603
  "0": any;
@@ -700,9 +724,10 @@ export declare const css: {
700
724
  hover: string;
701
725
  }, {
702
726
  colors: {
703
- textForeground: any;
727
+ textBold: any;
728
+ textRegular: any;
704
729
  textSubtle: any;
705
- textPlaceholder: any;
730
+ textMinimal: any;
706
731
  background: any;
707
732
  backgroundAccent: any;
708
733
  grey100: any;
@@ -849,11 +874,6 @@ export declare const css: {
849
874
  alpha200: any;
850
875
  alpha250: any;
851
876
  alpha600: any;
852
- primaryLight: any;
853
- primary: any;
854
- primaryMid: any;
855
- primaryDark: any;
856
- secondary: any;
857
877
  brandRed: any;
858
878
  brandRedAccent: any;
859
879
  brandGreen: any;
@@ -862,6 +882,10 @@ export declare const css: {
862
882
  brandPurpleAccent: any;
863
883
  brandYellow: any;
864
884
  brandYellowAccent: any;
885
+ infoLight: any;
886
+ info: any;
887
+ infoMid: any;
888
+ infoDark: any;
865
889
  successLight: any;
866
890
  success: any;
867
891
  successMid: any;
@@ -885,6 +909,18 @@ export declare const css: {
885
909
  glBlueLight: any;
886
910
  glBluePrimary: any;
887
911
  glBlueDark: any;
912
+ primary100: any;
913
+ primary200: any;
914
+ primary300: any;
915
+ primary400: any;
916
+ primary500: any;
917
+ primary600: any;
918
+ primary700: any;
919
+ primary800: any;
920
+ primary900: any;
921
+ primary1000: any;
922
+ primary1100: any;
923
+ primary1200: any;
888
924
  };
889
925
  space: {
890
926
  "0": any;
@@ -1002,9 +1038,10 @@ export declare const css: {
1002
1038
  };
1003
1039
  }>, getCssText: () => string, createTheme: <Argument0 extends string | ({
1004
1040
  colors?: {
1005
- textForeground?: string | number | boolean | undefined;
1041
+ textBold?: string | number | boolean | undefined;
1042
+ textRegular?: string | number | boolean | undefined;
1006
1043
  textSubtle?: string | number | boolean | undefined;
1007
- textPlaceholder?: string | number | boolean | undefined;
1044
+ textMinimal?: string | number | boolean | undefined;
1008
1045
  background?: string | number | boolean | undefined;
1009
1046
  backgroundAccent?: string | number | boolean | undefined;
1010
1047
  grey100?: string | number | boolean | undefined;
@@ -1151,11 +1188,6 @@ export declare const css: {
1151
1188
  alpha200?: string | number | boolean | undefined;
1152
1189
  alpha250?: string | number | boolean | undefined;
1153
1190
  alpha600?: string | number | boolean | undefined;
1154
- primaryLight?: string | number | boolean | undefined;
1155
- primary?: string | number | boolean | undefined;
1156
- primaryMid?: string | number | boolean | undefined;
1157
- primaryDark?: string | number | boolean | undefined;
1158
- secondary?: string | number | boolean | undefined;
1159
1191
  brandRed?: string | number | boolean | undefined;
1160
1192
  brandRedAccent?: string | number | boolean | undefined;
1161
1193
  brandGreen?: string | number | boolean | undefined;
@@ -1164,6 +1196,10 @@ export declare const css: {
1164
1196
  brandPurpleAccent?: string | number | boolean | undefined;
1165
1197
  brandYellow?: string | number | boolean | undefined;
1166
1198
  brandYellowAccent?: string | number | boolean | undefined;
1199
+ infoLight?: string | number | boolean | undefined;
1200
+ info?: string | number | boolean | undefined;
1201
+ infoMid?: string | number | boolean | undefined;
1202
+ infoDark?: string | number | boolean | undefined;
1167
1203
  successLight?: string | number | boolean | undefined;
1168
1204
  success?: string | number | boolean | undefined;
1169
1205
  successMid?: string | number | boolean | undefined;
@@ -1187,6 +1223,18 @@ export declare const css: {
1187
1223
  glBlueLight?: string | number | boolean | undefined;
1188
1224
  glBluePrimary?: string | number | boolean | undefined;
1189
1225
  glBlueDark?: string | number | boolean | undefined;
1226
+ primary100?: string | number | boolean | undefined;
1227
+ primary200?: string | number | boolean | undefined;
1228
+ primary300?: string | number | boolean | undefined;
1229
+ primary400?: string | number | boolean | undefined;
1230
+ primary500?: string | number | boolean | undefined;
1231
+ primary600?: string | number | boolean | undefined;
1232
+ primary700?: string | number | boolean | undefined;
1233
+ primary800?: string | number | boolean | undefined;
1234
+ primary900?: string | number | boolean | undefined;
1235
+ primary1000?: string | number | boolean | undefined;
1236
+ primary1100?: string | number | boolean | undefined;
1237
+ primary1200?: string | number | boolean | undefined;
1190
1238
  } | undefined;
1191
1239
  space?: {
1192
1240
  0?: string | number | boolean | undefined;
@@ -1255,9 +1303,10 @@ export declare const css: {
1255
1303
  };
1256
1304
  }), Argument1 extends string | ({
1257
1305
  colors?: {
1258
- textForeground?: string | number | boolean | undefined;
1306
+ textBold?: string | number | boolean | undefined;
1307
+ textRegular?: string | number | boolean | undefined;
1259
1308
  textSubtle?: string | number | boolean | undefined;
1260
- textPlaceholder?: string | number | boolean | undefined;
1309
+ textMinimal?: string | number | boolean | undefined;
1261
1310
  background?: string | number | boolean | undefined;
1262
1311
  backgroundAccent?: string | number | boolean | undefined;
1263
1312
  grey100?: string | number | boolean | undefined;
@@ -1404,11 +1453,6 @@ export declare const css: {
1404
1453
  alpha200?: string | number | boolean | undefined;
1405
1454
  alpha250?: string | number | boolean | undefined;
1406
1455
  alpha600?: string | number | boolean | undefined;
1407
- primaryLight?: string | number | boolean | undefined;
1408
- primary?: string | number | boolean | undefined;
1409
- primaryMid?: string | number | boolean | undefined;
1410
- primaryDark?: string | number | boolean | undefined;
1411
- secondary?: string | number | boolean | undefined;
1412
1456
  brandRed?: string | number | boolean | undefined;
1413
1457
  brandRedAccent?: string | number | boolean | undefined;
1414
1458
  brandGreen?: string | number | boolean | undefined;
@@ -1417,6 +1461,10 @@ export declare const css: {
1417
1461
  brandPurpleAccent?: string | number | boolean | undefined;
1418
1462
  brandYellow?: string | number | boolean | undefined;
1419
1463
  brandYellowAccent?: string | number | boolean | undefined;
1464
+ infoLight?: string | number | boolean | undefined;
1465
+ info?: string | number | boolean | undefined;
1466
+ infoMid?: string | number | boolean | undefined;
1467
+ infoDark?: string | number | boolean | undefined;
1420
1468
  successLight?: string | number | boolean | undefined;
1421
1469
  success?: string | number | boolean | undefined;
1422
1470
  successMid?: string | number | boolean | undefined;
@@ -1440,6 +1488,18 @@ export declare const css: {
1440
1488
  glBlueLight?: string | number | boolean | undefined;
1441
1489
  glBluePrimary?: string | number | boolean | undefined;
1442
1490
  glBlueDark?: string | number | boolean | undefined;
1491
+ primary100?: string | number | boolean | undefined;
1492
+ primary200?: string | number | boolean | undefined;
1493
+ primary300?: string | number | boolean | undefined;
1494
+ primary400?: string | number | boolean | undefined;
1495
+ primary500?: string | number | boolean | undefined;
1496
+ primary600?: string | number | boolean | undefined;
1497
+ primary700?: string | number | boolean | undefined;
1498
+ primary800?: string | number | boolean | undefined;
1499
+ primary900?: string | number | boolean | undefined;
1500
+ primary1000?: string | number | boolean | undefined;
1501
+ primary1100?: string | number | boolean | undefined;
1502
+ primary1200?: string | number | boolean | undefined;
1443
1503
  } | undefined;
1444
1504
  space?: {
1445
1505
  0?: string | number | boolean | undefined;
@@ -1525,9 +1585,10 @@ export declare const css: {
1525
1585
  hover: string;
1526
1586
  }, {
1527
1587
  colors: {
1528
- textForeground: any;
1588
+ textBold: any;
1589
+ textRegular: any;
1529
1590
  textSubtle: any;
1530
- textPlaceholder: any;
1591
+ textMinimal: any;
1531
1592
  background: any;
1532
1593
  backgroundAccent: any;
1533
1594
  grey100: any;
@@ -1674,11 +1735,6 @@ export declare const css: {
1674
1735
  alpha200: any;
1675
1736
  alpha250: any;
1676
1737
  alpha600: any;
1677
- primaryLight: any;
1678
- primary: any;
1679
- primaryMid: any;
1680
- primaryDark: any;
1681
- secondary: any;
1682
1738
  brandRed: any;
1683
1739
  brandRedAccent: any;
1684
1740
  brandGreen: any;
@@ -1687,6 +1743,10 @@ export declare const css: {
1687
1743
  brandPurpleAccent: any;
1688
1744
  brandYellow: any;
1689
1745
  brandYellowAccent: any;
1746
+ infoLight: any;
1747
+ info: any;
1748
+ infoMid: any;
1749
+ infoDark: any;
1690
1750
  successLight: any;
1691
1751
  success: any;
1692
1752
  successMid: any;
@@ -1710,6 +1770,18 @@ export declare const css: {
1710
1770
  glBlueLight: any;
1711
1771
  glBluePrimary: any;
1712
1772
  glBlueDark: any;
1773
+ primary100: any;
1774
+ primary200: any;
1775
+ primary300: any;
1776
+ primary400: any;
1777
+ primary500: any;
1778
+ primary600: any;
1779
+ primary700: any;
1780
+ primary800: any;
1781
+ primary900: any;
1782
+ primary1000: any;
1783
+ primary1100: any;
1784
+ primary1200: any;
1713
1785
  };
1714
1786
  space: {
1715
1787
  "0": any;
@@ -1836,9 +1908,10 @@ export declare const css: {
1836
1908
  hover: string;
1837
1909
  }, {
1838
1910
  colors: {
1839
- textForeground: any;
1911
+ textBold: any;
1912
+ textRegular: any;
1840
1913
  textSubtle: any;
1841
- textPlaceholder: any;
1914
+ textMinimal: any;
1842
1915
  background: any;
1843
1916
  backgroundAccent: any;
1844
1917
  grey100: any;
@@ -1985,11 +2058,6 @@ export declare const css: {
1985
2058
  alpha200: any;
1986
2059
  alpha250: any;
1987
2060
  alpha600: any;
1988
- primaryLight: any;
1989
- primary: any;
1990
- primaryMid: any;
1991
- primaryDark: any;
1992
- secondary: any;
1993
2061
  brandRed: any;
1994
2062
  brandRedAccent: any;
1995
2063
  brandGreen: any;
@@ -1998,6 +2066,10 @@ export declare const css: {
1998
2066
  brandPurpleAccent: any;
1999
2067
  brandYellow: any;
2000
2068
  brandYellowAccent: any;
2069
+ infoLight: any;
2070
+ info: any;
2071
+ infoMid: any;
2072
+ infoDark: any;
2001
2073
  successLight: any;
2002
2074
  success: any;
2003
2075
  successMid: any;
@@ -2021,6 +2093,18 @@ export declare const css: {
2021
2093
  glBlueLight: any;
2022
2094
  glBluePrimary: any;
2023
2095
  glBlueDark: any;
2096
+ primary100: any;
2097
+ primary200: any;
2098
+ primary300: any;
2099
+ primary400: any;
2100
+ primary500: any;
2101
+ primary600: any;
2102
+ primary700: any;
2103
+ primary800: any;
2104
+ primary900: any;
2105
+ primary1000: any;
2106
+ primary1100: any;
2107
+ primary1200: any;
2024
2108
  };
2025
2109
  space: {
2026
2110
  "0": any;
@@ -2147,9 +2231,10 @@ export declare const css: {
2147
2231
  hover: string;
2148
2232
  }, {
2149
2233
  colors: {
2150
- textForeground: any;
2234
+ textBold: any;
2235
+ textRegular: any;
2151
2236
  textSubtle: any;
2152
- textPlaceholder: any;
2237
+ textMinimal: any;
2153
2238
  background: any;
2154
2239
  backgroundAccent: any;
2155
2240
  grey100: any;
@@ -2296,11 +2381,6 @@ export declare const css: {
2296
2381
  alpha200: any;
2297
2382
  alpha250: any;
2298
2383
  alpha600: any;
2299
- primaryLight: any;
2300
- primary: any;
2301
- primaryMid: any;
2302
- primaryDark: any;
2303
- secondary: any;
2304
2384
  brandRed: any;
2305
2385
  brandRedAccent: any;
2306
2386
  brandGreen: any;
@@ -2309,6 +2389,10 @@ export declare const css: {
2309
2389
  brandPurpleAccent: any;
2310
2390
  brandYellow: any;
2311
2391
  brandYellowAccent: any;
2392
+ infoLight: any;
2393
+ info: any;
2394
+ infoMid: any;
2395
+ infoDark: any;
2312
2396
  successLight: any;
2313
2397
  success: any;
2314
2398
  successMid: any;
@@ -2332,6 +2416,18 @@ export declare const css: {
2332
2416
  glBlueLight: any;
2333
2417
  glBluePrimary: any;
2334
2418
  glBlueDark: any;
2419
+ primary100: any;
2420
+ primary200: any;
2421
+ primary300: any;
2422
+ primary400: any;
2423
+ primary500: any;
2424
+ primary600: any;
2425
+ primary700: any;
2426
+ primary800: any;
2427
+ primary900: any;
2428
+ primary1000: any;
2429
+ primary1100: any;
2430
+ primary1200: any;
2335
2431
  };
2336
2432
  space: {
2337
2433
  "0": any;
@@ -2466,9 +2562,10 @@ export declare const css: {
2466
2562
  hover: string;
2467
2563
  }, {
2468
2564
  colors: {
2469
- textForeground: any;
2565
+ textBold: any;
2566
+ textRegular: any;
2470
2567
  textSubtle: any;
2471
- textPlaceholder: any;
2568
+ textMinimal: any;
2472
2569
  background: any;
2473
2570
  backgroundAccent: any;
2474
2571
  grey100: any;
@@ -2615,11 +2712,6 @@ export declare const css: {
2615
2712
  alpha200: any;
2616
2713
  alpha250: any;
2617
2714
  alpha600: any;
2618
- primaryLight: any;
2619
- primary: any;
2620
- primaryMid: any;
2621
- primaryDark: any;
2622
- secondary: any;
2623
2715
  brandRed: any;
2624
2716
  brandRedAccent: any;
2625
2717
  brandGreen: any;
@@ -2628,6 +2720,10 @@ export declare const css: {
2628
2720
  brandPurpleAccent: any;
2629
2721
  brandYellow: any;
2630
2722
  brandYellowAccent: any;
2723
+ infoLight: any;
2724
+ info: any;
2725
+ infoMid: any;
2726
+ infoDark: any;
2631
2727
  successLight: any;
2632
2728
  success: any;
2633
2729
  successMid: any;
@@ -2651,6 +2747,18 @@ export declare const css: {
2651
2747
  glBlueLight: any;
2652
2748
  glBluePrimary: any;
2653
2749
  glBlueDark: any;
2750
+ primary100: any;
2751
+ primary200: any;
2752
+ primary300: any;
2753
+ primary400: any;
2754
+ primary500: any;
2755
+ primary600: any;
2756
+ primary700: any;
2757
+ primary800: any;
2758
+ primary900: any;
2759
+ primary1000: any;
2760
+ primary1100: any;
2761
+ primary1200: any;
2654
2762
  };
2655
2763
  space: {
2656
2764
  "0": any;
@@ -2777,9 +2885,10 @@ export declare const css: {
2777
2885
  hover: string;
2778
2886
  }, {
2779
2887
  colors: {
2780
- textForeground: any;
2888
+ textBold: any;
2889
+ textRegular: any;
2781
2890
  textSubtle: any;
2782
- textPlaceholder: any;
2891
+ textMinimal: any;
2783
2892
  background: any;
2784
2893
  backgroundAccent: any;
2785
2894
  grey100: any;
@@ -2926,11 +3035,6 @@ export declare const css: {
2926
3035
  alpha200: any;
2927
3036
  alpha250: any;
2928
3037
  alpha600: any;
2929
- primaryLight: any;
2930
- primary: any;
2931
- primaryMid: any;
2932
- primaryDark: any;
2933
- secondary: any;
2934
3038
  brandRed: any;
2935
3039
  brandRedAccent: any;
2936
3040
  brandGreen: any;
@@ -2939,6 +3043,10 @@ export declare const css: {
2939
3043
  brandPurpleAccent: any;
2940
3044
  brandYellow: any;
2941
3045
  brandYellowAccent: any;
3046
+ infoLight: any;
3047
+ info: any;
3048
+ infoMid: any;
3049
+ infoDark: any;
2942
3050
  successLight: any;
2943
3051
  success: any;
2944
3052
  successMid: any;
@@ -2962,6 +3070,18 @@ export declare const css: {
2962
3070
  glBlueLight: any;
2963
3071
  glBluePrimary: any;
2964
3072
  glBlueDark: any;
3073
+ primary100: any;
3074
+ primary200: any;
3075
+ primary300: any;
3076
+ primary400: any;
3077
+ primary500: any;
3078
+ primary600: any;
3079
+ primary700: any;
3080
+ primary800: any;
3081
+ primary900: any;
3082
+ primary1000: any;
3083
+ primary1100: any;
3084
+ primary1200: any;
2965
3085
  };
2966
3086
  space: {
2967
3087
  "0": any;
@@ -3082,9 +3202,10 @@ export declare const css: {
3082
3202
  selector: string;
3083
3203
  } & {
3084
3204
  colors: {
3085
- textForeground: import("@stitches/react/types/theme").Token<"textForeground", string, "colors", "">;
3205
+ textBold: import("@stitches/react/types/theme").Token<"textBold", string, "colors", "">;
3206
+ textRegular: import("@stitches/react/types/theme").Token<"textRegular", string, "colors", "">;
3086
3207
  textSubtle: import("@stitches/react/types/theme").Token<"textSubtle", string, "colors", "">;
3087
- textPlaceholder: import("@stitches/react/types/theme").Token<"textPlaceholder", string, "colors", "">;
3208
+ textMinimal: import("@stitches/react/types/theme").Token<"textMinimal", string, "colors", "">;
3088
3209
  background: import("@stitches/react/types/theme").Token<"background", string, "colors", "">;
3089
3210
  backgroundAccent: import("@stitches/react/types/theme").Token<"backgroundAccent", string, "colors", "">;
3090
3211
  grey100: import("@stitches/react/types/theme").Token<"grey100", string, "colors", "">;
@@ -3231,11 +3352,6 @@ export declare const css: {
3231
3352
  alpha200: import("@stitches/react/types/theme").Token<"alpha200", string, "colors", "">;
3232
3353
  alpha250: import("@stitches/react/types/theme").Token<"alpha250", string, "colors", "">;
3233
3354
  alpha600: import("@stitches/react/types/theme").Token<"alpha600", string, "colors", "">;
3234
- primaryLight: import("@stitches/react/types/theme").Token<"primaryLight", string, "colors", "">;
3235
- primary: import("@stitches/react/types/theme").Token<"primary", string, "colors", "">;
3236
- primaryMid: import("@stitches/react/types/theme").Token<"primaryMid", string, "colors", "">;
3237
- primaryDark: import("@stitches/react/types/theme").Token<"primaryDark", string, "colors", "">;
3238
- secondary: import("@stitches/react/types/theme").Token<"secondary", string, "colors", "">;
3239
3355
  brandRed: import("@stitches/react/types/theme").Token<"brandRed", string, "colors", "">;
3240
3356
  brandRedAccent: import("@stitches/react/types/theme").Token<"brandRedAccent", string, "colors", "">;
3241
3357
  brandGreen: import("@stitches/react/types/theme").Token<"brandGreen", string, "colors", "">;
@@ -3244,6 +3360,10 @@ export declare const css: {
3244
3360
  brandPurpleAccent: import("@stitches/react/types/theme").Token<"brandPurpleAccent", string, "colors", "">;
3245
3361
  brandYellow: import("@stitches/react/types/theme").Token<"brandYellow", string, "colors", "">;
3246
3362
  brandYellowAccent: import("@stitches/react/types/theme").Token<"brandYellowAccent", string, "colors", "">;
3363
+ infoLight: import("@stitches/react/types/theme").Token<"infoLight", string, "colors", "">;
3364
+ info: import("@stitches/react/types/theme").Token<"info", string, "colors", "">;
3365
+ infoMid: import("@stitches/react/types/theme").Token<"infoMid", string, "colors", "">;
3366
+ infoDark: import("@stitches/react/types/theme").Token<"infoDark", string, "colors", "">;
3247
3367
  successLight: import("@stitches/react/types/theme").Token<"successLight", string, "colors", "">;
3248
3368
  success: import("@stitches/react/types/theme").Token<"success", string, "colors", "">;
3249
3369
  successMid: import("@stitches/react/types/theme").Token<"successMid", string, "colors", "">;
@@ -3267,6 +3387,18 @@ export declare const css: {
3267
3387
  glBlueLight: import("@stitches/react/types/theme").Token<"glBlueLight", string, "colors", "">;
3268
3388
  glBluePrimary: import("@stitches/react/types/theme").Token<"glBluePrimary", string, "colors", "">;
3269
3389
  glBlueDark: import("@stitches/react/types/theme").Token<"glBlueDark", string, "colors", "">;
3390
+ primary100: import("@stitches/react/types/theme").Token<"primary100", string, "colors", "">;
3391
+ primary200: import("@stitches/react/types/theme").Token<"primary200", string, "colors", "">;
3392
+ primary300: import("@stitches/react/types/theme").Token<"primary300", string, "colors", "">;
3393
+ primary400: import("@stitches/react/types/theme").Token<"primary400", string, "colors", "">;
3394
+ primary500: import("@stitches/react/types/theme").Token<"primary500", string, "colors", "">;
3395
+ primary600: import("@stitches/react/types/theme").Token<"primary600", string, "colors", "">;
3396
+ primary700: import("@stitches/react/types/theme").Token<"primary700", string, "colors", "">;
3397
+ primary800: import("@stitches/react/types/theme").Token<"primary800", string, "colors", "">;
3398
+ primary900: import("@stitches/react/types/theme").Token<"primary900", string, "colors", "">;
3399
+ primary1000: import("@stitches/react/types/theme").Token<"primary1000", string, "colors", "">;
3400
+ primary1100: import("@stitches/react/types/theme").Token<"primary1100", string, "colors", "">;
3401
+ primary1200: import("@stitches/react/types/theme").Token<"primary1200", string, "colors", "">;
3270
3402
  };
3271
3403
  space: {
3272
3404
  0: import("@stitches/react/types/theme").Token<"0", string, "space", "">;
package/dist/stitches.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as m from"@atom-learning/theme";import{themeMap as o}from"@atom-learning/theme/theme-map";import{createStitches as d,defaultThemeMap as p}from"@stitches/react";const e={bg:t=>({background:t}),size:t=>({height:t,width:t}),p:t=>({padding:t}),pt:t=>({paddingTop:t}),pr:t=>({paddingRight:t}),pb:t=>({paddingBottom:t}),pl:t=>({paddingLeft:t}),px:t=>({paddingLeft:t,paddingRight:t}),py:t=>({paddingTop:t,paddingBottom:t}),m:t=>({margin:t}),mt:t=>({marginTop:t}),mr:t=>({marginRight:t}),mb:t=>({marginBottom:t}),ml:t=>({marginLeft:t}),mx:t=>({marginLeft:t,marginRight:t}),my:t=>({marginTop:t,marginBottom:t})},i={sm:"(min-width: 550px)",md:"(min-width: 800px)",lg:"(min-width: 1100px)",xl:"(min-width: 1350px)",reducedMotion:"(prefers-reduced-motion)",allowMotion:"(prefers-reduced-motion: no-preference)",hover:"(hover: hover)"},r=d({theme:m,themeMap:{...p,...o},utils:e,media:i}),{css:n,getCssText:a,createTheme:g,globalCss:h,keyframes:s,styled:c,theme:f}=r;export{g as createTheme,n as css,a as getCssText,h as globalCss,s as keyframes,i as media,c as styled,f as theme,e as utils};
1
+ import*as m from"@atom-learning/theme/lib/theme-atom";import{themeMap as o}from"@atom-learning/theme/theme-map";import{createStitches as d,defaultThemeMap as p}from"@stitches/react";const e={bg:t=>({background:t}),size:t=>({height:t,width:t}),p:t=>({padding:t}),pt:t=>({paddingTop:t}),pr:t=>({paddingRight:t}),pb:t=>({paddingBottom:t}),pl:t=>({paddingLeft:t}),px:t=>({paddingLeft:t,paddingRight:t}),py:t=>({paddingTop:t,paddingBottom:t}),m:t=>({margin:t}),mt:t=>({marginTop:t}),mr:t=>({marginRight:t}),mb:t=>({marginBottom:t}),ml:t=>({marginLeft:t}),mx:t=>({marginLeft:t,marginRight:t}),my:t=>({marginTop:t,marginBottom:t})},i={sm:"(min-width: 550px)",md:"(min-width: 800px)",lg:"(min-width: 1100px)",xl:"(min-width: 1350px)",reducedMotion:"(prefers-reduced-motion)",allowMotion:"(prefers-reduced-motion: no-preference)",hover:"(hover: hover)"},r=d({theme:m,themeMap:{...p,...o},utils:e,media:i}),{css:n,getCssText:a,createTheme:g,globalCss:h,keyframes:s,styled:c,theme:f}=r;export{g as createTheme,n as css,a as getCssText,h as globalCss,s as keyframes,i as media,c as styled,f as theme,e as utils};
2
2
  //# sourceMappingURL=stitches.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stitches.js","sources":["../src/stitches.ts"],"sourcesContent":["import type { Theme } from '@atom-learning/theme'\nimport * as atomTheme from '@atom-learning/theme'\nimport { themeMap } from '@atom-learning/theme/theme-map'\nimport type {\n CSS as StitchesCSS,\n PropertyValue,\n ScaleValue\n} from '@stitches/react'\nimport { createStitches, defaultThemeMap } from '@stitches/react'\n\nexport const utils = {\n bg: (value: PropertyValue<'background'>) => ({\n background: value\n }),\n\n size: (value: ScaleValue<'size'> | number | string) => ({\n height: value,\n width: value\n }),\n\n p: (value: ScaleValue<'space'> | number | string) => ({\n padding: value\n }),\n pt: (value: ScaleValue<'space'> | number | string) => ({\n paddingTop: value\n }),\n pr: (value: ScaleValue<'space'> | number | string) => ({\n paddingRight: value\n }),\n pb: (value: ScaleValue<'space'> | number | string) => ({\n paddingBottom: value\n }),\n pl: (value: ScaleValue<'space'> | number | string) => ({\n paddingLeft: value\n }),\n px: (value: ScaleValue<'space'> | number | string) => ({\n paddingLeft: value,\n paddingRight: value\n }),\n py: (value: ScaleValue<'space'> | number | string) => ({\n paddingTop: value,\n paddingBottom: value\n }),\n\n m: (value: ScaleValue<'space'> | number | string) => ({\n margin: value\n }),\n mt: (value: ScaleValue<'space'> | number | string) => ({\n marginTop: value\n }),\n mr: (value: ScaleValue<'space'> | number | string) => ({\n marginRight: value\n }),\n mb: (value: ScaleValue<'space'> | number | string) => ({\n marginBottom: value\n }),\n ml: (value: ScaleValue<'space'> | number | string) => ({\n marginLeft: value\n }),\n mx: (value: ScaleValue<'space'> | number | string) => ({\n marginLeft: value,\n marginRight: value\n }),\n my: (value: ScaleValue<'space'> | number | string) => ({\n marginTop: value,\n marginBottom: value\n })\n}\n\nexport const media = {\n sm: '(min-width: 550px)',\n md: '(min-width: 800px)',\n lg: '(min-width: 1100px)',\n xl: '(min-width: 1350px)',\n reducedMotion: '(prefers-reduced-motion)',\n allowMotion: '(prefers-reduced-motion: no-preference)',\n hover: '(hover: hover)'\n}\n\nconst stitchesConfig = createStitches({\n theme: atomTheme as Theme,\n themeMap: {\n ...defaultThemeMap,\n ...themeMap\n },\n utils,\n media\n})\n\nexport const {\n css,\n getCssText,\n createTheme,\n globalCss,\n keyframes,\n styled,\n theme\n} = stitchesConfig\n\nexport type CSS = StitchesCSS<typeof stitchesConfig>\n"],"names":["utils","value","media","stitchesConfig","createStitches","atomTheme","defaultThemeMap","themeMap","css","getCssText","createTheme","globalCss","keyframes","styled","theme"],"mappings":"uKAUO,MAAMA,EAAQ,CACnB,GAAKC,IAAwC,CAC3C,WAAYA,CACd,GAEA,KAAOA,IAAiD,CACtD,OAAQA,EACR,MAAOA,CACT,GAEA,EAAIA,IAAkD,CACpD,QAASA,CACX,GACA,GAAKA,IAAkD,CACrD,WAAYA,CACd,GACA,GAAKA,IAAkD,CACrD,aAAcA,CAChB,GACA,GAAKA,IAAkD,CACrD,cAAeA,CACjB,GACA,GAAKA,IAAkD,CACrD,YAAaA,CACf,GACA,GAAKA,IAAkD,CACrD,YAAaA,EACb,aAAcA,CAChB,GACA,GAAKA,IAAkD,CACrD,WAAYA,EACZ,cAAeA,CACjB,GAEA,EAAIA,IAAkD,CACpD,OAAQA,CACV,GACA,GAAKA,IAAkD,CACrD,UAAWA,CACb,GACA,GAAKA,IAAkD,CACrD,YAAaA,CACf,GACA,GAAKA,IAAkD,CACrD,aAAcA,CAChB,GACA,GAAKA,IAAkD,CACrD,WAAYA,CACd,GACA,GAAKA,IAAkD,CACrD,WAAYA,EACZ,YAAaA,CACf,GACA,GAAKA,IAAkD,CACrD,UAAWA,EACX,aAAcA,CAChB,EACF,EAEaC,EAAQ,CACnB,GAAI,qBACJ,GAAI,qBACJ,GAAI,sBACJ,GAAI,sBACJ,cAAe,2BACf,YAAa,0CACb,MAAO,gBACT,EAEMC,EAAiBC,EAAe,CACpC,MAAOC,EACP,SAAU,CACR,GAAGC,EACH,GAAGC,CACL,EACA,MAAAP,EACA,MAAAE,CACF,CAAC,EAEY,CACX,IAAAM,EACA,WAAAC,EACA,YAAAC,EACA,UAAAC,EACA,UAAAC,EACA,OAAAC,EACA,MAAAC,CACF,EAAIX"}
1
+ {"version":3,"file":"stitches.js","sources":["../src/stitches.ts"],"sourcesContent":["import type { Theme } from '@atom-learning/theme/lib/theme-atom'\nimport * as atomTheme from '@atom-learning/theme/lib/theme-atom'\nimport { themeMap } from '@atom-learning/theme/theme-map'\nimport type {\n CSS as StitchesCSS,\n PropertyValue,\n ScaleValue\n} from '@stitches/react'\nimport { createStitches, defaultThemeMap } from '@stitches/react'\n\nexport const utils = {\n bg: (value: PropertyValue<'background'>) => ({\n background: value\n }),\n\n size: (value: ScaleValue<'size'> | number | string) => ({\n height: value,\n width: value\n }),\n\n p: (value: ScaleValue<'space'> | number | string) => ({\n padding: value\n }),\n pt: (value: ScaleValue<'space'> | number | string) => ({\n paddingTop: value\n }),\n pr: (value: ScaleValue<'space'> | number | string) => ({\n paddingRight: value\n }),\n pb: (value: ScaleValue<'space'> | number | string) => ({\n paddingBottom: value\n }),\n pl: (value: ScaleValue<'space'> | number | string) => ({\n paddingLeft: value\n }),\n px: (value: ScaleValue<'space'> | number | string) => ({\n paddingLeft: value,\n paddingRight: value\n }),\n py: (value: ScaleValue<'space'> | number | string) => ({\n paddingTop: value,\n paddingBottom: value\n }),\n\n m: (value: ScaleValue<'space'> | number | string) => ({\n margin: value\n }),\n mt: (value: ScaleValue<'space'> | number | string) => ({\n marginTop: value\n }),\n mr: (value: ScaleValue<'space'> | number | string) => ({\n marginRight: value\n }),\n mb: (value: ScaleValue<'space'> | number | string) => ({\n marginBottom: value\n }),\n ml: (value: ScaleValue<'space'> | number | string) => ({\n marginLeft: value\n }),\n mx: (value: ScaleValue<'space'> | number | string) => ({\n marginLeft: value,\n marginRight: value\n }),\n my: (value: ScaleValue<'space'> | number | string) => ({\n marginTop: value,\n marginBottom: value\n })\n}\n\nexport const media = {\n sm: '(min-width: 550px)',\n md: '(min-width: 800px)',\n lg: '(min-width: 1100px)',\n xl: '(min-width: 1350px)',\n reducedMotion: '(prefers-reduced-motion)',\n allowMotion: '(prefers-reduced-motion: no-preference)',\n hover: '(hover: hover)'\n}\n\nconst stitchesConfig = createStitches({\n theme: atomTheme as Theme,\n themeMap: {\n ...defaultThemeMap,\n ...themeMap\n },\n utils,\n media\n})\n\nexport const {\n css,\n getCssText,\n createTheme,\n globalCss,\n keyframes,\n styled,\n theme\n} = stitchesConfig\n\nexport type CSS = StitchesCSS<typeof stitchesConfig>\n"],"names":["utils","value","media","stitchesConfig","createStitches","atomTheme","defaultThemeMap","themeMap","css","getCssText","createTheme","globalCss","keyframes","styled","theme"],"mappings":"sLAUO,MAAMA,EAAQ,CACnB,GAAKC,IAAwC,CAC3C,WAAYA,CACd,GAEA,KAAOA,IAAiD,CACtD,OAAQA,EACR,MAAOA,CACT,GAEA,EAAIA,IAAkD,CACpD,QAASA,CACX,GACA,GAAKA,IAAkD,CACrD,WAAYA,CACd,GACA,GAAKA,IAAkD,CACrD,aAAcA,CAChB,GACA,GAAKA,IAAkD,CACrD,cAAeA,CACjB,GACA,GAAKA,IAAkD,CACrD,YAAaA,CACf,GACA,GAAKA,IAAkD,CACrD,YAAaA,EACb,aAAcA,CAChB,GACA,GAAKA,IAAkD,CACrD,WAAYA,EACZ,cAAeA,CACjB,GAEA,EAAIA,IAAkD,CACpD,OAAQA,CACV,GACA,GAAKA,IAAkD,CACrD,UAAWA,CACb,GACA,GAAKA,IAAkD,CACrD,YAAaA,CACf,GACA,GAAKA,IAAkD,CACrD,aAAcA,CAChB,GACA,GAAKA,IAAkD,CACrD,WAAYA,CACd,GACA,GAAKA,IAAkD,CACrD,WAAYA,EACZ,YAAaA,CACf,GACA,GAAKA,IAAkD,CACrD,UAAWA,EACX,aAAcA,CAChB,EACF,EAEaC,EAAQ,CACnB,GAAI,qBACJ,GAAI,qBACJ,GAAI,sBACJ,GAAI,sBACJ,cAAe,2BACf,YAAa,0CACb,MAAO,gBACT,EAEMC,EAAiBC,EAAe,CACpC,MAAOC,EACP,SAAU,CACR,GAAGC,EACH,GAAGC,CACL,EACA,MAAAP,EACA,MAAAE,CACF,CAAC,EAEY,CACX,IAAAM,EACA,WAAAC,EACA,YAAAC,EACA,UAAAC,EACA,UAAAC,EACA,OAAAC,EACA,MAAAC,CACF,EAAIX"}