@agentero/design-system 0.24.0 → 0.24.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.
@@ -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">25 components ok</span><span class="filter-pill ok" aria-disabled="true">190 stories ok</span></div>
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">25 components ok</span><span class="filter-pill ok" aria-disabled="true">191 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>3.6s</strong>.
585
+ Using <code>react-docgen-typescript</code>. Generation took <strong>2.7s</strong>.
586
586
  </div>
587
587
  <h2 class="section-title">Components</h2>
588
588
  <div class="grid" role="list">
@@ -4906,7 +4906,7 @@ import { Fragment } from "react";</code></pre>
4906
4906
  <div class="badges">
4907
4907
 
4908
4908
 
4909
- <label for="c-20-components-tabs-stories" class="badge ok as-toggle">7 stories</label>
4909
+ <label for="c-20-components-tabs-stories" class="badge ok as-toggle">8 stories</label>
4910
4910
 
4911
4911
  </div>
4912
4912
  </div>
@@ -5056,6 +5056,23 @@ import { Fragment } from "react";</code></pre>
5056
5056
  &lt;TabPanels /&gt;
5057
5057
  &lt;/Tabs.Root&gt;;</code></pre>
5058
5058
  </div>
5059
+ <div class="note ok">
5060
+ <div class="row">
5061
+ <span class="ex-name">Single Title</span>
5062
+ <span class="badge ok">story ok</span>
5063
+ </div>
5064
+
5065
+ <div class="hint">A standalone `Label` gives a panel with a single, non-interactive title the inactive trigger&#39;s exact look: outside a `Root` it never gets the active data-state, and `pointer-events-none` keeps hover styles off. It is a plain `span`, so wrap it in a heading element for heading semantics. No tab or tablist role is announced.</div>
5066
+ <pre><code>const SingleTitle = () =&gt; (
5067
+ &lt;div className=&quot;flex flex-col items-start gap-6&quot;&gt;
5068
+ {([&#39;line&#39;, &#39;enclosed&#39;, &#39;button&#39;] as const).map(variant =&gt; (
5069
+ &lt;h2 key={variant}&gt;
5070
+ &lt;Tabs.Label variant={variant}&gt;Shared coverages ({variant})&lt;/Tabs.Label&gt;
5071
+ &lt;/h2&gt;
5072
+ ))}
5073
+ &lt;/div&gt;
5074
+ );</code></pre>
5075
+ </div>
5059
5076
  </div>
5060
5077
 
5061
5078
  </div>