@atlaskit/editor-plugin-type-ahead 5.2.0 → 5.2.2
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 +16 -0
- package/dist/cjs/ui/TypeAheadListItem.js +1 -1
- package/dist/es2019/ui/TypeAheadListItem.js +1 -1
- package/dist/esm/ui/TypeAheadListItem.js +1 -1
- package/dist/types/ui/TypeAheadErrorFallback/MinHeightContainer.d.ts +2 -1
- package/dist/types/ui/TypeAheadListItem.d.ts +2 -2
- package/dist/types-ts4.5/ui/TypeAheadErrorFallback/MinHeightContainer.d.ts +2 -1
- package/dist/types-ts4.5/ui/TypeAheadListItem.d.ts +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 5.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6fb79942fc3a5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fb79942fc3a5) -
|
|
8
|
+
Internal changes to how borders are applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 5.2.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`39f3b00f65aa0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39f3b00f65aa0) -
|
|
16
|
+
NOISSUE: Patches emotion CSS exports in various editor packages
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 5.2.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -30,7 +30,7 @@ var itemIcon = exports.itemIcon = (0, _react2.css)({
|
|
|
30
30
|
width: "var(--ds-space-500, 40px)",
|
|
31
31
|
height: "var(--ds-space-500, 40px)",
|
|
32
32
|
overflow: 'hidden',
|
|
33
|
-
border: "1px
|
|
33
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, rgba(223, 225, 229, 0.5))") /* N60 at 50% */,
|
|
34
34
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
35
35
|
boxSizing: 'border-box',
|
|
36
36
|
display: 'flex',
|
|
@@ -20,7 +20,7 @@ export const itemIcon = css({
|
|
|
20
20
|
width: "var(--ds-space-500, 40px)",
|
|
21
21
|
height: "var(--ds-space-500, 40px)",
|
|
22
22
|
overflow: 'hidden',
|
|
23
|
-
border:
|
|
23
|
+
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, rgba(223, 225, 229, 0.5))"}` /* N60 at 50% */,
|
|
24
24
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
25
25
|
boxSizing: 'border-box',
|
|
26
26
|
display: 'flex',
|
|
@@ -22,7 +22,7 @@ export var itemIcon = css({
|
|
|
22
22
|
width: "var(--ds-space-500, 40px)",
|
|
23
23
|
height: "var(--ds-space-500, 40px)",
|
|
24
24
|
overflow: 'hidden',
|
|
25
|
-
border: "1px
|
|
25
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, rgba(223, 225, 229, 0.5))") /* N60 at 50% */,
|
|
26
26
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
27
27
|
boxSizing: 'border-box',
|
|
28
28
|
display: 'flex',
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
|
|
6
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
7
|
+
export declare const minHeightComponentStyles: SerializedStyles;
|
|
7
8
|
export declare const MinHeightContainer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
9
|
minHeight: string;
|
|
9
10
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
6
|
+
import { jsx, type SerializedStyles } from '@emotion/react';
|
|
7
7
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
8
8
|
import { type ExtractInjectionAPI, type TypeAheadItem } from '@atlaskit/editor-common/types';
|
|
9
9
|
import { type TypeAheadPlugin } from '../typeAheadPluginType';
|
|
10
|
-
export declare const itemIcon:
|
|
10
|
+
export declare const itemIcon: SerializedStyles;
|
|
11
11
|
type TypeAheadListItemProps = {
|
|
12
12
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
13
13
|
ariaLabel?: string;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
|
|
6
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
7
|
+
export declare const minHeightComponentStyles: SerializedStyles;
|
|
7
8
|
export declare const MinHeightContainer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
9
|
minHeight: string;
|
|
9
10
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
6
|
+
import { jsx, type SerializedStyles } from '@emotion/react';
|
|
7
7
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
8
8
|
import { type ExtractInjectionAPI, type TypeAheadItem } from '@atlaskit/editor-common/types';
|
|
9
9
|
import { type TypeAheadPlugin } from '../typeAheadPluginType';
|
|
10
|
-
export declare const itemIcon:
|
|
10
|
+
export declare const itemIcon: SerializedStyles;
|
|
11
11
|
type TypeAheadListItemProps = {
|
|
12
12
|
api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
|
|
13
13
|
ariaLabel?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
40
40
|
"@atlaskit/heading": "^5.2.0",
|
|
41
|
-
"@atlaskit/icon": "^28.
|
|
41
|
+
"@atlaskit/icon": "^28.2.0",
|
|
42
42
|
"@atlaskit/insm": "^0.1.0",
|
|
43
43
|
"@atlaskit/menu": "^8.4.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/primitives": "^14.14.0",
|
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.4.0",
|
|
47
47
|
"@atlaskit/theme": "^21.0.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^12.24.0",
|
|
49
49
|
"@atlaskit/tokens": "^6.3.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"w3c-keyname": "^2.1.8"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^109.
|
|
59
|
+
"@atlaskit/editor-common": "^109.8.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|