@atlaskit/editor-common 107.8.0 → 107.8.2
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 +15 -0
- package/afm-rovo-extension/tsconfig.json +177 -0
- package/dist/cjs/ai-messages/ai-experience-application.js +0 -1
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +2 -0
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +2 -0
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -0
- package/dist/cjs/icons/shared/DynamicStrokeIconDecoration.js +2 -0
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/cjs/media-single/CommentBadgeNext.js +2 -0
- package/dist/cjs/media-single/ExternalImageBadge.js +2 -0
- package/dist/cjs/media-single/MediaBadges.js +2 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/resizer/Resizer.js +1 -1
- package/dist/cjs/resizer/ResizerBreakoutModeLabel.js +2 -0
- package/dist/cjs/ui/Caption/index.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -0
- package/dist/cjs/ui-menu/Dropdown/index.js +1 -2
- package/dist/es2019/ai-messages/ai-experience-application.js +0 -1
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -0
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/es2019/icons/shared/DynamicStrokeIconDecoration.js +2 -0
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/es2019/media-single/CommentBadgeNext.js +1 -0
- package/dist/es2019/media-single/ExternalImageBadge.js +1 -0
- package/dist/es2019/media-single/MediaBadges.js +2 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/resizer/Resizer.js +2 -0
- package/dist/es2019/resizer/ResizerBreakoutModeLabel.js +2 -0
- package/dist/es2019/ui/Caption/index.js +2 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +1 -0
- package/dist/es2019/ui-menu/Dropdown/index.js +1 -2
- package/dist/esm/ai-messages/ai-experience-application.js +0 -1
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -0
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/esm/icons/shared/DynamicStrokeIconDecoration.js +2 -0
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/esm/media-single/CommentBadgeNext.js +1 -0
- package/dist/esm/media-single/ExternalImageBadge.js +1 -0
- package/dist/esm/media-single/MediaBadges.js +2 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/resizer/Resizer.js +2 -0
- package/dist/esm/resizer/ResizerBreakoutModeLabel.js +2 -0
- package/dist/esm/ui/Caption/index.js +2 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-menu/ColorPickerButton/index.js +1 -0
- package/dist/esm/ui-menu/Dropdown/index.js +1 -2
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 107.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#185795](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185795)
|
|
8
|
+
[`82707bc751346`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/82707bc751346) -
|
|
9
|
+
[ED-28204] clean up feature gate platform_editor_floating_toolbar_dropdown_flicker
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 107.8.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 107.8.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.rovo-extension.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../rovo-extension/tsDist/@atlaskit__editor-common/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../activity-provider/afm-rovo-extension/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../adf-utils/afm-rovo-extension/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../analytics/analytics-listeners/afm-rovo-extension/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-rovo-extension/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../analytics/analytics-next/afm-rovo-extension/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../uip/atlassian-context/afm-rovo-extension/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/button/afm-rovo-extension/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/code/afm-rovo-extension/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../monorepo-tooling/codemod-utils/afm-rovo-extension/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../design-system/css/afm-rovo-extension/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../custom-steps/afm-rovo-extension/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/dropdown-menu/afm-rovo-extension/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../editor-json-transformer/afm-rovo-extension/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../editor-palette/afm-rovo-extension/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../editor-shared-styles/afm-rovo-extension/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../editor-tables/afm-rovo-extension/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../../elements/emoji/afm-rovo-extension/tsconfig.json"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "../../../design-system/icon-object/afm-rovo-extension/tsconfig.json"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "../../../design-system/link/afm-rovo-extension/tsconfig.json"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "../../../linking-platform/link-datasource/afm-rovo-extension/tsconfig.json"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"path": "../../../linking-platform/link-picker/afm-rovo-extension/tsconfig.json"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "../../../media/media-card/afm-rovo-extension/tsconfig.json"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": "../../../media/media-client/afm-rovo-extension/tsconfig.json"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"path": "../../../media/media-client-react/afm-rovo-extension/tsconfig.json"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"path": "../../../media/media-common/afm-rovo-extension/tsconfig.json"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"path": "../../../media/media-file-preview/afm-rovo-extension/tsconfig.json"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "../../../media/media-picker/afm-rovo-extension/tsconfig.json"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"path": "../../../media/media-ui/afm-rovo-extension/tsconfig.json"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"path": "../../../media/media-viewer/afm-rovo-extension/tsconfig.json"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"path": "../../../elements/mention/afm-rovo-extension/tsconfig.json"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "../../../design-system/menu/afm-rovo-extension/tsconfig.json"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"path": "../../../design-system/onboarding/afm-rovo-extension/tsconfig.json"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"path": "../../../platform/feature-flags-react/afm-rovo-extension/tsconfig.json"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"path": "../../../design-system/popper/afm-rovo-extension/tsconfig.json"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"path": "../../../people-and-teams/profilecard/afm-rovo-extension/tsconfig.json"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"path": "../../../react-ufo/atlaskit/afm-rovo-extension/tsconfig.json"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"path": "../../../design-system/section-message/afm-rovo-extension/tsconfig.json"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"path": "../../../linking-platform/smart-card/afm-rovo-extension/tsconfig.json"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"path": "../../../smart-experiences/smart-user-picker/afm-rovo-extension/tsconfig.json"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"path": "../../../design-system/spinner/afm-rovo-extension/tsconfig.json"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"path": "../../../elements/status/afm-rovo-extension/tsconfig.json"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"path": "../../../elements/task-decision/afm-rovo-extension/tsconfig.json"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "../../../design-system/textfield/afm-rovo-extension/tsconfig.json"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"path": "../../../design-system/theme/afm-rovo-extension/tsconfig.json"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"path": "../../tmp-editor-statsig/afm-rovo-extension/tsconfig.json"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"path": "../../../design-system/width-detector/afm-rovo-extension/tsconfig.json"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"path": "../../../media/media-core/afm-rovo-extension/tsconfig.json"
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
}
|
|
@@ -103,7 +103,6 @@ var aiExperienceApplicationMessages = exports.aiExperienceApplicationMessages =
|
|
|
103
103
|
defaultMessage: 'Rovo agents',
|
|
104
104
|
description: 'Heading text to indicate that the next set of features are for agents'
|
|
105
105
|
},
|
|
106
|
-
// Remove when cleaning up editor_ai_converge_free_gen_on_rovo
|
|
107
106
|
useGeneralAiKnowledgeLabel: {
|
|
108
107
|
id: 'fabric.editor.ai.experience.useGeneralAiKnowledgeLabel',
|
|
109
108
|
defaultMessage: 'Use general knowledge',
|
|
@@ -18,6 +18,8 @@ var _NotFoundIllustration = _interopRequireDefault(require("./NotFoundIllustrati
|
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
22
|
+
|
|
21
23
|
function EmptyState(_ref) {
|
|
22
24
|
var onExternalLinkClick = _ref.onExternalLinkClick,
|
|
23
25
|
focusOnEmptyStateButton = _ref.focusOnEmptyStateButton;
|
|
@@ -18,6 +18,8 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
22
|
+
|
|
21
23
|
var buttonContainerStyles = (0, _react2.css)({
|
|
22
24
|
opacity: 0,
|
|
23
25
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
@@ -19,6 +19,8 @@ var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
23
|
+
|
|
22
24
|
var containerStyles = (0, _react.css)({
|
|
23
25
|
textAlign: 'left',
|
|
24
26
|
zIndex: 1,
|
|
@@ -12,6 +12,8 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
12
12
|
*/
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
16
|
+
|
|
15
17
|
var barStyles = (0, _react.css)({
|
|
16
18
|
position: 'absolute',
|
|
17
19
|
left: 0,
|
|
@@ -40,6 +40,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
40
40
|
* @jsxRuntime classic
|
|
41
41
|
* @jsx jsx
|
|
42
42
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
43
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
43
44
|
/**
|
|
44
45
|
* Visible only to screenreaders. Use when there is a need
|
|
45
46
|
* to provide more context to a non-sighted user.
|
|
@@ -14,6 +14,8 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
14
14
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
15
15
|
var _media = require("../media");
|
|
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
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
|
+
|
|
17
19
|
var baseStyles = (0, _primitives.xcss)({
|
|
18
20
|
borderRadius: 'border.radius'
|
|
19
21
|
});
|
|
@@ -11,6 +11,8 @@ var _informationInfo = _interopRequireDefault(require("@atlaskit/icon/core/migra
|
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
12
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
13
13
|
var _media = require("../media");
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
|
+
|
|
14
16
|
var baseStyles = (0, _primitives.xcss)({
|
|
15
17
|
borderRadius: 'border.radius',
|
|
16
18
|
backgroundColor: 'elevation.surface',
|
|
@@ -11,6 +11,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
12
12
|
var _primitives = require("@atlaskit/primitives");
|
|
13
13
|
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); }
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
|
+
|
|
14
16
|
var MEDIA_BADGE_VISIBILITY_BREAKPOINT = 200;
|
|
15
17
|
var containerStyles = (0, _primitives.xcss)({
|
|
16
18
|
display: 'flex',
|
|
@@ -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 = "107.
|
|
19
|
+
var packageVersion = "107.8.1";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -19,7 +19,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
|
19
19
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
20
20
|
var _breakout = require("../messages/breakout");
|
|
21
21
|
var _resizer = require("../styles/shared/resizer");
|
|
22
|
-
var _excluded = ["width", "children", "handleClassName", "className", "handleResize", "handleResizeStart", "handleResizeStop", "handleSize", "handleAlignmentMethod", "handlePositioning", "appearance", "handleStyles", "resizeRatio", "snap", "snapGap", "isHandleVisible", "handleHighlight", "handleTooltipContent", "needExtendedResizeZone", "childrenDOMRef", "labelComponent"];
|
|
22
|
+
var _excluded = ["width", "children", "handleClassName", "className", "handleResize", "handleResizeStart", "handleResizeStop", "handleSize", "handleAlignmentMethod", "handlePositioning", "appearance", "handleStyles", "resizeRatio", "snap", "snapGap", "isHandleVisible", "handleHighlight", "handleTooltipContent", "needExtendedResizeZone", "childrenDOMRef", "labelComponent"]; // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
23
23
|
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); }
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
25
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _primitives = require("@atlaskit/primitives");
|
|
11
11
|
var _messages = require("../messages");
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
|
+
|
|
12
14
|
var fullWidthLabelWrapperStyles = (0, _primitives.xcss)({
|
|
13
15
|
height: "var(--ds-space-400, 32px)",
|
|
14
16
|
display: 'flex',
|
|
@@ -21,6 +21,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
21
21
|
* @jsxRuntime classic
|
|
22
22
|
* @jsx jsx
|
|
23
23
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
24
25
|
var captionWrapperStyle = (0, _react2.css)({
|
|
25
26
|
marginTop: "var(--ds-space-100, 8px)",
|
|
26
27
|
textAlign: 'center',
|
|
@@ -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 = "107.
|
|
26
|
+
var packageVersion = "107.8.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -33,6 +33,8 @@ var _types = require("../ArrowKeyNavigationProvider/types");
|
|
|
33
33
|
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
35
35
|
|
|
36
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
37
|
+
|
|
36
38
|
// helps adjusts position of popup
|
|
37
39
|
var colorPickerButtonWrapper = (0, _react2.css)({
|
|
38
40
|
position: 'relative'
|
|
@@ -14,7 +14,6 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
14
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
17
|
var _uiReact = require("../../ui-react");
|
|
19
18
|
var _DropList = _interopRequireDefault(require("../../ui/DropList"));
|
|
20
19
|
var _Popup = _interopRequireDefault(require("../../ui/Popup"));
|
|
@@ -71,7 +70,7 @@ var Dropdown = exports.Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
71
70
|
return (0, _createClass2.default)(Dropdown, [{
|
|
72
71
|
key: "componentDidUpdate",
|
|
73
72
|
value: function componentDidUpdate(prevProps) {
|
|
74
|
-
if (!prevProps.isOpen && this.props.isOpen && this.state.target
|
|
73
|
+
if (!prevProps.isOpen && this.props.isOpen && this.state.target) {
|
|
75
74
|
// Dropdown flickers when opens as placement is calculated in Popup component and updated after the first render.
|
|
76
75
|
// popupPlacement is set to ['bottom', 'left'] by default, but it may not be the correct placement and is required in DropdownList.
|
|
77
76
|
// To avoid flicker we calculate placement here and set it to state when the dropdown opens.
|
|
@@ -96,7 +96,6 @@ export const aiExperienceApplicationMessages = defineMessages({
|
|
|
96
96
|
defaultMessage: 'Rovo agents',
|
|
97
97
|
description: 'Heading text to indicate that the next set of features are for agents'
|
|
98
98
|
},
|
|
99
|
-
// Remove when cleaning up editor_ai_converge_free_gen_on_rovo
|
|
100
99
|
useGeneralAiKnowledgeLabel: {
|
|
101
100
|
id: 'fabric.editor.ai.experience.useGeneralAiKnowledgeLabel',
|
|
102
101
|
defaultMessage: 'Use general knowledge',
|
|
@@ -8,6 +8,7 @@ import { useEffect, useRef } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
10
|
import { LinkButton } from '@atlaskit/button/new';
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
11
12
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
12
13
|
import NotFoundIllustration from './NotFoundIllustration';
|
|
13
14
|
export default function EmptyState({
|
|
@@ -10,6 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { defineMessages, useIntl } from 'react-intl-next';
|
|
11
11
|
import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
|
|
12
12
|
import EditIcon from '@atlaskit/icon/core/edit';
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
14
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
14
15
|
const buttonContainerStyles = css({
|
|
15
16
|
opacity: 0,
|
|
@@ -9,6 +9,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
9
9
|
import classnames from 'classnames';
|
|
10
10
|
import { FormattedMessage, defineMessages } from 'react-intl-next';
|
|
11
11
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
13
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
15
|
const containerStyles = css({
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
7
9
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
8
10
|
const barStyles = css({
|
|
9
11
|
position: 'absolute',
|
|
@@ -15,6 +15,7 @@ import { isSafeUrl } from '@atlaskit/adf-schema';
|
|
|
15
15
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
16
16
|
import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
|
|
17
17
|
import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle';
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
19
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
19
20
|
import Tooltip from '@atlaskit/tooltip';
|
|
20
21
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '../../../analytics';
|
|
@@ -2,6 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import CommentIcon from '@atlaskit/icon/core/comment';
|
|
4
4
|
import LegacyCommentIcon from '@atlaskit/icon/glyph/comment';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
6
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import Tooltip from '@atlaskit/tooltip';
|
|
7
8
|
import { commentMessages as messages } from '../media';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import InfoIcon from '@atlaskit/icon/core/migration/information--info';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
7
|
import { externalMediaMessages } from '../media';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import debounce from 'lodash/debounce';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
3
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
4
6
|
const MEDIA_BADGE_VISIBILITY_BREAKPOINT = 200;
|
|
5
7
|
const containerStyles = xcss({
|
|
@@ -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 = "107.
|
|
4
|
+
const packageVersion = "107.8.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -3,6 +3,8 @@ import React, { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, u
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Resizable } from 're-resizable';
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
8
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
7
9
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
8
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
3
5
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
4
6
|
import { breakoutMessages as messages } from '../messages';
|
|
5
7
|
const fullWidthLabelWrapperStyles = xcss({
|
|
@@ -8,6 +8,8 @@ import React from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { injectIntl } from 'react-intl-next';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
11
13
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
12
14
|
import { messages } from './messages';
|
|
13
15
|
const captionWrapperStyle = 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 = "107.
|
|
16
|
+
const packageVersion = "107.8.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -14,6 +14,7 @@ import LegacyButton from '@atlaskit/button/standard-button';
|
|
|
14
14
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
15
15
|
import LegacyExpandIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
17
18
|
import { Box, xcss, Inline } from '@atlaskit/primitives';
|
|
18
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
20
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import React, { PureComponent } from 'react';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '../../ui-react';
|
|
6
5
|
import DropdownList from '../../ui/DropList';
|
|
7
6
|
import Popup from '../../ui/Popup';
|
|
@@ -47,7 +46,7 @@ export class Dropdown extends PureComponent {
|
|
|
47
46
|
};
|
|
48
47
|
}
|
|
49
48
|
componentDidUpdate(prevProps) {
|
|
50
|
-
if (!prevProps.isOpen && this.props.isOpen && this.state.target
|
|
49
|
+
if (!prevProps.isOpen && this.props.isOpen && this.state.target) {
|
|
51
50
|
// Dropdown flickers when opens as placement is calculated in Popup component and updated after the first render.
|
|
52
51
|
// popupPlacement is set to ['bottom', 'left'] by default, but it may not be the correct placement and is required in DropdownList.
|
|
53
52
|
// To avoid flicker we calculate placement here and set it to state when the dropdown opens.
|
|
@@ -96,7 +96,6 @@ export var aiExperienceApplicationMessages = defineMessages({
|
|
|
96
96
|
defaultMessage: 'Rovo agents',
|
|
97
97
|
description: 'Heading text to indicate that the next set of features are for agents'
|
|
98
98
|
},
|
|
99
|
-
// Remove when cleaning up editor_ai_converge_free_gen_on_rovo
|
|
100
99
|
useGeneralAiKnowledgeLabel: {
|
|
101
100
|
id: 'fabric.editor.ai.experience.useGeneralAiKnowledgeLabel',
|
|
102
101
|
defaultMessage: 'Use general knowledge',
|
|
@@ -8,6 +8,7 @@ import { useEffect, useRef } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
10
|
import { LinkButton } from '@atlaskit/button/new';
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
11
12
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
12
13
|
import NotFoundIllustration from './NotFoundIllustration';
|
|
13
14
|
export default function EmptyState(_ref) {
|
|
@@ -10,6 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { defineMessages, useIntl } from 'react-intl-next';
|
|
11
11
|
import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
|
|
12
12
|
import EditIcon from '@atlaskit/icon/core/edit';
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
14
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
14
15
|
var buttonContainerStyles = css({
|
|
15
16
|
opacity: 0,
|
|
@@ -9,6 +9,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
9
9
|
import classnames from 'classnames';
|
|
10
10
|
import { FormattedMessage, defineMessages } from 'react-intl-next';
|
|
11
11
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
13
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
15
|
var containerStyles = css({
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
7
9
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
8
10
|
var barStyles = css({
|
|
9
11
|
position: 'absolute',
|
|
@@ -26,6 +26,7 @@ import { isSafeUrl } from '@atlaskit/adf-schema';
|
|
|
26
26
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
27
27
|
import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
|
|
28
28
|
import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle';
|
|
29
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
29
30
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
30
31
|
import Tooltip from '@atlaskit/tooltip';
|
|
31
32
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '../../../analytics';
|
|
@@ -2,6 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import CommentIcon from '@atlaskit/icon/core/comment';
|
|
4
4
|
import LegacyCommentIcon from '@atlaskit/icon/glyph/comment';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
6
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import Tooltip from '@atlaskit/tooltip';
|
|
7
8
|
import { commentMessages as messages } from '../media';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import InfoIcon from '@atlaskit/icon/core/migration/information--info';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
7
|
import { externalMediaMessages } from '../media';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
3
|
import debounce from 'lodash/debounce';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
6
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
7
|
var MEDIA_BADGE_VISIBILITY_BREAKPOINT = 200;
|
|
6
8
|
var containerStyles = xcss({
|
|
@@ -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 = "107.
|
|
10
|
+
var packageVersion = "107.8.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -9,6 +9,8 @@ import React, { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, u
|
|
|
9
9
|
import classnames from 'classnames';
|
|
10
10
|
import { Resizable } from 're-resizable';
|
|
11
11
|
import { useIntl } from 'react-intl-next';
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
14
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
15
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
14
16
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
3
5
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
4
6
|
import { breakoutMessages as messages } from '../messages';
|
|
5
7
|
var fullWidthLabelWrapperStyles = xcss({
|
|
@@ -15,6 +15,8 @@ import React from 'react';
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import { injectIntl } from 'react-intl-next';
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
20
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
19
21
|
import { messages } from './messages';
|
|
20
22
|
var captionWrapperStyle = 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 = "107.
|
|
23
|
+
var packageVersion = "107.8.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -15,6 +15,7 @@ import LegacyButton from '@atlaskit/button/standard-button';
|
|
|
15
15
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
16
16
|
import LegacyExpandIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
19
|
import { Box, xcss, Inline } from '@atlaskit/primitives';
|
|
19
20
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
21
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -8,7 +8,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
8
8
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
9
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
import React, { PureComponent } from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '../../ui-react';
|
|
13
12
|
import DropdownList from '../../ui/DropList';
|
|
14
13
|
import Popup from '../../ui/Popup';
|
|
@@ -62,7 +61,7 @@ export var Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
62
61
|
return _createClass(Dropdown, [{
|
|
63
62
|
key: "componentDidUpdate",
|
|
64
63
|
value: function componentDidUpdate(prevProps) {
|
|
65
|
-
if (!prevProps.isOpen && this.props.isOpen && this.state.target
|
|
64
|
+
if (!prevProps.isOpen && this.props.isOpen && this.state.target) {
|
|
66
65
|
// Dropdown flickers when opens as placement is calculated in Popup component and updated after the first render.
|
|
67
66
|
// popupPlacement is set to ['bottom', 'left'] by default, but it may not be the correct placement and is required in DropdownList.
|
|
68
67
|
// To avoid flicker we calculate placement here and set it to state when the dropdown opens.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "107.8.
|
|
3
|
+
"version": "107.8.2",
|
|
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/"
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"@atlaskit/icon-object": "^7.1.0",
|
|
145
145
|
"@atlaskit/link": "^3.2.0",
|
|
146
146
|
"@atlaskit/link-datasource": "^4.13.0",
|
|
147
|
-
"@atlaskit/link-picker": "^3.
|
|
147
|
+
"@atlaskit/link-picker": "^3.7.0",
|
|
148
148
|
"@atlaskit/media-card": "^79.4.0",
|
|
149
149
|
"@atlaskit/media-client": "^35.1.0",
|
|
150
150
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
@@ -161,16 +161,16 @@
|
|
|
161
161
|
"@atlaskit/popper": "^7.1.0",
|
|
162
162
|
"@atlaskit/primitives": "^14.10.0",
|
|
163
163
|
"@atlaskit/profilecard": "^23.21.0",
|
|
164
|
-
"@atlaskit/react-ufo": "^
|
|
164
|
+
"@atlaskit/react-ufo": "^4.0.0",
|
|
165
165
|
"@atlaskit/section-message": "^8.2.0",
|
|
166
|
-
"@atlaskit/smart-card": "^40.
|
|
166
|
+
"@atlaskit/smart-card": "^40.2.0",
|
|
167
167
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
168
168
|
"@atlaskit/spinner": "^18.0.0",
|
|
169
169
|
"@atlaskit/status": "^3.0.0",
|
|
170
170
|
"@atlaskit/task-decision": "^19.2.0",
|
|
171
171
|
"@atlaskit/textfield": "^8.0.0",
|
|
172
172
|
"@atlaskit/theme": "^19.0.0",
|
|
173
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
173
|
+
"@atlaskit/tmp-editor-statsig": "^9.7.0",
|
|
174
174
|
"@atlaskit/tokens": "^5.5.0",
|
|
175
175
|
"@atlaskit/tooltip": "^20.3.0",
|
|
176
176
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -335,9 +335,6 @@
|
|
|
335
335
|
"dst-a11y__replace-anchor-with-link__editor": {
|
|
336
336
|
"type": "boolean"
|
|
337
337
|
},
|
|
338
|
-
"platform_editor_floating_toolbar_dropdown_flicker": {
|
|
339
|
-
"type": "boolean"
|
|
340
|
-
},
|
|
341
338
|
"confluence_preload_forge_viewport_heights_editor": {
|
|
342
339
|
"type": "boolean"
|
|
343
340
|
},
|