@plesk/ui-library 3.40.2 → 3.40.4

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 (272) hide show
  1. package/README.md +50 -50
  2. package/cjs/components/Action/Action.js +3 -3
  3. package/cjs/components/Alert/Alert.js +5 -5
  4. package/cjs/components/AutoClosable/AutoClosable.js +3 -3
  5. package/cjs/components/AuxiliaryActions/AuxiliaryActions.js +3 -3
  6. package/cjs/components/Badge/Badge.js +3 -3
  7. package/cjs/components/Breadcrumbs/Breadcrumbs.js +4 -4
  8. package/cjs/components/Button/Button.js +4 -4
  9. package/cjs/components/ButtonGroup/ButtonGroup.js +3 -3
  10. package/cjs/components/Card/Card.js +52 -52
  11. package/cjs/components/Card/CardButton.js +2 -2
  12. package/cjs/components/Card/PreviewPanel.js +3 -3
  13. package/cjs/components/Card/images/no-image.svg +6 -6
  14. package/cjs/components/CardList/CardList.js +55 -55
  15. package/cjs/components/Carousel/Carousel.js +4 -4
  16. package/cjs/components/Checkbox/Checkbox.js +3 -3
  17. package/cjs/components/CodeEditor/CodeEditor.js +3 -3
  18. package/cjs/components/Columns/Column.js +3 -3
  19. package/cjs/components/Columns/Columns.js +3 -3
  20. package/cjs/components/ComboBox/ComboBox.js +4 -4
  21. package/cjs/components/ComboBox/ComboBoxOption.js +3 -3
  22. package/cjs/components/ConsoleOutput/ConsoleOutput.js +3 -3
  23. package/cjs/components/ContentLoader/ContentLoader.js +3 -3
  24. package/cjs/components/Cuttable/Cuttable.js +3 -3
  25. package/cjs/components/Dialog/Dialog.js +3 -3
  26. package/cjs/components/Drawer/Drawer.js +4 -4
  27. package/cjs/components/Dropdown/Dropdown.js +5 -5
  28. package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessage.js +4 -4
  29. package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +3 -3
  30. package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +3 -3
  31. package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +3 -3
  32. package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +3 -3
  33. package/cjs/components/Figure/Figure.js +3 -3
  34. package/cjs/components/Form/Form.js +4 -4
  35. package/cjs/components/Form/utils.js +22 -22
  36. package/cjs/components/FormField/FormField.js +24 -24
  37. package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +4 -4
  38. package/cjs/components/FormFieldPassword/FormFieldPassword.js +3 -3
  39. package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -3
  40. package/cjs/components/FormFieldSelect/FormFieldSelect.js +4 -4
  41. package/cjs/components/FormFieldText/FormFieldText.js +5 -5
  42. package/cjs/components/Grid/Grid.js +3 -3
  43. package/cjs/components/GridCol/GridCol.js +3 -3
  44. package/cjs/components/Heading/Heading.js +3 -3
  45. package/cjs/components/Hint/Hint.js +3 -3
  46. package/cjs/components/Icon/Icon.js +6 -6
  47. package/cjs/components/Icon/images/symbols.svg +1875 -1875
  48. package/cjs/components/InPlaceEdit/InPlaceEdit.js +5 -5
  49. package/cjs/components/Input/Input.js +3 -3
  50. package/cjs/components/InputFile/InputFile.js +3 -3
  51. package/cjs/components/InputNumber/InputNumber.js +3 -3
  52. package/cjs/components/Item/Item.js +4 -4
  53. package/cjs/components/ItemLink/ItemLink.js +4 -4
  54. package/cjs/components/ItemList/ItemList.js +6 -6
  55. package/cjs/components/Label/Label.js +3 -3
  56. package/cjs/components/Layer/Layer.js +2 -2
  57. package/cjs/components/Layout/Layout.js +2 -2
  58. package/cjs/components/Link/Link.js +3 -3
  59. package/cjs/components/List/List.js +4 -4
  60. package/cjs/components/List/ListAction.js +4 -4
  61. package/cjs/components/List/ListActions.js +3 -3
  62. package/cjs/components/List/ListActionsDivider.js +4 -4
  63. package/cjs/components/List/ListEmptyView.js +4 -4
  64. package/cjs/components/List/ListOperation.js +4 -4
  65. package/cjs/components/LocaleProvider/LocaleProvider.js +5 -5
  66. package/cjs/components/Markdown/Markdown.js +3 -3
  67. package/cjs/components/Media/Media.js +5 -5
  68. package/cjs/components/Media/MediaSection.js +3 -3
  69. package/cjs/components/Menu/Menu.js +9 -9
  70. package/cjs/components/Menu/MenuBaseItem.js +3 -3
  71. package/cjs/components/Menu/MenuDivider.js +3 -3
  72. package/cjs/components/Menu/MenuHeader.js +3 -3
  73. package/cjs/components/Menu/MenuItem.js +3 -3
  74. package/cjs/components/Menu/MenuSelectableItem.js +3 -3
  75. package/cjs/components/Overlay/Overlay.js +2 -2
  76. package/cjs/components/PageHeader/PageHeader.js +3 -3
  77. package/cjs/components/Pagination/Pagination.js +3 -3
  78. package/cjs/components/Panel/Panel.js +3 -3
  79. package/cjs/components/Paragraph/Paragraph.js +3 -3
  80. package/cjs/components/Plaintext/Plaintext.js +3 -3
  81. package/cjs/components/Popover/Popover.js +4 -4
  82. package/cjs/components/Popper/Popper.js +2 -2
  83. package/cjs/components/Progress/Progress.js +3 -3
  84. package/cjs/components/ProgressDialog/ProgressDialog.js +3 -3
  85. package/cjs/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
  86. package/cjs/components/ProgressStep/ProgressStep.js +3 -3
  87. package/cjs/components/Radio/Radio.js +3 -3
  88. package/cjs/components/Rating/Rating.js +3 -3
  89. package/cjs/components/Rating/images/rating.svg +6 -6
  90. package/cjs/components/Section/Section.js +4 -4
  91. package/cjs/components/Section/SectionItem.js +3 -3
  92. package/cjs/components/SegmentedControl/SegmentedControl.js +4 -4
  93. package/cjs/components/Select/MultiValue.js +1 -1
  94. package/cjs/components/Select/Select.js +3 -3
  95. package/cjs/components/Select/SelectControl.js +1 -1
  96. package/cjs/components/Select/SelectOption.js +3 -3
  97. package/cjs/components/Select/SelectOptionGroup.js +3 -3
  98. package/cjs/components/Skeleton/Skeleton.js +4 -4
  99. package/cjs/components/Skeleton/SkeletonTabs.js +3 -3
  100. package/cjs/components/Skeleton/SkeletonText.js +3 -3
  101. package/cjs/components/Spinner/Spinner.js +2 -2
  102. package/cjs/components/SplitButton/SplitButton.js +5 -5
  103. package/cjs/components/Spot/Spot.js +3 -3
  104. package/cjs/components/Status/Status.js +3 -3
  105. package/cjs/components/StatusMessage/StatusMessage.js +4 -4
  106. package/cjs/components/Subnav/Subnav.js +5 -5
  107. package/cjs/components/Switch/Switch.js +4 -4
  108. package/cjs/components/SwitchesPanel/SwitchesPanel.js +3 -3
  109. package/cjs/components/SwitchesPanelItem/SwitchesPanelItem.js +52 -81
  110. package/cjs/components/Tabs/SearchBar.js +3 -3
  111. package/cjs/components/Tabs/Tab.js +7 -7
  112. package/cjs/components/Tabs/Tabs.js +6 -6
  113. package/cjs/components/Text/Text.js +3 -3
  114. package/cjs/components/TextArea/TextArea.js +3 -3
  115. package/cjs/components/Toaster/Toaster.js +34 -34
  116. package/cjs/components/Toolbar/Toolbar.js +6 -6
  117. package/cjs/components/Toolbar/ToolbarExpander.js +5 -5
  118. package/cjs/components/Toolbar/ToolbarGroup.js +4 -4
  119. package/cjs/components/Tooltip/Tooltip.js +4 -4
  120. package/cjs/components/Tour/Tour.js +5 -5
  121. package/cjs/components/Translate/Translate.js +3 -3
  122. package/cjs/index.js +1 -1
  123. package/dist/images/no-image.svg +6 -6
  124. package/dist/images/rating.svg +6 -6
  125. package/dist/images/symbols.svg +1875 -1875
  126. package/dist/plesk-ui-library-rtl.css +1 -1
  127. package/dist/plesk-ui-library-rtl.css.map +1 -1
  128. package/dist/plesk-ui-library.css +1 -1
  129. package/dist/plesk-ui-library.css.map +1 -1
  130. package/dist/plesk-ui-library.js +4543 -4580
  131. package/dist/plesk-ui-library.js.map +1 -1
  132. package/dist/plesk-ui-library.min.js +4 -4
  133. package/dist/plesk-ui-library.min.js.map +1 -1
  134. package/esm/components/Action/Action.js +3 -3
  135. package/esm/components/Alert/Alert.js +5 -5
  136. package/esm/components/AutoClosable/AutoClosable.js +3 -3
  137. package/esm/components/AuxiliaryActions/AuxiliaryActions.js +3 -3
  138. package/esm/components/Badge/Badge.js +3 -3
  139. package/esm/components/Breadcrumbs/Breadcrumbs.js +4 -4
  140. package/esm/components/Button/Button.js +4 -4
  141. package/esm/components/ButtonGroup/ButtonGroup.js +3 -3
  142. package/esm/components/Card/Card.js +52 -52
  143. package/esm/components/Card/CardButton.js +2 -2
  144. package/esm/components/Card/PreviewPanel.js +3 -3
  145. package/esm/components/Card/images/no-image.svg +6 -6
  146. package/esm/components/CardList/CardList.js +55 -55
  147. package/esm/components/Carousel/Carousel.js +4 -4
  148. package/esm/components/Checkbox/Checkbox.js +3 -3
  149. package/esm/components/CodeEditor/CodeEditor.js +3 -3
  150. package/esm/components/Columns/Column.js +3 -3
  151. package/esm/components/Columns/Columns.js +3 -3
  152. package/esm/components/ComboBox/ComboBox.js +4 -4
  153. package/esm/components/ComboBox/ComboBoxOption.js +3 -3
  154. package/esm/components/ConsoleOutput/ConsoleOutput.js +3 -3
  155. package/esm/components/ContentLoader/ContentLoader.js +3 -3
  156. package/esm/components/Cuttable/Cuttable.js +3 -3
  157. package/esm/components/Dialog/Dialog.js +3 -3
  158. package/esm/components/Drawer/Drawer.js +4 -4
  159. package/esm/components/Dropdown/Dropdown.js +5 -5
  160. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessage.js +4 -4
  161. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +3 -3
  162. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +3 -3
  163. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +3 -3
  164. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +3 -3
  165. package/esm/components/Figure/Figure.js +3 -3
  166. package/esm/components/Form/Form.js +4 -4
  167. package/esm/components/Form/utils.js +22 -22
  168. package/esm/components/FormField/FormField.js +24 -24
  169. package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +4 -4
  170. package/esm/components/FormFieldPassword/FormFieldPassword.js +3 -3
  171. package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -3
  172. package/esm/components/FormFieldSelect/FormFieldSelect.js +4 -4
  173. package/esm/components/FormFieldText/FormFieldText.js +5 -5
  174. package/esm/components/Grid/Grid.js +3 -3
  175. package/esm/components/GridCol/GridCol.js +3 -3
  176. package/esm/components/Heading/Heading.js +3 -3
  177. package/esm/components/Hint/Hint.js +3 -3
  178. package/esm/components/Icon/Icon.js +6 -6
  179. package/esm/components/Icon/images/symbols.svg +1875 -1875
  180. package/esm/components/InPlaceEdit/InPlaceEdit.js +5 -5
  181. package/esm/components/Input/Input.js +3 -3
  182. package/esm/components/InputFile/InputFile.js +3 -3
  183. package/esm/components/InputNumber/InputNumber.js +3 -3
  184. package/esm/components/Item/Item.js +4 -4
  185. package/esm/components/ItemLink/ItemLink.js +4 -4
  186. package/esm/components/ItemList/ItemList.js +6 -6
  187. package/esm/components/Label/Label.js +3 -3
  188. package/esm/components/Layer/Layer.js +2 -2
  189. package/esm/components/Layout/Layout.js +2 -2
  190. package/esm/components/Link/Link.js +3 -3
  191. package/esm/components/List/List.js +4 -4
  192. package/esm/components/List/ListAction.js +4 -4
  193. package/esm/components/List/ListActions.js +3 -3
  194. package/esm/components/List/ListActionsDivider.js +4 -4
  195. package/esm/components/List/ListEmptyView.js +4 -4
  196. package/esm/components/List/ListOperation.js +4 -4
  197. package/esm/components/LocaleProvider/LocaleProvider.js +4 -4
  198. package/esm/components/Markdown/Markdown.js +3 -3
  199. package/esm/components/Media/Media.js +5 -5
  200. package/esm/components/Media/MediaSection.js +3 -3
  201. package/esm/components/Menu/Menu.js +9 -9
  202. package/esm/components/Menu/MenuBaseItem.js +3 -3
  203. package/esm/components/Menu/MenuDivider.js +3 -3
  204. package/esm/components/Menu/MenuHeader.js +3 -3
  205. package/esm/components/Menu/MenuItem.js +3 -3
  206. package/esm/components/Menu/MenuSelectableItem.js +3 -3
  207. package/esm/components/Overlay/Overlay.js +2 -2
  208. package/esm/components/PageHeader/PageHeader.js +3 -3
  209. package/esm/components/Pagination/Pagination.js +3 -3
  210. package/esm/components/Panel/Panel.js +3 -3
  211. package/esm/components/Paragraph/Paragraph.js +3 -3
  212. package/esm/components/Plaintext/Plaintext.js +3 -3
  213. package/esm/components/Popover/Popover.js +4 -4
  214. package/esm/components/Popper/Popper.js +2 -2
  215. package/esm/components/Progress/Progress.js +3 -3
  216. package/esm/components/ProgressDialog/ProgressDialog.js +3 -3
  217. package/esm/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
  218. package/esm/components/ProgressStep/ProgressStep.js +3 -3
  219. package/esm/components/Radio/Radio.js +3 -3
  220. package/esm/components/Rating/Rating.js +3 -3
  221. package/esm/components/Rating/images/rating.svg +6 -6
  222. package/esm/components/Section/Section.js +4 -4
  223. package/esm/components/Section/SectionItem.js +3 -3
  224. package/esm/components/SegmentedControl/SegmentedControl.js +4 -4
  225. package/esm/components/Select/MultiValue.js +1 -1
  226. package/esm/components/Select/Select.js +3 -3
  227. package/esm/components/Select/SelectControl.js +1 -1
  228. package/esm/components/Select/SelectOption.js +3 -3
  229. package/esm/components/Select/SelectOptionGroup.js +3 -3
  230. package/esm/components/Skeleton/Skeleton.js +4 -4
  231. package/esm/components/Skeleton/SkeletonTabs.js +3 -3
  232. package/esm/components/Skeleton/SkeletonText.js +3 -3
  233. package/esm/components/Spinner/Spinner.js +2 -2
  234. package/esm/components/SplitButton/SplitButton.js +5 -5
  235. package/esm/components/Spot/Spot.js +3 -3
  236. package/esm/components/Status/Status.js +3 -3
  237. package/esm/components/StatusMessage/StatusMessage.js +4 -4
  238. package/esm/components/Subnav/Subnav.js +5 -5
  239. package/esm/components/Switch/Switch.js +4 -4
  240. package/esm/components/SwitchesPanel/SwitchesPanel.js +3 -3
  241. package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +52 -81
  242. package/esm/components/Tabs/SearchBar.js +3 -3
  243. package/esm/components/Tabs/Tab.js +7 -7
  244. package/esm/components/Tabs/Tabs.js +6 -6
  245. package/esm/components/Text/Text.js +3 -3
  246. package/esm/components/TextArea/TextArea.js +3 -3
  247. package/esm/components/Toaster/Toaster.js +34 -34
  248. package/esm/components/Toolbar/Toolbar.js +6 -6
  249. package/esm/components/Toolbar/ToolbarExpander.js +5 -5
  250. package/esm/components/Toolbar/ToolbarGroup.js +4 -4
  251. package/esm/components/Tooltip/Tooltip.js +4 -4
  252. package/esm/components/Tour/Tour.js +5 -5
  253. package/esm/components/Translate/Translate.js +3 -3
  254. package/esm/index.js +1 -1
  255. package/index.js +5 -5
  256. package/package.json +150 -150
  257. package/scripts/postinstall.js +9 -9
  258. package/styleguide/browserconfig.xml +9 -9
  259. package/styleguide/build/bundle.f82c55df.js +2 -0
  260. package/styleguide/images/no-image.svg +6 -6
  261. package/styleguide/images/rating.svg +6 -6
  262. package/styleguide/images/symbols.svg +1875 -1875
  263. package/styleguide/index.html +2 -2
  264. package/styleguide/placeholders/placeholder_400x200.svg +5 -5
  265. package/styleguide/placeholders/placeholder_400x400.svg +5 -5
  266. package/styleguide/placeholders/placeholder_600x400.svg +5 -5
  267. package/styleguide/safari-pinned-tab.svg +28 -28
  268. package/styleguide/site.webmanifest +19 -19
  269. package/types/src/components/LocaleProvider/LocaleProvider.d.ts +5 -0
  270. package/types/src/components/SwitchesPanelItem/SwitchesPanelItem.d.ts +5 -20
  271. package/styleguide/build/bundle.fac8e4e0.js +0 -2
  272. /package/styleguide/build/{bundle.fac8e4e0.js.LICENSE.txt → bundle.f82c55df.js.LICENSE.txt} +0 -0
