@hipay/hipay-material-ui 2.0.0-beta.60 → 2.0.0-beta.61
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 +60 -0
- package/HiDatePicker/HiDatePicker.js +37 -12
- package/HiDatePicker/HiDateRangePicker.js +71 -57
- package/HiDatePicker/HiDateRangeSelector.js +33 -19
- package/HiDatePicker/stylesheet.js +32 -17
- package/HiSelectNew/HiDynamicSelect.js +3 -3
- package/HiSelectNew/HiNestedSelect.js +9 -9
- package/HiSelectNew/HiNestedSelectContent.js +9 -9
- package/HiSelectNew/HiSelect.js +7 -7
- package/HiSelectNew/HiSelectContent.js +7 -7
- package/HiSelectableList/HiSelectableList.js +9 -0
- package/es/HiDatePicker/HiDatePicker.js +30 -10
- package/es/HiDatePicker/HiDateRangePicker.js +38 -21
- package/es/HiDatePicker/HiDateRangeSelector.js +23 -12
- package/es/HiDatePicker/stylesheet.js +32 -17
- package/es/HiSelectableList/HiSelectableList.js +9 -0
- package/es/styles/createPalette.js +1 -1
- package/es/utils/helpers.js +9 -1
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -3
- package/styles/createPalette.js +1 -1
- package/umd/hipay-material-ui.development.js +41769 -43732
- package/umd/hipay-material-ui.production.min.js +2 -2
- package/utils/helpers.js +9 -1
package/utils/helpers.js
CHANGED
|
@@ -310,7 +310,7 @@ function getNextItemSelectable(node, direction) {
|
|
|
310
310
|
|
|
311
311
|
|
|
312
312
|
function foldAccents(toFold) {
|
|
313
|
-
return toFold.replace(/([àáâãäå])|([ç])|([èéêë])|([ìíîï])|([ñ])|([òóôõöø])|([ß])|([ùúûü])|([ÿ])|([æ])|([œ])/g, function (str, a, c, e, i, n, o, s, u, y, ae, oe) {
|
|
313
|
+
return toFold.replace(/([àáâãäå])|([ç])|([èéêë])|([ìíîï])|([ñ])|([òóôõöø])|([ß])|([ùúûü])|([ÿ])|([æ])|([œ])|([+])|([\\])|([\[])|([\]])|([\(])|([\)])|([?])|([*])/g, function (str, a, c, e, i, n, o, s, u, y, ae, oe, plus, backSlash, lc, rc, lp, rp, interogation, star) {
|
|
314
314
|
if (a) return 'a';
|
|
315
315
|
if (c) return 'c';
|
|
316
316
|
if (e) return 'e';
|
|
@@ -322,6 +322,14 @@ function foldAccents(toFold) {
|
|
|
322
322
|
if (y) return 'y';
|
|
323
323
|
if (ae) return 'ae';
|
|
324
324
|
if (oe) return 'oe';
|
|
325
|
+
if (plus) return '\\+';
|
|
326
|
+
if (backSlash) return '\\\\';
|
|
327
|
+
if (lc) return '\\[';
|
|
328
|
+
if (rc) return '\\]';
|
|
329
|
+
if (lp) return '\\(';
|
|
330
|
+
if (rp) return '\\)';
|
|
331
|
+
if (interogation) return '\\?';
|
|
332
|
+
if (star) return '\\*';
|
|
325
333
|
return str;
|
|
326
334
|
});
|
|
327
335
|
}
|