@donotdev/ui 0.0.2 → 0.0.4

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 (119) hide show
  1. package/dist/components/auth/AuthMenu.d.ts.map +1 -1
  2. package/dist/components/auth/AuthMenu.js +19 -32
  3. package/dist/components/common/FeatureCard.d.ts +7 -19
  4. package/dist/components/common/FeatureCard.d.ts.map +1 -1
  5. package/dist/components/common/FeatureCard.js +5 -29
  6. package/dist/components/common/TechBento.d.ts +15 -3
  7. package/dist/components/common/TechBento.d.ts.map +1 -1
  8. package/dist/components/common/TechBento.js +20 -2
  9. package/dist/components/cookie-consent/CookieConsent.d.ts.map +1 -1
  10. package/dist/components/cookie-consent/CookieConsent.js +2 -41
  11. package/dist/components/cookie-consent/index.d.ts +0 -1
  12. package/dist/components/cookie-consent/index.d.ts.map +1 -1
  13. package/dist/components/cookie-consent/index.js +1 -1
  14. package/dist/components/layout/components/DropdownNavigation.d.ts.map +1 -1
  15. package/dist/components/layout/components/header/ThemeToggle.d.ts +1 -1
  16. package/dist/components/layout/components/header/ThemeToggle.d.ts.map +1 -1
  17. package/dist/components/layout/components/header/ThemeToggle.js +5 -4
  18. package/dist/dndev.css +373 -249
  19. package/dist/index.js +4 -4
  20. package/dist/internal/devtools/DebugTools.d.ts.map +1 -1
  21. package/dist/internal/devtools/DebugTools.js +8 -4
  22. package/dist/internal/devtools/components/ConfigTab.d.ts.map +1 -1
  23. package/dist/internal/devtools/components/ConfigTab.js +33 -133
  24. package/dist/internal/devtools/components/DebugDialog.d.ts.map +1 -1
  25. package/dist/internal/devtools/components/DebugDialog.js +11 -520
  26. package/dist/internal/devtools/components/DesignTab.d.ts +2 -0
  27. package/dist/internal/devtools/components/DesignTab.d.ts.map +1 -0
  28. package/dist/internal/devtools/components/DesignTab.js +431 -0
  29. package/dist/internal/devtools/components/StoresTab.d.ts.map +1 -1
  30. package/dist/internal/devtools/components/StoresTab.js +54 -102
  31. package/dist/internal/devtools/components/index.d.ts +1 -6
  32. package/dist/internal/devtools/components/index.d.ts.map +1 -1
  33. package/dist/internal/devtools/components/index.js +1 -6
  34. package/dist/internal/devtools/utils/index.d.ts +0 -1
  35. package/dist/internal/devtools/utils/index.d.ts.map +1 -1
  36. package/dist/internal/devtools/utils/index.js +0 -1
  37. package/dist/internal/initializers/BaseStoresInitializer.d.ts.map +1 -1
  38. package/dist/internal/initializers/BaseStoresInitializer.js +36 -59
  39. package/dist/internal/layout/DnDevLayout.js +3 -3
  40. package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
  41. package/dist/internal/layout/components/AutoMetaTags.js +6 -1
  42. package/dist/internal/layout/components/footer/FooterBranding.d.ts.map +1 -1
  43. package/dist/internal/layout/components/footer/FooterBranding.js +3 -1
  44. package/dist/internal/layout/zones/DnDevFooter.js +2 -2
  45. package/dist/routing/AuthGuard.d.ts +14 -10
  46. package/dist/routing/AuthGuard.d.ts.map +1 -1
  47. package/dist/routing/AuthGuard.js +25 -22
  48. package/dist/routing/Link.d.ts +2 -2
  49. package/dist/routing/Link.js +2 -2
  50. package/dist/routing/hooks/hooks.next.js +1 -1
  51. package/dist/routing/hooks/hooks.vite.js +1 -1
  52. package/dist/routing/hooks/useRedirectGuard.next.d.ts +2 -36
  53. package/dist/routing/hooks/useRedirectGuard.next.d.ts.map +1 -1
  54. package/dist/routing/hooks/useRedirectGuard.next.js +14 -55
  55. package/dist/routing/hooks/useRedirectGuard.vite.d.ts +2 -36
  56. package/dist/routing/hooks/useRedirectGuard.vite.d.ts.map +1 -1
  57. package/dist/routing/hooks/useRedirectGuard.vite.js +14 -55
  58. package/dist/routing/index.d.ts +0 -1
  59. package/dist/routing/index.d.ts.map +1 -1
  60. package/dist/routing/index.js +1 -1
  61. package/dist/styles/index.css +373 -249
  62. package/dist/utils/assetResolver.d.ts +5 -5
  63. package/dist/utils/assetResolver.d.ts.map +1 -1
  64. package/dist/utils/assetResolver.js +26 -15
  65. package/dist/utils/index.d.ts +1 -0
  66. package/dist/utils/index.d.ts.map +1 -1
  67. package/dist/utils/index.js +1 -0
  68. package/dist/utils/tList.d.ts +30 -0
  69. package/dist/utils/tList.d.ts.map +1 -0
  70. package/dist/utils/tList.js +51 -0
  71. package/dist/utils/useAuthSafe.d.ts +25 -12
  72. package/dist/utils/useAuthSafe.d.ts.map +1 -1
  73. package/dist/utils/useAuthSafe.js +3 -1
  74. package/dist/utils/useAuthVisibility.d.ts +3 -3
  75. package/dist/utils/useAuthVisibility.d.ts.map +1 -1
  76. package/dist/utils/useAuthVisibility.js +25 -21
  77. package/dist/utils/useBillingVisibility.d.ts +2 -2
  78. package/dist/utils/useBillingVisibility.d.ts.map +1 -1
  79. package/dist/utils/useBillingVisibility.js +12 -13
  80. package/dist/utils/useCrudSafe.d.ts +1 -1
  81. package/dist/utils/useCrudSafe.d.ts.map +1 -1
  82. package/dist/utils/useCrudSafe.js +26 -13
  83. package/dist/utils/useOAuthSafe.d.ts +25 -12
  84. package/dist/utils/useOAuthSafe.d.ts.map +1 -1
  85. package/dist/utils/useStripeBillingSafe.d.ts +30 -18
  86. package/dist/utils/useStripeBillingSafe.d.ts.map +1 -1
  87. package/dist/utils/useStripeBillingSafe.js +5 -6
  88. package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
  89. package/dist/vite-routing/AppRoutes.js +5 -5
  90. package/dist/vite-routing/RootLayout.d.ts.map +1 -1
  91. package/dist/vite-routing/RootLayout.js +34 -7
  92. package/package.json +9 -9
  93. package/dist/internal/devtools/components/AuthTab.d.ts +0 -2
  94. package/dist/internal/devtools/components/AuthTab.d.ts.map +0 -1
  95. package/dist/internal/devtools/components/AuthTab.js +0 -98
  96. package/dist/internal/devtools/components/ColorRatioTab.d.ts +0 -2
  97. package/dist/internal/devtools/components/ColorRatioTab.d.ts.map +0 -1
  98. package/dist/internal/devtools/components/ColorRatioTab.js +0 -322
  99. package/dist/internal/devtools/components/DebugToggle.d.ts +0 -2
  100. package/dist/internal/devtools/components/DebugToggle.d.ts.map +0 -1
  101. package/dist/internal/devtools/components/DebugToggle.js +0 -57
  102. package/dist/internal/devtools/components/EnvironmentTab.d.ts +0 -2
  103. package/dist/internal/devtools/components/EnvironmentTab.d.ts.map +0 -1
  104. package/dist/internal/devtools/components/EnvironmentTab.js +0 -26
  105. package/dist/internal/devtools/components/I18nTab.d.ts +0 -2
  106. package/dist/internal/devtools/components/I18nTab.d.ts.map +0 -1
  107. package/dist/internal/devtools/components/I18nTab.js +0 -76
  108. package/dist/internal/devtools/components/OAuthGuideButton.d.ts +0 -10
  109. package/dist/internal/devtools/components/OAuthGuideButton.d.ts.map +0 -1
  110. package/dist/internal/devtools/components/OAuthGuideButton.js +0 -71
  111. package/dist/internal/devtools/components/StripeDebugTab.d.ts +0 -2
  112. package/dist/internal/devtools/components/StripeDebugTab.d.ts.map +0 -1
  113. package/dist/internal/devtools/components/StripeDebugTab.js +0 -175
  114. package/dist/internal/devtools/components/ThemesTab.d.ts +0 -2
  115. package/dist/internal/devtools/components/ThemesTab.d.ts.map +0 -1
  116. package/dist/internal/devtools/components/ThemesTab.js +0 -77
  117. package/dist/internal/devtools/utils/spacingAnalyzer.d.ts +0 -15
  118. package/dist/internal/devtools/utils/spacingAnalyzer.d.ts.map +0 -1
  119. package/dist/internal/devtools/utils/spacingAnalyzer.js +0 -88
