@microsoft/fabric-slicers 4.3.0 → 4.4.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.
package/CHANGELOG CHANGED
@@ -5,6 +5,10 @@ All notable changes to `@microsoft/fabric-slicers` will be documented in this fi
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 4.4.0 - 2026-11-17
9
+
10
+ - Consolidate DataCell types in visuals-core
11
+
8
12
  ## 4.3.0 - 2026-11-11
9
13
 
10
14
  - Fix duplicate slicer search focus indicators
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { CalendarDate, DataTable, VisualTheme, InteractionEventCallback } from '@microsoft/fabric-visuals-core';
2
+ import { CalendarDate, DataTable, VisualTheme, InteractionEventCallback, DataCell } from '@microsoft/fabric-visuals-core';
3
3
 
4
4
  /** Supported raw slicer values. Null and undefined share one blank entry in list and dropdown slicers. */
5
5
  type SlicerValue = string | number | boolean | Date | null | undefined;
@@ -122,6 +122,6 @@ declare function DateSlicer(props: DateSlicerInputParams): ReactElement;
122
122
  declare function RangeSlicer({ data, column, title, theme, step, disabled, displayOptions, onInteraction, selection, }: RangeSlicerInputParams): ReactElement;
123
123
 
124
124
  /** Narrows unvalidated data cells and interaction values to supported slicer values. */
125
- declare function isSlicerValue(value: DataTable['rows'][number][number]): value is SlicerValue;
125
+ declare function isSlicerValue(value: DataCell): value is SlicerValue;
126
126
 
127
127
  export { type CalendarDateRange, DateSlicer, type DateSlicerDisplayOptions, type DateSlicerInputParams, DropdownSlicer, type DropdownSlicerInputParams, ListSlicer, type ListSlicerDisplayOptions, type ListSlicerInputParams, RangeSlicer, type RangeSlicerDisplayOptions, type RangeSlicerInputParams, type SlicerDisplayOptions, type SlicerInputParams, type SlicerKeyedItem, type SlicerRange, type SlicerValue, isSlicerValue };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@microsoft/fabric-slicers",
3
3
  "description": "Slicer components for Fabric Apps - Analytics",
4
- "version": "4.3.0",
4
+ "version": "4.4.0",
5
5
  "author": "Microsoft",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -30,6 +30,6 @@
30
30
  "@tanstack/react-virtual": "^3.13.23",
31
31
  "lodash.debounce": "^4.0.8",
32
32
  "radix-ui": "^1.6.7",
33
- "@microsoft/fabric-visuals-core": "5.3.0"
33
+ "@microsoft/fabric-visuals-core": "5.4.0"
34
34
  }
35
35
  }