@ai-matrx/design-system 0.49.42 → 0.49.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/data-table/drill-chart.cjs +7 -3
- package/dist/data-table/drill-chart.cjs.map +1 -1
- package/dist/data-table/drill-chart.d.cts +8 -1
- package/dist/data-table/drill-chart.d.ts +8 -1
- package/dist/data-table/drill-chart.js +7 -3
- package/dist/data-table/drill-chart.js.map +1 -1
- package/dist/data-table/index.cjs +10 -3
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +10 -3
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.49.44
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/design-system/v0.49.43..npm/design-system/v0.49.44 -- apps/shared/design-system`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.49.43
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/design-system/v0.49.42..npm/design-system/v0.49.43 -- apps/shared/design-system`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
3
15
|
## 0.49.42
|
|
4
16
|
### Unreleased
|
|
5
17
|
|
|
18
|
+
- **The drill chart's value axis never clips** (lane DRILL-ADOPT, 2026-09-30): a tick printed the Measure's full words ("28,000,000 points"), which the 56 px axis cut to ",000,000 points" on the usage explorer. A tick now reads the Measure's words only while they fit (≤ 7 characters), else the compact number ("28M"); the chart's title names the unit. `drillChartAxisNumber` is exported for hosts and tests. Proof: `drill-chart-axis.test.ts`. Consumer action: none.
|
|
6
19
|
- **A folded single-row toolbar carries its search in the "…"** (merged-grid leftovers, 2026-09-30): when the row is too narrow for its pinned group and everything folds behind ONE "…" (`usePinnedFold`), the search had stayed on the row, scrolled out of sight under the "…". It now rides the "…" first in the list (the phone sheet's `sheetTop` rule) and returns to the row when the row unfolds. Proof: `MatrxDataTable.pinned-whole-or-folded.test.tsx`. Consumer action: none.
|
|
7
20
|
|
|
8
21
|
## 0.49.41
|
|
@@ -36,6 +36,7 @@ __export(DrillChart_exports, {
|
|
|
36
36
|
MATRX_DRILL_CHART_OTHER: () => MATRX_DRILL_CHART_OTHER,
|
|
37
37
|
MATRX_DRILL_CHART_SERIES_LIMIT: () => MATRX_DRILL_CHART_SERIES_LIMIT,
|
|
38
38
|
MatrxDrillChart: () => MatrxDrillChart,
|
|
39
|
+
drillChartAxisNumber: () => drillChartAxisNumber,
|
|
39
40
|
drillChartCellsQuestion: () => drillChartCellsQuestion,
|
|
40
41
|
drillChartData: () => drillChartData,
|
|
41
42
|
drillChartDrill: () => drillChartDrill,
|
|
@@ -496,10 +497,13 @@ function formatWith(measure, value) {
|
|
|
496
497
|
if (measure?.format) return measure.format(value);
|
|
497
498
|
return value.toLocaleString(void 0, { maximumFractionDigits: 2 });
|
|
498
499
|
}
|
|
499
|
-
function
|
|
500
|
-
|
|
501
|
-
|
|
500
|
+
function drillChartAxisNumber(measure, value) {
|
|
501
|
+
const compact = new Intl.NumberFormat("en-US", { notation: "compact", maximumFractionDigits: 1 }).format(value);
|
|
502
|
+
if (!measure?.format) return compact;
|
|
503
|
+
const said = measure.format(value);
|
|
504
|
+
return said.length <= 7 ? said : compact;
|
|
502
505
|
}
|
|
506
|
+
var axisNumber = drillChartAxisNumber;
|
|
503
507
|
function MatrxDrillChart({
|
|
504
508
|
dimensions,
|
|
505
509
|
measures,
|