@atlaskit/editor-plugin-alignment 1.12.1 → 1.12.3
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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-alignment
|
|
2
2
|
|
|
3
|
+
## 1.12.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138118)
|
|
8
|
+
[`5e4d9eb1aefe4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e4d9eb1aefe4) -
|
|
9
|
+
NOISSUE: Upgrades editor React peer dependencies to v18
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 1.12.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#136367](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136367)
|
|
17
|
+
[`4d9450a7e1283`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d9450a7e1283) -
|
|
18
|
+
[ux] Update new icons (text color, highlight, text style) with design change
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.12.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -140,10 +140,14 @@ var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$
|
|
|
140
140
|
"aria-haspopup": true,
|
|
141
141
|
onClick: this.toggleOpen,
|
|
142
142
|
onKeyDown: this.toggleOpenByKeyboard,
|
|
143
|
-
iconBefore:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
iconBefore: (0, _react2.jsx)("div", {
|
|
144
|
+
css:
|
|
145
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
|
|
146
|
+
(0, _platformFeatureFlags.fg)('platform.design-system-team.enable-new-icons') ?
|
|
147
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
148
|
+
_styles.triggerWrapperStylesWithPadding :
|
|
149
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
150
|
+
_styles2.triggerWrapper
|
|
147
151
|
}, (0, _react2.jsx)(_iconMap.IconMap, {
|
|
148
152
|
alignment: alignment
|
|
149
153
|
}), (0, _react2.jsx)("span", {
|
|
@@ -9,7 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import { injectIntl } from 'react-intl-next';
|
|
11
11
|
import { alignmentMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
|
-
import { expandIconContainerStyle, separatorStyles } from '@atlaskit/editor-common/styles';
|
|
12
|
+
import { expandIconContainerStyle, separatorStyles, triggerWrapperStylesWithPadding } from '@atlaskit/editor-common/styles';
|
|
13
13
|
import { ArrowKeyNavigationType, DropdownContainer as Dropdown, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
14
14
|
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -120,10 +120,14 @@ export class AlignmentToolbar extends React.Component {
|
|
|
120
120
|
"aria-haspopup": true,
|
|
121
121
|
onClick: this.toggleOpen,
|
|
122
122
|
onKeyDown: this.toggleOpenByKeyboard,
|
|
123
|
-
iconBefore:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
iconBefore: jsx("div", {
|
|
124
|
+
css:
|
|
125
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
|
|
126
|
+
fg('platform.design-system-team.enable-new-icons') ?
|
|
127
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
128
|
+
triggerWrapperStylesWithPadding :
|
|
129
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
130
|
+
triggerWrapper
|
|
127
131
|
}, jsx(IconMap, {
|
|
128
132
|
alignment: alignment
|
|
129
133
|
}), jsx("span", {
|
|
@@ -17,7 +17,7 @@ import React from 'react';
|
|
|
17
17
|
import { jsx } from '@emotion/react';
|
|
18
18
|
import { injectIntl } from 'react-intl-next';
|
|
19
19
|
import { alignmentMessages as messages } from '@atlaskit/editor-common/messages';
|
|
20
|
-
import { expandIconContainerStyle, separatorStyles } from '@atlaskit/editor-common/styles';
|
|
20
|
+
import { expandIconContainerStyle, separatorStyles, triggerWrapperStylesWithPadding } from '@atlaskit/editor-common/styles';
|
|
21
21
|
import { ArrowKeyNavigationType, DropdownContainer as Dropdown, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
22
22
|
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
23
23
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -136,10 +136,14 @@ export var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
|
|
|
136
136
|
"aria-haspopup": true,
|
|
137
137
|
onClick: this.toggleOpen,
|
|
138
138
|
onKeyDown: this.toggleOpenByKeyboard,
|
|
139
|
-
iconBefore:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
iconBefore: jsx("div", {
|
|
140
|
+
css:
|
|
141
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
|
|
142
|
+
fg('platform.design-system-team.enable-new-icons') ?
|
|
143
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
144
|
+
triggerWrapperStylesWithPadding :
|
|
145
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
146
|
+
triggerWrapper
|
|
143
147
|
}, jsx(IconMap, {
|
|
144
148
|
alignment: alignment
|
|
145
149
|
}), jsx("span", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-alignment",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.3",
|
|
4
4
|
"description": "Alignment plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -16,24 +16,23 @@
|
|
|
16
16
|
"atlaskit:src": "src/index.ts",
|
|
17
17
|
"atlassian": {
|
|
18
18
|
"team": "Editor: AI",
|
|
19
|
-
"releaseModel": "continuous",
|
|
20
19
|
"singleton": true,
|
|
21
|
-
"runReact18":
|
|
20
|
+
"runReact18": true
|
|
22
21
|
},
|
|
23
22
|
"dependencies": {
|
|
24
23
|
"@atlaskit/adf-schema": "^40.9.0",
|
|
25
|
-
"@atlaskit/editor-common": "^88.
|
|
24
|
+
"@atlaskit/editor-common": "^88.12.0",
|
|
26
25
|
"@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
|
|
27
26
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
28
27
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
29
|
-
"@atlaskit/icon": "^22.
|
|
28
|
+
"@atlaskit/icon": "^22.16.0",
|
|
30
29
|
"@atlaskit/platform-feature-flags": "0.3.0",
|
|
31
30
|
"@atlaskit/tokens": "^1.59.0",
|
|
32
31
|
"@babel/runtime": "^7.0.0",
|
|
33
32
|
"@emotion/react": "^11.7.1"
|
|
34
33
|
},
|
|
35
34
|
"peerDependencies": {
|
|
36
|
-
"react": "^16.8.0",
|
|
35
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0",
|
|
37
36
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|