@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.
- package/README.md +7 -8
- package/index.js +17 -17
- package/modules/Spectrum/BandLayer/InfoPanel.d.ts +1 -1
- package/package.json +1 -1
- package/types/store/ui.d.ts +4 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { AxisXProps } from '../../../types/index.js';
|
|
3
|
-
import type
|
|
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
package/types/store/ui.d.ts
CHANGED
|
@@ -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;
|