@atlaskit/editor-common 106.1.6 → 106.1.8
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 +17 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/index.js +6 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/sharedStyles.js +3 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/index.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/sharedStyles.js +2 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/sharedStyles.js +2 -1
- package/dist/types/analytics/types/events.d.ts +1 -0
- package/dist/types/styles/index.d.ts +1 -1
- package/dist/types/ui/Expand/sharedStyles.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/events.d.ts +1 -0
- package/dist/types-ts4.5/styles/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Expand/sharedStyles.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 106.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#163360](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/163360)
|
|
8
|
+
[`5166e50d3a4d8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5166e50d3a4d8) -
|
|
9
|
+
EDITOR-367 cleans up feature gate `platform_editor_transaction_skip_validation`
|
|
10
|
+
|
|
11
|
+
## 106.1.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#163976](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/163976)
|
|
16
|
+
[`668e81e097994`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/668e81e097994) -
|
|
17
|
+
[ED-28113] this change uses a constant to set the expand container padding
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 106.1.6
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "106.1.
|
|
19
|
+
var packageVersion = "106.1.8";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
package/dist/cjs/styles/index.js
CHANGED
|
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "DropdownMenuSharedCssClassName", {
|
|
|
63
63
|
return _dropdownMenu.DropdownMenuSharedCssClassName;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "EXPAND_CONTAINER_PADDING", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _sharedStyles.EXPAND_CONTAINER_PADDING;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
66
72
|
Object.defineProperty(exports, "EXTENSION_PADDING", {
|
|
67
73
|
enumerable: true,
|
|
68
74
|
get: function get() {
|
|
@@ -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 = "106.1.
|
|
26
|
+
var packageVersion = "106.1.8";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.sharedExpandStyles = void 0;
|
|
7
|
+
exports.sharedExpandStyles = exports.EXPAND_CONTAINER_PADDING = void 0;
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
@@ -16,6 +16,7 @@ var EXPAND_SELECTED_BACKGROUND = "var(--ds-surface, rgba(255, 255, 255, 0.6))";
|
|
|
16
16
|
var EXPAND_FOCUSED_BORDER_COLOR = "var(--ds-border-focused, #388BFF)";
|
|
17
17
|
var EXPAND_COLLAPSED_BORDER_COLOR = 'transparent';
|
|
18
18
|
var EXPAND_EXPANDED_BORDER_COLOR = "var(--ds-border, #091E4224)";
|
|
19
|
+
var EXPAND_CONTAINER_PADDING = exports.EXPAND_CONTAINER_PADDING = 8;
|
|
19
20
|
var containerStyles = function containerStyles(styleProps) {
|
|
20
21
|
var expanded = styleProps.expanded,
|
|
21
22
|
focused = styleProps.focused;
|
|
@@ -39,7 +40,7 @@ var containerStyles = function containerStyles(styleProps) {
|
|
|
39
40
|
margin: margin,
|
|
40
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
42
|
transition: "background 0.3s ".concat(_editorSharedStyles.akEditorSwoopCubicBezier, ", border-color 0.3s ").concat(_editorSharedStyles.akEditorSwoopCubicBezier),
|
|
42
|
-
padding: "var(--ds-space-100,
|
|
43
|
+
padding: "var(--ds-space-100, ".concat("".concat(EXPAND_CONTAINER_PADDING, "px"), ")"),
|
|
43
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
44
45
|
'td > :not(style):first-child, td > style:first-child + *': {
|
|
45
46
|
marginTop: 0
|
|
@@ -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 = "106.1.
|
|
4
|
+
const packageVersion = "106.1.8";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -33,7 +33,7 @@ export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
|
|
|
33
33
|
export { buttonGroupStyle, buttonGroupStyleBeforeVisualRefresh, disableBlueBorderStyles, separatorStyles, wrapperStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding } from './shared/plugins';
|
|
34
34
|
export { UnsupportedSharedCssClassName, unsupportedStyles } from './shared/unsupported-content';
|
|
35
35
|
export { expandIconWrapperStyle, expandClassNames, expandIconContainerStyle } from './shared/expand';
|
|
36
|
-
export { sharedExpandStyles } from '../ui/Expand/sharedStyles';
|
|
36
|
+
export { sharedExpandStyles, EXPAND_CONTAINER_PADDING } from '../ui/Expand/sharedStyles';
|
|
37
37
|
export { ClassNames as MediaSharedClassNames } from './shared/media';
|
|
38
38
|
export { BreakoutCssClassName } from './shared/breakout';
|
|
39
39
|
export { BODIED_EXT_MBE_MARGIN_TOP } from './shared/extension';
|
|
@@ -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 = "106.1.
|
|
16
|
+
const packageVersion = "106.1.8";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -8,6 +8,7 @@ const EXPAND_SELECTED_BACKGROUND = "var(--ds-surface, rgba(255, 255, 255, 0.6))"
|
|
|
8
8
|
const EXPAND_FOCUSED_BORDER_COLOR = "var(--ds-border-focused, #388BFF)";
|
|
9
9
|
const EXPAND_COLLAPSED_BORDER_COLOR = 'transparent';
|
|
10
10
|
const EXPAND_EXPANDED_BORDER_COLOR = "var(--ds-border, #091E4224)";
|
|
11
|
+
export const EXPAND_CONTAINER_PADDING = 8;
|
|
11
12
|
const containerStyles = styleProps => {
|
|
12
13
|
const {
|
|
13
14
|
expanded,
|
|
@@ -32,7 +33,7 @@ const containerStyles = styleProps => {
|
|
|
32
33
|
margin: margin,
|
|
33
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
34
35
|
transition: `background 0.3s ${akEditorSwoopCubicBezier}, border-color 0.3s ${akEditorSwoopCubicBezier}`,
|
|
35
|
-
padding:
|
|
36
|
+
padding: `var(--ds-space-100, ${`${EXPAND_CONTAINER_PADDING}px`})`,
|
|
36
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
37
38
|
'td > :not(style):first-child, td > style:first-child + *': {
|
|
38
39
|
marginTop: 0
|
|
@@ -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 = "106.1.
|
|
10
|
+
var packageVersion = "106.1.8";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
package/dist/esm/styles/index.js
CHANGED
|
@@ -33,7 +33,7 @@ export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
|
|
|
33
33
|
export { buttonGroupStyle, buttonGroupStyleBeforeVisualRefresh, disableBlueBorderStyles, separatorStyles, wrapperStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding } from './shared/plugins';
|
|
34
34
|
export { UnsupportedSharedCssClassName, unsupportedStyles } from './shared/unsupported-content';
|
|
35
35
|
export { expandIconWrapperStyle, expandClassNames, expandIconContainerStyle } from './shared/expand';
|
|
36
|
-
export { sharedExpandStyles } from '../ui/Expand/sharedStyles';
|
|
36
|
+
export { sharedExpandStyles, EXPAND_CONTAINER_PADDING } from '../ui/Expand/sharedStyles';
|
|
37
37
|
export { ClassNames as MediaSharedClassNames } from './shared/media';
|
|
38
38
|
export { BreakoutCssClassName } from './shared/breakout';
|
|
39
39
|
export { BODIED_EXT_MBE_MARGIN_TOP } from './shared/extension';
|
|
@@ -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 = "106.1.
|
|
23
|
+
var packageVersion = "106.1.8";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -10,6 +10,7 @@ var EXPAND_SELECTED_BACKGROUND = "var(--ds-surface, rgba(255, 255, 255, 0.6))";
|
|
|
10
10
|
var EXPAND_FOCUSED_BORDER_COLOR = "var(--ds-border-focused, #388BFF)";
|
|
11
11
|
var EXPAND_COLLAPSED_BORDER_COLOR = 'transparent';
|
|
12
12
|
var EXPAND_EXPANDED_BORDER_COLOR = "var(--ds-border, #091E4224)";
|
|
13
|
+
export var EXPAND_CONTAINER_PADDING = 8;
|
|
13
14
|
var containerStyles = function containerStyles(styleProps) {
|
|
14
15
|
var expanded = styleProps.expanded,
|
|
15
16
|
focused = styleProps.focused;
|
|
@@ -33,7 +34,7 @@ var containerStyles = function containerStyles(styleProps) {
|
|
|
33
34
|
margin: margin,
|
|
34
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
35
36
|
transition: "background 0.3s ".concat(akEditorSwoopCubicBezier, ", border-color 0.3s ").concat(akEditorSwoopCubicBezier),
|
|
36
|
-
padding: "var(--ds-space-100,
|
|
37
|
+
padding: "var(--ds-space-100, ".concat("".concat(EXPAND_CONTAINER_PADDING, "px"), ")"),
|
|
37
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
38
39
|
'td > :not(style):first-child, td > style:first-child + *': {
|
|
39
40
|
marginTop: 0
|
|
@@ -95,6 +95,7 @@ export type FeatureExposureAEP = OperationalExposureAEP<ACTION.EXPOSED, ACTION_S
|
|
|
95
95
|
type InvalidTransactionErrorAEP = OperationalAEP<ACTION.DISPATCHED_INVALID_TRANSACTION, ACTION_SUBJECT.EDITOR, undefined, {
|
|
96
96
|
analyticsEventPayloads: AnalyticsEventPayloadWithChannel[];
|
|
97
97
|
invalidNodes: (SimplifiedNode | string)[];
|
|
98
|
+
isRemoteReplaceDocumentTransaction?: boolean;
|
|
98
99
|
}>;
|
|
99
100
|
type DispatchedValidTransactionAEP = OperationalAEP<ACTION.DISPATCHED_VALID_TRANSACTION, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
100
101
|
type InvalidTransactionStepErrorAEP = OperationalAEP<ACTION.DISCARDED_INVALID_STEPS_FROM_TRANSACTION, ACTION_SUBJECT.EDITOR, undefined, {
|
|
@@ -30,7 +30,7 @@ export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
|
|
|
30
30
|
export { buttonGroupStyle, buttonGroupStyleBeforeVisualRefresh, disableBlueBorderStyles, separatorStyles, wrapperStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding, } from './shared/plugins';
|
|
31
31
|
export { UnsupportedSharedCssClassName, unsupportedStyles } from './shared/unsupported-content';
|
|
32
32
|
export { expandIconWrapperStyle, expandClassNames, expandIconContainerStyle, } from './shared/expand';
|
|
33
|
-
export { sharedExpandStyles } from '../ui/Expand/sharedStyles';
|
|
33
|
+
export { sharedExpandStyles, EXPAND_CONTAINER_PADDING } from '../ui/Expand/sharedStyles';
|
|
34
34
|
export { ClassNames as MediaSharedClassNames } from './shared/media';
|
|
35
35
|
export { BreakoutCssClassName } from './shared/breakout';
|
|
36
36
|
export { BODIED_EXT_MBE_MARGIN_TOP } from './shared/extension';
|
|
@@ -95,6 +95,7 @@ export type FeatureExposureAEP = OperationalExposureAEP<ACTION.EXPOSED, ACTION_S
|
|
|
95
95
|
type InvalidTransactionErrorAEP = OperationalAEP<ACTION.DISPATCHED_INVALID_TRANSACTION, ACTION_SUBJECT.EDITOR, undefined, {
|
|
96
96
|
analyticsEventPayloads: AnalyticsEventPayloadWithChannel[];
|
|
97
97
|
invalidNodes: (SimplifiedNode | string)[];
|
|
98
|
+
isRemoteReplaceDocumentTransaction?: boolean;
|
|
98
99
|
}>;
|
|
99
100
|
type DispatchedValidTransactionAEP = OperationalAEP<ACTION.DISPATCHED_VALID_TRANSACTION, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
100
101
|
type InvalidTransactionStepErrorAEP = OperationalAEP<ACTION.DISCARDED_INVALID_STEPS_FROM_TRANSACTION, ACTION_SUBJECT.EDITOR, undefined, {
|
|
@@ -30,7 +30,7 @@ export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
|
|
|
30
30
|
export { buttonGroupStyle, buttonGroupStyleBeforeVisualRefresh, disableBlueBorderStyles, separatorStyles, wrapperStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding, } from './shared/plugins';
|
|
31
31
|
export { UnsupportedSharedCssClassName, unsupportedStyles } from './shared/unsupported-content';
|
|
32
32
|
export { expandIconWrapperStyle, expandClassNames, expandIconContainerStyle, } from './shared/expand';
|
|
33
|
-
export { sharedExpandStyles } from '../ui/Expand/sharedStyles';
|
|
33
|
+
export { sharedExpandStyles, EXPAND_CONTAINER_PADDING } from '../ui/Expand/sharedStyles';
|
|
34
34
|
export { ClassNames as MediaSharedClassNames } from './shared/media';
|
|
35
35
|
export { BreakoutCssClassName } from './shared/breakout';
|
|
36
36
|
export { BODIED_EXT_MBE_MARGIN_TOP } from './shared/extension';
|
package/package.json
CHANGED