@plesk/ui-library 3.27.2 → 3.27.3
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 +74 -65
- 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 +28 -242
- package/cjs/components/FormFieldPassword/PasswordMeter.js +81 -0
- package/cjs/components/FormFieldPassword/estimatePassword.js +203 -0
- package/cjs/components/FormFieldPassword/generatePassword.js +21 -0
- package/cjs/components/FormFieldPassword/index.js +5 -5
- 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 +133 -133
- 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 +49 -48
- 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 +6625 -6638
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +5 -5
- 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 +74 -65
- 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 +26 -235
- package/esm/components/FormFieldPassword/PasswordMeter.js +61 -0
- package/esm/components/FormFieldPassword/estimatePassword.js +187 -0
- package/esm/components/FormFieldPassword/generatePassword.js +14 -0
- package/esm/components/FormFieldPassword/index.js +3 -2
- 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 +133 -133
- 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 +49 -48
- 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 -151
- package/scripts/postinstall.js +9 -9
- package/styleguide/browserconfig.xml +9 -9
- package/styleguide/build/bundle.f38c467d.js +2 -0
- package/styleguide/build/{bundle.1c9c8500.js.LICENSE.txt → bundle.f38c467d.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 -133
- 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/FormFieldPassword/FormFieldPassword.d.ts +91 -0
- package/types/src/components/FormFieldPassword/PasswordMeter.d.ts +9 -0
- package/types/src/components/FormFieldPassword/estimatePassword.d.ts +13 -0
- package/types/src/components/FormFieldPassword/index.d.ts +2 -0
- 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/cjs/components/FormFieldPassword/passwordScore.js +0 -132
- package/esm/components/FormFieldPassword/passwordScore.js +0 -123
- package/styleguide/build/bundle.1c9c8500.js +0 -2
|
@@ -27,10 +27,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
27
27
|
|
|
28
28
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
29
29
|
|
|
30
|
-
/**
|
|
31
|
-
* `Switch` component is used for changing the state of an object or system preferences.
|
|
32
|
-
* It provides immediate results that is why it should not be used in Form.
|
|
33
|
-
* @since 0.0.42
|
|
30
|
+
/**
|
|
31
|
+
* `Switch` component is used for changing the state of an object or system preferences.
|
|
32
|
+
* It provides immediate results that is why it should not be used in Form.
|
|
33
|
+
* @since 0.0.42
|
|
34
34
|
*/
|
|
35
35
|
class Switch extends _react.Component {
|
|
36
36
|
constructor(...args) {
|
|
@@ -91,60 +91,60 @@ class Switch extends _react.Component {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
Switch.propTypes = {
|
|
94
|
-
/**
|
|
95
|
-
* Determine whether the `Switch` is checked.
|
|
96
|
-
* @since 0.0.42
|
|
94
|
+
/**
|
|
95
|
+
* Determine whether the `Switch` is checked.
|
|
96
|
+
* @since 0.0.42
|
|
97
97
|
*/
|
|
98
98
|
checked: _propTypes.default.bool,
|
|
99
99
|
|
|
100
|
-
/**
|
|
101
|
-
* @ignore
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
102
|
*/
|
|
103
103
|
defaultChecked: _propTypes.default.bool,
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* A callback function, can be executed when the checked state is changing.
|
|
107
|
-
* @since 0.0.42
|
|
105
|
+
/**
|
|
106
|
+
* A callback function, can be executed when the checked state is changing.
|
|
107
|
+
* @since 0.0.42
|
|
108
108
|
*/
|
|
109
109
|
onChange: _propTypes.default.func,
|
|
110
110
|
|
|
111
|
-
/**
|
|
112
|
-
* Tooltip for component
|
|
113
|
-
* @since 0.0.42
|
|
111
|
+
/**
|
|
112
|
+
* Tooltip for component
|
|
113
|
+
* @since 0.0.42
|
|
114
114
|
*/
|
|
115
115
|
tooltip: _propTypes.default.any,
|
|
116
116
|
|
|
117
|
-
/**
|
|
118
|
-
* Visual intent color to apply to component.
|
|
119
|
-
* @since 0.3.0
|
|
117
|
+
/**
|
|
118
|
+
* Visual intent color to apply to component.
|
|
119
|
+
* @since 0.3.0
|
|
120
120
|
*/
|
|
121
121
|
intent: _propTypes.default.oneOf(['warning', 'danger']),
|
|
122
122
|
|
|
123
|
-
/**
|
|
124
|
-
* Is `Switch` disabled?
|
|
125
|
-
* @since 0.0.42
|
|
123
|
+
/**
|
|
124
|
+
* Is `Switch` disabled?
|
|
125
|
+
* @since 0.0.42
|
|
126
126
|
*/
|
|
127
127
|
disabled: _propTypes.default.bool,
|
|
128
128
|
|
|
129
|
-
/**
|
|
130
|
-
* Loading indication
|
|
131
|
-
* @since 0.3.0
|
|
129
|
+
/**
|
|
130
|
+
* Loading indication
|
|
131
|
+
* @since 0.3.0
|
|
132
132
|
*/
|
|
133
133
|
loading: _propTypes.default.bool,
|
|
134
134
|
|
|
135
|
-
/**
|
|
136
|
-
* Label of the `Switch`
|
|
137
|
-
* @since 0.0.42
|
|
135
|
+
/**
|
|
136
|
+
* Label of the `Switch`
|
|
137
|
+
* @since 0.0.42
|
|
138
138
|
*/
|
|
139
139
|
children: _propTypes.default.node,
|
|
140
140
|
|
|
141
|
-
/**
|
|
142
|
-
* @ignore
|
|
141
|
+
/**
|
|
142
|
+
* @ignore
|
|
143
143
|
*/
|
|
144
144
|
className: _propTypes.default.string,
|
|
145
145
|
|
|
146
|
-
/**
|
|
147
|
-
* @ignore
|
|
146
|
+
/**
|
|
147
|
+
* @ignore
|
|
148
148
|
*/
|
|
149
149
|
baseClassName: _propTypes.default.string
|
|
150
150
|
};
|
|
@@ -25,9 +25,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
25
25
|
|
|
26
26
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
27
27
|
|
|
28
|
-
/**
|
|
29
|
-
* `SwitchesPanel` component is used for grouping several [SwitchesPanelItems](#!/SwitchesPanelItem) into one set.
|
|
30
|
-
* @since 0.3.0
|
|
28
|
+
/**
|
|
29
|
+
* `SwitchesPanel` component is used for grouping several [SwitchesPanelItems](#!/SwitchesPanelItem) into one set.
|
|
30
|
+
* @since 0.3.0
|
|
31
31
|
*/
|
|
32
32
|
const SwitchesPanel = ({
|
|
33
33
|
baseClassName,
|
|
@@ -43,19 +43,19 @@ const SwitchesPanel = ({
|
|
|
43
43
|
}))));
|
|
44
44
|
|
|
45
45
|
SwitchesPanel.propTypes = {
|
|
46
|
-
/**
|
|
47
|
-
* Content of the `SwitchesPanel`. Recommended to use [SwitchesPanelItem](#!/SwitchesPanelItem) components.
|
|
48
|
-
* @since 0.3.0
|
|
46
|
+
/**
|
|
47
|
+
* Content of the `SwitchesPanel`. Recommended to use [SwitchesPanelItem](#!/SwitchesPanelItem) components.
|
|
48
|
+
* @since 0.3.0
|
|
49
49
|
*/
|
|
50
50
|
children: _propTypes.default.node,
|
|
51
51
|
|
|
52
|
-
/**
|
|
53
|
-
* @ignore
|
|
52
|
+
/**
|
|
53
|
+
* @ignore
|
|
54
54
|
*/
|
|
55
55
|
className: _propTypes.default.string,
|
|
56
56
|
|
|
57
|
-
/**
|
|
58
|
-
* @ignore
|
|
57
|
+
/**
|
|
58
|
+
* @ignore
|
|
59
59
|
*/
|
|
60
60
|
baseClassName: _propTypes.default.string
|
|
61
61
|
};
|
|
@@ -31,10 +31,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
31
31
|
|
|
32
32
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* `SwitchesPanelItem` component is used for combining [Switch](#!/Switch) component with text title and description.
|
|
36
|
-
* Used in [SwitchesPanel](#!/SwitchesPanel).
|
|
37
|
-
* @since 0.3.0
|
|
34
|
+
/**
|
|
35
|
+
* `SwitchesPanelItem` component is used for combining [Switch](#!/Switch) component with text title and description.
|
|
36
|
+
* Used in [SwitchesPanel](#!/SwitchesPanel).
|
|
37
|
+
* @since 0.3.0
|
|
38
38
|
*/
|
|
39
39
|
class SwitchesPanelItem extends _react.Component {
|
|
40
40
|
constructor(...args) {
|
|
@@ -99,62 +99,62 @@ class SwitchesPanelItem extends _react.Component {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
SwitchesPanelItem.propTypes = {
|
|
102
|
-
/**
|
|
103
|
-
* A callback function, can be executed when the checked state is changing.
|
|
104
|
-
* @since 0.3.0
|
|
102
|
+
/**
|
|
103
|
+
* A callback function, can be executed when the checked state is changing.
|
|
104
|
+
* @since 0.3.0
|
|
105
105
|
*/
|
|
106
106
|
onChange: _propTypes.default.func.isRequired,
|
|
107
107
|
|
|
108
|
-
/**
|
|
109
|
-
* @ignore
|
|
108
|
+
/**
|
|
109
|
+
* @ignore
|
|
110
110
|
*/
|
|
111
111
|
defaultChecked: _propTypes.default.bool,
|
|
112
112
|
|
|
113
|
-
/**
|
|
114
|
-
* Visual intent color to apply to component.
|
|
115
|
-
* @since 0.3.0
|
|
113
|
+
/**
|
|
114
|
+
* Visual intent color to apply to component.
|
|
115
|
+
* @since 0.3.0
|
|
116
116
|
*/
|
|
117
117
|
intent: _propTypes.default.oneOf(['warning', 'danger']),
|
|
118
118
|
|
|
119
|
-
/**
|
|
120
|
-
* Title of the `SwitchesPanelItem`. Must be no longer than two lines.
|
|
121
|
-
* @since 0.3.0
|
|
119
|
+
/**
|
|
120
|
+
* Title of the `SwitchesPanelItem`. Must be no longer than two lines.
|
|
121
|
+
* @since 0.3.0
|
|
122
122
|
*/
|
|
123
123
|
title: _propTypes.default.node.isRequired,
|
|
124
124
|
|
|
125
|
-
/**
|
|
126
|
-
* `SwitchesPanelItem` description. Must be no longer than three lines.
|
|
127
|
-
* @since 0.3.0
|
|
125
|
+
/**
|
|
126
|
+
* `SwitchesPanelItem` description. Must be no longer than three lines.
|
|
127
|
+
* @since 0.3.0
|
|
128
128
|
*/
|
|
129
129
|
description: _propTypes.default.node,
|
|
130
130
|
|
|
131
|
-
/**
|
|
132
|
-
* Rich full description of the `SwitchesPanelItem`.
|
|
133
|
-
* Adds control button with question mark that shows `Popover` on click.
|
|
134
|
-
* @since 0.3.0
|
|
131
|
+
/**
|
|
132
|
+
* Rich full description of the `SwitchesPanelItem`.
|
|
133
|
+
* Adds control button with question mark that shows `Popover` on click.
|
|
134
|
+
* @since 0.3.0
|
|
135
135
|
*/
|
|
136
136
|
fullDescription: _propTypes.default.node,
|
|
137
137
|
|
|
138
|
-
/**
|
|
139
|
-
* Props of underlying [Switch](#!/Switch) component.
|
|
140
|
-
* @since 0.5.0
|
|
138
|
+
/**
|
|
139
|
+
* Props of underlying [Switch](#!/Switch) component.
|
|
140
|
+
* @since 0.5.0
|
|
141
141
|
*/
|
|
142
142
|
switchProps: _propTypes.default.object,
|
|
143
143
|
|
|
144
|
-
/**
|
|
145
|
-
* Content of the control actions.
|
|
146
|
-
* Don't place here more than three buttons (with the one from 'fullDescription' property) or one link and one button.
|
|
147
|
-
* @since 0.3.0
|
|
144
|
+
/**
|
|
145
|
+
* Content of the control actions.
|
|
146
|
+
* Don't place here more than three buttons (with the one from 'fullDescription' property) or one link and one button.
|
|
147
|
+
* @since 0.3.0
|
|
148
148
|
*/
|
|
149
149
|
children: _propTypes.default.node,
|
|
150
150
|
|
|
151
|
-
/**
|
|
152
|
-
* @ignore
|
|
151
|
+
/**
|
|
152
|
+
* @ignore
|
|
153
153
|
*/
|
|
154
154
|
className: _propTypes.default.string,
|
|
155
155
|
|
|
156
|
-
/**
|
|
157
|
-
* @ignore
|
|
156
|
+
/**
|
|
157
|
+
* @ignore
|
|
158
158
|
*/
|
|
159
159
|
baseClassName: _propTypes.default.string
|
|
160
160
|
};
|
|
@@ -45,9 +45,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
45
45
|
|
|
46
46
|
/* eslint-disable react/no-deprecated */
|
|
47
47
|
|
|
48
|
-
/**
|
|
49
|
-
* `SearchBar` component is used for providing type-as-you-go search.
|
|
50
|
-
* @since 0.0.58
|
|
48
|
+
/**
|
|
49
|
+
* `SearchBar` component is used for providing type-as-you-go search.
|
|
50
|
+
* @since 0.0.58
|
|
51
51
|
*/
|
|
52
52
|
class SearchBar extends _react.Component {
|
|
53
53
|
constructor(...args) {
|
|
@@ -458,102 +458,102 @@ class SearchBar extends _react.Component {
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
const propTypes = {
|
|
461
|
-
/**
|
|
462
|
-
* @ignore
|
|
461
|
+
/**
|
|
462
|
+
* @ignore
|
|
463
463
|
*/
|
|
464
464
|
className: _propTypes.default.string,
|
|
465
465
|
|
|
466
|
-
/**
|
|
467
|
-
* @ignore
|
|
466
|
+
/**
|
|
467
|
+
* @ignore
|
|
468
468
|
*/
|
|
469
469
|
baseClassName: _propTypes.default.string,
|
|
470
470
|
|
|
471
|
-
/**
|
|
472
|
-
* Maximum width of SearchBar
|
|
473
|
-
* @since 0.1.0
|
|
471
|
+
/**
|
|
472
|
+
* Maximum width of SearchBar
|
|
473
|
+
* @since 0.1.0
|
|
474
474
|
*/
|
|
475
475
|
maxWidth: _propTypes.default.number,
|
|
476
476
|
|
|
477
|
-
/**
|
|
478
|
-
* Minimum width of SearchBar
|
|
479
|
-
* @since 0.1.0
|
|
477
|
+
/**
|
|
478
|
+
* Minimum width of SearchBar
|
|
479
|
+
* @since 0.1.0
|
|
480
480
|
*/
|
|
481
481
|
minWidth: _propTypes.default.number,
|
|
482
482
|
|
|
483
|
-
/**
|
|
484
|
-
* Should disable input and show spinner or not.
|
|
485
|
-
* @since 0.1.0
|
|
483
|
+
/**
|
|
484
|
+
* Should disable input and show spinner or not.
|
|
485
|
+
* @since 0.1.0
|
|
486
486
|
*/
|
|
487
487
|
loading: _propTypes.default.bool,
|
|
488
488
|
|
|
489
|
-
/**
|
|
490
|
-
* Should collapse input or not. Used for control in independence of context.
|
|
491
|
-
* @since 0.1.0
|
|
489
|
+
/**
|
|
490
|
+
* Should collapse input or not. Used for control in independence of context.
|
|
491
|
+
* @since 0.1.0
|
|
492
492
|
*/
|
|
493
493
|
responsive: _propTypes.default.bool,
|
|
494
494
|
|
|
495
|
-
/**
|
|
496
|
-
* Callback for pressing 'Enter' key or 'Search' button.
|
|
497
|
-
*
|
|
498
|
-
* arguments:
|
|
499
|
-
* * value - search value
|
|
500
|
-
* * clearHandler - function that clears input value
|
|
501
|
-
* @since 0.1.0
|
|
495
|
+
/**
|
|
496
|
+
* Callback for pressing 'Enter' key or 'Search' button.
|
|
497
|
+
*
|
|
498
|
+
* arguments:
|
|
499
|
+
* * value - search value
|
|
500
|
+
* * clearHandler - function that clears input value
|
|
501
|
+
* @since 0.1.0
|
|
502
502
|
*/
|
|
503
503
|
onSearch: _propTypes.default.func,
|
|
504
504
|
|
|
505
|
-
/**
|
|
506
|
-
* Callback for pressing any key in input. Used for a live search.
|
|
507
|
-
*
|
|
508
|
-
* arguments:
|
|
509
|
-
* * value - search value
|
|
510
|
-
* * clearHandler - function that clears input value
|
|
511
|
-
* @since 0.1.0
|
|
505
|
+
/**
|
|
506
|
+
* Callback for pressing any key in input. Used for a live search.
|
|
507
|
+
*
|
|
508
|
+
* arguments:
|
|
509
|
+
* * value - search value
|
|
510
|
+
* * clearHandler - function that clears input value
|
|
511
|
+
* @since 0.1.0
|
|
512
512
|
*/
|
|
513
513
|
onTyping: _propTypes.default.func,
|
|
514
514
|
|
|
515
|
-
/**
|
|
516
|
-
* Callback for selecting menu item with mouse click or key pressing.
|
|
517
|
-
*
|
|
518
|
-
* arguments:
|
|
519
|
-
* * value - selected value
|
|
520
|
-
* * clearHandler - function that clears input value
|
|
521
|
-
* @since 0.1.0
|
|
515
|
+
/**
|
|
516
|
+
* Callback for selecting menu item with mouse click or key pressing.
|
|
517
|
+
*
|
|
518
|
+
* arguments:
|
|
519
|
+
* * value - selected value
|
|
520
|
+
* * clearHandler - function that clears input value
|
|
521
|
+
* @since 0.1.0
|
|
522
522
|
*/
|
|
523
523
|
onItemSelect: _propTypes.default.func,
|
|
524
524
|
|
|
525
|
-
/**
|
|
526
|
-
* Should render toggle button or not.
|
|
527
|
-
* @since 2.2.0
|
|
525
|
+
/**
|
|
526
|
+
* Should render toggle button or not.
|
|
527
|
+
* @since 2.2.0
|
|
528
528
|
*/
|
|
529
529
|
collapsable: _propTypes.default.bool,
|
|
530
530
|
|
|
531
|
-
/**
|
|
532
|
-
* Callback for pressing toggle button (in normal mode).
|
|
533
|
-
* @since 2.2.0
|
|
531
|
+
/**
|
|
532
|
+
* Callback for pressing toggle button (in normal mode).
|
|
533
|
+
* @since 2.2.0
|
|
534
534
|
*/
|
|
535
535
|
onCollapse: _propTypes.default.func,
|
|
536
536
|
|
|
537
|
-
/**
|
|
538
|
-
* Callback for pressing toggle button (in collapsed mode).
|
|
539
|
-
* @since 2.2.0
|
|
537
|
+
/**
|
|
538
|
+
* Callback for pressing toggle button (in collapsed mode).
|
|
539
|
+
* @since 2.2.0
|
|
540
540
|
*/
|
|
541
541
|
onExpand: _propTypes.default.func,
|
|
542
542
|
|
|
543
|
-
/**
|
|
544
|
-
* Results to display.
|
|
545
|
-
* Could be specified by array of objects with "value" and "title" properties or by Menu component.
|
|
546
|
-
* If Menu component is used then key property of MenuItem will be treated as value.
|
|
547
|
-
* @since 0.1.0
|
|
543
|
+
/**
|
|
544
|
+
* Results to display.
|
|
545
|
+
* Could be specified by array of objects with "value" and "title" properties or by Menu component.
|
|
546
|
+
* If Menu component is used then key property of MenuItem will be treated as value.
|
|
547
|
+
* @since 0.1.0
|
|
548
548
|
*/
|
|
549
549
|
results: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.shape({
|
|
550
550
|
value: _propTypes.default.string.isRequired,
|
|
551
551
|
title: _propTypes.default.string.isRequired
|
|
552
552
|
})), _propTypes.default.element]),
|
|
553
553
|
|
|
554
|
-
/**
|
|
555
|
-
* Props of underlying input element.
|
|
556
|
-
* @since 0.4.1
|
|
554
|
+
/**
|
|
555
|
+
* Props of underlying input element.
|
|
556
|
+
* @since 0.4.1
|
|
557
557
|
*/
|
|
558
558
|
inputProps: _propTypes.default.object
|
|
559
559
|
};
|
|
@@ -15,58 +15,58 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
15
15
|
|
|
16
16
|
/* eslint-disable react/no-unused-prop-types */
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* `Tab` is an individual element of the [Tabs](#!/Tabs) component.
|
|
20
|
-
*
|
|
21
|
-
* Each `Tab` can display an icon near the tab name for easier identification.
|
|
22
|
-
* It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
|
|
23
|
-
* You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
|
|
24
|
-
* @since 0.0.35
|
|
18
|
+
/**
|
|
19
|
+
* `Tab` is an individual element of the [Tabs](#!/Tabs) component.
|
|
20
|
+
*
|
|
21
|
+
* Each `Tab` can display an icon near the tab name for easier identification.
|
|
22
|
+
* It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
|
|
23
|
+
* You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
|
|
24
|
+
* @since 0.0.35
|
|
25
25
|
*/
|
|
26
26
|
const Tab = ({
|
|
27
27
|
children
|
|
28
28
|
}) => /*#__PURE__*/_react.default.createElement("div", null, children);
|
|
29
29
|
|
|
30
30
|
Tab.propTypes = {
|
|
31
|
-
/**
|
|
32
|
-
* Tab title
|
|
33
|
-
* @since 0.0.35
|
|
31
|
+
/**
|
|
32
|
+
* Tab title
|
|
33
|
+
* @since 0.0.35
|
|
34
34
|
*/
|
|
35
35
|
title: _propTypes.default.node.isRequired,
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* Label in tab title
|
|
39
|
-
* @since 0.0.42
|
|
37
|
+
/**
|
|
38
|
+
* Label in tab title
|
|
39
|
+
* @since 0.0.42
|
|
40
40
|
*/
|
|
41
41
|
label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
|
|
42
42
|
|
|
43
|
-
/**
|
|
44
|
-
* Name of icon or Icon component for tab
|
|
45
|
-
* @since 0.0.42
|
|
43
|
+
/**
|
|
44
|
+
* Name of icon or Icon component for tab
|
|
45
|
+
* @since 0.0.42
|
|
46
46
|
*/
|
|
47
47
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* Activate callback.
|
|
51
|
-
* @since 0.0.43
|
|
49
|
+
/**
|
|
50
|
+
* Activate callback.
|
|
51
|
+
* @since 0.0.43
|
|
52
52
|
*/
|
|
53
53
|
onActivate: _propTypes.default.func,
|
|
54
54
|
|
|
55
|
-
/**
|
|
56
|
-
* Close callback
|
|
57
|
-
* @since 0.0.58
|
|
55
|
+
/**
|
|
56
|
+
* Close callback
|
|
57
|
+
* @since 0.0.58
|
|
58
58
|
*/
|
|
59
59
|
onClose: _propTypes.default.func,
|
|
60
60
|
|
|
61
|
-
/**
|
|
62
|
-
* Component to render as the root element.
|
|
63
|
-
* @since 2.5.1
|
|
61
|
+
/**
|
|
62
|
+
* Component to render as the root element.
|
|
63
|
+
* @since 2.5.1
|
|
64
64
|
*/
|
|
65
65
|
component: _propTypes.default.elementType,
|
|
66
66
|
|
|
67
|
-
/**
|
|
68
|
-
* Tab content
|
|
69
|
-
* @since 0.0.47
|
|
67
|
+
/**
|
|
68
|
+
* Tab content
|
|
69
|
+
* @since 0.0.47
|
|
70
70
|
*/
|
|
71
71
|
children: _propTypes.default.node
|
|
72
72
|
};
|
|
@@ -43,12 +43,12 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
43
43
|
const ADDON_LEFT_PADDING = 5;
|
|
44
44
|
const MIN_ADDON_WIDTH_DEFAULT = 150;
|
|
45
45
|
const COLLAPSED_SEARCH_WIDTH = 60;
|
|
46
|
-
/**
|
|
47
|
-
* `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
|
|
48
|
-
* in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
|
|
49
|
-
* the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
|
|
50
|
-
* group name and a navigation button.
|
|
51
|
-
* @since 0.0.35
|
|
46
|
+
/**
|
|
47
|
+
* `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
|
|
48
|
+
* in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
|
|
49
|
+
* the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
|
|
50
|
+
* group name and a navigation button.
|
|
51
|
+
* @since 0.0.35
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
54
|
class Tabs extends _react.Component {
|
|
@@ -616,57 +616,57 @@ class Tabs extends _react.Component {
|
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
Tabs.propTypes = {
|
|
619
|
-
/**
|
|
620
|
-
* Number of active tab
|
|
621
|
-
* @since 0.0.35
|
|
619
|
+
/**
|
|
620
|
+
* Number of active tab
|
|
621
|
+
* @since 0.0.35
|
|
622
622
|
*/
|
|
623
623
|
active: _propTypes.default.number,
|
|
624
624
|
|
|
625
|
-
/**
|
|
626
|
-
* Addon for search bar, dropdown etc.
|
|
627
|
-
* @since 0.0.58
|
|
625
|
+
/**
|
|
626
|
+
* Addon for search bar, dropdown etc.
|
|
627
|
+
* @since 0.0.58
|
|
628
628
|
*/
|
|
629
629
|
addon: _propTypes.default.element,
|
|
630
630
|
|
|
631
|
-
/**
|
|
632
|
-
* Placeholder for search bar, dropdown etc.
|
|
633
|
-
*
|
|
634
|
-
* @deprecated Do not use! Use `addon` instead!
|
|
635
|
-
* @since 0.0.42
|
|
631
|
+
/**
|
|
632
|
+
* Placeholder for search bar, dropdown etc.
|
|
633
|
+
*
|
|
634
|
+
* @deprecated Do not use! Use `addon` instead!
|
|
635
|
+
* @since 0.0.42
|
|
636
636
|
*/
|
|
637
637
|
placeholder: _propTypes.default.element,
|
|
638
638
|
|
|
639
|
-
/**
|
|
640
|
-
* Minimum add-on width in pixels
|
|
641
|
-
* @since 0.0.58
|
|
639
|
+
/**
|
|
640
|
+
* Minimum add-on width in pixels
|
|
641
|
+
* @since 0.0.58
|
|
642
642
|
*/
|
|
643
643
|
addonMinWidth: _propTypes.default.number,
|
|
644
644
|
|
|
645
|
-
/**
|
|
646
|
-
* Monospaced version of tabs (all visible tabs as wide as widest of them)
|
|
647
|
-
* @since 0.0.58
|
|
645
|
+
/**
|
|
646
|
+
* Monospaced version of tabs (all visible tabs as wide as widest of them)
|
|
647
|
+
* @since 0.0.58
|
|
648
648
|
*/
|
|
649
649
|
monospaced: _propTypes.default.bool,
|
|
650
650
|
|
|
651
|
-
/**
|
|
652
|
-
* [SearchBar](#!/SearchBar) element
|
|
653
|
-
* @since 0.0.58
|
|
651
|
+
/**
|
|
652
|
+
* [SearchBar](#!/SearchBar) element
|
|
653
|
+
* @since 0.0.58
|
|
654
654
|
*/
|
|
655
655
|
search: _propTypes.default.element,
|
|
656
656
|
|
|
657
|
-
/**
|
|
658
|
-
* [Tabs](#!/Tab)
|
|
659
|
-
* @since 0.0.47
|
|
657
|
+
/**
|
|
658
|
+
* [Tabs](#!/Tab)
|
|
659
|
+
* @since 0.0.47
|
|
660
660
|
*/
|
|
661
661
|
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.element), _propTypes.default.element]),
|
|
662
662
|
|
|
663
|
-
/**
|
|
664
|
-
* @ignore
|
|
663
|
+
/**
|
|
664
|
+
* @ignore
|
|
665
665
|
*/
|
|
666
666
|
className: _propTypes.default.string,
|
|
667
667
|
|
|
668
|
-
/**
|
|
669
|
-
* @ignore
|
|
668
|
+
/**
|
|
669
|
+
* @ignore
|
|
670
670
|
*/
|
|
671
671
|
baseClassName: _propTypes.default.string
|
|
672
672
|
};
|
|
@@ -23,9 +23,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
23
23
|
|
|
24
24
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* `Text` component is used for displaying inline text. For text blocks use [Paragraph](#!/Paragraph).
|
|
28
|
-
* @since 1.1.0
|
|
26
|
+
/**
|
|
27
|
+
* `Text` component is used for displaying inline text. For text blocks use [Paragraph](#!/Paragraph).
|
|
28
|
+
* @since 1.1.0
|
|
29
29
|
*/
|
|
30
30
|
const Text = ({
|
|
31
31
|
baseClassName = `${_constants.CLS_PREFIX}text`,
|
|
@@ -40,9 +40,9 @@ const getMinMax = rows => {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
const AVAILABLE_SIZES = ['sm', 'md', 'lg', 'xl', 'fill'];
|
|
43
|
-
/**
|
|
44
|
-
* `TextArea` is used for entering long text (like email body, descriptions, comments).
|
|
45
|
-
* @since 1.9.0
|
|
43
|
+
/**
|
|
44
|
+
* `TextArea` is used for entering long text (like email body, descriptions, comments).
|
|
45
|
+
* @since 1.9.0
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
48
|
class TextArea extends _react.Component {
|