@@ -45,10 +45,10 @@ const collect = function (children) {
45
45
  options
46
46
  };
47
47
  };
48
- /**
49
- * `ComboBox` component is a combination of [Select](#!/Select) and [Input](#!/Input)
50
- * which allows to either enter a value directly into the field or choose from a list of existing options.
51
- * @since 2.6.0
48
+ /**
49
+ * `ComboBox` component is a combination of [Select](#!/Select) and [Input](#!/Input)
50
+ * which allows to either enter a value directly into the field or choose from a list of existing options.
51
+ * @since 2.6.0
52
52
  */
53
53
  const ComboBox = _ref => {
54
54
  let {
@@ -7,9 +7,9 @@ exports.default = void 0;
7
7
  var _jsxRuntime = require("react/jsx-runtime");
8
8
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
9
9
 
10
- /**
11
- * `ComboBoxOption` is a part of [ComboBox](#!/ComboBox) component.
12
- * @since 2.6.0
10
+ /**
11
+ * `ComboBoxOption` is a part of [ComboBox](#!/ComboBox) component.
12
+ * @since 2.6.0
13
13
  */
14
14
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
15
15
  const ComboBoxOption = _props => {
@@ -15,9 +15,9 @@ var _jsxRuntime = require("react/jsx-runtime");
15
15
  const scrollToBottom = el => {
16
16
  el.scrollTop = el.scrollHeight;
17
17
  };
18
- /**
19
- * `ConsoleOutput` component is used for showing dynamically updating data from console output.
20
- * @since 0.0.35
18
+ /**
19
+ * `ConsoleOutput` component is used for showing dynamically updating data from console output.
20
+ * @since 0.0.35
21
21
  */
22
22
  class ConsoleOutput extends _react.PureComponent {
23
23
  constructor() {
@@ -31,9 +31,9 @@ const getLoader = loader => {
31
31
  };
32
32
  };
33
33
 
34
- /**
35
- * `ContentLoader` component is used as placeholder which indicates that the system is loading requested content.
36
- * @since 1.1.0
34
+ /**
35
+ * `ContentLoader` component is used as placeholder which indicates that the system is loading requested content.
36
+ * @since 1.1.0
37
37
  */
38
38
  const ContentLoader = _ref => {
39
39
  let {
@@ -15,9 +15,9 @@ var _Link = _interopRequireDefault(require("../Link"));
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
16
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
17
17
 
18
- /**
19
- * `Cuttable` component is used for showing and hiding part of content.
20
- * @since 0.0.42
18
+ /**
19
+ * `Cuttable` component is used for showing and hiding part of content.
20
+ * @since 0.0.42
21
21
  */
22
22
  class Cuttable extends _react.Component {
23
23
  constructor() {
@@ -23,9 +23,9 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
23
23
 
24
24
  const isProps = value => value && typeof value === 'object' && ! /*#__PURE__*/(0, _react.isValidElement)(value);
25
25
 
26
- /**
27
- * `Dialog` is a modal window that asks users to make a decision or enter additional information.
28
- * @since 0.0.68
26
+ /**
27
+ * `Dialog` is a modal window that asks users to make a decision or enter additional information.
28
+ * @since 0.0.68
29
29
  */
30
30
  const Dialog = _ref => {
31
31
  let {
@@ -19,10 +19,10 @@ var _DrawerProgress = _interopRequireDefault(require("./DrawerProgress"));
19
19
  var _jsxRuntime = require("react/jsx-runtime");
20
20
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
21
21
 
22
- /**
23
- * `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
24
- * [Read more when to use Drawer](#!/Drawers%2C%20pages%2C%20popovers).
25
- * @since 0.0.65
22
+ /**
23
+ * `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
24
+ * [Read more when to use Drawer](#!/Drawers%2C%20pages%2C%20popovers).
25
+ * @since 0.0.65
26
26
  */
27
27
  const Drawer = _ref => {
28
28
  let {
@@ -124,11 +124,11 @@ const useEnhancedMenu = (menu, _ref2) => {
124
124
  };
125
125
  };
126
126
 
127
- /**
128
- * `Dropdown` component is a [Button](#!/Button) that opens a drop-down (nested) [Menu](#!/Menu).
129
- * Use dropdown for grouping actions that are not used often or are less important than others -- in other words,
130
- * for stuff that you don't want to show users all the time, especially if you have limited screen space.
131
- * @since 0.0.57
127
+ /**
128
+ * `Dropdown` component is a [Button](#!/Button) that opens a drop-down (nested) [Menu](#!/Menu).
129
+ * Use dropdown for grouping actions that are not used often or are less important than others -- in other words,
130
+ * for stuff that you don't want to show users all the time, especially if you have limited screen space.
131
+ * @since 0.0.57
132
132
  */
133
133
  const Dropdown = _ref3 => {
134
134
  let {
@@ -11,10 +11,10 @@ var _constants = require("../../constants");
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
12
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
13
13
 
14
- /**
15
- * `ExtendedStatusMessage` component is similar to regular [StatusMessage](#!/StatusMessage)
16
- * but it is used when the message itself is the primary content on the page.
17
- * @since 0.0.35
14
+ /**
15
+ * `ExtendedStatusMessage` component is similar to regular [StatusMessage](#!/StatusMessage)
16
+ * but it is used when the message itself is the primary content on the page.
17
+ * @since 0.0.35
18
18
  */
19
19
  const ExtendedStatusMessage = _ref => {
20
20
  let {
@@ -10,9 +10,9 @@ var _constants = require("../../constants");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
12
12
 
13
- /**
14
- * `ExtendedStatusMessageActions` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
15
- * @since 0.0.35
13
+ /**
14
+ * `ExtendedStatusMessageActions` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
15
+ * @since 0.0.35
16
16
  */
17
17
 
18
18
  const ExtendedStatusMessageActions = _ref => {
@@ -10,9 +10,9 @@ var _constants = require("../../constants");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
12
12
 
13
- /**
14
- * `ExtendedStatusMessageDescription` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
15
- * @since 0.0.35
13
+ /**
14
+ * `ExtendedStatusMessageDescription` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
15
+ * @since 0.0.35
16
16
  */
17
17
 
18
18
  const ExtendedStatusMessageDescription = _ref => {
@@ -9,9 +9,9 @@ var _classnames = _interopRequireDefault(require("classnames"));
9
9
  var _jsxRuntime = require("react/jsx-runtime");
10
10
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
11
11
 
12
- /**
13
- * `ExtendedStatusMessageSeparator` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
14
- * @since 0.0.35
12
+ /**
13
+ * `ExtendedStatusMessageSeparator` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
14
+ * @since 0.0.35
15
15
  */
16
16
 
17
17
  const ExtendedStatusMessageSeparator = _ref => {
@@ -11,9 +11,9 @@ var _Heading = _interopRequireDefault(require("../Heading"));
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
12
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
13
13
 
14
- /**
15
- * `ExtendedStatusMessageTitle` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
16
- * @since 0.0.35
14
+ /**
15
+ * `ExtendedStatusMessageTitle` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
16
+ * @since 0.0.35
17
17
  */
18
18
 
19
19
  const ExtendedStatusMessageTitle = _ref => {
@@ -10,9 +10,9 @@ var _constants = require("../../constants");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
12
12
 
13
- /**
14
- * Figure component.
15
- * @since 0.0.42
13
+ /**
14
+ * Figure component.
15
+ * @since 0.0.42
16
16
  */
17
17
  const Figure = _ref => {
18
18
  let {
@@ -413,9 +413,9 @@ const RefForwardingForm = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
413
413
  });
414
414
  });
415
415
  RefForwardingForm.displayName = 'Form';
416
- /**
417
- * `Form` component is used for entering and submitting of user data.
418
- * [More details about designing of forms.](#!/Good%20Forms)
419
- * @since 0.0.54
416
+ /**
417
+ * `Form` component is used for entering and submitting of user data.
418
+ * [More details about designing of forms.](#!/Good%20Forms)
419
+ * @since 0.0.54
420
420
  */
421
421
  var _default = exports.default = RefForwardingForm;
@@ -23,17 +23,17 @@ const fixObj = (obj, key) => {
23
23
  return [...obj];
24
24
  };
25
25
 
26
- /**
27
- * Deeply get a value from an object via its path.
28
- *
29
- * @param {object} obj The object to query.
30
- * @param {string} name The path of the property to get.
31
- * @param {*} def The value returned for `undefined` resolved values.
32
- * @returns {*} Returns the resolved value.
33
- *
34
- * @example
35
- * const name = getIn(state, 'user[name]', 'Anonymous');
36
- *
26
+ /**
27
+ * Deeply get a value from an object via its path.
28
+ *
29
+ * @param {object} obj The object to query.
30
+ * @param {string} name The path of the property to get.
31
+ * @param {*} def The value returned for `undefined` resolved values.
32
+ * @returns {*} Returns the resolved value.
33
+ *
34
+ * @example
35
+ * const name = getIn(state, 'user[name]', 'Anonymous');
36
+ *
37
37
  */
38
38
  const getIn = (obj, name, def) => {
39
39
  const path = nameToPath(name);
@@ -44,17 +44,17 @@ const getIn = (obj, name, def) => {
44
44
  return val === undefined ? def : val;
45
45
  };
46
46
 
47
- /**
48
- * Deeply set a value from in object via it's path.
49
- * Does not mutate an original object.
50
- *
51
- * @param {object} obj The object to query.
52
- * @param {string} name The path of the property to set.
53
- * @param {*} val The value to set.
54
- * @returns {object} Returns a new object.
55
- *
56
- * @example
57
- * const nextState = setIn(state, 'user[name]', 'John');
47
+ /**
48
+ * Deeply set a value from in object via it's path.
49
+ * Does not mutate an original object.
50
+ *
51
+ * @param {object} obj The object to query.
52
+ * @param {string} name The path of the property to set.
53
+ * @param {*} val The value to set.
54
+ * @returns {object} Returns a new object.
55
+ *
56
+ * @example
57
+ * const nextState = setIn(state, 'user[name]', 'John');
58
58
  */
59
59
  exports.getIn = getIn;
60
60
  const setIn = (obj, name, val) => {
@@ -29,8 +29,8 @@ var _jsxRuntime = require("react/jsx-runtime");
29
29
  const BASE_FORM_FIELD_CLASS_NAME = exports.BASE_FORM_FIELD_CLASS_NAME = `${_constants.CLS_PREFIX}form-field`;
30
30
  const defaultValue = undefined;
31
31
 
32
- /**
33
- * Simple helper to handle situations when we're expecting only array
32
+ /**
33
+ * Simple helper to handle situations when we're expecting only array
34
34
  */
35
35
  const getArrayHelper = function (value) {
36
36
  let nonEmpty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -44,8 +44,8 @@ const getArrayHelper = function (value) {
44
44
  return result;
45
45
  };
46
46
  const isEmpty = value => !value && value !== 0 || Array.isArray(value) && value.length === 0 || !Array.isArray(value) && typeof value === 'object' && Object.values(value).filter(t => Boolean(t)).length === 0;
47
- /**
48
- * @since 0.0.54
47
+ /**
48
+ * @since 0.0.54
49
49
  */
50
50
  class FormField extends _react.Component {
51
51
  constructor(_props) {
@@ -55,8 +55,8 @@ class FormField extends _react.Component {
55
55
  (0, _defineProperty2.default)(this, "fieldApi", void 0);
56
56
  (0, _defineProperty2.default)(this, "targetRefs", void 0);
57
57
  (0, _defineProperty2.default)(this, "focusTimer", null);
58
- /**
59
- * Field API provided to field
58
+ /**
59
+ * Field API provided to field
60
60
  */
61
61
  (0, _defineProperty2.default)(this, "getFieldApi", index => {
62
62
  if (!this.props.multi) {
@@ -128,15 +128,15 @@ class FormField extends _react.Component {
128
128
  }, 500);
129
129
  }
130
130
  });
131
- /**
132
- * Handler for clicks on 'Add more'
131
+ /**
132
+ * Handler for clicks on 'Add more'
133
133
  */
134
134
  (0, _defineProperty2.default)(this, "handleAddMore", () => {
135
135
  const values = getArrayHelper(this.fieldApi.getValue(), true);
136
136
  this.fieldApi.setValue([...values, defaultValue]);
137
137
  });
138
- /**
139
- * Handler for clicks on 'Remove'
138
+ /**
139
+ * Handler for clicks on 'Remove'
140
140
  */
141
141
  (0, _defineProperty2.default)(this, "handleRemove", index => {
142
142
  const values = getArrayHelper(this.fieldApi.getValue());
@@ -158,8 +158,8 @@ class FormField extends _react.Component {
158
158
  (0, _defineProperty2.default)(this, "setTargetRef", index => node => {
159
159
  this.targetRefs[index] = node;
160
160
  });
161
- /**
162
- * Renders 'Remove' button for each row.
161
+ /**
162
+ * Renders 'Remove' button for each row.
163
163
  */
164
164
  (0, _defineProperty2.default)(this, "renderRemoveButton", index => {
165
165
  const {
@@ -186,8 +186,8 @@ class FormField extends _react.Component {
186
186
  ghost: true
187
187
  });
188
188
  });
189
- /**
190
- * Renders description for last row.
189
+ /**
190
+ * Renders description for last row.
191
191
  */
192
192
  (0, _defineProperty2.default)(this, "renderDescription", index => {
193
193
  const {
@@ -204,8 +204,8 @@ class FormField extends _react.Component {
204
204
  children: description
205
205
  });
206
206
  });
207
- /**
208
- * Renders one field.
207
+ /**
208
+ * Renders one field.
209
209
  */
210
210
  (0, _defineProperty2.default)(this, "renderField", function () {
211
211
  let index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
@@ -424,14 +424,14 @@ class FormField extends _react.Component {
424
424
  }
425
425
  }
426
426
 
427
- /**
428
- * `FormField` component is used for showing of parameter values in Form or
429
- * for entering of user data with any form elements.
430
- *
431
- * For the most cases the following form elements can be used:
432
- * * [FormFieldText](#!/FormFieldText) for entering text,
433
- * * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
434
- * [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
427
+ /**
428
+ * `FormField` component is used for showing of parameter values in Form or
429
+ * for entering of user data with any form elements.
430
+ *
431
+ * For the most cases the following form elements can be used:
432
+ * * [FormFieldText](#!/FormFieldText) for entering text,
433
+ * * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
434
+ * [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
435
435
  */
436
436
  const FormFieldWrapper = _ref => {
437
437
  let {
@@ -13,10 +13,10 @@ var _FormField = _interopRequireDefault(require("../FormField"));
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
14
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
15
15
 
16
- /**
17
- * `FormFieldCheckbox` component is used for turning an option on or off
18
- * and selecting or deselecting an item.
19
- * @since 0.0.58
16
+ /**
17
+ * `FormFieldCheckbox` component is used for turning an option on or off
18
+ * and selecting or deselecting an item.
19
+ * @since 0.0.58
20
20
  */
21
21
  const FormFieldCheckbox = _ref => {
22
22
  let {
@@ -19,9 +19,9 @@ var _enUS = _interopRequireDefault(require("./locale/en-US"));
19
19
  var _jsxRuntime = require("react/jsx-runtime");
20
20
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
21
21
 
22
- /**
23
- * `FormFieldPassword` component provides secure way to enter a password.
24
- * @since 0.0.58
22
+ /**
23
+ * `FormFieldPassword` component provides secure way to enter a password.
24
+ * @since 0.0.58
25
25
  */
26
26
  class FormFieldPassword extends _react.Component {
27
27
  constructor() {
@@ -16,9 +16,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
18
18
 
19
- /**
20
- * `FormFieldRadioButtons` is used for making a choice among a set of mutually exclusive, related options. Only one option can be chosen.
21
- * @since 0.2.0
19
+ /**
20
+ * `FormFieldRadioButtons` is used for making a choice among a set of mutually exclusive, related options. Only one option can be chosen.
21
+ * @since 0.2.0
22
22
  */
23
23
  const FormFieldRadioButtons = _ref => {
24
24
  let {
@@ -12,10 +12,10 @@ var _Select = _interopRequireDefault(require("../Select"));
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
14
14
 
15
- /**
16
- * `FormFieldSelect` componentis is used for making a choice among a set of related options.
17
- * See description of `Select` for [the full list of properties](#!/Select) of this component.
18
- * @since 1.12.3
15
+ /**
16
+ * `FormFieldSelect` componentis is used for making a choice among a set of related options.
17
+ * See description of `Select` for [the full list of properties](#!/Select) of this component.
18
+ * @since 1.12.3
19
19
  */
20
20
  const FormFieldSelect = _ref => {
21
21
  let {
@@ -13,11 +13,11 @@ var _TextArea = _interopRequireDefault(require("../TextArea"));
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
14
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
15
15
 
16
- /**
17
- * `FormFieldText` component is used for entering of user data in text format.
18
- *
19
- * [FormField](#!/FormField) with [InputNumber](#!/InputNumber) can be used for entering of integer numbers.
20
- * @since 0.0.58
16
+ /**
17
+ * `FormFieldText` component is used for entering of user data in text format.
18
+ *
19
+ * [FormField](#!/FormField) with [InputNumber](#!/InputNumber) can be used for entering of integer numbers.
20
+ * @since 0.0.58
21
21
  */
22
22
  const FormFieldText = props => {
23
23
  const {
@@ -13,9 +13,9 @@ var _constants = require("../../constants");
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
14
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
15
15
 
16
- /**
17
- * `Grid` component is used to layout and align content based on 12-column system.
18
- * @since 0.0.48
16
+ /**
17
+ * `Grid` component is used to layout and align content based on 12-column system.
18
+ * @since 0.0.48
19
19
  */
20
20
  class Grid extends _react.Component {
21
21
  constructor() {
@@ -10,9 +10,9 @@ var _constants = require("../../constants");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
12
12
 
13
- /**
14
- * `GridCol` component is a part of [Grid](#!/Grid) component.
15
- * @since 0.0.48
13
+ /**
14
+ * `GridCol` component is a part of [Grid](#!/Grid) component.
15
+ * @since 0.0.48
16
16
  */
17
17
  const GridCol = _ref => {
18
18
  let {
@@ -13,9 +13,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
13
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
14
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
15
15
 
16
- /**
17
- * `Heading` is used as a text title (or a subtitle) to define the hierarchy and the structure of the content.
18
- * @since 2.3.0
16
+ /**
17
+ * `Heading` is used as a text title (or a subtitle) to define the hierarchy and the structure of the content.
18
+ * @since 2.3.0
19
19
  */
20
20
  const Heading = _ref => {
21
21
  let {
@@ -10,9 +10,9 @@ var _constants = require("../../constants");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
12
12
 
13
- /**
14
- * `Hint` component is used for auxiliary text like advice, suggestion or other useful practical information.
15
- * @since 0.0.35
13
+ /**
14
+ * `Hint` component is used for auxiliary text like advice, suggestion or other useful practical information.
15
+ * @since 0.0.35
16
16
  */
17
17
  const Hint = _ref => {
18
18
  let {
@@ -61,12 +61,12 @@ const getHref = (name, size) => {
61
61
  }
62
62
  return `${_symbols.default}#${name}:${iconSize}`;
63
63
  };
64
- /**
65
- * `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
66
- * bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
67
- * of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
68
- * standard sizes.
69
- * @since 0.0.35
64
+ /**
65
+ * `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
66
+ * bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
67
+ * of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
68
+ * standard sizes.
69
+ * @since 0.0.35
70
70
  */
71
71
 
72
72
  const Icon = _ref => {