@atlaskit/editor-plugin-extension 12.0.0 → 13.0.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 +25 -0
- package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +2 -2
- package/dist/cjs/ui/ConfigPanel/DescriptionSummary.js +2 -2
- package/dist/cjs/ui/ConfigPanel/ErrorMessage/index.js +2 -2
- package/dist/cjs/ui/ConfigPanel/FieldMessages.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/CustomSelect.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Date.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/TabGroup.js +2 -2
- package/dist/cjs/ui/ConfigPanel/FormErrorBoundary.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Header.js +2 -2
- package/dist/cjs/ui/ConfigPanel/LoadingState.js +2 -2
- package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +2 -2
- package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +2 -2
- package/dist/es2019/ui/ConfigPanel/ConfigPanel.js +1 -1
- package/dist/es2019/ui/ConfigPanel/DescriptionSummary.js +1 -1
- package/dist/es2019/ui/ConfigPanel/ErrorMessage/index.js +1 -1
- package/dist/es2019/ui/ConfigPanel/FieldMessages.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/CustomSelect.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Date.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/DateRange.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/TabGroup.js +1 -1
- package/dist/es2019/ui/ConfigPanel/FormErrorBoundary.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Header.js +1 -1
- package/dist/es2019/ui/ConfigPanel/LoadingState.js +1 -1
- package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +1 -1
- package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +1 -1
- package/dist/esm/ui/ConfigPanel/ConfigPanel.js +1 -1
- package/dist/esm/ui/ConfigPanel/DescriptionSummary.js +1 -1
- package/dist/esm/ui/ConfigPanel/ErrorMessage/index.js +1 -1
- package/dist/esm/ui/ConfigPanel/FieldMessages.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/CustomSelect.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/Date.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/Expand.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/TabGroup.js +1 -1
- package/dist/esm/ui/ConfigPanel/FormErrorBoundary.js +1 -1
- package/dist/esm/ui/ConfigPanel/Header.js +1 -1
- package/dist/esm/ui/ConfigPanel/LoadingState.js +1 -1
- package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +1 -1
- package/dist/esm/ui/SaveIndicator/SaveIndicator.js +1 -1
- package/dist/types/pm-plugins/toolbar.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/ErrorMessage/index.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/FieldMessages.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/CustomSelect.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/Date.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/DateRange.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/Expand.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/Fieldset.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/TabGroup.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Header.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/NestedForms/RemovableField.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +1 -1
- package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +1 -1
- package/example-utils/config-panel/ConfigPanelWithProviders.tsx +1 -1
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 13.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 13.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
14
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
15
|
+
|
|
16
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
17
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
18
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
19
|
+
|
|
20
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
21
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
22
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 12.0.0
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ var _bindEventListener = require("bind-event-listener");
|
|
|
20
20
|
var _isEqual2 = _interopRequireDefault(require("lodash/isEqual"));
|
|
21
21
|
var _merge = _interopRequireDefault(require("lodash/merge"));
|
|
22
22
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
23
|
-
var
|
|
23
|
+
var _reactIntl = require("react-intl");
|
|
24
24
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
25
25
|
var _browserApis = require("@atlaskit/browser-apis");
|
|
26
26
|
var _buttonGroup = _interopRequireDefault(require("@atlaskit/button/button-group"));
|
|
@@ -102,7 +102,7 @@ function ConfigForm(_ref) {
|
|
|
102
102
|
onClick: onCancel
|
|
103
103
|
}, intl.formatMessage(_extensions.configPanelMessages.cancel))))));
|
|
104
104
|
}
|
|
105
|
-
var ConfigFormIntl = (0,
|
|
105
|
+
var ConfigFormIntl = (0, _reactIntl.injectIntl)(ConfigForm);
|
|
106
106
|
var WithOnFieldChange = function WithOnFieldChange(_ref2) {
|
|
107
107
|
var getState = _ref2.getState,
|
|
108
108
|
autoSave = _ref2.autoSave,
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.DescriptionSummary = DescriptionSummary;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
12
|
var _HelpLink = require("./HelpLink");
|
|
@@ -21,7 +21,7 @@ var helpLinkStyles = (0, _primitives.xcss)({
|
|
|
21
21
|
});
|
|
22
22
|
function DescriptionSummary(_ref) {
|
|
23
23
|
var extensionManifest = _ref.extensionManifest;
|
|
24
|
-
var _useIntl = (0,
|
|
24
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
25
25
|
formatMessage = _useIntl.formatMessage;
|
|
26
26
|
var description = extensionManifest.description,
|
|
27
27
|
deprecation = extensionManifest.deprecation,
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
11
11
|
var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
12
12
|
var _ErrorImage = _interopRequireDefault(require("./ErrorImage"));
|
|
@@ -28,5 +28,5 @@ var ConfigPanelErrorMessage = function ConfigPanelErrorMessage(_ref) {
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
31
|
-
var _default_1 = (0,
|
|
31
|
+
var _default_1 = (0, _reactIntl.injectIntl)(ConfigPanelErrorMessage);
|
|
32
32
|
var _default = exports.default = _default_1;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
11
11
|
var _form = require("@atlaskit/form");
|
|
12
12
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -111,5 +111,5 @@ var FieldMessages = function FieldMessages(_ref2) {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
114
|
-
var _default_1 = (0,
|
|
114
|
+
var _default_1 = (0, _reactIntl.injectIntl)(FieldMessages);
|
|
115
115
|
var _default = exports.default = _default_1;
|
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
|
-
var
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
15
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
16
16
|
var _form = require("@atlaskit/form");
|
|
17
17
|
var _select = require("@atlaskit/select");
|
|
@@ -201,5 +201,5 @@ function CustomSelect(_ref2) {
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
204
|
-
var _default_1 = (0,
|
|
204
|
+
var _default_1 = (0, _reactIntl.injectIntl)(CustomSelect);
|
|
205
205
|
var _default = exports.default = _default_1;
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _datetimePicker = require("@atlaskit/datetime-picker");
|
|
12
12
|
var _form = require("@atlaskit/form");
|
|
13
13
|
var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
|
|
@@ -67,5 +67,5 @@ function Date(_ref) {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
70
|
-
var _default_1 = (0,
|
|
70
|
+
var _default_1 = (0, _reactIntl.injectIntl)(Date);
|
|
71
71
|
var _default = exports.default = _default_1;
|
|
@@ -11,7 +11,7 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
11
11
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
var _react2 = require("@emotion/react");
|
|
14
|
-
var
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
15
|
var _datetimePicker = require("@atlaskit/datetime-picker");
|
|
16
16
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
17
17
|
var _form = require("@atlaskit/form");
|
|
@@ -186,5 +186,5 @@ var DateRange = function DateRange(_ref3) {
|
|
|
186
186
|
}));
|
|
187
187
|
return element;
|
|
188
188
|
};
|
|
189
|
-
var _default_1 = (0,
|
|
189
|
+
var _default_1 = (0, _reactIntl.injectIntl)(DateRange);
|
|
190
190
|
var _default = exports.default = _default_1;
|
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _new = require("@atlaskit/button/new");
|
|
14
14
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
15
15
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
@@ -99,5 +99,5 @@ function Expand(_ref) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
102
|
-
var _default_1 = (0,
|
|
102
|
+
var _default_1 = (0, _reactIntl.injectIntl)(Expand);
|
|
103
103
|
var _default = exports.default = _default_1;
|
|
@@ -17,7 +17,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
17
17
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
18
18
|
var _react = _interopRequireWildcard(require("react"));
|
|
19
19
|
var _react2 = require("@emotion/react");
|
|
20
|
-
var
|
|
20
|
+
var _reactIntl = require("react-intl");
|
|
21
21
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
22
22
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
23
23
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
@@ -287,5 +287,5 @@ var sectionMessageWrapperStyles = (0, _primitives.xcss)({
|
|
|
287
287
|
});
|
|
288
288
|
|
|
289
289
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
290
|
-
var _default_1 = (0,
|
|
290
|
+
var _default_1 = (0, _reactIntl.injectIntl)(FieldsetField);
|
|
291
291
|
var _default = exports.default = _default_1;
|
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _tabs = _interopRequireWildcard(require("@atlaskit/tabs"));
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
15
|
/**
|
|
@@ -61,5 +61,5 @@ var TabGroupImpl = function TabGroupImpl(props) {
|
|
|
61
61
|
TabGroupImpl.displayName = 'TabGroup';
|
|
62
62
|
|
|
63
63
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
64
|
-
var TabGroup = (0,
|
|
64
|
+
var TabGroup = (0, _reactIntl.injectIntl)(TabGroupImpl);
|
|
65
65
|
var _default = exports.default = TabGroup;
|
|
@@ -14,7 +14,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
14
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _react = _interopRequireDefault(require("react"));
|
|
17
|
-
var
|
|
17
|
+
var _reactIntl = require("react-intl");
|
|
18
18
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
19
19
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
20
20
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
@@ -138,6 +138,6 @@ var FormErrorBoundaryInner = /*#__PURE__*/function (_React$Component) {
|
|
|
138
138
|
}
|
|
139
139
|
}]);
|
|
140
140
|
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
141
|
-
var FormErrorBoundaryImpl = exports.FormErrorBoundaryImpl = (0,
|
|
141
|
+
var FormErrorBoundaryImpl = exports.FormErrorBoundaryImpl = (0, _reactIntl.injectIntl)(FormErrorBoundaryInner);
|
|
142
142
|
var FormErrorBoundary = exports.FormErrorBoundary = (0, _analyticsNext.withAnalyticsContext)()((0, _analyticsNext.withAnalyticsEvents)()(FormErrorBoundaryImpl));
|
|
143
143
|
FormErrorBoundary.displayName = 'FormErrorBoundary';
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _new = require("@atlaskit/button/new");
|
|
12
12
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
13
13
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
@@ -163,5 +163,5 @@ var Header = function Header(_ref) {
|
|
|
163
163
|
label: intl.formatMessage(_extensions.configPanelMessages.documentation)
|
|
164
164
|
})))));
|
|
165
165
|
};
|
|
166
|
-
var _default_1 = (0,
|
|
166
|
+
var _default_1 = (0, _reactIntl.injectIntl)(Header);
|
|
167
167
|
var _default = exports.default = _default_1;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
11
11
|
var _sectionMessage = _interopRequireDefault(require("@atlaskit/section-message"));
|
|
12
12
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
@@ -26,7 +26,7 @@ var spinnerWrapperStyles = (0, _react.css)({
|
|
|
26
26
|
var errorWrapperStyles = (0, _react.css)({
|
|
27
27
|
marginTop: "var(--ds-space-400, 32px)" // Add some padding to the top to make sure we place this below the offline status banner
|
|
28
28
|
});
|
|
29
|
-
var LoadingStateWithErrorHandling = (0,
|
|
29
|
+
var LoadingStateWithErrorHandling = (0, _reactIntl.injectIntl)(function (props) {
|
|
30
30
|
if (props.error) {
|
|
31
31
|
return (0, _react.jsx)("div", {
|
|
32
32
|
css: errorWrapperStyles,
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
12
12
|
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
13
13
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -71,5 +71,5 @@ var RemovableField = function RemovableField(_ref) {
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
74
|
-
var _default_1 = (0,
|
|
74
|
+
var _default_1 = (0, _reactIntl.injectIntl)(RemovableField);
|
|
75
75
|
var _default = exports.default = _default_1;
|
|
@@ -8,7 +8,7 @@ exports.SaveIndicator = 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 _extensions = require("@atlaskit/editor-common/extensions");
|
|
13
13
|
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
14
14
|
var _primitives = require("@atlaskit/primitives");
|
|
@@ -82,7 +82,7 @@ var SaveIndicator = exports.SaveIndicator = function SaveIndicator(_ref) {
|
|
|
82
82
|
spacing: "none"
|
|
83
83
|
}), (0, _react2.jsx)(_primitives.Box, {
|
|
84
84
|
xcss: saveIndicatorTextStyles
|
|
85
|
-
}, (0, _react2.jsx)(_primitives.Text, null, (0, _react2.jsx)(
|
|
85
|
+
}, (0, _react2.jsx)(_primitives.Text, null, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
86
86
|
// Ignored via go/ees005
|
|
87
87
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
88
88
|
, _extensions.messages.saveIndicator))))));
|
|
@@ -5,7 +5,7 @@ import { bind } from 'bind-event-listener';
|
|
|
5
5
|
import _isEqual from 'lodash/isEqual';
|
|
6
6
|
import _mergeRecursive from 'lodash/merge';
|
|
7
7
|
import memoizeOne from 'memoize-one';
|
|
8
|
-
import { injectIntl } from 'react-intl
|
|
8
|
+
import { injectIntl } from 'react-intl';
|
|
9
9
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
10
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
11
11
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import EmptyState from '@atlaskit/empty-state';
|
|
5
5
|
import ErrorImage from './ErrorImage';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Fragment, useMemo } from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import { ErrorMessage, HelperMessage } from '@atlaskit/form';
|
|
5
5
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
|
-
import { injectIntl } from 'react-intl
|
|
3
|
+
import { injectIntl } from 'react-intl';
|
|
4
4
|
import { getCustomFieldResolver, configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
5
5
|
import { Field } from '@atlaskit/form';
|
|
6
6
|
import { AsyncCreatableSelect } from '@atlaskit/select';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { injectIntl } from 'react-intl
|
|
3
|
+
import { injectIntl } from 'react-intl';
|
|
4
4
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
5
5
|
import { Field } from '@atlaskit/form';
|
|
6
6
|
import FieldMessages from '../FieldMessages';
|
|
@@ -7,7 +7,7 @@ import { Fragment, useEffect, useMemo, useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { injectIntl } from 'react-intl
|
|
10
|
+
import { injectIntl } from 'react-intl';
|
|
11
11
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
12
12
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
13
13
|
import { Field } from '@atlaskit/form';
|
|
@@ -6,7 +6,7 @@ import React, { useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { IconButton } from '@atlaskit/button/new';
|
|
11
11
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
@@ -8,7 +8,7 @@ import React, { Fragment } from 'react';
|
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
|
-
import { injectIntl } from 'react-intl
|
|
11
|
+
import { injectIntl } from 'react-intl';
|
|
12
12
|
import Button from '@atlaskit/button/new';
|
|
13
13
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
14
14
|
import Heading from '@atlaskit/heading';
|
|
@@ -6,7 +6,7 @@ import React, { useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
11
11
|
const panelWrapperStyles = css({
|
|
12
12
|
flexGrow: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { injectIntl } from 'react-intl
|
|
3
|
+
import { injectIntl } from 'react-intl';
|
|
4
4
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
5
|
import { ACTION, ACTION_SUBJECT, editorAnalyticsChannel, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
@@ -6,7 +6,7 @@ import { Fragment, lazy, Suspense, useMemo } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { IconButton } from '@atlaskit/button/new';
|
|
11
11
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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 { messages } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import SectionMessage from '@atlaskit/section-message';
|
|
11
11
|
import Spinner from '@atlaskit/spinner';
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
11
11
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -6,7 +6,7 @@ import { Fragment, useCallback, useEffect, 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 { messages } from '@atlaskit/editor-common/extensions';
|
|
11
11
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -16,7 +16,7 @@ import { bind } from 'bind-event-listener';
|
|
|
16
16
|
import _isEqual from 'lodash/isEqual';
|
|
17
17
|
import _mergeRecursive from 'lodash/merge';
|
|
18
18
|
import memoizeOne from 'memoize-one';
|
|
19
|
-
import { injectIntl } from 'react-intl
|
|
19
|
+
import { injectIntl } from 'react-intl';
|
|
20
20
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
21
21
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
22
22
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import EmptyState from '@atlaskit/empty-state';
|
|
5
5
|
import ErrorImage from './ErrorImage';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Fragment, useMemo } from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import { ErrorMessage, HelperMessage } from '@atlaskit/form';
|
|
5
5
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
@@ -3,7 +3,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
import React, { useEffect, useState } from 'react';
|
|
6
|
-
import { injectIntl } from 'react-intl
|
|
6
|
+
import { injectIntl } from 'react-intl';
|
|
7
7
|
import { getCustomFieldResolver, configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import { Field } from '@atlaskit/form';
|
|
9
9
|
import { AsyncCreatableSelect } from '@atlaskit/select';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { injectIntl } from 'react-intl
|
|
3
|
+
import { injectIntl } from 'react-intl';
|
|
4
4
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
5
5
|
import { Field } from '@atlaskit/form';
|
|
6
6
|
import FieldMessages from '../FieldMessages';
|
|
@@ -12,7 +12,7 @@ import { Fragment, useEffect, useMemo, useState } from 'react';
|
|
|
12
12
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
import { css, jsx } from '@emotion/react';
|
|
15
|
-
import { injectIntl } from 'react-intl
|
|
15
|
+
import { injectIntl } from 'react-intl';
|
|
16
16
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
17
17
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
18
18
|
import { Field } from '@atlaskit/form';
|
|
@@ -7,7 +7,7 @@ import React, { useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { injectIntl } from 'react-intl
|
|
10
|
+
import { injectIntl } from 'react-intl';
|
|
11
11
|
import { IconButton } from '@atlaskit/button/new';
|
|
12
12
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
13
13
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
@@ -19,7 +19,7 @@ import React, { Fragment } from 'react';
|
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
import { css, jsx } from '@emotion/react';
|
|
22
|
-
import { injectIntl } from 'react-intl
|
|
22
|
+
import { injectIntl } from 'react-intl';
|
|
23
23
|
import Button from '@atlaskit/button/new';
|
|
24
24
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
25
25
|
import Heading from '@atlaskit/heading';
|
|
@@ -7,7 +7,7 @@ import React, { useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { injectIntl } from 'react-intl
|
|
10
|
+
import { injectIntl } from 'react-intl';
|
|
11
11
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
12
12
|
var panelWrapperStyles = css({
|
|
13
13
|
flexGrow: 1,
|
|
@@ -9,7 +9,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
9
9
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import { injectIntl } from 'react-intl
|
|
12
|
+
import { injectIntl } from 'react-intl';
|
|
13
13
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
14
14
|
import { ACTION, ACTION_SUBJECT, editorAnalyticsChannel, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
15
15
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
@@ -6,7 +6,7 @@ import { Fragment, lazy, Suspense, useMemo } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { IconButton } from '@atlaskit/button/new';
|
|
11
11
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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 { messages } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import SectionMessage from '@atlaskit/section-message';
|
|
11
11
|
import Spinner from '@atlaskit/spinner';
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
11
11
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -7,7 +7,7 @@ import { Fragment, useCallback, useEffect, 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 { messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import { type ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
3
3
|
import type { Command, FloatingToolbarHandler, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
declare const _default_1: React.FC<WithIntlProps<{
|
|
4
4
|
description?: string;
|
|
5
5
|
error?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { CustomField, ExtensionManifest, Parameters } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import type { OnFieldChange } from '../types';
|
|
5
5
|
declare const _default_1: React.FC<WithIntlProps<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { DateField } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import type { OnFieldChange } from '../types';
|
|
5
5
|
declare const _default_1: React.FC<WithIntlProps<{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { DateRangeField } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import type { OnFieldChange } from '../types';
|
|
9
9
|
declare const _default_1: FC<WithIntlProps<{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { FieldDefinition } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
type Props = {
|
|
9
9
|
children: React.ReactNode;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { ExtensionManifest, Fieldset, Parameters } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import type { FormContentProps, OnFieldChange } from '../types';
|
|
9
9
|
type Props = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { TabField, TabGroupField } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
type Props = {
|
|
9
9
|
field: TabGroupField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import type { FieldDefinition } from '@atlaskit/editor-common/extensions';
|
|
5
5
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { Icon } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import { type ExtensionDeprecationStatus } from '@atlaskit/editor-common/extensions';
|
|
9
9
|
type Props = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
type Props = {
|
|
8
8
|
canRemoveField?: boolean;
|
|
9
9
|
children: React.ReactElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import { type ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
3
3
|
import type { Command, FloatingToolbarHandler, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
declare const _default_1: React.FC<WithIntlProps<{
|
|
4
4
|
description?: string;
|
|
5
5
|
error?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { CustomField, ExtensionManifest, Parameters } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import type { OnFieldChange } from '../types';
|
|
5
5
|
declare const _default_1: React.FC<WithIntlProps<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { DateField } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import type { OnFieldChange } from '../types';
|
|
5
5
|
declare const _default_1: React.FC<WithIntlProps<{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { DateRangeField } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import type { OnFieldChange } from '../types';
|
|
9
9
|
declare const _default_1: FC<WithIntlProps<{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { FieldDefinition } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
type Props = {
|
|
9
9
|
children: React.ReactNode;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { ExtensionManifest, Fieldset, Parameters } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import type { FormContentProps, OnFieldChange } from '../types';
|
|
9
9
|
type Props = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { TabField, TabGroupField } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
type Props = {
|
|
9
9
|
field: TabGroupField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import type { FieldDefinition } from '@atlaskit/editor-common/extensions';
|
|
5
5
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { Icon } from '@atlaskit/editor-common/extensions';
|
|
8
8
|
import { type ExtensionDeprecationStatus } from '@atlaskit/editor-common/extensions';
|
|
9
9
|
type Props = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
type Props = {
|
|
8
8
|
canRemoveField?: boolean;
|
|
9
9
|
children: React.ReactElement;
|
|
@@ -7,7 +7,7 @@ import { useEffect, 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 { IntlProvider } from 'react-intl
|
|
10
|
+
import { IntlProvider } from 'react-intl';
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
13
13
|
import { CodeBlock } from '@atlaskit/code';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.1",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"@atlaskit/checkbox": "^17.3.0",
|
|
31
31
|
"@atlaskit/datetime-picker": "^17.6.0",
|
|
32
32
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
35
|
-
"@atlaskit/editor-plugin-context-identifier": "^
|
|
36
|
-
"@atlaskit/editor-plugin-context-panel": "^
|
|
37
|
-
"@atlaskit/editor-plugin-copy-button": "^
|
|
38
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
39
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
40
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
41
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
42
|
-
"@atlaskit/editor-plugin-width": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-connectivity": "^10.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-context-identifier": "^10.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-context-panel": "^12.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-copy-button": "^10.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-decorations": "^10.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-feature-flags": "^9.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-mentions": "^12.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-toolbar": "^7.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-width": "^11.0.0",
|
|
43
43
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
45
45
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/tabs": "^19.1.0",
|
|
60
60
|
"@atlaskit/textarea": "^8.3.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.3.0",
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^63.0.0",
|
|
63
63
|
"@atlaskit/toggle": "^15.6.0",
|
|
64
64
|
"@atlaskit/tokens": "^13.0.0",
|
|
65
65
|
"@atlaskit/tooltip": "^21.1.0",
|
|
@@ -73,11 +73,12 @@
|
|
|
73
73
|
"uuid": "^3.1.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@atlaskit/editor-common": "^
|
|
76
|
+
"@atlaskit/editor-common": "^114.2.0",
|
|
77
77
|
"react": "^18.2.0",
|
|
78
|
-
"react-intl
|
|
78
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
+
"react-intl": "^6.6.2",
|
|
81
82
|
"react-select": "^5.4.0"
|
|
82
83
|
},
|
|
83
84
|
"techstack": {
|