Update registry

This commit is contained in:
Nate Kelley 2025-07-23 13:02:53 -06:00
parent c505374ce9
commit 0072044595
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@buster/ui-components",
"version": "1.0.0",
"version": "0.0.1",
"description": "Modern, tree-shakeable UI component library for Buster",
"type": "module",
"sideEffects": ["**/*.css", "**/styles/*"],

View File

@ -3,13 +3,13 @@
import { truncateText } from '@/lib/text';
import { isServer } from '@/lib/window';
import { DEFAULT_CHART_THEME } from '@buster/server-shared/metrics';
import { Chart as ChartJS } from 'chart.js';
import {
ArcElement,
BarController,
BarElement,
BubbleController,
CategoryScale,
Chart as ChartJS,
Colors,
DoughnutController,
Legend,

View File

@ -7,7 +7,7 @@ import {
DEFAULT_COLUMN_LABEL_FORMAT,
DEFAULT_COLUMN_SETTINGS,
} from '@buster/server-shared/metrics';
import { Chart, Filler, type Scale, type ScriptableContext } from 'chart.js';
import { Chart as ChartJS, Filler, type Scale, type ScriptableContext } from 'chart.js';
import type { DatasetOption } from '../../../chartHooks';
import { formatLabelForDataset } from '../../../commonHelpers';
import type { ChartProps } from '../../core';
@ -17,7 +17,7 @@ import { createTrendlineOnSeries } from './createTrendlines';
import type { SeriesBuilderProps } from './interfaces';
import type { LabelBuilderProps } from './useSeriesOptions';
Chart.register(Filler);
ChartJS.register(Filler); // Removed to reduce bundle size
const HOVER_RADIUS_MULTIPLIER = 1;