@useloops/design-system 1.4.329 → 1.4.331
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 +26 -10
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { SxProps, Theme, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupPro
|
|
|
5
5
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { SemanticColor as SemanticColor$1 } from 'systems/BrandCore';
|
|
8
|
+
import { IconName as IconName$1 } from 'systems/BrandCore/Icon';
|
|
8
9
|
import { KpiIndicatorProps as KpiIndicatorProps$1 } from 'systems/Platform/KpiIndicator';
|
|
9
10
|
import { ChipProps } from '@mui/material/Chip';
|
|
10
11
|
import { SubmitHandler } from 'react-hook-form';
|
|
@@ -1067,6 +1068,26 @@ interface ColorBackgroundContainerProps {
|
|
|
1067
1068
|
}
|
|
1068
1069
|
declare const ColorBackgroundContainer: FunctionComponent<ColorBackgroundContainerProps>;
|
|
1069
1070
|
|
|
1071
|
+
type InputSizing = Exclude<GenericSizeMap, 'none'>;
|
|
1072
|
+
type SelectOption = {
|
|
1073
|
+
label: string;
|
|
1074
|
+
value: string;
|
|
1075
|
+
};
|
|
1076
|
+
type GroupSelectOption = SelectOption & {
|
|
1077
|
+
group: string;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
interface CreatableAutocompleteProps {
|
|
1081
|
+
options: SelectOption[];
|
|
1082
|
+
value?: string | null;
|
|
1083
|
+
onChange?: (event: react__default.SyntheticEvent, value: string | null, reason: string) => void;
|
|
1084
|
+
placeholder?: string;
|
|
1085
|
+
sizing?: InputSizing;
|
|
1086
|
+
disabled?: boolean;
|
|
1087
|
+
fullWidth?: boolean;
|
|
1088
|
+
}
|
|
1089
|
+
declare const CreatableAutocomplete: FunctionComponent<CreatableAutocompleteProps>;
|
|
1090
|
+
|
|
1070
1091
|
type CustomFieldProps = {
|
|
1071
1092
|
inputField: react__default.FC<{
|
|
1072
1093
|
onChange: (data: unknown) => void;
|
|
@@ -1187,7 +1208,8 @@ interface FormGeneratorConfig {
|
|
|
1187
1208
|
/**
|
|
1188
1209
|
* Field Types
|
|
1189
1210
|
*/
|
|
1190
|
-
type FieldTypes = CheckboxType | CheckboxGroupType | SwitchType | TextareaType | SelectType | TextFieldType | SliderType | DifferentialType | RichTextFieldType | LikertType | RadioGroupType | DragAndDropRankingType | NumberFieldType | StarRatingType | HTMLType | CustomFieldType;
|
|
1211
|
+
type FieldTypes = CheckboxType | CheckboxGroupType | SwitchType | TextareaType | SelectType | TextFieldType | SliderType | DifferentialType | RichTextFieldType | LikertType | RadioGroupType | DragAndDropRankingType | NumberFieldType | StarRatingType | HTMLType | CreatableAutocompleteType | CustomFieldType;
|
|
1212
|
+
type CreatableAutocompleteType = CreateFieldType<'creatableautocomplete', CreatableAutocompleteProps, string>;
|
|
1191
1213
|
type TextFieldType = CreateFieldType<'textfield', TextFieldProps, string>;
|
|
1192
1214
|
type NumberFieldType = CreateFieldType<'numberfield', NumberFieldProps, number>;
|
|
1193
1215
|
type TextareaType = CreateFieldType<'textarea', TextareaProps, string>;
|
|
@@ -1595,14 +1617,6 @@ interface RadioGroupProps {
|
|
|
1595
1617
|
}
|
|
1596
1618
|
declare const RadioGroup: FunctionComponent<RadioGroupProps>;
|
|
1597
1619
|
|
|
1598
|
-
type SelectOption = {
|
|
1599
|
-
label: string;
|
|
1600
|
-
value: string;
|
|
1601
|
-
};
|
|
1602
|
-
type GroupSelectOption = SelectOption & {
|
|
1603
|
-
group: string;
|
|
1604
|
-
};
|
|
1605
|
-
|
|
1606
1620
|
type SelectOnChange = (event: SelectChangeEvent<any>, child: React.ReactNode) => void;
|
|
1607
1621
|
type AutocompleteOnChange = (value: string | string[]) => void;
|
|
1608
1622
|
type SelectProps = {
|
|
@@ -1817,6 +1831,8 @@ interface DataPointSource {
|
|
|
1817
1831
|
id?: string;
|
|
1818
1832
|
content: string | null;
|
|
1819
1833
|
cta: (() => void) | ((e: any) => void) | undefined;
|
|
1834
|
+
iconName?: IconName$1;
|
|
1835
|
+
iconButtonDisabled?: boolean;
|
|
1820
1836
|
loading?: boolean;
|
|
1821
1837
|
}
|
|
1822
1838
|
interface StatValueProps {
|
|
@@ -2293,4 +2309,4 @@ declare module '@mui/system' {
|
|
|
2293
2309
|
}
|
|
2294
2310
|
}
|
|
2295
2311
|
|
|
2296
|
-
export { Accordion, type AccordionProps, AnnualController, type AnnualControllerProps, AssetItem, type AssetItemProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BrandBadge, type BrandBadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, BulletGraphic, type BulletGraphicProps, 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, DataPointInfo, type DataPointInfoProps, Differential, type DifferentialProps, DropdownMenu, EmptyStateCard, type EmptyStateCardProps, ExpandableTypographyClamp, type ExpandableTypographyClampProps, type FieldType, type FieldTypes, FilteredItemsCard, type FilteredItemsCardProps, 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 IconButtonGroupProps, type IconButtonProps, type IconName, Image, type ImageProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, KpiIndicator, type KpiIndicatorProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, 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 PlanFeatureTableData, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, 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, type Section, 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, TestItem, type TestItemProps, TestKPICard, type TestKPICardProps, 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, getKpiIndicatorColor, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, isButton, mapKpiColorSchemeByInteger, 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 };
|
|
2312
|
+
export { Accordion, type AccordionProps, AnnualController, type AnnualControllerProps, AssetItem, type AssetItemProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BrandBadge, type BrandBadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, BulletGraphic, type BulletGraphicProps, 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, CreatableAutocomplete, type CreatableAutocompleteProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, DataPointInfo, type DataPointInfoProps, Differential, type DifferentialProps, DropdownMenu, EmptyStateCard, type EmptyStateCardProps, ExpandableTypographyClamp, type ExpandableTypographyClampProps, type FieldType, type FieldTypes, FilteredItemsCard, type FilteredItemsCardProps, 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 IconButtonGroupProps, type IconButtonProps, type IconName, Image, type ImageProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, KpiIndicator, type KpiIndicatorProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, 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 PlanFeatureTableData, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, 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, type Section, 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, TestItem, type TestItemProps, TestKPICard, type TestKPICardProps, 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, getKpiIndicatorColor, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, isButton, mapKpiColorSchemeByInteger, 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 };
|