@arc-ui/components 11.21.0 → 11.21.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.
@@ -9,6 +9,7 @@ import { SubNavItem } from "./components/SubNavItem";
9
9
  import { VerticalDivider } from "./components/VerticalDivider";
10
10
  declare const Context: React.Context<{
11
11
  transparent: boolean;
12
+ menubarRef: React.MutableRefObject<HTMLUListElement> | null;
12
13
  }>;
13
14
  /**
14
15
  * Use `SiteHeaderV2` to display brand logo and navigation at the top of a page.
@@ -23,6 +24,10 @@ export declare const SiteHeaderV2: FC<SiteHeaderV2Props> & {
23
24
  SubNavItem: typeof SubNavItem;
24
25
  VerticalDivider: typeof VerticalDivider;
25
26
  };
27
+ export declare function useHeaderV2Context(): {
28
+ transparent: boolean;
29
+ menubarRef: React.MutableRefObject<HTMLUListElement> | null;
30
+ };
26
31
  export interface SiteHeaderV2Props {
27
32
  /**
28
33
  * Contents of the SiteHeaderV2. Must be SiteHeaderV2.NavItem or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arc-ui/components",
3
- "version": "11.21.0",
3
+ "version": "11.21.1",
4
4
  "homepage": "https://ui.digital-ent-int.bt.com",
5
5
  "author": "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
6
6
  "main": "./dist/index.js",