uilint-react 0.2.121 → 0.2.122
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/core/store/core-slice.d.ts +1 -22
- package/dist/core/store/core-slice.d.ts.map +1 -1
- package/dist/core/store/drag-slice.d.ts +1 -1
- package/dist/core/store/drag-slice.d.ts.map +1 -1
- package/dist/core/store/file-groups-selector.d.ts +23 -15
- package/dist/core/store/file-groups-selector.d.ts.map +1 -1
- package/dist/core/store/heatmap-selectors.d.ts +18 -23
- package/dist/core/store/heatmap-selectors.d.ts.map +1 -1
- package/dist/core/store/index.d.ts +6 -3
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/tile-selectors.d.ts +0 -4
- package/dist/core/store/tile-selectors.d.ts.map +1 -1
- package/dist/devtools.js +85 -85
- package/dist/devtools.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6953 -7411
- package/dist/index.js.map +1 -1
- package/dist/ui/UILint.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/SearchInput.d.ts +1 -8
- package/dist/ui/components/CommandPalette/SearchInput.d.ts.map +1 -1
- package/dist/ui/components/HeatmapOverlay.d.ts.map +1 -1
- package/dist/ui/components/HierarchicalTiles/ExpandableTileGrid.d.ts +35 -0
- package/dist/ui/components/HierarchicalTiles/ExpandableTileGrid.d.ts.map +1 -0
- package/dist/ui/components/HierarchicalTiles/index.d.ts +2 -0
- package/dist/ui/components/HierarchicalTiles/index.d.ts.map +1 -1
- package/dist/ui/components/HierarchicalTiles/layout/expanded-layout.d.ts +2 -0
- package/dist/ui/components/HierarchicalTiles/layout/expanded-layout.d.ts.map +1 -1
- package/dist/ui/components/Inspector/InspectorSidebar.d.ts.map +1 -1
- package/dist/ui/components/Inspector/IssuesList.d.ts +3 -1
- package/dist/ui/components/Inspector/IssuesList.d.ts.map +1 -1
- package/dist/ui/components/Inspector/RuleHeader.d.ts +3 -1
- package/dist/ui/components/Inspector/RuleHeader.d.ts.map +1 -1
- package/dist/ui/components/InspectorToggle.d.ts.map +1 -1
- package/dist/ui/components/glass-panel.d.ts +1 -1
- package/dist/ui/hooks/useTileItems.d.ts +11 -20
- package/dist/ui/hooks/useTileItems.d.ts.map +1 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/ui/components/CommandPalette/FilterChip.d.ts +0 -21
- package/dist/ui/components/CommandPalette/FilterChip.d.ts.map +0 -1
- package/dist/ui/components/FloatingIcon.d.ts +0 -3
- package/dist/ui/components/FloatingIcon.d.ts.map +0 -1
package/dist/ui/UILint.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UILint.d.ts","sourceRoot":"","sources":["../../src/ui/UILint.tsx"],"names":[],"mappings":"
|
|
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;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAsB,MAAM,OAAO,CAAC;AAsB3C,wBAAgB,cAAc,
|
|
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;AAsB3C,wBAAgB,cAAc,sBA6Q7B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { TileFilter } from '../../../core/plugin-system/types';
|
|
3
2
|
declare const searchContainerVariants: (props?: ({
|
|
4
3
|
size?: "default" | "large" | null | undefined;
|
|
5
4
|
state?: "default" | "focused" | null | undefined;
|
|
@@ -18,12 +17,6 @@ export interface SearchInputProps extends VariantProps<typeof searchContainerVar
|
|
|
18
17
|
autoFocus?: boolean;
|
|
19
18
|
/** Additional class name */
|
|
20
19
|
className?: string;
|
|
21
|
-
/** Active filters to display as chips */
|
|
22
|
-
filters?: TileFilter[];
|
|
23
|
-
/** Callback when a filter chip is removed */
|
|
24
|
-
onRemoveFilter?: (index: number) => void;
|
|
25
|
-
/** Callback when backspace is pressed with empty input */
|
|
26
|
-
onRemoveLastFilter?: () => void;
|
|
27
20
|
}
|
|
28
21
|
/**
|
|
29
22
|
* SearchInput - Hero search bar component
|
|
@@ -37,6 +30,6 @@ export interface SearchInputProps extends VariantProps<typeof searchContainerVar
|
|
|
37
30
|
* />
|
|
38
31
|
* ```
|
|
39
32
|
*/
|
|
40
|
-
export declare function SearchInput({ value, onChange, placeholder, autoFocus, size, className,
|
|
33
|
+
export declare function SearchInput({ value, onChange, placeholder, autoFocus, size, className, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
41
34
|
export { searchContainerVariants, searchInputVariants };
|
|
42
35
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/SearchInput.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/SearchInput.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUlE,QAAA,MAAM,uBAAuB;;;8EAkB5B,CAAC;AAEF,QAAA,MAAM,mBAAmB;;8EAaxB,CAAC;AA8BF,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,uBAAuB,CAAC;IACpF,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAiD,EACjD,SAAgB,EAChB,IAAI,EACJ,SAAS,GACV,EAAE,gBAAgB,2CAwGlB;AAED,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/HeatmapOverlay.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HeatmapOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/HeatmapOverlay.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;AAyIvC,wBAAgB,cAAc,6BAwG7B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BaseTileItem } from './TileGrid';
|
|
3
|
+
export interface ExpandableTileGridProps<T extends BaseTileItem> {
|
|
4
|
+
/** Root-level tile items */
|
|
5
|
+
items: T[];
|
|
6
|
+
/** ID of the currently expanded tile, or null if none */
|
|
7
|
+
expandedId: string | null;
|
|
8
|
+
/** Children to show inside the expanded tile */
|
|
9
|
+
expandedChildren: T[];
|
|
10
|
+
/** Callback when a non-expanded tile is clicked */
|
|
11
|
+
onTileClick: (item: T) => void;
|
|
12
|
+
/** Callback when a child inside the expanded tile is clicked */
|
|
13
|
+
onExpandedChildClick: (item: T) => void;
|
|
14
|
+
/** Callback when the back button is clicked on the expanded tile */
|
|
15
|
+
onBack: () => void;
|
|
16
|
+
/** Available width for the grid */
|
|
17
|
+
availableWidth: number;
|
|
18
|
+
/** Currently selected index for keyboard navigation */
|
|
19
|
+
selectedIndex?: number;
|
|
20
|
+
/** Gap between tiles (default: 14) */
|
|
21
|
+
gap?: number;
|
|
22
|
+
/** Padding around the grid */
|
|
23
|
+
padding?: {
|
|
24
|
+
top: number;
|
|
25
|
+
right: number;
|
|
26
|
+
bottom: number;
|
|
27
|
+
left: number;
|
|
28
|
+
};
|
|
29
|
+
/** Extra height to add to expanded tile for custom content (RuleHeader, RuleConfig, etc.) */
|
|
30
|
+
extraExpandedHeight?: number;
|
|
31
|
+
/** Custom render function for expanded tile content */
|
|
32
|
+
renderExpandedContent?: (item: T, children: T[], childrenHeight: number, availableWidth: number) => React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export declare function ExpandableTileGrid<T extends BaseTileItem>({ items, expandedId, expandedChildren, onTileClick, onExpandedChildClick, onBack, availableWidth, selectedIndex, gap, padding, extraExpandedHeight, renderExpandedContent, }: ExpandableTileGridProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
//# sourceMappingURL=ExpandableTileGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableTileGrid.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/HierarchicalTiles/ExpandableTileGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAkB,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EACvB,qBAAqB,GACtB,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CA4I5B"}
|
|
@@ -15,6 +15,8 @@ export { Tile } from './Tile';
|
|
|
15
15
|
export type { TileProps as TileComponentProps, TileBucket as TileComponentBucket, SeverityCounts as TileComponentSeverityCounts, } from './Tile';
|
|
16
16
|
export { TileGrid } from './TileGrid';
|
|
17
17
|
export type { TileGridProps, BaseTileItem } from './TileGrid';
|
|
18
|
+
export { ExpandableTileGrid } from './ExpandableTileGrid';
|
|
19
|
+
export type { ExpandableTileGridProps } from './ExpandableTileGrid';
|
|
18
20
|
export { calculateMosaicLayout, calculateBucket, calculateBuckets, groupTilesByRow, getBucketHeight, calculateCollapsedStripLayout, calculateChildGridLayout, calculateExpandedLayout, } from './layout';
|
|
19
21
|
export type { TileLayout, MosaicLayoutResult, MosaicLayoutConfig, LayoutItem, CollapsedStripConfig, CollapsedTileLayout, ChildGridConfig, ChildTileLayout, ExpandedLayoutConfig, ExpandedLayoutInput, ExpandedLayoutResult, TilePosition, } from './layout';
|
|
20
22
|
export { crispEase, smoothOvershoot, quickEaseIn, DURATIONS, tileContainerVariants, tileContainerTransition, expansionWrapperVariants, expansionWrapperTransition, childrenContainerVariants, childTileVariants, childTileTransition, collapsedStripVariants, collapsedStripTransition, collapsedTileVariants, headerVariants, headerTransition, backButtonVariants, backButtonTransition, layoutTransition, quickLayoutTransition, getStaggerDelay, getTileAnimationState, } from './animations';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/HierarchicalTiles/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,YAAY,EAEV,aAAa,EACb,qBAAqB,EAGrB,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,SAAS,EAGT,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,eAAe,GAChB,MAAM,SAAS,CAAC;AAOjB,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,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BAAgB,CAAC;AAGxB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EACV,SAAS,IAAI,kBAAkB,EAC/B,UAAU,IAAI,mBAAmB,EACjC,cAAc,IAAI,2BAA2B,GAC9C,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAMpE,OAAO,EAEL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EAGf,6BAA6B,EAC7B,wBAAwB,EAGxB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAElB,YAAY,EAEV,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EAGV,oBAAoB,EACpB,mBAAmB,EAGnB,eAAe,EACf,eAAe,EAGf,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,GACb,MAAM,UAAU,CAAC;AAMlB,OAAO,EAEL,SAAS,EACT,eAAe,EACf,WAAW,EAGX,SAAS,EAGT,qBAAqB,EACrB,uBAAuB,EAGvB,wBAAwB,EACxB,0BAA0B,EAG1B,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EAGnB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EAGrB,cAAc,EACd,gBAAgB,EAGhB,kBAAkB,EAClB,oBAAoB,EAGpB,gBAAgB,EAChB,qBAAqB,EAGrB,eAAe,EACf,qBAAqB,GACtB,MAAM,cAAc,CAAC"}
|
|
@@ -21,6 +21,8 @@ export interface ExpandedLayoutInput {
|
|
|
21
21
|
children: LayoutItem[];
|
|
22
22
|
/** Layout configuration */
|
|
23
23
|
config?: ExpandedLayoutConfig;
|
|
24
|
+
/** Extra height to add to expanded tile (for custom content like RuleHeader, RuleConfig) */
|
|
25
|
+
extraExpandedHeight?: number;
|
|
24
26
|
}
|
|
25
27
|
export interface TilePosition {
|
|
26
28
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expanded-layout.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/HierarchicalTiles/layout/expanded-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,SAAS,CAAC;AAM9D,MAAM,WAAW,oBAAoB;IACnC,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,OAAO,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAcD,MAAM,WAAW,mBAAmB;IAClC,4BAA4B;IAC5B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,+CAA+C;IAC/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"expanded-layout.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/HierarchicalTiles/layout/expanded-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,SAAS,CAAC;AAM9D,MAAM,WAAW,oBAAoB;IACnC,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,OAAO,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAcD,MAAM,WAAW,mBAAmB;IAClC,4BAA4B;IAC5B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,+CAA+C;IAC/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,4FAA4F;IAC5F,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,iCAAiC;IACjC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACrC,6CAA6C;IAC7C,gBAAgB,EAAE,YAAY,GAAG,IAAI,CAAC;IACtC,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,cAAc,EAAE,MAAM,CAAC;CACxB;AAoBD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,mBAAmB,GAAG,oBAAoB,CAkKxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InspectorSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/InspectorSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAqE,MAAM,OAAO,CAAC;AAkB1F,wBAAgB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"InspectorSidebar.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/InspectorSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAqE,MAAM,OAAO,CAAC;AAkB1F,wBAAgB,gBAAgB,sBAsW/B"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface IssuesListProps {
|
|
2
2
|
/** Additional class name */
|
|
3
3
|
className?: string;
|
|
4
|
+
/** Available width for the tile grid (default: 350) */
|
|
5
|
+
availableWidth?: number;
|
|
4
6
|
}
|
|
5
|
-
export declare function IssuesList({ className }: IssuesListProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function IssuesList({ className, availableWidth }: IssuesListProps): import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export default IssuesList;
|
|
7
9
|
//# sourceMappingURL=IssuesList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssuesList.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/IssuesList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IssuesList.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/IssuesList.tsx"],"names":[],"mappings":"AA6EA,MAAM,WAAW,eAAe;IAC9B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAmCD,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,cAAwC,EAAE,EAAE,eAAe,2CA4UlG;AAsDD,eAAe,UAAU,CAAC"}
|
|
@@ -14,9 +14,11 @@ export interface RuleHeaderProps {
|
|
|
14
14
|
onToggleConfig: () => void;
|
|
15
15
|
/** Called to clear the rule filter */
|
|
16
16
|
onClear: () => void;
|
|
17
|
+
/** Whether to show the close button (default: true, set to false when inside expanded tile) */
|
|
18
|
+
showCloseButton?: boolean;
|
|
17
19
|
/** Additional class name */
|
|
18
20
|
className?: string;
|
|
19
21
|
}
|
|
20
|
-
export declare function RuleHeader({ ruleFilter, description, category, docsUrl, configExpanded, onToggleConfig, onClear, className, }: RuleHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function RuleHeader({ ruleFilter, description, category, docsUrl, configExpanded, onToggleConfig, onClear, showCloseButton, className, }: RuleHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
export default RuleHeader;
|
|
22
24
|
//# sourceMappingURL=RuleHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuleHeader.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/RuleHeader.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAMpE,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,cAAc,EAAE,OAAO,CAAC;IACxB,wCAAwC;IACxC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,sCAAsC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,UAAU,CAAC,EACzB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,OAAO,EACP,cAAc,EACd,cAAc,EACd,OAAO,EACP,SAAS,GACV,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"RuleHeader.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inspector/RuleHeader.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAMpE,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,cAAc,EAAE,OAAO,CAAC;IACxB,wCAAwC;IACxC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,sCAAsC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,+FAA+F;IAC/F,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,UAAU,CAAC,EACzB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,OAAO,EACP,cAAc,EACd,cAAc,EACd,OAAO,EACP,eAAsB,EACtB,SAAS,GACV,EAAE,eAAe,2CA6GjB;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InspectorToggle.d.ts","sourceRoot":"","sources":["../../../src/ui/components/InspectorToggle.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InspectorToggle.d.ts","sourceRoot":"","sources":["../../../src/ui/components/InspectorToggle.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,wBAAgB,eAAe,6BA8F9B"}
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
* GlassPanel - Glassmorphism container component
|
|
5
5
|
*
|
|
6
6
|
* A shadcn-style component for glass morphism UI panels.
|
|
7
|
-
* Used as the base container for CommandPalette,
|
|
7
|
+
* Used as the base container for CommandPalette, modals, etc.
|
|
8
8
|
*
|
|
9
9
|
* Features:
|
|
10
10
|
* - CSS variable theming (--uilint-glass-*)
|
|
@@ -1,46 +1,37 @@
|
|
|
1
|
-
import { TileItem
|
|
1
|
+
import { TileItem } from '../../core/plugin-system/types';
|
|
2
2
|
/**
|
|
3
3
|
* Return type for the useTileItems hook
|
|
4
4
|
*/
|
|
5
5
|
export interface UseTileItemsResult {
|
|
6
|
-
/**
|
|
6
|
+
/** Tile items to display */
|
|
7
7
|
items: TileItem[];
|
|
8
8
|
/** Whether any provider is still loading (always false - computation is sync) */
|
|
9
9
|
isLoading: boolean;
|
|
10
|
-
/** Whether current
|
|
10
|
+
/** Whether current state represents a terminal state (no more drill-down) */
|
|
11
11
|
isTerminal: boolean;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* Hook that returns tile items to display
|
|
14
|
+
* Hook that returns tile items to display.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* With the new expandable tile model, this always returns root-level tiles.
|
|
17
|
+
* Child tiles (files, issues) are fetched by the ExpandableTileGrid when
|
|
18
|
+
* tiles are expanded.
|
|
19
19
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param _query - Deprecated: query comes from the store
|
|
20
|
+
* @param query - Optional search query to filter tiles
|
|
22
21
|
* @returns Object containing items, loading state, and terminal state
|
|
23
22
|
*
|
|
24
23
|
* @example
|
|
25
24
|
* ```tsx
|
|
26
25
|
* function TileGrid() {
|
|
27
|
-
* const { items, isLoading
|
|
26
|
+
* const { items, isLoading } = useTileItems();
|
|
28
27
|
*
|
|
29
28
|
* if (isLoading) return <Spinner />;
|
|
30
29
|
*
|
|
31
30
|
* return (
|
|
32
|
-
* <
|
|
33
|
-
* {items.map(item => (
|
|
34
|
-
* <Tile
|
|
35
|
-
* key={item.id}
|
|
36
|
-
* item={item}
|
|
37
|
-
* onClick={() => isTerminal ? openInspector(item) : addFilter(item)}
|
|
38
|
-
* />
|
|
39
|
-
* ))}
|
|
40
|
-
* </MasonryGrid>
|
|
31
|
+
* <ExpandableTileGrid items={items} ... />
|
|
41
32
|
* );
|
|
42
33
|
* }
|
|
43
34
|
* ```
|
|
44
35
|
*/
|
|
45
|
-
export declare function useTileItems(
|
|
36
|
+
export declare function useTileItems(query?: string): UseTileItemsResult;
|
|
46
37
|
//# sourceMappingURL=useTileItems.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTileItems.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useTileItems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"useTileItems.d.ts","sourceRoot":"","sources":["../../../src/ui/hooks/useTileItems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,iFAAiF;IACjF,SAAS,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,UAAU,EAAE,OAAO,CAAC;CACrB;AAoDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAyB/D"}
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ 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
10
|
export { useIssues, useElementRects } from './hooks';
|
|
11
|
-
export { FloatingIcon } from './components/FloatingIcon';
|
|
12
11
|
export { HeatmapOverlay } from './components/HeatmapOverlay';
|
|
13
12
|
export { CommandPalette } from './components/CommandPalette';
|
|
14
13
|
export { InspectorSidebar } from './components/Inspector';
|
package/dist/ui/index.d.ts.map
CHANGED
|
@@ -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,eAAe,EAAE,MAAM,SAAS,CAAC;AAGrD,OAAO,EAAE,
|
|
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,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.
|
|
3
|
+
"version": "0.2.122",
|
|
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.122",
|
|
52
|
+
"uilint-eslint": "0.2.122"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": "^19.0.0",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TileFilter } from '../../../core/plugin-system/types';
|
|
2
|
-
export interface FilterChipProps {
|
|
3
|
-
/** The filter to display */
|
|
4
|
-
filter: TileFilter;
|
|
5
|
-
/** Callback when the filter is removed */
|
|
6
|
-
onRemove: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* FilterChip - Displays a filter as a removable pill
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* <FilterChip
|
|
14
|
-
* filter={{ type: "rule", id: "uilint/semantic", label: "semantic" }}
|
|
15
|
-
* onRemove={() => removeFilter(filter.id)}
|
|
16
|
-
* />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare function FilterChip({ filter, onRemove }: FilterChipProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default FilterChip;
|
|
21
|
-
//# sourceMappingURL=FilterChip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FilterChip.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/CommandPalette/FilterChip.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAMpE,MAAM,WAAW,eAAe;IAC9B,4BAA4B;IAC5B,MAAM,EAAE,UAAU,CAAC;IACnB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AA4ED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA2E/D;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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,6BAuY3B"}
|