@useloops/design-system 1.4.282 → 1.4.283
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 +174 -132
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _mui_material from '@mui/material';
|
|
2
|
-
import { SxProps, Theme, PaperProps, PopperProps as PopperProps$1, CSSObject,
|
|
2
|
+
import { SxProps, Theme, PaperProps, PopperProps as PopperProps$1, CSSObject, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, BoxProps, ClickAwayListenerProps, FadeProps, TypographyProps as TypographyProps$1, ChipProps as ChipProps$1, 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, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, 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, { FC, FunctionComponent, ReactNode, PropsWithChildren, Dispatch, SetStateAction,
|
|
4
|
+
import react__default, { FC, FunctionComponent, ReactNode, PropsWithChildren, ReactElement, Dispatch, SetStateAction, 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
|
+
import { ChipProps } from '@mui/material/Chip';
|
|
7
8
|
import { SubmitHandler } from 'react-hook-form';
|
|
8
9
|
import { Theme as Theme$1 } from '@mui/material/styles';
|
|
9
10
|
import { NumericFormatProps } from 'react-number-format';
|
|
@@ -12,7 +13,6 @@ import * as _mui_system from '@mui/system';
|
|
|
12
13
|
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
13
14
|
import { Mark } from '@mui/material/Slider/useSlider.types';
|
|
14
15
|
import { LazyLoadImageProps } from 'react-lazy-load-image-component';
|
|
15
|
-
import { ChipProps } from '@mui/material/Chip';
|
|
16
16
|
|
|
17
17
|
interface ColorRange$1 {
|
|
18
18
|
0: string;
|
|
@@ -688,6 +688,23 @@ interface HeaderProps {
|
|
|
688
688
|
}
|
|
689
689
|
declare const Header: FunctionComponent<HeaderProps>;
|
|
690
690
|
|
|
691
|
+
interface LoopItemProps extends PropsWithChildren {
|
|
692
|
+
onClick: () => void;
|
|
693
|
+
id: string;
|
|
694
|
+
thumbnail: string;
|
|
695
|
+
title: string;
|
|
696
|
+
active?: boolean;
|
|
697
|
+
loading?: boolean;
|
|
698
|
+
testCount: number | null;
|
|
699
|
+
draftCount: number | null;
|
|
700
|
+
}
|
|
701
|
+
declare const LoopItem: FunctionComponent<LoopItemProps>;
|
|
702
|
+
|
|
703
|
+
interface LoopItemEmptyProps extends PropsWithChildren {
|
|
704
|
+
onClick: () => void;
|
|
705
|
+
}
|
|
706
|
+
declare const LoopItemEmpty: react.ForwardRefExoticComponent<LoopItemEmptyProps & react.RefAttributes<HTMLDivElement>>;
|
|
707
|
+
|
|
691
708
|
type NavigationButtonSizing = 'sm' | 'md' | 'lg';
|
|
692
709
|
interface NavigationButtonProps {
|
|
693
710
|
active?: boolean;
|
|
@@ -826,22 +843,162 @@ interface SectionHeaderProps {
|
|
|
826
843
|
}
|
|
827
844
|
declare const SectionHeader: FunctionComponent<SectionHeaderProps>;
|
|
828
845
|
|
|
829
|
-
|
|
830
|
-
|
|
846
|
+
type IconButtonSizing = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
847
|
+
type IconButtonShapeMap = 'default' | 'round';
|
|
848
|
+
type IconButtonVariation = 'default' | 'toggle' | 'outlined' | 'raised';
|
|
849
|
+
|
|
850
|
+
declare const defaultStyle: (theme: Theme) => CSSObject;
|
|
851
|
+
declare const toggle: (theme: Theme) => CSSObject;
|
|
852
|
+
declare const outlined$1: (theme: Theme) => CSSObject;
|
|
853
|
+
declare const raised: (theme: Theme) => CSSObject;
|
|
854
|
+
declare const getIconButtonRadius: (shape: IconButtonShapeMap, theme: Theme) => CSSObject;
|
|
855
|
+
declare const buttonSizeMap: {
|
|
856
|
+
xs: number;
|
|
857
|
+
sm: number;
|
|
858
|
+
md: number;
|
|
859
|
+
lg: number;
|
|
860
|
+
xl: number;
|
|
861
|
+
};
|
|
862
|
+
declare const getIconButtonSizing: (sizing: IconButtonSizing) => CSSObject;
|
|
863
|
+
declare const IconSizeMap: {
|
|
864
|
+
xs: number;
|
|
865
|
+
sm: number;
|
|
866
|
+
md: number;
|
|
867
|
+
lg: number;
|
|
868
|
+
xl: number;
|
|
869
|
+
};
|
|
870
|
+
declare const getIconSizing$1: (sizing: IconButtonSizing) => CSSObject;
|
|
871
|
+
|
|
872
|
+
declare const IconButton_variantHelpers_IconSizeMap: typeof IconSizeMap;
|
|
873
|
+
declare const IconButton_variantHelpers_buttonSizeMap: typeof buttonSizeMap;
|
|
874
|
+
declare const IconButton_variantHelpers_defaultStyle: typeof defaultStyle;
|
|
875
|
+
declare const IconButton_variantHelpers_getIconButtonRadius: typeof getIconButtonRadius;
|
|
876
|
+
declare const IconButton_variantHelpers_getIconButtonSizing: typeof getIconButtonSizing;
|
|
877
|
+
declare const IconButton_variantHelpers_raised: typeof raised;
|
|
878
|
+
declare const IconButton_variantHelpers_toggle: typeof toggle;
|
|
879
|
+
declare namespace IconButton_variantHelpers {
|
|
880
|
+
export { IconButton_variantHelpers_IconSizeMap as IconSizeMap, IconButton_variantHelpers_buttonSizeMap as buttonSizeMap, IconButton_variantHelpers_defaultStyle as defaultStyle, IconButton_variantHelpers_getIconButtonRadius as getIconButtonRadius, IconButton_variantHelpers_getIconButtonSizing as getIconButtonSizing, getIconSizing$1 as getIconSizing, outlined$1 as outlined, IconButton_variantHelpers_raised as raised, IconButton_variantHelpers_toggle as toggle };
|
|
831
881
|
}
|
|
832
|
-
declare const LoopItemEmpty: react.ForwardRefExoticComponent<LoopItemEmptyProps & react.RefAttributes<HTMLDivElement>>;
|
|
833
882
|
|
|
834
|
-
interface
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
883
|
+
interface IconButtonBaseProps extends IconButtonProps$1 {
|
|
884
|
+
variation?: IconButtonVariation;
|
|
885
|
+
shape?: IconButtonShapeMap;
|
|
886
|
+
sizing?: IconButtonSizing;
|
|
887
|
+
}
|
|
888
|
+
declare const IconButtonBase: ({ children, ...rest }: IconButtonBaseProps) => react_jsx_runtime.JSX.Element;
|
|
889
|
+
|
|
890
|
+
interface TooltipProps extends Omit<Partial<TooltipProps$1>, 'title' | 'slotProps'> {
|
|
891
|
+
message: TooltipProps$1['title'];
|
|
892
|
+
variation?: 'primary';
|
|
893
|
+
slotProps?: TooltipProps$1['slotProps'] & {
|
|
894
|
+
wrapper?: BoxProps;
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
898
|
+
|
|
899
|
+
interface IconButtonProps extends IconButtonBaseProps {
|
|
900
|
+
icon: ReactElement;
|
|
901
|
+
loading?: boolean;
|
|
902
|
+
tooltipMessage?: TooltipProps['message'];
|
|
903
|
+
slotProps?: {
|
|
904
|
+
tooltip?: Omit<TooltipProps, 'message'>;
|
|
905
|
+
};
|
|
906
|
+
emojiMode?: boolean;
|
|
907
|
+
}
|
|
908
|
+
declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
909
|
+
|
|
910
|
+
type BindOn = 'trigger' | 'contextMenu' | 'toggle' | 'hover' | 'focus' | 'doubleClick';
|
|
911
|
+
interface PopperProps {
|
|
912
|
+
popperProps?: Partial<PopperProps$1>;
|
|
913
|
+
clickAwayListenerProps?: Partial<Omit<ClickAwayListenerProps, 'onClickAway'> & {
|
|
914
|
+
onClickAway?: (event: MouseEvent | TouchEvent, state: PopupState) => void;
|
|
915
|
+
}>;
|
|
916
|
+
transitionFadeProps?: Pick<FadeProps, 'easing' | 'timeout' | 'appear' | 'enter' | 'exit'>;
|
|
917
|
+
surfaceProps?: SurfaceProps;
|
|
918
|
+
bindOn?: BindOn[];
|
|
919
|
+
trigger: ReactElement;
|
|
920
|
+
children: ReactElement;
|
|
921
|
+
state?: PopupState;
|
|
922
|
+
}
|
|
923
|
+
declare const Popper: ({ bindOn, trigger, children, state, ...props }: PopperProps) => react_jsx_runtime.JSX.Element;
|
|
924
|
+
|
|
925
|
+
interface MenuProps extends PropsWithChildren {
|
|
926
|
+
menuItems?: MenuItemProps[];
|
|
927
|
+
offset?: number[];
|
|
928
|
+
placement?: PopperProps$1['placement'];
|
|
929
|
+
state?: PopupState;
|
|
930
|
+
bindOn?: PopperProps['bindOn'];
|
|
931
|
+
trigger: ReactElement;
|
|
932
|
+
width?: number;
|
|
933
|
+
slotProps?: {
|
|
934
|
+
popper?: PopperProps['popperProps'];
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
declare const Menu: FunctionComponent<MenuProps>;
|
|
938
|
+
|
|
939
|
+
interface StyledChipProps extends ChipProps {
|
|
940
|
+
variation?: 'default' | 'peach' | 'peachDark' | 'purple';
|
|
941
|
+
weight?: 'heavy' | 'light';
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
interface PillProps extends Omit<StyledChipProps, 'size' | 'color' | 'label' | 'children'> {
|
|
945
|
+
body: string;
|
|
946
|
+
}
|
|
947
|
+
declare const Pill: react.ForwardRefExoticComponent<Omit<PillProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
948
|
+
|
|
949
|
+
interface TypographyProps extends Omit<TypographyProps$1, 'ref'> {
|
|
950
|
+
clamp?: number;
|
|
951
|
+
component: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
|
|
952
|
+
type?: 'default' | 'button';
|
|
953
|
+
variation?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
954
|
+
weight?: 'default' | 'bold';
|
|
955
|
+
sx?: SxProps<Theme>;
|
|
956
|
+
}
|
|
957
|
+
declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLHeadingElement | HTMLParagraphElement>>;
|
|
958
|
+
|
|
959
|
+
interface StyledTestStatusProps extends ChipProps$1 {
|
|
960
|
+
colorScheme: 'green' | 'yellow' | 'blue';
|
|
961
|
+
}
|
|
962
|
+
interface TestStatusProps extends Partial<StyledTestStatusProps> {
|
|
963
|
+
status: 'results-ready' | 'in-progress' | 'draft';
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
interface TestItemProps extends SurfaceProps {
|
|
967
|
+
status: TestStatusProps['status'];
|
|
968
|
+
menuItems?: MenuProps['menuItems'];
|
|
838
969
|
title: string;
|
|
839
|
-
|
|
970
|
+
tags?: string[];
|
|
971
|
+
stats?: {
|
|
972
|
+
progress?: {
|
|
973
|
+
percentage: number;
|
|
974
|
+
completed: number;
|
|
975
|
+
total: number;
|
|
976
|
+
incomplete: number;
|
|
977
|
+
incompletePercentage: number;
|
|
978
|
+
averageDuration: string;
|
|
979
|
+
estimatedTimeToComplete: string;
|
|
980
|
+
};
|
|
981
|
+
count?: {
|
|
982
|
+
answers: number;
|
|
983
|
+
comments: number;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
user: {
|
|
987
|
+
name: string;
|
|
988
|
+
avatarUrl?: string;
|
|
989
|
+
activityDescription: string;
|
|
990
|
+
};
|
|
991
|
+
slotProps?: {
|
|
992
|
+
title?: Partial<Omit<TypographyProps, 'children'>>;
|
|
993
|
+
status?: Partial<Omit<TestStatusProps, 'status'>>;
|
|
994
|
+
menu?: Partial<Omit<MenuProps, 'trigger' | 'menuItems'>>;
|
|
995
|
+
pill?: Partial<Omit<PillProps, 'body'>>;
|
|
996
|
+
tagsExpand?: Partial<Omit<PillProps, 'body'>>;
|
|
997
|
+
tagsCollapse?: Partial<IconButtonProps>;
|
|
998
|
+
};
|
|
840
999
|
loading?: boolean;
|
|
841
|
-
testCount: number | null;
|
|
842
|
-
draftCount: number | null;
|
|
843
1000
|
}
|
|
844
|
-
declare const
|
|
1001
|
+
declare const TestItem: react__default.FC<TestItemProps>;
|
|
845
1002
|
|
|
846
1003
|
declare const emailValidation: {
|
|
847
1004
|
pattern: {
|
|
@@ -881,7 +1038,7 @@ declare const subtle: (theme: Theme) => {
|
|
|
881
1038
|
boxShadow: string;
|
|
882
1039
|
};
|
|
883
1040
|
};
|
|
884
|
-
declare const outlined
|
|
1041
|
+
declare const outlined: (theme: Theme) => {
|
|
885
1042
|
backgroundColor: string;
|
|
886
1043
|
border: string;
|
|
887
1044
|
'&:focus:before': {
|
|
@@ -967,7 +1124,7 @@ declare const buttonInteraction: (theme: Theme, active?: boolean) => {
|
|
|
967
1124
|
};
|
|
968
1125
|
};
|
|
969
1126
|
type ButtonSizing = Exclude<GenericSizeMap, 'none'>;
|
|
970
|
-
declare const getIconSizing
|
|
1127
|
+
declare const getIconSizing: (sizing: ButtonSizing) => CSSObject;
|
|
971
1128
|
declare const getButtonTypography: (sizing: ButtonSizing) => CSSObject;
|
|
972
1129
|
declare const getButtonSizing: (sizing: ButtonSizing) => CSSObject;
|
|
973
1130
|
|
|
@@ -1253,88 +1410,12 @@ interface HtmlProps {
|
|
|
1253
1410
|
}
|
|
1254
1411
|
declare const Html: FunctionComponent<HtmlProps>;
|
|
1255
1412
|
|
|
1256
|
-
interface TypographyProps extends Omit<TypographyProps$1, 'ref'> {
|
|
1257
|
-
clamp?: number;
|
|
1258
|
-
component: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
|
|
1259
|
-
type?: 'default' | 'button';
|
|
1260
|
-
variation?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
1261
|
-
weight?: 'default' | 'bold';
|
|
1262
|
-
sx?: SxProps<Theme>;
|
|
1263
|
-
}
|
|
1264
|
-
declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLHeadingElement | HTMLParagraphElement>>;
|
|
1265
|
-
|
|
1266
1413
|
type HtmlParserProps = {
|
|
1267
1414
|
children: string;
|
|
1268
1415
|
typographyProps?: Partial<TypographyProps>;
|
|
1269
1416
|
};
|
|
1270
1417
|
declare const HtmlParser: FC<HtmlParserProps>;
|
|
1271
1418
|
|
|
1272
|
-
type IconButtonSizing = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1273
|
-
type IconButtonShapeMap = 'default' | 'round';
|
|
1274
|
-
type IconButtonVariation = 'default' | 'toggle' | 'outlined' | 'raised';
|
|
1275
|
-
|
|
1276
|
-
declare const defaultStyle: (theme: Theme) => CSSObject;
|
|
1277
|
-
declare const toggle: (theme: Theme) => CSSObject;
|
|
1278
|
-
declare const outlined: (theme: Theme) => CSSObject;
|
|
1279
|
-
declare const raised: (theme: Theme) => CSSObject;
|
|
1280
|
-
declare const getIconButtonRadius: (shape: IconButtonShapeMap, theme: Theme) => CSSObject;
|
|
1281
|
-
declare const buttonSizeMap: {
|
|
1282
|
-
xs: number;
|
|
1283
|
-
sm: number;
|
|
1284
|
-
md: number;
|
|
1285
|
-
lg: number;
|
|
1286
|
-
xl: number;
|
|
1287
|
-
};
|
|
1288
|
-
declare const getIconButtonSizing: (sizing: IconButtonSizing) => CSSObject;
|
|
1289
|
-
declare const IconSizeMap: {
|
|
1290
|
-
xs: number;
|
|
1291
|
-
sm: number;
|
|
1292
|
-
md: number;
|
|
1293
|
-
lg: number;
|
|
1294
|
-
xl: number;
|
|
1295
|
-
};
|
|
1296
|
-
declare const getIconSizing: (sizing: IconButtonSizing) => CSSObject;
|
|
1297
|
-
|
|
1298
|
-
declare const IconButton_variantHelpers_IconSizeMap: typeof IconSizeMap;
|
|
1299
|
-
declare const IconButton_variantHelpers_buttonSizeMap: typeof buttonSizeMap;
|
|
1300
|
-
declare const IconButton_variantHelpers_defaultStyle: typeof defaultStyle;
|
|
1301
|
-
declare const IconButton_variantHelpers_getIconButtonRadius: typeof getIconButtonRadius;
|
|
1302
|
-
declare const IconButton_variantHelpers_getIconButtonSizing: typeof getIconButtonSizing;
|
|
1303
|
-
declare const IconButton_variantHelpers_getIconSizing: typeof getIconSizing;
|
|
1304
|
-
declare const IconButton_variantHelpers_outlined: typeof outlined;
|
|
1305
|
-
declare const IconButton_variantHelpers_raised: typeof raised;
|
|
1306
|
-
declare const IconButton_variantHelpers_toggle: typeof toggle;
|
|
1307
|
-
declare namespace IconButton_variantHelpers {
|
|
1308
|
-
export { IconButton_variantHelpers_IconSizeMap as IconSizeMap, IconButton_variantHelpers_buttonSizeMap as buttonSizeMap, IconButton_variantHelpers_defaultStyle as defaultStyle, IconButton_variantHelpers_getIconButtonRadius as getIconButtonRadius, IconButton_variantHelpers_getIconButtonSizing as getIconButtonSizing, IconButton_variantHelpers_getIconSizing as getIconSizing, IconButton_variantHelpers_outlined as outlined, IconButton_variantHelpers_raised as raised, IconButton_variantHelpers_toggle as toggle };
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
interface IconButtonBaseProps extends IconButtonProps$1 {
|
|
1312
|
-
variation?: IconButtonVariation;
|
|
1313
|
-
shape?: IconButtonShapeMap;
|
|
1314
|
-
sizing?: IconButtonSizing;
|
|
1315
|
-
}
|
|
1316
|
-
declare const IconButtonBase: ({ children, ...rest }: IconButtonBaseProps) => react_jsx_runtime.JSX.Element;
|
|
1317
|
-
|
|
1318
|
-
interface TooltipProps extends Omit<Partial<TooltipProps$1>, 'title' | 'slotProps'> {
|
|
1319
|
-
message: TooltipProps$1['title'];
|
|
1320
|
-
variation?: 'primary';
|
|
1321
|
-
slotProps?: TooltipProps$1['slotProps'] & {
|
|
1322
|
-
wrapper?: BoxProps;
|
|
1323
|
-
};
|
|
1324
|
-
}
|
|
1325
|
-
declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
1326
|
-
|
|
1327
|
-
interface IconButtonProps extends IconButtonBaseProps {
|
|
1328
|
-
icon: ReactElement;
|
|
1329
|
-
loading?: boolean;
|
|
1330
|
-
tooltipMessage?: TooltipProps['message'];
|
|
1331
|
-
slotProps?: {
|
|
1332
|
-
tooltip?: Omit<TooltipProps, 'message'>;
|
|
1333
|
-
};
|
|
1334
|
-
emojiMode?: boolean;
|
|
1335
|
-
}
|
|
1336
|
-
declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1337
|
-
|
|
1338
1419
|
interface IconButtonGroupProps {
|
|
1339
1420
|
ButtonGroupProps?: ButtonGroupProps;
|
|
1340
1421
|
variation?: 'default' | 'toggle';
|
|
@@ -1434,35 +1515,6 @@ type MarkdownProps = {
|
|
|
1434
1515
|
};
|
|
1435
1516
|
declare const Markdown: FC<MarkdownProps>;
|
|
1436
1517
|
|
|
1437
|
-
type BindOn = 'trigger' | 'contextMenu' | 'toggle' | 'hover' | 'focus' | 'doubleClick';
|
|
1438
|
-
interface PopperProps {
|
|
1439
|
-
popperProps?: Partial<PopperProps$1>;
|
|
1440
|
-
clickAwayListenerProps?: Partial<Omit<ClickAwayListenerProps, 'onClickAway'> & {
|
|
1441
|
-
onClickAway?: (event: MouseEvent | TouchEvent, state: PopupState) => void;
|
|
1442
|
-
}>;
|
|
1443
|
-
transitionFadeProps?: Pick<FadeProps, 'easing' | 'timeout' | 'appear' | 'enter' | 'exit'>;
|
|
1444
|
-
surfaceProps?: SurfaceProps;
|
|
1445
|
-
bindOn?: BindOn[];
|
|
1446
|
-
trigger: ReactElement;
|
|
1447
|
-
children: ReactElement;
|
|
1448
|
-
state?: PopupState;
|
|
1449
|
-
}
|
|
1450
|
-
declare const Popper: ({ bindOn, trigger, children, state, ...props }: PopperProps) => react_jsx_runtime.JSX.Element;
|
|
1451
|
-
|
|
1452
|
-
interface MenuProps extends PropsWithChildren {
|
|
1453
|
-
menuItems?: MenuItemProps[];
|
|
1454
|
-
offset?: number[];
|
|
1455
|
-
placement?: PopperProps$1['placement'];
|
|
1456
|
-
state?: PopupState;
|
|
1457
|
-
bindOn?: PopperProps['bindOn'];
|
|
1458
|
-
trigger: ReactElement;
|
|
1459
|
-
width?: number;
|
|
1460
|
-
slotProps?: {
|
|
1461
|
-
popper?: PopperProps['popperProps'];
|
|
1462
|
-
};
|
|
1463
|
-
}
|
|
1464
|
-
declare const Menu: FunctionComponent<MenuProps>;
|
|
1465
|
-
|
|
1466
1518
|
interface NudgeProps extends PropsWithChildren {
|
|
1467
1519
|
description: string;
|
|
1468
1520
|
notification?: boolean;
|
|
@@ -1485,16 +1537,6 @@ type NumberFieldProps = InputFieldBaseProps & {
|
|
|
1485
1537
|
};
|
|
1486
1538
|
declare const NumberField: FunctionComponent<NumberFieldProps>;
|
|
1487
1539
|
|
|
1488
|
-
interface StyledChipProps extends ChipProps {
|
|
1489
|
-
variation?: 'default' | 'peach' | 'peachDark' | 'purple';
|
|
1490
|
-
weight?: 'heavy' | 'light';
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
interface PillProps extends Omit<StyledChipProps, 'size' | 'color' | 'label' | 'children'> {
|
|
1494
|
-
body: string;
|
|
1495
|
-
}
|
|
1496
|
-
declare const Pill: react.ForwardRefExoticComponent<Omit<PillProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1497
|
-
|
|
1498
1540
|
declare const PoweredByWatermarkLogo: () => react_jsx_runtime.JSX.Element;
|
|
1499
1541
|
|
|
1500
1542
|
type ProgressSizing = Exclude<GenericSizeMap, 'none'>;
|
|
@@ -2097,4 +2139,4 @@ declare module '@mui/system' {
|
|
|
2097
2139
|
}
|
|
2098
2140
|
}
|
|
2099
2141
|
|
|
2100
|
-
export { Accordion, type AccordionProps, AnnualController, type AnnualControllerProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BrandBadge, type BrandBadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, BulletGraphic, type BulletGraphicProps, Button, ButtonBase, type ButtonBaseProps, type ButtonProps, type ButtonSizing, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GridOverlay, type GridOverlayProps, type GroupSelectOption, Header, type HeaderProps, Html, HtmlParser, type HtmlParserProps, type HtmlProps, Icon, IconButton, IconButtonBase, type IconButtonBaseProps, IconButtonGroup, type IconButtonGroupProps, type IconButtonProps, type IconName, Image, type ImageProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, LoopsAiButton, type LoopsAiButtonProps, Markdown, type MarkdownProps, Menu, type MenuProps, Navigation, NavigationButton, type NavigationButtonProps, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, type OnboardingItem, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableData, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, Popper, type PopperProps, PoweredByWatermarkLogo, Progress, ProgressBar, type ProgressBarProps, type ProgressProps, ProjectItem, ProjectItemEmpty, type ProjectItemEmptyProps, type ProjectItemProps, Projects, type ProjectsProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, type Section, SectionHeader, type SectionHeaderProps, Select, type SelectOption, type SelectProps, type SemanticColor, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, Textarea, type TextareaProps, ThemeContext, type ThemeCtx, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, TrialCard, type TrialCardProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, VideoModal, type VideoModalProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, buttonInteraction, chooseArticle, compareArrayMembers, customTheme, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, getButtonSizing, getButtonTypography, getIconSizing
|
|
2142
|
+
export { Accordion, type AccordionProps, AnnualController, type AnnualControllerProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BrandBadge, type BrandBadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, BulletGraphic, type BulletGraphicProps, Button, ButtonBase, type ButtonBaseProps, type ButtonProps, type ButtonSizing, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GridOverlay, type GridOverlayProps, type GroupSelectOption, Header, type HeaderProps, Html, HtmlParser, type HtmlParserProps, type HtmlProps, Icon, IconButton, IconButtonBase, type IconButtonBaseProps, IconButtonGroup, type IconButtonGroupProps, type IconButtonProps, type IconName, Image, type ImageProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, LoopsAiButton, type LoopsAiButtonProps, Markdown, type MarkdownProps, Menu, type MenuProps, Navigation, NavigationButton, type NavigationButtonProps, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, type OnboardingItem, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableData, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, Popper, type PopperProps, PoweredByWatermarkLogo, Progress, ProgressBar, type ProgressBarProps, type ProgressProps, ProjectItem, ProjectItemEmpty, type ProjectItemEmptyProps, type ProjectItemProps, Projects, type ProjectsProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, type Section, SectionHeader, type SectionHeaderProps, Select, type SelectOption, type SelectProps, type SemanticColor, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, TestItem, type TestItemProps, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, Textarea, type TextareaProps, ThemeContext, type ThemeCtx, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, TrialCard, type TrialCardProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, VideoModal, type VideoModalProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, buttonInteraction, chooseArticle, compareArrayMembers, customTheme, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, getButtonSizing, getButtonTypography, getIconSizing, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, margin, neutral, neutralAlpha, neutralRamp, outlined, padding, passwordValidation, peach, peachRamp, primary, purple, purpleRamp, radius, red, redRamp, secondary, semantic, space, subtle, useBreakpoint, useDropdownMenu, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };
|