@atlaskit/editor-core 226.0.0 → 226.0.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 +45 -0
- package/afm-cc/tsconfig.json +0 -3
- package/afm-products/tsconfig.json +0 -3
- package/dist/cjs/create-editor/ReactEditorView.js +0 -24
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +4 -3
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -1
- package/dist/cjs/ui/EditorContentContainer/styles/dateStyles.js +3 -4
- package/dist/cjs/ui/EditorContentContainer/styles/emoji.js +6 -8
- package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +3 -4
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +125 -13
- package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +3 -4
- package/dist/cjs/ui/EditorContentContainer/styles/unsupportedStyles.js +16 -0
- package/dist/cjs/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +41 -0
- package/dist/cjs/ui/quick-insert/getExtensionQuickInsertComponents.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +0 -24
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +4 -3
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -1
- package/dist/es2019/ui/EditorContentContainer/styles/dateStyles.js +3 -4
- package/dist/es2019/ui/EditorContentContainer/styles/emoji.js +6 -8
- package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +3 -4
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +183 -8
- package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +3 -4
- package/dist/es2019/ui/EditorContentContainer/styles/unsupportedStyles.js +16 -0
- package/dist/es2019/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +34 -0
- package/dist/es2019/ui/quick-insert/getExtensionQuickInsertComponents.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +0 -24
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +4 -3
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -1
- package/dist/esm/ui/EditorContentContainer/styles/dateStyles.js +3 -4
- package/dist/esm/ui/EditorContentContainer/styles/emoji.js +6 -8
- package/dist/esm/ui/EditorContentContainer/styles/mentions.js +3 -4
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +125 -12
- package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +3 -4
- package/dist/esm/ui/EditorContentContainer/styles/unsupportedStyles.js +16 -0
- package/dist/esm/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +34 -0
- package/dist/esm/ui/quick-insert/getExtensionQuickInsertComponents.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/smartCardStyles.d.ts +14 -0
- package/dist/types/ui/EditorContentContainer/styles/vanillaTooltipStyles.d.ts +10 -0
- package/dist/types/ui/quick-insert/getExtensionQuickInsertComponents.d.ts +6 -2
- package/package.json +5 -6
|
@@ -83,8 +83,21 @@ export const smartCardDiffStyles = css({
|
|
|
83
83
|
* If you need to make changes here, also update the corresponding style in
|
|
84
84
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
85
85
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
86
|
+
*
|
|
87
|
+
* Two rule sets, one per cohort of `platform_editor_show_diff_color_scheme_refactor`. Their base
|
|
88
|
+
* classes are disjoint — `wrapBlockNodeView` emits `-node`/`-node-traditional` when the gate is off
|
|
89
|
+
* and `-node-vars` when it is on — so only one set can ever match an element.
|
|
90
|
+
*
|
|
91
|
+
* The OFF set is the pre-refactor CSS, kept verbatim: that cohort emits no custom properties, so the
|
|
92
|
+
* tokens in its `var()` fallbacks are the live values. Delete it at experiment cleanup.
|
|
93
|
+
*
|
|
94
|
+
* The ON set reads the `--diff-delete-*` properties the factory emits inline, with no `var()`
|
|
95
|
+
* fallback — `wrapBlockNodeView` sets the class and the properties in the same step. The fallbacks
|
|
96
|
+
* it does keep are the ones standard leaves unset on purpose: `--diff-delete-opacity`,
|
|
97
|
+
* `--diff-delete-ring-width`, and `--diff-delete-text-decoration-color`.
|
|
86
98
|
*/
|
|
87
99
|
export const showDiffDeletedNodeStyles = css({
|
|
100
|
+
// --- OFF cohort: pre-refactor rules, restored verbatim ------------------------------------
|
|
88
101
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
89
102
|
[`.${SmartCardSharedCssClassName.EMBED_CARD_CONTAINER}`]: {
|
|
90
103
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -120,6 +133,31 @@ export const showDiffDeletedNodeStyles = css({
|
|
|
120
133
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
121
134
|
[`&.show-diff-deleted-node .${SmartCardSharedCssClassName.LOADER_WRAPPER}`]: {
|
|
122
135
|
opacity: 0.6
|
|
136
|
+
},
|
|
137
|
+
// ON cohort, same container: one rule per visual role, reading the factory's properties.
|
|
138
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
139
|
+
[`&.show-diff-deleted-node-vars .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
140
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
141
|
+
boxShadow: `0 0 0 1px var(--diff-delete-color)`,
|
|
142
|
+
borderColor: 'transparent'
|
|
143
|
+
},
|
|
144
|
+
// Only schemes with a resting ring get `-outline-new`, so this is traditional-only in practice.
|
|
145
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
146
|
+
[`&.show-diff-deleted-node-vars.show-diff-deleted-outline-new .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
147
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
148
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-new)`,
|
|
149
|
+
borderColor: 'transparent'
|
|
150
|
+
},
|
|
151
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
152
|
+
[`&.show-diff-deleted-node-vars.show-diff-deleted-active .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
153
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
154
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-active)`,
|
|
155
|
+
borderColor: 'transparent'
|
|
156
|
+
},
|
|
157
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
158
|
+
[`&.show-diff-deleted-node-vars .${SmartCardSharedCssClassName.LOADER_WRAPPER}`]: {
|
|
159
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
160
|
+
opacity: `var(--diff-delete-opacity, 0.6)`
|
|
123
161
|
}
|
|
124
162
|
},
|
|
125
163
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -173,15 +211,68 @@ export const showDiffDeletedNodeStyles = css({
|
|
|
173
211
|
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node': {
|
|
174
212
|
textDecoration: 'line-through'
|
|
175
213
|
},
|
|
214
|
+
// Longhands, not the `text-decoration` shorthand: the shorthand resets `text-decoration-color`,
|
|
215
|
+
// and Compiled does not guarantee it lands before the longhand.
|
|
176
216
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
177
217
|
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-traditional': {
|
|
178
|
-
|
|
179
|
-
|
|
218
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, ${"var(--ds-border-accent-red, #E2483D)"})`,
|
|
219
|
+
textDecorationLine: 'line-through'
|
|
180
220
|
},
|
|
221
|
+
// Longhands, for the same reason as the blockquote rule above.
|
|
181
222
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
182
223
|
'[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-traditional': {
|
|
183
|
-
|
|
184
|
-
|
|
224
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, ${"var(--ds-border-accent-red, #E2483D)"})`,
|
|
225
|
+
textDecorationLine: 'line-through'
|
|
226
|
+
},
|
|
227
|
+
// --- ON cohort: merged rules, one per visual role -----------------------------------------
|
|
228
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
229
|
+
'.show-diff-deleted-node-vars .media-card-wrapper': {
|
|
230
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
231
|
+
'& > div': {
|
|
232
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
233
|
+
boxShadow: `0 0 0 1px var(--diff-delete-color)`,
|
|
234
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
235
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
236
|
+
opacity: `var(--diff-delete-opacity, 0.6)`
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
240
|
+
'.show-diff-deleted-node-vars.show-diff-deleted-outline-new .media-card-wrapper': {
|
|
241
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
242
|
+
'& > div': {
|
|
243
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
244
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-new)`,
|
|
245
|
+
borderRadius: "var(--ds-radius-small, 4px)"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
249
|
+
'.show-diff-deleted-node-vars.show-diff-deleted-active .media-card-wrapper': {
|
|
250
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
251
|
+
'& > div': {
|
|
252
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
253
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-active)`,
|
|
254
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
255
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
256
|
+
opacity: `var(--diff-delete-opacity, 0.6)`
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
// Both schemes strike deleted blockquotes; only the colour differs. The variable is emitted for
|
|
260
|
+
// `stateful` (traditional) only, so standard falls through to `currentColor` — what it painted
|
|
261
|
+
// before. Longhands, not the shorthand, which would reset the colour.
|
|
262
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
263
|
+
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-vars': {
|
|
264
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
265
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, currentColor)`,
|
|
266
|
+
textDecorationLine: 'line-through'
|
|
267
|
+
},
|
|
268
|
+
// Standard draws no strike on deleted embedCards, so the line itself is scheme-driven:
|
|
269
|
+
// `--diff-delete-embed-strike-line` is `line-through` for traditional, `none` for standard.
|
|
270
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
271
|
+
'[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-vars': {
|
|
272
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
273
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, currentColor)`,
|
|
274
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
275
|
+
textDecorationLine: `var(--diff-delete-embed-strike-line)`
|
|
185
276
|
}
|
|
186
277
|
});
|
|
187
278
|
|
|
@@ -191,8 +282,11 @@ export const showDiffDeletedNodeStyles = css({
|
|
|
191
282
|
* If you need to make changes here, also update the corresponding style in
|
|
192
283
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
193
284
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
285
|
+
*
|
|
286
|
+
* The a11y-fixes variant of `showDiffDeletedNodeStyles`; same two-cohort split — see its note.
|
|
194
287
|
*/
|
|
195
288
|
export const showDiffDeletedNodeStylesNew = css({
|
|
289
|
+
// --- OFF cohort: pre-refactor rules, restored verbatim ------------------------------------
|
|
196
290
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
197
291
|
[`.${SmartCardSharedCssClassName.EMBED_CARD_CONTAINER}`]: {
|
|
198
292
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -228,6 +322,32 @@ export const showDiffDeletedNodeStylesNew = css({
|
|
|
228
322
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
229
323
|
[`&.show-diff-deleted-node .${SmartCardSharedCssClassName.LOADER_WRAPPER}`]: {
|
|
230
324
|
opacity: 0.8
|
|
325
|
+
},
|
|
326
|
+
// ON cohort, same container. Red in both schemes here, unlike standard's gray `deleteColor`
|
|
327
|
+
// — hence its own `deletedMediaRingColor` role rather than `--diff-delete-color`.
|
|
328
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
329
|
+
[`&.show-diff-deleted-node-vars .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
330
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
331
|
+
boxShadow: `0 0 0 1px var(--diff-delete-media-ring-color)`,
|
|
332
|
+
borderColor: 'transparent'
|
|
333
|
+
},
|
|
334
|
+
// Only schemes with a resting ring get `-outline-new`, so this is traditional-only in practice.
|
|
335
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
336
|
+
[`&.show-diff-deleted-node-vars.show-diff-deleted-outline-new .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
337
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
338
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-new)`,
|
|
339
|
+
borderColor: 'transparent'
|
|
340
|
+
},
|
|
341
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
342
|
+
[`&.show-diff-deleted-node-vars.show-diff-deleted-active .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
343
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
344
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-active)`,
|
|
345
|
+
borderColor: 'transparent'
|
|
346
|
+
},
|
|
347
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
348
|
+
[`&.show-diff-deleted-node-vars .${SmartCardSharedCssClassName.LOADER_WRAPPER}`]: {
|
|
349
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
350
|
+
opacity: `var(--diff-delete-opacity, 0.8)`
|
|
231
351
|
}
|
|
232
352
|
},
|
|
233
353
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -281,15 +401,70 @@ export const showDiffDeletedNodeStylesNew = css({
|
|
|
281
401
|
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node': {
|
|
282
402
|
textDecoration: 'line-through'
|
|
283
403
|
},
|
|
404
|
+
// Longhands, not the `text-decoration` shorthand: the shorthand resets `text-decoration-color`,
|
|
405
|
+
// and Compiled does not guarantee it lands before the longhand.
|
|
284
406
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
285
407
|
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-traditional': {
|
|
286
|
-
|
|
287
|
-
|
|
408
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, ${"var(--ds-border-accent-red, #E2483D)"})`,
|
|
409
|
+
textDecorationLine: 'line-through'
|
|
288
410
|
},
|
|
411
|
+
// Longhands, for the same reason as the blockquote rule above.
|
|
289
412
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
290
413
|
'[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-traditional': {
|
|
291
|
-
|
|
292
|
-
|
|
414
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, ${"var(--ds-border-accent-red, #E2483D)"})`,
|
|
415
|
+
textDecorationLine: 'line-through'
|
|
416
|
+
},
|
|
417
|
+
// --- ON cohort: merged rules, one per visual role -----------------------------------------
|
|
418
|
+
// `--diff-delete-ring-width` is unset for standard (1px); traditional tracks the inherited
|
|
419
|
+
// marker ring width.
|
|
420
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
421
|
+
'.show-diff-deleted-node-vars .media-card-wrapper': {
|
|
422
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
423
|
+
'& > div': {
|
|
424
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
425
|
+
boxShadow: `0 0 0 var(--diff-delete-ring-width, 1px) var(--diff-delete-media-ring-color)`,
|
|
426
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
427
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
428
|
+
opacity: `var(--diff-delete-opacity, 0.8)`
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
432
|
+
'.show-diff-deleted-node-vars.show-diff-deleted-outline-new .media-card-wrapper': {
|
|
433
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
434
|
+
'& > div': {
|
|
435
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
436
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-new)`,
|
|
437
|
+
borderRadius: "var(--ds-radius-small, 4px)"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
441
|
+
'.show-diff-deleted-node-vars.show-diff-deleted-active .media-card-wrapper': {
|
|
442
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
443
|
+
'& > div': {
|
|
444
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
445
|
+
boxShadow: `0 0 0 4px var(--diff-delete-color-active)`,
|
|
446
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
447
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
448
|
+
opacity: `var(--diff-delete-opacity, 0.8)`
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
// Both schemes strike deleted blockquotes; only the colour differs. The variable is emitted for
|
|
452
|
+
// `stateful` (traditional) only, so standard falls through to `currentColor` — what it painted
|
|
453
|
+
// before. Longhands, not the shorthand, which would reset the colour.
|
|
454
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
455
|
+
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-vars': {
|
|
456
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
457
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, currentColor)`,
|
|
458
|
+
textDecorationLine: 'line-through'
|
|
459
|
+
},
|
|
460
|
+
// Standard draws no strike on deleted embedCards, so the line itself is scheme-driven:
|
|
461
|
+
// `--diff-delete-embed-strike-line` is `line-through` for traditional, `none` for standard.
|
|
462
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
463
|
+
'[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-vars': {
|
|
464
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
465
|
+
textDecorationColor: `var(--diff-delete-text-decoration-color, currentColor)`,
|
|
466
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
467
|
+
textDecorationLine: `var(--diff-delete-embed-strike-line)`
|
|
293
468
|
}
|
|
294
469
|
});
|
|
295
470
|
/**
|
|
@@ -11,10 +11,9 @@ import { css } from '@emotion/react';
|
|
|
11
11
|
export const statusStyles = css({
|
|
12
12
|
// Show diff: status attr change highlight. Keep this with status node styles so the highlight
|
|
13
13
|
// targets the lozenge shape rather than the decoration wrapper.
|
|
14
|
-
// The
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
// platform_editor_show_diff_color_scheme_refactor is cleaned up.
|
|
14
|
+
// The ON cohort of platform_editor_show_diff_color_scheme_refactor sets
|
|
15
|
+
// --show-diff-atomic-inline-changed-border-color inline, overriding the table below; the OFF
|
|
16
|
+
// cohort picks its colour with the `-traditional` class. Drop the table at cleanup (EDITOR-8281).
|
|
18
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
19
18
|
'.show-diff-atomic-inline-changed-status': {
|
|
20
19
|
'--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-purple, #AF59E1)"
|
|
@@ -52,6 +52,22 @@ export const vanillaUnsupportedStyles = css({
|
|
|
52
52
|
justifyContent: 'center'
|
|
53
53
|
},
|
|
54
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
55
|
+
'.unsupported-inline-vanilla-inner': {
|
|
56
|
+
alignItems: 'center',
|
|
57
|
+
background: "var(--ds-background-disabled, #0515240F)",
|
|
58
|
+
border: `${"var(--ds-border-width, 1px)"} dashed ${"var(--ds-border-disabled, #0515240F)"}`,
|
|
59
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
60
|
+
boxSizing: 'border-box',
|
|
61
|
+
cursor: 'default',
|
|
62
|
+
display: 'inline-flex',
|
|
63
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
64
|
+
margin: `0 ${"var(--ds-space-025, 2px)"}`,
|
|
65
|
+
minHeight: '24px',
|
|
66
|
+
padding: `0 ${"var(--ds-space-100, 8px)"}`,
|
|
67
|
+
verticalAlign: 'middle',
|
|
68
|
+
whiteSpace: 'nowrap'
|
|
69
|
+
},
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
55
71
|
'.unsupported-vanilla-icon': {
|
|
56
72
|
padding: "var(--ds-space-050, 4px)",
|
|
57
73
|
display: 'inline-flex',
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
2
|
+
@repo/internal/deprecations/deprecation-ticket-required,
|
|
3
|
+
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
4
|
+
import { css } from '@emotion/react';
|
|
5
|
+
/**
|
|
6
|
+
* Default look for tooltips created by `VanillaTooltip` (`editor-common/vanilla-tooltip`).
|
|
7
|
+
* Opt in by adding `ak-editor-vanilla-tooltip-default` to the tooltip's class name.
|
|
8
|
+
*
|
|
9
|
+
* The tooltip is a `[popover]`: the browser paints it in the top layer but leaves it in the
|
|
10
|
+
* DOM, so this descendant selector still matches. `VanillaTooltip` sets `opacity`,
|
|
11
|
+
* `visibility` and `transition` inline for the show/hide animation;
|
|
12
|
+
*/
|
|
13
|
+
export const vanillaTooltipDefaultStyles = css({
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
15
|
+
'.ProseMirror': {
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
17
|
+
'.ak-editor-vanilla-tooltip-default': {
|
|
18
|
+
boxSizing: 'border-box',
|
|
19
|
+
maxWidth: '240px',
|
|
20
|
+
backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
|
|
21
|
+
border: 'none',
|
|
22
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
23
|
+
color: "var(--ds-text-inverse, #FFFFFF)",
|
|
24
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
25
|
+
fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
26
|
+
insetBlockStart: "var(--ds-space-0, 0px)",
|
|
27
|
+
insetInlineStart: "var(--ds-space-0, 0px)",
|
|
28
|
+
overflowWrap: 'break-word',
|
|
29
|
+
paddingBlock: "var(--ds-space-050, 4px)",
|
|
30
|
+
paddingInline: "var(--ds-space-075, 6px)",
|
|
31
|
+
whiteSpace: 'normal'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
@@ -22,12 +22,11 @@ export const getExtensionQuickInsertComponents = ({
|
|
|
22
22
|
title: item.title
|
|
23
23
|
})),
|
|
24
24
|
component: props => {
|
|
25
|
-
const onInsert = typeof props.onInsert === 'function' ? props.onInsert : undefined;
|
|
26
25
|
return /*#__PURE__*/React.createElement(ExtensionQuickInsertMenuItem, {
|
|
27
26
|
apiRef: apiRef,
|
|
28
27
|
createAnalyticsEvent: createAnalyticsEvent,
|
|
29
28
|
item: item,
|
|
30
|
-
onInsert: onInsert
|
|
29
|
+
onInsert: props.onInsert
|
|
31
30
|
});
|
|
32
31
|
}
|
|
33
32
|
};
|
|
@@ -32,7 +32,6 @@ import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
|
32
32
|
import { EditorSSRRenderer } from '@atlaskit/editor-ssr-renderer';
|
|
33
33
|
import { createSSREditorState } from '@atlaskit/editor-ssr-renderer/create-ssr-editor-state';
|
|
34
34
|
import { createSSRPMPlugins } from '@atlaskit/editor-ssr-renderer/create-ssr-pm-plugins';
|
|
35
|
-
import { insm } from '@atlaskit/insm/api';
|
|
36
35
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
37
36
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
38
37
|
import { addUFOCustomData } from '@atlaskit/react-ufo/custom-data';
|
|
@@ -934,29 +933,6 @@ export function ReactEditorView(props) {
|
|
|
934
933
|
}
|
|
935
934
|
}, [createEditorView, onEditorCreated, eventDispatcher, onEditorDestroyed, handleAnalyticsEvent, mitigateScrollJump]);
|
|
936
935
|
var isPageAppearance = isFullPage(nextAppearance) || nextAppearance === 'max';
|
|
937
|
-
|
|
938
|
-
// insm measures a page, so only the page's own editor reports its dom size -- not a
|
|
939
|
-
// secondary editor such as a comment editor, or one nested inside a legacy content
|
|
940
|
-
// extension. This runs as an effect rather than from handleEditorViewRef because
|
|
941
|
-
// `isNestedEditor` is only resolved once `editorRef` is attached, which happens after
|
|
942
|
-
// the mount node's ref callback.
|
|
943
|
-
useEffect(function () {
|
|
944
|
-
if (!editorView || isNestedEditor.current || !isPageAppearance) {
|
|
945
|
-
return;
|
|
946
|
-
}
|
|
947
|
-
if (!isExperimentEnabled('platform_editor_insm_dom_node_count')) {
|
|
948
|
-
return;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
// insm has no reference to the editor, so the element it measures for `editorDomSize`
|
|
952
|
-
// on session events is provided here. It's captured rather than read again on cleanup,
|
|
953
|
-
// as the view is destroyed by then.
|
|
954
|
-
var editorDom = editorView.dom;
|
|
955
|
-
insm.registerEditorDom(editorDom);
|
|
956
|
-
return function () {
|
|
957
|
-
insm.unregisterEditorDom(editorDom);
|
|
958
|
-
};
|
|
959
|
-
}, [editorView, isPageAppearance]);
|
|
960
936
|
var createEditor = useCallback(function (assistiveLabel, assistiveDescribedBy) {
|
|
961
937
|
return /*#__PURE__*/React.createElement(React.Fragment, null, fg('cc_editor_focus_before_editor_on_load') && /*#__PURE__*/React.createElement("div", {
|
|
962
938
|
tabIndex: -1,
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
.cc-13ipadj{ms-overflow-style:-ms-autohiding-scrollbar}.cc-13ipadj::-webkit-scrollbar-corner{display:none}.cc-13ipadj::-webkit-scrollbar-thumb{background-color:var(--ds-background-neutral-subtle,#00000000)}.cc-13ipadj:hover::-webkit-scrollbar-thumb{background-color:var(--ds-background-neutral-bold,#292a2e);border-radius:var(--ds-radius-large,8px)}.cc-13ipadj::-webkit-scrollbar-thumb:hover{background-color:var(--ds-background-neutral-bold-hovered,#3b3d42)}
|
|
140
140
|
.cc-xj7ujp .ProseMirror-selectednode{outline-color:currentColor;outline-style:none;outline-width:medium}.cc-xj7ujp .ProseMirror-selectednode:empty{outline:2px solid var(--ds-border-focused,#4688ec)}.cc-1u1dmuf [aria-label="Selection toolbar"]{animation-name:k1xe95hp;animation-duration:.2s;animation-timing-function:cubic-bezier(.6,0,0,1)}
|
|
141
141
|
.cc-7ldcy .ProseMirror .left-shadow:after, .cc-7ldcy .ProseMirror .left-shadow:before, .cc-7ldcy .ProseMirror .right-shadow:after, .cc-7ldcy .ProseMirror .right-shadow:before{display:none;position:absolute;pointer-events:none;z-index:2;width:8px;content:"";height:100%}.cc-7ldcy .ProseMirror .left-shadow, .cc-7ldcy .ProseMirror .right-shadow{position:relative}.cc-7ldcy .ProseMirror .left-shadow:before{background:linear-gradient(to left,transparent 0,var(--ds-shadow-overflow-spread,#1e1f2129) 140%),linear-gradient(to right,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,transparent 1px);top:0;left:0;display:block}.cc-7ldcy .ProseMirror .right-shadow:after{background:linear-gradient(to right,transparent 0,var(--ds-shadow-overflow-spread,#1e1f2129) 140%),linear-gradient(to left,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,transparent 1px);right:0;top:0;display:block}.cc-7ldcy .ProseMirror .sentinel-left{height:100%;width:0;min-width:0}.cc-7ldcy .ProseMirror .sentinel-right{height:100%;width:0;min-width:0}
|
|
142
|
-
.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-gray,#7d818a));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-traditional .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-outline-new .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper{opacity:.6}.cc-1cupvcw .show-diff-deleted-node .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-gray,#7d818a));border-radius:var(--ds-radius-small,4px);opacity:.6}.cc-1cupvcw .show-diff-deleted-node-traditional .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node-traditional.show-diff-deleted-outline-new .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node-traditional.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px);opacity:.6}.cc-1cupvcw [data-prosemirror-node-name=blockquote].show-diff-deleted-node{text-decoration-color:currentColor;text-decoration-line:line-through;text-decoration-style:solid}.cc-1cupvcw [data-prosemirror-node-name=blockquote].show-diff-deleted-node-traditional{text-decoration-color:
|
|
143
|
-
.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-traditional .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-outline-new .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper{opacity:.8}.cc-yt5ulr .show-diff-deleted-node .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-radius:var(--ds-radius-small,4px);opacity:.8}.cc-yt5ulr .show-diff-deleted-node-traditional .media-card-wrapper>div{box-shadow:0 0 0 var(--diff-decoration-marker-ring-width,1px) var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node-traditional.show-diff-deleted-outline-new .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node-traditional.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px);opacity:.8}.cc-yt5ulr [data-prosemirror-node-name=blockquote].show-diff-deleted-node{text-decoration-color:currentColor;text-decoration-line:line-through;text-decoration-style:solid}.cc-yt5ulr [data-prosemirror-node-name=blockquote].show-diff-deleted-node-traditional{text-decoration-color:
|
|
142
|
+
.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-gray,#7d818a));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-traditional .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-outline-new .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper{opacity:.6}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-vars .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color);border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-vars.show-diff-deleted-outline-new .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-new);border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-vars.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active);border-color:transparent}.cc-1cupvcw .embedCardView-content-wrap.show-diff-deleted-node-vars .loader-wrapper{opacity:var(--diff-delete-opacity,.6)}.cc-1cupvcw .show-diff-deleted-node .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-gray,#7d818a));border-radius:var(--ds-radius-small,4px);opacity:.6}.cc-1cupvcw .show-diff-deleted-node-traditional .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node-traditional.show-diff-deleted-outline-new .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node-traditional.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px);opacity:.6}.cc-1cupvcw [data-prosemirror-node-name=blockquote].show-diff-deleted-node{text-decoration-color:currentColor;text-decoration-line:line-through;text-decoration-style:solid}.cc-1cupvcw [data-prosemirror-node-name=blockquote].show-diff-deleted-node-traditional{text-decoration-color:var(--diff-delete-text-decoration-color,var(--ds-border-accent-red,#e2483d));text-decoration-line:line-through}.cc-1cupvcw [data-prosemirror-node-name=embedCard].show-diff-deleted-node-traditional{text-decoration-color:var(--diff-delete-text-decoration-color,var(--ds-border-accent-red,#e2483d));text-decoration-line:line-through}.cc-1cupvcw .show-diff-deleted-node-vars .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color);border-radius:var(--ds-radius-small,4px);opacity:var(--diff-delete-opacity,.6)}.cc-1cupvcw .show-diff-deleted-node-vars.show-diff-deleted-outline-new .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-new);border-radius:var(--ds-radius-small,4px)}.cc-1cupvcw .show-diff-deleted-node-vars.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active);border-radius:var(--ds-radius-small,4px);opacity:var(--diff-delete-opacity,.6)}.cc-1cupvcw [data-prosemirror-node-name=blockquote].show-diff-deleted-node-vars{text-decoration-color:var(--diff-delete-text-decoration-color,currentColor);text-decoration-line:line-through}.cc-1cupvcw [data-prosemirror-node-name=embedCard].show-diff-deleted-node-vars{text-decoration-color:var(--diff-delete-text-decoration-color,currentColor);text-decoration-line:var(--diff-delete-embed-strike-line)}
|
|
143
|
+
.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-traditional .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-outline-new .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-traditional.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper{opacity:.8}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-vars .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--diff-delete-media-ring-color);border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-vars.show-diff-deleted-outline-new .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-new);border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-vars.show-diff-deleted-active .loader-wrapper>div:after{box-shadow:0 0 0 4px var(--diff-delete-color-active);border-color:transparent}.cc-yt5ulr .embedCardView-content-wrap.show-diff-deleted-node-vars .loader-wrapper{opacity:var(--diff-delete-opacity,.8)}.cc-yt5ulr .show-diff-deleted-node .media-card-wrapper>div{box-shadow:0 0 0 1px var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-radius:var(--ds-radius-small,4px);opacity:.8}.cc-yt5ulr .show-diff-deleted-node-traditional .media-card-wrapper>div{box-shadow:0 0 0 var(--diff-decoration-marker-ring-width,1px) var(--diff-delete-color,var(--ds-border-accent-red,#e2483d));border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node-traditional.show-diff-deleted-outline-new .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-new,var(--ds-background-accent-red-subtlest,#ffeceb));border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node-traditional.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active,var(--ds-background-accent-red-subtler-pressed,#fd9891));border-radius:var(--ds-radius-small,4px);opacity:.8}.cc-yt5ulr [data-prosemirror-node-name=blockquote].show-diff-deleted-node{text-decoration-color:currentColor;text-decoration-line:line-through;text-decoration-style:solid}.cc-yt5ulr [data-prosemirror-node-name=blockquote].show-diff-deleted-node-traditional{text-decoration-color:var(--diff-delete-text-decoration-color,var(--ds-border-accent-red,#e2483d));text-decoration-line:line-through}.cc-yt5ulr [data-prosemirror-node-name=embedCard].show-diff-deleted-node-traditional{text-decoration-color:var(--diff-delete-text-decoration-color,var(--ds-border-accent-red,#e2483d));text-decoration-line:line-through}.cc-yt5ulr .show-diff-deleted-node-vars .media-card-wrapper>div{box-shadow:0 0 0 var(--diff-delete-ring-width,1px) var(--diff-delete-media-ring-color);border-radius:var(--ds-radius-small,4px);opacity:var(--diff-delete-opacity,.8)}.cc-yt5ulr .show-diff-deleted-node-vars.show-diff-deleted-outline-new .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-new);border-radius:var(--ds-radius-small,4px)}.cc-yt5ulr .show-diff-deleted-node-vars.show-diff-deleted-active .media-card-wrapper>div{box-shadow:0 0 0 4px var(--diff-delete-color-active);border-radius:var(--ds-radius-small,4px);opacity:var(--diff-delete-opacity,.8)}.cc-yt5ulr [data-prosemirror-node-name=blockquote].show-diff-deleted-node-vars{text-decoration-color:var(--diff-delete-text-decoration-color,currentColor);text-decoration-line:line-through}.cc-yt5ulr [data-prosemirror-node-name=embedCard].show-diff-deleted-node-vars{text-decoration-color:var(--diff-delete-text-decoration-color,currentColor);text-decoration-line:var(--diff-delete-embed-strike-line)}
|
|
144
144
|
.cc-v28bhv .embedCardView-content-wrap[data-testid=show-diff-changed-decoration-node] .loader-wrapper>div:after{box-shadow:0 0 0 var(--diff-decoration-marker-ring-width,1px) var(--diff-decoration-marker-color);border-color:transparent}
|
|
145
145
|
.cc-1v4mcpy .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1v4mcpy .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1v4mcpy .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1v4mcpy .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1v4mcpy .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1v4mcpy .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1v4mcpy .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1v4mcpy .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1v4mcpy .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1v4mcpy .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1v4mcpy .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1v4mcpy .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1v4mcpy .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1v4mcpy .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1v4mcpy .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1v4mcpy .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1v4mcpy .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1v4mcpy .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1v4mcpy .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1v4mcpy .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1v4mcpy .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1v4mcpy .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1v4mcpy .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1v4mcpy .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1v4mcpy .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1v4mcpy .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1v4mcpy .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1v4mcpy .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1v4mcpy .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1v4mcpy .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1v4mcpy .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1v4mcpy .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1v4mcpy .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
146
146
|
.cc-1y0ifdm .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1y0ifdm .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1y0ifdm .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1y0ifdm .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1y0ifdm .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1y0ifdm .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1y0ifdm .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1y0ifdm .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1y0ifdm .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1y0ifdm .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1y0ifdm .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block):not(.danger) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1y0ifdm .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1y0ifdm .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1y0ifdm .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1y0ifdm .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1y0ifdm .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1y0ifdm .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1y0ifdm .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1y0ifdm .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1y0ifdm .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1y0ifdm .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1y0ifdm .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1y0ifdm .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1y0ifdm .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1y0ifdm .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1y0ifdm .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1y0ifdm .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1y0ifdm .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1y0ifdm .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1y0ifdm .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1y0ifdm .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1y0ifdm .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1y0ifdm .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
@@ -186,7 +186,8 @@
|
|
|
186
186
|
.cc-277qb .text-highlight{background-color:var(--ds-background-accent-blue-subtlest,#e9f2fe);border-bottom:2px solid var(--ds-background-accent-blue-subtler,#cfe1fd)}
|
|
187
187
|
.cc-rrpz54 .ProseMirror :is(p,h1,h2,h3,h4,h5,h6):not(:is(ul,ol,div[data-node-type=actionList]) :is(p,h1,h2,h3,h4,h5,h6)).ak-editor-selected-node:not(.ak-editor-selected-node *){background:var(--ds-background-accent-blue-subtler,#cfe1fd);-webkit-user-select:text;box-shadow:0 -4px 0 var(--ds-background-accent-blue-subtler,#cfe1fd),0 4px 0 var(--ds-background-accent-blue-subtler,#cfe1fd)}.cc-rrpz54 .ProseMirror :is(p,h1,h2,h3,h4,h5,h6):not(:is(ul,ol,div[data-node-type=actionList]) :is(p,h1,h2,h3,h4,h5,h6)).ak-editor-selected-node:not(.ak-editor-selected-node *) ::selection, .cc-rrpz54 .ProseMirror :is(p,h1,h2,h3,h4,h5,h6):not(:is(ul,ol,div[data-node-type=actionList]) :is(p,h1,h2,h3,h4,h5,h6)).ak-editor-selected-node:not(.ak-editor-selected-node *)::selection{background-color:transparent}.cc-rrpz54 .ProseMirror :is(p,h1,h2,h3,h4,h5,h6):not(:is(ul,ol,div[data-node-type=actionList]) :is(p,h1,h2,h3,h4,h5,h6)).ak-editor-selected-node:not(.ak-editor-selected-node *) ::-moz-selection, .cc-rrpz54 .ProseMirror :is(p,h1,h2,h3,h4,h5,h6):not(:is(ul,ol,div[data-node-type=actionList]) :is(p,h1,h2,h3,h4,h5,h6)).ak-editor-selected-node:not(.ak-editor-selected-node *)::-moz-selection{background-color:transparent}
|
|
188
188
|
.cc-hnzg4x .unsupportedBlockView-content-wrap>div, .cc-hnzg4x .unsupportedInlineView-content-wrap>span:nth-of-type(2){cursor:pointer}.cc-hnzg4x .ak-editor-selected-node.unsupportedBlockView-content-wrap>div, .cc-hnzg4x .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2){background-color:var(--ds-background-selected,#e9f2fe);border:1px solid var(--ds-border-selected,#1868db)}.cc-hnzg4x .ak-editor-selected-node.unsupportedBlockView-content-wrap>div:after, .cc-hnzg4x .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2):after{height:100%;content:"\00a0";background:var(--ds-border-selected,#1868db);position:absolute;right:-1px;top:0;bottom:0;width:1px;border:none;display:inline-block}.cc-hnzg4x .ak-editor-selected-node.unsupportedBlockView-content-wrap>div ::selection, .cc-hnzg4x .ak-editor-selected-node.unsupportedBlockView-content-wrap>div::selection, .cc-hnzg4x .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2) ::selection, .cc-hnzg4x .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2)::selection{background-color:transparent}.cc-hnzg4x .ak-editor-selected-node.unsupportedBlockView-content-wrap>div ::-moz-selection, .cc-hnzg4x .ak-editor-selected-node.unsupportedBlockView-content-wrap>div::-moz-selection, .cc-hnzg4x .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2) ::-moz-selection, .cc-hnzg4x .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2)::-moz-selection{background-color:transparent}.cc-hnzg4x .danger .ak-editor-selected-node.unsupportedBlockView-content-wrap>div, .cc-hnzg4x .danger .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2){border:1px solid var(--ds-border-danger,#e2483d);background-color:var(--ds-blanket-danger,#ef5c4814)}
|
|
189
|
-
.cc-
|
|
189
|
+
.cc-s0u8xw .ProseMirror .ak-editor-vanilla-tooltip-default{box-sizing:border-box;max-width:15pc;background-color:var(--ds-background-neutral-bold,#292a2e);border:none;border-radius:var(--ds-radius-small,3px);color:var(--ds-text-inverse,#fff);font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif);font-family:var(--ds-font-family-body,"Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif);inset-block-start:var(--ds-space-0,0);inset-inline-start:var(--ds-space-0,0);overflow-wrap:break-word;padding-block:var(--ds-space-050,4px);padding-inline:var(--ds-space-075,6px);white-space:normal}
|
|
190
|
+
.cc-1ysxql5 .ProseMirror .unsupported-block-vanilla-inner{align-items:center;background:var(--ds-background-disabled,#0515240f);border:var(--ds-border-width,1px) dashed var(--ds-border-disabled,#0515240f);border-radius:var(--ds-radius-small,3px);box-sizing:border-box;cursor:pointer;display:flex;font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif);margin:var(--ds-space-100,8px) 0;min-height:24px;min-width:90pt;padding:var(--ds-space-150,9pt);text-align:center;justify-content:center}.cc-1ysxql5 .ProseMirror .unsupported-inline-vanilla-inner{align-items:center;background:var(--ds-background-disabled,#0515240f);border:var(--ds-border-width,1px) dashed var(--ds-border-disabled,#0515240f);border-radius:var(--ds-radius-small,3px);box-sizing:border-box;cursor:default;display:inline-flex;font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif);margin:0 var(--ds-space-025,2px);min-height:24px;padding:0 var(--ds-space-100,8px);vertical-align:middle;white-space:nowrap}.cc-1ysxql5 .ProseMirror .unsupported-vanilla-icon{padding:var(--ds-space-050,4px);display:inline-flex;align-items:center}
|
|
190
191
|
.cc-14oigrh .ProseMirror{word-wrap:break-word;white-space:pre-wrap}
|
|
191
192
|
@keyframes k1coy3hw{0%{background-color:transparent;border-bottom-color:transparent}12%{background-color:var(--ds-background-accent-purple-subtlest,#f8eefe);border-bottom-color:var(--ds-border-accent-purple,#af59e1)}88%{background-color:var(--ds-background-accent-purple-subtlest,#f8eefe);border-bottom-color:var(--ds-border-accent-purple,#af59e1)}to{background-color:transparent;border-bottom-color:transparent}}
|
|
192
193
|
@keyframes k1eqwm1p{0%{--panel-gradient-angle:0deg;background-position:100%}to{--panel-gradient-angle:360deg;background-position:-100%}}
|
|
@@ -357,6 +357,7 @@ var editorContentStyles = {
|
|
|
357
357
|
textHighlightStyle: "cc-277qb",
|
|
358
358
|
textSelectedNodeStyles: "cc-rrpz54",
|
|
359
359
|
unsupportedStyles: "cc-hnzg4x",
|
|
360
|
+
vanillaTooltipDefaultStyles: "cc-s0u8xw",
|
|
360
361
|
vanillaUnsupportedStyles: "cc-1ysxql5",
|
|
361
362
|
whitespaceStyles: "cc-14oigrh"
|
|
362
363
|
};
|
|
@@ -419,7 +420,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
419
420
|
}) && editorContentStyles.listSelectedNodeStyles, editorExperiment('platform_editor_block_menu', true, {
|
|
420
421
|
exposure: true
|
|
421
422
|
}) && editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, expValEqualsNoExposure('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
|
|
422
|
-
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, expValEquals('platform_editor_bodiedextension_layoutshift_fix', 'isEnabled', true) && editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, colorMode === 'dark' && fg('platform-dst-lozenge-tag-badge-visual-uplifts') && editorContentStyles.statusStylesTeam26DarkMode, editorContentStyles.annotationStyles, editorExperiment('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && fg('platform_comment_container_query') && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, expValEquals('platform_editor_first_node_fix', 'isEnabled', true) && editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, expValEquals('platform_editor_table_css_overflow_shadow', 'isEnabled', true) && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, isExperimentEnabled('platform_editor_table_fit_to_content_patch_1') && editorContentStyles.tableContentModeExtensionContainmentStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
|
|
423
|
+
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, expValEquals('platform_editor_bodiedextension_layoutshift_fix', 'isEnabled', true) && editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, colorMode === 'dark' && fg('platform-dst-lozenge-tag-badge-visual-uplifts') && editorContentStyles.statusStylesTeam26DarkMode, editorContentStyles.annotationStyles, editorExperiment('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && fg('platform_comment_container_query') && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, expValEquals('platform_editor_first_node_fix', 'isEnabled', true) && editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, expValEquals('platform_editor_table_css_overflow_shadow', 'isEnabled', true) && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, isExperimentEnabled('platform_editor_table_fit_to_content_patch_1') && editorContentStyles.tableContentModeExtensionContainmentStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
|
|
423
424
|
ref: ref,
|
|
424
425
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
425
426
|
"data-testid": "editor-content-container"
|
|
@@ -72,6 +72,7 @@ import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telep
|
|
|
72
72
|
import { textColorStyles } from './styles/textColorStyles';
|
|
73
73
|
import { textHighlightStyle } from './styles/textHighlightStyles';
|
|
74
74
|
import { unsupportedStyles, vanillaUnsupportedStyles } from './styles/unsupportedStyles';
|
|
75
|
+
import { vanillaTooltipDefaultStyles } from './styles/vanillaTooltipStyles';
|
|
75
76
|
import { whitespaceStyles } from './styles/whitespaceStyles';
|
|
76
77
|
var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
|
|
77
78
|
var alignMultipleWrappedImageInLayoutStyles = {
|
|
@@ -361,7 +362,9 @@ export var EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef(functio
|
|
|
361
362
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
362
363
|
embedCardStyles,
|
|
363
364
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
364
|
-
unsupportedStyles,
|
|
365
|
+
unsupportedStyles,
|
|
366
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
367
|
+
vanillaTooltipDefaultStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') &&
|
|
365
368
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
366
369
|
vanillaUnsupportedStyles,
|
|
367
370
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -52,10 +52,9 @@ export var dateVanillaStyles = css(_defineProperty(_defineProperty(_defineProper
|
|
|
52
52
|
export var dateStyles = css(_defineProperty(_defineProperty(_defineProperty({
|
|
53
53
|
// Show diff: date attr change highlight. Keep this with date node styles so the highlight
|
|
54
54
|
// follows the date node view instead of living in shared smart-card diff styles.
|
|
55
|
-
// The
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
// platform_editor_show_diff_color_scheme_refactor is cleaned up.
|
|
55
|
+
// The ON cohort of platform_editor_show_diff_color_scheme_refactor sets
|
|
56
|
+
// --show-diff-atomic-inline-changed-border-color inline, overriding the table below; the OFF
|
|
57
|
+
// cohort picks its colour with the `-traditional` class. Drop the table at cleanup (EDITOR-8281).
|
|
59
58
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
60
59
|
'.show-diff-atomic-inline-changed-date': {
|
|
61
60
|
'--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-purple, #AF59E1)",
|