uilint-react 0.2.99 → 0.2.101
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/devtools.js +102 -102
- package/dist/devtools.js.map +1 -1
- package/dist/index.js +4129 -4628
- package/dist/index.js.map +1 -1
- package/dist/ui/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/KeywordSidebar.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/Tile.d.ts +6 -1
- package/dist/ui/components/CommandPalette/Tile.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/TileGrid.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/layout/index.d.ts +8 -0
- package/dist/ui/components/CommandPalette/layout/index.d.ts.map +1 -0
- package/dist/ui/components/CommandPalette/layout/mosaic-layout.d.ts +25 -0
- package/dist/ui/components/CommandPalette/layout/mosaic-layout.d.ts.map +1 -0
- package/dist/ui/components/CommandPalette/layout/types.d.ts +60 -0
- package/dist/ui/components/CommandPalette/layout/types.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/ui/components/CommandPalette/AnimatedListItem.d.ts +0 -32
- package/dist/ui/components/CommandPalette/AnimatedListItem.d.ts.map +0 -1
- package/dist/ui/components/CommandPalette/FileHeader.d.ts +0 -8
- package/dist/ui/components/CommandPalette/FileHeader.d.ts.map +0 -1
- package/dist/ui/components/CommandPalette/IssuesSummaryCard.d.ts +0 -19
- package/dist/ui/components/CommandPalette/IssuesSummaryCard.d.ts.map +0 -1
- package/dist/ui/components/CommandPalette/MobileCategoryTabs.d.ts +0 -9
- package/dist/ui/components/CommandPalette/MobileCategoryTabs.d.ts.map +0 -1
- package/dist/ui/components/CommandPalette/ResultItem.d.ts +0 -9
- package/dist/ui/components/CommandPalette/ResultItem.d.ts.map +0 -1
- package/dist/ui/components/CommandPalette/RuleItem.d.ts +0 -11
- package/dist/ui/components/CommandPalette/RuleItem.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/CommandPalette.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAA0C,MAAM,OAAO,CAAC;AAkB/D,wBAAgB,cAAc,sBAwS7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeywordSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/KeywordSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"KeywordSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/KeywordSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAmIH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,EAAE,mBAAmB,2CAgEhE"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
1
2
|
import { TileItem, TileBucket } from '../../../core/plugin-system/types';
|
|
2
|
-
|
|
3
|
+
declare const tileVariants: (props?: ({
|
|
4
|
+
selected?: boolean | null | undefined;
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
interface TileProps extends VariantProps<typeof tileVariants> {
|
|
3
8
|
item: TileItem;
|
|
4
9
|
bucket: TileBucket;
|
|
5
10
|
isSelected: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/Tile.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/Tile.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAM9E,QAAA,MAAM,YAAY;;;8EA0BjB,CAAC;AAkDF,UAAU,SAAU,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IAC3D,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AA0FD,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,SAAS,2CAiDpE;AAED,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TileGrid.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/TileGrid.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"TileGrid.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/TileGrid.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAIlE,UAAU,aAAa;IACrB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,WAAW,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA6CD,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,aAAa,EACb,UAAkB,GACnB,EAAE,aAAa,2CA2Ef;AAED,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tile Mosaic Layout Module
|
|
3
|
+
*
|
|
4
|
+
* Pure functions for calculating tile positions in a flexbox-based mosaic grid.
|
|
5
|
+
*/
|
|
6
|
+
export { calculateMosaicLayout, calculateBucket, calculateBuckets, groupTilesByRow, getBucketHeight, } from './mosaic-layout';
|
|
7
|
+
export type { TileLayout, MosaicLayoutResult, MosaicLayoutConfig, LayoutItem, } from './types';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/CommandPalette/layout/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,GAChB,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,GACX,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TileBucket } from '../../../../core/plugin-system/types';
|
|
2
|
+
import { MosaicLayoutResult, MosaicLayoutConfig, LayoutItem } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Calculate bucket size based on normalized percentiles.
|
|
5
|
+
*/
|
|
6
|
+
export declare function calculateBucket(count: number, sortedCounts: number[]): TileBucket;
|
|
7
|
+
/**
|
|
8
|
+
* Calculate buckets for all items based on their counts
|
|
9
|
+
*/
|
|
10
|
+
export declare function calculateBuckets(items: LayoutItem[]): Map<string, TileBucket>;
|
|
11
|
+
/**
|
|
12
|
+
* Main bin-packing mosaic layout algorithm
|
|
13
|
+
*/
|
|
14
|
+
export declare function calculateMosaicLayout(items: LayoutItem[], config?: MosaicLayoutConfig): MosaicLayoutResult;
|
|
15
|
+
/**
|
|
16
|
+
* Group tiles by row for rendering (kept for backwards compatibility)
|
|
17
|
+
*/
|
|
18
|
+
export declare function groupTilesByRow<T extends {
|
|
19
|
+
id: string;
|
|
20
|
+
}>(items: T[], layout: MosaicLayoutResult): T[][];
|
|
21
|
+
/**
|
|
22
|
+
* Get bucket height in pixels
|
|
23
|
+
*/
|
|
24
|
+
export declare function getBucketHeight(bucket: TileBucket): number;
|
|
25
|
+
//# sourceMappingURL=mosaic-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mosaic-layout.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/CommandPalette/layout/mosaic-layout.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAEV,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACX,MAAM,SAAS,CAAC;AAmBjB;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,UAAU,CAYjF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAS7E;AAqGD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,UAAU,EAAE,EACnB,MAAM,GAAE,kBAAuB,GAC9B,kBAAkB,CAuFpB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EACtD,KAAK,EAAE,CAAC,EAAE,EACV,MAAM,EAAE,kBAAkB,GACzB,CAAC,EAAE,EAAE,CAeP;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAE1D"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { TileBucket } from '../../../../core/plugin-system/types';
|
|
2
|
+
/**
|
|
3
|
+
* Layout information for a single tile
|
|
4
|
+
*/
|
|
5
|
+
export interface TileLayout {
|
|
6
|
+
/** Tile ID */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Row index (0-based) - legacy, not used for absolute positioning */
|
|
9
|
+
row: number;
|
|
10
|
+
/** Column index within row (0-based) */
|
|
11
|
+
column: number;
|
|
12
|
+
/** CSS width value (e.g., "158px") */
|
|
13
|
+
width: string;
|
|
14
|
+
/** Width as fraction (0.5, 0.333, etc.) */
|
|
15
|
+
widthFraction: number;
|
|
16
|
+
/** Size bucket for height */
|
|
17
|
+
bucket: TileBucket;
|
|
18
|
+
/** Whether this tile starts a new row */
|
|
19
|
+
isRowStart: boolean;
|
|
20
|
+
/** Absolute X position in pixels */
|
|
21
|
+
x: number;
|
|
22
|
+
/** Absolute Y position in pixels */
|
|
23
|
+
y: number;
|
|
24
|
+
/** Height in pixels */
|
|
25
|
+
height: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Result of mosaic layout calculation
|
|
29
|
+
*/
|
|
30
|
+
export interface MosaicLayoutResult {
|
|
31
|
+
/** Map of tile ID to layout info */
|
|
32
|
+
tiles: Map<string, TileLayout>;
|
|
33
|
+
/** Total number of rows (approximate) */
|
|
34
|
+
rowCount: number;
|
|
35
|
+
/** Number of columns */
|
|
36
|
+
columnCount: number;
|
|
37
|
+
/** Layout pattern used */
|
|
38
|
+
pattern: "single" | "pair" | "trio" | "quad" | "grid";
|
|
39
|
+
/** Total height of the layout in pixels */
|
|
40
|
+
totalHeight: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Configuration for mosaic layout calculation
|
|
44
|
+
*/
|
|
45
|
+
export interface MosaicLayoutConfig {
|
|
46
|
+
/** Available width in pixels (default: 500) */
|
|
47
|
+
availableWidth?: number;
|
|
48
|
+
/** Gap between tiles in pixels (default: 12) */
|
|
49
|
+
gap?: number;
|
|
50
|
+
/** Minimum tile width in pixels (default: 140) */
|
|
51
|
+
minTileWidth?: number;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Input item for layout calculation (minimal interface)
|
|
55
|
+
*/
|
|
56
|
+
export interface LayoutItem {
|
|
57
|
+
id: string;
|
|
58
|
+
count: number;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/CommandPalette/layout/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,sCAAsC,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,cAAc;IACd,EAAE,EAAE,MAAM,CAAC;IACX,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,MAAM,EAAE,UAAU,CAAC;IACnB,yCAAyC;IACzC,UAAU,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,CAAC,EAAE,MAAM,CAAC;IACV,oCAAoC;IACpC,CAAC,EAAE,MAAM,CAAC;IACV,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC/B,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,wBAAwB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACtD,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uilint-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.101",
|
|
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.
|
|
52
|
-
"uilint-eslint": "0.2.
|
|
51
|
+
"uilint-core": "0.2.101",
|
|
52
|
+
"uilint-eslint": "0.2.101"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": "^19.0.0",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface AnimatedListItemProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
index: number;
|
|
5
|
-
/** Optional key for AnimatePresence tracking */
|
|
6
|
-
layoutId?: string;
|
|
7
|
-
/** Max delay cap to prevent slow renders on long lists */
|
|
8
|
-
maxDelay?: number;
|
|
9
|
-
/** Base delay between items */
|
|
10
|
-
staggerDelay?: number;
|
|
11
|
-
}
|
|
12
|
-
export declare function AnimatedListItem({ children, index, layoutId, maxDelay, staggerDelay, }: AnimatedListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
/**
|
|
14
|
-
* AnimatedSection - Wrapper for section headers with slide-in animation
|
|
15
|
-
*/
|
|
16
|
-
export declare function AnimatedSection({ children, delay, }: {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
delay?: number;
|
|
19
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
/**
|
|
21
|
-
* SelectionIndicator - Animated selection background
|
|
22
|
-
*
|
|
23
|
-
* Provides a smooth morphing selection indicator like Raycast
|
|
24
|
-
*/
|
|
25
|
-
export declare function SelectionIndicator({ isSelected, children, variant, resultIndex, }: {
|
|
26
|
-
isSelected: boolean;
|
|
27
|
-
children: React.ReactNode;
|
|
28
|
-
variant?: "default" | "command" | "issue";
|
|
29
|
-
resultIndex?: number;
|
|
30
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=AnimatedListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedListItem.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/AnimatedListItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAKD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,QAAe,EACf,YAAmB,GACpB,EAAE,qBAAqB,2CA0BvB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAS,GACV,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,2CAqBA;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,QAAQ,EACR,OAAmB,EACnB,WAAW,GACZ,EAAE;IACD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,2CAqEA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface FileHeaderProps {
|
|
2
|
-
fileName: string;
|
|
3
|
-
directory: string;
|
|
4
|
-
count: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function FileHeader({ fileName, directory, count }: FileHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=FileHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileHeader.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/FileHeader.tsx"],"names":[],"mappings":"AAMA,UAAU,eAAe;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,2CAezE"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Issue } from '../../types';
|
|
2
|
-
interface IssuesSummaryCardProps {
|
|
3
|
-
issues: Issue[];
|
|
4
|
-
isSelected: boolean;
|
|
5
|
-
resultIndex?: number;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function IssuesSummaryCard({ issues, isSelected, resultIndex, onClick }: IssuesSummaryCardProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
/**
|
|
10
|
-
* TopIssuesPreview - Shows a few critical issues as a preview
|
|
11
|
-
*/
|
|
12
|
-
export declare function TopIssuesPreview({ issues, onSelectIssue, startIndex, selectedIndex, }: {
|
|
13
|
-
issues: Issue[];
|
|
14
|
-
onSelectIssue: (issue: Issue) => void;
|
|
15
|
-
startIndex: number;
|
|
16
|
-
selectedIndex: number;
|
|
17
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=IssuesSummaryCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IssuesSummaryCard.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/IssuesSummaryCard.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,UAAU,sBAAsB;IAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAQD,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,sBAAsB,kDAiIrG;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,GACd,EAAE;IACD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,kDAoCA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CategoryNode } from '../../../core/store/category-slice';
|
|
2
|
-
interface MobileCategoryTabsProps {
|
|
3
|
-
categories: CategoryNode[];
|
|
4
|
-
selectedId: string | null;
|
|
5
|
-
onSelect: (categoryId: string | null) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function MobileCategoryTabs({ categories, selectedId, onSelect, }: MobileCategoryTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=MobileCategoryTabs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCategoryTabs.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/MobileCategoryTabs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE,UAAU,uBAAuB;IAC/B,UAAU,EAAE,YAAY,EAAE,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC/C;AAED,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,2CAkGzB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Issue } from '../../types';
|
|
2
|
-
interface ResultItemProps {
|
|
3
|
-
issue: Issue;
|
|
4
|
-
isSelected: boolean;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function ResultItem({ issue, isSelected, onClick }: ResultItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=ResultItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultItem.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/ResultItem.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,UAAU,eAAe;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,eAAe,2CAiEzE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RuleDefinition } from '../../../core/plugin-system/types';
|
|
2
|
-
interface RuleItemProps {
|
|
3
|
-
rule: RuleDefinition;
|
|
4
|
-
issueCount: number;
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
onSeverityChange: (ruleId: string, severity: "error" | "warning" | "off") => void;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function RuleItem({ rule, issueCount, isSelected, onSeverityChange, onClick, }: RuleItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=RuleItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuleItem.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/RuleItem.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAExE,UAAU,aAAa;IACrB,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,KAAK,KAAK,IAAI,CAAC;IAClF,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAmDD,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,OAAO,GACR,EAAE,aAAa,2CAkGf"}
|