@useloops/design-system 1.4.234 → 1.4.236
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 +17 -7
- package/dist/index.js +4 -4
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -1240,6 +1240,7 @@ interface TypographyProps extends Omit<TypographyProps$1, 'ref'> {
|
|
|
1240
1240
|
type?: 'default' | 'button';
|
|
1241
1241
|
variation?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
1242
1242
|
weight?: 'default' | 'bold';
|
|
1243
|
+
sx?: SxProps<Theme>;
|
|
1243
1244
|
}
|
|
1244
1245
|
declare const Typography: FunctionComponent<TypographyProps>;
|
|
1245
1246
|
|
|
@@ -1465,6 +1466,7 @@ interface PillProps {
|
|
|
1465
1466
|
icon?: ReactElement;
|
|
1466
1467
|
avatar?: ReactElement;
|
|
1467
1468
|
maxWidth?: number;
|
|
1469
|
+
sx?: SxProps<Theme$1>;
|
|
1468
1470
|
}
|
|
1469
1471
|
declare const Pill: FunctionComponent<PillProps>;
|
|
1470
1472
|
|
|
@@ -1697,6 +1699,14 @@ interface ToastProps {
|
|
|
1697
1699
|
}
|
|
1698
1700
|
declare const Toast: FunctionComponent<ToastProps>;
|
|
1699
1701
|
|
|
1702
|
+
type TrialCardProps = {
|
|
1703
|
+
promoHeadline: string;
|
|
1704
|
+
promoDescription: string;
|
|
1705
|
+
ctaText: string;
|
|
1706
|
+
ctaFn: () => void;
|
|
1707
|
+
};
|
|
1708
|
+
declare const TrialCard: FunctionComponent<TrialCardProps>;
|
|
1709
|
+
|
|
1700
1710
|
interface VideoModalProps {
|
|
1701
1711
|
modalVisible: boolean;
|
|
1702
1712
|
showModal: (visible: boolean) => void;
|
|
@@ -1838,6 +1848,7 @@ interface PlanFeatureTableProps {
|
|
|
1838
1848
|
}
|
|
1839
1849
|
declare const PlanFeatureTable: FunctionComponent<PlanFeatureTableProps>;
|
|
1840
1850
|
|
|
1851
|
+
type Section = 'headerHeight' | 'bodyHeight' | 'respondentCardHeight' | 'bottomHeight';
|
|
1841
1852
|
interface PlanTierCardProps {
|
|
1842
1853
|
amount: string;
|
|
1843
1854
|
billingType?: string;
|
|
@@ -1850,15 +1861,14 @@ interface PlanTierCardProps {
|
|
|
1850
1861
|
currencySymbol: string;
|
|
1851
1862
|
currentPlan?: boolean;
|
|
1852
1863
|
features?: string[];
|
|
1853
|
-
freeTrialLength?: string;
|
|
1854
|
-
freeTrialText?: string;
|
|
1855
|
-
frequency: string;
|
|
1856
1864
|
heading: string;
|
|
1857
1865
|
label?: string;
|
|
1858
|
-
largestHeaderHeight?: number;
|
|
1859
1866
|
perMonth: string;
|
|
1860
|
-
|
|
1861
|
-
|
|
1867
|
+
respondentsTitle?: string;
|
|
1868
|
+
respondentsFeatures?: string[];
|
|
1869
|
+
saving?: string;
|
|
1870
|
+
sectionHeights: Record<Section, number>;
|
|
1871
|
+
updateSectionHeight?: (section: Section, height: number) => void;
|
|
1862
1872
|
}
|
|
1863
1873
|
declare const PlanTierCard: FunctionComponent<PlanTierCardProps>;
|
|
1864
1874
|
|
|
@@ -2130,4 +2140,4 @@ declare module '@mui/system' {
|
|
|
2130
2140
|
}
|
|
2131
2141
|
}
|
|
2132
2142
|
|
|
2133
|
-
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, 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 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 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, 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$1 as getIconSizing, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, margin, neutral, neutralAlpha, neutralRamp, outlined$1 as outlined, padding, passwordValidation, peach, peachRamp, primary, purple, purpleRamp, radius, red, redRamp, secondary, semantic, space, subtle, useBreakpoint, useDropdownMenu, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };
|
|
2143
|
+
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, 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 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 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$1 as getIconSizing, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, margin, neutral, neutralAlpha, neutralRamp, outlined$1 as outlined, padding, passwordValidation, peach, peachRamp, primary, purple, purpleRamp, radius, red, redRamp, secondary, semantic, space, subtle, useBreakpoint, useDropdownMenu, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };
|