@atlaskit/editor-common 82.3.0 → 82.5.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 +26 -0
- package/dist/cjs/analytics/types/element-events.js +5 -0
- package/dist/cjs/analytics/types/enums.js +8 -0
- package/dist/cjs/collab/index.js +1 -1
- package/dist/cjs/element-browser/ViewMore.js +1 -0
- package/dist/cjs/element-browser/components/CategoryList.js +2 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +19 -1
- package/dist/cjs/element-browser/components/ElementSearch.js +56 -42
- package/dist/cjs/element-browser/components/StatelessElementBrowser.js +18 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +6 -2
- package/dist/cjs/extensibility/Extension/Extension/styles.js +20 -0
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +3 -1
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +8 -0
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -1
- package/dist/cjs/extensibility/Extension/Lozenge/LozengeComponent.js +20 -15
- package/dist/cjs/extensibility/Extension/Lozenge/index.js +1 -0
- package/dist/cjs/extensibility/Extension/styles.js +13 -0
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +2 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +20 -4
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +12 -0
- package/dist/cjs/extensions/module-helpers.js +4 -0
- package/dist/cjs/keymaps/index.js +2 -1
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +2 -0
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +9 -0
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +7 -0
- package/dist/cjs/media-inline/inline-image-wrapper.js +9 -1
- package/dist/cjs/media-inline/styles.js +12 -1
- package/dist/cjs/media-inline/views/frame.js +7 -4
- package/dist/cjs/media-inline/views/icon-wrapper.js +1 -0
- package/dist/cjs/media-inline/views/wrapper.js +1 -0
- package/dist/cjs/media-single/CommentBadge.js +5 -1
- package/dist/cjs/messages/help-dialog.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/rank.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +1 -1
- package/dist/cjs/styles/shared/annotation.js +6 -0
- package/dist/cjs/styles/shared/background-color.js +4 -0
- package/dist/cjs/styles/shared/block-marks.js +1 -0
- package/dist/cjs/styles/shared/blockquote.js +8 -1
- package/dist/cjs/styles/shared/code-block.js +2 -0
- package/dist/cjs/styles/shared/code-mark.js +1 -0
- package/dist/cjs/styles/shared/column-layout.js +6 -1
- package/dist/cjs/styles/shared/date.js +2 -0
- package/dist/cjs/styles/shared/embedCard.js +8 -0
- package/dist/cjs/styles/shared/expand.js +1 -0
- package/dist/cjs/styles/shared/grid.js +7 -0
- package/dist/cjs/styles/shared/headings.js +6 -0
- package/dist/cjs/styles/shared/indentation.js +8 -0
- package/dist/cjs/styles/shared/link.js +4 -1
- package/dist/cjs/styles/shared/lists.js +1 -1
- package/dist/cjs/styles/shared/media-single.js +8 -1
- package/dist/cjs/styles/shared/paragraph.js +4 -1
- package/dist/cjs/styles/shared/plugins.js +8 -0
- package/dist/cjs/styles/shared/resizer.js +1 -1
- package/dist/cjs/styles/shared/rule.js +2 -1
- package/dist/cjs/styles/shared/shadow.js +4 -1
- package/dist/cjs/styles/shared/smartCard.js +1 -1
- package/dist/cjs/styles/shared/tableCell.js +1 -0
- package/dist/cjs/styles/shared/task-decision.js +2 -0
- package/dist/cjs/styles/shared/text-color.js +3 -0
- package/dist/cjs/styles/shared/unsupported-content.js +1 -1
- package/dist/cjs/styles/shared/whitespace.js +3 -1
- package/dist/cjs/table/SortingIcon.js +2 -2
- package/dist/cjs/ui/DropList/index.js +5 -1
- package/dist/cjs/ui/Expand/index.js +13 -0
- package/dist/cjs/ui/FloatingToolbar/Button.js +2 -0
- package/dist/cjs/ui/MediaSingle/index.js +3 -1
- package/dist/cjs/ui/MediaSingle/link.js +1 -0
- package/dist/cjs/ui/MediaSingle/styled.js +6 -3
- package/dist/cjs/ui/Messages/index.js +12 -7
- package/dist/cjs/ui/MultiBodiedExtension/index.js +24 -0
- package/dist/cjs/ui/PanelTextInput/index.js +1 -0
- package/dist/cjs/ui/PanelTextInput/styles.js +6 -0
- package/dist/cjs/ui/Popup/index.js +1 -0
- package/dist/cjs/ui/UnsupportedBlock/index.js +2 -0
- package/dist/cjs/ui/UnsupportedInline/index.js +2 -0
- package/dist/cjs/ui/clear-next-sibling-margin-top.js +6 -2
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +10 -3
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +3 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/index.js +1 -0
- package/dist/cjs/ui-color/ColorPalette/styles.js +1 -0
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +7 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/es2019/analytics/types/element-events.js +1 -0
- package/dist/es2019/analytics/types/enums.js +8 -0
- package/dist/es2019/collab/index.js +1 -1
- package/dist/es2019/element-browser/ViewMore.js +1 -0
- package/dist/es2019/element-browser/components/CategoryList.js +3 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +19 -1
- package/dist/es2019/element-browser/components/ElementSearch.js +56 -42
- package/dist/es2019/element-browser/components/StatelessElementBrowser.js +18 -0
- package/dist/es2019/extensibility/Extension/Extension/index.js +6 -2
- package/dist/es2019/extensibility/Extension/Extension/styles.js +20 -0
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +3 -1
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +9 -0
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -1
- package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +19 -14
- package/dist/es2019/extensibility/Extension/Lozenge/index.js +1 -0
- package/dist/es2019/extensibility/Extension/styles.js +14 -0
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +2 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +21 -5
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +12 -0
- package/dist/es2019/extensions/module-helpers.js +4 -0
- package/dist/es2019/keymaps/index.js +1 -0
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +2 -0
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +9 -0
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +8 -0
- package/dist/es2019/media-inline/inline-image-wrapper.js +9 -1
- package/dist/es2019/media-inline/styles.js +12 -1
- package/dist/es2019/media-inline/views/frame.js +3 -1
- package/dist/es2019/media-inline/views/icon-wrapper.js +1 -0
- package/dist/es2019/media-inline/views/wrapper.js +1 -0
- package/dist/es2019/media-single/CommentBadge.js +5 -1
- package/dist/es2019/messages/help-dialog.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/rank.js +1 -1
- package/dist/es2019/selection/gap-cursor/styles.js +1 -1
- package/dist/es2019/styles/shared/annotation.js +6 -0
- package/dist/es2019/styles/shared/background-color.js +5 -0
- package/dist/es2019/styles/shared/block-marks.js +2 -0
- package/dist/es2019/styles/shared/blockquote.js +8 -1
- package/dist/es2019/styles/shared/code-block.js +2 -0
- package/dist/es2019/styles/shared/code-mark.js +2 -0
- package/dist/es2019/styles/shared/column-layout.js +6 -0
- package/dist/es2019/styles/shared/date.js +3 -0
- package/dist/es2019/styles/shared/embedCard.js +8 -0
- package/dist/es2019/styles/shared/expand.js +1 -0
- package/dist/es2019/styles/shared/grid.js +7 -0
- package/dist/es2019/styles/shared/headings.js +12 -0
- package/dist/es2019/styles/shared/indentation.js +9 -0
- package/dist/es2019/styles/shared/link.js +3 -0
- package/dist/es2019/styles/shared/lists.js +1 -1
- package/dist/es2019/styles/shared/media-single.js +15 -0
- package/dist/es2019/styles/shared/panel.js +1 -0
- package/dist/es2019/styles/shared/paragraph.js +4 -1
- package/dist/es2019/styles/shared/plugins.js +8 -0
- package/dist/es2019/styles/shared/resizer.js +1 -1
- package/dist/es2019/styles/shared/rule.js +2 -1
- package/dist/es2019/styles/shared/shadow.js +9 -0
- package/dist/es2019/styles/shared/smartCard.js +1 -1
- package/dist/es2019/styles/shared/tableCell.js +1 -0
- package/dist/es2019/styles/shared/task-decision.js +2 -0
- package/dist/es2019/styles/shared/text-color.js +4 -0
- package/dist/es2019/styles/shared/unsupported-content.js +1 -1
- package/dist/es2019/styles/shared/whitespace.js +2 -0
- package/dist/es2019/table/SortingIcon.js +2 -2
- package/dist/es2019/ui/DropList/index.js +5 -1
- package/dist/es2019/ui/Expand/index.js +13 -0
- package/dist/es2019/ui/FloatingToolbar/Button.js +2 -0
- package/dist/es2019/ui/MediaSingle/index.js +3 -1
- package/dist/es2019/ui/MediaSingle/link.js +2 -0
- package/dist/es2019/ui/MediaSingle/styled.js +3 -1
- package/dist/es2019/ui/Messages/index.js +5 -1
- package/dist/es2019/ui/MultiBodiedExtension/index.js +24 -0
- package/dist/es2019/ui/PanelTextInput/index.js +1 -0
- package/dist/es2019/ui/PanelTextInput/styles.js +6 -0
- package/dist/es2019/ui/Popup/index.js +1 -0
- package/dist/es2019/ui/UnsupportedBlock/index.js +2 -0
- package/dist/es2019/ui/UnsupportedInline/index.js +2 -0
- package/dist/es2019/ui/clear-next-sibling-margin-top.js +7 -2
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +10 -3
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +3 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/index.js +1 -0
- package/dist/es2019/ui-color/ColorPalette/styles.js +1 -0
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +7 -0
- package/dist/es2019/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/esm/analytics/types/element-events.js +1 -0
- package/dist/esm/analytics/types/enums.js +8 -0
- package/dist/esm/collab/index.js +1 -1
- package/dist/esm/element-browser/ViewMore.js +1 -0
- package/dist/esm/element-browser/components/CategoryList.js +2 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +19 -1
- package/dist/esm/element-browser/components/ElementSearch.js +56 -42
- package/dist/esm/element-browser/components/StatelessElementBrowser.js +18 -0
- package/dist/esm/extensibility/Extension/Extension/index.js +6 -2
- package/dist/esm/extensibility/Extension/Extension/styles.js +20 -0
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +3 -1
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +9 -0
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -1
- package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +20 -15
- package/dist/esm/extensibility/Extension/Lozenge/index.js +1 -0
- package/dist/esm/extensibility/Extension/styles.js +14 -0
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +2 -0
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +20 -4
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +12 -0
- package/dist/esm/extensions/module-helpers.js +4 -0
- package/dist/esm/keymaps/index.js +1 -0
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
- package/dist/esm/link/LinkSearch/LinkSearchList.js +2 -0
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +9 -0
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +8 -0
- package/dist/esm/media-inline/inline-image-wrapper.js +9 -1
- package/dist/esm/media-inline/styles.js +12 -1
- package/dist/esm/media-inline/views/frame.js +7 -4
- package/dist/esm/media-inline/views/icon-wrapper.js +1 -0
- package/dist/esm/media-inline/views/wrapper.js +1 -0
- package/dist/esm/media-single/CommentBadge.js +5 -1
- package/dist/esm/messages/help-dialog.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/rank.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -1
- package/dist/esm/styles/shared/annotation.js +6 -0
- package/dist/esm/styles/shared/background-color.js +5 -0
- package/dist/esm/styles/shared/block-marks.js +2 -0
- package/dist/esm/styles/shared/blockquote.js +8 -1
- package/dist/esm/styles/shared/code-block.js +2 -0
- package/dist/esm/styles/shared/code-mark.js +1 -0
- package/dist/esm/styles/shared/column-layout.js +5 -0
- package/dist/esm/styles/shared/date.js +2 -0
- package/dist/esm/styles/shared/embedCard.js +8 -0
- package/dist/esm/styles/shared/expand.js +1 -0
- package/dist/esm/styles/shared/grid.js +7 -0
- package/dist/esm/styles/shared/headings.js +6 -0
- package/dist/esm/styles/shared/indentation.js +9 -0
- package/dist/esm/styles/shared/link.js +3 -0
- package/dist/esm/styles/shared/lists.js +1 -1
- package/dist/esm/styles/shared/media-single.js +7 -0
- package/dist/esm/styles/shared/paragraph.js +4 -1
- package/dist/esm/styles/shared/plugins.js +8 -0
- package/dist/esm/styles/shared/resizer.js +1 -1
- package/dist/esm/styles/shared/rule.js +2 -1
- package/dist/esm/styles/shared/shadow.js +3 -0
- package/dist/esm/styles/shared/smartCard.js +1 -1
- package/dist/esm/styles/shared/tableCell.js +1 -0
- package/dist/esm/styles/shared/task-decision.js +2 -0
- package/dist/esm/styles/shared/text-color.js +4 -0
- package/dist/esm/styles/shared/unsupported-content.js +1 -1
- package/dist/esm/styles/shared/whitespace.js +2 -0
- package/dist/esm/table/SortingIcon.js +2 -2
- package/dist/esm/ui/DropList/index.js +5 -1
- package/dist/esm/ui/Expand/index.js +13 -0
- package/dist/esm/ui/FloatingToolbar/Button.js +2 -0
- package/dist/esm/ui/MediaSingle/index.js +3 -1
- package/dist/esm/ui/MediaSingle/link.js +2 -0
- package/dist/esm/ui/MediaSingle/styled.js +6 -3
- package/dist/esm/ui/Messages/index.js +12 -7
- package/dist/esm/ui/MultiBodiedExtension/index.js +24 -0
- package/dist/esm/ui/PanelTextInput/index.js +1 -0
- package/dist/esm/ui/PanelTextInput/styles.js +6 -0
- package/dist/esm/ui/Popup/index.js +1 -0
- package/dist/esm/ui/UnsupportedBlock/index.js +2 -0
- package/dist/esm/ui/UnsupportedInline/index.js +2 -0
- package/dist/esm/ui/clear-next-sibling-margin-top.js +6 -2
- package/dist/esm/ui-color/ColorPalette/Color/index.js +10 -3
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +3 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
- package/dist/esm/ui-color/ColorPalette/index.js +1 -0
- package/dist/esm/ui-color/ColorPalette/styles.js +1 -0
- package/dist/esm/ui-menu/ColorPickerButton/index.js +7 -0
- package/dist/esm/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/types/analytics/types/element-events.d.ts +10 -0
- package/dist/types/analytics/types/enums.d.ts +9 -1
- package/dist/types/analytics/types/events.d.ts +2 -1
- package/dist/types/analytics/types/highlight-events.d.ts +4 -2
- package/dist/types/analytics/types/index.d.ts +1 -0
- package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +17 -2
- package/dist/types/keymaps/index.d.ts +1 -0
- package/dist/types/messages/help-dialog.d.ts +5 -0
- package/dist/types/ui/FloatingToolbar/Button.d.ts +2 -1
- package/dist/types/ui-color/ColorPalette/Color/index.d.ts +2 -8
- package/dist/types-ts4.5/analytics/types/element-events.d.ts +10 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +9 -1
- package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +4 -2
- package/dist/types-ts4.5/analytics/types/index.d.ts +1 -0
- package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +17 -2
- package/dist/types-ts4.5/keymaps/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/help-dialog.d.ts +5 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +2 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +2 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 82.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#108718](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108718)
|
|
8
|
+
[`1aad4f15416c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1aad4f15416c2) -
|
|
9
|
+
[EDF-737] Add content warning to the floating toolbar of the ai panels, extended extensions
|
|
10
|
+
floating toolbar API to allow custom JSX
|
|
11
|
+
- [#108805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108805)
|
|
12
|
+
[`5c0926002a5ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c0926002a5ac) -
|
|
13
|
+
Add new element drag and drop analytic events
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#110426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110426)
|
|
18
|
+
[`f423990451a12`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f423990451a12) -
|
|
19
|
+
[ED-23348] Fixed the feature flag set-up for the text highlight decorator
|
|
20
|
+
|
|
21
|
+
## 82.4.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- [#107302](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107302)
|
|
26
|
+
[`b1279657d678b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b1279657d678b) -
|
|
27
|
+
[ux] [ED-23162] Add keyboard shortcut to toggle highlight color palette
|
|
28
|
+
|
|
3
29
|
## 82.3.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -15,6 +15,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
15
15
|
ACTION["ACTIVATED"] = "activated";
|
|
16
16
|
ACTION["ADDED"] = "added";
|
|
17
17
|
ACTION["BROWSER_FREEZE"] = "browserFreeze";
|
|
18
|
+
ACTION["CANCELLED"] = "cancelled";
|
|
18
19
|
ACTION["CAUGHT_DOM_ERROR"] = "caughtDomError";
|
|
19
20
|
ACTION["CHANGED_BACKGROUND_COLOR"] = "changedBackgroundColor";
|
|
20
21
|
ACTION["CHANGED_ICON"] = "changedIcon";
|
|
@@ -40,6 +41,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
40
41
|
ACTION["DISMISSED"] = "dismissed";
|
|
41
42
|
ACTION["DISPATCHED_INVALID_TRANSACTION"] = "dispatchedInvalidTransaction";
|
|
42
43
|
ACTION["DISPATCHED_VALID_TRANSACTION"] = "dispatchedValidTransaction";
|
|
44
|
+
ACTION["DRAGGED"] = "dragged";
|
|
43
45
|
ACTION["EDITED"] = "edited";
|
|
44
46
|
ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
|
|
45
47
|
ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
|
|
@@ -154,6 +156,7 @@ var INPUT_METHOD = exports.INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
|
154
156
|
INPUT_METHOD["CONFIG_PANEL"] = "configPanel";
|
|
155
157
|
INPUT_METHOD["CONTEXT_MENU"] = "contextMenu";
|
|
156
158
|
INPUT_METHOD["DRAG_AND_DROP"] = "dragAndDrop";
|
|
159
|
+
INPUT_METHOD["DRAG"] = "drag";
|
|
157
160
|
INPUT_METHOD["EXTERNAL"] = "external";
|
|
158
161
|
INPUT_METHOD["EXTENSION_API"] = "extensionApi";
|
|
159
162
|
INPUT_METHOD["FLOATING_TB"] = "floatingToolbar";
|
|
@@ -231,6 +234,9 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
|
|
|
231
234
|
ACTION_SUBJECT["LOOM"] = "loom";
|
|
232
235
|
ACTION_SUBJECT["MULTI_BODIED_EXTENSION"] = "multiBodiedExtension";
|
|
233
236
|
ACTION_SUBJECT["BODIED_EXTENSION"] = "bodiedExtension";
|
|
237
|
+
ACTION_SUBJECT["DROP_TARGET"] = "dropTarget";
|
|
238
|
+
ACTION_SUBJECT["DRAG"] = "drag";
|
|
239
|
+
ACTION_SUBJECT["ELEMENT"] = "element";
|
|
234
240
|
return ACTION_SUBJECT;
|
|
235
241
|
}({});
|
|
236
242
|
var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
@@ -260,6 +266,8 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
260
266
|
ACTION_SUBJECT_ID["DECISION"] = "decision";
|
|
261
267
|
ACTION_SUBJECT_ID["DIVIDER"] = "divider";
|
|
262
268
|
ACTION_SUBJECT_ID["EDIT_LINK"] = "editLink";
|
|
269
|
+
ACTION_SUBJECT_ID["ELEMENT_DRAG_HANDLE"] = "elementDragHandle";
|
|
270
|
+
ACTION_SUBJECT_ID["ELEMENT_DROP_TARGET"] = "elementDropTarget";
|
|
263
271
|
ACTION_SUBJECT_ID["EMBEDS"] = "embeds";
|
|
264
272
|
ACTION_SUBJECT_ID["EMOJI"] = "emoji";
|
|
265
273
|
ACTION_SUBJECT_ID["EXPAND"] = "expand";
|
package/dist/cjs/collab/index.js
CHANGED
|
@@ -128,7 +128,7 @@ var TELEPOINTER_DIM_CLASS = exports.TELEPOINTER_DIM_CLASS = 'telepointer-dim';
|
|
|
128
128
|
|
|
129
129
|
// ED-22557: Safely convert to object styling
|
|
130
130
|
// Disable top: -14px since it is necessary to align to cursor
|
|
131
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/no-exported-css
|
|
131
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/no-exported-css, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
132
132
|
var telepointerStyle = exports.telepointerStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror .telepointer {\n\t\tposition: relative;\n\t\ttransition: opacity 200ms;\n\n\t\t&.telepointer-selection {\n\t\t\tline-height: 1.2;\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&.telepointer-selection-badge::after {\n\t\t\tcontent: attr(data-initial);\n\t\t\tposition: absolute;\n\t\t\tdisplay: block;\n\t\t\ttop: -14px;\n\t\t\tfont-size: ", ";\n\t\t\tpadding: ", ";\n\t\t\tcolor: ", ";\n\t\t\tleft: 0px;\n\t\t\tborder-radius: 2px 2px 2px 0;\n\t\t\tline-height: initial;\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), (0, _editorSharedStyles.relativeFontSizeToBase16)(9), "var(--ds-space-025, 2px)", "var(--ds-text-inverse, #FFFFFF)", TELEPOINTER_DIM_CLASS, _editorSharedStyles.avatarColors.map(function (color, index) {
|
|
133
133
|
return telepointerColorStyle(color, index);
|
|
134
134
|
}));
|
|
@@ -37,6 +37,7 @@ var ViewMore = exports.ViewMore = function ViewMore(_ref) {
|
|
|
37
37
|
"aria-describedby": item.title,
|
|
38
38
|
"data-testid": "view-more-elements-item"
|
|
39
39
|
// @ts-ignore Overriding Menu styles is not supported
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
40
41
|
,
|
|
41
42
|
css: (0, _react2.css)({
|
|
42
43
|
padding: "0px ".concat("var(--ds-space-150, 12px)")
|
|
@@ -191,9 +191,11 @@ function CategoryListItem(_ref2) {
|
|
|
191
191
|
}, category.title));
|
|
192
192
|
}
|
|
193
193
|
var buttonWrapper = (0, _react2.css)((0, _defineProperty2.default)({
|
|
194
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
194
195
|
height: "".concat(_constants.GRID_SIZE * 4, "px"),
|
|
195
196
|
margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-050, 4px)", " ", "var(--ds-space-050, 4px)", " 0")
|
|
196
197
|
}, "@media (min-width: ".concat(_constants.DEVICE_BREAKPOINT_NUMBERS.medium, "px)"), {
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
197
199
|
':not(:last-child)': {
|
|
198
200
|
marginBottom: 0
|
|
199
201
|
}
|
|
@@ -39,16 +39,20 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
39
39
|
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; }
|
|
40
40
|
var ICON_HEIGHT = exports.ICON_HEIGHT = 40;
|
|
41
41
|
var ICON_WIDTH = exports.ICON_WIDTH = 40;
|
|
42
|
+
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
42
44
|
var itemIcon = exports.itemIcon = (0, _react2.css)({
|
|
43
45
|
width: "".concat(ICON_WIDTH, "px"),
|
|
44
46
|
height: "".concat(ICON_HEIGHT, "px"),
|
|
45
47
|
overflow: 'hidden',
|
|
46
48
|
border: "1px solid ".concat("var(--ds-border, rgba(223, 225, 229, 0.5))"),
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
47
50
|
borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
|
|
48
51
|
boxSizing: 'border-box',
|
|
49
52
|
display: 'flex',
|
|
50
53
|
justifyContent: 'center',
|
|
51
54
|
alignItems: 'center',
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
52
56
|
div: {
|
|
53
57
|
width: "".concat(ICON_WIDTH, "px"),
|
|
54
58
|
height: "".concat(ICON_HEIGHT, "px")
|
|
@@ -181,8 +185,11 @@ function ElementList(_ref) {
|
|
|
181
185
|
columnIndex: columnIndex,
|
|
182
186
|
parent: parent
|
|
183
187
|
}, (0, _react2.jsx)("div", {
|
|
188
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
184
189
|
style: style,
|
|
185
|
-
key: key
|
|
190
|
+
key: key
|
|
191
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766 -- Ignored via go/DSP-18766
|
|
192
|
+
,
|
|
186
193
|
className: "element-item-wrapper",
|
|
187
194
|
css: elementItemWrapper,
|
|
188
195
|
onKeyDown: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-focus-order-for-element-browser-categories_ztiw1') ? function (e) {
|
|
@@ -385,21 +392,28 @@ var elementItemsWrapper = (0, _react2.css)({
|
|
|
385
392
|
justifyContent: 'flex-start',
|
|
386
393
|
overflow: 'hidden',
|
|
387
394
|
padding: "var(--ds-space-025, 2px)",
|
|
395
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
388
396
|
'.ReactVirtualized__Collection, .ReactVirtualized__Grid': {
|
|
397
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
389
398
|
borderRadius: '3px',
|
|
390
399
|
outline: 'none',
|
|
391
400
|
'&:focus': {
|
|
401
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
392
402
|
boxShadow: "0 0 0 ".concat(_constants2.ELEMENT_LIST_PADDING, "px ", "var(--ds-border-focused, ".concat(_colors.B100, ")"))
|
|
393
403
|
}
|
|
394
404
|
},
|
|
405
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
395
406
|
'.ReactVirtualized__Collection__innerScrollContainer, .ReactVirtualized__Grid__innerScrollContainer': {
|
|
407
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
396
408
|
"div[class='element-item-wrapper']:last-child": {
|
|
397
409
|
paddingBottom: "var(--ds-space-050, 4px)"
|
|
398
410
|
}
|
|
399
411
|
}
|
|
400
412
|
});
|
|
401
413
|
var elementItemWrapper = (0, _react2.css)({
|
|
414
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
402
415
|
div: {
|
|
416
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
403
417
|
button: {
|
|
404
418
|
minHeight: '75px',
|
|
405
419
|
alignItems: 'flex-start',
|
|
@@ -426,8 +440,11 @@ var multilineStyle = (0, _react2.css)({
|
|
|
426
440
|
WebkitLineClamp: 2,
|
|
427
441
|
WebkitBoxOrient: 'vertical'
|
|
428
442
|
});
|
|
443
|
+
|
|
444
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
429
445
|
var itemDescription = (0, _react2.css)(multilineStyle, {
|
|
430
446
|
overflow: 'hidden',
|
|
447
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
431
448
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(11.67),
|
|
432
449
|
color: "var(--ds-text-subtle, ".concat(_colors.N200, ")"),
|
|
433
450
|
marginTop: "var(--ds-space-025, 2px)"
|
|
@@ -452,6 +469,7 @@ var itemAfter = (0, _react2.css)({
|
|
|
452
469
|
marginBottom: "var(--ds-space-negative-025, -2px)"
|
|
453
470
|
});
|
|
454
471
|
var itemIconStyle = (0, _react2.css)({
|
|
472
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
455
473
|
img: {
|
|
456
474
|
height: '40px',
|
|
457
475
|
width: '40px',
|
|
@@ -83,67 +83,79 @@ function ElementSearch(_ref) {
|
|
|
83
83
|
var assistiveMessage = getFormattedMessage(items === null || items === void 0 ? void 0 : items.length);
|
|
84
84
|
var isInputNotFocusedAndItemSelected = !inputFocused && selectedItemIndex !== undefined;
|
|
85
85
|
var ariaActiveDescendant = isInputNotFocusedAndItemSelected ? "searched-item-".concat(selectedItemIndex) : undefined;
|
|
86
|
-
return (
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
86
|
+
return (
|
|
87
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
88
|
+
(0, _react2.jsx)("div", {
|
|
89
|
+
css: [wrapper, mode === _types.Modes.inline && wrapperInline]
|
|
90
|
+
}, (0, _react2.jsx)(_textfield.default, {
|
|
91
|
+
ref: ref,
|
|
92
|
+
onChange: onChange,
|
|
93
|
+
onClick: onClick,
|
|
94
|
+
onFocus: onFocus,
|
|
95
|
+
onKeyDown: onKeyDown,
|
|
96
|
+
onBlur: onBlur,
|
|
97
|
+
elemBeforeInput: (0, _react2.jsx)("div", {
|
|
98
|
+
css: elementBeforeInput,
|
|
99
|
+
"data-testid": "element_search__element_before_input",
|
|
100
|
+
"aria-hidden": "true"
|
|
101
|
+
}, (0, _react2.jsx)(_search.default, {
|
|
102
|
+
size: "medium",
|
|
103
|
+
label: "Advanced search",
|
|
104
|
+
primaryColor: "inherit"
|
|
105
|
+
})),
|
|
106
|
+
elemAfterInput: (0, _react2.jsx)("div", {
|
|
107
|
+
css: elementAfterInput,
|
|
108
|
+
"data-testid": "element_search__element_after_input"
|
|
109
|
+
}, (0, _react2.jsx)("div", {
|
|
110
|
+
css: styledShortcut
|
|
111
|
+
}, "\u23CE ", formatMessage(_messages.default.elementAfterInputMessage))),
|
|
112
|
+
placeholder: formatMessage(_messages.default.placeHolderMessage),
|
|
113
|
+
"aria-label": "search",
|
|
114
|
+
"aria-labelledby": "search-assistive"
|
|
115
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
116
|
+
,
|
|
117
|
+
className: "js-search-input",
|
|
118
|
+
role: "combobox",
|
|
119
|
+
"aria-activedescendant": ariaActiveDescendant,
|
|
120
|
+
value: searchTerm
|
|
121
|
+
}), (0, _react2.jsx)("span", {
|
|
122
|
+
id: "search-assistive",
|
|
123
|
+
ref: assistiveTextRef,
|
|
124
|
+
"aria-live": "polite",
|
|
125
|
+
"aria-atomic": "true"
|
|
126
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
127
|
+
,
|
|
128
|
+
className: "assistive"
|
|
129
|
+
}, assistiveMessage))
|
|
130
|
+
);
|
|
128
131
|
}
|
|
132
|
+
|
|
133
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
129
134
|
var styledShortcut = (0, _react2.css)(_shortcut.shortcutStyle, {
|
|
130
135
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
|
|
131
136
|
width: "var(--ds-space-600, 48px)"
|
|
132
137
|
});
|
|
133
138
|
var wrapper = (0, _react2.css)({
|
|
139
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
134
140
|
'& > [data-ds--text-field--container]': {
|
|
141
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
135
142
|
height: "".concat(_constants.GRID_SIZE * 6, "px"),
|
|
143
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
136
144
|
borderRadius: "".concat(_constants.GRID_SIZE, "px"),
|
|
137
145
|
flex: '1 1 100%',
|
|
138
146
|
overflow: 'visible',
|
|
147
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
139
148
|
'& > [data-ds--text-field--input]': {
|
|
149
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
140
150
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(14),
|
|
141
151
|
padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-075, 6px)", " ", "var(--ds-space-100, 8px)", " 0")
|
|
142
152
|
}
|
|
143
153
|
}
|
|
144
154
|
});
|
|
145
155
|
var wrapperInline = (0, _react2.css)({
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
146
157
|
'& > [data-ds--text-field--container]': {
|
|
158
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
147
159
|
height: "".concat(_constants.GRID_SIZE * 5, "px"),
|
|
148
160
|
flex: 'none',
|
|
149
161
|
overflow: 'revert'
|
|
@@ -152,6 +164,7 @@ var wrapperInline = (0, _react2.css)({
|
|
|
152
164
|
var elementBeforeInput = (0, _react2.css)({
|
|
153
165
|
margin: "1px ".concat("var(--ds-space-075, 6px)", " 0 ", "var(--ds-space-100, 8px)"),
|
|
154
166
|
color: "var(--ds-icon, ".concat(_colors.N200, ")"),
|
|
167
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
155
168
|
'span, svg': {
|
|
156
169
|
height: '20px',
|
|
157
170
|
width: '20px'
|
|
@@ -159,6 +172,7 @@ var elementBeforeInput = (0, _react2.css)({
|
|
|
159
172
|
});
|
|
160
173
|
var elementAfterInput = (0, _react2.css)({
|
|
161
174
|
margin: "0 ".concat("var(--ds-space-100, 8px)"),
|
|
175
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
162
176
|
height: _constants.SEARCH_ITEM_HEIGHT_WIDTH,
|
|
163
177
|
textAlign: 'center'
|
|
164
178
|
});
|
|
@@ -35,9 +35,13 @@ var baseBrowserContainerStyles = (0, _react2.css)({
|
|
|
35
35
|
height: '100%',
|
|
36
36
|
minHeight: '-webkit-fill-available'
|
|
37
37
|
});
|
|
38
|
+
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
38
40
|
var mobileElementBrowserContainer = (0, _react2.css)(baseBrowserContainerStyles, {
|
|
39
41
|
flexDirection: 'column'
|
|
40
42
|
});
|
|
43
|
+
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
41
45
|
var elementBrowserContainer = (0, _react2.css)(baseBrowserContainerStyles, {
|
|
42
46
|
flexDirection: 'row'
|
|
43
47
|
});
|
|
@@ -47,20 +51,28 @@ var baseSidebarStyles = (0, _react2.css)({
|
|
|
47
51
|
overflowX: 'auto',
|
|
48
52
|
overflowY: 'hidden'
|
|
49
53
|
});
|
|
54
|
+
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
50
56
|
var mobileSideBar = (0, _react2.css)(baseSidebarStyles, {
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
51
58
|
flex: "0 0 ".concat(_constants.INLINE_SIDEBAR_HEIGHT),
|
|
52
59
|
padding: "var(--ds-space-150, 12px)".concat(" ", "var(--ds-space-150, 12px)", " 0 ", "var(--ds-space-150, 12px)")
|
|
53
60
|
});
|
|
54
61
|
var mobileSideBarShowCategories = (0, _react2.css)({
|
|
55
62
|
flex: '0 0 auto'
|
|
56
63
|
});
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
57
65
|
var sideBar = (0, _react2.css)(baseSidebarStyles, {
|
|
58
66
|
flex: "0 0 'auto'"
|
|
59
67
|
});
|
|
68
|
+
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
60
70
|
var sideBarShowCategories = (0, _react2.css)(baseSidebarStyles, {
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
61
72
|
flex: "0 0 ".concat(_constants.SIDEBAR_WIDTH)
|
|
62
73
|
});
|
|
63
74
|
var sidebarHeading = (0, _react2.css)({
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
64
76
|
flex: "0 0 ".concat(_constants.SIDEBAR_HEADING_WRAPPER_HEIGHT),
|
|
65
77
|
display: 'inline-flex',
|
|
66
78
|
alignItems: 'center',
|
|
@@ -74,6 +86,8 @@ var mobileMainContent = (0, _react2.css)({
|
|
|
74
86
|
overflowY: 'auto',
|
|
75
87
|
height: '100%'
|
|
76
88
|
});
|
|
89
|
+
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
77
91
|
var mainContent = (0, _react2.css)(mobileMainContent, {
|
|
78
92
|
marginLeft: "var(--ds-space-200, 16px)",
|
|
79
93
|
height: 'auto'
|
|
@@ -85,14 +99,18 @@ var mobileCategoryListWrapper = (0, _react2.css)({
|
|
|
85
99
|
display: 'flex',
|
|
86
100
|
overflowX: 'auto',
|
|
87
101
|
padding: "var(--ds-space-200, 8px)".concat(" 0 ", "var(--ds-space-200, 16px)", " 0"),
|
|
102
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
88
103
|
minHeight: "".concat(_constants.GRID_SIZE * 4, "px"),
|
|
89
104
|
overflow: '-moz-scrollbars-none',
|
|
105
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
90
106
|
'&::-webkit-scrollbar': {
|
|
91
107
|
display: 'none'
|
|
92
108
|
},
|
|
93
109
|
scrollbarWidth: 'none',
|
|
94
110
|
MsOverflowStyle: 'none'
|
|
95
111
|
});
|
|
112
|
+
|
|
113
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
96
114
|
var categoryListWrapper = (0, _react2.css)(mobileCategoryListWrapper, {
|
|
97
115
|
padding: 0,
|
|
98
116
|
marginTop: "var(--ds-space-200, 24px)",
|
|
@@ -117,7 +117,9 @@ function ExtensionWithPluginState(props) {
|
|
|
117
117
|
"data-layout": node.attrs.layout
|
|
118
118
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
119
119
|
,
|
|
120
|
-
className: classNames
|
|
120
|
+
className: classNames
|
|
121
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
122
|
+
,
|
|
121
123
|
css: _styles2.wrapperStyle
|
|
122
124
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
123
125
|
,
|
|
@@ -135,6 +137,7 @@ function ExtensionWithPluginState(props) {
|
|
|
135
137
|
className: 'extension-overlay',
|
|
136
138
|
css: _styles.overlay
|
|
137
139
|
}), (0, _react2.jsx)("div", {
|
|
140
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
138
141
|
css: _styles2.header,
|
|
139
142
|
contentEditable: false
|
|
140
143
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -145,11 +148,12 @@ function ExtensionWithPluginState(props) {
|
|
|
145
148
|
node: node,
|
|
146
149
|
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
147
150
|
}), children), hasBody &&
|
|
148
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
151
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
149
152
|
(0, _react2.jsx)("div", {
|
|
150
153
|
css: newContentStyles,
|
|
151
154
|
className: newContentClassNames
|
|
152
155
|
}, (0, _react2.jsx)("div", {
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
153
157
|
css: _styles2.content,
|
|
154
158
|
ref: handleContentDOMRef
|
|
155
159
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -8,36 +8,49 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _colors = require("@atlaskit/theme/colors");
|
|
9
9
|
var _styles = require("../styles");
|
|
10
10
|
var widerLayoutClassName = exports.widerLayoutClassName = 'wider-layout';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
11
13
|
var wrapperStyle = exports.wrapperStyle = (0, _react.css)(_styles.wrapperDefault, {
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
12
15
|
'&.without-frame': {
|
|
13
16
|
background: 'transparent'
|
|
14
17
|
},
|
|
15
18
|
cursor: 'pointer',
|
|
16
19
|
width: '100%',
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
17
21
|
'.extension-overflow-wrapper:not(.with-body)': {
|
|
18
22
|
overflowX: 'auto'
|
|
19
23
|
},
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
20
25
|
'&.with-bodied-border': {
|
|
21
26
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border, ".concat(_colors.N30, ")"))
|
|
22
27
|
},
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
23
29
|
'&.with-hover-border': {
|
|
24
30
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, ".concat(_colors.N500, ")"))
|
|
25
31
|
},
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
26
33
|
'&.with-margin-styles': {
|
|
27
34
|
margin: "0 ".concat("var(--ds-space-negative-150, -12px)"),
|
|
28
35
|
padding: "0 ".concat("var(--ds-space-150, 12px)")
|
|
29
36
|
}
|
|
30
37
|
});
|
|
38
|
+
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
31
40
|
var header = exports.header = (0, _react.css)({
|
|
32
41
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-050, 4px)", " 0px"),
|
|
33
42
|
verticalAlign: 'middle',
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
34
44
|
'&.with-children:not(.without-frame)': {
|
|
35
45
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)")
|
|
36
46
|
},
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
37
48
|
'&.without-frame': {
|
|
38
49
|
padding: 0
|
|
39
50
|
}
|
|
40
51
|
});
|
|
52
|
+
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
41
54
|
var content = exports.content = (0, _react.css)({
|
|
42
55
|
padding: "var(--ds-space-100, 8px)",
|
|
43
56
|
background: "var(--ds-surface, white)",
|
|
@@ -45,19 +58,26 @@ var content = exports.content = (0, _react.css)({
|
|
|
45
58
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
46
59
|
cursor: 'initial',
|
|
47
60
|
width: '100%',
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
48
62
|
'&.remove-border': {
|
|
49
63
|
border: 'none'
|
|
50
64
|
}
|
|
51
65
|
});
|
|
66
|
+
|
|
67
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
52
68
|
var contentWrapper = exports.contentWrapper = (0, _react.css)({
|
|
53
69
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
54
70
|
display: 'flex',
|
|
55
71
|
justifyContent: 'center',
|
|
72
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
56
73
|
'&.with-padding-styles': {
|
|
57
74
|
padding: "var(--ds-space-100, 8px)"
|
|
58
75
|
}
|
|
59
76
|
});
|
|
77
|
+
|
|
78
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
60
79
|
var overflowWrapperStyles = exports.overflowWrapperStyles = (0, _react.css)({
|
|
80
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
61
81
|
'&.with-margin-styles': {
|
|
62
82
|
margin: "0 ".concat("var(--ds-space-negative-150, -12px)")
|
|
63
83
|
}
|
|
@@ -51,7 +51,9 @@ var InlineExtension = function InlineExtension(props) {
|
|
|
51
51
|
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates,
|
|
52
52
|
setIsNodeHovered: setIsNodeHovered
|
|
53
53
|
}), (0, _react2.jsx)("div", {
|
|
54
|
-
"data-testid": "inline-extension-wrapper"
|
|
54
|
+
"data-testid": "inline-extension-wrapper"
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
56
|
+
,
|
|
55
57
|
css: [_styles2.wrapperStyle, extendedInlineExtension && _styles2.inlineWrapperStyles]
|
|
56
58
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
57
59
|
,
|
|
@@ -7,10 +7,12 @@ exports.wrapperStyle = exports.inlineWrapperStyles = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _colors = require("@atlaskit/theme/colors");
|
|
9
9
|
var _styles = require("../styles");
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
10
11
|
var wrapperStyle = exports.wrapperStyle = (0, _react.css)(_styles.wrapperDefault, {
|
|
11
12
|
cursor: 'pointer',
|
|
12
13
|
display: 'inline-flex',
|
|
13
14
|
margin: "1px 1px ".concat("var(--ds-space-050, 4px)"),
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
16
|
'> img': {
|
|
15
17
|
borderRadius: "var(--ds-border-radius, 3px)"
|
|
16
18
|
},
|
|
@@ -20,19 +22,25 @@ var wrapperStyle = exports.wrapperStyle = (0, _react.css)(_styles.wrapperDefault
|
|
|
20
22
|
width: '1px',
|
|
21
23
|
content: "''"
|
|
22
24
|
},
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
23
26
|
'&.with-children': {
|
|
24
27
|
padding: 0,
|
|
25
28
|
background: "var(--ds-background-neutral-subtle, white)"
|
|
26
29
|
},
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
31
|
'&.with-hover-border': {
|
|
28
32
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, ".concat(_colors.N500, ")"))
|
|
29
33
|
}
|
|
30
34
|
});
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
31
37
|
var inlineWrapperStyles = exports.inlineWrapperStyles = (0, _react.css)({
|
|
32
38
|
maxWidth: '100%',
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
33
40
|
'tr &': {
|
|
34
41
|
maxWidth: 'inherit'
|
|
35
42
|
},
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
44
|
'.rich-media-item': {
|
|
37
45
|
maxWidth: '100%'
|
|
38
46
|
}
|
|
@@ -20,11 +20,13 @@ var labelStyles = (0, _react2.css)({
|
|
|
20
20
|
// Unfortunately, these need to be these exact numbers - otherwise there will be a noticeable gap/overlap
|
|
21
21
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
22
22
|
top: '-19px',
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
23
24
|
'&.inline': {
|
|
24
25
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
25
26
|
top: '-18px',
|
|
26
27
|
marginLeft: "var(--ds-space-150, 12px)"
|
|
27
28
|
},
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
28
30
|
'&.show-label': {
|
|
29
31
|
cursor: 'pointer',
|
|
30
32
|
background: "var(--ds-background-accent-gray-subtle-pressed, ".concat(_colors.N40, ")"),
|
|
@@ -33,14 +35,17 @@ var labelStyles = (0, _react2.css)({
|
|
|
33
35
|
},
|
|
34
36
|
borderRadius: "var(--ds-border-radius, 3px)".concat(" ", "var(--ds-border-radius, 3px)", " 0 0"),
|
|
35
37
|
lineHeight: 1,
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
39
|
'&.nested': {
|
|
37
40
|
// Need to add indent if the node is nested since we removed previous indentation styles to make it fit properly
|
|
38
41
|
// in the nested component
|
|
39
42
|
marginLeft: "var(--ds-space-150, 12px)"
|
|
40
43
|
},
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
41
45
|
'&.bodied-background': {
|
|
42
46
|
background: "var(--ds-surface, ".concat(_colors.N0, ")")
|
|
43
47
|
},
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
44
49
|
'&.bodied-border': {
|
|
45
50
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border, ".concat(_colors.N30, ")"))
|
|
46
51
|
}
|
|
@@ -54,6 +59,7 @@ var containerStyles = (0, _react2.css)({
|
|
|
54
59
|
textAlign: 'left',
|
|
55
60
|
zIndex: 1,
|
|
56
61
|
position: 'relative',
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
57
63
|
'&.bodied': {
|
|
58
64
|
marginTop: "var(--ds-space-300, 24px)"
|
|
59
65
|
}
|
|
@@ -89,7 +95,9 @@ var ExtensionLabel = exports.ExtensionLabel = function ExtensionLabel(_ref) {
|
|
|
89
95
|
}, [setIsNodeHovered]);
|
|
90
96
|
return (0, _react2.jsx)("div", {
|
|
91
97
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
92
|
-
css: containerStyles
|
|
98
|
+
css: containerStyles
|
|
99
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
100
|
+
,
|
|
93
101
|
className: containerClassNames
|
|
94
102
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
95
103
|
,
|