@sis-cc/dotstatsuite-visions 11.4.1 → 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 +3 -12
  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 +6 -13
  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 +60484 -53543
  223. package/umd/@sis-cc/dotstatsuite-visions.min.js +129 -53
  224. package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
@@ -7,26 +7,26 @@ import PropTypes from 'prop-types';
7
7
  import * as R from 'ramda';
8
8
  import cx from 'classnames';
9
9
  import { getEvolvedDisableAccessor, getHierarchicalId, getScopeGetters } from '../VirtualizedTree/utils';
10
- import IconButton from '@material-ui/core/Button';
11
- import Dialog from '@material-ui/core/Dialog';
12
- import DialogTitle from '@material-ui/core/DialogTitle';
13
- import DialogContent from '@material-ui/core/DialogContent';
14
- import DialogActions from '@material-ui/core/DialogActions';
15
- import Paper from '@material-ui/core/Paper';
16
- import Grid from '@material-ui/core/Grid';
17
- import Typography from '@material-ui/core/Typography';
18
- import CloseIcon from '@material-ui/icons/Close';
10
+ import IconButton from '@mui/material/Button';
11
+ import Dialog from '@mui/material/Dialog';
12
+ import DialogTitle from '@mui/material/DialogTitle';
13
+ import DialogContent from '@mui/material/DialogContent';
14
+ import DialogActions from '@mui/material/DialogActions';
15
+ import Paper from '@mui/material/Paper';
16
+ import Grid from '@mui/material/Grid';
17
+ import Typography from '@mui/material/Typography';
18
+ import CloseIcon from '@mui/icons-material/Close';
19
19
  import Draggable from 'react-draggable';
20
20
  import { Button, Spotlight, Tooltip, VirtualizedTree } from '..';
21
21
  import { withExpansionTree } from '../VirtualizedTree/withExpansionTree';
22
22
  import { withSpotlight } from '../VirtualizedTree/withSpotlight';
23
- import { makeStyles } from '@material-ui/core/styles';
24
- import HintIcon from '@material-ui/icons/EmojiObjects';
23
+ import makeStyles from '@mui/styles/makeStyles';
24
+ import HintIcon from '@mui/icons-material/EmojiObjects';
25
25
  import singleImg from './images/single-selection.png';
26
26
  import childrenImg from './images/children-selection.png';
27
27
  import branchImg from './images/branch-selection.png';
28
28
  import levelImg from './images/level-selection.png';
29
- import { Divider } from '@material-ui/core';
29
+ import { Divider } from '@mui/material';
30
30
 
