@xyo-network/react-appbar 5.3.15 → 6.1.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.
- package/dist/browser/components/AppBar/Application.stories.d.ts +9 -0
- package/dist/browser/components/AppBar/Application.stories.d.ts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts +10 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.d.ts +7 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.d.ts.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.d.ts +8 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.d.ts.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.d.ts +8 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.d.ts.map +1 -0
- package/dist/browser/index.d.ts +58 -0
- package/package.json +21 -20
- package/dist/types/index.d.ts +0 -2
- /package/dist/{types → browser}/components/AppBar/Application.d.ts +0 -0
- /package/dist/{types → browser}/components/AppBar/Application.d.ts.map +0 -0
- /package/dist/{types → browser}/components/AppBar/index.d.ts +0 -0
- /package/dist/{types → browser}/components/AppBar/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/CollapseToggle.d.ts +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/CollapseToggle.d.ts.map +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/CollapsibleDrawer.d.ts +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/index.d.ts +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/storyExampleMenuData.d.ts +0 -0
- /package/dist/{types → browser}/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControls.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControls.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControlsRoot.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControlsRoot.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControlsType.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControlsType.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControlsUnstyled.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControl.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControl.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControlText.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControlText.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/controls/index.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/controls/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/index.d.ts +0 -0
- /package/dist/{types → browser}/components/MobileSystemControls/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/SearchBar/SearchBar.d.ts +0 -0
- /package/dist/{types → browser}/components/SearchBar/SearchBar.d.ts.map +0 -0
- /package/dist/{types → browser}/components/SearchBar/index.d.ts +0 -0
- /package/dist/{types → browser}/components/SearchBar/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/ContextToolbar.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/ContextToolbar.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/Logo.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/Logo.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/LogoLinkEx.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/LogoLinkEx.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/index.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/Context/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/System/SystemToolbar.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/System/SystemToolbar.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/System/index.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/System/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/Toolbar/index.d.ts +0 -0
- /package/dist/{types → browser}/components/Toolbar/index.d.ts.map +0 -0
- /package/dist/{types → browser}/components/index.d.ts +0 -0
- /package/dist/{types → browser}/components/index.d.ts.map +0 -0
- /package/dist/{types → browser}/index.d.ts.map +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
2
|
+
import { XyoApplicationAppBar } from './Application.tsx';
|
3
|
+
declare const StorybookEntry: Meta<typeof XyoApplicationAppBar>;
|
4
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./Application.tsx").XyoApplicationAppBarProps>;
|
5
|
+
declare const WithSearchBar: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./Application.tsx").XyoApplicationAppBarProps>;
|
6
|
+
declare const WithWalletSelectBar: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./Application.tsx").XyoApplicationAppBarProps>;
|
7
|
+
export { Default, WithSearchBar, WithWalletSelectBar, };
|
8
|
+
export default StorybookEntry;
|
9
|
+
//# sourceMappingURL=Application.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Application.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AppBar/Application.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAa1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAA;AA2BtC,QAAA,MAAM,OAAO,yJAAoB,CAAA;AAGjC,QAAA,MAAM,aAAa,yJAAoB,CAAA;AAgBvC,QAAA,MAAM,mBAAmB,yJAAoB,CAAA;AAa7C,OAAO,EACL,OAAO,EAAE,aAAa,EAAE,mBAAmB,GAC5C,CAAA;AAED,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
2
|
+
import React from 'react';
|
3
|
+
import { CollapsibleDrawer } from './CollapsibleDrawer.tsx';
|
4
|
+
declare const StorybookEntry: Meta<typeof CollapsibleDrawer>;
|
5
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("@mui/material").CollapseProps & {
|
6
|
+
children?: React.ReactNode | undefined;
|
7
|
+
}>;
|
8
|
+
export { Default };
|
9
|
+
export default StorybookEntry;
|
10
|
+
//# sourceMappingURL=CollapseDrawer.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CollapseDrawer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapseDrawer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACC,IAAI,EAChB,MAAM,uBAAuB,CAAA;AAM9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAW3D,QAAA,MAAM,cAAc,EAMf,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAoBnC,QAAA,MAAM,OAAO;;EAAoB,CAAA;AAGjC,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
2
|
+
declare const StorybookEntry: Meta;
|
3
|
+
declare const Left: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./SystemControlsUnstyled.tsx").SystemControlsUnstyledProps>;
|
4
|
+
declare const Top: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./SystemControlsUnstyled.tsx").SystemControlsUnstyledProps>;
|
5
|
+
export { Left, Top };
|
6
|
+
export default StorybookEntry;
|
7
|
+
//# sourceMappingURL=SystemControls.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControls.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControls.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAO1D,QAAA,MAAM,cAAc,EAAE,IAKrB,CAAA;AAUD,QAAA,MAAM,IAAI,sKAAoB,CAAA;AAM9B,QAAA,MAAM,GAAG,sKAAoB,CAAA;AAM7B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAA;AAEpB,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
2
|
+
import { XyoContextToolbar } from './ContextToolbar.tsx';
|
3
|
+
declare const StorybookEntry: Meta<typeof XyoContextToolbar>;
|
4
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./ContextToolbar.tsx").XyoContextToolbarProps>;
|
5
|
+
declare const WithVersion: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./ContextToolbar.tsx").XyoContextToolbarProps>;
|
6
|
+
export { Default, WithVersion };
|
7
|
+
export default StorybookEntry;
|
8
|
+
//# sourceMappingURL=ContextToolbar.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAI1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAQnC,QAAA,MAAM,OAAO,yJAAoB,CAAA;AAGjC,QAAA,MAAM,WAAW,yJAAoB,CAAA;AAGrC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAA;AAE/B,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
2
|
+
declare const StorybookEntry: Meta;
|
3
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./SystemToolbar.tsx").XyoSystemToolbarProps>;
|
4
|
+
declare const PrecedingChildren: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./SystemToolbar.tsx").XyoSystemToolbarProps>;
|
5
|
+
declare const WithOnMenuToggle: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./SystemToolbar.tsx").XyoSystemToolbarProps>;
|
6
|
+
export { Default, PrecedingChildren, WithOnMenuToggle, };
|
7
|
+
export default StorybookEntry;
|
8
|
+
//# sourceMappingURL=SystemToolbar.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/System/SystemToolbar.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAqB1D,QAAA,MAAM,cAAc,EAAE,IAIrB,CAAA;AAUD,QAAA,MAAM,OAAO,uJAAoB,CAAA;AAGjC,QAAA,MAAM,iBAAiB,uJAAoB,CAAA;AAS3C,QAAA,MAAM,gBAAgB,uJAAoB,CAAA;AAM1C,OAAO,EACL,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,GAC7C,CAAA;AAED,eAAe,cAAc,CAAA"}
|
@@ -0,0 +1,58 @@
|
|
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 };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xyo-network/react-appbar",
|
3
|
-
"version": "
|
3
|
+
"version": "6.1.0",
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
5
5
|
"keywords": [
|
6
6
|
"xyo",
|
@@ -28,39 +28,40 @@
|
|
28
28
|
"exports": {
|
29
29
|
".": {
|
30
30
|
"browser": {
|
31
|
-
"types": "./dist/
|
31
|
+
"types": "./dist/browser/index.d.ts",
|
32
32
|
"default": "./dist/browser/index.mjs"
|
33
33
|
},
|
34
|
-
"types": "./dist/
|
34
|
+
"types": "./dist/browser/index.d.ts",
|
35
35
|
"default": "./dist/browser/index.mjs"
|
36
36
|
},
|
37
37
|
"./package.json": "./package.json"
|
38
38
|
},
|
39
39
|
"module": "dist/browser/index.mjs",
|
40
|
-
"types": "dist/
|
40
|
+
"types": "dist/browser/index.d.ts",
|
41
41
|
"dependencies": {
|
42
|
-
"@xylabs/assert": "^4.
|
43
|
-
"@xylabs/enum": "^4.
|
44
|
-
"@xylabs/react-appbar": "^6.3.
|
45
|
-
"@xylabs/react-button": "^6.3.
|
46
|
-
"@xylabs/react-flexbox": "^6.3.
|
47
|
-
"@xylabs/react-link": "^6.3.
|
48
|
-
"@xylabs/react-shared": "^6.3.
|
49
|
-
"@xyo-network/react-network": "^
|
42
|
+
"@xylabs/assert": "^4.13.15",
|
43
|
+
"@xylabs/enum": "^4.13.15",
|
44
|
+
"@xylabs/react-appbar": "^6.3.10",
|
45
|
+
"@xylabs/react-button": "^6.3.10",
|
46
|
+
"@xylabs/react-flexbox": "^6.3.10",
|
47
|
+
"@xylabs/react-link": "^6.3.10",
|
48
|
+
"@xylabs/react-shared": "^6.3.10",
|
49
|
+
"@xyo-network/react-network": "^6.1.0",
|
50
50
|
"react-icons": "^5.5.0"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
|
-
"@mui/icons-material": "^7.
|
54
|
-
"@mui/material": "^7.
|
53
|
+
"@mui/icons-material": "^7.2.0",
|
54
|
+
"@mui/material": "^7.2.0",
|
55
|
+
"@storybook/react-vite": "^9.0.16",
|
55
56
|
"@types/react": "^19.1.8",
|
56
|
-
"@xylabs/ts-scripts-yarn3": "
|
57
|
-
"@xylabs/tsconfig-react": "
|
58
|
-
"@xyo-network/react-storybook": "^
|
59
|
-
"@xyo-network/react-wallet": "^
|
57
|
+
"@xylabs/ts-scripts-yarn3": "next",
|
58
|
+
"@xylabs/tsconfig-react": "next",
|
59
|
+
"@xyo-network/react-storybook": "^6.1.0",
|
60
|
+
"@xyo-network/react-wallet": "^6.1.0",
|
60
61
|
"react": "^19.1.0",
|
61
62
|
"react-dom": "^19.1.0",
|
62
|
-
"react-router-dom": "^7.6.
|
63
|
-
"storybook": "^9.0.
|
63
|
+
"react-router-dom": "^7.6.3",
|
64
|
+
"storybook": "^9.0.16",
|
64
65
|
"typescript": "^5.8.3"
|
65
66
|
},
|
66
67
|
"peerDependencies": {
|
package/dist/types/index.d.ts
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{types → browser}/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map
RENAMED
File without changes
|
File without changes
|
/package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControl.d.ts.map
RENAMED
File without changes
|
/package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControlText.d.ts
RENAMED
File without changes
|
/package/dist/{types → browser}/components/MobileSystemControls/controls/SystemControlText.d.ts.map
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|