@orfium/ictinus 4.48.1 → 4.49.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/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js
CHANGED
|
@@ -45,7 +45,6 @@ var ContentCell = function ContentCell(_ref) {
|
|
|
45
45
|
css: (0, _ContentCell.nestedHeaderStyle)()
|
|
46
46
|
}, columns[cellCounter]), (0, _react2.jsx)(_TruncatedContent["default"], {
|
|
47
47
|
placement: 'bottom',
|
|
48
|
-
shouldAlwaysShow: (0, _helpers.isComponentFunctionType)(content) && !!tooltipContent,
|
|
49
48
|
tooltipContent: tooltipContent
|
|
50
49
|
}, (0, _helpers.isComponentFunctionType)(content) ? content({
|
|
51
50
|
content: content,
|
|
@@ -2,7 +2,7 @@ import { SerializedStyles } from '@emotion/react';
|
|
|
2
2
|
import { Theme } from '../../theme';
|
|
3
3
|
import { TooltipSize } from './Tooltip';
|
|
4
4
|
import 'tippy.js/dist/tippy.css';
|
|
5
|
-
export declare const tooltipStyle: ({ size, isTransparent
|
|
5
|
+
export declare const tooltipStyle: ({ size, isTransparent }: {
|
|
6
6
|
size: TooltipSize;
|
|
7
7
|
isTransparent: boolean;
|
|
8
8
|
}) => (theme: Theme) => SerializedStyles;
|
|
@@ -31,7 +31,7 @@ var tooltipStyle = function tooltipStyle(_ref) {
|
|
|
31
31
|
/*#__PURE__*/
|
|
32
32
|
|
|
33
33
|
/*#__PURE__*/
|
|
34
|
-
(0, _react.css)("background:transparent;.tippy-content{color:", theme.utils.getAAColorFromSwatches(color, shade), ";background-color:", backgroundColor, ";max-width:", (0, _utils.rem)(256), ";padding:", theme.spacing.sm, ";font-size:", defineFontSizeBasedOnTooltipSize(size), ";font-weight:", theme.typography.weights.regular, ";line-height:110%;border-radius:", theme.spacing.sm, ";text-align:start;white-space:pre-wrap;word-break:break-
|
|
34
|
+
(0, _react.css)("background:transparent;.tippy-content{color:", theme.utils.getAAColorFromSwatches(color, shade), ";background-color:", backgroundColor, ";max-width:", (0, _utils.rem)(256), ";padding:", theme.spacing.sm, ";font-size:", defineFontSizeBasedOnTooltipSize(size), ";font-weight:", theme.typography.weights.regular, ";line-height:110%;border-radius:", theme.spacing.sm, ";text-align:start;white-space:pre-wrap;word-break:break-word;}.tippy-arrow{color:", backgroundColor, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:tooltipStyle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1Rvb2x0aXAvVG9vbHRpcC5zdHlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3QmMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvVG9vbHRpcC9Ub29sdGlwLnN0eWxlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtIH0gZnJvbSAndGhlbWUvdXRpbHMnO1xuXG5pbXBvcnQgeyBUaGVtZSB9IGZyb20gJy4uLy4uL3RoZW1lJztcbmltcG9ydCB7IFRvb2x0aXBTaXplIH0gZnJvbSAnLi9Ub29sdGlwJztcbmltcG9ydCAndGlwcHkuanMvZGlzdC90aXBweS5jc3MnO1xuXG5leHBvcnQgY29uc3QgdG9vbHRpcFN0eWxlID1cbiAgKHsgc2l6ZSwgaXNUcmFuc3BhcmVudCB9OiB7IHNpemU6IFRvb2x0aXBTaXplOyBpc1RyYW5zcGFyZW50OiBib29sZWFuIH0pID0+XG4gICh0aGVtZTogVGhlbWUpOiBTZXJpYWxpemVkU3R5bGVzID0+IHtcbiAgICBjb25zdCBjb2xvciA9ICdkYXJrR3JleSc7XG4gICAgY29uc3Qgc2hh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ICAgYm9yZGVyLXJhZGl1czogJHt0aGVtZS5zcGFjaW5nLnNtfTtcbiAgICAgICAgdGV4dC1hbGlnbjogc3RhcnQ7XG4gICAgICAgIHdoaXRlLXNwYWNlOiBwcmUtd3JhcDtcbiAgICAgICAgd29yZC1icmVhazogYnJlYWstd29yZDtcbiAgICAgIH1cblxuICAgICAgLnRpcHB5LWFycm93IHtcbiAgICAgICAgY29sb3I6ICR7YmFja2dyb3VuZENvbG9yfTtcbiAgICAgIH1cbiAgICBgO1xuICB9O1xuIl19 */", process.env.NODE_ENV === "production" ? "" : ";label:tooltipStyle;")
|
|
35
35
|
);
|
|
36
36
|
};
|
|
37
37
|
};
|