@atlaskit/editor-common 122.0.0 → 122.2.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 +18 -0
- package/dist/cjs/messages/rule.js +69 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Mention/mention-with-profilecard.js +1 -0
- package/dist/es2019/messages/rule.js +63 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Mention/mention-with-profilecard.js +1 -0
- package/dist/esm/messages/rule.js +63 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Mention/mention-with-profilecard.js +1 -0
- package/dist/types/analytics/types/node-events.d.ts +10 -1
- package/dist/types/messages/rule.d.ts +62 -0
- package/dist/types/provider-factory/profile-card-provider.d.ts +2 -0
- package/messages/rule/package.json +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 122.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`85253e0fa5828`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85253e0fa5828) -
|
|
8
|
+
Add `rovo_chat_people_entity_hover_cards` and `rovo_chat_inferred_project_hover_cards` gated
|
|
9
|
+
entity-annotation coverage, rendered-trigger, and hover-card engagement tracking. Person
|
|
10
|
+
annotation mentions carry a reserved local ID marker so only annotation-originated profile card
|
|
11
|
+
opens are tracked.
|
|
12
|
+
|
|
13
|
+
## 122.1.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [`27b897435a350`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/27b897435a350) -
|
|
18
|
+
[ux] [EDITOR-8345] This change adds a menu to the feature-gated floating toolbar with options to
|
|
19
|
+
toggle Divider weights and styles, behind platform_editor_lovability_dividers.
|
|
20
|
+
|
|
3
21
|
## 122.0.0
|
|
4
22
|
|
|
5
23
|
### Major Changes
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ruleMessages = void 0;
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var ruleMessages = exports.ruleMessages = (0, _reactIntl.defineMessages)({
|
|
9
|
+
dividerOptions: {
|
|
10
|
+
id: 'fabric.editor.rule.dividerOptions',
|
|
11
|
+
defaultMessage: 'Divider options',
|
|
12
|
+
description: 'Label for the floating toolbar button that opens options for a selected divider.'
|
|
13
|
+
},
|
|
14
|
+
dividerFloatingControls: {
|
|
15
|
+
id: 'fabric.editor.rule.dividerFloatingControls',
|
|
16
|
+
defaultMessage: 'Divider floating controls',
|
|
17
|
+
description: 'Accessible title for the floating toolbar shown when a divider is selected.'
|
|
18
|
+
},
|
|
19
|
+
weight: {
|
|
20
|
+
id: 'fabric.editor.rule.weight',
|
|
21
|
+
defaultMessage: 'Weight',
|
|
22
|
+
description: 'Heading for the divider weight options in the divider options menu.'
|
|
23
|
+
},
|
|
24
|
+
style: {
|
|
25
|
+
id: 'fabric.editor.rule.style',
|
|
26
|
+
defaultMessage: 'Style',
|
|
27
|
+
description: 'Heading for the divider style options in the divider options menu.'
|
|
28
|
+
},
|
|
29
|
+
smallDivider: {
|
|
30
|
+
id: 'fabric.editor.rule.smallDivider',
|
|
31
|
+
defaultMessage: 'Small divider',
|
|
32
|
+
description: 'Accessible label for the button that selects a small divider weight.'
|
|
33
|
+
},
|
|
34
|
+
mediumDivider: {
|
|
35
|
+
id: 'fabric.editor.rule.mediumDivider',
|
|
36
|
+
defaultMessage: 'Medium divider',
|
|
37
|
+
description: 'Accessible label for the button that selects a medium divider weight.'
|
|
38
|
+
},
|
|
39
|
+
largeDivider: {
|
|
40
|
+
id: 'fabric.editor.rule.largeDivider',
|
|
41
|
+
defaultMessage: 'Large divider',
|
|
42
|
+
description: 'Accessible label for the button that selects a large divider weight.'
|
|
43
|
+
},
|
|
44
|
+
solidDivider: {
|
|
45
|
+
id: 'fabric.editor.rule.solidDivider',
|
|
46
|
+
defaultMessage: 'Solid divider',
|
|
47
|
+
description: 'Accessible label for the button that selects a solid divider style.'
|
|
48
|
+
},
|
|
49
|
+
dashedDivider: {
|
|
50
|
+
id: 'fabric.editor.rule.dashedDivider',
|
|
51
|
+
defaultMessage: 'Dashed divider',
|
|
52
|
+
description: 'Accessible label for the button that selects a dashed divider style.'
|
|
53
|
+
},
|
|
54
|
+
dottedDivider: {
|
|
55
|
+
id: 'fabric.editor.rule.dottedDivider',
|
|
56
|
+
defaultMessage: 'Dotted divider',
|
|
57
|
+
description: 'Accessible label for the button that selects a dotted divider style.'
|
|
58
|
+
},
|
|
59
|
+
sketchDivider: {
|
|
60
|
+
id: 'fabric.editor.rule.sketchDivider',
|
|
61
|
+
defaultMessage: 'Sketch divider',
|
|
62
|
+
description: 'Accessible label for the button that selects a sketch divider style.'
|
|
63
|
+
},
|
|
64
|
+
fadeDivider: {
|
|
65
|
+
id: 'fabric.editor.rule.fadeDivider',
|
|
66
|
+
defaultMessage: 'Fade divider',
|
|
67
|
+
description: 'Accessible label for the button that selects a fading divider style.'
|
|
68
|
+
}
|
|
69
|
+
});
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "
|
|
30
|
+
var packageVersion = "122.1.0";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "
|
|
27
|
+
var packageVersion = "122.1.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl';
|
|
2
|
+
export const ruleMessages = defineMessages({
|
|
3
|
+
dividerOptions: {
|
|
4
|
+
id: 'fabric.editor.rule.dividerOptions',
|
|
5
|
+
defaultMessage: 'Divider options',
|
|
6
|
+
description: 'Label for the floating toolbar button that opens options for a selected divider.'
|
|
7
|
+
},
|
|
8
|
+
dividerFloatingControls: {
|
|
9
|
+
id: 'fabric.editor.rule.dividerFloatingControls',
|
|
10
|
+
defaultMessage: 'Divider floating controls',
|
|
11
|
+
description: 'Accessible title for the floating toolbar shown when a divider is selected.'
|
|
12
|
+
},
|
|
13
|
+
weight: {
|
|
14
|
+
id: 'fabric.editor.rule.weight',
|
|
15
|
+
defaultMessage: 'Weight',
|
|
16
|
+
description: 'Heading for the divider weight options in the divider options menu.'
|
|
17
|
+
},
|
|
18
|
+
style: {
|
|
19
|
+
id: 'fabric.editor.rule.style',
|
|
20
|
+
defaultMessage: 'Style',
|
|
21
|
+
description: 'Heading for the divider style options in the divider options menu.'
|
|
22
|
+
},
|
|
23
|
+
smallDivider: {
|
|
24
|
+
id: 'fabric.editor.rule.smallDivider',
|
|
25
|
+
defaultMessage: 'Small divider',
|
|
26
|
+
description: 'Accessible label for the button that selects a small divider weight.'
|
|
27
|
+
},
|
|
28
|
+
mediumDivider: {
|
|
29
|
+
id: 'fabric.editor.rule.mediumDivider',
|
|
30
|
+
defaultMessage: 'Medium divider',
|
|
31
|
+
description: 'Accessible label for the button that selects a medium divider weight.'
|
|
32
|
+
},
|
|
33
|
+
largeDivider: {
|
|
34
|
+
id: 'fabric.editor.rule.largeDivider',
|
|
35
|
+
defaultMessage: 'Large divider',
|
|
36
|
+
description: 'Accessible label for the button that selects a large divider weight.'
|
|
37
|
+
},
|
|
38
|
+
solidDivider: {
|
|
39
|
+
id: 'fabric.editor.rule.solidDivider',
|
|
40
|
+
defaultMessage: 'Solid divider',
|
|
41
|
+
description: 'Accessible label for the button that selects a solid divider style.'
|
|
42
|
+
},
|
|
43
|
+
dashedDivider: {
|
|
44
|
+
id: 'fabric.editor.rule.dashedDivider',
|
|
45
|
+
defaultMessage: 'Dashed divider',
|
|
46
|
+
description: 'Accessible label for the button that selects a dashed divider style.'
|
|
47
|
+
},
|
|
48
|
+
dottedDivider: {
|
|
49
|
+
id: 'fabric.editor.rule.dottedDivider',
|
|
50
|
+
defaultMessage: 'Dotted divider',
|
|
51
|
+
description: 'Accessible label for the button that selects a dotted divider style.'
|
|
52
|
+
},
|
|
53
|
+
sketchDivider: {
|
|
54
|
+
id: 'fabric.editor.rule.sketchDivider',
|
|
55
|
+
defaultMessage: 'Sketch divider',
|
|
56
|
+
description: 'Accessible label for the button that selects a sketch divider style.'
|
|
57
|
+
},
|
|
58
|
+
fadeDivider: {
|
|
59
|
+
id: 'fabric.editor.rule.fadeDivider',
|
|
60
|
+
defaultMessage: 'Fade divider',
|
|
61
|
+
description: 'Accessible label for the button that selects a fading divider style.'
|
|
62
|
+
}
|
|
63
|
+
});
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "
|
|
16
|
+
const packageVersion = "122.1.0";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "
|
|
17
|
+
const packageVersion = "122.1.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl';
|
|
2
|
+
export var ruleMessages = defineMessages({
|
|
3
|
+
dividerOptions: {
|
|
4
|
+
id: 'fabric.editor.rule.dividerOptions',
|
|
5
|
+
defaultMessage: 'Divider options',
|
|
6
|
+
description: 'Label for the floating toolbar button that opens options for a selected divider.'
|
|
7
|
+
},
|
|
8
|
+
dividerFloatingControls: {
|
|
9
|
+
id: 'fabric.editor.rule.dividerFloatingControls',
|
|
10
|
+
defaultMessage: 'Divider floating controls',
|
|
11
|
+
description: 'Accessible title for the floating toolbar shown when a divider is selected.'
|
|
12
|
+
},
|
|
13
|
+
weight: {
|
|
14
|
+
id: 'fabric.editor.rule.weight',
|
|
15
|
+
defaultMessage: 'Weight',
|
|
16
|
+
description: 'Heading for the divider weight options in the divider options menu.'
|
|
17
|
+
},
|
|
18
|
+
style: {
|
|
19
|
+
id: 'fabric.editor.rule.style',
|
|
20
|
+
defaultMessage: 'Style',
|
|
21
|
+
description: 'Heading for the divider style options in the divider options menu.'
|
|
22
|
+
},
|
|
23
|
+
smallDivider: {
|
|
24
|
+
id: 'fabric.editor.rule.smallDivider',
|
|
25
|
+
defaultMessage: 'Small divider',
|
|
26
|
+
description: 'Accessible label for the button that selects a small divider weight.'
|
|
27
|
+
},
|
|
28
|
+
mediumDivider: {
|
|
29
|
+
id: 'fabric.editor.rule.mediumDivider',
|
|
30
|
+
defaultMessage: 'Medium divider',
|
|
31
|
+
description: 'Accessible label for the button that selects a medium divider weight.'
|
|
32
|
+
},
|
|
33
|
+
largeDivider: {
|
|
34
|
+
id: 'fabric.editor.rule.largeDivider',
|
|
35
|
+
defaultMessage: 'Large divider',
|
|
36
|
+
description: 'Accessible label for the button that selects a large divider weight.'
|
|
37
|
+
},
|
|
38
|
+
solidDivider: {
|
|
39
|
+
id: 'fabric.editor.rule.solidDivider',
|
|
40
|
+
defaultMessage: 'Solid divider',
|
|
41
|
+
description: 'Accessible label for the button that selects a solid divider style.'
|
|
42
|
+
},
|
|
43
|
+
dashedDivider: {
|
|
44
|
+
id: 'fabric.editor.rule.dashedDivider',
|
|
45
|
+
defaultMessage: 'Dashed divider',
|
|
46
|
+
description: 'Accessible label for the button that selects a dashed divider style.'
|
|
47
|
+
},
|
|
48
|
+
dottedDivider: {
|
|
49
|
+
id: 'fabric.editor.rule.dottedDivider',
|
|
50
|
+
defaultMessage: 'Dotted divider',
|
|
51
|
+
description: 'Accessible label for the button that selects a dotted divider style.'
|
|
52
|
+
},
|
|
53
|
+
sketchDivider: {
|
|
54
|
+
id: 'fabric.editor.rule.sketchDivider',
|
|
55
|
+
defaultMessage: 'Sketch divider',
|
|
56
|
+
description: 'Accessible label for the button that selects a sketch divider style.'
|
|
57
|
+
},
|
|
58
|
+
fadeDivider: {
|
|
59
|
+
id: 'fabric.editor.rule.fadeDivider',
|
|
60
|
+
defaultMessage: 'Fade divider',
|
|
61
|
+
description: 'Accessible label for the button that selects a fading divider style.'
|
|
62
|
+
}
|
|
63
|
+
});
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "
|
|
22
|
+
var packageVersion = "122.1.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "
|
|
24
|
+
var packageVersion = "122.1.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -102,6 +102,15 @@ type ResizedLayoutColumnAEP = TrackAEP<ACTION.DRAGGED, ACTION_SUBJECT.DOCUMENT,
|
|
|
102
102
|
type DeletedExpandAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
103
103
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
104
104
|
}, undefined>;
|
|
105
|
+
type UpdatedDividerAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.DIVIDER, undefined, {
|
|
106
|
+
inputMethod: INPUT_METHOD.FLOATING_TB;
|
|
107
|
+
previousStyle: 'solid' | 'dashed' | 'dotted' | 'sketch' | 'fade';
|
|
108
|
+
style: 'solid' | 'dashed' | 'dotted' | 'sketch' | 'fade';
|
|
109
|
+
} | {
|
|
110
|
+
inputMethod: INPUT_METHOD.FLOATING_TB;
|
|
111
|
+
previousWeight: number;
|
|
112
|
+
weight: number;
|
|
113
|
+
}, undefined>;
|
|
105
114
|
type UnsupportedContentAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.UNSUPPORTED_BLOCK | ACTION_SUBJECT_ID.UNSUPPORTED_INLINE | ACTION_SUBJECT_ID.UNSUPPORTED_MARK, {
|
|
106
115
|
unsupportedNode: {
|
|
107
116
|
ancestry: string;
|
|
@@ -109,5 +118,5 @@ type UnsupportedContentAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, AC
|
|
|
109
118
|
type: string;
|
|
110
119
|
};
|
|
111
120
|
}, undefined>;
|
|
112
|
-
export type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | OpenedLayoutColumnMenuAEP | DeletedLayoutColumnAEP | UpdatedLayoutColumnVerticalAlignmentAEP | DistributedLayoutColumnAEP | ResizedLayoutColumnAEP | DeletedExpandAEP | NodeDeletedAEP | ChangeSmartLinkAEP | ChangeNativeEmbedAEP | UnsupportedContentAEP;
|
|
121
|
+
export type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | OpenedLayoutColumnMenuAEP | DeletedLayoutColumnAEP | UpdatedLayoutColumnVerticalAlignmentAEP | DistributedLayoutColumnAEP | ResizedLayoutColumnAEP | DeletedExpandAEP | UpdatedDividerAEP | NodeDeletedAEP | ChangeSmartLinkAEP | ChangeNativeEmbedAEP | UnsupportedContentAEP;
|
|
113
122
|
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const ruleMessages: {
|
|
2
|
+
dashedDivider: {
|
|
3
|
+
defaultMessage: string;
|
|
4
|
+
description: string;
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
dividerFloatingControls: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
dividerOptions: {
|
|
13
|
+
defaultMessage: string;
|
|
14
|
+
description: string;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
dottedDivider: {
|
|
18
|
+
defaultMessage: string;
|
|
19
|
+
description: string;
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
fadeDivider: {
|
|
23
|
+
defaultMessage: string;
|
|
24
|
+
description: string;
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
largeDivider: {
|
|
28
|
+
defaultMessage: string;
|
|
29
|
+
description: string;
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
32
|
+
mediumDivider: {
|
|
33
|
+
defaultMessage: string;
|
|
34
|
+
description: string;
|
|
35
|
+
id: string;
|
|
36
|
+
};
|
|
37
|
+
sketchDivider: {
|
|
38
|
+
defaultMessage: string;
|
|
39
|
+
description: string;
|
|
40
|
+
id: string;
|
|
41
|
+
};
|
|
42
|
+
smallDivider: {
|
|
43
|
+
defaultMessage: string;
|
|
44
|
+
description: string;
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
solidDivider: {
|
|
48
|
+
defaultMessage: string;
|
|
49
|
+
description: string;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
style: {
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
55
|
+
id: string;
|
|
56
|
+
};
|
|
57
|
+
weight: {
|
|
58
|
+
defaultMessage: string;
|
|
59
|
+
description: string;
|
|
60
|
+
id: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -16,6 +16,8 @@ import type ProfileClient from '@atlaskit/profilecard/profile-card-client';
|
|
|
16
16
|
export type RenderUserMentionCard = (props: {
|
|
17
17
|
children: ReactNode;
|
|
18
18
|
cloudId: string;
|
|
19
|
+
/** Optional mention-local marker supplied by the renderer. */
|
|
20
|
+
localId?: string;
|
|
19
21
|
/** Known identity to prefill the card with, giving its trigger a concrete accessible name. */
|
|
20
22
|
prefilledProfileData?: {
|
|
21
23
|
accountId: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/messages/rule",
|
|
3
|
+
"main": "../../dist/cjs/messages/rule.js",
|
|
4
|
+
"module": "../../dist/esm/messages/rule.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/messages/rule.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/messages/rule.d.ts"
|
|
10
|
+
}
|
package/package.json
CHANGED