@docsvision/management-console 6.2.0-beta.21 → 6.2.0-beta.22
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/index.d.ts +2 -2
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -427,7 +427,7 @@ export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.E
|
|
|
427
427
|
|
|
428
428
|
export declare function CellPreloader(): JSX.Element;
|
|
429
429
|
|
|
430
|
-
export declare function CellTextContent({ content, multiline }: ICellTextContentProps): JSX.Element;
|
|
430
|
+
export declare function CellTextContent({ content, multiline, ...rest }: ICellTextContentProps): JSX.Element;
|
|
431
431
|
|
|
432
432
|
export declare function CellWithFixedWidth(props: ICellWithFixedWidthProps): JSX.Element;
|
|
433
433
|
|
|
@@ -965,7 +965,7 @@ declare interface ICardUrl extends Service {
|
|
|
965
965
|
getLinkToWindowsClient(dvConnectionId: string, cardID: string): Promise<string>;
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
-
declare interface ICellTextContentProps {
|
|
968
|
+
declare interface ICellTextContentProps extends TypographyProps {
|
|
969
969
|
content: string;
|
|
970
970
|
multiline?: boolean;
|
|
971
971
|
}
|
package/index.js
CHANGED
|
@@ -59376,7 +59376,7 @@ function CellPreloader() {
|
|
|
59376
59376
|
}
|
|
59377
59377
|
);
|
|
59378
59378
|
}
|
|
59379
|
-
function CellTextContent({ content, multiline = false }) {
|
|
59379
|
+
function CellTextContent({ content, multiline = false, ...rest }) {
|
|
59380
59380
|
const contentRef = React__default.useRef(null);
|
|
59381
59381
|
const [showTooltip, setShowTooltip] = React__default.useState(false);
|
|
59382
59382
|
React__default.useEffect(() => {
|
|
@@ -59385,7 +59385,7 @@ function CellTextContent({ content, multiline = false }) {
|
|
|
59385
59385
|
const shouldShowTooltip = isWidthOverflowing || isHeightOverflowing;
|
|
59386
59386
|
setShowTooltip(shouldShowTooltip);
|
|
59387
59387
|
}, [contentRef, content]);
|
|
59388
|
-
return /* @__PURE__ */ jsx(LightTooltip, { title: content, placement: "top-start", disableHoverListener: !showTooltip, children: /* @__PURE__ */ jsx(
|
|
59388
|
+
return /* @__PURE__ */ jsx(LightTooltip, { title: content, placement: "top-start", disableHoverListener: !showTooltip, children: /* @__PURE__ */ jsx(Typography$3, { ref: contentRef, className: multiline ? "cell-text-content-multiline" : "cell-text-content", variant: "body2", ...rest, children: content }) });
|
|
59389
59389
|
}
|
|
59390
59390
|
function CellWithFixedWidth(props2) {
|
|
59391
59391
|
const { content, maxWidth: maxWidth2 } = props2;
|