unlayer-types 1.224.0 → 1.226.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 +47 -48
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -1874,53 +1874,6 @@ declare module "editor/components/common/Modal" {
|
|
1874
1874
|
}
|
1875
1875
|
export function Modal(props: ModalProps): React.JSX.Element;
|
1876
1876
|
}
|
1877
|
-
declare module "editor/themes/helpers" {
|
1878
|
-
import { Theme, ThemeExtension } from "editor/themes/types";
|
1879
|
-
export function extendTheme<TE extends ThemeExtension, BT extends Theme>(themeExtension: TE, baseTheme: BT): BT;
|
1880
|
-
export function postprocessTheme<T extends Theme>(theme: T): T;
|
1881
|
-
export function parseThemeValues<T extends Theme>(theme: T): T;
|
1882
|
-
}
|
1883
|
-
declare module "editor/themes/modern/light" {
|
1884
|
-
import { DeprecatedTheme, Theme } from "editor/themes/types";
|
1885
|
-
export const unparsedTheme: Theme & DeprecatedTheme;
|
1886
|
-
}
|
1887
|
-
declare module "editor/themes/classic/light" {
|
1888
|
-
export const unparsedTheme: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
1889
|
-
}
|
1890
|
-
declare module "editor/themes/modern/dark" {
|
1891
|
-
import { DeprecatedTheme, Theme } from "editor/themes/types";
|
1892
|
-
export const unparsedTheme: Theme & DeprecatedTheme;
|
1893
|
-
}
|
1894
|
-
declare module "editor/themes/classic/dark" {
|
1895
|
-
export const unparsedTheme: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
1896
|
-
}
|
1897
|
-
declare module "editor/themes/index" {
|
1898
|
-
const themes: {
|
1899
|
-
classic_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
1900
|
-
classic_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
1901
|
-
modern_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
1902
|
-
modern_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
1903
|
-
};
|
1904
|
-
export default themes;
|
1905
|
-
}
|
1906
|
-
declare module "state/types/RootState" {
|
1907
|
-
import { StateType } from 'typesafe-actions';
|
1908
|
-
import reducer from '../reducer';
|
1909
|
-
export type RootState = StateType<typeof reducer>;
|
1910
|
-
}
|
1911
|
-
declare module "editor/hooks/useTheme" {
|
1912
|
-
import React from 'react';
|
1913
|
-
import { DeprecatedTheme, Theme } from "editor/themes/types";
|
1914
|
-
export function getCurrentTheme(): Theme & DeprecatedTheme;
|
1915
|
-
export function ThemeProvider(props: React.PropsWithChildren): React.JSX.Element;
|
1916
|
-
export function ThemeConsumer(props: {
|
1917
|
-
children: React.ReactNode | ((params: {
|
1918
|
-
theme: any;
|
1919
|
-
}) => React.ReactNode);
|
1920
|
-
}): React.ReactNode;
|
1921
|
-
export function useThemeInternal(): Theme & DeprecatedTheme;
|
1922
|
-
export function useTheme(): Theme & DeprecatedTheme;
|
1923
|
-
}
|
1924
1877
|
declare module "editor/components/common/ConditionalWrap" {
|
1925
1878
|
import React from 'react';
|
1926
1879
|
export interface ConditionalWrapProps {
|
@@ -1942,7 +1895,6 @@ declare module "editor/components/common/Loader" {
|
|
1942
1895
|
loadedClassName?: string;
|
1943
1896
|
loadingClassName?: string;
|
1944
1897
|
size?: 'small' | 'normal';
|
1945
|
-
branded?: boolean;
|
1946
1898
|
}
|
1947
1899
|
export function Loader(props: LoaderProps): React.JSX.Element;
|
1948
1900
|
}
|
@@ -2167,6 +2119,53 @@ declare module "editor/design-system/components/Dropdown" {
|
|
2167
2119
|
});
|
2168
2120
|
export function Dropdown(props: DropdownProps): React.JSX.Element;
|
2169
2121
|
}
|
2122
|
+
declare module "editor/themes/helpers" {
|
2123
|
+
import { Theme, ThemeExtension } from "editor/themes/types";
|
2124
|
+
export function extendTheme<TE extends ThemeExtension, BT extends Theme>(themeExtension: TE, baseTheme: BT): BT;
|
2125
|
+
export function postprocessTheme<T extends Theme>(theme: T): T;
|
2126
|
+
export function parseThemeValues<T extends Theme>(theme: T): T;
|
2127
|
+
}
|
2128
|
+
declare module "editor/themes/modern/light" {
|
2129
|
+
import { DeprecatedTheme, Theme } from "editor/themes/types";
|
2130
|
+
export const unparsedTheme: Theme & DeprecatedTheme;
|
2131
|
+
}
|
2132
|
+
declare module "editor/themes/classic/light" {
|
2133
|
+
export const unparsedTheme: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
2134
|
+
}
|
2135
|
+
declare module "editor/themes/modern/dark" {
|
2136
|
+
import { DeprecatedTheme, Theme } from "editor/themes/types";
|
2137
|
+
export const unparsedTheme: Theme & DeprecatedTheme;
|
2138
|
+
}
|
2139
|
+
declare module "editor/themes/classic/dark" {
|
2140
|
+
export const unparsedTheme: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
2141
|
+
}
|
2142
|
+
declare module "editor/themes/index" {
|
2143
|
+
const themes: {
|
2144
|
+
classic_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
2145
|
+
classic_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
2146
|
+
modern_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
2147
|
+
modern_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
|
2148
|
+
};
|
2149
|
+
export default themes;
|
2150
|
+
}
|
2151
|
+
declare module "state/types/RootState" {
|
2152
|
+
import { StateType } from 'typesafe-actions';
|
2153
|
+
import reducer from '../reducer';
|
2154
|
+
export type RootState = StateType<typeof reducer>;
|
2155
|
+
}
|
2156
|
+
declare module "editor/hooks/useTheme" {
|
2157
|
+
import React from 'react';
|
2158
|
+
import { DeprecatedTheme, Theme } from "editor/themes/types";
|
2159
|
+
export function getCurrentTheme(): Theme & DeprecatedTheme;
|
2160
|
+
export function ThemeProvider(props: React.PropsWithChildren): React.JSX.Element;
|
2161
|
+
export function ThemeConsumer(props: {
|
2162
|
+
children: React.ReactNode | ((params: {
|
2163
|
+
theme: any;
|
2164
|
+
}) => React.ReactNode);
|
2165
|
+
}): React.ReactNode;
|
2166
|
+
export function useThemeInternal(): Theme & DeprecatedTheme;
|
2167
|
+
export function useTheme(): Theme & DeprecatedTheme;
|
2168
|
+
}
|
2170
2169
|
declare module "editor/design-system/components/CounterInput" {
|
2171
2170
|
import React from 'react';
|
2172
2171
|
import { DisplayMode } from "state/types/types";
|
package/package.json
CHANGED