@astral/ui 0.2.6-beta.2 → 0.3.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 (279) hide show
  1. package/{types → esm}/index.d.ts +0 -0
  2. package/{types → esm}/src/Badge/Badge.d.ts +0 -0
  3. package/{types → esm}/src/Badge/index.d.ts +0 -0
  4. package/{types → esm}/src/Badge/styled.d.ts +0 -0
  5. package/{types → esm}/src/Badge/types.d.ts +0 -0
  6. package/{types → esm}/src/Button/Button.d.ts +0 -0
  7. package/{types → esm}/src/Button/index.d.ts +0 -0
  8. package/{types → esm}/src/Button/styled.d.ts +0 -0
  9. package/{types → esm}/src/Button/types.d.ts +0 -0
  10. package/{types → esm}/src/ButtonBase/ButtonBase.d.ts +0 -0
  11. package/{types → esm}/src/ButtonBase/constants.d.ts +0 -0
  12. package/{types → esm}/src/ButtonBase/index.d.ts +0 -0
  13. package/{types → esm}/src/ButtonBase/styled.d.ts +0 -0
  14. package/{types → esm}/src/ButtonBase/types.d.ts +0 -0
  15. package/{types → esm}/src/Checkbox/Checkbox.d.ts +0 -0
  16. package/{types → esm}/src/Checkbox/icons.d.ts +0 -0
  17. package/{types → esm}/src/Checkbox/index.d.ts +0 -0
  18. package/{types → esm}/src/Checkbox/styled.d.ts +0 -0
  19. package/{types → esm}/src/Checkbox/types.d.ts +0 -0
  20. package/{types → esm}/src/CircularProgress/CircularProgress.d.ts +0 -0
  21. package/{types → esm}/src/CircularProgress/constants.d.ts +0 -0
  22. package/{types → esm}/src/CircularProgress/index.d.ts +0 -0
  23. package/{types → esm}/src/CircularProgress/styled.d.ts +0 -0
  24. package/{types → esm}/src/CircularProgress/types.d.ts +0 -0
  25. package/{types → esm}/src/FormControlLabel/FormControlLabel.d.ts +0 -0
  26. package/{types → esm}/src/FormControlLabel/index.d.ts +0 -0
  27. package/{types → esm}/src/FormControlLabel/styled.d.ts +0 -0
  28. package/{types → esm}/src/FormControlLabel/types.d.ts +0 -0
  29. package/{types → esm}/src/FormHelperText/FormHelperText.d.ts +0 -0
  30. package/{types → esm}/src/FormHelperText/index.d.ts +0 -0
  31. package/{types → esm}/src/FormHelperText/styled.d.ts +0 -0
  32. package/{types → esm}/src/FormHelperText/types.d.ts +0 -0
  33. package/{types → esm}/src/GlobalStyles/GlobalStyles.d.ts +0 -0
  34. package/{types → esm}/src/GlobalStyles/index.d.ts +0 -0
  35. package/{types → esm}/src/Grid/Grid.d.ts +0 -0
  36. package/{types → esm}/src/Grid/index.d.ts +0 -0
  37. package/{types → esm}/src/Grid/styled.d.ts +0 -0
  38. package/{types → esm}/src/Grid/types.d.ts +0 -0
  39. package/{types → esm}/src/IconButton/IconButton.d.ts +0 -0
  40. package/{types → esm}/src/IconButton/index.d.ts +0 -0
  41. package/{types → esm}/src/IconButton/styled.d.ts +0 -0
  42. package/{types → esm}/src/Menu/Menu.d.ts +0 -0
  43. package/{types → esm}/src/Menu/index.d.ts +0 -0
  44. package/{types → esm}/src/MenuItem/MenuItem.d.ts +0 -0
  45. package/{types → esm}/src/MenuItem/index.d.ts +0 -0
  46. package/{types → esm}/src/MenuList/MenuList.d.ts +0 -0
  47. package/{types → esm}/src/MenuList/index.d.ts +0 -0
  48. package/{types → esm}/src/MenuList/styled.d.ts +0 -0
  49. package/{types → esm}/src/MenuList/types.d.ts +0 -0
  50. package/{types → esm}/src/Radio/Icon.d.ts +0 -0
  51. package/{types → esm}/src/Radio/Radio.d.ts +0 -0
  52. package/{types → esm}/src/Radio/index.d.ts +0 -0
  53. package/{types → esm}/src/Radio/styled.d.ts +0 -0
  54. package/{types → esm}/src/Radio/types.d.ts +0 -0
  55. package/{types → esm}/src/RadioGroup/RadioGroup.d.ts +0 -0
  56. package/{types → esm}/src/Tag/Tag.d.ts +0 -0
  57. package/{types → esm}/src/Tag/constants.d.ts +0 -0
  58. package/{types → esm}/src/Tag/index.d.ts +0 -0
  59. package/{types → esm}/src/Tag/styled.d.ts +0 -0
  60. package/{types → esm}/src/Tag/types.d.ts +0 -0
  61. package/esm/src/TextField/TextField.d.ts +4 -0
  62. package/esm/src/TextField/TextField.js +4 -4
  63. package/{types → esm}/src/TextField/index.d.ts +0 -0
  64. package/{types → esm}/src/TextField/types.d.ts +0 -0
  65. package/{types → esm}/src/ThemeProvider/ThemeProvider.d.ts +0 -0
  66. package/{types → esm}/src/ThemeProvider/index.d.ts +0 -0
  67. package/{types → esm}/src/Typography/Typography.d.ts +0 -0
  68. package/{types → esm}/src/Typography/index.d.ts +0 -0
  69. package/{types → esm}/src/index.d.ts +0 -0
  70. package/{types → esm}/src/styles/index.d.ts +0 -0
  71. package/{types → esm}/src/styles/styled/index.d.ts +0 -0
  72. package/{types → esm}/src/styles/styled/styled.d.ts +0 -0
  73. package/{types → esm}/src/styles/styled/types.d.ts +0 -0
  74. package/{types → esm}/src/theme/__tests__/BaseTheme.test.d.ts +0 -0
  75. package/{types → esm}/src/theme/baseTheme.d.ts +0 -0
  76. package/{types → esm}/src/theme/components/MuiFormHelperText.d.ts +0 -0
  77. package/{types → esm}/src/theme/components/MuiFormLabel.d.ts +0 -0
  78. package/{types → esm}/src/theme/components/MuiInputBase.d.ts +0 -0
  79. package/{types → esm}/src/theme/components/MuiInputLabel.d.ts +0 -0
  80. package/{types → esm}/src/theme/components/MuiOutlinedInput.d.ts +0 -0
  81. package/{types → esm}/src/theme/components/MuiTypography.d.ts +0 -0
  82. package/{types → esm}/src/theme/components/components.d.ts +0 -0
  83. package/{types → esm}/src/theme/components/index.d.ts +0 -0
  84. package/{types → esm}/src/theme/constants.d.ts +0 -0
  85. package/{types → esm}/src/theme/elevation.d.ts +0 -0
  86. package/{types → esm}/src/theme/hooks/index.d.ts +0 -0
  87. package/{types → esm}/src/theme/hooks/useTheme/index.d.ts +0 -0
  88. package/{types → esm}/src/theme/index.d.ts +0 -0
  89. package/{types → esm}/src/theme/palette/brandPalette.d.ts +0 -0
  90. package/{types → esm}/src/theme/palette/index.d.ts +0 -0
  91. package/{types → esm}/src/theme/palette/palette.d.ts +0 -0
  92. package/{types → esm}/src/theme/shape.d.ts +0 -0
  93. package/{types → esm}/src/theme/typography.d.ts +0 -0
  94. package/node/index.d.ts +1 -0
  95. package/{cjs → node}/index.js +0 -0
  96. package/node/src/Badge/Badge.d.ts +4 -0
  97. package/{cjs → node}/src/Badge/Badge.js +0 -0
  98. package/node/src/Badge/index.d.ts +2 -0
  99. package/{cjs → node}/src/Badge/index.js +0 -0
  100. package/node/src/Badge/styled.d.ts +50 -0
  101. package/{cjs → node}/src/Badge/styled.js +0 -0
  102. package/node/src/Badge/types.d.ts +5 -0
  103. package/{cjs → node}/src/Badge/types.js +0 -0
  104. package/node/src/Button/Button.d.ts +3 -0
  105. package/{cjs → node}/src/Button/Button.js +0 -0
  106. package/node/src/Button/index.d.ts +2 -0
  107. package/{cjs → node}/src/Button/index.js +0 -0
  108. package/node/src/Button/styled.d.ts +13 -0
  109. package/{cjs → node}/src/Button/styled.js +0 -0
  110. package/node/src/Button/types.d.ts +7 -0
  111. package/{cjs → node}/src/Button/types.js +0 -0
  112. package/node/src/ButtonBase/ButtonBase.d.ts +3 -0
  113. package/{cjs → node}/src/ButtonBase/ButtonBase.js +0 -0
  114. package/node/src/ButtonBase/constants.d.ts +22 -0
  115. package/{cjs → node}/src/ButtonBase/constants.js +0 -0
  116. package/node/src/ButtonBase/index.d.ts +3 -0
  117. package/{cjs → node}/src/ButtonBase/index.js +0 -0
  118. package/node/src/ButtonBase/styled.d.ts +27 -0
  119. package/{cjs → node}/src/ButtonBase/styled.js +0 -0
  120. package/node/src/ButtonBase/types.d.ts +11 -0
  121. package/{cjs → node}/src/ButtonBase/types.js +0 -0
  122. package/node/src/Checkbox/Checkbox.d.ts +3 -0
  123. package/{cjs → node}/src/Checkbox/Checkbox.js +0 -0
  124. package/node/src/Checkbox/icons.d.ts +5 -0
  125. package/{cjs → node}/src/Checkbox/icons.js +0 -0
  126. package/node/src/Checkbox/index.d.ts +2 -0
  127. package/{cjs → node}/src/Checkbox/index.js +0 -0
  128. package/node/src/Checkbox/styled.d.ts +4 -0
  129. package/{cjs → node}/src/Checkbox/styled.js +0 -0
  130. package/node/src/Checkbox/types.d.ts +2 -0
  131. package/{cjs → node}/src/Checkbox/types.js +0 -0
  132. package/node/src/CircularProgress/CircularProgress.d.ts +4 -0
  133. package/{cjs → node}/src/CircularProgress/CircularProgress.js +0 -0
  134. package/node/src/CircularProgress/constants.d.ts +8 -0
  135. package/{cjs → node}/src/CircularProgress/constants.js +0 -0
  136. package/node/src/CircularProgress/index.d.ts +2 -0
  137. package/{cjs → node}/src/CircularProgress/index.js +0 -0
  138. package/node/src/CircularProgress/styled.d.ts +7 -0
  139. package/{cjs → node}/src/CircularProgress/styled.js +0 -0
  140. package/node/src/CircularProgress/types.d.ts +8 -0
  141. package/{cjs → node}/src/CircularProgress/types.js +0 -0
  142. package/node/src/FormControlLabel/FormControlLabel.d.ts +3 -0
  143. package/{cjs → node}/src/FormControlLabel/FormControlLabel.js +0 -0
  144. package/node/src/FormControlLabel/index.d.ts +2 -0
  145. package/{cjs → node}/src/FormControlLabel/index.js +0 -0
  146. package/node/src/FormControlLabel/styled.d.ts +3 -0
  147. package/{cjs → node}/src/FormControlLabel/styled.js +0 -0
  148. package/node/src/FormControlLabel/types.d.ts +2 -0
  149. package/{cjs → node}/src/FormControlLabel/types.js +0 -0
  150. package/node/src/FormHelperText/FormHelperText.d.ts +4 -0
  151. package/{cjs → node}/src/FormHelperText/FormHelperText.js +0 -0
  152. package/node/src/FormHelperText/index.d.ts +1 -0
  153. package/{cjs → node}/src/FormHelperText/index.js +0 -0
  154. package/node/src/FormHelperText/styled.d.ts +41 -0
  155. package/{cjs → node}/src/FormHelperText/styled.js +0 -0
  156. package/node/src/FormHelperText/types.d.ts +6 -0
  157. package/{cjs → node}/src/FormHelperText/types.js +0 -0
  158. package/node/src/GlobalStyles/GlobalStyles.d.ts +3 -0
  159. package/{cjs → node}/src/GlobalStyles/GlobalStyles.js +0 -0
  160. package/node/src/GlobalStyles/index.d.ts +1 -0
  161. package/{cjs → node}/src/GlobalStyles/index.js +0 -0
  162. package/node/src/Grid/Grid.d.ts +3 -0
  163. package/{cjs → node}/src/Grid/Grid.js +0 -0
  164. package/node/src/Grid/index.d.ts +2 -0
  165. package/{cjs → node}/src/Grid/index.js +0 -0
  166. package/node/src/Grid/styled.d.ts +13 -0
  167. package/{cjs → node}/src/Grid/styled.js +0 -0
  168. package/node/src/Grid/types.d.ts +30 -0
  169. package/{cjs → node}/src/Grid/types.js +0 -0
  170. package/node/src/IconButton/IconButton.d.ts +3 -0
  171. package/{cjs → node}/src/IconButton/IconButton.js +0 -0
  172. package/node/src/IconButton/index.d.ts +1 -0
  173. package/{cjs → node}/src/IconButton/index.js +0 -0
  174. package/node/src/IconButton/styled.d.ts +19 -0
  175. package/{cjs → node}/src/IconButton/styled.js +0 -0
  176. package/node/src/Menu/Menu.d.ts +3 -0
  177. package/{cjs → node}/src/Menu/Menu.js +0 -0
  178. package/node/src/Menu/index.d.ts +1 -0
  179. package/{cjs → node}/src/Menu/index.js +0 -0
  180. package/node/src/MenuItem/MenuItem.d.ts +3 -0
  181. package/{cjs → node}/src/MenuItem/MenuItem.js +0 -0
  182. package/node/src/MenuItem/index.d.ts +1 -0
  183. package/{cjs → node}/src/MenuItem/index.js +0 -0
  184. package/node/src/MenuList/MenuList.d.ts +3 -0
  185. package/{cjs → node}/src/MenuList/MenuList.js +0 -0
  186. package/node/src/MenuList/index.d.ts +2 -0
  187. package/{cjs → node}/src/MenuList/index.js +0 -0
  188. package/node/src/MenuList/styled.d.ts +20 -0
  189. package/{cjs → node}/src/MenuList/styled.js +0 -0
  190. package/node/src/MenuList/types.d.ts +2 -0
  191. package/{cjs → node}/src/MenuList/types.js +0 -0
  192. package/node/src/Radio/Icon.d.ts +3 -0
  193. package/{cjs → node}/src/Radio/Icon.js +0 -0
  194. package/node/src/Radio/Radio.d.ts +4 -0
  195. package/{cjs → node}/src/Radio/Radio.js +0 -0
  196. package/node/src/Radio/index.d.ts +2 -0
  197. package/{cjs → node}/src/Radio/index.js +0 -0
  198. package/node/src/Radio/styled.d.ts +4 -0
  199. package/{cjs → node}/src/Radio/styled.js +0 -0
  200. package/node/src/Radio/types.d.ts +2 -0
  201. package/{cjs → node}/src/Radio/types.js +0 -0
  202. package/node/src/RadioGroup/RadioGroup.d.ts +2 -0
  203. package/{cjs → node}/src/RadioGroup/RadioGroup.js +0 -0
  204. package/node/src/Tag/Tag.d.ts +3 -0
  205. package/{cjs → node}/src/Tag/Tag.js +0 -0
  206. package/node/src/Tag/constants.d.ts +21 -0
  207. package/{cjs → node}/src/Tag/constants.js +0 -0
  208. package/node/src/Tag/index.d.ts +2 -0
  209. package/{cjs → node}/src/Tag/index.js +0 -0
  210. package/node/src/Tag/styled.d.ts +26 -0
  211. package/{cjs → node}/src/Tag/styled.js +0 -0
  212. package/node/src/Tag/types.d.ts +12 -0
  213. package/{cjs → node}/src/Tag/types.js +0 -0
  214. package/node/src/TextField/TextField.d.ts +4 -0
  215. package/{cjs → node}/src/TextField/TextField.js +3 -4
  216. package/node/src/TextField/index.d.ts +2 -0
  217. package/{cjs → node}/src/TextField/index.js +0 -0
  218. package/node/src/TextField/types.d.ts +6 -0
  219. package/{cjs → node}/src/TextField/types.js +0 -0
  220. package/node/src/ThemeProvider/ThemeProvider.d.ts +7 -0
  221. package/{cjs → node}/src/ThemeProvider/ThemeProvider.js +0 -0
  222. package/node/src/ThemeProvider/index.d.ts +1 -0
  223. package/{cjs → node}/src/ThemeProvider/index.js +0 -0
  224. package/node/src/Typography/Typography.d.ts +8 -0
  225. package/{cjs → node}/src/Typography/Typography.js +0 -0
  226. package/node/src/Typography/index.d.ts +1 -0
  227. package/{cjs → node}/src/Typography/index.js +0 -0
  228. package/node/src/index.d.ts +18 -0
  229. package/{cjs → node}/src/index.js +0 -0
  230. package/node/src/styles/index.d.ts +1 -0
  231. package/{cjs → node}/src/styles/index.js +0 -0
  232. package/node/src/styles/styled/index.d.ts +1 -0
  233. package/{cjs → node}/src/styles/styled/index.js +0 -0
  234. package/node/src/styles/styled/styled.d.ts +2 -0
  235. package/{cjs → node}/src/styles/styled/styled.js +0 -0
  236. package/node/src/styles/styled/types.d.ts +48 -0
  237. package/{cjs → node}/src/styles/styled/types.js +0 -0
  238. package/node/src/theme/__tests__/BaseTheme.test.d.ts +1 -0
  239. package/{cjs → node}/src/theme/__tests__/BaseTheme.test.js +0 -0
  240. package/node/src/theme/baseTheme.d.ts +28 -0
  241. package/{cjs → node}/src/theme/baseTheme.js +0 -0
  242. package/node/src/theme/components/MuiFormHelperText.d.ts +4 -0
  243. package/{cjs → node}/src/theme/components/MuiFormHelperText.js +0 -0
  244. package/node/src/theme/components/MuiFormLabel.d.ts +4 -0
  245. package/{cjs → node}/src/theme/components/MuiFormLabel.js +0 -0
  246. package/node/src/theme/components/MuiInputBase.d.ts +4 -0
  247. package/{cjs → node}/src/theme/components/MuiInputBase.js +0 -0
  248. package/node/src/theme/components/MuiInputLabel.d.ts +4 -0
  249. package/{cjs → node}/src/theme/components/MuiInputLabel.js +0 -0
  250. package/node/src/theme/components/MuiOutlinedInput.d.ts +4 -0
  251. package/{cjs → node}/src/theme/components/MuiOutlinedInput.js +0 -0
  252. package/node/src/theme/components/MuiTypography.d.ts +21 -0
  253. package/{cjs → node}/src/theme/components/MuiTypography.js +0 -0
  254. package/node/src/theme/components/components.d.ts +21 -0
  255. package/{cjs → node}/src/theme/components/components.js +0 -0
  256. package/node/src/theme/components/index.d.ts +1 -0
  257. package/{cjs → node}/src/theme/components/index.js +0 -0
  258. package/node/src/theme/constants.d.ts +9 -0
  259. package/{cjs → node}/src/theme/constants.js +0 -0
  260. package/node/src/theme/elevation.d.ts +8 -0
  261. package/{cjs → node}/src/theme/elevation.js +0 -0
  262. package/node/src/theme/hooks/index.d.ts +1 -0
  263. package/{cjs → node}/src/theme/hooks/index.js +0 -0
  264. package/node/src/theme/hooks/useTheme/index.d.ts +2 -0
  265. package/{cjs → node}/src/theme/hooks/useTheme/index.js +0 -0
  266. package/node/src/theme/index.d.ts +6 -0
  267. package/{cjs → node}/src/theme/index.js +0 -0
  268. package/node/src/theme/palette/brandPalette.d.ts +15 -0
  269. package/{cjs → node}/src/theme/palette/brandPalette.js +0 -0
  270. package/node/src/theme/palette/index.d.ts +2 -0
  271. package/{cjs → node}/src/theme/palette/index.js +0 -0
  272. package/node/src/theme/palette/palette.d.ts +29 -0
  273. package/{cjs → node}/src/theme/palette/palette.js +0 -0
  274. package/node/src/theme/shape.d.ts +6 -0
  275. package/{cjs → node}/src/theme/shape.js +0 -0
  276. package/node/src/theme/typography.d.ts +19 -0
  277. package/{cjs → node}/src/theme/typography.js +0 -0
  278. package/package.json +6 -13
  279. package/types/src/TextField/TextField.d.ts +0 -4
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
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,4 @@
1
+ /// <reference types="react" />
2
+ import { TextFieldProps } from './types';
3
+ export declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "focused" | "error" | "multiline" | "fullWidth" | "hiddenLabel" | "color" | "translate" | "margin" | "success" | "required" | "classes" | "className" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "label" | "select" | "key" | "variant" | "autoComplete" | "autoFocus" | "inputProps" | "inputRef" | "name" | "rows" | "maxRows" | "minRows" | "size" | "type" | "value" | "SelectProps" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export default TextField;
@@ -21,10 +21,10 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import { useMemo } from 'react';
24
+ import { forwardRef, useMemo } from 'react';
25
25
  import MuiTextField from '@mui/material/TextField';
