@xyo-network/react-theme 10.0.4 → 10.0.6

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,8 +1,2 @@
1
- export * from './appThemeOptions.tsx';
2
- export * from './fontFamily.ts';
3
- export * from './OsTheme/index.ts';
4
- export * from './partialDarkThemeOptions.tsx';
5
- export * from './partialLightThemeOptions.tsx';
6
- export * from './themeOptions.ts';
7
- export * from './webThemeOptions.tsx';
1
+ export * from '@xyo-network/react-sdk/theme';
8
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,8BAA8B,CAAA"}
@@ -1,256 +1,3 @@
1
- // src/fontFamily.ts
2
- var fontFamilyPrimary = ["Lexend Deca", "Helvetica", "sans-serif"].join(",");
3
- var fontFamilyOs = ["Manrope", "Roboto", "sans-serif"].join(",");
4
-
5
- // src/themeOptions.ts
6
- var components = {
7
- MuiCard: {
8
- styleOverrides: {
9
- root: {
10
- display: "flex",
11
- flexDirection: "column",
12
- justifyContent: "space-between"
13
- }
14
- }
15
- },
16
- MuiCardHeader: {
17
- styleOverrides: {
18
- content: {
19
- display: "flex",
20
- flexDirection: "column",
21
- overflow: "hidden"
22
- }
23
- }
24
- },
25
- MuiLink: {
26
- defaultProps: { underline: "none" },
27
- styleOverrides: { root: { "&:hover": { filter: "brightness(75%)" } } }
28
- },
29
- MuiTableCell: {
30
- styleOverrides: {
31
- body: {
32
- fontFamily: "monospace",
33
- whiteSpace: "nowrap"
34
- },
35
- head: {
36
- fontWeight: 700,
37
- whiteSpace: "nowrap"
38
- }
39
- }
40
- }
41
- };
42
- var typography = {
43
- body1: { lineHeight: 1.57 },
44
- body2: { lineHeight: 1.57 },
45
- button: {
46
- fontSize: "1rem",
47
- textTransform: "inherit"
48
- },
49
- fontFamily: fontFamilyPrimary,
50
- fontWeightBold: 700,
51
- fontWeightLight: 200,
52
- fontWeightMedium: 300,
53
- fontWeightRegular: 400,
54
- h1: {
55
- fontFamily: fontFamilyPrimary,
56
- fontSize: "4rem"
57
- },
58
- h2: {
59
- fontFamily: fontFamilyPrimary,
60
- fontSize: "2.4rem"
61
- },
62
- h3: {
63
- fontFamily: fontFamilyPrimary,
64
- fontSize: "2.24rem"
65
- },
66
- h4: { fontSize: "2rem" },
67
- h5: { fontSize: "1.5rem" },
68
- h6: { fontSize: "1.1rem" },
69
- subtitle1: { opacity: "70%" },
70
- subtitle2: { opacity: "70%" }
71
- };
72
- var themeOptions = {
73
- components,
74
- shape: { borderRadius: 8 },
75
- spacing: 16,
76
- typography
77
- };
78
-
79
- // src/appThemeOptions.tsx
80
- var partialAppThemeOptions = {
81
- components: {
82
- MuiTypography: {
83
- styleOverrides: {
84
- root: ({ ownerState }) => {
85
- const { clamped } = ownerState;
86
- if (clamped) {
87
- const maxWidth = Number.parseInt(clamped, 10);
88
- return {
89
- overflow: "hidden",
90
- textOverflow: "ellipsis",
91
- whiteSpace: "nowrap",
92
- width: `clamp(1%, 100%, ${maxWidth}px)`
93
- };
94
- }
95
- }
96
- }
97
- }
98
- },
99
- spacing: 8
100
- };
101
- var appThemeOptions = { ...themeOptions, ...partialAppThemeOptions };
102
-
103
- // src/OsTheme/Components.tsx
104
- var components2 = {
105
- MuiCard: {
106
- defaultProps: { elevation: 0 },
107
- styleOverrides: {
108
- root: {
109
- display: "flex",
110
- flexDirection: "column",
111
- justifyContent: "space-between"
112
- }
113
- }
114
- },
115
- MuiCardHeader: {
116
- styleOverrides: {
117
- content: {
118
- display: "flex",
119
- flexDirection: "column",
120
- overflow: "hidden"
121
- }
122
- }
123
- },
124
- MuiLink: {
125
- defaultProps: { underline: "none" },
126
- styleOverrides: { root: { "&:hover": { filter: "brightness(75%)" } } }
127
- },
128
- MuiPaper: { defaultProps: { elevation: 0 } },
129
- MuiTableCell: {
130
- styleOverrides: {
131
- body: {
132
- fontFamily: "monospace",
133
- whiteSpace: "nowrap"
134
- },
135
- head: {
136
- fontWeight: 700,
137
- whiteSpace: "nowrap"
138
- }
139
- }
140
- }
141
- };
142
-
143
- // src/OsTheme/Typography.tsx
144
- var typography2 = {
145
- body1: { lineHeight: 1.57 },
146
- body2: { lineHeight: 1.57 },
147
- button: {
148
- fontSize: "1rem",
149
- textTransform: "inherit"
150
- },
151
- fontFamily: fontFamilyOs,
152
- fontWeightBold: 700,
153
- fontWeightLight: 300,
154
- fontWeightMedium: 600,
155
- fontWeightRegular: 500,
156
- h1: { fontSize: "4rem" },
157
- h2: { fontSize: "2.4rem" },
158
- h3: { fontSize: "2.24rem" },
159
- h4: { fontSize: "2rem" },
160
- h5: { fontSize: "1.5rem" },
161
- h6: { fontSize: "1.1rem" },
162
- subtitle1: { opacity: "70%" },
163
- subtitle2: { opacity: "70%" }
164
- };
165
-
166
- // src/OsTheme/DarkMode.tsx
167
- var palette = {
168
- background: {
169
- default: "#141319",
170
- paper: "#1C1B20"
171
- },
172
- error: { main: "#ffb4ab" },
173
- mode: "dark",
174
- primary: { main: "#C9BFFA" },
175
- secondary: { main: "#C9C3DA" },
176
- text: {
177
- primary: "#100029",
178
- secondary: "#212023"
179
- }
180
- };
181
- var osThemeOptionsDarkMode = {
182
- components: components2,
183
- palette,
184
- shape: { borderRadius: 10 },
185
- spacing: 16,
186
- typography: typography2
187
- };
188
-
189
- // src/OsTheme/LightMode.tsx
190
- var palette2 = {
191
- background: {
192
- default: "#FFFFFF",
193
- paper: "#F6F4ED"
194
- },
195
- error: { main: "#BA1A1A" },
196
- mode: "light",
197
- primary: { main: "#100029" },
198
- secondary: { main: "#A060E0" },
199
- text: {
200
- primary: "#100029",
201
- secondary: "#212023"
202
- }
203
- };
204
- var osThemeOptionsLightMode = {
205
- components: components2,
206
- palette: palette2,
207
- shape: { borderRadius: 10 },
208
- spacing: 16,
209
- typography: typography2
210
- };
211
-
212
- // src/OsTheme/osThemeOptions.tsx
213
- var osThemeOptions = { ...osThemeOptionsDarkMode, ...osThemeOptionsLightMode };
214
-
215
- // src/partialDarkThemeOptions.tsx
216
- import { darken } from "@mui/material";
217
- var appComponents = { MuiPaper: { defaultProps: { variant: "elevation" } } };
218
- var partialDarkThemeOptions = {
219
- palette: {
220
- background: {
221
- default: darken("#171626", 0.1),
222
- paper: "#171626"
223
- },
224
- mode: "dark",
225
- primary: { main: "#9993F5" },
226
- secondary: { main: "#8EC8FF" }
227
- }
228
- };
229
- var partialAppDarkThemeOptions = { ...partialDarkThemeOptions, components: appComponents };
230
-
231
- // src/partialLightThemeOptions.tsx
232
- var partialLightThemeOptions = {
233
- palette: {
234
- primary: { main: "#1f1a66" },
235
- secondary: { main: "#0f68c9" }
236
- }
237
- };
238
- var partialAppLightThemeOptions = { ...partialLightThemeOptions };
239
-
240
- // src/webThemeOptions.tsx
241
- var webThemeOptions = { ...themeOptions };
242
- export {
243
- appThemeOptions,
244
- components,
245
- fontFamilyOs,
246
- fontFamilyPrimary,
247
- osThemeOptions,
248
- partialAppDarkThemeOptions,
249
- partialAppLightThemeOptions,
250
- partialDarkThemeOptions,
251
- partialLightThemeOptions,
252
- themeOptions,
253
- typography,
254
- webThemeOptions
255
- };
1
+ // src/index.ts
2
+ export * from "@xyo-network/react-sdk/theme";
256
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/fontFamily.ts", "../../src/themeOptions.ts", "../../src/appThemeOptions.tsx", "../../src/OsTheme/Components.tsx", "../../src/OsTheme/Typography.tsx", "../../src/OsTheme/DarkMode.tsx", "../../src/OsTheme/LightMode.tsx", "../../src/OsTheme/osThemeOptions.tsx", "../../src/partialDarkThemeOptions.tsx", "../../src/partialLightThemeOptions.tsx", "../../src/webThemeOptions.tsx"],
4
- "sourcesContent": ["export const fontFamilyPrimary = ['Lexend Deca', 'Helvetica', 'sans-serif'].join(',')\nexport const fontFamilyOs = ['Manrope', 'Roboto', 'sans-serif'].join(',')\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyPrimary } from './fontFamily.ts'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: { underline: 'none' },\n styleOverrides: { root: { '&:hover': { filter: 'brightness(75%)' } } },\n },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n\nexport const typography: ThemeOptions['typography'] = {\n body1: { lineHeight: 1.57 },\n body2: { lineHeight: 1.57 },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyPrimary,\n fontWeightBold: 700,\n fontWeightLight: 200,\n fontWeightMedium: 300,\n fontWeightRegular: 400,\n h1: {\n fontFamily: fontFamilyPrimary,\n fontSize: '4rem',\n },\n h2: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.4rem',\n },\n h3: {\n fontFamily: fontFamilyPrimary,\n fontSize: '2.24rem',\n },\n h4: { fontSize: '2rem' },\n h5: { fontSize: '1.5rem' },\n h6: { fontSize: '1.1rem' },\n subtitle1: { opacity: '70%' },\n subtitle2: { opacity: '70%' },\n}\n\nexport const themeOptions: ThemeOptions = {\n components,\n shape: { borderRadius: 8 },\n spacing: 16,\n typography,\n}\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { themeOptions } from './themeOptions.ts'\n\nconst partialAppThemeOptions: ThemeOptions = {\n components: {\n MuiTypography: {\n styleOverrides: {\n root: ({ ownerState }) => {\n const { clamped } = ownerState\n\n if (clamped) {\n const maxWidth = Number.parseInt(clamped as string, 10)\n\n return {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: `clamp(1%, 100%, ${maxWidth}px)`,\n }\n }\n },\n },\n },\n },\n spacing: 8,\n}\n\nexport const appThemeOptions: ThemeOptions = { ...themeOptions, ...partialAppThemeOptions }\n", "import type { ThemeOptions } from '@mui/material'\n\nexport const components: ThemeOptions['components'] = {\n MuiCard: {\n defaultProps: { elevation: 0 },\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n },\n },\n MuiCardHeader: {\n styleOverrides: {\n content: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n },\n },\n MuiLink: {\n defaultProps: { underline: 'none' },\n styleOverrides: { root: { '&:hover': { filter: 'brightness(75%)' } } },\n },\n MuiPaper: { defaultProps: { elevation: 0 } },\n MuiTableCell: {\n styleOverrides: {\n body: {\n fontFamily: 'monospace',\n whiteSpace: 'nowrap',\n },\n head: {\n fontWeight: 700,\n whiteSpace: 'nowrap',\n },\n },\n },\n}\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { fontFamilyOs } from '../fontFamily.ts'\n\nexport const typography: ThemeOptions['typography'] = {\n body1: { lineHeight: 1.57 },\n body2: { lineHeight: 1.57 },\n button: {\n fontSize: '1rem',\n textTransform: 'inherit',\n },\n fontFamily: fontFamilyOs,\n fontWeightBold: 700,\n fontWeightLight: 300,\n fontWeightMedium: 600,\n fontWeightRegular: 500,\n h1: { fontSize: '4rem' },\n h2: { fontSize: '2.4rem' },\n h3: { fontSize: '2.24rem' },\n h4: { fontSize: '2rem' },\n h5: { fontSize: '1.5rem' },\n h6: { fontSize: '1.1rem' },\n subtitle1: { opacity: '70%' },\n subtitle2: { opacity: '70%' },\n}\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { components } from './Components.tsx'\nimport { typography } from './Typography.tsx'\n\nconst palette: ThemeOptions['palette'] = {\n background: {\n default: '#141319',\n paper: '#1C1B20',\n },\n error: { main: '#ffb4ab' },\n mode: 'dark',\n primary: { main: '#C9BFFA' },\n secondary: { main: '#C9C3DA' },\n text: {\n primary: '#100029',\n secondary: '#212023',\n },\n}\n\nexport const osThemeOptionsDarkMode: ThemeOptions = {\n components,\n palette,\n shape: { borderRadius: 10 },\n spacing: 16,\n typography,\n}\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { components } from './Components.tsx'\nimport { typography } from './Typography.tsx'\n\nconst palette: ThemeOptions['palette'] = {\n background: {\n default: '#FFFFFF',\n paper: '#F6F4ED',\n },\n error: { main: '#BA1A1A' },\n mode: 'light',\n primary: { main: '#100029' },\n secondary: { main: '#A060E0' },\n text: {\n primary: '#100029',\n secondary: '#212023',\n },\n}\n\nexport const osThemeOptionsLightMode: ThemeOptions = {\n components,\n palette,\n shape: { borderRadius: 10 },\n spacing: 16,\n typography,\n}\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { osThemeOptionsDarkMode } from './DarkMode.tsx'\nimport { osThemeOptionsLightMode } from './LightMode.tsx'\n\nexport const osThemeOptions: ThemeOptions = { ...osThemeOptionsDarkMode, ...osThemeOptionsLightMode }\n", "import type { ThemeOptions } from '@mui/material'\nimport { darken } from '@mui/material'\n\nconst appComponents: ThemeOptions['components'] = { MuiPaper: { defaultProps: { variant: 'elevation' } } }\n\nexport const partialDarkThemeOptions: ThemeOptions = {\n palette: {\n background: {\n default: darken('#171626', 0.1),\n paper: '#171626',\n },\n mode: 'dark',\n primary: { main: '#9993F5' },\n secondary: { main: '#8EC8FF' },\n },\n}\n\nexport const partialAppDarkThemeOptions: ThemeOptions = { ...partialDarkThemeOptions, components: appComponents }\n", "import type { ThemeOptions } from '@mui/material'\n\nexport const partialLightThemeOptions: ThemeOptions = {\n palette: {\n primary: { main: '#1f1a66' },\n secondary: { main: '#0f68c9' },\n },\n}\n\nexport const partialAppLightThemeOptions: ThemeOptions = { ...partialLightThemeOptions }\n", "import type { ThemeOptions } from '@mui/material'\n\nimport { themeOptions } from './themeOptions.ts'\n\nexport const webThemeOptions: ThemeOptions = { ...themeOptions }\n"],
5
- "mappings": ";AAAO,IAAM,oBAAoB,CAAC,eAAe,aAAa,YAAY,EAAE,KAAK,GAAG;AAC7E,IAAM,eAAe,CAAC,WAAW,UAAU,YAAY,EAAE,KAAK,GAAG;;;ACGjE,IAAM,aAAyC;AAAA,EACpD,SAAS;AAAA,IACP,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,eAAe;AAAA,QACf,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,gBAAgB;AAAA,MACd,SAAS;AAAA,QACP,SAAS;AAAA,QACT,eAAe;AAAA,QACf,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP,cAAc,EAAE,WAAW,OAAO;AAAA,IAClC,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,kBAAkB,EAAE,EAAE;AAAA,EACvE;AAAA,EACA,cAAc;AAAA,IACZ,gBAAgB;AAAA,MACd,MAAM;AAAA,QACJ,YAAY;AAAA,QACZ,YAAY;AAAA,MACd;AAAA,MACA,MAAM;AAAA,QACJ,YAAY;AAAA,QACZ,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF;AAEO,IAAM,aAAyC;AAAA,EACpD,OAAO,EAAE,YAAY,KAAK;AAAA,EAC1B,OAAO,EAAE,YAAY,KAAK;AAAA,EAC1B,QAAQ;AAAA,IACN,UAAU;AAAA,IACV,eAAe;AAAA,EACjB;AAAA,EACA,YAAY;AAAA,EACZ,gBAAgB;AAAA,EACh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,GAAG,yBAAyB;;;ACLhF,IAAM,kBAAgC,EAAE,GAAG,aAAa;",
6
- "names": ["components", "typography", "components", "typography", "palette", "components", "typography"]
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["// Compatibility shim: this package re-exports from @xyo-network/react-sdk.\nexport * from '@xyo-network/react-sdk/theme'\n"],
5
+ "mappings": ";AACA,cAAc;",
6
+ "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-theme",
3
- "version": "10.0.4",
3
+ "version": "10.0.6",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -40,24 +40,132 @@
40
40
  "dist",
