@vizzly-testing/cli 0.16.0 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/client/index.js +21 -4
  2. package/dist/reporter/reporter-bundle.css +1 -1
  3. package/dist/reporter/reporter-bundle.iife.js +14 -14
  4. package/dist/sdk/index.js +6 -6
  5. package/dist/server/handlers/tdd-handler.js +13 -6
  6. package/dist/services/test-runner.js +0 -8
  7. package/dist/services/uploader.js +1 -1
  8. package/dist/types/client.d.ts +88 -0
  9. package/dist/types/config.d.ts +29 -0
  10. package/dist/types/index.d.ts +426 -9
  11. package/dist/types/sdk.d.ts +146 -0
  12. package/dist/utils/config-helpers.js +2 -2
  13. package/package.json +24 -7
  14. package/dist/types/cli.d.ts +0 -2
  15. package/dist/types/client/index.d.ts +0 -80
  16. package/dist/types/commands/doctor.d.ts +0 -11
  17. package/dist/types/commands/finalize.d.ts +0 -13
  18. package/dist/types/commands/init.d.ts +0 -32
  19. package/dist/types/commands/login.d.ts +0 -11
  20. package/dist/types/commands/logout.d.ts +0 -11
  21. package/dist/types/commands/project.d.ts +0 -28
  22. package/dist/types/commands/run.d.ts +0 -16
  23. package/dist/types/commands/status.d.ts +0 -13
  24. package/dist/types/commands/tdd-daemon.d.ts +0 -24
  25. package/dist/types/commands/tdd.d.ts +0 -17
  26. package/dist/types/commands/upload.d.ts +0 -13
  27. package/dist/types/commands/whoami.d.ts +0 -11
  28. package/dist/types/errors/vizzly-error.d.ts +0 -75
  29. package/dist/types/plugin-loader.d.ts +0 -7
  30. package/dist/types/reporter/src/api/client.d.ts +0 -178
  31. package/dist/types/reporter/src/components/app-router.d.ts +0 -1
  32. package/dist/types/reporter/src/components/code-block.d.ts +0 -4
  33. package/dist/types/reporter/src/components/comparison/comparison-actions.d.ts +0 -5
  34. package/dist/types/reporter/src/components/comparison/comparison-card.d.ts +0 -7
  35. package/dist/types/reporter/src/components/comparison/comparison-group.d.ts +0 -10
  36. package/dist/types/reporter/src/components/comparison/comparison-list.d.ts +0 -6
  37. package/dist/types/reporter/src/components/comparison/comparison-modes/onion-skin-mode.d.ts +0 -10
  38. package/dist/types/reporter/src/components/comparison/comparison-modes/overlay-mode.d.ts +0 -11
  39. package/dist/types/reporter/src/components/comparison/comparison-modes/shared/base-comparison-mode.d.ts +0 -14
  40. package/dist/types/reporter/src/components/comparison/comparison-modes/shared/image-renderer.d.ts +0 -30
  41. package/dist/types/reporter/src/components/comparison/comparison-modes/toggle-view.d.ts +0 -8
  42. package/dist/types/reporter/src/components/comparison/comparison-viewer.d.ts +0 -8
  43. package/dist/types/reporter/src/components/comparison/fullscreen-viewer.d.ts +0 -13
  44. package/dist/types/reporter/src/components/comparison/screenshot-display.d.ts +0 -16
  45. package/dist/types/reporter/src/components/comparison/screenshot-list.d.ts +0 -9
  46. package/dist/types/reporter/src/components/comparison/variant-selector.d.ts +0 -9
  47. package/dist/types/reporter/src/components/comparison/view-mode-selector.d.ts +0 -4
  48. package/dist/types/reporter/src/components/dashboard/dashboard-filters.d.ts +0 -16
  49. package/dist/types/reporter/src/components/design-system/alert.d.ts +0 -9
  50. package/dist/types/reporter/src/components/design-system/badge.d.ts +0 -17
  51. package/dist/types/reporter/src/components/design-system/button.d.ts +0 -19
  52. package/dist/types/reporter/src/components/design-system/card.d.ts +0 -31
  53. package/dist/types/reporter/src/components/design-system/empty-state.d.ts +0 -13
  54. package/dist/types/reporter/src/components/design-system/form-controls.d.ts +0 -44
  55. package/dist/types/reporter/src/components/design-system/health-ring.d.ts +0 -7
  56. package/dist/types/reporter/src/components/design-system/index.d.ts +0 -11
  57. package/dist/types/reporter/src/components/design-system/modal.d.ts +0 -10
  58. package/dist/types/reporter/src/components/design-system/skeleton.d.ts +0 -19
  59. package/dist/types/reporter/src/components/design-system/spinner.d.ts +0 -10
  60. package/dist/types/reporter/src/components/design-system/tabs.d.ts +0 -13
  61. package/dist/types/reporter/src/components/layout/header.d.ts +0 -5
  62. package/dist/types/reporter/src/components/layout/index.d.ts +0 -2
  63. package/dist/types/reporter/src/components/layout/layout.d.ts +0 -6
  64. package/dist/types/reporter/src/components/ui/smart-image.d.ts +0 -7
  65. package/dist/types/reporter/src/components/ui/toast.d.ts +0 -4
  66. package/dist/types/reporter/src/components/views/builds-view.d.ts +0 -1
  67. package/dist/types/reporter/src/components/views/comparison-detail-view.d.ts +0 -5
  68. package/dist/types/reporter/src/components/views/comparisons-view.d.ts +0 -5
  69. package/dist/types/reporter/src/components/views/projects-view.d.ts +0 -1
  70. package/dist/types/reporter/src/components/views/settings-view.d.ts +0 -1
  71. package/dist/types/reporter/src/components/views/stats-view.d.ts +0 -1
  72. package/dist/types/reporter/src/components/waiting-for-screenshots.d.ts +0 -1
  73. package/dist/types/reporter/src/hooks/queries/use-auth-queries.d.ts +0 -15
  74. package/dist/types/reporter/src/hooks/queries/use-cloud-queries.d.ts +0 -6
  75. package/dist/types/reporter/src/hooks/queries/use-config-queries.d.ts +0 -6
  76. package/dist/types/reporter/src/hooks/queries/use-tdd-queries.d.ts +0 -9
  77. package/dist/types/reporter/src/hooks/use-comparison-filters.d.ts +0 -20
  78. package/dist/types/reporter/src/hooks/use-image-loader.d.ts +0 -1
  79. package/dist/types/reporter/src/lib/query-client.d.ts +0 -2
  80. package/dist/types/reporter/src/lib/query-keys.d.ts +0 -13
  81. package/dist/types/reporter/src/main.d.ts +0 -1
  82. package/dist/types/reporter/src/services/api-client.d.ts +0 -11
  83. package/dist/types/reporter/src/utils/comparison-helpers.d.ts +0 -16
  84. package/dist/types/reporter/src/utils/constants.d.ts +0 -37
  85. package/dist/types/reporter/vite.config.d.ts +0 -2
  86. package/dist/types/reporter/vite.dev.config.d.ts +0 -2
  87. package/dist/types/sdk/index.d.ts +0 -110
  88. package/dist/types/server/handlers/api-handler.d.ts +0 -88
  89. package/dist/types/server/handlers/tdd-handler.d.ts +0 -162
  90. package/dist/types/server/http-server.d.ts +0 -6
  91. package/dist/types/server/middleware/cors.d.ts +0 -11
  92. package/dist/types/server/middleware/json-parser.d.ts +0 -10
  93. package/dist/types/server/middleware/response.d.ts +0 -50
  94. package/dist/types/server/routers/assets.d.ts +0 -6
  95. package/dist/types/server/routers/auth.d.ts +0 -9
  96. package/dist/types/server/routers/baseline.d.ts +0 -13
  97. package/dist/types/server/routers/cloud-proxy.d.ts +0 -11
  98. package/dist/types/server/routers/config.d.ts +0 -9
  99. package/dist/types/server/routers/dashboard.d.ts +0 -6
  100. package/dist/types/server/routers/health.d.ts +0 -11
  101. package/dist/types/server/routers/projects.d.ts +0 -9
  102. package/dist/types/server/routers/screenshot.d.ts +0 -11
  103. package/dist/types/services/api-service.d.ts +0 -121
  104. package/dist/types/services/auth-service.d.ts +0 -59
  105. package/dist/types/services/build-manager.d.ts +0 -69
  106. package/dist/types/services/config-service.d.ts +0 -97
  107. package/dist/types/services/html-report-generator.d.ts +0 -52
  108. package/dist/types/services/index.d.ts +0 -7
  109. package/dist/types/services/project-service.d.ts +0 -105
  110. package/dist/types/services/report-generator/viewer.d.ts +0 -0
  111. package/dist/types/services/screenshot-server.d.ts +0 -10
  112. package/dist/types/services/server-manager.d.ts +0 -269
  113. package/dist/types/services/static-report-generator.d.ts +0 -25
  114. package/dist/types/services/tdd-service.d.ts +0 -122
  115. package/dist/types/services/test-runner.d.ts +0 -31
  116. package/dist/types/services/uploader.d.ts +0 -36
  117. package/dist/types/utils/browser.d.ts +0 -6
  118. package/dist/types/utils/build-history.d.ts +0 -16
  119. package/dist/types/utils/ci-env.d.ts +0 -55
  120. package/dist/types/utils/colors.d.ts +0 -12
  121. package/dist/types/utils/config-helpers.d.ts +0 -6
  122. package/dist/types/utils/config-loader.d.ts +0 -25
  123. package/dist/types/utils/config-schema.d.ts +0 -51
  124. package/dist/types/utils/environment-config.d.ts +0 -59
  125. package/dist/types/utils/environment.d.ts +0 -36
  126. package/dist/types/utils/fetch-utils.d.ts +0 -1
  127. package/dist/types/utils/file-helpers.d.ts +0 -18
  128. package/dist/types/utils/git.d.ts +0 -56
  129. package/dist/types/utils/global-config.d.ts +0 -84
  130. package/dist/types/utils/image-input-detector.d.ts +0 -71
  131. package/dist/types/utils/output.d.ts +0 -84
  132. package/dist/types/utils/package-info.d.ts +0 -15
  133. package/dist/types/utils/security.d.ts +0 -30
