@hipay/hipay-material-ui 2.0.0-beta.68 → 2.0.0-beta.70

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 (40) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/HiCell/CellIcon.js +33 -3
  3. package/HiCell/CellRate.js +1 -1
  4. package/HiCell/CellTextStyled.js +31 -0
  5. package/HiChip/HiChipSwitch.js +1 -1
  6. package/HiExpansionPanel/HiExpansionPanel.js +15 -4
  7. package/HiForm/HiInput.js +10 -4
  8. package/HiPin/HiPin.js +3 -3
  9. package/HiSelect/HiSelect.js +42 -22
  10. package/HiSelect/HiSelectInput.js +3 -2
  11. package/HiSelect/HiSuggestSelect.js +9 -2
  12. package/HiSelectableList/HiSelectableList.js +2 -2
  13. package/HiTable/HiCellBuilder.js +10 -5
  14. package/HiTable/HiTableHeader.js +19 -14
  15. package/HiTable/HiTableRow.js +7 -3
  16. package/es/HiCell/CellIcon.js +32 -3
  17. package/es/HiCell/CellRate.js +1 -1
  18. package/es/HiCell/CellTextStyled.js +30 -0
  19. package/es/HiChip/HiChipSwitch.js +1 -1
  20. package/es/HiExpansionPanel/HiExpansionPanel.js +15 -4
  21. package/es/HiForm/HiInput.js +10 -4
  22. package/es/HiPin/HiPin.js +3 -3
  23. package/es/HiSelect/HiSelect.js +26 -9
  24. package/es/HiSelect/HiSelectInput.js +3 -2
  25. package/es/HiSelect/HiSuggestSelect.js +10 -3
  26. package/es/HiSelectableList/HiSelectableList.js +2 -2
  27. package/es/HiTable/HiCellBuilder.js +10 -5
  28. package/es/HiTable/HiTableHeader.js +16 -12
  29. package/es/HiTable/HiTableRow.js +7 -3
  30. package/es/hi-svg-icons/HiActivity.js +36 -0
  31. package/es/hi-svg-icons/HiPermission.js +36 -0
  32. package/es/hi-svg-icons/index.js +3 -1
  33. package/hi-svg-icons/HiActivity.js +50 -0
  34. package/hi-svg-icons/HiPermission.js +50 -0
  35. package/hi-svg-icons/index.js +17 -1
  36. package/index.es.js +1 -1
  37. package/index.js +1 -1
  38. package/package.json +1 -1
  39. package/umd/hipay-material-ui.development.js +234 -69
  40. package/umd/hipay-material-ui.production.min.js +2 -2
