@atom-learning/components 2.52.0 → 2.54.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 (123) hide show
  1. package/CHANGELOG.md +2 -15
  2. package/dist/components/accordion/Accordion.d.ts +7 -0
  3. package/dist/components/accordion/AccordionContent.d.ts +7 -0
  4. package/dist/components/accordion/AccordionItem.d.ts +7 -0
  5. package/dist/components/accordion/AccordionTrigger.d.ts +7 -0
  6. package/dist/components/action-icon/ActionIcon.d.ts +7 -0
  7. package/dist/components/alert-dialog/AlertDialog.d.ts +7 -0
  8. package/dist/components/alert-dialog/AlertDialogContent.d.ts +7 -0
  9. package/dist/components/avatar/Avatar.d.ts +14 -0
  10. package/dist/components/badge/Badge.d.ts +14 -0
  11. package/dist/components/banner/BannerContainer.d.ts +14 -0
  12. package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +14 -0
  13. package/dist/components/box/Box.d.ts +7 -0
  14. package/dist/components/button/Button.d.ts +7 -0
  15. package/dist/components/calendar/Day.d.ts +7 -0
  16. package/dist/components/carousel/CarouselPagination.d.ts +7 -0
  17. package/dist/components/carousel/CarouselSlide.d.ts +7 -0
  18. package/dist/components/carousel/CarouselSlider.d.ts +7 -0
  19. package/dist/components/checkbox/Checkbox.d.ts +7 -0
  20. package/dist/components/chip/Chip.d.ts +49 -0
  21. package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +14 -0
  22. package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +14 -0
  23. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +14 -0
  24. package/dist/components/combobox/Combobox.d.ts +7 -0
  25. package/dist/components/combobox/ComboboxInput.d.ts +7 -0
  26. package/dist/components/combobox/ComboboxList.d.ts +7 -0
  27. package/dist/components/combobox/ComboboxOption.d.ts +7 -0
  28. package/dist/components/combobox/ComboboxPopover.d.ts +7 -0
  29. package/dist/components/data-table/DataTableLoading.d.ts +7 -0
  30. package/dist/components/data-table/pagination/Pagination.d.ts +7 -0
  31. package/dist/components/dialog/Dialog.d.ts +7 -0
  32. package/dist/components/dialog/DialogBackground.d.ts +14 -0
  33. package/dist/components/dialog/DialogClose.d.ts +7 -0
  34. package/dist/components/dialog/DialogContent.d.ts +7 -0
  35. package/dist/components/divider/Divider.d.ts +7 -0
  36. package/dist/components/dropdown-menu/DropdownMenu.d.ts +7 -0
  37. package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +7 -0
  38. package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +7 -0
  39. package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +7 -0
  40. package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +7 -0
  41. package/dist/components/empty-state/EmptyState.d.ts +14 -0
  42. package/dist/components/empty-state/EmptyStateBody.d.ts +14 -0
  43. package/dist/components/empty-state/EmptyStateImage.d.ts +14 -0
  44. package/dist/components/empty-state/EmptyStateTitle.d.ts +7 -0
  45. package/dist/components/flex/Flex.d.ts +7 -0
  46. package/dist/components/form/Form.d.ts +7 -0
  47. package/dist/components/grid/Grid.d.ts +7 -0
  48. package/dist/components/heading/Heading.d.ts +7 -0
  49. package/dist/components/icon/Icon.d.ts +7 -0
  50. package/dist/components/image/Image.d.ts +7 -0
  51. package/dist/components/inline-message/InlineMessage.d.ts +14 -0
  52. package/dist/components/input/Input.d.ts +7 -0
  53. package/dist/components/label/Label.d.ts +7 -0
  54. package/dist/components/link/Link.d.ts +7 -0
  55. package/dist/components/list/List.d.ts +14 -0
  56. package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +7 -0
  57. package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +14 -0
  58. package/dist/components/notification-badge/NotificationBadge.d.ts +14 -0
  59. package/dist/components/popover/Popover.d.ts +7 -0
  60. package/dist/components/popover/PopoverContent.d.ts +7 -0
  61. package/dist/components/progress-bar/ProgressBar.d.ts +7 -0
  62. package/dist/components/radio-button/RadioButton.d.ts +7 -0
  63. package/dist/components/radio-button/RadioButtonGroup.d.ts +7 -0
  64. package/dist/components/radio-card/RadioCard.d.ts +7 -0
  65. package/dist/components/section-message/SectionMessage.d.ts +49 -0
  66. package/dist/components/select/Select.d.ts +7 -0
  67. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +7 -0
  68. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +7 -0
  69. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +7 -0
  70. package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +7 -0
  71. package/dist/components/sidedrawer/SidedrawerContent.d.ts +7 -0
  72. package/dist/components/sidedrawer/SidedrawerFooter.d.ts +7 -0
  73. package/dist/components/sidedrawer/SidedrawerHeader.d.ts +7 -0
  74. package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +7 -0
  75. package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +7 -0
  76. package/dist/components/slider/Slider.d.ts +7 -0
  77. package/dist/components/sortable/Handle.d.ts +14 -0
  78. package/dist/components/stack/Stack.d.ts +7 -0
  79. package/dist/components/stack-content/StackContent.d.ts +7 -0
  80. package/dist/components/stepper/StepperStepBullet.d.ts +14 -0
  81. package/dist/components/stepper/StepperStepContainer.d.ts +14 -0
  82. package/dist/components/stepper/StepperStepLabel.d.ts +14 -0
  83. package/dist/components/switch/Switch.d.ts +10 -1
  84. package/dist/components/switch/Switch.js +1 -1
  85. package/dist/components/switch/Switch.js.map +1 -1
  86. package/dist/components/table/Table.d.ts +7 -0
  87. package/dist/components/table/TableBody.d.ts +7 -0
  88. package/dist/components/table/TableCell.d.ts +7 -0
  89. package/dist/components/table/TableFooter.d.ts +7 -0
  90. package/dist/components/table/TableFooterCell.d.ts +7 -0
  91. package/dist/components/table/TableHeader.d.ts +7 -0
  92. package/dist/components/table/TableHeaderCell.d.ts +7 -0
  93. package/dist/components/table/TableRow.d.ts +14 -0
  94. package/dist/components/tabs/Tabs.d.ts +7 -0
  95. package/dist/components/tabs/TabsContent.d.ts +7 -0
  96. package/dist/components/tabs/TabsTrigger.d.ts +7 -0
  97. package/dist/components/tabs/TabsTriggerList.d.ts +7 -0
  98. package/dist/components/text/Text.d.ts +8 -1
  99. package/dist/components/textarea/Textarea.d.ts +7 -0
  100. package/dist/components/tile/Tile.d.ts +7 -0
  101. package/dist/components/tile/TileGroup.d.ts +7 -0
  102. package/dist/components/tile-interactive/TileInteractive.d.ts +14 -0
  103. package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +21 -0
  104. package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +14 -0
  105. package/dist/components/toast/Toast.d.ts +7 -0
  106. package/dist/components/toggle-group/ToggleGroupButton.d.ts +14 -0
  107. package/dist/components/toggle-group/ToggleGroupItem.d.ts +14 -0
  108. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +7 -0
  109. package/dist/components/toggle-group/index.d.ts +35 -0
  110. package/dist/components/tooltip/TooltipContent.d.ts +7 -0
  111. package/dist/components/top-bar/TopBar.d.ts +7 -0
  112. package/dist/components/top-bar/TopBarBrand.d.ts +21 -0
  113. package/dist/components/video/Video.d.ts +14 -0
  114. package/dist/docgen.json +1 -1
  115. package/dist/experiments/color-scheme/ColorScheme.d.ts +7 -0
  116. package/dist/index.cjs.js +1 -1
  117. package/dist/index.cjs.js.map +1 -1
  118. package/dist/stitches.d.ts +77 -0
  119. package/dist/stitches.js +1 -1
  120. package/dist/stitches.js.map +1 -1
  121. package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +7 -0
  122. package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +14 -0
  123. package/package.json +4 -4
