unlayer-types 1.219.0 → 1.221.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 +52 -47
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -163,6 +163,10 @@ declare module "editor/themes/types" {
163
163
  compact?: boolean;
164
164
  defaultPlacement: NonNullable<AppearanceConfig['actionBar']>['placement'];
165
165
  }) | undefined;
166
+ shimmerLoader: {
167
+ fromColor: ColorValue;
168
+ toColor: ColorValue;
169
+ };
166
170
  audit: {
167
171
  error: {
168
172
  backgroundColor: ColorValue;
@@ -1870,6 +1874,53 @@ declare module "editor/components/common/Modal" {
1870
1874
  }
1871
1875
  export function Modal(props: ModalProps): React.JSX.Element;
1872
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
+ }
1873
1924
  declare module "editor/components/common/ConditionalWrap" {
1874
1925
  import React from 'react';
1875
1926
  export interface ConditionalWrapProps {
@@ -1891,6 +1942,7 @@ declare module "editor/components/common/Loader" {
1891
1942
  loadedClassName?: string;
1892
1943
  loadingClassName?: string;
1893
1944
  size?: 'small' | 'normal';
1945
+ branded?: boolean;
1894
1946
  }
1895
1947
  export function Loader(props: LoaderProps): React.JSX.Element;
1896
1948
  }
@@ -2115,53 +2167,6 @@ declare module "editor/design-system/components/Dropdown" {
2115
2167
  });
2116
2168
  export function Dropdown(props: DropdownProps): React.JSX.Element;
2117
2169
  }
2118
- declare module "editor/themes/helpers" {
2119
- import { Theme, ThemeExtension } from "editor/themes/types";
2120
- export function extendTheme<TE extends ThemeExtension, BT extends Theme>(themeExtension: TE, baseTheme: BT): BT;
2121
- export function postprocessTheme<T extends Theme>(theme: T): T;
2122
- export function parseThemeValues<T extends Theme>(theme: T): T;
2123
- }
2124
- declare module "editor/themes/modern/light" {
2125
- import { DeprecatedTheme, Theme } from "editor/themes/types";
2126
- export const unparsedTheme: Theme & DeprecatedTheme;
2127
- }
2128
- declare module "editor/themes/classic/light" {
2129
- export const unparsedTheme: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2130
- }
2131
- declare module "editor/themes/modern/dark" {
2132
- import { DeprecatedTheme, Theme } from "editor/themes/types";
2133
- export const unparsedTheme: Theme & DeprecatedTheme;
2134
- }
2135
- declare module "editor/themes/classic/dark" {
2136
- export const unparsedTheme: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2137
- }
2138
- declare module "editor/themes/index" {
2139
- const themes: {
2140
- classic_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2141
- classic_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2142
- modern_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2143
- modern_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2144
- };
2145
- export default themes;
2146
- }
2147
- declare module "state/types/RootState" {
2148
- import { StateType } from 'typesafe-actions';
2149
- import reducer from '../reducer';
2150
- export type RootState = StateType<typeof reducer>;
2151
- }
2152
- declare module "editor/hooks/useTheme" {
2153
- import React from 'react';
2154
- import { DeprecatedTheme, Theme } from "editor/themes/types";
2155
- export function getCurrentTheme(): Theme & DeprecatedTheme;
2156
- export function ThemeProvider(props: React.PropsWithChildren): React.JSX.Element;
2157
- export function ThemeConsumer(props: {
2158
- children: React.ReactNode | ((params: {
2159
- theme: any;
2160
- }) => React.ReactNode);
2161
- }): React.ReactNode;
2162
- export function useThemeInternal(): Theme & DeprecatedTheme;
2163
- export function useTheme(): Theme & DeprecatedTheme;
2164
- }
2165
2170
  declare module "editor/design-system/components/CounterInput" {
2166
2171
  import React from 'react';
2167
2172
  import { DisplayMode } from "state/types/types";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.219.0",
3
+ "version": "1.221.0",
4
4
  "license": "MIT"
5
5
  }