@atlaskit/editor-common 78.11.3 → 78.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +8 -0
- package/CHANGELOG.md +15 -0
- package/afm-cc/tsconfig.json +3 -0
- package/dist/cjs/__tests_external__/page-objects/Editor.js +1 -1
- package/dist/cjs/__tests_external__/page-objects/EditorSmartLink.js +1 -1
- package/dist/cjs/__tests_external__/page-objects/Renderer.js +1 -1
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/analytics/types/table-events.js +1 -0
- package/dist/cjs/annotation/index.js +1 -1
- package/dist/cjs/card/MediaAndEmbedsToolbar/index.js +2 -2
- package/dist/cjs/card/index.js +2 -2
- package/dist/cjs/clipboard/index.js +2 -2
- package/dist/cjs/collab/index.js +6 -3
- package/dist/cjs/element-browser/ElementBrowser.js +3 -3
- package/dist/cjs/element-browser/components/CategoryList.js +2 -2
- package/dist/cjs/element-browser/components/ElementBrowserLoader.js +2 -2
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +92 -15
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +6 -5
- package/dist/cjs/element-browser/components/ElementSearch.js +5 -6
- package/dist/cjs/element-browser/components/StatelessElementBrowser.js +2 -2
- package/dist/cjs/element-browser/hooks/use-container-width.js +2 -2
- package/dist/cjs/extensibility/Extension/Extension/index.js +7 -3
- package/dist/cjs/extensibility/Extension/Extension/styles.js +36 -7
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +3 -10
- package/dist/cjs/extensibility/Extension/Lozenge.js +1 -1
- package/dist/cjs/extensibility/Extension/styles.js +1 -1
- package/dist/cjs/extensibility/Extension.js +3 -3
- package/dist/cjs/extensibility/ExtensionComponent.js +3 -4
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +2 -19
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +11 -5
- package/dist/cjs/extensibility/extensionNodeView.js +2 -3
- package/dist/cjs/extensibility/index.js +2 -2
- package/dist/cjs/icons/index.js +2 -2
- package/dist/cjs/keymaps/index.js +2 -2
- package/dist/cjs/link/LinkPicker/EditorLinkPicker/index.js +2 -2
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +4 -4
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +15 -7
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +4 -4
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +17 -6
- package/dist/cjs/link/LinkSearch/index.js +1 -2
- package/dist/cjs/link/LinkSearch/withActivityProvider.js +1 -1
- package/dist/cjs/link/index.js +2 -2
- package/dist/cjs/monitoring/error.js +3 -3
- package/dist/cjs/preset/editor-commands.js +1 -1
- package/dist/cjs/provider-factory/with-providers.js +1 -1
- package/dist/cjs/quick-insert/assets/index.js +2 -2
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +1 -0
- package/dist/cjs/resizer/Resizer.js +8 -11
- package/dist/cjs/safe-plugin/index.js +1 -1
- package/dist/cjs/selection/gap-cursor/selection.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +1 -1
- package/dist/cjs/selection-based-node-view/SelectionBasedNodeView.js +1 -1
- package/dist/cjs/styles/shared/embedCard.js +19 -5
- package/dist/cjs/styles/shared/grid.js +28 -4
- package/dist/cjs/styles/shared/indentation.js +1 -0
- package/dist/cjs/styles/shared/panel.js +1 -1
- package/dist/cjs/styles/shared/resizer.js +3 -3
- package/dist/cjs/styles/shared/shadow.js +32 -3
- package/dist/cjs/ui/Announcer/announcer.js +4 -2
- package/dist/cjs/ui/BaseTheme/index.js +2 -2
- package/dist/cjs/ui/Caption/index.js +1 -1
- package/dist/cjs/ui/ContextPanel/context.js +1 -1
- package/dist/cjs/ui/DropList/index.js +2 -2
- package/dist/cjs/ui/Emoji/index.js +3 -3
- package/dist/cjs/ui/ErrorBoundary/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +3 -3
- package/dist/cjs/ui/IntlErrorBoundary/index.js +1 -1
- package/dist/cjs/ui/IntlProviderIfMissingWrapper/index.js +2 -2
- package/dist/cjs/ui/Layer/index.js +3 -4
- package/dist/cjs/ui/Mention/index.js +3 -3
- package/dist/cjs/ui/Mention/mention-with-profilecard.js +2 -2
- package/dist/cjs/ui/Mention/mention-with-providers.js +3 -3
- package/dist/cjs/ui/MultiBodiedExtension/index.js +14 -4
- package/dist/cjs/ui/OverflowShadow/index.js +1 -1
- package/dist/cjs/ui/PanelTextInput/index.js +1 -1
- package/dist/cjs/ui/Popup/index.js +1 -1
- package/dist/cjs/ui/PortalProvider/index.js +1 -1
- package/dist/cjs/ui/ResizerLegacy/index.js +1 -1
- package/dist/cjs/ui/UnsupportedBlock/index.js +3 -3
- package/dist/cjs/ui/UnsupportedInline/index.js +18 -5
- package/dist/cjs/ui/WidthProvider/index.js +2 -2
- package/dist/cjs/ui/WithCreateAnalyticsEvent/index.js +1 -1
- package/dist/cjs/ui/index.js +2 -2
- package/dist/cjs/ui/with-outer-listeners.js +3 -3
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +3 -3
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +21 -5
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +2 -2
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +2 -2
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +35 -7
- package/dist/cjs/ui-menu/Dropdown/index.js +3 -3
- package/dist/cjs/ui-menu/DropdownContainer/index.js +2 -2
- package/dist/cjs/ui-menu/DropdownMenu/index.js +3 -4
- package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +2 -2
- package/dist/cjs/ui-menu/ToolbarButton/index.js +2 -2
- package/dist/cjs/ui-menu/index.js +2 -2
- package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +3 -3
- package/dist/cjs/utils/imageLoader.js +3 -3
- package/dist/cjs/with-plugin-state/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/analytics/types/table-events.js +1 -0
- package/dist/es2019/card/MediaAndEmbedsToolbar/index.js +1 -0
- package/dist/es2019/collab/index.js +6 -1
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +83 -94
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +6 -5
- package/dist/es2019/element-browser/components/ElementSearch.js +3 -4
- package/dist/es2019/extensibility/Extension/Extension/index.js +5 -1
- package/dist/es2019/extensibility/Extension/Extension/styles.js +34 -36
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +3 -7
- package/dist/es2019/extensibility/Extension/styles.js +1 -1
- package/dist/es2019/extensibility/ExtensionComponent.js +0 -1
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +2 -20
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +10 -4
- package/dist/es2019/extensibility/extensionNodeView.js +1 -2
- package/dist/es2019/extensions/types/field-definitions.js +1 -0
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +14 -14
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -1
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +17 -18
- package/dist/es2019/link/LinkSearch/index.js +0 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +1 -0
- package/dist/es2019/resizer/Resizer.js +2 -3
- package/dist/es2019/selection/gap-cursor/styles.js +2 -2
- package/dist/es2019/styles/shared/embedCard.js +17 -21
- package/dist/es2019/styles/shared/grid.js +27 -31
- package/dist/es2019/styles/shared/indentation.js +2 -0
- package/dist/es2019/styles/shared/panel.js +1 -1
- package/dist/es2019/styles/shared/resizer.js +6 -3
- package/dist/es2019/styles/shared/shadow.js +36 -65
- package/dist/es2019/ui/Announcer/announcer.js +2 -0
- package/dist/es2019/ui/ContextPanel/context.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +3 -4
- package/dist/es2019/ui/Layer/index.js +0 -1
- package/dist/es2019/ui/MultiBodiedExtension/index.js +13 -4
- package/dist/es2019/ui/UnsupportedBlock/index.js +2 -2
- package/dist/es2019/ui/UnsupportedInline/index.js +15 -15
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +20 -24
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +34 -35
- package/dist/es2019/ui-menu/DropdownMenu/index.js +0 -1
- package/dist/es2019/utils/dom.js +1 -0
- package/dist/es2019/with-plugin-state/index.js +1 -0
- package/dist/esm/__tests_external__/page-objects/Editor.js +1 -1
- package/dist/esm/__tests_external__/page-objects/EditorSmartLink.js +1 -1
- package/dist/esm/__tests_external__/page-objects/Renderer.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/analytics/types/table-events.js +1 -0
- package/dist/esm/annotation/index.js +1 -1
- package/dist/esm/card/MediaAndEmbedsToolbar/index.js +1 -0
- package/dist/esm/collab/index.js +6 -1
- package/dist/esm/element-browser/ElementBrowser.js +1 -1
- package/dist/esm/element-browser/components/ElementList/ElementList.js +90 -13
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +6 -5
- package/dist/esm/element-browser/components/ElementSearch.js +3 -4
- package/dist/esm/extensibility/Extension/Extension/index.js +5 -1
- package/dist/esm/extensibility/Extension/Extension/styles.js +37 -7
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +3 -7
- package/dist/esm/extensibility/Extension/Lozenge.js +1 -1
- package/dist/esm/extensibility/Extension/styles.js +1 -1
- package/dist/esm/extensibility/Extension.js +1 -1
- package/dist/esm/extensibility/ExtensionComponent.js +1 -2
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +2 -18
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +10 -4
- package/dist/esm/extensibility/extensionNodeView.js +2 -3
- package/dist/esm/extensions/types/field-definitions.js +1 -0
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -2
- package/dist/esm/link/LinkSearch/LinkSearchList.js +15 -6
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +3 -2
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +17 -5
- package/dist/esm/link/LinkSearch/index.js +1 -2
- package/dist/esm/link/LinkSearch/withActivityProvider.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/preset/editor-commands.js +1 -1
- package/dist/esm/provider-factory/with-providers.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +1 -0
- package/dist/esm/resizer/Resizer.js +2 -5
- package/dist/esm/safe-plugin/index.js +1 -1
- package/dist/esm/selection/gap-cursor/selection.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -1
- package/dist/esm/selection-based-node-view/SelectionBasedNodeView.js +1 -1
- package/dist/esm/styles/shared/embedCard.js +19 -4
- package/dist/esm/styles/shared/grid.js +28 -3
- package/dist/esm/styles/shared/indentation.js +2 -0
- package/dist/esm/styles/shared/panel.js +1 -1
- package/dist/esm/styles/shared/resizer.js +2 -2
- package/dist/esm/styles/shared/shadow.js +32 -3
- package/dist/esm/ui/Announcer/announcer.js +2 -0
- package/dist/esm/ui/Caption/index.js +1 -1
- package/dist/esm/ui/ContextPanel/context.js +2 -1
- package/dist/esm/ui/DropList/index.js +2 -2
- package/dist/esm/ui/Emoji/index.js +1 -1
- package/dist/esm/ui/ErrorBoundary/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +2 -2
- package/dist/esm/ui/IntlErrorBoundary/index.js +1 -1
- package/dist/esm/ui/Layer/index.js +1 -2
- package/dist/esm/ui/Mention/index.js +1 -1
- package/dist/esm/ui/Mention/mention-with-providers.js +1 -1
- package/dist/esm/ui/MultiBodiedExtension/index.js +13 -4
- package/dist/esm/ui/OverflowShadow/index.js +1 -1
- package/dist/esm/ui/PanelTextInput/index.js +1 -1
- package/dist/esm/ui/Popup/index.js +1 -1
- package/dist/esm/ui/PortalProvider/index.js +1 -1
- package/dist/esm/ui/ResizerLegacy/index.js +1 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
- package/dist/esm/ui/UnsupportedInline/index.js +15 -3
- package/dist/esm/ui/WithCreateAnalyticsEvent/index.js +1 -1
- package/dist/esm/ui/with-outer-listeners.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +21 -5
- package/dist/esm/ui-menu/ColorPickerButton/index.js +34 -7
- package/dist/esm/ui-menu/Dropdown/index.js +1 -1
- package/dist/esm/ui-menu/DropdownMenu/index.js +1 -2
- package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +1 -1
- package/dist/esm/utils/dom.js +1 -0
- package/dist/esm/utils/imageLoader.js +1 -1
- package/dist/esm/with-plugin-state/index.js +1 -1
- package/dist/types/analytics/types/enums.d.ts +2 -1
- package/dist/types/analytics/types/table-events.d.ts +10 -1
- package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +1 -5
- package/dist/types/styles/shared/resizer.d.ts +1 -0
- package/dist/types/ui/MultiBodiedExtension/index.d.ts +1 -0
- package/dist/types/ui/UnsupportedInline/index.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +10 -1
- package/dist/types-ts4.5/extensibility/ExtensionNodeWrapper.d.ts +1 -5
- package/dist/types-ts4.5/styles/shared/resizer.d.ts +1 -0
- package/dist/types-ts4.5/ui/MultiBodiedExtension/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +3 -3
- package/package.json +2 -1
|
@@ -43,7 +43,7 @@ export const placeholderFallback = css({
|
|
|
43
43
|
export const placeholderFallbackParams = css({
|
|
44
44
|
display: 'inline-block',
|
|
45
45
|
maxWidth: '200px',
|
|
46
|
-
marginLeft:
|
|
46
|
+
marginLeft: "var(--ds-space-050, 4px)",
|
|
47
47
|
color: `var(--ds-text-subtlest, ${N70})`,
|
|
48
48
|
textOverflow: 'ellipsis',
|
|
49
49
|
whiteSpace: 'nowrap',
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import { css, jsx } from '@emotion/react';
|
|
4
|
-
import classnames from 'classnames';
|
|
5
2
|
import { ZERO_WIDTH_SPACE } from '../utils';
|
|
6
|
-
const styles = css({
|
|
7
|
-
'&.inline-extension': {
|
|
8
|
-
display: 'inline-block'
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
3
|
/**
|
|
12
4
|
* If inlineExtension, add zero width space to the end of the nodes and wrap with span;
|
|
13
|
-
* Also if showMacroInteractionDesignUpdates is true, then add the inline-block style to account for the lozenge.
|
|
14
5
|
* else wrap with a div (for multi bodied extensions)
|
|
15
6
|
*
|
|
16
7
|
* @param param0
|
|
@@ -18,14 +9,5 @@ const styles = css({
|
|
|
18
9
|
*/
|
|
19
10
|
export const ExtensionNodeWrapper = ({
|
|
20
11
|
children,
|
|
21
|
-
nodeType
|
|
22
|
-
|
|
23
|
-
}) => {
|
|
24
|
-
const wrapperClassNames = classnames({
|
|
25
|
-
'inline-extension': nodeType === 'inlineExtension' && showMacroInteractionDesignUpdates
|
|
26
|
-
});
|
|
27
|
-
return jsx("span", {
|
|
28
|
-
className: wrapperClassNames,
|
|
29
|
-
css: styles
|
|
30
|
-
}, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
|
|
31
|
-
};
|
|
12
|
+
nodeType
|
|
13
|
+
}) => /*#__PURE__*/React.createElement("span", null, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
|
|
@@ -7,7 +7,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import EditorFileIcon from '@atlaskit/icon/glyph/editor/file';
|
|
9
9
|
import { useSharedPluginState } from '../../hooks';
|
|
10
|
-
import { sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
|
|
10
|
+
import { removeMargins, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
|
|
11
11
|
import { calculateBreakoutStyles, getExtensionLozengeData } from '../../utils';
|
|
12
12
|
import { WithPluginState } from '../../with-plugin-state';
|
|
13
13
|
import ExtensionLozenge from '../Extension/Lozenge';
|
|
@@ -87,7 +87,7 @@ const MultiBodiedExtensionWithWidth = ({
|
|
|
87
87
|
return handleContentDOMRef(node);
|
|
88
88
|
}, [handleContentDOMRef]);
|
|
89
89
|
const containerCssExtended = css(sharedMultiBodiedExtensionStyles.mbeExtensionContainer, {
|
|
90
|
-
[`.multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(${activeChildIndex + 1})`]: sharedMultiBodiedExtensionStyles.extensionFrameContent
|
|
90
|
+
[`.multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(${activeChildIndex + 1})`]: css(sharedMultiBodiedExtensionStyles.extensionFrameContent, showMacroInteractionDesignUpdates && removeMargins)
|
|
91
91
|
});
|
|
92
92
|
const shouldBreakout =
|
|
93
93
|
// Extension should breakout when the layout is set to 'full-width' or 'wide'.
|
|
@@ -108,6 +108,12 @@ const MultiBodiedExtensionWithWidth = ({
|
|
|
108
108
|
const wrapperClassNames = classnames('multiBodiedExtension--wrapper', 'extension-container', 'block', {
|
|
109
109
|
'remove-margin-top': showMacroInteractionDesignUpdates
|
|
110
110
|
});
|
|
111
|
+
const containerClassNames = classnames('multiBodiedExtension--container', {
|
|
112
|
+
'remove-padding': showMacroInteractionDesignUpdates
|
|
113
|
+
});
|
|
114
|
+
const navigationClassNames = classnames('multiBodiedExtension--navigation', {
|
|
115
|
+
'remove-margins': showMacroInteractionDesignUpdates
|
|
116
|
+
});
|
|
111
117
|
return jsx(Fragment, null, showMacroInteractionDesignUpdates && jsx(ExtensionLozenge, {
|
|
112
118
|
isNodeSelected: isNodeSelected,
|
|
113
119
|
node: node,
|
|
@@ -119,12 +125,12 @@ const MultiBodiedExtensionWithWidth = ({
|
|
|
119
125
|
"data-testid": "multiBodiedExtension--wrapper",
|
|
120
126
|
style: mbeWrapperStyles
|
|
121
127
|
}, getWrapperTitleContent(imageData, title, showMacroInteractionDesignUpdates), jsx("div", {
|
|
122
|
-
className:
|
|
128
|
+
className: containerClassNames,
|
|
123
129
|
css: containerCssExtended,
|
|
124
130
|
"data-testid": "multiBodiedExtension--container",
|
|
125
131
|
"data-active-child-index": activeChildIndex
|
|
126
132
|
}, jsx("nav", {
|
|
127
|
-
className:
|
|
133
|
+
className: navigationClassNames,
|
|
128
134
|
css: sharedMultiBodiedExtensionStyles.mbeNavigation,
|
|
129
135
|
"data-testid": "multiBodiedExtension-navigation"
|
|
130
136
|
}, extensionHandlerResult), jsx("article", {
|
|
@@ -28,8 +28,7 @@ export class ExtensionNode extends ReactNodeView {
|
|
|
28
28
|
render(props, forwardRef) {
|
|
29
29
|
var _props$extensionNodeV;
|
|
30
30
|
return /*#__PURE__*/React.createElement(ExtensionNodeWrapper, {
|
|
31
|
-
nodeType: this.node.type.name
|
|
32
|
-
showMacroInteractionDesignUpdates: props.showMacroInteractionDesignUpdates
|
|
31
|
+
nodeType: this.node.type.name
|
|
33
32
|
}, /*#__PURE__*/React.createElement(Extension, {
|
|
34
33
|
editorView: this.view,
|
|
35
34
|
node: this.node,
|
|
@@ -4,20 +4,20 @@ import { css, jsx } from '@emotion/react';
|
|
|
4
4
|
import Spinner from '@atlaskit/spinner';
|
|
5
5
|
import { N30 } from '@atlaskit/theme/colors';
|
|
6
6
|
import LinkSearchListItem from './LinkSearchListItem';
|
|
7
|
-
const listContainer = css
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const spinnerContainer = css
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export const linkSearchList = css
|
|
18
|
-
padding: 0
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
const listContainer = css({
|
|
8
|
+
paddingTop: 0,
|
|
9
|
+
marginTop: "var(--ds-space-150, 12px)",
|
|
10
|
+
borderTop: `1px solid ${`var(--ds-border, ${N30})`}`
|
|
11
|
+
});
|
|
12
|
+
const spinnerContainer = css({
|
|
13
|
+
textAlign: 'center',
|
|
14
|
+
minHeight: '80px',
|
|
15
|
+
marginTop: "var(--ds-space-400, 32px)"
|
|
16
|
+
});
|
|
17
|
+
export const linkSearchList = css({
|
|
18
|
+
padding: 0,
|
|
19
|
+
listStyle: 'none'
|
|
20
|
+
});
|
|
21
21
|
export default class LinkSearchList extends PureComponent {
|
|
22
22
|
render() {
|
|
23
23
|
const {
|
|
@@ -4,6 +4,7 @@ import React, { Fragment } from 'react';
|
|
|
4
4
|
import { css, jsx } from '@emotion/react';
|
|
5
5
|
// AFP-2532 TODO: Fix automatic suppressions below
|
|
6
6
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
7
|
+
|
|
7
8
|
import { injectIntl } from 'react-intl-next';
|
|
8
9
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
9
10
|
import { N20, N300, N800 } from '@atlaskit/theme/colors';
|
|
@@ -37,7 +38,7 @@ export const containerName = css({
|
|
|
37
38
|
});
|
|
38
39
|
const iconStyle = css({
|
|
39
40
|
minWidth: '16px',
|
|
40
|
-
marginTop:
|
|
41
|
+
marginTop: "var(--ds-space-050, 4px)",
|
|
41
42
|
marginRight: "var(--ds-space-150, 12px)",
|
|
42
43
|
img: {
|
|
43
44
|
maxWidth: '16px'
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { css } from '@emotion/react';
|
|
2
2
|
import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } from '../../ui';
|
|
3
|
-
export const inputWrapper = css
|
|
4
|
-
display: flex
|
|
5
|
-
|
|
6
|
-
padding:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export const container = css
|
|
10
|
-
display: flex
|
|
11
|
-
|
|
12
|
-
overflow: auto
|
|
13
|
-
padding: 0
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
`;
|
|
3
|
+
export const inputWrapper = css({
|
|
4
|
+
display: 'flex',
|
|
5
|
+
lineHeight: 0,
|
|
6
|
+
padding: `${"var(--ds-space-075, 6px)"} 0`,
|
|
7
|
+
alignItems: 'center'
|
|
8
|
+
});
|
|
9
|
+
export const container = css({
|
|
10
|
+
display: 'flex',
|
|
11
|
+
flexDirection: 'column',
|
|
12
|
+
overflow: 'auto',
|
|
13
|
+
padding: 0,
|
|
14
|
+
width: `${RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX}px`,
|
|
15
|
+
lineHeight: 'initial'
|
|
16
|
+
});
|
|
17
|
+
export const containerWithProvider = css({
|
|
18
|
+
width: `${RECENT_SEARCH_WIDTH_IN_PX}px`
|
|
19
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "78.11.
|
|
3
|
+
const packageVersion = "78.11.5";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -199,6 +199,7 @@ function getPortalChildren({
|
|
|
199
199
|
// nodeViews: {
|
|
200
200
|
// [nodeViewName: string]: NodeViewProducer
|
|
201
201
|
// }
|
|
202
|
+
|
|
202
203
|
// This return of this function is intended to be the value of a key
|
|
203
204
|
// in a ProseMirror nodeViews object.
|
|
204
205
|
export function getInlineNodeViewProducer({
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, u
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Resizable } from 're-resizable';
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
|
-
import { handleWrapperClass, resizerDangerClassName, resizerHandleClassName, resizerHandleThumbClassName, resizerHandleTrackClassName, resizerHandleZIndex, resizerHoverZoneClassName, resizerItemClassName } from '../styles/shared/resizer';
|
|
6
|
+
import { handleWrapperClass, resizerDangerClassName, resizerExtendedZone, resizerHandleClassName, resizerHandleThumbClassName, resizerHandleTrackClassName, resizerHandleZIndex, resizerHoverZoneClassName, resizerItemClassName } from '../styles/shared/resizer';
|
|
7
7
|
const SUPPORTED_HANDLES = ['left', 'right'];
|
|
8
8
|
const ResizerNext = (props, ref) => {
|
|
9
9
|
const [isResizing, setIsResizing] = useState(false);
|
|
@@ -96,7 +96,7 @@ const ResizerNext = (props, ref) => {
|
|
|
96
96
|
[resizerDangerClassName]: appearance === 'danger'
|
|
97
97
|
});
|
|
98
98
|
const resizerZoneClassName = classnames(resizerHoverZoneClassName, {
|
|
99
|
-
|
|
99
|
+
[resizerExtendedZone]: needExtendedResizeZone
|
|
100
100
|
});
|
|
101
101
|
const handleComponent = useMemo(() => {
|
|
102
102
|
return SUPPORTED_HANDLES.reduce((result, position) => {
|
|
@@ -108,7 +108,6 @@ const ResizerNext = (props, ref) => {
|
|
|
108
108
|
type: "button",
|
|
109
109
|
tabIndex: -1 //We want to control focus on this button ourselves
|
|
110
110
|
});
|
|
111
|
-
|
|
112
111
|
if ((!handleHighlight || handleHighlight === 'none') && !handleTooltipContent) {
|
|
113
112
|
return {
|
|
114
113
|
...result,
|
|
@@ -42,10 +42,10 @@ export const gapCursorStyles = css`
|
|
|
42
42
|
height: 100%;
|
|
43
43
|
}
|
|
44
44
|
&.-left span::after {
|
|
45
|
-
left: -
|
|
45
|
+
left: ${"var(--ds-space-negative-050, -4px)"};
|
|
46
46
|
}
|
|
47
47
|
&.-right span::after {
|
|
48
|
-
right: -
|
|
48
|
+
right: ${"var(--ds-space-negative-050, -4px)"};
|
|
49
49
|
}
|
|
50
50
|
& span[layout='full-width'],
|
|
51
51
|
& span[layout='wide'],
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
import { css } from '@emotion/react';
|
|
2
|
-
export const embedCardStyles = css
|
|
3
|
-
.ProseMirror {
|
|
4
|
-
.embedCardView-content-wrap[layout^='wrap-'] {
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
.embedCardView-content-wrap[layout='wrap-right']
|
|
17
|
-
+ .embedCardView-content-wrap[layout='wrap-left'] {
|
|
18
|
-
clear: both;
|
|
2
|
+
export const embedCardStyles = css({
|
|
3
|
+
'.ProseMirror': {
|
|
4
|
+
".embedCardView-content-wrap[layout^='wrap-']": {
|
|
5
|
+
maxWidth: '100%'
|
|
6
|
+
},
|
|
7
|
+
".embedCardView-content-wrap[layout='wrap-left']": {
|
|
8
|
+
float: 'left'
|
|
9
|
+
},
|
|
10
|
+
".embedCardView-content-wrap[layout='wrap-right']": {
|
|
11
|
+
float: 'right'
|
|
12
|
+
},
|
|
13
|
+
".embedCardView-content-wrap[layout='wrap-right'] + .embedCardView-content-wrap[layout='wrap-left']": {
|
|
14
|
+
clear: 'both'
|
|
19
15
|
}
|
|
20
16
|
}
|
|
21
|
-
|
|
22
|
-
export const embedSpacingStyles = css
|
|
23
|
-
margin: 0
|
|
24
|
-
|
|
17
|
+
});
|
|
18
|
+
export const embedSpacingStyles = css({
|
|
19
|
+
margin: `0 ${"var(--ds-space-150, 12px)"}`
|
|
20
|
+
});
|
|
@@ -2,35 +2,31 @@ import { css } from '@emotion/react';
|
|
|
2
2
|
import { akEditorGridLineZIndex } from '@atlaskit/editor-shared-styles';
|
|
3
3
|
import { B200, N30A } from '@atlaskit/theme/colors';
|
|
4
4
|
export const GRID_GUTTER = 12;
|
|
5
|
-
export const gridStyles = css
|
|
6
|
-
.gridParent {
|
|
7
|
-
width: calc(100% + ${GRID_GUTTER * 2}px)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
transform: scale(1)
|
|
11
|
-
|
|
5
|
+
export const gridStyles = css({
|
|
6
|
+
'.gridParent': {
|
|
7
|
+
width: `calc(100% + ${GRID_GUTTER * 2}px)`,
|
|
8
|
+
marginLeft: "var(--ds-space-negative-150, -12px)",
|
|
9
|
+
marginRight: "var(--ds-space-negative-150, -12px)",
|
|
10
|
+
transform: 'scale(1)',
|
|
11
|
+
zIndex: akEditorGridLineZIndex
|
|
12
|
+
},
|
|
13
|
+
'.gridContainer': {
|
|
14
|
+
position: 'fixed',
|
|
15
|
+
height: '100vh',
|
|
16
|
+
width: '100%',
|
|
17
|
+
pointerEvents: 'none'
|
|
18
|
+
},
|
|
19
|
+
'.gridLine': {
|
|
20
|
+
borderLeft: `1px solid ${`var(--ds-border, ${N30A})`}`,
|
|
21
|
+
display: 'inline-block',
|
|
22
|
+
boxSizing: 'border-box',
|
|
23
|
+
height: '100%',
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
25
|
+
marginLeft: '-1px',
|
|
26
|
+
transition: 'border-color 0.15s linear',
|
|
27
|
+
zIndex: 0
|
|
28
|
+
},
|
|
29
|
+
'.highlight': {
|
|
30
|
+
borderLeft: `1px solid ${`var(--ds-border-focused, ${B200})`}`
|
|
12
31
|
}
|
|
13
|
-
|
|
14
|
-
.gridContainer {
|
|
15
|
-
position: fixed;
|
|
16
|
-
height: 100vh;
|
|
17
|
-
width: 100%;
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4352
|
|
22
|
-
.gridLine {
|
|
23
|
-
border-left: 1px solid ${`var(--ds-border, ${N30A})`};
|
|
24
|
-
display: inline-block;
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
height: 100%;
|
|
27
|
-
margin-left: -1px;
|
|
28
|
-
|
|
29
|
-
transition: border-color 0.15s linear;
|
|
30
|
-
z-index: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.highlight {
|
|
34
|
-
border-left: 1px solid ${`var(--ds-border-focused, ${B200})`};
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
32
|
+
});
|
|
@@ -200,7 +200,7 @@ export const panelSharedStylesWithoutPrefix = () => css`
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.ak-editor-panel__content {
|
|
203
|
-
margin:
|
|
203
|
+
margin: ${"var(--ds-space-025, 2px)"} 0 ${"var(--ds-space-025, 2px)"};
|
|
204
204
|
flex: 1 0 0;
|
|
205
205
|
/*
|
|
206
206
|
https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox
|
|
@@ -5,9 +5,9 @@ import { B200, B50, N60 } from '@atlaskit/theme/colors';
|
|
|
5
5
|
Styles in this file are based on
|
|
6
6
|
packages/editor/editor-core/src/plugins/media/styles.ts
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
8
|
export const resizerItemClassName = 'resizer-item';
|
|
10
9
|
export const resizerHoverZoneClassName = 'resizer-hover-zone';
|
|
10
|
+
export const resizerExtendedZone = 'resizer-is-extended';
|
|
11
11
|
export const resizerHandleClassName = 'resizer-handle';
|
|
12
12
|
export const resizerHandleTrackClassName = `${resizerHandleClassName}-track`;
|
|
13
13
|
export const resizerHandleThumbClassName = `${resizerHandleClassName}-thumb`;
|
|
@@ -191,14 +191,17 @@ export const resizerStyles = css`
|
|
|
191
191
|
display: inline-block;
|
|
192
192
|
width: 100%;
|
|
193
193
|
|
|
194
|
-
|
|
194
|
+
&.${resizerExtendedZone} {
|
|
195
195
|
padding: 0 ${"var(--ds-space-150, 12px)"};
|
|
196
196
|
left: ${"var(--ds-space-negative-150, -12px)"};
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// This below style is here to make sure the image width is correct when nested in a table
|
|
201
|
-
table
|
|
201
|
+
table
|
|
202
|
+
.${resizerHoverZoneClassName},
|
|
203
|
+
table
|
|
204
|
+
.${resizerHoverZoneClassName}.${resizerExtendedZone} {
|
|
202
205
|
padding: unset;
|
|
203
206
|
left: unset;
|
|
204
207
|
}
|
|
@@ -22,70 +22,41 @@ const shadowWidth = 8;
|
|
|
22
22
|
* background-attachment: local, local, scroll, scroll;
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
const shadowSharedStyle = css
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
const shadowSharedStyle = css({
|
|
26
|
+
[`& .${shadowClassNames.RIGHT_SHADOW}::before, .${shadowClassNames.RIGHT_SHADOW}::after, .${shadowClassNames.LEFT_SHADOW}::before, .${shadowClassNames.LEFT_SHADOW}::after`]: {
|
|
27
|
+
display: 'none',
|
|
28
|
+
position: 'absolute',
|
|
29
|
+
pointerEvents: 'none',
|
|
30
|
+
zIndex: akEditorShadowZIndex,
|
|
31
|
+
width: `${shadowWidth}px`,
|
|
32
|
+
content: "''",
|
|
33
|
+
height: 'calc(100%)'
|
|
34
|
+
},
|
|
35
|
+
[`& .${shadowClassNames.RIGHT_SHADOW}, .${shadowClassNames.LEFT_SHADOW}`]: {
|
|
36
|
+
position: 'relative'
|
|
37
|
+
},
|
|
38
|
+
[`& .${shadowClassNames.LEFT_SHADOW}::before`]: {
|
|
39
|
+
background: `linear-gradient( to left, transparent 0, ${`var(--ds-shadow-overflow-spread, ${N40A})`} ${getBooleanFF('platform.editor.table.increase-shadow-visibility_lh89r') ? 140 : 100}% ), linear-gradient( to right, ${"var(--ds-shadow-overflow-perimeter, transparent)"} 0px, transparent 1px )`,
|
|
40
|
+
top: '0px',
|
|
41
|
+
left: 0,
|
|
42
|
+
display: 'block'
|
|
43
|
+
},
|
|
44
|
+
[`& .${shadowClassNames.RIGHT_SHADOW}::after`]: {
|
|
45
|
+
background: `linear-gradient( to right, transparent 0, ${`var(--ds-shadow-overflow-spread, ${N40A})`} ${getBooleanFF('platform.editor.table.increase-shadow-visibility_lh89r') ? 140 : 100}% ), linear-gradient( to left, ${"var(--ds-shadow-overflow-perimeter, transparent)"} 0px, transparent 1px )`,
|
|
46
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
47
|
+
left: `calc(100% - ${shadowWidth}px)`,
|
|
48
|
+
top: '0px',
|
|
49
|
+
display: 'block'
|
|
50
|
+
},
|
|
51
|
+
[`& .${shadowObserverClassNames.SENTINEL_LEFT}`]: {
|
|
52
|
+
height: '100%',
|
|
53
|
+
width: '0px',
|
|
54
|
+
minWidth: '0px'
|
|
55
|
+
},
|
|
56
|
+
[`& .${shadowObserverClassNames.SENTINEL_RIGHT}`]: {
|
|
57
|
+
height: '100%',
|
|
58
|
+
width: '0px',
|
|
59
|
+
minWidth: '0px'
|
|
39
60
|
}
|
|
40
|
-
|
|
41
|
-
& .${shadowClassNames.RIGHT_SHADOW}, .${shadowClassNames.LEFT_SHADOW} {
|
|
42
|
-
position: relative;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
& .${shadowClassNames.LEFT_SHADOW}::before {
|
|
46
|
-
background: linear-gradient(
|
|
47
|
-
to left,
|
|
48
|
-
transparent 0,
|
|
49
|
-
${`var(--ds-shadow-overflow-spread, ${N40A})`}
|
|
50
|
-
${getBooleanFF('platform.editor.table.increase-shadow-visibility_lh89r') ? 140 : 100}%
|
|
51
|
-
),
|
|
52
|
-
linear-gradient(
|
|
53
|
-
to right,
|
|
54
|
-
${"var(--ds-shadow-overflow-perimeter, transparent)"} 0px,
|
|
55
|
-
transparent 1px
|
|
56
|
-
);
|
|
57
|
-
top: 0px;
|
|
58
|
-
left: 0;
|
|
59
|
-
display: block;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
& .${shadowClassNames.RIGHT_SHADOW}::after {
|
|
63
|
-
background: linear-gradient(
|
|
64
|
-
to right,
|
|
65
|
-
transparent 0,
|
|
66
|
-
${`var(--ds-shadow-overflow-spread, ${N40A})`}
|
|
67
|
-
${getBooleanFF('platform.editor.table.increase-shadow-visibility_lh89r') ? 140 : 100}%
|
|
68
|
-
),
|
|
69
|
-
linear-gradient(
|
|
70
|
-
to left,
|
|
71
|
-
${"var(--ds-shadow-overflow-perimeter, transparent)"} 0px,
|
|
72
|
-
transparent 1px
|
|
73
|
-
);
|
|
74
|
-
left: calc(100% - ${shadowWidth}px);
|
|
75
|
-
top: 0px;
|
|
76
|
-
display: block;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
& .${shadowObserverClassNames.SENTINEL_LEFT} {
|
|
80
|
-
height: 100%;
|
|
81
|
-
width: 0px;
|
|
82
|
-
min-width: 0px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
& .${shadowObserverClassNames.SENTINEL_RIGHT} {
|
|
86
|
-
height: 100%;
|
|
87
|
-
width: 0px;
|
|
88
|
-
min-width: 0px;
|
|
89
|
-
}
|
|
90
|
-
`;
|
|
61
|
+
});
|
|
91
62
|
export { shadowSharedStyle };
|
|
@@ -9,8 +9,10 @@ import React, { forwardRef, memo, useEffect, useState } from 'react';
|
|
|
9
9
|
|
|
10
10
|
// Note: Text won't be announced if the text message doesn't change after the render.
|
|
11
11
|
// For using a forced announcement in this case, set the 'key' attribute - key={Date.now()}
|
|
12
|
+
|
|
12
13
|
// Note: Flag 'contentRendered' resolves bug with duplicates messages (NVDA + Firefox)
|
|
13
14
|
// https://github.com/nvaccess/nvda/labels/bug%2Fdouble-speaking
|
|
15
|
+
|
|
14
16
|
let timer;
|
|
15
17
|
const Announcer = /*#__PURE__*/forwardRef(({
|
|
16
18
|
ariaAtomic = 'true',
|
|
@@ -15,6 +15,7 @@ import React from 'react';
|
|
|
15
15
|
// positionedOverEditor is used to determine whether the context panel is positioned over the Editor so we are
|
|
16
16
|
// able to position and add margins to handle certain elements like inline comment dialogues overlapping the context
|
|
17
17
|
// panel
|
|
18
|
+
|
|
18
19
|
export const ContextPanel = /*#__PURE__*/React.createContext({
|
|
19
20
|
width: 0,
|
|
20
21
|
positionedOverEditor: false,
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "78.11.
|
|
10
|
+
const packageVersion = "78.11.5";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -7,7 +7,7 @@ import { defineMessages } from 'react-intl-next';
|
|
|
7
7
|
import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
8
8
|
import { B300, N200, N200A, N300A, N30A, N40A, N50A, N90 } from '@atlaskit/theme/colors';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
10
|
-
import { fontSize
|
|
10
|
+
import { fontSize } from '@atlaskit/theme/constants';
|
|
11
11
|
export const messages = defineMessages({
|
|
12
12
|
collapseNode: {
|
|
13
13
|
id: 'fabric.editor.collapseNode',
|
|
@@ -121,9 +121,8 @@ const containerStyles = styleProps => {
|
|
|
121
121
|
const contentStyles = styleProps => () => css`
|
|
122
122
|
padding-top: ${styleProps.expanded ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"};
|
|
123
123
|
padding-right: ${"var(--ds-space-100, 8px)"};
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
padding-left: ${gridSize() * 4 - gridSize() / 2}px;
|
|
124
|
+
padding-left: ${"var(--ds-space-300, 24px)"};
|
|
125
|
+
margin-left: ${"var(--ds-space-050, 4px)"};
|
|
127
126
|
display: flow-root;
|
|
128
127
|
|
|
129
128
|
// The follow rules inside @supports block are added as a part of ED-8893
|