@astral/ui 0.2.3 → 0.2.6-beta.2

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 (278) hide show
  1. package/{node → cjs}/index.js +0 -0
  2. package/{node → cjs}/src/Badge/Badge.js +0 -0
  3. package/{node → cjs}/src/Badge/index.js +0 -0
  4. package/{node → cjs}/src/Badge/styled.js +0 -0
  5. package/{node → cjs}/src/Badge/types.js +0 -0
  6. package/{node → cjs}/src/Button/Button.js +0 -0
  7. package/{node → cjs}/src/Button/index.js +0 -0
  8. package/{node → cjs}/src/Button/styled.js +0 -0
  9. package/{node → cjs}/src/Button/types.js +0 -0
  10. package/{node → cjs}/src/ButtonBase/ButtonBase.js +0 -0
  11. package/{node → cjs}/src/ButtonBase/constants.js +0 -0
  12. package/{node → cjs}/src/ButtonBase/index.js +0 -0
  13. package/{node → cjs}/src/ButtonBase/styled.js +0 -0
  14. package/{node → cjs}/src/ButtonBase/types.js +0 -0
  15. package/{node → cjs}/src/Checkbox/Checkbox.js +0 -0
  16. package/{node → cjs}/src/Checkbox/icons.js +0 -0
  17. package/{node → cjs}/src/Checkbox/index.js +0 -0
  18. package/{node → cjs}/src/Checkbox/styled.js +0 -0
  19. package/{node → cjs}/src/Checkbox/types.js +0 -0
  20. package/{node → cjs}/src/CircularProgress/CircularProgress.js +0 -0
  21. package/{node → cjs}/src/CircularProgress/constants.js +0 -0
  22. package/{node → cjs}/src/CircularProgress/index.js +0 -0
  23. package/{node → cjs}/src/CircularProgress/styled.js +0 -0
  24. package/{node → cjs}/src/CircularProgress/types.js +0 -0
  25. package/{node → cjs}/src/FormControlLabel/FormControlLabel.js +0 -0
  26. package/{node → cjs}/src/FormControlLabel/index.js +0 -0
  27. package/{node → cjs}/src/FormControlLabel/styled.js +0 -0
  28. package/{node → cjs}/src/FormControlLabel/types.js +0 -0
  29. package/{node → cjs}/src/FormHelperText/FormHelperText.js +0 -0
  30. package/{node → cjs}/src/FormHelperText/index.js +0 -0
  31. package/{node → cjs}/src/FormHelperText/styled.js +0 -0
  32. package/{node → cjs}/src/FormHelperText/types.js +0 -0
  33. package/{node → cjs}/src/GlobalStyles/GlobalStyles.js +0 -0
  34. package/{node → cjs}/src/GlobalStyles/index.js +0 -0
  35. package/{node → cjs}/src/Grid/Grid.js +0 -0
  36. package/{node → cjs}/src/Grid/index.js +0 -0
  37. package/{node → cjs}/src/Grid/styled.js +0 -0
  38. package/{node → cjs}/src/Grid/types.js +0 -0
  39. package/{node → cjs}/src/IconButton/IconButton.js +0 -0
  40. package/{node → cjs}/src/IconButton/index.js +0 -0
  41. package/{node → cjs}/src/IconButton/styled.js +0 -0
  42. package/{node → cjs}/src/Menu/Menu.js +0 -0
  43. package/{node → cjs}/src/Menu/index.js +0 -0
  44. package/{node → cjs}/src/MenuItem/MenuItem.js +0 -0
  45. package/{node → cjs}/src/MenuItem/index.js +0 -0
  46. package/{node → cjs}/src/MenuList/MenuList.js +0 -0
  47. package/{node → cjs}/src/MenuList/index.js +0 -0
  48. package/{node → cjs}/src/MenuList/styled.js +0 -0
  49. package/{node → cjs}/src/MenuList/types.js +0 -0
  50. package/cjs/src/Radio/Icon.js +37 -0
  51. package/cjs/src/Radio/Radio.js +37 -0
  52. package/cjs/src/Radio/index.js +14 -0
  53. package/cjs/src/Radio/styled.js +35 -0
  54. package/{node/src/Tag → cjs/src/Radio}/types.js +0 -0
  55. package/cjs/src/RadioGroup/RadioGroup.js +4 -0
  56. package/{node → cjs}/src/Tag/Tag.js +0 -0
  57. package/{node → cjs}/src/Tag/constants.js +0 -0
  58. package/{node → cjs}/src/Tag/index.js +0 -0
  59. package/{node → cjs}/src/Tag/styled.js +5 -1
  60. package/{node/src/TextField → cjs/src/Tag}/types.js +0 -0
  61. package/{node → cjs}/src/TextField/TextField.js +0 -0
  62. package/{node → cjs}/src/TextField/index.js +0 -0
  63. package/{node/src/styles/styled → cjs/src/TextField}/types.js +0 -0
  64. package/{node → cjs}/src/ThemeProvider/ThemeProvider.js +0 -0
  65. package/{node → cjs}/src/ThemeProvider/index.js +0 -0
  66. package/{node → cjs}/src/Typography/Typography.js +0 -0
  67. package/{node → cjs}/src/Typography/index.js +0 -0
  68. package/{node → cjs}/src/index.js +0 -0
  69. package/{node → cjs}/src/styles/index.js +0 -0
  70. package/{node → cjs}/src/styles/styled/index.js +0 -0
  71. package/{node → cjs}/src/styles/styled/styled.js +0 -0
  72. package/cjs/src/styles/styled/types.js +2 -0
  73. package/{node → cjs}/src/theme/__tests__/BaseTheme.test.js +0 -0
  74. package/{node → cjs}/src/theme/baseTheme.js +0 -0
  75. package/{node → cjs}/src/theme/components/MuiFormHelperText.js +0 -0
  76. package/{node → cjs}/src/theme/components/MuiFormLabel.js +0 -0
  77. package/{node → cjs}/src/theme/components/MuiInputBase.js +0 -0
  78. package/{node → cjs}/src/theme/components/MuiInputLabel.js +0 -0
  79. package/{node → cjs}/src/theme/components/MuiOutlinedInput.js +0 -0
  80. package/{node → cjs}/src/theme/components/MuiTypography.js +0 -0
  81. package/{node → cjs}/src/theme/components/components.js +6 -0
  82. package/{node → cjs}/src/theme/components/index.js +0 -0
  83. package/{node → cjs}/src/theme/constants.js +0 -0
  84. package/{node → cjs}/src/theme/elevation.js +0 -0
  85. package/{node → cjs}/src/theme/hooks/index.js +0 -0
  86. package/{node → cjs}/src/theme/hooks/useTheme/index.js +0 -0
  87. package/{node → cjs}/src/theme/index.js +0 -0
  88. package/{node → cjs}/src/theme/palette/brandPalette.js +1 -1
  89. package/{node → cjs}/src/theme/palette/index.js +0 -0
  90. package/{node → cjs}/src/theme/palette/palette.js +0 -0
  91. package/{node → cjs}/src/theme/shape.js +0 -0
  92. package/{node → cjs}/src/theme/typography.js +0 -0
  93. package/esm/src/Radio/Icon.js +32 -0
  94. package/esm/src/Radio/Radio.js +31 -0
  95. package/esm/src/Radio/index.js +2 -0
  96. package/esm/src/Radio/styled.js +32 -0
  97. package/esm/src/{theme/__tests__/BaseTheme.test.d.ts → Radio/types.js} +0 -0
  98. package/esm/src/RadioGroup/RadioGroup.js +2 -0
  99. package/esm/src/Tag/styled.js +5 -1
  100. package/esm/src/theme/components/components.js +6 -0
  101. package/esm/src/theme/palette/brandPalette.js +1 -1
  102. package/package.json +12 -5
  103. package/{esm → types}/index.d.ts +0 -0
  104. package/{esm → types}/src/Badge/Badge.d.ts +0 -0
  105. package/{esm → types}/src/Badge/index.d.ts +0 -0
  106. package/{esm → types}/src/Badge/styled.d.ts +0 -0
  107. package/{esm → types}/src/Badge/types.d.ts +0 -0
  108. package/{esm → types}/src/Button/Button.d.ts +0 -0
  109. package/{esm → types}/src/Button/index.d.ts +0 -0
  110. package/{esm → types}/src/Button/styled.d.ts +0 -0
  111. package/{esm → types}/src/Button/types.d.ts +0 -0
  112. package/{esm → types}/src/ButtonBase/ButtonBase.d.ts +0 -0
  113. package/{esm → types}/src/ButtonBase/constants.d.ts +0 -0
  114. package/{esm → types}/src/ButtonBase/index.d.ts +0 -0
  115. package/{esm → types}/src/ButtonBase/styled.d.ts +0 -0
  116. package/{esm → types}/src/ButtonBase/types.d.ts +0 -0
  117. package/{esm → types}/src/Checkbox/Checkbox.d.ts +0 -0
  118. package/{esm → types}/src/Checkbox/icons.d.ts +0 -0
  119. package/{esm → types}/src/Checkbox/index.d.ts +0 -0
  120. package/{esm → types}/src/Checkbox/styled.d.ts +0 -0
  121. package/{esm → types}/src/Checkbox/types.d.ts +0 -0
  122. package/{esm → types}/src/CircularProgress/CircularProgress.d.ts +0 -0
  123. package/{esm → types}/src/CircularProgress/constants.d.ts +0 -0
  124. package/{esm → types}/src/CircularProgress/index.d.ts +0 -0
  125. package/{esm → types}/src/CircularProgress/styled.d.ts +0 -0
  126. package/{esm → types}/src/CircularProgress/types.d.ts +0 -0
  127. package/{esm → types}/src/FormControlLabel/FormControlLabel.d.ts +0 -0
  128. package/{esm → types}/src/FormControlLabel/index.d.ts +0 -0
  129. package/{esm → types}/src/FormControlLabel/styled.d.ts +0 -0
  130. package/{esm → types}/src/FormControlLabel/types.d.ts +0 -0
  131. package/{esm → types}/src/FormHelperText/FormHelperText.d.ts +0 -0
  132. package/{esm → types}/src/FormHelperText/index.d.ts +0 -0
  133. package/{esm → types}/src/FormHelperText/styled.d.ts +0 -0
  134. package/{esm → types}/src/FormHelperText/types.d.ts +0 -0
  135. package/{esm → types}/src/GlobalStyles/GlobalStyles.d.ts +0 -0
  136. package/{esm → types}/src/GlobalStyles/index.d.ts +0 -0
  137. package/{esm → types}/src/Grid/Grid.d.ts +0 -0
  138. package/{esm → types}/src/Grid/index.d.ts +0 -0
  139. package/{esm → types}/src/Grid/styled.d.ts +0 -0
  140. package/{esm → types}/src/Grid/types.d.ts +0 -0
  141. package/{esm → types}/src/IconButton/IconButton.d.ts +0 -0
  142. package/{esm → types}/src/IconButton/index.d.ts +0 -0
  143. package/{esm → types}/src/IconButton/styled.d.ts +0 -0
  144. package/{esm → types}/src/Menu/Menu.d.ts +0 -0
  145. package/{esm → types}/src/Menu/index.d.ts +0 -0
  146. package/{esm → types}/src/MenuItem/MenuItem.d.ts +0 -0
  147. package/{esm → types}/src/MenuItem/index.d.ts +0 -0
  148. package/{esm → types}/src/MenuList/MenuList.d.ts +0 -0
  149. package/{esm → types}/src/MenuList/index.d.ts +0 -0
  150. package/{esm → types}/src/MenuList/styled.d.ts +0 -0
  151. package/{esm → types}/src/MenuList/types.d.ts +0 -0
  152. package/types/src/Radio/Icon.d.ts +3 -0
  153. package/types/src/Radio/Radio.d.ts +4 -0
  154. package/{node/src/Badge → types/src/Radio}/index.d.ts +1 -1
  155. package/types/src/Radio/styled.d.ts +4 -0
  156. package/types/src/Radio/types.d.ts +2 -0
  157. package/types/src/RadioGroup/RadioGroup.d.ts +2 -0
  158. package/{esm → types}/src/Tag/Tag.d.ts +0 -0
  159. package/{esm → types}/src/Tag/constants.d.ts +0 -0
  160. package/{esm → types}/src/Tag/index.d.ts +0 -0
  161. package/{esm → types}/src/Tag/styled.d.ts +0 -0
  162. package/{esm → types}/src/Tag/types.d.ts +0 -0
  163. package/{esm → types}/src/TextField/TextField.d.ts +0 -0
  164. package/{esm → types}/src/TextField/index.d.ts +0 -0
  165. package/{esm → types}/src/TextField/types.d.ts +0 -0
  166. package/{esm → types}/src/ThemeProvider/ThemeProvider.d.ts +0 -0
  167. package/{esm → types}/src/ThemeProvider/index.d.ts +0 -0
  168. package/{esm → types}/src/Typography/Typography.d.ts +0 -0
  169. package/{esm → types}/src/Typography/index.d.ts +0 -0
  170. package/{esm → types}/src/index.d.ts +0 -0
  171. package/{esm → types}/src/styles/index.d.ts +0 -0
  172. package/{esm → types}/src/styles/styled/index.d.ts +0 -0
  173. package/{esm → types}/src/styles/styled/styled.d.ts +0 -0
  174. package/{esm → types}/src/styles/styled/types.d.ts +0 -0
  175. package/{node → types}/src/theme/__tests__/BaseTheme.test.d.ts +0 -0
  176. package/{esm → types}/src/theme/baseTheme.d.ts +0 -0
  177. package/{esm → types}/src/theme/components/MuiFormHelperText.d.ts +0 -0
  178. package/{esm → types}/src/theme/components/MuiFormLabel.d.ts +0 -0
  179. package/{esm → types}/src/theme/components/MuiInputBase.d.ts +0 -0
  180. package/{esm → types}/src/theme/components/MuiInputLabel.d.ts +0 -0
  181. package/{esm → types}/src/theme/components/MuiOutlinedInput.d.ts +0 -0
  182. package/{esm → types}/src/theme/components/MuiTypography.d.ts +0 -0
  183. package/{esm → types}/src/theme/components/components.d.ts +0 -0
  184. package/{esm → types}/src/theme/components/index.d.ts +0 -0
  185. package/{esm → types}/src/theme/constants.d.ts +0 -0
  186. package/{esm → types}/src/theme/elevation.d.ts +0 -0
  187. package/{esm → types}/src/theme/hooks/index.d.ts +0 -0
  188. package/{esm → types}/src/theme/hooks/useTheme/index.d.ts +0 -0
  189. package/{esm → types}/src/theme/index.d.ts +0 -0
  190. package/{esm → types}/src/theme/palette/brandPalette.d.ts +0 -0
  191. package/{esm → types}/src/theme/palette/index.d.ts +0 -0
  192. package/{esm → types}/src/theme/palette/palette.d.ts +0 -0
  193. package/{esm → types}/src/theme/shape.d.ts +0 -0
  194. package/{esm → types}/src/theme/typography.d.ts +0 -0
  195. package/node/index.d.ts +0 -1
  196. package/node/src/Badge/Badge.d.ts +0 -4
  197. package/node/src/Badge/styled.d.ts +0 -50
  198. package/node/src/Badge/types.d.ts +0 -5
  199. package/node/src/Button/Button.d.ts +0 -3
  200. package/node/src/Button/index.d.ts +0 -2
  201. package/node/src/Button/styled.d.ts +0 -13
  202. package/node/src/Button/types.d.ts +0 -7
  203. package/node/src/ButtonBase/ButtonBase.d.ts +0 -3
  204. package/node/src/ButtonBase/constants.d.ts +0 -22
  205. package/node/src/ButtonBase/index.d.ts +0 -3
  206. package/node/src/ButtonBase/styled.d.ts +0 -27
  207. package/node/src/ButtonBase/types.d.ts +0 -11
  208. package/node/src/Checkbox/Checkbox.d.ts +0 -3
  209. package/node/src/Checkbox/icons.d.ts +0 -5
  210. package/node/src/Checkbox/index.d.ts +0 -2
  211. package/node/src/Checkbox/styled.d.ts +0 -4
  212. package/node/src/Checkbox/types.d.ts +0 -2
  213. package/node/src/CircularProgress/CircularProgress.d.ts +0 -4
  214. package/node/src/CircularProgress/constants.d.ts +0 -8
  215. package/node/src/CircularProgress/index.d.ts +0 -2
  216. package/node/src/CircularProgress/styled.d.ts +0 -7
  217. package/node/src/CircularProgress/types.d.ts +0 -8
  218. package/node/src/FormControlLabel/FormControlLabel.d.ts +0 -3
  219. package/node/src/FormControlLabel/index.d.ts +0 -2
  220. package/node/src/FormControlLabel/styled.d.ts +0 -3
  221. package/node/src/FormControlLabel/types.d.ts +0 -2
  222. package/node/src/FormHelperText/FormHelperText.d.ts +0 -4
  223. package/node/src/FormHelperText/index.d.ts +0 -1
  224. package/node/src/FormHelperText/styled.d.ts +0 -41
  225. package/node/src/FormHelperText/types.d.ts +0 -6
  226. package/node/src/GlobalStyles/GlobalStyles.d.ts +0 -3
  227. package/node/src/GlobalStyles/index.d.ts +0 -1
  228. package/node/src/Grid/Grid.d.ts +0 -3
  229. package/node/src/Grid/index.d.ts +0 -2
  230. package/node/src/Grid/styled.d.ts +0 -13
  231. package/node/src/Grid/types.d.ts +0 -30
  232. package/node/src/IconButton/IconButton.d.ts +0 -3
  233. package/node/src/IconButton/index.d.ts +0 -1
  234. package/node/src/IconButton/styled.d.ts +0 -19
  235. package/node/src/Menu/Menu.d.ts +0 -3
  236. package/node/src/Menu/index.d.ts +0 -1
  237. package/node/src/MenuItem/MenuItem.d.ts +0 -3
  238. package/node/src/MenuItem/index.d.ts +0 -1
  239. package/node/src/MenuList/MenuList.d.ts +0 -3
  240. package/node/src/MenuList/index.d.ts +0 -2
  241. package/node/src/MenuList/styled.d.ts +0 -20
  242. package/node/src/MenuList/types.d.ts +0 -2
  243. package/node/src/Tag/Tag.d.ts +0 -3
  244. package/node/src/Tag/constants.d.ts +0 -21
  245. package/node/src/Tag/index.d.ts +0 -2
  246. package/node/src/Tag/styled.d.ts +0 -26
  247. package/node/src/Tag/types.d.ts +0 -12
  248. package/node/src/TextField/TextField.d.ts +0 -4
  249. package/node/src/TextField/index.d.ts +0 -2
  250. package/node/src/TextField/types.d.ts +0 -6
  251. package/node/src/ThemeProvider/ThemeProvider.d.ts +0 -7
  252. package/node/src/ThemeProvider/index.d.ts +0 -1
  253. package/node/src/Typography/Typography.d.ts +0 -8
  254. package/node/src/Typography/index.d.ts +0 -1
  255. package/node/src/index.d.ts +0 -18
  256. package/node/src/styles/index.d.ts +0 -1
  257. package/node/src/styles/styled/index.d.ts +0 -1
  258. package/node/src/styles/styled/styled.d.ts +0 -2
  259. package/node/src/styles/styled/types.d.ts +0 -48
  260. package/node/src/theme/baseTheme.d.ts +0 -28
  261. package/node/src/theme/components/MuiFormHelperText.d.ts +0 -4
  262. package/node/src/theme/components/MuiFormLabel.d.ts +0 -4
  263. package/node/src/theme/components/MuiInputBase.d.ts +0 -4
  264. package/node/src/theme/components/MuiInputLabel.d.ts +0 -4
  265. package/node/src/theme/components/MuiOutlinedInput.d.ts +0 -4
  266. package/node/src/theme/components/MuiTypography.d.ts +0 -21
  267. package/node/src/theme/components/components.d.ts +0 -21
  268. package/node/src/theme/components/index.d.ts +0 -1
  269. package/node/src/theme/constants.d.ts +0 -9
  270. package/node/src/theme/elevation.d.ts +0 -8
  271. package/node/src/theme/hooks/index.d.ts +0 -1
  272. package/node/src/theme/hooks/useTheme/index.d.ts +0 -2
  273. package/node/src/theme/index.d.ts +0 -6
  274. package/node/src/theme/palette/brandPalette.d.ts +0 -15
  275. package/node/src/theme/palette/index.d.ts +0 -2
  276. package/node/src/theme/palette/palette.d.ts +0 -29
  277. package/node/src/theme/shape.d.ts +0 -6
  278. package/node/src/theme/typography.d.ts +0 -19
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.CheckedCircleIcon = exports.DefaultIcon = void 0;
26
+ var jsx_runtime_1 = require("react/jsx-runtime");
27
+ var material_1 = require("@mui/material");
28
+ var DefaultIcon = function (_a) {
29
+ var props = __rest(_a, []);
30
+ return ((0, jsx_runtime_1.jsxs)(material_1.SvgIcon, __assign({ viewBox: "0 0 24 24" }, props, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "7", fill: "#DDE2E8" }, void 0), (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "5" }, void 0)] }), void 0));
31
+ };
32
+ exports.DefaultIcon = DefaultIcon;
33
+ var CheckedCircleIcon = function (_a) {
34
+ var props = __rest(_a, []);
35
+ return ((0, jsx_runtime_1.jsxs)(material_1.SvgIcon, __assign({ viewBox: "0 0 24 24" }, props, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "7" }, void 0), (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "2", fill: "#FAFBFC" }, void 0), (0, jsx_runtime_1.jsx)("path", { d: "M0 0V-1H-1V0H0ZM24 0H25V-1H24V0ZM24 24V25H25V24H24ZM0 24H-1V25H0V24ZM0 1H24V-1H0V1ZM23 0V24H25V0H23ZM24 23H0V25H24V23ZM1 24V0H-1V24H1Z", fill: "#E64343" }, void 0)] }), void 0));
36
+ };
37
+ exports.CheckedCircleIcon = CheckedCircleIcon;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ var __importDefault = (this && this.__importDefault) || function (mod) {
25
+ return (mod && mod.__esModule) ? mod : { "default": mod };
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Radio = void 0;
29
+ var jsx_runtime_1 = require("react/jsx-runtime");
30
+ var react_1 = __importDefault(require("react"));
31
+ var styled_1 = require("./styled");
32
+ var Icon_1 = require("./Icon");
33
+ exports.Radio = react_1.default.forwardRef(function (_a, ref) {
34
+ var _b = _a.icon, icon = _b === void 0 ? (0, jsx_runtime_1.jsx)(Icon_1.DefaultIcon, {}, void 0) : _b, _c = _a.checkedIcon, checkedIcon = _c === void 0 ? (0, jsx_runtime_1.jsx)(Icon_1.CheckedCircleIcon, {}, void 0) : _c, props = __rest(_a, ["icon", "checkedIcon"]);
35
+ return ((0, jsx_runtime_1.jsx)(styled_1.StyledRadio, __assign({ icon: icon, checkedIcon: checkedIcon, ref: ref }, props), void 0));
36
+ });
37
+ exports.default = exports.Radio;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./Radio"), exports);
14
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.StyledRadio = void 0;
8
+ var material_1 = require("@mui/material");
9
+ var styles_1 = require("../styles");
10
+ exports.StyledRadio = (0, styles_1.styled)(material_1.Radio)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 5px;\n border-radius: unset;\n color: ", ";\n\n &:hover {\n background: none;\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled:not(.Mui-checked) {\n color: ", ";\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-checked {\n color: ", ";\n &:hover {\n & > svg {\n color: ", ";\n }\n }\n &.Mui-disabled {\n color: ", ";\n }\n & > svg > path {\n fill: ", ";\n }\n }\n"], ["\n padding: 5px;\n border-radius: unset;\n color: ", ";\n\n &:hover {\n background: none;\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled:not(.Mui-checked) {\n color: ", ";\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-checked {\n color: ", ";\n &:hover {\n & > svg {\n color: ", ";\n }\n }\n &.Mui-disabled {\n color: ", ";\n }\n & > svg > path {\n fill: ", ";\n }\n }\n"])), function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.palette.background.default;
13
+ }, function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.palette.grey[200];
16
+ }, function (_a) {
17
+ var theme = _a.theme;
18
+ return theme.palette.grey[200];
19
+ }, function (_a) {
20
+ var theme = _a.theme;
21
+ return theme.palette.grey[300];
22
+ }, function (_a) {
23
+ var theme = _a.theme;
24
+ return theme.palette.primary.main;
25
+ }, function (_a) {
26
+ var theme = _a.theme;
27
+ return theme.palette.primary[700];
28
+ }, function (_a) {
29
+ var theme = _a.theme;
30
+ return theme.palette.grey[500];
31
+ }, function (_a) {
32
+ var theme = _a.theme;
33
+ return theme.palette.common.white;
34
+ });
35
+ var templateObject_1;
File without changes
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var material_1 = require("@mui/material");
4
+ exports.default = material_1.RadioGroup;
File without changes
File without changes
File without changes
@@ -104,7 +104,11 @@ var getDeleteIconBgColor = function (_a) {
104
104
  }
105
105
  return 'transparent';
106
106
  };
107
- exports.StyledTag = (0, styles_1.styled)(material_1.Chip)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) { return getShape(__assign({}, props)); }, function (props) {
107
+ exports.StyledTag = (0, styles_1.styled)(material_1.Chip, {
108
+ shouldForwardProp: function (prop) {
109
+ return prop !== 'customColor' && prop !== 'customVariant' && prop !== 'rounded';
110
+ },
111
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) { return getShape(__assign({}, props)); }, function (props) {
108
112
  return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.DEFAULT }));
