@pimcore/studio-ui-bundle 1.0.0-canary.20251204-113739-2dca5da → 1.0.0-canary.20251205-110910-ef81d5b
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/modules/app/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +5 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/iframe/iframe.d.ts +17 -0
- 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
|
@@ -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;
|
|
@@ -160,9 +160,14 @@ export declare const studioDefaultLightThemeConfig: {
|
|
|
160
160
|
colorSuccessText: string;
|
|
161
161
|
};
|
|
162
162
|
Warning: {
|
|
163
|
+
colorWarning: string;
|
|
163
164
|
colorWarningBg: string;
|
|
164
165
|
colorWarningBorder: string;
|
|
165
166
|
};
|
|
167
|
+
Error: {
|
|
168
|
+
colorError: string;
|
|
169
|
+
colorErrorBg: string;
|
|
170
|
+
};
|
|
166
171
|
Primary: {
|
|
167
172
|
colorPrimaryText: string;
|
|
168
173
|
};
|
|
@@ -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
|
+
import React from 'react';
|
|
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;
|
|
16
|
+
}
|
|
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;
|