@atlaskit/editor-common 103.3.2 → 103.4.1

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 103.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#139158](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139158)
8
+ [`e535a2a6ac9ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e535a2a6ac9ea) -
9
+ [ux] [A11Y-10038] Announce status popup when it opens and let users know how to access the popup
10
+
11
+ ## 103.4.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
16
+ [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
17
+ [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
18
+ `@atlassian/confluence-presets` package with Confluence `full-page` preset is created
19
+
3
20
  ## 103.3.2
4
21
 
5
22
  ### Patch Changes
@@ -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…',
@@ -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…',
@@ -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…⁠⁡‌‍؜‍⁠‍⁣⁤',
@@ -20,5 +20,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
20
20
  id: 'fabric.editor.editStatusColor',
21
21
  defaultMessage: 'Edit Status Color',
22
22
  description: 'Title for the color picker that changes the status color'
23
+ },
24
+ statusPickerOpenedAlert: {
25
+ id: 'fabric.editor.statusPickerOpenedAlert',
26
+ defaultMessage: 'Status editor popup opened, press Tab to access popup',
27
+ description: 'Screen reader alert when the status picker is opened, letting the user know they can press the Tab button to access the status picker'
23
28
  }
24
29
  });
@@ -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.3.2";
20
+ var packageVersion = "103.4.1";
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.3.2";
26
+ var packageVersion = "103.4.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -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…⁠⁡‌‍؜‍⁠‍⁣⁤',
@@ -14,5 +14,10 @@ export const messages = defineMessages({
14
14
  id: 'fabric.editor.editStatusColor',
15
15
  defaultMessage: 'Edit Status Color',
16
16
  description: 'Title for the color picker that changes the status color'
17
+ },
18
+ statusPickerOpenedAlert: {
19
+ id: 'fabric.editor.statusPickerOpenedAlert',
20
+ defaultMessage: 'Status editor popup opened, press Tab to access popup',
21
+ description: 'Screen reader alert when the status picker is opened, letting the user know they can press the Tab button to access the status picker'
17
22
  }
18
23
  });
@@ -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.3.2";
4
+ const packageVersion = "103.4.1";
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.3.2";
16
+ const packageVersion = "103.4.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -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…⁠⁡‌‍؜‍⁠‍⁣⁤',
@@ -14,5 +14,10 @@ export var messages = defineMessages({
14
14
  id: 'fabric.editor.editStatusColor',
15
15
  defaultMessage: 'Edit Status Color',
16
16
  description: 'Title for the color picker that changes the status color'
17
+ },
18
+ statusPickerOpenedAlert: {
19
+ id: 'fabric.editor.statusPickerOpenedAlert',
20
+ defaultMessage: 'Status editor popup opened, press Tab to access popup',
21
+ description: 'Screen reader alert when the status picker is opened, letting the user know they can press the Tab button to access the status picker'
17
22
  }
18
23
  });
@@ -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.3.2";
10
+ var packageVersion = "103.4.1";
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.3.2";
23
+ var packageVersion = "103.4.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -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;
@@ -14,4 +14,9 @@ export declare const messages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ statusPickerOpenedAlert: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
17
22
  };
@@ -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;
@@ -14,4 +14,9 @@ export declare const messages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ statusPickerOpenedAlert: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
17
22
  };
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "103.3.2",
3
+ "version": "103.4.1",
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/"