@plesk/ui-library 3.40.2 → 3.40.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -50
- package/cjs/components/Action/Action.js +3 -3
- package/cjs/components/Alert/Alert.js +5 -5
- package/cjs/components/AutoClosable/AutoClosable.js +3 -3
- package/cjs/components/AuxiliaryActions/AuxiliaryActions.js +3 -3
- package/cjs/components/Badge/Badge.js +3 -3
- package/cjs/components/Breadcrumbs/Breadcrumbs.js +4 -4
- package/cjs/components/Button/Button.js +4 -4
- package/cjs/components/ButtonGroup/ButtonGroup.js +3 -3
- package/cjs/components/Card/Card.js +52 -52
- package/cjs/components/Card/CardButton.js +2 -2
- package/cjs/components/Card/PreviewPanel.js +3 -3
- package/cjs/components/Card/images/no-image.svg +6 -6
- package/cjs/components/CardList/CardList.js +55 -55
- package/cjs/components/Carousel/Carousel.js +4 -4
- package/cjs/components/Checkbox/Checkbox.js +3 -3
- package/cjs/components/CodeEditor/CodeEditor.js +3 -3
- package/cjs/components/Columns/Column.js +3 -3
- package/cjs/components/Columns/Columns.js +3 -3
- package/cjs/components/ComboBox/ComboBox.js +4 -4
- package/cjs/components/ComboBox/ComboBoxOption.js +3 -3
- package/cjs/components/ConsoleOutput/ConsoleOutput.js +3 -3
- package/cjs/components/ContentLoader/ContentLoader.js +3 -3
- package/cjs/components/Cuttable/Cuttable.js +3 -3
- package/cjs/components/Dialog/Dialog.js +3 -3
- package/cjs/components/Drawer/Drawer.js +4 -4
- package/cjs/components/Dropdown/Dropdown.js +5 -5
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessage.js +4 -4
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +3 -3
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +3 -3
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +3 -3
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +3 -3
- package/cjs/components/Figure/Figure.js +3 -3
- package/cjs/components/Form/Form.js +4 -4
- package/cjs/components/Form/utils.js +22 -22
- package/cjs/components/FormField/FormField.js +24 -24
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +4 -4
- package/cjs/components/FormFieldPassword/FormFieldPassword.js +3 -3
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -3
- package/cjs/components/FormFieldSelect/FormFieldSelect.js +4 -4
- package/cjs/components/FormFieldText/FormFieldText.js +5 -5
- package/cjs/components/Grid/Grid.js +3 -3
- package/cjs/components/GridCol/GridCol.js +3 -3
- package/cjs/components/Heading/Heading.js +3 -3
- package/cjs/components/Hint/Hint.js +3 -3
- package/cjs/components/Icon/Icon.js +6 -6
- package/cjs/components/Icon/images/symbols.svg +1875 -1875
- package/cjs/components/InPlaceEdit/InPlaceEdit.js +5 -5
- package/cjs/components/Input/Input.js +3 -3
- package/cjs/components/InputFile/InputFile.js +3 -3
- package/cjs/components/InputNumber/InputNumber.js +3 -3
- package/cjs/components/Item/Item.js +4 -4
- package/cjs/components/ItemLink/ItemLink.js +4 -4
- package/cjs/components/ItemList/ItemList.js +6 -6
- package/cjs/components/Label/Label.js +3 -3
- package/cjs/components/Layer/Layer.js +2 -2
- package/cjs/components/Layout/Layout.js +2 -2
- package/cjs/components/Link/Link.js +3 -3
- package/cjs/components/List/List.js +4 -4
- package/cjs/components/List/ListAction.js +4 -4
- package/cjs/components/List/ListActions.js +3 -3
- package/cjs/components/List/ListActionsDivider.js +4 -4
- package/cjs/components/List/ListEmptyView.js +4 -4
- package/cjs/components/List/ListOperation.js +4 -4
- package/cjs/components/LocaleProvider/LocaleProvider.js +5 -5
- package/cjs/components/Markdown/Markdown.js +3 -3
- package/cjs/components/Media/Media.js +5 -5
- package/cjs/components/Media/MediaSection.js +3 -3
- package/cjs/components/Menu/Menu.js +9 -9
- package/cjs/components/Menu/MenuBaseItem.js +3 -3
- package/cjs/components/Menu/MenuDivider.js +3 -3
- package/cjs/components/Menu/MenuHeader.js +3 -3
- package/cjs/components/Menu/MenuItem.js +3 -3
- package/cjs/components/Menu/MenuSelectableItem.js +3 -3
- package/cjs/components/Overlay/Overlay.js +2 -2
- package/cjs/components/PageHeader/PageHeader.js +3 -3
- package/cjs/components/Pagination/Pagination.js +3 -3
- package/cjs/components/Panel/Panel.js +3 -3
- package/cjs/components/Paragraph/Paragraph.js +3 -3
- package/cjs/components/Plaintext/Plaintext.js +3 -3
- package/cjs/components/Popover/Popover.js +4 -4
- package/cjs/components/Popper/Popper.js +2 -2
- package/cjs/components/Progress/Progress.js +3 -3
- package/cjs/components/ProgressDialog/ProgressDialog.js +3 -3
- package/cjs/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
- package/cjs/components/ProgressStep/ProgressStep.js +3 -3
- package/cjs/components/Radio/Radio.js +3 -3
- package/cjs/components/Rating/Rating.js +3 -3
- package/cjs/components/Rating/images/rating.svg +6 -6
- package/cjs/components/Section/Section.js +4 -4
- package/cjs/components/Section/SectionItem.js +3 -3
- package/cjs/components/SegmentedControl/SegmentedControl.js +4 -4
- package/cjs/components/Select/MultiValue.js +1 -1
- package/cjs/components/Select/Select.js +3 -3
- package/cjs/components/Select/SelectControl.js +1 -1
- package/cjs/components/Select/SelectOption.js +3 -3
- package/cjs/components/Select/SelectOptionGroup.js +3 -3
- package/cjs/components/Skeleton/Skeleton.js +4 -4
- package/cjs/components/Skeleton/SkeletonTabs.js +3 -3
- package/cjs/components/Skeleton/SkeletonText.js +3 -3
- package/cjs/components/Spinner/Spinner.js +2 -2
- package/cjs/components/SplitButton/SplitButton.js +5 -5
- package/cjs/components/Spot/Spot.js +3 -3
- package/cjs/components/Status/Status.js +3 -3
- package/cjs/components/StatusMessage/StatusMessage.js +4 -4
- package/cjs/components/Subnav/Subnav.js +5 -5
- package/cjs/components/Switch/Switch.js +4 -4
- package/cjs/components/SwitchesPanel/SwitchesPanel.js +3 -3
- package/cjs/components/SwitchesPanelItem/SwitchesPanelItem.js +52 -81
- package/cjs/components/Tabs/SearchBar.js +3 -3
- package/cjs/components/Tabs/Tab.js +7 -7
- package/cjs/components/Tabs/Tabs.js +6 -6
- package/cjs/components/Text/Text.js +3 -3
- package/cjs/components/TextArea/TextArea.js +3 -3
- package/cjs/components/Toaster/Toaster.js +34 -34
- package/cjs/components/Toolbar/Toolbar.js +6 -6
- package/cjs/components/Toolbar/ToolbarExpander.js +5 -5
- package/cjs/components/Toolbar/ToolbarGroup.js +4 -4
- package/cjs/components/Tooltip/Tooltip.js +4 -4
- package/cjs/components/Tour/Tour.js +5 -5
- package/cjs/components/Translate/Translate.js +3 -3
- package/cjs/index.js +1 -1
- package/dist/images/no-image.svg +6 -6
- package/dist/images/rating.svg +6 -6
- package/dist/images/symbols.svg +1875 -1875
- 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 +4543 -4580
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +4 -4
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Action/Action.js +3 -3
- package/esm/components/Alert/Alert.js +5 -5
- package/esm/components/AutoClosable/AutoClosable.js +3 -3
- package/esm/components/AuxiliaryActions/AuxiliaryActions.js +3 -3
- package/esm/components/Badge/Badge.js +3 -3
- package/esm/components/Breadcrumbs/Breadcrumbs.js +4 -4
- package/esm/components/Button/Button.js +4 -4
- package/esm/components/ButtonGroup/ButtonGroup.js +3 -3
- package/esm/components/Card/Card.js +52 -52
- package/esm/components/Card/CardButton.js +2 -2
- package/esm/components/Card/PreviewPanel.js +3 -3
- package/esm/components/Card/images/no-image.svg +6 -6
- package/esm/components/CardList/CardList.js +55 -55
- package/esm/components/Carousel/Carousel.js +4 -4
- package/esm/components/Checkbox/Checkbox.js +3 -3
- package/esm/components/CodeEditor/CodeEditor.js +3 -3
- package/esm/components/Columns/Column.js +3 -3
- package/esm/components/Columns/Columns.js +3 -3
- package/esm/components/ComboBox/ComboBox.js +4 -4
- package/esm/components/ComboBox/ComboBoxOption.js +3 -3
- package/esm/components/ConsoleOutput/ConsoleOutput.js +3 -3
- package/esm/components/ContentLoader/ContentLoader.js +3 -3
- package/esm/components/Cuttable/Cuttable.js +3 -3
- package/esm/components/Dialog/Dialog.js +3 -3
- package/esm/components/Drawer/Drawer.js +4 -4
- package/esm/components/Dropdown/Dropdown.js +5 -5
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessage.js +4 -4
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +3 -3
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +3 -3
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +3 -3
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +3 -3
- package/esm/components/Figure/Figure.js +3 -3
- package/esm/components/Form/Form.js +4 -4
- package/esm/components/Form/utils.js +22 -22
- package/esm/components/FormField/FormField.js +24 -24
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +4 -4
- package/esm/components/FormFieldPassword/FormFieldPassword.js +3 -3
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -3
- package/esm/components/FormFieldSelect/FormFieldSelect.js +4 -4
- package/esm/components/FormFieldText/FormFieldText.js +5 -5
- package/esm/components/Grid/Grid.js +3 -3
- package/esm/components/GridCol/GridCol.js +3 -3
- package/esm/components/Heading/Heading.js +3 -3
- package/esm/components/Hint/Hint.js +3 -3
- package/esm/components/Icon/Icon.js +6 -6
- package/esm/components/Icon/images/symbols.svg +1875 -1875
- package/esm/components/InPlaceEdit/InPlaceEdit.js +5 -5
- package/esm/components/Input/Input.js +3 -3
- package/esm/components/InputFile/InputFile.js +3 -3
- package/esm/components/InputNumber/InputNumber.js +3 -3
- package/esm/components/Item/Item.js +4 -4
- package/esm/components/ItemLink/ItemLink.js +4 -4
- package/esm/components/ItemList/ItemList.js +6 -6
- package/esm/components/Label/Label.js +3 -3
- package/esm/components/Layer/Layer.js +2 -2
- package/esm/components/Layout/Layout.js +2 -2
- package/esm/components/Link/Link.js +3 -3
- package/esm/components/List/List.js +4 -4
- package/esm/components/List/ListAction.js +4 -4
- package/esm/components/List/ListActions.js +3 -3
- package/esm/components/List/ListActionsDivider.js +4 -4
- package/esm/components/List/ListEmptyView.js +4 -4
- package/esm/components/List/ListOperation.js +4 -4
- package/esm/components/LocaleProvider/LocaleProvider.js +4 -4
- package/esm/components/Markdown/Markdown.js +3 -3
- package/esm/components/Media/Media.js +5 -5
- package/esm/components/Media/MediaSection.js +3 -3
- package/esm/components/Menu/Menu.js +9 -9
- package/esm/components/Menu/MenuBaseItem.js +3 -3
- package/esm/components/Menu/MenuDivider.js +3 -3
- package/esm/components/Menu/MenuHeader.js +3 -3
- package/esm/components/Menu/MenuItem.js +3 -3
- package/esm/components/Menu/MenuSelectableItem.js +3 -3
- package/esm/components/Overlay/Overlay.js +2 -2
- package/esm/components/PageHeader/PageHeader.js +3 -3
- package/esm/components/Pagination/Pagination.js +3 -3
- package/esm/components/Panel/Panel.js +3 -3
- package/esm/components/Paragraph/Paragraph.js +3 -3
- package/esm/components/Plaintext/Plaintext.js +3 -3
- package/esm/components/Popover/Popover.js +4 -4
- package/esm/components/Popper/Popper.js +2 -2
- package/esm/components/Progress/Progress.js +3 -3
- package/esm/components/ProgressDialog/ProgressDialog.js +3 -3
- package/esm/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
- package/esm/components/ProgressStep/ProgressStep.js +3 -3
- package/esm/components/Radio/Radio.js +3 -3
- package/esm/components/Rating/Rating.js +3 -3
- package/esm/components/Rating/images/rating.svg +6 -6
- package/esm/components/Section/Section.js +4 -4
- package/esm/components/Section/SectionItem.js +3 -3
- package/esm/components/SegmentedControl/SegmentedControl.js +4 -4
- package/esm/components/Select/MultiValue.js +1 -1
- package/esm/components/Select/Select.js +3 -3
- package/esm/components/Select/SelectControl.js +1 -1
- package/esm/components/Select/SelectOption.js +3 -3
- package/esm/components/Select/SelectOptionGroup.js +3 -3
- package/esm/components/Skeleton/Skeleton.js +4 -4
- package/esm/components/Skeleton/SkeletonTabs.js +3 -3
- package/esm/components/Skeleton/SkeletonText.js +3 -3
- package/esm/components/Spinner/Spinner.js +2 -2
- package/esm/components/SplitButton/SplitButton.js +5 -5
- package/esm/components/Spot/Spot.js +3 -3
- package/esm/components/Status/Status.js +3 -3
- package/esm/components/StatusMessage/StatusMessage.js +4 -4
- package/esm/components/Subnav/Subnav.js +5 -5
- package/esm/components/Switch/Switch.js +4 -4
- package/esm/components/SwitchesPanel/SwitchesPanel.js +3 -3
- package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +52 -81
- package/esm/components/Tabs/SearchBar.js +3 -3
- package/esm/components/Tabs/Tab.js +7 -7
- package/esm/components/Tabs/Tabs.js +6 -6
- package/esm/components/Text/Text.js +3 -3
- package/esm/components/TextArea/TextArea.js +3 -3
- package/esm/components/Toaster/Toaster.js +34 -34
- package/esm/components/Toolbar/Toolbar.js +6 -6
- package/esm/components/Toolbar/ToolbarExpander.js +5 -5
- package/esm/components/Toolbar/ToolbarGroup.js +4 -4
- package/esm/components/Tooltip/Tooltip.js +4 -4
- package/esm/components/Tour/Tour.js +5 -5
- package/esm/components/Translate/Translate.js +3 -3
- package/esm/index.js +1 -1
- package/index.js +5 -5
- package/package.json +150 -150
- package/scripts/postinstall.js +9 -9
- package/styleguide/browserconfig.xml +9 -9
- package/styleguide/build/bundle.f82c55df.js +2 -0
- package/styleguide/images/no-image.svg +6 -6
- package/styleguide/images/rating.svg +6 -6
- package/styleguide/images/symbols.svg +1875 -1875
- package/styleguide/index.html +2 -2
- package/styleguide/placeholders/placeholder_400x200.svg +5 -5
- package/styleguide/placeholders/placeholder_400x400.svg +5 -5
- package/styleguide/placeholders/placeholder_600x400.svg +5 -5
- package/styleguide/safari-pinned-tab.svg +28 -28
- package/styleguide/site.webmanifest +19 -19
- package/types/src/components/LocaleProvider/LocaleProvider.d.ts +5 -0
- package/types/src/components/SwitchesPanelItem/SwitchesPanelItem.d.ts +5 -20
- package/styleguide/build/bundle.fac8e4e0.js +0 -2
- /package/styleguide/build/{bundle.fac8e4e0.js.LICENSE.txt → bundle.f82c55df.js.LICENSE.txt} +0 -0
|
@@ -7,9 +7,9 @@ import { wrapFunction } from '../utils';
|
|
|
7
7
|
import Icon, { ICON_SIZE_16 } from '../Icon';
|
|
8
8
|
import Spinner from '../Spinner';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
/**
|
|
11
|
-
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
12
|
-
* @since 0.0.68
|
|
10
|
+
/**
|
|
11
|
+
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
12
|
+
* @since 0.0.68
|
|
13
13
|
*/
|
|
14
14
|
const Action = _ref => {
|
|
15
15
|
let {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
/**
|
|
7
|
-
* `Alert` component is used for highlighting important content.
|
|
8
|
-
* For showing messages about state of the system it is recommended to use [StatusMessage](#!/StatusMessage)
|
|
9
|
-
* or [ExtendedStatusMessage](#!/ExtendedStatusMessage).
|
|
10
|
-
* @since 0.0.35
|
|
6
|
+
/**
|
|
7
|
+
* `Alert` component is used for highlighting important content.
|
|
8
|
+
* For showing messages about state of the system it is recommended to use [StatusMessage](#!/StatusMessage)
|
|
9
|
+
* or [ExtendedStatusMessage](#!/ExtendedStatusMessage).
|
|
10
|
+
* @since 0.0.35
|
|
11
11
|
*/
|
|
12
12
|
const Alert = _ref => {
|
|
13
13
|
let {
|
|
@@ -5,9 +5,9 @@ import { findDOMNode } from 'react-dom';
|
|
|
5
5
|
import { Component, Children, createContext } from 'react';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
const AutoClosableContext = /*#__PURE__*/createContext(null);
|
|
8
|
-
/**
|
|
9
|
-
* This is helper component for handling outside clicks.
|
|
10
|
-
* @since 0.0.42
|
|
8
|
+
/**
|
|
9
|
+
* This is helper component for handling outside clicks.
|
|
10
|
+
* @since 0.0.42
|
|
11
11
|
*/
|
|
12
12
|
class AutoClosable extends Component {
|
|
13
13
|
constructor() {
|
|
@@ -4,9 +4,9 @@ import { cloneElement, isValidElement, Children } from 'react';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { CLS_PREFIX } from '../../constants';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* Auxiliary Actions component is used for executing additional (not primary) actions.
|
|
9
|
-
* @since 0.4.1
|
|
7
|
+
/**
|
|
8
|
+
* Auxiliary Actions component is used for executing additional (not primary) actions.
|
|
9
|
+
* @since 0.4.1
|
|
10
10
|
*/
|
|
11
11
|
const AuxiliaryActions = _ref => {
|
|
12
12
|
let {
|
|
@@ -6,9 +6,9 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
6
6
|
import Label from '../Label';
|
|
7
7
|
import Icon from '../Icon';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* `Badge` component is used for showing small numerical value or status attached to an interface element.
|
|
11
|
-
* @since 0.0.58
|
|
9
|
+
/**
|
|
10
|
+
* `Badge` component is used for showing small numerical value or status attached to an interface element.
|
|
11
|
+
* @since 0.0.58
|
|
12
12
|
*/
|
|
13
13
|
const Badge = _ref => {
|
|
14
14
|
let {
|
|
@@ -6,10 +6,10 @@ import classNames from 'classnames';
|
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import Icon from '../Icon';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* `Breadcrumbs` component indicates a position of current page in general hierarchy of all pages,
|
|
11
|
-
* and it is used for navigation up to the main page of the product.
|
|
12
|
-
* @since 2.3.0
|
|
9
|
+
/**
|
|
10
|
+
* `Breadcrumbs` component indicates a position of current page in general hierarchy of all pages,
|
|
11
|
+
* and it is used for navigation up to the main page of the product.
|
|
12
|
+
* @since 2.3.0
|
|
13
13
|
*/
|
|
14
14
|
const Breadcrumbs = _ref => {
|
|
15
15
|
let {
|
|
@@ -179,9 +179,9 @@ const Button = /*#__PURE__*/forwardRef((_ref3, ref) => {
|
|
|
179
179
|
});
|
|
180
180
|
Button.displayName = 'Button';
|
|
181
181
|
|
|
182
|
-
/**
|
|
183
|
-
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
184
|
-
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
185
|
-
* @since 0.0.37
|
|
182
|
+
/**
|
|
183
|
+
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
184
|
+
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
185
|
+
* @since 0.0.37
|
|
186
186
|
*/
|
|
187
187
|
export default Button;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
/**
|
|
7
|
-
* `ButtonGroup` component is used for visual grouping of several [Buttons](#!/Button) together.
|
|
8
|
-
* @since 0.0.37
|
|
6
|
+
/**
|
|
7
|
+
* `ButtonGroup` component is used for visual grouping of several [Buttons](#!/Button) together.
|
|
8
|
+
* @since 0.0.37
|
|
9
9
|
*/
|
|
10
10
|
const ButtonGroup = _ref => {
|
|
11
11
|
let {
|
|
@@ -17,9 +17,9 @@ const VIEW_TILE = 'tile';
|
|
|
17
17
|
const VIEW_EXTENDED = 'extended';
|
|
18
18
|
const VIEW_ROW = 'row';
|
|
19
19
|
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated `Card` component is a part of [CardList](#!/CardList).
|
|
22
|
-
* @since 0.0.54
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated `Card` component is a part of [CardList](#!/CardList).
|
|
22
|
+
* @since 0.0.54
|
|
23
23
|
*/
|
|
24
24
|
class Card extends Component {
|
|
25
25
|
constructor() {
|
|
@@ -361,94 +361,94 @@ class Card extends Component {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
Card.propTypes = {
|
|
364
|
-
/**
|
|
365
|
-
* Content of the `Card`.
|
|
366
|
-
* @since 0.0.54
|
|
364
|
+
/**
|
|
365
|
+
* Content of the `Card`.
|
|
366
|
+
* @since 0.0.54
|
|
367
367
|
*/
|
|
368
368
|
children: PropTypes.node,
|
|
369
|
-
/**
|
|
370
|
-
* View mode.
|
|
371
|
-
* @since 0.0.54
|
|
369
|
+
/**
|
|
370
|
+
* View mode.
|
|
371
|
+
* @since 0.0.54
|
|
372
372
|
*/
|
|
373
373
|
view: PropTypes.oneOf([VIEW_EXTENDED, VIEW_TILE, VIEW_ROW]),
|
|
374
|
-
/**
|
|
375
|
-
* Visual intent color to apply to component.
|
|
376
|
-
* @since 0.0.54
|
|
374
|
+
/**
|
|
375
|
+
* Visual intent color to apply to component.
|
|
376
|
+
* @since 0.0.54
|
|
377
377
|
*/
|
|
378
378
|
intent: PropTypes.oneOf(['warning', 'danger', 'inactive']),
|
|
379
|
-
/**
|
|
380
|
-
* Text of title.
|
|
381
|
-
* @since 0.0.54
|
|
379
|
+
/**
|
|
380
|
+
* Text of title.
|
|
381
|
+
* @since 0.0.54
|
|
382
382
|
*/
|
|
383
383
|
title: PropTypes.node.isRequired,
|
|
384
|
-
/**
|
|
385
|
-
* Link for title.
|
|
386
|
-
* @since 0.0.54
|
|
384
|
+
/**
|
|
385
|
+
* Link for title.
|
|
386
|
+
* @since 0.0.54
|
|
387
387
|
*/
|
|
388
388
|
titleLink: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
389
|
-
/**
|
|
390
|
-
* List of labels in header, which should appear right after the title. See [Label](#!/Label) component for details.
|
|
391
|
-
* @since 1.6.0
|
|
389
|
+
/**
|
|
390
|
+
* List of labels in header, which should appear right after the title. See [Label](#!/Label) component for details.
|
|
391
|
+
* @since 1.6.0
|
|
392
392
|
*/
|
|
393
393
|
titleLabels: PropTypes.arrayOf(PropTypes.element),
|
|
394
|
-
/**
|
|
395
|
-
* Text of subtitle.
|
|
396
|
-
* @since 0.0.54
|
|
394
|
+
/**
|
|
395
|
+
* Text of subtitle.
|
|
396
|
+
* @since 0.0.54
|
|
397
397
|
*/
|
|
398
398
|
subtitle: PropTypes.node,
|
|
399
|
-
/**
|
|
400
|
-
* List of labels in header, which should appear at the end of header. See [Label](#!/Label) component for details.
|
|
401
|
-
* @since 0.0.54
|
|
399
|
+
/**
|
|
400
|
+
* List of labels in header, which should appear at the end of header. See [Label](#!/Label) component for details.
|
|
401
|
+
* @since 0.0.54
|
|
402
402
|
*/
|
|
403
403
|
labels: PropTypes.arrayOf(PropTypes.element),
|
|
404
|
-
/**
|
|
405
|
-
* List of additional buttons in header.
|
|
406
|
-
* @since 0.0.54
|
|
404
|
+
/**
|
|
405
|
+
* List of additional buttons in header.
|
|
406
|
+
* @since 0.0.54
|
|
407
407
|
*/
|
|
408
408
|
buttons: PropTypes.arrayOf(PropTypes.shape({
|
|
409
409
|
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.element]).isRequired,
|
|
410
410
|
onClick: PropTypes.func.isRequired,
|
|
411
411
|
tooltip: PropTypes.node
|
|
412
412
|
})),
|
|
413
|
-
/**
|
|
414
|
-
* See [Menu](#!/Menu).
|
|
415
|
-
* @since 0.3.0
|
|
413
|
+
/**
|
|
414
|
+
* See [Menu](#!/Menu).
|
|
415
|
+
* @since 0.3.0
|
|
416
416
|
*/
|
|
417
417
|
menu: PropTypes.element,
|
|
418
|
-
/**
|
|
419
|
-
* Selection control.
|
|
420
|
-
* @since 0.0.54
|
|
418
|
+
/**
|
|
419
|
+
* Selection control.
|
|
420
|
+
* @since 0.0.54
|
|
421
421
|
*/
|
|
422
422
|
selection: PropTypes.shape({
|
|
423
423
|
isSelected: PropTypes.bool.isRequired,
|
|
424
424
|
onSelectionChange: PropTypes.func.isRequired
|
|
425
425
|
}),
|
|
426
|
-
/**
|
|
427
|
-
* Side header section. Recommended to use [PreviewPanel](#!/PreviewPanel) component.
|
|
428
|
-
* @since 0.0.54
|
|
426
|
+
/**
|
|
427
|
+
* Side header section. Recommended to use [PreviewPanel](#!/PreviewPanel) component.
|
|
428
|
+
* @since 0.0.54
|
|
429
429
|
*/
|
|
430
430
|
sideHeader: PropTypes.element,
|
|
431
|
-
/**
|
|
432
|
-
* Side content section.
|
|
433
|
-
* @since 0.0.54
|
|
431
|
+
/**
|
|
432
|
+
* Side content section.
|
|
433
|
+
* @since 0.0.54
|
|
434
434
|
*/
|
|
435
435
|
sideContent: PropTypes.element,
|
|
436
|
-
/**
|
|
437
|
-
* Content for row view.
|
|
438
|
-
* @since 0.0.54
|
|
436
|
+
/**
|
|
437
|
+
* Content for row view.
|
|
438
|
+
* @since 0.0.54
|
|
439
439
|
*/
|
|
440
440
|
rowContent: PropTypes.any,
|
|
441
|
-
/**
|
|
442
|
-
* Indicate the progress state of the card.
|
|
443
|
-
* @since 0.4.1
|
|
441
|
+
/**
|
|
442
|
+
* Indicate the progress state of the card.
|
|
443
|
+
* @since 0.4.1
|
|
444
444
|
*/
|
|
445
445
|
progress: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]),
|
|
446
|
-
/**
|
|
447
|
-
* @ignore
|
|
446
|
+
/**
|
|
447
|
+
* @ignore
|
|
448
448
|
*/
|
|
449
449
|
className: PropTypes.string,
|
|
450
|
-
/**
|
|
451
|
-
* @ignore
|
|
450
|
+
/**
|
|
451
|
+
* @ignore
|
|
452
452
|
*/
|
|
453
453
|
baseClassName: PropTypes.string
|
|
454
454
|
};
|
|
@@ -29,9 +29,9 @@ const determineSource = _ref => {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* `PreviewPanel` component is used for displaying website preview.
|
|
34
|
-
* @since 0.3.0
|
|
32
|
+
/**
|
|
33
|
+
* `PreviewPanel` component is used for displaying website preview.
|
|
34
|
+
* @since 0.3.0
|
|
35
35
|
*/
|
|
36
36
|
const PreviewPanel = _ref2 => {
|
|
37
37
|
let {
|
|
@@ -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>
|
|
@@ -20,11 +20,11 @@ export const VIEW_RESPONSIVE = 'responsive';
|
|
|
20
20
|
export const VIEW_EXTENDED = 'extended';
|
|
21
21
|
export const VIEW_ROW = 'row';
|
|
22
22
|
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated `CardList` was used for displaying list of objects presented in various data formats
|
|
25
|
-
* including images and other interface components.
|
|
26
|
-
* Now it is deprecated and [List should be used](#!/List) instead.
|
|
27
|
-
* @since 0.0.54
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated `CardList` was used for displaying list of objects presented in various data formats
|
|
25
|
+
* including images and other interface components.
|
|
26
|
+
* Now it is deprecated and [List should be used](#!/List) instead.
|
|
27
|
+
* @since 0.0.54
|
|
28
28
|
*/
|
|
29
29
|
class CardList extends Component {
|
|
30
30
|
constructor() {
|
|
@@ -316,91 +316,91 @@ class CardList extends Component {
|
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
CardList.propTypes = {
|
|
319
|
-
/**
|
|
320
|
-
* Array of data items for rendering.
|
|
321
|
-
* @since 0.0.68
|
|
319
|
+
/**
|
|
320
|
+
* Array of data items for rendering.
|
|
321
|
+
* @since 0.0.68
|
|
322
322
|
*/
|
|
323
323
|
items: PropTypes.array.isRequired,
|
|
324
|
-
/**
|
|
325
|
-
* Callback for fetching items.
|
|
326
|
-
* @since 0.0.68
|
|
324
|
+
/**
|
|
325
|
+
* Callback for fetching items.
|
|
326
|
+
* @since 0.0.68
|
|
327
327
|
*/
|
|
328
328
|
onItemsFetch: PropTypes.func,
|
|
329
|
-
/**
|
|
330
|
-
* Total items. Equal items.length by default.
|
|
331
|
-
* @since 0.0.68
|
|
329
|
+
/**
|
|
330
|
+
* Total items. Equal items.length by default.
|
|
331
|
+
* @since 0.0.68
|
|
332
332
|
*/
|
|
333
333
|
totalItems: PropTypes.number,
|
|
334
|
-
/**
|
|
335
|
-
* Default page number.
|
|
336
|
-
* @since 1.0.1
|
|
334
|
+
/**
|
|
335
|
+
* Default page number.
|
|
336
|
+
* @since 1.0.1
|
|
337
337
|
*/
|
|
338
338
|
defaultPage: PropTypes.number,
|
|
339
|
-
/**
|
|
340
|
-
* View mode.
|
|
341
|
-
* @since 0.0.54
|
|
339
|
+
/**
|
|
340
|
+
* View mode.
|
|
341
|
+
* @since 0.0.54
|
|
342
342
|
*/
|
|
343
343
|
view: PropTypes.oneOf([VIEW_EXTENDED, VIEW_TILE, VIEW_ROW, VIEW_RESPONSIVE]),
|
|
344
|
-
/**
|
|
345
|
-
* View change callback.
|
|
346
|
-
* @since 0.0.54
|
|
344
|
+
/**
|
|
345
|
+
* View change callback.
|
|
346
|
+
* @since 0.0.54
|
|
347
347
|
*/
|
|
348
348
|
onViewChange: PropTypes.func,
|
|
349
|
-
/**
|
|
350
|
-
* View switcher config.
|
|
351
|
-
* @since 0.0.59
|
|
349
|
+
/**
|
|
350
|
+
* View switcher config.
|
|
351
|
+
* @since 0.0.59
|
|
352
352
|
*/
|
|
353
353
|
viewSwitcher: PropTypes.bool,
|
|
354
|
-
/**
|
|
355
|
-
* Array of keys of selected cards.
|
|
356
|
-
* @since 0.0.59
|
|
354
|
+
/**
|
|
355
|
+
* Array of keys of selected cards.
|
|
356
|
+
* @since 0.0.59
|
|
357
357
|
*/
|
|
358
358
|
selection: PropTypes.array,
|
|
359
|
-
/**
|
|
360
|
-
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
361
|
-
* @since 0.0.59
|
|
359
|
+
/**
|
|
360
|
+
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
361
|
+
* @since 0.0.59
|
|
362
362
|
*/
|
|
363
363
|
onSelectionChange: PropTypes.func,
|
|
364
|
-
/**
|
|
365
|
-
* Config for selection button in the toolbar.
|
|
366
|
-
* @since 0.0.59
|
|
364
|
+
/**
|
|
365
|
+
* Config for selection button in the toolbar.
|
|
366
|
+
* @since 0.0.59
|
|
367
367
|
*/
|
|
368
368
|
selectionButton: PropTypes.shape({
|
|
369
|
-
/**
|
|
370
|
-
* See [Badge](#!/Badge) for all props.
|
|
369
|
+
/**
|
|
370
|
+
* See [Badge](#!/Badge) for all props.
|
|
371
371
|
*/
|
|
372
372
|
badge: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
373
|
-
/**
|
|
374
|
-
* Array of additional [MenuItems](#!/MenuItem).
|
|
373
|
+
/**
|
|
374
|
+
* Array of additional [MenuItems](#!/MenuItem).
|
|
375
375
|
*/
|
|
376
376
|
menuItems: PropTypes.arrayOf(PropTypes.element)
|
|
377
377
|
}),
|
|
378
|
-
/**
|
|
379
|
-
* Toolbar groups for the toolbar.
|
|
380
|
-
* @since 0.0.59
|
|
378
|
+
/**
|
|
379
|
+
* Toolbar groups for the toolbar.
|
|
380
|
+
* @since 0.0.59
|
|
381
381
|
*/
|
|
382
382
|
toolbarGroups: PropTypes.arrayOf(PropTypes.element),
|
|
383
|
-
/**
|
|
384
|
-
* Unique key.
|
|
385
|
-
* @since 0.0.59
|
|
383
|
+
/**
|
|
384
|
+
* Unique key.
|
|
385
|
+
* @since 0.0.59
|
|
386
386
|
*/
|
|
387
387
|
itemKey: PropTypes.string.isRequired,
|
|
388
|
-
/**
|
|
389
|
-
* Render function for item.
|
|
390
|
-
* @since 0.0.59
|
|
388
|
+
/**
|
|
389
|
+
* Render function for item.
|
|
390
|
+
* @since 0.0.59
|
|
391
391
|
*/
|
|
392
392
|
itemRender: PropTypes.func.isRequired,
|
|
393
|
-
/**
|
|
394
|
-
* Indicate the loading state of the list.
|
|
395
|
-
* @since 0.0.68
|
|
393
|
+
/**
|
|
394
|
+
* Indicate the loading state of the list.
|
|
395
|
+
* @since 0.0.68
|
|
396
396
|
*/
|
|
397
397
|
loading: PropTypes.bool,
|
|
398
|
-
/**
|
|
399
|
-
* @ignore
|
|
398
|
+
/**
|
|
399
|
+
* @ignore
|
|
400
400
|
*/
|
|
401
401
|
className: PropTypes.string,
|
|
402
|
-
/**
|
|
403
|
-
* @ignore
|
|
402
|
+
/**
|
|
403
|
+
* @ignore
|
|
404
404
|
*/
|
|
405
405
|
baseClassName: PropTypes.string
|
|
406
406
|
};
|
|
@@ -16,10 +16,10 @@ const calcWidths = node => {
|
|
|
16
16
|
totalWidth
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
/**
|
|
20
|
-
* Carousel component is used for optimizing page space by displaying only some parts
|
|
21
|
-
* of entire content in a cyclic view.
|
|
22
|
-
* @since 0.0.42
|
|
19
|
+
/**
|
|
20
|
+
* Carousel component is used for optimizing page space by displaying only some parts
|
|
21
|
+
* of entire content in a cyclic view.
|
|
22
|
+
* @since 0.0.42
|
|
23
23
|
*/
|
|
24
24
|
class Carousel extends Component {
|
|
25
25
|
constructor() {
|
|
@@ -4,9 +4,9 @@ import classNames from 'classnames';
|
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import Tooltip from '../Tooltip';
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
9
|
-
* @since 0.0.55
|
|
7
|
+
/**
|
|
8
|
+
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
9
|
+
* @since 0.0.55
|
|
10
10
|
*/
|
|
11
11
|
const Checkbox = _ref => {
|
|
12
12
|
let {
|
|
@@ -7,9 +7,9 @@ import { isRtl } from '../../utils';
|
|
|
7
7
|
import classNames from 'classnames';
|
|
8
8
|
import { CLS_PREFIX } from '../../constants';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
/**
|
|
11
|
-
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
12
|
-
* @since 0.0.61
|
|
10
|
+
/**
|
|
11
|
+
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
12
|
+
* @since 0.0.61
|
|
13
13
|
*/
|
|
14
14
|
class CodeEditor extends Component {
|
|
15
15
|
constructor() {
|
|
@@ -7,9 +7,9 @@ import VerticalContext from '../VerticalContext';
|
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
const normalize = value => String(Number(value)) === String(value) ? `${value}px` : value;
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* `Column` component is a part of [Columns](#!/Columns).
|
|
12
|
-
* @since 2.6.0
|
|
10
|
+
/**
|
|
11
|
+
* `Column` component is a part of [Columns](#!/Columns).
|
|
12
|
+
* @since 2.6.0
|
|
13
13
|
*/
|
|
14
14
|
const Column = _ref => {
|
|
15
15
|
let {
|
|
@@ -6,9 +6,9 @@ import Measure from 'react-measure';
|
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import VerticalContext, { VERTICAL_BREAKPOINT } from '../VerticalContext';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* `Columns` component is used for creating of multi-column layouts.
|
|
11
|
-
* @since 2.6.0
|
|
9
|
+
/**
|
|
10
|
+
* `Columns` component is used for creating of multi-column layouts.
|
|
11
|
+
* @since 2.6.0
|
|
12
12
|
*/
|
|
13
13
|
const Columns = _ref => {
|
|
14
14
|
let {
|
|
@@ -36,10 +36,10 @@ const collect = function (children) {
|
|
|
36
36
|
options
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
/**
|
|
40
|
-
* `ComboBox` component is a combination of [Select](#!/Select) and [Input](#!/Input)
|
|
41
|
-
* which allows to either enter a value directly into the field or choose from a list of existing options.
|
|
42
|
-
* @since 2.6.0
|
|
39
|
+
/**
|
|
40
|
+
* `ComboBox` component is a combination of [Select](#!/Select) and [Input](#!/Input)
|
|
41
|
+
* which allows to either enter a value directly into the field or choose from a list of existing options.
|
|
42
|
+
* @since 2.6.0
|
|
43
43
|
*/
|
|
44
44
|
const ComboBox = _ref => {
|
|
45
45
|
let {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* `ComboBoxOption` is a part of [ComboBox](#!/ComboBox) component.
|
|
6
|
-
* @since 2.6.0
|
|
4
|
+
/**
|
|
5
|
+
* `ComboBoxOption` is a part of [ComboBox](#!/ComboBox) component.
|
|
6
|
+
* @since 2.6.0
|
|
7
7
|
*/
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
9
|
const ComboBoxOption = _props => {
|
|
@@ -8,9 +8,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
const scrollToBottom = el => {
|
|
9
9
|
el.scrollTop = el.scrollHeight;
|
|
10
10
|
};
|
|
11
|
-
/**
|
|
12
|
-
* `ConsoleOutput` component is used for showing dynamically updating data from console output.
|
|
13
|
-
* @since 0.0.35
|
|
11
|
+
/**
|
|
12
|
+
* `ConsoleOutput` component is used for showing dynamically updating data from console output.
|
|
13
|
+
* @since 0.0.35
|
|
14
14
|
*/
|
|
15
15
|
class ConsoleOutput extends PureComponent {
|
|
16
16
|
constructor() {
|
|
@@ -24,9 +24,9 @@ const getLoader = loader => {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
/**
|
|
28
|
-
* `ContentLoader` component is used as placeholder which indicates that the system is loading requested content.
|
|
29
|
-
* @since 1.1.0
|
|
27
|
+
/**
|
|
28
|
+
* `ContentLoader` component is used as placeholder which indicates that the system is loading requested content.
|
|
29
|
+
* @since 1.1.0
|
|
30
30
|
*/
|
|
31
31
|
const ContentLoader = _ref => {
|
|
32
32
|
let {
|
|
@@ -8,9 +8,9 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
8
8
|
import Translate from '../Translate';
|
|
9
9
|
import Link from '../Link';
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
/**
|
|
12
|
-
* `Cuttable` component is used for showing and hiding part of content.
|
|
13
|
-
* @since 0.0.42
|
|
11
|
+
/**
|
|
12
|
+
* `Cuttable` component is used for showing and hiding part of content.
|
|
13
|
+
* @since 0.0.42
|
|
14
14
|
*/
|
|
15
15
|
class Cuttable extends Component {
|
|
16
16
|
constructor() {
|
|
@@ -14,9 +14,9 @@ import { safeInvoke } from '../utils';
|
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
const isProps = value => value && typeof value === 'object' && ! /*#__PURE__*/isValidElement(value);
|
|
16
16
|
|
|
17
|
-
/**
|
|
18
|
-
* `Dialog` is a modal window that asks users to make a decision or enter additional information.
|
|
19
|
-
* @since 0.0.68
|
|
17
|
+
/**
|
|
18
|
+
* `Dialog` is a modal window that asks users to make a decision or enter additional information.
|
|
19
|
+
* @since 0.0.68
|
|
20
20
|
*/
|
|
21
21
|
const Dialog = _ref => {
|
|
22
22
|
let {
|
|
@@ -12,10 +12,10 @@ import { isLikeText } from '../Translate';
|
|
|
12
12
|
import ScrollableElementFormContext from '../Form/ScrollableElementFormContext';
|
|
13
13
|
import DrawerProgress from './DrawerProgress';
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
-
/**
|
|
16
|
-
* `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
|
|
17
|
-
* [Read more when to use Drawer](#!/Drawers%2C%20pages%2C%20popovers).
|
|
18
|
-
* @since 0.0.65
|
|
15
|
+
/**
|
|
16
|
+
* `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
|
|
17
|
+
* [Read more when to use Drawer](#!/Drawers%2C%20pages%2C%20popovers).
|
|
18
|
+
* @since 0.0.65
|
|
19
19
|
*/
|
|
20
20
|
const Drawer = _ref => {
|
|
21
21
|
let {
|