@useloops/design-system 1.4.519 → 1.4.521
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 +61 -3
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { FunctionComponent, PropsWithChildren, ReactElement, Dispatch, SetStateAction, ReactNode, ChangeEvent, FC, MouseEventHandler, ComponentProps } from 'react';
|
|
3
3
|
import * as _mui_material from '@mui/material';
|
|
4
|
-
import { SxProps, Theme, BoxProps, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, LinkProps as LinkProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, TypographyProps as TypographyProps$1, FormControlLabelProps as FormControlLabelProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, PaperProps, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, CircularProgressProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SkeletonProps as SkeletonProps$1, SwitchProps as SwitchProps$1, SvgIconProps, AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps, Breakpoint as Breakpoint$1, PaletteMode, Direction } from '@mui/material';
|
|
4
|
+
import { SxProps, Theme, BoxProps, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, LinkProps as LinkProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, TypographyProps as TypographyProps$1, FormControlLabelProps as FormControlLabelProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, PaperProps, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, CircularProgressProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SkeletonProps as SkeletonProps$1, SwitchProps as SwitchProps$1, SvgIconProps, AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps, StackProps, ListItemButtonProps, Breakpoint as Breakpoint$1, PaletteMode, Direction } from '@mui/material';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
7
7
|
import { Theme as Theme$1, SxProps as SxProps$1 } from '@mui/material/styles';
|
|
@@ -9,7 +9,7 @@ import { MotionProps } from 'framer-motion';
|
|
|
9
9
|
import { SemanticColor as SemanticColor$1 } from 'systems/BrandCore';
|
|
10
10
|
import { IconName as IconName$1 } from 'systems/BrandCore/Icon';
|
|
11
11
|
import { KpiIndicatorProps as KpiIndicatorProps$1 } from 'systems/Platform/KpiIndicator';
|
|
12
|
-
import { SurfaceProps as SurfaceProps$1, EmojiWrapperProps as EmojiWrapperProps$1, TypographyProps as TypographyProps$2, IconButtonProps as IconButtonProps$2 } from 'systems/WebCore';
|
|
12
|
+
import { SurfaceProps as SurfaceProps$1, EmojiWrapperProps as EmojiWrapperProps$1, TypographyProps as TypographyProps$2, IconButtonProps as IconButtonProps$2, TooltipProps as TooltipProps$3, CheckboxProps as CheckboxProps$2 } from 'systems/WebCore';
|
|
13
13
|
import { BoxProps as BoxProps$1 } from '@mui/material/Box';
|
|
14
14
|
import { IconProps as IconProps$1 } from 'systems/BrandCore/Icon/Icon';
|
|
15
15
|
import { TooltipProps as TooltipProps$2 } from 'systems/WebCore/Tooltip';
|
|
@@ -2497,6 +2497,64 @@ interface SentimentArrowProps {
|
|
|
2497
2497
|
}
|
|
2498
2498
|
declare const SentimentArrow: FunctionComponent<SentimentArrowProps>;
|
|
2499
2499
|
|
|
2500
|
+
type TickInterval = 5 | 10;
|
|
2501
|
+
interface CommonComponentProps {
|
|
2502
|
+
disabled?: boolean;
|
|
2503
|
+
loading?: boolean;
|
|
2504
|
+
}
|
|
2505
|
+
interface SliderGraphProps extends CommonComponentProps {
|
|
2506
|
+
rounding: number | null;
|
|
2507
|
+
tickInterval: TickInterval;
|
|
2508
|
+
data: SliderGraphBarProps[];
|
|
2509
|
+
onChangeHandler?: (id: string, checked: boolean) => void;
|
|
2510
|
+
id?: string;
|
|
2511
|
+
animateBars?: boolean;
|
|
2512
|
+
className?: string;
|
|
2513
|
+
slotProps?: {
|
|
2514
|
+
root?: BoxProps;
|
|
2515
|
+
yAxis?: StackProps;
|
|
2516
|
+
barsWrapper?: BoxProps;
|
|
2517
|
+
};
|
|
2518
|
+
hideYAxis?: boolean;
|
|
2519
|
+
hideCheckboxes?: boolean;
|
|
2520
|
+
hideLabels?: boolean;
|
|
2521
|
+
hideValues?: boolean;
|
|
2522
|
+
showGraphLines?: boolean;
|
|
2523
|
+
disableTooltips?: boolean;
|
|
2524
|
+
}
|
|
2525
|
+
interface SliderGraphBarProps extends CommonComponentProps {
|
|
2526
|
+
id: string;
|
|
2527
|
+
label: string;
|
|
2528
|
+
value: number;
|
|
2529
|
+
tickInterval: TickInterval;
|
|
2530
|
+
percentage: number;
|
|
2531
|
+
checked: boolean;
|
|
2532
|
+
maxDataValue: number;
|
|
2533
|
+
amount?: number;
|
|
2534
|
+
relativePercentage?: number;
|
|
2535
|
+
className?: string;
|
|
2536
|
+
toolTipContent?: ReactNode | null;
|
|
2537
|
+
disableTooltip?: boolean;
|
|
2538
|
+
hideValue?: boolean;
|
|
2539
|
+
hideLabel?: boolean;
|
|
2540
|
+
hideCheckbox?: boolean;
|
|
2541
|
+
animateBar?: boolean;
|
|
2542
|
+
onChange?: (id: string, checked: boolean) => void;
|
|
2543
|
+
percentageSymbol?: boolean;
|
|
2544
|
+
slotProps?: {
|
|
2545
|
+
barWrapper?: ListItemButtonProps;
|
|
2546
|
+
tooltip?: Omit<TooltipProps$3, 'message'> & {
|
|
2547
|
+
message?: ReactNode | null;
|
|
2548
|
+
};
|
|
2549
|
+
bar?: {};
|
|
2550
|
+
checkbox?: CheckboxProps$2;
|
|
2551
|
+
label?: BoxProps;
|
|
2552
|
+
value?: BoxProps;
|
|
2553
|
+
};
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
declare const SliderGraph: FunctionComponent<SliderGraphProps>;
|
|
2557
|
+
|
|
2500
2558
|
interface TabProps {
|
|
2501
2559
|
active?: boolean;
|
|
2502
2560
|
animated?: boolean;
|
|
@@ -2873,4 +2931,4 @@ declare module '@mui/system' {
|
|
|
2873
2931
|
}
|
|
2874
2932
|
}
|
|
2875
2933
|
|
|
2876
|
-
export { AIInsight, type AIInsightProps, AISummary, type AISummaryProps, AiWrittenByLockUp as AIWrittenByLockUp, Accordion, type AccordionProps, AiContentContainer, type AiContentContainerProps, type AiWrittenByLockUpProps, 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, ClipboardCopyingOverlay, type ClipboardCopyingOverlayProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CommentCard, type CommentCardProps, CreatableAutocomplete, type CreatableAutocompleteOption, type CreatableAutocompleteProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, DataPointInfo, type DataPointInfoProps, DemographicSelectionSection, type DemographicSelectionSectionProps, Differential, type DifferentialProps, DropdownMenu, EmojiListItem, type EmojiListItemProps, EmojiQuestionEditorOption, type EmojiQuestionEditorOptionProps, EmojiWrapper, type EmojiWrapperProps, EmptyStateCard, type EmptyStateCardProps, ExpandableTypographyClamp, type ExpandableTypographyClampProps, ExtendedTestStatus, type ExtendedTestStatusProps, type FieldType, type FieldTypes, FilterCount, type FilterCountProps, FilterGroupAccordion, type FilterGroupAccordionProps, FilterPyramidGraphBar as FilterPyramidGraph, type FilterPyramidGraphBarProps, FilterRow, type FilterRowProps, FilteredItemsCard, type FilteredItemsCardProps, Flag, type FlagProps, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GraphBar, type GraphBarProps, 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, KpiDataPopover, type KpiDataPopoverProps, KpiIndicator, type KpiIndicatorProps, Label, type LabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, LoopsAiButton, type LoopsAiButtonProps, Markdown, type MarkdownProps, type MarkerComponentProps, Menu, type MenuItemProps, type MenuProps, ModalActionsWrapper, ModalContentWrapper, ModalLayout, type ModalLayoutProps, Navigation, NavigationButton, type NavigationButtonProps, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, _default$2 as NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, type OnboardingItem, PaginationControl, type PaginationControlProps, 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, QuestionBlock, type QuestionBlockProps, QuestionLabel, type QuestionLabelProps, _default$1 as QuestionSelector, type QuestionSelectorProps, type QuestionStats, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, SearchInput, type SearchInputProps, type Section, SectionHeader, type SectionHeaderProps, Select, type SelectOption, type SelectProps, type SemanticColor, SentimentArrow, type SentimentArrowProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Tab, type TabProps, 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, _default as VideoControls, type VideoControlsProps, VideoModal, type VideoModalProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, buttonHeightMap, 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, useKeyCombo, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };
|
|
2934
|
+
export { AIInsight, type AIInsightProps, AISummary, type AISummaryProps, AiWrittenByLockUp as AIWrittenByLockUp, Accordion, type AccordionProps, AiContentContainer, type AiContentContainerProps, type AiWrittenByLockUpProps, 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, ClipboardCopyingOverlay, type ClipboardCopyingOverlayProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CommentCard, type CommentCardProps, CreatableAutocomplete, type CreatableAutocompleteOption, type CreatableAutocompleteProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, DataPointInfo, type DataPointInfoProps, DemographicSelectionSection, type DemographicSelectionSectionProps, Differential, type DifferentialProps, DropdownMenu, EmojiListItem, type EmojiListItemProps, EmojiQuestionEditorOption, type EmojiQuestionEditorOptionProps, EmojiWrapper, type EmojiWrapperProps, EmptyStateCard, type EmptyStateCardProps, ExpandableTypographyClamp, type ExpandableTypographyClampProps, ExtendedTestStatus, type ExtendedTestStatusProps, type FieldType, type FieldTypes, FilterCount, type FilterCountProps, FilterGroupAccordion, type FilterGroupAccordionProps, FilterPyramidGraphBar as FilterPyramidGraph, type FilterPyramidGraphBarProps, FilterRow, type FilterRowProps, FilteredItemsCard, type FilteredItemsCardProps, Flag, type FlagProps, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GraphBar, type GraphBarProps, 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, KpiDataPopover, type KpiDataPopoverProps, KpiIndicator, type KpiIndicatorProps, Label, type LabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, LoopsAiButton, type LoopsAiButtonProps, Markdown, type MarkdownProps, type MarkerComponentProps, Menu, type MenuItemProps, type MenuProps, ModalActionsWrapper, ModalContentWrapper, ModalLayout, type ModalLayoutProps, Navigation, NavigationButton, type NavigationButtonProps, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, _default$2 as NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, type OnboardingItem, PaginationControl, type PaginationControlProps, 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, QuestionBlock, type QuestionBlockProps, QuestionLabel, type QuestionLabelProps, _default$1 as QuestionSelector, type QuestionSelectorProps, type QuestionStats, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, SearchInput, type SearchInputProps, type Section, SectionHeader, type SectionHeaderProps, Select, type SelectOption, type SelectProps, type SemanticColor, SentimentArrow, type SentimentArrowProps, Skeleton, type SkeletonProps, Slider, SliderGraph, type SliderGraphProps, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Tab, type TabProps, 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, _default as VideoControls, type VideoControlsProps, VideoModal, type VideoModalProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, buttonHeightMap, 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, useKeyCombo, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };
|