uilint-react 0.2.90 → 0.2.92

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/core/plugin-system/types.d.ts +6 -1
  2. package/dist/core/plugin-system/types.d.ts.map +1 -1
  3. package/dist/core/store/category-slice.d.ts +15 -0
  4. package/dist/core/store/category-slice.d.ts.map +1 -1
  5. package/dist/core/store/composed-store.d.ts +4 -2
  6. package/dist/core/store/composed-store.d.ts.map +1 -1
  7. package/dist/core/store/core-slice.d.ts +25 -0
  8. package/dist/core/store/core-slice.d.ts.map +1 -1
  9. package/dist/core/store/drag-slice.d.ts +107 -0
  10. package/dist/core/store/drag-slice.d.ts.map +1 -0
  11. package/dist/core/store/subscriptions.d.ts +102 -0
  12. package/dist/core/store/subscriptions.d.ts.map +1 -0
  13. package/dist/devtools.js +99 -99
  14. package/dist/devtools.js.map +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +4768 -4666
  18. package/dist/index.js.map +1 -1
  19. package/dist/plugins/vision/index.d.ts.map +1 -1
  20. package/dist/ui/UILint.d.ts.map +1 -1
  21. package/dist/ui/components/CommandPalette/CommandPalette.d.ts.map +1 -1
  22. package/dist/ui/components/CommandPalette/useScrollSelectedIntoView.d.ts.map +1 -1
  23. package/dist/ui/components/FloatingIcon.d.ts.map +1 -1
  24. package/dist/ui/components/Inspector/InspectorSidebar.d.ts.map +1 -1
  25. package/dist/ui/components/RegionSelector.d.ts.map +1 -1
  26. package/dist/ui/hooks/index.d.ts +2 -4
  27. package/dist/ui/hooks/index.d.ts.map +1 -1
  28. package/dist/ui/hooks/useCategoryRegistry.d.ts +19 -0
  29. package/dist/ui/hooks/useCategoryRegistry.d.ts.map +1 -1
  30. package/dist/ui/index.d.ts +1 -1
  31. package/dist/ui/index.d.ts.map +1 -1
  32. package/package.json +3 -3
  33. package/dist/ui/hooks/useIsMobile.d.ts +0 -14
  34. package/dist/ui/hooks/useIsMobile.d.ts.map +0 -1
  35. package/dist/ui/hooks/useKeyboardShortcuts.d.ts +0 -10
  36. package/dist/ui/hooks/useKeyboardShortcuts.d.ts.map +0 -1
  37. package/dist/ui/hooks/useTouchDrag.d.ts +0 -19
  38. package/dist/ui/hooks/useTouchDrag.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/vision/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAwG,MAAM,gCAAgC,CAAC;AAEnK,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA2L3C;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,WAAW,CAyO5C,CAAC;AAGF,YAAY,EACV,WAAW,EACX,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,eAAe,EACf,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAExH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/vision/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAwG,MAAM,gCAAgC,CAAC;AAEnK,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAuQ3C;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,WAAW,CAyO5C,CAAC;AAGF,YAAY,EACV,WAAW,EACX,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,eAAe,EACf,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAExH,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UILint.d.ts","sourceRoot":"","sources":["../../src/ui/UILint.tsx"],"names":[],"mappings":"AAgDA,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,EAAE,OAAc,EAAE,EAAE,WAAW,kDA4DrD;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"UILint.d.ts","sourceRoot":"","sources":["../../src/ui/UILint.tsx"],"names":[],"mappings":"AAkDA,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,EAAE,OAAc,EAAE,EAAE,WAAW,kDA4DrD;AAED,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAoD,MAAM,OAAO,CAAC;AAwRzE,wBAAgB,cAAc,sBAulB7B"}
