@atlaskit/editor-plugin-help-dialog 10.1.6 → 10.1.7

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,13 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 10.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d94df511393a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94df511393a9) -
8
+ Removing FG platform_editor_a11y_eslint_fix
9
+ - Updated dependencies
10
+
3
11
  ## 10.1.6
4
12
 
5
13
  ### Patch Changes
@@ -12,7 +12,6 @@ var _browser = require("@atlaskit/editor-common/browser");
12
12
  var _messages = require("@atlaskit/editor-common/messages");
13
13
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
14
14
  var _compiled = require("@atlaskit/primitives/compiled");
15
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
16
15
  var _ModalFooter = _interopRequireDefault(require("./ModalFooter"));
17
16
  var _ModalHeader = _interopRequireDefault(require("./ModalHeader"));
18
17
  var _styles = require("./styles");
@@ -30,15 +29,14 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
30
29
  onClose = _ref.onClose;
31
30
  var browser = (0, _browser.getBrowserInfo)();
32
31
  var intl = (0, _reactIntl.useIntl)();
33
- var isA11yFixEnabled = (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true);
34
32
  return (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_ModalHeader.default, {
35
33
  onClose: onClose
36
34
  }), (0, _react2.jsx)("div", {
37
35
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
38
36
  css: _styles.contentWrapper,
39
37
  tabIndex: 0,
40
- role: isA11yFixEnabled ? 'region' : undefined,
41
- "aria-label": isA11yFixEnabled ? intl.formatMessage(_messages.helpDialogMessages.editorHelp) : undefined
38
+ role: 'region',
39
+ "aria-label": intl.formatMessage(_messages.helpDialogMessages.editorHelp)
42
40
  }, (0, _react2.jsx)("div", {
43
41
  css: _styles.line
44
42
  }), (0, _react2.jsx)("div", {
@@ -12,7 +12,6 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
12
12
  import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
13
13
  import Heading from '@atlaskit/heading';
14
14
  import { Text } from '@atlaskit/primitives/compiled';
15
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
15
  import ModalFooter from './ModalFooter';
17
16
  import ModalHeader from './ModalHeader';
18
17
  import { column, content, contentWrapper, line, row } from './styles';
@@ -23,15 +22,14 @@ export const ModalContent = ({
23
22
  }) => {
24
23
  const browser = getBrowserInfo();
25
24
  const intl = useIntl();
26
- const isA11yFixEnabled = expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true);
27
25
  return jsx(Fragment, null, jsx(ModalHeader, {
28
26
  onClose: onClose
29
27
  }), jsx("div", {
30
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
31
29
  css: contentWrapper,
32
30
  tabIndex: 0,
33
- role: isA11yFixEnabled ? 'region' : undefined,
34
- "aria-label": isA11yFixEnabled ? intl.formatMessage(messages.editorHelp) : undefined
31
+ role: 'region',
32
+ "aria-label": intl.formatMessage(messages.editorHelp)
35
33
  }, jsx("div", {
36
34
  css: line
37
35
  }), jsx("div", {
@@ -12,7 +12,6 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
12
12
  import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
13
13
  import Heading from '@atlaskit/heading';
14
14
  import { Text } from '@atlaskit/primitives/compiled';
15
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
15
  import ModalFooter from './ModalFooter';
17
16
  import ModalHeader from './ModalHeader';
18
17
  import { column, content, contentWrapper, line, row } from './styles';
@@ -22,15 +21,14 @@ export var ModalContent = function ModalContent(_ref) {
22
21
  onClose = _ref.onClose;
23
22
  var browser = getBrowserInfo();
24
23
  var intl = useIntl();
25
- var isA11yFixEnabled = expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true);
26
24
  return jsx(Fragment, null, jsx(ModalHeader, {
27
25
  onClose: onClose
28
26
  }), jsx("div", {
29
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
30
28
  css: contentWrapper,
31
29
  tabIndex: 0,
32
- role: isA11yFixEnabled ? 'region' : undefined,
33
- "aria-label": isA11yFixEnabled ? intl.formatMessage(messages.editorHelp) : undefined
30
+ role: 'region',
31
+ "aria-label": intl.formatMessage(messages.editorHelp)
34
32
  }, jsx("div", {
35
33
  css: line
36
34
  }), jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "10.1.6",
3
+ "version": "10.1.7",
4
4
  "description": "Help Dialog plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/modal-dialog": "^14.18.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/primitives": "^19.0.0",
41
- "@atlaskit/tmp-editor-statsig": "^71.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^72.0.0",
42
42
  "@atlaskit/tokens": "^13.0.0",
43
43
  "@atlaskit/tooltip": "^21.2.0",
44
44
  "@babel/runtime": "^7.0.0",
@@ -50,7 +50,7 @@
50
50
  "react-intl": "^6.6.2"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^114.12.0",
53
+ "@atlaskit/editor-common": "^114.13.0",
54
54
  "react": "^18.2.0",
55
55
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
56
56
  },