@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
35 lines (33 loc) • 1.54 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.wrapperStyle = void 0;
var _react = require("@emotion/react");
var _styles = require("../styles");
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
var wrapperStyle = exports.wrapperStyle = (0, _react.css)(_styles.wrapperDefault, {
cursor: 'pointer',
display: 'inline-flex',
margin: "1px 1px ".concat("var(--ds-space-050, 4px)"),
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
'> img': {
borderRadius: "var(--ds-radius-small, 3px)"
},
'&::after, &::before': {
verticalAlign: 'text-top',
display: 'inline-block',
content: "''"
},
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
'&.with-children': {
padding: 0,
background: "var(--ds-background-neutral-subtle, #00000000)"
},
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
'&.with-hover-border': {
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
}
});