@plesk/ui-library 3.35.5 → 3.35.6
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/index.js +7 -0
- package/cjs/index.js +1 -1
- package/dist/plesk-ui-library.js +8 -1
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +2 -2
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -6
- package/styleguide/build/bundle.8a07b2dd.js +2 -0
- package/styleguide/index.html +2 -2
- package/types/src/components/Card/PreviewPanel.d.ts +2 -1
- package/types/src/components/List/ListAction.d.ts +3 -3
- package/types/src/components/List/ListActions.d.ts +1 -1
- package/types/src/components/List/ListOperation.d.ts +1 -1
- package/types/src/components/List/ListOperationContext.d.ts +2 -2
- package/types/src/components/PageHeader/PageHeader.d.ts +2 -1
- package/types/src/components/Toolbar/ToolbarMenu.d.ts +1 -1
- package/types/src/components/index.d.ts +1 -1
- package/styleguide/build/bundle.ecbe3015.js +0 -2
- /package/styleguide/build/{bundle.ecbe3015.js.LICENSE.txt → bundle.8a07b2dd.js.LICENSE.txt} +0 -0
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.35.
|
|
7
|
+
<title>Plesk UI Library 3.35.6</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">
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KWST26V"
|
|
27
27
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
28
28
|
<!-- End Google Tag Manager (noscript) -->
|
|
29
|
-
<script src="build/bundle.
|
|
29
|
+
<script src="build/bundle.8a07b2dd.js"></script>
|
|
30
30
|
</body>
|
|
31
31
|
</html>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
import { DataAttributes } from '../../utils/types';
|
|
2
3
|
import './PreviewPanel.less';
|
|
3
4
|
declare type PreviewPanelProps = {
|
|
4
5
|
/**
|
|
@@ -44,7 +45,7 @@ declare type PreviewPanelProps = {
|
|
|
44
45
|
* @deprecated
|
|
45
46
|
*/
|
|
46
47
|
html?: string;
|
|
47
|
-
};
|
|
48
|
+
} & DataAttributes;
|
|
48
49
|
/**
|
|
49
50
|
* `PreviewPanel` component is used for displaying website preview.
|
|
50
51
|
* @since 0.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { IconProps } from '../Icon';
|
|
3
|
-
declare type
|
|
3
|
+
export declare type ListActionRenderFn = (props: {
|
|
4
4
|
wrap: (children: ReactNode) => ReactNode;
|
|
5
5
|
}) => ReactElement | null;
|
|
6
6
|
declare type ListActionProps = {
|
|
@@ -18,7 +18,7 @@ declare type ListActionProps = {
|
|
|
18
18
|
* Content of the component.
|
|
19
19
|
* @since 3.3.0
|
|
20
20
|
*/
|
|
21
|
-
children?: ReactNode |
|
|
21
|
+
children?: ReactNode | ListActionRenderFn;
|
|
22
22
|
/**
|
|
23
23
|
* Tooltip for component.
|
|
24
24
|
* @since 3.5.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, ReactElement, ReactNode, MouseEvent } from 'react';
|
|
2
|
-
declare type ListOperationProps = {
|
|
2
|
+
export declare type ListOperationProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Whether a critical operation or not. E.g. updating, deleting are critical operations.
|
|
5
5
|
* @since 2.4.0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
declare type
|
|
2
|
+
export declare type ListOperationContextType = {
|
|
3
3
|
selectedRows: number | ReactNode;
|
|
4
4
|
selectedRowTitle?: string | ReactNode;
|
|
5
5
|
};
|
|
6
|
-
declare const ListOperationContext: import("react").Context<
|
|
6
|
+
declare const ListOperationContext: import("react").Context<ListOperationContextType>;
|
|
7
7
|
export default ListOperationContext;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, ReactNode, HTMLProps } from 'react';
|
|
2
|
+
import { DataAttributes } from '../../utils/types';
|
|
2
3
|
import './PageHeader.less';
|
|
3
4
|
declare type PageHeaderProps = {
|
|
4
5
|
/**
|
|
@@ -44,7 +45,7 @@ declare type PageHeaderProps = {
|
|
|
44
45
|
* @since 2.3.0
|
|
45
46
|
*/
|
|
46
47
|
tabs?: ReactNode;
|
|
47
|
-
} & HTMLProps<HTMLDivElement
|
|
48
|
+
} & HTMLProps<HTMLDivElement> & DataAttributes;
|
|
48
49
|
/**
|
|
49
50
|
* `PageHeader` component is used for identification of the current page.
|
|
50
51
|
* @since 0.0.35
|
|
@@ -78,7 +78,7 @@ export * from './LocaleProvider';
|
|
|
78
78
|
export { default as Markdown } from './Markdown';
|
|
79
79
|
export { default as Media, MediaSection } from './Media';
|
|
80
80
|
export type { MediaSectionProps, MediaProps } from './Media';
|
|
81
|
-
export { default as Menu, MenuDivider, MenuHeader, MenuItem, MenuSelectableItem } from './Menu';
|
|
81
|
+
export { default as Menu, MenuDivider, MenuHeader, MenuItem, MenuSelectableItem, MenuBaseItem, } from './Menu';
|
|
82
82
|
export type { MenuProps, MenuHeaderProps, MenuDividerProps, MenuItemProps, MenuSelectableItemProps, } from './Menu';
|
|
83
83
|
export { default as Overlay } from './Overlay';
|
|
84
84
|
export { default as PageHeader } from './PageHeader';
|