@useloops/design-system 1.4.286 → 1.4.288
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/dist/esm/index.js +2 -2
- package/dist/index.d.ts +30 -24
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { Dispatch, SetStateAction, FunctionComponent, ReactElement, PropsWithChildren, ChangeEvent, FC, ReactNode } from 'react';
|
|
3
3
|
import * as _mui_material from '@mui/material';
|
|
4
|
-
import { SxProps, Theme, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, Breakpoint, TypographyProps as TypographyProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, BoxProps, ButtonGroupProps, TextFieldProps as TextFieldProps$1,
|
|
4
|
+
import { SxProps, Theme, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, LinkProps as LinkProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, Breakpoint, TypographyProps as TypographyProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, BoxProps, ButtonGroupProps, TextFieldProps as TextFieldProps$1, PaperProps, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SkeletonProps as SkeletonProps$1, SwitchProps as SwitchProps$1, ChipProps as ChipProps$1, PaletteMode, Direction } from '@mui/material';
|
|
5
5
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { ChipProps } from '@mui/material/Chip';
|
|
@@ -829,10 +829,34 @@ interface BadgeProps extends PropsWithChildren {
|
|
|
829
829
|
}
|
|
830
830
|
declare const Badge: FunctionComponent<BadgeProps>;
|
|
831
831
|
|
|
832
|
-
interface
|
|
833
|
-
|
|
832
|
+
interface StyledLinkProps extends LinkProps$1 {
|
|
833
|
+
disabled?: boolean | undefined;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
interface LinkProps {
|
|
837
|
+
children: React.ReactNode;
|
|
834
838
|
href?: string;
|
|
839
|
+
target?: string;
|
|
840
|
+
onClick?: StyledLinkProps['onClick'];
|
|
841
|
+
disabled?: boolean;
|
|
842
|
+
sx?: SxProps<Theme>;
|
|
843
|
+
underline?: 'none' | 'hover' | 'always' | undefined;
|
|
844
|
+
noWrap?: boolean;
|
|
845
|
+
component?: any;
|
|
846
|
+
rel?: any;
|
|
847
|
+
title?: string;
|
|
835
848
|
}
|
|
849
|
+
declare const Link: FunctionComponent<LinkProps>;
|
|
850
|
+
|
|
851
|
+
type BreadcrumbLink = {
|
|
852
|
+
label: string;
|
|
853
|
+
} & ({
|
|
854
|
+
href?: LinkProps['href'];
|
|
855
|
+
onClick?: never;
|
|
856
|
+
} | {
|
|
857
|
+
href?: never;
|
|
858
|
+
onClick?: LinkProps['onClick'];
|
|
859
|
+
});
|
|
836
860
|
interface BreadcrumbProps {
|
|
837
861
|
links?: BreadcrumbLink[];
|
|
838
862
|
}
|
|
@@ -1217,25 +1241,6 @@ interface LikertProps {
|
|
|
1217
1241
|
}
|
|
1218
1242
|
declare const Likert: FunctionComponent<LikertProps>;
|
|
1219
1243
|
|
|
1220
|
-
interface StyledLinkProps extends LinkProps$1 {
|
|
1221
|
-
disabled?: boolean | undefined;
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
interface LinkProps {
|
|
1225
|
-
children: React.ReactNode;
|
|
1226
|
-
href?: string;
|
|
1227
|
-
target?: string;
|
|
1228
|
-
onClick?: StyledLinkProps['onClick'];
|
|
1229
|
-
disabled?: boolean;
|
|
1230
|
-
sx?: SxProps<Theme>;
|
|
1231
|
-
underline?: 'none' | 'hover' | 'always' | undefined;
|
|
1232
|
-
noWrap?: boolean;
|
|
1233
|
-
component?: any;
|
|
1234
|
-
rel?: any;
|
|
1235
|
-
title?: string;
|
|
1236
|
-
}
|
|
1237
|
-
declare const Link: FunctionComponent<LinkProps>;
|
|
1238
|
-
|
|
1239
1244
|
interface LoaderProps {
|
|
1240
1245
|
}
|
|
1241
1246
|
declare const Loader: FunctionComponent<LoaderProps>;
|
|
@@ -1286,6 +1291,7 @@ interface MenuItemProps {
|
|
|
1286
1291
|
divider?: boolean;
|
|
1287
1292
|
heading?: boolean;
|
|
1288
1293
|
selected?: boolean;
|
|
1294
|
+
disabled?: boolean;
|
|
1289
1295
|
closeOnClick?: boolean;
|
|
1290
1296
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
1291
1297
|
children?: MenuItemProps[];
|
|
@@ -1675,11 +1681,11 @@ interface AuthContainerSurfaceProps extends SurfaceProps {
|
|
|
1675
1681
|
declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
|
|
1676
1682
|
|
|
1677
1683
|
interface HeaderProps {
|
|
1678
|
-
|
|
1684
|
+
backAction?: IconButtonProps['onClick'];
|
|
1685
|
+
title?: string;
|
|
1679
1686
|
breadcrumbLinks?: BreadcrumbLink[];
|
|
1680
1687
|
buttons?: ReactNode;
|
|
1681
1688
|
controlBar?: ReactNode;
|
|
1682
|
-
title?: string;
|
|
1683
1689
|
}
|
|
1684
1690
|
declare const Header: FunctionComponent<HeaderProps>;
|
|
1685
1691
|
|