@atlaskit/editor-plugin-accessibility-utils 10.0.2 → 10.1.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-plugin-accessibility-utils
2
2
 
3
+ ## 10.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`e5cdd96dcf4f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e5cdd96dcf4f9) -
14
+ Clean up platform_editor_hydratable_ui experiment (shipped as enabled)
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 10.0.2
4
21
 
5
22
  ### Patch Changes
@@ -12,7 +12,6 @@ var _coreUtils = require("@atlaskit/editor-common/core-utils");
12
12
  var _hooks = require("@atlaskit/editor-common/hooks");
13
13
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
14
14
  var _state = require("@atlaskit/editor-prosemirror/state");
15
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
16
15
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
17
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
17
  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) { (0, _defineProperty2.default)(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; }
@@ -42,7 +41,7 @@ var accessibilityUtilsPlugin = exports.accessibilityUtilsPlugin = function acces
42
41
  }
43
42
  },
44
43
  contentComponent: function contentComponent() {
45
- if (!editorView || (0, _coreUtils.isSSR)() && (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true)) {
44
+ if (!editorView || (0, _coreUtils.isSSR)()) {
46
45
  return null;
47
46
  }
48
47
  return /*#__PURE__*/_react.default.createElement(ContentComponent, {
@@ -4,7 +4,6 @@ import { isSSR } from '@atlaskit/editor-common/core-utils';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
5
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
6
6
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
7
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
7
  import VisuallyHidden from '@atlaskit/visually-hidden';
9
8
  const accessibilityUtilsPluginKey = new PluginKey('accessibilityUtilsPlugin');
10
9
  export const accessibilityUtilsPlugin = ({
@@ -33,7 +32,7 @@ export const accessibilityUtilsPlugin = ({
33
32
  }
34
33
  },
35
34
  contentComponent: () => {
36
- if (!editorView || isSSR() && expValEquals('platform_editor_hydratable_ui', 'isEnabled', true)) {
35
+ if (!editorView || isSSR()) {
37
36
  return null;
38
37
  }
39
38
  return /*#__PURE__*/React.createElement(ContentComponent, {
@@ -7,7 +7,6 @@ import { isSSR } from '@atlaskit/editor-common/core-utils';
7
7
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
8
8
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
9
9
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
10
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
10
  import VisuallyHidden from '@atlaskit/visually-hidden';
12
11
  var accessibilityUtilsPluginKey = new PluginKey('accessibilityUtilsPlugin');
13
12
  export var accessibilityUtilsPlugin = function accessibilityUtilsPlugin(_ref) {
@@ -35,7 +34,7 @@ export var accessibilityUtilsPlugin = function accessibilityUtilsPlugin(_ref) {
35
34
  }
36
35
  },
37
36
  contentComponent: function contentComponent() {
38
- if (!editorView || isSSR() && expValEquals('platform_editor_hydratable_ui', 'isEnabled', true)) {
37
+ if (!editorView || isSSR()) {
39
38
  return null;
40
39
  }
41
40
  return /*#__PURE__*/React.createElement(ContentComponent, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-accessibility-utils",
3
- "version": "10.0.2",
3
+ "version": "10.1.1",
4
4
  "description": "Accessibility utils for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,12 +28,12 @@
28
28
  "atlaskit:src": "src/index.ts",
29
29
  "dependencies": {
30
30
  "@atlaskit/editor-prosemirror": "^7.3.0",
31
- "@atlaskit/tmp-editor-statsig": "^64.0.0",
31
+ "@atlaskit/tmp-editor-statsig": "^66.0.0",
32
32
  "@atlaskit/visually-hidden": "^3.0.0",
33
33
  "@babel/runtime": "^7.0.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@atlaskit/editor-common": "^114.5.0",
36
+ "@atlaskit/editor-common": "^114.7.0",
37
37
  "react": "^18.2.0",
38
38
  "react-dom": "^18.2.0"
39
39
  },