@atlaskit/editor-common 102.15.1 → 102.16.0
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 +22 -0
- package/dist/cjs/emoji/index.js +8 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/annotation.js +64 -30
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/emoji/index.js +2 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/annotation.js +64 -30
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/emoji/index.js +2 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/annotation.js +64 -30
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/emoji/index.d.ts +1 -0
- package/dist/types/extensions/types/extension-manifest.d.ts +5 -0
- package/dist/types/extensions.d.ts +1 -1
- package/dist/types-ts4.5/emoji/index.d.ts +1 -0
- package/dist/types-ts4.5/extensions/types/extension-manifest.d.ts +5 -0
- package/dist/types-ts4.5/extensions.d.ts +1 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 102.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#133547](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133547)
|
|
8
|
+
[`d13f959c13041`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d13f959c13041) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/ED-27374](ED-27374) - rewrite editor-emoji-plugin in
|
|
10
|
+
vanilla JS
|
|
11
|
+
- [#133705](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133705)
|
|
12
|
+
[`a78567c4a63e2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a78567c4a63e2) -
|
|
13
|
+
Reduced the shadows for inline comments
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 102.15.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 102.15.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/cjs/emoji/index.js
CHANGED
|
@@ -16,6 +16,12 @@ Object.defineProperty(exports, "EmojiSharedCssClassName", {
|
|
|
16
16
|
return _emoji.EmojiSharedCssClassName;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
+
Object.defineProperty(exports, "defaultEmojiHeight", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _emoji2.defaultEmojiHeight;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
19
25
|
Object.defineProperty(exports, "messages", {
|
|
20
26
|
enumerable: true,
|
|
21
27
|
get: function get() {
|
|
@@ -24,4 +30,5 @@ Object.defineProperty(exports, "messages", {
|
|
|
24
30
|
});
|
|
25
31
|
var _Emoji = _interopRequireDefault(require("../ui/Emoji"));
|
|
26
32
|
var _emoji = require("../styles/shared/emoji");
|
|
27
|
-
var _messages = require("./messages");
|
|
33
|
+
var _messages = require("./messages");
|
|
34
|
+
var _emoji2 = require("@atlaskit/emoji");
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "102.
|
|
20
|
+
var packageVersion = "102.16.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -29,37 +29,71 @@ var AnnotationSharedCSSByState = exports.AnnotationSharedCSSByState = function A
|
|
|
29
29
|
// in a different way. For example in renderer the focus styles are an
|
|
30
30
|
// override, not a separate class. Be sure to check both usages of this
|
|
31
31
|
// before modifying.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
if ((0, _platformFeatureFlags.fg)('inline_comment_shadow_update')) {
|
|
33
|
+
return {
|
|
34
|
+
common: {
|
|
35
|
+
borderBottom: '2px solid transparent',
|
|
36
|
+
cursor: 'pointer',
|
|
37
|
+
padding: '1px 0 2px',
|
|
38
|
+
'&:has(.card), &:has([data-inline-card])': (0, _platformFeatureFlags.fg)('annotations_align_editor_and_renderer_styles') ? {
|
|
39
|
+
padding: '5px 0 3px 0'
|
|
40
|
+
} : {
|
|
41
|
+
paddingTop: '4px',
|
|
42
|
+
border: 'none',
|
|
43
|
+
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
44
|
+
},
|
|
45
|
+
'&:has(.date-lozenger-container)': {
|
|
46
|
+
paddingTop: '2px'
|
|
47
|
+
}
|
|
43
48
|
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
focus: (0, _react.css)({
|
|
50
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
51
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
52
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
53
|
+
}),
|
|
54
|
+
blur: (0, _react.css)({
|
|
55
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
56
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
57
|
+
}),
|
|
58
|
+
hover: (0, _react.css)({
|
|
59
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
60
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
61
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
62
|
+
})
|
|
63
|
+
};
|
|
64
|
+
} else {
|
|
65
|
+
return {
|
|
66
|
+
common: {
|
|
67
|
+
borderBottom: '2px solid transparent',
|
|
68
|
+
cursor: 'pointer',
|
|
69
|
+
padding: '1px 0 2px',
|
|
70
|
+
'&:has(.card), &:has([data-inline-card])': (0, _platformFeatureFlags.fg)('annotations_align_editor_and_renderer_styles') ? {
|
|
71
|
+
padding: '5px 0 3px 0'
|
|
72
|
+
} : {
|
|
73
|
+
paddingTop: '4px',
|
|
74
|
+
border: 'none',
|
|
75
|
+
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
76
|
+
},
|
|
77
|
+
'&:has(.date-lozenger-container)': {
|
|
78
|
+
paddingTop: '2px'
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
focus: (0, _react.css)({
|
|
82
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
83
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
84
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
85
|
+
}),
|
|
86
|
+
blur: (0, _react.css)({
|
|
87
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
88
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
89
|
+
}),
|
|
90
|
+
hover: (0, _react.css)({
|
|
91
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
92
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
93
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
94
|
+
})
|
|
95
|
+
};
|
|
96
|
+
}
|
|
63
97
|
} else {
|
|
64
98
|
return {
|
|
65
99
|
focus: (0, _react.css)({
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "102.
|
|
26
|
+
var packageVersion = "102.16.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "102.
|
|
4
|
+
const packageVersion = "102.16.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -21,37 +21,71 @@ export const AnnotationSharedCSSByState = () => {
|
|
|
21
21
|
// in a different way. For example in renderer the focus styles are an
|
|
22
22
|
// override, not a separate class. Be sure to check both usages of this
|
|
23
23
|
// before modifying.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
if (fg('inline_comment_shadow_update')) {
|
|
25
|
+
return {
|
|
26
|
+
common: {
|
|
27
|
+
borderBottom: '2px solid transparent',
|
|
28
|
+
cursor: 'pointer',
|
|
29
|
+
padding: '1px 0 2px',
|
|
30
|
+
'&:has(.card), &:has([data-inline-card])': fg('annotations_align_editor_and_renderer_styles') ? {
|
|
31
|
+
padding: '5px 0 3px 0'
|
|
32
|
+
} : {
|
|
33
|
+
paddingTop: '4px',
|
|
34
|
+
border: 'none',
|
|
35
|
+
boxShadow: `0 2px 0 0 ${"var(--ds-border-accent-yellow, #B38600)"}`
|
|
36
|
+
},
|
|
37
|
+
'&:has(.date-lozenger-container)': {
|
|
38
|
+
paddingTop: '2px'
|
|
39
|
+
}
|
|
35
40
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
focus: css({
|
|
42
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
43
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
44
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
45
|
+
}),
|
|
46
|
+
blur: css({
|
|
47
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
48
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
49
|
+
}),
|
|
50
|
+
hover: css({
|
|
51
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
52
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
53
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
54
|
+
})
|
|
55
|
+
};
|
|
56
|
+
} else {
|
|
57
|
+
return {
|
|
58
|
+
common: {
|
|
59
|
+
borderBottom: '2px solid transparent',
|
|
60
|
+
cursor: 'pointer',
|
|
61
|
+
padding: '1px 0 2px',
|
|
62
|
+
'&:has(.card), &:has([data-inline-card])': fg('annotations_align_editor_and_renderer_styles') ? {
|
|
63
|
+
padding: '5px 0 3px 0'
|
|
64
|
+
} : {
|
|
65
|
+
paddingTop: '4px',
|
|
66
|
+
border: 'none',
|
|
67
|
+
boxShadow: `0 2px 0 0 ${"var(--ds-border-accent-yellow, #B38600)"}`
|
|
68
|
+
},
|
|
69
|
+
'&:has(.date-lozenger-container)': {
|
|
70
|
+
paddingTop: '2px'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
focus: css({
|
|
74
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
75
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
76
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
77
|
+
}),
|
|
78
|
+
blur: css({
|
|
79
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
80
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
81
|
+
}),
|
|
82
|
+
hover: css({
|
|
83
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
84
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
85
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
86
|
+
})
|
|
87
|
+
};
|
|
88
|
+
}
|
|
55
89
|
} else {
|
|
56
90
|
return {
|
|
57
91
|
focus: css({
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "102.
|
|
16
|
+
const packageVersion = "102.16.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
package/dist/esm/emoji/index.js
CHANGED
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "102.
|
|
10
|
+
var packageVersion = "102.16.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -23,37 +23,71 @@ export var AnnotationSharedCSSByState = function AnnotationSharedCSSByState() {
|
|
|
23
23
|
// in a different way. For example in renderer the focus styles are an
|
|
24
24
|
// override, not a separate class. Be sure to check both usages of this
|
|
25
25
|
// before modifying.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
if (fg('inline_comment_shadow_update')) {
|
|
27
|
+
return {
|
|
28
|
+
common: {
|
|
29
|
+
borderBottom: '2px solid transparent',
|
|
30
|
+
cursor: 'pointer',
|
|
31
|
+
padding: '1px 0 2px',
|
|
32
|
+
'&:has(.card), &:has([data-inline-card])': fg('annotations_align_editor_and_renderer_styles') ? {
|
|
33
|
+
padding: '5px 0 3px 0'
|
|
34
|
+
} : {
|
|
35
|
+
paddingTop: '4px',
|
|
36
|
+
border: 'none',
|
|
37
|
+
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
38
|
+
},
|
|
39
|
+
'&:has(.date-lozenger-container)': {
|
|
40
|
+
paddingTop: '2px'
|
|
41
|
+
}
|
|
37
42
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
43
|
+
focus: css({
|
|
44
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
45
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
46
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
47
|
+
}),
|
|
48
|
+
blur: css({
|
|
49
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
50
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
51
|
+
}),
|
|
52
|
+
hover: css({
|
|
53
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
54
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
55
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
56
|
+
})
|
|
57
|
+
};
|
|
58
|
+
} else {
|
|
59
|
+
return {
|
|
60
|
+
common: {
|
|
61
|
+
borderBottom: '2px solid transparent',
|
|
62
|
+
cursor: 'pointer',
|
|
63
|
+
padding: '1px 0 2px',
|
|
64
|
+
'&:has(.card), &:has([data-inline-card])': fg('annotations_align_editor_and_renderer_styles') ? {
|
|
65
|
+
padding: '5px 0 3px 0'
|
|
66
|
+
} : {
|
|
67
|
+
paddingTop: '4px',
|
|
68
|
+
border: 'none',
|
|
69
|
+
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
70
|
+
},
|
|
71
|
+
'&:has(.date-lozenger-container)': {
|
|
72
|
+
paddingTop: '2px'
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
focus: css({
|
|
76
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
77
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
78
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
79
|
+
}),
|
|
80
|
+
blur: css({
|
|
81
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
82
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
83
|
+
}),
|
|
84
|
+
hover: css({
|
|
85
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
86
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
87
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
88
|
+
})
|
|
89
|
+
};
|
|
90
|
+
}
|
|
57
91
|
} else {
|
|
58
92
|
return {
|
|
59
93
|
focus: css({
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "102.
|
|
23
|
+
var packageVersion = "102.16.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -86,12 +86,17 @@ export type ExtensionModuleType<T extends Parameters = Parameters> = Exclude<key
|
|
|
86
86
|
type AutoConvertMatches = {
|
|
87
87
|
pattern: string;
|
|
88
88
|
};
|
|
89
|
+
export type ExtensionDeprecationStatus = {
|
|
90
|
+
isDeprecated: boolean;
|
|
91
|
+
message?: string | React.ReactNode;
|
|
92
|
+
};
|
|
89
93
|
export type ExtensionManifest<T extends Parameters = Parameters> = {
|
|
90
94
|
type: ExtensionType;
|
|
91
95
|
key: ExtensionKey;
|
|
92
96
|
title: string;
|
|
93
97
|
description?: string;
|
|
94
98
|
summary?: string;
|
|
99
|
+
deprecation?: ExtensionDeprecationStatus;
|
|
95
100
|
categories?: string[];
|
|
96
101
|
keywords?: string[];
|
|
97
102
|
documentationUrl?: string;
|
|
@@ -7,7 +7,7 @@ export { getExtensionModuleNode, getNodeRenderer, getExtensionModuleNodePrivateP
|
|
|
7
7
|
export { getCustomFieldResolver, getFieldSerializer, getFieldDeserializer, getUserFieldContextProvider, } from './extensions/extension-fields-helpers';
|
|
8
8
|
export { configPanelMessages, messages } from './extensions/messages';
|
|
9
9
|
export type { Extension, ExtensionHandler, ExtensionHandlers, ExtensionParams, UpdateExtension, OnSaveCallback, ExtensionAPI, TransformBefore, TransformAfter, ReferenceEntity, MultiBodiedExtensionActions, ParametersGetter, AsyncParametersGetter, } from './extensions/types/extension-handler';
|
|
10
|
-
export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModules, ExtensionQuickInsertModule, ExtensionType, Icon, MaybeADFEntity, CustomFieldResolver, UserFieldContextProvider, DynamicFieldDefinitions, } from './extensions/types/extension-manifest';
|
|
10
|
+
export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionDeprecationStatus, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModules, ExtensionQuickInsertModule, ExtensionType, Icon, MaybeADFEntity, CustomFieldResolver, UserFieldContextProvider, DynamicFieldDefinitions, } from './extensions/types/extension-manifest';
|
|
11
11
|
export type { ExtensionProvider } from './extensions/types/extension-provider';
|
|
12
12
|
export type { ExtensionToolbarButton, ContextualToolbar, ToolbarItem, } from './extensions/types/extension-manifest-toolbar-item';
|
|
13
13
|
export type { MenuItem, MenuItemMap } from './extensions/types/utils';
|
|
@@ -86,12 +86,17 @@ export type ExtensionModuleType<T extends Parameters = Parameters> = Exclude<key
|
|
|
86
86
|
type AutoConvertMatches = {
|
|
87
87
|
pattern: string;
|
|
88
88
|
};
|
|
89
|
+
export type ExtensionDeprecationStatus = {
|
|
90
|
+
isDeprecated: boolean;
|
|
91
|
+
message?: string | React.ReactNode;
|
|
92
|
+
};
|
|
89
93
|
export type ExtensionManifest<T extends Parameters = Parameters> = {
|
|
90
94
|
type: ExtensionType;
|
|
91
95
|
key: ExtensionKey;
|
|
92
96
|
title: string;
|
|
93
97
|
description?: string;
|
|
94
98
|
summary?: string;
|
|
99
|
+
deprecation?: ExtensionDeprecationStatus;
|
|
95
100
|
categories?: string[];
|
|
96
101
|
keywords?: string[];
|
|
97
102
|
documentationUrl?: string;
|
|
@@ -7,7 +7,7 @@ export { getExtensionModuleNode, getNodeRenderer, getExtensionModuleNodePrivateP
|
|
|
7
7
|
export { getCustomFieldResolver, getFieldSerializer, getFieldDeserializer, getUserFieldContextProvider, } from './extensions/extension-fields-helpers';
|
|
8
8
|
export { configPanelMessages, messages } from './extensions/messages';
|
|
9
9
|
export type { Extension, ExtensionHandler, ExtensionHandlers, ExtensionParams, UpdateExtension, OnSaveCallback, ExtensionAPI, TransformBefore, TransformAfter, ReferenceEntity, MultiBodiedExtensionActions, ParametersGetter, AsyncParametersGetter, } from './extensions/types/extension-handler';
|
|
10
|
-
export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModules, ExtensionQuickInsertModule, ExtensionType, Icon, MaybeADFEntity, CustomFieldResolver, UserFieldContextProvider, DynamicFieldDefinitions, } from './extensions/types/extension-manifest';
|
|
10
|
+
export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionDeprecationStatus, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModules, ExtensionQuickInsertModule, ExtensionType, Icon, MaybeADFEntity, CustomFieldResolver, UserFieldContextProvider, DynamicFieldDefinitions, } from './extensions/types/extension-manifest';
|
|
11
11
|
export type { ExtensionProvider } from './extensions/types/extension-provider';
|
|
12
12
|
export type { ExtensionToolbarButton, ContextualToolbar, ToolbarItem, } from './extensions/types/extension-manifest-toolbar-item';
|
|
13
13
|
export type { MenuItem, MenuItemMap } from './extensions/types/utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "102.
|
|
3
|
+
"version": "102.16.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -128,14 +128,14 @@
|
|
|
128
128
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
129
129
|
"@atlaskit/css": "^0.10.0",
|
|
130
130
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
131
|
-
"@atlaskit/dropdown-menu": "^
|
|
131
|
+
"@atlaskit/dropdown-menu": "^14.0.0",
|
|
132
132
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
133
133
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
134
134
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
135
135
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
136
136
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
137
137
|
"@atlaskit/emoji": "^69.0.0",
|
|
138
|
-
"@atlaskit/icon": "^25.
|
|
138
|
+
"@atlaskit/icon": "^25.4.0",
|
|
139
139
|
"@atlaskit/icon-object": "^7.0.0",
|
|
140
140
|
"@atlaskit/link-datasource": "^4.1.0",
|
|
141
141
|
"@atlaskit/link-picker": "^3.1.0",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"@atlaskit/spinner": "^18.0.0",
|
|
161
161
|
"@atlaskit/task-decision": "^19.1.0",
|
|
162
162
|
"@atlaskit/textfield": "^8.0.0",
|
|
163
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
163
|
+
"@atlaskit/tmp-editor-statsig": "^4.6.0",
|
|
164
164
|
"@atlaskit/tokens": "^4.5.0",
|
|
165
165
|
"@atlaskit/tooltip": "^20.0.0",
|
|
166
166
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -325,6 +325,9 @@
|
|
|
325
325
|
"confluence_typography_refreshed": {
|
|
326
326
|
"type": "boolean"
|
|
327
327
|
},
|
|
328
|
+
"inline_comment_shadow_update": {
|
|
329
|
+
"type": "boolean"
|
|
330
|
+
},
|
|
328
331
|
"atlas_editor_typography_refreshed": {
|
|
329
332
|
"type": "boolean"
|
|
330
333
|
},
|