@cascivo/flow 0.18.0 → 1.1.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/README.md +2 -2
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1137
- package/dist/node/index.js +1 -1138
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- generated by scripts/readme/generate.ts — edit readme.body.md, not this file -->
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
<a href="https://cascivo.com"><img src="https://cascivo.com/
|
|
4
|
+
<a href="https://cascivo.com"><img src="https://cascivo.com/logo-mark-img-accent.svg" width="72" height="72" alt="cascivo logo"></a>
|
|
5
5
|
<h1>@cascivo/flow</h1>
|
|
6
6
|
<p><strong>Flow & diagram components — CSS-native, signal-driven node/edge graphs with pan/zoom, draggable nodes, animated edges, and scripted storylines, zero dependencies</strong></p>
|
|
7
7
|
|
|
@@ -98,4 +98,4 @@ pnpm add @cascivo/flow
|
|
|
98
98
|
|
|
99
99
|
[cascivo.com](https://cascivo.com) · [Docs](https://cascivo.com/docs) · [Storybook](https://storybook.cascivo.com) · [GitHub](https://github.com/cascivo/cascivo) · AI agents: read [`llms.txt`](https://cascivo.com/llms.txt) (install steps + component index, plain text) or use [`@cascivo/mcp`](https://github.com/cascivo/cascivo/tree/main/packages/mcp) and [`registry.json`](https://github.com/cascivo/cascivo/blob/main/registry.json) · MIT
|
|
100
100
|
|
|
101
|
-
<div align="center"><a href="https://cascivo.com"><img src="https://cascivo.com/
|
|
101
|
+
<div align="center"><a href="https://cascivo.com"><img src="https://cascivo.com/logo-mark-img.svg" width="28" height="28" alt="cascivo"></a></div>
|
package/dist/index.d.ts
CHANGED
|
@@ -545,6 +545,14 @@ interface FlowMiniMapProps {
|
|
|
545
545
|
nodeColor?: string | undefined;
|
|
546
546
|
onViewportChange?: ((viewport: Viewport) => void) | undefined;
|
|
547
547
|
label?: string | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* Alias of `label` — the same invisible accessible name under the catalog's own spelling.
|
|
550
|
+
*
|
|
551
|
+
* `ariaLabel` is what the catalog calls a name nothing paints, so it is the guess an agent
|
|
552
|
+
* makes after reading one other component (2026-08-21 report item 1). This component
|
|
553
|
+
* predates the convention and shipped `label`; both work and neither is deprecated.
|
|
554
|
+
*/
|
|
555
|
+
ariaLabel?: string | undefined;
|
|
548
556
|
className?: string | undefined;
|
|
549
557
|
}
|
|
550
558
|
/**
|
|
@@ -562,6 +570,7 @@ declare function FlowMiniMap({
|
|
|
562
570
|
nodeColor,
|
|
563
571
|
onViewportChange,
|
|
564
572
|
label,
|
|
573
|
+
ariaLabel,
|
|
565
574
|
className
|
|
566
575
|
}: FlowMiniMapProps): import("react").JSX.Element;
|
|
567
576
|
type FlowPanelPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|