@atlaskit/editor-plugin-quick-insert 1.0.2 → 1.0.3
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/.eslintrc.js +0 -8
- package/CHANGELOG.md +6 -0
- package/dist/cjs/ui/ModalElementBrowser/ModalElementBrowser.js +2 -2
- package/dist/cjs/ui/ModalElementBrowser/index.js +2 -2
- package/dist/types/ui/ModalElementBrowser/ModalElementBrowser.d.ts +2 -2
- package/dist/types-ts4.5/ui/ModalElementBrowser/ModalElementBrowser.d.ts +2 -2
- package/package.json +8 -10
package/.eslintrc.js
CHANGED
|
@@ -3,12 +3,4 @@ module.exports = {
|
|
|
3
3
|
'@typescript-eslint/no-duplicate-imports': 'error',
|
|
4
4
|
'@typescript-eslint/no-explicit-any': 'error',
|
|
5
5
|
},
|
|
6
|
-
overrides: [
|
|
7
|
-
{
|
|
8
|
-
files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
|
|
9
|
-
rules: {
|
|
10
|
-
'@typescript-eslint/no-explicit-any': 'warn',
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
6
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
3
9
|
## 1.0.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -17,8 +17,8 @@ var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/quest
|
|
|
17
17
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
18
18
|
var _colors = require("@atlaskit/theme/colors");
|
|
19
19
|
var _categories = require("./categories");
|
|
20
|
-
function _getRequireWildcardCache(
|
|
21
|
-
function _interopRequireWildcard(
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
22
|
/** @jsx jsx */
|
|
23
23
|
|
|
24
24
|
var MODAL_WRAPPER_PADDING = exports.MODAL_WRAPPER_PADDING = 16;
|
|
@@ -11,8 +11,8 @@ var _hooks = require("@atlaskit/editor-common/hooks");
|
|
|
11
11
|
var _commands = require("../../commands");
|
|
12
12
|
var _search = require("../../search");
|
|
13
13
|
var _ModalElementBrowser = _interopRequireDefault(require("./ModalElementBrowser"));
|
|
14
|
-
function _getRequireWildcardCache(
|
|
15
|
-
function _interopRequireWildcard(
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
var Modal = function Modal(_ref) {
|
|
17
17
|
var quickInsertState = _ref.quickInsertState,
|
|
18
18
|
editorView = _ref.editorView,
|
|
@@ -14,7 +14,7 @@ export interface Props {
|
|
|
14
14
|
emptyStateHandler?: EmptyStateHandler;
|
|
15
15
|
shouldReturnFocus?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
18
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
17
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
18
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
@@ -14,7 +14,7 @@ export interface Props {
|
|
|
14
14
|
emptyStateHandler?: EmptyStateHandler;
|
|
15
15
|
shouldReturnFocus?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
18
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
17
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
18
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/button": "^17.
|
|
37
|
-
"@atlaskit/editor-common": "^78.
|
|
36
|
+
"@atlaskit/button": "^17.7.0",
|
|
37
|
+
"@atlaskit/editor-common": "^78.17.0",
|
|
38
38
|
"@atlaskit/editor-plugin-type-ahead": "^1.0.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
40
40
|
"@atlaskit/icon": "^22.1.0",
|
|
41
41
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
42
42
|
"@atlaskit/theme": "^12.6.0",
|
|
43
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/tokens": "^1.42.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1"
|
|
46
46
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
56
56
|
"@testing-library/react": "^12.1.5",
|
|
57
57
|
"react-dom": "^16.8.0",
|
|
58
|
-
"typescript": "~4.
|
|
58
|
+
"typescript": "~5.4.2",
|
|
59
59
|
"wait-for-expect": "^1.2.0"
|
|
60
60
|
},
|
|
61
61
|
"techstack": {
|
|
@@ -81,11 +81,9 @@
|
|
|
81
81
|
"ui-components": [
|
|
82
82
|
"lite-mode"
|
|
83
83
|
],
|
|
84
|
-
"deprecation":
|
|
85
|
-
"no-deprecated-imports"
|
|
86
|
-
],
|
|
84
|
+
"deprecation": "no-deprecated-imports",
|
|
87
85
|
"styling": [
|
|
88
|
-
"
|
|
86
|
+
"emotion",
|
|
89
87
|
"emotion"
|
|
90
88
|
],
|
|
91
89
|
"imports": [
|
|
@@ -94,4 +92,4 @@
|
|
|
94
92
|
}
|
|
95
93
|
},
|
|
96
94
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
97
|
-
}
|
|
95
|
+
}
|