@atlaskit/editor-plugin-tasks-and-decisions 19.1.3 → 19.2.0

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,16 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 19.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`18d27cec35407`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/18d27cec35407) -
8
+ [ux] FFCLEANUP-81253 Cleanup of experiment platform_editor_blocktaskitem_patch_1
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 19.1.3
4
15
 
5
16
  ### Patch Changes
@@ -22,7 +22,6 @@ var _model = require("@atlaskit/editor-prosemirror/model");
22
22
  var _state = require("@atlaskit/editor-prosemirror/state");
23
23
  var _transform = require("@atlaskit/editor-prosemirror/transform");
24
24
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
25
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
26
25
  var _pluginKey = require("./plugin-key");
27
26
  var _types = require("./types");
28
27
  var _utils3 = require("./utils");
@@ -320,39 +319,26 @@ function getTaskItemDataAtPos(view) {
320
319
  var selection = state.selection,
321
320
  schema = state.schema;
322
321
  var $from = selection.$from;
323
- if ((0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true)) {
324
- var _schema$nodes2 = schema.nodes,
325
- taskItem = _schema$nodes2.taskItem,
326
- blockTaskItem = _schema$nodes2.blockTaskItem;
327
- var maybeTask = (0, _utils2.findParentNodeOfTypeClosestToPos)($from, [taskItem, blockTaskItem]);
322
+ var _schema$nodes2 = schema.nodes,
323
+ taskItem = _schema$nodes2.taskItem,
324
+ blockTaskItem = _schema$nodes2.blockTaskItem;
325
+ var maybeTask = (0, _utils2.findParentNodeOfTypeClosestToPos)($from, [taskItem, blockTaskItem]);
328
326
 
329
- // current selection has to be inside taskitem
330
- if (maybeTask) {
331
- return {
332
- pos: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.pos,
333
- localId: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.node.attrs.localId
334
- };
335
- }
336
- } else {
337
- var isInTaskItem = $from.node().type === schema.nodes.taskItem;
338
-
339
- // current selection has to be inside taskitem
340
- if (isInTaskItem) {
341
- var taskItemPos = $from.before();
342
- return {
343
- pos: taskItemPos,
344
- localId: $from.node().attrs.localId
345
- };
346
- }
327
+ // current selection has to be inside taskitem
328
+ if (maybeTask) {
329
+ return {
330
+ pos: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.pos,
331
+ localId: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.node.attrs.localId
332
+ };
347
333
  }
348
334
  }
349
335
  function getAllTaskItemsDataInRootTaskList(view) {
350
336
  var state = view.state;
351
337
  var schema = state.schema;
352
338
  var $fromPos = state.selection.$from;
353
- var isInTaskItem = (0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? isInsideTask(state) : $fromPos.node().type === schema.nodes.taskItem;
339
+
354
340
  // if not inside task item then return undefined;
355
- if (!isInTaskItem) {
341
+ if (!isInsideTask(state)) {
356
342
  return;
357
343
  }
358
344
  var _schema$nodes3 = schema.nodes,
@@ -367,7 +353,7 @@ function getAllTaskItemsDataInRootTaskList(view) {
367
353
  var rootTaskListStartPos = rootTaskListData.start;
368
354
  var allTaskItems = [];
369
355
  rootTaskList.descendants(function (node, pos, parent, index) {
370
- if (node.type === taskItem || (0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && blockTaskItem && node.type === blockTaskItem) {
356
+ if (node.type === taskItem || blockTaskItem && node.type === blockTaskItem) {
371
357
  allTaskItems.push({
372
358
  node: node,
373
359
  pos: pos + rootTaskListStartPos,
@@ -389,7 +375,7 @@ function getCurrentTaskItemIndex(view, allTaskItems) {
389
375
  var allTaskItemNodes = allTaskItems.map(function (nodeData) {
390
376
  return nodeData.node;
391
377
  });
392
- var currentTaskItem = (0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? (_findParentNodeOfType = (0, _utils2.findParentNodeOfTypeClosestToPos)($fromPos, [taskItem, blockTaskItem])) === null || _findParentNodeOfType === void 0 ? void 0 : _findParentNodeOfType.node : $fromPos.node($fromPos.depth);
378
+ var currentTaskItem = (_findParentNodeOfType = (0, _utils2.findParentNodeOfTypeClosestToPos)($fromPos, [taskItem, blockTaskItem])) === null || _findParentNodeOfType === void 0 ? void 0 : _findParentNodeOfType.node;
393
379
  if (currentTaskItem) {
394
380
  var currentTaskItemIndex = allTaskItemNodes.indexOf(currentTaskItem);
395
381
  return currentTaskItemIndex;
@@ -440,10 +426,10 @@ function focusCheckboxAndUpdateSelection(view, taskItemData) {
440
426
  var tr = state.tr;
441
427
 
442
428
  // if there's an extension at this position, we're in a blockTaskItem, set a gapCursor
443
- if ((0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && extension && ((_doc$resolve$nodeAfte = doc.resolve(pos + 1).nodeAfter) === null || _doc$resolve$nodeAfte === void 0 ? void 0 : _doc$resolve$nodeAfte.type) === extension) {
429
+ if (extension && ((_doc$resolve$nodeAfte = doc.resolve(pos + 1).nodeAfter) === null || _doc$resolve$nodeAfte === void 0 ? void 0 : _doc$resolve$nodeAfte.type) === extension) {
444
430
  tr.setSelection(new _selection.GapCursorSelection(doc.resolve(pos + 1)));
445
431
  // if there's a textblock at this position, we're in a blockTaskItem, add an extra hop into the content
446
- } else if ((0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && (_doc$resolve$nodeAfte2 = doc.resolve(pos + 1).nodeAfter) !== null && _doc$resolve$nodeAfte2 !== void 0 && _doc$resolve$nodeAfte2.isTextblock) {
432
+ } else if ((_doc$resolve$nodeAfte2 = doc.resolve(pos + 1).nodeAfter) !== null && _doc$resolve$nodeAfte2 !== void 0 && _doc$resolve$nodeAfte2.isTextblock) {
447
433
  tr.setSelection(new _state.TextSelection(doc.resolve(pos + 2)));
448
434
  // else, this is an ordinary task item with inline content
449
435
  } else {
@@ -95,7 +95,7 @@ function createPlugin(portalProviderAPI, eventDispatcher, dispatch, api, getIntl
95
95
  var $from = selection.$from,
96
96
  $to = selection.$to;
97
97
  var parentOffset = $from.parentOffset;
98
- var isInTaskItem = (0, _expValEquals.expValEquals)('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? (0, _helpers.isInsideTask)(state) : $from.node().type === schema.nodes.taskItem;
98
+ var isInTaskItem = (0, _helpers.isInsideTask)(state);
99
99
  var focusedTaskItemLocalId = _pluginKey.stateKey.getState(state).focusedTaskItemLocalId;
100
100
  var currentTaskItemData = (0, _helpers.getTaskItemDataAtPos)(view);
101
101
  var currentTaskItemFocused = focusedTaskItemLocalId === (currentTaskItemData === null || currentTaskItemData === void 0 ? void 0 : currentTaskItemData.localId);
@@ -4,7 +4,6 @@ import { NodeRange } from '@atlaskit/editor-prosemirror/model';
4
4
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
6
6
  import { findParentNodeClosestToPos, findParentNodeOfTypeClosestToPos, hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
7
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
7
  import { stateKey } from './plugin-key';
9
8
  import { ACTIONS } from './types';
10
9
  import { findBlockTaskItem } from './utils';
@@ -319,31 +318,18 @@ export function getTaskItemDataAtPos(view) {
319
318
  const {
320
319
  $from
321
320
  } = selection;
322
- if (expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true)) {
323
- const {
324
- taskItem,
325
- blockTaskItem
326
- } = schema.nodes;
327
- const maybeTask = findParentNodeOfTypeClosestToPos($from, [taskItem, blockTaskItem]);
328
-
329
- // current selection has to be inside taskitem
330
- if (maybeTask) {
331
- return {
332
- pos: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.pos,
333
- localId: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.node.attrs.localId
334
- };
335
- }
336
- } else {
337
- const isInTaskItem = $from.node().type === schema.nodes.taskItem;
321
+ const {
322
+ taskItem,
323
+ blockTaskItem
324
+ } = schema.nodes;
325
+ const maybeTask = findParentNodeOfTypeClosestToPos($from, [taskItem, blockTaskItem]);
338
326
 
339
- // current selection has to be inside taskitem
340
- if (isInTaskItem) {
341
- const taskItemPos = $from.before();
342
- return {
343
- pos: taskItemPos,
344
- localId: $from.node().attrs.localId
345
- };
346
- }
327
+ // current selection has to be inside taskitem
328
+ if (maybeTask) {
329
+ return {
330
+ pos: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.pos,
331
+ localId: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.node.attrs.localId
332
+ };
347
333
  }
348
334
  }
349
335
  export function getAllTaskItemsDataInRootTaskList(view) {
@@ -354,9 +340,9 @@ export function getAllTaskItemsDataInRootTaskList(view) {
354
340
  schema
355
341
  } = state;
356
342
  const $fromPos = state.selection.$from;
357
- const isInTaskItem = expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? isInsideTask(state) : $fromPos.node().type === schema.nodes.taskItem;
343
+
358
344
  // if not inside task item then return undefined;
359
- if (!isInTaskItem) {
345
+ if (!isInsideTask(state)) {
360
346
  return;
361
347
  }
362
348
  const {
@@ -370,7 +356,7 @@ export function getAllTaskItemsDataInRootTaskList(view) {
370
356
  const rootTaskListStartPos = rootTaskListData.start;
371
357
  const allTaskItems = [];
372
358
  rootTaskList.descendants((node, pos, parent, index) => {
373
- if (node.type === taskItem || expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && blockTaskItem && node.type === blockTaskItem) {
359
+ if (node.type === taskItem || blockTaskItem && node.type === blockTaskItem) {
374
360
  allTaskItems.push({
375
361
  node,
376
362
  pos: pos + rootTaskListStartPos,
@@ -395,7 +381,7 @@ export function getCurrentTaskItemIndex(view, allTaskItems) {
395
381
  } = schema.nodes;
396
382
  const $fromPos = state.selection.$from;
397
383
  const allTaskItemNodes = allTaskItems.map(nodeData => nodeData.node);
398
- const currentTaskItem = expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? (_findParentNodeOfType = findParentNodeOfTypeClosestToPos($fromPos, [taskItem, blockTaskItem])) === null || _findParentNodeOfType === void 0 ? void 0 : _findParentNodeOfType.node : $fromPos.node($fromPos.depth);
384
+ const currentTaskItem = (_findParentNodeOfType = findParentNodeOfTypeClosestToPos($fromPos, [taskItem, blockTaskItem])) === null || _findParentNodeOfType === void 0 ? void 0 : _findParentNodeOfType.node;
399
385
  if (currentTaskItem) {
400
386
  const currentTaskItemIndex = allTaskItemNodes.indexOf(currentTaskItem);
401
387
  return currentTaskItemIndex;
@@ -460,10 +446,10 @@ export function focusCheckboxAndUpdateSelection(view, taskItemData) {
460
446
  const tr = state.tr;
461
447
 
462
448
  // if there's an extension at this position, we're in a blockTaskItem, set a gapCursor
463
- if (expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && extension && ((_doc$resolve$nodeAfte = doc.resolve(pos + 1).nodeAfter) === null || _doc$resolve$nodeAfte === void 0 ? void 0 : _doc$resolve$nodeAfte.type) === extension) {
449
+ if (extension && ((_doc$resolve$nodeAfte = doc.resolve(pos + 1).nodeAfter) === null || _doc$resolve$nodeAfte === void 0 ? void 0 : _doc$resolve$nodeAfte.type) === extension) {
464
450
  tr.setSelection(new GapCursorSelection(doc.resolve(pos + 1)));
465
451
  // if there's a textblock at this position, we're in a blockTaskItem, add an extra hop into the content
466
- } else if (expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && (_doc$resolve$nodeAfte2 = doc.resolve(pos + 1).nodeAfter) !== null && _doc$resolve$nodeAfte2 !== void 0 && _doc$resolve$nodeAfte2.isTextblock) {
452
+ } else if ((_doc$resolve$nodeAfte2 = doc.resolve(pos + 1).nodeAfter) !== null && _doc$resolve$nodeAfte2 !== void 0 && _doc$resolve$nodeAfte2.isTextblock) {
467
453
  tr.setSelection(new TextSelection(doc.resolve(pos + 2)));
468
454
  // else, this is an ordinary task item with inline content
469
455
  } else {
@@ -87,7 +87,7 @@ export function createPlugin(portalProviderAPI, eventDispatcher, dispatch, api,
87
87
  $to
88
88
  } = selection;
89
89
  const parentOffset = $from.parentOffset;
90
- const isInTaskItem = expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? isInsideTask(state) : $from.node().type === schema.nodes.taskItem;
90
+ const isInTaskItem = isInsideTask(state);
91
91
  const focusedTaskItemLocalId = stateKey.getState(state).focusedTaskItemLocalId;
92
92
  const currentTaskItemData = getTaskItemDataAtPos(view);
93
93
  const currentTaskItemFocused = focusedTaskItemLocalId === (currentTaskItemData === null || currentTaskItemData === void 0 ? void 0 : currentTaskItemData.localId);
@@ -4,7 +4,6 @@ import { NodeRange } from '@atlaskit/editor-prosemirror/model';
4
4
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
6
6
  import { findParentNodeClosestToPos, findParentNodeOfTypeClosestToPos, hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
7
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
7
  import { stateKey } from './plugin-key';
9
8
  import { ACTIONS } from './types';
10
9
  import { findBlockTaskItem } from './utils';
@@ -302,39 +301,26 @@ export function getTaskItemDataAtPos(view) {
302
301
  var selection = state.selection,
303
302
  schema = state.schema;
304
303
  var $from = selection.$from;
305
- if (expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true)) {
306
- var _schema$nodes2 = schema.nodes,
307
- taskItem = _schema$nodes2.taskItem,
308
- blockTaskItem = _schema$nodes2.blockTaskItem;
309
- var maybeTask = findParentNodeOfTypeClosestToPos($from, [taskItem, blockTaskItem]);
304
+ var _schema$nodes2 = schema.nodes,
305
+ taskItem = _schema$nodes2.taskItem,
306
+ blockTaskItem = _schema$nodes2.blockTaskItem;
307
+ var maybeTask = findParentNodeOfTypeClosestToPos($from, [taskItem, blockTaskItem]);
310
308
 
311
- // current selection has to be inside taskitem
312
- if (maybeTask) {
313
- return {
314
- pos: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.pos,
315
- localId: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.node.attrs.localId
316
- };
317
- }
318
- } else {
319
- var isInTaskItem = $from.node().type === schema.nodes.taskItem;
320
-
321
- // current selection has to be inside taskitem
322
- if (isInTaskItem) {
323
- var taskItemPos = $from.before();
324
- return {
325
- pos: taskItemPos,
326
- localId: $from.node().attrs.localId
327
- };
328
- }
309
+ // current selection has to be inside taskitem
310
+ if (maybeTask) {
311
+ return {
312
+ pos: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.pos,
313
+ localId: maybeTask === null || maybeTask === void 0 ? void 0 : maybeTask.node.attrs.localId
314
+ };
329
315
  }
330
316
  }
331
317
  export function getAllTaskItemsDataInRootTaskList(view) {
332
318
  var state = view.state;
333
319
  var schema = state.schema;
334
320
  var $fromPos = state.selection.$from;
335
- var isInTaskItem = expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? isInsideTask(state) : $fromPos.node().type === schema.nodes.taskItem;
321
+
336
322
  // if not inside task item then return undefined;
337
- if (!isInTaskItem) {
323
+ if (!isInsideTask(state)) {
338
324
  return;
339
325
  }
340
326
  var _schema$nodes3 = schema.nodes,
@@ -349,7 +335,7 @@ export function getAllTaskItemsDataInRootTaskList(view) {
349
335
  var rootTaskListStartPos = rootTaskListData.start;
350
336
  var allTaskItems = [];
351
337
  rootTaskList.descendants(function (node, pos, parent, index) {
352
- if (node.type === taskItem || expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && blockTaskItem && node.type === blockTaskItem) {
338
+ if (node.type === taskItem || blockTaskItem && node.type === blockTaskItem) {
353
339
  allTaskItems.push({
354
340
  node: node,
355
341
  pos: pos + rootTaskListStartPos,
@@ -371,7 +357,7 @@ export function getCurrentTaskItemIndex(view, allTaskItems) {
371
357
  var allTaskItemNodes = allTaskItems.map(function (nodeData) {
372
358
  return nodeData.node;
373
359
  });
374
- var currentTaskItem = expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? (_findParentNodeOfType = findParentNodeOfTypeClosestToPos($fromPos, [taskItem, blockTaskItem])) === null || _findParentNodeOfType === void 0 ? void 0 : _findParentNodeOfType.node : $fromPos.node($fromPos.depth);
360
+ var currentTaskItem = (_findParentNodeOfType = findParentNodeOfTypeClosestToPos($fromPos, [taskItem, blockTaskItem])) === null || _findParentNodeOfType === void 0 ? void 0 : _findParentNodeOfType.node;
375
361
  if (currentTaskItem) {
376
362
  var currentTaskItemIndex = allTaskItemNodes.indexOf(currentTaskItem);
377
363
  return currentTaskItemIndex;
@@ -422,10 +408,10 @@ export function focusCheckboxAndUpdateSelection(view, taskItemData) {
422
408
  var tr = state.tr;
423
409
 
424
410
  // if there's an extension at this position, we're in a blockTaskItem, set a gapCursor
425
- if (expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && extension && ((_doc$resolve$nodeAfte = doc.resolve(pos + 1).nodeAfter) === null || _doc$resolve$nodeAfte === void 0 ? void 0 : _doc$resolve$nodeAfte.type) === extension) {
411
+ if (extension && ((_doc$resolve$nodeAfte = doc.resolve(pos + 1).nodeAfter) === null || _doc$resolve$nodeAfte === void 0 ? void 0 : _doc$resolve$nodeAfte.type) === extension) {
426
412
  tr.setSelection(new GapCursorSelection(doc.resolve(pos + 1)));
427
413
  // if there's a textblock at this position, we're in a blockTaskItem, add an extra hop into the content
428
- } else if (expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) && (_doc$resolve$nodeAfte2 = doc.resolve(pos + 1).nodeAfter) !== null && _doc$resolve$nodeAfte2 !== void 0 && _doc$resolve$nodeAfte2.isTextblock) {
414
+ } else if ((_doc$resolve$nodeAfte2 = doc.resolve(pos + 1).nodeAfter) !== null && _doc$resolve$nodeAfte2 !== void 0 && _doc$resolve$nodeAfte2.isTextblock) {
429
415
  tr.setSelection(new TextSelection(doc.resolve(pos + 2)));
430
416
  // else, this is an ordinary task item with inline content
431
417
  } else {
@@ -88,7 +88,7 @@ export function createPlugin(portalProviderAPI, eventDispatcher, dispatch, api,
88
88
  var $from = selection.$from,
89
89
  $to = selection.$to;
90
90
  var parentOffset = $from.parentOffset;
91
- var isInTaskItem = expValEquals('platform_editor_blocktaskitem_patch_1', 'isEnabled', true) ? isInsideTask(state) : $from.node().type === schema.nodes.taskItem;
91
+ var isInTaskItem = isInsideTask(state);
92
92
  var focusedTaskItemLocalId = stateKey.getState(state).focusedTaskItemLocalId;
93
93
  var currentTaskItemData = getTaskItemDataAtPos(view);
94
94
  var currentTaskItemFocused = focusedTaskItemLocalId === (currentTaskItemData === null || currentTaskItemData === void 0 ? void 0 : currentTaskItemData.localId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "19.1.3",
3
+ "version": "19.2.0",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -42,14 +42,14 @@
42
42
  "@atlaskit/primitives": "^22.5.0",
43
43
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
44
44
  "@atlaskit/task-decision": "^21.9.0",
45
- "@atlaskit/tmp-editor-statsig": "^171.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^172.0.0",
46
46
  "@atlaskit/tokens": "^16.11.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@compiled/react": "^1.0.2",
49
49
  "bind-event-listener": "^3.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@atlaskit/editor-common": "^120.10.0",
52
+ "@atlaskit/editor-common": "^120.11.0",
53
53
  "react": "^18.2.0 || ^19.2.0",
54
54
  "react-dom": "^18.2.0 || ^19.2.0",
55
55
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -62,41 +62,6 @@
62
62
  "react-intl": "^7.0.0",
63
63
  "wait-for-expect": "^1.2.0"
64
64
  },
65
- "techstack": {
66
- "@atlassian/frontend": {
67
- "code-structure": [
68
- "editor-plugin"
69
- ],
70
- "import-structure": [
71
- "atlassian-conventions"
72
- ],
73
- "circular-dependencies": [
74
- "file-and-folder-level"
75
- ]
76
- },
77
- "@repo/internal": {
78
- "dom-events": "use-bind-event-listener",
79
- "analytics": [
80
- "analytics-next"
81
- ],
82
- "design-tokens": [
83
- "color"
84
- ],
85
- "theming": [
86
- "react-context"
87
- ],
88
- "ui-components": [
89
- "lite-mode"
90
- ],
91
- "deprecation": "no-deprecated-imports",
92
- "styling": [
93
- "compiled"
94
- ],
95
- "imports": [
96
- "import-no-extraneous-disable-for-examples-and-docs"
97
- ]
98
- }
99
- },
100
65
  "platform-feature-flags": {
101
66
  "platform-dst-motion-uplift-custom-button": {
102
67
  "type": "boolean",