uilint-react 0.2.158 → 0.2.159
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/{SchemaPanel-Wk6fpjEp.js → SchemaPanel-CbK8qkwp.js} +2 -2
- package/dist/{SchemaPanel-Wk6fpjEp.js.map → SchemaPanel-CbK8qkwp.js.map} +1 -1
- package/dist/core/store/core-slice.d.ts +10 -0
- package/dist/core/store/core-slice.d.ts.map +1 -1
- package/dist/core/store/index.d.ts +1 -1
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/issues-selectors.d.ts +25 -0
- package/dist/core/store/issues-selectors.d.ts.map +1 -1
- package/dist/devtools.js +95 -95
- package/dist/devtools.js.map +1 -1
- package/dist/{index-BFGYqtC5.js → index-GmiP9jze.js} +5805 -5679
- package/dist/index-GmiP9jze.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/ui/components/Accordion.d.ts +8 -0
- package/dist/ui/components/Accordion.d.ts.map +1 -0
- package/dist/ui/components/HeatmapOverlay.d.ts.map +1 -1
- package/dist/ui/components/Inspector/ElementContextPanel.d.ts +5 -0
- package/dist/ui/components/Inspector/ElementContextPanel.d.ts.map +1 -0
- package/dist/ui/components/Inspector/FilePill.d.ts +10 -0
- package/dist/ui/components/Inspector/FilePill.d.ts.map +1 -0
- package/dist/ui/components/Inspector/HealthPulse.d.ts +5 -0
- package/dist/ui/components/Inspector/HealthPulse.d.ts.map +1 -0
- package/dist/ui/components/Inspector/InspectorSidebar.d.ts.map +1 -1
- package/dist/ui/components/Inspector/RuleCard.d.ts +15 -0
- package/dist/ui/components/Inspector/RuleCard.d.ts.map +1 -0
- package/dist/ui/components/Inspector/RuleCardList.d.ts +5 -0
- package/dist/ui/components/Inspector/RuleCardList.d.ts.map +1 -0
- package/dist/ui/components/Inspector/SeverityBar.d.ts +8 -0
- package/dist/ui/components/Inspector/SeverityBar.d.ts.map +1 -0
- package/package.json +11 -10
- package/dist/index-BFGYqtC5.js.map +0 -1
- package/dist/ui/components/Inspector/FileNodeAdapter.d.ts +0 -76
- package/dist/ui/components/Inspector/FileNodeAdapter.d.ts.map +0 -1
- package/dist/ui/components/Inspector/IssuesList.d.ts +0 -7
- package/dist/ui/components/Inspector/IssuesList.d.ts.map +0 -1
- package/dist/ui/components/Inspector/RuleNodeAdapter.d.ts +0 -62
- package/dist/ui/components/Inspector/RuleNodeAdapter.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as r, O as o, K as i, J as c, P as l, H as u, I as S, U as n, w as m, r as d, M as y, E as p, T as g, R as D, l as I, L as E, A as h, D as M, n as f, F, y as L, t as T, N as x, V as C, z as G, q as N, x as O, S as b, p as A, G as U, Q as v, o as B, s as P, m as R, v as _, k as w, u as z } from "./index-
|
|
1
|
+
import { i as r, O as o, K as i, J as c, P as l, H as u, I as S, U as n, w as m, r as d, M as y, E as p, T as g, R as D, l as I, L as E, A as h, D as M, n as f, F, y as L, t as T, N as x, V as C, z as G, q as N, x as O, S as b, p as A, G as U, Q as v, o as B, s as P, m as R, v as _, k as w, u as z } from "./index-GmiP9jze.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import { createEmptyStyleGuide as J, createStyleSummary as k, extractStylesFromDOM as q, generateStyleGuideFromStyles as K, mergeStyleGuides as Q, parseStyleGuide as V, serializeStyles as W } from "uilint-core";
|
|
4
4
|
import "react-dom";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
|
+
declare const AccordionRoot: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { AccordionRoot, AccordionItem, AccordionTrigger, AccordionContent };
|
|
8
|
+
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/ui/components/Accordion.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,aAAa,8JAA0B,CAAC;AAE9C,QAAA,MAAM,aAAa,iKAKjB,CAAC;AAGH,QAAA,MAAM,gBAAgB,0KAiBpB,CAAC;AAGH,QAAA,MAAM,gBAAgB,oKAepB,CAAC;AAGH,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/HeatmapOverlay.tsx"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HeatmapOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/HeatmapOverlay.tsx"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;AAiMvC,wBAAgB,cAAc,6BAsH7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementContextPanel.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/ElementContextPanel.tsx"],"names":[],"mappings":"AAqCA,MAAM,WAAW,wBAAwB;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE,wBAAwB,kDA0I1E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface FilePillProps {
|
|
2
|
+
fileName: string;
|
|
3
|
+
filePath: string;
|
|
4
|
+
ruleId: string;
|
|
5
|
+
issueCount: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function FilePill({ fileName, filePath, ruleId, issueCount, className, onClick, }: FilePillProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=FilePill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilePill.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/FilePill.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,UAAU,EACV,SAAS,EACT,OAAO,GACR,EAAE,aAAa,2CA4Df"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthPulse.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/HealthPulse.tsx"],"names":[],"mappings":"AAkBA,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+CD,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,kDA8E1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InspectorSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/InspectorSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAqE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InspectorSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/InspectorSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAqE,MAAM,OAAO,CAAC;AAqB1F,wBAAgB,gBAAgB,sBA+V/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RuleCardData } from '../../../core/store/issues-selectors';
|
|
2
|
+
import { AvailableRule } from '../../../plugins/eslint/types';
|
|
3
|
+
export interface RuleCardProps {
|
|
4
|
+
card: RuleCardData;
|
|
5
|
+
isExpanded: boolean;
|
|
6
|
+
expandedFilePath: string | null;
|
|
7
|
+
selectedIssueId: string | null;
|
|
8
|
+
showFullSource: boolean;
|
|
9
|
+
ruleMeta?: AvailableRule;
|
|
10
|
+
index: number;
|
|
11
|
+
/** @deprecated Accordion.Root handles expansion via onValueChange. Kept for interface compat. */
|
|
12
|
+
onExpand?: (ruleId: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function RuleCard({ card, isExpanded, expandedFilePath, selectedIssueId, showFullSource, ruleMeta, index, }: RuleCardProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=RuleCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleCard.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/RuleCard.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AA2FnE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,iGAAiG;IACjG,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAMD,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,QAAQ,EACR,KAAK,GACN,EAAE,aAAa,2CAmXf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleCardList.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/RuleCardList.tsx"],"names":[],"mappings":"AAqCA,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CA+G5D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface SeverityBarProps {
|
|
2
|
+
error: number;
|
|
3
|
+
warning: number;
|
|
4
|
+
info: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function SeverityBar({ error, warning, info, className }: SeverityBarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=SeverityBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeverityBar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/SeverityBar.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,gBAAgB,kDAyChF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uilint-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.159",
|
|
4
4
|
"description": "React component for AI-powered UI consistency checking",
|
|
5
5
|
"author": "Peter Suggate",
|
|
6
6
|
"repository": {
|
|
@@ -39,26 +39,27 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@emotion/is-prop-valid": "^1.4.0",
|
|
42
|
-
"
|
|
43
|
-
"fuse.js": "^7.0.0",
|
|
42
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
44
43
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
45
44
|
"@radix-ui/react-slot": "^1.2.4",
|
|
46
45
|
"class-variance-authority": "^0.7.1",
|
|
46
|
+
"diff": "^7.0.0",
|
|
47
|
+
"fuse.js": "^7.0.0",
|
|
47
48
|
"html-to-image": "^1.11.13",
|
|
48
49
|
"lucide-react": "^0.562.0",
|
|
49
50
|
"react-use-measure": "^2.1.7",
|
|
50
51
|
"tw-animate-css": "^1.4.0",
|
|
51
52
|
"zustand": "^5.0.10",
|
|
52
|
-
"uilint-core": "0.2.
|
|
53
|
-
"uilint-eslint": "0.2.
|
|
53
|
+
"uilint-core": "0.2.159",
|
|
54
|
+
"uilint-eslint": "0.2.159"
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {
|
|
56
57
|
"react": "^19.0.0",
|
|
57
58
|
"react-dom": "^19.0.0",
|
|
58
|
-
"uilint-
|
|
59
|
-
"uilint-duplicates": "0.2.
|
|
60
|
-
"uilint-
|
|
61
|
-
"uilint-
|
|
59
|
+
"uilint-coverage": "0.2.157",
|
|
60
|
+
"uilint-duplicates": "0.2.159",
|
|
61
|
+
"uilint-semantic": "0.2.156",
|
|
62
|
+
"uilint-vision": "0.2.159"
|
|
62
63
|
},
|
|
63
64
|
"peerDependenciesMeta": {
|
|
64
65
|
"uilint-vision": {
|
|
@@ -76,10 +77,10 @@
|
|
|
76
77
|
},
|
|
77
78
|
"devDependencies": {
|
|
78
79
|
"@eslint/js": "^9.39.2",
|
|
79
|
-
"@types/diff": "^7.0.0",
|
|
80
80
|
"@tailwindcss/postcss": "^4.1.18",
|
|
81
81
|
"@testing-library/dom": "^10.4.1",
|
|
82
82
|
"@testing-library/react": "^16.3.1",
|
|
83
|
+
"@types/diff": "^7.0.0",
|
|
83
84
|
"@types/jsdom": "^27.0.0",
|
|
84
85
|
"@types/react": "^19.2.8",
|
|
85
86
|
"@types/react-dom": "^19.2.3",
|