@harnessio/ui 1.4.0 → 1.4.1
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/components.d.ts +7 -0
- package/dist/components.js +1 -1
- package/dist/{index-BQBqvWjD.js → index-DJBxKrPy.js} +3655 -3633
- package/dist/{index-BQBqvWjD.js.map → index-DJBxKrPy.js.map} +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -737,6 +737,7 @@ declare interface CardEntry {
|
|
|
737
737
|
status: CardStatus;
|
|
738
738
|
stateSnapshot: Record<string, unknown>;
|
|
739
739
|
mountGeneration?: number;
|
|
740
|
+
summary?: string;
|
|
740
741
|
}
|
|
741
742
|
|
|
742
743
|
declare interface CardImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
@@ -1900,6 +1901,10 @@ declare interface ContainerHeaderProps {
|
|
|
1900
1901
|
className?: string;
|
|
1901
1902
|
/** Applied to the description text — e.g. to clamp it to a fixed number of lines. */
|
|
1902
1903
|
descriptionClassName?: string;
|
|
1904
|
+
/** Optional wrapper for the title element (e.g. DrawerPrimitive.Title asChild). */
|
|
1905
|
+
renderTitle?: (title: ReactElement) => ReactNode;
|
|
1906
|
+
/** Optional wrapper for the description element (e.g. DrawerPrimitive.Description asChild). */
|
|
1907
|
+
renderDescription?: (description: ReactElement) => ReactNode;
|
|
1903
1908
|
}
|
|
1904
1909
|
|
|
1905
1910
|
declare function Content({ children, className }: {
|
|
@@ -2967,6 +2972,7 @@ declare interface EngineContextValue {
|
|
|
2967
2972
|
drawerState: DrawerState | null;
|
|
2968
2973
|
pendingReactivation: string | null;
|
|
2969
2974
|
complete: (stepId: string, statePatch?: Record<string, unknown>, nextStepId?: string) => void;
|
|
2975
|
+
setSummary: (stepId: string, summary: string) => void;
|
|
2970
2976
|
error: (stepId: string, nextStepId?: string) => void;
|
|
2971
2977
|
skip: (stepId: string, nextStepId?: string) => void;
|
|
2972
2978
|
openDrawer: (id: string, props?: Record<string, unknown>) => Promise<DrawerResult>;
|
|
@@ -3272,6 +3278,7 @@ declare interface FlowCardContext<TState = Record<string, unknown>> {
|
|
|
3272
3278
|
state: TState;
|
|
3273
3279
|
status: CardStatus;
|
|
3274
3280
|
complete: (statePatch?: Partial<TState>, nextStepId?: string) => void;
|
|
3281
|
+
setSummary: (summary: string) => void;
|
|
3275
3282
|
error: (nextStepId?: string) => void;
|
|
3276
3283
|
skip: (nextStepId?: string) => void;
|
|
3277
3284
|
openDrawer: (drawerId: string, props?: Record<string, unknown>) => Promise<DrawerResult>;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as s } from "./index-DlSn4SRO.js";
|
|
2
|
-
import { i as e } from "./index-
|
|
2
|
+
import { i as e } from "./index-DJBxKrPy.js";
|
|
3
3
|
import { i as a } from "./index-CiTlyv-6.js";
|
|
4
4
|
import { i as m } from "./index-C4bDY5-3.js";
|
|
5
5
|
import { i as f } from "./index-DchZrYRY.js";
|