@acronis-platform/ui-react 0.57.1 → 0.60.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 (170) hide show
  1. package/dist/components/ui/area-chart/area-chart.js +177 -0
  2. package/dist/components/ui/area-chart/area-chart.js.map +1 -0
  3. package/dist/components/ui/bar-chart/bar-chart.js +184 -78
  4. package/dist/components/ui/bar-chart/bar-chart.js.map +1 -1
  5. package/dist/components/ui/button-icon-input/button-icon-input.js +36 -0
  6. package/dist/components/ui/button-icon-input/button-icon-input.js.map +1 -0
  7. package/dist/components/ui/button-menu/button-menu.js +1 -1
  8. package/dist/components/ui/button-menu/button-menu.js.map +1 -1
  9. package/dist/components/ui/calendar/calendar.js +17 -15
  10. package/dist/components/ui/calendar/calendar.js.map +1 -1
  11. package/dist/components/ui/card-filter/card-filter.js +40 -27
  12. package/dist/components/ui/card-filter/card-filter.js.map +1 -1
  13. package/dist/components/ui/carousel-dialog/carousel-dialog.js +87 -0
  14. package/dist/components/ui/carousel-dialog/carousel-dialog.js.map +1 -0
  15. package/dist/components/ui/category-bar/category-bar.js +126 -0
  16. package/dist/components/ui/category-bar/category-bar.js.map +1 -0
  17. package/dist/components/ui/chart/chart-format.js +40 -0
  18. package/dist/components/ui/chart/chart-format.js.map +1 -0
  19. package/dist/components/ui/chart/chart.js.map +1 -1
  20. package/dist/components/ui/chart-state/chart-state.js +42 -0
  21. package/dist/components/ui/chart-state/chart-state.js.map +1 -0
  22. package/dist/components/ui/chip/chip.js +13 -13
  23. package/dist/components/ui/chip/chip.js.map +1 -1
  24. package/dist/components/ui/composed-chart/composed-chart.js +135 -0
  25. package/dist/components/ui/composed-chart/composed-chart.js.map +1 -0
  26. package/dist/components/ui/confidence-cone/confidence-cone.js +223 -0
  27. package/dist/components/ui/confidence-cone/confidence-cone.js.map +1 -0
  28. package/dist/components/ui/date-range-picker/date-range-picker.js +21 -21
  29. package/dist/components/ui/date-range-picker/date-range-picker.js.map +1 -1
  30. package/dist/components/ui/dialog/dialog.js +248 -76
  31. package/dist/components/ui/dialog/dialog.js.map +1 -1
  32. package/dist/components/ui/dialog-footer-carousel/dialog-footer-carousel.js +57 -0
  33. package/dist/components/ui/dialog-footer-carousel/dialog-footer-carousel.js.map +1 -0
  34. package/dist/components/ui/dialog-footer-default/dialog-footer-default.js +26 -0
  35. package/dist/components/ui/dialog-footer-default/dialog-footer-default.js.map +1 -0
  36. package/dist/components/ui/dialog-welcome/dialog-welcome.js +272 -0
  37. package/dist/components/ui/dialog-welcome/dialog-welcome.js.map +1 -0
  38. package/dist/components/ui/dropdown-menu/dropdown-menu.js +21 -21
  39. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -1
  40. package/dist/components/ui/filter-search/filter-search.js +91 -90
  41. package/dist/components/ui/filter-search/filter-search.js.map +1 -1
  42. package/dist/components/ui/funnel-chart/funnel-chart.js +87 -0
  43. package/dist/components/ui/funnel-chart/funnel-chart.js.map +1 -0
  44. package/dist/components/ui/histogram/histogram.js +136 -0
  45. package/dist/components/ui/histogram/histogram.js.map +1 -0
  46. package/dist/components/ui/input/input.js.map +1 -1
  47. package/dist/components/ui/input-otp/input-otp.js +104 -0
  48. package/dist/components/ui/input-otp/input-otp.js.map +1 -0
  49. package/dist/components/ui/input-password/input-password.js +120 -0
  50. package/dist/components/ui/input-password/input-password.js.map +1 -0
  51. package/dist/components/ui/input-text/input-text.js +9 -9
  52. package/dist/components/ui/input-text/input-text.js.map +1 -1
  53. package/dist/components/ui/line-chart/line-chart.js +234 -0
  54. package/dist/components/ui/line-chart/line-chart.js.map +1 -0
  55. package/dist/components/ui/link/link.js +5 -5
  56. package/dist/components/ui/link/link.js.map +1 -1
  57. package/dist/components/ui/loading/loading.js +79 -0
  58. package/dist/components/ui/loading/loading.js.map +1 -0
  59. package/dist/components/ui/meter/meter.js +93 -0
  60. package/dist/components/ui/meter/meter.js.map +1 -0
  61. package/dist/components/ui/metric/metric.js +185 -0
  62. package/dist/components/ui/metric/metric.js.map +1 -0
  63. package/dist/components/ui/pie-chart/pie-chart.js +113 -0
  64. package/dist/components/ui/pie-chart/pie-chart.js.map +1 -0
  65. package/dist/components/ui/popover/popover.js +57 -27
  66. package/dist/components/ui/popover/popover.js.map +1 -1
  67. package/dist/components/ui/radar-chart/radar-chart.js +74 -0
  68. package/dist/components/ui/radar-chart/radar-chart.js.map +1 -0
  69. package/dist/components/ui/radial-bar-chart/radial-bar-chart.js +69 -0
  70. package/dist/components/ui/radial-bar-chart/radial-bar-chart.js.map +1 -0
  71. package/dist/components/ui/sankey-chart/sankey-chart.js +192 -0
  72. package/dist/components/ui/sankey-chart/sankey-chart.js.map +1 -0
  73. package/dist/components/ui/scatter-chart/scatter-chart.js +130 -0
  74. package/dist/components/ui/scatter-chart/scatter-chart.js.map +1 -0
  75. package/dist/components/ui/search/search.js +16 -16
  76. package/dist/components/ui/search/search.js.map +1 -1
  77. package/dist/components/ui/sheet/sheet-details.js +16 -16
  78. package/dist/components/ui/sheet/sheet-details.js.map +1 -1
  79. package/dist/components/ui/spinner/spinner.js.map +1 -1
  80. package/dist/components/ui/timeline/timeline.js +175 -0
  81. package/dist/components/ui/timeline/timeline.js.map +1 -0
  82. package/dist/components/ui/toolbar/toolbar.js +82 -92
  83. package/dist/components/ui/toolbar/toolbar.js.map +1 -1
  84. package/dist/components/ui/treemap/treemap.js +83 -0
  85. package/dist/components/ui/treemap/treemap.js.map +1 -0
  86. package/dist/components/ui/trend-indicator/trend-indicator.js +97 -0
  87. package/dist/components/ui/trend-indicator/trend-indicator.js.map +1 -0
  88. package/dist/index.js +461 -400
  89. package/dist/index.js.map +1 -1
  90. package/dist/lib/breakpoints.js +9 -6
  91. package/dist/lib/breakpoints.js.map +1 -1
  92. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +25 -0
  93. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js.map +1 -0
  94. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +36 -0
  95. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +1 -0
  96. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1205 -0
  97. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -0
  98. package/dist/react.js +461 -400
  99. package/dist/react.js.map +1 -1
  100. package/dist/src/components/ui/area-chart/area-chart.d.ts +34 -0
  101. package/dist/src/components/ui/area-chart/index.d.ts +1 -0
  102. package/dist/src/components/ui/avatar/avatar.d.ts +1 -1
  103. package/dist/src/components/ui/bar-chart/bar-chart.d.ts +30 -5
  104. package/dist/src/components/ui/bar-chart/index.d.ts +1 -1
  105. package/dist/src/components/ui/button-icon-input/button-icon-input.d.ts +21 -0
  106. package/dist/src/components/ui/button-icon-input/index.d.ts +1 -0
  107. package/dist/src/components/ui/card-filter/card-filter.d.ts +5 -0
  108. package/dist/src/components/ui/carousel-dialog/carousel-dialog.d.ts +28 -0
  109. package/dist/src/components/ui/carousel-dialog/index.d.ts +1 -0
  110. package/dist/src/components/ui/category-bar/category-bar.d.ts +51 -0
  111. package/dist/src/components/ui/category-bar/index.d.ts +1 -0
  112. package/dist/src/components/ui/chart/__tests__/chart-format.test.d.ts +1 -0
  113. package/dist/src/components/ui/chart/chart-format.d.ts +111 -0
  114. package/dist/src/components/ui/chart/chart.d.ts +2 -0
  115. package/dist/src/components/ui/chart/index.d.ts +3 -1
  116. package/dist/src/components/ui/chart-state/chart-state.d.ts +11 -0
  117. package/dist/src/components/ui/chart-state/index.d.ts +1 -0
  118. package/dist/src/components/ui/composed-chart/composed-chart.d.ts +33 -0
  119. package/dist/src/components/ui/composed-chart/index.d.ts +1 -0
  120. package/dist/src/components/ui/confidence-cone/confidence-cone.d.ts +62 -0
  121. package/dist/src/components/ui/confidence-cone/index.d.ts +1 -0
  122. package/dist/src/components/ui/dialog/dialog.d.ts +105 -9
  123. package/dist/src/components/ui/dialog/dialog.docs.d.ts +82 -5
  124. package/dist/src/components/ui/dialog/index.d.ts +1 -1
  125. package/dist/src/components/ui/dialog-footer-carousel/dialog-footer-carousel.d.ts +9 -0
  126. package/dist/src/components/ui/dialog-footer-carousel/index.d.ts +1 -0
  127. package/dist/src/components/ui/dialog-footer-default/dialog-footer-default.d.ts +11 -0
  128. package/dist/src/components/ui/dialog-footer-default/index.d.ts +1 -0
  129. package/dist/src/components/ui/dialog-welcome/dialog-welcome.d.ts +54 -0
  130. package/dist/src/components/ui/dialog-welcome/dialog-welcome.docs.d.ts +55 -0
  131. package/dist/src/components/ui/dialog-welcome/index.d.ts +1 -0
  132. package/dist/src/components/ui/filter-search/filter-search.d.ts +1 -1
  133. package/dist/src/components/ui/funnel-chart/funnel-chart.d.ts +39 -0
  134. package/dist/src/components/ui/funnel-chart/index.d.ts +1 -0
  135. package/dist/src/components/ui/histogram/histogram.d.ts +40 -0
  136. package/dist/src/components/ui/histogram/index.d.ts +1 -0
  137. package/dist/src/components/ui/input-otp/index.d.ts +1 -0
  138. package/dist/src/components/ui/input-otp/input-otp.d.ts +23 -0
  139. package/dist/src/components/ui/input-password/index.d.ts +1 -0
  140. package/dist/src/components/ui/input-password/input-password.d.ts +21 -0
  141. package/dist/src/components/ui/line-chart/index.d.ts +1 -0
  142. package/dist/src/components/ui/line-chart/line-chart.d.ts +68 -0
  143. package/dist/src/components/ui/loading/index.d.ts +1 -0
  144. package/dist/src/components/ui/loading/loading.d.ts +13 -0
  145. package/dist/src/components/ui/meter/index.d.ts +1 -0
  146. package/dist/src/components/ui/meter/meter.d.ts +25 -0
  147. package/dist/src/components/ui/metric/index.d.ts +1 -0
  148. package/dist/src/components/ui/metric/metric.d.ts +37 -0
  149. package/dist/src/components/ui/pie-chart/index.d.ts +1 -0
  150. package/dist/src/components/ui/pie-chart/pie-chart.d.ts +54 -0
  151. package/dist/src/components/ui/popover/index.d.ts +1 -1
  152. package/dist/src/components/ui/popover/popover.d.ts +13 -1
  153. package/dist/src/components/ui/radar-chart/index.d.ts +1 -0
  154. package/dist/src/components/ui/radar-chart/radar-chart.d.ts +40 -0
  155. package/dist/src/components/ui/radial-bar-chart/index.d.ts +1 -0
  156. package/dist/src/components/ui/radial-bar-chart/radial-bar-chart.d.ts +45 -0
  157. package/dist/src/components/ui/sankey-chart/index.d.ts +2 -0
  158. package/dist/src/components/ui/sankey-chart/sankey-chart.d.ts +69 -0
  159. package/dist/src/components/ui/scatter-chart/index.d.ts +1 -0
  160. package/dist/src/components/ui/scatter-chart/scatter-chart.d.ts +35 -0
  161. package/dist/src/components/ui/stack/stack.d.ts +1 -1
  162. package/dist/src/components/ui/timeline/index.d.ts +1 -0
  163. package/dist/src/components/ui/timeline/timeline.d.ts +41 -0
  164. package/dist/src/components/ui/treemap/index.d.ts +1 -0
  165. package/dist/src/components/ui/treemap/treemap.d.ts +44 -0
  166. package/dist/src/components/ui/trend-indicator/index.d.ts +1 -0
  167. package/dist/src/components/ui/trend-indicator/trend-indicator.d.ts +32 -0
  168. package/dist/src/index.d.ts +27 -2
  169. package/dist/ui-react.css +1 -1
  170. package/package.json +5 -4
