@atlaskit/editor-plugin-expand 1.7.3 → 1.7.5

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,24 @@
1
1
  # @atlaskit/editor-plugin-expand
2
2
 
3
+ ## 1.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#111395](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111395)
8
+ [`982ae51e945a5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/982ae51e945a5) -
9
+ [ux] ED-23658 A user on a live page in view mode is not able to edit the contents of an expand.
10
+ - Updated dependencies
11
+
12
+ ## 1.7.4
13
+
14
+ ### Patch Changes
15
+
16
+ - [#110390](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110390)
17
+ [`bead123202369`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bead123202369) -
18
+ [ux] [ED-23642] Reordering the typeahead so that date, status, code block & info panel are above
19
+ the fold (in the top 5 results)
20
+ - Updated dependencies
21
+
3
22
  ## 1.7.3
4
23
 
5
24
  ### Patch Changes
@@ -62,6 +62,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
62
62
  pluginsOptions: {
63
63
  floatingToolbar: (0, _toolbar.getToolbarConfig)(api),
64
64
  quickInsert: function quickInsert(_ref3) {
65
+ var _options$getEditorFea;
65
66
  var formatMessage = _ref3.formatMessage;
66
67
  if (options && options.allowInsertion !== true) {
67
68
  return [];
@@ -71,7 +72,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
71
72
  title: formatMessage(_messages.toolbarInsertBlockMessages.expand),
72
73
  description: formatMessage(_messages.toolbarInsertBlockMessages.expandDescription),
73
74
  keywords: ['accordion', 'collapse'],
74
- priority: 600,
75
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 700 : 600,
75
76
  icon: function icon() {
76
77
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconExpand, null);
77
78
  },
@@ -28,7 +28,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
28
28
  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; }
29
29
  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; }
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
31
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
31
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
32
32
  var withTooltip = exports.withTooltip = function withTooltip(WrapperComponent) {
33
33
  return /*#__PURE__*/function (_React$Component) {
34
34
  (0, _inherits2.default)(WithSortableColumn, _React$Component);
@@ -100,7 +100,7 @@ var ExpandIconButton = exports.ExpandIconButton = function ExpandIconButton(prop
100
100
  }, props));
101
101
  }
102
102
  return (
103
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
103
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
104
104
  (0, _react2.jsx)("div", {
105
105
  css: _ui.expandLayoutWrapperStyle
106
106
  }, (0, _react2.jsx)(ButtonWithoutTooltip, (0, _extends2.default)({
@@ -457,10 +457,6 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
457
457
  _expand.expandedState.set(node, wasExpanded);
458
458
  }
459
459
  }
460
- if (this.content) {
461
- // Disallow interaction/selection inside when collapsed.
462
- this.content.setAttribute('contenteditable', this.getContentEditable(node) ? 'true' : 'false');
463
- }
464
460
  this.node = node;
465
461
  this.updateExpandToggleIcon(this.node);
466
462
  return true;
@@ -484,7 +480,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
484
480
  value: function updateExpandBodyContentEditable() {
485
481
  // Disallow interaction/selection inside expand body when collapsed.
486
482
  if (this.content) {
487
- this.content.setAttribute('contenteditable', _expand.expandedState.get(this.node) ? 'true' : 'false');
483
+ this.content.setAttribute('contenteditable', this.getContentEditable(this.node) ? 'true' : 'false');
488
484
  }
489
485
  }
490
486
  }, {
@@ -55,6 +55,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
55
55
  pluginsOptions: {
56
56
  floatingToolbar: (0, _toolbar.getToolbarConfig)(api),
57
57
  quickInsert: function quickInsert(_ref3) {
58
+ var _options$getEditorFea;
58
59
  var formatMessage = _ref3.formatMessage;
59
60
  if (options && options.allowInsertion !== true) {
60
61
  return [];
@@ -64,7 +65,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
64
65
  title: formatMessage(_messages.toolbarInsertBlockMessages.expand),
65
66
  description: formatMessage(_messages.toolbarInsertBlockMessages.expandDescription),
66
67
  keywords: ['accordion', 'collapse'],
67
- priority: 600,
68
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 700 : 600,
68
69
  icon: function icon() {
69
70
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconExpand, null);
70
71
  },
@@ -19,6 +19,7 @@ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron
19
19
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
20
20
  var _excluded = ["buttonStyles"];
21
21
  /** @jsx jsx */
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
24
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
25
  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; }
@@ -79,7 +80,7 @@ var ExpandButton = exports.ExpandButton = function ExpandButton(props) {
79
80
  }, props));
80
81
  }
81
82
  return (
82
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
83
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
83
84
  (0, _react2.jsx)("div", {
84
85
  css: _ui.expandLayoutWrapperStyle
85
86
  }, (0, _react2.jsx)(ButtonWithoutTooltip, (0, _extends2.default)({
@@ -50,6 +50,7 @@ export const expandPlugin = ({
50
50
  quickInsert: ({
51
51
  formatMessage
52
52
  }) => {
53
+ var _options$getEditorFea;
53
54
  if (options && options.allowInsertion !== true) {
54
55
  return [];
55
56
  }
@@ -58,7 +59,7 @@ export const expandPlugin = ({
58
59
  title: formatMessage(messages.expand),
59
60
  description: formatMessage(messages.expandDescription),
60
61
  keywords: ['accordion', 'collapse'],
61
- priority: 600,
62
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 700 : 600,
62
63
  icon: () => /*#__PURE__*/React.createElement(IconExpand, null),
63
64
  action(insert, state) {
64
65
  var _api$analytics2;
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React, { useCallback } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import Button from '@atlaskit/button/custom-theme-button';
6
8
  import { expandClassNames } from '@atlaskit/editor-common/styles';
@@ -81,7 +83,7 @@ export const ExpandIconButton = props => {
81
83
  }, props));
82
84
  }
83
85
  return (
84
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
86
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
85
87
  jsx("div", {
86
88
  css: expandLayoutWrapperStyle
87
89
  }, jsx(ButtonWithoutTooltip, _extends({
@@ -452,10 +452,6 @@ export class ExpandNodeView {
452
452
  expandedState.set(node, wasExpanded);
453
453
  }
454
454
  }
455
- if (this.content) {
456
- // Disallow interaction/selection inside when collapsed.
457
- this.content.setAttribute('contenteditable', this.getContentEditable(node) ? 'true' : 'false');
458
- }
459
455
  this.node = node;
460
456
  this.updateExpandToggleIcon(this.node);
461
457
  return true;
@@ -475,7 +471,7 @@ export class ExpandNodeView {
475
471
  updateExpandBodyContentEditable() {
476
472
  // Disallow interaction/selection inside expand body when collapsed.
477
473
  if (this.content) {
478
- this.content.setAttribute('contenteditable', expandedState.get(this.node) ? 'true' : 'false');
474
+ this.content.setAttribute('contenteditable', this.getContentEditable(this.node) ? 'true' : 'false');
479
475
  }
480
476
  }
481
477
  destroy() {
@@ -49,6 +49,7 @@ export const expandPlugin = ({
49
49
  quickInsert: ({
50
50
  formatMessage
51
51
  }) => {
52
+ var _options$getEditorFea;
52
53
  if (options && options.allowInsertion !== true) {
53
54
  return [];
54
55
  }
@@ -57,7 +58,7 @@ export const expandPlugin = ({
57
58
  title: formatMessage(messages.expand),
58
59
  description: formatMessage(messages.expandDescription),
59
60
  keywords: ['accordion', 'collapse'],
60
- priority: 600,
61
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 700 : 600,
61
62
  icon: () => /*#__PURE__*/React.createElement(IconExpand, null),
62
63
  action(insert, state) {
63
64
  var _api$analytics2;
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React, { useCallback } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import Button from '@atlaskit/button/custom-theme-button';
6
8
  import { expandClassNames } from '@atlaskit/editor-common/styles';
@@ -69,7 +71,7 @@ export const ExpandButton = props => {
69
71
  }, props));
70
72
  }
71
73
  return (
72
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
74
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
73
75
  jsx("div", {
74
76
  css: expandLayoutWrapperStyle
75
77
  }, jsx(ButtonWithoutTooltip, _extends({
@@ -49,6 +49,7 @@ export var expandPlugin = function expandPlugin(_ref) {
49
49
  pluginsOptions: {
50
50
  floatingToolbar: getToolbarConfig(api),
51
51
  quickInsert: function quickInsert(_ref3) {
52
+ var _options$getEditorFea;
52
53
  var formatMessage = _ref3.formatMessage;
53
54
  if (options && options.allowInsertion !== true) {
54
55
  return [];
@@ -58,7 +59,7 @@ export var expandPlugin = function expandPlugin(_ref) {
58
59
  title: formatMessage(messages.expand),
59
60
  description: formatMessage(messages.expandDescription),
60
61
  keywords: ['accordion', 'collapse'],
61
- priority: 600,
62
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 700 : 600,
62
63
  icon: function icon() {
63
64
  return /*#__PURE__*/React.createElement(IconExpand, null);
64
65
  },
@@ -13,6 +13,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  /** @jsx jsx */
15
15
  import React, { useCallback } from 'react';
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
18
  import { jsx } from '@emotion/react';
17
19
  import Button from '@atlaskit/button/custom-theme-button';
18
20
  import { expandClassNames } from '@atlaskit/editor-common/styles';
@@ -91,7 +93,7 @@ export var ExpandIconButton = function ExpandIconButton(props) {
91
93
  }, props));
92
94
  }
93
95
  return (
94
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
96
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
95
97
  jsx("div", {
96
98
  css: expandLayoutWrapperStyle
97
99
  }, jsx(ButtonWithoutTooltip, _extends({
@@ -449,10 +449,6 @@ export var ExpandNodeView = /*#__PURE__*/function () {
449
449
  expandedState.set(node, wasExpanded);
450
450
  }
451
451
  }
452
- if (this.content) {
453
- // Disallow interaction/selection inside when collapsed.
454
- this.content.setAttribute('contenteditable', this.getContentEditable(node) ? 'true' : 'false');
455
- }
456
452
  this.node = node;
457
453
  this.updateExpandToggleIcon(this.node);
458
454
  return true;
@@ -476,7 +472,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
476
472
  value: function updateExpandBodyContentEditable() {
477
473
  // Disallow interaction/selection inside expand body when collapsed.
478
474
  if (this.content) {
479
- this.content.setAttribute('contenteditable', expandedState.get(this.node) ? 'true' : 'false');
475
+ this.content.setAttribute('contenteditable', this.getContentEditable(this.node) ? 'true' : 'false');
480
476
  }
481
477
  }
482
478
  }, {
@@ -48,6 +48,7 @@ export var expandPlugin = function expandPlugin(_ref) {
48
48
  pluginsOptions: {
49
49
  floatingToolbar: getToolbarConfig(api),
50
50
  quickInsert: function quickInsert(_ref3) {
51
+ var _options$getEditorFea;
51
52
  var formatMessage = _ref3.formatMessage;
52
53
  if (options && options.allowInsertion !== true) {
53
54
  return [];
@@ -57,7 +58,7 @@ export var expandPlugin = function expandPlugin(_ref) {
57
58
  title: formatMessage(messages.expand),
58
59
  description: formatMessage(messages.expandDescription),
59
60
  keywords: ['accordion', 'collapse'],
60
- priority: 600,
61
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 700 : 600,
61
62
  icon: function icon() {
62
63
  return /*#__PURE__*/React.createElement(IconExpand, null);
63
64
  },
@@ -6,6 +6,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  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) { _defineProperty(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; }
7
7
  /** @jsx jsx */
8
8
  import React, { useCallback } from 'react';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
11
  import { jsx } from '@emotion/react';
10
12
  import Button from '@atlaskit/button/custom-theme-button';
11
13
  import { expandClassNames } from '@atlaskit/editor-common/styles';
@@ -69,7 +71,7 @@ export var ExpandButton = function ExpandButton(props) {
69
71
  }, props));
70
72
  }
71
73
  return (
72
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
74
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
73
75
  jsx("div", {
74
76
  css: expandLayoutWrapperStyle
75
77
  }, jsx(ButtonWithoutTooltip, _extends({
@@ -1,4 +1,4 @@
1
- import type { EditorAppearance, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { EditorAppearance, GetEditorFeatureFlags, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
4
4
  import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
@@ -33,6 +33,7 @@ export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
33
33
  * @default false
34
34
  */
35
35
  __livePage?: boolean;
36
+ getEditorFeatureFlags?: GetEditorFeatureFlags;
36
37
  }
37
38
  export type ExpandPlugin = NextEditorPlugin<'expand', {
38
39
  pluginConfiguration: ExpandPluginOptions | undefined;
@@ -1,4 +1,4 @@
1
- import type { EditorAppearance, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { EditorAppearance, GetEditorFeatureFlags, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
4
4
  import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
@@ -33,6 +33,7 @@ export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
33
33
  * @default false
34
34
  */
35
35
  __livePage?: boolean;
36
+ getEditorFeatureFlags?: GetEditorFeatureFlags;
36
37
  }
37
38
  export type ExpandPlugin = NextEditorPlugin<'expand', {
38
39
  pluginConfiguration: ExpandPluginOptions | undefined;
package/package.json CHANGED
@@ -1,115 +1,115 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-expand",
3
- "version": "1.7.3",
4
- "description": "Expand plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Jenga",
12
- "singleton": true,
13
- "inPublicMirror": false,
14
- "releaseModel": "continuous",
15
- "runReact18": false
16
- },
17
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
18
- "main": "dist/cjs/index.js",
19
- "module": "dist/esm/index.js",
20
- "module:es2019": "dist/es2019/index.js",
21
- "types": "dist/types/index.d.ts",
22
- "typesVersions": {
23
- ">=4.5 <4.9": {
24
- "*": [
25
- "dist/types-ts4.5/*",
26
- "dist/types-ts4.5/index.d.ts"
27
- ]
28
- }
29
- },
30
- "sideEffects": false,
31
- "atlaskit:src": "src/index.ts",
32
- "af:exports": {
33
- ".": "./src/index.ts"
34
- },
35
- "dependencies": {
36
- "@atlaskit/adf-schema": "^36.10.7",
37
- "@atlaskit/button": "^17.17.0",
38
- "@atlaskit/editor-common": "^82.0.0",
39
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
40
- "@atlaskit/editor-plugin-decorations": "^1.1.0",
41
- "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
42
- "@atlaskit/editor-plugin-selection": "^1.2.0",
43
- "@atlaskit/editor-plugin-selection-marker": "^1.3.0",
44
- "@atlaskit/editor-prosemirror": "4.0.1",
45
- "@atlaskit/editor-shared-styles": "^2.12.0",
46
- "@atlaskit/editor-tables": "^2.7.0",
47
- "@atlaskit/icon": "^22.3.0",
48
- "@atlaskit/platform-feature-flags": "^0.2.0",
49
- "@atlaskit/tooltip": "^18.4.0",
50
- "@babel/runtime": "^7.0.0",
51
- "@emotion/react": "^11.7.1",
52
- "w3c-keyname": "^2.1.8"
53
- },
54
- "peerDependencies": {
55
- "react": "^16.8.0",
56
- "react-dom": "^16.8.0",
57
- "react-intl-next": "npm:react-intl@^5.18.1"
58
- },
59
- "devDependencies": {
60
- "@atlaskit/analytics-next": "^9.3.0",
61
- "@atlaskit/editor-plugin-content-insertion": "^1.2.0",
62
- "@atlaskit/editor-plugin-guideline": "^1.1.0",
63
- "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
64
- "@atlaskit/editor-plugin-table": "^7.16.0",
65
- "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
66
- "@atlaskit/editor-plugin-width": "^1.1.0",
67
- "@testing-library/react": "^12.1.5",
68
- "react-test-renderer": "^16.8.0",
69
- "typescript": "~5.4.2"
70
- },
71
- "techstack": {
72
- "@atlassian/frontend": {
73
- "import-structure": [
74
- "atlassian-conventions"
75
- ],
76
- "circular-dependencies": [
77
- "file-and-folder-level"
78
- ]
79
- },
80
- "@repo/internal": {
81
- "dom-events": "use-bind-event-listener",
82
- "analytics": [
83
- "analytics-next"
84
- ],
85
- "design-tokens": [
86
- "color"
87
- ],
88
- "theming": [
89
- "react-context"
90
- ],
91
- "ui-components": [
92
- "lite-mode"
93
- ],
94
- "deprecation": "no-deprecated-imports",
95
- "styling": [
96
- "emotion",
97
- "emotion"
98
- ],
99
- "imports": [
100
- "import-no-extraneous-disable-for-examples-and-docs"
101
- ]
102
- }
103
- },
104
- "platform-feature-flags": {
105
- "platform.editor.live-pages-expand-divergence": {
106
- "type": "boolean"
107
- },
108
- "platform.editor.single-player-expand": {
109
- "type": "boolean"
110
- },
111
- "platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
112
- "type": "boolean"
113
- }
114
- }
115
- }
2
+ "name": "@atlaskit/editor-plugin-expand",
3
+ "version": "1.7.5",
4
+ "description": "Expand plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Jenga",
12
+ "singleton": true,
13
+ "inPublicMirror": false,
14
+ "releaseModel": "continuous",
15
+ "runReact18": false
16
+ },
17
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
18
+ "main": "dist/cjs/index.js",
19
+ "module": "dist/esm/index.js",
20
+ "module:es2019": "dist/es2019/index.js",
21
+ "types": "dist/types/index.d.ts",
22
+ "typesVersions": {
23
+ ">=4.5 <4.9": {
24
+ "*": [
25
+ "dist/types-ts4.5/*",
26
+ "dist/types-ts4.5/index.d.ts"
27
+ ]
28
+ }
29
+ },
30
+ "sideEffects": false,
31
+ "atlaskit:src": "src/index.ts",
32
+ "af:exports": {
33
+ ".": "./src/index.ts"
34
+ },
35
+ "dependencies": {
36
+ "@atlaskit/adf-schema": "^36.10.7",
37
+ "@atlaskit/button": "^17.20.0",
38
+ "@atlaskit/editor-common": "^82.8.0",
39
+ "@atlaskit/editor-plugin-analytics": "^1.2.0",
40
+ "@atlaskit/editor-plugin-decorations": "^1.1.0",
41
+ "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
42
+ "@atlaskit/editor-plugin-selection": "^1.2.0",
43
+ "@atlaskit/editor-plugin-selection-marker": "^1.3.0",
44
+ "@atlaskit/editor-prosemirror": "4.0.1",
45
+ "@atlaskit/editor-shared-styles": "^2.12.0",
46
+ "@atlaskit/editor-tables": "^2.7.0",
47
+ "@atlaskit/icon": "^22.4.0",
48
+ "@atlaskit/platform-feature-flags": "^0.2.0",
49
+ "@atlaskit/tooltip": "^18.5.0",
50
+ "@babel/runtime": "^7.0.0",
51
+ "@emotion/react": "^11.7.1",
52
+ "w3c-keyname": "^2.1.8"
53
+ },
54
+ "peerDependencies": {
55
+ "react": "^16.8.0",
56
+ "react-dom": "^16.8.0",
57
+ "react-intl-next": "npm:react-intl@^5.18.1"
58
+ },
59
+ "devDependencies": {
60
+ "@atlaskit/analytics-next": "^9.3.0",
61
+ "@atlaskit/editor-plugin-content-insertion": "^1.2.0",
62
+ "@atlaskit/editor-plugin-guideline": "^1.1.0",
63
+ "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
64
+ "@atlaskit/editor-plugin-table": "^7.17.0",
65
+ "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
66
+ "@atlaskit/editor-plugin-width": "^1.1.0",
67
+ "@testing-library/react": "^12.1.5",
68
+ "react-test-renderer": "^16.8.0",
69
+ "typescript": "~5.4.2"
70
+ },
71
+ "techstack": {
72
+ "@atlassian/frontend": {
73
+ "import-structure": [
74
+ "atlassian-conventions"
75
+ ],
76
+ "circular-dependencies": [
77
+ "file-and-folder-level"
78
+ ]
79
+ },
80
+ "@repo/internal": {
81
+ "dom-events": "use-bind-event-listener",
82
+ "analytics": [
83
+ "analytics-next"
84
+ ],
85
+ "design-tokens": [
86
+ "color"
87
+ ],
88
+ "theming": [
89
+ "react-context"
90
+ ],
91
+ "ui-components": [
92
+ "lite-mode"
93
+ ],
94
+ "deprecation": "no-deprecated-imports",
95
+ "styling": [
96
+ "emotion",
97
+ "emotion"
98
+ ],
99
+ "imports": [
100
+ "import-no-extraneous-disable-for-examples-and-docs"
101
+ ]
102
+ }
103
+ },
104
+ "platform-feature-flags": {
105
+ "platform.editor.live-pages-expand-divergence": {
106
+ "type": "boolean"
107
+ },
108
+ "platform.editor.single-player-expand": {
109
+ "type": "boolean"
110
+ },
111
+ "platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
112
+ "type": "boolean"
113
+ }
114
+ }
115
+ }