@useloops/design-system 1.4.277 → 1.4.278
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 +10 -15
- package/dist/index.js +4 -4
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, 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';
|
|
2
|
+
import { SxProps, Theme, PaperProps, PopperProps as PopperProps$1, 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, 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
|
-
import react__default, {
|
|
4
|
+
import react__default, { PropsWithChildren, FC, FunctionComponent, ReactNode, Dispatch, SetStateAction, ReactElement, ChangeEvent } from 'react';
|
|
5
5
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { SubmitHandler } from 'react-hook-form';
|
|
@@ -509,7 +509,7 @@ interface IconProps {
|
|
|
509
509
|
size?: number;
|
|
510
510
|
sx?: SxProps<Theme>;
|
|
511
511
|
}
|
|
512
|
-
declare const Icon:
|
|
512
|
+
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
|
|
513
513
|
|
|
514
514
|
type IconName = 'brand-wordmark' | 'brand-logomark' | 'menu' | 'menu-open' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'arrow-left' | 'arrow-right' | 'search' | 'close' | 'more-horizontal' | 'more-vertical' | 'home' | 'home-filled' | 'settings' | 'controls' | 'help' | 'filter-list' | 'open-in-new' | 'nav-toggle' | 'nav-collapse' | 'nav-expand' | 'expand-window' | 'reduce-window' | 'play-circle' | 'play-video' | 'email' | 'document' | 'folder' | 'attach-file' | 'save' | 'image' | 'image-add' | 'image-search' | 'image-no' | 'upload' | 'upload-cloud' | 'upload-cloud-filled' | 'time' | 'time-filled' | 'zoom-in' | 'zoom-out' | 'add' | 'remove' | 'dashboard' | 'list-view' | 'grid-view' | 'grid-view-filled' | 'grid-view-small' | 'grid-view-large' | 'eye' | 'eye-off' | 'notification' | 'pound' | 'euro' | 'dollar' | 'play' | 'pause' | 'stop' | 'shuffle' | 'replay' | 'volume-mute' | 'volume-high' | 'volume-low' | 'test' | 'test-pending' | 'test-edit' | 'data-bar' | 'send' | 'comment' | 'comment-filled' | 'chat' | 'microphone' | 'keyboard' | 'error' | 'warning' | 'lightbulb' | 'thumb-up' | 'info' | 'info-filled' | 'cancel' | 'compress' | 'expand' | 'unfold' | 'drag-handle' | 'focus' | 'drag-select' | 'lock' | 'copy' | 'edit' | 'delete' | 'check' | 'check-circle' | 'check-circle-filled' | 'alert-dot' | 'pin' | 'pin-filled' | 'star' | 'star-half' | 'star-filled' | 'thumbs-up-down' | 'emoticon' | 'linear-scale' | 'check-double' | 'rank' | 'ai' | 'work' | 'gift' | 'social-medium-single-colour' | 'social-linkedin-single-colour' | 'social-youtube-single-colour' | 'social-linkedin-full-colour' | 'social-google-full-colour' | 'badge-tick' | 'badge-tick-in-circle' | 'badge-cross' | 'badge-cross-in-circle' | 'badge-hyphen' | 'badge-hyphen-in-circle' | 'badge-question' | 'badge-question-in-circle';
|
|
515
515
|
|
|
@@ -1000,12 +1000,8 @@ interface AuthFormHeaderProps {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
declare const AuthFormHeader: FunctionComponent<AuthFormHeaderProps>;
|
|
1002
1002
|
|
|
1003
|
-
interface AvatarProps {
|
|
1004
|
-
|
|
1005
|
-
children?: ReactElement;
|
|
1006
|
-
className?: string;
|
|
1007
|
-
sizing?: 'sm' | 'lg';
|
|
1008
|
-
src?: string;
|
|
1003
|
+
interface AvatarProps extends AvatarProps$1 {
|
|
1004
|
+
sizing?: 'xs' | 'sm' | 'lg';
|
|
1009
1005
|
}
|
|
1010
1006
|
declare const Avatar: FunctionComponent<AvatarProps>;
|
|
1011
1007
|
|
|
@@ -1327,13 +1323,12 @@ interface IconButtonBaseProps extends IconButtonProps$1 {
|
|
|
1327
1323
|
}
|
|
1328
1324
|
declare const IconButtonBase: ({ children, ...rest }: IconButtonBaseProps) => react_jsx_runtime.JSX.Element;
|
|
1329
1325
|
|
|
1330
|
-
interface TooltipProps extends
|
|
1326
|
+
interface TooltipProps extends Omit<TooltipProps$1, 'title' | 'slotProps'> {
|
|
1331
1327
|
message: TooltipProps$1['title'];
|
|
1332
1328
|
variation?: 'primary';
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
slotProps?: TooltipProps$1['slotProps'];
|
|
1329
|
+
slotProps?: TooltipProps$1['slotProps'] & {
|
|
1330
|
+
wrapper?: BoxProps;
|
|
1331
|
+
};
|
|
1337
1332
|
}
|
|
1338
1333
|
declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
1339
1334
|
|
|
@@ -1503,7 +1498,7 @@ interface StyledChipProps extends ChipProps {
|
|
|
1503
1498
|
interface PillProps extends Omit<StyledChipProps, 'size' | 'color' | 'label' | 'children'> {
|
|
1504
1499
|
body: string;
|
|
1505
1500
|
}
|
|
1506
|
-
declare const Pill:
|
|
1501
|
+
declare const Pill: react.ForwardRefExoticComponent<Omit<PillProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1507
1502
|
|
|
1508
1503
|
declare const PoweredByWatermarkLogo: () => react_jsx_runtime.JSX.Element;
|
|
1509
1504
|
|