@plesk/ui-library 3.25.6 → 3.27.0

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 (98) hide show
  1. package/README.md +35 -35
  2. package/cjs/components/Action/Action.js +3 -3
  3. package/cjs/components/Button/Button.js +50 -50
  4. package/cjs/components/Checkbox/Checkbox.js +3 -3
  5. package/cjs/components/CodeEditor/CodeEditor.js +40 -40
  6. package/cjs/components/Dialog/Dialog.js +63 -63
  7. package/cjs/components/Drawer/Drawer.js +100 -90
  8. package/cjs/components/Drawer/DrawerProgress.js +17 -14
  9. package/cjs/components/Drawer/Header.js +11 -4
  10. package/cjs/components/Form/Form.js +4 -4
  11. package/cjs/components/FormField/FormField.js +87 -82
  12. package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
  13. package/cjs/components/FormFieldPassword/FormFieldPassword.js +34 -34
  14. package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +32 -32
  15. package/cjs/components/FormFieldSelect/FormFieldSelect.js +1 -1
  16. package/cjs/components/Icon/Icon.js +6 -6
  17. package/cjs/components/Icon/constants.js +2 -2
  18. package/cjs/components/Icon/images/symbols.svg +1653 -1639
  19. package/cjs/components/InputNumber/InputNumber.js +3 -3
  20. package/cjs/components/Item/Item.js +50 -41
  21. package/cjs/components/ItemLink/ItemLink.js +1 -0
  22. package/cjs/components/ItemList/ItemList.js +43 -12
  23. package/cjs/components/ItemList/ItemList.stories.js +35 -3
  24. package/cjs/components/Layout/Layout.js +55 -55
  25. package/cjs/components/List/List.js +139 -134
  26. package/cjs/components/LocaleProvider/LocaleProvider.js +3 -3
  27. package/cjs/components/Menu/MenuBaseItem.js +19 -19
  28. package/cjs/components/Overlay/Overlay.js +34 -34
  29. package/cjs/components/Pagination/Pagination.js +3 -3
  30. package/cjs/components/Panel/Panel.js +14 -4
  31. package/cjs/components/Popper/Popper.js +30 -30
  32. package/cjs/components/ProgressStep/ProgressStep.js +16 -14
  33. package/cjs/components/Section/Section.js +128 -68
  34. package/cjs/components/Select/Select.js +9 -9
  35. package/cjs/components/Select/SelectControl.js +1 -1
  36. package/cjs/components/Tabs/Tab.js +28 -28
  37. package/cjs/components/Tabs/Tabs.js +33 -33
  38. package/cjs/components/Translate/Translate.js +25 -25
  39. package/cjs/index.js +1 -1
  40. package/dist/images/symbols.svg +1653 -1639
  41. package/dist/plesk-ui-library-rtl.css +1 -1
  42. package/dist/plesk-ui-library-rtl.css.map +1 -1
  43. package/dist/plesk-ui-library.css +1 -1
  44. package/dist/plesk-ui-library.css.map +1 -1
  45. package/dist/plesk-ui-library.js +1116 -970
  46. package/dist/plesk-ui-library.js.map +1 -1
  47. package/dist/plesk-ui-library.min.js +5 -5
  48. package/dist/plesk-ui-library.min.js.map +1 -1
  49. package/esm/components/Action/Action.js +3 -3
  50. package/esm/components/Button/Button.js +50 -50
  51. package/esm/components/Checkbox/Checkbox.js +3 -3
  52. package/esm/components/CodeEditor/CodeEditor.js +40 -40
  53. package/esm/components/Dialog/Dialog.js +63 -63
  54. package/esm/components/Drawer/Drawer.js +100 -89
  55. package/esm/components/Drawer/DrawerProgress.js +16 -15
  56. package/esm/components/Drawer/Header.js +11 -4
  57. package/esm/components/Form/Form.js +4 -4
  58. package/esm/components/FormField/FormField.js +87 -82
  59. package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
  60. package/esm/components/FormFieldPassword/FormFieldPassword.js +34 -34
  61. package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +32 -32
  62. package/esm/components/FormFieldSelect/FormFieldSelect.js +1 -1
  63. package/esm/components/Icon/Icon.js +6 -6
  64. package/esm/components/Icon/constants.js +2 -2
  65. package/esm/components/Icon/images/symbols.svg +1653 -1639
  66. package/esm/components/InputNumber/InputNumber.js +3 -3
  67. package/esm/components/Item/Item.js +50 -41
  68. package/esm/components/ItemLink/ItemLink.js +1 -0
  69. package/esm/components/ItemList/ItemList.js +43 -12
  70. package/esm/components/ItemList/ItemList.stories.js +32 -2
  71. package/esm/components/Layout/Layout.js +55 -55
  72. package/esm/components/List/List.js +139 -134
  73. package/esm/components/LocaleProvider/LocaleProvider.js +3 -3
  74. package/esm/components/Menu/MenuBaseItem.js +19 -19
  75. package/esm/components/Overlay/Overlay.js +34 -34
  76. package/esm/components/Pagination/Pagination.js +3 -3
  77. package/esm/components/Panel/Panel.js +14 -5
  78. package/esm/components/Popper/Popper.js +30 -30
  79. package/esm/components/ProgressStep/ProgressStep.js +17 -15
  80. package/esm/components/Section/Section.js +129 -72
  81. package/esm/components/Select/Select.js +9 -9
  82. package/esm/components/Select/SelectControl.js +1 -1
  83. package/esm/components/Tabs/Tab.js +28 -28
  84. package/esm/components/Tabs/Tabs.js +33 -33
  85. package/esm/components/Translate/Translate.js +25 -25
  86. package/esm/index.js +1 -1
  87. package/package.json +146 -146
  88. package/styleguide/build/bundle.ff1f903a.js +2 -0
  89. package/styleguide/build/{bundle.b7db9339.js.LICENSE.txt → bundle.ff1f903a.js.LICENSE.txt} +0 -0
  90. package/styleguide/images/symbols.svg +1653 -1639
  91. package/styleguide/index.html +6 -6
  92. package/types/src/components/Drawer/DrawerProgress.d.ts +7 -2
  93. package/types/src/components/Icon/constants.d.ts +1 -1
  94. package/types/src/components/ItemLink/ItemLink.d.ts +4 -0
  95. package/types/src/components/ItemLink/ItemLink.stories.d.ts +1 -0
  96. package/types/src/components/ItemList/ItemList.d.ts +8 -0
  97. package/types/src/components/ItemList/ItemList.stories.d.ts +104 -0
  98. package/styleguide/build/bundle.b7db9339.js +0 -2
@@ -750,9 +750,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
750
750
 
751
751
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
752
752
 
753
- /**
754
- * `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
755
- * @since 0.0.68
753
+ /**
754
+ * `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
755
+ * @since 0.0.68
756
756
  */
