@useloops/design-system 1.4.504 → 1.4.506

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/index.d.ts CHANGED
@@ -9,11 +9,11 @@ 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
13
  import { BoxProps as BoxProps$1 } from '@mui/material/Box';
13
14
  import { IconProps as IconProps$1 } from 'systems/BrandCore/Icon/Icon';
14
15
  import { TooltipProps as TooltipProps$2 } from 'systems/WebCore/Tooltip';
15
16
  import { KpiIndicatorColor as KpiIndicatorColor$1 } from 'systems/Platform/KpiIndicator/utils';
16
- import { TypographyProps as TypographyProps$2, SurfaceProps as SurfaceProps$1, EmojiWrapperProps as EmojiWrapperProps$1, IconButtonProps as IconButtonProps$2 } from 'systems/WebCore';
17
17
  import { ChipProps } from '@mui/material/Chip';
18
18
  import { SubmitHandler } from 'react-hook-form';
19
19
  import { NumericFormatProps } from 'react-number-format';
@@ -935,6 +935,7 @@ interface TypographyProps extends Omit<TypographyProps$1, 'ref'> {
935
935
  type?: 'default' | 'button';
936
936
  variation?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
937
937
  weight?: 'default' | 'bold';
938
+ monospaced?: boolean;
938
939
  sx?: SxProps<Theme>;
939
940
  }
940
941
  declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLHeadingElement | HTMLParagraphElement>>;
