@atlaskit/editor-plugin-alignment 9.1.5 → 9.1.7

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,17 @@
1
1
  # @atlaskit/editor-plugin-alignment
2
2
 
3
+ ## 9.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.1.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 9.1.5
4
16
 
5
17
  ### Patch Changes
@@ -40,7 +40,7 @@ var AlignmentMenuItem = exports.AlignmentMenuItem = function AlignmentMenuItem(_
40
40
  shortcut: shortcut
41
41
  }),
42
42
  ariaKeyshortcuts: (0, _keymaps.getAriaKeyshortcuts)(keymap)
43
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
43
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
44
44
  ,
45
45
  onClick: function onClick() {
46
46
  api === null || api === void 0 || api.core.actions.execute((0, _editorCommands.changeAlignmentTr)(api, alignment, (0, _toolbar.getInputMethodFromParentKeys)(parents)));
@@ -139,19 +139,19 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
139
139
  })
140
140
  }];
141
141
  return /*#__PURE__*/_react.default.createElement(_ui.ToolbarDropdownWrapper, null, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? /*#__PURE__*/_react.default.createElement(_uiMenu.DropdownMenuWithKeyboardNavigation
142
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
142
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
143
143
  , {
144
144
  arrowKeyNavigationProviderOptions: {
145
145
  type: _uiMenu.ArrowKeyNavigationType.MENU
146
146
  }
147
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
147
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
148
148
  ,
149
149
  items: [{
150
150
  items: items
151
151
  }],
152
152
  isOpen: isOpen,
153
153
  onItemActivated: this.handleOnItemActivated
154
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
154
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
155
155
  ,
156
156
  onOpenChange: function onOpenChange(attrs) {
157
157
  return _this2.setState({
@@ -180,7 +180,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
180
180
  boundariesElement: popupsBoundariesElement,
181
181
  scrollableElement: popupsScrollableElement,
182
182
  isOpen: isOpen
183
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
183
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
184
184
  ,
185
185
  handleClickOutside: function handleClickOutside(event) {
186
186
  if (event instanceof MouseEvent) {
@@ -191,7 +191,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
191
191
  }
192
192
  },
193
193
  handleEscapeKeydown: this.hideOnEscape
194
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
194
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
195
195
  ,
196
196
  arrowKeyNavigationProviderOptions: {
197
197
  type: _uiMenu.ArrowKeyNavigationType.MENU
@@ -218,7 +218,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
218
218
  ref: this.toolbarItemRef
219
219
  })
220
220
  }, /*#__PURE__*/_react.default.createElement(_Alignment.default
221
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
221
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
222
222
  , {
223
223
  onClick: function onClick(align) {
224
224
  return _this2.changeAlignment(align, false);
@@ -37,7 +37,7 @@ export const AlignmentMenuItem = ({
37
37
  shortcut: shortcut
38
38
  }),
39
39
  ariaKeyshortcuts: getAriaKeyshortcuts(keymap)
40
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
40
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
41
41
  ,
42
42
  onClick: () => {
43
43
  api === null || api === void 0 ? void 0 : api.core.actions.execute(changeAlignmentTr(api, alignment, getInputMethodFromParentKeys(parents)));
@@ -116,19 +116,19 @@ class AlignmentToolbar extends React.Component {
116
116
  })
117
117
  }];
118
118
  return /*#__PURE__*/React.createElement(ToolbarDropdownWrapper, null, editorExperiment('platform_editor_controls', 'variant1') ? /*#__PURE__*/React.createElement(DropdownMenu
119
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
119
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
120
120
  , {
121
121
  arrowKeyNavigationProviderOptions: {
122
122
  type: ArrowKeyNavigationType.MENU
123
123
  }
124
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
124
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
125
125
  ,
126
126
  items: [{
127
127
  items
128
128
  }],
129
129
  isOpen: isOpen,
130
130
  onItemActivated: this.handleOnItemActivated
131
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
131
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
132
132
  ,
133
133
  onOpenChange: attrs => this.setState({
134
134
  isOpen: attrs === null || attrs === void 0 ? void 0 : attrs.isOpen
@@ -155,7 +155,7 @@ class AlignmentToolbar extends React.Component {
155
155
  boundariesElement: popupsBoundariesElement,
156
156
  scrollableElement: popupsScrollableElement,
157
157
  isOpen: isOpen
158
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
158
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
159
159
  ,
160
160
  handleClickOutside: event => {
161
161
  if (event instanceof MouseEvent) {
@@ -166,7 +166,7 @@ class AlignmentToolbar extends React.Component {
166
166
  }
167
167
  },
168
168
  handleEscapeKeydown: this.hideOnEscape
169
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
169
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
170
170
  ,
171
171
  arrowKeyNavigationProviderOptions: {
172
172
  type: ArrowKeyNavigationType.MENU
@@ -193,7 +193,7 @@ class AlignmentToolbar extends React.Component {
193
193
  ref: this.toolbarItemRef
194
194
  })
195
195
  }, /*#__PURE__*/React.createElement(Alignment
196
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
196
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
197
197
  , {
198
198
  onClick: align => this.changeAlignment(align, false),
199
199
  selectedAlignment: alignment
@@ -33,7 +33,7 @@ export var AlignmentMenuItem = function AlignmentMenuItem(_ref) {
33
33
  shortcut: shortcut
34
34
  }),
35
35
  ariaKeyshortcuts: getAriaKeyshortcuts(keymap)
36
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
36
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
37
37
  ,
38
38
  onClick: function onClick() {
39
39
  api === null || api === void 0 || api.core.actions.execute(changeAlignmentTr(api, alignment, getInputMethodFromParentKeys(parents)));
@@ -132,19 +132,19 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
132
132
  })
133
133
  }];
134
134
  return /*#__PURE__*/React.createElement(ToolbarDropdownWrapper, null, editorExperiment('platform_editor_controls', 'variant1') ? /*#__PURE__*/React.createElement(DropdownMenu
135
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
135
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
136
136
  , {
137
137
  arrowKeyNavigationProviderOptions: {
138
138
  type: ArrowKeyNavigationType.MENU
139
139
  }
140
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
140
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
141
141
  ,
142
142
  items: [{
143
143
  items: items
144
144
  }],
145
145
  isOpen: isOpen,
146
146
  onItemActivated: this.handleOnItemActivated
147
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
147
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
148
148
  ,
149
149
  onOpenChange: function onOpenChange(attrs) {
150
150
  return _this2.setState({
@@ -173,7 +173,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
173
173
  boundariesElement: popupsBoundariesElement,
174
174
  scrollableElement: popupsScrollableElement,
175
175
  isOpen: isOpen
176
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
176
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
177
177
  ,
178
178
  handleClickOutside: function handleClickOutside(event) {
179
179
  if (event instanceof MouseEvent) {
@@ -184,7 +184,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
184
184
  }
185
185
  },
186
186
  handleEscapeKeydown: this.hideOnEscape
187
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
187
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
188
188
  ,
189
189
  arrowKeyNavigationProviderOptions: {
190
190
  type: ArrowKeyNavigationType.MENU
@@ -211,7 +211,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
211
211
  ref: this.toolbarItemRef
212
212
  })
213
213
  }, /*#__PURE__*/React.createElement(Alignment
214
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
214
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
215
215
  , {
216
216
  onClick: function onClick(align) {
217
217
  return _this2.changeAlignment(align, false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-alignment",
3
- "version": "9.1.5",
3
+ "version": "9.1.7",
4
4
  "description": "Alignment plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/editor-toolbar": "^0.20.0",
38
38
  "@atlaskit/icon": "^33.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
- "@atlaskit/tmp-editor-statsig": "^44.0.0",
41
- "@atlaskit/tokens": "^11.1.0",
40
+ "@atlaskit/tmp-editor-statsig": "^46.0.0",
41
+ "@atlaskit/tokens": "^11.2.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "@compiled/react": "^0.20.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^112.7.0",
46
+ "@atlaskit/editor-common": "^112.9.0",
47
47
  "react": "^18.2.0",
48
48
  "react-dom": "^18.2.0",
49
49
  "react-intl-next": "npm:react-intl@^5.18.1"