@atlaskit/code 17.1.1 → 17.1.2

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,13 @@
1
1
  # @atlaskit/code
2
2
 
3
+ ## 17.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#152825](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152825)
8
+ [`5e38d365c6154`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5e38d365c6154) -
9
+ Reverts addition of tab index to code block
10
+
3
11
  ## 17.1.1
4
12
 
5
13
  ### Patch Changes
@@ -98,7 +98,6 @@ var CodeBlock = /*#__PURE__*/(0, _react.memo)(function CodeBlock(_ref) {
98
98
  codeBidiWarningLabel: codeBidiWarningLabel,
99
99
  codeBidiWarningTooltipEnabled: codeBidiWarningTooltipEnabled,
100
100
  text: text,
101
- tabIndex: "0",
102
101
  className: (0, _runtime.ax)([getCodeBlockStyles.root, shouldWrapLongLines ? getCodeBlockStyles.shouldWrapLongLines : getCodeBlockStyles.dontWrapLongLines, showLineNumbers ? getCodeBlockStyles.showLineNumbers : getCodeBlockStyles.dontShowLineNumbers])
103
102
  });
104
103
  });
@@ -77,7 +77,6 @@ const CodeBlock = /*#__PURE__*/memo(function CodeBlock({
77
77
  codeBidiWarningLabel: codeBidiWarningLabel,
78
78
  codeBidiWarningTooltipEnabled: codeBidiWarningTooltipEnabled,
79
79
  text: text,
80
- tabIndex: "0",
81
80
  className: ax([getCodeBlockStyles.root, shouldWrapLongLines ? getCodeBlockStyles.shouldWrapLongLines : getCodeBlockStyles.dontWrapLongLines, showLineNumbers ? getCodeBlockStyles.showLineNumbers : getCodeBlockStyles.dontShowLineNumbers])
82
81
  });
83
82
  });
@@ -88,7 +88,6 @@ var CodeBlock = /*#__PURE__*/memo(function CodeBlock(_ref) {
88
88
  codeBidiWarningLabel: codeBidiWarningLabel,
89
89
  codeBidiWarningTooltipEnabled: codeBidiWarningTooltipEnabled,
90
90
  text: text,
91
- tabIndex: "0",
92
91
  className: ax([getCodeBlockStyles.root, shouldWrapLongLines ? getCodeBlockStyles.shouldWrapLongLines : getCodeBlockStyles.dontWrapLongLines, showLineNumbers ? getCodeBlockStyles.showLineNumbers : getCodeBlockStyles.dontShowLineNumbers])
93
92
  });
94
93
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "17.1.1",
3
+ "version": "17.1.2",
4
4
  "description": "Code highlights short strings of code snippets inline with body text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"