@@ -1,178 +0,0 @@
1
- export namespace tdd {
2
- /**
3
- * Get current report data with comparisons
4
- * @returns {Promise<Object|null>}
5
- */
6
- function getReportData(): Promise<any | null>;
7
- /**
8
- * Get real-time status
9
- * @returns {Promise<Object>}
10
- */
11
- function getStatus(): Promise<any>;
12
- /**
13
- * Accept a single baseline
14
- * @param {string} id - Comparison ID
15
- * @returns {Promise<Object>}
16
- */
17
- function acceptBaseline(id: string): Promise<any>;
18
- /**
19
- * Accept all baselines
20
- * @returns {Promise<Object>}
21
- */
22
- function acceptAllBaselines(): Promise<any>;
23
- /**
24
- * Reset baselines to previous state
25
- * @returns {Promise<Object>}
26
- */
27
- function resetBaselines(): Promise<any>;
28
- /**
29
- * Download baselines from a remote build
30
- * @param {string} buildId - Build ID to download from
31
- * @param {string} [organizationSlug] - Organization slug for OAuth auth
32
- * @param {string} [projectSlug] - Project slug for OAuth auth
33
- * @returns {Promise<Object>}
34
- */
35
- function downloadBaselines(buildId: string, organizationSlug?: string, projectSlug?: string): Promise<any>;
36
- }
37
- export namespace cloud {
38
- /**
39
- * List all user's projects
40
- * @returns {Promise<Object>}
41
- */
42
- function listProjects(): Promise<any>;
43
- /**
44
- * Get builds for a specific project
45
- * @param {string} organizationSlug
46
- * @param {string} projectSlug
47
- * @param {Object} options
48
- * @param {number} [options.limit=20]
49
- * @param {string} [options.branch]
50
- * @returns {Promise<Object>}
51
- */
52
- function getBuilds(organizationSlug: string, projectSlug: string, options?: {
53
- limit?: number;
54
- branch?: string;
55
- }): Promise<any>;
56
- /**
57
- * Download baselines from cloud build
58
- * @param {string} buildId
59
- * @param {string[]} [screenshotNames] - Optional specific screenshots
60
- * @returns {Promise<Object>}
61
- */
62
- function downloadBaselines(buildId: string, screenshotNames?: string[]): Promise<any>;
63
- }
64
- export namespace config {
65
- /**
66
- * Get merged configuration
67
- * @returns {Promise<Object>}
68
- */
69
- function get(): Promise<any>;
70
- /**
71
- * Get project-level configuration
72
- * @returns {Promise<Object>}
73
- */
74
- function getProject(): Promise<any>;
75
- /**
76
- * Get global configuration
77
- * @returns {Promise<Object>}
78
- */
79
- function getGlobal(): Promise<any>;
80
- /**
81
- * Update project configuration
82
- * @param {Object} data - Config data to update
83
- * @returns {Promise<Object>}
84
- */
85
- function updateProject(data: any): Promise<any>;
86
- /**
87
- * Update global configuration
88
- * @param {Object} data - Config data to update
89
- * @returns {Promise<Object>}
90
- */
91
- function updateGlobal(data: any): Promise<any>;
92
- /**
93
- * Validate configuration
94
- * @param {Object} data - Config to validate
95
- * @returns {Promise<Object>}
96
- */
97
- function validate(data: any): Promise<any>;
98
- }
99
- export namespace auth {
100
- /**
101
- * Get authentication status
102
- * @returns {Promise<{authenticated: boolean, user: Object|null}>}
103
- */
104
- function getStatus(): Promise<{
105
- authenticated: boolean;
106
- user: any | null;
107
- }>;
108
- /**
109
- * Initiate device flow login
110
- * @returns {Promise<{deviceCode: string, userCode: string, verificationUri: string, expiresIn: number}>}
111
- */
112
- function initiateLogin(): Promise<{
113
- deviceCode: string;
114
- userCode: string;
115
- verificationUri: string;
116
- expiresIn: number;
117
- }>;
118
- /**
119
- * Poll device authorization status
120
- * @param {string} deviceCode
121
- * @returns {Promise<{status: 'pending'|'complete', user?: Object}>}
122
- */
123
- function pollAuthorization(deviceCode: string): Promise<{
124
- status: "pending" | "complete";
125
- user?: any;
126
- }>;
127
- /**
128
- * Logout user
129
- * @returns {Promise<Object>}
130
- */
131
- function logout(): Promise<any>;
132
- }
133
- export namespace projects {
134
- /**
135
- * List projects from API
136
- * @returns {Promise<Object>}
137
- */
138
- function list(): Promise<any>;
139
- /**
140
- * List project directory mappings
141
- * @returns {Promise<Object>}
142
- */
143
- function listMappings(): Promise<any>;
144
- /**
145
- * Create or update project mapping
146
- * @param {Object} data
147
- * @returns {Promise<Object>}
148
- */
149
- function createMapping(data: any): Promise<any>;
150
- /**
151
- * Delete project mapping
152
- * @param {string} directory
153
- * @returns {Promise<Object>}
154
- */
155
- function deleteMapping(directory: string): Promise<any>;
156
- /**
157
- * Get recent builds for current project
158
- * @param {Object} options
159
- * @returns {Promise<Object>}
160
- */
161
- function getRecentBuilds(options?: any): Promise<any>;
162
- /**
163
- * Get builds for a specific project
164
- * @param {string} organizationSlug
165
- * @param {string} projectSlug
166
- * @param {Object} options
167
- * @returns {Promise<Object>}
168
- */
169
- function getBuilds(organizationSlug: string, projectSlug: string, options?: any): Promise<any>;
170
- }
171
- export namespace api {
172
- export { tdd };
173
- export { cloud };
174
- export { config };
175
- export { auth };
176
- export { projects };
177
- }
178
- export default api;
@@ -1 +0,0 @@
1
- export default function AppRouter(): any;
@@ -1,4 +0,0 @@
1
- export default function CodeBlock({ code, language }: {
2
- code: any;
3
- language?: string;
4
- }): any;
@@ -1,5 +0,0 @@
1
- export default function ComparisonActions({ onAccept, onReject, disabled, }: {
2
- onAccept: any;
3
- onReject: any;
4
- disabled?: boolean;
5
- }): any;
@@ -1,7 +0,0 @@
1
- export default function ComparisonCard({ comparison, onAccept, onReject, userAction, variantSelector, }: {
2
- comparison: any;
3
- onAccept: any;
4
- onReject: any;
5
- userAction: any;
6
- variantSelector?: any;
7
- }): any;
@@ -1,10 +0,0 @@
1
- /**
2
- * Comparison group component that displays multiple variants of the same screenshot
3
- * Matches cloud product's grouped screenshot display
4
- */
5
- export default function ComparisonGroup({ group, onAccept, onReject, loadingStates, }: {
6
- group: any;
7
- onAccept: any;
8
- onReject: any;
9
- loadingStates: any;
10
- }): any;
@@ -1,6 +0,0 @@
1
- export default function ComparisonList({ comparisons, onAccept, onReject, loadingStates, }: {
2
- comparisons: any;
3
- onAccept: any;
4
- onReject: any;
5
- loadingStates: any;
6
- }): any;
@@ -1,10 +0,0 @@
1
- export function OnionSkinMode({ baselineImageUrl, currentImageUrl, sliderPosition, onSliderChange, screenshot, onImageError, onImageLoad, imageErrors, }: {
2
- baselineImageUrl: any;
3
- currentImageUrl: any;
4
- sliderPosition?: number;
5
- onSliderChange: any;
6
- screenshot: any;
7
- onImageError: any;
8
- onImageLoad: any;
9
- imageErrors?: Set<any>;
10
- }): any;
@@ -1,11 +0,0 @@
1
- export function OverlayMode({ baselineImageUrl, currentImageUrl, diffImageUrl, showDiffOverlay, screenshot, onImageError, onImageLoad, imageErrors, onDiffToggle, }: {
2
- baselineImageUrl: any;
3
- currentImageUrl: any;
4
- diffImageUrl: any;
5
- showDiffOverlay?: boolean;
6
- screenshot: any;
7
- onImageError: any;
8
- onImageLoad: any;
9
- imageErrors: any;
10
- onDiffToggle: any;
11
- }): any;
@@ -1,14 +0,0 @@
1
- export function BaseComparisonMode({ children, containerClassName, onClick, style, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- containerClassName?: string;
5
- onClick: any;
6
- style?: {};
7
- }): any;
8
- export function ComparisonContainer({ children, containerClassName, interactive, onClick, style, }: {
9
- children: any;
10
- containerClassName?: string;
11
- interactive?: boolean;
12
- onClick: any;
13
- style?: {};
14
- }): any;
@@ -1,30 +0,0 @@
1
- /**
2
- * Simple, reliable image renderer for screenshot comparisons
3
- * Zoom is handled at the container level, not here
4
- */
5
- export function ImageRenderer({ imageKey, url, alt, position, className, onError, onLoad, imageErrors, style, loading, ...props }: {
6
- [x: string]: any;
7
- imageKey: any;
8
- url: any;
9
- alt: any;
10
- position?: string;
11
- className?: string;
12
- onError: any;
13
- onLoad: any;
14
- imageErrors: any;
15
- style?: {};
16
- loading?: string;
17
- }): any;
18
- export function ImageWithErrorBoundary({ imageKey, url, alt, position, className, onError, onLoad, imageErrors, showErrorPlaceholder, loading, ...props }: {
19
- [x: string]: any;
20
- imageKey: any;
21
- url: any;
22
- alt: any;
23
- position?: string;
24
- className?: string;
25
- onError: any;
26
- onLoad: any;
27
- imageErrors: any;
28
- showErrorPlaceholder?: boolean;
29
- loading?: string;
30
- }): any;
@@ -1,8 +0,0 @@
1
- export function ToggleView({ baselineImageUrl, currentImageUrl, screenshot, onImageError, onImageLoad, imageErrors, }: {
2
- baselineImageUrl: any;
3
- currentImageUrl: any;
4
- screenshot: any;
5
- onImageError: any;
6
- onImageLoad: any;
7
- imageErrors?: Set<any>;
8
- }): any;
@@ -1,8 +0,0 @@
1
- /**
2
- * Comparison Viewer for inline card display
3
- * Simpler than ScreenshotDisplay - no zoom, just renders comparison modes
4
- */
5
- export default function ComparisonViewer({ comparison, viewMode }: {
6
- comparison: any;
7
- viewMode: any;
8
- }): any;
@@ -1,13 +0,0 @@
1
- /**
2
- * Fullscreen comparison viewer - mirrors the Vizzly cloud product UI exactly
3
- * Displays a single comparison with navigation between screenshots
4
- */
5
- export default function FullscreenViewer({ comparison, comparisons, onClose, onAccept, onReject, onNavigate, userAction, }: {
6
- comparison: any;
7
- comparisons?: any[];
8
- onClose: any;
9
- onAccept: any;
10
- onReject: any;
11
- onNavigate: any;
12
- userAction: any;
13
- }): any;
@@ -1,16 +0,0 @@
1
- /**
2
- * Unified Screenshot Display Component - matches Observatory architecture
3
- * Handles zoom calculations and renders the appropriate comparison mode
4
- * inside a zoom wrapper so all modes scale together
5
- */
6
- export function ScreenshotDisplay({ comparison, viewMode, showDiffOverlay, onionSkinPosition, onOnionSkinChange, onDiffToggle, disableLoadingOverlay, zoom, className, }: {
7
- comparison: any;
8
- viewMode?: string;
9
- showDiffOverlay?: boolean;
10
- onionSkinPosition?: number;
11
- onOnionSkinChange: any;
12
- onDiffToggle: any;
13
- disableLoadingOverlay?: boolean;
14
- zoom?: string;
15
- className?: string;
16
- }): any;
@@ -1,9 +0,0 @@
1
- /**
2
- * Screenshot list component - simple scannable list
3
- * Click any row to open the fullscreen comparison viewer
4
- */
5
- export default function ScreenshotList({ comparisons, onSelectComparison, loadingStates, }: {
6
- comparisons: any;
7
- onSelectComparison: any;
8
- loadingStates?: {};
9
- }): any;
@@ -1,9 +0,0 @@
1
- /**
2
- * Variant selector for toggling between different viewport sizes and browsers
3
- * Mobile-first with horizontal scroll
4
- */
5
- export default function VariantSelector({ group, selectedIndex, onSelect }: {
6
- group: any;
7
- selectedIndex: any;
8
- onSelect: any;
9
- }): any;
@@ -1,4 +0,0 @@
1
- export default function ViewModeSelector({ viewMode, onChange }: {
2
- viewMode: any;
3
- onChange: any;
4
- }): any;
@@ -1,16 +0,0 @@
1
- export default function DashboardFilters({ filter, setFilter, sortBy, setSortBy, searchQuery, setSearchQuery, selectedBrowser, setSelectedBrowser, selectedViewport, setSelectedViewport, availableFilters, counts, onRefresh, loading, }: {
2
- filter: any;
3
- setFilter: any;
4
- sortBy: any;
5
- setSortBy: any;
6
- searchQuery: any;
7
- setSearchQuery: any;
8
- selectedBrowser: any;
9
- setSelectedBrowser: any;
10
- selectedViewport: any;
11
- setSelectedViewport: any;
12
- availableFilters: any;
13
- counts: any;
14
- onRefresh: any;
15
- loading: any;
16
- }): any;
@@ -1,9 +0,0 @@
1
- export function Alert({ variant, title, children, icon: CustomIcon, dismissible, onDismiss, className, }: {
2
- variant?: string;
3
- title: any;
4
- children: any;
5
- icon: any;
6
- dismissible?: boolean;
7
- onDismiss: any;
8
- className?: string;
9
- }): any;
@@ -1,17 +0,0 @@
1
- /**
2
- * Badge Component
3
- * Observatory Design System
4
- *
5
- * For status indicators, labels, and counts
6
- * Variants: default, success, warning, danger, info, purple
7
- * Sizes: sm, md
8
- */
9
- export function Badge({ children, variant, size, dot, pulseDot, className, ...props }: {
10
- [x: string]: any;
11
- children: any;
12
- variant?: string;
13
- size?: string;
14
- dot?: boolean;
15
- pulseDot?: boolean;
16
- className?: string;
17
- }): any;
@@ -1,19 +0,0 @@
1
- /**
2
- * Button Component
3
- * Observatory Design System
4
- *
5
- * Variants: primary, secondary, ghost, danger, warning, success
6
- * Sizes: sm, md, lg
7
- */
8
- export function Button({ children, variant, size, disabled, loading, icon: Icon, iconPosition, fullWidth, className, ...props }: {
9
- [x: string]: any;
10
- children: any;
11
- variant?: string;
12
- size?: string;
13
- disabled?: boolean;
14
- loading?: boolean;
15
- icon: any;
16
- iconPosition?: string;
17
- fullWidth?: boolean;
18
- className?: string;
19
- }): any;
@@ -1,31 +0,0 @@
1
- /**
2
- * Card Component
3
- * Observatory Design System
4
- *
5
- * Container component with optional accent borders
6
- * Variants: default, success, warning, danger, info, purple
7
- */
8
- export function Card({ children, variant, hover, className, ...props }: {
9
- [x: string]: any;
10
- children: any;
11
- variant: any;
12
- hover?: boolean;
13
- className?: string;
14
- }): any;
15
- export function CardHeader({ icon: Icon, title, description, iconColor, actions, className, }: {
16
- icon: any;
17
- title: any;
18
- description: any;
19
- iconColor?: string;
20
- actions: any;
21
- className?: string;
22
- }): any;
23
- export function CardBody({ children, className, padding }: {
24
- children: any;
25
- className?: string;
26
- padding?: string;
27
- }): any;
28
- export function CardFooter({ children, className }: {
29
- children: any;
30
- className?: string;
31
- }): any;
@@ -1,13 +0,0 @@
1
- /**
2
- * Empty State Component
3
- * Observatory Design System
4
- *
5
- * For empty lists, waiting states, errors
6
- */
7
- export function EmptyState({ icon: Icon, title, description, action, className, }: {
8
- icon: any;
9
- title: any;
10
- description: any;
11
- action: any;
12
- className?: string;
13
- }): any;
@@ -1,44 +0,0 @@
1
- /**
2
- * Form Controls
3
- * Observatory Design System
4
- *
5
- * Input, Select, Checkbox, Toggle
6
- */
7
- export function Input({ label, hint, error, icon: Icon, size, className, ...props }: {
8
- [x: string]: any;
9
- label: any;
10
- hint: any;
11
- error: any;
12
- icon: any;
13
- size?: string;
14
- className?: string;
15
- }): any;
16
- export function Select({ label, hint, error, options, placeholder, size, className, ...props }: {
17
- [x: string]: any;
18
- label: any;
19
- hint: any;
20
- error: any;
21
- options?: any[];
22
- placeholder?: string;
23
- size?: string;
24
- className?: string;
25
- }): any;
26
- export function Checkbox({ label, description, checked, onChange, disabled, className, ...props }: {
27
- [x: string]: any;
28
- label: any;
29
- description: any;
30
- checked: any;
31
- onChange: any;
32
- disabled?: boolean;
33
- className?: string;
34
- }): any;
35
- export function Toggle({ label, description, checked, onChange, disabled, size, className, ...props }: {
36
- [x: string]: any;
37
- label: any;
38
- description: any;
39
- checked: any;
40
- onChange: any;
41
- disabled?: boolean;
42
- size?: string;
43
- className?: string;
44
- }): any;
@@ -1,7 +0,0 @@
1
- export function HealthRing({ value, label, size, strokeWidth, className, }: {
2
- value?: number;
3
- label: any;
4
- size?: number;
5
- strokeWidth?: number;
6
- className?: string;
7
- }): any;
@@ -1,11 +0,0 @@
1
- export { Button } from "./button.jsx";
2
- export { Badge } from "./badge.jsx";
3
- export { Alert } from "./alert.jsx";
4
- export { HealthRing } from "./health-ring.jsx";
5
- export { Tabs } from "./tabs.jsx";
6
- export { EmptyState } from "./empty-state.jsx";
7
- export { Modal } from "./modal.jsx";
8
- export { Spinner } from "./spinner.jsx";
9
- export { Input, Select, Checkbox, Toggle } from "./form-controls.jsx";
10
- export { Card, CardHeader, CardBody, CardFooter } from "./card.jsx";
11
- export { Skeleton, SkeletonCard, SkeletonTable } from "./skeleton.jsx";
@@ -1,10 +0,0 @@
1
- export function Modal({ isOpen, onClose, title, description, children, size, showCloseButton, className, }: {
2
- isOpen: any;
3
- onClose: any;
4
- title: any;
5
- description: any;
6
- children: any;
7
- size?: string;
8
- showCloseButton?: boolean;
9
- className?: string;
10
- }): any;
@@ -1,19 +0,0 @@
1
- /**
2
- * Skeleton Components
3
- * Observatory Design System
4
- *
5
- * Loading placeholder animations
6
- */
7
- export function Skeleton({ variant, className, count }: {
8
- variant?: string;
9
- className?: string;
10
- count?: number;
11
- }): any;
12
- export function SkeletonCard({ className }: {
13
- className?: string;
14
- }): any;
15
- export function SkeletonTable({ rows, columns, className }: {
16
- rows?: number;
17
- columns?: number;
18
- className?: string;
19
- }): any;
@@ -1,10 +0,0 @@
1
- /**
2
- * Spinner Component
3
- * Observatory Design System
4
- *
5
- * Loading indicator
6
- */
7
- export function Spinner({ size, className }: {
8
- size?: string;
9
- className?: string;
10
- }): any;
@@ -1,13 +0,0 @@
1
- /**
2
- * Tabs Component
3
- * Observatory Design System
4
- *
5
- * Variants: default, pills, underline
6
- */
7
- export function Tabs({ tabs, activeTab, onChange, variant, className, }: {
8
- tabs?: any[];
9
- activeTab: any;
10
- onChange: any;
11
- variant?: string;
12
- className?: string;
13
- }): any;
@@ -1,5 +0,0 @@
1
- export default function Header({ currentView, onNavigate, loading }: {
2
- currentView: any;
3
- onNavigate: any;
4
- loading: any;
5
- }): any;
@@ -1,2 +0,0 @@
1
- export { default as Layout } from "./layout.jsx";
2
- export { default as Header } from "./header.jsx";
@@ -1,6 +0,0 @@
1
- export default function Layout({ children, currentView, onNavigate, loading }: {
2
- children: any;
3
- currentView: any;
4
- onNavigate: any;
5
- loading: any;
6
- }): any;
@@ -1,7 +0,0 @@
1
- export default function SmartImage({ src, alt, className, style, onClick }: {
2
- src: any;
3
- alt: any;
4
- className: any;
5
- style: any;
6
- onClick: any;
7
- }): any;
@@ -1,4 +0,0 @@
1
- export function ToastProvider({ children }: {
2
- children: any;
3
- }): any;
4
- export function useToast(): any;
@@ -1 +0,0 @@
1
- export default function BuildsView(): any;
@@ -1,5 +0,0 @@
1
- /**
2
- * Route-driven comparison detail view
3
- * The route parameter :id determines which comparison to show
4
- */
5
- export default function ComparisonDetailView(): any;
@@ -1,5 +0,0 @@
1
- /**
2
- * Comparisons list view - displays all screenshots
3
- * Clicking a screenshot navigates to /comparison/:id
4
- */
5
- export default function ComparisonsView(): any;
@@ -1 +0,0 @@
1
- export default function ProjectsView(): any;