@plesk/ui-library 3.29.2 → 3.31.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 (36) hide show
  1. package/cjs/components/Action/Action.js +13 -6
  2. package/cjs/components/FormField/FormField.js +1 -0
  3. package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +1 -0
  4. package/cjs/components/Hint/Hint.js +7 -4
  5. package/cjs/components/Icon/constants.js +2 -2
  6. package/cjs/components/Icon/images/symbols.svg +31 -1
  7. package/cjs/components/Link/Link.js +3 -7
  8. package/cjs/components/LocaleProvider/LocaleProvider.js +3 -3
  9. package/cjs/index.js +1 -1
  10. package/dist/images/symbols.svg +31 -1
  11. package/dist/plesk-ui-library-rtl.css +1 -1
  12. package/dist/plesk-ui-library-rtl.css.map +1 -1
  13. package/dist/plesk-ui-library.css +1 -1
  14. package/dist/plesk-ui-library.css.map +1 -1
  15. package/dist/plesk-ui-library.js +40 -32
  16. package/dist/plesk-ui-library.js.map +1 -1
  17. package/dist/plesk-ui-library.min.js +2 -2
  18. package/dist/plesk-ui-library.min.js.map +1 -1
  19. package/esm/components/Action/Action.js +13 -6
  20. package/esm/components/FormField/FormField.js +1 -0
  21. package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +1 -0
  22. package/esm/components/Hint/Hint.js +7 -4
  23. package/esm/components/Icon/constants.js +2 -2
  24. package/esm/components/Icon/images/symbols.svg +31 -1
  25. package/esm/components/Link/Link.js +4 -8
  26. package/esm/components/LocaleProvider/LocaleProvider.js +3 -3
  27. package/esm/index.js +1 -1
  28. package/package.json +17 -17
  29. package/styleguide/build/bundle.59e52792.js +2 -0
  30. package/styleguide/build/{bundle.50b6043f.js.LICENSE.txt → bundle.59e52792.js.LICENSE.txt} +0 -0
  31. package/styleguide/images/symbols.svg +31 -1
  32. package/styleguide/index.html +2 -2
  33. package/types/src/components/Hint/Hint.d.ts +6 -1
  34. package/types/src/components/Icon/constants.d.ts +1 -1
  35. package/types/src/components/Link/Link.d.ts +1 -1
  36. package/styleguide/build/bundle.50b6043f.js +0 -2
@@ -7,7 +7,7 @@
7
7
  exports["PleskUiLibrary"] = factory(require("react"), require("react-dom"));
8
8
  else
9
9
  root["PleskUiLibrary"] = factory(root["React"], root["ReactDOM"]);
