@touchtech/web-navigation-menu 0.0.18-alpha.6 → 0.0.18
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/dist/components/Navigation/Context.d.ts +2 -3
- package/dist/components/Navigation/Logo/Logo.d.ts +2 -2
- package/dist/components/Navigation/Logo/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationButton.d.ts +2 -3
- package/dist/components/Navigation/Tiers/Applications/ApplicationLink/ApplicationLink.d.ts +1 -2
- package/dist/components/Navigation/Tiers/Applications/ApplicationLink/index.d.ts +1 -1
- package/dist/components/Navigation/Tiers/Applications/index.d.ts +1 -1
- package/dist/components/Navigation/Tiers/Tenants/TenantButton/TenantButton.d.ts +2 -2
- package/dist/components/Navigation/Tiers/Tenants/TenantButton/index.d.ts +1 -1
- package/dist/components/Navigation/Tiers/Tenants/index.d.ts +1 -1
- package/dist/components/Navigation/Tiers/Tier/Tier.d.ts +1 -2
- package/dist/components/Navigation/Tiers/Tier/index.d.ts +1 -1
- package/dist/components/Navigation/Tiers/index.d.ts +3 -3
- package/dist/components/Navigation/index.d.ts +2 -2
- package/dist/hooks/useSelectedTenant.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -26
- package/dist/styles.css +343 -0
- package/package.json +17 -21
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -1227
- package/dist/index.mjs.map +0 -1
- package/dist/style.css +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
3
2
|
type Props = {
|
|
4
3
|
children: React.ReactNode;
|
|
5
4
|
isOpen: boolean;
|
|
@@ -33,5 +32,5 @@ export declare enum NavigationPosition {
|
|
|
33
32
|
}
|
|
34
33
|
export declare const NavigationContext: React.Context<NavigationContextValue>;
|
|
35
34
|
export declare function useNavigationContext(): NavigationContextValue;
|
|
36
|
-
export declare function NavigationContextProvider({ children, isOpen,
|
|
35
|
+
export declare function NavigationContextProvider({ children, isOpen, onNavigationClose, tenantServiceUrl, }: Props): JSX.Element;
|
|
37
36
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./Logo";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IconButton } from
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconButton } from "@touchtech/baselayer-ui";
|
|
4
3
|
type IconButtonProps = React.ComponentProps<typeof IconButton>;
|
|
5
4
|
type Props = Partial<IconButtonProps> & {
|
|
6
5
|
portalContainer?: Element | DocumentFragment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./ApplicationLink";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./Applications";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./TenantButton";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./Tenants";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./Tier";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Applications } from
|
|
2
|
-
export { default as Tenants } from
|
|
3
|
-
export { default } from
|
|
1
|
+
export { default as Applications } from "./Applications";
|
|
2
|
+
export { default as Tenants } from "./Tenants";
|
|
3
|
+
export { default } from "./Tiers";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Navigation } from
|
|
2
|
-
export { default as NavigationButton } from
|
|
1
|
+
export { default as Navigation } from "./Navigation";
|
|
2
|
+
export { default as NavigationButton } from "./NavigationButton";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useSelectedTenant(): import(
|
|
1
|
+
export declare function useSelectedTenant(): import("./useTenants").Tenant | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./components/Navigation";
|
|
2
|
+
export * from "./constants";
|