@czi-sds/components 22.5.0 → 22.5.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.
- package/dist/index.cjs.d.ts +9 -3
- package/dist/index.cjs.js +535 -486
- package/dist/index.esm.d.ts +9 -3
- package/dist/index.esm.js +535 -486
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.cjs.d.ts
CHANGED
|
@@ -575,6 +575,7 @@ interface IconNameToSizes {
|
|
|
575
575
|
FlaskPrivate: "l" | "xl";
|
|
576
576
|
FlaskPublic: "l" | "xl";
|
|
577
577
|
Gear: "xs" | "s";
|
|
578
|
+
Github: "xs" | "s";
|
|
578
579
|
Globe: "xs" | "s";
|
|
579
580
|
GlobeBasic: "l" | "xl";
|
|
580
581
|
Grid: "l" | "xl";
|
|
@@ -617,6 +618,7 @@ interface IconNameToSizes {
|
|
|
617
618
|
RotateRight: "xs" | "s";
|
|
618
619
|
Save: "l" | "xl";
|
|
619
620
|
Scale: "xs" | "s";
|
|
621
|
+
ScatterPlot: "xs" | "s";
|
|
620
622
|
Search: "xs" | "s" | "l" | "xl";
|
|
621
623
|
SearchLinesHorizontal3: "xs" | "s" | "l" | "xl";
|
|
622
624
|
Send: "l" | "xl";
|
|
@@ -721,7 +723,7 @@ type MenuItemProps<IconName extends keyof IconNameToSmallSizes> = MenuItemExtraP
|
|
|
721
723
|
/**
|
|
722
724
|
* @see https://mui.com/material-ui/react-menu/
|
|
723
725
|
*/
|
|
724
|
-
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" | "Globe" | "House" | "InfoCircle" | "LifeRing" | "LightBulb" | "LinesDashed3Solid1" | "LinesHorizontal3" | "Link" | "List" | "Loading" | "Lock" | "LockCircle" | "Minus" | "Open" | "People" | "Percentage" | "Person" | "Pin" | "PinLocation" | "Plus" | "PlusCircle" | "PuzzlePiece" | "Refresh" | "RotateLeft" | "RotateRight" | "Scale" | "Search" | "SearchLinesHorizontal3" | "Starburst" | "Table" | "ThumbsDown" | "ThumbsUp" | "TrashCan" | "TreeHorizontal" | "TreeVertical" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "XMark" | "XMarkCircle">, "ref"> & React.RefAttributes<HTMLLIElement | null>>;
|
|
726
|
+
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" | "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>>;
|
|
725
727
|
interface StyleProps extends CommonThemeProps {
|
|
726
728
|
count?: number;
|
|
727
729
|
icon?: ReactElement;
|
|
@@ -979,7 +981,7 @@ interface TooltipExtraProps extends CommonThemeProps {
|
|
|
979
981
|
// @deprecated Use `hasInvertedStyle` instead
|
|
980
982
|
sdsStyle?: "dark" | "light";
|
|
981
983
|
hasInvertedStyle?: boolean;
|
|
982
|
-
subtitle?:
|
|
984
|
+
subtitle?: React.ReactNode;
|
|
983
985
|
width?: "default" | "wide";
|
|
984
986
|
}
|
|
985
987
|
type TooltipProps = TooltipExtraProps & RawTooltipProps;
|
|
@@ -999,6 +1001,7 @@ interface CellBasicExtraProps extends CommonThemeProps {
|
|
|
999
1001
|
primaryTextWrapLineCount?: number;
|
|
1000
1002
|
secondaryTextWrapLineCount?: number;
|
|
1001
1003
|
tertiaryTextWrapLineCount?: number;
|
|
1004
|
+
tabularNums?: boolean;
|
|
1002
1005
|
}
|
|
1003
1006
|
interface CellBasicContentProps extends Omit<React.HTMLProps<HTMLTableCellElement>, "as"> {
|
|
1004
1007
|
primaryText: string;
|
|
@@ -1013,6 +1016,7 @@ interface CellBasicContentProps extends Omit<React.HTMLProps<HTMLTableCellElemen
|
|
|
1013
1016
|
primaryTextComponentSlotRight?: React.ReactNode;
|
|
1014
1017
|
primaryTextComponentSlotBottom?: React.ReactNode;
|
|
1015
1018
|
horizontalAlign?: "left" | "right";
|
|
1019
|
+
tabularNums?: boolean;
|
|
1016
1020
|
}
|
|
1017
1021
|
interface CellBasicRawProps {
|
|
1018
1022
|
shouldShowTooltipOnHover?: boolean;
|
|
@@ -1034,6 +1038,7 @@ interface CellHeaderExtraProps extends CommonThemeProps {
|
|
|
1034
1038
|
hideSortIcon?: boolean;
|
|
1035
1039
|
horizontalAlign?: "left" | "center" | "right";
|
|
1036
1040
|
hover?: boolean;
|
|
1041
|
+
shouldTruncate?: boolean;
|
|
1037
1042
|
}
|
|
1038
1043
|
type CellHeaderDirection = "asc" | "desc";
|
|
1039
1044
|
interface CellHeaderContentProps {
|
|
@@ -1043,6 +1048,7 @@ interface CellHeaderContentProps {
|
|
|
1043
1048
|
horizontalAlign?: "left" | "center" | "right";
|
|
1044
1049
|
children: React.ReactNode;
|
|
1045
1050
|
hover?: boolean;
|
|
1051
|
+
shouldTruncate?: boolean;
|
|
1046
1052
|
}
|
|
1047
1053
|
interface CellHeaderRawProps extends Omit<React.HTMLProps<HTMLTableCellElement>, "as"> {
|
|
1048
1054
|
tooltipText?: string;
|
|
@@ -1107,7 +1113,7 @@ interface ExtraDropdownMenuProps extends StyleProps$1 {
|
|
|
1107
1113
|
children?: JSX.Element | null;
|
|
1108
1114
|
onClickAway?: (event: MouseEvent | TouchEvent) => void;
|
|
1109
1115
|
ClickAwayListenerProps?: Partial<MUIClickAwayListenerProps>;
|
|
1110
|
-
width?: number;
|
|
1116
|
+
width?: number | CSSProperties["width"];
|
|
1111
1117
|
}
|
|
1112
1118
|
type CustomAutocompleteProps$1<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> = Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">;
|
|
1113
1119
|
type DropdownMenuProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> = CustomAutocompleteProps$1<T, Multiple, DisableClearable, FreeSolo> & ExtraDropdownMenuProps;
|