@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
|
@@ -225,79 +225,79 @@ class Section extends Component {
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
const propTypes = {
|
|
228
|
-
/**
|
|
229
|
-
* Title of the section.
|
|
230
|
-
* @since 0.0.54
|
|
228
|
+
/**
|
|
229
|
+
* Title of the section.
|
|
230
|
+
* @since 0.0.54
|
|
231
231
|
*/
|
|
232
232
|
title: PropTypes.node,
|
|
233
233
|
|
|
234
|
-
/**
|
|
235
|
-
* Visual intent color to apply to component.
|
|
236
|
-
* @since 0.0.54
|
|
234
|
+
/**
|
|
235
|
+
* Visual intent color to apply to component.
|
|
236
|
+
* @since 0.0.54
|
|
237
237
|
*/
|
|
238
238
|
intent: PropTypes.oneOf(['danger', 'warning', 'success', 'inactive']),
|
|
239
239
|
|
|
240
|
-
/**
|
|
241
|
-
* Is section collapsible.
|
|
242
|
-
* @since 0.0.54
|
|
240
|
+
/**
|
|
241
|
+
* Is section collapsible.
|
|
242
|
+
* @since 0.0.54
|
|
243
243
|
*/
|
|
244
244
|
collapsible: PropTypes.bool,
|
|
245
245
|
|
|
246
|
-
/**
|
|
247
|
-
* Is section collapsed now.
|
|
248
|
-
* @since 0.0.54
|
|
246
|
+
/**
|
|
247
|
+
* Is section collapsed now.
|
|
248
|
+
* @since 0.0.54
|
|
249
249
|
*/
|
|
250
250
|
collapsed: PropTypes.bool,
|
|
251
251
|
|
|
252
|
-
/**
|
|
253
|
-
* Event handler of title change with inline editing form.
|
|
254
|
-
* @since 0.0.54
|
|
252
|
+
/**
|
|
253
|
+
* Event handler of title change with inline editing form.
|
|
254
|
+
* @since 0.0.54
|
|
255
255
|
*/
|
|
256
256
|
onTitleChange: PropTypes.func,
|
|
257
257
|
|
|
258
|
-
/**
|
|
259
|
-
* Event handler of closing section with X-sign at the right.
|
|
260
|
-
* @since 0.0.54
|
|
258
|
+
/**
|
|
259
|
+
* Event handler of closing section with X-sign at the right.
|
|
260
|
+
* @since 0.0.54
|
|
261
261
|
*/
|
|
262
262
|
onClose: PropTypes.func,
|
|
263
263
|
|
|
264
|
-
/**
|
|
265
|
-
* A callback executed when the section collapsing.
|
|
266
|
-
* @since 3.26.0
|
|
264
|
+
/**
|
|
265
|
+
* A callback executed when the section collapsing.
|
|
266
|
+
* @since 3.26.0
|
|
267
267
|
*/
|
|
268
268
|
onToggle: PropTypes.func,
|
|
269
269
|
|
|
270
|
-
/**
|
|
271
|
-
* Array of custom section action button at the right.
|
|
272
|
-
* @since 0.0.54
|
|
270
|
+
/**
|
|
271
|
+
* Array of custom section action button at the right.
|
|
272
|
+
* @since 0.0.54
|
|
273
273
|
*/
|
|
274
274
|
buttons: PropTypes.arrayOf(PropTypes.element),
|
|
275
275
|
|
|
276
|
-
/**
|
|
277
|
-
* Vertical or horizontal section view.
|
|
278
|
-
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
279
|
-
* @since 0.3.0
|
|
276
|
+
/**
|
|
277
|
+
* Vertical or horizontal section view.
|
|
278
|
+
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
279
|
+
* @since 0.3.0
|
|
280
280
|
*/
|
|
281
281
|
vertical: PropTypes.bool,
|
|
282
282
|
|
|
283
|
-
/**
|
|
284
|
-
* Content of the `Section`.
|
|
285
|
-
* @since 0.0.54
|
|
283
|
+
/**
|
|
284
|
+
* Content of the `Section`.
|
|
285
|
+
* @since 0.0.54
|
|
286
286
|
*/
|
|
287
287
|
children: PropTypes.node,
|
|
288
288
|
|
|
289
|
-
/**
|
|
290
|
-
* @ignore
|
|
289
|
+
/**
|
|
290
|
+
* @ignore
|
|
291
291
|
*/
|
|
292
292
|
className: PropTypes.string,
|
|
293
293
|
|
|
294
|
-
/**
|
|
295
|
-
* @ignore
|
|
294
|
+
/**
|
|
295
|
+
* @ignore
|
|
296
296
|
*/
|
|
297
297
|
baseClassName: PropTypes.string,
|
|
298
298
|
|
|
299
|
-
/**
|
|
300
|
-
* @ignore
|
|
299
|
+
/**
|
|
300
|
+
* @ignore
|
|
301
301
|
*/
|
|
302
302
|
form: PropTypes.object
|
|
303
303
|
};
|
|
@@ -318,10 +318,10 @@ const defaultProps = {
|
|
|
318
318
|
};
|
|
319
319
|
Section.propTypes = propTypes;
|
|
320
320
|
Section.defaultProps = defaultProps;
|
|
321
|
-
/**
|
|
322
|
-
* `Section` component is used for dividing of complex content into groups for better readability
|
|
323
|
-
* and comprehension of the presented information.
|
|
324
|
-
* @since 0.0.54
|
|
321
|
+
/**
|
|
322
|
+
* `Section` component is used for dividing of complex content into groups for better readability
|
|
323
|
+
* and comprehension of the presented information.
|
|
324
|
+
* @since 0.0.54
|
|
325
325
|
*/
|
|
326
326
|
|
|
327
327
|
const SectionWrapper = props => {
|
|
@@ -6,9 +6,9 @@ import classNames from 'classnames';
|
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import VerticalContext from '../VerticalContext';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* `SectionItem` component is used for showing parameters and its values in [Section](#!/Section).
|
|
11
|
-
* @since 0.0.54
|
|
9
|
+
/**
|
|
10
|
+
* `SectionItem` component is used for showing parameters and its values in [Section](#!/Section).
|
|
11
|
+
* @since 0.0.54
|
|
12
12
|
*/
|
|
13
13
|
const SectionItem = ({
|
|
14
14
|
baseClassName,
|
|
@@ -33,36 +33,36 @@ const SectionItem = ({
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
SectionItem.propTypes = {
|
|
36
|
-
/**
|
|
37
|
-
* Content of the `SectionItem`.
|
|
38
|
-
* @since 0.0.54
|
|
36
|
+
/**
|
|
37
|
+
* Content of the `SectionItem`.
|
|
38
|
+
* @since 0.0.54
|
|
39
39
|
*/
|
|
40
40
|
children: PropTypes.node,
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* @ignore
|
|
42
|
+
/**
|
|
43
|
+
* @ignore
|
|
44
44
|
*/
|
|
45
45
|
className: PropTypes.string,
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* @ignore
|
|
47
|
+
/**
|
|
48
|
+
* @ignore
|
|
49
49
|
*/
|
|
50
50
|
baseClassName: PropTypes.string,
|
|
51
51
|
|
|
52
|
-
/**
|
|
53
|
-
* Title of the section item.
|
|
54
|
-
* @since 0.0.54
|
|
52
|
+
/**
|
|
53
|
+
* Title of the section item.
|
|
54
|
+
* @since 0.0.54
|
|
55
55
|
*/
|
|
56
56
|
title: PropTypes.node,
|
|
57
57
|
|
|
58
|
-
/**
|
|
59
|
-
* Is this section item contains actions? If it so than there should be extra whitespaces.
|
|
60
|
-
* @since 0.0.54
|
|
58
|
+
/**
|
|
59
|
+
* Is this section item contains actions? If it so than there should be extra whitespaces.
|
|
60
|
+
* @since 0.0.54
|
|
61
61
|
*/
|
|
62
62
|
actions: PropTypes.bool,
|
|
63
63
|
|
|
64
|
-
/**
|
|
65
|
-
* @ignore
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
66
|
*/
|
|
67
67
|
vertical: PropTypes.bool
|
|
68
68
|
};
|
|
@@ -15,10 +15,10 @@ import Squeezer from '../Squeezer';
|
|
|
15
15
|
import ResponsiveContext from '../ResponsiveContext';
|
|
16
16
|
|
|
17
17
|
const alphaSort = (a, b) => a > b ? 1 : -1;
|
|
18
|
-
/**
|
|
19
|
-
* `Segmented Control` is a group of several [Buttons](#!/Button)
|
|
20
|
-
* each of which functions as a mutually exclusive option.
|
|
21
|
-
* @since 0.0.68
|
|
18
|
+
/**
|
|
19
|
+
* `Segmented Control` is a group of several [Buttons](#!/Button)
|
|
20
|
+
* each of which functions as a mutually exclusive option.
|
|
21
|
+
* @since 0.0.68
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
|
|
@@ -289,72 +289,72 @@ class SegmentedControl extends Component {
|
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
SegmentedControl.propTypes = {
|
|
292
|
-
/**
|
|
293
|
-
* Label
|
|
294
|
-
* @since 0.0.68
|
|
292
|
+
/**
|
|
293
|
+
* Label
|
|
294
|
+
* @since 0.0.68
|
|
295
295
|
*/
|
|
296
296
|
label: PropTypes.node,
|
|
297
297
|
|
|
298
|
-
/**
|
|
299
|
-
* Where to place label
|
|
300
|
-
* @since 0.0.68
|
|
298
|
+
/**
|
|
299
|
+
* Where to place label
|
|
300
|
+
* @since 0.0.68
|
|
301
301
|
*/
|
|
302
302
|
labelPlacement: PropTypes.oneOf(['top', 'left']),
|
|
303
303
|
|
|
304
|
-
/**
|
|
305
|
-
* Array of buttons to display (every array item must contain an unique "value" property)
|
|
306
|
-
* @since 0.0.68
|
|
304
|
+
/**
|
|
305
|
+
* Array of buttons to display (every array item must contain an unique "value" property)
|
|
306
|
+
* @since 0.0.68
|
|
307
307
|
*/
|
|
308
308
|
buttons: PropTypes.arrayOf(PropTypes.shape({
|
|
309
309
|
value: PropTypes.any.isRequired,
|
|
310
310
|
title: PropTypes.node
|
|
311
311
|
})).isRequired,
|
|
312
312
|
|
|
313
|
-
/**
|
|
314
|
-
* Monospaced version of buttons (all button would have the same width).
|
|
315
|
-
* Attention: using it with buttons dynamic update may cause to wrong behavior!
|
|
316
|
-
* @since 0.0.68
|
|
313
|
+
/**
|
|
314
|
+
* Monospaced version of buttons (all button would have the same width).
|
|
315
|
+
* Attention: using it with buttons dynamic update may cause to wrong behavior!
|
|
316
|
+
* @since 0.0.68
|
|
317
317
|
*/
|
|
318
318
|
monospaced: PropTypes.bool,
|
|
319
319
|
|
|
320
|
-
/**
|
|
321
|
-
* Multiple selected options version (any number of buttons can be selected)
|
|
322
|
-
* @since 0.0.68
|
|
320
|
+
/**
|
|
321
|
+
* Multiple selected options version (any number of buttons can be selected)
|
|
322
|
+
* @since 0.0.68
|
|
323
323
|
*/
|
|
324
324
|
multiple: PropTypes.bool,
|
|
325
325
|
|
|
326
|
-
/**
|
|
327
|
-
* Selected value or an array of values (for multiple version).
|
|
328
|
-
* Used in controlled version or as default value in uncontrolled version (with onChange property)
|
|
329
|
-
* @since 0.0.68
|
|
326
|
+
/**
|
|
327
|
+
* Selected value or an array of values (for multiple version).
|
|
328
|
+
* Used in controlled version or as default value in uncontrolled version (with onChange property)
|
|
329
|
+
* @since 0.0.68
|
|
330
330
|
*/
|
|
331
331
|
selected: PropTypes.oneOfType([PropTypes.any, PropTypes.arrayOf(PropTypes.any)]).isRequired,
|
|
332
332
|
|
|
333
|
-
/**
|
|
334
|
-
* On change selection callback for uncontrolled mode.
|
|
335
|
-
* @since 0.0.68
|
|
333
|
+
/**
|
|
334
|
+
* On change selection callback for uncontrolled mode.
|
|
335
|
+
* @since 0.0.68
|
|
336
336
|
*/
|
|
337
337
|
onChange: PropTypes.func,
|
|
338
338
|
|
|
339
|
-
/**
|
|
340
|
-
* Should component displays as inline element?
|
|
341
|
-
* @since 0.0.68
|
|
339
|
+
/**
|
|
340
|
+
* Should component displays as inline element?
|
|
341
|
+
* @since 0.0.68
|
|
342
342
|
*/
|
|
343
343
|
inline: PropTypes.bool,
|
|
344
344
|
|
|
345
|
-
/**
|
|
346
|
-
* Use buttons with transparent background (ghost buttons)
|
|
347
|
-
* @since 2.3.0
|
|
345
|
+
/**
|
|
346
|
+
* Use buttons with transparent background (ghost buttons)
|
|
347
|
+
* @since 2.3.0
|
|
348
348
|
*/
|
|
349
349
|
ghost: PropTypes.bool,
|
|
350
350
|
|
|
351
|
-
/**
|
|
352
|
-
* @ignore
|
|
351
|
+
/**
|
|
352
|
+
* @ignore
|
|
353
353
|
*/
|
|
354
354
|
className: PropTypes.string,
|
|
355
355
|
|
|
356
|
-
/**
|
|
357
|
-
* @ignore
|
|
356
|
+
/**
|
|
357
|
+
* @ignore
|
|
358
358
|
*/
|
|
359
359
|
baseClassName: PropTypes.string
|
|
360
360
|
};
|
|
@@ -37,7 +37,7 @@ const MultiValue = ({
|
|
|
37
37
|
focusable: "false",
|
|
38
38
|
"aria-hidden": "true"
|
|
39
39
|
}, /*#__PURE__*/React.createElement("path", {
|
|
40
|
-
d: "M3.85 8.854a.498.498 0 1 1-.704-.704L5.296 6l-2.15-2.15a.498.498 0 0 1 .704-.704L6 5.296l2.15-2.15a.498.498 0 1 1 .704.704L6.704 6l2.15 2.15a.498.498 0 0 1-.704.704L6 6.704l-2.15 2.15z"
|
|
40
|
+
d: "M3.85 8.854a.498.498 0 1 1-.704-.704L5.296 6l-2.15-2.15a.498.498 0 0 1 .704-.704L6 5.296l2.15-2.15a.498.498 0 1 1\r .704.704L6.704 6l2.15 2.15a.498.498 0 0 1-.704.704L6 6.704l-2.15 2.15z"
|
|
41
41
|
})))));
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -95,9 +95,9 @@ const getNextValue = (value, prevValue) => {
|
|
|
95
95
|
return value;
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
/**
|
|
99
|
-
* `Select` component is used for making a choice among a set of related options.
|
|
100
|
-
* @since 2.3.0
|
|
98
|
+
/**
|
|
99
|
+
* `Select` component is used for making a choice among a set of related options.
|
|
100
|
+
* @since 2.3.0
|
|
101
101
|
*/
|
|
102
102
|
const Select = ({
|
|
103
103
|
id,
|
|
@@ -228,7 +228,7 @@ const SelectControl = /*#__PURE__*/forwardRef(function SelectControl({
|
|
|
228
228
|
"aria-hidden": "true",
|
|
229
229
|
focusable: "false"
|
|
230
230
|
}, /*#__PURE__*/React.createElement("path", {
|
|
231
|
-
d: "M.85 7.854a.498.498 0 1 1-.704-.704L3.296 4 .146.85A.498.498 0 0 1 .85.146L4 3.296 7.15.146a.498.498 0 0 1 .704.704L4.704 4l3.15 3.15a.498.498 0 0 1-.704.704L4 4.704.85 7.854z"
|
|
231
|
+
d: "M.85 7.854a.498.498 0 1 1-.704-.704L3.296 4 .146.85A.498.498 0 0 1 .85.146L4 3.296 7.15.146a.498.498 0 0 1\r .704.704L4.704 4l3.15 3.15a.498.498 0 0 1-.704.704L4 4.704.85 7.854z"
|
|
232
232
|
})))), /*#__PURE__*/React.createElement("button", {
|
|
233
233
|
type: "button",
|
|
234
234
|
className: classNames(`${baseClassName}__indicator`, `${baseClassName}__indicator--dropdown`),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* `SelectOption` is a part of [SelectOptionGroup](#!/SelectOptionGroup) component.
|
|
6
|
-
* @since 2.3.0
|
|
4
|
+
/**
|
|
5
|
+
* `SelectOption` is a part of [SelectOptionGroup](#!/SelectOptionGroup) component.
|
|
6
|
+
* @since 2.3.0
|
|
7
7
|
*/
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
9
|
const SelectOption = _props => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* `SelectOptionGroup` is a part of [Select](#!/Select) component. It can be used for splitting the list of all options into groups.
|
|
6
|
-
* @since 2.3.0
|
|
4
|
+
/**
|
|
5
|
+
* `SelectOptionGroup` is a part of [Select](#!/Select) component. It can be used for splitting the list of all options into groups.
|
|
6
|
+
* @since 2.3.0
|
|
7
7
|
*/
|
|
8
8
|
const SelectOptionGroup = _props => {
|
|
9
9
|
// styleguidist doesn't show Props & Methods if component renders nothing
|
|
@@ -37,11 +37,11 @@ const focusStrategy = {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
};
|
|
40
|
-
/**
|
|
41
|
-
* `Split Button` is a combination of a standard [Button](#!/Button) with a [Dropdown](#!/Dropdown) menu.
|
|
42
|
-
* It is used for grouping several related actions when one of the actions should be accessible immediately
|
|
43
|
-
* because it is used more often than others.
|
|
44
|
-
* @since 0.0.40
|
|
40
|
+
/**
|
|
41
|
+
* `Split Button` is a combination of a standard [Button](#!/Button) with a [Dropdown](#!/Dropdown) menu.
|
|
42
|
+
* It is used for grouping several related actions when one of the actions should be accessible immediately
|
|
43
|
+
* because it is used more often than others.
|
|
44
|
+
* @since 0.0.40
|
|
45
45
|
*/
|
|
46
46
|
|
|
47
47
|
const SplitButton = ({
|
|
@@ -92,39 +92,39 @@ const SplitButton = ({
|
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
SplitButton.propTypes = {
|
|
95
|
-
/**
|
|
96
|
-
* @since 0.0.47
|
|
95
|
+
/**
|
|
96
|
+
* @since 0.0.47
|
|
97
97
|
*/
|
|
98
98
|
menu: PropTypes.any,
|
|
99
99
|
|
|
100
|
-
/**
|
|
101
|
-
* @since 0.0.47
|
|
100
|
+
/**
|
|
101
|
+
* @since 0.0.47
|
|
102
102
|
*/
|
|
103
103
|
opened: PropTypes.bool,
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* Content of the button group
|
|
107
|
-
* @since 0.0.40
|
|
105
|
+
/**
|
|
106
|
+
* Content of the button group
|
|
107
|
+
* @since 0.0.40
|
|
108
108
|
*/
|
|
109
109
|
children: PropTypes.node,
|
|
110
110
|
|
|
111
|
-
/**
|
|
112
|
-
* @ignore
|
|
111
|
+
/**
|
|
112
|
+
* @ignore
|
|
113
113
|
*/
|
|
114
114
|
className: PropTypes.string,
|
|
115
115
|
|
|
116
|
-
/**
|
|
117
|
-
* @ignore
|
|
116
|
+
/**
|
|
117
|
+
* @ignore
|
|
118
118
|
*/
|
|
119
119
|
baseClassName: PropTypes.string,
|
|
120
120
|
|
|
121
|
-
/**
|
|
122
|
-
* @ignore
|
|
121
|
+
/**
|
|
122
|
+
* @ignore
|
|
123
123
|
*/
|
|
124
124
|
onClick: PropTypes.func,
|
|
125
125
|
|
|
126
|
-
/**
|
|
127
|
-
* @ignore
|
|
126
|
+
/**
|
|
127
|
+
* @ignore
|
|
128
128
|
*/
|
|
129
129
|
onKeyDown: PropTypes.func
|
|
130
130
|
};
|
|
@@ -8,9 +8,9 @@ import SpotPulsar from './SpotPulsar';
|
|
|
8
8
|
import SpotPopup from './SpotPopup';
|
|
9
9
|
|
|
10
10
|
const isEqual = (a, b) => a.top === b.top && a.left === b.left && a.right === b.right && a.bottom === b.bottom && a.width === b.width && a.height === b.height;
|
|
11
|
-
/**
|
|
12
|
-
* The component can be used to attract the user's attention to a specific element on the page.
|
|
13
|
-
* @since 3.0.1
|
|
11
|
+
/**
|
|
12
|
+
* The component can be used to attract the user's attention to a specific element on the page.
|
|
13
|
+
* @since 3.0.1
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
|
|
@@ -21,9 +21,9 @@ const toIcon = (icon, intent) => {
|
|
|
21
21
|
name: intentIconMap[intent]
|
|
22
22
|
} : undefined);
|
|
23
23
|
};
|
|
24
|
-
/**
|
|
25
|
-
* `Status` component is used for indicating state of an object or the system.
|
|
26
|
-
* @since 0.0.68
|
|
24
|
+
/**
|
|
25
|
+
* `Status` component is used for indicating state of an object or the system.
|
|
26
|
+
* @since 0.0.68
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
29
|
|
|
@@ -7,10 +7,10 @@ import Icon from '../Icon';
|
|
|
7
7
|
import { CLS_PREFIX } from '../../constants';
|
|
8
8
|
import { intentIconMap } from '../intentIconMap';
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* `StatusMessage` is used for notifying users about events happened (or going to happen) in the system.
|
|
12
|
-
* For showing results of performed operations [Toaster](#!/Toaster) should be used.
|
|
13
|
-
* @since 1.12.0
|
|
10
|
+
/**
|
|
11
|
+
* `StatusMessage` is used for notifying users about events happened (or going to happen) in the system.
|
|
12
|
+
* For showing results of performed operations [Toaster](#!/Toaster) should be used.
|
|
13
|
+
* @since 1.12.0
|
|
14
14
|
*/
|
|
15
15
|
const StatusMessage = ({
|
|
16
16
|
baseClassName = `${CLS_PREFIX}status-message`,
|
|
@@ -6,9 +6,9 @@ import classNames from 'classnames';
|
|
|
6
6
|
import { CLS_PREFIX } from '../../constants';
|
|
7
7
|
import { safeInvoke, createFocusManager } from '../utils';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* `Subnav` component is used when you need a second level navigation under [Tabs](#!/Tabs) on the screen.
|
|
11
|
-
* @since 0.0.42
|
|
9
|
+
/**
|
|
10
|
+
* `Subnav` component is used when you need a second level navigation under [Tabs](#!/Tabs) on the screen.
|
|
11
|
+
* @since 0.0.42
|
|
12
12
|
*/
|
|
13
13
|
const Subnav = ({
|
|
14
14
|
baseClassName,
|
|
@@ -91,24 +91,24 @@ const Subnav = ({
|
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
Subnav.propTypes = {
|
|
94
|
-
/**
|
|
95
|
-
* Subnav items
|
|
96
|
-
* @since 0.0.42
|
|
94
|
+
/**
|
|
95
|
+
* Subnav items
|
|
96
|
+
* @since 0.0.42
|
|
97
97
|
*/
|
|
98
98
|
children: PropTypes.node,
|
|
99
99
|
|
|
100
|
-
/**
|
|
101
|
-
* @ignore
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
102
|
*/
|
|
103
103
|
className: PropTypes.string,
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* @ignore
|
|
105
|
+
/**
|
|
106
|
+
* @ignore
|
|
107
107
|
*/
|
|
108
108
|
baseClassName: PropTypes.string,
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* @ignore
|
|
110
|
+
/**
|
|
111
|
+
* @ignore
|
|
112
112
|
*/
|
|
113
113
|
onKeyDown: PropTypes.string
|
|
114
114
|
};
|
|
@@ -118,8 +118,8 @@ Subnav.defaultProps = {
|
|
|
118
118
|
baseClassName: `${CLS_PREFIX}subnav`,
|
|
119
119
|
onKeyDown: undefined
|
|
120
120
|
};
|
|
121
|
-
/**
|
|
122
|
-
* SubnavItem component.
|
|
121
|
+
/**
|
|
122
|
+
* SubnavItem component.
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
125
|
const SubnavItem = ({
|
|
@@ -135,23 +135,23 @@ const SubnavItem = ({
|
|
|
135
135
|
});
|
|
136
136
|
|
|
137
137
|
SubnavItem.propTypes = {
|
|
138
|
-
/**
|
|
139
|
-
* Is item active.
|
|
138
|
+
/**
|
|
139
|
+
* Is item active.
|
|
140
140
|
*/
|
|
141
141
|
active: PropTypes.bool,
|
|
142
142
|
|
|
143
|
-
/**
|
|
144
|
-
* Content of the item
|
|
143
|
+
/**
|
|
144
|
+
* Content of the item
|
|
145
145
|
*/
|
|
146
146
|
children: PropTypes.element.isRequired,
|
|
147
147
|
|
|
148
|
-
/**
|
|
149
|
-
* @ignore
|
|
148
|
+
/**
|
|
149
|
+
* @ignore
|
|
150
150
|
*/
|
|
151
151
|
className: PropTypes.string,
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* @ignore
|
|
153
|
+
/**
|
|
154
|
+
* @ignore
|
|
155
155
|
*/
|
|
156
156
|
baseClassName: PropTypes.string
|
|
157
157
|
};
|