10
- })(self, function(__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__) {
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
@@ -758,6 +758,7 @@ const Action = ({
758
758
  baseClassName = `${_constants.CLS_PREFIX}action`,
759
759
  component: Tag = 'a',
760
760
  icon,
761
+ onClick,
761
762
  rightAddon,
762
763
  bottomAddon,
763
764
  children,
@@ -783,18 +784,24 @@ const Action = ({
783
784
  } = icon.props);
784
785
  }
785
786
 
787
+ const tagProps = { ...props,
788
+ onClick,
789
+ className: (0, _classnames.default)(props.className, `${baseClassName}__content`) || undefined
790
+ };
791
+
786
792
  if (progress) {
787
793
  icon = /*#__PURE__*/_react.default.createElement(_Icon.default, {
788
794
  size: size,
789
795
  className: `${baseClassName}__icon`
790
796
  }, /*#__PURE__*/_react.default.createElement(_Spinner.default, null));
791
- }
792
797
 
793
- const tagProps = { ...props,
794
- className: (0, _classnames.default)(props.className, `${baseClassName}__content`) || undefined
795
- };
798
+ tagProps.onClick = e => e.preventDefault();
796
799
 
797
- if (tagProps.onClick) {
800
+ tagProps.tabIndex = -1;
801
+ } // accessibility
802
+
803
+
804
+ if (onClick) {
798
805
  tagProps.tabIndex = tagProps.tabIndex || 0;
799
806
  tagProps.onKeyDown = (0, _utils.wrapFunction)(tagProps.onKeyDown, e => {
800
807
  if (e.key === 'Enter') {
@@ -8825,6 +8832,7 @@ class FormField extends _react.Component {
8825
8832
  }
8826
8833
 
8827
8834
  return /*#__PURE__*/_react.default.createElement(_Hint.default, {
8835
+ component: "div",
8828
8836
  className: `${baseClassName}__description`
8829
8837
  }, description);
8830
8838
  });
@@ -10166,6 +10174,7 @@ class FormFieldRadioButtons extends _react.Component {
10166
10174
  }, label || value), description || indentFields ? /*#__PURE__*/_react.default.createElement("div", {
10167
10175
  className: `${baseClassName}__content`
10168
10176
  }, description && /*#__PURE__*/_react.default.createElement(_Hint.default, {
10177
+ component: "div",
10169
10178
  className: `${_FormField.default.defaultProps.baseClassName}__description`
10170
10179
  }, description), indentFields.map(field => {
10171
10180
  if (isDisabled() || disabled || getValue() !== value) {
@@ -11139,10 +11148,13 @@ const Hint = ({
11139
11148
  baseClassName = `${_constants.CLS_PREFIX}hint`,
11140
11149
  className,
11141
11150
  children,
11151
+ component: Tag = 'span',
11142
11152
  ...props
11143
- }) => /*#__PURE__*/_react.default.createElement("span", _extends({
11144
- className: (0, _classnames.default)(baseClassName, className)
11145
- }, props), children);
11153
+ }) => {
11154
+ return /*#__PURE__*/_react.default.createElement(Tag, _extends({
11155
+ className: (0, _classnames.default)(baseClassName, className)
11156
+ }, props), children);
11157
+ };
11146
11158
 
11147
11159
  var _default = Hint;
11148
11160
  exports["default"] = _default;
@@ -11341,9 +11353,9 @@ exports.NAMES_12 = exports.NAMES = void 0;
11341
11353
 
11342
11354
  /* eslint-disable max-len */
11343
11355
  // This file is generated by create-svg-sprite. Do not edit.
11344
- 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', 'server', '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'];
11356
+ 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', 'forward-circle-filled', '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-circle-filled', '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', 'redirect-circle-filled', 'refresh', 'reload', 'remove', 'reset', 'resource', 'ribbon', 'rocket', 'ruby', 'sand-clock', 'scan', 'screen', 'search', 'security-check', 'send', 'server', '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', 'zero-circle-filled'];
11345
11357
  exports.NAMES_12 = NAMES_12;
11346
- 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', 'server', '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'];
11358
+ 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', 'forward-circle-filled', '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-circle-filled', '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', 'redirect-circle-filled', 'refresh', 'reload', 'remove', 'reset', 'resource', 'ribbon', 'rocket', 'ruby', 'sand-clock', 'scan', 'screen', 'search', 'security-check', 'send', 'server', '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', 'zero-circle-filled'];
11347
11359
  exports.NAMES = NAMES;
11348
11360
 
11349
11361
  /***/ }),
@@ -13796,7 +13808,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
13796
13808
 
13797
13809
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13798
13810
 
13799
- // Copyright 1999-2020. Plesk International GmbH. All rights reserved.
13811
+ // Copyright 1999-2022. Plesk International GmbH. All rights reserved.
13800
13812
 
13801
13813
  /**
13802
13814
  * FIXME: With the following code all @ts-ignore comments can be removed, but react-docgen cannot parse it.
@@ -13815,7 +13827,6 @@ const Link = ({
13815
13827
  pseudo = false,
13816
13828
  component,
13817
13829
  children,
13818
- onKeyDown,
13819
13830
  ...other
13820
13831
  }) => {
13821
13832
  const Component = component ? component : 'a';
@@ -13846,15 +13857,12 @@ const Link = ({
13846
13857
 
13847
13858
  if (onClick) {
13848
13859
  props.tabIndex = props.tabIndex || 0;
13849
-
13850
- props.onKeyDown = e => {
13860
+ props.onKeyDown = (0, _utils2.wrapFunction)(props.onKeyDown, e => {
13851
13861
  if (e.key === 'Enter') {
13852
13862
  e.preventDefault();
13853
13863
  e.currentTarget.click();
13854
13864
  }
13855
-
13856
- (0, _utils2.safeInvoke)(onKeyDown, e);
13857
- };
13865
+ });
13858
13866
  }
13859
13867
 
13860
13868
  return (
@@ -16247,10 +16255,10 @@ const getMessage = (fullKey, messages) => {
16247
16255
  }
16248
16256
 
16249
16257
  return messages[fullKey];
16250
- }; // eslint-disable-next-line default-param-last
16251
-
16258
+ };
16252
16259
 
16253
- const createTranslate = messages => (key, params = {}, fallback) => {
16260
+ const createTranslate = messages => // eslint-disable-next-line default-param-last
16261
+ (key, params = {}, fallback) => {
16254
16262
  if (typeof key !== 'string') {
16255
16263
  return '';
16256
16264
  }
@@ -89271,11 +89279,11 @@ SwitchTransition.defaultProps = {
89271
89279
  "use strict";
89272
89280
  __webpack_require__.r(__webpack_exports__);
89273
89281
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
89274
- /* harmony export */ "UNMOUNTED": () => (/* binding */ UNMOUNTED),
89275
- /* harmony export */ "EXITED": () => (/* binding */ EXITED),
89276
- /* harmony export */ "ENTERING": () => (/* binding */ ENTERING),
89277
89282
  /* harmony export */ "ENTERED": () => (/* binding */ ENTERED),
89278
- /* harmony export */ "EXITING": () => (/* binding */ EXITING)
89283
+ /* harmony export */ "ENTERING": () => (/* binding */ ENTERING),
89284
+ /* harmony export */ "EXITED": () => (/* binding */ EXITED),
89285
+ /* harmony export */ "EXITING": () => (/* binding */ EXITING),
89286
+ /* harmony export */ "UNMOUNTED": () => (/* binding */ UNMOUNTED)
89279
89287
  /* harmony export */ });
89280
89288
  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
89281
89289
  /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "../node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js");
@@ -90158,8 +90166,8 @@ __webpack_require__.r(__webpack_exports__);
90158
90166
  /* harmony export */ "CSSTransition": () => (/* reexport safe */ _CSSTransition__WEBPACK_IMPORTED_MODULE_0__["default"]),
90159
90167
  /* harmony export */ "ReplaceTransition": () => (/* reexport safe */ _ReplaceTransition__WEBPACK_IMPORTED_MODULE_1__["default"]),
90160
90168
  /* harmony export */ "SwitchTransition": () => (/* reexport safe */ _SwitchTransition__WEBPACK_IMPORTED_MODULE_2__["default"]),
90161
- /* harmony export */ "TransitionGroup": () => (/* reexport safe */ _TransitionGroup__WEBPACK_IMPORTED_MODULE_3__["default"]),
90162
90169
  /* harmony export */ "Transition": () => (/* reexport safe */ _Transition__WEBPACK_IMPORTED_MODULE_4__["default"]),
90170
+ /* harmony export */ "TransitionGroup": () => (/* reexport safe */ _TransitionGroup__WEBPACK_IMPORTED_MODULE_3__["default"]),
90163
90171
  /* harmony export */ "config": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_5__["default"])
