@atlaskit/editor-common 117.1.1 → 117.2.0
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 +11 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/QuickInsertMenuItem.compiled.css +18 -0
- package/dist/cjs/quick-insert/QuickInsertMenuItem.js +63 -0
- package/dist/cjs/quick-insert/QuickInsertMenuRoot.js +13 -0
- package/dist/cjs/quick-insert/QuickInsertMenuSection.js +16 -0
- package/dist/cjs/quick-insert/keys.js +79 -1
- package/dist/cjs/quick-insert/messages.js +45 -0
- package/dist/cjs/quick-insert/rank.js +7 -2
- package/dist/cjs/type-ahead/MENU_FOOTER_SECTION_KEY_SUFFIX.js +8 -0
- package/dist/cjs/type-ahead/SECTION_OVERFLOW_ITEM_KEY_SUFFIX.js +8 -0
- package/dist/cjs/type-ahead/getMenuFooterSectionKey.js +11 -0
- package/dist/cjs/type-ahead/getSectionOverflowItemKey.js +11 -0
- package/dist/cjs/type-ahead/isMenuFooterSectionKey.js +11 -0
- package/dist/cjs/type-ahead/isSectionOverflowItemKey.js +11 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/QuickInsertMenuItem.compiled.css +18 -0
- package/dist/es2019/quick-insert/QuickInsertMenuItem.js +51 -0
- package/dist/es2019/quick-insert/QuickInsertMenuRoot.js +5 -0
- package/dist/es2019/quick-insert/QuickInsertMenuSection.js +8 -0
- package/dist/es2019/quick-insert/keys.js +77 -1
- package/dist/es2019/quick-insert/messages.js +45 -0
- package/dist/es2019/quick-insert/rank.js +30 -4
- package/dist/es2019/type-ahead/MENU_FOOTER_SECTION_KEY_SUFFIX.js +2 -0
- package/dist/es2019/type-ahead/SECTION_OVERFLOW_ITEM_KEY_SUFFIX.js +2 -0
- package/dist/es2019/type-ahead/getMenuFooterSectionKey.js +4 -0
- package/dist/es2019/type-ahead/getSectionOverflowItemKey.js +4 -0
- package/dist/es2019/type-ahead/isMenuFooterSectionKey.js +4 -0
- package/dist/es2019/type-ahead/isSectionOverflowItemKey.js +4 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/QuickInsertMenuItem.compiled.css +18 -0
- package/dist/esm/quick-insert/QuickInsertMenuItem.js +54 -0
- package/dist/esm/quick-insert/QuickInsertMenuRoot.js +6 -0
- package/dist/esm/quick-insert/QuickInsertMenuSection.js +9 -0
- package/dist/esm/quick-insert/keys.js +78 -0
- package/dist/esm/quick-insert/messages.js +45 -0
- package/dist/esm/quick-insert/rank.js +7 -2
- package/dist/esm/type-ahead/MENU_FOOTER_SECTION_KEY_SUFFIX.js +2 -0
- package/dist/esm/type-ahead/SECTION_OVERFLOW_ITEM_KEY_SUFFIX.js +2 -0
- package/dist/esm/type-ahead/getMenuFooterSectionKey.js +6 -0
- package/dist/esm/type-ahead/getSectionOverflowItemKey.js +6 -0
- package/dist/esm/type-ahead/isMenuFooterSectionKey.js +6 -0
- package/dist/esm/type-ahead/isSectionOverflowItemKey.js +6 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/list-events.d.ts +1 -1
- package/dist/types/quick-insert/QuickInsertContext.d.ts +0 -1
- package/dist/types/quick-insert/QuickInsertMenuItem.d.ts +21 -0
- package/dist/types/quick-insert/QuickInsertMenuRoot.d.ts +2 -0
- package/dist/types/quick-insert/QuickInsertMenuSection.d.ts +4 -0
- package/dist/types/quick-insert/keys.d.ts +76 -0
- package/dist/types/quick-insert/messages.d.ts +4 -87
- package/dist/types/quick-insert/rank.d.ts +28 -2
- package/dist/types/type-ahead/MENU_FOOTER_SECTION_KEY_SUFFIX.d.ts +2 -0
- package/dist/types/type-ahead/SECTION_OVERFLOW_ITEM_KEY_SUFFIX.d.ts +2 -0
- package/dist/types/type-ahead/getMenuFooterSectionKey.d.ts +2 -0
- package/dist/types/type-ahead/getSectionOverflowItemKey.d.ts +2 -0
- package/dist/types/type-ahead/isMenuFooterSectionKey.d.ts +2 -0
- package/dist/types/type-ahead/isSectionOverflowItemKey.d.ts +2 -0
- package/dist/types/types/quick-insert.d.ts +4 -0
- package/package.json +4 -4
- package/quick-insert/menu-item/package.json +10 -0
- package/quick-insert/menu-root/package.json +10 -0
- package/quick-insert/menu-section/package.json +10 -0
- package/type-ahead-get-menu-footer-section-key/package.json +10 -0
- package/type-ahead-get-section-overflow-item-key/package.json +10 -0
- package/type-ahead-is-menu-footer-section-key/package.json +10 -0
- package/type-ahead-is-section-overflow-item-key/package.json +10 -0
|
@@ -35,7 +35,9 @@ export type QuickInsertSearchOptions = {
|
|
|
35
35
|
};
|
|
36
36
|
export type QuickInsertPluginState = {
|
|
37
37
|
emptyStateHandler?: EmptyStateHandler;
|
|
38
|
+
/** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-62138 Internal documentation for deprecation (no external access)} Tracked by EDITOR-8422. Use `isElementBrowserOpen` instead. */
|
|
38
39
|
isElementBrowserModalOpen: boolean;
|
|
40
|
+
isElementBrowserOpen: boolean;
|
|
39
41
|
lazyDefaultItems: () => QuickInsertItem[];
|
|
40
42
|
providedItems?: QuickInsertItem[];
|
|
41
43
|
provider?: QuickInsertProvider;
|
|
@@ -65,7 +67,9 @@ export interface QuickInsertPluginOptions {
|
|
|
65
67
|
}
|
|
66
68
|
export type QuickInsertSharedState = {
|
|
67
69
|
emptyStateHandler?: EmptyStateHandler;
|
|
70
|
+
/** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-62138 Internal documentation for deprecation (no external access)} Tracked by EDITOR-8422. Use `isElementBrowserOpen` instead. */
|
|
68
71
|
isElementBrowserModalOpen: boolean;
|
|
72
|
+
isElementBrowserOpen: boolean;
|
|
69
73
|
lazyDefaultItems: () => QuickInsertItem[];
|
|
70
74
|
providedItems?: QuickInsertItem[];
|
|
71
75
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "117.
|
|
3
|
+
"version": "117.2.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^71.15.0",
|
|
53
53
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
54
|
-
"@atlaskit/icon": "^37.
|
|
54
|
+
"@atlaskit/icon": "^37.3.0",
|
|
55
55
|
"@atlaskit/link": "^5.0.0",
|
|
56
56
|
"@atlaskit/link-datasource": "^6.4.0",
|
|
57
57
|
"@atlaskit/link-picker": "^6.4.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/platform-feature-flags-react": "^1.1.0",
|
|
73
73
|
"@atlaskit/popper": "^9.0.0",
|
|
74
74
|
"@atlaskit/primitives": "^22.2.0",
|
|
75
|
-
"@atlaskit/profilecard": "^26.
|
|
75
|
+
"@atlaskit/profilecard": "^26.15.0",
|
|
76
76
|
"@atlaskit/prosemirror-history": "^1.1.0",
|
|
77
77
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
78
78
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/smart-user-picker": "^11.3.0",
|
|
82
82
|
"@atlaskit/spinner": "^20.1.0",
|
|
83
83
|
"@atlaskit/task-decision": "^21.8.0",
|
|
84
|
-
"@atlaskit/teams-app-config": "^2.
|
|
84
|
+
"@atlaskit/teams-app-config": "^2.2.0",
|
|
85
85
|
"@atlaskit/textfield": "^10.0.0",
|
|
86
86
|
"@atlaskit/tmp-editor-statsig": "^139.0.0",
|
|
87
87
|
"@atlaskit/tokens": "^16.3.0",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/quick-insert/menu-item",
|
|
3
|
+
"main": "../../dist/cjs/quick-insert/QuickInsertMenuItem.js",
|
|
4
|
+
"module": "../../dist/esm/quick-insert/QuickInsertMenuItem.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/quick-insert/QuickInsertMenuItem.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/quick-insert/QuickInsertMenuItem.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/quick-insert/menu-root",
|
|
3
|
+
"main": "../../dist/cjs/quick-insert/QuickInsertMenuRoot.js",
|
|
4
|
+
"module": "../../dist/esm/quick-insert/QuickInsertMenuRoot.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/quick-insert/QuickInsertMenuRoot.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/quick-insert/QuickInsertMenuRoot.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/quick-insert/menu-section",
|
|
3
|
+
"main": "../../dist/cjs/quick-insert/QuickInsertMenuSection.js",
|
|
4
|
+
"module": "../../dist/esm/quick-insert/QuickInsertMenuSection.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/quick-insert/QuickInsertMenuSection.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/quick-insert/QuickInsertMenuSection.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/type-ahead-get-menu-footer-section-key",
|
|
3
|
+
"main": "../dist/cjs/type-ahead/getMenuFooterSectionKey.js",
|
|
4
|
+
"module": "../dist/esm/type-ahead/getMenuFooterSectionKey.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/type-ahead/getMenuFooterSectionKey.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/type-ahead/getMenuFooterSectionKey.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/type-ahead-get-section-overflow-item-key",
|
|
3
|
+
"main": "../dist/cjs/type-ahead/getSectionOverflowItemKey.js",
|
|
4
|
+
"module": "../dist/esm/type-ahead/getSectionOverflowItemKey.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/type-ahead/getSectionOverflowItemKey.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/type-ahead/getSectionOverflowItemKey.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/type-ahead-is-menu-footer-section-key",
|
|
3
|
+
"main": "../dist/cjs/type-ahead/isMenuFooterSectionKey.js",
|
|
4
|
+
"module": "../dist/esm/type-ahead/isMenuFooterSectionKey.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/type-ahead/isMenuFooterSectionKey.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/type-ahead/isMenuFooterSectionKey.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/type-ahead-is-section-overflow-item-key",
|
|
3
|
+
"main": "../dist/cjs/type-ahead/isSectionOverflowItemKey.js",
|
|
4
|
+
"module": "../dist/esm/type-ahead/isSectionOverflowItemKey.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/type-ahead/isSectionOverflowItemKey.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/type-ahead/isSectionOverflowItemKey.d.ts"
|
|
10
|
+
}
|