757
757
  const Action = ({
758
758
  baseClassName = `${_constants.CLS_PREFIX}action`,
@@ -1500,10 +1500,10 @@ const renderCaret = ({
1500
1500
 
1501
1501
  return caretElement;
1502
1502
  };
1503
- /**
1504
- * `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
1505
- * As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
1506
- * @since 0.0.37
1503
+ /**
1504
+ * `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
1505
+ * As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
1506
+ * @since 0.0.37
1507
1507
  */
1508
1508
 
1509
1509
 
@@ -1623,97 +1623,97 @@ const Button = ({
1623
1623
  };
1624
1624
 
1625
1625
  Button.propTypes = {
1626
- /**
1627
- * Button size.
1628
- * @since 2.5.0
1626
+ /**
1627
+ * Button size.
1628
+ * @since 2.5.0
1629
1629
  */
1630
1630
  size: _propTypes.default.oneOf(['md', 'lg']),
1631
1631
 
1632
- /**
1633
- * Visual intent color to apply to component.
1634
- * @since 0.0.42
1632
+ /**
1633
+ * Visual intent color to apply to component.
1634
+ * @since 0.0.42
1635
1635
  */
1636
1636
  intent: _propTypes.default.oneOf(['primary', 'secondary', 'success', 'warning', 'danger', 'info']),
1637
1637
 
1638
- /**
1639
- * Display button with transparent background.
1640
- * @since 2.1.0
1638
+ /**
1639
+ * Display button with transparent background.
1640
+ * @since 2.1.0
1641
1641
  */
1642
1642
  ghost: _propTypes.default.bool,
1643
1643
 
1644
- /**
1645
- * Arrow button.
1646
- * @since 2.6.0
1644
+ /**
1645
+ * Arrow button.
1646
+ * @since 2.6.0
1647
1647
  */
1648
1648
  arrow: _propTypes.default.oneOf(['forward', 'backward']),
1649
1649
 
1650
- /**
1651
- * Selected state of toggle button. Used in controlled component mode.
1652
- * @since 0.0.68
1650
+ /**
1651
+ * Selected state of toggle button. Used in controlled component mode.
1652
+ * @since 0.0.68
1653
1653
  */
1654
1654
  selected: _propTypes.default.bool,
1655
1655
 
1656
- /**
1657
- * Toggle button callback. Used in uncontrolled component mode.
1658
- * @since 0.0.68
1656
+ /**
1657
+ * Toggle button callback. Used in uncontrolled component mode.
1658
+ * @since 0.0.68
1659
1659
  */
1660
1660
  onToggle: _propTypes.default.func,
1661
1661
 
1662
- /**
1663
- * State of the button
1664
- * @since 0.0.42
1662
+ /**
1663
+ * State of the button
1664
+ * @since 0.0.42
1665
1665
  */
1666
1666
  state: _propTypes.default.oneOf(['active', 'loading', 'hovered', 'focused']),
1667
1667
 
1668
- /**
1669
- * Is button disabled?
1670
- * @since 0.0.42
1668
+ /**
1669
+ * Is button disabled?
1670
+ * @since 0.0.42
1671
1671
  */
1672
1672
  disabled: _propTypes.default.bool,
1673
1673
 
1674
- /**
1675
- * Tooltip for component
1676
- * @since 0.0.42
1674
+ /**
1675
+ * Tooltip for component
1676
+ * @since 0.0.42
1677
1677
  */
1678
1678
  tooltip: _propTypes.default.node,
1679
1679
 
1680
- /**
1681
- * Name of icon or [Icon](#!/Icon) component
1682
- * @since 0.0.42
1680
+ /**
1681
+ * Name of icon or [Icon](#!/Icon) component
1682
+ * @since 0.0.42
1683
1683
  */
1684
1684
  icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
1685
1685
 
1686
- /**
1687
- * Show caret
1688
- * @since 0.0.42
1686
+ /**
1687
+ * Show caret
1688
+ * @since 0.0.42
1689
1689
  */
1690
1690
  caret: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.element]),
1691
1691
 
1692
- /**
1693
- * Dynamically expand the button to fill out the whole available width of its parent container.
1694
- * @since 1.8.0
1692
+ /**
1693
+ * Dynamically expand the button to fill out the whole available width of its parent container.
1694
+ * @since 1.8.0
1695
1695
  */
1696
1696
  fill: _propTypes.default.bool,
1697
1697
 
1698
- /**
1699
- * Content of the button
1700
- * @since 0.0.37
1698
+ /**
1699
+ * Content of the button
1700
+ * @since 0.0.37
1701
1701
  */
1702
1702
  children: _propTypes.default.node,
1703
1703
 
1704
- /**
1705
- * Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
1706
- * @since 0.0.42
1704
+ /**
1705
+ * Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
1706
+ * @since 0.0.42
1707
1707
  */
1708
1708
  component: _propTypes.default.elementType,
1709
1709
 
1710
- /**
1711
- * @ignore
1710
+ /**
1711
+ * @ignore
1712
1712
  */
1713
1713
  className: _propTypes.default.string,
1714
1714
 
1715
- /**
1716
- * @ignore
1715
+ /**
1716
+ * @ignore
1717
1717
  */
1718
1718
  baseClassName: _propTypes.default.string
1719
1719
  };
@@ -3686,9 +3686,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
3686
3686
 
3687
3687
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3688
3688
 
3689
- /**
3690
- * `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
3691
- * @since 0.0.55
3689
+ /**
3690
+ * `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
3691
+ * @since 0.0.55
3692
3692
  */
3693
3693
  const Checkbox = ({
3694
3694
  baseClassName = `${_constants.CLS_PREFIX}checkbox`,
@@ -3960,9 +3960,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
3960
3960
 
3961
3961
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3962
3962
 
3963
- /**
3964
- * `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
3965
- * @since 0.0.61
3963
+ /**
3964
+ * `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
3965
+ * @since 0.0.61
3966
3966
  */
3967
3967
  class CodeEditor extends _react.Component {
3968
3968
  constructor(...args) {
@@ -4168,82 +4168,82 @@ class CodeEditor extends _react.Component {
4168
4168
  }
4169
4169
 
4170
4170
  CodeEditor.propTypes = {
4171
- /**
4172
- * The mode to use. When not given, this will default to the first mode that was loaded.
4173
- * @since 0.0.61
4171
+ /**
4172
+ * The mode to use. When not given, this will default to the first mode that was loaded.
4173
+ * @since 0.0.61
4174
4174
  */
4175
4175
  mode: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
4176
4176
 
4177
- /**
4178
- * CodeEditor can detect mode by file name. Will be ignored if you set mode property.
4179
- * @since 0.0.61
4177
+ /**
4178
+ * CodeEditor can detect mode by file name. Will be ignored if you set mode property.
4179
+ * @since 0.0.61
4180
4180
  */
4181
4181
  fileName: _propTypes.default.string,
4182
4182
 
4183
- /**
4184
- * Content of the `CodeEditor`.
4185
- * @since 0.0.61
4183
+ /**
4184
+ * Content of the `CodeEditor`.
4185
+ * @since 0.0.61
4186
4186
  */
4187
4187
  children: _propTypes.default.string,
4188
4188
 
4189
- /**
4190
- * Set read only.
4191
- * @since 0.0.61
4189
+ /**
4190
+ * Set read only.
4191
+ * @since 0.0.61
4192
4192
  */
4193
4193
  readOnly: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
4194
4194
 
4195
- /**
4196
- * Set auto focus.
4197
- * @since 0.0.61
4195
+ /**
4196
+ * Set auto focus.
4197
+ * @since 0.0.61
4198
4198
  */
4199
4199
  autofocus: _propTypes.default.bool,
4200
4200
 
4201
- /**
4202
- * onInit event handler.
4203
- * @since 0.0.61
4201
+ /**
4202
+ * onInit event handler.
4203
+ * @since 0.0.61
4204
4204
  */
4205
4205
  onInit: _propTypes.default.func,
4206
4206
 
4207
- /**
4208
- * onChange event handler.
4209
- * @since 0.0.61
4207
+ /**
4208
+ * onChange event handler.
4209
+ * @since 0.0.61
4210
4210
  */
4211
4211
  onChange: _propTypes.default.func,
4212
4212
 
4213
- /**
4214
- * onSave event handler.
4215
- * @since 0.0.61
4213
+ /**
4214
+ * onSave event handler.
4215
+ * @since 0.0.61
4216
4216
  */
4217
4217
  onSave: _propTypes.default.func,
4218
4218
 
4219
- /**
4220
- * See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.
4221
- * @since 0.0.61
4219
+ /**
4220
+ * See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.
4221
+ * @since 0.0.61
4222
4222
  */
4223
4223
  options: _propTypes.default.object,
4224
4224
 
4225
- /**
4226
- * Set scroll position.
4227
- * @since 1.12.4
4225
+ /**
4226
+ * Set scroll position.
4227
+ * @since 1.12.4
4228
4228
  */
4229
4229
  scrollPosition: _propTypes.default.shape({
4230
4230
  left: _propTypes.default.number,
4231
4231
  top: _propTypes.default.number
4232
4232
  }),
4233
4233
 
4234
- /**
4235
- * onScroll event handler.
4236
- * @since 1.12.4
4234
+ /**
4235
+ * onScroll event handler.
4236
+ * @since 1.12.4
4237
4237
  */
4238
4238
  onScroll: _propTypes.default.func,
4239
4239
 
4240
- /**
4241
- * @ignore
4240
+ /**
4241
+ * @ignore
4242
4242
  */
4243
4243
  className: _propTypes.default.string,
4244
4244
 
4245
- /**
4246
- * @ignore
4245
+ /**
4246
+ * @ignore
4247
4247
  */
4248
4248
  baseClassName: _propTypes.default.string
4249
4249
  };
@@ -5729,9 +5729,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
5729
5729
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5730
5730
 
5731
5731
  const isProps = value => value && typeof value === 'object' && ! /*#__PURE__*/(0, _react.isValidElement)(value);
5732
- /**
5733
- * `Dialog` is a modal window that asks users to make a decision or enter additional information.
5734
- * @since 0.0.68
5732
+ /**
5733
+ * `Dialog` is a modal window that asks users to make a decision or enter additional information.
5734
+ * @since 0.0.68
5735
5735
  */
5736
5736
 
5737
5737
 
@@ -5897,126 +5897,126 @@ const Dialog = ({
5897
5897
  };
5898
5898
 
5899
5899
  Dialog.propTypes = {
5900
- /**
5901
- * Toggles visibility.
5902
- * @since 0.0.68
5900
+ /**
5901
+ * Toggles visibility.
5902
+ * @since 0.0.68
5903
5903
  */
5904
5904
  isOpen: _propTypes.default.bool,
5905
5905
 
5906
- /**
5907
- * Banner. Renders in front of content as wide as dialog.
5908
- * @since 0.0.68
5906
+ /**
5907
+ * Banner. Renders in front of content as wide as dialog.
5908
+ * @since 0.0.68
5909
5909
  */
5910
5910
  banner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
5911
5911
 
5912
- /**
5913
- * Block with an image, placed at the side of the component
5914
- * @since 3.25.0
5912
+ /**
5913
+ * Block with an image, placed at the side of the component
5914
+ * @since 3.25.0
5915
5915
  */
5916
5916
  sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
5917
5917
 
5918
- /**
5919
- * Additional properties for the sideBanner
5920
- * @since 3.25.0
5918
+ /**
5919
+ * Additional properties for the sideBanner
5920
+ * @since 3.25.0
5921
5921
  */
5922
5922
  sideBannerContainer: _propTypes.default.shape({
5923
- /**
5924
- * Values for css background property
5923
+ /**
5924
+ * Values for css background property
5925
5925
  */
5926
5926
  background: _propTypes.default.string,
5927
5927
 
5928
- /**
5929
- * One of: center, flex-start, flex-end
5928
+ /**
5929
+ * One of: center, flex-start, flex-end
5930
5930
  */
5931
5931
  align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
5932
5932
  }),
5933
5933
 
5934
- /**
5935
- * Image. Renders into content.
5936
- * @since 0.0.68
5934
+ /**
5935
+ * Image. Renders into content.
5936
+ * @since 0.0.68
5937
5937
  */
5938
5938
  image: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
5939
5939
 
5940
- /**
5941
- * Title
5942
- * @since 0.0.68
5940
+ /**
5941
+ * Title
5942
+ * @since 0.0.68
5943
5943
  */
5944
5944
  title: _propTypes.default.node,
5945
5945
 
5946
- /**
5947
- * The subtitle of the `Dialog`.
5948
- * @since 4.0.0
5946
+ /**
5947
+ * The subtitle of the `Dialog`.
5948
+ * @since 4.0.0
5949
5949
  */
5950
5950
  subtitle: _propTypes.default.node,
5951
5951
 
5952
- /**
5953
- * Title of "cancel" button
5954
- * @since 0.0.68
5955
- * @deprecated Use `cancelButton` instead.
5952
+ /**
5953
+ * Title of "cancel" button
5954
+ * @since 0.0.68
5955
+ * @deprecated Use `cancelButton` instead.
5956
5956
  */
5957
5957
  cancelTitle: _propTypes.default.node,
5958
5958
 
5959
- /**
5960
- * Cancel button visibility or custom configuration. It accepts all props of the `Button` component.
5961
- * @since 3.13.0
5959
+ /**
5960
+ * Cancel button visibility or custom configuration. It accepts all props of the `Button` component.
5961
+ * @since 3.13.0
5962
5962
  */
5963
5963
  cancelButton: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.object]),
5964
5964
 
5965
- /**
5966
- * Buttons except "cancel" button
5967
- * @since 0.0.68
5965
+ /**
5966
+ * Buttons except "cancel" button
5967
+ * @since 0.0.68
5968
5968
  */
5969
5969
  buttons: _propTypes.default.node,
5970
5970
 
5971
- /**
5972
- * Actions which will be shown in Dialog header
5973
- * @since 1.2.0
5971
+ /**
5972
+ * Actions which will be shown in Dialog header
5973
+ * @since 1.2.0
5974
5974
  */
5975
5975
  actions: _propTypes.default.node,
5976
5976
 
5977
- /**
5978
- * Wraps children into [Form](#!/Form) if not empty.
5979
- * @since 0.0.68
5977
+ /**
5978
+ * Wraps children into [Form](#!/Form) if not empty.
5979
+ * @since 0.0.68
5980
5980
  */
5981
5981
  form: _propTypes.default.object,
5982
5982
 
5983
- /**
5984
- * Dialog width
5985
- * @since 0.0.68
5983
+ /**
5984
+ * Dialog width
5985
+ * @since 0.0.68
5986
5986
  */
5987
5987
  size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
5988
5988
 
5989
- /**
5990
- * If the value is false, the dialog cannot be closed and the Close button is hidden.
5991
- * @since 1.2.0
5989
+ /**
5990
+ * If the value is false, the dialog cannot be closed and the Close button is hidden.
5991
+ * @since 1.2.0
5992
5992
  */
5993
5993
  closable: _propTypes.default.bool,
5994
5994
 
5995
- /**
5996
- * On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.
5997
- * @since 0.0.68
5995
+ /**
5996
+ * On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.
5997
+ * @since 0.0.68
5998
5998
  */
5999
5999
  onClose: _propTypes.default.func,
6000
6000
 
6001
- /**
6002
- * Whether show or not a confirmation dialog on close.
6003
- * @since 3.21.0
6001
+ /**
6002
+ * Whether show or not a confirmation dialog on close.
6003
+ * @since 3.21.0
6004
6004
  */
6005
6005
  closingConfirmation: _propTypes.default.bool,
6006
6006
 
6007
- /**
6008
- * Content of the `DialogWindow`.
6009
- * @since 0.0.68
6007
+ /**
6008
+ * Content of the `DialogWindow`.
6009
+ * @since 0.0.68
6010
6010
  */
6011
6011
  children: _propTypes.default.node,
6012
6012
 
6013
- /**
6014
- * @ignore
6013
+ /**
6014
+ * @ignore
6015
6015
  */
6016
6016
  className: _propTypes.default.string,
6017
6017
 
6018
- /**
6019
- * @ignore
6018
+ /**
6019
+ * @ignore
6020
6020
  */
6021
6021
  baseClassName: _propTypes.default.string
6022
6022
  };
@@ -6154,8 +6154,6 @@ var _Form = _interopRequireDefault(__webpack_require__(/*! ../Form */ "./compone
6154
6154
 
6155
6155
  var _Heading = _interopRequireDefault(__webpack_require__(/*! ../Heading */ "./components/Heading/index.tsx"));
6156
6156
 
6157
- var _Text = _interopRequireDefault(__webpack_require__(/*! ../Text */ "./components/Text/index.tsx"));
6158
-
6159
6157
  var _Translate = __webpack_require__(/*! ../Translate */ "./components/Translate/index.js");
6160
6158
 
6161
6159
  var _ScrollableElementFormContext = _interopRequireDefault(__webpack_require__(/*! ../Form/ScrollableElementFormContext */ "./components/Form/ScrollableElementFormContext.js"));
@@ -6175,107 +6173,113 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
6175
6173
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6176
6174
 
6177
6175
  const propTypes = {
6178
- /**
6179
- * Toggles visibility.
6180
- * @since 0.0.65
6176
+ /**
6177
+ * Toggles visibility.
6178
+ * @since 0.0.65
6181
6179
  */
6182
6180
  isOpen: _propTypes.default.bool,
6183
6181
 
6184
- /**
6185
- * The title of the `Drawer`.
6186
- * @since 0.0.65
6182
+ /**
6183
+ * The title of the `Drawer`.
6184
+ * @since 0.0.65
6187
6185
  */
6188
6186
  title: _propTypes.default.node.isRequired,
6189
6187
 
6190
- /**
6191
- * The subtitle of the `Drawer`.
6192
- * @since 0.0.65
6188
+ /**
6189
+ * The subtitle of the `Drawer`.
6190
+ * @since 0.0.65
6193
6191
  */
6194
6192
  subtitle: _propTypes.default.node,
6195
6193
 
6196
- /**
6197
- * Show the minimize button and the inactive close button.
6198
- * @since 1.4.1
6194
+ /**
6195
+ * Show the minimize button and the inactive close button.
6196
+ * @since 1.4.1
6199
6197
  */
6200
6198
  hideButton: _propTypes.default.bool,
6201
6199
 
6202
- /**
6203
- * Show back button in the header. If true the close button is not show.
6204
- * @deprecated Not recommended to use. Use default close button instead.
6205
- * @since 0.0.65
6200
+ /**
6201
+ * Show back button in the header. If true the close button is not show.
6202
+ * @deprecated Not recommended to use. Use default close button instead.
6203
+ * @since 0.0.65
6206
6204
  */
6207
6205
  backButton: _propTypes.default.bool,
6208
6206
 
6209
- /**
6210
- * Overlay placement.
6211
- * @since 0.0.65
6207
+ /**
6208
+ * A slot for `Tabs` component.
6209
+ * @since 3.26.0
6210
+ */
6211
+ tabs: _propTypes.default.node,
6212
+
6213
+ /**
6214
+ * Overlay placement.
6215
+ * @since 0.0.65
6212
6216
  */
6213
6217
  placement: _propTypes.default.oneOf(['left', 'right']),
6214
6218
 
6215
- /**
6216
- * Overlay size.
6217
- * @since 0.0.65
6219
+ /**
6220
+ * Overlay size.
6221
+ * @since 0.0.65
6218
6222
  */
6219
6223
  size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
6220
6224
 
6221
- /**
6222
- * onClose handler.
6223
- * @since 0.0.65
6225
+ /**
6226
+ * onClose handler.
6227
+ * @since 0.0.65
6224
6228
  */
6225
6229
  onClose: _propTypes.default.func,
6226
6230
 
6227
- /**
6228
- * Whether show or not a confirmation dialog on close.
6229
- * @since 3.21.0
6231
+ /**
6232
+ * Whether show or not a confirmation dialog on close.
6233
+ * @since 3.21.0
6230
6234
  */
6231
6235
  closingConfirmation: _propTypes.default.bool,
6232
6236
 
6233
- /**
6234
- * Wraps children into [Form](#!/Form) if not empty.
6235
- * @since 0.0.66
6237
+ /**
6238
+ * Wraps children into [Form](#!/Form) if not empty.
6239
+ * @since 0.0.66
6236
6240
  */
6237
6241
  form: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.element]),
6238
6242
 
6239
- /**
6240
- * Block with an image, placed at the side of the component
6241
- * @since 3.25.0
6243
+ /**
6244
+ * Block with an image, placed at the side of the component
6245
+ * @since 3.25.0
6242
6246
  */
6243
6247
  sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
6244
6248
 
6245
- /**
6246
- * Additional properties for the sideBanner
6247
- * @since 3.25.0
6249
+ /**
6250
+ * Additional properties for the sideBanner
6251
+ * @since 3.25.0
6248
6252
  */
6249
6253
  sideBannerContainer: _propTypes.default.shape({
6250
- /**
6251
- * Values for css background property
6254
+ /**
6255
+ * Values for css background property
6252
6256
  */
6253
6257
  background: _propTypes.default.string,
6254
6258
 
6255
- /**
6256
- * One of: center, flex-start, flex-end
6259
+ /**
6260
+ * One of: center, flex-start, flex-end
6257
6261
  */
6258
6262
  align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
6259
6263
  }),
6260
6264
 
6261
- /**
6262
- * Content of the `Drawer`.
6263
- * @since 0.0.65
6265
+ /**
6266
+ * Content of the `Drawer`.
6267
+ * @since 0.0.65
6264
6268
  */
6265
6269
  children: _propTypes.default.node,
6266
6270
 
6267
- /**
6268
- * Adds [Progress](#!/Progress) into footer.
6269
- * @since 1.11.0
6271
+ /**
6272
+ * Adds [Progress](#!/Progress) into footer.
6273
+ * @since 1.11.0
6270
6274
  */
6271
6275
  progress: _propTypes.default.shape({
6272
- /**
6273
- * A title for the progress.
6276
+ /**
6277
+ * A title for the progress.
6274
6278
  */
6275
6279
  title: _propTypes.default.string,
6276
6280
 
6277
- /**
6278
- * An array of [ProgressStep](#!/ProgressStep) props.
6281
+ /**
6282
+ * An array of [ProgressStep](#!/ProgressStep) props.
6279
6283
  */
6280
6284
  steps: _propTypes.default.arrayOf(_propTypes.default.shape({
6281
6285
  title: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
@@ -6284,35 +6288,35 @@ const propTypes = {
6284
6288
  icon: _propTypes.default.string
6285
6289
  })).isRequired,
6286
6290
 
6287
- /**
6288
- * An option that controls drawer closing ability.
6291
+ /**
6292
+ * An option that controls drawer closing ability.
6289
6293
  */
6290
6294
  cancelable: _propTypes.default.bool,
6291
6295
 
6292
- /**
6293
- * On overall status event handler.
6294
- * @since 3.8.0
6296
+ /**
6297
+ * On overall status event handler.
6298
+ * @since 3.8.0
6295
6299
  */
6296
6300
  onStatusChange: _propTypes.default.func,
6297
6301
 
6298
- /**
6299
- * @ignore
6302
+ /**
6303
+ * @ignore
6300
6304
  */
6301
6305
  onClose: _propTypes.default.func,
6302
6306
 
6303
- /**
6304
- * @ignore
6307
+ /**
6308
+ * @ignore
6305
6309
  */
6306
6310
  onClosableChange: _propTypes.default.func
6307
6311
  }),
6308
6312
 
6309
- /**
6310
- * @ignore
6313
+ /**
6314
+ * @ignore
6311
6315
  */
6312
6316
  className: _propTypes.default.string,
6313
6317
 
6314
- /**
6315
- * @ignore
6318
+ /**
6319
+ * @ignore
6316
6320
  */
6317
6321
  baseClassName: _propTypes.default.string
6318
6322
  };
@@ -6321,6 +6325,7 @@ const defaultProps = {
6321
6325
  subtitle: '',
6322
6326
  backButton: undefined,
6323
6327
  hideButton: undefined,
6328
+ tabs: undefined,
6324
6329
  placement: 'left',
6325
6330
  size: 'md',
6326
6331
  onClose: null,
@@ -6333,10 +6338,10 @@ const defaultProps = {
6333
6338
  className: null,
6334
6339
  baseClassName: `${_constants.CLS_PREFIX}drawer`
6335
6340
  };
6336
- /**
6337
- * `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
6338
- * The component is similar to `Dialog` but it is intended to work with more complex forms or lists.
6339
- * @since 0.0.65
6341
+ /**
6342
+ * `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
6343
+ * The component is similar to `Dialog` but it is intended to work with more complex forms or lists.
6344
+ * @since 0.0.65
6340
6345
  */
6341
6346
 
6342
6347
  const Drawer = ({
@@ -6347,6 +6352,7 @@ const Drawer = ({
6347
6352
  subtitle,
6348
6353
  backButton,
6349
6354
  hideButton,
6355
+ tabs,
6350
6356
  onClose,
6351
6357
  form,
6352
6358
  progress,
@@ -6367,9 +6373,23 @@ const Drawer = ({
6367
6373
  if (progress) {
6368
6374
  progress.onClose = onCloseWithConfirmation;
6369
6375
  progress.onClosableChange = setIsClosable;
6370
- }
6371
6376
 
6372
- const createProgress = () => /*#__PURE__*/_react.default.createElement(_DrawerProgress.default, progress);
6377
+ const drawerProgressRender = ({
6378
+ content,
6379
+ footer
6380
+ }) => {
6381
+ return render({
6382
+ content: /*#__PURE__*/_react.default.createElement("div", {
6383
+ className: `${baseClassName}__form`
6384
+ }, content),
6385
+ footer
6386
+ });
6387
+ };
6388
+
6389
+ return /*#__PURE__*/_react.default.createElement(_DrawerProgress.default, _extends({
6390
+ render: drawerProgressRender
6391
+ }, progress));
6392
+ }
6373
6393
 
6374
6394
  if (form) {
6375
6395
  if ( /*#__PURE__*/(0, _react.isValidElement)(form)) {
@@ -6384,7 +6404,7 @@ const Drawer = ({
6384
6404
  renderActionButtons
6385
6405
  }) => render({
6386
6406
  content: renderForm(),
6387
- footer: progress ? createProgress() : renderActionButtons()
6407
+ footer: renderActionButtons()
6388
6408
  })
6389
6409
  });
6390
6410
  }
@@ -6405,25 +6425,16 @@ const Drawer = ({
6405
6425
  renderActionButtons
6406
6426
  }) => render({
6407
6427
  content: renderForm(),
6408
- footer: progress ? createProgress() : renderActionButtons()
6428
+ footer: renderActionButtons()
6409
6429
  })
6410
6430
  }), children);
6411
6431
  }
6412
6432
  }
6413
6433
 
6414
- children = /*#__PURE__*/_react.default.createElement("div", {
6415
- className: `${baseClassName}__inner-body`
6416
- }, children);
6417
-
6418
- if (progress) {
6419
- return render({
6420
- content: children,
6421
- footer: createProgress()
6422
- });
6423
- }
6424
-
6425
6434
  return render({
6426
- content: children
6435
+ content: /*#__PURE__*/_react.default.createElement("div", {
6436
+ className: `${baseClassName}__inner-body`
6437
+ }, children)
6427
6438
  });
6428
6439
  };
6429
6440
 
@@ -6439,7 +6450,8 @@ const Drawer = ({
6439
6450
  }) => /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_Header.default, {
6440
6451
  backButton: backButton,
6441
6452
  hideButton: typeof hideButton === 'boolean' ? hideButton : Boolean(progress && !isClosable),
6442
- onClose: onCloseWithConfirmation
6453
+ onClose: onCloseWithConfirmation,
6454
+ tabs: tabs
6443
6455
  }, (0, _Translate.isLikeText)(title) ? /*#__PURE__*/_react.default.createElement(_Heading.default, {
6444
6456
  level: "2",
6445
6457
  className: `${baseClassName}__title`
@@ -6447,9 +6459,7 @@ const Drawer = ({
6447
6459
  className: `${baseClassName}__title`
6448
6460
  }, title), subtitle && /*#__PURE__*/_react.default.createElement("div", {
6449
6461
  className: `${baseClassName}__subtitle`
6450
- }, (0, _Translate.isLikeText)(subtitle) ? /*#__PURE__*/_react.default.createElement(_Text.default, {
6451
- intent: "muted"
6452
- }, subtitle) : subtitle)), /*#__PURE__*/_react.default.createElement(_ScrollDirection.default, null, ({
6462
+ }, subtitle)), /*#__PURE__*/_react.default.createElement(_ScrollDirection.default, null, ({
6453
6463
  handleScroll
6454
6464
  }) => /*#__PURE__*/_react.default.createElement("div", {
6455
6465
  className: `${baseClassName}__body`,
@@ -6587,7 +6597,7 @@ class DrawerProgress extends _react.Component {
6587
6597
  if (prevState.status !== _ProgressStep.STATUS_DONE && status === _ProgressStep.STATUS_DONE) {
6588
6598
  window.clearTimeout(this.closeTimeout);
6589
6599
 
6590
- if (autoCloseTimeout) {
6600
+ if (autoCloseTimeout !== undefined) {
6591
6601
  this.closeTimeout = window.setTimeout(this.handleClose, autoCloseTimeout);
6592
6602
  }
6593
6603
  }
@@ -6607,7 +6617,8 @@ class DrawerProgress extends _react.Component {
6607
6617
  title,
6608
6618
  steps,
6609
6619
  buttons,
6610
- cancelable
6620
+ cancelable,
6621
+ render
6611
6622
  } = this.props;
6612
6623
  const {
6613
6624
  status
@@ -6615,35 +6626,37 @@ class DrawerProgress extends _react.Component {
6615
6626
  const isFinished = status === _ProgressStep.STATUS_DONE;
6616
6627
  const isFailed = status === _ProgressStep.STATUS_ERROR;
6617
6628
  const canCancel = cancelable && !(isFinished || isFailed);
6618
- /* eslint-disable react/jsx-indent */
6629
+ const hasFooter = !!(buttons || canCancel);
6619
6630
 
6620
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, title && /*#__PURE__*/_react.default.createElement("div", {
6631
+ const content = /*#__PURE__*/_react.default.createElement(_react.Fragment, null, title && /*#__PURE__*/_react.default.createElement("div", {
6621
6632
  className: `${baseClassName}__title`
6622
6633
  }, title), /*#__PURE__*/_react.default.createElement(_Progress.default, {
6623
6634
  onStatusChange: this.handleStatusChange,
6624
6635
  className: `${baseClassName}__progress`
6625
6636
  }, steps.map((step, index) => /*#__PURE__*/_react.default.createElement(_ProgressStep.default, _extends({
6626
6637
  key: index.toString()
6627
- }, step)))), /*#__PURE__*/_react.default.createElement("div", {
6638
+ }, step)))));
6639
+
6640
+ const footer = hasFooter ? /*#__PURE__*/_react.default.createElement("div", {
6628
6641
  className: `${baseClassName}__footer`
6629
- }, buttons, (isFinished || isFailed) && /*#__PURE__*/_react.default.createElement(_Button.default, {
6630
- onClick: this.handleClose
6631
- }, /*#__PURE__*/_react.default.createElement(_Translate.default, {
6632
- content: "DrawerProgress.closeButton",
6633
- fallback: "Close"
6634
- })), canCancel && /*#__PURE__*/_react.default.createElement(_Button.default, {
6635
- onClick: this.handleCancel
6642
+ }, buttons, canCancel && /*#__PURE__*/_react.default.createElement(_Button.default, {
6643
+ onClick: this.handleCancel,
6644
+ size: "lg"
6636
6645
  }, /*#__PURE__*/_react.default.createElement(_Translate.default, {
6637
6646
  content: "DrawerProgress.cancelButton",
6638
6647
  fallback: "Cancel"
6639
- }))));
6648
+ }))) : null;
6649
+ return typeof render === 'function' ? render({
6650
+ content,
6651
+ footer
6652
+ }) : /*#__PURE__*/_react.default.createElement(_react.Fragment, null, content, footer);
6640
6653
  }
6641
6654
 
6642
6655
  }
6643
6656
 
6644
6657
  _defineProperty(DrawerProgress, "defaultProps", {
6645
6658
  baseClassName: `${_constants.CLS_PREFIX}drawer-progress`,
6646
- autoCloseTimeout: 3000,
6659
+ autoCloseTimeout: 0,
6647
6660
  cancelable: false,
6648
6661
  steps: []
6649
6662
  });
@@ -6760,6 +6773,7 @@ class Header extends _react.Component {
6760
6773
  children,
6761
6774
  backButton,
6762
6775
  hideButton,
6776
+ tabs,
6763
6777
  ...props
6764
6778
  } = this.props;
6765
6779
  let prefix;
@@ -6793,7 +6807,11 @@ class Header extends _react.Component {
6793
6807
  className: `${baseClassName}__inner`
6794
6808
  }, prefix, /*#__PURE__*/_react.default.createElement("div", {
6795
6809
  className: `${baseClassName}__content`
6796
- }, children), suffix));
6810
+ }, children, tabs && /*#__PURE__*/_react.default.createElement("div", {
6811
+ className: `${baseClassName}__tabs`
6812
+ }, /*#__PURE__*/_react.default.createElement("div", {
6813
+ className: `${baseClassName}__tabs-inner`
6814
+ }, tabs))), suffix));
6797
6815
  }
6798
6816
 
6799
6817
  }
