@dudousxd/nestjs-catalog-react 0.34.2 → 0.36.0

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 (191) hide show
  1. package/README.md +1 -0
  2. package/dist/AccessConsole.d.ts +1 -1
  3. package/dist/AccessConsole.js +19 -19
  4. package/dist/CatalogManager.js +11 -11
  5. package/dist/ConnectionPanel.js +9 -9
  6. package/dist/CoverageLedger.js +1 -1
  7. package/dist/DashboardBoard.js +10 -10
  8. package/dist/EditableField.js +1 -1
  9. package/dist/FlowView.js +4 -4
  10. package/dist/GovernanceTimeline.d.ts +1 -1
  11. package/dist/GovernanceTimeline.js +10 -8
  12. package/dist/LoadExpectationSection.js +6 -6
  13. package/dist/LoadedBySection.d.ts +1 -1
  14. package/dist/LoadedBySection.js +4 -4
  15. package/dist/ObjectExplorer.js +20 -18
  16. package/dist/PipelineConsole.js +9 -9
  17. package/dist/QueryConsole.js +7 -7
  18. package/dist/SavedQueryPanel.js +7 -7
  19. package/dist/TraceExplorer.d.ts +3 -2
  20. package/dist/TraceExplorer.js +22 -14
  21. package/dist/TransformEditor.js +8 -8
  22. package/dist/WorkflowCanvas.js +30 -30
  23. package/dist/charts/bklit/area-chart-loading.d.ts +2 -2
  24. package/dist/charts/bklit/area-chart-loading.js +4 -4
  25. package/dist/charts/bklit/area-chart.d.ts +3 -3
  26. package/dist/charts/bklit/area-chart.js +7 -7
  27. package/dist/charts/bklit/area-gradient-defs.d.ts +1 -1
  28. package/dist/charts/bklit/area-gradient-defs.js +1 -1
  29. package/dist/charts/bklit/area.d.ts +4 -4
  30. package/dist/charts/bklit/area.js +11 -11
  31. package/dist/charts/bklit/bar-chart-loading.d.ts +1 -1
  32. package/dist/charts/bklit/bar-chart-loading.js +1 -1
  33. package/dist/charts/bklit/bar-chart.d.ts +2 -2
  34. package/dist/charts/bklit/bar-chart.js +12 -12
  35. package/dist/charts/bklit/bar-squares.d.ts +1 -1
  36. package/dist/charts/bklit/bar-squares.js +5 -5
  37. package/dist/charts/bklit/bar-x-axis.js +2 -2
  38. package/dist/charts/bklit/bar-y-axis.js +2 -2
  39. package/dist/charts/bklit/bar.js +4 -4
  40. package/dist/charts/bklit/chart-context.d.ts +4 -4
  41. package/dist/charts/bklit/chart-context.js +1 -1
  42. package/dist/charts/bklit/chart-loading-label.js +3 -3
  43. package/dist/charts/bklit/chart-reveal-clip.js +1 -1
  44. package/dist/charts/bklit/grid.js +3 -3
  45. package/dist/charts/bklit/highlight-segment-bounds.d.ts +2 -2
  46. package/dist/charts/bklit/line-chart-loading.d.ts +2 -2
  47. package/dist/charts/bklit/line-chart-loading.js +4 -4
  48. package/dist/charts/bklit/line-chart.d.ts +3 -3
  49. package/dist/charts/bklit/line-chart.js +6 -6
  50. package/dist/charts/bklit/line-loading-pulse.d.ts +1 -1
  51. package/dist/charts/bklit/line-loading-pulse.js +3 -3
  52. package/dist/charts/bklit/line-series-terminal-marker.js +2 -2
  53. package/dist/charts/bklit/line.d.ts +4 -4
  54. package/dist/charts/bklit/line.js +11 -11
  55. package/dist/charts/bklit/loading-sweep.js +2 -2
  56. package/dist/charts/bklit/motion-utils.js +1 -1
  57. package/dist/charts/bklit/pattern-area.js +1 -1
  58. package/dist/charts/bklit/pattern-preset.js +1 -1
  59. package/dist/charts/bklit/projection-config.d.ts +1 -1
  60. package/dist/charts/bklit/projection-config.js +3 -3
  61. package/dist/charts/bklit/projection-line-end-marker.d.ts +1 -1
  62. package/dist/charts/bklit/projection-line-end-marker.js +1 -1
  63. package/dist/charts/bklit/projection-line.d.ts +1 -1
  64. package/dist/charts/bklit/projection-line.js +2 -2
  65. package/dist/charts/bklit/reference-area-config.js +1 -1
  66. package/dist/charts/bklit/reference-area-registration-context.d.ts +1 -1
  67. package/dist/charts/bklit/series-dash-tail-overlay.js +2 -2
  68. package/dist/charts/bklit/series-highlight-layer.js +3 -3
  69. package/dist/charts/bklit/series-hover-dim.js +2 -2
  70. package/dist/charts/bklit/series-markers.d.ts +1 -1
  71. package/dist/charts/bklit/series-markers.js +4 -4
  72. package/dist/charts/bklit/series-point-marker.js +1 -1
  73. package/dist/charts/bklit/time-series-chart-shell.d.ts +2 -2
  74. package/dist/charts/bklit/time-series-chart-shell.js +20 -20
  75. package/dist/charts/bklit/tooltip/chart-tooltip.d.ts +4 -4
  76. package/dist/charts/bklit/tooltip/chart-tooltip.js +8 -8
  77. package/dist/charts/bklit/tooltip/index.d.ts +6 -6
  78. package/dist/charts/bklit/tooltip/index.js +6 -6
  79. package/dist/charts/bklit/tooltip/tooltip-box.d.ts +1 -1
  80. package/dist/charts/bklit/tooltip/tooltip-box.js +3 -3
  81. package/dist/charts/bklit/tooltip/tooltip-content.js +1 -1
  82. package/dist/charts/bklit/tooltip/tooltip-dot.d.ts +1 -1
  83. package/dist/charts/bklit/tooltip/tooltip-dot.js +2 -2
  84. package/dist/charts/bklit/tooltip/tooltip-indicator.d.ts +2 -2
  85. package/dist/charts/bklit/tooltip/tooltip-indicator.js +3 -3
  86. package/dist/charts/bklit/use-animated-series-path.js +2 -2
  87. package/dist/charts/bklit/use-animated-y-domains.d.ts +2 -2
  88. package/dist/charts/bklit/use-animated-y-domains.js +2 -2
  89. package/dist/charts/bklit/use-chart-interaction.d.ts +1 -1
  90. package/dist/charts/bklit/use-chart-interaction.js +2 -2
  91. package/dist/charts/bklit/use-chart-phase-orchestrator.d.ts +1 -1
  92. package/dist/charts/bklit/use-chart-phase-orchestrator.js +1 -1
  93. package/dist/charts/bklit/use-grid-shimmer.js +1 -1
  94. package/dist/charts/bklit/use-highlight-segment.js +3 -3
  95. package/dist/charts/bklit/use-mount-progress.js +1 -1
  96. package/dist/charts/bklit/x-axis.js +5 -5
  97. package/dist/charts/bklit/y-axis-scales.d.ts +1 -1
  98. package/dist/charts/bklit/y-domain-utils.d.ts +2 -2
  99. package/dist/charts/bklit/y-domain-utils.js +2 -2
  100. package/dist/charts/bklit.d.ts +1 -1
  101. package/dist/charts/bklit.js +11 -11
  102. package/dist/charts/body.js +4 -4
  103. package/dist/charts/components/shimmering-text.js +1 -1
  104. package/dist/charts/css.d.ts +2 -2
  105. package/dist/charts/css.js +1 -1
  106. package/dist/charts/recharts.d.ts +1 -1
  107. package/dist/charts/recharts.js +2 -2
  108. package/dist/charts/skeleton.js +1 -1
  109. package/dist/connection-form.js +3 -3
  110. package/dist/context.d.ts +50 -24
  111. package/dist/context.js +48 -16
  112. package/dist/diff/RevisionDiff.d.ts +1 -1
  113. package/dist/diff/RevisionDiff.js +7 -7
  114. package/dist/embed/EmbeddedChart.d.ts +2 -2
  115. package/dist/embed/EmbeddedChart.js +4 -4
  116. package/dist/embed/EmbeddedDashboard.d.ts +2 -2
  117. package/dist/embed/EmbeddedDashboard.js +6 -6
  118. package/dist/embed/actions.d.ts +1 -1
  119. package/dist/embed/actions.js +2 -2
  120. package/dist/embed/chart-card.d.ts +2 -2
  121. package/dist/embed/chart-card.js +7 -7
  122. package/dist/embed/index.d.ts +5 -5
  123. package/dist/embed/index.js +4 -4
  124. package/dist/embed/slots.js +1 -1
  125. package/dist/export/index.d.ts +6 -6
  126. package/dist/export/index.js +6 -6
  127. package/dist/export/pdf.d.ts +2 -2
  128. package/dist/export/pdf.js +2 -2
  129. package/dist/export/png.d.ts +1 -1
  130. package/dist/export/png.js +1 -1
  131. package/dist/export/serialize.js +1 -1
  132. package/dist/export/use-pdf-export.d.ts +2 -2
  133. package/dist/export/use-pdf-export.js +3 -3
  134. package/dist/export/use-png-export.d.ts +1 -1
  135. package/dist/export/use-png-export.js +1 -1
  136. package/dist/index.d.ts +46 -46
  137. package/dist/index.js +46 -46
  138. package/dist/routes.d.ts +3 -2
  139. package/dist/routes.js +4 -4
  140. package/dist/schema-discovery.js +2 -2
  141. package/dist/search-console.d.ts +2 -2
  142. package/dist/search-console.js +8 -8
  143. package/dist/sharing.js +2 -2
  144. package/dist/source-connection.d.ts +1 -1
  145. package/dist/source-connection.js +6 -6
  146. package/dist/source-fields.d.ts +2 -2
  147. package/dist/source-fields.js +6 -6
  148. package/dist/ui/button.js +1 -1
  149. package/dist/ui/chart.js +1 -1
  150. package/dist/ui/code-editor.d.ts +2 -2
  151. package/dist/ui/code-editor.js +2 -2
  152. package/dist/ui/combobox.js +1 -1
  153. package/dist/ui/data-table.js +1 -1
  154. package/dist/ui/dialog.js +1 -1
  155. package/dist/ui/field.js +1 -1
  156. package/dist/ui/rich-text-field.js +2 -2
  157. package/dist/ui/select.js +1 -1
  158. package/dist/ui/sheet.js +2 -2
  159. package/dist/ui/switch.js +1 -1
  160. package/dist/ui/tabs.js +1 -1
  161. package/dist/ui/tooltip.js +1 -1
  162. package/dist/workflow/canvas-menu.d.ts +1 -1
  163. package/dist/workflow/canvas-menu.js +4 -4
  164. package/dist/workflow/create.d.ts +1 -1
  165. package/dist/workflow/create.js +4 -4
  166. package/dist/workflow/edges.d.ts +1 -1
  167. package/dist/workflow/edges.js +1 -1
  168. package/dist/workflow/graph.d.ts +2 -2
  169. package/dist/workflow/graph.js +2 -2
  170. package/dist/workflow/history.d.ts +1 -1
  171. package/dist/workflow/history.js +6 -6
  172. package/dist/workflow/index.d.ts +4 -4
  173. package/dist/workflow/index.js +4 -4
  174. package/dist/workflow/lifecycle.d.ts +2 -2
  175. package/dist/workflow/lifecycle.js +8 -8
  176. package/dist/workflow/menu.d.ts +2 -2
  177. package/dist/workflow/menu.js +3 -3
  178. package/dist/workflow/nodes.d.ts +2 -2
  179. package/dist/workflow/nodes.js +3 -3
  180. package/dist/workflow/place.d.ts +1 -1
  181. package/dist/workflow/place.js +1 -1
  182. package/dist/workflow/removal.d.ts +1 -1
  183. package/dist/workflow/removal.js +1 -1
  184. package/dist/workflow/runs.js +6 -6
  185. package/dist/workflow/shape.d.ts +1 -1
  186. package/dist/workflow/shape.js +1 -1
  187. package/dist/workflow/validate.d.ts +1 -1
  188. package/dist/workflow/validate.js +3 -3
  189. package/dist/workflow/wiring.d.ts +1 -1
  190. package/dist/workflow/wiring.js +4 -4
  191. package/package.json +9 -6
