@hipay/hipay-material-ui 2.0.0-beta.73 → 2.0.0-beta.74

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,155 @@
1
+ # [2.0.0-beta.74](https://gitlab.hipay.org/backend/hipay-material-ui/compare/0.0.1...2.0.0-beta.74) (2019-06-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **eslint:** remove eslint warrnings in components (ignore test files) ([d236c62](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d236c62))
7
+ * **HiAlertModal:** Correct styles and buttons positions ([2cfa2a9](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2cfa2a9))
8
+ * **HiBreadcrumb:** clean eslint warnings ([6db12fb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6db12fb))
9
+ * **HiDatePicker:** add static positions for custom overlays ([c3edf24](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c3edf24))
10
+ * **HiDynamicSelect:** remove onSelect override ([b803044](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b803044))
11
+ * **HiExpansionPanel:** fix props propagation collapseDisable || expanded ([eb18a96](https://gitlab.hipay.org/backend/hipay-material-ui/commit/eb18a96))
12
+ * **HiExpansionPanel:** Fix props type a requirement ([cbc3b48](https://gitlab.hipay.org/backend/hipay-material-ui/commit/cbc3b48))
13
+ * **HiInput:** forward event in onClick ([be94fe0](https://gitlab.hipay.org/backend/hipay-material-ui/commit/be94fe0))
14
+ * **HiInput:** handle focus state through prop when needed to override default comportment ([9a133cc](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9a133cc))
15
+ * **HiInput:** rename prop to spellCheck ([c11939f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c11939f))
16
+ * **HiKpiNotice:** eslint clean warnings ([11b5552](https://gitlab.hipay.org/backend/hipay-material-ui/commit/11b5552))
17
+ * **HiSelect:** Fix build of HiSelectContent ([4b87f78](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4b87f78))
18
+ * **HiSelect:** focus on undefined item ([2d084e6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2d084e6))
19
+ * **HiSelect:** Forward event in onBlur ([76c6778](https://gitlab.hipay.org/backend/hipay-material-ui/commit/76c6778))
20
+ * **HiSelect:** handle staticPosition & width properly for HiDateRangeSelector usage ([7b19ffb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7b19ffb))
21
+ * **HiSelect:** remove HiSelectNew calls ([cc5397d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/cc5397d))
22
+ * **HiSelectableList:** Add lazy props to activate lazyloading (default true) and fix unit tests ([b41f8d2](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b41f8d2))
23
+ * **HiSelectableListItem:** disabled item checkbox color ([9f10552](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9f10552))
24
+ * **HiSelectableListItem:** remove item width ([a913945](https://gitlab.hipay.org/backend/hipay-material-ui/commit/a913945))
25
+ * **HiSelectContent:** Remove compute of input value ([b86db83](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b86db83))
26
+ * **HiSlider:** eslint clean warnings ([08964b1](https://gitlab.hipay.org/backend/hipay-material-ui/commit/08964b1))
27
+ * **HiTable:** Fix test ([9a009a8](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9a009a8))
28
+ * **HiUploadField:** clean eslint warnings ([c76aaf1](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c76aaf1))
29
+ * **migration:** fix contrast threshold ... ([6fb3b18](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6fb3b18))
30
+ * **package:** add cross-env ([7098fd6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7098fd6))
31
+
32
+
33
+ ### Code Refactoring
34
+
35
+ * deleting the old HiSelect and replacing it by the new (PSYCHE-1382) ([d5fc252](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d5fc252))
36
+
37
+
38
+ ### Features
39
+
40
+ * **CellImage:** Handle fallbackImage ([254799d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/254799d))
41
+ * **CellSentinel:** Uniformize cell api with front CellSentinel ([4e2975b](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4e2975b))
42
+ * **CellSentinel:** Update CellSentinel to the new way (split each result in different column) ([efe2711](https://gitlab.hipay.org/backend/hipay-material-ui/commit/efe2711))
43
+ * **CellSentinelScore:** Add CellSentinelScore ([2fff04d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2fff04d))
44
+ * **CellText:** Handle active prop in CellText & column views in HiTable ([4366e60](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4366e60))
45
+ * **HiCells:** Add simple cells types (Address, Date, Icon, Image, Numeric, PinToAction, Rate, Senti ([f688517](https://gitlab.hipay.org/backend/hipay-material-ui/commit/f688517))
46
+ * **HiDatePicke:** add timezone props ([18360a5](https://gitlab.hipay.org/backend/hipay-material-ui/commit/18360a5))
47
+ * **HiDatePicker:** BREAKING CHANGE - add local prop to handle calendar translations ([b1b3743](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b1b3743))
48
+ * **HiIcon:** Add mdi-material-ui as available icons via 'mdi_' prefix ([1091d6d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/1091d6d))
49
+ * **HiInput:** Add inputProps to enable passing props directly to input element ([d57466c](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d57466c))
50
+ * **HiInput:** add spellcheck property ([b2feac3](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b2feac3))
51
+ * **HiMap:** unregister fetch on unmount ([0afa931](https://gitlab.hipay.org/backend/hipay-material-ui/commit/0afa931))
52
+ * **HiSelect:** Add (NEW) HiSelect, HiNestedSelect, HiDynamicSelect ([4c6447e](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4c6447e))
53
+ * **HiSelect:** Reset search input on blur & on close ([d9af584](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d9af584))
54
+ * **HiSelectableList:** Add sort props to sort item list on label ([f412ddc](https://gitlab.hipay.org/backend/hipay-material-ui/commit/f412ddc))
55
+ * **HiSelectContent:** Add new HiSelectContent & HiNestedSelectContent ([215ad8f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/215ad8f))
56
+ * **HiSelectContent:** export utils functions ([7c41d87](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7c41d87))
57
+ * **HiUploadField:** rename component HiUploadField ([593f77e](https://gitlab.hipay.org/backend/hipay-material-ui/commit/593f77e))
58
+ * **notice:** Création notice KPI ([bba3f89](https://gitlab.hipay.org/backend/hipay-material-ui/commit/bba3f89))
59
+
60
+
61
+ ### Performance Improvements
62
+
63
+ * **PureFunction:** Use pure & functional components ([220c686](https://gitlab.hipay.org/backend/hipay-material-ui/commit/220c686))
64
+
65
+
66
+ ### BREAKING CHANGES
67
+
68
+ * HiSelectNew no longer exist, make sure you're importing HiSelect instead
69
+ * **HiDatePicker:** Required "local" props (use polyglot, p.currentLocal)
70
+ * **HiUploadField:** Components names changes
71
+ * **HiCells:** Remove CellCountry, CellThirdParty, CellStatus & CellAccount (use generic type
72
+ CellImage & CellText)
73
+ * **HiSelect:** HiSelect API change, use HiNestedSelect or HiDynamicSelect relative to situation
74
+
75
+
76
+
77
+ # [2.0.0-beta.72](https://gitlab.hipay.org/backend/hipay-material-ui/compare/0.0.1...2.0.0-beta.72) (2019-05-14)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * **eslint:** remove eslint warrnings in components (ignore test files) ([d236c62](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d236c62))
83
+ * **HiAlertModal:** Correct styles and buttons positions ([2cfa2a9](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2cfa2a9))
84
+ * **HiBreadcrumb:** clean eslint warnings ([6db12fb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6db12fb))
85
+ * **HiDatePicker:** add static positions for custom overlays ([c3edf24](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c3edf24))
86
+ * **HiDynamicSelect:** remove onSelect override ([b803044](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b803044))
87
+ * **HiExpansionPanel:** fix props propagation collapseDisable || expanded ([eb18a96](https://gitlab.hipay.org/backend/hipay-material-ui/commit/eb18a96))
88
+ * **HiExpansionPanel:** Fix props type a requirement ([cbc3b48](https://gitlab.hipay.org/backend/hipay-material-ui/commit/cbc3b48))
89
+ * **HiInput:** forward event in onClick ([be94fe0](https://gitlab.hipay.org/backend/hipay-material-ui/commit/be94fe0))
90
+ * **HiInput:** handle focus state through prop when needed to override default comportment ([9a133cc](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9a133cc))
91
+ * **HiInput:** rename prop to spellCheck ([c11939f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c11939f))
92
+ * **HiKpiNotice:** eslint clean warnings ([11b5552](https://gitlab.hipay.org/backend/hipay-material-ui/commit/11b5552))
93
+ * **HiSelect:** Fix build of HiSelectContent ([4b87f78](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4b87f78))
94
+ * **HiSelect:** focus on undefined item ([2d084e6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2d084e6))
95
+ * **HiSelect:** Forward event in onBlur ([76c6778](https://gitlab.hipay.org/backend/hipay-material-ui/commit/76c6778))
96
+ * **HiSelect:** handle staticPosition & width properly for HiDateRangeSelector usage ([7b19ffb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7b19ffb))
97
+ * **HiSelect:** remove HiSelectNew calls ([cc5397d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/cc5397d))
98
+ * **HiSelectableList:** Add lazy props to activate lazyloading (default true) and fix unit tests ([b41f8d2](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b41f8d2))
99
+ * **HiSelectableListItem:** disabled item checkbox color ([9f10552](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9f10552))
100
+ * **HiSelectableListItem:** remove item width ([a913945](https://gitlab.hipay.org/backend/hipay-material-ui/commit/a913945))
101
+ * **HiSelectContent:** Remove compute of input value ([b86db83](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b86db83))
102
+ * **HiSlider:** eslint clean warnings ([08964b1](https://gitlab.hipay.org/backend/hipay-material-ui/commit/08964b1))
103
+ * **HiTable:** Fix test ([9a009a8](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9a009a8))
104
+ * **HiUploadField:** clean eslint warnings ([c76aaf1](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c76aaf1))
105
+ * **migration:** fix contrast threshold ... ([6fb3b18](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6fb3b18))
106
+ * **package:** add cross-env ([7098fd6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7098fd6))
107
+
108
+
109
+ ### Code Refactoring
110
+
111
+ * deleting the old HiSelect and replacing it by the new (PSYCHE-1382) ([d5fc252](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d5fc252))
112
+
113
+
114
+ ### Features
115
+
116
+ * **CellImage:** Handle fallbackImage ([254799d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/254799d))
117
+ * **CellSentinel:** Uniformize cell api with front CellSentinel ([4e2975b](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4e2975b))
118
+ * **CellSentinel:** Update CellSentinel to the new way (split each result in different column) ([efe2711](https://gitlab.hipay.org/backend/hipay-material-ui/commit/efe2711))
119
+ * **CellSentinelScore:** Add CellSentinelScore ([2fff04d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2fff04d))
120
+ * **CellText:** Handle active prop in CellText & column views in HiTable ([4366e60](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4366e60))
121
+ * **HiCells:** Add simple cells types (Address, Date, Icon, Image, Numeric, PinToAction, Rate, Senti ([f688517](https://gitlab.hipay.org/backend/hipay-material-ui/commit/f688517))
122
+ * **HiDatePicke:** add timezone props ([18360a5](https://gitlab.hipay.org/backend/hipay-material-ui/commit/18360a5))
123
+ * **HiDatePicker:** BREAKING CHANGE - add local prop to handle calendar translations ([b1b3743](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b1b3743))
124
+ * **HiIcon:** Add mdi-material-ui as available icons via 'mdi_' prefix ([1091d6d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/1091d6d))
125
+ * **HiInput:** Add inputProps to enable passing props directly to input element ([d57466c](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d57466c))
126
+ * **HiInput:** add spellcheck property ([b2feac3](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b2feac3))
127
+ * **HiMap:** unregister fetch on unmount ([0afa931](https://gitlab.hipay.org/backend/hipay-material-ui/commit/0afa931))
128
+ * **HiSelect:** Add (NEW) HiSelect, HiNestedSelect, HiDynamicSelect ([4c6447e](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4c6447e))
129
+ * **HiSelect:** Reset search input on blur & on close ([d9af584](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d9af584))
130
+ * **HiSelectableList:** Add sort props to sort item list on label ([f412ddc](https://gitlab.hipay.org/backend/hipay-material-ui/commit/f412ddc))
131
+ * **HiSelectContent:** Add new HiSelectContent & HiNestedSelectContent ([215ad8f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/215ad8f))
132
+ * **HiSelectContent:** export utils functions ([7c41d87](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7c41d87))
133
+ * **HiUploadField:** rename component HiUploadField ([593f77e](https://gitlab.hipay.org/backend/hipay-material-ui/commit/593f77e))
134
+ * **notice:** Création notice KPI ([bba3f89](https://gitlab.hipay.org/backend/hipay-material-ui/commit/bba3f89))
135
+
136
+
137
+ ### Performance Improvements
138
+
139
+ * **PureFunction:** Use pure & functional components ([220c686](https://gitlab.hipay.org/backend/hipay-material-ui/commit/220c686))
140
+
141
+
142
+ ### BREAKING CHANGES
143
+
144
+ * HiSelectNew no longer exist, make sure you're importing HiSelect instead
145
+ * **HiDatePicker:** Required "local" props (use polyglot, p.currentLocal)
146
+ * **HiUploadField:** Components names changes
147
+ * **HiCells:** Remove CellCountry, CellThirdParty, CellStatus & CellAccount (use generic type
148
+ CellImage & CellText)
149
+ * **HiSelect:** HiSelect API change, use HiNestedSelect or HiDynamicSelect relative to situation
150
+
151
+
152
+
1
153
  # [2.0.0-beta.64](https://gitlab.hipay.org/backend/hipay-material-ui/compare/0.0.1...2.0.0-beta.64) (2019-04-15)
2
154
 
3
155
 
@@ -135,7 +135,8 @@ function (_React$PureComponent) {
135
135
  cancelColor = _this$props.cancelColor,
136
136
  submitColor = _this$props.submitColor,
137
137
  title = _this$props.title,
138
- props = (0, _objectWithoutProperties2.default)(_this$props, ["backgroundIcon", "iconSize", "classes", "content", "labelCancelButton", "labelSubmitButton", "onCancelClick", "onSubmitClick", "open", "cancelColor", "submitColor", "title"]);
138
+ theme = _this$props.theme,
139
+ props = (0, _objectWithoutProperties2.default)(_this$props, ["backgroundIcon", "iconSize", "classes", "content", "labelCancelButton", "labelSubmitButton", "onCancelClick", "onSubmitClick", "open", "cancelColor", "submitColor", "title", "theme"]);
139
140
  var dialogContent = content;
140
141
 
141
142
  if (typeof content === 'string') {
@@ -157,6 +158,7 @@ function (_React$PureComponent) {
157
158
  }, props), backgroundIcon && _react.default.createElement("div", {
158
159
  className: classes.classBackgroundIcon
159
160
  }, _react.default.createElement(_HiIcon.default, {
161
+ color: theme.palette.background2,
160
162
  icon: backgroundIcon,
161
163
  size: iconSize
162
164
  })), _react.default.createElement(_DialogTitle.default, {
@@ -259,7 +261,8 @@ HiAlertModal.propTypes = process.env.NODE_ENV !== "production" ? {
259
261
 
260
262
  var _default = (0, _styles.withStyles)(styles, {
261
263
  hiComponent: true,
262
- name: 'HmuiHiAlertModal'
264
+ name: 'HmuiHiAlertModal',
265
+ withTheme: true
263
266
  })(HiAlertModal);
264
267
 
265
268
  exports.default = _default;
@@ -63,6 +63,7 @@ function (_React$PureComponent) {
63
63
 
64
64
  var _this$props = this.props,
65
65
  activeStep = _this$props.activeStep,
66
+ classes = _this$props.classes,
66
67
  steps = _this$props.steps,
67
68
  type = _this$props.type,
68
69
  disableNavigation = _this$props.disableNavigation;
@@ -82,6 +83,7 @@ function (_React$PureComponent) {
82
83
  steps: steps,
83
84
  active: activeStep === step.id
84
85
  }, _react.default.createElement(_HiStepLabel.default, {
86
+ classes: classes,
85
87
  active: activeStep === step.id,
86
88
  status: step.status,
87
89
  notificationNumber: step.notificationNumber,
@@ -105,6 +107,11 @@ HiBreadcrumb.propTypes = process.env.NODE_ENV !== "production" ? {
105
107
  */
106
108
  activeStep: _propTypes.default.number,
107
109
 
110
+ /**
111
+ * Custom styles for component.
112
+ */
113
+ classes: _propTypes.default.object.isRequired,
114
+
108
115
  /**
109
116
  * Disable navigation in steps
110
117
  */
@@ -105,15 +105,13 @@ var styles = function styles(theme) {
105
105
  display: 'inline-block',
106
106
  overflow: 'hidden',
107
107
  textOverflow: 'ellipsis',
108
- whiteSpace: 'pre',
109
- maxWidth: 51
108
+ whiteSpace: 'pre'
110
109
  },
111
110
  longEllipsis: {
112
111
  display: 'inline-block',
113
112
  overflow: 'hidden',
114
113
  textOverflow: 'ellipsis',
115
- whiteSpace: 'pre',
116
- maxWidth: 90
114
+ whiteSpace: 'pre'
117
115
  }
118
116
  };
119
117
  };
@@ -93,7 +93,7 @@ var styles = function styles(theme) {
93
93
  border: 'none'
94
94
  },
95
95
  panelDetails: {
96
- padding: 0
96
+ padding: '8px 0 24px 0'
97
97
  },
98
98
  disabledPanel: {
99
99
  backgroundColor: '#ffffff',
package/HiIcon/HiIcon.js CHANGED
@@ -107,7 +107,7 @@ function HiIcon(props) {
107
107
  var IconName = hiSvgIcons[(0, _helpers.capitalize)((0, _helpers.camelize)(iconName))];
108
108
  return _react.default.createElement(IconName, (0, _extends2.default)({
109
109
  className: (0, _classnames.default)(classes.root, className),
110
- color: isHiColor || color === 'primary' || color === 'secondary' ? theme.palette[color].main : theme.palette.primary.main,
110
+ color: isHiColor || color === 'primary' || color === 'secondary' ? theme.palette[color].main : color,
111
111
  width: size,
112
112
  height: size
113
113
  }, other));
@@ -135,7 +135,9 @@ function (_React$PureComponent) {
135
135
  var _this$props = this.props,
136
136
  classes = _this$props.classes,
137
137
  address = _this$props.address,
138
- countryFlagPath = _this$props.countryFlagPath;
138
+ countryFlagPath = _this$props.countryFlagPath,
139
+ hideLabel = _this$props.hideLabel,
140
+ translations = _this$props.translations;
139
141
  var _this$state = this.state,
140
142
  addressNotFound = _this$state.addressNotFound,
141
143
  expanded = _this$state.expanded;
@@ -162,13 +164,14 @@ function (_React$PureComponent) {
162
164
  top: 2,
163
165
  marginRight: 5
164
166
  },
165
- className: (0, _classnames.default)((0, _defineProperty2.default)({}, classes.disabledIcon, addressNotFound))
167
+ className: (0, _classnames.default)((0, _defineProperty2.default)({}, classes.disabledIcon, addressNotFound)),
168
+ title: addressNotFound ? translations.notFound : ''
166
169
  })
167
- }, _react.default.createElement("div", {
170
+ }, hideLabel || _react.default.createElement("div", {
168
171
  className: classes.column
169
172
  }, _react.default.createElement("p", {
170
173
  className: classes.secondaryHeading
171
- }, "Adresse")), _react.default.createElement("div", null, _react.default.createElement("p", {
174
+ }, translations.label)), _react.default.createElement("div", null, _react.default.createElement("p", {
172
175
  className: classes.heading
173
176
  }, flag, address))), _react.default.createElement(_ExpansionPanelDetails.default, {
174
177
  style: {
@@ -183,9 +186,6 @@ function (_React$PureComponent) {
183
186
  return HiMapExpand;
184
187
  }(_react.default.PureComponent);
185
188
 
186
- HiMapExpand.defaultProps = {
187
- countryFlagPath: ''
188
- };
189
189
  HiMapExpand.propTypes = process.env.NODE_ENV !== "production" ? {
190
190
  /**
191
191
  * The address to see in the Map component.
@@ -200,8 +200,26 @@ HiMapExpand.propTypes = process.env.NODE_ENV !== "production" ? {
200
200
  /**
201
201
  * The path to the country flag image.
202
202
  */
203
- countryFlagPath: _propTypes.default.string
203
+ countryFlagPath: _propTypes.default.string,
204
+
205
+ /**
206
+ * Don't display label
207
+ */
208
+ hideLabel: _propTypes.default.bool,
209
+
210
+ /**
211
+ * Translations object, see used keys in defaultProps
212
+ */
213
+ translations: _propTypes.default.object
204
214
  } : {};
215
+ HiMapExpand.defaultProps = {
216
+ countryFlagPath: '',
217
+ hideLabel: false,
218
+ translations: {
219
+ label: 'Adresse',
220
+ notFound: 'Adresse inconnue'
221
+ }
222
+ };
205
223
 
206
224
  var _default = (0, _styles.withStyles)(styles, {
207
225
  name: 'HmuiHiMapExpand'
package/HiNotice/HiKPI.js CHANGED
@@ -166,7 +166,8 @@ function (_React$Component) {
166
166
 
167
167
  HiKPI.defaultProps = {
168
168
  active: false,
169
- minify: false
169
+ minify: false,
170
+ color: 'inherit'
170
171
  };
171
172
  HiKPI.propTypes = process.env.NODE_ENV !== "production" ? {
172
173
  /**