@plesk/ui-library 3.31.2 → 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 +34 -25
- package/cjs/components/Button/Button.stories.js +82 -49
- package/cjs/components/Button/ButtonContext.js +27 -0
- 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 -50
- package/cjs/components/Drawer/Drawer.stories.js +24 -16
- package/cjs/components/Drawer/DrawerProgress.js +40 -31
- 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 +89 -75
- 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 +38 -23
- 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/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 +4755 -2803
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +19 -6
- 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 +35 -26
- package/esm/components/Button/Button.stories.js +84 -49
- package/esm/components/Button/ButtonContext.js +18 -0
- 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 -50
- package/esm/components/Drawer/Drawer.stories.js +26 -14
- package/esm/components/Drawer/DrawerProgress.js +41 -31
- 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 +90 -75
- 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 +39 -23
- 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 +56 -60
- package/styleguide/build/bundle.57b0e524.js +2 -0
- package/styleguide/build/{bundle.26082873.js.LICENSE.txt → bundle.57b0e524.js.LICENSE.txt} +13 -4
- package/styleguide/index.html +2 -2
- package/types/src/components/Alert/Alert.stories.d.ts +5 -8
- package/types/src/components/AutoClosable/AutoClosable.d.ts +2 -23
- package/types/src/components/Button/Button.stories.d.ts +4 -2
- package/types/src/components/Button/ButtonContext.d.ts +8 -0
- package/types/src/components/ClosingConfirmation/useClosingConfirmation.d.ts +2 -2
- package/types/src/components/Cuttable/Cuttable.d.ts +2 -2
- package/types/src/components/Cuttable/Cuttable.stories.d.ts +6 -23
- package/types/src/components/Dialog/Dialog.stories.d.ts +6 -2
- package/types/src/components/Drawer/Drawer.stories.d.ts +8 -4
- 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 +17 -17
- package/types/src/components/Form/Form.stories.d.ts +3 -1
- package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.stories.d.ts +6 -2
- 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 +3 -1
- package/types/src/components/Input/Input.d.ts +0 -1
- package/types/src/components/ItemLink/ItemLink.stories.d.ts +5 -7
- package/types/src/components/ItemList/ItemList.d.ts +2 -2
- 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/List/List.stories.d.ts +9 -7
- package/types/src/components/List/ListActionsDivider.d.ts +4 -4
- package/types/src/components/Menu/Menu.stories.d.ts +5 -3
- package/types/src/components/Panel/Panel.d.ts +2 -2
- package/types/src/components/Popover/Popover.stories.d.ts +7 -3
- package/types/src/components/Select/Select.d.ts +0 -1
- package/types/src/components/Select/Select.stories.d.ts +5 -16
- 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/SpotPulsar.d.ts +2 -3
- package/types/src/components/Status/Status.stories.d.ts +5 -16
- package/types/src/components/Tabs/Tabs.stories.d.ts +5 -1
- package/types/src/components/TextArea/TextArea.d.ts +4 -4
- package/types/src/components/Toolbar/ToolbarItem.d.ts +2 -2
- package/types/src/components/Toolbar/ToolbarMenu.d.ts +2 -2
- package/types/src/components/utils.d.ts +5 -5
- package/types/src/utils.d.ts +0 -1
- package/cjs/components/Drawer/ScrollDirection.js +0 -45
- package/esm/components/Drawer/ScrollDirection.js +0 -37
- package/styleguide/build/bundle.26082873.js +0 -2
- package/styleguide/images/default.svg +0 -1
- package/styleguide/images/empty-list_256.png +0 -0
- package/styleguide/images/filtered.svg +0 -1
- package/styleguide/patterns/controls/control-button-tooltip-1-do.png +0 -0
- package/styleguide/patterns/controls/control-button-tooltip-1-dont.png +0 -0
- package/styleguide/patterns/controls/control-button-tooltip-2-do.png +0 -0
- package/styleguide/patterns/controls/control-button-tooltip-2-dont.png +0 -0
- package/styleguide/patterns/controls/control-button-tooltip-3-do.png +0 -0
- package/styleguide/patterns/controls/control-button-tooltip-3-dont.png +0 -0
- package/styleguide/patterns/dialogsWindows/autoclose.png +0 -0
- package/styleguide/patterns/dialogsWindows/focus.png +0 -0
- package/styleguide/patterns/dialogsWindows/header.png +0 -0
- package/styleguide/patterns/dialogsWindows/image.png +0 -0
- package/styleguide/patterns/dialogsWindows/list_submit.png +0 -0
- package/styleguide/patterns/dialogsWindows/new_object.png +0 -0
- package/styleguide/patterns/dialogsWindows/popover-confirm.png +0 -0
- package/styleguide/patterns/dialogsWindows/popover.png +0 -0
- package/styleguide/patterns/dialogsWindows/similar_buttons.png +0 -0
- package/styleguide/patterns/dialogsWindows/submit.png +0 -0
- package/styleguide/patterns/dialogsWindows/toast_controls.png +0 -0
- package/styleguide/patterns/dialogsWindows/toaster_intent.png +0 -0
- package/styleguide/patterns/dialogsWindows/tooltip.png +0 -0
- package/styleguide/patterns/dialogsWindows/tour.png +0 -0
- package/styleguide/patterns/dialogsWindows/when_to_show.png +0 -0
- package/styleguide/patterns/dialogsWindows/width.png +0 -0
- package/types/package.d.ts +0 -138
|
@@ -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.
|
|
@@ -83,7 +92,7 @@ object-assign
|
|
|
83
92
|
|
|
84
93
|
/**!
|
|
85
94
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
86
|
-
* @version 1.
|
|
95
|
+
* @version 1.16.1
|
|
87
96
|
* @license
|
|
88
97
|
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
89
98
|
*
|
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
|
-
}>): JSX.Element;
|
|
5
|
+
(args: Args): JSX.Element;
|
|
10
6
|
args: {
|
|
11
7
|
children: string;
|
|
12
8
|
};
|
|
13
9
|
};
|
|
14
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,28 +31,7 @@ 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
36
|
render(): JSX.Element;
|
|
58
37
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
declare type Args = any;
|
|
1
2
|
export declare const Basic: {
|
|
2
|
-
(args:
|
|
3
|
+
(args: Args): JSX.Element;
|
|
3
4
|
args: {
|
|
4
5
|
children: string;
|
|
5
6
|
};
|
|
6
7
|
};
|
|
7
8
|
export declare const Ghost: {
|
|
8
|
-
(args:
|
|
9
|
+
(args: Args): JSX.Element;
|
|
9
10
|
args: {
|
|
10
11
|
icon: string;
|
|
11
12
|
};
|
|
@@ -13,3 +14,4 @@ export declare const Ghost: {
|
|
|
13
14
|
export declare const Intents: () => JSX.Element;
|
|
14
15
|
export declare const Arrows: () => JSX.Element;
|
|
15
16
|
export declare const States: () => JSX.Element[];
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare type ButtonContextValue = {
|
|
2
|
+
defaultProps: {
|
|
3
|
+
size?: 'md' | 'lg';
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export declare const ButtonContext: import("react").Context<ButtonContextValue>;
|
|
7
|
+
export declare const getButtonContextValue: (value: Partial<ButtonContextValue>) => ButtonContextValue;
|
|
8
|
+
export default ButtonContext;
|
|
@@ -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 { Component, ReactNode } from 'react';
|
|
2
2
|
import './Cuttable.less';
|
|
3
3
|
declare type CuttableProps = {
|
|
4
4
|
/**
|
|
@@ -55,7 +55,7 @@ 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
61
|
render(): JSX.Element;
|
|
@@ -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
|
-
}): JSX.Element;
|
|
5
|
+
(args: Args): JSX.Element;
|
|
14
6
|
args: {
|
|
15
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
|
-
}): JSX.Element;
|
|
11
|
+
(args: Args): JSX.Element;
|
|
30
12
|
args: {
|
|
31
13
|
maxHeight: number;
|
|
32
14
|
children: JSX.Element;
|
|
33
15
|
};
|
|
34
16
|
};
|
|
17
|
+
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import Dialog from './Dialog';
|
|
3
|
+
declare type Args = ComponentProps<typeof Dialog>;
|
|
1
4
|
export declare const Basic: {
|
|
2
|
-
(args:
|
|
5
|
+
(args: Args): JSX.Element;
|
|
3
6
|
args: {
|
|
4
7
|
children: string;
|
|
5
8
|
title: string;
|
|
@@ -7,7 +10,7 @@ export declare const Basic: {
|
|
|
7
10
|
};
|
|
8
11
|
};
|
|
9
12
|
export declare const WithSideBanner: {
|
|
10
|
-
(args:
|
|
13
|
+
(args: Args): JSX.Element;
|
|
11
14
|
args: {
|
|
12
15
|
size: string;
|
|
13
16
|
sideBanner: JSX.Element;
|
|
@@ -19,3 +22,4 @@ export declare const WithSideBanner: {
|
|
|
19
22
|
subtitle: string;
|
|
20
23
|
};
|
|
21
24
|
};
|
|
25
|
+
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import Drawer from './Drawer';
|
|
3
|
+
declare type Args = ComponentProps<typeof Drawer>;
|
|
1
4
|
export declare const Basic: {
|
|
2
|
-
(args:
|
|
5
|
+
(args: Args): JSX.Element;
|
|
3
6
|
args: {
|
|
4
7
|
children: string;
|
|
5
8
|
title: string;
|
|
@@ -7,7 +10,7 @@ export declare const Basic: {
|
|
|
7
10
|
};
|
|
8
11
|
};
|
|
9
12
|
export declare const WithForm: {
|
|
10
|
-
(args:
|
|
13
|
+
(args: Args): JSX.Element;
|
|
11
14
|
args: {
|
|
12
15
|
form: {};
|
|
13
16
|
children: string;
|
|
@@ -16,7 +19,7 @@ export declare const WithForm: {
|
|
|
16
19
|
};
|
|
17
20
|
};
|
|
18
21
|
export declare const WithSideBanner: {
|
|
19
|
-
(args:
|
|
22
|
+
(args: Args): JSX.Element;
|
|
20
23
|
args: {
|
|
21
24
|
size: string;
|
|
22
25
|
sideBanner: JSX.Element;
|
|
@@ -29,7 +32,7 @@ export declare const WithSideBanner: {
|
|
|
29
32
|
};
|
|
30
33
|
};
|
|
31
34
|
export declare const WithClosingConfirmation: {
|
|
32
|
-
(args:
|
|
35
|
+
(args: Args): JSX.Element;
|
|
33
36
|
args: {
|
|
34
37
|
closingConfirmation: boolean;
|
|
35
38
|
children: string;
|
|
@@ -37,3 +40,4 @@ export declare const WithClosingConfirmation: {
|
|
|
37
40
|
subtitle: string;
|
|
38
41
|
};
|
|
39
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';
|
|
@@ -38,17 +38,17 @@ export declare type FormProps<FV extends FormValues> = {
|
|
|
38
38
|
* Submit button visibility or custom configuration
|
|
39
39
|
* @since 0.0.58
|
|
40
40
|
*/
|
|
41
|
-
submitButton?: boolean | ComponentPropsWithRef<typeof Button
|
|
41
|
+
submitButton?: boolean | Partial<ComponentPropsWithRef<typeof Button>>;
|
|
42
42
|
/**
|
|
43
43
|
* Apply button visibility or custom configuration
|
|
44
44
|
* @since 0.0.58
|
|
45
45
|
*/
|
|
46
|
-
applyButton?: boolean | ComponentPropsWithRef<typeof Button
|
|
46
|
+
applyButton?: boolean | Partial<ComponentPropsWithRef<typeof Button>>;
|
|
47
47
|
/**
|
|
48
48
|
* Cancel button visibility or custom configuration
|
|
49
49
|
* @since 0.0.58
|
|
50
50
|
*/
|
|
51
|
-
cancelButton?: boolean | ComponentPropsWithRef<typeof Button
|
|
51
|
+
cancelButton?: boolean | Partial<ComponentPropsWithRef<typeof Button>>;
|
|
52
52
|
/**
|
|
53
53
|
* Additional buttons
|
|
54
54
|
* @since 0.0.58
|
|
@@ -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,27 +133,27 @@ 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
|
|
140
140
|
*/
|
|
141
|
-
submitButton?: boolean | {} | undefined;
|
|
141
|
+
submitButton?: boolean | Partial<{}> | undefined;
|
|
142
142
|
/**
|
|
143
143
|
* Apply button visibility or custom configuration
|
|
144
144
|
* @since 0.0.58
|
|
145
145
|
*/
|
|
146
|
-
applyButton?: boolean | {} | undefined;
|
|
146
|
+
applyButton?: boolean | Partial<{}> | undefined;
|
|
147
147
|
/**
|
|
148
148
|
* Cancel button visibility or custom configuration
|
|
149
149
|
* @since 0.0.58
|
|
150
150
|
*/
|
|
151
|
-
cancelButton?: boolean | {} | undefined;
|
|
151
|
+
cancelButton?: boolean | Partial<{}> | undefined;
|
|
152
152
|
/**
|
|
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,15 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import FormFieldCheckbox from './FormFieldCheckbox';
|
|
3
|
+
declare type Args = ComponentProps<typeof FormFieldCheckbox>;
|
|
1
4
|
export declare const Basic: {
|
|
2
|
-
(args:
|
|
5
|
+
(args: Args): JSX.Element;
|
|
3
6
|
args: {
|
|
4
7
|
name: string;
|
|
5
8
|
label: string;
|
|
6
9
|
};
|
|
7
10
|
};
|
|
8
11
|
export declare const WithFullDescription: {
|
|
9
|
-
(args:
|
|
12
|
+
(args: Args): JSX.Element;
|
|
10
13
|
args: {
|
|
11
14
|
label: string;
|
|
12
15
|
fullDescription: string;
|
|
@@ -14,3 +17,4 @@ export declare const WithFullDescription: {
|
|
|
14
17
|
name: string;
|
|
15
18
|
};
|
|
16
19
|
};
|
|
20
|
+
export {};
|
|
@@ -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>>): 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 {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component, ComponentProps, ReactElement, MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import Grid from '../Grid';
|
|
3
3
|
import '../Item/Item.less';
|
|
4
4
|
import './ItemList.less';
|
|
@@ -97,7 +97,7 @@ declare class ItemList extends Component<ItemListProps, ItemListState> {
|
|
|
97
97
|
value: string | number | (string | number)[] | null;
|
|
98
98
|
} | null;
|
|
99
99
|
componentDidMount(): void;
|
|
100
|
-
createItemProps: (item:
|
|
100
|
+
createItemProps: (item: ReactElement<ItemProps>) => ItemProps;
|
|
101
101
|
renderNormal({ baseClassName, children, ...props }: ItemListProps): JSX.Element;
|
|
102
102
|
someChild(predicate: (child: ReactElement<ItemProps>) => boolean): boolean;
|
|
103
103
|
/**
|