@epilot/base-elements 2.7.25 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/CHANGELOG.md +1020 -0
  2. package/dist/Accordion/Accordion.d.ts +3 -3
  3. package/dist/Accordion/Accordion.js +11 -11
  4. package/dist/Accordion/AccordionActions.d.ts +3 -3
  5. package/dist/Accordion/AccordionActions.js +11 -11
  6. package/dist/Accordion/AccordionDetails.d.ts +3 -3
  7. package/dist/Accordion/AccordionDetails.js +11 -11
  8. package/dist/Accordion/AccordionSummary.d.ts +3 -3
  9. package/dist/Accordion/AccordionSummary.js +12 -12
  10. package/dist/Accordion/index.d.ts +5 -5
  11. package/dist/Accordion/index.js +8 -8
  12. package/dist/Accordion/types.d.ts +57 -57
  13. package/dist/Accordion/types.js +2 -2
  14. package/dist/AppBar/AppBar.d.ts +4 -4
  15. package/dist/AppBar/AppBar.js +16 -16
  16. package/dist/AppBar/index.d.ts +2 -2
  17. package/dist/AppBar/index.js +5 -5
  18. package/dist/AppBar/types.d.ts +3 -3
  19. package/dist/AppBar/types.js +2 -2
  20. package/dist/Autocomplete/Autocomplete.d.ts +3 -3
  21. package/dist/Autocomplete/Autocomplete.js +48 -48
  22. package/dist/Autocomplete/index.d.ts +2 -2
  23. package/dist/Autocomplete/index.js +7 -7
  24. package/dist/Autocomplete/styles.d.ts +1 -1
  25. package/dist/Autocomplete/styles.js +14 -14
  26. package/dist/Autocomplete/types.d.ts +65 -65
  27. package/dist/Autocomplete/types.js +2 -2
  28. package/dist/AutocompleteX/AutocompleteX.d.ts +2 -2
  29. package/dist/AutocompleteX/AutocompleteX.js +5 -5
  30. package/dist/AutocompleteX/index.d.ts +2 -2
  31. package/dist/AutocompleteX/index.js +7 -7
  32. package/dist/AutocompleteX/types.d.ts +6 -6
  33. package/dist/AutocompleteX/types.js +2 -2
  34. package/dist/Avatar/Avatar.d.ts +3 -3
  35. package/dist/Avatar/Avatar.js +27 -27
  36. package/dist/Avatar/AvatarGroup.d.ts +3 -3
  37. package/dist/Avatar/AvatarGroup.js +21 -21
  38. package/dist/Avatar/index.d.ts +3 -3
  39. package/dist/Avatar/index.js +9 -9
  40. package/dist/Avatar/types.d.ts +48 -48
  41. package/dist/Avatar/types.js +2 -2
  42. package/dist/Badge/Badge.d.ts +3 -3
  43. package/dist/Badge/Badge.js +11 -11
  44. package/dist/Badge/index.d.ts +2 -2
  45. package/dist/Badge/index.js +5 -5
  46. package/dist/Badge/types.d.ts +2 -2
  47. package/dist/Badge/types.js +2 -2
  48. package/dist/Box/Box.d.ts +3 -3
  49. package/dist/Box/Box.js +11 -11
  50. package/dist/Box/index.d.ts +2 -2
  51. package/dist/Box/index.js +5 -5
  52. package/dist/Box/types.d.ts +2 -2
  53. package/dist/Box/types.js +2 -2
  54. package/dist/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  55. package/dist/Breadcrumbs/Breadcrumbs.js +10 -10
  56. package/dist/Breadcrumbs/index.d.ts +2 -2
  57. package/dist/Breadcrumbs/index.js +7 -7
  58. package/dist/Breadcrumbs/types.d.ts +2 -2
  59. package/dist/Breadcrumbs/types.js +2 -2
  60. package/dist/Button/Button.d.ts +2 -2
  61. package/dist/Button/Button.js +5 -5
  62. package/dist/Button/index.d.ts +2 -2
  63. package/dist/Button/index.js +5 -5
  64. package/dist/Button/types.d.ts +2 -2
  65. package/dist/Button/types.js +2 -2
  66. package/dist/ButtonGroup/ButtonGroup.d.ts +3 -3
  67. package/dist/ButtonGroup/ButtonGroup.js +11 -11
  68. package/dist/ButtonGroup/index.d.ts +2 -2
  69. package/dist/ButtonGroup/index.js +5 -5
  70. package/dist/ButtonGroup/types.d.ts +37 -37
  71. package/dist/ButtonGroup/types.js +2 -2
  72. package/dist/Card/Card.d.ts +8 -8
  73. package/dist/Card/Card.js +36 -36
  74. package/dist/Card/index.d.ts +2 -2
  75. package/dist/Card/index.js +5 -5
  76. package/dist/Card/types.d.ts +7 -7
  77. package/dist/Card/types.js +2 -2
  78. package/dist/Checkbox/Checkbox.d.ts +3 -3
  79. package/dist/Checkbox/Checkbox.js +27 -27
  80. package/dist/Checkbox/index.d.ts +2 -2
  81. package/dist/Checkbox/index.js +5 -5
  82. package/dist/Checkbox/types.d.ts +84 -84
  83. package/dist/Checkbox/types.js +2 -2
  84. package/dist/Chip/Chip.d.ts +3 -3
  85. package/dist/Chip/Chip.js +16 -16
  86. package/dist/Chip/RandomColoredChip.d.ts +3 -3
  87. package/dist/Chip/RandomColoredChip.js +79 -79
  88. package/dist/Chip/index.d.ts +2 -2
  89. package/dist/Chip/index.js +5 -5
  90. package/dist/Chip/types.d.ts +13 -13
  91. package/dist/Chip/types.js +2 -2
  92. package/dist/Collapse/Collapse.d.ts +3 -3
  93. package/dist/Collapse/Collapse.js +11 -11
  94. package/dist/Collapse/index.d.ts +2 -2
  95. package/dist/Collapse/index.js +5 -5
  96. package/dist/Collapse/types.d.ts +2 -2
  97. package/dist/Collapse/types.js +2 -2
  98. package/dist/Dialog/Dialog.d.ts +7 -7
  99. package/dist/Dialog/Dialog.js +31 -31
  100. package/dist/Dialog/index.d.ts +2 -2
  101. package/dist/Dialog/index.js +5 -5
  102. package/dist/Dialog/types.d.ts +157 -157
  103. package/dist/Dialog/types.js +2 -2
  104. package/dist/Divider/Divider.d.ts +3 -3
  105. package/dist/Divider/Divider.js +10 -10
  106. package/dist/Divider/index.d.ts +2 -2
  107. package/dist/Divider/index.js +5 -5
  108. package/dist/Divider/types.d.ts +2 -2
  109. package/dist/Divider/types.js +2 -2
  110. package/dist/Drawer/Drawer.d.ts +3 -3
  111. package/dist/Drawer/Drawer.js +11 -11
  112. package/dist/Drawer/index.d.ts +2 -2
  113. package/dist/Drawer/index.js +5 -5
  114. package/dist/Drawer/types.d.ts +2 -2
  115. package/dist/Drawer/types.js +2 -2
  116. package/dist/Drawer360/ActionFooter.d.ts +13 -13
  117. package/dist/Drawer360/ActionFooter.js +108 -108
  118. package/dist/Drawer360/DiscardDialog.d.ts +10 -10
  119. package/dist/Drawer360/DiscardDialog.js +48 -48
  120. package/dist/Drawer360/Drawer360.d.ts +3 -3
  121. package/dist/Drawer360/Drawer360.js +95 -95
  122. package/dist/Drawer360/helpers.d.ts +3 -3
  123. package/dist/Drawer360/helpers.js +61 -61
  124. package/dist/Drawer360/index.d.ts +2 -2
  125. package/dist/Drawer360/index.js +5 -5
  126. package/dist/Drawer360/types.d.ts +30 -30
  127. package/dist/Drawer360/types.js +2 -2
  128. package/dist/Form/FormControl.d.ts +2 -2
  129. package/dist/Form/FormControl.js +4 -4
  130. package/dist/Form/FormControlLabel.d.ts +2 -2
  131. package/dist/Form/FormControlLabel.js +4 -4
  132. package/dist/Form/FormGroup.d.ts +2 -2
  133. package/dist/Form/FormGroup.js +5 -5
  134. package/dist/Form/FormHelperText.d.ts +2 -2
  135. package/dist/Form/FormHelperText.js +4 -4
  136. package/dist/Form/FormLabel.d.ts +2 -2
  137. package/dist/Form/FormLabel.js +4 -4
  138. package/dist/Form/InputAdornment.d.ts +2 -2
  139. package/dist/Form/InputAdornment.js +4 -4
  140. package/dist/Form/InputLabel.d.ts +2 -2
  141. package/dist/Form/InputLabel.js +4 -4
  142. package/dist/Form/index.d.ts +8 -8
  143. package/dist/Form/index.js +19 -19
  144. package/dist/Form/types.d.ts +9 -9
  145. package/dist/Form/types.js +2 -2
  146. package/dist/Grid/Grid.d.ts +3 -3
  147. package/dist/Grid/Grid.js +10 -10
  148. package/dist/Grid/index.d.ts +2 -2
  149. package/dist/Grid/index.js +5 -5
  150. package/dist/Grid/types.d.ts +2 -2
  151. package/dist/Grid/types.js +2 -2
  152. package/dist/Hidden/Hidden.d.ts +3 -3
  153. package/dist/Hidden/Hidden.js +11 -11
  154. package/dist/Hidden/index.d.ts +2 -2
  155. package/dist/Hidden/index.js +5 -5
  156. package/dist/Hidden/types.d.ts +8 -8
  157. package/dist/Hidden/types.js +2 -2
  158. package/dist/Icon/Icon.d.ts +5 -5
  159. package/dist/Icon/Icon.js +57 -57
  160. package/dist/Icon/index.d.ts +2 -2
  161. package/dist/Icon/index.js +9 -9
  162. package/dist/Icon/types.d.ts +46 -46
  163. package/dist/Icon/types.js +2 -2
  164. package/dist/IconButton/IconButton.d.ts +5 -5
  165. package/dist/IconButton/IconButton.js +94 -94
  166. package/dist/IconButton/index.d.ts +2 -2
  167. package/dist/IconButton/index.js +5 -5
  168. package/dist/IconButton/types.d.ts +9 -9
  169. package/dist/IconButton/types.js +2 -2
  170. package/dist/IconButtonWithText/IconButtonWithText.d.ts +4 -4
  171. package/dist/IconButtonWithText/IconButtonWithText.js +59 -59
  172. package/dist/IconButtonWithText/index.d.ts +2 -2
  173. package/dist/IconButtonWithText/index.js +5 -5
  174. package/dist/IconButtonWithText/types.d.ts +10 -10
  175. package/dist/IconButtonWithText/types.js +2 -2
  176. package/dist/Image/Image.d.ts +3 -3
  177. package/dist/Image/Image.js +22 -22
  178. package/dist/Image/index.d.ts +2 -2
  179. package/dist/Image/index.js +7 -7
  180. package/dist/Image/types.d.ts +21 -21
  181. package/dist/Image/types.js +2 -2
  182. package/dist/Link/Link.d.ts +3 -3
  183. package/dist/Link/Link.js +10 -10
  184. package/dist/Link/index.d.ts +2 -2
  185. package/dist/Link/index.js +7 -7
  186. package/dist/Link/types.d.ts +41 -41
  187. package/dist/Link/types.js +2 -2
  188. package/dist/List/List.d.ts +8 -8
  189. package/dist/List/List.js +36 -36
  190. package/dist/List/index.d.ts +2 -2
  191. package/dist/List/index.js +5 -5
  192. package/dist/List/types.d.ts +7 -7
  193. package/dist/List/types.js +2 -2
  194. package/dist/Menu/Menu.d.ts +6 -6
  195. package/dist/Menu/Menu.js +9 -9
  196. package/dist/Menu/index.d.ts +2 -2
  197. package/dist/Menu/index.js +5 -5
  198. package/dist/Menu/types.d.ts +71 -71
  199. package/dist/Menu/types.js +2 -2
  200. package/dist/Notification/Notification.d.ts +5 -5
  201. package/dist/Notification/Notification.js +51 -51
  202. package/dist/Notification/index.d.ts +2 -2
  203. package/dist/Notification/index.js +9 -9
  204. package/dist/Notification/types.d.ts +7 -7
  205. package/dist/Notification/types.js +2 -2
  206. package/dist/Pagination/Pagination.d.ts +4 -4
  207. package/dist/Pagination/Pagination.js +193 -193
  208. package/dist/Pagination/PaginationHelper.d.ts +6 -6
  209. package/dist/Pagination/PaginationHelper.js +123 -123
  210. package/dist/Pagination/index.d.ts +2 -2
  211. package/dist/Pagination/index.js +7 -7
  212. package/dist/Pagination/types.d.ts +29 -29
  213. package/dist/Pagination/types.js +8 -8
  214. package/dist/Paper/Paper.d.ts +2 -2
  215. package/dist/Paper/Paper.js +5 -5
  216. package/dist/Paper/index.d.ts +2 -2
  217. package/dist/Paper/index.js +5 -5
  218. package/dist/Paper/types.d.ts +2 -2
  219. package/dist/Paper/types.js +2 -2
  220. package/dist/Pickers/DatePicker.d.ts +10 -10
  221. package/dist/Pickers/DatePicker.js +29 -29
  222. package/dist/Pickers/DateTimePicker.d.ts +3 -3
  223. package/dist/Pickers/DateTimePicker.js +24 -24
  224. package/dist/Pickers/TimePicker.d.ts +3 -3
  225. package/dist/Pickers/TimePicker.js +24 -24
  226. package/dist/Pickers/index.d.ts +4 -4
  227. package/dist/Pickers/index.js +7 -7
  228. package/dist/Pickers/types.d.ts +80 -80
  229. package/dist/Pickers/types.js +2 -2
  230. package/dist/Popover/Popover.d.ts +2 -2
  231. package/dist/Popover/Popover.js +5 -5
  232. package/dist/Popover/index.d.ts +3 -3
  233. package/dist/Popover/index.js +7 -7
  234. package/dist/Popover/types.d.ts +2 -2
  235. package/dist/Popover/types.js +2 -2
  236. package/dist/Progress/Progress.d.ts +5 -5
  237. package/dist/Progress/Progress.js +12 -12
  238. package/dist/Progress/index.d.ts +2 -2
  239. package/dist/Progress/index.js +5 -5
  240. package/dist/Progress/types.d.ts +3 -3
  241. package/dist/Progress/types.js +2 -2
  242. package/dist/Radio/Radio.d.ts +3 -3
  243. package/dist/Radio/Radio.js +26 -26
  244. package/dist/Radio/RadioGroup.d.ts +3 -3
  245. package/dist/Radio/RadioGroup.js +9 -9
  246. package/dist/Radio/index.d.ts +3 -3
  247. package/dist/Radio/index.js +9 -9
  248. package/dist/Radio/types.d.ts +46 -46
  249. package/dist/Radio/types.js +2 -2
  250. package/dist/Rating/Rating.d.ts +3 -3
  251. package/dist/Rating/Rating.js +71 -71
  252. package/dist/Rating/index.d.ts +2 -2
  253. package/dist/Rating/index.js +5 -5
  254. package/dist/Rating/types.d.ts +49 -49
  255. package/dist/Rating/types.js +2 -2
  256. package/dist/Select/Select.d.ts +3 -3
  257. package/dist/Select/Select.js +37 -37
  258. package/dist/Select/index.d.ts +2 -2
  259. package/dist/Select/index.js +7 -7
  260. package/dist/Select/types.d.ts +76 -76
  261. package/dist/Select/types.js +2 -2
  262. package/dist/Slide/Slide.d.ts +3 -3
  263. package/dist/Slide/Slide.js +11 -11
  264. package/dist/Slide/index.d.ts +2 -2
  265. package/dist/Slide/index.js +7 -7
  266. package/dist/Slide/types.d.ts +2 -2
  267. package/dist/Slide/types.js +2 -2
  268. package/dist/Snackbar/Snackbar.d.ts +3 -3
  269. package/dist/Snackbar/Snackbar.js +11 -11
  270. package/dist/Snackbar/index.d.ts +2 -2
  271. package/dist/Snackbar/index.js +7 -7
  272. package/dist/Snackbar/types.d.ts +2 -2
  273. package/dist/Snackbar/types.js +2 -2
  274. package/dist/Spacing/Spacing.d.ts +7 -7
  275. package/dist/Spacing/Spacing.js +71 -71
  276. package/dist/Spacing/index.d.ts +2 -2
  277. package/dist/Spacing/index.js +5 -5
  278. package/dist/Spacing/types.d.ts +15 -15
  279. package/dist/Spacing/types.js +2 -2
  280. package/dist/Stepper/MobileStepper.d.ts +3 -3
  281. package/dist/Stepper/MobileStepper.js +10 -10
  282. package/dist/Stepper/Stepper.d.ts +7 -7
  283. package/dist/Stepper/Stepper.js +27 -27
  284. package/dist/Stepper/index.d.ts +3 -3
  285. package/dist/Stepper/index.js +6 -6
  286. package/dist/Stepper/types.d.ts +14 -14
  287. package/dist/Stepper/types.js +2 -2
  288. package/dist/Switch/Switch.d.ts +3 -3
  289. package/dist/Switch/Switch.js +10 -10
  290. package/dist/Switch/index.d.ts +2 -2
  291. package/dist/Switch/index.js +7 -7
  292. package/dist/Switch/types.d.ts +12 -12
  293. package/dist/Switch/types.js +2 -2
  294. package/dist/Table/ResizeTableCell/ResizeTableCell.d.ts +11 -11
  295. package/dist/Table/ResizeTableCell/ResizeTableCell.js +94 -94
  296. package/dist/Table/ResizeTableCell/ResizeTableCellStyles.d.ts +2 -2
  297. package/dist/Table/ResizeTableCell/ResizeTableCellStyles.js +60 -60
  298. package/dist/Table/ResizeTableCell/ResizeTableContext.d.ts +15 -15
  299. package/dist/Table/ResizeTableCell/ResizeTableContext.js +16 -16
  300. package/dist/Table/Table.d.ts +8 -8
  301. package/dist/Table/Table.js +11 -11
  302. package/dist/Table/index.d.ts +4 -4
  303. package/dist/Table/index.js +7 -7
  304. package/dist/Table/types.d.ts +7 -7
  305. package/dist/Table/types.js +2 -2
  306. package/dist/TableColumnSettings/TableColumnSettings.d.ts +4 -4
  307. package/dist/TableColumnSettings/TableColumnSettings.js +131 -131
  308. package/dist/TableColumnSettings/TableColumnSettingsStyles.d.ts +1 -1
  309. package/dist/TableColumnSettings/TableColumnSettingsStyles.js +83 -83
  310. package/dist/TableColumnSettings/index.d.ts +3 -3
  311. package/dist/TableColumnSettings/index.js +7 -7
  312. package/dist/TableColumnSettings/types.d.ts +14 -14
  313. package/dist/TableColumnSettings/types.js +2 -2
  314. package/dist/Tabs/Tabs.d.ts +10 -10
  315. package/dist/Tabs/Tabs.js +135 -135
  316. package/dist/Tabs/index.d.ts +2 -2
  317. package/dist/Tabs/index.js +5 -5
  318. package/dist/Tabs/types.d.ts +13 -13
  319. package/dist/Tabs/types.js +2 -2
  320. package/dist/TextField/CurrencyTextField.d.ts +3 -3
  321. package/dist/TextField/CurrencyTextField.js +22 -22
  322. package/dist/TextField/InlineTextField.d.ts +3 -3
  323. package/dist/TextField/InlineTextField.js +142 -142
  324. package/dist/TextField/MaskedTextField.d.ts +3 -3
  325. package/dist/TextField/MaskedTextField.js +13 -13
  326. package/dist/TextField/TextField.d.ts +3 -3
  327. package/dist/TextField/TextField.js +13 -13
  328. package/dist/TextField/ValidatedTextField.d.ts +3 -3
  329. package/dist/TextField/ValidatedTextField.js +35 -35
  330. package/dist/TextField/index.d.ts +6 -6
  331. package/dist/TextField/index.js +9 -9
  332. package/dist/TextField/styles.d.ts +2 -2
  333. package/dist/TextField/styles.js +18 -18
  334. package/dist/TextField/types.d.ts +63 -63
  335. package/dist/TextField/types.js +2 -2
  336. package/dist/ThemeProvider/DefaultEpilotTheme.d.ts +2 -2
  337. package/dist/ThemeProvider/DefaultEpilotTheme.js +312 -312
  338. package/dist/ThemeProvider/ThemeProvider.d.ts +3 -3
  339. package/dist/ThemeProvider/ThemeProvider.js +30 -30
  340. package/dist/ThemeProvider/fonts.d.ts +14 -14
  341. package/dist/ThemeProvider/fonts.js +19 -19
  342. package/dist/ThemeProvider/index.d.ts +3 -3
  343. package/dist/ThemeProvider/index.js +8 -8
  344. package/dist/ThemeProvider/mapping.d.ts +10 -10
  345. package/dist/ThemeProvider/mapping.js +876 -876
  346. package/dist/ThemeProvider/types.d.ts +136 -136
  347. package/dist/ThemeProvider/types.js +2 -2
  348. package/dist/ToggleButton/ToggleButton.d.ts +2 -2
  349. package/dist/ToggleButton/ToggleButton.js +6 -6
  350. package/dist/ToggleButton/index.d.ts +2 -2
  351. package/dist/ToggleButton/index.js +5 -5
  352. package/dist/ToggleButton/types.d.ts +3 -3
  353. package/dist/ToggleButton/types.js +2 -2
  354. package/dist/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  355. package/dist/ToggleButtonGroup/ToggleButtonGroup.js +6 -6
  356. package/dist/ToggleButtonGroup/index.d.ts +2 -2
  357. package/dist/ToggleButtonGroup/index.js +5 -5
  358. package/dist/ToggleButtonGroup/types.d.ts +2 -2
  359. package/dist/ToggleButtonGroup/types.js +2 -2
  360. package/dist/Tooltip/Tooltip.d.ts +3 -3
  361. package/dist/Tooltip/Tooltip.js +22 -22
  362. package/dist/Tooltip/index.d.ts +2 -2
  363. package/dist/Tooltip/index.js +5 -5
  364. package/dist/Tooltip/types.d.ts +8 -8
  365. package/dist/Tooltip/types.js +2 -2
  366. package/dist/Typography/Typography.d.ts +13 -13
  367. package/dist/Typography/Typography.js +60 -60
  368. package/dist/Typography/index.d.ts +3 -3
  369. package/dist/Typography/index.js +22 -22
  370. package/dist/Typography/types.d.ts +7 -7
  371. package/dist/Typography/types.js +2 -2
  372. package/dist/bundle.js +10 -10
  373. package/dist/bundle.js.map +1 -1
  374. package/dist/config.d.ts +1 -1
  375. package/dist/config.js +6 -6
  376. package/dist/context/ClassPrefixContext.d.ts +9 -9
  377. package/dist/context/ClassPrefixContext.js +14 -14
  378. package/dist/index.d.ts +53 -53
  379. package/dist/index.js +56 -56
  380. package/dist/styles/index.d.ts +1 -1
  381. package/dist/styles/index.js +4 -4
  382. package/dist/styles/styles.d.ts +3 -3
  383. package/dist/styles/styles.js +18 -18
  384. package/dist/utils.d.ts +7 -7
  385. package/dist/utils.js +27 -27
  386. package/package.json +2 -2
