@plesk/ui-library 3.45.1 → 3.46.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/FormFieldPassword/FormFieldPassword.js +1 -0
- package/cjs/components/Layout/Layout.js +66 -9
- package/cjs/index.js +1 -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 +68 -10
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +3 -3
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/FormFieldPassword/FormFieldPassword.js +1 -0
- package/esm/components/Layout/Layout.js +66 -9
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/styleguide/build/{bundle.a9dbfec3.js → bundle.1db50e1a.js} +2 -2
- package/styleguide/index.html +2 -2
- package/types/components/FormFieldPassword/FormFieldPassword.d.ts +17 -1
- package/types/components/FormFieldPassword/PasswordMeter.d.ts +1 -1
- package/types/components/Layout/Layout.d.ts +10 -0
- /package/styleguide/build/{bundle.a9dbfec3.js.LICENSE.txt → bundle.1db50e1a.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.
|
|
7
|
+
<title>Plesk UI Library 3.46.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">
|
|
@@ -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.1db50e1a.js"></script>
|
|
30
30
|
</body>
|
|
31
31
|
</html>
|
|
@@ -68,5 +68,21 @@ export type FormFieldPasswordProps = {
|
|
|
68
68
|
*/
|
|
69
69
|
translate?: Translate;
|
|
70
70
|
} & ComponentProps<typeof FormField>;
|
|
71
|
-
declare const FormFieldPasswordWrapper:
|
|
71
|
+
declare const FormFieldPasswordWrapper: {
|
|
72
|
+
(props: FormFieldPasswordProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
defaultProps: {
|
|
74
|
+
hideShowButton: boolean;
|
|
75
|
+
copyButton: undefined;
|
|
76
|
+
generateButton: undefined;
|
|
77
|
+
hideCopyButton: boolean;
|
|
78
|
+
hideGenerateButton: boolean;
|
|
79
|
+
hidePasswordMeter: boolean;
|
|
80
|
+
passwordMeterProps: {};
|
|
81
|
+
size: string;
|
|
82
|
+
autoFocus: undefined;
|
|
83
|
+
autoComplete: undefined;
|
|
84
|
+
className: undefined;
|
|
85
|
+
baseClassName: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
72
88
|
export default FormFieldPasswordWrapper;
|
|
@@ -4,7 +4,7 @@ import estimatePassword, { EstimateResult, EstimateRule } from './estimatePasswo
|
|
|
4
4
|
export type PasswordMeterProps = {
|
|
5
5
|
children: ReactElement;
|
|
6
6
|
value: string;
|
|
7
|
-
onEstimate?: (password: string, defaultEstimateFn: typeof estimatePassword, defaultEstimateRules: EstimateRule[]) => EstimateResult
|
|
7
|
+
onEstimate?: (password: string, defaultEstimateFn: typeof estimatePassword, defaultEstimateRules: EstimateRule[]) => EstimateResult | Promise<EstimateResult>;
|
|
8
8
|
} & Omit<PopoverProps, 'children' | 'target'>;
|
|
9
9
|
declare const PasswordMeter: FunctionComponent<PasswordMeterProps>;
|
|
10
10
|
export default PasswordMeter;
|
|
@@ -46,6 +46,16 @@ export interface LayoutProps {
|
|
|
46
46
|
* @since 1.4.0
|
|
47
47
|
*/
|
|
48
48
|
sidebarCollapsed?: boolean | CollapsedState[];
|
|
49
|
+
/**
|
|
50
|
+
* Right sidebar content.
|
|
51
|
+
* @since 3.45.2
|
|
52
|
+
*/
|
|
53
|
+
rightSidebar?: ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* Right sidebar visibility.
|
|
56
|
+
* @since 3.45.2
|
|
57
|
+
*/
|
|
58
|
+
rightSidebarVisible?: boolean;
|
|
49
59
|
/**
|
|
50
60
|
* Additional content between header and main content.
|
|
51
61
|
* @since 1.4.0
|
|
File without changes
|