@xyo-network/react-os 2.81.10 → 2.82.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.
Files changed (147) hide show
  1. package/dist/browser/components/Profile/Profile.d.cts +1 -0
  2. package/dist/browser/components/Profile/Profile.d.cts.map +1 -1
  3. package/dist/browser/components/Profile/Profile.d.mts +1 -0
  4. package/dist/browser/components/Profile/Profile.d.mts.map +1 -1
  5. package/dist/browser/components/Profile/Profile.d.ts +1 -0
  6. package/dist/browser/components/Profile/Profile.d.ts.map +1 -1
  7. package/dist/browser/components/Profile/index.d.cts +1 -1
  8. package/dist/browser/components/Profile/index.d.cts.map +1 -1
  9. package/dist/browser/components/Profile/index.d.mts +1 -1
  10. package/dist/browser/components/Profile/index.d.mts.map +1 -1
  11. package/dist/browser/components/Profile/index.d.ts +1 -1
  12. package/dist/browser/components/Profile/index.d.ts.map +1 -1
  13. package/dist/browser/components/TestComponent.d.cts +1 -1
  14. package/dist/browser/components/TestComponent.d.cts.map +1 -1
  15. package/dist/browser/components/TestComponent.d.mts +1 -1
  16. package/dist/browser/components/TestComponent.d.mts.map +1 -1
  17. package/dist/browser/components/TestComponent.d.ts +1 -1
  18. package/dist/browser/components/TestComponent.d.ts.map +1 -1
  19. package/dist/browser/components/XyOsClock/XyOsClock.d.cts +1 -0
  20. package/dist/browser/components/XyOsClock/XyOsClock.d.cts.map +1 -1
  21. package/dist/browser/components/XyOsClock/XyOsClock.d.mts +1 -0
  22. package/dist/browser/components/XyOsClock/XyOsClock.d.mts.map +1 -1
  23. package/dist/browser/components/XyOsClock/XyOsClock.d.ts +1 -0
  24. package/dist/browser/components/XyOsClock/XyOsClock.d.ts.map +1 -1
  25. package/dist/browser/components/XyOsClock/index.d.cts +1 -1
  26. package/dist/browser/components/XyOsClock/index.d.cts.map +1 -1
  27. package/dist/browser/components/XyOsClock/index.d.mts +1 -1
  28. package/dist/browser/components/XyOsClock/index.d.mts.map +1 -1
  29. package/dist/browser/components/XyOsClock/index.d.ts +1 -1
  30. package/dist/browser/components/XyOsClock/index.d.ts.map +1 -1
  31. package/dist/browser/components/index.d.cts +1 -1
  32. package/dist/browser/components/index.d.cts.map +1 -1
  33. package/dist/browser/components/index.d.mts +1 -1
  34. package/dist/browser/components/index.d.mts.map +1 -1
  35. package/dist/browser/components/index.d.ts +1 -1
  36. package/dist/browser/components/index.d.ts.map +1 -1
  37. package/dist/browser/index.cjs +15 -4
  38. package/dist/browser/index.cjs.map +1 -1
  39. package/dist/browser/index.d.cts +1 -1
  40. package/dist/browser/index.d.mts +1 -1
  41. package/dist/browser/index.d.ts +1 -1
  42. package/dist/browser/index.mjs +13 -0
  43. package/dist/browser/index.mjs.map +1 -0
  44. package/dist/neutral/components/Profile/Profile.d.cts +1 -0
  45. package/dist/neutral/components/Profile/Profile.d.cts.map +1 -1
  46. package/dist/neutral/components/Profile/Profile.d.mts +1 -0
  47. package/dist/neutral/components/Profile/Profile.d.mts.map +1 -1
  48. package/dist/neutral/components/Profile/Profile.d.ts +1 -0
  49. package/dist/neutral/components/Profile/Profile.d.ts.map +1 -1
  50. package/dist/neutral/components/Profile/index.d.cts +1 -1
  51. package/dist/neutral/components/Profile/index.d.cts.map +1 -1
  52. package/dist/neutral/components/Profile/index.d.mts +1 -1
  53. package/dist/neutral/components/Profile/index.d.mts.map +1 -1
  54. package/dist/neutral/components/Profile/index.d.ts +1 -1
  55. package/dist/neutral/components/Profile/index.d.ts.map +1 -1
  56. package/dist/neutral/components/TestComponent.d.cts +1 -1
  57. package/dist/neutral/components/TestComponent.d.cts.map +1 -1
  58. package/dist/neutral/components/TestComponent.d.mts +1 -1
  59. package/dist/neutral/components/TestComponent.d.mts.map +1 -1
  60. package/dist/neutral/components/TestComponent.d.ts +1 -1
  61. package/dist/neutral/components/TestComponent.d.ts.map +1 -1
  62. package/dist/neutral/components/XyOsClock/XyOsClock.d.cts +1 -0
  63. package/dist/neutral/components/XyOsClock/XyOsClock.d.cts.map +1 -1
  64. package/dist/neutral/components/XyOsClock/XyOsClock.d.mts +1 -0
  65. package/dist/neutral/components/XyOsClock/XyOsClock.d.mts.map +1 -1
  66. package/dist/neutral/components/XyOsClock/XyOsClock.d.ts +1 -0
  67. package/dist/neutral/components/XyOsClock/XyOsClock.d.ts.map +1 -1
  68. package/dist/neutral/components/XyOsClock/index.d.cts +1 -1
  69. package/dist/neutral/components/XyOsClock/index.d.cts.map +1 -1
  70. package/dist/neutral/components/XyOsClock/index.d.mts +1 -1
  71. package/dist/neutral/components/XyOsClock/index.d.mts.map +1 -1
  72. package/dist/neutral/components/XyOsClock/index.d.ts +1 -1
  73. package/dist/neutral/components/XyOsClock/index.d.ts.map +1 -1
  74. package/dist/neutral/components/index.d.cts +1 -1
  75. package/dist/neutral/components/index.d.cts.map +1 -1
  76. package/dist/neutral/components/index.d.mts +1 -1
  77. package/dist/neutral/components/index.d.mts.map +1 -1
  78. package/dist/neutral/components/index.d.ts +1 -1
  79. package/dist/neutral/components/index.d.ts.map +1 -1
  80. package/dist/neutral/index.cjs +15 -4
  81. package/dist/neutral/index.cjs.map +1 -1
  82. package/dist/neutral/index.d.cts +1 -1
  83. package/dist/neutral/index.d.mts +1 -1
  84. package/dist/neutral/index.d.ts +1 -1
  85. package/dist/neutral/index.mjs +13 -0
  86. package/dist/neutral/index.mjs.map +1 -0
  87. package/dist/node/components/Profile/Profile.d.cts +1 -0
  88. package/dist/node/components/Profile/Profile.d.cts.map +1 -1
  89. package/dist/node/components/Profile/Profile.d.mts +1 -0
  90. package/dist/node/components/Profile/Profile.d.mts.map +1 -1
  91. package/dist/node/components/Profile/Profile.d.ts +1 -0
  92. package/dist/node/components/Profile/Profile.d.ts.map +1 -1
  93. package/dist/node/components/Profile/index.d.cts +1 -1
  94. package/dist/node/components/Profile/index.d.cts.map +1 -1
  95. package/dist/node/components/Profile/index.d.mts +1 -1
  96. package/dist/node/components/Profile/index.d.mts.map +1 -1
  97. package/dist/node/components/Profile/index.d.ts +1 -1
  98. package/dist/node/components/Profile/index.d.ts.map +1 -1
  99. package/dist/node/components/TestComponent.d.cts +1 -1
  100. package/dist/node/components/TestComponent.d.cts.map +1 -1
  101. package/dist/node/components/TestComponent.d.mts +1 -1
  102. package/dist/node/components/TestComponent.d.mts.map +1 -1
  103. package/dist/node/components/TestComponent.d.ts +1 -1
  104. package/dist/node/components/TestComponent.d.ts.map +1 -1
  105. package/dist/node/components/XyOsClock/XyOsClock.d.cts +1 -0
  106. package/dist/node/components/XyOsClock/XyOsClock.d.cts.map +1 -1
  107. package/dist/node/components/XyOsClock/XyOsClock.d.mts +1 -0
  108. package/dist/node/components/XyOsClock/XyOsClock.d.mts.map +1 -1
  109. package/dist/node/components/XyOsClock/XyOsClock.d.ts +1 -0
  110. package/dist/node/components/XyOsClock/XyOsClock.d.ts.map +1 -1
  111. package/dist/node/components/XyOsClock/index.d.cts +1 -1
  112. package/dist/node/components/XyOsClock/index.d.cts.map +1 -1
  113. package/dist/node/components/XyOsClock/index.d.mts +1 -1
  114. package/dist/node/components/XyOsClock/index.d.mts.map +1 -1
  115. package/dist/node/components/XyOsClock/index.d.ts +1 -1
  116. package/dist/node/components/XyOsClock/index.d.ts.map +1 -1
  117. package/dist/node/components/index.d.cts +1 -1
  118. package/dist/node/components/index.d.cts.map +1 -1
  119. package/dist/node/components/index.d.mts +1 -1
  120. package/dist/node/components/index.d.mts.map +1 -1
  121. package/dist/node/components/index.d.ts +1 -1
  122. package/dist/node/components/index.d.ts.map +1 -1
  123. package/dist/node/index.cjs +15 -4
  124. package/dist/node/index.cjs.map +1 -1
  125. package/dist/node/index.d.cts +1 -1
  126. package/dist/node/index.d.mts +1 -1
  127. package/dist/node/index.d.ts +1 -1
  128. package/dist/node/index.mjs +13 -0
  129. package/dist/node/index.mjs.map +1 -0
  130. package/package.json +11 -11
  131. package/src/components/Profile/Profile.stories.tsx +4 -4
  132. package/src/components/Profile/Profile.tsx +12 -8
  133. package/src/components/Profile/StatsModal.tsx +1 -1
  134. package/src/components/Profile/index.ts +1 -1
  135. package/src/components/TestComponent.stories.tsx +2 -2
  136. package/src/components/TestComponent.tsx +1 -1
  137. package/src/components/XyOsClock/XyOsClock.stories.tsx +6 -6
  138. package/src/components/XyOsClock/XyOsClock.tsx +2 -2
  139. package/src/components/XyOsClock/index.ts +1 -1
  140. package/src/components/index.ts +1 -1
  141. package/src/index.ts +1 -1
  142. package/dist/browser/index.js +0 -10
  143. package/dist/browser/index.js.map +0 -1
  144. package/dist/neutral/index.js +0 -10
  145. package/dist/neutral/index.js.map +0 -1
  146. package/dist/node/index.js +0 -10
  147. package/dist/node/index.js.map +0 -1
