@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
|
@@ -10,11 +10,11 @@ import Tooltip from '../Tooltip';
|
|
|
10
10
|
import Translate from '../Translate';
|
|
11
11
|
import locale from './locale/en-US';
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
/**
|
|
14
|
-
* This component allows users to edit a short text "in place" — in other words, straight in the interface, without
|
|
15
|
-
* opening additional dialog windows. If a text is large enough that it doesn't fit on a single line, you should
|
|
16
|
-
* give users a different way of editing the text.
|
|
17
|
-
* @since 1.8.3
|
|
13
|
+
/**
|
|
14
|
+
* This component allows users to edit a short text "in place" — in other words, straight in the interface, without
|
|
15
|
+
* opening additional dialog windows. If a text is large enough that it doesn't fit on a single line, you should
|
|
16
|
+
* give users a different way of editing the text.
|
|
17
|
+
* @since 1.8.3
|
|
18
18
|
*/
|
|
19
19
|
class InPlaceEdit extends Component {
|
|
20
20
|
constructor() {
|
|
@@ -3,9 +3,9 @@
|
|
|
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
|
-
* `Input` component is used for entering short text (like user name or email address).
|
|
8
|
-
* @since 0.0.57
|
|
6
|
+
/**
|
|
7
|
+
* `Input` component is used for entering short text (like user name or email address).
|
|
8
|
+
* @since 0.0.57
|
|
9
9
|
*/
|
|
10
10
|
const Input = _ref => {
|
|
11
11
|
let {
|
|
@@ -11,9 +11,9 @@ import localeFallback from './locale/en-US';
|
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
12
|
const generateId = () => Math.random().toString(36).slice(2);
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* `InputFile` component is used for browsing and choosing a file from the local disk.
|
|
16
|
-
* @since 3.2.0
|
|
14
|
+
/**
|
|
15
|
+
* `InputFile` component is used for browsing and choosing a file from the local disk.
|
|
16
|
+
* @since 3.2.0
|
|
17
17
|
*/
|
|
18
18
|
const InputFile = _ref => {
|
|
19
19
|
let {
|
|
@@ -38,9 +38,9 @@ const toNumber = value => {
|
|
|
38
38
|
const isMinDisabled = (value, min) => min !== undefined && value !== '' && +value <= min;
|
|
39
39
|
const isMaxDisabled = (value, max) => max !== undefined && value !== '' && +value >= max;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* `InputNumber` component is used for entering integer numbers.
|
|
43
|
-
* @since 2.2.0
|
|
41
|
+
/**
|
|
42
|
+
* `InputNumber` component is used for entering integer numbers.
|
|
43
|
+
* @since 2.2.0
|
|
44
44
|
*/
|
|
45
45
|
const InputNumber = _ref => {
|
|
46
46
|
let {
|
|
@@ -9,10 +9,10 @@ import Heading from '../Heading';
|
|
|
9
9
|
import Tooltip from '../Tooltip';
|
|
10
10
|
import { createProxyProps, wrapFunction } from '../utils';
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
/**
|
|
13
|
-
* `Item` component is element of [ItemList](#!/ItemList) and it is presented as
|
|
14
|
-
* a combination of icon, text title and content (similar to [Media](#!/Media)).
|
|
15
|
-
* @since 0.0.48
|
|
12
|
+
/**
|
|
13
|
+
* `Item` component is element of [ItemList](#!/ItemList) and it is presented as
|
|
14
|
+
* a combination of icon, text title and content (similar to [Media](#!/Media)).
|
|
15
|
+
* @since 0.0.48
|
|
16
16
|
*/
|
|
17
17
|
const Item = _ref => {
|
|
18
18
|
let {
|
|
@@ -4,10 +4,10 @@ import classNames from 'classnames';
|
|
|
4
4
|
import { wrapFunction } from '../utils';
|
|
5
5
|
import { CLS_PREFIX } from '../../constants';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* `ItemLink` component is a part of [ItemList](#!/ItemList) and
|
|
9
|
-
* is used for specifying a special action on the list (for example, adding new item).
|
|
10
|
-
* @since 2.3.0
|
|
7
|
+
/**
|
|
8
|
+
* `ItemLink` component is a part of [ItemList](#!/ItemList) and
|
|
9
|
+
* is used for specifying a special action on the list (for example, adding new item).
|
|
10
|
+
* @since 2.3.0
|
|
11
11
|
*/
|
|
12
12
|
const ItemLink = _ref => {
|
|
13
13
|
let {
|
|
@@ -23,10 +23,10 @@ const getNextSelectedValue = (value, prevValue, toggleable) => {
|
|
|
23
23
|
}
|
|
24
24
|
return value;
|
|
25
25
|
};
|
|
26
|
-
/**
|
|
27
|
-
* `ItemList` component is used for displaying list of [Items](#!/Item)
|
|
28
|
-
* according to [Grid](#!/Grid) principle.
|
|
29
|
-
* @since 0.0.48
|
|
26
|
+
/**
|
|
27
|
+
* `ItemList` component is used for displaying list of [Items](#!/Item)
|
|
28
|
+
* according to [Grid](#!/Grid) principle.
|
|
29
|
+
* @since 0.0.48
|
|
30
30
|
*/
|
|
31
31
|
class ItemList extends Component {
|
|
32
32
|
constructor(_props) {
|
|
@@ -160,8 +160,8 @@ class ItemList extends Component {
|
|
|
160
160
|
return result;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
/**
|
|
164
|
-
* There are some states where we can't manage hoverable state
|
|
163
|
+
/**
|
|
164
|
+
* There are some states where we can't manage hoverable state
|
|
165
165
|
*/
|
|
166
166
|
canManageHoverableState() {
|
|
167
167
|
const {
|
|
@@ -6,9 +6,9 @@ import Icon from '../Icon';
|
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
const DEFAULT_TAG = 'span';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* `Label` component is used for showing multiple characteristics or attributes of an object.
|
|
11
|
-
* @since 0.0.42
|
|
9
|
+
/**
|
|
10
|
+
* `Label` component is used for showing multiple characteristics or attributes of an object.
|
|
11
|
+
* @since 0.0.42
|
|
12
12
|
*/
|
|
13
13
|
const Label = _ref => {
|
|
14
14
|
let {
|
|
@@ -7,8 +7,8 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
const LevelContext = /*#__PURE__*/createContext(0);
|
|
9
9
|
export const PortalContext = /*#__PURE__*/createContext(undefined);
|
|
10
|
-
/**
|
|
11
|
-
* `Layer` component.
|
|
10
|
+
/**
|
|
11
|
+
* `Layer` component.
|
|
12
12
|
*/
|
|
13
13
|
const Layer = _ref => {
|
|
14
14
|
let {
|
|
@@ -8,9 +8,9 @@ import OnDarkContext from '../OnDarkContext';
|
|
|
8
8
|
import { wrapFunction } from '../utils';
|
|
9
9
|
import Icon from '../Icon';
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
/**
|
|
12
|
-
* `Link` is used for navigation purposes.
|
|
13
|
-
* @since 1.9.0
|
|
11
|
+
/**
|
|
12
|
+
* `Link` is used for navigation purposes.
|
|
13
|
+
* @since 1.9.0
|
|
14
14
|
*/
|
|
15
15
|
const Link = _ref => {
|
|
16
16
|
let {
|
|
@@ -118,10 +118,10 @@ const getHumanTotalRows = _ref2 => {
|
|
|
118
118
|
return null;
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
|
-
/**
|
|
122
|
-
* `List` component is used for displaying a collection of tabular data.
|
|
123
|
-
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
124
|
-
* @since 0.0.42
|
|
121
|
+
/**
|
|
122
|
+
* `List` component is used for displaying a collection of tabular data.
|
|
123
|
+
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
124
|
+
* @since 0.0.42
|
|
125
125
|
*/
|
|
126
126
|
class List extends Component {
|
|
127
127
|
constructor() {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import Button from '../Button';
|
|
4
4
|
import { MenuItem } from '../Menu';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
/**
|
|
7
|
-
* `ListAction` component is a part of [ListActions](#!/ListActions) component.
|
|
8
|
-
* It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
|
|
9
|
-
* @since 3.3.0
|
|
6
|
+
/**
|
|
7
|
+
* `ListAction` component is a part of [ListActions](#!/ListActions) component.
|
|
8
|
+
* It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
|
|
9
|
+
* @since 3.3.0
|
|
10
10
|
*/
|
|
11
11
|
const ListAction = _ref => {
|
|
12
12
|
let {
|
|
@@ -9,9 +9,9 @@ import Menu from '../Menu';
|
|
|
9
9
|
import ListAction from './ListAction';
|
|
10
10
|
import VerticalContext from '../VerticalContext';
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
/**
|
|
13
|
-
* `ListActions` component is used for performing operations on individual objects in [List](#!/List).
|
|
14
|
-
* @since 3.3.0
|
|
12
|
+
/**
|
|
13
|
+
* `ListActions` component is used for performing operations on individual objects in [List](#!/List).
|
|
14
|
+
* @since 3.3.0
|
|
15
15
|
*/
|
|
16
16
|
const ListActions = _ref => {
|
|
17
17
|
let {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { MenuDivider } from '../Menu';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
/**
|
|
6
|
-
* `ListActionsDivider` component is a part of [ListActions](#!/ListActions) component.
|
|
7
|
-
* It accepts the props of [MenuDivider](#!/MenuDivider) component.
|
|
8
|
-
* @since 3.10.0
|
|
5
|
+
/**
|
|
6
|
+
* `ListActionsDivider` component is a part of [ListActions](#!/ListActions) component.
|
|
7
|
+
* It accepts the props of [MenuDivider](#!/MenuDivider) component.
|
|
8
|
+
* @since 3.10.0
|
|
9
9
|
*/
|
|
10
10
|
const ListActionsDivider = props => /*#__PURE__*/_jsx(MenuDivider, {
|
|
11
11
|
...props
|
|
@@ -62,10 +62,10 @@ const buttonConfig = getButtonContextValue({
|
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
/**
|
|
66
|
-
* `ListEmptyView` component is used for displaying "empty" state of [List](#!/List)
|
|
67
|
-
* when there are no any objects are added to the list.
|
|
68
|
-
* @since 2.5.0
|
|
65
|
+
/**
|
|
66
|
+
* `ListEmptyView` component is used for displaying "empty" state of [List](#!/List)
|
|
67
|
+
* when there are no any objects are added to the list.
|
|
68
|
+
* @since 2.5.0
|
|
69
69
|
*/
|
|
70
70
|
const ListEmptyView = _ref => {
|
|
71
71
|
let {
|
|
@@ -30,10 +30,10 @@ const getDefaultText = key => {
|
|
|
30
30
|
fallback: fallback
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
|
-
/**
|
|
34
|
-
* `ListOperation` component is used in [Toolbar](#!/Toolbar) for performing
|
|
35
|
-
* operations on multiple objects in [List](#!/List).
|
|
36
|
-
* @since 2.4.0
|
|
33
|
+
/**
|
|
34
|
+
* `ListOperation` component is used in [Toolbar](#!/Toolbar) for performing
|
|
35
|
+
* operations on multiple objects in [List](#!/List).
|
|
36
|
+
* @since 2.4.0
|
|
37
37
|
*/
|
|
38
38
|
const ListOperation = _ref => {
|
|
39
39
|
let {
|
|
@@ -56,7 +56,7 @@ function (key) {
|
|
|
56
56
|
}
|
|
57
57
|
return applyParams(message, params);
|
|
58
58
|
};
|
|
59
|
-
const LocaleContext = /*#__PURE__*/createContext(undefined);
|
|
59
|
+
export const LocaleContext = /*#__PURE__*/createContext(undefined);
|
|
60
60
|
export const useTranslate = namespace => {
|
|
61
61
|
const context = useContext(LocaleContext);
|
|
62
62
|
return useCallback((key, params, fallback) => {
|
|
@@ -71,9 +71,9 @@ export const useTranslate = namespace => {
|
|
|
71
71
|
return typeof fallback === 'string' ? applyParams(fallback, params) : `[${key}]`;
|
|
72
72
|
}, [context, namespace]);
|
|
73
73
|
};
|
|
74
|
-
/**
|
|
75
|
-
* LocaleProvider provides a uniform localization support for built-in text of components.
|
|
76
|
-
* @since 0.0.42
|
|
74
|
+
/**
|
|
75
|
+
* LocaleProvider provides a uniform localization support for built-in text of components.
|
|
76
|
+
* @since 0.0.42
|
|
77
77
|
*/
|
|
78
78
|
class LocaleProvider extends PureComponent {
|
|
79
79
|
getChildContext() {
|
|
@@ -6,9 +6,9 @@ import classNames from 'classnames';
|
|
|
6
6
|
import { marked } from 'marked';
|
|
7
7
|
import { CLS_PREFIX } from '../../constants';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* `Markdown` component is used for creating content with rich text formatting.
|
|
11
|
-
* @since 0.0.42
|
|
9
|
+
/**
|
|
10
|
+
* `Markdown` component is used for creating content with rich text formatting.
|
|
11
|
+
* @since 0.0.42
|
|
12
12
|
*/
|
|
13
13
|
const Markdown = _ref => {
|
|
14
14
|
let {
|
|
@@ -6,11 +6,11 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
6
6
|
import Heading from '../Heading';
|
|
7
7
|
import Icon, { ICON_SIZE_12, ICON_SIZE_16, ICON_SIZE_24, ICON_SIZE_32, ICON_SIZE_48, ICON_SIZE_64, ICON_SIZE_96, ICON_SIZE_128, ICON_SIZE_192 } from '../Icon';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* `Media` component is a combination of icon, text title and content.
|
|
11
|
-
* This layout was so widely spread in our products so we have decided to create a special component for it.
|
|
12
|
-
* Probably we should have named the component differently (not Media), but we didn't have better idea then ;)
|
|
13
|
-
* @since 0.0.45
|
|
9
|
+
/**
|
|
10
|
+
* `Media` component is a combination of icon, text title and content.
|
|
11
|
+
* This layout was so widely spread in our products so we have decided to create a special component for it.
|
|
12
|
+
* Probably we should have named the component differently (not Media), but we didn't have better idea then ;)
|
|
13
|
+
* @since 0.0.45
|
|
14
14
|
*/
|
|
15
15
|
const Media = _ref => {
|
|
16
16
|
let {
|
|
@@ -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
|
-
* `MediaSection` is a part of [Media](#!/Media) component.
|
|
8
|
-
* @since 0.0.68
|
|
6
|
+
/**
|
|
7
|
+
* `MediaSection` is a part of [Media](#!/Media) component.
|
|
8
|
+
* @since 0.0.68
|
|
9
9
|
*/
|
|
10
10
|
const MediaSection = _ref => {
|
|
11
11
|
let {
|
|
@@ -16,15 +16,15 @@ const hasIconItem = children => {
|
|
|
16
16
|
});
|
|
17
17
|
return result;
|
|
18
18
|
};
|
|
19
|
-
/**
|
|
20
|
-
* `Menu` component displays grouped controls for navigating the UI, performing actions on objects, or showing
|
|
21
|
-
* options for [Lists](#!/List) (for example, sorting and filtering settings). `Menu` is most typically used in a
|
|
22
|
-
* [Dropdown](#!/Dropdown).
|
|
23
|
-
*
|
|
24
|
-
* `Menu` consists of several [Menu Items](#!/MenuItem) (or [Selectable Menu
|
|
25
|
-
* Items](#!/MenuSelectableItem)) which can be grouped by [Menu Headers](#!/MenuHeader)
|
|
26
|
-
* or separated by [Menu Dividers](#!/MenuDivider).
|
|
27
|
-
* @since 0.0.55
|
|
19
|
+
/**
|
|
20
|
+
* `Menu` component displays grouped controls for navigating the UI, performing actions on objects, or showing
|
|
21
|
+
* options for [Lists](#!/List) (for example, sorting and filtering settings). `Menu` is most typically used in a
|
|
22
|
+
* [Dropdown](#!/Dropdown).
|
|
23
|
+
*
|
|
24
|
+
* `Menu` consists of several [Menu Items](#!/MenuItem) (or [Selectable Menu
|
|
25
|
+
* Items](#!/MenuSelectableItem)) which can be grouped by [Menu Headers](#!/MenuHeader)
|
|
26
|
+
* or separated by [Menu Dividers](#!/MenuDivider).
|
|
27
|
+
* @since 0.0.55
|
|
28
28
|
*/
|
|
29
29
|
const Menu = /*#__PURE__*/forwardRef(function Menu(_ref, ref) {
|
|
30
30
|
let {
|
|
@@ -4,9 +4,9 @@ import classNames from 'classnames';
|
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import Icon, { ICON_SIZE_16 } from '../Icon';
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* `MenuBaseItem` component.
|
|
9
|
-
* @since 0.0.60
|
|
7
|
+
/**
|
|
8
|
+
* `MenuBaseItem` component.
|
|
9
|
+
* @since 0.0.60
|
|
10
10
|
*/
|
|
11
11
|
const MenuBaseItem = _ref => {
|
|
12
12
|
let {
|
|
@@ -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
|
-
* `MenuDivider` is a part of [Menu](#!/Menu) component.
|
|
8
|
-
* @since 0.0.57
|
|
6
|
+
/**
|
|
7
|
+
* `MenuDivider` is a part of [Menu](#!/Menu) component.
|
|
8
|
+
* @since 0.0.57
|
|
9
9
|
*/
|
|
10
10
|
const MenuDivider = _ref => {
|
|
11
11
|
let {
|
|
@@ -4,9 +4,9 @@ import classNames from 'classnames';
|
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import MenuBaseItem from './MenuBaseItem';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* `MenuHeader` is a part of [Menu](#!/Menu) component.
|
|
9
|
-
* @since 0.0.57
|
|
7
|
+
/**
|
|
8
|
+
* `MenuHeader` is a part of [Menu](#!/Menu) component.
|
|
9
|
+
* @since 0.0.57
|
|
10
10
|
*/
|
|
11
11
|
const MenuHeader = _ref => {
|
|
12
12
|
let {
|
|
@@ -7,9 +7,9 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
7
7
|
import { createProxyProps } from '../utils';
|
|
8
8
|
import MenuBaseItem from './MenuBaseItem';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
/**
|
|
11
|
-
* `MenuItem` is a part of [Menu](#!/Menu) component.
|
|
12
|
-
* @since 0.0.55
|
|
10
|
+
/**
|
|
11
|
+
* `MenuItem` is a part of [Menu](#!/Menu) component.
|
|
12
|
+
* @since 0.0.55
|
|
13
13
|
*/
|
|
14
14
|
const MenuItem = _ref => {
|
|
15
15
|
let {
|
|
@@ -4,9 +4,9 @@ import classNames from 'classnames';
|
|
|
4
4
|
import { CLS_PREFIX } from '../../constants';
|
|
5
5
|
import MenuItem from './MenuItem';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* `MenuSelectableItem` is a part of [Menu](#!/Menu) component.
|
|
9
|
-
* @since 0.0.57
|
|
7
|
+
/**
|
|
8
|
+
* `MenuSelectableItem` is a part of [Menu](#!/Menu) component.
|
|
9
|
+
* @since 0.0.57
|
|
10
10
|
*/
|
|
11
11
|
const MenuSelectableItem = _ref => {
|
|
12
12
|
let {
|
|
@@ -9,8 +9,8 @@ import { CLS_PREFIX, Z_INDEX_OVERLAY } from '../../constants';
|
|
|
9
9
|
import Layer from '../Layer';
|
|
10
10
|
import FocusTrap from '../FocusTrap';
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
/**
|
|
13
|
-
* `Overlay` component.
|
|
12
|
+
/**
|
|
13
|
+
* `Overlay` component.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
let overlaysCount = 0;
|
|
@@ -6,9 +6,9 @@ import { isLikeText } from '../Translate';
|
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import Heading from '../Heading';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* `PageHeader` component is used for identification of the current page.
|
|
11
|
-
* @since 0.0.35
|
|
9
|
+
/**
|
|
10
|
+
* `PageHeader` component is used for identification of the current page.
|
|
11
|
+
* @since 0.0.35
|
|
12
12
|
*/
|
|
13
13
|
const PageHeader = _ref => {
|
|
14
14
|
let {
|
|
@@ -14,9 +14,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
14
14
|
export const ITEMS_PER_PAGE_OPTIONS = [25, 100, 'all'];
|
|
15
15
|
const VIEW_DEFAULT = 'default';
|
|
16
16
|
const VIEW_POPOVER = 'popover';
|
|
17
|
-
/**
|
|
18
|
-
* `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
|
|
19
|
-
* @since 0.0.54
|
|
17
|
+
/**
|
|
18
|
+
* `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
|
|
19
|
+
* @since 0.0.54
|
|
20
20
|
*/
|
|
21
21
|
const Pagination = _ref => {
|
|
22
22
|
let {
|
|
@@ -9,9 +9,9 @@ import Heading from '../Heading';
|
|
|
9
9
|
import Button from '../Button';
|
|
10
10
|
import { isClickable } from '../utils';
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
/**
|
|
13
|
-
* `Panel` component is used for visually grouping some content.
|
|
14
|
-
* @since 0.0.35
|
|
12
|
+
/**
|
|
13
|
+
* `Panel` component is used for visually grouping some content.
|
|
14
|
+
* @since 0.0.35
|
|
15
15
|
*/
|
|
16
16
|
const Panel = _ref => {
|
|
17
17
|
let {
|
|
@@ -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
|
-
* `Paragraph` is a block containing a single paragraph of [Text](#!/Text).
|
|
8
|
-
* @since 1.1.0
|
|
6
|
+
/**
|
|
7
|
+
* `Paragraph` is a block containing a single paragraph of [Text](#!/Text).
|
|
8
|
+
* @since 1.1.0
|
|
9
9
|
*/
|
|
10
10
|
const Paragraph = _ref => {
|
|
11
11
|
let {
|
|
@@ -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
|
-
* `Plaintext` component is used to show regular text, without any formatting options and ignoring html tags.
|
|
8
|
-
* @since 0.0.42
|
|
6
|
+
/**
|
|
7
|
+
* `Plaintext` component is used to show regular text, without any formatting options and ignoring html tags.
|
|
8
|
+
* @since 0.0.42
|
|
9
9
|
*/
|
|
10
10
|
const Plaintext = _ref => {
|
|
11
11
|
let {
|
|
@@ -33,10 +33,10 @@ const PLACEMENT_MAP = {
|
|
|
33
33
|
const ARROW_HEIGHT = 26;
|
|
34
34
|
const isControlled = props => props.visible !== null;
|
|
35
35
|
const normalize = value => String(Number(value)) === String(value) ? `${value}px` : value;
|
|
36
|
-
/**
|
|
37
|
-
* `Popover` component is non-modal pop-up window used for providing additional information
|
|
38
|
-
* for an interface element. It also may contain Form with few fields or any other small content.
|
|
39
|
-
* @since 0.0.42
|
|
36
|
+
/**
|
|
37
|
+
* `Popover` component is non-modal pop-up window used for providing additional information
|
|
38
|
+
* for an interface element. It also may contain Form with few fields or any other small content.
|
|
39
|
+
* @since 0.0.42
|
|
40
40
|
*/
|
|
41
41
|
class Popover extends Component {
|
|
42
42
|
constructor() {
|
|
@@ -8,8 +8,8 @@ import { findDOMNode } from 'react-dom';
|
|
|
8
8
|
import { CLS_PREFIX } from '../../constants';
|
|
9
9
|
import Layer from '../Layer';
|
|
10
10
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
/**
|
|
12
|
-
* `Popper` component.
|
|
11
|
+
/**
|
|
12
|
+
* `Popper` component.
|
|
13
13
|
*/
|
|
14
14
|
class Popper extends Component {
|
|
15
15
|
constructor() {
|
|
@@ -7,9 +7,9 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
7
7
|
import { safeInvoke } from '../utils';
|
|
8
8
|
import { STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_DONE, STATUS_ERROR, STATUS_WARNING, PROGRESS_STEP_DEFAULT_STATUS } from '../ProgressStep';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
/**
|
|
11
|
-
* `Progress` is used for showing progress of performing long operations.
|
|
12
|
-
* @since 1.10.0
|
|
10
|
+
/**
|
|
11
|
+
* `Progress` is used for showing progress of performing long operations.
|
|
12
|
+
* @since 1.10.0
|
|
13
13
|
*/
|
|
14
14
|
class Progress extends Component {
|
|
15
15
|
constructor() {
|
|
@@ -10,9 +10,9 @@ import { safeInvoke } from '../utils';
|
|
|
10
10
|
import { STATUS_DONE, STATUS_ERROR, STATUS_WARNING } from '../ProgressStep';
|
|
11
11
|
import Progress from '../Progress';
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
/**
|
|
14
|
-
* `ProgressDialog` is a [Dialog](#!/Dialog) combined with of [Progress](#!/Progress) component.
|
|
15
|
-
* @since 1.2.0
|
|
13
|
+
/**
|
|
14
|
+
* `ProgressDialog` is a [Dialog](#!/Dialog) combined with of [Progress](#!/Progress) component.
|
|
15
|
+
* @since 1.2.0
|
|
16
16
|
*/
|
|
17
17
|
class ProgressDialog extends Component {
|
|
18
18
|
constructor() {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import ProgressStep from '../ProgressStep';
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Component `ProgressDialogStep` is deprecated, use `ProgressStep` instead.
|
|
8
|
-
* @since 1.2.0
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Component `ProgressDialogStep` is deprecated, use `ProgressStep` instead.
|
|
8
|
+
* @since 1.2.0
|
|
9
9
|
*/
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
const ProgressDialogStep = props => {
|
|
@@ -15,9 +15,9 @@ export const STATUS_WARNING = 'warning';
|
|
|
15
15
|
export const STATUS_ERROR = 'error';
|
|
16
16
|
export const STATUS_CANCELED = 'canceled';
|
|
17
17
|
export const PROGRESS_STEP_DEFAULT_STATUS = STATUS_NOT_STARTED;
|
|
18
|
-
/**
|
|
19
|
-
* `ProgressStep` is a part of the [Progress](#!/Progress) component.
|
|
20
|
-
* @since 1.10.0
|
|
18
|
+
/**
|
|
19
|
+
* `ProgressStep` is a part of the [Progress](#!/Progress) component.
|
|
20
|
+
* @since 1.10.0
|
|
21
21
|
*/
|
|
22
22
|
const ProgressStep = _ref => {
|
|
23
23
|
let {
|
|
@@ -5,9 +5,9 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
let radioId = 0;
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* `Radio` component is used for making a choice among a set of mutually exclusive, related options.
|
|
10
|
-
* @since 3.2.0
|
|
8
|
+
/**
|
|
9
|
+
* `Radio` component is used for making a choice among a set of mutually exclusive, related options.
|
|
10
|
+
* @since 3.2.0
|
|
11
11
|
*/
|
|
12
12
|
const Radio = _ref => {
|
|
13
13
|
let {
|
|
@@ -12,9 +12,9 @@ const width = value => {
|
|
|
12
12
|
}
|
|
13
13
|
return result;
|
|
14
14
|
};
|
|
15
|
-
/**
|
|
16
|
-
* `Rating` component is used for showing and collecting feedback of users' opinion in 0-5 grade scale.
|
|
17
|
-
* @since 0.0.42
|
|
15
|
+
/**
|
|
16
|
+
* `Rating` component is used for showing and collecting feedback of users' opinion in 0-5 grade scale.
|
|
17
|
+
* @since 0.0.42
|
|
18
18
|
*/
|
|
19
19
|
const Rating = _ref => {
|
|
20
20
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="56" height="248" viewBox="0 0 51 248">
|
|
2
|
-
<defs><symbol id="star"><path stroke-width="3" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"></path></symbol></defs>
|
|
3
|
-
<use x="0" y="0" fill="none" stroke="#ff9500" href="#star"></use>
|
|
4
|
-
<use x="0" y="100" fill="#ff9500" stroke="#ff9500" href="#star"></use>
|
|
5
|
-
<use x="0" y="200" fill="#848484" stroke="#848484" href="#star"></use>
|
|
6
|
-
</svg>
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="56" height="248" viewBox="0 0 51 248">
|
|
2
|
+
<defs><symbol id="star"><path stroke-width="3" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"></path></symbol></defs>
|
|
3
|
+
<use x="0" y="0" fill="none" stroke="#ff9500" href="#star"></use>
|
|
4
|
+
<use x="0" y="100" fill="#ff9500" stroke="#ff9500" href="#star"></use>
|
|
5
|
+
<use x="0" y="200" fill="#848484" stroke="#848484" href="#star"></use>
|
|
6
|
+
</svg>
|