@atlaskit/editor-plugin-grid 15.0.12 → 15.0.13
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 +10 -0
- package/dist/cjs/gridPlugin.js +2 -2
- package/dist/es2019/gridPlugin.js +1 -1
- package/dist/esm/gridPlugin.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-grid
|
|
2
2
|
|
|
3
|
+
## 15.0.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
|
|
8
|
+
VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
|
|
9
|
+
voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
|
|
10
|
+
changes.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 15.0.12
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cjs/gridPlugin.js
CHANGED
|
@@ -15,7 +15,7 @@ var _hooks = require("@atlaskit/editor-common/hooks");
|
|
|
15
15
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
16
16
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
17
17
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
18
|
-
var
|
|
18
|
+
var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
|
|
19
19
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
|
|
@@ -154,7 +154,7 @@ var GridNext = function GridNext(_ref4) {
|
|
|
154
154
|
);
|
|
155
155
|
};
|
|
156
156
|
var ThemedGridLegacy = (0, _react2.withTheme)(GridLegacy);
|
|
157
|
-
var ThemedGrid = (0,
|
|
157
|
+
var ThemedGrid = (0, _componentWithCondition.componentWithCondition)(function () {
|
|
158
158
|
return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true) || (0, _expValEquals.expValEquals)('platform_editor_core_static_css', 'isEnabled', true);
|
|
159
159
|
}, GridNext, ThemedGridLegacy);
|
|
160
160
|
var selector = function selector(states) {
|
|
@@ -8,7 +8,7 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
8
8
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
9
9
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
10
10
|
import { akEditorBreakoutPadding, akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
11
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
13
|
export const GRID_SIZE = 12;
|
|
14
14
|
// Matches the existing `.gridParent` 12px left + 12px right gutter expansion.
|
package/dist/esm/gridPlugin.js
CHANGED
|
@@ -10,7 +10,7 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
10
10
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
11
11
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
12
12
|
import { akEditorBreakoutPadding, akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
|
|
13
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
13
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
export var GRID_SIZE = 12;
|
|
16
16
|
// Matches the existing `.gridParent` 12px left + 12px right gutter expansion.
|