@astral/ui 0.4.1-alpha.0 → 0.4.1-alpha.3

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 (235) hide show
  1. package/cjs/index.d.ts +1 -0
  2. package/cjs/src/Badge/Badge.d.ts +4 -0
  3. package/cjs/src/Badge/index.d.ts +2 -0
  4. package/cjs/src/Badge/styled.d.ts +49 -0
  5. package/cjs/src/Badge/types.d.ts +5 -0
  6. package/cjs/src/Button/Button.d.ts +3 -0
  7. package/cjs/src/Button/index.d.ts +2 -0
  8. package/cjs/src/Button/styled.d.ts +12 -0
  9. package/cjs/src/Button/types.d.ts +7 -0
  10. package/cjs/src/ButtonBase/ButtonBase.d.ts +3 -0
  11. package/cjs/src/ButtonBase/constants.d.ts +22 -0
  12. package/cjs/src/ButtonBase/index.d.ts +3 -0
  13. package/cjs/src/ButtonBase/styled.d.ts +27 -0
  14. package/cjs/src/ButtonBase/types.d.ts +11 -0
  15. package/cjs/src/Checkbox/Checkbox.d.ts +3 -0
  16. package/cjs/src/Checkbox/icons.d.ts +5 -0
  17. package/cjs/src/Checkbox/index.d.ts +2 -0
  18. package/cjs/src/Checkbox/styled.d.ts +4 -0
  19. package/cjs/src/Checkbox/types.d.ts +2 -0
  20. package/cjs/src/CircularProgress/CircularProgress.d.ts +4 -0
  21. package/cjs/src/CircularProgress/constants.d.ts +8 -0
  22. package/cjs/src/CircularProgress/index.d.ts +2 -0
  23. package/cjs/src/CircularProgress/styled.d.ts +6 -0
  24. package/cjs/src/CircularProgress/types.d.ts +8 -0
  25. package/cjs/src/DashboardLayout/DashboardLayout.d.ts +15 -0
  26. package/cjs/src/DashboardLayout/Header/Header.d.ts +4 -0
  27. package/cjs/src/DashboardLayout/Header/index.d.ts +2 -0
  28. package/cjs/src/DashboardLayout/Header/styled.d.ts +23 -0
  29. package/cjs/src/DashboardLayout/Header/types.d.ts +10 -0
  30. package/cjs/src/DashboardLayout/Main/Main.d.ts +6 -0
  31. package/cjs/src/DashboardLayout/Main/index.d.ts +1 -0
  32. package/cjs/src/DashboardLayout/Main/styled.d.ts +5 -0
  33. package/cjs/src/DashboardLayout/SideBar/SideBar.d.ts +6 -0
  34. package/cjs/src/DashboardLayout/SideBar/index.d.ts +1 -0
  35. package/cjs/src/DashboardLayout/SideBar/styled.d.ts +3 -0
  36. package/cjs/src/DashboardLayout/index.d.ts +1 -0
  37. package/cjs/src/DashboardLayout/styled.d.ts +6 -0
  38. package/cjs/src/FormControlLabel/FormControlLabel.d.ts +3 -0
  39. package/cjs/src/FormControlLabel/index.d.ts +2 -0
  40. package/cjs/src/FormControlLabel/styled.d.ts +3 -0
  41. package/cjs/src/FormControlLabel/types.d.ts +2 -0
  42. package/cjs/src/FormHelperText/FormHelperText.d.ts +4 -0
  43. package/cjs/src/FormHelperText/index.d.ts +1 -0
  44. package/cjs/src/FormHelperText/styled.d.ts +41 -0
  45. package/cjs/src/FormHelperText/types.d.ts +6 -0
  46. package/cjs/src/GlobalStyles/GlobalStyles.d.ts +3 -0
  47. package/cjs/src/GlobalStyles/index.d.ts +1 -0
  48. package/cjs/src/Grid/Grid.d.ts +3 -0
  49. package/cjs/src/Grid/index.d.ts +2 -0
  50. package/cjs/src/Grid/styled.d.ts +13 -0
  51. package/cjs/src/Grid/types.d.ts +30 -0
  52. package/cjs/src/IconButton/IconButton.d.ts +3 -0
  53. package/cjs/src/IconButton/index.d.ts +1 -0
  54. package/cjs/src/IconButton/styled.d.ts +19 -0
  55. package/cjs/src/Menu/Menu.d.ts +3 -0
  56. package/cjs/src/Menu/index.d.ts +1 -0
  57. package/cjs/src/MenuItem/MenuItem.d.ts +3 -0
  58. package/cjs/src/MenuItem/index.d.ts +1 -0
  59. package/cjs/src/MenuList/MenuList.d.ts +3 -0
  60. package/cjs/src/MenuList/index.d.ts +2 -0
  61. package/cjs/src/MenuList/styled.d.ts +20 -0
  62. package/cjs/src/MenuList/types.d.ts +2 -0
  63. package/cjs/src/Radio/Icon.d.ts +3 -0
  64. package/cjs/src/Radio/Radio.d.ts +4 -0
  65. package/cjs/src/Radio/index.d.ts +2 -0
  66. package/cjs/src/Radio/styled.d.ts +4 -0
  67. package/cjs/src/Radio/types.d.ts +2 -0
  68. package/cjs/src/RadioGroup/RadioGroup.d.ts +2 -0
  69. package/cjs/src/StylesCacheProvider/index.d.ts +1 -0
  70. package/cjs/src/Tag/Tag.d.ts +3 -0
  71. package/cjs/src/Tag/constants.d.ts +21 -0
  72. package/cjs/src/Tag/index.d.ts +2 -0
  73. package/cjs/src/Tag/styled.d.ts +25 -0
  74. package/cjs/src/Tag/types.d.ts +12 -0
  75. package/cjs/src/TextArea/TextArea.d.ts +3 -0
  76. package/cjs/src/TextArea/index.d.ts +2 -0
  77. package/cjs/src/TextArea/types.d.ts +2 -0
  78. package/cjs/src/TextField/TextField.d.ts +4 -0
  79. package/cjs/src/TextField/index.d.ts +2 -0
  80. package/cjs/src/TextField/types.d.ts +6 -0
  81. package/cjs/src/ThemeProvider/ThemeProvider.d.ts +7 -0
  82. package/cjs/src/ThemeProvider/index.d.ts +1 -0
  83. package/cjs/src/Tooltip/Tooltip.d.ts +3 -0
  84. package/cjs/src/Tooltip/constants.d.ts +4 -0
  85. package/cjs/src/Tooltip/index.d.ts +2 -0
  86. package/cjs/src/Tooltip/styled.d.ts +5 -0
  87. package/cjs/src/Tooltip/types.d.ts +6 -0
  88. package/cjs/src/Typography/Typography.d.ts +8 -0
  89. package/cjs/src/Typography/index.d.ts +1 -0
  90. package/cjs/src/createStylesCache/index.d.ts +2 -0
  91. package/cjs/src/createStylesServer/index.d.ts +1 -0
  92. package/cjs/src/declaration/index.d.ts +2 -0
  93. package/cjs/src/index.d.ts +24 -0
  94. package/cjs/src/styles/index.d.ts +1 -0
  95. package/cjs/src/styles/styled/index.d.ts +1 -0
  96. package/cjs/src/styles/styled/styled.d.ts +2 -0
  97. package/cjs/src/styles/styled/types.d.ts +48 -0
  98. package/cjs/src/theme/__tests__/BaseTheme.test.d.ts +1 -0
  99. package/cjs/src/theme/baseTheme.d.ts +20 -0
  100. package/cjs/src/theme/components/MuiFormHelperText.d.ts +4 -0
  101. package/cjs/src/theme/components/MuiFormLabel.d.ts +4 -0
  102. package/cjs/src/theme/components/MuiInputBase.d.ts +4 -0
  103. package/cjs/src/theme/components/MuiInputLabel.d.ts +4 -0
  104. package/cjs/src/theme/components/MuiOutlinedInput.d.ts +4 -0
  105. package/cjs/src/theme/components/MuiTypography.d.ts +21 -0
  106. package/cjs/src/theme/components/components.d.ts +21 -0
  107. package/cjs/src/theme/components/index.d.ts +1 -0
  108. package/cjs/src/theme/constants.d.ts +9 -0
  109. package/cjs/src/theme/elevation.d.ts +8 -0
  110. package/cjs/src/theme/hooks/index.d.ts +1 -0
  111. package/cjs/src/theme/hooks/useTheme/index.d.ts +2 -0
  112. package/cjs/src/theme/index.d.ts +6 -0
  113. package/cjs/src/theme/palette/brandPalette.d.ts +15 -0
  114. package/cjs/src/theme/palette/index.d.ts +2 -0
  115. package/cjs/src/theme/palette/palette.d.ts +29 -0
  116. package/cjs/src/theme/shape.d.ts +6 -0
  117. package/cjs/src/theme/typography.d.ts +20 -0
  118. package/esm/index.d.ts +1 -0
  119. package/esm/src/Badge/Badge.d.ts +4 -0
  120. package/esm/src/Badge/index.d.ts +2 -0
  121. package/esm/src/Badge/styled.d.ts +49 -0
  122. package/esm/src/Badge/types.d.ts +5 -0
  123. package/esm/src/Button/Button.d.ts +3 -0
  124. package/esm/src/Button/index.d.ts +2 -0
  125. package/esm/src/Button/styled.d.ts +12 -0
  126. package/esm/src/Button/types.d.ts +7 -0
  127. package/esm/src/ButtonBase/ButtonBase.d.ts +3 -0
  128. package/esm/src/ButtonBase/constants.d.ts +22 -0
  129. package/esm/src/ButtonBase/index.d.ts +3 -0
  130. package/esm/src/ButtonBase/styled.d.ts +27 -0
  131. package/esm/src/ButtonBase/types.d.ts +11 -0
  132. package/esm/src/Checkbox/Checkbox.d.ts +3 -0
  133. package/esm/src/Checkbox/icons.d.ts +5 -0
  134. package/esm/src/Checkbox/index.d.ts +2 -0
  135. package/esm/src/Checkbox/styled.d.ts +4 -0
  136. package/esm/src/Checkbox/types.d.ts +2 -0
  137. package/esm/src/CircularProgress/CircularProgress.d.ts +4 -0
  138. package/esm/src/CircularProgress/constants.d.ts +8 -0
  139. package/esm/src/CircularProgress/index.d.ts +2 -0
  140. package/esm/src/CircularProgress/styled.d.ts +6 -0
  141. package/esm/src/CircularProgress/types.d.ts +8 -0
  142. package/esm/src/DashboardLayout/DashboardLayout.d.ts +15 -0
  143. package/esm/src/DashboardLayout/Header/Header.d.ts +4 -0
  144. package/esm/src/DashboardLayout/Header/index.d.ts +2 -0
  145. package/esm/src/DashboardLayout/Header/styled.d.ts +23 -0
  146. package/esm/src/DashboardLayout/Header/types.d.ts +10 -0
  147. package/esm/src/DashboardLayout/Main/Main.d.ts +6 -0
  148. package/esm/src/DashboardLayout/Main/index.d.ts +1 -0
  149. package/esm/src/DashboardLayout/Main/styled.d.ts +5 -0
  150. package/esm/src/DashboardLayout/SideBar/SideBar.d.ts +6 -0
  151. package/esm/src/DashboardLayout/SideBar/index.d.ts +1 -0
  152. package/esm/src/DashboardLayout/SideBar/styled.d.ts +3 -0
  153. package/esm/src/DashboardLayout/index.d.ts +1 -0
  154. package/esm/src/DashboardLayout/styled.d.ts +6 -0
  155. package/esm/src/FormControlLabel/FormControlLabel.d.ts +3 -0
  156. package/esm/src/FormControlLabel/index.d.ts +2 -0
  157. package/esm/src/FormControlLabel/styled.d.ts +3 -0
  158. package/esm/src/FormControlLabel/types.d.ts +2 -0
  159. package/esm/src/FormHelperText/FormHelperText.d.ts +4 -0
  160. package/esm/src/FormHelperText/index.d.ts +1 -0
  161. package/esm/src/FormHelperText/styled.d.ts +41 -0
  162. package/esm/src/FormHelperText/types.d.ts +6 -0
  163. package/esm/src/GlobalStyles/GlobalStyles.d.ts +3 -0
  164. package/esm/src/GlobalStyles/index.d.ts +1 -0
  165. package/esm/src/Grid/Grid.d.ts +3 -0
  166. package/esm/src/Grid/index.d.ts +2 -0
  167. package/esm/src/Grid/styled.d.ts +13 -0
  168. package/esm/src/Grid/types.d.ts +30 -0
  169. package/esm/src/IconButton/IconButton.d.ts +3 -0
  170. package/esm/src/IconButton/index.d.ts +1 -0
  171. package/esm/src/IconButton/styled.d.ts +19 -0
  172. package/esm/src/Menu/Menu.d.ts +3 -0
  173. package/esm/src/Menu/index.d.ts +1 -0
  174. package/esm/src/MenuItem/MenuItem.d.ts +3 -0
  175. package/esm/src/MenuItem/index.d.ts +1 -0
  176. package/esm/src/MenuList/MenuList.d.ts +3 -0
  177. package/esm/src/MenuList/index.d.ts +2 -0
  178. package/esm/src/MenuList/styled.d.ts +20 -0
  179. package/esm/src/MenuList/types.d.ts +2 -0
  180. package/esm/src/Radio/Icon.d.ts +3 -0
  181. package/esm/src/Radio/Radio.d.ts +4 -0
  182. package/esm/src/Radio/index.d.ts +2 -0
  183. package/esm/src/Radio/styled.d.ts +4 -0
  184. package/esm/src/Radio/types.d.ts +2 -0
  185. package/esm/src/RadioGroup/RadioGroup.d.ts +2 -0
  186. package/esm/src/StylesCacheProvider/index.d.ts +1 -0
  187. package/esm/src/Tag/Tag.d.ts +3 -0
  188. package/esm/src/Tag/constants.d.ts +21 -0
  189. package/esm/src/Tag/index.d.ts +2 -0
  190. package/esm/src/Tag/styled.d.ts +25 -0
  191. package/esm/src/Tag/types.d.ts +12 -0
  192. package/esm/src/TextArea/TextArea.d.ts +3 -0
  193. package/esm/src/TextArea/index.d.ts +2 -0
  194. package/esm/src/TextArea/types.d.ts +2 -0
  195. package/esm/src/TextField/TextField.d.ts +4 -0
  196. package/esm/src/TextField/index.d.ts +2 -0
  197. package/esm/src/TextField/types.d.ts +6 -0
  198. package/esm/src/ThemeProvider/ThemeProvider.d.ts +7 -0
  199. package/esm/src/ThemeProvider/index.d.ts +1 -0
  200. package/esm/src/Tooltip/Tooltip.d.ts +3 -0
  201. package/esm/src/Tooltip/constants.d.ts +4 -0
  202. package/esm/src/Tooltip/index.d.ts +2 -0
  203. package/esm/src/Tooltip/styled.d.ts +5 -0
  204. package/esm/src/Tooltip/types.d.ts +6 -0
  205. package/esm/src/Typography/Typography.d.ts +8 -0
  206. package/esm/src/Typography/index.d.ts +1 -0
  207. package/esm/src/createStylesCache/index.d.ts +2 -0
  208. package/esm/src/createStylesServer/index.d.ts +1 -0
  209. package/esm/src/declaration/index.d.ts +2 -0
  210. package/esm/src/index.d.ts +24 -0
  211. package/esm/src/styles/index.d.ts +1 -0
  212. package/esm/src/styles/styled/index.d.ts +1 -0
  213. package/esm/src/styles/styled/styled.d.ts +2 -0
  214. package/esm/src/styles/styled/types.d.ts +48 -0
  215. package/esm/src/theme/__tests__/BaseTheme.test.d.ts +1 -0
  216. package/esm/src/theme/baseTheme.d.ts +20 -0
  217. package/esm/src/theme/components/MuiFormHelperText.d.ts +4 -0
  218. package/esm/src/theme/components/MuiFormLabel.d.ts +4 -0
  219. package/esm/src/theme/components/MuiInputBase.d.ts +4 -0
  220. package/esm/src/theme/components/MuiInputLabel.d.ts +4 -0
  221. package/esm/src/theme/components/MuiOutlinedInput.d.ts +4 -0
  222. package/esm/src/theme/components/MuiTypography.d.ts +21 -0
  223. package/esm/src/theme/components/components.d.ts +21 -0
  224. package/esm/src/theme/components/index.d.ts +1 -0
  225. package/esm/src/theme/constants.d.ts +9 -0
  226. package/esm/src/theme/elevation.d.ts +8 -0
  227. package/esm/src/theme/hooks/index.d.ts +1 -0
  228. package/esm/src/theme/hooks/useTheme/index.d.ts +2 -0
  229. package/esm/src/theme/index.d.ts +6 -0
  230. package/esm/src/theme/palette/brandPalette.d.ts +15 -0
  231. package/esm/src/theme/palette/index.d.ts +2 -0
  232. package/esm/src/theme/palette/palette.d.ts +29 -0
  233. package/esm/src/theme/shape.d.ts +6 -0
  234. package/esm/src/theme/typography.d.ts +20 -0
  235. package/package.json +1 -3
