unlayer-types 1.6.0 → 1.6.2
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 +2 -1
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -823,17 +823,18 @@ declare module "editor/design-system/components/Input" {
|
|
823
823
|
};
|
824
824
|
}
|
825
825
|
declare module "editor/design-system/components/Button" {
|
826
|
-
/** TODO: Remove all "!important" after removing bootstrap */
|
827
826
|
import React from 'react';
|
828
827
|
import * as Ariakit from '@ariakit/react';
|
829
828
|
import { Theme } from '../../themes/types';
|
830
829
|
export interface ButtonProps extends Ariakit.ButtonProps {
|
831
830
|
children: React.ReactNode;
|
831
|
+
circle?: boolean;
|
832
832
|
className?: string;
|
833
833
|
danger?: boolean;
|
834
834
|
disabled?: boolean;
|
835
835
|
loading?: boolean;
|
836
836
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
837
|
+
size?: number | 'auto';
|
837
838
|
style?: React.CSSProperties;
|
838
839
|
variant?: keyof Theme['components']['buttons'];
|
839
840
|
type?: Ariakit.ButtonProps['type'];
|
package/package.json
CHANGED