@atlaskit/editor-common 103.4.2 → 103.4.3
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/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/annotation.js +30 -64
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/annotation.js +30 -64
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/annotation.js +30 -64
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 103.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#140155](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/140155)
|
|
8
|
+
[`9194d276e1ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9194d276e1ed7) -
|
|
9
|
+
NO-ISSUE cleaned up inline-comment-shadow-update
|
|
10
|
+
|
|
3
11
|
## 103.4.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -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 = "103.4.
|
|
20
|
+
var packageVersion = "103.4.3";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -29,71 +29,37 @@ 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
|
-
|
|
43
|
-
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
44
|
-
},
|
|
45
|
-
'&:has(.date-lozenger-container)': {
|
|
46
|
-
paddingTop: '2px'
|
|
47
|
-
}
|
|
48
|
-
},
|
|
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
|
-
}
|
|
32
|
+
return {
|
|
33
|
+
common: {
|
|
34
|
+
borderBottom: '2px solid transparent',
|
|
35
|
+
cursor: 'pointer',
|
|
36
|
+
padding: '1px 0 2px',
|
|
37
|
+
'&:has(.card), &:has([data-inline-card])': (0, _platformFeatureFlags.fg)('annotations_align_editor_and_renderer_styles') ? {
|
|
38
|
+
padding: '5px 0 3px 0'
|
|
39
|
+
} : {
|
|
40
|
+
paddingTop: '4px',
|
|
41
|
+
border: 'none',
|
|
42
|
+
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
80
43
|
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
44
|
+
'&:has(.date-lozenger-container)': {
|
|
45
|
+
paddingTop: '2px'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
focus: (0, _react.css)({
|
|
49
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
50
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
51
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
52
|
+
}),
|
|
53
|
+
blur: (0, _react.css)({
|
|
54
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
55
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
56
|
+
}),
|
|
57
|
+
hover: (0, _react.css)({
|
|
58
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
59
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
60
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
61
|
+
})
|
|
62
|
+
};
|
|
97
63
|
} else {
|
|
98
64
|
return {
|
|
99
65
|
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 = "103.4.
|
|
26
|
+
var packageVersion = "103.4.3";
|
|
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 = "103.4.
|
|
4
|
+
const packageVersion = "103.4.3";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -21,71 +21,37 @@ 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
|
-
|
|
35
|
-
boxShadow: `0 2px 0 0 ${"var(--ds-border-accent-yellow, #B38600)"}`
|
|
36
|
-
},
|
|
37
|
-
'&:has(.date-lozenger-container)': {
|
|
38
|
-
paddingTop: '2px'
|
|
39
|
-
}
|
|
40
|
-
},
|
|
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
|
-
}
|
|
24
|
+
return {
|
|
25
|
+
common: {
|
|
26
|
+
borderBottom: '2px solid transparent',
|
|
27
|
+
cursor: 'pointer',
|
|
28
|
+
padding: '1px 0 2px',
|
|
29
|
+
'&:has(.card), &:has([data-inline-card])': fg('annotations_align_editor_and_renderer_styles') ? {
|
|
30
|
+
padding: '5px 0 3px 0'
|
|
31
|
+
} : {
|
|
32
|
+
paddingTop: '4px',
|
|
33
|
+
border: 'none',
|
|
34
|
+
boxShadow: `0 2px 0 0 ${"var(--ds-border-accent-yellow, #B38600)"}`
|
|
72
35
|
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
36
|
+
'&:has(.date-lozenger-container)': {
|
|
37
|
+
paddingTop: '2px'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
focus: css({
|
|
41
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
42
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
43
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
44
|
+
}),
|
|
45
|
+
blur: css({
|
|
46
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
47
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
48
|
+
}),
|
|
49
|
+
hover: css({
|
|
50
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
51
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
52
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
53
|
+
})
|
|
54
|
+
};
|
|
89
55
|
} else {
|
|
90
56
|
return {
|
|
91
57
|
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 = "103.4.
|
|
16
|
+
const packageVersion = "103.4.3";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -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 = "103.4.
|
|
10
|
+
var packageVersion = "103.4.3";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -23,71 +23,37 @@ 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
|
-
|
|
37
|
-
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
38
|
-
},
|
|
39
|
-
'&:has(.date-lozenger-container)': {
|
|
40
|
-
paddingTop: '2px'
|
|
41
|
-
}
|
|
42
|
-
},
|
|
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
|
-
}
|
|
26
|
+
return {
|
|
27
|
+
common: {
|
|
28
|
+
borderBottom: '2px solid transparent',
|
|
29
|
+
cursor: 'pointer',
|
|
30
|
+
padding: '1px 0 2px',
|
|
31
|
+
'&:has(.card), &:has([data-inline-card])': fg('annotations_align_editor_and_renderer_styles') ? {
|
|
32
|
+
padding: '5px 0 3px 0'
|
|
33
|
+
} : {
|
|
34
|
+
paddingTop: '4px',
|
|
35
|
+
border: 'none',
|
|
36
|
+
boxShadow: "0 2px 0 0 ".concat("var(--ds-border-accent-yellow, #B38600)")
|
|
74
37
|
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
38
|
+
'&:has(.date-lozenger-container)': {
|
|
39
|
+
paddingTop: '2px'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
focus: css({
|
|
43
|
+
background: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)",
|
|
44
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
45
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
46
|
+
}),
|
|
47
|
+
blur: css({
|
|
48
|
+
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
49
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
|
|
50
|
+
}),
|
|
51
|
+
hover: css({
|
|
52
|
+
background: "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)",
|
|
53
|
+
borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
|
|
54
|
+
boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091E4240, 0px 0px 1px #091E424f)"
|
|
55
|
+
})
|
|
56
|
+
};
|
|
91
57
|
} else {
|
|
92
58
|
return {
|
|
93
59
|
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 = "103.4.
|
|
23
|
+
var packageVersion = "103.4.3";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "103.4.
|
|
3
|
+
"version": "103.4.3",
|
|
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/"
|
|
@@ -323,9 +323,6 @@
|
|
|
323
323
|
"confluence_typography_refreshed": {
|
|
324
324
|
"type": "boolean"
|
|
325
325
|
},
|
|
326
|
-
"inline_comment_shadow_update": {
|
|
327
|
-
"type": "boolean"
|
|
328
|
-
},
|
|
329
326
|
"atlas_editor_typography_refreshed": {
|
|
330
327
|
"type": "boolean"
|
|
331
328
|
},
|