@atlaskit/editor-plugin-type-ahead 16.1.2 → 16.1.4
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,35 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 16.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 16.1.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`76e9f6152bf16`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76e9f6152bf16) -
|
|
14
|
+
Enable launched synced block integrations and remove obsolete experiment scaffolding.
|
|
15
|
+
|
|
16
|
+
BREAKING: `@atlaskit/tmp-editor-statsig` no longer defines the `platform_synced_block` editor
|
|
17
|
+
experiment. Consumers that use `editorExperiment('platform_synced_block', ...)` to conditionally
|
|
18
|
+
enable synced-block integrations will no longer be able to look up that experiment; synced-block
|
|
19
|
+
integrations are now enabled by default. Remove each lookup and its conditional branch:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
// Before
|
|
23
|
+
if (editorExperiment('platform_synced_block', true)) {
|
|
24
|
+
enableSyncedBlocks();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// After
|
|
28
|
+
enableSyncedBlocks();
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
|
|
3
33
|
## 16.1.2
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -18,7 +18,6 @@ var _editorPluginConnectivity = require("@atlaskit/editor-plugin-connectivity");
|
|
|
18
18
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
19
19
|
var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
20
20
|
var _menu = require("@atlaskit/menu");
|
|
21
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
22
21
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
|
|
23
22
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
24
23
|
/**
|
|
@@ -271,7 +270,9 @@ var TypeAheadListItem = exports.TypeAheadListItem = /*#__PURE__*/_react.default.
|
|
|
271
270
|
role: "option",
|
|
272
271
|
ref: buttonItemRef,
|
|
273
272
|
isDisabled: itemIsDisabled,
|
|
274
|
-
testId:
|
|
273
|
+
testId: item.testId
|
|
274
|
+
// @ts-ignore
|
|
275
|
+
,
|
|
275
276
|
css: listItemClasses
|
|
276
277
|
}, (0, _react2.jsx)("div", {
|
|
277
278
|
"aria-hidden": true
|
|
@@ -15,7 +15,6 @@ import { isOfflineMode } from '@atlaskit/editor-plugin-connectivity';
|
|
|
15
15
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
16
16
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
17
17
|
import { ButtonItem } from '@atlaskit/menu';
|
|
18
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
18
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
20
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
20
|
export const itemIcon = css({
|
|
@@ -284,7 +283,9 @@ export const TypeAheadListItem = /*#__PURE__*/React.memo(({
|
|
|
284
283
|
role: "option",
|
|
285
284
|
ref: buttonItemRef,
|
|
286
285
|
isDisabled: itemIsDisabled,
|
|
287
|
-
testId:
|
|
286
|
+
testId: item.testId
|
|
287
|
+
// @ts-ignore
|
|
288
|
+
,
|
|
288
289
|
css: listItemClasses
|
|
289
290
|
}, jsx("div", {
|
|
290
291
|
"aria-hidden": true
|
|
@@ -17,7 +17,6 @@ import { isOfflineMode } from '@atlaskit/editor-plugin-connectivity';
|
|
|
17
17
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
18
18
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
19
19
|
import { ButtonItem } from '@atlaskit/menu';
|
|
20
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
21
20
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
22
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
22
|
export var itemIcon = css({
|
|
@@ -263,7 +262,9 @@ export var TypeAheadListItem = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
263
262
|
role: "option",
|
|
264
263
|
ref: buttonItemRef,
|
|
265
264
|
isDisabled: itemIsDisabled,
|
|
266
|
-
testId:
|
|
265
|
+
testId: item.testId
|
|
266
|
+
// @ts-ignore
|
|
267
|
+
,
|
|
267
268
|
css: listItemClasses
|
|
268
269
|
}, jsx("div", {
|
|
269
270
|
"aria-hidden": true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.4",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
41
41
|
"@atlaskit/primitives": "^22.2.0",
|
|
42
|
-
"@atlaskit/prosemirror-history": "^1.
|
|
42
|
+
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
43
43
|
"@atlaskit/prosemirror-input-rules": "^4.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^150.0.0",
|
|
45
45
|
"@atlaskit/tokens": "^16.7.0",
|
|
46
46
|
"@atlaskit/visually-hidden": "^4.2.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"w3c-keyname": "^2.1.8"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^119.
|
|
56
|
+
"@atlaskit/editor-common": "^119.9.0",
|
|
57
57
|
"react": "^18.2.0 || ^19.2.0",
|
|
58
58
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|