@atlaskit/editor-plugin-insert-block 17.0.7 → 17.1.0

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
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 17.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
8
+ Remove stale API report artifacts from published Platform packages.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 17.0.8
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 17.0.7
4
21
 
5
22
  ### Patch Changes
@@ -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 _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
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, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
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/ban-types
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/experiments';
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/ban-types
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/experiments';
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/ban-types
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.7",
3
+ "version": "17.1.0",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,42 +22,42 @@
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
24
  "@atlaskit/browser-apis": "^1.2.0",
25
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
26
- "@atlaskit/editor-plugin-block-type": "^20.0.0",
27
- "@atlaskit/editor-plugin-code-block": "^18.0.0",
25
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
26
+ "@atlaskit/editor-plugin-block-type": "^20.1.0",
27
+ "@atlaskit/editor-plugin-code-block": "^18.1.0",
28
28
  "@atlaskit/editor-plugin-connectivity": "^16.0.0",
29
- "@atlaskit/editor-plugin-date": "^18.0.0",
30
- "@atlaskit/editor-plugin-emoji": "^17.0.0",
31
- "@atlaskit/editor-plugin-expand": "^17.0.0",
32
- "@atlaskit/editor-plugin-extension": "^19.0.0",
33
- "@atlaskit/editor-plugin-feature-flags": "^15.0.0",
34
- "@atlaskit/editor-plugin-hyperlink": "^18.0.0",
35
- "@atlaskit/editor-plugin-image-upload": "^16.0.0",
36
- "@atlaskit/editor-plugin-layout": "^17.1.0",
37
- "@atlaskit/editor-plugin-media": "^18.0.0",
29
+ "@atlaskit/editor-plugin-date": "^18.1.0",
30
+ "@atlaskit/editor-plugin-emoji": "^17.1.0",
31
+ "@atlaskit/editor-plugin-expand": "^17.1.0",
32
+ "@atlaskit/editor-plugin-extension": "^19.1.0",
33
+ "@atlaskit/editor-plugin-feature-flags": "^15.1.0",
34
+ "@atlaskit/editor-plugin-hyperlink": "^18.1.0",
35
+ "@atlaskit/editor-plugin-image-upload": "^16.1.0",
36
+ "@atlaskit/editor-plugin-layout": "^17.2.0",
37
+ "@atlaskit/editor-plugin-media": "^18.1.0",
38
38
  "@atlaskit/editor-plugin-media-insert": "^31.1.0",
39
- "@atlaskit/editor-plugin-mentions": "^18.1.0",
39
+ "@atlaskit/editor-plugin-mentions": "^18.2.0",
40
40
  "@atlaskit/editor-plugin-metrics": "^17.0.0",
41
- "@atlaskit/editor-plugin-panel": "^18.1.0",
42
- "@atlaskit/editor-plugin-placeholder-text": "^17.0.0",
41
+ "@atlaskit/editor-plugin-panel": "^18.2.0",
42
+ "@atlaskit/editor-plugin-placeholder-text": "^17.1.0",
43
43
  "@atlaskit/editor-plugin-primary-toolbar": "^17.0.0",
44
- "@atlaskit/editor-plugin-quick-insert": "^16.1.0",
45
- "@atlaskit/editor-plugin-rule": "^16.0.0",
46
- "@atlaskit/editor-plugin-status": "^17.1.0",
47
- "@atlaskit/editor-plugin-table": "^28.0.0",
48
- "@atlaskit/editor-plugin-tasks-and-decisions": "^19.0.0",
44
+ "@atlaskit/editor-plugin-quick-insert": "^16.2.0",
45
+ "@atlaskit/editor-plugin-rule": "^16.1.0",
46
+ "@atlaskit/editor-plugin-status": "^17.2.0",
47
+ "@atlaskit/editor-plugin-table": "^28.1.0",
48
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^19.1.0",
49
49
  "@atlaskit/editor-plugin-toolbar": "^13.0.0",
50
- "@atlaskit/editor-plugin-type-ahead": "^17.0.0",
50
+ "@atlaskit/editor-plugin-type-ahead": "^17.1.0",
51
51
  "@atlaskit/editor-prosemirror": "^8.0.0",
52
- "@atlaskit/editor-shared-styles": "^4.0.0",
52
+ "@atlaskit/editor-shared-styles": "^4.1.0",
53
53
  "@atlaskit/editor-toolbar": "^2.6.0",
54
54
  "@atlaskit/editor-toolbar-model": "^1.2.0",
55
- "@atlaskit/emoji": "^72.1.0",
56
- "@atlaskit/icon": "^37.5.0",
55
+ "@atlaskit/emoji": "^72.2.0",
56
+ "@atlaskit/icon": "^37.6.0",
57
57
  "@atlaskit/icon-lab": "^7.7.0",
