@hipay/hipay-material-ui 3.12.2 → 3.12.3-beta.0

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 (53) 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/Overlays/CustomOverlayLayout.js +2 -4
  9. package/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +2 -4
  10. package/HiDatePicker/Overlays/TimePickerOverlay.js +2 -4
  11. package/HiDatePicker/stylesheet.js +2 -4
  12. package/HiDialog/HiDialog.js +1 -1
  13. package/HiExpansionPanel/HiExpansionPanel.js +3 -6
  14. package/HiForm/HiFormControl.js +5 -8
  15. package/HiForm/HiFormLabel.js +4 -5
  16. package/HiForm/HiInput.js +4 -5
  17. package/HiForm/HiSlider.js +1 -1
  18. package/HiForm/HiUploadInput.js +2 -3
  19. package/HiIconButton/HiIconButton.js +2 -2
  20. package/HiSelect/HiNestedSelect.js +2 -2
  21. package/HiSelect/HiSelect.js +2 -2
  22. package/HiSelect/HiSelectContent.js +2 -2
  23. package/HiSelect/HiSelectInput.js +1 -1
  24. package/HiSelectableList/HiSelectableListItem.js +3 -5
  25. package/HiTable/HiTableHeader.js +3 -2
  26. package/HiTable/HiTableRow.js +1 -2
  27. package/es/HiAccordionSummary/HiAccordionSummary.js +4 -6
  28. package/es/HiAlertModal/HiAlertModal.js +2 -2
  29. package/es/HiBreadcrumb/HiStepLabel.js +1 -2
  30. package/es/HiChip/HiChip.js +1 -2
  31. package/es/HiChip/HiChipSwitch.js +1 -2
  32. package/es/HiColoredLabel/HiColoredLabel.js +5 -5
  33. package/es/HiDatePicker/Caption.js +1 -1
  34. package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +2 -4
  35. package/es/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +2 -4
  36. package/es/HiDatePicker/Overlays/TimePickerOverlay.js +2 -4
  37. package/es/HiDatePicker/stylesheet.js +2 -4
  38. package/es/HiDialog/HiDialog.js +1 -1
  39. package/es/HiExpansionPanel/HiExpansionPanel.js +3 -6
  40. package/es/HiForm/HiFormControl.js +5 -8
  41. package/es/HiForm/HiFormLabel.js +4 -5
  42. package/es/HiForm/HiInput.js +4 -5
  43. package/es/HiForm/HiSlider.js +1 -1
  44. package/es/HiForm/HiUploadInput.js +2 -3
  45. package/es/HiIconButton/HiIconButton.js +2 -2
  46. package/es/HiSelect/HiNestedSelect.js +2 -2
  47. package/es/HiSelect/HiSelect.js +2 -2
  48. package/es/HiSelect/HiSelectContent.js +2 -2
  49. package/es/HiSelect/HiSelectInput.js +1 -1
  50. package/es/HiSelectableList/HiSelectableListItem.js +3 -5
  51. package/es/HiTable/HiTableHeader.js +3 -2
  52. package/es/HiTable/HiTableRow.js +1 -2
  53. package/package.json +3 -2
@@ -40,13 +40,14 @@ var HiAccordionSummary = function HiAccordionSummary(props) {
40
40
  }),
41
41
  expandIcon: props.editMode ? null : _ref
