<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>@synertech/ui: what’s new</title>
<link>https://ui.synertechweb.com/en/docs/changelog/</link>
<atom:link href="https://ui.synertechweb.com/feed.xml" rel="self" type="application/rss+xml" />
<description>Every release of @synertech/ui, the React component library of Synertech Web.</description>
<language>en</language>
<lastBuildDate>Sun, 06 Dec 2026 14:50:22 GMT</lastBuildDate>
<item>
<title>@synertech/ui 0.57.5</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-57-5</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-57-5</guid>
<pubDate>Sun, 06 Dec 2026 14:50:22 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>The README says how to give the usage guide the package ships to a code assistant: <code>npx @synertech/ui setup-claude-skill</code> installs it for Claude Code, and other assistants read the same file in <code>node_modules</code>. The command was only written in the changelog until now; the site has a page for it, &quot;Code assistants&quot;.</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.57.4</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-57-4</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-57-4</guid>
<pubDate>Sat, 05 Dec 2026 19:57:33 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>Synertech Web holds the copyright and authors the package: the copyright line of <code>LICENSE</code> and the <code>author</code> field of <code>package.json</code> named a person, and both now name Synertech Web, as the site already did. The terms of the licence are unchanged.</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.57.3</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-57-3</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-57-3</guid>
<pubDate>Sat, 05 Dec 2026 02:32:47 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li><code>DataGrid</code>&#x27;s own checkboxes and radios follow the brand colour: the boxes that select a row or every row, the ones of the column menu and the radios of a <code>select</code> filter are native inputs, which draw their check in <code>accent-color</code>, and none set it. They were the browser&#x27;s blue whatever <code>--color-synertech-primary-*</code> said.</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.57.2</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-57-2</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-57-2</guid>
<pubDate>Fri, 04 Dec 2026 23:18:42 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>The README, the page of the package on npm, links to what changed in each release: the &quot;What&#x27;s new&quot; page of the documentation, which publishes the changelog at last, with an RSS feed.</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.57.1</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-57-1</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-57-1</guid>
<pubDate>Fri, 04 Dec 2026 16:20:36 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>
<p><code>Select</code>: a <code>className</code>, a <code>triggerClassName</code> or a <code>contentClassName</code> replaces the component&#x27;s own classes that set the same thing, as on every other component since 0.57.0. <code>Select</code> joined its classes with a helper of its own, which left both on the element for the stylesheet to choose: <code>triggerClassName=&quot;w-52&quot;</code> kept the field at full width, and <code>triggerClassName=&quot;bg-gray-100&quot;</code> kept it white. <code>AdvanceDetachable</code> goes through <code>cn()</code> too, which changes nothing it draws.</p>
<p>What <code>Select</code> drew changes where two of its own classes disagreed:</p>
<ul>
<li>A disabled option shows the <code>not-allowed</code> cursor, no longer the pointer.</li>
<li>A disabled field is drawn on the <code>gray-50</code> its classes name in the light theme, as it already was on <code>gray-900</code> in the dark one.</li>
</ul>
<p>Kept as drawn: a field both disabled and read-only keeps the <code>not-allowed</code> cursor.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.57.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-57-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-57-0</guid>
<pubDate>Fri, 04 Dec 2026 15:14:32 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>A <code>className</code> replaces the component&#x27;s own classes that set the same thing. <code>cn()</code> now resolves conflicting Tailwind classes with <code>tailwind-merge</code>: of two classes that set the same property, the one written last wins, whatever the order of the stylesheets. Up to now both stayed on the element and the stylesheet chose, so <code>&lt;Button className=&quot;bg-red-600&quot;&gt;</code> was drawn in the brand&#x27;s colour. A class only replaces one under the same variants: write the <code>hover:</code> and <code>dark:</code> shades too.</p>
<p><code>tailwind-merge</code> is a new dependency (about 9 kB gzipped, shared with an application that already has version 3). The exported <code>cn()</code> behaves the same way.</p>
<p>What the library drew changes where two of its own classes disagreed and the stylesheet had picked the other one:</p>
<ul>
<li><code>Calendar</code>: the days of the other months are greyed in the light theme too.</li>
<li><code>Accordion</code>: a disabled item shows the <code>not-allowed</code> cursor; a read-only <code>RadioButton</code> no longer shows a pointer.</li>
<li><code>ChartExportButton</code>: its trigger is the pill of <code>ChartPeriodPicker</code> (rounded, <code>px-3</code>), as written.</li>
<li><code>Sidebar</code>: collapsed, the header and the footer take the narrower padding, and on the right the chevron points to where the sidebar opens.</li>
<li><code>Modal</code>: full screen, the dialog reaches the edges of the viewport.</li>
<li><code>ChartLegend</code>: a hidden series is written in the lighter grey.</li>
<li><code>Checkbox</code>: a checked box in error has a red border.</li>
<li>Fields: a label followed by a description sits closer to it.</li>
<li><code>RadioButton</code> (<code>filled</code>, unchecked) and read-only text fields in the dark theme take the shades their classes named.</li>
<li><code>SchemaEditor</code>: while a relation is drawn, the tables it can reach have their larger shadow.</li>
<li><code>Indicator</code>: <code>borderColor</code> replaces the default ring colour in both themes.</li>
</ul>
<p>Kept as drawn: a field both disabled and read-only keeps the <code>not-allowed</code> cursor, a <code>FileSelector</code> in error shows the brand&#x27;s colour while a file is held over it, a mobile item of <code>Header</code> stays a row, and a <code>leading-*</code> beside a font size keeps applying (Tailwind 4 applies it whatever the order).</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.56.1</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-56-1</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-56-1</guid>
<pubDate>Fri, 04 Dec 2026 13:20:29 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>The page of the package on npm says what it is and lists every component. The README named 11 components of 127 and showed a <code>Button</code> with a <code>variant</code> it has never had: it now opens on the promise, a picture of a dashboard built with the library, the install command and links to the documentation, the demos and Storybook, then lists every page of the reference by category — written from the reference, which fails its check when the two differ. The <code>Modal</code> example uses <code>open</code>, <code>submitLabel</code> and <code>onSubmitClick</code>. What spoke to contributors (and told them to push to <code>main</code>) is in <code>CONTRIBUTING.md</code>, out of the package. The package has a description, and keywords that say what is in it (<code>charts</code>, <code>datagrid</code>, <code>gantt</code>, <code>dashboard</code>, <code>nextjs</code>, <code>accessible</code>…). The <code>use-synertech-ui</code> guide shipped with the package lists the twelve components its catalogue left out.</li>
<li>For a reader whose system asks for less motion (<code>prefers-reduced-motion: reduce</code>), the <code>pulse</code> of <code>Indicator</code> and the pulse of the rows a loading <code>DataGrid</code> draws stop, as the pulse and the wave of <code>Skeleton</code> already did. An indeterminate <code>ProgressBar</code> no longer slides its segment along the track for that reader: the segment covers the track and fades in and out in place — stopped where it stood, a third of the track would read as a third done.</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.56.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-56-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-56-0</guid>
<pubDate>Fri, 04 Dec 2026 03:21:10 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p><code>DataGrid</code>: the header does from the keyboard what it did from the pointer alone — sort a column, resize it, move it (WCAG 2.1.1, 2.5.7).</p>
<ul>
<li><strong>Sort</strong>: the header of a column that sorts holds a <code>&lt;button&gt;</code> (its name and the sort icon), which Tab reaches and Enter or Space presses, through the same path as a click; <code>aria-sort</code> stays on the cell. The filter button sits beside it, never inside it. A click on the padding of the cell no longer sorts: the button does. A <code>renderHeader</code> of a column that sorts is drawn inside that button, so it holds no button, link or field.</li>
<li><strong>Resize</strong>: the handle is a focusable separator (<code>role=&quot;separator&quot;</code>, <code>aria-orientation=&quot;vertical&quot;</code>, the width as <code>aria-valuenow</code> and the bounds of <code>minWidth</code> / <code>maxWidth</code>), named by the new <code>dataGridResizeColumn</code> label. ← and → change the width by 10 px, by 50 px with Shift, and Home and End go to the bounds; each press is reported once through <code>onColumnWidthsChange</code> and <code>onViewChange</code>, as a release of the pointer is. It shows when it has the focus.</li>
<li><strong>Reorder</strong>: with <code>columnReorderable</code>, the column menu of the toolbar lists the columns in the order of the table and moves each one a place up or down (<code>dataGridMoveColumnUp</code>, <code>dataGridMoveColumnDown</code>), through <code>onColumnOrderChange</code>, <code>onColumnReorder</code> and <code>onViewChange</code> as a drop does. The button pressed keeps the focus and the move is said (<code>dataGridColumnMoved</code>). The menu is there whenever <code>columnReorderable</code> is, named <code>dataGridReorderColumns</code> when it does not also show and hide the columns (<code>columnToggle</code>). It closes with Escape, says whether it is open (<code>aria-expanded</code>), and lists the columns in the order on screen rather than the order of <code>columns</code>.</li>
<li>Each header cell is named by its header alone (<code>aria-labelledby</code>): the names of the buttons and of the handle it holds were read with every cell of the column.</li>
</ul>
</li>
<li>
<p><code>DataGrid</code>: bulk actions, a row of active filters, and saved views. An application that acted on the selected rows drew its own bar beside the grid, a filter set on a column out of sight was written nowhere, and a user who had sorted, filtered, hidden, moved and resized columns found the grid as it was at mount on their next visit.</p>
<pre><code class="language-tsx">&lt;DataGrid
  ref={gridRef}
  columns={columns}
  data={invoices}
  rowKey=&quot;id&quot;
  selectable
  bulkActions={({ keys, rows, clear }) =&gt; (
    &lt;Button
      size=&quot;sm&quot;
      onClick={async () =&gt; {
        await markPaid(keys);
        clear();
      }}
    &gt;
      Mark {rows.length} as paid
    &lt;/Button&gt;
  )}
  defaultView={savedView}
  onViewChange={(view) =&gt; saveView(view)}
/&gt;
</code></pre>
<ul>
<li><strong>Bulk actions</strong>: <code>bulkActions</code> shows a bar above the grid while rows are selected — their count, the application&#x27;s actions, and a button that clears the selection, said once to a screen reader by a polite live region. As a function it receives a <code>DataGridSelection</code>: every selected key, the rows of <code>data</code> they name on every page, and <code>clear()</code>. When the bar goes with the focus in it, the focus goes to the box that selects the rows.</li>
<li><strong>Active filters</strong>: the column filters in force are written above the grid, one chip each (&quot;Amount: ≥ 500&quot;, &quot;Due: before Dec 3, 2026&quot;), numbers and dates in the grid&#x27;s <code>locale</code>; a chip removes its filter and hands the focus to the chip now in its place, and &quot;Clear filters&quot; removes them all once there are two. A filter on a hidden column is written too. <code>showActiveFilters={false}</code> leaves the row out.</li>
<li><strong>Saved views</strong>: a <code>DataGridView</code> holds what a user arranges — sort, filters, search, hidden columns, column order and widths, page size. <code>defaultView</code> is where an uncontrolled grid starts, <code>onViewChange</code> receives the whole view on every change, and the <code>ref</code> gains <code>getView()</code> and <code>setView()</code>, which goes back to page 1 and reads no field of a saved object but the view&#x27;s own. Every part is controlled by its prop or held by the grid: <code>pageSize</code> / <code>onPageSizeChange</code>, <code>columnOrder</code> / <code>onColumnOrderChange</code> (beside <code>onColumnReorder</code>), <code>columnWidths</code> / <code>onColumnWidthsChange</code>, called once when a resize ends.</li>
<li><strong>Fixes</strong>: the page-size selector is named by its label, and offers the size in force when its options do not hold it; a column whose header is an element is named by its key in the CSV header, the column menu and the name of its filter button, where it read &quot;[object Object]&quot;.</li>
<li><code>DataGrid.tsx</code> is split by role: types, pure helpers and export in modules of their own, and one module per part of the grid.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p><code>Dropdown</code> menus and submenus and the bubble of <code>HelpButton</code> follow their trigger when the page scrolls, instead of gliding 200ms behind it: the <code>duration-*</code> of their entrance also set a transition on their position. A menu opens in 150ms, like <code>Select</code> and <code>Popover</code>. A submenu stays against its entry: it was placed from where the entry had been before the scroll moved its menu, and left there. Found by the browser scenarios.</p>
</li>
<li>
<p>What the rules of hooks and of accessibility found, now that the build checks them.</p>
<ul>
<li><code>Select</code>: a single <code>clearable</code> field is cleared from the keyboard too, with Delete or Backspace on the field. Its clear button is drawn inside the field and is no tab stop: the keyboard had no way to empty it.</li>
<li><code>MentionInput</code>: the suggestions are a <code>listbox</code> of <code>option</code>s, named by the new <code>mentionInputSuggestions</code> label (&quot;Suggestions&quot;), and the editor names the one the arrows are on (<code>aria-activedescendant</code>), which a screen reader now reads out. While they load, the list is a <code>status</code>. It was a stack of <code>&lt;div&gt;</code>s a screen reader said nothing about. The avatar of a suggestion drawn by default has an empty <code>alt</code>: the name is written beside it, and the option would say it twice.</li>
<li><code>Accordion</code>: controlled by a single string, it no longer renders every item again at each render of its parent — the value was wrapped in a new array each time, and the context with it.</li>
<li><code>ChartExportButton</code>: outside a chart that holds rows, the function that writes the file is no longer made again at every render.</li>
</ul>
</li>
<li>
<p><code>Skeleton</code>: the pulse and the wave stop for a reader whose system asks for less motion (<code>prefers-reduced-motion: reduce</code>), as the entrances of the menus and dialogs already did. The wave ran on for ever; the placeholder is drawn still instead. Found by the tests that now run in a real browser.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.55.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-55-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-55-0</guid>
<pubDate>Thu, 03 Dec 2026 19:37:28 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p><code>CommandPalette</code>, <code>CommandGroup</code> and <code>CommandItem</code>: a command palette, opened from anywhere by ⌘K. An application that wanted its actions reachable from the keyboard built one from a <code>Modal</code> and a <code>Select</code>, whose list closes at every choice and where an accent made a word unfindable.</p>
<pre><code class="language-tsx">&lt;CommandPalette&gt;
  &lt;CommandGroup label=&quot;Actions&quot;&gt;
    &lt;CommandItem icon={&lt;FileIcon /&gt;} shortcut=&quot;N&quot; keywords={[&quot;bill&quot;]} onSelect={createInvoice}&gt;
      Create an invoice
    &lt;/CommandItem&gt;
    &lt;CommandItem disabled&gt;Create a credit note&lt;/CommandItem&gt;
  &lt;/CommandGroup&gt;
  &lt;CommandGroup label=&quot;Navigation&quot;&gt;
    &lt;CommandItem shortcut={[&quot;G&quot;, &quot;R&quot;]} onSelect={() =&gt; router.push(&quot;/reports&quot;)}&gt;
      Go to reports
    &lt;/CommandItem&gt;
  &lt;/CommandGroup&gt;
