@rfkit/charts 1.17.2 → 1.17.4

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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { AxisXProps } from '../../../types/index.js';
3
- import type { BandState } from '../../../types/store/ui.js';
3
+ import { type BandState } from '../../../types/store/ui.js';
4
4
  interface Props {
5
5
  band?: BandState;
6
6
  frequencyFormat?: AxisXProps['frequencyFormat'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rfkit/charts",
3
- "version": "1.17.2",
3
+ "version": "1.17.4",
4
4
  "type": "module",
5
5
  "description": "Chart components for wireless monitoring web applications",
6
6
  "exports": {
@@ -63,6 +63,7 @@ export interface ZoomProps {
63
63
  type BandSharedProps = {
64
64
  show?: boolean;
65
65
  color?: string;
66
+ label?: string;
66
67
  details?: {
67
68
  name?: string;
68
69
  organization?: string;
@@ -105,6 +106,7 @@ export type BandState = {
105
106
  kind: typeof BandKind.Position;
106
107
  show: boolean;
107
108
  color?: string;
109
+ label?: string;
108
110
  details?: BandSharedProps['details'];
109
111
  left?: number;
110
112
  width: number;
@@ -112,6 +114,7 @@ export type BandState = {
112
114
  kind: typeof BandKind.CenterBandwidth;
113
115
  show: boolean;
114
116
  color?: string;
117
+ label?: string;
115
118
  details?: BandSharedProps['details'];
116
119
  frequency: number;
117
120
  bandwidth: number;
@@ -119,6 +122,7 @@ export type BandState = {
119
122
  kind: typeof BandKind.FrequencyRange;
120
123
  show: boolean;
121
124
  color?: string;
125
+ label?: string;
122
126
  details?: BandSharedProps['details'];
123
127
  startFrequency: number;
124
128
  stopFrequency: number;