@atlaskit/editor-core 205.1.7 → 205.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/ui/ContentStyles/date.js +23 -27
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/date.js +23 -27
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/date.js +23 -27
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 205.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 205.1.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#137676](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/137676)
|
|
14
|
+
[`4a54b4a64712e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4a54b4a64712e) -
|
|
15
|
+
ED-27338: clean up vanilla date implementation
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 205.1.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -13,33 +13,29 @@ var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/u
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
14
14
|
var dateVanillaStyles = exports.dateVanillaStyles = (0, _react.css)({
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
16
|
-
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date']": {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
16
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span": {
|
|
17
|
+
backgroundColor: "var(--ds-background-neutral, #091E420F)",
|
|
18
|
+
color: "var(--ds-text, #172B4D)",
|
|
19
|
+
borderRadius: "var(--ds-border-radius-100, 4px)",
|
|
20
|
+
padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
|
|
21
|
+
margin: '0 1px',
|
|
22
|
+
position: 'relative',
|
|
23
|
+
transition: 'background 0.3s',
|
|
24
|
+
whiteSpace: 'nowrap',
|
|
25
|
+
cursor: 'unset'
|
|
26
|
+
},
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
28
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span:hover": {
|
|
29
|
+
backgroundColor: "var(--ds-background-neutral-hovered, #091E4224)"
|
|
30
|
+
},
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
32
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span.date-node-color-red": {
|
|
33
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
|
|
34
|
+
color: "var(--ds-text-accent-red, #AE2E24)"
|
|
35
|
+
},
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
37
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span.date-node-color-red:hover": {
|
|
38
|
+
backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)"
|
|
43
39
|
}
|
|
44
40
|
});
|
|
45
41
|
|
|
@@ -5,33 +5,29 @@ import { akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeC
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
6
|
export const dateVanillaStyles = css({
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
8
|
-
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date']": {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
8
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span": {
|
|
9
|
+
backgroundColor: "var(--ds-background-neutral, #091E420F)",
|
|
10
|
+
color: "var(--ds-text, #172B4D)",
|
|
11
|
+
borderRadius: "var(--ds-border-radius-100, 4px)",
|
|
12
|
+
padding: `${"var(--ds-space-025, 2px)"} ${"var(--ds-space-050, 4px)"}`,
|
|
13
|
+
margin: '0 1px',
|
|
14
|
+
position: 'relative',
|
|
15
|
+
transition: 'background 0.3s',
|
|
16
|
+
whiteSpace: 'nowrap',
|
|
17
|
+
cursor: 'unset'
|
|
18
|
+
},
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
20
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span:hover": {
|
|
21
|
+
backgroundColor: "var(--ds-background-neutral-hovered, #091E4224)"
|
|
22
|
+
},
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
24
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span.date-node-color-red": {
|
|
25
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
|
|
26
|
+
color: "var(--ds-text-accent-red, #AE2E24)"
|
|
27
|
+
},
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
29
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span.date-node-color-red:hover": {
|
|
30
|
+
backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)"
|
|
35
31
|
}
|
|
36
32
|
});
|
|
37
33
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "205.1.
|
|
2
|
+
export const version = "205.1.9";
|
|
@@ -7,33 +7,29 @@ import { akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeC
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
8
8
|
export var dateVanillaStyles = css({
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
10
|
-
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date']": {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
10
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span": {
|
|
11
|
+
backgroundColor: "var(--ds-background-neutral, #091E420F)",
|
|
12
|
+
color: "var(--ds-text, #172B4D)",
|
|
13
|
+
borderRadius: "var(--ds-border-radius-100, 4px)",
|
|
14
|
+
padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
|
|
15
|
+
margin: '0 1px',
|
|
16
|
+
position: 'relative',
|
|
17
|
+
transition: 'background 0.3s',
|
|
18
|
+
whiteSpace: 'nowrap',
|
|
19
|
+
cursor: 'unset'
|
|
20
|
+
},
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
22
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span:hover": {
|
|
23
|
+
backgroundColor: "var(--ds-background-neutral-hovered, #091E4224)"
|
|
24
|
+
},
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
26
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span.date-node-color-red": {
|
|
27
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
|
|
28
|
+
color: "var(--ds-text-accent-red, #AE2E24)"
|
|
29
|
+
},
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
31
|
+
"[data-prosemirror-node-view-type='vanilla'][data-prosemirror-node-name='date'] .date-lozenger-container span.date-node-color-red:hover": {
|
|
32
|
+
backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)"
|
|
37
33
|
}
|
|
38
34
|
});
|
|
39
35
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "205.1.
|
|
2
|
+
export var version = "205.1.9";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "205.1.
|
|
3
|
+
"version": "205.1.9",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.0.0",
|
|
48
48
|
"@atlaskit/css": "^0.10.0",
|
|
49
|
-
"@atlaskit/editor-common": "^
|
|
49
|
+
"@atlaskit/editor-common": "^103.0.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
51
51
|
"@atlaskit/editor-performance-metrics": "^2.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^2.2.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/react-ufo": "^3.4.0",
|
|
62
62
|
"@atlaskit/task-decision": "^19.1.0",
|
|
63
63
|
"@atlaskit/tmp-editor-statsig": "^4.6.0",
|
|
64
|
-
"@atlaskit/tokens": "^4.
|
|
64
|
+
"@atlaskit/tokens": "^4.7.0",
|
|
65
65
|
"@atlaskit/tooltip": "^20.0.0",
|
|
66
66
|
"@atlaskit/width-detector": "^5.0.0",
|
|
67
67
|
"@babel/runtime": "^7.0.0",
|
|
@@ -419,10 +419,6 @@
|
|
|
419
419
|
"type": "boolean",
|
|
420
420
|
"referenceOnly": true
|
|
421
421
|
},
|
|
422
|
-
"platform_editor_nested_tables_resize_border_fix": {
|
|
423
|
-
"type": "boolean",
|
|
424
|
-
"referenceOnly": true
|
|
425
|
-
},
|
|
426
422
|
"platform_editor_nested_tables_column_drag_fix": {
|
|
427
423
|
"type": "boolean",
|
|
428
424
|
"referenceOnly": true
|
|
@@ -572,6 +568,14 @@
|
|
|
572
568
|
"type": "boolean",
|
|
573
569
|
"referenceOnly": true
|
|
574
570
|
},
|
|
571
|
+
"platform_editor_controls_patch_2": {
|
|
572
|
+
"type": "boolean",
|
|
573
|
+
"referenceOnly": true
|
|
574
|
+
},
|
|
575
|
+
"platform_editor_controls_patch_3": {
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"referenceOnly": true
|
|
578
|
+
},
|
|
575
579
|
"platform_editor_numbered_column_misalignment": {
|
|
576
580
|
"type": "boolean",
|
|
577
581
|
"referenceOnly": true
|
|
@@ -599,10 +603,6 @@
|
|
|
599
603
|
"platform_editor_controls_sticky_controls": {
|
|
600
604
|
"type": "boolean",
|
|
601
605
|
"referenceOnly": true
|
|
602
|
-
},
|
|
603
|
-
"platform_editor_controls_patch_2": {
|
|
604
|
-
"type": "boolean",
|
|
605
|
-
"referenceOnly": true
|
|
606
606
|
}
|
|
607
607
|
},
|
|
608
608
|
"stricter": {
|