@pimcore/studio-ui-bundle 1.0.0-canary.20260109-100143-4ee1b14 → 1.0.0-canary.20260109-163524-29f7922
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/dist/build/types/src/core/modules/app/utils/auto-hide-empty-content/auto-hide-empty-content.d.ts +16 -0
- package/dist/build/types/src/core/modules/app/utils/auto-hide-empty-content/auto-hide-empty-content.styles.d.ts +14 -0
- package/dist/build/types/src/core/modules/app/utils/auto-hide-empty-content/hooks/use-hide-parent-when-hidden.d.ts +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export interface AutoHideEmptyContentProps {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
contentSelector: string;
|
|
14
|
+
parentSelector?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const AutoHideEmptyContent: ({ children, contentSelector, parentSelector }: AutoHideEmptyContentProps) => React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export declare const useStyles: (props?: {
|
|
11
|
+
contentSelector: string;
|
|
12
|
+
} | undefined) => import("antd-style").ReturnStyles<{
|
|
13
|
+
wrapper: import("antd-style").SerializedStyles;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
interface UseHideParentWhenHiddenOptions {
|
|
11
|
+
parentSelector?: string;
|
|
12
|
+
}
|
|
13
|
+
interface UseHideParentWhenHiddenResult<T extends HTMLElement> {
|
|
14
|
+
ref: React.RefObject<T>;
|
|
15
|
+
}
|
|
16
|
+
export declare function useHideParentWhenHidden<T extends HTMLElement = HTMLDivElement>(options: UseHideParentWhenHiddenOptions): UseHideParentWhenHiddenResult<T>;
|
|
17
|
+
export {};
|