@atlaskit/editor-plugin-type-ahead 10.0.18 → 10.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-type-ahead
2
2
 
3
+ ## 10.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`41168b2bd2790`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41168b2bd2790) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 10.0.19
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 10.0.18
4
21
 
5
22
  ### Patch Changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "typeAheadPlugin", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _typeAheadPlugin.typeAheadPlugin;
10
+ }
11
+ });
12
+ var _typeAheadPlugin = require("../typeAheadPlugin");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -358,7 +358,7 @@ var TypeAheadListComponent = /*#__PURE__*/_react.default.memo(function (_ref2) {
358
358
  }, intl.formatMessage(_typeAhead.typeAheadListMessages.emptySearchResults)), (0, _react2.jsx)(_compiled.Text, {
359
359
  align: "center",
360
360
  as: "p"
361
- }, intl.formatMessage((0, _expValEquals.expValEquals)('platform_editor_insert_menu_ai', 'isEnabled', true) ? _typeAhead.typeAheadListMessages.emptySearchResultsSuggestionNew : _typeAhead.typeAheadListMessages.emptySearchResultsSuggestion, {
361
+ }, intl.formatMessage((0, _expValEquals.expValEquals)('platform_editor_insert_menu_ai', 'isEnabled', true) ? showMoreOptionsButton ? _typeAhead.typeAheadListMessages.emptySearchResultsSuggestionNew : _typeAhead.typeAheadListMessages.emptySearchResultsSuggestionAskRovoOnly : _typeAhead.typeAheadListMessages.emptySearchResultsSuggestion, {
362
362
  askRovoName: (0, _react2.jsx)(_compiled.Text, {
363
363
  weight: "medium"
364
364
  }, intl.formatMessage(_messages.toolbarInsertBlockMessages.askRovo)),
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { typeAheadPlugin } from '../typeAheadPlugin';
File without changes
@@ -338,7 +338,7 @@ const TypeAheadListComponent = /*#__PURE__*/React.memo(({
338
338
  }, intl.formatMessage(typeAheadListMessages.emptySearchResults)), jsx(Text, {
339
339
  align: "center",
340
340
  as: "p"
341
- }, intl.formatMessage(expValEquals('platform_editor_insert_menu_ai', 'isEnabled', true) ? typeAheadListMessages.emptySearchResultsSuggestionNew : typeAheadListMessages.emptySearchResultsSuggestion, {
341
+ }, intl.formatMessage(expValEquals('platform_editor_insert_menu_ai', 'isEnabled', true) ? showMoreOptionsButton ? typeAheadListMessages.emptySearchResultsSuggestionNew : typeAheadListMessages.emptySearchResultsSuggestionAskRovoOnly : typeAheadListMessages.emptySearchResultsSuggestion, {
342
342
  askRovoName: jsx(Text, {
343
343
  weight: "medium"
344
344
  }, intl.formatMessage(messages.askRovo)),
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { typeAheadPlugin } from '../typeAheadPlugin';
File without changes
@@ -349,7 +349,7 @@ var TypeAheadListComponent = /*#__PURE__*/React.memo(function (_ref2) {
349
349
  }, intl.formatMessage(typeAheadListMessages.emptySearchResults)), jsx(Text, {
350
350
  align: "center",
351
351
  as: "p"
352
- }, intl.formatMessage(expValEquals('platform_editor_insert_menu_ai', 'isEnabled', true) ? typeAheadListMessages.emptySearchResultsSuggestionNew : typeAheadListMessages.emptySearchResultsSuggestion, {
352
+ }, intl.formatMessage(expValEquals('platform_editor_insert_menu_ai', 'isEnabled', true) ? showMoreOptionsButton ? typeAheadListMessages.emptySearchResultsSuggestionNew : typeAheadListMessages.emptySearchResultsSuggestionAskRovoOnly : typeAheadListMessages.emptySearchResultsSuggestion, {
353
353
  askRovoName: jsx(Text, {
354
354
  weight: "medium"
355
355
  }, intl.formatMessage(messages.askRovo)),
@@ -0,0 +1 @@
1
+ export type { TypeAheadPlugin } from '../typeAheadPluginType';
@@ -0,0 +1 @@
1
+ export { typeAheadPlugin } from '../typeAheadPlugin';
@@ -0,0 +1 @@
1
+ export type { OpenTypeAheadProps, TypeAheadHandler, TypeAheadInputMethod, TypeAheadPluginOptions, TypeAheadPluginState, TypeAheadPluginSharedState, } from '../types/index';
@@ -0,0 +1 @@
1
+ export type { TypeAheadPlugin } from '../typeAheadPluginType';
@@ -0,0 +1 @@
1
+ export { typeAheadPlugin } from '../typeAheadPlugin';
@@ -0,0 +1 @@
1
+ export type { OpenTypeAheadProps, TypeAheadHandler, TypeAheadInputMethod, TypeAheadPluginOptions, TypeAheadPluginState, TypeAheadPluginSharedState, } from '../types/index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "10.0.18",
3
+ "version": "10.1.0",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  "@atlaskit/adf-schema": "^52.11.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^10.0.0",
34
34
  "@atlaskit/editor-plugin-connectivity": "^10.0.0",
35
- "@atlaskit/editor-plugin-context-panel": "^12.0.0",
36
- "@atlaskit/editor-plugin-metrics": "^11.0.0",
35
+ "@atlaskit/editor-plugin-context-panel": "^12.1.0",
36
+ "@atlaskit/editor-plugin-metrics": "^11.1.0",
37
37
  "@atlaskit/editor-prosemirror": "^7.3.0",
38
38
  "@atlaskit/editor-shared-styles": "^3.10.0",
39
39
  "@atlaskit/feature-gate-js-client": "^5.5.0",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/primitives": "^19.0.0",
45
45
  "@atlaskit/prosemirror-history": "^0.2.0",
46
46
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
47
- "@atlaskit/tmp-editor-statsig": "^79.0.0",
47
+ "@atlaskit/tmp-editor-statsig": "^80.0.0",
48
48
  "@atlaskit/tokens": "^13.0.0",
49
49
  "@atlaskit/visually-hidden": "^3.1.0",
50
50
  "@babel/runtime": "^7.0.0",
@@ -56,7 +56,7 @@
56
56
  "w3c-keyname": "^2.1.8"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^114.29.0",
59
+ "@atlaskit/editor-common": "^114.30.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-type-ahead/type-ahead-plugin",
3
+ "main": "../dist/cjs/entry-points/type-ahead-plugin.js",
4
+ "module": "../dist/esm/entry-points/type-ahead-plugin.js",
5
+ "module:es2019": "../dist/es2019/entry-points/type-ahead-plugin.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/type-ahead-plugin.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/type-ahead-plugin.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-type-ahead/type-ahead-plugin-type",
3
+ "main": "../dist/cjs/entry-points/type-ahead-plugin-type.js",
4
+ "module": "../dist/esm/entry-points/type-ahead-plugin-type.js",
5
+ "module:es2019": "../dist/es2019/entry-points/type-ahead-plugin-type.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/type-ahead-plugin-type.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/type-ahead-plugin-type.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-type-ahead/types",
3
+ "main": "../dist/cjs/entry-points/types.js",
4
+ "module": "../dist/esm/entry-points/types.js",
5
+ "module:es2019": "../dist/es2019/entry-points/types.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/types.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/types.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }