@axiom-lattice/react-sdk 2.1.126 → 2.1.127
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/index.d.mts +18 -3
- package/dist/index.d.ts +18 -3
- package/dist/index.js +24130 -23093
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24080 -23043
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1015,7 +1015,7 @@ declare function useEvalRuns(projectId?: string): {
|
|
|
1015
1015
|
projectId?: string;
|
|
1016
1016
|
}) => Promise<{
|
|
1017
1017
|
run_id: string;
|
|
1018
|
-
}>;
|
|
1018
|
+
} | undefined>;
|
|
1019
1019
|
abort: (runId: string) => Promise<void>;
|
|
1020
1020
|
remove: (runId: string) => Promise<void>;
|
|
1021
1021
|
refresh: () => Promise<void>;
|
|
@@ -2895,6 +2895,19 @@ interface CreateAssistantModalProps {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>;
|
|
2897
2897
|
|
|
2898
|
+
type Page = "dashboard" | "suites" | "suite" | "run";
|
|
2899
|
+
interface EvalPanelProps {
|
|
2900
|
+
/**
|
|
2901
|
+
* Optional deep-link target applied on mount and when its fields change.
|
|
2902
|
+
* Overrides the default "select first project / dashboard" behavior.
|
|
2903
|
+
*/
|
|
2904
|
+
initial?: {
|
|
2905
|
+
projectId?: string;
|
|
2906
|
+
page?: Page;
|
|
2907
|
+
suiteId?: string;
|
|
2908
|
+
runId?: string;
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2898
2911
|
/**
|
|
2899
2912
|
* Top-level evaluation panel component.
|
|
2900
2913
|
*
|
|
@@ -2920,7 +2933,7 @@ declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>
|
|
|
2920
2933
|
* }
|
|
2921
2934
|
* ```
|
|
2922
2935
|
*/
|
|
2923
|
-
declare const EvalPanel: React__default.FC
|
|
2936
|
+
declare const EvalPanel: React__default.FC<EvalPanelProps>;
|
|
2924
2937
|
|
|
2925
2938
|
/**
|
|
2926
2939
|
* Props for {@link EvalSuiteCardList}.
|
|
@@ -3254,6 +3267,8 @@ interface ViewModeExtension {
|
|
|
3254
3267
|
interface EntityCardProps<T> {
|
|
3255
3268
|
item: T;
|
|
3256
3269
|
onClick?: (item: T) => void;
|
|
3270
|
+
/** Compact layout: smaller padding and element gaps. */
|
|
3271
|
+
dense?: boolean;
|
|
3257
3272
|
renderIcon?: (item: T) => React__default.ReactNode;
|
|
3258
3273
|
renderPrimary: (item: T) => React__default.ReactNode;
|
|
3259
3274
|
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
@@ -3265,7 +3280,7 @@ interface EntityCardProps<T> {
|
|
|
3265
3280
|
actionsStyle?: ActionsStyle;
|
|
3266
3281
|
className?: string;
|
|
3267
3282
|
}
|
|
3268
|
-
declare const EntityCard: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary,
|
|
3283
|
+
declare const EntityCard: <T>({ item, onClick, dense, renderIcon, renderPrimary, renderSecondary, renderHeaderActions, renderDetails, renderFooter, actions, actionsPosition, actionsStyle, className, }: EntityCardProps<T>) => React__default.ReactElement;
|
|
3269
3284
|
|
|
3270
3285
|
interface EntityRowProps<T> {
|
|
3271
3286
|
item: T;
|
package/dist/index.d.ts
CHANGED
|
@@ -1015,7 +1015,7 @@ declare function useEvalRuns(projectId?: string): {
|
|
|
1015
1015
|
projectId?: string;
|
|
1016
1016
|
}) => Promise<{
|
|
1017
1017
|
run_id: string;
|
|
1018
|
-
}>;
|
|
1018
|
+
} | undefined>;
|
|
1019
1019
|
abort: (runId: string) => Promise<void>;
|
|
1020
1020
|
remove: (runId: string) => Promise<void>;
|
|
1021
1021
|
refresh: () => Promise<void>;
|
|
@@ -2895,6 +2895,19 @@ interface CreateAssistantModalProps {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>;
|
|
2897
2897
|
|
|
2898
|
+
type Page = "dashboard" | "suites" | "suite" | "run";
|
|
2899
|
+
interface EvalPanelProps {
|
|
2900
|
+
/**
|
|
2901
|
+
* Optional deep-link target applied on mount and when its fields change.
|
|
2902
|
+
* Overrides the default "select first project / dashboard" behavior.
|
|
2903
|
+
*/
|
|
2904
|
+
initial?: {
|
|
2905
|
+
projectId?: string;
|
|
2906
|
+
page?: Page;
|
|
2907
|
+
suiteId?: string;
|
|
2908
|
+
runId?: string;
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2898
2911
|
/**
|
|
2899
2912
|
* Top-level evaluation panel component.
|
|
2900
2913
|
*
|
|
@@ -2920,7 +2933,7 @@ declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>
|
|
|
2920
2933
|
* }
|
|
2921
2934
|
* ```
|
|
2922
2935
|
*/
|
|
2923
|
-
declare const EvalPanel: React__default.FC
|
|
2936
|
+
declare const EvalPanel: React__default.FC<EvalPanelProps>;
|
|
2924
2937
|
|
|
2925
2938
|
/**
|
|
2926
2939
|
* Props for {@link EvalSuiteCardList}.
|
|
@@ -3254,6 +3267,8 @@ interface ViewModeExtension {
|
|
|
3254
3267
|
interface EntityCardProps<T> {
|
|
3255
3268
|
item: T;
|
|
3256
3269
|
onClick?: (item: T) => void;
|
|
3270
|
+
/** Compact layout: smaller padding and element gaps. */
|
|
3271
|
+
dense?: boolean;
|
|
3257
3272
|
renderIcon?: (item: T) => React__default.ReactNode;
|
|
3258
3273
|
renderPrimary: (item: T) => React__default.ReactNode;
|
|
3259
3274
|
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
@@ -3265,7 +3280,7 @@ interface EntityCardProps<T> {
|
|
|
3265
3280
|
actionsStyle?: ActionsStyle;
|
|
3266
3281
|
className?: string;
|
|
3267
3282
|
}
|
|
3268
|
-
declare const EntityCard: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary,
|
|
3283
|
+
declare const EntityCard: <T>({ item, onClick, dense, renderIcon, renderPrimary, renderSecondary, renderHeaderActions, renderDetails, renderFooter, actions, actionsPosition, actionsStyle, className, }: EntityCardProps<T>) => React__default.ReactElement;
|
|
3269
3284
|
|
|
3270
3285
|
interface EntityRowProps<T> {
|
|
3271
3286
|
item: T;
|