@useloops/design-system 1.4.190 → 1.4.192
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 +3 -3
- package/dist/index.d.ts +39 -2
- 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, 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, TooltipProps as TooltipProps$1, IconButtonProps as IconButtonProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, ClickAwayListenerProps, FadeProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SwitchProps as SwitchProps$1, SkeletonProps as SkeletonProps$1, PaletteMode, Direction } from '@mui/material';
|
|
2
|
+
import { SxProps, Theme, PaperProps, PopperProps as PopperProps$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, TooltipProps as TooltipProps$1, IconButtonProps as IconButtonProps$1, CSSObject, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, ClickAwayListenerProps, FadeProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SwitchProps as SwitchProps$1, SkeletonProps as SkeletonProps$1, PaletteMode, Direction } from '@mui/material';
|
|
3
3
|
import react, { FunctionComponent, PropsWithChildren, FC, ReactNode, ReactElement, ChangeEvent, Dispatch, SetStateAction } from 'react';
|
|
4
4
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
5
5
|
import { SubmitHandler } from 'react-hook-form';
|
|
@@ -1161,6 +1161,7 @@ interface StyledIconButtonProps extends IconButtonProps$1 {
|
|
|
1161
1161
|
shape?: IconButtonShapeMap;
|
|
1162
1162
|
sizing?: IconButtonSizing;
|
|
1163
1163
|
loading?: boolean;
|
|
1164
|
+
sx?: IconButtonProps$1['sx'];
|
|
1164
1165
|
}
|
|
1165
1166
|
|
|
1166
1167
|
interface IconButtonProps {
|
|
@@ -1181,9 +1182,45 @@ interface IconButtonProps {
|
|
|
1181
1182
|
slotProps?: {
|
|
1182
1183
|
tooltip?: Omit<TooltipProps, 'message'>;
|
|
1183
1184
|
};
|
|
1185
|
+
sx?: StyledIconButtonProps['sx'];
|
|
1184
1186
|
}
|
|
1185
1187
|
declare const IconButton: ({ icon, loading, tooltipMessage, sizing, slotProps, ...rest }: IconButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1186
1188
|
|
|
1189
|
+
declare const defaultStyle: (theme: Theme) => CSSObject;
|
|
1190
|
+
declare const toggle: (theme: Theme) => CSSObject;
|
|
1191
|
+
declare const outlined: (theme: Theme) => CSSObject;
|
|
1192
|
+
declare const raised: (theme: Theme) => CSSObject;
|
|
1193
|
+
declare const getIconButtonRadius: (shape: IconButtonShapeMap, theme: Theme) => CSSObject;
|
|
1194
|
+
declare const buttonSizeMap: {
|
|
1195
|
+
xs: number;
|
|
1196
|
+
sm: number;
|
|
1197
|
+
md: number;
|
|
1198
|
+
lg: number;
|
|
1199
|
+
xl: number;
|
|
1200
|
+
};
|
|
1201
|
+
declare const getIconButtonSizing: (sizing: IconButtonSizing) => CSSObject;
|
|
1202
|
+
declare const IconSizeMap: {
|
|
1203
|
+
xs: number;
|
|
1204
|
+
sm: number;
|
|
1205
|
+
md: number;
|
|
1206
|
+
lg: number;
|
|
1207
|
+
xl: number;
|
|
1208
|
+
};
|
|
1209
|
+
declare const getIconSizing: (sizing: IconButtonSizing) => CSSObject;
|
|
1210
|
+
|
|
1211
|
+
declare const IconButton_variantHelpers_IconSizeMap: typeof IconSizeMap;
|
|
1212
|
+
declare const IconButton_variantHelpers_buttonSizeMap: typeof buttonSizeMap;
|
|
1213
|
+
declare const IconButton_variantHelpers_defaultStyle: typeof defaultStyle;
|
|
1214
|
+
declare const IconButton_variantHelpers_getIconButtonRadius: typeof getIconButtonRadius;
|
|
1215
|
+
declare const IconButton_variantHelpers_getIconButtonSizing: typeof getIconButtonSizing;
|
|
1216
|
+
declare const IconButton_variantHelpers_getIconSizing: typeof getIconSizing;
|
|
1217
|
+
declare const IconButton_variantHelpers_outlined: typeof outlined;
|
|
1218
|
+
declare const IconButton_variantHelpers_raised: typeof raised;
|
|
1219
|
+
declare const IconButton_variantHelpers_toggle: typeof toggle;
|
|
1220
|
+
declare namespace IconButton_variantHelpers {
|
|
1221
|
+
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 };
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1187
1224
|
interface IconButtonGroupProps extends PropsWithChildren {
|
|
1188
1225
|
ButtonGroupProps?: ButtonGroupProps;
|
|
1189
1226
|
variation?: 'default' | 'toggle';
|
|
@@ -1982,4 +2019,4 @@ declare module '@mui/system' {
|
|
|
1982
2019
|
}
|
|
1983
2020
|
}
|
|
1984
2021
|
|
|
1985
|
-
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, Button, type ButtonProps, 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, Header, type HeaderProps, Html, HtmlParser, type HtmlParserProps, type HtmlProps, Icon, IconButton, IconButtonGroup, 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, 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 PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, 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, SectionHeader, type SectionHeaderProps, Select, 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, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, compareArrayMembers, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, green, greenRamp, iconSizeMap, margin, neutral, neutralAlpha, neutralRamp, padding, passwordValidation, peach, peachRamp, purple, purpleRamp, radius, red, redRamp, semantic, space, useBreakpoint, useDropdownMenu, usePrevious, useScreenSize, yellow, yellowRamp };
|
|
2022
|
+
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, Button, type ButtonProps, 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, Header, type HeaderProps, Html, HtmlParser, type HtmlParserProps, type HtmlProps, Icon, IconButton, IconButtonGroup, 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, 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 PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, 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, SectionHeader, type SectionHeaderProps, Select, 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, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, compareArrayMembers, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, margin, neutral, neutralAlpha, neutralRamp, padding, passwordValidation, peach, peachRamp, purple, purpleRamp, radius, red, redRamp, semantic, space, useBreakpoint, useDropdownMenu, usePrevious, useScreenSize, yellow, yellowRamp };
|