@atlaskit/editor-core 228.1.10 → 228.1.11
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 +9 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/ruleWithAttrs.js +43 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/ruleWithAttrs.js +43 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/ruleWithAttrs.js +43 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 228.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c6ccc768a6f7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c6ccc768a6f7a) -
|
|
8
|
+
[ux] [EDITOR-8979] apply divider weight to dividers in editor behind
|
|
9
|
+
`platform_editor_lovability_dividers_attributes`
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 228.1.10
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.cc-1wz6obl .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor){caret-color:transparent}.cc-1wz6obl .ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor{display:none}.cc-1wz6obl .ProseMirror:has(.ProseMirror-hide-cursor){caret-color:transparent}
|
|
28
28
|
.cc-1aoj0mo .dateView-content-wrap.ak-editor-selected-node.danger .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
29
29
|
.cc-5hyj3q .ProseMirror hr.ak-editor-selected-node.danger{background-color:var(--ds-border-danger,#e2483d)}
|
|
30
|
-
.cc-dgsww3 .ProseMirror hr[data-style=dashed]{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:10px 100%;mask-size:10px 100%}.cc-dgsww3 .ProseMirror hr[data-style=dotted]{-webkit-mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:6px 2px;mask-size:6px 2px}.cc-dgsww3 .ProseMirror hr[data-style=sketch]{height:calc(2px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:233px 7px;mask-size:233px 7px;padding-top:0;padding-bottom:0}.cc-dgsww3 .ProseMirror hr[data-style=fade]{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
|
|
30
|
+
.cc-dgsww3 .ProseMirror hr[data-style=dashed]{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:10px 100%;mask-size:10px 100%}.cc-dgsww3 .ProseMirror hr[data-style=dotted]{-webkit-mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:6px 2px;mask-size:6px 2px}.cc-dgsww3 .ProseMirror hr[data-style=sketch]{height:calc(2px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:233px 7px;mask-size:233px 7px;padding-top:0;padding-bottom:0}.cc-dgsww3 .ProseMirror hr[data-style=fade]{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.cc-dgsww3 .ProseMirror hr[data-weight="1"]{height:1px}.cc-dgsww3 .ProseMirror hr[data-weight="3"]{height:3px}.cc-dgsww3 .ProseMirror hr[data-style=dotted][data-weight="1"]{-webkit-mask-image:radial-gradient(circle at center,#000 .5px,transparent .6px);mask-image:radial-gradient(circle at center,#000 .5px,transparent .6px);-webkit-mask-size:6px 1px;mask-size:6px 1px}.cc-dgsww3 .ProseMirror hr[data-style=dotted][data-weight="3"]{-webkit-mask-image:radial-gradient(circle at center,#000 1.5px,transparent .1pc);mask-image:radial-gradient(circle at center,#000 1.5px,transparent .1pc);-webkit-mask-size:6px 3px;mask-size:6px 3px}.cc-dgsww3 .ProseMirror hr[data-style=sketch][data-weight="1"]{height:calc(1px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E")}.cc-dgsww3 .ProseMirror hr[data-style=sketch][data-weight="3"]{height:calc(3px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-size:233px 8px;mask-size:233px 8px}
|
|
31
31
|
.cc-1mmt8n5 .show-diff-atomic-inline-changed-date{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1);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-medium,6px)}.cc-1mmt8n5 .show-diff-atomic-inline-changed-date.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1mmt8n5 .date-lozenger-container span{white-space:unset}.cc-1mmt8n5 .dateView-content-wrap .date-lozenger-container{line-height:normal;cursor:pointer}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::selection, .cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::selection{background-color:transparent}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::-moz-selection, .cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::-moz-selection{background-color:transparent}.cc-1mmt8n5 .danger .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
32
32
|
.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span{background-color:var(--ds-background-neutral,#0515240f);color:var(--ds-text,#292a2e);border-radius:var(--ds-radius-small,4px);padding-top:var(--ds-space-025,2px);padding-right:var(--ds-space-050,4px);padding-bottom:var(--ds-space-025,2px);padding-left:var(--ds-space-050,4px);margin-top:0;margin-right:1px;margin-bottom:0;margin-left:1px;position:relative;transition-property:background;transition-duration:.3s;white-space:nowrap;cursor:unset}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span.date-node-color-red{background-color:var(--ds-background-accent-red-subtlest,#ffeceb);color:var(--ds-text-accent-red,#ae2e24)}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span.date-node-color-red:hover{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
33
33
|
.cc-ak695d .ak-editor-selected-node.danger>[data-decision-wrapper], .cc-ak695d ol[data-node-type=decisionList].ak-editor-selected-node.danger{background-color:var(--ds-background-danger,#ffeceb);box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
@@ -11,11 +11,19 @@ var _react = require("@emotion/react");
|
|
|
11
11
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
|
|
12
12
|
|
|
13
13
|
var dashedStrokeMask = 'linear-gradient(to right, black 0, black 4px, transparent 4px, transparent 10px)';
|
|
14
|
-
var dottedStrokeMask = 'radial-gradient(circle at center, black 1px, transparent 1.1px)';
|
|
15
|
-
var sketchStrokePath = 'M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107';
|
|
16
|
-
var sketchStrokeMask = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
17
14
|
var fadeStrokeMask = 'linear-gradient(to right, transparent 0%, black 27.4%, black 74%, transparent 100%)';
|
|
18
15
|
|
|
16
|
+
// dotted strokes
|
|
17
|
+
var dottedStrokeMaskSmall = 'radial-gradient(circle at center, black 0.5px, transparent 0.6px)';
|
|
18
|
+
var dottedStrokeMaskMedium = 'radial-gradient(circle at center, black 1px, transparent 1.1px)';
|
|
19
|
+
var dottedStrokeMaskLarge = 'radial-gradient(circle at center, black 1.5px, transparent 1.6px)';
|
|
20
|
+
|
|
21
|
+
// sketch strokes
|
|
22
|
+
var sketchStrokePath = 'M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107';
|
|
23
|
+
var sketchStrokeMaskSmall = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
24
|
+
var sketchStrokeMaskMedium = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
25
|
+
var sketchStrokeMaskLarge = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
26
|
+
|
|
19
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
20
28
|
var ruleWithAttrsStyles = exports.ruleWithAttrsStyles = (0, _react.css)({
|
|
21
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -26,7 +34,7 @@ var ruleWithAttrsStyles = exports.ruleWithAttrsStyles = (0, _react.css)({
|
|
|
26
34
|
},
|
|
27
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
28
36
|
'.ProseMirror hr[data-style="dotted"]': {
|
|
29
|
-
maskImage:
|
|
37
|
+
maskImage: dottedStrokeMaskMedium,
|
|
30
38
|
maskPosition: 'center',
|
|
31
39
|
maskRepeat: 'repeat-x',
|
|
32
40
|
maskSize: '6px 2px'
|
|
@@ -34,7 +42,7 @@ var ruleWithAttrsStyles = exports.ruleWithAttrsStyles = (0, _react.css)({
|
|
|
34
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
35
43
|
'.ProseMirror hr[data-style="sketch"]': {
|
|
36
44
|
height: "calc(2px + ".concat("var(--ds-space-050, 4px)", " + ", "var(--ds-space-050, 4px)", ")"),
|
|
37
|
-
maskImage:
|
|
45
|
+
maskImage: sketchStrokeMaskMedium,
|
|
38
46
|
maskPosition: 'center',
|
|
39
47
|
maskRepeat: 'repeat-x',
|
|
40
48
|
maskSize: '233px 7px',
|
|
@@ -46,5 +54,35 @@ var ruleWithAttrsStyles = exports.ruleWithAttrsStyles = (0, _react.css)({
|
|
|
46
54
|
maskImage: fadeStrokeMask,
|
|
47
55
|
maskRepeat: 'no-repeat',
|
|
48
56
|
maskSize: '100% 100%'
|
|
57
|
+
},
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
59
|
+
'.ProseMirror hr[data-weight="1"]': {
|
|
60
|
+
height: '1px'
|
|
61
|
+
},
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
63
|
+
'.ProseMirror hr[data-weight="3"]': {
|
|
64
|
+
height: '3px'
|
|
65
|
+
},
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
67
|
+
'.ProseMirror hr[data-style="dotted"][data-weight="1"]': {
|
|
68
|
+
maskImage: dottedStrokeMaskSmall,
|
|
69
|
+
maskSize: '6px 1px'
|
|
70
|
+
},
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
72
|
+
'.ProseMirror hr[data-style="dotted"][data-weight="3"]': {
|
|
73
|
+
maskImage: dottedStrokeMaskLarge,
|
|
74
|
+
maskSize: '6px 3px'
|
|
75
|
+
},
|
|
76
|
+
// Sketch needs a mask per weight because CSS cannot change the SVG stroke width.
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
78
|
+
'.ProseMirror hr[data-style="sketch"][data-weight="1"]': {
|
|
79
|
+
height: "calc(1px + ".concat("var(--ds-space-050, 4px)", " + ", "var(--ds-space-050, 4px)", ")"),
|
|
80
|
+
maskImage: sketchStrokeMaskSmall
|
|
81
|
+
},
|
|
82
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
83
|
+
'.ProseMirror hr[data-style="sketch"][data-weight="3"]': {
|
|
84
|
+
height: "calc(3px + ".concat("var(--ds-space-050, 4px)", " + ", "var(--ds-space-050, 4px)", ")"),
|
|
85
|
+
maskImage: sketchStrokeMaskLarge,
|
|
86
|
+
maskSize: '233px 8px'
|
|
49
87
|
}
|
|
50
88
|
});
|
|
@@ -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 = "228.1.
|
|
9
|
+
var version = exports.version = "228.1.10";
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.cc-1wz6obl .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor){caret-color:transparent}.cc-1wz6obl .ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor{display:none}.cc-1wz6obl .ProseMirror:has(.ProseMirror-hide-cursor){caret-color:transparent}
|
|
28
28
|
.cc-1aoj0mo .dateView-content-wrap.ak-editor-selected-node.danger .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
29
29
|
.cc-5hyj3q .ProseMirror hr.ak-editor-selected-node.danger{background-color:var(--ds-border-danger,#e2483d)}
|
|
30
|
-
.cc-dgsww3 .ProseMirror hr[data-style=dashed]{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:10px 100%;mask-size:10px 100%}.cc-dgsww3 .ProseMirror hr[data-style=dotted]{-webkit-mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:6px 2px;mask-size:6px 2px}.cc-dgsww3 .ProseMirror hr[data-style=sketch]{height:calc(2px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:233px 7px;mask-size:233px 7px;padding-top:0;padding-bottom:0}.cc-dgsww3 .ProseMirror hr[data-style=fade]{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
|
|
30
|
+
.cc-dgsww3 .ProseMirror hr[data-style=dashed]{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:10px 100%;mask-size:10px 100%}.cc-dgsww3 .ProseMirror hr[data-style=dotted]{-webkit-mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:6px 2px;mask-size:6px 2px}.cc-dgsww3 .ProseMirror hr[data-style=sketch]{height:calc(2px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:233px 7px;mask-size:233px 7px;padding-top:0;padding-bottom:0}.cc-dgsww3 .ProseMirror hr[data-style=fade]{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.cc-dgsww3 .ProseMirror hr[data-weight="1"]{height:1px}.cc-dgsww3 .ProseMirror hr[data-weight="3"]{height:3px}.cc-dgsww3 .ProseMirror hr[data-style=dotted][data-weight="1"]{-webkit-mask-image:radial-gradient(circle at center,#000 .5px,transparent .6px);mask-image:radial-gradient(circle at center,#000 .5px,transparent .6px);-webkit-mask-size:6px 1px;mask-size:6px 1px}.cc-dgsww3 .ProseMirror hr[data-style=dotted][data-weight="3"]{-webkit-mask-image:radial-gradient(circle at center,#000 1.5px,transparent .1pc);mask-image:radial-gradient(circle at center,#000 1.5px,transparent .1pc);-webkit-mask-size:6px 3px;mask-size:6px 3px}.cc-dgsww3 .ProseMirror hr[data-style=sketch][data-weight="1"]{height:calc(1px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E")}.cc-dgsww3 .ProseMirror hr[data-style=sketch][data-weight="3"]{height:calc(3px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-size:233px 8px;mask-size:233px 8px}
|
|
31
31
|
.cc-1mmt8n5 .show-diff-atomic-inline-changed-date{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1);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-medium,6px)}.cc-1mmt8n5 .show-diff-atomic-inline-changed-date.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1mmt8n5 .date-lozenger-container span{white-space:unset}.cc-1mmt8n5 .dateView-content-wrap .date-lozenger-container{line-height:normal;cursor:pointer}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::selection, .cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::selection{background-color:transparent}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::-moz-selection, .cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::-moz-selection{background-color:transparent}.cc-1mmt8n5 .danger .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
32
32
|
.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span{background-color:var(--ds-background-neutral,#0515240f);color:var(--ds-text,#292a2e);border-radius:var(--ds-radius-small,4px);padding-top:var(--ds-space-025,2px);padding-right:var(--ds-space-050,4px);padding-bottom:var(--ds-space-025,2px);padding-left:var(--ds-space-050,4px);margin-top:0;margin-right:1px;margin-bottom:0;margin-left:1px;position:relative;transition-property:background;transition-duration:.3s;white-space:nowrap;cursor:unset}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span.date-node-color-red{background-color:var(--ds-background-accent-red-subtlest,#ffeceb);color:var(--ds-text-accent-red,#ae2e24)}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span.date-node-color-red:hover{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
33
33
|
.cc-ak695d .ak-editor-selected-node.danger>[data-decision-wrapper], .cc-ak695d ol[data-node-type=decisionList].ak-editor-selected-node.danger{background-color:var(--ds-background-danger,#ffeceb);box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
@@ -4,11 +4,19 @@
|
|
|
4
4
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
|
|
5
5
|
import { css } from '@emotion/react';
|
|
6
6
|
const dashedStrokeMask = 'linear-gradient(to right, black 0, black 4px, transparent 4px, transparent 10px)';
|
|
7
|
-
const dottedStrokeMask = 'radial-gradient(circle at center, black 1px, transparent 1.1px)';
|
|
8
|
-
const sketchStrokePath = 'M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107';
|
|
9
|
-
const sketchStrokeMask = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='${sketchStrokePath}'/%3E%3C/svg%3E")`;
|
|
10
7
|
const fadeStrokeMask = 'linear-gradient(to right, transparent 0%, black 27.4%, black 74%, transparent 100%)';
|
|
11
8
|
|
|
9
|
+
// dotted strokes
|
|
10
|
+
const dottedStrokeMaskSmall = 'radial-gradient(circle at center, black 0.5px, transparent 0.6px)';
|
|
11
|
+
const dottedStrokeMaskMedium = 'radial-gradient(circle at center, black 1px, transparent 1.1px)';
|
|
12
|
+
const dottedStrokeMaskLarge = 'radial-gradient(circle at center, black 1.5px, transparent 1.6px)';
|
|
13
|
+
|
|
14
|
+
// sketch strokes
|
|
15
|
+
const sketchStrokePath = 'M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107';
|
|
16
|
+
const sketchStrokeMaskSmall = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='${sketchStrokePath}'/%3E%3C/svg%3E")`;
|
|
17
|
+
const sketchStrokeMaskMedium = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='${sketchStrokePath}'/%3E%3C/svg%3E")`;
|
|
18
|
+
const sketchStrokeMaskLarge = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='${sketchStrokePath}'/%3E%3C/svg%3E")`;
|
|
19
|
+
|
|
12
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
13
21
|
export const ruleWithAttrsStyles = css({
|
|
14
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -19,7 +27,7 @@ export const ruleWithAttrsStyles = css({
|
|
|
19
27
|
},
|
|
20
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
21
29
|
'.ProseMirror hr[data-style="dotted"]': {
|
|
22
|
-
maskImage:
|
|
30
|
+
maskImage: dottedStrokeMaskMedium,
|
|
23
31
|
maskPosition: 'center',
|
|
24
32
|
maskRepeat: 'repeat-x',
|
|
25
33
|
maskSize: '6px 2px'
|
|
@@ -27,7 +35,7 @@ export const ruleWithAttrsStyles = css({
|
|
|
27
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
28
36
|
'.ProseMirror hr[data-style="sketch"]': {
|
|
29
37
|
height: `calc(2px + ${"var(--ds-space-050, 4px)"} + ${"var(--ds-space-050, 4px)"})`,
|
|
30
|
-
maskImage:
|
|
38
|
+
maskImage: sketchStrokeMaskMedium,
|
|
31
39
|
maskPosition: 'center',
|
|
32
40
|
maskRepeat: 'repeat-x',
|
|
33
41
|
maskSize: '233px 7px',
|
|
@@ -39,5 +47,35 @@ export const ruleWithAttrsStyles = css({
|
|
|
39
47
|
maskImage: fadeStrokeMask,
|
|
40
48
|
maskRepeat: 'no-repeat',
|
|
41
49
|
maskSize: '100% 100%'
|
|
50
|
+
},
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
52
|
+
'.ProseMirror hr[data-weight="1"]': {
|
|
53
|
+
height: '1px'
|
|
54
|
+
},
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
56
|
+
'.ProseMirror hr[data-weight="3"]': {
|
|
57
|
+
height: '3px'
|
|
58
|
+
},
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
60
|
+
'.ProseMirror hr[data-style="dotted"][data-weight="1"]': {
|
|
61
|
+
maskImage: dottedStrokeMaskSmall,
|
|
62
|
+
maskSize: '6px 1px'
|
|
63
|
+
},
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
65
|
+
'.ProseMirror hr[data-style="dotted"][data-weight="3"]': {
|
|
66
|
+
maskImage: dottedStrokeMaskLarge,
|
|
67
|
+
maskSize: '6px 3px'
|
|
68
|
+
},
|
|
69
|
+
// Sketch needs a mask per weight because CSS cannot change the SVG stroke width.
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
71
|
+
'.ProseMirror hr[data-style="sketch"][data-weight="1"]': {
|
|
72
|
+
height: `calc(1px + ${"var(--ds-space-050, 4px)"} + ${"var(--ds-space-050, 4px)"})`,
|
|
73
|
+
maskImage: sketchStrokeMaskSmall
|
|
74
|
+
},
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
76
|
+
'.ProseMirror hr[data-style="sketch"][data-weight="3"]': {
|
|
77
|
+
height: `calc(3px + ${"var(--ds-space-050, 4px)"} + ${"var(--ds-space-050, 4px)"})`,
|
|
78
|
+
maskImage: sketchStrokeMaskLarge,
|
|
79
|
+
maskSize: '233px 8px'
|
|
42
80
|
}
|
|
43
81
|
});
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.cc-1wz6obl .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor){caret-color:transparent}.cc-1wz6obl .ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor{display:none}.cc-1wz6obl .ProseMirror:has(.ProseMirror-hide-cursor){caret-color:transparent}
|
|
28
28
|
.cc-1aoj0mo .dateView-content-wrap.ak-editor-selected-node.danger .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
29
29
|
.cc-5hyj3q .ProseMirror hr.ak-editor-selected-node.danger{background-color:var(--ds-border-danger,#e2483d)}
|
|
30
|
-
.cc-dgsww3 .ProseMirror hr[data-style=dashed]{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:10px 100%;mask-size:10px 100%}.cc-dgsww3 .ProseMirror hr[data-style=dotted]{-webkit-mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:6px 2px;mask-size:6px 2px}.cc-dgsww3 .ProseMirror hr[data-style=sketch]{height:calc(2px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:233px 7px;mask-size:233px 7px;padding-top:0;padding-bottom:0}.cc-dgsww3 .ProseMirror hr[data-style=fade]{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
|
|
30
|
+
.cc-dgsww3 .ProseMirror hr[data-style=dashed]{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);mask-image:linear-gradient(90deg,#000 0,#000 4px,transparent 0,transparent 10px);-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:10px 100%;mask-size:10px 100%}.cc-dgsww3 .ProseMirror hr[data-style=dotted]{-webkit-mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);mask-image:radial-gradient(circle at center,#000 1px,transparent 1.1px);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:6px 2px;mask-size:6px 2px}.cc-dgsww3 .ProseMirror hr[data-style=sketch]{height:calc(2px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:233px 7px;mask-size:233px 7px;padding-top:0;padding-bottom:0}.cc-dgsww3 .ProseMirror hr[data-style=fade]{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);mask-image:linear-gradient(90deg,transparent 0,#000 27.4%,#000 74%,transparent);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.cc-dgsww3 .ProseMirror hr[data-weight="1"]{height:1px}.cc-dgsww3 .ProseMirror hr[data-weight="3"]{height:3px}.cc-dgsww3 .ProseMirror hr[data-style=dotted][data-weight="1"]{-webkit-mask-image:radial-gradient(circle at center,#000 .5px,transparent .6px);mask-image:radial-gradient(circle at center,#000 .5px,transparent .6px);-webkit-mask-size:6px 1px;mask-size:6px 1px}.cc-dgsww3 .ProseMirror hr[data-style=dotted][data-weight="3"]{-webkit-mask-image:radial-gradient(circle at center,#000 1.5px,transparent .1pc);mask-image:radial-gradient(circle at center,#000 1.5px,transparent .1pc);-webkit-mask-size:6px 3px;mask-size:6px 3px}.cc-dgsww3 .ProseMirror hr[data-style=sketch][data-weight="1"]{height:calc(1px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E")}.cc-dgsww3 .ProseMirror hr[data-style=sketch][data-weight="3"]{height:calc(3px + var(--ds-space-050, 4px) + var(--ds-space-050, 4px));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107'/%3E%3C/svg%3E");-webkit-mask-size:233px 8px;mask-size:233px 8px}
|
|
31
31
|
.cc-1mmt8n5 .show-diff-atomic-inline-changed-date{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-purple,#af59e1);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-medium,6px)}.cc-1mmt8n5 .show-diff-atomic-inline-changed-date.show-diff-atomic-inline-changed-traditional{--show-diff-atomic-inline-changed-border-color:var(--ds-border-accent-green,#22a06b)}.cc-1mmt8n5 .date-lozenger-container span{white-space:unset}.cc-1mmt8n5 .dateView-content-wrap .date-lozenger-container{line-height:normal;cursor:pointer}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::selection, .cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::selection{background-color:transparent}.cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::-moz-selection, .cc-1mmt8n5 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::-moz-selection{background-color:transparent}.cc-1mmt8n5 .danger .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
32
32
|
.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span{background-color:var(--ds-background-neutral,#0515240f);color:var(--ds-text,#292a2e);border-radius:var(--ds-radius-small,4px);padding-top:var(--ds-space-025,2px);padding-right:var(--ds-space-050,4px);padding-bottom:var(--ds-space-025,2px);padding-left:var(--ds-space-050,4px);margin-top:0;margin-right:1px;margin-bottom:0;margin-left:1px;position:relative;transition-property:background;transition-duration:.3s;white-space:nowrap;cursor:unset}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span.date-node-color-red{background-color:var(--ds-background-accent-red-subtlest,#ffeceb);color:var(--ds-text-accent-red,#ae2e24)}.cc-avdkma [data-prosemirror-node-name=date] .date-lozenger-container span.date-node-color-red:hover{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
33
33
|
.cc-ak695d .ak-editor-selected-node.danger>[data-decision-wrapper], .cc-ak695d ol[data-node-type=decisionList].ak-editor-selected-node.danger{background-color:var(--ds-background-danger,#ffeceb);box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
@@ -4,11 +4,19 @@
|
|
|
4
4
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
|
|
5
5
|
import { css } from '@emotion/react';
|
|
6
6
|
var dashedStrokeMask = 'linear-gradient(to right, black 0, black 4px, transparent 4px, transparent 10px)';
|
|
7
|
-
var dottedStrokeMask = 'radial-gradient(circle at center, black 1px, transparent 1.1px)';
|
|
8
|
-
var sketchStrokePath = 'M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107';
|
|
9
|
-
var sketchStrokeMask = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
10
7
|
var fadeStrokeMask = 'linear-gradient(to right, transparent 0%, black 27.4%, black 74%, transparent 100%)';
|
|
11
8
|
|
|
9
|
+
// dotted strokes
|
|
10
|
+
var dottedStrokeMaskSmall = 'radial-gradient(circle at center, black 0.5px, transparent 0.6px)';
|
|
11
|
+
var dottedStrokeMaskMedium = 'radial-gradient(circle at center, black 1px, transparent 1.1px)';
|
|
12
|
+
var dottedStrokeMaskLarge = 'radial-gradient(circle at center, black 1.5px, transparent 1.6px)';
|
|
13
|
+
|
|
14
|
+
// sketch strokes
|
|
15
|
+
var sketchStrokePath = 'M0.00161171 1.0107C6.6387 1 9.94061 5.16958 16.6371 5.16958C23.3336 5.16958 26.5761 1.00913 33.2726 1.0107C39.3797 1.01213 42.4198 4.22998 48.5219 4.47643C55.9487 4.77638 59.8075 0.780687 67.2368 1.0107C73.6051 1.20786 76.8081 4.42122 83.1792 4.47643C89.815 4.53393 93.1788 1.06378 99.8147 1.0107C106.716 0.95549 110.244 4.6564 117.143 4.47643C123.248 4.31717 126.289 1.21517 132.393 1.0107C139.555 0.770735 143.25 4.64894 150.414 4.47643C156.784 4.32307 159.986 1.06591 166.357 1.0107C172.993 0.953195 176.356 4.47655 182.992 4.47643C189.628 4.47632 192.992 1.01007 199.628 1.01007C206.264 1.01007 209.627 4.47632 216.263 4.47643C222.899 4.47655 226.263 1.0107 232.899 1.0107';
|
|
16
|
+
var sketchStrokeMaskSmall = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
17
|
+
var sketchStrokeMaskMedium = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 233 7'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
18
|
+
var sketchStrokeMaskLarge = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 233 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' d='".concat(sketchStrokePath, "'/%3E%3C/svg%3E\")");
|
|
19
|
+
|
|
12
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
13
21
|
export var ruleWithAttrsStyles = css({
|
|
14
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -19,7 +27,7 @@ export var ruleWithAttrsStyles = css({
|
|
|
19
27
|
},
|
|
20
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
21
29
|
'.ProseMirror hr[data-style="dotted"]': {
|
|
22
|
-
maskImage:
|
|
30
|
+
maskImage: dottedStrokeMaskMedium,
|
|
23
31
|
maskPosition: 'center',
|
|
24
32
|
maskRepeat: 'repeat-x',
|
|
25
33
|
maskSize: '6px 2px'
|
|
@@ -27,7 +35,7 @@ export var ruleWithAttrsStyles = css({
|
|
|
27
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
28
36
|
'.ProseMirror hr[data-style="sketch"]': {
|
|
29
37
|
height: "calc(2px + ".concat("var(--ds-space-050, 4px)", " + ", "var(--ds-space-050, 4px)", ")"),
|
|
30
|
-
maskImage:
|
|
38
|
+
maskImage: sketchStrokeMaskMedium,
|
|
31
39
|
maskPosition: 'center',
|
|
32
40
|
maskRepeat: 'repeat-x',
|
|
33
41
|
maskSize: '233px 7px',
|
|
@@ -39,5 +47,35 @@ export var ruleWithAttrsStyles = css({
|
|
|
39
47
|
maskImage: fadeStrokeMask,
|
|
40
48
|
maskRepeat: 'no-repeat',
|
|
41
49
|
maskSize: '100% 100%'
|
|
50
|
+
},
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
52
|
+
'.ProseMirror hr[data-weight="1"]': {
|
|
53
|
+
height: '1px'
|
|
54
|
+
},
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
56
|
+
'.ProseMirror hr[data-weight="3"]': {
|
|
57
|
+
height: '3px'
|
|
58
|
+
},
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
60
|
+
'.ProseMirror hr[data-style="dotted"][data-weight="1"]': {
|
|
61
|
+
maskImage: dottedStrokeMaskSmall,
|
|
62
|
+
maskSize: '6px 1px'
|
|
63
|
+
},
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
65
|
+
'.ProseMirror hr[data-style="dotted"][data-weight="3"]': {
|
|
66
|
+
maskImage: dottedStrokeMaskLarge,
|
|
67
|
+
maskSize: '6px 3px'
|
|
68
|
+
},
|
|
69
|
+
// Sketch needs a mask per weight because CSS cannot change the SVG stroke width.
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
71
|
+
'.ProseMirror hr[data-style="sketch"][data-weight="1"]': {
|
|
72
|
+
height: "calc(1px + ".concat("var(--ds-space-050, 4px)", " + ", "var(--ds-space-050, 4px)", ")"),
|
|
73
|
+
maskImage: sketchStrokeMaskSmall
|
|
74
|
+
},
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
76
|
+
'.ProseMirror hr[data-style="sketch"][data-weight="3"]': {
|
|
77
|
+
height: "calc(3px + ".concat("var(--ds-space-050, 4px)", " + ", "var(--ds-space-050, 4px)", ")"),
|
|
78
|
+
maskImage: sketchStrokeMaskLarge,
|
|
79
|
+
maskSize: '233px 8px'
|
|
42
80
|
}
|
|
43
81
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "228.1.
|
|
3
|
+
"version": "228.1.11",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/popup": "^6.3.0",
|
|
73
73
|
"@atlaskit/primitives": "^22.5.0",
|
|
74
74
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^7.
|
|
75
|
+
"@atlaskit/react-ufo": "^7.11.0",
|
|
76
76
|
"@atlaskit/task-decision": "^21.10.0",
|
|
77
77
|
"@atlaskit/tmp-editor-statsig": "^197.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^17.0.0",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"@atlaskit/modal-dialog": "^16.6.0",
|
|
153
153
|
"@atlaskit/navigation-system": "^10.16.0",
|
|
154
154
|
"@atlaskit/popper": "^9.4.0",
|
|
155
|
-
"@atlaskit/portal": "^
|
|
155
|
+
"@atlaskit/portal": "^7.0.0",
|
|
156
156
|
"@atlaskit/profilecard": "^26.24.0",
|
|
157
157
|
"@atlaskit/radio": "^10.2.0",
|
|
158
158
|
"@atlaskit/renderer": "^140.2.0",
|