@hipay/hipay-material-ui 3.5.1 → 3.6.0-rc1

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.
@@ -53,6 +53,7 @@ function (_React$PureComponent) {
53
53
  errorText = _this$props.errorText,
54
54
  helperText = _this$props.helperText,
55
55
  helperIcon = _this$props.helperIcon,
56
+ helperIconLeft = _this$props.helperIconLeft,
56
57
  id = _this$props.id,
57
58
  name = _this$props.name,
58
59
  value = _this$props.value,
@@ -64,7 +65,7 @@ function (_React$PureComponent) {
64
65
  searchable = _this$props.searchable,
65
66
  translations = _this$props.translations,
66
67
  className = _this$props.className,
67
- others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className"]);
68
+ others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "helperIconLeft", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className"]);
68
69
  return _react.default.createElement(_HiFormControl.default, {
69
70
  id: id,
70
71
  label: label,
@@ -74,6 +75,7 @@ function (_React$PureComponent) {
74
75
  errorText: errorText,
75
76
  helperText: helperText,
76
77
  helperIcon: helperIcon,
78
+ helperIconLeft: helperIconLeft,
77
79
  className: className
78
80
  }, _react.default.createElement(_HiDynamicSelect.default, (0, _extends2.default)({
79
81
  id: id,
@@ -53,6 +53,7 @@ function (_React$PureComponent) {
53
53
  errorText = _this$props.errorText,
54
54
  helperText = _this$props.helperText,
55
55
  helperIcon = _this$props.helperIcon,
56
+ helperIconLeft = _this$props.helperIconLeft,
56
57
  id = _this$props.id,
57
58
  name = _this$props.name,
58
59
  value = _this$props.value,
@@ -64,7 +65,7 @@ function (_React$PureComponent) {
64
65
  searchable = _this$props.searchable,
65
66
  translations = _this$props.translations,
66
67
  className = _this$props.className,
67
- others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className"]);
68
+ others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "helperIconLeft", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className"]);
68
69
  return _react.default.createElement(_HiFormControl.default, {
69
70
  id: id,
70
71
  label: label,
@@ -74,6 +75,7 @@ function (_React$PureComponent) {
74
75
  errorText: errorText,
75
76
  helperText: helperText,
76
77
  helperIcon: helperIcon,
78
+ helperIconLeft: helperIconLeft,
77
79
  className: className
78
80
  }, _react.default.createElement(_HiNestedSelect.default, (0, _extends2.default)({
79
81
  id: id,
@@ -53,6 +53,7 @@ function (_React$PureComponent) {
53
53
  errorText = _this$props.errorText,
54
54
  helperText = _this$props.helperText,
55
55
  helperIcon = _this$props.helperIcon,
56
+ helperIconLeft = _this$props.helperIconLeft,
56
57
  id = _this$props.id,
57
58
  name = _this$props.name,
58
59
  value = _this$props.value,
@@ -65,7 +66,7 @@ function (_React$PureComponent) {
65
66
  translations = _this$props.translations,
66
67
  className = _this$props.className,
67
68
  HiInputLabelProps = _this$props.HiInputLabelProps,
68
- others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className", "HiInputLabelProps"]);
69
+ others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "helperIconLeft", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className", "HiInputLabelProps"]);
69
70
  return _react.default.createElement(_HiFormControl.default, {
70
71
  id: id,
71
72
  label: label,
@@ -75,6 +76,7 @@ function (_React$PureComponent) {
75
76
  errorText: errorText,
76
77
  helperText: helperText,
77
78
  helperIcon: helperIcon,
79
+ helperIconLeft: helperIconLeft,
78
80
  className: className,
79
81
  InputLabelProps: HiInputLabelProps
80
82
  }, _react.default.createElement(_HiSelect.default, (0, _extends2.default)({
@@ -53,9 +53,10 @@ function (_React$PureComponent) {
53
53
  errorText = _this$props.errorText,
54
54
  helperText = _this$props.helperText,
55
55
  helperIcon = _this$props.helperIcon,
56
+ helperIconLeft = _this$props.helperIconLeft,
56
57
  id = _this$props.id,
57
58
  className = _this$props.className,
58
- others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "className"]);
59
+ others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "helperIconLeft", "id", "className"]);
59
60
  return _react.default.createElement(_HiFormControl.default, {
60
61
  id: id,
61
62
  label: label,
@@ -65,6 +66,7 @@ function (_React$PureComponent) {
65
66
  errorText: errorText,
66
67
  helperText: helperText,
67
68
  helperIcon: helperIcon,
69
+ helperIconLeft: helperIconLeft,
68
70
  className: className
69
71
  }, _react.default.createElement(_HiSuggestSelect.default, (0, _extends2.default)({
70
72
  id: id,
@@ -43,7 +43,7 @@ var HiAccount = (0, _pure.default)(function (props) {
43
43
  fill: color,
44
44
  opacity: 0.16
45
45
  }), _react.default.createElement("path", {
46
- d: "M13.28,4.66h7.78v7.78l-.18.28L12.63,21l-.57.47L11.5,21,4.75,14.22l-.47-.56.47-.56L13,4.85Zm.61,1.5-7.5,7.5,5.67,5.67,7.5-7.5V6.16Zm7.92.75h2.25v8.25l-.18.23L16,23.22l-.51.47-.56-.47-1.41-1.5,1-1,.94.94,7.12-7.13V8.41h-.75Zm-5,1a.76.76,0,0,1,.54-.21.75.75,0,1,1,0,1.5A.76.76,0,0,1,16.77,9a.8.8,0,0,1,0-1.08Z",
46
+ d: "M14,5.52h8.19V13.7l-.19.23-8.6,8.51-.51.47-.56-.47L5.23,15.37l-.46-.55.46-.51L13.74,5.7ZM14.62,7,6.81,14.82l6.05,6,7.81-7.81V7ZM17.9,8.7a.79.79,0,1,1-.21.54A.73.73,0,0,1,17.9,8.7Z",
47
47
  fill: color
48
48
  })));
49
49
  });
@@ -0,0 +1,52 @@
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/esm/extends"));
11
+
12
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
13
+
14
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
15
+
16
+ var _react = _interopRequireDefault(require("react"));
17
+
18
+ var _pure = _interopRequireDefault(require("recompose/pure"));
19
+
20
+ var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
21
+
22
+ var _styles = require("@material-ui/core/styles");
23
+
24
+ /**
25
+ * @ignore - internal component.
26
+ */
27
+ var HiBusiness = (0, _pure.default)(function (props) {
28
+ var theme = (0, _styles.useTheme)();
29
+ var _props$color = props.color,
30
+ color = _props$color === void 0 ? props.color || theme.palette.neutral.main : _props$color,
31
+ style = props.style,
32
+ other = (0, _objectWithoutProperties2.default)(props, ["color", "style"]);
33
+ return _react.default.createElement(_Icon.default, (0, _extends2.default)({
34
+ style: (0, _objectSpread2.default)({}, style, {
35
+ fontSize: props.size || 24
36
+ })
37
+ }, other), _react.default.createElement("svg", {
38
+ viewBox: "0 0 28.35 28.35"
39
+ }, _react.default.createElement("circle", {
40
+ cx: "11.83",
41
+ cy: "16.66",
42
+ r: "9",
43
+ fill: color,
44
+ opacity: 0.16
45
+ }), _react.default.createElement("path", {
46
+ d: "M13.28,4.66h7.78v7.78l-.18.28L12.63,21l-.57.47L11.5,21,4.75,14.22l-.47-.56.47-.56L13,4.85Zm.61,1.5-7.5,7.5,5.67,5.67,7.5-7.5V6.16Zm7.92.75h2.25v8.25l-.18.23L16,23.22l-.51.47-.56-.47-1.41-1.5,1-1,.94.94,7.12-7.13V8.41h-.75Zm-5,1a.76.76,0,0,1,.54-.21.75.75,0,1,1,0,1.5A.76.76,0,0,1,16.77,9a.8.8,0,0,1,0-1.08Z",
47
+ fill: color
48
+ })));
49
+ });
50
+ HiBusiness.muiName = 'SvgIcon';
51
+ var _default = HiBusiness;
52
+ exports.default = _default;
@@ -11,6 +11,12 @@ Object.defineProperty(exports, "HiAccount", {
11
11
  return _HiAccount.default;
12
12
  }
13
13
  });
14
+ Object.defineProperty(exports, "HiBusiness", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _HiBusiness.default;
18
+ }
19
+ });
14
20
  Object.defineProperty(exports, "HiAll", {
15
21
  enumerable: true,
16
22
  get: function get() {
@@ -170,6 +176,8 @@ Object.defineProperty(exports, "HiLogoRounded", {
170
176
 
171
177
  var _HiAccount = _interopRequireDefault(require("./HiAccount"));
172
178
 
179
+ var _HiBusiness = _interopRequireDefault(require("./HiBusiness"));
180
+
173
181
  var _HiAll = _interopRequireDefault(require("./HiAll"));
174
182
 
175
183
  var _HiBilling = _interopRequireDefault(require("./HiBilling"));
@@ -43,7 +43,7 @@ var HiAccount = (0, _pure.default)(function (props) {
43
43
  fill: color,
44
44
  opacity: 0.16
45
45
  }), _react.default.createElement("path", {
46
- d: "M13.28,4.66h7.78v7.78l-.18.28L12.63,21l-.57.47L11.5,21,4.75,14.22l-.47-.56.47-.56L13,4.85Zm.61,1.5-7.5,7.5,5.67,5.67,7.5-7.5V6.16Zm7.92.75h2.25v8.25l-.18.23L16,23.22l-.51.47-.56-.47-1.41-1.5,1-1,.94.94,7.12-7.13V8.41h-.75Zm-5,1a.76.76,0,0,1,.54-.21.75.75,0,1,1,0,1.5A.76.76,0,0,1,16.77,9a.8.8,0,0,1,0-1.08Z",
46
+ d: "M14,5.52h8.19V13.7l-.19.23-8.6,8.51-.51.47-.56-.47L5.23,15.37l-.46-.55.46-.51L13.74,5.7ZM14.62,7,6.81,14.82l6.05,6,7.81-7.81V7ZM17.9,8.7a.79.79,0,1,1-.21.54A.73.73,0,0,1,17.9,8.7Z",
47
47
  fill: color
48
48
  })));
49
49
  });
@@ -0,0 +1,52 @@
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/esm/extends"));
11
+
12
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
13
+
14
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
15
+
16
+ var _react = _interopRequireDefault(require("react"));
17
+
18
+ var _pure = _interopRequireDefault(require("recompose/pure"));
19
+
20
+ var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
21
+
22
+ var _styles = require("@material-ui/core/styles");
23
+
24
+ /**
25
+ * @ignore - internal component.
26
+ */
27
+ var HiBusiness = (0, _pure.default)(function (props) {
28
+ var theme = (0, _styles.useTheme)();
29
+ var _props$color = props.color,
30
+ color = _props$color === void 0 ? props.color || theme.palette.neutral.main : _props$color,
31
+ style = props.style,
32
+ other = (0, _objectWithoutProperties2.default)(props, ["color", "style"]);
33
+ return _react.default.createElement(_Icon.default, (0, _extends2.default)({
34
+ style: (0, _objectSpread2.default)({}, style, {
35
+ fontSize: props.size || 24
36
+ })
37
+ }, other), _react.default.createElement("svg", {
38
+ viewBox: "0 0 28.35 28.35"
39
+ }, _react.default.createElement("circle", {
40
+ cx: "11.83",
41
+ cy: "16.66",
42
+ r: "9",
43
+ fill: color,
44
+ opacity: 0.16
45
+ }), _react.default.createElement("path", {
46
+ d: "M13.28,4.66h7.78v7.78l-.18.28L12.63,21l-.57.47L11.5,21,4.75,14.22l-.47-.56.47-.56L13,4.85Zm.61,1.5-7.5,7.5,5.67,5.67,7.5-7.5V6.16Zm7.92.75h2.25v8.25l-.18.23L16,23.22l-.51.47-.56-.47-1.41-1.5,1-1,.94.94,7.12-7.13V8.41h-.75Zm-5,1a.76.76,0,0,1,.54-.21.75.75,0,1,1,0,1.5A.76.76,0,0,1,16.77,9a.8.8,0,0,1,0-1.08Z",
47
+ fill: color
48
+ })));
49
+ });
50
+ HiBusiness.muiName = 'SvgIcon';
51
+ var _default = HiBusiness;
52
+ exports.default = _default;
@@ -11,6 +11,12 @@ Object.defineProperty(exports, "HiAccount", {
11
11
  return _HiAccount.default;
12
12
  }
13
13
  });
14
+ Object.defineProperty(exports, "HiBusiness", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _HiBusiness.default;
18
+ }
19
+ });
14
20
  Object.defineProperty(exports, "HiAll", {
15
21
  enumerable: true,
16
22
  get: function get() {
@@ -170,6 +176,8 @@ Object.defineProperty(exports, "HiLogoRounded", {
170
176
 
171
177
  var _HiAccount = _interopRequireDefault(require("./HiAccount"));
172
178
 
179
+ var _HiBusiness = _interopRequireDefault(require("./HiBusiness"));
180
+
173
181
  var _HiAll = _interopRequireDefault(require("./HiAll"));
174
182
 
175
183
  var _HiBilling = _interopRequireDefault(require("./HiBilling"));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hipay/hipay-material-ui",
3
3
  "private": false,
4
- "version": "3.5.1",
4
+ "version": "3.6.0-rc1",
5
5
  "description": "React components that implement Google's Material Design.",
6
6
  "repository": {
7
7
  "type": "git",