unlayer-types 1.474.0 → 1.476.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 +6 -1
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -1862,6 +1862,12 @@ declare module "packages/editor/src/state/types/types" {
1862
1862
  export interface ToolConfig {
1863
1863
  enabled?: boolean | undefined;
1864
1864
  icon?: string | undefined;
1865
+ /**
1866
+ * Used by classic themes (`classic_light`, `classic_dark`, and custom themes
1867
+ * extending them). Optional, and takes the same values as `icon`. Omit it and
1868
+ * `icon` applies to every theme.
1869
+ */
1870
+ classicIcon?: string | undefined;
1865
1871
  position?: number | undefined;
1866
1872
  properties?: object | undefined;
1867
1873
  sections?: object | undefined;
@@ -3180,7 +3186,6 @@ declare module "packages/editor/src/engine/config/tools" {
3180
3186
  export function getInitialValuesFromOptionGroup(optionGroup: {
3181
3187
  options?: OptionConfigMap;
3182
3188
  } | undefined): Record<string, unknown>;
3183
- export function loadTools(newTools: ToolConfigMap): void;
3184
3189
  export function overrideTools(newOverrideTools: Record<string, ToolOverride>): void;
3185
3190
  export function getOverrideToolById(id: string): {
3186
3191
  id?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.474.0",
3
+ "version": "1.476.0",
4
4
  "license": "MIT"
5
5
  }