@atlaskit/editor-plugin-insert-block 1.1.2 → 1.1.4

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,18 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 1.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#76323](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76323) [`5beb55a40496`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5beb55a40496) - updated EXTRA_SPACE_EXCLUDING_ELEMENTLIST to fix single item scroll issue
8
+ - Updated dependencies
9
+
10
+ ## 1.1.3
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 1.1.2
4
17
 
5
18
  ### Patch Changes
@@ -132,7 +132,7 @@ var getSvgIconForItem = function getSvgIconForItem(_ref2) {
132
132
  var getInsertMenuHeight = function getInsertMenuHeight(_ref3) {
133
133
  var itemCount = _ref3.itemCount;
134
134
  // Figure based on visuals to exclude the searchbar, padding/margin, and the ViewMore item.
135
- var EXTRA_SPACE_EXCLUDING_ELEMENTLIST = 112;
135
+ var EXTRA_SPACE_EXCLUDING_ELEMENTLIST = 128;
136
136
  if (itemCount > 0 && itemCount < 6) {
137
137
  return itemCount * _elementBrowser.ELEMENT_ITEM_HEIGHT + EXTRA_SPACE_EXCLUDING_ELEMENTLIST;
138
138
  }
@@ -117,7 +117,7 @@ const getInsertMenuHeight = ({
117
117
  itemCount
118
118
  }) => {
119
119
  // Figure based on visuals to exclude the searchbar, padding/margin, and the ViewMore item.
120
- const EXTRA_SPACE_EXCLUDING_ELEMENTLIST = 112;
120
+ const EXTRA_SPACE_EXCLUDING_ELEMENTLIST = 128;
121
121
  if (itemCount > 0 && itemCount < 6) {
122
122
  return itemCount * ELEMENT_ITEM_HEIGHT + EXTRA_SPACE_EXCLUDING_ELEMENTLIST;
123
123
  }
@@ -126,7 +126,7 @@ var getSvgIconForItem = function getSvgIconForItem(_ref2) {
126
126
  var getInsertMenuHeight = function getInsertMenuHeight(_ref3) {
127
127
  var itemCount = _ref3.itemCount;
128
128
  // Figure based on visuals to exclude the searchbar, padding/margin, and the ViewMore item.
129
- var EXTRA_SPACE_EXCLUDING_ELEMENTLIST = 112;
129
+ var EXTRA_SPACE_EXCLUDING_ELEMENTLIST = 128;
130
130
  if (itemCount > 0 && itemCount < 6) {
131
131
  return itemCount * ELEMENT_ITEM_HEIGHT + EXTRA_SPACE_EXCLUDING_ELEMENTLIST;
132
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/editor-common": "^78.8.0",
36
+ "@atlaskit/editor-common": "^78.11.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
38
38
  "@atlaskit/editor-plugin-block-type": "^3.0.0",
39
39
  "@atlaskit/editor-plugin-code-block": "^1.1.0",
@@ -41,10 +41,10 @@
41
41
  "@atlaskit/editor-plugin-emoji": "^1.1.0",
42
42
  "@atlaskit/editor-plugin-expand": "^1.2.0",
43
43
  "@atlaskit/editor-plugin-extension": "^1.0.0",
44
- "@atlaskit/editor-plugin-hyperlink": "^1.0.0",
44
+ "@atlaskit/editor-plugin-hyperlink": "^1.1.0",
45
45
  "@atlaskit/editor-plugin-image-upload": "^1.0.0",
46
46
  "@atlaskit/editor-plugin-layout": "^1.0.0",
47
- "@atlaskit/editor-plugin-media": "^1.4.0",
47
+ "@atlaskit/editor-plugin-media": "^1.8.0",
48
48
  "@atlaskit/editor-plugin-mentions": "^1.0.0",
49
49
  "@atlaskit/editor-plugin-panel": "^1.0.0",
50
50
  "@atlaskit/editor-plugin-placeholder-text": "^1.0.0",
@@ -58,9 +58,9 @@
58
58
  "@atlaskit/editor-shared-styles": "^2.9.0",
59
59
  "@atlaskit/emoji": "^67.6.0",
60
60
  "@atlaskit/icon": "^22.1.0",
61
- "@atlaskit/primitives": "^3.1.0",
61
+ "@atlaskit/primitives": "^4.0.0",
62
62
  "@atlaskit/theme": "^12.6.0",
63
- "@atlaskit/tokens": "^1.38.0",
63
+ "@atlaskit/tokens": "^1.39.0",
64
64
  "@babel/runtime": "^7.0.0",
65
65
  "@emotion/react": "^11.7.1",
66
66
  "bind-event-listener": "^2.1.1",