unlayer-types 1.31.0 → 1.33.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 +10 -2
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -1760,6 +1760,7 @@ declare module "editor/design-system/components/Input" {
|
|
1760
1760
|
placeholder?: string;
|
1761
1761
|
required?: boolean;
|
1762
1762
|
type?: Ariakit.FormInputProps['type'] | 'textarea';
|
1763
|
+
validationDOMTarget?: HTMLDivElement | null;
|
1763
1764
|
validationMessage?: string;
|
1764
1765
|
validationStatus?: 'error' | 'warn' | 'success';
|
1765
1766
|
value: Ariakit.FormInputProps['value'];
|
@@ -1870,20 +1871,25 @@ declare module "editor/design-system/components/Dropdown" {
|
|
1870
1871
|
export function Dropdown(props: DropdownProps): JSX.Element;
|
1871
1872
|
}
|
1872
1873
|
declare module "editor/design-system/components/CounterInput" {
|
1874
|
+
import React from 'react';
|
1873
1875
|
import { DisplayMode } from "state/types/types";
|
1876
|
+
import { InputProps } from "editor/design-system/components/Input";
|
1874
1877
|
export interface CounterInputProps {
|
1875
1878
|
absoluteBaseValue?: number;
|
1876
|
-
|
1879
|
+
containerStyle?: React.CSSProperties;
|
1877
1880
|
defaultUnit?: string;
|
1878
1881
|
disabled?: boolean;
|
1879
1882
|
displayMode: DisplayMode;
|
1883
|
+
inputStyle?: InputProps['style'];
|
1884
|
+
mainContainerStyle?: React.CSSProperties;
|
1880
1885
|
maxValue?: number | null;
|
1881
1886
|
minValue?: number | null;
|
1882
1887
|
onChange: (value: number | string) => void;
|
1883
1888
|
shouldRenderIncrementDecrementButtons?: boolean;
|
1884
1889
|
step?: number;
|
1885
|
-
unitSupportedDisplayModes?: string[];
|
1886
1890
|
units?: string[];
|
1891
|
+
unitSupportedDisplayModes?: string[];
|
1892
|
+
validationDOMTarget?: InputProps['validationDOMTarget'];
|
1887
1893
|
value: number | string;
|
1888
1894
|
}
|
1889
1895
|
export default function CounterInput(props: CounterInputProps): JSX.Element;
|
@@ -1891,6 +1897,7 @@ declare module "editor/design-system/components/CounterInput" {
|
|
1891
1897
|
declare module "editor/components/editors/common/Counter" {
|
1892
1898
|
import { CounterInputProps } from "editor/design-system/components/CounterInput";
|
1893
1899
|
export interface CounterProps extends Omit<CounterInputProps, 'displayMode'> {
|
1900
|
+
right?: boolean;
|
1894
1901
|
}
|
1895
1902
|
export default function Counter(props: CounterProps): JSX.Element;
|
1896
1903
|
}
|
@@ -2518,6 +2525,7 @@ declare module "embed/Editor" {
|
|
2518
2525
|
exportZip(callback: (data: ExportFromApiResult) => void, options?: ExportZipFromApiOptions): void;
|
2519
2526
|
setAppearance(appearance: DeepPartial<AppearanceConfig>): void;
|
2520
2527
|
setBodyValues(bodyValues: Partial<BodyValues>, bodyId?: number): void;
|
2528
|
+
setStyleGuide(styleGuide: object): void;
|
2521
2529
|
setDesignTagsConfig(designTagsConfig: DesignTagsConfig): void;
|
2522
2530
|
setMergeTagsConfig(mergeTagsConfig: MergeTagsConfig): void;
|
2523
2531
|
showPreview(payload: {
|
package/package.json
CHANGED