@pimcore/copilot-bundle 2026.1.4 → 2026.2.0

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.
@@ -8,10 +8,10 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
- import { type IActionAdapterProps } from '../../../../../types';
11
+ import { type IActionAdapterProps, type IconType } from '../../../../../types';
12
12
  interface IActionCardProps extends IActionAdapterProps {
13
13
  children: React.ReactNode;
14
- icon?: string;
14
+ icon?: IconType;
15
15
  }
16
16
  export declare const ActionCard: ({ children, id, config, timestamp, icon }: IActionCardProps) => React.JSX.Element;
17
17
  export {};
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import { type ReactElement } from 'react';
11
11
  import { type GlobalElementContext } from '@pimcore/studio-ui-bundle/modules/element';
12
+ import type { ElementIcon } from '@pimcore/studio-ui-bundle/components';
12
13
  import { type BundleCopilotAction } from './copilot-api-slice.gen';
13
14
  export interface ICopilotActionItem extends BundleCopilotAction {
14
15
  titleKey?: string;
@@ -104,3 +105,4 @@ export interface IGetActionComponentProps {
104
105
  }
105
106
  export interface IActionAdapterProps extends IGetActionComponentProps {
106
107
  }
108
+ export type IconType = ElementIcon | string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimcore/copilot-bundle",
3
- "version": "2026.1.4",
3
+ "version": "2026.2.0",
4
4
  "keywords": [
5
5
  "pimcore",
6
6
  "pimcore-studio-ui",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@ant-design/x": "^2.0.0",
61
- "@pimcore/studio-ui-bundle": "^1.0.0-canary.20260422-152846-429d228",
61
+ "@pimcore/studio-ui-bundle": "^1.0.0-canary.20260601-121358-42aa95d",
62
62
  "antd-style": "^3.7.1",
63
63
  "react": "18.3.x",
64
64
  "react-dom": "18.3.x",