@@ -0,0 +1,13 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // src/components/TestComponent.tsx
5
+ import { FlexRow } from "@xylabs/react-flexbox";
6
+ import React from "react";
7
+ var TestComponent = /* @__PURE__ */ __name(({ children, ...props }) => {
8
+ return /* @__PURE__ */ React.createElement(FlexRow, props, children);
9
+ }, "TestComponent");
10
+ export {
11
+ TestComponent
12
+ };
13
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +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,4 +1,5 @@
1
1
  import { PaperProps } from '@mui/material';
2
+ import React from 'react';
2
3
  export interface XyOsProfileProps extends PaperProps {
3
4
  pfp: string;
4
5
  xns: string;
@@ -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,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
+ {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAGxF,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,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,CAkDlD,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { PaperProps } from '@mui/material';
2
+ import React from 'react';
2
3
  export interface XyOsProfileProps extends PaperProps {
3
4
  pfp: string;
4
5
  xns: string;
@@ -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,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
+ {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAGxF,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,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,CAkDlD,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { PaperProps } from '@mui/material';
2
+ import React from 'react';
2
3
  export interface XyOsProfileProps extends PaperProps {
3
4
  pfp: string;
4
5
  xns: string;
@@ -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,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
+ {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/Profile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAwB,MAAM,eAAe,CAAA;AAGxF,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,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,CAkDlD,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './Profile.js';
1
+ export * from './Profile.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './Profile.js';
1
+ export * from './Profile.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './Profile.js';
1
+ export * from './Profile.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export interface TestComponentProps extends PropsWithChildren {
3
3
  }
4
4
  export declare const TestComponent: React.FC<TestComponentProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"TestComponent.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
1
+ {"version":3,"file":"TestComponent.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export interface TestComponentProps extends PropsWithChildren {
3
3
  }
4
4
  export declare const TestComponent: React.FC<TestComponentProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"TestComponent.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
1
+ {"version":3,"file":"TestComponent.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export interface TestComponentProps extends PropsWithChildren {
3
3
  }
4
4
  export declare const TestComponent: React.FC<TestComponentProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"TestComponent.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
1
+ {"version":3,"file":"TestComponent.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { BoxProps } from '@mui/material';
2
+ import React from 'react';
2
3
  interface ClockProps extends BoxProps {
3
4
  date: number;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"XyOsClock.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/XyOsClock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAA;AAK3D,UAAU,UAAW,SAAQ,QAAQ;IACnC,IAAI,EAAE,MAAM,CAAA;CACb;AAaD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B9C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUjD,CAAA"}
1
+ {"version":3,"file":"XyOsClock.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/XyOsClock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAA;AAG3D,OAAO,KAA4C,MAAM,OAAO,CAAA;AAEhE,UAAU,UAAW,SAAQ,QAAQ;IACnC,IAAI,EAAE,MAAM,CAAA;CACb;AAaD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B9C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUjD,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { BoxProps } from '@mui/material';
2
+ import React from 'react';
2
3
  interface ClockProps extends BoxProps {
3
4
  date: number;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"XyOsClock.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/XyOsClock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAA;AAK3D,UAAU,UAAW,SAAQ,QAAQ;IACnC,IAAI,EAAE,MAAM,CAAA;CACb;AAaD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B9C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUjD,CAAA"}
1
+ {"version":3,"file":"XyOsClock.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/XyOsClock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAA;AAG3D,OAAO,KAA4C,MAAM,OAAO,CAAA;AAEhE,UAAU,UAAW,SAAQ,QAAQ;IACnC,IAAI,EAAE,MAAM,CAAA;CACb;AAaD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B9C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUjD,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { BoxProps } from '@mui/material';
2
+ import React from 'react';
2
3
  interface ClockProps extends BoxProps {
3
4
  date: number;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"XyOsClock.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/XyOsClock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAA;AAK3D,UAAU,UAAW,SAAQ,QAAQ;IACnC,IAAI,EAAE,MAAM,CAAA;CACb;AAaD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B9C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUjD,CAAA"}
1
+ {"version":3,"file":"XyOsClock.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/XyOsClock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAA;AAG3D,OAAO,KAA4C,MAAM,OAAO,CAAA;AAEhE,UAAU,UAAW,SAAQ,QAAQ;IACnC,IAAI,EAAE,MAAM,CAAA;CACb;AAaD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B9C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOjD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASjD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CASlD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUjD,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './XyOsClock.js';
1
+ export * from './XyOsClock.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './XyOsClock.js';
1
+ export * from './XyOsClock.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './XyOsClock.js';
1
+ export * from './XyOsClock.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/XyOsClock/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './TestComponent.js';
1
+ export * from './TestComponent.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './TestComponent.js';
1
+ export * from './TestComponent.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './TestComponent.js';
1
+ export * from './TestComponent.tsx';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
9
  var __export = (target, all) => {
7
10
  for (var name in all)
8
11
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -15,6 +18,14 @@ var __copyProps = (to, from, except, desc) => {
15
18
  }
16
19
  return to;
17
20
  };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
18
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
30
 
20
31
  // src/index.ts
@@ -26,10 +37,10 @@ module.exports = __toCommonJS(src_exports);
26
37
 
27
38
  // src/components/TestComponent.tsx
28
39
  var import_react_flexbox = require("@xylabs/react-flexbox");
29
- var import_jsx_runtime = require("react/jsx-runtime");
30
- var TestComponent = ({ children, ...props }) => {
31
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { ...props, children });
32
- };
40
+ var import_react = __toESM(require("react"), 1);
41
+ var TestComponent = /* @__PURE__ */ __name(({ children, ...props }) => {
42
+ return /* @__PURE__ */ import_react.default.createElement(import_react_flexbox.FlexRow, props, children);
43
+ }, "TestComponent");
33
44
  // Annotate the CommonJS export names for ESM import in node:
34
45
  0 && (module.exports = {
35
46
  TestComponent
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/components/TestComponent.tsx"],"sourcesContent":["export * from './components/index.js'\n","import { FlexRow } from '@xylabs/react-flexbox'\nimport { 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;AAAA;AAAA;AAAA;AAAA;;;ACAA,2BAAwB;AAMf;AADF,IAAM,gBAA8C,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AACrF,SAAO,4CAAC,gCAAS,GAAG,OAAQ,UAAS;AACvC;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/components/TestComponent.tsx"],"sourcesContent":["export * from './components/index.ts'\n","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;;;;;;;ACAA,2BAAwB;AACxB,mBAAyC;AAIlC,IAAMA,gBAA8C,wBAAC,EAAEC,UAAU,GAAGC,MAAAA,MAAO;AAChF,SAAO,6BAAAC,QAAA,cAACC,8BAAYF,OAAQD,QAAAA;AAC9B,GAF2D;","names":["TestComponent","children","props","React","FlexRow"]}
@@ -1,2 +1,2 @@
1
- export * from './components/index.js';
1
+ export * from './components/index.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './components/index.js';
1
+ export * from './components/index.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './components/index.js';
1
+ export * from './components/index.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,13 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // src/components/TestComponent.tsx
5
+ import { FlexRow } from "@xylabs/react-flexbox";
6
+ import React from "react";
7
+ var TestComponent = /* @__PURE__ */ __name(({ children, ...props }) => {
8
+ return /* @__PURE__ */ React.createElement(FlexRow, props, children);
9
+ }, "TestComponent");
10
+ export {
11
+ TestComponent
12
+ };
13
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +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"]}
package/package.json CHANGED
@@ -10,8 +10,8 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@mui/icons-material": "^5.16.5",
14
- "@xylabs/react-flexbox": "^3.4.1",
13
+ "@mui/icons-material": "^5.16.6",
14
+ "@xylabs/react-flexbox": "^3.4.2",
15
15
  "date-fns": "^3.6.0"
16
16
  },
17
17
  "peerDependencies": {
@@ -21,10 +21,10 @@
21
21
  "react-dom": "^18"
22
22
  },
23
23
  "devDependencies": {
24
- "@storybook/react": "^7.6.20",
25
- "@xylabs/ts-scripts-yarn3": "^3.12.4",
26
- "@xylabs/tsconfig-react": "^3.12.4",
27
- "react-router-dom": "^6.25.1",
24
+ "@storybook/react": "^8.2.7",
25
+ "@xylabs/ts-scripts-yarn3": "^3.15.16",
26
+ "@xylabs/tsconfig-react": "^3.15.16",
27
+ "react-router-dom": "^6.26.0",
28
28
  "typescript": "^5.5.4"
29
29
  },
30
30
  "description": "Common React library for all XYO projects that use React",
@@ -34,7 +34,7 @@
34
34
  "node": {
35
35
  "import": {
36
36
  "types": "./dist/node/index.d.mts",
37
- "default": "./dist/node/index.js"
37
+ "default": "./dist/node/index.mjs"
38
38
  },
39
39
  "require": {
40
40
  "types": "./dist/node/index.d.cts",
@@ -44,19 +44,19 @@
44
44
  "browser": {
45
45
  "import": {
46
46
  "types": "./dist/browser/index.d.mts",
47
- "default": "./dist/browser/index.js"
47
+ "default": "./dist/browser/index.mjs"
48
48
  },
49
49
  "require": {
50
50
  "types": "./dist/browser/index.d.cts",
51
51
  "default": "./dist/browser/index.cjs"
52
52
  }
53
53
  },
54
- "default": "./dist/browser/index.js"
54
+ "default": "./dist/browser/index.mjs"
55
55
  },
56
56
  "./package.json": "./package.json"
57
57
  },
58
58
  "main": "dist/browser/index.cjs",
59
- "module": "dist/browser/index.js",
59
+ "module": "dist/browser/index.mjs",
60
60
  "homepage": "https://xyo.network",
61
61
  "keywords": [
62
62
  "xyo",
@@ -78,6 +78,6 @@
78
78
  },
79
79
  "sideEffects": false,
80
80
  "types": "dist/browser/index.d.ts",
81
- "version": "2.81.10",
81
+ "version": "2.82.0",
82
82
  "type": "module"
83
83
  }
@@ -1,7 +1,8 @@
1
1
  import { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
  import { BrowserRouter } from 'react-router-dom'
3
4
 
4
- import { XyOsProfile } from './Profile.js'
5
+ import { XyOsProfile } from './Profile.tsx'
5
6
  const StorybookEntry = {
6
7
  argTypes: {},
7
8
  component: XyOsProfile,
@@ -13,7 +14,7 @@ const StorybookEntry = {
13
14
  title: 'shared/XyOsProfile',
14
15
  } as Meta<typeof XyOsProfile>
15
16
 
16
- const Template: StoryFn<typeof XyOsProfile> = (args) => (
17
+ const Template: StoryFn<typeof XyOsProfile> = args => (
17
18
  <BrowserRouter>
18
19
  <XyOsProfile {...args}></XyOsProfile>
19
20
  </BrowserRouter>
@@ -25,9 +26,8 @@ Default.args = {
25
26
  }
26
27
 
27
28
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
28
- //@ts-ignore
29
+ // @ts-ignore
29
30
 
30
31
  export { Default }
31
32
 
32
- // eslint-disable-next-line import/no-default-export
33
33
  export default StorybookEntry
@@ -1,8 +1,9 @@
1
1
  import { Avatar, Divider, Paper, PaperProps, Typography, useTheme } from '@mui/material'
2
2
  import { FlexGrowCol, FlexGrowRow } from '@xylabs/react-flexbox'
3
3
  import { format, subHours } from 'date-fns'
4
+ import React from 'react'
4
5
 
5
- import { StatsModal } from './StatsModal.js'
6
+ import { StatsModal } from './StatsModal.tsx'
6
7
  export interface XyOsProfileProps extends PaperProps {
7
8
  pfp: string
8
9
  xns: string
@@ -14,31 +15,34 @@ export const XyOsProfile: React.FC<XyOsProfileProps> = ({ xns, pfp, ...props })
14
15
  return (
15
16
  <FlexGrowCol gap={1} alignItems="flex-start">
16
17
  <FlexGrowRow gap={1}>
17
- <Avatar alt={xns} src={'https://arietrouw.com/assets/img/arie.jpg'} sx={{ height: 100, width: 100 }} />
18
- <FlexGrowCol width="100%" alignItems={'flex-start'}>
18
+ <Avatar alt={xns} src="https://arietrouw.com/assets/img/arie.jpg" sx={{ height: 100, width: 100 }} />
19
+ <FlexGrowCol width="100%" alignItems="flex-start">
19
20
  <Typography variant="h5">{xns}</Typography>
20
- <Typography variant="subtitle2">Last Active: {format(subHours(Date.now(), 4), 'pp')}</Typography>
21
+ <Typography variant="subtitle2">
22
+ Last Active:
23
+ {format(subHours(Date.now(), 4), 'pp')}
24
+ </Typography>
21
25
  </FlexGrowCol>
22
26
  </FlexGrowRow>
23
27
  <Paper sx={{ padding: 1 }}>
24
28
  <FlexGrowRow paddingBottom={1} width="100%" alignItems="center" justifyContent="space-between">
25
- <Typography variant="body1" fontWeight={'medium'}>
29
+ <Typography variant="body1" fontWeight="medium">
26
30
  2024 Stats
27
31
  </Typography>
28
32
  <StatsModal />
29
33
  </FlexGrowRow>
30
34
  <FlexGrowRow justifyContent="flex-start" width="100%" gap={1}>
31
- <FlexGrowCol alignItems={'flex-start'}>
35
+ <FlexGrowCol alignItems="flex-start">
32
36
  <Typography variant="h5">3,921</Typography>
33
37
  <Typography variant="body2">Bound Witnesses</Typography>
34
38
  </FlexGrowCol>
35
39
  <Divider flexItem orientation="vertical"></Divider>
36
- <FlexGrowCol alignItems={'flex-start'}>
40
+ <FlexGrowCol alignItems="flex-start">
37
41
  <Typography variant="h5">30</Typography>
38
42
  <Typography variant="body2">Connected Bridges</Typography>
39
43
  </FlexGrowCol>
40
44
  <Divider flexItem orientation="vertical"></Divider>
41
- <FlexGrowCol alignItems={'flex-start'}>
45
+ <FlexGrowCol alignItems="flex-start">
42
46
  <Typography variant="h5">3,921</Typography>
43
47
  <Typography variant="body2">Bound Witnesses</Typography>
44
48
  </FlexGrowCol>
@@ -35,7 +35,7 @@ export const StatsModal: React.FC = () => {
35
35
  >
36
36
  <Fade in={open}>
37
37
  <Box sx={style}>
38
- <FlexGrowCol alignItems={'center'}>
38
+ <FlexGrowCol alignItems="center">
39
39
  <Avatar sx={{ height: '200px', width: '200px' }}></Avatar>
40
40
  <Typography id="transition-modal-description" align="center" sx={{ mt: 2 }}>
41
41
  Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
@@ -1 +1 @@
1
- export * from './Profile.js'
1
+ export * from './Profile.tsx'
@@ -1,8 +1,8 @@
1
1
  import { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
- import { TestComponent, TestComponentProps } from './TestComponent.js'
4
+ import { TestComponent, TestComponentProps } from './TestComponent.tsx'
4
5
 
5
- // eslint-disable-next-line import/no-default-export
6
6
  export default {
7
7
  title: 'modules/os/TestComponent',
8
8
  } as Meta
@@ -1,5 +1,5 @@
1
1
  import { FlexRow } from '@xylabs/react-flexbox'
2
- import { PropsWithChildren } from 'react'
2
+ import React, { PropsWithChildren } from 'react'
3
3
 
4
4
  export interface TestComponentProps extends PropsWithChildren {}
5
5
 
@@ -1,8 +1,9 @@
1
1
  import { Meta, StoryFn } from '@storybook/react'
2
2
  import { FlexGrowCol } from '@xylabs/react-flexbox'
3
+ import React from 'react'
3
4
  import { BrowserRouter } from 'react-router-dom'
4
5
 
5
- import { XyOsClock } from './XyOsClock.js'
6
+ import { XyOsClock } from './XyOsClock.tsx'
6
7
  const StorybookEntry = {
7
8
  argTypes: {},
8
9
  component: XyOsClock,
@@ -14,10 +15,10 @@ const StorybookEntry = {
14
15
  title: 'shared/XyOsClock',
15
16
  } as Meta<typeof XyOsClock>
16
17
 
17
- const Template: StoryFn<typeof XyOsClock> = (args) => (
18
+ const Template: StoryFn<typeof XyOsClock> = args => (
18
19
  <BrowserRouter>
19
- <FlexGrowCol gap={2} alignItems={'center'} justifyContent={'center'}>
20
- <FlexGrowCol alignItems={'center'} justifyContent={'center'}>
20
+ <FlexGrowCol gap={2} alignItems="center" justifyContent="center">
21
+ <FlexGrowCol alignItems="center" justifyContent="center">
21
22
  <XyOsClock {...args}></XyOsClock>
22
23
  </FlexGrowCol>
23
24
  </FlexGrowCol>
@@ -30,9 +31,8 @@ Default.args = {
30
31
  }
31
32
 
32
33
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
33
- //@ts-ignore
34
+ // @ts-ignore
34
35
 
35
36
  export { Default }
36
37
 
37
- // eslint-disable-next-line import/no-default-export
38
38
  export default StorybookEntry
@@ -1,7 +1,7 @@
1
1
  import { BoxProps, Paper, Typography } from '@mui/material'
2
2
  import { FlexGrowCol, FlexGrowRow } from '@xylabs/react-flexbox'
3
3
  import { format } from 'date-fns'
4
- import { ReactElement, useEffect, useState } from 'react'
4
+ import React, { ReactElement, useEffect, useState } from 'react'
5
5
 
6
6
  interface ClockProps extends BoxProps {
7
7
  date: number
@@ -50,7 +50,7 @@ export const XyOsClock: React.FC<XyOsClockProps> = ({ clockType, clockSize, ...p
50
50
  type: 'widget',
51
51
  },
52
52
  ]
53
- return ClockComponents.find((component) => component.type === clockType)?.components[`${clockSize}`]
53
+ return ClockComponents.find(component => component.type === clockType)?.components[`${clockSize}`]
54
54
  }
55
55
 
56
56
  export const SmallAppBarClock: React.FC<ClockProps> = ({ date }) => {
@@ -1 +1 @@
1
- export * from './XyOsClock.js'
1
+ export * from './XyOsClock.tsx'
@@ -1 +1 @@
1
- export * from './TestComponent.js'
1
+ export * from './TestComponent.tsx'
package/src/index.ts CHANGED
@@ -1 +1 @@
1
- export * from './components/index.js'
1
+ export * from './components/index.ts'
@@ -1,10 +0,0 @@
1
- // src/components/TestComponent.tsx
2
- import { FlexRow } from "@xylabs/react-flexbox";
3
- import { jsx } from "react/jsx-runtime";
4
- var TestComponent = ({ children, ...props }) => {
5
- return /* @__PURE__ */ jsx(FlexRow, { ...props, children });
6
- };
7
- export {
8
- TestComponent
9
- };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/TestComponent.tsx"],"sourcesContent":["import { FlexRow } from '@xylabs/react-flexbox'\nimport { 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,SAAS,eAAe;AAMf;AADF,IAAM,gBAA8C,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AACrF,SAAO,oBAAC,WAAS,GAAG,OAAQ,UAAS;AACvC;","names":[]}
@@ -1,10 +0,0 @@
1
- // src/components/TestComponent.tsx
2
- import { FlexRow } from "@xylabs/react-flexbox";
3
- import { jsx } from "react/jsx-runtime";
4
- var TestComponent = ({ children, ...props }) => {
5
- return /* @__PURE__ */ jsx(FlexRow, { ...props, children });
6
- };
7
- export {
8
- TestComponent
9
- };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/TestComponent.tsx"],"sourcesContent":["import { FlexRow } from '@xylabs/react-flexbox'\nimport { 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,SAAS,eAAe;AAMf;AADF,IAAM,gBAA8C,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AACrF,SAAO,oBAAC,WAAS,GAAG,OAAQ,UAAS;AACvC;","names":[]}