unlayer-types 1.392.0 → 1.394.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.
Files changed (2) hide show
  1. package/embed.d.ts +3 -0
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -2382,6 +2382,7 @@ declare module "packages/editor/src/engine/config/tools" {
2382
2382
  export type OptionGroupConfig<Values extends ValueMap = ValueMap> = {
2383
2383
  rightLabel?: string;
2384
2384
  title: string | null;
2385
+ dynamicTitle?: (state: RootState) => string | undefined;
2385
2386
  icon?: string | string[];
2386
2387
  position?: number;
2387
2388
  supportedDesignModes?: DesignMode[];
@@ -2490,6 +2491,7 @@ declare module "packages/editor/src/engine/config/tools" {
2490
2491
  [x: string]: {
2491
2492
  rightLabel?: string;
2492
2493
  title?: string | null;
2494
+ dynamicTitle?: {};
2493
2495
  icon?: string | string[];
2494
2496
  position?: number;
2495
2497
  supportedDesignModes?: DesignMode[];
@@ -2549,6 +2551,7 @@ declare module "packages/editor/src/engine/config/tools" {
2549
2551
  [x: string]: {
2550
2552
  rightLabel?: string;
2551
2553
  title?: string | null;
2554
+ dynamicTitle?: {};
2552
2555
  icon?: string | string[];
2553
2556
  position?: number;
2554
2557
  supportedDesignModes?: DesignMode[];
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.392.0",
3
+ "version": "1.394.0",
4
4
  "license": "MIT"
5
5
  }