26
26
  import { FormHelperText } from '../FormHelperText';
27
- export var TextField = function (props) {
27
+ export var TextField = forwardRef(function (props, ref) {
28
28
  var variant = props.variant, success = props.success, error = props.error, colorProp = props.color, helperTextProp = props.helperText, restProps = __rest(props, ["variant", "success", "error", "color", "helperText"]);
29
29
  var color = useMemo(function () {
30
30
  if (success) {
@@ -41,6 +41,6 @@ export var TextField = function (props) {
41
41
  }
42
42
  return helperTextProp;
43
43
  }, [helperTextProp, success, error]);
44
- return (_jsx(MuiTextField, __assign({ variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
45
- };
44
+ return (_jsx(MuiTextField, __assign({ ref: ref, variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
45
+ });
46
46
  export default TextField;
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 @@
1
+ export * from './src';
File without changes
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { BadgeProps } from './types';
3
+ declare const Badge: ({ children, color, ...props }: BadgeProps) => JSX.Element;
4
+ export default Badge;
File without changes
@@ -0,0 +1,2 @@
1
+ export * from './Badge';
2
+ export * from './types';
File without changes
@@ -0,0 +1,50 @@
1
+ /// <reference types="react" />
2
+ import { Theme } from '../theme';
3
+ import { BadgeColor, BadgeProps } from './types';
4
+ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
5
+ classes?: (Partial<import("@mui/material").BadgeUnstyledClasses> & {
6
+ colorPrimary?: string | undefined;
7
+ colorSecondary?: string | undefined;
8
+ colorError?: string | undefined;
9
+ colorInfo?: string | undefined;
10
+ colorSuccess?: string | undefined;
11
+ colorWarning?: string | undefined;
12
+ anchorOriginTopRightRectangular?: string | undefined;
13
+ anchorOriginBottomRightRectangular?: string | undefined;
14
+ anchorOriginTopLeftRectangular?: string | undefined;
15
+ anchorOriginBottomLeftRectangular?: string | undefined;
16
+ anchorOriginTopRightCircular?: string | undefined;
17
+ anchorOriginBottomRightCircular?: string | undefined;
18
+ anchorOriginTopLeftCircular?: string | undefined;
19
+ anchorOriginBottomLeftCircular?: string | undefined;
20
+ overlapRectangular?: string | undefined;
21
+ overlapCircular?: string | undefined;
22
+ }) | undefined;
23
+ color?: "primary" | "secondary" | "default" | "error" | "warning" | "info" | "success" | undefined;
24
+ overlap?: "circular" | "rectangular" | undefined;
25
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
26
+ variant?: "standard" | "dot" | undefined;
27
+ } & {
28
+ anchorOrigin?: import("@mui/material").BadgeOrigin | undefined;
29
+ components?: {
30
+ Root?: import("react").ElementType<any> | undefined;
31
+ Badge?: import("react").ElementType<any> | undefined;
32
+ } | undefined;
33
+ componentsProps?: {
34
+ root?: (import("react").HTMLAttributes<HTMLSpanElement> & import("@mui/material").BadgeUnstyledComponentsPropsOverrides) | undefined;
35
+ badge?: (import("react").HTMLAttributes<HTMLSpanElement> & import("@mui/material").BadgeUnstyledComponentsPropsOverrides) | undefined;
36
+ } | undefined;
37
+ badgeContent?: import("react").ReactNode;
38
+ children?: import("react").ReactNode;
39
+ classes?: Partial<import("@mui/material").BadgeUnstyledClasses> | undefined;
40
+ invisible?: boolean | undefined;
41
+ max?: number | undefined;
42
+ showZero?: boolean | undefined;
43
+ variant?: string | undefined;
44
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
45
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
46
+ }, "components" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "max" | "showZero"> & {
47
+ theme?: Theme | undefined;
48
+ } & Omit<BadgeProps, "color"> & {
49
+ customColor: BadgeColor;
50
+ }, {}, {}>;
File without changes
@@ -0,0 +1,5 @@
1
+ import { BadgeProps as MuiBadgeProps } from '@mui/material/Badge/Badge';
2
+ export declare type BadgeColor = 'primary' | 'grey' | 'white' | 'errorLight' | 'error' | 'success';
3
+ export declare type BadgeProps = Omit<MuiBadgeProps, 'color'> & {
4
+ color: BadgeColor;
5
+ };
File without changes
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps } from './types';
3
+ export declare const Button: ({ children, startIcon, endIcon, loading, ...props }: ButtonProps) => JSX.Element;
File without changes
@@ -0,0 +1,2 @@
1
+ export * from './Button';
2
+ export * from './types';
File without changes
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { Theme } from '../theme';
3
+ export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "color" | "variant" | "size"> & {
4
+ color?: "primary" | "error" | "warning" | "success" | undefined;
5
+ variant?: "link" | "light" | "text" | "contained" | undefined;
6
+ size?: "large" | "medium" | undefined;
7
+ } & {
8
+ theme?: Theme | undefined;
9
+ } & {
10
+ loading?: boolean | undefined;
11
+ startIcon?: import("react").ReactNode;
12
+ endIcon?: import("react").ReactNode;
13
+ }, {}, {}>;
File without changes
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { BaseButtonProps } from '../ButtonBase';
3
+ export declare type ButtonProps = BaseButtonProps & {
4
+ loading?: boolean;
5
+ startIcon?: React.ReactNode;
6
+ endIcon?: React.ReactNode;
7
+ };
File without changes
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { BaseButtonProps } from './types';
3
+ export declare const ButtonBase: ({ children, variant, color, ...props }: BaseButtonProps) => JSX.Element;
File without changes
@@ -0,0 +1,22 @@
1
+ export declare enum ButtonColors {
2
+ ERROR = "error",
3
+ SUCCESS = "success",
4
+ WARNING = "warning",
5
+ PRIMARY = "primary"
6
+ }
7
+ export declare enum ButtonVariants {
8
+ CONTAINED = "contained",
9
+ LIGHT = "light",
10
+ TEXT = "text",
11
+ LINK = "link"
12
+ }
13
+ export declare enum ButtonSizes {
14
+ MEDIUM = "medium",
15
+ LARGE = "large"
16
+ }
17
+ export declare enum ButtonStates {
18
+ DEFAULT = "default",
19
+ ACTIVE = "active",
20
+ FOCUS = "focus",
21
+ HOVER = "hover"
22
+ }
File without changes
@@ -0,0 +1,3 @@
1
+ export * from './ButtonBase';
2
+ export * from './constants';
3
+ export * from './types';
File without changes
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import { Theme } from '../theme';
3
+ import { BaseButtonProps, ButtonColor, ButtonSize, ButtonState, ButtonVariant } from './types';
4
+ declare type StyledButtonBaseThemeProps = {
5
+ customColor?: ButtonColor;
6
+ customVariant?: ButtonVariant;
7
+ size?: ButtonSize;
8
+ theme: Theme;
9
+ };
10
+ export declare const getColor: ({ theme, customVariant, customColor, buttonState, }: StyledButtonBaseThemeProps & {
11
+ buttonState: ButtonState;
12
+ }) => string;
13
+ export declare const getBgColor: ({ customColor, customVariant, buttonState, theme, }: StyledButtonBaseThemeProps & {
14
+ buttonState: ButtonState;
15
+ }) => string;
16
+ export declare const getButtonHeight: ({ size, }: StyledButtonBaseThemeProps) => string;
17
+ export declare const getButtonPadding: ({ size, theme, }: StyledButtonBaseThemeProps) => string;
18
+ export declare const getDisabledBgColor: ({ theme, customVariant, }: StyledButtonBaseThemeProps) => string;
19
+ export declare const StyledButtonBase: import("@emotion/styled").StyledComponent<Pick<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps> & {
20
+ component?: import("react").ElementType<any> | undefined;
21
+ }, string | number | symbol> & import("react").RefAttributes<any> & {
22
+ theme?: Theme | undefined;
23
+ } & Omit<BaseButtonProps, "color" | "variant"> & {
24
+ customColor?: "primary" | "error" | "warning" | "success" | undefined;
25
+ customVariant?: "link" | "light" | "text" | "contained" | undefined;
26
+ }, {}, {}>;
27
+ export {};
File without changes
@@ -0,0 +1,11 @@
1
+ import { ButtonUnstyledProps } from '@mui/base/ButtonUnstyled';
2
+ import { ButtonColors, ButtonSizes, ButtonStates, ButtonVariants } from './constants';
3
+ export declare type ButtonColor = `${ButtonColors}`;
4
+ export declare type ButtonVariant = `${ButtonVariants}`;
5
+ export declare type ButtonSize = `${ButtonSizes}`;
6
+ export declare type ButtonState = `${ButtonStates}`;
7
+ export declare type BaseButtonProps = Omit<ButtonUnstyledProps, 'color' | 'variant' | 'size'> & {
8
+ color?: ButtonColor;
9
+ variant?: ButtonVariant;
10
+ size?: ButtonSize;
11
+ };
File without changes
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { CheckboxProps } from './types';
3
+ export declare const Checkbox: ({ icon, checkedIcon, indeterminateIcon, ...props }: CheckboxProps) => JSX.Element;
File without changes
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ export declare const DefaultIcon: React.FunctionComponent<SvgIconProps>;
4
+ export declare const CheckedIcon: React.FunctionComponent<SvgIconProps>;
5
+ export declare const IndeterminateIcon: React.FunctionComponent<SvgIconProps>;
File without changes
@@ -0,0 +1,2 @@
1
+ export * from './Checkbox';
2
+ export * from './types';
File without changes
@@ -0,0 +1,4 @@
1
+ import { CheckboxProps } from './types';
2
+ export declare const StyledCheckbox: import("@emotion/styled").StyledComponent<import("@mui/material").CheckboxProps & {
3
+ theme?: import("..").Theme | undefined;
4
+ } & CheckboxProps, {}, {}>;
File without changes
@@ -0,0 +1,2 @@
1
+ import { CheckboxProps as MuiCheckboxProps } from '@mui/material';
2
+ export declare type CheckboxProps = Omit<MuiCheckboxProps, 'size' | 'color'>;
File without changes
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CircularProgressProps } from './types';
3
+ export declare const CircularProgress: ({ color, size, ...props }: CircularProgressProps) => JSX.Element;
4
+ export default CircularProgress;
@@ -0,0 +1,8 @@
1
+ export declare enum CircularProgressColors {
2
+ PRIMARY = "primary",
3
+ INVERTED = "inverted"
4
+ }
5
+ export declare enum CircularProgressSizes {
6
+ SMALL = "small",
7
+ MEDIUM = "medium"
8
+ }
File without changes
@@ -0,0 +1,2 @@
1
+ export * from './CircularProgress';
2
+ export * from './types';
File without changes
@@ -0,0 +1,7 @@
1
+ import { Theme } from '../theme';
2
+ import { CircularProgressProps } from './types';
3
+ export declare const StyledCircularProgress: import("@emotion/styled").StyledComponent<import("@mui/material").CircularProgressProps & {
4
+ theme?: Theme | undefined;
5
+ } & Omit<CircularProgressProps, "color" | "size"> & {
6
+ customColor?: "primary" | "inverted" | undefined;
7
+ }, {}, {}>;
File without changes
@@ -0,0 +1,8 @@
1
+ import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
2
+ import { CircularProgressColors, CircularProgressSizes } from './constants';
3
+ export declare type CircularProgressColor = `${CircularProgressColors}`;
4
+ export declare type CircularProgressSize = `${CircularProgressSizes}`;
5
+ export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
6
+ color?: CircularProgressColor;
7
+ size?: CircularProgressSize;
8
+ };
File without changes
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { FormControlLabelProps } from './types';
3
+ export declare const FormControlLabel: ({ ...props }: FormControlLabelProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './FormControlLabel';
2
+ export * from './types';