@atlaskit/editor-plugin-tasks-and-decisions 2.4.1 → 2.4.3

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-tasks-and-decisions
2
2
 
3
+ ## 2.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#137344](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137344)
8
+ [`ec4ac3d413b9a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec4ac3d413b9a) -
9
+ ED-24829 Fixed lazy node attributes to match parseDOM
10
+
11
+ ## 2.4.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#134213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134213)
16
+ [`93bd7032842ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93bd7032842ec) -
17
+ [ux] [ED-24636] Bump ADF Schema package
18
+ - [#134135](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134135)
19
+ [`9cad1ed145e27`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9cad1ed145e27) -
20
+ updated lnv toDOM implementation of decision node to match ReactNodeView
21
+
3
22
  ## 2.4.1
4
23
 
5
24
  ### Patch Changes
@@ -24,6 +24,7 @@ var decisionItemSpecWithFixedToDOM = exports.decisionItemSpecWithFixedToDOM = fu
24
24
  var attrs = {
25
25
  'data-decision-local-id': localId || 'local-decision',
26
26
  'data-decision-state': state,
27
+ class: 'decisionItemView-content-wrap',
27
28
  // Styles to match `packages/elements/task-decision/src/components/styles.ts`
28
29
  style: (0, _lazyNodeView.convertToInlineCss)({
29
30
  background: "var(--ds-background-neutral, rgba(9, 30, 66, 0.04))",
@@ -34,13 +35,19 @@ var decisionItemSpecWithFixedToDOM = exports.decisionItemSpecWithFixedToDOM = fu
34
35
  })
35
36
  };
36
37
  return ['li', attrs, ['span', {
37
- // Styles to match `packages/elements/task-decision/src/components/DecisionItem.tsx`
38
38
  style: (0, _lazyNodeView.convertToInlineCss)({
39
39
  width: '16px',
40
40
  height: '16px',
41
41
  margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-200, 16px)", " 0 0")
42
42
  })
43
- }], ['span', 0]];
43
+ }], ['div', {
44
+ 'data-decision-wrapper': true,
45
+ 'data-testid': 'elements-decision-item'
46
+ }, ['div', {
47
+ 'data-component': 'content'
48
+ }, ['div', {
49
+ class: 'decision-item'
50
+ }, 0]]]];
44
51
  }
45
52
  });
46
53
  };
@@ -16,6 +16,7 @@ export const decisionItemSpecWithFixedToDOM = () => {
16
16
  const attrs = {
17
17
  'data-decision-local-id': localId || 'local-decision',
18
18
  'data-decision-state': state,
19
+ class: 'decisionItemView-content-wrap',
19
20
  // Styles to match `packages/elements/task-decision/src/components/styles.ts`
20
21
  style: convertToInlineCss({
21
22
  background: "var(--ds-background-neutral, rgba(9, 30, 66, 0.04))",
@@ -26,13 +27,19 @@ export const decisionItemSpecWithFixedToDOM = () => {
26
27
  })
27
28
  };
28
29
  return ['li', attrs, ['span', {
29
- // Styles to match `packages/elements/task-decision/src/components/DecisionItem.tsx`
30
30
  style: convertToInlineCss({
31
31
  width: '16px',
32
32
  height: '16px',
33
33
  margin: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-200, 16px)"} 0 0`
34
34
  })
35
- }], ['span', 0]];
35
+ }], ['div', {
36
+ 'data-decision-wrapper': true,
37
+ 'data-testid': 'elements-decision-item'
38
+ }, ['div', {
39
+ 'data-component': 'content'
40
+ }, ['div', {
41
+ class: 'decision-item'
42
+ }, 0]]]];
36
43
  }
37
44
  };
38
45
  };
@@ -17,6 +17,7 @@ export var decisionItemSpecWithFixedToDOM = function decisionItemSpecWithFixedTo
17
17
  var attrs = {
18
18
  'data-decision-local-id': localId || 'local-decision',
19
19
  'data-decision-state': state,
20
+ class: 'decisionItemView-content-wrap',
20
21
  // Styles to match `packages/elements/task-decision/src/components/styles.ts`
21
22
  style: convertToInlineCss({
22
23
  background: "var(--ds-background-neutral, rgba(9, 30, 66, 0.04))",
@@ -27,13 +28,19 @@ export var decisionItemSpecWithFixedToDOM = function decisionItemSpecWithFixedTo
27
28
  })
28
29
  };
29
30
  return ['li', attrs, ['span', {
30
- // Styles to match `packages/elements/task-decision/src/components/DecisionItem.tsx`
31
31
  style: convertToInlineCss({
32
32
  width: '16px',
33
33
  height: '16px',
34
34
  margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-200, 16px)", " 0 0")
35
35
  })
36
- }], ['span', 0]];
36
+ }], ['div', {
37
+ 'data-decision-wrapper': true,
38
+ 'data-testid': 'elements-decision-item'
39
+ }, ['div', {
40
+ 'data-component': 'content'
41
+ }, ['div', {
42
+ class: 'decision-item'
43
+ }, 0]]]];
37
44
  }
38
45
  });
39
46
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -10,8 +10,6 @@
10
10
  "atlassian": {
11
11
  "team": "Editor: AI",
12
12
  "singleton": true,
13
- "inPublicMirror": false,
14
- "releaseModel": "continuous",
15
13
  "runReact18": false
16
14
  },
17
15
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
@@ -33,15 +31,15 @@
33
31
  ".": "./src/index.ts"
34
32
  },
35
33
  "dependencies": {
36
- "@atlaskit/adf-schema": "^40.8.1",
37
- "@atlaskit/analytics-namespaced-context": "^6.11.0",
34
+ "@atlaskit/adf-schema": "^40.9.0",
35
+ "@atlaskit/analytics-namespaced-context": "^6.12.0",
38
36
  "@atlaskit/analytics-next": "^10.1.0",
39
- "@atlaskit/editor-common": "^88.0.0",
37
+ "@atlaskit/editor-common": "^88.8.0",
40
38
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
41
39
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
42
40
  "@atlaskit/editor-plugin-type-ahead": "^1.8.0",
43
41
  "@atlaskit/editor-prosemirror": "5.0.1",
44
- "@atlaskit/icon": "^22.14.0",
42
+ "@atlaskit/icon": "^22.15.0",
45
43
  "@atlaskit/platform-feature-flags": "^0.3.0",
46
44
  "@atlaskit/prosemirror-input-rules": "^3.2.0",
47
45
  "@atlaskit/task-decision": "^17.10.0",