@rfkit/charts 1.13.1 → 1.13.3

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.
@@ -2,6 +2,7 @@ import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../
2
2
  export declare const DEFAULT_FREQUENCY_ALLOCATION_CHANNEL_ID = "default";
3
3
  export interface ResolvedFrequencyAllocationChannel {
4
4
  id: string;
5
+ renderKey: string;
5
6
  title?: string;
6
7
  data: FrequencyAllocationItem[];
7
8
  }
@@ -1,6 +1,6 @@
1
1
  import type { CSSProperties } from 'react';
2
2
  import type { FrequencyAllocationItem, SegmentType } from '../../../../types';
3
- import { type FrequencyRange as CalculatedFrequencyRange } from '../../../../utils';
3
+ import { type FrequencyRange as CalculatedFrequencyRange } from '../../../../utils/frequencyCalculation.ts';
4
4
  import type { BandPosition, FrequencyRange } from '../types';
5
5
  import type { ResolvedFrequencyAllocationChannel } from './resolveFrequencyAllocationData';
6
6
  export interface FrequencyAllocationSegmentData {
@@ -14,6 +14,7 @@ export interface FrequencyRange {
14
14
  }
15
15
  export interface BandPosition {
16
16
  band: FrequencyAllocationItem;
17
+ renderKey: string;
17
18
  range: FrequencyRange;
18
19
  channelIndex: number;
19
20
  channelTitle?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rfkit/charts",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "type": "module",
5
5
  "description": "Chart components for wireless monitoring web applications",
6
6
  "exports": {
@@ -1,4 +1,5 @@
1
1
  export interface FrequencyAllocationItem {
2
+ id?: string;
2
3
  startFrequency?: number | string;
3
4
  stopFrequency?: number | string;
4
5
  centerFrequency?: number | string;