@plesk/ui-library 3.31.3 → 3.32.0
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/cjs/components/Action/Action.js +20 -12
- package/cjs/components/Alert/Alert.js +9 -8
- package/cjs/components/Alert/Alert.stories.js +19 -12
- package/cjs/components/AutoClosable/AutoClosable.js +7 -9
- package/cjs/components/AuxiliaryActions/AuxiliaryActions.js +14 -12
- package/cjs/components/Badge/Badge.js +11 -10
- package/cjs/components/Breadcrumbs/Breadcrumbs.js +18 -15
- package/cjs/components/Button/Button.js +30 -24
- package/cjs/components/Button/Button.stories.js +82 -49
- package/cjs/components/Button/ButtonContext.js +2 -3
- package/cjs/components/ButtonGroup/ButtonGroup.js +6 -5
- package/cjs/components/Card/Card.js +132 -109
- package/cjs/components/Card/CardButton.js +5 -4
- package/cjs/components/Card/PreviewPanel.js +24 -21
- package/cjs/components/CardList/CardList.js +57 -50
- package/cjs/components/CardList/CardListToolbar.js +47 -40
- package/cjs/components/Carousel/Carousel.js +42 -35
- package/cjs/components/Checkbox/Checkbox.js +27 -22
- package/cjs/components/ClosingConfirmation/useClosingConfirmation.js +24 -22
- package/cjs/components/CodeEditor/CodeEditor.js +5 -5
- package/cjs/components/Columns/Column.js +7 -7
- package/cjs/components/Columns/Columns.js +18 -14
- package/cjs/components/ComboBox/ComboBox.js +17 -13
- package/cjs/components/ComboBox/ComboBoxOption.js +2 -3
- package/cjs/components/ComboBoxDropdown/ComboBoxDropdown.js +73 -68
- package/cjs/components/ConsoleOutput/ConsoleOutput.js +9 -9
- package/cjs/components/ContentLoader/ContentLoader.js +24 -16
- package/cjs/components/ContentLoader/IconsLoader.js +19 -17
- package/cjs/components/Cuttable/Cuttable.js +33 -30
- package/cjs/components/Cuttable/Cuttable.stories.js +27 -5
- package/cjs/components/Dialog/Dialog.js +74 -54
- package/cjs/components/Dialog/Dialog.stories.js +18 -14
- package/cjs/components/Drawer/Drawer.js +60 -43
- package/cjs/components/Drawer/Drawer.stories.js +24 -16
- package/cjs/components/Drawer/DrawerProgress.js +34 -22
- package/cjs/components/Drawer/Header.js +34 -26
- package/cjs/components/Dropdown/Dropdown.js +49 -41
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessage.js +21 -17
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +6 -5
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +6 -5
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +5 -5
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +6 -5
- package/cjs/components/Figure/Figure.js +12 -9
- package/cjs/components/FocusTrap/FocusTrap.js +13 -14
- package/cjs/components/Form/Form.js +80 -68
- package/cjs/components/Form/Form.stories.js +8 -9
- package/cjs/components/FormField/FormField.js +55 -50
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +36 -29
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.stories.js +9 -3
- package/cjs/components/FormFieldPassword/FormFieldPassword.js +74 -66
- package/cjs/components/FormFieldPassword/PasswordMeter.js +34 -23
- package/cjs/components/FormFieldPassword/estimatePassword.js +11 -11
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +54 -50
- package/cjs/components/FormFieldSelect/FormFieldSelect.js +26 -24
- package/cjs/components/FormFieldText/FormFieldText.js +39 -35
- package/cjs/components/Grid/Grid.js +16 -13
- package/cjs/components/GridCol/GridCol.js +7 -7
- package/cjs/components/Heading/Heading.js +12 -10
- package/cjs/components/Hint/Hint.js +6 -5
- package/cjs/components/Icon/Icon.js +15 -14
- package/cjs/components/Icon/Icon.stories.js +15 -12
- package/cjs/components/Icon/utils.js +9 -6
- package/cjs/components/InPlaceEdit/InPlaceEdit.js +54 -49
- package/cjs/components/Input/Input.js +18 -14
- package/cjs/components/InputFile/InputFile.js +45 -42
- package/cjs/components/InputNumber/InputNumber.js +8 -10
- package/cjs/components/Item/Item.js +34 -22
- package/cjs/components/ItemLink/ItemLink.js +9 -7
- package/cjs/components/ItemLink/ItemLink.stories.js +4 -2
- package/cjs/components/ItemList/ItemList.js +39 -31
- package/cjs/components/ItemList/ItemList.stories.js +26 -27
- package/cjs/components/Label/Label.js +41 -8
- package/cjs/components/Layer/Layer.js +11 -10
- package/cjs/components/Layout/Layout.js +129 -101
- package/cjs/components/Link/Link.js +10 -10
- package/cjs/components/List/List.js +338 -279
- package/cjs/components/List/List.stories.js +21 -19
- package/cjs/components/List/ListAction.js +10 -8
- package/cjs/components/List/ListActions.js +21 -19
- package/cjs/components/List/ListActionsDivider.js +4 -3
- package/cjs/components/List/ListEmptyView.js +31 -24
- package/cjs/components/List/ListOperation.js +28 -21
- package/cjs/components/LocaleProvider/LocaleProvider.js +6 -6
- package/cjs/components/Markdown/Markdown.js +5 -4
- package/cjs/components/Media/Media.js +30 -22
- package/cjs/components/Media/MediaSection.js +7 -6
- package/cjs/components/Menu/Menu.js +7 -6
- package/cjs/components/Menu/Menu.stories.js +35 -33
- package/cjs/components/Menu/MenuBaseItem.js +18 -14
- package/cjs/components/Menu/MenuDivider.js +6 -6
- package/cjs/components/Menu/MenuHeader.js +7 -6
- package/cjs/components/Menu/MenuItem.js +12 -9
- package/cjs/components/Menu/MenuSelectableItem.js +7 -6
- package/cjs/components/Overlay/Backdrop.js +5 -4
- package/cjs/components/Overlay/Overlay.js +63 -52
- package/cjs/components/PageHeader/PageHeader.js +36 -25
- package/cjs/components/Pagination/Pagination.js +72 -66
- package/cjs/components/Panel/Panel.js +38 -36
- package/cjs/components/Paragraph/Paragraph.js +6 -5
- package/cjs/components/Plaintext/Plaintext.js +5 -3
- package/cjs/components/Popover/Popover.js +43 -34
- package/cjs/components/Popover/Popover.stories.js +33 -15
- package/cjs/components/Popper/Popper.js +19 -17
- package/cjs/components/Progress/Progress.js +6 -4
- package/cjs/components/ProgressBar/ProgressBar.js +10 -10
- package/cjs/components/ProgressBar/ProgressIndicator.js +5 -5
- package/cjs/components/ProgressDialog/ProgressDialog.js +16 -13
- package/cjs/components/ProgressDialogStep/ProgressDialogStep.js +5 -3
- package/cjs/components/ProgressStep/ProgressStep.js +34 -23
- package/cjs/components/Radio/Radio.js +21 -18
- package/cjs/components/Rating/Rating.js +10 -8
- package/cjs/components/Section/Section.js +55 -50
- package/cjs/components/Section/SectionItem.js +12 -8
- package/cjs/components/SegmentedControl/SegmentedControl.js +86 -75
- package/cjs/components/Select/MultiValue.js +26 -21
- package/cjs/components/Select/Select.js +8 -7
- package/cjs/components/Select/Select.stories.js +41 -40
- package/cjs/components/Select/SelectControl.js +87 -77
- package/cjs/components/Select/SelectOption.js +2 -3
- package/cjs/components/Select/SelectOptionGroup.js +2 -3
- package/cjs/components/Skeleton/Skeleton.js +5 -5
- package/cjs/components/Skeleton/Skeleton.stories.js +7 -3
- package/cjs/components/Skeleton/SkeletonTabs.js +11 -10
- package/cjs/components/Skeleton/SkeletonTabs.stories.js +4 -2
- package/cjs/components/Skeleton/SkeletonText.js +13 -13
- package/cjs/components/Skeleton/SkeletonText.stories.js +10 -4
- package/cjs/components/Spinner/Spinner.js +15 -15
- package/cjs/components/SplitButton/SplitButton.js +18 -14
- package/cjs/components/Spot/Spot.js +19 -15
- package/cjs/components/Spot/SpotPopup.js +33 -29
- package/cjs/components/Spot/SpotPulsar.js +12 -13
- package/cjs/components/Squeezer/Squeezer.js +11 -13
- package/cjs/components/Status/Status.js +7 -7
- package/cjs/components/Status/Status.stories.js +4 -2
- package/cjs/components/StatusMessage/StatusMessage.js +9 -8
- package/cjs/components/Subnav/Subnav.js +7 -6
- package/cjs/components/Switch/Switch.js +21 -17
- package/cjs/components/SwitchesPanel/SwitchesPanel.js +11 -8
- package/cjs/components/SwitchesPanelItem/SwitchesPanelItem.js +34 -26
- package/cjs/components/Tabs/SearchBar.js +57 -51
- package/cjs/components/Tabs/Tab.js +5 -3
- package/cjs/components/Tabs/Tabs.js +157 -129
- package/cjs/components/Tabs/Tabs.stories.js +8 -6
- package/cjs/components/Text/Text.js +7 -7
- package/cjs/components/TextArea/TextArea.js +6 -7
- package/cjs/components/Toast/Toast.js +32 -29
- package/cjs/components/Toaster/Toaster.js +54 -48
- package/cjs/components/Toolbar/Toolbar.js +19 -14
- package/cjs/components/Toolbar/ToolbarExpander.js +7 -7
- package/cjs/components/Toolbar/ToolbarGroup.js +23 -17
- package/cjs/components/Toolbar/ToolbarItem.js +11 -9
- package/cjs/components/Toolbar/ToolbarMenu.js +21 -15
- package/cjs/components/Tooltip/Tooltip.js +26 -21
- package/cjs/components/Tour/Tour.js +3 -4
- package/cjs/components/Translate/Translate.js +4 -1
- package/cjs/components/utils.js +4 -8
- package/cjs/index.js +1 -1
- package/cjs/utils.js +0 -2
- package/dist/.DS_Store +0 -0
- package/dist/images/default.svg +1 -0
- package/dist/images/filtered.svg +1 -0
- 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 +4457 -2604
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +18 -5
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Action/Action.js +21 -12
- package/esm/components/Alert/Alert.js +10 -8
- package/esm/components/Alert/Alert.stories.js +21 -12
- package/esm/components/AutoClosable/AutoClosable.js +7 -7
- package/esm/components/AuxiliaryActions/AuxiliaryActions.js +14 -10
- package/esm/components/Badge/Badge.js +12 -8
- package/esm/components/Breadcrumbs/Breadcrumbs.js +19 -13
- package/esm/components/Button/Button.js +31 -25
- package/esm/components/Button/Button.stories.js +84 -49
- package/esm/components/Button/ButtonContext.js +2 -2
- package/esm/components/ButtonGroup/ButtonGroup.js +6 -5
- package/esm/components/Card/Card.js +133 -109
- package/esm/components/Card/CardButton.js +5 -4
- package/esm/components/Card/PreviewPanel.js +25 -19
- package/esm/components/CardList/CardList.js +58 -50
- package/esm/components/CardList/CardListToolbar.js +47 -40
- package/esm/components/Carousel/Carousel.js +43 -35
- package/esm/components/Checkbox/Checkbox.js +28 -22
- package/esm/components/ClosingConfirmation/useClosingConfirmation.js +24 -20
- package/esm/components/CodeEditor/CodeEditor.js +5 -6
- package/esm/components/Columns/Column.js +7 -5
- package/esm/components/Columns/Columns.js +18 -14
- package/esm/components/ComboBox/ComboBox.js +17 -13
- package/esm/components/ComboBox/ComboBoxOption.js +2 -2
- package/esm/components/ComboBoxDropdown/ComboBoxDropdown.js +75 -68
- package/esm/components/ConsoleOutput/ConsoleOutput.js +10 -7
- package/esm/components/ContentLoader/ContentLoader.js +25 -14
- package/esm/components/ContentLoader/IconsLoader.js +20 -15
- package/esm/components/Cuttable/Cuttable.js +34 -28
- package/esm/components/Cuttable/Cuttable.stories.js +29 -5
- package/esm/components/Dialog/Dialog.js +75 -53
- package/esm/components/Dialog/Dialog.stories.js +20 -12
- package/esm/components/Drawer/Drawer.js +61 -43
- package/esm/components/Drawer/Drawer.stories.js +26 -14
- package/esm/components/Drawer/DrawerProgress.js +35 -22
- package/esm/components/Drawer/Header.js +35 -26
- package/esm/components/Dropdown/Dropdown.js +51 -41
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessage.js +22 -17
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +6 -5
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +6 -5
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +5 -5
- package/esm/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +6 -5
- package/esm/components/Figure/Figure.js +13 -9
- package/esm/components/FocusTrap/FocusTrap.js +14 -11
- package/esm/components/Form/Form.js +81 -68
- package/esm/components/Form/Form.stories.js +8 -9
- package/esm/components/FormField/FormField.js +56 -50
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +38 -29
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.stories.js +9 -3
- package/esm/components/FormFieldPassword/FormFieldPassword.js +75 -64
- package/esm/components/FormFieldPassword/PasswordMeter.js +36 -23
- package/esm/components/FormFieldPassword/estimatePassword.js +11 -11
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +55 -50
- package/esm/components/FormFieldSelect/FormFieldSelect.js +26 -24
- package/esm/components/FormFieldText/FormFieldText.js +39 -35
- package/esm/components/Grid/Grid.js +16 -13
- package/esm/components/GridCol/GridCol.js +6 -5
- package/esm/components/Heading/Heading.js +13 -10
- package/esm/components/Hint/Hint.js +6 -5
- package/esm/components/Icon/Icon.js +15 -12
- package/esm/components/Icon/Icon.stories.js +15 -12
- package/esm/components/Icon/utils.js +9 -6
- package/esm/components/InPlaceEdit/InPlaceEdit.js +55 -49
- package/esm/components/Input/Input.js +19 -14
- package/esm/components/InputFile/InputFile.js +47 -40
- package/esm/components/InputNumber/InputNumber.js +8 -8
- package/esm/components/Item/Item.js +35 -22
- package/esm/components/ItemLink/ItemLink.js +9 -7
- package/esm/components/ItemLink/ItemLink.stories.js +4 -2
- package/esm/components/ItemList/ItemList.js +39 -31
- package/esm/components/ItemList/ItemList.stories.js +26 -25
- package/esm/components/Label/Label.js +42 -8
- package/esm/components/Layer/Layer.js +11 -8
- package/esm/components/Layout/Layout.js +130 -101
- package/esm/components/Link/Link.js +11 -9
- package/esm/components/List/List.js +341 -280
- package/esm/components/List/List.stories.js +22 -17
- package/esm/components/List/ListAction.js +10 -8
- package/esm/components/List/ListActions.js +22 -17
- package/esm/components/List/ListActionsDivider.js +4 -2
- package/esm/components/List/ListEmptyView.js +32 -24
- package/esm/components/List/ListOperation.js +29 -19
- package/esm/components/LocaleProvider/LocaleProvider.js +6 -4
- package/esm/components/Markdown/Markdown.js +5 -4
- package/esm/components/Media/Media.js +31 -22
- package/esm/components/Media/MediaSection.js +6 -4
- package/esm/components/Menu/Menu.js +7 -6
- package/esm/components/Menu/Menu.stories.js +35 -33
- package/esm/components/Menu/MenuBaseItem.js +18 -12
- package/esm/components/Menu/MenuDivider.js +5 -4
- package/esm/components/Menu/MenuHeader.js +6 -4
- package/esm/components/Menu/MenuItem.js +11 -7
- package/esm/components/Menu/MenuSelectableItem.js +6 -4
- package/esm/components/Overlay/Backdrop.js +5 -4
- package/esm/components/Overlay/Overlay.js +65 -53
- package/esm/components/PageHeader/PageHeader.js +37 -23
- package/esm/components/Pagination/Pagination.js +73 -66
- package/esm/components/Panel/Panel.js +39 -34
- package/esm/components/Paragraph/Paragraph.js +6 -5
- package/esm/components/Plaintext/Plaintext.js +5 -3
- package/esm/components/Popover/Popover.js +44 -34
- package/esm/components/Popover/Popover.stories.js +35 -15
- package/esm/components/Popper/Popper.js +19 -15
- package/esm/components/Progress/Progress.js +6 -4
- package/esm/components/ProgressBar/ProgressBar.js +10 -8
- package/esm/components/ProgressBar/ProgressIndicator.js +5 -5
- package/esm/components/ProgressDialog/ProgressDialog.js +17 -13
- package/esm/components/ProgressDialogStep/ProgressDialogStep.js +4 -1
- package/esm/components/ProgressStep/ProgressStep.js +35 -23
- package/esm/components/Radio/Radio.js +22 -18
- package/esm/components/Rating/Rating.js +10 -8
- package/esm/components/Section/Section.js +56 -50
- package/esm/components/Section/SectionItem.js +13 -8
- package/esm/components/SegmentedControl/SegmentedControl.js +87 -75
- package/esm/components/Select/MultiValue.js +27 -21
- package/esm/components/Select/Select.js +8 -7
- package/esm/components/Select/Select.stories.js +41 -40
- package/esm/components/Select/SelectControl.js +88 -75
- package/esm/components/Select/SelectOption.js +2 -2
- package/esm/components/Select/SelectOptionGroup.js +2 -2
- package/esm/components/Skeleton/Skeleton.js +5 -5
- package/esm/components/Skeleton/Skeleton.stories.js +7 -3
- package/esm/components/Skeleton/SkeletonTabs.js +11 -10
- package/esm/components/Skeleton/SkeletonTabs.stories.js +4 -2
- package/esm/components/Skeleton/SkeletonText.js +13 -13
- package/esm/components/Skeleton/SkeletonText.stories.js +10 -4
- package/esm/components/Spinner/Spinner.js +15 -15
- package/esm/components/SplitButton/SplitButton.js +19 -14
- package/esm/components/Spot/Spot.js +19 -13
- package/esm/components/Spot/SpotPopup.js +34 -28
- package/esm/components/Spot/SpotPulsar.js +13 -11
- package/esm/components/Squeezer/Squeezer.js +11 -11
- package/esm/components/Status/Status.js +7 -5
- package/esm/components/Status/Status.stories.js +4 -2
- package/esm/components/StatusMessage/StatusMessage.js +10 -8
- package/esm/components/Subnav/Subnav.js +7 -6
- package/esm/components/Switch/Switch.js +22 -17
- package/esm/components/SwitchesPanel/SwitchesPanel.js +11 -8
- package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +35 -26
- package/esm/components/Tabs/SearchBar.js +60 -52
- package/esm/components/Tabs/Tab.js +4 -1
- package/esm/components/Tabs/Tabs.js +158 -129
- package/esm/components/Tabs/Tabs.stories.js +8 -6
- package/esm/components/Text/Text.js +7 -5
- package/esm/components/TextArea/TextArea.js +6 -5
- package/esm/components/Toast/Toast.js +33 -27
- package/esm/components/Toaster/Toaster.js +54 -46
- package/esm/components/Toolbar/Toolbar.js +19 -14
- package/esm/components/Toolbar/ToolbarExpander.js +7 -5
- package/esm/components/Toolbar/ToolbarGroup.js +22 -15
- package/esm/components/Toolbar/ToolbarItem.js +11 -7
- package/esm/components/Toolbar/ToolbarMenu.js +21 -15
- package/esm/components/Tooltip/Tooltip.js +27 -21
- package/esm/components/Tour/Tour.js +3 -2
- package/esm/components/Translate/Translate.js +4 -1
- package/esm/components/utils.js +4 -8
- package/esm/index.js +1 -1
- package/esm/utils.js +1 -3
- package/package.json +21 -20
- package/styleguide/build/bundle.57b0e524.js +2 -0
- package/styleguide/build/{bundle.bab12e1d.js.LICENSE.txt → bundle.57b0e524.js.LICENSE.txt} +12 -3
- package/styleguide/index.html +2 -2
- package/types/src/components/Alert/Alert.stories.d.ts +6 -9
- package/types/src/components/AutoClosable/AutoClosable.d.ts +3 -24
- package/types/src/components/Button/Button.stories.d.ts +7 -6
- package/types/src/components/Button/ButtonContext.d.ts +1 -2
- package/types/src/components/Card/PreviewPanel.d.ts +2 -2
- package/types/src/components/ClosingConfirmation/useClosingConfirmation.d.ts +2 -2
- package/types/src/components/ComboBox/ComboBox.d.ts +2 -2
- package/types/src/components/ComboBoxDropdown/ComboBoxDropdown.d.ts +2 -2
- package/types/src/components/ConsoleOutput/ConsoleOutput.d.ts +2 -2
- package/types/src/components/ContentLoader/IconsLoader.d.ts +2 -2
- package/types/src/components/Cuttable/Cuttable.d.ts +3 -3
- package/types/src/components/Cuttable/Cuttable.stories.d.ts +8 -25
- package/types/src/components/Dialog/Dialog.stories.d.ts +7 -4
- package/types/src/components/Drawer/Drawer.stories.d.ts +9 -6
- package/types/src/components/Drawer/DrawerProgress.d.ts +1 -1
- package/types/src/components/FocusTrap/FocusTrap.d.ts +2 -2
- package/types/src/components/Form/Form.d.ts +11 -11
- package/types/src/components/Form/Form.stories.d.ts +4 -3
- package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.stories.d.ts +6 -3
- package/types/src/components/FormFieldPassword/FormFieldPassword.d.ts +3 -3
- package/types/src/components/FormFieldSelect/FormFieldSelect.d.ts +0 -1
- package/types/src/components/Icon/Icon.d.ts +0 -1
- package/types/src/components/Icon/Icon.stories.d.ts +4 -3
- package/types/src/components/Input/Input.d.ts +0 -1
- package/types/src/components/InputFile/InputFile.d.ts +2 -2
- package/types/src/components/ItemLink/ItemLink.stories.d.ts +5 -7
- package/types/src/components/ItemList/ItemList.d.ts +5 -5
- package/types/src/components/ItemList/ItemList.stories.d.ts +46 -175
- package/types/src/components/Label/Label.d.ts +32 -5
- package/types/src/components/Layer/Layer.d.ts +3 -3
- package/types/src/components/Link/Link.d.ts +2 -2
- package/types/src/components/List/List.stories.d.ts +9 -8
- package/types/src/components/List/ListAction.d.ts +2 -2
- package/types/src/components/List/ListActions.d.ts +2 -2
- package/types/src/components/List/ListActionsDivider.d.ts +4 -4
- package/types/src/components/LocaleProvider/LocaleProvider.d.ts +2 -2
- package/types/src/components/Menu/Menu.stories.d.ts +8 -7
- package/types/src/components/Panel/Panel.d.ts +3 -3
- package/types/src/components/Popover/Popover.stories.d.ts +12 -9
- package/types/src/components/Select/Select.d.ts +0 -1
- package/types/src/components/Select/Select.stories.d.ts +7 -18
- package/types/src/components/Select/SelectControl.d.ts +2 -2
- package/types/src/components/Skeleton/Skeleton.d.ts +1 -1
- package/types/src/components/Skeleton/Skeleton.stories.d.ts +6 -3
- package/types/src/components/Skeleton/SkeletonTabs.stories.d.ts +5 -6
- package/types/src/components/Skeleton/SkeletonText.d.ts +1 -1
- package/types/src/components/Skeleton/SkeletonText.stories.d.ts +7 -22
- package/types/src/components/Spot/Spot.d.ts +2 -2
- package/types/src/components/Spot/SpotPopup.d.ts +2 -2
- package/types/src/components/Spot/SpotPulsar.d.ts +2 -3
- package/types/src/components/Squeezer/Squeezer.d.ts +2 -2
- package/types/src/components/Status/Status.stories.d.ts +5 -16
- package/types/src/components/Tabs/Tabs.stories.d.ts +6 -3
- package/types/src/components/TextArea/TextArea.d.ts +5 -5
- package/types/src/components/Toast/Toast.d.ts +2 -2
- package/types/src/components/Toaster/Toaster.d.ts +2 -2
- package/types/src/components/Toolbar/ToolbarExpander.d.ts +2 -2
- package/types/src/components/Toolbar/ToolbarItem.d.ts +2 -2
- package/types/src/components/Toolbar/ToolbarMenu.d.ts +2 -2
- package/types/src/components/Tour/Tour.d.ts +2 -2
- package/types/src/components/utils.d.ts +5 -5
- package/types/src/utils.d.ts +0 -1
- package/styleguide/build/bundle.bab12e1d.js +0 -2
- package/types/package.d.ts +0 -135
|
@@ -54,7 +54,7 @@ object-assign
|
|
|
54
54
|
* @public
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
|
-
/** @license React v0.
|
|
57
|
+
/** @license React v0.20.2
|
|
58
58
|
* scheduler.production.min.js
|
|
59
59
|
*
|
|
60
60
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -63,7 +63,7 @@ object-assign
|
|
|
63
63
|
* LICENSE file in the root directory of this source tree.
|
|
64
64
|
*/
|
|
65
65
|
|
|
66
|
-
/** @license React
|
|
66
|
+
/** @license React v17.0.2
|
|
67
67
|
* react-dom.production.min.js
|
|
68
68
|
*
|
|
69
69
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -72,7 +72,16 @@ object-assign
|
|
|
72
72
|
* LICENSE file in the root directory of this source tree.
|
|
73
73
|
*/
|
|
74
74
|
|
|
75
|
-
/** @license React
|
|
75
|
+
/** @license React v17.0.2
|
|
76
|
+
* react-jsx-runtime.production.min.js
|
|
77
|
+
*
|
|
78
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
79
|
+
*
|
|
80
|
+
* This source code is licensed under the MIT license found in the
|
|
81
|
+
* LICENSE file in the root directory of this source tree.
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/** @license React v17.0.2
|
|
76
85
|
* react.production.min.js
|
|
77
86
|
*
|
|
78
87
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
package/styleguide/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
-
<title>Plesk UI Library 3.
|
|
7
|
+
<title>Plesk UI Library 3.32.0</title>
|
|
8
8
|
<meta name="msapplication-TileColor" content="#da532c">
|
|
9
9
|
<meta name="theme-color" content="#ffffff">
|
|
10
10
|
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
</script>
|
|
41
41
|
<noscript><div><img src="https://mc.yandex.ru/watch/56446840" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
42
42
|
<!-- /Yandex.Metrika counter -->
|
|
43
|
-
<script src="build/bundle.
|
|
43
|
+
<script src="build/bundle.57b0e524.js"></script>
|
|
44
44
|
</body>
|
|
45
45
|
</html>
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import Alert from './Alert';
|
|
3
|
+
declare type Args = ComponentProps<typeof Alert>;
|
|
2
4
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
4
|
-
baseClassName?: string | undefined;
|
|
5
|
-
className?: string | undefined;
|
|
6
|
-
intent?: "success" | "info" | "warning" | "danger" | undefined;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
onClose?: ((e: React.SyntheticEvent<HTMLElement, Event>) => void) | undefined;
|
|
9
|
-
}>): React.JSX.Element;
|
|
5
|
+
(args: Args): JSX.Element;
|
|
10
6
|
args: {
|
|
11
7
|
children: string;
|
|
12
8
|
};
|
|
13
9
|
};
|
|
14
|
-
export declare const Intents: () =>
|
|
10
|
+
export declare const Intents: () => JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component, ReactElement, ReactInstance, RefObject } from 'react';
|
|
2
2
|
declare type AutoClosableProps = {
|
|
3
3
|
/**
|
|
4
4
|
* onClose handler
|
|
@@ -31,29 +31,8 @@ declare class AutoClosable extends Component<AutoClosableProps> {
|
|
|
31
31
|
children: AutoClosable[];
|
|
32
32
|
addChild: (child: AutoClosable) => void;
|
|
33
33
|
removeChild: (child: AutoClosable) => void;
|
|
34
|
-
getIgnoreNodes: () =>
|
|
35
|
-
new (): Node;
|
|
36
|
-
prototype: Node;
|
|
37
|
-
readonly ATTRIBUTE_NODE: number;
|
|
38
|
-
readonly CDATA_SECTION_NODE: number;
|
|
39
|
-
readonly COMMENT_NODE: number;
|
|
40
|
-
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
41
|
-
readonly DOCUMENT_NODE: number;
|
|
42
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
43
|
-
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
44
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
45
|
-
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
46
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
47
|
-
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
48
|
-
readonly DOCUMENT_TYPE_NODE: number;
|
|
49
|
-
readonly ELEMENT_NODE: number;
|
|
50
|
-
readonly ENTITY_NODE: number;
|
|
51
|
-
readonly ENTITY_REFERENCE_NODE: number;
|
|
52
|
-
readonly NOTATION_NODE: number;
|
|
53
|
-
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
54
|
-
readonly TEXT_NODE: number;
|
|
55
|
-
} | React.Component<any, {}, any> | React.RefObject<HTMLElement> | null)[];
|
|
34
|
+
getIgnoreNodes: () => Array<ReactInstance | typeof Node | RefObject<HTMLElement> | null>;
|
|
56
35
|
onOutsideClick: (event: MouseEvent) => void;
|
|
57
|
-
render():
|
|
36
|
+
render(): JSX.Element;
|
|
58
37
|
}
|
|
59
38
|
export default AutoClosable;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
declare type Args = any;
|
|
2
2
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
3
|
+
(args: Args): JSX.Element;
|
|
4
4
|
args: {
|
|
5
5
|
children: string;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
export declare const Ghost: {
|
|
9
|
-
(args:
|
|
9
|
+
(args: Args): JSX.Element;
|
|
10
10
|
args: {
|
|
11
11
|
icon: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export declare const Intents: () =>
|
|
15
|
-
export declare const Arrows: () =>
|
|
16
|
-
export declare const States: () =>
|
|
14
|
+
export declare const Intents: () => JSX.Element;
|
|
15
|
+
export declare const Arrows: () => JSX.Element;
|
|
16
|
+
export declare const States: () => JSX.Element[];
|
|
17
|
+
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare type ButtonContextValue = {
|
|
3
2
|
defaultProps: {
|
|
4
3
|
size?: 'md' | 'lg';
|
|
5
4
|
};
|
|
6
5
|
};
|
|
7
|
-
export declare const ButtonContext:
|
|
6
|
+
export declare const ButtonContext: import("react").Context<ButtonContextValue>;
|
|
8
7
|
export declare const getButtonContextValue: (value: Partial<ButtonContextValue>) => ButtonContextValue;
|
|
9
8
|
export default ButtonContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
2
|
import './PreviewPanel.less';
|
|
3
3
|
declare type PreviewPanelProps = {
|
|
4
4
|
/**
|
|
@@ -49,5 +49,5 @@ declare type PreviewPanelProps = {
|
|
|
49
49
|
* `PreviewPanel` component is used for displaying website preview.
|
|
50
50
|
* @since 0.3.0
|
|
51
51
|
*/
|
|
52
|
-
declare const PreviewPanel: ({ background, image, padding, alt, children, className, baseClassName, html, ...props }: PreviewPanelProps) =>
|
|
52
|
+
declare const PreviewPanel: ({ background, image, padding, alt, children, className, baseClassName, html, ...props }: PreviewPanelProps) => JSX.Element;
|
|
53
53
|
export default PreviewPanel;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
declare type ClosingConfirmationProps = {
|
|
3
3
|
onClose?: () => void;
|
|
4
4
|
closingConfirmation?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const useClosingConfirmation: ({ onClose, closingConfirmation }: ClosingConfirmationProps) => {
|
|
7
7
|
onCloseWithConfirmation: any;
|
|
8
|
-
closingConfirmationDialog:
|
|
8
|
+
closingConfirmationDialog: ReactElement<any, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null;
|
|
9
9
|
};
|
|
10
10
|
export default useClosingConfirmation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps, ReactElement } from 'react';
|
|
2
2
|
import ComboBoxOption from './ComboBoxOption';
|
|
3
3
|
import './ComboBox.less';
|
|
4
4
|
declare type ComboBoxProps = {
|
|
@@ -52,7 +52,7 @@ declare type ComboBoxProps = {
|
|
|
52
52
|
children: ReactElement<ComponentProps<typeof ComboBoxOption>>[];
|
|
53
53
|
};
|
|
54
54
|
declare const _default: {
|
|
55
|
-
(props: ComboBoxProps):
|
|
55
|
+
(props: ComboBoxProps): JSX.Element;
|
|
56
56
|
displayName: string;
|
|
57
57
|
};
|
|
58
58
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement, ReactNode, RefObject } from 'react';
|
|
2
2
|
import { EventEmitter } from '../utils';
|
|
3
3
|
import './ComboBoxDropdown.less';
|
|
4
4
|
declare type ValueType = any;
|
|
@@ -36,5 +36,5 @@ declare type ComboBoxDropdownProps = {
|
|
|
36
36
|
noOptions?: ReactNode;
|
|
37
37
|
emitter?: EventEmitter;
|
|
38
38
|
};
|
|
39
|
-
declare const ComboBoxDropdown: ({ baseClassName, className, control, controlRef, opened, disabled, groups, options, onHighlightedIndexChange, onClose, value, highlightedIndex, onSelect, noOptions, emitter, ...props }: ComboBoxDropdownProps) =>
|
|
39
|
+
declare const ComboBoxDropdown: ({ baseClassName, className, control, controlRef, opened, disabled, groups, options, onHighlightedIndexChange, onClose, value, highlightedIndex, onSelect, noOptions, emitter, ...props }: ComboBoxDropdownProps) => JSX.Element;
|
|
40
40
|
export default ComboBoxDropdown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PureComponent, ReactNode, RefObject } from 'react';
|
|
2
2
|
import './ConsoleOutput.less';
|
|
3
3
|
declare type ConsoleOutputProps = {
|
|
4
4
|
/**
|
|
@@ -47,6 +47,6 @@ declare class ConsoleOutput extends PureComponent<ConsoleOutputProps> {
|
|
|
47
47
|
prevScrollTop: number;
|
|
48
48
|
autoscrollCancelled: boolean;
|
|
49
49
|
handleScroll: () => void;
|
|
50
|
-
render():
|
|
50
|
+
render(): JSX.Element;
|
|
51
51
|
}
|
|
52
52
|
export default ConsoleOutput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
import { IconName, IconProps } from '../Icon';
|
|
3
3
|
import './IconsLoader.less';
|
|
4
4
|
declare type IconsLoaderProps = {
|
|
@@ -8,5 +8,5 @@ declare type IconsLoaderProps = {
|
|
|
8
8
|
icons?: (IconName | IconProps | ReactElement<any>)[];
|
|
9
9
|
size?: IconProps['size'];
|
|
10
10
|
};
|
|
11
|
-
declare const IconsLoader: ({ baseClassName, className, icons, size, style, ...props }: IconsLoaderProps) =>
|
|
11
|
+
declare const IconsLoader: ({ baseClassName, className, icons, size, style, ...props }: IconsLoaderProps) => JSX.Element;
|
|
12
12
|
export default IconsLoader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
2
|
import './Cuttable.less';
|
|
3
3
|
declare type CuttableProps = {
|
|
4
4
|
/**
|
|
@@ -55,9 +55,9 @@ declare class Cuttable extends Component<CuttableProps, CuttableState> {
|
|
|
55
55
|
collapsed: undefined;
|
|
56
56
|
autofit: boolean;
|
|
57
57
|
};
|
|
58
|
-
contentRef:
|
|
58
|
+
contentRef: import("react").RefObject<HTMLDivElement>;
|
|
59
59
|
handleToggle: () => void;
|
|
60
60
|
handleResize: () => void;
|
|
61
|
-
render():
|
|
61
|
+
render(): JSX.Element;
|
|
62
62
|
}
|
|
63
63
|
export default Cuttable;
|
|
@@ -1,34 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import Cuttable from './Cuttable';
|
|
3
|
+
declare type Args = ComponentProps<typeof Cuttable>;
|
|
2
4
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
collapsed?: boolean | undefined;
|
|
6
|
-
maxHeight?: string | undefined;
|
|
7
|
-
locale: {
|
|
8
|
-
showMore: string;
|
|
9
|
-
showLess: string;
|
|
10
|
-
};
|
|
11
|
-
className?: string | undefined;
|
|
12
|
-
baseClassName?: string | undefined;
|
|
13
|
-
}): React.JSX.Element;
|
|
5
|
+
(args: Args): JSX.Element;
|
|
14
6
|
args: {
|
|
15
|
-
children:
|
|
7
|
+
children: JSX.Element;
|
|
16
8
|
};
|
|
17
9
|
};
|
|
18
10
|
export declare const WithItemList: {
|
|
19
|
-
(args:
|
|
20
|
-
children: React.ReactNode;
|
|
21
|
-
collapsed?: boolean | undefined;
|
|
22
|
-
maxHeight?: string | undefined;
|
|
23
|
-
locale: {
|
|
24
|
-
showMore: string;
|
|
25
|
-
showLess: string;
|
|
26
|
-
};
|
|
27
|
-
className?: string | undefined;
|
|
28
|
-
baseClassName?: string | undefined;
|
|
29
|
-
}): React.JSX.Element;
|
|
11
|
+
(args: Args): JSX.Element;
|
|
30
12
|
args: {
|
|
31
13
|
maxHeight: number;
|
|
32
|
-
children:
|
|
14
|
+
children: JSX.Element;
|
|
33
15
|
};
|
|
34
16
|
};
|
|
17
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import Dialog from './Dialog';
|
|
3
|
+
declare type Args = ComponentProps<typeof Dialog>;
|
|
2
4
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
5
|
+
(args: Args): JSX.Element;
|
|
4
6
|
args: {
|
|
5
7
|
children: string;
|
|
6
8
|
title: string;
|
|
@@ -8,10 +10,10 @@ export declare const Basic: {
|
|
|
8
10
|
};
|
|
9
11
|
};
|
|
10
12
|
export declare const WithSideBanner: {
|
|
11
|
-
(args:
|
|
13
|
+
(args: Args): JSX.Element;
|
|
12
14
|
args: {
|
|
13
15
|
size: string;
|
|
14
|
-
sideBanner:
|
|
16
|
+
sideBanner: JSX.Element;
|
|
15
17
|
sideBannerContainer: {
|
|
16
18
|
background: string;
|
|
17
19
|
};
|
|
@@ -20,3 +22,4 @@ export declare const WithSideBanner: {
|
|
|
20
22
|
subtitle: string;
|
|
21
23
|
};
|
|
22
24
|
};
|
|
25
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import Drawer from './Drawer';
|
|
3
|
+
declare type Args = ComponentProps<typeof Drawer>;
|
|
2
4
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
5
|
+
(args: Args): JSX.Element;
|
|
4
6
|
args: {
|
|
5
7
|
children: string;
|
|
6
8
|
title: string;
|
|
@@ -8,7 +10,7 @@ export declare const Basic: {
|
|
|
8
10
|
};
|
|
9
11
|
};
|
|
10
12
|
export declare const WithForm: {
|
|
11
|
-
(args:
|
|
13
|
+
(args: Args): JSX.Element;
|
|
12
14
|
args: {
|
|
13
15
|
form: {};
|
|
14
16
|
children: string;
|
|
@@ -17,10 +19,10 @@ export declare const WithForm: {
|
|
|
17
19
|
};
|
|
18
20
|
};
|
|
19
21
|
export declare const WithSideBanner: {
|
|
20
|
-
(args:
|
|
22
|
+
(args: Args): JSX.Element;
|
|
21
23
|
args: {
|
|
22
24
|
size: string;
|
|
23
|
-
sideBanner:
|
|
25
|
+
sideBanner: JSX.Element;
|
|
24
26
|
sideBannerContainer: {
|
|
25
27
|
background: string;
|
|
26
28
|
};
|
|
@@ -30,7 +32,7 @@ export declare const WithSideBanner: {
|
|
|
30
32
|
};
|
|
31
33
|
};
|
|
32
34
|
export declare const WithClosingConfirmation: {
|
|
33
|
-
(args:
|
|
35
|
+
(args: Args): JSX.Element;
|
|
34
36
|
args: {
|
|
35
37
|
closingConfirmation: boolean;
|
|
36
38
|
children: string;
|
|
@@ -38,3 +40,4 @@ export declare const WithClosingConfirmation: {
|
|
|
38
40
|
subtitle: string;
|
|
39
41
|
};
|
|
40
42
|
};
|
|
43
|
+
export {};
|
|
@@ -37,7 +37,7 @@ declare class DrawerProgress extends Component<DrawerProgressProps, DrawerProgre
|
|
|
37
37
|
componentDidUpdate(_prevProps: DrawerProgressProps, prevState: DrawerProgressState): void;
|
|
38
38
|
componentWillUnmount(): void;
|
|
39
39
|
closeTimeout?: number;
|
|
40
|
-
handleStatusChange: (status:
|
|
40
|
+
handleStatusChange: (status: ProgressStepProps['status']) => void;
|
|
41
41
|
handleClose: () => void;
|
|
42
42
|
handleCancel: () => void;
|
|
43
43
|
render(): {} | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode, FocusEvent } from 'react';
|
|
2
2
|
declare type FocusTrapProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
onFocus?: (e: FocusEvent<HTMLElement>) => void;
|
|
5
5
|
};
|
|
6
|
-
declare const _default:
|
|
6
|
+
declare const _default: import("react").ForwardRefExoticComponent<FocusTrapProps & import("react").RefAttributes<HTMLElement>>;
|
|
7
7
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode, ComponentPropsWithRef, ReactElement, MutableRefObject, HTMLProps } from 'react';
|
|
2
2
|
import Button from '../Button';
|
|
3
3
|
import { FormInstanceHandles, FormValues, FormErrors } from './types';
|
|
4
4
|
import './Form.less';
|
|
@@ -102,12 +102,12 @@ export declare type FormProps<FV extends FormValues> = {
|
|
|
102
102
|
* [More details about designing of forms.](#!/Good%20Forms)
|
|
103
103
|
* @since 0.0.54
|
|
104
104
|
*/
|
|
105
|
-
declare const RefForwardingForm:
|
|
105
|
+
declare const RefForwardingForm: import("react").ForwardRefExoticComponent<{
|
|
106
106
|
/**
|
|
107
107
|
* Required mark.
|
|
108
108
|
* @since 0.0.54
|
|
109
109
|
*/
|
|
110
|
-
requiredMark?:
|
|
110
|
+
requiredMark?: ReactNode;
|
|
111
111
|
/**
|
|
112
112
|
* Hide required legend.
|
|
113
113
|
* @ignore
|
|
@@ -133,7 +133,7 @@ declare const RefForwardingForm: React.ForwardRefExoticComponent<{
|
|
|
133
133
|
* Content of the `Form`.
|
|
134
134
|
* @since 0.0.54
|
|
135
135
|
*/
|
|
136
|
-
children?:
|
|
136
|
+
children?: ReactNode;
|
|
137
137
|
/**
|
|
138
138
|
* Submit button visibility or custom configuration
|
|
139
139
|
* @since 0.0.58
|
|
@@ -153,7 +153,7 @@ declare const RefForwardingForm: React.ForwardRefExoticComponent<{
|
|
|
153
153
|
* Additional buttons
|
|
154
154
|
* @since 0.0.58
|
|
155
155
|
*/
|
|
156
|
-
additionalButtons?:
|
|
156
|
+
additionalButtons?: ReactNode[] | undefined;
|
|
157
157
|
/**
|
|
158
158
|
* A callback function, can be executed when some field value is changing.
|
|
159
159
|
* @since 3.1.0
|
|
@@ -188,13 +188,13 @@ declare const RefForwardingForm: React.ForwardRefExoticComponent<{
|
|
|
188
188
|
*/
|
|
189
189
|
render?: ((params: {
|
|
190
190
|
renderForm: (params: {
|
|
191
|
-
actionButtons?:
|
|
192
|
-
}) =>
|
|
193
|
-
renderActionButtons: () =>
|
|
194
|
-
}) =>
|
|
191
|
+
actionButtons?: ReactNode;
|
|
192
|
+
}) => ReactElement;
|
|
193
|
+
renderActionButtons: () => ReactElement;
|
|
194
|
+
}) => ReactNode) | undefined;
|
|
195
195
|
/**
|
|
196
196
|
* @ignore
|
|
197
197
|
*/
|
|
198
|
-
innerRef?:
|
|
199
|
-
} & Pick<
|
|
198
|
+
innerRef?: MutableRefObject<HTMLFormElement | null> | undefined;
|
|
199
|
+
} & Pick<HTMLProps<HTMLFormElement>, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "color" | "content" | "size" | "wrap" | "multiple" | "height" | "translate" | "width" | "children" | "key" | "list" | "step" | "target" | "role" | "resource" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "type" | "useMap" | "value" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<FormInstanceHandles>>;
|
|
200
200
|
export default RefForwardingForm;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
declare type Args = any;
|
|
2
2
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
3
|
+
(args: Args): JSX.Element;
|
|
4
4
|
args: {
|
|
5
5
|
values: {
|
|
6
6
|
field1: string;
|
|
7
7
|
field2: string;
|
|
8
8
|
field3: boolean;
|
|
9
9
|
};
|
|
10
|
-
children:
|
|
10
|
+
children: JSX.Element[];
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
+
export {};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import FormFieldCheckbox from './FormFieldCheckbox';
|
|
3
|
+
declare type Args = ComponentProps<typeof FormFieldCheckbox>;
|
|
2
4
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
5
|
+
(args: Args): JSX.Element;
|
|
4
6
|
args: {
|
|
5
7
|
name: string;
|
|
6
8
|
label: string;
|
|
7
9
|
};
|
|
8
10
|
};
|
|
9
11
|
export declare const WithFullDescription: {
|
|
10
|
-
(args:
|
|
12
|
+
(args: Args): JSX.Element;
|
|
11
13
|
args: {
|
|
12
14
|
label: string;
|
|
13
15
|
fullDescription: string;
|
|
@@ -15,3 +17,4 @@ export declare const WithFullDescription: {
|
|
|
15
17
|
name: string;
|
|
16
18
|
};
|
|
17
19
|
};
|
|
20
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component, ComponentProps, ComponentPropsWithRef, ReactElement, RefObject } from 'react';
|
|
2
2
|
import Button from '../Button';
|
|
3
3
|
import FormField from '../FormField';
|
|
4
4
|
import { PasswordMeterProps } from './PasswordMeter';
|
|
@@ -85,7 +85,7 @@ declare class FormFieldPassword extends Component<FormFieldPasswordProps, FormFi
|
|
|
85
85
|
renderGenerateButton({ setValue, isDisabled, }: {
|
|
86
86
|
setValue: (value: any) => void;
|
|
87
87
|
isDisabled: () => boolean;
|
|
88
|
-
}):
|
|
89
|
-
render():
|
|
88
|
+
}): JSX.Element;
|
|
89
|
+
render(): JSX.Element;
|
|
90
90
|
}
|
|
91
91
|
export default FormFieldPassword;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
declare type Args = any;
|
|
2
2
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
3
|
+
(args: Args): JSX.Element;
|
|
4
4
|
args: {};
|
|
5
5
|
};
|
|
6
|
-
export declare const All: () =>
|
|
6
|
+
export declare const All: () => JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import './InputFile.less';
|
|
3
3
|
declare type InputFileProps = {
|
|
4
4
|
/**
|
|
@@ -50,5 +50,5 @@ declare type InputFileProps = {
|
|
|
50
50
|
* `InputFile` component is used for browsing and choosing a file from the local disk.
|
|
51
51
|
* @since 3.2.0
|
|
52
52
|
*/
|
|
53
|
-
declare const InputFile: ({ baseClassName, className, onChange, name, disabled, locale, testId, accept, ...props }: InputFileProps) =>
|
|
53
|
+
declare const InputFile: ({ baseClassName, className, onChange, name, disabled, locale, testId, accept, ...props }: InputFileProps) => JSX.Element;
|
|
54
54
|
export default InputFile;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import ItemLink from './ItemLink';
|
|
3
|
+
declare type Args = ComponentProps<typeof ItemLink>;
|
|
2
4
|
export declare const Basic: {
|
|
3
|
-
(args:
|
|
4
|
-
baseClassName?: string | undefined;
|
|
5
|
-
className?: string | undefined;
|
|
6
|
-
hoverable?: boolean | undefined;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
} & React.HTMLProps<HTMLDivElement>>): React.JSX.Element;
|
|
5
|
+
(args: Args): JSX.Element;
|
|
9
6
|
args: {
|
|
10
7
|
children: string;
|
|
11
8
|
onClick: () => void;
|
|
12
9
|
'data-test': string;
|
|
13
10
|
};
|
|
14
11
|
};
|
|
12
|
+
export {};
|