@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,14 +2,14 @@ import React, { Fragment } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import cx from 'classnames';
4
4
  import * as R from 'ramda';
5
- import ArrowForward from '@material-ui/icons/ArrowForward';
6
- import { useTheme } from '@material-ui/core/styles';
7
- import ArrowBack from '@material-ui/icons/ArrowBack';
8
- import Search from '@material-ui/icons/Search';
9
- import Paper from '@material-ui/core/Paper';
10
- import IconButton from '@material-ui/core/IconButton';
11
- import InputBase from '@material-ui/core/InputBase';
12
- import Divider from '@material-ui/core/Divider';
5
+ import ArrowForward from '@mui/icons-material/ArrowForward';
6
+ import { useTheme } from '@mui/material/styles';
7
+ import ArrowBack from '@mui/icons-material/ArrowBack';
8
+ import Search from '@mui/icons-material/Search';
9
+ import Paper from '@mui/material/Paper';
10
+ import IconButton from '@mui/material/IconButton';
11
+ import InputBase from '@mui/material/InputBase';
12
+ import Divider from '@mui/material/Divider';
13
13
  import { Field } from './Fields';
14
14
  import { useStyles } from './useStyles';
15
15
  import { useSpotlight } from './useSpotlight';
@@ -60,7 +60,7 @@ var Spotlight = function Spotlight(_ref) {
60
60
  { className: classes.root, elevation: 0 },
61
61
  React.createElement(
62
62
  IconButton,
63
- { className: classes.leftIcon, disabled: true, 'aria-label': 'search' },
63
+ { className: classes.leftIcon, disabled: true, 'aria-label': 'search', size: 'large' },
64
64
  React.createElement(Search, null)
65
65
  ),
66
66
  React.createElement(InputBase, {
@@ -88,7 +88,8 @@ var Spotlight = function Spotlight(_ref) {
88
88
  {
89
89
  'aria-label': 'Clear',
90
90
  onClick: onClearTerm,
91
- className: cx(classes.rightIcon, classes.clear)
91
+ className: cx(classes.rightIcon, classes.clear),
92
+ size: 'large'
92
93
  },
93
94
  React.createElement(Cross, null)
94
95
  ) : null,
@@ -115,7 +116,8 @@ var Spotlight = function Spotlight(_ref) {
115
116
  color: 'primary',
116
117
  className: classes.rightIcon,
117
118
  'aria-label': 'commit',
118
- onClick: onCommitTerm
119
+ onClick: onCommitTerm,
120
+ size: 'large'
119
121
  },
120
122
  isRtl ? React.createElement(ArrowBack, null) : React.createElement(ArrowForward, null)
121
123
  )
@@ -1,75 +1,75 @@
1
- /**
2
- * Spotlight is an input for search something
3
- *
4
- * We have many options for design the component as you wish
5
- * hasClearAll: show cross button for delete your text
6
- * hasCommit: show arrow button for commit your text (You could press "enter" for commit)
7
- * withBorder: add padding around the spotlight
8
- * fullWidth: input take 100% of the width
9
- *
10
- * spotlightOptions: show on right side a drop down list where you can add some options
11
- *
12
- * open devTool to see actions
13
- *
14
- *
15
- * @memberOf VISIONS
16
- * @name Spotlight
17
- * @tag component
18
- * @api public
19
- * @props
20
- * Spotlight.propTypes = {
21
- * term: PropTypes.string,
22
- * testId: PropTypes.string,
23
- * placeholder: PropTypes.string,
24
- * defaultSpotlight: PropTypes.shape({
25
- * fields: PropTypes.object,
26
- * searchLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
27
- * FieldLabelRenderer: PropTypes.func,
28
- * }),
29
- * action: PropTypes.func,
30
- * hasClearAll: PropTypes.bool,
31
- * hasCommit: PropTypes.bool,
32
- * withBorder: PropTypes.bool,
33
- * fullWidth: PropTypes.bool,
34
- * classes: PropTypes.object,
35
- * className: PropTypes.object,
36
- * };
37
- * @theme
38
- * {
39
- * palette: {
40
- * button: {
41
- * mainOpacity: // background color around the spotlight (withBorder)
42
- * },
43
- * highlight: {
44
- * hl1: // background color around the spotlight on focus. globale override: outerPalette.highlight1
45
- * },
46
- * primary: {
47
- * main: // color of icons on the right. global override: outerPalette.primaryMain
48
- * light: // used if hl1 is null. globale override: outerPalette.primaryLight
49
- * dark: // used if mainOpacity is null. globale override: outerPalette.primaryDark
50
- * },
51
- * grey: {
52
- * 400: // input border
53
- * }
54
- * },
55
- * typography: {
56
- * body2: {
57
- * // font, color, size of input label
58
- * },
59
- * },
60
- * mixins: {
61
- * spotlight: {
62
- * focus: {
63
- * outlineColor: outerPalette.highlight1
64
- * outlineWidth: 1,
65
- * outlineStyle: 'auto',
66
- * }
67
- * },
68
- * }
69
- * }
70
- * @testId
71
- * root: [testId]
72
- * input: [testId]_input
1
+ /**
2
+ * Spotlight is an input for search something
3
+ *
4
+ * We have many options for design the component as you wish
5
+ * hasClearAll: show cross button for delete your text
6
+ * hasCommit: show arrow button for commit your text (You could press "enter" for commit)
7
+ * withBorder: add padding around the spotlight
8
+ * fullWidth: input take 100% of the width
9
+ *
10
+ * spotlightOptions: show on right side a drop down list where you can add some options
11
+ *
12
+ * open devTool to see actions
13
+ *
14
+ *
15
+ * @memberOf VISIONS
16
+ * @name Spotlight
17
+ * @tag component
18
+ * @api public
19
+ * @props
20
+ * Spotlight.propTypes = {
21
+ * term: PropTypes.string,
22
+ * testId: PropTypes.string,
23
+ * placeholder: PropTypes.string,
24
+ * defaultSpotlight: PropTypes.shape({
25
+ * fields: PropTypes.object,
26
+ * searchLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
27
+ * FieldLabelRenderer: PropTypes.func,
28
+ * }),
29
+ * action: PropTypes.func,
30
+ * hasClearAll: PropTypes.bool,
31
+ * hasCommit: PropTypes.bool,
32
+ * withBorder: PropTypes.bool,
33
+ * fullWidth: PropTypes.bool,
34
+ * classes: PropTypes.object,
35
+ * className: PropTypes.object,
36
+ * };
37
+ * @theme
38
+ * {
39
+ * palette: {
40
+ * button: {
41
+ * mainOpacity: // background color around the spotlight (withBorder)
42
+ * },
43
+ * highlight: {
44
+ * hl1: // background color around the spotlight on focus. globale override: outerPalette.highlight1
45
+ * },
46
+ * primary: {
47
+ * main: // color of icons on the right. global override: outerPalette.primaryMain
48
+ * light: // used if hl1 is null. globale override: outerPalette.primaryLight
49
+ * dark: // used if mainOpacity is null. globale override: outerPalette.primaryDark
50
+ * },
51
+ * grey: {
52
+ * 400: // input border
53
+ * }
54
+ * },
55
+ * typography: {
56
+ * body2: {
57
+ * // font, color, size of input label
58
+ * },
59
+ * },
60
+ * mixins: {
61
+ * spotlight: {
62
+ * focus: {
63
+ * outlineColor: outerPalette.highlight1
64
+ * outlineWidth: 1,
65
+ * outlineStyle: 'auto',
66
+ * }
67
+ * },
68
+ * }
69
+ * }
70
+ * @testId
71
+ * root: [testId]
72
+ * input: [testId]_input
73
73
  */
74
74
 
75
75
  export { default } from './Spotlight';
@@ -1,7 +1,7 @@
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 * as R from 'ramda';
4
- import { makeStyles } from '@material-ui/core/styles';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
5
 
6
6
  export var useStyles = makeStyles(function (theme) {
7
7
  return {
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import * as R from 'ramda';
3
3
  import PropTypes from 'prop-types';
4
- import { makeStyles } from '@material-ui/core/styles';
5
- import Typography from '@material-ui/core/Typography';
6
- import Grid from '@material-ui/core/Grid';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import Typography from '@mui/material/Typography';
6
+ import Grid from '@mui/material/Grid';
7
7
  import Tooltip from '../Tooltip/Tooltip';
8
8
 
9
9
  var useStyles = makeStyles(function (theme) {
@@ -40,7 +40,6 @@ var TableFooter = function TableFooter(_ref) {
40
40
  Tooltip,
41
41
  {
42
42
  placement: 'top',
43
- interactive: true,
44
43
  title: React.createElement(
45
44
  Typography,
46
45
  { variant: 'body2' },
@@ -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 { makeStyles } from '@material-ui/core/styles';
5
- import Typography from '@material-ui/core/Typography';
6
- import Lens from '@material-ui/icons/Lens';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
+ import Typography from '@mui/material/Typography';
6
+ import Lens from '@mui/icons-material/Lens';
7
7
 
8
8
  var useStyles = makeStyles(function (theme) {
9
9
  return {
@@ -1,10 +1,10 @@
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, { useRef, useState, useEffect, useMemo } from 'react';
4
- import { makeStyles } from '@material-ui/core/styles';
4
+ import makeStyles from '@mui/styles/makeStyles';
5
5
  import PropTypes from 'prop-types';
6
6
  import * as R from 'ramda';
7
- import Table from '@material-ui/core/Table';
7
+ import Table from '@mui/material/Table';
8
8
  import Header from './header';
9
9
  import SubHeader from './subHeader';
10
10
  import Section from './section';
@@ -2,9 +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, useTheme } from '@material-ui/core/styles';
6
- import TableCell from '@material-ui/core/TableCell';
7
- import Link from '@material-ui/core/Link';
5
+ import { useTheme } from '@mui/material/styles';
6
+ import makeStyles from '@mui/styles/makeStyles';
7
+ import TableCell from '@mui/material/TableCell';
8
+ import Link from '@mui/material/Link';
8
9
  import Flags from './flags';
9
10
  import { getIsRtl } from '../utils';
10
11
 
@@ -13,7 +14,7 @@ var useStyles = makeStyles(function (theme) {
13
14
  cell: {
14
15
  borderBottom: 'thin solid ' + theme.palette.grey[500],
15
16
  borderRight: 'thin solid ' + theme.palette.grey[500],
16
- padding: theme.spacing(0.5) + 'px ' + theme.spacing(1) + 'px',
17
+ padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
17
18
  verticalAlign: 'baseline',
18
19
  color: theme.palette.grey['A700'],
19
20
  '&:hover': {
@@ -4,9 +4,10 @@ import React, { Fragment } 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 Typography from '@material-ui/core/Typography';
9
- import Tooltip from '@material-ui/core/Tooltip';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
+ import Typography from '@mui/material/Typography';
9
+ import { visuallyHidden } from '@mui/utils';
10
+ import Tooltip from '@mui/material/Tooltip';
10
11
  import { Asterisk } from '../';
11
12
  import { getValue } from './utils';
12
13
  import useKeyboardEscapeHandler from '../hooks/useKeybordEscapeHandler';
@@ -88,7 +89,6 @@ var Flags = function Flags(_ref) {
88
89
  title: content,
89
90
  placement: 'top',
90
91
  open: open,
91
- interactive: true,
92
92
  onOpen: function onOpen() {
93
93
  return setOpen(true);
94
94
  },
@@ -115,7 +115,7 @@ var Flags = function Flags(_ref) {
115
115
  React.createElement(Asterisk, { className: classes.svg, style: { fontSize: 11 } }),
116
116
  React.createElement(
117
117
  Typography,
118
- { variant: 'srOnly' },
118
+ { style: visuallyHidden },
119
119
  '* ' + labels
120
120
  )
121
121
  )
@@ -2,10 +2,11 @@ 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 Typography from '@material-ui/core/Typography';
6
- import { makeStyles, useTheme } from '@material-ui/core/styles';
7
- import TableCell from '@material-ui/core/TableCell';
8
- import TableRow from '@material-ui/core/TableRow';
5
+ import Typography from '@mui/material/Typography';
6
+ import { useTheme } from '@mui/material/styles';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
+ import TableCell from '@mui/material/TableCell';
9
+ import TableRow from '@mui/material/TableRow';
9
10
  import Flags from './flags';
10
11
  import { getIsRtl } from '../utils';
11
12
  import { getValue } from './utils';
@@ -18,7 +19,7 @@ var useStyles = makeStyles(function (theme) {
18
19
  border: 'inherit',
19
20
  borderBottom: 'thin solid ' + theme.palette.grey[500],
20
21
  borderRight: 'thin solid ' + theme.palette.grey[500],
21
- padding: theme.spacing(0.5) + 'px ' + theme.spacing(1) + 'px',
22
+ padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
22
23
  verticalAlign: 'top',
23
24
  '&:focus ': {
24
25
  opacity: '.85'
@@ -4,11 +4,12 @@ import React from 'react';
4
4
  import * as R from 'ramda';
5
5
  import PropTypes from 'prop-types';
6
6
  import cx from 'classnames';
7
- import Typography from '@material-ui/core/Typography';
8
- import { makeStyles, useTheme } from '@material-ui/core/styles';
9
- import TableBody from '@material-ui/core/TableBody';
10
- import TableCell from '@material-ui/core/TableCell';
11
- import TableRow from '@material-ui/core/TableRow';
7
+ import Typography from '@mui/material/Typography';
8
+ import { useTheme } from '@mui/material/styles';
9
+ import makeStyles from '@mui/styles/makeStyles';
10
+ import TableBody from '@mui/material/TableBody';
11
+ import TableCell from '@mui/material/TableCell';
12
+ import TableRow from '@mui/material/TableRow';
12
13
  import SectionHeader from './sectionHeader';
13
14
  import Cell from './cell';
14
15
  import { getLight, getIsRtl } from '../utils';
@@ -23,7 +24,7 @@ var useStyles = makeStyles(function (theme) {
23
24
  border: 'inherit',
24
25
  borderBottom: 'thin solid ' + theme.palette.grey[500],
25
26
  borderRight: 'thin solid ' + theme.palette.grey[500],
26
- padding: theme.spacing(0.5) + 'px ' + theme.spacing(1) + 'px',
27
+ padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
27
28
  color: theme.palette.grey['A700'],
28
29
  verticalAlign: 'top',
29
30
  align: 'left'
@@ -38,7 +39,7 @@ var useStyles = makeStyles(function (theme) {
38
39
  border: 'inherit',
39
40
  borderBottom: 'thin solid ' + theme.palette.grey[500],
40
41
  borderRight: 'thin solid ' + theme.palette.grey[500],
41
- padding: theme.spacing(0.5) + 'px ' + theme.spacing(1) + 'px',
42
+ padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
42
43
  position: 'sticky',
43
44
  zIndex: 1
44
45
  },
@@ -2,11 +2,12 @@ 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 Typography from '@material-ui/core/Typography';
6
- import Grid from '@material-ui/core/Grid';
7
- import { makeStyles, useTheme } from '@material-ui/core/styles';
8
- import TableCell from '@material-ui/core/TableCell';
9
- import TableRow from '@material-ui/core/TableRow';
5
+ import Typography from '@mui/material/Typography';
6
+ import Grid from '@mui/material/Grid';
7
+ import { useTheme } from '@mui/material/styles';
8
+ import makeStyles from '@mui/styles/makeStyles';
9
+ import TableCell from '@mui/material/TableCell';
10
+ import TableRow from '@mui/material/TableRow';
10
11
  import Flags from './flags';
11
12
  import { getDark, getIsRtl } from '../utils';
12
13
  import { getValue } from './utils';
@@ -2,10 +2,11 @@ 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 Typography from '@material-ui/core/Typography';
6
- import { makeStyles, useTheme } from '@material-ui/core/styles';
7
- import TableCell from '@material-ui/core/TableCell';
8
- import TableRow from '@material-ui/core/TableRow';
5
+ import Typography from '@mui/material/Typography';
6
+ import { useTheme } from '@mui/material/styles';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
+ import TableCell from '@mui/material/TableCell';
9
+ import TableRow from '@mui/material/TableRow';
9
10
  import { getLight, getIsRtl } from '../utils';
10
11
  import Flags from './flags';
11
12
 
@@ -16,7 +17,7 @@ var useStyles = makeStyles(function (theme) {
16
17
  border: 'inherit',
17
18
  borderBottom: 'thin solid ' + theme.palette.grey[500],
18
19
  borderRight: 'thin solid ' + theme.palette.grey[500],
19
- padding: theme.spacing(0.5) + 'px ' + theme.spacing(1) + 'px',
20
+ padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
20
21
  color: theme.palette.grey['A700'],
21
22
  verticalAlign: 'middle',
22
23
  position: 'sticky',
@@ -27,7 +28,7 @@ var useStyles = makeStyles(function (theme) {
27
28
  border: 'inherit',
28
29
  borderBottom: 'thin solid ' + theme.palette.grey[500],
29
30
  borderRight: 'thin solid ' + theme.palette.grey[500],
30
- padding: theme.spacing(0.5) + 'px ' + theme.spacing(1) + 'px',
31
+ padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
31
32
  verticalAlign: 'middle',
32
33
  textAlign: 'center',
33
34
  color: theme.palette.grey['A700']
@@ -1,12 +1,13 @@
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 Grid from '@material-ui/core/Grid';
6
- import { makeStyles } from '@material-ui/core/styles';
7
4
  import cx from 'classnames';
8
5
  import { Droppable } from '@hello-pangea/dnd';
6
+ import Typography from '@mui/material/Typography';
7
+ import Grid from '@mui/material/Grid';
8
+ import makeStyles from '@mui/styles/makeStyles';
9
9
  import DnDItem from './DnDItem';
10
+ import { visuallyHidden } from '@mui/utils';
10
11
  import { getLight, getDark } from '../utils';
11
12
  import { BOX } from './constants';
12
13
 
@@ -70,7 +71,7 @@ var Box = function Box(_ref2) {
70
71
  ),
71
72
  React.createElement(
72
73
  Typography,
73
- { variant: 'srOnly' },
74
+ { style: visuallyHidden },
74
75
  title
75
76
  )
76
77
  ),
@@ -4,10 +4,10 @@ import React, { Fragment } 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 Typography from '@material-ui/core/Typography';
9
- import Select from '@material-ui/core/Select';
10
- import MenuItem from '@material-ui/core/MenuItem';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
+ import Typography from '@mui/material/Typography';
9
+ import Select from '@mui/material/Select';
10
+ import MenuItem from '@mui/material/MenuItem';
11
11
  import { Draggable } from '@hello-pangea/dnd';
12
12
  import { getLight, getDark } from '../utils';
13
13
  import { BOX, wcagId } from './constants';
@@ -50,11 +50,10 @@ export var useStyles = makeStyles(function (theme) {
50
50
  fontSize: theme.typography.fontSize - 2,
51
51
  fontWeight: theme.typography.fontWeightBold
52
52
  }, _ref.itemButton = {
53
- paddingTop: theme.spacing(0.25),
54
- paddingBottom: theme.spacing(0.25),
55
- paddingRight: 0
53
+ // paddingTop: theme.spacing(0.25),
54
+ // paddingBottom: theme.spacing(0.25),
55
+ // paddingRight: 0,
56
56
  }, _ref.select = {
57
- padding: theme.spacing(0.5, 4, 0.5, 2),
58
57
  backgroundColor: theme.palette.common.white,
59
58
  '&:focus': {
60
59
  backgroundColor: theme.palette.common.white
@@ -110,7 +109,9 @@ var DnDItem = function DnDItem(_ref2) {
110
109
  return selectItem.onChange(e.target.value);
111
110
  },
112
111
  classes: { root: classes.select },
113
- variant: 'outlined'
112
+ variant: 'outlined',
113
+ size: 'small',
114
+ autoWidth: true
114
115
  },
115
116
  R.map(function (v) {
116
117
  return React.createElement(
@@ -4,16 +4,17 @@ import React, { Fragment, useState, useMemo, useEffect } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import cx from 'classnames';
6
6
  import * as R from 'ramda';
7
- import Grid from '@material-ui/core/Grid';
8
- import Typography from '@material-ui/core/Typography';
9
- import ViewColumn from '@material-ui/icons/ViewColumnOutlined';
10
- import ViewList from '@material-ui/icons/ViewListOutlined';
11
- import Reorder from '@material-ui/icons/Reorder';
12
- import ViewQuilt from '@material-ui/icons/ViewQuiltOutlined';
13
- import Undo from '@material-ui/icons/Undo';
14
- import Done from '@material-ui/icons/Done';
15
- import CheckBoxIcon from '@material-ui/icons/CheckBoxOutlineBlankOutlined';
16
- import { makeStyles } from '@material-ui/core/styles';
7
+ import Grid from '@mui/material/Grid';
8
+ import Typography from '@mui/material/Typography';
9
+ import ViewColumn from '@mui/icons-material/ViewColumnOutlined';
10
+ import ViewList from '@mui/icons-material/ViewListOutlined';
11
+ import Reorder from '@mui/icons-material/Reorder';
12
+ import ViewQuilt from '@mui/icons-material/ViewQuiltOutlined';
13
+ import Undo from '@mui/icons-material/Undo';
14
+ import Done from '@mui/icons-material/Done';
15
+ import { visuallyHidden } from '@mui/utils';
16
+ import { makeStyles } from '@mui/styles';
17
+ import CheckBoxIcon from '@mui/icons-material/CheckBoxOutlineBlankOutlined';
17
18
  import { DragDropContext } from '@hello-pangea/dnd';
18
19
  import { withBlank } from '../utils';
19
20
  import TablePreview from '../TablePreview';
@@ -267,7 +268,7 @@ var TableLayout = function TableLayout(_ref) {
267
268
  ),
268
269
  React.createElement(
269
270
  Typography,
270
- { variant: 'srOnly' },
271
+ { style: visuallyHidden },
271
272
  labels.wcagDragExplanation
272
273
  )
273
274
  ),
@@ -2,10 +2,10 @@ import React, { Fragment } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import cx from 'classnames';
4
4
  import * as R from 'ramda';
5
- import Table from '@material-ui/core/Table';
6
- import TableRow from '@material-ui/core/TableRow';
7
- import TableCell from '@material-ui/core/TableCell';
8
- import Lens from '@material-ui/icons/Lens';
5
+ import Table from '@mui/material/Table';
6
+ import TableRow from '@mui/material/TableRow';
7
+ import TableCell from '@mui/material/TableCell';
8
+ import Lens from '@mui/icons-material/Lens';
9
9
  import { withBlank } from '../utils';
10
10
  import { useStyles } from './styles';
11
11
  import { getMaxValuesLength, getEmptyValues, getLabel, valueLabel, maxCount } from './lib';
@@ -1,5 +1,5 @@
1
1
  import * as R from 'ramda';
2
- import Lens from '@material-ui/icons/Lens';
2
+ import Lens from '@mui/icons-material/Lens';
3
3
 
4
4
  export var valueLabel = 'Xxxx';
5
5
  export var maxCount = 3;
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import makeStyles from '@mui/styles/makeStyles';
2
2
  import { getLight, getDark } from '../utils';
3
3
 
4
4
  export var useStyles = makeStyles(function (theme) {
package/es/Tag/Tag.js CHANGED
@@ -3,8 +3,8 @@ 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 Typography from '@material-ui/core/Typography';
7
- import { makeStyles } from '@material-ui/core/styles';
6
+ import Typography from '@mui/material/Typography';
7
+ import makeStyles from '@mui/styles/makeStyles';
8
8
 
9
9
  var useStyles = makeStyles(function (theme) {
10
10
  return {
package/es/Tag/index.js CHANGED
@@ -1,30 +1,30 @@
1
- /**
2
- * Tag takes children for wrapped it into a hightlight
3
- *
4
- * @memberOf VISIONS
5
- * @name Tag
6
- * @tag component
7
- * @api public
8
- * @theme
9
- * {
10
- * palette: {
11
- * highlight: {
12
- * hl2: // border around the label. globale override: outerPalette.highlight2
13
- * },
14
- * primary: {
15
- * dark: // used if hl2 is null. globale override: outerPalette.primaryDark
16
- * }
17
- * },
18
- * mixins: {
19
- * tag: {
20
- * root: {
21
- * fontSize: 12,
22
- * fontFamily: "'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif",
23
- * color: outerPalette.textLight,
24
- * },
25
- * }
26
- * }
27
- * }
1
+ /**
2
+ * Tag takes children for wrapped it into a hightlight
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name Tag
6
+ * @tag component
7
+ * @api public
8
+ * @theme
9
+ * {
10
+ * palette: {
11
+ * highlight: {
12
+ * hl2: // border around the label. globale override: outerPalette.highlight2
13
+ * },
14
+ * primary: {
15
+ * dark: // used if hl2 is null. globale override: outerPalette.primaryDark
16
+ * }
17
+ * },
18
+ * mixins: {
19
+ * tag: {
20
+ * root: {
21
+ * fontSize: 12,
22
+ * fontFamily: "'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif",
23
+ * color: outerPalette.textLight,
24
+ * },
25
+ * }
26
+ * }
27
+ * }
28
28
  */
29
29
 
30
30
  export { default } from './Tag';