@xyo-network/react-os 3.0.0 → 3.0.2
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/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/components/Profile/Profile.stories.tsx +1 -1
- package/src/components/Profile/Profile.tsx +2 -1
- package/src/components/TestComponent.stories.tsx +3 -2
- package/src/components/TestComponent.tsx +2 -1
- package/src/components/XyOsClock/XyOsClock.stories.tsx +1 -1
- package/src/components/XyOsClock/XyOsClock.tsx +4 -2
- package/xy.config.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/TestComponent.tsx"],"sourcesContent":["import { FlexRow } from '@xylabs/react-flexbox'\nimport
|
|
1
|
+
{"version":3,"sources":["../../src/components/TestComponent.tsx"],"sourcesContent":["import { FlexRow } from '@xylabs/react-flexbox'\nimport type { PropsWithChildren } from 'react'\nimport React from 'react'\n\nexport interface TestComponentProps extends PropsWithChildren {}\n\nexport const TestComponent: React.FC<TestComponentProps> = ({ children, ...props }) => {\n return <FlexRow {...props}>{children}</FlexRow>\n}\n"],"mappings":";;;;AAAA,SAASA,eAAe;AAExB,OAAOC,WAAW;AAIX,IAAMC,gBAA8C,wBAAC,EAAEC,UAAU,GAAGC,MAAAA,MAAO;AAChF,SAAO,sBAAA,cAACC,SAAYD,OAAQD,QAAAA;AAC9B,GAF2D;","names":["FlexRow","React","TestComponent","children","props","FlexRow"]}
|
package/package.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
},
|
|
8
8
|
"bugs": {
|
|
9
9
|
"email": "support@xyo.network",
|
|
10
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
10
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@mui/icons-material": "^5.16.7",
|
|
14
|
-
"@xylabs/react-flexbox": "^4.0.
|
|
14
|
+
"@xylabs/react-flexbox": "^4.0.3",
|
|
15
15
|
"date-fns": "^3.6.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@storybook/react": "^8.2.9",
|
|
25
|
-
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.
|
|
26
|
-
"@xylabs/tsconfig-react": "^4.0.0-rc.
|
|
27
|
-
"react-router-dom": "^6.26.
|
|
25
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
|
|
26
|
+
"@xylabs/tsconfig-react": "^4.0.0-rc.20",
|
|
27
|
+
"react-router-dom": "^6.26.1",
|
|
28
28
|
"typescript": "^5.5.4"
|
|
29
29
|
},
|
|
30
30
|
"description": "Common React library for all XYO projects that use React",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|
|
57
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js.git"
|
|
57
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-react-js.git"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"lint-pkg": "npmPkgJsonLint .",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
},
|
|
63
63
|
"sideEffects": false,
|
|
64
64
|
"types": "dist/browser/index.d.ts",
|
|
65
|
-
"version": "3.0.
|
|
65
|
+
"version": "3.0.2",
|
|
66
66
|
"type": "module"
|
|
67
67
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PaperProps } from '@mui/material'
|
|
2
|
+
import { Avatar, Divider, Paper, Typography, useTheme } from '@mui/material'
|
|
2
3
|
import { FlexGrowCol, FlexGrowRow } from '@xylabs/react-flexbox'
|
|
3
4
|
import { format, subHours } from 'date-fns'
|
|
4
5
|
import React from 'react'
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Meta, StoryFn } from '@storybook/react'
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import type { TestComponentProps } from './TestComponent.tsx'
|
|
5
|
+
import { TestComponent } from './TestComponent.tsx'
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
title: 'modules/os/TestComponent',
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { BoxProps
|
|
1
|
+
import type { BoxProps } from '@mui/material'
|
|
2
|
+
import { Paper, Typography } from '@mui/material'
|
|
2
3
|
import { FlexGrowCol, FlexGrowRow } from '@xylabs/react-flexbox'
|
|
3
4
|
import { format } from 'date-fns'
|
|
4
|
-
import
|
|
5
|
+
import type { ReactElement } from 'react'
|
|
6
|
+
import React, { useEffect, useState } from 'react'
|
|
5
7
|
|
|
6
8
|
interface ClockProps extends BoxProps {
|
|
7
9
|
date: number
|
package/xy.config.ts
CHANGED