@useloops/design-system 1.4.226 → 1.4.228
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 +4 -4
- package/dist/index.d.ts +11 -23
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _mui_material from '@mui/material';
|
|
2
|
-
import { SxProps, Theme, PaperProps, PopperProps as PopperProps$1, CSSObject, 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,
|
|
2
|
+
import { SxProps, Theme, PaperProps, PopperProps as PopperProps$1, CSSObject, 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, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, ClickAwayListenerProps, FadeProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SkeletonProps as SkeletonProps$1, SwitchProps as SwitchProps$1, PaletteMode, Direction } from '@mui/material';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { FunctionComponent, PropsWithChildren, FC, ReactNode, Dispatch, SetStateAction, ReactElement, ChangeEvent } from 'react';
|
|
5
5
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
@@ -1249,13 +1249,6 @@ type HtmlParserProps = {
|
|
|
1249
1249
|
};
|
|
1250
1250
|
declare const HtmlParser: FC<HtmlParserProps>;
|
|
1251
1251
|
|
|
1252
|
-
interface TooltipProps extends PropsWithChildren {
|
|
1253
|
-
message: TooltipProps$1['title'];
|
|
1254
|
-
variation?: 'primary';
|
|
1255
|
-
placement?: TooltipProps$1['placement'];
|
|
1256
|
-
}
|
|
1257
|
-
declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
1258
|
-
|
|
1259
1252
|
type IconButtonSizing = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1260
1253
|
type IconButtonShapeMap = 'default' | 'round';
|
|
1261
1254
|
type IconButtonVariation = 'default' | 'toggle' | 'outlined' | 'raised';
|
|
@@ -1296,33 +1289,28 @@ declare namespace IconButton_variantHelpers {
|
|
|
1296
1289
|
}
|
|
1297
1290
|
|
|
1298
1291
|
interface IconButtonBaseProps extends IconButtonProps$1 {
|
|
1299
|
-
variation?:
|
|
1292
|
+
variation?: IconButtonVariation;
|
|
1300
1293
|
shape?: IconButtonShapeMap;
|
|
1301
1294
|
sizing?: IconButtonSizing;
|
|
1302
1295
|
}
|
|
1303
1296
|
declare const IconButtonBase: ({ children, ...rest }: IconButtonBaseProps) => react_jsx_runtime.JSX.Element;
|
|
1304
1297
|
|
|
1305
|
-
interface
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1298
|
+
interface TooltipProps extends PropsWithChildren {
|
|
1299
|
+
message: TooltipProps$1['title'];
|
|
1300
|
+
variation?: 'primary';
|
|
1301
|
+
placement?: TooltipProps$1['placement'];
|
|
1302
|
+
}
|
|
1303
|
+
declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
1304
|
+
|
|
1305
|
+
interface IconButtonProps extends IconButtonBaseProps {
|
|
1309
1306
|
icon: ReactElement;
|
|
1310
1307
|
loading?: boolean;
|
|
1311
|
-
edge?: 'start' | 'end' | false;
|
|
1312
|
-
children?: IconButtonBaseProps['children'];
|
|
1313
|
-
onClick?: IconButtonBaseProps['onClick'];
|
|
1314
|
-
disabled?: boolean;
|
|
1315
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
1316
|
-
id?: string;
|
|
1317
|
-
type?: 'button' | 'submit' | 'reset';
|
|
1318
|
-
className?: string;
|
|
1319
1308
|
tooltipMessage?: TooltipProps['message'];
|
|
1320
1309
|
slotProps?: {
|
|
1321
1310
|
tooltip?: Omit<TooltipProps, 'message'>;
|
|
1322
1311
|
};
|
|
1323
|
-
sx?: IconButtonBaseProps['sx'];
|
|
1324
1312
|
}
|
|
1325
|
-
declare const IconButton:
|
|
1313
|
+
declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1326
1314
|
|
|
1327
1315
|
interface IconButtonGroupProps extends PropsWithChildren {
|
|
1328
1316
|
ButtonGroupProps?: ButtonGroupProps;
|