@xyo-network/react-appbar 4.1.9 → 4.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/AppBar/Application.d.ts +3 -3
- package/dist/browser/components/AppBar/Application.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.ts +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.ts +5 -6
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.ts.map +1 -1
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.ts +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.ts.map +1 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.ts +3 -4
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.ts.map +1 -1
- package/dist/browser/components/index.d.ts +0 -1
- package/dist/browser/components/index.d.ts.map +1 -1
- package/dist/browser/index.d.ts +0 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.mjs +70 -349
- package/dist/browser/index.mjs.map +1 -1
- package/package.json +9 -10
- package/src/components/AppBar/Application.stories.tsx +11 -11
- package/src/components/AppBar/Application.tsx +8 -8
- package/src/components/CollapsibleDrawer/CollapseDrawer.stories.tsx +2 -2
- package/src/components/CollapsibleDrawer/CollapseToggle.tsx +1 -2
- package/src/components/CollapsibleDrawer/CollapsibleDrawer.tsx +1 -2
- package/src/components/CollapsibleDrawer/storyExampleMenuData.tsx +1 -2
- package/src/components/Toolbar/Context/ContextToolbar.stories.tsx +6 -6
- package/src/components/Toolbar/Context/ContextToolbar.tsx +8 -8
- package/src/components/Toolbar/Context/LogoLinkEx.tsx +4 -3
- package/src/components/Toolbar/System/SystemToolbar.stories.tsx +8 -9
- package/src/components/Toolbar/System/SystemToolbar.tsx +8 -19
- package/src/components/index.ts +0 -1
- package/src/index.ts +0 -1
- package/dist/browser/components/SiteMenu/Menu.d.ts +0 -9
- package/dist/browser/components/SiteMenu/Menu.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts +0 -11
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.ts +0 -2
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts +0 -7
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts +0 -8
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts +0 -7
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.ts +0 -4
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts +0 -11
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts +0 -9
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.ts +0 -3
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/MenuSection.d.ts +0 -11
- package/dist/browser/components/SiteMenu/MenuSection.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/hooks/index.d.ts +0 -2
- package/dist/browser/components/SiteMenu/hooks/index.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.ts +0 -7
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/index.d.ts +0 -6
- package/dist/browser/components/SiteMenu/index.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.ts +0 -5
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.ts +0 -12
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.ts.map +0 -1
- package/dist/browser/components/SiteMenu/lib/index.d.ts +0 -3
- package/dist/browser/components/SiteMenu/lib/index.d.ts.map +0 -1
- package/dist/browser/contexts/Collapsible/State.d.ts +0 -9
- package/dist/browser/contexts/Collapsible/State.d.ts.map +0 -1
- package/dist/browser/contexts/Collapsible/context.d.ts +0 -3
- package/dist/browser/contexts/Collapsible/context.d.ts.map +0 -1
- package/dist/browser/contexts/Collapsible/index.d.ts +0 -4
- package/dist/browser/contexts/Collapsible/index.d.ts.map +0 -1
- package/dist/browser/contexts/Collapsible/provider.d.ts +0 -8
- package/dist/browser/contexts/Collapsible/provider.d.ts.map +0 -1
- package/dist/browser/contexts/Collapsible/use.d.ts +0 -2
- package/dist/browser/contexts/Collapsible/use.d.ts.map +0 -1
- package/dist/browser/contexts/index.d.ts +0 -2
- package/dist/browser/contexts/index.d.ts.map +0 -1
- package/src/components/SiteMenu/Menu.tsx +0 -53
- package/src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx +0 -54
- package/src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx +0 -87
- package/src/components/SiteMenu/MenuListItem/index.ts +0 -1
- package/src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx +0 -23
- package/src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx +0 -16
- package/src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx +0 -31
- package/src/components/SiteMenu/MenuListItem/list-item-components/index.ts +0 -3
- package/src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx +0 -22
- package/src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx +0 -27
- package/src/components/SiteMenu/MenuListItem/sub-nav/index.ts +0 -2
- package/src/components/SiteMenu/MenuSection.tsx +0 -30
- package/src/components/SiteMenu/hooks/index.ts +0 -1
- package/src/components/SiteMenu/hooks/useMenuItemsShared.tsx +0 -29
- package/src/components/SiteMenu/index.ts +0 -5
- package/src/components/SiteMenu/lib/MenuListItemBase.tsx +0 -4
- package/src/components/SiteMenu/lib/NavListItemProps.ts +0 -12
- package/src/components/SiteMenu/lib/index.ts +0 -2
- package/src/contexts/Collapsible/State.ts +0 -9
- package/src/contexts/Collapsible/context.ts +0 -5
- package/src/contexts/Collapsible/index.ts +0 -3
- package/src/contexts/Collapsible/provider.tsx +0 -26
- package/src/contexts/Collapsible/use.ts +0 -5
- package/src/contexts/index.ts +0 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
import type { ToolbarProps } from '@mui/material';
|
2
|
-
import type {
|
2
|
+
import type { ApplicationAppBarProps } from '@xylabs/react-appbar';
|
3
3
|
import type { ReactElement } from 'react';
|
4
4
|
import React from 'react';
|
5
|
-
export interface
|
5
|
+
export interface XyoApplicationAppBarProps extends ApplicationAppBarProps {
|
6
6
|
contextToolbar?: ReactElement<ToolbarProps>;
|
7
7
|
responsive?: boolean;
|
8
8
|
systemToolbar?: ReactElement<ToolbarProps>;
|
9
9
|
}
|
10
|
-
export declare const
|
10
|
+
export declare const XyoApplicationAppBar: React.FC<XyoApplicationAppBarProps>;
|
11
11
|
//# sourceMappingURL=Application.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../../src/components/AppBar/Application.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../../src/components/AppBar/Application.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAElE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IACvE,cAAc,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC,CAAA;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC,CAAA;CAC3C;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAYpE,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CollapseToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;
|
1
|
+
{"version":3,"file":"CollapseToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2BrD,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CollapsibleDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;
|
1
|
+
{"version":3,"file":"CollapsibleDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAKlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAyBxE,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { MenuListItemProps } from '
|
1
|
+
import type { MenuListItemProps } from '@xylabs/react-appbar';
|
2
2
|
export declare const menuDataTop: MenuListItemProps[];
|
3
3
|
export declare const menuDataBottom: MenuListItemProps[];
|
4
4
|
//# sourceMappingURL=storyExampleMenuData.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storyExampleMenuData.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/storyExampleMenuData.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"storyExampleMenuData.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/storyExampleMenuData.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAkB7D,eAAO,MAAM,WAAW,EAAE,iBAAiB,EA0C1C,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,EAyB7C,CAAA"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { ContextToolbarProps } from '@xylabs/react-appbar';
|
2
|
+
import type { ReactNode } from 'react';
|
2
3
|
import React from 'react';
|
3
|
-
|
4
|
-
|
5
|
-
logoTo?: To;
|
6
|
-
version?: boolean;
|
4
|
+
export interface XyoContextToolbarProps extends ContextToolbarProps {
|
5
|
+
logo?: ReactNode;
|
7
6
|
}
|
8
|
-
export declare const
|
7
|
+
export declare const XyoContextToolbar: React.FC<XyoContextToolbarProps>;
|
9
8
|
//# sourceMappingURL=ContextToolbar.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ContextToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ContextToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB;IACjE,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAS9D,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LogoLinkEx.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8BhD,CAAA"}
|
1
|
+
{"version":3,"file":"LogoLinkEx.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8BhD,CAAA"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import type
|
1
|
+
import { type SiteMenuProps, type SystemToolbarProps } from '@xylabs/react-appbar';
|
2
2
|
import type { NetworkSelectExProps } from '@xyo-network/react-network';
|
3
3
|
import type { ReactNode } from 'react';
|
4
4
|
import React from 'react';
|
5
|
-
|
6
|
-
export interface SystemToolbarProps extends ToolbarProps {
|
5
|
+
export interface XyoSystemToolbarProps extends SystemToolbarProps {
|
7
6
|
darkModeButton?: boolean;
|
8
7
|
developerMode?: boolean;
|
9
8
|
hideNetworkSelect?: boolean;
|
@@ -12,5 +11,5 @@ export interface SystemToolbarProps extends ToolbarProps {
|
|
12
11
|
onMenuToggle?: SiteMenuProps['onMenuToggle'];
|
13
12
|
precedingChildren?: ReactNode;
|
14
13
|
}
|
15
|
-
export declare const
|
14
|
+
export declare const XyoSystemToolbar: React.FC<XyoSystemToolbarProps>;
|
16
15
|
//# sourceMappingURL=SystemToolbar.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SystemToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/System/SystemToolbar.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SystemToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/System/SystemToolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAAiB,KAAK,kBAAkB,EAC3D,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC/D,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IACzC,YAAY,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,CAAA;IAC5C,iBAAiB,CAAC,EAAE,SAAS,CAAA;CAC9B;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsB5D,CAAA"}
|
@@ -2,6 +2,5 @@ export * from './AppBar/index.ts';
|
|
2
2
|
export * from './CollapsibleDrawer/index.ts';
|
3
3
|
export * from './MobileSystemControls/index.ts';
|
4
4
|
export * from './SearchBar/index.ts';
|
5
|
-
export * from './SiteMenu/index.ts';
|
6
5
|
export * from './Toolbar/index.ts';
|
7
6
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,sBAAsB,CAAA;AACpC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA"}
|
package/dist/browser/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|