@goldlabelapps/theme 3.0.8 → 3.2.8

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 (75) hide show
  1. package/README.md +1 -1
  2. package/dist/components/RenderMarkdown.d.ts +7 -0
  3. package/dist/components/RenderMarkdown.js +118 -0
  4. package/dist/components/download/DownloadBanner.js +1 -1
  5. package/dist/components/footer/Footer.js +1 -1
  6. package/dist/components/guide/MarkdownContent.js +1 -1
  7. package/dist/components/hero/VideoModal.js +0 -1
  8. package/dist/components/navigation/LogoContextMenu.d.ts +0 -1
  9. package/dist/components/navigation/LogoContextMenu.js +0 -1
  10. package/dist/components/navigation/MobileMenu.js +15 -6
  11. package/dist/components/navigation/ShareMenu.d.ts +1 -1
  12. package/dist/components/navigation/ShareMenu.js +1 -2
  13. package/dist/components/showcase/FeatureExplorer.js +1 -1
  14. package/dist/components/ui/Card.d.ts +2 -1
  15. package/dist/components/ui/Card.js +29 -7
  16. package/dist/context/ConfigContext.js +1 -1
  17. package/dist/context/ThemeContext.js +2 -2
  18. package/dist/data/og-images.json +476 -0
  19. package/dist/design-system/components/DesignSystemProvider/DesignSystemProvider.js +1 -1
  20. package/dist/design-system/components/feedback/Alert/Alert.js +42 -5
  21. package/dist/design-system/components/feedback/Card/Card.d.ts +1 -1
  22. package/dist/design-system/components/feedback/Card/Card.js +10 -6
  23. package/dist/design-system/components/feedback/Field/Field.d.ts +1 -1
  24. package/dist/design-system/components/feedback/Field/Field.js +2 -2
  25. package/dist/design-system/components/icons/SVGIcons/BlokeyIcon.d.ts +2 -1
  26. package/dist/design-system/components/icons/SVGIcons/BlokeyIcon.js +1 -1
  27. package/dist/design-system/components/icons/SVGIcons/ChromeIcon.d.ts +2 -1
  28. package/dist/design-system/components/icons/SVGIcons/ChromeIcon.js +1 -1
  29. package/dist/design-system/components/icons/SVGIcons/DesktopIcon.d.ts +2 -1
  30. package/dist/design-system/components/icons/SVGIcons/DesktopIcon.js +1 -1
  31. package/dist/design-system/components/icons/SVGIcons/EdgeIcon.d.ts +2 -1
  32. package/dist/design-system/components/icons/SVGIcons/EdgeIcon.js +1 -1
  33. package/dist/design-system/components/icons/SVGIcons/FallmanagerIcon.d.ts +2 -1
  34. package/dist/design-system/components/icons/SVGIcons/FirefoxIcon.d.ts +2 -1
  35. package/dist/design-system/components/icons/SVGIcons/FirefoxIcon.js +1 -1
  36. package/dist/design-system/components/icons/SVGIcons/FlickrIcon.d.ts +2 -1
  37. package/dist/design-system/components/icons/SVGIcons/FlickrIcon.js +1 -1
  38. package/dist/design-system/components/icons/SVGIcons/GatsbyIcon.d.ts +2 -1
  39. package/dist/design-system/components/icons/SVGIcons/GoldenticketIcon.d.ts +2 -1
  40. package/dist/design-system/components/icons/SVGIcons/GoldenticketIcon.js +1 -1
  41. package/dist/design-system/components/icons/SVGIcons/GoldlabelOutlined.d.ts +2 -1
  42. package/dist/design-system/components/icons/SVGIcons/GraphqlIcon.d.ts +2 -1
  43. package/dist/design-system/components/icons/SVGIcons/GraphqlIcon.js +1 -1
  44. package/dist/design-system/components/icons/SVGIcons/IphoneIcon.d.ts +2 -1
  45. package/dist/design-system/components/icons/SVGIcons/IphoneIcon.js +1 -1
  46. package/dist/design-system/components/icons/SVGIcons/LinuxIcon.d.ts +2 -1
  47. package/dist/design-system/components/icons/SVGIcons/LinuxIcon.js +1 -1
  48. package/dist/design-system/components/icons/SVGIcons/MacIcon.d.ts +2 -1
  49. package/dist/design-system/components/icons/SVGIcons/MacIcon.js +1 -1
  50. package/dist/design-system/components/icons/SVGIcons/MacromediaIcon.d.ts +2 -1
  51. package/dist/design-system/components/icons/SVGIcons/MacromediaIcon.js +1 -1
  52. package/dist/design-system/components/icons/SVGIcons/OliverIcon.d.ts +2 -1
  53. package/dist/design-system/components/icons/SVGIcons/OpenAIIcon.d.ts +2 -1
  54. package/dist/design-system/components/icons/SVGIcons/PingpongballIcon.d.ts +2 -1
  55. package/dist/design-system/components/icons/SVGIcons/SafariIcon.d.ts +2 -1
  56. package/dist/design-system/components/icons/SVGIcons/SafariIcon.js +1 -1
  57. package/dist/design-system/components/icons/SVGIcons/WindowsIcon.d.ts +2 -1
  58. package/dist/design-system/components/icons/SVGIcons/WindowsIcon.js +1 -1
  59. package/dist/design-system/components/icons/SVGIcons/WordpressIcon.d.ts +2 -1
  60. package/dist/design-system/components/icons/SVGIcons/WordpressIcon.js +1 -1
  61. package/dist/design-system/components/icons/SVGIcons/XboxIcon.d.ts +2 -1
  62. package/dist/design-system/components/icons/SVGIcons/XboxIcon.js +1 -1
  63. package/dist/design-system/components/images/FeaturedImage/FeaturedImage.d.ts +1 -1
  64. package/dist/design-system/components/images/FeaturedImage/FeaturedImage.js +71 -23
  65. package/dist/design-system/components/images/FeaturedImage/types.d.ts +1 -1
  66. package/dist/design-system/components/layout/Footer/Footer.js +1 -1
  67. package/dist/design-system/components/nxStyle.d.ts +60 -0
  68. package/dist/design-system/components/nxStyle.js +54 -14
  69. package/dist/index.d.ts +1 -0
  70. package/dist/index.js +1 -0
  71. package/dist/styles/globals.css +150 -1
  72. package/dist/styles/site-layout.css +1 -1
  73. package/dist/styles/theme.js +76 -4
  74. package/dist/styles/tokens.css +65 -0
  75. package/package.json +5 -3
