@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
|
@@ -168,10 +168,10 @@ const getHumanTotalRows = ({
|
|
|
168
168
|
return null;
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
-
/**
|
|
172
|
-
* `List` component is used for displaying a collection of tabular data.
|
|
173
|
-
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
174
|
-
* @since 0.0.42
|
|
171
|
+
/**
|
|
172
|
+
* `List` component is used for displaying a collection of tabular data.
|
|
173
|
+
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
174
|
+
* @since 0.0.42
|
|
175
175
|
*/
|
|
176
176
|
|
|
177
177
|
|
|
@@ -1352,214 +1352,214 @@ class List extends _react.Component {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
1354
|
List.propTypes = {
|
|
1355
|
-
/**
|
|
1356
|
-
* Columns definition.
|
|
1357
|
-
*
|
|
1358
|
-
* In addition to the properties described below, you can use any native properties
|
|
1359
|
-
* supported by the `TH` element like `className`, `style`, etc.
|
|
1360
|
-
* @since 0.0.42
|
|
1355
|
+
/**
|
|
1356
|
+
* Columns definition.
|
|
1357
|
+
*
|
|
1358
|
+
* In addition to the properties described below, you can use any native properties
|
|
1359
|
+
* supported by the `TH` element like `className`, `style`, etc.
|
|
1360
|
+
* @since 0.0.42
|
|
1361
1361
|
*/
|
|
1362
1362
|
columns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
1363
|
-
/**
|
|
1364
|
-
* Unique column key.
|
|
1363
|
+
/**
|
|
1364
|
+
* Unique column key.
|
|
1365
1365
|
*/
|
|
1366
1366
|
key: _propTypes.default.string.isRequired,
|
|
1367
1367
|
|
|
1368
|
-
/**
|
|
1369
|
-
* Column title.
|
|
1368
|
+
/**
|
|
1369
|
+
* Column title.
|
|
1370
1370
|
*/
|
|
1371
1371
|
title: _propTypes.default.node,
|
|
1372
1372
|
|
|
1373
|
-
/**
|
|
1374
|
-
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
1375
|
-
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
1373
|
+
/**
|
|
1374
|
+
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
1375
|
+
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
1376
1376
|
*/
|
|
1377
1377
|
render: _propTypes.default.func,
|
|
1378
1378
|
|
|
1379
|
-
/**
|
|
1380
|
-
* Is column sortable.
|
|
1381
|
-
* Default is `false`
|
|
1379
|
+
/**
|
|
1380
|
+
* Is column sortable.
|
|
1381
|
+
* Default is `false`
|
|
1382
1382
|
*/
|
|
1383
1383
|
sortable: _propTypes.default.bool,
|
|
1384
1384
|
|
|
1385
|
-
/**
|
|
1386
|
-
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
1385
|
+
/**
|
|
1386
|
+
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
1387
1387
|
*/
|
|
1388
1388
|
sort: _propTypes.default.func,
|
|
1389
1389
|
|
|
1390
|
-
/**
|
|
1391
|
-
* Column alignment.
|
|
1390
|
+
/**
|
|
1391
|
+
* Column alignment.
|
|
1392
1392
|
*/
|
|
1393
1393
|
align: _propTypes.default.oneOf(['left', 'center', 'right']),
|
|
1394
1394
|
|
|
1395
|
-
/**
|
|
1396
|
-
* Truncate the text in cell with an ellipsis.
|
|
1395
|
+
/**
|
|
1396
|
+
* Truncate the text in cell with an ellipsis.
|
|
1397
1397
|
*/
|
|
1398
1398
|
truncate: _propTypes.default.bool,
|
|
1399
1399
|
|
|
1400
|
-
/**
|
|
1401
|
-
* Determine type of column content.
|
|
1402
|
-
*
|
|
1403
|
-
* * title - There should a title of the row.
|
|
1404
|
-
* * controls - There should be some control: a button or a dropdown.
|
|
1405
|
-
* * actions - There should be the ListAction component.
|
|
1400
|
+
/**
|
|
1401
|
+
* Determine type of column content.
|
|
1402
|
+
*
|
|
1403
|
+
* * title - There should a title of the row.
|
|
1404
|
+
* * controls - There should be some control: a button or a dropdown.
|
|
1405
|
+
* * actions - There should be the ListAction component.
|
|
1406
1406
|
*/
|
|
1407
1407
|
type: _propTypes.default.oneOf(['title', 'controls', 'actions'])
|
|
1408
1408
|
})).isRequired,
|
|
1409
1409
|
|
|
1410
|
-
/**
|
|
1411
|
-
* Array of row objects.
|
|
1412
|
-
*
|
|
1413
|
-
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
1414
|
-
* @since 0.0.42
|
|
1410
|
+
/**
|
|
1411
|
+
* Array of row objects.
|
|
1412
|
+
*
|
|
1413
|
+
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
1414
|
+
* @since 0.0.42
|
|
1415
1415
|
*/
|
|
1416
1416
|
data: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
1417
|
-
/**
|
|
1418
|
-
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
1417
|
+
/**
|
|
1418
|
+
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
1419
1419
|
*/
|
|
1420
1420
|
key: _propTypes.default.string,
|
|
1421
1421
|
|
|
1422
|
-
/**
|
|
1423
|
-
* Optional property for disabling ability to select this row.
|
|
1422
|
+
/**
|
|
1423
|
+
* Optional property for disabling ability to select this row.
|
|
1424
1424
|
*/
|
|
1425
1425
|
disabled: _propTypes.default.bool,
|
|
1426
1426
|
|
|
1427
|
-
/**
|
|
1428
|
-
* Optional array of children rows.
|
|
1427
|
+
/**
|
|
1428
|
+
* Optional array of children rows.
|
|
1429
1429
|
*/
|
|
1430
1430
|
data: _propTypes.default.array
|
|
1431
1431
|
})),
|
|
1432
1432
|
|
|
1433
|
-
/**
|
|
1434
|
-
* Current sort column key
|
|
1435
|
-
* @since 0.0.42
|
|
1433
|
+
/**
|
|
1434
|
+
* Current sort column key
|
|
1435
|
+
* @since 0.0.42
|
|
1436
1436
|
*/
|
|
1437
1437
|
sortColumn: _propTypes.default.string,
|
|
1438
1438
|
|
|
1439
|
-
/**
|
|
1440
|
-
* Sort direction of the column being sorted.
|
|
1441
|
-
* @since 0.0.42
|
|
1439
|
+
/**
|
|
1440
|
+
* Sort direction of the column being sorted.
|
|
1441
|
+
* @since 0.0.42
|
|
1442
1442
|
*/
|
|
1443
1443
|
sortDirection: _propTypes.default.oneOf(['ASC', 'DESC']),
|
|
1444
1444
|
|
|
1445
|
-
/**
|
|
1446
|
-
* Sort change handler
|
|
1447
|
-
* @since 0.0.42
|
|
1445
|
+
/**
|
|
1446
|
+
* Sort change handler
|
|
1447
|
+
* @since 0.0.42
|
|
1448
1448
|
*/
|
|
1449
1449
|
onSortChange: _propTypes.default.func,
|
|
1450
1450
|
|
|
1451
|
-
/**
|
|
1452
|
-
* Array of keys of selected rows
|
|
1453
|
-
* @since 0.0.42
|
|
1451
|
+
/**
|
|
1452
|
+
* Array of keys of selected rows
|
|
1453
|
+
* @since 0.0.42
|
|
1454
1454
|
*/
|
|
1455
1455
|
selection: _propTypes.default.array,
|
|
1456
1456
|
|
|
1457
|
-
/**
|
|
1458
|
-
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
1459
|
-
* @since 0.0.42
|
|
1457
|
+
/**
|
|
1458
|
+
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
1459
|
+
* @since 0.0.42
|
|
1460
1460
|
*/
|
|
1461
1461
|
onSelectionChange: _propTypes.default.func,
|
|
1462
1462
|
|
|
1463
|
-
/**
|
|
1464
|
-
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
1465
|
-
* @since 3.19.0
|
|
1463
|
+
/**
|
|
1464
|
+
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
1465
|
+
* @since 3.19.0
|
|
1466
1466
|
*/
|
|
1467
1467
|
renderSelectionCheckbox: _propTypes.default.func,
|
|
1468
1468
|
|
|
1469
|
-
/**
|
|
1470
|
-
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
1471
|
-
* @since 0.0.45
|
|
1469
|
+
/**
|
|
1470
|
+
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
1471
|
+
* @since 0.0.45
|
|
1472
1472
|
*/
|
|
1473
1473
|
rowKey: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
|
|
1474
1474
|
|
|
1475
|
-
/**
|
|
1476
|
-
* Renderer for a row body. Should return ReactNode.
|
|
1477
|
-
* @since 1.12.0
|
|
1475
|
+
/**
|
|
1476
|
+
* Renderer for a row body. Should return ReactNode.
|
|
1477
|
+
* @since 1.12.0
|
|
1478
1478
|
*/
|
|
1479
1479
|
renderRowBody: _propTypes.default.func,
|
|
1480
1480
|
|
|
1481
|
-
/**
|
|
1482
|
-
* Array of keys of expanded rows
|
|
1483
|
-
* @since 1.12.0
|
|
1481
|
+
/**
|
|
1482
|
+
* Array of keys of expanded rows
|
|
1483
|
+
* @since 1.12.0
|
|
1484
1484
|
*/
|
|
1485
1485
|
expandedRows: _propTypes.default.array,
|
|
1486
1486
|
|
|
1487
|
-
/**
|
|
1488
|
-
* Array of keys of rows which not have expand indicator
|
|
1489
|
-
* @since 1.12.0
|
|
1487
|
+
/**
|
|
1488
|
+
* Array of keys of rows which not have expand indicator
|
|
1489
|
+
* @since 1.12.0
|
|
1490
1490
|
*/
|
|
1491
1491
|
notExpandableRows: _propTypes.default.array,
|
|
1492
1492
|
|
|
1493
|
-
/**
|
|
1494
|
-
* Rows expanding change handler.
|
|
1495
|
-
* @since 1.12.0
|
|
1493
|
+
/**
|
|
1494
|
+
* Rows expanding change handler.
|
|
1495
|
+
* @since 1.12.0
|
|
1496
1496
|
*/
|
|
1497
1497
|
onExpandedRowsChange: _propTypes.default.func,
|
|
1498
1498
|
|
|
1499
|
-
/**
|
|
1500
|
-
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
1501
|
-
* @since 2.5.0
|
|
1499
|
+
/**
|
|
1500
|
+
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
1501
|
+
* @since 2.5.0
|
|
1502
1502
|
*/
|
|
1503
1503
|
loadingRows: _propTypes.default.array,
|
|
1504
1504
|
|
|
1505
|
-
/**
|
|
1506
|
-
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
1507
|
-
* @since 2.4.0
|
|
1505
|
+
/**
|
|
1506
|
+
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
1507
|
+
* @since 2.4.0
|
|
1508
1508
|
*/
|
|
1509
1509
|
pagination: _propTypes.default.node,
|
|
1510
1510
|
|
|
1511
|
-
/**
|
|
1512
|
-
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
1513
|
-
* @since 2.4.0
|
|
1511
|
+
/**
|
|
1512
|
+
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
1513
|
+
* @since 2.4.0
|
|
1514
1514
|
*/
|
|
1515
1515
|
totalRows: _propTypes.default.number,
|
|
1516
1516
|
|
|
1517
|
-
/**
|
|
1518
|
-
* A `Toolbar` element.
|
|
1519
|
-
* @since 2.4.0
|
|
1517
|
+
/**
|
|
1518
|
+
* A `Toolbar` element.
|
|
1519
|
+
* @since 2.4.0
|
|
1520
1520
|
*/
|
|
1521
1521
|
toolbar: _propTypes.default.node,
|
|
1522
1522
|
|
|
1523
|
-
/**
|
|
1524
|
-
* A flag that all rows are selected.
|
|
1525
|
-
* @since 2.4.0
|
|
1523
|
+
/**
|
|
1524
|
+
* A flag that all rows are selected.
|
|
1525
|
+
* @since 2.4.0
|
|
1526
1526
|
*/
|
|
1527
1527
|
allRowsSelected: _propTypes.default.bool,
|
|
1528
1528
|
|
|
1529
|
-
/**
|
|
1530
|
-
* A callback executed when the allRowsSelected prop is changed.
|
|
1531
|
-
* @since 2.4.0
|
|
1529
|
+
/**
|
|
1530
|
+
* A callback executed when the allRowsSelected prop is changed.
|
|
1531
|
+
* @since 2.4.0
|
|
1532
1532
|
*/
|
|
1533
1533
|
onAllRowsSelectedChange: _propTypes.default.func,
|
|
1534
1534
|
|
|
1535
|
-
/**
|
|
1536
|
-
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
1537
|
-
* @since 3.0.1
|
|
1535
|
+
/**
|
|
1536
|
+
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
1537
|
+
* @since 3.0.1
|
|
1538
1538
|
*/
|
|
1539
1539
|
filtered: _propTypes.default.bool,
|
|
1540
1540
|
|
|
1541
|
-
/**
|
|
1542
|
-
* A custom view for the case when data is absent.
|
|
1543
|
-
* @since 2.5.0
|
|
1541
|
+
/**
|
|
1542
|
+
* A custom view for the case when data is absent.
|
|
1543
|
+
* @since 2.5.0
|
|
1544
1544
|
*/
|
|
1545
1545
|
emptyView: _propTypes.default.node,
|
|
1546
1546
|
|
|
1547
|
-
/**
|
|
1548
|
-
* Which part of the List component should be replaced by the empty view.
|
|
1549
|
-
* @since 2.6.0
|
|
1550
|
-
* @deprecated Use `filtered` instead.
|
|
1547
|
+
/**
|
|
1548
|
+
* Which part of the List component should be replaced by the empty view.
|
|
1549
|
+
* @since 2.6.0
|
|
1550
|
+
* @deprecated Use `filtered` instead.
|
|
1551
1551
|
*/
|
|
1552
1552
|
emptyViewMode: _propTypes.default.oneOf(['all', 'items']),
|
|
1553
1553
|
|
|
1554
|
-
/**
|
|
1555
|
-
* A slot on the right of the items.
|
|
1556
|
-
* @since 2.6.0
|
|
1554
|
+
/**
|
|
1555
|
+
* A slot on the right of the items.
|
|
1556
|
+
* @since 2.6.0
|
|
1557
1557
|
*/
|
|
1558
1558
|
sidebar: _propTypes.default.node,
|
|
1559
1559
|
|
|
1560
|
-
/**
|
|
1561
|
-
* Custom localization messages.
|
|
1562
|
-
* @since 2.6.0
|
|
1560
|
+
/**
|
|
1561
|
+
* Custom localization messages.
|
|
1562
|
+
* @since 2.6.0
|
|
1563
1563
|
*/
|
|
1564
1564
|
locale: _propTypes.default.shape({
|
|
1565
1565
|
selectAll: _propTypes.default.node,
|
|
@@ -1569,49 +1569,49 @@ List.propTypes = {
|
|
|
1569
1569
|
selectedRows: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])
|
|
1570
1570
|
}),
|
|
1571
1571
|
|
|
1572
|
-
/**
|
|
1573
|
-
* Render List row's content vertically.
|
|
1574
|
-
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
1575
|
-
* @since 3.3.0
|
|
1572
|
+
/**
|
|
1573
|
+
* Render List row's content vertically.
|
|
1574
|
+
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
1575
|
+
* @since 3.3.0
|
|
1576
1576
|
*/
|
|
1577
1577
|
vertical: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.number]),
|
|
1578
1578
|
|
|
1579
|
-
/**
|
|
1580
|
-
* Indicate the loading state of the list.
|
|
1581
|
-
* @since 3.3.1
|
|
1579
|
+
/**
|
|
1580
|
+
* Indicate the loading state of the list.
|
|
1581
|
+
* @since 3.3.1
|
|
1582
1582
|
*/
|
|
1583
1583
|
loading: _propTypes.default.bool,
|
|
1584
1584
|
|
|
1585
|
-
/**
|
|
1586
|
-
* Apply some props to each row.
|
|
1587
|
-
*
|
|
1588
|
-
* `virtual` - Virtual row does not have any controls.
|
|
1589
|
-
*
|
|
1590
|
-
* @since 3.11.0
|
|
1585
|
+
/**
|
|
1586
|
+
* Apply some props to each row.
|
|
1587
|
+
*
|
|
1588
|
+
* `virtual` - Virtual row does not have any controls.
|
|
1589
|
+
*
|
|
1590
|
+
* @since 3.11.0
|
|
1591
1591
|
*/
|
|
1592
1592
|
rowProps: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1593
1593
|
virtual: _propTypes.default.bool
|
|
1594
1594
|
}), _propTypes.default.func]),
|
|
1595
1595
|
|
|
1596
|
-
/**
|
|
1597
|
-
* Enable reorderable view.
|
|
1598
|
-
* @since 3.18.0
|
|
1596
|
+
/**
|
|
1597
|
+
* Enable reorderable view.
|
|
1598
|
+
* @since 3.18.0
|
|
1599
1599
|
*/
|
|
1600
1600
|
reorderable: _propTypes.default.bool,
|
|
1601
1601
|
|
|
1602
|
-
/**
|
|
1603
|
-
* Reorder end handler.
|
|
1604
|
-
* @since 3.18.0
|
|
1602
|
+
/**
|
|
1603
|
+
* Reorder end handler.
|
|
1604
|
+
* @since 3.18.0
|
|
1605
1605
|
*/
|
|
1606
1606
|
onReorderEnd: _propTypes.default.func,
|
|
1607
1607
|
|
|
1608
|
-
/**
|
|
1609
|
-
* @ignore
|
|
1608
|
+
/**
|
|
1609
|
+
* @ignore
|
|
1610
1610
|
*/
|
|
1611
1611
|
className: _propTypes.default.string,
|
|
1612
1612
|
|
|
1613
|
-
/**
|
|
1614
|
-
* @ignore
|
|
1613
|
+
/**
|
|
1614
|
+
* @ignore
|
|
1615
1615
|
*/
|
|
1616
1616
|
baseClassName: _propTypes.default.string
|
|
1617
1617
|
};
|
|
@@ -17,10 +17,10 @@ var _Menu = require("../Menu");
|
|
|
17
17
|
|
|
18
18
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
19
19
|
|
|
20
|
-
/**
|
|
21
|
-
* `ListAction` component is a part of [ListActions](#!/ListActions) component.
|
|
22
|
-
* It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
|
|
23
|
-
* @since 3.3.0
|
|
20
|
+
/**
|
|
21
|
+
* `ListAction` component is a part of [ListActions](#!/ListActions) component.
|
|
22
|
+
* It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
|
|
23
|
+
* @since 3.3.0
|
|
24
24
|
*/
|
|
25
25
|
const ListAction = ({
|
|
26
26
|
primary,
|
|
@@ -31,9 +31,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
31
31
|
|
|
32
32
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* `ListActions` component is used for performing operations on individual objects in [List](#!/List).
|
|
36
|
-
* @since 3.3.0
|
|
34
|
+
/**
|
|
35
|
+
* `ListActions` component is used for performing operations on individual objects in [List](#!/List).
|
|
36
|
+
* @since 3.3.0
|
|
37
37
|
*/
|
|
38
38
|
const ListActions = ({
|
|
39
39
|
baseClassName = `${_constants.CLS_PREFIX}list-actions`,
|
|
@@ -13,10 +13,10 @@ var _Menu = require("../Menu");
|
|
|
13
13
|
|
|
14
14
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* `ListActionsDivider` component is a part of [ListActions](#!/ListActions) component.
|
|
18
|
-
* It accepts the props of [MenuDivider](#!/MenuDivider) component.
|
|
19
|
-
* @since 3.10.0
|
|
16
|
+
/**
|
|
17
|
+
* `ListActionsDivider` component is a part of [ListActions](#!/ListActions) component.
|
|
18
|
+
* It accepts the props of [MenuDivider](#!/MenuDivider) component.
|
|
19
|
+
* @since 3.10.0
|
|
20
20
|
*/
|
|
21
21
|
const ListActionsDivider = props => /*#__PURE__*/_react.default.createElement(_Menu.MenuDivider, props);
|
|
22
22
|
|
|
@@ -77,10 +77,10 @@ const createDescription = (baseClassName, description, reason) => {
|
|
|
77
77
|
className: `${baseClassName}__description`
|
|
78
78
|
}, description);
|
|
79
79
|
};
|
|
80
|
-
/**
|
|
81
|
-
* `ListEmptyView` component is used for displaying "empty" state of [List](#!/List)
|
|
82
|
-
* when there are no any objects are added to the list.
|
|
83
|
-
* @since 2.5.0
|
|
80
|
+
/**
|
|
81
|
+
* `ListEmptyView` component is used for displaying "empty" state of [List](#!/List)
|
|
82
|
+
* when there are no any objects are added to the list.
|
|
83
|
+
* @since 2.5.0
|
|
84
84
|
*/
|
|
85
85
|
|
|
86
86
|
|
|
@@ -54,10 +54,10 @@ const getDefaultText = key => {
|
|
|
54
54
|
fallback: fallback
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
|
-
/**
|
|
58
|
-
* `ListOperation` component is used in [Toolbar](#!/Toolbar) for performing
|
|
59
|
-
* operations on multiple objects in [List](#!/List).
|
|
60
|
-
* @since 2.4.0
|
|
57
|
+
/**
|
|
58
|
+
* `ListOperation` component is used in [Toolbar](#!/Toolbar) for performing
|
|
59
|
+
* operations on multiple objects in [List](#!/List).
|
|
60
|
+
* @since 2.4.0
|
|
61
61
|
*/
|
|
62
62
|
|
|
63
63
|
|
|
@@ -101,9 +101,9 @@ const useTranslate = namespace => {
|
|
|
101
101
|
|
|
102
102
|
exports.useTranslate = useTranslate;
|
|
103
103
|
|
|
104
|
-
/**
|
|
105
|
-
* LocaleProvider provides a uniform localization support for built-in text of components.
|
|
106
|
-
* @since 0.0.42
|
|
104
|
+
/**
|
|
105
|
+
* LocaleProvider provides a uniform localization support for built-in text of components.
|
|
106
|
+
* @since 0.0.42
|
|
107
107
|
*/
|
|
108
108
|
class LocaleProvider extends _react.PureComponent {
|
|
109
109
|
getChildContext() {
|
|
@@ -23,9 +23,9 @@ var _constants = require("../../constants");
|
|
|
23
23
|
|
|
24
24
|
/* eslint-disable react/no-danger */
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* `Markdown` component is used for creating content with rich text formatting.
|
|
28
|
-
* @since 0.0.42
|
|
26
|
+
/**
|
|
27
|
+
* `Markdown` component is used for creating content with rich text formatting.
|
|
28
|
+
* @since 0.0.42
|
|
29
29
|
*/
|
|
30
30
|
const Markdown = ({
|
|
31
31
|
baseClassName,
|
|
@@ -45,25 +45,25 @@ const Markdown = ({
|
|
|
45
45
|
}, props));
|
|
46
46
|
|
|
47
47
|
Markdown.propTypes = {
|
|
48
|
-
/**
|
|
49
|
-
* Content of the Markdown
|
|
50
|
-
* @since 0.0.42
|
|
48
|
+
/**
|
|
49
|
+
* Content of the Markdown
|
|
50
|
+
* @since 0.0.42
|
|
51
51
|
*/
|
|
52
52
|
children: _propTypes.default.string.isRequired,
|
|
53
53
|
|
|
54
|
-
/**
|
|
55
|
-
* Compact mode
|
|
56
|
-
* @since 0.0.42
|
|
54
|
+
/**
|
|
55
|
+
* Compact mode
|
|
56
|
+
* @since 0.0.42
|
|
57
57
|
*/
|
|
58
58
|
compact: _propTypes.default.bool,
|
|
59
59
|
|
|
60
|
-
/**
|
|
61
|
-
* @ignore
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
62
|
*/
|
|
63
63
|
className: _propTypes.default.string,
|
|
64
64
|
|
|
65
|
-
/**
|
|
66
|
-
* @ignore
|
|
65
|
+
/**
|
|
66
|
+
* @ignore
|
|
67
67
|
*/
|
|
68
68
|
baseClassName: _propTypes.default.string
|
|
69
69
|
};
|
|
@@ -27,11 +27,11 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
27
27
|
|
|
28
28
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
29
29
|
|
|
30
|
-
/**
|
|
31
|
-
* `Media` component is a combination of icon, text title and content.
|
|
32
|
-
* This layout was so widely spread in our products so we have decided to create a special component for it.
|
|
33
|
-
* Probably we should have named the component differently (not Media), but we didn't have better idea then ;)
|
|
34
|
-
* @since 0.0.45
|
|
30
|
+
/**
|
|
31
|
+
* `Media` component is a combination of icon, text title and content.
|
|
32
|
+
* This layout was so widely spread in our products so we have decided to create a special component for it.
|
|
33
|
+
* Probably we should have named the component differently (not Media), but we didn't have better idea then ;)
|
|
34
|
+
* @since 0.0.45
|
|
35
35
|
*/
|
|
36
36
|
const Media = ({
|
|
37
37
|
baseClassName,
|
|
@@ -107,68 +107,68 @@ const Media = ({
|
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
Media.propTypes = {
|
|
110
|
-
/**
|
|
111
|
-
* Title
|
|
112
|
-
* @since 0.0.45
|
|
110
|
+
/**
|
|
111
|
+
* Title
|
|
112
|
+
* @since 0.0.45
|
|
113
113
|
*/
|
|
114
114
|
title: _propTypes.default.node,
|
|
115
115
|
|
|
116
|
-
/**
|
|
117
|
-
* Title addon
|
|
118
|
-
* @since 0.0.68
|
|
116
|
+
/**
|
|
117
|
+
* Title addon
|
|
118
|
+
* @since 0.0.68
|
|
119
119
|
*/
|
|
120
120
|
titleAddon: _propTypes.default.node,
|
|
121
121
|
|
|
122
|
-
/**
|
|
123
|
-
* Title size
|
|
124
|
-
* @deprecated Pass a component as a title prop
|
|
125
|
-
* @since 0.0.68
|
|
122
|
+
/**
|
|
123
|
+
* Title size
|
|
124
|
+
* @deprecated Pass a component as a title prop
|
|
125
|
+
* @since 0.0.68
|
|
126
126
|
*/
|
|
127
127
|
titleSize: _propTypes.default.oneOf(['md', 'lg', 'xl']),
|
|
128
128
|
|
|
129
|
-
/**
|
|
130
|
-
* Image
|
|
131
|
-
* @since 0.0.45
|
|
129
|
+
/**
|
|
130
|
+
* Image
|
|
131
|
+
* @since 0.0.45
|
|
132
132
|
*/
|
|
133
133
|
image: _propTypes.default.any,
|
|
134
134
|
|
|
135
|
-
/**
|
|
136
|
-
* Spacings between image and content
|
|
137
|
-
* @since 0.3.0
|
|
135
|
+
/**
|
|
136
|
+
* Spacings between image and content
|
|
137
|
+
* @since 0.3.0
|
|
138
138
|
*/
|
|
139
139
|
imageSpacing: _propTypes.default.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
140
140
|
|
|
141
|
-
/**
|
|
142
|
-
* Media object and content alignment
|
|
143
|
-
* @since 3.19.0
|
|
141
|
+
/**
|
|
142
|
+
* Media object and content alignment
|
|
143
|
+
* @since 3.19.0
|
|
144
144
|
*/
|
|
145
145
|
align: _propTypes.default.oneOf(['start', 'center', 'end']),
|
|
146
146
|
|
|
147
|
-
/**
|
|
148
|
-
* Media object (image) alignment
|
|
149
|
-
* @since 3.19.0
|
|
147
|
+
/**
|
|
148
|
+
* Media object (image) alignment
|
|
149
|
+
* @since 3.19.0
|
|
150
150
|
*/
|
|
151
151
|
imageAlign: _propTypes.default.oneOf(['start', 'center', 'end']),
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* Media vertical direction
|
|
155
|
-
* @since 3.19.0
|
|
153
|
+
/**
|
|
154
|
+
* Media vertical direction
|
|
155
|
+
* @since 3.19.0
|
|
156
156
|
*/
|
|
157
157
|
vertical: _propTypes.default.bool,
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* Content of the `Media`.
|
|
161
|
-
* @since 0.0.45
|
|
159
|
+
/**
|
|
160
|
+
* Content of the `Media`.
|
|
161
|
+
* @since 0.0.45
|
|
162
162
|
*/
|
|
163
163
|
children: _propTypes.default.node,
|
|
164
164
|
|
|
165
|
-
/**
|
|
166
|
-
* @ignore
|
|
165
|
+
/**
|
|
166
|
+
* @ignore
|
|
167
167
|
*/
|
|
168
168
|
className: _propTypes.default.string,
|
|
169
169
|
|
|
170
|
-
/**
|
|
171
|
-
* @ignore
|
|
170
|
+
/**
|
|
171
|
+
* @ignore
|
|
172
172
|
*/
|
|
173
173
|
baseClassName: _propTypes.default.string
|
|
174
174
|
};
|