"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.partitionVisWrapperStyle = exports.partitionVisContainerWithToggleStyleFactory = exports.partitionVisContainerStyle = void 0; var _react = require("@emotion/react"); /* * 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. */ const partitionVisWrapperStyle = (0, _react.css)({ display: 'flex', flex: '1 1 auto', minHeight: 0, minWidth: 0, width: '100%', height: '100%' }); exports.partitionVisWrapperStyle = partitionVisWrapperStyle; const partitionVisContainerStyle = (0, _react.css)` min-height: 0; min-width: 0; margin-left: auto; margin-right: auto; width: 100%; height: 100%; `; exports.partitionVisContainerStyle = partitionVisContainerStyle; const partitionVisContainerWithToggleStyleFactory = theme => (0, _react.css)` ${partitionVisContainerStyle} inset: 0; position: absolute; padding: ${theme.size.s}; `; exports.partitionVisContainerWithToggleStyleFactory = partitionVisContainerWithToggleStyleFactory;