@plesk/ui-library 3.40.9 → 3.40.11
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 +4 -4
- 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 +3 -3
- 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 +4 -4
- 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 +4482 -4482
- 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 +4 -4
- 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 +3 -3
- 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 +4 -4
- 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 +148 -148
- package/scripts/postinstall.js +9 -9
- package/styleguide/browserconfig.xml +9 -9
- package/styleguide/build/bundle.162d2ff0.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/FormFieldPassword/FormFieldPassword.d.ts +1 -1
- package/styleguide/build/bundle.56f21860.js +0 -2
- /package/styleguide/build/{bundle.56f21860.js.LICENSE.txt → bundle.162d2ff0.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
# UI Library
|
|
2
|
-
|
|
3
|
-
## Installation
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
yarn add @plesk/ui-library
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
Here is an example of how to use the UI Library with `create-react-app`.
|
|
12
|
-
|
|
13
|
-
```shell
|
|
14
|
-
yarn create react-app example
|
|
15
|
-
cd example
|
|
16
|
-
yarn add @plesk/ui-library
|
|
17
|
-
yarn start
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Replace the contents of the `src/App.js` file with the following code:
|
|
21
|
-
|
|
22
|
-
```js
|
|
23
|
-
import { Layout, Button } from '@plesk/ui-library';
|
|
24
|
-
import '@plesk/ui-library/dist/plesk-ui-library.css';
|
|
25
|
-
|
|
26
|
-
function App() {
|
|
27
|
-
return (
|
|
28
|
-
<Layout>
|
|
29
|
-
<Button>{'Hello World!'}</Button>
|
|
30
|
-
</Layout>
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export default App;
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Development
|
|
38
|
-
|
|
39
|
-
Sometimes you need to fix UI Library bug that fires in your project using UI Library.
|
|
40
|
-
|
|
41
|
-
There is a way to test dev version of the UI Library with your project. You need to use `yarn link` command,
|
|
42
|
-
but there are some details.
|
|
43
|
-
|
|
44
|
-
* First, you need to run `yarn link` in your UI Library working copy root directory.
|
|
45
|
-
* Then, you need to run `yarn link @plesk/ui-library` in your project working copy root directory.
|
|
46
|
-
* Third. There is a bug with a React library that makes us to do additional steps. Run `yarn link` in your
|
|
47
|
-
project's `node_modules/react` and `node_modules/react-dom` directories.
|
|
48
|
-
* Then, run `yarn link react` and `yarn link react-dom` in your UI Library working copy root directory.
|
|
49
|
-
|
|
50
|
-
So, in this setup, your project will use the dev copy of UI Library. And UI Library will use React from your project.
|
|
1
|
+
# UI Library
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
yarn add @plesk/ui-library
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
Here is an example of how to use the UI Library with `create-react-app`.
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
yarn create react-app example
|
|
15
|
+
cd example
|
|
16
|
+
yarn add @plesk/ui-library
|
|
17
|
+
yarn start
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Replace the contents of the `src/App.js` file with the following code:
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
import { Layout, Button } from '@plesk/ui-library';
|
|
24
|
+
import '@plesk/ui-library/dist/plesk-ui-library.css';
|
|
25
|
+
|
|
26
|
+
function App() {
|
|
27
|
+
return (
|
|
28
|
+
<Layout>
|
|
29
|
+
<Button>{'Hello World!'}</Button>
|
|
30
|
+
</Layout>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default App;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
Sometimes you need to fix UI Library bug that fires in your project using UI Library.
|
|
40
|
+
|
|
41
|
+
There is a way to test dev version of the UI Library with your project. You need to use `yarn link` command,
|
|
42
|
+
but there are some details.
|
|
43
|
+
|
|
44
|
+
* First, you need to run `yarn link` in your UI Library working copy root directory.
|
|
45
|
+
* Then, you need to run `yarn link @plesk/ui-library` in your project working copy root directory.
|
|
46
|
+
* Third. There is a bug with a React library that makes us to do additional steps. Run `yarn link` in your
|
|
47
|
+
project's `node_modules/react` and `node_modules/react-dom` directories.
|
|
48
|
+
* Then, run `yarn link react` and `yarn link react-dom` in your UI Library working copy root directory.
|
|
49
|
+
|
|
50
|
+
So, in this setup, your project will use the dev copy of UI Library. And UI Library will use React from your project.
|
|
@@ -16,9 +16,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
21
|
-
* @since 0.0.68
|
|
19
|
+
/**
|
|
20
|
+
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
21
|
+
* @since 0.0.68
|
|
22
22
|
*/
|
|
23
23
|
const Action = _ref => {
|
|
24
24
|
let {
|
|
@@ -10,11 +10,11 @@ var _constants = require("../../constants");
|
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
11
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* `Alert` component is used for highlighting important content.
|
|
15
|
-
* For showing messages about state of the system it is recommended to use [StatusMessage](#!/StatusMessage)
|
|
16
|
-
* or [ExtendedStatusMessage](#!/ExtendedStatusMessage).
|
|
17
|
-
* @since 0.0.35
|
|
13
|
+
/**
|
|
14
|
+
* `Alert` component is used for highlighting important content.
|
|
15
|
+
* For showing messages about state of the system it is recommended to use [StatusMessage](#!/StatusMessage)
|
|
16
|
+
* or [ExtendedStatusMessage](#!/ExtendedStatusMessage).
|
|
17
|
+
* @since 0.0.35
|
|
18
18
|
*/
|
|
19
19
|
const Alert = _ref => {
|
|
20
20
|
let {
|
|
@@ -12,9 +12,9 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
12
12
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
13
13
|
|
|
14
14
|
const AutoClosableContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
15
|
-
/**
|
|
16
|
-
* This is helper component for handling outside clicks.
|
|
17
|
-
* @since 0.0.42
|
|
15
|
+
/**
|
|
16
|
+
* This is helper component for handling outside clicks.
|
|
17
|
+
* @since 0.0.42
|
|
18
18
|
*/
|
|
19
19
|
class AutoClosable extends _react.Component {
|
|
20
20
|
constructor() {
|
|
@@ -11,9 +11,9 @@ var _constants = require("../../constants");
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* Auxiliary Actions component is used for executing additional (not primary) actions.
|
|
16
|
-
* @since 0.4.1
|
|
14
|
+
/**
|
|
15
|
+
* Auxiliary Actions component is used for executing additional (not primary) actions.
|
|
16
|
+
* @since 0.4.1
|
|
17
17
|
*/
|
|
18
18
|
const AuxiliaryActions = _ref => {
|
|
19
19
|
let {
|
|
@@ -13,9 +13,9 @@ var _Icon = _interopRequireDefault(require("../Icon"));
|
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* `Badge` component is used for showing small numerical value or status attached to an interface element.
|
|
18
|
-
* @since 0.0.58
|
|
16
|
+
/**
|
|
17
|
+
* `Badge` component is used for showing small numerical value or status attached to an interface element.
|
|
18
|
+
* @since 0.0.58
|
|
19
19
|
*/
|
|
20
20
|
const Badge = _ref => {
|
|
21
21
|
let {
|
|
@@ -13,10 +13,10 @@ var _Icon = _interopRequireDefault(require("../Icon"));
|
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* `Breadcrumbs` component indicates a position of current page in general hierarchy of all pages,
|
|
18
|
-
* and it is used for navigation up to the main page of the product.
|
|
19
|
-
* @since 2.3.0
|
|
16
|
+
/**
|
|
17
|
+
* `Breadcrumbs` component indicates a position of current page in general hierarchy of all pages,
|
|
18
|
+
* and it is used for navigation up to the main page of the product.
|
|
19
|
+
* @since 2.3.0
|
|
20
20
|
*/
|
|
21
21
|
const Breadcrumbs = _ref => {
|
|
22
22
|
let {
|
|
@@ -185,9 +185,9 @@ const Button = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
|
|
|
185
185
|
});
|
|
186
186
|
Button.displayName = 'Button';
|
|
187
187
|
|
|
188
|
-
/**
|
|
189
|
-
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
190
|
-
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
191
|
-
* @since 0.0.37
|
|
188
|
+
/**
|
|
189
|
+
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
190
|
+
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
191
|
+
* @since 0.0.37
|
|
192
192
|
*/
|
|
193
193
|
var _default = exports.default = Button;
|
|
@@ -10,9 +10,9 @@ var _constants = require("../../constants");
|
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
11
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* `ButtonGroup` component is used for visual grouping of several [Buttons](#!/Button) together.
|
|
15
|
-
* @since 0.0.37
|
|
13
|
+
/**
|
|
14
|
+
* `ButtonGroup` component is used for visual grouping of several [Buttons](#!/Button) together.
|
|
15
|
+
* @since 0.0.37
|
|
16
16
|
*/
|
|
17
17
|
const ButtonGroup = _ref => {
|
|
18
18
|
let {
|
|
@@ -26,9 +26,9 @@ const VIEW_TILE = 'tile';
|
|
|
26
26
|
const VIEW_EXTENDED = 'extended';
|
|
27
27
|
const VIEW_ROW = 'row';
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated `Card` component is a part of [CardList](#!/CardList).
|
|
31
|
-
* @since 0.0.54
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated `Card` component is a part of [CardList](#!/CardList).
|
|
31
|
+
* @since 0.0.54
|
|
32
32
|
*/
|
|
33
33
|
class Card extends _react.Component {
|
|
34
34
|
constructor() {
|
|
@@ -370,94 +370,94 @@ class Card extends _react.Component {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
Card.propTypes = {
|
|
373
|
-
/**
|
|
374
|
-
* Content of the `Card`.
|
|
375
|
-
* @since 0.0.54
|
|
373
|
+
/**
|
|
374
|
+
* Content of the `Card`.
|
|
375
|
+
* @since 0.0.54
|
|
376
376
|
*/
|
|
377
377
|
children: _propTypes.default.node,
|
|
378
|
-
/**
|
|
379
|
-
* View mode.
|
|
380
|
-
* @since 0.0.54
|
|
378
|
+
/**
|
|
379
|
+
* View mode.
|
|
380
|
+
* @since 0.0.54
|
|
381
381
|
*/
|
|
382
382
|
view: _propTypes.default.oneOf([VIEW_EXTENDED, VIEW_TILE, VIEW_ROW]),
|
|
383
|
-
/**
|
|
384
|
-
* Visual intent color to apply to component.
|
|
385
|
-
* @since 0.0.54
|
|
383
|
+
/**
|
|
384
|
+
* Visual intent color to apply to component.
|
|
385
|
+
* @since 0.0.54
|
|
386
386
|
*/
|
|
387
387
|
intent: _propTypes.default.oneOf(['warning', 'danger', 'inactive']),
|
|
388
|
-
/**
|
|
389
|
-
* Text of title.
|
|
390
|
-
* @since 0.0.54
|
|
388
|
+
/**
|
|
389
|
+
* Text of title.
|
|
390
|
+
* @since 0.0.54
|
|
391
391
|
*/
|
|
392
392
|
title: _propTypes.default.node.isRequired,
|
|
393
|
-
/**
|
|
394
|
-
* Link for title.
|
|
395
|
-
* @since 0.0.54
|
|
393
|
+
/**
|
|
394
|
+
* Link for title.
|
|
395
|
+
* @since 0.0.54
|
|
396
396
|
*/
|
|
397
397
|
titleLink: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
|
|
398
|
-
/**
|
|
399
|
-
* List of labels in header, which should appear right after the title. See [Label](#!/Label) component for details.
|
|
400
|
-
* @since 1.6.0
|
|
398
|
+
/**
|
|
399
|
+
* List of labels in header, which should appear right after the title. See [Label](#!/Label) component for details.
|
|
400
|
+
* @since 1.6.0
|
|
401
401
|
*/
|
|
402
402
|
titleLabels: _propTypes.default.arrayOf(_propTypes.default.element),
|
|
403
|
-
/**
|
|
404
|
-
* Text of subtitle.
|
|
405
|
-
* @since 0.0.54
|
|
403
|
+
/**
|
|
404
|
+
* Text of subtitle.
|
|
405
|
+
* @since 0.0.54
|
|
406
406
|
*/
|
|
407
407
|
subtitle: _propTypes.default.node,
|
|
408
|
-
/**
|
|
409
|
-
* List of labels in header, which should appear at the end of header. See [Label](#!/Label) component for details.
|
|
410
|
-
* @since 0.0.54
|
|
408
|
+
/**
|
|
409
|
+
* List of labels in header, which should appear at the end of header. See [Label](#!/Label) component for details.
|
|
410
|
+
* @since 0.0.54
|
|
411
411
|
*/
|
|
412
412
|
labels: _propTypes.default.arrayOf(_propTypes.default.element),
|
|
413
|
-
/**
|
|
414
|
-
* List of additional buttons in header.
|
|
415
|
-
* @since 0.0.54
|
|
413
|
+
/**
|
|
414
|
+
* List of additional buttons in header.
|
|
415
|
+
* @since 0.0.54
|
|
416
416
|
*/
|
|
417
417
|
buttons: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
418
418
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]).isRequired,
|
|
419
419
|
onClick: _propTypes.default.func.isRequired,
|
|
420
420
|
tooltip: _propTypes.default.node
|
|
421
421
|
})),
|
|
422
|
-
/**
|
|
423
|
-
* See [Menu](#!/Menu).
|
|
424
|
-
* @since 0.3.0
|
|
422
|
+
/**
|
|
423
|
+
* See [Menu](#!/Menu).
|
|
424
|
+
* @since 0.3.0
|
|
425
425
|
*/
|
|
426
426
|
menu: _propTypes.default.element,
|
|
427
|
-
/**
|
|
428
|
-
* Selection control.
|
|
429
|
-
* @since 0.0.54
|
|
427
|
+
/**
|
|
428
|
+
* Selection control.
|
|
429
|
+
* @since 0.0.54
|
|
430
430
|
*/
|
|
431
431
|
selection: _propTypes.default.shape({
|
|
432
432
|
isSelected: _propTypes.default.bool.isRequired,
|
|
433
433
|
onSelectionChange: _propTypes.default.func.isRequired
|
|
434
434
|
}),
|
|
435
|
-
/**
|
|
436
|
-
* Side header section. Recommended to use [PreviewPanel](#!/PreviewPanel) component.
|
|
437
|
-
* @since 0.0.54
|
|
435
|
+
/**
|
|
436
|
+
* Side header section. Recommended to use [PreviewPanel](#!/PreviewPanel) component.
|
|
437
|
+
* @since 0.0.54
|
|
438
438
|
*/
|
|
439
439
|
sideHeader: _propTypes.default.element,
|
|
440
|
-
/**
|
|
441
|
-
* Side content section.
|
|
442
|
-
* @since 0.0.54
|
|
440
|
+
/**
|
|
441
|
+
* Side content section.
|
|
442
|
+
* @since 0.0.54
|
|
443
443
|
*/
|
|
444
444
|
sideContent: _propTypes.default.element,
|
|
445
|
-
/**
|
|
446
|
-
* Content for row view.
|
|
447
|
-
* @since 0.0.54
|
|
445
|
+
/**
|
|
446
|
+
* Content for row view.
|
|
447
|
+
* @since 0.0.54
|
|
448
448
|
*/
|
|
449
449
|
rowContent: _propTypes.default.any,
|
|
450
|
-
/**
|
|
451
|
-
* Indicate the progress state of the card.
|
|
452
|
-
* @since 0.4.1
|
|
450
|
+
/**
|
|
451
|
+
* Indicate the progress state of the card.
|
|
452
|
+
* @since 0.4.1
|
|
453
453
|
*/
|
|
454
454
|
progress: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.node]),
|
|
455
|
-
/**
|
|
456
|
-
* @ignore
|
|
455
|
+
/**
|
|
456
|
+
* @ignore
|
|
457
457
|
*/
|
|
458
458
|
className: _propTypes.default.string,
|
|
459
|
-
/**
|
|
460
|
-
* @ignore
|
|
459
|
+
/**
|
|
460
|
+
* @ignore
|
|
461
461
|
*/
|
|
462
462
|
baseClassName: _propTypes.default.string
|
|
463
463
|
};
|
|
@@ -26,8 +26,8 @@ const CardButton = _ref => {
|
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
CardButton.propTypes = {
|
|
29
|
-
/**
|
|
30
|
-
* @ignore
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
31
|
*/
|
|
32
32
|
baseClassName: _propTypes.default.string,
|
|
33
33
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]).isRequired
|
|
@@ -36,9 +36,9 @@ const determineSource = _ref => {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* `PreviewPanel` component is used for displaying website preview.
|
|
41
|
-
* @since 0.3.0
|
|
39
|
+
/**
|
|
40
|
+
* `PreviewPanel` component is used for displaying website preview.
|
|
41
|
+
* @since 0.3.0
|
|
42
42
|
*/
|
|
43
43
|
const PreviewPanel = _ref2 => {
|
|
44
44
|
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>
|
|
@@ -29,11 +29,11 @@ const VIEW_RESPONSIVE = exports.VIEW_RESPONSIVE = 'responsive';
|
|
|
29
29
|
const VIEW_EXTENDED = exports.VIEW_EXTENDED = 'extended';
|
|
30
30
|
const VIEW_ROW = exports.VIEW_ROW = 'row';
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated `CardList` was used for displaying list of objects presented in various data formats
|
|
34
|
-
* including images and other interface components.
|
|
35
|
-
* Now it is deprecated and [List should be used](#!/List) instead.
|
|
36
|
-
* @since 0.0.54
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated `CardList` was used for displaying list of objects presented in various data formats
|
|
34
|
+
* including images and other interface components.
|
|
35
|
+
* Now it is deprecated and [List should be used](#!/List) instead.
|
|
36
|
+
* @since 0.0.54
|
|
37
37
|
*/
|
|
38
38
|
class CardList extends _react.Component {
|
|
39
39
|
constructor() {
|
|
@@ -325,91 +325,91 @@ class CardList extends _react.Component {
|
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
CardList.propTypes = {
|
|
328
|
-
/**
|
|
329
|
-
* Array of data items for rendering.
|
|
330
|
-
* @since 0.0.68
|
|
328
|
+
/**
|
|
329
|
+
* Array of data items for rendering.
|
|
330
|
+
* @since 0.0.68
|
|
331
331
|
*/
|
|
332
332
|
items: _propTypes.default.array.isRequired,
|
|
333
|
-
/**
|
|
334
|
-
* Callback for fetching items.
|
|
335
|
-
* @since 0.0.68
|
|
333
|
+
/**
|
|
334
|
+
* Callback for fetching items.
|
|
335
|
+
* @since 0.0.68
|
|
336
336
|
*/
|
|
337
337
|
onItemsFetch: _propTypes.default.func,
|
|
338
|
-
/**
|
|
339
|
-
* Total items. Equal items.length by default.
|
|
340
|
-
* @since 0.0.68
|
|
338
|
+
/**
|
|
339
|
+
* Total items. Equal items.length by default.
|
|
340
|
+
* @since 0.0.68
|
|
341
341
|
*/
|
|
342
342
|
totalItems: _propTypes.default.number,
|
|
343
|
-
/**
|
|
344
|
-
* Default page number.
|
|
345
|
-
* @since 1.0.1
|
|
343
|
+
/**
|
|
344
|
+
* Default page number.
|
|
345
|
+
* @since 1.0.1
|
|
346
346
|
*/
|
|
347
347
|
defaultPage: _propTypes.default.number,
|
|
348
|
-
/**
|
|
349
|
-
* View mode.
|
|
350
|
-
* @since 0.0.54
|
|
348
|
+
/**
|
|
349
|
+
* View mode.
|
|
350
|
+
* @since 0.0.54
|
|
351
351
|
*/
|
|
352
352
|
view: _propTypes.default.oneOf([VIEW_EXTENDED, VIEW_TILE, VIEW_ROW, VIEW_RESPONSIVE]),
|
|
353
|
-
/**
|
|
354
|
-
* View change callback.
|
|
355
|
-
* @since 0.0.54
|
|
353
|
+
/**
|
|
354
|
+
* View change callback.
|
|
355
|
+
* @since 0.0.54
|
|
356
356
|
*/
|
|
357
357
|
onViewChange: _propTypes.default.func,
|
|
358
|
-
/**
|
|
359
|
-
* View switcher config.
|
|
360
|
-
* @since 0.0.59
|
|
358
|
+
/**
|
|
359
|
+
* View switcher config.
|
|
360
|
+
* @since 0.0.59
|
|
361
361
|
*/
|
|
362
362
|
viewSwitcher: _propTypes.default.bool,
|
|
363
|
-
/**
|
|
364
|
-
* Array of keys of selected cards.
|
|
365
|
-
* @since 0.0.59
|
|
363
|
+
/**
|
|
364
|
+
* Array of keys of selected cards.
|
|
365
|
+
* @since 0.0.59
|
|
366
366
|
*/
|
|
367
367
|
selection: _propTypes.default.array,
|
|
368
|
-
/**
|
|
369
|
-
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
370
|
-
* @since 0.0.59
|
|
368
|
+
/**
|
|
369
|
+
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
370
|
+
* @since 0.0.59
|
|
371
371
|
*/
|
|
372
372
|
onSelectionChange: _propTypes.default.func,
|
|
373
|
-
/**
|
|
374
|
-
* Config for selection button in the toolbar.
|
|
375
|
-
* @since 0.0.59
|
|
373
|
+
/**
|
|
374
|
+
* Config for selection button in the toolbar.
|
|
375
|
+
* @since 0.0.59
|
|
376
376
|
*/
|
|
377
377
|
selectionButton: _propTypes.default.shape({
|
|
378
|
-
/**
|
|
379
|
-
* See [Badge](#!/Badge) for all props.
|
|
378
|
+
/**
|
|
379
|
+
* See [Badge](#!/Badge) for all props.
|
|
380
380
|
*/
|
|
381
381
|
badge: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
|
|
382
|
-
/**
|
|
383
|
-
* Array of additional [MenuItems](#!/MenuItem).
|
|
382
|
+
/**
|
|
383
|
+
* Array of additional [MenuItems](#!/MenuItem).
|
|
384
384
|
*/
|
|
385
385
|
menuItems: _propTypes.default.arrayOf(_propTypes.default.element)
|
|
386
386
|
}),
|
|
387
|
-
/**
|
|
388
|
-
* Toolbar groups for the toolbar.
|
|
389
|
-
* @since 0.0.59
|
|
387
|
+
/**
|
|
388
|
+
* Toolbar groups for the toolbar.
|
|
389
|
+
* @since 0.0.59
|
|
390
390
|
*/
|
|
391
391
|
toolbarGroups: _propTypes.default.arrayOf(_propTypes.default.element),
|
|
392
|
-
/**
|
|
393
|
-
* Unique key.
|
|
394
|
-
* @since 0.0.59
|
|
392
|
+
/**
|
|
393
|
+
* Unique key.
|
|
394
|
+
* @since 0.0.59
|
|
395
395
|
*/
|
|
396
396
|
itemKey: _propTypes.default.string.isRequired,
|
|
397
|
-
/**
|
|
398
|
-
* Render function for item.
|
|
399
|
-
* @since 0.0.59
|
|
397
|
+
/**
|
|
398
|
+
* Render function for item.
|
|
399
|
+
* @since 0.0.59
|
|
400
400
|
*/
|
|
401
401
|
itemRender: _propTypes.default.func.isRequired,
|
|
402
|
-
/**
|
|
403
|
-
* Indicate the loading state of the list.
|
|
404
|
-
* @since 0.0.68
|
|
402
|
+
/**
|
|
403
|
+
* Indicate the loading state of the list.
|
|
404
|
+
* @since 0.0.68
|
|
405
405
|
*/
|
|
406
406
|
loading: _propTypes.default.bool,
|
|
407
|
-
/**
|
|
408
|
-
* @ignore
|
|
407
|
+
/**
|
|
408
|
+
* @ignore
|
|
409
409
|
*/
|
|
410
410
|
className: _propTypes.default.string,
|
|
411
|
-
/**
|
|
412
|
-
* @ignore
|
|
411
|
+
/**
|
|
412
|
+
* @ignore
|
|
413
413
|
*/
|
|
414
414
|
baseClassName: _propTypes.default.string
|
|
415
415
|
};
|
|
@@ -23,10 +23,10 @@ const calcWidths = node => {
|
|
|
23
23
|
totalWidth
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
/**
|
|
27
|
-
* Carousel component is used for optimizing page space by displaying only some parts
|
|
28
|
-
* of entire content in a cyclic view.
|
|
29
|
-
* @since 0.0.42
|
|
26
|
+
/**
|
|
27
|
+
* Carousel component is used for optimizing page space by displaying only some parts
|
|
28
|
+
* of entire content in a cyclic view.
|
|
29
|
+
* @since 0.0.42
|
|
30
30
|
*/
|
|
31
31
|
class Carousel extends _react.Component {
|
|
32
32
|
constructor() {
|
|
@@ -11,9 +11,9 @@ var _Tooltip = _interopRequireDefault(require("../Tooltip"));
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
16
|
-
* @since 0.0.55
|
|
14
|
+
/**
|
|
15
|
+
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
16
|
+
* @since 0.0.55
|
|
17
17
|
*/
|
|
18
18
|
const Checkbox = _ref => {
|
|
19
19
|
let {
|
|
@@ -14,9 +14,9 @@ var _constants = require("../../constants");
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
17
|
-
/**
|
|
18
|
-
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
19
|
-
* @since 0.0.61
|
|
17
|
+
/**
|
|
18
|
+
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
19
|
+
* @since 0.0.61
|
|
20
20
|
*/
|
|
21
21
|
class CodeEditor extends _react.Component {
|
|
22
22
|
constructor() {
|
|
@@ -14,9 +14,9 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
14
14
|
|
|
15
15
|
const normalize = value => String(Number(value)) === String(value) ? `${value}px` : value;
|
|
16
16
|
|
|
17
|
-
/**
|
|
18
|
-
* `Column` component is a part of [Columns](#!/Columns).
|
|
19
|
-
* @since 2.6.0
|
|
17
|
+
/**
|
|
18
|
+
* `Column` component is a part of [Columns](#!/Columns).
|
|
19
|
+
* @since 2.6.0
|
|
20
20
|
*/
|
|
21
21
|
const Column = _ref => {
|
|
22
22
|
let {
|
|
@@ -15,9 +15,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* `Columns` component is used for creating of multi-column layouts.
|
|
20
|
-
* @since 2.6.0
|
|
18
|
+
/**
|
|
19
|
+
* `Columns` component is used for creating of multi-column layouts.
|
|
20
|
+
* @since 2.6.0
|
|
21
21
|
*/
|
|
22
22
|
const Columns = _ref => {
|
|
23
23
|
let {
|