@sis-cc/dotstatsuite-visions 11.4.2 → 12.0.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 (224) hide show
  1. package/es/AdvancedFilterDialog/AdvancedFilterDialog.js +17 -15
  2. package/es/AdvancedFilterDialog/SelectionModeMenu.js +5 -5
  3. package/es/Alert/Alert.js +46 -45
  4. package/es/Alert/index.js +10 -10
  5. package/es/ApiQueries/ApiQueries.js +4 -4
  6. package/es/ApiQueries/Query.js +4 -4
  7. package/es/AuthDialog/index.js +9 -9
  8. package/es/Breadcrumbs/Breadcrumbs.js +5 -5
  9. package/es/Breadcrumbs/index.js +27 -27
  10. package/es/Button/Button.js +2 -2
  11. package/es/Button/index.js +49 -49
  12. package/es/ChartsConfig/ChartsConfig.js +5 -5
  13. package/es/ChartsConfig/Input.js +9 -8
  14. package/es/ChartsConfig/InputProxy.js +1 -1
  15. package/es/ChartsConfig/Title.js +2 -2
  16. package/es/ChartsConfig/index.js +210 -210
  17. package/es/Chips/CustomChip.js +6 -5
  18. package/es/Chips/DeleteChip.js +1 -1
  19. package/es/Chips/GroupedChips.js +2 -1
  20. package/es/Chips/index.js +65 -65
  21. package/es/Chips/styles.js +2 -2
  22. package/es/CollapseButtons/CollapseButtons.js +6 -6
  23. package/es/CollapseButtons/Item.js +5 -5
  24. package/es/CollapseButtons/Paper.js +3 -3
  25. package/es/CollapseButtons/index.js +87 -87
  26. package/es/CollapsibleTree/Collapse.js +6 -5
  27. package/es/CollapsibleTree/CollapsibleTree.js +11 -11
  28. package/es/CollapsibleTree/index.js +46 -46
  29. package/es/Contact/Contact.js +2 -2
  30. package/es/Contact/Input.js +6 -6
  31. package/es/Contact/Mode.js +8 -7
  32. package/es/DataEdit/DataEdit.js +4 -4
  33. package/es/DataEdit/Input.js +9 -8
  34. package/es/DataFooter/DataFooter.js +6 -6
  35. package/es/DataFooter/index.js +30 -30
  36. package/es/DataHeader/DataHeader.js +6 -4
  37. package/es/Dataflow/Dataflow.js +12 -12
  38. package/es/Dataflow/index.js +59 -59
  39. package/es/ExpansionPanel/ExpansionPanel.js +10 -9
  40. package/es/ExpansionPanel/styles.js +1 -1
  41. package/es/HierarchicalFilter/HierarchicalFilter.js +3 -3
  42. package/es/Icons/AccessibilityFilled.js +1 -1
  43. package/es/Icons/AccessibilityOutlined.js +1 -1
  44. package/es/Icons/AccountFilled.js +1 -1
  45. package/es/Icons/AccountOutlined.js +1 -1
  46. package/es/Icons/Api.js +1 -1
  47. package/es/Icons/Asterisk.js +1 -1
  48. package/es/Icons/Bar.js +1 -1
  49. package/es/Icons/CopyContent.js +1 -1
  50. package/es/Icons/Cross.js +1 -1
  51. package/es/Icons/HSymbol.js +1 -1
  52. package/es/Icons/Row.js +1 -1
  53. package/es/Icons/Scatter.js +1 -1
  54. package/es/Icons/StackedBar.js +1 -1
  55. package/es/Icons/StackedRow.js +1 -1
  56. package/es/Icons/Timeline.js +1 -1
  57. package/es/Icons/VSymbol.js +1 -1
  58. package/es/Icons/Warning.js +1 -1
  59. package/es/Icons/index.js +9 -9
  60. package/es/Input/Input.js +6 -6
  61. package/es/Input/index.js +23 -23
  62. package/es/InputNumber/InputNumber.js +4 -4
  63. package/es/InputNumber/index.js +20 -20
  64. package/es/LabelDivider/LabelDivider.js +2 -2
  65. package/es/LabelDivider/index.js +29 -29
  66. package/es/Loading/Loading.js +2 -2
  67. package/es/Logo/Logo.js +1 -1
  68. package/es/Logo/index.js +15 -15
  69. package/es/Mode/Mode.js +4 -5
  70. package/es/NoData/NoData.js +3 -3
  71. package/es/Pagination/Pagination.js +9 -9
  72. package/es/Pagination/index.js +28 -28
  73. package/es/PeriodPicker/PeriodPicker.js +1 -1
  74. package/es/PeriodPicker/index.js +23 -23
  75. package/es/PeriodPicker/styles.js +1 -1
  76. package/es/ScopeList/Header.js +3 -3
  77. package/es/ScopeList/Item.js +6 -6
  78. package/es/ScopeList/ScopeList.js +7 -7
  79. package/es/ScopeList/Selection.js +7 -7
  80. package/es/ScopeList/styles.js +1 -1
  81. package/es/Select/Select.js +4 -4
  82. package/es/Select/index.js +30 -30
  83. package/es/Share/Form.js +4 -4
  84. package/es/Share/Mode.js +8 -7
  85. package/es/Share/Share.js +3 -3
  86. package/es/Share/index.js +61 -61
  87. package/es/ShortUrls/ShortUrls.js +10 -10
  88. package/es/SisccFooter/SisccFooter.js +6 -5
  89. package/es/Spotlight/Fields.js +4 -4
  90. package/es/Spotlight/Spotlight.js +13 -11
  91. package/es/Spotlight/index.js +72 -72
  92. package/es/Spotlight/useStyles.js +1 -1
  93. package/es/TableFooter/TableFooter.js +3 -4
  94. package/es/TableHeader/TableHeader.js +3 -3
  95. package/es/TableHtml5/TableHtml5.js +2 -2
  96. package/es/TableHtml5/cell.js +5 -4
  97. package/es/TableHtml5/flags.js +5 -5
  98. package/es/TableHtml5/header.js +6 -5
  99. package/es/TableHtml5/section.js +8 -7
  100. package/es/TableHtml5/sectionHeader.js +6 -5
  101. package/es/TableHtml5/subHeader.js +7 -6
  102. package/es/TableLayout/Box.js +5 -4
  103. package/es/TableLayout/DnDItem.js +10 -9
  104. package/es/TableLayout/TableLayout.js +12 -11
  105. package/es/TablePreview/TablePreview.js +4 -4
  106. package/es/TablePreview/lib.js +1 -1
  107. package/es/TablePreview/styles.js +1 -1
  108. package/es/Tag/Tag.js +2 -2
  109. package/es/Tag/index.js +27 -27
  110. package/es/ToggleButton/ToggleButton.js +4 -4
  111. package/es/ToggleButton/index.js +47 -47
  112. package/es/Tooltip/Tooltip.js +5 -7
  113. package/es/Tooltip/index.js +33 -33
  114. package/es/UserRightForm/Input.js +6 -6
  115. package/es/UserRightForm/Permissions.js +5 -5
  116. package/es/UserRightForm/PermsissionsTabs.js +2 -2
  117. package/es/UserRightForm/UserRightForm.js +2 -3
  118. package/es/VerticalButton/VerticalButton.js +7 -5
  119. package/es/VirtualizedTree/Item.js +9 -9
  120. package/es/VirtualizedTree/VirtualizedTree.js +3 -3
  121. package/es/theme.js +82 -57
  122. package/lib/AdvancedFilterDialog/AdvancedFilterDialog.js +21 -17
  123. package/lib/AdvancedFilterDialog/SelectionModeMenu.js +5 -5
  124. package/lib/Alert/Alert.js +50 -46
  125. package/lib/ApiQueries/ApiQueries.js +7 -5
  126. package/lib/ApiQueries/Query.js +7 -5
  127. package/lib/AuthDialog/index.js +12 -10
  128. package/lib/Breadcrumbs/Breadcrumbs.js +8 -6
  129. package/lib/Button/Button.js +5 -3
  130. package/lib/ChartsConfig/ChartsConfig.js +16 -14
  131. package/lib/ChartsConfig/Input.js +12 -9
  132. package/lib/ChartsConfig/InputProxy.js +2 -2
  133. package/lib/ChartsConfig/Title.js +7 -5
  134. package/lib/Chips/CustomChip.js +10 -6
  135. package/lib/Chips/DeleteChip.js +6 -4
  136. package/lib/Chips/GroupedChips.js +6 -2
  137. package/lib/Chips/styles.js +2 -2
  138. package/lib/CollapseButtons/CollapseButtons.js +9 -7
  139. package/lib/CollapseButtons/Item.js +8 -6
  140. package/lib/CollapseButtons/Paper.js +6 -4
  141. package/lib/CollapsibleTree/Collapse.js +10 -6
  142. package/lib/CollapsibleTree/CollapsibleTree.js +14 -12
  143. package/lib/Contact/Contact.js +28 -26
  144. package/lib/Contact/Input.js +9 -7
  145. package/lib/Contact/Mode.js +12 -8
  146. package/lib/DataEdit/DataEdit.js +4 -4
  147. package/lib/DataEdit/Input.js +12 -9
  148. package/lib/DataFooter/DataFooter.js +10 -7
  149. package/lib/DataHeader/DataHeader.js +10 -4
  150. package/lib/Dataflow/Dataflow.js +15 -13
  151. package/lib/ExpansionPanel/ExpansionPanel.js +13 -11
  152. package/lib/ExpansionPanel/styles.js +6 -2
  153. package/lib/HierarchicalFilter/HierarchicalFilter.js +4 -4
  154. package/lib/Icons/AccessibilityFilled.js +1 -1
  155. package/lib/Icons/AccessibilityOutlined.js +1 -1
  156. package/lib/Icons/AccountFilled.js +1 -1
  157. package/lib/Icons/AccountOutlined.js +1 -1
  158. package/lib/Icons/Api.js +1 -1
  159. package/lib/Icons/Asterisk.js +1 -1
  160. package/lib/Icons/Bar.js +1 -1
  161. package/lib/Icons/CopyContent.js +1 -1
  162. package/lib/Icons/Cross.js +1 -1
  163. package/lib/Icons/HSymbol.js +1 -1
  164. package/lib/Icons/Row.js +1 -1
  165. package/lib/Icons/Scatter.js +1 -1
  166. package/lib/Icons/StackedBar.js +1 -1
  167. package/lib/Icons/StackedRow.js +1 -1
  168. package/lib/Icons/Timeline.js +1 -1
  169. package/lib/Icons/VSymbol.js +1 -1
  170. package/lib/Icons/Warning.js +1 -1
  171. package/lib/Input/Input.js +9 -7
  172. package/lib/InputNumber/InputNumber.js +7 -5
  173. package/lib/LabelDivider/LabelDivider.js +5 -3
  174. package/lib/Loading/Loading.js +5 -3
  175. package/lib/Logo/Logo.js +4 -2
  176. package/lib/Mode/Mode.js +7 -6
  177. package/lib/NoData/NoData.js +6 -4
  178. package/lib/Pagination/Pagination.js +13 -9
  179. package/lib/PeriodPicker/PeriodPicker.js +1 -1
  180. package/lib/PeriodPicker/styles.js +6 -2
  181. package/lib/ScopeList/Header.js +3 -3
  182. package/lib/ScopeList/Item.js +6 -6
  183. package/lib/ScopeList/ScopeList.js +8 -8
  184. package/lib/ScopeList/Selection.js +7 -7
  185. package/lib/ScopeList/styles.js +6 -2
  186. package/lib/Select/Select.js +9 -7
  187. package/lib/Share/Form.js +7 -5
  188. package/lib/Share/Mode.js +12 -8
  189. package/lib/Share/Share.js +6 -4
  190. package/lib/ShortUrls/ShortUrls.js +14 -12
  191. package/lib/SisccFooter/SisccFooter.js +10 -6
  192. package/lib/Spotlight/Fields.js +4 -4
  193. package/lib/Spotlight/Spotlight.js +13 -11
  194. package/lib/Spotlight/useStyles.js +6 -2
  195. package/lib/TableFooter/TableFooter.js +6 -5
  196. package/lib/TableHeader/TableHeader.js +6 -4
  197. package/lib/TableHtml5/TableHtml5.js +5 -3
  198. package/lib/TableHtml5/cell.js +9 -5
  199. package/lib/TableHtml5/flags.js +11 -8
  200. package/lib/TableHtml5/header.js +10 -6
  201. package/lib/TableHtml5/section.js +12 -8
  202. package/lib/TableHtml5/sectionHeader.js +10 -6
  203. package/lib/TableHtml5/subHeader.js +11 -7
  204. package/lib/TableLayout/Box.js +17 -13
  205. package/lib/TableLayout/DnDItem.js +13 -10
  206. package/lib/TableLayout/TableLayout.js +16 -14
  207. package/lib/TablePreview/TablePreview.js +4 -4
  208. package/lib/TablePreview/lib.js +1 -1
  209. package/lib/TablePreview/styles.js +6 -2
  210. package/lib/Tag/Tag.js +5 -3
  211. package/lib/ToggleButton/ToggleButton.js +7 -5
  212. package/lib/Tooltip/Tooltip.js +8 -8
  213. package/lib/UserRightForm/Input.js +9 -7
  214. package/lib/UserRightForm/Permissions.js +20 -18
  215. package/lib/UserRightForm/PermsissionsTabs.js +12 -10
  216. package/lib/UserRightForm/UserRightForm.js +36 -35
  217. package/lib/VerticalButton/VerticalButton.js +10 -6
  218. package/lib/VirtualizedTree/Item.js +8 -8
  219. package/lib/VirtualizedTree/VirtualizedTree.js +4 -4
  220. package/lib/theme.js +82 -57
  221. package/package.json +10 -5
  222. package/umd/@sis-cc/dotstatsuite-visions.js +60498 -53550
  223. package/umd/@sis-cc/dotstatsuite-visions.min.js +129 -53
  224. package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
