@atlaskit/editor-plugin-mentions 1.6.1 → 1.7.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/.eslintrc.js CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  rules: {
3
- '@atlaskit/design-system/consistent-css-prop-usage': 'warn',
3
+ '@atlaskit/design-system/consistent-css-prop-usage': 'error',
4
4
  '@repo/internal/react/no-class-components': 'warn',
5
5
  },
6
6
  };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#114156](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114156)
8
+ [`bc6a63af2d1d0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc6a63af2d1d0) -
9
+ Bump adf-schema to 37.0.0 and adf-schema-json to 1.16.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.6.1
4
16
 
5
17
  ### Patch Changes
@@ -18,6 +18,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
18
18
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  /** @jsx jsx */
20
20
 
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
+
21
23
  var INVITE_ITEM_DESCRIPTION = exports.INVITE_ITEM_DESCRIPTION = {
22
24
  id: 'invite-teammate'
23
25
  };
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.rowStyle = exports.nameSectionStyle = exports.mentionItemStyle = exports.mentionItemSelectedStyle = exports.capitalizedStyle = exports.avatarStyle = exports.ROW_SIDE_PADDING = exports.AVATAR_HEIGHT = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
+
9
11
  var ROW_SIDE_PADDING = exports.ROW_SIDE_PADDING = 14;
10
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
11
13
  var rowStyle = exports.rowStyle = (0, _react.css)({
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import React, { useCallback, useEffect } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { FormattedMessage, injectIntl } from 'react-intl-next';
7
9
  import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N30, N300 } from '@atlaskit/theme/colors';
3
4
  export const ROW_SIDE_PADDING = 14;
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import React, { useCallback, useEffect } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { FormattedMessage, injectIntl } from 'react-intl-next';
7
9
  import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N30, N300 } from '@atlaskit/theme/colors';
3
4
  export var ROW_SIDE_PADDING = 14;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,7 +21,10 @@
21
21
  "types": "dist/types/index.d.ts",
22
22
  "typesVersions": {
23
23
  ">=4.5 <4.9": {
24
- "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
24
+ "*": [
25
+ "dist/types-ts4.5/*",
26
+ "dist/types-ts4.5/index.d.ts"
27
+ ]
25
28
  }
26
29
  },
27
30
  "sideEffects": false,
@@ -30,18 +33,18 @@
30
33
  ".": "./src/index.ts"
31
34
  },
32
35
  "dependencies": {
33
- "@atlaskit/adf-schema": "^36.10.7",
36
+ "@atlaskit/adf-schema": "^37.0.0",
34
37
  "@atlaskit/analytics-gas-types": "^5.1.0",
35
- "@atlaskit/editor-common": "^82.6.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
38
+ "@atlaskit/editor-common": "^82.12.0",
39
+ "@atlaskit/editor-plugin-analytics": "^1.3.0",
37
40
  "@atlaskit/editor-plugin-context-identifier": "^1.1.0",
38
- "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
41
+ "@atlaskit/editor-plugin-type-ahead": "^1.3.0",
39
42
  "@atlaskit/editor-prosemirror": "4.0.1",
40
- "@atlaskit/icon": "^22.3.0",
43
+ "@atlaskit/icon": "^22.4.0",
41
44
  "@atlaskit/mention": "^23.2.0",
42
45
  "@atlaskit/platform-feature-flags": "^0.2.5",
43
- "@atlaskit/theme": "^12.9.0",
44
- "@atlaskit/tokens": "^1.50.0",
46
+ "@atlaskit/theme": "^12.11.0",
47
+ "@atlaskit/tokens": "^1.53.0",
45
48
  "@babel/runtime": "^7.0.0",
46
49
  "@emotion/react": "^11.7.1",
47
50
  "uuid": "^3.1.0"
@@ -62,23 +65,44 @@
62
65
  },
63
66
  "techstack": {
64
67
  "@atlassian/frontend": {
65
- "code-structure": ["tangerine-next"],
66
- "import-structure": ["atlassian-conventions"],
67
- "circular-dependencies": ["file-and-folder-level"]
68
+ "code-structure": [
69
+ "tangerine-next"
70
+ ],
71
+ "import-structure": [
72
+ "atlassian-conventions"
73
+ ],
74
+ "circular-dependencies": [
75
+ "file-and-folder-level"
76
+ ]
68
77
  },
69
78
  "@repo/internal": {
70
79
  "dom-events": "use-bind-event-listener",
71
- "analytics": ["analytics-next"],
72
- "design-tokens": ["color"],
73
- "theming": ["react-context"],
74
- "ui-components": ["lite-mode"],
80
+ "analytics": [
81
+ "analytics-next"
82
+ ],
83
+ "design-tokens": [
84
+ "color"
85
+ ],
86
+ "theming": [
87
+ "react-context"
88
+ ],
89
+ "ui-components": [
90
+ "lite-mode"
91
+ ],
75
92
  "deprecation": "no-deprecated-imports",
76
- "styling": ["emotion", "emotion"],
77
- "imports": ["import-no-extraneous-disable-for-examples-and-docs"]
93
+ "styling": [
94
+ "emotion",
95
+ "emotion"
96
+ ],
97
+ "imports": [
98
+ "import-no-extraneous-disable-for-examples-and-docs"
99
+ ]
78
100
  }
79
101
  },
80
102
  "techstackIgnore": {
81
- "stricter": ["@atlassian/tangerine/project-structure"]
103
+ "stricter": [
104
+ "@atlassian/tangerine/project-structure"
105
+ ]
82
106
  },
83
107
  "platform-feature-flags": {
84
108
  "platform.editor.mentions-in-editor-popup-on-click": {