@@ -24,4 +24,16 @@ export interface PopoverContentProps extends React.ComponentPropsWithoutRef<type
24
24
  keepMounted?: PopoverPrimitive.Portal.Props['keepMounted'];
25
25
  }
26
26
  declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
27
- export { Popover, PopoverTrigger, PopoverPortal, PopoverContent };
27
+ /**
28
+ * Vertical-rhythm wrapper for a `PopoverContent`'s main content — the `Body`
29
+ * slot in the Figma node. Themed from `--ui-popover-body-*` (gap, padding-y);
30
+ * horizontal inset is a plain utility since the design has no dedicated
31
+ * component token for it.
32
+ */
33
+ declare const PopoverBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
34
+ /**
35
+ * Default action-row footer — the `FooterDefault` (`variant=default`) recipe
36
+ * from the Figma node. Themed from the shared `--ui-footer-*` tier.
37
+ */
38
+ declare const PopoverFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
39
+ export { Popover, PopoverTrigger, PopoverPortal, PopoverContent, PopoverBody, PopoverFooter, };
@@ -0,0 +1 @@
1
+ export { RadarChart, radarChartVariants, type RadarChartProps } from './radar-chart';
@@ -0,0 +1,40 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ChartTooltip, ChartConfig } from '../chart';
3
+ import * as React from 'react';
4
+ declare const radarChartVariants: (props?: ({
5
+ gridType?: "circle" | "polygon" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface RadarChartProps extends Omit<React.ComponentProps<'div'>, 'children'>, VariantProps<typeof radarChartVariants> {
8
+ /** Row-per-axis data. Each object holds the `angleKey` label + one numeric field per series. */
9
+ data: ReadonlyArray<Record<string, string | number>>;
10
+ /**
11
+ * Per-series map of `label` / `color` (imported from the shared `Chart`
12
+ * primitives). Turned into `--color-<key>` custom properties. Series colors
13
+ * are caller-supplied — reference an existing semantic `--ui-*` token; there is
14
+ * no chart palette tier yet.
15
+ */
16
+ config: ChartConfig;
17
+ /** Series to plot — one `<Radar>` per key. Each must exist in `config` and in every data row. */
18
+ dataKeys: string[];
19
+ /** The categorical axis key placed around the web (e.g. `"subject"`). */
20
+ angleKey: string;
21
+ /** Fill opacity of each radar area. */
22
+ fillOpacity?: number;
23
+ /** Stroke width of each radar outline. */
24
+ strokeWidth?: number;
25
+ /** Render a dot at each axis point. */
26
+ showDots?: boolean;
27
+ /** Render the polar grid (the web). */
28
+ showGrid?: boolean;
29
+ showTooltip?: boolean;
30
+ showLegend?: boolean;
31
+ /**
32
+ * Replace the default tooltip. Pass a configured `ChartTooltipContent`
33
+ * (imported from this library) — e.g. with a `formatter` / `labelFormatter` /
34
+ * `indicator` — to customize formatting, per-series rows, or extra fields
35
+ * without composing recharts yourself. Ignored when `showTooltip` is false.
36
+ */
37
+ tooltipContent?: React.ComponentProps<typeof ChartTooltip>['content'];
38
+ }
39
+ declare const RadarChart: React.ForwardRefExoticComponent<Omit<RadarChartProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
40
+ export { RadarChart, radarChartVariants };
@@ -0,0 +1 @@
1
+ export { RadialBarChart, type RadialBarChartProps, } from './radial-bar-chart';
@@ -0,0 +1,45 @@
1
+ import { ChartTooltip, ChartConfig } from '../chart';
2
+ import * as React from 'react';
3
+ export interface RadialBarChartProps extends Omit<React.ComponentProps<'div'>, 'children'> {
4
+ /** Row-per-arc data. Each object holds the arc's `nameKey` label + its `dataKey` numeric value. */
5
+ data: ReadonlyArray<Record<string, string | number>>;
6
+ /**
7
+ * Per-arc map of `label` / `color`, keyed by the arc's `nameKey` value
8
+ * (imported from the shared `Chart` primitives). Turned into `--color-<name>`
9
+ * custom properties. Colors are caller-supplied — reference an existing
10
+ * semantic `--ui-*` token; there is no chart palette tier yet.
11
+ */
12
+ config: ChartConfig;
13
+ /** Numeric field that sizes each arc. */
14
+ dataKey: string;
15
+ /**
16
+ * Label field that names each arc (drives the legend, tooltip, and
17
+ * `--color-<name>` lookup). Values should be unique per chart (arcs sharing a
18
+ * name share one `config`/color entry) and CSS-safe — they become part of a
19
+ * custom-property name.
20
+ */
21
+ nameKey: string;
22
+ /** Inner radius of the innermost arc. */
23
+ innerRadius?: number;
24
+ /** Outer radius of the outermost arc. */
25
+ outerRadius?: number;
26
+ /** Angle (degrees) the arcs sweep from. */
27
+ startAngle?: number;
28
+ /** Angle (degrees) the arcs sweep to (default is a full clockwise circle). */
29
+ endAngle?: number;
30
+ /** Corner radius on each arc's ends. */
31
+ cornerRadius?: number;
32
+ /** Render a muted background track behind each arc. */
33
+ showBackground?: boolean;
34
+ showTooltip?: boolean;
35
+ showLegend?: boolean;
36
+ /**
37
+ * Replace the default tooltip. Pass a configured `ChartTooltipContent`
38
+ * (imported from this library) — e.g. with a `formatter` / `labelFormatter` —
39
+ * to customize formatting, per-arc rows, or extra fields without composing
40
+ * recharts yourself. Ignored when `showTooltip` is false.
41
+ */
42
+ tooltipContent?: React.ComponentProps<typeof ChartTooltip>['content'];
43
+ }
44
+ declare const RadialBarChart: React.ForwardRefExoticComponent<Omit<RadialBarChartProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
45
+ export { RadialBarChart };
@@ -0,0 +1,2 @@
1
+ export { SankeyChart } from './sankey-chart';
2
+ export type { SankeyChartProps, SankeyChartNode, SankeyChartLink, } from './sankey-chart';
@@ -0,0 +1,69 @@
1
+ import { ChartTooltip, ChartConfig } from '../chart';
2
+ import * as React from 'react';
3
+ /** A node in the flow — `name` is its color/config key (CSS-safe, unique). */
4
+ export interface SankeyChartNode {
5
+ name: string;
6
+ }
7
+ /** A directed flow between two nodes, referenced by their index in `nodes`. */
8
+ export interface SankeyChartLink {
9
+ /** Index of the source node in `data.nodes`. */
10
+ source: number;
11
+ /** Index of the target node in `data.nodes`. */
12
+ target: number;
13
+ /** Flow magnitude — drives the link's width. */
14
+ value: number;
15
+ /**
16
+ * Ribbon color (any CSS color, e.g. a `var(--ui-*)` token), rendered at **full
17
+ * opacity** so it matches its node bar. Omit to use the target node's color at
18
+ * 35% (the default tinted ribbon).
19
+ */
20
+ color?: string;
21
+ }
22
+ export interface SankeyChartProps extends Omit<React.ComponentProps<'div'>, 'children'> {
23
+ /** The graph: `nodes` (color keys) + `links` (source/target indices + value). */
24
+ data: {
25
+ nodes: ReadonlyArray<SankeyChartNode>;
26
+ links: ReadonlyArray<SankeyChartLink>;
27
+ };
28
+ /**
29
+ * Per-node map of `label` / `color`, keyed by the node's `name` (imported from
30
+ * the shared `Chart` primitives). Turned into `--color-<name>` custom
31
+ * properties. Colors are caller-supplied — reference an existing semantic
32
+ * `--ui-*` token; there is no chart palette tier yet.
33
+ */
34
+ config: ChartConfig;
35
+ /** Vertical gap between nodes in the same column. */
36
+ nodePadding?: number;
37
+ /** Thickness of each node bar. */
38
+ nodeWidth?: number;
39
+ /** Curviness of the links (0 = straight, 1 = fully curved). */
40
+ linkCurvature?: number;
41
+ /**
42
+ * Sort nodes vertically to minimize link crossings (recharts' relaxation).
43
+ * Defaults to `false` — nodes render in the order given by `data.nodes` within
44
+ * each column, which keeps curated flows tidy; set `true` to auto-order.
45
+ */
46
+ sort?: boolean;
47
+ /** Render each node's label (from `config[name].label`) beside its bar. */
48
+ showLabels?: boolean;
49
+ /** Render a legend (color dot + label + value + % per node) below the chart. */
50
+ showLegend?: boolean;
51
+ /** Show a hover tooltip on nodes and links (dot + `source → target` + value). */
52
+ showTooltip?: boolean;
53
+ /**
54
+ * Replace the default tooltip. Pass a configured `ChartTooltipContent`
55
+ * (imported from this library) — e.g. with a `formatter` / `labelFormatter` —
56
+ * to customize formatting without composing recharts yourself. Ignored when
57
+ * `showTooltip` is false.
58
+ */
59
+ tooltipContent?: React.ComponentProps<typeof ChartTooltip>['content'];
60
+ }
61
+ export declare function makeSankeyTooltip(config: ChartConfig, links: ReadonlyArray<SankeyChartLink>, nodes: ReadonlyArray<SankeyChartNode>): ({ active, payload, }: {
62
+ active?: boolean;
63
+ payload?: ReadonlyArray<{
64
+ name?: string | number;
65
+ value?: number | string | ReadonlyArray<number | string>;
66
+ }>;
67
+ }) => import("react/jsx-runtime").JSX.Element | null;
68
+ declare const SankeyChart: React.ForwardRefExoticComponent<Omit<SankeyChartProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
69
+ export { SankeyChart };
@@ -0,0 +1 @@
1
+ export { ScatterChart, type ScatterChartProps, type ScatterSeries, type ScatterMarkerShape, } from './scatter-chart';
@@ -0,0 +1,35 @@
1
+ import { ChartConfig, CartesianChartProps } from '../chart';
2
+ import * as React from 'react';
3
+ export type ScatterMarkerShape = 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye';
4
+ export interface ScatterSeries {
5
+ /** Series key — must match a `config` entry; drives its `--color-<key>` fill and legend label. */
6
+ key: string;
7
+ /** This series' points — each row holds at least `xKey` and `yKey` (and `zKey` when used). */
8
+ data: ReadonlyArray<Record<string, number>>;
9
+ }
10
+ export interface ScatterChartProps extends Omit<React.ComponentProps<'div'>, 'children'>, CartesianChartProps {
11
+ /** One `<Scatter>` per entry — each with its own point array. Use a single entry for an ungrouped scatter. */
12
+ series: ScatterSeries[];
13
+ /**
14
+ * Per-series map of `label` / `color`, keyed by `series[].key` (imported from
15
+ * the shared `Chart` primitives). Turned into `--color-<key>` custom
16
+ * properties. Colors are caller-supplied — reference an existing semantic
17
+ * `--ui-*` token; there is no chart palette tier yet.
18
+ */
19
+ config: ChartConfig;
20
+ /** Numeric field for the horizontal axis. */
21
+ xKey: string;
22
+ /** Numeric field for the vertical axis. */
23
+ yKey: string;
24
+ /** Unit suffix appended to X-axis tick values (recharts `unit`). */
25
+ xUnit?: string;
26
+ /** Optional numeric field mapped to point size (a bubble chart), via recharts `ZAxis`. */
27
+ zKey?: string;
28
+ /** Point-size range `[min, max]` the `zKey` maps into. Ignored when `zKey` is unset (points use recharts' default size). */
29
+ zRange?: [number, number];
30
+ /** Marker shape for every point. */
31
+ shape?: ScatterMarkerShape;
32
+ showLegend?: boolean;
33
+ }
34
+ declare const ScatterChart: React.ForwardRefExoticComponent<Omit<ScatterChartProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
35
+ export { ScatterChart };
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const stackVariants: (props?: ({
4
4
  direction?: "horizontal" | "vertical" | null | undefined;
5
- gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
5
+ gap?: "none" | "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
6
6
  align?: "center" | "end" | "start" | "stretch" | null | undefined;
7
7
  justify?: "center" | "end" | "start" | "between" | null | undefined;
8
8
  wrap?: boolean | null | undefined;
@@ -0,0 +1 @@
1
+ export { Timeline, TimelineItem, type TimelineProps, type TimelineItemProps, type TimelineStatus, } from './timeline';
@@ -0,0 +1,41 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ declare const timelineVariants: (props?: ({
4
+ size?: "small" | "medium" | null | undefined;
5
+ density?: "compact" | "default" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface TimelineProps extends React.ComponentProps<'ol'>, VariantProps<typeof timelineVariants> {
8
+ /**
9
+ * `Timeline.Item`s — pass them as direct children (the connector auto-hides on
10
+ * the last one). Grouping/headings aren't supported as intervening children.
11
+ */
12
+ children?: React.ReactNode;
13
+ }
14
+ export type TimelineStatus = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'critical';
15
+ export interface TimelineItemProps extends Omit<React.ComponentProps<'li'>, 'title'> {
16
+ /** Event time — pass a `<time dateTime>` for an accessible, machine-readable stamp. */
17
+ timestamp?: React.ReactNode;
18
+ /** Event title (the primary line). */
19
+ title: React.ReactNode;
20
+ /** Optional secondary description. */
21
+ description?: React.ReactNode;
22
+ /** Semantic status — tints the marker (a subtle cue, never large blocks of text). */
23
+ status?: TimelineStatus;
24
+ /** Icon shown in a status-tinted marker badge instead of the plain dot. */
25
+ icon?: React.ReactNode;
26
+ /** Metadata slot under the description — e.g. `Tag`s. */
27
+ metadata?: React.ReactNode;
28
+ /** Actions slot — e.g. a `Link` or `ButtonMenu`. */
29
+ actions?: React.ReactNode;
30
+ /** Emphasize this item as the current one (a ringed marker). */
31
+ current?: boolean;
32
+ /** Dim a non-applicable / inactive item. */
33
+ disabled?: boolean;
34
+ /** Expandable detail composed by the caller — e.g. an `Accordion`. */
35
+ children?: React.ReactNode;
36
+ }
37
+ declare const TimelineItem: React.ForwardRefExoticComponent<Omit<TimelineItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
38
+ declare const Timeline: React.ForwardRefExoticComponent<Omit<TimelineProps, "ref"> & React.RefAttributes<HTMLOListElement>> & {
39
+ Item: React.ForwardRefExoticComponent<Omit<TimelineItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
40
+ };
41
+ export { Timeline, TimelineItem };
@@ -0,0 +1 @@
1
+ export { Treemap, type TreemapProps } from './treemap';
@@ -0,0 +1,44 @@
1
+ import { ChartTooltip, ChartConfig } from '../chart';
2
+ import * as React from 'react';
3
+ interface TreemapCellProps {
4
+ x?: number;
5
+ y?: number;
6
+ width?: number;
7
+ height?: number;
8
+ name?: string;
9
+ showLabels?: boolean;
10
+ }
11
+ export declare function TreemapCell({ x, y, width, height, name, showLabels, }: TreemapCellProps): import("react/jsx-runtime").JSX.Element;
12
+ export interface TreemapProps extends Omit<React.ComponentProps<'div'>, 'children'> {
13
+ /** Row-per-leaf data. Each object holds the leaf's `nameKey` label + its `dataKey` numeric size. */
14
+ data: ReadonlyArray<Record<string, string | number>>;
15
+ /**
16
+ * Per-leaf map of `label` / `color`, keyed by the leaf's `nameKey` value
17
+ * (imported from the shared `Chart` primitives). Turned into `--color-<name>`
18
+ * custom properties. Colors are caller-supplied — reference an existing
19
+ * semantic `--ui-*` token; there is no chart palette tier yet.
20
+ */
21
+ config: ChartConfig;
22
+ /** Numeric field that sizes each leaf's rectangle. */
23
+ dataKey: string;
24
+ /**
25
+ * Label field that names each leaf (drives the on-cell label, tooltip, and
26
+ * `--color-<name>` lookup). Values should be unique and CSS-safe (they become
27
+ * part of a custom-property name).
28
+ */
29
+ nameKey: string;
30
+ /** Width-to-height ratio the tiling targets. */
31
+ aspectRatio?: number;
32
+ /** Render each leaf's name inside its cell (when it fits). */
33
+ showLabels?: boolean;
34
+ showTooltip?: boolean;
35
+ /**
36
+ * Replace the default tooltip. Pass a configured `ChartTooltipContent`
37
+ * (imported from this library) — e.g. with a `formatter` / `labelFormatter` —
38
+ * to customize formatting, per-cell rows, or extra fields without composing
39
+ * recharts yourself. Ignored when `showTooltip` is false.
40
+ */
41
+ tooltipContent?: React.ComponentProps<typeof ChartTooltip>['content'];
42
+ }
43
+ declare const Treemap: React.ForwardRefExoticComponent<Omit<TreemapProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
44
+ export { Treemap };
@@ -0,0 +1 @@
1
+ export { TrendIndicator, trendIndicatorVariants, type TrendIndicatorProps, } from './trend-indicator';
@@ -0,0 +1,32 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ declare const trendIndicatorVariants: (props?: ({
4
+ sentiment?: "neutral" | "positive" | "negative" | null | undefined;
5
+ size?: "small" | "medium" | null | undefined;
6
+ variant?: "inline" | "badge" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ export interface TrendIndicatorProps extends Omit<React.ComponentProps<'span'>, 'children'>, VariantProps<typeof trendIndicatorVariants> {
9
+ /** What changed mathematically — selects the direction glyph. */
10
+ direction: 'up' | 'down' | 'flat';
11
+ /**
12
+ * Already-formatted change to display — e.g. `"12%"`, `"3.5 h"`,
13
+ * `"Improving"`, `"4.2 h → 2.8 h"`. The kit does not format or compute it.
14
+ */
15
+ value?: React.ReactNode;
16
+ /** Secondary comparison caption — e.g. `"vs previous quarter"`, `"YoY"`. */
17
+ comparisonLabel?: React.ReactNode;
18
+ /** Contextual hint shown on hover/focus (Base UI Tooltip). */
19
+ tooltip?: React.ReactNode;
20
+ /** Show the leading direction glyph. Defaults to `true` — color alone isn't enough. */
21
+ showIcon?: boolean;
22
+ /**
23
+ * Accessible sentence describing the trend (e.g. "Revenue increased 12%
24
+ * compared with the previous quarter"). Applied as the element's label via
25
+ * `role="img"`, since the kit can't build a correct, localized sentence from
26
+ * `direction` + `value` alone. Without it, assistive tech reads the visible
27
+ * `value` / `comparisonLabel` text (the glyph is decorative).
28
+ */
29
+ ariaLabel?: string;
30
+ }
31
+ declare const TrendIndicator: React.ForwardRefExoticComponent<Omit<TrendIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
32
+ export { TrendIndicator, trendIndicatorVariants };
@@ -1,10 +1,12 @@
1
1
  export { cn } from './lib/utils';
2
2
  export * from './hooks';
3
+ export * from './lib/breakpoints';
3
4
  export { PortalContainerProvider, usePortalContainer, type PortalContainerProviderProps, } from './lib/portal-container';
4
5
  export * from './components/ui/accordion';
5
6
  export * from './components/ui/alert';
6
7
  export * from './components/ui/app-shell';
7
8
  export * from './components/ui/app-shell-chat';
9
+ export * from './components/ui/area-chart';
8
10
  export * from './components/ui/auth-layout';
9
11
  export * from './components/ui/avatar';
10
12
  export * from './components/ui/bar-chart';
@@ -14,36 +16,56 @@ export * from './components/ui/button-menu';
14
16
  export * from './components/ui/calendar';
15
17
  export * from './components/ui/card';
16
18
  export * from './components/ui/card-filter';
19
+ export * from './components/ui/category-bar';
17
20
  export * from './components/ui/chart';
21
+ export * from './components/ui/chart-state';
18
22
  export * from './components/ui/checkbox';
19
23
  export * from './components/ui/chip';
20
24
  export * from './components/ui/collapsible';
21
25
  export * from './components/ui/combobox';
26
+ export * from './components/ui/composed-chart';
27
+ export * from './components/ui/confidence-cone';
22
28
  export * from './components/ui/data-table';
23
29
  export * from './components/ui/date-range-picker';
24
30
  export * from './components/ui/description-list';
25
- export * from './components/ui/dialog';
31
+ export { Dialog, DialogClose, type DialogProps, type DialogVariant, } from './components/ui/dialog';
32
+ export * from './components/ui/dialog-footer-carousel';
33
+ export * from './components/ui/dialog-footer-default';
34
+ export * from './components/ui/dialog-welcome';
26
35
  export * from './components/ui/dropdown-menu';
27
36
  export * from './components/ui/empty';
28
37
  export * from './components/ui/field';
38
+ export * from './components/ui/funnel-chart';
29
39
  export * from './components/ui/grid';
40
+ export * from './components/ui/histogram';
30
41
  export * from './components/ui/form';
42
+ export * from './components/ui/radar-chart';
43
+ export * from './components/ui/radial-bar-chart';
31
44
  export * from './components/ui/radio';
32
45
  export * from './components/ui/input';
33
46
  export * from './components/ui/input-date-picker';
47
+ export * from './components/ui/input-otp';
48
+ export * from './components/ui/input-password';
34
49
  export * from './components/ui/input-search';
35
50
  export * from './components/ui/input-select';
36
51
  export * from './components/ui/input-text';
37
52
  export * from './components/ui/input-text-area';
38
53
  export * from './components/ui/label';
54
+ export * from './components/ui/line-chart';
39
55
  export * from './components/ui/link';
56
+ export * from './components/ui/loading';
57
+ export * from './components/ui/meter';
58
+ export * from './components/ui/metric';
40
59
  export * from './components/ui/number-field';
41
60
  export * from './components/ui/page-content';
42
61
  export * from './components/ui/page-header';
43
62
  export * from './components/ui/pagination';
63
+ export * from './components/ui/pie-chart';
44
64
  export * from './components/ui/popover';
45
65
  export * from './components/ui/progress';
46
66
  export * from './components/ui/progress-circle';
67
+ export * from './components/ui/sankey-chart';
68
+ export * from './components/ui/scatter-chart';
47
69
  export * from './components/ui/scroll-area';
48
70
  export * from './components/ui/search-global';
49
71
  export { InputText as Input, type InputTextProps as InputProps, } from './components/ui/input-text';
@@ -55,12 +77,12 @@ export * from './components/ui/separator';
55
77
  export * from './components/ui/sheet';
56
78
  export * from './components/ui/skeleton';
57
79
  export * from './components/ui/slider';
58
- export * from './components/ui/spinner';
59
80
  export * from './components/ui/stack';
60
81
  export * from './components/ui/resizable';
61
82
  export * from './components/ui/sidebar-primary';
62
83
  export * from './components/ui/sidebar-secondary';
63
84
  export * from './components/ui/button-icon';
85
+ export * from './components/ui/button-icon-input';
64
86
  export * from './components/ui/filter-search';
65
87
  export * from './components/ui/switch';
66
88
  export * from './components/ui/table';
@@ -70,5 +92,8 @@ export * from './components/ui/toggle-group';
70
92
  export * from './components/ui/toolbar';
71
93
  export * from './components/ui/tooltip';
72
94
  export * from './components/ui/tag';
95
+ export * from './components/ui/timeline';
73
96
  export { Tag as Badge, type TagProps as BadgeProps, } from './components/ui/tag';
97
+ export * from './components/ui/treemap';
98
+ export * from './components/ui/trend-indicator';
74
99
  export * from './components/ui/widget-placeholder';