@@ -1 +1 @@
1
- {"version":3,"file":"DebugTools.d.ts","sourceRoot":"","sources":["../../../src/internal/devtools/DebugTools.tsx"],"names":[],"mappings":"AAgCA,UAAU,eAAe;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,GAAI,eAAe,eAAe,4CAwNjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DebugTools.d.ts","sourceRoot":"","sources":["../../../src/internal/devtools/DebugTools.tsx"],"names":[],"mappings":"AAgCA,UAAU,eAAe;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,GAAI,eAAe,eAAe,4CA8NjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -83,7 +83,9 @@ const DebugTools = ({ className }) => {
83
83
  top: position?.y ?? 'calc(var(--header-height) + var(--gap-lg))',
84
84
  cursor: isDragging ? 'grabbing' : 'grab',
85
85
  minWidth: '20rem',
86
- }, onMouseDown: handleMouseDown, children: _jsx(Card, { title: _jsxs(Stack, { direction: "row", align: "center", justify: "between", children: [_jsx(DebugDialog, {}), _jsx(Button, { onClick: () => setIsVisible(false), icon: X, variant: BUTTON_VARIANT.GHOST, title: "Hide Debug Tools" })] }), content: _jsx(_Fragment, { children: _jsxs(Stack, { direction: "row", align: "center", justify: "center", gap: "tight", wrap: "wrap", children: [_jsx(Button, { onClick: toggleDebug, variant: debugEnabled ? BUTTON_VARIANT.DEFAULT : BUTTON_VARIANT.OUTLINE, icon: Bug, title: `Display Lines (${debugEnabled ? 'ON' : 'OFF'})`, children: "Display Lines" }), _jsx(Button, { onClick: async () => {
86
+ }, onMouseDown: handleMouseDown, children: _jsx(Card, { title: _jsxs(Stack, { direction: "row", align: "center", justify: "between", children: [_jsx(DebugDialog, {}), _jsx(Button, { onClick: () => setIsVisible(false), icon: X, variant: BUTTON_VARIANT.GHOST, title: "Hide Debug Tools" })] }), content: _jsx(_Fragment, { children: _jsxs(Stack, { direction: "row", align: "center", justify: "center", gap: "tight", wrap: "wrap", children: [_jsx(Button, { onClick: toggleDebug, variant: debugEnabled
87
+ ? BUTTON_VARIANT.DEFAULT
88
+ : BUTTON_VARIANT.OUTLINE, icon: Bug, title: `Display Lines (${debugEnabled ? 'ON' : 'OFF'})`, children: "Display Lines" }), _jsx(Button, { onClick: async () => {
87
89
  try {
88
90
  // Reset consent (deletes cookie and resets store)
89
91
  reset();
@@ -103,8 +105,8 @@ const DebugTools = ({ className }) => {
103
105
  globalThis._DNDEV_STORES_) {
104
106
  globalThis._DNDEV_STORES_ = {};
105
107
  }
106
- // ⚠️ Force hard reload (bypasses HMR to unmount all components)
107
- window.location.href = window.location.href;
108
+ // ⚠️ Force hard reload (bypasses HMR cache)
109
+ window.location.reload();
108
110
  }
109
111
  catch (error) {
110
112
  console.error('Failed to clear cache:', error);
@@ -115,7 +117,9 @@ const DebugTools = ({ className }) => {
115
117
  }
116
118
  }, variant: hasConsented ? BUTTON_VARIANT.OUTLINE : BUTTON_VARIANT.GHOST, icon: Cookie, title: hasConsented
117
119
  ? 'Reset consent (show banner)'
118
- : 'Consent banner visible', children: hasConsented ? 'Show Cookie Banner' : 'Cookie Banner Visible' })] }) }), footer: _jsx(Stack, { align: "center", justify: "center", className: cn('drag-handle', current === 'mobile' && 'dndev-text-destructive', current === 'tablet' && 'dndev-text-primary', current === 'desktop' && 'dndev-text-secondary-foreground', current === 'wide' && 'dndev-text-muted-foreground'), style: {
120
+ : 'Consent banner visible', children: hasConsented
121
+ ? 'Show Cookie Banner'
122
+ : 'Cookie Banner Visible' })] }) }), footer: _jsx(Stack, { align: "center", justify: "center", className: cn('drag-handle', current === 'mobile' && 'dndev-text-destructive', current === 'tablet' && 'dndev-text-primary', current === 'laptop' && 'dndev-text-secondary-foreground', current === 'desktop' && 'dndev-text-muted-foreground'), style: {
119
123
  cursor: 'grab',
120
124
  }, children: _jsxs(Label, { className: "dndev-font-mono dndev-text-lg", children: [current.toUpperCase(), " : ", width, " \u00D7 ", height, "px"] }) }) }) }) }));
121
125
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/ConfigTab.tsx"],"names":[],"mappings":"AA0BA,eAAO,MAAM,SAAS,+CAmSrB,CAAC"}
1
+ {"version":3,"file":"ConfigTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/ConfigTab.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS,+CAqGrB,CAAC"}
@@ -3,159 +3,59 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
3
  // packages/ui/src/internal/devtools/components/ConfigTab.tsx
4
4
  /**
5
5
  * @fileoverview Config Tab Component
6
- * @description Displays _DNDEV_CONFIG_ in a readable, future-proof format
6
+ * @description Framework config and environment variables
7
7
  *
8
- * @version 0.0.1
8
+ * @version 0.0.2
9
9
  * @since 0.0.1
10
10
  * @author AMBROISE PARK Consulting
11
11
  */
12
- import { useMemo } from 'react';
13
- import { Card, DescriptionList, Text, JsonViewer, Stack, ScrollArea, } from '@donotdev/components';
12
+ import { Card, DescriptionList, Text, Badge, BADGE_VARIANT, Stack, } from '@donotdev/components';
14
13
  import { getDndevConfig, getConfigSource } from '@donotdev/core';
15
- import { maskSensitiveData } from '../utils/maskSensitive';
14
+ import { MaskedValue } from './MaskedValue';
16
15
  export const ConfigTab = () => {
17
16
  const config = getDndevConfig();
18
17
  const source = getConfigSource();
19
- const formattedConfig = useMemo(() => {
20
- if (!config)
21
- return null;
22
- return {
23
- platform: config.platform,
24
- mode: config.mode,
25
- version: config.version,
26
- context: config.context,
27
- timestamp: new Date(config.timestamp).toISOString(),
28
- i18n: config.i18n
29
- ? {
30
- languages: config.i18n.languages,
31
- fallback: config.i18n.fallback,
32
- eager: config.i18n.eager,
33
- totalNamespaces: config.i18n.manifest?.totalNamespaces,
34
- totalLanguages: config.i18n.manifest?.totalLanguages,
35
- }
36
- : null,
37
- themes: config.themes
38
- ? {
39
- discovered: config.themes.discovered?.length || 0,
40
- totalThemes: config.themes.manifest?.totalThemes || 0,
41
- }
42
- : null,
43
- routes: config.routes
44
- ? {
45
- discovered: config.routes.mapping?.length || 0,
46
- totalRoutes: config.routes.manifest?.totalRoutes || 0,
47
- }
48
- : null,
49
- assets: config.assets
50
- ? {
51
- discovered: config.assets.manifest?.totalAssets || 0,
52
- }
53
- : null,
54
- pwa: config.pwa ? { enabled: true } : null,
55
- features: config.features
56
- ? {
57
- available: config.features.available?.length || 0,
58
- }
59
- : null,
60
- env: config.env
61
- ? {
62
- count: Object.keys(config.env).length,
63
- keys: Object.keys(config.env).slice(0, 10),
64
- }
65
- : null,
66
- };
67
- }, [config]);
18
+ const envVars = config?.env || {};
68
19
  if (!config) {
69
- return (_jsx(Card, { title: "Config", subtitle: "Framework configuration", children: _jsxs(Text, { as: "span", className: "dndev-text-muted-foreground", children: ["Config not available. Source: ", source.source] }) }));
20
+ return (_jsx(Card, { title: "Config", subtitle: "Not available", children: _jsxs(Text, { className: "dndev-text-muted-foreground", children: ["Config not loaded. Source: ", source.source] }) }));
70
21
  }
71
22
  const frameworkItems = [
72
23
  {
73
24
  label: 'Platform',
74
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig?.platform })),
25
+ value: _jsx(Badge, { variant: BADGE_VARIANT.SECONDARY, children: config.platform }),
75
26
  },
