@astral/ui 0.3.0 → 0.3.1-beta.4

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 (297) 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/cjs/src/CacheProvider/index.js +5 -0
  16. package/{node → cjs}/src/Checkbox/Checkbox.js +0 -0
  17. package/{node → cjs}/src/Checkbox/icons.js +0 -0
  18. package/{node → cjs}/src/Checkbox/index.js +0 -0
  19. package/{node → cjs}/src/Checkbox/styled.js +0 -0
  20. package/{node → cjs}/src/Checkbox/types.js +0 -0
  21. package/{node → cjs}/src/CircularProgress/CircularProgress.js +0 -0
  22. package/{node → cjs}/src/CircularProgress/constants.js +0 -0
  23. package/{node → cjs}/src/CircularProgress/index.js +0 -0
  24. package/{node → cjs}/src/CircularProgress/styled.js +0 -0
  25. package/{node → cjs}/src/CircularProgress/types.js +0 -0
  26. package/{node → cjs}/src/FormControlLabel/FormControlLabel.js +0 -0
  27. package/{node → cjs}/src/FormControlLabel/index.js +0 -0
  28. package/{node → cjs}/src/FormControlLabel/styled.js +0 -0
  29. package/{node → cjs}/src/FormControlLabel/types.js +0 -0
  30. package/{node → cjs}/src/FormHelperText/FormHelperText.js +0 -0
  31. package/{node → cjs}/src/FormHelperText/index.js +0 -0
  32. package/{node → cjs}/src/FormHelperText/styled.js +0 -0
  33. package/{node → cjs}/src/FormHelperText/types.js +0 -0
  34. package/{node → cjs}/src/GlobalStyles/GlobalStyles.js +0 -0
  35. package/{node → cjs}/src/GlobalStyles/index.js +0 -0
  36. package/{node → cjs}/src/Grid/Grid.js +0 -0
  37. package/{node → cjs}/src/Grid/index.js +0 -0
  38. package/{node → cjs}/src/Grid/styled.js +0 -0
  39. package/{node → cjs}/src/Grid/types.js +0 -0
  40. package/{node → cjs}/src/IconButton/IconButton.js +0 -0
  41. package/{node → cjs}/src/IconButton/index.js +0 -0
  42. package/{node → cjs}/src/IconButton/styled.js +0 -0
  43. package/{node → cjs}/src/Menu/Menu.js +0 -0
  44. package/{node → cjs}/src/Menu/index.js +0 -0
  45. package/{node → cjs}/src/MenuItem/MenuItem.js +0 -0
  46. package/{node → cjs}/src/MenuItem/index.js +0 -0
  47. package/{node → cjs}/src/MenuList/MenuList.js +0 -0
  48. package/{node → cjs}/src/MenuList/index.js +0 -0
  49. package/{node → cjs}/src/MenuList/styled.js +0 -0
  50. package/{node → cjs}/src/MenuList/types.js +0 -0
  51. package/{node → cjs}/src/Radio/Icon.js +0 -0
  52. package/{node → cjs}/src/Radio/Radio.js +0 -0
  53. package/{node → cjs}/src/Radio/index.js +0 -0
  54. package/{node → cjs}/src/Radio/styled.js +0 -0
  55. package/{node → cjs}/src/Radio/types.js +0 -0
  56. package/{node → cjs}/src/RadioGroup/RadioGroup.js +0 -0
  57. package/{node → cjs}/src/Tag/Tag.js +0 -0
  58. package/{node → cjs}/src/Tag/constants.js +0 -0
  59. package/{node → cjs}/src/Tag/index.js +0 -0
  60. package/{node → cjs}/src/Tag/styled.js +0 -0
  61. package/{node → cjs}/src/Tag/types.js +0 -0
  62. package/cjs/src/TextArea/TextArea.js +32 -0
  63. package/cjs/src/TextArea/index.js +14 -0
  64. package/{node/src/TextField → cjs/src/TextArea}/types.js +0 -0
  65. package/{node → cjs}/src/TextField/TextField.js +0 -0
  66. package/{node → cjs}/src/TextField/index.js +0 -0
  67. package/{node/src/styles/styled → cjs/src/TextField}/types.js +0 -0
  68. package/{node → cjs}/src/ThemeProvider/ThemeProvider.js +2 -3
  69. package/{node → cjs}/src/ThemeProvider/index.js +0 -0
  70. package/{node → cjs}/src/Typography/Typography.js +0 -0
  71. package/{node → cjs}/src/Typography/index.js +0 -0
  72. package/cjs/src/createCache/index.js +8 -0
  73. package/cjs/src/createEmotionServer/index.js +8 -0
  74. package/{node → cjs}/src/index.js +4 -0
  75. package/{node → cjs}/src/styles/index.js +0 -0
  76. package/{node → cjs}/src/styles/styled/index.js +0 -0
  77. package/{node → cjs}/src/styles/styled/styled.js +0 -0
  78. package/cjs/src/styles/styled/types.js +2 -0
  79. package/{node → cjs}/src/theme/__tests__/BaseTheme.test.js +0 -0
  80. package/{node → cjs}/src/theme/baseTheme.js +0 -0
  81. package/{node → cjs}/src/theme/components/MuiFormHelperText.js +0 -0
  82. package/{node → cjs}/src/theme/components/MuiFormLabel.js +0 -0
  83. package/{node → cjs}/src/theme/components/MuiInputBase.js +0 -0
  84. package/{node → cjs}/src/theme/components/MuiInputLabel.js +0 -0
  85. package/{node → cjs}/src/theme/components/MuiOutlinedInput.js +11 -0
  86. package/{node → cjs}/src/theme/components/MuiTypography.js +0 -0
  87. package/{node → cjs}/src/theme/components/components.js +0 -0
  88. package/{node → cjs}/src/theme/components/index.js +0 -0
  89. package/{node → cjs}/src/theme/constants.js +0 -0
  90. package/{node → cjs}/src/theme/elevation.js +0 -0
  91. package/{node → cjs}/src/theme/hooks/index.js +0 -0
  92. package/{node → cjs}/src/theme/hooks/useTheme/index.js +0 -0
  93. package/{node → cjs}/src/theme/index.js +0 -0
  94. package/{node → cjs}/src/theme/palette/brandPalette.js +0 -0
  95. package/{node → cjs}/src/theme/palette/index.js +0 -0
  96. package/{node → cjs}/src/theme/palette/palette.js +0 -0
  97. package/{node → cjs}/src/theme/shape.js +0 -0
  98. package/{node → cjs}/src/theme/typography.js +0 -0
  99. package/esm/src/CacheProvider/index.js +1 -0
  100. package/esm/src/TextArea/TextArea.js +29 -0
  101. package/esm/src/TextArea/index.js +2 -0
  102. package/esm/src/{theme/__tests__/BaseTheme.test.d.ts → TextArea/types.js} +0 -0
  103. package/esm/src/ThemeProvider/ThemeProvider.js +3 -4
  104. package/esm/src/createCache/index.js +1 -0
  105. package/esm/src/createEmotionServer/index.js +1 -0
  106. package/esm/src/index.js +4 -0
  107. package/esm/src/theme/components/MuiOutlinedInput.js +11 -0
  108. package/package.json +14 -5
  109. package/{esm → types}/index.d.ts +0 -0
  110. package/{esm → types}/src/Badge/Badge.d.ts +0 -0
  111. package/{esm → types}/src/Badge/index.d.ts +0 -0
  112. package/{esm → types}/src/Badge/styled.d.ts +0 -0
  113. package/{esm → types}/src/Badge/types.d.ts +0 -0
  114. package/{esm → types}/src/Button/Button.d.ts +0 -0
  115. package/{esm → types}/src/Button/index.d.ts +0 -0
  116. package/{esm → types}/src/Button/styled.d.ts +0 -0
  117. package/{esm → types}/src/Button/types.d.ts +0 -0
  118. package/{esm → types}/src/ButtonBase/ButtonBase.d.ts +0 -0
  119. package/{esm → types}/src/ButtonBase/constants.d.ts +0 -0
  120. package/{esm → types}/src/ButtonBase/index.d.ts +0 -0
  121. package/{esm → types}/src/ButtonBase/styled.d.ts +0 -0
  122. package/{esm → types}/src/ButtonBase/types.d.ts +0 -0
  123. package/types/src/CacheProvider/index.d.ts +1 -0
  124. package/{esm → types}/src/Checkbox/Checkbox.d.ts +0 -0
  125. package/{esm → types}/src/Checkbox/icons.d.ts +0 -0
  126. package/{esm → types}/src/Checkbox/index.d.ts +0 -0
  127. package/{esm → types}/src/Checkbox/styled.d.ts +0 -0
  128. package/{esm → types}/src/Checkbox/types.d.ts +0 -0
  129. package/{esm → types}/src/CircularProgress/CircularProgress.d.ts +0 -0
  130. package/{esm → types}/src/CircularProgress/constants.d.ts +0 -0
  131. package/{esm → types}/src/CircularProgress/index.d.ts +0 -0
  132. package/{esm → types}/src/CircularProgress/styled.d.ts +0 -0
  133. package/{esm → types}/src/CircularProgress/types.d.ts +0 -0
  134. package/{esm → types}/src/FormControlLabel/FormControlLabel.d.ts +0 -0
  135. package/{esm → types}/src/FormControlLabel/index.d.ts +0 -0
  136. package/{esm → types}/src/FormControlLabel/styled.d.ts +0 -0
  137. package/{esm → types}/src/FormControlLabel/types.d.ts +0 -0
  138. package/{esm → types}/src/FormHelperText/FormHelperText.d.ts +0 -0
  139. package/{esm → types}/src/FormHelperText/index.d.ts +0 -0
  140. package/{esm → types}/src/FormHelperText/styled.d.ts +0 -0
  141. package/{esm → types}/src/FormHelperText/types.d.ts +0 -0
  142. package/{esm → types}/src/GlobalStyles/GlobalStyles.d.ts +0 -0
  143. package/{esm → types}/src/GlobalStyles/index.d.ts +0 -0
  144. package/{esm → types}/src/Grid/Grid.d.ts +0 -0
  145. package/{esm → types}/src/Grid/index.d.ts +0 -0
  146. package/{esm → types}/src/Grid/styled.d.ts +0 -0
  147. package/{esm → types}/src/Grid/types.d.ts +0 -0
  148. package/{esm → types}/src/IconButton/IconButton.d.ts +0 -0
  149. package/{esm → types}/src/IconButton/index.d.ts +0 -0
  150. package/{esm → types}/src/IconButton/styled.d.ts +0 -0
  151. package/{esm → types}/src/Menu/Menu.d.ts +0 -0
  152. package/{esm → types}/src/Menu/index.d.ts +0 -0
  153. package/{esm → types}/src/MenuItem/MenuItem.d.ts +0 -0
  154. package/{esm → types}/src/MenuItem/index.d.ts +0 -0
  155. package/{esm → types}/src/MenuList/MenuList.d.ts +0 -0
  156. package/{esm → types}/src/MenuList/index.d.ts +0 -0
  157. package/{esm → types}/src/MenuList/styled.d.ts +0 -0
  158. package/{esm → types}/src/MenuList/types.d.ts +0 -0
  159. package/{esm → types}/src/Radio/Icon.d.ts +0 -0
  160. package/{esm → types}/src/Radio/Radio.d.ts +0 -0
  161. package/{esm → types}/src/Radio/index.d.ts +0 -0
  162. package/{esm → types}/src/Radio/styled.d.ts +0 -0
  163. package/{esm → types}/src/Radio/types.d.ts +0 -0
  164. package/{esm → types}/src/RadioGroup/RadioGroup.d.ts +0 -0
  165. package/{esm → types}/src/Tag/Tag.d.ts +0 -0
  166. package/{esm → types}/src/Tag/constants.d.ts +0 -0
  167. package/{esm → types}/src/Tag/index.d.ts +0 -0
  168. package/{esm → types}/src/Tag/styled.d.ts +0 -0
  169. package/{esm → types}/src/Tag/types.d.ts +0 -0
  170. package/types/src/TextArea/TextArea.d.ts +3 -0
  171. package/types/src/TextArea/index.d.ts +2 -0
  172. package/types/src/TextArea/types.d.ts +2 -0
  173. package/{esm → types}/src/TextField/TextField.d.ts +0 -0
  174. package/{esm → types}/src/TextField/index.d.ts +0 -0
  175. package/{esm → types}/src/TextField/types.d.ts +0 -0
  176. package/{esm → types}/src/ThemeProvider/ThemeProvider.d.ts +0 -0
  177. package/{esm → types}/src/ThemeProvider/index.d.ts +0 -0
  178. package/{esm → types}/src/Typography/Typography.d.ts +0 -0
  179. package/{esm → types}/src/Typography/index.d.ts +0 -0
  180. package/types/src/createCache/index.d.ts +2 -0
  181. package/types/src/createEmotionServer/index.d.ts +1 -0
  182. package/{esm → types}/src/index.d.ts +4 -0
  183. package/{esm → types}/src/styles/index.d.ts +0 -0
  184. package/{esm → types}/src/styles/styled/index.d.ts +0 -0
  185. package/{esm → types}/src/styles/styled/styled.d.ts +0 -0
  186. package/{esm → types}/src/styles/styled/types.d.ts +0 -0
  187. package/{node → types}/src/theme/__tests__/BaseTheme.test.d.ts +0 -0
  188. package/{esm → types}/src/theme/baseTheme.d.ts +0 -0
  189. package/{esm → types}/src/theme/components/MuiFormHelperText.d.ts +0 -0
  190. package/{esm → types}/src/theme/components/MuiFormLabel.d.ts +0 -0
  191. package/{esm → types}/src/theme/components/MuiInputBase.d.ts +0 -0
  192. package/{esm → types}/src/theme/components/MuiInputLabel.d.ts +0 -0
  193. package/{esm → types}/src/theme/components/MuiOutlinedInput.d.ts +0 -0
  194. package/{esm → types}/src/theme/components/MuiTypography.d.ts +0 -0
  195. package/{esm → types}/src/theme/components/components.d.ts +0 -0
  196. package/{esm → types}/src/theme/components/index.d.ts +0 -0
  197. package/{esm → types}/src/theme/constants.d.ts +0 -0
  198. package/{esm → types}/src/theme/elevation.d.ts +0 -0
  199. package/{esm → types}/src/theme/hooks/index.d.ts +0 -0
  200. package/{esm → types}/src/theme/hooks/useTheme/index.d.ts +0 -0
  201. package/{esm → types}/src/theme/index.d.ts +0 -0
  202. package/{esm → types}/src/theme/palette/brandPalette.d.ts +0 -0
  203. package/{esm → types}/src/theme/palette/index.d.ts +0 -0
  204. package/{esm → types}/src/theme/palette/palette.d.ts +0 -0
  205. package/{esm → types}/src/theme/shape.d.ts +0 -0
  206. package/{esm → types}/src/theme/typography.d.ts +0 -0
  207. package/node/index.d.ts +0 -1
  208. package/node/src/Badge/Badge.d.ts +0 -4
  209. package/node/src/Badge/index.d.ts +0 -2
  210. package/node/src/Badge/styled.d.ts +0 -50
  211. package/node/src/Badge/types.d.ts +0 -5
  212. package/node/src/Button/Button.d.ts +0 -3
  213. package/node/src/Button/index.d.ts +0 -2
  214. package/node/src/Button/styled.d.ts +0 -13
  215. package/node/src/Button/types.d.ts +0 -7
  216. package/node/src/ButtonBase/ButtonBase.d.ts +0 -3
  217. package/node/src/ButtonBase/constants.d.ts +0 -22
  218. package/node/src/ButtonBase/index.d.ts +0 -3
  219. package/node/src/ButtonBase/styled.d.ts +0 -27
  220. package/node/src/ButtonBase/types.d.ts +0 -11
  221. package/node/src/Checkbox/Checkbox.d.ts +0 -3
  222. package/node/src/Checkbox/icons.d.ts +0 -5
  223. package/node/src/Checkbox/index.d.ts +0 -2
  224. package/node/src/Checkbox/styled.d.ts +0 -4
  225. package/node/src/Checkbox/types.d.ts +0 -2
  226. package/node/src/CircularProgress/CircularProgress.d.ts +0 -4
  227. package/node/src/CircularProgress/constants.d.ts +0 -8
  228. package/node/src/CircularProgress/index.d.ts +0 -2
  229. package/node/src/CircularProgress/styled.d.ts +0 -7
  230. package/node/src/CircularProgress/types.d.ts +0 -8
  231. package/node/src/FormControlLabel/FormControlLabel.d.ts +0 -3
  232. package/node/src/FormControlLabel/index.d.ts +0 -2
  233. package/node/src/FormControlLabel/styled.d.ts +0 -3
  234. package/node/src/FormControlLabel/types.d.ts +0 -2
  235. package/node/src/FormHelperText/FormHelperText.d.ts +0 -4
  236. package/node/src/FormHelperText/index.d.ts +0 -1
  237. package/node/src/FormHelperText/styled.d.ts +0 -41
  238. package/node/src/FormHelperText/types.d.ts +0 -6
  239. package/node/src/GlobalStyles/GlobalStyles.d.ts +0 -3
  240. package/node/src/GlobalStyles/index.d.ts +0 -1
  241. package/node/src/Grid/Grid.d.ts +0 -3
  242. package/node/src/Grid/index.d.ts +0 -2
  243. package/node/src/Grid/styled.d.ts +0 -13
  244. package/node/src/Grid/types.d.ts +0 -30
  245. package/node/src/IconButton/IconButton.d.ts +0 -3
  246. package/node/src/IconButton/index.d.ts +0 -1
  247. package/node/src/IconButton/styled.d.ts +0 -19
  248. package/node/src/Menu/Menu.d.ts +0 -3
  249. package/node/src/Menu/index.d.ts +0 -1
  250. package/node/src/MenuItem/MenuItem.d.ts +0 -3
  251. package/node/src/MenuItem/index.d.ts +0 -1
  252. package/node/src/MenuList/MenuList.d.ts +0 -3
  253. package/node/src/MenuList/index.d.ts +0 -2
  254. package/node/src/MenuList/styled.d.ts +0 -20
  255. package/node/src/MenuList/types.d.ts +0 -2
  256. package/node/src/Radio/Icon.d.ts +0 -3
  257. package/node/src/Radio/Radio.d.ts +0 -4
  258. package/node/src/Radio/index.d.ts +0 -2
  259. package/node/src/Radio/styled.d.ts +0 -4
  260. package/node/src/Radio/types.d.ts +0 -2
  261. package/node/src/RadioGroup/RadioGroup.d.ts +0 -2
  262. package/node/src/Tag/Tag.d.ts +0 -3
  263. package/node/src/Tag/constants.d.ts +0 -21
  264. package/node/src/Tag/index.d.ts +0 -2
  265. package/node/src/Tag/styled.d.ts +0 -26
  266. package/node/src/Tag/types.d.ts +0 -12
  267. package/node/src/TextField/TextField.d.ts +0 -4
  268. package/node/src/TextField/index.d.ts +0 -2
  269. package/node/src/TextField/types.d.ts +0 -6
  270. package/node/src/ThemeProvider/ThemeProvider.d.ts +0 -7
  271. package/node/src/ThemeProvider/index.d.ts +0 -1
  272. package/node/src/Typography/Typography.d.ts +0 -8
  273. package/node/src/Typography/index.d.ts +0 -1
  274. package/node/src/index.d.ts +0 -18
  275. package/node/src/styles/index.d.ts +0 -1
  276. package/node/src/styles/styled/index.d.ts +0 -1
  277. package/node/src/styles/styled/styled.d.ts +0 -2
  278. package/node/src/styles/styled/types.d.ts +0 -48
  279. package/node/src/theme/baseTheme.d.ts +0 -28
  280. package/node/src/theme/components/MuiFormHelperText.d.ts +0 -4
  281. package/node/src/theme/components/MuiFormLabel.d.ts +0 -4
  282. package/node/src/theme/components/MuiInputBase.d.ts +0 -4
  283. package/node/src/theme/components/MuiInputLabel.d.ts +0 -4
  284. package/node/src/theme/components/MuiOutlinedInput.d.ts +0 -4
  285. package/node/src/theme/components/MuiTypography.d.ts +0 -21
  286. package/node/src/theme/components/components.d.ts +0 -21
  287. package/node/src/theme/components/index.d.ts +0 -1
  288. package/node/src/theme/constants.d.ts +0 -9
  289. package/node/src/theme/elevation.d.ts +0 -8
  290. package/node/src/theme/hooks/index.d.ts +0 -1
  291. package/node/src/theme/hooks/useTheme/index.d.ts +0 -2
  292. package/node/src/theme/index.d.ts +0 -6
  293. package/node/src/theme/palette/brandPalette.d.ts +0 -15
  294. package/node/src/theme/palette/index.d.ts +0 -2
  295. package/node/src/theme/palette/palette.d.ts +0 -29
  296. package/node/src/theme/shape.d.ts +0 -6
  297. package/node/src/theme/typography.d.ts +0 -19
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { Breakpoint } from '@mui/material/styles';
3
- declare type StyleCSSType<Type extends keyof React.CSSProperties> = React.CSSProperties[Type] | Partial<Record<Breakpoint, React.CSSProperties[Type]>>;
4
- export declare type GridContainerProps = {
5
- container?: boolean;
6
- templateColumns?: StyleCSSType<'gridTemplateColumns'>;
7
- templateRows?: StyleCSSType<'gridTemplateRows'>;
8
- templateAreas?: StyleCSSType<'gridTemplateAreas'>;
9
- columnSpacing?: StyleCSSType<'gridColumnGap'>;
10
- rowSpacing?: StyleCSSType<'gridRowGap'>;
11
- spacing?: StyleCSSType<'gridGap'>;
12
- justifyItems?: StyleCSSType<'justifyItems'>;
13
- alignItems?: StyleCSSType<'alignItems'>;
14
- justifyContent?: StyleCSSType<'justifyContent'>;
15
- alignContent?: StyleCSSType<'alignContent'>;
16
- autoColumns?: StyleCSSType<'gridAutoColumns'>;
17
- autoRows?: StyleCSSType<'gridAutoRows'>;
18
- autoFlow?: StyleCSSType<'gridAutoFlow'>;
19
- };
20
- export declare type GridElementsProps = {
21
- column?: StyleCSSType<'gridColumn'>;
22
- row?: StyleCSSType<'gridRow'>;
23
- area?: StyleCSSType<'gridArea'>;
24
- justifySelf?: StyleCSSType<'justifySelf'>;
25
- alignSelf?: StyleCSSType<'alignSelf'>;
26
- };
27
- export declare type GridProps = GridContainerProps & GridElementsProps & {
28
- children?: React.ReactNode;
29
- };
30
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseButtonProps } from '../ButtonBase';
3
- export declare const IconButton: ({ children, ...props }: BaseButtonProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './IconButton';
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- import { Theme } from '../theme';
3
- import { ButtonProps } from '../Button';
4
- declare type StyledIconButtonThemeProps = ButtonProps & {
5
- theme: Theme;
6
- };
7
- export declare const getButtonHeight: ({ size, }: StyledIconButtonThemeProps) => string;
8
- export declare const StyledIconButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "color" | "variant" | "size"> & {
9
- color?: "primary" | "error" | "warning" | "success" | undefined;
10
- variant?: "link" | "light" | "text" | "contained" | undefined;
11
- size?: "large" | "medium" | undefined;
12
- } & {
13
- theme?: Theme | undefined;
14
- } & {
15
- loading?: boolean | undefined;
16
- startIcon?: import("react").ReactNode;
17
- endIcon?: import("react").ReactNode;
18
- }, {}, {}>;
19
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { MenuProps } from '@mui/material';
3
- export declare const Menu: ({ children, ...props }: MenuProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Menu';
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { MenuItemProps } from '@mui/material';
3
- export declare const MenuItem: ({ children, ...props }: MenuItemProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './MenuItem';
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { MenuListProps } from './types';
3
- export declare const MenuList: ({ children, ...props }: MenuListProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './MenuList';
2
- export * from './types';
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledMenuList: import("@emotion/styled").StyledComponent<{
3
- autoFocus?: boolean | undefined;
4
- autoFocusItem?: boolean | undefined;
5
- children?: import("react").ReactNode;
6
- disabledItemsFocusable?: boolean | undefined;
7
- disableListWrap?: boolean | undefined;
8
- variant?: "menu" | "selectedMenu" | undefined;
9
- } & {
10
- children?: import("react").ReactNode;
11
- classes?: Partial<import("@mui/material").ListClasses> | undefined;
12
- dense?: boolean | undefined;
13
- disablePadding?: boolean | undefined;
14
- subheader?: import("react").ReactNode;
15
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
16
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
17
- ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
18
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "autoFocus" | "dense" | "subheader" | "disablePadding" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap"> & {
19
- theme?: import("..").Theme | undefined;
20
- }, {}, {}>;
@@ -1,2 +0,0 @@
1
- import { MenuListProps as MuiMenuListProps } from '@mui/material/MenuList';
2
- export declare type MenuListProps = MuiMenuListProps;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare const DefaultIcon: React.VFC;
3
- export declare const CheckedCircleIcon: React.VFC;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { RadioProps } from './types';
3
- export declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "disabled" | "translate" | "action" | "required" | "classes" | "className" | "style" | "form" | "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" | "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" | "key" | "autoFocus" | "inputProps" | "inputRef" | "name" | "readOnly" | "value" | "checkedIcon" | "icon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "disableFocusRipple" | "edge"> & React.RefAttributes<HTMLButtonElement>>;
4
- export default Radio;
@@ -1,2 +0,0 @@
1
- export * from './Radio';
2
- export * from './types';
@@ -1,4 +0,0 @@
1
- import { RadioProps } from './types';
2
- export declare const StyledRadio: import("@emotion/styled").StyledComponent<import("@mui/material").RadioProps & {
3
- theme?: import("..").Theme | undefined;
4
- } & RadioProps, {}, {}>;
@@ -1,2 +0,0 @@
1
- import { RadioProps as MuiRadioProps } from '@mui/material';
2
- export declare type RadioProps = Omit<MuiRadioProps, 'size' | 'color'>;
@@ -1,2 +0,0 @@
1
- import { RadioGroup } from '@mui/material';
2
- export default RadioGroup;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { TagProps } from './types';
3
- export declare const Tag: ({ color, variant, ...props }: TagProps) => JSX.Element;
@@ -1,21 +0,0 @@
1
- export declare enum TagColors {
2
- DEFAULT = "default",
3
- PRIMARY = "primary",
4
- ERROR = "error",
5
- GREY = "grey",
6
- SUCCESS = "success",
7
- WARNING = "warning"
8
- }
9
- export declare enum TagVariants {
10
- CONTAINED = "contained",
11
- LIGHT = "light"
12
- }
13
- export declare enum TagSizes {
14
- MEDIUM = "medium",
15
- SMALL = "small"
16
- }
17
- export declare enum TagStates {
18
- DEFAULT = "default",
19
- HOVER = "hover",
20
- ACTIVE = "active"
21
- }
@@ -1,2 +0,0 @@
1
- export * from './Tag';
2
- export * from './types';
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- import { Theme } from '../theme';
3
- import { TagProps } from './types';
4
- export declare const StyledTag: import("@emotion/styled").StyledComponent<{
5
- avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
6
- children?: null | undefined;
7
- classes?: Partial<import("@mui/material").ChipClasses> | undefined;
8
- clickable?: boolean | undefined;
9
- color?: "primary" | "secondary" | "default" | "error" | "warning" | "info" | "success" | undefined;
10
- deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
11
- disabled?: boolean | undefined;
12
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
13
- label?: import("react").ReactNode;
14
- onDelete?: ((event: any) => void) | undefined;
15
- size?: "medium" | "small" | undefined;
16
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
17
- variant?: "filled" | "outlined" | undefined;
18
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
19
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
- }, "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "label" | "variant" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & {
21
- theme?: Theme | undefined;
22
- } & Omit<TagProps, "color"> & {
23
- customColor?: "primary" | "default" | "error" | "grey" | "warning" | "success" | undefined;
24
- customVariant?: "light" | "contained" | undefined;
25
- rounded?: boolean | undefined;
26
- }, {}, {}>;
@@ -1,12 +0,0 @@
1
- import { ChipProps as MuiTagProps } from '@mui/material/Chip/Chip';
2
- import { TagColors, TagSizes, TagStates, TagVariants } from './constants';
3
- export declare type TagColor = `${TagColors}`;
4
- export declare type TagVariant = `${TagVariants}`;
5
- export declare type TagSize = `${TagSizes}`;
6
- export declare type TagState = `${TagStates}`;
7
- export declare type TagProps = Omit<MuiTagProps, 'color' | 'variant'> & {
8
- color?: TagColor;
9
- variant?: TagVariant;
10
- size?: TagSize;
11
- rounded?: boolean;
12
- };
@@ -1,4 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export * from './TextField';
2
- export * from './types';
@@ -1,6 +0,0 @@
1
- import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
2
- export declare type TextFieldProps = Omit<MuiTextFieldProps, 'variant' | 'color'> & {
3
- variant?: never;
4
- color?: never;
5
- success?: boolean;
6
- };
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { Theme } from '../theme';
3
- declare type Props = {
4
- theme: Theme;
5
- };
6
- export declare const ThemeProvider: FC<Props>;
7
- export {};
@@ -1 +0,0 @@
1
- export * from './ThemeProvider';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { TypographyProps as MuiTypographyProps } from '@mui/material/Typography';
3
- import { Variant } from '@mui/material/styles/createTypography';
4
- export declare type TypographyProps = Omit<MuiTypographyProps, 'variant'> & {
5
- variant?: Variant | 'h7' | 'h8' | 'h9' | 'ui' | 'link' | 'pointer' | 'small' | 'code';
6
- };
7
- export declare const Typography: ({ variant, children, ...props }: TypographyProps) => JSX.Element;
8
- export default Typography;
@@ -1 +0,0 @@
1
- export * from './Typography';
@@ -1,18 +0,0 @@
1
- export * from './Button';
2
- export * from './ButtonBase';
3
- export * from './IconButton';
4
- export * from './Badge';
5
- export * from './Checkbox';
6
- export * from './FormControlLabel';
7
- export * from './Typography';
8
- export * from './Menu';
9
- export * from './MenuItem';
10
- export * from './MenuList';
11
- export * from './theme';
12
- export * from './styles';
13
- export * from './ThemeProvider';
14
- export * from './GlobalStyles';
15
- export * from './TextField';
16
- export * from './FormHelperText';
17
- export * from './Grid';
18
- export * from './Tag';
@@ -1 +0,0 @@
1
- export * from './styled';
@@ -1 +0,0 @@
1
- export * from './styled';
@@ -1,2 +0,0 @@
1
- import { CreateStyled } from './types';
2
- export declare const styled: CreateStyled;
@@ -1,48 +0,0 @@
1
- import * as React from 'react';
2
- import { PropsOf } from '@emotion/react';
3
- import { CreateStyledComponent, FilteringStyledOptions, StyledOptions } from '@emotion/styled/base';
4
- import { Theme } from '../../theme';
5
- /**
6
- * @desc
7
- * This function accepts a React component or tag ('div', 'a' etc).
8
- *
9
- * @example styled(MyComponent)({ width: 100 })
10
- * @example styled(MyComponent)(myComponentProps => ({ width: myComponentProps.width })
11
- * @example styled('div')({ width: 100 })
12
- * @example styled('div')<Props>(props => ({ width: props.width })
13
- */
14
- interface BaseCreateStyled {
15
- <C extends React.ComponentClass<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps>): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
16
- theme?: Theme;
17
- }, {}, {
18
- ref?: React.Ref<InstanceType<C>>;
19
- }>;
20
- <C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledOptions<React.ComponentProps<C>>): CreateStyledComponent<PropsOf<C> & {
21
- theme?: Theme;
22
- }, {}, {
23
- ref?: React.Ref<InstanceType<C>>;
24
- }>;
25
- <C extends React.ComponentType<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps>): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
26
- theme?: Theme;
27
- }>;
28
- <C extends React.ComponentType<React.ComponentProps<C>>>(component: C, options?: StyledOptions<React.ComponentProps<C>>): CreateStyledComponent<PropsOf<C> & {
29
- theme?: Theme;
30
- }>;
31
- <Tag extends keyof JSX.IntrinsicElements, ForwardedProps extends keyof JSX.IntrinsicElements[Tag] = keyof JSX.IntrinsicElements[Tag]>(tag: Tag, options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps>): CreateStyledComponent<{
32
- theme?: Theme;
33
- as?: React.ElementType;
34
- }, Pick<JSX.IntrinsicElements[Tag], ForwardedProps>>;
35
- <Tag extends keyof JSX.IntrinsicElements>(tag: Tag, options?: StyledOptions<JSX.IntrinsicElements[Tag]>): CreateStyledComponent<{
36
- theme?: Theme;
37
- as?: React.ElementType;
38
- }, JSX.IntrinsicElements[Tag]>;
39
- }
40
- declare type StyledTags = {
41
- [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<{
42
- theme?: Theme;
43
- as?: React.ElementType;
44
- }, JSX.IntrinsicElements[Tag]>;
45
- };
46
- export interface CreateStyled extends BaseCreateStyled, StyledTags {
47
- }
48
- export {};
@@ -1,28 +0,0 @@
1
- import { Palette as MuiPalette, Theme as MuiTheme, PaletteColor, ThemeOptions } from '@mui/material/styles';
2
- import { TypographyThemeOptions } from './typography';
3
- import { Background, Color } from './palette';
4
- import { FontsUrls } from './components';
5
- import { Brand } from './constants';
6
- import { Elevation } from './elevation';
7
- import { Shape } from './shape';
8
- export declare type Palette = Omit<MuiPalette, 'grey' | 'background'> & {
9
- red: Color;
10
- green: Color;
11
- yellow: Color;
12
- grey: Color;
13
- primary: PaletteColor & Color;
14
- background: Background;
15
- };
16
- export declare type Theme = Omit<MuiTheme, 'shadows' | 'palette' | 'shape' | 'typography'> & {
17
- elevation: Elevation;
18
- palette: Palette;
19
- shape: Shape;
20
- typography: TypographyThemeOptions;
21
- };
22
- declare type CreateThemeParams = {
23
- brand: Brand;
24
- options?: ThemeOptions;
25
- fontsUrls: FontsUrls;
26
- };
27
- export declare const createTheme: (params: CreateThemeParams) => Theme;
28
- export {};
@@ -1,4 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import type { Theme } from '../baseTheme';
3
- export declare const MuiFormHelperText: Components<Theme>['MuiFormHelperText'];
4
- export default MuiFormHelperText;
@@ -1,4 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import type { Theme } from '../baseTheme';
3
- export declare const MuiFormLabel: Components<Theme>['MuiFormLabel'];
4
- export default MuiFormLabel;
@@ -1,4 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import type { Theme } from '../baseTheme';
3
- export declare const MuiInputBase: Components<Theme>['MuiInputBase'];
4
- export default MuiInputBase;
@@ -1,4 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import type { Theme } from '../baseTheme';
3
- export declare const MuiInputLabel: Components<Theme>['MuiInputLabel'];
4
- export default MuiInputLabel;
@@ -1,4 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import type { Theme } from '../baseTheme';
3
- export declare const MuiOutlinedInput: Components<Theme>['MuiOutlinedInput'];
4
- export default MuiOutlinedInput;
@@ -1,21 +0,0 @@
1
- import { Components } from '@mui/material';
2
- export declare type FontsUrls = {
3
- bold: {
4
- woff: string;
5
- woff2: string;
6
- };
7
- light: {
8
- woff: string;
9
- woff2: string;
10
- };
11
- medium: {
12
- woff: string;
13
- woff2: string;
14
- };
15
- regular: {
16
- woff: string;
17
- woff2: string;
18
- };
19
- };
20
- export declare const MuiTypography: Components['MuiTypography'];
21
- export default MuiTypography;
@@ -1,21 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import type { Theme } from '../baseTheme';
3
- export declare type FontsUrls = {
4
- bold: {
5
- woff: string;
6
- woff2: string;
7
- };
8
- light: {
9
- woff: string;
10
- woff2: string;
11
- };
12
- medium: {
13
- woff: string;
14
- woff2: string;
15
- };
16
- regular: {
17
- woff: string;
18
- woff2: string;
19
- };
20
- };
21
- export declare const getComponents: (fontUrls: FontsUrls) => Components<Theme>;
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,9 +0,0 @@
1
- export declare enum Brand {
2
- DEFAULT = "DEFAULT",
3
- EDO = "EDO",
4
- AO5 = "AO5",
5
- OFD = "OFD",
6
- SIGN = "SIGN",
7
- LKP = "LKP"
8
- }
9
- export declare const SPACING = 4;
@@ -1,8 +0,0 @@
1
- export declare type Elevation = {
2
- 100: string;
3
- 200: string;
4
- 300: string;
5
- 400: string;
6
- 500: string;
7
- };
8
- export declare const elevation: Elevation;
@@ -1 +0,0 @@
1
- export * from './useTheme';
@@ -1,2 +0,0 @@
1
- import { Theme } from '../../baseTheme';
2
- export declare const useTheme: () => Theme;
@@ -1,6 +0,0 @@
1
- export * from './baseTheme';
2
- export * from './palette';
3
- export * from './constants';
4
- export * from './elevation';
5
- export * from './shape';
6
- export * from './hooks';
@@ -1,15 +0,0 @@
1
- import { Brand } from '../constants';
2
- declare type BrandColors = {
3
- secondary: string;
4
- 900: string;
5
- 800: string;
6
- 700: string;
7
- 600: string;
8
- 500: string;
9
- 400: string;
10
- 300: string;
11
- 200: string;
12
- 100: string;
13
- };
14
- export declare const brandPalette: Record<Brand, BrandColors>;
15
- export {};
@@ -1,2 +0,0 @@
1
- export * from './brandPalette';
2
- export * from './palette';
@@ -1,29 +0,0 @@
1
- import { PaletteOptions as MuiPaletteOptions, PaletteColorOptions } from '@mui/material';
2
- import { TypeBackground } from '@mui/material/styles/createPalette';
3
- import { Brand } from '../constants';
4
- export declare type Color = {
5
- 900: string;
6
- 800: string;
7
- 700: string;
8
- 600: string;
9
- 500: string;
10
- 400: string;
11
- 300: string;
12
- 200: string;
13
- 100: string;
14
- };
15
- export declare type PrimaryColorOptions = PaletteColorOptions & Color;
16
- export declare type Background = TypeBackground & {
17
- element: string;
18
- elementHover: string;
19
- };
20
- declare type PaletteOptions = MuiPaletteOptions & {
21
- red: Color;
22
- green: Color;
23
- yellow: Color;
24
- grey: Color;
25
- primary: PrimaryColorOptions;
26
- background: Background;
27
- };
28
- export declare const getPalette: (brand?: Brand) => PaletteOptions;
29
- export {};
@@ -1,6 +0,0 @@
1
- export declare type Shape = {
2
- small: string;
3
- medium: string;
4
- large: string;
5
- };
6
- export declare const shape: Shape;
@@ -1,19 +0,0 @@
1
- import { Typography } from '@mui/material/styles/createTypography';
2
- import { CSSProperties } from 'react';
3
- declare type CustomTypographyVariantStyle = {
4
- fontSize: CSSProperties['fontSize'];
5
- fontWeight: CSSProperties['fontWeight'];
6
- };
7
- export declare type TypographyThemeOptions = Typography & {
8
- h7: CustomTypographyVariantStyle;
9
- h8: CustomTypographyVariantStyle;
10
- h9: CustomTypographyVariantStyle;
11
- ui: CustomTypographyVariantStyle;
12
- link: CustomTypographyVariantStyle;
13
- pointer: CustomTypographyVariantStyle;
14
- small: CustomTypographyVariantStyle;
15
- code: CustomTypographyVariantStyle;
16
- };
17
- export declare const pxToRem: (fontSize: number, htmlFontSize?: number) => string;
18
- export declare const typography: Partial<TypographyThemeOptions>;
19
- export {};