@atlaskit/editor-plugin-insert-block 29.0.2 → 30.0.1

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,17 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 30.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 30.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 29.0.2
4
16
 
5
17
  ### Patch Changes
@@ -18,7 +18,7 @@ var _List = require("react-virtualized/dist/commonjs/List");
18
18
  var _emptyState = require("@atlaskit/editor-common/quick-insert/empty-state");
19
19
  var _registeredMenuModel = require("@atlaskit/editor-common/quick-insert/registered-menu-model");
20
20
  var _useMenuListHeight2 = require("@atlaskit/editor-common/quick-insert/use-menu-list-height");
21
- var _compiled = require("@atlaskit/primitives/compiled");
21
+ var _box = require("@atlaskit/primitives/compiled/box");
22
22
  var _RegisteredInsertMenuItem = require("./RegisteredInsertMenuItem");
23
23
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
24
24
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
@@ -242,7 +242,7 @@ var RegisteredInsertMenuList = exports.RegisteredInsertMenuList = function Regis
242
242
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
243
243
  ,
244
244
  style: style
245
- }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
245
+ }, /*#__PURE__*/_react.default.createElement(_box.Box, {
246
246
  paddingBlockEnd: index === rows.length - 1 ? 'space.100' : undefined
247
247
  }, rowContent));
248
248
  });
@@ -267,7 +267,7 @@ var RegisteredInsertMenuList = exports.RegisteredInsertMenuList = function Regis
267
267
  var onFooterItemFocus = (0, _react.useCallback)(function () {
268
268
  return onItemFocus(footerItemIndex);
269
269
  }, [footerItemIndex, onItemFocus]);
270
- var footer = model.footer ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
270
+ var footer = model.footer ? /*#__PURE__*/_react.default.createElement(_box.Box, {
271
271
  testId: "registered-insert-menu-footer",
272
272
  xcss: showFooterDivider ? styles.footerWithDivider : styles.footer,
273
273
  onFocus: onFooterItemFocus,
@@ -287,13 +287,13 @@ var RegisteredInsertMenuList = exports.RegisteredInsertMenuList = function Regis
287
287
  }
288
288
  return /*#__PURE__*/_react.default.createElement(Root, null, /*#__PURE__*/_react.default.createElement(_RegisteredInsertMenuItem.RegisteredInsertMenuPreviewContext.Provider, {
289
289
  value: activePreviewItemKey
290
- }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
290
+ }, /*#__PURE__*/_react.default.createElement(_box.Box, {
291
291
  xcss: styles.content,
292
292
  style: contentStyle
293
- }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
293
+ }, /*#__PURE__*/_react.default.createElement(_box.Box, {
294
294
  xcss: styles.scrollable,
295
295
  onScroll: onScrollableContentScroll
296
- }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
296
+ }, /*#__PURE__*/_react.default.createElement(_box.Box, {
297
297
  "aria-label": listLabel,
298
298
  "aria-owns": model.footer ? footerItemId : undefined,
299
299
  id: listId,
@@ -317,7 +317,7 @@ var RegisteredInsertMenuList = exports.RegisteredInsertMenuList = function Regis
317
317
  }))), hasNoSearchResults && /*#__PURE__*/_react.default.createElement(_emptyState.QuickInsertEmptyState, {
318
318
  mode: "inline",
319
319
  spacing: "compact"
320
- }), externalControls && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
320
+ }), externalControls && /*#__PURE__*/_react.default.createElement(_box.Box, {
321
321
  testId: "registered-insert-menu-external-controls",
322
322
  xcss: styles.externalControls
323
323
  }, externalControls)), footer)));
@@ -10,7 +10,7 @@ import { getQuickInsertMenuRows } from '@atlaskit/editor-common/quick-insert/reg
10
10
  import { useMenuListHeight } from '@atlaskit/editor-common/quick-insert/use-menu-list-height';
11
11
  // eslint-disable-next-line @atlaskit/platform/no-barrel-entry-imports
12
12
 
13
- import { Box } from '@atlaskit/primitives/compiled';
13
+ import { Box } from '@atlaskit/primitives/compiled/box';
14
14
  import { RegisteredInsertMenuItem, RegisteredInsertMenuPreviewContext } from './RegisteredInsertMenuItem';
15
15
  const ESTIMATED_ROW_HEIGHT = 44;
16
16
  // 44px item + 1px separator.
@@ -15,7 +15,7 @@ import { getQuickInsertMenuRows } from '@atlaskit/editor-common/quick-insert/reg
15
15
  import { useMenuListHeight } from '@atlaskit/editor-common/quick-insert/use-menu-list-height';
16
16
  // eslint-disable-next-line @atlaskit/platform/no-barrel-entry-imports
17
17
 
18
- import { Box } from '@atlaskit/primitives/compiled';
18
+ import { Box } from '@atlaskit/primitives/compiled/box';
19
19
  import { RegisteredInsertMenuItem, RegisteredInsertMenuPreviewContext } from './RegisteredInsertMenuItem';
20
20
  var ESTIMATED_ROW_HEIGHT = 44;
21
21
  // 44px item + 1px separator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "29.0.2",
3
+ "version": "30.0.1",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,33 +23,33 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/browser-apis": "^1.2.0",
25
25
  "@atlaskit/css": "^1.1.0",
