@atlaskit/editor-common 108.0.2 → 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 +20 -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/monitoring/error.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/toolbar/index.js +6 -0
- package/dist/cjs/toolbar/keys.js +11 -3
- package/dist/cjs/toolbar/rank.js +1 -1
- package/dist/cjs/ui/DropList/index.js +2 -2
- 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/monitoring/error.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/toolbar/index.js +1 -1
- package/dist/es2019/toolbar/keys.js +9 -1
- package/dist/es2019/toolbar/rank.js +3 -2
- package/dist/es2019/ui/DropList/index.js +2 -2
- 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/monitoring/error.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/toolbar/index.js +1 -1
- package/dist/esm/toolbar/keys.js +9 -1
- package/dist/esm/toolbar/rank.js +2 -2
- package/dist/esm/ui/DropList/index.js +2 -2
- 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/dist/types/toolbar/index.d.ts +1 -1
- package/dist/types/toolbar/keys.d.ts +8 -1
- package/dist/types/toolbar/rank.d.ts +1 -0
- package/dist/types-ts4.5/toolbar/index.d.ts +1 -1
- package/dist/types-ts4.5/toolbar/keys.d.ts +8 -1
- package/dist/types-ts4.5/toolbar/rank.d.ts +1 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
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
|
+
|
|
11
|
+
## 108.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`50976babce55d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50976babce55d) -
|
|
16
|
+
Add new 'onClick' to dropdown menu, hook up new toolbar api to regsiter components on selection
|
|
17
|
+
change, add new safeRegistry method to replace existing objects
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 108.0.2
|
|
4
24
|
|
|
5
25
|
### Patch 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)",
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "
|
|
19
|
+
var packageVersion = "0.0.0-development";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -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()));
|
|
@@ -675,6 +675,12 @@ Object.defineProperty(exports, "ROVO_PROMPT_MENU_SECTION_RANK", {
|
|
|
675
675
|
return _rank.ROVO_PROMPT_MENU_SECTION_RANK;
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
|
+
Object.defineProperty(exports, "SELECTION_EXTENSION_MENU_SECTION", {
|
|
679
|
+
enumerable: true,
|
|
680
|
+
get: function get() {
|
|
681
|
+
return _keys.SELECTION_EXTENSION_MENU_SECTION;
|
|
682
|
+
}
|
|
683
|
+
});
|
|
678
684
|
Object.defineProperty(exports, "SPELLING_AND_GRAMMAR_MENU_ITEM", {
|
|
679
685
|
enumerable: true,
|
|
680
686
|
get: function get() {
|
package/dist/cjs/toolbar/keys.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
exports.UNDO_CHANGES_GROUP = exports.UNDO_BUTTON = exports.UNDERLINE_MENU_ITEM = exports.TRANSLATE_NESTED_MENU = exports.TRANSLATE_MENU_SECTION = exports.TRACK_CHANGES_SECTION = exports.TRACK_CHANGES_GROUP = exports.TRACK_CHANGES_BUTTON = exports.TOOLBARS = void 0;
|
|
6
|
+
exports.TEXT_STYLES_MENU = exports.TEXT_STYLES_GROUP = exports.TEXT_SECTION_COLLAPSED = exports.TEXT_SECTION = exports.TEXT_FORMATTING_MENU_SECTION = exports.TEXT_FORMATTING_MENU = exports.TEXT_FORMATTING_HERO_BUTTON = exports.TEXT_FORMATTING_GROUP = exports.TEXT_COLOR_MENU_ITEM = exports.TEXT_COLOR_HIGHLIGHT_MENU_SECTION = exports.TEXT_COLOR_HIGHLIGHT_MENU = exports.TEXT_COLOR_HIGHLIGHT_GROUP = exports.TEXT_COLLAPSED_MENU = exports.TEXT_COLLAPSED_GROUP = exports.TASK_LIST_MENU_ITEM = exports.TASK_LIST_GROUP = exports.TASK_LIST_BUTTON = exports.TABLE_SIZE_PICKER = exports.TABLE_GROUP = exports.TABLE_BUTTON = exports.SUPERSCRIPT_MENU_ITEM = exports.SUBSCRIPT_MENU_ITEM = exports.STRIKE_MENU_ITEM = exports.SPELLING_AND_GRAMMAR_MENU_ITEM = exports.SELECTION_EXTENSION_MENU_SECTION = exports.ROVO_PROMPT_MENU_SECTION = exports.ROVO_MENU = exports.ROVO_HERO_BUTTON = exports.ROVO_GROUP = exports.REDO_CHANGES_GROUP = exports.REDO_BUTTON = exports.PIN_SECTION = exports.PIN_MENU_SECTION = exports.PIN_MENU_ITEM = exports.PIN_GROUP = exports.PIN_BUTTON = exports.OVERFLOW_SECTION_PRIMARY_TOOLBAR = exports.OVERFLOW_SECTION = exports.OVERFLOW_MENU_PRIMARY_TOOLBAR = exports.OVERFLOW_MENU = exports.OVERFLOW_GROUP_PRIMARY_TOOLBAR = exports.OVERFLOW_GROUP = exports.OUTDENT_MENU_ITEM = exports.NUMBERED_LIST_MENU_ITEM = exports.NORMAL_TEXT_MENU_ITEM = exports.MORE_PROFESSIONAL_MENU_ITEM = exports.MORE_EMPATHETIC_MENU_ITEM = exports.MORE_CASUAL_MENU_ITEM = exports.MENTION_GROUP = exports.MENTION_BUTTON = exports.MEDIA_GROUP = exports.MEDIA_BUTTON = exports.MAKE_SHORTER_MENU_ITEM = exports.MAKE_LONGER_MENU_ITEM = exports.LOOM_MENU_SECTION = exports.LOOM_MENU_ITEM = exports.LISTS_INDENTATION_MENU_SECTION = exports.LISTS_INDENTATION_MENU = exports.LISTS_INDENTATION_HERO_BUTTON = exports.LISTS_INDENTATION_GROUP = exports.LINKING_SECTION = exports.LINKING_GROUP = exports.LINKING_BUTTON = exports.LAYOUT_GROUP = exports.LAYOUT_BUTTON = exports.ITALIC_MENU_ITEM = exports.INSERT_GROUP = exports.INSERT_BUTTON = exports.INSERT_BLOCK_SECTION = exports.INDENT_MENU_ITEM = exports.IMPROVE_WRITING_GROUP = exports.IMPROVE_WRITING_BUTTON = exports.HIGHLIGHT_MENU_ITEM = exports.HEADING_6_MENU_ITEM = exports.HEADING_5_MENU_ITEM = exports.HEADING_4_MENU_ITEM = exports.HEADING_3_MENU_ITEM = exports.HEADING_2_MENU_ITEM = exports.HEADING_1_MENU_ITEM = exports.EMOJI_GROUP = exports.EMOJI_BUTTON = exports.COMMENT_HERO_BUTTON = exports.COMMENT_GROUP = exports.COLLAB_SECTION = exports.CODE_MENU_ITEM = exports.CLEAR_FORMATTING_MENU_ITEM = exports.CLEAR_FORMARTTING_MENU_SECTION = exports.CHANGE_TONE_NESTED_MENU = exports.CHANGE_TONE_MENU_SECTION = exports.BULLETED_LIST_MENU_ITEM = exports.BOLD_MENU_ITEM = exports.BLOCK_QUOTE_MENU_ITEM = exports.APPS_SECTION = exports.ALIGN_RIGHT_MENU_ITEM = exports.ALIGN_LEFT_MENU_ITEM = exports.ALIGN_CENTER_MENU_ITEM = exports.ALIGNMENT_MENU_SECTION = exports.ALIGNMENT_MENU = exports.ALIGNMENT_GROUP = exports.AI_SECTION = void 0;
|
|
7
|
+
exports.UNDO_CHANGES_GROUP = exports.UNDO_BUTTON = exports.UNDERLINE_MENU_ITEM = exports.TRANSLATE_NESTED_MENU = exports.TRANSLATE_MENU_SECTION = exports.TRACK_CHANGES_SECTION = exports.TRACK_CHANGES_GROUP = exports.TRACK_CHANGES_BUTTON = exports.TOOLBARS = exports.TEXT_STYLES_MENU_SECTION = void 0;
|
|
8
8
|
var TOOLBARS = exports.TOOLBARS = {
|
|
9
9
|
INLINE_TEXT_TOOLBAR: 'inline-text-toolbar',
|
|
10
10
|
PRIMARY_TOOLBAR: 'primary-toolbar'
|
|
@@ -449,7 +449,7 @@ var TRACK_CHANGES_BUTTON = exports.TRACK_CHANGES_BUTTON = {
|
|
|
449
449
|
};
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
|
-
* Overflow section
|
|
452
|
+
* Overflow section
|
|
453
453
|
*/
|
|
454
454
|
|
|
455
455
|
var OVERFLOW_SECTION = exports.OVERFLOW_SECTION = {
|
|
@@ -516,4 +516,12 @@ var LOOM_MENU_SECTION = exports.LOOM_MENU_SECTION = {
|
|
|
516
516
|
var LOOM_MENU_ITEM = exports.LOOM_MENU_ITEM = {
|
|
517
517
|
key: 'loom-menu-item',
|
|
518
518
|
type: 'menu-item'
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Selection extensions
|
|
523
|
+
*/
|
|
524
|
+
var SELECTION_EXTENSION_MENU_SECTION = exports.SELECTION_EXTENSION_MENU_SECTION = {
|
|
525
|
+
key: 'selection-extension-menu-section',
|
|
526
|
+
type: 'menu-section'
|
|
519
527
|
};
|
package/dist/cjs/toolbar/rank.js
CHANGED
|
@@ -108,7 +108,7 @@ var TRACK_CHANGES_GROUP_RANK_NEW = exports.TRACK_CHANGES_GROUP_RANK_NEW = (0, _d
|
|
|
108
108
|
*/
|
|
109
109
|
var OVERFLOW_SECTION_RANK = exports.OVERFLOW_SECTION_RANK = (0, _defineProperty2.default)({}, _keys.OVERFLOW_GROUP.key, 100);
|
|
110
110
|
var OVERFLOW_GROUP_RANK = exports.OVERFLOW_GROUP_RANK = (0, _defineProperty2.default)({}, _keys.OVERFLOW_MENU.key, 100);
|
|
111
|
-
var OVERFLOW_MENU_RANK = exports.OVERFLOW_MENU_RANK = (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _keys.PIN_MENU_SECTION.key, 100), _keys.LOOM_MENU_SECTION.key, 200);
|
|
111
|
+
var OVERFLOW_MENU_RANK = exports.OVERFLOW_MENU_RANK = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _keys.PIN_MENU_SECTION.key, 100), _keys.LOOM_MENU_SECTION.key, 200), _keys.SELECTION_EXTENSION_MENU_SECTION.key, 300);
|
|
112
112
|
var PIN_MENU_SECTION_RANK = exports.PIN_MENU_SECTION_RANK = (0, _defineProperty2.default)({}, _keys.PIN_MENU_ITEM.key, 100);
|
|
113
113
|
|
|
114
114
|
/**
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "
|
|
27
|
+
var packageVersion = "0.0.0-development";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -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%',
|