@@ -0,0 +1,36 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ import React from 'react';
4
+ import pure from 'recompose/pure';
5
+ import { withStyles } from '../styles';
6
+ /**
7
+ * @ignore - internal component.
8
+ */
9
+
10
+ const HiActivity = pure(props => {
11
+ const {
12
+ classes,
13
+ color = props.theme.palette.neutral.main,
14
+ theme
15
+ } = props,
16
+ other = _objectWithoutProperties(props, ["classes", "color", "theme"]);
17
+
18
+ return React.createElement("svg", _extends({
19
+ viewBox: "0 0 22.75 20.75"
20
+ }, other), React.createElement("circle", {
21
+ cx: "9",
22
+ cy: "11.05",
23
+ r: "9",
24
+ opacity: 0.16,
25
+ fill: color
26
+ }), React.createElement("g", null, React.createElement("path", {
27
+ // eslint-disable-next-line max-len
28
+ d: "M7.33,1.41A7.75,7.75,0,0,0,5.64,3.94,7.91,7.91,0,0,0,5,7.05a7.91,7.91,0,0,0,2.3,5.65L5.92,14.11A10.06,10.06,0,0,1,3.79,11,9.73,9.73,0,0,1,3,7.05a9.72,9.72,0,0,1,.77-3.89A10.06,10.06,0,0,1,5.92,0ZM14,11.06v4h1a1,1,0,0,1,1,1h7v2H16a1,1,0,0,1-1,1H11a1,1,0,0,1-1-1H3V16h7a1,1,0,0,1,1-1h1v-4ZM10.19,4.22A3.84,3.84,0,0,0,9.06,7.05a3.84,3.84,0,0,0,1.13,2.84L8.78,11.3A6.36,6.36,0,0,1,7.47,9.38,5.84,5.84,0,0,1,7,7.05a6,6,0,0,1,.47-2.34,5.62,5.62,0,0,1,1.31-1.9Zm4.22,1.4A2,2,0,0,1,15,7a2,2,0,0,1-.56,1.43,2,2,0,0,1-2.82,0A2,2,0,0,1,11,7a2,2,0,0,1,3.38-1.41Zm4.12-.91A6,6,0,0,1,19,7.05a5.84,5.84,0,0,1-.47,2.33,6.36,6.36,0,0,1-1.31,1.92L15.81,9.89a3.84,3.84,0,0,0,1.13-2.84,3.84,3.84,0,0,0-1.13-2.83l1.41-1.41A5.62,5.62,0,0,1,18.53,4.71Zm3.68-1.55A9.72,9.72,0,0,1,23,7.05a9.73,9.73,0,0,1-.77,3.9,10.06,10.06,0,0,1-2.13,3.16L18.67,12.7A7.91,7.91,0,0,0,21,7.05a7.91,7.91,0,0,0-.61-3.11,7.75,7.75,0,0,0-1.69-2.53L20.08,0A10.06,10.06,0,0,1,22.21,3.16Z",
29
+ fill: color
30
+ })));
31
+ });
32
+ HiActivity.muiName = 'SvgIcon';
33
+ export default withStyles({}, {
34
+ hiComponent: true,
35
+ withTheme: true
36
+ })(HiActivity);
@@ -0,0 +1,36 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ import React from 'react';
4
+ import pure from 'recompose/pure';
5
+ import { withStyles } from '../styles';
6
+ /**
7
+ * @ignore - internal component.
8
+ */
9
+
10
+ const HiPermission = pure(props => {
11
+ const {
12
+ classes,
13
+ color = props.theme.palette.neutral.main,
14
+ theme
15
+ } = props,
16
+ other = _objectWithoutProperties(props, ["classes", "color", "theme"]);
17
+
18
+ return React.createElement("svg", _extends({
19
+ viewBox: "0 0 22.98 20.05"
20
+ }, other), React.createElement("circle", {
21
+ cx: "9",
22
+ cy: "11.75",
23
+ r: "9",
24
+ opacity: 0.16,
25
+ fill: color
26
+ }), React.createElement("g", null, React.createElement("path", {
27
+ // eslint-disable-next-line max-len
28
+ d: "M11.24,2a6.69,6.69,0,0,1,9.52,0,6.5,6.5,0,0,1,2,4.76,6.5,6.5,0,0,1-2,4.76,6.5,6.5,0,0,1-4.76,2,6.66,6.66,0,0,1-3-.75V15H10.75v2.25H8.5V19.5H3.25V14l.19-.28,5.9-5.86a10.31,10.31,0,0,1-.09-1.08A6.5,6.5,0,0,1,11.24,2ZM19.7,3.05a5.19,5.19,0,0,0-7.4,0,5,5,0,0,0-1.55,3.7A9,9,0,0,0,10.89,8l0,.37-.28.28-5.91,6V18H7V15.75H9.25V13.5H11.5V11.25h1.78l.19.09a5.19,5.19,0,0,0,6.23-.89,5,5,0,0,0,1.55-3.7A5,5,0,0,0,19.7,3.05ZM16.45,4.2a1.45,1.45,0,0,1,2.1,0,1.45,1.45,0,0,1,0,2.1,1.45,1.45,0,0,1-2.1,0,1.45,1.45,0,0,1,0-2.1Z",
29
+ fill: color
30
+ })));
31
+ });
32
+ HiPermission.muiName = 'SvgIcon';
33
+ export default withStyles({}, {
34
+ hiComponent: true,
35
+ withTheme: true
36
+ })(HiPermission);
@@ -12,4 +12,6 @@ export { default as HiSizeMedium } from './HiSizeMedium';
12
12
  export { default as HiSizeSmall } from './HiSizeSmall';
