@atlaskit/editor-common 98.2.0 → 98.2.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 +6 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -0
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +2 -0
- package/dist/cjs/media-single/ExternalImageBadge.js +1 -0
- package/dist/cjs/media-single/MediaBadges.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/sharedStyles.js +1 -1
- package/dist/cjs/ui/Messages/index.js +1 -0
- package/dist/cjs/ui/PanelTextInput/styles.js +1 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -0
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +2 -0
- package/dist/es2019/media-single/ExternalImageBadge.js +1 -0
- package/dist/es2019/media-single/MediaBadges.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/sharedStyles.js +1 -1
- package/dist/es2019/ui/Messages/index.js +1 -0
- package/dist/es2019/ui/PanelTextInput/styles.js +1 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -0
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +2 -0
- package/dist/esm/media-single/ExternalImageBadge.js +1 -0
- package/dist/esm/media-single/MediaBadges.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/sharedStyles.js +1 -1
- package/dist/esm/ui/Messages/index.js +1 -0
- package/dist/esm/ui/PanelTextInput/styles.js +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -700,6 +700,7 @@ var itemBody = (0, _react2.css)({
|
|
|
700
700
|
flexDirection: 'row',
|
|
701
701
|
flexWrap: 'nowrap',
|
|
702
702
|
justifyContent: 'space-between',
|
|
703
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
703
704
|
lineHeight: 1.4,
|
|
704
705
|
width: '100%',
|
|
705
706
|
marginTop: "var(--ds-space-negative-025, -2px)"
|
|
@@ -20,6 +20,7 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
20
20
|
|
|
21
21
|
var buttonContainerStyles = (0, _react2.css)({
|
|
22
22
|
opacity: 0,
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
23
24
|
lineHeight: 1,
|
|
24
25
|
position: 'absolute',
|
|
25
26
|
width: 'max-content',
|
|
@@ -24,7 +24,7 @@ var mbeExtensionWrapperCSSStyles = exports.mbeExtensionWrapperCSSStyles = (0, _r
|
|
|
24
24
|
'.extension-title': {
|
|
25
25
|
display: 'flex',
|
|
26
26
|
alignItems: 'center',
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
28
28
|
lineHeight: '16px !important',
|
|
29
29
|
marginBottom: "var(--ds-space-100, 8px)",
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -50,12 +50,14 @@ var nameStyle = exports.nameStyle = (0, _react2.css)({
|
|
|
50
50
|
overflow: 'hidden',
|
|
51
51
|
textOverflow: 'ellipsis',
|
|
52
52
|
whiteSpace: 'nowrap',
|
|
53
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
53
54
|
lineHeight: '20px'
|
|
54
55
|
});
|
|
55
56
|
|
|
56
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
57
58
|
var containerName = exports.containerName = (0, _react2.css)({
|
|
58
59
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
60
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
59
61
|
lineHeight: '14px',
|
|
60
62
|
// 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
63
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(11)
|
|
@@ -11,6 +11,7 @@ var _ui = require("../../ui");
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
var inputWrapper = exports.inputWrapper = (0, _react.css)({
|
|
13
13
|
display: 'flex',
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
14
15
|
lineHeight: 0,
|
|
15
16
|
padding: "var(--ds-space-075, 6px)".concat(" 0"),
|
|
16
17
|
alignItems: 'center'
|
|
@@ -24,6 +25,7 @@ var container = exports.container = (0, _react.css)({
|
|
|
24
25
|
padding: 0,
|
|
25
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
|
|
26
27
|
width: "".concat(_ui.RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX, "px"),
|
|
28
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
27
29
|
lineHeight: 'initial'
|
|
28
30
|
});
|
|
29
31
|
|
|
@@ -15,6 +15,7 @@ var _media = require("../media");
|
|
|
15
15
|
var baseStyles = (0, _primitives.xcss)({
|
|
16
16
|
borderRadius: 'border.radius',
|
|
17
17
|
backgroundColor: 'elevation.surface',
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
18
19
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
19
20
|
cursor: 'pointer'
|
|
20
21
|
});
|
|
@@ -19,6 +19,7 @@ var containerStyles = (0, _primitives.xcss)({
|
|
|
19
19
|
position: 'absolute',
|
|
20
20
|
top: 'space.0',
|
|
21
21
|
right: 'space.0',
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
22
23
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
23
24
|
gap: 'space.025',
|
|
24
25
|
zIndex: 'card',
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
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 && {}.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; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "98.2.
|
|
20
|
+
var packageVersion = "98.2.1";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "98.2.
|
|
26
|
+
var packageVersion = "98.2.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -60,7 +60,7 @@ var titleInputStyles = function titleInputStyles() {
|
|
|
60
60
|
border: 'none',
|
|
61
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
62
62
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(14),
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
64
64
|
lineHeight: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? 1 : _editorSharedStyles.akEditorLineHeight,
|
|
65
65
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
66
66
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -30,6 +30,7 @@ var messageStyle = function messageStyle() {
|
|
|
30
30
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
31
31
|
fontSize: "".concat(12 / 14, "em"),
|
|
32
32
|
fontStyle: 'inherit',
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
33
34
|
lineHeight: 16 / 12,
|
|
34
35
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
35
36
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -21,6 +21,7 @@ var panelTextInput = exports.panelTextInput = (0, _react.css)({
|
|
|
21
21
|
flexGrow: 1,
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
23
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(13),
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
24
25
|
lineHeight: '20px',
|
|
25
26
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-400, 32px)", " ", "var(--ds-space-075, 6px)", " ", "var(--ds-space-100, 8px)"),
|
|
26
27
|
minWidth: '145px',
|
|
@@ -686,6 +686,7 @@ const itemBody = css({
|
|
|
686
686
|
flexDirection: 'row',
|
|
687
687
|
flexWrap: 'nowrap',
|
|
688
688
|
justifyContent: 'space-between',
|
|
689
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
689
690
|
lineHeight: 1.4,
|
|
690
691
|
width: '100%',
|
|
691
692
|
marginTop: "var(--ds-space-negative-025, -2px)"
|
|
@@ -13,6 +13,7 @@ import EditIcon from '@atlaskit/icon/core/edit';
|
|
|
13
13
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
14
14
|
const buttonContainerStyles = css({
|
|
15
15
|
opacity: 0,
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
position: 'absolute',
|
|
18
19
|
width: 'max-content',
|
|
@@ -18,7 +18,7 @@ export const mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
|
18
18
|
'.extension-title': {
|
|
19
19
|
display: 'flex',
|
|
20
20
|
alignItems: 'center',
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
22
22
|
lineHeight: '16px !important',
|
|
23
23
|
marginBottom: "var(--ds-space-100, 8px)",
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -37,12 +37,14 @@ export const nameStyle = css({
|
|
|
37
37
|
overflow: 'hidden',
|
|
38
38
|
textOverflow: 'ellipsis',
|
|
39
39
|
whiteSpace: 'nowrap',
|
|
40
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
40
41
|
lineHeight: '20px'
|
|
41
42
|
});
|
|
42
43
|
|
|
43
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
45
|
export const containerName = css({
|
|
45
46
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
46
48
|
lineHeight: '14px',
|
|
47
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
|
|
48
50
|
fontSize: relativeFontSizeToBase16(11)
|
|
@@ -5,6 +5,7 @@ import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } fr
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export const inputWrapper = css({
|
|
7
7
|
display: 'flex',
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
8
9
|
lineHeight: 0,
|
|
9
10
|
padding: `${"var(--ds-space-075, 6px)"} 0`,
|
|
10
11
|
alignItems: 'center'
|
|
@@ -18,6 +19,7 @@ export const container = css({
|
|
|
18
19
|
padding: 0,
|
|
19
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
20
21
|
width: `${RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX}px`,
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
21
23
|
lineHeight: 'initial'
|
|
22
24
|
});
|
|
23
25
|
|
|
@@ -8,6 +8,7 @@ import { externalMediaMessages } from '../media';
|
|
|
8
8
|
const baseStyles = xcss({
|
|
9
9
|
borderRadius: 'border.radius',
|
|
10
10
|
backgroundColor: 'elevation.surface',
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
11
12
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
12
13
|
cursor: 'pointer'
|
|
13
14
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "98.2.
|
|
4
|
+
const packageVersion = "98.2.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "98.2.
|
|
16
|
+
const packageVersion = "98.2.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -74,7 +74,7 @@ const titleInputStyles = () => css({
|
|
|
74
74
|
border: 'none',
|
|
75
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
|
|
76
76
|
fontSize: relativeFontSizeToBase16(14),
|
|
77
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
78
78
|
lineHeight: fg('platform-visual-refresh-icons') ? 1 : akEditorLineHeight,
|
|
79
79
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
80
80
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -21,6 +21,7 @@ css({
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
22
22
|
fontSize: `${12 / 14}em`,
|
|
23
23
|
fontStyle: 'inherit',
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
24
25
|
lineHeight: 16 / 12,
|
|
25
26
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
26
27
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -14,6 +14,7 @@ export const panelTextInput = css({
|
|
|
14
14
|
flexGrow: 1,
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
16
|
fontSize: relativeFontSizeToBase16(13),
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
17
18
|
lineHeight: '20px',
|
|
18
19
|
padding: `${"var(--ds-space-075, 6px)"} ${"var(--ds-space-400, 32px)"} ${"var(--ds-space-075, 6px)"} ${"var(--ds-space-100, 8px)"}`,
|
|
19
20
|
minWidth: '145px',
|
|
@@ -690,6 +690,7 @@ var itemBody = css({
|
|
|
690
690
|
flexDirection: 'row',
|
|
691
691
|
flexWrap: 'nowrap',
|
|
692
692
|
justifyContent: 'space-between',
|
|
693
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
693
694
|
lineHeight: 1.4,
|
|
694
695
|
width: '100%',
|
|
695
696
|
marginTop: "var(--ds-space-negative-025, -2px)"
|
|
@@ -13,6 +13,7 @@ import EditIcon from '@atlaskit/icon/core/edit';
|
|
|
13
13
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
14
14
|
var buttonContainerStyles = css({
|
|
15
15
|
opacity: 0,
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
position: 'absolute',
|
|
18
19
|
width: 'max-content',
|
|
@@ -18,7 +18,7 @@ export var mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
|
18
18
|
'.extension-title': {
|
|
19
19
|
display: 'flex',
|
|
20
20
|
alignItems: 'center',
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
22
22
|
lineHeight: '16px !important',
|
|
23
23
|
marginBottom: "var(--ds-space-100, 8px)",
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -44,12 +44,14 @@ export var nameStyle = css({
|
|
|
44
44
|
overflow: 'hidden',
|
|
45
45
|
textOverflow: 'ellipsis',
|
|
46
46
|
whiteSpace: 'nowrap',
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
47
48
|
lineHeight: '20px'
|
|
48
49
|
});
|
|
49
50
|
|
|
50
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
52
|
export var containerName = css({
|
|
52
53
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
53
55
|
lineHeight: '14px',
|
|
54
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
55
57
|
fontSize: relativeFontSizeToBase16(11)
|
|
@@ -5,6 +5,7 @@ import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } fr
|
|
|
5
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
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
8
9
|
lineHeight: 0,
|
|
9
10
|
padding: "var(--ds-space-075, 6px)".concat(" 0"),
|
|
10
11
|
alignItems: 'center'
|
|
@@ -18,6 +19,7 @@ export var container = css({
|
|
|
18
19
|
padding: 0,
|
|
19
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
20
21
|
width: "".concat(RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX, "px"),
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
21
23
|
lineHeight: 'initial'
|
|
22
24
|
});
|
|
23
25
|
|
|
@@ -8,6 +8,7 @@ import { externalMediaMessages } from '../media';
|
|
|
8
8
|
var baseStyles = xcss({
|
|
9
9
|
borderRadius: 'border.radius',
|
|
10
10
|
backgroundColor: 'elevation.surface',
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
11
12
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
12
13
|
cursor: 'pointer'
|
|
13
14
|
});
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "98.2.
|
|
10
|
+
var packageVersion = "98.2.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "98.2.
|
|
23
|
+
var packageVersion = "98.2.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -54,7 +54,7 @@ var titleInputStyles = function titleInputStyles() {
|
|
|
54
54
|
border: 'none',
|
|
55
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
56
56
|
fontSize: relativeFontSizeToBase16(14),
|
|
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
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
58
58
|
lineHeight: fg('platform-visual-refresh-icons') ? 1 : akEditorLineHeight,
|
|
59
59
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
60
60
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -22,6 +22,7 @@ var messageStyle = function messageStyle() {
|
|
|
22
22
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
23
23
|
fontSize: "".concat(12 / 14, "em"),
|
|
24
24
|
fontStyle: 'inherit',
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
25
26
|
lineHeight: 16 / 12,
|
|
26
27
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
27
28
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -14,6 +14,7 @@ export var panelTextInput = css({
|
|
|
14
14
|
flexGrow: 1,
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
16
|
fontSize: relativeFontSizeToBase16(13),
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
17
18
|
lineHeight: '20px',
|
|
18
19
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-400, 32px)", " ", "var(--ds-space-075, 6px)", " ", "var(--ds-space-100, 8px)"),
|
|
19
20
|
minWidth: '145px',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "98.2.
|
|
3
|
+
"version": "98.2.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@atlaskit/media-picker": "^67.0.0",
|
|
142
142
|
"@atlaskit/media-ui": "^27.2.0",
|
|
143
143
|
"@atlaskit/media-viewer": "49.5.3",
|
|
144
|
-
"@atlaskit/mention": "^23.
|
|
144
|
+
"@atlaskit/mention": "^23.7.0",
|
|
145
145
|
"@atlaskit/menu": "^2.13.0",
|
|
146
146
|
"@atlaskit/onboarding": "^12.2.0",
|
|
147
147
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
@@ -149,12 +149,12 @@
|
|
|
149
149
|
"@atlaskit/primitives": "^13.3.0",
|
|
150
150
|
"@atlaskit/profilecard": "^21.1.0",
|
|
151
151
|
"@atlaskit/section-message": "^6.8.0",
|
|
152
|
-
"@atlaskit/smart-card": "^
|
|
152
|
+
"@atlaskit/smart-card": "^34.0.0",
|
|
153
153
|
"@atlaskit/smart-user-picker": "^6.11.0",
|
|
154
154
|
"@atlaskit/spinner": "^16.3.0",
|
|
155
155
|
"@atlaskit/task-decision": "^17.11.0",
|
|
156
156
|
"@atlaskit/textfield": "^6.7.0",
|
|
157
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
157
|
+
"@atlaskit/tmp-editor-statsig": "^2.32.0",
|
|
158
158
|
"@atlaskit/tokens": "^2.5.0",
|
|
159
159
|
"@atlaskit/tooltip": "^19.0.0",
|
|
160
160
|
"@atlaskit/width-detector": "^4.3.0",
|