uilint-react 0.2.34 → 0.2.36
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.
- package/dist/components/ui-lint/HeatmapOverlay.d.ts.map +1 -1
- package/dist/components/ui-lint/UILintUI.d.ts.map +1 -1
- package/dist/components/ui-lint/command-palette/CommandPalette.d.ts.map +1 -1
- package/dist/components/ui-lint/command-palette/CommandPaletteResults.d.ts +10 -7
- package/dist/components/ui-lint/command-palette/CommandPaletteResults.d.ts.map +1 -1
- package/dist/components/ui-lint/command-palette/FilterChips.d.ts.map +1 -1
- package/dist/components/ui-lint/command-palette/icons.d.ts +2 -0
- package/dist/components/ui-lint/command-palette/icons.d.ts.map +1 -1
- package/dist/components/ui-lint/command-palette/types.d.ts +2 -20
- package/dist/components/ui-lint/command-palette/types.d.ts.map +1 -1
- package/dist/components/ui-lint/inspector/ElementInspector.d.ts +9 -0
- package/dist/components/ui-lint/inspector/ElementInspector.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/FullFileViewer.d.ts +17 -0
- package/dist/components/ui-lint/inspector/FullFileViewer.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/InspectorSidebar.d.ts +12 -0
- package/dist/components/ui-lint/inspector/InspectorSidebar.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/IssueInspector.d.ts +12 -0
- package/dist/components/ui-lint/inspector/IssueInspector.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/MarkdownRenderer.d.ts +11 -0
- package/dist/components/ui-lint/inspector/MarkdownRenderer.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/ResizeHandle.d.ts +19 -0
- package/dist/components/ui-lint/inspector/ResizeHandle.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/RuleInspector.d.ts +10 -0
- package/dist/components/ui-lint/inspector/RuleInspector.d.ts.map +1 -0
- package/dist/components/ui-lint/inspector/index.d.ts +8 -0
- package/dist/components/ui-lint/inspector/index.d.ts.map +1 -0
- package/dist/components/ui-lint/store.d.ts +59 -37
- package/dist/components/ui-lint/store.d.ts.map +1 -1
- package/dist/devtools.js +93 -91
- package/dist/devtools.js.map +1 -1
- package/dist/index.js +4103 -5040
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/components/ui-lint/command-palette/CoverageCodePreview.d.ts +0 -15
- package/dist/components/ui-lint/command-palette/CoverageCodePreview.d.ts.map +0 -1
- package/dist/components/ui-lint/coverage-colors.d.ts +0 -33
- package/dist/components/ui-lint/coverage-colors.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uilint-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.36",
|
|
4
4
|
"description": "React component for AI-powered UI consistency checking",
|
|
5
5
|
"author": "Peter Suggate",
|
|
6
6
|
"repository": {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"react-use-measure": "^2.1.7",
|
|
48
48
|
"tw-animate-css": "^1.4.0",
|
|
49
49
|
"zustand": "^5.0.10",
|
|
50
|
-
"uilint-core": "0.2.
|
|
51
|
-
"uilint-eslint": "0.2.
|
|
50
|
+
"uilint-core": "0.2.36",
|
|
51
|
+
"uilint-eslint": "0.2.36"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": "^19.0.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface CoverageCodePreviewProps {
|
|
2
|
-
filePath: string;
|
|
3
|
-
lineNumber: number;
|
|
4
|
-
columnNumber?: number;
|
|
5
|
-
/** Initial context lines (default: 5) */
|
|
6
|
-
initialContextLines?: number;
|
|
7
|
-
/** Maximum height of the preview (default: "max-h-96") */
|
|
8
|
-
maxHeightClass?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Source code preview component with line-level coverage highlighting
|
|
12
|
-
*/
|
|
13
|
-
export declare function CoverageCodePreview({ filePath, lineNumber, columnNumber, initialContextLines, maxHeightClass, }: CoverageCodePreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=CoverageCodePreview.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CoverageCodePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-lint/command-palette/CoverageCodePreview.tsx"],"names":[],"mappings":"AAUA,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA0DD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,mBAAuB,EACvB,cAA2B,GAC5B,EAAE,wBAAwB,2CAsL1B"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Coverage heatmap color utilities
|
|
3
|
-
*
|
|
4
|
-
* Maps coverage percentages to colors using OKLCH color space.
|
|
5
|
-
* Color scheme: Green (100%) → Yellow (50%) → Red (0%)
|
|
6
|
-
*
|
|
7
|
-
* Inverse of issue heatmap - lower coverage = more visible overlay
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Get CSS color string for coverage percentage.
|
|
11
|
-
* Interpolates hue from red (0%) through yellow (50%) to green (100%).
|
|
12
|
-
*
|
|
13
|
-
* @param percentage - Coverage percentage (0-100)
|
|
14
|
-
* @returns OKLCH color string
|
|
15
|
-
*/
|
|
16
|
-
export declare function getCoverageColor(percentage: number): string;
|
|
17
|
-
/**
|
|
18
|
-
* Calculate opacity for coverage overlay.
|
|
19
|
-
* Lower coverage = more visible (inverse of issue heatmap).
|
|
20
|
-
*
|
|
21
|
-
* @param percentage - Coverage percentage (0-100)
|
|
22
|
-
* @returns Opacity value between MIN_OPACITY and MAX_OPACITY
|
|
23
|
-
*/
|
|
24
|
-
export declare function getCoverageOpacity(percentage: number): number;
|
|
25
|
-
/**
|
|
26
|
-
* Get border color for coverage overlay.
|
|
27
|
-
* Slightly more saturated and darker for visibility.
|
|
28
|
-
*
|
|
29
|
-
* @param percentage - Coverage percentage (0-100)
|
|
30
|
-
* @returns OKLCH color string for border
|
|
31
|
-
*/
|
|
32
|
-
export declare function getCoverageBorderColor(percentage: number): string;
|
|
33
|
-
//# sourceMappingURL=coverage-colors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coverage-colors.d.ts","sourceRoot":"","sources":["../../../src/components/ui-lint/coverage-colors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAmBH;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAU3D;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAQ7D;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAYjE"}
|