@atlaskit/editor-plugin-grid 10.0.2 → 10.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 +17 -0
- package/dist/cjs/gridPlugin.js +1 -4
- package/dist/es2019/gridPlugin.js +1 -4
- package/dist/esm/gridPlugin.js +1 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-grid
|
|
2
2
|
|
|
3
|
+
## 10.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`e5cdd96dcf4f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e5cdd96dcf4f9) -
|
|
14
|
+
Clean up platform_editor_hydratable_ui experiment (shipped as enabled)
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 10.0.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/cjs/gridPlugin.js
CHANGED
|
@@ -212,10 +212,7 @@ var gridPlugin = exports.gridPlugin = function gridPlugin(_ref5) {
|
|
|
212
212
|
},
|
|
213
213
|
contentComponent: function contentComponent(_ref6) {
|
|
214
214
|
var editorView = _ref6.editorView;
|
|
215
|
-
if (!editorView) {
|
|
216
|
-
return null;
|
|
217
|
-
}
|
|
218
|
-
if ((0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) && (0, _coreUtils.isSSR)()) {
|
|
215
|
+
if (!editorView || (0, _coreUtils.isSSR)()) {
|
|
219
216
|
return null;
|
|
220
217
|
}
|
|
221
218
|
return /*#__PURE__*/_react.default.createElement(ContentComponent, {
|
|
@@ -207,10 +207,7 @@ export const gridPlugin = ({
|
|
|
207
207
|
contentComponent: ({
|
|
208
208
|
editorView
|
|
209
209
|
}) => {
|
|
210
|
-
if (!editorView) {
|
|
211
|
-
return null;
|
|
212
|
-
}
|
|
213
|
-
if (expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) && isSSR()) {
|
|
210
|
+
if (!editorView || isSSR()) {
|
|
214
211
|
return null;
|
|
215
212
|
}
|
|
216
213
|
return /*#__PURE__*/React.createElement(ContentComponent, {
|
package/dist/esm/gridPlugin.js
CHANGED
|
@@ -205,10 +205,7 @@ export var gridPlugin = function gridPlugin(_ref5) {
|
|
|
205
205
|
},
|
|
206
206
|
contentComponent: function contentComponent(_ref6) {
|
|
207
207
|
var editorView = _ref6.editorView;
|
|
208
|
-
if (!editorView) {
|
|
209
|
-
return null;
|
|
210
|
-
}
|
|
211
|
-
if (expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) && isSSR()) {
|
|
208
|
+
if (!editorView || isSSR()) {
|
|
212
209
|
return null;
|
|
213
210
|
}
|
|
214
211
|
return /*#__PURE__*/React.createElement(ContentComponent, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-grid",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.1",
|
|
4
4
|
"description": "Grid plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"@atlaskit/editor-plugin-width": "^11.0.0",
|
|
25
25
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
26
26
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
27
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
27
|
+
"@atlaskit/tmp-editor-statsig": "^66.0.0",
|
|
28
28
|
"@babel/runtime": "^7.0.0",
|
|
29
29
|
"@emotion/react": "^11.7.1",
|
|
30
30
|
"classnames": "^2.2.5"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@atlaskit/editor-common": "^114.
|
|
33
|
+
"@atlaskit/editor-common": "^114.7.0",
|
|
34
34
|
"react": "^18.2.0",
|
|
35
35
|
"react-dom": "^18.2.0"
|
|
36
36
|
},
|