@xyo-network/react-appbar 6.1.3 → 6.2.0

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.
@@ -1,58 +1,2 @@
1
- import { ToolbarProps, CollapseProps } from '@mui/material';
2
- import { ApplicationAppBarProps, ContextToolbarProps, SystemToolbarProps, SiteMenuProps } from '@xylabs/react-appbar';
3
- import React, { ReactElement, PropsWithChildren, ReactNode } from 'react';
4
- import { FlexBoxProps } from '@xylabs/react-flexbox';
5
- import { Enum, EnumValue } from '@xylabs/enum';
6
- import { NetworkSelectExProps } from '@xyo-network/react-network';
7
-
8
- interface XyoApplicationAppBarProps extends ApplicationAppBarProps {
9
- contextToolbar?: ReactElement<ToolbarProps>;
10
- responsive?: boolean;
11
- systemToolbar?: ReactElement<ToolbarProps>;
12
- }
13
- declare const XyoApplicationAppBar: React.FC<XyoApplicationAppBarProps>;
14
-
15
- declare const CollapseToggleFlex: React.FC<FlexBoxProps>;
16
-
17
- declare const CollapsibleDrawer: React.FC<PropsWithChildren<CollapseProps>>;
18
-
19
- declare const SystemControlsType: Enum<{
20
- Left: "Left";
21
- Right: "Right";
22
- WindowShade: "WindowShade";
23
- }>;
24
- type SystemControlsType = EnumValue<typeof SystemControlsType>;
25
-
26
- interface SystemControlsUnstyledProps extends FlexBoxProps {
27
- systemControlsType?: SystemControlsType;
28
- visible?: boolean;
29
- }
30
- declare const SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps>;
31
- //# sourceMappingURL=SystemControlsUnstyled.d.ts.map
32
-
33
- declare const SystemControls: React.FC<SystemControlsUnstyledProps>;
34
- //# sourceMappingURL=SystemControls.d.ts.map
35
-
36
- interface SearchBarProps extends FlexBoxProps {
37
- onSearch?: (term?: string) => void;
38
- }
39
- declare const SearchBar: React.FC<SearchBarProps>;
40
-
41
- interface XyoContextToolbarProps extends ContextToolbarProps {
42
- logo?: ReactNode;
43
- }
44
- declare const XyoContextToolbar: React.FC<XyoContextToolbarProps>;
45
-
46
- interface XyoSystemToolbarProps extends SystemToolbarProps {
47
- darkModeButton?: boolean;
48
- developerMode?: boolean;
49
- hideNetworkSelect?: boolean;
50
- menuItems?: ReactNode;
51
- networkSelectProps?: NetworkSelectExProps;
52
- onMenuToggle?: SiteMenuProps['onMenuToggle'];
53
- precedingChildren?: ReactNode;
54
- }
55
- declare const XyoSystemToolbar: React.FC<XyoSystemToolbarProps>;
56
-
57
- export { CollapseToggleFlex, CollapsibleDrawer, SearchBar, SystemControls, SystemControlsType, SystemControlsUnstyled, XyoApplicationAppBar, XyoContextToolbar, XyoSystemToolbar };
58
- export type { SearchBarProps, SystemControlsUnstyledProps, XyoApplicationAppBarProps, XyoContextToolbarProps, XyoSystemToolbarProps };
1
+ export * from './components/index.ts';
2
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-appbar",
3
- "version": "6.1.3",
3
+ "version": "6.2.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -39,29 +39,29 @@
39
39
  "module": "dist/browser/index.mjs",
40
40
  "types": "dist/browser/index.d.ts",
41
41
  "dependencies": {
42
- "@xylabs/assert": "^4.13.21",
43
- "@xylabs/enum": "^4.13.21",
44
- "@xylabs/react-appbar": "^6.3.13",
45
- "@xylabs/react-button": "^6.3.13",
46
- "@xylabs/react-flexbox": "^6.3.13",
47
- "@xylabs/react-link": "^6.3.13",
48
- "@xylabs/react-shared": "^6.3.13",
49
- "@xyo-network/react-network": "^6.1.3",
42
+ "@xylabs/assert": "^4.15.0",
43
+ "@xylabs/enum": "^4.15.0",
44
+ "@xylabs/react-appbar": "^6.4.0",
45
+ "@xylabs/react-button": "^6.4.0",
46
+ "@xylabs/react-flexbox": "^6.4.0",
47
+ "@xylabs/react-link": "^6.4.0",
48
+ "@xylabs/react-shared": "^6.4.0",
49
+ "@xyo-network/react-network": "^6.2.0",
50
50
  "react-icons": "^5.5.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@mui/icons-material": "^7.2.0",
54
54
  "@mui/material": "^7.2.0",
55
- "@storybook/react-vite": "^9.0.17",
55
+ "@storybook/react-vite": "^9.0.18",
56
56
  "@types/react": "^19.1.8",
57
- "@xylabs/ts-scripts-yarn3": "next",
58
- "@xylabs/tsconfig-react": "next",
59
- "@xyo-network/react-storybook": "^6.1.3",
60
- "@xyo-network/react-wallet": "^6.1.3",
61
- "react": "^19.1.0",
62
- "react-dom": "^19.1.0",
63
- "react-router-dom": "^7.7.0",
64
- "storybook": "^9.0.17",
57
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
58
+ "@xylabs/tsconfig-react": "^7.0.1",
59
+ "@xyo-network/react-storybook": "^6.2.0",
60
+ "@xyo-network/react-wallet": "^6.2.0",
61
+ "react": "^19.1.1",
62
+ "react-dom": "^19.1.1",
63
+ "react-router-dom": "^7.7.1",
64
+ "storybook": "^9.0.18",
65
65
  "typescript": "^5.8.3"
66
66
  },
67
67
  "peerDependencies": {
package/src/global.d.ts CHANGED
@@ -1 +1 @@
1
- import type {} from '@mui/material/themeCssVarsAugmentation'
1
+ import '@mui/material/themeCssVarsAugmentation'