@hipay/hipay-material-ui 2.0.0-beta.43 → 2.0.0-beta.45
Sign up to get free protection for your applications and to get access to all the features.
- package/HiColoredLabel/HiColoredLabel.js +1 -6
- package/HiSelectableList/HiSelectableListItem.js +1 -6
- package/es/HiColoredLabel/HiColoredLabel.js +1 -6
- package/es/HiSelectableList/HiSelectableListItem.js +1 -6
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/umd/hipay-material-ui.development.js +3 -13
- package/umd/hipay-material-ui.production.min.js +2 -2
@@ -147,12 +147,7 @@ function HiColoredLabel(props) {
|
|
147
147
|
}, fontWeight && {
|
148
148
|
fontWeight: fontWeight
|
149
149
|
})
|
150
|
-
}, other,
|
151
|
-
// eslint-disable-next-line react/no-danger
|
152
|
-
dangerouslySetInnerHTML: {
|
153
|
-
__html: (0, _helpers.escapeHTML)(label)
|
154
|
-
}
|
155
|
-
}));
|
150
|
+
}, other), label);
|
156
151
|
}
|
157
152
|
|
158
153
|
HiColoredLabel.propTypes = process.env.NODE_ENV !== "production" ? {
|
@@ -121,10 +121,6 @@ var styles = function styles(theme) {
|
|
121
121
|
margin: '1px 0',
|
122
122
|
paddingLeft: 4
|
123
123
|
},
|
124
|
-
coloredLabel: {
|
125
|
-
display: 'inline-flex',
|
126
|
-
marginTop: -4
|
127
|
-
},
|
128
124
|
primaryHighlight: {
|
129
125
|
fontWeight: theme.typography.fontWeightMedium,
|
130
126
|
color: theme.palette.primary.main,
|
@@ -225,7 +221,6 @@ function (_React$Component) {
|
|
225
221
|
|
226
222
|
if (color && selected) {
|
227
223
|
return _react.default.createElement(_HiColoredLabel.default, {
|
228
|
-
className: classes.coloredLabel,
|
229
224
|
color: color,
|
230
225
|
label: spanHighlight
|
231
226
|
});
|
@@ -296,7 +291,7 @@ function (_React$Component) {
|
|
296
291
|
var ListItemComponentName = pinned ? _ListSubheader.default : _ListItem.default;
|
297
292
|
return _react.default.createElement(ListItemComponentName, (0, _extends2.default)({
|
298
293
|
id: id,
|
299
|
-
tabIndex: 0,
|
294
|
+
tabIndex: disabled ? '-1' : 0,
|
300
295
|
key: "li-".concat(id),
|
301
296
|
classes: {
|
302
297
|
root: classes.root
|
@@ -130,12 +130,7 @@ function HiColoredLabel(props) {
|
|
130
130
|
}, fontWeight && {
|
131
131
|
fontWeight
|
132
132
|
})
|
133
|
-
}, other,
|
134
|
-
// eslint-disable-next-line react/no-danger
|
135
|
-
dangerouslySetInnerHTML: {
|
136
|
-
__html: escapeHTML(label)
|
137
|
-
}
|
138
|
-
}));
|
133
|
+
}, other), label);
|
139
134
|
}
|
140
135
|
|
141
136
|
HiColoredLabel.propTypes = process.env.NODE_ENV !== "production" ? {
|
@@ -86,10 +86,6 @@ export const styles = theme => ({
|
|
86
86
|
margin: '1px 0',
|
87
87
|
paddingLeft: 4
|
88
88
|
},
|
89
|
-
coloredLabel: {
|
90
|
-
display: 'inline-flex',
|
91
|
-
marginTop: -4
|
92
|
-
},
|
93
89
|
primaryHighlight: {
|
94
90
|
fontWeight: theme.typography.fontWeightMedium,
|
95
91
|
color: theme.palette.primary.main,
|
@@ -174,7 +170,6 @@ class HiSelectableListItem extends React.Component {
|
|
174
170
|
|
175
171
|
if (color && selected) {
|
176
172
|
return React.createElement(HiColoredLabel, {
|
177
|
-
className: classes.coloredLabel,
|
178
173
|
color: color,
|
179
174
|
label: spanHighlight
|
180
175
|
});
|
@@ -243,7 +238,7 @@ class HiSelectableListItem extends React.Component {
|
|
243
238
|
const ListItemComponentName = pinned ? ListSubheader : ListItem;
|
244
239
|
return React.createElement(ListItemComponentName, _extends({
|
245
240
|
id: id,
|
246
|
-
tabIndex: 0,
|
241
|
+
tabIndex: disabled ? '-1' : 0,
|
247
242
|
key: `li-${id}`,
|
248
243
|
classes: {
|
249
244
|
root: classes.root
|
package/index.es.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** @license HiPay-Material-UI v2.0.0-beta.
|
1
|
+
/** @license HiPay-Material-UI v2.0.0-beta.45
|
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.
|
@@ -91692,12 +91692,7 @@
|
|
91692
91692
|
}, fontWeight && {
|
91693
91693
|
fontWeight: fontWeight
|
91694
91694
|
})
|
91695
|
-
}, other,
|
91696
|
-
// eslint-disable-next-line react/no-danger
|
91697
|
-
dangerouslySetInnerHTML: {
|
91698
|
-
__html: escapeHTML(label)
|
91699
|
-
}
|
91700
|
-
}));
|
91695
|
+
}, other), label);
|
91701
91696
|
}
|
91702
91697
|
|
91703
91698
|
HiColoredLabel.propTypes = {
|
@@ -95660,10 +95655,6 @@
|
|
95660
95655
|
margin: '1px 0',
|
95661
95656
|
paddingLeft: 4
|
95662
95657
|
},
|
95663
|
-
coloredLabel: {
|
95664
|
-
display: 'inline-flex',
|
95665
|
-
marginTop: -4
|
95666
|
-
},
|
95667
95658
|
primaryHighlight: {
|
95668
95659
|
fontWeight: theme.typography.fontWeightMedium,
|
95669
95660
|
color: theme.palette.primary.main,
|
@@ -95762,7 +95753,6 @@
|
|
95762
95753
|
|
95763
95754
|
if (color && selected) {
|
95764
95755
|
return React__default.createElement(HiColoredLabel$1, {
|
95765
|
-
className: classes.coloredLabel,
|
95766
95756
|
color: color,
|
95767
95757
|
label: spanHighlight
|
95768
95758
|
});
|
@@ -95833,7 +95823,7 @@
|
|
95833
95823
|
var ListItemComponentName = pinned ? ListSubheader$2 : ListItem$2;
|
95834
95824
|
return React__default.createElement(ListItemComponentName, _extends_1({
|
95835
95825
|
id: id,
|
95836
|
-
tabIndex: 0,
|
95826
|
+
tabIndex: disabled ? '-1' : 0,
|
95837
95827
|
key: "li-".concat(id),
|
95838
95828
|
classes: {
|
95839
95829
|
root: classes.root
|