@plesk/ui-library 3.27.1 → 3.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -35
- 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 +50 -50
- 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 +11 -11
- package/cjs/components/Checkbox/Checkbox.js +3 -3
- package/cjs/components/CodeEditor/CodeEditor.js +40 -40
- 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 +63 -63
- package/cjs/components/Drawer/Drawer.js +71 -71
- package/cjs/components/Dropdown/Dropdown.js +24 -24
- 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 +14 -14
- package/cjs/components/Form/Form.js +4 -4
- package/cjs/components/Form/utils.js +22 -22
- package/cjs/components/FormField/FormField.js +78 -78
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
- package/cjs/components/FormFieldPassword/FormFieldPassword.js +36 -46
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +32 -32
- package/cjs/components/FormFieldSelect/FormFieldSelect.js +4 -4
- package/cjs/components/FormFieldText/FormFieldText.js +36 -36
- package/cjs/components/Grid/Grid.js +37 -37
- package/cjs/components/GridCol/GridCol.js +25 -25
- 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 +1653 -1653
- package/cjs/components/InPlaceEdit/InPlaceEdit.js +15 -15
- 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 +41 -41
- 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 +55 -55
- package/cjs/components/Link/Link.js +6 -6
- package/cjs/components/List/List.js +134 -134
- 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 +13 -13
- package/cjs/components/Media/Media.js +37 -37
- package/cjs/components/Media/MediaSection.js +10 -10
- package/cjs/components/Menu/Menu.js +28 -28
- package/cjs/components/Menu/MenuBaseItem.js +19 -19
- package/cjs/components/Menu/MenuDivider.js +7 -7
- package/cjs/components/Menu/MenuHeader.js +10 -10
- package/cjs/components/Menu/MenuItem.js +27 -27
- package/cjs/components/Menu/MenuSelectableItem.js +13 -13
- package/cjs/components/Overlay/Backdrop.js +6 -6
- package/cjs/components/Overlay/Overlay.js +34 -34
- 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 +10 -10
- package/cjs/components/Popover/Popover.js +59 -59
- package/cjs/components/Popper/Popper.js +30 -30
- package/cjs/components/Progress/Progress.js +13 -13
- package/cjs/components/ProgressDialog/ProgressDialog.js +47 -47
- package/cjs/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
- package/cjs/components/ProgressStep/ProgressStep.js +25 -25
- package/cjs/components/Radio/Radio.js +3 -3
- package/cjs/components/Rating/Rating.js +13 -13
- package/cjs/components/Rating/images/rating.svg +6 -6
- package/cjs/components/Section/Section.js +41 -41
- package/cjs/components/Section/SectionItem.js +18 -18
- package/cjs/components/SegmentedControl/SegmentedControl.js +37 -37
- 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/Spinner/Spinner.js +2 -2
- package/cjs/components/SplitButton/SplitButton.js +20 -20
- 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 +22 -22
- package/cjs/components/Switch/Switch.js +31 -31
- package/cjs/components/SwitchesPanel/SwitchesPanel.js +10 -10
- package/cjs/components/SwitchesPanelItem/SwitchesPanelItem.js +33 -33
- package/cjs/components/Tabs/SearchBar.js +57 -57
- package/cjs/components/Tabs/Tab.js +28 -28
- package/cjs/components/Tabs/Tabs.js +33 -33
- package/cjs/components/Text/Text.js +3 -3
- package/cjs/components/TextArea/TextArea.js +3 -3
- package/cjs/components/Toaster/Toaster.js +32 -32
- package/cjs/components/Toolbar/Toolbar.js +13 -13
- package/cjs/components/Toolbar/ToolbarExpander.js +5 -5
- package/cjs/components/Toolbar/ToolbarGroup.js +17 -17
- package/cjs/components/Tooltip/Tooltip.js +19 -19
- package/cjs/components/Tour/Tour.js +5 -5
- package/cjs/components/Translate/Translate.js +25 -25
- 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 +1653 -1653
- 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 +6447 -6457
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +3 -3
- 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 +50 -50
- 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 +11 -11
- package/esm/components/Checkbox/Checkbox.js +3 -3
- package/esm/components/CodeEditor/CodeEditor.js +40 -40
- 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 +63 -63
- package/esm/components/Drawer/Drawer.js +71 -71
- package/esm/components/Dropdown/Dropdown.js +24 -24
- 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 +14 -14
- package/esm/components/Form/Form.js +4 -4
- package/esm/components/Form/utils.js +22 -22
- package/esm/components/FormField/FormField.js +78 -78
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
- package/esm/components/FormFieldPassword/FormFieldPassword.js +36 -46
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +32 -32
- package/esm/components/FormFieldSelect/FormFieldSelect.js +4 -4
- package/esm/components/FormFieldText/FormFieldText.js +36 -36
- package/esm/components/Grid/Grid.js +37 -37
- package/esm/components/GridCol/GridCol.js +25 -25
- 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 +1653 -1653
- package/esm/components/InPlaceEdit/InPlaceEdit.js +15 -15
- 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 +41 -41
- 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 +55 -55
- package/esm/components/Link/Link.js +6 -6
- package/esm/components/List/List.js +134 -134
- 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 +13 -13
- package/esm/components/Media/Media.js +37 -37
- package/esm/components/Media/MediaSection.js +10 -10
- package/esm/components/Menu/Menu.js +28 -28
- package/esm/components/Menu/MenuBaseItem.js +19 -19
- package/esm/components/Menu/MenuDivider.js +7 -7
- package/esm/components/Menu/MenuHeader.js +10 -10
- package/esm/components/Menu/MenuItem.js +27 -27
- package/esm/components/Menu/MenuSelectableItem.js +13 -13
- package/esm/components/Overlay/Backdrop.js +6 -6
- package/esm/components/Overlay/Overlay.js +34 -34
- 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 +10 -10
- package/esm/components/Popover/Popover.js +59 -59
- package/esm/components/Popper/Popper.js +30 -30
- package/esm/components/Progress/Progress.js +13 -13
- package/esm/components/ProgressDialog/ProgressDialog.js +47 -47
- package/esm/components/ProgressDialogStep/ProgressDialogStep.js +3 -3
- package/esm/components/ProgressStep/ProgressStep.js +25 -25
- package/esm/components/Radio/Radio.js +3 -3
- package/esm/components/Rating/Rating.js +13 -13
- package/esm/components/Rating/images/rating.svg +6 -6
- package/esm/components/Section/Section.js +41 -41
- package/esm/components/Section/SectionItem.js +18 -18
- package/esm/components/SegmentedControl/SegmentedControl.js +37 -37
- 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/Spinner/Spinner.js +2 -2
- package/esm/components/SplitButton/SplitButton.js +20 -20
- 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 +22 -22
- package/esm/components/Switch/Switch.js +31 -31
- package/esm/components/SwitchesPanel/SwitchesPanel.js +10 -10
- package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +33 -33
- package/esm/components/Tabs/SearchBar.js +57 -57
- package/esm/components/Tabs/Tab.js +28 -28
- package/esm/components/Tabs/Tabs.js +33 -33
- package/esm/components/Text/Text.js +3 -3
- package/esm/components/TextArea/TextArea.js +3 -3
- package/esm/components/Toaster/Toaster.js +32 -32
- package/esm/components/Toolbar/Toolbar.js +13 -13
- package/esm/components/Toolbar/ToolbarExpander.js +5 -5
- package/esm/components/Toolbar/ToolbarGroup.js +17 -17
- package/esm/components/Tooltip/Tooltip.js +19 -19
- package/esm/components/Tour/Tour.js +5 -5
- package/esm/components/Translate/Translate.js +25 -25
- package/esm/index.js +1 -1
- package/index.js +5 -5
- package/package.json +151 -146
- package/scripts/postinstall.js +9 -9
- package/styleguide/browserconfig.xml +9 -9
- package/styleguide/build/bundle.1c9c8500.js +2 -0
- package/styleguide/build/{bundle.aabb094f.js.LICENSE.txt → bundle.1c9c8500.js.LICENSE.txt} +0 -0
- package/styleguide/images/no-image.svg +6 -6
- package/styleguide/images/rating.svg +6 -6
- package/styleguide/images/symbols.svg +1653 -1653
- 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/package.d.ts +133 -128
- package/types/src/components/Action/Action.d.ts +61 -61
- package/types/src/components/Action/index.d.ts +1 -1
- package/types/src/components/Alert/Alert.d.ts +36 -36
- package/types/src/components/Alert/Alert.stories.d.ts +14 -14
- package/types/src/components/Alert/index.d.ts +1 -1
- package/types/src/components/AutoClosable/AutoClosable.d.ts +59 -59
- package/types/src/components/AutoClosable/index.d.ts +1 -1
- package/types/src/components/AuxiliaryActions/AuxiliaryActions.d.ts +28 -28
- package/types/src/components/AuxiliaryActions/index.d.ts +1 -1
- package/types/src/components/Badge/Badge.d.ts +39 -39
- package/types/src/components/Badge/index.d.ts +1 -1
- package/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +25 -25
- package/types/src/components/Breadcrumbs/index.d.ts +1 -1
- package/types/src/components/Button/Button.stories.d.ts +16 -16
- package/types/src/components/ButtonGroup/ButtonGroup.d.ts +27 -27
- package/types/src/components/ButtonGroup/index.d.ts +1 -1
- package/types/src/components/Card/PreviewPanel.d.ts +53 -53
- package/types/src/components/Card/helpers.d.ts +5 -5
- package/types/src/components/Checkbox/Checkbox.d.ts +67 -67
- package/types/src/components/Checkbox/index.d.ts +1 -1
- package/types/src/components/ClosingConfirmation/index.d.ts +1 -1
- package/types/src/components/ClosingConfirmation/useClosingConfirmation.d.ts +10 -10
- package/types/src/components/Columns/Column.d.ts +52 -52
- package/types/src/components/Columns/Columns.d.ts +34 -34
- package/types/src/components/Columns/index.d.ts +2 -2
- package/types/src/components/ComboBox/ComboBox.d.ts +58 -58
- package/types/src/components/ComboBox/ComboBoxOption.d.ts +19 -19
- package/types/src/components/ComboBox/index.d.ts +2 -2
- package/types/src/components/ComboBoxDropdown/ComboBoxDropdown.d.ts +40 -40
- package/types/src/components/ComboBoxDropdown/index.d.ts +1 -1
- package/types/src/components/ConsoleOutput/ConsoleOutput.d.ts +52 -52
- package/types/src/components/ConsoleOutput/index.d.ts +1 -1
- package/types/src/components/ContentLoader/ContentLoader.d.ts +60 -60
- package/types/src/components/ContentLoader/IconsLoader.d.ts +10 -10
- package/types/src/components/ContentLoader/index.d.ts +1 -1
- package/types/src/components/Cuttable/Cuttable.d.ts +63 -63
- package/types/src/components/Cuttable/Cuttable.stories.d.ts +34 -34
- package/types/src/components/Cuttable/index.d.ts +1 -1
- package/types/src/components/Dialog/Dialog.stories.d.ts +22 -22
- package/types/src/components/DistractionFreeModeContext/DistractionFreeModeContext.d.ts +7 -7
- package/types/src/components/DistractionFreeModeContext/index.d.ts +1 -1
- package/types/src/components/Drawer/Drawer.stories.d.ts +40 -40
- package/types/src/components/Drawer/DrawerProgress.d.ts +45 -45
- package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessage.d.ts +38 -38
- package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageActions.d.ts +22 -22
- package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.d.ts +22 -22
- package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.d.ts +13 -13
- package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.d.ts +22 -22
- package/types/src/components/ExtendedStatusMessage/index.d.ts +5 -5
- package/types/src/components/FocusTrap/FocusTrap.d.ts +7 -7
- package/types/src/components/FocusTrap/index.d.ts +1 -1
- package/types/src/components/Form/DisabledContext.d.ts +3 -3
- package/types/src/components/Form/Form.d.ts +163 -163
- package/types/src/components/Form/Form.stories.d.ts +12 -12
- package/types/src/components/Form/FormContext.d.ts +16 -16
- package/types/src/components/Form/index.d.ts +2 -2
- package/types/src/components/Form/utils.d.ts +32 -32
- package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.stories.d.ts +17 -17
- package/types/src/components/FormFieldSelect/FormFieldSelect.d.ts +13 -13
- package/types/src/components/FormFieldSelect/index.d.ts +1 -1
- package/types/src/components/Heading/Heading.d.ts +39 -39
- package/types/src/components/Heading/index.d.ts +1 -1
- package/types/src/components/Hint/Hint.d.ts +24 -24
- package/types/src/components/Hint/index.d.ts +1 -1
- package/types/src/components/Icon/Icon.d.ts +88 -88
- package/types/src/components/Icon/Icon.stories.d.ts +6 -6
- package/types/src/components/Icon/constants.d.ts +3 -3
- package/types/src/components/Icon/index.d.ts +2 -2
- package/types/src/components/Icon/oldIconNames.d.ts +5 -5
- package/types/src/components/Input/Input.d.ts +57 -57
- package/types/src/components/Input/index.d.ts +1 -1
- package/types/src/components/InputFile/InputFile.d.ts +49 -49
- package/types/src/components/InputFile/index.d.ts +1 -1
- package/types/src/components/InputNumber/InputNumber.d.ts +64 -64
- package/types/src/components/InputNumber/index.d.ts +1 -1
- package/types/src/components/ItemLink/ItemLink.d.ts +28 -28
- package/types/src/components/ItemLink/ItemLink.stories.d.ts +14 -14
- package/types/src/components/ItemLink/index.d.ts +1 -1
- package/types/src/components/ItemList/ItemList.d.ts +113 -113
- package/types/src/components/ItemList/ItemList.stories.d.ts +289 -289
- package/types/src/components/Label/Label.d.ts +28 -28
- package/types/src/components/Label/index.d.ts +1 -1
- package/types/src/components/Layer/Layer.d.ts +29 -29
- package/types/src/components/Layer/index.d.ts +2 -2
- package/types/src/components/Link/Link.d.ts +47 -47
- package/types/src/components/Link/index.d.ts +1 -1
- package/types/src/components/List/List.stories.d.ts +29 -29
- package/types/src/components/List/ListAction.d.ts +39 -39
- package/types/src/components/List/ListActions.d.ts +30 -30
- package/types/src/components/List/ListActionsDivider.d.ts +10 -10
- package/types/src/components/List/ListEmptyView.d.ts +44 -44
- package/types/src/components/List/ListOperation.d.ts +42 -42
- package/types/src/components/List/ListOperationContext.d.ts +7 -7
- package/types/src/components/LocaleProvider/LocaleProvider.d.ts +37 -37
- package/types/src/components/LocaleProvider/index.d.ts +2 -2
- package/types/src/components/Menu/Menu.stories.d.ts +19 -19
- package/types/src/components/OnDarkContext/OnDarkContext.d.ts +3 -3
- package/types/src/components/OnDarkContext/index.d.ts +1 -1
- package/types/src/components/PageHeader/PageHeader.d.ts +53 -53
- package/types/src/components/PageHeader/index.d.ts +1 -1
- package/types/src/components/Pagination/Pagination.d.ts +77 -77
- package/types/src/components/Panel/Panel.d.ts +65 -65
- package/types/src/components/Paragraph/Paragraph.d.ts +29 -29
- package/types/src/components/Paragraph/index.d.ts +1 -1
- package/types/src/components/Popover/Popover.stories.d.ts +22 -22
- package/types/src/components/ProgressBar/ProgressBar.d.ts +23 -23
- package/types/src/components/ProgressBar/ProgressIndicator.d.ts +21 -21
- package/types/src/components/ProgressBar/index.d.ts +1 -1
- package/types/src/components/Radio/Radio.d.ts +52 -52
- package/types/src/components/Radio/index.d.ts +1 -1
- package/types/src/components/ResponsiveContext/ResponsiveContext.d.ts +3 -3
- package/types/src/components/ResponsiveContext/index.d.ts +1 -1
- package/types/src/components/Select/MultiValue.d.ts +9 -9
- package/types/src/components/Select/Select.d.ts +74 -74
- package/types/src/components/Select/Select.stories.d.ts +23 -23
- package/types/src/components/Select/SelectControl.d.ts +26 -26
- package/types/src/components/Select/SelectOption.d.ts +29 -29
- package/types/src/components/Select/SelectOptionGroup.d.ts +20 -20
- package/types/src/components/Select/index.d.ts +3 -3
- package/types/src/components/Select/structures.d.ts +19 -19
- package/types/src/components/Spinner/Spinner.d.ts +18 -18
- package/types/src/components/Spinner/index.d.ts +1 -1
- package/types/src/components/Spot/Spot.d.ts +70 -70
- package/types/src/components/Spot/SpotPopup.d.ts +25 -25
- package/types/src/components/Spot/SpotPulsar.d.ts +10 -10
- package/types/src/components/Spot/index.d.ts +1 -1
- package/types/src/components/Squeezer/Squeezer.d.ts +22 -22
- package/types/src/components/Squeezer/index.d.ts +1 -1
- package/types/src/components/Status/Status.d.ts +69 -69
- package/types/src/components/Status/Status.stories.d.ts +22 -22
- package/types/src/components/Status/index.d.ts +1 -1
- package/types/src/components/StatusMessage/StatusMessage.d.ts +29 -29
- package/types/src/components/StatusMessage/index.d.ts +1 -1
- package/types/src/components/Tabs/Tabs.stories.d.ts +7 -7
- package/types/src/components/Text/Text.d.ts +64 -64
- package/types/src/components/Text/index.d.ts +1 -1
- package/types/src/components/TextArea/TextArea.d.ts +69 -69
- package/types/src/components/TextArea/calculateNodeHeight.d.ts +6 -6
- package/types/src/components/Toast/Toast.d.ts +40 -40
- package/types/src/components/Toast/index.d.ts +2 -2
- package/types/src/components/Toaster/Toaster.d.ts +93 -93
- package/types/src/components/Toaster/index.d.ts +1 -1
- package/types/src/components/Toolbar/RegistryContext.d.ts +16 -16
- package/types/src/components/Toolbar/ToolbarExpander.d.ts +24 -24
- package/types/src/components/Toolbar/ToolbarItem.d.ts +2 -2
- package/types/src/components/Toolbar/ToolbarMenu.d.ts +7 -7
- package/types/src/components/Tour/Tour.d.ts +27 -27
- package/types/src/components/Tour/index.d.ts +1 -1
- package/types/src/components/VerticalContext/VerticalContext.d.ts +4 -4
- package/types/src/components/VerticalContext/index.d.ts +1 -1
- package/types/src/components/index.d.ts +98 -98
- package/types/src/components/intentIconMap.d.ts +4 -4
- package/types/src/components/utils.d.ts +28 -28
- package/types/src/index.d.ts +5 -5
- package/types/src/utils.d.ts +5 -5
- package/styleguide/build/bundle.aabb094f.js +0 -2
|
@@ -32,10 +32,10 @@ const ARROW_HEIGHT = 26;
|
|
|
32
32
|
const isControlled = props => props.visible !== null;
|
|
33
33
|
|
|
34
34
|
const normalize = value => String(Number(value)) === String(value) ? `${value}px` : value;
|
|
35
|
-
/**
|
|
36
|
-
* `Popover` component is non-modal pop-up window used for providing additional information
|
|
37
|
-
* for an interface element. It also may contain Form with few fields or any other small content.
|
|
38
|
-
* @since 0.0.42
|
|
35
|
+
/**
|
|
36
|
+
* `Popover` component is non-modal pop-up window used for providing additional information
|
|
37
|
+
* for an interface element. It also may contain Form with few fields or any other small content.
|
|
38
|
+
* @since 0.0.42
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
|
|
@@ -322,117 +322,117 @@ class Popover extends Component {
|
|
|
322
322
|
_defineProperty(Popover, "contextType", OnDarkContext);
|
|
323
323
|
|
|
324
324
|
Popover.propTypes = {
|
|
325
|
-
/**
|
|
326
|
-
* The reference element used to position the popover.
|
|
327
|
-
* @since 0.0.65
|
|
325
|
+
/**
|
|
326
|
+
* The reference element used to position the popover.
|
|
327
|
+
* @since 0.0.65
|
|
328
328
|
*/
|
|
329
329
|
target: PropTypes.element.isRequired,
|
|
330
330
|
|
|
331
|
-
/**
|
|
332
|
-
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
333
|
-
* It is required only when visible or defaultVisible props are provided.
|
|
334
|
-
* @since 3.12.0
|
|
331
|
+
/**
|
|
332
|
+
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
333
|
+
* It is required only when visible or defaultVisible props are provided.
|
|
334
|
+
* @since 3.12.0
|
|
335
335
|
*/
|
|
336
336
|
targetRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
337
337
|
current: PropTypes.instanceOf(HTMLElement)
|
|
338
338
|
})]),
|
|
339
339
|
|
|
340
|
-
/**
|
|
341
|
-
* Popover visibility. For controlled component only.
|
|
342
|
-
* @since 0.0.65
|
|
340
|
+
/**
|
|
341
|
+
* Popover visibility. For controlled component only.
|
|
342
|
+
* @since 0.0.65
|
|
343
343
|
*/
|
|
344
344
|
visible: PropTypes.bool,
|
|
345
345
|
|
|
346
|
-
/**
|
|
347
|
-
* Popover default (on init) visibility. For uncontrolled component only.
|
|
348
|
-
* @since 0.0.66
|
|
346
|
+
/**
|
|
347
|
+
* Popover default (on init) visibility. For uncontrolled component only.
|
|
348
|
+
* @since 0.0.66
|
|
349
349
|
*/
|
|
350
350
|
defaultVisible: PropTypes.bool,
|
|
351
351
|
|
|
352
|
-
/**
|
|
353
|
-
* Popover title. Header will only be rendered if this prop is defined.
|
|
354
|
-
* @since 0.0.42
|
|
352
|
+
/**
|
|
353
|
+
* Popover title. Header will only be rendered if this prop is defined.
|
|
354
|
+
* @since 0.0.42
|
|
355
355
|
*/
|
|
356
356
|
title: PropTypes.node,
|
|
357
357
|
|
|
358
|
-
/**
|
|
359
|
-
* Click handler for close button. If it is not defined then default behavior (hide popover) will be used.
|
|
360
|
-
* @since 0.0.42
|
|
358
|
+
/**
|
|
359
|
+
* Click handler for close button. If it is not defined then default behavior (hide popover) will be used.
|
|
360
|
+
* @since 0.0.42
|
|
361
361
|
*/
|
|
362
362
|
onClose: PropTypes.func,
|
|
363
363
|
|
|
364
|
-
/**
|
|
365
|
-
* Popover placement
|
|
366
|
-
* @since 0.0.42
|
|
364
|
+
/**
|
|
365
|
+
* Popover placement
|
|
366
|
+
* @since 0.0.42
|
|
367
367
|
*/
|
|
368
368
|
placement: PropTypes.oneOf(['auto', 'top-left', 'top', 'top-right', 'right-top', 'right', 'right-bottom', 'bottom-right', 'bottom', 'bottom-left', 'left-bottom', 'left', 'left-top']),
|
|
369
369
|
|
|
370
|
-
/**
|
|
371
|
-
* Indicating if clicking outside the popover should close it.
|
|
372
|
-
* @since 0.0.65
|
|
370
|
+
/**
|
|
371
|
+
* Indicating if clicking outside the popover should close it.
|
|
372
|
+
* @since 0.0.65
|
|
373
373
|
*/
|
|
374
374
|
canCloseOnOutsideClick: PropTypes.bool,
|
|
375
375
|
|
|
376
|
-
/**
|
|
377
|
-
* Indicating if pressing the escape key should close the popover.
|
|
378
|
-
* @since 0.0.65
|
|
376
|
+
/**
|
|
377
|
+
* Indicating if pressing the escape key should close the popover.
|
|
378
|
+
* @since 0.0.65
|
|
379
379
|
*/
|
|
380
380
|
canCloseOnEscapePress: PropTypes.bool,
|
|
381
381
|
|
|
382
|
-
/**
|
|
383
|
-
* Content of the Popover
|
|
384
|
-
* @since 0.0.42
|
|
382
|
+
/**
|
|
383
|
+
* Content of the Popover
|
|
384
|
+
* @since 0.0.42
|
|
385
385
|
*/
|
|
386
386
|
children: PropTypes.node,
|
|
387
387
|
|
|
388
|
-
/**
|
|
389
|
-
* Visual intent color to apply to component.
|
|
390
|
-
* @since 0.0.59
|
|
388
|
+
/**
|
|
389
|
+
* Visual intent color to apply to component.
|
|
390
|
+
* @since 0.0.59
|
|
391
391
|
*/
|
|
392
392
|
intent: PropTypes.oneOf(['info', 'success', 'warning', 'danger']),
|
|
393
393
|
|
|
394
|
-
/**
|
|
395
|
-
* Undo predefined max-width.
|
|
396
|
-
* @since 2.4.0
|
|
394
|
+
/**
|
|
395
|
+
* Undo predefined max-width.
|
|
396
|
+
* @since 2.4.0
|
|
397
397
|
*/
|
|
398
398
|
wide: PropTypes.bool,
|
|
399
399
|
|
|
400
|
-
/**
|
|
401
|
-
* Define the popover width.
|
|
402
|
-
* @since 3.2.0
|
|
400
|
+
/**
|
|
401
|
+
* Define the popover width.
|
|
402
|
+
* @since 3.2.0
|
|
403
403
|
*/
|
|
404
404
|
width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
405
405
|
|
|
406
|
-
/**
|
|
407
|
-
* Define the popover height.
|
|
408
|
-
* @since 3.3.0
|
|
406
|
+
/**
|
|
407
|
+
* Define the popover height.
|
|
408
|
+
* @since 3.3.0
|
|
409
409
|
*/
|
|
410
410
|
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
411
411
|
|
|
412
|
-
/**
|
|
413
|
-
* A slot for buttons or links in the header.
|
|
414
|
-
* @since 3.16.0
|
|
412
|
+
/**
|
|
413
|
+
* A slot for buttons or links in the header.
|
|
414
|
+
* @since 3.16.0
|
|
415
415
|
*/
|
|
416
416
|
extra: PropTypes.node,
|
|
417
417
|
|
|
418
|
-
/**
|
|
419
|
-
* @ignore
|
|
418
|
+
/**
|
|
419
|
+
* @ignore
|
|
420
420
|
*/
|
|
421
421
|
className: PropTypes.string,
|
|
422
422
|
|
|
423
|
-
/**
|
|
424
|
-
* @ignore
|
|
423
|
+
/**
|
|
424
|
+
* @ignore
|
|
425
425
|
*/
|
|
426
426
|
baseClassName: PropTypes.string,
|
|
427
427
|
|
|
428
|
-
/**
|
|
429
|
-
* Boundaries element for preventOverflow property.
|
|
430
|
-
* @since 1.12.4
|
|
428
|
+
/**
|
|
429
|
+
* Boundaries element for preventOverflow property.
|
|
430
|
+
* @since 1.12.4
|
|
431
431
|
*/
|
|
432
432
|
boundariesElement: PropTypes.oneOfType([PropTypes.oneOf(['scrollParent', 'window', 'viewport']), PropTypes.instanceOf(HTMLElement)]),
|
|
433
433
|
|
|
434
|
-
/**
|
|
435
|
-
* @ignore
|
|
434
|
+
/**
|
|
435
|
+
* @ignore
|
|
436
436
|
*/
|
|
437
437
|
autoFocus: PropTypes.bool
|
|
438
438
|
};
|
|
@@ -10,8 +10,8 @@ import classNames from 'classnames';
|
|
|
10
10
|
import { CLS_PREFIX } from '../../constants';
|
|
11
11
|
import PopperJs from 'popper.js';
|
|
12
12
|
import Layer from '../Layer';
|
|
13
|
-
/**
|
|
14
|
-
* `Popper` component.
|
|
13
|
+
/**
|
|
14
|
+
* `Popper` component.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
class Popper extends Component {
|
|
@@ -191,75 +191,75 @@ class Popper extends Component {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
Popper.propTypes = {
|
|
194
|
-
/**
|
|
195
|
-
* Whether show popper content.
|
|
194
|
+
/**
|
|
195
|
+
* Whether show popper content.
|
|
196
196
|
*/
|
|
197
197
|
show: PropTypes.bool,
|
|
198
198
|
|
|
199
|
-
/**
|
|
200
|
-
* Content of the `Popper`.
|
|
199
|
+
/**
|
|
200
|
+
* Content of the `Popper`.
|
|
201
201
|
*/
|
|
202
202
|
children: PropTypes.node,
|
|
203
203
|
|
|
204
|
-
/**
|
|
205
|
-
* Target for popper.
|
|
204
|
+
/**
|
|
205
|
+
* Target for popper.
|
|
206
206
|
*/
|
|
207
207
|
target: PropTypes.any.isRequired,
|
|
208
208
|
|
|
209
|
-
/**
|
|
210
|
-
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
209
|
+
/**
|
|
210
|
+
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
211
211
|
*/
|
|
212
212
|
targetRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
213
213
|
current: PropTypes.instanceOf(HTMLElement)
|
|
214
214
|
})]),
|
|
215
215
|
|
|
216
|
-
/**
|
|
217
|
-
* Arrow element of popper
|
|
216
|
+
/**
|
|
217
|
+
* Arrow element of popper
|
|
218
218
|
*/
|
|
219
219
|
arrow: PropTypes.element,
|
|
220
220
|
|
|
221
|
-
/**
|
|
222
|
-
* Placement for popper.
|
|
221
|
+
/**
|
|
222
|
+
* Placement for popper.
|
|
223
223
|
*/
|
|
224
224
|
placement: PropTypes.oneOf(['auto', 'auto-start', 'auto-end', 'auto-top', 'auto-right', 'auto-bottom', 'auto-left', 'top', 'top-start', 'top-end', 'right', 'right-start', 'right-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end']),
|
|
225
225
|
|
|
226
|
-
/**
|
|
227
|
-
* The behavior used to change the popper's placement.
|
|
226
|
+
/**
|
|
227
|
+
* The behavior used to change the popper's placement.
|
|
228
228
|
*/
|
|
229
229
|
behavior: PropTypes.oneOfType([PropTypes.oneOf(['flip', 'clockwise', 'counterclockwise']), PropTypes.arrayOf(PropTypes.string)]),
|
|
230
230
|
|
|
231
|
-
/**
|
|
232
|
-
* Shift your popper on both axis.
|
|
231
|
+
/**
|
|
232
|
+
* Shift your popper on both axis.
|
|
233
233
|
*/
|
|
234
234
|
offset: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
235
235
|
|
|
236
|
-
/**
|
|
237
|
-
* Update callback function
|
|
236
|
+
/**
|
|
237
|
+
* Update callback function
|
|
238
238
|
*/
|
|
239
239
|
onUpdate: PropTypes.func,
|
|
240
240
|
|
|
241
|
-
/**
|
|
242
|
-
* @ignore
|
|
241
|
+
/**
|
|
242
|
+
* @ignore
|
|
243
243
|
*/
|
|
244
244
|
className: PropTypes.string,
|
|
245
245
|
|
|
246
|
-
/**
|
|
247
|
-
* @ignore
|
|
246
|
+
/**
|
|
247
|
+
* @ignore
|
|
248
248
|
*/
|
|
249
249
|
baseClassName: PropTypes.string,
|
|
250
250
|
|
|
251
|
-
/**
|
|
252
|
-
* zIndex value.
|
|
251
|
+
/**
|
|
252
|
+
* zIndex value.
|
|
253
253
|
*/
|
|
254
254
|
zIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
255
255
|
|
|
256
|
-
/**
|
|
257
|
-
* Boundaries element for preventOverflow property.
|
|
256
|
+
/**
|
|
257
|
+
* Boundaries element for preventOverflow property.
|
|
258
258
|
*/
|
|
259
259
|
boundariesElement: PropTypes.oneOfType([PropTypes.oneOf(['scrollParent', 'window', 'viewport']), PropTypes.instanceOf(HTMLElement)]),
|
|
260
260
|
|
|
261
|
-
/**
|
|
262
|
-
* @ignore
|
|
261
|
+
/**
|
|
262
|
+
* @ignore
|
|
263
263
|
*/
|
|
264
264
|
style: PropTypes.object
|
|
265
265
|
};
|
|
@@ -8,9 +8,9 @@ import { CLS_PREFIX } from '../../constants';
|
|
|
8
8
|
import { safeInvoke } from '../utils';
|
|
9
9
|
import { STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_DONE, STATUS_ERROR } from '../ProgressStep';
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* `Progress` is used for showing progress of performing long operations.
|
|
13
|
-
* @since 1.10.0
|
|
11
|
+
/**
|
|
12
|
+
* `Progress` is used for showing progress of performing long operations.
|
|
13
|
+
* @since 1.10.0
|
|
14
14
|
*/
|
|
15
15
|
class Progress extends Component {
|
|
16
16
|
constructor(...args) {
|
|
@@ -100,25 +100,25 @@ class Progress extends Component {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
Progress.propTypes = {
|
|
103
|
-
/**
|
|
104
|
-
* On overall status event handler.
|
|
105
|
-
* @since 1.10.0
|
|
103
|
+
/**
|
|
104
|
+
* On overall status event handler.
|
|
105
|
+
* @since 1.10.0
|
|
106
106
|
*/
|
|
107
107
|
onStatusChange: PropTypes.func,
|
|
108
108
|
|
|
109
|
-
/**
|
|
110
|
-
* Content of the `Progress`.
|
|
111
|
-
* @since 1.10.0
|
|
109
|
+
/**
|
|
110
|
+
* Content of the `Progress`.
|
|
111
|
+
* @since 1.10.0
|
|
112
112
|
*/
|
|
113
113
|
children: PropTypes.node,
|
|
114
114
|
|
|
115
|
-
/**
|
|
116
|
-
* @ignore
|
|
115
|
+
/**
|
|
116
|
+
* @ignore
|
|
117
117
|
*/
|
|
118
118
|
className: PropTypes.string,
|
|
119
119
|
|
|
120
|
-
/**
|
|
121
|
-
* @ignore
|
|
120
|
+
/**
|
|
121
|
+
* @ignore
|
|
122
122
|
*/
|
|
123
123
|
baseClassName: PropTypes.string
|
|
124
124
|
};
|
|
@@ -11,9 +11,9 @@ import { safeInvoke } from '../utils';
|
|
|
11
11
|
import { STATUS_DONE, STATUS_ERROR } from '../ProgressStep';
|
|
12
12
|
import Progress from '../Progress';
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* `ProgressDialog` is a [Dialog](#!/Dialog) combined with of [Progress](#!/Progress) component.
|
|
16
|
-
* @since 1.2.0
|
|
14
|
+
/**
|
|
15
|
+
* `ProgressDialog` is a [Dialog](#!/Dialog) combined with of [Progress](#!/Progress) component.
|
|
16
|
+
* @since 1.2.0
|
|
17
17
|
*/
|
|
18
18
|
class ProgressDialog extends Component {
|
|
19
19
|
constructor(...args) {
|
|
@@ -143,92 +143,92 @@ class ProgressDialog extends Component {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
ProgressDialog.propTypes = {
|
|
146
|
-
/**
|
|
147
|
-
* Toggles visibility.
|
|
148
|
-
* @since 1.2.0
|
|
146
|
+
/**
|
|
147
|
+
* Toggles visibility.
|
|
148
|
+
* @since 1.2.0
|
|
149
149
|
*/
|
|
150
150
|
isOpen: PropTypes.bool,
|
|
151
151
|
|
|
152
|
-
/**
|
|
153
|
-
* Banner. Renders in front of content as wide as dialog.
|
|
154
|
-
* @since 1.2.0
|
|
152
|
+
/**
|
|
153
|
+
* Banner. Renders in front of content as wide as dialog.
|
|
154
|
+
* @since 1.2.0
|
|
155
155
|
*/
|
|
156
156
|
banner: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.element]),
|
|
157
157
|
|
|
158
|
-
/**
|
|
159
|
-
* Image. Renders into content.
|
|
160
|
-
* @since 1.2.0
|
|
158
|
+
/**
|
|
159
|
+
* Image. Renders into content.
|
|
160
|
+
* @since 1.2.0
|
|
161
161
|
*/
|
|
162
162
|
image: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.element]),
|
|
163
163
|
|
|
164
|
-
/**
|
|
165
|
-
* Title
|
|
166
|
-
* @since 1.2.0
|
|
164
|
+
/**
|
|
165
|
+
* Title
|
|
166
|
+
* @since 1.2.0
|
|
167
167
|
*/
|
|
168
168
|
title: PropTypes.node,
|
|
169
169
|
|
|
170
|
-
/**
|
|
171
|
-
* Description of the `ProgressDialog`.
|
|
172
|
-
* @since 1.2.0
|
|
170
|
+
/**
|
|
171
|
+
* Description of the `ProgressDialog`.
|
|
172
|
+
* @since 1.2.0
|
|
173
173
|
*/
|
|
174
174
|
description: PropTypes.node,
|
|
175
175
|
|
|
176
|
-
/**
|
|
177
|
-
* Actions which will be shown in Dialog header.
|
|
178
|
-
* @since 1.2.0
|
|
176
|
+
/**
|
|
177
|
+
* Actions which will be shown in Dialog header.
|
|
178
|
+
* @since 1.2.0
|
|
179
179
|
*/
|
|
180
180
|
actions: PropTypes.node,
|
|
181
181
|
|
|
182
|
-
/**
|
|
183
|
-
* Whether the dialog should be canceled with the cancel button.
|
|
184
|
-
* @since 1.2.0
|
|
182
|
+
/**
|
|
183
|
+
* Whether the dialog should be canceled with the cancel button.
|
|
184
|
+
* @since 1.2.0
|
|
185
185
|
*/
|
|
186
186
|
cancelable: PropTypes.bool,
|
|
187
187
|
|
|
188
|
-
/**
|
|
189
|
-
* The interval of time to auto close dialog when it successful finished.
|
|
190
|
-
* Set `null` for disable auto close.
|
|
191
|
-
* @since 1.2.0
|
|
188
|
+
/**
|
|
189
|
+
* The interval of time to auto close dialog when it successful finished.
|
|
190
|
+
* Set `null` for disable auto close.
|
|
191
|
+
* @since 1.2.0
|
|
192
192
|
*/
|
|
193
193
|
autoCloseTimeout: PropTypes.number,
|
|
194
194
|
|
|
195
|
-
/**
|
|
196
|
-
* On cancel event handler.
|
|
197
|
-
* @since 1.2.0
|
|
195
|
+
/**
|
|
196
|
+
* On cancel event handler.
|
|
197
|
+
* @since 1.2.0
|
|
198
198
|
*/
|
|
199
199
|
onCancel: PropTypes.func,
|
|
200
200
|
|
|
201
|
-
/**
|
|
202
|
-
* On close event handler.
|
|
203
|
-
* @since 1.2.0
|
|
201
|
+
/**
|
|
202
|
+
* On close event handler.
|
|
203
|
+
* @since 1.2.0
|
|
204
204
|
*/
|
|
205
205
|
onClose: PropTypes.func,
|
|
206
206
|
|
|
207
|
-
/**
|
|
208
|
-
* On finish event handler.
|
|
209
|
-
* @since 1.2.0
|
|
207
|
+
/**
|
|
208
|
+
* On finish event handler.
|
|
209
|
+
* @since 1.2.0
|
|
210
210
|
*/
|
|
211
211
|
onFinish: PropTypes.func,
|
|
212
212
|
|
|
213
|
-
/**
|
|
214
|
-
* On fail event handler.
|
|
215
|
-
* @since 1.2.0
|
|
213
|
+
/**
|
|
214
|
+
* On fail event handler.
|
|
215
|
+
* @since 1.2.0
|
|
216
216
|
*/
|
|
217
217
|
onFail: PropTypes.func,
|
|
218
218
|
|
|
219
|
-
/**
|
|
220
|
-
* Content of the `ProgressDialog`.
|
|
221
|
-
* @since 1.2.0
|
|
219
|
+
/**
|
|
220
|
+
* Content of the `ProgressDialog`.
|
|
221
|
+
* @since 1.2.0
|
|
222
222
|
*/
|
|
223
223
|
children: PropTypes.node,
|
|
224
224
|
|
|
225
|
-
/**
|
|
226
|
-
* @ignore
|
|
225
|
+
/**
|
|
226
|
+
* @ignore
|
|
227
227
|
*/
|
|
228
228
|
className: PropTypes.string,
|
|
229
229
|
|
|
230
|
-
/**
|
|
231
|
-
* @ignore
|
|
230
|
+
/**
|
|
231
|
+
* @ignore
|
|
232
232
|
*/
|
|
233
233
|
baseClassName: PropTypes.string
|
|
234
234
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import ProgressStep from '../ProgressStep';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Component `ProgressDialogStep` is deprecated, use `ProgressStep` instead.
|
|
6
|
-
* @since 1.2.0
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Component `ProgressDialogStep` is deprecated, use `ProgressStep` instead.
|
|
6
|
+
* @since 1.2.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
const ProgressDialogStep = props => {
|
|
@@ -14,9 +14,9 @@ export const STATUS_DONE = 'done';
|
|
|
14
14
|
export const STATUS_WARNING = 'warning';
|
|
15
15
|
export const STATUS_ERROR = 'error';
|
|
16
16
|
export const STATUS_CANCELED = 'canceled';
|
|
17
|
-
/**
|
|
18
|
-
* `ProgressStep` is a part of the [Progress](#!/Progress) component.
|
|
19
|
-
* @since 1.10.0
|
|
17
|
+
/**
|
|
18
|
+
* `ProgressStep` is a part of the [Progress](#!/Progress) component.
|
|
19
|
+
* @since 1.10.0
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
const ProgressStep = ({
|
|
@@ -103,49 +103,49 @@ const ProgressStep = ({
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
ProgressStep.propTypes = {
|
|
106
|
-
/**
|
|
107
|
-
* Title of the step
|
|
108
|
-
* @since 1.10.0
|
|
106
|
+
/**
|
|
107
|
+
* Title of the step
|
|
108
|
+
* @since 1.10.0
|
|
109
109
|
*/
|
|
110
110
|
title: PropTypes.node,
|
|
111
111
|
|
|
112
|
-
/**
|
|
113
|
-
* Status for the step
|
|
114
|
-
* @since 1.10.0
|
|
112
|
+
/**
|
|
113
|
+
* Status for the step
|
|
114
|
+
* @since 1.10.0
|
|
115
115
|
*/
|
|
116
116
|
status: PropTypes.oneOf([STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_DONE, STATUS_WARNING, STATUS_ERROR, STATUS_CANCELED]),
|
|
117
117
|
|
|
118
|
-
/**
|
|
119
|
-
* Text description for the status of the step
|
|
120
|
-
* @since 1.10.0
|
|
118
|
+
/**
|
|
119
|
+
* Text description for the status of the step
|
|
120
|
+
* @since 1.10.0
|
|
121
121
|
*/
|
|
122
122
|
statusText: PropTypes.node,
|
|
123
123
|
|
|
124
|
-
/**
|
|
125
|
-
* Progress indication in numbers
|
|
126
|
-
* @since 1.10.0
|
|
124
|
+
/**
|
|
125
|
+
* Progress indication in numbers
|
|
126
|
+
* @since 1.10.0
|
|
127
127
|
*/
|
|
128
128
|
progress: PropTypes.number,
|
|
129
129
|
|
|
130
|
-
/**
|
|
131
|
-
* Content of the `ProgressStep`.
|
|
132
|
-
* @since 1.10.0
|
|
130
|
+
/**
|
|
131
|
+
* Content of the `ProgressStep`.
|
|
132
|
+
* @since 1.10.0
|
|
133
133
|
*/
|
|
134
134
|
children: PropTypes.node,
|
|
135
135
|
|
|
136
|
-
/**
|
|
137
|
-
* Name of icon or [Icon](#!/Icon) component
|
|
138
|
-
* @ignore
|
|
136
|
+
/**
|
|
137
|
+
* Name of icon or [Icon](#!/Icon) component
|
|
138
|
+
* @ignore
|
|
139
139
|
*/
|
|
140
140
|
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.element]),
|
|
141
141
|
|
|
142
|
-
/**
|
|
143
|
-
* @ignore
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
144
|
*/
|
|
145
145
|
className: PropTypes.string,
|
|
146
146
|
|
|
147
|
-
/**
|
|
148
|
-
* @ignore
|
|
147
|
+
/**
|
|
148
|
+
* @ignore
|
|
149
149
|
*/
|
|
150
150
|
baseClassName: PropTypes.string
|
|
151
151
|
};
|
|
@@ -4,9 +4,9 @@ import React from 'react';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { CLS_PREFIX } from '../../constants';
|
|
6
6
|
let radioId = 0;
|
|
7
|
-
/**
|
|
8
|
-
* `Radio` component is used for making a choice among a set of mutually exclusive, related options.
|
|
9
|
-
* @since 3.2.0
|
|
7
|
+
/**
|
|
8
|
+
* `Radio` component is used for making a choice among a set of mutually exclusive, related options.
|
|
9
|
+
* @since 3.2.0
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
const Radio = ({
|
|
@@ -16,9 +16,9 @@ const width = value => {
|
|
|
16
16
|
|
|
17
17
|
return result;
|
|
18
18
|
};
|
|
19
|
-
/**
|
|
20
|
-
* `Rating` component is used for showing and collecting feedback of users' opinion in 0-5 grade scale.
|
|
21
|
-
* @since 0.0.42
|
|
19
|
+
/**
|
|
20
|
+
* `Rating` component is used for showing and collecting feedback of users' opinion in 0-5 grade scale.
|
|
21
|
+
* @since 0.0.42
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
|
|
@@ -43,25 +43,25 @@ const Rating = ({
|
|
|
43
43
|
}));
|
|
44
44
|
|
|
45
45
|
Rating.propTypes = {
|
|
46
|
-
/**
|
|
47
|
-
* Rating value from 0 to 5.
|
|
48
|
-
* @since 0.0.42
|
|
46
|
+
/**
|
|
47
|
+
* Rating value from 0 to 5.
|
|
48
|
+
* @since 0.0.42
|
|
49
49
|
*/
|
|
50
50
|
value: PropTypes.number,
|
|
51
51
|
|
|
52
|
-
/**
|
|
53
|
-
* Small variant.
|
|
54
|
-
* @since 0.0.42
|
|
52
|
+
/**
|
|
53
|
+
* Small variant.
|
|
54
|
+
* @since 0.0.42
|
|
55
55
|
*/
|
|
56
56
|
small: PropTypes.bool,
|
|
57
57
|
|
|
58
|
-
/**
|
|
59
|
-
* @ignore
|
|
58
|
+
/**
|
|
59
|
+
* @ignore
|
|
60
60
|
*/
|
|
61
61
|
className: PropTypes.string,
|
|
62
62
|
|
|
63
|
-
/**
|
|
64
|
-
* @ignore
|
|
63
|
+
/**
|
|
64
|
+
* @ignore
|
|
65
65
|
*/
|
|
66
66
|
baseClassName: PropTypes.string
|
|
67
67
|
};
|
|
@@ -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>
|