@atlaskit/editor-common 103.3.2 → 103.4.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 +9 -0
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/types/hyperlink.d.ts +4 -0
- package/dist/types/types/quick-insert.d.ts +5 -0
- package/dist/types/types/text-formatting.d.ts +4 -0
- package/dist/types-ts4.5/i18n/en.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
- package/dist/types-ts4.5/types/hyperlink.d.ts +4 -0
- package/dist/types-ts4.5/types/quick-insert.d.ts +5 -0
- package/dist/types-ts4.5/types/text-formatting.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 103.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
|
|
8
|
+
[`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
|
|
10
|
+
`@atlassian/confluence-presets` package with Confluence `full-page` preset is created
|
|
11
|
+
|
|
3
12
|
## 103.3.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -415,6 +415,7 @@ var _default = exports.default = {
|
|
|
415
415
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
416
416
|
'fabric.editor.date': 'Date',
|
|
417
417
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
418
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
418
419
|
'fabric.editor.decision': 'Decision',
|
|
419
420
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
420
421
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -415,6 +415,7 @@ var _default = exports.default = {
|
|
|
415
415
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
416
416
|
'fabric.editor.date': 'Date',
|
|
417
417
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
418
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
418
419
|
'fabric.editor.decision': 'Decision',
|
|
419
420
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
420
421
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -415,6 +415,7 @@ var _default = exports.default = {
|
|
|
415
415
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
416
416
|
'fabric.editor.date': 'Date',
|
|
417
417
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
418
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
418
419
|
'fabric.editor.decision': 'Decision',
|
|
419
420
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
420
421
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
@@ -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 = "103.
|
|
20
|
+
var packageVersion = "103.4.0";
|
|
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 = "103.
|
|
26
|
+
var packageVersion = "103.4.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -409,6 +409,7 @@ export default {
|
|
|
409
409
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
410
410
|
'fabric.editor.date': 'Date',
|
|
411
411
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
412
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
412
413
|
'fabric.editor.decision': 'Decision',
|
|
413
414
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
414
415
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
@@ -409,6 +409,7 @@ export default {
|
|
|
409
409
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
410
410
|
'fabric.editor.date': 'Date',
|
|
411
411
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
412
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
412
413
|
'fabric.editor.decision': 'Decision',
|
|
413
414
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
414
415
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
@@ -409,6 +409,7 @@ export default {
|
|
|
409
409
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
410
410
|
'fabric.editor.date': 'Date',
|
|
411
411
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
412
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
412
413
|
'fabric.editor.decision': 'Decision',
|
|
413
414
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
414
415
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
@@ -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 = "103.
|
|
4
|
+
const packageVersion = "103.4.0";
|
|
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 = "103.
|
|
16
|
+
const packageVersion = "103.4.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -409,6 +409,7 @@ export default {
|
|
|
409
409
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
410
410
|
'fabric.editor.date': 'Date',
|
|
411
411
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
412
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
412
413
|
'fabric.editor.decision': 'Decision',
|
|
413
414
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
414
415
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -409,6 +409,7 @@ export default {
|
|
|
409
409
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
410
410
|
'fabric.editor.date': 'Date',
|
|
411
411
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
412
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
412
413
|
'fabric.editor.decision': 'Decision',
|
|
413
414
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
414
415
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -409,6 +409,7 @@ export default {
|
|
|
409
409
|
'fabric.editor.datasourceTitle': 'Edit search query',
|
|
410
410
|
'fabric.editor.date': 'Date',
|
|
411
411
|
'fabric.editor.date.description': 'Add a date using a calendar',
|
|
412
|
+
'fabric.editor.datePickerOpenedAlert': 'Date editor popup opened, press Tab to access popup',
|
|
412
413
|
'fabric.editor.decision': 'Decision',
|
|
413
414
|
'fabric.editor.decision.description': 'Capture decisions so they’re easy to track',
|
|
414
415
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
@@ -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 = "103.
|
|
10
|
+
var packageVersion = "103.4.0";
|
|
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 = "103.
|
|
23
|
+
var packageVersion = "103.4.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -407,6 +407,7 @@ declare const _default: {
|
|
|
407
407
|
'fabric.editor.datasourceTitle': string;
|
|
408
408
|
'fabric.editor.date': string;
|
|
409
409
|
'fabric.editor.date.description': string;
|
|
410
|
+
'fabric.editor.datePickerOpenedAlert': string;
|
|
410
411
|
'fabric.editor.decision': string;
|
|
411
412
|
'fabric.editor.decision.description': string;
|
|
412
413
|
'fabric.editor.decisionPlaceholder': string;
|
|
@@ -407,6 +407,7 @@ declare const _default: {
|
|
|
407
407
|
'fabric.editor.datasourceTitle': string;
|
|
408
408
|
'fabric.editor.date': string;
|
|
409
409
|
'fabric.editor.date.description': string;
|
|
410
|
+
'fabric.editor.datePickerOpenedAlert': string;
|
|
410
411
|
'fabric.editor.decision': string;
|
|
411
412
|
'fabric.editor.decision.description': string;
|
|
412
413
|
'fabric.editor.decisionPlaceholder': string;
|
|
@@ -407,6 +407,7 @@ declare const _default: {
|
|
|
407
407
|
'fabric.editor.datasourceTitle': string;
|
|
408
408
|
'fabric.editor.date': string;
|
|
409
409
|
'fabric.editor.date.description': string;
|
|
410
|
+
'fabric.editor.datePickerOpenedAlert': string;
|
|
410
411
|
'fabric.editor.decision': string;
|
|
411
412
|
'fabric.editor.decision.description': string;
|
|
412
413
|
'fabric.editor.decisionPlaceholder': string;
|
|
@@ -30,6 +30,10 @@ type OnClickCallback = ({ event, url, }: {
|
|
|
30
30
|
}) => void;
|
|
31
31
|
/**
|
|
32
32
|
* Configuration for the Hyperlink plugin
|
|
33
|
+
*
|
|
34
|
+
* @private
|
|
35
|
+
* @deprecated Use {@link HyperlinkPluginOptions} from '@atlaskit/editor-plugin-hyperlink' instead.
|
|
36
|
+
* @see https://product-fabric.atlassian.net/browse/ED-27496
|
|
33
37
|
*/
|
|
34
38
|
export interface HyperlinkPluginOptions {
|
|
35
39
|
linkPicker?: LinkPickerOptions;
|
|
@@ -30,6 +30,11 @@ export type QuickInsertPluginState = {
|
|
|
30
30
|
searchOptions?: QuickInsertSearchOptions;
|
|
31
31
|
};
|
|
32
32
|
export type QuickInsertPluginStateKeys = keyof QuickInsertPluginState;
|
|
33
|
+
/**
|
|
34
|
+
* @private
|
|
35
|
+
* @deprecated Use {@link QuickInsertPluginOptions} from '@atlaskit/editor-plugin-quick-insert' instead.
|
|
36
|
+
* @see https://product-fabric.atlassian.net/browse/ED-27496
|
|
37
|
+
*/
|
|
33
38
|
export interface QuickInsertPluginOptions {
|
|
34
39
|
headless?: boolean;
|
|
35
40
|
disableDefaultItems?: boolean;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { INPUT_METHOD } from '../analytics';
|
|
2
2
|
/**
|
|
3
3
|
* Configuration for the Text Formatting plugin
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @deprecated Use {@link TextFormattingPluginOptions} from '@atlaskit/editor-plugin-text-formatting' package.
|
|
7
|
+
* @see https://product-fabric.atlassian.net/browse/ED-27496
|
|
4
8
|
*/
|
|
5
9
|
export interface TextFormattingOptions {
|
|
6
10
|
disableSuperscriptAndSubscript?: boolean;
|
|
@@ -407,6 +407,7 @@ declare const _default: {
|
|
|
407
407
|
'fabric.editor.datasourceTitle': string;
|
|
408
408
|
'fabric.editor.date': string;
|
|
409
409
|
'fabric.editor.date.description': string;
|
|
410
|
+
'fabric.editor.datePickerOpenedAlert': string;
|
|
410
411
|
'fabric.editor.decision': string;
|
|
411
412
|
'fabric.editor.decision.description': string;
|
|
412
413
|
'fabric.editor.decisionPlaceholder': string;
|
|
@@ -407,6 +407,7 @@ declare const _default: {
|
|
|
407
407
|
'fabric.editor.datasourceTitle': string;
|
|
408
408
|
'fabric.editor.date': string;
|
|
409
409
|
'fabric.editor.date.description': string;
|
|
410
|
+
'fabric.editor.datePickerOpenedAlert': string;
|
|
410
411
|
'fabric.editor.decision': string;
|
|
411
412
|
'fabric.editor.decision.description': string;
|
|
412
413
|
'fabric.editor.decisionPlaceholder': string;
|
|
@@ -407,6 +407,7 @@ declare const _default: {
|
|
|
407
407
|
'fabric.editor.datasourceTitle': string;
|
|
408
408
|
'fabric.editor.date': string;
|
|
409
409
|
'fabric.editor.date.description': string;
|
|
410
|
+
'fabric.editor.datePickerOpenedAlert': string;
|
|
410
411
|
'fabric.editor.decision': string;
|
|
411
412
|
'fabric.editor.decision.description': string;
|
|
412
413
|
'fabric.editor.decisionPlaceholder': string;
|
|
@@ -30,6 +30,10 @@ type OnClickCallback = ({ event, url, }: {
|
|
|
30
30
|
}) => void;
|
|
31
31
|
/**
|
|
32
32
|
* Configuration for the Hyperlink plugin
|
|
33
|
+
*
|
|
34
|
+
* @private
|
|
35
|
+
* @deprecated Use {@link HyperlinkPluginOptions} from '@atlaskit/editor-plugin-hyperlink' instead.
|
|
36
|
+
* @see https://product-fabric.atlassian.net/browse/ED-27496
|
|
33
37
|
*/
|
|
34
38
|
export interface HyperlinkPluginOptions {
|
|
35
39
|
linkPicker?: LinkPickerOptions;
|
|
@@ -30,6 +30,11 @@ export type QuickInsertPluginState = {
|
|
|
30
30
|
searchOptions?: QuickInsertSearchOptions;
|
|
31
31
|
};
|
|
32
32
|
export type QuickInsertPluginStateKeys = keyof QuickInsertPluginState;
|
|
33
|
+
/**
|
|
34
|
+
* @private
|
|
35
|
+
* @deprecated Use {@link QuickInsertPluginOptions} from '@atlaskit/editor-plugin-quick-insert' instead.
|
|
36
|
+
* @see https://product-fabric.atlassian.net/browse/ED-27496
|
|
37
|
+
*/
|
|
33
38
|
export interface QuickInsertPluginOptions {
|
|
34
39
|
headless?: boolean;
|
|
35
40
|
disableDefaultItems?: boolean;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { INPUT_METHOD } from '../analytics';
|
|
2
2
|
/**
|
|
3
3
|
* Configuration for the Text Formatting plugin
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @deprecated Use {@link TextFormattingPluginOptions} from '@atlaskit/editor-plugin-text-formatting' package.
|
|
7
|
+
* @see https://product-fabric.atlassian.net/browse/ED-27496
|
|
4
8
|
*/
|
|
5
9
|
export interface TextFormattingOptions {
|
|
6
10
|
disableSuperscriptAndSubscript?: boolean;
|
package/package.json
CHANGED