26
- "@atlaskit/editor-plugin-analytics": "^28.0.0",
27
- "@atlaskit/editor-plugin-block-type": "^32.0.0",
28
- "@atlaskit/editor-plugin-code-block": "^30.0.0",
29
- "@atlaskit/editor-plugin-connectivity": "^28.0.0",
30
- "@atlaskit/editor-plugin-date": "^30.0.0",
31
- "@atlaskit/editor-plugin-emoji": "^29.0.0",
32
- "@atlaskit/editor-plugin-expand": "^29.0.0",
33
- "@atlaskit/editor-plugin-extension": "^31.0.0",
34
- "@atlaskit/editor-plugin-feature-flags": "^27.0.0",
35
- "@atlaskit/editor-plugin-hyperlink": "^30.0.0",
36
- "@atlaskit/editor-plugin-image-upload": "^28.0.0",
37
- "@atlaskit/editor-plugin-layout": "^29.0.0",
38
- "@atlaskit/editor-plugin-media": "^30.0.0",
39
- "@atlaskit/editor-plugin-media-insert": "^46.0.0",
40
- "@atlaskit/editor-plugin-mentions": "^30.0.0",
41
- "@atlaskit/editor-plugin-metrics": "^29.0.0",
42
- "@atlaskit/editor-plugin-panel": "^30.0.0",
43
- "@atlaskit/editor-plugin-placeholder-text": "^29.0.0",
44
- "@atlaskit/editor-plugin-primary-toolbar": "^29.0.0",
45
- "@atlaskit/editor-plugin-quick-insert": "^28.0.0",
46
- "@atlaskit/editor-plugin-rule": "^28.0.0",
47
- "@atlaskit/editor-plugin-status": "^29.0.0",
48
- "@atlaskit/editor-plugin-table": "^40.0.0",
49
- "@atlaskit/editor-plugin-tasks-and-decisions": "^31.0.0",
50
- "@atlaskit/editor-plugin-toolbar": "^25.0.0",
51
- "@atlaskit/editor-plugin-type-ahead": "^29.0.0",
52
- "@atlaskit/editor-plugin-ui-control-registry": "^22.0.0",
26
+ "@atlaskit/editor-plugin-analytics": "^29.0.0",
27
+ "@atlaskit/editor-plugin-block-type": "^33.0.0",
28
+ "@atlaskit/editor-plugin-code-block": "^31.0.0",
29
+ "@atlaskit/editor-plugin-connectivity": "^29.0.0",
30
+ "@atlaskit/editor-plugin-date": "^31.0.0",
31
+ "@atlaskit/editor-plugin-emoji": "^30.0.0",
32
+ "@atlaskit/editor-plugin-expand": "^30.0.0",
33
+ "@atlaskit/editor-plugin-extension": "^32.0.0",
34
+ "@atlaskit/editor-plugin-feature-flags": "^28.0.0",
35
+ "@atlaskit/editor-plugin-hyperlink": "^31.0.0",
36
+ "@atlaskit/editor-plugin-image-upload": "^29.0.0",
37
+ "@atlaskit/editor-plugin-layout": "^30.0.0",
38
+ "@atlaskit/editor-plugin-media": "^31.0.0",
39
+ "@atlaskit/editor-plugin-media-insert": "^47.0.0",
40
+ "@atlaskit/editor-plugin-mentions": "^31.0.0",
41
+ "@atlaskit/editor-plugin-metrics": "^30.0.0",
42
+ "@atlaskit/editor-plugin-panel": "^31.0.0",
43
+ "@atlaskit/editor-plugin-placeholder-text": "^30.0.0",
44
+ "@atlaskit/editor-plugin-primary-toolbar": "^30.0.0",
45
+ "@atlaskit/editor-plugin-quick-insert": "^29.0.0",
46
+ "@atlaskit/editor-plugin-rule": "^29.0.0",
47
+ "@atlaskit/editor-plugin-status": "^30.0.0",
48
+ "@atlaskit/editor-plugin-table": "^41.0.0",
49
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^32.0.0",
50
+ "@atlaskit/editor-plugin-toolbar": "^26.0.0",
51
+ "@atlaskit/editor-plugin-type-ahead": "^30.0.0",
52
+ "@atlaskit/editor-plugin-ui-control-registry": "^23.0.0",
53
53
  "@atlaskit/editor-prosemirror": "^9.0.0",
54
54
  "@atlaskit/editor-shared-styles": "^4.5.0",
55
55
  "@atlaskit/editor-toolbar": "^2.8.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/platform-feature-flags": "^2.2.0",
63
63
  "@atlaskit/primitives": "^22.6.0",
64
64
  "@atlaskit/textfield": "^10.2.0",
65
- "@atlaskit/tmp-editor-statsig": "^242.0.0",
65
+ "@atlaskit/tmp-editor-statsig": "^243.0.0",
66
66
  "@atlaskit/tokens": "^20.6.0",
67
67
  "@babel/runtime": "^7.0.0",
68
68
  "@emotion/react": "^11.7.1",
@@ -72,7 +72,7 @@
72
72
  "react-virtualized": "^9.22.6"
73
73
  },
74
74
  "peerDependencies": {
75
- "@atlaskit/editor-common": "^132.0.0",
75
+ "@atlaskit/editor-common": "^133.1.0",
76
76
  "react": "^18.2.0 || ^19.2.0",
77
77
  "react-dom": "^18.2.0 || ^19.2.0",
78
78
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"