@@ -1,41 +1,41 @@
1
- import React from 'react';
2
- declare type variantType = 'inherit' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'srOnly';
3
- declare type colorType = 'initial' | 'inherit' | 'primary' | 'secondary' | 'textPrimary' | 'textSecondary' | 'error';
4
- declare type underlineType = 'none' | 'hover' | 'always';
5
- export declare type LinkProps = {
6
- /**
7
- * elements rendered inside the component.
8
- */
9
- children?: React.ReactNode;
10
- /**
11
- * the color of the link.
12
- */
13
- color?: colorType;
14
- /**
15
- * The component used for the root node. Either a string to use a HTML element or a component.
16
- */
17
- component?: JSX.Element | HTMLElement | string;
18
- /**
19
- * the underline of the link
20
- */
21
- underline?: underlineType;
22
- /**
23
- * element variant, border radiu is determined by this.
24
- */
25
- variant?: variantType;
26
- /**
27
- * Link target.
28
- */
29
- href?: string;
30
- /**
31
- * onclick function
32
- */
33
- onClick?: (_?: React.MouseEvent<HTMLAnchorElement, MouseEvent> | React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
34
- /**
35
- * link target
36
- */
37
- target?: string;
38
- className?: string;
39
- style?: React.CSSProperties;
40
- };
41
- export {};
1
+ import React from 'react';
2
+ declare type variantType = 'inherit' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'srOnly';
3
+ declare type colorType = 'initial' | 'inherit' | 'primary' | 'secondary' | 'textPrimary' | 'textSecondary' | 'error';
4
+ declare type underlineType = 'none' | 'hover' | 'always';
5
+ export declare type LinkProps = {
6
+ /**
7
+ * elements rendered inside the component.
8
+ */
9
+ children?: React.ReactNode;
10
+ /**
11
+ * the color of the link.
12
+ */
13
+ color?: colorType;
14
+ /**
15
+ * The component used for the root node. Either a string to use a HTML element or a component.
16
+ */
17
+ component?: JSX.Element | HTMLElement | string;
18
+ /**
19
+ * the underline of the link
20
+ */
21
+ underline?: underlineType;
22
+ /**
23
+ * element variant, border radiu is determined by this.
24
+ */
25
+ variant?: variantType;
26
+ /**
27
+ * Link target.
28
+ */
29
+ href?: string;
30
+ /**
31
+ * onclick function
32
+ */
33
+ onClick?: (_?: React.MouseEvent<HTMLAnchorElement, MouseEvent> | React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
34
+ /**
35
+ * link target
36
+ */
37
+ target?: string;
38
+ className?: string;
39
+ style?: React.CSSProperties;
40
+ };
41
+ export {};
@@ -1,3 +1,3 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ "use strict";
2
+ exports.__esModule = true;
3
3
  //# sourceMappingURL=types.js.map
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- import { ListProps, ListItemProps, ListItemContentProps, ListItemPrefixProps, ListItemSufixProps, ListSubheaderProps } from './types';
3
- export declare function List(props: ListProps): JSX.Element;
4
- export declare function ListItem(props: ListItemProps): JSX.Element;
5
- export declare function ListItemContent(props: ListItemContentProps): JSX.Element;
6
- export declare function ListItemPrefix(props: ListItemPrefixProps): JSX.Element;
7
- export declare function ListItemSufix(props: ListItemSufixProps): JSX.Element;
8
- export declare function ListSubheader(props: ListSubheaderProps): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ListProps, ListItemProps, ListItemContentProps, ListItemPrefixProps, ListItemSufixProps, ListSubheaderProps } from './types';
3
+ export declare function List(props: ListProps): JSX.Element;
4
+ export declare function ListItem(props: ListItemProps): JSX.Element;
5
+ export declare function ListItemContent(props: ListItemContentProps): JSX.Element;
6
+ export declare function ListItemPrefix(props: ListItemPrefixProps): JSX.Element;
7
+ export declare function ListItemSufix(props: ListItemSufixProps): JSX.Element;
8
+ export declare function ListSubheader(props: ListSubheaderProps): JSX.Element;
package/dist/List/List.js CHANGED
@@ -1,37 +1,37 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- exports.ListSubheader = exports.ListItemSufix = exports.ListItemPrefix = exports.ListItemContent = exports.ListItem = exports.List = void 0;
4
- var tslib_1 = require("tslib");
5
- var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
7
- function List(props) {
8
- return react_1["default"].createElement(core_1.List, tslib_1.__assign({ component: "ul", disablePadding: true }, props));
9
- }
10
- exports.List = List;
11
- function ListItem(props) {
12
- var _a = props.button, button = _a === void 0 ? false : _a, rest = tslib_1.__rest(props
13
- // Using `any` as a workaround for a ts issue: https://github.com/mui-org/material-ui/issues/14971
14
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
- , ["button"]);
16
- // Using `any` as a workaround for a ts issue: https://github.com/mui-org/material-ui/issues/14971
17
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
- return react_1["default"].createElement(core_1.ListItem, tslib_1.__assign({ button: button }, rest));
19
- }
20
- exports.ListItem = ListItem;
21
- function ListItemContent(props) {
22
- return react_1["default"].createElement(core_1.ListItemText, tslib_1.__assign({}, props));
23
- }
24
- exports.ListItemContent = ListItemContent;
25
- function ListItemPrefix(props) {
26
- return react_1["default"].createElement(core_1.ListItemIcon, tslib_1.__assign({}, props));
27
- }
28
- exports.ListItemPrefix = ListItemPrefix;
29
- function ListItemSufix(props) {
30
- return react_1["default"].createElement(core_1.ListItemSecondaryAction, tslib_1.__assign({}, props));
31
- }
32
- exports.ListItemSufix = ListItemSufix;
33
- function ListSubheader(props) {
34
- return react_1["default"].createElement(core_1.ListSubheader, tslib_1.__assign({}, props));
35
- }
36
- exports.ListSubheader = ListSubheader;
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.ListSubheader = exports.ListItemSufix = exports.ListItemPrefix = exports.ListItemContent = exports.ListItem = exports.List = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var core_1 = require("@material-ui/core");
6
+ var react_1 = tslib_1.__importDefault(require("react"));
7
+ function List(props) {
8
+ return react_1["default"].createElement(core_1.List, tslib_1.__assign({ component: "ul", disablePadding: true }, props));
9
+ }
10
+ exports.List = List;
11
+ function ListItem(props) {
12
+ var _a = props.button, button = _a === void 0 ? false : _a, rest = tslib_1.__rest(props
13
+ // Using `any` as a workaround for a ts issue: https://github.com/mui-org/material-ui/issues/14971
14
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
+ , ["button"]);
16
+ // Using `any` as a workaround for a ts issue: https://github.com/mui-org/material-ui/issues/14971
17
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
+ return react_1["default"].createElement(core_1.ListItem, tslib_1.__assign({ button: button }, rest));
19
+ }
20
+ exports.ListItem = ListItem;
21
+ function ListItemContent(props) {
22
+ return react_1["default"].createElement(core_1.ListItemText, tslib_1.__assign({}, props));
23
+ }
24
+ exports.ListItemContent = ListItemContent;
25
+ function ListItemPrefix(props) {
26
+ return react_1["default"].createElement(core_1.ListItemIcon, tslib_1.__assign({}, props));
27
+ }
28
+ exports.ListItemPrefix = ListItemPrefix;
29
+ function ListItemSufix(props) {
30
+ return react_1["default"].createElement(core_1.ListItemSecondaryAction, tslib_1.__assign({}, props));
31
+ }
32
+ exports.ListItemSufix = ListItemSufix;
33
+ function ListSubheader(props) {
34
+ return react_1["default"].createElement(core_1.ListSubheader, tslib_1.__assign({}, props));
35
+ }
36
+ exports.ListSubheader = ListSubheader;
37
37
  //# sourceMappingURL=List.js.map
@@ -1,2 +1,2 @@
1
- export * from './List';
2
- export * from './types';
1
+ export * from './List';
2
+ export * from './types';
@@ -1,6 +1,6 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./List"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./List"), exports);
5
+ tslib_1.__exportStar(require("./types"), exports);
6
6
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
- import { ListProps as MuiListProps, ListItemProps as MuiListItemProps, ListItemTextProps as MuiListItemTextProps, ListItemIconProps as MuiListItemIconProps, ListItemSecondaryActionProps as MuiListItemSecondaryActionProps, ListSubheaderProps as MuiListSubheaderProps } from '@material-ui/core';
2
- export declare type ListProps = Omit<MuiListProps, 'disablePadding'>;
3
- export declare type ListItemProps = MuiListItemProps;
4
- export declare type ListItemContentProps = MuiListItemTextProps;
5
- export declare type ListItemPrefixProps = MuiListItemIconProps;
6
- export declare type ListItemSufixProps = MuiListItemSecondaryActionProps;
7
- export declare type ListSubheaderProps = MuiListSubheaderProps;
1
+ import { ListProps as MuiListProps, ListItemProps as MuiListItemProps, ListItemTextProps as MuiListItemTextProps, ListItemIconProps as MuiListItemIconProps, ListItemSecondaryActionProps as MuiListItemSecondaryActionProps, ListSubheaderProps as MuiListSubheaderProps } from '@material-ui/core';
2
+ export declare type ListProps = Omit<MuiListProps, 'disablePadding'>;
3
+ export declare type ListItemProps = MuiListItemProps;
4
+ export declare type ListItemContentProps = MuiListItemTextProps;
5
+ export declare type ListItemPrefixProps = MuiListItemIconProps;
6
+ export declare type ListItemSufixProps = MuiListItemSecondaryActionProps;
7
+ export declare type ListSubheaderProps = MuiListSubheaderProps;
@@ -1,3 +1,3 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ "use strict";
2
+ exports.__esModule = true;
3
3
  //# sourceMappingURL=types.js.map
