@atlaskit/editor-plugin-alignment 1.4.2 → 1.5.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 +12 -0
- package/dist/cjs/ui/Alignment/index.js +1 -0
- package/dist/cjs/ui/Alignment/styles.js +2 -0
- package/dist/cjs/ui/ToolbarAlignment/index.js +1 -1
- package/dist/cjs/ui/ToolbarAlignment/styles.js +2 -0
- package/dist/es2019/ui/Alignment/index.js +1 -0
- package/dist/es2019/ui/Alignment/styles.js +1 -0
- package/dist/es2019/ui/ToolbarAlignment/index.js +2 -0
- package/dist/es2019/ui/ToolbarAlignment/styles.js +1 -0
- package/dist/esm/ui/Alignment/index.js +1 -0
- package/dist/esm/ui/Alignment/styles.js +1 -0
- package/dist/esm/ui/ToolbarAlignment/index.js +2 -0
- package/dist/esm/ui/ToolbarAlignment/styles.js +1 -0
- package/package.json +35 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-alignment
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#114156](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114156)
|
|
8
|
+
[`bc6a63af2d1d0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc6a63af2d1d0) -
|
|
9
|
+
Bump adf-schema to 37.0.0 and adf-schema-json to 1.16.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.4.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -14,6 +14,7 @@ var _iconMap = require("../ToolbarAlignment/icon-map");
|
|
|
14
14
|
var _AlignmentButton = _interopRequireDefault(require("./AlignmentButton"));
|
|
15
15
|
var _styles = require("./styles");
|
|
16
16
|
/** @jsx jsx */
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
18
|
|
|
18
19
|
var alignCenterKeyboardShortcut;
|
|
19
20
|
var alignRightKeyboardShortcut;
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.alignmentWrapper = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
+
|
|
8
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
9
11
|
var alignmentWrapper = exports.alignmentWrapper = (0, _react.css)({
|
|
10
12
|
padding: "0 ".concat("var(--ds-space-100, 8px)"),
|
|
@@ -23,7 +23,7 @@ var _Alignment = _interopRequireDefault(require("../Alignment"));
|
|
|
23
23
|
var _iconMap = require("./icon-map");
|
|
24
24
|
var _styles2 = require("./styles");
|
|
25
25
|
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); }; }
|
|
26
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
26
|
+
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
|
|
27
27
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
28
28
|
var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
|
|
29
29
|
(0, _inherits2.default)(AlignmentToolbar, _React$Component);
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.wrapper = exports.triggerWrapper = exports.expandIconWrapper = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
+
|
|
8
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
9
11
|
var triggerWrapper = exports.triggerWrapper = (0, _react.css)({
|
|
10
12
|
display: 'flex'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { injectIntl } from 'react-intl-next';
|
|
4
5
|
import { alignCenter, alignLeft, alignRight } from '@atlaskit/editor-common/keymaps';
|
|
@@ -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
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
3
4
|
export const alignmentWrapper = css({
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { injectIntl } from 'react-intl-next';
|
|
6
8
|
import { alignmentMessages as messages } from '@atlaskit/editor-common/messages';
|
|
@@ -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
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
3
4
|
export const triggerWrapper = css({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { injectIntl } from 'react-intl-next';
|
|
4
5
|
import { alignCenter, alignLeft, alignRight } from '@atlaskit/editor-common/keymaps';
|
|
@@ -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
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
3
4
|
export var alignmentWrapper = css({
|
|
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
9
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
/** @jsx jsx */
|
|
11
11
|
import React from 'react';
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
14
|
import { jsx } from '@emotion/react';
|
|
13
15
|
import { injectIntl } from 'react-intl-next';
|
|
14
16
|
import { alignmentMessages as messages } from '@atlaskit/editor-common/messages';
|
|
@@ -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
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
3
4
|
export var triggerWrapper = css({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-alignment",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Alignment plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"runReact18": false
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^
|
|
25
|
-
"@atlaskit/editor-common": "^82.
|
|
24
|
+
"@atlaskit/adf-schema": "^37.0.0",
|
|
25
|
+
"@atlaskit/editor-common": "^82.12.0",
|
|
26
26
|
"@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
|
|
27
27
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
28
28
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
29
|
-
"@atlaskit/icon": "^22.
|
|
29
|
+
"@atlaskit/icon": "^22.4.0",
|
|
30
30
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
31
|
-
"@atlaskit/tokens": "^1.
|
|
31
|
+
"@atlaskit/tokens": "^1.53.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/react": "^11.7.1"
|
|
34
34
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@af/integration-testing": "*",
|
|
41
41
|
"@af/visual-regression": "*",
|
|
42
|
-
"@atlaskit/editor-plugin-list": "^3.
|
|
42
|
+
"@atlaskit/editor-plugin-list": "^3.4.0",
|
|
43
43
|
"@atlaskit/ssr": "*",
|
|
44
44
|
"@atlaskit/visual-regression": "*",
|
|
45
45
|
"@testing-library/react": "^12.1.5",
|
|
@@ -50,23 +50,43 @@
|
|
|
50
50
|
},
|
|
51
51
|
"techstack": {
|
|
52
52
|
"@atlassian/frontend": {
|
|
53
|
-
"import-structure": [
|
|
54
|
-
|
|
53
|
+
"import-structure": [
|
|
54
|
+
"atlassian-conventions"
|
|
55
|
+
],
|
|
56
|
+
"circular-dependencies": [
|
|
57
|
+
"file-and-folder-level"
|
|
58
|
+
]
|
|
55
59
|
},
|
|
56
60
|
"@repo/internal": {
|
|
57
61
|
"dom-events": "use-bind-event-listener",
|
|
58
|
-
"analytics": [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
+
"analytics": [
|
|
63
|
+
"analytics-next"
|
|
64
|
+
],
|
|
65
|
+
"design-tokens": [
|
|
66
|
+
"color"
|
|
67
|
+
],
|
|
68
|
+
"theming": [
|
|
69
|
+
"react-context"
|
|
70
|
+
],
|
|
71
|
+
"ui-components": [
|
|
72
|
+
"lite-mode"
|
|
73
|
+
],
|
|
62
74
|
"deprecation": "no-deprecated-imports",
|
|
63
|
-
"styling": [
|
|
64
|
-
|
|
75
|
+
"styling": [
|
|
76
|
+
"emotion",
|
|
77
|
+
"emotion"
|
|
78
|
+
],
|
|
79
|
+
"imports": [
|
|
80
|
+
"import-no-extraneous-disable-for-examples-and-docs"
|
|
81
|
+
]
|
|
65
82
|
}
|
|
66
83
|
},
|
|
67
84
|
"typesVersions": {
|
|
68
85
|
">=4.5 <4.9": {
|
|
69
|
-
"*": [
|
|
86
|
+
"*": [
|
|
87
|
+
"dist/types-ts4.5/*",
|
|
88
|
+
"dist/types-ts4.5/index.d.ts"
|
|
89
|
+
]
|
|
70
90
|
}
|
|
71
91
|
},
|
|
72
92
|
"af:exports": {
|