@plesk/ui-library 3.40.6 → 3.40.7
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/Badge/Badge.js +2 -2
- package/cjs/components/SegmentedControl/SegmentedControl.js +12 -10
- package/cjs/components/Subnav/Subnav.js +1 -1
- package/cjs/components/Toolbar/RegistryContext.js +90 -31
- package/cjs/components/Toolbar/Toolbar.js +5 -80
- package/cjs/components/Toolbar/ToolbarGroup.js +6 -159
- package/cjs/components/Toolbar/ToolbarItem.js +15 -59
- 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 +48 -379
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +6 -6
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Badge/Badge.js +2 -2
- package/esm/components/SegmentedControl/SegmentedControl.js +12 -10
- package/esm/components/Subnav/Subnav.js +1 -1
- package/esm/components/Toolbar/RegistryContext.js +87 -30
- package/esm/components/Toolbar/Toolbar.js +7 -82
- package/esm/components/Toolbar/ToolbarGroup.js +7 -160
- package/esm/components/Toolbar/ToolbarItem.js +15 -59
- package/esm/index.js +1 -1
- package/package.json +20 -22
- package/styleguide/build/bundle.52d1d9a1.js +2 -0
- package/styleguide/index.html +2 -2
- package/types/src/components/Toolbar/RegistryContext.d.ts +22 -13
- package/types/src/components/Toolbar/Toolbar.d.ts +8 -8
- package/types/src/components/Toolbar/ToolbarGroup.d.ts +6 -16
- package/types/src/components/Toolbar/ToolbarItem.d.ts +1 -1
- package/cjs/components/Toolbar/RegistryContextBeta.js +0 -112
- package/esm/components/Toolbar/RegistryContextBeta.js +0 -103
- package/styleguide/build/bundle.9eeb2c9d.js +0 -2
- package/types/src/components/Toolbar/RegistryContextBeta.d.ts +0 -25
- /package/styleguide/build/{bundle.9eeb2c9d.js.LICENSE.txt → bundle.52d1d9a1.js.LICENSE.txt} +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const RegistryContext: import("react").Context<Registry | undefined>;
|
|
3
|
-
export default RegistryContext;
|
|
4
|
-
declare class Registry {
|
|
5
|
-
private items;
|
|
6
|
-
register(item: RegistryItem | Registry): void;
|
|
7
|
-
unregister(item: RegistryItem | Registry): void;
|
|
8
|
-
compact(): boolean;
|
|
9
|
-
expand(): boolean;
|
|
10
|
-
get isCompact(): boolean;
|
|
11
|
-
get hasCompactItems(): boolean;
|
|
12
|
-
private checkItemIsCompactOrHasCompactItems;
|
|
13
|
-
}
|
|
14
|
-
declare class RegistryItem {
|
|
15
|
-
private _isCompact;
|
|
16
|
-
private readonly onCompactStateChange;
|
|
17
|
-
constructor({ onCompactStateChange }: {
|
|
18
|
-
onCompactStateChange: (state: boolean) => void;
|
|
19
|
-
});
|
|
20
|
-
compact(): void;
|
|
21
|
-
expand(): void;
|
|
22
|
-
get isCompact(): boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare const useRegistry: () => Registry;
|
|
25
|
-
export declare const useRegistryItem: () => boolean[];
|
|
File without changes
|