@elastic/eui
Version:
Elastic UI Component Library
31 lines (30 loc) • 1.83 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.euiTableStickyScrollbarStyles = void 0;
var _react = require("@emotion/react");
var _services = require("../../../services");
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
var _ref = process.env.NODE_ENV === "production" ? {
name: "j6fg69-wrapperHidden",
styles: "display:none;label:wrapperHidden;"
} : {
name: "j6fg69-wrapperHidden",
styles: "display:none;label:wrapperHidden;",
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
};
var euiTableStickyScrollbarStyles = exports.euiTableStickyScrollbarStyles = function euiTableStickyScrollbarStyles(_ref2) {
var euiTheme = _ref2.euiTheme;
return {
wrapper: /*#__PURE__*/(0, _react.css)("block-size:", euiTheme.size.base, ";padding:", euiTheme.size.xs, ";position:sticky;background:", euiTheme.components.scrollbarTrackColor, ";inset-block-end:var(--euiTableStickyScrollbarOffsetBottom, 0);z-index:var(--euiTableStickyScrollbarZIndex, 0);;label:wrapper;"),
wrapperHidden: _ref,
track: /*#__PURE__*/(0, _react.css)("block-size:100%;background:", (0, _services.transparentize)(euiTheme.colors.darkShade, 0.5), ";border-radius:", euiTheme.border.radius.small, ";;label:track;")
};
};