@plesk/ui-library 3.29.1 → 3.29.2

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.
@@ -103,7 +103,9 @@ const propTypes = {
103
103
  closingConfirmation: _propTypes.default.bool,
104
104
 
105
105
  /**
106
- * Wraps children into [Form](#!/Form) if not empty.
106
+ * Wraps children into [Form](#!/Form) if not empty.<br>
107
+ * **Note:** in case of *element* you should take care of providing additional form props from [Drawer](#!/Drawer) through your custom component. See example below for more details
108
+ *
107
109
  * @since 0.0.66
108
110
  */
109
111
  form: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.element]),
@@ -137,10 +137,12 @@ FormFieldText.propTypes = {
137
137
  autoComplete: _propTypes.default.oneOf(['on', 'off']),
138
138
 
139
139
  /**
140
- * If 'true', a field will be multiple
140
+ * If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
141
141
  * @since 1.12.0
142
142
  */
143
- multi: _propTypes.default.bool,
143
+ multi: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.shape({
144
+ max: _propTypes.default.number.isRequired
145
+ })]),
144
146
 
145
147
  /**
146
148
  * @ignore
package/cjs/index.js CHANGED
@@ -54,6 +54,6 @@ Object.keys(_components).forEach(function (key) {
54
54
  });
55
55
  });
56
56
  // Copyright 1999-2018. Plesk International GmbH. All rights reserved.
57
- const version = "3.29.1";
57
+ const version = "3.29.2";
58
58
  exports.version = version;
59
59
  (0, _svg4everybody.default)();