unlayer-types 1.226.0 → 1.229.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.
- package/embed.d.ts +124 -1
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -636,6 +636,127 @@ declare module "editor/themes/types" {
|
|
636
636
|
};
|
637
637
|
};
|
638
638
|
};
|
639
|
+
devTab: {
|
640
|
+
text: {
|
641
|
+
color: ColorValue;
|
642
|
+
};
|
643
|
+
container: {
|
644
|
+
backgroundColor: ColorValue;
|
645
|
+
separator: {
|
646
|
+
borderColor: ColorValue;
|
647
|
+
};
|
648
|
+
warning: {
|
649
|
+
borderColor: ColorValue;
|
650
|
+
};
|
651
|
+
};
|
652
|
+
taskItem: {
|
653
|
+
backgroundColor: ColorValue;
|
654
|
+
textColor: ColorValue;
|
655
|
+
borderColor: ColorValue;
|
656
|
+
':hover': {
|
657
|
+
backgroundColor: ColorValue;
|
658
|
+
};
|
659
|
+
complete: {
|
660
|
+
textColor: ColorValue;
|
661
|
+
backgroundColor: ColorValue;
|
662
|
+
borderColor: ColorValue;
|
663
|
+
};
|
664
|
+
};
|
665
|
+
header: {
|
666
|
+
title: {
|
667
|
+
textColor: ColorValue;
|
668
|
+
fontSize: string;
|
669
|
+
backgroundColor?: ColorValue;
|
670
|
+
};
|
671
|
+
subtitle: {
|
672
|
+
textColor: ColorValue;
|
673
|
+
};
|
674
|
+
};
|
675
|
+
description: {
|
676
|
+
textColor: ColorValue;
|
677
|
+
fontSize: string;
|
678
|
+
};
|
679
|
+
versionInfo: {
|
680
|
+
textColor: ColorValue;
|
681
|
+
fontSize: string;
|
682
|
+
};
|
683
|
+
link: {
|
684
|
+
textColor: ColorValue;
|
685
|
+
fontSize: string;
|
686
|
+
':hover': {
|
687
|
+
textColor: ColorValue;
|
688
|
+
};
|
689
|
+
};
|
690
|
+
icon: {
|
691
|
+
color: ColorValue;
|
692
|
+
help: {
|
693
|
+
color: ColorValue;
|
694
|
+
':hover': {
|
695
|
+
color: ColorValue;
|
696
|
+
};
|
697
|
+
};
|
698
|
+
success: {
|
699
|
+
color: ColorValue;
|
700
|
+
};
|
701
|
+
warning: {
|
702
|
+
color: ColorValue;
|
703
|
+
};
|
704
|
+
error: {
|
705
|
+
color: ColorValue;
|
706
|
+
};
|
707
|
+
};
|
708
|
+
accordion: {
|
709
|
+
button: {
|
710
|
+
padding: string;
|
711
|
+
borderColor: ColorValue;
|
712
|
+
};
|
713
|
+
};
|
714
|
+
error: {
|
715
|
+
backgroundColor: ColorValue;
|
716
|
+
borderColor: ColorValue;
|
717
|
+
textColor: ColorValue;
|
718
|
+
};
|
719
|
+
login: {
|
720
|
+
textColor: ColorValue;
|
721
|
+
fontSize: string;
|
722
|
+
':hover': {
|
723
|
+
textColor: ColorValue;
|
724
|
+
};
|
725
|
+
};
|
726
|
+
reload: {
|
727
|
+
textColor: ColorValue;
|
728
|
+
fontSize: string;
|
729
|
+
heading: {
|
730
|
+
textColor: ColorValue;
|
731
|
+
fontSize: string;
|
732
|
+
};
|
733
|
+
description: {
|
734
|
+
textColor: ColorValue;
|
735
|
+
fontSize: string;
|
736
|
+
};
|
737
|
+
button: {
|
738
|
+
textColor: ColorValue;
|
739
|
+
fontSize: string;
|
740
|
+
':hover': {
|
741
|
+
textColor: ColorValue;
|
742
|
+
};
|
743
|
+
};
|
744
|
+
};
|
745
|
+
success: {
|
746
|
+
icon: {
|
747
|
+
color: ColorValue;
|
748
|
+
fontSize: string;
|
749
|
+
};
|
750
|
+
title: {
|
751
|
+
textColor: ColorValue;
|
752
|
+
fontSize: string;
|
753
|
+
};
|
754
|
+
description: {
|
755
|
+
textColor: ColorValue;
|
756
|
+
fontSize: string;
|
757
|
+
};
|
758
|
+
};
|
759
|
+
};
|
639
760
|
};
|
640
761
|
};
|
641
762
|
export type ThemeVariant = 'primary' | 'secondary' | 'tertiary' | 'ai' | 'ai_outline' | 'danger';
|
@@ -1539,6 +1660,7 @@ declare module "engine/config/features" {
|
|
1539
1660
|
enabled: boolean;
|
1540
1661
|
search?: boolean;
|
1541
1662
|
};
|
1663
|
+
devTab?: boolean;
|
1542
1664
|
undoRedo?: boolean;
|
1543
1665
|
textEditor?: {
|
1544
1666
|
spellChecker?: boolean;
|
@@ -1700,7 +1822,7 @@ declare module "embed/Config" {
|
|
1700
1822
|
designId?: string;
|
1701
1823
|
designMode?: string;
|
1702
1824
|
displayMode?: DisplayMode;
|
1703
|
-
env?: Record<'API_V1_BASE_URL' | 'API_V2_BASE_URL' | 'EVENTS_API_BASE_URL' | 'TOOLS_API_V1_BASE_URL' | 'TOOLS_CDN_BASE_URL', string | undefined>;
|
1825
|
+
env?: Record<'API_V1_BASE_URL' | 'API_V2_BASE_URL' | 'EVENTS_API_BASE_URL' | 'TOOLS_API_V1_BASE_URL' | 'TOOLS_CDN_BASE_URL' | 'CONSOLE_BASE_URL', string | undefined>;
|
1704
1826
|
projectId?: number | null;
|
1705
1827
|
user?: User;
|
1706
1828
|
templateId?: number;
|
@@ -2321,6 +2443,7 @@ declare module "engine/config/env" {
|
|
2321
2443
|
EVENTS_API_BASE_URL: string;
|
2322
2444
|
TOOLS_API_V1_BASE_URL: string;
|
2323
2445
|
TOOLS_CDN_BASE_URL: string;
|
2446
|
+
CONSOLE_BASE_URL: string;
|
2324
2447
|
};
|
2325
2448
|
export function setIsTest(isTest: boolean): void;
|
2326
2449
|
export function isTest(): boolean;
|
package/package.json
CHANGED