109
113
  }, function (props) {
110
114
  return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER }));
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
File without changes
@@ -15,6 +15,11 @@ var MuiCheckbox = {
15
15
  disableRipple: true,
16
16
  },
17
17
  };
18
+ var MuiRadio = {
19
+ defaultProps: {
20
+ disableRipple: true,
21
+ },
22
+ };
18
23
  var MuiMenu = {
19
24
  defaultProps: {
20
25
  autoFocus: false,
@@ -61,5 +66,6 @@ var getComponents = function (fontUrls) { return ({
61
66
  MuiCheckbox: MuiCheckbox,
62
67
  MuiMenu: MuiMenu,
63
68
  MuiMenuItem: MuiMenuItem,
69
+ MuiRadio: MuiRadio,
64
70
  }); };
65
71
  exports.getComponents = getComponents;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -20,7 +20,7 @@ var edoPalette = {
20
20
  900: '#5D3FD4',
21
21
  800: '#6746EB',
22
22
  700: '#8566FF',
23
- 600: '#9D85FF',
23
+ 600: '#9075FF',
24
24
  500: '#9D85FF',
25
25
  400: '#B29EFF',
26
26
  300: '#C2B2FF',
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,32 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { SvgIcon } from '@mui/material';
25
+ export var DefaultIcon = function (_a) {
26
+ var props = __rest(_a, []);
27
+ return (_jsxs(SvgIcon, __assign({ viewBox: "0 0 24 24" }, props, { children: [_jsx("circle", { cx: "12", cy: "12", r: "7", fill: "#DDE2E8" }, void 0), _jsx("circle", { cx: "12", cy: "12", r: "5" }, void 0)] }), void 0));
28
+ };
29
+ export var CheckedCircleIcon = function (_a) {
30
+ var props = __rest(_a, []);
31
+ return (_jsxs(SvgIcon, __assign({ viewBox: "0 0 24 24" }, props, { children: [_jsx("circle", { cx: "12", cy: "12", r: "7" }, void 0), _jsx("circle", { cx: "12", cy: "12", r: "2", fill: "#FAFBFC" }, void 0), _jsx("path", { d: "M0 0V-1H-1V0H0ZM24 0H25V-1H24V0ZM24 24V25H25V24H24ZM0 24H-1V25H0V24ZM0 1H24V-1H0V1ZM23 0V24H25V0H23ZM24 23H0V25H24V23ZM1 24V0H-1V24H1Z", fill: "#E64343" }, void 0)] }), void 0));
32
+ };
@@ -0,0 +1,31 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import React from 'react';
25
+ import { StyledRadio } from './styled';
26
+ import { CheckedCircleIcon, DefaultIcon } from './Icon';
27
+ export var Radio = React.forwardRef(function (_a, ref) {
28
+ var _b = _a.icon, icon = _b === void 0 ? _jsx(DefaultIcon, {}, void 0) : _b, _c = _a.checkedIcon, checkedIcon = _c === void 0 ? _jsx(CheckedCircleIcon, {}, void 0) : _c, props = __rest(_a, ["icon", "checkedIcon"]);
29
+ return (_jsx(StyledRadio, __assign({ icon: icon, checkedIcon: checkedIcon, ref: ref }, props), void 0));
30
+ });
31
+ export default Radio;
@@ -0,0 +1,2 @@
1
+ export * from './Radio';
2
+ export * from './types';
@@ -0,0 +1,32 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { Radio } from '@mui/material';
6
+ import { styled } from '../styles';
7
+ export var StyledRadio = styled(Radio)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 5px;\n border-radius: unset;\n color: ", ";\n\n &:hover {\n background: none;\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled:not(.Mui-checked) {\n color: ", ";\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-checked {\n color: ", ";\n &:hover {\n & > svg {\n color: ", ";\n }\n }\n &.Mui-disabled {\n color: ", ";\n }\n & > svg > path {\n fill: ", ";\n }\n }\n"], ["\n padding: 5px;\n border-radius: unset;\n color: ", ";\n\n &:hover {\n background: none;\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled:not(.Mui-checked) {\n color: ", ";\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-checked {\n color: ", ";\n &:hover {\n & > svg {\n color: ", ";\n }\n }\n &.Mui-disabled {\n color: ", ";\n }\n & > svg > path {\n fill: ", ";\n }\n }\n"])), function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.palette.background.default;
10
+ }, function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.palette.grey[200];
13
+ }, function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.palette.grey[200];
16
+ }, function (_a) {
17
+ var theme = _a.theme;
18
+ return theme.palette.grey[300];
19
+ }, function (_a) {
20
+ var theme = _a.theme;
21
+ return theme.palette.primary.main;
22
+ }, function (_a) {
23
+ var theme = _a.theme;
24
+ return theme.palette.primary[700];
25
+ }, function (_a) {
26
+ var theme = _a.theme;
27
+ return theme.palette.grey[500];
28
+ }, function (_a) {
29
+ var theme = _a.theme;
30
+ return theme.palette.common.white;
31
+ });
32
+ var templateObject_1;
@@ -0,0 +1,2 @@
1
+ import { RadioGroup } from '@mui/material';
2
+ export default RadioGroup;
@@ -101,7 +101,11 @@ var getDeleteIconBgColor = function (_a) {
101
101
  }
102
102
  return 'transparent';
103
103
  };
104
- export var StyledTag = styled(Chip)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) { return getShape(__assign({}, props)); }, function (props) {
104
+ export var StyledTag = styled(Chip, {
105
+ shouldForwardProp: function (prop) {
106
+ return prop !== 'customColor' && prop !== 'customVariant' && prop !== 'rounded';
107
+ },
108
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) { return getShape(__assign({}, props)); }, function (props) {
105
109
  return getBgColor(__assign(__assign({}, props), { tagState: TagStates.DEFAULT }));
106
110
  }, function (props) {
107
111
  return getBgColor(__assign(__assign({}, props), { tagState: TagStates.HOVER }));
@@ -12,6 +12,11 @@ var MuiCheckbox = {
12
12
  disableRipple: true,
13
13
  },
14
14
  };
15
+ var MuiRadio = {
16
+ defaultProps: {
17
+ disableRipple: true,
18
+ },
19
+ };
15
20
  var MuiMenu = {
16
21
  defaultProps: {
17
22
  autoFocus: false,
@@ -58,4 +63,5 @@ export var getComponents = function (fontUrls) { return ({
58
63
  MuiCheckbox: MuiCheckbox,
59
64
  MuiMenu: MuiMenu,
60
65
  MuiMenuItem: MuiMenuItem,
66
+ MuiRadio: MuiRadio,
61
67
  }); };
@@ -17,7 +17,7 @@ var edoPalette = {
17
17
  900: '#5D3FD4',
18
18
  800: '#6746EB',
19
19
  700: '#8566FF',
20
- 600: '#9D85FF',
20
+ 600: '#9075FF',
21
21
  500: '#9D85FF',
22
22
  400: '#B29EFF',
23
23
  300: '#C2B2FF',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.6-beta.2",
4
4
  "type": "module",
5
5
  "source": "./src/index.ts",
6
6
  "jest": {
@@ -9,7 +9,7 @@
9
9
  }
10
10
  },
11
11
  "dependencies": {
12
- "@astral/icons": "^0.2.3",
12
+ "@astral/icons": "^0.2.2",
13
13
  "@emotion/react": "11.5.0",
14
14
  "@emotion/styled": "11.3.0",
15
15
  "@mui/base": "5.0.0-alpha.66",
@@ -31,7 +31,14 @@
31
31
  },
32
32
  "keywords": [],
33
33
  "sideEffects": false,
34
- "main": "./node/index.js",
35
- "types": "./esm/index.d.ts",
36
- "module": "./esm/index.js"
34
+ "main": "./cjs/index.js",
35
+ "types": "./types/index.d.ts",
36
+ "module": "./esm/index.js",
37
+ "exports": {
38
+ ".": {
39
+ "import": "./esm/index.js",
40
+ "require": "./cjs/index.js",
41
+ "types": "./types/index.d.ts"
42
+ }
43
+ }
37
44
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes