@pimcore/studio-ui-bundle 1.0.0-canary.20251204-121423-a0d56b5 → 1.0.0-canary.20251208-143207-d206df6
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/app/config/services/service-ids.d.ts +1 -0
- package/dist/build/types/src/core/components/iframe/iframe.d.ts +1 -1
- package/dist/build/types/src/core/components/pagination/pagination.d.ts +3 -11
- package/dist/build/types/src/core/components/pagination/pagination.stories.d.ts +26 -13
- package/dist/build/types/src/core/components/pagination/pagination.styles.d.ts +1 -1
- package/dist/build/types/src/core/{components/pagination/size-changer/size-changer.d.ts → modules/element/dynamic-types/definitions/objects/layout-related/components/iframe/iframe.d.ts} +6 -8
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/types/dynamic-type-object-layout-iframe.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/views/accordion-view.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/views/card-view.d.ts +1 -0
- package/package.json +1 -1
- package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.d.ts +0 -20
- package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.stories.d.ts +0 -19
- package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.styles.d.ts +0 -12
- package/dist/build/types/src/core/components/pagination/size-changer/size-changer.stories.d.ts +0 -20
- package/dist/build/types/src/core/components/pagination/size-changer/size-changer.styles.d.ts +0 -12
|
@@ -116,6 +116,7 @@ export declare const serviceIds: {
|
|
|
116
116
|
'DynamicTypes/ObjectLayout/Text': string;
|
|
117
117
|
'DynamicTypes/ObjectLayout/Fieldset': string;
|
|
118
118
|
'DynamicTypes/ObjectLayout/FieldContainer': string;
|
|
119
|
+
'DynamicTypes/ObjectLayout/Iframe': string;
|
|
119
120
|
'DynamicTypes/ObjectData/Input': string;
|
|
120
121
|
'DynamicTypes/ObjectData/Textarea': string;
|
|
121
122
|
'DynamicTypes/ObjectData/Wysiwyg': string;
|
|
@@ -15,7 +15,7 @@ export interface IframeRef {
|
|
|
15
15
|
getIframeElement: () => HTMLIFrameElement | null;
|
|
16
16
|
getElementRef: () => React.RefObject<HTMLIFrameElement>;
|
|
17
17
|
}
|
|
18
|
-
interface IframeProps {
|
|
18
|
+
interface IframeProps extends React.HTMLAttributes<HTMLIFrameElement> {
|
|
19
19
|
src: string;
|
|
20
20
|
title?: string;
|
|
21
21
|
loadingTip?: string;
|
|
@@ -8,15 +8,7 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
current?: number;
|
|
14
|
-
defaultPageSize?: number;
|
|
15
|
-
pageSizeOptions?: number[];
|
|
16
|
-
showSizeChanger?: boolean;
|
|
17
|
-
amountOfVisiblePages?: number;
|
|
18
|
-
hideOnSinglePage?: boolean;
|
|
19
|
-
showTotal?: (total: number) => string;
|
|
20
|
-
onChange?: (page: number, pageSize: number) => void;
|
|
11
|
+
import { type PaginationProps as BasePaginationProps } from 'antd';
|
|
12
|
+
export interface PaginationProps extends Omit<BasePaginationProps, 'pageSize' | 'defaultCurrent' | 'onShowSizeChange' | 'responsive' | 'totalBoundaryShowSizeChanger'> {
|
|
21
13
|
}
|
|
22
|
-
export declare const Pagination: (
|
|
14
|
+
export declare const Pagination: (props: PaginationProps) => React.JSX.Element;
|
|
@@ -7,19 +7,32 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
import type { StoryObj } from '@storybook/react';
|
|
11
|
+
declare const meta: {
|
|
12
|
+
title: string;
|
|
13
|
+
component: (props: import("./pagination").PaginationProps) => React.JSX.Element;
|
|
14
|
+
parameters: {
|
|
15
|
+
layout: string;
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
argTypes: {
|
|
19
|
+
size: {
|
|
20
|
+
control: "select";
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
simple: {
|
|
24
|
+
control: "boolean";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
14
27
|
args: {
|
|
15
|
-
|
|
16
|
-
current: number;
|
|
17
|
-
pageSizeOptions: number[];
|
|
18
|
-
defaultPageSize: number;
|
|
19
|
-
showSizeChanger: boolean;
|
|
20
|
-
hideOnSinglePage: boolean;
|
|
21
|
-
amountOfVisiblePages: number;
|
|
22
|
-
showTotal: (total: number) => string;
|
|
23
|
-
onChange: (currentPage: number, pageSize: number) => void;
|
|
28
|
+
onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
24
29
|
};
|
|
25
30
|
};
|
|
31
|
+
export default meta;
|
|
32
|
+
type Story = StoryObj<typeof meta>;
|
|
33
|
+
export declare const Default: Story;
|
|
34
|
+
export declare const WithTotalAndSizeChanger: Story;
|
|
35
|
+
export declare const Disabled: Story;
|
|
36
|
+
export declare const WithSizeChanger: Story;
|
|
37
|
+
export declare const WithTotal: Story;
|
|
38
|
+
export declare const CustomPageSizeOptions: Story;
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
11
|
pagination: import("antd-style").SerializedStyles;
|
|
12
12
|
}>;
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
width?: number;
|
|
11
|
+
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
export interface IframeProps extends AbstractObjectLayoutDefinition {
|
|
13
|
+
iframeUrl: string;
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
17
16
|
}
|
|
18
|
-
export declare const
|
|
19
|
-
export {};
|
|
17
|
+
export declare const Iframe: (props: IframeProps) => React.JSX.Element;
|
|
@@ -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
|
+
import { DynamicTypeObjectLayoutAbstract } from '../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type IframeProps } from '../components/iframe/iframe';
|
|
13
|
+
export declare class DynamicTypeObjectLayoutIframe extends DynamicTypeObjectLayoutAbstract {
|
|
14
|
+
readonly id = "iframe";
|
|
15
|
+
getObjectLayoutComponent(props: IframeProps): React.ReactElement<IframeProps>;
|
|
16
|
+
}
|
|
@@ -19,5 +19,6 @@ export interface AccordionViewProps {
|
|
|
19
19
|
contentPadding?: BoxProps['padding'];
|
|
20
20
|
extra?: ReactNode;
|
|
21
21
|
extraPosition?: 'start' | 'end';
|
|
22
|
+
style?: React.CSSProperties;
|
|
22
23
|
}
|
|
23
24
|
export declare const AccordionView: ({ collapsed, bordered, ...props }: AccordionViewProps) => React.JSX.Element;
|
package/package.json
CHANGED
package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
interface InlineTextfieldProps {
|
|
12
|
-
value: string;
|
|
13
|
-
onKeyDown: (e: any) => void;
|
|
14
|
-
showDotsValues?: string[];
|
|
15
|
-
defaultClassNameInput?: string;
|
|
16
|
-
defaultClassNameLabel?: string;
|
|
17
|
-
defaultClassNameLabelDots?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare const InlineTextfield: ({ value, onKeyDown, showDotsValues, defaultClassNameInput, defaultClassNameLabel, defaultClassNameLabelDots }: InlineTextfieldProps) => React.JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { type Meta } from '@storybook/react';
|
|
11
|
-
declare const config: Meta;
|
|
12
|
-
export default config;
|
|
13
|
-
export declare const _default: {
|
|
14
|
-
args: {
|
|
15
|
-
value: string;
|
|
16
|
-
showDotsValues: string[];
|
|
17
|
-
onKeyDown: (e: any) => void;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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 useStyle: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
-
'editable-container': import("antd-style").SerializedStyles;
|
|
12
|
-
}>;
|
package/dist/build/types/src/core/components/pagination/size-changer/size-changer.stories.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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 { type Meta } from '@storybook/react';
|
|
11
|
-
declare const config: Meta;
|
|
12
|
-
export default config;
|
|
13
|
-
export declare const _default: {
|
|
14
|
-
args: {
|
|
15
|
-
sizeOptions: number[];
|
|
16
|
-
defaultSize: number;
|
|
17
|
-
handleChange: (size: number) => void;
|
|
18
|
-
label: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
package/dist/build/types/src/core/components/pagination/size-changer/size-changer.styles.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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 useStyle: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
-
example: import("antd-style").SerializedStyles;
|
|
12
|
-
}>;
|