uilint-react 0.2.158 → 0.2.160

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 (38) hide show
  1. package/dist/{SchemaPanel-Wk6fpjEp.js → SchemaPanel-CEjdlfbl.js} +2 -2
  2. package/dist/{SchemaPanel-Wk6fpjEp.js.map → SchemaPanel-CEjdlfbl.js.map} +1 -1
  3. package/dist/core/store/core-slice.d.ts +10 -0
  4. package/dist/core/store/core-slice.d.ts.map +1 -1
  5. package/dist/core/store/file-groups-selector.d.ts.map +1 -1
  6. package/dist/core/store/index.d.ts +1 -1
  7. package/dist/core/store/index.d.ts.map +1 -1
  8. package/dist/core/store/issues-selectors.d.ts +37 -1
  9. package/dist/core/store/issues-selectors.d.ts.map +1 -1
  10. package/dist/devtools.js +98 -98
  11. package/dist/devtools.js.map +1 -1
  12. package/dist/{index-BFGYqtC5.js → index-i3p0TtDD.js} +5881 -5857
  13. package/dist/index-i3p0TtDD.js.map +1 -0
  14. package/dist/index.js +1 -1
  15. package/dist/ui/components/Accordion.d.ts +8 -0
  16. package/dist/ui/components/Accordion.d.ts.map +1 -0
  17. package/dist/ui/components/HeatmapOverlay.d.ts.map +1 -1
  18. package/dist/ui/components/Inspector/ElementContextPanel.d.ts +5 -0
  19. package/dist/ui/components/Inspector/ElementContextPanel.d.ts.map +1 -0
  20. package/dist/ui/components/Inspector/FilePill.d.ts +10 -0
  21. package/dist/ui/components/Inspector/FilePill.d.ts.map +1 -0
  22. package/dist/ui/components/Inspector/HealthPulse.d.ts +5 -0
  23. package/dist/ui/components/Inspector/HealthPulse.d.ts.map +1 -0
  24. package/dist/ui/components/Inspector/InspectorSidebar.d.ts.map +1 -1
  25. package/dist/ui/components/Inspector/RuleCard.d.ts +15 -0
  26. package/dist/ui/components/Inspector/RuleCard.d.ts.map +1 -0
  27. package/dist/ui/components/Inspector/RuleCardList.d.ts +5 -0
  28. package/dist/ui/components/Inspector/RuleCardList.d.ts.map +1 -0
  29. package/dist/ui/components/Inspector/SeverityBar.d.ts +11 -0
  30. package/dist/ui/components/Inspector/SeverityBar.d.ts.map +1 -0
  31. package/package.json +11 -10
  32. package/dist/index-BFGYqtC5.js.map +0 -1
  33. package/dist/ui/components/Inspector/FileNodeAdapter.d.ts +0 -76
  34. package/dist/ui/components/Inspector/FileNodeAdapter.d.ts.map +0 -1
  35. package/dist/ui/components/Inspector/IssuesList.d.ts +0 -7
  36. package/dist/ui/components/Inspector/IssuesList.d.ts.map +0 -1
  37. package/dist/ui/components/Inspector/RuleNodeAdapter.d.ts +0 -62
  38. 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-BFGYqtC5.js";
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-i3p0TtDD.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;AA6JvC,wBAAgB,cAAc,6BAkH7B"}
1
+ {"version":3,"file":"HeatmapOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/HeatmapOverlay.tsx"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;AAoMvC,wBAAgB,cAAc,6BA8I7B"}
@@ -0,0 +1,5 @@
1
+ export interface ElementContextPanelProps {
2
+ className?: string;
3
+ }
4
+ export declare function ElementContextPanel({ className }: ElementContextPanelProps): import("react/jsx-runtime").JSX.Element | null;
5
+ //# sourceMappingURL=ElementContextPanel.d.ts.map
@@ -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,5 @@
1
+ export interface HealthPulseProps {
2
+ className?: string;
3
+ }
4
+ export declare function HealthPulse({ className }: HealthPulseProps): import("react/jsx-runtime").JSX.Element | null;
5
+ //# sourceMappingURL=HealthPulse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthPulse.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/HealthPulse.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+CD,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,kDA6E1D"}
@@ -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;AAmB1F,wBAAgB,gBAAgB,sBAyV/B"}
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":"AA6BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAmFnE,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,2CAibf"}
@@ -0,0 +1,5 @@
1
+ export interface RuleCardListProps {
2
+ className?: string;
3
+ }
4
+ export declare function RuleCardList({ className }: RuleCardListProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=RuleCardList.d.ts.map
@@ -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,11 @@
1
+ import { IssueSeverity } from '../../types';
2
+ export interface SeverityBarProps {
3
+ segments: Array<{
4
+ id: string;
5
+ count: number;
6
+ severity: IssueSeverity;
7
+ }>;
8
+ className?: string;
9
+ }
10
+ export declare function SeverityBar({ segments, className }: SeverityBarProps): import("react/jsx-runtime").JSX.Element | null;
11
+ //# 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":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,aAAa,CAAC;KACzB,CAAC,CAAC;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,gBAAgB,kDA6CpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilint-react",
3
- "version": "0.2.158",
3
+ "version": "0.2.160",
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
- "diff": "^7.0.0",
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.158",
53
- "uilint-eslint": "0.2.158"
53
+ "uilint-core": "0.2.160",
54
+ "uilint-eslint": "0.2.160"
54
55
  },
55
56
  "peerDependencies": {
56
57
  "react": "^19.0.0",
57
58
  "react-dom": "^19.0.0",
58
- "uilint-semantic": "0.2.155",
59
- "uilint-duplicates": "0.2.158",
60
- "uilint-vision": "0.2.158",
61
- "uilint-coverage": "0.2.156"
59
+ "uilint-coverage": "0.2.158",
60
+ "uilint-duplicates": "0.2.160",
61
+ "uilint-semantic": "0.2.157",
62
+ "uilint-vision": "0.2.160"
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",