42
42
  }, /*#__PURE__*/_react.default.createElement(_Typography.default, {
43
- variant: "h2",
43
+ variant: "h3",
44
44
  className: "heading"
45
45
  }, props.heading), !props.editMode && /*#__PURE__*/_react.default.createElement("div", {
46
46
  className: "secondary"
47
47
  }, !!props.secondaryHeading && /*#__PURE__*/_react.default.createElement(_Typography.default, {
48
48
  className: "secondaryHeading",
49
- variant: "h5"
49
+ variant: "caption",
50
+ color: "textSecondary"
50
51
  }, props.secondaryHeading), props.editable && /*#__PURE__*/_react.default.createElement(_HiButton.default, {
51
52
  className: "editButton",
52
53
  color: "primary",
@@ -65,9 +66,6 @@ HiAccordionSummary.defaultProps = {
65
66
  var StyledHiAccordionSummary = (0, _styledComponents.default)(HiAccordionSummary).withConfig({
66
67
  displayName: "HiAccordionSummary__StyledHiAccordionSummary",
67
68
  componentId: "sc-x8gl70-0"
68
- })(["&.summary{border-bottom:1px solid #e3e6e7;height:48px;min-height:48px;padding:0;&.editMode{border-bottom:none;cursor:default;.heading{font-weight:bold;}}.summaryContent{display:flex;justify-content:space-between;align-items:center;.secondary{display:flex;align-items:center;.secondaryHeading{color:", ";font-size:11px;}}}.saveLabel{margin-left:6px;}}"], function (_ref3) {
69
- var theme = _ref3.theme;
70
- return theme.palette.neutral.light;
71
- });
69
+ })(["&.summary{border-bottom:1px solid #e3e6e7;height:48px;min-height:48px;padding:0;&.editMode{border-bottom:none;cursor:default;.heading{font-weight:bold;}}.summaryContent{display:flex;justify-content:space-between;align-items:center;.secondary{display:flex;align-items:center;}}.saveLabel{margin-left:6px;}}"]);
72
70
  var _default = StyledHiAccordionSummary;
73
71
  exports.default = _default;
@@ -67,8 +67,8 @@ var HiAlertModal = function HiAlertModal(props) {
67
67
  }, props.title), /*#__PURE__*/_react.default.createElement(_DialogContent.default, {
68
68
  className: "dialog-content"
69
69
  }, /*#__PURE__*/_react.default.createElement(_material.Typography, {
70
- component: 'div',
71
- variant: "body1",
70
+ component: "div",
71
+ variant: "body2",
72
72
  color: "textSecondary"
73
73
  }, props.content)), /*#__PURE__*/_react.default.createElement(_DialogActions.default, {
74
74
  className: "dialog-actions"
@@ -51,10 +51,9 @@ var styles = function styles(theme) {
51
51
  label: (0, _objectSpread2.default)({
52
52
  display: 'inline-block',
53
53
  marginLeft: 4,
54
- fontWeight: theme.typography.fontWeightRegular,
55
54
  color: theme.palette.neutral.main,
56
55
  marginBottom: -4
57
- }, theme.typography.b2),
56
+ }, theme.typography.body3),
58
57
  labelHover: {
59
58
  '&:hover': {
60
59
  cursor: 'pointer'
package/HiChip/HiChip.js CHANGED
@@ -27,13 +27,12 @@ var _makeStyles = _interopRequireDefault(require("@mui/styles/makeStyles"));
27
27
 
28
28
  var useStyles = (0, _makeStyles.default)(function (theme) {
29
29
  return {
30
- root: (0, _objectSpread2.default)({}, theme.typography.b3, {
30
+ root: (0, _objectSpread2.default)({}, theme.typography.body3, {
31
31
  display: 'inline-flex',
32
32
  marginRight: 4,
33
33
  width: 'fit-content',
34
34
  height: 24,
35
35
  borderRadius: 12,
36
- fontSize: 13,
37
36
  backgroundColor: theme.palette.grey[300],
38
37
  color: theme.palette.neutral.dark,
39
38
  padding: 8,
@@ -43,14 +43,13 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
43
43
 
44
44
  var styles = function styles(theme) {
45
45
  return {
46
- root: (0, _objectSpread2.default)({}, theme.typography.b3, {
46
+ root: (0, _objectSpread2.default)({}, theme.typography.body3, {
47
47
  display: 'inline-flex',
48
48
  alignItems: 'center',
49
49
  marginRight: 4,
50
50
  width: 'fit-content',
51
51
  height: 24,
52
52
  borderRadius: 12,
53
- fontSize: 13,
54
53
  cursor: 'pointer',
55
54
  padding: '0 4px',
56
55
  outline: 'none',
@@ -38,11 +38,11 @@ var styles = function styles(theme) {
38
38
  whiteSpace: 'nowrap',
39
39
  lineHeight: 1
40
40
  },
41
- body1: (0, _objectSpread2.default)({}, theme.typography.b1),
42
- body2: (0, _objectSpread2.default)({}, theme.typography.b2),
43
- body3: (0, _objectSpread2.default)({}, theme.typography.b3),
44
- body4: (0, _objectSpread2.default)({}, theme.typography.b4),
45
- body5: (0, _objectSpread2.default)({}, theme.typography.b5),
41
+ body1: (0, _objectSpread2.default)({}, theme.typography.body2),
42
+ body2: (0, _objectSpread2.default)({}, theme.typography.body2),
43
+ body3: (0, _objectSpread2.default)({}, theme.typography.body3),
44
+ body4: (0, _objectSpread2.default)({}, theme.typography.body3),
45
+ body5: (0, _objectSpread2.default)({}, theme.typography.body3),
46
46
  color: {
47
47
  fontWeight: 400
48
48
  },
@@ -22,7 +22,7 @@ var styles = function styles(theme) {
22
22
  height: 40,
23
23
  textAlign: 'center',
24
24
  padding: '4px 0'
25
- }, theme.typography.body1, {
25
+ }, theme.typography.body2, {
26
26
  color: theme.palette.neutral.main
27
27
  })
28
28
  };
@@ -45,15 +45,13 @@ var styles = function styles(theme) {
45
45
  padding: 0,
46
46
  height: 325,
47
47
  textAlign: 'center'
48
- }, theme.typography.body2, {
49
- fontWeight: theme.typography.fontWeightRegular
50
- }),
48
+ }, theme.typography.body2),
51
49
  header: (0, _objectSpread2.default)({
52
50
  display: 'block',
53
51
  height: 40,
54
52
  textAlign: 'center',
55
53
  padding: '10px 0'
56
- }, theme.typography.body1, {
54
+ }, theme.typography.body2, {
57
55
  color: theme.palette.neutral.main,
58
56
  borderBottom: '1px solid',
59
57
  borderBottomColor: theme.palette.divider
@@ -45,15 +45,13 @@ var styles = function styles(theme) {
45
45
  padding: 0,
46
46
  height: 325,
47
47
  textAlign: 'center'
48
- }, theme.typography.body2, {
49
- fontWeight: theme.typography.fontWeightRegular
50
- }),
48
+ }, theme.typography.body2),
51
49
  header: (0, _objectSpread2.default)({
52
50
  display: 'block',
53
51
  height: 40,
54
52
  textAlign: 'center',
55
53
  padding: '10px 0'
56
- }, theme.typography.body1, {
54
+ }, theme.typography.body2, {
57
55
  color: theme.palette.neutral.main,
58
56
  borderBottom: '1px solid',
59
57
  borderBottomColor: theme.palette.divider
@@ -52,15 +52,13 @@ var styles = function styles(theme) {
52
52
  padding: 0,
53
53
  height: 325,
54
54
  textAlign: 'center'
55
- }, theme.typography.body2, {
56
- fontWeight: theme.typography.fontWeightRegular
57
- }),
55
+ }, theme.typography.body2),
58
56
  header: (0, _objectSpread2.default)({
59
57
  display: 'block',
60
58
  height: 40,
61
59
  textAlign: 'center',
62
60
  padding: '10px 0'
63
- }, theme.typography.body1, {
61
+ }, theme.typography.body2, {
64
62
  color: theme.palette.neutral.main,
65
63
  borderBottom: '1px solid',
66
64
  borderBottomColor: theme.palette.divider
@@ -19,7 +19,7 @@ var _default = function _default(theme) {
19
19
  width: '100%',
20
20
  maxWidth: 500
21
21
  },
22
- rootMobile: (0, _objectSpread2.default)({}, theme.typography.b1, {
22
+ rootMobile: (0, _objectSpread2.default)({}, theme.typography.body2, {
23
23
  backgroundColor: theme.palette.background2,
24
24
  borderBottom: '1px solid #E0E0E0',
25
25
  borderLeft: 'none',
@@ -128,7 +128,6 @@ var _default = function _default(theme) {
128
128
  display: 'table-cell'
129
129
  }, theme.typography.body2, {
130
130
  color: theme.palette.neutral.main,
131
- fontWeight: theme.typography.fontWeightRegular,
132
131
  textAlign: 'center',
133
132
  verticalAlign: 'middle'
134
133
  }),
@@ -161,8 +160,7 @@ var _default = function _default(theme) {
161
160
  verticalAlign: 'middle',
162
161
  outline: 'none'
163
162
  }, theme.typography.body2, {
164
- color: theme.palette.neutral.dark,
165
- fontWeight: theme.typography.fontWeightRegular
163
+ color: theme.palette.neutral.dark
166
164
  }),
167
165
  // The calendar footer (only with todayButton prop)
168
166
  footer: {
@@ -37,7 +37,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
37
37
  marginTop: theme.spacing(-2),
38
38
  marginRight: theme.spacing(-6)
39
39
  },
40
- title: (0, _objectSpread2.default)({}, theme.typography.h1, {
40
+ title: (0, _objectSpread2.default)({}, theme.typography.h2, {
41
41
  margin: 0
42
42
  })
43
43
  };
@@ -63,20 +63,17 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
63
63
  cursor: 'default',
64
64
  pointerEvents: 'none'
65
65
  },
66
- heading: (0, _objectSpread2.default)({}, theme.typography.b1, {
66
+ heading: (0, _objectSpread2.default)({}, theme.typography.h3, {
67
67
  height: 48,
68
68
  display: 'flex',
69
69
  alignItems: 'center',
70
- fontSize: 20,
71
- lineHeight: '24px',
72
70
  fontWeight: theme.typography.fontWeightLight
73
71
  }),
74
- secondaryHeading: (0, _objectSpread2.default)({}, theme.typography.b3, {
75
- color: theme.palette.neutral.light,
72
+ secondaryHeading: (0, _objectSpread2.default)({}, theme.typography.caption, {
73
+ color: theme.palette.text.secondary,
76
74
  height: 48,
77
75
  display: 'flex',
78
76
  alignItems: 'center',
79
- fontSize: 11,
80
77
  '&>svg': {
81
78
  fontSize: 18,
82
79
  marginLeft: 3
@@ -87,15 +87,14 @@ var styles = function styles(theme) {
87
87
  iconButtonInfo: {},
88
88
  iconButtonInfoActive: {},
89
89
  iconFullWidth: {},
90
- errorDiv: (0, _objectSpread2.default)({}, theme.typography.b3, {
90
+ errorDiv: (0, _objectSpread2.default)({}, theme.typography.body3, {
91
91
  backgroundColor: theme.palette.negative.main,
92
92
  color: '#FFFFFF',
93
93
  padding: theme.spacing(4, 2),
94
94
  verticalAlign: 'middle',
95
95
  borderRadius: 2,
96
96
  position: 'relative',
97
- marginBottom: theme.spacing(2),
98
- fontWeight: theme.typography.fontWeightRegular
97
+ marginBottom: theme.spacing(2)
99
98
  }),
100
99
  arrowDown: {
101
100
  width: 0,
@@ -117,7 +116,7 @@ var styles = function styles(theme) {
117
116
  errorDivArrowDown: {
118
117
  borderTopColor: theme.palette.negative.main
119
118
  },
120
- helperDiv: (0, _objectSpread2.default)({}, theme.typography.b2, {
119
+ helperDiv: (0, _objectSpread2.default)({}, theme.typography.body2, {
121
120
  width: '100%',
122
121
  backgroundColor: '#ffffff',
123
122
  color: theme.palette.neutral.normal,
@@ -125,9 +124,7 @@ var styles = function styles(theme) {
125
124
  borderRadius: 2,
126
125
  position: 'relative',
127
126
  marginBottom: theme.spacing(2),
128
- fontWeight: theme.typography.fontWeightRegular,
129
- boxShadow: '0px 1px 7px rgba(0, 0, 0, 0.16)',
130
- lineHeight: 1.5
127
+ boxShadow: '0px 1px 7px rgba(0, 0, 0, 0.16)'
131
128
  }),
132
129
  helperDivArrowDown: {
133
130
  borderTopColor: '#ffffff'
@@ -135,7 +132,7 @@ var styles = function styles(theme) {
135
132
  icon: {
136
133
  position: 'absolute',
137
134
  fontSize: 20,
138
- top: 4
135
+ top: 5
139
136
  }
140
137
  };
141
138
  };
@@ -37,8 +37,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
37
37
 
38
38
  var styles = function styles(theme) {
39
39
  return {
40
- root: (0, _objectSpread2.default)({}, theme.typography.h4, {
41
- fontWeight: theme.typography.fontWeightRegular,
40
+ root: (0, _objectSpread2.default)({}, theme.typography.body2, {
41
+ lineHeight: '18px',
42
42
  color: theme.palette.neutral.main,
43
43
  position: 'inherit',
44
44
  transform: 'inherit',
@@ -52,11 +52,10 @@ var styles = function styles(theme) {
52
52
  display: 'flex',
53
53
  alignItems: 'baseline'
54
54
  }),
55
- optional: {
56
- fontSize: 11,
55
+ optional: (0, _objectSpread2.default)({}, theme.typography.caption, {
57
56
  marginLeft: 4,
58
57
  color: theme.palette.neutral.main
59
- },
58
+ }),
60
59
  focused: {},
61
60
  error: {}
62
61
  };
package/HiForm/HiInput.js CHANGED
@@ -49,7 +49,7 @@ var styles = function styles(theme) {
49
49
  return {
50
50
  root: (0, _objectSpread2.default)({
51
51
  position: 'relative'
52
- }, theme.typography.b1, {
52
+ }, theme.typography.body2, {
53
53
  borderBottom: "1px solid ".concat(theme.palette.input.bottomLine),
54
54
  paddingLeft: 8,
55
55
  backgroundColor: theme.palette.background2,
@@ -123,13 +123,12 @@ var styles = function styles(theme) {
123
123
  // Ajout d'1px pour ne pas avoir de décalage en mode error avec le border right
124
124
  marginRight: '-1px'
125
125
  },
126
- input: (0, _objectSpread2.default)({}, theme.typography.b1, {
127
- fontWeight: theme.typography.fontWeightRegular,
126
+ input: (0, _objectSpread2.default)({}, theme.typography.body2, {
128
127
  caretColor: theme.palette.primary.main,
129
128
  display: 'flex',
130
129
  alignItems: 'center'
131
130
  }),
132
- inputPropsClassName: (0, _objectSpread2.default)({}, theme.typography.b1, {
131
+ inputPropsClassName: (0, _objectSpread2.default)({}, theme.typography.body2, {
133
132
  padding: 0
134
133
  }),
135
134
  inputText: {
@@ -396,7 +395,7 @@ var HiInput = /*#__PURE__*/function (_React$PureComponent) {
396
395
  },
397
396
  onClick: this.handleReset,
398
397
  onBlur: this.handleBlur,
399
- buttonRef: function buttonRef(el) {
398
+ ref: function ref(el) {
400
399
  _this2.eraseIconNode = el;
401
400
  }
402
401
  }, _ref);
@@ -50,7 +50,7 @@ var styles = function styles(theme) {
50
50
  zIndex: '2',
51
51
  cursor: 'pointer'
52
52
  },
53
- mainContainer: (0, _objectSpread2.default)({}, theme.typography.body1, {
53
+ mainContainer: (0, _objectSpread2.default)({}, theme.typography.body2, {
54
54
  display: 'flex',
55
55
  flexWrap: 'nowrap',
56
56
  alignItems: 'center'
@@ -41,7 +41,7 @@ var styles = function styles(theme) {
41
41
  return {
42
42
  root: (0, _objectSpread2.default)({
43
43
  position: 'relative'
44
- }, theme.typography.body1, {
44
+ }, theme.typography.body2, {
45
45
  borderBottom: "1px solid ".concat(theme.palette.input.bottomLine),
46
46
  paddingLeft: 8,
47
47
  backgroundColor: theme.palette.background2,
@@ -130,8 +130,7 @@ var styles = function styles(theme) {
130
130
  backgroundColor: theme.palette.background3
131
131
  },
132
132
  error: {},
133
- label: (0, _objectSpread2.default)({}, theme.typography.body1, {
134
- fontWeight: theme.typography.fontWeightRegular,
133
+ label: (0, _objectSpread2.default)({}, theme.typography.body2, {
135
134
  caretColor: theme.palette.primary.main,
136
135
  alignItems: 'center',
137
136
  whiteSpace: 'nowrap',
@@ -52,7 +52,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
52
52
  });
53
53
  exports.useStyles = useStyles;
54
54
 
55
- function HiIconButton(props) {
55
+ var HiIconButton = _react.default.forwardRef(function (props, ref) {
56
56
  var children = props.children,
57
57
  className = props.className,
58
58
  color = props.color,
@@ -71,7 +71,7 @@ function HiIconButton(props) {
71
71
  color: isCustomColor ? 'inherit' : color,
72
72
  size: "large"
73
73
  }, other), children);
74
- }
74
+ });
75
75
 
76
76
  HiIconButton.defaultProps = {
77
77
  color: 'default'
@@ -191,7 +191,7 @@ var styles = function styles(theme) {
191
191
  overflow: 'hidden',
192
192
  textOverflow: 'ellipsis',
193
193
  paddingRight: 16
194
- }, theme.typography.b1, {
194
+ }, theme.typography.body2, {
195
195
  display: 'inline-flex',
196
196
  width: '100%'
197
197
  }),
@@ -200,7 +200,7 @@ var styles = function styles(theme) {
200
200
  overflow: 'hidden',
201
201
  textOverflow: 'ellipsis',
202
202
  paddingRight: 16
203
- }, theme.typography.b1, {
203
+ }, theme.typography.body2, {
204
204
  display: 'inline-flex',
205
205
  width: '100%'
206
206
  })
@@ -106,7 +106,7 @@ var styles = function styles(theme) {
106
106
  overflow: 'hidden',
107
107
  textOverflow: 'ellipsis',
108
108
  paddingRight: 16
109
- }, theme.typography.b1, {
109
+ }, theme.typography.body2, {
110
110
  display: 'inline-block',
111
111
  width: '100%'
112
112
  }),
@@ -115,7 +115,7 @@ var styles = function styles(theme) {
115
115
  overflow: 'hidden',
116
116
  textOverflow: 'ellipsis',
117
117
  paddingRight: 16
118
- }, theme.typography.b1, {
118
+ }, theme.typography.body2, {
119
119
  display: 'inline-flex',
120
120
  width: '100%'
121
121
  }),
@@ -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
 
@@ -40,13 +40,14 @@ var HiAccordionSummary = function HiAccordionSummary(props) {
40
40
  }),
41
41
  expandIcon: props.editMode ? null : _ref
42
42
  }, /*#__PURE__*/_react.default.createElement(_Typography.default, {
43
- variant: "h2",
43
+ variant: "h3",
44
44
  className: "heading"
45
45
  }, props.heading), !props.editMode && /*#__PURE__*/_react.default.createElement("div", {
46
46
  className: "secondary"
47
47
  }, !!props.secondaryHeading && /*#__PURE__*/_react.default.createElement(_Typography.default, {
48
48
  className: "secondaryHeading",
49
- variant: "h5"
49
+ variant: "caption",
50
+ color: "textSecondary"
50
51
  }, props.secondaryHeading), props.editable && /*#__PURE__*/_react.default.createElement(_HiButton.default, {
51
52
  className: "editButton",
52
53
  color: "primary",
@@ -65,9 +66,6 @@ HiAccordionSummary.defaultProps = {
65
66
  var StyledHiAccordionSummary = (0, _styledComponents.default)(HiAccordionSummary).withConfig({
66
67
  displayName: "HiAccordionSummary__StyledHiAccordionSummary",
67
68
  componentId: "sc-x8gl70-0"
68
- })(["&.summary{border-bottom:1px solid #e3e6e7;height:48px;min-height:48px;padding:0;&.editMode{border-bottom:none;cursor:default;.heading{font-weight:bold;}}.summaryContent{display:flex;justify-content:space-between;align-items:center;.secondary{display:flex;align-items:center;.secondaryHeading{color:", ";font-size:11px;}}}.saveLabel{margin-left:6px;}}"], function (_ref3) {
69
- var theme = _ref3.theme;
70
- return theme.palette.neutral.light;
71
- });
69
+ })(["&.summary{border-bottom:1px solid #e3e6e7;height:48px;min-height:48px;padding:0;&.editMode{border-bottom:none;cursor:default;.heading{font-weight:bold;}}.summaryContent{display:flex;justify-content:space-between;align-items:center;.secondary{display:flex;align-items:center;}}.saveLabel{margin-left:6px;}}"]);
72
70
  var _default = StyledHiAccordionSummary;
73
71
  exports.default = _default;
@@ -67,8 +67,8 @@ var HiAlertModal = function HiAlertModal(props) {
67
67
  }, props.title), /*#__PURE__*/_react.default.createElement(_DialogContent.default, {
68
68
  className: "dialog-content"
69
69
  }, /*#__PURE__*/_react.default.createElement(_material.Typography, {
70
- component: 'div',
71
- variant: "body1",
70
+ component: "div",
71
+ variant: "body2",
72
72
  color: "textSecondary"
73
73
  }, props.content)), /*#__PURE__*/_react.default.createElement(_DialogActions.default, {
74
74
  className: "dialog-actions"
@@ -51,10 +51,9 @@ var styles = function styles(theme) {
51
51
  label: (0, _objectSpread2.default)({
52
52
  display: 'inline-block',
53
53
  marginLeft: 4,
54
- fontWeight: theme.typography.fontWeightRegular,
55
54
  color: theme.palette.neutral.main,
56
55
  marginBottom: -4
57
- }, theme.typography.b2),
56
+ }, theme.typography.body3),
58
57
  labelHover: {
59
58
  '&:hover': {
60
59
  cursor: 'pointer'
@@ -27,13 +27,12 @@ var _makeStyles = _interopRequireDefault(require("@mui/styles/makeStyles"));
27
27
 
28
28
  var useStyles = (0, _makeStyles.default)(function (theme) {
29
29
  return {
30
- root: (0, _objectSpread2.default)({}, theme.typography.b3, {
30
+ root: (0, _objectSpread2.default)({}, theme.typography.body3, {
31
31
  display: 'inline-flex',
32
32
  marginRight: 4,
33
33
  width: 'fit-content',
34
34
  height: 24,
35
35
  borderRadius: 12,
36
- fontSize: 13,
37
36
  backgroundColor: theme.palette.grey[300],
38
37
  color: theme.palette.neutral.dark,
39
38
  padding: 8,
@@ -43,14 +43,13 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
43
43
 
44
44
  var styles = function styles(theme) {
45
45
  return {
46
- root: (0, _objectSpread2.default)({}, theme.typography.b3, {
46
+ root: (0, _objectSpread2.default)({}, theme.typography.body3, {
47
47
  display: 'inline-flex',
48
48
  alignItems: 'center',
49
49
  marginRight: 4,
50
50
  width: 'fit-content',
51
51
  height: 24,
52
52
  borderRadius: 12,
53
- fontSize: 13,
54
53
  cursor: 'pointer',
55
54
  padding: '0 4px',
56
55
  outline: 'none',
@@ -38,11 +38,11 @@ var styles = function styles(theme) {
38
38
  whiteSpace: 'nowrap',
39
39
  lineHeight: 1
40
40
  },
41
- body1: (0, _objectSpread2.default)({}, theme.typography.b1),
42
- body2: (0, _objectSpread2.default)({}, theme.typography.b2),
43
- body3: (0, _objectSpread2.default)({}, theme.typography.b3),
44
- body4: (0, _objectSpread2.default)({}, theme.typography.b4),
45
- body5: (0, _objectSpread2.default)({}, theme.typography.b5),
41
+ body1: (0, _objectSpread2.default)({}, theme.typography.body2),
42
+ body2: (0, _objectSpread2.default)({}, theme.typography.body2),
43
+ body3: (0, _objectSpread2.default)({}, theme.typography.body3),
44
+ body4: (0, _objectSpread2.default)({}, theme.typography.body3),
45
+ body5: (0, _objectSpread2.default)({}, theme.typography.body3),
46
46
  color: {
47
47
  fontWeight: 400
48
48
  },
@@ -22,7 +22,7 @@ var styles = function styles(theme) {
22
22
  height: 40,
23
23
  textAlign: 'center',
24
24
  padding: '4px 0'
25
- }, theme.typography.body1, {
25
+ }, theme.typography.body2, {
26
26
  color: theme.palette.neutral.main
27
27
  })
28
28
  };
@@ -45,15 +45,13 @@ var styles = function styles(theme) {
45
45
  padding: 0,
46
46
  height: 325,
47
47
  textAlign: 'center'
48
- }, theme.typography.body2, {
49
- fontWeight: theme.typography.fontWeightRegular
50
- }),
48
+ }, theme.typography.body2),
51
49
  header: (0, _objectSpread2.default)({
52
50
  display: 'block',
53
51
  height: 40,
54
52
  textAlign: 'center',
55
53
  padding: '10px 0'
56
- }, theme.typography.body1, {
54
+ }, theme.typography.body2, {
57
55
  color: theme.palette.neutral.main,
58
56
  borderBottom: '1px solid',
59
57
  borderBottomColor: theme.palette.divider
@@ -45,15 +45,13 @@ var styles = function styles(theme) {
45
45
  padding: 0,
46
46
  height: 325,
47
47
  textAlign: 'center'
48
- }, theme.typography.body2, {
49
- fontWeight: theme.typography.fontWeightRegular
50
- }),
48
+ }, theme.typography.body2),
51
49
  header: (0, _objectSpread2.default)({
52
50
  display: 'block',
53
51
  height: 40,
54
52
  textAlign: 'center',
55
53
  padding: '10px 0'
56
- }, theme.typography.body1, {
54
+ }, theme.typography.body2, {
57
55
  color: theme.palette.neutral.main,
58
56
  borderBottom: '1px solid',
59
57
  borderBottomColor: theme.palette.divider
@@ -52,15 +52,13 @@ var styles = function styles(theme) {
52
52
  padding: 0,
53
53
  height: 325,
54
54
  textAlign: 'center'
55
- }, theme.typography.body2, {
56
- fontWeight: theme.typography.fontWeightRegular
57
- }),
55
+ }, theme.typography.body2),
58
56
  header: (0, _objectSpread2.default)({
59
57
  display: 'block',
60
58
  height: 40,
61
59
  textAlign: 'center',
62
60
  padding: '10px 0'
63
- }, theme.typography.body1, {
61
+ }, theme.typography.body2, {
64
62
  color: theme.palette.neutral.main,
65
63
  borderBottom: '1px solid',
66
64
  borderBottomColor: theme.palette.divider
@@ -19,7 +19,7 @@ var _default = function _default(theme) {
19
19
  width: '100%',
20
20
  maxWidth: 500
21
21
  },
22
- rootMobile: (0, _objectSpread2.default)({}, theme.typography.b1, {
22
+ rootMobile: (0, _objectSpread2.default)({}, theme.typography.body2, {
23
23
  backgroundColor: theme.palette.background2,
24
24
  borderBottom: '1px solid #E0E0E0',
25
25
  borderLeft: 'none',
@@ -128,7 +128,6 @@ var _default = function _default(theme) {
128
128
  display: 'table-cell'
129
129
  }, theme.typography.body2, {
130
130
  color: theme.palette.neutral.main,
131
- fontWeight: theme.typography.fontWeightRegular,
132
131
  textAlign: 'center',
133
132
  verticalAlign: 'middle'
134
133
  }),
@@ -161,8 +160,7 @@ var _default = function _default(theme) {
161
160
  verticalAlign: 'middle',
162
161
  outline: 'none'
163
162
  }, theme.typography.body2, {
164
- color: theme.palette.neutral.dark,
165
- fontWeight: theme.typography.fontWeightRegular
163
+ color: theme.palette.neutral.dark
166
164
  }),
167
165
  // The calendar footer (only with todayButton prop)
168
166
  footer: {
@@ -37,7 +37,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
37
37
  marginTop: theme.spacing(-2),
38
38
  marginRight: theme.spacing(-6)
39
39
  },
40
- title: (0, _objectSpread2.default)({}, theme.typography.h1, {
40
+ title: (0, _objectSpread2.default)({}, theme.typography.h2, {
41
41
  margin: 0
42
42
  })
43
43
  };
@@ -63,20 +63,17 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
63
63
  cursor: 'default',
64
64
  pointerEvents: 'none'
65
65
  },
66
- heading: (0, _objectSpread2.default)({}, theme.typography.b1, {
66
+ heading: (0, _objectSpread2.default)({}, theme.typography.h3, {
67
67
  height: 48,
68
68
  display: 'flex',
69
69
  alignItems: 'center',
70
- fontSize: 20,
71
- lineHeight: '24px',
72
70
  fontWeight: theme.typography.fontWeightLight
73
71
  }),
74
- secondaryHeading: (0, _objectSpread2.default)({}, theme.typography.b3, {
75
- color: theme.palette.neutral.light,
72
+ secondaryHeading: (0, _objectSpread2.default)({}, theme.typography.caption, {
73
+ color: theme.palette.text.secondary,
76
74
  height: 48,
77
75
  display: 'flex',
78
76
  alignItems: 'center',
79
- fontSize: 11,
80
77
  '&>svg': {
81
78
  fontSize: 18,
82
79
  marginLeft: 3
@@ -87,15 +87,14 @@ var styles = function styles(theme) {
87
87
  iconButtonInfo: {},
88
88
  iconButtonInfoActive: {},
89
89
  iconFullWidth: {},
90
- errorDiv: (0, _objectSpread2.default)({}, theme.typography.b3, {
90
+ errorDiv: (0, _objectSpread2.default)({}, theme.typography.body3, {
91
91
  backgroundColor: theme.palette.negative.main,
92
92
  color: '#FFFFFF',
93
93
  padding: theme.spacing(4, 2),
94
94
  verticalAlign: 'middle',
95
95
  borderRadius: 2,
96
96
  position: 'relative',
97
- marginBottom: theme.spacing(2),
98
- fontWeight: theme.typography.fontWeightRegular
97
+ marginBottom: theme.spacing(2)
99
98
  }),
100
99
  arrowDown: {
101
100
  width: 0,
@@ -117,7 +116,7 @@ var styles = function styles(theme) {
117
116
  errorDivArrowDown: {
118
117
  borderTopColor: theme.palette.negative.main
119
118
  },
120
- helperDiv: (0, _objectSpread2.default)({}, theme.typography.b2, {
119
+ helperDiv: (0, _objectSpread2.default)({}, theme.typography.body2, {
121
120
  width: '100%',
122
121
  backgroundColor: '#ffffff',
123
122
  color: theme.palette.neutral.normal,
@@ -125,9 +124,7 @@ var styles = function styles(theme) {
125
124
  borderRadius: 2,
126
125
  position: 'relative',
127
126
  marginBottom: theme.spacing(2),
128
- fontWeight: theme.typography.fontWeightRegular,
129
- boxShadow: '0px 1px 7px rgba(0, 0, 0, 0.16)',
130
- lineHeight: 1.5
127
+ boxShadow: '0px 1px 7px rgba(0, 0, 0, 0.16)'
131
128
  }),
132
129
  helperDivArrowDown: {
133
130
  borderTopColor: '#ffffff'
@@ -135,7 +132,7 @@ var styles = function styles(theme) {
135
132
  icon: {
136
133
  position: 'absolute',
137
134
  fontSize: 20,
138
- top: 4
135
+ top: 5
139
136
  }
140
137
  };
141
138
  };
@@ -37,8 +37,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
37
37
 
38
38
  var styles = function styles(theme) {
39
39
  return {
40
- root: (0, _objectSpread2.default)({}, theme.typography.h4, {
41
- fontWeight: theme.typography.fontWeightRegular,
40
+ root: (0, _objectSpread2.default)({}, theme.typography.body2, {
41
+ lineHeight: '18px',
42
42
  color: theme.palette.neutral.main,
43
43
  position: 'inherit',
44
44
  transform: 'inherit',
@@ -52,11 +52,10 @@ var styles = function styles(theme) {
52
52
  display: 'flex',
53
53
  alignItems: 'baseline'
54
54
  }),
55
- optional: {
56
- fontSize: 11,
55
+ optional: (0, _objectSpread2.default)({}, theme.typography.caption, {
57
56
  marginLeft: 4,
58
57
  color: theme.palette.neutral.main
59
- },
58
+ }),
60
59
  focused: {},
61
60
  error: {}
62
61
  };
@@ -49,7 +49,7 @@ var styles = function styles(theme) {
49
49
  return {
50
50
  root: (0, _objectSpread2.default)({
51
51
  position: 'relative'
52
- }, theme.typography.b1, {
52
+ }, theme.typography.body2, {
53
53
  borderBottom: "1px solid ".concat(theme.palette.input.bottomLine),
54
54
  paddingLeft: 8,
55
55
  backgroundColor: theme.palette.background2,
@@ -123,13 +123,12 @@ var styles = function styles(theme) {
123
123
  // Ajout d'1px pour ne pas avoir de décalage en mode error avec le border right
124
124
  marginRight: '-1px'
125
125
  },
126
- input: (0, _objectSpread2.default)({}, theme.typography.b1, {
127
- fontWeight: theme.typography.fontWeightRegular,
126
+ input: (0, _objectSpread2.default)({}, theme.typography.body2, {
128
127
  caretColor: theme.palette.primary.main,
129
128
  display: 'flex',
130
129
  alignItems: 'center'
131
130
  }),
132
- inputPropsClassName: (0, _objectSpread2.default)({}, theme.typography.b1, {
131
+ inputPropsClassName: (0, _objectSpread2.default)({}, theme.typography.body2, {
133
132
  padding: 0
134
133
  }),
135
134
  inputText: {
@@ -396,7 +395,7 @@ var HiInput = /*#__PURE__*/function (_React$PureComponent) {
396
395
  },
397
396
  onClick: this.handleReset,
398
397
  onBlur: this.handleBlur,
399
- buttonRef: function buttonRef(el) {
398
+ ref: function ref(el) {
400
399
  _this2.eraseIconNode = el;
401
400
  }
402
401
  }, _ref);
@@ -50,7 +50,7 @@ var styles = function styles(theme) {
50
50
  zIndex: '2',
51
51
  cursor: 'pointer'
52
52
  },
53
- mainContainer: (0, _objectSpread2.default)({}, theme.typography.body1, {
53
+ mainContainer: (0, _objectSpread2.default)({}, theme.typography.body2, {
54
54
  display: 'flex',
55
55
  flexWrap: 'nowrap',
56
56
  alignItems: 'center'
@@ -41,7 +41,7 @@ var styles = function styles(theme) {
41
41
  return {
42
42
  root: (0, _objectSpread2.default)({
43
43
  position: 'relative'
44
- }, theme.typography.body1, {
44
+ }, theme.typography.body2, {
45
45
  borderBottom: "1px solid ".concat(theme.palette.input.bottomLine),
46
46
  paddingLeft: 8,
47
47
  backgroundColor: theme.palette.background2,
@@ -130,8 +130,7 @@ var styles = function styles(theme) {
130
130
  backgroundColor: theme.palette.background3
131
131
  },
132
132
  error: {},
133
- label: (0, _objectSpread2.default)({}, theme.typography.body1, {
134
- fontWeight: theme.typography.fontWeightRegular,
133
+ label: (0, _objectSpread2.default)({}, theme.typography.body2, {
135
134
  caretColor: theme.palette.primary.main,
136
135
  alignItems: 'center',
137
136
  whiteSpace: 'nowrap',
@@ -52,7 +52,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
52
52
  });
53
53
  exports.useStyles = useStyles;
54
54
 
55
- function HiIconButton(props) {
55
+ var HiIconButton = _react.default.forwardRef(function (props, ref) {
56
56
  var children = props.children,
57
57
  className = props.className,
58
58
  color = props.color,
@@ -71,7 +71,7 @@ function HiIconButton(props) {
71
71
  color: isCustomColor ? 'inherit' : color,
72
72
  size: "large"
73
73
  }, other), children);
74
- }
74
+ });
75
75
 
76
76
  HiIconButton.defaultProps = {
77
77
  color: 'default'
@@ -191,7 +191,7 @@ var styles = function styles(theme) {
191
191
  overflow: 'hidden',
192
192
  textOverflow: 'ellipsis',
193
193
  paddingRight: 16
194
- }, theme.typography.b1, {
194
+ }, theme.typography.body2, {
195
195
  display: 'inline-flex',
196
196
  width: '100%'
197
197
  }),
@@ -200,7 +200,7 @@ var styles = function styles(theme) {
200
200
  overflow: 'hidden',
201
201
  textOverflow: 'ellipsis',
202
202
  paddingRight: 16
203
- }, theme.typography.b1, {
203
+ }, theme.typography.body2, {
204
204
  display: 'inline-flex',
205
205
  width: '100%'
206
206
  })
@@ -106,7 +106,7 @@ var styles = function styles(theme) {
106
106
  overflow: 'hidden',
107
107
  textOverflow: 'ellipsis',
108
108
  paddingRight: 16
109
- }, theme.typography.b1, {
109
+ }, theme.typography.body2, {
110
110
  display: 'inline-block',
111
111
  width: '100%'
112
112
  }),
@@ -115,7 +115,7 @@ var styles = function styles(theme) {
115
115
  overflow: 'hidden',
116
116
  textOverflow: 'ellipsis',
117
117
  paddingRight: 16
118
- }, theme.typography.b1, {
118
+ }, theme.typography.body2, {
119
119
  display: 'inline-flex',
120
120
  width: '100%'
121
121
  }),
@@ -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.12.3-beta.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
  },