@@ -213,6 +213,13 @@ declare const stitchesConfig: import("@stitches/react/types/stitches").default<"
213
213
  "2": any;
214
214
  "3": any;
215
215
  };
216
+ ratios: {
217
+ "16-9": any;
218
+ "3-2": any;
219
+ "4-3": any;
220
+ "1-1": any;
221
+ "3-4": any;
222
+ };
216
223
  }, import("@stitches/react/types/config").DefaultThemeMap, {
217
224
  bg: (value: PropertyValue<'background'>) => {
218
225
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -423,6 +430,13 @@ export declare const css: {
423
430
  "2": any;
424
431
  "3": any;
425
432
  };
433
+ ratios: {
434
+ "16-9": any;
435
+ "3-2": any;
436
+ "4-3": any;
437
+ "1-1": any;
438
+ "3-4": any;
439
+ };
426
440
  }, import("@stitches/react/types/config").DefaultThemeMap, {
427
441
  bg: (value: PropertyValue<'background'>) => {
428
442
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -628,6 +642,13 @@ export declare const css: {
628
642
  "2": any;
629
643
  "3": any;
630
644
  };
645
+ ratios: {
646
+ "16-9": any;
647
+ "3-2": any;
648
+ "4-3": any;
649
+ "1-1": any;
650
+ "3-4": any;
651
+ };
631
652
  }, import("@stitches/react/types/config").DefaultThemeMap, {
632
653
  bg: (value: PropertyValue<'background'>) => {
633
654
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -824,6 +845,13 @@ export declare const css: {
824
845
  2?: string | number | boolean | undefined;
825
846
  3?: string | number | boolean | undefined;
826
847
  } | undefined;
848
+ ratios?: {
849
+ "16-9"?: string | number | boolean | undefined;
850
+ "3-2"?: string | number | boolean | undefined;
851
+ "4-3"?: string | number | boolean | undefined;
852
+ "1-1"?: string | number | boolean | undefined;
853
+ "3-4"?: string | number | boolean | undefined;
854
+ } | undefined;
827
855
  } & {
828
856
  [x: string]: {
829
857
  [x: string]: string | number | boolean;
@@ -971,6 +999,13 @@ export declare const css: {
971
999
  2?: string | number | boolean | undefined;
972
1000
  3?: string | number | boolean | undefined;
973
1001
  } | undefined;
1002
+ ratios?: {
1003
+ "16-9"?: string | number | boolean | undefined;
1004
+ "3-2"?: string | number | boolean | undefined;
1005
+ "4-3"?: string | number | boolean | undefined;
1006
+ "1-1"?: string | number | boolean | undefined;
1007
+ "3-4"?: string | number | boolean | undefined;
1008
+ } | undefined;
974
1009
  } & {
975
1010
  [x: string]: {
976
1011
  [x: string]: string | number | boolean;
@@ -1135,6 +1170,13 @@ export declare const css: {
1135
1170
  "2": any;
1136
1171
  "3": any;
1137
1172
  };
1173
+ ratios: {
1174
+ "16-9": any;
1175
+ "3-2": any;
1176
+ "4-3": any;
1177
+ "1-1": any;
1178
+ "3-4": any;
1179
+ };
1138
1180
  }, import("@stitches/react/types/config").DefaultThemeMap, {
1139
1181
  bg: (value: PropertyValue<'background'>) => {
1140
1182
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -1340,6 +1382,13 @@ export declare const css: {
1340
1382
  "2": any;
1341
1383
  "3": any;
1342
1384
  };
1385
+ ratios: {
1386
+ "16-9": any;
1387
+ "3-2": any;
1388
+ "4-3": any;
1389
+ "1-1": any;
1390
+ "3-4": any;
1391
+ };
1343
1392
  }, import("@stitches/react/types/config").DefaultThemeMap, {
1344
1393
  bg: (value: PropertyValue<'background'>) => {
1345
1394
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -1545,6 +1594,13 @@ export declare const css: {
1545
1594
  "2": any;
1546
1595
  "3": any;
1547
1596
  };
1597
+ ratios: {
1598
+ "16-9": any;
1599
+ "3-2": any;
1600
+ "4-3": any;
1601
+ "1-1": any;
1602
+ "3-4": any;
1603
+ };
1548
1604
  }, import("@stitches/react/types/config").DefaultThemeMap, {
1549
1605
  bg: (value: PropertyValue<'background'>) => {
1550
1606
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -1758,6 +1814,13 @@ export declare const css: {
1758
1814
  "2": any;
1759
1815
  "3": any;
1760
1816
  };
1817
+ ratios: {
1818
+ "16-9": any;
1819
+ "3-2": any;
1820
+ "4-3": any;
1821
+ "1-1": any;
1822
+ "3-4": any;
1823
+ };
1761
1824
  }, import("@stitches/react/types/config").DefaultThemeMap, {
1762
1825
  bg: (value: PropertyValue<'background'>) => {
1763
1826
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -1963,6 +2026,13 @@ export declare const css: {
1963
2026
  "2": any;
1964
2027
  "3": any;
1965
2028
  };
2029
+ ratios: {
2030
+ "16-9": any;
2031
+ "3-2": any;
2032
+ "4-3": any;
2033
+ "1-1": any;
2034
+ "3-4": any;
2035
+ };
1966
2036
  }, import("@stitches/react/types/config").DefaultThemeMap, {
1967
2037
  bg: (value: PropertyValue<'background'>) => {
1968
2038
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -2162,6 +2232,13 @@ export declare const css: {
2162
2232
  2: import("@stitches/react/types/theme").Token<"2", string, "shadows", "">;
2163
2233
  3: import("@stitches/react/types/theme").Token<"3", string, "shadows", "">;
2164
2234
  };
2235
+ ratios: {
2236
+ "16-9": import("@stitches/react/types/theme").Token<"16-9", string, "ratios", "">;
2237
+ "3-2": import("@stitches/react/types/theme").Token<"3-2", string, "ratios", "">;
2238
+ "4-3": import("@stitches/react/types/theme").Token<"4-3", string, "ratios", "">;
2239
+ "1-1": import("@stitches/react/types/theme").Token<"1-1", string, "ratios", "">;
2240
+ "3-4": import("@stitches/react/types/theme").Token<"3-4", string, "ratios", "">;
2241
+ };
2165
2242
  };
2166
2243
  export declare type CSS = StitchesCSS<typeof stitchesConfig>;
2167
2244
  export {};
package/dist/stitches.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"@atom-learning/theme";import{createStitches as o}from"@stitches/react";const i={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})},m={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)"},d=o({theme:e,utils:i,media:m}),{css:r,getCssText:n,createTheme:p,globalCss:g,keyframes:a,styled:h,theme:s}=d;export{p as createTheme,r as css,n as getCssText,g as globalCss,a as keyframes,m as media,h as styled,s as theme,i as utils};
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};
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 type {\n CSS as StitchesCSS,\n PropertyValue,\n ScaleValue\n} from '@stitches/react'\nimport { createStitches } 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 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","css","getCssText","createTheme","globalCss","keyframes","styled","theme"],"mappings":"wFASO,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,MAAAL,EACA,MAAAE,CACF,CAAC,EAEY,CACX,IAAAI,EACA,WAAAC,EACA,YAAAC,EACA,UAAAC,EACA,UAAAC,EACA,OAAAC,EACA,MAAAC,CACF,EAAIT"}
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"}
@@ -164,4 +164,11 @@ export declare const createThemeVariants: <ThemeProperty extends keyof Theme>(th
164
164
  2: import("@stitches/react/types/theme").Token<"2", string, "shadows", "">;
165
165
  3: import("@stitches/react/types/theme").Token<"3", string, "shadows", "">;
166
166
  };
167
+ ratios: {
168
+ "16-9": import("@stitches/react/types/theme").Token<"16-9", string, "ratios", "">;
169
+ "3-2": import("@stitches/react/types/theme").Token<"3-2", string, "ratios", "">;
170
+ "4-3": import("@stitches/react/types/theme").Token<"4-3", string, "ratios", "">;
171
+ "1-1": import("@stitches/react/types/theme").Token<"1-1", string, "ratios", "">;
172
+ "3-4": import("@stitches/react/types/theme").Token<"3-4", string, "ratios", "">;
173
+ };
167
174
  })[ThemeProperty], CSS>;
@@ -161,6 +161,13 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
161
161
  "2": any;
162
162
  "3": any;
163
163
  };
164
+ ratios: {
165
+ "16-9": any;
166
+ "3-2": any;
167
+ "4-3": any;
168
+ "1-1": any;
169
+ "3-4": any;
170
+ };
164
171
  }, import("@stitches/react/types/config").DefaultThemeMap, {
165
172
  bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
166
173
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
@@ -373,6 +380,13 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
373
380
  "2": any;
374
381
  "3": any;
375
382
  };
383
+ ratios: {
384
+ "16-9": any;
385
+ "3-2": any;
386
+ "4-3": any;
387
+ "1-1": any;
388
+ "3-4": any;
389
+ };
376
390
  }, import("@stitches/react/types/config").DefaultThemeMap, {
377
391
  bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
378
392
  background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "dist/index.cjs.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "module": "dist/index.js",
7
- "version": "2.52.0",
7
+ "version": "2.54.0",
8
8
  "description": "",
9
9
  "files": [
10
10
  "dist"
@@ -60,7 +60,7 @@
60
60
  "devDependencies": {
61
61
  "@atom-learning/icons": "1.14.0",
62
62
  "@atom-learning/jest-stitches": "1.0.10",
63
- "@atom-learning/theme": "1.2.0",
63
+ "@atom-learning/theme": "1.3.0",
64
64
  "@commitlint/cli": "^11.0.0",
65
65
  "@commitlint/config-conventional": "^11.0.0",
66
66
  "@radix-ui/react-id": "0.1.5",
@@ -121,12 +121,12 @@
121
121
  },
122
122
  "peerDependencies": {
123
123
  "@atom-learning/icons": "^1.0.0",
124
- "@atom-learning/theme": "^1.2.0",
124
+ "@atom-learning/theme": "^1.3.0",
125
125
  "react": "^17",
126
126
  "react-dom": "^17"
127
127
  },
128
128
  "dependencies": {
129
- "@atom-learning/theme": "1.2.0",
129
+ "@atom-learning/theme": "1.3.0",
130
130
  "@dnd-kit/core": "^6.0.5",
131
131
  "@dnd-kit/modifiers": "^6.0.0",
132
132
  "@dnd-kit/sortable": "^7.0.1",