@atlaskit/editor-plugin-card 1.9.3 → 1.10.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 +21 -0
- package/dist/cjs/ui/DatasourceModal/index.js +1 -1
- package/dist/es2019/ui/DatasourceModal/index.js +1 -1
- package/dist/esm/ui/DatasourceModal/index.js +1 -1
- package/dist/types/nodeviews/datasource.d.ts +3 -2
- package/dist/types-ts4.5/nodeviews/datasource.d.ts +3 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 1.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#93932](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93932)
|
|
8
|
+
[`2d7ead0569b2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2d7ead0569b2) -
|
|
9
|
+
Adopt new view mode "table" and "inlin" for Jira SLLV config modal
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 1.10.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#95168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95168)
|
|
17
|
+
[`2091e194a817`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2091e194a817) -
|
|
18
|
+
Introduced new PortalProviderAPI behind a FF
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 1.9.3
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -127,7 +127,7 @@ var DatasourceModal = exports.DatasourceModal = function DatasourceModal(_ref) {
|
|
|
127
127
|
"data-testid": "jira-config-modal"
|
|
128
128
|
}, /*#__PURE__*/_react.default.createElement(_linkDatasource.JiraIssuesConfigModal, {
|
|
129
129
|
datasourceId: datasourceId,
|
|
130
|
-
viewMode: isRegularCardNode ? '
|
|
130
|
+
viewMode: isRegularCardNode ? 'inline' : 'table' // Want non-datasource cards to open in inline view since they are in table view
|
|
131
131
|
,
|
|
132
132
|
visibleColumnKeys: visibleColumnKeys,
|
|
133
133
|
parameters: parameters,
|
|
@@ -103,7 +103,7 @@ export const DatasourceModal = ({
|
|
|
103
103
|
"data-testid": "jira-config-modal"
|
|
104
104
|
}, /*#__PURE__*/React.createElement(JiraIssuesConfigModal, {
|
|
105
105
|
datasourceId: datasourceId,
|
|
106
|
-
viewMode: isRegularCardNode ? '
|
|
106
|
+
viewMode: isRegularCardNode ? 'inline' : 'table' // Want non-datasource cards to open in inline view since they are in table view
|
|
107
107
|
,
|
|
108
108
|
visibleColumnKeys: visibleColumnKeys,
|
|
109
109
|
parameters: parameters,
|
|
@@ -117,7 +117,7 @@ export var DatasourceModal = function DatasourceModal(_ref) {
|
|
|
117
117
|
"data-testid": "jira-config-modal"
|
|
118
118
|
}, /*#__PURE__*/React.createElement(JiraIssuesConfigModal, {
|
|
119
119
|
datasourceId: datasourceId,
|
|
120
|
-
viewMode: isRegularCardNode ? '
|
|
120
|
+
viewMode: isRegularCardNode ? 'inline' : 'table' // Want non-datasource cards to open in inline view since they are in table view
|
|
121
121
|
,
|
|
122
122
|
visibleColumnKeys: visibleColumnKeys,
|
|
123
123
|
parameters: parameters,
|
|
@@ -3,9 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type {
|
|
6
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
7
7
|
import type { getPosHandler, ReactComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
8
8
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
9
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
9
10
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
10
11
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
import type { Decoration, DecorationSource, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -14,7 +15,7 @@ export interface DatasourceProps extends ReactComponentProps {
|
|
|
14
15
|
node: PMNode;
|
|
15
16
|
view: EditorView;
|
|
16
17
|
getPos: getPosHandler;
|
|
17
|
-
portalProviderAPI: PortalProviderAPI;
|
|
18
|
+
portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI;
|
|
18
19
|
eventDispatcher: EventDispatcher;
|
|
19
20
|
hasIntlContext: boolean;
|
|
20
21
|
pluginInjectionApi: ExtractInjectionAPI<typeof cardPlugin> | undefined;
|
|
@@ -3,9 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type {
|
|
6
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
7
7
|
import type { getPosHandler, ReactComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
8
8
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
9
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
9
10
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
10
11
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
import type { Decoration, DecorationSource, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -14,7 +15,7 @@ export interface DatasourceProps extends ReactComponentProps {
|
|
|
14
15
|
node: PMNode;
|
|
15
16
|
view: EditorView;
|
|
16
17
|
getPos: getPosHandler;
|
|
17
|
-
portalProviderAPI: PortalProviderAPI;
|
|
18
|
+
portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI;
|
|
18
19
|
eventDispatcher: EventDispatcher;
|
|
19
20
|
hasIntlContext: boolean;
|
|
20
21
|
pluginInjectionApi: ExtractInjectionAPI<typeof cardPlugin> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^35.12.2",
|
|
36
36
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
37
37
|
"@atlaskit/custom-steps": "^0.1.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^79.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/icon": "^22.1.0",
|
|
51
51
|
"@atlaskit/link-analytics": "^8.3.0",
|
|
52
52
|
"@atlaskit/link-client-extension": "^1.8.0",
|
|
53
|
-
"@atlaskit/link-datasource": "^
|
|
53
|
+
"@atlaskit/link-datasource": "^2.0.0",
|
|
54
54
|
"@atlaskit/linking-common": "^5.6.0",
|
|
55
55
|
"@atlaskit/linking-types": "^8.8.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|