@czi-sds/components 22.12.0 → 22.13.1

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.
@@ -30,6 +30,7 @@ import { ListSubheaderProps as RawListSubheaderProps } from "@mui/material";
30
30
  import { MenuProps as RawMenuProps } from "@mui/material";
31
31
  import { ChipProps as ChipProps$0 } from "@mui/material";
32
32
  import { LinkProps as LinkProps$1 } from "@mui/material";
33
+ import { MenuProps as MenuProps$0 } from "@mui/material";
33
34
  import { TabProps as RawTabProps } from "@mui/material";
34
35
  import { TabsProps as RawTabsProps } from "@mui/material";
35
36
  import React from "react";
@@ -731,6 +732,7 @@ interface IconNameToSizes {
731
732
  GridPrivate: "l" | "xl";
732
733
  GridPublic: "l" | "xl";
733
734
  House: "xs" | "s";
735
+ Hand: "xs" | "s";
734
736
  InfoCircle: "xs" | "s" | "l" | "xl";
735
737
  InfoSpeechBubble: "l" | "xl";
736
738
  LifeRing: "xs" | "s";
@@ -773,7 +775,8 @@ interface IconNameToSizes {
773
775
  Send: "l" | "xl";
774
776
  Share: "l" | "xl";
775
777
  SlidersHorizontal: "l" | "xl";
776
- Sparkle: "l" | "xl";
778
+ Sparkle: "xs" | "s" | "l" | "xl";
779
+ Sparkles: "xs" | "s" | "l" | "xl";
777
780
  SpeechBubbles: "l" | "xl";
778
781
  SquareOnDashedSquare: "l" | "xl";
779
782
  Starburst: "xs" | "s";
@@ -874,7 +877,7 @@ type MenuItemProps<IconName extends keyof IconNameToSmallSizes> = MenuItemExtraP
874
877
  /**
875
878
  * @see https://mui.com/material-ui/react-menu/
876
879
  */
877
- declare const MenuItem: React.ForwardRefExoticComponent<Omit<MenuItemProps<"Bacteria" | "BarChartHorizontal3" | "BarChartVertical3" | "BarChartVertical4" | "Book" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronDown2" | "ChevronLeft2" | "ChevronLeft" | "ChevronRight2" | "ChevronRight" | "ChevronUp" | "ChevronUp2" | "CirclesOverlap2" | "Code" | "Copy" | "Cube" | "Document" | "DotsHorizontal" | "Download" | "Edit" | "Envelope" | "ExclamationMarkCircle" | "EyeClosed" | "EyeOpen" | "Filter" | "FlagCheck" | "FlagOutline" | "FlagQuestionMark" | "FlagXMark" | "Gear" | "Github" | "Globe" | "House" | "InfoCircle" | "LifeRing" | "LightBulb" | "LinesDashed3Solid1" | "LinesHorizontal3" | "Link" | "List" | "Loading" | "Lock" | "LockCircle" | "Minus" | "Open" | "People" | "Percentage" | "Person" | "Pin" | "PinLocation" | "Plus" | "PlusCircle" | "PuzzlePiece" | "QuestionMarkCircle" | "Refresh" | "RotateLeft" | "RotateRight" | "Scale" | "ScatterPlot" | "Search" | "SearchLinesHorizontal3" | "Starburst" | "Table" | "ThumbsDown" | "ThumbsUp" | "TrashCan" | "TreeHorizontal" | "TreeVertical" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "XMark" | "XMarkCircle">, "ref"> & React.RefAttributes<HTMLLIElement | null>>;
880
+ declare const MenuItem: React.ForwardRefExoticComponent<Omit<MenuItemProps<"Bacteria" | "BarChartHorizontal3" | "BarChartVertical3" | "BarChartVertical4" | "Book" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronDown2" | "ChevronLeft2" | "ChevronLeft" | "ChevronRight2" | "ChevronRight" | "ChevronUp" | "ChevronUp2" | "CirclesOverlap2" | "Code" | "Copy" | "Cube" | "Document" | "DotsHorizontal" | "Download" | "Edit" | "Envelope" | "ExclamationMarkCircle" | "EyeClosed" | "EyeOpen" | "Filter" | "FlagCheck" | "FlagOutline" | "FlagQuestionMark" | "FlagXMark" | "Gear" | "Github" | "Globe" | "House" | "Hand" | "InfoCircle" | "LifeRing" | "LightBulb" | "LinesDashed3Solid1" | "LinesHorizontal3" | "Link" | "List" | "Loading" | "Lock" | "LockCircle" | "Minus" | "Open" | "People" | "Percentage" | "Person" | "Pin" | "PinLocation" | "Plus" | "PlusCircle" | "PuzzlePiece" | "QuestionMarkCircle" | "Refresh" | "RotateLeft" | "RotateRight" | "Scale" | "ScatterPlot" | "Search" | "SearchLinesHorizontal3" | "Sparkle" | "Sparkles" | "Starburst" | "Table" | "ThumbsDown" | "ThumbsUp" | "TrashCan" | "TreeHorizontal" | "TreeVertical" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "XMark" | "XMarkCircle">, "ref"> & React.RefAttributes<HTMLLIElement | null>>;
878
881
  interface StyleProps extends CommonThemeProps {
879
882
  count?: number;
880
883
  icon?: ReactElement;
@@ -1295,7 +1298,7 @@ interface InputDropdownProps extends CommonThemeProps, Omit<ButtonProps$0, (type
1295
1298
  value?: ReactNode;
1296
1299
  shouldTruncateMinimalDetails?: boolean;
1297
1300
  shouldPutAColonAfterLabel?: boolean;
1298
- width?: number;
1301
+ width?: string;
1299
1302
  className?: string;
1300
1303
  // (masoudmanson): This is a temporary fix for the issue where the style prop
1301
1304
  // is not correctly passed to the underlying Button component when asserting as
@@ -1732,6 +1735,7 @@ interface DropdownNavigationHeaderPrimaryNavItem<T extends string> extends BaseN
1732
1735
  }
1733
1736
  type NavigationHeaderPrimaryNavItem<T extends string> = TextNavigationHeaderPrimaryNavItem<T> | DropdownNavigationHeaderPrimaryNavItem<T>;
1734
1737
  interface NavigationHeaderPrimaryNavProps<T extends string> {
1738
+ menuProps?: Partial<MenuProps$0>;
1735
1739
  hasInvertedStyle?: boolean;
1736
1740
  isNarrow?: boolean;
1737
1741
  items: NavigationHeaderPrimaryNavItem<T>[];
@@ -1749,6 +1753,7 @@ interface DropdownHeaderSecondaryNavItem extends Partial<SdsMinimalButtonProps>
1749
1753
  }
1750
1754
  type NavigationHeaderSecondaryNavItem = TextHeaderSecondaryNavItem | DropdownHeaderSecondaryNavItem;
1751
1755
  interface NavigationHeaderSecondaryNavProps {
1756
+ menuProps?: Partial<MenuProps$0>;
1752
1757
  items: NavigationHeaderSecondaryNavItem[];
1753
1758
  hasInvertedStyle?: boolean;
1754
1759
  isNarrow?: boolean;
@@ -1773,6 +1778,7 @@ interface NavigationHeaderProps<T extends string = string> extends AppBarProps {
1773
1778
  title: string;
1774
1779
  drawerOpen?: boolean;
1775
1780
  setDrawerOpen?: (open: boolean) => void;
1781
+ menuProps?: Partial<MenuProps$0>;
1776
1782
  }
1777
1783
  type IconButtonProps = SdsIconButtonProps & {
1778
1784
  children?: string;