@hipay/hipay-material-ui 2.0.0-beta.60 → 2.0.0-beta.62

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 (49) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/HiDatePicker/HiDatePicker.js +37 -12
  3. package/HiDatePicker/HiDateRangePicker.js +71 -57
  4. package/HiDatePicker/HiDateRangeSelector.js +34 -20
  5. package/HiDatePicker/stylesheet.js +32 -17
  6. package/HiSelect/HiSelect.js +489 -607
  7. package/HiSelect/index.js +41 -3
  8. package/HiSelectableList/HiSelectableList.js +68 -3
  9. package/HiSelectableList/HiSelectableListItem.js +22 -10
  10. package/README.md +15 -0
  11. package/es/HiDatePicker/HiDatePicker.js +30 -10
  12. package/es/HiDatePicker/HiDateRangePicker.js +38 -21
  13. package/es/HiDatePicker/HiDateRangeSelector.js +24 -13
  14. package/es/HiDatePicker/stylesheet.js +32 -17
  15. package/es/{HiSelectNew → HiSelect}/HiNestedSelect.js +1 -1
  16. package/es/{HiSelectNew → HiSelect}/HiNestedSelectContent.js +1 -1
  17. package/es/HiSelect/HiSelect.js +441 -564
  18. package/es/{HiSelectNew → HiSelect}/HiSelectContent.js +1 -1
  19. package/es/HiSelect/index.js +4 -1
  20. package/es/HiSelectableList/HiSelectableList.js +65 -4
  21. package/es/HiSelectableList/HiSelectableListItem.js +18 -10
  22. package/es/styles/createPalette.js +1 -1
  23. package/es/utils/helpers.js +9 -1
  24. package/index.es.js +1 -1
  25. package/index.js +1 -1
  26. package/package.json +1 -1
  27. package/styles/createPalette.js +1 -1
  28. package/umd/hipay-material-ui.development.js +7860 -7749
  29. package/umd/hipay-material-ui.production.min.js +2 -2
  30. package/utils/helpers.js +9 -1
  31. package/HiSelect/SelectInput.js +0 -369
  32. package/HiSelectNew/HiSelect.js +0 -929
  33. package/HiSelectNew/HiSelectField.js +0 -146
  34. package/HiSelectNew/index.js +0 -69
  35. package/es/HiSelect/SelectInput.js +0 -321
  36. package/es/HiSelectNew/HiSelect.js +0 -852
  37. package/es/HiSelectNew/HiSelectField.js +0 -111
  38. package/es/HiSelectNew/index.js +0 -6
  39. /package/{HiSelectNew → HiSelect}/HiDynamicSelect.js +0 -0
  40. /package/{HiSelectNew → HiSelect}/HiDynamicSelectField.js +0 -0
  41. /package/{HiSelectNew → HiSelect}/HiNestedSelect.js +0 -0
  42. /package/{HiSelectNew → HiSelect}/HiNestedSelectContent.js +0 -0
  43. /package/{HiSelectNew → HiSelect}/HiNestedSelectField.js +0 -0
  44. /package/{HiSelectNew → HiSelect}/HiSelectContent.js +0 -0
  45. /package/{HiSelectNew → HiSelect}/HiSelectInput.js +0 -0
  46. /package/es/{HiSelectNew → HiSelect}/HiDynamicSelect.js +0 -0
  47. /package/es/{HiSelectNew → HiSelect}/HiDynamicSelectField.js +0 -0
  48. /package/es/{HiSelectNew → HiSelect}/HiNestedSelectField.js +0 -0
  49. /package/es/{HiSelectNew → HiSelect}/HiSelectInput.js +0 -0
@@ -1,111 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- // @inheritedComponent HiSelect
4
- import React from 'react';
5
- import PropTypes from 'prop-types';
6
- import HiFormControl from '../HiForm/HiFormControl';
7
- import HiSelect from './HiSelect';
8
- /**
9
- * Champs input pour formulaire
10
- */
11
-
12
- class HiSelectField extends React.PureComponent {
13
- render() {
14
- const _this$props = this.props,
15
- {
16
- label,
17
- required,
18
- disabled,
19
- error,
20
- errorText,
21
- helperText,
22
- helperIcon,
23
- id,
24
- name,
25
- value,
26
- options,
27
- type,
28
- multiple,
29
- iconAll,
30
- checkbox,
31
- searchable,
32
- translations,
33
- className
34
- } = _this$props,
35
- others = _objectWithoutProperties(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className"]);
36
-
37
- return React.createElement(HiFormControl, {
38
- id: id,
39
- label: label,
40
- required: required,
41
- disabled: disabled,
42
- error: error,
43
- errorText: errorText,
44
- helperText: helperText,
45
- helperIcon: helperIcon,
46
- className: className
47
- }, React.createElement(HiSelect, _extends({
48
- id: id,
49
- name: name,
50
- value: value,
51
- options: options,
52
- type: type,
53
- multiple: multiple,
54
- iconAll: iconAll,
55
- checkbox: checkbox,
56
- searchable: searchable,
57
- translations: translations,
58
- disabled: disabled,
59
- error: error
60
- }, others)));
61
- }
62
-
63
- }
64
-
65
- HiSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
66
- /**
67
- * Surcharge des styles
68
- */
69
- className: PropTypes.string,
70
-
71
- /**
72
- * Si `true`, l'input sera inactif.
73
- */
74
- disabled: PropTypes.bool,
75
-
76
- /**
77
- * Si `true`, le champs sera en erreur.
78
- */
79
- error: PropTypes.bool,
80
-
81
- /**
82
- * Texte de l'erreur
83
- */
84
- errorText: PropTypes.string,
85
-
86
- /**
87
- * Si "true", le texte d'aide s'affichera seulement au clic sur l'icône "Information"
88
- */
89
- helperIcon: PropTypes.bool,
90
-
91
- /**
92
- * Texte de l'aide
93
- */
94
- helperText: PropTypes.string,
95
-
96
- /**
97
- * id de l'élément input
98
- */
99
- id: PropTypes.string.isRequired,
100
-
101
- /**
102
- * Label du champs
103
- */
104
- label: PropTypes.string,
105
-
106
- /**
107
- * true si champs obligatoire
108
- */
109
- required: PropTypes.bool
110
- } : {};
111
- export default HiSelectField;
@@ -1,6 +0,0 @@
1
- export { default } from './HiSelect';
2
- export { default as HiNestedSelect } from './HiNestedSelect';
3
- export { default as HiSelectField } from './HiSelectField';
4
- export { default as HiSelectInput } from './HiSelectInput';
5
- export { default as HiSelectContent } from './HiSelectContent';
6
- export { default as HiNestedSelectContent, findFinalItemRecursively, getRecursiveFinalItemIdList } from './HiNestedSelectContent';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes