@atlaskit/editor-plugin-quick-insert 27.1.0 → 28.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-quick-insert
2
2
 
3
+ ## 28.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 28.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 27.1.0
4
16
 
5
17
  ### Minor Changes
@@ -17,7 +17,7 @@ var _state = require("@atlaskit/editor-prosemirror/state");
17
17
  var _utils = require("@atlaskit/editor-prosemirror/utils");
18
18
  var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
19
19
  var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
20
- var _compiled = require("@atlaskit/primitives/compiled");
20
+ var _pressable = require("@atlaskit/primitives/compiled/pressable");
21
21
  var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
22
22
  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); }
23
23
  var TEXT_PARENT_TYPES = ['paragraph', 'heading', 'blockquote', 'taskItem', 'decisionItem'];
@@ -151,7 +151,7 @@ var BlockControlQuickInsertButton = exports.BlockControlQuickInsertButton = func
151
151
  })
152
152
  }, /*#__PURE__*/_react.default.createElement("span", {
153
153
  className: (0, _runtime.ax)([quickInsertButtonContainerStyles.root, reserveDragHandleSpace && quickInsertButtonContainerStyles.reservedDragHandleSpace])
154
- }, /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
154
+ }, /*#__PURE__*/_react.default.createElement(_pressable.Pressable, {
155
155
  "aria-label": label,
156
156
  onClick: handleClick,
157
157
  onMouseDown: handleMouseDown,
@@ -35,7 +35,7 @@ var _RegistryElementBrowserFooter = require("./RegistryElementBrowserFooter");
35
35
  var _RegistryElementBrowserSearchResults = require("./RegistryElementBrowserSearchResults");
36
36
  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); }
37
37
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
38
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
38
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @atlaskit/platform/no-barrel-entry-imports
39
39
  var browserGridTemplateColumns = '182px minmax(0, 1fr)';
40
40
  var categoryColumnGap = "calc(".concat("var(--ds-space-200, 16px)", " + ", "var(--ds-space-150, 12px)", ")");
41
41
  var browserLayoutStyles = null;
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntl = require("react-intl");
10
10
  var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
11
11
  var _link = _interopRequireDefault(require("@atlaskit/button/link"));
12
- var _quickInsert = require("@atlaskit/editor-common/quick-insert");
12
+ var _messages = require("@atlaskit/editor-common/quick-insert/messages");
13
13
  var _inline = require("@atlaskit/primitives/compiled/inline");
14
14
  var _text = require("@atlaskit/primitives/compiled/text");
15
15
  var RegistryElementBrowserFooter = exports.RegistryElementBrowserFooter = function RegistryElementBrowserFooter(_ref) {
@@ -53,5 +53,5 @@ var RegistryElementBrowserFooter = exports.RegistryElementBrowserFooter = functi
53
53
  })), /*#__PURE__*/_react.default.createElement(_button.default, {
54
54
  appearance: "subtle",
55
55
  onClick: onClose
56
- }, formatMessage(_quickInsert.messages.close))));
56
+ }, formatMessage(_messages.messages.close))));
57
57
  };
