@ai-matrx/design-system 0.44.0 → 0.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.44.1 (2026-09-26 — an indeterminate Progress actually sweeps)
4
+
5
+ * **Fix:** an indeterminate `Progress` (`value={null}`) carried `w-full` beside
6
+ `matrx-progress-indeterminate`. The sweep's 40% width lives in the package layer, which a host's
7
+ utilities layer outranks, so every indeterminate bar painted a solid full-width fill and never
8
+ moved (found live on matrx-frontend's video job card). The indicator now carries `w-full` only
9
+ when it is determinate.
10
+ * Test: `controls.test.tsx` "never pairs the indeterminate sweep with a full-width utility"
11
+ (RED without the change → GREEN).
12
+
13
+ **Consumer action:** none.
14
+
3
15
  ## 0.44.0 (2026-09-26 — the layer the person used last is on top)
4
16
 
5
17
  * **`announceLayerFront(element)` / `LAYER_FRONT_EVENT` (`matrx:layer-front`)** — one signal
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.cjs';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-CqU57qk8.cjs';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-cvgKRetM.cjs';
3
3
  import '../content-transfer.cjs';
4
4
  import 'react';
5
5
  import '@ai-matrx/kit/content-transfer';
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.js';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-CUR8Hbt5.js';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-Bzzzed5d.js';
3
3
  import '../content-transfer.js';
4
4
  import 'react';
5
5
  import '@ai-matrx/kit/content-transfer';
@@ -1,4 +1,4 @@
1
- import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-CqU57qk8.cjs';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-cvgKRetM.cjs';
2
2
  import '../content-transfer.cjs';
3
3
  import 'react';
4
4
  import '@ai-matrx/kit/content-transfer';
@@ -1,4 +1,4 @@
1
- import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-CUR8Hbt5.js';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-Bzzzed5d.js';
2
2
  import '../content-transfer.js';
3
3
  import 'react';
4
4
  import '@ai-matrx/kit/content-transfer';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ComponentType, ReactNode, MouseEventHandler } from 'react';
3
3
  import { CopyControlProps } from './copy-types.cjs';
4
4
  export { AgentPayloadInput, AiCustomSource, AiVariant, CopyExportConfig } from './copy-types.cjs';
5
- import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-CqU57qk8.cjs';
5
+ import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-cvgKRetM.cjs';
6
6
  import { MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.cjs';
7
7
  export { MatrxTableMenuItem, MatrxTableMenuSection } from './menu-targets.cjs';
8
8
  import '../content-transfer.cjs';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ComponentType, ReactNode, MouseEventHandler } from 'react';
3
3
  import { CopyControlProps } from './copy-types.js';
4
4
  export { AgentPayloadInput, AiCustomSource, AiVariant, CopyExportConfig } from './copy-types.js';
5
- import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-CUR8Hbt5.js';
5
+ import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-Bzzzed5d.js';
6
6
  import { MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.js';
7
7
  export { MatrxTableMenuItem, MatrxTableMenuSection } from './menu-targets.js';
8
8
  import '../content-transfer.js';
@@ -13884,6 +13884,26 @@ function MatrxDataTableCore({
13884
13884
  );
13885
13885
  const sheetRef = (0, import_react21.useRef)(sheet);
13886
13886
  sheetRef.current = sheet;
13887
+ const onSheetSelectionRef = (0, import_react21.useRef)(spreadsheet?.onSelectionChange);
13888
+ onSheetSelectionRef.current = spreadsheet?.onSelectionChange;
13889
+ const sheetSelectionKey = sheet.range ? `${sheet.range.anchor.rowId}\0${sheet.range.anchor.fieldName}\0${sheet.range.focus.rowId}\0${sheet.range.focus.fieldName}\0${sheet.bounds ? `${sheet.bounds.r0}:${sheet.bounds.r1}:${sheet.bounds.c0}:${sheet.bounds.c1}` : ""}` : "";
13890
+ (0, import_react21.useEffect)(() => {
13891
+ const tell = onSheetSelectionRef.current;
13892
+ if (!tell) return;
13893
+ const current = sheetRef.current;
13894
+ if (!current.range) {
13895
+ tell(null);
13896
+ return;
13897
+ }
13898
+ const { rowIds, columnIds: columnIds2 } = current.selectionAddresses();
13899
+ tell({
13900
+ active: { rowId: current.range.focus.rowId, columnId: current.range.focus.fieldName },
13901
+ rowIds,
13902
+ columnIds: columnIds2,
13903
+ cellCount: rowIds.length * columnIds2.length,
13904
+ tsv: current.selectionTsv()
13905
+ });
13906
+ }, [sheetSelectionKey]);
13887
13907
  const searchValueRef = (0, import_react21.useRef)(searchValue);
13888
13908
  searchValueRef.current = searchValue;
13889
13909
  const facetsEnabled = Boolean(facets && facets.enabled !== false);