90164
90172
  /* harmony export */ });
90165
90173
  /* harmony import */ var _CSSTransition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CSSTransition */ "../node_modules/react-transition-group/esm/CSSTransition.js");
@@ -90187,9 +90195,9 @@ __webpack_require__.r(__webpack_exports__);
90187
90195
  __webpack_require__.r(__webpack_exports__);
90188
90196
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
90189
90197
  /* harmony export */ "getChildMapping": () => (/* binding */ getChildMapping),
90190
- /* harmony export */ "mergeChildMappings": () => (/* binding */ mergeChildMappings),
90191
90198
  /* harmony export */ "getInitialChildMapping": () => (/* binding */ getInitialChildMapping),
90192
- /* harmony export */ "getNextChildMapping": () => (/* binding */ getNextChildMapping)
90199
+ /* harmony export */ "getNextChildMapping": () => (/* binding */ getNextChildMapping),
90200
+ /* harmony export */ "mergeChildMappings": () => (/* binding */ mergeChildMappings)
90193
90201
  /* harmony export */ });
90194
90202
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
90195
90203
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
@@ -90345,8 +90353,8 @@ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
90345
90353
  "use strict";
90346
90354
  __webpack_require__.r(__webpack_exports__);
90347
90355
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
90348
- /* harmony export */ "timeoutsShape": () => (/* binding */ timeoutsShape),
90349
- /* harmony export */ "classNamesShape": () => (/* binding */ classNamesShape)
90356
+ /* harmony export */ "classNamesShape": () => (/* binding */ classNamesShape),
90357
+ /* harmony export */ "timeoutsShape": () => (/* binding */ timeoutsShape)
90350
90358
  /* harmony export */ });
