@useloops/design-system 1.4.170 → 1.4.172
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 +15 -2
- package/dist/index.d.ts +35 -8
- package/dist/index.js +15 -2
- package/package.json +3 -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, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, Breakpoint, TooltipProps as TooltipProps$1, IconButtonProps as IconButtonProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, SelectProps as SelectProps$1, SelectChangeEvent, SwitchProps as SwitchProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
|
|
2
|
+
import { SxProps, Theme, PaperProps, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, Breakpoint, TooltipProps as TooltipProps$1, IconButtonProps as IconButtonProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SwitchProps as SwitchProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
|
|
3
3
|
import react, { FunctionComponent, PropsWithChildren, FC, ReactNode, ReactElement, ChangeEvent } from 'react';
|
|
4
4
|
import { SubmitHandler } from 'react-hook-form';
|
|
5
5
|
import { Theme as Theme$1 } from '@mui/material/styles';
|
|
@@ -68,8 +68,8 @@ interface SemanticColor {
|
|
|
68
68
|
secondary: string | undefined;
|
|
69
69
|
placeholder: string | undefined;
|
|
70
70
|
disabled: string | undefined;
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
link: string | undefined;
|
|
72
|
+
linkHover: string | undefined;
|
|
73
73
|
primaryInverted: string | undefined;
|
|
74
74
|
secondaryInverted: string | undefined;
|
|
75
75
|
placeholderInverted: string | undefined;
|
|
@@ -88,6 +88,8 @@ interface SemanticColor {
|
|
|
88
88
|
positive: string | undefined;
|
|
89
89
|
negative: string | undefined;
|
|
90
90
|
lockedWhite: string | undefined;
|
|
91
|
+
link: string | undefined;
|
|
92
|
+
linkHover: string | undefined;
|
|
91
93
|
};
|
|
92
94
|
input: {
|
|
93
95
|
default: string | undefined;
|
|
@@ -121,8 +123,8 @@ interface SemanticColor {
|
|
|
121
123
|
secondary: string | undefined;
|
|
122
124
|
placeholder: string | undefined;
|
|
123
125
|
disabled: string | undefined;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
link: string | undefined;
|
|
127
|
+
linkHover: string | undefined;
|
|
126
128
|
primaryInverted: string | undefined;
|
|
127
129
|
secondaryInverted: string | undefined;
|
|
128
130
|
placeholderInverted: string | undefined;
|
|
@@ -141,6 +143,8 @@ interface SemanticColor {
|
|
|
141
143
|
positive: string | undefined;
|
|
142
144
|
negative: string | undefined;
|
|
143
145
|
lockedWhite: string | undefined;
|
|
146
|
+
link: string | undefined;
|
|
147
|
+
linkHover: string | undefined;
|
|
144
148
|
};
|
|
145
149
|
input: {
|
|
146
150
|
default: string | undefined;
|
|
@@ -524,6 +528,8 @@ interface CustomTheme {
|
|
|
524
528
|
secondaryInverted: string;
|
|
525
529
|
disabledInverted: string;
|
|
526
530
|
lockedWhite: string;
|
|
531
|
+
link: string;
|
|
532
|
+
linkHover: string;
|
|
527
533
|
};
|
|
528
534
|
interaction: {
|
|
529
535
|
none: string;
|
|
@@ -551,8 +557,8 @@ interface CustomTheme {
|
|
|
551
557
|
secondary: string;
|
|
552
558
|
placeholder: string;
|
|
553
559
|
disabled: string;
|
|
554
|
-
|
|
555
|
-
|
|
560
|
+
link: string;
|
|
561
|
+
linkHover: string;
|
|
556
562
|
primaryInverted: string;
|
|
557
563
|
secondaryInverted: string;
|
|
558
564
|
placeholderInverted: string;
|
|
@@ -765,6 +771,21 @@ interface SectionHeaderProps {
|
|
|
765
771
|
}
|
|
766
772
|
declare const SectionHeader: FunctionComponent<SectionHeaderProps>;
|
|
767
773
|
|
|
774
|
+
type OnboardingItem = {
|
|
775
|
+
complete: boolean;
|
|
776
|
+
title: string;
|
|
777
|
+
description?: string;
|
|
778
|
+
url?: string;
|
|
779
|
+
};
|
|
780
|
+
interface OnboardingCardProps {
|
|
781
|
+
cardTitle: string;
|
|
782
|
+
cardSubtitle: string;
|
|
783
|
+
welcomeImageUrl: string;
|
|
784
|
+
welcomeImageAltDescription?: string;
|
|
785
|
+
items: OnboardingItem[];
|
|
786
|
+
}
|
|
787
|
+
declare const OnboardingCard: FunctionComponent<OnboardingCardProps>;
|
|
788
|
+
|
|
768
789
|
declare const emailValidation: {
|
|
769
790
|
pattern: {
|
|
770
791
|
value: RegExp;
|
|
@@ -1264,6 +1285,12 @@ interface ProgressProps {
|
|
|
1264
1285
|
}
|
|
1265
1286
|
declare const Progress: FunctionComponent<ProgressProps>;
|
|
1266
1287
|
|
|
1288
|
+
interface ProgressBarProps {
|
|
1289
|
+
variation: LinearProgressProps['variant'];
|
|
1290
|
+
value: LinearProgressProps['value'];
|
|
1291
|
+
}
|
|
1292
|
+
declare const ProgressBar: FunctionComponent<ProgressBarProps>;
|
|
1293
|
+
|
|
1267
1294
|
interface RadioProps {
|
|
1268
1295
|
sizing?: 'default' | 'lg';
|
|
1269
1296
|
disabled?: boolean;
|
|
@@ -1700,4 +1727,4 @@ declare module '@mui/system' {
|
|
|
1700
1727
|
}
|
|
1701
1728
|
}
|
|
1702
1729
|
|
|
1703
|
-
export { AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbProps, 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, 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, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, ProjectItem, type ProjectItemProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, SectionHeader, type SectionHeaderProps, Select, type SelectProps, type SemanticColor, 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, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, 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, useDropdownMenu, yellow, yellowRamp };
|
|
1730
|
+
export { AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbProps, 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, 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, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, Pill, type PillProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, ProgressBar, type ProgressBarProps, type ProgressProps, ProjectItem, type ProjectItemProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, SectionHeader, type SectionHeaderProps, Select, type SelectProps, type SemanticColor, 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, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, 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, useDropdownMenu, yellow, yellowRamp };
|