unlayer-types 1.126.0 → 1.128.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 +42 -41
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -2014,6 +2014,46 @@ declare module "editor/design-system/components/Dropdown" {
2014
2014
  });
2015
2015
  export function Dropdown(props: DropdownProps): React.JSX.Element;
2016
2016
  }
2017
+ declare module "editor/themes/helpers" {
2018
+ import { Theme } from "editor/themes/types";
2019
+ export function parseThemeValues<T extends Theme>(theme: T): T;
2020
+ }
2021
+ declare module "editor/themes/modern/light" {
2022
+ import { DeprecatedTheme, Theme } from "editor/themes/types";
2023
+ export const unparsedTheme: Theme & DeprecatedTheme;
2024
+ export const parsedTheme: Theme & DeprecatedTheme;
2025
+ }
2026
+ declare module "editor/themes/classic/light" {
2027
+ export const unparsedTheme: any;
2028
+ export const parsedTheme: any;
2029
+ }
2030
+ declare module "editor/themes/modern/dark" {
2031
+ import { DeprecatedTheme, Theme } from "editor/themes/types";
2032
+ export const unparsedTheme: Theme & DeprecatedTheme;
2033
+ export const parsedTheme: Theme & DeprecatedTheme;
2034
+ }
2035
+ declare module "editor/themes/classic/dark" {
2036
+ export const unparsedTheme: any;
2037
+ export const parsedTheme: any;
2038
+ }
2039
+ declare module "editor/themes/index" {
2040
+ const themes: {
2041
+ classic_light: any;
2042
+ classic_dark: any;
2043
+ modern_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2044
+ modern_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2045
+ };
2046
+ export default themes;
2047
+ }
2048
+ declare module "state/types/RootState" {
2049
+ import { StateType } from 'typesafe-actions';
2050
+ import reducer from '../reducer';
2051
+ export type RootState = StateType<typeof reducer>;
2052
+ }
2053
+ declare module "editor/hooks/useTheme" {
2054
+ import { DeprecatedTheme, Theme } from "editor/themes/types";
2055
+ export function useTheme(): Theme & DeprecatedTheme;
2056
+ }
2017
2057
  declare module "editor/design-system/components/CounterInput" {
2018
2058
  import React from 'react';
2019
2059
  import { DisplayMode } from "state/types/types";
@@ -2162,11 +2202,6 @@ declare module "editor/design-system/components/SegmentedControl" {
2162
2202
  }
2163
2203
  export function SegmentedControl(props: SegmentedControlProps): React.JSX.Element;
2164
2204
  }
2165
- declare module "state/types/RootState" {
2166
- import { StateType } from 'typesafe-actions';
2167
- import reducer from '../reducer';
2168
- export type RootState = StateType<typeof reducer>;
2169
- }
2170
2205
  declare module "engine/config/env" {
2171
2206
  export const env: {
2172
2207
  API_V1_BASE_URL: string;
@@ -2432,41 +2467,6 @@ declare module "engine/tools/content/carousel" {
2432
2467
  declare module "engine/tools/content/image" {
2433
2468
  export const DEFAULT_IMAGE_PLACEHOLDER = "https://cdn.tools.unlayer.com/image/placeholder.png";
2434
2469
  }
2435
- declare module "editor/themes/helpers" {
2436
- import { Theme } from "editor/themes/types";
2437
- export function parseThemeValues<T extends Theme>(theme: T): T;
2438
- }
2439
- declare module "editor/themes/modern/light" {
2440
- import { DeprecatedTheme, Theme } from "editor/themes/types";
2441
- export const unparsedTheme: Theme & DeprecatedTheme;
2442
- export const parsedTheme: Theme & DeprecatedTheme;
2443
- }
2444
- declare module "editor/themes/classic/light" {
2445
- export const unparsedTheme: any;
2446
- export const parsedTheme: any;
2447
- }
2448
- declare module "editor/themes/modern/dark" {
2449
- import { DeprecatedTheme, Theme } from "editor/themes/types";
2450
- export const unparsedTheme: Theme & DeprecatedTheme;
2451
- export const parsedTheme: Theme & DeprecatedTheme;
2452
- }
2453
- declare module "editor/themes/classic/dark" {
2454
- export const unparsedTheme: any;
2455
- export const parsedTheme: any;
2456
- }
2457
- declare module "editor/themes/index" {
2458
- const themes: {
2459
- classic_light: any;
2460
- classic_dark: any;
2461
- modern_light: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2462
- modern_dark: import("editor/themes/types").Theme & import("editor/themes/types").DeprecatedTheme;
2463
- };
2464
- export default themes;
2465
- }
2466
- declare module "editor/hooks/useTheme" {
2467
- import { DeprecatedTheme, Theme } from "editor/themes/types";
2468
- export function useTheme(): Theme & DeprecatedTheme;
2469
- }
2470
2470
  declare module "editor/components/editors/pixie/pixie.umd" {
2471
2471
  const _exports: {
2472
2472
  new (e: any): {
@@ -2552,7 +2552,7 @@ declare module "editor/design-system/components/Bar" {
2552
2552
  key: string;
2553
2553
  type: 'title' | 'subtitle';
2554
2554
  icon?: IconDefinition;
2555
- text: string;
2555
+ text: string | React.ReactElement;
2556
2556
  tooltip?: string;
2557
2557
  tooltipPlacement?: TooltipProps['placement'];
2558
2558
  badge?: number;
@@ -2562,6 +2562,7 @@ declare module "editor/design-system/components/Bar" {
2562
2562
  key: string;
2563
2563
  type: 'button';
2564
2564
  id?: string;
2565
+ className?: string;
2565
2566
  icon: IconDefinition | undefined;
2566
2567
  label?: string;
2567
2568
  tooltip?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.126.0",
3
+ "version": "1.128.0",
4
4
  "license": "MIT"
5
5
  }