@@ -1,6 +1,6 @@
1
- import { Menu, MenuItem, MenuList, ListItemIcon, ListItemText } from '@material-ui/core';
2
- export { Menu };
3
- export { MenuItem };
4
- export { MenuList };
5
- export { ListItemIcon };
6
- export { ListItemText };
1
+ import { Menu, MenuItem, MenuList, ListItemIcon, ListItemText } from '@material-ui/core';
2
+ export { Menu };
3
+ export { MenuItem };
4
+ export { MenuList };
5
+ export { ListItemIcon };
6
+ export { ListItemText };
package/dist/Menu/Menu.js CHANGED
@@ -1,10 +1,10 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- exports.ListItemText = exports.ListItemIcon = exports.MenuList = exports.MenuItem = exports.Menu = void 0;
4
- var core_1 = require("@material-ui/core");
5
- exports.Menu = core_1.Menu;
6
- exports.MenuItem = core_1.MenuItem;
7
- exports.MenuList = core_1.MenuList;
8
- exports.ListItemIcon = core_1.ListItemIcon;
9
- exports.ListItemText = core_1.ListItemText;
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.ListItemText = exports.ListItemIcon = exports.MenuList = exports.MenuItem = exports.Menu = void 0;
4
+ var core_1 = require("@material-ui/core");
5
+ exports.Menu = core_1.Menu;
6
+ exports.MenuItem = core_1.MenuItem;
7
+ exports.MenuList = core_1.MenuList;
8
+ exports.ListItemIcon = core_1.ListItemIcon;
9
+ exports.ListItemText = core_1.ListItemText;
10
10
  //# sourceMappingURL=Menu.js.map
