@atlaskit/editor-plugin-tasks-and-decisions 11.4.2 → 11.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,15 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 11.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e2f512c5e8eba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2f512c5e8eba) -
8
+ Clean up feature flag platform_editor_task_item_styles for task item checkbox and remove unused
9
+ styles objects taskItemCheckboxStylesWithBlockTaskItem and taskItemCheckboxStyles. Renamed
10
+ taskItemNextCheckboxStyles to taskItemCheckboxStyles
11
+ - Updated dependencies
12
+
3
13
  ## 11.4.2
4
14
 
5
15
  ### Patch Changes
@@ -91,7 +91,7 @@ function taskItemToDom(node, placeholder, intl) {
91
91
  'data-empty': 'true'
92
92
  } : {};
93
93
  }
94
- var checkboxIcons = (0, _expValEquals.expValEquals)('platform_editor_task_item_styles', 'isEnabled', true) ? ['http://www.w3.org/2000/svg svg', {
94
+ var checkboxIcons = ['http://www.w3.org/2000/svg svg', {
95
95
  width: '20',
96
96
  height: '20',
97
97
  viewBox: '2 2 20 20',
@@ -111,36 +111,6 @@ function taskItemToDom(node, placeholder, intl) {
111
111
  'clip-rule': 'evenodd',
112
112
  d: 'm16.326 9.48-1.152-.96-4.424 5.308-1.924-2.308-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z',
113
113
  fill: 'inherit'
114
- }]]] : ['span', {
115
- 'aria-hidden': true,
116
- 'data-component': 'checkbox-icon-wrap'
117
- }, ['http://www.w3.org/2000/svg svg', {
118
- viewBox: "0 0 16 16",
119
- width: '16',
120
- height: '16',
121
- role: 'presentation',
122
- fill: 'none',
123
- 'data-component': 'checkbox-unchecked-icon'
124
- }, ['http://www.w3.org/2000/svg rect', {
125
- width: '12.5',
126
- height: '12.5',
127
- x: '1.75',
128
- y: '1.75',
129
- stroke: 'currentcolor',
130
- 'stroke-width': '1.5',
131
- rx: '1.25'
132
- }]], ['http://www.w3.org/2000/svg svg', {
133
- viewBox: "0 0 16 16",
134
- width: '16',
135
- height: '16',
136
- role: 'presentation',
137
- fill: 'none',
138
- 'data-component': 'checkbox-checked-icon'
139
- }, ['http://www.w3.org/2000/svg path', {
140
- fill: 'currentcolor',
141
- 'fill-rule': 'evenodd',
142
- 'clip-rule': 'evenodd',
143
- d: 'M3 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm9.326 4.48-1.152-.96L6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z'
144
114
  }]]];
145
115
  return ['div', _objectSpread(_objectSpread({
146
116
  class: "".concat(_styles.TaskDecisionSharedCssClassName.TASK_CONTAINER)
@@ -77,7 +77,7 @@ export function taskItemToDom(node, placeholder, intl) {
77
77
  'data-empty': 'true'
78
78
  } : {};
79
79
  }
80
- const checkboxIcons = expValEquals('platform_editor_task_item_styles', 'isEnabled', true) ? ['http://www.w3.org/2000/svg svg', {
80
+ const checkboxIcons = ['http://www.w3.org/2000/svg svg', {
81
81
  width: '20',
82
82
  height: '20',
83
83
  viewBox: '2 2 20 20',
@@ -97,36 +97,6 @@ export function taskItemToDom(node, placeholder, intl) {
97
97
  'clip-rule': 'evenodd',
98
98
  d: 'm16.326 9.48-1.152-.96-4.424 5.308-1.924-2.308-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z',
99
99
  fill: 'inherit'
100
- }]]] : ['span', {
101
- 'aria-hidden': true,
102
- 'data-component': 'checkbox-icon-wrap'
103
- }, ['http://www.w3.org/2000/svg svg', {
104
- viewBox: `0 0 16 16`,
105
- width: '16',
106
- height: '16',
107
- role: 'presentation',
108
- fill: 'none',
109
- 'data-component': 'checkbox-unchecked-icon'
110
- }, ['http://www.w3.org/2000/svg rect', {
111
- width: '12.5',
112
- height: '12.5',
113
- x: '1.75',
114
- y: '1.75',
115
- stroke: 'currentcolor',
116
- 'stroke-width': '1.5',
117
- rx: '1.25'
118
- }]], ['http://www.w3.org/2000/svg svg', {
119
- viewBox: `0 0 16 16`,
120
- width: '16',
121
- height: '16',
122
- role: 'presentation',
123
- fill: 'none',
124
- 'data-component': 'checkbox-checked-icon'
125
- }, ['http://www.w3.org/2000/svg path', {
126
- fill: 'currentcolor',
127
- 'fill-rule': 'evenodd',
128
- 'clip-rule': 'evenodd',
129
- d: 'M3 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm9.326 4.48-1.152-.96L6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z'
130
100
  }]]];
131
101
  return ['div', {
132
102
  class: `${TaskDecisionSharedCssClassName.TASK_CONTAINER}`,
@@ -83,7 +83,7 @@ export function taskItemToDom(node, placeholder, intl) {
83
83
  'data-empty': 'true'
84
84
  } : {};
85
85
  }
86
- var checkboxIcons = expValEquals('platform_editor_task_item_styles', 'isEnabled', true) ? ['http://www.w3.org/2000/svg svg', {
86
+ var checkboxIcons = ['http://www.w3.org/2000/svg svg', {
87
87
  width: '20',
88
88
  height: '20',
89
89
  viewBox: '2 2 20 20',
@@ -103,36 +103,6 @@ export function taskItemToDom(node, placeholder, intl) {
103
103
  'clip-rule': 'evenodd',
104
104
  d: 'm16.326 9.48-1.152-.96-4.424 5.308-1.924-2.308-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z',
105
105
  fill: 'inherit'
106
- }]]] : ['span', {
107
- 'aria-hidden': true,
108
- 'data-component': 'checkbox-icon-wrap'
109
- }, ['http://www.w3.org/2000/svg svg', {
110
- viewBox: "0 0 16 16",
111
- width: '16',
112
- height: '16',
113
- role: 'presentation',
114
- fill: 'none',
115
- 'data-component': 'checkbox-unchecked-icon'
116
- }, ['http://www.w3.org/2000/svg rect', {
117
- width: '12.5',
118
- height: '12.5',
119
- x: '1.75',
120
- y: '1.75',
121
- stroke: 'currentcolor',
122
- 'stroke-width': '1.5',
123
- rx: '1.25'
124
- }]], ['http://www.w3.org/2000/svg svg', {
125
- viewBox: "0 0 16 16",
126
- width: '16',
127
- height: '16',
128
- role: 'presentation',
129
- fill: 'none',
130
- 'data-component': 'checkbox-checked-icon'
131
- }, ['http://www.w3.org/2000/svg path', {
132
- fill: 'currentcolor',
133
- 'fill-rule': 'evenodd',
134
- 'clip-rule': 'evenodd',
135
- d: 'M3 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm9.326 4.48-1.152-.96L6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0z'
136
106
  }]]];
137
107
  return ['div', _objectSpread(_objectSpread({
138
108
  class: "".concat(TaskDecisionSharedCssClassName.TASK_CONTAINER)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "11.4.2",
3
+ "version": "11.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",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/primitives": "^18.1.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
51
51
  "@atlaskit/task-decision": "^19.3.0",
52
- "@atlaskit/tmp-editor-statsig": "^51.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^52.0.0",
53
53
  "@atlaskit/tokens": "^11.4.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.20.0",