package/es/Logo/index.js CHANGED
@@ -1,18 +1,18 @@
1
- /**
2
- * Logo is basic component for show your logo, you can add children if you want to add subtitle
3
- *
4
- * @memberOf VISIONS
5
- * @name Logo
6
- * @tag component
7
- * @api public
8
- * @props
9
- * Logo.propTypes = {
10
- * logo: PropTypes.string,
11
- * maxHeight: PropTypes.number,
12
- * children: PropTypes.object,
13
- * };
14
- * @theme
15
- * // no custom theme there
1
+ /**
2
+ * Logo is basic component for show your logo, you can add children if you want to add subtitle
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name Logo
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * Logo.propTypes = {
10
+ * logo: PropTypes.string,
11
+ * maxHeight: PropTypes.number,
12
+ * children: PropTypes.object,
13
+ * };
14
+ * @theme
15
+ * // no custom theme there
16
16
  */
17
17
 
18
18
  export { default } from './Logo';
package/es/Mode/Mode.js CHANGED
@@ -3,10 +3,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import * as R from 'ramda';
6
- import { makeStyles } from '@material-ui/core/styles';
7
- import RadioGroup from '@material-ui/core/RadioGroup';
8
- import FormControlLabel from '@material-ui/core/FormControlLabel';
9
- import Radio from '@material-ui/core/Radio';
6
+ import makeStyles from '@mui/styles/makeStyles';
7
+ import RadioGroup from '@mui/material/RadioGroup';
8
+ import FormControlLabel from '@mui/material/FormControlLabel';
9
+ import Radio from '@mui/material/Radio';
10
10
  import { Tooltip } from '../';