76
27
  {
77
28
  label: 'Mode',
78
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig?.mode })),
29
+ value: (_jsx(Badge, { variant: config.mode === 'development'
30
+ ? BADGE_VARIANT.DEFAULT
31
+ : BADGE_VARIANT.SECONDARY, children: config.mode })),
79
32
  },
80
33
  {
81
34
  label: 'Version',
82
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig?.version })),
35
+ value: (_jsx(Text, { className: "dndev-font-mono dndev-text-sm", children: config.version })),
83
36
  },
84
- {
85
- label: 'Context',
86
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig?.context })),
37
+ ];
38
+ const summaryItems = [
39
+ config.themes && {
40
+ label: 'Themes',
41
+ value: (_jsx(Text, { className: "dndev-font-mono dndev-text-sm", children: config.themes.discovered?.length || 0 })),
87
42
  },
88
- {
89
- label: 'Generated',
90
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono dndev-text-xs", children: formattedConfig?.timestamp })),
43
+ config.routes && {
44
+ label: 'Routes',
45
+ value: (_jsx(Text, { className: "dndev-font-mono dndev-text-sm", children: config.routes.mapping?.length || 0 })),
91
46
  },
92
- ];
93
- const i18nItems = formattedConfig?.i18n
94
- ? [
95
- {
96
- label: 'Languages',
97
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig.i18n.languages.join(', ') })),
98
- },
99
- {
100
- label: 'Fallback',
101
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig.i18n.fallback })),
102
- },
103
- {
104
- label: 'Eager Namespaces',
105
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig.i18n.eager.join(', ') })),
106
- },
107
- {
108
- label: 'Total Namespaces',
109
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig.i18n.totalNamespaces })),
110
- },
111
- {
112
- label: 'Total Languages',
113
- value: (_jsx(Text, { as: "span", className: "dndev-font-mono", children: formattedConfig.i18n.totalLanguages })),
114
- },
115
- ]
116
- : [];
117
- const themesItems = formattedConfig?.themes
118
- ? [
119
- {
120
- label: 'Discovered',
121
- value: (_jsxs(Text, { as: "span", className: "dndev-font-mono", children: [formattedConfig.themes.discovered, " themes"] })),
122
- },
123
- {
124
- label: 'Total Themes',
125
- value: (_jsxs(Text, { as: "span", className: "dndev-font-mono", children: [formattedConfig.themes.totalThemes, " themes"] })),
126
- },
127
- ]
128
- : [];
129
- const routesItems = formattedConfig?.routes
130
- ? [
131
- {
132
- label: 'Discovered',
133
- value: (_jsxs(Text, { as: "span", className: "dndev-font-mono", children: [formattedConfig.routes.discovered, " routes"] })),
134
- },
135
- {
136
- label: 'Total Routes',
137
- value: (_jsxs(Text, { as: "span", className: "dndev-font-mono", children: [formattedConfig.routes.totalRoutes, " routes"] })),
138
- },
139
- ]
140
- : [];
141
- const featuresItems = formattedConfig?.features
142
- ? [
143
- {
144
- label: 'Available',
145
- value: (_jsxs(Text, { className: "dndev-font-mono", children: [formattedConfig.features.available, " features"] })),
146
- },
147
- ]
148
- : [];
149
- const envKeysItems = formattedConfig?.env
150
- ? [
151
- {
152
- label: 'Variables',
153
- value: (_jsxs(Stack, { gap: "tight", children: [_jsxs(Text, { as: "span", className: "dndev-font-mono", children: [formattedConfig.env.count, " variables"] }), _jsxs(Stack, { gap: "tight", className: "dndev-font-mono dndev-text-xs", children: [formattedConfig.env.keys.map((key) => (_jsx("div", { children: key }, key))), formattedConfig.env.count > 10 && (_jsxs(Text, { as: "span", className: "dndev-text-muted-foreground", children: ["... and ", formattedConfig.env.count - 10, " more"] }))] })] })),
154
- },
155
- ]
156
- : [];
157
- return (_jsxs(Stack, { gap: "medium", children: [_jsx(Card, { title: "Framework Config", subtitle: `Source: ${source.source} (${source.platform})`, children: _jsx(DescriptionList, { items: frameworkItems }) }), formattedConfig?.i18n && (_jsx(Card, { title: "i18n", children: _jsx(DescriptionList, { items: i18nItems }) })), formattedConfig?.themes && (_jsx(Card, { title: "Themes", children: _jsx(DescriptionList, { items: themesItems }) })), formattedConfig?.routes && (_jsx(Card, { title: "Routes", children: _jsx(DescriptionList, { items: routesItems }) })), formattedConfig?.features && (_jsx(Card, { title: "Features", children: _jsx(DescriptionList, { items: featuresItems }) })), formattedConfig?.env && (_jsx(Card, { title: "Environment Variables", subtitle: `${formattedConfig.env.count} variable${formattedConfig.env.count !== 1 ? 's' : ''} from config`, children: _jsx(DescriptionList, { items: envKeysItems }) })), _jsx(Card, { title: "Raw Config", subtitle: "Full config object (JSON, sensitive values masked)", children: _jsx(ScrollArea, { className: "dndev-max-h-96", children: _jsx(JsonViewer, { data: {
158
- ...config,
159
- env: config.env ? maskSensitiveData(config.env) : config.env,
160
- }, defaultDepth: 2, showCopyButton: true }) }) })] }));
47
+ config.i18n && {
48
+ label: 'Languages',
49
+ value: (_jsx(Text, { className: "dndev-font-mono dndev-text-sm", children: config.i18n.languages?.join(', ') })),
50
+ },
51
+ config.features && {
52
+ label: 'Features',
53
+ value: (_jsx(Text, { className: "dndev-font-mono dndev-text-sm", children: config.features.available?.length || 0 })),
54
+ },
55
+ ].filter(Boolean);
56
+ const envItems = Object.entries(envVars).map(([key, value]) => ({
57
+ label: _jsx(Text, { className: "dndev-font-mono dndev-text-xs", children: key }),
58
+ value: _jsx(MaskedValue, { keyName: key, value: String(value) }),
59
+ }));
60
+ return (_jsxs(Stack, { gap: "medium", style: { padding: 'var(--gap-md)' }, children: [_jsx(Card, { title: "Framework", subtitle: source.source, children: _jsx(DescriptionList, { items: frameworkItems }) }), summaryItems.length > 0 && (_jsx(Card, { title: "Discovery", children: _jsx(DescriptionList, { items: summaryItems }) })), envItems.length > 0 && (_jsx(Card, { title: "Environment", subtitle: `${envItems.length} variables`, children: _jsx(DescriptionList, { items: envItems }) }))] }));
161
61
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DebugDialog.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/DebugDialog.tsx"],"names":[],"mappings":"AAwkCA,eAAO,MAAM,WAAW,+CAwIvB,CAAC"}
1
+ {"version":3,"file":"DebugDialog.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/DebugDialog.tsx"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW,+CAgFvB,CAAC"}