@atlaskit/renderer 147.0.0 → 147.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,18 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 147.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`cb80fed094a5f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cb80fed094a5f) -
|
|
8
|
+
Use the platform_editor_collapsible_headings experiment for renderer collapsible headings.
|
|
9
|
+
|
|
10
|
+
## 147.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 147.0.0
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
71
71
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
72
72
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
73
73
|
var packageName = "@atlaskit/renderer";
|
|
74
|
-
var packageVersion = "
|
|
74
|
+
var packageVersion = "147.0.1";
|
|
75
75
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
76
76
|
containerName: 'ak-renderer-wrapper',
|
|
77
77
|
containerType: 'inline-size'
|
|
@@ -467,7 +467,7 @@ var RendererFunctionalComponent = exports.RendererFunctionalComponent = function
|
|
|
467
467
|
timeZone: props.timeZone
|
|
468
468
|
});
|
|
469
469
|
}, [props.featureFlags, props.isTopLevelRenderer, createRendererContext, props.timeZone]);
|
|
470
|
-
var isCollapsibleHeadingsEnabled = props.allowCollapsibleHeadings === true && ['full-page', 'full-width', 'max'].includes(props.appearance || '') && rendererContext.isTopLevelRenderer && (0, _isExperimentEnabled.isExperimentEnabled)('
|
|
470
|
+
var isCollapsibleHeadingsEnabled = props.allowCollapsibleHeadings === true && ['full-page', 'full-width', 'max'].includes(props.appearance || '') && rendererContext.isTopLevelRenderer && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_collapsible_headings');
|
|
471
471
|
(0, _useScrollToBlock.useScrollToBlock)(editorRef, props.document, props.scrollToBlock);
|
|
472
472
|
var allowNestedTables = props.allowNestedTables;
|
|
473
473
|
// Memoised so `renderDocument`'s validation memo can match by reference across re-renders.
|
|
@@ -56,7 +56,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
56
56
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
57
57
|
const RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
58
58
|
const packageName = "@atlaskit/renderer";
|
|
59
|
-
const packageVersion = "
|
|
59
|
+
const packageVersion = "147.0.1";
|
|
60
60
|
const setAsQueryContainerStyles = css({
|
|
61
61
|
containerName: 'ak-renderer-wrapper',
|
|
62
62
|
containerType: 'inline-size'
|
|
@@ -455,7 +455,7 @@ export const RendererFunctionalComponent = props => {
|
|
|
455
455
|
...createRendererContext(props.featureFlags, props.isTopLevelRenderer),
|
|
456
456
|
timeZone: props.timeZone
|
|
457
457
|
}), [props.featureFlags, props.isTopLevelRenderer, createRendererContext, props.timeZone]);
|
|
458
|
-
const isCollapsibleHeadingsEnabled = props.allowCollapsibleHeadings === true && ['full-page', 'full-width', 'max'].includes(props.appearance || '') && rendererContext.isTopLevelRenderer && isExperimentEnabled('
|
|
458
|
+
const isCollapsibleHeadingsEnabled = props.allowCollapsibleHeadings === true && ['full-page', 'full-width', 'max'].includes(props.appearance || '') && rendererContext.isTopLevelRenderer && isExperimentEnabled('platform_editor_collapsible_headings');
|
|
459
459
|
useScrollToBlock(editorRef, props.document, props.scrollToBlock);
|
|
460
460
|
const {
|
|
461
461
|
allowNestedTables
|
|
@@ -61,7 +61,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
61
61
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
62
62
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
63
63
|
var packageName = "@atlaskit/renderer";
|
|
64
|
-
var packageVersion = "
|
|
64
|
+
var packageVersion = "147.0.1";
|
|
65
65
|
var setAsQueryContainerStyles = css({
|
|
66
66
|
containerName: 'ak-renderer-wrapper',
|
|
67
67
|
containerType: 'inline-size'
|
|
@@ -457,7 +457,7 @@ export var RendererFunctionalComponent = function RendererFunctionalComponent(pr
|
|
|
457
457
|
timeZone: props.timeZone
|
|
458
458
|
});
|
|
459
459
|
}, [props.featureFlags, props.isTopLevelRenderer, createRendererContext, props.timeZone]);
|
|
460
|
-
var isCollapsibleHeadingsEnabled = props.allowCollapsibleHeadings === true && ['full-page', 'full-width', 'max'].includes(props.appearance || '') && rendererContext.isTopLevelRenderer && isExperimentEnabled('
|
|
460
|
+
var isCollapsibleHeadingsEnabled = props.allowCollapsibleHeadings === true && ['full-page', 'full-width', 'max'].includes(props.appearance || '') && rendererContext.isTopLevelRenderer && isExperimentEnabled('platform_editor_collapsible_headings');
|
|
461
461
|
useScrollToBlock(editorRef, props.document, props.scrollToBlock);
|
|
462
462
|
var allowNestedTables = props.allowNestedTables;
|
|
463
463
|
// Memoised so `renderDocument`'s validation memo can match by reference across re-renders.
|
|
@@ -48,7 +48,7 @@ export interface RendererProps {
|
|
|
48
48
|
allowAnnotations?: boolean;
|
|
49
49
|
/**
|
|
50
50
|
* **WARNING** this attribute is not supported outside of Confluence Full Page editors
|
|
51
|
-
* Until `
|
|
51
|
+
* Until `platform_editor_collapsible_headings` is cleaned up.
|
|
52
52
|
*
|
|
53
53
|
* Enables collapsing top-level heading sections in a full-page, full-width, max renderer only.
|
|
54
54
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "147.0.
|
|
3
|
+
"version": "147.0.2",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"@atlaskit/link-extractors": "^5.0.0",
|
|
58
58
|
"@atlaskit/linking-common": "^13.0.0",
|
|
59
59
|
"@atlaskit/media-card": "^82.1.0",
|
|
60
|
-
"@atlaskit/media-client": "^39.
|
|
60
|
+
"@atlaskit/media-client": "^39.1.0",
|
|
61
61
|
"@atlaskit/media-client-react": "^7.0.0",
|
|
62
62
|
"@atlaskit/media-common": "^14.6.0",
|
|
63
63
|
"@atlaskit/media-filmstrip": "^53.0.0",
|
|
64
|
-
"@atlaskit/media-ui": "^31.
|
|
65
|
-
"@atlaskit/media-viewer": "^54.
|
|
64
|
+
"@atlaskit/media-ui": "^31.1.0",
|
|
65
|
+
"@atlaskit/media-viewer": "^54.11.0",
|
|
66
66
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
67
67
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
68
68
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"@atlaskit/status": "^5.12.0",
|
|
74
74
|
"@atlaskit/task-decision": "^21.11.0",
|
|
75
75
|
"@atlaskit/theme": "^28.2.0",
|
|
76
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
-
"@atlaskit/tokens": "^20.
|
|
76
|
+
"@atlaskit/tmp-editor-statsig": "^221.0.0",
|
|
77
|
+
"@atlaskit/tokens": "^20.2.0",
|
|
78
78
|
"@atlaskit/tooltip": "^24.4.0",
|
|
79
79
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
80
80
|
"@babel/runtime": "^7.0.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"uuid": "^11.1.1"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@atlaskit/editor-common": "^128.
|
|
91
|
+
"@atlaskit/editor-common": "^128.1.0",
|
|
92
92
|
"@atlaskit/link-provider": "^6.0.0",
|
|
93
93
|
"@atlaskit/media-core": "^39.0.0",
|
|
94
94
|
"react": "^18.2.0 || ^19.2.0",
|