@atlaskit/editor-plugin-extension 1.6.0 → 1.6.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 +6 -0
- package/dist/cjs/ui/ConfigPanel/ErrorMessage/ErrorImage.js +1 -0
- package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +1 -0
- package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -0
- package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +2 -0
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Fields/SelectItem.js +1 -0
- package/dist/cjs/ui/ConfigPanel/Fields/TabGroup.js +2 -0
- package/dist/cjs/ui/ConfigPanel/Fields/common/RequiredIndicator.js +2 -0
- package/dist/cjs/ui/ConfigPanel/Header.js +2 -0
- package/dist/cjs/ui/ConfigPanel/LoadingState.js +1 -0
- package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +2 -0
- package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +2 -0
- package/dist/es2019/ui/ConfigPanel/ErrorMessage/ErrorImage.js +1 -0
- package/dist/es2019/ui/ConfigPanel/Fields/Boolean.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/DateRange.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/SelectItem.js +1 -0
- package/dist/es2019/ui/ConfigPanel/Fields/TabGroup.js +2 -0
- package/dist/es2019/ui/ConfigPanel/Fields/common/RequiredIndicator.js +1 -0
- package/dist/es2019/ui/ConfigPanel/Header.js +2 -0
- package/dist/es2019/ui/ConfigPanel/LoadingState.js +1 -0
- package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +2 -0
- package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +2 -0
- package/dist/esm/ui/ConfigPanel/ErrorMessage/ErrorImage.js +1 -0
- package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/Expand.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/SelectItem.js +1 -0
- package/dist/esm/ui/ConfigPanel/Fields/TabGroup.js +2 -0
- package/dist/esm/ui/ConfigPanel/Fields/common/RequiredIndicator.js +1 -0
- package/dist/esm/ui/ConfigPanel/Header.js +2 -0
- package/dist/esm/ui/ConfigPanel/LoadingState.js +1 -0
- package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +2 -0
- package/dist/esm/ui/SaveIndicator/SaveIndicator.js +2 -0
- package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +1 -0
- package/package.json +42 -27
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
9
9
|
// Quality Ticket: https://product-fabric.atlassian.net/browse/DSP-4249
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
13
|
var imageContainerStyles = (0, _react.css)({
|
|
13
14
|
margin: "0 auto ".concat("var(--ds-space-300, 24px)"),
|
|
@@ -19,6 +19,7 @@ var _RequiredIndicator = require("./common/RequiredIndicator");
|
|
|
19
19
|
var _excluded = ["value"],
|
|
20
20
|
_excluded2 = ["id", "value"];
|
|
21
21
|
/** @jsx jsx */
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
23
|
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); }
|
|
23
24
|
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; }
|
|
24
25
|
var toggleFieldWrapperStyles = (0, _react2.css)({
|
|
@@ -16,6 +16,7 @@ var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
|
|
|
16
16
|
var _types = require("../types");
|
|
17
17
|
var _excluded = ["onChange", "value"];
|
|
18
18
|
/** @jsx jsx */
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
20
|
function _validate(value, isRequired) {
|
|
20
21
|
if (isRequired && !(value !== null && value !== void 0 && value.length)) {
|
|
21
22
|
return _types.ValidationError.Required;
|
|
@@ -16,7 +16,7 @@ var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
|
|
|
16
16
|
var _utils = require("../utils");
|
|
17
17
|
var _RequiredIndicator = require("./common/RequiredIndicator");
|
|
18
18
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
|
|
19
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
20
|
/*
|
|
21
21
|
NOTE: color used here are not yet in atlaskit code
|
|
22
22
|
this is part of extended color pack from ADG, which is yet to be release
|
|
@@ -20,7 +20,7 @@ var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
|
20
20
|
var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
|
|
21
21
|
var _utils = require("../utils");
|
|
22
22
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
23
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
|
|
23
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
var horizontalFieldsStyles = (0, _react2.css)({
|
|
25
25
|
display: 'flex',
|
|
26
26
|
flexDirection: 'row',
|
|
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
19
19
|
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; }
|
|
20
20
|
/** @jsx jsx */
|
|
21
21
|
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
|
+
|
|
22
24
|
var expandContainerStyles = (0, _react2.css)({
|
|
23
25
|
borderBottom: "1px solid ".concat("var(--ds-border, ".concat(_colors.N40, ")"))
|
|
24
26
|
});
|
|
@@ -31,7 +31,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
31
31
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
32
32
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33
33
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
34
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
34
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
35
35
|
var actionsWrapperStyles = (0, _react2.css)({
|
|
36
36
|
borderTop: "1px solid ".concat("var(--ds-border, ".concat(_colors.N40A, ")")),
|
|
37
37
|
marginTop: "var(--ds-space-200, 16px)",
|
|
@@ -8,6 +8,7 @@ exports.formatOptionLabel = void 0;
|
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _avatar = _interopRequireDefault(require("@atlaskit/avatar"));
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
13
|
var itemWrapperStyles = (0, _react.css)({
|
|
13
14
|
display: 'flex',
|
|
@@ -15,6 +15,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
15
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
|
/** @jsx jsx */
|
|
17
17
|
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
|
+
|
|
18
20
|
var panelWrapperStyles = (0, _react2.css)({
|
|
19
21
|
flexGrow: 1,
|
|
20
22
|
maxWidth: '100%'
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.requiredIndicator = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _colors = require("@atlaskit/theme/colors");
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
+
|
|
9
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
10
12
|
var requiredIndicator = exports.requiredIndicator = (0, _react.css)({
|
|
11
13
|
color: "var(--ds-text-danger, ".concat(_colors.R500, ")")
|
|
@@ -17,6 +17,8 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
17
17
|
var _constants = require("@atlaskit/theme/constants");
|
|
18
18
|
/** @jsx jsx */
|
|
19
19
|
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
+
|
|
20
22
|
var iconWidth = 40;
|
|
21
23
|
var buttonWidth = 40;
|
|
22
24
|
var margin = 16;
|
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
13
|
var spinnerWrapperStyles = (0, _react.css)({
|
|
13
14
|
display: 'flex',
|
|
@@ -14,6 +14,8 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
14
14
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
15
15
|
/** @jsx jsx */
|
|
16
16
|
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
|
|
17
19
|
var removableFieldWrapperStyles = (0, _react2.css)({
|
|
18
20
|
position: 'relative',
|
|
19
21
|
marginBottom: 0
|
|
@@ -14,6 +14,8 @@ var _checkCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/check-ci
|
|
|
14
14
|
var _colors = require("@atlaskit/theme/colors");
|
|
15
15
|
/** @jsx jsx */
|
|
16
16
|
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
|
|
17
19
|
var noop = function noop() {};
|
|
18
20
|
var saveIndicatorWrapperStyles = (0, _react2.css)({
|
|
19
21
|
display: 'flex',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
2
|
// Quality Ticket: https://product-fabric.atlassian.net/browse/DSP-4249
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { css, jsx } from '@emotion/react';
|
|
5
6
|
const imageContainerStyles = css({
|
|
6
7
|
margin: `0 auto ${"var(--ds-space-300, 24px)"}`,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { Fragment } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
|
|
6
8
|
import { Field } from '@atlaskit/form';
|
|
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
|
|
4
4
|
import { Fragment, useCallback } from 'react';
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
7
|
import { css, jsx } from '@emotion/react';
|
|
6
8
|
import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
|
|
7
9
|
import { Fieldset as AKFieldset, Field } from '@atlaskit/form';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { Fragment } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { chartsColorPaletteTooltipMessages, DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
|
|
5
7
|
import { ColorPickerButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useEffect, useMemo, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { injectIntl } from 'react-intl-next';
|
|
6
8
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { Fragment } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { injectIntl } from 'react-intl-next';
|
|
6
8
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
import { R500 } from '@atlaskit/theme/colors';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { Fragment } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import Loadable from 'react-loadable';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { Fragment, useCallback, useEffect, useRef, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import { messages } from '@atlaskit/editor-common/extensions';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
2
|
// Quality Ticket: https://product-fabric.atlassian.net/browse/DSP-4249
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { css, jsx } from '@emotion/react';
|
|
5
6
|
var imageContainerStyles = css({
|
|
6
7
|
margin: "0 auto ".concat("var(--ds-space-300, 24px)"),
|
|
@@ -4,6 +4,8 @@ var _excluded = ["value"],
|
|
|
4
4
|
_excluded2 = ["id", "value"];
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import React, { Fragment } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
9
|
import { css, jsx } from '@emotion/react';
|
|
8
10
|
import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
|
|
9
11
|
import { Field } from '@atlaskit/form';
|
|
@@ -5,6 +5,8 @@ var _excluded = ["onChange", "value"];
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
|
|
7
7
|
import { Fragment, useCallback } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import { css, jsx } from '@emotion/react';
|
|
9
11
|
import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
|
|
10
12
|
import { Fieldset as AKFieldset, Field } from '@atlaskit/form';
|
|
@@ -3,6 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import { Fragment } from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
8
|
import { css, jsx } from '@emotion/react';
|
|
7
9
|
import { chartsColorPaletteTooltipMessages, DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
|
|
8
10
|
import { ColorPickerButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -6,6 +6,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
/** @jsx jsx */
|
|
8
8
|
import { Fragment, useEffect, useMemo, useState } from 'react';
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
11
|
import { css, jsx } from '@emotion/react';
|
|
10
12
|
import { injectIntl } from 'react-intl-next';
|
|
11
13
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { injectIntl } from 'react-intl-next';
|
|
6
8
|
import Button from '@atlaskit/button';
|
|
@@ -13,6 +13,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
import React, { Fragment } from 'react';
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
18
|
import { css, jsx } from '@emotion/react';
|
|
17
19
|
import { injectIntl } from 'react-intl-next';
|
|
18
20
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { injectIntl } from 'react-intl-next';
|
|
6
8
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
import { R500 } from '@atlaskit/theme/colors';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { Fragment } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import Loadable from 'react-loadable';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useCallback, useEffect, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
8
|
import { messages } from '@atlaskit/editor-common/extensions';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
28
28
|
"@atlaskit/adf-utils": "^19.2.0",
|
|
29
29
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
30
|
-
"@atlaskit/avatar": "^21.
|
|
31
|
-
"@atlaskit/button": "^17.
|
|
32
|
-
"@atlaskit/checkbox": "^13.
|
|
33
|
-
"@atlaskit/datetime-picker": "^13.
|
|
34
|
-
"@atlaskit/editor-common": "^82.
|
|
30
|
+
"@atlaskit/avatar": "^21.10.0",
|
|
31
|
+
"@atlaskit/button": "^17.22.0",
|
|
32
|
+
"@atlaskit/checkbox": "^13.5.0",
|
|
33
|
+
"@atlaskit/datetime-picker": "^13.6.0",
|
|
34
|
+
"@atlaskit/editor-common": "^82.9.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.13.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
37
37
|
"@atlaskit/editor-plugin-context-identifier": "^1.1.0",
|
|
@@ -42,23 +42,23 @@
|
|
|
42
42
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
43
43
|
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
44
44
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
45
|
-
"@atlaskit/empty-state": "^7.
|
|
46
|
-
"@atlaskit/form": "^10.
|
|
47
|
-
"@atlaskit/icon": "^22.
|
|
45
|
+
"@atlaskit/empty-state": "^7.9.0",
|
|
46
|
+
"@atlaskit/form": "^10.4.0",
|
|
47
|
+
"@atlaskit/icon": "^22.4.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
49
|
-
"@atlaskit/primitives": "^
|
|
50
|
-
"@atlaskit/radio": "^6.
|
|
49
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
50
|
+
"@atlaskit/radio": "^6.4.0",
|
|
51
51
|
"@atlaskit/section-message": "^6.5.0",
|
|
52
|
-
"@atlaskit/select": "^17.
|
|
52
|
+
"@atlaskit/select": "^17.11.0",
|
|
53
53
|
"@atlaskit/smart-user-picker": "^6.9.0",
|
|
54
|
-
"@atlaskit/spinner": "^16.
|
|
55
|
-
"@atlaskit/tabs": "^16.
|
|
56
|
-
"@atlaskit/textarea": "^5.
|
|
57
|
-
"@atlaskit/textfield": "^6.
|
|
58
|
-
"@atlaskit/theme": "^12.
|
|
59
|
-
"@atlaskit/toggle": "^13.
|
|
60
|
-
"@atlaskit/tokens": "^1.
|
|
61
|
-
"@atlaskit/tooltip": "^18.
|
|
54
|
+
"@atlaskit/spinner": "^16.2.0",
|
|
55
|
+
"@atlaskit/tabs": "^16.2.0",
|
|
56
|
+
"@atlaskit/textarea": "^5.5.0",
|
|
57
|
+
"@atlaskit/textfield": "^6.4.0",
|
|
58
|
+
"@atlaskit/theme": "^12.10.0",
|
|
59
|
+
"@atlaskit/toggle": "^13.2.0",
|
|
60
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
61
|
+
"@atlaskit/tooltip": "^18.5.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|
|
63
63
|
"@emotion/react": "^11.7.1",
|
|
64
64
|
"is-number": "^7.0.0",
|
|
@@ -77,17 +77,32 @@
|
|
|
77
77
|
},
|
|
78
78
|
"techstack": {
|
|
79
79
|
"@atlassian/frontend": {
|
|
80
|
-
"import-structure": [
|
|
81
|
-
|
|
80
|
+
"import-structure": [
|
|
81
|
+
"atlassian-conventions"
|
|
82
|
+
],
|
|
83
|
+
"circular-dependencies": [
|
|
84
|
+
"file-and-folder-level"
|
|
85
|
+
]
|
|
82
86
|
},
|
|
83
87
|
"@repo/internal": {
|
|
84
88
|
"dom-events": "use-bind-event-listener",
|
|
85
|
-
"analytics": [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
+
"analytics": [
|
|
90
|
+
"analytics-next"
|
|
91
|
+
],
|
|
92
|
+
"design-tokens": [
|
|
93
|
+
"color"
|
|
94
|
+
],
|
|
95
|
+
"theming": [
|
|
96
|
+
"react-context"
|
|
97
|
+
],
|
|
98
|
+
"ui-components": [
|
|
99
|
+
"lite-mode"
|
|
100
|
+
],
|
|
89
101
|
"deprecation": "no-deprecated-imports",
|
|
90
|
-
"styling": [
|
|
102
|
+
"styling": [
|
|
103
|
+
"emotion",
|
|
104
|
+
"emotion"
|
|
105
|
+
]
|
|
91
106
|
}
|
|
92
107
|
},
|
|
93
108
|
"stricter": {
|