@atlaskit/editor-common 83.5.1 → 83.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/cjs/collab/index.js +1 -1
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/cjs/extensibility/Extension/Extension/styles.js +5 -5
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +2 -2
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -6
- package/dist/cjs/extensibility/Extension/styles.js +0 -1
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +4 -4
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +3 -3
- package/dist/cjs/media-inline/styles.js +5 -5
- package/dist/cjs/media-inline/views/wrapper.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +1 -1
- package/dist/cjs/styles/shared/annotation.js +5 -0
- package/dist/cjs/styles/shared/background-color.js +1 -1
- package/dist/cjs/styles/shared/block-marks.js +1 -1
- package/dist/cjs/styles/shared/blockquote.js +1 -1
- package/dist/cjs/styles/shared/code-block.js +1 -1
- package/dist/cjs/styles/shared/column-layout.js +1 -1
- package/dist/cjs/styles/shared/date.js +1 -1
- package/dist/cjs/styles/shared/embedCard.js +2 -2
- package/dist/cjs/styles/shared/expand.js +1 -1
- package/dist/cjs/styles/shared/grid.js +1 -1
- package/dist/cjs/styles/shared/indentation.js +1 -1
- package/dist/cjs/styles/shared/link.js +1 -1
- package/dist/cjs/styles/shared/lists.js +1 -1
- package/dist/cjs/styles/shared/media-single.js +1 -1
- package/dist/cjs/styles/shared/paragraph.js +1 -1
- package/dist/cjs/styles/shared/plugins.js +4 -4
- package/dist/cjs/styles/shared/resizer.js +1 -1
- package/dist/cjs/styles/shared/shadow.js +1 -1
- package/dist/cjs/styles/shared/smartCard.js +1 -1
- package/dist/cjs/styles/shared/table.js +4 -1
- package/dist/cjs/styles/shared/task-decision.js +1 -1
- package/dist/cjs/styles/shared/text-color.js +1 -1
- package/dist/cjs/styles/shared/unsupported-content.js +1 -1
- package/dist/cjs/styles/shared/whitespace.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +1 -1
- package/dist/cjs/ui/MediaSingle/link.js +1 -1
- package/dist/cjs/ui/MultiBodiedExtension/index.js +2 -2
- package/dist/cjs/ui/PanelTextInput/styles.js +1 -1
- package/dist/cjs/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +2 -2
- package/dist/cjs/ui-color/ColorPalette/styles.js +1 -1
- package/dist/es2019/collab/index.js +1 -1
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/styles.js +5 -5
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +2 -2
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +10 -7
- package/dist/es2019/extensibility/Extension/styles.js +0 -1
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +4 -4
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +3 -3
- package/dist/es2019/media-inline/styles.js +5 -5
- package/dist/es2019/media-inline/views/wrapper.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/selection/gap-cursor/styles.js +1 -1
- package/dist/es2019/styles/shared/annotation.js +5 -0
- package/dist/es2019/styles/shared/background-color.js +1 -1
- package/dist/es2019/styles/shared/block-marks.js +1 -1
- package/dist/es2019/styles/shared/blockquote.js +1 -1
- package/dist/es2019/styles/shared/code-block.js +1 -1
- package/dist/es2019/styles/shared/column-layout.js +1 -1
- package/dist/es2019/styles/shared/date.js +1 -1
- package/dist/es2019/styles/shared/embedCard.js +2 -2
- package/dist/es2019/styles/shared/expand.js +1 -1
- package/dist/es2019/styles/shared/grid.js +1 -1
- package/dist/es2019/styles/shared/indentation.js +1 -1
- package/dist/es2019/styles/shared/link.js +1 -1
- package/dist/es2019/styles/shared/lists.js +1 -1
- package/dist/es2019/styles/shared/media-single.js +1 -1
- package/dist/es2019/styles/shared/paragraph.js +1 -1
- package/dist/es2019/styles/shared/plugins.js +4 -4
- package/dist/es2019/styles/shared/resizer.js +1 -1
- package/dist/es2019/styles/shared/shadow.js +1 -1
- package/dist/es2019/styles/shared/smartCard.js +1 -1
- package/dist/es2019/styles/shared/table.js +5 -1
- package/dist/es2019/styles/shared/task-decision.js +1 -1
- package/dist/es2019/styles/shared/text-color.js +1 -1
- package/dist/es2019/styles/shared/unsupported-content.js +1 -1
- package/dist/es2019/styles/shared/whitespace.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/link.js +1 -1
- package/dist/es2019/ui/MultiBodiedExtension/index.js +2 -2
- package/dist/es2019/ui/PanelTextInput/styles.js +1 -1
- package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +2 -2
- package/dist/es2019/ui-color/ColorPalette/styles.js +1 -1
- package/dist/esm/collab/index.js +1 -1
- package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/styles.js +5 -5
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +2 -2
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +10 -7
- package/dist/esm/extensibility/Extension/styles.js +0 -1
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +4 -4
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +3 -3
- package/dist/esm/media-inline/styles.js +5 -5
- package/dist/esm/media-inline/views/wrapper.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -1
- package/dist/esm/styles/shared/annotation.js +5 -0
- package/dist/esm/styles/shared/background-color.js +1 -1
- package/dist/esm/styles/shared/block-marks.js +1 -1
- package/dist/esm/styles/shared/blockquote.js +1 -1
- package/dist/esm/styles/shared/code-block.js +1 -1
- package/dist/esm/styles/shared/column-layout.js +1 -1
- package/dist/esm/styles/shared/date.js +1 -1
- package/dist/esm/styles/shared/embedCard.js +2 -2
- package/dist/esm/styles/shared/expand.js +1 -1
- package/dist/esm/styles/shared/grid.js +1 -1
- package/dist/esm/styles/shared/indentation.js +1 -1
- package/dist/esm/styles/shared/link.js +1 -1
- package/dist/esm/styles/shared/lists.js +1 -1
- package/dist/esm/styles/shared/media-single.js +1 -1
- package/dist/esm/styles/shared/paragraph.js +1 -1
- package/dist/esm/styles/shared/plugins.js +4 -4
- package/dist/esm/styles/shared/resizer.js +1 -1
- package/dist/esm/styles/shared/shadow.js +1 -1
- package/dist/esm/styles/shared/smartCard.js +1 -1
- package/dist/esm/styles/shared/table.js +4 -1
- package/dist/esm/styles/shared/task-decision.js +1 -1
- package/dist/esm/styles/shared/text-color.js +1 -1
- package/dist/esm/styles/shared/unsupported-content.js +1 -1
- package/dist/esm/styles/shared/whitespace.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +1 -1
- package/dist/esm/ui/MediaSingle/link.js +1 -1
- package/dist/esm/ui/MultiBodiedExtension/index.js +2 -2
- package/dist/esm/ui/PanelTextInput/styles.js +1 -1
- package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +2 -2
- package/dist/esm/ui-color/ColorPalette/styles.js +1 -1
- package/dist/types/analytics/types/highlight-events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +2 -1
- package/package.json +5 -2
|
@@ -5,7 +5,7 @@ export const DateSharedCssClassName = {
|
|
|
5
5
|
DATE_CONTAINER: 'dateView-content-wrap'
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
9
|
export const dateSharedStyle = css({
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
11
11
|
[`.${DateSharedCssClassName.DATE_WRAPPER} span`]: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
4
|
export const embedCardStyles = css({
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
6
6
|
'.ProseMirror': {
|
|
@@ -23,7 +23,7 @@ export const embedCardStyles = css({
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
27
|
export const embedSpacingStyles = css({
|
|
28
28
|
margin: `0 ${"var(--ds-space-150, 12px)"}`
|
|
29
29
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
4
|
export const expandIconWrapperStyle = css({
|
|
5
5
|
marginLeft: "var(--ds-space-negative-100, -8px)"
|
|
6
6
|
});
|
|
@@ -4,7 +4,7 @@ import { akEditorGridLineZIndex } from '@atlaskit/editor-shared-styles';
|
|
|
4
4
|
import { B200, N30A } from '@atlaskit/theme/colors';
|
|
5
5
|
export const GRID_GUTTER = 12;
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
8
|
export const gridStyles = css({
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
10
10
|
'.gridParent': {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export const indentationSharedStyles = css({
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
8
8
|
'.fabric-editor-indentation-mark': {
|
|
@@ -7,5 +7,5 @@ const linkSharedStyle = css({
|
|
|
7
7
|
}
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
export { linkSharedStyle };
|
|
@@ -35,7 +35,7 @@ export function getOrderedListInlineStyles(itemCounterDigitsSize, styleFormat) {
|
|
|
35
35
|
return style;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
38
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766, There is some "flow-root" hack that is not actually valid css. Do note, this might not even work in Compiled (or Emotion) due to the way tagged template expressions are parsed…
|
|
39
39
|
export const listsSharedStyles = css`
|
|
40
40
|
/* =============== INDENTATION SPACING ========= */
|
|
41
41
|
|
|
@@ -63,5 +63,5 @@ const mediaSingleSharedStyle = css({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
67
67
|
export { mediaSingleSharedStyle, richMediaClassName };
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
import { akEditorLineHeight, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
4
4
|
|
|
5
5
|
// @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export const paragraphSharedStyles = css({
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
9
9
|
'& p': {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
import { N30 } from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const buttonGroupStyle = css({
|
|
6
6
|
display: 'inline-flex',
|
|
7
7
|
alignItems: 'center',
|
|
@@ -13,7 +13,7 @@ export const buttonGroupStyle = css({
|
|
|
13
13
|
|
|
14
14
|
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
15
15
|
// If you make change here, change in above file as well.
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
17
|
export const separatorStyles = css({
|
|
18
18
|
background: `var(--ds-border, ${N30})`,
|
|
19
19
|
width: '1px',
|
|
@@ -25,7 +25,7 @@ export const separatorStyles = css({
|
|
|
25
25
|
|
|
26
26
|
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
27
27
|
// If you make change here, change in above file as well.
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
29
29
|
export const wrapperStyle = css({
|
|
30
30
|
display: 'flex',
|
|
31
31
|
alignItems: 'center',
|
|
@@ -41,7 +41,7 @@ export const wrapperStyle = css({
|
|
|
41
41
|
minWidth: 'auto'
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
45
45
|
export const triggerWrapperStyles = css({
|
|
46
46
|
display: 'flex'
|
|
47
47
|
});
|
|
@@ -19,7 +19,7 @@ const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
|
|
|
19
19
|
export const handleWrapperClass = 'resizer-handle-wrapper';
|
|
20
20
|
export const resizerHandleZIndex = 1;
|
|
21
21
|
|
|
22
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766, Seems perfectly safe to autofix, but comments would be lost…
|
|
23
23
|
export const resizerStyles = css`
|
|
24
24
|
.${resizerItemClassName} {
|
|
25
25
|
will-change: width;
|
|
@@ -66,5 +66,5 @@ const shadowSharedStyle = css({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
70
70
|
export { shadowSharedStyle };
|
|
@@ -8,7 +8,7 @@ import { SmartCardSharedCssClassName } from './smart-card';
|
|
|
8
8
|
export const DATASOURCE_INNER_CONTAINER_CLASSNAME = 'datasourceView-content-inner-wrap';
|
|
9
9
|
export const FLOATING_TOOLBAR_LINKPICKER_CLASSNAME = 'card-floating-toolbar--link-picker';
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
export const smartCardStyles = css`
|
|
13
13
|
.${SmartCardSharedCssClassName.INLINE_CARD_CONTAINER} {
|
|
14
14
|
max-width: calc(100% - 20px);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
import { tableCellContentDomSelector, tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
|
|
4
4
|
import { akEditorBreakoutPadding, akEditorFullWidthLayoutWidth, akEditorSelectedNodeClassName, akEditorTableBorder, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorWideLayoutWidth, overflowShadow } from '@atlaskit/editor-shared-styles';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
import browser from '../../utils/browser';
|
|
6
7
|
import { CodeBlockSharedCssClassName } from './code-block';
|
|
7
8
|
import { tableCellBackgroundStyleOverride } from './tableCell';
|
|
@@ -110,7 +111,10 @@ const tableSharedStyle = () => css`
|
|
|
110
111
|
border: 1px solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`};
|
|
111
112
|
border-right-width: 0;
|
|
112
113
|
border-bottom-width: 0;
|
|
113
|
-
|
|
114
|
+
|
|
115
|
+
padding: ${
|
|
116
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
117
|
+
fg('platform_editor_tables_padding_increase') ? `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-250, 20px)"}` : "var(--ds-space-100, 8px)"};
|
|
114
118
|
/* https://stackoverflow.com/questions/7517127/borders-not-shown-in-firefox-with-border-collapse-on-table-position-relative-o */
|
|
115
119
|
${browser.gecko || browser.ie || browser.mac && browser.chrome ? 'background-clip: padding-box;' : ''}
|
|
116
120
|
|
|
@@ -8,7 +8,7 @@ export const TaskDecisionSharedCssClassName = {
|
|
|
8
8
|
TASK_ITEM: 'task-item'
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
export const tasksAndDecisionsStyles = css`
|
|
13
13
|
.ProseMirror {
|
|
14
14
|
.taskItemView-content-wrap,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const textColorStyles = css({
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
7
7
|
'.fabric-text-color-mark': {
|
|
@@ -8,7 +8,7 @@ export const UnsupportedSharedCssClassName = {
|
|
|
8
8
|
const inlineUnsupportedSelector = `.${UnsupportedSharedCssClassName.INLINE_CONTAINER} > span:nth-of-type(2)`;
|
|
9
9
|
const blockUnsupportedSelector = `.${UnsupportedSharedCssClassName.BLOCK_CONTAINER} > div`;
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
export const unsupportedStyles = css`
|
|
13
13
|
${blockUnsupportedSelector}, ${inlineUnsupportedSelector} {
|
|
14
14
|
cursor: pointer;
|
|
@@ -5,5 +5,5 @@ const whitespaceSharedStyles = css({
|
|
|
5
5
|
whiteSpace: 'pre-wrap'
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
9
|
export { whitespaceSharedStyles };
|
|
@@ -9,7 +9,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
9
9
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
10
10
|
import Layer from '../Layer';
|
|
11
11
|
const packageName = "@atlaskit/editor-common";
|
|
12
|
-
const packageVersion = "83.
|
|
12
|
+
const packageVersion = "83.6.1";
|
|
13
13
|
const halfFocusRing = 1;
|
|
14
14
|
const dropOffset = '0, 8';
|
|
15
15
|
class DropList extends Component {
|
|
@@ -69,7 +69,7 @@ const expandIconWrapperExpandedStyle = css({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
72
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
73
73
|
export const expandLayoutWrapperStyle = css({
|
|
74
74
|
width: "var(--ds-space-300, 24px)",
|
|
75
75
|
height: "var(--ds-space-300, 24px)"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const mediaLinkStyle = css({
|
|
6
6
|
position: 'absolute',
|
|
7
7
|
background: 'transparent',
|
|
@@ -87,14 +87,14 @@ const extensionFrameContent = css({
|
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
91
91
|
export const removeMarginsAndBorder = css({
|
|
92
92
|
marginLeft: 0,
|
|
93
93
|
marginRight: 0,
|
|
94
94
|
border: 'none'
|
|
95
95
|
});
|
|
96
96
|
|
|
97
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
97
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
98
98
|
export const sharedMultiBodiedExtensionStyles = {
|
|
99
99
|
mbeExtensionContainer,
|
|
100
100
|
mbeNavigation,
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
4
4
|
import { B100, N100, N30, N400 } from '@atlaskit/theme/colors';
|
|
5
5
|
// Normal .className gets overridden by input[type=text] hence this hack to produce input.className
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export const panelTextInput = css({
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
9
9
|
'input&': {
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
|
|
4
4
|
// We use !important to ensure next sibling gets the margin reset no matter what
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export const clearNextSiblingMarginTopStyle = css({
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
9
9
|
'& + *': {
|
|
@@ -14,7 +14,7 @@ export const clearNextSiblingMarginTopStyle = css({
|
|
|
14
14
|
const textElements = ['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
|
|
15
15
|
const nextSiblingBlockMarkContentSelectors = textElements.map(elem => `+ .fabric-editor-block-mark > ${elem}`).join(',');
|
|
16
16
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
18
|
export const clearNextSiblingBlockMarkMarginTopStyle = css({
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
20
20
|
[`${nextSiblingBlockMarkContentSelectors}`]: {
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
import { N0, N50, N900 } from '@atlaskit/theme/colors';
|
|
4
4
|
/** this is not new usage - old code extracted from editor-core */
|
|
5
5
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export const buttonStyle = css({
|
|
8
8
|
height: '26px',
|
|
9
9
|
width: '26px',
|
|
@@ -18,7 +18,7 @@ export const buttonStyle = css({
|
|
|
18
18
|
|
|
19
19
|
/** this is not new usage - old code extracted from editor-core */
|
|
20
20
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
22
|
export const buttonWrapperStyle = css({
|
|
23
23
|
border: '1px solid transparent',
|
|
24
24
|
fontSize: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
4
|
export const colorPaletteWrapper = css({
|
|
5
5
|
padding: `0 ${"var(--ds-space-100, 8px)"}`,
|
|
6
6
|
/* Firefox bug fix: https://product-fabric.atlassian.net/browse/ED-1789 */
|
package/dist/esm/collab/index.js
CHANGED
|
@@ -138,7 +138,7 @@ export var TELEPOINTER_DIM_CLASS = 'telepointer-dim';
|
|
|
138
138
|
|
|
139
139
|
// ED-22557: Safely convert to object styling
|
|
140
140
|
// Disable top: -14px since it is necessary to align to cursor
|
|
141
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/
|
|
141
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
142
142
|
export var telepointerStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\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"])), relativeFontSizeToBase16(9), "var(--ds-space-025, 2px)", "var(--ds-text-inverse, #FFFFFF)", TELEPOINTER_DIM_CLASS, avatarColors.map(function (color, index) {
|
|
143
143
|
return telepointerColorStyle(color, index);
|
|
144
144
|
}));
|
|
@@ -31,7 +31,7 @@ import { getColumnCount, getScrollbarWidth } from './utils';
|
|
|
31
31
|
export var ICON_HEIGHT = 40;
|
|
32
32
|
export var ICON_WIDTH = 40;
|
|
33
33
|
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
35
35
|
export var itemIcon = css({
|
|
36
36
|
width: "".concat(ICON_WIDTH, "px"),
|
|
37
37
|
height: "".concat(ICON_HEIGHT, "px"),
|
|
@@ -4,7 +4,7 @@ import { N30, N500 } from '@atlaskit/theme/colors';
|
|
|
4
4
|
import { wrapperDefault } from '../styles';
|
|
5
5
|
export var widerLayoutClassName = 'wider-layout';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
8
8
|
export var wrapperStyle = css(wrapperDefault, {
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
10
10
|
'&.without-frame': {
|
|
@@ -31,7 +31,7 @@ export var wrapperStyle = css(wrapperDefault, {
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
35
35
|
export var header = css({
|
|
36
36
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-050, 4px)", " 0px"),
|
|
37
37
|
verticalAlign: 'middle',
|
|
@@ -45,7 +45,7 @@ export var header = css({
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
49
49
|
export var content = css({
|
|
50
50
|
padding: "var(--ds-space-100, 8px)",
|
|
51
51
|
background: "var(--ds-surface, white)",
|
|
@@ -59,7 +59,7 @@ export var content = css({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
63
63
|
export var contentWrapper = css({
|
|
64
64
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
65
65
|
display: 'flex',
|
|
@@ -70,7 +70,7 @@ export var contentWrapper = css({
|
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
73
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
74
74
|
export var overflowWrapperStyles = css({
|
|
75
75
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
76
76
|
'&.with-margin-styles': {
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
import { N500 } from '@atlaskit/theme/colors';
|
|
4
4
|
import { wrapperDefault } from '../styles';
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
7
7
|
export var wrapperStyle = css(wrapperDefault, {
|
|
8
8
|
cursor: 'pointer',
|
|
9
9
|
display: 'inline-flex',
|
|
@@ -28,7 +28,7 @@ export var wrapperStyle = css(wrapperDefault, {
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
32
32
|
export var inlineWrapperStyles = css({
|
|
33
33
|
maxWidth: '100%',
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -4,7 +4,7 @@ import { Fragment } from 'react';
|
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import classnames from 'classnames';
|
|
7
|
-
import { defineMessages,
|
|
7
|
+
import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
8
8
|
import PreferencesIcon from '@atlaskit/icon/glyph/preferences';
|
|
9
9
|
import { N0, N30, N40, N500, N800 } from '@atlaskit/theme/colors';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -100,7 +100,7 @@ var iconStyles = css({
|
|
|
100
100
|
var i18n = defineMessages({
|
|
101
101
|
configure: {
|
|
102
102
|
id: 'editor-common-extensibility.macro.button.configure',
|
|
103
|
-
defaultMessage: 'Configure',
|
|
103
|
+
defaultMessage: 'Configure {macroName}',
|
|
104
104
|
description: 'Text in tooltip that tells user they can configure the specific macro.'
|
|
105
105
|
}
|
|
106
106
|
});
|
|
@@ -113,9 +113,8 @@ export var ExtensionLabel = function ExtensionLabel(_ref) {
|
|
|
113
113
|
setIsNodeHovered = _ref.setIsNodeHovered,
|
|
114
114
|
isBodiedMacro = _ref.isBodiedMacro,
|
|
115
115
|
showMacroButtonUpdates = _ref.showMacroButtonUpdates;
|
|
116
|
-
var intl = useIntl();
|
|
117
|
-
var tooltipText = "".concat(intl.formatMessage(i18n.configure), " ").concat(text);
|
|
118
116
|
var isInlineExtension = extensionName === 'inlineExtension';
|
|
117
|
+
var showDefaultBodiedStyles = isBodiedMacro && !isNodeHovered;
|
|
119
118
|
var containerClassNames = classnames({
|
|
120
119
|
bodied: isBodiedMacro
|
|
121
120
|
});
|
|
@@ -123,8 +122,8 @@ export var ExtensionLabel = function ExtensionLabel(_ref) {
|
|
|
123
122
|
nested: isNodeNested,
|
|
124
123
|
inline: isInlineExtension,
|
|
125
124
|
bodied: isBodiedMacro,
|
|
126
|
-
'bodied-border':
|
|
127
|
-
'bodied-background':
|
|
125
|
+
'bodied-border': showDefaultBodiedStyles,
|
|
126
|
+
'bodied-background': showDefaultBodiedStyles,
|
|
128
127
|
'show-label': isNodeHovered || isBodiedMacro
|
|
129
128
|
});
|
|
130
129
|
var newButtonLabelClassNames = classnames({
|
|
@@ -152,7 +151,11 @@ export var ExtensionLabel = function ExtensionLabel(_ref) {
|
|
|
152
151
|
},
|
|
153
152
|
"data-testid": "new-lozenge-container"
|
|
154
153
|
}, showMacroButtonUpdates ? jsx(Fragment, null, jsx(Tooltip, {
|
|
155
|
-
content:
|
|
154
|
+
content: jsx(FormattedMessage, _extends({}, i18n.configure, {
|
|
155
|
+
values: {
|
|
156
|
+
macroName: text
|
|
157
|
+
}
|
|
158
|
+
})),
|
|
156
159
|
position: "top"
|
|
157
160
|
}, function (tooltipProps) {
|
|
158
161
|
return jsx("span", _extends({
|
|
@@ -4,7 +4,7 @@ import { N30, N500 } from '@atlaskit/theme/colors';
|
|
|
4
4
|
import { wrapperDefault } from '../Extension/styles';
|
|
5
5
|
|
|
6
6
|
// Wrapper the extension title and extensionContainer
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
8
8
|
export var mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
10
10
|
'&.with-margin-styles': {
|
|
@@ -43,7 +43,7 @@ export var mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
47
|
export var overlayStyles = css({
|
|
48
48
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
49
49
|
position: 'absolute',
|
|
@@ -40,7 +40,7 @@ import { filterUniqueItems, mapContentTypeToIcon, sha1, wordCount } from './util
|
|
|
40
40
|
* Visible only to screenreaders. Use when there is a need
|
|
41
41
|
* to provide more context to a non-sighted user.
|
|
42
42
|
*/
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
44
|
export var visuallyHiddenStyles = css({
|
|
45
45
|
clip: 'rect(1px, 1px, 1px, 1px)',
|
|
46
46
|
clipPath: 'inset(50%)',
|
|
@@ -24,7 +24,7 @@ var spinnerContainer = css({
|
|
|
24
24
|
marginTop: "var(--ds-space-400, 32px)"
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
28
28
|
export var linkSearchList = css({
|
|
29
29
|
padding: 0,
|
|
30
30
|
listStyle: 'none'
|
|
@@ -21,7 +21,7 @@ import { N20, N300, N800 } from '@atlaskit/theme/colors';
|
|
|
21
21
|
import { fontSizeSmall } from '@atlaskit/theme/constants';
|
|
22
22
|
import { getCorrectAltByIconUrl } from './listItemAlts';
|
|
23
23
|
import { transformTimeStamp } from './transformTimeStamp';
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
25
|
export var container = css({
|
|
26
26
|
backgroundColor: 'transparent',
|
|
27
27
|
padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-150, 12px)"),
|
|
@@ -30,7 +30,7 @@ export var container = css({
|
|
|
30
30
|
marginTop: 0
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
34
|
export var containerSelected = css({
|
|
35
35
|
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(N20, ")")
|
|
36
36
|
});
|
|
@@ -38,7 +38,7 @@ var nameWrapper = css({
|
|
|
38
38
|
overflow: 'hidden'
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
42
42
|
export var nameStyle = css({
|
|
43
43
|
color: "var(--ds-text, ".concat(N800, ")"),
|
|
44
44
|
overflow: 'hidden',
|
|
@@ -47,7 +47,7 @@ export var nameStyle = css({
|
|
|
47
47
|
lineHeight: '20px'
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
51
|
export var containerName = css({
|
|
52
52
|
color: "var(--ds-text-subtlest, ".concat(N300, ")"),
|
|
53
53
|
lineHeight: '14px',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } from '../../ui';
|
|
4
4
|
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export var inputWrapper = css({
|
|
7
7
|
display: 'flex',
|
|
8
8
|
lineHeight: 0,
|
|
@@ -10,7 +10,7 @@ export var inputWrapper = css({
|
|
|
10
10
|
alignItems: 'center'
|
|
11
11
|
});
|
|
12
12
|
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
14
|
export var container = css({
|
|
15
15
|
display: 'flex',
|
|
16
16
|
flexDirection: 'column',
|
|
@@ -21,7 +21,7 @@ export var container = css({
|
|
|
21
21
|
lineHeight: 'initial'
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
25
|
export var containerWithProvider = css({
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
27
|
width: "".concat(RECENT_SEARCH_WIDTH_IN_PX, "px")
|