@atlaskit/editor-plugin-card 15.0.0 → 16.0.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 +19 -0
- package/dist/cjs/ui/EditToolbarButton/EditToolbarButtonPresentation.js +6 -6
- package/dist/cjs/ui/EditToolbarButton/index.js +6 -6
- package/dist/cjs/ui/InlineCardOverlay/index.js +2 -2
- package/dist/cjs/ui/LayoutButton/index.js +2 -2
- package/dist/es2019/ui/EditToolbarButton/EditToolbarButtonPresentation.js +1 -1
- package/dist/es2019/ui/EditToolbarButton/index.js +1 -1
- package/dist/es2019/ui/InlineCardOverlay/index.js +1 -1
- package/dist/es2019/ui/LayoutButton/index.js +1 -1
- package/dist/esm/ui/EditToolbarButton/EditToolbarButtonPresentation.js +1 -1
- package/dist/esm/ui/EditToolbarButton/index.js +1 -1
- package/dist/esm/ui/InlineCardOverlay/index.js +1 -1
- package/dist/esm/ui/LayoutButton/index.js +1 -1
- package/dist/types/ui/DatasourceAppearanceButton.d.ts +1 -1
- package/dist/types/ui/DatasourceDropdownOption.d.ts +1 -1
- package/dist/types/ui/EditToolbarButton/types.d.ts +1 -1
- package/dist/types/ui/HyperlinkToolbarAppearance.d.ts +1 -1
- package/dist/types/ui/LayoutButton/index.d.ts +1 -1
- package/dist/types/ui/LayoutButton/types.d.ts +1 -1
- package/dist/types/ui/LinkToolbarAppearance.d.ts +1 -1
- package/dist/types/ui/OpenPreviewButton/index.d.ts +1 -1
- package/dist/types/ui/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/ui/DatasourceAppearanceButton.d.ts +1 -1
- package/dist/types-ts4.5/ui/DatasourceDropdownOption.d.ts +1 -1
- package/dist/types-ts4.5/ui/EditToolbarButton/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/HyperlinkToolbarAppearance.d.ts +1 -1
- package/dist/types-ts4.5/ui/LayoutButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/LayoutButton/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/LinkToolbarAppearance.d.ts +1 -1
- package/dist/types-ts4.5/ui/OpenPreviewButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/toolbar.d.ts +1 -1
- package/package.json +18 -15
- package/report.api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 16.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
8
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
9
|
+
|
|
10
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
11
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
12
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
13
|
+
|
|
14
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
15
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
16
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 15.0.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
14
14
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -78,7 +78,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
78
78
|
icon: icon,
|
|
79
79
|
tooltipContent: tooltipContent,
|
|
80
80
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
81
|
-
}, !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(
|
|
81
|
+
}, !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
82
82
|
// Ignored via go/ees005
|
|
83
83
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
84
84
|
, _messages.linkToolbarMessages.editLink)), !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -94,7 +94,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
94
94
|
tooltipContent: intl.formatMessage(_messages.linkToolbarMessages.editDatasourceStandaloneTooltip),
|
|
95
95
|
onClick: onEditDatasource,
|
|
96
96
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
97
|
-
}, (0, _react2.jsx)(
|
|
97
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
98
98
|
// Ignored via go/ees005
|
|
99
99
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
100
100
|
, _messages.linkToolbarMessages.editDatasourceStandalone)), !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -118,7 +118,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
118
118
|
disabled: false,
|
|
119
119
|
ariaHasPopup: true,
|
|
120
120
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
121
|
-
}, (0, _react2.jsx)(
|
|
121
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
122
122
|
// Ignored via go/ees005
|
|
123
123
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
124
124
|
, _messages.cardMessages.editDropdownTriggerTitle)), !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -142,14 +142,14 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
142
142
|
key: "edit.link",
|
|
143
143
|
onClick: onEditLink,
|
|
144
144
|
testId: "edit-dropdown-edit-link-item"
|
|
145
|
-
}, (0, _react2.jsx)(
|
|
145
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
146
146
|
// Ignored via go/ees005
|
|
147
147
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
148
148
|
, _messages.cardMessages.editDropdownEditLinkTitle)), (0, _react2.jsx)(_menu.ButtonItem, {
|
|
149
149
|
key: "edit.datasource",
|
|
150
150
|
onClick: onEditDatasource,
|
|
151
151
|
testId: "edit-dropdown-edit-datasource-item"
|
|
152
|
-
}, (0, _react2.jsx)(
|
|
152
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
153
153
|
// Ignored via go/ees005
|
|
154
154
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
155
155
|
, _messages.cardMessages.editDropdownEditDatasourceTitle))));
|
|
@@ -9,7 +9,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
15
15
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -103,7 +103,7 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
103
103
|
testId: "edit-link",
|
|
104
104
|
onClick: onEditLink,
|
|
105
105
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
106
|
-
}, (0, _react2.jsx)(
|
|
106
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
107
107
|
// Ignored via go/ees005
|
|
108
108
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
109
109
|
, _messages.linkToolbarMessages.editLink)), !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -119,7 +119,7 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
119
119
|
tooltipContent: intl.formatMessage(_messages.linkToolbarMessages.editDatasourceStandaloneTooltip),
|
|
120
120
|
onClick: onEditDatasource,
|
|
121
121
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
122
|
-
}, (0, _react2.jsx)(
|
|
122
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
123
123
|
// Ignored via go/ees005
|
|
124
124
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
125
125
|
, _messages.linkToolbarMessages.editDatasourceStandalone)), !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -143,7 +143,7 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
143
143
|
disabled: false,
|
|
144
144
|
ariaHasPopup: true,
|
|
145
145
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
146
|
-
}, (0, _react2.jsx)(
|
|
146
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
147
147
|
// Ignored via go/ees005
|
|
148
148
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
149
149
|
, _messages.cardMessages.editDropdownTriggerTitle)), !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -167,14 +167,14 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
167
167
|
key: "edit.link",
|
|
168
168
|
onClick: onEditLink,
|
|
169
169
|
testId: "edit-dropdown-edit-link-item"
|
|
170
|
-
}, (0, _react2.jsx)(
|
|
170
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
171
171
|
// Ignored via go/ees005
|
|
172
172
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
173
173
|
, _messages.cardMessages.editDropdownEditLinkTitle)), (0, _react2.jsx)(_menu.ButtonItem, {
|
|
174
174
|
key: "edit.datasource",
|
|
175
175
|
onClick: onEditDatasource,
|
|
176
176
|
testId: "edit-dropdown-edit-datasource-item"
|
|
177
|
-
}, (0, _react2.jsx)(
|
|
177
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
178
178
|
// Ignored via go/ees005
|
|
179
179
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
180
180
|
, _messages.cardMessages.editDropdownEditDatasourceTitle))));
|
|
@@ -13,7 +13,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _react2 = require("@emotion/react");
|
|
15
15
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
16
|
-
var
|
|
16
|
+
var _reactIntl = require("react-intl");
|
|
17
17
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
18
18
|
var _whitespace = require("@atlaskit/editor-common/whitespace");
|
|
19
19
|
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
@@ -221,7 +221,7 @@ var InlineCardOverlay = function InlineCardOverlay(_ref) {
|
|
|
221
221
|
observer.disconnect();
|
|
222
222
|
};
|
|
223
223
|
}, [isVisible, setVisibility]);
|
|
224
|
-
var intl = (0,
|
|
224
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
225
225
|
var label = intl.formatMessage(_messages.cardMessages.inlineOverlay);
|
|
226
226
|
return (
|
|
227
227
|
// Ignored via go/ees005
|
|
@@ -8,7 +8,7 @@ exports.default = exports.LayoutButton = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
13
13
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
14
14
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -130,5 +130,5 @@ var LayoutButtonWrapper = function LayoutButtonWrapper(_ref2) {
|
|
|
130
130
|
intl: intl
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
|
-
var _default_1 = (0,
|
|
133
|
+
var _default_1 = (0, _reactIntl.injectIntl)(LayoutButtonWrapper);
|
|
134
134
|
var _default = exports.default = _default_1;
|
|
@@ -6,7 +6,7 @@ import { useCallback, useRef, useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { FormattedMessage } from 'react-intl
|
|
9
|
+
import { FormattedMessage } from 'react-intl';
|
|
10
10
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -6,7 +6,7 @@ import { useCallback, useMemo, useRef, useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { FormattedMessage } from 'react-intl
|
|
9
|
+
import { FormattedMessage } from 'react-intl';
|
|
10
10
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -10,7 +10,7 @@ import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import debounce from 'lodash/debounce';
|
|
13
|
-
import { useIntl } from 'react-intl
|
|
13
|
+
import { useIntl } from 'react-intl';
|
|
14
14
|
import { cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
15
15
|
import { ZERO_WIDTH_JOINER } from '@atlaskit/editor-common/whitespace';
|
|
16
16
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { useCallback, useMemo } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import { injectIntl } from 'react-intl
|
|
8
|
+
import { injectIntl } from 'react-intl';
|
|
9
9
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
10
10
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
11
11
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -7,7 +7,7 @@ import { useCallback, useRef, useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { FormattedMessage } from 'react-intl
|
|
10
|
+
import { FormattedMessage } from 'react-intl';
|
|
11
11
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
13
13
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -9,7 +9,7 @@ import { useCallback, useMemo, useRef, useState } from 'react';
|
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
|
-
import { FormattedMessage } from 'react-intl
|
|
12
|
+
import { FormattedMessage } from 'react-intl';
|
|
13
13
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
14
14
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
15
15
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -14,7 +14,7 @@ import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
15
15
|
import { css, jsx } from '@emotion/react';
|
|
16
16
|
import debounce from 'lodash/debounce';
|
|
17
|
-
import { useIntl } from 'react-intl
|
|
17
|
+
import { useIntl } from 'react-intl';
|
|
18
18
|
import { cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
19
19
|
import { ZERO_WIDTH_JOINER } from '@atlaskit/editor-common/whitespace';
|
|
20
20
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import { useCallback, useMemo } from 'react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
|
-
import { injectIntl } from 'react-intl
|
|
11
|
+
import { injectIntl } from 'react-intl';
|
|
12
12
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
13
13
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
14
14
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { Command } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
5
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentType, FC } from 'react';
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
3
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
4
4
|
import type { LayoutButtonProps, LayoutButtonWrapperProps } from './types';
|
|
5
5
|
export declare const LayoutButton: ({ onLayoutChange, layout, intl: { formatMessage }, mountPoint, boundariesElement, scrollableElement, targetElement, testId, }: LayoutButtonProps) => jsx.JSX.Element | null;
|
|
6
6
|
declare const _default_1: FC<WithIntlProps<LayoutButtonWrapperProps & WrappedComponentProps>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { cardPlugin } from '../../index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardAppearance } from '@atlaskit/editor-common/provider-factory';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { Command } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
5
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentType, FC } from 'react';
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
3
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
4
4
|
import type { LayoutButtonProps, LayoutButtonWrapperProps } from './types';
|
|
5
5
|
export declare const LayoutButton: ({ onLayoutChange, layout, intl: { formatMessage }, mountPoint, boundariesElement, scrollableElement, targetElement, testId, }: LayoutButtonProps) => jsx.JSX.Element | null;
|
|
6
6
|
declare const _default_1: FC<WithIntlProps<LayoutButtonWrapperProps & WrappedComponentProps>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { cardPlugin } from '../../index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardAppearance } from '@atlaskit/editor-common/provider-factory';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"@atlaskit/adf-schema": "^52.5.0",
|
|
33
33
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
34
34
|
"@atlaskit/custom-steps": "^0.16.0",
|
|
35
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
36
|
-
"@atlaskit/editor-plugin-base": "^
|
|
37
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
38
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
39
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
40
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
41
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
42
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^
|
|
43
|
-
"@atlaskit/editor-plugin-grid": "^
|
|
44
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
45
|
-
"@atlaskit/editor-plugin-width": "^
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-base": "^11.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-connectivity": "^10.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-decorations": "^10.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-editor-disabled": "^10.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-feature-flags": "^9.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^12.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-grid": "^10.0.0",
|
|
44
|
+
"@atlaskit/editor-plugin-toolbar": "^7.0.0",
|
|
45
|
+
"@atlaskit/editor-plugin-width": "^11.0.0",
|
|
46
46
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
47
47
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
48
48
|
"@atlaskit/editor-smart-link-draggable": "^0.5.0",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"uuid": "^3.1.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/editor-common": "^
|
|
74
|
+
"@atlaskit/editor-common": "^114.0.0",
|
|
75
75
|
"@atlaskit/link-provider": "^4.3.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
|
-
"react-intl
|
|
77
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
78
78
|
},
|
|
79
79
|
"techstack": {
|
|
80
80
|
"@atlassian/frontend": {
|
|
@@ -137,5 +137,8 @@
|
|
|
137
137
|
"checkDevDependencies": true
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
|
-
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34"
|
|
140
|
+
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34",
|
|
141
|
+
"devDependencies": {
|
|
142
|
+
"react-intl": "^6.6.2"
|
|
143
|
+
}
|
|
141
144
|
}
|