@atlaskit/editor-core 216.0.2 → 216.1.1
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 +24 -0
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +6 -4
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -2
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +3 -7
- package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +27 -32
- package/dist/cjs/ui/ExcludeFromHydration/index.js +36 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +2 -2
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +5 -4
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -2
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +5 -9
- package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +49 -32
- package/dist/es2019/ui/ExcludeFromHydration/index.js +27 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +2 -2
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +5 -4
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -2
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +5 -9
- package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +27 -32
- package/dist/esm/ui/ExcludeFromHydration/index.js +30 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/ExcludeFromHydration/index.d.ts +12 -0
- package/dist/types-ts4.5/ui/ExcludeFromHydration/index.d.ts +12 -0
- package/exclude-from-hydration/package.json +17 -0
- package/package.json +5 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* ExcludeFromHydration component delays rendering of its children until after the initial
|
|
4
|
+
* hydration phase, based on a feature flag check. If the feature flag is disabled,
|
|
5
|
+
* it will render children immediately after hydration.
|
|
6
|
+
* @param param0
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
declare function ExcludeFromHydration({ children }: {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}): React.ReactNode;
|
|
12
|
+
export default ExcludeFromHydration;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-core/exclude-from-hydration",
|
|
3
|
+
"main": "../dist/cjs/ui/ExcludeFromHydration/index.js",
|
|
4
|
+
"module": "../dist/esm/ui/ExcludeFromHydration/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/ui/ExcludeFromHydration/index.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/ui/ExcludeFromHydration/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/ui/ExcludeFromHydration/index.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.
|
|
3
|
+
"version": "216.1.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
60
60
|
"@atlaskit/emoji": "^69.9.0",
|
|
61
61
|
"@atlaskit/icon": "^29.3.0",
|
|
62
|
-
"@atlaskit/link": "^3.
|
|
63
|
-
"@atlaskit/media-card": "^79.
|
|
62
|
+
"@atlaskit/link": "^3.3.0",
|
|
63
|
+
"@atlaskit/media-card": "^79.12.0",
|
|
64
64
|
"@atlaskit/mention": "^24.4.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^4.16.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^16.4.0",
|
|
70
70
|
"@atlaskit/tokens": "^9.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.11.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"uuid": "^3.1.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^111.
|
|
86
|
+
"@atlaskit/editor-common": "^111.2.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.0.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|