@nadicodeai/design-system 8.2.0 → 8.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/DESIGN.md +1 -0
  2. package/package.json +1 -1
package/DESIGN.md CHANGED
@@ -369,6 +369,7 @@ These are the deviations from what the registry ships. The list is complete: a c
369
369
  5. **Reading aids.** The grid is dashed in both directions. The tooltip uses the stock line indicator, with a gap between a row's name and its value so a long name cannot run into the figure. Every multi-series chart has a legend below the plot, left-aligned, a round dot and a name, in the order of the series it names; the stock area and grouped-bar blocks ship without one, and Recharts sorts legend items by key.
370
370
  6. **Share of a total.** `chart-bar-stacked` has a `share` layout: one bar split to 100% (`stackOffset="expand"`), for a breakdown with no time axis.
371
371
  7. **A chart is a named section.** The card title is a heading at the level the page gives it, and it names the plot through `aria-labelledby`. The plot shows a focus ring while it has keyboard focus: stock hides the outline of the svg that Recharts' `accessibilityLayer` makes focusable.
372
+ 8. **Signed category comparisons.** `chart-bar-horizontal` starts from the shadcn block of that name. Its numeric axis retains negative values and a visible zero reference so Customer losses and gains share one baseline; an all-positive or all-negative reading uses only its occupied side. Native positive and negative series give the stock legend semantic gain/loss colors. The stock tooltip's formatter slot preserves the original decimal reading and full category label when the axis abbreviates it. The compact ranking owner remains available for ordinary entity comparisons.
372
373
 
373
374
  Two things beside the charts also differ from stock. `Progress` takes a `tone` (default, warning, critical) and paints over-cap as a full critical bar. The pulled charts share one card frame, `chart-card`, in place of each file repeating it.
374
375
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/design-system",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"