58
- "@atlaskit/platform-feature-flags": "^2.1.0",
59
- "@atlaskit/tmp-editor-statsig": "^167.0.0",
60
- "@atlaskit/tokens": "^16.9.0",
58
+ "@atlaskit/platform-feature-flags": "^2.2.0",
59
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
60
+ "@atlaskit/tokens": "^16.10.0",
61
61
  "@babel/runtime": "^7.0.0",
62
62
  "@emotion/react": "^11.7.1",
63
63
  "bind-event-listener": "^3.0.0",
@@ -66,7 +66,7 @@
66
66
  "react-virtualized": "^9.22.6"
67
67
  },
68
68
  "peerDependencies": {
69
- "@atlaskit/editor-common": "^120.7.0",
69
+ "@atlaskit/editor-common": "^120.9.0",
70
70
  "react": "^18.2.0 || ^19.2.0",
71
71
  "react-dom": "^18.2.0 || ^19.2.0",
72
72
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
package/report.api.md DELETED
@@ -1,115 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-plugin-insert-block"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
20
- import type { BlockTypePlugin } from '@atlaskit/editor-plugin-block-type';
21
- import type { CodeBlockPlugin } from '@atlaskit/editor-plugin-code-block';
22
- import type { DatePlugin } from '@atlaskit/editor-plugin-date';
23
- import type { EmojiPlugin } from '@atlaskit/editor-plugin-emoji';
24
- import type { ExpandPlugin } from '@atlaskit/editor-plugin-expand';
25
- import type { ExtensionPlugin } from '@atlaskit/editor-plugin-extension';
26
- import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
27
- import type { HyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
28
- import type { ImageUploadPlugin } from '@atlaskit/editor-plugin-image-upload';
29
- import type { LayoutPlugin } from '@atlaskit/editor-plugin-layout';
30
- import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
31
- import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
32
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
33
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
34
- import type { PanelPlugin } from '@atlaskit/editor-plugin-panel';
35
- import type { PlaceholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
36
- import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
37
- import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
38
- import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
39
- import type { TablePlugin } from '@atlaskit/editor-plugin-table';
40
- import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
41
- import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
42
-
43
- // @public (undocumented)
44
- interface InsertBlockOptions {
45
- // (undocumented)
46
- allowExpand?: boolean;
47
- // (undocumented)
48
- allowTables?: boolean;
49
- // (undocumented)
50
- horizontalRuleEnabled?: boolean;
51
- // (undocumented)
52
- insertMenuItems?: any;
53
- // (undocumented)
54
- nativeStatusSupported?: boolean;
55
- // (undocumented)
56
- replacePlusMenuWithElementBrowser?: boolean;
57
- // (undocumented)
58
- showElementBrowserLink?: boolean;
59
- }
60
-
61
- // @public (undocumented)
62
- export type InsertBlockPlugin = NextEditorPlugin<
63
- 'insertBlock',
64
- {
65
- pluginConfiguration: InsertBlockOptions | undefined;
66
- dependencies: InsertBlockPluginDependencies;
67
- }
68
- >;
69
-
70
- // @public (undocumented)
71
- export const insertBlockPlugin: InsertBlockPlugin;
72
-
73
- // @public (undocumented)
74
- type InsertBlockPluginDependencies = [
75
- OptionalPlugin<FeatureFlagsPlugin>,
76
- TypeAheadPlugin,
77
- OptionalPlugin<TablePlugin>,
78
- OptionalPlugin<HyperlinkPlugin>,
79
- OptionalPlugin<DatePlugin>,
80
- OptionalPlugin<BlockTypePlugin>,
81
- OptionalPlugin<AnalyticsPlugin>,
82
- OptionalPlugin<ImageUploadPlugin>,
83
- OptionalPlugin<EmojiPlugin>,
84
- OptionalPlugin<QuickInsertPlugin>,
85
- OptionalPlugin<RulePlugin>,
86
- OptionalPlugin<CodeBlockPlugin>,
87
- OptionalPlugin<PanelPlugin>,
88
- OptionalPlugin<MediaPlugin>,
89
- OptionalPlugin<MentionsPlugin>,
90
- OptionalPlugin<StatusPlugin>,
91
- OptionalPlugin<LayoutPlugin>,
92
- OptionalPlugin<ExpandPlugin>,
93
- OptionalPlugin<PlaceholderTextPlugin>,
94
- OptionalPlugin<ExtensionPlugin>,
95
- OptionalPlugin<TasksAndDecisionsPlugin>,
96
- ];
97
-
98
- // (No @packageDocumentation comment for this package)
99
- ```
100
-
101
- <!--SECTION END: Main Entry Types-->
102
-
103
- ### Peer Dependencies
104
-
105
- <!--SECTION START: Peer Dependencies-->
106
-
107
- ```json
108
- {
109
- "react": "^16.8.0",
110
- "react-dom": "^16.8.0",
111
- "react-intl": "npm:react-intl@^5.18.1"
112
- }
113
- ```
114
-
115
- <!--SECTION END: Peer Dependencies-->