@atlaskit/editor-common 78.33.2 → 78.33.3

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,11 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 78.33.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#85498](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85498) [`ae3b8e85ce49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ae3b8e85ce49) - [ux] [ECA11Y-17] Added screen reader announcement for insertion and removal of table columns and rows
8
+
3
9
  ## 78.33.2
4
10
 
5
11
  ### Patch Changes
@@ -121,6 +121,26 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
121
121
  defaultMessage: 'Row numbers',
122
122
  desciption: 'Adds a number to each row except header row'
123
123
  },
124
+ rowsAreInserted: {
125
+ id: 'fabric.editor.rowsAreInserted',
126
+ defaultMessage: '{count, plural, one {A row has been} other {{count} rows have been}} inserted',
127
+ description: 'Assistive message following the insertion of row(s)'
128
+ },
129
+ rowsAreRemoved: {
130
+ id: 'fabric.editor.rowsAreRemoved',
131
+ defaultMessage: '{count, plural, one {The row has been} other {{count} rows have been}} removed',
132
+ description: 'Assistive message following the removal of row(s)'
133
+ },
134
+ columnsAreInserted: {
135
+ id: 'fabric.editor.columnsAreInserted',
136
+ defaultMessage: '{count, plural, one {A column has been} other {{count} columns have been}} inserted',
137
+ description: 'Assistive message following the insertion of column(s)'
138
+ },
139
+ columnsAreRemoved: {
140
+ id: 'fabric.editor.columnsAreRemoved',
141
+ defaultMessage: '{count, plural, one {The column has been} other {{count} columns have been}} removed',
142
+ description: 'Assistive message following the removal of column(s)'
143
+ },
124
144
  cellOptions: {
125
145
  id: 'fabric.editor.cellOptions',
126
146
  defaultMessage: 'Cell options',
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
16
16
  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 && Object.prototype.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; }
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 = "78.33.2";
19
+ var packageVersion = "78.33.3";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // TODO: Sanitise the URL instead of just removing it
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
20
20
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
21
21
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "78.33.2";
23
+ var packageVersion = "78.33.3";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  var DropList = /*#__PURE__*/function (_Component) {
@@ -115,6 +115,26 @@ export const messages = defineMessages({
115
115
  defaultMessage: 'Row numbers',
116
116
  desciption: 'Adds a number to each row except header row'
117
117
  },
118
+ rowsAreInserted: {
119
+ id: 'fabric.editor.rowsAreInserted',
120
+ defaultMessage: '{count, plural, one {A row has been} other {{count} rows have been}} inserted',
121
+ description: 'Assistive message following the insertion of row(s)'
122
+ },
123
+ rowsAreRemoved: {
124
+ id: 'fabric.editor.rowsAreRemoved',
125
+ defaultMessage: '{count, plural, one {The row has been} other {{count} rows have been}} removed',
126
+ description: 'Assistive message following the removal of row(s)'
127
+ },
128
+ columnsAreInserted: {
129
+ id: 'fabric.editor.columnsAreInserted',
130
+ defaultMessage: '{count, plural, one {A column has been} other {{count} columns have been}} inserted',
131
+ description: 'Assistive message following the insertion of column(s)'
132
+ },
133
+ columnsAreRemoved: {
134
+ id: 'fabric.editor.columnsAreRemoved',
135
+ defaultMessage: '{count, plural, one {The column has been} other {{count} columns have been}} removed',
136
+ description: 'Assistive message following the removal of column(s)'
137
+ },
118
138
  cellOptions: {
119
139
  id: 'fabric.editor.cellOptions',
120
140
  defaultMessage: 'Cell options',
@@ -1,6 +1,6 @@
1
1
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
2
2
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
3
- const packageVersion = "78.33.2";
3
+ const packageVersion = "78.33.3";
4
4
  const sanitiseSentryEvents = (data, _hint) => {
5
5
  // Remove URL as it has UGC
6
6
  // TODO: Sanitise the URL instead of just removing it
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
7
7
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
8
8
  import Layer from '../Layer';
9
9
  const packageName = "@atlaskit/editor-common";
10
- const packageVersion = "78.33.2";
10
+ const packageVersion = "78.33.3";
11
11
  const halfFocusRing = 1;
12
12
  const dropOffset = '0, 8';
13
13
  class DropList extends Component {
@@ -115,6 +115,26 @@ export var messages = defineMessages({
115
115
  defaultMessage: 'Row numbers',
116
116
  desciption: 'Adds a number to each row except header row'
117
117
  },
118
+ rowsAreInserted: {
119
+ id: 'fabric.editor.rowsAreInserted',
120
+ defaultMessage: '{count, plural, one {A row has been} other {{count} rows have been}} inserted',
121
+ description: 'Assistive message following the insertion of row(s)'
122
+ },
123
+ rowsAreRemoved: {
124
+ id: 'fabric.editor.rowsAreRemoved',
125
+ defaultMessage: '{count, plural, one {The row has been} other {{count} rows have been}} removed',
126
+ description: 'Assistive message following the removal of row(s)'
127
+ },
128
+ columnsAreInserted: {
129
+ id: 'fabric.editor.columnsAreInserted',
130
+ defaultMessage: '{count, plural, one {A column has been} other {{count} columns have been}} inserted',
131
+ description: 'Assistive message following the insertion of column(s)'
132
+ },
133
+ columnsAreRemoved: {
134
+ id: 'fabric.editor.columnsAreRemoved',
135
+ defaultMessage: '{count, plural, one {The column has been} other {{count} columns have been}} removed',
136
+ description: 'Assistive message following the removal of column(s)'
137
+ },
118
138
  cellOptions: {
119
139
  id: 'fabric.editor.cellOptions',
120
140
  defaultMessage: 'Cell options',
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
8
8
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
9
- var packageVersion = "78.33.2";
9
+ var packageVersion = "78.33.3";
10
10
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
11
11
  // Remove URL as it has UGC
12
12
  // TODO: Sanitise the URL instead of just removing it
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
15
15
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
16
16
  import Layer from '../Layer';
17
17
  var packageName = "@atlaskit/editor-common";
18
- var packageVersion = "78.33.2";
18
+ var packageVersion = "78.33.3";
19
19
  var halfFocusRing = 1;
20
20
  var dropOffset = '0, 8';
21
21
  var DropList = /*#__PURE__*/function (_Component) {
@@ -114,6 +114,26 @@ export declare const messages: {
114
114
  defaultMessage: string;
115
115
  desciption: string;
116
116
  };
117
+ rowsAreInserted: {
118
+ id: string;
119
+ defaultMessage: string;
120
+ description: string;
121
+ };
122
+ rowsAreRemoved: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
127
+ columnsAreInserted: {
128
+ id: string;
129
+ defaultMessage: string;
130
+ description: string;
131
+ };
132
+ columnsAreRemoved: {
133
+ id: string;
134
+ defaultMessage: string;
135
+ description: string;
136
+ };
117
137
  cellOptions: {
118
138
  id: string;
119
139
  defaultMessage: string;
@@ -114,6 +114,26 @@ export declare const messages: {
114
114
  defaultMessage: string;
115
115
  desciption: string;
116
116
  };
117
+ rowsAreInserted: {
118
+ id: string;
119
+ defaultMessage: string;
120
+ description: string;
121
+ };
122
+ rowsAreRemoved: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
127
+ columnsAreInserted: {
128
+ id: string;
129
+ defaultMessage: string;
130
+ description: string;
131
+ };
132
+ columnsAreRemoved: {
133
+ id: string;
134
+ defaultMessage: string;
135
+ description: string;
136
+ };
117
137
  cellOptions: {
118
138
  id: string;
119
139
  defaultMessage: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "78.33.2",
3
+ "version": "78.33.3",
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/"