@plesk/ui-library 3.35.1 → 3.35.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Action/Action.js +1 -2
- package/cjs/components/Alert/Alert.js +1 -2
- package/cjs/components/AutoClosable/AutoClosable.js +1 -2
- package/cjs/components/AuxiliaryActions/AuxiliaryActions.js +1 -2
- package/cjs/components/Badge/Badge.js +1 -2
- package/cjs/components/Breadcrumbs/Breadcrumbs.js +1 -2
- package/cjs/components/Button/Button.js +2 -4
- package/cjs/components/Button/ButtonContext.js +2 -4
- package/cjs/components/ButtonGroup/ButtonGroup.js +1 -2
- package/cjs/components/Card/Card.js +1 -2
- package/cjs/components/Card/CardButton.js +1 -2
- package/cjs/components/Card/PreviewPanel.js +1 -2
- package/cjs/components/CardList/CardList.js +5 -10
- package/cjs/components/CardList/CardListToolbar.js +1 -2
- package/cjs/components/Carousel/Carousel.js +26 -41
- package/cjs/components/Checkbox/Checkbox.js +1 -2
- package/cjs/components/ClosingConfirmation/locale/en-US.js +2 -3
- package/cjs/components/ClosingConfirmation/useClosingConfirmation.js +1 -2
- package/cjs/components/CodeEditor/CodeEditor.js +1 -2
- package/cjs/components/Columns/Column.js +1 -2
- package/cjs/components/Columns/Columns.js +1 -2
- package/cjs/components/ComboBox/ComboBox.js +1 -2
- package/cjs/components/ComboBox/ComboBoxOption.js +1 -2
- package/cjs/components/ComboBoxDropdown/ComboBoxDropdown.js +1 -2
- package/cjs/components/ConsoleOutput/ConsoleOutput.js +1 -2
- package/cjs/components/ContentLoader/ContentLoader.js +1 -2
- package/cjs/components/ContentLoader/IconsLoader.js +1 -2
- package/cjs/components/Cuttable/Cuttable.js +1 -2
- package/cjs/components/Dialog/Dialog.js +1 -2
- package/cjs/components/DistractionFreeModeContext/DistractionFreeModeContext.js +1 -2
- package/cjs/components/Drawer/Drawer.js +1 -2
- package/cjs/components/Drawer/DrawerProgress.js +1 -2
- package/cjs/components/Drawer/Header.js +70 -108
- package/cjs/components/Dropdown/Dropdown.js +1 -2
- package/cjs/components/Dropdown/locale/en-US.js +2 -3
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessage.js +1 -2
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageActions.js +1 -2
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.js +1 -2
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.js +1 -2
- package/cjs/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.js +1 -2
- package/cjs/components/Figure/Figure.js +1 -2
- package/cjs/components/FocusTrap/FocusTrap.js +1 -2
- package/cjs/components/Form/DisabledContext.js +1 -2
- package/cjs/components/Form/Form.js +6 -9
- package/cjs/components/Form/FormContext.js +1 -2
- package/cjs/components/Form/ScrollableElementFormContext.js +1 -2
- package/cjs/components/FormField/FormField.js +4 -4
- package/cjs/components/FormField/index.js +9 -2
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +9 -69
- package/cjs/components/FormFieldPassword/FormFieldPassword.js +1 -2
- package/cjs/components/FormFieldPassword/PasswordMeter.js +2 -3
- package/cjs/components/FormFieldPassword/estimatePassword.js +3 -5
- package/cjs/components/FormFieldPassword/generatePassword.js +1 -2
- package/cjs/components/FormFieldPassword/locale/en-US.js +2 -3
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +65 -134
- package/cjs/components/FormFieldSelect/FormFieldSelect.js +1 -2
- package/cjs/components/FormFieldText/FormFieldText.js +56 -143
- package/cjs/components/Grid/Grid.js +10 -73
- package/cjs/components/GridCol/GridCol.js +4 -56
- package/cjs/components/Heading/Heading.js +1 -2
- package/cjs/components/Hint/Hint.js +1 -2
- package/cjs/components/Icon/Icon.js +10 -20
- package/cjs/components/Icon/constants.js +2 -4
- package/cjs/components/Icon/images/symbols.svg +39 -1
- package/cjs/components/Icon/oldIconNames.js +1 -2
- package/cjs/components/InPlaceEdit/InPlaceEdit.js +7 -29
- package/cjs/components/InPlaceEdit/locale/en-US.js +2 -3
- package/cjs/components/Input/Input.js +1 -2
- package/cjs/components/InputFile/InputFile.js +1 -2
- package/cjs/components/InputFile/locale/en-US.js +2 -3
- package/cjs/components/InputNumber/InputNumber.js +1 -2
- package/cjs/components/Item/Item.js +1 -2
- package/cjs/components/ItemLink/ItemLink.js +1 -2
- package/cjs/components/ItemList/ItemList.js +1 -2
- package/cjs/components/Label/Label.js +1 -2
- package/cjs/components/Layer/Layer.js +2 -4
- package/cjs/components/Layout/Layout.js +32 -123
- package/cjs/components/Link/Link.js +2 -4
- package/cjs/components/List/List.js +13 -10
- package/cjs/components/List/ListAction.js +1 -2
- package/cjs/components/List/ListActions.js +1 -2
- package/cjs/components/List/ListActionsDivider.js +1 -2
- package/cjs/components/List/ListEmptyView.js +1 -2
- package/cjs/components/List/ListOperation.js +2 -3
- package/cjs/components/List/ListOperationContext.js +1 -2
- package/cjs/components/LocaleProvider/LocaleProvider.js +1 -2
- package/cjs/components/Markdown/Markdown.js +1 -2
- package/cjs/components/Media/Media.js +5 -76
- package/cjs/components/Media/MediaSection.js +4 -26
- package/cjs/components/Menu/Menu.js +6 -58
- package/cjs/components/Menu/MenuBaseItem.js +5 -45
- package/cjs/components/Menu/MenuDivider.js +4 -20
- package/cjs/components/Menu/MenuHeader.js +4 -26
- package/cjs/components/Menu/MenuItem.js +7 -65
- package/cjs/components/Menu/MenuSelectableItem.js +5 -33
- package/cjs/components/OnDarkContext/OnDarkContext.js +1 -2
- package/cjs/components/Overlay/Overlay.js +1 -2
- package/cjs/components/PageHeader/PageHeader.js +1 -2
- package/cjs/components/Pagination/Pagination.js +2 -4
- package/cjs/components/Panel/Panel.js +1 -2
- package/cjs/components/Paragraph/Paragraph.js +1 -2
- package/cjs/components/Plaintext/Plaintext.js +3 -25
- package/cjs/components/Popover/Popover.js +22 -118
- package/cjs/components/Popper/Popper.js +1 -2
- package/cjs/components/Progress/Progress.js +1 -2
- package/cjs/components/ProgressBar/ProgressBar.js +1 -2
- package/cjs/components/ProgressBar/ProgressIndicator.js +1 -2
- package/cjs/components/ProgressDialog/ProgressDialog.js +13 -87
- package/cjs/components/ProgressDialogStep/ProgressDialogStep.js +1 -2
- package/cjs/components/ProgressStep/ProgressStep.js +7 -14
- package/cjs/components/Radio/Radio.js +1 -2
- package/cjs/components/Rating/Rating.js +6 -38
- package/cjs/components/ResponsiveContext/ResponsiveContext.js +1 -2
- package/cjs/components/Section/Section.js +30 -100
- package/cjs/components/Section/SectionItem.js +7 -46
- package/cjs/components/Section/index.js +16 -3
- package/cjs/components/SegmentedControl/SegmentedControl.js +1 -2
- package/cjs/components/Select/MultiValue.js +1 -2
- package/cjs/components/Select/Select.js +1 -2
- package/cjs/components/Select/SelectControl.js +1 -2
- package/cjs/components/Select/SelectOption.js +1 -2
- package/cjs/components/Select/SelectOptionGroup.js +1 -2
- package/cjs/components/Skeleton/Skeleton.js +1 -2
- package/cjs/components/Skeleton/SkeletonTabs.js +1 -2
- package/cjs/components/Skeleton/SkeletonText.js +1 -2
- package/cjs/components/Skeleton/index.js +2 -2
- package/cjs/components/Spinner/Spinner.js +1 -2
- package/cjs/components/SplitButton/SplitButton.js +2 -4
- package/cjs/components/Spot/Spot.js +1 -2
- package/cjs/components/Spot/SpotPopup.js +1 -2
- package/cjs/components/Spot/SpotPulsar.js +1 -2
- package/cjs/components/Squeezer/Squeezer.js +1 -2
- package/cjs/components/Status/Status.js +1 -2
- package/cjs/components/StatusMessage/StatusMessage.js +1 -2
- package/cjs/components/Subnav/Subnav.js +11 -58
- package/cjs/components/Subnav/index.js +6 -12
- package/cjs/components/Switch/Switch.js +1 -2
- package/cjs/components/SwitchesPanel/SwitchesPanel.js +4 -28
- package/cjs/components/SwitchesPanelItem/SwitchesPanelItem.js +4 -59
- package/cjs/components/Tabs/SearchBar.js +1 -2
- package/cjs/components/Tabs/Tab.js +1 -2
- package/cjs/components/Tabs/Tabs.js +1 -2
- package/cjs/components/Text/Text.js +1 -2
- package/cjs/components/TextArea/TextArea.js +1 -2
- package/cjs/components/Toaster/Toaster.js +3 -3
- package/cjs/components/Toolbar/RegistryContext.js +1 -2
- package/cjs/components/Toolbar/Toolbar.js +6 -21
- package/cjs/components/Toolbar/ToolbarExpander.js +1 -2
- package/cjs/components/Toolbar/ToolbarGroup.js +21 -53
- package/cjs/components/Toolbar/ToolbarMenu.js +2 -3
- package/cjs/components/Tooltip/Tooltip.js +1 -2
- package/cjs/components/Tour/Tour.js +1 -2
- package/cjs/components/Translate/Translate.js +1 -2
- package/cjs/components/VerticalContext/VerticalContext.js +2 -4
- package/cjs/components/index.js +77 -66
- package/cjs/components/intentIconMap.js +2 -3
- package/cjs/index.js +1 -2
- package/cjs/publicPath.js +1 -2
- package/cjs/utils/types/DataAttributes.js +5 -0
- package/dist/images/symbols.svg +39 -1
- 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 +1029 -2455
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +5 -5
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Button/Button.js +1 -2
- package/esm/components/Carousel/Carousel.js +25 -37
- package/esm/components/Drawer/Header.js +70 -107
- package/esm/components/Form/Form.js +5 -7
- package/esm/components/FormField/FormField.js +4 -2
- package/esm/components/FormField/index.js +2 -1
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +8 -65
- package/esm/components/FormFieldPassword/PasswordMeter.js +1 -1
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +64 -132
- package/esm/components/FormFieldText/FormFieldText.js +55 -140
- package/esm/components/Grid/Grid.js +9 -69
- package/esm/components/GridCol/GridCol.js +2 -55
- package/esm/components/Icon/constants.js +2 -2
- package/esm/components/Icon/images/symbols.svg +39 -1
- package/esm/components/InPlaceEdit/InPlaceEdit.js +6 -25
- package/esm/components/Layout/Layout.js +32 -121
- package/esm/components/Link/Link.js +1 -2
- package/esm/components/List/List.js +12 -8
- package/esm/components/List/ListOperation.js +1 -1
- package/esm/components/Media/Media.js +4 -74
- package/esm/components/Media/MediaSection.js +2 -25
- package/esm/components/Menu/Menu.js +5 -54
- package/esm/components/Menu/MenuBaseItem.js +4 -45
- package/esm/components/Menu/MenuDivider.js +2 -19
- package/esm/components/Menu/MenuHeader.js +2 -25
- package/esm/components/Menu/MenuItem.js +5 -62
- package/esm/components/Menu/MenuSelectableItem.js +3 -32
- package/esm/components/Plaintext/Plaintext.js +2 -23
- package/esm/components/Popover/Popover.js +21 -114
- package/esm/components/ProgressDialog/ProgressDialog.js +12 -83
- package/esm/components/Rating/Rating.js +5 -36
- package/esm/components/Section/Section.js +28 -97
- package/esm/components/Section/SectionItem.js +5 -41
- package/esm/components/Section/index.js +2 -1
- package/esm/components/Skeleton/index.js +2 -2
- package/esm/components/SplitButton/SplitButton.js +1 -2
- package/esm/components/Subnav/Subnav.js +10 -54
- package/esm/components/Subnav/index.js +1 -2
- package/esm/components/SwitchesPanel/SwitchesPanel.js +3 -24
- package/esm/components/SwitchesPanelItem/SwitchesPanelItem.js +3 -55
- package/esm/components/Toaster/Toaster.js +3 -1
- package/esm/components/Toolbar/Toolbar.js +7 -21
- package/esm/components/Toolbar/ToolbarGroup.js +17 -50
- package/esm/components/Toolbar/ToolbarMenu.js +1 -1
- package/esm/components/index.js +6 -12
- package/esm/index.js +1 -1
- package/esm/utils/types/DataAttributes.js +1 -0
- package/package.json +24 -25
- package/styleguide/build/bundle.8058bbce.js +2 -0
- package/styleguide/images/symbols.svg +39 -1
- package/styleguide/index.html +2 -2
- package/types/src/components/AutoClosable/AutoClosable.d.ts +23 -2
- package/types/src/components/Button/Button.d.ts +3 -7
- package/types/src/components/Carousel/Carousel.d.ts +58 -0
- package/types/src/components/Carousel/index.d.ts +2 -0
- package/types/src/components/Columns/Column.d.ts +2 -2
- package/types/src/components/Columns/Columns.d.ts +2 -2
- package/types/src/components/Columns/index.d.ts +2 -0
- package/types/src/components/Dialog/Dialog.d.ts +1 -1
- package/types/src/components/Dialog/index.d.ts +1 -1
- package/types/src/components/DistractionFreeModeContext/DistractionFreeModeContext.d.ts +1 -1
- package/types/src/components/DistractionFreeModeContext/index.d.ts +1 -0
- package/types/src/components/Drawer/Header.d.ts +4 -20
- package/types/src/components/Form/Form.d.ts +5 -0
- package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.d.ts +53 -0
- package/types/src/components/FormFieldCheckbox/index.d.ts +2 -0
- package/types/src/components/FormFieldPassword/PasswordMeter.d.ts +4 -3
- package/types/src/components/FormFieldPassword/generatePassword.d.ts +2 -0
- package/types/src/components/FormFieldRadioButtons/FormFieldRadioButtons.d.ts +72 -0
- package/types/src/components/FormFieldRadioButtons/index.d.ts +2 -0
- package/types/src/components/FormFieldSelect/FormFieldSelect.d.ts +1 -1
- package/types/src/components/FormFieldSelect/index.d.ts +1 -0
- package/types/src/components/FormFieldText/FormFieldText.d.ts +82 -0
- package/types/src/components/FormFieldText/index.d.ts +2 -0
- package/types/src/components/Grid/Grid.d.ts +97 -0
- package/types/src/components/Grid/index.d.ts +2 -0
- package/types/src/components/GridCol/GridCol.d.ts +53 -0
- package/types/src/components/GridCol/index.d.ts +2 -0
- package/types/src/components/Icon/constants.d.ts +1 -1
- package/types/src/components/InPlaceEdit/InPlaceEdit.d.ts +50 -0
- package/types/src/components/InPlaceEdit/index.d.ts +2 -0
- package/types/src/components/Input/Input.d.ts +1 -1
- package/types/src/components/Input/index.d.ts +1 -0
- package/types/src/components/InputFile/InputFile.d.ts +3 -2
- package/types/src/components/InputFile/index.d.ts +1 -0
- package/types/src/components/InputNumber/InputNumber.d.ts +2 -2
- package/types/src/components/InputNumber/index.d.ts +1 -0
- package/types/src/components/Layout/Layout.d.ts +161 -0
- package/types/src/components/Layout/index.d.ts +2 -0
- package/types/src/components/Link/Link.d.ts +1 -2
- package/types/src/components/LocaleProvider/LocaleProvider.d.ts +1 -1
- package/types/src/components/Media/Media.d.ts +66 -0
- package/types/src/components/Media/MediaSection.d.ts +22 -0
- package/types/src/components/Media/index.d.ts +4 -0
- package/types/src/components/Menu/Menu.d.ts +40 -0
- package/types/src/components/Menu/MenuBaseItem.d.ts +41 -0
- package/types/src/components/Menu/MenuDivider.d.ts +16 -0
- package/types/src/components/Menu/MenuHeader.d.ts +22 -0
- package/types/src/components/Menu/MenuItem.d.ts +49 -0
- package/types/src/components/Menu/MenuSelectableItem.d.ts +28 -0
- package/types/src/components/Menu/index.d.ts +11 -0
- package/types/src/components/Panel/Panel.d.ts +2 -1
- package/types/src/components/Plaintext/Plaintext.d.ts +23 -0
- package/types/src/components/Plaintext/index.d.ts +2 -0
- package/types/src/components/Popover/Popover.d.ts +156 -0
- package/types/src/components/Popover/index.d.ts +2 -0
- package/types/src/components/ProgressDialog/ProgressDialog.d.ts +125 -0
- package/types/src/components/ProgressDialog/index.d.ts +2 -0
- package/types/src/components/Rating/Rating.d.ts +27 -0
- package/types/src/components/Rating/index.d.ts +2 -0
- package/types/src/components/Section/Section.d.ts +145 -0
- package/types/src/components/Section/SectionItem.d.ts +38 -0
- package/types/src/components/Section/index.d.ts +5 -0
- package/types/src/components/Skeleton/Skeleton.d.ts +3 -5
- package/types/src/components/Skeleton/SkeletonTabs.d.ts +4 -4
- package/types/src/components/Skeleton/SkeletonText.d.ts +2 -2
- package/types/src/components/Skeleton/index.d.ts +4 -1
- package/types/src/components/SplitButton/SplitButton.d.ts +1 -2
- package/types/src/components/Spot/Spot.d.ts +3 -2
- package/types/src/components/Spot/SpotPulsar.d.ts +4 -2
- package/types/src/components/Spot/index.d.ts +1 -0
- package/types/src/components/Subnav/Subnav.d.ts +50 -0
- package/types/src/components/Subnav/index.d.ts +2 -0
- package/types/src/components/SwitchesPanel/SwitchesPanel.d.ts +24 -0
- package/types/src/components/SwitchesPanel/index.d.ts +2 -0
- package/types/src/components/SwitchesPanelItem/SwitchesPanelItem.d.ts +78 -0
- package/types/src/components/SwitchesPanelItem/index.d.ts +2 -0
- package/types/src/components/TextArea/TextArea.d.ts +3 -3
- package/types/src/components/TextArea/index.d.ts +1 -0
- package/types/src/components/Toolbar/RegistryContext.d.ts +2 -2
- package/types/src/components/Toolbar/Toolbar.d.ts +47 -0
- package/types/src/components/Toolbar/ToolbarGroup.d.ts +46 -0
- package/types/src/components/Toolbar/ToolbarMenu.d.ts +1 -1
- package/types/src/components/Toolbar/index.d.ts +5 -0
- package/types/src/components/Tour/Tour.d.ts +1 -1
- package/types/src/components/index.d.ts +31 -12
- package/types/src/components/utils.d.ts +1 -1
- package/types/src/utils/types/DataAttributes.d.ts +3 -0
- package/types/src/utils/types/index.d.ts +1 -0
- package/cjs/components/Alert/Alert.stories.js +0 -34
- package/cjs/components/Button/Button.stories.js +0 -109
- package/cjs/components/Cuttable/Cuttable.stories.js +0 -46
- package/cjs/components/Dialog/Dialog.stories.js +0 -49
- package/cjs/components/Drawer/Drawer.stories.js +0 -65
- package/cjs/components/Form/Form.stories.js +0 -35
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.stories.js +0 -32
- package/cjs/components/Icon/Icon.stories.js +0 -32
- package/cjs/components/ItemLink/ItemLink.stories.js +0 -20
- package/cjs/components/ItemList/ItemList.stories.js +0 -122
- package/cjs/components/List/List.stories.js +0 -152
- package/cjs/components/Markdown/Markdown.stories.js +0 -51
- package/cjs/components/Menu/Menu.stories.js +0 -77
- package/cjs/components/Popover/Popover.stories.js +0 -60
- package/cjs/components/Select/Select.stories.js +0 -57
- package/cjs/components/Skeleton/Skeleton.stories.js +0 -24
- package/cjs/components/Skeleton/SkeletonTabs.stories.js +0 -15
- package/cjs/components/Skeleton/SkeletonText.stories.js +0 -33
- package/cjs/components/Status/Status.stories.js +0 -19
- package/cjs/components/Tabs/Tabs.stories.js +0 -24
- package/cjs/tests/index.js +0 -13
- package/cjs/tests/renderer.js +0 -27
- package/dist/.DS_Store +0 -0
- package/dist/images/default.svg +0 -1
- package/dist/images/filtered.svg +0 -1
- package/esm/components/Alert/Alert.stories.js +0 -27
- package/esm/components/Button/Button.stories.js +0 -99
- package/esm/components/Cuttable/Cuttable.stories.js +0 -39
- package/esm/components/Dialog/Dialog.stories.js +0 -42
- package/esm/components/Drawer/Drawer.stories.js +0 -56
- package/esm/components/Form/Form.stories.js +0 -27
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.stories.js +0 -23
- package/esm/components/Icon/Icon.stories.js +0 -23
- package/esm/components/ItemLink/ItemLink.stories.js +0 -12
- package/esm/components/ItemList/ItemList.stories.js +0 -109
- package/esm/components/List/List.stories.js +0 -139
- package/esm/components/Markdown/Markdown.stories.js +0 -43
- package/esm/components/Menu/Menu.stories.js +0 -65
- package/esm/components/Popover/Popover.stories.js +0 -52
- package/esm/components/Select/Select.stories.js +0 -48
- package/esm/components/Skeleton/Skeleton.stories.js +0 -15
- package/esm/components/Skeleton/SkeletonTabs.stories.js +0 -7
- package/esm/components/Skeleton/SkeletonText.stories.js +0 -23
- package/esm/components/Status/Status.stories.js +0 -11
- package/esm/components/Tabs/Tabs.stories.js +0 -16
- package/esm/tests/index.js +0 -3
- package/esm/tests/renderer.js +0 -19
- package/styleguide/build/bundle.edc3f2a1.js +0 -2
- package/types/src/components/Alert/Alert.stories.d.ts +0 -11
- package/types/src/components/Button/Button.stories.d.ts +0 -17
- package/types/src/components/Cuttable/Cuttable.stories.d.ts +0 -17
- package/types/src/components/Dialog/Dialog.stories.d.ts +0 -25
- package/types/src/components/Drawer/Drawer.stories.d.ts +0 -43
- package/types/src/components/Form/Form.stories.d.ts +0 -13
- package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.stories.d.ts +0 -20
- package/types/src/components/Icon/Icon.stories.d.ts +0 -7
- package/types/src/components/ItemLink/ItemLink.stories.d.ts +0 -12
- package/types/src/components/ItemList/ItemList.stories.d.ts +0 -172
- package/types/src/components/List/List.stories.d.ts +0 -30
- package/types/src/components/Markdown/Markdown.stories.d.ts +0 -10
- package/types/src/components/Menu/Menu.stories.d.ts +0 -20
- package/types/src/components/Popover/Popover.stories.d.ts +0 -25
- package/types/src/components/Select/Select.stories.d.ts +0 -12
- package/types/src/components/Skeleton/Skeleton.stories.d.ts +0 -15
- package/types/src/components/Skeleton/SkeletonTabs.stories.d.ts +0 -5
- package/types/src/components/Skeleton/SkeletonText.stories.d.ts +0 -23
- package/types/src/components/Status/Status.stories.d.ts +0 -11
- package/types/src/components/Tabs/Tabs.stories.d.ts +0 -10
- package/types/src/tests/index.d.ts +0 -1
- package/types/src/tests/renderer.d.ts +0 -23
- /package/styleguide/build/{bundle.edc3f2a1.js.LICENSE.txt → bundle.8058bbce.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentType, FC, JSX } from 'react';
|
|
1
|
+
import { ComponentType, FC, JSX, CSSProperties } from 'react';
|
|
2
2
|
import './Skeleton.less';
|
|
3
3
|
export declare type SkeletonProps = {
|
|
4
4
|
/**
|
|
@@ -20,12 +20,10 @@ export declare type SkeletonProps = {
|
|
|
20
20
|
*/
|
|
21
21
|
height?: number | string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Custom styles for skeleton
|
|
24
24
|
* @since 3.28.0
|
|
25
25
|
*/
|
|
26
|
-
style?:
|
|
27
|
-
[key: string]: string;
|
|
28
|
-
};
|
|
26
|
+
style?: CSSProperties;
|
|
29
27
|
/**
|
|
30
28
|
* Component to render as the root element.
|
|
31
29
|
* @since 3.28.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import './SkeletonTabs.less';
|
|
3
|
-
|
|
3
|
+
export interface SkeletonTabsProps {
|
|
4
4
|
/**
|
|
5
5
|
* Number of tabs
|
|
6
6
|
* @since 3.28.0
|
|
@@ -9,12 +9,12 @@ declare type SkeletonTabsProps = {
|
|
|
9
9
|
/**
|
|
10
10
|
* @ignore
|
|
11
11
|
*/
|
|
12
|
-
className
|
|
12
|
+
className?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @ignore
|
|
15
15
|
*/
|
|
16
|
-
baseClassName
|
|
17
|
-
}
|
|
16
|
+
baseClassName?: string;
|
|
17
|
+
}
|
|
18
18
|
/**
|
|
19
19
|
* Skeleton for tabs component
|
|
20
20
|
* @since `3.28.0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ComponentType, JSX } from 'react';
|
|
2
2
|
import { SkeletonProps } from './Skeleton';
|
|
3
3
|
import './SkeletonText.less';
|
|
4
|
-
|
|
4
|
+
export interface SkeletonTextProps {
|
|
5
5
|
/**
|
|
6
6
|
* Number of rows
|
|
7
7
|
* @since 3.28.0
|
|
@@ -25,7 +25,7 @@ declare type SkeletonTextProps = {
|
|
|
25
25
|
* @ignore
|
|
26
26
|
*/
|
|
27
27
|
className?: string;
|
|
28
|
-
}
|
|
28
|
+
}
|
|
29
29
|
/**
|
|
30
30
|
* Skeleton for text-containing components. Is can be used inside Paragraph, as title, or single text
|
|
31
31
|
* @since 3.28.0
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { default } from './Skeleton';
|
|
2
|
-
export {
|
|
2
|
+
export type { SkeletonProps } from './Skeleton';
|
|
3
3
|
export { default as SkeletonTabs } from './SkeletonTabs';
|
|
4
|
+
export type { SkeletonTabsProps } from './SkeletonTabs';
|
|
5
|
+
export { default as SkeletonText } from './SkeletonText';
|
|
6
|
+
export type { SkeletonTextProps } from './SkeletonText';
|
|
@@ -46,8 +46,7 @@ export interface SplitButtonProps {
|
|
|
46
46
|
* `Split Button` is a combination of a standard [Button](#!/Button) with a [Dropdown](#!/Dropdown) menu.
|
|
47
47
|
* It is used for grouping several related actions when one of the actions should be accessible immediately
|
|
48
48
|
* because it is used more often than others.
|
|
49
|
-
*
|
|
50
|
-
* Since: 0.0.40
|
|
49
|
+
* @since 0.0.40
|
|
51
50
|
*/
|
|
52
51
|
declare const SplitButton: ({ baseClassName, className, menu, children, onClick, onKeyDown, icon, size, ...props }: SplitButtonProps) => JSX.Element;
|
|
53
52
|
export default SplitButton;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
import { SpotPulsarProps } from './SpotPulsar';
|
|
3
|
+
export interface SpotProps extends Omit<SpotPulsarProps, 'rect'> {
|
|
3
4
|
/**
|
|
4
5
|
* A css selector for the node that should be highlighted.
|
|
5
6
|
* @since 3.0.1
|
|
@@ -61,7 +62,7 @@ declare type SpotProps = {
|
|
|
61
62
|
current: number;
|
|
62
63
|
total: number;
|
|
63
64
|
};
|
|
64
|
-
}
|
|
65
|
+
}
|
|
65
66
|
/**
|
|
66
67
|
* The component can be used to attract the user's attention to a specific element on the page.
|
|
67
68
|
* @since 3.0.1
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { DataAttributes } from '../../utils/types';
|
|
1
3
|
import './SpotPulsar.less';
|
|
2
|
-
|
|
4
|
+
export interface SpotPulsarProps extends HTMLAttributes<HTMLDivElement>, DataAttributes {
|
|
3
5
|
baseClassName?: string;
|
|
4
6
|
className?: string;
|
|
5
7
|
rect: DOMRect;
|
|
6
8
|
placement?: 'left' | 'center' | 'right';
|
|
7
|
-
}
|
|
9
|
+
}
|
|
8
10
|
declare const SpotPulsar: import("react").ForwardRefExoticComponent<SpotPulsarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
11
|
export default SpotPulsar;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ReactElement, KeyboardEvent } from 'react';
|
|
2
|
+
import './Subnav.less';
|
|
3
|
+
export interface SubnavProps {
|
|
4
|
+
/**
|
|
5
|
+
* Subnav items
|
|
6
|
+
* @since 0.0.42
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactElement;
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
16
|
+
baseClassName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
onKeyDown?: (e: KeyboardEvent<HTMLDivElement>) => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* `Subnav` component is used when you need a second level navigation under [Tabs](#!/Tabs) on the screen.
|
|
24
|
+
* @since 0.0.42
|
|
25
|
+
*/
|
|
26
|
+
declare const Subnav: ({ className, children, onKeyDown, baseClassName, ...props }: SubnavProps) => JSX.Element;
|
|
27
|
+
export interface SubnavItemProps {
|
|
28
|
+
/**
|
|
29
|
+
* Is item active.
|
|
30
|
+
*/
|
|
31
|
+
active?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Content of the item
|
|
34
|
+
*/
|
|
35
|
+
children: ReactElement;
|
|
36
|
+
/**
|
|
37
|
+
* @ignore
|
|
38
|
+
*/
|
|
39
|
+
className?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @ignore
|
|
42
|
+
*/
|
|
43
|
+
baseClassName?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* SubnavItem component.
|
|
47
|
+
*/
|
|
48
|
+
declare const SubnavItem: ({ className, active, children, baseClassName, ...props }: SubnavItemProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
49
|
+
export default Subnav;
|
|
50
|
+
export { SubnavItem };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import '../../helpers/base.less';
|
|
3
|
+
import './SwitchesPanel.less';
|
|
4
|
+
export interface SwitchesPanelProps {
|
|
5
|
+
/**
|
|
6
|
+
* Content of the `SwitchesPanel`. Recommended to use [SwitchesPanelItem](#!/SwitchesPanelItem) components.
|
|
7
|
+
* @since 0.3.0
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactElement[] | ReactElement;
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
17
|
+
baseClassName?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* `SwitchesPanel` component is used for grouping several [SwitchesPanelItems](#!/SwitchesPanelItem) into one set.
|
|
21
|
+
* @since 0.3.0
|
|
22
|
+
*/
|
|
23
|
+
declare const SwitchesPanel: ({ baseClassName, className, children, ...props }: SwitchesPanelProps) => JSX.Element;
|
|
24
|
+
export default SwitchesPanel;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
|
+
import { SwitchProps } from '../Switch';
|
|
3
|
+
import '../../helpers/base.less';
|
|
4
|
+
import './SwitchesPanelItem.less';
|
|
5
|
+
export interface SwitchesPanelItemProps {
|
|
6
|
+
/**
|
|
7
|
+
* A callback function, can be executed when the checked state is changing.
|
|
8
|
+
* @since 0.3.0
|
|
9
|
+
*/
|
|
10
|
+
onChange: (checked: boolean) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Title of the `SwitchesPanelItem`. Must be no longer than two lines.
|
|
13
|
+
* @since 0.3.0
|
|
14
|
+
*/
|
|
15
|
+
title: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
19
|
+
defaultChecked?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Visual intent color to apply to component.
|
|
22
|
+
* @since 0.3.0
|
|
23
|
+
*/
|
|
24
|
+
intent?: 'warning' | 'danger';
|
|
25
|
+
/**
|
|
26
|
+
* `SwitchesPanelItem` description. Must be no longer than three lines.
|
|
27
|
+
* @since 0.3.0
|
|
28
|
+
*/
|
|
29
|
+
description?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Rich full description of the `SwitchesPanelItem`.
|
|
32
|
+
* Adds control button with question mark that shows `Popover` on click.
|
|
33
|
+
* @since 0.3.0
|
|
34
|
+
*/
|
|
35
|
+
fullDescription?: ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Props of underlying [Switch](#!/Switch) component.
|
|
38
|
+
* @since 0.5.0
|
|
39
|
+
*/
|
|
40
|
+
switchProps?: SwitchProps;
|
|
41
|
+
/**
|
|
42
|
+
* Content of the control actions.
|
|
43
|
+
* Don't place here more than three buttons (with the one from 'fullDescription' property) or one link and one button.
|
|
44
|
+
* @since 0.3.0
|
|
45
|
+
*/
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
50
|
+
className?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @ignore
|
|
53
|
+
*/
|
|
54
|
+
baseClassName?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* `SwitchesPanelItem` component is used for combining [Switch](#!/Switch) component with text title and description.
|
|
58
|
+
* Used in [SwitchesPanel](#!/SwitchesPanel).
|
|
59
|
+
* @since 0.3.0
|
|
60
|
+
*/
|
|
61
|
+
declare class SwitchesPanelItem extends Component<SwitchesPanelItemProps> {
|
|
62
|
+
static defaultProps: {
|
|
63
|
+
defaultChecked: boolean;
|
|
64
|
+
intent: null;
|
|
65
|
+
description: null;
|
|
66
|
+
fullDescription: null;
|
|
67
|
+
switchProps: {};
|
|
68
|
+
children: null;
|
|
69
|
+
className: null;
|
|
70
|
+
baseClassName: string;
|
|
71
|
+
};
|
|
72
|
+
state: {
|
|
73
|
+
checked: boolean | undefined;
|
|
74
|
+
};
|
|
75
|
+
handleChange: (checked: boolean) => void;
|
|
76
|
+
render(): JSX.Element;
|
|
77
|
+
}
|
|
78
|
+
export default SwitchesPanelItem;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, ComponentPropsWithoutRef, SyntheticEvent } from 'react';
|
|
2
2
|
import './TextArea.less';
|
|
3
3
|
declare type Rows = number | {
|
|
4
4
|
min: number;
|
|
5
5
|
max: number;
|
|
6
6
|
};
|
|
7
|
-
declare type TextAreaProps = {
|
|
7
|
+
export declare type TextAreaProps = {
|
|
8
8
|
/**
|
|
9
9
|
* @ignore
|
|
10
10
|
*/
|
|
@@ -32,7 +32,7 @@ declare type TextAreaProps = {
|
|
|
32
32
|
* @ignore
|
|
33
33
|
*/
|
|
34
34
|
onChange?: (e: SyntheticEvent<HTMLTextAreaElement>) => void;
|
|
35
|
-
} & Omit<
|
|
35
|
+
} & Omit<ComponentPropsWithoutRef<'textarea'>, 'rows'>;
|
|
36
36
|
declare type TextAreaState = {
|
|
37
37
|
textareaStyles: any;
|
|
38
38
|
minRows?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare type RegistryItem = {
|
|
1
|
+
export declare type RegistryItem = {
|
|
2
2
|
setCompact: (compact: boolean) => void;
|
|
3
3
|
isCompact: (one: boolean) => boolean;
|
|
4
4
|
};
|
|
5
|
-
declare type Registry = {
|
|
5
|
+
export declare type Registry = {
|
|
6
6
|
stack: RegistryItem[];
|
|
7
7
|
register: (item: RegistryItem) => void;
|
|
8
8
|
unregister: (item: RegistryItem) => void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
|
+
import { DistractionFreeMode } from '../DistractionFreeModeContext';
|
|
3
|
+
import '../../helpers/base.less';
|
|
4
|
+
import './Toolbar.less';
|
|
5
|
+
/**
|
|
6
|
+
* `Toolbar` component is a panel containing various instruments used for managing the contents of a large content block.
|
|
7
|
+
* Toolbar is located on top of the managed content block.
|
|
8
|
+
* It typically consists of three main parts: controls that add new elements, controls that work with existing elements,
|
|
9
|
+
* and controls for changing the way the content block looks.
|
|
10
|
+
* @since 0.0.57
|
|
11
|
+
*/
|
|
12
|
+
export interface ToolbarProps {
|
|
13
|
+
/**
|
|
14
|
+
* Content of the `Toolbar`.
|
|
15
|
+
* @since 0.0.57
|
|
16
|
+
*/
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
25
|
+
baseClassName?: string;
|
|
26
|
+
}
|
|
27
|
+
declare type ToolbarState = {
|
|
28
|
+
distractionFreeMode: DistractionFreeMode;
|
|
29
|
+
};
|
|
30
|
+
declare class Toolbar extends Component<ToolbarProps, ToolbarState> {
|
|
31
|
+
static defaultProps: {
|
|
32
|
+
children: null;
|
|
33
|
+
className: null;
|
|
34
|
+
baseClassName: string;
|
|
35
|
+
};
|
|
36
|
+
constructor(props: ToolbarProps);
|
|
37
|
+
state: {
|
|
38
|
+
distractionFreeMode: {
|
|
39
|
+
enabled: boolean;
|
|
40
|
+
toggle: () => void;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
private readonly registry;
|
|
44
|
+
private measure;
|
|
45
|
+
render(): JSX.Element;
|
|
46
|
+
}
|
|
47
|
+
export default Toolbar;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ReactNode, ReactChild } from 'react';
|
|
2
|
+
import { Registry } from './RegistryContext';
|
|
3
|
+
import { DistractionFreeMode } from '../DistractionFreeModeContext';
|
|
4
|
+
/**
|
|
5
|
+
* `ToolbarGroup` is a part of [Toolbar](#!/Toolbar) component.
|
|
6
|
+
* It is used for grouping several toolbar controls together.
|
|
7
|
+
* @since 0.0.57
|
|
8
|
+
*/
|
|
9
|
+
export interface ToolbarGroupProps {
|
|
10
|
+
/**
|
|
11
|
+
* Title.
|
|
12
|
+
* @since 0.0.60
|
|
13
|
+
*/
|
|
14
|
+
title: ReactChild;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to group children into a dropdown or not.
|
|
17
|
+
* @since 3.8.0
|
|
18
|
+
*/
|
|
19
|
+
groupable?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Content of the `ToolbarGroup`.
|
|
22
|
+
* @since 0.0.57
|
|
23
|
+
*/
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
32
|
+
baseClassName?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
36
|
+
registry: Registry;
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
40
|
+
distractionFreeMode: DistractionFreeMode;
|
|
41
|
+
}
|
|
42
|
+
declare const ToolbarGroupWrapper: {
|
|
43
|
+
({ groupable, baseClassName, ...props }: Omit<ToolbarGroupProps, 'registry' | 'distractionFreeMode'>): JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
};
|
|
46
|
+
export default ToolbarGroupWrapper;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, MouseEvent } from 'react';
|
|
2
2
|
declare type ToolbarMenuProps = {
|
|
3
|
-
onItemClick
|
|
3
|
+
onItemClick?: (e: MouseEvent) => void;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
declare const ToolbarMenu: import("react").ForwardRefExoticComponent<ToolbarMenuProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -11,11 +11,12 @@ export { default as Card } from './Card';
|
|
|
11
11
|
export * from './Card';
|
|
12
12
|
export { default as CardList } from './CardList';
|
|
13
13
|
export { default as Carousel } from './Carousel';
|
|
14
|
+
export type { CarouselProps } from './Carousel';
|
|
14
15
|
export { default as Checkbox } from './Checkbox';
|
|
15
16
|
export { default as Radio } from './Radio';
|
|
16
17
|
export { default as CodeEditor } from './CodeEditor';
|
|
17
|
-
export { default as Columns } from './Columns';
|
|
18
|
-
export
|
|
18
|
+
export { default as Columns, Column } from './Columns';
|
|
19
|
+
export type { ColumnsProps, ColumnProps } from './Columns';
|
|
19
20
|
export { default as ComboBox } from './ComboBox';
|
|
20
21
|
export * from './ComboBox';
|
|
21
22
|
export { default as ConsoleOutput } from './ConsoleOutput';
|
|
@@ -28,6 +29,7 @@ export type { DrawerProps } from './Drawer';
|
|
|
28
29
|
export { default as Dropdown } from './Dropdown';
|
|
29
30
|
export type { DropdownProps } from './Dropdown';
|
|
30
31
|
export { default as InPlaceEdit } from './InPlaceEdit';
|
|
32
|
+
export type { InPlaceEditProps } from './InPlaceEdit';
|
|
31
33
|
export { default as ExtendedStatusMessage } from './ExtendedStatusMessage';
|
|
32
34
|
export * from './ExtendedStatusMessage';
|
|
33
35
|
export { default as Figure } from './Figure';
|
|
@@ -37,21 +39,30 @@ export type { FormProps, FormValues, FormInstanceHandles } from './Form';
|
|
|
37
39
|
export * from './Form';
|
|
38
40
|
export { default as FormField } from './FormField';
|
|
39
41
|
export { default as FormFieldCheckbox } from './FormFieldCheckbox';
|
|
42
|
+
export type { FormFieldCheckboxProps } from './FormFieldCheckbox';
|
|
40
43
|
export { default as FormFieldPassword } from './FormFieldPassword';
|
|
41
44
|
export * from './FormFieldPassword';
|
|
42
45
|
export { default as FormFieldRadioButtons } from './FormFieldRadioButtons';
|
|
46
|
+
export type { FormFieldRadioButtonsProps } from './FormFieldRadioButtons';
|
|
43
47
|
export { default as FormFieldText } from './FormFieldText';
|
|
48
|
+
export type { FormFieldTextProps } from './FormFieldText';
|
|
44
49
|
export { default as FormFieldSelect } from './FormFieldSelect';
|
|
45
50
|
export { default as Grid } from './Grid';
|
|
51
|
+
export type { GridProps } from './Grid';
|
|
46
52
|
export { default as GridCol } from './GridCol';
|
|
53
|
+
export type { GridColProps } from './GridCol';
|
|
47
54
|
export { default as Heading } from './Heading';
|
|
48
55
|
export { default as Hint } from './Hint';
|
|
49
56
|
export { default as Icon } from './Icon';
|
|
50
57
|
export type { IconProps, IconName, IconSize } from './Icon';
|
|
51
58
|
export { default as Input } from './Input';
|
|
59
|
+
export type { InputProps } from './Input';
|
|
52
60
|
export { default as InputFile } from './InputFile';
|
|
61
|
+
export type { InputFileProps } from './InputFile';
|
|
53
62
|
export { default as InputNumber } from './InputNumber';
|
|
63
|
+
export type { InputNumberProps } from './InputNumber';
|
|
54
64
|
export { default as TextArea } from './TextArea';
|
|
65
|
+
export type { TextAreaProps } from './TextArea';
|
|
55
66
|
export { default as Select } from './Select';
|
|
56
67
|
export * from './Select';
|
|
57
68
|
export { default as Item } from './Item';
|
|
@@ -59,50 +70,58 @@ export { default as ItemLink } from './ItemLink';
|
|
|
59
70
|
export { default as ItemList } from './ItemList';
|
|
60
71
|
export { default as Label } from './Label';
|
|
61
72
|
export { default as Layout } from './Layout';
|
|
73
|
+
export type { LayoutProps } from './Layout';
|
|
62
74
|
export { default as List } from './List';
|
|
63
75
|
export * from './List';
|
|
64
76
|
export { default as LocaleProvider } from './LocaleProvider';
|
|
65
77
|
export * from './LocaleProvider';
|
|
66
78
|
export { default as Markdown } from './Markdown';
|
|
67
|
-
export { default as Media } from './Media';
|
|
68
|
-
export
|
|
69
|
-
export { default as Menu } from './Menu';
|
|
70
|
-
export
|
|
79
|
+
export { default as Media, MediaSection } from './Media';
|
|
80
|
+
export type { MediaSectionProps, MediaProps } from './Media';
|
|
81
|
+
export { default as Menu, MenuDivider, MenuHeader, MenuItem, MenuSelectableItem } from './Menu';
|
|
82
|
+
export type { MenuProps, MenuHeaderProps, MenuDividerProps, MenuItemProps, MenuSelectableItemProps, } from './Menu';
|
|
71
83
|
export { default as Overlay } from './Overlay';
|
|
72
84
|
export { default as PageHeader } from './PageHeader';
|
|
73
85
|
export { default as Pagination } from './Pagination';
|
|
74
86
|
export { default as Panel } from './Panel';
|
|
75
87
|
export { default as Paragraph } from './Paragraph';
|
|
76
88
|
export { default as Plaintext } from './Plaintext';
|
|
89
|
+
export type { PlainTextProps } from './Plaintext';
|
|
77
90
|
export { default as Popover } from './Popover';
|
|
91
|
+
export type { PopoverProps } from './Popover';
|
|
78
92
|
export { default as Progress } from './Progress';
|
|
79
93
|
export type { ProgressProps } from './Progress';
|
|
80
94
|
export { default as ProgressBar } from './ProgressBar';
|
|
81
95
|
export { default as ProgressDialog } from './ProgressDialog';
|
|
96
|
+
export type { ProgressDialogProps } from './ProgressDialog';
|
|
82
97
|
export { default as ProgressDialogStep } from './ProgressDialogStep';
|
|
83
98
|
export { default as ProgressStep } from './ProgressStep';
|
|
84
99
|
export type { ProgressStepProps } from './ProgressStep';
|
|
85
100
|
export { default as Rating } from './Rating';
|
|
101
|
+
export type { RatingProps } from './Rating';
|
|
86
102
|
export { default as Section } from './Section';
|
|
87
103
|
export * from './Section';
|
|
88
104
|
export { default as SegmentedControl } from './SegmentedControl';
|
|
89
105
|
export { default as Spot } from './Spot';
|
|
106
|
+
export type { SpotProps } from './Spot';
|
|
90
107
|
export { default as SplitButton } from './SplitButton';
|
|
91
108
|
export type { SplitButtonProps } from './SplitButton';
|
|
92
109
|
export { default as Status } from './Status';
|
|
93
110
|
export { default as StatusMessage } from './StatusMessage';
|
|
94
|
-
export { default as Subnav } from './Subnav';
|
|
95
|
-
export
|
|
111
|
+
export { default as Subnav, SubnavItem } from './Subnav';
|
|
112
|
+
export type { SubnavProps, SubnavItemProps } from './Subnav';
|
|
96
113
|
export { default as Switch } from './Switch';
|
|
97
114
|
export type { SwitchProps } from './Switch';
|
|
98
115
|
export { default as SwitchesPanel } from './SwitchesPanel';
|
|
116
|
+
export type { SwitchesPanelProps } from './SwitchesPanel';
|
|
99
117
|
export { default as SwitchesPanelItem } from './SwitchesPanelItem';
|
|
118
|
+
export type { SwitchesPanelItemProps } from './SwitchesPanelItem';
|
|
100
119
|
export { default as Tabs } from './Tabs';
|
|
101
120
|
export * from './Tabs';
|
|
102
121
|
export { default as Text } from './Text';
|
|
103
122
|
export { default as Toaster } from './Toaster';
|
|
104
|
-
export { default as Toolbar } from './Toolbar';
|
|
105
|
-
export
|
|
123
|
+
export { default as Toolbar, ToolbarGroup, ToolbarExpander } from './Toolbar';
|
|
124
|
+
export type { ToolbarGroupProps, ToolbarProps } from './Toolbar';
|
|
106
125
|
export { default as Tooltip } from './Tooltip';
|
|
107
126
|
export type { TooltipProps } from './Tooltip';
|
|
108
127
|
export { default as Tour } from './Tour';
|
|
@@ -110,6 +129,6 @@ export { default as Translate } from './Translate';
|
|
|
110
129
|
export type { TranslateProps } from './Translate';
|
|
111
130
|
export { default as Link } from './Link';
|
|
112
131
|
export type { LinkProps } from './Link';
|
|
113
|
-
export { default as Skeleton } from './Skeleton';
|
|
114
|
-
export
|
|
132
|
+
export { default as Skeleton, SkeletonTabs, SkeletonText } from './Skeleton';
|
|
133
|
+
export type { SkeletonProps, SkeletonTabsProps, SkeletonTextProps } from './Skeleton';
|
|
115
134
|
export { PortalContext } from './Layer';
|
|
@@ -27,5 +27,5 @@ export declare const createFocusManager: (containerRef: RefObject<HTMLElement>,
|
|
|
27
27
|
focusLast: (attempt?: number) => boolean;
|
|
28
28
|
};
|
|
29
29
|
export declare const mergeRefs: <T>(...refs: Ref<T | null>[]) => (value: T | null) => void;
|
|
30
|
-
export declare const normalizeSize: (value?:
|
|
30
|
+
export declare const normalizeSize: (value?: number | string) => string | number | undefined;
|
|
31
31
|
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.Intents = exports.Basic = void 0;
|
|
8
|
-
var _Alert = _interopRequireDefault(require("./Alert"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
11
|
-
|
|
12
|
-
const Basic = args => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Alert.default, {
|
|
13
|
-
...args
|
|
14
|
-
});
|
|
15
|
-
exports.Basic = Basic;
|
|
16
|
-
Basic.args = {
|
|
17
|
-
children: 'Content'
|
|
18
|
-
};
|
|
19
|
-
const Intents = () => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
20
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Basic, {
|
|
21
|
-
intent: "info",
|
|
22
|
-
...Basic.args
|
|
23
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Basic, {
|
|
24
|
-
intent: "success",
|
|
25
|
-
...Basic.args
|
|
26
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Basic, {
|
|
27
|
-
intent: "warning",
|
|
28
|
-
...Basic.args
|
|
29
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Basic, {
|
|
30
|
-
intent: "danger",
|
|
31
|
-
...Basic.args
|
|
32
|
-
})]
|
|
33
|
-
});
|
|
34
|
-
exports.Intents = Intents;
|