@atlaskit/editor-plugin-quick-insert 11.0.5 → 11.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-quick-insert
2
2
 
3
+ ## 11.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`31c4f99dfaafa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31c4f99dfaafa) -
14
+ fix(editor): fix wide slash trigger opening menu for ASCII '/' on macOS IME
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 11.0.5
4
21
 
5
22
  ### Patch Changes
@@ -39,7 +39,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
39
39
  id: _typeAhead.TypeAheadAvailableNodes.QUICK_INSERT,
40
40
  trigger: '/',
41
41
  // Support fullwidth slash (U+FF0F) used by Japanese/CJK keyboards (e.g. typing / on a Japanese keyboard layout)
42
- customRegex: (0, _expValEquals.expValEquals)('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '\\(?([//])' : undefined,
42
+ customRegex: (0, _expValEquals.expValEquals)('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '[//]' : undefined,
43
43
  headless: options === null || options === void 0 ? void 0 : options.headless,
44
44
  getItems: function getItems(_ref2) {
45
45
  var query = _ref2.query,
@@ -27,7 +27,7 @@ export const quickInsertPlugin = ({
27
27
  id: TypeAheadAvailableNodes.QUICK_INSERT,
28
28
  trigger: '/',
29
29
  // Support fullwidth slash (U+FF0F) used by Japanese/CJK keyboards (e.g. typing / on a Japanese keyboard layout)
30
- customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '\\(?([//])' : undefined,
30
+ customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '[//]' : undefined,
31
31
  headless: options === null || options === void 0 ? void 0 : options.headless,
32
32
  getItems({
33
33
  query,
@@ -32,7 +32,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
32
32
  id: TypeAheadAvailableNodes.QUICK_INSERT,
33
33
  trigger: '/',
34
34
  // Support fullwidth slash (U+FF0F) used by Japanese/CJK keyboards (e.g. typing / on a Japanese keyboard layout)
35
- customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '\\(?([//])' : undefined,
35
+ customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '[//]' : undefined,
36
36
  headless: options === null || options === void 0 ? void 0 : options.headless,
37
37
  getItems: function getItems(_ref2) {
38
38
  var query = _ref2.query,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-quick-insert",
3
- "version": "11.0.5",
3
+ "version": "11.1.1",
4
4
  "description": "Quick insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,18 +33,18 @@
33
33
  "@atlaskit/editor-plugin-analytics": "^11.0.0",
34
34
  "@atlaskit/editor-plugin-connectivity": "^11.0.0",
35
35
  "@atlaskit/editor-plugin-metrics": "^12.0.0",
36
- "@atlaskit/editor-plugin-type-ahead": "^11.1.0",
36
+ "@atlaskit/editor-plugin-type-ahead": "^11.2.0",
37
37
  "@atlaskit/editor-prosemirror": "^7.3.0",
38
38
  "@atlaskit/icon": "^35.4.0",
39
39
  "@atlaskit/modal-dialog": "^15.2.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/tmp-editor-statsig": "^93.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^94.0.0",
42
42
  "@atlaskit/tokens": "^13.3.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@atlaskit/editor-common": "^115.7.0",
47
+ "@atlaskit/editor-common": "^115.8.0",
48
48
  "react": "^18.2.0",
49
49
  "react-dom": "^18.2.0",
50
50
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"