@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 +9 -0
- package/dist/cjs/ui/formatting.js +1 -2
- package/dist/es2019/ui/formatting.js +1 -2
- package/dist/esm/ui/formatting.js +1 -2
- package/package.json +81 -102
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)(
|
|
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) : []), ...
|
|
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(
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
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
|
+
}
|