@harnessio/ui 1.0.4 → 1.0.5
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 +11 -1
- package/dist/components.js +1 -1
- package/dist/{index-BgfzFU-c.js → index-D7LJ5ed4.js} +1992 -2011
- package/dist/{index-BgfzFU-c.js.map → index-D7LJ5ed4.js.map} +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -6682,6 +6682,12 @@ declare interface SinglePaneStepperRootProps {
|
|
|
6682
6682
|
hideHeader?: boolean;
|
|
6683
6683
|
reactivationPrompt?: ReactivationPrompt;
|
|
6684
6684
|
disableAutoScroll?: boolean;
|
|
6685
|
+
/** Override the default 440px max-width (`.cn-single-pane-stepper-root`) — merged via `cn()`,
|
|
6686
|
+
* so a utility class like `max-w-[600px]` reliably overrides the hardcoded default (Tailwind
|
|
6687
|
+
* always emits `@layer utilities` after `@layer components`). */
|
|
6688
|
+
className?: string;
|
|
6689
|
+
/** Inline-style escape hatch alongside `className`, for consumers that need computed values. */
|
|
6690
|
+
style?: CSSProperties;
|
|
6685
6691
|
}
|
|
6686
6692
|
|
|
6687
6693
|
declare const Skeleton: {
|
|
@@ -6994,13 +7000,16 @@ declare interface StepperStepProps {
|
|
|
6994
7000
|
children?: ReactNode;
|
|
6995
7001
|
}
|
|
6996
7002
|
|
|
6997
|
-
declare function StepperSubStep({ value, title, description, state: explicitState, contentOnly, className, children }: StepperSubStepProps): JSX_2.Element;
|
|
7003
|
+
declare function StepperSubStep({ value, title, description, state: explicitState, visualCompleted, contentOnly, className, children }: StepperSubStepProps): JSX_2.Element;
|
|
6998
7004
|
|
|
6999
7005
|
declare interface StepperSubStepProps {
|
|
7000
7006
|
value: string;
|
|
7001
7007
|
title: ReactNode;
|
|
7002
7008
|
description?: ReactNode;
|
|
7003
7009
|
state?: StepState;
|
|
7010
|
+
/** Presentation-only: render this substep's icon/color as 'completed' regardless of `state`.
|
|
7011
|
+
* Does NOT affect accordion-open behavior, which always reflects the real `state`. */
|
|
7012
|
+
visualCompleted?: boolean;
|
|
7004
7013
|
/** When true, render only the branch wire and panel — no substep label row (single-pane accordion cards). */
|
|
7005
7014
|
contentOnly?: boolean;
|
|
7006
7015
|
className?: string;
|
|
@@ -7117,6 +7126,7 @@ declare interface SubStepConfig {
|
|
|
7117
7126
|
component: ComponentType;
|
|
7118
7127
|
next?: string;
|
|
7119
7128
|
terminal?: boolean;
|
|
7129
|
+
visualCompleted?: boolean;
|
|
7120
7130
|
}
|
|
7121
7131
|
|
|
7122
7132
|
declare interface SuggestionBlock {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as s } from "./index-DaMz71JC.js";
|
|
2
|
-
import { i as e } from "./index-
|
|
2
|
+
import { i as e } from "./index-D7LJ5ed4.js";
|
|
3
3
|
import { i as a } from "./index-DfR6akFx.js";
|
|
4
4
|
import { i as m } from "./index-C4bDY5-3.js";
|
|
5
5
|
import { i as f } from "./index-DchZrYRY.js";
|