@atlaskit/editor-toolbar 0.7.0 → 0.7.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 0.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5ad508732d50d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5ad508732d50d) -
8
+ [ux] ED-28783 [Responsiveness] Update AI improve description toolbar button on editor and fix
9
+ focus issue on ColorPalette
10
+ - Updated dependencies
11
+
3
12
  ## 0.7.0
4
13
 
5
14
  ### Minor Changes
@@ -308,8 +308,7 @@ var ColorPalette = function ColorPalette(_ref) {
308
308
  checkMarkColor: getCheckMarkColor(value, useIconToken),
309
309
  hexToPaletteColor: hexToPaletteColor,
310
310
  decorator: decorator,
311
- tabIndex: shouldBeFocusable ? 0 : -1,
312
- autoFocus: isSelectedColor && rowIndex === selectedRowIndex && colIndex === selectedColumnIndex
311
+ tabIndex: shouldBeFocusable ? 0 : -1
313
312
  });
314
313
  }));
315
314
  })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, colorsPerRow.map(function (row) {
@@ -303,8 +303,7 @@ const ColorPalette = ({
303
303
  checkMarkColor: getCheckMarkColor(value, useIconToken),
304
304
  hexToPaletteColor: hexToPaletteColor,
305
305
  decorator: decorator,
306
- tabIndex: shouldBeFocusable ? 0 : -1,
307
- autoFocus: isSelectedColor && rowIndex === selectedRowIndex && colIndex === selectedColumnIndex
306
+ tabIndex: shouldBeFocusable ? 0 : -1
308
307
  });
309
308
  })))) : /*#__PURE__*/React.createElement(React.Fragment, null, colorsPerRow.map(row => /*#__PURE__*/React.createElement(Box, {
310
309
  xcss: styles.paletteWrapper,
@@ -299,8 +299,7 @@ var ColorPalette = function ColorPalette(_ref) {
299
299
  checkMarkColor: getCheckMarkColor(value, useIconToken),
300
300
  hexToPaletteColor: hexToPaletteColor,
301
301
  decorator: decorator,
302
- tabIndex: shouldBeFocusable ? 0 : -1,
303
- autoFocus: isSelectedColor && rowIndex === selectedRowIndex && colIndex === selectedColumnIndex
302
+ tabIndex: shouldBeFocusable ? 0 : -1
304
303
  });
305
304
  }));
306
305
  })) : /*#__PURE__*/React.createElement(React.Fragment, null, colorsPerRow.map(function (row) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.7.0",
6
+ "version": "0.7.1",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",