41
41
  "README.md"
42
42
  ],
43
+ "dependencies": {
44
+ "@xyo-network/react-sdk": "~10.0.6"
45
+ },
43
46
  "devDependencies": {
47
+ "@ariestools/eth-address": "~8.0.2",
48
+ "@ariestools/pixel": "~8.0.2",
49
+ "@ariestools/sdk": "~8.0.2",
50
+ "@ariestools/sdk-react": "~11.0.0",
51
+ "@ariestools/threads": "~8.0.2",
52
+ "@bitauth/libauth": "~3.0.0",
53
+ "@metamask/providers": "~22.1.1",
54
+ "@mui/icons-material": "~9.2.0",
55
+ "@mui/material": "~9.2.0",
56
+ "@mui/system": "~9.2.0",
57
+ "@mui/x-tree-view": "~9.8.0",
58
+ "@noble/post-quantum": "~0.6.1",
59
+ "@opentelemetry/api": "~1.9.1",
60
+ "@opentelemetry/sdk-trace-base": "~2.9.0",
61
+ "@react-spring/web": "~10.1.2",
62
+ "@scure/base": "~2.2.0",
63
+ "@scure/bip39": "~2.2.0",
64
+ "@types/react": "~19.2.17",
65
+ "@xylabs/toolchain": "~8.6.8",
66
+ "@xylabs/tsconfig": "~8.6.8",
67
+ "@xylabs/tsconfig-dom": "~8.6.8",
68
+ "@xylabs/tsconfig-react": "~8.6.8",
69
+ "@xyo-network/advertising-payload-plugins": "~7.0.2",
70
+ "@xyo-network/archivist-storage": "~7.0.9",
71
+ "@xyo-network/diviner-address-history-model": "~7.0.9",
72
+ "@xyo-network/diviner-hash-lease": "~7.0.9",
73
+ "@xyo-network/diviner-huri": "~7.0.9",
74
+ "@xyo-network/diviner-schema-list": "~7.0.9",
75
+ "@xyo-network/diviner-schema-stats": "~7.0.9",
76
+ "@xyo-network/node-core-types": "~4.2.2",
77
+ "@xyo-network/sdk": "~7.0.9",
78
+ "@xyo-network/sdk-geo": "~3.0.3",
79
+ "@xyo-network/sdk-protocol": "~7.0.14",
80
+ "@xyo-network/typeof": "~5.3.30",
81
+ "@xyo-network/xns-record-payloadset-plugins": "~7.0.2",
82
+ "ajv": "~8.20.0",
83
+ "async-mutex": "~0.5.0",
84
+ "card-validator": "~10.0.4",
85
+ "clsx": "~2.1.1",
86
+ "debug": "~4.4.3",
87
+ "eslint": "~10.6.0",
88
+ "ethers": "~6.17.0",
89
+ "hash-wasm": "~4.12.0",
90
+ "idb": "~8.0.3",
91
+ "lru-cache": "~11.5.1",
92
+ "mapbox-gl": "~3.25.0",
93
+ "md5": "~2.3.0",
94
+ "numeral": "~2.0.6",
95
+ "observable-fns": "~0.6.1",
96
+ "query-string": "~9.4.1",
97
+ "react": "~19.2.7",
98
+ "react-dom": "~19.2.7",
99
+ "react-icons": "~5.7.0",
100
+ "react-router-dom": "~7.18.1",
101
+ "rollbar": "~3.1.0",
102
+ "store2": "~2.14.4",
103
+ "typescript": "~6.0.3",
104
+ "viem": "~2.54.3",
105
+ "webextension-polyfill": "~0.12.0",
106
+ "zod": "~4.4.3",
107
+ "zustand": "~5.0.14"
108
+ },
109
+ "peerDependencies": {
110
+ "@ariestools/eth-address": "^8.0.2",
111
+ "@ariestools/pixel": "^8.0.2",
112
+ "@ariestools/sdk": "^8.0.2",
113
+ "@ariestools/sdk-react": "^11.0.0",
114
+ "@ariestools/threads": "^8.0.2",
115
+ "@bitauth/libauth": "^3.0.0",
116
+ "@metamask/providers": "^22.1.1",
117
+ "@mui/icons-material": "^9.2.0",
44
118
  "@mui/material": "^9.2.0",
45
- "@xylabs/toolchain": "~8.5.15",
46
- "@xylabs/tsconfig": "^8.5.15",
47
- "@xylabs/tsconfig-dom": "^8.5.15",
48
- "@xylabs/tsconfig-react": "~8.5.15",
49
- "eslint": "^10.6.0",
119
+ "@mui/system": "^9.2.0",
120
+ "@mui/x-tree-view": "^9.8.0",
121
+ "@noble/post-quantum": "^0.6.1",
122
+ "@opentelemetry/api": "^1.9.1",
123
+ "@opentelemetry/sdk-trace-base": "^2.9.0",
124
+ "@react-spring/web": "^10.1.2",
125
+ "@scure/base": "^2.2.0",
126
+ "@scure/bip39": "^2.2.0",
127
+ "@types/react": "^19.2.17",
128
+ "@xyo-network/advertising-payload-plugins": "^7.0.2",
129
+ "@xyo-network/archivist-storage": "^7.0.9",
130
+ "@xyo-network/diviner-address-history-model": "^7.0.9",
131
+ "@xyo-network/diviner-hash-lease": "^7.0.9",
132
+ "@xyo-network/diviner-huri": "^7.0.9",
133
+ "@xyo-network/diviner-schema-list": "^7.0.9",
134
+ "@xyo-network/diviner-schema-stats": "^7.0.9",
135
+ "@xyo-network/node-core-types": "^4.2.2",
136
+ "@xyo-network/sdk": "^7.0.9",
137
+ "@xyo-network/sdk-geo": "^3.0.3",
138
+ "@xyo-network/sdk-protocol": "^7.0.14",
139
+ "@xyo-network/typeof": "^5.3.30",
140
+ "@xyo-network/xns-record-payloadset-plugins": "^7.0.2",
141
+ "ajv": "^8.20.0",
142
+ "async-mutex": "^0.5.0",
143
+ "card-validator": "^10.0.4",
144
+ "clsx": "^2.1.1",
145
+ "debug": "^4.4.3",
146
+ "ethers": "^6.17.0",
147
+ "hash-wasm": "^4.12.0",
148
+ "idb": "^8.0.3",
149
+ "lru-cache": "^11.5.1",
150
+ "mapbox-gl": "^3.25.0",
151
+ "md5": "^2.3.0",
152
+ "numeral": "^2.0.6",
153
+ "observable-fns": "^0.6.1",
154
+ "query-string": "^9.4.1",
50
155
  "react": "^19.2.7",
51
156
  "react-dom": "^19.2.7",
52
- "typescript": "^6.0.3"
53
- },
54
- "peerDependencies": {
55
- "@mui/material": "^9.0",
56
- "react": "^19.2",
57
- "react-dom": "^19.2"
157
+ "react-icons": "^5.7.0",
158
+ "react-router-dom": "^7.18.1",
159
+ "rollbar": "^3.1.0",
160
+ "store2": "^2.14.4",
161
+ "viem": "^2.54.3",
162
+ "webextension-polyfill": "^0.12.0",
163
+ "zod": "^4.4.3",
164
+ "zustand": "^5.0.14"
58
165
  },
