@atlaskit/editor-plugin-expand 16.0.1 → 16.0.2

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,11 @@
1
1
  # @atlaskit/editor-plugin-expand
2
2
 
3
+ ## 16.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 16.0.1
4
10
 
5
11
  ### Patch Changes
@@ -22,6 +22,7 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
22
22
  var _utils4 = require("../utils");
23
23
  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; }
24
24
  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/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
25
+ // oxlint-disable-next-line import/no-duplicates
25
26
  // Creates either an expand or a nestedExpand node based on the current selection
26
27
  var createExpandNode = exports.createExpandNode = function createExpandNode(state) {
27
28
  var setExpandedState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
@@ -6,6 +6,8 @@ import { expandedState } from '@atlaskit/editor-common/expand';
6
6
  import { GapCursorSelection, Side } from '@atlaskit/editor-common/selection';
7
7
  import { expandClassNames } from '@atlaskit/editor-common/styles';
8
8
  import { findExpand } from '@atlaskit/editor-common/transforms';
9
+ // oxlint-disable-next-line import/no-duplicates
10
+
9
11
  import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
10
12
  import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
11
13
  import { findParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
@@ -9,6 +9,8 @@ import { expandedState } from '@atlaskit/editor-common/expand';
9
9
  import { GapCursorSelection, Side } from '@atlaskit/editor-common/selection';
10
10
  import { expandClassNames } from '@atlaskit/editor-common/styles';
11
11
  import { findExpand } from '@atlaskit/editor-common/transforms';
12
+ // oxlint-disable-next-line import/no-duplicates
13
+
12
14
  import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
13
15
  import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
14
16
  import { findParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-expand",
3
- "version": "16.0.1",
3
+ "version": "16.0.2",
4
4
  "description": "Expand plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
- "@atlaskit/adf-schema": "^56.7.0",
24
+ "@atlaskit/adf-schema": "^57.0.0",
25
25
  "@atlaskit/button": "^25.0.0",
26
26
  "@atlaskit/editor-plugin-analytics": "^15.0.0",
27
27
  "@atlaskit/editor-plugin-block-controls": "^16.0.0",
@@ -52,7 +52,7 @@
52
52
  "w3c-keyname": "^2.1.8"
53
53
  },
54
54
  "peerDependencies": {
55
- "@atlaskit/editor-common": "^119.1.0",
55
+ "@atlaskit/editor-common": "^119.4.0",
56
56
  "react": "^18.2.0 || ^19.2.0",
57
57
  "react-dom": "^18.2.0 || ^19.2.0",
58
58
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"