@atlaskit/editor-plugin-emoji 0.4.5 → 0.4.7
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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 0.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763) [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) - update ADF schema
|
|
8
|
+
|
|
9
|
+
## 0.4.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
14
|
+
|
|
3
15
|
## 0.4.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -9,11 +9,10 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _emoji = require("@atlaskit/editor-common/emoji");
|
|
11
11
|
var _templateObject;
|
|
12
|
-
/** @jsx jsx */
|
|
13
12
|
// eslint-disable-next-line
|
|
14
13
|
var clickSelectWrapperStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n user-select: all;\n"])));
|
|
15
14
|
function EmojiNode(props) {
|
|
16
|
-
return
|
|
15
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
17
16
|
css: clickSelectWrapperStyle
|
|
18
|
-
},
|
|
17
|
+
}, /*#__PURE__*/React.createElement(_emoji.Emoji, props));
|
|
19
18
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { css, jsx } from '@emotion/react';
|
|
1
|
+
import { css } from '@emotion/react';
|
|
3
2
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
4
3
|
// eslint-disable-next-line
|
|
5
4
|
const clickSelectWrapperStyle = css`
|
|
@@ -7,7 +6,7 @@ const clickSelectWrapperStyle = css`
|
|
|
7
6
|
user-select: all;
|
|
8
7
|
`;
|
|
9
8
|
export default function EmojiNode(props) {
|
|
10
|
-
return
|
|
9
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
11
10
|
css: clickSelectWrapperStyle
|
|
12
|
-
},
|
|
11
|
+
}, /*#__PURE__*/React.createElement(Emoji, props));
|
|
13
12
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
-
|
|
4
|
-
import { css, jsx } from '@emotion/react';
|
|
3
|
+
import { css } from '@emotion/react';
|
|
5
4
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
6
5
|
// eslint-disable-next-line
|
|
7
6
|
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n user-select: all;\n"])));
|
|
8
7
|
export default function EmojiNode(props) {
|
|
9
|
-
return
|
|
8
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
10
9
|
css: clickSelectWrapperStyle
|
|
11
|
-
},
|
|
10
|
+
}, /*#__PURE__*/React.createElement(Emoji, props));
|
|
12
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"singleton": true
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/adf-schema": "^
|
|
24
|
-
"@atlaskit/editor-common": "^76.
|
|
23
|
+
"@atlaskit/adf-schema": "^35.0.0",
|
|
24
|
+
"@atlaskit/editor-common": "^76.24.0",
|
|
25
25
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
26
26
|
"@atlaskit/editor-plugin-type-ahead": "^0.7.0",
|
|
27
27
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-emoji"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
9
|
-
import type { EmojiDescription } from '@atlaskit/emoji';
|
|
10
|
-
import type { EmojiId } from '@atlaskit/emoji';
|
|
11
|
-
import type { EmojiProvider } from '@atlaskit/emoji';
|
|
12
|
-
import type { EmojiResourceConfig } from '@atlaskit/emoji';
|
|
13
|
-
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
14
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
15
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
16
|
-
import type { TypeAheadHandler } from '@atlaskit/editor-common/types';
|
|
17
|
-
import type { TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
|
|
18
|
-
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
19
|
-
|
|
20
|
-
// @public (undocumented)
|
|
21
|
-
export type EmojiPlugin = NextEditorPlugin<'emoji', {
|
|
22
|
-
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
23
|
-
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
24
|
-
sharedState: EmojiPluginSharedState | undefined;
|
|
25
|
-
commands: {
|
|
26
|
-
insertEmoji: (emojiId: EmojiId, inputMethod?: INPUT_METHOD.ASCII | INPUT_METHOD.PICKER | INPUT_METHOD.TYPEAHEAD) => EditorCommand;
|
|
27
|
-
};
|
|
28
|
-
actions: {
|
|
29
|
-
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
30
|
-
};
|
|
31
|
-
}>;
|
|
32
|
-
|
|
33
|
-
// @public
|
|
34
|
-
export const emojiPlugin: EmojiPlugin;
|
|
35
|
-
|
|
36
|
-
// @public (undocumented)
|
|
37
|
-
export interface EmojiPluginOptions {
|
|
38
|
-
// (undocumented)
|
|
39
|
-
headless?: boolean;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// @public (undocumented)
|
|
43
|
-
type EmojiPluginSharedState = EmojiPluginState & {
|
|
44
|
-
typeAheadHandler: TypeAheadHandler;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
// @public (undocumented)
|
|
48
|
-
export type EmojiPluginState = {
|
|
49
|
-
emojiProvider?: EmojiProvider;
|
|
50
|
-
emojiResourceConfig?: EmojiResourceConfig;
|
|
51
|
-
asciiMap?: Map<string, EmojiDescription>;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
// (No @packageDocumentation comment for this package)
|
|
55
|
-
|
|
56
|
-
```
|