31
31
  var PaperComponent = function PaperComponent(props) {
32
32
  return React.createElement(
@@ -113,7 +113,7 @@ var useStyles = makeStyles(function (theme) {
113
113
  selectModeItem: {
114
114
  boxShadow: 'none',
115
115
  display: 'flex',
116
- backgroundColor: 'inherit',
116
+ backgroundColor: 'transparent',
117
117
  flexDirection: 'row-reverse',
118
118
  alignItems: 'center',
119
119
  '& p': {
@@ -400,7 +400,7 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
400
400
  },
401
401
  React.createElement(
402
402
  Paper,
403
- { className: classes.selectModeItem, key: value },
403
+ { elevation: 0, className: classes.selectModeItem, key: value },
404
404
  React.createElement(
405
405
  Typography,
406
406
  null,
@@ -424,7 +424,8 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
424
424
  {
425
425
  className: classes.closeButton,
426
426
  onClick: onClose,
427
- 'aria-label': R.prop('cancel', labels)
427
+ 'aria-label': R.prop('cancel', labels),
428
+ size: 'large'
428
429
  },
429
430
  React.createElement(CloseIcon, null)
430
431
  )
@@ -526,6 +527,7 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
526
527
  Button,
527
528
  {
528
529
  disabled: R.isEmpty(selection),
530
+ 'aria-label': R.prop('apply', labels),
529
531
  onClick: handleSubmit,
530
532
  color: 'primary',
531
533
  variant: 'contained',
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import * as R from 'ramda';
4
- import Card from '@material-ui/core/Card';
5
- import CardContent from '@material-ui/core/CardContent';
6
- import Paper from '@material-ui/core/Paper';
7
- import Typography from '@material-ui/core/Typography';
8
- import HintIcon from '@material-ui/icons/EmojiObjects';
4
+ import Card from '@mui/material/Card';
5
+ import CardContent from '@mui/material/CardContent';
6
+ import Paper from '@mui/material/Paper';
7
+ import Typography from '@mui/material/Typography';
8
+ import HintIcon from '@mui/icons-material/EmojiObjects';
9
9
  import { Button } from '..';
10
10
 
11
11
  var SelectionModeMenu = function SelectionModeMenu(_ref) {
package/es/Alert/Alert.js CHANGED
@@ -5,19 +5,20 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import clsx from 'clsx';
8
- import { withStyles, lighten, darken } from '@material-ui/core/styles';
9
- import Paper from '@material-ui/core/Paper';
10
- import SuccessOutlinedIcon from '@material-ui/icons/CheckCircleOutlineOutlined';
11
- import ReportProblemOutlinedIcon from '@material-ui/icons/ReportProblemOutlined';
12
- import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
13
- import InfoOutlinedIcon from '@material-ui/icons/InfoOutlined';
14
- import CloseIcon from '@material-ui/icons/Close';
15
- import IconButton from '@material-ui/core/IconButton';
16
- import { capitalize } from '@material-ui/core/utils';
8
+ import { lighten, darken } from '@mui/material/styles';
9
+ import withStyles from '@mui/styles/withStyles';
10
+ import Paper from '@mui/material/Paper';
11
+ import SuccessOutlinedIcon from '@mui/icons-material/CheckCircleOutlineOutlined';
12
+ import ReportProblemOutlinedIcon from '@mui/icons-material/ReportProblemOutlined';
13
+ import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';
14
+ import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
15
+ import CloseIcon from '@mui/icons-material/Close';
16
+ import IconButton from '@mui/material/IconButton';
17
+ import { capitalize } from '@mui/material/utils';
17
18
 
18
19
  export var styles = function styles(theme) {
19
- var getColor = theme.palette.type === 'light' ? darken : lighten;
20
- var getBackgroundColor = theme.palette.type === 'light' ? lighten : darken;
20
+ var getColor = theme.palette.mode === 'light' ? darken : lighten;
21
+ var getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
21
22
 
22
23
  return {
23
24
  /* Styles applied to the root element. */
@@ -215,43 +216,43 @@ Alert.propTypes = process.env.NODE_ENV !== "production" ? {
215
216
  // | These PropTypes are generated from the TypeScript type definitions |
216
217
  // | To update them edit the d.ts file and run "yarn proptypes" |
217
218
  // ----------------------------------------------------------------------
218
- /**
219
- * The action to display. It renders after the message, at the end of the alert.
219
+ /**
220
+ * The action to display. It renders after the message, at the end of the alert.
220
221
  */
221
222
  action: PropTypes.node,
222
- /**
223
- * The content of the component.
223
+ /**
224
+ * The content of the component.
224
225
  */
225
226
  children: PropTypes.node,
226
- /**
227
- * Override or extend the styles applied to the component.
228
- * See [CSS API](#css) below for more details.
227
+ /**
228
+ * Override or extend the styles applied to the component.
229
+ * See [CSS API](#css) below for more details.
229
230
  */
230
231
  classes: PropTypes.object,
231
- /**
232
- * @ignore
232
+ /**
233
+ * @ignore
233
234
  */
234
235
  className: PropTypes.string,
235
- /**
236
- * Override the default label for the *close popup* icon button.
237
- *
238
- * For localization purposes, you can use the provided [translations](/guides/localization/).
236
+ /**
237
+ * Override the default label for the *close popup* icon button.
238
+ *
239
+ * For localization purposes, you can use the provided [translations](/guides/localization/).
239
240
  */
240
241
  closeText: PropTypes.string,
241
- /**
242
- * The main color for the alert. Unless provided, the value is taken from the `severity` prop.
242
+ /**
243
+ * The main color for the alert. Unless provided, the value is taken from the `severity` prop.
243
244
  */
244
245
  color: PropTypes.oneOf(['error', 'info', 'success', 'warning']),
245
- /**
246
- * Override the icon displayed before the children.
247
- * Unless provided, the icon is mapped to the value of the `severity` prop.
246
+ /**
247
+ * Override the icon displayed before the children.
248
+ * Unless provided, the icon is mapped to the value of the `severity` prop.
248
249
  */
249
250
  icon: PropTypes.node,
250
- /**
251
- * The component maps the `severity` prop to a range of different icons,
252
- * for instance success to `<SuccessOutlined>`.
253
- * If you wish to change this mapping, you can provide your own.
254
- * Alternatively, you can use the `icon` prop to override the icon displayed.
251
+ /**
252
+ * The component maps the `severity` prop to a range of different icons,
253
+ * for instance success to `<SuccessOutlined>`.
254
+ * If you wish to change this mapping, you can provide your own.
255
+ * Alternatively, you can use the `icon` prop to override the icon displayed.
255
256
  */
256
257
  iconMapping: PropTypes.shape({
257
258
  error: PropTypes.node,
@@ -259,23 +260,23 @@ Alert.propTypes = process.env.NODE_ENV !== "production" ? {
259
260
  success: PropTypes.node,
260
261
  warning: PropTypes.node
261
262
  }),
262
- /**
263
- * Callback fired when the component requests to be closed.
264
- * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
265
- *
266
- * @param {object} event The event source of the callback.
263
+ /**
264
+ * Callback fired when the component requests to be closed.
265
+ * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
266
+ *
267
+ * @param {object} event The event source of the callback.
267
268
  */
268
269
  onClose: PropTypes.func,
269
- /**
270
- * The ARIA role attribute of the element.
270
+ /**
271
+ * The ARIA role attribute of the element.
271
272
  */
272
273
  role: PropTypes.string,
273
- /**
274
- * The severity of the alert. This defines the color and icon used.
274
+ /**
275
+ * The severity of the alert. This defines the color and icon used.
275
276
  */
276
277
  severity: PropTypes.oneOf(['error', 'info', 'success', 'warning']),
277
- /**
278
- * The variant to use.
278
+ /**
279
+ * The variant to use.
279
280
  */
280
281
  variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])
281
282
  } : {};
package/es/Alert/index.js CHANGED
@@ -1,13 +1,13 @@
1
- /**
2
- * An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
3
- * see more
4
- *
5
- * https://material-ui.com/components/alert/
6
- *
7
- * @memberOf VISIONS
8
- * @name Alert
9
- * @tag component
10
- * @api private
1
+ /**
2
+ * An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
3
+ * see more
4
+ *
5
+ * https://material-ui.com/components/alert/
6
+ *
7
+ * @memberOf VISIONS
8
+ * @name Alert
9
+ * @tag component
10
+ * @api private
11
11
  */
12
12
 
13
13
  export { default } from './Alert';
@@ -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 Typography from '@material-ui/core/Typography';
5
- import Divider from '@material-ui/core/Divider';
6
- import Grid from '@material-ui/core/Grid';
7
- import { makeStyles } from '@material-ui/core/styles';
4
+ import Typography from '@mui/material/Typography';
5
+ import Divider from '@mui/material/Divider';
6
+ import Grid from '@mui/material/Grid';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
8
  import Query from './Query';
9
9
 
10
10
  var useStyles = makeStyles(function (theme) {
@@ -1,10 +1,10 @@
1
1
  import React 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 TextareaAutosize from '@material-ui/core/TextareaAutosize';
6
- import Grid from '@material-ui/core/Grid';
7
- import { makeStyles } from '@material-ui/core/styles';
4
+ import Typography from '@mui/material/Typography';
5
+ import TextareaAutosize from '@mui/material/TextareaAutosize';
6
+ import Grid from '@mui/material/Grid';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
8
  import { Alert, Button } from '../';
9
9
 
10
10
  var useStyles = makeStyles(function (theme) {
@@ -25,14 +25,14 @@
25
25
  import React, { useState } from 'react';
26
26
  import PropTypes from 'prop-types';
27
27
  import { isEmpty } from 'ramda';
28
- import Checkbox from '@material-ui/core/Checkbox';
29
- import CloseIcon from '@material-ui/icons/Close';
30
- import Dialog from '@material-ui/core/Dialog';
31
- import IconButton from '@material-ui/core/IconButton';
32
- import PersonIcon from '@material-ui/icons/Person';
33
- import TextField from '@material-ui/core/TextField';
34
- import Typography from '@material-ui/core/Typography';
35
- import { makeStyles } from '@material-ui/core/styles';
28
+ import Checkbox from '@mui/material/Checkbox';
29
+ import CloseIcon from '@mui/icons-material/Close';
30
+ import Dialog from '@mui/material/Dialog';
31
+ import IconButton from '@mui/material/IconButton';
32
+ import PersonIcon from '@mui/icons-material/Person';
33
+ import TextField from '@mui/material/TextField';
34
+ import Typography from '@mui/material/Typography';
35
+ import makeStyles from '@mui/styles/makeStyles';
36
36
  import Button from '../Button';
37
37
 
38
38
  var useStyles = makeStyles(function () {
@@ -126,7 +126,7 @@ var AuthDialog = function AuthDialog(_ref) {
126
126
  ),
127
127
  onClose && React.createElement(
128
128
  IconButton,
129
- { className: classes.closeButton, onClick: onClose },
129
+ { className: classes.closeButton, onClick: onClose, size: 'large' },
130
130
  React.createElement(CloseIcon, null)
131
131
  )
132
132
  ),
@@ -1,11 +1,11 @@
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 Breadcrumbs from '@material-ui/core/Breadcrumbs';
6
- import Typography from '@material-ui/core/Typography';
7
- import NavigateNextIcon from '@material-ui/icons/NavigateNext';
8
- import NavigateBeforeIcon from '@material-ui/icons/NavigateBefore';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import Breadcrumbs from '@mui/material/Breadcrumbs';
6
+ import Typography from '@mui/material/Typography';
7
+ import NavigateNextIcon from '@mui/icons-material/NavigateNext';
8
+ import NavigateBeforeIcon from '@mui/icons-material/NavigateBefore';
9
9
  import cx from 'classnames';
10
10
 
11
11
  var useStyles = makeStyles(function (theme) {
@@ -1,30 +1,30 @@
1
- /**
2
- * Breadcrumbs allow users to make selections from a range of values.
3
- *
4
- * @memberOf VISIONS
5
- * @name Breadcrumbs
6
- * @tag component
7
- * @api public
8
- * @props
9
- * Breadcrumbs.propTypes = {
10
- * items: PropTypes.shape({
11
- * text: PropTypes.string.isRequired,
12
- * action: PropTypes.func,
13
- * isDisabled: PropTypes.bool,
14
- * }),
15
- * isRtl: PropTypes.bool,
16
- * };
17
- * @theme
18
- * {
19
- * palette: {
20
- * primary: {
21
- * main: // label hover. global override: outerPalette.primaryMain
22
- * },
23
- * text: {
24
- * disabled: // disabled label
25
- * }
26
- * }
27
- * }
1
+ /**
2
+ * Breadcrumbs allow users to make selections from a range of values.
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name Breadcrumbs
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * Breadcrumbs.propTypes = {
10
+ * items: PropTypes.shape({
11
+ * text: PropTypes.string.isRequired,
12
+ * action: PropTypes.func,
13
+ * isDisabled: PropTypes.bool,
14
+ * }),
15
+ * isRtl: PropTypes.bool,
16
+ * };
17
+ * @theme
18
+ * {
19
+ * palette: {
20
+ * primary: {
21
+ * main: // label hover. global override: outerPalette.primaryMain
22
+ * },
23
+ * text: {
24
+ * disabled: // disabled label
25
+ * }
26
+ * }
27
+ * }
28
28
  */
29
29
 
30
30
  export { default } from './Breadcrumbs';
@@ -6,8 +6,8 @@ import React from 'react';
6
6
  import * as R from 'ramda';
7
7
  import PropTypes from 'prop-types';
8
8
  import cx from 'classnames';
9
- import Button from '@material-ui/core/Button';
10
- import { makeStyles } from '@material-ui/core/styles';
9
+ import Button from '@mui/material/Button';
10
+ import makeStyles from '@mui/styles/makeStyles';
11
11
 
12
12
  var useStyles = makeStyles(function (theme) {
13
13
  var color1 = R.path(['palette', 'highlight', 'hl1'], theme) || theme.palette.primary.dark;
@@ -1,52 +1,52 @@
1
- /**
2
- * A modified version of the vanilla Material UI button with selected props
3
- *
4
- *
5
- * https://material-ui.com/components/Button/
6
- *
7
- * @memberOf VISIONS
8
- * @name Button
9
- * @tag component
10
- * @api public
11
- *
12
- * Button.propTypes = {
13
- * alternative: PropTypes.string,
14
- * className: PropTypes.string,
15
- * selected: PropTypes.bool,
16
- * children: PropTypes.node,
17
- * };
18
- * @theme
19
- * // default alternative
20
- * {
21
- * palette: {
22
- * action: {
23
- * hover: // background color of hover button and selected state,
24
- * selected: // background color of selected hover,
25
- * }
26
- * }
27
- * }
28
- * // siscc alternative
29
- * {
30
- * palette: {
31
- * primary: {
32
- * main: // item main label and sub label's hover. global override: outerPalette.primaryMain
33
- * }
34
- * tertiary: {
35
- * light: // hover background color items (e.g. Economie)
36
- * },
37
- * secondary: {
38
- * light: // used if you set tertiary light to null
39
- * }
40
- * grey: {
41
- * 600: // svg icon color
42
- * 800: // sub label color. globale override: outerPalette.textLight
43
- * }
44
- * },
45
- * typography: {
46
- * body2: // font main label
47
- * body1: // font sub label
48
- * }
49
- * }
1
+ /**
2
+ * A modified version of the vanilla Material UI button with selected props
3
+ *
4
+ *
5
+ * https://@mui/material/Button
6
+ *
7
+ * @memberOf VISIONS
8
+ * @name Button
9
+ * @tag component
10
+ * @api public
11
+ *
12
+ * Button.propTypes = {
13
+ * alternative: PropTypes.string,
14
+ * className: PropTypes.string,
15
+ * selected: PropTypes.bool,
16
+ * children: PropTypes.node,
17
+ * };
18
+ * @theme
19
+ * // default alternative
20
+ * {
21
+ * palette: {
22
+ * action: {
23
+ * hover: // background color of hover button and selected state,
24
+ * selected: // background color of selected hover,
25
+ * }
26
+ * }
27
+ * }
28
+ * // siscc alternative
29
+ * {
30
+ * palette: {
31
+ * primary: {
32
+ * main: // item main label and sub label's hover. global override: outerPalette.primaryMain
33
+ * }
34
+ * tertiary: {
35
+ * light: // hover background color items (e.g. Economie)
36
+ * },
37
+ * secondary: {
38
+ * light: // used if you set tertiary light to null
39
+ * }
40
+ * grey: {
41
+ * 600: // svg icon color
42
+ * 800: // sub label color. globale override: outerPalette.textLight
43
+ * }
44
+ * },
45
+ * typography: {
46
+ * body2: // font main label
47
+ * body1: // font sub label
48
+ * }
49
+ * }
50
50
  */
51
51
 
52
52
  export { default } from './Button';
@@ -3,11 +3,11 @@ 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 Grid from '@material-ui/core/Grid';
7
- import ArrowForwardIcon from '@material-ui/icons/ArrowForward';
8
- import ArrowUpwardIcon from '@material-ui/icons/ArrowUpward';
6
+ import Grid from '@mui/material/Grid';
7
+ import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
8
+ import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
9
9
  import Title from './Title';
10
- import { Button, InputAdornment, Typography } from '@material-ui/core';
10
+ import { Button, InputAdornment, Typography } from '@mui/material';
11
11
  import useFocusOptions from './useFocusOptions';
12
12
  import Select from '../Select';
13
13
  import { extractMultipleValue, getValue } from './utils';
@@ -15,7 +15,7 @@ import useDimensionOptions from './useDimensionOptions';
15
15
  import InputProxy from './InputProxy';
16
16
  import Proxy from './Proxy';
17
17
  import useAxisOptions from './useAxisOptions';
18
- import { makeStyles } from '@material-ui/core/styles';
18
+ import makeStyles from '@mui/styles/makeStyles';
19
19
  import DataEdit from '../DataEdit';
20
20
 
21
21
  export var useStyles = makeStyles(function (theme) {
@@ -5,12 +5,12 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
5
5
  import React, { useEffect, useState } from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import * as R from 'ramda';
8
- import { makeStyles } from '@material-ui/core/styles';
9
- import TextField from '@material-ui/core/TextField';
10
- import InputAdornment from '@material-ui/core/InputAdornment';
11
- import IconButton from '@material-ui/core/IconButton';
12
- import Done from '@material-ui/icons/Done';
13
- import RotateLeftIcon from '@material-ui/icons/RotateLeft';
8
+ import makeStyles from '@mui/styles/makeStyles';
9
+ import TextField from '@mui/material/TextField';
10
+ import InputAdornment from '@mui/material/InputAdornment';
11
+ import IconButton from '@mui/material/IconButton';
12
+ import Done from '@mui/icons-material/Done';
13
+ import RotateLeftIcon from '@mui/icons-material/RotateLeft';
14
14
 
15
15
  var useStyles = makeStyles(function () {
16
16
  return {
@@ -46,7 +46,7 @@ var RightIcon = function RightIcon(_ref2) {
46
46
  IconButton,
47
47
  { color: 'primary', onClick: function onClick() {
48
48
  return onSubmit();
49
- } },
49
+ }, size: 'large' },
50
50
  React.createElement(Icon, null)
51
51
  );
52
52
  };
@@ -113,7 +113,8 @@ var MyInput = function MyInput(_ref3) {
113
113
  id: resetId,
114
114
  'aria-label': resetLabel,
115
115
  onKeyPress: onEnterLabel,
116
- onClick: handleReset
116
+ onClick: handleReset,
117
+ size: 'large'
117
118
  },
118
119
  React.createElement(RotateLeftIcon, { fontSize: 'small' })
119
120
  )
@@ -3,7 +3,7 @@ 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 { Grid } from '@material-ui/core';
6
+ import { Grid } from '@mui/material';
7
7
  import Input from './Input';
8
8
 
9
9
  var InputProxy = function InputProxy(_ref) {
@@ -1,8 +1,8 @@
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 { Grid, Typography } from '@material-ui/core';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import { Grid, Typography } from '@mui/material';
6
6
 
7
7
  export var useStyles = makeStyles(function () {
8
8
  return {