@rfkit/charts 1.4.0 → 1.4.2

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.
Files changed (175) hide show
  1. package/README.md +156 -273
  2. package/components/AxisY/heatmap/index.d.ts +1 -1
  3. package/components/AxisY/heatmap/variants/standard/index.d.ts +6 -0
  4. package/components/Container/runtime.d.ts +10 -0
  5. package/components/Cursor/popover-support.d.ts +8 -0
  6. package/components/Toolbar/registry.d.ts +12 -0
  7. package/components/Toolbar/toggles/index.d.ts +10 -0
  8. package/components/Zoom/ZoomViewportLayer.d.ts +7 -0
  9. package/components/ui/button.d.ts +2 -2
  10. package/config/constants.d.ts +2 -2
  11. package/hooks/index.d.ts +1 -2
  12. package/hooks/module-subscription-core.d.ts +23 -0
  13. package/hooks/publish/enhancedPublish.d.ts +1 -1
  14. package/hooks/publish/index.d.ts +0 -1
  15. package/hooks/publish/publish-event.d.ts +9 -0
  16. package/hooks/useLevelStreamAnalyzer.d.ts +1 -1
  17. package/hooks/useModuleSubscription.d.ts +21 -23
  18. package/index.d.ts +5 -5
  19. package/index.js +7378 -6950
  20. package/modules/Gauge/render.d.ts +0 -2
  21. package/{components/HeatmapCapture → modules/Heatmap/Capture}/tools.d.ts +1 -1
  22. package/modules/Heatmap/CursorPopover.d.ts +6 -0
  23. package/modules/Heatmap/render.d.ts +2 -0
  24. package/modules/Level/CursorPopover.d.ts +6 -0
  25. package/modules/Occupancy/CursorPopover.d.ts +3 -0
  26. package/modules/Occupancy/TotalLine/index.d.ts +1 -1
  27. package/modules/Occupancy/total-line-runtime.d.ts +4 -0
  28. package/modules/Spectrum/AxisYCanvas/index.d.ts +6 -0
  29. package/{components/AxisYByCanvas → modules/Spectrum/AxisYCanvas}/useCanvasAxisY.d.ts +1 -1
  30. package/modules/Spectrum/BandLayer/index.d.ts +5 -0
  31. package/modules/Spectrum/BandLayer/useBandLayerController.d.ts +2 -0
  32. package/{components → modules/Spectrum}/Blaze/tools.d.ts +1 -1
  33. package/modules/Spectrum/CursorPopover.d.ts +6 -0
  34. package/{components → modules/Spectrum}/FrequencyAllocation/color.d.ts +1 -1
  35. package/{components → modules/Spectrum}/FrequencyAllocation/model/resolveFrequencyAllocationData.d.ts +1 -1
  36. package/{components → modules/Spectrum}/FrequencyAllocation/model/resolver.d.ts +1 -1
  37. package/{components → modules/Spectrum}/FrequencyAllocation/model/useAllocationAtCursor.d.ts +1 -1
  38. package/{components → modules/Spectrum}/FrequencyAllocation/model/useFrequencyAllocationData.d.ts +1 -1
  39. package/{components → modules/Spectrum}/FrequencyAllocation/presenters/AllocationInfo/index.d.ts +1 -1
  40. package/{components → modules/Spectrum}/FrequencyAllocation/presenters/AllocationSegments/index.d.ts +1 -1
  41. package/{components → modules/Spectrum}/FrequencyAllocation/tools.d.ts +1 -1
  42. package/{components → modules/Spectrum}/FrequencyAllocation/types.d.ts +1 -1
  43. package/{components → modules/Spectrum}/FrequencyDataBoard/panels/StationInfoPanel/index.d.ts +1 -1
  44. package/{components → modules/Spectrum}/FrequencyTagLine/index.d.ts +1 -1
  45. package/{components → modules/Spectrum}/Markers/MarkerItem/index.d.ts +1 -1
  46. package/{components → modules/Spectrum}/Markers/hooks/useMarkerEvents.d.ts +1 -1
  47. package/{components → modules/Spectrum}/Markers/hooks/useMarkers.d.ts +2 -2
  48. package/{components → modules/Spectrum}/Markers/tools.d.ts +1 -1
  49. package/{components → modules/Spectrum}/Scope/useScope.d.ts +1 -1
  50. package/{components → modules/Spectrum}/Signal/model/resolver.d.ts +1 -1
  51. package/{components → modules/Spectrum}/Signal/model/useStationInfoAtCursor.d.ts +1 -1
  52. package/{components → modules/Spectrum}/Signal/tools.d.ts +1 -1
  53. package/{components → modules/Spectrum}/Signal/useSignalDataManager.d.ts +1 -1
  54. package/{components → modules/Spectrum}/Signal/utils.d.ts +3 -3
  55. package/modules/Spectrum/render.d.ts +31 -52
  56. package/{hooks → modules/Spectrum}/useSpectrumAnalyzer/index.d.ts +1 -1
  57. package/modules/base/BaseRenderer.d.ts +63 -0
  58. package/modules/base/CircularRenderer.d.ts +4 -5
  59. package/package.json +21 -4
  60. package/{modules/tools.d.ts → runtime/passThrough.d.ts} +1 -1
  61. package/store/chart-store.d.ts +11 -0
  62. package/store/context.d.ts +5 -2
  63. package/store/hooks/index.d.ts +1 -1
  64. package/store/hooks/useStore.d.ts +11 -1
  65. package/store/index.d.ts +1 -1
  66. package/store/reducer.d.ts +1 -33
  67. package/store/runtime.d.ts +16 -0
  68. package/tailwind-bridge.css +28 -101
  69. package/theme/init-charts-theme.d.ts +7 -11
  70. package/theme/style-scope.d.ts +0 -1
  71. package/{utils/theme.d.ts → theme/theme-color.d.ts} +0 -11
  72. package/theme/theme-contract.d.ts +28 -0
  73. package/theme/theme-runtime.d.ts +14 -0
  74. package/theme/theme-styles.d.ts +10 -0
  75. package/theme/theme-tokens.d.ts +85 -0
  76. package/types/common.d.ts +1 -1
  77. package/types/store/index.d.ts +6 -4
  78. package/types/store/ui.d.ts +4 -4
  79. package/utils/index.d.ts +0 -1
  80. package/utils/subscription.d.ts +18 -3
  81. package/components/AxisY/heatmap/type/Default/index.d.ts +0 -6
  82. package/components/AxisYByCanvas/index.d.ts +0 -6
  83. package/components/Band/index.d.ts +0 -5
  84. package/components/Band/useBand.d.ts +0 -2
  85. package/components/Cursor/popovers/index.d.ts +0 -10
  86. package/components/SignalAnalysis/Switch/index.d.ts +0 -3
  87. package/components/ToolsBar/registry.d.ts +0 -12
  88. package/components/ToolsBar/toggles/index.d.ts +0 -10
  89. package/components/Zoom/ZoomOffsetContainer/index.d.ts +0 -7
  90. package/lib/LevelStream/useAxisY.d.ts +0 -1
  91. package/theme/charts-theme-controller.d.ts +0 -27
  92. package/theme/charts-theme-environment.d.ts +0 -7
  93. package/theme/shadcn-theme-config.d.ts +0 -221
  94. /package/{lib → charts}/Dial/Chart.d.ts +0 -0
  95. /package/{lib → charts}/Dial/index.d.ts +0 -0
  96. /package/{lib → charts}/Gauge/Chart.d.ts +0 -0
  97. /package/{lib → charts}/Gauge/index.d.ts +0 -0
  98. /package/{lib → charts}/Heatmap/Chart.d.ts +0 -0
  99. /package/{lib → charts}/Heatmap/index.d.ts +0 -0
  100. /package/{lib → charts}/IQ/Chart.d.ts +0 -0
  101. /package/{lib → charts}/IQ/index.d.ts +0 -0
  102. /package/{lib → charts}/LevelStream/Chart.d.ts +0 -0
  103. /package/{lib → charts}/LevelStream/index.d.ts +0 -0
  104. /package/{lib → charts}/Occupancy/Chart.d.ts +0 -0
  105. /package/{lib → charts}/Occupancy/index.d.ts +0 -0
  106. /package/{lib → charts}/SpatialSpectrum/Chart.d.ts +0 -0
  107. /package/{lib → charts}/SpatialSpectrum/index.d.ts +0 -0
  108. /package/{lib → charts}/Spectrum/Chart.d.ts +0 -0
  109. /package/{lib → charts}/Spectrum/index.d.ts +0 -0
  110. /package/{lib → charts}/index.d.ts +0 -0
  111. /package/components/AxisY/heatmap/{type/Default → variants/standard}/GradientRibbon/index.d.ts +0 -0
  112. /package/components/AxisY/occupancy/{type/Default → variants/standard}/index.d.ts +0 -0
  113. /package/components/{ToolsBar → Toolbar}/controls/Reset.d.ts +0 -0
  114. /package/components/{ToolsBar → Toolbar}/controls/SegmentsDisplayControl/index.d.ts +0 -0
  115. /package/components/{ToolsBar → Toolbar}/controls/SeriesControl/index.d.ts +0 -0
  116. /package/components/{ToolsBar → Toolbar}/controls/SeriesDisplayControl/index.d.ts +0 -0
  117. /package/components/{ToolsBar → Toolbar}/controls/index.d.ts +0 -0
  118. /package/components/{ToolsBar → Toolbar}/decorations/GradientRibbon/index.d.ts +0 -0
  119. /package/components/{ToolsBar → Toolbar}/decorations/SpacerLine.d.ts +0 -0
  120. /package/components/{ToolsBar → Toolbar}/decorations/index.d.ts +0 -0
  121. /package/components/{ToolsBar → Toolbar}/index.d.ts +0 -0
  122. /package/components/{ToolsBar → Toolbar}/primitives/IconBox.d.ts +0 -0
  123. /package/components/{ToolsBar → Toolbar}/primitives/ToolbarContentBox.d.ts +0 -0
  124. /package/components/{ToolsBar → Toolbar}/primitives/ToolbarDropdown.d.ts +0 -0
  125. /package/components/{ToolsBar → Toolbar}/primitives/ToolbarGlyph.d.ts +0 -0
  126. /package/components/{ToolsBar → Toolbar}/primitives/ToolbarGroup.d.ts +0 -0
  127. /package/components/{ToolsBar → Toolbar}/primitives/ToolbarGroupIconBox.d.ts +0 -0
  128. /package/components/{ToolsBar → Toolbar}/primitives/ToolbarSurface.d.ts +0 -0
  129. /package/components/{ToolsBar → Toolbar}/primitives/index.d.ts +0 -0
  130. /package/components/{ToolsBar → Toolbar}/primitives/styles.d.ts +0 -0
  131. /package/{components/GaugeBox/index.d.ts → modules/Gauge/InteractionSurface.d.ts} +0 -0
  132. /package/{components/HeatmapCapture → modules/Heatmap/Capture}/Area/index.d.ts +0 -0
  133. /package/{components/HeatmapCapture → modules/Heatmap/Capture}/RowIndex/index.d.ts +0 -0
  134. /package/{components/HeatmapCapture → modules/Heatmap/Capture}/Slider/index.d.ts +0 -0
  135. /package/{components/FrequencyTagLine → modules/Heatmap/Capture}/Switch/index.d.ts +0 -0
  136. /package/{components/HeatmapCapture → modules/Heatmap/Capture}/index.d.ts +0 -0
  137. /package/{components/HeatmapCapture → modules/Heatmap/TimeRange}/Switch/index.d.ts +0 -0
  138. /package/{components → modules/Heatmap}/TimeRange/useTimeRange.d.ts +0 -0
  139. /package/{components → modules/Spectrum}/Blaze/index.d.ts +0 -0
  140. /package/{components → modules/Spectrum}/DeltaMeasurement/Switch.d.ts +0 -0
  141. /package/{components → modules/Spectrum}/DeltaMeasurement/index.d.ts +0 -0
  142. /package/{components → modules/Spectrum}/DragFrame/index.d.ts +0 -0
  143. /package/{components → modules/Spectrum}/FrequencyAllocation/Switch/index.d.ts +0 -0
  144. /package/{components → modules/Spectrum}/FrequencyAllocation/data.d.ts +0 -0
  145. /package/{components → modules/Spectrum}/FrequencyAllocation/index.d.ts +0 -0
  146. /package/{components → modules/Spectrum}/FrequencyAllocation/model/index.d.ts +0 -0
  147. /package/{components → modules/Spectrum}/FrequencyAllocation/overlays/Tooltip/index.d.ts +0 -0
  148. /package/{components → modules/Spectrum}/FrequencyAllocation/overlays/index.d.ts +0 -0
  149. /package/{components → modules/Spectrum}/FrequencyAllocation/presenters/index.d.ts +0 -0
  150. /package/{components → modules/Spectrum}/FrequencyDataBoard/hooks/index.d.ts +0 -0
  151. /package/{components → modules/Spectrum}/FrequencyDataBoard/hooks/useStationInfoAtCursor.d.ts +0 -0
  152. /package/{components → modules/Spectrum}/FrequencyDataBoard/index.d.ts +0 -0
  153. /package/{components → modules/Spectrum}/FrequencyDataBoard/panels/index.d.ts +0 -0
  154. /package/{components → modules/Spectrum}/FrequencyTagLine/Board/index.d.ts +0 -0
  155. /package/{components/Limit → modules/Spectrum/FrequencyTagLine}/Switch/index.d.ts +0 -0
  156. /package/{components → modules/Spectrum}/Legend/index.d.ts +0 -0
  157. /package/{components → modules/Spectrum}/Limit/Item.d.ts +0 -0
  158. /package/{components/TimeRange → modules/Spectrum/Limit}/Switch/index.d.ts +0 -0
  159. /package/{components → modules/Spectrum}/Limit/index.d.ts +0 -0
  160. /package/{components → modules/Spectrum}/Markers/Switch/index.d.ts +0 -0
  161. /package/{components → modules/Spectrum}/Markers/index.d.ts +0 -0
  162. /package/{components → modules/Spectrum}/Scope/index.d.ts +0 -0
  163. /package/{components → modules/Spectrum}/SegmentsZebra/index.d.ts +0 -0
  164. /package/{components → modules/Spectrum}/Signal/Switch/index.d.ts +0 -0
  165. /package/{components → modules/Spectrum}/Signal/index.d.ts +0 -0
  166. /package/{components → modules/Spectrum}/Signal/metadata/index.d.ts +0 -0
  167. /package/{components → modules/Spectrum}/Signal/metadata/signalType.d.ts +0 -0
  168. /package/{components → modules/Spectrum}/Signal/model/index.d.ts +0 -0
  169. /package/{components → modules/Spectrum}/Signal/model/useUnifiedSignals.d.ts +0 -0
  170. /package/{components → modules/Spectrum}/Signal/presenters/SignalSegments/index.d.ts +0 -0
  171. /package/{components → modules/Spectrum}/Signal/presenters/index.d.ts +0 -0
  172. /package/{components → modules/Spectrum}/Stripe/Switch/index.d.ts +0 -0
  173. /package/{components → modules/Spectrum}/Stripe/index.d.ts +0 -0
  174. /package/{hooks/publish → modules/Spectrum}/useMarkerPublish.d.ts +0 -0
  175. /package/{hooks → modules/Spectrum}/useSpectrumAnalyzer/useTemplateComparison.d.ts +0 -0
