@pimcore/studio-ui-bundle 1.0.0-canary.20251201-155751-6d38d62 → 1.0.0-canary.20251202-091725-66fbd1a
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/components/form/layouts/tabpanel/tabpanel.stories.d.ts +1 -1
- package/dist/build/types/src/core/components/tabpanel/tabpanel.d.ts +4 -1
- package/dist/build/types/src/core/modules/element/actions/publish/use-publish.d.ts +2 -2
- package/dist/build/types/src/core/modules/element/actions/rename/use-rename.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/actions/unpublish/use-unpublish.d.ts +1 -1
- package/dist/build/types/src/sdk/modules/element/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
11
11
|
import React from 'react';
|
|
12
|
-
declare const FormKitTabpanel: ({ items, border, collapsed, collapsible, title, theme, contentPadding, hasStickyHeader, extra, extraPosition, onClose, size, ...props }: import("../../../tabpanel").TabpanelProps) => React.JSX.Element;
|
|
12
|
+
declare const FormKitTabpanel: ({ items, border, collapsed, collapsible, title, theme, contentPadding, hasStickyHeader, extra, extraPosition, onClose, size, defaultActiveKey, activeKey, onChange, ...props }: import("../../../tabpanel").TabpanelProps) => React.JSX.Element;
|
|
13
13
|
declare const meta: Meta<typeof FormKitTabpanel>;
|
|
14
14
|
export default meta;
|
|
15
15
|
type Story = StoryObj<typeof meta>;
|
|
@@ -32,5 +32,8 @@ export interface TabpanelProps {
|
|
|
32
32
|
contentPadding?: BoxProps['padding'];
|
|
33
33
|
onClose?: (tabKey: string) => void;
|
|
34
34
|
size?: ITabsProps['size'];
|
|
35
|
+
defaultActiveKey?: ITabsProps['defaultActiveKey'];
|
|
36
|
+
activeKey?: ITabsProps['activeKey'];
|
|
37
|
+
onChange?: ITabsProps['onChange'];
|
|
35
38
|
}
|
|
36
|
-
export declare const Tabpanel: ({ items, border, collapsed, collapsible, title, theme, contentPadding, hasStickyHeader, extra, extraPosition, onClose, size, ...props }: TabpanelProps) => React.JSX.Element;
|
|
39
|
+
export declare const Tabpanel: ({ items, border, collapsed, collapsible, title, theme, contentPadding, hasStickyHeader, extra, extraPosition, onClose, size, defaultActiveKey, activeKey, onChange, ...props }: TabpanelProps) => React.JSX.Element;
|
|
@@ -12,7 +12,7 @@ import { type TreeNodeProps } from '../../../../components/element-tree/node/tre
|
|
|
12
12
|
import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
13
13
|
import { type Element } from '../../element-helper';
|
|
14
14
|
export interface PublishHookReturn {
|
|
15
|
-
publishTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
16
|
-
publishNode: (node: TreeNodeProps | Element) => void;
|
|
15
|
+
publishTreeContextMenuItem: (node: TreeNodeProps, onFinish?: () => void) => ItemType;
|
|
16
|
+
publishNode: (node: TreeNodeProps | Element, onFinish?: () => void) => void;
|
|
17
17
|
}
|
|
18
18
|
export declare const usePublish: (elementType: ElementType) => PublishHookReturn;
|
|
@@ -13,7 +13,7 @@ import type { TreeNodeProps } from '../../../../components/element-tree/node/tre
|
|
|
13
13
|
import { type Element } from '../../../../modules/element/element-helper';
|
|
14
14
|
export interface UseRenameHookReturn {
|
|
15
15
|
rename: (parentId: number, currentLabel: string) => void;
|
|
16
|
-
renameTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
16
|
+
renameTreeContextMenuItem: (node: TreeNodeProps, onFinish?: (newName: string) => void) => ItemType;
|
|
17
17
|
renameContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
18
18
|
renameGridContextMenuItem: (row: any) => ItemType | undefined;
|
|
19
19
|
renameMutation: (parentId: number, value: string) => Promise<void>;
|
|
@@ -14,7 +14,7 @@ import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
|
14
14
|
import { type Document } from '../../../../modules/document/document-api-slice.gen';
|
|
15
15
|
type Element = DataObject | Document;
|
|
16
16
|
export interface UseUnpublishHookReturn {
|
|
17
|
-
unpublishTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
17
|
+
unpublishTreeContextMenuItem: (node: TreeNodeProps, onFinish?: () => void) => ItemType;
|
|
18
18
|
unpublishContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
19
19
|
unpublishTreeNode: (node: TreeNodeProps | Element, onFinish?: () => void) => void;
|
|
20
20
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export * from '../../../core/modules/element/actions/add-folder/use-add-folder';
|
|
11
11
|
export * from '../../../core/modules/element/actions/copy-paste/use-copy-paste';
|
|
12
|
+
export * from '../../../core/modules/element/actions/copy-paste/tree-copy-paste-context';
|
|
12
13
|
export * from '../../../core/modules/element/actions/delete/use-delete';
|
|
13
14
|
export * from '../../../core/modules/element/actions/delete-draft/use-delete-draft';
|
|
14
15
|
export * from '../../../core/modules/element/actions/locate-in-tree/use-locate-in-tree';
|