90351
90359
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "../node_modules/react-transition-group/node_modules/prop-types/index.js");
90352
90360
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
@@ -92485,7 +92493,7 @@ module.exports = __webpack_require__.p + "images/no-image.svg?2f8dd4286fb9a8bd9a
92485
92493
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
92486
92494
 
92487
92495
  "use strict";
92488
- module.exports = __webpack_require__.p + "images/symbols.svg?6bd5879cb9a032639fb3";
92496
+ module.exports = __webpack_require__.p + "images/symbols.svg?282a024a3dd7555a41ef";
92489
92497
 
92490
92498
  /***/ }),
92491
92499
 
@@ -92618,7 +92626,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
92618
92626
  /***/ ((module) => {
92619
92627
 
92620
92628
  "use strict";
92621
- module.exports = JSON.parse('{"name":"@plesk/ui-library","version":"3.29.2","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 --disable-host-check","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":"^1.0.0","@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.4.6","postcss-less":"^6.0.0","postcss-loader":"^6.2.1","postcss-logical":"^5.0.3","prettier":"^2.0.5","puppeteer-core":"13.1.3","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":"^14.3.0","stylelint-config-prettier":"^9.0.3","stylelint-declaration-block-no-ignored-properties":"^2.5.0","stylelint-no-unsupported-browser-features":"^5.0.2","stylelint-prettier":"^2.0.0","stylelint-use-logical-spec":"^3.2.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.30001390"},"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"}');
92629
+ module.exports = JSON.parse('{"name":"@plesk/ui-library","version":"3.31.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 --disable-host-check","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":"^1.0.0","@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.4.13","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.7.1","css-minimizer-webpack-plugin":"^4.2.2","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.3","less-loader":"^11.1.0","mini-css-extract-plugin":"^2.6.1","postcss":"^8.4.18","postcss-less":"^6.0.0","postcss-loader":"^7.0.1","postcss-logical":"^5.0.3","prettier":"^2.7.1","puppeteer-core":"13.1.3","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":"^14.14.1","stylelint-config-prettier":"^9.0.3","stylelint-declaration-block-no-ignored-properties":"^2.6.0","stylelint-no-unsupported-browser-features":"^6.0.1","stylelint-prettier":"^2.0.0","stylelint-use-logical-spec":"^4.1.0","svg-mixer":"^2.3.14","terser-webpack-plugin":"^5.2.4","typescript":"^3.7.2","webpack":"^5.74.0","webpack-cli":"^4.10.0"},"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.30001430"},"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"}');
92622
92630
 
92623
92631
  /***/ }),
92624
92632