1
+ {"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAA+B,MAAM,OAAO,CAAC;AAwRpD,wBAAgB,cAAc,sBA8kB7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollSelectedIntoView.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/useScrollSelectedIntoView.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;GAIG;AAEH,UAAU,0BAA0B;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,qBAAqB,4DAAyD,CAAC;AAE5F;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,0BAA0B,CAiB3F;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC,WAAW,CAAC,CAWvE"}
1
+ {"version":3,"file":"useScrollSelectedIntoView.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/useScrollSelectedIntoView.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;GAIG;AAEH,UAAU,0BAA0B;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,qBAAqB,4DAAyD,CAAC;AAE5F;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,0BAA0B,CAkB3F;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC,WAAW,CAAC,CAWvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingIcon.d.ts","sourceRoot":"","sources":["../../../src/ui/components/FloatingIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAA+D,MAAM,OAAO,CAAC;AA4QpF,wBAAgB,YAAY,6BA+X3B"}
1
+ {"version":3,"file":"FloatingIcon.d.ts","sourceRoot":"","sources":["../../../src/ui/components/FloatingIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAoE,MAAM,OAAO,CAAC;AAoOzF,wBAAgB,YAAY,6BAkW3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"InspectorSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/InspectorSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkBjF,wBAAgB,gBAAgB,sBA4W/B"}
1
+ {"version":3,"file":"InspectorSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/InspectorSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAqE,MAAM,OAAO,CAAC;AAiB1F,wBAAgB,gBAAgB,sBA2U/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"RegionSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/RegionSelector.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAGlE,MAAM,WAAW,cAAc;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,qDAAqD;IACrD,gBAAgB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAuED,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,gBAAgB,EAChB,QAAQ,GACT,EAAE,mBAAmB,4BAgNrB;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"RegionSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/RegionSelector.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAA8D,MAAM,OAAO,CAAC;AAGnF,MAAM,WAAW,cAAc;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,qDAAqD;IACrD,gBAAgB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAuED,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,gBAAgB,EAChB,QAAQ,GACT,EAAE,mBAAmB,4BAiNrB;AAED,eAAe,cAAc,CAAC"}
@@ -1,8 +1,6 @@
1
1
  export { useIssues } from './useIssues';
2
- export { useKeyboardShortcuts } from './useKeyboardShortcuts';
3
2
  export { useElementRects } from './useElementRects';
4
3
  export { useSourceCode } from './useSourceCode';
5
- export { useCategoryRegistry, useCategoryItems, useLoadCategoryItems, type UseCategoryRegistryReturn, } from './useCategoryRegistry';
6
- export { useIsMobile, BREAKPOINTS } from './useIsMobile';
7
- export { useTouchDrag } from './useTouchDrag';
4
+ export { useCategoryRegistry, useCategoryItems, useCategoryItemsDirect, useLoadCategoryItems, useLoadCategoryWithChildren, type UseCategoryRegistryReturn, } from './useCategoryRegistry';
5
+ export { BREAKPOINTS } from '../../core/store/core-slice';
8
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,EAC3B,KAAK,yBAAyB,GAC/B,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
@@ -47,6 +47,9 @@ export declare function useCategoryRegistry(): UseCategoryRegistryReturn;
47
47
  * Hook to get cached items for a specific category.
48
48
  * More efficient than useCategoryRegistry when you only need items for one category.
49
49
  *
50
+ * When the category is a parent (has children), returns aggregated items
51
+ * from all child categories combined.
52
+ *
50
53
  * @param categoryId - The category ID to get items for
51
54
  * @returns Array of cached items (empty if not loaded)
52
55
  *
@@ -59,6 +62,15 @@ export declare function useCategoryRegistry(): UseCategoryRegistryReturn;
59
62
  * ```
60
63
  */
61
64
  export declare function useCategoryItems(categoryId: string | null): CategoryItem[];
65
+ /**
66
+ * Hook to get cached items for a specific category (direct items only, no aggregation).
67
+ * Use this when you specifically want only the items registered directly to a category,
68
+ * not including any child category items.
69
+ *
70
+ * @param categoryId - The category ID to get items for
71
+ * @returns Array of directly cached items (empty if not loaded)
72
+ */
73
+ export declare function useCategoryItemsDirect(categoryId: string | null): CategoryItem[];
62
74
  /**
63
75
  * Hook to load items for a category.
64
76
  * Returns a stable callback that loads items on demand.
@@ -66,4 +78,11 @@ export declare function useCategoryItems(categoryId: string | null): CategoryIte
66
78
  * @returns Function to load items for a category
67
79
  */
68
80
  export declare function useLoadCategoryItems(): (categoryId: string) => Promise<CategoryItem[]>;
81
+ /**
82
+ * Hook to load items for a category and all its children.
83
+ * Useful when selecting a parent category that should display aggregated items.
84
+ *
85
+ * @returns Function that loads items for a category and all child categories
86
+ */
87
+ export declare function useLoadCategoryWithChildren(): (categoryId: string) => Promise<void>;
69
88
  //# sourceMappingURL=useCategoryRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCategoryRegistry.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useCategoryRegistry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,wEAAwE;IACxE,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,yCAAyC;IACzC,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IAC3D,iDAAiD;IACjD,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,YAAY,EAAE,CAAC;IACvD,qCAAqC;IACrC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,YAAY,EAAE,CAAC;IACpE,wDAAwD;IACxD,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,gDAAgD;IAChD,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,mBAAmB,IAAI,yBAAyB,CAwC/D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,YAAY,EAAE,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAEtF"}
1
+ {"version":3,"file":"useCategoryRegistry.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useCategoryRegistry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,wEAAwE;IACxE,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,yCAAyC;IACzC,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IAC3D,iDAAiD;IACjD,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,YAAY,EAAE,CAAC;IACvD,qCAAqC;IACrC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,YAAY,EAAE,CAAC;IACpE,wDAAwD;IACxD,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,gDAAgD;IAChD,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,mBAAmB,IAAI,yBAAyB,CAwC/D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,YAAY,EAAE,CAE1E;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,YAAY,EAAE,CAEhF;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAEtF;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,IAAI,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAyBnF"}
@@ -7,7 +7,7 @@ export { UILint, type UILintProps } from './UILint';
7
7
  export { UILint as default } from './UILint';
8
8
  export type { Issue, IssueSeverity, IssueStatus, RawESLintIssue } from './types';
9
9
  export { parseDataLoc, createIssueId, severityFromNumber, severityToColor, fromESLintIssue } from './types';
10
- export { useIssues, useKeyboardShortcuts, useElementRects } from './hooks';
10
+ export { useIssues, useElementRects } from './hooks';
11
11
  export { FloatingIcon } from './components/FloatingIcon';
12
12
  export { HeatmapOverlay } from './components/HeatmapOverlay';
13
13
  export { CommandPalette } from './components/CommandPalette';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAG7C,YAAY,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACjF,OAAO,EACL,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,eAAe,EAChB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG3E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAG7C,YAAY,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACjF,OAAO,EACL,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,eAAe,EAChB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAGrD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,cAAc,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilint-react",
3
- "version": "0.2.90",
3
+ "version": "0.2.92",
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.90",
51
- "uilint-eslint": "0.2.90"
50
+ "uilint-eslint": "0.2.92",
51
+ "uilint-core": "0.2.92"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^19.0.0",
@@ -1,14 +0,0 @@
1
- interface MobileState {
2
- isMobile: boolean;
3
- isTablet: boolean;
4
- isTouchDevice: boolean;
5
- isSmallScreen: boolean;
6
- }
7
- export declare const BREAKPOINTS: {
8
- readonly sm: 640;
9
- readonly md: 768;
10
- readonly lg: 1024;
11
- };
12
- export declare function useIsMobile(): MobileState;
13
- export {};
14
- //# sourceMappingURL=useIsMobile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIsMobile.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useIsMobile.ts"],"names":[],"mappings":"AAKA,UAAU,WAAW;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,WAAW;;;;CAId,CAAC;AA+BX,wBAAgB,WAAW,IAAI,WAAW,CAyBzC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Hook for global keyboard shortcuts
3
- * - Cmd/Ctrl+K: Toggle command palette
4
- * - Cmd/Ctrl+Shift+C: Vision capture full page
5
- * - Cmd/Ctrl+Shift+R: Vision capture region
6
- * - Escape: Close command palette
7
- * - Alt: Enable heatmap hover details
8
- */
9
- export declare function useKeyboardShortcuts(): void;
10
- //# sourceMappingURL=useKeyboardShortcuts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,SA+EnC"}
@@ -1,19 +0,0 @@
1
- interface Position {
2
- x: number;
3
- y: number;
4
- }
5
- interface UseTouchDragOptions {
6
- onDragStart?: (position: Position) => void;
7
- onDragMove?: (position: Position, delta: Position) => void;
8
- onDragEnd?: (position: Position, velocity: Position) => void;
9
- threshold?: number;
10
- }
11
- export declare function useTouchDrag(options?: UseTouchDragOptions): {
12
- isDragging: boolean;
13
- handlers: {
14
- onMouseDown: (e: React.MouseEvent | React.TouchEvent) => void;
15
- onTouchStart: (e: React.MouseEvent | React.TouchEvent) => void;
16
- };
17
- };
18
- export {};
19
- //# sourceMappingURL=useTouchDrag.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTouchDrag.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useTouchDrag.ts"],"names":[],"mappings":"AAKA,UAAU,QAAQ;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AASD,UAAU,mBAAmB;IAC3B,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC3C,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB;;;yBAkGtD,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU;0BAAnC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU;;EAuB1C"}