@plesk/ui-library 3.35.2 → 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- package/cjs/components/GridCol/GridCol.js +1 -2
- 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 +1 -2
- package/cjs/components/List/List.js +2 -2
- 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 +1 -2
- 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 +1 -2
- 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/Spinner/Spinner.js +1 -2
- package/cjs/components/SplitButton/SplitButton.js +1 -2
- 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 +1 -2
- package/cjs/components/SwitchesPanelItem/SwitchesPanelItem.js +1 -2
- 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/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 +63 -55
- 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 +759 -1786
- 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/FormField/FormField.js +4 -2
- package/esm/components/FormField/index.js +2 -1
- 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/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/List/List.js +1 -0
- 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/Section/Section.js +28 -97
- package/esm/components/Section/SectionItem.js +5 -41
- package/esm/components/Section/index.js +2 -1
- package/esm/components/Subnav/Subnav.js +10 -54
- package/esm/components/Subnav/index.js +1 -2
- 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 +5 -10
- package/esm/index.js +1 -1
- package/esm/utils/types/DataAttributes.js +1 -0
- package/package.json +21 -21
- 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 +1 -4
- 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/DistractionFreeModeContext/DistractionFreeModeContext.d.ts +1 -1
- package/types/src/components/DistractionFreeModeContext/index.d.ts +1 -0
- package/types/src/components/FormFieldPassword/PasswordMeter.d.ts +4 -3
- 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/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/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/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/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/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 +21 -10
- package/types/src/utils/types/DataAttributes.d.ts +3 -0
- package/types/src/utils/types/index.d.ts +1 -0
- package/cjs/tests/index.js +0 -13
- package/cjs/tests/renderer.js +0 -33
- package/esm/tests/index.js +0 -3
- package/esm/tests/renderer.js +0 -25
- package/styleguide/build/bundle.6318f4a5.js +0 -2
- /package/styleguide/build/{bundle.6318f4a5.js.LICENSE.txt → bundle.8058bbce.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { Component, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { ContentRect } from 'react-measure';
|
|
3
|
+
import { FormContextProps } from '../Form/types';
|
|
4
|
+
import { InPlaceEditProps } from '../InPlaceEdit';
|
|
5
|
+
import './Section.less';
|
|
6
|
+
export interface SectionProps {
|
|
7
|
+
/**
|
|
8
|
+
* Title of the section.
|
|
9
|
+
* @since 0.0.54
|
|
10
|
+
*/
|
|
11
|
+
title?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Visual intent color to apply to component.
|
|
14
|
+
* @since 0.0.54
|
|
15
|
+
*/
|
|
16
|
+
intent?: 'danger' | 'warning' | 'success' | 'inactive';
|
|
17
|
+
/**
|
|
18
|
+
* Is section collapsible.
|
|
19
|
+
* @since 0.0.54
|
|
20
|
+
*/
|
|
21
|
+
collapsible?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Is section collapsed now.
|
|
24
|
+
* @since 0.0.54
|
|
25
|
+
*/
|
|
26
|
+
collapsed?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Event handler of title change with inline editing form.
|
|
29
|
+
* @since 0.0.54
|
|
30
|
+
*/
|
|
31
|
+
onTitleChange?: InPlaceEditProps['onChange'];
|
|
32
|
+
/**
|
|
33
|
+
* Event handler of closing section with X-sign at the right.
|
|
34
|
+
* @since 0.0.54
|
|
35
|
+
*/
|
|
36
|
+
onClose?: () => void;
|
|
37
|
+
/**
|
|
38
|
+
* A callback executed when the section collapsing.
|
|
39
|
+
* @since 3.26.0
|
|
40
|
+
*/
|
|
41
|
+
onToggle?: (collapsed: boolean) => void;
|
|
42
|
+
/**
|
|
43
|
+
* Array of custom section action button at the right.
|
|
44
|
+
* @since 0.0.54
|
|
45
|
+
*/
|
|
46
|
+
buttons?: ReactNode[];
|
|
47
|
+
/**
|
|
48
|
+
* Vertical or horizontal section view.
|
|
49
|
+
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
50
|
+
* @since 0.3.0
|
|
51
|
+
*/
|
|
52
|
+
vertical: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Content of the `Section`.
|
|
55
|
+
* @since 0.0.54
|
|
56
|
+
*/
|
|
57
|
+
children: ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* @ignore
|
|
60
|
+
*/
|
|
61
|
+
className?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @ignore
|
|
64
|
+
*/
|
|
65
|
+
baseClassName?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @ignore
|
|
68
|
+
*/
|
|
69
|
+
form?: FormContextProps;
|
|
70
|
+
}
|
|
71
|
+
interface DerivedState {
|
|
72
|
+
prevCollapsed?: boolean;
|
|
73
|
+
prevErrors?: Record<string, any>;
|
|
74
|
+
collapsed?: boolean;
|
|
75
|
+
}
|
|
76
|
+
interface SectionState extends DerivedState {
|
|
77
|
+
vertical: boolean;
|
|
78
|
+
}
|
|
79
|
+
export declare const SECTION_BASE_CLASS_NAME: string;
|
|
80
|
+
declare class Section extends Component<SectionProps, SectionState> {
|
|
81
|
+
static defaultProps: {
|
|
82
|
+
title: undefined;
|
|
83
|
+
intent: undefined;
|
|
84
|
+
collapsible: boolean;
|
|
85
|
+
collapsed: boolean;
|
|
86
|
+
onTitleChange: undefined;
|
|
87
|
+
onClose: undefined;
|
|
88
|
+
onToggle: undefined;
|
|
89
|
+
buttons: undefined;
|
|
90
|
+
vertical: undefined;
|
|
91
|
+
children: undefined;
|
|
92
|
+
className: undefined;
|
|
93
|
+
baseClassName: string;
|
|
94
|
+
form: undefined;
|
|
95
|
+
};
|
|
96
|
+
state: SectionState;
|
|
97
|
+
static getDerivedStateFromProps(props: SectionProps, state: SectionState): DerivedState;
|
|
98
|
+
handleResize: ({ bounds }: ContentRect) => void;
|
|
99
|
+
handleCollapse: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
100
|
+
renderCollapseButton({ baseClassName, collapsible, }: {
|
|
101
|
+
baseClassName: string;
|
|
102
|
+
collapsible: boolean;
|
|
103
|
+
}): false | JSX.Element;
|
|
104
|
+
renderCloseButton({ baseClassName, onClose, buttons, }: {
|
|
105
|
+
baseClassName: string;
|
|
106
|
+
onClose: SectionProps['onClose'];
|
|
107
|
+
buttons: SectionProps['buttons'];
|
|
108
|
+
}): JSX.Element | undefined;
|
|
109
|
+
renderTitle({ baseClassName, title, onTitleChange, }: {
|
|
110
|
+
baseClassName: string;
|
|
111
|
+
title: SectionProps['title'];
|
|
112
|
+
onTitleChange: SectionProps['onTitleChange'];
|
|
113
|
+
}): false | "" | 0 | JSX.Element | null | undefined;
|
|
114
|
+
renderContent({ collapsible, children }: {
|
|
115
|
+
collapsible: boolean;
|
|
116
|
+
children: ReactNode;
|
|
117
|
+
}): ReactNode;
|
|
118
|
+
render(): JSX.Element;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* `Section` component is used for dividing of complex content into groups for better readability
|
|
122
|
+
* and comprehension of the presented information.
|
|
123
|
+
* @since 0.0.54
|
|
124
|
+
*/
|
|
125
|
+
declare const SectionWrapper: {
|
|
126
|
+
(props: Omit<SectionProps, 'form'>): JSX.Element;
|
|
127
|
+
displayName: string;
|
|
128
|
+
defaultProps: {
|
|
129
|
+
title: undefined;
|
|
130
|
+
intent: undefined;
|
|
131
|
+
collapsible: boolean;
|
|
132
|
+
collapsed: boolean;
|
|
133
|
+
onTitleChange: undefined;
|
|
134
|
+
onClose: undefined;
|
|
135
|
+
onToggle: undefined;
|
|
136
|
+
buttons: undefined;
|
|
137
|
+
vertical: undefined;
|
|
138
|
+
children: undefined;
|
|
139
|
+
className: undefined;
|
|
140
|
+
baseClassName: string;
|
|
141
|
+
form: undefined;
|
|
142
|
+
};
|
|
143
|
+
WrappedComponent: typeof Section;
|
|
144
|
+
};
|
|
145
|
+
export default SectionWrapper;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode, HTMLAttributes } from 'react';
|
|
2
|
+
import './SectionItem.less';
|
|
3
|
+
export interface SectionItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
4
|
+
/**
|
|
5
|
+
* Content of the `SectionItem`.
|
|
6
|
+
* @since 0.0.54
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
16
|
+
baseClassName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Title of the section item.
|
|
19
|
+
* @since 0.0.54
|
|
20
|
+
*/
|
|
21
|
+
title?: ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Is this section item contains actions? If it so than there should be extra whitespaces.
|
|
24
|
+
* @since 0.0.54
|
|
25
|
+
*/
|
|
26
|
+
actions?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
30
|
+
vertical?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare const SECTION_ITEM_BASE_CLASS_NAME: string;
|
|
33
|
+
/**
|
|
34
|
+
* `SectionItem` component is used for showing parameters and its values in [Section](#!/Section).
|
|
35
|
+
* @since 0.0.54
|
|
36
|
+
*/
|
|
37
|
+
declare const SectionItem: ({ baseClassName, className, children, title, actions, vertical, ...props }: SectionItemProps) => JSX.Element;
|
|
38
|
+
export default SectionItem;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default } from './Section';
|
|
2
|
+
export { SECTION_BASE_CLASS_NAME } from './Section';
|
|
3
|
+
export { default as SectionItem, SECTION_ITEM_BASE_CLASS_NAME } from './SectionItem';
|
|
4
|
+
export type { SectionItemProps } from './SectionItem';
|
|
5
|
+
export type { SectionProps } from './Section';
|
|
@@ -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 };
|
|
@@ -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>>;
|
|
@@ -15,8 +15,8 @@ export type { CarouselProps } from './Carousel';
|
|
|
15
15
|
export { default as Checkbox } from './Checkbox';
|
|
16
16
|
export { default as Radio } from './Radio';
|
|
17
17
|
export { default as CodeEditor } from './CodeEditor';
|
|
18
|
-
export { default as Columns } from './Columns';
|
|
19
|
-
export
|
|
18
|
+
export { default as Columns, Column } from './Columns';
|
|
19
|
+
export type { ColumnsProps, ColumnProps } from './Columns';
|
|
20
20
|
export { default as ComboBox } from './ComboBox';
|
|
21
21
|
export * from './ComboBox';
|
|
22
22
|
export { default as ConsoleOutput } from './ConsoleOutput';
|
|
@@ -29,6 +29,7 @@ export type { DrawerProps } from './Drawer';
|
|
|
29
29
|
export { default as Dropdown } from './Dropdown';
|
|
30
30
|
export type { DropdownProps } from './Dropdown';
|
|
31
31
|
export { default as InPlaceEdit } from './InPlaceEdit';
|
|
32
|
+
export type { InPlaceEditProps } from './InPlaceEdit';
|
|
32
33
|
export { default as ExtendedStatusMessage } from './ExtendedStatusMessage';
|
|
33
34
|
export * from './ExtendedStatusMessage';
|
|
34
35
|
export { default as Figure } from './Figure';
|
|
@@ -42,7 +43,9 @@ export type { FormFieldCheckboxProps } from './FormFieldCheckbox';
|
|
|
42
43
|
export { default as FormFieldPassword } from './FormFieldPassword';
|
|
43
44
|
export * from './FormFieldPassword';
|
|
44
45
|
export { default as FormFieldRadioButtons } from './FormFieldRadioButtons';
|
|
46
|
+
export type { FormFieldRadioButtonsProps } from './FormFieldRadioButtons';
|
|
45
47
|
export { default as FormFieldText } from './FormFieldText';
|
|
48
|
+
export type { FormFieldTextProps } from './FormFieldText';
|
|
46
49
|
export { default as FormFieldSelect } from './FormFieldSelect';
|
|
47
50
|
export { default as Grid } from './Grid';
|
|
48
51
|
export type { GridProps } from './Grid';
|
|
@@ -53,9 +56,13 @@ export { default as Hint } from './Hint';
|
|
|
53
56
|
export { default as Icon } from './Icon';
|
|
54
57
|
export type { IconProps, IconName, IconSize } from './Icon';
|
|
55
58
|
export { default as Input } from './Input';
|
|
59
|
+
export type { InputProps } from './Input';
|
|
56
60
|
export { default as InputFile } from './InputFile';
|
|
61
|
+
export type { InputFileProps } from './InputFile';
|
|
57
62
|
export { default as InputNumber } from './InputNumber';
|
|
63
|
+
export type { InputNumberProps } from './InputNumber';
|
|
58
64
|
export { default as TextArea } from './TextArea';
|
|
65
|
+
export type { TextAreaProps } from './TextArea';
|
|
59
66
|
export { default as Select } from './Select';
|
|
60
67
|
export * from './Select';
|
|
61
68
|
export { default as Item } from './Item';
|
|
@@ -63,22 +70,25 @@ export { default as ItemLink } from './ItemLink';
|
|
|
63
70
|
export { default as ItemList } from './ItemList';
|
|
64
71
|
export { default as Label } from './Label';
|
|
65
72
|
export { default as Layout } from './Layout';
|
|
73
|
+
export type { LayoutProps } from './Layout';
|
|
66
74
|
export { default as List } from './List';
|
|
67
75
|
export * from './List';
|
|
68
76
|
export { default as LocaleProvider } from './LocaleProvider';
|
|
69
77
|
export * from './LocaleProvider';
|
|
70
78
|
export { default as Markdown } from './Markdown';
|
|
71
|
-
export { default as Media } from './Media';
|
|
72
|
-
export
|
|
73
|
-
export { default as Menu } from './Menu';
|
|
74
|
-
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';
|
|
75
83
|
export { default as Overlay } from './Overlay';
|
|
76
84
|
export { default as PageHeader } from './PageHeader';
|
|
77
85
|
export { default as Pagination } from './Pagination';
|
|
78
86
|
export { default as Panel } from './Panel';
|
|
79
87
|
export { default as Paragraph } from './Paragraph';
|
|
80
88
|
export { default as Plaintext } from './Plaintext';
|
|
89
|
+
export type { PlainTextProps } from './Plaintext';
|
|
81
90
|
export { default as Popover } from './Popover';
|
|
91
|
+
export type { PopoverProps } from './Popover';
|
|
82
92
|
export { default as Progress } from './Progress';
|
|
83
93
|
export type { ProgressProps } from './Progress';
|
|
84
94
|
export { default as ProgressBar } from './ProgressBar';
|
|
@@ -93,12 +103,13 @@ export { default as Section } from './Section';
|
|
|
93
103
|
export * from './Section';
|
|
94
104
|
export { default as SegmentedControl } from './SegmentedControl';
|
|
95
105
|
export { default as Spot } from './Spot';
|
|
106
|
+
export type { SpotProps } from './Spot';
|
|
96
107
|
export { default as SplitButton } from './SplitButton';
|
|
97
108
|
export type { SplitButtonProps } from './SplitButton';
|
|
98
109
|
export { default as Status } from './Status';
|
|
99
110
|
export { default as StatusMessage } from './StatusMessage';
|
|
100
|
-
export { default as Subnav } from './Subnav';
|
|
101
|
-
export
|
|
111
|
+
export { default as Subnav, SubnavItem } from './Subnav';
|
|
112
|
+
export type { SubnavProps, SubnavItemProps } from './Subnav';
|
|
102
113
|
export { default as Switch } from './Switch';
|
|
103
114
|
export type { SwitchProps } from './Switch';
|
|
104
115
|
export { default as SwitchesPanel } from './SwitchesPanel';
|
|
@@ -109,8 +120,8 @@ export { default as Tabs } from './Tabs';
|
|
|
109
120
|
export * from './Tabs';
|
|
110
121
|
export { default as Text } from './Text';
|
|
111
122
|
export { default as Toaster } from './Toaster';
|
|
112
|
-
export { default as Toolbar } from './Toolbar';
|
|
113
|
-
export
|
|
123
|
+
export { default as Toolbar, ToolbarGroup, ToolbarExpander } from './Toolbar';
|
|
124
|
+
export type { ToolbarGroupProps, ToolbarProps } from './Toolbar';
|
|
114
125
|
export { default as Tooltip } from './Tooltip';
|
|
115
126
|
export type { TooltipProps } from './Tooltip';
|
|
116
127
|
export { default as Tour } from './Tour';
|
package/cjs/tests/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "default", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return _renderer.default;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
var _renderer = _interopRequireDefault(require("./renderer"));
|
package/cjs/tests/renderer.js
DELETED
|
@@ -1,33 +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.default = void 0;
|
|
8
|
-
var _react = require("@testing-library/react");
|
|
9
|
-
var _userEvent = _interopRequireDefault(require("@testing-library/user-event"));
|
|
10
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
// Copyright 2023. Plesk International GmbH. All rights reserved.
|
|
12
|
-
|
|
13
|
-
const renderer = (Component, baseProps) => propOverrides => {
|
|
14
|
-
const {
|
|
15
|
-
asFragment,
|
|
16
|
-
rerender
|
|
17
|
-
} = (0, _react.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
18
|
-
...baseProps,
|
|
19
|
-
...propOverrides
|
|
20
|
-
}));
|
|
21
|
-
return {
|
|
22
|
-
asFragment,
|
|
23
|
-
user: _userEvent.default,
|
|
24
|
-
rerender: rerenderPropsOverrides => rerender( /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
|
|
25
|
-
...baseProps,
|
|
26
|
-
...propOverrides,
|
|
27
|
-
...rerenderPropsOverrides
|
|
28
|
-
})),
|
|
29
|
-
...baseProps
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
var _default = renderer;
|
|
33
|
-
exports.default = _default;
|
package/esm/tests/index.js
DELETED
package/esm/tests/renderer.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Copyright 2023. Plesk International GmbH. All rights reserved.
|
|
2
|
-
|
|
3
|
-
import { render } from '@testing-library/react';
|
|
4
|
-
import userEvent from '@testing-library/user-event';
|
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
const renderer = (Component, baseProps) => propOverrides => {
|
|
7
|
-
const {
|
|
8
|
-
asFragment,
|
|
9
|
-
rerender
|
|
10
|
-
} = render( /*#__PURE__*/_jsx(Component, {
|
|
11
|
-
...baseProps,
|
|
12
|
-
...propOverrides
|
|
13
|
-
}));
|
|
14
|
-
return {
|
|
15
|
-
asFragment,
|
|
16
|
-
user: userEvent,
|
|
17
|
-
rerender: rerenderPropsOverrides => rerender( /*#__PURE__*/_jsx(Component, {
|
|
18
|
-
...baseProps,
|
|
19
|
-
...propOverrides,
|
|
20
|
-
...rerenderPropsOverrides
|
|
21
|
-
})),
|
|
22
|
-
...baseProps
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default renderer;
|