unlayer-types 1.5.30 → 1.5.32

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 -9
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -63,8 +63,8 @@ declare module "engine/config/fonts" {
63
63
  export const defaultFontWeights: number[];
64
64
  }
65
65
  declare module "engine/config/intl" {
66
- import stockTranslations from '../translations';
67
- export type Locale = keyof typeof stockTranslations | 'en-US';
66
+ import { StockLocale } from '../translations/types';
67
+ export type Locale = StockLocale | 'en-US';
68
68
  export type TextDirection = 'ltr' | 'rtl';
69
69
  export const DEFAULT_LOCALE = "en-US";
70
70
  export const RTL_COUNTRIES: string[];
@@ -452,13 +452,7 @@ declare module "state/types/index" {
452
452
  export interface ToolConfig {
453
453
  enabled?: boolean | undefined;
454
454
  position?: number | undefined;
455
- properties?: {
456
- [key: string]: {
457
- value: string;
458
- };
459
- } | {
460
- [key: string]: string;
461
- } | undefined;
455
+ properties?: object | undefined;
462
456
  }
463
457
  export interface ToolsConfig {
464
458
  [key: string]: ToolConfig;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.5.30",
3
+ "version": "1.5.32",
4
4
  "license": "MIT"
5
5
  }