@atlaskit/editor-common 121.2.1 → 121.2.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 +25 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +5 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +6 -3
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +6 -3
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -1
- package/dist/cjs/extensibility/Extension/Lozenge/LozengeComponent.js +3 -1
- package/dist/cjs/extensibility/Extension/Lozenge/index.js +1 -0
- package/dist/cjs/extensibility/ExtensionComponent.js +129 -26
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +4 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +5 -0
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/extensibility/Extension/Extension/index.js +6 -3
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +6 -3
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -1
- package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +3 -1
- package/dist/es2019/extensibility/Extension/Lozenge/index.js +1 -0
- package/dist/es2019/extensibility/ExtensionComponent.js +85 -3
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +4 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +5 -0
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/extensibility/Extension/Extension/index.js +6 -3
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +6 -3
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -1
- package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +3 -1
- package/dist/esm/extensibility/Extension/Lozenge/index.js +1 -0
- package/dist/esm/extensibility/ExtensionComponent.js +128 -25
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +4 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +5 -0
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/node-events.d.ts +1 -1
- package/dist/types/extensibility/Extension/Extension/index.d.ts +1 -0
- package/dist/types/extensibility/Extension/InlineExtension/index.d.ts +1 -0
- package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +2 -1
- package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +2 -1
- package/dist/types/extensibility/Extension/Lozenge/index.d.ts +1 -0
- package/dist/types/extensibility/ExtensionComponent.d.ts +1 -0
- package/dist/types/extensibility/MultiBodiedExtension/index.d.ts +1 -0
- package/package.json +6 -4
- package/afm-cc/tsconfig.json +0 -206
|
@@ -9,6 +9,7 @@ import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
|
9
9
|
import type { ExtensionsPluginInjectionAPI } from '../../types';
|
|
10
10
|
export interface Props {
|
|
11
11
|
customContainerStyles?: CSSProperties;
|
|
12
|
+
hideConfigureLabel?: boolean;
|
|
12
13
|
isBodiedMacro?: boolean;
|
|
13
14
|
isNodeHovered?: boolean;
|
|
14
15
|
isNodeNested?: boolean;
|
|
@@ -35,6 +35,7 @@ export interface State {
|
|
|
35
35
|
activeChildIndex?: number;
|
|
36
36
|
extensionHandlersFromProvider?: ExtensionHandlers;
|
|
37
37
|
extensionProvider?: ExtensionProvider;
|
|
38
|
+
hideConfigureLabel?: boolean;
|
|
38
39
|
isNodeHovered?: boolean;
|
|
39
40
|
showBodiedExtensionRendererView?: boolean;
|
|
40
41
|
}
|
|
@@ -19,6 +19,7 @@ type Props = {
|
|
|
19
19
|
eventDispatcher?: EventDispatcher;
|
|
20
20
|
getPos: () => number | undefined;
|
|
21
21
|
handleContentDOMRef: (node: HTMLElement | null) => void;
|
|
22
|
+
hideConfigureLabel?: boolean;
|
|
22
23
|
isLivePageViewMode?: boolean;
|
|
23
24
|
isNodeHovered?: boolean;
|
|
24
25
|
isNodeNested?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "121.2.
|
|
3
|
+
"version": "121.2.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/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/editor-palette": "^3.5.0",
|
|
47
47
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^4.1.0",
|
|
49
|
-
"@atlaskit/editor-tables": "^3.
|
|
49
|
+
"@atlaskit/editor-tables": "^3.2.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
52
52
|
"@atlaskit/editor-ui-control-model": "^2.9.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/task-decision": "^21.9.0",
|
|
85
85
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
86
86
|
"@atlaskit/textfield": "^10.2.0",
|
|
87
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
87
|
+
"@atlaskit/tmp-editor-statsig": "^184.0.0",
|
|
88
88
|
"@atlaskit/tokens": "^16.11.0",
|
|
89
89
|
"@atlaskit/tooltip": "^24.3.0",
|
|
90
90
|
"@atlaskit/width-detector": "^7.2.0",
|
|
@@ -142,7 +142,6 @@
|
|
|
142
142
|
"react": "^19.2.0",
|
|
143
143
|
"react-dom": "^19.2.0",
|
|
144
144
|
"react-intl": "^7.0.0",
|
|
145
|
-
"react-test-renderer": "^18.2.0",
|
|
146
145
|
"sinon": "^2.2.0"
|
|
147
146
|
},
|
|
148
147
|
"platform-feature-flags": {
|
|
@@ -160,6 +159,9 @@
|
|
|
160
159
|
"platform_editor_nested_mbe_frames": {
|
|
161
160
|
"type": "boolean"
|
|
162
161
|
},
|
|
162
|
+
"platform_editor_hide_configure_lozenge_non_configurable": {
|
|
163
|
+
"type": "boolean"
|
|
164
|
+
},
|
|
163
165
|
"platform_editor_adf_validator_stage0": {
|
|
164
166
|
"type": "boolean",
|
|
165
167
|
"referenceOnly": true
|
package/afm-cc/tsconfig.json
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"outDir": "../../../../../confluence/tsDist/@atlaskit__editor-common",
|
|
5
|
-
"rootDir": "../",
|
|
6
|
-
"composite": true,
|
|
7
|
-
"noCheck": true
|
|
8
|
-
},
|
|
9
|
-
"include": [
|
|
10
|
-
"../src/**/*.ts",
|
|
11
|
-
"../src/**/*.tsx"
|
|
12
|
-
],
|
|
13
|
-
"exclude": [
|
|
14
|
-
"../src/**/__tests__/*",
|
|
15
|
-
"../src/**/*.test.*",
|
|
16
|
-
"../src/**/test.*",
|
|
17
|
-
"../src/**/examples.*",
|
|
18
|
-
"../src/**/examples/*",
|
|
19
|
-
"../src/**/examples/**/*",
|
|
20
|
-
"../src/**/*.stories.*",
|
|
21
|
-
"../src/**/stories/*",
|
|
22
|
-
"../src/**/stories/**/*"
|
|
23
|
-
],
|
|
24
|
-
"references": [
|
|
25
|
-
{
|
|
26
|
-
"path": "../../activity-provider/afm-cc/tsconfig.json"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"path": "../../adf-schema/afm-cc/tsconfig.json"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"path": "../../adf-utils/afm-cc/tsconfig.json"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"path": "../../../analytics/analytics-listeners/afm-cc/tsconfig.json"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-cc/tsconfig.json"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"path": "../../../analytics/analytics-next/afm-cc/tsconfig.json"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"path": "../../../uip/atlassian-context/afm-cc/tsconfig.json"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"path": "../../../helpers/browser-apis/afm-cc/tsconfig.json"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"path": "../../../design-system/button/afm-cc/tsconfig.json"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"path": "../../../monorepo-tooling/codemod-utils/afm-cc/tsconfig.json"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"path": "../../../design-system/css/afm-cc/tsconfig.json"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"path": "../../custom-steps/afm-cc/tsconfig.json"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"path": "../../../design-system/dropdown-menu/afm-cc/tsconfig.json"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"path": "../../editor-json-transformer/afm-cc/tsconfig.json"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"path": "../../editor-palette/afm-cc/tsconfig.json"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"path": "../../editor-prosemirror/afm-cc/tsconfig.json"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"path": "../../editor-shared-styles/afm-cc/tsconfig.json"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"path": "../../editor-tables/afm-cc/tsconfig.json"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"path": "../../editor-toolbar/afm-cc/tsconfig.json"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"path": "../../editor-toolbar-model/afm-cc/tsconfig.json"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"path": "../../editor-ui-control-model/afm-cc/tsconfig.json"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"path": "../../../elements/emoji/afm-cc/tsconfig.json"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"path": "../../../measurement/feature-gate-js-client/afm-cc/tsconfig.json"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"path": "../../../design-system/icon/afm-cc/tsconfig.json"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"path": "../../../design-system/link/afm-cc/tsconfig.json"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"path": "../../../linking-platform/link-datasource/afm-cc/tsconfig.json"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"path": "../../../linking-platform/link-picker/afm-cc/tsconfig.json"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"path": "../../../media/media-card/afm-cc/tsconfig.json"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"path": "../../../media/media-client/afm-cc/tsconfig.json"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"path": "../../../media/media-client-react/afm-cc/tsconfig.json"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"path": "../../../media/media-common/afm-cc/tsconfig.json"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"path": "../../../media/media-file-preview/afm-cc/tsconfig.json"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"path": "../../../media/media-picker/afm-cc/tsconfig.json"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"path": "../../../media/media-ui/afm-cc/tsconfig.json"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"path": "../../../media/media-viewer/afm-cc/tsconfig.json"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"path": "../../../elements/mention/afm-cc/tsconfig.json"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"path": "../../../design-system/menu/afm-cc/tsconfig.json"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"path": "../../../design-system/object/afm-cc/tsconfig.json"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"path": "../../../design-system/onboarding/afm-cc/tsconfig.json"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"path": "../../../platform/feature-experiments/afm-cc/tsconfig.json"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"path": "../../../platform/feature-flags-react/afm-cc/tsconfig.json"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"path": "../../../design-system/popper/afm-cc/tsconfig.json"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"path": "../../../design-system/primitives/afm-cc/tsconfig.json"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"path": "../../../people-and-teams/profilecard/afm-cc/tsconfig.json"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"path": "../../prosemirror-history/afm-cc/tsconfig.json"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"path": "../../../react-ufo/atlaskit/afm-cc/tsconfig.json"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"path": "../../../design-system/section-message/afm-cc/tsconfig.json"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"path": "../../../linking-platform/smart-card/afm-cc/tsconfig.json"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"path": "../../../smart-experiences/smart-user-picker/afm-cc/tsconfig.json"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"path": "../../../design-system/spinner/afm-cc/tsconfig.json"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"path": "../../../elements/task-decision/afm-cc/tsconfig.json"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"path": "../../../people-and-teams/teams-app-config/afm-cc/tsconfig.json"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"path": "../../../design-system/textfield/afm-cc/tsconfig.json"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"path": "../../tmp-editor-statsig/afm-cc/tsconfig.json"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"path": "../../../design-system/tokens/afm-cc/tsconfig.json"
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"path": "../../../design-system/tooltip/afm-cc/tsconfig.json"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"path": "../../../design-system/width-detector/afm-cc/tsconfig.json"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"path": "../../../media/media-core/afm-cc/tsconfig.json"
|
|
204
|
-
}
|
|
205
|
-
]
|
|
206
|
-
}
|