@plesk/ui-library 3.38.0 → 3.38.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Action/Action.js +1 -1
- package/cjs/components/Card/Card.js +1 -1
- package/cjs/components/CardList/CardList.js +1 -1
- package/cjs/components/CardList/CardListToolbar.js +1 -1
- package/cjs/components/Carousel/Carousel.js +29 -33
- package/cjs/components/CodeEditor/CodeEditor.js +1 -1
- package/cjs/components/Columns/Columns.js +1 -1
- package/cjs/components/ComboBox/ComboBox.js +1 -1
- package/cjs/components/ComboBoxDropdown/ComboBoxDropdown.js +1 -1
- package/cjs/components/ComboBoxDropdown/index.js +1 -1
- package/cjs/components/Dialog/Dialog.js +1 -1
- package/cjs/components/Drawer/DrawerProgress.js +1 -1
- package/cjs/components/Dropdown/index.js +1 -1
- package/cjs/components/Figure/index.js +1 -1
- package/cjs/components/Form/Form.js +1 -1
- package/cjs/components/Form/index.js +1 -1
- package/cjs/components/FormField/index.js +1 -1
- package/cjs/components/FormFieldPassword/PasswordMeter.js +1 -1
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +1 -1
- package/cjs/components/Heading/Heading.js +1 -1
- package/cjs/components/Icon/index.js +1 -1
- package/cjs/components/Icon/utils.js +1 -1
- package/cjs/components/Item/Item.js +1 -1
- package/cjs/components/ItemList/ItemList.js +1 -1
- package/cjs/components/Layer/index.js +1 -1
- package/cjs/components/List/List.js +1 -1
- package/cjs/components/LocaleProvider/index.js +1 -1
- package/cjs/components/Media/Media.js +1 -1
- package/cjs/components/Menu/MenuBaseItem.js +1 -1
- package/cjs/components/Pagination/index.js +1 -1
- package/cjs/components/Popper/index.js +1 -1
- package/cjs/components/ProgressStep/ProgressStep.js +1 -1
- package/cjs/components/ProgressStep/index.js +1 -1
- package/cjs/components/Section/Section.js +1 -1
- package/cjs/components/Section/index.js +1 -1
- package/cjs/components/SegmentedControl/SegmentedControl.js +1 -1
- package/cjs/components/SegmentedControl/index.js +1 -1
- package/cjs/components/Select/Select.js +1 -1
- package/cjs/components/SplitButton/index.js +1 -1
- package/cjs/components/Subnav/index.js +1 -1
- package/cjs/components/Tabs/SearchBar.js +1 -1
- package/cjs/components/Tabs/Tabs.js +1 -1
- package/cjs/components/Toast/index.js +1 -1
- package/cjs/components/Toolbar/Toolbar.js +1 -1
- package/cjs/components/Toolbar/ToolbarGroup.js +1 -1
- package/cjs/components/Toolbar/ToolbarMenu.js +1 -1
- package/cjs/components/VerticalContext/index.js +1 -1
- package/cjs/components/index.js +1 -1
- package/cjs/index.js +1 -1
- package/dist/plesk-ui-library-rtl.css +1 -1
- package/dist/plesk-ui-library-rtl.css.map +1 -1
- package/dist/plesk-ui-library.css +1 -1
- package/dist/plesk-ui-library.css.map +1 -1
- package/dist/plesk-ui-library.js +113 -117
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +6 -6
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Action/Action.js +1 -2
- package/esm/components/Alert/Alert.js +1 -2
- package/esm/components/Badge/Badge.js +1 -2
- package/esm/components/Breadcrumbs/Breadcrumbs.js +1 -2
- package/esm/components/Button/Button.js +1 -2
- package/esm/components/Card/Card.js +1 -2
- package/esm/components/Card/PreviewPanel.js +1 -2
- package/esm/components/CardList/CardList.js +1 -2
- package/esm/components/Carousel/Carousel.js +30 -35
- package/esm/components/Checkbox/Checkbox.js +1 -2
- package/esm/components/ComboBoxDropdown/ComboBoxDropdown.js +2 -4
- package/esm/components/ConsoleOutput/ConsoleOutput.js +1 -2
- package/esm/components/ContentLoader/ContentLoader.js +1 -2
- package/esm/components/ContentLoader/IconsLoader.js +1 -2
- package/esm/components/Cuttable/Cuttable.js +1 -2
- package/esm/components/Dialog/Dialog.js +1 -2
- package/esm/components/Drawer/Drawer.js +1 -2
- package/esm/components/Drawer/DrawerProgress.js +1 -2
- package/esm/components/Drawer/Header.js +1 -2
- package/esm/components/Dropdown/Dropdown.js +1 -3
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessage.js +1 -2
- package/esm/components/Figure/Figure.js +1 -2
- package/esm/components/FocusTrap/FocusTrap.js +1 -2
- package/esm/components/Form/Form.js +1 -2
- package/esm/components/FormField/FormField.js +1 -2
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +1 -3
- package/esm/components/FormFieldPassword/FormFieldPassword.js +1 -2
- package/esm/components/FormFieldPassword/PasswordMeter.js +1 -3
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +1 -2
- package/esm/components/Heading/Heading.js +1 -2
- package/esm/components/InPlaceEdit/InPlaceEdit.js +1 -2
- package/esm/components/Input/Input.js +1 -2
- package/esm/components/InputFile/InputFile.js +1 -3
- package/esm/components/Item/Item.js +1 -2
- package/esm/components/Label/Label.js +1 -2
- package/esm/components/Layout/Layout.js +1 -2
- package/esm/components/Link/Link.js +1 -2
- package/esm/components/List/List.js +2 -5
- package/esm/components/List/ListActions.js +1 -2
- package/esm/components/List/ListEmptyView.js +1 -2
- package/esm/components/List/ListOperation.js +1 -2
- package/esm/components/Media/Media.js +1 -2
- package/esm/components/Menu/MenuBaseItem.js +1 -2
- package/esm/components/Overlay/Overlay.js +1 -2
- package/esm/components/PageHeader/PageHeader.js +1 -2
- package/esm/components/Pagination/Pagination.js +1 -2
- package/esm/components/Panel/Panel.js +1 -2
- package/esm/components/Popover/Popover.js +1 -2
- package/esm/components/Popper/Popper.js +1 -2
- package/esm/components/ProgressDialog/ProgressDialog.js +1 -2
- package/esm/components/ProgressStep/ProgressStep.js +1 -2
- package/esm/components/Radio/Radio.js +1 -2
- package/esm/components/Section/Section.js +1 -2
- package/esm/components/Section/SectionItem.js +1 -2
- package/esm/components/SegmentedControl/SegmentedControl.js +1 -2
- package/esm/components/Select/MultiValue.js +1 -2
- package/esm/components/Select/SelectControl.js +1 -2
- package/esm/components/SplitButton/SplitButton.js +1 -2
- package/esm/components/Spot/SpotPopup.js +1 -2
- package/esm/components/Spot/SpotPulsar.js +1 -2
- package/esm/components/StatusMessage/StatusMessage.js +1 -2
- package/esm/components/Switch/Switch.js +1 -2
- package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +1 -2
- package/esm/components/Tabs/SearchBar.js +1 -3
- package/esm/components/Tabs/Tabs.js +1 -3
- package/esm/components/Toast/Toast.js +1 -2
- package/esm/components/Tooltip/Tooltip.js +1 -3
- package/esm/index.js +1 -1
- package/package.json +15 -15
- package/styleguide/build/bundle.42040fbd.js +2 -0
- package/styleguide/index.html +2 -2
- package/types/src/components/Carousel/Carousel.d.ts +3 -2
- package/types/src/components/List/List.d.ts +0 -2
- package/styleguide/build/bundle.e57858cb.js +0 -2
- /package/styleguide/build/{bundle.e57858cb.js.LICENSE.txt → bundle.42040fbd.js.LICENSE.txt} +0 -0
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import Icon, { ICON_SIZE_16 } from '../Icon';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
7
|
/**
|
|
9
8
|
* `MenuBaseItem` component.
|
|
10
9
|
* @since 0.0.60
|
|
@@ -8,8 +8,7 @@ import classNames from 'classnames';
|
|
|
8
8
|
import { CLS_PREFIX, Z_INDEX_OVERLAY } from '../../constants';
|
|
9
9
|
import Layer from '../Layer';
|
|
10
10
|
import FocusTrap from '../FocusTrap';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
/**
|
|
14
13
|
* `Overlay` component.
|
|
15
14
|
*/
|
|
@@ -5,8 +5,7 @@ import { Children } from 'react';
|
|
|
5
5
|
import { isLikeText } from '../Translate';
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import Heading from '../Heading';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
9
|
/**
|
|
11
10
|
* `PageHeader` component is used for identification of the current page.
|
|
12
11
|
* @since 0.0.35
|
|
@@ -10,8 +10,7 @@ import SegmentedControl from '../SegmentedControl';
|
|
|
10
10
|
import Text from '../Text';
|
|
11
11
|
import Translate from '../Translate';
|
|
12
12
|
import { safeInvoke } from '../utils';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
export const ITEMS_PER_PAGE_OPTIONS = [25, 100, 'all'];
|
|
16
15
|
const VIEW_DEFAULT = 'default';
|
|
17
16
|
const VIEW_POPOVER = 'popover';
|
|
@@ -8,8 +8,7 @@ import { isLikeText } from '../Translate';
|
|
|
8
8
|
import Heading from '../Heading';
|
|
9
9
|
import Button from '../Button';
|
|
10
10
|
import { isClickable } from '../utils';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
/**
|
|
14
13
|
* `Panel` component is used for visually grouping some content.
|
|
15
14
|
* @since 0.0.35
|
|
@@ -14,8 +14,7 @@ import { wrapFunction } from '../utils';
|
|
|
14
14
|
import OnDarkContext from '../OnDarkContext';
|
|
15
15
|
import FocusTrap from '../FocusTrap';
|
|
16
16
|
import { cloneElement, Component, createRef } from 'react';
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
18
|
const PLACEMENT_MAP = {
|
|
20
19
|
'top-left': 'top-end',
|
|
21
20
|
'top-right': 'top-start',
|
|
@@ -7,8 +7,7 @@ import { cloneElement, Component, createRef, Fragment } from 'react';
|
|
|
7
7
|
import { findDOMNode } from 'react-dom';
|
|
8
8
|
import { CLS_PREFIX } from '../../constants';
|
|
9
9
|
import Layer from '../Layer';
|
|
10
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
12
11
|
/**
|
|
13
12
|
* `Popper` component.
|
|
14
13
|
*/
|
|
@@ -9,8 +9,7 @@ import Translate from '../Translate';
|
|
|
9
9
|
import { safeInvoke } from '../utils';
|
|
10
10
|
import { STATUS_DONE, STATUS_ERROR, STATUS_WARNING } from '../ProgressStep';
|
|
11
11
|
import Progress from '../Progress';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
13
|
/**
|
|
15
14
|
* `ProgressDialog` is a [Dialog](#!/Dialog) combined with of [Progress](#!/Progress) component.
|
|
16
15
|
* @since 1.2.0
|
|
@@ -7,8 +7,7 @@ import StatusComponent from '../Status';
|
|
|
7
7
|
import { CLS_PREFIX } from '../../constants';
|
|
8
8
|
import ProgressBar from '../ProgressBar';
|
|
9
9
|
import OnDarkContext from '../OnDarkContext';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
export const STATUS_NOT_STARTED = 'not_started';
|
|
13
12
|
export const STATUS_RUNNING = 'running';
|
|
14
13
|
export const STATUS_DONE = 'done';
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
6
|
let radioId = 0;
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -10,8 +10,7 @@ import FormContext from '../Form/FormContext';
|
|
|
10
10
|
import InPlaceEdit from '../InPlaceEdit';
|
|
11
11
|
import { isClickable } from '../utils';
|
|
12
12
|
import VerticalContext, { VERTICAL_BREAKPOINT } from '../VerticalContext';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
const getErrorsForChildren = (form, children) => {
|
|
16
15
|
let errors = {};
|
|
17
16
|
Children.forEach(children, child => {
|
|
@@ -4,8 +4,7 @@ import classNames from 'classnames';
|
|
|
4
4
|
import { useContext } from 'react';
|
|
5
5
|
import { CLS_PREFIX } from '../../constants';
|
|
6
6
|
import VerticalContext from '../VerticalContext';
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
export const SECTION_ITEM_BASE_CLASS_NAME = `${CLS_PREFIX}section-item`;
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -10,8 +10,7 @@ import Dropdown from '../Dropdown';
|
|
|
10
10
|
import Menu, { MenuItem } from '../Menu';
|
|
11
11
|
import ResponsiveContext from '../ResponsiveContext';
|
|
12
12
|
import Squeezer from '../Squeezer';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
const alphaSort = (a, b) => a > b ? 1 : -1;
|
|
16
15
|
export const SEGMENTED_CONTROL_BASE_CLASS_NAME = `${CLS_PREFIX}segmented-control`;
|
|
17
16
|
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import Icon from '../Icon';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
7
|
const MultiValue = _ref => {
|
|
9
8
|
let {
|
|
10
9
|
baseClassName = `${CLS_PREFIX}select-multi-value`,
|
|
@@ -6,8 +6,7 @@ import { useTranslate } from '../LocaleProvider';
|
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import Icon from '../Icon';
|
|
8
8
|
import MultiValue from './MultiValue';
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
10
|
const DEFAULT_INPUT_WIDTH = 2;
|
|
12
11
|
let inputMeter;
|
|
13
12
|
const getInputWidth = target => {
|
|
@@ -7,8 +7,7 @@ import Button from '../Button';
|
|
|
7
7
|
import ButtonGroup from '../ButtonGroup';
|
|
8
8
|
import Dropdown from '../Dropdown';
|
|
9
9
|
import { wrapFunction, createFocusManager } from '../utils';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
const focusStrategy = {
|
|
13
12
|
getNext(container, element) {
|
|
14
13
|
const elements = container.children;
|
|
@@ -10,8 +10,7 @@ import Focuser from '../Overlay/Focuser';
|
|
|
10
10
|
import { safeInvoke } from '../utils';
|
|
11
11
|
|
|
12
12
|
// TODO: Use SpotSpotProps['popup'] instead of copypaste
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
const SpotPopup = _ref => {
|
|
16
15
|
let {
|
|
17
16
|
baseClassName = `${CLS_PREFIX}spot-popup`,
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import { CLS_PREFIX } from '../../constants';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
7
|
const OFFSET = 23;
|
|
9
8
|
const calculate = (rect, placement) => {
|
|
10
9
|
const placementTop = rect.height / 2;
|
|
@@ -5,8 +5,7 @@ import Alert from '../Alert';
|
|
|
5
5
|
import Icon from '../Icon';
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import { intentIconMap } from '../intentIconMap';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
9
|
/**
|
|
11
10
|
* `StatusMessage` is used for notifying users about events happened (or going to happen) in the system.
|
|
12
11
|
* For showing results of performed operations [Toaster](#!/Toaster) should be used.
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import Tooltip from '../Tooltip';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
7
|
/**
|
|
9
8
|
* `Switch` component is used for changing the state of an object or system preferences.
|
|
10
9
|
* It provides immediate results that is why it should not be used in Form.
|
|
@@ -7,8 +7,7 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
7
7
|
import Switch from '../Switch';
|
|
8
8
|
import Action from '../Action';
|
|
9
9
|
import Popover from '../Popover';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
/**
|
|
13
12
|
* `SwitchesPanelItem` component is used for combining [Switch](#!/Switch) component with text title and description.
|
|
14
13
|
* Used in [SwitchesPanel](#!/SwitchesPanel).
|
|
@@ -13,9 +13,7 @@ import Input from '../Input';
|
|
|
13
13
|
import Menu, { MenuItem, MenuSelectableItem } from '../Menu';
|
|
14
14
|
import ResponsiveContext from '../ResponsiveContext';
|
|
15
15
|
import { safeInvoke } from '../utils';
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
17
|
/**
|
|
20
18
|
* `SearchBar` component is used for providing type-as-you-go search.
|
|
21
19
|
* @since 0.0.58
|
|
@@ -12,9 +12,7 @@ import Menu, { MenuItem } from '../Menu';
|
|
|
12
12
|
import ResponsiveContext from '../ResponsiveContext';
|
|
13
13
|
import { wrapFunction } from '../utils';
|
|
14
14
|
import Tab from './Tab';
|
|
15
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
|
+
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
16
|
const ADDON_LEFT_PADDING = 5;
|
|
19
17
|
const MIN_ADDON_WIDTH_DEFAULT = 150;
|
|
20
18
|
const COLLAPSED_SEARCH_WIDTH = 60;
|
|
@@ -8,8 +8,7 @@ import Icon from '../Icon';
|
|
|
8
8
|
import Button from '../Button';
|
|
9
9
|
import { intentIconMap } from '../intentIconMap';
|
|
10
10
|
import OnDarkContext from '../OnDarkContext';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
const AUTOCLOSE_TIMEOUT = 6000;
|
|
14
13
|
export default class Toast extends Component {
|
|
15
14
|
constructor() {
|
|
@@ -6,9 +6,7 @@ import classNames from 'classnames';
|
|
|
6
6
|
import { CLS_PREFIX, Z_INDEX_TOOLTIP } from '../../constants';
|
|
7
7
|
import { wrapFunction } from '../utils';
|
|
8
8
|
import { cloneElement, Component, createRef } from 'react';
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
10
|
const createRectFactory = (width, height) => (left, top) => ({
|
|
13
11
|
top,
|
|
14
12
|
left,
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plesk/ui-library",
|
|
3
|
-
"version": "3.38.
|
|
3
|
+
"version": "3.38.2",
|
|
4
4
|
"description": "Plesk UI Library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"/index.js"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@babel/runtime": "^7.24.
|
|
46
|
+
"@babel/runtime": "^7.24.4",
|
|
47
47
|
"@plesk/react-movable": "^2.7.1",
|
|
48
48
|
"classnames": "^2.5.1",
|
|
49
49
|
"codemirror": "5.58.2",
|
|
@@ -59,20 +59,20 @@
|
|
|
59
59
|
"use-focus-visible": "^1.0.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@babel/core": "^7.24.
|
|
62
|
+
"@babel/core": "^7.24.4",
|
|
63
63
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
64
64
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
65
|
-
"@babel/plugin-transform-runtime": "^7.24.
|
|
66
|
-
"@babel/preset-env": "^7.24.
|
|
67
|
-
"@babel/preset-react": "^7.
|
|
68
|
-
"@babel/preset-typescript": "^7.
|
|
65
|
+
"@babel/plugin-transform-runtime": "^7.24.3",
|
|
66
|
+
"@babel/preset-env": "^7.24.4",
|
|
67
|
+
"@babel/preset-react": "^7.24.1",
|
|
68
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
69
69
|
"@babel/types": "^7.24.0",
|
|
70
70
|
"@csstools/postcss-logical-float-and-clear": "^1.0.1",
|
|
71
71
|
"@plesk/eslint-config": "^3.0.0",
|
|
72
72
|
"@plesk/stylelint-config": "^2.0.0",
|
|
73
73
|
"@testing-library/dom": "^9.3.4",
|
|
74
74
|
"@testing-library/jest-dom": "^6.4.2",
|
|
75
|
-
"@testing-library/react": "^14.2.
|
|
75
|
+
"@testing-library/react": "^14.2.2",
|
|
76
76
|
"@testing-library/user-event": "^14.5.2",
|
|
77
77
|
"@types/buble": "^0.20.5",
|
|
78
78
|
"@types/classnames": "2.3.1",
|
|
@@ -81,21 +81,21 @@
|
|
|
81
81
|
"@types/jest": "^29.5.12",
|
|
82
82
|
"@types/jest-image-snapshot": "^6.4.0",
|
|
83
83
|
"@types/marked": "^4.3.2",
|
|
84
|
-
"@types/node": "^16.18.
|
|
85
|
-
"@types/react": "^18.2.
|
|
86
|
-
"@types/react-dom": "^18.2.
|
|
84
|
+
"@types/node": "^16.18.95",
|
|
85
|
+
"@types/react": "^18.2.74",
|
|
86
|
+
"@types/react-dom": "^18.2.24",
|
|
87
87
|
"@types/react-measure": "2.0.9",
|
|
88
88
|
"@types/react-transition-group": "^4.4.10",
|
|
89
89
|
"@types/svg4everybody": "2.1.2",
|
|
90
90
|
"@types/webpack-env": "^1.18.4",
|
|
91
91
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
92
92
|
"@typescript-eslint/parser": "^6.21.0",
|
|
93
|
-
"autoprefixer": "^10.4.
|
|
93
|
+
"autoprefixer": "^10.4.19",
|
|
94
94
|
"babel-loader": "^8.3.0",
|
|
95
95
|
"babel-plugin-transform-require-ignore": "^0.1.1",
|
|
96
96
|
"clean-webpack-plugin": "^4.0.0",
|
|
97
97
|
"cross-env": "^7.0.3",
|
|
98
|
-
"css-loader": "^6.
|
|
98
|
+
"css-loader": "^6.11.0",
|
|
99
99
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
|
100
100
|
"eslint": "^8.57.0",
|
|
101
101
|
"eslint-config-prettier": "^8.10.0",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"less": "^4.2.0",
|
|
109
109
|
"less-loader": "^11.1.4",
|
|
110
110
|
"mini-css-extract-plugin": "^2.8.1",
|
|
111
|
-
"postcss": "^8.4.
|
|
111
|
+
"postcss": "^8.4.38",
|
|
112
112
|
"postcss-less": "^6.0.0",
|
|
113
113
|
"postcss-loader": "^7.3.4",
|
|
114
114
|
"postcss-logical": "^6.2.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"svg-mixer": "^2.3.14",
|
|
130
130
|
"terser-webpack-plugin": "^5.3.10",
|
|
131
131
|
"typescript": "5.2.2",
|
|
132
|
-
"webpack": "^5.
|
|
132
|
+
"webpack": "^5.91.0",
|
|
133
133
|
"webpack-cli": "^5.1.4"
|
|
134
134
|
},
|
|
135
135
|
"peerDependencies": {
|