@touchtech/web-navigation-menu 0.0.1-alpha.2 → 0.0.1-alpha.4

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.
@@ -6,10 +6,10 @@ type Props = {
6
6
  };
7
7
  type NavigationViewState = {
8
8
  selectedTenantId: string;
9
- isTenantsOpen: boolean;
9
+ isNavigationExpanded: boolean;
10
10
  isNavigationOpen: boolean;
11
11
  };
12
- type NavigationContextValue = {
12
+ export type NavigationContextValue = {
13
13
  hasMarketingAccess: boolean;
14
14
  hasShowroomAccess: boolean;
15
15
  hasSendoutAccess: boolean;
@@ -1,3 +1,7 @@
1
1
  /// <reference types="react" />
2
- declare function Navigation(): JSX.Element;
2
+ type Props = {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ };
6
+ declare function Navigation({ open, onClose }: Props): JSX.Element;
3
7
  export default Navigation;
@@ -0,0 +1,4 @@
1
+ declare function Spinner({ parent, }: {
2
+ parent?: "viewport" | "container";
3
+ }): JSX.Element;
4
+ export default Spinner;
@@ -0,0 +1 @@
1
+ export { default } from "./Spinner";
@@ -2,9 +2,10 @@ import React from "react";
2
2
  type Props = {
3
3
  children?: React.ReactNode;
4
4
  header?: React.ReactNode;
5
+ headerBorder?: boolean;
5
6
  footer?: React.ReactNode;
6
7
  className?: string;
7
8
  width?: number;
8
9
  };
9
- declare function Tier({ children, header, footer, className, width }: Props): JSX.Element;
10
+ declare function Tier({ children, header, footer, className, width, headerBorder, }: Props): JSX.Element;
10
11
  export default Tier;
@@ -1 +1 @@
1
- export { default as Navigation } from "./Base";
1
+ export { default as Navigation } from "./Navigation";