@@ -0,0 +1,476 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Open Graph Images Manifest",
4
+ "updatedAt": "2026-09-08T14:05:22.394Z",
5
+ "totalCount": 12,
6
+ "items": [
7
+ {
8
+ "id": "ai",
9
+ "name": "Ai",
10
+ "category": "ai",
11
+ "versions": {
12
+ "dark": {
13
+ "filename": "ai-og-dark.jpg",
14
+ "path": "/jpg/ai/ai-og-dark.jpg",
15
+ "relativePath": "ai/ai-og-dark.jpg",
16
+ "mimeType": "image/jpeg",
17
+ "dimensions": {
18
+ "width": 1376,
19
+ "height": 768,
20
+ "aspectRatio": "16:9"
21
+ },
22
+ "fileSize": {
23
+ "bytes": 89226,
24
+ "formatted": "87.1 KB"
25
+ },
26
+ "updatedAt": "2026-09-08T08:53:03.294Z"
27
+ },
28
+ "light": {
29
+ "filename": "ai-og-light.jpg",
30
+ "path": "/jpg/ai/ai-og-light.jpg",
31
+ "relativePath": "ai/ai-og-light.jpg",
32
+ "mimeType": "image/jpeg",
33
+ "dimensions": {
34
+ "width": 1376,
35
+ "height": 768,
36
+ "aspectRatio": "16:9"
37
+ },
38
+ "fileSize": {
39
+ "bytes": 85096,
40
+ "formatted": "83.1 KB"
41
+ },
42
+ "updatedAt": "2026-09-08T13:28:19.523Z"
43
+ }
44
+ }
45
+ },
46
+ {
47
+ "id": "developer",
48
+ "name": "Developer",
49
+ "category": "developer",
50
+ "versions": {
51
+ "dark": {
52
+ "filename": "developer-og-dark.jpg",
53
+ "path": "/jpg/developer/developer-og-dark.jpg",
54
+ "relativePath": "developer/developer-og-dark.jpg",
55
+ "mimeType": "image/jpeg",
56
+ "dimensions": {
57
+ "width": 1376,
58
+ "height": 768,
59
+ "aspectRatio": "16:9"
60
+ },
61
+ "fileSize": {
62
+ "bytes": 360694,
63
+ "formatted": "352.2 KB"
64
+ },
65
+ "updatedAt": "2026-09-08T08:41:34.284Z"
66
+ },
67
+ "light": {
68
+ "filename": "developer-og-light.jpg",
69
+ "path": "/jpg/developer/developer-og-light.jpg",
70
+ "relativePath": "developer/developer-og-light.jpg",
71
+ "mimeType": "image/jpeg",
72
+ "dimensions": {
73
+ "width": 1376,
74
+ "height": 768,
75
+ "aspectRatio": "16:9"
76
+ },
77
+ "fileSize": {
78
+ "bytes": 265168,
79
+ "formatted": "259.0 KB"
80
+ },
81
+ "updatedAt": "2026-09-08T13:28:19.525Z"
82
+ }
83
+ }
84
+ },
85
+ {
86
+ "id": "flash",
87
+ "name": "Flash",
88
+ "category": "flash",
89
+ "versions": {
90
+ "dark": {
91
+ "filename": "flash-og-dark.jpg",
92
+ "path": "/jpg/flash/flash-og-dark.jpg",
93
+ "relativePath": "flash/flash-og-dark.jpg",
94
+ "mimeType": "image/jpeg",
95
+ "dimensions": {
96
+ "width": 1376,
97
+ "height": 768,
98
+ "aspectRatio": "16:9"
99
+ },
100
+ "fileSize": {
101
+ "bytes": 361347,
102
+ "formatted": "352.9 KB"
103
+ },
104
+ "updatedAt": "2026-09-07T12:41:20.648Z"
105
+ },
106
+ "light": {
107
+ "filename": "flash-og-light.jpg",
108
+ "path": "/jpg/flash/flash-og-light.jpg",
109
+ "relativePath": "flash/flash-og-light.jpg",
110
+ "mimeType": "image/jpeg",
111
+ "dimensions": {
112
+ "width": 1376,
113
+ "height": 768,
114
+ "aspectRatio": "16:9"
115
+ },
116
+ "fileSize": {
117
+ "bytes": 397044,
118
+ "formatted": "387.7 KB"
119
+ },
120
+ "updatedAt": "2026-09-08T13:28:19.526Z"
121
+ }
122
+ }
123
+ },
124
+ {
125
+ "id": "goldlabel",
126
+ "name": "Goldlabel",
127
+ "category": "goldlabel",
128
+ "versions": {
129
+ "dark": {
130
+ "filename": "goldlabel-og-dark.jpg",
131
+ "path": "/jpg/goldlabel/goldlabel-og-dark.jpg",
132
+ "relativePath": "goldlabel/goldlabel-og-dark.jpg",
133
+ "mimeType": "image/jpeg",
134
+ "dimensions": {
135
+ "width": 1376,
136
+ "height": 768,
137
+ "aspectRatio": "16:9"
138
+ },
139
+ "fileSize": {
140
+ "bytes": 108694,
141
+ "formatted": "106.1 KB"
142
+ },
143
+ "updatedAt": "2026-09-08T10:32:36.816Z"
144
+ },
145
+ "light": {
146
+ "filename": "goldlabel-og-light.jpg",
147
+ "path": "/jpg/goldlabel/goldlabel-og-light.jpg",
148
+ "relativePath": "goldlabel/goldlabel-og-light.jpg",
149
+ "mimeType": "image/jpeg",
150
+ "dimensions": {
151
+ "width": 1376,
152
+ "height": 768,
153
+ "aspectRatio": "16:9"
154
+ },
155
+ "fileSize": {
156
+ "bytes": 107237,
157
+ "formatted": "104.7 KB"
158
+ },
159
+ "updatedAt": "2026-09-08T13:28:19.528Z"
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "id": "nextjs",
165
+ "name": "Nextjs",
166
+ "category": "nextjs",
167
+ "versions": {
168
+ "dark": {
169
+ "filename": "nextjs-og-dark.jpg",
170
+ "path": "/jpg/nextjs/nextjs-og-dark.jpg",
171
+ "relativePath": "nextjs/nextjs-og-dark.jpg",
172
+ "mimeType": "image/jpeg",
173
+ "dimensions": {
174
+ "width": 1376,
175
+ "height": 768,
176
+ "aspectRatio": "16:9"
177
+ },
178
+ "fileSize": {
179
+ "bytes": 437861,
180
+ "formatted": "427.6 KB"
181
+ },
182
+ "updatedAt": "2026-09-07T12:39:44.942Z"
183
+ },
184
+ "light": {
185
+ "filename": "nextjs-og-light.jpg",
186
+ "path": "/jpg/nextjs/nextjs-og-light.jpg",
187
+ "relativePath": "nextjs/nextjs-og-light.jpg",
188
+ "mimeType": "image/jpeg",
189
+ "dimensions": {
190
+ "width": 1376,
191
+ "height": 768,
192
+ "aspectRatio": "16:9"
193
+ },
194
+ "fileSize": {
195
+ "bytes": 338568,
196
+ "formatted": "330.6 KB"
197
+ },
198
+ "updatedAt": "2026-09-08T13:28:19.530Z"
199
+ }
200
+ }
201
+ },
202
+ {
203
+ "id": "nx",
204
+ "name": "Nx",
205
+ "category": "nx",
206
+ "versions": {
207
+ "dark": {
208
+ "filename": "nx-og-dark.jpg",
209
+ "path": "/jpg/nx/nx-og-dark.jpg",
210
+ "relativePath": "nx/nx-og-dark.jpg",
211
+ "mimeType": "image/jpeg",
212
+ "dimensions": {
213
+ "width": 1376,
214
+ "height": 768,
215
+ "aspectRatio": "16:9"
216
+ },
217
+ "fileSize": {
218
+ "bytes": 310972,
219
+ "formatted": "303.7 KB"
220
+ },
221
+ "updatedAt": "2026-09-08T08:23:16.597Z"
222
+ },
223
+ "light": {
224
+ "filename": "nx-og-light.jpg",
225
+ "path": "/jpg/nx/nx-og-light.jpg",
226
+ "relativePath": "nx/nx-og-light.jpg",
227
+ "mimeType": "image/jpeg",
228
+ "dimensions": {
229
+ "width": 1376,
230
+ "height": 768,
231
+ "aspectRatio": "16:9"
232
+ },
233
+ "fileSize": {
234
+ "bytes": 305630,
235
+ "formatted": "298.5 KB"
236
+ },
237
+ "updatedAt": "2026-09-08T13:28:19.532Z"
238
+ }
239
+ }
240
+ },
241
+ {
242
+ "id": "python",
243
+ "name": "Python",
244
+ "category": "python",
245
+ "versions": {
246
+ "dark": {
247
+ "filename": "python-og-dark.jpg",
248
+ "path": "/jpg/python/python-og-dark.jpg",
249
+ "relativePath": "python/python-og-dark.jpg",
250
+ "mimeType": "image/jpeg",
251
+ "dimensions": {
252
+ "width": 1376,
253
+ "height": 768,
254
+ "aspectRatio": "16:9"
255
+ },
256
+ "fileSize": {
257
+ "bytes": 368770,
258
+ "formatted": "360.1 KB"
259
+ },
260
+ "updatedAt": "2026-09-06T07:15:15.674Z"
261
+ },
262
+ "light": {
263
+ "filename": "python-og-light.jpg",
264
+ "path": "/jpg/python/python-og-light.jpg",
265
+ "relativePath": "python/python-og-light.jpg",
266
+ "mimeType": "image/jpeg",
267
+ "dimensions": {
268
+ "width": 1376,
269
+ "height": 768,
270
+ "aspectRatio": "16:9"
271
+ },
272
+ "fileSize": {
273
+ "bytes": 281140,
274
+ "formatted": "274.6 KB"
275
+ },
276
+ "updatedAt": "2026-09-08T13:28:19.534Z"
277
+ }
278
+ }
279
+ },
280
+ {
281
+ "id": "react",
282
+ "name": "React",
283
+ "category": "react",
284
+ "versions": {
285
+ "dark": {
286
+ "filename": "react-og-dark.jpg",
287
+ "path": "/jpg/react/react-og-dark.jpg",
288
+ "relativePath": "react/react-og-dark.jpg",
289
+ "mimeType": "image/jpeg",
290
+ "dimensions": {
291
+ "width": 1376,
292
+ "height": 768,
293
+ "aspectRatio": "16:9"
294
+ },
295
+ "fileSize": {
296
+ "bytes": 456879,
297
+ "formatted": "446.2 KB"
298
+ },
299
+ "updatedAt": "2026-09-06T07:02:33.640Z"
300
+ },
301
+ "light": {
302
+ "filename": "react-og-light.jpg",
303
+ "path": "/jpg/react/react-og-light.jpg",
304
+ "relativePath": "react/react-og-light.jpg",
305
+ "mimeType": "image/jpeg",
306
+ "dimensions": {
307
+ "width": 1376,
308
+ "height": 768,
309
+ "aspectRatio": "16:9"
310
+ },
311
+ "fileSize": {
312
+ "bytes": 441400,
313
+ "formatted": "431.1 KB"
314
+ },
315
+ "updatedAt": "2026-09-08T13:28:19.537Z"
316
+ }
317
+ }
318
+ },
319
+ {
320
+ "id": "terminal",
321
+ "name": "Terminal",
322
+ "category": "terminal",
323
+ "versions": {
324
+ "dark": {
325
+ "filename": "terminal-og-dark.jpg",
326
+ "path": "/jpg/terminal/terminal-og-dark.jpg",
327
+ "relativePath": "terminal/terminal-og-dark.jpg",
328
+ "mimeType": "image/jpeg",
329
+ "dimensions": {
330
+ "width": 1376,
331
+ "height": 768,
332
+ "aspectRatio": "16:9"
333
+ },
334
+ "fileSize": {
335
+ "bytes": 390939,
336
+ "formatted": "381.8 KB"
337
+ },
338
+ "updatedAt": "2026-09-07T12:34:33.046Z"
339
+ },
340
+ "light": {
341
+ "filename": "terminal-og-light.jpg",
342
+ "path": "/jpg/terminal/terminal-og-light.jpg",
343
+ "relativePath": "terminal/terminal-og-light.jpg",
344
+ "mimeType": "image/jpeg",
345
+ "dimensions": {
346
+ "width": 1376,
347
+ "height": 768,
348
+ "aspectRatio": "16:9"
349
+ },
350
+ "fileSize": {
351
+ "bytes": 414622,
352
+ "formatted": "404.9 KB"
353
+ },
354
+ "updatedAt": "2026-09-08T13:28:19.539Z"
355
+ }
356
+ }
357
+ },
358
+ {
359
+ "id": "theme",
360
+ "name": "Theme",
361
+ "category": "theme",
362
+ "versions": {
363
+ "dark": {
364
+ "filename": "theme-og-dark.jpg",
365
+ "path": "/jpg/theme/theme-og-dark.jpg",
366
+ "relativePath": "theme/theme-og-dark.jpg",
367
+ "mimeType": "image/jpeg",
368
+ "dimensions": {
369
+ "width": 1376,
370
+ "height": 768,
371
+ "aspectRatio": "16:9"
372
+ },
373
+ "fileSize": {
374
+ "bytes": 369621,
375
+ "formatted": "361.0 KB"
376
+ },
377
+ "updatedAt": "2026-09-08T14:05:21.897Z"
378
+ },
379
+ "light": {
380
+ "filename": "theme-og-light.jpg",
381
+ "path": "/jpg/theme/theme-og-light.jpg",
382
+ "relativePath": "theme/theme-og-light.jpg",
383
+ "mimeType": "image/jpeg",
384
+ "dimensions": {
385
+ "width": 1376,
386
+ "height": 768,
387
+ "aspectRatio": "16:9"
388
+ },
389
+ "fileSize": {
390
+ "bytes": 319575,
391
+ "formatted": "312.1 KB"
392
+ },
393
+ "updatedAt": "2026-09-08T14:05:21.928Z"
394
+ }
395
+ }
396
+ },
397
+ {
398
+ "id": "typescript",
399
+ "name": "Typescript",
400
+ "category": "typescript",
401
+ "versions": {
402
+ "dark": {
403
+ "filename": "ts-og-dark.jpg",
404
+ "path": "/jpg/typescript/ts-og-dark.jpg",
405
+ "relativePath": "typescript/ts-og-dark.jpg",
406
+ "mimeType": "image/jpeg",
407
+ "dimensions": {
408
+ "width": 1376,
409
+ "height": 768,
410
+ "aspectRatio": "16:9"
411
+ },
412
+ "fileSize": {
413
+ "bytes": 434717,
414
+ "formatted": "424.5 KB"
415
+ },
416
+ "updatedAt": "2026-09-06T07:05:31.060Z"
417
+ },
418
+ "light": {
419
+ "filename": "ts-og-light.jpg",
420
+ "path": "/jpg/typescript/ts-og-light.jpg",
421
+ "relativePath": "typescript/ts-og-light.jpg",
422
+ "mimeType": "image/jpeg",
423
+ "dimensions": {
424
+ "width": 1376,
425
+ "height": 768,
426
+ "aspectRatio": "16:9"
427
+ },
428
+ "fileSize": {
429
+ "bytes": 410776,
430
+ "formatted": "401.1 KB"
431
+ },
432
+ "updatedAt": "2026-09-08T13:28:19.543Z"
433
+ }
434
+ }
435
+ },
436
+ {
437
+ "id": "uberedux",
438
+ "name": "Uberedux",
439
+ "category": "uberedux",
440
+ "versions": {
441
+ "dark": {
442
+ "filename": "uberedux-og-dark.jpg",
443
+ "path": "/jpg/uberedux/uberedux-og-dark.jpg",
444
+ "relativePath": "uberedux/uberedux-og-dark.jpg",
445
+ "mimeType": "image/jpeg",
446
+ "dimensions": {
447
+ "width": 1376,
448
+ "height": 768,
449
+ "aspectRatio": "16:9"
450
+ },
451
+ "fileSize": {
452
+ "bytes": 94582,
453
+ "formatted": "92.4 KB"
454
+ },
455
+ "updatedAt": "2026-09-08T09:25:13.111Z"
456
+ },
457
+ "light": {
458
+ "filename": "uberedux-og-light.jpg",
459
+ "path": "/jpg/uberedux/uberedux-og-light.jpg",
460
+ "relativePath": "uberedux/uberedux-og-light.jpg",
461
+ "mimeType": "image/jpeg",
462
+ "dimensions": {
463
+ "width": 1376,
464
+ "height": 768,
465
+ "aspectRatio": "16:9"
466
+ },
467
+ "fileSize": {
468
+ "bytes": 91830,
469
+ "formatted": "89.7 KB"
470
+ },
471
+ "updatedAt": "2026-09-08T13:28:19.545Z"
472
+ }
473
+ }
474
+ }
475
+ ]
476
+ }
@@ -21,7 +21,7 @@ export default function DesignSystemProvider({ children, mode, themeConfig }) {
21
21
  ...style,
22
22
  body: {
23
23
  ...style.body,
24
- backgroundColor: 'transparent',
24
+ backgroundColor: theme.palette.background.default,
25
25
  color: theme.palette.text.primary,
26
26
  transition: 'background-color 0.2s ease',
27
27
  },
@@ -1,12 +1,49 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Box, Button as MuiButton, Typography } from '@mui/material';
4
+ import { useTheme } from '@mui/material/styles';
4
5
  export default function Alert({ children, title, severity = 'info', dismissible = false }) {
6
+ const theme = useTheme();
7
+ const isDark = theme.palette.mode === 'dark';
5
8
  const tone = {
6
- info: { border: 'rgba(168, 146, 122, 0.3)', bg: 'rgba(168, 146, 122, 0.14)' },
7
- success: { border: 'rgba(47, 143, 70, 0.32)', bg: 'rgba(47, 143, 70, 0.12)' },
8
- warning: { border: 'rgba(160, 98, 17, 0.28)', bg: 'rgba(160, 98, 17, 0.1)' },
9
- error: { border: 'rgba(192, 59, 43, 0.32)', bg: 'rgba(192, 59, 43, 0.1)' }
9
+ info: {
10
+ border: isDark ? 'rgba(96, 165, 250, 0.4)' : 'rgba(37, 99, 235, 0.3)',
11
+ bg: isDark ? 'rgba(96, 165, 250, 0.12)' : 'rgba(37, 99, 235, 0.08)',
12
+ accent: isDark ? '#60A5FA' : '#2563EB',
13
+ title: isDark ? '#93C5FD' : '#1E40AF',
14
+ text: isDark ? '#F8FAFC' : '#1E293B',
15
+ },
16
+ success: {
17
+ border: isDark ? 'rgba(74, 222, 128, 0.4)' : 'rgba(22, 163, 74, 0.3)',
18
+ bg: isDark ? 'rgba(74, 222, 128, 0.12)' : 'rgba(22, 163, 74, 0.08)',
19
+ accent: isDark ? '#4ADE80' : '#16A34A',
20
+ title: isDark ? '#86EFAC' : '#166534',
21
+ text: isDark ? '#F8FAFC' : '#1E293B',
22
+ },
23
+ warning: {
24
+ border: isDark ? 'rgba(251, 191, 36, 0.4)' : 'rgba(217, 119, 6, 0.3)',
25
+ bg: isDark ? 'rgba(251, 191, 36, 0.12)' : 'rgba(217, 119, 6, 0.08)',
26
+ accent: isDark ? '#FBBF24' : '#D97706',
27
+ title: isDark ? '#FDE047' : '#92400E',
28
+ text: isDark ? '#F8FAFC' : '#1E293B',
29
+ },
30
+ error: {
31
+ border: isDark ? 'rgba(248, 113, 113, 0.4)' : 'rgba(220, 38, 38, 0.3)',
32
+ bg: isDark ? 'rgba(248, 113, 113, 0.12)' : 'rgba(220, 38, 38, 0.08)',
33
+ accent: isDark ? '#F87171' : '#DC2626',
34
+ title: isDark ? '#FCA5A5' : '#991B1B',
35
+ text: isDark ? '#F8FAFC' : '#1E293B',
36
+ }
10
37
  }[severity];
11
- return (_jsxs(Box, { sx: { border: `1px solid ${tone.border}`, borderLeft: '4px solid', borderColor: 'primary.main', borderRadius: '3px', bgcolor: tone.bg, p: 2.25, display: 'flex', alignItems: 'flex-start', justifyContent: 'space-between', gap: 2 }, children: [_jsxs(Box, { children: [title && _jsx(Typography, { variant: "subtitle2", sx: { mb: 0.5, fontWeight: 400 }, children: title }), _jsx(Typography, { variant: "body2", color: "text.secondary", children: children })] }), dismissible && _jsx(MuiButton, { size: "small", variant: "text", children: "Dismiss" })] }));
38
+ return (_jsxs(Box, { sx: {
39
+ border: `1px solid ${tone.border}`,
40
+ borderLeft: `4px solid ${tone.accent}`,
41
+ borderRadius: '3px',
42
+ bgcolor: tone.bg,
43
+ p: 2.25,
44
+ display: 'flex',
45
+ alignItems: 'flex-start',
46
+ justifyContent: 'space-between',
47
+ gap: 2
48
+ }, children: [_jsxs(Box, { children: [title && _jsx(Typography, { variant: "subtitle2", sx: { mb: 0.5, fontWeight: 600, color: tone.title }, children: title }), _jsx(Typography, { variant: "body2", sx: { color: tone.text }, children: children })] }), dismissible && _jsx(MuiButton, { size: "small", variant: "text", sx: { color: tone.accent }, children: "Dismiss" })] }));
12
49
  }
@@ -1,2 +1,2 @@
1
1
  import type { CardProps } from './types';
2
- export default function Card({ children, padding, variant, hoverLift }: CardProps): import("react").JSX.Element;
2
+ export default function Card({ children, padding, variant, hoverLift, mode }: CardProps): import("react").JSX.Element;
@@ -2,24 +2,27 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Box } from '@mui/material';
4
4
  import { useState } from 'react';
