@atlaskit/editor-synced-block-renderer 8.2.1 → 8.2.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/AGENTS.md CHANGED
@@ -20,12 +20,27 @@ SSR for performance-critical page loads.
20
20
 
21
21
  ```
22
22
  src/
23
- ├── index.ts # Barrel exports
24
- ├── useSyncedBlockNodeComponent.tsx # Core hooks for node management and memoization
25
- ├── ui/
26
- │ ├── renderSyncedBlockContent.tsx # Shared render branching logic (loading → error → success)
27
- │ └── SyncedBlockNodeComponentRenderer.tsx # Renderer component with store manager + media SSR
28
- └── types.ts # SyncedBlockRendererOptions type
23
+ ├── index.ts # Barrel exports
24
+ ├── useSyncedBlockNodeComponent.tsx # Core hooks for node management and memoization
25
+ ├── getSyncedBlockRenderer.tsx # Factory for editor-mode synced block renderer
26
+ ├── types.ts # SyncedBlockRendererOptions type
27
+ └── ui/
28
+ ├── __generated__/ # Generated GraphQL types
29
+ ├── assets/ # Static assets (icons, illustrations)
30
+ ├── renderSyncedBlockContent.tsx # Shared render branching logic (loading → error → success)
31
+ ├── SyncedBlockNodeComponentRenderer.tsx # Renderer component with store manager + media SSR
32
+ ├── SyncedBlockRenderer.tsx # View-mode reference block renderer
33
+ ├── AKRendererWrapper.tsx # Wraps content in AKRenderer with required providers
34
+ ├── SyncedBlockLoadingState.tsx # Loading skeleton UI
35
+ ├── SyncedBlockErrorComponent.tsx # Generic error component
36
+ ├── SyncedBlockErrorStateCard.tsx # Error state card scaffold
37
+ ├── SyncedBlockGenericError.tsx # Generic error variant
38
+ ├── SyncedBlockLoadError.tsx # Load failure variant
39
+ ├── SyncedBlockNotFoundError.tsx # Block not found variant
40
+ ├── SyncedBlockEntityNotFoundError.tsx # Source entity (page/issue) not found variant
41
+ ├── SyncedBlockOfflineError.tsx # Offline error variant
42
+ ├── SyncedBlockPermissionDenied.tsx # 403 / no-access variant
43
+ └── SyncedBlockUnpublishedError.tsx # Source not yet published variant
29
44
  ```
30
45
 
31
46
  ---
@@ -35,8 +50,11 @@ src/
35
50
  ```typescript
36
51
  getSyncBlockNodesFromDoc; // Extract SyncBlockNode[] from a DocNode
37
52
  useMemoizedSyncedBlockNodeComponent; // Returns memoized component for rendering reference blocks
53
+ type GetSyncedBlockNodeComponentProps; // Props for the memoized component
38
54
  getSyncedBlockRenderer; // Factory for editor-mode synced block renderer
39
55
  renderSyncedBlockContent; // Shared render branching logic
56
+ type RenderSyncedBlockContentParams;
57
+ type SyncedBlockNodeProps; // From SyncedBlockNodeComponentRenderer
40
58
  ```
41
59
 
42
60
  ---
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-synced-block-renderer
2
2
 
3
+ ## 8.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`267b2bb06c564`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/267b2bb06c564) -
8
+ Internal dependency change: switch from pinned Relay v17 aliases to root:\* and upgraded root to
9
+ Relay v20.1.1. No public API changes.
10
+ - Updated dependencies
11
+
3
12
  ## 8.2.1
4
13
 
5
14
  ### Patch Changes
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "target": "es5",
5
4
  "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-synced-block-renderer",
6
5
  "rootDir": "../",
7
6
  "composite": true,
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "target": "es5",
5
4
  "outDir": "../../../../../tsDist/@atlaskit__editor-synced-block-renderer/app",
6
5
  "rootDir": "../",
7
6
  "composite": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-synced-block-renderer",
3
- "version": "8.2.1",
3
+ "version": "8.2.2",
4
4
  "description": "SyncedBlockRenderer for @atlaskit/editor-plugin-synced-block",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,8 +40,8 @@
40
40
  "@atlaskit/editor-plugin-synced-block": "^8.2.0",
41
41
  "@atlaskit/editor-synced-block-provider": "^6.4.0",
42
42
  "@atlaskit/heading": "^5.4.0",
43
- "@atlaskit/icon": "^34.3.0",
44
- "@atlaskit/icon-lab": "^6.6.0",
43
+ "@atlaskit/icon": "^34.4.0",
44
+ "@atlaskit/icon-lab": "^6.7.0",
45
45
  "@atlaskit/image": "^3.0.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/primitives": "^19.0.0",
@@ -51,11 +51,11 @@
51
51
  "@atlaskit/tooltip": "^22.0.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@compiled/react": "^0.20.0",
54
- "react-relay": "npm:atl-react-relay@0.0.0-main-39e79f66",
55
- "relay-runtime": "npm:atl-relay-runtime@0.0.0-main-39e79f66"
54
+ "react-relay": "^20.1.1",
55
+ "relay-runtime": "^20.1.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^114.18.0",
58
+ "@atlaskit/editor-common": "^114.26.0",
59
59
  "react": "^18.2.0",
60
60
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
61
61
  },
@@ -1,72 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.local-consumption.json",
3
- "compilerOptions": {
4
- "target": "es5",
5
- "outDir": "../../../../../jira/tsDist/@atlaskit__editor-synced-block-renderer/app",
6
- "rootDir": "../",
7
- "composite": true,
8
- "noCheck": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../design-system/button/afm-jira/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/css/afm-jira/tsconfig.json"
31
- },
32
- {
33
- "path": "../../editor-plugin-synced-block/afm-jira/tsconfig.json"
34
- },
35
- {
36
- "path": "../../editor-synced-block-provider/afm-jira/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/heading/afm-jira/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/icon/afm-jira/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/icon-lab/afm-jira/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/image/afm-jira/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../design-system/primitives/afm-jira/tsconfig.json"
55
- },
56
- {
57
- "path": "../../renderer/afm-jira/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/spinner/afm-jira/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
67
- },
68
- {
69
- "path": "../../editor-common/afm-jira/tsconfig.json"
70
- }
71
- ]
72
- }