&lt;/CommandPalette&gt;
</code></pre>
<ul>
<li><strong>Declarative</strong>: the application writes its entries, in the order they are shown, and keeps its actions — <code>onSelect</code> is a function of its own. Nothing is registered: the palette reads the entries from the document.</li>
<li><strong>Search</strong>: every word typed must be found in an entry&#x27;s text (or <code>textValue</code>) or its <code>keywords</code>, accents and case aside; what matches is written in bold. A group left without an entry goes with its heading. <code>description</code> is a second line, not searched.</li>
<li><strong>Keyboard</strong>: <code>hotkey</code> (<code>&quot;mod+k&quot;</code> by default: ⌘K on Apple systems, Ctrl K elsewhere; <code>false</code> for none) opens and closes it, and leaves alone a key a text editor already handled. The focus stays in the field; the arrows move over the entries, passing over the disabled ones and wrapping, Enter chooses, Escape closes and gives the focus back. A chosen entry calls <code>onSelect</code> and closes the palette unless <code>closeOnSelect={false}</code>, on the palette or the entry. <code>shortcut</code> is shown, never bound.</li>
<li><strong>Searching a server</strong>: <code>filter={false}</code>, on the palette or a <code>CommandGroup</code>, leaves the sorting to the application; <code>query</code> and <code>onQueryChange</code> hand it what is typed, <code>loading</code> shows the wait, and the list never says &quot;No results&quot; while it lasts.</li>
<li><strong>Empty</strong>: <code>emptyState</code> replaces &quot;No results&quot; (an <code>EmptyState</code> of size <code>sm</code>); <code>footer</code> replaces the key hints, <code>null</code> removes them.</li>
<li><strong>Accessible</strong>: the contract of <code>Modal</code> (the focus kept inside, Escape, the focus given back, the page behind it inert), a <code>combobox</code> over a <code>listbox</code> with <code>aria-activedescendant</code>, and a polite live region that says how many entries match. Rendered under the <code>&lt;body&gt;</code> of the window it is shown in, a detached one included. Twelve <code>commandPalette…</code> labels, in English and in French.</li>
</ul>
</li>
<li>
<p><code>EmptyState</code>: what a list, a table, a chart or a page shows when there is nothing in it. <code>DataGrid</code> and every chart took an <code>emptyState</code>, but the library gave nothing to put there, and each screen drew its own.</p>
<pre><code class="language-tsx">&lt;EmptyState
  icon={&lt;InboxIcon /&gt;}
  title=&quot;No invoices yet&quot;
  description=&quot;Create the first one, or import a CSV file.&quot;
  action={&lt;Button label=&quot;Create an invoice&quot; /&gt;}
  secondaryAction={&lt;Button label=&quot;Import a CSV&quot; /&gt;}
/&gt;
</code></pre>
<ul>
<li><strong>Content</strong>: an icon in a disc, decorative and hidden from assistive technologies (an <code>&lt;svg&gt;</code> is sized by the state, whatever its own width and height), a title, a description that may hold a paragraph, <code>children</code> for a hint or a list of suggestions, then an <code>action</code> and a <code>secondaryAction</code>. Three sizes: <code>sm</code> in a table, a chart or a card, <code>md</code> (the default) for a panel, <code>lg</code> for a whole page.</li>
<li><strong>The title is a paragraph</strong> unless <code>headingLevel</code> makes it a heading, for a state that stands for a section of the page: in a table or a chart, a heading would cut the outline of the page.</li>
<li><strong>A Server Component</strong>: no hooks, no handlers, no text of its own.</li>
</ul>
<p><strong>The empty and error states of the kit wear it.</strong> Without an <code>emptyState</code>, <code>DataGrid</code> writes &quot;No data available&quot; as an <code>EmptyState</code> with a tray, and every chart writes &quot;No data&quot; with a mark of empty axes; &quot;Chart could not be loaded&quot; is drawn the same way, with its hint and the retry button of <code>onRetry</code> under it. The labels are those of before, and an <code>emptyState</code> or an <code>errorState</code> still replaces the whole of it. The title is darker than the grey line it replaces, and the panel a little taller: a chart less than about 150px high has less room for its error state.</p>
</li>
<li>
<p><code>Timeline</code> and <code>TimelineItem</code>: what happened, in order. The history of a file, an audit log, the progress of an order were drawn with a <code>Divider</code> and a list; <code>GanttChart</code> plans what is to come, it does not tell what took place.</p>
<pre><code class="language-tsx">&lt;Timeline aria-label=&quot;File history&quot;&gt;
  &lt;TimelineItem
    icon={&lt;CheckIcon /&gt;}
    color=&quot;success&quot;
    title=&quot;Invoice 2026-114 paid&quot;
    time=&quot;12 min ago&quot;
    dateTime=&quot;2026-12-02T14:12&quot;
  &gt;
    Paid by card.
  &lt;/TimelineItem&gt;
  &lt;TimelineItem
    avatar={&lt;Avatar size=&quot;sm&quot; alt=&quot;Camille Roy&quot; fallback=&quot;CR&quot; /&gt;}
    title=&quot;Comment by Camille Roy&quot;
    time=&quot;Yesterday, 4:40 PM&quot;
  &gt;
    We can send it on Friday.
  &lt;/TimelineItem&gt;
  &lt;TimelineItem time=&quot;Nov 3, 2026&quot;&gt;File created&lt;/TimelineItem&gt;
