@useloops/design-system 1.4.166 → 1.4.168

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
@@ -615,6 +615,7 @@ interface CustomTheme {
615
615
  };
616
616
  typography: {
617
617
  headline: {
618
+ xxs: string;
618
619
  xs: string;
619
620
  sm: string;
620
621
  md: string;
@@ -624,6 +625,7 @@ interface CustomTheme {
624
625
  xxxl: string;
625
626
  };
626
627
  body: {
628
+ xxs: string;
627
629
  xs: string;
628
630
  sm: string;
629
631
  md: string;
@@ -678,6 +680,48 @@ interface NudgeProps$1 extends PropsWithChildren {
678
680
  }
679
681
  declare const Navigation: FunctionComponent<NavigationProps>;
680
682
 
683
+ interface ProjectItemViewType {
684
+ viewType?: 'grid' | 'list';
685
+ }
686
+ interface UserProps {
687
+ id: string;
688
+ email: string;
689
+ firstName: string;
690
+ lastName: string;
691
+ country: string | null;
692
+ city: string | null;
693
+ profileImage: string | null;
694
+ jobTitle: string | null;
695
+ role: string | null;
696
+ }
697
+ interface ProjectItemDataProps {
698
+ id: string;
699
+ postId: string;
700
+ versionId: string;
701
+ thumbnail: string;
702
+ demoSurveyId: string;
703
+ title: string;
704
+ description: string | null;
705
+ demoProjectSummary?: string | null;
706
+ demoSurveySummary?: string | null;
707
+ name: string;
708
+ user: UserProps;
709
+ isAuthor: boolean;
710
+ isDemo: boolean;
711
+ loopCount: number | null;
712
+ testCount: number | null;
713
+ draftCount: number | null;
714
+ updatedAt?: string;
715
+ tags?: string[] | null;
716
+ onClick?: () => void;
717
+ loading?: boolean;
718
+ moreActions?: React.ReactNode;
719
+ }
720
+ interface ProjectItemProps extends ProjectItemDataProps, ProjectItemViewType {
721
+ }
722
+
723
+ declare const ProjectItem: FunctionComponent<ProjectItemProps>;
724
+
681
725
  interface AuthFormHeaderProps {
682
726
  logo?: ReactElement | false | undefined;
683
727
  headerText?: string;
@@ -1230,7 +1274,7 @@ interface TypographyProps {
1230
1274
  clamp?: number;
1231
1275
  component: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
1232
1276
  type?: 'default' | 'button';
1233
- variation: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
1277
+ variation: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
1234
1278
  weight?: 'default' | 'bold';
1235
1279
  }
1236
1280
  declare const Typography: FunctionComponent<TypographyProps & TypographyProps$1>;
@@ -1428,6 +1472,7 @@ declare module '@mui/material/styles' {
1428
1472
  md: React.CSSProperties;
1429
1473
  sm: React.CSSProperties;
1430
1474
  xs: React.CSSProperties;
1475
+ xxs: React.CSSProperties;
1431
1476
  }
1432
1477
  interface TypographyVariantsOptions {
1433
1478
  xxxl?: React.CSSProperties;
@@ -1437,6 +1482,7 @@ declare module '@mui/material/styles' {
1437
1482
  md?: React.CSSProperties;
1438
1483
  sm?: React.CSSProperties;
1439
1484
  xs?: React.CSSProperties;
1485
+ xxs?: React.CSSProperties;
1440
1486
  }
1441
1487
  interface ThemeOptions {
1442
1488
  custom?: {
@@ -1539,6 +1585,7 @@ declare module '@mui/material/styles' {
1539
1585
  };
1540
1586
  typography?: {
1541
1587
  headline?: {
1588
+ xxs?: string;
1542
1589
  xs?: string;
1543
1590
  sm?: string;
1544
1591
  md?: string;
@@ -1548,6 +1595,7 @@ declare module '@mui/material/styles' {
1548
1595
  xxxl?: string;
1549
1596
  };
1550
1597
  body?: {
1598
+ xxs?: string;
1551
1599
  xs?: string;
1552
1600
  sm?: string;
1553
1601
  md?: string;
@@ -1599,6 +1647,7 @@ declare module '@mui/material/Typography' {
1599
1647
  md: true;
1600
1648
  sm: true;
1601
1649
  xs: true;
1650
+ xxs: true;
1602
1651
  }
1603
1652
  }
1604
1653
  declare module '@mui/system' {
@@ -1610,4 +1659,4 @@ declare module '@mui/system' {
1610
1659
  }
1611
1660
  }
1612
1661
 
1613
- export { AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, 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, Html, type HtmlProps, IconButton, IconButtonGroup, type IconButtonProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Markdown, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, type SemanticColor, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, green, greenRamp, margin, neutral, neutralAlpha, neutralRamp, padding, passwordValidation, peach, peachRamp, purple, purpleRamp, radius, red, redRamp, semantic, space, useDropdownMenu, yellow, yellowRamp };
1662
+ export { AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, 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, Html, type HtmlProps, IconButton, IconButtonGroup, type IconButtonProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Markdown, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, ProjectItem, type ProjectItemProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, type SemanticColor, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, green, greenRamp, margin, neutral, neutralAlpha, neutralRamp, padding, passwordValidation, peach, peachRamp, purple, purpleRamp, radius, red, redRamp, semantic, space, useDropdownMenu, yellow, yellowRamp };