@atlaskit/editor-common 103.4.2 → 103.5.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 +16 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/prosemirror-node-view.js +1 -0
- package/dist/cjs/styles/shared/annotation.js +30 -64
- package/dist/cjs/styles/shared/task-decision.js +2 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/prosemirror-node-view.js +0 -0
- package/dist/es2019/styles/shared/annotation.js +30 -64
- package/dist/es2019/styles/shared/task-decision.js +2 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/prosemirror-node-view.js +0 -0
- package/dist/esm/styles/shared/annotation.js +30 -64
- package/dist/esm/styles/shared/task-decision.js +2 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/type-ahead.d.ts +8 -2
- package/dist/types/prosemirror-node-view.d.ts +0 -0
- package/dist/types/styles/shared/task-decision.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +8 -2
- package/dist/types-ts4.5/prosemirror-node-view.d.ts +0 -0
- package/dist/types-ts4.5/styles/shared/task-decision.d.ts +1 -0
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 103.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#139256](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139256)
|
|
8
|
+
[`0fea9bc4da71a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fea9bc4da71a) -
|
|
9
|
+
ED-27447 add typeahead close analytics event
|
|
10
|
+
|
|
11
|
+
## 103.4.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#140155](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/140155)
|
|
16
|
+
[`9194d276e1ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9194d276e1ed7) -
|
|
17
|
+
NO-ISSUE cleaned up inline-comment-shadow-update
|
|
18
|
+
|
|
3
19
|
## 103.4.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -182,6 +182,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
182
182
|
ACTION["RESIZED"] = "resized";
|
|
183
183
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
184
184
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
185
|
+
ACTION["VIEW_MORE"] = "viewMore";
|
|
185
186
|
/**
|
|
186
187
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
187
188
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -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.
|
|
20
|
+
var packageVersion = "103.5.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -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)({
|
|
@@ -14,7 +14,8 @@ var _templateObject;
|
|
|
14
14
|
var TaskDecisionSharedCssClassName = exports.TaskDecisionSharedCssClassName = {
|
|
15
15
|
DECISION_CONTAINER: 'decisionItemView-content-wrap',
|
|
16
16
|
TASK_CONTAINER: 'taskItemView-content-wrap',
|
|
17
|
-
TASK_ITEM: 'task-item'
|
|
17
|
+
TASK_ITEM: 'task-item',
|
|
18
|
+
TASK_CHECKBOX_CONTAINER: 'task-item-checkbox-wrap'
|
|
18
19
|
};
|
|
19
20
|
|
|
20
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -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.
|
|
26
|
+
var packageVersion = "103.5.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -176,6 +176,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
176
176
|
ACTION["RESIZED"] = "resized";
|
|
177
177
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
178
178
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
179
|
+
ACTION["VIEW_MORE"] = "viewMore";
|
|
179
180
|
/**
|
|
180
181
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
181
182
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -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
|
+
const packageVersion = "103.5.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
File without changes
|
|
@@ -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({
|
|
@@ -5,7 +5,8 @@ import { akEditorLineHeight, akEditorTableCellMinWidth } from '@atlaskit/editor-
|
|
|
5
5
|
export const TaskDecisionSharedCssClassName = {
|
|
6
6
|
DECISION_CONTAINER: 'decisionItemView-content-wrap',
|
|
7
7
|
TASK_CONTAINER: 'taskItemView-content-wrap',
|
|
8
|
-
TASK_ITEM: 'task-item'
|
|
8
|
+
TASK_ITEM: 'task-item',
|
|
9
|
+
TASK_CHECKBOX_CONTAINER: 'task-item-checkbox-wrap'
|
|
9
10
|
};
|
|
10
11
|
|
|
11
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -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.
|
|
16
|
+
const packageVersion = "103.5.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -176,6 +176,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
176
176
|
ACTION["RESIZED"] = "resized";
|
|
177
177
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
178
178
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
179
|
+
ACTION["VIEW_MORE"] = "viewMore";
|
|
179
180
|
/**
|
|
180
181
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
181
182
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -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.
|
|
10
|
+
var packageVersion = "103.5.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
File without changes
|
|
@@ -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({
|
|
@@ -7,7 +7,8 @@ import { akEditorLineHeight, akEditorTableCellMinWidth } from '@atlaskit/editor-
|
|
|
7
7
|
export var TaskDecisionSharedCssClassName = {
|
|
8
8
|
DECISION_CONTAINER: 'decisionItemView-content-wrap',
|
|
9
9
|
TASK_CONTAINER: 'taskItemView-content-wrap',
|
|
10
|
-
TASK_ITEM: 'task-item'
|
|
10
|
+
TASK_ITEM: 'task-item',
|
|
11
|
+
TASK_CHECKBOX_CONTAINER: 'task-item-checkbox-wrap'
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -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.
|
|
23
|
+
var packageVersion = "103.5.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -175,6 +175,7 @@ export declare enum ACTION {
|
|
|
175
175
|
RESIZED = "resized",
|
|
176
176
|
BLOCKS_DRAG_INIT = "blocksDragInit",
|
|
177
177
|
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
|
|
178
|
+
VIEW_MORE = "viewMore",
|
|
178
179
|
/**
|
|
179
180
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
180
181
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TypeAheadAvailableNodes } from '../../type-ahead';
|
|
2
2
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
3
|
-
import type { OperationalAEP, UIAEP } from './utils';
|
|
3
|
+
import type { OperationalAEP, TrackAEP, UIAEP } from './utils';
|
|
4
4
|
type TypeAheadRenderedAEP = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.TYPEAHEAD, undefined, {
|
|
5
5
|
time?: number;
|
|
6
6
|
items?: number;
|
|
@@ -11,6 +11,12 @@ type TypeAheadItemViewedAEP = OperationalAEP<ACTION.VIEWED, ACTION_SUBJECT.TYPEA
|
|
|
11
11
|
items?: number;
|
|
12
12
|
}>;
|
|
13
13
|
type TypeAheadAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.INVOKED, ACTION_SUBJECT.TYPEAHEAD, ActionSubjectID, Attributes, undefined>;
|
|
14
|
+
type TypeAheadClosedAttributes = {
|
|
15
|
+
inputMethod: INPUT_METHOD.KEYBOARD | INPUT_METHOD.MOUSE | null;
|
|
16
|
+
closeAction: ACTION.INSERTED | ACTION.CANCELLED | ACTION.VIEW_MORE | null;
|
|
17
|
+
hasQuery: boolean;
|
|
18
|
+
};
|
|
19
|
+
type TypeaheadQuickInsertClosedAEP = TrackAEP<ACTION.CLOSED, ACTION_SUBJECT.TYPEAHEAD, ACTION_SUBJECT_ID.TYPEAHEAD_QUICK_INSERT, TypeAheadClosedAttributes, undefined>;
|
|
14
20
|
type TypeAheadEmojiAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_EMOJI | TypeAheadAvailableNodes.EMOJI, {
|
|
15
21
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.KEYBOARD
|
|
16
22
|
/**
|
|
@@ -43,6 +49,6 @@ type TypeAheadQuickInsertAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_QUICK_IN
|
|
|
43
49
|
*/
|
|
44
50
|
| 'blockControl';
|
|
45
51
|
}>;
|
|
46
|
-
export type TypeAheadPayload = TypeAheadEmojiAEP | TypeAheadLinkAEP | TypeAheadMentionAEP | TypeAheadQuickInsertAEP | TypeAheadRenderedAEP | TypeAheadItemViewedAEP;
|
|
52
|
+
export type TypeAheadPayload = TypeAheadEmojiAEP | TypeAheadLinkAEP | TypeAheadMentionAEP | TypeAheadQuickInsertAEP | TypeAheadRenderedAEP | TypeAheadItemViewedAEP | TypeaheadQuickInsertClosedAEP;
|
|
47
53
|
export type EventInput = 'keyboard' | 'mouse' | 'floatingToolBar';
|
|
48
54
|
export {};
|
|
File without changes
|
|
@@ -175,6 +175,7 @@ export declare enum ACTION {
|
|
|
175
175
|
RESIZED = "resized",
|
|
176
176
|
BLOCKS_DRAG_INIT = "blocksDragInit",
|
|
177
177
|
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
|
|
178
|
+
VIEW_MORE = "viewMore",
|
|
178
179
|
/**
|
|
179
180
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
180
181
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TypeAheadAvailableNodes } from '../../type-ahead';
|
|
2
2
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
3
|
-
import type { OperationalAEP, UIAEP } from './utils';
|
|
3
|
+
import type { OperationalAEP, TrackAEP, UIAEP } from './utils';
|
|
4
4
|
type TypeAheadRenderedAEP = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.TYPEAHEAD, undefined, {
|
|
5
5
|
time?: number;
|
|
6
6
|
items?: number;
|
|
@@ -11,6 +11,12 @@ type TypeAheadItemViewedAEP = OperationalAEP<ACTION.VIEWED, ACTION_SUBJECT.TYPEA
|
|
|
11
11
|
items?: number;
|
|
12
12
|
}>;
|
|
13
13
|
type TypeAheadAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.INVOKED, ACTION_SUBJECT.TYPEAHEAD, ActionSubjectID, Attributes, undefined>;
|
|
14
|
+
type TypeAheadClosedAttributes = {
|
|
15
|
+
inputMethod: INPUT_METHOD.KEYBOARD | INPUT_METHOD.MOUSE | null;
|
|
16
|
+
closeAction: ACTION.INSERTED | ACTION.CANCELLED | ACTION.VIEW_MORE | null;
|
|
17
|
+
hasQuery: boolean;
|
|
18
|
+
};
|
|
19
|
+
type TypeaheadQuickInsertClosedAEP = TrackAEP<ACTION.CLOSED, ACTION_SUBJECT.TYPEAHEAD, ACTION_SUBJECT_ID.TYPEAHEAD_QUICK_INSERT, TypeAheadClosedAttributes, undefined>;
|
|
14
20
|
type TypeAheadEmojiAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_EMOJI | TypeAheadAvailableNodes.EMOJI, {
|
|
15
21
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.KEYBOARD
|
|
16
22
|
/**
|
|
@@ -43,6 +49,6 @@ type TypeAheadQuickInsertAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_QUICK_IN
|
|
|
43
49
|
*/
|
|
44
50
|
| 'blockControl';
|
|
45
51
|
}>;
|
|
46
|
-
export type TypeAheadPayload = TypeAheadEmojiAEP | TypeAheadLinkAEP | TypeAheadMentionAEP | TypeAheadQuickInsertAEP | TypeAheadRenderedAEP | TypeAheadItemViewedAEP;
|
|
52
|
+
export type TypeAheadPayload = TypeAheadEmojiAEP | TypeAheadLinkAEP | TypeAheadMentionAEP | TypeAheadQuickInsertAEP | TypeAheadRenderedAEP | TypeAheadItemViewedAEP | TypeaheadQuickInsertClosedAEP;
|
|
47
53
|
export type EventInput = 'keyboard' | 'mouse' | 'floatingToolBar';
|
|
48
54
|
export {};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "103.
|
|
3
|
+
"version": "103.5.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/"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"@atlaskit/emoji": "^69.0.0",
|
|
139
139
|
"@atlaskit/icon": "^25.5.0",
|
|
140
140
|
"@atlaskit/icon-object": "^7.0.0",
|
|
141
|
-
"@atlaskit/link-datasource": "^4.
|
|
141
|
+
"@atlaskit/link-datasource": "^4.2.0",
|
|
142
142
|
"@atlaskit/link-picker": "^3.2.0",
|
|
143
143
|
"@atlaskit/media-card": "^79.0.0",
|
|
144
144
|
"@atlaskit/media-client": "^32.0.0",
|
|
@@ -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
|
},
|