@atlaskit/renderer 124.22.6 → 124.22.8
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 +16 -0
- package/dist/cjs/react/nodes/taskItem.js +3 -1
- package/dist/cjs/ui/Expand.js +2 -4
- package/dist/es2019/react/nodes/taskItem.js +3 -1
- package/dist/es2019/ui/Expand.js +2 -4
- package/dist/esm/react/nodes/taskItem.js +3 -1
- package/dist/esm/ui/Expand.js +2 -4
- package/dist/types/react/nodes/task-item-with-providers.d.ts +1 -0
- package/dist/types/react/nodes/taskItem.d.ts +1 -0
- package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +1 -0
- package/dist/types-ts4.5/react/nodes/taskItem.d.ts +1 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 124.22.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3d028b9805550`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d028b9805550) -
|
|
8
|
+
[ux] [ENGHEALTH-47507] internationalise strings behind feature gate platform_editor_dec_a11y_fixes
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 124.22.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`2b78b030e4e42`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2b78b030e4e42) -
|
|
16
|
+
EDITOR-3952 Update style for task in destination synced block
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 124.22.6
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -39,7 +39,8 @@ var TaskItem = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
39
39
|
state = _this$props.state,
|
|
40
40
|
rendererContext = _this$props.rendererContext,
|
|
41
41
|
disabled = _this$props.disabled,
|
|
42
|
-
dataAttributes = _this$props.dataAttributes
|
|
42
|
+
dataAttributes = _this$props.dataAttributes,
|
|
43
|
+
disableOnChange = _this$props.disableOnChange;
|
|
43
44
|
var objectAri = '';
|
|
44
45
|
if (rendererContext) {
|
|
45
46
|
objectAri = rendererContext.objectAri || '';
|
|
@@ -57,6 +58,7 @@ var TaskItem = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
57
58
|
isDone: state === 'DONE',
|
|
58
59
|
isRenderer: true,
|
|
59
60
|
disabled: disabled,
|
|
61
|
+
disableOnChange: disableOnChange,
|
|
60
62
|
taskDecisionProvider: taskDecisionProvider,
|
|
61
63
|
contextIdentifierProvider: contextIdentifierProvider,
|
|
62
64
|
dataAttributes: dataAttributes,
|
package/dist/cjs/ui/Expand.js
CHANGED
|
@@ -291,10 +291,8 @@ function Expand(_ref2) {
|
|
|
291
291
|
className: "".concat(nodeType, "-content-wrapper")
|
|
292
292
|
}, (0, _react.jsx)(_ui.WidthProvider, null, (0, _react.jsx)("div", {
|
|
293
293
|
css: clearNextSiblingMarginTopStyle
|
|
294
|
-
}), (0, _platformFeatureFlags.fg)('hot-121622_lazy_load_expand_content') ? hasLoadedChildren ?
|
|
295
|
-
|
|
296
|
-
(0, _react.jsx)(_react2.Suspense, {
|
|
297
|
-
fallback: (0, _react.jsx)("div", null, "Loading...")
|
|
294
|
+
}), (0, _platformFeatureFlags.fg)('hot-121622_lazy_load_expand_content') ? hasLoadedChildren ? (0, _react.jsx)(_react2.Suspense, {
|
|
295
|
+
fallback: (0, _react.jsx)("div", null, (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? intl.formatMessage(_ui.expandMessages.loading) : 'Loading...')
|
|
298
296
|
}, (0, _react.jsx)(LazyChildren, null, children)) : null : children))));
|
|
299
297
|
}
|
|
300
298
|
var _default2 = exports.default = (0, _reactIntlNext.injectIntl)(Expand);
|
|
@@ -22,7 +22,8 @@ export default class TaskItem extends PureComponent {
|
|
|
22
22
|
state,
|
|
23
23
|
rendererContext,
|
|
24
24
|
disabled,
|
|
25
|
-
dataAttributes
|
|
25
|
+
dataAttributes,
|
|
26
|
+
disableOnChange
|
|
26
27
|
} = this.props;
|
|
27
28
|
let objectAri = '';
|
|
28
29
|
if (rendererContext) {
|
|
@@ -38,6 +39,7 @@ export default class TaskItem extends PureComponent {
|
|
|
38
39
|
isDone: state === 'DONE',
|
|
39
40
|
isRenderer: true,
|
|
40
41
|
disabled: disabled,
|
|
42
|
+
disableOnChange: disableOnChange,
|
|
41
43
|
taskDecisionProvider: taskDecisionProvider,
|
|
42
44
|
contextIdentifierProvider: contextIdentifierProvider,
|
|
43
45
|
dataAttributes: dataAttributes,
|
package/dist/es2019/ui/Expand.js
CHANGED
|
@@ -271,10 +271,8 @@ function Expand({
|
|
|
271
271
|
className: `${nodeType}-content-wrapper`
|
|
272
272
|
}, jsx(WidthProvider, null, jsx("div", {
|
|
273
273
|
css: clearNextSiblingMarginTopStyle
|
|
274
|
-
}), fg('hot-121622_lazy_load_expand_content') ? hasLoadedChildren ?
|
|
275
|
-
|
|
276
|
-
jsx(Suspense, {
|
|
277
|
-
fallback: jsx("div", null, "Loading...")
|
|
274
|
+
}), fg('hot-121622_lazy_load_expand_content') ? hasLoadedChildren ? jsx(Suspense, {
|
|
275
|
+
fallback: jsx("div", null, fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(expandMessages.loading) : 'Loading...')
|
|
278
276
|
}, jsx(LazyChildren, null, children)) : null : children))));
|
|
279
277
|
}
|
|
280
278
|
export default injectIntl(Expand);
|
|
@@ -30,7 +30,8 @@ var TaskItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
30
30
|
state = _this$props.state,
|
|
31
31
|
rendererContext = _this$props.rendererContext,
|
|
32
32
|
disabled = _this$props.disabled,
|
|
33
|
-
dataAttributes = _this$props.dataAttributes
|
|
33
|
+
dataAttributes = _this$props.dataAttributes,
|
|
34
|
+
disableOnChange = _this$props.disableOnChange;
|
|
34
35
|
var objectAri = '';
|
|
35
36
|
if (rendererContext) {
|
|
36
37
|
objectAri = rendererContext.objectAri || '';
|
|
@@ -48,6 +49,7 @@ var TaskItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
48
49
|
isDone: state === 'DONE',
|
|
49
50
|
isRenderer: true,
|
|
50
51
|
disabled: disabled,
|
|
52
|
+
disableOnChange: disableOnChange,
|
|
51
53
|
taskDecisionProvider: taskDecisionProvider,
|
|
52
54
|
contextIdentifierProvider: contextIdentifierProvider,
|
|
53
55
|
dataAttributes: dataAttributes,
|
package/dist/esm/ui/Expand.js
CHANGED
|
@@ -282,10 +282,8 @@ function Expand(_ref2) {
|
|
|
282
282
|
className: "".concat(nodeType, "-content-wrapper")
|
|
283
283
|
}, jsx(WidthProvider, null, jsx("div", {
|
|
284
284
|
css: clearNextSiblingMarginTopStyle
|
|
285
|
-
}), fg('hot-121622_lazy_load_expand_content') ? hasLoadedChildren ?
|
|
286
|
-
|
|
287
|
-
jsx(Suspense, {
|
|
288
|
-
fallback: jsx("div", null, "Loading...")
|
|
285
|
+
}), fg('hot-121622_lazy_load_expand_content') ? hasLoadedChildren ? jsx(Suspense, {
|
|
286
|
+
fallback: jsx("div", null, fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(expandMessages.loading) : 'Loading...')
|
|
289
287
|
}, jsx(LazyChildren, null, children)) : null : children))));
|
|
290
288
|
}
|
|
291
289
|
export default injectIntl(Expand);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "124.22.
|
|
3
|
+
"version": "124.22.8",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"uuid": "^3.1.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/editor-common": "^110.
|
|
74
|
+
"@atlaskit/editor-common": "^110.47.0",
|
|
75
75
|
"@atlaskit/link-provider": "^4.0.0",
|
|
76
76
|
"@atlaskit/media-core": "^37.0.0",
|
|
77
77
|
"react": "^18.2.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/mention": "^24.4.0",
|
|
91
91
|
"@atlaskit/modal-dialog": "^14.9.0",
|
|
92
92
|
"@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-958ca0ab9d.patch",
|
|
93
|
-
"@atlaskit/profilecard": "^24.
|
|
93
|
+
"@atlaskit/profilecard": "^24.27.0",
|
|
94
94
|
"@atlaskit/util-data-test": "^18.3.0",
|
|
95
95
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
96
96
|
"@testing-library/react": "^16.3.0",
|
|
@@ -244,6 +244,9 @@
|
|
|
244
244
|
},
|
|
245
245
|
"platform_fix_macro_renders_in_layouts": {
|
|
246
246
|
"type": "boolean"
|
|
247
|
+
},
|
|
248
|
+
"platform_editor_dec_a11y_fixes": {
|
|
249
|
+
"type": "boolean"
|
|
247
250
|
}
|
|
248
251
|
}
|
|
249
252
|
}
|