@atlaskit/editor-plugin-insert-block 17.0.7 → 17.0.8
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
|
@@ -26,7 +26,7 @@ var _uiReact = require("@atlaskit/editor-common/ui-react");
|
|
|
26
26
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
27
27
|
var _picker = require("@atlaskit/emoji/picker");
|
|
28
28
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
29
|
-
var
|
|
29
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
30
30
|
var _filterDropdownItems = require("../toolbar-components/hooks/filterDropdownItems");
|
|
31
31
|
var _blockInsertMenu = require("./block-insert-menu");
|
|
32
32
|
var _createItems3 = require("./create-items");
|
|
@@ -792,7 +792,7 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
|
|
|
792
792
|
showElementBrowserLink: this.props.showElementBrowserLink || false,
|
|
793
793
|
pluginInjectionApi: this.props.pluginInjectionApi,
|
|
794
794
|
isFullPageAppearance: isFullPageAppearance
|
|
795
|
-
})), (!((_this$props$pluginInj = this.props.pluginInjectionApi) !== null && _this$props$pluginInj !== void 0 && _this$props$pluginInj.primaryToolbar) && this.props.showSeparator || isFullPageAppearance && (0,
|
|
795
|
+
})), (!((_this$props$pluginInj = this.props.pluginInjectionApi) !== null && _this$props$pluginInj !== void 0 && _this$props$pluginInj.primaryToolbar) && this.props.showSeparator || isFullPageAppearance && (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1')) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
|
|
796
796
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
797
797
|
(0, _react2.jsx)("span", {
|
|
798
798
|
css: _styles.separatorStyles
|
|
@@ -845,6 +845,6 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
|
|
|
845
845
|
});
|
|
846
846
|
}
|
|
847
847
|
}]);
|
|
848
|
-
}(_react.default.PureComponent); // eslint-disable-next-line @typescript-eslint/
|
|
848
|
+
}(_react.default.PureComponent); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
849
849
|
var _default_1 = (0, _reactIntl.injectIntl)(ToolbarInsertBlock);
|
|
850
850
|
var _default = exports.default = _default_1;
|
|
@@ -21,7 +21,7 @@ import { EmojiPicker as AkEmojiPicker } from '@atlaskit/emoji/picker';
|
|
|
21
21
|
// Ignored via go/ees005
|
|
22
22
|
// eslint-disable-next-line import/no-namespace
|
|
23
23
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
24
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
24
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
25
25
|
import { LINK_BUTTON_KEY } from '../toolbar-components/hooks/filterDropdownItems';
|
|
26
26
|
import { BlockInsertMenu } from './block-insert-menu';
|
|
27
27
|
import { createItems } from './create-items';
|
|
@@ -841,6 +841,6 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
|
|
844
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
844
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
845
845
|
const _default_1 = injectIntl(ToolbarInsertBlock);
|
|
846
846
|
export default _default_1;
|
|
@@ -36,7 +36,7 @@ import { EmojiPicker as AkEmojiPicker } from '@atlaskit/emoji/picker';
|
|
|
36
36
|
// Ignored via go/ees005
|
|
37
37
|
// eslint-disable-next-line import/no-namespace
|
|
38
38
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
39
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
39
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
40
40
|
import { LINK_BUTTON_KEY } from '../toolbar-components/hooks/filterDropdownItems';
|
|
41
41
|
import { BlockInsertMenu } from './block-insert-menu';
|
|
42
42
|
import { createItems } from './create-items';
|
|
@@ -841,6 +841,6 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
841
841
|
}]);
|
|
842
842
|
}(React.PureComponent);
|
|
843
843
|
|
|
844
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
844
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
845
845
|
var _default_1 = injectIntl(ToolbarInsertBlock);
|
|
846
846
|
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.8",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/icon": "^37.5.0",
|
|
57
57
|
"@atlaskit/icon-lab": "^7.7.0",
|
|
58
58
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
60
60
|
"@atlaskit/tokens": "^16.9.0",
|
|
61
61
|
"@babel/runtime": "^7.0.0",
|
|
62
62
|
"@emotion/react": "^11.7.1",
|