@box/blueprint-web 6.37.4 → 6.38.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.
@@ -16,7 +16,7 @@ const BaseSidePanelHeader = /*#__PURE__*/forwardRef(({
16
16
  return jsx(Text, {
17
17
  ...rest,
18
18
  ref: forwardedRef,
19
- as: "h2",
19
+ as: "h1",
20
20
  className: clsx(styles.header, className),
21
21
  color: "textOnLightDefault",
22
22
  variant: "titleLarge",
@@ -9,6 +9,7 @@ import styles from './side-panel.module.js';
9
9
  * This element is scrollable when the size of the content would make the SidePanel not fit on the screen.
10
10
  */
11
11
  const SidePanelScrollableContainer = /*#__PURE__*/forwardRef(({
12
+ tabIndex = 0,
12
13
  children,
13
14
  className,
14
15
  ...rest
@@ -34,8 +35,7 @@ const SidePanelScrollableContainer = /*#__PURE__*/forwardRef(({
34
35
  ref: scrollableContainerRef,
35
36
  className: clsx(styles.scrollableContainer, className),
36
37
  onScroll: onScroll,
37
- // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
38
- tabIndex: 0,
38
+ tabIndex: tabIndex,
39
39
  children: children
40
40
  });
41
41
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "6.37.4",
3
+ "version": "6.38.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@box/storybook-utils": "^0.0.7"
59
59
  },
60
- "gitHead": "c6d3c5d48fc230d53b1a2a4c260b528580c2ccd8",
60
+ "gitHead": "3b2decbf3aa6ae062bbe45108a4143812eddedb0",
61
61
  "module": "lib-esm/index.js",
62
62
  "main": "lib-esm/index.js",
63
63
  "exports": {