uilint-react 0.2.111 → 0.2.112

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.
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAiC,MAAM,OAAO,CAAC;AAkBtD,wBAAgB,cAAc,sBAsS7B"}
1
+ {"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAsB,MAAM,OAAO,CAAC;AAkB3C,wBAAgB,cAAc,sBA0R7B"}
@@ -5,7 +5,7 @@ import { TileItem, TileFilter } from '../../core/plugin-system/types';
5
5
  export interface UseTileItemsResult {
6
6
  /** Filtered and deduplicated tile items to display */
7
7
  items: TileItem[];
8
- /** Whether any provider is still loading */
8
+ /** Whether any provider is still loading (always false - computation is sync) */
9
9
  isLoading: boolean;
10
10
  /** Whether current filters represent a terminal state (no more drill-down) */
11
11
  isTerminal: boolean;
@@ -13,14 +13,9 @@ export interface UseTileItemsResult {
13
13
  /**
14
14
  * Hook that returns tile items to display based on current filters.
15
15
  *
16
- * This hook uses Zustand selectors for all derived state:
17
- * 1. Gets filtered and deduplicated tile items via selectFilteredTileItems
18
- * 2. Gets loading state via selectTileItemsLoading
19
- * 3. Determines if the current filter state is terminal (from plugin registry)
20
- *
21
- * Note: The query parameter is ignored - filtering uses commandPalette.query
22
- * from the store. This parameter is kept for API compatibility but will be
23
- * removed in a future version.
16
+ * Tile items are computed on demand from plugin providers whenever filters
17
+ * change. This makes filters the single source of truth - no need to manually
18
+ * call refreshTileItems().
24
19
  *
25
20
  * @param _filters - Deprecated: filters come from the store
26
21
  * @param _query - Deprecated: query comes from the store
@@ -1 +1 @@
1
- {"version":3,"file":"useTileItems.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useTileItems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,sDAAsD;IACtD,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,4CAA4C;IAC5C,SAAS,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,CAAC,EAAE,UAAU,EAAE,EACvB,MAAM,CAAC,EAAE,MAAM,GACd,kBAAkB,CAwBpB"}
1
+ {"version":3,"file":"useTileItems.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useTileItems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,sDAAsD;IACtD,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,iFAAiF;IACjF,SAAS,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,UAAU,EAAE,OAAO,CAAC;CACrB;AAgDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,CAAC,EAAE,UAAU,EAAE,EACvB,MAAM,CAAC,EAAE,MAAM,GACd,kBAAkB,CAmCpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilint-react",
3
- "version": "0.2.111",
3
+ "version": "0.2.112",
4
4
  "description": "React component for AI-powered UI consistency checking",
5
5
  "author": "Peter Suggate",
6
6
  "repository": {
@@ -48,8 +48,8 @@
48
48
  "react-use-measure": "^2.1.7",
49
49
  "tw-animate-css": "^1.4.0",
50
50
  "zustand": "^5.0.10",
51
- "uilint-core": "0.2.111",
52
- "uilint-eslint": "0.2.111"
51
+ "uilint-core": "0.2.112",
52
+ "uilint-eslint": "0.2.112"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": "^19.0.0",