@useloops/design-system 1.4.129 → 1.4.131
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 +37 -2
- package/dist/index.js +4 -4
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -468,6 +468,25 @@ declare const Loader: FunctionComponent<LoaderProps>;
|
|
|
468
468
|
|
|
469
469
|
declare const Logo: FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
470
470
|
|
|
471
|
+
interface NavButtonProps {
|
|
472
|
+
active?: boolean;
|
|
473
|
+
href?: string;
|
|
474
|
+
icon?: string;
|
|
475
|
+
label: string;
|
|
476
|
+
onClick?: () => void;
|
|
477
|
+
variation?: 'sm' | 'lg';
|
|
478
|
+
}
|
|
479
|
+
declare const NavButton: FunctionComponent<NavButtonProps>;
|
|
480
|
+
|
|
481
|
+
type NudgeVariation = 'sm' | 'lg';
|
|
482
|
+
interface NudgeProps extends PropsWithChildren {
|
|
483
|
+
description: string;
|
|
484
|
+
notification?: boolean;
|
|
485
|
+
title: string;
|
|
486
|
+
variation?: NudgeVariation;
|
|
487
|
+
}
|
|
488
|
+
declare const Nudge: FunctionComponent<NudgeProps>;
|
|
489
|
+
|
|
471
490
|
type NumberFieldProps = InputFieldBaseProps$1 & {
|
|
472
491
|
hideActionButtons?: boolean;
|
|
473
492
|
max?: number;
|
|
@@ -680,7 +699,7 @@ type TextareaProps = InputFieldBaseProps & {
|
|
|
680
699
|
declare const Textarea: FunctionComponent<TextareaProps>;
|
|
681
700
|
|
|
682
701
|
interface TypographyProps {
|
|
683
|
-
variation: 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
702
|
+
variation: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
684
703
|
component: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
|
|
685
704
|
weight?: 'default' | 'bold';
|
|
686
705
|
clamp?: number;
|
|
@@ -711,6 +730,22 @@ interface ToastProps {
|
|
|
711
730
|
}
|
|
712
731
|
declare const Toast: FunctionComponent<ToastProps>;
|
|
713
732
|
|
|
733
|
+
interface MenuItem {
|
|
734
|
+
children?: MenuItem[];
|
|
735
|
+
danger?: boolean;
|
|
736
|
+
onClick?: () => void;
|
|
737
|
+
selected?: boolean;
|
|
738
|
+
title: string;
|
|
739
|
+
}
|
|
740
|
+
interface UserMenuProps extends PropsWithChildren {
|
|
741
|
+
avatar?: string;
|
|
742
|
+
email: string;
|
|
743
|
+
menuItems?: MenuItem[];
|
|
744
|
+
name: string;
|
|
745
|
+
variation?: 'sm' | 'lg';
|
|
746
|
+
}
|
|
747
|
+
declare const UserMenu: FunctionComponent<UserMenuProps>;
|
|
748
|
+
|
|
714
749
|
interface BackgroundOptions {
|
|
715
750
|
texture?: 'none' | 'noise1';
|
|
716
751
|
gradient?: 'tone1' | 'tone2' | 'tone3' | 'tone4';
|
|
@@ -1267,4 +1302,4 @@ declare module '@mui/system' {
|
|
|
1267
1302
|
}
|
|
1268
1303
|
}
|
|
1269
1304
|
|
|
1270
|
-
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, NumberField, type NumberFieldProps, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };
|
|
1305
|
+
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, NavButton, type NavButtonProps, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };
|