@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.
@@ -76,7 +76,9 @@ const propTypes = {
76
76
  closingConfirmation: PropTypes.bool,
77
77
 
78
78
  /**
79
- * Wraps children into [Form](#!/Form) if not empty.
79
+ * Wraps children into [Form](#!/Form) if not empty.<br>
80
+ * **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
81
+ *
80
82
  * @since 0.0.66
81
83
  */
82
84
  form: PropTypes.oneOfType([PropTypes.object, PropTypes.element]),
@@ -116,10 +116,12 @@ FormFieldText.propTypes = {
116
116
  autoComplete: PropTypes.oneOf(['on', 'off']),
117
117
 
118
118
  /**
119
- * If 'true', a field will be multiple
119
+ * If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
120
120
  * @since 1.12.0
121
121
  */
122
- multi: PropTypes.bool,
122
+ multi: PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({
123
+ max: PropTypes.number.isRequired
124
+ })]),
123
125
 
124
126
  /**
125
127
  * @ignore
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Copyright 1999-2018. Plesk International GmbH. All rights reserved.
2
2
  import svg4everybody from 'svg4everybody';
3
- const version = "3.29.1";
3
+ const version = "3.29.2";
4
4
  export * from './publicPath';
5
5
  export { version };
6
6
  export * from './utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plesk/ui-library",
3
- "version": "3.29.1",
3
+ "version": "3.29.2",
4
4
  "description": "Plesk UI Library",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",