@@ -1,2 +1,2 @@
1
- export * from './Menu';
2
- export * from './types';
1
+ export * from './Menu';
2
+ export * from './types';
@@ -1,6 +1,6 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Menu"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Menu"), exports);
5
+ tslib_1.__exportStar(require("./types"), exports);
6
6
  //# sourceMappingURL=index.js.map
@@ -1,71 +1,71 @@
1
- /// <reference types="react" />
2
- import { MenuClassKey, MenuItemProps as MuiMenuItemProps, MenuListProps as MuiMenuListProps, PopoverProps, StandardProps } from '@material-ui/core';
3
- import { TransitionHandlerProps } from '@material-ui/core/transitions/transition';
4
- export interface MenuProps extends StandardProps<PopoverProps & Partial<TransitionHandlerProps>, MenuClassKey> {
5
- /**
6
- * A HTML element, or a function that returns it.
7
- * It's used to set the position of the menu.
8
- * @document
9
- */
10
- anchorEl?: PopoverProps['anchorEl'];
11
- /**
12
- * Menu contents, normally `MenuItem`s.
13
- */
14
- children?: React.ReactNode;
15
- /**
16
- * Props applied to the [`MenuList`](/api/menu-list/) element.
17
- */
18
- MenuListProps?: Partial<MenuListProps>;
19
- /**
20
- * Callback fired when the component requests to be closed.
21
- *
22
- * @param {object} event The event source of the callback.
23
- * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
24
- */
25
- onClose?: PopoverProps['onClose'];
26
- /**
27
- * Callback fired before the Menu enters.
28
- * @document
29
- */
30
- onEnter?: PopoverProps['onEnter'];
31
- /**
32
- * Callback fired when the Menu has entered.
33
- * @document
34
- */
35
- onEntered?: PopoverProps['onEntered'];
36
- /**
37
- * Callback fired when the Menu is entering.
38
- * @document
39
- */
40
- onEntering?: PopoverProps['onEntering'];
41
- /**
42
- * Callback fired before the Menu exits.
43
- * @document
44
- */
45
- onExit?: PopoverProps['onExit'];
46
- /**
47
- * Callback fired when the Menu has exited.
48
- * @document
49
- */
50
- onExited?: PopoverProps['onExited'];
51
- /**
52
- * Callback fired when the Menu is exiting.
53
- * @document
54
- */
55
- onExiting?: PopoverProps['onExiting'];
56
- /**
57
- * If `true`, the menu is visible.
58
- */
59
- open: boolean;
60
- /**
61
- * `classes` prop applied to the [`Popover`](/api/popover/) element.
62
- */
63
- PopoverClasses?: PopoverProps['classes'];
64
- /**
65
- * The variant to use. Use `menu` to prevent selected items from impacting the initial focus
66
- * and the vertical alignment relative to the anchor element.
67
- */
68
- variant?: 'menu' | 'selectedMenu';
69
- }
70
- export declare type MenuItemProps = Omit<MuiMenuItemProps, 'button'>;
71
- export declare type MenuListProps = MuiMenuListProps;
1
+ /// <reference types="react" />
2
+ import { MenuClassKey, MenuItemProps as MuiMenuItemProps, MenuListProps as MuiMenuListProps, PopoverProps, StandardProps } from '@material-ui/core';
3
+ import { TransitionHandlerProps } from '@material-ui/core/transitions/transition';
4
+ export interface MenuProps extends StandardProps<PopoverProps & Partial<TransitionHandlerProps>, MenuClassKey> {
5
+ /**
6
+ * A HTML element, or a function that returns it.
7
+ * It's used to set the position of the menu.
8
+ * @document
9
+ */
10
+ anchorEl?: PopoverProps['anchorEl'];
11
+ /**
12
+ * Menu contents, normally `MenuItem`s.
13
+ */
14
+ children?: React.ReactNode;
15
+ /**
16
+ * Props applied to the [`MenuList`](/api/menu-list/) element.
17
+ */
18
+ MenuListProps?: Partial<MenuListProps>;
19
+ /**
20
+ * Callback fired when the component requests to be closed.
21
+ *
22
+ * @param {object} event The event source of the callback.
23
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
24
+ */
25
+ onClose?: PopoverProps['onClose'];
26
+ /**
27
+ * Callback fired before the Menu enters.
28
+ * @document
29
+ */
30
+ onEnter?: PopoverProps['onEnter'];
31
+ /**
32
+ * Callback fired when the Menu has entered.
33
+ * @document
34
+ */
35
+ onEntered?: PopoverProps['onEntered'];
36
+ /**
37
+ * Callback fired when the Menu is entering.
38
+ * @document
39
+ */
40
+ onEntering?: PopoverProps['onEntering'];
41
+ /**
42
+ * Callback fired before the Menu exits.
43
+ * @document
44
+ */
45
+ onExit?: PopoverProps['onExit'];
46
+ /**
47
+ * Callback fired when the Menu has exited.
48
+ * @document
49
+ */
50
+ onExited?: PopoverProps['onExited'];
51
+ /**
52
+ * Callback fired when the Menu is exiting.
53
+ * @document
54
+ */
55
+ onExiting?: PopoverProps['onExiting'];
56
+ /**
57
+ * If `true`, the menu is visible.
58
+ */
59
+ open: boolean;
60
+ /**
61
+ * `classes` prop applied to the [`Popover`](/api/popover/) element.
62
+ */
63
+ PopoverClasses?: PopoverProps['classes'];
64
+ /**
65
+ * The variant to use. Use `menu` to prevent selected items from impacting the initial focus
66
+ * and the vertical alignment relative to the anchor element.
67
+ */
68
+ variant?: 'menu' | 'selectedMenu';
69
+ }
70
+ export declare type MenuItemProps = Omit<MuiMenuItemProps, 'button'>;
71
+ export declare type MenuListProps = MuiMenuListProps;
@@ -1,3 +1,3 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ "use strict";
2
+ exports.__esModule = true;
3
3
  //# sourceMappingURL=types.js.map
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { BaseNotificationProps } from './types';
3
- export declare function InfoNotification(props: BaseNotificationProps): JSX.Element;
4
- export declare function ErrorNotification(props: BaseNotificationProps): JSX.Element;
5
- export declare function SuccessNotification(props: BaseNotificationProps): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { BaseNotificationProps } from './types';
3
+ export declare function InfoNotification(props: BaseNotificationProps): JSX.Element;
4
+ export declare function ErrorNotification(props: BaseNotificationProps): JSX.Element;
5
+ export declare function SuccessNotification(props: BaseNotificationProps): JSX.Element;
@@ -1,52 +1,52 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- exports.SuccessNotification = exports.ErrorNotification = exports.InfoNotification = void 0;
4
- var tslib_1 = require("tslib");
5
- var core_1 = require("@material-ui/core");
6
- var lab_1 = require("@material-ui/lab");
7
- var react_1 = tslib_1.__importDefault(require("react"));
8
- var __1 = require("..");
9
- var useStyles = core_1.makeStyles(function (theme) {
10
- return core_1.createStyles({
11
- root: {
12
- borderRadius: 0,
13
- backgroundColor: function (_a) {
14
- var variant = _a.variant;
15
- return variant === 'info'
16
- ? theme.palette.grey[600]
17
- : theme.palette[variant].dark;
18
- },
19
- color: function (_a) {
20
- var variant = _a.variant;
21
- return theme.palette[variant].contrastText;
22
- }
23
- }
24
- });
25
- });
26
- function getAction(args) {
27
- return (react_1["default"].createElement(react_1["default"].Fragment, null,
28
- react_1["default"].createElement(__1.IconButton, { "aria-label": "close", color: "inherit", onClick: args.onClose, size: "small" },
29
- react_1["default"].createElement(__1.Icon, { color: "inherit", fontSize: "small", name: "close" }))));
30
- }
31
- function InfoNotification(props) {
32
- var _a = props.visible, visible = _a === void 0 ? false : _a, children = props.children, rest = tslib_1.__rest(props, ["visible", "children"]);
33
- var classes = useStyles({ variant: 'info' });
34
- return (react_1["default"].createElement(__1.Collapse, { "in": visible },
35
- react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ action: getAction(props), elevation: 0, icon: false, severity: "info", variant: "filled" }, rest, { className: classes.root }), children)));
36
- }
37
- exports.InfoNotification = InfoNotification;
38
- function ErrorNotification(props) {
39
- var _a = props.visible, visible = _a === void 0 ? false : _a, children = props.children, rest = tslib_1.__rest(props, ["visible", "children"]);
40
- var classes = useStyles({ variant: 'error' });
41
- return (react_1["default"].createElement(__1.Collapse, { "in": visible },
42
- react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ action: getAction(props), elevation: 0, icon: false, severity: "error", variant: "filled" }, rest, { className: classes.root }), children)));
43
- }
44
- exports.ErrorNotification = ErrorNotification;
45
- function SuccessNotification(props) {
46
- var _a = props.visible, visible = _a === void 0 ? false : _a, children = props.children, rest = tslib_1.__rest(props, ["visible", "children"]);
47
- var classes = useStyles({ variant: 'success' });
48
- return (react_1["default"].createElement(__1.Collapse, { "in": visible },
49
- react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ action: getAction(props), elevation: 0, icon: false, severity: "success", variant: "filled" }, rest, { className: classes.root }), children)));
50
- }
51
- exports.SuccessNotification = SuccessNotification;
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.SuccessNotification = exports.ErrorNotification = exports.InfoNotification = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var core_1 = require("@material-ui/core");
6
+ var lab_1 = require("@material-ui/lab");
7
+ var react_1 = tslib_1.__importDefault(require("react"));
8
+ var __1 = require("..");
9
+ var useStyles = core_1.makeStyles(function (theme) {
10
+ return core_1.createStyles({
11
+ root: {
12
+ borderRadius: 0,
13
+ backgroundColor: function (_a) {
14
+ var variant = _a.variant;
15
+ return variant === 'info'
16
+ ? theme.palette.grey[600]
17
+ : theme.palette[variant].dark;
18
+ },
19
+ color: function (_a) {
20
+ var variant = _a.variant;
21
+ return theme.palette[variant].contrastText;
22
+ }
23
+ }
24
+ });
25
+ });
26
+ function getAction(args) {
27
+ return (react_1["default"].createElement(react_1["default"].Fragment, null,
28
+ react_1["default"].createElement(__1.IconButton, { "aria-label": "close", color: "inherit", onClick: args.onClose, size: "small" },
29
+ react_1["default"].createElement(__1.Icon, { color: "inherit", fontSize: "small", name: "close" }))));
30
+ }
31
+ function InfoNotification(props) {
32
+ var _a = props.visible, visible = _a === void 0 ? false : _a, children = props.children, rest = tslib_1.__rest(props, ["visible", "children"]);
33
+ var classes = useStyles({ variant: 'info' });
34
+ return (react_1["default"].createElement(__1.Collapse, { "in": visible },
35
+ react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ action: getAction(props), elevation: 0, icon: false, severity: "info", variant: "filled" }, rest, { className: classes.root }), children)));
36
+ }
37
+ exports.InfoNotification = InfoNotification;
38
+ function ErrorNotification(props) {
39
+ var _a = props.visible, visible = _a === void 0 ? false : _a, children = props.children, rest = tslib_1.__rest(props, ["visible", "children"]);
40
+ var classes = useStyles({ variant: 'error' });
41
+ return (react_1["default"].createElement(__1.Collapse, { "in": visible },
42
+ react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ action: getAction(props), elevation: 0, icon: false, severity: "error", variant: "filled" }, rest, { className: classes.root }), children)));
43
+ }
44
+ exports.ErrorNotification = ErrorNotification;
45
+ function SuccessNotification(props) {
46
+ var _a = props.visible, visible = _a === void 0 ? false : _a, children = props.children, rest = tslib_1.__rest(props, ["visible", "children"]);
47
+ var classes = useStyles({ variant: 'success' });
48
+ return (react_1["default"].createElement(__1.Collapse, { "in": visible },
49
+ react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ action: getAction(props), elevation: 0, icon: false, severity: "success", variant: "filled" }, rest, { className: classes.root }), children)));
50
+ }
51
+ exports.SuccessNotification = SuccessNotification;
52
52
  //# sourceMappingURL=Notification.js.map