11
11
  import useKeyboardEscapeHandler from '../hooks/useKeybordEscapeHandler';
12
12
 
@@ -43,7 +43,6 @@ var Warning = function Warning(_ref) {
43
43
  variant: 'light',
44
44
  'aria-label': title,
45
45
  'aria-hidden': false,
46
- interactive: true,
47
46
  open: open,
48
47
  onOpen: function onOpen() {
49
48
  return setOpen(true);
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { makeStyles } from '@material-ui/core/styles';
4
- import Typography from '@material-ui/core/Typography';
5
- import Error from '@material-ui/icons/Error';
3
+ import makeStyles from '@mui/styles/makeStyles';
4
+ import Typography from '@mui/material/Typography';
5
+ import Error from '@mui/icons-material/Error';
6
6
 
7
7
  var useStyles = makeStyles(function () {
8
8
  return {
@@ -1,15 +1,15 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import * as R from 'ramda';
4
- import { makeStyles } from '@material-ui/core/styles';
5
- import KeyboardArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
6
- import KeyboardArrowRight from '@material-ui/icons/KeyboardArrowRight';
7
- import IconButton from '@material-ui/core/IconButton';
8
- import FirstPageIcon from '@material-ui/icons/FirstPage';
9
- import LastPageIcon from '@material-ui/icons/LastPage';
10
- import TextField from '@material-ui/core/TextField';
11
- import Typography from '@material-ui/core/Typography';
12
- import { useTheme } from '@material-ui/core/styles';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import KeyboardArrowLeft from '@mui/icons-material/KeyboardArrowLeft';
6
+ import KeyboardArrowRight from '@mui/icons-material/KeyboardArrowRight';
7
+ import IconButton from '@mui/material/IconButton';
8
+ import FirstPageIcon from '@mui/icons-material/FirstPage';
9
+ import LastPageIcon from '@mui/icons-material/LastPage';
10
+ import TextField from '@mui/material/TextField';
11
+ import Typography from '@mui/material/Typography';
12
+ import { useTheme } from '@mui/material/styles';
13
13
  import { withBlank } from '../utils';
14
14
 
15
15
  var useStyles = makeStyles(function (theme) {
@@ -1,31 +1,31 @@
1
- /**
2
- * Pagination
3
- *
4
- * @memberOf VISIONS
5
- * @name Pagination
6
- * @tag component
7
- * @api public
8
- * @props
9
- * Pagination.propTypes = {
10
- * page: PropTypes.number,
11
- * pages: PropTypes.number,
12
- * onChange: PropTypes.func,
13
- * onSubmit: PropTypes.func,
14
- * labels: PropTypes.shape({
15
- * page: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
16
- * of: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
17
- * startPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
18
- * previousPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
19
- * nextPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
20
- * endPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
21
- * }),
22
- * };
23
- * @theme
24
- * {
25
- * typography: {
26
- * fontSize: // input font size
27
- * }
28
- * }
1
+ /**
2
+ * Pagination
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name Pagination
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * Pagination.propTypes = {
10
+ * page: PropTypes.number,
11
+ * pages: PropTypes.number,
12
+ * onChange: PropTypes.func,
13
+ * onSubmit: PropTypes.func,
14
+ * labels: PropTypes.shape({
15
+ * page: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
16
+ * of: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
17
+ * startPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
18
+ * previousPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
19
+ * nextPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
20
+ * endPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
21
+ * }),
22
+ * };
23
+ * @theme
24
+ * {
25
+ * typography: {
26
+ * fontSize: // input font size
27
+ * }
28
+ * }
29
29
  **/
30
30
 
31
31
  export { default } from './Pagination';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import * as R from 'ramda';
3
3
  import PropTypes from 'prop-types';
4
4
  import dateFns from 'date-fns';
5
- import Grid from '@material-ui/core/Grid';
5
+ import Grid from '@mui/material/Grid';
6
6
  import { numeralFormat } from './lib';
7
7
  import { Select } from '../';
8
8
  import useStyles from './styles';
@@ -1,26 +1,26 @@
1
- /**
2
- * PeriodPicker allow to choice a period regarding a frequency
3
- *
4
- * @memberOf VISIONS
5
- * @name PeriodPicker
6
- * @tag component
7
- * @api public
8
- * @props
9
- * Period.propTypes = {
10
- * defaultFrequency: PropTypes.string,
11
- * availableFrequencies: PropTypes.array,
12
- * boundaries: PropTypes.array,
13
- * changePeriod: PropTypes.func,
14
- * changeFrequency: PropTypes.func,
15
- * period: PropTypes.array,
16
- * labels: PropTypes.object,
17
- * periodDisabled: PropTypes.bool,
18
- * frequencyDisabled: PropTypes.bool,
19
- * };
20
- * @theme
21
- * // Select (drop down list, See Select Component)
22
- * // no custom theme there
23
- * @demoReady
1
+ /**
2
+ * PeriodPicker allow to choice a period regarding a frequency
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name PeriodPicker
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * Period.propTypes = {
10
+ * defaultFrequency: PropTypes.string,
11
+ * availableFrequencies: PropTypes.array,
12
+ * boundaries: PropTypes.array,
13
+ * changePeriod: PropTypes.func,
14
+ * changeFrequency: PropTypes.func,
15
+ * period: PropTypes.array,
16
+ * labels: PropTypes.object,
17
+ * periodDisabled: PropTypes.bool,
18
+ * frequencyDisabled: PropTypes.bool,
19
+ * };
20
+ * @theme
21
+ * // Select (drop down list, See Select Component)
22
+ * // no custom theme there
23
+ * @demoReady
24
24
  */
25
25
 
26
26
  export { default } from './PeriodPicker';
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import makeStyles from '@mui/styles/makeStyles';
2
2
 
3
3
  export default makeStyles(function (theme) {
4
4
  return {
@@ -1,9 +1,9 @@
1
1
  import React, { Fragment } from 'react';
2
2
  import * as R from 'ramda';
3
3
  import PropTypes from 'prop-types';
4
- import Typography from '@material-ui/core/Typography';
5
- import NavigateBefore from '@material-ui/icons/NavigateBefore';
6
- import NavigateNext from '@material-ui/icons/NavigateNext';
4
+ import Typography from '@mui/material/Typography';
5
+ import NavigateBefore from '@mui/icons-material/NavigateBefore';
6
+ import NavigateNext from '@mui/icons-material/NavigateNext';
7
7
  import cx from 'classnames';
8
8
  import { Tooltip } from '../';
9
9
 
@@ -3,12 +3,12 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3
3
  import React from 'react';
4
4
  import * as R from 'ramda';
5
5
  import PropTypes from 'prop-types';
6
- import ListItem from '@material-ui/core/ListItem';
7
- import Typography from '@material-ui/core/Typography';
8
- import ListItemSecondaryAction from '@material-ui/core/ListItemSecondaryAction';
9
- import ListItemText from '@material-ui/core/ListItemText';
10
- import IconButton from '@material-ui/core/IconButton';
11
- import SvgIcon from '@material-ui/core/SvgIcon';
6
+ import ListItem from '@mui/material/ListItem';
7
+ import Typography from '@mui/material/Typography';
8
+ import ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction';
9
+ import ListItemText from '@mui/material/ListItemText';
10
+ import IconButton from '@mui/material/IconButton';
11
+ import SvgIcon from '@mui/material/SvgIcon';
12
12
  import cx from 'classnames';
13
13
  import { Tooltip } from '../';
14
14
 
@@ -5,13 +5,13 @@ import * as R from 'ramda';
5
5
  import PropTypes from 'prop-types';
6
6
  import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer';
7
7
  import VirtualizedList from 'react-virtualized/dist/commonjs/List';
8
- import { useTheme } from '@material-ui/core';
9
- import List from '@material-ui/core/List';
10
- import Container from '@material-ui/core/Container';
11
- import NavigateBefore from '@material-ui/icons/NavigateBefore';
12
- import NavigateNext from '@material-ui/icons/NavigateNext';
13
- import HourglassEmptyIcon from '@material-ui/icons/HourglassEmpty';
14
- import PlaylistAddCheckIcon from '@material-ui/icons/PlaylistAddCheck';
8
+ import { useTheme } from '@mui/material';
9
+ import List from '@mui/material/List';
10
+ import Container from '@mui/material/Container';
11
+ import NavigateBefore from '@mui/icons-material/NavigateBefore';
12
+ import NavigateNext from '@mui/icons-material/NavigateNext';
13
+ import HourglassEmptyIcon from '@mui/icons-material/HourglassEmpty';
14
+ import PlaylistAddCheckIcon from '@mui/icons-material/PlaylistAddCheck';
15
15
  import Selection from './Selection';
16
16
  import { withScopeList } from './with-scope-list';
17
17
  import Header from './Header';
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import * as R from 'ramda';
3
3
  import PropTypes from 'prop-types';
4
- import List from '@material-ui/core/List';
5
- import ListItem from '@material-ui/core/ListItem';
6
- import ListItemText from '@material-ui/core/ListItemText';
7
- import Collapse from '@material-ui/core/Collapse';
8
- import Paper from '@material-ui/core/Paper';
9
- import Typography from '@material-ui/core/Typography';
10
- import Divider from '@material-ui/core/Divider';
4
+ import List from '@mui/material/List';
5
+ import ListItem from '@mui/material/ListItem';
6
+ import ListItemText from '@mui/material/ListItemText';
7
+ import Collapse from '@mui/material/Collapse';
8
+ import Paper from '@mui/material/Paper';
9
+ import Typography from '@mui/material/Typography';
10
+ import Divider from '@mui/material/Divider';
11
11
  import cx from 'classnames';
12
12
 
13
13
  var CustomListItem = function CustomListItem(_ref) {
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import makeStyles from '@mui/styles/makeStyles';
2
2
  export var height = 30;
3
3
 
4
4
  export var useStyles = makeStyles(function (theme) {
@@ -3,10 +3,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3
3
  import React, { useEffect } from 'react';
4
4
  import * as R from 'ramda';
5
5
  import PropTypes from 'prop-types';
6
- import { makeStyles } from '@material-ui/core/styles';
7
- import TextField from '@material-ui/core/TextField';
8
- import MenuItem from '@material-ui/core/MenuItem';
9
- import { Typography } from '@material-ui/core';
6
+ import makeStyles from '@mui/styles/makeStyles';
7
+ import TextField from '@mui/material/TextField';
8
+ import MenuItem from '@mui/material/MenuItem';
9
+ import { Typography } from '@mui/material';
10
10
  import cx from 'classnames';
11
11
 
12
12
  var useStyles = makeStyles(function (theme) {
@@ -1,33 +1,33 @@
1
- /**
2
- * Select boilerplate based on MUI components
3
- *
4
- * @memberOf VISIONS
5
- * @name Select
6
- * @tag component
7
- * @api public
8
- * @props
9
- * Select.propTypes = {
10
- * id: PropTypes.string,
11
- * value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
12
- * label: PropTypes.oneOfType([
13
- * PropTypes.string,
14
- * PropTypes.number,
15
- * PropTypes.element,
16
- * ]),
17
- * items: PropTypes.array,
18
- * onChange: PropTypes.func,
19
- * textFieldProps: PropTypes.object,
20
- * valueAccessor: PropTypes.func,
21
- * labelAccessor: PropTypes.func,
22
- * isMultiple: PropTypes.bool,
23
- * };
24
- * @theme
25
- * {
26
- * typography: {
27
- * body2: // font, color
28
- * }
29
- * }
30
- * @demoReady
1
+ /**
2
+ * Select boilerplate based on MUI components
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name Select
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * Select.propTypes = {
10
+ * id: PropTypes.string,
11
+ * value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
12
+ * label: PropTypes.oneOfType([
13
+ * PropTypes.string,
14
+ * PropTypes.number,
15
+ * PropTypes.element,
16
+ * ]),
17
+ * items: PropTypes.array,
18
+ * onChange: PropTypes.func,
19
+ * textFieldProps: PropTypes.object,
20
+ * valueAccessor: PropTypes.func,
21
+ * labelAccessor: PropTypes.func,
22
+ * isMultiple: PropTypes.bool,
23
+ * };
24
+ * @theme
25
+ * {
26
+ * typography: {
27
+ * body2: // font, color
28
+ * }
29
+ * }
30
+ * @demoReady
31
31
  **/
32
32
 
33
33
  export { default } from './Select';
package/es/Share/Form.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import * as R from 'ramda';
4
- import { makeStyles } from '@material-ui/core/styles';
5
- import Typography from '@material-ui/core/Typography';
6
- import Grid from '@material-ui/core/Grid';
7
- import CircularProgress from '@material-ui/core/CircularProgress';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import Typography from '@mui/material/Typography';
6
+ import Grid from '@mui/material/Grid';
7
+ import CircularProgress from '@mui/material/CircularProgress';
8
8
  import { validate as getIsValidEmail } from 'isemail';
9
9
  import Input from '../Input';
10
10
  import Alert from '../Alert';
package/es/Share/Mode.js CHANGED
@@ -3,13 +3,14 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import * as R from 'ramda';
6
- import Card from '@material-ui/core/Card';
7
- import { makeStyles, useTheme } from '@material-ui/core/styles';
8
- import CardContent from '@material-ui/core/CardContent';
9
- import Typography from '@material-ui/core/Typography';
10
- import RadioGroup from '@material-ui/core/RadioGroup';
11
- import FormControlLabel from '@material-ui/core/FormControlLabel';
12
- import Radio from '@material-ui/core/Radio';
6
+ import Card from '@mui/material/Card';
7
+ import { useTheme } from '@mui/material/styles';
8
+ import makeStyles from '@mui/styles/makeStyles';
9
+ import CardContent from '@mui/material/CardContent';
10
+ import Typography from '@mui/material/Typography';
11
+ import RadioGroup from '@mui/material/RadioGroup';
12
+ import FormControlLabel from '@mui/material/FormControlLabel';
13
+ import Radio from '@mui/material/Radio';
13
14
  import { Tooltip, Warning as WarningIcon } from '../';
14
15
 
15
16
  var useStyles = makeStyles(function (theme) {
package/es/Share/Share.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import * as R from 'ramda';
4
- import { makeStyles } from '@material-ui/core/styles';
5
- import Paper from '@material-ui/core/Paper';
6
- import Grid from '@material-ui/core/Grid';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import Paper from '@mui/material/Paper';
6
+ import Grid from '@mui/material/Grid';
7
7
  import Form from './Form';
8
8
  import Mode from './Mode';
9
9
  import { withBlank } from '../utils';
package/es/Share/index.js CHANGED
@@ -1,64 +1,64 @@
1
- /**
2
- * Share, it's a component to prepare your type of share
3
- *
4
- * @memberOf VISIONS
5
- * @name Share
6
- * @tag component
7
- * @api public
8
- * @props
9
- * Share.propTypes = {
10
- * changeIsMessageOpen: PropTypes.func,
11
- * changeMode: PropTypes.func,
12
- * changeMail: PropTypes.func,
13
- * share: PropTypes.func,
14
- * hasError: PropTypes.bool,
15
- * isMessageOpen: PropTypes.bool,
16
- * isSharing: PropTypes.bool,
17
- * mail: PropTypes.string,
18
- * mode: PropTypes.string,
19
- * modes: PropTypes.arrayOf(
20
- * PropTypes.shape({
21
- * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
22
- * value: PropTypes.string,
23
- * warningMessage: PropTypes.string,
24
- * }),
25
- * ),
26
- * labels: PropTypes.shape({
27
- * title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
28
- * disclaimer: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
29
- * submit: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
30
- * email: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
31
- * successTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
32
- * successMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
33
- * errorTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
34
- * errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
35
- * }),
36
- * };
37
- * @theme
38
- * {
39
- * palette: {
40
- * secondary: {
41
- * dark: // background color of share mode
42
- * },
43
- * tertiary: {
44
- * dark: // background color of disclaimer
45
- * },
46
- * grey: {
47
- * 100: // used if tertiary is null
48
- * }
49
- * divider: // divider color
50
- * },
51
- * typography: {
52
- * body2: // font, color of mode's label
53
- * },
54
- * mixins: {
55
- * share: {
56
- * tile: // font, color...
57
- * warning: // font, color, height...
58
- * }
59
- * }
60
- * }
61
- * @demoReady
1
+ /**
2
+ * Share, it's a component to prepare your type of share
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name Share
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * Share.propTypes = {
10
+ * changeIsMessageOpen: PropTypes.func,
11
+ * changeMode: PropTypes.func,
12
+ * changeMail: PropTypes.func,
13
+ * share: PropTypes.func,
14
+ * hasError: PropTypes.bool,
15
+ * isMessageOpen: PropTypes.bool,
16
+ * isSharing: PropTypes.bool,
17
+ * mail: PropTypes.string,
18
+ * mode: PropTypes.string,
19
+ * modes: PropTypes.arrayOf(
20
+ * PropTypes.shape({
21
+ * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
22
+ * value: PropTypes.string,
23
+ * warningMessage: PropTypes.string,
24
+ * }),
25
+ * ),
26
+ * labels: PropTypes.shape({
27
+ * title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
28
+ * disclaimer: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
29
+ * submit: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
30
+ * email: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
31
+ * successTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
32
+ * successMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
33
+ * errorTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
34
+ * errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
35
+ * }),
36
+ * };
37
+ * @theme
38
+ * {
39
+ * palette: {
40
+ * secondary: {
41
+ * dark: // background color of share mode
42
+ * },
43
+ * tertiary: {
44
+ * dark: // background color of disclaimer
45
+ * },
46
+ * grey: {
47
+ * 100: // used if tertiary is null
48
+ * }
49
+ * divider: // divider color
50
+ * },
51
+ * typography: {
52
+ * body2: // font, color of mode's label
53
+ * },
54
+ * mixins: {
55
+ * share: {
56
+ * tile: // font, color...
57
+ * warning: // font, color, height...
58
+ * }
59
+ * }
60
+ * }
61
+ * @demoReady
62
62
  */
63
63
 
64
64
  export { default } from './Share';
@@ -1,18 +1,18 @@
1
1
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
2
2
 
3
3
  import React from 'react';
4
- import Grid from '@material-ui/core/Grid';
4
+ import Grid from '@mui/material/Grid';
5
5
  import PropTypes from 'prop-types';
6
6
  import * as R from 'ramda';
7
- import { makeStyles } from '@material-ui/core/styles';
8
- import TextareaAutosize from '@material-ui/core/TextareaAutosize';
9
- import Typography from '@material-ui/core/Typography';
10
- import useMediaQuery from '@material-ui/core/useMediaQuery';
11
- import IconButton from '@material-ui/core/IconButton';
12
- import Collapse from '@material-ui/core/Collapse';
13
- import CloseIcon from '@material-ui/icons/Close';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
+ import TextareaAutosize from '@mui/material/TextareaAutosize';
9
+ import Typography from '@mui/material/Typography';
10
+ import useMediaQuery from '@mui/material/useMediaQuery';
11
+ import IconButton from '@mui/material/IconButton';
12
+ import Collapse from '@mui/material/Collapse';
13
+ import CloseIcon from '@mui/icons-material/Close';
14
14
  import { Alert, Button } from '../';
15
- import { CircularProgress } from '@material-ui/core';
15
+ import { CircularProgress } from '@mui/material';
16
16
 
17
17
  var useStyles = makeStyles(function (theme) {
18
18
  return {
@@ -45,7 +45,7 @@ var ShortUrls = function ShortUrls(_ref) {
45
45
  setIsNotifOpen = _ref.setIsNotifOpen;
46
46
 
47
47
  var isNarrow = useMediaQuery(function (theme) {
48
- return theme.breakpoints.down('sm');
48
+ return theme.breakpoints.down('md');
49
49
  });
50
50
  var classes = useStyles();
51
51
 
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import cx from 'classnames';
4
- import { makeStyles, useTheme } from '@material-ui/core/styles';
5
- import AppBar from '@material-ui/core/AppBar';
6
- import Toolbar from '@material-ui/core/Toolbar';
7
- import Grid from '@material-ui/core/Grid';
8
- import Typography from '@material-ui/core/Typography';
4
+ import { useTheme } from '@mui/material/styles';
5
+ import makeStyles from '@mui/styles/makeStyles';
6
+ import AppBar from '@mui/material/AppBar';
7
+ import Toolbar from '@mui/material/Toolbar';
8
+ import Grid from '@mui/material/Grid';
9
+ import Typography from '@mui/material/Typography';
9
10
  import { getIsRtl } from '../utils';
10
11
 
11
12
  var useStyles = makeStyles(function (theme) {
@@ -2,10 +2,10 @@ import React, { Fragment } from 'react';
2
2
  import * as R from 'ramda';
3
3
  import PropTypes from 'prop-types';
4
4
  import cx from 'classnames';
5
- import Popover from '@material-ui/core/Popover';
6
- import Button from '@material-ui/core/Button';
7
- import ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';
8
- import Check from '@material-ui/icons/Check';
5
+ import Popover from '@mui/material/Popover';
6
+ import Button from '@mui/material/Button';
7
+ import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';
8
+ import Check from '@mui/icons-material/Check';
9
9
 
10
10
  export var Field = function Field(_ref) {
11
11
  var _ref$spotlight = _ref.spotlight,