@hipay/hipay-material-ui 3.12.2 → 3.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/HiAccordionSummary/HiAccordionSummary.js +4 -6
  2. package/HiAlertModal/HiAlertModal.js +2 -2
  3. package/HiBreadcrumb/HiStepLabel.js +1 -2
  4. package/HiChip/HiChip.js +1 -2
  5. package/HiChip/HiChipSwitch.js +1 -2
  6. package/HiColoredLabel/HiColoredLabel.js +5 -5
  7. package/HiDatePicker/Caption.js +1 -1
  8. package/HiDatePicker/HiDateRangePicker.js +1 -1
  9. package/HiDatePicker/HiDateRangeSelector.js +23 -20
  10. package/HiDatePicker/Overlays/CustomOverlayLayout.js +2 -4
  11. package/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +2 -4
  12. package/HiDatePicker/Overlays/TimePickerOverlay.js +2 -4
  13. package/HiDatePicker/stylesheet.js +2 -4
  14. package/HiDialog/HiDialog.js +1 -1
  15. package/HiExpansionPanel/HiExpansionPanel.js +3 -6
  16. package/HiForm/HiFormControl.js +5 -8
  17. package/HiForm/HiFormLabel.js +4 -5
  18. package/HiForm/HiInput.js +4 -5
  19. package/HiForm/HiSlider.js +1 -1
  20. package/HiForm/HiUploadInput.js +2 -3
  21. package/HiIconButton/HiIconButton.js +2 -2
  22. package/HiSelect/HiNestedSelect.js +2 -2
  23. package/HiSelect/HiSelect.js +2 -2
  24. package/HiSelect/HiSelectContent.js +2 -2
  25. package/HiSelect/HiSelectInput.js +1 -1
  26. package/HiSelectableList/HiSelectableListItem.js +3 -5
  27. package/HiTable/HiTableHeader.js +3 -2
  28. package/HiTable/HiTableRow.js +1 -2
  29. package/es/HiAccordionSummary/HiAccordionSummary.js +4 -6
  30. package/es/HiAlertModal/HiAlertModal.js +2 -2
  31. package/es/HiBreadcrumb/HiStepLabel.js +1 -2
  32. package/es/HiChip/HiChip.js +1 -2
  33. package/es/HiChip/HiChipSwitch.js +1 -2
  34. package/es/HiColoredLabel/HiColoredLabel.js +5 -5
  35. package/es/HiDatePicker/Caption.js +1 -1
  36. package/es/HiDatePicker/HiDateRangePicker.js +1 -1
  37. package/es/HiDatePicker/HiDateRangeSelector.js +23 -20
  38. package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +2 -4
  39. package/es/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +2 -4
  40. package/es/HiDatePicker/Overlays/TimePickerOverlay.js +2 -4
  41. package/es/HiDatePicker/stylesheet.js +2 -4
  42. package/es/HiDialog/HiDialog.js +1 -1
  43. package/es/HiExpansionPanel/HiExpansionPanel.js +3 -6
  44. package/es/HiForm/HiFormControl.js +5 -8
  45. package/es/HiForm/HiFormLabel.js +4 -5
  46. package/es/HiForm/HiInput.js +4 -5
  47. package/es/HiForm/HiSlider.js +1 -1
  48. package/es/HiForm/HiUploadInput.js +2 -3
  49. package/es/HiIconButton/HiIconButton.js +2 -2
  50. package/es/HiSelect/HiNestedSelect.js +2 -2
  51. package/es/HiSelect/HiSelect.js +2 -2
  52. package/es/HiSelect/HiSelectContent.js +2 -2
  53. package/es/HiSelect/HiSelectInput.js +1 -1
  54. package/es/HiSelectableList/HiSelectableListItem.js +3 -5
  55. package/es/HiTable/HiTableHeader.js +3 -2
  56. package/es/HiTable/HiTableRow.js +1 -2
  57. package/package.json +3 -2
@@ -59,7 +59,7 @@ var styles = function styles(theme) {
59
59
  overflow: 'hidden',
60
60
  textOverflow: 'ellipsis',
61
61
  paddingRight: 16
62
- }, theme.typography.b1, {
62
+ }, theme.typography.body2, {
63
63
  display: 'inline-flex',
64
64
  width: '100%'
65
65
  }),