59
166
  "publishConfig": {
60
167
  "access": "public"
61
168
  },
169
+ "deprecated": "Use @xyo-network/react-sdk/theme instead. Replace @xyo-network/react-theme with @xyo-network/react-sdk/theme. This package is a compatibility shim only and will not receive further updates.",
62
170
  "docs": "dist/docs.json"
63
171
  }
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const components: ThemeOptions['components'];
3
- //# sourceMappingURL=Components.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Components.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/Components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAqCjD,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const osThemeOptionsDarkMode: ThemeOptions;
3
- //# sourceMappingURL=DarkMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DarkMode.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/DarkMode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAoBjD,eAAO,MAAM,sBAAsB,EAAE,YAMpC,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const osThemeOptionsLightMode: ThemeOptions;
3
- //# sourceMappingURL=LightMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LightMode.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/LightMode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAoBjD,eAAO,MAAM,uBAAuB,EAAE,YAMrC,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const typography: ThemeOptions['typography'];
3
- //# sourceMappingURL=Typography.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAIjD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAoBjD,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './osThemeOptions.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const osThemeOptions: ThemeOptions;
3
- //# sourceMappingURL=osThemeOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"osThemeOptions.d.ts","sourceRoot":"","sources":["../../../src/OsTheme/osThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAKjD,eAAO,MAAM,cAAc,EAAE,YAAwE,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const appThemeOptions: ThemeOptions;
3
- //# sourceMappingURL=appThemeOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appThemeOptions.d.ts","sourceRoot":"","sources":["../../src/appThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AA4BjD,eAAO,MAAM,eAAe,EAAE,YAA6D,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare const fontFamilyPrimary: string;
2
- export declare const fontFamilyOs: string;
3
- //# sourceMappingURL=fontFamily.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fontFamily.d.ts","sourceRoot":"","sources":["../../src/fontFamily.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,QAAuD,CAAA;AACrF,eAAO,MAAM,YAAY,QAAgD,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const partialDarkThemeOptions: ThemeOptions;
3
- export declare const partialAppDarkThemeOptions: ThemeOptions;
4
- //# sourceMappingURL=partialDarkThemeOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"partialDarkThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialDarkThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAKjD,eAAO,MAAM,uBAAuB,EAAE,YAUrC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAwE,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const partialLightThemeOptions: ThemeOptions;
3
- export declare const partialAppLightThemeOptions: ThemeOptions;
4
- //# sourceMappingURL=partialLightThemeOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"partialLightThemeOptions.d.ts","sourceRoot":"","sources":["../../src/partialLightThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,eAAO,MAAM,wBAAwB,EAAE,YAKtC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,YAA8C,CAAA"}
@@ -1,5 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const components: ThemeOptions['components'];
3
- export declare const typography: ThemeOptions['typography'];
4
- export declare const themeOptions: ThemeOptions;
5
- //# sourceMappingURL=themeOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"themeOptions.d.ts","sourceRoot":"","sources":["../../src/themeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAIjD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAmCjD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA6BjD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,YAK1B,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ThemeOptions } from '@mui/material';
2
- export declare const webThemeOptions: ThemeOptions;
3
- //# sourceMappingURL=webThemeOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webThemeOptions.d.ts","sourceRoot":"","sources":["../../src/webThemeOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAIjD,eAAO,MAAM,eAAe,EAAE,YAAkC,CAAA"}