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.
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  import {
4
4
  useUILintContext
5
- } from "./chunk-GJJH5B4Y.js";
5
+ } from "./chunk-M3H56XIZ.js";
6
6
 
7
7
  // src/components/ui-lint/ElementBadges.tsx
8
8
  import React, { useState, useEffect, useCallback, useMemo } from "react";
@@ -2,8 +2,8 @@
2
2
  "use client";
3
3
  import {
4
4
  InspectionPanel
5
- } from "./chunk-5CWWYEQM.js";
6
- import "./chunk-GJJH5B4Y.js";
5
+ } from "./chunk-XAAIRXB4.js";
6
+ import "./chunk-M3H56XIZ.js";
7
7
  export {
8
8
  InspectionPanel
9
9
  };
@@ -3,8 +3,8 @@
3
3
  import {
4
4
  InspectedElementHighlight,
5
5
  LocatorOverlay
6
- } from "./chunk-IMPRRMMY.js";
7
- import "./chunk-GJJH5B4Y.js";
6
+ } from "./chunk-OV5BPTNA.js";
7
+ import "./chunk-M3H56XIZ.js";
8
8
  export {
9
9
  InspectedElementHighlight,
10
10
  LocatorOverlay
@@ -2,8 +2,8 @@
2
2
  "use client";
3
3
  import {
4
4
  UILintToolbar
5
- } from "./chunk-KBEQSZMW.js";
6
- import "./chunk-GJJH5B4Y.js";
5
+ } from "./chunk-GLJBGFZK.js";
6
+ import "./chunk-M3H56XIZ.js";
7
7
  export {
8
8
  UILintToolbar
9
9
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useUILintContext
4
- } from "./chunk-GJJH5B4Y.js";
4
+ } from "./chunk-M3H56XIZ.js";
5
5
 
6
6
  // src/components/ui-lint/UILintToolbar.tsx
7
7
  import { useState, useRef, useEffect } from "react";
@@ -796,10 +796,10 @@ function UILintUI() {
796
796
  const [components, setComponents] = useState(null);
797
797
  useEffect(() => {
798
798
  Promise.all([
799
- import("./UILintToolbar-AX67REOL.js"),
800
- import("./InspectionPanel-7K662MF5.js"),
801
- import("./LocatorOverlay-C4IVDVBW.js"),
802
- import("./ElementBadges-ZDGDJFQU.js")
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,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useUILintContext
4
- } from "./chunk-GJJH5B4Y.js";
4
+ } from "./chunk-M3H56XIZ.js";
5
5
 
6
6
  // src/components/ui-lint/LocatorOverlay.tsx
7
7
  import { useState, useEffect, useMemo } from "react";
@@ -3,7 +3,7 @@ import {
3
3
  buildEditorUrl,
4
4
  useUILintContext,
5
5
  useUILintStore
6
- } from "./chunk-GJJH5B4Y.js";
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("div", { style: { marginTop: "6px", fontSize: "11px", color: STYLES.textDim }, children: [
1081
- "Scope: ",
1082
- scopeLabel
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-KBEQSZMW.js";
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-5CWWYEQM.js";
12
+ } from "./chunk-XAAIRXB4.js";
13
13
  import {
14
14
  LocatorOverlay
15
- } from "./chunk-IMPRRMMY.js";
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-GJJH5B4Y.js";
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.30",
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.30",
37
+ "uilint-core": "^0.1.31",
38
38
  "zustand": "^5.0.5"
39
39
  },
40
40
  "peerDependencies": {