@useloops/design-system 1.4.169 → 1.4.171
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 +64 -8
- package/dist/index.js +15 -2
- package/package.json +3 -2
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;
|
|
@@ -661,6 +667,24 @@ interface AuthContainerSurfaceProps extends SurfaceProps {
|
|
|
661
667
|
}
|
|
662
668
|
declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
|
|
663
669
|
|
|
670
|
+
interface BreadcrumbLink {
|
|
671
|
+
label: string;
|
|
672
|
+
href?: string;
|
|
673
|
+
}
|
|
674
|
+
interface BreadcrumbProps {
|
|
675
|
+
links?: BreadcrumbLink[];
|
|
676
|
+
}
|
|
677
|
+
declare const Breadcrumb: FunctionComponent<BreadcrumbProps>;
|
|
678
|
+
|
|
679
|
+
interface HeaderProps {
|
|
680
|
+
backHref?: string;
|
|
681
|
+
breadcrumbLinks?: BreadcrumbLink[];
|
|
682
|
+
buttons?: ReactNode;
|
|
683
|
+
controlBar?: ReactNode;
|
|
684
|
+
title?: string;
|
|
685
|
+
}
|
|
686
|
+
declare const Header: FunctionComponent<HeaderProps>;
|
|
687
|
+
|
|
664
688
|
type NavigationSizing = 'sm' | 'lg';
|
|
665
689
|
interface NavigationProps {
|
|
666
690
|
isMobile?: boolean;
|
|
@@ -740,6 +764,28 @@ interface ProjectItemProps extends ProjectItemDataProps, ProjectItemViewType {
|
|
|
740
764
|
|
|
741
765
|
declare const ProjectItem: FunctionComponent<ProjectItemProps>;
|
|
742
766
|
|
|
767
|
+
interface SectionHeaderProps {
|
|
768
|
+
buttons?: ReactNode;
|
|
769
|
+
subtitle?: string;
|
|
770
|
+
title?: string;
|
|
771
|
+
}
|
|
772
|
+
declare const SectionHeader: FunctionComponent<SectionHeaderProps>;
|
|
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
|
+
|
|
743
789
|
declare const emailValidation: {
|
|
744
790
|
pattern: {
|
|
745
791
|
value: RegExp;
|
|
@@ -1161,6 +1207,10 @@ declare const Loader: FunctionComponent<LoaderProps>;
|
|
|
1161
1207
|
|
|
1162
1208
|
declare const Logo: FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
1163
1209
|
|
|
1210
|
+
interface LoopsAiButtonProps {
|
|
1211
|
+
}
|
|
1212
|
+
declare const LoopsAiButton: FunctionComponent<LoopsAiButtonProps>;
|
|
1213
|
+
|
|
1164
1214
|
declare const Markdown: (props: any) => react_jsx_runtime.JSX.Element;
|
|
1165
1215
|
|
|
1166
1216
|
type MenuButtonSizing = 'sm' | 'md' | 'lg';
|
|
@@ -1235,6 +1285,12 @@ interface ProgressProps {
|
|
|
1235
1285
|
}
|
|
1236
1286
|
declare const Progress: FunctionComponent<ProgressProps>;
|
|
1237
1287
|
|
|
1288
|
+
interface ProgressBarProps {
|
|
1289
|
+
variation: LinearProgressProps['variant'];
|
|
1290
|
+
value: LinearProgressProps['value'];
|
|
1291
|
+
}
|
|
1292
|
+
declare const ProgressBar: FunctionComponent<ProgressBarProps>;
|
|
1293
|
+
|
|
1238
1294
|
interface RadioProps {
|
|
1239
1295
|
sizing?: 'default' | 'lg';
|
|
1240
1296
|
disabled?: boolean;
|
|
@@ -1671,4 +1727,4 @@ declare module '@mui/system' {
|
|
|
1671
1727
|
}
|
|
1672
1728
|
}
|
|
1673
1729
|
|
|
1674
|
-
export { AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, 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, 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, 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, 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 };
|