@@ -2061,6 +2062,50 @@ interface DataPointInfoProps {
2061
2062
 
2062
2063
  declare const DataPointInfo: react.ForwardRefExoticComponent<DataPointInfoProps & react.RefAttributes<HTMLDivElement>>;
2063
2064
 
2065
+ interface DemographicSelectionSectionProps {
2066
+ demographicOptionLabel: string;
2067
+ demographicSelectionLabels: string[];
2068
+ }
2069
+ declare const DemographicSelectionSection: FunctionComponent<DemographicSelectionSectionProps>;
2070
+
2071
+ interface EmojiListItemSlotProps {
2072
+ surface?: SurfaceProps$1;
2073
+ icon?: EmojiWrapperProps$1;
2074
+ label?: TypographyProps$2;
2075
+ }
2076
+ interface EmojiListItemProps {
2077
+ disabled?: boolean;
2078
+ loading?: boolean;
2079
+ icon?: React.ReactNode | undefined;
2080
+ active?: boolean;
2081
+ onClick?: () => void | undefined;
2082
+ label?: string;
2083
+ slotProps?: EmojiListItemSlotProps;
2084
+ id?: string;
2085
+ }
2086
+ declare const EmojiListItem: FunctionComponent<EmojiListItemProps>;
2087
+
2088
+ interface EmojiQuestionEditorOptionProps {
2089
+ icon?: React.ReactNode | undefined;
2090
+ label?: string;
2091
+ id?: string;
2092
+ name?: string;
2093
+ disabled?: boolean;
2094
+ loading?: boolean;
2095
+ dragHandle?: boolean;
2096
+ onDelete?: () => void;
2097
+ primaryAction?: ReactNode;
2098
+ slotProps?: {
2099
+ surface?: SurfaceProps$1;
2100
+ icon?: EmojiWrapperProps$1;
2101
+ dragHandle?: IconButtonProps$2;
2102
+ label?: TypographyProps$2;
2103
+ deleteAction?: IconButtonProps$2;
2104
+ primaryAction?: IconButtonProps$2;
2105
+ };
2106
+ }
2107
+ declare const EmojiQuestionEditorOption: FunctionComponent<EmojiQuestionEditorOptionProps>;
2108
+
2064
2109
  type EmptyStateCardProps = {
2065
2110
  onClickCta?: () => void;
2066
2111
  title?: string;
@@ -2148,7 +2193,7 @@ declare const FilterPyramidGraphBar: FunctionComponent<FilterPyramidGraphBarProp
2148
2193
 
2149
2194
  interface FilterRowProps extends Pick<CheckboxProps, 'checked' | 'disabled'> {
2150
2195
  label: string;
2151
- selectedCount?: string;
2196
+ selectedCount?: number;
2152
2197
  onChange: (checked: boolean) => void;
2153
2198
  slotProps?: {
2154
2199
  checkboxProps?: Omit<CheckboxProps, 'value' | 'onChange' | 'disabled'>;
@@ -2369,6 +2414,15 @@ interface QuestionBlockProps {
2369
2414
  }
2370
2415
  declare const QuestionBlock: FunctionComponent<QuestionBlockProps>;
2371
2416
 
2417
+ interface QuestionSelectorProps {
2418
+ handleNavigateRegion: (direction: number) => void;
2419
+ questionMenuItems: MenuItemProps[];
2420
+ questionTitle: string;
2421
+ currentRegionIndex?: number;
2422
+ loading?: boolean;
2423
+ }
2424
+ declare const _default$1: react.NamedExoticComponent<QuestionSelectorProps>;
2425
+
2372
2426
  interface SearchInputProps {
2373
2427
  onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void;
2374
2428
  onFocus?: () => void;
@@ -2387,6 +2441,12 @@ interface SectionHeaderProps {
2387
2441
  }
2388
2442
  declare const SectionHeader: FunctionComponent<SectionHeaderProps>;
2389
2443
 
2444
+ interface SentimentArrowProps {
2445
+ commentCard?: boolean;
2446
+ sentimentScore?: number;
2447
+ }
2448
+ declare const SentimentArrow: FunctionComponent<SentimentArrowProps>;
2449
+
2390
2450
  interface TabProps {
2391
2451
  active?: boolean;
2392
2452
  animated?: boolean;
@@ -2486,56 +2546,6 @@ type VideoControlsProps = {
2486
2546
  };
2487
2547
  declare const _default: react.MemoExoticComponent<react.ForwardRefExoticComponent<VideoControlsProps & react.RefAttributes<any>>>;
2488
2548
 
2489
- interface SentimentArrowProps {
2490
- commentCard?: boolean;
2491
- sentimentScore?: number;
2492
- }
2493
- declare const SentimentArrow: FunctionComponent<SentimentArrowProps>;
2494
-
2495
- interface DemographicSelectionSectionProps {
2496
- demographicOptionLabel: string;
2497
- demographicSelectionLabels: string[];
2498
- }
2499
- declare const DemographicSelectionSection: FunctionComponent<DemographicSelectionSectionProps>;
2500
-
2501
- interface EmojiListItemSlotProps {
2502
- surface?: SurfaceProps$1;
2503
- icon?: EmojiWrapperProps$1;
2504
- label?: TypographyProps$2;
2505
- }
2506
- interface EmojiListItemProps {
2507
- disabled?: boolean;
2508
- loading?: boolean;
2509
- icon?: React.ReactNode | undefined;
2510
- active?: boolean;
2511
- onClick?: () => void | undefined;
2512
- label?: string;
2513
- slotProps?: EmojiListItemSlotProps;
2514
- id?: string;
2515
- }
2516
- declare const EmojiListItem: FunctionComponent<EmojiListItemProps>;
2517
-
2518
- interface EmojiQuestionEditorOptionProps {
2519
- icon?: React.ReactNode | undefined;
2520
- label?: string;
2521
- id?: string;
2522
- name?: string;
2523
- disabled?: boolean;
2524
- loading?: boolean;
2525
- dragHandle?: boolean;
2526
- onDelete?: () => void;
2527
- primaryAction?: ReactNode;
2528
- slotProps?: {
2529
- surface?: SurfaceProps$1;
2530
- icon?: EmojiWrapperProps$1;
2531
- dragHandle?: IconButtonProps$2;
2532
- label?: TypographyProps$2;
2533
- deleteAction?: IconButtonProps$2;
2534
- primaryAction?: IconButtonProps$2;
2535
- };
2536
- }
2537
- declare const EmojiQuestionEditorOption: FunctionComponent<EmojiQuestionEditorOptionProps>;
2538
-
2539
2549
  type BreakpointOrNull = Breakpoint | null;
2540
2550
  declare const useBreakpoint: () => Breakpoint;
2541
2551
 
@@ -2813,4 +2823,4 @@ declare module '@mui/system' {
2813
2823
  }
2814
2824
  }
2815
2825
 
2816
- export { 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 MenuProps, ModalActionsWrapper, ModalContentWrapper, ModalLayout, type ModalLayoutProps, 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, QuestionBlock, type QuestionBlockProps, QuestionLabel, type QuestionLabelProps, 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 };
2826
+ export { 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, 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, 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 };