@spteck/fluentui-react-charts 1.0.10 → 1.0.12

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.
@@ -5,6 +5,20 @@ import { Theme } from '@fluentui/react-components';
5
5
  */
6
6
  export declare const lightenColor: (hex: string, amount: number) => string;
7
7
  export declare const getFluentPalette: (_theme: Theme) => string[];
8
+ /**
9
+ * Returns animation configuration for instant interactions.
10
+ * Disables hover/tooltip animations for immediate response.
11
+ */
12
+ export declare const getInstantInteractionAnimations: () => {
13
+ animation: false;
14
+ transitions: {
15
+ active: {
16
+ animation: {
17
+ duration: number;
18
+ };
19
+ };
20
+ };
21
+ };
8
22
  /**
9
23
  * Smart Fluent tooltip generator with chart-type awareness.
10
24
  * Optimized for fast performance with reduced animation delays.
@@ -32,5 +46,15 @@ export declare function useChartUtils(theme?: Theme): {
32
46
  prefix?: string | undefined;
33
47
  }) => (this: any, value: string | number) => string;
34
48
  debounce: typeof debounce;
49
+ getInstantInteractionAnimations: () => {
50
+ animation: false;
51
+ transitions: {
52
+ active: {
53
+ animation: {
54
+ duration: number;
55
+ };
56
+ };
57
+ };
58
+ };
35
59
  };
36
60
  export {};
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.10",
2
+ "version": "1.0.12",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",