unlayer-types 1.303.0 → 1.305.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 +48 -3
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -390,6 +390,43 @@ declare module "editor/themes/types" {
390
390
  };
391
391
  previewBar?: Partial<Theme['components']['bar']> | undefined;
392
392
  accordion: {
393
+ syncedBlocks: {
394
+ backgroundColor: ColorValue;
395
+ borderRadius: BorderRadiusValue;
396
+ header: {
397
+ backgroundColor: ColorValue;
398
+ textColor: ColorValue;
399
+ buttonColor: ColorValue;
400
+ ':hover': {
401
+ backgroundColor: ColorValue;
402
+ };
403
+ };
404
+ content: {
405
+ backgroundColor: ColorValue;
406
+ textColor: ColorValue;
407
+ };
408
+ icon: {
409
+ color: ColorValue;
410
+ };
411
+ title: {
412
+ color: ColorValue;
413
+ };
414
+ subtext: {
415
+ color: ColorValue;
416
+ };
417
+ dialog: {
418
+ backgroundColor: ColorValue;
419
+ overlayColor: ColorValue;
420
+ borderRadius: BorderRadiusValue;
421
+ };
422
+ ':closed': {
423
+ header: {
424
+ backgroundColor: ColorValue;
425
+ textColor: ColorValue;
426
+ buttonColor: ColorValue;
427
+ };
428
+ };
429
+ };
393
430
  backgroundColor: ColorValue;
394
431
  borderColor: ColorValue;
395
432
  header: {
@@ -787,10 +824,10 @@ declare module "editor/themes/types" {
787
824
  };
788
825
  };
789
826
  };
790
- export type ThemeVariant = 'primary' | 'secondary' | 'tertiary' | 'ai' | 'ai_outline' | 'danger';
827
+ export type ThemeVariant = 'primary' | 'secondary' | 'tertiary' | 'ai' | 'ai_outline' | 'danger' | 'synced_blocks';
791
828
  export type BannerMessageVariant = 'success' | 'warning' | 'default' | 'danger';
792
829
  export type ToastVariant = 'success' | 'warning' | 'default' | 'danger';
793
- export type ThemeColor = 'accent_01' | 'accent_02' | 'accent_03' | 'accent_04' | 'accent_05' | 'ai_01' | 'ai_02' | 'ai_03' | 'ai_04' | 'ai_05' | 'amp_01' | 'black_00' | 'black_01' | 'black_02' | 'black_03' | 'black_04' | 'black_05' | 'black_06' | 'black_07' | 'black_08' | 'black_09' | 'black_10' | 'destructive_01' | 'destructive_02' | 'destructive_03' | 'destructive_04' | 'destructive_05' | 'destructive_06' | 'destructive_07' | 'destructive_08' | 'destructive_09' | 'primary_01' | 'primary_02' | 'primary_03' | 'primary_04' | 'primary_05' | 'primary_06' | 'primary_07' | 'primary_08' | 'primary_09' | 'primary_10' | 'primary_11' | 'red_01' | 'success_01' | 'success_02' | 'success_03' | 'success_04' | 'success_05' | 'success_06' | 'success_07' | 'success_08' | 'success_09' | 'transparent' | 'warning_01' | 'warning_02' | 'warning_03' | 'warning_04' | 'warning_05' | 'warning_06' | 'warning_07' | 'warning_08' | 'warning_09' | 'white_00' | 'white_01' | 'white_02' | 'white_03' | 'white_04' | 'white_05' | 'white_06' | 'white_07' | 'white_08' | 'white_09';
830
+ export type ThemeColor = 'accent_01' | 'accent_02' | 'accent_03' | 'accent_04' | 'accent_05' | 'ai_01' | 'ai_02' | 'ai_03' | 'ai_04' | 'ai_05' | 'amp_01' | 'black_00' | 'black_01' | 'black_02' | 'black_03' | 'black_04' | 'black_05' | 'black_06' | 'black_07' | 'black_08' | 'black_09' | 'black_10' | 'destructive_01' | 'destructive_02' | 'destructive_03' | 'destructive_04' | 'destructive_05' | 'destructive_06' | 'destructive_07' | 'destructive_08' | 'destructive_09' | 'primary_01' | 'primary_02' | 'primary_03' | 'primary_04' | 'primary_05' | 'primary_06' | 'primary_07' | 'primary_08' | 'primary_09' | 'primary_10' | 'primary_11' | 'red_01' | 'success_01' | 'success_02' | 'success_03' | 'success_04' | 'success_05' | 'success_06' | 'success_07' | 'success_08' | 'success_09' | 'sync_01' | 'sync_02' | 'sync_03' | 'sync_04' | 'sync_05' | 'transparent' | 'warning_01' | 'warning_02' | 'warning_03' | 'warning_04' | 'warning_05' | 'warning_06' | 'warning_07' | 'warning_08' | 'warning_09' | 'white_00' | 'white_01' | 'white_02' | 'white_03' | 'white_04' | 'white_05' | 'white_06' | 'white_07' | 'white_08' | 'white_09';
794
831
  export type ThemeExtension = {
795
832
  name: string;
796
833
  extends: ThemeName;
@@ -1521,7 +1558,14 @@ declare module "state/types/types" {
1521
1558
  contents: Array<Design['contents']['0']>;
1522
1559
  values: Record<string, any>;
1523
1560
  }>;
1524
- values: Record<string, any>;
1561
+ values: {
1562
+ sync?: {
1563
+ id: string;
1564
+ enabled?: boolean;
1565
+ updatedAt?: string;
1566
+ dirty?: boolean;
1567
+ };
1568
+ } & Record<string, any>;
1525
1569
  };
1526
1570
  export type JSONTemplate = {
1527
1571
  counters: Record<string, number>;
@@ -1784,6 +1828,7 @@ declare module "engine/config/features" {
1784
1828
  smartParagraph?: boolean;
1785
1829
  };
1786
1830
  sendTestEmail?: boolean;
1831
+ syncedBlocks?: boolean;
1787
1832
  }
1788
1833
  export function setFeatures(newFeatures: Features): void;
1789
1834
  export function getFeatureOverrides(): Features;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.303.0",
3
+ "version": "1.305.0",
4
4
  "license": "MIT"
5
5
  }