@xyo-network/react-os 3.0.1 → 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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/TestComponent.tsx"],"sourcesContent":["import { FlexRow } from '@xylabs/react-flexbox'\nimport React, { PropsWithChildren } 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;AACxB,OAAOC,WAAkC;AAIlC,IAAMC,gBAA8C,wBAAC,EAAEC,UAAU,GAAGC,MAAAA,MAAO;AAChF,SAAO,sBAAA,cAACC,SAAYD,OAAQD,QAAAA;AAC9B,GAF2D;","names":["FlexRow","React","TestComponent","children","props","FlexRow"]}
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.1",
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.15",
26
- "@xylabs/tsconfig-react": "^4.0.0-rc.15",
27
- "react-router-dom": "^6.26.0",
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.1",
65
+ "version": "3.0.2",
66
66
  "type": "module"
67
67
  }
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
  import React from 'react'
3
3
  import { BrowserRouter } from 'react-router-dom'
4
4
 
@@ -1,4 +1,5 @@
1
- import { Avatar, Divider, Paper, PaperProps, Typography, useTheme } from '@mui/material'
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 { TestComponent, TestComponentProps } from './TestComponent.tsx'
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,5 +1,6 @@
1
1
  import { FlexRow } from '@xylabs/react-flexbox'
2
- import React, { PropsWithChildren } from 'react'
2
+ import type { PropsWithChildren } from 'react'
3
+ import React from 'react'
3
4
 
4
5
  export interface TestComponentProps extends PropsWithChildren {}
5
6
 
@@ -1,4 +1,4 @@
1
- import { Meta, StoryFn } from '@storybook/react'
1
+ import type { Meta, StoryFn } from '@storybook/react'
2
2
  import { FlexGrowCol } from '@xylabs/react-flexbox'
3
3
  import React from 'react'
4
4
  import { BrowserRouter } from 'react-router-dom'
@@ -1,7 +1,9 @@
1
- import { BoxProps, Paper, Typography } from '@mui/material'
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 React, { ReactElement, useEffect, useState } from 'react'
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
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {