executable-stories-react 0.13.0 → 0.15.0
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.cjs +73 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +73 -52
- package/dist/index.js.map +1 -1
- package/dist/interactive.cjs +485 -227
- package/dist/interactive.cjs.map +1 -1
- package/dist/interactive.d.cts +7 -1
- package/dist/interactive.d.ts +7 -1
- package/dist/interactive.js +443 -185
- package/dist/interactive.js.map +1 -1
- package/dist/report-island.global.js +43 -41
- package/dist/ssr.cjs +78 -54
- package/dist/ssr.cjs.map +1 -1
- package/dist/ssr.d.cts +4 -0
- package/dist/ssr.d.ts +4 -0
- package/dist/ssr.js +78 -54
- package/dist/ssr.js.map +1 -1
- package/dist/styles.css +1 -3
- package/dist/tailwind.css +1 -1
- package/package.json +2 -2
package/dist/interactive.d.cts
CHANGED
|
@@ -91,6 +91,10 @@ interface ReportInteractiveProps {
|
|
|
91
91
|
* When present, scenario cards show a run-over-run timeline strip.
|
|
92
92
|
*/
|
|
93
93
|
scenarioHistory?: ScenarioHistoryMap;
|
|
94
|
+
/** Show the Share button in the header (default false). `--html-share` turns it on. */
|
|
95
|
+
share?: boolean;
|
|
96
|
+
/** Command the share dialog hands over. Default: `npx executable-stories share reports/`. */
|
|
97
|
+
shareCommand?: string;
|
|
94
98
|
}
|
|
95
99
|
declare function ReportInteractive(props: ReportInteractiveProps): react.JSX.Element;
|
|
96
100
|
|
|
@@ -181,8 +185,10 @@ declare function listFailures(report: StoryReport): FailureRef[];
|
|
|
181
185
|
|
|
182
186
|
interface ReportFailureBannerProps {
|
|
183
187
|
failures: readonly FailureRef[];
|
|
188
|
+
/** Copies every failure as one agent prompt. Omitted on a static render. */
|
|
189
|
+
onCopyAll?: () => void;
|
|
184
190
|
}
|
|
185
|
-
declare function ReportFailureBanner({ failures }: ReportFailureBannerProps): react.JSX.Element | null;
|
|
191
|
+
declare function ReportFailureBanner({ failures, onCopyAll }: ReportFailureBannerProps): react.JSX.Element | null;
|
|
186
192
|
|
|
187
193
|
interface ReportFreshnessProps {
|
|
188
194
|
/** Epoch ms of the run this report documents (see reportLastRunMs). */
|
package/dist/interactive.d.ts
CHANGED
|
@@ -91,6 +91,10 @@ interface ReportInteractiveProps {
|
|
|
91
91
|
* When present, scenario cards show a run-over-run timeline strip.
|
|
92
92
|
*/
|
|
93
93
|
scenarioHistory?: ScenarioHistoryMap;
|
|
94
|
+
/** Show the Share button in the header (default false). `--html-share` turns it on. */
|
|
95
|
+
share?: boolean;
|
|
96
|
+
/** Command the share dialog hands over. Default: `npx executable-stories share reports/`. */
|
|
97
|
+
shareCommand?: string;
|
|
94
98
|
}
|
|
95
99
|
declare function ReportInteractive(props: ReportInteractiveProps): react.JSX.Element;
|
|
96
100
|
|
|
@@ -181,8 +185,10 @@ declare function listFailures(report: StoryReport): FailureRef[];
|
|
|
181
185
|
|
|
182
186
|
interface ReportFailureBannerProps {
|
|
183
187
|
failures: readonly FailureRef[];
|
|
188
|
+
/** Copies every failure as one agent prompt. Omitted on a static render. */
|
|
189
|
+
onCopyAll?: () => void;
|
|
184
190
|
}
|
|
185
|
-
declare function ReportFailureBanner({ failures }: ReportFailureBannerProps): react.JSX.Element | null;
|
|
191
|
+
declare function ReportFailureBanner({ failures, onCopyAll }: ReportFailureBannerProps): react.JSX.Element | null;
|
|
186
192
|
|
|
187
193
|
interface ReportFreshnessProps {
|
|
188
194
|
/** Epoch ms of the run this report documents (see reportLastRunMs). */
|