@plesk/ui-library 3.36.1 → 3.37.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 (279) 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 +186 -81
  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 +5 -4
  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 +1846 -1846
  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 -7
  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 +3 -3
  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 +64 -101
  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 +5 -4
  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 +4 -4
  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 +37 -37
  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/Toolbar/ToolbarMenu.js +0 -1
  120. package/cjs/components/Tooltip/Tooltip.js +4 -4
  121. package/cjs/components/Tour/Tour.js +5 -5
  122. package/cjs/components/Translate/Translate.js +3 -3
  123. package/cjs/index.js +1 -1
  124. package/dist/images/no-image.svg +6 -6
  125. package/dist/images/rating.svg +6 -6
  126. package/dist/images/symbols.svg +1846 -1846
  127. package/dist/plesk-ui-library-rtl.css +1 -1
  128. package/dist/plesk-ui-library-rtl.css.map +1 -1
  129. package/dist/plesk-ui-library.css +1 -1
  130. package/dist/plesk-ui-library.css.map +1 -1
  131. package/dist/plesk-ui-library.js +11997 -11914
  132. package/dist/plesk-ui-library.js.map +1 -1
  133. package/dist/plesk-ui-library.min.js +18 -18
  134. package/dist/plesk-ui-library.min.js.map +1 -1
  135. package/esm/components/Action/Action.js +3 -3
  136. package/esm/components/Alert/Alert.js +5 -5
  137. package/esm/components/AutoClosable/AutoClosable.js +3 -3
  138. package/esm/components/AuxiliaryActions/AuxiliaryActions.js +3 -3
  139. package/esm/components/Badge/Badge.js +3 -3
  140. package/esm/components/Breadcrumbs/Breadcrumbs.js +4 -4
  141. package/esm/components/Button/Button.js +4 -4
  142. package/esm/components/ButtonGroup/ButtonGroup.js +3 -3
  143. package/esm/components/Card/Card.js +52 -52
  144. package/esm/components/Card/CardButton.js +2 -2
  145. package/esm/components/Card/PreviewPanel.js +3 -3
  146. package/esm/components/Card/images/no-image.svg +6 -6
  147. package/esm/components/CardList/CardList.js +55 -55
  148. package/esm/components/Carousel/Carousel.js +187 -82
  149. package/esm/components/Checkbox/Checkbox.js +3 -3
  150. package/esm/components/CodeEditor/CodeEditor.js +3 -3
  151. package/esm/components/Columns/Column.js +3 -3
  152. package/esm/components/Columns/Columns.js +3 -3
  153. package/esm/components/ComboBox/ComboBox.js +4 -4
  154. package/esm/components/ComboBox/ComboBoxOption.js +5 -4
  155. package/esm/components/ConsoleOutput/ConsoleOutput.js +3 -3
  156. package/esm/components/ContentLoader/ContentLoader.js +3 -3
  157. package/esm/components/Cuttable/Cuttable.js +3 -3
  158. package/esm/components/Dialog/Dialog.js +3 -3
  159. package/esm/components/Drawer/Drawer.js +4 -4
  160. package/esm/components/Dropdown/Dropdown.js +5 -5
  161. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessage.js +4 -4
  162. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +3 -3
  163. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +3 -3
  164. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +3 -3
  165. package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +3 -3
  166. package/esm/components/Figure/Figure.js +3 -3
  167. package/esm/components/Form/Form.js +4 -4
  168. package/esm/components/Form/utils.js +22 -22
  169. package/esm/components/FormField/FormField.js +24 -24
  170. package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +4 -4
  171. package/esm/components/FormFieldPassword/FormFieldPassword.js +3 -3
  172. package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -3
  173. package/esm/components/FormFieldSelect/FormFieldSelect.js +4 -4
  174. package/esm/components/FormFieldText/FormFieldText.js +5 -5
  175. package/esm/components/Grid/Grid.js +3 -3
  176. package/esm/components/GridCol/GridCol.js +3 -3
  177. package/esm/components/Heading/Heading.js +3 -3
  178. package/esm/components/Hint/Hint.js +3 -3
  179. package/esm/components/Icon/Icon.js +6 -6
  180. package/esm/components/Icon/images/symbols.svg +1846 -1846
  181. package/esm/components/InPlaceEdit/InPlaceEdit.js +5 -5
  182. package/esm/components/Input/Input.js +3 -3
  183. package/esm/components/InputFile/InputFile.js +3 -3
  184. package/esm/components/InputNumber/InputNumber.js +3 -3
  185. package/esm/components/Item/Item.js +4 -4
  186. package/esm/components/ItemLink/ItemLink.js +4 -4
  187. package/esm/components/ItemList/ItemList.js +6 -6
  188. package/esm/components/Label/Label.js +3 -3
  189. package/esm/components/Layer/Layer.js +2 -2
  190. package/esm/components/Layout/Layout.js +2 -2
  191. package/esm/components/Link/Link.js +3 -3
  192. package/esm/components/List/List.js +4 -7
  193. package/esm/components/List/ListAction.js +4 -4
  194. package/esm/components/List/ListActions.js +3 -3
  195. package/esm/components/List/ListActionsDivider.js +4 -4
  196. package/esm/components/List/ListEmptyView.js +4 -4
  197. package/esm/components/List/ListOperation.js +4 -4
  198. package/esm/components/LocaleProvider/LocaleProvider.js +3 -3
  199. package/esm/components/Markdown/Markdown.js +3 -3
  200. package/esm/components/Media/Media.js +5 -5
  201. package/esm/components/Media/MediaSection.js +3 -3
  202. package/esm/components/Menu/Menu.js +9 -9
  203. package/esm/components/Menu/MenuBaseItem.js +3 -3
  204. package/esm/components/Menu/MenuDivider.js +3 -3
  205. package/esm/components/Menu/MenuHeader.js +3 -3
  206. package/esm/components/Menu/MenuItem.js +3 -3
  207. package/esm/components/Menu/MenuSelectableItem.js +3 -3
  208. package/esm/components/Overlay/Overlay.js +2 -2
  209. package/esm/components/PageHeader/PageHeader.js +3 -3
  210. package/esm/components/Pagination/Pagination.js +3 -3
  211. package/esm/components/Panel/Panel.js +65 -102
  212. package/esm/components/Paragraph/Paragraph.js +3 -3
  213. package/esm/components/Plaintext/Plaintext.js +3 -3
  214. package/esm/components/Popover/Popover.js +4 -4
  215. package/esm/components/Popper/Popper.js +2 -2
  216. package/esm/components/Progress/Progress.js +3 -3
  217. package/esm/components/ProgressDialog/ProgressDialog.js +3 -3
  218. package/esm/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
  219. package/esm/components/ProgressStep/ProgressStep.js +3 -3
  220. package/esm/components/Radio/Radio.js +3 -3
  221. package/esm/components/Rating/Rating.js +3 -3
  222. package/esm/components/Rating/images/rating.svg +6 -6
  223. package/esm/components/Section/Section.js +4 -4
  224. package/esm/components/Section/SectionItem.js +3 -3
  225. package/esm/components/SegmentedControl/SegmentedControl.js +4 -4
  226. package/esm/components/Select/MultiValue.js +1 -1
  227. package/esm/components/Select/Select.js +3 -3
  228. package/esm/components/Select/SelectControl.js +1 -1
  229. package/esm/components/Select/SelectOption.js +5 -4
  230. package/esm/components/Select/SelectOptionGroup.js +3 -3
  231. package/esm/components/Skeleton/Skeleton.js +4 -4
  232. package/esm/components/Skeleton/SkeletonTabs.js +3 -3
  233. package/esm/components/Skeleton/SkeletonText.js +3 -3
  234. package/esm/components/Spinner/Spinner.js +2 -2
  235. package/esm/components/SplitButton/SplitButton.js +5 -5
  236. package/esm/components/Spot/Spot.js +3 -3
  237. package/esm/components/Status/Status.js +3 -3
  238. package/esm/components/StatusMessage/StatusMessage.js +4 -4
  239. package/esm/components/Subnav/Subnav.js +5 -5
  240. package/esm/components/Switch/Switch.js +4 -4
  241. package/esm/components/SwitchesPanel/SwitchesPanel.js +3 -3
  242. package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +4 -4
  243. package/esm/components/Tabs/SearchBar.js +3 -3
  244. package/esm/components/Tabs/Tab.js +7 -7
  245. package/esm/components/Tabs/Tabs.js +6 -6
  246. package/esm/components/Text/Text.js +3 -3
  247. package/esm/components/TextArea/TextArea.js +3 -3
  248. package/esm/components/Toaster/Toaster.js +37 -37
  249. package/esm/components/Toolbar/Toolbar.js +6 -6
  250. package/esm/components/Toolbar/ToolbarExpander.js +5 -5
  251. package/esm/components/Toolbar/ToolbarGroup.js +4 -4
  252. package/esm/components/Toolbar/ToolbarMenu.js +0 -1
  253. package/esm/components/Tooltip/Tooltip.js +4 -4
  254. package/esm/components/Tour/Tour.js +5 -5
  255. package/esm/components/Translate/Translate.js +3 -3
  256. package/esm/index.js +1 -1
  257. package/index.js +5 -5
  258. package/package.json +150 -150
  259. package/scripts/postinstall.js +9 -9
  260. package/styleguide/browserconfig.xml +9 -9
  261. package/styleguide/build/bundle.c3d05006.js +2 -0
  262. package/styleguide/images/no-image.svg +6 -6
  263. package/styleguide/images/rating.svg +6 -6
  264. package/styleguide/images/symbols.svg +1846 -1846
  265. package/styleguide/index.html +2 -2
  266. package/styleguide/placeholders/placeholder_400x200.svg +5 -5
  267. package/styleguide/placeholders/placeholder_400x400.svg +5 -5
  268. package/styleguide/placeholders/placeholder_600x400.svg +5 -5
  269. package/styleguide/safari-pinned-tab.svg +28 -28
  270. package/styleguide/site.webmanifest +19 -19
  271. package/types/src/components/Carousel/Carousel.d.ts +43 -8
  272. package/types/src/components/List/List.d.ts +0 -1
  273. package/types/src/components/Panel/Panel.d.ts +4 -21
  274. package/types/src/components/Panel/index.d.ts +1 -0
  275. package/types/src/components/Radio/Radio.d.ts +4 -6
  276. package/types/src/components/Section/Section.d.ts +1 -1
  277. package/types/src/components/index.d.ts +1 -0
  278. package/styleguide/build/bundle.ed34a3c0.js +0 -2
  279. /package/styleguide/build/{bundle.ed34a3c0.js.LICENSE.txt → bundle.c3d05006.js.LICENSE.txt} +0 -0
