@useloops/design-system 1.4.505 → 1.4.507

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';
@@ -2062,6 +2062,50 @@ interface DataPointInfoProps {
2062
2062
 
2063
2063
  declare const DataPointInfo: react.ForwardRefExoticComponent<DataPointInfoProps & react.RefAttributes<HTMLDivElement>>;
2064
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
+
2065
2109
  type EmptyStateCardProps = {
2066
2110
  onClickCta?: () => void;
2067
2111
  title?: string;
@@ -2149,7 +2193,7 @@ declare const FilterPyramidGraphBar: FunctionComponent<FilterPyramidGraphBarProp
2149
2193
 
2150
2194
  interface FilterRowProps extends Pick<CheckboxProps, 'checked' | 'disabled'> {
2151
2195
  label: string;
2152
- selectedCount?: string;
2196
+ selectedCount?: number;
2153
2197
  onChange: (checked: boolean) => void;
2154
2198
  slotProps?: {
2155
2199
  checkboxProps?: Omit<CheckboxProps, 'value' | 'onChange' | 'disabled'>;
@@ -2370,6 +2414,16 @@ interface QuestionBlockProps {
2370
2414
  }
2371
2415
  declare const QuestionBlock: FunctionComponent<QuestionBlockProps>;
2372
2416
 
2417
+ interface QuestionSelectorProps {
2418
+ handleNavigateRegion: (direction: number) => void;
2419
+ questionMenuItems: MenuItemProps[];
2420
+ questionTitle: string;
2421
+ currentRegionIndex?: number;
2422
+ loading?: boolean;
2423
+ popperState?: PopupState;
2424
+ }
2425
+ declare const _default$1: react.NamedExoticComponent<QuestionSelectorProps>;
2426
+
2373
2427
  interface SearchInputProps {
2374
2428
  onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void;
2375
2429
  onFocus?: () => void;
@@ -2388,6 +2442,12 @@ interface SectionHeaderProps {
2388
2442
  }
2389
2443
  declare const SectionHeader: FunctionComponent<SectionHeaderProps>;
2390
2444
 
2445
+ interface SentimentArrowProps {
2446
+ commentCard?: boolean;
2447
+ sentimentScore?: number;
2448
+ }
2449
+ declare const SentimentArrow: FunctionComponent<SentimentArrowProps>;
2450
+
2391
2451
  interface TabProps {
2392
2452
  active?: boolean;
2393
2453
  animated?: boolean;
@@ -2487,56 +2547,6 @@ type VideoControlsProps = {
2487
2547
  };
2488
2548
  declare const _default: react.MemoExoticComponent<react.ForwardRefExoticComponent<VideoControlsProps & react.RefAttributes<any>>>;
2489
2549
 
2490
- interface SentimentArrowProps {
2491
- commentCard?: boolean;
2492
- sentimentScore?: number;
2493
- }
2494
- declare const SentimentArrow: FunctionComponent<SentimentArrowProps>;
2495
-
2496
- interface DemographicSelectionSectionProps {
2497
- demographicOptionLabel: string;
2498
- demographicSelectionLabels: string[];
2499
- }
2500
- declare const DemographicSelectionSection: FunctionComponent<DemographicSelectionSectionProps>;
2501
-
2502
- interface EmojiListItemSlotProps {
2503
- surface?: SurfaceProps$1;
2504
- icon?: EmojiWrapperProps$1;
2505
- label?: TypographyProps$2;
2506
- }
2507
- interface EmojiListItemProps {
2508
- disabled?: boolean;
2509
- loading?: boolean;
2510
- icon?: React.ReactNode | undefined;
2511
- active?: boolean;
2512
- onClick?: () => void | undefined;
2513
- label?: string;
2514
- slotProps?: EmojiListItemSlotProps;
2515
- id?: string;
2516
- }
2517
- declare const EmojiListItem: FunctionComponent<EmojiListItemProps>;
2518
-
2519
- interface EmojiQuestionEditorOptionProps {
2520
- icon?: React.ReactNode | undefined;
2521
- label?: string;
2522
- id?: string;
2523
- name?: string;
2524
- disabled?: boolean;
2525
- loading?: boolean;
2526
- dragHandle?: boolean;
2527
- onDelete?: () => void;
2528
- primaryAction?: ReactNode;
2529
- slotProps?: {
2530
- surface?: SurfaceProps$1;
2531
- icon?: EmojiWrapperProps$1;
2532
- dragHandle?: IconButtonProps$2;
2533
- label?: TypographyProps$2;
2534
- deleteAction?: IconButtonProps$2;
2535
- primaryAction?: IconButtonProps$2;
2536
- };
2537
- }
2538
- declare const EmojiQuestionEditorOption: FunctionComponent<EmojiQuestionEditorOptionProps>;
2539
-
2540
2550
  type BreakpointOrNull = Breakpoint | null;
2541
2551
  declare const useBreakpoint: () => Breakpoint;
2542
2552
 
@@ -2814,4 +2824,4 @@ declare module '@mui/system' {
2814
2824
  }
2815
2825
  }
2816
2826
 
2817
- 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 };
2827
+ 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 };