@atlaskit/editor-common 108.1.0 → 108.1.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/CHANGELOG.md +8 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/cjs/extensibility/Extension/Extension/styles.js +3 -3
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -1
- package/dist/cjs/extensibility/Extension/LegacyContentHeader/index.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/cjs/extensibility/Extension/styles.js +2 -2
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +1 -1
- package/dist/cjs/link/ConfigureLinkOverlay/index.js +1 -1
- package/dist/cjs/media-inline/styles.js +1 -1
- package/dist/cjs/media-inline/views/wrapper.js +1 -1
- package/dist/cjs/media-single/CommentBadgeNext.js +1 -1
- package/dist/cjs/media-single/ExternalImageBadge.js +1 -1
- package/dist/cjs/resizer/ResizerBreakoutModeLabel.js +1 -1
- package/dist/cjs/styles/shared/code-block.js +2 -2
- package/dist/cjs/styles/shared/code-mark.js +1 -1
- package/dist/cjs/styles/shared/panel.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/HoverLinkOverlay/index.js +1 -1
- package/dist/cjs/ui/MultiBodiedExtension/index.js +4 -4
- package/dist/cjs/ui/Shortcut/index.compiled.css +1 -1
- package/dist/cjs/ui/Shortcut/index.js +1 -1
- package/dist/cjs/ui/TableSelector/index.js +1 -1
- package/dist/cjs/ui/UnsupportedBlock/index.js +1 -1
- package/dist/cjs/ui/UnsupportedInline/index.js +1 -1
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +3 -3
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/styles.js +3 -3
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -1
- package/dist/es2019/extensibility/Extension/LegacyContentHeader/index.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/es2019/extensibility/Extension/styles.js +2 -2
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +1 -1
- package/dist/es2019/link/ConfigureLinkOverlay/index.js +1 -1
- package/dist/es2019/media-inline/styles.js +1 -1
- package/dist/es2019/media-inline/views/wrapper.js +1 -1
- package/dist/es2019/media-single/CommentBadgeNext.js +1 -1
- package/dist/es2019/media-single/ExternalImageBadge.js +1 -1
- package/dist/es2019/resizer/ResizerBreakoutModeLabel.js +1 -1
- package/dist/es2019/styles/shared/code-block.js +3 -3
- package/dist/es2019/styles/shared/code-mark.js +1 -1
- package/dist/es2019/styles/shared/panel.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/HoverLinkOverlay/index.js +1 -1
- package/dist/es2019/ui/MultiBodiedExtension/index.js +4 -4
- package/dist/es2019/ui/Shortcut/index.compiled.css +1 -1
- package/dist/es2019/ui/Shortcut/index.js +1 -1
- package/dist/es2019/ui/TableSelector/index.js +1 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +1 -1
- package/dist/es2019/ui/UnsupportedInline/index.js +1 -1
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +3 -3
- package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/styles.js +3 -3
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -1
- package/dist/esm/extensibility/Extension/LegacyContentHeader/index.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/esm/extensibility/Extension/styles.js +2 -2
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +1 -1
- package/dist/esm/link/ConfigureLinkOverlay/index.js +1 -1
- package/dist/esm/media-inline/styles.js +1 -1
- package/dist/esm/media-inline/views/wrapper.js +1 -1
- package/dist/esm/media-single/CommentBadgeNext.js +1 -1
- package/dist/esm/media-single/ExternalImageBadge.js +1 -1
- package/dist/esm/resizer/ResizerBreakoutModeLabel.js +1 -1
- package/dist/esm/styles/shared/code-block.js +2 -2
- package/dist/esm/styles/shared/code-mark.js +1 -1
- package/dist/esm/styles/shared/panel.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/HoverLinkOverlay/index.js +1 -1
- package/dist/esm/ui/MultiBodiedExtension/index.js +4 -4
- package/dist/esm/ui/Shortcut/index.compiled.css +1 -1
- package/dist/esm/ui/Shortcut/index.js +1 -1
- package/dist/esm/ui/TableSelector/index.js +1 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
- package/dist/esm/ui/UnsupportedInline/index.js +1 -1
- package/dist/esm/ui-menu/ColorPickerButton/index.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 108.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`255837cfba315`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/255837cfba315) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 108.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -48,7 +48,7 @@ var itemIcon = exports.itemIcon = (0, _react2.css)({
|
|
|
48
48
|
overflow: 'hidden',
|
|
49
49
|
border: "1px solid ".concat("var(--ds-border, rgba(223, 225, 229, 0.5))"),
|
|
50
50
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
51
|
-
borderRadius: "var(--ds-
|
|
51
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
52
52
|
boxSizing: 'border-box',
|
|
53
53
|
display: 'flex',
|
|
54
54
|
justifyContent: 'center',
|
|
@@ -36,7 +36,7 @@ var wrapperStyleWithoutCursor = (0, _react.css)(_styles.wrapperDefault, {
|
|
|
36
36
|
},
|
|
37
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
38
38
|
'&.legacy-content': {
|
|
39
|
-
borderRadius: "0 0 ".concat("var(--ds-
|
|
39
|
+
borderRadius: "0 0 ".concat("var(--ds-radius-small, 3px)", " ", "var(--ds-radius-small, 3px)")
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -71,7 +71,7 @@ var content = exports.content = (0, _react.css)({
|
|
|
71
71
|
padding: "var(--ds-space-100, 8px)",
|
|
72
72
|
background: "var(--ds-surface, white)",
|
|
73
73
|
border: "1px solid ".concat("var(--ds-border, #091E4224)"),
|
|
74
|
-
borderRadius: "var(--ds-
|
|
74
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
75
75
|
cursor: 'initial',
|
|
76
76
|
width: '100%',
|
|
77
77
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -91,7 +91,7 @@ var extensionContent = exports.extensionContent = (0, _react.css)({
|
|
|
91
91
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
92
92
|
background: "var(--ds-surface, white)",
|
|
93
93
|
border: "1px solid ".concat("var(--ds-border, #091E4224)"),
|
|
94
|
-
borderRadius: "var(--ds-
|
|
94
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
95
95
|
cursor: 'initial',
|
|
96
96
|
width: '100%',
|
|
97
97
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -15,7 +15,7 @@ var wrapperStyle = exports.wrapperStyle = (0, _react.css)(_styles.wrapperDefault
|
|
|
15
15
|
margin: "1px 1px ".concat("var(--ds-space-050, 4px)"),
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
17
17
|
'> img': {
|
|
18
|
-
borderRadius: "var(--ds-
|
|
18
|
+
borderRadius: "var(--ds-radius-small, 3px)"
|
|
19
19
|
},
|
|
20
20
|
'&::after, &::before': {
|
|
21
21
|
verticalAlign: 'text-top',
|
|
@@ -39,7 +39,7 @@ var i18n = (0, _reactIntlNext.defineMessages)({
|
|
|
39
39
|
var lcmHeaderStyles = (0, _react2.css)({
|
|
40
40
|
padding: "0 ".concat("var(--ds-space-200, 16px)", " ", "var(--ds-space-050, 4px)", " ", "var(--ds-space-200, 16px)"),
|
|
41
41
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
42
|
-
borderRadius: "var(--ds-
|
|
42
|
+
borderRadius: "var(--ds-radius-small, 4px)".concat(" ", "var(--ds-radius-small, 4px)", " 0 0"),
|
|
43
43
|
boxShadow: "0 0 0 1px ".concat("var(--ds-background-neutral, #0515240F)"),
|
|
44
44
|
position: 'relative',
|
|
45
45
|
top: "-1px",
|
|
@@ -38,7 +38,7 @@ var buttonStyles = (0, _react2.css)({
|
|
|
38
38
|
cursor: 'pointer',
|
|
39
39
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border, #091E4224)"),
|
|
40
40
|
minHeight: "var(--ds-space-300, 24px)",
|
|
41
|
-
borderRadius: "var(--ds-
|
|
41
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
42
42
|
paddingLeft: "var(--ds-space-150, 12px)",
|
|
43
43
|
paddingRight: "var(--ds-space-150, 12px)",
|
|
44
44
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -67,7 +67,7 @@ var labelStyles = (0, _react.css)({
|
|
|
67
67
|
},
|
|
68
68
|
minHeight: "var(--ds-space-300, 24px)",
|
|
69
69
|
alignItems: 'center',
|
|
70
|
-
borderRadius: "var(--ds-
|
|
70
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
71
71
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
72
72
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
73
73
|
color: "var(--ds-text-subtle, #44546F)",
|
|
@@ -10,7 +10,7 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var wrapperDefault = exports.wrapperDefault = (0, _react.css)({
|
|
12
12
|
background: "var(--ds-background-neutral, #091E420F)",
|
|
13
|
-
borderRadius: "var(--ds-
|
|
13
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
14
14
|
position: 'relative',
|
|
15
15
|
verticalAlign: 'middle',
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -29,7 +29,7 @@ var wrapperDefault = exports.wrapperDefault = (0, _react.css)({
|
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
31
|
var overlay = exports.overlay = (0, _react.css)({
|
|
32
|
-
borderRadius: "var(--ds-
|
|
32
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
33
33
|
position: 'absolute',
|
|
34
34
|
width: '100%',
|
|
35
35
|
height: '100%',
|
|
@@ -50,7 +50,7 @@ var mbeExtensionWrapperCSSStyles = exports.mbeExtensionWrapperCSSStyles = (0, _r
|
|
|
50
50
|
|
|
51
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
52
52
|
var overlayStyles = exports.overlayStyles = (0, _react.css)({
|
|
53
|
-
borderRadius: "var(--ds-
|
|
53
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
54
54
|
position: 'absolute',
|
|
55
55
|
width: '100%',
|
|
56
56
|
height: '100%',
|
|
@@ -34,7 +34,7 @@ var barStyles = (0, _react.css)({
|
|
|
34
34
|
margin: 'auto',
|
|
35
35
|
width: '12px',
|
|
36
36
|
height: '3px',
|
|
37
|
-
borderRadius: "var(--ds-
|
|
37
|
+
borderRadius: "var(--ds-radius-small, 3px)"
|
|
38
38
|
});
|
|
39
39
|
var textColorIconWrapper = (0, _react.css)({
|
|
40
40
|
position: 'relative'
|
|
@@ -31,7 +31,7 @@ var buttonWrapperStyles = (0, _react2.css)({
|
|
|
31
31
|
top: '50%',
|
|
32
32
|
transform: 'translateY(-50%)',
|
|
33
33
|
background: "var(--ds-surface-raised, #FFFFFF)",
|
|
34
|
-
borderRadius: "var(--ds-
|
|
34
|
+
borderRadius: "var(--ds-radius-small, 3px)"
|
|
35
35
|
});
|
|
36
36
|
var showDropdownThresholdPx = 50;
|
|
37
37
|
var OverlayButton = exports.OverlayButton = (0, _withAnalyticsContext.default)()(function (_ref) {
|
|
@@ -38,7 +38,7 @@ var wrapperStyle = exports.wrapperStyle = (0, _react.css)({
|
|
|
38
38
|
alignItems: 'center',
|
|
39
39
|
verticalAlign: 'middle',
|
|
40
40
|
overflow: 'hidden',
|
|
41
|
-
borderRadius: "var(--ds-
|
|
41
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
42
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
43
43
|
aspectRatio: "var(".concat(INLINE_IMAGE_ASPECT_RATIO_CSS_VAR_KEY, ", ").concat(_constants.DEFAULT_INLINE_IMAGE_ASPECT_RATIO, ")"),
|
|
44
44
|
maxWidth: '100%'
|
|
@@ -15,7 +15,7 @@ var wrapperStyle = exports.wrapperStyle = (0, _react.css)({
|
|
|
15
15
|
alignItems: 'center',
|
|
16
16
|
justifyContent: 'center',
|
|
17
17
|
boxDecorationBreak: 'clone',
|
|
18
|
-
borderRadius: "var(--ds-
|
|
18
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
19
19
|
color: "var(--ds-text, #172B4D)",
|
|
20
20
|
backgroundColor: "var(--ds-background-neutral, #091E420F)",
|
|
21
21
|
transition: '0.1s all ease-in-out',
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
18
|
|
|
19
19
|
var baseStyles = (0, _primitives.xcss)({
|
|
20
|
-
borderRadius: '
|
|
20
|
+
borderRadius: 'radius.small'
|
|
21
21
|
});
|
|
22
22
|
var mediumBadgeStyles = (0, _primitives.xcss)({
|
|
23
23
|
height: 'space.300',
|
|
@@ -14,7 +14,7 @@ var _media = require("../media");
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
15
|
|
|
16
16
|
var baseStyles = (0, _primitives.xcss)({
|
|
17
|
-
borderRadius: '
|
|
17
|
+
borderRadius: 'radius.small',
|
|
18
18
|
backgroundColor: 'elevation.surface',
|
|
19
19
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
20
20
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
@@ -15,7 +15,7 @@ var fullWidthLabelWrapperStyles = (0, _primitives.xcss)({
|
|
|
15
15
|
height: "var(--ds-space-400, 32px)",
|
|
16
16
|
display: 'flex',
|
|
17
17
|
backgroundColor: 'elevation.surface.overlay',
|
|
18
|
-
borderRadius: '
|
|
18
|
+
borderRadius: 'radius.small',
|
|
19
19
|
boxShadow: 'elevation.shadow.overlay',
|
|
20
20
|
boxSizing: 'border-box',
|
|
21
21
|
alignItems: 'center'
|
|
@@ -23,9 +23,9 @@ var CodeBlockSharedCssClassName = exports.CodeBlockSharedCssClassName = {
|
|
|
23
23
|
CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET: 'code-content__line-number--wrapped'
|
|
24
24
|
};
|
|
25
25
|
var codeBlockSharedStyles = exports.codeBlockSharedStyles = function codeBlockSharedStyles() {
|
|
26
|
-
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", "\n\t\t> .", "\n\t\t> .", " {\n\t\tmargin-right: ", ";\n\n\t\tcode {\n\t\t\tdisplay: block;\n\t\t\tword-break: break-word;\n\t\t\twhite-space: pre-wrap;\n\t\t}\n\t}\n\n\t.", "\n\t\t> .", " {\n\t\tdisplay: flex;\n\t\tflex: 1;\n\n\t\tcode {\n\t\t\tflex-grow: 1;\n\n\t\t\twhite-space: pre;\n\t\t}\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tbackground-color: ", ";\n\t\tborder-radius: ", ";\n\t\tmargin: ", " 0 0 0;\n\t\tfont-family: ", ";\n\t\tmin-width: ", "px;\n\t\tcursor: pointer;\n\t\tclear: both;\n\n\t\t.code-block-gutter-pseudo-element::before {\n\t\t\tcontent: attr(data-label);\n\t\t}\n\n\t\t/* This is necessary to allow for arrow key navigation in/out of code blocks in Firefox. */\n\t\twhite-space: normal;\n\n\t\t.", " {\n\t\t\tposition: absolute;\n\t\t\tvisibility: hidden;\n\t\t\theight: 1.5rem;\n\t\t\ttop: 0px;\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t.", " {\n\t\t\tposition: absolute;\n\t\t\tvisibility: hidden;\n\t\t\theight: 1.5rem;\n\t\t\tbottom: 0px;\n\t\t\tright: 0px;\n\t\t}\n\n\t\t.", " {\n\t\t\tposition: relative;\n\t\t\tbackground-color: ", ";\n\t\t\tdisplay: flex;\n\t\t\tborder-radius: ", ";\n\t\t\twidth: 100%;\n\t\t\tcounter-reset: line;\n\t\t\toverflow-x: auto;\n\n\t\t\tbackground-image: ", ";\n\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-attachment: local, local, local, local, scroll, scroll, scroll, scroll;\n\t\t\tbackground-size:\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t1px 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t1px 100%;\n\t\t\tbackground-position:\n\t\t\t\t0 0,\n\t\t\t\t0 0,\n\t\t\t\t100% 0,\n\t\t\t\t100% 0,\n\t\t\t\t100% 0,\n\t\t\t\t100% 0,\n\t\t\t\t0 0,\n\t\t\t\t0 0;\n\n\t\t\t/* Be careful if refactoring this; it is needed to keep arrow key navigation in Firefox consistent with other browsers. */\n\t\t\toverflow-y: hidden;\n\t\t}\n\n\t\t.", " {\n\t\t\tbackground-color: ", ";\n\t\t\tposition: relative;\n\t\t\twidth: var(--lineNumberGutterWidth, 2rem);\n\t\t\tpadding: ", ";\n\t\t\tflex-shrink: 0;\n\t\t\tfont-size: ", ";\n\t\t\tbox-sizing: content-box;\n\t\t}\n\n\t\t/* This is a fix of marker of list item with code block.\n\t\t The list item marker in Chrome is aligned by the baseline of the text,\n\t\t that's why we need to add a text (content: \"1\") to the line number gutter to align\n\t\t the list item marker with the text.\n\t\t Without it, the list item marker will be aligned by the bottom of the code block. */\n\t\t.", "::before {\n\t\t\tcontent: '1';\n\t\t\tvisibility: hidden;\n\t\t\tfont-size: ", ";\n\t\t\tline-height: 1.5rem;\n\t\t}\n\n\t\t.", " {\n\t\t\tcode {\n\t\t\t\ttab-size: 4;\n\t\t\t\tcursor: text;\n\t\t\t\tcolor: ", ";\n\t\t\t\tborder-radius: ", ";\n\t\t\t\tmargin: ", ";\n\t\t\t\tfont-size: ", ";\n\t\t\t\tline-height: 1.5rem;\n\t\t\t}\n\t\t}\n\n\t\t.", " {\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t\twidth: var(--lineNumberGutterWidth, 2rem);\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\tfont-size: ", ";\n\t\t\tpadding: 0px ", ";\n\t\t\tline-height: 1.5rem;\n\t\t\ttext-align: right;\n\t\t\tcolor: ", ";\n\t\t\tbox-sizing: content-box;\n\t\t}\n\t}\n"])), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPED, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-space-100, 8px)", CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, "var(--ds-surface-raised, #FFFFFF)", "var(--ds-
|
|
26
|
+
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", "\n\t\t> .", "\n\t\t> .", " {\n\t\tmargin-right: ", ";\n\n\t\tcode {\n\t\t\tdisplay: block;\n\t\t\tword-break: break-word;\n\t\t\twhite-space: pre-wrap;\n\t\t}\n\t}\n\n\t.", "\n\t\t> .", " {\n\t\tdisplay: flex;\n\t\tflex: 1;\n\n\t\tcode {\n\t\t\tflex-grow: 1;\n\n\t\t\twhite-space: pre;\n\t\t}\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tbackground-color: ", ";\n\t\tborder-radius: ", ";\n\t\tmargin: ", " 0 0 0;\n\t\tfont-family: ", ";\n\t\tmin-width: ", "px;\n\t\tcursor: pointer;\n\t\tclear: both;\n\n\t\t.code-block-gutter-pseudo-element::before {\n\t\t\tcontent: attr(data-label);\n\t\t}\n\n\t\t/* This is necessary to allow for arrow key navigation in/out of code blocks in Firefox. */\n\t\twhite-space: normal;\n\n\t\t.", " {\n\t\t\tposition: absolute;\n\t\t\tvisibility: hidden;\n\t\t\theight: 1.5rem;\n\t\t\ttop: 0px;\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t.", " {\n\t\t\tposition: absolute;\n\t\t\tvisibility: hidden;\n\t\t\theight: 1.5rem;\n\t\t\tbottom: 0px;\n\t\t\tright: 0px;\n\t\t}\n\n\t\t.", " {\n\t\t\tposition: relative;\n\t\t\tbackground-color: ", ";\n\t\t\tdisplay: flex;\n\t\t\tborder-radius: ", ";\n\t\t\twidth: 100%;\n\t\t\tcounter-reset: line;\n\t\t\toverflow-x: auto;\n\n\t\t\tbackground-image: ", ";\n\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-attachment: local, local, local, local, scroll, scroll, scroll, scroll;\n\t\t\tbackground-size:\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t1px 100%,\n\t\t\t\t", " 100%,\n\t\t\t\t1px 100%;\n\t\t\tbackground-position:\n\t\t\t\t0 0,\n\t\t\t\t0 0,\n\t\t\t\t100% 0,\n\t\t\t\t100% 0,\n\t\t\t\t100% 0,\n\t\t\t\t100% 0,\n\t\t\t\t0 0,\n\t\t\t\t0 0;\n\n\t\t\t/* Be careful if refactoring this; it is needed to keep arrow key navigation in Firefox consistent with other browsers. */\n\t\t\toverflow-y: hidden;\n\t\t}\n\n\t\t.", " {\n\t\t\tbackground-color: ", ";\n\t\t\tposition: relative;\n\t\t\twidth: var(--lineNumberGutterWidth, 2rem);\n\t\t\tpadding: ", ";\n\t\t\tflex-shrink: 0;\n\t\t\tfont-size: ", ";\n\t\t\tbox-sizing: content-box;\n\t\t}\n\n\t\t/* This is a fix of marker of list item with code block.\n\t\t The list item marker in Chrome is aligned by the baseline of the text,\n\t\t that's why we need to add a text (content: \"1\") to the line number gutter to align\n\t\t the list item marker with the text.\n\t\t Without it, the list item marker will be aligned by the bottom of the code block. */\n\t\t.", "::before {\n\t\t\tcontent: '1';\n\t\t\tvisibility: hidden;\n\t\t\tfont-size: ", ";\n\t\t\tline-height: 1.5rem;\n\t\t}\n\n\t\t.", " {\n\t\t\tcode {\n\t\t\t\ttab-size: 4;\n\t\t\t\tcursor: text;\n\t\t\t\tcolor: ", ";\n\t\t\t\tborder-radius: ", ";\n\t\t\t\tmargin: ", ";\n\t\t\t\tfont-size: ", ";\n\t\t\t\tline-height: 1.5rem;\n\t\t\t}\n\t\t}\n\n\t\t.", " {\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t\twidth: var(--lineNumberGutterWidth, 2rem);\n\t\t\tleft: 0;\n\t\t\tposition: absolute;\n\t\t\tfont-size: ", ";\n\t\t\tpadding: 0px ", ";\n\t\t\tline-height: 1.5rem;\n\t\t\ttext-align: right;\n\t\t\tcolor: ", ";\n\t\t\tbox-sizing: content-box;\n\t\t}\n\t}\n"])), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPED, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-space-100, 8px)", CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, "var(--ds-surface-raised, #FFFFFF)", "var(--ds-radius-small, 3px)", _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorCodeFontFamily, _editorSharedStyles.akEditorTableCellMinWidth, CodeBlockSharedCssClassName.CODEBLOCK_START, CodeBlockSharedCssClassName.CODEBLOCK_END, CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, "var(--ds-background-neutral, #091E420F)", "var(--ds-radius-small, 3px)", (0, _editorSharedStyles.overflowShadow)({
|
|
27
27
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
28
|
-
}), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-neutral, #091E420F)", "var(--ds-space-100, 8px)", (0, _editorSharedStyles.relativeFontSizeToBase16)(14), CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, (0, _editorSharedStyles.relativeFontSizeToBase16)(14), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-text, #172B4D)", "var(--ds-
|
|
28
|
+
}), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-neutral, #091E420F)", "var(--ds-space-100, 8px)", (0, _editorSharedStyles.relativeFontSizeToBase16)(14), CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, (0, _editorSharedStyles.relativeFontSizeToBase16)(14), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-text, #172B4D)", "var(--ds-radius-small, 3px)", "var(--ds-space-100, 8px)", (0, _editorSharedStyles.relativeFontSizeToBase16)(14), CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET, (0, _editorSharedStyles.relativeFontSizeToBase16)(14), "var(--ds-space-100, 8px)", "var(--ds-text-subtlest, #505F79)");
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -16,7 +16,7 @@ var codeMarkSharedStyles = exports.codeMarkSharedStyles = function codeMarkShare
|
|
|
16
16
|
display: 'inline',
|
|
17
17
|
padding: '2px 0.5ch',
|
|
18
18
|
backgroundColor: "var(--ds--code--bg-color,".concat("var(--ds-background-neutral, #091E420F)", ")"),
|
|
19
|
-
borderRadius: "var(--ds-
|
|
19
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
20
20
|
borderStyle: 'none',
|
|
21
21
|
boxDecorationBreak: 'clone',
|
|
22
22
|
color: "var(--ds-text, #172B4D)",
|
|
@@ -152,7 +152,7 @@ var mainDynamicStyles = function mainDynamicStyles(panelType) {
|
|
|
152
152
|
|
|
153
153
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Safe to autofix with a tiny tweak to `mainDynamicStyles` being an object, but holding off…
|
|
154
154
|
var panelSharedStylesWithoutPrefix = exports.panelSharedStylesWithoutPrefix = function panelSharedStylesWithoutPrefix() {
|
|
155
|
-
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tborder-radius: ", ";\n\tmargin: ", " 0 0;\n\tpadding-top: ", ";\n\tpadding-right: ", ";\n\tpadding-bottom: ", ";\n\tpadding-left: ", ";\n\tmin-width: ", "px;\n\tdisplay: flex;\n\tposition: relative;\n\talign-items: normal;\n\tword-break: break-word;\n\n\t", "\n\n\t.", " {\n\t\tflex-shrink: 0;\n\t\theight: ", ";\n\t\twidth: ", ";\n\t\tbox-sizing: content-box;\n\t\tpadding-right: ", ";\n\t\ttext-align: center;\n\t\tuser-select: none;\n\t\t-moz-user-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t\tmargin-top: 0.1em;\n\n\t\t> span {\n\t\t\tvertical-align: middle;\n\t\t\tdisplay: inline-flex;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\n\t\t\t/* Vertical align only works for inline-block elements in Firefox */\n\t\t\t@-moz-document url-prefix() {\n\t\t\t\timg {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.ak-editor-panel__content {\n\t\tmargin: ", " 0 ", ";\n\t\tflex: 1 0 0;\n\t\t/*\n https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox\n The default value for min-width is auto, which is computed to zero. When an element is a flex item, the value of min-width doesn\u2019t compute to zero. The minimum size of a flex item is equal to the size of its contents.\n */\n\t\tmin-width: 0;\n\t}\n\n\t/* support nested panel */\n\t", "\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t", "\n"])), "var(--ds-
|
|
155
|
+
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tborder-radius: ", ";\n\tmargin: ", " 0 0;\n\tpadding-top: ", ";\n\tpadding-right: ", ";\n\tpadding-bottom: ", ";\n\tpadding-left: ", ";\n\tmin-width: ", "px;\n\tdisplay: flex;\n\tposition: relative;\n\talign-items: normal;\n\tword-break: break-word;\n\n\t", "\n\n\t.", " {\n\t\tflex-shrink: 0;\n\t\theight: ", ";\n\t\twidth: ", ";\n\t\tbox-sizing: content-box;\n\t\tpadding-right: ", ";\n\t\ttext-align: center;\n\t\tuser-select: none;\n\t\t-moz-user-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t\tmargin-top: 0.1em;\n\n\t\t> span {\n\t\t\tvertical-align: middle;\n\t\t\tdisplay: inline-flex;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\n\t\t\t/* Vertical align only works for inline-block elements in Firefox */\n\t\t\t@-moz-document url-prefix() {\n\t\t\t\timg {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.ak-editor-panel__content {\n\t\tmargin: ", " 0 ", ";\n\t\tflex: 1 0 0;\n\t\t/*\n https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox\n The default value for min-width is auto, which is computed to zero. When an element is a flex item, the value of min-width doesn\u2019t compute to zero. The minimum size of a flex item is equal to the size of its contents.\n */\n\t\tmin-width: 0;\n\t}\n\n\t/* support nested panel */\n\t", "\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t", "\n"])), "var(--ds-radius-small, 3px)", _editorSharedStyles.blockNodesVerticalMargin, "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", _editorSharedStyles.akEditorTableCellMinWidth, mainDynamicStyles(_adfSchema.PanelType.INFO), PanelSharedCssClassName.icon, "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", _emoji.emojiSprite, panelEmojiSpriteVerticalAlignment, _emoji.emojiImage, panelEmojiImageVerticalAlignment, "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", (0, _platformFeatureFlags.fg)('platform_editor_add_border_for_nested_panel') ? ".".concat(PanelSharedCssClassName.content, " .").concat(prefix, " {\n\t\t\tborder: 1px solid ", "var(--ds-border, #091E42)", ";\n\t\t}") : '', _adfSchema.PanelType.INFO, getIconStyles(_adfSchema.PanelType.INFO), _adfSchema.PanelType.NOTE, mainDynamicStyles(_adfSchema.PanelType.NOTE), getIconStyles(_adfSchema.PanelType.NOTE), _adfSchema.PanelType.TIP, mainDynamicStyles(_adfSchema.PanelType.TIP), getIconStyles(_adfSchema.PanelType.TIP), _adfSchema.PanelType.WARNING, mainDynamicStyles(_adfSchema.PanelType.WARNING), getIconStyles(_adfSchema.PanelType.WARNING), _adfSchema.PanelType.ERROR, mainDynamicStyles(_adfSchema.PanelType.ERROR), getIconStyles(_adfSchema.PanelType.ERROR), _adfSchema.PanelType.SUCCESS, mainDynamicStyles(_adfSchema.PanelType.SUCCESS), getIconStyles(_adfSchema.PanelType.SUCCESS), (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? "&.".concat(PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t\tpadding-left: ", "var(--ds-space-150, 12px)", ";\n\t\t}") : '');
|
|
156
156
|
};
|
|
157
157
|
var panelSharedStyles = exports.panelSharedStyles = function panelSharedStyles() {
|
|
158
158
|
return (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(PanelSharedCssClassName.prefix), panelSharedStylesWithoutPrefix()));
|
|
@@ -71,7 +71,7 @@ var DropList = /*#__PURE__*/function (_Component) {
|
|
|
71
71
|
return (0, _react2.css)({
|
|
72
72
|
color: "var(--ds-text-subtle, #44546F)",
|
|
73
73
|
backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
|
|
74
|
-
borderRadius: "var(--ds-
|
|
74
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
75
75
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
|
|
76
76
|
boxSizing: 'border-box',
|
|
77
77
|
overflow: 'auto',
|
|
@@ -61,7 +61,7 @@ var linkStyles = (0, _primitives.xcss)({
|
|
|
61
61
|
overflow: 'hidden',
|
|
62
62
|
zIndex: 'card',
|
|
63
63
|
backgroundColor: 'color.background.accent.gray.subtlest',
|
|
64
|
-
borderRadius: "var(--ds-
|
|
64
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
65
65
|
color: 'color.text.subtle',
|
|
66
66
|
textDecoration: 'none',
|
|
67
67
|
whiteSpace: 'nowrap',
|
|
@@ -48,8 +48,8 @@ var mbeExtensionContainer = (0, _react.css)({
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
var mbeNavigation = (0, _react.css)({
|
|
51
|
-
borderTopLeftRadius: "var(--ds-
|
|
52
|
-
borderTopRightRadius: "var(--ds-
|
|
51
|
+
borderTopLeftRadius: "var(--ds-radius-small, 3px)",
|
|
52
|
+
borderTopRightRadius: "var(--ds-radius-small, 3px)",
|
|
53
53
|
userSelect: 'none',
|
|
54
54
|
WebkitUserModify: 'read-only',
|
|
55
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -72,8 +72,8 @@ var extensionFrameContent = (0, _react.css)({
|
|
|
72
72
|
display: 'block',
|
|
73
73
|
minHeight: '100px',
|
|
74
74
|
background: 'transparent',
|
|
75
|
-
borderBottomLeftRadius: "var(--ds-
|
|
76
|
-
borderBottomRightRadius: "var(--ds-
|
|
75
|
+
borderBottomLeftRadius: "var(--ds-radius-small, 3px)",
|
|
76
|
+
borderBottomRightRadius: "var(--ds-radius-small, 3px)",
|
|
77
77
|
marginLeft: "var(--ds-space-100, 8px)",
|
|
78
78
|
marginRight: "var(--ds-space-100, 8px)",
|
|
79
79
|
cursor: 'initial',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
3
3
|
._1wpzesu3{align-self:flex-end}
|
|
4
4
|
._1wybyofp{font-size:var(--_1l2t8t0)}
|
|
5
5
|
._bfhkm7j4{background-color:var(--ds-background-neutral,#091e420f)}
|
|
@@ -16,7 +16,7 @@ var shortcutStyleUnbounded = null;
|
|
|
16
16
|
function Shortcut(_ref) {
|
|
17
17
|
var children = _ref.children;
|
|
18
18
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
19
|
-
className: (0, _runtime.ax)(["
|
|
19
|
+
className: (0, _runtime.ax)(["_2rkofajl _1wpzesu3 _ca0q1b66 _n3td1b66 _19bv1b66 _u5f31b66 _syaz1gjq _bfhkm7j4 _1ggkglyw", "_1wybyofp"]),
|
|
20
20
|
style: {
|
|
21
21
|
"--_1l2t8t0": (0, _runtime.ix)("".concat(11.67 / 16, "rem"))
|
|
22
22
|
}
|
|
@@ -37,7 +37,7 @@ var initialSizeState = {
|
|
|
37
37
|
maxRow: DEFAULT_TABLE_SELECTOR_ROWS
|
|
38
38
|
};
|
|
39
39
|
var tableSelectorPopupWrapperStyles = (0, _react2.css)({
|
|
40
|
-
borderRadius: "var(--ds-
|
|
40
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
41
41
|
backgroundColor: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
|
|
42
42
|
boxShadow: "var(--ds-shadow-overlay, ".concat("0 0 0 1px ".concat(_colors.N30A, ", 0 2px 1px ").concat(_colors.N30A, ", 0 0 20px -6px ").concat(_colors.N60A), ")"),
|
|
43
43
|
padding: "".concat("var(--ds-space-100, ".concat("".concat(TABLE_SELECTOR_PADDING_TOP, "px"), ")"), " ", TABLE_SELECTOR_PADDING_SIDE, "px")
|
|
@@ -28,7 +28,7 @@ var blockNodeStyle = (0, _react2.css)({
|
|
|
28
28
|
background: "var(--ds-background-disabled, #091E4208)",
|
|
29
29
|
border: "1px dashed ".concat("var(--ds-border-disabled, #091E420F)"),
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
31
|
-
borderRadius: "var(--ds-
|
|
31
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
32
32
|
boxSizing: 'border-box',
|
|
33
33
|
cursor: 'default',
|
|
34
34
|
display: 'flex',
|
|
@@ -29,7 +29,7 @@ var inlineNodeStyle = (0, _react2.css)({
|
|
|
29
29
|
background: "var(--ds-background-disabled, #091E4208)",
|
|
30
30
|
border: "1px dashed ".concat("var(--ds-border-disabled, #091E420F)"),
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
32
|
-
borderRadius: "var(--ds-
|
|
32
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
33
33
|
boxSizing: 'border-box',
|
|
34
34
|
cursor: 'default',
|
|
35
35
|
display: 'inline-flex',
|
|
@@ -67,7 +67,7 @@ var colorPickerButtonStyle = (0, _react2.css)({
|
|
|
67
67
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
68
68
|
var colorPickerWrapper = function colorPickerWrapper() {
|
|
69
69
|
return (0, _react2.css)({
|
|
70
|
-
borderRadius: "var(--ds-
|
|
70
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
71
71
|
backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
|
|
72
72
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
|
|
73
73
|
padding: "var(--ds-space-100, 8px)".concat(" 0px")
|
|
@@ -221,7 +221,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
221
221
|
content: "''",
|
|
222
222
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
223
223
|
border: "1px solid ".concat(_uiColor.DEFAULT_BORDER_COLOR),
|
|
224
|
-
borderRadius: "var(--ds-
|
|
224
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
225
225
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
226
226
|
backgroundColor: currentColor || 'transparent',
|
|
227
227
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -250,7 +250,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
250
250
|
content: "''",
|
|
251
251
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
252
252
|
border: "1px solid ".concat(_uiColor.DEFAULT_BORDER_COLOR),
|
|
253
|
-
borderRadius: "var(--ds-
|
|
253
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
254
254
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
255
255
|
backgroundColor: currentColor || 'transparent',
|
|
256
256
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -36,7 +36,7 @@ export const itemIcon = css({
|
|
|
36
36
|
overflow: 'hidden',
|
|
37
37
|
border: `1px solid ${"var(--ds-border, rgba(223, 225, 229, 0.5))"}`,
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
39
|
-
borderRadius: "var(--ds-
|
|
39
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
40
40
|
boxSizing: 'border-box',
|
|
41
41
|
display: 'flex',
|
|
42
42
|
justifyContent: 'center',
|
|
@@ -29,7 +29,7 @@ const wrapperStyleWithoutCursor = css(wrapperDefault, {
|
|
|
29
29
|
},
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
31
31
|
'&.legacy-content': {
|
|
32
|
-
borderRadius: `0 0 ${"var(--ds-
|
|
32
|
+
borderRadius: `0 0 ${"var(--ds-radius-small, 3px)"} ${"var(--ds-radius-small, 3px)"}`
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -64,7 +64,7 @@ export const content = css({
|
|
|
64
64
|
padding: "var(--ds-space-100, 8px)",
|
|
65
65
|
background: "var(--ds-surface, white)",
|
|
66
66
|
border: `1px solid ${"var(--ds-border, #091E4224)"}`,
|
|
67
|
-
borderRadius: "var(--ds-
|
|
67
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
68
68
|
cursor: 'initial',
|
|
69
69
|
width: '100%',
|
|
70
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -84,7 +84,7 @@ export const extensionContent = css({
|
|
|
84
84
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
85
85
|
background: "var(--ds-surface, white)",
|
|
86
86
|
border: `1px solid ${"var(--ds-border, #091E4224)"}`,
|
|
87
|
-
borderRadius: "var(--ds-
|
|
87
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
88
88
|
cursor: 'initial',
|
|
89
89
|
width: '100%',
|
|
90
90
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -9,7 +9,7 @@ export const wrapperStyle = css(wrapperDefault, {
|
|
|
9
9
|
margin: `1px 1px ${"var(--ds-space-050, 4px)"}`,
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
11
11
|
'> img': {
|
|
12
|
-
borderRadius: "var(--ds-
|
|
12
|
+
borderRadius: "var(--ds-radius-small, 3px)"
|
|
13
13
|
},
|
|
14
14
|
'&::after, &::before': {
|
|
15
15
|
verticalAlign: 'text-top',
|
|
@@ -32,7 +32,7 @@ const i18n = defineMessages({
|
|
|
32
32
|
const lcmHeaderStyles = css({
|
|
33
33
|
padding: `0 ${"var(--ds-space-200, 16px)"} ${"var(--ds-space-050, 4px)"} ${"var(--ds-space-200, 16px)"}`,
|
|
34
34
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
35
|
-
borderRadius: `${"var(--ds-
|
|
35
|
+
borderRadius: `${"var(--ds-radius-small, 4px)"} ${"var(--ds-radius-small, 4px)"} 0 0`,
|
|
36
36
|
boxShadow: `0 0 0 1px ${"var(--ds-background-neutral, #0515240F)"}`,
|
|
37
37
|
position: 'relative',
|
|
38
38
|
top: `-1px`,
|
|
@@ -30,7 +30,7 @@ const buttonStyles = css({
|
|
|
30
30
|
cursor: 'pointer',
|
|
31
31
|
boxShadow: `0 0 0 1px ${"var(--ds-border, #091E4224)"}`,
|
|
32
32
|
minHeight: "var(--ds-space-300, 24px)",
|
|
33
|
-
borderRadius: "var(--ds-
|
|
33
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
34
34
|
paddingLeft: "var(--ds-space-150, 12px)",
|
|
35
35
|
paddingRight: "var(--ds-space-150, 12px)",
|
|
36
36
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -58,7 +58,7 @@ const labelStyles = css({
|
|
|
58
58
|
},
|
|
59
59
|
minHeight: "var(--ds-space-300, 24px)",
|
|
60
60
|
alignItems: 'center',
|
|
61
|
-
borderRadius: "var(--ds-
|
|
61
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
62
62
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
63
63
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
64
64
|
color: "var(--ds-text-subtle, #44546F)",
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
4
|
export const wrapperDefault = css({
|
|
5
5
|
background: "var(--ds-background-neutral, #091E420F)",
|
|
6
|
-
borderRadius: "var(--ds-
|
|
6
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
7
7
|
position: 'relative',
|
|
8
8
|
verticalAlign: 'middle',
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -22,7 +22,7 @@ export const wrapperDefault = css({
|
|
|
22
22
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
24
24
|
export const overlay = css({
|
|
25
|
-
borderRadius: "var(--ds-
|
|
25
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
26
26
|
position: 'absolute',
|
|
27
27
|
width: '100%',
|
|
28
28
|
height: '100%',
|
|
@@ -44,7 +44,7 @@ export const mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
|
44
44
|
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
46
46
|
export const overlayStyles = css({
|
|
47
|
-
borderRadius: "var(--ds-
|
|
47
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
48
48
|
position: 'absolute',
|
|
49
49
|
width: '100%',
|
|
50
50
|
height: '100%',
|
|
@@ -22,7 +22,7 @@ const buttonWrapperStyles = css({
|
|
|
22
22
|
top: '50%',
|
|
23
23
|
transform: 'translateY(-50%)',
|
|
24
24
|
background: "var(--ds-surface-raised, #FFFFFF)",
|
|
25
|
-
borderRadius: "var(--ds-
|
|
25
|
+
borderRadius: "var(--ds-radius-small, 3px)"
|
|
26
26
|
});
|
|
27
27
|
const showDropdownThresholdPx = 50;
|
|
28
28
|
export const OverlayButton = withAnalyticsContext()(({
|
|
@@ -67,7 +67,7 @@ export const wrapperStyle = css({
|
|
|
67
67
|
alignItems: 'center',
|
|
68
68
|
verticalAlign: 'middle',
|
|
69
69
|
overflow: 'hidden',
|
|
70
|
-
borderRadius: `${"var(--ds-
|
|
70
|
+
borderRadius: `${"var(--ds-radius-small, 3px)"}`,
|
|
71
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
72
72
|
aspectRatio: `var(${INLINE_IMAGE_ASPECT_RATIO_CSS_VAR_KEY}, ${DEFAULT_INLINE_IMAGE_ASPECT_RATIO})`,
|
|
73
73
|
maxWidth: '100%'
|
|
@@ -8,7 +8,7 @@ export const wrapperStyle = css({
|
|
|
8
8
|
alignItems: 'center',
|
|
9
9
|
justifyContent: 'center',
|
|
10
10
|
boxDecorationBreak: 'clone',
|
|
11
|
-
borderRadius: `${"var(--ds-
|
|
11
|
+
borderRadius: `${"var(--ds-radius-small, 3px)"}`,
|
|
12
12
|
color: `${"var(--ds-text, #172B4D)"}`,
|
|
13
13
|
backgroundColor: `${"var(--ds-background-neutral, #091E420F)"}`,
|
|
14
14
|
transition: '0.1s all ease-in-out',
|
|
@@ -7,7 +7,7 @@ import { Pressable, xcss } from '@atlaskit/primitives';
|
|
|
7
7
|
import Tooltip from '@atlaskit/tooltip';
|
|
8
8
|
import { commentMessages as messages } from '../media';
|
|
9
9
|
const baseStyles = xcss({
|
|
10
|
-
borderRadius: '
|
|
10
|
+
borderRadius: 'radius.small'
|
|
11
11
|
});
|
|
12
12
|
const mediumBadgeStyles = xcss({
|
|
13
13
|
height: 'space.300',
|
|
@@ -6,7 +6,7 @@ import { Box, xcss } from '@atlaskit/primitives';
|
|
|
6
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
7
7
|
import { externalMediaMessages } from '../media';
|
|
8
8
|
const baseStyles = xcss({
|
|
9
|
-
borderRadius: '
|
|
9
|
+
borderRadius: 'radius.small',
|
|
10
10
|
backgroundColor: 'elevation.surface',
|
|
11
11
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
12
12
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
@@ -8,7 +8,7 @@ const fullWidthLabelWrapperStyles = xcss({
|
|
|
8
8
|
height: "var(--ds-space-400, 32px)",
|
|
9
9
|
display: 'flex',
|
|
10
10
|
backgroundColor: 'elevation.surface.overlay',
|
|
11
|
-
borderRadius: '
|
|
11
|
+
borderRadius: 'radius.small',
|
|
12
12
|
boxShadow: 'elevation.shadow.overlay',
|
|
13
13
|
boxSizing: 'border-box',
|
|
14
14
|
alignItems: 'center'
|
|
@@ -41,7 +41,7 @@ export const codeBlockSharedStyles = () => css`
|
|
|
41
41
|
.${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER} {
|
|
42
42
|
position: relative;
|
|
43
43
|
background-color: ${"var(--ds-surface-raised, #FFFFFF)"};
|
|
44
|
-
border-radius: ${"var(--ds-
|
|
44
|
+
border-radius: ${"var(--ds-radius-small, 3px)"};
|
|
45
45
|
margin: ${blockNodesVerticalMargin} 0 0 0;
|
|
46
46
|
font-family: ${akEditorCodeFontFamily};
|
|
47
47
|
min-width: ${akEditorTableCellMinWidth}px;
|
|
@@ -75,7 +75,7 @@ export const codeBlockSharedStyles = () => css`
|
|
|
75
75
|
position: relative;
|
|
76
76
|
background-color: ${"var(--ds-background-neutral, #091E420F)"};
|
|
77
77
|
display: flex;
|
|
78
|
-
border-radius: ${"var(--ds-
|
|
78
|
+
border-radius: ${"var(--ds-radius-small, 3px)"};
|
|
79
79
|
width: 100%;
|
|
80
80
|
counter-reset: line;
|
|
81
81
|
overflow-x: auto;
|
|
@@ -136,7 +136,7 @@ export const codeBlockSharedStyles = () => css`
|
|
|
136
136
|
tab-size: 4;
|
|
137
137
|
cursor: text;
|
|
138
138
|
color: ${"var(--ds-text, #172B4D)"};
|
|
139
|
-
border-radius: ${"var(--ds-
|
|
139
|
+
border-radius: ${"var(--ds-radius-small, 3px)"};
|
|
140
140
|
margin: ${"var(--ds-space-100, 8px)"};
|
|
141
141
|
font-size: ${relativeFontSizeToBase16(14)};
|
|
142
142
|
line-height: 1.5rem;
|
|
@@ -9,7 +9,7 @@ export const codeMarkSharedStyles = () => {
|
|
|
9
9
|
display: 'inline',
|
|
10
10
|
padding: '2px 0.5ch',
|
|
11
11
|
backgroundColor: `var(--ds--code--bg-color,${"var(--ds-background-neutral, #091E420F)"})`,
|
|
12
|
-
borderRadius: "var(--ds-
|
|
12
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
13
13
|
borderStyle: 'none',
|
|
14
14
|
boxDecorationBreak: 'clone',
|
|
15
15
|
color: "var(--ds-text, #172B4D)",
|