@@ -23,9 +23,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
23
23
  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 && Object.prototype.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; }
24
24
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
25
25
 
26
- /**
27
- * `SearchBar` component is used for providing type-as-you-go search.
28
- * @since 0.0.58
26
+ /**
27
+ * `SearchBar` component is used for providing type-as-you-go search.
28
+ * @since 0.0.58
29
29
  */
30
30
  class SearchBar extends _react.Component {
31
31
  constructor() {
@@ -8,13 +8,13 @@ var _jsxRuntime = require("react/jsx-runtime");
8
8
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
9
9
  /* eslint-disable react/no-unused-prop-types */
10
10
 
11
- /**
12
- * `Tab` is an individual element of the [Tabs](#!/Tabs) component.
13
- *
14
- * Each `Tab` can display an icon near the tab name for easier identification.
15
- * It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
16
- * You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
17
- * @since 0.0.35
11
+ /**
12
+ * `Tab` is an individual element of the [Tabs](#!/Tabs) component.
13
+ *
14
+ * Each `Tab` can display an icon near the tab name for easier identification.
15
+ * It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
16
+ * You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
17
+ * @since 0.0.35
18
18
  */
19
19
  const Tab = _ref => {
20
20
  let {
@@ -25,12 +25,12 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
25
25
  const ADDON_LEFT_PADDING = 5;
26
26
  const MIN_ADDON_WIDTH_DEFAULT = 150;
27
27
  const COLLAPSED_SEARCH_WIDTH = 60;
28
- /**
29
- * `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
30
- * in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
31
- * the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
32
- * group name and a navigation button.
33
- * @since 0.0.35
28
+ /**
29
+ * `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
30
+ * in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
31
+ * the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
32
+ * group name and a navigation button.
33
+ * @since 0.0.35
34
34
  */
35
35
  class Tabs extends _react.Component {
36
36
  constructor() {
@@ -12,9 +12,9 @@ var _OnDarkContext = _interopRequireDefault(require("../OnDarkContext"));
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
14
14
 
15
- /**
16
- * `Text` component is used for displaying inline text. For text blocks use [Paragraph](#!/Paragraph).
17
- * @since 1.1.0
15
+ /**
16
+ * `Text` component is used for displaying inline text. For text blocks use [Paragraph](#!/Paragraph).
17
+ * @since 1.1.0
18
18
  */
19
19
  const Text = _ref => {
20
20
  let {
@@ -28,9 +28,9 @@ const getMinMax = rows => {
28
28
  };
29
29
  const AVAILABLE_SIZES = ['sm', 'md', 'lg', 'xl', 'fill'];
30
30
 
31
- /**
32
- * `TextArea` is used for entering long text (like email body, descriptions, comments).
33
- * @since 1.9.0
31
+ /**
32
+ * `TextArea` is used for entering long text (like email body, descriptions, comments).
33
+ * @since 1.9.0
34
34
  */
35
35
 
36
36
  class TextArea extends _react.Component {
@@ -14,11 +14,11 @@ var _constants = require("../../constants");
14
14
  var _Toast = _interopRequireDefault(require("../Toast"));
15
15
  var _Layer = _interopRequireDefault(require("../Layer"));
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
- var _class; // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
17
+ var _Toaster; // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
18
18
  let toastId = 0;
19
- /**
20
- * `Toaster` is used for notifying about events happened in the system. For example, about results of performed operations.
21
- * @since 0.0.42
19
+ /**
20
+ * `Toaster` is used for notifying about events happened in the system. For example, about results of performed operations.
21
+ * @since 0.0.42
22
22
  */
23
23
  class Toaster extends _react.Component {
24
24
  constructor() {
@@ -43,21 +43,21 @@ class Toaster extends _react.Component {
43
43
  return Boolean(this.props.toasts);
44
44
  }
45
45
 
46
- /**
47
- * Add a new toast
48
- *
49
- * `intent` - Visual intent color to apply to component. (Type: `oneOf` 'info', 'success', 'warning', 'danger'. *Required*.)<br>
50
- * `accent` - Contrast (light) version of the component. (Type: `boolean`. Default: 'undefined'.)<br>
51
- * `icon` - Name of icon or [Icon](#!/Icon) component. (Type: `oneOfType` 'string', 'object', 'element'. Default: `undefined`.)<br>
52
- * `message` - Message to display in the body of the toast. (Type: `any`. Default: `undefined`.)<br>
53
- * `onClose` - onClose handler. (Type: `func`. Default: `undefined`.)<br>
54
- * `closable` - Show close control (cross mark). (Type: `boolean`. Default: `true`.)<br>
55
- * `autoClosable` - Whether call `onClose` after 6 seconds or not.
56
- * Enabled by default when the position is "top-end" and a toast has "success" intent. (Type: `boolean`. Default: 'undefined'.)<br>
57
- * ---
58
- * @param {Object} props **Toast props**:
59
- * @returns {string} New toast key
60
- * @public
46
+ /**
47
+ * Add a new toast
48
+ *
49
+ * `intent` - Visual intent color to apply to component. (Type: `oneOf` 'info', 'success', 'warning', 'danger'. *Required*.)<br>
50
+ * `accent` - Contrast (light) version of the component. (Type: `boolean`. Default: 'undefined'.)<br>
51
+ * `icon` - Name of icon or [Icon](#!/Icon) component. (Type: `oneOfType` 'string', 'object', 'element'. Default: `undefined`.)<br>
52
+ * `message` - Message to display in the body of the toast. (Type: `any`. Default: `undefined`.)<br>
53
+ * `onClose` - onClose handler. (Type: `func`. Default: `undefined`.)<br>
54
+ * `closable` - Show close control (cross mark). (Type: `boolean`. Default: `true`.)<br>
55
+ * `autoClosable` - Whether call `onClose` after 6 seconds or not.
56
+ * Enabled by default when the position is "top-end" and a toast has "success" intent. (Type: `boolean`. Default: 'undefined'.)<br>
57
+ * ---
58
+ * @param {Object} props **Toast props**:
59
+ * @returns {string} New toast key
60
+ * @public
61
61
  */
62
62
  add(props) {
63
63
  const key = `toast-${toastId++}`;
@@ -75,13 +75,13 @@ class Toaster extends _react.Component {
75
75
  return key;
76
76
  }
77
77
 
78
- /**
79
- * Update toast by key
80
- *
81
- * @param {string} key
82
- * @param {Object} props New props
83
- * @returns {string} Updated toast key
84
- * @public
78
+ /**
79
+ * Update toast by key
80
+ *
81
+ * @param {string} key
82
+ * @param {Object} props New props
83
+ * @returns {string} Updated toast key
84
+ * @public
85
85
  */
86
86
  update(key, props) {
87
87
  this.setState(_ref3 => {
@@ -98,11 +98,11 @@ class Toaster extends _react.Component {
98
98
  return key;
99
99
  }
100
100
 
101
- /**
102
- * Remove toast by key
103
- *
104
- * @param {string} key
105
- * @public
101
+ /**
102
+ * Remove toast by key
103
+ *
104
+ * @param {string} key
105
+ * @public
106
106
  */
107
107
  remove(key) {
108
108
  this.setState(_ref4 => {
@@ -115,10 +115,10 @@ class Toaster extends _react.Component {
115
115
  });
116
116
  }
117
117
 
118
- /**
119
- * Clear all toasts
120
- *
121
- * @public
118
+ /**
119
+ * Clear all toasts
120
+ *
121
+ * @public
122
122
  */
123
123
  clear() {
124
124
  this.setState({
@@ -191,7 +191,7 @@ class Toaster extends _react.Component {
191
191
  }
192
192
  }
193
193
  exports.default = Toaster;
194
- _class = Toaster;
194
+ _Toaster = Toaster;
195
195
  // eslint-disable-next-line react/sort-comp
196
196
  (0, _defineProperty2.default)(Toaster, "defaultProps", {
197
197
  position: 'top-end',
@@ -202,7 +202,7 @@ _class = Toaster;
202
202
  let container = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.body;
203
203
  const containerElement = document.createElement('div');
204
204
  container.appendChild(containerElement);
205
- return (0, _reactDom.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_class, {
205
+ return (0, _reactDom.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_Toaster, {
206
206
  ...props
207
207
  }), containerElement);
208
208
  });
@@ -18,12 +18,12 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
18
18
  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 && Object.prototype.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; }
19
19
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
20
20
 
21
- /**
22
- * `Toolbar` component is a panel containing various instruments used for managing the contents of a large content block.
23
- * Toolbar is located on top of the managed content block.
24
- * It typically consists of three main parts: controls that add new elements, controls that work with existing elements,
25
- * and controls for changing the way the content block looks.
26
- * @since 0.0.57
21
+ /**
22
+ * `Toolbar` component is a panel containing various instruments used for managing the contents of a large content block.
23
+ * Toolbar is located on top of the managed content block.
24
+ * It typically consists of three main parts: controls that add new elements, controls that work with existing elements,
25
+ * and controls for changing the way the content block looks.
26
+ * @since 0.0.57
27
27
  */
28
28
 
29
29
  class Toolbar extends _react.Component {
@@ -12,11 +12,11 @@ var _DistractionFreeModeContext = _interopRequireDefault(require("../Distraction
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
14
14
 
15
- /**
16
- * `ToolbarExpander` is a part of the [Toolbar](#!/Toolbar) component.
17
- * It is used to split all toolbar controls into two groups:
18
- * all controls before ToolbarExpander are aligned left, and all controls after ToolbarExpander are aligned right.
19
- * @since 0.0.57
15
+ /**
16
+ * `ToolbarExpander` is a part of the [Toolbar](#!/Toolbar) component.
17
+ * It is used to split all toolbar controls into two groups:
18
+ * all controls before ToolbarExpander are aligned left, and all controls after ToolbarExpander are aligned right.
19
+ * @since 0.0.57
20
20
  */
21
21
  const ToolbarExpander = _ref => {
22
22
  let {
@@ -20,10 +20,10 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
20
20
  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 && Object.prototype.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; }
21
21
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
22
22
 
23
- /**
24
- * `ToolbarGroup` is a part of [Toolbar](#!/Toolbar) component.
25
- * It is used for grouping several toolbar controls together.
26
- * @since 0.0.57
23
+ /**
24
+ * `ToolbarGroup` is a part of [Toolbar](#!/Toolbar) component.
25
+ * It is used for grouping several toolbar controls together.
26
+ * @since 0.0.57
27
27
  */
28
28
 
29
29
  class ToolbarGroup extends _react.Component {
@@ -46,7 +46,6 @@ const toMenuItem = (child, isLast, onItemClick) => {
46
46
  });
47
47
  /* eslint-enable react/prop-types */
48
48
  }
49
-
50
49
  case _ToolbarGroup.default:
51
50
  {
52
51
  const {
@@ -89,10 +89,10 @@ const determinePosition = _ref => {
89
89
  left: targetRect.left + X_EXTRA_SPACE
90
90
  };
91
91
  };
92
- /**
93
- * `Tooltip` component is used for providing information about an interface element
94
- * while user hovers the pointer over the element.
95
- * @since 0.0.35
92
+ /**
93
+ * `Tooltip` component is used for providing information about an interface element
94
+ * while user hovers the pointer over the element.
95
+ * @since 0.0.35
96
96
  */
97
97
  class Tooltip extends _react.Component {
98
98
  constructor() {
@@ -8,11 +8,11 @@ var _react = require("react");
8
8
  var _jsxRuntime = require("react/jsx-runtime");
9
9
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
10
10
 
11
- /**
12
- * `Tour` component is used for introducing a new functionality in the product.
13
- * The component consists of several [Spots](#!/Spot), each of them highlighting a specific feature
14
- * or element you want to focus user attention on.
15
- * @since 2.7.0
11
+ /**
12
+ * `Tour` component is used for introducing a new functionality in the product.
13
+ * The component consists of several [Spots](#!/Spot), each of them highlighting a specific feature
14
+ * or element you want to focus user attention on.
15
+ * @since 2.7.0
16
16
  */
17
17
  const Tour = _ref => {
18
18
  let {
@@ -8,9 +8,9 @@ var _LocaleProvider = require("../LocaleProvider");
8
8
  var _jsxRuntime = require("react/jsx-runtime");
9
9
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
10
10
 
11
- /**
12
- * `Translate` component.
13
- * @since 0.0.42
11
+ /**
12
+ * `Translate` component.
13
+ * @since 0.0.42
14
14
  */
15
15
  const Translate = _ref => {
16
16
  let {
package/cjs/index.js CHANGED
@@ -46,5 +46,5 @@ Object.keys(_components).forEach(function (key) {
46
46
  });
47
47
  });
48
48
  // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
49
- const version = exports.version = "3.36.1";
49
+ const version = exports.version = "3.37.0";
50
50
  (0, _svg4everybody.default)();
@@ -1,7 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="#ccc" width="280" height="210" viewBox="-90 -55 280 210">
2
- <path d="M73.5 43a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"/>
3
- <path fill-rule="evenodd" d="M13.2 16.2A49.9 49.9 0 01100 50c0 14.6-6.2 27.7-16.2 36.8L13.2 16.2zM96 50c0 12-4.6 23-12.2 31.2L78.6 76a4 4 0 003.4-4V36a4 4 0 00-4-4H67.5l-6.3-10.1a4 4 0 00-3.4-1.9H42.2a4 4 0 00-3.4 1.9l-5.5 8.8-14.5-14.5A45.8 45.8 0 0196 50zM78 72h-3.3L63.4 60.7a16 16 0 00-22.1-22.1l-5-5 6-9.6h15.5L64 34.1a4 4 0 003.4 1.9H78v36zM62 52a12 12 0 01-1.5 5.8L44.2 41.5A12 12 0 0162 52z" clip-rule="evenodd"/>
4
- <path d="M80.8 89.4l-2.9-2.8A46 46 0 0113.4 22l-2.8-2.9a50 50 0 0070.2 70.2z"/>
5
- <path d="M23.3 32H22a4 4 0 00-4 4v36a4 4 0 004 4h45.3l-4-4H22V36h5.3l-4-4z"/>
6
- <path d="M35.9 44.5a16 16 0 0021.6 21.6l-3-3A12 12 0 0138 52c0-1.6.3-3.1.9-4.5l-3-3z"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="#ccc" width="280" height="210" viewBox="-90 -55 280 210">
2
+ <path d="M73.5 43a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"/>
3
+ <path fill-rule="evenodd" d="M13.2 16.2A49.9 49.9 0 01100 50c0 14.6-6.2 27.7-16.2 36.8L13.2 16.2zM96 50c0 12-4.6 23-12.2 31.2L78.6 76a4 4 0 003.4-4V36a4 4 0 00-4-4H67.5l-6.3-10.1a4 4 0 00-3.4-1.9H42.2a4 4 0 00-3.4 1.9l-5.5 8.8-14.5-14.5A45.8 45.8 0 0196 50zM78 72h-3.3L63.4 60.7a16 16 0 00-22.1-22.1l-5-5 6-9.6h15.5L64 34.1a4 4 0 003.4 1.9H78v36zM62 52a12 12 0 01-1.5 5.8L44.2 41.5A12 12 0 0162 52z" clip-rule="evenodd"/>
4
+ <path d="M80.8 89.4l-2.9-2.8A46 46 0 0113.4 22l-2.8-2.9a50 50 0 0070.2 70.2z"/>
5
+ <path d="M23.3 32H22a4 4 0 00-4 4v36a4 4 0 004 4h45.3l-4-4H22V36h5.3l-4-4z"/>
6
+ <path d="M35.9 44.5a16 16 0 0021.6 21.6l-3-3A12 12 0 0138 52c0-1.6.3-3.1.9-4.5l-3-3z"/>
7
7
  </svg>
@@ -1,6 +1,6 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="56" height="248" viewBox="0 0 51 248">
2
- <defs><symbol id="star"><path stroke-width="3" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"></path></symbol></defs>
3
- <use x="0" y="0" fill="none" stroke="#ff9500" href="#star"></use>
4
- <use x="0" y="100" fill="#ff9500" stroke="#ff9500" href="#star"></use>
5
- <use x="0" y="200" fill="#848484" stroke="#848484" href="#star"></use>
6
- </svg>
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="56" height="248" viewBox="0 0 51 248">
2
+ <defs><symbol id="star"><path stroke-width="3" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"></path></symbol></defs>
3
+ <use x="0" y="0" fill="none" stroke="#ff9500" href="#star"></use>
4
+ <use x="0" y="100" fill="#ff9500" stroke="#ff9500" href="#star"></use>
5
+ <use x="0" y="200" fill="#848484" stroke="#848484" href="#star"></use>
6
+ </svg>