@atlaskit/editor-common 107.12.0 → 107.12.2

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,25 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#190502](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190502)
8
+ [`3eedf393ab015`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3eedf393ab015) -
9
+ ENGHEALTH-31576 Update ariaExpanded value to be false when search list is not present in
10
+ HyperlinkAddToolbar
11
+ - Updated dependencies
12
+
13
+ ## 107.12.1
14
+
15
+ ### Patch Changes
16
+
17
+ - [#190680](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190680)
18
+ [`c27708467595b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c27708467595b) -
19
+ [ux] ENGHEALTH-32145 A11y violation detected for rule "label" for "@af/editor-plugin-table-tests"
20
+ from "Editor: Jenga"
21
+ - Updated dependencies
22
+
3
23
  ## 107.12.0
4
24
 
5
25
  ### Minor Changes
@@ -26,6 +26,7 @@ var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-n
26
26
  var _ = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
27
27
  var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross-circle"));
28
28
  var _primitives = require("@atlaskit/primitives");
29
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
29
30
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
30
31
  var _analytics = require("../../../analytics");
31
32
  var _ui = require("../../../ui");
@@ -874,7 +875,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
874
875
  id: screenReaderDescriptionId
875
876
  }, formatMessage(messages.searchLinkAriaDescription)), (0, _react2.jsx)(_ui.PanelTextInput, {
876
877
  role: "combobox",
877
- ariaExpanded: true,
878
+ ariaExpanded: (0, _expValEquals.expValEquals)('editor_enghealth_hyperlink_toolbar_aria_values', 'isEnabled', true, false) ? items && items.length > 0 && !isLoading : true,
878
879
  ariaActiveDescendant: ariaActiveDescendant,
879
880
  ariaControls: linkSearchListId,
880
881
  ariaAutoComplete: true,
@@ -291,6 +291,11 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
291
291
  defaultMessage: 'Row options',
292
292
  description: 'The row drag handle to move the row within the table. Click to open a menu for more row options.'
293
293
  },
294
+ dragHandleZone: {
295
+ id: 'fabric.editor.dragHandleZone',
296
+ defaultMessage: 'Activate drag handle zone',
297
+ description: 'The drag handle zone to trigger the drag handle to move the row/column within the table.'
298
+ },
294
299
  columnDragHandle: {
295
300
  id: 'fabric.editor.columnDragHandle',
296
301
  defaultMessage: 'Column options',
@@ -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.11.0";
19
+ var packageVersion = "107.12.1";
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.11.0";
26
+ var packageVersion = "107.12.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -17,6 +17,7 @@ import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
17
17
  import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle';
18
18
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
19
  import { Pressable, xcss } from '@atlaskit/primitives';
20
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
20
21
  import Tooltip from '@atlaskit/tooltip';
21
22
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '../../../analytics';
22
23
  import { Announcer, PanelTextInput } from '../../../ui';
@@ -726,7 +727,7 @@ export class HyperlinkLinkAddToolbar extends PureComponent {
726
727
  id: screenReaderDescriptionId
727
728
  }, formatMessage(messages.searchLinkAriaDescription)), jsx(PanelTextInput, {
728
729
  role: "combobox",
729
- ariaExpanded: true,
730
+ ariaExpanded: expValEquals('editor_enghealth_hyperlink_toolbar_aria_values', 'isEnabled', true, false) ? items && items.length > 0 && !isLoading : true,
730
731
  ariaActiveDescendant: ariaActiveDescendant,
731
732
  ariaControls: linkSearchListId,
732
733
  ariaAutoComplete: true,
@@ -285,6 +285,11 @@ export const messages = defineMessages({
285
285
  defaultMessage: 'Row options',
286
286
  description: 'The row drag handle to move the row within the table. Click to open a menu for more row options.'
287
287
  },
288
+ dragHandleZone: {
289
+ id: 'fabric.editor.dragHandleZone',
290
+ defaultMessage: 'Activate drag handle zone',
291
+ description: 'The drag handle zone to trigger the drag handle to move the row/column within the table.'
292
+ },
288
293
  columnDragHandle: {
289
294
  id: 'fabric.editor.columnDragHandle',
290
295
  defaultMessage: 'Column options',
@@ -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.11.0";
4
+ const packageVersion = "107.12.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 = "107.11.0";
16
+ const packageVersion = "107.12.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -28,6 +28,7 @@ import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
28
28
  import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle';
29
29
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
30
30
  import { Pressable, xcss } from '@atlaskit/primitives';
31
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
31
32
  import Tooltip from '@atlaskit/tooltip';
32
33
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '../../../analytics';
33
34
  import { Announcer, PanelTextInput } from '../../../ui';
@@ -870,7 +871,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
870
871
  id: screenReaderDescriptionId
871
872
  }, formatMessage(messages.searchLinkAriaDescription)), jsx(PanelTextInput, {
872
873
  role: "combobox",
873
- ariaExpanded: true,
874
+ ariaExpanded: expValEquals('editor_enghealth_hyperlink_toolbar_aria_values', 'isEnabled', true, false) ? items && items.length > 0 && !isLoading : true,
874
875
  ariaActiveDescendant: ariaActiveDescendant,
875
876
  ariaControls: linkSearchListId,
876
877
  ariaAutoComplete: true,
@@ -285,6 +285,11 @@ export var messages = defineMessages({
285
285
  defaultMessage: 'Row options',
286
286
  description: 'The row drag handle to move the row within the table. Click to open a menu for more row options.'
287
287
  },
288
+ dragHandleZone: {
289
+ id: 'fabric.editor.dragHandleZone',
290
+ defaultMessage: 'Activate drag handle zone',
291
+ description: 'The drag handle zone to trigger the drag handle to move the row/column within the table.'
292
+ },
288
293
  columnDragHandle: {
289
294
  id: 'fabric.editor.columnDragHandle',
290
295
  defaultMessage: 'Column options',
@@ -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.11.0";
10
+ var packageVersion = "107.12.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 = "107.11.0";
23
+ var packageVersion = "107.12.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -284,6 +284,11 @@ export declare const messages: {
284
284
  defaultMessage: string;
285
285
  description: string;
286
286
  };
287
+ dragHandleZone: {
288
+ id: string;
289
+ defaultMessage: string;
290
+ description: string;
291
+ };
287
292
  columnDragHandle: {
288
293
  id: string;
289
294
  defaultMessage: string;
@@ -284,6 +284,11 @@ export declare const messages: {
284
284
  defaultMessage: string;
285
285
  description: string;
286
286
  };
287
+ dragHandleZone: {
288
+ id: string;
289
+ defaultMessage: string;
290
+ description: string;
291
+ };
287
292
  columnDragHandle: {
288
293
  id: string;
289
294
  defaultMessage: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.12.0",
3
+ "version": "107.12.2",
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/"
@@ -147,7 +147,7 @@
147
147
  "@atlaskit/link-datasource": "^4.14.0",
148
148
  "@atlaskit/link-picker": "^3.8.0",
149
149
  "@atlaskit/media-card": "^79.4.0",
150
- "@atlaskit/media-client": "^35.1.0",
150
+ "@atlaskit/media-client": "^35.2.0",
151
151
  "@atlaskit/media-client-react": "^4.1.0",
152
152
  "@atlaskit/media-common": "^12.3.0",
153
153
  "@atlaskit/media-file-preview": "^0.11.0",
@@ -171,7 +171,7 @@
171
171
  "@atlaskit/task-decision": "^19.2.0",
172
172
  "@atlaskit/textfield": "^8.0.0",
173
173
  "@atlaskit/theme": "^19.0.0",
174
- "@atlaskit/tmp-editor-statsig": "^9.10.0",
174
+ "@atlaskit/tmp-editor-statsig": "^9.12.0",
175
175
  "@atlaskit/tokens": "^5.6.0",
176
176
  "@atlaskit/tooltip": "^20.3.0",
177
177
  "@atlaskit/width-detector": "^5.0.0",