@touchtech/web-navigation-menu 0.0.1-alpha.1 → 0.0.1-alpha.10
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 +13 -9
- package/dist/components/Navigation/Logo/Logo.d.ts +1 -1
- package/dist/components/Navigation/Navigation.d.ts +5 -1
- package/dist/components/Navigation/NavigationButton.d.ts +8 -0
- package/dist/components/Navigation/Tiers/Tier/Tier.d.ts +2 -1
- package/dist/components/Navigation/index.d.ts +2 -1
- package/dist/constants/index.d.ts +2 -2
- package/dist/hooks/useTenants.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/styles.css +106 -111
- package/package.json +2 -2
- package/dist/06cea64a3496fbd9984a.ttf +0 -0
- package/dist/4d727e888a46c0fbe479.woff +0 -0
- package/dist/9e6846502344d86a3f50.woff2 +0 -0
- package/dist/aadb65ac45347ff46699.ttf +0 -0
- package/dist/components/Nav/BrandsLevel/BrandsLevel.d.ts +0 -5
- package/dist/components/Nav/BrandsLevel/index.d.ts +0 -1
- package/dist/components/Nav/Button/Button.d.ts +0 -7
- package/dist/components/Nav/Button/index.d.ts +0 -1
- package/dist/components/Nav/Drawer/Drawer.d.ts +0 -16
- package/dist/components/Nav/Drawer/index.d.ts +0 -2
- package/dist/components/Nav/Level/Level.d.ts +0 -10
- package/dist/components/Nav/Level/index.d.ts +0 -1
- package/dist/components/Nav/Logo/Logo.d.ts +0 -7
- package/dist/components/Nav/Logo/index.d.ts +0 -1
- package/dist/components/Nav/Navigation.d.ts +0 -6
- package/dist/components/Nav/NavigationButton/NavigationButton.d.ts +0 -5
- package/dist/components/Nav/NavigationButton/index.d.ts +0 -1
- package/dist/components/Nav/Navigation_old.d.ts +0 -6
- package/dist/components/Nav/PrimaryLevel/PrimaryLevel.d.ts +0 -7
- package/dist/components/Nav/PrimaryLevel/index.d.ts +0 -1
- package/dist/components/Nav/TenantsLevel/TenantsLevel.d.ts +0 -6
- package/dist/components/Nav/TenantsLevel/index.d.ts +0 -1
- package/dist/components/Nav/index.d.ts +0 -1
- package/dist/components/NavTest1/Drawer/Drawer.d.ts +0 -16
- package/dist/components/NavTest1/Drawer/index.d.ts +0 -2
- package/dist/components/NavTest1/Logo/Logo.d.ts +0 -7
- package/dist/components/NavTest1/Logo/index.d.ts +0 -1
- package/dist/components/NavTest1/Navigation.d.ts +0 -2
- package/dist/components/NavTest1/index.d.ts +0 -1
- package/dist/components/NavTest2/BrandsLevel/BrandsLevel.d.ts +0 -5
- package/dist/components/NavTest2/BrandsLevel/index.d.ts +0 -1
- package/dist/components/NavTest2/Drawer/Drawer.d.ts +0 -16
- package/dist/components/NavTest2/Drawer/index.d.ts +0 -2
- package/dist/components/NavTest2/Level/Level.d.ts +0 -10
- package/dist/components/NavTest2/Level/index.d.ts +0 -1
- package/dist/components/NavTest2/Logo/Logo.d.ts +0 -7
- package/dist/components/NavTest2/Logo/index.d.ts +0 -1
- package/dist/components/NavTest2/Navigation.d.ts +0 -6
- package/dist/components/NavTest2/NavigationButton/NavigationButton.d.ts +0 -5
- package/dist/components/NavTest2/NavigationButton/index.d.ts +0 -1
- package/dist/components/NavTest2/Navigation_old.d.ts +0 -6
- package/dist/components/NavTest2/PrimaryLevel/PrimaryLevel.d.ts +0 -7
- package/dist/components/NavTest2/PrimaryLevel/index.d.ts +0 -1
- package/dist/components/NavTest2/TenantsLevel/TenantsLevel.d.ts +0 -6
- package/dist/components/NavTest2/TenantsLevel/index.d.ts +0 -1
- package/dist/components/NavTest2/index.d.ts +0 -1
- package/dist/components/Navigation/AppsNavigation/AppsNavigation.d.ts +0 -8
- package/dist/components/Navigation/AppsNavigation/NavigationLink/NavigationLink.d.ts +0 -7
- package/dist/components/Navigation/AppsNavigation/NavigationLink/index.d.ts +0 -1
- package/dist/components/Navigation/AppsNavigation/index.d.ts +0 -1
- package/dist/components/Navigation/Base.d.ts +0 -7
- package/dist/components/Navigation/DefaultNavigation/DefaultNavigation.d.ts +0 -7
- package/dist/components/Navigation/DefaultNavigation/PrimaryLevel.d.ts +0 -10
- package/dist/components/Navigation/DefaultNavigation/index.d.ts +0 -1
- package/dist/components/Navigation/DefaultNavigationView/DefaultNavigation.d.ts +0 -7
- package/dist/components/Navigation/DefaultNavigationView/DefaultNavigationView.d.ts +0 -7
- package/dist/components/Navigation/DefaultNavigationView/index.d.ts +0 -1
- package/dist/components/Navigation/Drawer/Drawer.d.ts +0 -16
- package/dist/components/Navigation/Drawer/index.d.ts +0 -2
- package/dist/components/Navigation/Level/Level.d.ts +0 -10
- package/dist/components/Navigation/Level/index.d.ts +0 -1
- package/dist/components/Navigation/NavigationButton/NavigationButton.d.ts +0 -7
- package/dist/components/Navigation/NavigationButton/NavigationLink.d.ts +0 -7
- package/dist/components/Navigation/NavigationButton/index.d.ts +0 -1
- package/dist/components/Navigation/NavigationLevel/Level.d.ts +0 -10
- package/dist/components/Navigation/NavigationLevel/index.d.ts +0 -1
- package/dist/components/Navigation/NavigationLink/NavigationLink.d.ts +0 -7
- package/dist/components/Navigation/NavigationLink/index.d.ts +0 -1
- package/dist/components/Navigation/NavigationView/NavigationView.d.ts +0 -10
- package/dist/components/Navigation/NavigationView/index.d.ts +0 -1
- package/dist/components/Navigation/PrimaryLevel/PrimaryLevel.d.ts +0 -7
- package/dist/components/Navigation/PrimaryLevel/index.d.ts +0 -1
- package/dist/components/Navigation/PrimaryNavigation/PrimaryLevel.d.ts +0 -10
- package/dist/components/Navigation/PrimaryNavigation/index.d.ts +0 -1
- package/dist/components/Navigation/TenantsLevel/TenantsLevel.d.ts +0 -6
- package/dist/components/Navigation/TenantsLevel/index.d.ts +0 -1
- package/dist/components/Navigation/TenantsNavigation/ModalCreateTenant/ModalCreateTenant.d.ts +0 -5
- package/dist/components/Navigation/TenantsNavigation/ModalCreateTenant/index.d.ts +0 -1
- package/dist/components/Navigation/TenantsNavigation/TenantButton/TenantButton.d.ts +0 -6
- package/dist/components/Navigation/TenantsNavigation/TenantButton/index.d.ts +0 -1
- package/dist/components/Navigation/TenantsNavigation/TenantsLevel.d.ts +0 -6
- package/dist/components/Navigation/TenantsNavigation/TenantsNavigation.d.ts +0 -7
- package/dist/components/Navigation/TenantsNavigation/index.d.ts +0 -1
- package/dist/components/Navigation2/Applications/ApplicationLink/ApplicationLink.d.ts +0 -7
- package/dist/components/Navigation2/Applications/ApplicationLink/NavigationLink.d.ts +0 -7
- package/dist/components/Navigation2/Applications/ApplicationLink/index.d.ts +0 -1
- package/dist/components/Navigation2/Applications/Applications.d.ts +0 -6
- package/dist/components/Navigation2/Applications/NavigationLink/NavigationLink.d.ts +0 -7
- package/dist/components/Navigation2/Applications/NavigationLink/index.d.ts +0 -1
- package/dist/components/Navigation2/Applications/index.d.ts +0 -1
- package/dist/components/Navigation2/Base.d.ts +0 -6
- package/dist/components/Navigation2/Context.d.ts +0 -27
- package/dist/components/Navigation2/Logo/Logo.d.ts +0 -7
- package/dist/components/Navigation2/Logo/index.d.ts +0 -1
- package/dist/components/Navigation2/Navigation.d.ts +0 -2
- package/dist/components/Navigation2/Tenants/ModalCreateTenant/ModalCreateTenant.d.ts +0 -5
- package/dist/components/Navigation2/Tenants/ModalCreateTenant/index.d.ts +0 -1
- package/dist/components/Navigation2/Tenants/TenantButton/TenantButton.d.ts +0 -6
- package/dist/components/Navigation2/Tenants/TenantButton/index.d.ts +0 -1
- package/dist/components/Navigation2/Tenants/Tenants.d.ts +0 -5
- package/dist/components/Navigation2/Tenants/index.d.ts +0 -1
- package/dist/components/Navigation2/Tier/Tier.d.ts +0 -10
- package/dist/components/Navigation2/Tier/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Applications/ApplicationLink/ApplicationLink.d.ts +0 -7
- package/dist/components/Navigation2/Tiers/Applications/ApplicationLink/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Applications/Applications.d.ts +0 -2
- package/dist/components/Navigation2/Tiers/Applications/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Tenants/ModalCreateTenant/ModalCreateTenant.d.ts +0 -5
- package/dist/components/Navigation2/Tiers/Tenants/ModalCreateTenant/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Tenants/TenantButton/TenantButton.d.ts +0 -6
- package/dist/components/Navigation2/Tiers/Tenants/TenantButton/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Tenants/Tenants.d.ts +0 -2
- package/dist/components/Navigation2/Tiers/Tenants/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Tier/Tier.d.ts +0 -10
- package/dist/components/Navigation2/Tiers/Tier/index.d.ts +0 -1
- package/dist/components/Navigation2/Tiers/Tiers.d.ts +0 -2
- package/dist/components/Navigation2/Tiers/index.d.ts +0 -3
- package/dist/components/Navigation2/index.d.ts +0 -1
- package/dist/components/TestComponent/TestComponent.d.ts +0 -2
- package/dist/components/TestComponent/index.d.ts +0 -1
- package/dist/types/application.d.ts +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./NavigationButton";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./PrimaryLevel";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./TenantsLevel";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Nav } from "./Navigation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./NavigationLink";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AppsNavigation";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { User } from "@touchtech/web-auth";
|
|
2
|
-
type Props = {
|
|
3
|
-
width?: number;
|
|
4
|
-
user?: User;
|
|
5
|
-
onChangeBrand: () => void;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onSignOut: () => void;
|
|
8
|
-
};
|
|
9
|
-
declare function PrimaryLevel({ onChangeBrand, onClose, onSignOut, width, user, }: Props): JSX.Element;
|
|
10
|
-
export default PrimaryLevel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./DefaultNavigation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./DefaultNavigationView";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children: React.ReactElement<LevelProps> | Array<React.ReactElement<LevelProps>>;
|
|
4
|
-
header?: React.ReactNode;
|
|
5
|
-
footer?: React.ReactNode;
|
|
6
|
-
open: boolean;
|
|
7
|
-
};
|
|
8
|
-
type LevelProps = {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
header?: React.ReactNode;
|
|
11
|
-
footer?: React.ReactNode;
|
|
12
|
-
width?: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const DrawerLevel: React.FC<LevelProps>;
|
|
15
|
-
declare const Drawer: React.FC<Props>;
|
|
16
|
-
export default Drawer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
header?: React.ReactNode;
|
|
5
|
-
footer?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
};
|
|
9
|
-
declare function Level({ children, header, footer, className, width }: Props): JSX.Element;
|
|
10
|
-
export default Level;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Level";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./NavigationLink";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
header?: React.ReactNode;
|
|
5
|
-
footer?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
};
|
|
9
|
-
declare function Level({ children, header, footer, className, width }: Props): JSX.Element;
|
|
10
|
-
export default Level;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Level";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./NavigationLink";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
header?: React.ReactNode;
|
|
5
|
-
footer?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
};
|
|
9
|
-
declare function NavigationView({ children, header, footer, className, width }: Props): JSX.Element;
|
|
10
|
-
export default NavigationView;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./NavigationView";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./PrimaryLevel";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { User } from "@touchtech/web-auth";
|
|
2
|
-
type Props = {
|
|
3
|
-
width?: number;
|
|
4
|
-
user?: User;
|
|
5
|
-
onChangeBrand: () => void;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onSignOut: () => void;
|
|
8
|
-
};
|
|
9
|
-
declare function PrimaryLevel({ onChangeBrand, onClose, onSignOut, width, user, }: Props): JSX.Element;
|
|
10
|
-
export default PrimaryLevel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./PrimaryLevel";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./TenantsLevel";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./ModalCreateTenant";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./TenantButton";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./TenantsNavigation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./ApplicationLink";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./NavigationLink";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Applications";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
open: boolean;
|
|
5
|
-
onNavigationClose?: () => void;
|
|
6
|
-
};
|
|
7
|
-
type NavigationViewState = {
|
|
8
|
-
selectedTenantId: string;
|
|
9
|
-
isTenantsOpen: boolean;
|
|
10
|
-
isNavigationOpen: boolean;
|
|
11
|
-
};
|
|
12
|
-
type NavigationContextValue = {
|
|
13
|
-
hasMarketingAccess: boolean;
|
|
14
|
-
hasShowroomAccess: boolean;
|
|
15
|
-
hasSendoutAccess: boolean;
|
|
16
|
-
hasSendoutCmsAccess: boolean;
|
|
17
|
-
hasManageUsersAccess: boolean;
|
|
18
|
-
viewState: NavigationViewState;
|
|
19
|
-
updateViewState: (viewStateUpdate: Partial<NavigationViewState>) => void;
|
|
20
|
-
signOut: () => void;
|
|
21
|
-
toggleTenants: () => void;
|
|
22
|
-
onNavigationClose: () => void;
|
|
23
|
-
};
|
|
24
|
-
export declare const NavigationContext: React.Context<NavigationContextValue>;
|
|
25
|
-
export declare function useNavigationContext(): NavigationContextValue;
|
|
26
|
-
export declare function NavigationContextProvider({ children, open, onNavigationClose, }: Props): JSX.Element;
|
|
27
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Logo";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./ModalCreateTenant";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./TenantButton";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Tenants";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
header?: React.ReactNode;
|
|
5
|
-
footer?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
};
|
|
9
|
-
declare function Tier({ children, header, footer, className, width }: Props): JSX.Element;
|
|
10
|
-
export default Tier;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Tier";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./ApplicationLink";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Applications";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./ModalCreateTenant";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./TenantButton";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Tenants";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
header?: React.ReactNode;
|
|
5
|
-
footer?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
};
|
|
9
|
-
declare function Tier({ children, header, footer, className, width }: Props): JSX.Element;
|
|
10
|
-
export default Tier;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Tier";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Navigation } from "./Base";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TestComponent } from './TestComponent';
|