@pimcore/studio-ui-bundle 1.0.0-canary.20251125-145743-70cdf00 → 1.0.0-canary.20251125-153818-6a96d0f

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.
@@ -154,6 +154,10 @@ export declare const studioDefaultLightThemeConfig: {
154
154
  };
155
155
  };
156
156
  Brand: {
157
+ Success: {
158
+ colorSuccessBg: string;
159
+ colorSuccessBorder: string;
160
+ };
157
161
  Warning: {
158
162
  colorWarningBg: string;
159
163
  colorWarningBorder: string;
@@ -12,7 +12,15 @@ export interface GlobalAssetContext extends GlobalContext {
12
12
  type: 'asset';
13
13
  config: {
14
14
  id: number;
15
- contextIdentifiers: string[];
15
+ contextIdentifiers: {
16
+ type: string;
17
+ subType: string;
18
+ tags: string[];
19
+ selectedElements?: Array<{
20
+ id: number;
21
+ type: string;
22
+ }>;
23
+ };
16
24
  };
17
25
  }
18
26
  interface UseGlobalAssetContext {
@@ -12,7 +12,15 @@ export interface GlobalDataObjectContext extends GlobalContext {
12
12
  type: 'data-object';
13
13
  config: {
14
14
  id: number;
15
- contextIdentifiers: string[];
15
+ contextIdentifiers: {
16
+ type: string;
17
+ subType: string;
18
+ tags: string[];
19
+ selectedElements?: Array<{
20
+ id: number;
21
+ type: string;
22
+ }>;
23
+ };
16
24
  };
17
25
  }
18
26
  interface UseGlobalDataObjectContext {
@@ -12,7 +12,15 @@ export interface GlobalDocumentContext extends GlobalContext {
12
12
  type: 'document';
13
13
  config: {
14
14
  id: number;
15
- contextIdentifiers: string[];
15
+ contextIdentifiers: {
16
+ type: string;
17
+ subType: string;
18
+ tags: string[];
19
+ selectedElements?: Array<{
20
+ id: number;
21
+ type: string;
22
+ }>;
23
+ };
16
24
  };
17
25
  }
18
26
  interface UseGlobalDocumentContext {
@@ -7,9 +7,12 @@
7
7
  * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
+ import { type GlobalDataObjectContext } from '../modules/data-object/hooks/use-global-data-object-context';
11
+ import { type GlobalAssetContext } from '../modules/asset/hooks/use-global-asset-context';
12
+ import { type GlobalDocumentContext } from '../modules/document/hooks/use-global-document-context';
10
13
  export declare const OBJECT_CONTEXT_IDENTIFIER_PREFIX = "object";
11
14
  export declare const ASSET_CONTEXT_IDENTIFIER_PREFIX = "asset";
12
15
  export declare const DOCUMENT_CONTEXT_IDENTIFIER_PREFIX = "document";
13
- export declare const getBaseDataObjectContextIdentifiers: (objectData: any) => string[];
14
- export declare const getBaseAssetContextIdentifiers: (assetData: any) => string[];
15
- export declare const getBaseDocumentContextIdentifiers: (documentData: any) => string[];
16
+ export declare const getBaseDataObjectContextIdentifiers: (objectData: any, isGrid: boolean) => GlobalDataObjectContext["config"]["contextIdentifiers"];
17
+ export declare const getBaseAssetContextIdentifiers: (assetData: any, isGrid: boolean) => GlobalAssetContext["config"]["contextIdentifiers"];
18
+ export declare const getBaseDocumentContextIdentifiers: (documentData: any) => GlobalDocumentContext["config"]["contextIdentifiers"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimcore/studio-ui-bundle",
3
- "version": "1.0.0-canary.20251125-145743-70cdf00",
3
+ "version": "1.0.0-canary.20251125-153818-6a96d0f",
4
4
  "keywords": [
5
5
  "pimcore",
6
6
  "pimcore-studio-ui"