@atlaskit/editor-core 237.0.9 → 238.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/cjs/create-editor/ReactEditorView.js +22 -26
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +7 -7
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +18 -23
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +7 -7
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +22 -26
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +7 -7
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +42 -42
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 238.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e7ba86ebafd0b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7ba86ebafd0b) -
|
|
8
|
+
Cleanup experiment `cc_editor_insm_doc_size_stats`. Document size statistics (`totalNodes` and
|
|
9
|
+
`nodeSizeBucket`) are now always computed and reported on the ProseMirror rendered analytics
|
|
10
|
+
event.
|
|
11
|
+
- [`4119d93011e41`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4119d93011e41) -
|
|
12
|
+
Remove `platform_use_unicode_emojis` experiment checks and retain Twemoji images and sprites.
|
|
13
|
+
Remove the experiment-only `denormaliseStandardRepresentation` export. Call
|
|
14
|
+
`denormaliseServiceRepresentation` with the service representation instead. Remove the
|
|
15
|
+
`emoji-id-to-emoji` entrypoint and its `emojiIdToEmoji` utility. Use the existing provider image
|
|
16
|
+
or sprite representation for Twemoji rendering. Remove the Unicode representation type, renderer,
|
|
17
|
+
canvas utility, and public `unicode-emoji-image` entrypoint. Remove `renderUnicodeEmojiAsImage`
|
|
18
|
+
props and the Unicode type guard. Remove the editor Unicode node rendering and the `EMOJI_UNICODE`
|
|
19
|
+
shared CSS class. Use provider image and sprite representations instead of Unicode
|
|
20
|
+
representations. Remove the obsolete Unicode rendering props from consumers. Remove the
|
|
21
|
+
feature-only `getCachedEmojiType` provider API. Use the existing provider lookup methods for cache
|
|
22
|
+
or catalogue access.
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 237.0.9
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -712,30 +712,26 @@ function ReactEditorView(props) {
|
|
|
712
712
|
var contextIdentifier = (_pluginInjectionAPI$c2 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c2 === void 0 ? void 0 : _pluginInjectionAPI$c2.sharedState.currentState();
|
|
713
713
|
var nodesInViewport = (0, _getNodesVisibleInViewport.getNodesVisibleInViewport)(viewRef.current.dom);
|
|
714
714
|
var nodeSize = viewRef.current.state.doc.nodeSize;
|
|
715
|
-
var
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
}()
|
|
736
|
-
} : {},
|
|
737
|
-
totalNodes = _ref4.totalNodes,
|
|
738
|
-
nodeSizeBucket = _ref4.nodeSizeBucket;
|
|
715
|
+
var totalNodes = Object.values(nodes).reduce(function (acc, curr) {
|
|
716
|
+
return acc + curr;
|
|
717
|
+
}, 0);
|
|
718
|
+
// Computed on client for dimension bucketing in Statsig
|
|
719
|
+
var nodeSizeBucket = function () {
|
|
720
|
+
switch (true) {
|
|
721
|
+
case nodeSize < 10000:
|
|
722
|
+
return '<10000';
|
|
723
|
+
case nodeSize < 20000:
|
|
724
|
+
return '<20000';
|
|
725
|
+
case nodeSize < 30000:
|
|
726
|
+
return '<30000';
|
|
727
|
+
case nodeSize < 40000:
|
|
728
|
+
return '<40000';
|
|
729
|
+
case nodeSize < 50000:
|
|
730
|
+
return '<50000';
|
|
731
|
+
default:
|
|
732
|
+
return '50000+';
|
|
733
|
+
}
|
|
734
|
+
}();
|
|
739
735
|
var editorDomSize = (0, _getEditorDomSize.getEditorDomSize)(viewRef.current);
|
|
740
736
|
var interaction = (0, _interactionMetrics.getActiveInteraction)();
|
|
741
737
|
var pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
|
|
@@ -1039,10 +1035,10 @@ function ReactEditorView(props) {
|
|
|
1039
1035
|
}, [defaultValue, parseDoc, props.editorProps.sanitizePrivateContent, props.providerFactory]);
|
|
1040
1036
|
|
|
1041
1037
|
// We need to check `allowBlockType` in props, because it is now exist in EditorNextProps type.
|
|
1042
|
-
var
|
|
1038
|
+
var _ref4 = 'allowBlockType' in props.editorProps ? props.editorProps : {
|
|
1043
1039
|
allowBlockType: undefined
|
|
1044
1040
|
},
|
|
1045
|
-
allowBlockType =
|
|
1041
|
+
allowBlockType = _ref4.allowBlockType;
|
|
1046
1042
|
|
|
1047
1043
|
// In separate memo, because some props like `props.intl` that need only for rendering
|
|
1048
1044
|
// changes many times, but we don't want to process plugins and ADF document for each unnecessary changes.
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
.cc-j6p7k2{--editor-font-ugc-token-heading-h1:normal 600 1.71429em/1.16667 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h2:normal 600 1.42857em/1.2 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h3:normal 600 1.14286em/1.25 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h4:normal 600 1em/1.14286 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h5:normal 600 0.857143em/1.33333 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h6:normal 600 0.785714em/1.45455 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-body:normal 400 1em/1.714 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-weight-heading-bold:700}
|
|
41
41
|
.cc-1x753i0{--editor-font-ugc-token-body-small:normal 400 0.875em/1.714 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}
|
|
42
42
|
.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout^=wrap-]{max-width:100%;position:relative;z-index:2}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-left]{float:left}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-right]{float:right}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-right]+.embedCardView-content-wrap[layout=wrap-left]{clear:both}
|
|
43
|
-
.cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-image, .cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-sprite
|
|
44
|
-
.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image
|
|
45
|
-
.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite
|
|
46
|
-
.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite
|
|
47
|
-
.cc-1d3vsly .ProseMirror
|
|
43
|
+
.cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-image, .cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);background-color:var(--ds-background-danger,#ffeceb)}
|
|
44
|
+
.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){outline:2px solid var(--show-diff-atomic-inline-changed-border-color,var(--ds-border-accent-purple,#af59e1));outline-offset:1px;border-radius:var(--ds-radius-xsmall,2px)}.cc-1c7fc54 .ProseMirror .emojiView-content-wrap{display:inline-block}.cc-1c7fc54 .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background:no-repeat transparent;display:inline-block;height:20px;max-height:20px;cursor:pointer;vertical-align:middle;-webkit-user-select:all;user-select:all}
|
|
45
|
+
.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite{border-radius:var(--ds-radius-xsmall,2px);position:relative;-webkit-user-select:text}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite:before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image ::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite ::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image ::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite ::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::-moz-selection{background-color:transparent}
|
|
46
|
+
.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite{border-radius:var(--ds-radius-xsmall,2px);position:relative;-webkit-user-select:text}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image:before, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite:before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image ::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite ::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite::selection{background-color:transparent}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image ::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite ::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite::-moz-selection{background-color:transparent}
|
|
47
|
+
.cc-1d3vsly .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){width:16.25px;height:16.25px;max-height:16.25px}.cc-1d3vsly .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%;height:100%;object-fit:contain}.cc-1d3vsly .ProseMirror .ak-editor-panel .ak-editor-panel__icon{height:var(--ds-space-250,20px);width:var(--ds-space-250,20px)}
|
|
48
48
|
.cc-ydjhnl .ProseMirror>.ak-editor-expand__type-expand, .cc-ydjhnl .fabric-editor-breakout-mark-dom>.ak-editor-expand__type-expand{margin-left:var(--ds-space-negative-150,-9pt);margin-right:var(--ds-space-negative-150,-9pt)}
|
|
49
49
|
.cc-6vgdj1 .ak-editor-expand__icon>div{display:flex}.cc-6vgdj1 .ak-editor-expand{border-width:var(--ds-border-width,1px);border-style:solid;border-color:transparent;border-radius:var(--ds-radius-small,4px);min-height:25px;background:var(--ds-background-neutral-subtle,#00000000);margin:var(--ds-space-050,4px) 0 0;transition-property:background,border-color;transition-duration:.3s,.3s;transition-timing-function:cubic-bezier(.15,1,.3,1),cubic-bezier(.15,1,.3,1);cursor:pointer;box-sizing:border-box;padding:var(--ds-space-100,8px)}.cc-6vgdj1 .ak-editor-expand td>:not(style):first-child, .cc-6vgdj1 .ak-editor-expand td>style:first-child+*{margin-top:0}.cc-6vgdj1 .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258);transform:rotate(90deg)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger){position:relative;-webkit-user-select:text}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger):before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger){border:var(--ds-border-width,1px) solid var(--ds-border-selected,#1868db)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger) ::selection, .cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger) ::-moz-selection, .cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger)::-moz-selection{background-color:transparent}.cc-6vgdj1 .ak-editor-expand.danger{background:var(--ds-background-danger,#ffeceb);border-color:var(--ds-border-danger,#e2483d)}.cc-6vgdj1 .ak-editor-expand__content{padding-top:var(--ds-space-0,0);padding-right:var(--ds-space-100,8px);padding-left:var(--ds-space-300,24px);margin-left:var(--ds-space-050,4px);display:flow-root}@supports not (display:flow-root){.cc-6vgdj1 .ak-editor-expand__content{width:100%;box-sizing:border-box}}.cc-6vgdj1 .ak-editor-expand__content .expand-content-wrapper, .cc-6vgdj1 .ak-editor-expand__content .nestedExpand-content-wrapper{width:100%;display:block;height:0;overflow-x:hidden;overflow-y:hidden;clip:rect(1px,1px,1px,1px);-webkit-user-select:none;-ms-user-select:none;user-select:none}.cc-6vgdj1 .ak-editor-expand__content{cursor:text}.cc-6vgdj1 .ak-editor-expand__content.ak-editor-expand__content--collapsed{display:none}.cc-6vgdj1 .ak-editor-expand__title-input{outline-color:currentColor;outline-style:none;outline-width:medium;border:none;font-size:.875rem;line-height:1.714;font-weight:var(--ds-font-weight-regular,400);color:var(--ds-text-subtlest,#6b6e76);background-color:transparent;display:flex;flex-grow:1;flex-shrink:1;flex-basis:0%;padding:0 0 0 var(--ds-space-050,4px);width:100%}.cc-6vgdj1 .ak-editor-expand__title-input::-ms-input-placeholder{opacity:1;color:var(--ds-text-subtlest,#6b6e76)}.cc-6vgdj1 .ak-editor-expand__title-input::placeholder{opacity:1;color:var(--ds-text-subtlest,#6b6e76)}.cc-6vgdj1 .ak-editor-expand__title-container{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;display:flex;background:none;border:none;font-size:.875rem;width:100%;color:var(--ds-text-subtle,#505258);cursor:pointer}.cc-6vgdj1 .ak-editor-expand__title-container:focus{outline-color:currentColor;outline-style:none;outline-width:0}.cc-6vgdj1 .ak-editor-expand__title-container{align-items:center;overflow-x:visible;overflow-y:visible}.cc-6vgdj1 .ak-editor-expand__icon-button{-webkit-appearance:none;appearance:none;width:var(--ds-space-300,24px);height:var(--ds-space-300,24px);border:none;border-radius:var(--ds-radius-small,4px);background:var(--ds-background-neutral-subtle,#00000000);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.cc-6vgdj1 .ak-editor-expand__icon-button:disabled{cursor:not-allowed}.cc-6vgdj1 .ak-editor-expand__icon-button:focus-visible{outline:var(--ds-border-width-focused,2px) solid var(--ds-border-focused,#4688ec);outline-offset:var(--ds-space-025,2px)}.cc-6vgdj1 .ak-editor-expand__icon-button:hover:not(:disabled){background:var(--ds-background-neutral-subtle-hovered,#0515240f)}.cc-6vgdj1 .ak-editor-expand__icon-button .ak-editor-expand__icon-svg{color:var(--ds-icon-subtle,#505258);transform:rotate(0deg);transition:transform .2s cubic-bezier(.15,1,.3,1)}.cc-6vgdj1 .ak-editor-expand__expanded{background:var(--ds-background-neutral-subtle,#00000000);border-color:var(--ds-border,#0b120e24)}.cc-6vgdj1 .ak-editor-expand__expanded .ak-editor-expand__content{padding-top:var(--ds-space-100,8px)}.cc-6vgdj1 .ak-editor-expand__expanded .ak-editor-expand__icon-button .ak-editor-expand__icon-svg{transform:rotate(90deg)}.cc-6vgdj1 .ak-editor-expand__input-container{width:100%}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__content{position:absolute;height:1px;width:1px;overflow-x:hidden;overflow-y:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258);transform:rotate(0deg)}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded):not(.ak-editor-selected-node):not(.danger){background-color:transparent;border-color:transparent}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded):not(.ak-editor-selected-node):not(.danger):hover{border-color:var(--ds-border,#0b120e24);background:var(--ds-background-neutral-subtle,#00000000)}
|
|
50
50
|
.cc-1lto76z .ProseMirror>.ak-editor-expand{margin-left:0;margin-right:0}
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
.cc-zdnzj .resizer-item{will-change:width}.cc-zdnzj .resizer-item.display-handle>.resizer-handle-wrapper>.resizer-handle, .cc-zdnzj .resizer-item:hover>.resizer-handle-wrapper>.resizer-handle{visibility:visible;opacity:1}.cc-zdnzj .resizer-item.is-resizing .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .resizer-item.resizer-handle-danger .resizer-handle-thumb{transition:none;background:var(--ds-icon-danger,#c9372c)}.cc-zdnzj .resizer-handle{display:flex;visibility:hidden;opacity:0;flex-direction:column;justify-content:center;align-items:center;width:7px;transition:visibility .2s,opacity .2s}.cc-zdnzj .resizer-handle div[role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:var(--ds-space-negative-200,-1pc);white-space:normal}.cc-zdnzj .resizer-handle.left{align-items:flex-start}.cc-zdnzj .resizer-handle.right{align-items:flex-end}.cc-zdnzj .resizer-handle.small .resizer-handle-thumb{height:43px}.cc-zdnzj .resizer-handle.medium .resizer-handle-thumb{height:4pc}.cc-zdnzj .resizer-handle.large .resizer-handle-thumb{height:6pc}.cc-zdnzj .resizer-handle.clamped .resizer-handle-thumb{height:clamp(43px,calc(100% - 2pc),6pc)}.cc-zdnzj .resizer-handle.sticky .resizer-handle-thumb{position:sticky;top:var(--ds-space-150,9pt);bottom:var(--ds-space-150,9pt)}.cc-zdnzj .resizer-handle:hover .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .resizer-handle:hover .resizer-handle-track{visibility:visible;opacity:.5}.cc-zdnzj .resizer-handle-thumb{content:" ";display:flex;width:3px;margin:0 var(--ds-space-025,2px);height:4pc;transition:background-color .2s;border-radius:var(--ds-radius-medium,6px);border:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;z-index:2;outline-color:currentColor;outline-style:none;outline-width:medium;min-height:24px;background:var(--ds-border,#0b120e24)}.cc-zdnzj .resizer-handle-thumb:hover{cursor:col-resize}.cc-zdnzj .resizer-handle-thumb:focus{background:var(--ds-border-selected,#1868db)}.cc-zdnzj .resizer-handle-thumb:focus:after{content:"";position:absolute;top:var(--ds-space-negative-050,-4px);right:var(--ds-space-negative-050,-4px);bottom:var(--ds-space-negative-050,-4px);left:var(--ds-space-negative-050,-4px);border:var(--ds-border-width-selected,2px) solid var(--ds-border-focused,#4688ec);border-radius:inherit;z-index:-1}.cc-zdnzj .resizer-handle-track{visibility:hidden;position:absolute;width:7px;height:calc(100% - 40px);border-radius:var(--ds-radius-small,4px);opacity:0;transition:background-color .2s,visibility .2s,opacity .2s}.cc-zdnzj .resizer-handle-track.none{background:none}.cc-zdnzj .resizer-handle-track.shadow{background:var(--ds-background-selected,#e9f2fe)}.cc-zdnzj .resizer-handle-track.full-height{background:var(--ds-background-selected,#e9f2fe);height:100%;min-height:36px}.cc-zdnzj .ak-editor-selected-node .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .ak-editor-no-interaction .ak-editor-selected-node .resizer-handle:not(:hover) .resizer-handle-thumb{background:var(--ds-border,#0b120e24)}.cc-zdnzj .resizer-hover-zone{position:relative;display:flow-root;width:100%}.cc-zdnzj .resizer-hover-zone.resizer-is-extended{padding:0 var(--ds-space-150,9pt);left:var(--ds-space-negative-150,-9pt)}.cc-zdnzj table .resizer-hover-zone, .cc-zdnzj table .resizer-hover-zone.resizer-is-extended{padding-top:unset;padding-right:unset;padding-bottom:unset;padding-left:unset;left:unset}
|
|
140
140
|
.cc-1nsisym .resizer-handle.bottom{flex-direction:row;align-items:flex-end;width:100%;height:7px}.cc-1nsisym .resizer-handle.bottom .resizer-handle-thumb{width:4pc;height:3px;min-width:24px;min-height:0;margin-top:var(--ds-space-025,2px);margin-right:0;margin-bottom:var(--ds-space-025,2px);margin-left:0}.cc-1nsisym .resizer-handle.bottom .resizer-handle-thumb:hover{cursor:row-resize}.cc-1nsisym .resizer-handle.bottom .resizer-handle-track{width:calc(100% - 40px);height:7px}.cc-1nsisym .resizer-handle.bottom .resizer-handle-track.full-height{width:100%;height:7px;min-width:36px;min-height:0}.cc-1nsisym .resizer-handle.small.bottom .resizer-handle-thumb{width:43px;height:3px}.cc-1nsisym .resizer-handle.medium.bottom .resizer-handle-thumb{width:4pc;height:3px}.cc-1nsisym .resizer-handle.large.bottom .resizer-handle-thumb{width:6pc;height:3px}.cc-1nsisym .resizer-handle.clamped.bottom .resizer-handle-thumb{width:clamp(43px,calc(100% - 2pc),6pc);height:3px}
|
|
141
141
|
.cc-184ku22 .ProseMirror hr{border:none;background-color:var(--ds-border,#0b120e24);height:2px;border-radius:1px;cursor:pointer;padding:var(--ds-space-050,4px) 0;margin:var(--ds-space-300,24px) 0;background-clip:content-box}.cc-184ku22 .ProseMirror hr.ak-editor-selected-node{outline-color:currentColor;outline-style:none;outline-width:medium;background-color:var(--ds-border-selected,#1868db)}
|
|
142
|
-
.cc-ruh3pg .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image
|
|
143
|
-
.cc-1tcigme .ProseMirror
|
|
142
|
+
.cc-ruh3pg .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){outline:2px solid var(--show-diff-atomic-inline-changed-border-color,var(--ds-border-accent-purple,#af59e1));outline-offset:1px;border-radius:var(--ds-radius-xsmall,2px)}.cc-ruh3pg .ProseMirror .emojiView-content-wrap{display:inline-block}.cc-ruh3pg .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background:no-repeat transparent;display:inline-block;height:20px;min-height:20px;min-width:20px;max-height:28px;max-width:28px;cursor:pointer;vertical-align:middle;-webkit-user-select:all;user-select:all}.cc-ruh3pg .ProseMirror h1 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:28px;width:28px}.cc-ruh3pg .ProseMirror h2 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:26px;width:26px}.cc-ruh3pg .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:24px;width:24px}.cc-ruh3pg .ProseMirror h4 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:22px;width:22px}.cc-ruh3pg .ProseMirror :is(h5,h6,p) .emoji-common-placeholder{height:20px;width:20px}
|
|
143
|
+
.cc-1tcigme .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){width:16.25px;height:16.25px;min-height:16.25px;min-width:16.25px;max-height:24.25px;max-width:24.25px}.cc-1tcigme .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%;height:100%;object-fit:contain}.cc-1tcigme .ProseMirror .ak-editor-panel .ak-editor-panel__icon{height:var(--ds-space-250,20px);width:var(--ds-space-250,20px)}.cc-1tcigme .ProseMirror h1 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:24.25px;width:24.25px}.cc-1tcigme .ProseMirror h2 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:22.25px;width:22.25px}.cc-1tcigme .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:20.25px;width:20.25px}.cc-1tcigme .ProseMirror h4 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:18.25px;width:18.25px}.cc-1tcigme .ProseMirror h1 .emoji-common-placeholder{height:24.25px;width:24.25px}.cc-1tcigme .ProseMirror h2 .emoji-common-placeholder{height:22.25px;width:22.25px}.cc-1tcigme .ProseMirror h3 .emoji-common-placeholder{height:20.25px;width:20.25px}.cc-1tcigme .ProseMirror h4 .emoji-common-placeholder{height:18.25px;width:18.25px}.cc-1tcigme .ProseMirror :is(h5,h6,p) .emoji-common-placeholder{height:16.25px;width:16.25px}
|
|
144
144
|
.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)}
|
|
145
145
|
.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)}
|
|
146
146
|
.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}@supports (animation-timeline:--test-timeline) and (scroll-timeline-name:--test-timeline) and (timeline-scope:--test-timeline) and (animation-range:0% 101%){.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow){timeline-scope:--editor-extension-inline-scroll}.cc-j1h4lx .ProseMirror .extension-scroll-inline-shadow{scroll-timeline-name:--editor-extension-inline-scroll;scroll-timeline-axis:inline}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):after, .cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):before{content:"";position:absolute;z-index:2;top:0;bottom:0;width:8px;opacity:0;pointer-events:none;animation-duration:1ms;animation-timing-function:linear;animation-timeline:--editor-extension-inline-scroll}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):before{left:0;background-image: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);animation-name:kdz7omp;animation-range:0 101%}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):after{right:0;background-image: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);animation-name:k1sevukb}}
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "237.0.
|
|
9
|
+
var version = exports.version = "237.0.9";
|
|
@@ -664,29 +664,24 @@ export function ReactEditorView(props) {
|
|
|
664
664
|
const contextIdentifier = (_pluginInjectionAPI$c4 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c4 === void 0 ? void 0 : _pluginInjectionAPI$c4.sharedState.currentState();
|
|
665
665
|
const nodesInViewport = getNodesVisibleInViewport(viewRef.current.dom);
|
|
666
666
|
const nodeSize = viewRef.current.state.doc.nodeSize;
|
|
667
|
-
const
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
default:
|
|
686
|
-
return '50000+';
|
|
687
|
-
}
|
|
688
|
-
})()
|
|
689
|
-
} : {};
|
|
667
|
+
const totalNodes = Object.values(nodes).reduce((acc, curr) => acc + curr, 0);
|
|
668
|
+
// Computed on client for dimension bucketing in Statsig
|
|
669
|
+
const nodeSizeBucket = (() => {
|
|
670
|
+
switch (true) {
|
|
671
|
+
case nodeSize < 10000:
|
|
672
|
+
return '<10000';
|
|
673
|
+
case nodeSize < 20000:
|
|
674
|
+
return '<20000';
|
|
675
|
+
case nodeSize < 30000:
|
|
676
|
+
return '<30000';
|
|
677
|
+
case nodeSize < 40000:
|
|
678
|
+
return '<40000';
|
|
679
|
+
case nodeSize < 50000:
|
|
680
|
+
return '<50000';
|
|
681
|
+
default:
|
|
682
|
+
return '50000+';
|
|
683
|
+
}
|
|
684
|
+
})();
|
|
690
685
|
const editorDomSize = getEditorDomSize(viewRef.current);
|
|
691
686
|
const interaction = getActiveInteraction();
|
|
692
687
|
const pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
.cc-j6p7k2{--editor-font-ugc-token-heading-h1:normal 600 1.71429em/1.16667 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h2:normal 600 1.42857em/1.2 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h3:normal 600 1.14286em/1.25 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h4:normal 600 1em/1.14286 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h5:normal 600 0.857143em/1.33333 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h6:normal 600 0.785714em/1.45455 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-body:normal 400 1em/1.714 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-weight-heading-bold:700}
|
|
41
41
|
.cc-1x753i0{--editor-font-ugc-token-body-small:normal 400 0.875em/1.714 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}
|
|
42
42
|
.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout^=wrap-]{max-width:100%;position:relative;z-index:2}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-left]{float:left}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-right]{float:right}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-right]+.embedCardView-content-wrap[layout=wrap-left]{clear:both}
|
|
43
|
-
.cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-image, .cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-sprite
|
|
44
|
-
.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image
|
|
45
|
-
.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite
|
|
46
|
-
.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite
|
|
47
|
-
.cc-1d3vsly .ProseMirror
|
|
43
|
+
.cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-image, .cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);background-color:var(--ds-background-danger,#ffeceb)}
|
|
44
|
+
.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){outline:2px solid var(--show-diff-atomic-inline-changed-border-color,var(--ds-border-accent-purple,#af59e1));outline-offset:1px;border-radius:var(--ds-radius-xsmall,2px)}.cc-1c7fc54 .ProseMirror .emojiView-content-wrap{display:inline-block}.cc-1c7fc54 .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background:no-repeat transparent;display:inline-block;height:20px;max-height:20px;cursor:pointer;vertical-align:middle;-webkit-user-select:all;user-select:all}
|
|
45
|
+
.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite{border-radius:var(--ds-radius-xsmall,2px);position:relative;-webkit-user-select:text}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite:before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image ::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite ::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image ::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite ::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::-moz-selection{background-color:transparent}
|
|
46
|
+
.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite{border-radius:var(--ds-radius-xsmall,2px);position:relative;-webkit-user-select:text}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image:before, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite:before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image ::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite ::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite::selection{background-color:transparent}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image ::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite ::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite::-moz-selection{background-color:transparent}
|
|
47
|
+
.cc-1d3vsly .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){width:16.25px;height:16.25px;max-height:16.25px}.cc-1d3vsly .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%;height:100%;object-fit:contain}.cc-1d3vsly .ProseMirror .ak-editor-panel .ak-editor-panel__icon{height:var(--ds-space-250,20px);width:var(--ds-space-250,20px)}
|
|
48
48
|
.cc-ydjhnl .ProseMirror>.ak-editor-expand__type-expand, .cc-ydjhnl .fabric-editor-breakout-mark-dom>.ak-editor-expand__type-expand{margin-left:var(--ds-space-negative-150,-9pt);margin-right:var(--ds-space-negative-150,-9pt)}
|
|
49
49
|
.cc-6vgdj1 .ak-editor-expand__icon>div{display:flex}.cc-6vgdj1 .ak-editor-expand{border-width:var(--ds-border-width,1px);border-style:solid;border-color:transparent;border-radius:var(--ds-radius-small,4px);min-height:25px;background:var(--ds-background-neutral-subtle,#00000000);margin:var(--ds-space-050,4px) 0 0;transition-property:background,border-color;transition-duration:.3s,.3s;transition-timing-function:cubic-bezier(.15,1,.3,1),cubic-bezier(.15,1,.3,1);cursor:pointer;box-sizing:border-box;padding:var(--ds-space-100,8px)}.cc-6vgdj1 .ak-editor-expand td>:not(style):first-child, .cc-6vgdj1 .ak-editor-expand td>style:first-child+*{margin-top:0}.cc-6vgdj1 .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258);transform:rotate(90deg)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger){position:relative;-webkit-user-select:text}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger):before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger){border:var(--ds-border-width,1px) solid var(--ds-border-selected,#1868db)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger) ::selection, .cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger) ::-moz-selection, .cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger)::-moz-selection{background-color:transparent}.cc-6vgdj1 .ak-editor-expand.danger{background:var(--ds-background-danger,#ffeceb);border-color:var(--ds-border-danger,#e2483d)}.cc-6vgdj1 .ak-editor-expand__content{padding-top:var(--ds-space-0,0);padding-right:var(--ds-space-100,8px);padding-left:var(--ds-space-300,24px);margin-left:var(--ds-space-050,4px);display:flow-root}@supports not (display:flow-root){.cc-6vgdj1 .ak-editor-expand__content{width:100%;box-sizing:border-box}}.cc-6vgdj1 .ak-editor-expand__content .expand-content-wrapper, .cc-6vgdj1 .ak-editor-expand__content .nestedExpand-content-wrapper{width:100%;display:block;height:0;overflow-x:hidden;overflow-y:hidden;clip:rect(1px,1px,1px,1px);-webkit-user-select:none;-ms-user-select:none;user-select:none}.cc-6vgdj1 .ak-editor-expand__content{cursor:text}.cc-6vgdj1 .ak-editor-expand__content.ak-editor-expand__content--collapsed{display:none}.cc-6vgdj1 .ak-editor-expand__title-input{outline-color:currentColor;outline-style:none;outline-width:medium;border:none;font-size:.875rem;line-height:1.714;font-weight:var(--ds-font-weight-regular,400);color:var(--ds-text-subtlest,#6b6e76);background-color:transparent;display:flex;flex-grow:1;flex-shrink:1;flex-basis:0%;padding:0 0 0 var(--ds-space-050,4px);width:100%}.cc-6vgdj1 .ak-editor-expand__title-input::-ms-input-placeholder{opacity:1;color:var(--ds-text-subtlest,#6b6e76)}.cc-6vgdj1 .ak-editor-expand__title-input::placeholder{opacity:1;color:var(--ds-text-subtlest,#6b6e76)}.cc-6vgdj1 .ak-editor-expand__title-container{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;display:flex;background:none;border:none;font-size:.875rem;width:100%;color:var(--ds-text-subtle,#505258);cursor:pointer}.cc-6vgdj1 .ak-editor-expand__title-container:focus{outline-color:currentColor;outline-style:none;outline-width:0}.cc-6vgdj1 .ak-editor-expand__title-container{align-items:center;overflow-x:visible;overflow-y:visible}.cc-6vgdj1 .ak-editor-expand__icon-button{-webkit-appearance:none;appearance:none;width:var(--ds-space-300,24px);height:var(--ds-space-300,24px);border:none;border-radius:var(--ds-radius-small,4px);background:var(--ds-background-neutral-subtle,#00000000);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.cc-6vgdj1 .ak-editor-expand__icon-button:disabled{cursor:not-allowed}.cc-6vgdj1 .ak-editor-expand__icon-button:focus-visible{outline:var(--ds-border-width-focused,2px) solid var(--ds-border-focused,#4688ec);outline-offset:var(--ds-space-025,2px)}.cc-6vgdj1 .ak-editor-expand__icon-button:hover:not(:disabled){background:var(--ds-background-neutral-subtle-hovered,#0515240f)}.cc-6vgdj1 .ak-editor-expand__icon-button .ak-editor-expand__icon-svg{color:var(--ds-icon-subtle,#505258);transform:rotate(0deg);transition:transform .2s cubic-bezier(.15,1,.3,1)}.cc-6vgdj1 .ak-editor-expand__expanded{background:var(--ds-background-neutral-subtle,#00000000);border-color:var(--ds-border,#0b120e24)}.cc-6vgdj1 .ak-editor-expand__expanded .ak-editor-expand__content{padding-top:var(--ds-space-100,8px)}.cc-6vgdj1 .ak-editor-expand__expanded .ak-editor-expand__icon-button .ak-editor-expand__icon-svg{transform:rotate(90deg)}.cc-6vgdj1 .ak-editor-expand__input-container{width:100%}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__content{position:absolute;height:1px;width:1px;overflow-x:hidden;overflow-y:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258);transform:rotate(0deg)}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded):not(.ak-editor-selected-node):not(.danger){background-color:transparent;border-color:transparent}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded):not(.ak-editor-selected-node):not(.danger):hover{border-color:var(--ds-border,#0b120e24);background:var(--ds-background-neutral-subtle,#00000000)}
|
|
50
50
|
.cc-1lto76z .ProseMirror>.ak-editor-expand{margin-left:0;margin-right:0}
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
.cc-zdnzj .resizer-item{will-change:width}.cc-zdnzj .resizer-item.display-handle>.resizer-handle-wrapper>.resizer-handle, .cc-zdnzj .resizer-item:hover>.resizer-handle-wrapper>.resizer-handle{visibility:visible;opacity:1}.cc-zdnzj .resizer-item.is-resizing .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .resizer-item.resizer-handle-danger .resizer-handle-thumb{transition:none;background:var(--ds-icon-danger,#c9372c)}.cc-zdnzj .resizer-handle{display:flex;visibility:hidden;opacity:0;flex-direction:column;justify-content:center;align-items:center;width:7px;transition:visibility .2s,opacity .2s}.cc-zdnzj .resizer-handle div[role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:var(--ds-space-negative-200,-1pc);white-space:normal}.cc-zdnzj .resizer-handle.left{align-items:flex-start}.cc-zdnzj .resizer-handle.right{align-items:flex-end}.cc-zdnzj .resizer-handle.small .resizer-handle-thumb{height:43px}.cc-zdnzj .resizer-handle.medium .resizer-handle-thumb{height:4pc}.cc-zdnzj .resizer-handle.large .resizer-handle-thumb{height:6pc}.cc-zdnzj .resizer-handle.clamped .resizer-handle-thumb{height:clamp(43px,calc(100% - 2pc),6pc)}.cc-zdnzj .resizer-handle.sticky .resizer-handle-thumb{position:sticky;top:var(--ds-space-150,9pt);bottom:var(--ds-space-150,9pt)}.cc-zdnzj .resizer-handle:hover .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .resizer-handle:hover .resizer-handle-track{visibility:visible;opacity:.5}.cc-zdnzj .resizer-handle-thumb{content:" ";display:flex;width:3px;margin:0 var(--ds-space-025,2px);height:4pc;transition:background-color .2s;border-radius:var(--ds-radius-medium,6px);border:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;z-index:2;outline-color:currentColor;outline-style:none;outline-width:medium;min-height:24px;background:var(--ds-border,#0b120e24)}.cc-zdnzj .resizer-handle-thumb:hover{cursor:col-resize}.cc-zdnzj .resizer-handle-thumb:focus{background:var(--ds-border-selected,#1868db)}.cc-zdnzj .resizer-handle-thumb:focus:after{content:"";position:absolute;top:var(--ds-space-negative-050,-4px);right:var(--ds-space-negative-050,-4px);bottom:var(--ds-space-negative-050,-4px);left:var(--ds-space-negative-050,-4px);border:var(--ds-border-width-selected,2px) solid var(--ds-border-focused,#4688ec);border-radius:inherit;z-index:-1}.cc-zdnzj .resizer-handle-track{visibility:hidden;position:absolute;width:7px;height:calc(100% - 40px);border-radius:var(--ds-radius-small,4px);opacity:0;transition:background-color .2s,visibility .2s,opacity .2s}.cc-zdnzj .resizer-handle-track.none{background:none}.cc-zdnzj .resizer-handle-track.shadow{background:var(--ds-background-selected,#e9f2fe)}.cc-zdnzj .resizer-handle-track.full-height{background:var(--ds-background-selected,#e9f2fe);height:100%;min-height:36px}.cc-zdnzj .ak-editor-selected-node .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .ak-editor-no-interaction .ak-editor-selected-node .resizer-handle:not(:hover) .resizer-handle-thumb{background:var(--ds-border,#0b120e24)}.cc-zdnzj .resizer-hover-zone{position:relative;display:flow-root;width:100%}.cc-zdnzj .resizer-hover-zone.resizer-is-extended{padding:0 var(--ds-space-150,9pt);left:var(--ds-space-negative-150,-9pt)}.cc-zdnzj table .resizer-hover-zone, .cc-zdnzj table .resizer-hover-zone.resizer-is-extended{padding-top:unset;padding-right:unset;padding-bottom:unset;padding-left:unset;left:unset}
|
|
140
140
|
.cc-1nsisym .resizer-handle.bottom{flex-direction:row;align-items:flex-end;width:100%;height:7px}.cc-1nsisym .resizer-handle.bottom .resizer-handle-thumb{width:4pc;height:3px;min-width:24px;min-height:0;margin-top:var(--ds-space-025,2px);margin-right:0;margin-bottom:var(--ds-space-025,2px);margin-left:0}.cc-1nsisym .resizer-handle.bottom .resizer-handle-thumb:hover{cursor:row-resize}.cc-1nsisym .resizer-handle.bottom .resizer-handle-track{width:calc(100% - 40px);height:7px}.cc-1nsisym .resizer-handle.bottom .resizer-handle-track.full-height{width:100%;height:7px;min-width:36px;min-height:0}.cc-1nsisym .resizer-handle.small.bottom .resizer-handle-thumb{width:43px;height:3px}.cc-1nsisym .resizer-handle.medium.bottom .resizer-handle-thumb{width:4pc;height:3px}.cc-1nsisym .resizer-handle.large.bottom .resizer-handle-thumb{width:6pc;height:3px}.cc-1nsisym .resizer-handle.clamped.bottom .resizer-handle-thumb{width:clamp(43px,calc(100% - 2pc),6pc);height:3px}
|
|
141
141
|
.cc-184ku22 .ProseMirror hr{border:none;background-color:var(--ds-border,#0b120e24);height:2px;border-radius:1px;cursor:pointer;padding:var(--ds-space-050,4px) 0;margin:var(--ds-space-300,24px) 0;background-clip:content-box}.cc-184ku22 .ProseMirror hr.ak-editor-selected-node{outline-color:currentColor;outline-style:none;outline-width:medium;background-color:var(--ds-border-selected,#1868db)}
|
|
142
|
-
.cc-ruh3pg .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image
|
|
143
|
-
.cc-1tcigme .ProseMirror
|
|
142
|
+
.cc-ruh3pg .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){outline:2px solid var(--show-diff-atomic-inline-changed-border-color,var(--ds-border-accent-purple,#af59e1));outline-offset:1px;border-radius:var(--ds-radius-xsmall,2px)}.cc-ruh3pg .ProseMirror .emojiView-content-wrap{display:inline-block}.cc-ruh3pg .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background:no-repeat transparent;display:inline-block;height:20px;min-height:20px;min-width:20px;max-height:28px;max-width:28px;cursor:pointer;vertical-align:middle;-webkit-user-select:all;user-select:all}.cc-ruh3pg .ProseMirror h1 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:28px;width:28px}.cc-ruh3pg .ProseMirror h2 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:26px;width:26px}.cc-ruh3pg .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:24px;width:24px}.cc-ruh3pg .ProseMirror h4 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:22px;width:22px}.cc-ruh3pg .ProseMirror :is(h5,h6,p) .emoji-common-placeholder{height:20px;width:20px}
|
|
143
|
+
.cc-1tcigme .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){width:16.25px;height:16.25px;min-height:16.25px;min-width:16.25px;max-height:24.25px;max-width:24.25px}.cc-1tcigme .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%;height:100%;object-fit:contain}.cc-1tcigme .ProseMirror .ak-editor-panel .ak-editor-panel__icon{height:var(--ds-space-250,20px);width:var(--ds-space-250,20px)}.cc-1tcigme .ProseMirror h1 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:24.25px;width:24.25px}.cc-1tcigme .ProseMirror h2 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:22.25px;width:22.25px}.cc-1tcigme .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:20.25px;width:20.25px}.cc-1tcigme .ProseMirror h4 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:18.25px;width:18.25px}.cc-1tcigme .ProseMirror h1 .emoji-common-placeholder{height:24.25px;width:24.25px}.cc-1tcigme .ProseMirror h2 .emoji-common-placeholder{height:22.25px;width:22.25px}.cc-1tcigme .ProseMirror h3 .emoji-common-placeholder{height:20.25px;width:20.25px}.cc-1tcigme .ProseMirror h4 .emoji-common-placeholder{height:18.25px;width:18.25px}.cc-1tcigme .ProseMirror :is(h5,h6,p) .emoji-common-placeholder{height:16.25px;width:16.25px}
|
|
144
144
|
.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)}
|
|
145
145
|
.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)}
|
|
146
146
|
.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}@supports (animation-timeline:--test-timeline) and (scroll-timeline-name:--test-timeline) and (timeline-scope:--test-timeline) and (animation-range:0% 101%){.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow){timeline-scope:--editor-extension-inline-scroll}.cc-j1h4lx .ProseMirror .extension-scroll-inline-shadow{scroll-timeline-name:--editor-extension-inline-scroll;scroll-timeline-axis:inline}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):after, .cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):before{content:"";position:absolute;z-index:2;top:0;bottom:0;width:8px;opacity:0;pointer-events:none;animation-duration:1ms;animation-timing-function:linear;animation-timeline:--editor-extension-inline-scroll}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):before{left:0;background-image: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);animation-name:kdz7omp;animation-range:0 101%}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):after{right:0;background-image: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);animation-name:k1sevukb}}
|
|
@@ -703,30 +703,26 @@ export function ReactEditorView(props) {
|
|
|
703
703
|
var contextIdentifier = (_pluginInjectionAPI$c2 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c2 === void 0 ? void 0 : _pluginInjectionAPI$c2.sharedState.currentState();
|
|
704
704
|
var nodesInViewport = getNodesVisibleInViewport(viewRef.current.dom);
|
|
705
705
|
var nodeSize = viewRef.current.state.doc.nodeSize;
|
|
706
|
-
var
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
}()
|
|
727
|
-
} : {},
|
|
728
|
-
totalNodes = _ref4.totalNodes,
|
|
729
|
-
nodeSizeBucket = _ref4.nodeSizeBucket;
|
|
706
|
+
var totalNodes = Object.values(nodes).reduce(function (acc, curr) {
|
|
707
|
+
return acc + curr;
|
|
708
|
+
}, 0);
|
|
709
|
+
// Computed on client for dimension bucketing in Statsig
|
|
710
|
+
var nodeSizeBucket = function () {
|
|
711
|
+
switch (true) {
|
|
712
|
+
case nodeSize < 10000:
|
|
713
|
+
return '<10000';
|
|
714
|
+
case nodeSize < 20000:
|
|
715
|
+
return '<20000';
|
|
716
|
+
case nodeSize < 30000:
|
|
717
|
+
return '<30000';
|
|
718
|
+
case nodeSize < 40000:
|
|
719
|
+
return '<40000';
|
|
720
|
+
case nodeSize < 50000:
|
|
721
|
+
return '<50000';
|
|
722
|
+
default:
|
|
723
|
+
return '50000+';
|
|
724
|
+
}
|
|
725
|
+
}();
|
|
730
726
|
var editorDomSize = getEditorDomSize(viewRef.current);
|
|
731
727
|
var interaction = getActiveInteraction();
|
|
732
728
|
var pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
|
|
@@ -1030,10 +1026,10 @@ export function ReactEditorView(props) {
|
|
|
1030
1026
|
}, [defaultValue, parseDoc, props.editorProps.sanitizePrivateContent, props.providerFactory]);
|
|
1031
1027
|
|
|
1032
1028
|
// We need to check `allowBlockType` in props, because it is now exist in EditorNextProps type.
|
|
1033
|
-
var
|
|
1029
|
+
var _ref4 = 'allowBlockType' in props.editorProps ? props.editorProps : {
|
|
1034
1030
|
allowBlockType: undefined
|
|
1035
1031
|
},
|
|
1036
|
-
allowBlockType =
|
|
1032
|
+
allowBlockType = _ref4.allowBlockType;
|
|
1037
1033
|
|
|
1038
1034
|
// In separate memo, because some props like `props.intl` that need only for rendering
|
|
1039
1035
|
// changes many times, but we don't want to process plugins and ADF document for each unnecessary changes.
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
.cc-j6p7k2{--editor-font-ugc-token-heading-h1:normal 600 1.71429em/1.16667 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h2:normal 600 1.42857em/1.2 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h3:normal 600 1.14286em/1.25 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h4:normal 600 1em/1.14286 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h5:normal 600 0.857143em/1.33333 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-heading-h6:normal 600 0.785714em/1.45455 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-body:normal 400 1em/1.714 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}.cc-j6p7k2{--editor-font-ugc-token-weight-heading-bold:700}
|
|
41
41
|
.cc-1x753i0{--editor-font-ugc-token-body-small:normal 400 0.875em/1.714 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}
|
|
42
42
|
.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout^=wrap-]{max-width:100%;position:relative;z-index:2}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-left]{float:left}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-right]{float:right}.cc-epa0ej .ProseMirror .embedCardView-content-wrap[layout=wrap-right]+.embedCardView-content-wrap[layout=wrap-left]{clear:both}
|
|
43
|
-
.cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-image, .cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-sprite
|
|
44
|
-
.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image
|
|
45
|
-
.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite
|
|
46
|
-
.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite
|
|
47
|
-
.cc-1d3vsly .ProseMirror
|
|
43
|
+
.cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-image, .cc-30ls2d .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);background-color:var(--ds-background-danger,#ffeceb)}
|
|
44
|
+
.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1c7fc54 .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){outline:2px solid var(--show-diff-atomic-inline-changed-border-color,var(--ds-border-accent-purple,#af59e1));outline-offset:1px;border-radius:var(--ds-radius-xsmall,2px)}.cc-1c7fc54 .ProseMirror .emojiView-content-wrap{display:inline-block}.cc-1c7fc54 .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background:no-repeat transparent;display:inline-block;height:20px;max-height:20px;cursor:pointer;vertical-align:middle;-webkit-user-select:all;user-select:all}
|
|
45
|
+
.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite{border-radius:var(--ds-radius-xsmall,2px);position:relative;-webkit-user-select:text}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite:before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image ::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite ::selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}.cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image ::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite ::-moz-selection, .cc-1w90uvx .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::-moz-selection{background-color:transparent}
|
|
46
|
+
.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite{border-radius:var(--ds-radius-xsmall,2px);position:relative;-webkit-user-select:text}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image:before, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite:before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image ::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite ::selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite::selection{background-color:transparent}.cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image ::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-image::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite ::-moz-selection, .cc-15yelzs .ProseMirror .ak-editor-selected-node[data-emoji-id] .emoji-common-emoji-sprite::-moz-selection{background-color:transparent}
|
|
47
|
+
.cc-1d3vsly .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){width:16.25px;height:16.25px;max-height:16.25px}.cc-1d3vsly .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%;height:100%;object-fit:contain}.cc-1d3vsly .ProseMirror .ak-editor-panel .ak-editor-panel__icon{height:var(--ds-space-250,20px);width:var(--ds-space-250,20px)}
|
|
48
48
|
.cc-ydjhnl .ProseMirror>.ak-editor-expand__type-expand, .cc-ydjhnl .fabric-editor-breakout-mark-dom>.ak-editor-expand__type-expand{margin-left:var(--ds-space-negative-150,-9pt);margin-right:var(--ds-space-negative-150,-9pt)}
|
|
49
49
|
.cc-6vgdj1 .ak-editor-expand__icon>div{display:flex}.cc-6vgdj1 .ak-editor-expand{border-width:var(--ds-border-width,1px);border-style:solid;border-color:transparent;border-radius:var(--ds-radius-small,4px);min-height:25px;background:var(--ds-background-neutral-subtle,#00000000);margin:var(--ds-space-050,4px) 0 0;transition-property:background,border-color;transition-duration:.3s,.3s;transition-timing-function:cubic-bezier(.15,1,.3,1),cubic-bezier(.15,1,.3,1);cursor:pointer;box-sizing:border-box;padding:var(--ds-space-100,8px)}.cc-6vgdj1 .ak-editor-expand td>:not(style):first-child, .cc-6vgdj1 .ak-editor-expand td>style:first-child+*{margin-top:0}.cc-6vgdj1 .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258);transform:rotate(90deg)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger){position:relative;-webkit-user-select:text}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger):before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger){border:var(--ds-border-width,1px) solid var(--ds-border-selected,#1868db)}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger) ::selection, .cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}.cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger) ::-moz-selection, .cc-6vgdj1 .ak-editor-expand.ak-editor-selected-node:not(.danger)::-moz-selection{background-color:transparent}.cc-6vgdj1 .ak-editor-expand.danger{background:var(--ds-background-danger,#ffeceb);border-color:var(--ds-border-danger,#e2483d)}.cc-6vgdj1 .ak-editor-expand__content{padding-top:var(--ds-space-0,0);padding-right:var(--ds-space-100,8px);padding-left:var(--ds-space-300,24px);margin-left:var(--ds-space-050,4px);display:flow-root}@supports not (display:flow-root){.cc-6vgdj1 .ak-editor-expand__content{width:100%;box-sizing:border-box}}.cc-6vgdj1 .ak-editor-expand__content .expand-content-wrapper, .cc-6vgdj1 .ak-editor-expand__content .nestedExpand-content-wrapper{width:100%;display:block;height:0;overflow-x:hidden;overflow-y:hidden;clip:rect(1px,1px,1px,1px);-webkit-user-select:none;-ms-user-select:none;user-select:none}.cc-6vgdj1 .ak-editor-expand__content{cursor:text}.cc-6vgdj1 .ak-editor-expand__content.ak-editor-expand__content--collapsed{display:none}.cc-6vgdj1 .ak-editor-expand__title-input{outline-color:currentColor;outline-style:none;outline-width:medium;border:none;font-size:.875rem;line-height:1.714;font-weight:var(--ds-font-weight-regular,400);color:var(--ds-text-subtlest,#6b6e76);background-color:transparent;display:flex;flex-grow:1;flex-shrink:1;flex-basis:0%;padding:0 0 0 var(--ds-space-050,4px);width:100%}.cc-6vgdj1 .ak-editor-expand__title-input::-ms-input-placeholder{opacity:1;color:var(--ds-text-subtlest,#6b6e76)}.cc-6vgdj1 .ak-editor-expand__title-input::placeholder{opacity:1;color:var(--ds-text-subtlest,#6b6e76)}.cc-6vgdj1 .ak-editor-expand__title-container{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;display:flex;background:none;border:none;font-size:.875rem;width:100%;color:var(--ds-text-subtle,#505258);cursor:pointer}.cc-6vgdj1 .ak-editor-expand__title-container:focus{outline-color:currentColor;outline-style:none;outline-width:0}.cc-6vgdj1 .ak-editor-expand__title-container{align-items:center;overflow-x:visible;overflow-y:visible}.cc-6vgdj1 .ak-editor-expand__icon-button{-webkit-appearance:none;appearance:none;width:var(--ds-space-300,24px);height:var(--ds-space-300,24px);border:none;border-radius:var(--ds-radius-small,4px);background:var(--ds-background-neutral-subtle,#00000000);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.cc-6vgdj1 .ak-editor-expand__icon-button:disabled{cursor:not-allowed}.cc-6vgdj1 .ak-editor-expand__icon-button:focus-visible{outline:var(--ds-border-width-focused,2px) solid var(--ds-border-focused,#4688ec);outline-offset:var(--ds-space-025,2px)}.cc-6vgdj1 .ak-editor-expand__icon-button:hover:not(:disabled){background:var(--ds-background-neutral-subtle-hovered,#0515240f)}.cc-6vgdj1 .ak-editor-expand__icon-button .ak-editor-expand__icon-svg{color:var(--ds-icon-subtle,#505258);transform:rotate(0deg);transition:transform .2s cubic-bezier(.15,1,.3,1)}.cc-6vgdj1 .ak-editor-expand__expanded{background:var(--ds-background-neutral-subtle,#00000000);border-color:var(--ds-border,#0b120e24)}.cc-6vgdj1 .ak-editor-expand__expanded .ak-editor-expand__content{padding-top:var(--ds-space-100,8px)}.cc-6vgdj1 .ak-editor-expand__expanded .ak-editor-expand__icon-button .ak-editor-expand__icon-svg{transform:rotate(90deg)}.cc-6vgdj1 .ak-editor-expand__input-container{width:100%}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__content{position:absolute;height:1px;width:1px;overflow-x:hidden;overflow-y:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258);transform:rotate(0deg)}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded):not(.ak-editor-selected-node):not(.danger){background-color:transparent;border-color:transparent}.cc-6vgdj1 .ak-editor-expand:not(.ak-editor-expand__expanded):not(.ak-editor-selected-node):not(.danger):hover{border-color:var(--ds-border,#0b120e24);background:var(--ds-background-neutral-subtle,#00000000)}
|
|
50
50
|
.cc-1lto76z .ProseMirror>.ak-editor-expand{margin-left:0;margin-right:0}
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
.cc-zdnzj .resizer-item{will-change:width}.cc-zdnzj .resizer-item.display-handle>.resizer-handle-wrapper>.resizer-handle, .cc-zdnzj .resizer-item:hover>.resizer-handle-wrapper>.resizer-handle{visibility:visible;opacity:1}.cc-zdnzj .resizer-item.is-resizing .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .resizer-item.resizer-handle-danger .resizer-handle-thumb{transition:none;background:var(--ds-icon-danger,#c9372c)}.cc-zdnzj .resizer-handle{display:flex;visibility:hidden;opacity:0;flex-direction:column;justify-content:center;align-items:center;width:7px;transition:visibility .2s,opacity .2s}.cc-zdnzj .resizer-handle div[role=presentation]:not(:where([popover],dialog,[popover] *,dialog *)){width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:var(--ds-space-negative-200,-1pc);white-space:normal}.cc-zdnzj .resizer-handle.left{align-items:flex-start}.cc-zdnzj .resizer-handle.right{align-items:flex-end}.cc-zdnzj .resizer-handle.small .resizer-handle-thumb{height:43px}.cc-zdnzj .resizer-handle.medium .resizer-handle-thumb{height:4pc}.cc-zdnzj .resizer-handle.large .resizer-handle-thumb{height:6pc}.cc-zdnzj .resizer-handle.clamped .resizer-handle-thumb{height:clamp(43px,calc(100% - 2pc),6pc)}.cc-zdnzj .resizer-handle.sticky .resizer-handle-thumb{position:sticky;top:var(--ds-space-150,9pt);bottom:var(--ds-space-150,9pt)}.cc-zdnzj .resizer-handle:hover .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .resizer-handle:hover .resizer-handle-track{visibility:visible;opacity:.5}.cc-zdnzj .resizer-handle-thumb{content:" ";display:flex;width:3px;margin:0 var(--ds-space-025,2px);height:4pc;transition:background-color .2s;border-radius:var(--ds-radius-medium,6px);border:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;z-index:2;outline-color:currentColor;outline-style:none;outline-width:medium;min-height:24px;background:var(--ds-border,#0b120e24)}.cc-zdnzj .resizer-handle-thumb:hover{cursor:col-resize}.cc-zdnzj .resizer-handle-thumb:focus{background:var(--ds-border-selected,#1868db)}.cc-zdnzj .resizer-handle-thumb:focus:after{content:"";position:absolute;top:var(--ds-space-negative-050,-4px);right:var(--ds-space-negative-050,-4px);bottom:var(--ds-space-negative-050,-4px);left:var(--ds-space-negative-050,-4px);border:var(--ds-border-width-selected,2px) solid var(--ds-border-focused,#4688ec);border-radius:inherit;z-index:-1}.cc-zdnzj .resizer-handle-track{visibility:hidden;position:absolute;width:7px;height:calc(100% - 40px);border-radius:var(--ds-radius-small,4px);opacity:0;transition:background-color .2s,visibility .2s,opacity .2s}.cc-zdnzj .resizer-handle-track.none{background:none}.cc-zdnzj .resizer-handle-track.shadow{background:var(--ds-background-selected,#e9f2fe)}.cc-zdnzj .resizer-handle-track.full-height{background:var(--ds-background-selected,#e9f2fe);height:100%;min-height:36px}.cc-zdnzj .ak-editor-selected-node .resizer-handle-thumb{background:var(--ds-border-focused,#4688ec)}.cc-zdnzj .ak-editor-no-interaction .ak-editor-selected-node .resizer-handle:not(:hover) .resizer-handle-thumb{background:var(--ds-border,#0b120e24)}.cc-zdnzj .resizer-hover-zone{position:relative;display:flow-root;width:100%}.cc-zdnzj .resizer-hover-zone.resizer-is-extended{padding:0 var(--ds-space-150,9pt);left:var(--ds-space-negative-150,-9pt)}.cc-zdnzj table .resizer-hover-zone, .cc-zdnzj table .resizer-hover-zone.resizer-is-extended{padding-top:unset;padding-right:unset;padding-bottom:unset;padding-left:unset;left:unset}
|
|
140
140
|
.cc-1nsisym .resizer-handle.bottom{flex-direction:row;align-items:flex-end;width:100%;height:7px}.cc-1nsisym .resizer-handle.bottom .resizer-handle-thumb{width:4pc;height:3px;min-width:24px;min-height:0;margin-top:var(--ds-space-025,2px);margin-right:0;margin-bottom:var(--ds-space-025,2px);margin-left:0}.cc-1nsisym .resizer-handle.bottom .resizer-handle-thumb:hover{cursor:row-resize}.cc-1nsisym .resizer-handle.bottom .resizer-handle-track{width:calc(100% - 40px);height:7px}.cc-1nsisym .resizer-handle.bottom .resizer-handle-track.full-height{width:100%;height:7px;min-width:36px;min-height:0}.cc-1nsisym .resizer-handle.small.bottom .resizer-handle-thumb{width:43px;height:3px}.cc-1nsisym .resizer-handle.medium.bottom .resizer-handle-thumb{width:4pc;height:3px}.cc-1nsisym .resizer-handle.large.bottom .resizer-handle-thumb{width:6pc;height:3px}.cc-1nsisym .resizer-handle.clamped.bottom .resizer-handle-thumb{width:clamp(43px,calc(100% - 2pc),6pc);height:3px}
|
|
141
141
|
.cc-184ku22 .ProseMirror hr{border:none;background-color:var(--ds-border,#0b120e24);height:2px;border-radius:1px;cursor:pointer;padding:var(--ds-space-050,4px) 0;margin:var(--ds-space-300,24px) 0;background-clip:content-box}.cc-184ku22 .ProseMirror hr.ak-editor-selected-node{outline-color:currentColor;outline-style:none;outline-width:medium;background-color:var(--ds-border-selected,#1868db)}
|
|
142
|
-
.cc-ruh3pg .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image
|
|
143
|
-
.cc-1tcigme .ProseMirror
|
|
142
|
+
.cc-ruh3pg .show-diff-atomic-inline-changed-emoji{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-ruh3pg .show-diff-atomic-inline-changed-emoji :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){outline:2px solid var(--show-diff-atomic-inline-changed-border-color,var(--ds-border-accent-purple,#af59e1));outline-offset:1px;border-radius:var(--ds-radius-xsmall,2px)}.cc-ruh3pg .ProseMirror .emojiView-content-wrap{display:inline-block}.cc-ruh3pg .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background:no-repeat transparent;display:inline-block;height:20px;min-height:20px;min-width:20px;max-height:28px;max-width:28px;cursor:pointer;vertical-align:middle;-webkit-user-select:all;user-select:all}.cc-ruh3pg .ProseMirror h1 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:28px;width:28px}.cc-ruh3pg .ProseMirror h2 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:26px;width:26px}.cc-ruh3pg .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:24px;width:24px}.cc-ruh3pg .ProseMirror h4 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image,.emoji-common-placeholder){height:22px;width:22px}.cc-ruh3pg .ProseMirror :is(h5,h6,p) .emoji-common-placeholder{height:20px;width:20px}
|
|
143
|
+
.cc-1tcigme .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){width:16.25px;height:16.25px;min-height:16.25px;min-width:16.25px;max-height:24.25px;max-width:24.25px}.cc-1tcigme .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%;height:100%;object-fit:contain}.cc-1tcigme .ProseMirror .ak-editor-panel .ak-editor-panel__icon{height:var(--ds-space-250,20px);width:var(--ds-space-250,20px)}.cc-1tcigme .ProseMirror h1 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:24.25px;width:24.25px}.cc-1tcigme .ProseMirror h2 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:22.25px;width:22.25px}.cc-1tcigme .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:20.25px;width:20.25px}.cc-1tcigme .ProseMirror h4 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:18.25px;width:18.25px}.cc-1tcigme .ProseMirror h1 .emoji-common-placeholder{height:24.25px;width:24.25px}.cc-1tcigme .ProseMirror h2 .emoji-common-placeholder{height:22.25px;width:22.25px}.cc-1tcigme .ProseMirror h3 .emoji-common-placeholder{height:20.25px;width:20.25px}.cc-1tcigme .ProseMirror h4 .emoji-common-placeholder{height:18.25px;width:18.25px}.cc-1tcigme .ProseMirror :is(h5,h6,p) .emoji-common-placeholder{height:16.25px;width:16.25px}
|
|
144
144
|
.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)}
|
|
145
145
|
.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)}
|
|
146
146
|
.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}@supports (animation-timeline:--test-timeline) and (scroll-timeline-name:--test-timeline) and (timeline-scope:--test-timeline) and (animation-range:0% 101%){.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow){timeline-scope:--editor-extension-inline-scroll}.cc-j1h4lx .ProseMirror .extension-scroll-inline-shadow{scroll-timeline-name:--editor-extension-inline-scroll;scroll-timeline-axis:inline}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):after, .cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):before{content:"";position:absolute;z-index:2;top:0;bottom:0;width:8px;opacity:0;pointer-events:none;animation-duration:1ms;animation-timing-function:linear;animation-timeline:--editor-extension-inline-scroll}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):before{left:0;background-image: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);animation-name:kdz7omp;animation-range:0 101%}.cc-j1h4lx .ProseMirror .extension-container:has(>.extension-scroll-inline-shadow):after{right:0;background-image: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);animation-name:k1sevukb}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "238.0.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
"@atlaskit/button": "^25.4.0",
|
|
51
51
|
"@atlaskit/css": "^1.1.0",
|
|
52
52
|
"@atlaskit/editor-json-transformer": "^10.0.0",
|
|
53
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
54
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
55
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
56
|
-
"@atlaskit/editor-plugin-selection-extension": "^
|
|
57
|
-
"@atlaskit/editor-plugin-user-preferences": "^
|
|
53
|
+
"@atlaskit/editor-plugin-block-menu": "^27.0.0",
|
|
54
|
+
"@atlaskit/editor-plugin-connectivity": "^28.0.0",
|
|
55
|
+
"@atlaskit/editor-plugin-quick-insert": "^28.0.0",
|
|
56
|
+
"@atlaskit/editor-plugin-selection-extension": "^31.0.0",
|
|
57
|
+
"@atlaskit/editor-plugin-user-preferences": "^26.0.0",
|
|
58
58
|
"@atlaskit/editor-plugins": "^16.2.0",
|
|
59
59
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
60
60
|
"@atlaskit/editor-shared-styles": "^4.5.0",
|
|
61
|
-
"@atlaskit/editor-ssr-renderer": "^
|
|
61
|
+
"@atlaskit/editor-ssr-renderer": "^23.0.0",
|
|
62
62
|
"@atlaskit/editor-toolbar": "^2.8.0",
|
|
63
63
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
64
|
-
"@atlaskit/emoji": "^
|
|
64
|
+
"@atlaskit/emoji": "^73.0.0",
|
|
65
65
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
66
66
|
"@atlaskit/heading": "^8.0.0",
|
|
67
67
|
"@atlaskit/icon": "^38.0.0",
|
|
68
68
|
"@atlaskit/icon-lab": "^7.11.0",
|
|
69
69
|
"@atlaskit/link": "^5.1.0",
|
|
70
70
|
"@atlaskit/media-card": "^82.1.0",
|
|
71
|
-
"@atlaskit/mention": "^30.
|
|
71
|
+
"@atlaskit/mention": "^30.3.0",
|
|
72
72
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"uuid": "^11.1.1"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@atlaskit/editor-common": "^
|
|
99
|
+
"@atlaskit/editor-common": "^132.0.0",
|
|
100
100
|
"@atlaskit/link-provider": "^6.0.0",
|
|
101
101
|
"@atlaskit/media-core": "^39.0.0",
|
|
102
102
|
"react": "^18.2.0 || ^19.2.0",
|
|
@@ -112,37 +112,37 @@
|
|
|
112
112
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
113
113
|
"@atlaskit/analytics-listeners": "^11.4.0",
|
|
114
114
|
"@atlaskit/code": "^20.0.0",
|
|
115
|
-
"@atlaskit/collab-provider": "^
|
|
115
|
+
"@atlaskit/collab-provider": "^37.0.0",
|
|
116
116
|
"@atlaskit/docs": "^12.3.0",
|
|
117
117
|
"@atlaskit/drawer": "^14.3.0",
|
|
118
|
-
"@atlaskit/editor-plugin-alignment": "^
|
|
119
|
-
"@atlaskit/editor-plugin-annotation": "^
|
|
120
|
-
"@atlaskit/editor-plugin-base": "^
|
|
121
|
-
"@atlaskit/editor-plugin-card": "^
|
|
122
|
-
"@atlaskit/editor-plugin-code-block-advanced": "^
|
|
123
|
-
"@atlaskit/editor-plugin-collab-edit": "^
|
|
124
|
-
"@atlaskit/editor-plugin-content-insertion": "^
|
|
125
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
126
|
-
"@atlaskit/editor-plugin-extension": "^
|
|
127
|
-
"@atlaskit/editor-plugin-grid": "^
|
|
128
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
129
|
-
"@atlaskit/editor-plugin-highlight": "^
|
|
130
|
-
"@atlaskit/editor-plugin-insert-block": "^
|
|
131
|
-
"@atlaskit/editor-plugin-layout": "^
|
|
132
|
-
"@atlaskit/editor-plugin-limited-mode": "^
|
|
133
|
-
"@atlaskit/editor-plugin-list": "^
|
|
134
|
-
"@atlaskit/editor-plugin-media": "^
|
|
135
|
-
"@atlaskit/editor-plugin-paste": "^
|
|
136
|
-
"@atlaskit/editor-plugin-selection-marker": "^
|
|
137
|
-
"@atlaskit/editor-plugin-show-diff": "^
|
|
138
|
-
"@atlaskit/editor-plugin-synced-block": "^
|
|
139
|
-
"@atlaskit/editor-plugin-table": "^
|
|
140
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^
|
|
141
|
-
"@atlaskit/editor-plugin-text-color": "^
|
|
142
|
-
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^
|
|
143
|
-
"@atlaskit/editor-plugin-track-changes": "^
|
|
144
|
-
"@atlaskit/editor-synced-block-provider": "^
|
|
145
|
-
"@atlaskit/editor-synced-block-renderer": "^
|
|
118
|
+
"@atlaskit/editor-plugin-alignment": "^29.0.0",
|
|
119
|
+
"@atlaskit/editor-plugin-annotation": "^28.0.0",
|
|
120
|
+
"@atlaskit/editor-plugin-base": "^29.0.0",
|
|
121
|
+
"@atlaskit/editor-plugin-card": "^34.0.0",
|
|
122
|
+
"@atlaskit/editor-plugin-code-block-advanced": "^28.0.0",
|
|
123
|
+
"@atlaskit/editor-plugin-collab-edit": "^29.0.0",
|
|
124
|
+
"@atlaskit/editor-plugin-content-insertion": "^28.0.0",
|
|
125
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^30.0.0",
|
|
126
|
+
"@atlaskit/editor-plugin-extension": "^31.0.0",
|
|
127
|
+
"@atlaskit/editor-plugin-grid": "^28.0.0",
|
|
128
|
+
"@atlaskit/editor-plugin-guideline": "^28.0.0",
|
|
129
|
+
"@atlaskit/editor-plugin-highlight": "^28.0.0",
|
|
130
|
+
"@atlaskit/editor-plugin-insert-block": "^29.0.0",
|
|
131
|
+
"@atlaskit/editor-plugin-layout": "^29.0.0",
|
|
132
|
+
"@atlaskit/editor-plugin-limited-mode": "^25.0.0",
|
|
133
|
+
"@atlaskit/editor-plugin-list": "^30.0.0",
|
|
134
|
+
"@atlaskit/editor-plugin-media": "^30.0.0",
|
|
135
|
+
"@atlaskit/editor-plugin-paste": "^29.0.0",
|
|
136
|
+
"@atlaskit/editor-plugin-selection-marker": "^28.0.0",
|
|
137
|
+
"@atlaskit/editor-plugin-show-diff": "^26.0.0",
|
|
138
|
+
"@atlaskit/editor-plugin-synced-block": "^26.0.0",
|
|
139
|
+
"@atlaskit/editor-plugin-table": "^40.0.0",
|
|
140
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^31.0.0",
|
|
141
|
+
"@atlaskit/editor-plugin-text-color": "^28.0.0",
|
|
142
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^29.0.0",
|
|
143
|
+
"@atlaskit/editor-plugin-track-changes": "^27.0.0",
|
|
144
|
+
"@atlaskit/editor-synced-block-provider": "^24.0.0",
|
|
145
|
+
"@atlaskit/editor-synced-block-renderer": "^26.0.0",
|
|
146
146
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
147
147
|
"@atlaskit/form": "^18.2.0",
|
|
148
148
|
"@atlaskit/link-provider": "^6.0.0",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"@atlaskit/portal": "^7.0.0",
|
|
160
160
|
"@atlaskit/profilecard": "^27.1.0",
|
|
161
161
|
"@atlaskit/radio": "^10.2.0",
|
|
162
|
-
"@atlaskit/renderer": "^
|
|
162
|
+
"@atlaskit/renderer": "^151.0.0",
|
|
163
163
|
"@atlaskit/section-message": "^10.2.0",
|
|
164
164
|
"@atlaskit/spinner": "^20.4.0",
|
|
165
165
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
@@ -170,11 +170,11 @@
|
|
|
170
170
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
171
171
|
"@atlassian/a11y-playwright-testing": "^0.13.0",
|
|
172
172
|
"@atlassian/adf-schema-json": "^1.35.0",
|
|
173
|
-
"@atlassian/editor-rovo-bridge": "^
|
|
173
|
+
"@atlassian/editor-rovo-bridge": "^27.0.0",
|
|
174
174
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
175
175
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
176
176
|
"@atlassian/search-client": "^3.9.0",
|
|
177
|
-
"@atlassian/search-provider": "^
|
|
177
|
+
"@atlassian/search-provider": "^29.0.0",
|
|
178
178
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
179
179
|
"@atlassian/testing-library": "^0.12.0",
|
|
180
180
|
"@atlassian/user-profile-card": "^1.45.0",
|