@hipay/hipay-material-ui 3.2.3 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/HiAlertModal/HiAlertModal.js +122 -138
- package/HiCell/CellRate.js +8 -4
- package/HiCheckbox/HiCheckbox.js +25 -10
- package/HiChip/HiChip.js +44 -29
- package/HiDatePicker/HiDateRangeSelector.js +10 -2
- package/HiExpansionPanel/HiExpansionPanel.js +3 -6
- package/HiForm/HiInput.js +21 -5
- package/HiIcon/HiIcon.js +1 -16
- package/HiListItemLink/HiListItemLink.js +151 -0
- package/HiListItemLink/index.js +15 -0
- package/HiSelectableList/HiSelectableListItem.js +33 -11
- package/HiStepper/DefaultIndicator.js +26 -0
- package/HiStepper/HiStep.js +9 -3
- package/es/HiAlertModal/HiAlertModal.js +122 -138
- package/es/HiCell/CellRate.js +8 -4
- package/es/HiCheckbox/HiCheckbox.js +25 -10
- package/es/HiChip/HiChip.js +44 -29
- package/es/HiDatePicker/HiDateRangeSelector.js +10 -2
- package/es/HiExpansionPanel/HiExpansionPanel.js +3 -6
- package/es/HiForm/HiInput.js +21 -5
- package/es/HiIcon/HiIcon.js +1 -16
- package/es/HiListItemLink/HiListItemLink.js +151 -0
- package/es/HiListItemLink/index.js +15 -0
- package/es/HiSelectableList/HiSelectableListItem.js +33 -11
- package/es/HiStepper/DefaultIndicator.js +26 -0
- package/es/HiStepper/HiStep.js +9 -3
- package/package.json +2 -2
package/es/HiStepper/HiStep.js
CHANGED
@@ -33,6 +33,8 @@ var _Close = _interopRequireDefault(require("@material-ui/icons/Close"));
|
|
33
33
|
|
34
34
|
var _Remove = _interopRequireDefault(require("@material-ui/icons/Remove"));
|
35
35
|
|
36
|
+
var _DefaultIndicator = _interopRequireDefault(require("./DefaultIndicator"));
|
37
|
+
|
36
38
|
/**
|
37
39
|
* HiStepIcon used internally by HiStep
|
38
40
|
*/
|
@@ -127,8 +129,7 @@ var useStepLabelStyle = (0, _styles.makeStyles)(function (theme) {
|
|
127
129
|
var HiStep = _react.default.forwardRef(function (props, ref) {
|
128
130
|
var content = props.content,
|
129
131
|
disabled = props.disabled,
|
130
|
-
|
131
|
-
indicator = _props$indicator === void 0 ? props.index + 1 : _props$indicator,
|
132
|
+
indicator = props.indicator,
|
132
133
|
label = props.label,
|
133
134
|
onClick = props.onClick,
|
134
135
|
status = props.status,
|
@@ -189,6 +190,11 @@ var HiStep = _react.default.forwardRef(function (props, ref) {
|
|
189
190
|
}, content));
|
190
191
|
});
|
191
192
|
|
192
|
-
HiStep.defaultProps = {
|
193
|
+
HiStep.defaultProps = {
|
194
|
+
/**
|
195
|
+
* Default indicator
|
196
|
+
*/
|
197
|
+
indicator: _react.default.createElement(_DefaultIndicator.default, null)
|
198
|
+
};
|
193
199
|
var _default = HiStep;
|
194
200
|
exports.default = _default;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hipay/hipay-material-ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.3.0",
|
5
5
|
"description": "React components that implement Google's Material Design.",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -14,6 +14,7 @@
|
|
14
14
|
"homepage": "http://materialui.hipay.dev.local/",
|
15
15
|
"peerDependencies": {
|
16
16
|
"@material-ui/core": "4.4.3",
|
17
|
+
"mdi-material-ui": "6.14.0",
|
17
18
|
"moment-timezone": "0.5.27",
|
18
19
|
"react": "16.9.0",
|
19
20
|
"react-dom": "16.9.0"
|
@@ -35,7 +36,6 @@
|
|
35
36
|
"jss-vendor-prefixer": "8.0.1",
|
36
37
|
"keycode": "2.2.0",
|
37
38
|
"leaflet": "1.5.1",
|
38
|
-
"mdi-material-ui": "6.8.0",
|
39
39
|
"mini-html-webpack-plugin": "1.0.0",
|
40
40
|
"prop-types": "15.7.2",
|
41
41
|
"react-custom-scrollbars": "4.2.1",
|