@atlaskit/editor-common 112.6.0 → 112.7.0
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/codemods/migrates/entry-points.ts +8 -3
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +0 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/ButtonSpotlightCard.js +1 -1
- package/dist/cjs/ui/Pulse/Pulse.js +2 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +0 -2
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +0 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/ButtonSpotlightCard.js +2 -0
- package/dist/es2019/ui/Pulse/Pulse.js +2 -0
- package/dist/es2019/ui-menu/DropdownMenu/index.js +0 -2
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +0 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/ButtonSpotlightCard.js +2 -0
- package/dist/esm/ui/Pulse/Pulse.js +2 -0
- package/dist/esm/ui-menu/DropdownMenu/index.js +0 -2
- package/dist/types/ai-messages/ai-languages.d.ts +190 -190
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +1 -1
- package/dist/types/element-browser/components/ViewMore.d.ts +1 -1
- package/dist/types/element-browser/constants.d.ts +2 -2
- package/dist/types/experiences/types.d.ts +1 -1
- package/dist/types/extensions/UnknownMacroPlaceholder.d.ts +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +1 -1
- package/dist/types/media-inline/views/frame.d.ts +1 -1
- package/dist/types/resizer/ResizerBreakoutModeLabel.d.ts +1 -1
- package/dist/types/selection/utils.d.ts +1 -1
- package/dist/types/styles/shared/resizer.d.ts +3 -3
- package/dist/types/styles/shared/table.d.ts +23 -23
- package/dist/types/toolbar/rank.d.ts +151 -151
- package/dist/types/ui/Announcer/announcer.d.ts +1 -1
- package/dist/types/ui/DropList/index.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types/ui/Toolbar/DropdownTriggerWrapper.d.ts +1 -1
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +2 -2
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +7 -7
- package/dist/types/utils/breakout.d.ts +1 -1
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/ai-messages/ai-languages.d.ts +190 -190
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ViewMore.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/constants.d.ts +2 -2
- package/dist/types-ts4.5/experiences/types.d.ts +1 -1
- package/dist/types-ts4.5/extensions/UnknownMacroPlaceholder.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/views/frame.d.ts +1 -1
- package/dist/types-ts4.5/resizer/ResizerBreakoutModeLabel.d.ts +1 -1
- package/dist/types-ts4.5/selection/utils.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/resizer.d.ts +3 -3
- package/dist/types-ts4.5/styles/shared/table.d.ts +23 -23
- package/dist/types-ts4.5/toolbar/rank.d.ts +151 -151
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +1 -1
- package/dist/types-ts4.5/ui/DropList/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/DropdownTriggerWrapper.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +2 -2
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +7 -7
- package/dist/types-ts4.5/utils/breakout.d.ts +1 -1
- package/dist/types-ts4.5/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 112.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`df047c96e4f78`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df047c96e4f78) -
|
|
8
|
+
Refresh cash for a smart card if it's not been fetched before
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 112.6.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 112.6.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -15,7 +15,12 @@ export const validatorExports: ((j: JSCodeshift, root: Collection<Node>) => void
|
|
|
15
15
|
'ADFStages',
|
|
16
16
|
].map((name) => changeImportEntryPoint(`${PACKAGE_NAME}/utils`, name, `${PACKAGE_NAME}/validator`));
|
|
17
17
|
|
|
18
|
-
export const validatorTypes: ((j: JSCodeshift, root: Collection<Node>) => void)[] = [
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
export const validatorTypes: ((j: JSCodeshift, root: Collection<Node>) => void)[] = [
|
|
19
|
+
'ADDoc',
|
|
20
|
+
'ADFStage',
|
|
21
|
+
'ADMark',
|
|
22
|
+
'ADMarkSimple',
|
|
23
|
+
'ADNode',
|
|
24
|
+
].map((name) =>
|
|
25
|
+
changeImportEntryPoint(`${PACKAGE_NAME}/utils`, name, `${PACKAGE_NAME}/validator`, true),
|
|
21
26
|
);
|
|
@@ -146,8 +146,6 @@ var LinkSearchListItem = function LinkSearchListItem(props, ref) {
|
|
|
146
146
|
}, item.container, renderTimeStamp())));
|
|
147
147
|
};
|
|
148
148
|
var ForwardedLinkSearchListItem = /*#__PURE__*/(0, _react.forwardRef)(LinkSearchListItem);
|
|
149
|
-
|
|
150
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- injectIntl ref typing incompatible with explicit RefAttributes<HTMLDivElement>
|
|
151
149
|
var ForwardedLinkSearchListItemWithIntl = exports.ForwardedLinkSearchListItemWithIntl = (0, _reactIntlNext.injectIntl)(ForwardedLinkSearchListItem, {
|
|
152
150
|
forwardRef: true
|
|
153
151
|
});
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
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); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "
|
|
22
|
+
var packageVersion = "0.0.0-development";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "
|
|
27
|
+
var packageVersion = "0.0.0-development";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -9,7 +9,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _onboarding = require("@atlaskit/onboarding");
|
|
11
11
|
var _popper = require("@atlaskit/popper");
|
|
12
|
-
var _excluded = ["referenceElement", "placement"];
|
|
12
|
+
var _excluded = ["referenceElement", "placement"]; // eslint-disable-next-line @atlaskit/design-system/use-spotlight-package
|
|
13
13
|
/*
|
|
14
14
|
* ButtonSpotlightCard is an editor custom spotlight that renders next to a floating toolbar button.
|
|
15
15
|
* It is built on top of the SpotlightCard component from @atlaskit/onboarding.
|
|
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.Pulse = Pulse;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _onboarding = require("@atlaskit/onboarding");
|
|
10
|
+
// eslint-disable-next-line @atlaskit/design-system/use-spotlight-package
|
|
11
|
+
|
|
10
12
|
/**
|
|
11
13
|
* Wraps children with {@link SpotlightPulse} component.
|
|
12
14
|
*
|
|
@@ -371,8 +371,6 @@ function DropdownMenuItem(_ref) {
|
|
|
371
371
|
}
|
|
372
372
|
return dropListItem;
|
|
373
373
|
}
|
|
374
|
-
|
|
375
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Ignored via go/ees005
|
|
376
374
|
var DropdownMenuWithKeyboardNavigation = exports.DropdownMenuWithKeyboardNavigation = /*#__PURE__*/_react.default.memo(
|
|
377
375
|
// Ignored via go/ees005
|
|
378
376
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -139,8 +139,6 @@ const LinkSearchListItem = (props, ref) => {
|
|
|
139
139
|
}, item.container, renderTimeStamp())));
|
|
140
140
|
};
|
|
141
141
|
const ForwardedLinkSearchListItem = /*#__PURE__*/forwardRef(LinkSearchListItem);
|
|
142
|
-
|
|
143
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- injectIntl ref typing incompatible with explicit RefAttributes<HTMLDivElement>
|
|
144
142
|
export const ForwardedLinkSearchListItemWithIntl = injectIntl(ForwardedLinkSearchListItem, {
|
|
145
143
|
forwardRef: true
|
|
146
144
|
});
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "
|
|
7
|
+
const packageVersion = "0.0.0-development";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "
|
|
17
|
+
const packageVersion = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -390,8 +390,6 @@ export function DropdownMenuItem({
|
|
|
390
390
|
}
|
|
391
391
|
return dropListItem;
|
|
392
392
|
}
|
|
393
|
-
|
|
394
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Ignored via go/ees005
|
|
395
393
|
export const DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
|
|
396
394
|
// Ignored via go/ees005
|
|
397
395
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -137,8 +137,6 @@ var LinkSearchListItem = function LinkSearchListItem(props, ref) {
|
|
|
137
137
|
}, item.container, renderTimeStamp())));
|
|
138
138
|
};
|
|
139
139
|
var ForwardedLinkSearchListItem = /*#__PURE__*/forwardRef(LinkSearchListItem);
|
|
140
|
-
|
|
141
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- injectIntl ref typing incompatible with explicit RefAttributes<HTMLDivElement>
|
|
142
140
|
export var ForwardedLinkSearchListItemWithIntl = injectIntl(ForwardedLinkSearchListItem, {
|
|
143
141
|
forwardRef: true
|
|
144
142
|
});
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "
|
|
13
|
+
var packageVersion = "0.0.0-development";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "
|
|
24
|
+
var packageVersion = "0.0.0-development";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
var _excluded = ["referenceElement", "placement"];
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/use-spotlight-package
|
|
4
6
|
import { SpotlightCard } from '@atlaskit/onboarding';
|
|
5
7
|
import { Popper } from '@atlaskit/popper';
|
|
6
8
|
/*
|
|
@@ -364,8 +364,6 @@ export function DropdownMenuItem(_ref) {
|
|
|
364
364
|
}
|
|
365
365
|
return dropListItem;
|
|
366
366
|
}
|
|
367
|
-
|
|
368
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Ignored via go/ees005
|
|
369
367
|
var DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
|
|
370
368
|
// Ignored via go/ees005
|
|
371
369
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|