@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
@@ -2,10 +2,10 @@ import React from 'react';
2
2
  import * as R from 'ramda';
3
3
  import PropTypes from 'prop-types';
4
4
  import cx from 'classnames';
5
- import { makeStyles } from '@material-ui/core/styles';
6
- import Button from '@material-ui/core/Button';
7
- import ArrowUp from '@material-ui/icons/KeyboardArrowUp';
8
- import ArrowDown from '@material-ui/icons/KeyboardArrowDown';
5
+ import makeStyles from '@mui/styles/makeStyles';
6
+ import Button from '@mui/material/Button';
7
+ import ArrowUp from '@mui/icons-material/KeyboardArrowUp';
8
+ import ArrowDown from '@mui/icons-material/KeyboardArrowDown';
9
9
 
10
10
  var useStyles = makeStyles(function (theme) {
11
11
  var color1 = R.path(['palette', 'highlight', 'hl1'], theme) || theme.palette.primary.dark;
@@ -1,50 +1,50 @@
1
- /**
2
- * Button use api of material ui https://material-ui.com/api/button/
3
- *
4
- * textTransform: 'none' | 'capitalize' | 'uppercase' | 'lowercase'
5
- *
6
- * @memberOf VISIONS
7
- * @name ToggleButton
8
- * @tag component
9
- * @api public
10
- * @props
11
- * ToggleButton.PropTypes = {
12
- * tabindex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
13
- * testId: PropTypes.string,
14
- * isOpen: PropTypes.bool,
15
- * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
16
- * toggle: PropTypes.func,
17
- * textTransform: PropTypes.string,
18
- * };
19
- *
20
- * @theme
21
- * // set toggleButton mixins to null if you wish auto contrasted text
22
- * {
23
- * palette: {
24
- * button: {
25
- * mainOpacity: // background color of button
26
- * },
27
- * highlight: {
28
- * hl1: // background color hover and selected of button. globale override: outerPalette.highlight1
29
- * }
30
- * primary: {
31
- * main: // used if mainOpacity is null. global override: outerPalette.primaryMain
32
- * dark: // used if hl1 is null. globale override: outerPalette.primaryDark
33
- * }
34
- * },
35
- * mixins: {
36
- * toggleButton: {
37
- * selected: {
38
- * color: outerPalette.textDark
39
- * },
40
- * hover: {
41
- * color: outerPalette.textDark
42
- * }
43
- * }
44
- * }
45
- * }
46
- * @testId
47
- * root: [testId]
1
+ /**
2
+ * Button use api of material ui https://material-ui.com/api/button/
3
+ *
4
+ * textTransform: 'none' | 'capitalize' | 'uppercase' | 'lowercase'
5
+ *
6
+ * @memberOf VISIONS
7
+ * @name ToggleButton
8
+ * @tag component
9
+ * @api public
10
+ * @props
11
+ * ToggleButton.PropTypes = {
12
+ * tabindex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
13
+ * testId: PropTypes.string,
14
+ * isOpen: PropTypes.bool,
15
+ * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
16
+ * toggle: PropTypes.func,
17
+ * textTransform: PropTypes.string,
18
+ * };
19
+ *
20
+ * @theme
21
+ * // set toggleButton mixins to null if you wish auto contrasted text
22
+ * {
23
+ * palette: {
24
+ * button: {
25
+ * mainOpacity: // background color of button
26
+ * },
27
+ * highlight: {
28
+ * hl1: // background color hover and selected of button. globale override: outerPalette.highlight1
29
+ * }
30
+ * primary: {
31
+ * main: // used if mainOpacity is null. global override: outerPalette.primaryMain
32
+ * dark: // used if hl1 is null. globale override: outerPalette.primaryDark
33
+ * }
34
+ * },
35
+ * mixins: {
36
+ * toggleButton: {
37
+ * selected: {
38
+ * color: outerPalette.textDark
39
+ * },
40
+ * hover: {
41
+ * color: outerPalette.textDark
42
+ * }
43
+ * }
44
+ * }
45
+ * }
46
+ * @testId
47
+ * root: [testId]
48
48
  */
49
49
 
50
50
  export { default } from './ToggleButton';
@@ -6,8 +6,8 @@ import React from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import * as R from 'ramda';
8
8
  import cx from 'classnames';
9
- import { makeStyles } from '@material-ui/core/styles';
10
- import Tooltip from '@material-ui/core/Tooltip';
9
+ import makeStyles from '@mui/styles/makeStyles';
10
+ import Tooltip from '@mui/material/Tooltip';
11
11
 
12
12
  var useStyles = makeStyles(function (theme) {
13
13
  return {
@@ -49,11 +49,9 @@ var CustomTooltip = function CustomTooltip(_ref) {
49
49
 
50
50
  var classes = useStyles();
51
51
  return React.createElement(
52
- Tooltip
53
- // open={true}
54
- // interactive={true}
55
- ,
56
- _extends({ enterNextDelay: 100,
52
+ Tooltip,
53
+ _extends({
54
+ enterNextDelay: 100,
57
55
  classes: {
58
56
  popper: classes.popper,
59
57
  tooltip: cx(R.prop(variant + 'Tooltip')(classes), classes.tooltip)
@@ -1,36 +1,36 @@
1
- /**
2
- * Tooltip is component based on material ui https://material-ui.com/components/tooltips/.
3
- * this tooltip has onready integrate favorite style.
4
- * the tooltip will be placed on free space left, right, top or bottom
5
- * It has two color "light" and "dark"
6
- *
7
- * @memberOf VISIONS
8
- * @name Tooltip
9
- * @tag component
10
- * @api public
11
- * @props
12
- * Tooltip.propTypes = {
13
- * variant: PropTypes.string,
14
- * children: PropTypes.oneOfType([
15
- * PropTypes.arrayOf(PropTypes.node),
16
- * PropTypes.node
17
- * ])
18
- * }
19
- * @theme
20
- * {
21
- * palette: {
22
- * warning: {
23
- * main: // warning variant
24
- * },
25
- * common: {
26
- * white: // light variant
27
- * black: // dark variant
28
- * },
29
- * primary: {
30
- * light: // link color. globale override: outerPalette.primaryLight
31
- * }
32
- * }
33
- * }
1
+ /**
2
+ * Tooltip is component based on material ui https://material-ui.com/components/tooltips/.
3
+ * this tooltip has onready integrate favorite style.
4
+ * the tooltip will be placed on free space left, right, top or bottom
5
+ * It has two color "light" and "dark"
6
+ *
7
+ * @memberOf VISIONS
8
+ * @name Tooltip
9
+ * @tag component
10
+ * @api public
11
+ * @props
12
+ * Tooltip.propTypes = {
13
+ * variant: PropTypes.string,
14
+ * children: PropTypes.oneOfType([
15
+ * PropTypes.arrayOf(PropTypes.node),
16
+ * PropTypes.node
17
+ * ])
18
+ * }
19
+ * @theme
20
+ * {
21
+ * palette: {
22
+ * warning: {
23
+ * main: // warning variant
24
+ * },
25
+ * common: {
26
+ * white: // light variant
27
+ * black: // dark variant
28
+ * },
29
+ * primary: {
30
+ * light: // link color. globale override: outerPalette.primaryLight
31
+ * }
32
+ * }
33
+ * }
34
34
  */
35
35
 
36
36
  export { default } from './Tooltip';
@@ -4,11 +4,11 @@ import React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import * as R from 'ramda';
6
6
  import cx from 'classnames';
7
- import { makeStyles } from '@material-ui/core/styles';
8
- import TextField from '@material-ui/core/TextField';
9
- import InputAdornment from '@material-ui/core/InputAdornment';
10
- import IconButton from '@material-ui/core/IconButton';
11
- import Done from '@material-ui/icons/Done';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
+ import TextField from '@mui/material/TextField';
9
+ import InputAdornment from '@mui/material/InputAdornment';
10
+ import IconButton from '@mui/material/IconButton';
11
+ import Done from '@mui/icons-material/Done';
12
12
  import { withInput } from '../Input/with-input';
13
13
 
14
14
  var useStyles = makeStyles(function () {
@@ -36,7 +36,7 @@ var RightIcon = function RightIcon(_ref2) {
36
36
  IconButton,
37
37
  { color: 'primary', onClick: function onClick() {
38
38
  return onSubmit();
39
- } },
39
+ }, size: 'large' },
40
40
  React.createElement(Icon, null)
41
41
  );
42
42
  };
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import Checkbox from '@material-ui/core/Checkbox';
3
- import FormControlLabel from '@material-ui/core/FormControlLabel';
4
- import { Grid, Typography } from '@material-ui/core';
5
- import { makeStyles } from '@material-ui/core/styles';
2
+ import Checkbox from '@mui/material/Checkbox';
3
+ import FormControlLabel from '@mui/material/FormControlLabel';
4
+ import { Grid, Typography } from '@mui/material';
5
+ import makeStyles from '@mui/styles/makeStyles';
6
6
  import * as R from 'ramda';
7
7
  import cx from 'classnames';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,7 @@ var useStyles = makeStyles(function (theme) {
11
11
  var _hideContent;
12
12
 
13
13
  return {
14
- hideContent: (_hideContent = {}, _hideContent[theme.breakpoints.down('sm')] = {
14
+ hideContent: (_hideContent = {}, _hideContent[theme.breakpoints.down('md')] = {
15
15
  display: 'none'
16
16
  }, _hideContent),
17
17
  contentLabel: {
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Box, Grid, Tabs, Tab, Typography } from '@material-ui/core';
4
- import { makeStyles } from '@material-ui/core/styles';
3
+ import { Box, Grid, Tabs, Tab, Typography } from '@mui/material';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
5
  import * as R from 'ramda';
6
6
  import Permissions from './Permissions';
7
7
 
@@ -3,8 +3,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3
3
  import React, { useState } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import * as R from 'ramda';
6
- import { Grid, Typography } from '@material-ui/core';
7
- import { makeStyles } from '@material-ui/core/styles';
6
+ import { Grid, Typography } from '@mui/material';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
8
  import Input from './Input';
9
9
  import Button from '../Button';
10
10
  import Select from '../Select';
@@ -361,7 +361,6 @@ var UserRightForm = function UserRightForm(_ref) {
361
361
  type: 'submit',
362
362
  disabled: false,
363
363
  variant: 'contained',
364
- color: 'default',
365
364
  alternative: 'siscc',
366
365
  onClick: handleCancel,
367
366
  size: 'medium',
@@ -4,14 +4,17 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
4
4
 
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
7
- import { withStyles } from '@material-ui/core/styles';
7
+ import withStyles from '@mui/styles/withStyles';
8
8
  import Button from '../Button';
9
- import CircularProgress from '@material-ui/core/CircularProgress';
9
+ import CircularProgress from '@mui/material/CircularProgress';
10
10
 
11
11
  var styles = function styles() {
12
12
  return {
13
13
  root: {
14
- minWidth: 64
14
+ minWidth: 64,
15
+ display: 'flex',
16
+ flexDirection: 'column',
17
+ alignItems: 'center'
15
18
  },
16
19
  startIcon: {
17
20
  margin: 0
@@ -38,8 +41,7 @@ var VerticalButton = React.forwardRef(function (_ref, ref) {
38
41
  _extends({
39
42
  classes: {
40
43
  root: classes.root,
41
- startIcon: classes.startIcon,
42
- label: classes.label
44
+ startIcon: classes.startIcon
43
45
  },
44
46
  selected: selected,
45
47
  startIcon: loading ? React.createElement(CircularProgress, { size: sizeLoading }) : startIcon,
@@ -3,14 +3,14 @@ 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 ListItemText from '@material-ui/core/ListItemText';
9
- import IconButton from '@material-ui/core/IconButton';
10
- import SvgIcon from '@material-ui/core/SvgIcon';
11
- import Icon from '@material-ui/core/SvgIcon';
12
- import CheckBoxIcon from '@material-ui/icons/CheckBoxOutlineBlankOutlined';
13
- import CheckedBoxIcon from '@material-ui/icons/CheckBoxOutlined';
6
+ import ListItem from '@mui/material/ListItem';
7
+ import Typography from '@mui/material/Typography';
8
+ import ListItemText from '@mui/material/ListItemText';
9
+ import IconButton from '@mui/material/IconButton';
10
+ import SvgIcon from '@mui/material/SvgIcon';
11
+ import Icon from '@mui/material/SvgIcon';
12
+ import CheckBoxIcon from '@mui/icons-material/CheckBoxOutlineBlankOutlined';
13
+ import CheckedBoxIcon from '@mui/icons-material/CheckBoxOutlined';
14
14
  import cx from 'classnames';
15
15
  import { Tooltip } from '../';
16
16
  import useKeyboardEscapeHandler from '../hooks/useKeybordEscapeHandler';
@@ -134,7 +134,7 @@ var Item = function Item(_ref) {
134
134
  'aria-label': description,
135
135
  'aria-hidden': false,
136
136
  placement: 'top',
137
- interactive: Boolean(HTMLRenderer),
137
+ disableInteractive: Boolean(HTMLRenderer) === false,
138
138
  onOpen: function onOpen() {
139
139
  return setOpen(true);
140
140
  },
@@ -5,10 +5,10 @@ import PropTypes from 'prop-types';
5
5
  import * as R from 'ramda';
6
6
  import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer';
7
7
  import VirtualizedList from 'react-virtualized/dist/commonjs/List';
8
- import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
9
- import ExpandLessIcon from '@material-ui/icons/ExpandLess';
8
+ import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
9
+ import ExpandLessIcon from '@mui/icons-material/ExpandLess';
10
10
  import Item from './Item';
11
- import { useTheme } from '@material-ui/core';
11
+ import { useTheme } from '@mui/material';
12
12
  import { useStyles, height as rowHeight } from '../ScopeList/styles';
13
13
  import { getDepth, getHierarchicalId, isItemSelected as _isItemSelected, getDeprecatedIds, getDuplicates, getImposedItems } from './utils';
14
14
  import { getIsRtl } from '../utils';
package/es/theme.js CHANGED
@@ -23,7 +23,7 @@ export var sisccTheme = function sisccTheme(_ref) {
23
23
 
24
24
  var buttonBaseFocus = {
25
25
  borderColor: outerPalette.highlight1 || innerPalette.highlight1,
26
- '&:focus': {
26
+ '&.Mui-focused': {
27
27
  outlineColor: outerPalette.highlight1 || innerPalette.highlight1,
28
28
  outlineWidth: 1,
29
29
  outlineStyle: 'auto'
@@ -38,107 +38,132 @@ export var sisccTheme = function sisccTheme(_ref) {
38
38
 
39
39
  return {
40
40
  direction: rtl,
41
- props: {
41
+ components: {
42
42
  MuiButtonBase: {
43
- disableRipple: true
43
+ defaultProps: {
44
+ disableRipple: true
45
+ },
46
+ styleOverrides: {
47
+ root: isA11y && buttonBaseFocus
48
+ }
44
49
  },
45
50
  MuiUseMediaQuery: {
46
- noSsr: true
47
- }
48
- },
49
- overrides: {
51
+ defaultProps: {
52
+ noSsr: true
53
+ }
54
+ },
50
55
  MuiCheckbox: {
51
- root: {
52
- color: outerPalette.primaryMain || innerPalette.primaryMain
53
- },
54
- colorSecondary: {
55
- '&$checked': {
56
+ styleOverrides: {
57
+ root: {
56
58
  color: outerPalette.primaryMain || innerPalette.primaryMain
59
+ },
60
+ colorSecondary: {
61
+ '&$checked': {
62
+ color: outerPalette.primaryMain || innerPalette.primaryMain
63
+ }
57
64
  }
58
65
  }
59
66
  },
60
67
  MuiTableCell: {
61
- head: {
62
- lineHeight: 1.43
63
- },
64
- sizeSmall: {
65
- '&:last-child': {
66
- paddingRight: 9
68
+ styleOverrides: {
69
+ head: {
70
+ lineHeight: 1.43
71
+ },
72
+ sizeSmall: {
73
+ '&:last-child': {
74
+ paddingRight: 9
75
+ }
67
76
  }
68
77
  }
69
78
  },
70
- MuiButtonBase: {
71
- root: isA11y && buttonBaseFocus
72
- },
73
79
  MuiAccordion: {
74
- root: {
75
- '&$expanded': {
76
- margin: 0
80
+ styleOverrides: {
81
+ root: {
82
+ '&$expanded': {
83
+ margin: 0
84
+ }
77
85
  }
78
86
  }
79
87
  },
80
88
  MuiButton: {
81
- root: {
82
- textTransform: 'none'
83
- },
84
- textPrimary: {
85
- '&:hover': {
86
- backgroundColor: '' + (outerPalette.hover || innerPalette.hover)
89
+ styleOverrides: {
90
+ root: {
91
+ textTransform: 'none'
92
+ },
93
+ textPrimary: {
94
+ '&:hover': {
95
+ backgroundColor: '' + (outerPalette.hover || innerPalette.hover)
96
+ }
87
97
  }
88
98
  }
89
99
  },
90
100
  MuiMenuItem: {
91
- root: {
92
- color: outerPalette.primaryMain || innerPalette.primaryMain,
93
- '&$selected': {
94
- backgroundColor: outerPalette.hover || innerPalette.hover,
95
- '&:hover': {
96
- backgroundColor: outerPalette.selected || innerPalette.selected
101
+ styleOverrides: {
102
+ root: {
103
+ color: outerPalette.primaryMain || innerPalette.primaryMain,
104
+ '&$selected': {
105
+ backgroundColor: outerPalette.hover || innerPalette.hover,
106
+ '&:hover': {
107
+ backgroundColor: outerPalette.selected || innerPalette.selected
108
+ }
97
109
  }
98
110
  }
99
111
  }
100
112
  },
101
113
  MuiOutlinedInput: {
102
- root: {
103
- '&:focus': isA11y && focus
114
+ styleOverrides: {
115
+ root: {
116
+ '&.Mui-focused': isA11y && focus
117
+ }
104
118
  }
105
119
  },
106
120
  MuiTypography: {
107
- root: {
108
- '&:focus': isA11y && focus
121
+ styleOverrides: {
122
+ root: {
123
+ '&.Mui-focused': isA11y && focus
124
+ }
109
125
  }
110
126
  },
111
127
  MuiLink: {
112
- root: {
113
- color: outerPalette.primaryMain || innerPalette.primaryMain,
114
- '&:hover': {
115
- color: outerPalette.primaryLight || innerPalette.primaryLight
128
+ styleOverrides: {
129
+ root: {
130
+ color: outerPalette.primaryMain || innerPalette.primaryMain,
131
+ '&:hover': {
132
+ color: outerPalette.primaryLight || innerPalette.primaryLight
133
+ },
134
+ '&.Mui-focused': isA11y && focus
116
135
  },
117
- '&:focus': isA11y && focus
118
- },
119
- button: {
120
- '&:focus': isA11y && focus
136
+ button: {
137
+ '&.Mui-focused': isA11y && focus
138
+ }
121
139
  }
122
140
  },
123
141
  MuiAlert: {
124
- filledSuccess: {
125
- color: outerPalette.textDark || innerPalette.textDark
142
+ styleOverrides: {
143
+ filledSuccess: {
144
+ color: outerPalette.textDark || innerPalette.textDark
145
+ }
126
146
  }
127
147
  },
128
148
  MuiInputBase: {
129
- root: {
130
- fontSize: '1rem'
131
- },
132
- input: {
133
- height: '1.25em'
149
+ styleOverrides: {
150
+ root: {
151
+ fontSize: '1rem'
152
+ },
153
+ input: {
154
+ height: '1.25em'
155
+ }
134
156
  }
135
157
  },
136
158
  MuiFormLabel: {
137
- root: {
138
- fontSize: '1rem'
159
+ styleOverrides: {
160
+ root: {
161
+ fontSize: '1rem'
162
+ }
139
163
  }
140
164
  }
141
165
  },
166
+
142
167
  palette: {
143
168
  background: {
144
169
  default: '#ffffff'