@@ -1,2 +1,2 @@
1
- export { InfoNotification, SuccessNotification, ErrorNotification } from './Notification';
2
- export * from './types';
1
+ export { InfoNotification, SuccessNotification, ErrorNotification } from './Notification';
2
+ export * from './types';
@@ -1,10 +1,10 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- exports.ErrorNotification = exports.SuccessNotification = exports.InfoNotification = void 0;
4
- var tslib_1 = require("tslib");
5
- var Notification_1 = require("./Notification");
6
- tslib_1.__createBinding(exports, Notification_1, "InfoNotification");
7
- tslib_1.__createBinding(exports, Notification_1, "SuccessNotification");
8
- tslib_1.__createBinding(exports, Notification_1, "ErrorNotification");
9
- tslib_1.__exportStar(require("./types"), exports);
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.ErrorNotification = exports.SuccessNotification = exports.InfoNotification = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var Notification_1 = require("./Notification");
6
+ tslib_1.__createBinding(exports, Notification_1, "InfoNotification");
7
+ tslib_1.__createBinding(exports, Notification_1, "SuccessNotification");
8
+ tslib_1.__createBinding(exports, Notification_1, "ErrorNotification");
9
+ tslib_1.__exportStar(require("./types"), exports);
10
10
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
- import { AlertProps as MuiAlertProps } from '@material-ui/lab/Alert';
2
- export declare type BaseNotificationProps = Omit<MuiAlertProps, 'action' | 'square' | 'severity' | 'icon' | 'role' | 'component' | 'variant' | 'closeText' | 'iconMapping' | 'color'> & {
3
- /**
4
- * If `true`, the notification is visible.
5
- */
6
- visible?: boolean;
7
- };
1
+ import { AlertProps as MuiAlertProps } from '@material-ui/lab/Alert';
2
+ export declare type BaseNotificationProps = Omit<MuiAlertProps, 'action' | 'square' | 'severity' | 'icon' | 'role' | 'component' | 'variant' | 'closeText' | 'iconMapping' | 'color'> & {
3
+ /**
4
+ * If `true`, the notification is visible.
5
+ */
6
+ visible?: boolean;
7
+ };
@@ -1,3 +1,3 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ "use strict";
2
+ exports.__esModule = true;
3
3
  //# sourceMappingURL=types.js.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { PaginationProps } from './types';
3
- declare const Pagination: (props: PaginationProps) => JSX.Element;
4
- export default Pagination;
1
+ /// <reference types="react" />
2
+ import { PaginationProps } from './types';
3
+ declare const Pagination: (props: PaginationProps) => JSX.Element;
4
+ export default Pagination;