@atlaskit/editor-common 102.3.3 → 102.3.4
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 +9 -0
- package/dist/cjs/messages/index.js +15 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/Button.js +4 -3
- package/dist/es2019/messages/index.js +15 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/Button.js +4 -3
- package/dist/esm/messages/index.js +15 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/Button.js +4 -3
- package/dist/types/messages/index.d.ts +15 -0
- package/dist/types-ts4.5/messages/index.d.ts +15 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 102.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#123536](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/123536)
|
|
8
|
+
[`32675a58bf978`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/32675a58bf978) -
|
|
9
|
+
[ux] Removed padding from the dropdown button in the toolbar
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 102.3.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -251,16 +251,31 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
251
251
|
defaultMessage: 'Back to center',
|
|
252
252
|
description: 'Display your element (image, table, extension, etc) as standard width'
|
|
253
253
|
},
|
|
254
|
+
layoutStateFixedWidth: {
|
|
255
|
+
id: 'fabric.editor.layoutStateFixedWidth',
|
|
256
|
+
defaultMessage: 'Centered',
|
|
257
|
+
description: 'Displaying your element (image, table, extension, etc) as standard width'
|
|
258
|
+
},
|
|
254
259
|
layoutWide: {
|
|
255
260
|
id: 'fabric.editor.layoutWide',
|
|
256
261
|
defaultMessage: 'Go wide',
|
|
257
262
|
description: 'Display your element (image, table, extension, etc) wider than normal'
|
|
258
263
|
},
|
|
264
|
+
layoutStateWide: {
|
|
265
|
+
id: 'fabric.editor.layoutStateWide',
|
|
266
|
+
defaultMessage: 'Wide',
|
|
267
|
+
description: 'Displaying your element (image, table, extension, etc) wider than normal'
|
|
268
|
+
},
|
|
259
269
|
layoutFullWidth: {
|
|
260
270
|
id: 'fabric.editor.layoutFullWidth',
|
|
261
271
|
defaultMessage: 'Go full width',
|
|
262
272
|
description: 'Display your element (image, table, extension, etc) as full width'
|
|
263
273
|
},
|
|
274
|
+
layoutStateFullWidth: {
|
|
275
|
+
id: 'fabric.editor.layoutStateFullWidth',
|
|
276
|
+
defaultMessage: 'Full width',
|
|
277
|
+
description: 'Displaying your element (image, table, extension, etc) as full width'
|
|
278
|
+
},
|
|
264
279
|
alignImageRight: {
|
|
265
280
|
id: 'fabric.editor.alignImageRight',
|
|
266
281
|
defaultMessage: 'Align right',
|
|
@@ -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 = "102.3.
|
|
20
|
+
var packageVersion = "102.3.4";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -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 = "102.3.
|
|
26
|
+
var packageVersion = "102.3.4";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -22,8 +22,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
22
22
|
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; }
|
|
23
23
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
24
24
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25
|
-
var
|
|
26
|
-
minWidth: "var(--ds-space-400, 32px)"
|
|
25
|
+
var customSizeAndPadding = {
|
|
26
|
+
minWidth: "var(--ds-space-400, 32px)",
|
|
27
|
+
padding: "0px ".concat("var(--ds-space-050, 4px)")
|
|
27
28
|
};
|
|
28
29
|
var _default = exports.default = function _default(_ref) {
|
|
29
30
|
var title = _ref.title,
|
|
@@ -110,7 +111,7 @@ var _default = exports.default = function _default(_ref) {
|
|
|
110
111
|
appearance: appearance,
|
|
111
112
|
state: themeProps.state,
|
|
112
113
|
mode: themeProps.mode
|
|
113
|
-
})), (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ?
|
|
114
|
+
})), (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? customSizeAndPadding : {})
|
|
114
115
|
}, rest);
|
|
115
116
|
},
|
|
116
117
|
"aria-label": ariaLabel || title,
|
|
@@ -42,16 +42,31 @@ export default defineMessages({
|
|
|
42
42
|
defaultMessage: 'Back to center',
|
|
43
43
|
description: 'Display your element (image, table, extension, etc) as standard width'
|
|
44
44
|
},
|
|
45
|
+
layoutStateFixedWidth: {
|
|
46
|
+
id: 'fabric.editor.layoutStateFixedWidth',
|
|
47
|
+
defaultMessage: 'Centered',
|
|
48
|
+
description: 'Displaying your element (image, table, extension, etc) as standard width'
|
|
49
|
+
},
|
|
45
50
|
layoutWide: {
|
|
46
51
|
id: 'fabric.editor.layoutWide',
|
|
47
52
|
defaultMessage: 'Go wide',
|
|
48
53
|
description: 'Display your element (image, table, extension, etc) wider than normal'
|
|
49
54
|
},
|
|
55
|
+
layoutStateWide: {
|
|
56
|
+
id: 'fabric.editor.layoutStateWide',
|
|
57
|
+
defaultMessage: 'Wide',
|
|
58
|
+
description: 'Displaying your element (image, table, extension, etc) wider than normal'
|
|
59
|
+
},
|
|
50
60
|
layoutFullWidth: {
|
|
51
61
|
id: 'fabric.editor.layoutFullWidth',
|
|
52
62
|
defaultMessage: 'Go full width',
|
|
53
63
|
description: 'Display your element (image, table, extension, etc) as full width'
|
|
54
64
|
},
|
|
65
|
+
layoutStateFullWidth: {
|
|
66
|
+
id: 'fabric.editor.layoutStateFullWidth',
|
|
67
|
+
defaultMessage: 'Full width',
|
|
68
|
+
description: 'Displaying your element (image, table, extension, etc) as full width'
|
|
69
|
+
},
|
|
55
70
|
alignImageRight: {
|
|
56
71
|
id: 'fabric.editor.alignImageRight',
|
|
57
72
|
defaultMessage: 'Align right',
|
|
@@ -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 = "102.3.
|
|
4
|
+
const packageVersion = "102.3.4";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -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 = "102.3.
|
|
16
|
+
const packageVersion = "102.3.4";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -6,8 +6,9 @@ import Tooltip from '@atlaskit/tooltip';
|
|
|
6
6
|
import { Pulse } from '../Pulse/Pulse';
|
|
7
7
|
import { ButtonSpotlightCard } from './ButtonSpotlightCard';
|
|
8
8
|
import { getButtonStyles, iconOnlySpacing } from './styles';
|
|
9
|
-
const
|
|
10
|
-
minWidth: "var(--ds-space-400, 32px)"
|
|
9
|
+
const customSizeAndPadding = {
|
|
10
|
+
minWidth: "var(--ds-space-400, 32px)",
|
|
11
|
+
padding: `0px ${"var(--ds-space-050, 4px)"}`
|
|
11
12
|
};
|
|
12
13
|
export default (({
|
|
13
14
|
title,
|
|
@@ -91,7 +92,7 @@ export default (({
|
|
|
91
92
|
state: themeProps.state,
|
|
92
93
|
mode: themeProps.mode
|
|
93
94
|
})),
|
|
94
|
-
...(editorExperiment('platform_editor_controls', 'variant1') ?
|
|
95
|
+
...(editorExperiment('platform_editor_controls', 'variant1') ? customSizeAndPadding : {})
|
|
95
96
|
},
|
|
96
97
|
...rest
|
|
97
98
|
};
|
|
@@ -42,16 +42,31 @@ export default defineMessages({
|
|
|
42
42
|
defaultMessage: 'Back to center',
|
|
43
43
|
description: 'Display your element (image, table, extension, etc) as standard width'
|
|
44
44
|
},
|
|
45
|
+
layoutStateFixedWidth: {
|
|
46
|
+
id: 'fabric.editor.layoutStateFixedWidth',
|
|
47
|
+
defaultMessage: 'Centered',
|
|
48
|
+
description: 'Displaying your element (image, table, extension, etc) as standard width'
|
|
49
|
+
},
|
|
45
50
|
layoutWide: {
|
|
46
51
|
id: 'fabric.editor.layoutWide',
|
|
47
52
|
defaultMessage: 'Go wide',
|
|
48
53
|
description: 'Display your element (image, table, extension, etc) wider than normal'
|
|
49
54
|
},
|
|
55
|
+
layoutStateWide: {
|
|
56
|
+
id: 'fabric.editor.layoutStateWide',
|
|
57
|
+
defaultMessage: 'Wide',
|
|
58
|
+
description: 'Displaying your element (image, table, extension, etc) wider than normal'
|
|
59
|
+
},
|
|
50
60
|
layoutFullWidth: {
|
|
51
61
|
id: 'fabric.editor.layoutFullWidth',
|
|
52
62
|
defaultMessage: 'Go full width',
|
|
53
63
|
description: 'Display your element (image, table, extension, etc) as full width'
|
|
54
64
|
},
|
|
65
|
+
layoutStateFullWidth: {
|
|
66
|
+
id: 'fabric.editor.layoutStateFullWidth',
|
|
67
|
+
defaultMessage: 'Full width',
|
|
68
|
+
description: 'Displaying your element (image, table, extension, etc) as full width'
|
|
69
|
+
},
|
|
55
70
|
alignImageRight: {
|
|
56
71
|
id: 'fabric.editor.alignImageRight',
|
|
57
72
|
defaultMessage: 'Align right',
|
|
@@ -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 = "102.3.
|
|
10
|
+
var packageVersion = "102.3.4";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -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 = "102.3.
|
|
23
|
+
var packageVersion = "102.3.4";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -12,8 +12,9 @@ import Tooltip from '@atlaskit/tooltip';
|
|
|
12
12
|
import { Pulse } from '../Pulse/Pulse';
|
|
13
13
|
import { ButtonSpotlightCard } from './ButtonSpotlightCard';
|
|
14
14
|
import { getButtonStyles, iconOnlySpacing } from './styles';
|
|
15
|
-
var
|
|
16
|
-
minWidth: "var(--ds-space-400, 32px)"
|
|
15
|
+
var customSizeAndPadding = {
|
|
16
|
+
minWidth: "var(--ds-space-400, 32px)",
|
|
17
|
+
padding: "0px ".concat("var(--ds-space-050, 4px)")
|
|
17
18
|
};
|
|
18
19
|
export default (function (_ref) {
|
|
19
20
|
var title = _ref.title,
|
|
@@ -100,7 +101,7 @@ export default (function (_ref) {
|
|
|
100
101
|
appearance: appearance,
|
|
101
102
|
state: themeProps.state,
|
|
102
103
|
mode: themeProps.mode
|
|
103
|
-
})), editorExperiment('platform_editor_controls', 'variant1') ?
|
|
104
|
+
})), editorExperiment('platform_editor_controls', 'variant1') ? customSizeAndPadding : {})
|
|
104
105
|
}, rest);
|
|
105
106
|
},
|
|
106
107
|
"aria-label": ariaLabel || title,
|
|
@@ -38,16 +38,31 @@ declare const _default: {
|
|
|
38
38
|
defaultMessage: string;
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
|
+
layoutStateFixedWidth: {
|
|
42
|
+
id: string;
|
|
43
|
+
defaultMessage: string;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
41
46
|
layoutWide: {
|
|
42
47
|
id: string;
|
|
43
48
|
defaultMessage: string;
|
|
44
49
|
description: string;
|
|
45
50
|
};
|
|
51
|
+
layoutStateWide: {
|
|
52
|
+
id: string;
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
46
56
|
layoutFullWidth: {
|
|
47
57
|
id: string;
|
|
48
58
|
defaultMessage: string;
|
|
49
59
|
description: string;
|
|
50
60
|
};
|
|
61
|
+
layoutStateFullWidth: {
|
|
62
|
+
id: string;
|
|
63
|
+
defaultMessage: string;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
51
66
|
alignImageRight: {
|
|
52
67
|
id: string;
|
|
53
68
|
defaultMessage: string;
|
|
@@ -38,16 +38,31 @@ declare const _default: {
|
|
|
38
38
|
defaultMessage: string;
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
|
+
layoutStateFixedWidth: {
|
|
42
|
+
id: string;
|
|
43
|
+
defaultMessage: string;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
41
46
|
layoutWide: {
|
|
42
47
|
id: string;
|
|
43
48
|
defaultMessage: string;
|
|
44
49
|
description: string;
|
|
45
50
|
};
|
|
51
|
+
layoutStateWide: {
|
|
52
|
+
id: string;
|
|
53
|
+
defaultMessage: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
46
56
|
layoutFullWidth: {
|
|
47
57
|
id: string;
|
|
48
58
|
defaultMessage: string;
|
|
49
59
|
description: string;
|
|
50
60
|
};
|
|
61
|
+
layoutStateFullWidth: {
|
|
62
|
+
id: string;
|
|
63
|
+
defaultMessage: string;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
51
66
|
alignImageRight: {
|
|
52
67
|
id: string;
|
|
53
68
|
defaultMessage: string;
|
package/package.json
CHANGED