5
- export default function Card({ children, padding = 'md', variant = 'paper', hoverLift = false }) {
5
+ export default function Card({ children, padding = 'md', variant = 'paper', hoverLift = false, mode }) {
6
6
  const [isHovered, setIsHovered] = useState(false);
7
7
  const pad = { sm: 2, md: 3, lg: 4 }[padding] ?? 3;
8
8
  const styling = {
9
9
  paper: {
10
- bgcolor: 'background.paper',
11
- border: '1px solid rgba(40, 34, 28, 0.12)',
12
- boxShadow: '0 12px 40px rgba(40, 34, 28, 0.12)',
10
+ bgcolor: mode === 'light' ? '#FFFFFF' : mode === 'dark' ? '#1C1C1C' : 'background.paper',
11
+ color: mode === 'light' ? '#1E1E1E' : mode === 'dark' ? '#FFFFFF' : 'text.primary',
12
+ border: mode === 'light' ? '1px solid rgba(31, 31, 31, 0.14)' : mode === 'dark' ? '1px solid rgba(255, 255, 255, 0.16)' : '1px solid rgba(40, 34, 28, 0.12)',
13
+ boxShadow: mode === 'light' ? '0 12px 40px rgba(31, 31, 31, 0.12)' : mode === 'dark' ? '0 12px 40px rgba(0, 0, 0, 0.35)' : '0 12px 40px rgba(40, 34, 28, 0.12)',
13
14
  },
14
15
  glass: {
15
- bgcolor: 'rgba(255, 255, 255, 0.44)',
16
+ bgcolor: mode === 'light' ? 'rgba(255, 255, 255, 0.85)' : mode === 'dark' ? 'rgba(28, 28, 28, 0.85)' : 'rgba(255, 255, 255, 0.44)',
17
+ color: mode === 'light' ? '#1E1E1E' : mode === 'dark' ? '#FFFFFF' : 'text.primary',
16
18
  border: '1px solid rgba(255, 255, 255, 0.72)',
17
19
  boxShadow: '0 26px 60px -12px rgba(40, 34, 28, 0.2)',
18
20
  backdropFilter: 'blur(18px)',
19
21
  WebkitBackdropFilter: 'blur(18px)',
20
22
  },
21
23
  tile: {
22
- bgcolor: 'rgba(255, 255, 255, 0.7)',
24
+ bgcolor: mode === 'light' ? 'rgba(255, 255, 255, 0.9)' : mode === 'dark' ? 'rgba(28, 28, 28, 0.9)' : 'rgba(255, 255, 255, 0.7)',
25
+ color: mode === 'light' ? '#1E1E1E' : mode === 'dark' ? '#FFFFFF' : 'text.primary',
23
26
  border: '1px solid rgba(255, 255, 255, 0.6)',
24
27
  boxShadow: '0 12px 24px rgba(40, 34, 28, 0.08)',
25
28
  backdropFilter: 'blur(12px)',
@@ -27,6 +30,7 @@ export default function Card({ children, padding = 'md', variant = 'paper', hove
27
30
  },
28
31
  ink: {
29
32
  bgcolor: '#1F1F1F',
33
+ color: '#FFFFFF',
30
34
  border: '1px solid transparent',
31
35
  boxShadow: '0 12px 40px rgba(40, 34, 28, 0.12)',
32
36
  },
@@ -1,2 +1,2 @@
1
1
  import type { FieldProps } from './types';
2
- export default function Field({ label, hint, error }: FieldProps): import("react").JSX.Element;
2
+ export default function Field({ label, hint, error, ...textFieldProps }: FieldProps): import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Stack, TextField, Typography } from '@mui/material';
4
- export default function Field({ label, hint, error }) {
5
- return (_jsxs(Stack, { spacing: 0.75, children: [label && _jsx(Typography, { variant: "overline", sx: { color: 'text.secondary', letterSpacing: '0.14em' }, children: label }), _jsx(TextField, { size: "small", error: Boolean(error), helperText: error || hint })] }));
4
+ export default function Field({ label, hint, error, ...textFieldProps }) {
5
+ return (_jsxs(Stack, { spacing: 0.75, children: [label && _jsx(Typography, { variant: "overline", sx: { color: 'text.secondary', letterSpacing: '0.14em' }, children: label }), _jsx(TextField, { size: "small", ...textFieldProps, error: Boolean(error), helperText: error || hint })] }));
6
6
  }
@@ -1,2 +1,3 @@
1
1
  import * as React from 'react';
2
- export default function BlokeyIcon(props: any): React.JSX.Element;
2
+ import { type SvgIconProps } from '@mui/material';
3
+ export default function BlokeyIcon(props: SvgIconProps): React.JSX.Element;
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTheme, SvgIcon } from '@mui/material';
3
3
  export default function BlokeyIcon(props) {
4
4
  const theme = useTheme();
5
- let color1 = theme.palette.primary.main;
5
+ const color1 = theme.palette.primary.main;
6
6
  return (_jsx(SvgIcon, { ...props, children: _jsxs("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: [_jsx("rect", { fillOpacity: "0", x: "0", y: "0", width: "24", height: "24" }), _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { children: _jsxs("g", { transform: "translate(2.000000, 0.000000)", fill: color1, fillRule: "nonzero", children: [_jsx("circle", { cx: "9.5", cy: "2.5", r: "2.5" }), _jsx("path", { d: "M13.8086797,7.02649999 C13.3557457,6.578 12.5776284,5.75000002 11.0678484,5.75000002 C10.8239609,5.75000002 9.41870416,5.75000002 8.11797064,5.75000002 C4.92420536,5.73850001 2.32273838,3.1625 2.32273838,0 L0,0 C0,3.634 2.45048899,6.71600001 5.80684598,7.71649999 L5.80684598,23 L8.12958435,23 L8.12958435,16.1 L10.4523227,16.1 L10.4523227,23 L12.7750611,23 L12.7750611,9.25750001 L17.3624694,13.8 L19,12.1785 L13.8086797,7.02649999 Z" })] }) }) })] }) }));
7
7
  }
@@ -1,2 +1,3 @@
1
1
  import * as React from 'react';
2
- export default function ChromeIcon(props: any): React.JSX.Element;
2
+ import { type SvgIconProps } from '@mui/material';
3
+ export default function ChromeIcon(props: SvgIconProps): React.JSX.Element;
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTheme, SvgIcon } from '@mui/material';
3
3
  export default function ChromeIcon(props) {
4
4
  const theme = useTheme();
5
- let color1 = theme.palette.primary.main;
5
+ const color1 = theme.palette.primary.main;
6
6
  return (_jsx(SvgIcon, { ...props, children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsxs("g", { id: "ChromeIcon", children: [_jsx("rect", { id: "bg", fill: "none", x: "0", y: "0", width: "24", height: "24" }), _jsx("g", { fill: color1, fillRule: "nonzero", children: _jsx("g", { id: "google-chrome", children: _jsx("path", { d: "M11,19.8 L14.806,13.2 L14.795,13.2 C15.169,12.54 15.4,11.803 15.4,11 C15.4,9.68 14.806,8.503 13.882,7.7 L19.151,7.7 C19.569,8.723 19.8,9.834 19.8,11 C19.8,15.862 15.862,19.8 11,19.8 M2.2,11 C2.2,9.394 2.629,7.898 3.377,6.6 L7.194,13.2 L7.205,13.2 C7.964,14.509 9.35,15.4 11,15.4 C11.495,15.4 11.968,15.301 12.419,15.147 L9.779,19.701 C5.5,19.107 2.2,15.444 2.2,11 M14.3,11 C14.3,12.826 12.826,14.3 11,14.3 C9.174,14.3 7.7,12.826 7.7,11 C7.7,9.174 9.174,7.7 11,7.7 C12.826,7.7 14.3,9.174 14.3,11 M11,2.2 C14.256,2.2 17.094,3.971 18.612,6.6 L11,6.6 C8.866,6.6 7.095,8.118 6.688,10.131 L4.07,5.588 C5.676,3.531 8.184,2.2 11,2.2 M11,0 C4.928,0 0,4.928 0,11 C0,17.072 4.928,22 11,22 C17.072,22 22,17.072 22,11 C22,4.928 17.072,0 11,0 Z" }) }) })] }) }) }));
7
7
  }
@@ -1,2 +1,3 @@
1
1
  import * as React from 'react';
2
- export default function ChromeIcon(props: any): React.JSX.Element;
2
+ import { type SvgIconProps } from '@mui/material';
3
+ export default function ChromeIcon(props: SvgIconProps): React.JSX.Element;
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTheme, SvgIcon } from '@mui/material';
3
3
  export default function ChromeIcon(props) {
4
4
  const theme = useTheme();
5
- let color1 = theme.palette.primary.main;
5
+ const color1 = theme.palette.primary.main;
6
6
  return (_jsx(SvgIcon, { ...props, children: _jsxs("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: [_jsx("rect", { fillOpacity: "0", x: "0", y: "0", width: "24", height: "24" }), _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { children: _jsxs("g", { transform: "translate(2.000000, 0.000000)", fill: color1, fillRule: "nonzero", children: [_jsx("circle", { cx: "9.5", cy: "2.5", r: "2.5" }), _jsx("path", { d: "M13.8086797,7.02649999 C13.3557457,6.578 12.5776284,5.75000002 11.0678484,5.75000002 C10.8239609,5.75000002 9.41870416,5.75000002 8.11797064,5.75000002 C4.92420536,5.73850001 2.32273838,3.1625 2.32273838,0 L0,0 C0,3.634 2.45048899,6.71600001 5.80684598,7.71649999 L5.80684598,23 L8.12958435,23 L8.12958435,16.1 L10.4523227,16.1 L10.4523227,23 L12.7750611,23 L12.7750611,9.25750001 L17.3624694,13.8 L19,12.1785 L13.8086797,7.02649999 Z" })] }) }) })] }) }));
7
7
  }