@atlaskit/editor-plugin-block-controls 1.13.8 → 1.13.10

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 1.13.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#139974](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139974)
8
+ [`6fad81c12f150`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6fad81c12f150) -
9
+ Remove unnecessary psudo-elements when table-nested-dnd disabled
10
+ - Updated dependencies
11
+
12
+ ## 1.13.9
13
+
14
+ ### Patch Changes
15
+
16
+ - [#139334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139334)
17
+ [`30793649657c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30793649657c0) -
18
+ [HOT-111629] We had an incident where the last character disappears when hitting the enter key on
19
+ windows OS for Korean characters. Bumping to prosemirror-view@1.34.2 for the fix.
20
+
3
21
  ## 1.13.8
4
22
 
5
23
  ### Patch Changes
@@ -79,6 +79,19 @@ var extendedHoverZoneNested = (0, _react.css)({
79
79
  height: '100%',
80
80
  cursor: 'default',
81
81
  zIndex: -1
82
+ },
83
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
84
+ '&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > [data-drag-handler-anchor-name]::after': {
85
+ content: '""',
86
+ position: 'absolute',
87
+ top: 0,
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
89
+ left: "-".concat((0, _experiments.editorExperiment)('table-nested-dnd', true) ? _consts.DRAG_HANDLE_MAX_WIDTH_PLUS_GAP : 0, "px"),
90
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
91
+ width: "".concat((0, _experiments.editorExperiment)('table-nested-dnd', true) ? _consts.DRAG_HANDLE_MAX_WIDTH_PLUS_GAP : 0, "px"),
92
+ height: '100%',
93
+ cursor: 'default',
94
+ zIndex: 1
82
95
  }
83
96
  },
84
97
  // TODO - ED-23995 this style override needs to be moved to the Rule styles after FF cleanup - packages/editor/editor-common/src/styles/shared/rule.ts
@@ -70,6 +70,19 @@ const extendedHoverZoneNested = css({
70
70
  height: '100%',
71
71
  cursor: 'default',
72
72
  zIndex: -1
73
+ },
74
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
75
+ '&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > [data-drag-handler-anchor-name]::after': {
76
+ content: '""',
77
+ position: 'absolute',
78
+ top: 0,
79
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
80
+ left: `-${editorExperiment('table-nested-dnd', true) ? DRAG_HANDLE_MAX_WIDTH_PLUS_GAP : 0}px`,
81
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
82
+ width: `${editorExperiment('table-nested-dnd', true) ? DRAG_HANDLE_MAX_WIDTH_PLUS_GAP : 0}px`,
83
+ height: '100%',
84
+ cursor: 'default',
85
+ zIndex: 1
73
86
  }
74
87
  },
75
88
  // TODO - ED-23995 this style override needs to be moved to the Rule styles after FF cleanup - packages/editor/editor-common/src/styles/shared/rule.ts
@@ -71,6 +71,19 @@ var extendedHoverZoneNested = css({
71
71
  height: '100%',
72
72
  cursor: 'default',
73
73
  zIndex: -1
74
+ },
75
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
76
+ '&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > [data-drag-handler-anchor-name]::after': {
77
+ content: '""',
78
+ position: 'absolute',
79
+ top: 0,
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
81
+ left: "-".concat(editorExperiment('table-nested-dnd', true) ? DRAG_HANDLE_MAX_WIDTH_PLUS_GAP : 0, "px"),
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
83
+ width: "".concat(editorExperiment('table-nested-dnd', true) ? DRAG_HANDLE_MAX_WIDTH_PLUS_GAP : 0, "px"),
84
+ height: '100%',
85
+ cursor: 'default',
86
+ zIndex: 1
74
87
  }
75
88
  },
76
89
  // TODO - ED-23995 this style override needs to be moved to the Rule styles after FF cleanup - packages/editor/editor-common/src/styles/shared/rule.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "1.13.8",
3
+ "version": "1.13.10",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,17 +30,17 @@
30
30
  ".": "./src/index.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/editor-common": "^89.0.0",
33
+ "@atlaskit/editor-common": "^89.1.0",
34
34
  "@atlaskit/editor-plugin-accessibility-utils": "^1.2.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
36
36
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
37
37
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
38
38
  "@atlaskit/editor-plugin-quick-insert": "^1.3.0",
39
39
  "@atlaskit/editor-plugin-width": "^1.3.0",
40
- "@atlaskit/editor-prosemirror": "5.0.1",
40
+ "@atlaskit/editor-prosemirror": "6.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^2.13.0",
42
42
  "@atlaskit/editor-tables": "^2.8.0",
43
- "@atlaskit/icon": "^22.16.0",
43
+ "@atlaskit/icon": "^22.17.0",
44
44
  "@atlaskit/platform-feature-flags": "^0.3.0",
45
45
  "@atlaskit/pragmatic-drag-and-drop": "^1.3.0",
46
46
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",