@atlaskit/renderer 131.1.6 → 131.1.7

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,11 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 131.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 131.1.6
4
10
 
5
11
  ### 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.2;
73
73
  var packageName = "@atlaskit/renderer";
74
- var packageVersion = "131.1.5";
74
+ var packageVersion = "131.1.6";
75
75
  var setAsQueryContainerStyles = (0, _react2.css)({
76
76
  containerName: 'ak-renderer-wrapper',
77
77
  containerType: 'inline-size'
@@ -57,7 +57,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
57
57
  const TABLE_INFO_TIMEOUT = 10000;
58
58
  const RENDER_EVENT_SAMPLE_RATE = 0.2;
59
59
  const packageName = "@atlaskit/renderer";
60
- const packageVersion = "131.1.5";
60
+ const packageVersion = "131.1.6";
61
61
  const setAsQueryContainerStyles = css({
62
62
  containerName: 'ak-renderer-wrapper',
63
63
  containerType: 'inline-size'
@@ -62,7 +62,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
62
62
  var TABLE_INFO_TIMEOUT = 10000;
63
63
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
64
64
  var packageName = "@atlaskit/renderer";
65
- var packageVersion = "131.1.5";
65
+ var packageVersion = "131.1.6";
66
66
  var setAsQueryContainerStyles = css({
67
67
  containerName: 'ak-renderer-wrapper',
68
68
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "131.1.6",
3
+ "version": "131.1.7",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,8 +30,8 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^52.13.0",
34
- "@atlaskit/adf-utils": "^19.30.0",
33
+ "@atlaskit/adf-schema": "^52.14.0",
34
+ "@atlaskit/adf-utils": "^19.31.0",
35
35
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.10.0",
36
36
  "@atlaskit/analytics-listeners": "^10.1.0",
37
37
  "@atlaskit/analytics-namespaced-context": "^7.3.0",
@@ -46,29 +46,29 @@
46
46
  "@atlaskit/editor-smart-link-draggable": "^0.5.0",
47
47
  "@atlaskit/emoji": "^70.10.0",
48
48
  "@atlaskit/feature-gate-js-client": "^5.7.0",
49
- "@atlaskit/icon": "^35.0.0",
49
+ "@atlaskit/icon": "^35.1.0",
50
50
  "@atlaskit/link": "^3.4.0",
51
51
  "@atlaskit/link-datasource": "^5.4.0",
52
- "@atlaskit/link-extractors": "^2.6.0",
52
+ "@atlaskit/link-extractors": "^2.7.0",
53
53
  "@atlaskit/linking-common": "^9.11.0",
54
54
  "@atlaskit/media-card": "^80.5.0",
55
55
  "@atlaskit/media-client": "^36.3.0",
56
56
  "@atlaskit/media-client-react": "^5.1.0",
57
57
  "@atlaskit/media-common": "^13.3.0",
58
58
  "@atlaskit/media-filmstrip": "^51.3.0",
59
- "@atlaskit/media-ui": "^29.2.0",
59
+ "@atlaskit/media-ui": "^29.3.0",
60
60
  "@atlaskit/media-viewer": "^53.2.0",
61
61
  "@atlaskit/platform-feature-flags": "^1.1.0",
62
62
  "@atlaskit/platform-feature-flags-react": "^0.5.0",
63
63
  "@atlaskit/pragmatic-drag-and-drop": "^1.8.0",
64
- "@atlaskit/react-ufo": "^6.0.0",
65
- "@atlaskit/smart-card": "^44.15.0",
64
+ "@atlaskit/react-ufo": "^6.1.0",
65
+ "@atlaskit/smart-card": "^44.16.0",
66
66
  "@atlaskit/status": "^4.1.0",
67
67
  "@atlaskit/task-decision": "^20.1.0",
68
- "@atlaskit/theme": "^24.0.0",
69
- "@atlaskit/tmp-editor-statsig": "^82.4.0",
68
+ "@atlaskit/theme": "^25.0.0",
69
+ "@atlaskit/tmp-editor-statsig": "^83.0.0",
70
70
  "@atlaskit/tokens": "^13.0.0",
71
- "@atlaskit/tooltip": "^22.2.0",
71
+ "@atlaskit/tooltip": "^22.3.0",
72
72
  "@atlaskit/visually-hidden": "^3.1.0",
73
73
  "@babel/runtime": "^7.0.0",
74
74
  "@compiled/react": "^0.20.0",
@@ -80,7 +80,7 @@
80
80
  "uuid": "^3.1.0"
81
81
  },
82
82
  "peerDependencies": {
83
- "@atlaskit/editor-common": "^114.41.0",
83
+ "@atlaskit/editor-common": "^114.46.0",
84
84
  "@atlaskit/link-provider": "^4.4.0",
85
85
  "@atlaskit/media-core": "^37.1.0",
86
86
  "react": "^18.2.0",
@@ -97,9 +97,9 @@
97
97
  "@atlaskit/link-test-helpers": "^10.3.0",
98
98
  "@atlaskit/media-core": "^37.1.0",
99
99
  "@atlaskit/media-integration-test-helpers": "workspace:^",
100
- "@atlaskit/media-test-helpers": "^41.1.0",
100
+ "@atlaskit/media-test-helpers": "^41.2.0",
101
101
  "@atlaskit/mention": "^26.0.0",
102
- "@atlaskit/modal-dialog": "^15.1.0",
102
+ "@atlaskit/modal-dialog": "^15.2.0",
103
103
  "@atlaskit/navigation-system": "^9.4.0",
104
104
  "@atlaskit/profilecard": "^25.7.0",
105
105
  "@atlaskit/side-nav-items": "^1.13.0",
package/renderer.docs.tsx CHANGED
@@ -5,62 +5,64 @@
5
5
 
6
6
  import path from 'path';
7
7
 
8
- import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
8
+ import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
9
9
 
10
10
  import packageJson from './package.json';
11
11
 
12
12
  const packagePath = path.resolve(__dirname);
13
13
 
14
- const documentation: ComponentStructuredContentSource[] = [
15
- {
16
- name: 'Renderer',
17
- description: 'Renderer component',
18
- status: 'general-availability',
19
- import: {
20
- name: 'ReactRenderer',
21
- package: '@atlaskit/renderer',
22
- type: 'named',
23
- packagePath,
24
- packageJson,
25
- },
26
- usageGuidelines: [
27
- 'Use ReactRenderer with an ADF document; use a transformer (e.g. BitbucketTransformer) with ADFEncoder when your storage format is not ADF.',
28
- 'Avoid unnecessary props changes: extract static objects to constants, avoid passing new objects or anonymous functions on every render, use useMemo/useCallback for props and callbacks to prevent performance degradation.',
29
- 'Ensure only one version of Renderer sub-dependencies (adf-schema, editor-common, prosemirror-model, etc.) in your bundles; use deduplication or resolutions. Use correct peer dependency versions.',
30
- 'Use the truncated prop with maxHeight/fadeOutHeight when you need to cap rendered content with a fade; add polyfills for fetch and ES6/ES7 when targeting older browsers.',
31
- ],
32
- contentGuidelines: [],
33
- accessibilityGuidelines: [],
34
- keywords: ['editor', 'renderer', 'atlaskit'],
35
- categories: ['editor'],
36
- examples: [
37
- {
38
- name: 'Basic',
39
- description: 'Basic ReactRenderer with ADF document.',
40
- source: path.resolve(packagePath, './examples/0-basic.tsx'),
41
- },
42
- {
43
- name: 'Full page',
44
- description: 'Full-page renderer with full ADF.',
45
- source: path.resolve(packagePath, './examples/0-full-page.tsx'),
46
- },
47
- {
48
- name: 'With providers',
49
- description: 'Renderer with media and other providers.',
50
- source: path.resolve(packagePath, './examples/1-with-providers.tsx'),
14
+ const documentation: StructuredContentSource = {
15
+ components: [
16
+ {
17
+ name: 'Renderer',
18
+ description: 'Renderer component',
19
+ status: 'general-availability',
20
+ import: {
21
+ name: 'ReactRenderer',
22
+ package: '@atlaskit/renderer',
23
+ type: 'named',
24
+ packagePath,
25
+ packageJson,
51
26
  },
52
- {
53
- name: 'Full page with media caption',
54
- description: 'Renderer with media and captions.',
55
- source: path.resolve(packagePath, './examples/0-full-page-with-media-caption.tsx'),
56
- },
57
- {
58
- name: 'Column layout',
59
- description: 'Renderer with column layout.',
60
- source: path.resolve(packagePath, './examples/10-column-layout.tsx'),
61
- },
62
- ],
63
- },
64
- ];
27
+ usageGuidelines: [
28
+ 'Use ReactRenderer with an ADF document; use a transformer (e.g. BitbucketTransformer) with ADFEncoder when your storage format is not ADF.',
29
+ 'Avoid unnecessary props changes: extract static objects to constants, avoid passing new objects or anonymous functions on every render, use useMemo/useCallback for props and callbacks to prevent performance degradation.',
30
+ 'Ensure only one version of Renderer sub-dependencies (adf-schema, editor-common, prosemirror-model, etc.) in your bundles; use deduplication or resolutions. Use correct peer dependency versions.',
31
+ 'Use the truncated prop with maxHeight/fadeOutHeight when you need to cap rendered content with a fade; add polyfills for fetch and ES6/ES7 when targeting older browsers.',
32
+ ],
33
+ contentGuidelines: [],
34
+ accessibilityGuidelines: [],
35
+ keywords: ['editor', 'renderer', 'atlaskit'],
36
+ categories: ['editor'],
37
+ examples: [
38
+ {
39
+ name: 'Basic',
40
+ description: 'Basic ReactRenderer with ADF document.',
41
+ source: path.resolve(packagePath, './examples/0-basic.tsx'),
42
+ },
43
+ {
44
+ name: 'Full page',
45
+ description: 'Full-page renderer with full ADF.',
46
+ source: path.resolve(packagePath, './examples/0-full-page.tsx'),
47
+ },
48
+ {
49
+ name: 'With providers',
50
+ description: 'Renderer with media and other providers.',
51
+ source: path.resolve(packagePath, './examples/1-with-providers.tsx'),
52
+ },
53
+ {
54
+ name: 'Full page with media caption',
55
+ description: 'Renderer with media and captions.',
56
+ source: path.resolve(packagePath, './examples/0-full-page-with-media-caption.tsx'),
57
+ },
58
+ {
59
+ name: 'Column layout',
60
+ description: 'Renderer with column layout.',
61
+ source: path.resolve(packagePath, './examples/10-column-layout.tsx'),
62
+ },
63
+ ],
64
+ },
65
+ ],
66
+ };
65
67
 
66
68
  export default documentation;