@xyo-network/react-os 2.76.2 → 2.76.4
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/Profile/Profile.d.cts +1 -2
- package/dist/browser/components/Profile/Profile.d.cts.map +1 -1
- package/dist/browser/components/Profile/Profile.d.mts +1 -2
- package/dist/browser/components/Profile/Profile.d.mts.map +1 -1
- package/dist/browser/components/Profile/Profile.d.ts +1 -2
- package/dist/browser/components/Profile/Profile.d.ts.map +1 -1
- package/dist/neutral/components/Profile/Profile.d.cts +1 -2
- package/dist/neutral/components/Profile/Profile.d.cts.map +1 -1
- package/dist/neutral/components/Profile/Profile.d.mts +1 -2
- package/dist/neutral/components/Profile/Profile.d.mts.map +1 -1
- package/dist/neutral/components/Profile/Profile.d.ts +1 -2
- package/dist/neutral/components/Profile/Profile.d.ts.map +1 -1
- package/dist/node/components/Profile/Profile.d.cts +1 -2
- package/dist/node/components/Profile/Profile.d.cts.map +1 -1
- package/dist/node/components/Profile/Profile.d.mts +1 -2
- package/dist/node/components/Profile/Profile.d.mts.map +1 -1
- package/dist/node/components/Profile/Profile.d.ts +1 -2
- package/dist/node/components/Profile/Profile.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/Profile/Profile.stories.tsx +2 -5
- package/src/components/Profile/Profile.tsx +1 -1
- package/src/components/TestComponent.stories.tsx +1 -0
- package/src/components/XyOsClock/XyOsClock.stories.tsx +4 -7
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaperProps } from '@mui/material';
|
|
3
|
-
interface XyOsProfileProps extends PaperProps {
|
|
3
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
4
4
|
pfp: string;
|
|
5
5
|
xns: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const XyOsProfile: React.FC<XyOsProfileProps>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=Profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAKxF,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+ClD,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mui/icons-material": "^5.15.
|
|
13
|
+
"@mui/icons-material": "^5.15.18",
|
|
14
14
|
"@xylabs/react-flexbox": "^3.1.7",
|
|
15
15
|
"date-fns": "^3.6.0"
|
|
16
16
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@storybook/react": "^7.6.19",
|
|
25
|
-
"@xylabs/ts-scripts-yarn3": "^3.10.
|
|
26
|
-
"@xylabs/tsconfig-react": "^3.10.
|
|
27
|
-
"react-router-dom": "^6.23.
|
|
25
|
+
"@xylabs/ts-scripts-yarn3": "^3.10.4",
|
|
26
|
+
"@xylabs/tsconfig-react": "^3.10.4",
|
|
27
|
+
"react-router-dom": "^6.23.1",
|
|
28
28
|
"typescript": "^5.4.5"
|
|
29
29
|
},
|
|
30
30
|
"description": "Common React library for all XYO projects that use React",
|
|
@@ -78,6 +78,6 @@
|
|
|
78
78
|
},
|
|
79
79
|
"sideEffects": false,
|
|
80
80
|
"types": "dist/browser/index.d.ts",
|
|
81
|
-
"version": "2.76.
|
|
81
|
+
"version": "2.76.4",
|
|
82
82
|
"type": "module"
|
|
83
83
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/react'
|
|
2
2
|
import { BrowserRouter } from 'react-router-dom'
|
|
3
3
|
|
|
4
|
-
import { FlexGrowCol } from '@xylabs/react-flexbox'
|
|
5
4
|
import { XyOsProfile } from './Profile'
|
|
6
5
|
const StorybookEntry = {
|
|
7
6
|
argTypes: {},
|
|
@@ -16,17 +15,15 @@ const StorybookEntry = {
|
|
|
16
15
|
|
|
17
16
|
const Template: StoryFn<typeof XyOsProfile> = (args) => (
|
|
18
17
|
<BrowserRouter>
|
|
19
|
-
<XyOsProfile
|
|
18
|
+
<XyOsProfile {...args}></XyOsProfile>
|
|
20
19
|
</BrowserRouter>
|
|
21
20
|
)
|
|
22
21
|
|
|
23
22
|
const Default = Template.bind({})
|
|
24
23
|
Default.args = {
|
|
25
|
-
xns:'@arietrouw'
|
|
24
|
+
xns: '@arietrouw',
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
27
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
31
28
|
//@ts-ignore
|
|
32
29
|
|
|
@@ -3,7 +3,7 @@ import { FlexGrowCol, FlexGrowRow } from '@xylabs/react-flexbox'
|
|
|
3
3
|
import { format, subHours } from 'date-fns'
|
|
4
4
|
|
|
5
5
|
import { StatsModal } from './StatsModal'
|
|
6
|
-
interface XyOsProfileProps extends PaperProps {
|
|
6
|
+
export interface XyOsProfileProps extends PaperProps {
|
|
7
7
|
pfp: string
|
|
8
8
|
xns: string
|
|
9
9
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/react'
|
|
2
|
+
import { FlexGrowCol } from '@xylabs/react-flexbox'
|
|
2
3
|
import { BrowserRouter } from 'react-router-dom'
|
|
3
4
|
|
|
4
|
-
import { FlexGrowCol } from '@xylabs/react-flexbox'
|
|
5
5
|
import { XyOsClock } from './XyOsClock'
|
|
6
|
-
import { Box, Typography } from '@mui/material'
|
|
7
6
|
const StorybookEntry = {
|
|
8
7
|
argTypes: {},
|
|
9
8
|
component: XyOsClock,
|
|
@@ -17,9 +16,9 @@ const StorybookEntry = {
|
|
|
17
16
|
|
|
18
17
|
const Template: StoryFn<typeof XyOsClock> = (args) => (
|
|
19
18
|
<BrowserRouter>
|
|
20
|
-
<FlexGrowCol gap={2}
|
|
19
|
+
<FlexGrowCol gap={2} alignItems={'center'} justifyContent={'center'}>
|
|
21
20
|
<FlexGrowCol alignItems={'center'} justifyContent={'center'}>
|
|
22
|
-
<XyOsClock
|
|
21
|
+
<XyOsClock {...args}></XyOsClock>
|
|
23
22
|
</FlexGrowCol>
|
|
24
23
|
</FlexGrowCol>
|
|
25
24
|
</BrowserRouter>
|
|
@@ -27,11 +26,9 @@ const Template: StoryFn<typeof XyOsClock> = (args) => (
|
|
|
27
26
|
|
|
28
27
|
const Default = Template.bind({})
|
|
29
28
|
Default.args = {
|
|
30
|
-
clockType:'appbar'
|
|
29
|
+
clockType: 'appbar',
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
32
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
36
33
|
//@ts-ignore
|
|
37
34
|
|