@atlaskit/editor-common 131.1.0 → 131.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 +20 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +2 -23
- package/dist/cjs/extensions/buildMenuItem.js +3 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/CompactQuickInsertMenuItem.js +9 -3
- package/dist/cjs/quick-insert/ElementBrowserQuickInsertMenuItem.js +11 -6
- package/dist/cjs/quick-insert/QuickInsertHoverPreview.js +5 -2
- package/dist/cjs/quick-insert/QuickInsertMenuItem.js +3 -0
- package/dist/cjs/quick-insert/SkillTag.compiled.css +28 -4
- package/dist/cjs/quick-insert/SkillTag.js +98 -29
- package/dist/cjs/quick-insert/attribution-icons/assets.js +18 -0
- package/dist/cjs/quick-insert/attribution-icons/feedback.js +18 -0
- package/dist/cjs/quick-insert/attribution-icons/focus.js +18 -0
- package/dist/cjs/quick-insert/attribution-icons/studio.js +18 -0
- package/dist/cjs/quick-insert/attribution-icons/talent.js +18 -0
- package/dist/cjs/quick-insert/attribution-icons/trello.js +18 -0
- package/dist/cjs/quick-insert/messages.js +25 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/OverflowShadow/index.js +2 -14
- package/dist/es2019/extensibility/Extension/Extension/index.js +2 -21
- package/dist/es2019/extensions/buildMenuItem.js +3 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/CompactQuickInsertMenuItem.js +9 -3
- package/dist/es2019/quick-insert/ElementBrowserQuickInsertMenuItem.js +11 -6
- package/dist/es2019/quick-insert/QuickInsertHoverPreview.js +5 -2
- package/dist/es2019/quick-insert/QuickInsertMenuItem.js +3 -0
- package/dist/es2019/quick-insert/SkillTag.compiled.css +28 -4
- package/dist/es2019/quick-insert/SkillTag.js +93 -25
- package/dist/es2019/quick-insert/attribution-icons/assets.js +10 -0
- package/dist/es2019/quick-insert/attribution-icons/feedback.js +10 -0
- package/dist/es2019/quick-insert/attribution-icons/focus.js +10 -0
- package/dist/es2019/quick-insert/attribution-icons/studio.js +10 -0
- package/dist/es2019/quick-insert/attribution-icons/talent.js +10 -0
- package/dist/es2019/quick-insert/attribution-icons/trello.js +10 -0
- package/dist/es2019/quick-insert/messages.js +25 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/OverflowShadow/index.js +2 -12
- package/dist/esm/extensibility/Extension/Extension/index.js +2 -23
- package/dist/esm/extensions/buildMenuItem.js +3 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/CompactQuickInsertMenuItem.js +9 -3
- package/dist/esm/quick-insert/ElementBrowserQuickInsertMenuItem.js +11 -6
- package/dist/esm/quick-insert/QuickInsertHoverPreview.js +5 -2
- package/dist/esm/quick-insert/QuickInsertMenuItem.js +3 -0
- package/dist/esm/quick-insert/SkillTag.compiled.css +28 -4
- package/dist/esm/quick-insert/SkillTag.js +99 -29
- package/dist/esm/quick-insert/attribution-icons/assets.js +12 -0
- package/dist/esm/quick-insert/attribution-icons/feedback.js +12 -0
- package/dist/esm/quick-insert/attribution-icons/focus.js +12 -0
- package/dist/esm/quick-insert/attribution-icons/studio.js +12 -0
- package/dist/esm/quick-insert/attribution-icons/talent.js +12 -0
- package/dist/esm/quick-insert/attribution-icons/trello.js +12 -0
- package/dist/esm/quick-insert/messages.js +25 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/OverflowShadow/index.js +2 -14
- package/dist/types/extensions/types/extension-manifest.d.ts +1 -0
- package/dist/types/extensions/types/utils.d.ts +3 -0
- package/dist/types/quick-insert/CompactQuickInsertMenuItem.d.ts +1 -1
- package/dist/types/quick-insert/ElementBrowserQuickInsertMenuItem.d.ts +1 -1
- package/dist/types/quick-insert/QuickInsertHoverPreview.d.ts +4 -2
- package/dist/types/quick-insert/QuickInsertMenuItem.d.ts +4 -2
- package/dist/types/quick-insert/SkillTag.d.ts +10 -1
- package/dist/types/quick-insert/attribution-icons/assets.d.ts +3 -0
- package/dist/types/quick-insert/attribution-icons/feedback.d.ts +3 -0
- package/dist/types/quick-insert/attribution-icons/focus.d.ts +3 -0
- package/dist/types/quick-insert/attribution-icons/studio.d.ts +3 -0
- package/dist/types/quick-insert/attribution-icons/talent.d.ts +3 -0
- package/dist/types/quick-insert/attribution-icons/trello.d.ts +3 -0
- package/dist/types/quick-insert/messages.d.ts +1 -1
- package/dist/types/ui/OverflowShadow/index.d.ts +0 -5
- package/package.json +2 -2
- package/quick-insert/assets-attribution-icon/package.json +10 -0
- package/quick-insert/confluence-attribution-icon/package.json +4 -4
- package/quick-insert/feedback-attribution-icon/package.json +10 -0
- package/quick-insert/focus-attribution-icon/package.json +10 -0
- package/quick-insert/jira-attribution-icon/package.json +4 -4
- package/quick-insert/jira-service-management-attribution-icon/package.json +4 -4
- package/quick-insert/studio-attribution-icon/package.json +10 -0
- package/quick-insert/talent-attribution-icon/package.json +10 -0
- package/quick-insert/trello-attribution-icon/package.json +10 -0
- /package/dist/cjs/quick-insert/{confluence-attribution-icon.js → attribution-icons/confluence.js} +0 -0
- /package/dist/cjs/quick-insert/{jira-service-management-attribution-icon.js → attribution-icons/jira-service-management.js} +0 -0
- /package/dist/cjs/quick-insert/{jira-attribution-icon.js → attribution-icons/jira.js} +0 -0
- /package/dist/es2019/quick-insert/{confluence-attribution-icon.js → attribution-icons/confluence.js} +0 -0
- /package/dist/es2019/quick-insert/{jira-service-management-attribution-icon.js → attribution-icons/jira-service-management.js} +0 -0
- /package/dist/es2019/quick-insert/{jira-attribution-icon.js → attribution-icons/jira.js} +0 -0
- /package/dist/esm/quick-insert/{confluence-attribution-icon.js → attribution-icons/confluence.js} +0 -0
- /package/dist/esm/quick-insert/{jira-service-management-attribution-icon.js → attribution-icons/jira-service-management.js} +0 -0
- /package/dist/esm/quick-insert/{jira-attribution-icon.js → attribution-icons/jira.js} +0 -0
- /package/dist/types/quick-insert/{confluence-attribution-icon.d.ts → attribution-icons/confluence.d.ts} +0 -0
- /package/dist/types/quick-insert/{jira-service-management-attribution-icon.d.ts → attribution-icons/jira-service-management.d.ts} +0 -0
- /package/dist/types/quick-insert/{jira-attribution-icon.d.ts → attribution-icons/jira.d.ts} +0 -0
|
@@ -89,6 +89,7 @@ export var CompactQuickInsertMenuItem = function CompactQuickInsertMenuItem(_ref
|
|
|
89
89
|
description = _ref.description,
|
|
90
90
|
iconBefore = _ref.iconBefore,
|
|
91
91
|
isDisabled = _ref.isDisabled,
|
|
92
|
+
lozenge = _ref.lozenge,
|
|
92
93
|
onSelect = _ref.onSelect,
|
|
93
94
|
preview = _ref.preview,
|
|
94
95
|
previewIcon = _ref.previewIcon,
|
|
@@ -128,6 +129,9 @@ export var CompactQuickInsertMenuItem = function CompactQuickInsertMenuItem(_ref
|
|
|
128
129
|
var hasAccessiblePreview = Boolean(resolvedDescription || (resolvedPreview === null || resolvedPreview === void 0 ? void 0 : resolvedPreview.attribution));
|
|
129
130
|
var previewAttributionName = (_resolvedPreview$attr = resolvedPreview.attribution) === null || _resolvedPreview$attr === void 0 ? void 0 : _resolvedPreview$attr.name;
|
|
130
131
|
var previewAttributionKey = typeof previewAttributionName === 'string' ? previewAttributionName : previewAttributionName === null || previewAttributionName === void 0 ? void 0 : previewAttributionName.id;
|
|
132
|
+
var rowTitle = titleContent !== null && titleContent !== void 0 ? titleContent : /*#__PURE__*/React.createElement(Text, {
|
|
133
|
+
color: isDisabled ? 'color.text.disabled' : 'color.text'
|
|
134
|
+
}, title);
|
|
131
135
|
var wrappedIcon = iconBefore && shouldWrapIcon ? /*#__PURE__*/React.createElement(Box, {
|
|
132
136
|
xcss: styles.iconLarge
|
|
133
137
|
}, iconBefore) : iconBefore;
|
|
@@ -149,9 +153,10 @@ export var CompactQuickInsertMenuItem = function CompactQuickInsertMenuItem(_ref
|
|
|
149
153
|
alignBlock: "center",
|
|
150
154
|
spread: "space-between",
|
|
151
155
|
xcss: styles.content
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
}, lozenge ? /*#__PURE__*/React.createElement(Inline, {
|
|
157
|
+
alignBlock: "center",
|
|
158
|
+
space: "space.100"
|
|
159
|
+
}, rowTitle, lozenge) : rowTitle, shortcut && /*#__PURE__*/React.createElement(Box, {
|
|
155
160
|
as: "span",
|
|
156
161
|
xcss: styles.shortcut
|
|
157
162
|
}, shortcut))), shouldRenderPreview && referenceElement && /*#__PURE__*/React.createElement(QuickInsertHoverPreview, {
|
|
@@ -162,6 +167,7 @@ export var CompactQuickInsertMenuItem = function CompactQuickInsertMenuItem(_ref
|
|
|
162
167
|
popupsMountPoint: popupsMountPoint,
|
|
163
168
|
referenceElement: referenceElement,
|
|
164
169
|
title: title,
|
|
170
|
+
titleContent: titleContent,
|
|
165
171
|
icon: previewIcon,
|
|
166
172
|
shouldClampText: shouldClampPreview
|
|
167
173
|
}));
|
|
@@ -120,6 +120,7 @@ export var ElementBrowserQuickInsertMenuItem = function ElementBrowserQuickInser
|
|
|
120
120
|
description = _ref.description,
|
|
121
121
|
iconBefore = _ref.iconBefore,
|
|
122
122
|
isDisabled = _ref.isDisabled,
|
|
123
|
+
lozenge = _ref.lozenge,
|
|
123
124
|
onSelect = _ref.onSelect,
|
|
124
125
|
shortcut = _ref.shortcut,
|
|
125
126
|
titleContent = _ref.titleContent,
|
|
@@ -139,6 +140,12 @@ export var ElementBrowserQuickInsertMenuItem = function ElementBrowserQuickInser
|
|
|
139
140
|
var itemStyles = useMemo(function () {
|
|
140
141
|
return [isDisabled ? borderlessDisabledItemStyles : isSelected ? borderlessSelectedItemStyles : borderlessItemStyles, isExperimentEnabled('platform_editor_slash_command') && !isDisabled && !isSelected && hoveredItemStyles];
|
|
141
142
|
}, [isDisabled, isSelected]);
|
|
143
|
+
var itemTitle = titleContent !== null && titleContent !== void 0 ? titleContent : /*#__PURE__*/React.createElement(Text, {
|
|
144
|
+
color: isDisabled ? 'color.text.disabled' : 'color.text',
|
|
145
|
+
maxLines: 1,
|
|
146
|
+
size: "medium",
|
|
147
|
+
weight: "medium"
|
|
148
|
+
}, title);
|
|
142
149
|
|
|
143
150
|
// Disabled items keep the dimmed colour inherited from the item.
|
|
144
151
|
var icon = iconBefore ? /*#__PURE__*/React.createElement("span", {
|
|
@@ -164,12 +171,10 @@ export var ElementBrowserQuickInsertMenuItem = function ElementBrowserQuickInser
|
|
|
164
171
|
alignBlock: "center",
|
|
165
172
|
spread: "space-between",
|
|
166
173
|
space: "space.100"
|
|
167
|
-
},
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
weight: "medium"
|
|
172
|
-
}, title), shortcut && /*#__PURE__*/React.createElement(Box, {
|
|
174
|
+
}, lozenge ? /*#__PURE__*/React.createElement(Inline, {
|
|
175
|
+
alignBlock: "center",
|
|
176
|
+
space: "space.100"
|
|
177
|
+
}, itemTitle, lozenge) : itemTitle, shortcut && /*#__PURE__*/React.createElement(Box, {
|
|
173
178
|
as: "span",
|
|
174
179
|
xcss: shortcutStyles
|
|
175
180
|
}, shortcut)), itemDescription && /*#__PURE__*/React.createElement(Text, {
|
|
@@ -71,7 +71,8 @@ export var QuickInsertHoverPreview = function QuickInsertHoverPreview(_ref) {
|
|
|
71
71
|
referenceElement = _ref.referenceElement,
|
|
72
72
|
_ref$shouldClampText = _ref.shouldClampText,
|
|
73
73
|
shouldClampText = _ref$shouldClampText === void 0 ? true : _ref$shouldClampText,
|
|
74
|
-
title = _ref.title
|
|
74
|
+
title = _ref.title,
|
|
75
|
+
titleContent = _ref.titleContent;
|
|
75
76
|
var _useThemeObserver = useThemeObserver(),
|
|
76
77
|
colorMode = _useThemeObserver.colorMode;
|
|
77
78
|
var imageUrl = preview.image ? colorMode === 'dark' && preview.image.dark ? preview.image.dark : preview.image.light : undefined;
|
|
@@ -100,6 +101,7 @@ export var QuickInsertHoverPreview = function QuickInsertHoverPreview(_ref) {
|
|
|
100
101
|
referenceElement: referenceElement,
|
|
101
102
|
shouldClampText: shouldClampText,
|
|
102
103
|
title: title,
|
|
104
|
+
titleContent: titleContent,
|
|
103
105
|
update: update
|
|
104
106
|
}));
|
|
105
107
|
}), portalTarget);
|
|
@@ -115,6 +117,7 @@ var QuickInsertPreviewPanel = function QuickInsertPreviewPanel(_ref3) {
|
|
|
115
117
|
referenceElement = _ref3.referenceElement,
|
|
116
118
|
shouldClampText = _ref3.shouldClampText,
|
|
117
119
|
title = _ref3.title,
|
|
120
|
+
titleContent = _ref3.titleContent,
|
|
118
121
|
update = _ref3.update;
|
|
119
122
|
var _useIntl = useIntl(),
|
|
120
123
|
formatMessage = _useIntl.formatMessage;
|
|
@@ -176,7 +179,7 @@ var QuickInsertPreviewPanel = function QuickInsertPreviewPanel(_ref3) {
|
|
|
176
179
|
xcss: layoutStyles.titleIcon
|
|
177
180
|
}, icon), /*#__PURE__*/React.createElement("span", {
|
|
178
181
|
className: ax([shouldClampText && styles.title, !shouldClampText && styles.unclampedTitle])
|
|
179
|
-
}, title)), description && /*#__PURE__*/React.createElement("div", {
|
|
182
|
+
}, titleContent !== null && titleContent !== void 0 ? titleContent : title)), description && /*#__PURE__*/React.createElement("div", {
|
|
180
183
|
className: ax([shouldClampText && styles.description, !shouldClampText && styles.unclampedDescription])
|
|
181
184
|
}, description), preview.attribution && /*#__PURE__*/React.createElement("div", {
|
|
182
185
|
className: ax([styles.attribution, shouldClampText && styles.compactAttribution])
|
|
@@ -7,6 +7,7 @@ export var QuickInsertMenuItem = function QuickInsertMenuItem(_ref) {
|
|
|
7
7
|
description = _ref.description,
|
|
8
8
|
iconBefore = _ref.iconBefore,
|
|
9
9
|
isDisabled = _ref.isDisabled,
|
|
10
|
+
lozenge = _ref.lozenge,
|
|
10
11
|
onSelect = _ref.onSelect,
|
|
11
12
|
preview = _ref.preview,
|
|
12
13
|
previewIcon = _ref.previewIcon,
|
|
@@ -24,6 +25,7 @@ export var QuickInsertMenuItem = function QuickInsertMenuItem(_ref) {
|
|
|
24
25
|
description: description,
|
|
25
26
|
iconBefore: iconBefore,
|
|
26
27
|
isDisabled: isDisabled,
|
|
28
|
+
lozenge: lozenge,
|
|
27
29
|
onSelect: onSelect,
|
|
28
30
|
shortcut: shortcut,
|
|
29
31
|
titleContent: titleContent,
|
|
@@ -34,6 +36,7 @@ export var QuickInsertMenuItem = function QuickInsertMenuItem(_ref) {
|
|
|
34
36
|
description: description,
|
|
35
37
|
iconBefore: iconBefore,
|
|
36
38
|
isDisabled: isDisabled,
|
|
39
|
+
lozenge: lozenge,
|
|
37
40
|
onSelect: onSelect,
|
|
38
41
|
preview: preview,
|
|
39
42
|
previewIcon: previewIcon,
|
|
@@ -1,9 +1,33 @@
|
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._152tze3t{inset-block-start:var(--ds-space-0,0)}
|
|
1
3
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
4
|
+
._1bsb1osq{width:100%}
|
|
5
|
+
._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
|
|
2
6
|
._1e0c1nu9{display:inline}
|
|
3
7
|
._1i4qfg65{overflow-wrap:anywhere}
|
|
8
|
+
._4t3i1osq{height:100%}
|
|
9
|
+
._bfhk187o{background-color:var(--ds-background-disabled,#0515240f)}
|
|
4
10
|
._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
11
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
12
|
+
._bozgv77o{padding-inline-start:var(--ds-space-025,2px)}
|
|
13
|
+
._kqswh2mm{position:relative}
|
|
14
|
+
._kqswstnw{position:absolute}
|
|
15
|
+
._lswu16y8{fill:var(--ds-border-accent-red,#e2483d)}
|
|
16
|
+
._lswu187o{fill:var(--ds-background-disabled,#0515240f)}
|
|
17
|
+
._lswu1b2s{fill:var(--ds-border-accent-orange,#e06c00)}
|
|
18
|
+
._lswu1crs{fill:var(--ds-border-accent-green,#22a06b)}
|
|
19
|
+
._lswu1h3o{fill:var(--ds-border-accent-teal,#2898bd)}
|
|
20
|
+
._lswu1hqq{fill:var(--ds-border-accent-purple,#af59e1)}
|
|
21
|
+
._lswu1l7x{fill:var(--ds-border,#0b120e24)}
|
|
22
|
+
._lswu1w55{fill:var(--ds-border-accent-blue,#357de8)}
|
|
23
|
+
._lswu8yml{fill:var(--ds-border-accent-gray,#7d818a)}
|
|
24
|
+
._lswubk0g{fill:var(--ds-border-disabled,#0515240f)}
|
|
25
|
+
._lswufeiv{fill:var(--ds-border-accent-yellow,#b38600)}
|
|
26
|
+
._lswui8nm{fill:var(--ds-background-neutral,#0515240f)}
|
|
27
|
+
._lswunf89{fill:var(--ds-border-accent-lime,#6a9a23)}
|
|
28
|
+
._lswuuwd0{fill:var(--ds-border-accent-magenta,#cd519d)}
|
|
29
|
+
._o5721q9c{white-space:nowrap}
|
|
8
30
|
._o5724jg8{white-space:normal}
|
|
9
|
-
.
|
|
31
|
+
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
32
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
33
|
+
._y4tiv77o{padding-inline-end:var(--ds-space-025,2px)}
|
|
@@ -2,36 +2,106 @@
|
|
|
2
2
|
import "./SkillTag.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
|
|
6
|
+
// SVG fills use background and border colour tokens, which @atlaskit/css's schema does not allow for `fill`.
|
|
7
|
+
|
|
8
|
+
// The edges fill the tag background, and the slash is a coloured stripe over the start edge.
|
|
9
|
+
var START_EDGE_PATH = 'M4.88566 1.4253C5.13945 0.579336 5.91809 0 6.80131 0H7.31325V20H2.00131C0.661586 20 -0.299308 18.7085 0.0856588 17.4253L4.88566 1.4253Z';
|
|
10
|
+
var END_EDGE_PATH = 'M4.39518 1.91565C4.73628 0.778646 5.78281 0 6.96988 0V20H3.00197C0.99238 20 -0.448963 18.0628 0.128488 16.138L4.39518 1.91565Z';
|
|
11
|
+
var SLASH_PATH = 'M5.06145 1.4253C5.31524 0.579336 6.09388 0 6.9771 0H7.48904L1.48904 20C0.49224 20 -0.222695 19.0391 0.0637328 18.0843L5.06145 1.4253Z';
|
|
8
12
|
var styles = {
|
|
13
|
+
tag: "_1e0c1nu9 _1i4qfg65 _o5724jg8",
|
|
14
|
+
text: "_11c8fhey _syazi7uo",
|
|
15
|
+
textDisabled: "_syaz1gmx",
|
|
16
|
+
noWrap: "_o5721q9c",
|
|
9
17
|
highlight: "_bfhki8nm _16d9qvcn _1e0c1nu9",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
highlightDisabled: "_bfhk187o",
|
|
19
|
+
highlightStart: "_bozgv77o",
|
|
20
|
+
highlightEnd: "_y4tiv77o",
|
|
21
|
+
edge: "_1e0c1nu9 _bozgu2gc _kqswh2mm",
|
|
22
|
+
edgeShape: "_4t3i1osq _152tze3t _1e02ze3t _kqswstnw _1bsb1osq"
|
|
14
23
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
var fillStyles = {
|
|
25
|
+
edge: "_lswui8nm",
|
|
26
|
+
edgeDisabled: "_lswu187o",
|
|
27
|
+
slashDisabled: "_lswubk0g"
|
|
28
|
+
};
|
|
29
|
+
var slashColorStyles = {
|
|
30
|
+
LIME: "_lswunf89",
|
|
31
|
+
RED: "_lswu16y8",
|
|
32
|
+
ORANGE: "_lswu1b2s",
|
|
33
|
+
YELLOW: "_lswufeiv",
|
|
34
|
+
GREEN: "_lswu1crs",
|
|
35
|
+
TEAL: "_lswu1h3o",
|
|
36
|
+
BLUE: "_lswu1w55",
|
|
37
|
+
PURPLE: "_lswu1hqq",
|
|
38
|
+
MAGENTA: "_lswuuwd0",
|
|
39
|
+
GRAY: "_lswu8yml",
|
|
40
|
+
DEFAULT: "_lswu1l7x"
|
|
41
|
+
};
|
|
42
|
+
var SKILL_TAG_COLORS = ['LIME', 'RED', 'ORANGE', 'YELLOW', 'GREEN', 'TEAL', 'BLUE', 'PURPLE', 'MAGENTA', 'GRAY', 'DEFAULT'];
|
|
43
|
+
var isSkillTagColor = function isSkillTagColor(color) {
|
|
44
|
+
return SKILL_TAG_COLORS.includes(color);
|
|
45
|
+
};
|
|
46
|
+
var Edge = function Edge(_ref) {
|
|
47
|
+
var children = _ref.children,
|
|
48
|
+
isDisabled = _ref.isDisabled;
|
|
49
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
50
|
+
"aria-hidden": "true",
|
|
51
|
+
className: ax([styles.edge])
|
|
52
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
53
|
+
focusable: "false",
|
|
54
|
+
preserveAspectRatio: "none",
|
|
55
|
+
viewBox: "0 0 8 20",
|
|
56
|
+
className: ax([styles.edgeShape, fillStyles.edge, isDisabled && fillStyles.edgeDisabled])
|
|
57
|
+
}, children));
|
|
58
|
+
};
|
|
59
|
+
var Highlight = function Highlight(_ref2) {
|
|
60
|
+
var children = _ref2.children,
|
|
61
|
+
isDisabled = _ref2.isDisabled,
|
|
62
|
+
side = _ref2.side;
|
|
63
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
64
|
+
className: ax([styles.highlight, isDisabled && styles.highlightDisabled, side === 'start' && styles.highlightStart, side === 'end' && styles.highlightEnd])
|
|
65
|
+
}, children);
|
|
66
|
+
};
|
|
67
|
+
export var SkillTag = function SkillTag(_ref3) {
|
|
68
|
+
var color = _ref3.color,
|
|
69
|
+
slug = _ref3.slug,
|
|
70
|
+
_ref3$isDisabled = _ref3.isDisabled,
|
|
71
|
+
isDisabled = _ref3$isDisabled === void 0 ? false : _ref3$isDisabled;
|
|
72
|
+
var slashColor = isSkillTagColor(color) ? color : 'DEFAULT';
|
|
73
|
+
// The first and last characters share a no-wrap span with the edge beside them, so a long slug
|
|
74
|
+
// can wrap without leaving an edge alone at the start or end of a line.
|
|
75
|
+
var firstCharacter = slug.slice(0, 1);
|
|
76
|
+
var middleCharacters = slug.slice(1, -1);
|
|
77
|
+
var lastCharacter = slug.slice(1).slice(-1);
|
|
78
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
79
|
+
className: ax([styles.tag, styles.text, isDisabled && styles.textDisabled])
|
|
80
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
81
|
+
className: ax([styles.noWrap])
|
|
82
|
+
}, /*#__PURE__*/React.createElement(Edge, {
|
|
83
|
+
isDisabled: isDisabled
|
|
84
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
85
|
+
d: START_EDGE_PATH,
|
|
86
|
+
transform: "translate(0.686 0)"
|
|
87
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
88
|
+
d: SLASH_PATH,
|
|
89
|
+
transform: "translate(0.511 0)",
|
|
90
|
+
className: ax([slashColorStyles[slashColor], isDisabled && fillStyles.slashDisabled])
|
|
91
|
+
})), /*#__PURE__*/React.createElement(Highlight, {
|
|
92
|
+
isDisabled: isDisabled,
|
|
93
|
+
side: "start"
|
|
94
|
+
}, firstCharacter)), middleCharacters && /*#__PURE__*/React.createElement(Highlight, {
|
|
95
|
+
isDisabled: isDisabled
|
|
96
|
+
}, middleCharacters), /*#__PURE__*/React.createElement("span", {
|
|
97
|
+
className: ax([styles.noWrap])
|
|
98
|
+
}, /*#__PURE__*/React.createElement(Highlight, {
|
|
99
|
+
isDisabled: isDisabled,
|
|
100
|
+
side: "end"
|
|
101
|
+
}, lastCharacter), /*#__PURE__*/React.createElement(Edge, {
|
|
102
|
+
isDisabled: isDisabled
|
|
103
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
104
|
+
d: END_EDGE_PATH,
|
|
105
|
+
transform: "rotate(180 4 10) translate(1.03 0)"
|
|
106
|
+
}))));
|
|
37
107
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { assetsIcon } from '@atlaskit/logo/raw-icons';
|
|
3
|
+
|
|
4
|
+
/** Decorative product icon accompanying the localized Assets attribution name. */
|
|
5
|
+
export var AssetsAttributionIcon = function AssetsAttributionIcon() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
7
|
+
src: assetsIcon,
|
|
8
|
+
alt: "",
|
|
9
|
+
width: 16,
|
|
10
|
+
height: 16
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { feedbackIcon } from '@atlaskit/logo/raw-icons';
|
|
3
|
+
|
|
4
|
+
/** Decorative product icon accompanying the localized Feedback attribution name. */
|
|
5
|
+
export var FeedbackAttributionIcon = function FeedbackAttributionIcon() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
7
|
+
src: feedbackIcon,
|
|
8
|
+
alt: "",
|
|
9
|
+
width: 16,
|
|
10
|
+
height: 16
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { focusIcon } from '@atlaskit/logo/raw-icons';
|
|
3
|
+
|
|
4
|
+
/** Decorative product icon accompanying the localized Focus attribution name. */
|
|
5
|
+
export var FocusAttributionIcon = function FocusAttributionIcon() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
7
|
+
src: focusIcon,
|
|
8
|
+
alt: "",
|
|
9
|
+
width: 16,
|
|
10
|
+
height: 16
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { studioIcon } from '@atlaskit/logo/raw-icons';
|
|
3
|
+
|
|
4
|
+
/** Decorative product icon accompanying the localized Studio attribution name. */
|
|
5
|
+
export var StudioAttributionIcon = function StudioAttributionIcon() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
7
|
+
src: studioIcon,
|
|
8
|
+
alt: "",
|
|
9
|
+
width: 16,
|
|
10
|
+
height: 16
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { talentIcon } from '@atlaskit/logo/raw-icons';
|
|
3
|
+
|
|
4
|
+
/** Decorative product icon accompanying the localized Talent attribution name. */
|
|
5
|
+
export var TalentAttributionIcon = function TalentAttributionIcon() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
7
|
+
src: talentIcon,
|
|
8
|
+
alt: "",
|
|
9
|
+
width: 16,
|
|
10
|
+
height: 16
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { trelloIcon } from '@atlaskit/logo/raw-icons';
|
|
3
|
+
|
|
4
|
+
/** Decorative product icon accompanying the localized Trello attribution name. */
|
|
5
|
+
export var TrelloAttributionIcon = function TrelloAttributionIcon() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
7
|
+
src: trelloIcon,
|
|
8
|
+
alt: "",
|
|
9
|
+
width: 16,
|
|
10
|
+
height: 16
|
|
11
|
+
});
|
|
12
|
+
};
|
|
@@ -170,6 +170,31 @@ export var messages = defineMessages({
|
|
|
170
170
|
defaultMessage: 'Jira Service Management',
|
|
171
171
|
description: 'Jira Service Management product name shown as the creator in a slash-command preview attribution.'
|
|
172
172
|
},
|
|
173
|
+
previewAttributionTalent: {
|
|
174
|
+
id: 'editor-common.quick-insert.previewAttributionTalent.ai-non-final',
|
|
175
|
+
defaultMessage: 'Talent',
|
|
176
|
+
description: 'Talent product name shown as the creator in a slash-command preview attribution.'
|
|
177
|
+
},
|
|
178
|
+
previewAttributionStudio: {
|
|
179
|
+
id: 'editor-common.quick-insert.previewAttributionStudio.ai-non-final',
|
|
180
|
+
defaultMessage: 'Studio',
|
|
181
|
+
description: 'Studio product name shown as the creator in a slash-command preview attribution.'
|
|
182
|
+
},
|
|
183
|
+
previewAttributionFocus: {
|
|
184
|
+
id: 'editor-common.quick-insert.previewAttributionFocus.ai-non-final',
|
|
185
|
+
defaultMessage: 'Focus',
|
|
186
|
+
description: 'Focus product name shown as the creator in a slash-command preview attribution.'
|
|
187
|
+
},
|
|
188
|
+
previewAttributionTrello: {
|
|
189
|
+
id: 'editor-common.quick-insert.previewAttributionTrello.ai-non-final',
|
|
190
|
+
defaultMessage: 'Trello',
|
|
191
|
+
description: 'Trello product name shown as the creator in a slash-command preview attribution.'
|
|
192
|
+
},
|
|
193
|
+
previewAttributionFeedback: {
|
|
194
|
+
id: 'editor-common.quick-insert.previewAttributionFeedback.ai-non-final',
|
|
195
|
+
defaultMessage: 'Feedback',
|
|
196
|
+
description: 'Feedback product name shown as the creator in a slash-command preview attribution.'
|
|
197
|
+
},
|
|
173
198
|
previewAttributionMicrosoft: {
|
|
174
199
|
id: 'editor-common.quick-insert.previewAttributionMicrosoft.ai-non-final',
|
|
175
200
|
defaultMessage: 'Microsoft',
|
|
@@ -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 = "131.
|
|
24
|
+
var packageVersion = "131.1.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -36,7 +36,7 @@ export default function overflowShadow(Component, options) {
|
|
|
36
36
|
_this.updateShadows();
|
|
37
37
|
});
|
|
38
38
|
_defineProperty(_this, "updateShadows", function () {
|
|
39
|
-
if (
|
|
39
|
+
if (options.useShadowObserver) {
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
_this.setState(function (prevState) {
|
|
@@ -90,9 +90,6 @@ export default function overflowShadow(Component, options) {
|
|
|
90
90
|
if (!_this.overflowContainer) {
|
|
91
91
|
_this.overflowContainer = container;
|
|
92
92
|
}
|
|
93
|
-
if (_this.isDisabled) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
93
|
if (options.useShadowObserver) {
|
|
97
94
|
_this.initShadowObserver();
|
|
98
95
|
return;
|
|
@@ -106,15 +103,6 @@ export default function overflowShadow(Component, options) {
|
|
|
106
103
|
}
|
|
107
104
|
_inherits(OverflowShadow, _React$Component);
|
|
108
105
|
return _createClass(OverflowShadow, [{
|
|
109
|
-
key: "isDisabled",
|
|
110
|
-
get: function get() {
|
|
111
|
-
if (this.disabled === undefined) {
|
|
112
|
-
var _options$isDisabled, _options$isDisabled2;
|
|
113
|
-
this.disabled = (_options$isDisabled = (_options$isDisabled2 = options.isDisabled) === null || _options$isDisabled2 === void 0 ? void 0 : _options$isDisabled2.call(options)) !== null && _options$isDisabled !== void 0 ? _options$isDisabled : false;
|
|
114
|
-
}
|
|
115
|
-
return this.disabled;
|
|
116
|
-
}
|
|
117
|
-
}, {
|
|
118
106
|
key: "componentWillUnmount",
|
|
119
107
|
value: function componentWillUnmount() {
|
|
120
108
|
if (options.useShadowObserver) {
|
|
@@ -165,7 +153,7 @@ export default function overflowShadow(Component, options) {
|
|
|
165
153
|
var _this$state = this.state,
|
|
166
154
|
showLeftShadow = _this$state.showLeftShadow,
|
|
167
155
|
showRightShadow = _this$state.showRightShadow;
|
|
168
|
-
var classNames =
|
|
156
|
+
var classNames = [!((_this$props = this.props) !== null && _this$props !== void 0 && _this$props.disableTableOverflowShadow) && showRightShadow && shadowClassNames.RIGHT_SHADOW, !((_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.disableTableOverflowShadow) && showLeftShadow && shadowClassNames.LEFT_SHADOW, options.useShadowObserver && shadowObserverClassNames.SHADOW_CONTAINER].filter(Boolean).join(' ');
|
|
169
157
|
|
|
170
158
|
/**
|
|
171
159
|
* The widths have already been calculated to determine
|
|
@@ -50,6 +50,7 @@ export type ExtensionModule<T extends Parameters = Parameters> = {
|
|
|
50
50
|
key: string;
|
|
51
51
|
keywords?: string[];
|
|
52
52
|
lozenge?: ReactNode;
|
|
53
|
+
/** Parameters of the node this module inserts. */
|
|
53
54
|
parameters?: T;
|
|
54
55
|
/** Module-specific preview, which takes precedence over the manifest preview. */
|
|
55
56
|
preview?: QuickInsertPreview;
|
|
@@ -2,6 +2,7 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
3
3
|
import type { QuickInsertPreview } from '../../quick-insert/preview';
|
|
4
4
|
import type { ExtensionApp, ExtensionKey, ExtensionModuleActionHandler, ExtensionType, Icon } from './extension-manifest';
|
|
5
|
+
import type { Parameters } from './extension-parameters';
|
|
5
6
|
export type MenuItem = {
|
|
6
7
|
app?: ExtensionApp;
|
|
7
8
|
categories: string[];
|
|
@@ -18,6 +19,8 @@ export type MenuItem = {
|
|
|
18
19
|
lozenge?: ReactNode;
|
|
19
20
|
moduleKey?: string;
|
|
20
21
|
node: ADFEntity | ExtensionModuleActionHandler;
|
|
22
|
+
/** Parameters of the node this item inserts, copied from the quick insert module. */
|
|
23
|
+
parameters?: Parameters;
|
|
21
24
|
preview?: QuickInsertPreview;
|
|
22
25
|
priority?: number;
|
|
23
26
|
summary?: string;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { QuickInsertMenuItemProps } from './QuickInsertMenuItem';
|
|
7
|
-
export declare const CompactQuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, onSelect, preview, previewIcon, previewImageUrls, shortcut, titleContent, shouldShowPreview, shouldClampPreview, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;
|
|
7
|
+
export declare const CompactQuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, lozenge, onSelect, preview, previewIcon, previewImageUrls, shortcut, titleContent, shouldShowPreview, shouldClampPreview, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { QuickInsertMenuItemProps } from './QuickInsertMenuItem';
|
|
7
|
-
export declare const ElementBrowserQuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, onSelect, shortcut, titleContent, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;
|
|
7
|
+
export declare const ElementBrowserQuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, lozenge, onSelect, shortcut, titleContent, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;
|
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
import React, { type ReactNode } from 'react';
|
|
7
7
|
import type { QuickInsertPreview } from './preview';
|
|
8
8
|
/** The selected item's description and attribution are announced through its aria-describedby. */
|
|
9
|
-
export declare const QuickInsertHoverPreview: ({ description, icon, id, preview, popupsMountPoint, referenceElement, shouldClampText, title, }: {
|
|
9
|
+
export declare const QuickInsertHoverPreview: ({ description, icon, id, preview, popupsMountPoint, referenceElement, shouldClampText, title, titleContent, }: {
|
|
10
10
|
description?: string;
|
|
11
11
|
icon?: ReactNode;
|
|
12
12
|
id: string;
|
|
13
|
-
preview: QuickInsertPreview;
|
|
14
13
|
popupsMountPoint?: HTMLElement;
|
|
14
|
+
preview: QuickInsertPreview;
|
|
15
15
|
referenceElement: HTMLElement;
|
|
16
16
|
shouldClampText?: boolean;
|
|
17
17
|
title: string;
|
|
18
|
+
/** Rich content rendered in place of the title. */
|
|
19
|
+
titleContent?: ReactNode;
|
|
18
20
|
}) => React.JSX.Element;
|
|
@@ -14,6 +14,8 @@ export type QuickInsertMenuItemProps = {
|
|
|
14
14
|
description?: string;
|
|
15
15
|
iconBefore?: React.ReactNode;
|
|
16
16
|
isDisabled?: boolean;
|
|
17
|
+
/** Shown after the title in the menu row only, not in the preview. */
|
|
18
|
+
lozenge?: React.ReactNode;
|
|
17
19
|
onSelect: (context: OnSelectContext) => Transaction | false | void;
|
|
18
20
|
/** Structured preview content for the selected item. */
|
|
19
21
|
preview?: QuickInsertPreview;
|
|
@@ -31,7 +33,7 @@ export type QuickInsertMenuItemProps = {
|
|
|
31
33
|
shouldShowPreview?: boolean;
|
|
32
34
|
shouldWrapIcon?: boolean;
|
|
33
35
|
title: string;
|
|
34
|
-
/** Rich
|
|
36
|
+
/** Rich content rendered in place of the title in the menu row and preview. `title` is still used for accessibility. */
|
|
35
37
|
titleContent?: React.ReactNode;
|
|
36
38
|
};
|
|
37
|
-
export declare const QuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, onSelect, preview, previewIcon, previewImageUrls, shortcut, titleContent, shouldShowPreview, shouldClampPreview, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;
|
|
39
|
+
export declare const QuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, lozenge, onSelect, preview, previewIcon, previewImageUrls, shortcut, titleContent, shouldShowPreview, shouldClampPreview, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import React from 'react';
|
|
6
|
+
declare const SKILL_TAG_COLORS: readonly ['LIME', 'RED', 'ORANGE', 'YELLOW', 'GREEN', 'TEAL', 'BLUE', 'PURPLE', 'MAGENTA', 'GRAY', 'DEFAULT'];
|
|
7
|
+
export type SkillTagColor = (typeof SKILL_TAG_COLORS)[number];
|
|
2
8
|
export type SkillTagProps = {
|
|
9
|
+
/** Skill colour; tints the slash. Unknown colours use the default colour. */
|
|
10
|
+
color?: string;
|
|
3
11
|
isDisabled?: boolean;
|
|
4
12
|
slug: string;
|
|
5
13
|
};
|
|
6
|
-
export declare const SkillTag: ({ slug, isDisabled }: SkillTagProps) => React.JSX.Element;
|
|
14
|
+
export declare const SkillTag: ({ color, slug, isDisabled }: SkillTagProps) => React.JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -3,5 +3,5 @@ type Messages<Keys extends string> = Record<Keys, MessageDescriptor & {
|
|
|
3
3
|
defaultMessage: string;
|
|
4
4
|
id: string;
|
|
5
5
|
}>;
|
|
6
|
-
export declare const messages: Messages<'admin' | 'AI' | 'all' | 'browse' | 'categoryBlockTemplates' | 'categoryCreate' | 'categoryDataAndCharts' | 'categoryEmbed' | 'categoryMedia' | 'categoryOther' | 'categoryRecommended' | 'categoryRovo' | 'categoryStructure' | 'categoryTextFormatting' | 'searchResults' | 'previewAttributionBy' | 'previewAttributionAtlassian' | 'previewAttributionAssets' | 'previewAttributionConfluence' | 'previewAttributionJira' | 'previewAttributionJiraServiceManagement' | 'previewAttributionMicrosoft' | 'close' | 'communication' | 'confluence-content' | 'development' | 'external-content' | 'featuredWhiteboardDescription' | 'formatting' | 'help' | 'insert' | 'media' | 'navigation' | 'reporting' | 'visuals'>;
|
|
6
|
+
export declare const messages: Messages<'admin' | 'AI' | 'all' | 'browse' | 'categoryBlockTemplates' | 'categoryCreate' | 'categoryDataAndCharts' | 'categoryEmbed' | 'categoryMedia' | 'categoryOther' | 'categoryRecommended' | 'categoryRovo' | 'categoryStructure' | 'categoryTextFormatting' | 'searchResults' | 'previewAttributionBy' | 'previewAttributionAtlassian' | 'previewAttributionAssets' | 'previewAttributionConfluence' | 'previewAttributionFeedback' | 'previewAttributionFocus' | 'previewAttributionJira' | 'previewAttributionJiraServiceManagement' | 'previewAttributionMicrosoft' | 'previewAttributionStudio' | 'previewAttributionTalent' | 'previewAttributionTrello' | 'close' | 'communication' | 'confluence-content' | 'development' | 'external-content' | 'featuredWhiteboardDescription' | 'formatting' | 'help' | 'insert' | 'media' | 'navigation' | 'reporting' | 'visuals'>;
|
|
7
7
|
export {};
|
|
@@ -14,11 +14,6 @@ export interface OverflowShadowState {
|
|
|
14
14
|
showRightShadow: boolean;
|
|
15
15
|
}
|
|
16
16
|
export interface OverflowShadowOptions {
|
|
17
|
-
/**
|
|
18
|
-
* Opts the wrapped component out of the JavaScript driven shadows entirely: no scroll listeners
|
|
19
|
-
* or intersection observers are registered
|
|
20
|
-
*/
|
|
21
|
-
isDisabled?: () => boolean;
|
|
22
17
|
overflowSelector: string;
|
|
23
18
|
useShadowObserver?: boolean;
|
|
24
19
|
}
|