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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/HiDatePicker/HiDateRangeSelector.js +1 -1
  3. package/{HiSelectNew → HiSelect}/HiDynamicSelect.js +3 -3
  4. package/{HiSelectNew → HiSelect}/HiNestedSelect.js +9 -9
  5. package/{HiSelectNew → HiSelect}/HiNestedSelectContent.js +9 -9
  6. package/HiSelect/HiSelect.js +489 -607
  7. package/{HiSelectNew → HiSelect}/HiSelectContent.js +7 -7
  8. package/HiSelect/index.js +41 -3
  9. package/HiSelectableList/HiSelectableList.js +59 -3
  10. package/HiSelectableList/HiSelectableListItem.js +22 -10
  11. package/README.md +15 -0
  12. package/es/HiDatePicker/HiDateRangeSelector.js +1 -1
  13. package/es/{HiSelectNew → HiSelect}/HiNestedSelect.js +1 -1
  14. package/es/{HiSelectNew → HiSelect}/HiNestedSelectContent.js +1 -1
  15. package/es/HiSelect/HiSelect.js +441 -564
  16. package/es/{HiSelectNew → HiSelect}/HiSelectContent.js +1 -1
  17. package/es/HiSelect/index.js +4 -1
  18. package/es/HiSelectableList/HiSelectableList.js +56 -4
  19. package/es/HiSelectableList/HiSelectableListItem.js +18 -10
  20. package/index.es.js +1 -1
  21. package/index.js +1 -1
  22. package/package.json +3 -2
  23. package/umd/hipay-material-ui.development.js +41669 -39595
  24. package/umd/hipay-material-ui.production.min.js +2 -2
  25. package/HiSelect/SelectInput.js +0 -369
  26. package/HiSelectNew/HiSelect.js +0 -929
  27. package/HiSelectNew/HiSelectField.js +0 -146
  28. package/HiSelectNew/index.js +0 -69
  29. package/es/HiSelect/SelectInput.js +0 -321
  30. package/es/HiSelectNew/HiSelect.js +0 -852
  31. package/es/HiSelectNew/HiSelectField.js +0 -111
  32. package/es/HiSelectNew/index.js +0 -6
  33. /package/{HiSelectNew → HiSelect}/HiDynamicSelectField.js +0 -0
  34. /package/{HiSelectNew → HiSelect}/HiNestedSelectField.js +0 -0
  35. /package/{HiSelectNew → HiSelect}/HiSelectInput.js +0 -0
  36. /package/es/{HiSelectNew → HiSelect}/HiDynamicSelect.js +0 -0
  37. /package/es/{HiSelectNew → HiSelect}/HiDynamicSelectField.js +0 -0
  38. /package/es/{HiSelectNew → HiSelect}/HiNestedSelectField.js +0 -0
  39. /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