13
13
  export { default as HiTransaction } from './HiTransaction';
14
14
  export { default as HiUser } from './HiUser';
15
- export { default as HiWidget } from './HiWidget';
15
+ export { default as HiWidget } from './HiWidget';
16
+ export { default as HiActivity } from './HiActivity';
17
+ export { default as HiPermission } from './HiPermission';
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
12
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
+
14
+ var _react = _interopRequireDefault(require("react"));
15
+
16
+ var _pure = _interopRequireDefault(require("recompose/pure"));
17
+
18
+ var _styles = require("../styles");
19
+
20
+ /**
21
+ * @ignore - internal component.
22
+ */
23
+ var HiActivity = (0, _pure.default)(function (props) {
24
+ var classes = props.classes,
25
+ _props$color = props.color,
26
+ color = _props$color === void 0 ? props.theme.palette.neutral.main : _props$color,
27
+ theme = props.theme,
28
+ other = (0, _objectWithoutProperties2.default)(props, ["classes", "color", "theme"]);
29
+ return _react.default.createElement("svg", (0, _extends2.default)({
30
+ viewBox: "0 0 22.75 20.75"
31
+ }, other), _react.default.createElement("circle", {
32
+ cx: "9",
33
+ cy: "11.05",
34
+ r: "9",
35
+ opacity: 0.16,
36
+ fill: color
37
+ }), _react.default.createElement("g", null, _react.default.createElement("path", {
38
+ // eslint-disable-next-line max-len
39
+ d: "M7.33,1.41A7.75,7.75,0,0,0,5.64,3.94,7.91,7.91,0,0,0,5,7.05a7.91,7.91,0,0,0,2.3,5.65L5.92,14.11A10.06,10.06,0,0,1,3.79,11,9.73,9.73,0,0,1,3,7.05a9.72,9.72,0,0,1,.77-3.89A10.06,10.06,0,0,1,5.92,0ZM14,11.06v4h1a1,1,0,0,1,1,1h7v2H16a1,1,0,0,1-1,1H11a1,1,0,0,1-1-1H3V16h7a1,1,0,0,1,1-1h1v-4ZM10.19,4.22A3.84,3.84,0,0,0,9.06,7.05a3.84,3.84,0,0,0,1.13,2.84L8.78,11.3A6.36,6.36,0,0,1,7.47,9.38,5.84,5.84,0,0,1,7,7.05a6,6,0,0,1,.47-2.34,5.62,5.62,0,0,1,1.31-1.9Zm4.22,1.4A2,2,0,0,1,15,7a2,2,0,0,1-.56,1.43,2,2,0,0,1-2.82,0A2,2,0,0,1,11,7a2,2,0,0,1,3.38-1.41Zm4.12-.91A6,6,0,0,1,19,7.05a5.84,5.84,0,0,1-.47,2.33,6.36,6.36,0,0,1-1.31,1.92L15.81,9.89a3.84,3.84,0,0,0,1.13-2.84,3.84,3.84,0,0,0-1.13-2.83l1.41-1.41A5.62,5.62,0,0,1,18.53,4.71Zm3.68-1.55A9.72,9.72,0,0,1,23,7.05a9.73,9.73,0,0,1-.77,3.9,10.06,10.06,0,0,1-2.13,3.16L18.67,12.7A7.91,7.91,0,0,0,21,7.05a7.91,7.91,0,0,0-.61-3.11,7.75,7.75,0,0,0-1.69-2.53L20.08,0A10.06,10.06,0,0,1,22.21,3.16Z",
40
+ fill: color
41
+ })));
42
+ });
43
+ HiActivity.muiName = 'SvgIcon';
44
+
45
+ var _default = (0, _styles.withStyles)({}, {
46
+ hiComponent: true,
47
+ withTheme: true
48
+ })(HiActivity);
49
+
50
+ exports.default = _default;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
12
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
+
14
+ var _react = _interopRequireDefault(require("react"));
15
+
16
+ var _pure = _interopRequireDefault(require("recompose/pure"));
17
+
18
+ var _styles = require("../styles");
19
+
20
+ /**
21
+ * @ignore - internal component.
22
+ */
23
+ var HiPermission = (0, _pure.default)(function (props) {
24
+ var classes = props.classes,
25
+ _props$color = props.color,
26
+ color = _props$color === void 0 ? props.theme.palette.neutral.main : _props$color,
27
+ theme = props.theme,
28
+ other = (0, _objectWithoutProperties2.default)(props, ["classes", "color", "theme"]);
29
+ return _react.default.createElement("svg", (0, _extends2.default)({
30
+ viewBox: "0 0 22.98 20.05"
31
+ }, other), _react.default.createElement("circle", {
32
+ cx: "9",
33
+ cy: "11.75",
34
+ r: "9",
35
+ opacity: 0.16,
36
+ fill: color
37
+ }), _react.default.createElement("g", null, _react.default.createElement("path", {
38
+ // eslint-disable-next-line max-len
39
+ d: "M11.24,2a6.69,6.69,0,0,1,9.52,0,6.5,6.5,0,0,1,2,4.76,6.5,6.5,0,0,1-2,4.76,6.5,6.5,0,0,1-4.76,2,6.66,6.66,0,0,1-3-.75V15H10.75v2.25H8.5V19.5H3.25V14l.19-.28,5.9-5.86a10.31,10.31,0,0,1-.09-1.08A6.5,6.5,0,0,1,11.24,2ZM19.7,3.05a5.19,5.19,0,0,0-7.4,0,5,5,0,0,0-1.55,3.7A9,9,0,0,0,10.89,8l0,.37-.28.28-5.91,6V18H7V15.75H9.25V13.5H11.5V11.25h1.78l.19.09a5.19,5.19,0,0,0,6.23-.89,5,5,0,0,0,1.55-3.7A5,5,0,0,0,19.7,3.05ZM16.45,4.2a1.45,1.45,0,0,1,2.1,0,1.45,1.45,0,0,1,0,2.1,1.45,1.45,0,0,1-2.1,0,1.45,1.45,0,0,1,0-2.1Z",
40
+ fill: color
41
+ })));
42
+ });
43
+ HiPermission.muiName = 'SvgIcon';
44
+
45
+ var _default = (0, _styles.withStyles)({}, {
46
+ hiComponent: true,
47
+ withTheme: true
48
+ })(HiPermission);
49
+
50
+ exports.default = _default;
@@ -95,6 +95,18 @@ Object.defineProperty(exports, "HiWidget", {
95
95
  return _HiWidget.default;
96
96
  }
97
97
  });
98
+ Object.defineProperty(exports, "HiActivity", {
99
+ enumerable: true,
100
+ get: function get() {
101
+ return _HiActivity.default;
102
+ }
103
+ });
104
+ Object.defineProperty(exports, "HiPermission", {
105
+ enumerable: true,
106
+ get: function get() {
107
+ return _HiPermission.default;
108
+ }
109
+ });
98
110
 
99
111
  var _HiAccount = _interopRequireDefault(require("./HiAccount"));
100
112
 
@@ -124,4 +136,8 @@ var _HiTransaction = _interopRequireDefault(require("./HiTransaction"));
124
136
 
125
137
  var _HiUser = _interopRequireDefault(require("./HiUser"));
126
138
 
127
- var _HiWidget = _interopRequireDefault(require("./HiWidget"));
139
+ var _HiWidget = _interopRequireDefault(require("./HiWidget"));
140
+
141
+ var _HiActivity = _interopRequireDefault(require("./HiActivity"));
142
+
143
+ var _HiPermission = _interopRequireDefault(require("./HiPermission"));
package/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license HiPay-Material-UI v2.0.0-beta.68
1
+ /** @license HiPay-Material-UI v2.0.0-beta.70
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license HiPay-Material-UI v2.0.0-beta.68
1
+ /** @license HiPay-Material-UI v2.0.0-beta.70
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
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.0.0-beta.68",
5
+ "version": "2.0.0-beta.70",
6
6
  "description": "React components that implement Google's Material Design.",
7
7
  "keywords": [
8
8
  "react",