@atlaskit/editor-plugin-help-dialog 1.2.6 → 1.2.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,14 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 1.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#109353](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109353)
8
+ [`d932e2d76d8fc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d932e2d76d8fc) -
9
+ Removed FF for Media resize
10
+ - Updated dependencies
11
+
3
12
  ## 1.2.6
4
13
 
5
14
  ### Patch Changes
@@ -562,10 +562,9 @@ var quickInsertAutoFormat = function quickInsertAutoFormat(_ref6) {
562
562
  }
563
563
  };
564
564
  };
565
- var isAnyA11yResizeFeatureFlagEnabled = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-media-resizing_b5v0o') || (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-resizing_uapcv');
566
565
  var getSupportedFormatting = exports.getSupportedFormatting = function getSupportedFormatting(schema, intl, imageEnabled, quickInsertEnabled) {
567
566
  var supportedBySchema = formatting(intl).filter(function (format) {
568
567
  return schema.nodes[format.type] || schema.marks[format.type];
569
568
  });
570
- return [].concat((0, _toConsumableArray2.default)(navigationKeymaps(intl)), (0, _toConsumableArray2.default)(otherFormatting(intl)), (0, _toConsumableArray2.default)(supportedBySchema), (0, _toConsumableArray2.default)(imageEnabled ? [imageAutoFormat] : []), (0, _toConsumableArray2.default)(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), (0, _toConsumableArray2.default)((0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-resizing_uapcv') ? focusTableResizeHandleFormatting(intl) : []), (0, _toConsumableArray2.default)(isAnyA11yResizeFeatureFlagEnabled ? resizeInformationFormatting(intl) : []));
569
+ return [].concat((0, _toConsumableArray2.default)(navigationKeymaps(intl)), (0, _toConsumableArray2.default)(otherFormatting(intl)), (0, _toConsumableArray2.default)(supportedBySchema), (0, _toConsumableArray2.default)(imageEnabled ? [imageAutoFormat] : []), (0, _toConsumableArray2.default)(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), (0, _toConsumableArray2.default)((0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-resizing_uapcv') ? focusTableResizeHandleFormatting(intl) : []), (0, _toConsumableArray2.default)(resizeInformationFormatting(intl)));
571
570
  };
@@ -414,8 +414,7 @@ const quickInsertAutoFormat = ({
414
414
  css: codeLg
415
415
  }, "/"))
416
416
  });
417
- const isAnyA11yResizeFeatureFlagEnabled = getBooleanFF('platform.editor.a11y-media-resizing_b5v0o') || getBooleanFF('platform.editor.a11y-table-resizing_uapcv');
418
417
  export const getSupportedFormatting = (schema, intl, imageEnabled, quickInsertEnabled) => {
419
418
  const supportedBySchema = formatting(intl).filter(format => schema.nodes[format.type] || schema.marks[format.type]);
420
- return [...navigationKeymaps(intl), ...otherFormatting(intl), ...supportedBySchema, ...(imageEnabled ? [imageAutoFormat] : []), ...(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), ...(getBooleanFF('platform.editor.a11y-table-resizing_uapcv') ? focusTableResizeHandleFormatting(intl) : []), ...(isAnyA11yResizeFeatureFlagEnabled ? resizeInformationFormatting(intl) : [])];
419
+ return [...navigationKeymaps(intl), ...otherFormatting(intl), ...supportedBySchema, ...(imageEnabled ? [imageAutoFormat] : []), ...(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), ...(getBooleanFF('platform.editor.a11y-table-resizing_uapcv') ? focusTableResizeHandleFormatting(intl) : []), ...resizeInformationFormatting(intl)];
421
420
  };
@@ -554,10 +554,9 @@ var quickInsertAutoFormat = function quickInsertAutoFormat(_ref6) {
554
554
  }
555
555
  };
556
556
  };
557
- var isAnyA11yResizeFeatureFlagEnabled = getBooleanFF('platform.editor.a11y-media-resizing_b5v0o') || getBooleanFF('platform.editor.a11y-table-resizing_uapcv');
558
557
  export var getSupportedFormatting = function getSupportedFormatting(schema, intl, imageEnabled, quickInsertEnabled) {
559
558
  var supportedBySchema = formatting(intl).filter(function (format) {
560
559
  return schema.nodes[format.type] || schema.marks[format.type];
561
560
  });
562
- return [].concat(_toConsumableArray(navigationKeymaps(intl)), _toConsumableArray(otherFormatting(intl)), _toConsumableArray(supportedBySchema), _toConsumableArray(imageEnabled ? [imageAutoFormat] : []), _toConsumableArray(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), _toConsumableArray(getBooleanFF('platform.editor.a11y-table-resizing_uapcv') ? focusTableResizeHandleFormatting(intl) : []), _toConsumableArray(isAnyA11yResizeFeatureFlagEnabled ? resizeInformationFormatting(intl) : []));
561
+ return [].concat(_toConsumableArray(navigationKeymaps(intl)), _toConsumableArray(otherFormatting(intl)), _toConsumableArray(supportedBySchema), _toConsumableArray(imageEnabled ? [imageAutoFormat] : []), _toConsumableArray(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), _toConsumableArray(getBooleanFF('platform.editor.a11y-table-resizing_uapcv') ? focusTableResizeHandleFormatting(intl) : []), _toConsumableArray(resizeInformationFormatting(intl)));
563
562
  };
package/package.json CHANGED
@@ -1,103 +1,82 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "1.2.6",
4
- "description": "Help Dialog plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Lego",
12
- "singleton": true,
13
- "releaseModel": "continuous",
14
- "runReact18": false
15
- },
16
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
- "main": "dist/cjs/index.js",
18
- "module": "dist/esm/index.js",
19
- "module:es2019": "dist/es2019/index.js",
20
- "types": "dist/types/index.d.ts",
21
- "typesVersions": {
22
- ">=4.5 <4.9": {
23
- "*": [
24
- "dist/types-ts4.5/*",
25
- "dist/types-ts4.5/index.d.ts"
26
- ]
27
- }
28
- },
29
- "sideEffects": false,
30
- "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts"
33
- },
34
- "dependencies": {
35
- "@atlaskit/editor-common": "^82.4.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
37
- "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
38
- "@atlaskit/editor-prosemirror": "4.0.1",
39
- "@atlaskit/editor-shared-styles": "^2.12.0",
40
- "@atlaskit/icon": "^22.3.0",
41
- "@atlaskit/modal-dialog": "^12.13.0",
42
- "@atlaskit/platform-feature-flags": "^0.2.5",
43
- "@atlaskit/theme": "^12.9.0",
44
- "@atlaskit/tokens": "^1.50.0",
45
- "@babel/runtime": "^7.0.0",
46
- "@emotion/react": "^11.7.1",
47
- "react-intl-next": "npm:react-intl@^5.18.1",
48
- "react-loadable": "^5.1.0"
49
- },
50
- "devDependencies": {
51
- "@testing-library/react": "^12.1.5"
52
- },
53
- "peerDependencies": {
54
- "react": "^16.8.0"
55
- },
56
- "techstack": {
57
- "@atlassian/frontend": {
58
- "import-structure": [
59
- "atlassian-conventions"
60
- ],
61
- "circular-dependencies": [
62
- "file-and-folder-level"
63
- ]
64
- },
65
- "@repo/internal": {
66
- "dom-events": "use-bind-event-listener",
67
- "analytics": [
68
- "analytics-next"
69
- ],
70
- "design-tokens": [
71
- "color"
72
- ],
73
- "theming": [
74
- "react-context"
75
- ],
76
- "ui-components": [
77
- "lite-mode"
78
- ],
79
- "deprecation": "no-deprecated-imports",
80
- "styling": [
81
- "emotion",
82
- "emotion"
83
- ]
84
- }
85
- },
86
- "platform-feature-flags": {
87
- "platform.editor.a11y-media-resizing_b5v0o": {
88
- "type": "boolean"
89
- },
90
- "platform.editor.a11y-table-resizing_uapcv": {
91
- "type": "boolean"
92
- },
93
- "platform.editor.text-alignment-keyboard-shortcuts": {
94
- "type": "boolean"
95
- },
96
- "platform.editor.a11y-column-resizing_emcvz": {
97
- "type": "boolean"
98
- },
99
- "platform.editor.a11y-help-dialog-shortcut-keys-position_aghfg": {
100
- "type": "boolean"
101
- }
102
- }
103
- }
2
+ "name": "@atlaskit/editor-plugin-help-dialog",
3
+ "version": "1.2.7",
4
+ "description": "Help Dialog plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Lego",
12
+ "singleton": true,
13
+ "releaseModel": "continuous",
14
+ "runReact18": false
15
+ },
16
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
+ "main": "dist/cjs/index.js",
18
+ "module": "dist/esm/index.js",
19
+ "module:es2019": "dist/es2019/index.js",
20
+ "types": "dist/types/index.d.ts",
21
+ "typesVersions": {
22
+ ">=4.5 <4.9": {
23
+ "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
24
+ }
25
+ },
26
+ "sideEffects": false,
27
+ "atlaskit:src": "src/index.ts",
28
+ "af:exports": {
29
+ ".": "./src/index.ts"
30
+ },
31
+ "dependencies": {
32
+ "@atlaskit/editor-common": "^82.6.0",
33
+ "@atlaskit/editor-plugin-analytics": "^1.2.0",
34
+ "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
35
+ "@atlaskit/editor-prosemirror": "4.0.1",
36
+ "@atlaskit/editor-shared-styles": "^2.12.0",
37
+ "@atlaskit/icon": "^22.3.0",
38
+ "@atlaskit/modal-dialog": "^12.13.0",
39
+ "@atlaskit/platform-feature-flags": "^0.2.5",
40
+ "@atlaskit/theme": "^12.9.0",
41
+ "@atlaskit/tokens": "^1.50.0",
42
+ "@babel/runtime": "^7.0.0",
43
+ "@emotion/react": "^11.7.1",
44
+ "react-intl-next": "npm:react-intl@^5.18.1",
45
+ "react-loadable": "^5.1.0"
46
+ },
47
+ "devDependencies": {
48
+ "@testing-library/react": "^12.1.5"
49
+ },
50
+ "peerDependencies": {
51
+ "react": "^16.8.0"
52
+ },
53
+ "techstack": {
54
+ "@atlassian/frontend": {
55
+ "import-structure": ["atlassian-conventions"],
56
+ "circular-dependencies": ["file-and-folder-level"]
57
+ },
58
+ "@repo/internal": {
59
+ "dom-events": "use-bind-event-listener",
60
+ "analytics": ["analytics-next"],
61
+ "design-tokens": ["color"],
62
+ "theming": ["react-context"],
63
+ "ui-components": ["lite-mode"],
64
+ "deprecation": "no-deprecated-imports",
65
+ "styling": ["emotion", "emotion"]
66
+ }
67
+ },
68
+ "platform-feature-flags": {
69
+ "platform.editor.a11y-table-resizing_uapcv": {
70
+ "type": "boolean"
71
+ },
72
+ "platform.editor.text-alignment-keyboard-shortcuts": {
73
+ "type": "boolean"
74
+ },
75
+ "platform.editor.a11y-column-resizing_emcvz": {
76
+ "type": "boolean"
77
+ },
78
+ "platform.editor.a11y-help-dialog-shortcut-keys-position_aghfg": {
79
+ "type": "boolean"
80
+ }
81
+ }
82
+ }