@@ -6805,14 +6823,16 @@ _defineProperty(Header, "propTypes", {
6805
6823
  onClose: _propTypes.default.func,
6806
6824
  children: _propTypes.default.node.isRequired,
6807
6825
  backButton: _propTypes.default.bool,
6808
- hideButton: _propTypes.default.bool
6826
+ hideButton: _propTypes.default.bool,
6827
+ tabs: _propTypes.default.node
6809
6828
  });
6810
6829
 
6811
6830
  _defineProperty(Header, "defaultProps", {
6812
6831
  onClose: null,
6813
6832
  baseClassName: `${_constants.CLS_PREFIX}drawer-header`,
6814
6833
  backButton: false,
6815
- hideButton: false
6834
+ hideButton: false,
6835
+ tabs: undefined
6816
6836
  });
6817
6837
 
6818
6838
  /***/ }),
@@ -7877,10 +7897,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
7877
7897
 
7878
7898
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7879
7899
 
7880
- /**
7881
- * `FormFieldCheckbox` component component is used for turning an option on or off
7882
- * and selecting or deselecting an item.
7883
- * @since 0.0.58
7900
+ /**
7901
+ * `FormFieldCheckbox` component component is used for turning an option on or off
7902
+ * and selecting or deselecting an item.
7903
+ * @since 0.0.58
7884
7904
  */
7885
7905
  const FormFieldCheckbox = ({
7886
7906
  baseClassName,
@@ -7922,52 +7942,52 @@ const FormFieldCheckbox = ({
7922
7942
  }, label)));
7923
7943
 
