@atlaskit/editor-common 107.16.4 → 107.17.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 +12 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/types/hyperlink.d.ts +8 -0
- package/dist/types-ts4.5/types/hyperlink.d.ts +8 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 107.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#196046](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/196046)
|
|
8
|
+
[`b0dad85aa7c35`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b0dad85aa7c35) -
|
|
9
|
+
[ux] [ED-27974] Allow hyperlink plugin to change text to link on blur
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 107.16.4
|
|
4
16
|
|
|
5
17
|
### 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 = "107.16.
|
|
19
|
+
var packageVersion = "107.16.4";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// 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 = "107.16.
|
|
26
|
+
var packageVersion = "107.16.4";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -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 = "107.16.
|
|
4
|
+
const packageVersion = "107.16.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 = "107.16.
|
|
16
|
+
const packageVersion = "107.16.4";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -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 = "107.16.
|
|
10
|
+
var packageVersion = "107.16.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 = "107.16.
|
|
23
|
+
var packageVersion = "107.16.4";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -23,6 +23,10 @@ export interface LinkingOptions {
|
|
|
23
23
|
* Enables and configure smart link behaviour
|
|
24
24
|
*/
|
|
25
25
|
smartLinks?: CardOptions;
|
|
26
|
+
/**
|
|
27
|
+
* Convert compatible link text to hyperlinks on blur of the editor
|
|
28
|
+
*/
|
|
29
|
+
autoLinkOnBlur?: boolean;
|
|
26
30
|
}
|
|
27
31
|
type OnClickCallback = ({ event, url, }: {
|
|
28
32
|
event: React.MouseEvent<HTMLAnchorElement>;
|
|
@@ -42,5 +46,9 @@ export interface HyperlinkPluginOptions {
|
|
|
42
46
|
lpLinkPicker?: boolean;
|
|
43
47
|
disableFloatingToolbar?: boolean;
|
|
44
48
|
onClickCallback?: OnClickCallback;
|
|
49
|
+
/**
|
|
50
|
+
* Convert compatible link text to hyperlinks on blur of the editor
|
|
51
|
+
*/
|
|
52
|
+
autoLinkOnBlur?: boolean;
|
|
45
53
|
}
|
|
46
54
|
export {};
|
|
@@ -23,6 +23,10 @@ export interface LinkingOptions {
|
|
|
23
23
|
* Enables and configure smart link behaviour
|
|
24
24
|
*/
|
|
25
25
|
smartLinks?: CardOptions;
|
|
26
|
+
/**
|
|
27
|
+
* Convert compatible link text to hyperlinks on blur of the editor
|
|
28
|
+
*/
|
|
29
|
+
autoLinkOnBlur?: boolean;
|
|
26
30
|
}
|
|
27
31
|
type OnClickCallback = ({ event, url, }: {
|
|
28
32
|
event: React.MouseEvent<HTMLAnchorElement>;
|
|
@@ -42,5 +46,9 @@ export interface HyperlinkPluginOptions {
|
|
|
42
46
|
lpLinkPicker?: boolean;
|
|
43
47
|
disableFloatingToolbar?: boolean;
|
|
44
48
|
onClickCallback?: OnClickCallback;
|
|
49
|
+
/**
|
|
50
|
+
* Convert compatible link text to hyperlinks on blur of the editor
|
|
51
|
+
*/
|
|
52
|
+
autoLinkOnBlur?: boolean;
|
|
45
53
|
}
|
|
46
54
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "107.
|
|
3
|
+
"version": "107.17.0",
|
|
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/"
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"@atlaskit/task-decision": "^19.2.0",
|
|
173
173
|
"@atlaskit/textfield": "^8.0.0",
|
|
174
174
|
"@atlaskit/theme": "^19.0.0",
|
|
175
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
175
|
+
"@atlaskit/tmp-editor-statsig": "^9.24.0",
|
|
176
176
|
"@atlaskit/tokens": "^6.0.0",
|
|
177
177
|
"@atlaskit/tooltip": "^20.4.0",
|
|
178
178
|
"@atlaskit/width-detector": "^5.0.0",
|