@@ -0,0 +1,2 @@
1
+ export * from './MenuList';
2
+ export * from './types';
@@ -0,0 +1,20 @@
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("@mui/material").Theme | undefined;
20
+ }, {}, {}>;
@@ -0,0 +1,2 @@
1
+ import { MenuListProps as MuiMenuListProps } from '@mui/material/MenuList';
2
+ export declare type MenuListProps = MuiMenuListProps;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const DefaultIcon: React.VFC;
3
+ export declare const CheckedCircleIcon: React.VFC;
@@ -0,0 +1,4 @@
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;
@@ -0,0 +1,2 @@
1
+ export * from './Radio';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import { RadioProps } from './types';
2
+ export declare const StyledRadio: import("@emotion/styled").StyledComponent<import("@mui/material").RadioProps & {
3
+ theme?: import("@mui/material").Theme | undefined;
4
+ } & RadioProps, {}, {}>;
@@ -0,0 +1,2 @@
1
+ import { RadioProps as MuiRadioProps } from '@mui/material';
2
+ export declare type RadioProps = Omit<MuiRadioProps, 'size' | 'color'>;
@@ -0,0 +1,2 @@
1
+ import { RadioGroup } from '@mui/material';
2
+ export default RadioGroup;
@@ -0,0 +1 @@
1
+ export { CacheProvider as StylesCacheProvider } from '@emotion/react';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TagProps } from './types';
3
+ export declare const Tag: ({ color, variant, ...props }: TagProps) => JSX.Element;
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './Tag';
2
+ export * from './types';
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ import { TagProps } from './types';
3
+ export declare const StyledTag: import("@emotion/styled").StyledComponent<{
4
+ avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
5
+ children?: null | undefined;
6
+ classes?: Partial<import("@mui/material").ChipClasses> | undefined;
7
+ clickable?: boolean | undefined;
8
+ color?: "primary" | "secondary" | "default" | "error" | "warning" | "info" | "success" | undefined;
9
+ deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
10
+ disabled?: boolean | undefined;
11
+ icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
12
+ label?: import("react").ReactNode;
13
+ onDelete?: ((event: any) => void) | undefined;
14
+ size?: "medium" | "small" | undefined;
15
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
16
+ variant?: "filled" | "outlined" | undefined;
17
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "label" | "variant" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & {
20
+ theme?: import("@mui/material").Theme | undefined;
21
+ } & Omit<TagProps, "color"> & {
22
+ customColor?: "primary" | "default" | "error" | "grey" | "warning" | "success" | undefined;
23
+ customVariant?: "light" | "contained" | undefined;
24
+ rounded?: boolean | undefined;
25
+ }, {}, {}>;
@@ -0,0 +1,12 @@
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
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TextAreaProps } from './types';
3
+ export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<TextAreaProps, "disabled" | "focused" | "error" | "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>>;
@@ -0,0 +1,2 @@
1
+ export * from './TextArea';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ import { TextFieldProps } from '../TextField';
2
+ export declare type TextAreaProps = Omit<TextFieldProps, 'multiline'>;
@@ -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;
@@ -0,0 +1,2 @@
1
+ export * from './TextField';
2
+ export * from './types';
@@ -0,0 +1,6 @@
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
+ };
@@ -0,0 +1,7 @@
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 {};
@@ -0,0 +1 @@
1
+ export * from './ThemeProvider';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TooltipProps } from './types';
3
+ export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "color" | "translate" | "components" | "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" | "componentsProps" | "size" | "open" | "onClose" | "TransitionComponent" | "TransitionProps" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "placement" | "PopperComponent" | "PopperProps"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ export declare enum TooltipSizes {
2
+ MEDIUM = "medium",
3
+ SMALL = "small"
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './Tooltip';
2
+ export * from './types';
@@ -0,0 +1,5 @@
1
+ export declare const StyledTooltip: import("@emotion/styled").StyledComponent<import("@mui/material").TooltipProps & {
2
+ size?: "medium" | "small" | undefined;
3
+ } & {
4
+ theme?: import("@mui/material").Theme | undefined;
5
+ }, {}, {}>;
@@ -0,0 +1,6 @@
1
+ import { TooltipProps as MuiTooltipProps } from '@mui/material/Tooltip';
2
+ import { TooltipSizes } from './constants';
3
+ export declare type TooltipSize = `${TooltipSizes}`;
4
+ export declare type TooltipProps = MuiTooltipProps & {
5
+ size?: TooltipSize;
6
+ };
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1 @@
1
+ export * from './Typography';
@@ -0,0 +1,2 @@
1
+ export { default as createStylesCache } from '@emotion/cache';
2
+ export type { EmotionCache as StylesCache } from '@emotion/cache';
@@ -0,0 +1 @@
1
+ export { default as createStylesServer } from '@emotion/server/create-instance';
@@ -0,0 +1,2 @@
1
+ export * from './mui-material.d';
2
+ export * from './emotion.d';
@@ -0,0 +1,24 @@
1
+ export * from './createStylesCache';
2
+ export * from './createStylesServer';
3
+ export * from './StylesCacheProvider';
4
+ export * from './Button';
5
+ export * from './ButtonBase';
6
+ export * from './IconButton';
7
+ export * from './Badge';
8
+ export * from './Checkbox';
9
+ export * from './FormControlLabel';
10
+ export * from './Typography';
11
+ export * from './Menu';
12
+ export * from './MenuItem';
13
+ export * from './MenuList';
14
+ export * from './theme';
15
+ export * from './styles';
16
+ export * from './ThemeProvider';
17
+ export * from './GlobalStyles';
18
+ export * from './TextField';
19
+ export * from './FormHelperText';
20
+ export * from './Grid';
21
+ export * from './Tag';
22
+ export * from './Tooltip';
23
+ export * from './TextArea';
24
+ export * from './declaration';
@@ -0,0 +1 @@
1
+ export * from './styled';
@@ -0,0 +1 @@
1
+ export * from './styled';
@@ -0,0 +1,2 @@
1
+ import { CreateStyled } from './types';
2
+ export declare const styled: CreateStyled;
@@ -0,0 +1,48 @@
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 {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ import { Palette as MuiPalette, Theme as MuiTheme, PaletteColor, ThemeOptions } from '@mui/material/styles';
2
+ import { Background, Color } from './palette';
3
+ import { FontsUrls } from './components';
4
+ import { Brand } from './constants';
5
+ export declare type Palette = Omit<MuiPalette, 'grey' | 'background'> & {
6
+ red: Color;
7
+ green: Color;
8
+ yellow: Color;
9
+ grey: Color;
10
+ primary: PaletteColor & Color;
11
+ background: Background;
12
+ };
13
+ export declare type Theme = MuiTheme;
14
+ declare type CreateThemeParams = {
15
+ brand: Brand;
16
+ options?: ThemeOptions;
17
+ fontsUrls: FontsUrls;
18
+ };
19
+ export declare const createTheme: (params: CreateThemeParams) => MuiTheme;
20
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiFormHelperText: Components<Theme>['MuiFormHelperText'];
4
+ export default MuiFormHelperText;
@@ -0,0 +1,4 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiFormLabel: Components<Theme>['MuiFormLabel'];
4
+ export default MuiFormLabel;
@@ -0,0 +1,4 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiInputBase: Components<Theme>['MuiInputBase'];
4
+ export default MuiInputBase;
@@ -0,0 +1,4 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiInputLabel: Components<Theme>['MuiInputLabel'];
4
+ export default MuiInputLabel;
@@ -0,0 +1,4 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiOutlinedInput: Components<Theme>['MuiOutlinedInput'];
4
+ export default MuiOutlinedInput;
@@ -0,0 +1,21 @@
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;
@@ -0,0 +1,21 @@
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>;
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1 @@
1
+ export * from './useTheme';
@@ -0,0 +1,2 @@
1
+ import { Theme } from '../../baseTheme';
2
+ export declare const useTheme: () => Theme;
@@ -0,0 +1,6 @@
1
+ export * from './baseTheme';
2
+ export * from './palette';
3
+ export * from './constants';
4
+ export * from './elevation';
5
+ export * from './shape';
6
+ export * from './hooks';
@@ -0,0 +1,15 @@
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 {};
@@ -0,0 +1,2 @@
1
+ export * from './brandPalette';
2
+ export * from './palette';
@@ -0,0 +1,29 @@
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 {};
@@ -0,0 +1,6 @@
1
+ export declare type Shape = {
2
+ small: string;
3
+ medium: string;
4
+ large: string;
5
+ };
6
+ export declare const shape: Shape;
@@ -0,0 +1,20 @@
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
+ lineHeight: CSSProperties['lineHeight'];
7
+ };
8
+ export declare type TypographyThemeOptions = Typography & {
9
+ h7: CustomTypographyVariantStyle;
10
+ h8: CustomTypographyVariantStyle;
11
+ h9: CustomTypographyVariantStyle;
12
+ ui: CustomTypographyVariantStyle;
13
+ link: CustomTypographyVariantStyle;
14
+ pointer: CustomTypographyVariantStyle;
15
+ small: CustomTypographyVariantStyle;
16
+ code: CustomTypographyVariantStyle;
17
+ };
18
+ export declare const pxToRem: (fontSize: number, htmlFontSize?: number) => string;
19
+ export declare const typography: Partial<TypographyThemeOptions>;
20
+ export {};
package/esm/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './src';
@@ -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;