7924
7944
  FormFieldCheckbox.propTypes = {
7925
- /**
7926
- * Disabled state of field.
7927
- * @since 0.1.0
7945
+ /**
7946
+ * Disabled state of field.
7947
+ * @since 0.1.0
7928
7948
  */
7929
7949
  disabled: _propTypes.default.bool,
7930
7950
 
7931
- /**
7932
- * Custom checked value. Default is boolean true.
7933
- * @since 0.0.59
7951
+ /**
7952
+ * Custom checked value. Default is boolean true.
7953
+ * @since 0.0.59
7934
7954
  */
7935
7955
  checkedValue: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
7936
7956
 
7937
- /**
7938
- * Custom unchecked value. Default is boolean false.
7939
- * @since 0.0.59
7957
+ /**
7958
+ * Custom unchecked value. Default is boolean false.
7959
+ * @since 0.0.59
7940
7960
  */
7941
7961
  uncheckedValue: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
7942
7962
 
7943
- /**
7944
- * The browser will automatically focus on the component upon rendering the screen
7945
- * @since 1.9.0
7963
+ /**
7964
+ * The browser will automatically focus on the component upon rendering the screen
7965
+ * @since 1.9.0
7946
7966
  */
7947
7967
  autoFocus: _propTypes.default.bool,
7948
7968
 
7949
- /**
7950
- * @ignore Field cannot be multiple
7969
+ /**
7970
+ * @ignore Field cannot be multiple
7951
7971
  */
7952
7972
  multi: _propTypes.default.bool,
7953
7973
 
7954
- /**
7955
- * @ignore
7974
+ /**
7975
+ * @ignore
7956
7976
  */
7957
7977
  label: _propTypes.default.any,
7958
7978
 
7959
- /**
7960
- * @ignore
7979
+ /**
7980
+ * @ignore
7961
7981
  */
7962
7982
  required: _propTypes.default.bool,
7963
7983
 
7964
- /**
7965
- * @ignore
7984
+ /**
7985
+ * @ignore
7966
7986
  */
7967
7987
  className: _propTypes.default.string,
7968
7988
 
7969
- /**
7970
- * @ignore
7989
+ /**
7990
+ * @ignore
7971
7991
  */
7972
7992
  baseClassName: _propTypes.default.string,
7973
7993
  fullDescription: _propTypes.default.string
@@ -8073,9 +8093,9 @@ const generatePassword = () => {
8073
8093
  const password = ['upper', 'lower', 'lower', 'lower', 'number', 'number', 'special', 'number', 'upper', 'upper', 'lower', 'lower', 'lower', 'lower', 'lower', 'lower'];
8074
8094
  return password.sort((a, b) => Math.floor(b.length * Math.random()) - Math.floor(a.length * Math.random())).map(symbolClass => symbolClasses[symbolClass][Math.floor(symbolClasses[symbolClass].length * Math.random())]).join('');
8075
8095
  };
8076
- /**
8077
- * `FormFieldPassword` component provides secure way to enter a password.
8078
- * @since 0.0.58
8096
+ /**
8097
+ * `FormFieldPassword` component provides secure way to enter a password.
8098
+ * @since 0.0.58
8079
8099
  */
8080
8100
 
8081
8101
 
@@ -8328,33 +8348,33 @@ class FormFieldPassword extends _react.Component {
8328
8348
  }
8329
8349
 
8330
8350
  FormFieldPassword.propTypes = {
8331
- /**
8332
- * Is show button hidden?
8333
- * @since 0.0.59
8351
+ /**
8352
+ * Is show button hidden?
8353
+ * @since 0.0.59
8334
8354
  */
8335
8355
  hideShowButton: _propTypes.default.bool,
8336
8356
 
8337
- /**
8338
- * Is generate button hidden?
8339
- * @since 0.0.59
8357
+ /**
8358
+ * Is generate button hidden?
8359
+ * @since 0.0.59
8340
8360
  */
8341
8361
  hideGenerateButton: _propTypes.default.bool,
8342
8362
 
8343
- /**
8344
- * Is password meter hidden?
8345
- * @since 0.0.59
8363
+ /**
8364
+ * Is password meter hidden?
8365
+ * @since 0.0.59
8346
8366
  */
8347
8367
  hidePasswordMeter: _propTypes.default.bool,
8348
8368
 
8349
- /**
8350
- * Additional props for password meter. . See [Popover](#!/Popover) for more information.
8351
- * @since 1.5.6
8369
+ /**
8370
+ * Additional props for password meter. . See [Popover](#!/Popover) for more information.
8371
+ * @since 1.5.6
8352
8372
  */
8353
8373
  passwordMeterProps: _propTypes.default.object,
8354
8374
 
8355
- /**
8356
- * A set of custom password score rules.
8357
- * @since 3.21.0
8375
+ /**
8376
+ * A set of custom password score rules.
8377
+ * @since 3.21.0
8358
8378
  */
8359
8379
  passwordScoreRules: _propTypes.default.arrayOf(_propTypes.default.shape({
8360
8380
  name: _propTypes.default.string,
@@ -8362,37 +8382,37 @@ FormFieldPassword.propTypes = {
8362
8382
  score: _propTypes.default.func.isRequired
8363
8383
  })),
8364
8384
 
8365
- /**
8366
- * Size of the control
8367
- * @since 1.5.6
8385
+ /**
8386
+ * Size of the control
8387
+ * @since 1.5.6
8368
8388
  */
8369
8389
  size: _propTypes.default.oneOf(['md', 'lg', 'xl', 'fill']),
8370
8390
 
8371
- /**
8372
- * The browser will automatically focus on the component upon rendering the screen
8373
- * @since 1.9.0
8391
+ /**
8392
+ * The browser will automatically focus on the component upon rendering the screen
8393
+ * @since 1.9.0
8374
8394
  */
8375
8395
  autoFocus: _propTypes.default.bool,
8376
8396
 
8377
- /**
8378
- * Prevent password autocompletion.
8379
- * @since 2.5.1
8397
+ /**
8398
+ * Prevent password autocompletion.
8399
+ * @since 2.5.1
8380
8400
  */
8381
8401
  autoComplete: _propTypes.default.oneOf(['new-password']),
8382
8402
 
8383
- /**
8384
- * A render function for customizing the password generation button.
8385
- * @since 3.13.0
8403
+ /**
8404
+ * A render function for customizing the password generation button.
8405
+ * @since 3.13.0
8386
8406
  */
8387
8407
  generateButton: _propTypes.default.func,
8388
8408
 
8389
- /**
8390
- * @ignore
8409
+ /**
8410
+ * @ignore
8391
8411
  */
8392
8412
  className: _propTypes.default.string,
8393
8413
 
8394
- /**
8395
- * @ignore
8414
+ /**
8415
+ * @ignore
8396
8416
  */
8397
8417
  baseClassName: _propTypes.default.string
8398
8418
  };
@@ -8669,9 +8689,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
8669
8689
 
8670
8690
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
8671
8691
 
8672
- /**
8673
- * `FormFieldRadioButtons` is used for making a choice among a set of mutually exclusive, related options. Only one option can be chosen.
8674
- * @since 0.2.0
8692
+ /**
8693
+ * `FormFieldRadioButtons` is used for making a choice among a set of mutually exclusive, related options. Only one option can be chosen.
8694
+ * @since 0.2.0
8675
8695
  */
8676
8696
  class FormFieldRadioButtons extends _react.Component {
8677
8697
  render() {
@@ -8733,68 +8753,68 @@ class FormFieldRadioButtons extends _react.Component {
8733
8753
  }
8734
8754
 
8735
8755
  FormFieldRadioButtons.propTypes = {
8736
- /**
8737
- * Options definition.
8738
- * @since 0.2.0
8756
+ /**
8757
+ * Options definition.
8758
+ * @since 0.2.0
8739
8759
  */
8740
8760
  options: _propTypes.default.arrayOf(_propTypes.default.shape({
8741
- /**
8742
- * Option value.
8761
+ /**
8762
+ * Option value.
8743
8763
  */
8744
8764
  value: _propTypes.default.string.isRequired,
8745
8765
 
8746
- /**
8747
- * Option label.
8766
+ /**
8767
+ * Option label.
8748
8768
  */
8749
8769
  label: _propTypes.default.node.isRequired,
8750
8770
 
8751
- /**
8752
- * Text hint located below option for providing additional information.
8771
+ /**
8772
+ * Text hint located below option for providing additional information.
8753
8773
  */
8754
8774
  description: _propTypes.default.node,
8755
8775
 
8756
- /**
8757
- * Set true if option is not available to choice.
8776
+ /**
8777
+ * Set true if option is not available to choice.
8758
8778
  */
8759
8779
  disabled: _propTypes.default.bool,
8760
8780
 
8761
- /**
8762
- * Optional array of `FormField` components under this option.
8781
+ /**
8782
+ * Optional array of `FormField` components under this option.
8763
8783
  */
8764
8784
  indentFields: _propTypes.default.array
8765
8785
  })).isRequired,
8766
8786
 
8767
- /**
8768
- * Value of current chosen option.
8769
- * @deprecated Use [Form](#!/Form) values.
8770
- * @since 0.2.0
8787
+ /**
8788
+ * Value of current chosen option.
8789
+ * @deprecated Use [Form](#!/Form) values.
8790
+ * @since 0.2.0
8771
8791
  */
8772
8792
  value: _propTypes.default.string,
8773
8793
 
8774
- /**
8775
- * Disabled state of field.
8776
- * @since 0.2.0
8794
+ /**
8795
+ * Disabled state of field.
8796
+ * @since 0.2.0
8777
8797
  */
8778
8798
  disabled: _propTypes.default.bool,
8779
8799
 
8780
- /**
8781
- * The browser will automatically focus on the component upon rendering the screen
8782
- * @since 1.9.0
8800
+ /**
8801
+ * The browser will automatically focus on the component upon rendering the screen
8802
+ * @since 1.9.0
8783
8803
  */
8784
8804
  autoFocus: _propTypes.default.bool,
8785
8805
 
8786
- /**
8787
- * @ignore Field cannot be multiple
8806
+ /**
8807
+ * @ignore Field cannot be multiple
8788
8808
  */
8789
8809
  multi: _propTypes.default.bool,
8790
8810
 
8791
- /**
8792
- * @ignore
8811
+ /**
8812
+ * @ignore
8793
8813
  */
8794
8814
  className: _propTypes.default.string,
8795
8815
 
8796
- /**
8797
- * @ignore
8816
+ /**
8817
+ * @ignore
8798
8818
  */
8799
8819
  baseClassName: _propTypes.default.string
8800
8820
  };
@@ -8893,7 +8913,7 @@ const FormFieldSelect = ({
8893
8913
  size: size,
8894
8914
  id: getId(),
8895
8915
  name: getName(),
8896
- value: getValue(''),
8916
+ value: getValue(multiple ? [] : undefined),
8897
8917
  onChange: setValue,
8898
8918
  disabled: isDisabled(),
8899
8919
  searchable: searchable,
@@ -9202,11 +9222,11 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
9202
9222
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9203
9223
 
9204
9224
  const defaultValue = undefined;
9205
- /**
9206
- * Simple helper to handle situations when we expecting only array
9207
- * @param value
9208
- * @param nonEmpty
9209
- * @returns {Array}
9225
+ /**
9226
+ * Simple helper to handle situations when we expecting only array
9227
+ * @param value
9228
+ * @param nonEmpty
9229
+ * @returns {Array}
9210
9230
  */
9211
9231
 
9212
9232
  const getArrayHelper = (value, nonEmpty = false) => {
@@ -9224,8 +9244,12 @@ const getArrayHelper = (value, nonEmpty = false) => {
9224
9244
  };
9225
9245
 
9226
9246
  const isControlled = props => props.value !== undefined;
9227
- /**
9228
- * @since 0.0.54
9247
+
9248
+ const isEmpty = value => {
9249
+ return !value && value !== 0 || Array.isArray(value) && value.length === 0 || !Array.isArray(value) && typeof value === 'object' && Object.values(value).filter(t => Boolean(t)).length === 0;
9250
+ };
9251
+ /**
9252
+ * @since 0.0.54
9229
9253
  */
9230
9254
 
9231
9255
 
@@ -9347,18 +9371,19 @@ class FormField extends _react.Component {
9347
9371
  disabled
9348
9372
  } = this.props;
9349
9373
  const value = getArrayHelper(this.fieldApi.getValue());
9374
+ const isClearable = multi && value.length === 1 && !isEmpty(value[0]);
9350
9375
 
9351
- if (!multi || value.length <= 1) {
9376
+ if (!multi || value.length < 1 || value.length === 1 && isEmpty(value[0])) {
9352
9377
  return null;
9353
9378
  }
9354
9379
 
9355
9380
  return /*#__PURE__*/_react.default.createElement(_Button.default, {
9356
9381
  className: `${this.props.baseClassName}__remove`,
9357
- icon: "cross-mark",
9382
+ icon: isClearable ? 'clean' : 'cross-mark',
9358
9383
  tooltip: /*#__PURE__*/_react.default.createElement(_Translate.default, {
9359
9384
  namespace: "FormField",
9360
- content: "remove",
9361
- fallback: "Remove",
9385
+ content: isClearable ? 'clear' : 'remove',
9386
+ fallback: isClearable ? 'Clear' : 'Remove',
9362
9387
  translators: locale
9363
9388
  }),
9364
9389
  onClick: () => this.handleRemove(index),
@@ -9590,10 +9615,10 @@ class FormField extends _react.Component {
9590
9615
 
9591
9616
  clearTimeout(this.focusTimer);
9592
9617
  }
9593
- /**
9594
- * Field API provided to field
9595
- * @param index
9596
- * @returns {Object}
9618
+ /**
9619
+ * Field API provided to field
9620
+ * @param index
9621
+ * @returns {Object}
9597
9622
  */
9598
9623
 
9599
9624
 
@@ -9617,127 +9642,127 @@ class FormField extends _react.Component {
9617
9642
  }
9618
9643
 
9619
9644
  const propTypes = {
9620
- /**
9621
- * Field ID.
9622
- * @since 0.0.59
9645
+ /**
9646
+ * Field ID.
9647
+ * @since 0.0.59
9623
9648
  */
9624
9649
  id: _propTypes.default.string,
9625
9650
 
9626
- /**
9627
- * Field name.
9628
- * @since 0.0.54
9651
+ /**
9652
+ * Field name.
9653
+ * @since 0.0.54
9629
9654
  */
9630
9655
  name: _propTypes.default.string,
9631
9656
 
9632
- /**
9633
- * Field value.
9634
- * @deprecated Use [Form](#!/Form) values.
9635
- * @since 0.0.57
9657
+ /**
9658
+ * Field value.
9659
+ * @deprecated Use [Form](#!/Form) values.
9660
+ * @since 0.0.57
9636
9661
  */
9637
9662
  value: _propTypes.default.any,
9638
9663
 
9639
- /**
9640
- * A callback function, can be executed when the value is changing.
9641
- * @since 0.4.1
9664
+ /**
9665
+ * A callback function, can be executed when the value is changing.
9666
+ * @since 0.4.1
9642
9667
  */
9643
9668
  onChange: _propTypes.default.func,
9644
9669
 
9645
- /**
9646
- * Field label.
9647
- * @since 0.0.54
9670
+ /**
9671
+ * Field label.
9672
+ * @since 0.0.54
9648
9673
  */
9649
9674
  label: _propTypes.default.any,
9650
9675
 
9651
- /**
9652
- * Field description.
9653
- * @since 0.0.57
9676
+ /**
9677
+ * Field description.
9678
+ * @since 0.0.57
9654
9679
  */
9655
9680
  description: _propTypes.default.any,
9656
9681
 
9657
- /**
9658
- * Show long descriptions in popover after clicking on "( i )" icon
9659
- * @since 3.14.0
9682
+ /**
9683
+ * Show long descriptions in popover after clicking on "( i )" icon
9684
+ * @since 3.14.0
9660
9685
  */
9661
9686
  fullDescription: _propTypes.default.node,
9662
9687
 
9663
- /**
9664
- * Field errors.
9665
- * @deprecated Use [Form](#!/Form) errors.
9666
- * @since 0.0.57
9688
+ /**
9689
+ * Field errors.
9690
+ * @deprecated Use [Form](#!/Form) errors.
9691
+ * @since 0.0.57
9667
9692
  */
9668
9693
  errors: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]),
9669
9694
 
9670
- /**
9671
- * Indicates whether field is required.
9672
- * @since 0.0.54
9695
+ /**
9696
+ * Indicates whether field is required.
9697
+ * @since 0.0.54
9673
9698
  */
9674
9699
  required: _propTypes.default.bool,
9675
9700
 
9676
- /**
9677
- * Content of the `FormField`.
9678
- * @since 0.0.54
9701
+ /**
9702
+ * Content of the `FormField`.
9703
+ * @since 0.0.54
9679
9704
  */
9680
9705
  children: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
9681
9706
 
9682
- /**
9683
- * If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
9684
- * @since 1.12.0
9707
+ /**
9708
+ * If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
9709
+ * @since 1.12.0
9685
9710
  */
9686
9711
  multi: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.shape({
9687
9712
  max: _propTypes.default.number.isRequired
9688
9713
  })]),
9689
9714
 
9690
- /**
9691
- * @ignore Disabled state of multiple field.
9715
+ /**
9716
+ * @ignore Disabled state of multiple field.
9692
9717
  */
9693
9718
  disabled: _propTypes.default.bool,
9694
9719
 
9695
- /**
9696
- * Localization messages
9697
- * @since 1.12.0
9720
+ /**
9721
+ * Localization messages
9722
+ * @since 1.12.0
9698
9723
  */
9699
9724
  locale: _propTypes.default.shape({
9700
9725
  addMore: _propTypes.default.node,
9701
9726
  remove: _propTypes.default.node
9702
9727
  }),
9703
9728
 
9704
- /**
9705
- * Callback which called for all values. If it returns 'true' a pseudo-link 'Add more' will be disabled
9706
- * @ignore
9707
- * @deprecated
9729
+ /**
9730
+ * Callback which called for all values. If it returns 'true' a pseudo-link 'Add more' will be disabled
9731
+ * @ignore
9732
+ * @deprecated
9708
9733
  */
9709
9734
  addMoreValidator: _propTypes.default.func,
9710
9735
 
9711
- /**
9712
- * A callback function, can be executed when the row is removed.
9713
- * @since 1.12.0
9736
+ /**
9737
+ * A callback function, can be executed when the row is removed.
9738
+ * @since 1.12.0
9714
9739
  */
9715
9740
  onRemoveRow: _propTypes.default.func,
9716
9741
 
9717
- /**
9718
- * @ignore
9742
+ /**
9743
+ * @ignore
9719
9744
  */
9720
9745
  className: _propTypes.default.string,
9721
9746
 
9722
- /**
9723
- * @ignore
9747
+ /**
9748
+ * @ignore
9724
9749
  */
9725
9750
  baseClassName: _propTypes.default.string,
9726
9751
 
9727
- /**
9728
- * @ignore
9752
+ /**
9753
+ * @ignore
9729
9754
  */
9730
9755
  form: _propTypes.default.object,
9731
9756
 
9732
- /**
9733
- * Vertical or horizontal field view.
9734
- * If it is not defined explicitly, the vertical mode will use from Form or Section components.
9735
- * @since 3.13.0
9757
+ /**
9758
+ * Vertical or horizontal field view.
9759
+ * If it is not defined explicitly, the vertical mode will use from Form or Section components.
9760
+ * @since 3.13.0
9736
9761
  */
9737
9762
  vertical: _propTypes.default.bool,
9738
9763
 
9739
- /**
9740
- * @ignore
9764
+ /**
9765
+ * @ignore
9741
9766
  */
9742
9767
  scrollableElement: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Element), _propTypes.default.instanceOf(Window)])
9743
9768
  };
@@ -9765,14 +9790,14 @@ const defaultProps = {
9765
9790
  };
9766
9791
  FormField.propTypes = propTypes;
9767
9792
  FormField.defaultProps = defaultProps;
9768
- /**
9769
- * `FormField` component is used for showing of parameter values in Form or
9770
- * for entering of user data with any form elements.
9771
- *
9772
- * For the most cases the following form elements can be used:
9773
- * * [FormFieldText](#!/FormFieldText) for entering text,
9774
- * * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
9775
- * [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
9793
+ /**
9794
+ * `FormField` component is used for showing of parameter values in Form or
9795
+ * for entering of user data with any form elements.
9796
+ *
9797
+ * For the most cases the following form elements can be used:
9798
+ * * [FormFieldText](#!/FormFieldText) for entering text,
9799
+ * * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
9800
+ * [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
9776
9801
  */
9777
9802
 
9778
9803
  const FormFieldWrapper = props => {
@@ -10258,10 +10283,10 @@ class Form extends _react.Component {
10258
10283
  }
10259
10284
 
10260
10285
  }
10261
- /**
10262
- * `Form` component is used for entering and submitting of user data.
10263
- * [More details about designing of forms.](#!/Good%20Forms)
10264
- * @since 0.0.54
10286
+ /**
10287
+ * `Form` component is used for entering and submitting of user data.
10288
+ * [More details about designing of forms.](#!/Good%20Forms)
10289
+ * @since 0.0.54
10265
10290
  */
10266
10291
 
10267
10292
 
@@ -11172,12 +11197,12 @@ const getHref = (name, size) => {
11172
11197
  return `${_symbols.default}#${name}:${iconSize}`;
11173
11198
  };
11174
11199
 
11175
- /**
11176
- * `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
11177
- * bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
11178
- * of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
11179
- * standard sizes.
11180
- * @since 0.0.35
11200
+ /**
11201
+ * `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
11202
+ * bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
11203
+ * of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
11204
+ * standard sizes.
11205
+ * @since 0.0.35
11181
11206
  */
11182
11207
  const Icon = ({
11183
11208
  baseClassName = `${_constants.CLS_PREFIX}icon`,
@@ -11238,9 +11263,9 @@ exports.NAMES_12 = exports.NAMES = void 0;
11238
11263
 
11239
11264
  /* eslint-disable max-len */
11240
11265
  // This file is generated by create-svg-sprite. Do not edit.
11241
- const NAMES_12 = ['archive', 'arrow-back', 'arrow-diagonal-out', 'arrow-down', 'arrow-down-in', 'arrow-down-out', 'arrow-down-tray', 'arrow-left', 'arrow-right', 'arrow-right-in', 'arrow-right-out', 'arrow-up', 'arrow-up-circle', 'arrow-up-in', 'arrow-up-in-cloud', 'arrow-up-out', 'arrow-up-tray', 'arrows-four-directions', 'arrows-inward', 'arrows-loop', 'arrows-opposite', 'arrows-outward', 'backup', 'backup2', 'bar-chart-vertical', 'bar-chart-vertical-arrow-up', 'bell', 'book-email', 'boundary', 'box-diagonal-bottom-in', 'box-diagonal-top-in', 'brush', 'bug', 'calendar', 'calendar-clock', 'camera', 'card', 'card-ribbon', 'card-row', 'card-tile', 'cd', 'cd-up-in-cloud', 'chain', 'chain-broken', 'chat', 'check-list', 'check-mark', 'check-mark-circle', 'check-mark-circle-filled', 'chevron-double-down', 'chevron-double-up', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'circle-diagonal', 'clean', 'clip', 'clock', 'clone', 'cloud', 'cloud-checkmark', 'cloud-crossed', 'cloud-graph', 'code', 'connection', 'console', 'console-filled', 'copy', 'copy-indicator', 'cpu', 'crane', 'credit-cards', 'cross-mark', 'cross-mark-circle', 'cross-mark-circle-filled', 'crown-transfer', 'dashboard', 'database', 'database-box', 'database-plus', 'deploy', 'dollar', 'dollar-filled', 'emoticon-confused', 'emoticon-dead', 'emoticon-excited', 'emoticon-happy', 'emoticon-neutral', 'emoticon-sad', 'emoticon-smile', 'enter', 'exclamation-mark-circle', 'exclamation-mark-circle-filled', 'eye', 'eye-closed', 'facebook', 'facebook-filled', 'feedback', 'filter', 'filter-check-mark', 'fire', 'flag-globe', 'floppy-disk', 'folder-closed', 'folder-key', 'folder-network', 'folder-open', 'folders-tree', 'four-squares', 'gear', 'git', 'github', 'globe', 'hard-drive', 'hard-drive-key', 'hat', 'hexagons', 'home', 'info-circle', 'info-circle-filled', 'ip-addresses', 'kebab', 'key', 'lifebuoy', 'lightbulb', 'limit', 'linux', 'list', 'list-check-mark', 'location', 'lock-closed', 'lock-closed-check', 'lock-closed-filled', 'lock-open', 'lock-open-cross', 'lock-open-filled', 'mail', 'mail-settings', 'megaphone', 'menu', 'menu-thin', 'microsoft', 'minimize', 'minus', 'minus-circle', 'minus-circle-filled', 'monitoring', 'monitoring-off', 'my-little-admin', 'net', 'nine-dots', 'node-js', 'package', 'panel', 'panel-check', 'panel-eye', 'panel-key', 'panel-settings', 'panels', 'pause-circle', 'pencil', 'pencil-dialog', 'php', 'phpmyadmin', 'pin', 'pipette', 'plans', 'plugins', 'plus', 'power', 'projects', 'puzzle', 'question-mark-circle', 'question-mark-circle-filled', 'ram', 'react-js', 'recycle', 'refresh', 'reload', 'remove', 'reset', 'resource', 'ribbon', 'rocket', 'ruby', 'sand-clock', 'scan', 'screen', 'search', 'security-check', 'send', 'servers', 'share', 'shield', 'shield-chain', 'shopping-cart', 'sidebar-right-hide', 'sidebar-right-show', 'signal-light', 'site-page', 'sleep', 'sliders', 'square-with-circles', 'star', 'star-circle-filled', 'star-filled', 'star-half-filled', 'start', 'start-circle', 'stop', 'stop-circle', 'storage', 'themes', 'three-dots-horizontal', 'three-dots-vertical', 'tools', 'transfer', 'triangle-exclamation-mark', 'triangle-exclamation-mark-filled', 'unarchive', 'user', 'volume', 'web', 'web-plus', 'web-settings', 'windows', 'wordpress'];
11266
+ const NAMES_12 = ['archive', 'arrow-back', 'arrow-diagonal-out', 'arrow-down', 'arrow-down-in', 'arrow-down-out', 'arrow-down-tray', 'arrow-left', 'arrow-right', 'arrow-right-in', 'arrow-right-out', 'arrow-up', 'arrow-up-circle', 'arrow-up-in', 'arrow-up-in-cloud', 'arrow-up-out', 'arrow-up-tray', 'arrows-four-directions', 'arrows-inward', 'arrows-loop', 'arrows-opposite', 'arrows-outward', 'backup', 'backup2', 'bar-chart-vertical', 'bar-chart-vertical-arrow-up', 'bell', 'book-email', 'boundary', 'box-diagonal-bottom-in', 'box-diagonal-top-in', 'brush', 'bug', 'calendar', 'calendar-clock', 'camera', 'card', 'card-ribbon', 'card-row', 'card-tile', 'cd', 'cd-up-in-cloud', 'chain', 'chain-broken', 'chat', 'check-list', 'check-mark', 'check-mark-circle', 'check-mark-circle-filled', 'chevron-double-down', 'chevron-double-up', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'circle-diagonal', 'clean', 'clip', 'clock', 'clone', 'cloud', 'cloud-checkmark', 'cloud-crossed', 'cloud-graph', 'code', 'connection', 'console', 'console-filled', 'copy', 'copy-indicator', 'cpu', 'crane', 'credit-cards', 'cross-mark', 'cross-mark-circle', 'cross-mark-circle-filled', 'crown-transfer', 'dashboard', 'database', 'database-box', 'database-plus', 'deploy', 'docker-filled', 'dollar', 'dollar-filled', 'dot', 'emoticon-confused', 'emoticon-dead', 'emoticon-excited', 'emoticon-happy', 'emoticon-neutral', 'emoticon-sad', 'emoticon-smile', 'enter', 'exclamation-mark-circle', 'exclamation-mark-circle-filled', 'eye', 'eye-closed', 'facebook', 'facebook-filled', 'feedback', 'filter', 'filter-check-mark', 'fire', 'flag-globe', 'floppy-disk', 'folder-closed', 'folder-key', 'folder-network', 'folder-open', 'folders-tree', 'four-squares', 'gear', 'git', 'github', 'globe', 'hard-drive', 'hard-drive-key', 'hat', 'hexagons', 'home', 'info-circle', 'info-circle-filled', 'ip-addresses', 'kebab', 'key', 'lifebuoy', 'lightbulb', 'limit', 'linux', 'list', 'list-check-mark', 'location', 'lock-closed', 'lock-closed-check', 'lock-closed-filled', 'lock-open', 'lock-open-cross', 'lock-open-filled', 'mail', 'mail-settings', 'megaphone', 'menu', 'menu-thin', 'microsoft', 'minimize', 'minus', 'minus-circle', 'minus-circle-filled', 'monitoring', 'monitoring-off', 'my-little-admin', 'net', 'nine-dots', 'node-js', 'package', 'panel', 'panel-check', 'panel-eye', 'panel-key', 'panel-settings', 'panels', 'pause-circle', 'pencil', 'pencil-dialog', 'php', 'phpmyadmin', 'pin', 'pipette', 'plans', 'plugins', 'plus', 'power', 'projects', 'puzzle', 'question-mark-circle', 'question-mark-circle-filled', 'ram', 'react-js', 'recycle', 'refresh', 'reload', 'remove', 'reset', 'resource', 'ribbon', 'rocket', 'ruby', 'sand-clock', 'scan', 'screen', 'search', 'security-check', 'send', 'servers', 'share', 'shield', 'shield-chain', 'shopping-cart', 'sidebar-right-hide', 'sidebar-right-show', 'signal-light', 'site-page', 'sleep', 'sliders', 'square-with-circles', 'star', 'star-circle-filled', 'star-filled', 'star-half-filled', 'start', 'start-circle', 'stop', 'stop-circle', 'storage', 'themes', 'three-dots-horizontal', 'three-dots-vertical', 'tools', 'transfer', 'triangle-exclamation-mark', 'triangle-exclamation-mark-filled', 'unarchive', 'user', 'volume', 'web', 'web-plus', 'web-settings', 'windows', 'wordpress'];
11242
11267
  exports.NAMES_12 = NAMES_12;
11243
- const NAMES = ['archive', 'arrow-back', 'arrow-diagonal-out', 'arrow-down', 'arrow-down-in', 'arrow-down-out', 'arrow-down-tray', 'arrow-left', 'arrow-right', 'arrow-right-in', 'arrow-right-out', 'arrow-up', 'arrow-up-circle', 'arrow-up-in', 'arrow-up-in-cloud', 'arrow-up-out', 'arrow-up-tray', 'arrows-four-directions', 'arrows-inward', 'arrows-loop', 'arrows-opposite', 'arrows-outward', 'backup', 'backup2', 'bar-chart-vertical', 'bar-chart-vertical-arrow-up', 'bell', 'book-email', 'boundary', 'box-diagonal-bottom-in', 'box-diagonal-top-in', 'brush', 'bug', 'calendar', 'calendar-clock', 'camera', 'card', 'card-ribbon', 'card-row', 'card-tile', 'cd', 'cd-up-in-cloud', 'chain', 'chain-broken', 'chat', 'check-list', 'check-mark', 'check-mark-circle', 'check-mark-circle-filled', 'chevron-double-down', 'chevron-double-up', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'circle-diagonal', 'clean', 'clip', 'clock', 'clone', 'cloud', 'cloud-checkmark', 'cloud-crossed', 'cloud-graph', 'code', 'connection', 'console', 'console-filled', 'copy', 'copy-indicator', 'cpu', 'crane', 'credit-cards', 'cross-mark', 'cross-mark-circle', 'cross-mark-circle-filled', 'crown-transfer', 'dashboard', 'database', 'database-box', 'database-plus', 'deploy', 'dollar', 'dollar-filled', 'emoticon-confused', 'emoticon-dead', 'emoticon-excited', 'emoticon-happy', 'emoticon-neutral', 'emoticon-sad', 'emoticon-smile', 'enter', 'exclamation-mark-circle', 'exclamation-mark-circle-filled', 'eye', 'eye-closed', 'facebook', 'facebook-filled', 'feedback', 'filter', 'filter-check-mark', 'fire', 'flag-globe', 'floppy-disk', 'folder-closed', 'folder-key', 'folder-network', 'folder-open', 'folders-tree', 'four-squares', 'gear', 'git', 'github', 'globe', 'hard-drive', 'hard-drive-key', 'hat', 'hexagons', 'home', 'info-circle', 'info-circle-filled', 'ip-addresses', 'kebab', 'key', 'lifebuoy', 'lightbulb', 'limit', 'linux', 'list', 'list-check-mark', 'location', 'lock-closed', 'lock-closed-check', 'lock-closed-filled', 'lock-open', 'lock-open-cross', 'lock-open-filled', 'mail', 'mail-settings', 'megaphone', 'menu', 'menu-thin', 'microsoft', 'minimize', 'minus', 'minus-circle', 'minus-circle-filled', 'monitoring', 'monitoring-off', 'my-little-admin', 'net', 'nine-dots', 'node-js', 'package', 'panel', 'panel-check', 'panel-eye', 'panel-key', 'panel-settings', 'panels', 'pause-circle', 'pencil', 'pencil-dialog', 'php', 'phpmyadmin', 'pin', 'pipette', 'plans', 'plugins', 'plus', 'power', 'projects', 'puzzle', 'question-mark-circle', 'question-mark-circle-filled', 'ram', 'react-js', 'recycle', 'refresh', 'reload', 'remove', 'reset', 'resource', 'ribbon', 'rocket', 'ruby', 'sand-clock', 'scan', 'screen', 'search', 'security-check', 'send', 'servers', 'share', 'shield', 'shield-chain', 'shopping-cart', 'sidebar-right-hide', 'sidebar-right-show', 'signal-light', 'site-page', 'sleep', 'sliders', 'square-with-circles', 'star', 'star-circle-filled', 'star-filled', 'star-half-filled', 'start', 'start-circle', 'stop', 'stop-circle', 'storage', 'themes', 'three-dots-horizontal', 'three-dots-vertical', 'tools', 'transfer', 'triangle-exclamation-mark', 'triangle-exclamation-mark-filled', 'unarchive', 'user', 'volume', 'web', 'web-plus', 'web-settings', 'windows', 'wordpress'];
11268
+ const NAMES = ['archive', 'arrow-back', 'arrow-diagonal-out', 'arrow-down', 'arrow-down-in', 'arrow-down-out', 'arrow-down-tray', 'arrow-left', 'arrow-right', 'arrow-right-in', 'arrow-right-out', 'arrow-up', 'arrow-up-circle', 'arrow-up-in', 'arrow-up-in-cloud', 'arrow-up-out', 'arrow-up-tray', 'arrows-four-directions', 'arrows-inward', 'arrows-loop', 'arrows-opposite', 'arrows-outward', 'backup', 'backup2', 'bar-chart-vertical', 'bar-chart-vertical-arrow-up', 'bell', 'book-email', 'boundary', 'box-diagonal-bottom-in', 'box-diagonal-top-in', 'brush', 'bug', 'calendar', 'calendar-clock', 'camera', 'card', 'card-ribbon', 'card-row', 'card-tile', 'cd', 'cd-up-in-cloud', 'chain', 'chain-broken', 'chat', 'check-list', 'check-mark', 'check-mark-circle', 'check-mark-circle-filled', 'chevron-double-down', 'chevron-double-up', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'circle-diagonal', 'clean', 'clip', 'clock', 'clone', 'cloud', 'cloud-checkmark', 'cloud-crossed', 'cloud-graph', 'code', 'connection', 'console', 'console-filled', 'copy', 'copy-indicator', 'cpu', 'crane', 'credit-cards', 'cross-mark', 'cross-mark-circle', 'cross-mark-circle-filled', 'crown-transfer', 'dashboard', 'database', 'database-box', 'database-plus', 'deploy', 'docker-filled', 'dollar', 'dollar-filled', 'dot', 'emoticon-confused', 'emoticon-dead', 'emoticon-excited', 'emoticon-happy', 'emoticon-neutral', 'emoticon-sad', 'emoticon-smile', 'enter', 'exclamation-mark-circle', 'exclamation-mark-circle-filled', 'eye', 'eye-closed', 'facebook', 'facebook-filled', 'feedback', 'filter', 'filter-check-mark', 'fire', 'flag-globe', 'floppy-disk', 'folder-closed', 'folder-key', 'folder-network', 'folder-open', 'folders-tree', 'four-squares', 'gear', 'git', 'github', 'globe', 'hard-drive', 'hard-drive-key', 'hat', 'hexagons', 'home', 'info-circle', 'info-circle-filled', 'ip-addresses', 'kebab', 'key', 'lifebuoy', 'lightbulb', 'limit', 'linux', 'list', 'list-check-mark', 'location', 'lock-closed', 'lock-closed-check', 'lock-closed-filled', 'lock-open', 'lock-open-cross', 'lock-open-filled', 'mail', 'mail-settings', 'megaphone', 'menu', 'menu-thin', 'microsoft', 'minimize', 'minus', 'minus-circle', 'minus-circle-filled', 'monitoring', 'monitoring-off', 'my-little-admin', 'net', 'nine-dots', 'node-js', 'package', 'panel', 'panel-check', 'panel-eye', 'panel-key', 'panel-settings', 'panels', 'pause-circle', 'pencil', 'pencil-dialog', 'php', 'phpmyadmin', 'pin', 'pipette', 'plans', 'plugins', 'plus', 'power', 'projects', 'puzzle', 'question-mark-circle', 'question-mark-circle-filled', 'ram', 'react-js', 'recycle', 'refresh', 'reload', 'remove', 'reset', 'resource', 'ribbon', 'rocket', 'ruby', 'sand-clock', 'scan', 'screen', 'search', 'security-check', 'send', 'servers', 'share', 'shield', 'shield-chain', 'shopping-cart', 'sidebar-right-hide', 'sidebar-right-show', 'signal-light', 'site-page', 'sleep', 'sliders', 'square-with-circles', 'star', 'star-circle-filled', 'star-filled', 'star-half-filled', 'start', 'start-circle', 'stop', 'stop-circle', 'storage', 'themes', 'three-dots-horizontal', 'three-dots-vertical', 'tools', 'transfer', 'triangle-exclamation-mark', 'triangle-exclamation-mark-filled', 'unarchive', 'user', 'volume', 'web', 'web-plus', 'web-settings', 'windows', 'wordpress'];
11244
11269
  exports.NAMES = NAMES;
11245
11270
 
11246
11271
  /***/ }),
@@ -11926,9 +11951,9 @@ const toNumber = value => {
11926
11951
  const isMinDisabled = (value, min) => min !== undefined && value !== '' && value <= min;
11927
11952
 
11928
11953
  const isMaxDisabled = (value, max) => max !== undefined && value !== '' && value >= max;
11929
- /**
11930
- * `InputNumber` component is used for entering integer numbers.
11931
- * @since 2.2.0
11954
+ /**
11955
+ * `InputNumber` component is used for entering integer numbers.
11956
+ * @since 2.2.0
11932
11957
  */
11933
11958
 
11934
11959
 
@@ -12226,6 +12251,7 @@ const ItemLink = ({
12226
12251
  baseClassName = `${_constants.CLS_PREFIX}item-link`,
12227
12252
  className,
12228
12253
  children,
12254
+ hoverable,
12229
12255
  ...props
12230
12256
  }) => {
12231
12257
  if (props.onClick) {
@@ -12336,10 +12362,10 @@ const getNextSelectedValue = (value, prevValue, toggleable) => {
12336
12362
  return value;
12337
12363
  };
12338
12364
 
12339
- /**
12340
- * `ItemList` component is used for displaying list of [Items](#!/Item)
12341
- * according to [Grid](#!/Grid) principle.
12342
- * @since 0.0.48
12365
+ /**
12366
+ * `ItemList` component is used for displaying list of [Items](#!/Item)
12367
+ * according to [Grid](#!/Grid) principle.
12368
+ * @since 0.0.48
12343
12369
  */
12344
12370
  class ItemList extends _react.Component {
12345
12371
  constructor(_props) {
@@ -12350,7 +12376,8 @@ class ItemList extends _react.Component {
12350
12376
  baseClassName,
12351
12377
  selectable,
12352
12378
  onSelect,
12353
- reorderable
12379
+ reorderable,
12380
+ hoverable
12354
12381
  } = this.props;
12355
12382
  const classNameList = [`${baseClassName}__item`];
12356
12383
  const props = {};
@@ -12375,6 +12402,11 @@ class ItemList extends _react.Component {
12375
12402
  });
12376
12403
  (0, _utils.safeInvoke)(onSelect, nextValue);
12377
12404
  };
12405
+ } // Extends hoverable behavior from the ItemList in case if its child doesn't have its own
12406
+
12407
+
12408
+ if (item.props.hoverable === undefined) {
12409
+ props.hoverable = hoverable && this.canManageHoverableState();
12378
12410
  }
12379
12411
 
12380
12412
  if (reorderable) {
@@ -12467,20 +12499,45 @@ class ItemList extends _react.Component {
12467
12499
  }));
12468
12500
  }
12469
12501
 
12470
- hasViewCard() {
12471
- const {
12472
- children
12473
- } = this.props;
12502
+ someChild(predicate) {
12474
12503
  let result = false;
12475
12504
 
12476
- _react.Children.forEach(children, child => {
12477
- if (child && child.props && child.props.view === 'card') {
12505
+ _react.Children.forEach(this.props.children, child => {
12506
+ if (child && predicate(child)) {
12478
12507
  result = true;
12479
12508
  }
12480
12509
  });
12481
12510
 
12482
12511
  return result;
12483
12512
  }
12513
+ /**
12514
+ * There are some states where we can't manage hoverable state
12515
+ */
12516
+
12517
+
12518
+ canManageHoverableState() {
12519
+ const {
12520
+ reorderable,
12521
+ selectable
12522
+ } = this.props;
12523
+ return !reorderable && !selectable;
12524
+ }
12525
+
12526
+ isHoverable() {
12527
+ if (!this.canManageHoverableState()) {
12528
+ return false;
12529
+ }
12530
+
12531
+ return this.props.hoverable || this.hasHoverableCard();
12532
+ }
12533
+
12534
+ hasViewCard() {
12535
+ return this.someChild(child => child.props && child.props.view === 'card');
12536
+ }
12537
+
12538
+ hasHoverableCard() {
12539
+ return this.someChild(child => child.props && !!child.props.hoverable);
12540
+ }
12484
12541
 
12485
12542
  renderReorderable({
12486
12543
  baseClassName,
@@ -12539,7 +12596,7 @@ class ItemList extends _react.Component {
12539
12596
  } = this.props;
12540
12597
  return /*#__PURE__*/_react.default.createElement("div", {
12541
12598
  className: (0, _classnames.default)(this.props.baseClassName, {
12542
- [`${this.props.baseClassName}--hoverable`]: hoverable && !reorderable && !selectable,
12599
+ [`${this.props.baseClassName}--hoverable`]: this.isHoverable(),
12543
12600
  [`${this.props.baseClassName}--stretchable`]: stretchable,
12544
12601
  [`${this.props.baseClassName}--selectable`]: selectable,
12545
12602
  [`${this.props.baseClassName}--cards`]: this.hasViewCard()
@@ -12634,10 +12691,10 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
12634
12691
 
12635
12692
  const VIEW_SIMPLE = 'simple';
12636
12693
  const VIEW_CARD = 'card';
12637
- /**
12638
- * `Item` component is element of [ItemList](#!/ItemList) and it is presented as
12639
- * a combination of icon, text title and content (similar to [Media](#!/Media)).
12640
- * @since 0.0.48
12694
+ /**
12695
+ * `Item` component is element of [ItemList](#!/ItemList) and it is presented as
12696
+ * a combination of icon, text title and content (similar to [Media](#!/Media)).
12697
+ * @since 0.0.48
12641
12698
  */
12642
12699
 
12643
12700
  class Item extends _react.Component {
@@ -12706,6 +12763,7 @@ class Item extends _react.Component {
12706
12763
  value,
12707
12764
  tooltip,
12708
12765
  disabled,
12766
+ hoverable,
12709
12767
  ...props
12710
12768
  } = this.props;
12711
12769
 
@@ -12726,7 +12784,8 @@ class Item extends _react.Component {
12726
12784
  const item = /*#__PURE__*/_react.default.createElement(Tag, _extends({
12727
12785
  className: (0, _classnames.default)(baseClassName, {
12728
12786
  [`${baseClassName}--card`]: view === 'card',
12729
- [`${baseClassName}--disabled`]: disabled
12787
+ [`${baseClassName}--disabled`]: disabled,
12788
+ [`${baseClassName}--hoverable`]: hoverable
12730
12789
  }, className)
12731
12790
  }, props), /*#__PURE__*/_react.default.createElement(_Media.default, {
12732
12791
  image: this.renderIcon(icon),
@@ -12752,79 +12811,86 @@ class Item extends _react.Component {
12752
12811
  }
12753
12812
 
12754
12813
  Item.propTypes = {
12755
- /**
12756
- * Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.
12757
- * @since 0.0.48
12814
+ /**
12815
+ * Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.
12816
+ * @since 0.0.48
12758
12817
  */
12759
12818
  component: _propTypes.default.elementType,
12760
12819
 
12761
- /**
12762
- * View mode.
12763
- * @since 2.1.0
12820
+ /**
12821
+ * View mode.
12822
+ * @since 2.1.0
12764
12823
  */
12765
12824
  view: _propTypes.default.oneOf([VIEW_SIMPLE, VIEW_CARD]),
12766
12825
 
12767
- /**
12768
- * Icon.
12769
- * @since 0.0.48
12826
+ /**
12827
+ * Icon.
12828
+ * @since 0.0.48
12770
12829
  */
12771
12830
  icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
12772
12831
 
12773
- /**
12774
- * Title.
12775
- * @since 0.0.48
12832
+ /**
12833
+ * Title.
12834
+ * @since 0.0.48
12776
12835
  */
12777
12836
  title: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
12778
12837
 
12779
- /**
12780
- * Content for footer.
12781
- * @since 2.1.0
12838
+ /**
12839
+ * Content for footer.
12840
+ * @since 2.1.0
12782
12841
  */
12783
12842
  footer: _propTypes.default.node,
12784
12843
 
12785
- /**
12786
- * Description. Renders as small grey text.
12787
- * @since 2.1.0
12844
+ /**
12845
+ * Description. Renders as small grey text.
12846
+ * @since 2.1.0
12788
12847
  */
12789
12848
  description: _propTypes.default.node,
12790
12849
 
12791
- /**
12792
- * Content of the `Item`.
12793
- * @since 0.0.48
12850
+ /**
12851
+ * Content of the `Item`.
12852
+ * @since 0.0.48
12794
12853
  */
12795
12854
  children: _propTypes.default.node,
12796
12855
 
12797
- /**
12798
- * An unique value. It needs only in ItemList with selectable view.
12799
- * @since 2.3.0
12856
+ /**
12857
+ * An unique value. It needs only in ItemList with selectable view.
12858
+ * @since 2.3.0
12800
12859
  */
12801
12860
  value: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
12802
12861
 
12803
- /**
12804
- * Tooltip for component.
12805
- * @since 2.5.1
12862
+ /**
12863
+ * Tooltip for component.
12864
+ * @since 2.5.1
12806
12865
  */
12807
12866
  tooltip: _propTypes.default.node,
12808
12867
 
12809
- /**
12810
- * @ignore
12868
+ /**
12869
+ * @ignore
12811
12870
  */
12812
12871
  className: _propTypes.default.string,
12813
12872
 
12814
- /**
12815
- * @ignore
12873
+ /**
12874
+ * @ignore
12816
12875
  */
12817
12876
  baseClassName: _propTypes.default.string,
12818
12877
 
12819
- /**
12820
- * Whether disabled or not.
12821
- * @since 3.15.0
12878
+ /**
12879
+ * Whether disabled or not.
12880
+ * @since 3.15.0
12881
+ */
12882
+ disabled: _propTypes.default.bool,
12883
+
12884
+ /**
12885
+ * Add hover shadow and pointer cursor.
12886
+ * @since 3.26.0
12822
12887
  */
12823
- disabled: _propTypes.default.bool
12888
+ hoverable: _propTypes.default.bool
12824
12889
  };
12825
12890
  Item.defaultProps = {
12826
12891
  component: 'div',
12827
12892
  view: VIEW_SIMPLE,
12893
+ hoverable: undefined,
12828
12894
  title: undefined,
12829
12895
  description: undefined,
12830
12896
  icon: undefined,
@@ -13090,104 +13156,104 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
13090
13156
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13091
13157
 
13092
13158
  const propTypes = {
13093
- /**
13094
- * Type of the `Layout`
13095
- * @since 1.4.0
13159
+ /**
13160
+ * Type of the `Layout`
13161
+ * @since 1.4.0
13096
13162
  */
13097
13163
  type: _propTypes.default.oneOf(['fluid', 'simplified']),
13098
13164
 
13099
- /**
13100
- * Header content.
13101
- * @since 1.4.0
13165
+ /**
13166
+ * Header content.
13167
+ * @since 1.4.0
13102
13168
  */
13103
13169
  header: _propTypes.default.node,
13104
13170
 
13105
- /**
13106
- * Define header position - always on top (fixed) or static.
13107
- * @since 1.4.0
13171
+ /**
13172
+ * Define header position - always on top (fixed) or static.
13173
+ * @since 1.4.0
13108
13174
  */
13109
13175
  headerFixed: _propTypes.default.bool,
13110
13176
 
13111
- /**
13112
- * Additional content at the top of the header.
13113
- * @since 3.2.0
13177
+ /**
13178
+ * Additional content at the top of the header.
13179
+ * @since 3.2.0
13114
13180
  */
13115
13181
  headerAddon: _propTypes.default.node,
13116
13182
 
13117
- /**
13118
- * Sidebar content.
13119
- * @since 1.4.0
13183
+ /**
13184
+ * Sidebar content.
13185
+ * @since 1.4.0
13120
13186
  */
13121
13187
  sidebar: _propTypes.default.node,
13122
13188
 
13123
- /**
13124
- * Sidebar type.
13125
- * @since 3.2.0
13189
+ /**
13190
+ * Sidebar type.
13191
+ * @since 3.2.0
13126
13192
  */
13127
13193
  sidebarType: _propTypes.default.oneOf(['collapsed', 'folded']),
13128
13194
 
13129
- /**
13130
- * Define if sidebar can collapse.
13131
- * @since 1.4.0
13195
+ /**
13196
+ * Define if sidebar can collapse.
13197
+ * @since 1.4.0
13132
13198
  */
13133
13199
  sidebarCollapsible: _propTypes.default.bool,
13134
13200
 
13135
- /**
13136
- * Sidebar collapsed state.
13137
- * A boolean value is used for desktop mode only, but you can set an array with collapsed states for all modes, e.g. `['responsive', 'desktop']`.
13138
- *
13139
- * @since 1.4.0
13201
+ /**
13202
+ * Sidebar collapsed state.
13203
+ * A boolean value is used for desktop mode only, but you can set an array with collapsed states for all modes, e.g. `['responsive', 'desktop']`.
13204
+ *
13205
+ * @since 1.4.0
13140
13206
  */
13141
13207
  sidebarCollapsed: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.array]),
13142
13208
 
13143
- /**
13144
- * Additional content between header and main content.
13145
- * @since 1.4.0
13209
+ /**
13210
+ * Additional content between header and main content.
13211
+ * @since 1.4.0
13146
13212
  */
13147
13213
  contentAddon: _propTypes.default.node,
13148
13214
 
13149
- /**
13150
- * Content header.
13151
- * @since 3.0.0
13215
+ /**
13216
+ * Content header.
13217
+ * @since 3.0.0
13152
13218
  */
13153
13219
  contentHeader: _propTypes.default.node,
13154
13220
 
13155
- /**
13156
- * Footer content.
13157
- * @since 1.4.0
13221
+ /**
13222
+ * Footer content.
13223
+ * @since 1.4.0
13158
13224
  */
13159
13225
  footer: _propTypes.default.node,
13160
13226
 
13161
- /**
13162
- * Main content of the `Layout`.
13163
- * @since 1.4.0
13227
+ /**
13228
+ * Main content of the `Layout`.
13229
+ * @since 1.4.0
13164
13230
  */
13165
13231
  children: _propTypes.default.node,
13166
13232
 
13167
- /**
13168
- * Width of the content
13169
- * @since 3.0.0
13233
+ /**
13234
+ * Width of the content
13235
+ * @since 3.0.0
13170
13236
  */
13171
13237
  width: _propTypes.default.oneOf(['sm', 'md', 'lg']),
13172
13238
 
13173
- /**
13174
- * Sidebar onToggle handler.
13175
- * The handler is called with two args:
13176
- *
13177
- * * Whether collapsed or not.
13178
- * * In which mode: responsive or desktop.
13179
- *
13180
- * @since 1.4.0
13239
+ /**
13240
+ * Sidebar onToggle handler.
13241
+ * The handler is called with two args:
13242
+ *
13243
+ * * Whether collapsed or not.
13244
+ * * In which mode: responsive or desktop.
13245
+ *
13246
+ * @since 1.4.0
13181
13247
  */
13182
13248
  onSidebarToggle: _propTypes.default.func,
13183
13249
 
13184
- /**
13185
- * @ignore
13250
+ /**
13251
+ * @ignore
13186
13252
  */
13187
13253
  className: _propTypes.default.string,
13188
13254
 
13189
- /**
13190
- * @ignore
13255
+ /**
13256
+ * @ignore
13191
13257
  */
13192
13258
  baseClassName: _propTypes.default.string
13193
13259
  };
@@ -13237,8 +13303,8 @@ const subscribeClickOutside = (refs, handler) => {
13237
13303
  document.removeEventListener('touchstart', listener);
13238
13304
  };
13239
13305
  };
13240
- /**
13241
- * @since 1.4.0
13306
+ /**
13307
+ * @since 1.4.0
13242
13308
  */
13243
13309
 
13244
13310
 
@@ -13931,10 +13997,10 @@ const getHumanTotalRows = ({
13931
13997
  return null;
13932
13998
  }
13933
13999
  };
13934
- /**
13935
- * `List` component is used for displaying a collection of tabular data.
13936
- * [More details about designing of lists.](#!/Sets%20of%20Objects)
13937
- * @since 0.0.42
14000
+ /**
14001
+ * `List` component is used for displaying a collection of tabular data.
14002
+ * [More details about designing of lists.](#!/Sets%20of%20Objects)
14003
+ * @since 0.0.42
13938
14004
  */
13939
14005
 
13940
14006
 
@@ -14668,9 +14734,14 @@ class List extends _react.Component {
14668
14734
 
14669
14735
  if (totalRows && /*#__PURE__*/(0, _react.isValidElement)(pagination)) {
14670
14736
  const {
14671
- itemsPerPageOptions = _Pagination.ITEMS_PER_PAGE_OPTIONS
14737
+ itemsPerPageOptions = _Pagination.ITEMS_PER_PAGE_OPTIONS,
14738
+ itemsPerPage
14672
14739
  } = pagination.props;
14673
14740
 
14741
+ if (Number.isInteger(itemsPerPage)) {
14742
+ return totalRows > itemsPerPage;
14743
+ }
14744
+
14674
14745
  if (Array.isArray(itemsPerPageOptions)) {
14675
14746
  const numericOptions = itemsPerPageOptions.filter(v => Number(v) === v);
14676
14747
 
@@ -15123,214 +15194,214 @@ class List extends _react.Component {
15123
15194
  }
15124
15195
 
15125
15196
  List.propTypes = {
15126
- /**
15127
- * Columns definition.
15128
- *
15129
- * In addition to the properties described below, you can use any native properties
15130
- * supported by the `TH` element like `className`, `style`, etc.
15131
- * @since 0.0.42
15197
+ /**
15198
+ * Columns definition.
15199
+ *
15200
+ * In addition to the properties described below, you can use any native properties
15201
+ * supported by the `TH` element like `className`, `style`, etc.
15202
+ * @since 0.0.42
15132
15203
  */
15133
15204
  columns: _propTypes.default.arrayOf(_propTypes.default.shape({
15134
- /**
15135
- * Unique column key.
15205
+ /**
15206
+ * Unique column key.
15136
15207
  */
15137
15208
  key: _propTypes.default.string.isRequired,
15138
15209
 
15139
- /**
15140
- * Column title.
15210
+ /**
15211
+ * Column title.
15141
15212
  */
15142
15213
  title: _propTypes.default.node,
15143
15214
 
15144
- /**
15145
- * Optional cell renderer function: `row => Component`. By default render value of cell.
15146
- * The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
15215
+ /**
15216
+ * Optional cell renderer function: `row => Component`. By default render value of cell.
15217
+ * The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
15147
15218
  */
15148
15219
  render: _propTypes.default.func,
15149
15220
 
15150
- /**
15151
- * Is column sortable.
15152
- * Default is `false`
15221
+ /**
15222
+ * Is column sortable.
15223
+ * Default is `false`
15153
15224
  */
15154
15225
  sortable: _propTypes.default.bool,
15155
15226
 
15156
- /**
15157
- * Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
15227
+ /**
15228
+ * Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
15158
15229
  */
15159
15230
  sort: _propTypes.default.func,
15160
15231
 
15161
- /**
15162
- * Column alignment.
15232
+ /**
15233
+ * Column alignment.
15163
15234
  */
15164
15235
  align: _propTypes.default.oneOf(['left', 'center', 'right']),
15165
15236
 
15166
- /**
15167
- * Truncate the text in cell with an ellipsis.
15237
+ /**
15238
+ * Truncate the text in cell with an ellipsis.
15168
15239
  */
15169
15240
  truncate: _propTypes.default.bool,
15170
15241
 
15171
- /**
15172
- * Determine type of column content.
15173
- *
15174
- * * title - There should a title of the row.
15175
- * * controls - There should be some control: a button or a dropdown.
15176
- * * actions - There should be the ListAction component.
15242
+ /**
15243
+ * Determine type of column content.
15244
+ *
15245
+ * * title - There should a title of the row.
15246
+ * * controls - There should be some control: a button or a dropdown.
15247
+ * * actions - There should be the ListAction component.
15177
15248
  */
15178
15249
  type: _propTypes.default.oneOf(['title', 'controls', 'actions'])
15179
15250
  })).isRequired,
15180
15251
 
15181
- /**
15182
- * Array of row objects.
15183
- *
15184
- * Each row must contains `key` property, all columns keys, and can contain `disabled` property.
15185
- * @since 0.0.42
15252
+ /**
15253
+ * Array of row objects.
15254
+ *
15255
+ * Each row must contains `key` property, all columns keys, and can contain `disabled` property.
15256
+ * @since 0.0.42
15186
15257
  */
15187
15258
  data: _propTypes.default.arrayOf(_propTypes.default.shape({
15188
- /**
15189
- * Unique column key. This property can by renamed using `rowKey` property of List.
15259
+ /**
15260
+ * Unique column key. This property can by renamed using `rowKey` property of List.
15190
15261
  */
15191
15262
  key: _propTypes.default.string,
15192
15263
 
15193
- /**
15194
- * Optional property for disabling ability to select this row.
15264
+ /**
15265
+ * Optional property for disabling ability to select this row.
15195
15266
  */
15196
15267
  disabled: _propTypes.default.bool,
15197
15268
 
15198
- /**
15199
- * Optional array of children rows.
15269
+ /**
15270
+ * Optional array of children rows.
15200
15271
  */
15201
15272
  data: _propTypes.default.array
15202
15273
  })),
15203
15274
 
15204
- /**
15205
- * Current sort column key
15206
- * @since 0.0.42
15275
+ /**
15276
+ * Current sort column key
15277
+ * @since 0.0.42
15207
15278
  */
15208
15279
  sortColumn: _propTypes.default.string,
15209
15280
 
15210
- /**
15211
- * Sort direction of the column being sorted.
15212
- * @since 0.0.42
15281
+ /**
15282
+ * Sort direction of the column being sorted.
15283
+ * @since 0.0.42
15213
15284
  */
15214
15285
  sortDirection: _propTypes.default.oneOf(['ASC', 'DESC']),
15215
15286
 
15216
- /**
15217
- * Sort change handler
15218
- * @since 0.0.42
15287
+ /**
15288
+ * Sort change handler
15289
+ * @since 0.0.42
15219
15290
  */
15220
15291
  onSortChange: _propTypes.default.func,
15221
15292
 
15222
- /**
15223
- * Array of keys of selected rows
15224
- * @since 0.0.42
15293
+ /**
15294
+ * Array of keys of selected rows
15295
+ * @since 0.0.42
15225
15296
  */
15226
15297
  selection: _propTypes.default.array,
15227
15298
 
15228
- /**
15229
- * Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
15230
- * @since 0.0.42
15299
+ /**
15300
+ * Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
15301
+ * @since 0.0.42
15231
15302
  */
15232
15303
  onSelectionChange: _propTypes.default.func,
15233
15304
 
15234
- /**
15235
- * Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
15236
- * @since 3.19.0
15305
+ /**
15306
+ * Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
15307
+ * @since 3.19.0
15237
15308
  */
15238
15309
  renderSelectionCheckbox: _propTypes.default.func,
15239
15310
 
15240
- /**
15241
- * Row's key getter. Could be a string or function like: `row => <unique_string>`
15242
- * @since 0.0.45
15311
+ /**
15312
+ * Row's key getter. Could be a string or function like: `row => <unique_string>`
15313
+ * @since 0.0.45
15243
15314
  */
15244
15315
  rowKey: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
15245
15316
 
15246
- /**
15247
- * Renderer for a row body. Should return ReactNode.
15248
- * @since 1.12.0
15317
+ /**
15318
+ * Renderer for a row body. Should return ReactNode.
15319
+ * @since 1.12.0
15249
15320
  */
15250
15321
  renderRowBody: _propTypes.default.func,
15251
15322
 
15252
- /**
15253
- * Array of keys of expanded rows
15254
- * @since 1.12.0
15323
+ /**
15324
+ * Array of keys of expanded rows
15325
+ * @since 1.12.0
15255
15326
  */
15256
15327
  expandedRows: _propTypes.default.array,
15257
15328
 
15258
- /**
15259
- * Array of keys of rows which not have expand indicator
15260
- * @since 1.12.0
15329
+ /**
15330
+ * Array of keys of rows which not have expand indicator
15331
+ * @since 1.12.0
15261
15332
  */
15262
15333
  notExpandableRows: _propTypes.default.array,
15263
15334
 
15264
- /**
15265
- * Rows expanding change handler.
15266
- * @since 1.12.0
15335
+ /**
15336
+ * Rows expanding change handler.
15337
+ * @since 1.12.0
15267
15338
  */
15268
15339
  onExpandedRowsChange: _propTypes.default.func,
15269
15340
 
15270
- /**
15271
- * Array of keys of loading rows. They are displayed instead of checkboxes.
15272
- * @since 2.5.0
15341
+ /**
15342
+ * Array of keys of loading rows. They are displayed instead of checkboxes.
15343
+ * @since 2.5.0
15273
15344
  */
15274
15345
  loadingRows: _propTypes.default.array,
15275
15346
 
15276
- /**
15277
- * A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
15278
- * @since 2.4.0
15347
+ /**
15348
+ * A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
15349
+ * @since 2.4.0
15279
15350
  */
15280
15351
  pagination: _propTypes.default.node,
15281
15352
 
15282
- /**
15283
- * Total rows count, including nested rows. Usually, it uses together with pagination.
15284
- * @since 2.4.0
15353
+ /**
15354
+ * Total rows count, including nested rows. Usually, it uses together with pagination.
15355
+ * @since 2.4.0
15285
15356
  */
15286
15357
  totalRows: _propTypes.default.number,
15287
15358
 
15288
- /**
15289
- * A `Toolbar` element.
15290
- * @since 2.4.0
15359
+ /**
15360
+ * A `Toolbar` element.
15361
+ * @since 2.4.0
15291
15362
  */
15292
15363
  toolbar: _propTypes.default.node,
15293
15364
 
15294
- /**
15295
- * A flag that all rows are selected.
15296
- * @since 2.4.0
15365
+ /**
15366
+ * A flag that all rows are selected.
15367
+ * @since 2.4.0
15297
15368
  */
15298
15369
  allRowsSelected: _propTypes.default.bool,
15299
15370
 
15300
- /**
15301
- * A callback executed when the allRowsSelected prop is changed.
15302
- * @since 2.4.0
15371
+ /**
15372
+ * A callback executed when the allRowsSelected prop is changed.
15373
+ * @since 2.4.0
15303
15374
  */
15304
15375
  onAllRowsSelectedChange: _propTypes.default.func,
15305
15376
 
15306
- /**
15307
- * Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
15308
- * @since 3.0.1
15377
+ /**
15378
+ * Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
15379
+ * @since 3.0.1
15309
15380
  */
15310
15381
  filtered: _propTypes.default.bool,
15311
15382
 
15312
- /**
15313
- * A custom view for the case when data is absent.
15314
- * @since 2.5.0
15383
+ /**
15384
+ * A custom view for the case when data is absent.
15385
+ * @since 2.5.0
15315
15386
  */
15316
15387
  emptyView: _propTypes.default.node,
15317
15388
 
15318
- /**
15319
- * Which part of the List component should be replaced by the empty view.
15320
- * @since 2.6.0
15321
- * @deprecated Use `filtered` instead.
15389
+ /**
15390
+ * Which part of the List component should be replaced by the empty view.
15391
+ * @since 2.6.0
15392
+ * @deprecated Use `filtered` instead.
15322
15393
  */
15323
15394
  emptyViewMode: _propTypes.default.oneOf(['all', 'items']),
15324
15395
 
15325
- /**
15326
- * A slot on the right of the items.
15327
- * @since 2.6.0
15396
+ /**
15397
+ * A slot on the right of the items.
15398
+ * @since 2.6.0
15328
15399
  */
15329
15400
  sidebar: _propTypes.default.node,
15330
15401
 
15331
- /**
15332
- * Custom localization messages.
15333
- * @since 2.6.0
15402
+ /**
15403
+ * Custom localization messages.
15404
+ * @since 2.6.0
15334
15405
  */
15335
15406
  locale: _propTypes.default.shape({
15336
15407
  selectAll: _propTypes.default.node,
@@ -15340,49 +15411,49 @@ List.propTypes = {
15340
15411
  selectedRows: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])
15341
15412
  }),
15342
15413
 
15343
- /**
15344
- * Render List row's content vertically.
15345
- * When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
15346
- * @since 3.3.0
15414
+ /**
15415
+ * Render List row's content vertically.
15416
+ * When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
15417
+ * @since 3.3.0
15347
15418
  */
15348
15419
  vertical: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.number]),
15349
15420
 
15350
- /**
15351
- * Indicate the loading state of the list.
15352
- * @since 3.3.1
15421
+ /**
15422
+ * Indicate the loading state of the list.
15423
+ * @since 3.3.1
15353
15424
  */
15354
15425
  loading: _propTypes.default.bool,
15355
15426
 
15356
- /**
15357
- * Apply some props to each row.
15358
- *
15359
- * `virtual` - Virtual row does not have any controls.
15360
- *
15361
- * @since 3.11.0
15427
+ /**
15428
+ * Apply some props to each row.
15429
+ *
15430
+ * `virtual` - Virtual row does not have any controls.
15431
+ *
15432
+ * @since 3.11.0
15362
15433
  */
15363
15434
  rowProps: _propTypes.default.oneOfType([_propTypes.default.shape({
15364
15435
  virtual: _propTypes.default.bool
15365
15436
  }), _propTypes.default.func]),
15366
15437
 
15367
- /**
15368
- * Enable reorderable view.
15369
- * @since 3.18.0
15438
+ /**
15439
+ * Enable reorderable view.
15440
+ * @since 3.18.0
15370
15441
  */
15371
15442
  reorderable: _propTypes.default.bool,
15372
15443
 
15373
- /**
15374
- * Reorder end handler.
15375
- * @since 3.18.0
15444
+ /**
15445
+ * Reorder end handler.
15446
+ * @since 3.18.0
15376
15447
  */
15377
15448
  onReorderEnd: _propTypes.default.func,
15378
15449
 
15379
- /**
15380
- * @ignore
15450
+ /**
15451
+ * @ignore
15381
15452
  */
15382
15453
  className: _propTypes.default.string,
15383
15454
 
15384
- /**
15385
- * @ignore
15455
+ /**
15456
+ * @ignore
15386
15457
  */
15387
15458
  baseClassName: _propTypes.default.string
15388
15459
  };
@@ -16138,9 +16209,9 @@ const useTranslate = namespace => {
16138
16209
 
16139
16210
  exports.useTranslate = useTranslate;
16140
16211
 
16141
- /**
16142
- * LocaleProvider provides a uniform localization support for built-in text of components.
16143
- * @since 0.0.42
16212
+ /**
16213
+ * LocaleProvider provides a uniform localization support for built-in text of components.
16214
+ * @since 0.0.42
16144
16215
  */
16145
16216
  class LocaleProvider extends _react.PureComponent {
16146
16217
  getChildContext() {
@@ -16875,9 +16946,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
16875
16946
 
16876
16947
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16877
16948
 
16878
- /**
16879
- * `MenuBaseItem` component.
16880
- * @since 0.0.60
16949
+ /**
16950
+ * `MenuBaseItem` component.
16951
+ * @since 0.0.60
16881
16952
  */
16882
16953
  const MenuBaseItem = ({
16883
16954
  baseClassName,
@@ -16900,37 +16971,37 @@ const MenuBaseItem = ({
16900
16971
  }, label));
16901
16972
 
16902
16973
  MenuBaseItem.propTypes = {
16903
- /**
16904
- * Icon
16905
- * @since 0.0.60
16974
+ /**
16975
+ * Icon
16976
+ * @since 0.0.60
16906
16977
  */
16907
16978
  icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
16908
16979
 
16909
- /**
16910
- * Right label of item.
16911
- * @since 0.0.60
16980
+ /**
16981
+ * Right label of item.
16982
+ * @since 0.0.60
16912
16983
  */
16913
16984
  label: _propTypes.default.node,
16914
16985
 
16915
- /**
16916
- * Content of the `MenuBaseItem`.
16917
- * @since 0.0.60
16986
+ /**
16987
+ * Content of the `MenuBaseItem`.
16988
+ * @since 0.0.60
16918
16989
  */
16919
16990
  children: _propTypes.default.node,
16920
16991
 
16921
- /**
16922
- * @ignore
16992
+ /**
16993
+ * @ignore
16923
16994
  */
16924
16995
  className: _propTypes.default.string,
16925
16996
 
16926
- /**
16927
- * @ignore
16997
+ /**
16998
+ * @ignore
16928
16999
  */
16929
17000
  baseClassName: _propTypes.default.string,
16930
17001
 
16931
- /**
16932
- * Component to render as the root element. Useful when rendering a `MenuBaseItem` as other component or tag.
16933
- * @since 1.9.1
17002
+ /**
17003
+ * Component to render as the root element. Useful when rendering a `MenuBaseItem` as other component or tag.
17004
+ * @since 1.9.1
16934
17005
  */
16935
17006
  component: _propTypes.default.elementType
16936
17007
  };
@@ -17627,12 +17698,12 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
17627
17698
 
17628
17699
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17629
17700
 
17630
- /**
17631
- * `Overlay` component.
17701
+ /**
17702
+ * `Overlay` component.
17632
17703
  */
17633
17704
  const overlays = [];
17634
- /**
17635
- * @since 0.0.65
17705
+ /**
17706
+ * @since 0.0.65
17636
17707
  */
17637
17708
 
17638
17709
  class Overlay extends _react.Component {
@@ -17871,75 +17942,75 @@ class Overlay extends _react.Component {
17871
17942
  exports["default"] = Overlay;
17872
17943
 
17873
17944
  _defineProperty(Overlay, "propTypes", {
17874
- /**
17875
- * Toggles visibility.
17945
+ /**
17946
+ * Toggles visibility.
17876
17947
  */
17877
17948
  isOpen: _propTypes.default.bool,
17878
17949
 
17879
- /**
17880
- * Overlay placement.
17950
+ /**
17951
+ * Overlay placement.
17881
17952
  */
17882
17953
  placement: _propTypes.default.oneOf(['center', 'left', 'right']),
17883
17954
 
17884
- /**
17885
- * Overlay size.
17955
+ /**
17956
+ * Overlay size.
17886
17957
  */
17887
17958
  size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
17888
17959
 
17889
- /**
17890
- * onClose handler.
17960
+ /**
17961
+ * onClose handler.
17891
17962
  */
17892
17963
  onClose: _propTypes.default.func,
17893
17964
 
17894
- /**
17895
- * Indicating if clicking the backdrop should close the overlay.
17965
+ /**
17966
+ * Indicating if clicking the backdrop should close the overlay.
17896
17967
  */
17897
17968
  canCloseOnBackdropClick: _propTypes.default.bool,
17898
17969
 
17899
- /**
17900
- * Indicating if pressing the escape key should close the overlay.
17970
+ /**
17971
+ * Indicating if pressing the escape key should close the overlay.
17901
17972
  */
17902
17973
  canCloseOnEscapePress: _propTypes.default.bool,
17903
17974
 
17904
- /**
17905
- * Block with an image, placed at the side of the component
17906
- * @since 3.25.0
17975
+ /**
17976
+ * Block with an image, placed at the side of the component
17977
+ * @since 3.25.0
17907
17978
  */
17908
17979
  sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
17909
17980
 
17910
- /**
17911
- * Additional properties for the sideBanner
17912
- * @since 3.25.0
17981
+ /**
17982
+ * Additional properties for the sideBanner
17983
+ * @since 3.25.0
17913
17984
  */
17914
17985
  sideBannerContainer: _propTypes.default.shape({
17915
- /**
17916
- * Values for css background property
17986
+ /**
17987
+ * Values for css background property
17917
17988
  */
17918
17989
  background: _propTypes.default.string,
17919
17990
 
17920
- /**
17921
- * One of: center, flex-start, flex-end
17991
+ /**
17992
+ * One of: center, flex-start, flex-end
17922
17993
  */
17923
17994
  align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
17924
17995
  }),
17925
17996
 
17926
- /**
17927
- * @ignore
17997
+ /**
17998
+ * @ignore
17928
17999
  */
17929
18000
  style: _propTypes.default.object,
17930
18001
 
17931
- /**
17932
- * Content of the `Overlay`.
18002
+ /**
18003
+ * Content of the `Overlay`.
17933
18004
  */
17934
18005
  children: _propTypes.default.node,
17935
18006
 
17936
- /**
17937
- * @ignore
18007
+ /**
18008
+ * @ignore
17938
18009
  */
17939
18010
  className: _propTypes.default.string,
17940
18011
 
17941
- /**
17942
- * @ignore
18012
+ /**
18013
+ * @ignore
17943
18014
  */
17944
18015
  baseClassName: _propTypes.default.string
17945
18016
  });
@@ -18134,9 +18205,9 @@ exports.ITEMS_PER_PAGE_OPTIONS = ITEMS_PER_PAGE_OPTIONS;
18134
18205
  const VIEW_DEFAULT = 'default';
18135
18206
  const VIEW_POPOVER = 'popover';
18136
18207
 
18137
- /**
18138
- * `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
18139
- * @since 0.0.54
18208
+ /**
18209
+ * `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
18210
+ * @since 0.0.54
18140
18211
  */
18141
18212
  const Pagination = ({
18142
18213
  baseClassName = `${_constants.CLS_PREFIX}pagination`,
@@ -18292,6 +18363,8 @@ var _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ "
18292
18363
 
18293
18364
  var _constants = __webpack_require__(/*! ../../constants */ "./constants.js");
18294
18365
 
18366
+ var _reactTransitionGroup = __webpack_require__(/*! react-transition-group */ "../node_modules/react-transition-group/esm/index.js");
18367
+
18295
18368
  var _Translate = __webpack_require__(/*! ../Translate */ "./components/Translate/index.js");
18296
18369
 
18297
18370
  var _Heading = _interopRequireDefault(__webpack_require__(/*! ../Heading */ "./components/Heading/index.tsx"));
@@ -18372,13 +18445,21 @@ class Panel extends _react.Component {
18372
18445
  collapsed
18373
18446
  } = this.state;
18374
18447
  const handleToggle = collapsible ? this.handleToggle : undefined;
18375
- return /*#__PURE__*/_react.default.createElement("div", _extends({
18448
+ const rootRef = /*#__PURE__*/(0, _react.createRef)();
18449
+ return /*#__PURE__*/_react.default.createElement(_reactTransitionGroup.CSSTransition, {
18450
+ classNames: `${baseClassName}-`,
18451
+ in: !collapsed,
18452
+ timeout: 300,
18453
+ nodeRef: rootRef
18454
+ }, /*#__PURE__*/_react.default.createElement("div", _extends({
18376
18455
  className: (0, _classnames.default)(baseClassName, {
18377
18456
  [`${baseClassName}--collapsible`]: collapsible,
18378
18457
  [`${baseClassName}--collapsed`]: collapsed,
18379
18458
  [`${baseClassName}--expanded`]: !collapsed
18380
18459
  }, className)
18381
- }, props), title && /*#__PURE__*/_react.default.createElement("div", {
18460
+ }, props, {
18461
+ ref: rootRef
18462
+ }), title && /*#__PURE__*/_react.default.createElement("div", {
18382
18463
  className: `${baseClassName}__header`,
18383
18464
  onClick: handleToggle
18384
18465
  }, (0, _Translate.isLikeText)(title) ? /*#__PURE__*/_react.default.createElement(_Heading.default, {
@@ -18397,7 +18478,7 @@ class Panel extends _react.Component {
18397
18478
  onClick: handleToggle
18398
18479
  }))), /*#__PURE__*/_react.default.createElement("div", {
18399
18480
  className: `${baseClassName}__content`
18400
- }, children));
18481
+ }, children)));
18401
18482
  }
18402
18483
 
18403
18484
  }
@@ -19165,8 +19246,8 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
19165
19246
 
19166
19247
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19167
19248
 
19168
- /**
19169
- * `Popper` component.
19249
+ /**
19250
+ * `Popper` component.
19170
19251
  */
19171
19252
  class Popper extends _react.Component {
19172
19253
  constructor(...args) {
@@ -19345,75 +19426,75 @@ class Popper extends _react.Component {
19345
19426
  }
19346
19427
 
19347
19428
  Popper.propTypes = {
19348
- /**
19349
- * Whether show popper content.
19429
+ /**
19430
+ * Whether show popper content.
19350
19431
  */
19351
19432
  show: _propTypes.default.bool,
19352
19433
 
19353
- /**
19354
- * Content of the `Popper`.
19434
+ /**
19435
+ * Content of the `Popper`.
19355
19436
  */
19356
19437
  children: _propTypes.default.node,
19357
19438
 
19358
- /**
19359
- * Target for popper.
19439
+ /**
19440
+ * Target for popper.
19360
19441
  */
19361
19442
  target: _propTypes.default.any.isRequired,
19362
19443
 
19363
- /**
19364
- * A React reference to the DOM element that needs for calculating the position of the popup.
19444
+ /**
19445
+ * A React reference to the DOM element that needs for calculating the position of the popup.
19365
19446
  */
19366
19447
  targetRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.shape({
19367
19448
  current: _propTypes.default.instanceOf(HTMLElement)
19368
19449
  })]),
19369
19450
 
19370
- /**
19371
- * Arrow element of popper
19451
+ /**
19452
+ * Arrow element of popper
19372
19453
  */
19373
19454
  arrow: _propTypes.default.element,
19374
19455
 
19375
- /**
19376
- * Placement for popper.
19456
+ /**
19457
+ * Placement for popper.
19377
19458
  */
19378
19459
  placement: _propTypes.default.oneOf(['auto', 'auto-start', 'auto-end', 'auto-top', 'auto-right', 'auto-bottom', 'auto-left', 'top', 'top-start', 'top-end', 'right', 'right-start', 'right-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end']),
19379
19460
 
19380
- /**
19381
- * The behavior used to change the popper's placement.
19461
+ /**
19462
+ * The behavior used to change the popper's placement.
19382
19463
  */
19383
19464
  behavior: _propTypes.default.oneOfType([_propTypes.default.oneOf(['flip', 'clockwise', 'counterclockwise']), _propTypes.default.arrayOf(_propTypes.default.string)]),
19384
19465
 
19385
- /**
19386
- * Shift your popper on both axis.
19466
+ /**
19467
+ * Shift your popper on both axis.
19387
19468
  */
19388
19469
  offset: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
19389
19470
 
19390
- /**
19391
- * Update callback function
19471
+ /**
19472
+ * Update callback function
19392
19473
  */
19393
19474
  onUpdate: _propTypes.default.func,
19394
19475
 
19395
- /**
19396
- * @ignore
19476
+ /**
19477
+ * @ignore
19397
19478
  */
19398
19479
  className: _propTypes.default.string,
19399
19480
 
19400
- /**
19401
- * @ignore
19481
+ /**
19482
+ * @ignore
19402
19483
  */
19403
19484
  baseClassName: _propTypes.default.string,
19404
19485
 
19405
- /**
19406
- * zIndex value.
19486
+ /**
19487
+ * zIndex value.
19407
19488
  */
19408
19489
  zIndex: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
19409
19490
 
19410
- /**
19411
- * Boundaries element for preventOverflow property.
19491
+ /**
19492
+ * Boundaries element for preventOverflow property.
19412
19493
  */
19413
19494
  boundariesElement: _propTypes.default.oneOfType([_propTypes.default.oneOf(['scrollParent', 'window', 'viewport']), _propTypes.default.instanceOf(HTMLElement)]),
19414
19495
 
19415
- /**
19416
- * @ignore
19496
+ /**
19497
+ * @ignore
19417
19498
  */
19418
19499
  style: _propTypes.default.object
19419
19500
  };
@@ -20045,39 +20126,39 @@ const ProgressStep = ({
20045
20126
  switch (status) {
20046
20127
  case STATUS_NOT_STARTED:
20047
20128
  intent = 'inactive';
20048
- icon = false;
20129
+ icon = 'dot';
20049
20130
  break;
20050
20131
 
20051
20132
  case STATUS_RUNNING:
20052
- intent = 'info';
20053
- icon = false;
20133
+ intent = false;
20134
+ icon = 'dot';
20054
20135
  break;
20055
20136
 
20056
20137
  case STATUS_DONE:
20057
20138
  intent = 'success';
20058
- icon = 'check-mark';
20139
+ icon = 'check-mark-circle-filled';
20059
20140
  break;
20060
20141
 
20061
20142
  case STATUS_WARNING:
20062
20143
  intent = 'warning';
20063
- icon = 'triangle-exclamation-mark';
20144
+ icon = 'triangle-exclamation-mark-filled';
20064
20145
  break;
20065
20146
 
20066
20147
  case STATUS_ERROR:
20067
20148
  intent = 'danger';
20068
- icon = 'exclamation-mark-circle';
20149
+ icon = 'exclamation-mark-circle-filled';
20069
20150
  break;
20070
20151
 
20071
20152
  case STATUS_CANCELED:
20072
20153
  progress = 0;
20073
20154
  intent = 'inactive';
20074
- icon = 'cross-mark';
20155
+ icon = 'cross-mark-circle-filled';
20075
20156
  break;
20076
20157
  }
20077
20158
 
20078
20159
  icon = _Icon.default.create(icon, {
20079
20160
  className: `${baseClassName}__icon`,
20080
- size: _Icon.ICON_SIZE_12,
20161
+ size: _Icon.ICON_SIZE_16,
20081
20162
  intent
20082
20163
  });
20083
20164
 
@@ -20095,19 +20176,21 @@ const ProgressStep = ({
20095
20176
  className: `${baseClassName}__media`
20096
20177
  }, icon), /*#__PURE__*/_react.default.createElement("div", {
20097
20178
  className: `${baseClassName}__body`
20098
- }, (title || statusText) && /*#__PURE__*/_react.default.createElement("div", {
20179
+ }, (title || statusText || _react.Children.toArray(children).length > 0) && /*#__PURE__*/_react.default.createElement("div", {
20099
20180
  className: `${baseClassName}__labels`
20181
+ }, /*#__PURE__*/_react.default.createElement("div", {
20182
+ className: `${baseClassName}__labels-body`
20100
20183
  }, title && /*#__PURE__*/_react.default.createElement("div", {
20101
20184
  className: `${baseClassName}__title`
20102
- }, title), statusText && /*#__PURE__*/_react.default.createElement("div", {
20185
+ }, title), _react.Children.toArray(children).length ? /*#__PURE__*/_react.default.createElement("div", {
20186
+ className: `${baseClassName}__content`
20187
+ }, children) : null), statusText && /*#__PURE__*/_react.default.createElement("div", {
20103
20188
  className: `${baseClassName}__status`
20104
20189
  }, statusText)), STATUS_RUNNING === status && /*#__PURE__*/_react.default.createElement(_ProgressBar.default, {
20105
20190
  className: `${baseClassName}__progress`,
20106
20191
  intent: "info",
20107
20192
  progress: progress
20108
- }), _react.Children.toArray(children).length ? /*#__PURE__*/_react.default.createElement("div", {
20109
- className: `${baseClassName}__content`
20110
- }, children) : null));
20193
+ })));
20111
20194
  };
20112
20195
 
20113
20196
  ProgressStep.propTypes = {
@@ -20709,6 +20792,8 @@ var _Button = _interopRequireDefault(__webpack_require__(/*! ../Button */ "./com
20709
20792
 
20710
20793
  var _VerticalContext = _interopRequireWildcard(__webpack_require__(/*! ../VerticalContext */ "./components/VerticalContext/index.tsx"));
20711
20794
 
20795
+ var _FormContext = _interopRequireDefault(__webpack_require__(/*! ../Form/FormContext */ "./components/Form/FormContext.tsx"));
20796
+
20712
20797
  __webpack_require__(/*! ./Section.less */ "./components/Section/Section.less");
20713
20798
 
20714
20799
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -20721,23 +20806,29 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
20721
20806
 
20722
20807
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20723
20808
 
20724
- const getVertical = (props, verticalContext) => {
20725
- if (props.vertical !== null && props.vertical !== undefined) {
20726
- return props.vertical;
20727
- }
20809
+ const getErrorsForChildren = (form, children) => {
20810
+ let errors = {};
20728
20811
 
20729
- if (verticalContext !== undefined) {
20730
- return verticalContext;
20731
- }
20812
+ _react.Children.forEach(children, child => {
20813
+ if (! /*#__PURE__*/(0, _react.isValidElement)(child)) {
20814
+ return;
20815
+ }
20732
20816
 
20733
- return undefined;
20734
- };
20735
- /**
20736
- * `Section` component is used for dividing of complex content into groups for better readability
20737
- * and comprehension of the presented information.
20738
- * @since 0.0.54
20739
- */
20817
+ if (child.props.name) {
20818
+ errors = { ...errors,
20819
+ ...form.getErrors(child.props.name)
20820
+ };
20821
+ }
20822
+
20823
+ if (child.props.children) {
20824
+ errors = { ...errors,
20825
+ ...getErrorsForChildren(form, child.props.children)
20826
+ };
20827
+ }
20828
+ });
20740
20829
 
20830
+ return errors;
20831
+ };
20741
20832
 
20742
20833
  class Section extends _react.Component {
20743
20834
  constructor(...args) {
@@ -20750,9 +20841,7 @@ class Section extends _react.Component {
20750
20841
  _defineProperty(this, "handleResize", ({
20751
20842
  bounds
20752
20843
  }) => {
20753
- const vertical = getVertical(this.props, this.context);
20754
-
20755
- if (vertical !== undefined) {
20844
+ if (this.props.vertical !== undefined) {
20756
20845
  return;
20757
20846
  }
20758
20847
 
@@ -20770,16 +20859,24 @@ class Section extends _react.Component {
20770
20859
  collapsed
20771
20860
  }) => ({
20772
20861
  collapsed: !collapsed
20773
- }));
20862
+ }), () => {
20863
+ if (this.props.onToggle) {
20864
+ this.props.onToggle(this.state.collapsed);
20865
+ }
20866
+ });
20774
20867
  });
20775
20868
  }
20776
20869
 
20777
20870
  static getDerivedStateFromProps(props, state) {
20778
20871
  const {
20779
- collapsed
20872
+ collapsible,
20873
+ collapsed,
20874
+ form,
20875
+ children
20780
20876
  } = props;
20781
20877
  const {
20782
- prevCollapsed
20878
+ prevCollapsed,
20879
+ prevErrors
20783
20880
  } = state;
20784
20881
  const nextState = {};
20785
20882
 
@@ -20788,6 +20885,17 @@ class Section extends _react.Component {
20788
20885
  }
20789
20886
 
20790
20887
  nextState.prevCollapsed = collapsed;
20888
+
20889
+ if (collapsible && form) {
20890
+ const errors = getErrorsForChildren(form, children);
20891
+
20892
+ if (JSON.stringify(errors) !== JSON.stringify(prevErrors) && Object.keys(errors).length > 0) {
20893
+ nextState.collapsed = false;
20894
+ }
20895
+
20896
+ nextState.prevErrors = errors;
20897
+ }
20898
+
20791
20899
  return nextState;
20792
20900
  }
20793
20901
 
@@ -20866,13 +20974,14 @@ class Section extends _react.Component {
20866
20974
  collapsed,
20867
20975
  onTitleChange,
20868
20976
  onClose,
20977
+ onToggle,
20869
20978
  buttons,
20870
20979
  vertical: verticalProp,
20871
20980
  children,
20981
+ form,
20872
20982
  ...props
20873
20983
  } = this.props;
20874
- let vertical = getVertical(this.props, this.context);
20875
- vertical = vertical === undefined ? this.state.vertical : vertical;
20984
+ const vertical = verticalProp === undefined ? this.state.vertical : verticalProp;
20876
20985
  return /*#__PURE__*/_react.default.createElement(_VerticalContext.default.Provider, {
20877
20986
  value: vertical
20878
20987
  }, /*#__PURE__*/_react.default.createElement(_reactMeasure.default, {
@@ -20909,87 +21018,121 @@ class Section extends _react.Component {
20909
21018
 
20910
21019
  }
20911
21020
 
20912
- Section.propTypes = {
20913
- /**
20914
- * Title of the section.
20915
- * @since 0.0.54
21021
+ const propTypes = {
21022
+ /**
21023
+ * Title of the section.
21024
+ * @since 0.0.54
20916
21025
  */
20917
21026
  title: _propTypes.default.node,
20918
21027
 
20919
- /**
20920
- * Visual intent color to apply to component.
20921
- * @since 0.0.54
21028
+ /**
21029
+ * Visual intent color to apply to component.
21030
+ * @since 0.0.54
20922
21031
  */
20923
21032
  intent: _propTypes.default.oneOf(['danger', 'warning', 'success', 'inactive']),
20924
21033
 
20925
- /**
20926
- * Is section collapsible.
20927
- * @since 0.0.54
21034
+ /**
21035
+ * Is section collapsible.
21036
+ * @since 0.0.54
20928
21037
  */
20929
21038
  collapsible: _propTypes.default.bool,
20930
21039
 
20931
- /**
20932
- * Is section collapsed now.
20933
- * @since 0.0.54
21040
+ /**
21041
+ * Is section collapsed now.
21042
+ * @since 0.0.54
20934
21043
  */
20935
21044
  collapsed: _propTypes.default.bool,
20936
21045
 
20937
- /**
20938
- * Event handler of title change with inline editing form.
20939
- * @since 0.0.54
21046
+ /**
21047
+ * Event handler of title change with inline editing form.
21048
+ * @since 0.0.54
20940
21049
  */
20941
21050
  onTitleChange: _propTypes.default.func,
20942
21051
 
20943
- /**
20944
- * Event handler of closing section with X-sign at the right.
20945
- * @since 0.0.54
21052
+ /**
21053
+ * Event handler of closing section with X-sign at the right.
21054
+ * @since 0.0.54
20946
21055
  */
20947
21056
  onClose: _propTypes.default.func,
20948
21057
 
20949
- /**
20950
- * Array of custom section action button at the right.
20951
- * @since 0.0.54
21058
+ /**
21059
+ * A callback executed when the section collapsing.
21060
+ * @since 3.26.0
21061
+ */
21062
+ onToggle: _propTypes.default.func,
21063
+
21064
+ /**
21065
+ * Array of custom section action button at the right.
21066
+ * @since 0.0.54
20952
21067
  */
20953
21068
  buttons: _propTypes.default.arrayOf(_propTypes.default.element),
20954
21069
 
20955
- /**
20956
- * Vertical or horizontal section view.
20957
- * Section view will be automatically switched if this parameter is not specified explicitly.
20958
- * @since 0.3.0
21070
+ /**
21071
+ * Vertical or horizontal section view.
21072
+ * Section view will be automatically switched if this parameter is not specified explicitly.
21073
+ * @since 0.3.0
20959
21074
  */
20960
21075
  vertical: _propTypes.default.bool,
20961
21076
 
20962
- /**
20963
- * Content of the `Section`.
20964
- * @since 0.0.54
21077
+ /**
21078
+ * Content of the `Section`.
21079
+ * @since 0.0.54
20965
21080
  */
20966
21081
  children: _propTypes.default.node,
20967
21082
 
20968
- /**
20969
- * @ignore
21083
+ /**
21084
+ * @ignore
20970
21085
  */
20971
21086
  className: _propTypes.default.string,
20972
21087
 
20973
- /**
20974
- * @ignore
21088
+ /**
21089
+ * @ignore
20975
21090
  */
20976
- baseClassName: _propTypes.default.string
21091
+ baseClassName: _propTypes.default.string,
21092
+
21093
+ /**
21094
+ * @ignore
21095
+ */
21096
+ form: _propTypes.default.object
20977
21097
  };
20978
- Section.defaultProps = {
20979
- title: null,
20980
- intent: null,
21098
+ const defaultProps = {
21099
+ title: undefined,
21100
+ intent: undefined,
20981
21101
  collapsible: false,
20982
21102
  collapsed: false,
20983
- onTitleChange: null,
20984
- onClose: null,
20985
- buttons: null,
20986
- vertical: null,
20987
- children: null,
20988
- className: null,
20989
- baseClassName: `${_constants.CLS_PREFIX}section`
21103
+ onTitleChange: undefined,
21104
+ onClose: undefined,
21105
+ onToggle: undefined,
21106
+ buttons: undefined,
21107
+ vertical: undefined,
21108
+ children: undefined,
21109
+ className: undefined,
21110
+ baseClassName: `${_constants.CLS_PREFIX}section`,
21111
+ form: undefined
21112
+ };
21113
+ Section.propTypes = propTypes;
21114
+ Section.defaultProps = defaultProps;
21115
+ /**
21116
+ * `Section` component is used for dividing of complex content into groups for better readability
21117
+ * and comprehension of the presented information.
21118
+ * @since 0.0.54
21119
+ */
21120
+
21121
+ const SectionWrapper = props => {
21122
+ const form = (0, _react.useContext)(_FormContext.default);
21123
+ const verticalContext = (0, _react.useContext)(_VerticalContext.default);
21124
+ const vertical = props.vertical === undefined ? verticalContext : props.vertical;
21125
+ return /*#__PURE__*/_react.default.createElement(Section, _extends({}, props, {
21126
+ form: form,
21127
+ vertical: vertical
21128
+ }));
20990
21129
  };
20991
- Section.contextType = _VerticalContext.default;
20992
- var _default = Section;
21130
+
21131
+ SectionWrapper.displayName = 'Section';
21132
+ SectionWrapper.propTypes = propTypes;
21133
+ SectionWrapper.defaultProps = defaultProps;
21134
+ SectionWrapper.WrappedComponent = Section;
21135
+ var _default = SectionWrapper;
20993
21136
  exports["default"] = _default;
20994
21137
 
20995
21138
  /***/ }),
@@ -21709,12 +21852,12 @@ const collect = (children, options = [], group) => {
21709
21852
  ...props
21710
21853
  } = child.props;
21711
21854
 
21712
- if (typeof value !== 'string' && typeof value !== 'number' && typeof children === 'string') {
21713
- value = children;
21714
- }
21715
-
21716
- if (!value) {
21717
- throw new Error('The value can only be a number or a string.');
21855
+ if (typeof value !== 'string' && typeof value !== 'number') {
21856
+ if (typeof children === 'string' && children) {
21857
+ value = children;
21858
+ } else {
21859
+ throw new Error('The value can only be a number or a string.');
21860
+ }
21718
21861
  }
21719
21862
 
21720
21863
  let label;
@@ -21767,9 +21910,9 @@ const getNextValue = (value, prevValue) => {
21767
21910
  return value;
21768
21911
  };
21769
21912
 
21770
- /**
21771
- * `Select` component is used for making a choice among a set of related options.
21772
- * @since 2.3.0
21913
+ /**
21914
+ * `Select` component is used for making a choice among a set of related options.
21915
+ * @since 2.3.0
21773
21916
  */
21774
21917
  const Select = ({
21775
21918
  id,
@@ -22297,7 +22440,7 @@ const SelectControl = /*#__PURE__*/(0, _react.forwardRef)(function SelectControl
22297
22440
  "aria-hidden": "true",
22298
22441
  focusable: "false"
22299
22442
  }, /*#__PURE__*/_react.default.createElement("path", {
22300
- d: "M.85 7.854a.498.498 0 1 1-.704-.704L3.296 4 .146.85A.498.498 0 0 1 .85.146L4 3.296 7.15.146a.498.498 0 0 1 .704.704L4.704 4l3.15 3.15a.498.498 0 0 1-.704.704L4 4.704.85 7.854z"
22443
+ d: "M.85 7.854a.498.498 0 1 1-.704-.704L3.296 4 .146.85A.498.498 0 0 1 .85.146L4 3.296 7.15.146a.498.498 0 0 1\r .704.704L4.704 4l3.15 3.15a.498.498 0 0 1-.704.704L4 4.704.85 7.854z"
22301
22444
  })))), /*#__PURE__*/_react.default.createElement("button", {
22302
22445
  type: "button",
22303
22446
  className: (0, _classnames.default)(`${baseClassName}__indicator`, `${baseClassName}__indicator--dropdown`),
@@ -24822,58 +24965,58 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
24822
24965
 
24823
24966
  /* eslint-disable react/no-unused-prop-types */
24824
24967
 
24825
- /**
24826
- * `Tab` is an individual element of the [Tabs](#!/Tabs) component.
24827
- *
24828
- * Each `Tab` can display an icon near the tab name for easier identification.
24829
- * It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
24830
- * You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
24831
- * @since 0.0.35
24968
+ /**
24969
+ * `Tab` is an individual element of the [Tabs](#!/Tabs) component.
24970
+ *
24971
+ * Each `Tab` can display an icon near the tab name for easier identification.
24972
+ * It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
24973
+ * You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
24974
+ * @since 0.0.35
24832
24975
  */
24833
24976
  const Tab = ({
24834
24977
  children
24835
24978
  }) => /*#__PURE__*/_react.default.createElement("div", null, children);
24836
24979
 
24837
24980
  Tab.propTypes = {
24838
- /**
24839
- * Tab title
24840
- * @since 0.0.35
24981
+ /**
24982
+ * Tab title
24983
+ * @since 0.0.35
24841
24984
  */
24842
24985
  title: _propTypes.default.node.isRequired,
24843
24986
 
24844
- /**
24845
- * Label in tab title
24846
- * @since 0.0.42
24987
+ /**
24988
+ * Label in tab title
24989
+ * @since 0.0.42
24847
24990
  */
24848
24991
  label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
24849
24992
 
24850
- /**
24851
- * Name of icon or Icon component for tab
24852
- * @since 0.0.42
24993
+ /**
24994
+ * Name of icon or Icon component for tab
24995
+ * @since 0.0.42
24853
24996
  */
24854
24997
  icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
24855
24998
 
24856
- /**
24857
- * Activate callback.
24858
- * @since 0.0.43
24999
+ /**
25000
+ * Activate callback.
25001
+ * @since 0.0.43
24859
25002
  */
24860
25003
  onActivate: _propTypes.default.func,
24861
25004
 
24862
- /**
24863
- * Close callback
24864
- * @since 0.0.58
25005
+ /**
25006
+ * Close callback
25007
+ * @since 0.0.58
24865
25008
  */
24866
25009
  onClose: _propTypes.default.func,
24867
25010
 
24868
- /**
24869
- * Component to render as the root element.
24870
- * @since 2.5.1
25011
+ /**
25012
+ * Component to render as the root element.
25013
+ * @since 2.5.1
24871
25014
  */
24872
25015
  component: _propTypes.default.elementType,
24873
25016
 
24874
- /**
24875
- * Tab content
24876
- * @since 0.0.47
25017
+ /**
25018
+ * Tab content
25019
+ * @since 0.0.47
24877
25020
  */
24878
25021
  children: _propTypes.default.node
24879
25022
  };
@@ -24943,12 +25086,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
24943
25086
  const ADDON_LEFT_PADDING = 5;
24944
25087
  const MIN_ADDON_WIDTH_DEFAULT = 150;
24945
25088
  const COLLAPSED_SEARCH_WIDTH = 60;
24946
- /**
24947
- * `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
24948
- * in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
24949
- * the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
24950
- * group name and a navigation button.
24951
- * @since 0.0.35
25089
+ /**
25090
+ * `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
25091
+ * in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
25092
+ * the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
25093
+ * group name and a navigation button.
25094
+ * @since 0.0.35
24952
25095
  */
24953
25096
 
24954
25097
  class Tabs extends _react.Component {
@@ -25524,57 +25667,57 @@ class Tabs extends _react.Component {
25524
25667
  }
25525
25668
 
25526
25669
  Tabs.propTypes = {
25527
- /**
25528
- * Number of active tab
25529
- * @since 0.0.35
25670
+ /**
25671
+ * Number of active tab
25672
+ * @since 0.0.35
25530
25673
  */
25531
25674
  active: _propTypes.default.number,
25532
25675
 
25533
- /**
25534
- * Addon for search bar, dropdown etc.
25535
- * @since 0.0.58
25676
+ /**
25677
+ * Addon for search bar, dropdown etc.
25678
+ * @since 0.0.58
25536
25679
  */
25537
25680
  addon: _propTypes.default.element,
25538
25681
 
25539
- /**
25540
- * Placeholder for search bar, dropdown etc.
25541
- *
25542
- * @deprecated Do not use! Use `addon` instead!
25543
- * @since 0.0.42
25682
+ /**
25683
+ * Placeholder for search bar, dropdown etc.
25684
+ *
25685
+ * @deprecated Do not use! Use `addon` instead!
25686
+ * @since 0.0.42
25544
25687
  */
25545
25688
  placeholder: _propTypes.default.element,
25546
25689
 
25547
- /**
25548
- * Minimum add-on width in pixels
25549
- * @since 0.0.58
25690
+ /**
25691
+ * Minimum add-on width in pixels
25692
+ * @since 0.0.58
25550
25693
  */
25551
25694
  addonMinWidth: _propTypes.default.number,
25552
25695
 
25553
- /**
25554
- * Monospaced version of tabs (all visible tabs as wide as widest of them)
25555
- * @since 0.0.58
25696
+ /**
25697
+ * Monospaced version of tabs (all visible tabs as wide as widest of them)
25698
+ * @since 0.0.58
25556
25699
  */
25557
25700
  monospaced: _propTypes.default.bool,
25558
25701
 
25559
- /**
25560
- * [SearchBar](#!/SearchBar) element
25561
- * @since 0.0.58
25702
+ /**
25703
+ * [SearchBar](#!/SearchBar) element
25704
+ * @since 0.0.58
25562
25705
  */
25563
25706
  search: _propTypes.default.element,
25564
25707
 
25565
- /**
25566
- * [Tabs](#!/Tab)
25567
- * @since 0.0.47
25708
+ /**
25709
+ * [Tabs](#!/Tab)
25710
+ * @since 0.0.47
25568
25711
  */
25569
25712
  children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.element), _propTypes.default.element]),
25570
25713
 
25571
- /**
25572
- * @ignore
25714
+ /**
25715
+ * @ignore
25573
25716
  */
25574
25717
  className: _propTypes.default.string,
25575
25718
 
25576
- /**
25577
- * @ignore
25719
+ /**
25720
+ * @ignore
25578
25721
  */
25579
25722
  baseClassName: _propTypes.default.string
25580
25723
  };
@@ -27722,9 +27865,9 @@ const isLikeText = node => {
27722
27865
 
27723
27866
  return false;
27724
27867
  };
27725
- /**
27726
- * `Translate` component.
27727
- * @since 0.0.42
27868
+ /**
27869
+ * `Translate` component.
27870
+ * @since 0.0.42
27728
27871
  */
27729
27872
 
27730
27873
 
@@ -27767,49 +27910,49 @@ const Translate = ({
27767
27910
  };
27768
27911
 
27769
27912
  Translate.propTypes = {
27770
- /**
27771
- * A some prefix for the message key.
27772
- * @since 2.6.0
27913
+ /**
27914
+ * A some prefix for the message key.
27915
+ * @since 2.6.0
27773
27916
  */
27774
27917
  namespace: _propTypes.default.string,
27775
27918
 
27776
- /**
27777
- * Translatable content or message key.
27778
- * @since 0.0.42
27919
+ /**
27920
+ * Translatable content or message key.
27921
+ * @since 0.0.42
27779
27922
  */
27780
27923
  content: _propTypes.default.string,
27781
27924
 
27782
- /**
27783
- * Message params
27784
- * @since 0.0.42
27925
+ /**
27926
+ * Message params
27927
+ * @since 0.0.42
27785
27928
  */
27786
27929
  params: _propTypes.default.object,
27787
27930
 
27788
- /**
27789
- * Fallback translation value.
27790
- * @since 0.0.47
27931
+ /**
27932
+ * Fallback translation value.
27933
+ * @since 0.0.47
27791
27934
  */
27792
27935
  fallback: _propTypes.default.string,
27793
27936
 
27794
- /**
27795
- * Component to render as the root element. Useful when rendering a `Translate` as `<option>`.
27796
- * @since 0.0.42
27937
+ /**
27938
+ * Component to render as the root element. Useful when rendering a `Translate` as `<option>`.
27939
+ * @since 0.0.42
27797
27940
  */
27798
27941
  component: _propTypes.default.elementType,
27799
27942
 
27800
- /**
27801
- * A set of translation messages. If the set contains a message key, the component uses an item from the set for rendering.
27802
- * @ignore
27943
+ /**
27944
+ * A set of translation messages. If the set contains a message key, the component uses an item from the set for rendering.
27945
+ * @ignore
27803
27946
  */
27804
27947
  translators: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])),
27805
27948
 
27806
- /**
27807
- * @ignore
27949
+ /**
27950
+ * @ignore
27808
27951
  */
27809
27952
  unsafe: _propTypes.default.bool,
27810
27953
 
27811
- /**
27812
- * @ignore
27954
+ /**
27955
+ * @ignore
27813
27956
  */
27814
27957
  children: _propTypes.default.string
27815
27958
  };
@@ -88128,7 +88271,7 @@ var CSSTransition = /*#__PURE__*/function (_React$Component) {
88128
88271
 
88129
88272
  if (type === 'appear' && phase === 'done' && doneClassName) {
88130
88273
  className += " " + doneClassName;
88131
- } // This is for to force a repaint,
88274
+ } // This is to force a repaint,
88132
88275
  // which is necessary in order to transition styles when adding a class name.
88133
88276
 
88134
88277
 
@@ -89198,7 +89341,10 @@ Transition.propTypes = true ? {
89198
89341
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
89199
89342
  */
89200
89343
  nodeRef: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
89201
- current: typeof Element === 'undefined' ? (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any) : prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(Element)
89344
+ current: typeof Element === 'undefined' ? (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any) : function (propValue, key, componentName, location, propFullName, secret) {
89345
+ var value = propValue[key];
89346
+ return prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
89347
+ }
89202
89348
  }),
89203
89349
 
89204
89350
  /**
@@ -91973,7 +92119,7 @@ module.exports = __webpack_require__.p + "images/no-image.svg?3c02c3e8caae8b04ac
91973
92119
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
91974
92120
 
91975
92121
  "use strict";
91976
- module.exports = __webpack_require__.p + "images/symbols.svg?7b5d5251a1fc1431e0a8";
92122
+ module.exports = __webpack_require__.p + "images/symbols.svg?5677796d474aaff12080";
91977
92123
 
91978
92124
  /***/ }),
91979
92125
 
@@ -92106,7 +92252,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
92106
92252
  /***/ ((module) => {
92107
92253
 
92108
92254
  "use strict";
92109
- module.exports = JSON.parse('{"name":"@plesk/ui-library","version":"3.25.6","description":"Plesk UI Library","main":"index.js","module":"esm/index.js","types":"./types/src","sideEffects":["cjs/index.js","esm/index.js","dist/*.js","dist/*.css"],"scripts":{"pretest":"yarn lint","test":"jest --ci --coverage --coverageReporters text-summary","test:vr":"cross-env VISUAL_REGRESSION=true jest","build":"yarn build:types && yarn build:umd && yarn build:esm && yarn build:cjs","build:umd":"webpack --config ./configs/build.config.js","build:esm":"cross-env NODE_ENV=esm node ./scripts/build.js","build:cjs":"cross-env NODE_ENV=cjs node ./scripts/build.js","build:types":"rimraf ./types && tsc --project ./configs/types-generator.config.json","create-svg-sprite":"node ./scripts/create-svg-sprite.js","lint":"yarn lint:es && yarn lint:types && yarn lint:style","lint:es":"eslint --ext js,md,tsx src configs scripts styleguidist","lint:types":"tsc","lint:style":"stylelint \\"src/**/*.less\\"","styleguide":"styleguidist server --config ./configs/styleguide.config.js","styleguide:build":"styleguidist build --config ./configs/styleguide.config.js","create-component":"node scripts/create-component.js","prepublishOnly":"yarn install && yarn test && yarn build && yarn styleguide:build","storybook":"webpack serve --config ./configs/storybook.config.js","postinstall":"node ./scripts/postinstall.js"},"files":["esm","cjs","dist","styleguide","types","/scripts/postinstall.js","/index.js"],"dependencies":{"@babel/runtime":"^7.15.4","@plesk/react-movable":"^2.6.0","@types/classnames":"2.2.7","@types/react":"16.8.13","@types/react-dom":"16.8.4","@types/react-measure":"2.0.8","@types/react-transition-group":"^4.2.3","@types/svg4everybody":"2.1.0","classnames":"^2.3.1","codemirror":"5.48.0","marked":"0.3.19","memoize-one":"^5.1.1","popper.js":"1.14.3","prop-types":"^15.7.2","react-measure":"2.3.0","react-sortable-hoc":"0.6.8","react-transition-group":"^4.4.1","scroll-into-view-if-needed":"^2.2.20","svg4everybody":"2.1.9","use-focus-visible":"^1.0.0"},"devDependencies":{"@babel/core":"^7.15.8","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.15.8","@babel/preset-env":"^7.15.8","@babel/preset-react":"^7.14.5","@babel/preset-typescript":"^7.15.0","@plesk/eslint-config":"^1.1.0","@plesk/stylelint-config":"^0.0.6","@types/buble":"^0.19.2","@types/cheerio":"^0.22.30","@types/doctrine":"^0.0.3","@types/enzyme":"^3.10.9","@types/jest":"^23.3.12","@types/webpack-dev-server":"^3.10.1","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","autoprefixer":"^10.3.7","babel-loader":"^8.2.3","babel-plugin-dynamic-import-node":"^2.3.3","babel-plugin-transform-require-ignore":"^0.1.1","clean-webpack-plugin":"^4.0.0","cross-env":"^5.2.0","css-loader":"^6.4.0","css-minimizer-webpack-plugin":"^3.1.1","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.6","enzyme-to-json":"^3.6.2","eslint-config-prettier":"^6.11.0","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.1.3","expect-puppeteer":"^4.4.0","fs-extra":"^7.0.0","html-webpack-plugin":"^5.5.0","inquirer":"^3.2.1","jest":"^24.9.0","jest-dev-server":"^4.4.0","jest-image-snapshot":"^4.0.2","less":"^4.1.2","less-loader":"^10.2.0","mini-css-extract-plugin":"^2.4.3","postcss":"^8.3.11","postcss-loader":"^6.2.0","postcss-logical":"^5.0.0","prettier":"^2.0.5","puppeteer-core":"^5.2.1","react":"^16.8.6","react-dom":"^16.8.6","react-styleguidist":"^11.1.7","react-test-renderer":"^16.8.6","rimraf":"^3.0.1","rtlcss":"^3.4.0","style-loader":"^3.3.1","stylelint-config-prettier":"^8.0.1","stylelint-prettier":"^1.1.2","svg-mixer":"^2.3.14","terser-webpack-plugin":"^5.2.4","typescript":"^3.7.2","webpack":"^5.60.0","webpack-cli":"^4.9.1"},"peerDependencies":{"react":"^16.8.6","react-dom":"^16.8.6"},"resolutions":{"@babel/types":"^7.15.6","@types/node":"^12.12.8","**/caniuse-lite":"1.0.30001274"},"browserslist":["last 2 versions",">1%","not op_mini all","not dead","not ie 11"],"author":"Plesk Developers <plesk-dev-leads@plesk.com> (https://www.plesk.com/)","license":"Apache-2.0"}');
92255
+ module.exports = JSON.parse('{"name":"@plesk/ui-library","version":"3.27.0","description":"Plesk UI Library","main":"index.js","module":"esm/index.js","types":"./types/src","sideEffects":["cjs/index.js","esm/index.js","dist/*.js","dist/*.css"],"scripts":{"pretest":"yarn lint","test":"jest --ci --coverage --coverageReporters text-summary","test:vr":"cross-env VISUAL_REGRESSION=true jest","build":"yarn build:types && yarn build:umd && yarn build:esm && yarn build:cjs","build:umd":"webpack --config ./configs/build.config.js","build:esm":"cross-env NODE_ENV=esm node ./scripts/build.js","build:cjs":"cross-env NODE_ENV=cjs node ./scripts/build.js","build:types":"rimraf ./types && tsc --project ./configs/types-generator.config.json","create-svg-sprite":"node ./scripts/create-svg-sprite.js","lint":"yarn lint:es && yarn lint:types && yarn lint:style","lint:es":"eslint --ext js,md,tsx src configs scripts styleguidist","lint:types":"tsc","lint:style":"stylelint \\"src/**/*.less\\"","styleguide":"styleguidist server --config ./configs/styleguide.config.js","styleguide:build":"styleguidist build --config ./configs/styleguide.config.js","create-component":"node scripts/create-component.js","prepublishOnly":"yarn install && yarn test && yarn build && yarn styleguide:build","storybook":"webpack serve --config ./configs/storybook.config.js","postinstall":"node ./scripts/postinstall.js"},"files":["esm","cjs","dist","styleguide","types","/scripts/postinstall.js","/index.js"],"dependencies":{"@babel/runtime":"^7.15.4","@plesk/react-movable":"^2.6.0","@types/classnames":"2.2.7","@types/react":"16.8.13","@types/react-dom":"16.8.4","@types/react-measure":"2.0.8","@types/react-transition-group":"^4.4.4","@types/svg4everybody":"2.1.0","classnames":"^2.3.1","codemirror":"5.48.0","marked":"0.3.19","memoize-one":"^5.1.1","popper.js":"1.14.3","prop-types":"^15.7.2","react-measure":"2.3.0","react-sortable-hoc":"0.6.8","react-transition-group":"^4.4.2","scroll-into-view-if-needed":"^2.2.20","svg4everybody":"2.1.9","use-focus-visible":"^1.0.0"},"devDependencies":{"@babel/core":"^7.15.8","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.15.8","@babel/preset-env":"^7.15.8","@babel/preset-react":"^7.14.5","@babel/preset-typescript":"^7.15.0","@plesk/eslint-config":"^1.1.0","@plesk/stylelint-config":"^0.0.6","@types/buble":"^0.19.2","@types/cheerio":"^0.22.30","@types/doctrine":"^0.0.3","@types/enzyme":"^3.10.9","@types/jest":"^23.3.12","@types/webpack-dev-server":"^3.10.1","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","autoprefixer":"^10.3.7","babel-loader":"^8.2.3","babel-plugin-dynamic-import-node":"^2.3.3","babel-plugin-transform-require-ignore":"^0.1.1","clean-webpack-plugin":"^4.0.0","cross-env":"^5.2.0","css-loader":"^6.4.0","css-minimizer-webpack-plugin":"^3.1.1","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.6","enzyme-to-json":"^3.6.2","eslint-config-prettier":"^6.11.0","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.1.3","expect-puppeteer":"^4.4.0","fs-extra":"^7.0.0","html-webpack-plugin":"^5.5.0","inquirer":"^3.2.1","jest":"^24.9.0","jest-dev-server":"^4.4.0","jest-image-snapshot":"^4.0.2","less":"^4.1.2","less-loader":"^10.2.0","mini-css-extract-plugin":"^2.4.3","postcss":"^8.3.11","postcss-loader":"^6.2.0","postcss-logical":"^5.0.0","prettier":"^2.0.5","puppeteer-core":"^5.2.1","react":"^16.8.6","react-dom":"^16.8.6","react-styleguidist":"^11.1.7","react-test-renderer":"^16.8.6","rimraf":"^3.0.1","rtlcss":"^3.4.0","style-loader":"^3.3.1","stylelint-config-prettier":"^8.0.1","stylelint-prettier":"^1.1.2","svg-mixer":"^2.3.14","terser-webpack-plugin":"^5.2.4","typescript":"^3.7.2","webpack":"^5.60.0","webpack-cli":"^4.9.1"},"peerDependencies":{"react":"^16.8.6","react-dom":"^16.8.6"},"resolutions":{"@babel/types":"^7.15.6","@types/node":"^12.12.8","**/caniuse-lite":"1.0.30001274"},"browserslist":["last 2 versions",">1%","not op_mini all","not dead","not ie 11"],"author":"Plesk Developers <plesk-dev-leads@plesk.com> (https://www.plesk.com/)","license":"Apache-2.0"}');
92110
92256
 
92111
92257
  /***/ }),
92112
92258