@czi-sds/components 22.5.1 → 22.5.2
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 +1 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.cjs.d.ts
CHANGED
|
@@ -1788,6 +1788,7 @@ interface TooltipTableExtraProps extends CommonThemeProps {
|
|
|
1788
1788
|
}>;
|
|
1789
1789
|
contentAlert?: string | JSX.Element;
|
|
1790
1790
|
itemAlign?: "left" | "right";
|
|
1791
|
+
showSectionHeader?: boolean;
|
|
1791
1792
|
}
|
|
1792
1793
|
type TooltipTableContentProps = TooltipTableExtraProps;
|
|
1793
1794
|
/**
|
package/dist/index.cjs.js
CHANGED
|
@@ -15904,8 +15904,8 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
|
|
|
15904
15904
|
* @see https://mui.com/material-ui/react-table/
|
|
15905
15905
|
*/
|
|
15906
15906
|
var TooltipTableContent = function (props) {
|
|
15907
|
-
var contentAlert = props.contentAlert, data = props.data, _a = props.itemAlign, itemAlign = _a === void 0 ? "right" : _a, rest = __rest(props, ["contentAlert", "data", "itemAlign"]);
|
|
15908
|
-
return (jsxRuntime.jsxs(material.TableContainer, __assign({}, rest, { children: [contentAlert && jsxRuntime.jsx(Alert, { children: contentAlert }), data === null || data === void 0 ? void 0 : data.map(function (section, index) { return (jsxRuntime.jsxs(Section, { disabled: section.disabled, children: [jsxRuntime.jsx(SectionLabel, { disabled: section.disabled, label: section.label, children: section.label }), jsxRuntime.jsx(material.Table, { size: "small", children: jsxRuntime.jsx(material.TableBody, { children: section.dataRows.map(function (row, rowIndex) { return (jsxRuntime.jsxs(material.TableRow, { children: [jsxRuntime.jsx(RowLabel, { disabled: section.disabled, align: "left", children: row.label }), jsxRuntime.jsx(RowValue, { disabled: section.disabled, align: itemAlign, children: row.value })] }, row.label + String(rowIndex))); }) }) })] }, "".concat(section.label + String(index)))); })] })));
|
|
15907
|
+
var contentAlert = props.contentAlert, data = props.data, _a = props.itemAlign, itemAlign = _a === void 0 ? "right" : _a, _b = props.showSectionHeader, showSectionHeader = _b === void 0 ? true : _b, rest = __rest(props, ["contentAlert", "data", "itemAlign", "showSectionHeader"]);
|
|
15908
|
+
return (jsxRuntime.jsxs(material.TableContainer, __assign({}, rest, { children: [contentAlert && jsxRuntime.jsx(Alert, { children: contentAlert }), data === null || data === void 0 ? void 0 : data.map(function (section, index) { return (jsxRuntime.jsxs(Section, { disabled: section.disabled, children: [showSectionHeader && (jsxRuntime.jsx(SectionLabel, { disabled: section.disabled, label: section.label, children: section.label })), jsxRuntime.jsx(material.Table, { size: "small", children: jsxRuntime.jsx(material.TableBody, { children: section.dataRows.map(function (row, rowIndex) { return (jsxRuntime.jsxs(material.TableRow, { children: [jsxRuntime.jsx(RowLabel, { disabled: section.disabled, align: "left", children: row.label }), jsxRuntime.jsx(RowValue, { disabled: section.disabled, align: itemAlign, children: row.value })] }, row.label + String(rowIndex))); }) }) })] }, "".concat(section.label + String(index)))); })] })));
|
|
15909
15909
|
};
|
|
15910
15910
|
|
|
15911
15911
|
Object.defineProperty(exports, "ContentCardMedia", {
|
package/dist/index.esm.d.ts
CHANGED
|
@@ -1788,6 +1788,7 @@ interface TooltipTableExtraProps extends CommonThemeProps {
|
|
|
1788
1788
|
}>;
|
|
1789
1789
|
contentAlert?: string | JSX.Element;
|
|
1790
1790
|
itemAlign?: "left" | "right";
|
|
1791
|
+
showSectionHeader?: boolean;
|
|
1791
1792
|
}
|
|
1792
1793
|
type TooltipTableContentProps = TooltipTableExtraProps;
|
|
1793
1794
|
/**
|
package/dist/index.esm.js
CHANGED
|
@@ -15881,8 +15881,8 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
|
|
|
15881
15881
|
* @see https://mui.com/material-ui/react-table/
|
|
15882
15882
|
*/
|
|
15883
15883
|
var TooltipTableContent = function (props) {
|
|
15884
|
-
var contentAlert = props.contentAlert, data = props.data, _a = props.itemAlign, itemAlign = _a === void 0 ? "right" : _a, rest = __rest(props, ["contentAlert", "data", "itemAlign"]);
|
|
15885
|
-
return (jsxs(TableContainer, __assign({}, rest, { children: [contentAlert && jsx(Alert, { children: contentAlert }), data === null || data === void 0 ? void 0 : data.map(function (section, index) { return (jsxs(Section, { disabled: section.disabled, children: [jsx(SectionLabel, { disabled: section.disabled, label: section.label, children: section.label }), jsx(Table$1, { size: "small", children: jsx(TableBody, { children: section.dataRows.map(function (row, rowIndex) { return (jsxs(TableRow$1, { children: [jsx(RowLabel, { disabled: section.disabled, align: "left", children: row.label }), jsx(RowValue, { disabled: section.disabled, align: itemAlign, children: row.value })] }, row.label + String(rowIndex))); }) }) })] }, "".concat(section.label + String(index)))); })] })));
|
|
15884
|
+
var contentAlert = props.contentAlert, data = props.data, _a = props.itemAlign, itemAlign = _a === void 0 ? "right" : _a, _b = props.showSectionHeader, showSectionHeader = _b === void 0 ? true : _b, rest = __rest(props, ["contentAlert", "data", "itemAlign", "showSectionHeader"]);
|
|
15885
|
+
return (jsxs(TableContainer, __assign({}, rest, { children: [contentAlert && jsx(Alert, { children: contentAlert }), data === null || data === void 0 ? void 0 : data.map(function (section, index) { return (jsxs(Section, { disabled: section.disabled, children: [showSectionHeader && (jsx(SectionLabel, { disabled: section.disabled, label: section.label, children: section.label })), jsx(Table$1, { size: "small", children: jsx(TableBody, { children: section.dataRows.map(function (row, rowIndex) { return (jsxs(TableRow$1, { children: [jsx(RowLabel, { disabled: section.disabled, align: "left", children: row.label }), jsx(RowValue, { disabled: section.disabled, align: itemAlign, children: row.value })] }, row.label + String(rowIndex))); }) }) })] }, "".concat(section.label + String(index)))); })] })));
|
|
15886
15886
|
};
|
|
15887
15887
|
|
|
15888
15888
|
export { Accordion, AccordionDetails, AccordionHeader, Alert$1 as Alert, Autocomplete, StyledPopper$2 as AutocompleteMultiColumnStyledPopper, StyledPaper$3 as AutocompleteSingleColumnStyledPaper, Banner, Button, ButtonDropdown, ButtonIcon, ButtonToggle, Callout, CalloutTitle, CellBasic, CellComponent, CellHeader, Chip, ComplexFilter, InputDropdown as ComplexFilterInputDropdown, StyledPopper as ComplexFilterPopper, ContentCard, ContentCardActions, StyledContentCardBody as ContentCardBody, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, StyledSubtitleText as ContentCardSubtitle, StyledTitleText as ContentCardTitle, Dialog, DialogActions, index as DialogContent, DialogContext, DialogPaper, DialogTitle, Overline as DialogTitleOverline, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Dropdown, InputDropdown as DropdownInputDropdown, DropdownMenu, StyledPaper$1 as DropdownPaper, StyledPopper as DropdownPopper, Icon, InputCheckbox, InputDropdown, InputRadio, InputSearch, InputSlider, InputText, InputToggle, Link, List, ListItem, ListItemLabel, ListSubheader, LoadingIndicator, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, Menu, MenuItem, MenuSelect, NavigationFooter, NavigationHeader, NavigationJumpTo, Notification, Pagination, Panel, SDSChooseTheme, SDSDarkAppTheme, SDSLightAppTheme, SDSPaletteDark, SDSPaletteLight, SegmentedControl, Tab, Table, TableHeader, TableRow, Tabs, Tag, TagFilter, Theme, Tooltip, TooltipCondensed, TooltipTableContent as TooltipTable, createAppThemeBorders, defaultAppTheme, defaultTheme$4 as defaultTheme, focusVisibleA11yStyle, fontBody, fontBodyL$1 as fontBodyL, fontBodyM$1 as fontBodyM, fontBodyS$1 as fontBodyS, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodyXs$2 as fontBodyXs, fontBodyXxs$1 as fontBodyXxs, fontBodyXxxs$1 as fontBodyXxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontCode, fontCodeS, fontCodeSemiboldS, fontCodeSemiboldXs, fontCodeXs, fontHeader, fontHeaderL, fontHeaderM$1 as fontHeaderM, fontHeaderS, fontHeaderXl, fontHeaderXs, fontHeaderXxl, fontHeaderXxs, fontHeaderXxxs, fontTabular, fontTabularS, fontTabularSemiboldS, fontTabularSemiboldXs, fontTabularXs, getBorders, getBreakpoints, getColors, getCorners, getFontWeights, getIconSizes, getMode, getPalette, getSemanticColors, getShadows, getSpaces, getSpacings, getTypography, makeSdsSemanticAppTheme, makeThemeOptions };
|