@agentero/design-system 0.23.3 → 0.23.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/mcp/manifests/components.html +31 -4
- package/mcp/manifests/components.json +1 -1
- package/package.json +6 -1
- package/src/modal/modal.d.ts +28 -1
- package/src/modal/modal.js +68 -54
|
@@ -576,13 +576,13 @@
|
|
|
576
576
|
<header>
|
|
577
577
|
<div class="wrap">
|
|
578
578
|
<h1>Manifest Debugger</h1>
|
|
579
|
-
<div class="summary"><a class="filter-pill all" data-k="all" href="#filter-all">All</a><span class="filter-pill ok" aria-disabled="true">24 components ok</span><span class="filter-pill ok" aria-disabled="true">
|
|
579
|
+
<div class="summary"><a class="filter-pill all" data-k="all" href="#filter-all">All</a><span class="filter-pill ok" aria-disabled="true">24 components ok</span><span class="filter-pill ok" aria-disabled="true">185 stories ok</span></div>
|
|
580
580
|
</div>
|
|
581
581
|
</header>
|
|
582
582
|
<main>
|
|
583
583
|
<div class="wrap">
|
|
584
584
|
<div class="note ok" style="margin-bottom: 16px;">
|
|
585
|
-
Using <code>react-docgen-typescript</code>. Generation took <strong>
|
|
585
|
+
Using <code>react-docgen-typescript</code>. Generation took <strong>2.4s</strong>.
|
|
586
586
|
</div>
|
|
587
587
|
<h2 class="section-title">Components</h2>
|
|
588
588
|
<div class="grid" role="list">
|
|
@@ -3659,13 +3659,13 @@ size?: "sm" | "md" | "lg"</code></pre>
|
|
|
3659
3659
|
<div class="badges">
|
|
3660
3660
|
|
|
3661
3661
|
|
|
3662
|
-
<label for="c-12-components-modal-stories" class="badge ok as-toggle">
|
|
3662
|
+
<label for="c-12-components-modal-stories" class="badge ok as-toggle">5 stories</label>
|
|
3663
3663
|
|
|
3664
3664
|
</div>
|
|
3665
3665
|
</div>
|
|
3666
3666
|
<div class="meta" title="./src/modal/modal.stories.tsx">components-modal · ./src/modal/modal.stories.tsx</div>
|
|
3667
3667
|
|
|
3668
|
-
<div class="hint">Modal is a compound dialog built on Radix UI: `Root` owns the open state, `Content` is the centered surface (`size` md/lg), and `Title`/`Body`/`Footer` structure it. Close it with `Escape`, the overlay, the X button, or a `Modal.Close asChild` around your own button
|
|
3668
|
+
<div class="hint">Modal is a compound dialog built on Radix UI: `Root` owns the open state, `Content` is the centered surface (`size` md/lg), and `Title`/`Body`/`Footer` structure it. Close it with `Escape`, the overlay, the X button, or a `Modal.Close asChild` around your own button. `Content` also takes `variant="alert"` for the modal the user has to answer: it drops all three implicit ways out and is announced as an `alertdialog`.</div>
|
|
3669
3669
|
|
|
3670
3670
|
</div>
|
|
3671
3671
|
|
|
@@ -3779,6 +3779,33 @@ size?: "sm" | "md" | "lg"</code></pre>
|
|
|
3779
3779
|
</Modal.Footer>
|
|
3780
3780
|
</Modal.Content>
|
|
3781
3781
|
</Modal.Root>
|
|
3782
|
+
);</code></pre>
|
|
3783
|
+
</div>
|
|
3784
|
+
<div class="note ok">
|
|
3785
|
+
<div class="row">
|
|
3786
|
+
<span class="ex-name">Alert</span>
|
|
3787
|
+
<span class="badge ok">story ok</span>
|
|
3788
|
+
</div>
|
|
3789
|
+
|
|
3790
|
+
<div class="hint">`variant="alert"` for a decision the user cannot skip: `Escape` and overlay clicks are ignored, `Modal.Title` renders no X button, and the surface is announced as an `alertdialog`. Only the footer actions close it.</div>
|
|
3791
|
+
<pre><code>const Alert = () => (
|
|
3792
|
+
<Modal.Root>
|
|
3793
|
+
<Modal.Trigger asChild>
|
|
3794
|
+
<Button variant="secondary">Open alert</Button>
|
|
3795
|
+
</Modal.Trigger>
|
|
3796
|
+
<Modal.Content variant="alert">
|
|
3797
|
+
<Modal.Title>Complete your Docusign integration</Modal.Title>
|
|
3798
|
+
<Modal.Body>
|
|
3799
|
+
<p>To enable your integration, please authorize access to your Docusign account.</p>
|
|
3800
|
+
</Modal.Body>
|
|
3801
|
+
<Modal.Footer>
|
|
3802
|
+
<Modal.Close asChild>
|
|
3803
|
+
<Button variant="ghost">Not now</Button>
|
|
3804
|
+
</Modal.Close>
|
|
3805
|
+
<Button variant="primary">Authorize</Button>
|
|
3806
|
+
</Modal.Footer>
|
|
3807
|
+
</Modal.Content>
|
|
3808
|
+
</Modal.Root>
|
|
3782
3809
|
);</code></pre>
|
|
3783
3810
|
</div>
|
|
3784
3811
|
</div>
|