&lt;/Timeline&gt;
</code></pre>
<ul>
<li><strong>An ordered list</strong>: each item has its marker on a line that runs from one to the next, then what happened (<code>title</code>), when (<code>time</code>, written in a <code>&lt;time&gt;</code> element when <code>dateTime</code> gives its moment) and the details (<code>children</code>, which take the title&#x27;s place when there is none).</li>
<li><strong>Markers</strong>: a dot by default, an <code>icon</code> in a disc, or an <code>avatar</code> (an <code>Avatar</code> of size <code>sm</code> fills the place). They are decorative and hidden from assistive technologies: the title says what happened and who did it. <code>color</code> tints them (<code>neutral</code>, <code>primary</code>, <code>success</code>, <code>warning</code>, <code>error</code>, <code>info</code>), and adds to what the title says without ever saying it alone.</li>
<li><strong>Status</strong>: <code>completed</code> (the default), <code>current</code> (a ringed marker, in the brand&#x27;s colour unless <code>color</code> says otherwise, and <code>aria-current=&quot;step&quot;</code> on the item), <code>upcoming</code> (a hollow dot, a greyed title, and the line that leads to it dashed).</li>
<li><strong>Orientation</strong>: <code>vertical</code> for a history of any length, <code>horizontal</code> for a handful of steps across the width, each as wide as the others. A timeline nested in an item keeps its own.</li>
<li><strong>A Server Component</strong>: no hooks, no handlers, no text of its own. It formats no date and writes no &quot;expected&quot;: the application writes both in <code>time</code>.</li>
</ul>
</li>
<li>
<p><code>TreeView</code>: a hierarchy the reader opens, closes and moves through — folders and files, categories, an organisation chart. An application that showed one nested lists of buttons: every button was a Tab stop, the arrows did nothing, and a screen reader knew neither the level of a node nor whether its folder was open.</p>
<pre><code class="language-tsx">const [expanded, setExpanded] = useState&lt;string[]&gt;([&quot;src&quot;]);
const [selected, setSelected] = useState&lt;string[]&gt;([]);

&lt;TreeView
  aria-label=&quot;Project files&quot;
  items={[
    {
      id: &quot;src&quot;,
      label: &quot;src&quot;,
      icon: &lt;FolderIcon /&gt;,
      children: [{ id: &quot;src/index.ts&quot;, label: &quot;index.ts&quot;, icon: &lt;FileIcon /&gt; }],
    },
    { id: &quot;docs&quot;, label: &quot;docs&quot;, hasChildren: true },
  ]}
  expanded={expanded}
  onExpandedChange={setExpanded}
  selected={selected}
  onSelectionChange={setSelected}
  loadChildren={(node) =&gt; fetchChildren(node.id)}
/&gt;;
</code></pre>
<ul>
<li><strong>Data</strong>: the tree is given as <code>items</code>, each node with its <code>id</code>, <code>label</code> and <code>children</code> (or <code>hasChildren</code>, to load them later), and optionally <code>icon</code>, <code>expandedIcon</code>, <code>disabled</code>, <code>textValue</code> and <code>data</code>. Open, selected and checked are each controlled (<code>expanded</code>, <code>selected</code>, <code>checked</code> with their <code>on…Change</code>) or held by the tree (<code>defaultExpanded</code>…), always arrays of identifiers in the order of the tree.</li>
<li><strong>Keyboard</strong>: the ARIA <code>tree</code> pattern in full. One node in the Tab order; the up and down arrows move through the nodes shown, right opens a branch then enters it, left closes it then goes up to its parent (the two swapped in a right-to-left page), Home and End, <code>*</code> opens the neighbouring branches, and the first letters of a name bring the focus to it, accents and case aside.</li>
<li><strong>Selection</strong>: <code>selectionMode</code> is <code>single</code> by default, <code>multiple</code> (Ctrl / ⌘ + click, Shift + click, Space, Shift + arrows, Ctrl / ⌘ + A over what is shown) or <code>none</code>. A click on a branch also opens it, unless <code>expandOnClick={false}</code>.</li>
<li><strong>Three-state boxes</strong>: <code>checkable</code> checks a branch and what it holds; a branch partly checked is mixed. A disabled node keeps its state, and a branch it holds back from being checked entirely is unchecked by the next press.</li>
<li><strong>Loading on demand</strong>: <code>loadChildren</code> is called the first time a <code>hasChildren</code> node is opened, a spinner in place of its arrow. A rejected promise closes the node again and says so under its name (<code>onLoadError</code>, or the console); opening it once more retries. A branch loaded empty becomes a leaf.</li>
<li><strong>Custom labels</strong>: <code>renderLabel(node, state)</code> draws a node&#x27;s label — a count, a badge — and is told whether it is open, selected, checked, disabled or loading. <code>emptyState</code> replaces the tree when <code>items</code> is empty.</li>
<li><strong>Accessible</strong>: <code>tree</code>, <code>treeitem</code> and <code>group</code> roles with level, position, <code>aria-expanded</code> on branches only, <code>aria-selected</code>, <code>aria-checked</code> (<code>mixed</code> included) and <code>aria-busy</code>; each node is named by its label, never by the branches it holds. Two <code>treeView…</code> labels, in English and in French.</li>
</ul>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.54.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-54-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-54-0</guid>
<pubDate>Wed, 02 Dec 2026 19:58:27 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p><code>Select multiple</code>: several values, written as tags in the field. Choosing several labels, recipients or columns no longer goes through a <code>Dropdown</code> of checkboxes, which had no field, no search and nothing to submit with a form.</p>
<pre><code class="language-tsx">const [skills, setSkills] = useState&lt;string[]&gt;([]);

&lt;Select
  multiple
  searchable
  label=&quot;Skills&quot;
  options={options}
  value={skills}
  onValueChange={setSkills} // (value: string[]) =&gt; void
  maxTagCount={3}
  name=&quot;skills&quot;
/&gt;;
</code></pre>
<ul>
<li><strong>Typed by its mode</strong>, as <code>Calendar</code> is by <code>mode</code>: with <code>multiple</code>, <code>value</code>, <code>defaultValue</code> and <code>onValueChange</code> take and give a <code>string[]</code>, in the order the values were chosen; without it, a <code>string</code> as before. <code>SelectProps</code> becomes the union of the new <code>SelectSingleProps</code> and <code>SelectMultipleProps</code>, which share <code>SelectBaseProps</code>: an <code>interface … extends SelectProps</code> no longer compiles and extends one of them instead.</li>
<li><strong>Choosing</strong>: the list stays open while options are checked (<code>aria-multiselectable</code>), each with a box. Enter, and Space on the field, check and uncheck the highlighted option; the focus stays in the search field or on the field.</li>
<li><strong>Tags</strong>: each value is a tag whose cross removes it; Backspace removes the last one, from the field or from an empty search. The crosses are out of the Tab order. <code>maxTagCount</code> writes the first tags and counts the others in one, <code>+2</code>. A value with no option is written under its own text. <code>clearable</code> clears them all.</li>
<li><strong><code>creatable</code></strong>: what is typed becomes a value, from an entry at the end of the list or with Enter, when no option bears that label — tags typed freely. An option that bears it is chosen instead. It turns the search field on.</li>
<li><strong>Forms</strong>: with <code>name</code>, one hidden field per value, as a native <code>&lt;select multiple&gt;</code> submits (<code>formData.getAll(name)</code>).</li>
<li>Three new labels, in English and in French: <code>selectRemoveValue</code>, <code>selectMoreValues</code>, <code>selectCreateOption</code>. And a <code>labels</code> prop (<code>UILabelsOf&lt;&quot;select&quot;&gt;</code>) for the labels of one instance; <code>placeholder</code>, <code>noOptionsText</code>, <code>clearLabel</code>, <code>searchLabel</code> and <code>searchPlaceholder</code> still win over it.</li>
</ul>
<p>For both modes:</p>
<ul>
<li>The list panel now holds the search field and the listbox side by side, where the listbox held the search field: a listbox holds options and nothing else. <code>contentClassName</code> and <code>data-placement</code> are on the panel, as before; an application that looked up the search field inside <code>[role=&quot;listbox&quot;]</code> looks in its parent.</li>
<li>The panel writes its text in the colour of its own background. It inherited the page&#x27;s, and the options were black on <code>gray-800</code> in a dark theme.</li>
<li>The search field carries <code>aria-controls</code> and <code>aria-activedescendant</code>: the focus is there while the list is open, and the option the arrows reach was announced from the field it had left.</li>
<li>A press on an option no longer takes the focus away before it is chosen.</li>
</ul>
</li>
<li>
<p><code>Switch</code>: an on/off setting that takes effect as it is turned. Notifications, a dark theme or a feature no longer go through a <code>Checkbox</code>, which reads as a choice to confirm.</p>
<pre><code class="language-tsx">const [emails, setEmails] = useState(true);

&lt;Switch
  label=&quot;Email notifications&quot;
  description=&quot;One message per paid invoice.&quot;
  checked={emails}
  onCheckedChange={setEmails} // (checked: boolean) =&gt; void
/&gt;;
</code></pre>
<ul>
<li><strong>A native input</strong>: an <code>&lt;input type=&quot;checkbox&quot; role=&quot;switch&quot;&gt;</code> under a drawn track, as <code>Checkbox</code> is under its box. Uncontrolled (<code>defaultChecked</code>), its state stays in the input and never in a React state, so a form reset — which React 19 does after every successful action — puts it back.</li>
<li><strong>Forms</strong>: with <code>name</code>, it is the form&#x27;s field. <code>value</code> (<code>on</code> by default) is sent while it is on, nothing while it is off, as for a checkbox; <code>required</code> keeps the form from being sent while it is off. <code>onCheckedChange</code> hands back the boolean, and the native <code>onChange</code> gets the event before it, so that <code>{...register(&quot;emails&quot;)}</code> of react-hook-form is spread as it is. The ref is the input.</li>
<li><strong>States</strong>: <code>disabled</code>, <code>readOnly</code> (reached and submitted, but neither a press nor Space turns it), and <code>error</code>, read as on every field: <code>true</code> or a message, <code>aria-invalid</code>, the message under the switch and in its description.</li>
<li><strong>Look</strong>: three sizes (<code>sm</code>, <code>md</code>, <code>lg</code>). Off, an outline and a grey thumb, as an unchecked box; on, the brand&#x27;s fill and its <code>on-primary</code> thumb. The focus is an outline on the track, which a forced-colours theme keeps, and the thumb is drawn in <code>CanvasText</code> there. The target is 24px tall at least, past the track. <code>labelPosition=&quot;left&quot;</code> with <code>className=&quot;w-full&quot;</code> is the row of a settings page; a right-to-left page turns it round.</li>
</ul>
</li>
<li>
<p><code>Toaster</code> and <code>toast()</code>: the stack of notifications. <code>Toast</code> draws one message where it is rendered; an application had to build the rest — a stack, the countdowns, a live region, a way past an open dialog — and each one built it again.</p>
<pre><code class="language-tsx">// Once, near the root — a server layout can render it.
&lt;Toaster position=&quot;bottom-right&quot; /&gt;;

// From anywhere: a component, an event handler, a module that is not a component.
toast.success(&quot;Invoice sent&quot;, {
  description: &quot;The client gets it in a moment.&quot;,
  action: { label: &quot;Undo&quot;, onClick: undo },
});

await toast.promise(save(), {
  loading: &quot;Saving…&quot;,
  success: (rows) =&gt; `${rows} rows saved`,
  error: &quot;Saving failed&quot;,
});
</code></pre>
<ul>
<li><strong>The functions</strong>: <code>toast(title, options)</code>, <code>toast.success</code>, <code>.error</code>, <code>.warning</code>, <code>.info</code>, <code>.loading</code> (stays until it is replaced), <code>.promise</code> (hands the promise back: awaited, it still rejects) and <code>.dismiss(id?)</code>, each returning the id of the toast. Pushed again under its <code>id</code>, a toast is replaced in place and its countdown starts over. <code>useToast()</code> hands back the same function. On the server, <code>toast()</code> does nothing.</li>
<li><strong>The stack</strong>: the newest <code>max</code> (3) are shown, nearest the edge; the others wait without counting down and come back as the shown ones close — none is dropped unread. Each toast closes after its <code>duration</code>, or the Toaster&#x27;s (5 seconds); <code>0</code> keeps it. A line along its bottom shows the time left (<code>showProgress</code>), and is not drawn under reduced motion.</li>
<li><strong>The countdowns stop</strong> while the pointer is over the stack, while the focus is in it and while the page is hidden, and start over after. <code>onClose(reason)</code> says why a toast left: <code>timeout</code>, <code>close</code>, <code>action</code> or <code>dismiss</code> — where an undoable deletion goes through.</li>
<li><strong>One polite live region</strong> announces the toasts, present before the first one; the toasts inside it carry no <code>role=&quot;alert&quot;</code>. It stays readable and clickable while a dialog hides the page, above dialogs and menus. F8 (<code>hotkey</code>) sends the focus there from anywhere, a dialog included: Tab goes from one toast to the next, Escape or Tab past the last goes back to where the focus was, and the dialog stays open.</li>
<li><strong>Two labels</strong>: <code>toasterRegion</code> and <code>toasterRegionHotkey</code>, the name of the region.</li>
<li><code>Toast</code>: <code>title</code> and <code>description</code> take any content, not only a string.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>Checkbox</code>: a box without a <code>value</code> of its own is sent as <code>on</code> under React 18, as a browser sends it. React 18 wrote <code>value=&quot;&quot;</code> for the <code>value</code> of <code>undefined</code> the component handed its input, and the form received an empty string; React 19 left the attribute out. <code>value</code> now reaches the input only when it is given. <code>Switch</code> is built the same way.</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.53.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-53-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-53-0</guid>
<pubDate>Wed, 02 Dec 2026 15:43:48 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p><code>DatePicker</code> and <code>DateRangePicker</code>: date fields that open a <code>Calendar</code>.</p>
<pre><code class="language-tsx">&lt;DatePicker label=&quot;Due date&quot; value={date} onChange={setDate} minDate={today} name=&quot;due&quot; /&gt;

&lt;DateRangePicker
  label=&quot;Period&quot;
  value={range}
  onChange={setRange}
  presets={[&quot;7d&quot;, &quot;30d&quot;, &quot;mtd&quot;, &quot;qtd&quot;, &quot;ytd&quot;]}
  numberOfMonths={2}
/&gt;
</code></pre>
<ul>
<li><strong>Typed on the keyboard</strong> in the order of the reader&#x27;s locale — <code>dd/mm/yyyy</code> in <code>fr-FR</code>, <code>mm/dd/yyyy</code> in <code>en-US</code>, whatever the separator, and <code>YYYY-MM-DD</code> everywhere — or <strong>picked in the calendar</strong>, opened in a <code>Popover</code> from the button at the end of the field or with Alt + ↓, the focus on the chosen day</li>
<li>The text is read when the field is left or on Enter. A text that is no day the field takes — not a date, before <code>minDate</code>, after <code>maxDate</code>, one of <code>disabledDates</code> — stays on screen to be corrected, is reported as <code>null</code>, and the field says why in its own words (twelve new <code>datePicker…</code> and <code>dateRangePicker…</code> labels, English and French), before the message of <code>error</code>, which reads as on every field of the library</li>
<li><code>name</code> submits the day as <code>YYYY-MM-DD</code> whatever the language (<code>startName</code> / <code>endName</code> for a period). The <code>ref</code> is the text field, where a form library sends the focus after a submit that failed</li>
<li><code>DateRangePicker</code> names each of its two fields by the label, then by &quot;Start date&quot; / &quot;End date&quot;; ends typed the wrong way round are put back in order, as the calendar does. Its <code>presets</code> are the windows of <code>ChartPeriodPicker</code> — same keys, same labels — held within <code>minDate</code> and <code>maxDate</code>, or windows of your own (<code>{ label, from, to }</code>)</li>
</ul>
<p><code>PopoverContent</code> takes <code>initialFocus</code>: the element the focus goes to when the panel opens, rather than its first stop.</p>
</li>
<li>
<p>One API of error for every field. <code>error</code> is <code>boolean | string</code> on <code>Input</code>, <code>NumberInput</code>, <code>MentionInput</code>, <code>Select</code>, <code>FileSelector</code>, <code>Checkbox</code>, <code>CheckboxGroup</code>, <code>RadioButton</code> and <code>Slider</code>, read the same way everywhere: a message marks the field invalid and is written under it in place of <code>helperText</code>; <code>true</code> marks it without a message and turns the help red; <code>false</code>, <code>undefined</code> and <code>&quot;&quot;</code> are no error. A form library&#x27;s message goes straight in:</p>
<pre><code class="language-tsx">&lt;Input
  label=&quot;Email&quot;
  {...register(&quot;email&quot;)}
  error={errors.email?.message ?? Boolean(errors.email)}
/&gt;
</code></pre>
<p>The control is <code>aria-invalid</code> while the field is invalid and described by what is on screen around it (<code>aria-describedby</code>, after the ids you pass yourself). What changes for an application already in production:</p>
<ul>
<li><code>Input</code>, <code>NumberInput</code> and <code>MentionInput</code> take a message in <code>error</code>; <code>error={true}</code> with a <code>helperText</code> still draws the help in red, as before. Their help is now linked to the field, which it was not</li>
<li><code>Select</code> and <code>FileSelector</code> take <code>true</code>. Their message is no longer a <code>role=&quot;alert&quot;</code>: like every message of the library it describes its field, read when the field takes the focus — where a form library sends it after a submit that failed</li>
<li><code>aria-invalid=&quot;false&quot;</code> is no longer written on a valid <code>Checkbox</code>, <code>RadioButton</code>, <code>Slider</code> or <code>FileSelector</code>; <code>error=&quot;&quot;</code> no longer marks a <code>Checkbox</code> or a <code>CheckboxGroup</code> invalid</li>
<li>The description of a <code>RadioButton</code> stays on screen beside its message (<code>error={true}</code> took it away and put nothing in its place), and describes the button; so does the description of a <code>Slider</code>&#x27;s help</li>
<li><code>CheckboxGroup</code> names its group with its label (<code>aria-labelledby</code>), which pointed at nothing, and describes it with its description and its message</li>
<li>The error border of <code>FileSelector</code> is <code>red-500</code>, which reads at 3:1 against the page; <code>red-300</code> did not</li>
<li><code>hideLabel</code> keeps the label for screen readers on <code>Input</code>, <code>NumberInput</code> and <code>MentionInput</code>: it is still the field&#x27;s name. It was not rendered at all</li>
<li>The required asterisk of <code>Checkbox</code>, <code>CheckboxGroup</code> and <code>RadioButton</code> is out of the accessible name: the control already says it is required</li>
</ul>
<p><code>FormField</code> gives the same frame to a field the library does not draw — a colour picker, an editor, a control of your own: label, description, help and error, and the attributes that tie the control to them, handed to a function you spread on the control. It renders on the server too.</p>
<pre><code class="language-tsx">&lt;FormField label=&quot;Colour&quot; helperText=&quot;Any CSS colour&quot; error={errors.color?.message} required&gt;
  {(control) =&gt; &lt;ColorPicker {...control} value={colour} onChange={setColour} /&gt;}
&lt;/FormField&gt;
</code></pre>
</li>
<li>
<p><code>Popover</code>: an interactive panel anchored to a trigger — a small form beside a button, filters, details the reader acts on. Unlike <code>Tooltip</code>, its content takes the focus; unlike <code>Modal</code>, the page behind stays live.</p>
<pre><code class="language-tsx">&lt;Popover&gt;
  &lt;PopoverTrigger asChild&gt;
    &lt;Button label=&quot;Filters&quot; /&gt;
  &lt;/PopoverTrigger&gt;
  &lt;PopoverContent side=&quot;bottom&quot; align=&quot;start&quot; className=&quot;w-72&quot;&gt;
    {/* the fields of the filter */}
    &lt;PopoverClose asChild&gt;
      &lt;Button label=&quot;Apply&quot; /&gt;
    &lt;/PopoverClose&gt;
  &lt;/PopoverContent&gt;
&lt;/Popover&gt;
</code></pre>
<ul>
<li><strong>State</strong>: uncontrolled (<code>defaultOpen</code>) or controlled (<code>open</code>, <code>onOpenChange</code>); <code>closeOnEscape</code> and <code>closeOnClickOutside</code>.</li>
<li><strong>Placement</strong>: <code>side</code>, <code>align</code>, <code>sideOffset</code>, <code>alignOffset</code>, <code>avoidCollisions</code>, <code>collisionPadding</code>, through the <code>usePositioning</code> of <code>Dropdown</code> — the other side only when it has more room, then inside the viewport, no taller than it. The panel is portalled under the <code>&lt;body&gt;</code> of its trigger&#x27;s document, a detached window&#x27;s included, so that no ancestor in <code>overflow: hidden</code> cuts it.</li>
<li><strong>Focus</strong>: on opening, to the first field or button of the panel. Escape and <code>PopoverClose</code> give it back to the trigger; Tab past the last stop closes the panel and moves on to what follows the trigger, Shift+Tab before the first goes back to the trigger.</li>
<li><strong>In a dialog</strong>: the panel is a registered floating layer, live and in the dialog&#x27;s focus trap. Its Escape is prevented, so the dialog stays open, and a menu or a list opened from the panel takes Escape first; a press in one does not close the panel.</li>
<li>A non-modal <code>role=&quot;dialog&quot;</code> named by its trigger. <code>PopoverTrigger asChild</code> composes with its child as <code>DropdownTrigger</code> does. A <code>PopoverClose</code> without children draws a cross named by the new <code>popoverClose</code> label.</li>
</ul>
<p><code>Tooltip</code> and the bubble of <code>HelpButton</code> are placed the same way: portalled into their trigger&#x27;s document and placed by <code>usePositioning</code>, where they were drawn in CSS inside the trigger&#x27;s box. An ancestor in <code>overflow: hidden</code> no longer cuts them, and the 288-pixel help bubble no longer leaves the screen beside a button near its left edge. The arrow of a tooltip follows the side it ends up on and keeps pointing at the trigger; tooltips sit at <code>z-[70]</code>, above the menus. Both are shown at <code>opacity: 0</code> until they are measured. An application that styled them through their parent, or looked them up inside the trigger&#x27;s element, has to look under <code>&lt;body&gt;</code> instead.</p>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>A field the keyboard reaches shows it. The text fields drew no focus at all (<code>focus:ring-0</code> and <code>focus:outline-none</code>): <code>Input</code>, <code>NumberInput</code>, <code>MentionInput</code>, <code>DatePicker</code> and <code>DateRangePicker</code> now take a ring of the brand when focused, red on a field in error, as <code>Select</code> already did. The same was missing from the editable area of <code>MarkdownEditor</code> (a ring around the editor while it or its toolbar has the focus), the search field of a searchable <code>Select</code> (the rule under it turns to the brand), the inline fields of <code>SchemaEditor</code> (an outline for the keyboard) and the mobile menu button of <code>Header</code>.</p>
<p>The outline those elements drop is a transparent one (<code>outline-hidden</code>) rather than none: a forced-colours theme, which draws no ring, shows it.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.52.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-52-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-52-0</guid>
<pubDate>Tue, 01 Dec 2026 20:58:33 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>The line, area and bar charts do what their props say.</p>
<ul>
<li><strong>Escape</strong> is a chart&#x27;s only while it drops something: a selected mark, or
a brushed window. With nothing to drop it goes on to the dialog around the
chart, which closes on it again. Every chart of the kit, <code>Heatmap</code> and
<code>ScatterChart</code> included.</li>
<li><strong>Reference lines and point annotations are inside the value axis.</strong> A
target of 100 over bars of 60 and 80 used to be drawn above the plot.</li>
<li><strong>A stacked bar with negative values</strong> is rounded at its tip and reaches the
baseline: <code>stackSeries</code> now writes a negative segment from the edge near
zero to the edge away from it, as its documentation always said.</li>
<li><strong>A Likert stack keeps each series on its arm</strong> when its centre is hidden
from the legend.</li>
<li><strong><code>onPointClick</code> reads the click itself</strong>: it fires without a tooltip and on
a tap, and hands over the series nearest the click — the bar, the band or
the line under it — rather than always the first one.</li>
<li><strong>A time axis ticks on the calendar</strong> — days, Mondays, the first of the
month — written at the precision of its step and in the chart&#x27;s locale.</li>
<li><strong>The tooltip and the data table write values in full</strong> (&quot;1,150,000&quot;, not
&quot;1.2M&quot;), in <code>y.format</code> when it is given; the ticks keep the compact
notation.</li>
<li><strong><code>forecastFrom</code> between two rows</strong> starts the forecast on the next row, a
<code>Date</code> matches rows written as strings, and a value no row reaches says so
in the console.</li>
<li><strong>An annotation band</strong> with one end outside the window is clipped to it
rather than dropped.</li>
<li><strong>Brushing</strong>: a window is drawn on the rows that were swept when labels
repeat, a one-row window on a line is drawn at least 6px wide, and
<code>brushToPeriod</code> runs to the end of the last row&#x27;s interval (January to March
on monthly rows ends on the 31st of March). A <code>BarChart</code> ranked by <code>sort</code>
takes no window.</li>
<li><strong><code>maxPoints</code> on a stacked <code>AreaChart</code></strong> thins the stack once, so two bands
draw the edge they share from the same points.</li>
</ul>
<p>New in the API: <code>ChartBrushRange.end</code>, <code>ChartBrushLayer</code>&#x27;s <code>minSpan</code>,
<code>ChartAnnotationLayer</code>&#x27;s <code>spanAt</code>, and <code>locale</code> in the options of
<code>buildCartesianGeometry</code>. <code>useChartBrush().onKeyDown</code> returns whether it
consumed the key.</p>
</li>
<li>
<p>The charts get their small things right.</p>
<ul>
<li><strong><code>ChartExportButton</code> needs nothing in a chart.</strong> In the <code>actions</code> of a
chart it writes the chart&#x27;s own table: the rows in the order the table
sorts them, without the series the reader hid from the legend. It was
handed the application&#x27;s data and wrote neither. <code>data</code>, <code>series</code> and
<code>xKey</code> become optional; a field passed still wins, and a button outside a
chart is handed them as before. Every chart sets the new <code>exportSource</code> of
<code>ChartContainer</code>.</li>
<li><strong>The file keeps the table&#x27;s columns.</strong> A series named &quot;2025&quot; was written
before the category, two series of one label were one column, and a date
held as local midnight was written in UTC — the eve of its day east of
Greenwich. A <code>Date</code> is now written as its day, or as its moment with its
offset; a date that is not one is an empty cell.</li>
<li><strong>Axes.</strong> The top tick of an axis running to 0.3 went missing (<code>0.3 / 0.1</code>
is <code>2.9999999999999996</code>), for about one maximum in five between 0.001 and
1; a histogram of more than some 125 000 values overflowed the stack.</li>
<li><strong>A synchronised group marks the position <code>0</code></strong> — and <code>&quot;&quot;</code> — in its other
panels.</li>
<li><strong>A chart whose legend moves</strong> from the right to the bottom keeps its
width: <code>useChartSize</code> follows the element it measures when it is replaced.</li>
<li><strong>&quot;12 months&quot; on a 29 February</strong> keeps its first day.</li>
<li><strong>The surface colour.</strong> The gap between two bands of an <code>AreaChart</code>, and the
ring around a marker, are drawn in <code>--color-chart-surface</code> rather than in
white: an application that redefines it sees its own surface.</li>
<li><strong>A crowded <code>BarChart</code></strong> — fifty categories of three series on a phone —
narrows the gap between the bars of a group instead of running each group
into the next.</li>
<li><strong><code>PieChart</code>: <code>maxSlices</code> counts the grey bucket.</strong> Seven rows drew six
colours and a seventh slice &quot;Other&quot; holding one row, and warned about its
own default. The bucket is now one of the <code>maxSlices</code> slices and always
holds two rows at least: an application that sets <code>maxSlices</code> sees one
coloured slice fewer. A negative value in the tail no longer shrinks the
bucket and grows every other share. New <code>valueLabel</code>: the value column of
the table was headed by <code>x.label</code>, the name of the slices.</li>
<li><strong><code>BulletChart</code></strong>: the value axis is captioned by <code>valueLabel</code>, no longer by
<code>x.label</code>, which names the rows; a negative measure is drawn left of zero
instead of not at all.</li>
<li><strong><code>GanttChart</code></strong>: a row with no end is a milestone even when the
<code>milestone</code> field is passed; it came out as a 2-pixel sliver.</li>
<li><strong><code>BoxPlot</code></strong>: a summary given under <code>quantiles</code> shows no count — &quot;Count 0&quot;
was one the chart made up — and with <code>showMean</code> the mean is read out in the
tooltip and the data table (new label <code>chartMean</code>).</li>
<li><strong><code>ScatterChart</code></strong>: the size of a bubble is read out in the tooltip and has
a column in the data table, under <code>bubble.label</code>, written by <code>bubble.format</code>
(new type <code>ScatterBubble</code>). <code>ChartTableView</code> takes <code>columnFormats</code> for a
column whose unit is not the others&#x27;.</li>
</ul>
</li>
<li>
<p><code>FooterBottom</code>&#x27;s <code>copyright</code> takes any content, not only a text: a link to the owner&#x27;s site, a translated sentence, a paragraph. The copyright is the application&#x27;s — the component writes no name, year or rights notice of its own, and draws no line without one. It is now held in a <code>&lt;div&gt;</code> rather than a <code>&lt;p&gt;</code>, so that a paragraph passed in is not nested in another.</p>
<p>The README showed <code>&lt;Footer copyright=&quot;…&quot; /&gt;</code>, a prop <code>Footer</code> does not have (it did not compile): it now composes <code>FooterBottom</code>, as the usage guide does.</p>
</li>
<li>
<p>Forms, data and display components get their small things right.</p>
<ul>
<li><strong><code>Checkbox</code>.</strong> <code>hoverColor</code> and <code>focusRingColor</code> are taken as written,
with their variant (<code>hover:bg-red-50</code>, <code>peer-focus-visible:ring-red-500</code>),
so that the application&#x27;s Tailwind generates them; a class without its
variant is still given one. The default focus ring is written out whole —
it was assembled at run time, and in the stylesheet by chance. <code>className</code>
goes on the box (it was dropped), and <code>indeterminate</code> stays on the input
after a click while the prop says so.</li>
<li><strong><code>RadioButton</code>.</strong> <code>hoverColor</code> and <code>focusRingColor</code> are drawn, through CSS
variables, where they removed the default and applied nothing; the focus
ring follows the input&#x27;s focus (<code>peer-focus-visible:</code>), where it waited for
a focus the circle never takes. <code>errorColor</code> borders the circle.</li>
<li><strong><code>Input</code></strong> with <code>inline</code> writes <code>helperText</code> under the field, not beside
it.</li>
<li><strong><code>FileSelector</code></strong> refuses a file it already holds, through <code>onReject</code>
(new label <code>fileSelectorAlreadyAdded</code>), and its hidden native field is out
of the tab order.</li>
<li><strong><code>Calendar</code></strong> in <code>dropdown</code>: the arrows stop at <code>fromYear</code> and <code>toYear</code>,
and the year menu always names the year on screen.</li>
<li><strong><code>Pagination</code>.</strong> A page past the last is held to the last (&quot;91–50 of 50&quot;
and a &quot;Previous&quot; that did nothing), an empty set reads &quot;0–0 of 0&quot;, two
paginations on a page no longer share the id of their size menu, and the
list keeps the same number of slots wherever the page is, so &quot;Next&quot; no
longer moves under the pointer.</li>
<li><strong><code>DataGrid</code>.</strong>
<ul>
<li>A date filter compares days (on, before, after, between) and reads a
<code>Date</code>, a timestamp or an ISO string alike; <code>between</code> is implemented for
numbers and dates, its upper bound in the new <code>FilterValue.valueTo</code>; a
number filter compares numbers, and an empty cell is in no comparison.
New labels: <code>dataGridOperatorBetween</code>, <code>dataGridOperatorOn</code>,
<code>dataGridOperatorBefore</code>, <code>dataGridOperatorAfter</code>,
<code>dataGridFilterValueTo</code>.</li>
<li><code>filterable</code> alone draws a text filter; it drew no button.</li>
<li>With <code>editable</code>, a cell keeps its column&#x27;s <code>render</code> until it is
double-clicked, a cell that held a number hands back a number, and the
Escape that cancels an edit is not passed on to a dialog around.</li>
<li>Columns that arrive after the first render can be reordered.</li>
<li>Several sticky columns on one side sit after one another instead of one
over the other (each one before the last needs a <code>width</code>, and the console
says so once), and a sticky cell of a striped or selected row is opaque.</li>
</ul>
</li>
<li><strong><code>Avatar</code></strong> shows its fallback when the picture does not load. It is still
rendered on the server: the picture is a small client component over the
fallback.</li>
<li><strong><code>Banner</code>.</strong> A banner the reader closed comes back when its message
changes.</li>
<li><strong><code>Breadcrumb</code>.</strong> An item with an <code>onClick</code> and no <code>href</code> is a button the
keyboard reaches; <code>maxItems={1}</code> keeps the last item; two items of one
label no longer share a key.</li>
<li><strong><code>TableRow</code></strong> is <code>clickable</code> only when it has an <code>onClick</code>, and its border
is grey rather than <code>currentColor</code>.</li>
<li><strong><code>Card</code></strong> <code>padding=&quot;md&quot;</code> pads; <strong><code>Divider</code></strong> vertical is as tall as its
row; <strong><code>CircularProgress</code></strong> spins without jumping back a quarter turn; a
progress of <code>NaN</code> is 0 on <code>CircularProgress</code> and <code>ProgressBar</code>.</li>
</ul>
</li>
<li>
<p>What an application hands a component, or a reader pastes into one, stays what it is.</p>
<ul>
<li><strong><code>ImageUploader</code> refuses an SVG unless <code>accept</code> names it</strong> (<code>image/svg+xml</code>
or <code>.svg</code>): it is an image that can carry a script, which runs once the file
is served from the application&#x27;s own domain. <code>accept</code> is now applied to the
file chosen, not only to the dialog, where &quot;All files&quot; went around it. A
refused format says so with a new label, <code>imageUploaderTypeNotAccepted</code>.</li>
<li><strong><code>FileSelector</code> reads an extension as the end of a name</strong>: a file named
<code>pdf</code> no longer passes <code>accept=&quot;.pdf&quot;</code>, and <code>.tar.gz</code> works. A dropped
folder is read until it has given <code>maxFiles</code> accepted files, and never past
10,000 entries — read to its end before <code>maxFiles</code> applied, a large one held
the tab. The JSDoc of both components says their checks do not replace the
server&#x27;s.</li>
<li><strong><code>MentionInput</code> takes what is pasted or dropped as plain text.</strong> HTML from
a page went in as it was, loading its remote images, and a
<code>&lt;span data-mention-id&gt;</code> in it was reported to <code>onChange</code> as a mention the
reader never chose. A mention is now a chip the component placed.</li>
<li><strong><code>generateSQL</code> writes nothing of the schema as SQL of its own.</strong> A <code>type</code>
that is not a type name is written as a quoted identifier, which PostgreSQL
looks up and refuses; a <code>defaultValue</code> that is not a number, a string, a
keyword or a function of literals is written as a string (<code>active</code> becomes
<code>&#x27;active&#x27;</code>). A shared schema with <code>type: &quot;int4); DROP TABLE users; --&quot;</code>
produced a script that ran it.</li>
<li><strong>Colours and addresses written into <code>style</code> can no longer add
declarations.</strong> On the server, React writes a style value into the HTML as
it is: a <code>borderColor</code> of <code>red;position:fixed;inset:0</code> laid the field over
the page. The colour props of <code>Input</code>, <code>NumberInput</code>, <code>MentionInput</code>,
<code>RadioButton</code>, <code>Slider</code> and <code>DeviceMockup</code>, and the <code>color</code> of a chart
series, keep a value that can only be a colour — anything else is ignored,
once in the console. <code>Banner</code> quotes its <code>backgroundImage</code>.</li>
<li><strong><code>Detachable</code> and <code>AdvanceDetachable</code> cut the window from the page</strong>
(<code>window.opener</code> set to <code>null</code>): a link followed in the detached content
could send the page elsewhere. Such a link now ends the detachment like a
close — the content comes back to the page, and the window is the reader&#x27;s.</li>
<li><strong><code>AdvanceDetachable</code> checks a message field by field</strong> before reading any
of it, and without <code>BroadcastChannel</code> hears only the window it opened, on
the page&#x27;s origin. Its <code>id</code> names the channel in every tab: the JSDoc now
says to put the identifier of what is edited in it.</li>
<li>The package declares <code>engines.node &gt;=18</code>.</li>
</ul>
</li>
<li>
<p>A second stylesheet, <code>@synertech/ui/styles-no-preflight.css</code>, for an application that compiles Tailwind CSS itself.</p>
<p><code>styles.css</code> carries Tailwind&#x27;s preflight, the reset that applies to the whole page: margins and paddings to zero, <code>box-sizing: border-box</code>, headings, lists and images stripped of the browser&#x27;s styles. An application with its own Tailwind already has it, and the second copy, loaded after the application&#x27;s stylesheet in the same <code>base</code> layer, undid the rules the application wrote there — its headings came back the size of its paragraphs. The new sheet holds the same components, classes and variables without the reset. An application without Tailwind keeps <code>styles.css</code>: the components are drawn on that reset.</p>
<pre><code class="language-tsx">// An application whose own stylesheet starts with @import &quot;tailwindcss&quot;
import &quot;@synertech/ui/styles-no-preflight.css&quot;;
</code></pre>
<p>The README&#x27;s &quot;Advanced&quot; section, a Tailwind 3 configuration that skipped the stylesheet, is replaced by this choice: without the stylesheet an application loses the brand ramp, the chart palette, the <code>dark</code> variant and the animations.</p>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>The advanced components do what they say.</p>
<ul>
<li><strong><code>DeviceMockup</code> scrolls at its speed.</strong> <code>scrollTop</code> is a whole number of
pixels: the animation added a fraction of one at each frame, rounded away
— on a 120 Hz screen the content stood still, at 60 Hz it jerked. The
position is now kept apart and only written to the element. The animation
follows the content into the frame of another <code>device</code>, where it kept
writing to the one that was gone, and stops when the reader asked for
reduced motion.</li>
<li><strong><code>DeviceMockup</code>, the screen.</strong> The content takes what the status bar
leaves, where it was cut off at the bottom by the height of the bar. A
laptop or a desktop with <code>orientation=&quot;landscape&quot;</code> keeps a landscape
screen: only a phone, an android and a tablet turn.</li>
<li><strong>Detached windows follow the page.</strong> <code>Detachable</code> and <code>AdvanceDetachable</code>
copy a style sheet with every attribute — a <code>media=&quot;print&quot;</code> sheet applied
on screen — in the page&#x27;s order, and add and remove it as the page does.
The class, <code>data-theme</code>, <code>dir</code> and <code>lang</code> of <code>&lt;html&gt;</code> and <code>&lt;body&gt;</code> are
copied and followed, so the window turns dark with the page.
<code>detachedBodyClassName</code> is added to the classes of the page&#x27;s body: it was
replaced by them as soon as the body had one, as a Next.js body always has.</li>
<li><strong><code>SchemaEditor</code></strong> calls <code>onFieldClick</code> and <code>onFieldDoubleClick</code>, then the
table&#x27;s handler; they were accepted and never called. A relation&#x27;s <code>label</code>
is drawn under its cardinality. A <code>readOnly</code> schema lets a relation be
selected, and still never changes its cardinality.</li>
<li><strong>Both editors</strong>: <code>autoFit</code> fits once, as soon as there is something to
fit — a schema or a workflow loaded after the first render was left at the
origin — and two editors of a page no longer share one grid pattern, which
drew the second one&#x27;s dots at the first one&#x27;s zoom.</li>
</ul>
</li>
<li>
<p>The specialised charts draw what their data says.</p>
<ul>
<li><strong>A mark stays on its plot.</strong> <code>GanttChart</code> cuts its bars and arrows at the
edge of a <code>domain</code> narrower than the plan, and leaves out a milestone or a
<code>today</code> outside it — the rule of a project starting next week was drawn
among the names of the tasks. <code>DumbbellChart</code>, <code>BoxPlot</code> and
<code>CandlestickChart</code> clip their marks to the plot, take their reference lines
into the value axis like the cartesian charts, and leave out one that a
<code>y.domain</code> of the caller does not reach. <code>BulletChart</code> stops a measure
past its <code>domain</code> at the end of the track and draws no target outside it;
the figure, the tooltip and the table still give the value.</li>
<li><strong><code>PieChart</code> colours the slices that survive the fold.</strong> A slice from past
the eighth row takes a palette slot no kept slice holds, rather than the
grey of &quot;Other&quot;; the rows of the first eight keep the slot of their row.</li>
<li><strong><code>ScatterChart</code> draws <code>quadrants.x</code></strong>, which it documented and ignored, and
fits its trend line on centred values: on a time axis 100 ms apart the
slope came out at a tenth of its value, and points sharing one timestamp
drew a line.</li>
<li><strong><code>DumbbellChart</code></strong>: <code>change</code> is <code>null</code> while fewer than two series are
visible (it was 0 on every row); <code>sort=&quot;gap&quot;</code> measures the bar a row draws,
its largest value minus its smallest; descending orders keep rows that tie
in the order they came in; a row with nothing to sort on goes last.</li>
<li><strong><code>FunnelChart</code> shows its empty state when no stage holds a value above
zero.</strong> Every stage at 0 was drawn at half the plot.</li>
<li><strong><code>BoxPlot</code> draws the median of a box with no spread</strong> — one observation,
or values all equal — in the colour of the box, where the white line hid
it.</li>
</ul>
</li>
<li>
<p>Bars keyed on a date or a number are bars again.</p>
<p>A <code>scale</code> of <code>time</code> or <code>linear</code> sent the cartesian engine down its continuous
branch, which hands out positions and leaves <code>bandwidth</code> at <code>0</code> — the width
every mark of the kit sizes itself on. A bar chart keyed on a date therefore
drew a row of 1px hairlines, and so did the candlestick, box plot, waterfall
and dumbbell charts, which ask for the same band placement.</p>
<p>A band asked for on a continuous axis is still a band: it now takes the widest
slot the rows leave it, which is the distance between the closest pair of them,
and the axis is inset by half of it so the marks on the two ends of the domain
stay inside the plot. The axis keeps its own reading in exchange — the rows
land on their real values, so a missing week shows as a gap rather than
closing up, and an annotation can still be placed on a date the rows never
carry.</p>
<p><code>bins</code> is unaffected: a histogram&#x27;s buckets are the chart&#x27;s own categories,
whatever scale the caller declared for the field underneath.</p>
</li>
<li>
<p>The usage guide shipped with the package (the <code>use-synertech-ui</code> Claude Code skill) is written with its accents throughout: the sections on <code>Modal</code>, <code>Drawer</code>, <code>Detachable</code>, accessible dialogs, translatable labels and the anti-patterns were not. It now ends on the component reference, which reads without JavaScript, before Storybook.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.51.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-51-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-51-0</guid>
<pubDate>Mon, 30 Nov 2026 00:37:30 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>Editors and detached windows: one way to make a link, pointer drags, imports that say why they are refused, and content that survives the trip to the window.</p>
<ul>
<li><strong><code>WorkflowEditor</code>, links</strong>: a link dropped near a port went through a second path that asked neither <code>canConnect</code> nor a disabled port. A link is now made in one place, which asks both and refuses a disabled port at either end. The Delete key leaves a locked node.</li>
<li><strong>Both editors, the toolbar&#x27;s dialogs</strong>: a key, a press or a wheel that comes through a portal is no longer the canvas&#x27;s. Ctrl+Z in the import field undid a change of the schema, and the wheel over the exported JSON zoomed.</li>
<li><strong>Both editors, import</strong>:
<ul>
<li>The content is checked before it reaches the render: a table without <code>fields</code> threw.</li>
<li>The dialog stays open and names the first thing that does not fit, through two new labels, <code>editorImportInvalidJson</code> and <code>editorImportInvalidContent</code>.</li>
<li><code>loadJSON</code> returns whether it loaded.</li>
</ul>
</li>
<li><strong>Both editors, wheel</strong>: the listener is non-passive, so the page no longer scrolls while the canvas zooms. A sideways scroll is left to the page.</li>
<li><strong>Both editors, controlled value</strong>: <code>updateValue</code> is stable and builds on the latest value, so two changes in one tick both land. An inline <code>onValueChange</code> no longer renders every table again during a pan.</li>
<li><strong>Both editors, pointer</strong>:
<ul>
<li>Drags use Pointer Events, with the main button only, and end on <code>pointercancel</code>.</li>
<li>The canvas is <code>touch-none</code>, so a finger pans and drags.</li>
<li>In <code>SchemaEditor</code>, a press on a field&#x27;s row no longer moves its table.</li>
</ul>
</li>
<li><strong><code>SchemaEditor</code>, SQL</strong>:
<ul>
<li>A key of two columns is one <code>PRIMARY KEY (a, b)</code>.</li>
<li>A table is created after the tables it references.</li>
<li>Only the keys that close a cycle go into an <code>ALTER TABLE</code> at the end.</li>
</ul>
</li>
<li><strong><code>Detachable</code> and <code>AdvanceDetachable</code>, a blocked window</strong>:
<ul>
<li>The content stays in the page, and uncontrolled, the component is attached again.</li>
<li><code>AdvanceDetachable</code> takes <code>onPopupBlocked</code> and calls <code>onDetachedChange(false)</code>.</li>
<li>A controlled <code>Detachable</code> no longer tries the window again at every render of its parent.</li>
</ul>
</li>
<li><strong><code>Detachable</code> and <code>AdvanceDetachable</code>, the trip</strong>:
<ul>
<li>The children are rendered once, and the element that holds them moves between the page and the window: a draft held in a child survives detaching and attaching.</li>
<li><code>Select</code>, <code>Dropdown</code> and <code>ChartPeriodPicker</code> open, listen and measure in the document of their trigger, so they work in the detached window.</li>
</ul>
</li>
</ul>
</li>
<li>
<p>Forms: <code>MentionInput</code>, <code>Slider</code>, <code>ImageUploader</code>, <code>FileSelector</code> and <code>Input</code> do what they say.</p>
<ul>
<li><strong><code>MentionInput</code> shows the value it is given</strong>:
<ul>
<li>It shows it at mount, so an existing message can be edited, and again whenever the application changes it.</li>
<li>The value it has just reported comes back identical and is left alone, so the caret does not move.</li>
<li>A <code>&lt;div&gt;</code> or a <code>&lt;br&gt;</code> typed by a browser is read as <code>\n</code> (&quot;hello&quot;, Enter, &quot;world&quot; was &quot;helloworld&quot;).</li>
<li>The query takes letters of any script (<code>@Hé</code> closed the list), and a trigger such as <code>+</code> no longer throws.</li>
<li>The chips are portals of the component rather than a <code>createRoot</code> each: the provider reaches them, and <code>react-dom/client</code> is gone.</li>
<li>The cross of a chip calls <code>onMentionRemove</code>, and so does a deleted selection with a mention in it.</li>
</ul>
</li>
<li><strong><code>Slider</code>, <code>showTooltip</code></strong>: the bubble shows, on hover and on focus. It never did, because a <code>peer-*</code> variant only reaches the siblings of the peer.</li>
<li><strong><code>ImageUploader</code></strong>:
<ul>
<li>The URL field hands its address over when it is left or on Enter. At every keystroke, the preview loaded an image per character.</li>
<li>It is <code>type=&quot;text&quot;</code> with <code>inputMode=&quot;url&quot;</code>: a relative address returned by <code>onUpload</code> made a <code>type=&quot;url&quot;</code> field invalid, and the form around it with it.</li>
<li>A <code>data:</code> URL is no longer written into it.</li>
<li>The same file can be chosen again after a failure.</li>
<li>A limit under a megabyte is written with decimals, in the locale of the new <code>locale</code> prop. It was &quot;max 0MB&quot; for 500 KB.</li>
</ul>
</li>
<li><strong><code>FileSelector</code></strong>: <code>onChange</code> was called inside the function passed to <code>setState</code>, which Strict Mode runs twice, so an upload started from it left twice. It is now called beside the update.</li>
<li><strong><code>Input</code>, handlers</strong>: they receive the event of the element rendered, <code>HTMLInputElement | HTMLTextAreaElement</code>. A handler annotated for either element, or a named function, did not compile.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p><code>DataGrid</code> pages its groups, fits its virtual rows and sorts values as values. <code>Wizard</code> passes over disabled steps, and a closed <code>Accordion</code> panel is out of reach.</p>
<ul>
<li><strong><code>DataGrid</code>, <code>groupBy</code> with pagination</strong>:
<ul>
<li>Grouping started from every filtered row rather than the page: all the rows were drawn on every page, under a &quot;Page 1 of 5&quot; that Next could not change.</li>
<li>The rows of a group are now kept together, and paging cuts that list. A group that runs over two pages has its header on both, with the count of the whole group.</li>
<li><code>renderGroupHeader</code> receives the whole group.</li>
</ul>
</li>
<li><strong><code>DataGrid</code>, <code>virtualized</code></strong>:
<ul>
<li>A row is exactly <code>rowHeight</code> tall, with no vertical padding and one line. It was 44.5px against the 40 the scroll assumed, so the bar drifted and <code>scrollToRow</code> missed.</li>
<li>The rows drawn are those of the measured viewport: <code>maxHeight={800}</code> drew 600px of rows.</li>
<li>A grid scrolled down whose data shrinks shows rows, rather than a spacer as tall as the old list.</li>
<li>A group header takes a slot like a row, so grouping is virtualized too, and <code>scrollToRow</code> counts the headers.</li>
</ul>
</li>
<li><strong><code>DataGrid</code>, values</strong>:
<ul>
<li>A <code>Date</code> is ordered by its moment (as text, Fri came before Mon).</li>
<li>Text is compared through an <code>Intl.Collator</code> of the grid&#x27;s locale with <code>numeric</code>, so &quot;9&quot; comes before &quot;10&quot;.</li>
<li>Under <code>multiSort</code>, turning a column around keeps its rank.</li>
</ul>
</li>
<li><strong><code>DataGrid</code>, footer aggregates</strong>:
<ul>
<li>An empty cell is no value in an aggregate: <code>[10, 20, null, &quot;&quot;]</code> averaged 7.5, with a minimum of 0.</li>
<li><code>count</code> counts the cells that hold something, text included.</li>
<li>An average, minimum or maximum of nothing leaves the cell empty. A <code>renderAggregate</code> still receives <code>0</code>, and the rows.</li>
<li>The minimum and the maximum no longer overflow the stack on 200 000 rows.</li>
</ul>
</li>
<li><strong><code>Wizard</code></strong>:
<ul>
<li>Next and Previous pass over a disabled step rather than entering it.</li>
<li>Next on a step that only disabled steps follow completes the wizard, and Previous is disabled when only disabled steps come before.</li>
<li><code>maxStepReached</code> follows the step rendered: a controlled parent that refused a change left the step it refused clickable.</li>
</ul>
</li>
<li><strong><code>Accordion</code></strong>: a closed panel is <code>inert</code>. Its links and fields no longer take the focus out of sight.</li>
</ul>
</li>
<li>
<p><code>Modal</code> and <code>Drawer</code>: a dialog asked from a detached window opens in it. It opened in the page, behind the window it was asked from.</p>
<ul>
<li><strong><code>Detachable</code> and both modes of <code>AdvanceDetachable</code> tell their children which document they are shown in</strong>, and <code>Modal</code> and <code>Drawer</code> render under that document&#x27;s <code>&lt;body&gt;</code>.</li>
<li><strong>A dialog still open when its window closes comes back to the page as it was</strong>: with what its content held, and with two nested dialogs in the order they were opened.</li>
<li><strong>The focus, the trap, Escape, the inert background and the scroll lock follow the dialog</strong> to the window and back, and the focus still returns to the element the dialog was opened from.</li>
<li><strong>A modal in the page keeps Escape and Tab</strong> while another is open in the window: each document has its own top dialog.</li>
</ul>
<p>What an application may see: a <code>Modal</code> or a <code>Drawer</code> is now one element deeper under <code>&lt;body&gt;</code>, inside a <code>display: contents</code> wrapper, so a selector such as <code>body &gt; [role=dialog]</code> no longer matches. Nothing changes on the server.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.50.1</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-50-1</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-50-1</guid>
<pubDate>Sun, 29 Nov 2026 03:04:21 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>
<p><code>Table</code>: the guide that ships in the package no longer nests a row in the
header.</p>
<ul>
<li><strong>The consumer guide showed <code>&lt;TableHeader&gt;&lt;TableRow&gt;…</code></strong>, twice.
<code>TableHeader</code> draws its own row, so that was a <code>&lt;tr&gt;</code> in a <code>&lt;tr&gt;</code>: a browser
reading it from a server splits it in two and React reports a hydration
error; built on the client, the headings all land in the first column. The
header cells go straight into <code>TableHeader</code>, and the guide says why.</li>
<li><strong><code>TableHeader</code> documents it</strong>: its <code>children</code> are the header cells.</li>
</ul>
<p>Nothing changes in the components. An application that wrote its header the
way the guide showed takes the <code>TableRow</code> out of it.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.50.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-50-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-50-0</guid>
<pubDate>Sun, 29 Nov 2026 00:44:10 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>Narrow screens: a wizard that fits a phone, and a card title that makes room
for its actions.</p>
<ul>
<li><strong><code>WizardSteps</code>, <code>hideLabels</code> takes a breakpoint</strong>: <code>&quot;below-sm&quot;</code>,
<code>&quot;below-md&quot;</code> or <code>&quot;below-lg&quot;</code> keeps the markers only under that width, and
brings the titles back above it. Four labelled steps did not fit a modal on
a phone, and <code>hideLabels</code> hid them at every width.</li>
<li><strong><code>WizardSteps</code>, a hidden label is still the name of its step</strong>: it stays in
the button as <code>sr-only</code>. The marker is <code>aria-hidden</code>, so with <code>hideLabels</code>
every step was a button with no name at all.</li>
<li><strong><code>WizardPanel</code> has no role</strong>: it said <code>role=&quot;tabpanel&quot;</code> beside steps that are
buttons, not tabs, and was announced as a panel belonging to nothing. A test
of the application&#x27;s that looked it up by <code>getByRole(&quot;tabpanel&quot;)</code> looks it up
by its content instead.</li>
<li><strong><code>CardHeader</code>, long title</strong>: the title shrinks beside the <code>actions</code>, which
stay whole. It was as wide as its text: with <code>truncate</code> on <code>CardTitle</code> it
never truncated, and it pushed the actions out of the card, where the
card&#x27;s <code>overflow-hidden</code> cut them off.</li>
</ul>
</li>
<li>
<p>Links: the navigation components render the link of the application&#x27;s router,
so that a click no longer loads the whole page again.</p>
<p><code>Sidebar</code>, <code>Header</code>, <code>Breadcrumb</code> and <code>FooterLink</code> wrote an <code>&lt;a href&gt;</code>. In a
Next.js application, every click on one of them reloaded the page and emptied
what the application held in memory — the cache of its queries, its stores,
its subscriptions — and a <code>Link</code> of next-intl never got to add the prefix of
the language. An application that wanted its router had to keep its own
sidebar.</p>
<p>What an application sees now:</p>
<ul>
<li><strong><code>linkComponent</code> on the provider</strong>: <code>&lt;UILabelsProvider linkComponent={Link}&gt;</code>,
with <code>next/link</code>, the <code>Link</code> of next-intl, or a component of its own that
renders an <code>&lt;a&gt;</code> with every attribute it receives (<code>UILinkProps</code>). <code>Sidebar</code>
and <code>Header</code> render it for every address that stays in the application:
the items, and the logo of <code>Header</code>. <code>Sidebar</code> and <code>Header</code> take the same
prop, which wins over the provider; <code>useUILinkComponent()</code> reads it for a
component of the application&#x27;s own. A component is a function, which React
does not hand from a Server Component to a client one: the provider that
receives it is set in a <code>&quot;use client&quot;</code> file, the one that holds the
application&#x27;s providers, not in a server layout.</li>
<li><strong><code>Breadcrumb</code> and <code>FooterLink</code></strong> take a <code>linkComponent</code> prop. They render on
the server and read no context, so the provider does not reach them.</li>
<li><strong>Nothing changes for an application that passes none</strong>: an <code>&lt;a href&gt;</code>, as
before. A disabled <code>SidebarItem</code>, an address the library refuses
(<code>javascript:</code>…), an <code>external</code> item of <code>Header</code> and an <code>external</code>
<code>FooterLink</code> never go through the router&#x27;s link either.</li>
<li><strong><code>onClick</code> receives its event</strong>, on a <code>SidebarItem</code>, an item of <code>Header</code>, its
logo and an item of <code>Breadcrumb</code>: <code>event.preventDefault()</code> keeps a link from
being followed. A handler written without a parameter still compiles.</li>
<li><strong><code>Header</code>, an item with an <code>href</code> and an <code>onClick</code></strong>: it was a button that
led nowhere, and is now a link that calls its handler — the usual way to
count a click. An application that routed from that <code>onClick</code> calls
<code>event.preventDefault()</code>, or passes its router&#x27;s link.</li>
<li><strong><code>Header</code>, menus</strong>: a choice in the small screen&#x27;s menu, or in a dropdown,
closes it. Through the router&#x27;s link the header stays on screen from one
page to the next, and so did an open menu, over the page it had led to.</li>
<li><strong><code>Header</code>, badge</strong>: a <code>badge</code> of <code>0</code> is shown in its pill; it was written
straight after the label, &quot;Inbox0&quot;.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>LineChart</code>: a forecast no longer leaves stray markers beside its lines.
<ul>
<li><strong>A dot beside the line, from the first paint</strong>: with <code>forecastFrom</code> and the
markers shown, the row the forecast is cut at was marked twice, once per half
of the series, and both markers had the same key. React cannot follow two
children under one key: every render that moved the points left one of them
in the document. The first such render is the one that replaces the 640px
fallback with the measured width, so a chart showed one stray dot per series
as soon as it was on screen, and one more after each resize and each change
of its data. The row is marked once.</li>
<li><strong>A <code>dashed</code> series on a chart with a forecast keeps its markers to the
end</strong>: they stopped at the cut, while its line went on.</li>
<li><strong>Markers are keyed by rank, not by position</strong>, in <code>LineChart</code> and for the
lone points of <code>AreaChart</code>: two rows on the same moment with the same value
shared a key, with the same result.</li>
</ul>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.49.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-49-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-49-0</guid>
<pubDate>Sat, 28 Nov 2026 15:24:50 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>Menus, sidebar, toasts and tooltips: they stay on screen, say what they do,
and props that were declared now do something.</p>
<p>What an application sees now:</p>
<ul>
<li><strong><code>Toast</code>, <code>duration</code> and <code>position</code></strong> were declared and read by nothing.
<code>duration</code> calls <code>onClose</code> once it has passed, held while the pointer is
over the toast or the focus is in it. <code>position</code> fixes the toast to a corner
of the viewport, above dialogs and menus. <strong>An application that already
passed them sees its toast close and move</strong>: it was written <code>&lt;Toast position=&quot;top-right&quot; duration={5000}&gt;</code> and nothing happened. One toast per
corner: there is still no stack.</li>
<li><strong><code>Tooltip</code>, <code>offset</code></strong>, declared and unread, is the distance between the
trigger and the bubble. An <code>onMouseEnter</code>, <code>onFocus</code> or <code>onClick</code> passed to
the tooltip no longer replaces the one that shows the bubble, and a delay
still running when the pointer has left no longer shows it afterwards.</li>
<li><strong><code>DropdownTrigger asChild</code></strong> composes with its child instead of replacing
what the child says: the child&#x27;s <code>onClick</code> and <code>onKeyDown</code> run first (and
keep the menu closed with <code>preventDefault()</code>), a <code>disabled</code> child stays
disabled, and the child&#x27;s own <code>ref</code> still receives the element.</li>
<li><strong><code>Button</code></strong> forwards its ref. Under React 18 a <code>&lt;DropdownTrigger asChild&gt;</code>
around a <code>Button</code> had no element to place its menu against, and the menu
never showed.</li>
<li><strong>Menus stay on screen.</strong> A menu goes to the other side of its trigger only
when that side has more room: on a screen 400px high it was sent above the
top, at -154px, where it could not be reached. It is then kept inside the
viewport on both axes — a submenu on a phone was at -143px — and never grows
taller than the viewport: it scrolls. <code>usePositioning</code> returns
<code>availableHeight</code> for that.</li>
<li><strong>A closed menu costs nothing.</strong> Every <code>Dropdown</code> on a page, open or not,
measured twice and set a state on each scroll event. It now listens only
while it is open.</li>
<li><strong><code>Select</code></strong> opened upwards sits right above its field: its list was placed
<code>maxHeight</code> above it whatever it held, so two options floated 180px away.
While <code>loading</code>, Arrow down then Enter no longer chooses an option.</li>
<li><strong><code>Sidebar</code>, <code>onMobileOpenChange</code></strong> is called when the viewport leaves the
mobile layout with the drawer open, and at no other time: it was called at
mount on a wide screen, and again whenever the callback was a new function —
an inline one that set a state looped until React stopped it.</li>
<li><strong><code>Sidebar</code>, the breakpoint</strong>: the mobile layout starts below
<code>mobileBreakpoint</code>, not at it. At exactly 768px the sidebar was a closed
drawer while a button hidden from <code>md:</code> up was already gone.</li>
<li><strong><code>Sidebar</code>, collapsed</strong>: an item is named by its label for assistive
technology, its tooltip shows on focus as well as on hover, and the links of
a closed submenu are no longer in the tab order.</li>
<li><strong><code>HelpButton</code> in a modal</strong>: Escape goes back one level — the edit, then
the help, then the modal. It cancelled the edit and closed the modal at
once, with the draft in it.</li>
<li><strong>Dialogs</strong>: the focus trap treats a radio group as one tab stop, so Tab no
longer leaves a dialog that ends with one; the scroll lock is counted per
document, for a dialog opened in a detached window.</li>
</ul>
<p>Not done, and still true: <code>Tooltip</code> and the bubble of <code>HelpButton</code> are
positioned in CSS, without a portal — an ancestor in <code>overflow: hidden</code> clips
them, and the help bubble can leave the screen near its left edge.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.48.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-48-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-48-0</guid>
<pubDate>Fri, 27 Nov 2026 21:37:25 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>Numbers and dates: <code>UILabelsProvider</code> takes a <code>locale</code>, so that a server and
the browser it renders for write them the same way.</p>
<p>A chart, a calendar or a stat card with no <code>locale</code> asked the runtime for its
language. That is the server&#x27;s on the server and the reader&#x27;s in the browser:
a page rendered in <code>en-US</code> wrote &quot;1,284.5&quot; and &quot;March 2024&quot;, and the text
changed to &quot;1 284,5&quot; and &quot;mars 2024&quot; at hydration.</p>
<p>What an application sees now:</p>
<ul>
<li><strong><code>locale</code> on the provider</strong>: <code>&lt;UILabelsProvider labels={frenchUILabels} locale=&quot;fr-CA&quot;&gt;</code>. <code>labels</code> is the language of the texts, <code>locale</code> the way
numbers and dates are written. The thirteen charts, <code>Calendar</code>,
<code>ChartPeriodPicker</code>, <code>NumberInput</code> and the footer aggregates of <code>DataGrid</code>
read it; the <code>locale</code> prop of one instance wins, and a nested provider that
names none keeps the one above it. <code>useUILocale()</code> reads it for a component
of the application&#x27;s own. <code>DataGrid</code> gains a <code>locale</code> prop.</li>
<li><strong>Nothing changes for an application that sets none</strong>: those components
still follow the language of the runtime (<code>NumberInput</code> still <code>en-US</code>). An
application that renders on the server should set it.</li>
<li><strong><code>StatCard</code></strong> takes a <code>locale</code> prop. It renders on the server and reads no
context, so the provider does not reach it — nor <code>ChartFacets</code> and
<code>ChartScaleLegend</code>, which already had the prop.</li>
<li><strong><code>StatCard</code>, direction of the variation</strong>: read off what is written, not
off the raw sign. A variation of 0.0003 drew a green arrow pointing up
beside &quot;0%&quot;; it is flat. This holds for a <code>delta.format</code> of the
application&#x27;s too, and <code>delta.direction</code> still wins.</li>
<li><strong><code>Calendar</code>, <code>today</code></strong>: the day marked as today and the one the &quot;Today&quot;
shortcut goes to, for an application that renders on the server or freezes
the day. <code>ChartPeriodPicker</code> hands its <code>now</code> to the calendar it opens.</li>
<li><strong><code>Calendar</code>, &quot;Today&quot; shortcut</strong>: pressed while today was selected, it took
the selection away and called <code>onChange(null)</code>. It now changes nothing; in
<code>multiple</code> mode it no longer removes today from the selection.</li>
<li><strong><code>Calendar</code>, week numbers</strong>: a row is numbered after its Thursday. With
weeks starting on a Sunday — the default — the row from 31 December 2023 to
6 January 2024 was numbered 52; it is week 1.</li>
<li><strong><code>Calendar</code>, a date that is not one</strong>: <code>value={new Date(&quot;&quot;)}</code> threw a
<code>RangeError</code> during render. An invalid date is now no date, in <code>value</code>,
<code>defaultValue</code>, <code>month</code>, <code>defaultMonth</code>, <code>minDate</code>, <code>maxDate</code> and <code>today</code>.</li>
</ul>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.47.1</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-47-1</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-47-1</guid>
<pubDate>Fri, 27 Nov 2026 20:37:21 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>
<p><code>HelpButton</code>: help written in HTML keeps its text and its formatting, and
nothing else; neither HTML nor Markdown help shows an image.</p>
<p>The HTML went through DOMPurify with its defaults. Scripts and event handlers
were removed, but a <code>&lt;style&gt;</code> stayed — and a style reaches the whole page, not
the bubble — and so did forms, password fields and remote images. Help is
content <code>editable</code> and <code>onSave</code> exist to let someone rewrite, and everyone
else reads it: whoever could edit the help could hide the interface, draw a
password field inside the application&#x27;s own bubble, or learn from a remote
image who opened the help, and when.</p>
<p>What an application whose help held one of these sees now:</p>
<ul>
<li><strong>Kept</strong>: what the Markdown mode produces — headings, paragraphs, line
breaks, rules, lists, quotes, code blocks, tables, links, <code>strong</code>, <code>em</code>,
<code>del</code> — the HTML spellings <code>b</code>, <code>i</code> and <code>s</code>, <code>kbd</code>, and <code>div</code> / <code>span</code>.
Help written like the examples in the documentation renders as before.</li>
<li><strong>Dropped with what is inside</strong>: among them <code>&lt;style&gt;</code> and <code>&lt;script&gt;</code>,
<code>&lt;iframe&gt;</code>, <code>&lt;video&gt;</code>, <code>&lt;audio&gt;</code> and <code>&lt;svg&gt;</code>.</li>
<li><strong>Dropped, their text kept</strong>: every other element, among them <code>&lt;form&gt;</code>,
<code>&lt;input&gt;</code>, <code>&lt;button&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code> and <code>&lt;img&gt;</code>. <strong>An image in
an HTML help is no longer shown</strong>, its <code>alt</code> text with it.</li>
<li><strong>Attributes</strong>: a link keeps <code>href</code>, any element <code>title</code>. <code>class</code>, <code>style</code>,
<code>id</code>, <code>name</code>, <code>target</code>, <code>data-*</code> and <code>aria-*</code> are removed — the
application&#x27;s own Tailwind classes could cover the screen.</li>
<li><strong>Links</strong>: an <code>http:</code>, <code>https:</code>, <code>mailto:</code>, <code>tel:</code> or relative address is
kept; any other (<code>ftp:</code>, <code>sms:</code>, <code>data:</code>…) leaves the text of the link
without its address. A link to another site gets
<code>rel=&quot;noopener noreferrer&quot;</code>.</li>
</ul>
<p>DOMPurify is now an instance of <code>HelpButton</code>&#x27;s own: a <code>DOMPurify.setConfig()</code>
or <code>addHook()</code> an application calls for its own HTML no longer changes what a
help bubble lets through, and nothing <code>HelpButton</code> does changes them.</p>
<p>The Markdown mode let the same image in by another way: <code>![](url)</code> was
rendered, and a remote image there told the same third party who opened the
help. It is dropped now, its alt text with it, as in the HTML mode; the text
around it and a link it was wrapped in stay. Raw HTML in the Markdown was
never rendered and still is not. A help that needs an image is given as a
React node, which is rendered as it is.</p>
</li>
<li>
<p><code>HelpButton</code>: the Markdown mode no longer writes <code>node=&quot;[object Object]&quot;</code> on
the elements it styles. react-markdown hands each component the syntax-tree
node it renders, and the headings, paragraphs, lists, links, quotes, code,
<code>strong</code> and <code>em</code> of the bubble spread it onto the element along with the
real attributes. Nothing else changes in what the bubble shows.</p>
</li>
<li>
<p>Links: an address that could run something is no longer rendered as a link,
and a <code>rel</code> given to a footer link no longer drops <code>noopener noreferrer</code>.</p>
<p>The library supports React 18, which follows a <code>javascript:</code> address on click
— React 19 blocks it. An application on React 18 that passed an address a
user had typed to <code>Breadcrumb</code>, <code>Header</code>, <code>SidebarItem</code> or a footer link ran
whatever that address held.</p>
<p>What an application sees now:</p>
<ul>
<li><strong>Addresses</strong>: the <code>href</code> of a <code>Breadcrumb</code> item, of a <code>Header</code> item or
submenu item and its <code>logoHref</code>, of a <code>SidebarItem</code>, of a <code>FooterLink</code> and
of a <code>FooterSocialLink</code> makes a link only when it is <code>http:</code>, <code>https:</code>,
<code>mailto:</code>, <code>tel:</code> or has no scheme (a path, a query, an anchor, <code>//host</code>).
Any other — <code>javascript:</code>, <code>data:</code>, <code>vbscript:</code>, but also <code>ftp:</code>, <code>sms:</code> or
the scheme of an app — leaves the text or the icon without its link; a
<code>SidebarItem</code> renders as a button, as it does without <code>href</code>. The console
says so once per component and scheme, without the address. A link that
needs another scheme is an <code>&lt;a&gt;</code> of the application&#x27;s own.</li>
<li><strong><code>rel</code></strong>: <code>FooterLink</code> with <code>external</code>, and <code>FooterSocialLink</code>, add
<code>noopener noreferrer</code> to the <code>rel</code> they are given. A <code>rel=&quot;nofollow&quot;</code> or
<code>rel=&quot;me&quot;</code> used to replace them; the link now carries both.</li>
</ul>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.47.0</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-47-0</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-47-0</guid>
<pubDate>Fri, 27 Nov 2026 01:29:39 GMT</pubDate>
<description><![CDATA[<h3>Features</h3>
<ul>
<li>
<p>The colour of the application is a variable. An application whose colour is not
blue rebrands the whole kit in one block of CSS, instead of passing a class to
the few components that took one and living with blue focus rings, blue
progress bars and blue selections everywhere else.</p>
<p><strong>One ramp, read by every component</strong></p>
<p>Blue was written into the components class by class: <code>bg-blue-600</code> for a
button, <code>ring-blue-500</code> for a focus ring, <code>text-blue-600</code> for a link — 262
classes in 49 files. They now name a ramp of CSS variables,
<code>--color-synertech-primary-50</code> to <code>-950</code>, declared in the stylesheet the
package ships.</p>
<pre><code class="language-css">:root {
  --color-synertech-primary-50: #f5f3ff;
  --color-synertech-primary-100: #ede9fe;
  --color-synertech-primary-200: #ddd6fe;
  --color-synertech-primary-300: #c4b5fd;
  --color-synertech-primary-400: #a78bfa;
  --color-synertech-primary-500: #8b5cf6;
  --color-synertech-primary-600: #7c3aed; /* the fill, and text on a light page */
  --color-synertech-primary-700: #6d28d9; /* the fill under the pointer */
  --color-synertech-primary-800: #5b21b6;
  --color-synertech-primary-900: #4c1d95;
  --color-synertech-primary-950: #2e1065;

  /* What is written on the 600 and 700 fills. White by default. */
  --color-synertech-on-primary: #fff;
}
</code></pre>
<ul>
<li><strong>Nothing changes for an application that redefines nothing.</strong> The default of
each stop is the stop of Tailwind&#x27;s blue the class used to name, to the
digit; a check at the end of the build compares the two.</li>
<li><strong>What is written on the fill is a variable too.</strong> A label, a check mark, the
dot of a radio button are <code>--color-synertech-on-primary</code>, white by default.</li>
<li><strong>The 600 and 700 stops do two jobs</strong>: a fill under <code>on-primary</code>, and text on
a light page. White on a blue or a violet reads at 4.5:1 both ways. On a
light hue it does not (3.6:1 on Tailwind&#x27;s orange-600): put a darker stop at
600 — orange-700 there reads at 5.2:1 both ways. Turning <code>on-primary</code> dark
instead keeps a bright fill readable and leaves the brand-coloured text of a
light page as pale as that fill.</li>
<li><strong>Declare it in plain CSS</strong>, on <code>:root</code> or on any element. On an element it
repaints what is under it — a <code>Modal</code>, a menu or the list of a <code>Select</code> is
rendered under <code>&lt;body&gt;</code>, out of its reach.</li>
<li><strong>The names carry the name of the library</strong> because the stylesheet ships
compiled into applications that have a Tailwind theme of their own: a
<code>--color-primary</code> declared by the library would be the application&#x27;s
variable too, and whichever stylesheet came last would repaint the other.</li>
</ul>
<p><strong>What stays blue</strong></p>
<p>The <code>info</code> status of <code>Banner</code>, <code>Toast</code> and <code>Tooltip</code>, which is blue in every
application like the red of an error; the marks of the keys in <code>SchemaEditor</code>,
which its legend names; and the chart series, which have their own palette
(<code>--color-chart-1</code> to <code>-8</code>).</p>
<p><strong>Colour props</strong></p>
<p>The props that took a class still do, and still win: <code>bgColor</code>, <code>checkedColor</code>,
<code>progressColor</code>… Two defaults moved with the ramp:</p>
<ul>
<li><code>Button</code>: <code>textColor</code> defaults to <code>text-synertech-on-primary</code> on the default
fill, and to <code>text-white</code>, as before, on a fill passed as <code>bgColor</code>.</li>
<li><code>Checkbox</code>: <code>checkmarkColor</code> follows the same rule with <code>checkedColor</code>.</li>
</ul>
<p>An application that turned <code>on-primary</code> dark for a light brand colour did not
ask for dark text on its red buttons.</p>
<p>A class name that an application&#x27;s own stylesheet or tests looked for —
<code>.bg-blue-600</code> on a <code>Button</code> of the library — is now
<code>.bg-synertech-primary-600</code>. Nothing else is to be done to upgrade.</p>
</li>
<li>
<p>A modal no longer closes on a save that failed, a progress bar can be named and
coloured by the page it is on, and the tests of an application need no
polyfill to render <code>SchemaEditor</code> or <code>Sidebar</code>. Reported from an application
that had written its own modal footer and its own progress bar to get there.</p>
<p><strong><code>Modal</code>: the confirm button closed the modal whatever its handler did</strong></p>
<p><code>onSubmitClick</code> was awaited and <code>onClose()</code> called after it, unconditionally. A
form that did not validate lost what had been typed; the only way to keep the
modal open was to throw, and nothing caught the error. The button stayed live
while the request ran, so a double click sent it twice. A request that came
back after the modal had been closed with Escape and opened again closed the
new one.</p>
<ul>
<li>A handler that returns <code>false</code>, or whose promise resolves <code>false</code>, keeps the
modal open. So does one that throws.</li>
<li><code>onSubmitError(error)</code> receives what the handler threw or rejected with.
Without it the error is <strong>not</strong> swallowed: it reaches the page as before, and
whatever reports errors there still sees it.</li>
<li>While a promise is pending both footer buttons are <code>disabled</code> and the one
that was pressed is <code>aria-busy</code>. A second click does not run the handler
again. If the browser dropped the focus meanwhile and the modal stays open,
the button gets it back — unless the handler put it on a field of the dialog.</li>
<li>A handler that ends after its modal was closed, or closed and opened again,
closes nothing.</li>
<li><code>closeOnSubmit={false}</code> leaves closing to the application.</li>
<li><code>onCancelClick</code> follows the same rules.</li>
</ul>
<p>A handler that returns nothing closes the modal as it always did.</p>
<pre><code class="language-tsx">&lt;Modal
  open={open}
  onClose={() =&gt; setOpen(false)}
  title=&quot;New team&quot;
  showCancel
  onSubmitClick={async () =&gt; {
    if (!validate()) return false; // what was typed stays on screen
    await save(); // an error here keeps the modal open
  }}
  onSubmitError={(error) =&gt; setFailure(messageOf(error))}
/&gt;
</code></pre>
<p><strong><code>Modal</code>: the rest</strong></p>
<ul>
<li><code>panelClassName</code> reaches the dialog panel. <code>className</code> is, and stays, the
backdrop: there was no way to give the panel a height.</li>
<li><code>open</code> is accepted beside <code>isOpen</code>, the name <code>Drawer</code> uses. <code>isOpen</code> keeps
working and is not deprecated; it is now optional in <code>ModalProps</code>, since one
of the two is enough.</li>
<li>A modal named by <code>aria-label</code> with no <code>title</code> was shown under the placeholder
&quot;Modal Title&quot; and its <code>aria-label</code> was dropped. It now has no visible title,
like <code>title=&quot;&quot;</code>.</li>
<li>A modal given neither still shows the placeholder, and a warning says so once.</li>
</ul>
<p><strong><code>ProgressBar</code>: a colour and a name of the application&#x27;s own</strong></p>
<ul>
<li><code>progressColor</code> and <code>trackColor</code> replace the colours of the fill and of the
track, as they do on <code>CircularProgress</code>. <code>className</code> only ever reached the
wrapper, and <code>color=&quot;primary&quot;</code> is blue.</li>
<li><code>aria-label</code>, <code>aria-labelledby</code>, <code>aria-describedby</code> and <code>aria-valuetext</code> go to
the element that holds the <code>progressbar</code> role. They landed on the wrapper,
where they name nothing: the only way to name the bar was <code>label</code>, which also
prints it — twice, on a page that already shows its own.</li>
</ul>
<p><strong>Tests: no polyfill needed under jsdom</strong></p>
<p><code>SchemaEditor</code> called <code>new ResizeObserver</code> and <code>Sidebar</code> called
<code>window.matchMedia</code> without asking whether they exist. jsdom has neither, so an
application had to mock both in its test setup to render a page that used them.
Both ask first now, and the library&#x27;s own test setup installs no polyfill any
more: the suite fails on the next component that calls one unguarded.</p>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>A form sends what its fields show. Four defects where the two disagreed, in
<code>Checkbox</code>, <code>CheckboxGroup</code>, <code>NumberInput</code>, <code>Button</code> and <code>Chip</code>.</p>
<p><strong><code>Checkbox</code>: ticked on screen, absent from the form</strong></p>
<p>An uncontrolled checkbox drew its tick from a React state that mirrored the
input. A form reset unchecks the input and tells no one — and React 19 resets
the form by itself once an action succeeds. The box stayed ticked on screen and
the next submit left without it.</p>
<p>The checked state now stays in the native input, as it does in <code>RadioButton</code>:
the box is drawn in both states and <code>:checked</code> picks the one on screen. It
follows a reset, a <code>&lt;button type=&quot;reset&quot;&gt;</code>, and whatever writes <code>checked</code>
through the ref. Controlled, nothing changes.</p>
<p><strong><code>CheckboxGroup</code>: a form could not tell which boxes were checked</strong></p>
<p><code>CheckboxGroupItem</code> read its <code>value</code> for the group and never handed it to the
input: <code>FormData.getAll(&quot;fruits&quot;)</code> returned <code>[&quot;on&quot;, &quot;on&quot;]</code>.</p>
<ul>
<li>Each item submits its <code>value</code>.</li>
<li><code>CheckboxGroup</code> takes a <code>name</code>, which every item submits under. An item&#x27;s own
<code>name</code> wins.</li>
<li>An uncontrolled group follows a form reset. It kept the values of before in
its own state, and the next click on a box was read against them: it
unchecked a box that was not checked.</li>
</ul>
<p><strong><code>NumberInput</code>: what was typed vanished on blur</strong></p>
<p>Without a <code>value</code> prop the field displayed the prop all the same: typing 42 and
leaving the field emptied it.</p>
<ul>
<li>Without <code>value</code>, the field keeps what is typed in it. <code>defaultValue</code> is the
value it starts with; it used to be passed down to the input, which showed
nothing and made React warn.</li>
<li><code>value={null}</code> is still a controlled, empty field.</li>
<li><strong><code>decimals</code> applies to the value too.</strong> It rounded what the field shows and
not what it emits: the field read 1.23 and <code>onChange</code> received 1.23456.
Without <code>decimals</code> the value is emitted as typed, as before.</li>
<li>A pasted number is read the way the locale writes it: <code>1 234,56</code> in French,
<code>$1,234.56</code> in English. It was refused whole, without a word. What is not a
number in the locale of the field is still refused — an English <code>1,234.56</code>
pasted in a French field is not turned into 1,23456.</li>
<li><code>step</code> does something: the up and down arrows add and take it away, within
<code>min</code> and <code>max</code>. It was accepted and ignored.</li>
</ul>
<p><strong><code>Button</code>: the form did not know which button was pressed</strong></p>
<p><code>value</code> only reached a <code>data-value</code> attribute. With several submit buttons —
the usual way to tell &quot;save&quot; from &quot;delete&quot; in a server action — the intent
arrived empty. The <code>value</code> attribute is now set; <code>data-value</code> stays.</p>
<p><strong><code>Chip</code>: a filter chip submitted the form</strong></p>
<p><code>&lt;Chip as=&quot;button&quot;&gt;</code> had no <code>type</code>, so it submitted the form it was in, and its
props did not let an application give it one. It is now <code>type=&quot;button&quot;</code>.</p>
<p>With <code>closable</code>, it rendered a button inside a button. The chip is now two
buttons side by side in the same pill, the content and the cross, each reachable
from the keyboard.</p>
<p><strong>Visible to applications</strong></p>
<ul>
<li><code>NumberInput</code> with <code>decimals</code>: <code>onChange</code> receives the rounded value.</li>
<li><code>NumberInput</code>: the up and down arrow keys change the value.</li>
<li><code>&lt;Chip as=&quot;button&quot; closable&gt;</code>: the element that carries <code>className</code> is a
<code>&lt;span&gt;</code> holding the two buttons; the other props (<code>onClick</code>, <code>aria-pressed</code>,
<code>id</code>…) go to the content button. Its size on screen is unchanged.</li>
<li><code>&lt;Chip as=&quot;button&quot;&gt;</code> no longer submits a form.</li>
</ul>
</li>
<li>
<p><code>Checkbox</code>: the check mark of the <code>outlined</code> variant can be seen.</p>
<p>An outlined box has a border and no fill, and its mark was drawn like the mark
of a filled box: white. On a light page that is a white tick on a white
square — the box looked empty with a coloured border, checked or
indeterminate. In the dark theme the box is dark and the white mark showed,
which is how the defect went unseen.</p>
<ul>
<li>The mark is drawn in the colour of the outline. With the default colour that
is the brand ramp, <code>600</code> on a light page and <code>400</code> on a dark one, like every
text of the kit; the border follows the same two stops, where it stayed on
<code>600</code> in the dark theme.</li>
<li>With a <code>checkedColor</code>, the outline and the mark take it. A colour in two
classes, <code>bg-green-700 dark:bg-green-500</code>, is read whole: only its first
<code>bg-</code> was turned into a text colour, and the second painted a fill on a box
that has none.</li>
<li><code>checkmarkColor</code> still wins. A disabled box, drawn filled whatever its
variant, keeps the mark of a filled box.</li>
</ul>
<p>The <code>default</code> and <code>filled</code> variants are unchanged.</p>
</li>
</ul>]]></description>
</item>
<item>
<title>@synertech/ui 0.46.3</title>
<link>https://ui.synertechweb.com/en/docs/changelog/#v0-46-3</link>
<guid isPermaLink="true">https://ui.synertechweb.com/en/docs/changelog/#v0-46-3</guid>
<pubDate>Wed, 25 Nov 2026 19:12:12 GMT</pubDate>
<description><![CDATA[<h3>Fixes</h3>
<ul>
<li>
<p>The editors no longer lose what was typed or drawn in them. Five defects of
<code>WorkflowEditor</code>, <code>SchemaEditor</code> and <code>AdvanceDetachable</code>, each of which threw
work away without a word.</p>
<p><strong><code>WorkflowEditor</code>: Backspace in a field of a node deleted the node</strong></p>
<p>A node is whatever the application renders, a form included. The canvas heard
every key and every press of that form and answered them as its own: a click in
an <code>&lt;input&gt;</code> selected the node, and the first correction typed in it removed
the node and its edges. The same click armed the drag, so selecting text with
the mouse moved the node.</p>
<p>A key or a press that starts in an <code>input</code>, a <code>textarea</code>, a <code>select</code> or an
editable region now belongs to the field. The node is still selected, and is
still dragged from the rest of its content.</p>
<p><strong><code>SchemaEditor</code>: relations ended 26px above their field</strong></p>
<p>In the default mode every table draws a notes row, empty or not. The positions
only counted it when the table had notes, and counted the table&#x27;s border
nowhere. Every relation ended 26px too high — on the notes row, or on the field
above — and a relation released on the middle of a field put its key on the
field below. Table heights were wrong the same way: fit to content, minimap,
auto layout, and the first move of a resize.</p>
<p>The renderer and the geometry now ask one function which rows a table draws.</p>
<p><strong><code>SchemaEditor</code>: undo was drowned by the view</strong></p>
<p>Every mouse move of a pan and every wheel tick was an entry of the history,
which keeps 50. Deleting a table and then moving the view by 60px was enough
for no Ctrl+Z to bring the table back.</p>
<ul>
<li>The view is no longer part of the history, and an undo leaves it where it is.</li>
<li>Dragging or resizing a table is one step to undo, where it was one per mouse
move.</li>
<li>Controlled, a schema the application loads after the mount starts a history
of its own. Seeded at mount only, the first Ctrl+Z after an edit brought back
the schema of the first render — usually the empty one.</li>
</ul>
<p><strong><code>SchemaEditor</code>: foreign keys outlived what they pointed at</strong></p>
<p>A key is written twice, as a relation and as the <code>foreignKey</code> of a field, and
nothing kept the two in step. Deleting a table took its relations and left the
keys that pointed at it: the icon stayed, the field could not become a primary
key, there was no relation left to delete, and the SQL export dropped the
constraint silently.</p>
<ul>
<li>Removing a table, a field or a relation removes the keys that go with it,
from the keyboard, the table and the ref alike.</li>
<li>A relation is read in either direction. The editor draws it from the
referenced field to the key; the schemas of the documentation write it the
other way round, and removing such a relation left its key behind.</li>
<li>A key that names a table or a field that is gone is ignored, on screen and in
the SQL: schemas saved before this release are shown clean. <code>loadJSON</code> cleans
them for good.</li>
<li><strong>Visible in the SQL export</strong>: a relation given without <code>foreignKey</code> used to
draw a line and export nothing. It now exports its constraint. A column that
references two tables gets two constraints, the second named
<code>fk_&lt;table&gt;_&lt;field&gt;_2</code>.</li>
</ul>
<p><strong><code>AdvanceDetachable</code>: a window that opened overwrote the others</strong></p>
<p>Every instance sent its value when it was mounted. Opening a second tab on the
same <code>id</code> replaced what had been typed in the first with the second&#x27;s initial
value.</p>
<ul>
<li>An instance arrives without sending anything. It says so on the channel, and
the instances that hold a written value answer with it.</li>
<li>Writes carry a stamp and every instance keeps the newest. Two windows that
write at the same moment end on the same value, where each took the other&#x27;s.</li>
<li>Going back to a value was sometimes never sent — <code>a</code>, then <code>ab</code> from another
window, then <code>a</code> again — and the windows stayed apart.</li>
</ul>
<p><strong>Visible to applications</strong>: a tab that opens next to one already holding a
written value takes that value, through <code>onValueChange</code>, instead of imposing
its own. Two tabs that were only mounted each keep theirs.</p>
</li>
<li>
<p>Grey secondary texts can be read. 0.46.2 brought the status colours to 4.5:1 and
left the greys alone; <code>text-gray-400</code> on a white page reads at 2.6:1, and
<code>dark:text-gray-500</code> at 3.7:1 on a dark one.</p>
<p><strong>What changes on screen</strong></p>
<ul>
<li><strong>The lightest grey ink is <code>gray-500</code> on a light page and <code>gray-400</code> on a
dark one.</strong> Hints and captions: the &quot;(optional)&quot; of <code>Label</code> and <code>Wizard</code>, the
step descriptions of <code>Wizard</code>, the helper texts and file sizes of
<code>FileSelector</code>, the shortcut of a <code>DropdownItem</code>, the group label of
<code>Sidebar</code>, the empty message of <code>DataGrid</code>, the week numbers and the days
outside the month of <code>Calendar</code>, the hidden entries of a chart legend, the
types and notes of <code>SchemaEditor</code>.</li>
<li><strong>Icons follow</strong>, so that a component has one grey: the close buttons of
<code>Modal</code>, <code>Drawer</code> and <code>Sidebar</code>, the clear button and the chevron of <code>Select</code>,
the search and grip icons of <code>DataGrid</code>, the separators of <code>Breadcrumb</code>,
<code>Pagination</code> and <code>FileSelector</code>. At 2.6:1 a chevron was under the 3:1 asked
of a graphic as well.</li>
<li><strong>Placeholders are texts</strong>: <code>gray-500</code> in <code>Select</code>, <code>MentionInput</code>, the search
of <code>Header</code> and the inputs, where the browser&#x27;s default was the text at half
strength (3.4:1). On the dark field of an input the placeholder is <code>gray-300</code>
— <code>gray-400</code> stopped at 4:1 on <code>gray-700</code>.</li>
<li><strong><code>SchemaEditor</code></strong>: a read-only schema is drawn at full strength. Its tables
were handed <code>disabled</code> and dimmed to 60% — text at 3.3:1, names in blue at
2.6:1 — and a disabled editor dimmed twice, down to 36%.</li>
<li><code>variant=&quot;light&quot;</code> of a muted <code>Label</code> is the shade <code>default</code> uses, for the
reason given in 0.46.2: a paler label could not be read.</li>
</ul>
<p>Disabled states keep their faded grey: WCAG asks nothing of them.</p>
<p><strong>The check reads greys and placeholders</strong></p>
<p><code>scripts/check-contrast.mjs</code> no longer skips a grey text with no background, and
reads <code>placeholder-…</code> / <code>placeholder:text-…</code> against the field they are written
on. A class list that says <code>cursor-not-allowed</code> is a disabled state and is left
alone.</p>
</li>
</ul>]]></description>
</item>
</channel>
</rss>