@@ -8,7 +8,7 @@
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
10
  import { type ReactNode } from 'react';
11
- import type { ProjectionPoint } from './projection-utils';
11
+ import type { ProjectionPoint } from './projection-utils.js';
12
12
  export interface ProjectionLineConfig {
13
13
  yAxisId: string;
14
14
  data: ProjectionPoint[];
@@ -8,9 +8,9 @@
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
10
  import { Children, Fragment, isValidElement } from 'react';
11
- import { isChartClipPassthrough } from './chart-child-passthrough';
12
- import { projectionDateExtents, projectionValueExtents } from './projection-utils';
13
- import { normalizeYAxisId } from './y-axis-scales';
11
+ import { isChartClipPassthrough } from './chart-child-passthrough.js';
12
+ import { projectionDateExtents, projectionValueExtents } from './projection-utils.js';
13
+ import { normalizeYAxisId } from './y-axis-scales.js';
14
14
  function getChildComponentName(child) {
15
15
  const childType = child.type;
16
16
  return typeof child.type === 'function' ? childType.displayName || childType.name || '' : '';
@@ -1,4 +1,4 @@
1
- import type { ProjectionPoint } from './projection-utils';
1
+ import type { ProjectionPoint } from './projection-utils.js';
2
2
  export interface ProjectionLineEndMarkerProps {
3
3
  data: ProjectionPoint[];
4
4
  yAxisId?: string | number;
@@ -10,7 +10,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
10
10
  * with upstream stays a diff rather than a merge.
11
11
  */
12
12
  import { useCallback } from 'react';
13
- import { useChartStable, useYScale } from './chart-context';
13
+ import { useChartStable, useYScale } from './chart-context.js';
14
14
  /** Renders the projection horizon dot outside the series reveal clip. */
15
15
  export function ProjectionLineEndMarker({ data, yAxisId, stroke = 'var(--chart-3)', strokeOpacity = 1, radius = 5, }) {
16
16
  const { xScale, chartPhase, innerWidth } = useChartStable();
@@ -1,4 +1,4 @@
1
- import { type ProjectionCurveKind, type ProjectionPoint } from './projection-utils';
1
+ import { type ProjectionCurveKind, type ProjectionPoint } from './projection-utils.js';
2
2
  type CurveFactory = any;
3
3
  export type ProjectionStrokeStyle = 'solid' | 'gradient';
4
4
  export interface ProjectionLineProps {
@@ -12,8 +12,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
12
  import { curveLinear } from '@visx/curve';
13
13
  import { LinePath } from '@visx/shape';
14
14
  import { useCallback, useId, useMemo } from 'react';
15
- import { useChartStable, useYScale } from './chart-context';
16
- import { buildHorizontalTangentBezierPath, } from './projection-utils';
15
+ import { useChartStable, useYScale } from './chart-context.js';
16
+ import { buildHorizontalTangentBezierPath, } from './projection-utils.js';
17
17
  function resolveVisibleEndX(endX, innerWidth, endpointRadius, strokeWidth) {
18
18
  const edgePadding = endpointRadius + strokeWidth * 0.5 + 1;
19
19
  return Math.min(endX, Math.max(0, innerWidth - edgePadding));
@@ -8,7 +8,7 @@
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
10
  import { Children, isValidElement } from 'react';
11
- import { normalizeYAxisId } from './y-axis-scales';
11
+ import { normalizeYAxisId } from './y-axis-scales.js';
12
12
  function getChildComponentName(child) {
13
13
  const childType = child.type;
14
14
  return typeof child.type === 'function' ? childType.displayName || childType.name || '' : '';
@@ -1,4 +1,4 @@
1
- import type { ReferenceAreaConfig } from './reference-area-config';
1
+ import type { ReferenceAreaConfig } from './reference-area-config.js';
2
2
  export interface ReferenceAreaRegistrationContextValue {
3
3
  registerReferenceArea: (id: string, config: ReferenceAreaConfig) => void;
4
4
  unregisterReferenceArea: (id: string) => void;
@@ -10,8 +10,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
10
10
  * with upstream stays a diff rather than a merge.
11
11
  */
12
12
  import { memo, useMemo } from 'react';
13
- import { DashTailStroke } from './dash-tail-stroke';
14
- import { resolveDashStartX, resolveDashTailBounds } from './path-stroke-utils';
13
+ import { DashTailStroke } from './dash-tail-stroke.js';
14
+ import { resolveDashStartX, resolveDashTailBounds } from './path-stroke-utils.js';
15
15
  function SeriesDashTailOverlayImpl({ dashFromIndex, dashArray, data, pathD, pathLength, innerWidth, innerHeight, stroke, strokeWidth, xScale, xAccessor, }) {
16
16
  const hasDashTail = resolveDashTailBounds(dashFromIndex, data.length);
17
17
  const dashStartX = useMemo(() => {
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useChartStable } from './chart-context';
4
- import { HighlightSegment } from './highlight-segment';
5
- import { useHighlightSegment } from './use-highlight-segment';
3
+ import { useChartStable } from './chart-context.js';
4
+ import { HighlightSegment } from './highlight-segment.js';
5
+ import { useHighlightSegment } from './use-highlight-segment.js';
6
6
  /**
7
7
  * Self-contained hover-highlight band over a series stroke.
8
8
  *
@@ -10,8 +10,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
10
10
  * with upstream stays a diff rather than a merge.
11
11
  */
12
12
  import { motion } from 'motion/react';
13
- import { useChartHover } from './chart-context';
14
- import { useChartLegendHover } from './chart-legend-hover';
13
+ import { useChartHover } from './chart-context.js';
14
+ import { useChartLegendHover } from './chart-legend-hover.js';
15
15
  /**
16
16
  * Wraps stable series visuals with a hover-driven opacity animation.
17
17
  *
@@ -1,4 +1,4 @@
1
- import { type SeriesPointMarkerStyle } from './series-point-marker';
1
+ import { type SeriesPointMarkerStyle } from './series-point-marker.js';
2
2
  export interface SeriesMarkersProps extends SeriesPointMarkerStyle {
3
3
  dataKey: string;
4
4
  /** Marker fill color. Defaults to series stroke or chart palette color. */
@@ -10,10 +10,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  * with upstream stays a diff rather than a merge.
11
11
  */
12
12
  import { useCallback, useMemo } from 'react';
13
- import { clipRevealTransition } from './animation';
14
- import { defaultScatterColors, useChartHover, useChartStable, useYScale } from './chart-context';
15
- import { useChartLegendHover } from './chart-legend-hover';
16
- import { SeriesPointMarker, StaticSeriesPointMarker, getSeriesMarkerVisualExtent, } from './series-point-marker';
13
+ import { clipRevealTransition } from './animation.js';
14
+ import { defaultScatterColors, useChartHover, useChartStable, useYScale } from './chart-context.js';
15
+ import { useChartLegendHover } from './chart-legend-hover.js';
16
+ import { SeriesPointMarker, StaticSeriesPointMarker, getSeriesMarkerVisualExtent, } from './series-point-marker.js';
17
17
  export function SeriesMarkers({ dataKey, fill, stroke, strokeWidth = 2, ringGap = 2, outlineWidth = 0, outlineColor, radius = 5, animate = true, fadeOnHover = true, inactiveOpacity = 0.5, inactiveBlur = 2, enterBlur = 2, showActiveHighlight = true, }) {
18
18
  // Stable slice only. Hover-driven dim + active-highlight live in the inner
19
19
  // <SeriesMarkersDimWrapper> / <SeriesMarkersActiveHighlight> components, so
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { motion } from 'motion/react';
4
4
  import { memo } from 'react';
5
- import { DEFAULT_CHART_ENTER_TRANSITION } from './animation';
5
+ import { DEFAULT_CHART_ENTER_TRANSITION } from './animation.js';
6
6
  function MarkerCircles({ fill, stroke, strokeWidth, ringGap, outlineWidth, outlineColor, radius, }) {
7
7
  const resolvedStroke = stroke ?? fill ?? 'currentColor';
8
8
  const resolvedOutlineColor = outlineColor ?? resolvedStroke;
@@ -1,7 +1,7 @@
1
1
  import type { Transition } from 'motion/react';
2
2
  import { type ReactNode } from 'react';
3
- import { type LineConfig, type Margin } from './chart-context';
4
- import { type ChartPhase, type ChartStatus } from './chart-phase';
3
+ import { type LineConfig, type Margin } from './chart-context.js';
4
+ import { type ChartPhase, type ChartStatus } from './chart-phase.js';
5
5
  export interface TimeSeriesChartInnerProps {
6
6
  width: number;
7
7
  height: number;
@@ -12,26 +12,26 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
12
  import { scaleLinear, scaleTime } from '@visx/scale';
13
13
  import { bisector, extent } from 'd3-array';
14
14
  import { Children, cloneElement, isValidElement, memo, useCallback, useEffect, useMemo, useState, } from 'react';
15
- import { DEFAULT_ANIMATION_EASING, DEFAULT_CHART_ENTER_TRANSITION } from './animation';
16
- import { isClipExcludedComponent, isPostOverlayComponent, isUnderlayComponent, resolveChartChildElement, } from './chart-child-passthrough';
17
- import { ChartProvider } from './chart-context';
18
- import { isGradientDefComponent, isPatternDefComponent } from './chart-defs';
19
- import { shortDateFmt } from './chart-formatters';
20
- import { DEFAULT_CHART_STATUS, DEFAULT_Y_DOMAIN_TWEEN_MS, isChartInteractionPhase, } from './chart-phase';
21
- import { ChartRevealClip } from './chart-reveal-clip';
22
- import { decimateTimeSeries, maxRenderPointsForWidth } from './decimate-time-series';
23
- import { filterDataByXDomain } from './filter-data-by-x-domain';
24
- import { generateChartSkeletonData, generateChartSkeletonFromTarget, } from './generate-chart-skeleton-data';
25
- import { extractProjectionLineConfigs, mergeProjectionXDomainMax, mergeProjectionYDomain, } from './projection-config';
26
- import { extractReferenceAreaConfigs } from './reference-area-config';
27
- import { ReferenceAreaRegistrationContext } from './reference-area-registration-context';
28
- import { computeSeriesBarRevealClipPadding, computeSeriesBarWidth } from './series-bar-layout';
29
- import { useStaticChartPreview } from './static-chart-preview-context';
30
- import { useAnimatedYDomains } from './use-animated-y-domains';
31
- import { useChartInteraction } from './use-chart-interaction';
32
- import { useChartPhaseOrchestrator } from './use-chart-phase-orchestrator';
33
- import { DEFAULT_Y_AXIS_ID, buildYScalesFromDomains, getPrimaryYScale, groupLinesByYAxisId, } from './y-axis-scales';
34
- import { computeYDomainsByAxis } from './y-domain-utils';
15
+ import { DEFAULT_ANIMATION_EASING, DEFAULT_CHART_ENTER_TRANSITION } from './animation.js';
16
+ import { isClipExcludedComponent, isPostOverlayComponent, isUnderlayComponent, resolveChartChildElement, } from './chart-child-passthrough.js';
17
+ import { ChartProvider } from './chart-context.js';
18
+ import { isGradientDefComponent, isPatternDefComponent } from './chart-defs.js';
19
+ import { shortDateFmt } from './chart-formatters.js';
20
+ import { DEFAULT_CHART_STATUS, DEFAULT_Y_DOMAIN_TWEEN_MS, isChartInteractionPhase, } from './chart-phase.js';
21
+ import { ChartRevealClip } from './chart-reveal-clip.js';
22
+ import { decimateTimeSeries, maxRenderPointsForWidth } from './decimate-time-series.js';
23
+ import { filterDataByXDomain } from './filter-data-by-x-domain.js';
24
+ import { generateChartSkeletonData, generateChartSkeletonFromTarget, } from './generate-chart-skeleton-data.js';
25
+ import { extractProjectionLineConfigs, mergeProjectionXDomainMax, mergeProjectionYDomain, } from './projection-config.js';
26
+ import { extractReferenceAreaConfigs } from './reference-area-config.js';
27
+ import { ReferenceAreaRegistrationContext } from './reference-area-registration-context.js';
28
+ import { computeSeriesBarRevealClipPadding, computeSeriesBarWidth } from './series-bar-layout.js';
29
+ import { useStaticChartPreview } from './static-chart-preview-context.js';
30
+ import { useAnimatedYDomains } from './use-animated-y-domains.js';
31
+ import { useChartInteraction } from './use-chart-interaction.js';
32
+ import { useChartPhaseOrchestrator } from './use-chart-phase-orchestrator.js';
33
+ import { DEFAULT_Y_AXIS_ID, buildYScalesFromDomains, getPrimaryYScale, groupLinesByYAxisId, } from './y-axis-scales.js';
34
+ import { computeYDomainsByAxis } from './y-domain-utils.js';
35
35
  function collectNumericExtents(data, dataKeys) {
36
36
  let minValue = Number.POSITIVE_INFINITY;
37
37
  let maxValue = Number.NEGATIVE_INFINITY;
@@ -1,7 +1,7 @@
1
- import { type SpringConfig } from '../chart-config-context';
2
- import { type LineConfig } from '../chart-context';
3
- import type { IndicatorFadeEdges } from '../indicator-fade';
4
- import { type TooltipRow } from './tooltip-content';
1
+ import { type SpringConfig } from '../chart-config-context.js';
2
+ import { type LineConfig } from '../chart-context.js';
3
+ import type { IndicatorFadeEdges } from '../indicator-fade.js';
4
+ import { type TooltipRow } from './tooltip-content.js';
5
5
  export interface ChartTooltipProps {
6
6
  /** Whether to show the date pill at bottom. Default: true */
7
7
  showDatePill?: boolean;
@@ -12,14 +12,14 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
12
12
  import { motion, useSpring } from 'motion/react';
13
13
  import { memo, useEffect, useMemo, useState } from 'react';
14
14
  import { createPortal } from 'react-dom';
15
- import { resolveTooltipBoxMotion, useChartConfig, } from '../chart-config-context';
16
- import { chartCssVars, useChart, useChartStable } from '../chart-context';
17
- import { weekdayDateFmt } from '../chart-formatters';
18
- import { DateTicker } from './date-ticker';
19
- import { TooltipBox } from './tooltip-box';
20
- import { TooltipContent } from './tooltip-content';
21
- import { TooltipDot } from './tooltip-dot';
22
- import { TooltipIndicator } from './tooltip-indicator';
15
+ import { resolveTooltipBoxMotion, useChartConfig, } from '../chart-config-context.js';
16
+ import { chartCssVars, useChart, useChartStable } from '../chart-context.js';
17
+ import { weekdayDateFmt } from '../chart-formatters.js';
18
+ import { DateTicker } from './date-ticker.js';
19
+ import { TooltipBox } from './tooltip-box.js';
20
+ import { TooltipContent } from './tooltip-content.js';
21
+ import { TooltipDot } from './tooltip-dot.js';
22
+ import { TooltipIndicator } from './tooltip-indicator.js';
23
23
  const ChartTooltipInner = memo(function ChartTooltipInner({ showDatePill = true, showCrosshair = true, showDots = true, dotVariant = 'dot', dotSize = 5, dotRadiusFraction, dotScale = 1, dotStrokeWidth, indicatorColor: indicatorColorProp, content, rows: rowsRenderer, dotColor: dotColorProp, children, className = '', container, springConfig, matchCrosshair = false, damping, indicatorDasharray, indicatorFadeEdges, indicatorFadeLength, boxSpringConfig, panelStyle, backgroundColor, }) {
24
24
  const { tooltipData, width, height, innerHeight, margin, columnWidth, lines, xAccessor, dateLabels, containerRef, orientation, barXAccessor, bandWidth, squareSnap, } = useChart();
25
25
  const { tooltipSpring } = useChartConfig();
@@ -7,9 +7,9 @@
7
7
  * `cn`, which is the same function. Nothing else is modified, so re-syncing
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
- export { ChartTooltip, type ChartTooltipProps } from './chart-tooltip';
11
- export { DateTicker, type DateTickerProps } from './date-ticker';
12
- export { TooltipBox, type TooltipBoxProps } from './tooltip-box';
13
- export { TooltipContent, type TooltipContentProps, type TooltipRow, } from './tooltip-content';
14
- export { TooltipDot, type TooltipDotProps } from './tooltip-dot';
15
- export { type IndicatorWidth, TooltipIndicator, type TooltipIndicatorProps, } from './tooltip-indicator';
10
+ export { ChartTooltip, type ChartTooltipProps } from './chart-tooltip.js';
11
+ export { DateTicker, type DateTickerProps } from './date-ticker.js';
12
+ export { TooltipBox, type TooltipBoxProps } from './tooltip-box.js';
13
+ export { TooltipContent, type TooltipContentProps, type TooltipRow, } from './tooltip-content.js';
14
+ export { TooltipDot, type TooltipDotProps } from './tooltip-dot.js';
15
+ export { type IndicatorWidth, TooltipIndicator, type TooltipIndicatorProps, } from './tooltip-indicator.js';
@@ -7,9 +7,9 @@
7
7
  * `cn`, which is the same function. Nothing else is modified, so re-syncing
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
- export { ChartTooltip } from './chart-tooltip';
11
- export { DateTicker } from './date-ticker';
12
- export { TooltipBox } from './tooltip-box';
13
- export { TooltipContent, } from './tooltip-content';
14
- export { TooltipDot } from './tooltip-dot';
15
- export { TooltipIndicator, } from './tooltip-indicator';
10
+ export { ChartTooltip } from './chart-tooltip.js';
11
+ export { DateTicker } from './date-ticker.js';
12
+ export { TooltipBox } from './tooltip-box.js';
13
+ export { TooltipContent, } from './tooltip-content.js';
14
+ export { TooltipDot } from './tooltip-dot.js';
15
+ export { TooltipIndicator, } from './tooltip-indicator.js';
@@ -9,7 +9,7 @@
9
9
  */
10
10
  import { useSpring } from 'motion/react';
11
11
  import type { RefObject } from 'react';
12
- import { type SpringConfig } from '../chart-config-context';
12
+ import { type SpringConfig } from '../chart-config-context.js';
13
13
  export interface TooltipBoxProps {
14
14
  /** X position in pixels (relative to container) */
15
15
  x: number;
@@ -12,9 +12,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
12
12
  import { motion, useSpring } from 'motion/react';
13
13
  import { useEffect, useLayoutEffect, useRef, useState } from 'react';
14
14
  import { createPortal } from 'react-dom';
15
- import { cn } from '../../../cn';
16
- import { useChartConfig } from '../chart-config-context';
17
- import { chartCssVars } from '../chart-context';
15
+ import { cn } from '../../../cn.js';
16
+ import { useChartConfig } from '../chart-config-context.js';
17
+ import { chartCssVars } from '../chart-context.js';
18
18
  // Inner-only-on-visible so `useSpring` initializes at the cursor's actual x/y
19
19
  // instead of (0, 0) on first hover.
20
20
  export function TooltipBox(props) {
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { intFmt } from '../chart-formatters';
3
+ import { intFmt } from '../chart-formatters.js';
4
4
  export function TooltipContent({ title, rows, children }) {
5
5
  return (_jsx("div", { className: "overflow-hidden", children: _jsxs("div", { className: "px-3 py-2.5", children: [title && (_jsx("div", { className: "mb-2 text-left font-medium text-chart-tooltip-foreground text-xs", children: title })), _jsx("div", { className: "space-y-1.5", children: rows.map((row) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "h-2.5 w-2.5 shrink-0 rounded-full", style: { backgroundColor: row.color } }), _jsx("span", { className: "text-chart-tooltip-muted text-sm", children: row.label })] }), _jsx("span", { className: "font-medium text-chart-tooltip-foreground text-sm tabular-nums", children: typeof row.value === 'number' ? intFmt(row.value) : row.value })] }, `${row.label}-${row.color}`))) }), children && (_jsx("div", { className: "mt-2 transition-opacity duration-200 ease-out", children: children }))] }) }));
6
6
  }
@@ -1,4 +1,4 @@
1
- import { type SpringConfig } from '../chart-config-context';
1
+ import { type SpringConfig } from '../chart-config-context.js';
2
2
  export interface TooltipDotProps {
3
3
  x: number;
4
4
  y: number;
@@ -10,8 +10,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
10
10
  * with upstream stays a diff rather than a merge.
11
11
  */
12
12
  import { motion, useSpring, useTransform } from 'motion/react';
13
- import { useChartConfig } from '../chart-config-context';
14
- import { chartCssVars } from '../chart-context';
13
+ import { useChartConfig } from '../chart-config-context.js';
14
+ import { chartCssVars } from '../chart-context.js';
15
15
  function ringCornerRadius(halfExtent, cornerRadiusFraction) {
16
16
  const side = halfExtent * 2;
17
17
  return side * Math.max(0, Math.min(0.5, cornerRadiusFraction));
@@ -1,5 +1,5 @@
1
- import { type SpringConfig } from '../chart-config-context';
2
- import { type IndicatorFadeEdges } from '../indicator-fade';
1
+ import { type SpringConfig } from '../chart-config-context.js';
2
+ import { type IndicatorFadeEdges } from '../indicator-fade.js';
3
3
  export type IndicatorWidth = number | 'line' | 'thin' | 'medium' | 'thick';
4
4
  export interface TooltipIndicatorProps {
5
5
  /** X position in pixels (center of the indicator) */
@@ -11,9 +11,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  */
12
12
  import { motion, useSpring } from 'motion/react';
13
13
  import { useEffect } from 'react';
14
- import { useChartConfig } from '../chart-config-context';
15
- import { chartCssVars } from '../chart-context';
16
- import { indicatorFadeGradientStops, resolveVerticalFadeSides, } from '../indicator-fade';
14
+ import { useChartConfig } from '../chart-config-context.js';
15
+ import { chartCssVars } from '../chart-context.js';
16
+ import { indicatorFadeGradientStops, resolveVerticalFadeSides, } from '../indicator-fade.js';
17
17
  function resolveWidth(width) {
18
18
  if (typeof width === 'number') {
19
19
  return width;
@@ -10,8 +10,8 @@
10
10
  */
11
11
  import { animate, useReducedMotion } from 'motion/react';
12
12
  import { useEffect, useMemo, useRef, useState } from 'react';
13
- import { LINE_LOADING_PULSE_EASE } from './line-loading-timing';
14
- import { computeSeriesPathPoints, interpolateSeriesPathPoints, seriesPathFromPoints, seriesPathTransitionSignature, } from './series-path-utils';
13
+ import { LINE_LOADING_PULSE_EASE } from './line-loading-timing.js';
14
+ import { computeSeriesPathPoints, interpolateSeriesPathPoints, seriesPathFromPoints, seriesPathTransitionSignature, } from './series-path-utils.js';
15
15
  export function useAnimatedSeriesPath({ renderData, xAccessor, xScale, yScale, dataKey, curve, chartPhase, durationMs, innerWidth, enabled, }) {
16
16
  const reducedMotion = useReducedMotion();
17
17
  const [animatedPoints, setAnimatedPoints] = useState(null);
@@ -1,5 +1,5 @@
1
- import type { ChartPhase } from './chart-phase';
2
- import { type YDomain } from './y-domain-utils';
1
+ import type { ChartPhase } from './chart-phase.js';
2
+ import { type YDomain } from './y-domain-utils.js';
3
3
  export interface UseAnimatedYDomainsOptions {
4
4
  enabled: boolean;
5
5
  durationMs: number;
@@ -10,8 +10,8 @@
10
10
  */
11
11
  import { animate, useReducedMotion } from 'motion/react';
12
12
  import { useEffect, useRef, useState } from 'react';
13
- import { LINE_LOADING_PULSE_EASE } from './line-loading-timing';
14
- import { domainsEqual, isYDomainTweenPhase, resolveAnimatedYDestinationDomains, shouldTweenYDomain, } from './y-domain-utils';
13
+ import { LINE_LOADING_PULSE_EASE } from './line-loading-timing.js';
14
+ import { domainsEqual, isYDomainTweenPhase, resolveAnimatedYDestinationDomains, shouldTweenYDomain, } from './y-domain-utils.js';
15
15
  function lerpDomain(from, to, progress) {
16
16
  return [from[0] + (to[0] - from[0]) * progress, from[1] + (to[1] - from[1]) * progress];
17
17
  }
@@ -1,5 +1,5 @@
1
1
  import type { scaleLinear, scaleTime } from '@visx/scale';
2
- import type { LineConfig, Margin, TooltipData } from './chart-context';
2
+ import type { LineConfig, Margin, TooltipData } from './chart-context.js';
3
3
  type ScaleTime = ReturnType<typeof scaleTime<number>>;
4
4
  type ScaleLinear = ReturnType<typeof scaleLinear<number>>;
5
5
  export interface ChartSelection {
@@ -10,8 +10,8 @@
10
10
  */
11
11
  import { localPoint } from '@visx/event';
12
12
  import { useCallback, useEffect, useRef, useState } from 'react';
13
- import { useScheduledTooltip } from './use-scheduled-tooltip';
14
- import { normalizeYAxisId } from './y-axis-scales';
13
+ import { useScheduledTooltip } from './use-scheduled-tooltip.js';
14
+ import { normalizeYAxisId } from './y-axis-scales.js';
15
15
  export function useChartInteraction({ xScale, yScale, yScales, data, lines, margin, xAccessor, bisectDate, canInteract, }) {
16
16
  const [selection, setSelection] = useState(null);
17
17
  const { tooltipData, setTooltipData, scheduleTooltip, clearTooltip, resetTooltipDedupe } = useScheduledTooltip();
@@ -1,4 +1,4 @@
1
- import { type ChartPhase, type ChartStatus } from './chart-phase';
1
+ import { type ChartPhase, type ChartStatus } from './chart-phase.js';
2
2
  export interface UseChartPhaseOrchestratorOptions {
3
3
  chartStatus: ChartStatus;
4
4
  targetData: Record<string, unknown>[];
@@ -9,7 +9,7 @@
9
9
  * with upstream stays a diff rather than a merge.
10
10
  */
11
11
  import { useCallback, useEffect, useRef, useState } from 'react';
12
- import { resolveRestingChartPhase } from './chart-phase';
12
+ import { resolveRestingChartPhase } from './chart-phase.js';
13
13
  export function useChartPhaseOrchestrator({ chartStatus, targetData, skeletonData, animationDuration, yDomainTweenDuration, revealSignature = '', skipEnterReveal = false, }) {
14
14
  const [chartPhase, setChartPhase] = useState(() => resolveRestingChartPhase(chartStatus));
15
15
  const [plotData, setPlotData] = useState(() => chartStatus === 'loading' ? skeletonData : targetData);
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import { animate, useMotionValue, useReducedMotion, useTransform } from 'motion/react';
12
12
  import { useEffect } from 'react';
13
- import { LINE_LOADING_LOOP_PAUSE_MS, LINE_LOADING_PULSE_CYCLE_S, LINE_LOADING_PULSE_EASE, } from './line-loading-timing';
13
+ import { LINE_LOADING_LOOP_PAUSE_MS, LINE_LOADING_PULSE_CYCLE_S, LINE_LOADING_PULSE_EASE, } from './line-loading-timing.js';
14
14
  export function useGridShimmer({ innerWidth, shimmer, shimmerLength, shimmerSpeed, shimmerSync, active, oneShot = false, }) {
15
15
  const progress = useMotionValue(0);
16
16
  const reducedMotion = useReducedMotion();
@@ -10,9 +10,9 @@
10
10
  */
11
11
  import { useSpring } from 'motion/react';
12
12
  import { useMemo, useRef } from 'react';
13
- import { useChartConfig } from './chart-config-context';
14
- import { useChartHover, useChartStable } from './chart-context';
15
- import { INACTIVE_SEGMENT, computeSegmentBounds } from './highlight-segment-bounds';
13
+ import { useChartConfig } from './chart-config-context.js';
14
+ import { useChartHover, useChartStable } from './chart-context.js';
15
+ import { INACTIVE_SEGMENT, computeSegmentBounds } from './highlight-segment-bounds.js';
16
16
  /**
17
17
  * @param enabled set false when there is no stroke to highlight (e.g. an area
18
18
  * with `showLine={false}`); defaults true.
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import { animate, useMotionValue } from 'motion/react';
12
12
  import { useEffect, useRef } from 'react';
13
- import { DEFAULT_CHART_ENTER_TRANSITION } from './animation';
13
+ import { DEFAULT_CHART_ENTER_TRANSITION } from './animation.js';
14
14
  /** Drives 0→1 enter progress using the studio motion transition (spring or tween). */
15
15
  export function useMountProgress(enterTransition, delaySeconds, replayKey) {
16
16
  const progress = useMotionValue(0);
@@ -11,11 +11,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
11
11
  */
12
12
  import { memo, useEffect, useMemo, useState } from 'react';
13
13
  import { createPortal } from 'react-dom';
14
- import { cn } from '../../cn';
15
- import { useChart, useChartStable } from './chart-context';
16
- import { shortDateFmt } from './chart-formatters';
17
- import { DEFAULT_Y_DOMAIN_TWEEN_MS } from './chart-phase';
18
- import { LINE_LOADING_PULSE_EASE } from './line-loading-timing';
14
+ import { cn } from '../../cn.js';
15
+ import { useChart, useChartStable } from './chart-context.js';
16
+ import { shortDateFmt } from './chart-formatters.js';
17
+ import { DEFAULT_Y_DOMAIN_TWEEN_MS } from './chart-phase.js';
18
+ import { LINE_LOADING_PULSE_EASE } from './line-loading-timing.js';
19
19
  const X_AXIS_POSITION_TWEEN_MS = DEFAULT_Y_DOMAIN_TWEEN_MS;
20
20
  function XAxisLabel({ label, x, crosshairX, hoveredLabel, isHovering, tickerHalfWidth, animatePosition, }) {
21
21
  const fadeBuffer = 20;
@@ -8,7 +8,7 @@
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
10
  import { scaleLinear } from '@visx/scale';
11
- import type { LineConfig } from './chart-context';
11
+ import type { LineConfig } from './chart-context.js';
12
12
  /** Default axis id when `yAxisId` is omitted (Recharts-style `0` / primary left axis). */
13
13
  export declare const DEFAULT_Y_AXIS_ID = "left";
14
14
  export type YAxisOrientation = 'left' | 'right';
@@ -1,5 +1,5 @@
1
- import type { LineConfig } from './chart-context';
2
- import { type ChartPhase } from './chart-phase';
1
+ import type { LineConfig } from './chart-context.js';
2
+ import { type ChartPhase } from './chart-phase.js';
3
3
  export type YDomain = [number, number];
4
4
  /** Apply visx `nice()` to raw domain endpoints for stable grid ticks. */
5
5
  export declare function niceYDomain(domain: YDomain): YDomain;
@@ -8,8 +8,8 @@
8
8
  * with upstream stays a diff rather than a merge.
9
9
  */
10
10
  import { scaleLinear } from '@visx/scale';
11
- import { Y_DOMAIN_TWEEN_SKIP_THRESHOLD } from './chart-phase';
12
- import { groupLinesByYAxisId, normalizeYAxisId } from './y-axis-scales';
11
+ import { Y_DOMAIN_TWEEN_SKIP_THRESHOLD } from './chart-phase.js';
12
+ import { groupLinesByYAxisId, normalizeYAxisId } from './y-axis-scales.js';
13
13
  /** Apply visx `nice()` to raw domain endpoints for stable grid ticks. */
14
14
  export function niceYDomain(domain) {
15
15
  const scale = scaleLinear({ domain, range: [0, 1], nice: true });
@@ -1,2 +1,2 @@
1
- import { type ChartRendererProps } from './registry';
1
+ import { type ChartRendererProps } from './registry.js';
2
2
  export declare function BklitRenderer({ result, visualization, height }: ChartRendererProps): import("react").JSX.Element;
@@ -1,16 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useMemo } from 'react';
3
- import { Area } from './bklit/area';
4
- import { AreaChart } from './bklit/area-chart';
5
- import { Bar } from './bklit/bar';
6
- import { BarChart } from './bklit/bar-chart';
7
- import { Grid } from './bklit/grid';
8
- import { Line } from './bklit/line';
9
- import { LineChart } from './bklit/line-chart';
10
- import { ChartTooltip } from './bklit/tooltip';
11
- import { XAxis } from './bklit/x-axis';
12
- import { CssBarChart, looksLikeTimeSeries } from './css';
13
- import { CHART_COLORS, seriesFrom } from './registry';
3
+ import { AreaChart } from './bklit/area-chart.js';
4
+ import { Area } from './bklit/area.js';
5
+ import { BarChart } from './bklit/bar-chart.js';
6
+ import { Bar } from './bklit/bar.js';
7
+ import { Grid } from './bklit/grid.js';
8
+ import { LineChart } from './bklit/line-chart.js';
9
+ import { Line } from './bklit/line.js';
10
+ import { ChartTooltip } from './bklit/tooltip/index.js';
11
+ import { XAxis } from './bklit/x-axis.js';
12
+ import { CssBarChart, looksLikeTimeSeries } from './css.js';
13
+ import { CHART_COLORS, seriesFrom } from './registry.js';
14
14
  /**
15
15
  * The bklit-ui renderer.
16
16
  *
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useMemo } from 'react';
3
- import { DataTable, renderUnknown } from '../ui/data-table';
4
- import { CssBarChart } from './css';
5
- import { getChartRenderer } from './registry';
6
- import { ChartEmpty } from './skeleton';
3
+ import { DataTable, renderUnknown } from '../ui/data-table.js';
4
+ import { CssBarChart } from './css.js';
5
+ import { getChartRenderer } from './registry.js';
6
+ import { ChartEmpty } from './skeleton.js';
7
7
  export function ChartBody({ result, visualization, height = 200, maxColumns, maxRows, }) {
8
8
  // Held at the chart's own height rather than collapsing to one line, so a
9
9
  // card that matched nothing does not resize the grid around it — and said in
@@ -11,7 +11,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  */
12
12
  import { motion, useReducedMotion } from 'motion/react';
13
13
  import { useCallback } from 'react';
14
- import { cn } from '../../cn';
14
+ import { cn } from '../../cn.js';
15
15
  export function ShimmeringText({ text, duration = 1, isStopped = false, paused = false, className, ...props }) {
16
16
  const reducedMotion = useReducedMotion();
17
17
  const stopped = isStopped || paused || reducedMotion === true;
@@ -1,6 +1,6 @@
1
1
  import type { CatalogQueryResult } from '@dudousxd/nestjs-catalog/client';
2
- import { seriesFrom } from './registry';
3
- import type { ChartRendererProps } from './registry';
2
+ import { seriesFrom } from './registry.js';
3
+ import type { ChartRendererProps } from './registry.js';
4
4
  /**
5
5
  * A bar chart in CSS, not a charting library.
6
6
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { seriesFrom } from './registry';
2
+ import { seriesFrom } from './registry.js';
3
3
  /**
4
4
  * A bar chart in CSS, not a charting library.
5
5
  *