@popmenu/common-ui 0.126.0 → 0.126.1

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 (291) hide show
  1. package/build/{components → esm/components}/Accordion/index.d.ts +1 -1
  2. package/build/{components → esm/components}/AccordionActions/index.d.ts +1 -1
  3. package/build/{components → esm/components}/AccordionDetails/index.d.ts +1 -1
  4. package/build/{components → esm/components}/AccordionSummary/index.d.ts +1 -1
  5. package/build/{components → esm/components}/Alert/index.d.ts +1 -1
  6. package/build/{components → esm/components}/AppBar/index.d.ts +1 -1
  7. package/build/esm/components/Avatar/Avatar.d.ts +3 -0
  8. package/build/esm/components/Avatar/Avatar.js +39 -0
  9. package/build/esm/components/Avatar/Avatar.js.map +1 -0
  10. package/build/{components → esm/components}/Avatar/AvatarProps.d.ts +22 -22
  11. package/build/{components → esm/components}/Avatar/avatar.styles.d.ts +2 -2
  12. package/build/esm/components/Avatar/avatar.styles.js +41 -0
  13. package/build/esm/components/Avatar/avatar.styles.js.map +1 -0
  14. package/build/{components → esm/components}/Avatar/index.d.ts +2 -2
  15. package/build/{components → esm/components}/Avatar/util/useImageProps.d.ts +10 -10
  16. package/build/esm/components/Avatar/util/useImageProps.js +21 -0
  17. package/build/esm/components/Avatar/util/useImageProps.js.map +1 -0
  18. package/build/{components → esm/components}/Badge/index.d.ts +1 -1
  19. package/build/{components → esm/components}/Box/Box.d.ts +3 -3
  20. package/build/{components → esm/components}/Box/BoxProps.d.ts +5 -5
  21. package/build/{components → esm/components}/Box/BoxStyles.d.ts +1 -1
  22. package/build/{components → esm/components}/Box/index.d.ts +7 -7
  23. package/build/{components → esm/components}/Breadcrumbs/index.d.ts +1 -1
  24. package/build/{components → esm/components}/BrowserSilhouette/BrowserSilhouette.d.ts +2 -2
  25. package/build/esm/components/BrowserSilhouette/BrowserSilhouette.js +18 -0
  26. package/build/esm/components/BrowserSilhouette/BrowserSilhouette.js.map +1 -0
  27. package/build/{components → esm/components}/BrowserSilhouette/browserSilhouette.styles.d.ts +1 -1
  28. package/build/esm/components/BrowserSilhouette/browserSilhouette.styles.js +25 -0
  29. package/build/esm/components/BrowserSilhouette/browserSilhouette.styles.js.map +1 -0
  30. package/build/{components → esm/components}/BrowserSilhouette/index.d.ts +1 -1
  31. package/build/{components → esm/components}/Button/Button.d.ts +6 -6
  32. package/build/esm/components/Button/Button.js +23 -0
  33. package/build/esm/components/Button/Button.js.map +1 -0
  34. package/build/{components → esm/components}/Button/ButtonProps.d.ts +11 -11
  35. package/build/esm/components/Button/ButtonStyles.d.ts +2 -0
  36. package/build/esm/components/Button/ButtonStyles.js +16 -0
  37. package/build/esm/components/Button/ButtonStyles.js.map +1 -0
  38. package/build/{components → esm/components}/Button/index.d.ts +2 -2
  39. package/build/{components → esm/components}/ButtonBase/index.d.ts +1 -1
  40. package/build/{components → esm/components}/ButtonGroup/index.d.ts +1 -1
  41. package/build/{components → esm/components}/Card/index.d.ts +1 -1
  42. package/build/{components → esm/components}/CardActionArea/index.d.ts +1 -1
  43. package/build/{components → esm/components}/CardActions/index.d.ts +1 -1
  44. package/build/{components → esm/components}/CardContent/index.d.ts +1 -1
  45. package/build/{components → esm/components}/CardHeader/index.d.ts +1 -1
  46. package/build/{components → esm/components}/CardMedia/index.d.ts +1 -1
  47. package/build/esm/components/Checkbox/Checkbox.d.ts +3 -0
  48. package/build/esm/components/Checkbox/Checkbox.js +14 -0
  49. package/build/esm/components/Checkbox/Checkbox.js.map +1 -0
  50. package/build/{components → esm/components}/Checkbox/CheckboxProps.d.ts +8 -8
  51. package/build/{components → esm/components}/Checkbox/index.d.ts +2 -2
  52. package/build/{components → esm/components}/Chip/Chip.d.ts +6 -6
  53. package/build/esm/components/Chip/Chip.js +23 -0
  54. package/build/esm/components/Chip/Chip.js.map +1 -0
  55. package/build/{components → esm/components}/Chip/ChipProps.d.ts +8 -8
  56. package/build/{components → esm/components}/Chip/ChipStyles.d.ts +2 -2
  57. package/build/esm/components/Chip/ChipStyles.js +83 -0
  58. package/build/esm/components/Chip/ChipStyles.js.map +1 -0
  59. package/build/{components → esm/components}/Chip/index.d.ts +2 -2
  60. package/build/{components → esm/components}/CircularProgress/index.d.ts +1 -1
  61. package/build/{components → esm/components}/ClickAwayListener/index.d.ts +1 -1
  62. package/build/{components → esm/components}/CollapsibleText/CollapsibleText.d.ts +3 -3
  63. package/build/esm/components/CollapsibleText/CollapsibleText.js +41 -0
  64. package/build/esm/components/CollapsibleText/CollapsibleText.js.map +1 -0
  65. package/build/{components → esm/components}/CollapsibleText/CollapsibleTextProps.d.ts +13 -13
  66. package/build/{components → esm/components}/CollapsibleText/CollapsibleTextStyles.d.ts +5 -5
  67. package/build/esm/components/CollapsibleText/CollapsibleTextStyles.js +24 -0
  68. package/build/esm/components/CollapsibleText/CollapsibleTextStyles.js.map +1 -0
  69. package/build/{components → esm/components}/CollapsibleText/index.d.ts +2 -2
  70. package/build/{components → esm/components}/Dialog/index.d.ts +1 -1
  71. package/build/{components → esm/components}/DialogActions/index.d.ts +1 -1
  72. package/build/{components → esm/components}/DialogContent/index.d.ts +1 -1
  73. package/build/{components → esm/components}/DialogContentText/index.d.ts +1 -1
  74. package/build/{components → esm/components}/DialogTitle/index.d.ts +1 -1
  75. package/build/{components → esm/components}/Divider/Divider.d.ts +3 -3
  76. package/build/esm/components/Divider/Divider.js +70 -0
  77. package/build/esm/components/Divider/Divider.js.map +1 -0
  78. package/build/{components → esm/components}/Divider/DividerProps.d.ts +17 -17
  79. package/build/{components → esm/components}/Divider/index.d.ts +2 -2
  80. package/build/{components → esm/components}/Drawer/index.d.ts +1 -1
  81. package/build/{components → esm/components}/Fab/index.d.ts +1 -1
  82. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationAltActions.d.ts +2 -2
  83. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationAltActions.js +86 -0
  84. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationAltActions.js.map +1 -0
  85. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationBody.d.ts +2 -2
  86. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationBody.js +12 -0
  87. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationBody.js.map +1 -0
  88. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationCloseButton.d.ts +2 -2
  89. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationCloseButton.js +24 -0
  90. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationCloseButton.js.map +1 -0
  91. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationContent.d.ts +4 -4
  92. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationContent.js +18 -0
  93. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationContent.js.map +1 -0
  94. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationDialog.d.ts +3 -3
  95. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationDialog.js +37 -0
  96. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationDialog.js.map +1 -0
  97. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationDialogProps.d.ts +29 -29
  98. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationFooter.d.ts +2 -2
  99. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationFooter.js +13 -0
  100. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationFooter.js.map +1 -0
  101. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationForm.d.ts +2 -2
  102. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationForm.js +149 -0
  103. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationForm.js.map +1 -0
  104. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationGraphic.d.ts +2 -2
  105. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationGraphic.js +15 -0
  106. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationGraphic.js.map +1 -0
  107. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationInfo.d.ts +2 -2
  108. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationInfo.js +15 -0
  109. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationInfo.js.map +1 -0
  110. package/build/{components → esm/components}/FollowerAuthenticationDialog/FollowerAuthenticationTitle.d.ts +2 -2
  111. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationTitle.js +13 -0
  112. package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationTitle.js.map +1 -0
  113. package/build/{components → esm/components}/FollowerAuthenticationDialog/context.d.ts +4 -4
  114. package/build/esm/components/FollowerAuthenticationDialog/context.js +14 -0
  115. package/build/esm/components/FollowerAuthenticationDialog/context.js.map +1 -0
  116. package/build/{components → esm/components}/FollowerAuthenticationDialog/index.d.ts +2 -2
  117. package/build/{components → esm/components}/FollowerAuthenticationDialog/theme.d.ts +35 -35
  118. package/build/esm/components/FollowerAuthenticationDialog/theme.js +36 -0
  119. package/build/esm/components/FollowerAuthenticationDialog/theme.js.map +1 -0
  120. package/build/{components → esm/components}/FormControl/index.d.ts +1 -1
  121. package/build/{components → esm/components}/FormControlLabel/index.d.ts +1 -1
  122. package/build/{components → esm/components}/FormLabel/index.d.ts +1 -1
  123. package/build/{components → esm/components}/Grid/index.d.ts +1 -1
  124. package/build/{components → esm/components}/GridList/index.d.ts +1 -1
  125. package/build/{components → esm/components}/Hidden/index.d.ts +1 -1
  126. package/build/{components → esm/components}/Icon/Icon.d.ts +4 -4
  127. package/build/esm/components/Icon/Icon.js +29 -0
  128. package/build/esm/components/Icon/Icon.js.map +1 -0
  129. package/build/{components → esm/components}/Icon/IconProps.d.ts +17 -17
  130. package/build/{components → esm/components}/Icon/IconStyles.d.ts +2 -2
  131. package/build/esm/components/Icon/IconStyles.js +41 -0
  132. package/build/esm/components/Icon/IconStyles.js.map +1 -0
  133. package/build/{components → esm/components}/Icon/index.d.ts +2 -2
  134. package/build/esm/components/IconButton/IconButton.d.ts +3 -0
  135. package/build/esm/components/IconButton/IconButton.js +14 -0
  136. package/build/esm/components/IconButton/IconButton.js.map +1 -0
  137. package/build/{components → esm/components}/IconButton/IconButtonProps.d.ts +2 -2
  138. package/build/{components → esm/components}/IconButton/index.d.ts +2 -2
  139. package/build/{components → esm/components}/InputAdornment/index.d.ts +1 -1
  140. package/build/{components → esm/components}/LinearProgress/index.d.ts +1 -1
  141. package/build/{components → esm/components}/Link/Link.d.ts +11 -11
  142. package/build/esm/components/Link/Link.js +18 -0
  143. package/build/esm/components/Link/Link.js.map +1 -0
  144. package/build/{components → esm/components}/Link/LinkStyles.d.ts +2 -2
  145. package/build/esm/components/Link/LinkStyles.js +15 -0
  146. package/build/esm/components/Link/LinkStyles.js.map +1 -0
  147. package/build/{components → esm/components}/Link/index.d.ts +2 -2
  148. package/build/{components → esm/components}/List/index.d.ts +1 -1
  149. package/build/{components → esm/components}/ListItem/index.d.ts +1 -1
  150. package/build/{components → esm/components}/ListItemAvatar/index.d.ts +1 -1
  151. package/build/{components → esm/components}/ListItemIcon/index.d.ts +1 -1
  152. package/build/{components → esm/components}/ListItemSecondaryAction/index.d.ts +1 -1
  153. package/build/{components → esm/components}/ListItemText/index.d.ts +1 -1
  154. package/build/{components → esm/components}/Menu/index.d.ts +1 -1
  155. package/build/{components → esm/components}/MenuItem/index.d.ts +1 -1
  156. package/build/{components → esm/components}/MenuList/index.d.ts +1 -1
  157. package/build/{components → esm/components}/Modal/index.d.ts +1 -1
  158. package/build/{components → esm/components}/NumberField/NumberField.d.ts +3 -3
  159. package/build/esm/components/NumberField/NumberField.js +20 -0
  160. package/build/esm/components/NumberField/NumberField.js.map +1 -0
  161. package/build/{components → esm/components}/NumberField/NumberFieldProps.d.ts +12 -12
  162. package/build/{components → esm/components}/NumberField/NumberFieldStyles.d.ts +2 -2
  163. package/build/esm/components/NumberField/NumberFieldStyles.js +32 -0
  164. package/build/esm/components/NumberField/NumberFieldStyles.js.map +1 -0
  165. package/build/{components → esm/components}/NumberField/index.d.ts +2 -2
  166. package/build/esm/components/Paper/Paper.d.ts +6 -0
  167. package/build/esm/components/Paper/Paper.js +28 -0
  168. package/build/esm/components/Paper/Paper.js.map +1 -0
  169. package/build/{components → esm/components}/Paper/index.d.ts +1 -1
  170. package/build/{components → esm/components}/PaperContent/PaperContent.d.ts +2 -2
  171. package/build/esm/components/PaperContent/PaperContent.js +10 -0
  172. package/build/esm/components/PaperContent/PaperContent.js.map +1 -0
  173. package/build/{components → esm/components}/PaperContent/index.d.ts +1 -1
  174. package/build/{components → esm/components}/Popover/index.d.ts +1 -1
  175. package/build/{components → esm/components}/Popper/index.d.ts +1 -1
  176. package/build/esm/components/Radio/Radio.d.ts +3 -0
  177. package/build/esm/components/Radio/Radio.js +14 -0
  178. package/build/esm/components/Radio/Radio.js.map +1 -0
  179. package/build/{components → esm/components}/Radio/RadioProps.d.ts +8 -8
  180. package/build/{components → esm/components}/Radio/index.d.ts +2 -2
  181. package/build/{components → esm/components}/SplitInput/SplitInput.d.ts +3 -3
  182. package/build/esm/components/SplitInput/SplitInput.js +22 -0
  183. package/build/esm/components/SplitInput/SplitInput.js.map +1 -0
  184. package/build/{components → esm/components}/SplitInput/SplitInputProps.d.ts +20 -20
  185. package/build/{components → esm/components}/SplitInput/SplitInputStyles.d.ts +2 -2
  186. package/build/esm/components/SplitInput/SplitInputStyles.js +29 -0
  187. package/build/esm/components/SplitInput/SplitInputStyles.js.map +1 -0
  188. package/build/{components → esm/components}/SplitInput/index.d.ts +2 -2
  189. package/build/{components → esm/components}/Step/index.d.ts +1 -1
  190. package/build/{components → esm/components}/StepButton/index.d.ts +1 -1
  191. package/build/{components → esm/components}/StepConnector/index.d.ts +1 -1
  192. package/build/{components → esm/components}/StepContent/index.d.ts +1 -1
  193. package/build/{components → esm/components}/StepIcon/index.d.ts +1 -1
  194. package/build/{components → esm/components}/StepLabel/index.d.ts +1 -1
  195. package/build/{components → esm/components}/Stepper/index.d.ts +1 -1
  196. package/build/esm/components/Switch/Switch.d.ts +3 -0
  197. package/build/esm/components/Switch/Switch.js +16 -0
  198. package/build/esm/components/Switch/Switch.js.map +1 -0
  199. package/build/{components → esm/components}/Switch/SwitchProps.d.ts +8 -8
  200. package/build/{components → esm/components}/Switch/index.d.ts +2 -2
  201. package/build/{components → esm/components}/Switch/switch.styles.d.ts +2 -2
  202. package/build/esm/components/Switch/switch.styles.js +17 -0
  203. package/build/esm/components/Switch/switch.styles.js.map +1 -0
  204. package/build/{components → esm/components}/Tab/index.d.ts +1 -1
  205. package/build/{components → esm/components}/TabPanel/TabPanel.d.ts +3 -3
  206. package/build/esm/components/TabPanel/TabPanel.js +10 -0
  207. package/build/esm/components/TabPanel/TabPanel.js.map +1 -0
  208. package/build/{components → esm/components}/TabPanel/TabPanelProps.d.ts +3 -3
  209. package/build/{components → esm/components}/TabPanel/index.d.ts +2 -2
  210. package/build/{components → esm/components}/Tabs/index.d.ts +1 -1
  211. package/build/{components → esm/components}/TextField/index.d.ts +1 -1
  212. package/build/{components → esm/components}/ThemeProvider/index.d.ts +1 -1
  213. package/build/esm/components/ToggleButton/ToggleButton.d.ts +3 -0
  214. package/build/esm/components/ToggleButton/ToggleButton.js +20 -0
  215. package/build/esm/components/ToggleButton/ToggleButton.js.map +1 -0
  216. package/build/{components → esm/components}/ToggleButton/ToggleButtonProps.d.ts +4 -4
  217. package/build/{components → esm/components}/ToggleButton/ToggleButtonStyles.d.ts +2 -2
  218. package/build/esm/components/ToggleButton/ToggleButtonStyles.js +19 -0
  219. package/build/esm/components/ToggleButton/ToggleButtonStyles.js.map +1 -0
  220. package/build/{components → esm/components}/ToggleButton/index.d.ts +2 -2
  221. package/build/esm/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -0
  222. package/build/esm/components/ToggleButtonGroup/ToggleButtonGroup.js +20 -0
  223. package/build/esm/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -0
  224. package/build/{components → esm/components}/ToggleButtonGroup/ToggleButtonGroupProps.d.ts +6 -6
  225. package/build/{components → esm/components}/ToggleButtonGroup/ToggleButtonGroupStyles.d.ts +1 -1
  226. package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupStyles.js +12 -0
  227. package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupStyles.js.map +1 -0
  228. package/build/{components → esm/components}/ToggleButtonGroup/index.d.ts +2 -2
  229. package/build/{components → esm/components}/Toolbar/index.d.ts +1 -1
  230. package/build/esm/components/Tooltip/Tooltip.d.ts +3 -0
  231. package/build/esm/components/Tooltip/Tooltip.js +13 -0
  232. package/build/esm/components/Tooltip/Tooltip.js.map +1 -0
  233. package/build/{components → esm/components}/Tooltip/TooltipProps.d.ts +1 -1
  234. package/build/{components → esm/components}/Tooltip/TooltipStyles.d.ts +2 -2
  235. package/build/esm/components/Tooltip/TooltipStyles.js +13 -0
  236. package/build/esm/components/Tooltip/TooltipStyles.js.map +1 -0
  237. package/build/{components → esm/components}/Tooltip/index.d.ts +2 -2
  238. package/build/{components → esm/components}/Typography/Typography.d.ts +9 -9
  239. package/build/esm/components/Typography/Typography.js +17 -0
  240. package/build/esm/components/Typography/Typography.js.map +1 -0
  241. package/build/{components → esm/components}/Typography/TypographyProps.d.ts +15 -15
  242. package/build/esm/components/Typography/TypographyProps.js +6 -0
  243. package/build/esm/components/Typography/TypographyProps.js.map +1 -0
  244. package/build/esm/components/Typography/TypographyStyles.d.ts +10 -0
  245. package/build/esm/components/Typography/TypographyStyles.js +76 -0
  246. package/build/esm/components/Typography/TypographyStyles.js.map +1 -0
  247. package/build/{components → esm/components}/Typography/index.d.ts +2 -2
  248. package/build/{components → esm/components}/index.d.ts +78 -78
  249. package/build/{hooks → esm/hooks}/index.d.ts +2 -2
  250. package/build/{hooks → esm/hooks}/useCollapsibleText.d.ts +9 -9
  251. package/build/esm/hooks/useCollapsibleText.js +17 -0
  252. package/build/esm/hooks/useCollapsibleText.js.map +1 -0
  253. package/build/{hooks → esm/hooks}/useTabs/index.d.ts +1 -1
  254. package/build/{hooks → esm/hooks}/useTabs/useTabs.d.ts +3 -3
  255. package/build/esm/hooks/useTabs/useTabs.js +35 -0
  256. package/build/esm/hooks/useTabs/useTabs.js.map +1 -0
  257. package/build/{hooks → esm/hooks}/useTabs/useTabsOptions.d.ts +3 -3
  258. package/build/{hooks → esm/hooks}/useTabs/useTabsResult.d.ts +22 -22
  259. package/build/{index.d.ts → esm/index.d.ts} +3 -3
  260. package/build/esm/index.js +60 -0
  261. package/build/esm/index.js.map +1 -0
  262. package/build/{types → esm/types}/index.d.ts +2 -2
  263. package/build/{util → esm/util}/ServerStyleSheets.d.ts +1 -1
  264. package/build/{util → esm/util}/colors/alpha.d.ts +1 -1
  265. package/build/{util → esm/util}/colors/darken.d.ts +1 -1
  266. package/build/{util → esm/util}/colors/decomposeColor.d.ts +1 -1
  267. package/build/{util → esm/util}/colors/getLuminance.d.ts +1 -1
  268. package/build/{util → esm/util}/colors/hexToRgb.d.ts +1 -1
  269. package/build/{util → esm/util}/colors/index.d.ts +8 -8
  270. package/build/{util → esm/util}/colors/lighten.d.ts +1 -1
  271. package/build/{util → esm/util}/colors/recomposeColor.d.ts +1 -1
  272. package/build/{util → esm/util}/colors/rgbToHex.d.ts +1 -1
  273. package/build/{util → esm/util}/createTheme.d.ts +1 -1
  274. package/build/{util → esm/util}/index.d.ts +4 -4
  275. package/build/{util → esm/util}/makeStyles.d.ts +1 -1
  276. package/build/index.js +1130 -1729
  277. package/build/index.js.map +1 -1
  278. package/package.json +7 -7
  279. package/build/components/Avatar/Avatar.d.ts +0 -3
  280. package/build/components/Button/ButtonStyles.d.ts +0 -2
  281. package/build/components/Checkbox/Checkbox.d.ts +0 -3
  282. package/build/components/IconButton/IconButton.d.ts +0 -3
  283. package/build/components/Paper/Paper.d.ts +0 -6
  284. package/build/components/Radio/Radio.d.ts +0 -3
  285. package/build/components/Switch/Switch.d.ts +0 -3
  286. package/build/components/ToggleButton/ToggleButton.d.ts +0 -3
  287. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -3
  288. package/build/components/Tooltip/Tooltip.d.ts +0 -3
  289. package/build/components/Typography/TypographyStyles.d.ts +0 -4
  290. package/build/index.es.js +0 -1479
  291. package/build/index.es.js.map +0 -1
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { PaperProps as MuiPaperProps } from '@material-ui/core';
3
+ export interface PaperProps extends MuiPaperProps {
4
+ legacyStyles?: boolean;
5
+ }
6
+ export declare const Paper: React.ForwardRefExoticComponent<Pick<PaperProps, "color" | "translate" | "hidden" | "style" | "square" | "aria-describedby" | "aria-hidden" | "aria-label" | "className" | "variant" | "slot" | "title" | "id" | "lang" | "role" | "tabIndex" | "elevation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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" | "classes" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "component" | "legacyStyles"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,28 @@
1
+ import { __rest, __assign } from 'tslib';
2
+ import React, { forwardRef } from 'react';
3
+ import { makeStyles, Paper as Paper$1 } from '@material-ui/core';
4
+
5
+ var useStyles = makeStyles(function (_a) {
6
+ var spacing = _a.spacing;
7
+ return ({
8
+ root: {
9
+ '&:last-child': {
10
+ marginBottom: 0,
11
+ },
12
+ marginBottom: spacing(4),
13
+ padding: spacing(4),
14
+ },
15
+ });
16
+ });
17
+ var Paper = forwardRef(function (props, ref) {
18
+ var legacyStyles = props.legacyStyles, restProps = __rest(props, ["legacyStyles"]);
19
+ var classes = useStyles(props);
20
+ return React.createElement(Paper$1, __assign({}, ref, { classes: __assign({}, (legacyStyles && classes)) }, restProps));
21
+ });
22
+ Paper.displayName = 'Paper';
23
+ Paper.defaultProps = {
24
+ legacyStyles: false,
25
+ };
26
+
27
+ export { Paper };
28
+ //# sourceMappingURL=Paper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Paper.js","sources":["../../../../src/components/Paper/Paper.tsx"],"sourcesContent":["import React, { forwardRef } from 'react'\nimport { makeStyles, Paper as MuiPaper, PaperProps as MuiPaperProps } from '@material-ui/core'\n\nconst useStyles = makeStyles(({ spacing }) => ({\n root: {\n '&:last-child': {\n marginBottom: 0,\n },\n marginBottom: spacing(4),\n padding: spacing(4),\n },\n}))\n\nexport interface PaperProps extends MuiPaperProps {\n legacyStyles?: boolean\n}\n\nexport const Paper = forwardRef<HTMLDivElement, PaperProps>((props, ref) => {\n const { legacyStyles, ...restProps } = props\n const classes = useStyles(props)\n return <MuiPaper {...ref} classes={{ ...(legacyStyles && classes) }} {...restProps} />\n})\n\nPaper.displayName = 'Paper'\n\nPaper.defaultProps = {\n legacyStyles: false,\n}\n"],"names":["MuiPaper"],"mappings":";;;;AAGA,IAAM,SAAS,GAAG,UAAU,CAAC,UAAC,EAAW,EAAA;AAAT,IAAA,IAAA,OAAO,GAAA,EAAA,CAAA,OAAA;AAAO,IAAA,QAAC;AAC7C,QAAA,IAAI,EAAE;AACJ,YAAA,cAAc,EAAE;AACd,gBAAA,YAAY,EAAE,CAAC;AAChB,aAAA;AACD,YAAA,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;AACxB,YAAA,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AACpB,SAAA;KACF;AAR6C,CAQ5C,CAAC;IAMU,KAAK,GAAG,UAAU,CAA6B,UAAC,KAAK,EAAE,GAAG,EAAA;IAC7D,IAAA,YAAY,GAAmB,KAAK,CAAxB,YAAA,EAAK,SAAS,GAAA,MAAA,CAAK,KAAK,EAAtC,CAA8B,cAAA,CAAA,CAAF;AAClC,IAAA,IAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC;AAChC,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,OAAQ,EAAK,QAAA,CAAA,EAAA,EAAA,GAAG,IAAE,OAAO,EAAA,QAAA,CAAA,EAAA,GAAQ,YAAY,IAAI,OAAO,EAAS,EAAA,EAAA,SAAS,EAAI;AACxF,CAAC;AAED,KAAK,CAAC,WAAW,GAAG,OAAO;AAE3B,KAAK,CAAC,YAAY,GAAG;AACnB,IAAA,YAAY,EAAE,KAAK;CACpB;;;;"}
@@ -1 +1 @@
1
- export { Paper as default, PaperProps } from './Paper';
1
+ export { Paper as default, PaperProps } from './Paper';
@@ -1,2 +1,2 @@
1
- import { FC } from 'react';
2
- export declare const PaperContent: FC<Record<string, never>>;
1
+ import { FC } from 'react';
2
+ export declare const PaperContent: FC<Record<string, never>>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { Box } from '@material-ui/core';
3
+
4
+ var PaperContent = function (props) {
5
+ var children = props.children;
6
+ return React.createElement(Box, { padding: 4 }, children);
7
+ };
8
+
9
+ export { PaperContent };
10
+ //# sourceMappingURL=PaperContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaperContent.js","sources":["../../../../src/components/PaperContent/PaperContent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nimport Box from '../Box'\n\nexport const PaperContent: FC<Record<string, never>> = (props) => {\n const { children } = props\n return <Box padding={4}>{children}</Box>\n}\n"],"names":[],"mappings":";;;AAIO,IAAM,YAAY,GAA8B,UAAC,KAAK,EAAA;AACnD,IAAA,IAAA,QAAQ,GAAK,KAAK,CAAA,QAAV;IAChB,OAAO,KAAA,CAAA,aAAA,CAAC,GAAG,EAAC,EAAA,OAAO,EAAE,CAAC,EAAA,EAAG,QAAQ,CAAO;AAC1C;;;;"}
@@ -1 +1 @@
1
- export { PaperContent as default } from './PaperContent';
1
+ export { PaperContent as default } from './PaperContent';
@@ -1 +1 @@
1
- export { Popover as default, PopoverProps } from '@material-ui/core';
1
+ export { Popover as default, PopoverProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { Popper as default, PopperProps } from '@material-ui/core';
1
+ export { Popper as default, PopperProps } from '@material-ui/core';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { RadioProps } from './RadioProps';
3
+ export declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "color" | "translate" | "hidden" | "size" | "style" | "icon" | "disabled" | "aria-describedby" | "aria-hidden" | "aria-label" | "className" | "form" | "label" | "slot" | "title" | "id" | "lang" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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" | "key" | "classes" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "readOnly" | "required" | "checked" | "action" | "disableFocusRipple" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "checkedIcon" | "edge" | "inputProps" | "inputRef" | "LabelProps"> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,14 @@
1
+ import { __rest, __assign } from 'tslib';
2
+ import React, { forwardRef } from 'react';
3
+ import MuiRadio from '@material-ui/core/Radio';
4
+ import FormControlLabel from '@material-ui/core/FormControlLabel';
5
+
6
+ var Radio = forwardRef(function (props, ref) {
7
+ var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = __rest(props, ["label", "disabled", "LabelProps"]);
8
+ var control = React.createElement(MuiRadio, __assign({ disabled: label ? undefined : disabled }, muiProps));
9
+ return label ? (React.createElement(FormControlLabel, __assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
10
+ });
11
+ Radio.displayName = 'Radio';
12
+
13
+ export { Radio };
14
+ //# sourceMappingURL=Radio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radio.js","sources":["../../../../src/components/Radio/Radio.tsx"],"sourcesContent":["import React, { forwardRef } from 'react'\nimport MuiRadio from '@material-ui/core/Radio'\n\nimport FormControlLabel from '../FormControlLabel'\nimport { RadioProps } from './RadioProps'\n\nexport const Radio = forwardRef<HTMLInputElement, RadioProps>((props, ref) => {\n const { label, disabled, LabelProps, ...muiProps } = props\n const control = <MuiRadio disabled={label ? undefined : disabled} {...muiProps} />\n return label ? (\n <FormControlLabel disabled={disabled} inputRef={ref} control={control} label={label} {...LabelProps} />\n ) : (\n control\n )\n})\n\nRadio.displayName = 'Radio'\n"],"names":[],"mappings":";;;;;IAMa,KAAK,GAAG,UAAU,CAA+B,UAAC,KAAK,EAAE,GAAG,EAAA;IAC/D,IAAA,KAAK,GAAwC,KAAK,CAAA,KAA7C,EAAE,QAAQ,GAA8B,KAAK,CAAnC,QAAA,EAAE,UAAU,GAAkB,KAAK,WAAvB,EAAK,QAAQ,UAAK,KAAK,EAApD,CAA4C,OAAA,EAAA,UAAA,EAAA,YAAA,CAAA,CAAF;AAChD,IAAA,IAAM,OAAO,GAAG,KAAA,CAAA,aAAA,CAAC,QAAQ,EAAC,QAAA,CAAA,EAAA,QAAQ,EAAE,KAAK,GAAG,SAAS,GAAG,QAAQ,EAAM,EAAA,QAAQ,EAAI;AAClF,IAAA,OAAO,KAAK,IACV,KAAC,CAAA,aAAA,CAAA,gBAAgB,EAAC,QAAA,CAAA,EAAA,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAM,EAAA,UAAU,CAAI,CAAA,KAEvG,OAAO,CACR;AACH,CAAC;AAED,KAAK,CAAC,WAAW,GAAG,OAAO;;;;"}
@@ -1,8 +1,8 @@
1
- import { RadioProps as MuiRadioProps } from '@material-ui/core/Radio';
2
- import { FormControlLabelProps } from '../FormControlLabel';
3
- export interface RadioProps extends MuiRadioProps {
4
- /** Adds a text label to the Radio. If provided, the Radio will be wrapped by a FormControlLabel component. */
5
- label: string;
6
- /** Props applied to the FormControlLabel component wrapping a Radio if a label is given. */
7
- LabelProps: Omit<FormControlLabelProps, 'control'>;
8
- }
1
+ import { RadioProps as MuiRadioProps } from '@material-ui/core/Radio';
2
+ import { FormControlLabelProps } from '../FormControlLabel';
3
+ export interface RadioProps extends MuiRadioProps {
4
+ /** Adds a text label to the Radio. If provided, the Radio will be wrapped by a FormControlLabel component. */
5
+ label: string;
6
+ /** Props applied to the FormControlLabel component wrapping a Radio if a label is given. */
7
+ LabelProps: Omit<FormControlLabelProps, 'control'>;
8
+ }
@@ -1,2 +1,2 @@
1
- export { Radio as default } from './Radio';
2
- export { RadioProps } from './RadioProps';
1
+ export { Radio as default } from './Radio';
2
+ export { RadioProps } from './RadioProps';
@@ -1,3 +1,3 @@
1
- import { FC } from 'react';
2
- import { SplitInputProps } from './SplitInputProps';
3
- export declare const SplitInput: FC<SplitInputProps>;
1
+ import { FC } from 'react';
2
+ import { SplitInputProps } from './SplitInputProps';
3
+ export declare const SplitInput: FC<SplitInputProps>;
@@ -0,0 +1,22 @@
1
+ import { __assign } from 'tslib';
2
+ import React from 'react';
3
+ import { Box } from '@material-ui/core';
4
+ import { Button } from '../Button/Button.js';
5
+ import TextField from '@material-ui/core/TextField';
6
+ import { useSplitInputStyles } from './SplitInputStyles.js';
7
+
8
+ var SplitInput = function (props) {
9
+ var buttonLabel = props.buttonLabel, TextFieldProps = props.TextFieldProps, ButtonProps = props.ButtonProps, color = props.color, onChange = props.onChange, onClick = props.onClick;
10
+ var classes = useSplitInputStyles(props);
11
+ return (React.createElement(Box, { display: "flex" },
12
+ React.createElement(TextField, __assign({ classes: { root: classes.textfield }, InputProps: { classes: { root: classes.input, focused: classes.focused } }, color: color, variant: "outlined", onChange: onChange }, TextFieldProps)),
13
+ React.createElement(Button, __assign({ classes: { root: classes.button }, disableElevation: true, color: color, variant: "contained", onClick: onClick }, ButtonProps), buttonLabel)));
14
+ };
15
+ SplitInput.displayName = 'SplitInput';
16
+ SplitInput.defaultProps = {
17
+ backgroundTransparency: true,
18
+ color: 'primary',
19
+ };
20
+
21
+ export { SplitInput };
22
+ //# sourceMappingURL=SplitInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplitInput.js","sources":["../../../../src/components/SplitInput/SplitInput.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nimport Box from '../Box'\nimport Button from '../Button'\nimport TextField from '../TextField'\nimport { useSplitInputStyles } from './SplitInputStyles'\nimport { SplitInputProps } from './SplitInputProps'\n\nexport const SplitInput: FC<SplitInputProps> = (props) => {\n const { buttonLabel, TextFieldProps, ButtonProps, color, onChange, onClick } = props\n const classes = useSplitInputStyles(props)\n return (\n <Box display=\"flex\">\n <TextField\n classes={{ root: classes.textfield }}\n InputProps={{ classes: { root: classes.input, focused: classes.focused } }}\n color={color}\n variant=\"outlined\"\n onChange={onChange}\n {...TextFieldProps}\n />\n <Button\n classes={{ root: classes.button }}\n disableElevation\n color={color}\n variant=\"contained\"\n onClick={onClick}\n {...ButtonProps}\n >\n {buttonLabel}\n </Button>\n </Box>\n )\n}\n\nSplitInput.displayName = 'SplitInput'\n\nSplitInput.defaultProps = {\n backgroundTransparency: true,\n color: 'primary',\n}\n"],"names":[],"mappings":";;;;;;;AAQO,IAAM,UAAU,GAAwB,UAAC,KAAK,EAAA;AAC3C,IAAA,IAAA,WAAW,GAA4D,KAAK,CAAA,WAAjE,EAAE,cAAc,GAA4C,KAAK,CAAjD,cAAA,EAAE,WAAW,GAA+B,KAAK,CAAA,WAApC,EAAE,KAAK,GAAwB,KAAK,CAA7B,KAAA,EAAE,QAAQ,GAAc,KAAK,CAAA,QAAnB,EAAE,OAAO,GAAK,KAAK,QAAV;AAC1E,IAAA,IAAM,OAAO,GAAG,mBAAmB,CAAC,KAAK,CAAC;AAC1C,IAAA,QACE,KAAC,CAAA,aAAA,CAAA,GAAG,EAAC,EAAA,OAAO,EAAC,MAAM,EAAA;QACjB,KAAC,CAAA,aAAA,CAAA,SAAS,aACR,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,EACpC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,EAC1E,KAAK,EAAE,KAAK,EACZ,OAAO,EAAC,UAAU,EAClB,QAAQ,EAAE,QAAQ,EACd,EAAA,cAAc,CAClB,CAAA;AACF,QAAA,KAAA,CAAA,aAAA,CAAC,MAAM,EAAA,QAAA,CAAA,EACL,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,MAAM,EAAE,EACjC,gBAAgB,QAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,OAAO,EACZ,EAAA,WAAW,CAEd,EAAA,WAAW,CACL,CACL;AAEV;AAEA,UAAU,CAAC,WAAW,GAAG,YAAY;AAErC,UAAU,CAAC,YAAY,GAAG;AACxB,IAAA,sBAAsB,EAAE,IAAI;AAC5B,IAAA,KAAK,EAAE,SAAS;CACjB;;;;"}
@@ -1,20 +1,20 @@
1
- import { ButtonProps } from '../Button';
2
- import { TextFieldProps } from '../TextField';
3
- export interface SplitInputProps {
4
- /** Props applied to the composed TextField component */
5
- TextFieldProps?: TextFieldProps;
6
- /** Props applied to the composed Button component */
7
- ButtonProps?: ButtonProps;
8
- /** Label for the button element */
9
- buttonLabel: string;
10
- /** Sets the color for both TextField and Button */
11
- color?: 'primary' | 'secondary';
12
- /** Sets the text color for the TextField */
13
- inputTextColor?: string;
14
- /** Applies a partially transparent background to the TextField */
15
- backgroundTransparency?: boolean;
16
- /** Event callback for the TextField change event */
17
- onChange?: TextFieldProps['onChange'];
18
- /** Event callback for the Button click event */
19
- onClick?: ButtonProps['onClick'];
20
- }
1
+ import { ButtonProps } from '../Button';
2
+ import { TextFieldProps } from '../TextField';
3
+ export interface SplitInputProps {
4
+ /** Props applied to the composed TextField component */
5
+ TextFieldProps?: TextFieldProps;
6
+ /** Props applied to the composed Button component */
7
+ ButtonProps?: ButtonProps;
8
+ /** Label for the button element */
9
+ buttonLabel: string;
10
+ /** Sets the color for both TextField and Button */
11
+ color?: 'primary' | 'secondary';
12
+ /** Sets the text color for the TextField */
13
+ inputTextColor?: string;
14
+ /** Applies a partially transparent background to the TextField */
15
+ backgroundTransparency?: boolean;
16
+ /** Event callback for the TextField change event */
17
+ onChange?: TextFieldProps['onChange'];
18
+ /** Event callback for the Button click event */
19
+ onClick?: ButtonProps['onClick'];
20
+ }
@@ -1,2 +1,2 @@
1
- import { SplitInputProps } from './SplitInputProps';
2
- export declare const useSplitInputStyles: (props: SplitInputProps) => import("@material-ui/styles").ClassNameMap<string>;
1
+ import { SplitInputProps } from './SplitInputProps';
2
+ export declare const useSplitInputStyles: (props: SplitInputProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,29 @@
1
+ import { makeStyles } from '@material-ui/core/styles';
2
+
3
+ var useSplitInputStyles = makeStyles(function () { return ({
4
+ textfield: {
5
+ background: function (props) { return (props.backgroundTransparency ? '#FFFFFF44' : 'none'); },
6
+ borderTopLeftRadius: 4,
7
+ borderBottomLeftRadius: 4,
8
+ '& fieldset': {
9
+ borderRight: 'none',
10
+ borderTopRightRadius: 0,
11
+ borderBottomRightRadius: 0,
12
+ },
13
+ },
14
+ button: {
15
+ borderTopLeftRadius: 0,
16
+ borderBottomLeftRadius: 0,
17
+ alignSelf: 'stretch',
18
+ },
19
+ input: {
20
+ color: function (props) { return props.inputTextColor || 'inherit'; },
21
+ '&$focused fieldset': {
22
+ top: -4,
23
+ },
24
+ },
25
+ focused: {},
26
+ }); });
27
+
28
+ export { useSplitInputStyles };
29
+ //# sourceMappingURL=SplitInputStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplitInputStyles.js","sources":["../../../../src/components/SplitInput/SplitInputStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\n\nimport { SplitInputProps } from './SplitInputProps'\n\nexport const useSplitInputStyles = makeStyles<Theme, SplitInputProps>(() => ({\n textfield: {\n background: (props) => (props.backgroundTransparency ? '#FFFFFF44' : 'none'),\n borderTopLeftRadius: 4,\n borderBottomLeftRadius: 4,\n '& fieldset': {\n borderRight: 'none',\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n },\n },\n button: {\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n alignSelf: 'stretch',\n },\n input: {\n color: (props) => props.inputTextColor || 'inherit',\n '&$focused fieldset': {\n top: -4,\n },\n },\n focused: {},\n}))\n"],"names":[],"mappings":";;IAIa,mBAAmB,GAAG,UAAU,CAAyB,YAAA,EAAM,QAAC;AAC3E,IAAA,SAAS,EAAE;AACT,QAAA,UAAU,EAAE,UAAC,KAAK,IAAK,QAAC,KAAK,CAAC,sBAAsB,GAAG,WAAW,GAAG,MAAM,IAAC;AAC5E,QAAA,mBAAmB,EAAE,CAAC;AACtB,QAAA,sBAAsB,EAAE,CAAC;AACzB,QAAA,YAAY,EAAE;AACZ,YAAA,WAAW,EAAE,MAAM;AACnB,YAAA,oBAAoB,EAAE,CAAC;AACvB,YAAA,uBAAuB,EAAE,CAAC;AAC3B,SAAA;AACF,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,mBAAmB,EAAE,CAAC;AACtB,QAAA,sBAAsB,EAAE,CAAC;AACzB,QAAA,SAAS,EAAE,SAAS;AACrB,KAAA;AACD,IAAA,KAAK,EAAE;QACL,KAAK,EAAE,UAAC,KAAK,EAAK,EAAA,OAAA,KAAK,CAAC,cAAc,IAAI,SAAS,CAAA,EAAA;AACnD,QAAA,oBAAoB,EAAE;YACpB,GAAG,EAAE,EAAE;AACR,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE,EAAE;CACZ,EAAC,EAAA;;;;"}
@@ -1,2 +1,2 @@
1
- export { SplitInput as default } from './SplitInput';
2
- export { SplitInputProps } from './SplitInputProps';
1
+ export { SplitInput as default } from './SplitInput';
2
+ export { SplitInputProps } from './SplitInputProps';
@@ -1 +1 @@
1
- export { Step as default, StepProps } from '@material-ui/core';
1
+ export { Step as default, StepProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { StepButton as default, StepButtonProps } from '@material-ui/core';
1
+ export { StepButton as default, StepButtonProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { StepConnector as default, StepConnectorProps } from '@material-ui/core';
1
+ export { StepConnector as default, StepConnectorProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { StepContent as default, StepContentProps } from '@material-ui/core';
1
+ export { StepContent as default, StepContentProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { StepIcon as default, StepIconProps } from '@material-ui/core';
1
+ export { StepIcon as default, StepIconProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { StepLabel as default, StepLabelProps } from '@material-ui/core';
1
+ export { StepLabel as default, StepLabelProps } from '@material-ui/core';
@@ -1 +1 @@
1
- export { Stepper as default, StepperProps } from '@material-ui/core';
1
+ export { Stepper as default, StepperProps } from '@material-ui/core';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { SwitchProps } from './SwitchProps';
3
+ export declare const Switch: React.ForwardRefExoticComponent<Pick<SwitchProps, "color" | "translate" | "hidden" | "size" | "style" | "icon" | "disabled" | "aria-describedby" | "aria-hidden" | "aria-label" | "className" | "form" | "label" | "slot" | "title" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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" | "key" | "classes" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "readOnly" | "required" | "checked" | "action" | "disableFocusRipple" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "checkedIcon" | "edge" | "inputProps" | "inputRef" | "LabelProps"> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,16 @@
1
+ import { __rest, __assign } from 'tslib';
2
+ import React, { forwardRef } from 'react';
3
+ import MuiSwitch from '@material-ui/core/Switch';
4
+ import FormControlLabel from '@material-ui/core/FormControlLabel';
5
+ import { useSwitchStyles } from './switch.styles.js';
6
+
7
+ var Switch = forwardRef(function (props, ref) {
8
+ var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = __rest(props, ["label", "disabled", "LabelProps"]);
9
+ var classes = useSwitchStyles(props);
10
+ var control = React.createElement(MuiSwitch, __assign({ classes: classes, disabled: label ? undefined : disabled }, muiProps));
11
+ return label ? (React.createElement(FormControlLabel, __assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
12
+ });
13
+ Switch.displayName = 'Switch';
14
+
15
+ export { Switch };
16
+ //# sourceMappingURL=Switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.js","sources":["../../../../src/components/Switch/Switch.tsx"],"sourcesContent":["import React, { forwardRef } from 'react'\nimport MuiSwitch from '@material-ui/core/Switch'\n\nimport FormControlLabel from '../FormControlLabel'\nimport { useSwitchStyles } from './switch.styles'\nimport { SwitchProps } from './SwitchProps'\n\nexport const Switch = forwardRef<HTMLInputElement, SwitchProps>((props, ref) => {\n const { label, disabled, LabelProps, ...muiProps } = props\n const classes = useSwitchStyles(props)\n const control = <MuiSwitch classes={classes} disabled={label ? undefined : disabled} {...muiProps} />\n return label ? (\n <FormControlLabel disabled={disabled} inputRef={ref} control={control} label={label} {...LabelProps} />\n ) : (\n control\n )\n})\n\nSwitch.displayName = 'Switch'\n"],"names":[],"mappings":";;;;;;IAOa,MAAM,GAAG,UAAU,CAAgC,UAAC,KAAK,EAAE,GAAG,EAAA;IACjE,IAAA,KAAK,GAAwC,KAAK,CAAA,KAA7C,EAAE,QAAQ,GAA8B,KAAK,CAAnC,QAAA,EAAE,UAAU,GAAkB,KAAK,WAAvB,EAAK,QAAQ,UAAK,KAAK,EAApD,CAA4C,OAAA,EAAA,UAAA,EAAA,YAAA,CAAA,CAAF;AAChD,IAAA,IAAM,OAAO,GAAG,eAAe,CAAC,KAAK,CAAC;IACtC,IAAM,OAAO,GAAG,KAAC,CAAA,aAAA,CAAA,SAAS,aAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,GAAG,SAAS,GAAG,QAAQ,EAAA,EAAM,QAAQ,CAAA,CAAI;AACrG,IAAA,OAAO,KAAK,IACV,KAAC,CAAA,aAAA,CAAA,gBAAgB,EAAC,QAAA,CAAA,EAAA,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAM,EAAA,UAAU,CAAI,CAAA,KAEvG,OAAO,CACR;AACH,CAAC;AAED,MAAM,CAAC,WAAW,GAAG,QAAQ;;;;"}
@@ -1,8 +1,8 @@
1
- import { SwitchProps as MuiSwitchProps } from '@material-ui/core/Switch';
2
- import { FormControlLabelProps } from '../FormControlLabel';
3
- export interface SwitchProps extends MuiSwitchProps {
4
- /** Adds a text label to the Switch. If provided, the Switch will be wrapped by a FormControlLabel component. */
5
- label: string;
6
- /** Props applied to the FormControlLabel component wrapping a Switch if a label is given. */
7
- LabelProps: Omit<FormControlLabelProps, 'control'>;
8
- }
1
+ import { SwitchProps as MuiSwitchProps } from '@material-ui/core/Switch';
2
+ import { FormControlLabelProps } from '../FormControlLabel';
3
+ export interface SwitchProps extends MuiSwitchProps {
4
+ /** Adds a text label to the Switch. If provided, the Switch will be wrapped by a FormControlLabel component. */
5
+ label: string;
6
+ /** Props applied to the FormControlLabel component wrapping a Switch if a label is given. */
7
+ LabelProps: Omit<FormControlLabelProps, 'control'>;
8
+ }
@@ -1,2 +1,2 @@
1
- export { Switch as default } from './Switch';
2
- export { SwitchProps } from './SwitchProps';
1
+ export { Switch as default } from './Switch';
2
+ export { SwitchProps } from './SwitchProps';
@@ -1,2 +1,2 @@
1
- import { SwitchProps } from './SwitchProps';
2
- export declare const useSwitchStyles: (props: SwitchProps) => import("@material-ui/styles").ClassNameMap<string>;
1
+ import { SwitchProps } from './SwitchProps';
2
+ export declare const useSwitchStyles: (props: SwitchProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,17 @@
1
+ import { makeStyles } from '@material-ui/core/styles';
2
+
3
+ var useSwitchStyles = makeStyles(function (theme) { return ({
4
+ checked: {
5
+ '& $thumb': {
6
+ background: theme.palette.success.main,
7
+ },
8
+ '&& + $track': {
9
+ backgroundColor: theme.palette.success.main,
10
+ },
11
+ },
12
+ thumb: {},
13
+ track: {},
14
+ }); });
15
+
16
+ export { useSwitchStyles };
17
+ //# sourceMappingURL=switch.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.styles.js","sources":["../../../../src/components/Switch/switch.styles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\nimport { SwitchProps } from './SwitchProps'\n\nexport const useSwitchStyles = makeStyles<Theme, SwitchProps>((theme) => ({\n checked: {\n '& $thumb': {\n background: theme.palette.success.main,\n },\n '&& + $track': {\n backgroundColor: theme.palette.success.main,\n },\n },\n thumb: {},\n track: {},\n}))\n"],"names":[],"mappings":";;AAGa,IAAA,eAAe,GAAG,UAAU,CAAqB,UAAC,KAAK,EAAK,EAAA,QAAC;AACxE,IAAA,OAAO,EAAE;AACP,QAAA,UAAU,EAAE;AACV,YAAA,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;AACvC,SAAA;AACD,QAAA,aAAa,EAAE;AACb,YAAA,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;AAC5C,SAAA;AACF,KAAA;AACD,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,KAAK,EAAE,EAAE;CACV,EAAC,EAAA;;;;"}
@@ -1 +1 @@
1
- export { default, TabProps } from '@material-ui/core/Tab';
1
+ export { default, TabProps } from '@material-ui/core/Tab';
@@ -1,3 +1,3 @@
1
- import { PropsWithChildren } from 'react';
2
- import { TabPanelProps } from './TabPanelProps';
3
- export declare const TabPanel: (props: PropsWithChildren<TabPanelProps>) => JSX.Element | null;
1
+ import { PropsWithChildren } from 'react';
2
+ import { TabPanelProps } from './TabPanelProps';
3
+ export declare const TabPanel: (props: PropsWithChildren<TabPanelProps>) => JSX.Element | null;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { Box } from '@material-ui/core';
3
+
4
+ var TabPanel = function (props) {
5
+ var children = props.children, show = props.show;
6
+ return show ? React.createElement(Box, null, children) : null;
7
+ };
8
+
9
+ export { TabPanel };
10
+ //# sourceMappingURL=TabPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabPanel.js","sources":["../../../../src/components/TabPanel/TabPanel.tsx"],"sourcesContent":["import React, { PropsWithChildren } from 'react'\nimport Box from '../Box'\n\nimport { TabPanelProps } from './TabPanelProps'\n\nexport const TabPanel = (props: PropsWithChildren<TabPanelProps>) => {\n const { children, show } = props\n return show ? <Box>{children}</Box> : null\n}\n"],"names":[],"mappings":";;;AAKO,IAAM,QAAQ,GAAG,UAAC,KAAuC,EAAA;IACtD,IAAA,QAAQ,GAAW,KAAK,CAAA,QAAhB,EAAE,IAAI,GAAK,KAAK,CAAA,IAAV;AACtB,IAAA,OAAO,IAAI,GAAG,KAAC,CAAA,aAAA,CAAA,GAAG,EAAE,IAAA,EAAA,QAAQ,CAAO,GAAG,IAAI;AAC5C;;;;"}
@@ -1,3 +1,3 @@
1
- export interface TabPanelProps {
2
- show: boolean;
3
- }
1
+ export interface TabPanelProps {
2
+ show: boolean;
3
+ }
@@ -1,2 +1,2 @@
1
- export { TabPanel } from './TabPanel';
2
- export { TabPanelProps } from './TabPanelProps';
1
+ export { TabPanel } from './TabPanel';
2
+ export { TabPanelProps } from './TabPanelProps';
@@ -1 +1 @@
1
- export { default, TabsProps } from '@material-ui/core/Tabs';
1
+ export { default, TabsProps } from '@material-ui/core/Tabs';
@@ -1 +1 @@
1
- export { default, TextFieldProps } from '@material-ui/core/TextField';
1
+ export { default, TextFieldProps } from '@material-ui/core/TextField';
@@ -1 +1 @@
1
- export { ThemeProvider as default, ThemeProviderProps } from '@material-ui/core';
1
+ export { ThemeProvider as default, ThemeProviderProps } from '@material-ui/core';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ToggleButtonProps } from './ToggleButtonProps';
3
+ export declare const ToggleButton: React.ForwardRefExoticComponent<Pick<ToggleButtonProps, "color" | "translate" | "hidden" | "size" | "style" | "disabled" | "aria-describedby" | "aria-hidden" | "aria-label" | "className" | "form" | "slot" | "title" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "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" | "key" | "classes" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "selected" | "disableFocusRipple" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps"> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,20 @@
1
+ import { __rest, __assign } from 'tslib';
2
+ import React, { forwardRef } from 'react';
3
+ import MuiToggleButton from '@material-ui/lab/ToggleButton';
4
+ import { useToggleButtonStyles } from './ToggleButtonStyles.js';
5
+
6
+ var ToggleButton = forwardRef(function (props, ref) {
7
+ var children = props.children, muiProps = __rest(props, ["children"]);
8
+ var classes = useToggleButtonStyles(props);
9
+ return (React.createElement(MuiToggleButton, __assign({ ref: ref, classes: {
10
+ root: classes.root,
11
+ selected: classes.selected,
12
+ } }, muiProps), children));
13
+ });
14
+ ToggleButton.defaultProps = {
15
+ color: 'primary',
16
+ };
17
+ ToggleButton.displayName = 'ToggleButton';
18
+
19
+ export { ToggleButton };
20
+ //# sourceMappingURL=ToggleButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleButton.js","sources":["../../../../src/components/ToggleButton/ToggleButton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react'\nimport MuiToggleButton from '@material-ui/lab/ToggleButton'\n\nimport { useToggleButtonStyles } from './ToggleButtonStyles'\nimport { ToggleButtonProps } from './ToggleButtonProps'\n\nexport const ToggleButton = forwardRef<HTMLButtonElement, ToggleButtonProps>((props, ref) => {\n const { children, ...muiProps } = props\n const classes = useToggleButtonStyles(props)\n\n return (\n <MuiToggleButton\n ref={ref}\n classes={{\n root: classes.root,\n selected: classes.selected,\n }}\n {...muiProps}\n >\n {children}\n </MuiToggleButton>\n )\n})\n\nToggleButton.defaultProps = {\n color: 'primary',\n}\n\nToggleButton.displayName = 'ToggleButton'\n"],"names":[],"mappings":";;;;;IAMa,YAAY,GAAG,UAAU,CAAuC,UAAC,KAAK,EAAE,GAAG,EAAA;IAC9E,IAAA,QAAQ,GAAkB,KAAK,CAAvB,QAAA,EAAK,QAAQ,GAAA,MAAA,CAAK,KAAK,EAAjC,CAAyB,UAAA,CAAA,CAAF;AAC7B,IAAA,IAAM,OAAO,GAAG,qBAAqB,CAAC,KAAK,CAAC;IAE5C,QACE,oBAAC,eAAe,EAAA,QAAA,CAAA,EACd,GAAG,EAAE,GAAG,EACR,OAAO,EAAE;YACP,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;AAC3B,SAAA,EAAA,EACG,QAAQ,CAAA,EAEX,QAAQ,CACO;AAEtB,CAAC;AAED,YAAY,CAAC,YAAY,GAAG;AAC1B,IAAA,KAAK,EAAE,SAAS;CACjB;AAED,YAAY,CAAC,WAAW,GAAG,cAAc;;;;"}
@@ -1,4 +1,4 @@
1
- import { ToggleButtonProps as MuiToggleButtonProps } from '@material-ui/lab/ToggleButton';
2
- export interface ToggleButtonProps extends MuiToggleButtonProps {
3
- color?: 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error';
4
- }
1
+ import { ToggleButtonProps as MuiToggleButtonProps } from '@material-ui/lab/ToggleButton';
2
+ export interface ToggleButtonProps extends MuiToggleButtonProps {
3
+ color?: 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error';
4
+ }
@@ -1,2 +1,2 @@
1
- import { ToggleButtonProps } from './ToggleButtonProps';
2
- export declare const useToggleButtonStyles: (props: ToggleButtonProps) => import("@material-ui/styles").ClassNameMap<string>;
1
+ import { ToggleButtonProps } from './ToggleButtonProps';
2
+ export declare const useToggleButtonStyles: (props: ToggleButtonProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,19 @@
1
+ import { makeStyles } from '@material-ui/core/styles';
2
+
3
+ var useToggleButtonStyles = makeStyles(function (theme) { return ({
4
+ root: {
5
+ color: theme.palette.text.primary,
6
+ },
7
+ selected: {
8
+ '&&': {
9
+ '&:hover': {
10
+ backgroundColor: function (props) { return theme.palette[props.color || 'primary'].dark; },
11
+ },
12
+ backgroundColor: function (props) { return theme.palette[props.color || 'primary'].main; },
13
+ color: 'white',
14
+ },
15
+ },
16
+ }); });
17
+
18
+ export { useToggleButtonStyles };
19
+ //# sourceMappingURL=ToggleButtonStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleButtonStyles.js","sources":["../../../../src/components/ToggleButton/ToggleButtonStyles.ts"],"sourcesContent":["import { Theme } from '@material-ui/core/styles'\nimport { makeStyles } from '@material-ui/core/styles'\n\nimport { ToggleButtonProps } from './ToggleButtonProps'\n\nexport const useToggleButtonStyles = makeStyles<Theme, ToggleButtonProps>((theme) => ({\n root: {\n color: theme.palette.text.primary,\n },\n selected: {\n '&&': {\n '&:hover': {\n backgroundColor: (props) => theme.palette[props.color || 'primary'].dark,\n },\n backgroundColor: (props) => theme.palette[props.color || 'primary'].main,\n color: 'white',\n },\n },\n}))\n"],"names":[],"mappings":";;AAKa,IAAA,qBAAqB,GAAG,UAAU,CAA2B,UAAC,KAAK,EAAK,EAAA,QAAC;AACpF,IAAA,IAAI,EAAE;AACJ,QAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;AAClC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,SAAS,EAAE;AACT,gBAAA,eAAe,EAAE,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,CAAC,IAAI,GAAA;AACzE,aAAA;AACD,YAAA,eAAe,EAAE,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,CAAC,IAAI,GAAA;AACxE,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
@@ -1,2 +1,2 @@
1
- export { ToggleButton as default } from './ToggleButton';
2
- export { ToggleButtonProps } from './ToggleButtonProps';
1
+ export { ToggleButton as default } from './ToggleButton';
2
+ export { ToggleButtonProps } from './ToggleButtonProps';