@hipay/hipay-material-ui 2.2.0-beta-core → 2.2.0-beta-core2
Sign up to get free protection for your applications and to get access to all the features.
- package/HiAlertModal/HiAlertModal.js +1 -1
- package/HiAppBar/HiAppBar.js +1 -1
- package/HiBreadcrumb/HiStep.js +1 -1
- package/HiBreadcrumb/HiStepConnector.js +1 -1
- package/HiBreadcrumb/HiStepContent.js +1 -1
- package/HiBreadcrumb/HiStepIcon.js +1 -1
- package/HiBreadcrumb/HiStepLabel.js +1 -1
- package/HiBreadcrumb/HiStepper.js +1 -1
- package/HiButton/HiButton.js +3 -3
- package/HiChip/HiChipSwitch.js +1 -1
- package/HiColoredLabel/HiColoredLabel.js +1 -1
- package/HiDatePicker/HiDateRangeSelector.js +0 -1
- package/HiDatePicker/stylesheet.js +1 -1
- package/HiIconButton/HiIconButton.js +2 -2
- package/HiMap/HiMap.js +1 -1
- package/HiMap/HiMapExpand.js +1 -1
- package/HiNotice/HiKPI.js +1 -1
- package/HiPaymentMeans/HiPaymentMeans.js +1 -1
- package/HiPdfReader/HiPdfReader.js +1 -1
- package/HiPin/HiPin.js +1 -1
- package/HiRadio/HiRadio.js +1 -1
- package/HiSelect/HiSuggestSelect.js +1 -1
- package/HiTable/HiTableHeader.js +1 -1
- package/HiTable/HiTableRow.js +2 -1
- package/es/HiAlertModal/HiAlertModal.js +1 -1
- package/es/HiAppBar/HiAppBar.js +1 -1
- package/es/HiBreadcrumb/HiStep.js +1 -1
- package/es/HiBreadcrumb/HiStepConnector.js +1 -1
- package/es/HiBreadcrumb/HiStepContent.js +1 -1
- package/es/HiBreadcrumb/HiStepIcon.js +1 -1
- package/es/HiBreadcrumb/HiStepLabel.js +1 -1
- package/es/HiBreadcrumb/HiStepper.js +1 -1
- package/es/HiButton/HiButton.js +2 -2
- package/es/HiChip/HiChipSwitch.js +1 -1
- package/es/HiColoredLabel/HiColoredLabel.js +1 -1
- package/es/HiDatePicker/HiDateRangeSelector.js +0 -1
- package/es/HiDatePicker/stylesheet.js +1 -1
- package/es/HiIconButton/HiIconButton.js +2 -2
- package/es/HiMap/HiMap.js +1 -1
- package/es/HiMap/HiMapExpand.js +1 -1
- package/es/HiNotice/HiKPI.js +1 -1
- package/es/HiPaymentMeans/HiPaymentMeans.js +1 -1
- package/es/HiPdfReader/HiPdfReader.js +1 -1
- package/es/HiPin/HiPin.js +1 -1
- package/es/HiRadio/HiRadio.js +1 -1
- package/es/HiSelect/HiSuggestSelect.js +1 -1
- package/es/HiTable/HiTableHeader.js +1 -1
- package/es/HiTable/HiTableRow.js +2 -1
- package/es/hi-svg-icons/HiAccount.js +1 -1
- package/es/hi-svg-icons/HiActivity.js +1 -1
- package/es/hi-svg-icons/HiAll.js +1 -1
- package/es/hi-svg-icons/HiBilling.js +1 -1
- package/es/hi-svg-icons/HiCatalog.js +1 -1
- package/es/hi-svg-icons/HiCustomer.js +1 -1
- package/es/hi-svg-icons/HiFinance.js +1 -1
- package/es/hi-svg-icons/HiPermission.js +1 -1
- package/es/hi-svg-icons/HiRoute.js +1 -1
- package/es/hi-svg-icons/HiSettlement.js +1 -1
- package/es/hi-svg-icons/HiTransaction.js +1 -1
- package/es/hi-svg-icons/HiUser.js +1 -1
- package/es/hi-svg-icons/HiWidget.js +1 -1
- package/es/index.js +0 -1
- package/es/test-utils/getClasses.js +2 -16
- package/es/withWidth/withWidth.js +3 -3
- package/hi-svg-icons/HiAccount.js +1 -1
- package/hi-svg-icons/HiActivity.js +1 -1
- package/hi-svg-icons/HiAll.js +1 -1
- package/hi-svg-icons/HiBilling.js +1 -1
- package/hi-svg-icons/HiCatalog.js +1 -1
- package/hi-svg-icons/HiCustomer.js +1 -1
- package/hi-svg-icons/HiFinance.js +1 -1
- package/hi-svg-icons/HiPermission.js +1 -1
- package/hi-svg-icons/HiRoute.js +1 -1
- package/hi-svg-icons/HiSettlement.js +1 -1
- package/hi-svg-icons/HiTransaction.js +1 -1
- package/hi-svg-icons/HiUser.js +1 -1
- package/hi-svg-icons/HiWidget.js +1 -1
- package/index.es.js +0 -1
- package/index.js +0 -8
- package/package.json +1 -2
- package/test-utils/getClasses.js +5 -29
- package/withWidth/withWidth.js +3 -3
@@ -37,7 +37,7 @@ var _DialogContentText = _interopRequireDefault(require("@material-ui/core/Dialo
|
|
37
37
|
|
38
38
|
var _DialogTitle = _interopRequireDefault(require("@material-ui/core/DialogTitle"));
|
39
39
|
|
40
|
-
var _styles = require("
|
40
|
+
var _styles = require("@material-ui/core/styles");
|
41
41
|
|
42
42
|
var _HiButton = _interopRequireDefault(require("../HiButton"));
|
43
43
|
|
package/HiAppBar/HiAppBar.js
CHANGED
@@ -31,7 +31,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
31
31
|
|
32
32
|
var _classnames = _interopRequireDefault(require("classnames"));
|
33
33
|
|
34
|
-
var _styles = require("
|
34
|
+
var _styles = require("@material-ui/core/styles");
|
35
35
|
|
36
36
|
var _AppBar = _interopRequireDefault(require("@material-ui/core/AppBar"));
|
37
37
|
|
package/HiBreadcrumb/HiStep.js
CHANGED
@@ -25,7 +25,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
25
25
|
|
26
26
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
27
27
|
|
28
|
-
var _styles = require("
|
28
|
+
var _styles = require("@material-ui/core/styles");
|
29
29
|
|
30
30
|
var _classnames = _interopRequireDefault(require("classnames"));
|
31
31
|
|
@@ -31,7 +31,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
31
31
|
|
32
32
|
var _classnames = _interopRequireDefault(require("classnames"));
|
33
33
|
|
34
|
-
var _styles = require("
|
34
|
+
var _styles = require("@material-ui/core/styles");
|
35
35
|
|
36
36
|
var _HiStepContent = _interopRequireDefault(require("./HiStepContent"));
|
37
37
|
|
@@ -27,7 +27,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
27
27
|
|
28
28
|
var _Paper = _interopRequireDefault(require("@material-ui/core/Paper"));
|
29
29
|
|
30
|
-
var _styles = require("
|
30
|
+
var _styles = require("@material-ui/core/styles");
|
31
31
|
|
32
32
|
var styles = function styles() {
|
33
33
|
return {
|
@@ -25,7 +25,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
25
25
|
|
26
26
|
var _classnames = _interopRequireDefault(require("classnames"));
|
27
27
|
|
28
|
-
var _styles = require("
|
28
|
+
var _styles = require("@material-ui/core/styles");
|
29
29
|
|
30
30
|
var styles = function styles(theme) {
|
31
31
|
return {
|
@@ -29,7 +29,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
29
29
|
|
30
30
|
var _classnames = _interopRequireDefault(require("classnames"));
|
31
31
|
|
32
|
-
var _styles = require("
|
32
|
+
var _styles = require("@material-ui/core/styles");
|
33
33
|
|
34
34
|
var _HiStepIcon = _interopRequireDefault(require("./HiStepIcon"));
|
35
35
|
|
@@ -23,7 +23,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
23
23
|
|
24
24
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
25
25
|
|
26
|
-
var _styles = require("
|
26
|
+
var _styles = require("@material-ui/core/styles");
|
27
27
|
|
28
28
|
var styles = function styles() {
|
29
29
|
return {
|
package/HiButton/HiButton.js
CHANGED
@@ -19,11 +19,11 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
19
|
|
20
20
|
var _classnames = _interopRequireDefault(require("classnames"));
|
21
21
|
|
22
|
-
var
|
22
|
+
var _styles = require("@material-ui/core/styles");
|
23
23
|
|
24
|
-
var
|
24
|
+
var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
|
25
25
|
|
26
|
-
var
|
26
|
+
var _Button = _interopRequireDefault(require("@material-ui/core/Button"));
|
27
27
|
|
28
28
|
// @inheritedComponent Button
|
29
29
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
package/HiChip/HiChipSwitch.js
CHANGED
@@ -35,7 +35,7 @@ var _HiIcon = _interopRequireDefault(require("../HiIcon"));
|
|
35
35
|
|
36
36
|
var _styles = require("@material-ui/core/styles");
|
37
37
|
|
38
|
-
var _colorManipulator = require("
|
38
|
+
var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
|
39
39
|
|
40
40
|
var styles = function styles(theme) {
|
41
41
|
return {
|
@@ -23,7 +23,7 @@ var _styles = require("@material-ui/core/styles");
|
|
23
23
|
|
24
24
|
var _helpers = require("../utils/helpers");
|
25
25
|
|
26
|
-
var _colorManipulator = require("
|
26
|
+
var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
|
27
27
|
|
28
28
|
var styles = function styles(theme) {
|
29
29
|
return {
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
9
9
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
11
11
|
|
12
|
-
var _colorManipulator = require("
|
12
|
+
var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
|
13
13
|
|
14
14
|
var _default = function _default(theme) {
|
15
15
|
return {
|
@@ -19,9 +19,9 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
19
|
|
20
20
|
var _classnames = _interopRequireDefault(require("classnames"));
|
21
21
|
|
22
|
-
var _styles = require("
|
22
|
+
var _styles = require("@material-ui/core/styles");
|
23
23
|
|
24
|
-
var _colorManipulator = require("
|
24
|
+
var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
|
25
25
|
|
26
26
|
var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
|
27
27
|
|
package/HiMap/HiMap.js
CHANGED
@@ -23,7 +23,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
23
23
|
|
24
24
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
25
25
|
|
26
|
-
var _styles = require("
|
26
|
+
var _styles = require("@material-ui/core/styles");
|
27
27
|
|
28
28
|
var _HiButton = _interopRequireDefault(require("../HiButton"));
|
29
29
|
|
package/HiMap/HiMapExpand.js
CHANGED
@@ -35,7 +35,7 @@ var _ExpansionPanelDetails = _interopRequireDefault(require("@material-ui/core/E
|
|
35
35
|
|
36
36
|
var _ExpansionPanelSummary = _interopRequireDefault(require("@material-ui/core/ExpansionPanelSummary"));
|
37
37
|
|
38
|
-
var _styles = require("
|
38
|
+
var _styles = require("@material-ui/core/styles");
|
39
39
|
|
40
40
|
var _HiMap = _interopRequireDefault(require("./HiMap"));
|
41
41
|
|
package/HiNotice/HiKPI.js
CHANGED
@@ -27,7 +27,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
27
27
|
|
28
28
|
var _classnames = _interopRequireDefault(require("classnames"));
|
29
29
|
|
30
|
-
var _styles = require("
|
30
|
+
var _styles = require("@material-ui/core/styles");
|
31
31
|
|
32
32
|
var _ButtonBase = _interopRequireDefault(require("@material-ui/core/ButtonBase"));
|
33
33
|
|
@@ -25,7 +25,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
25
25
|
|
26
26
|
var _classnames = _interopRequireDefault(require("classnames"));
|
27
27
|
|
28
|
-
var _styles = require("
|
28
|
+
var _styles = require("@material-ui/core/styles");
|
29
29
|
|
30
30
|
var styles = function styles(theme) {
|
31
31
|
return {
|
@@ -31,7 +31,7 @@ var _HiIcon = _interopRequireDefault(require("../HiIcon"));
|
|
31
31
|
|
32
32
|
var _CircularProgress = _interopRequireDefault(require("@material-ui/core/CircularProgress/"));
|
33
33
|
|
34
|
-
var _styles = require("
|
34
|
+
var _styles = require("@material-ui/core/styles");
|
35
35
|
|
36
36
|
// import ChevronLeftIcon from '@material-ui/icons/ChevronLeft';
|
37
37
|
// import ChevronRightIcon from '@material-ui/icons/ChevronRight/';
|
package/HiPin/HiPin.js
CHANGED
@@ -17,7 +17,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
17
17
|
|
18
18
|
var _classnames = _interopRequireDefault(require("classnames"));
|
19
19
|
|
20
|
-
var _styles = require("
|
20
|
+
var _styles = require("@material-ui/core/styles");
|
21
21
|
|
22
22
|
var styles = function styles(theme) {
|
23
23
|
return {
|
package/HiRadio/HiRadio.js
CHANGED
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
13
13
|
|
14
|
-
var _styles = require("
|
14
|
+
var _styles = require("@material-ui/core/styles");
|
15
15
|
|
16
16
|
var _Radio = _interopRequireDefault(require("@material-ui/core/Radio"));
|
17
17
|
|
@@ -39,7 +39,7 @@ var _HiSelectableList = _interopRequireDefault(require("../HiSelectableList"));
|
|
39
39
|
|
40
40
|
var _HiInput = _interopRequireDefault(require("../HiForm/HiInput"));
|
41
41
|
|
42
|
-
var _styles = require("
|
42
|
+
var _styles = require("@material-ui/core/styles");
|
43
43
|
|
44
44
|
var _Popper = _interopRequireDefault(require("@material-ui/core/Popper"));
|
45
45
|
|
package/HiTable/HiTableHeader.js
CHANGED
@@ -116,7 +116,7 @@ function (_React$PureComponent) {
|
|
116
116
|
key: colId,
|
117
117
|
className: classes.cell,
|
118
118
|
sortDirection: orderBy === colId ? order : false,
|
119
|
-
|
119
|
+
align: cst.ALIGN_RIGHT_TYPES.includes(type) || align === 'right' ? 'right' : 'inherit',
|
120
120
|
title: headerTooltip
|
121
121
|
}, sortable ? _react.default.createElement(_TableSortLabel.default, {
|
122
122
|
active: orderBy === colId,
|
package/HiTable/HiTableRow.js
CHANGED
@@ -8,7 +8,7 @@ import DialogActions from '@material-ui/core/DialogActions';
|
|
8
8
|
import DialogContent from '@material-ui/core/DialogContent';
|
9
9
|
import DialogContentText from '@material-ui/core/DialogContentText';
|
10
10
|
import DialogTitle from '@material-ui/core/DialogTitle';
|
11
|
-
import { withStyles
|
11
|
+
import { withStyles } from '@material-ui/core/styles';
|
12
12
|
import HiButton from '../HiButton';
|
13
13
|
import HiIcon from '../HiIcon';
|
14
14
|
import { escapeHTML } from '../utils/helpers';
|
package/es/HiAppBar/HiAppBar.js
CHANGED
@@ -4,7 +4,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
4
4
|
import React from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import { withStyles } from '
|
7
|
+
import { withStyles } from '@material-ui/core/styles';
|
8
8
|
import AppBar from '@material-ui/core/AppBar';
|
9
9
|
import Collapse from '@material-ui/core/Collapse';
|
10
10
|
import Toolbar from '@material-ui/core/Toolbar';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/objectSpread";
|
2
2
|
import React from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
|
-
import { withStyles } from '
|
4
|
+
import { withStyles } from '@material-ui/core/styles';
|
5
5
|
import classNames from 'classnames';
|
6
6
|
import HiStepConnector from './HiStepConnector';
|
7
7
|
import HiStepContent from './HiStepContent';
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
3
3
|
import React from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
5
5
|
import classNames from 'classnames';
|
6
|
-
import { withStyles } from '
|
6
|
+
import { withStyles } from '@material-ui/core/styles';
|
7
7
|
import HiStepContent from './HiStepContent';
|
8
8
|
export const styles = theme => ({
|
9
9
|
root: {
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
import classNames from 'classnames';
|
4
4
|
import Paper from '@material-ui/core/Paper';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
export const styles = () => ({
|
7
7
|
root: {
|
8
8
|
display: 'flex',
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
import classNames from 'classnames';
|
4
|
-
import { withStyles } from '
|
4
|
+
import { withStyles } from '@material-ui/core/styles';
|
5
5
|
export const styles = theme => ({
|
6
6
|
circle: {
|
7
7
|
borderRadius: '50%',
|
@@ -4,7 +4,7 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread";
|
|
4
4
|
import React from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import { withStyles } from '
|
7
|
+
import { withStyles } from '@material-ui/core/styles';
|
8
8
|
import HiStepIcon from './HiStepIcon';
|
9
9
|
import HiPin from '../HiPin';
|
10
10
|
export const styles = theme => ({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/objectSpread";
|
2
2
|
import React from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
|
-
import { withStyles } from '
|
4
|
+
import { withStyles } from '@material-ui/core/styles';
|
5
5
|
export const styles = () => ({
|
6
6
|
root: {
|
7
7
|
width: '100%'
|
package/es/HiButton/HiButton.js
CHANGED
@@ -4,9 +4,9 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
4
4
|
import React from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import { fade } from '../styles/colorManipulator';
|
8
|
-
import Button from '@material-ui/core/Button';
|
9
7
|
import { makeStyles } from '@material-ui/core/styles';
|
8
|
+
import { fade } from '@material-ui/core/styles/colorManipulator';
|
9
|
+
import Button from '@material-ui/core/Button';
|
10
10
|
const useStyles = makeStyles(theme => ({
|
11
11
|
root: {
|
12
12
|
'&$containedDisabled': {
|
@@ -6,7 +6,7 @@ import classNames from 'classnames';
|
|
6
6
|
import keycode from 'keycode/index';
|
7
7
|
import HiIcon from '../HiIcon';
|
8
8
|
import { withStyles } from '@material-ui/core/styles';
|
9
|
-
import { emphasize } from '
|
9
|
+
import { emphasize } from '@material-ui/core/styles/colorManipulator';
|
10
10
|
export const styles = theme => ({
|
11
11
|
root: _objectSpread({}, theme.typography.b3, {
|
12
12
|
display: 'inline-flex',
|
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
|
|
6
6
|
import classNames from 'classnames';
|
7
7
|
import { withStyles } from '@material-ui/core/styles';
|
8
8
|
import { capitalize } from '../utils/helpers';
|
9
|
-
import { fade } from '
|
9
|
+
import { fade } from '@material-ui/core/styles/colorManipulator';
|
10
10
|
export const styles = theme => ({
|
11
11
|
root: {
|
12
12
|
display: 'inline-block',
|
@@ -4,8 +4,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
4
4
|
import React from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import { withStyles } from '
|
8
|
-
import { fade } from '
|
7
|
+
import { withStyles } from '@material-ui/core/styles';
|
8
|
+
import { fade } from '@material-ui/core/styles/colorManipulator';
|
9
9
|
import IconButton from '@material-ui/core/IconButton';
|
10
10
|
export const styles = theme => ({
|
11
11
|
label: {},
|
package/es/HiMap/HiMap.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
|
-
import { withStyles } from '
|
3
|
+
import { withStyles } from '@material-ui/core/styles';
|
4
4
|
import HiButton from '../HiButton';
|
5
5
|
import HiIcon from '../HiIcon';
|
6
6
|
import HiLoader from '../HiLoader';
|
package/es/HiMap/HiMapExpand.js
CHANGED
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|
5
5
|
import ExpansionPanel from '@material-ui/core/ExpansionPanel';
|
6
6
|
import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails';
|
7
7
|
import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary';
|
8
|
-
import { withStyles } from '
|
8
|
+
import { withStyles } from '@material-ui/core/styles';
|
9
9
|
import HiMap from './HiMap';
|
10
10
|
import HiIcon from '../HiIcon/HiIcon';
|
11
11
|
|
package/es/HiNotice/HiKPI.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
import classNames from 'classnames';
|
4
|
-
import { withStyles } from '
|
4
|
+
import { withStyles } from '@material-ui/core/styles';
|
5
5
|
import ButtonBase from '@material-ui/core/ButtonBase';
|
6
6
|
import Collapse from '@material-ui/core/Collapse';
|
7
7
|
export const styles = theme => ({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
import classNames from 'classnames';
|
4
|
-
import { withStyles } from '
|
4
|
+
import { withStyles } from '@material-ui/core/styles';
|
5
5
|
export const styles = theme => ({
|
6
6
|
bankCard: {
|
7
7
|
position: 'relative',
|
@@ -7,7 +7,7 @@ import HiIcon from '../HiIcon'; // import ChevronLeftIcon from '@material-ui/ico
|
|
7
7
|
// import ChevronRightIcon from '@material-ui/icons/ChevronRight/';
|
8
8
|
|
9
9
|
import CircularProgress from '@material-ui/core/CircularProgress/';
|
10
|
-
import { withStyles } from '
|
10
|
+
import { withStyles } from '@material-ui/core/styles';
|
11
11
|
export const styles = theme => ({
|
12
12
|
root: {
|
13
13
|
position: 'relative'
|
package/es/HiPin/HiPin.js
CHANGED
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
export const styles = theme => ({
|
7
7
|
root: {
|
8
8
|
display: 'inline-block',
|
package/es/HiRadio/HiRadio.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
// @inheritedComponent Radio
|
2
2
|
import React from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
|
-
import { withStyles } from '
|
4
|
+
import { withStyles } from '@material-ui/core/styles';
|
5
5
|
import Radio from '@material-ui/core/Radio';
|
6
6
|
export const styles = theme => ({
|
7
7
|
checked: {
|
@@ -9,7 +9,7 @@ import Paper from '@material-ui/core/Paper';
|
|
9
9
|
import classNames from 'classnames';
|
10
10
|
import HiSelectableList from '../HiSelectableList';
|
11
11
|
import HiInput from '../HiForm/HiInput';
|
12
|
-
import { withStyles } from '
|
12
|
+
import { withStyles } from '@material-ui/core/styles';
|
13
13
|
import Popper from '@material-ui/core/Popper';
|
14
14
|
import { getNextItemSelectable } from '../utils/helpers';
|
15
15
|
import keycode from 'keycode';
|
@@ -66,7 +66,7 @@ class HiTableHeader extends React.PureComponent {
|
|
66
66
|
key: colId,
|
67
67
|
className: classes.cell,
|
68
68
|
sortDirection: orderBy === colId ? order : false,
|
69
|
-
|
69
|
+
align: cst.ALIGN_RIGHT_TYPES.includes(type) || align === 'right' ? 'right' : 'inherit',
|
70
70
|
title: headerTooltip
|
71
71
|
}, sortable ? React.createElement(TableSortLabel, {
|
72
72
|
active: orderBy === colId,
|
package/es/HiTable/HiTableRow.js
CHANGED
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
package/es/hi-svg-icons/HiAll.js
CHANGED
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import React from 'react';
|
4
4
|
import pure from 'recompose/pure';
|
5
|
-
import { withStyles } from '
|
5
|
+
import { withStyles } from '@material-ui/core/styles';
|
6
6
|
/**
|
7
7
|
* @ignore - internal component.
|
8
8
|
*/
|
package/es/index.js
CHANGED
@@ -13,7 +13,6 @@ export { default as HiMap } from './HiMap/HiMap';
|
|
13
13
|
export { default as HiMapExpand } from './HiMap/HiMapExpand';
|
14
14
|
export { default as HiTextField } from './HiForm/HiTextField';
|
15
15
|
export { default as HiPasswordField } from './HiForm/HiPasswordField';
|
16
|
-
export { default as HiPdfReader } from './HiPdfReader/HiPdfReader';
|
17
16
|
export { default as HiSlider } from './HiForm/HiSlider';
|
18
17
|
export { default as HiSwitch } from './HiSwitch';
|
19
18
|
export { default as HiSwitchState } from './HiSwitch/HiSwitchState';
|
@@ -1,17 +1,3 @@
|
|
1
|
-
import
|
2
|
-
import * as ns from 'react-jss/lib/ns';
|
3
|
-
import { SheetsRegistry } from 'jss';
|
4
|
-
import createShallow from './createShallow';
|
5
|
-
import { sheetsManager } from '../styles/withStyles';
|
6
|
-
const shallow = createShallow(); // Helper function to extract the classes from a styleSheet.
|
1
|
+
import { getClasses } from '@material-ui/core/test-utils'; // Helper function to extract the classes from a styleSheet.
|
7
2
|
|
8
|
-
export default
|
9
|
-
const sheetsRegistry = new SheetsRegistry();
|
10
|
-
sheetsManager.clear();
|
11
|
-
shallow(element, _objectSpread({}, options, {
|
12
|
-
context: _objectSpread({
|
13
|
-
[ns.sheetsRegistry]: sheetsRegistry
|
14
|
-
}, options.context)
|
15
|
-
}));
|
16
|
-
return sheetsRegistry.registry[0].classes;
|
17
|
-
}
|
3
|
+
export default getClasses;
|
@@ -10,9 +10,9 @@ import debounce from 'debounce'; // < 1kb payload overhead when lodash/debounce
|
|
10
10
|
|
11
11
|
import wrapDisplayName from 'recompose/wrapDisplayName';
|
12
12
|
import hoistNonReactStatics from 'hoist-non-react-statics';
|
13
|
-
import withTheme from '
|
14
|
-
import { keys as breakpointKeys } from '
|
15
|
-
import getThemeProps from '
|
13
|
+
import withTheme from '@material-ui/core/styles/withTheme';
|
14
|
+
import { keys as breakpointKeys } from '@material-ui/core/styles/createBreakpoints';
|
15
|
+
import getThemeProps from '@material-ui/core/styles/getThemeProps'; // By default, returns true if screen width is the same or greater than the given breakpoint.
|
16
16
|
|
17
17
|
export const isWidthUp = (breakpoint, width, inclusive = true) => {
|
18
18
|
if (inclusive) {
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
package/hi-svg-icons/HiAll.js
CHANGED
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
var _ref = _react.default.createElement("path", {
|
21
21
|
fill: "none",
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
package/hi-svg-icons/HiRoute.js
CHANGED
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
package/hi-svg-icons/HiUser.js
CHANGED
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
/**
|
21
21
|
* @ignore - internal component.
|
package/hi-svg-icons/HiWidget.js
CHANGED
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _pure = _interopRequireDefault(require("recompose/pure"));
|
17
17
|
|
18
|
-
var _styles = require("
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
19
19
|
|
20
20
|
var _ref = _react.default.createElement("path", {
|
21
21
|
fill: "none",
|
package/index.es.js
CHANGED
@@ -18,7 +18,6 @@ export { default as HiMap } from './HiMap/HiMap';
|
|
18
18
|
export { default as HiMapExpand } from './HiMap/HiMapExpand';
|
19
19
|
export { default as HiTextField } from './HiForm/HiTextField';
|
20
20
|
export { default as HiPasswordField } from './HiForm/HiPasswordField';
|
21
|
-
export { default as HiPdfReader } from './HiPdfReader/HiPdfReader';
|
22
21
|
export { default as HiSlider } from './HiForm/HiSlider';
|
23
22
|
export { default as HiSwitch } from './HiSwitch';
|
24
23
|
export { default as HiSwitchState } from './HiSwitch/HiSwitchState';
|
package/index.js
CHANGED
@@ -136,12 +136,6 @@ Object.defineProperty(exports, "HiPasswordField", {
|
|
136
136
|
return _HiPasswordField.default;
|
137
137
|
}
|
138
138
|
});
|
139
|
-
Object.defineProperty(exports, "HiPdfReader", {
|
140
|
-
enumerable: true,
|
141
|
-
get: function get() {
|
142
|
-
return _HiPdfReader.default;
|
143
|
-
}
|
144
|
-
});
|
145
139
|
Object.defineProperty(exports, "HiSlider", {
|
146
140
|
enumerable: true,
|
147
141
|
get: function get() {
|
@@ -245,8 +239,6 @@ var _HiTextField = _interopRequireDefault(require("./HiForm/HiTextField"));
|
|
245
239
|
|
246
240
|
var _HiPasswordField = _interopRequireDefault(require("./HiForm/HiPasswordField"));
|
247
241
|
|
248
|
-
var _HiPdfReader = _interopRequireDefault(require("./HiPdfReader/HiPdfReader"));
|
249
|
-
|
250
242
|
var _HiSlider = _interopRequireDefault(require("./HiForm/HiSlider"));
|
251
243
|
|
252
244
|
var _HiSwitch = _interopRequireDefault(require("./HiSwitch"));
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@hipay/hipay-material-ui",
|
3
3
|
"private": false,
|
4
4
|
"author": "HiPay PSYCHE Team",
|
5
|
-
"version": "2.2.0-beta-
|
5
|
+
"version": "2.2.0-beta-core2",
|
6
6
|
"description": "React components that implement Google's Material Design.",
|
7
7
|
"keywords": [
|
8
8
|
"react",
|
@@ -60,7 +60,6 @@
|
|
60
60
|
"react-jss": "^8.1.0",
|
61
61
|
"react-lazyload": "^2.5.0",
|
62
62
|
"react-leaflet": "^2.3.0",
|
63
|
-
"react-pdf": "^3.0.5",
|
64
63
|
"react-spinners": "^0.4.5",
|
65
64
|
"react-transition-group": "^2.2.1",
|
66
65
|
"recompose": "^0.29.0",
|
package/test-utils/getClasses.js
CHANGED
@@ -1,36 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
4
|
-
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
6
|
-
|
7
3
|
Object.defineProperty(exports, "__esModule", {
|
8
4
|
value: true
|
9
5
|
});
|
10
|
-
exports.default =
|
11
|
-
|
12
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
13
|
-
|
14
|
-
var _extends3 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
15
|
-
|
16
|
-
var ns = _interopRequireWildcard(require("react-jss/lib/ns"));
|
17
|
-
|
18
|
-
var _jss = require("jss");
|
19
|
-
|
20
|
-
var _createShallow = _interopRequireDefault(require("./createShallow"));
|
21
|
-
|
22
|
-
var _withStyles = require("../styles/withStyles");
|
23
|
-
|
24
|
-
var shallow = (0, _createShallow.default)(); // Helper function to extract the classes from a styleSheet.
|
25
|
-
|
26
|
-
function getClasses(element) {
|
27
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
28
|
-
var sheetsRegistry = new _jss.SheetsRegistry();
|
6
|
+
exports.default = void 0;
|
29
7
|
|
30
|
-
|
8
|
+
var _testUtils = require("@material-ui/core/test-utils");
|
31
9
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
return sheetsRegistry.registry[0].classes;
|
36
|
-
}
|
10
|
+
// Helper function to extract the classes from a styleSheet.
|
11
|
+
var _default = _testUtils.getClasses;
|
12
|
+
exports.default = _default;
|
package/withWidth/withWidth.js
CHANGED
@@ -33,11 +33,11 @@ var _wrapDisplayName = _interopRequireDefault(require("recompose/wrapDisplayName
|
|
33
33
|
|
34
34
|
var _hoistNonReactStatics = _interopRequireDefault(require("hoist-non-react-statics"));
|
35
35
|
|
36
|
-
var _withTheme = _interopRequireDefault(require("
|
36
|
+
var _withTheme = _interopRequireDefault(require("@material-ui/core/styles/withTheme"));
|
37
37
|
|
38
|
-
var _createBreakpoints = require("
|
38
|
+
var _createBreakpoints = require("@material-ui/core/styles/createBreakpoints");
|
39
39
|
|
40
|
-
var _getThemeProps = _interopRequireDefault(require("
|
40
|
+
var _getThemeProps = _interopRequireDefault(require("@material-ui/core/styles/getThemeProps"));
|
41
41
|
|
42
42
|
/* eslint-disable react/no-did-mount-set-state */
|
43
43
|
// < 1kb payload overhead when lodash/debounce is > 3kb.
|