@@ -1,221 +0,0 @@
1
- export declare const RFKIT_CHARTS_SHADCN_THEME_CONFIGS: [{
2
- readonly name: "--background";
3
- readonly dark: "#202020";
4
- readonly light: "#FFFFFF";
5
- }, {
6
- readonly name: "--foreground";
7
- readonly dark: "#FFFFFF";
8
- readonly light: "#1D2129";
9
- }, {
10
- readonly name: "--card";
11
- readonly dark: "var(--background)";
12
- readonly light: "var(--background)";
13
- }, {
14
- readonly name: "--card-foreground";
15
- readonly dark: "var(--foreground)";
16
- readonly light: "var(--foreground)";
17
- }, {
18
- readonly name: "--popover";
19
- readonly dark: "var(--background)";
20
- readonly light: "var(--background)";
21
- }, {
22
- readonly name: "--popover-foreground";
23
- readonly dark: "var(--foreground)";
24
- readonly light: "var(--foreground)";
25
- }, {
26
- readonly name: "--primary";
27
- readonly dark: "#4371F8";
28
- readonly light: "#2A51F7";
29
- }, {
30
- readonly name: "--primary-foreground";
31
- readonly dark: "#FFFFFF";
32
- readonly light: "#FFFFFF";
33
- }, {
34
- readonly name: "--secondary";
35
- readonly dark: "#29292B";
36
- readonly light: "#F0F1F3";
37
- }, {
38
- readonly name: "--secondary-foreground";
39
- readonly dark: "var(--foreground)";
40
- readonly light: "var(--foreground)";
41
- }, {
42
- readonly name: "--muted";
43
- readonly dark: "#2F2F2F";
44
- readonly light: "#E1E2E8";
45
- }, {
46
- readonly name: "--muted-foreground";
47
- readonly dark: "rgba(255, 255, 255, 0.7)";
48
- readonly light: "rgba(29, 33, 41, 0.7)";
49
- }, {
50
- readonly name: "--accent";
51
- readonly dark: "var(--secondary)";
52
- readonly light: "var(--secondary)";
53
- }, {
54
- readonly name: "--accent-foreground";
55
- readonly dark: "var(--foreground)";
56
- readonly light: "var(--foreground)";
57
- }, {
58
- readonly name: "--warning";
59
- readonly dark: "#FF9626";
60
- readonly light: "#FF7D00";
61
- }, {
62
- readonly name: "--warning-foreground";
63
- readonly dark: "#FFFFFF";
64
- readonly light: "#FFFFFF";
65
- }, {
66
- readonly name: "--success";
67
- readonly dark: "#23C343";
68
- readonly light: "#00B42A";
69
- }, {
70
- readonly name: "--success-foreground";
71
- readonly dark: "#FFFFFF";
72
- readonly light: "#FFFFFF";
73
- }, {
74
- readonly name: "--destructive";
75
- readonly dark: "#F76965";
76
- readonly light: "#F53F3F";
77
- }, {
78
- readonly name: "--destructive-foreground";
79
- readonly dark: "#FFFFFF";
80
- readonly light: "#FFFFFF";
81
- }, {
82
- readonly name: "--border";
83
- readonly dark: "#313131";
84
- readonly light: "#F0F0F0";
85
- }, {
86
- readonly name: "--input";
87
- readonly dark: "var(--border)";
88
- readonly light: "var(--border)";
89
- }, {
90
- readonly name: "--ring";
91
- readonly dark: "var(--primary)";
92
- readonly light: "var(--primary)";
93
- }, {
94
- readonly name: "--chart-panel";
95
- readonly dark: "rgba(32, 32, 32, 0.96)";
96
- readonly light: "rgba(255, 255, 255, 0.96)";
97
- }, {
98
- readonly name: "--chart-panel-foreground";
99
- readonly dark: "var(--foreground)";
100
- readonly light: "var(--foreground)";
101
- }, {
102
- readonly name: "--chart-grid";
103
- readonly dark: "rgba(255, 255, 255, 0.12)";
104
- readonly light: "rgba(29, 33, 41, 0.12)";
105
- }, {
106
- readonly name: "--chart-grid-strong";
107
- readonly dark: "rgba(255, 255, 255, 0.28)";
108
- readonly light: "rgba(29, 33, 41, 0.28)";
109
- }, {
110
- readonly name: "--chart-highlight";
111
- readonly dark: "var(--primary)";
112
- readonly light: "var(--primary)";
113
- }, {
114
- readonly name: "--chart-warning";
115
- readonly dark: "var(--warning)";
116
- readonly light: "var(--warning)";
117
- }, {
118
- readonly name: "--chart-danger";
119
- readonly dark: "var(--destructive)";
120
- readonly light: "var(--destructive)";
121
- }, {
122
- readonly name: "--chart-surface";
123
- readonly dark: "var(--secondary)";
124
- readonly light: "var(--secondary)";
125
- }, {
126
- readonly name: "--chart-1";
127
- readonly dark: "var(--primary)";
128
- readonly light: "var(--primary)";
129
- }, {
130
- readonly name: "--chart-2";
131
- readonly dark: "var(--warning)";
132
- readonly light: "var(--warning)";
133
- }, {
134
- readonly name: "--chart-3";
135
- readonly dark: "#4D7CF8";
136
- readonly light: "#4D7CF8";
137
- }, {
138
- readonly name: "--chart-4";
139
- readonly dark: "#5AB9C1";
140
- readonly light: "#5AB9C1";
141
- }, {
142
- readonly name: "--chart-5";
143
- readonly dark: "#682E8F";
144
- readonly light: "#682E8F";
145
- }, {
146
- readonly name: "--radius";
147
- readonly dark: "var(--size-border-radius-base)";
148
- readonly light: "var(--size-border-radius-base)";
149
- }, {
150
- readonly name: "--sidebar";
151
- readonly dark: "var(--background)";
152
- readonly light: "var(--background)";
153
- }, {
154
- readonly name: "--sidebar-foreground";
155
- readonly dark: "var(--foreground)";
156
- readonly light: "var(--foreground)";
157
- }, {
158
- readonly name: "--sidebar-primary";
159
- readonly dark: "var(--primary)";
160
- readonly light: "var(--primary)";
161
- }, {
162
- readonly name: "--sidebar-primary-foreground";
163
- readonly dark: "var(--primary-foreground)";
164
- readonly light: "var(--primary-foreground)";
165
- }, {
166
- readonly name: "--sidebar-accent";
167
- readonly dark: "var(--secondary)";
168
- readonly light: "var(--secondary)";
169
- }, {
170
- readonly name: "--sidebar-accent-foreground";
171
- readonly dark: "var(--foreground)";
172
- readonly light: "var(--foreground)";
173
- }, {
174
- readonly name: "--sidebar-border";
175
- readonly dark: "var(--border)";
176
- readonly light: "var(--border)";
177
- }, {
178
- readonly name: "--sidebar-ring";
179
- readonly dark: "var(--ring)";
180
- readonly light: "var(--ring)";
181
- }, {
182
- readonly name: "--theme-color-primary";
183
- readonly dark: "var(--primary)";
184
- readonly light: "var(--primary)";
185
- }, {
186
- readonly name: "--theme-color-warn";
187
- readonly dark: "var(--warning)";
188
- readonly light: "var(--warning)";
189
- }, {
190
- readonly name: "--theme-color-error";
191
- readonly dark: "var(--destructive)";
192
- readonly light: "var(--destructive)";
193
- }, {
194
- readonly name: "--theme-color-success";
195
- readonly dark: "var(--success)";
196
- readonly light: "var(--success)";
197
- }, {
198
- readonly name: "--theme-bg-base";
199
- readonly dark: "var(--background)";
200
- readonly light: "var(--background)";
201
- }, {
202
- readonly name: "--theme-bg-second";
203
- readonly dark: "var(--secondary)";
204
- readonly light: "var(--secondary)";
205
- }, {
206
- readonly name: "--theme-bg-third";
207
- readonly dark: "var(--muted)";
208
- readonly light: "var(--muted)";
209
- }, {
210
- readonly name: "--theme-color-base";
211
- readonly dark: "var(--foreground)";
212
- readonly light: "var(--foreground)";
213
- }, {
214
- readonly name: "--theme-border-base";
215
- readonly dark: "var(--border)";
216
- readonly light: "var(--border)";
217
- }, {
218
- readonly name: "--theme-box-shadow-base";
219
- readonly dark: "0 1px 2px 0 rgba(255, 255, 255, 0.03),0 1px 6px -1px rgba(255, 255, 255, 0.02),0 2px 4px 0 rgba(255, 255, 255, 0.02)";
220
- readonly light: "0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)";
221
- }];
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes