@xenide-io/the-old-ui-theme 0.5.2 → 0.5.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 +47 -34
- package/dist/{index-Od4pIP4F.d.mts → Chip-C5hRFAhe.d.mts} +10 -606
- package/dist/{index-Od4pIP4F.d.ts → Chip-C5hRFAhe.d.ts} +10 -606
- package/dist/{chunk-G53YLHVE.mjs → chunk-E5ZBQYEX.mjs} +59 -9
- package/dist/{chunk-RZXHZWUB.mjs → chunk-SBBKXV35.mjs} +174 -222
- package/dist/index.d.mts +4 -80
- package/dist/index.d.ts +4 -80
- package/dist/index.js +562 -3746
- package/dist/index.mjs +3 -765
- package/dist/suite.d.mts +56 -25
- package/dist/suite.d.ts +56 -25
- package/dist/suite.js +248 -107
- package/dist/suite.mjs +217 -105
- package/dist/ui.d.mts +608 -2
- package/dist/ui.d.ts +608 -2
- package/dist/ui.js +232 -230
- package/dist/ui.mjs +2 -2
- package/package.json +2 -6
- package/scripts/install-theme-dev.sh +60 -0
- package/scripts/sync-posthog-icons.mjs +75 -0
- package/src/app/globals.css +1 -0
- package/src/components/ui/Chip.tsx +36 -18
- package/src/components/ui/CommandPalette.test.tsx +41 -0
- package/src/components/ui/CommandPalette.tsx +58 -9
- package/src/components/ui/DropdownMenu.tsx +50 -11
- package/src/components/ui/SegmentedControl.tsx +2 -1
- package/src/components/ui/SettingsLayout.tsx +19 -5
- package/src/components/ui/ThemeSwitcher.tsx +12 -3
- package/src/components/ui/interaction-primitives.test.tsx +52 -0
- package/src/styles/suite-skin.css +53 -1
- package/src/styles/themes.css +445 -1656
- package/src/suite/components/app-switcher.tsx +32 -25
- package/src/suite/components/command-palette-host.tsx +20 -8
- package/src/suite/components/suite-app-layout.tsx +31 -10
- package/src/suite/components/suite-bottom-nav.tsx +23 -18
- package/src/suite/components/suite-layout.test.tsx +44 -0
- package/src/suite/components/suite-layout.tsx +3 -3
- package/src/suite/components/suite-mobile-drawer.tsx +12 -0
- package/src/suite/components/suite-mobile-header.tsx +15 -9
- package/src/suite/components/suite-notification-bell.tsx +23 -11
- package/src/suite/components/suite-settings-mobile-nav.tsx +2 -0
- package/src/suite/components/suite-sidebar.tsx +54 -43
- package/src/suite/components/suite-user-menu.tsx +54 -26
- package/src/suite/components/today-page-frame.tsx +1 -1
- package/src/suite/icons/app-accents.ts +38 -43
- package/src/suite/icons/glyph-parts.tsx +16 -9
- package/src/suite/icons/glyphs.ts +130 -99
- package/src/suite/lib/apps.ts +1 -1
- package/src/suite/lib/injected.ts +12 -11
- package/src/suite/lib/use-sidebar-width.ts +23 -8
- package/src/components/charts/index.ts +0 -9
- package/src/components/charts/quill/BarChart.tsx +0 -85
- package/src/components/charts/quill/FunnelChart.tsx +0 -49
- package/src/components/charts/quill/InsightShell.tsx +0 -27
- package/src/components/charts/quill/MetricCard.tsx +0 -44
- package/src/components/charts/quill/PieChart.tsx +0 -81
- package/src/components/charts/quill/Sparkline.tsx +0 -57
- package/src/components/charts/quill/TimeSeriesLineChart.tsx +0 -62
- package/src/components/charts/quill/index.ts +0 -9
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Accordion, a as Alert, b as
|
|
1
|
+
import { b9 as IconProps } from './Chip-C5hRFAhe.mjs';
|
|
2
|
+
export { A as Accordion, a as Alert, b as AlertProps, c as AlertStatus, d as AuthCard, e as AuthCardProps, f as AuthDivider, g as AuthDividerProps, h as AuthLayout, i as AuthLayoutProps, j as Avatar, k as AvatarGroup, l as AvatarGroupProps, m as AvatarProps, n as AvatarSize, o as AvatarStatus, B as Badge, p as BadgeProps, q as BadgeSize, r as BadgeVariant, s as Button, t as ButtonChrome, u as ButtonChromeProps, v as ButtonProps, w as ButtonShape, x as ButtonSize, y as ButtonVariant, C as CANONICAL_ICONS, z as Calendar, D as CanonicalIconName, E as Caption, F as Card, G as CardProps, H as CardVariant, I as Checkbox, J as CheckboxProps, K as Chip, L as ChipProps, M as CommandPalette, N as Display, O as Dot, P as DotProps, Q as DropdownAlign, R as DropdownButton, S as DropdownButtonProps, T as DropdownItem, U as DropdownItemProps, V as DropdownMenu, W as DropdownMenuProps, X as DropdownRadioGroup, Y as DropdownRadioGroupProps, Z as DropdownRadioItem, _ as DropdownRadioItemProps, $ as DropdownSide, a0 as EmptyState, a1 as FileUpload, a2 as FileUploadProps, a3 as FilterBar, a4 as FilterBarProps, a5 as FilterChip, a6 as FilterChips, a7 as FilterChipsProps, a8 as FilterMenu, a9 as FilterMenuOption, aa as FilterMenuProps, ab as FormField, ac as FormFieldControlProps, ad as FormFieldProps, ae as H1, af as H2, ag as H3, ah as H4, ai as H5, ao as Icon, aj as IconActivity, ak as IconAliasName, al as IconAreaChart, am as IconArrowDown, an as IconArrowUp, ao as IconBase, ap as IconBell, aq as IconBellOff, ar as IconBolt, as as IconBox, at as IconByName, au as IconCancel, av as IconCheck, aw as IconCheckCircle, ax as IconChevronDown, ay as IconChevronLeft, az as IconChevronRight, aA as IconClipboardEdit, aB as IconClose, aC as IconCodePreview, aD as IconCohort, aE as IconCommandCursor, aF as IconCopy, aG as IconCumulativeChart, aH as IconDataReel, aI as IconDatabase, aJ as IconDownload, aK as IconEdit, aL as IconErrorOutline, aM as IconEventStream, aN as IconExclamation, aO as IconExperimentSplit, aP as IconFeatureGate, aQ as IconFlag, aR as IconFlare, aS as IconFlask, aT as IconGift, aU as IconGridView, aV as IconHandClick, aW as IconHome, aX as IconInfo, aY as IconInsightBoard, aZ as IconLayers, a_ as IconListView, a$ as IconLogout, b0 as IconMail, b1 as IconMoon, b2 as IconName, b3 as IconOldWindow, b4 as IconPanelRight, b5 as IconPerson, b6 as IconPlayCircle, b7 as IconPlus, b8 as IconPremium, ba as IconQueryEditor, bb as IconQueryStack, bc as IconRadar, bd as IconRecording, be as IconReplayFrame, bf as IconRobot, bg as IconRocket, bh as IconSave, bi as IconSearch, bj as IconSelectEvents, bk as IconShoppingCart, bl as IconSpinner, bm as IconStar, bn as IconSubArrowRight, bo as IconSun, bp as IconSurveyCard, bq as IconSurveys, br as IconSync, bs as IconTableChart, bt as IconTerminal, bu as IconToggle, bv as IconTrash, bw as IconTuning, bx as IconUpload, by as IconVolume, bz as IconVolumeOff, bA as Input, bB as InputProps, bC as InputSize, bD as InputVariant, bE as Label, bF as Lead, bG as Link, bH as LinkProps, bI as Loader, bJ as LoaderProps, bK as LoaderSize, bL as LoaderVariant, bM as LoadingState, bN as LoadingStateProps, bO as Modal, bP as ModalProps, bQ as ModalSize, bR as Mono, bS as OLD_UI_ICONS, bT as Overline, bU as P, bV as PH_ICONS, bW as PH_ICON_ALIASES, bX as Panel, bY as PanelProps, bZ as Progress, b_ as ProgressProps, b$ as Radio, c0 as RadioProps, c5 as SearchInput, c6 as SearchInputProps, c7 as SegmentedControl, c8 as Select, c9 as SelectProps, ca as SettingsLayout, cb as SettingsLayoutProps, cc as SettingsNav, cd as SettingsNavGroup, ce as SettingsNavItem, cf as SettingsNavProps, cg as Skeleton, ch as SkeletonProps, ci as SkeletonShape, cj as Small, ck as SortMenu, cl as SortMenuProps, cm as Spinner, cn as SpinnerProps, co as Stat, cp as StatProps, cq as StatTone, cr as Table, cs as TableColumn, ct as TableProps, cu as Textarea, cv as TextareaProps, cw as Toggle, cx as ToggleProps, cy as Tooltip, cz as TooltipAlign, cA as TooltipProps, cB as TooltipProvider, cC as TooltipProviderProps, cD as TooltipSide } from './Chip-C5hRFAhe.mjs';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import '@radix-ui/react-dropdown-menu';
|
|
@@ -14,7 +14,7 @@ declare function createIconBase({ name, viewBox, paths }: IconBaseDefinition): r
|
|
|
14
14
|
/** Shorthand for single-path filled icons. */
|
|
15
15
|
declare function createIconBasePath(d: string, viewBox?: string, name?: string): react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
|
|
16
16
|
|
|
17
|
-
type ThemeId = "hedgehog-light" | "hedgehog-dark" | "
|
|
17
|
+
type ThemeId = "hedgehog-light" | "hedgehog-dark" | "note" | "note-dark" | "turtletime" | "turtletime-dark" | "rosepine-light" | "rosepine-dark" | "kraken-light" | "kraken-dark" | "deepsea-light" | "deepsea-dark" | "malibu-light" | "malibu-dark";
|
|
18
18
|
interface ThemeDefinition {
|
|
19
19
|
id: ThemeId;
|
|
20
20
|
name: string;
|
|
@@ -34,80 +34,4 @@ declare const THEME_INIT_SCRIPT: string;
|
|
|
34
34
|
declare function persistTheme(themeId: string): void;
|
|
35
35
|
declare function readStoredTheme(): string;
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
key: string;
|
|
39
|
-
label: string;
|
|
40
|
-
data: number[];
|
|
41
|
-
color?: string;
|
|
42
|
-
}
|
|
43
|
-
interface TimeSeriesLineChartProps {
|
|
44
|
-
series: TimeSeriesLineChartSeries[];
|
|
45
|
-
labels: string[];
|
|
46
|
-
className?: string;
|
|
47
|
-
showGrid?: boolean;
|
|
48
|
-
showCrosshair?: boolean;
|
|
49
|
-
height?: number;
|
|
50
|
-
}
|
|
51
|
-
declare function TimeSeriesLineChart({ series, labels, className, showGrid, showCrosshair, height, }: TimeSeriesLineChartProps): react.JSX.Element;
|
|
52
|
-
|
|
53
|
-
interface BarChartSeries {
|
|
54
|
-
key: string;
|
|
55
|
-
label: string;
|
|
56
|
-
data: number[];
|
|
57
|
-
color?: string;
|
|
58
|
-
}
|
|
59
|
-
interface BarChartProps {
|
|
60
|
-
series: BarChartSeries[];
|
|
61
|
-
labels: string[];
|
|
62
|
-
className?: string;
|
|
63
|
-
height?: number;
|
|
64
|
-
}
|
|
65
|
-
declare function BarChart({ series, labels, className, height }: BarChartProps): react.JSX.Element;
|
|
66
|
-
|
|
67
|
-
interface PieChartSlice {
|
|
68
|
-
key: string;
|
|
69
|
-
label: string;
|
|
70
|
-
value: number;
|
|
71
|
-
color?: string;
|
|
72
|
-
}
|
|
73
|
-
interface PieChartProps {
|
|
74
|
-
slices: PieChartSlice[];
|
|
75
|
-
className?: string;
|
|
76
|
-
size?: number;
|
|
77
|
-
}
|
|
78
|
-
declare function PieChart({ slices, className, size }: PieChartProps): react.JSX.Element;
|
|
79
|
-
|
|
80
|
-
interface SparklineProps {
|
|
81
|
-
data: number[];
|
|
82
|
-
color?: string;
|
|
83
|
-
className?: string;
|
|
84
|
-
width?: number;
|
|
85
|
-
height?: number;
|
|
86
|
-
strokeWidth?: number;
|
|
87
|
-
}
|
|
88
|
-
declare function Sparkline({ data, color, className, width, height, strokeWidth, }: SparklineProps): react.JSX.Element | null;
|
|
89
|
-
|
|
90
|
-
interface MetricCardProps {
|
|
91
|
-
value: string | number;
|
|
92
|
-
label: string;
|
|
93
|
-
change?: {
|
|
94
|
-
value: number;
|
|
95
|
-
positive?: boolean;
|
|
96
|
-
};
|
|
97
|
-
sparklineData?: number[];
|
|
98
|
-
icon?: ReactNode;
|
|
99
|
-
className?: string;
|
|
100
|
-
}
|
|
101
|
-
declare function MetricCard({ value, label, change, sparklineData, icon, className, }: MetricCardProps): react.JSX.Element;
|
|
102
|
-
|
|
103
|
-
interface FunnelStep {
|
|
104
|
-
label: string;
|
|
105
|
-
count: number;
|
|
106
|
-
}
|
|
107
|
-
interface FunnelChartProps {
|
|
108
|
-
steps: FunnelStep[];
|
|
109
|
-
className?: string;
|
|
110
|
-
}
|
|
111
|
-
declare function FunnelChart({ steps, className }: FunnelChartProps): react.JSX.Element;
|
|
112
|
-
|
|
113
|
-
export { BarChart, type BarChartProps, type BarChartSeries, DEFAULT_THEME_ID, FunnelChart, type FunnelChartProps, type FunnelStep, IconProps, MetricCard, type MetricCardProps, PieChart, type PieChartProps, type PieChartSlice, Sparkline, type SparklineProps, THEMES, THEME_GROUPS, THEME_INIT_SCRIPT, type ThemeDefinition, type ThemeId, TimeSeriesLineChart, type TimeSeriesLineChartProps, type TimeSeriesLineChartSeries, createIconBase, createIconBasePath, getTheme, isThemeId, persistTheme, readStoredTheme };
|
|
37
|
+
export { DEFAULT_THEME_ID, IconProps, THEMES, THEME_GROUPS, THEME_INIT_SCRIPT, type ThemeDefinition, type ThemeId, createIconBase, createIconBasePath, getTheme, isThemeId, persistTheme, readStoredTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Accordion, a as Alert, b as
|
|
1
|
+
import { b9 as IconProps } from './Chip-C5hRFAhe.js';
|
|
2
|
+
export { A as Accordion, a as Alert, b as AlertProps, c as AlertStatus, d as AuthCard, e as AuthCardProps, f as AuthDivider, g as AuthDividerProps, h as AuthLayout, i as AuthLayoutProps, j as Avatar, k as AvatarGroup, l as AvatarGroupProps, m as AvatarProps, n as AvatarSize, o as AvatarStatus, B as Badge, p as BadgeProps, q as BadgeSize, r as BadgeVariant, s as Button, t as ButtonChrome, u as ButtonChromeProps, v as ButtonProps, w as ButtonShape, x as ButtonSize, y as ButtonVariant, C as CANONICAL_ICONS, z as Calendar, D as CanonicalIconName, E as Caption, F as Card, G as CardProps, H as CardVariant, I as Checkbox, J as CheckboxProps, K as Chip, L as ChipProps, M as CommandPalette, N as Display, O as Dot, P as DotProps, Q as DropdownAlign, R as DropdownButton, S as DropdownButtonProps, T as DropdownItem, U as DropdownItemProps, V as DropdownMenu, W as DropdownMenuProps, X as DropdownRadioGroup, Y as DropdownRadioGroupProps, Z as DropdownRadioItem, _ as DropdownRadioItemProps, $ as DropdownSide, a0 as EmptyState, a1 as FileUpload, a2 as FileUploadProps, a3 as FilterBar, a4 as FilterBarProps, a5 as FilterChip, a6 as FilterChips, a7 as FilterChipsProps, a8 as FilterMenu, a9 as FilterMenuOption, aa as FilterMenuProps, ab as FormField, ac as FormFieldControlProps, ad as FormFieldProps, ae as H1, af as H2, ag as H3, ah as H4, ai as H5, ao as Icon, aj as IconActivity, ak as IconAliasName, al as IconAreaChart, am as IconArrowDown, an as IconArrowUp, ao as IconBase, ap as IconBell, aq as IconBellOff, ar as IconBolt, as as IconBox, at as IconByName, au as IconCancel, av as IconCheck, aw as IconCheckCircle, ax as IconChevronDown, ay as IconChevronLeft, az as IconChevronRight, aA as IconClipboardEdit, aB as IconClose, aC as IconCodePreview, aD as IconCohort, aE as IconCommandCursor, aF as IconCopy, aG as IconCumulativeChart, aH as IconDataReel, aI as IconDatabase, aJ as IconDownload, aK as IconEdit, aL as IconErrorOutline, aM as IconEventStream, aN as IconExclamation, aO as IconExperimentSplit, aP as IconFeatureGate, aQ as IconFlag, aR as IconFlare, aS as IconFlask, aT as IconGift, aU as IconGridView, aV as IconHandClick, aW as IconHome, aX as IconInfo, aY as IconInsightBoard, aZ as IconLayers, a_ as IconListView, a$ as IconLogout, b0 as IconMail, b1 as IconMoon, b2 as IconName, b3 as IconOldWindow, b4 as IconPanelRight, b5 as IconPerson, b6 as IconPlayCircle, b7 as IconPlus, b8 as IconPremium, ba as IconQueryEditor, bb as IconQueryStack, bc as IconRadar, bd as IconRecording, be as IconReplayFrame, bf as IconRobot, bg as IconRocket, bh as IconSave, bi as IconSearch, bj as IconSelectEvents, bk as IconShoppingCart, bl as IconSpinner, bm as IconStar, bn as IconSubArrowRight, bo as IconSun, bp as IconSurveyCard, bq as IconSurveys, br as IconSync, bs as IconTableChart, bt as IconTerminal, bu as IconToggle, bv as IconTrash, bw as IconTuning, bx as IconUpload, by as IconVolume, bz as IconVolumeOff, bA as Input, bB as InputProps, bC as InputSize, bD as InputVariant, bE as Label, bF as Lead, bG as Link, bH as LinkProps, bI as Loader, bJ as LoaderProps, bK as LoaderSize, bL as LoaderVariant, bM as LoadingState, bN as LoadingStateProps, bO as Modal, bP as ModalProps, bQ as ModalSize, bR as Mono, bS as OLD_UI_ICONS, bT as Overline, bU as P, bV as PH_ICONS, bW as PH_ICON_ALIASES, bX as Panel, bY as PanelProps, bZ as Progress, b_ as ProgressProps, b$ as Radio, c0 as RadioProps, c5 as SearchInput, c6 as SearchInputProps, c7 as SegmentedControl, c8 as Select, c9 as SelectProps, ca as SettingsLayout, cb as SettingsLayoutProps, cc as SettingsNav, cd as SettingsNavGroup, ce as SettingsNavItem, cf as SettingsNavProps, cg as Skeleton, ch as SkeletonProps, ci as SkeletonShape, cj as Small, ck as SortMenu, cl as SortMenuProps, cm as Spinner, cn as SpinnerProps, co as Stat, cp as StatProps, cq as StatTone, cr as Table, cs as TableColumn, ct as TableProps, cu as Textarea, cv as TextareaProps, cw as Toggle, cx as ToggleProps, cy as Tooltip, cz as TooltipAlign, cA as TooltipProps, cB as TooltipProvider, cC as TooltipProviderProps, cD as TooltipSide } from './Chip-C5hRFAhe.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import '@radix-ui/react-dropdown-menu';
|
|
@@ -14,7 +14,7 @@ declare function createIconBase({ name, viewBox, paths }: IconBaseDefinition): r
|
|
|
14
14
|
/** Shorthand for single-path filled icons. */
|
|
15
15
|
declare function createIconBasePath(d: string, viewBox?: string, name?: string): react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
|
|
16
16
|
|
|
17
|
-
type ThemeId = "hedgehog-light" | "hedgehog-dark" | "
|
|
17
|
+
type ThemeId = "hedgehog-light" | "hedgehog-dark" | "note" | "note-dark" | "turtletime" | "turtletime-dark" | "rosepine-light" | "rosepine-dark" | "kraken-light" | "kraken-dark" | "deepsea-light" | "deepsea-dark" | "malibu-light" | "malibu-dark";
|
|
18
18
|
interface ThemeDefinition {
|
|
19
19
|
id: ThemeId;
|
|
20
20
|
name: string;
|
|
@@ -34,80 +34,4 @@ declare const THEME_INIT_SCRIPT: string;
|
|
|
34
34
|
declare function persistTheme(themeId: string): void;
|
|
35
35
|
declare function readStoredTheme(): string;
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
key: string;
|
|
39
|
-
label: string;
|
|
40
|
-
data: number[];
|
|
41
|
-
color?: string;
|
|
42
|
-
}
|
|
43
|
-
interface TimeSeriesLineChartProps {
|
|
44
|
-
series: TimeSeriesLineChartSeries[];
|
|
45
|
-
labels: string[];
|
|
46
|
-
className?: string;
|
|
47
|
-
showGrid?: boolean;
|
|
48
|
-
showCrosshair?: boolean;
|
|
49
|
-
height?: number;
|
|
50
|
-
}
|
|
51
|
-
declare function TimeSeriesLineChart({ series, labels, className, showGrid, showCrosshair, height, }: TimeSeriesLineChartProps): react.JSX.Element;
|
|
52
|
-
|
|
53
|
-
interface BarChartSeries {
|
|
54
|
-
key: string;
|
|
55
|
-
label: string;
|
|
56
|
-
data: number[];
|
|
57
|
-
color?: string;
|
|
58
|
-
}
|
|
59
|
-
interface BarChartProps {
|
|
60
|
-
series: BarChartSeries[];
|
|
61
|
-
labels: string[];
|
|
62
|
-
className?: string;
|
|
63
|
-
height?: number;
|
|
64
|
-
}
|
|
65
|
-
declare function BarChart({ series, labels, className, height }: BarChartProps): react.JSX.Element;
|
|
66
|
-
|
|
67
|
-
interface PieChartSlice {
|
|
68
|
-
key: string;
|
|
69
|
-
label: string;
|
|
70
|
-
value: number;
|
|
71
|
-
color?: string;
|
|
72
|
-
}
|
|
73
|
-
interface PieChartProps {
|
|
74
|
-
slices: PieChartSlice[];
|
|
75
|
-
className?: string;
|
|
76
|
-
size?: number;
|
|
77
|
-
}
|
|
78
|
-
declare function PieChart({ slices, className, size }: PieChartProps): react.JSX.Element;
|
|
79
|
-
|
|
80
|
-
interface SparklineProps {
|
|
81
|
-
data: number[];
|
|
82
|
-
color?: string;
|
|
83
|
-
className?: string;
|
|
84
|
-
width?: number;
|
|
85
|
-
height?: number;
|
|
86
|
-
strokeWidth?: number;
|
|
87
|
-
}
|
|
88
|
-
declare function Sparkline({ data, color, className, width, height, strokeWidth, }: SparklineProps): react.JSX.Element | null;
|
|
89
|
-
|
|
90
|
-
interface MetricCardProps {
|
|
91
|
-
value: string | number;
|
|
92
|
-
label: string;
|
|
93
|
-
change?: {
|
|
94
|
-
value: number;
|
|
95
|
-
positive?: boolean;
|
|
96
|
-
};
|
|
97
|
-
sparklineData?: number[];
|
|
98
|
-
icon?: ReactNode;
|
|
99
|
-
className?: string;
|
|
100
|
-
}
|
|
101
|
-
declare function MetricCard({ value, label, change, sparklineData, icon, className, }: MetricCardProps): react.JSX.Element;
|
|
102
|
-
|
|
103
|
-
interface FunnelStep {
|
|
104
|
-
label: string;
|
|
105
|
-
count: number;
|
|
106
|
-
}
|
|
107
|
-
interface FunnelChartProps {
|
|
108
|
-
steps: FunnelStep[];
|
|
109
|
-
className?: string;
|
|
110
|
-
}
|
|
111
|
-
declare function FunnelChart({ steps, className }: FunnelChartProps): react.JSX.Element;
|
|
112
|
-
|
|
113
|
-
export { BarChart, type BarChartProps, type BarChartSeries, DEFAULT_THEME_ID, FunnelChart, type FunnelChartProps, type FunnelStep, IconProps, MetricCard, type MetricCardProps, PieChart, type PieChartProps, type PieChartSlice, Sparkline, type SparklineProps, THEMES, THEME_GROUPS, THEME_INIT_SCRIPT, type ThemeDefinition, type ThemeId, TimeSeriesLineChart, type TimeSeriesLineChartProps, type TimeSeriesLineChartSeries, createIconBase, createIconBasePath, getTheme, isThemeId, persistTheme, readStoredTheme };
|
|
37
|
+
export { DEFAULT_THEME_ID, IconProps, THEMES, THEME_GROUPS, THEME_INIT_SCRIPT, type ThemeDefinition, type ThemeId, createIconBase, createIconBasePath, getTheme, isThemeId, persistTheme, readStoredTheme };
|