uilint-react 0.1.30 → 0.1.31
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/{ElementBadges-ZDGDJFQU.js → ElementBadges-BSTXYVB7.js} +1 -1
- package/dist/{InspectionPanel-7K662MF5.js → InspectionPanel-MUUDJ2BK.js} +2 -2
- package/dist/{LocatorOverlay-C4IVDVBW.js → LocatorOverlay-XJH5TE2J.js} +2 -2
- package/dist/{UILintToolbar-AX67REOL.js → UILintToolbar-RD6BT3LL.js} +2 -2
- package/dist/{chunk-KBEQSZMW.js → chunk-GLJBGFZK.js} +1 -1
- package/dist/{chunk-GJJH5B4Y.js → chunk-M3H56XIZ.js} +4 -4
- package/dist/{chunk-IMPRRMMY.js → chunk-OV5BPTNA.js} +1 -1
- package/dist/{chunk-5CWWYEQM.js → chunk-XAAIRXB4.js} +15 -5
- package/dist/index.js +4 -4
- package/package.json +2 -2
|
@@ -796,10 +796,10 @@ function UILintUI() {
|
|
|
796
796
|
const [components, setComponents] = useState(null);
|
|
797
797
|
useEffect(() => {
|
|
798
798
|
Promise.all([
|
|
799
|
-
import("./UILintToolbar-
|
|
800
|
-
import("./InspectionPanel-
|
|
801
|
-
import("./LocatorOverlay-
|
|
802
|
-
import("./ElementBadges-
|
|
799
|
+
import("./UILintToolbar-RD6BT3LL.js"),
|
|
800
|
+
import("./InspectionPanel-MUUDJ2BK.js"),
|
|
801
|
+
import("./LocatorOverlay-XJH5TE2J.js"),
|
|
802
|
+
import("./ElementBadges-BSTXYVB7.js")
|
|
803
803
|
]).then(([toolbar, panel, locator, badges]) => {
|
|
804
804
|
setComponents({
|
|
805
805
|
Toolbar: toolbar.UILintToolbar,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildEditorUrl,
|
|
4
4
|
useUILintContext,
|
|
5
5
|
useUILintStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M3H56XIZ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/ui-lint/InspectionPanel.tsx
|
|
9
9
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
@@ -1077,10 +1077,20 @@ Please update this component to match our styleguide.`;
|
|
|
1077
1077
|
]
|
|
1078
1078
|
}
|
|
1079
1079
|
),
|
|
1080
|
-
/* @__PURE__ */ jsxs(
|
|
1081
|
-
"
|
|
1082
|
-
|
|
1083
|
-
|
|
1080
|
+
/* @__PURE__ */ jsxs(
|
|
1081
|
+
"div",
|
|
1082
|
+
{
|
|
1083
|
+
style: {
|
|
1084
|
+
marginTop: "6px",
|
|
1085
|
+
fontSize: "11px",
|
|
1086
|
+
color: STYLES.textDim
|
|
1087
|
+
},
|
|
1088
|
+
children: [
|
|
1089
|
+
"Scope: ",
|
|
1090
|
+
scopeLabel
|
|
1091
|
+
]
|
|
1092
|
+
}
|
|
1093
|
+
)
|
|
1084
1094
|
] }),
|
|
1085
1095
|
/* @__PURE__ */ jsxs(
|
|
1086
1096
|
"button",
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
UILintToolbar
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GLJBGFZK.js";
|
|
5
5
|
import {
|
|
6
6
|
InspectionPanel,
|
|
7
7
|
clearSourceCache,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
fetchSourceWithContext,
|
|
10
10
|
getCachedSource,
|
|
11
11
|
prefetchSources
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XAAIRXB4.js";
|
|
13
13
|
import {
|
|
14
14
|
LocatorOverlay
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OV5BPTNA.js";
|
|
16
16
|
import {
|
|
17
17
|
DATA_UILINT_ID,
|
|
18
18
|
DEFAULT_SETTINGS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
scanDOMForSources,
|
|
32
32
|
updateElementRects,
|
|
33
33
|
useUILintContext
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-M3H56XIZ.js";
|
|
35
35
|
|
|
36
36
|
// src/consistency/snapshot.ts
|
|
37
37
|
var DATA_ELEMENTS_ATTR = "data-elements";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uilint-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "React component for AI-powered UI consistency checking",
|
|
5
5
|
"author": "Peter Suggate",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"node": ">=20.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"uilint-core": "^0.1.
|
|
37
|
+
"uilint-core": "^0.1.31",
|
|
38
38
|
"zustand": "^5.0.5"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|