@@ -68,7 +68,7 @@ var styles = function styles(theme) {
68
68
  overflow: 'hidden',
69
69
  textOverflow: 'ellipsis',
70
70
  paddingRight: 16
71
- }, theme.typography.b1, {
71
+ }, theme.typography.body2, {
72
72
  display: 'inline-flex',
73
73
  width: '100%'
74
74
  })
@@ -130,7 +130,7 @@ var styles = function styles(theme) {
130
130
  whiteSpace: 'nowrap',
131
131
  overflow: 'hidden',
132
132
  textOverflow: 'ellipsis'
133
- }, theme.typography.b1, {
133
+ }, theme.typography.body2, {
134
134
  display: 'inline-block',
135
135
  width: '100%'
136
136
  }),
@@ -182,7 +182,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
182
182
  padding: theme.spacing(2, 0),
183
183
  margin: 'auto'
184
184
  },
185
- listItemContent: (0, _objectSpread2.default)({}, theme.typography.b1, {
185
+ listItemContent: (0, _objectSpread2.default)({}, theme.typography.body2, {
186
186
  fontWeight: 'inherit',
187
187
  width: '100%',
188
188
  minWidth: '50%',
@@ -207,17 +207,15 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
207
207
  color: theme.palette.primary.main,
208
208
  textTransform: 'uppercase'
209
209
  },
210
- secondaryLabel: (0, _objectSpread2.default)({}, theme.typography.b3, {
210
+ secondaryLabel: (0, _objectSpread2.default)({}, theme.typography.caption, {
211
211
  color: theme.palette.neutral.main,
212
212
  fontWeight: theme.typography.fontWeightLight,
213
- fontSize: 11,
214
213
  marginLeft: theme.spacing(1)
215
214
  }),
216
215
  inline: {},
217
- info: (0, _objectSpread2.default)({}, theme.typography.b3, {
216
+ info: (0, _objectSpread2.default)({}, theme.typography.body3, {
218
217
  color: theme.palette.neutral.main,
219
218
  fontWeight: theme.typography.fontWeightLight,
220
- fontSize: 12,
221
219
  textOverflow: 'ellipsis',
222
220
  textAlign: 'right',
223
221
  alignSelf: 'center'
@@ -56,9 +56,10 @@ var styles = function styles(theme) {
56
56
  overflow: 'hidden',
57
57
  textOverflow: 'ellipsis',
58
58
  whiteSpace: 'nowrap',
59
- fontWeight: theme.typography.fontWeightLight,
60
59
  color: '#000000'
61
- }, theme.typography.b4),
60
+ }, theme.typography.body3, {
61
+ fontWeight: theme.typography.fontWeightLight
62
+ }),
62
63
  icon: {
63
64
  color: '#00ADE9'
64
65
  }
@@ -65,9 +65,8 @@ var styles = function styles(theme) {
65
65
  padding: '0px 13px',
66
66
  minHeight: '32px',
67
67
  maxHeight: '40px',
68
- fontWeight: theme.typography.fontWeightRegular,
69
68
  lineHeight: 'unset'
70
- }, theme.typography.b3)
69
+ }, theme.typography.body3)
71
70
  };
72
71
  };
73
72
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hipay/hipay-material-ui",
3
3
  "private": false,
4
- "version": "3.12.2",
4
+ "version": "3.13.0",
5
5
  "description": "React components that implement Google's Material Design.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -13,6 +13,7 @@
13
13
  },
14
14
  "homepage": "http://materialui.hipay.dev.local/",
15
15
  "peerDependencies": {
16
+ "@hipay/design-system": "^1.0.1",
16
17
  "@mui/material": "5.5.3",
17
18
  "@mui/styles": "5.5.3",
18
19
  "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.4.2",
@@ -49,7 +50,7 @@
49
50
  "react-jss": "10.0.3",
50
51
  "react-lazyload": "2.6.2",
51
52
  "react-pdf": "5.7.2",
52
- "react-spinners": "0.12.0-alpha.2",
53
+ "react-spinners": "0.12.0",
53
54
  "recompose": "0.30.0",
54
55
  "validator": "10.7.1"
55
56
  },