@hipay/hipay-material-ui 2.0.0-beta.73 → 2.0.0-beta.75
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.
- package/CHANGELOG.md +228 -0
- package/HiAlertModal/HiAlertModal.js +5 -2
- package/HiBreadcrumb/HiBreadcrumb.js +7 -0
- package/HiBreadcrumb/HiStepLabel.js +2 -4
- package/HiExpansionPanel/HiExpansionPanel.js +1 -1
- package/HiIcon/HiIcon.js +1 -1
- package/HiMap/HiMapExpand.js +26 -8
- package/HiNotice/HiKPI.js +16 -9
- package/HiPaymentMeans/HiPaymentMeans.js +667 -0
- package/HiPaymentMeans/index.js +15 -0
- package/HiRadio/HiRadio.js +5 -0
- package/HiSelect/HiSelect.js +1 -1
- package/HiSelect/HiSelectField.js +10 -3
- package/HiTable/HiCellBuilder.js +1 -1
- package/es/HiAlertModal/HiAlertModal.js +7 -4
- package/es/HiBreadcrumb/HiBreadcrumb.js +7 -0
- package/es/HiBreadcrumb/HiStepLabel.js +2 -4
- package/es/HiExpansionPanel/HiExpansionPanel.js +1 -1
- package/es/HiIcon/HiIcon.js +1 -1
- package/es/HiMap/HiMapExpand.js +26 -8
- package/es/HiNotice/HiKPI.js +15 -9
- package/es/HiPaymentMeans/HiPaymentMeans.js +621 -0
- package/es/HiPaymentMeans/index.js +1 -0
- package/es/HiRadio/HiRadio.js +5 -0
- package/es/HiSelect/HiSelect.js +1 -1
- package/es/HiSelect/HiSelectField.js +11 -4
- package/es/HiTable/HiCellBuilder.js +1 -1
- package/es/hi-svg-icons/HiDownload.js +13 -7
- package/hi-svg-icons/HiDownload.js +8 -6
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,231 @@
|
|
1
|
+
# [2.0.0-beta.74](https://gitlab.hipay.org/backend/hipay-material-ui/compare/0.0.1...2.0.0-beta.74) (2019-07-02)
|
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.74](https://gitlab.hipay.org/backend/hipay-material-ui/compare/0.0.1...2.0.0-beta.74) (2019-06-06)
|
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
|
+
|
153
|
+
# [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)
|
154
|
+
|
155
|
+
|
156
|
+
### Bug Fixes
|
157
|
+
|
158
|
+
* **eslint:** remove eslint warrnings in components (ignore test files) ([d236c62](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d236c62))
|
159
|
+
* **HiAlertModal:** Correct styles and buttons positions ([2cfa2a9](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2cfa2a9))
|
160
|
+
* **HiBreadcrumb:** clean eslint warnings ([6db12fb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6db12fb))
|
161
|
+
* **HiDatePicker:** add static positions for custom overlays ([c3edf24](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c3edf24))
|
162
|
+
* **HiDynamicSelect:** remove onSelect override ([b803044](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b803044))
|
163
|
+
* **HiExpansionPanel:** fix props propagation collapseDisable || expanded ([eb18a96](https://gitlab.hipay.org/backend/hipay-material-ui/commit/eb18a96))
|
164
|
+
* **HiExpansionPanel:** Fix props type a requirement ([cbc3b48](https://gitlab.hipay.org/backend/hipay-material-ui/commit/cbc3b48))
|
165
|
+
* **HiInput:** forward event in onClick ([be94fe0](https://gitlab.hipay.org/backend/hipay-material-ui/commit/be94fe0))
|
166
|
+
* **HiInput:** handle focus state through prop when needed to override default comportment ([9a133cc](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9a133cc))
|
167
|
+
* **HiInput:** rename prop to spellCheck ([c11939f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c11939f))
|
168
|
+
* **HiKpiNotice:** eslint clean warnings ([11b5552](https://gitlab.hipay.org/backend/hipay-material-ui/commit/11b5552))
|
169
|
+
* **HiSelect:** Fix build of HiSelectContent ([4b87f78](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4b87f78))
|
170
|
+
* **HiSelect:** focus on undefined item ([2d084e6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2d084e6))
|
171
|
+
* **HiSelect:** Forward event in onBlur ([76c6778](https://gitlab.hipay.org/backend/hipay-material-ui/commit/76c6778))
|
172
|
+
* **HiSelect:** handle staticPosition & width properly for HiDateRangeSelector usage ([7b19ffb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7b19ffb))
|
173
|
+
* **HiSelect:** remove HiSelectNew calls ([cc5397d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/cc5397d))
|
174
|
+
* **HiSelectableList:** Add lazy props to activate lazyloading (default true) and fix unit tests ([b41f8d2](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b41f8d2))
|
175
|
+
* **HiSelectableListItem:** disabled item checkbox color ([9f10552](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9f10552))
|
176
|
+
* **HiSelectableListItem:** remove item width ([a913945](https://gitlab.hipay.org/backend/hipay-material-ui/commit/a913945))
|
177
|
+
* **HiSelectContent:** Remove compute of input value ([b86db83](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b86db83))
|
178
|
+
* **HiSlider:** eslint clean warnings ([08964b1](https://gitlab.hipay.org/backend/hipay-material-ui/commit/08964b1))
|
179
|
+
* **HiTable:** Fix test ([9a009a8](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9a009a8))
|
180
|
+
* **HiUploadField:** clean eslint warnings ([c76aaf1](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c76aaf1))
|
181
|
+
* **migration:** fix contrast threshold ... ([6fb3b18](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6fb3b18))
|
182
|
+
* **package:** add cross-env ([7098fd6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7098fd6))
|
183
|
+
|
184
|
+
|
185
|
+
### Code Refactoring
|
186
|
+
|
187
|
+
* deleting the old HiSelect and replacing it by the new (PSYCHE-1382) ([d5fc252](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d5fc252))
|
188
|
+
|
189
|
+
|
190
|
+
### Features
|
191
|
+
|
192
|
+
* **CellImage:** Handle fallbackImage ([254799d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/254799d))
|
193
|
+
* **CellSentinel:** Uniformize cell api with front CellSentinel ([4e2975b](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4e2975b))
|
194
|
+
* **CellSentinel:** Update CellSentinel to the new way (split each result in different column) ([efe2711](https://gitlab.hipay.org/backend/hipay-material-ui/commit/efe2711))
|
195
|
+
* **CellSentinelScore:** Add CellSentinelScore ([2fff04d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/2fff04d))
|
196
|
+
* **CellText:** Handle active prop in CellText & column views in HiTable ([4366e60](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4366e60))
|
197
|
+
* **HiCells:** Add simple cells types (Address, Date, Icon, Image, Numeric, PinToAction, Rate, Senti ([f688517](https://gitlab.hipay.org/backend/hipay-material-ui/commit/f688517))
|
198
|
+
* **HiDatePicke:** add timezone props ([18360a5](https://gitlab.hipay.org/backend/hipay-material-ui/commit/18360a5))
|
199
|
+
* **HiDatePicker:** BREAKING CHANGE - add local prop to handle calendar translations ([b1b3743](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b1b3743))
|
200
|
+
* **HiIcon:** Add mdi-material-ui as available icons via 'mdi_' prefix ([1091d6d](https://gitlab.hipay.org/backend/hipay-material-ui/commit/1091d6d))
|
201
|
+
* **HiInput:** Add inputProps to enable passing props directly to input element ([d57466c](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d57466c))
|
202
|
+
* **HiInput:** add spellcheck property ([b2feac3](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b2feac3))
|
203
|
+
* **HiMap:** unregister fetch on unmount ([0afa931](https://gitlab.hipay.org/backend/hipay-material-ui/commit/0afa931))
|
204
|
+
* **HiSelect:** Add (NEW) HiSelect, HiNestedSelect, HiDynamicSelect ([4c6447e](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4c6447e))
|
205
|
+
* **HiSelect:** Reset search input on blur & on close ([d9af584](https://gitlab.hipay.org/backend/hipay-material-ui/commit/d9af584))
|
206
|
+
* **HiSelectableList:** Add sort props to sort item list on label ([f412ddc](https://gitlab.hipay.org/backend/hipay-material-ui/commit/f412ddc))
|
207
|
+
* **HiSelectContent:** Add new HiSelectContent & HiNestedSelectContent ([215ad8f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/215ad8f))
|
208
|
+
* **HiSelectContent:** export utils functions ([7c41d87](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7c41d87))
|
209
|
+
* **HiUploadField:** rename component HiUploadField ([593f77e](https://gitlab.hipay.org/backend/hipay-material-ui/commit/593f77e))
|
210
|
+
* **notice:** Création notice KPI ([bba3f89](https://gitlab.hipay.org/backend/hipay-material-ui/commit/bba3f89))
|
211
|
+
|
212
|
+
|
213
|
+
### Performance Improvements
|
214
|
+
|
215
|
+
* **PureFunction:** Use pure & functional components ([220c686](https://gitlab.hipay.org/backend/hipay-material-ui/commit/220c686))
|
216
|
+
|
217
|
+
|
218
|
+
### BREAKING CHANGES
|
219
|
+
|
220
|
+
* HiSelectNew no longer exist, make sure you're importing HiSelect instead
|
221
|
+
* **HiDatePicker:** Required "local" props (use polyglot, p.currentLocal)
|
222
|
+
* **HiUploadField:** Components names changes
|
223
|
+
* **HiCells:** Remove CellCountry, CellThirdParty, CellStatus & CellAccount (use generic type
|
224
|
+
CellImage & CellText)
|
225
|
+
* **HiSelect:** HiSelect API change, use HiNestedSelect or HiDynamicSelect relative to situation
|
226
|
+
|
227
|
+
|
228
|
+
|
1
229
|
# [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
230
|
|
3
231
|
|
@@ -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
|
-
|
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
|
};
|
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 :
|
110
|
+
color: isHiColor || color === 'primary' || color === 'secondary' ? theme.palette[color].main : color,
|
111
111
|
width: size,
|
112
112
|
height: size
|
113
113
|
}, other));
|
package/HiMap/HiMapExpand.js
CHANGED
@@ -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
|
-
},
|
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
@@ -31,6 +31,8 @@ var _styles = require("../styles");
|
|
31
31
|
|
32
32
|
var _ButtonBase = _interopRequireDefault(require("@material-ui/core/ButtonBase"));
|
33
33
|
|
34
|
+
var _Collapse = _interopRequireDefault(require("@material-ui/core/Collapse"));
|
35
|
+
|
34
36
|
var styles = function styles(theme) {
|
35
37
|
return {
|
36
38
|
root: {
|
@@ -74,32 +76,32 @@ var styles = function styles(theme) {
|
|
74
76
|
boxShadow: 'none'
|
75
77
|
},
|
76
78
|
body: {
|
77
|
-
height: '100%',
|
78
79
|
margin: 0,
|
79
80
|
display: 'inline-grid',
|
80
81
|
alignItems: 'center',
|
81
82
|
fontSize: 20,
|
82
|
-
fontWeight: theme.typography.fontWeightLight
|
83
|
+
fontWeight: theme.typography.fontWeightLight,
|
84
|
+
flex: '1 1 auto'
|
83
85
|
},
|
84
86
|
title: {
|
85
|
-
height: '100%',
|
86
87
|
maxHeight: 16,
|
87
88
|
maxWidth: '100%',
|
88
89
|
margin: '7px 0px',
|
89
90
|
whiteSpace: 'nowrap',
|
90
91
|
overflow: 'hidden',
|
91
92
|
fontSize: 14,
|
92
|
-
fontWeight: theme.typography.fontWeightLight
|
93
|
+
fontWeight: theme.typography.fontWeightLight,
|
94
|
+
flex: '0 1 16px'
|
93
95
|
},
|
94
96
|
subtitle: {
|
95
|
-
height: '100%',
|
96
97
|
maxHeight: 28,
|
97
98
|
margin: '2px 0px',
|
98
99
|
maxWidth: '100%',
|
99
100
|
color: theme.palette.neutral.main,
|
100
101
|
fontSize: 11,
|
101
102
|
lineHeight: '13px',
|
102
|
-
fontWeight: theme.typography.fontWeightMedium
|
103
|
+
fontWeight: theme.typography.fontWeightMedium,
|
104
|
+
flex: '0 1 28px'
|
103
105
|
},
|
104
106
|
minify: {
|
105
107
|
height: 72
|
@@ -148,7 +150,11 @@ function (_React$Component) {
|
|
148
150
|
tooltip = _this$props.tooltip,
|
149
151
|
disable = _this$props.disable;
|
150
152
|
var rootclass = (0, _classnames.default)(classes.root, (_classNames = {}, (0, _defineProperty2.default)(_classNames, classes.inherit, color === 'inherit' && !disable), (0, _defineProperty2.default)(_classNames, classes.warning, color === 'warning' && !disable), (0, _defineProperty2.default)(_classNames, classes.error, color === 'error' && !disable), (0, _defineProperty2.default)(_classNames, classes.positive, color === 'positive' && !disable), (0, _defineProperty2.default)(_classNames, classes.active, active), (0, _defineProperty2.default)(_classNames, classes.minify, minify), _classNames));
|
151
|
-
return _react.default.createElement(
|
153
|
+
return _react.default.createElement(_Collapse.default, {
|
154
|
+
in: !minify,
|
155
|
+
timeout: "auto",
|
156
|
+
collapsedHeight: "88px"
|
157
|
+
}, _react.default.createElement(_ButtonBase.default, {
|
152
158
|
className: rootclass,
|
153
159
|
onClick: !disable ? this.handleClick(id) : undefined,
|
154
160
|
title: tooltip
|
@@ -158,7 +164,7 @@ function (_React$Component) {
|
|
158
164
|
className: classes.body
|
159
165
|
}, minify && bodyMinify ? bodyMinify : body), subtitle && minify === false && _react.default.createElement("div", {
|
160
166
|
className: classes.subtitle
|
161
|
-
}, subtitle));
|
167
|
+
}, subtitle)));
|
162
168
|
}
|
163
169
|
}]);
|
164
170
|
return HiKPI;
|
@@ -166,7 +172,8 @@ function (_React$Component) {
|
|
166
172
|
|
167
173
|
HiKPI.defaultProps = {
|
168
174
|
active: false,
|
169
|
-
minify: false
|
175
|
+
minify: false,
|
176
|
+
color: 'inherit'
|
170
177
|
};
|
171
178
|
HiKPI.propTypes = process.env.NODE_ENV !== "production" ? {
|
172
179
|
/**
|