@@ -9,7 +9,7 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
9
9
  import { findParentNode, findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
10
10
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
11
11
  import AddIcon from '@atlaskit/icon/core/add';
12
- import { Pressable } from '@atlaskit/primitives/compiled';
12
+ import { Pressable } from '@atlaskit/primitives/compiled/pressable';
13
13
  import Tooltip from '@atlaskit/tooltip/Tooltip';
14
14
  const TEXT_PARENT_TYPES = ['paragraph', 'heading', 'blockquote', 'taskItem', 'decisionItem'];
15
15
 
@@ -4,6 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
5
5
  import { useIntl } from 'react-intl';
6
6
  import IconButton from '@atlaskit/button/icon/button';
7
+ // eslint-disable-next-line @atlaskit/platform/no-barrel-entry-imports
7
8
  import { messages } from '@atlaskit/editor-common/quick-insert';
8
9
  import { MENU, RECOMMENDED_SECTION } from '@atlaskit/editor-common/quick-insert/keys';
9
10
  import { useQuickInsertSearchAnalytics } from '@atlaskit/editor-common/quick-insert/use-search-analytics';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import Button from '@atlaskit/button/default/button';
4
4
  import LinkButton from '@atlaskit/button/link';
5
- import { messages } from '@atlaskit/editor-common/quick-insert';
5
+ import { messages } from '@atlaskit/editor-common/quick-insert/messages';
6
6
  import { Inline } from '@atlaskit/primitives/compiled/inline';
7
7
  import { Text } from '@atlaskit/primitives/compiled/text';
8
8
  export const RegistryElementBrowserFooter = ({
@@ -9,7 +9,7 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
9
9
  import { findParentNode, findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
10
10
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
11
11
  import AddIcon from '@atlaskit/icon/core/add';
12
- import { Pressable } from '@atlaskit/primitives/compiled';
12
+ import { Pressable } from '@atlaskit/primitives/compiled/pressable';
13
13
  import Tooltip from '@atlaskit/tooltip/Tooltip';
14
14
  var TEXT_PARENT_TYPES = ['paragraph', 'heading', 'blockquote', 'taskItem', 'decisionItem'];
15
15
 
@@ -8,6 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
8
8
  import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
9
9
  import { useIntl } from 'react-intl';
10
10
  import IconButton from '@atlaskit/button/icon/button';
11
+ // eslint-disable-next-line @atlaskit/platform/no-barrel-entry-imports
11
12
  import { messages } from '@atlaskit/editor-common/quick-insert';
12
13
  import { MENU, RECOMMENDED_SECTION } from '@atlaskit/editor-common/quick-insert/keys';
13
14
  import { useQuickInsertSearchAnalytics } from '@atlaskit/editor-common/quick-insert/use-search-analytics';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import Button from '@atlaskit/button/default/button';
4
4
  import LinkButton from '@atlaskit/button/link';
5
- import { messages } from '@atlaskit/editor-common/quick-insert';
5
+ import { messages } from '@atlaskit/editor-common/quick-insert/messages';
6
6
  import { Inline } from '@atlaskit/primitives/compiled/inline';
7
7
  import { Text } from '@atlaskit/primitives/compiled/text';
8
8
  export var RegistryElementBrowserFooter = function RegistryElementBrowserFooter(_ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-quick-insert",
3
- "version": "27.1.0",
3
+ "version": "28.0.1",
4
4
  "description": "Quick insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,23 +28,24 @@
28
28
  "dependencies": {
29
29
  "@atlaskit/button": "^25.4.0",
30
30
  "@atlaskit/css": "^1.1.0",
31
- "@atlaskit/editor-plugin-analytics": "^27.0.0",
32
- "@atlaskit/editor-plugin-connectivity": "^27.0.0",
33
- "@atlaskit/editor-plugin-editor-viewmode": "^29.0.0",
34
- "@atlaskit/editor-plugin-metrics": "^28.0.0",
35
- "@atlaskit/editor-plugin-type-ahead": "^28.0.0",
36
- "@atlaskit/editor-plugin-ui-control-registry": "^21.0.0",
31
+ "@atlaskit/docs": "^12.3.0",
32
+ "@atlaskit/editor-plugin-analytics": "^28.0.0",
33
+ "@atlaskit/editor-plugin-connectivity": "^28.0.0",
34
+ "@atlaskit/editor-plugin-editor-viewmode": "^30.0.0",
35
+ "@atlaskit/editor-plugin-metrics": "^29.0.0",
36
+ "@atlaskit/editor-plugin-type-ahead": "^29.0.0",
37
+ "@atlaskit/editor-plugin-ui-control-registry": "^22.0.0",
37
38
  "@atlaskit/editor-prosemirror": "^9.0.0",
38
39
  "@atlaskit/editor-tables": "^3.2.0",
39
40
  "@atlaskit/editor-ui-control-model": "^2.10.0",
40
41
  "@atlaskit/heading": "^8.0.0",
41
42
  "@atlaskit/icon": "^38.0.0",
42
- "@atlaskit/modal-dialog": "^17.0.0",
43
+ "@atlaskit/modal-dialog": "^17.1.0",
43
44
  "@atlaskit/platform-feature-experiments": "^0.3.0",
44
45
  "@atlaskit/platform-feature-flags": "^2.2.0",
45
46
  "@atlaskit/primitives": "^22.6.0",
46
47
  "@atlaskit/textfield": "^10.2.0",
47
- "@atlaskit/tmp-editor-statsig": "^240.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^241.0.0",
48
49
  "@atlaskit/tokens": "^20.6.0",
49
50
  "@atlaskit/tooltip": "^24.4.0",
50
51
  "@babel/runtime": "^7.0.0",
@@ -52,7 +53,7 @@
52
53
  "@emotion/react": "^11.7.1"
53
54
  },
54
55
  "peerDependencies": {
55
- "@atlaskit/editor-common": "^131.4.0",
56
+ "@atlaskit/editor-common": "^132.0.0",
56
57
  "react": "^18.2.0 || ^19.2.0",
57
58
  "react-dom": "^18.2.0 || ^19.2.0",
58
59
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"