@altertable/data-app-react 0.72.0 → 0.74.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/README.md +3 -7
  2. package/dist/chunks/SectionHeading-DYRGGLUr.js +7987 -0
  3. package/dist/chunks/SectionHeading-DYRGGLUr.js.map +1 -0
  4. package/dist/index.js +1009 -2848
  5. package/dist/index.js.map +1 -23
  6. package/dist/types/chunks/date-formatting.d.ts +864 -0
  7. package/dist/types/index.d.ts +749 -78
  8. package/dist/types/ui/index.d.ts +591 -111
  9. package/dist/ui/index.js +2853 -3403
  10. package/dist/ui/index.js.map +1 -36
  11. package/package.json +7 -6
  12. package/dist/chunks/index-xwy62xrb.js +0 -16996
  13. package/dist/chunks/index-xwy62xrb.js.map +0 -120
  14. package/dist/types/actions.d.ts +0 -53
  15. package/dist/types/annotations/AnnotationBar.d.ts +0 -30
  16. package/dist/types/annotations/AnnotationControls.d.ts +0 -10
  17. package/dist/types/annotations/AnnotationEditor.d.ts +0 -16
  18. package/dist/types/annotations/AnnotationMarkers.d.ts +0 -19
  19. package/dist/types/annotations/AnnotationSelectionLayer.d.ts +0 -12
  20. package/dist/types/annotations/AnnotationTarget.d.ts +0 -9
  21. package/dist/types/annotations/AnnotationTooltip.d.ts +0 -9
  22. package/dist/types/annotations/AnnotationTrigger.d.ts +0 -10
  23. package/dist/types/annotations/annotation-editor-state.d.ts +0 -58
  24. package/dist/types/annotations/annotation-screenshot.d.ts +0 -4
  25. package/dist/types/annotations/annotation-targets.d.ts +0 -34
  26. package/dist/types/annotations/getAnnotationProps.d.ts +0 -17
  27. package/dist/types/annotations/styles.d.ts +0 -3
  28. package/dist/types/annotations/useAnnotationGeometry.d.ts +0 -22
  29. package/dist/types/annotations/useDataAppAnnotations.d.ts +0 -22
  30. package/dist/types/app-context.d.ts +0 -3
  31. package/dist/types/bindings.d.ts +0 -169
  32. package/dist/types/content.d.ts +0 -36
  33. package/dist/types/date-formatting.d.ts +0 -12
  34. package/dist/types/details.d.ts +0 -46
  35. package/dist/types/exploration.d.ts +0 -44
  36. package/dist/types/hooks.d.ts +0 -114
  37. package/dist/types/injectStyles.d.ts +0 -7
  38. package/dist/types/mount.d.ts +0 -13
  39. package/dist/types/search-suggestions.d.ts +0 -8
  40. package/dist/types/source-owner.d.ts +0 -2
  41. package/dist/types/style-contract.d.ts +0 -88
  42. package/dist/types/style-validation.d.ts +0 -2
  43. package/dist/types/styles.d.ts +0 -8
  44. package/dist/types/ui/AboutData.d.ts +0 -73
  45. package/dist/types/ui/AltertableLogo.d.ts +0 -3
  46. package/dist/types/ui/AppFooter.d.ts +0 -6
  47. package/dist/types/ui/AppHeader.d.ts +0 -10
  48. package/dist/types/ui/AppLayout.d.ts +0 -10
  49. package/dist/types/ui/AppScope.d.ts +0 -7
  50. package/dist/types/ui/AppToolbar.d.ts +0 -30
  51. package/dist/types/ui/AreaChart.d.ts +0 -7
  52. package/dist/types/ui/BarChart.d.ts +0 -6
  53. package/dist/types/ui/Breakdown.d.ts +0 -13
  54. package/dist/types/ui/Button.d.ts +0 -12
  55. package/dist/types/ui/ChartLegend.d.ts +0 -32
  56. package/dist/types/ui/Checkbox.d.ts +0 -21
  57. package/dist/types/ui/CheckboxGroup.d.ts +0 -7
  58. package/dist/types/ui/ChoicePicker.d.ts +0 -39
  59. package/dist/types/ui/Comparison.d.ts +0 -14
  60. package/dist/types/ui/ComposedChart.d.ts +0 -41
  61. package/dist/types/ui/ComposedChartLegend.d.ts +0 -9
  62. package/dist/types/ui/ContentSkeleton.d.ts +0 -7
  63. package/dist/types/ui/DataApp.d.ts +0 -24
  64. package/dist/types/ui/DataAppFrame.d.ts +0 -52
  65. package/dist/types/ui/DataBoundary.d.ts +0 -14
  66. package/dist/types/ui/DataSection.d.ts +0 -14
  67. package/dist/types/ui/DataSectionBoundary.d.ts +0 -30
  68. package/dist/types/ui/DataTable.d.ts +0 -29
  69. package/dist/types/ui/DataValue.d.ts +0 -9
  70. package/dist/types/ui/DataViewToast.d.ts +0 -11
  71. package/dist/types/ui/DataWidget.d.ts +0 -37
  72. package/dist/types/ui/DateDisplay.d.ts +0 -9
  73. package/dist/types/ui/DateRangePicker.d.ts +0 -30
  74. package/dist/types/ui/DateTimeTooltip.d.ts +0 -10
  75. package/dist/types/ui/DimensionPicker.d.ts +0 -14
  76. package/dist/types/ui/EmptyState.d.ts +0 -6
  77. package/dist/types/ui/ExplorationActionControl.d.ts +0 -60
  78. package/dist/types/ui/ExportControl.d.ts +0 -4
  79. package/dist/types/ui/FilterActions.d.ts +0 -10
  80. package/dist/types/ui/FilterBar.d.ts +0 -3
  81. package/dist/types/ui/FunnelChart.d.ts +0 -20
  82. package/dist/types/ui/GettingStarted.d.ts +0 -6
  83. package/dist/types/ui/GlossaryDefinition.d.ts +0 -7
  84. package/dist/types/ui/GlossaryExplanation.d.ts +0 -16
  85. package/dist/types/ui/GradientScroll.d.ts +0 -23
  86. package/dist/types/ui/Grid.d.ts +0 -12
  87. package/dist/types/ui/GridItem.d.ts +0 -7
  88. package/dist/types/ui/HelpPopover.d.ts +0 -21
  89. package/dist/types/ui/IconButton.d.ts +0 -19
  90. package/dist/types/ui/InspectionContext.d.ts +0 -12
  91. package/dist/types/ui/InspectionProvider.d.ts +0 -29
  92. package/dist/types/ui/JourneyChart.d.ts +0 -10
  93. package/dist/types/ui/Kbd.d.ts +0 -7
  94. package/dist/types/ui/LineChart.d.ts +0 -7
  95. package/dist/types/ui/LiveControl.d.ts +0 -10
  96. package/dist/types/ui/Menu.d.ts +0 -13
  97. package/dist/types/ui/MetricWidget.d.ts +0 -51
  98. package/dist/types/ui/NumberField.d.ts +0 -27
  99. package/dist/types/ui/NumberFilterPicker.d.ts +0 -11
  100. package/dist/types/ui/PeriodSummary.d.ts +0 -17
  101. package/dist/types/ui/PickerField.d.ts +0 -23
  102. package/dist/types/ui/PieChart.d.ts +0 -11
  103. package/dist/types/ui/PopoverSurface.d.ts +0 -5
  104. package/dist/types/ui/PresentStory.d.ts +0 -30
  105. package/dist/types/ui/QueryList.d.ts +0 -14
  106. package/dist/types/ui/RadioGroup.d.ts +0 -18
  107. package/dist/types/ui/Ranking.d.ts +0 -13
  108. package/dist/types/ui/RefreshControl.d.ts +0 -9
  109. package/dist/types/ui/RequestHint.d.ts +0 -20
  110. package/dist/types/ui/RetentionChart.d.ts +0 -27
  111. package/dist/types/ui/ScatterChart.d.ts +0 -17
  112. package/dist/types/ui/SearchField.d.ts +0 -23
  113. package/dist/types/ui/SearchInput.d.ts +0 -10
  114. package/dist/types/ui/SearchMatch.d.ts +0 -6
  115. package/dist/types/ui/SearchTypeahead.d.ts +0 -15
  116. package/dist/types/ui/SectionHeading.d.ts +0 -8
  117. package/dist/types/ui/Select.d.ts +0 -22
  118. package/dist/types/ui/SelectionMark.d.ts +0 -5
  119. package/dist/types/ui/Sheet.d.ts +0 -21
  120. package/dist/types/ui/Skeleton.d.ts +0 -8
  121. package/dist/types/ui/Stack.d.ts +0 -7
  122. package/dist/types/ui/StaticDataApp.d.ts +0 -4
  123. package/dist/types/ui/StatusPanel.d.ts +0 -10
  124. package/dist/types/ui/TableWidget.d.ts +0 -67
  125. package/dist/types/ui/Tabs.d.ts +0 -10
  126. package/dist/types/ui/TextContent.d.ts +0 -4
  127. package/dist/types/ui/TextWidget.d.ts +0 -20
  128. package/dist/types/ui/ThemeSelector.d.ts +0 -12
  129. package/dist/types/ui/Toast.d.ts +0 -8
  130. package/dist/types/ui/Tooltip.d.ts +0 -23
  131. package/dist/types/ui/TooltipSurface.d.ts +0 -3
  132. package/dist/types/ui/TrendChart.d.ts +0 -5
  133. package/dist/types/ui/UpdatedAt.d.ts +0 -9
  134. package/dist/types/ui/VariableBar.d.ts +0 -6
  135. package/dist/types/ui/VisualizationWidget.d.ts +0 -43
  136. package/dist/types/ui/WidgetDisclosure.d.ts +0 -6
  137. package/dist/types/ui/WidgetEvidence.d.ts +0 -12
  138. package/dist/types/ui/WidgetViewTabs.d.ts +0 -16
  139. package/dist/types/ui/chart-data.d.ts +0 -36
  140. package/dist/types/ui/chart-date-axis.d.ts +0 -15
  141. package/dist/types/ui/chart-interaction.d.ts +0 -27
  142. package/dist/types/ui/chart-primitives.d.ts +0 -22
  143. package/dist/types/ui/chart-time.d.ts +0 -19
  144. package/dist/types/ui/chartColor.d.ts +0 -2
  145. package/dist/types/ui/classNames.d.ts +0 -1
  146. package/dist/types/ui/csv-export.d.ts +0 -19
  147. package/dist/types/ui/data-context.d.ts +0 -76
  148. package/dist/types/ui/data-identifiers.d.ts +0 -32
  149. package/dist/types/ui/icons.d.ts +0 -49
  150. package/dist/types/ui/journey-flow.d.ts +0 -49
  151. package/dist/types/ui/keyboard.d.ts +0 -6
  152. package/dist/types/ui/metric-comparison.d.ts +0 -30
  153. package/dist/types/ui/metric.d.ts +0 -11
  154. package/dist/types/ui/presentation.d.ts +0 -25
  155. package/dist/types/ui/search.d.ts +0 -6
  156. package/dist/types/ui/searchItems.d.ts +0 -36
  157. package/dist/types/ui/shortcuts.d.ts +0 -45
  158. package/dist/types/ui/story.d.ts +0 -20
  159. package/dist/types/ui/time-interval.d.ts +0 -96
  160. package/dist/types/ui/use-chart-scroll-to-end.d.ts +0 -2
  161. package/dist/types/ui/useAppAppearance.d.ts +0 -3
  162. package/dist/types/ui/useDataAppPresentation.d.ts +0 -3
  163. package/dist/types/ui/useSvgId.d.ts +0 -2
  164. package/dist/types/ui/variables.d.ts +0 -36
  165. package/dist/types/ui/widget-views.d.ts +0 -3
  166. package/dist/types/view-control-bar.d.ts +0 -18
  167. package/dist/types/view-controls.d.ts +0 -20
  168. package/dist/types/view-runtime.d.ts +0 -34
  169. package/dist/types/view.d.ts +0 -87
  170. package/dist/types/widgets.d.ts +0 -90
@@ -1,111 +1,591 @@
1
- /** Direct UI composition and static screens. Requests use declared views from /react. */
2
- export { DataAppProvider } from '../mount.js';
3
- export { isPlainKeyEvent } from './keyboard.js';
4
- export { GettingStarted } from './GettingStarted.js';
5
- export { DataWidget } from './DataWidget.js';
6
- export type { WidgetStatus } from './RequestHint.js';
7
- export type { DataWidgetProps } from './DataWidget.js';
8
- export { TextWidget } from './TextWidget.js';
9
- export type { TextWidgetProps } from './TextWidget.js';
10
- export { VisualizationWidget } from './VisualizationWidget.js';
11
- export type { VisualizationWidgetProps } from './VisualizationWidget.js';
12
- export { TableWidget } from './TableWidget.js';
13
- export type { TableWidgetProps } from './TableWidget.js';
14
- export { DataTable, DataTableEmptyRow, DataTableTimestamp, DataTableShare, } from './DataTable.js';
15
- export type { DataTableProps, DataTableSearch, DataTableEmptyRowProps, DataTableTimestampProps, } from './DataTable.js';
16
- export { MetricWidget } from './MetricWidget.js';
17
- export type { MetricWidgetProps } from './MetricWidget.js';
18
- export { DimensionPicker } from './DimensionPicker.js';
19
- export { LiveControl } from './LiveControl.js';
20
- export type { LiveControlProps, LiveIntervalSeconds } from './LiveControl.js';
21
- export { DateRangePicker } from './DateRangePicker.js';
22
- export type { DatePresetId, DateRange, DateRangePickerProps, } from './DateRangePicker.js';
23
- export { useAppVariables } from './variables.js';
24
- export { SearchField } from './SearchField.js';
25
- export type { SearchFieldProps } from './SearchField.js';
26
- export { searchItems, matchSearchText } from './searchItems.js';
27
- export type { SearchAttribute, SearchHit, SearchItemsOptions, SearchMatchValue, SearchRange, } from './searchItems.js';
28
- export { SearchMatch } from './SearchMatch.js';
29
- export type { SearchMatchProps } from './SearchMatch.js';
30
- export { ChoicePicker } from './ChoicePicker.js';
31
- export type { ChoiceOption, ChoicePickerProps } from './ChoicePicker.js';
32
- export { MenuTrigger, MenuButton, MenuPopover, Menu, MenuItem, MenuSection, MenuSeparator, } from './Menu.js';
33
- export type { MenuTriggerProps, MenuPopoverProps, MenuProps, MenuItemProps, } from './Menu.js';
34
- export { GradientScroll } from './GradientScroll.js';
35
- export type { GradientScrollProps } from './GradientScroll.js';
36
- export { Tabs, TabList, Tab, TabPanels, TabPanel, useViewTab, } from './Tabs.js';
37
- export { GlossaryExplanation } from './GlossaryExplanation.js';
38
- export type { GlossaryExplanationProps } from './GlossaryExplanation.js';
39
- export { GlossaryDefinition } from './GlossaryDefinition.js';
40
- export type { GlossaryDefinitionProps } from './GlossaryDefinition.js';
41
- export { AboutData } from './AboutData.js';
42
- export type { AboutDataProps, AboutEmpty, AboutSubject, AboutTab, } from './AboutData.js';
43
- export { PresentStory } from './PresentStory.js';
44
- export type { PresentStoryProps } from './PresentStory.js';
45
- export type { StoryFinding, BoundStory } from './story.js';
46
- export { Checkbox } from './Checkbox.js';
47
- export type { CheckboxProps } from './Checkbox.js';
48
- export { AppIcon } from './icons.js';
49
- export type { AppIconName, AppIconProps } from './icons.js';
50
- export { Sheet } from './Sheet.js';
51
- export type { SheetProps } from './Sheet.js';
52
- export { HelpPopover } from './HelpPopover.js';
53
- export type { HelpPopoverProps } from './HelpPopover.js';
54
- export { DataApp } from './StaticDataApp.js';
55
- export type { DataAppProps } from './StaticDataApp.js';
56
- export { injectDataAppStyles } from '../styles.js';
57
- export { Tooltip, TooltipProvider } from './Tooltip.js';
58
- export type { TooltipProps, TooltipProviderProps } from './Tooltip.js';
59
- export { LineChart } from './LineChart.js';
60
- export type { LineChartProps, LineChartItem } from './LineChart.js';
61
- export { AreaChart } from './AreaChart.js';
62
- export type { AreaChartProps, AreaChartItem } from './AreaChart.js';
63
- export { PieChart } from './PieChart.js';
64
- export type { PieChartProps, PieChartItem } from './PieChart.js';
65
- export { ScatterChart } from './ScatterChart.js';
66
- export type { ScatterChartProps, ScatterChartItem } from './ScatterChart.js';
67
- export { BarChart } from './BarChart.js';
68
- export type { BarChartProps, BarChartItem } from './BarChart.js';
69
- export { DataValue } from './DataValue.js';
70
- export type { DataValueProps } from './DataValue.js';
71
- export type { CsvExport, CsvTable } from './csv-export.js';
72
- export type { TableWidgetColumn } from './TableWidget.js';
73
- export type { DataReading, MetricReading } from '@altertable/data-app/internal';
74
- export type { DataAppStyle, DataAppStyleToken, DataAppStyleHooks, } from '../style-contract.js';
75
- export { Select } from './Select.js';
76
- export type { SelectProps } from './Select.js';
77
- export { RadioGroup, Radio, SegmentedControl } from './RadioGroup.js';
78
- export type { RadioGroupProps, RadioProps, SegmentedControlProps, } from './RadioGroup.js';
79
- export { CheckboxGroup } from './CheckboxGroup.js';
80
- export type { CheckboxGroupProps } from './CheckboxGroup.js';
81
- export { NumberField, NumberRangeField } from './NumberField.js';
82
- export type { NumberFieldProps, NumberRangeFieldProps, NumberRange, } from './NumberField.js';
83
- export { FilterBar } from './FilterBar.js';
84
- export type { FilterBarProps } from './FilterBar.js';
85
- export { VariableBar } from './VariableBar.js';
86
- export type { VariableBarProps } from './VariableBar.js';
87
- export { FilterActions } from './FilterActions.js';
88
- export type { FilterActionsProps } from './FilterActions.js';
89
- export { NumberFilterPicker } from './NumberFilterPicker.js';
90
- export type { NumberFilterPickerProps } from './NumberFilterPicker.js';
91
- export { ComposedChart } from './ComposedChart.js';
92
- export type { ComposedChartProps } from './ComposedChart.js';
93
- export { ChartLegend } from './ChartLegend.js';
94
- export type { ChartLegendProps, ChartLegendItemProps, ChartLegendMarkerProps, ChartLegendLabelProps, ChartLegendMarkerKind, } from './ChartLegend.js';
95
- export type { ComposedChartLegendProps } from './ComposedChartLegend.js';
96
- export { FunnelChart } from './FunnelChart.js';
97
- export type { FunnelChartProps, FunnelChartStep, FunnelChartSeries, } from './FunnelChart.js';
98
- export { RetentionChart } from './RetentionChart.js';
99
- export type { RetentionChartProps, RetentionChartPoint, RetentionChartSeries, } from './RetentionChart.js';
100
- export { JourneyChart } from './JourneyChart.js';
101
- export type { JourneyChartProps, JourneyChartPath } from './JourneyChart.js';
102
- export { useSvgId } from './useSvgId.js';
103
- export { SearchTypeahead } from './SearchTypeahead.js';
104
- export type { SearchTypeaheadProps, SearchSuggestion, } from './SearchTypeahead.js';
105
- export { SectionHeading } from './SectionHeading.js';
106
- export type { SectionHeadingProps } from './SectionHeading.js';
107
- export { DateDisplay } from './DateDisplay.js';
108
- export type { DateDisplayProps } from './DateDisplay.js';
109
- export { useDateFormatting } from '../date-formatting.js';
110
- export { ExplorationActionControl } from './ExplorationActionControl.js';
111
- export type { ExplorationActionControlProps, ExplorationAction, ItemActions, } from './ExplorationActionControl.js';
1
+ import { $ as TableWidgetColumn, Bt as DataContext, C as MetricWidgetProps, Dt as ExplorationActionControl, Et as ExplorationAction, Ft as AboutSubject, Gt as StoryFinding, Ht as GlossaryEntry, It as AboutTab, J as DataAppStyleToken, K as DataAppStyle, Kt as PresentStory, Lt as Sheet, Mt as AboutData, Nt as AboutDataProps, O as StaticDataAppProps, Ot as ExplorationActionControlProps, Pt as AboutEmpty, Q as TableWidget$1, Rt as SheetProps, S as MetricWidget$1, St as SearchFieldProps, T as DataValueProps, Tt as CsvTable, U as useAppVariables, W as DataAppProvider, Wt as BoundStory, X as injectDataAppStyles, _t as DataTableTimestampProps, a as SectionHeadingProps, at as SearchMatchValue, b as DataWidget, bt as SearchTypeaheadProps, c as TooltipProvider, ct as searchItems, d as AppIconName, dt as DataTableEmptyRow, et as TableWidgetProps, f as AppIconProps, ft as DataTableEmptyRowProps, g as VisualizationWidgetProps, gt as DataTableTimestamp, h as VisualizationWidget$1, ht as DataTableShare, i as SectionHeading, it as SearchItemsOptions, kt as ItemActions, l as TooltipProviderProps, lt as WidgetStatus, m as HelpPopoverProps, mt as DataTableSearch, n as DateDisplay, nn as PressButton, nt as SearchAttribute, o as Tooltip, ot as SearchRange, p as HelpPopover, pt as DataTableProps, q as DataAppStyleHooks, qt as PresentStoryProps, r as DateDisplayProps, rt as SearchHit, s as TooltipProps, st as matchSearchText, t as useDateFormatting, u as AppIcon, ut as DataTable, v as TextWidget$1, vt as SearchSuggestion, w as DataValue, wt as CsvExport, x as DataWidgetProps, xt as SearchField, y as TextWidgetProps, yt as SearchTypeahead } from "../chunks/date-formatting.js";
2
+ import { ChoiceOption, ChoiceOption as ChoiceOption$1, DataReading, DatePresetId, DatePresetId as DatePresetId$1, DateRange, DateRange as DateRange$1, DimensionSelectionVariable, DimensionValue, MetricReading } from "@altertable/data-app/internal";
3
+ import { ComponentProps, ComponentPropsWithRef, ReactNode, RefAttributes } from "react";
4
+ import { DateRangePicker as DateRangePicker$1, MenuItemProps, MenuProps, MenuSection, MenuTrigger, MenuTriggerProps, NumberField as NumberField$1, Popover, Radio as Radio$1, RadioGroup as RadioGroup$1, Separator } from "react-aria-components";
5
+ import { Tab as Tab$1, TabListProps, TabPanel as TabPanel$1, TabPanels, Tabs as Tabs$1 } from "react-aria-components/Tabs";
6
+ import { MetricFormat } from "@altertable/data-app/format";
7
+ import { CalendarDate } from "@internationalized/date";
8
+ import { DimensionOption, DimensionSelection, DisclosedQuery, NumberFilter, NumberSelection } from "@altertable/data-app/contract";
9
+ import { AreaProps, BarProps, Brush, CartesianGrid, ComposedChart as ComposedChart$1, DefaultTooltipContent, DotProps, ErrorBar, Label as Label$1, LabelList, Legend, LineProps, ReferenceArea, ReferenceDot, ReferenceLine, Scatter, Tooltip as Tooltip$1, XAxis, YAxis, ZAxis } from "recharts";
10
+ //#region src/ui/keyboard.d.ts
11
+ type KeyEvent = Pick<KeyboardEvent, 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey' | 'isComposing'>;
12
+ /** Keep local key actions separate from shortcuts and IME composition. Pass React's nativeEvent. */
13
+ export declare function isPlainKeyEvent(event: KeyEvent, { allowShift }?: {
14
+ allowShift?: boolean;
15
+ }): boolean;
16
+ //#endregion
17
+ //#region src/ui/GettingStarted.d.ts
18
+ /** Query-backed connection state and next steps for a newly created app. Mount within
19
+ * `DataAppProvider` and register `connection: connectionCheck(app.queries)` on the server. */
20
+ export declare function GettingStarted({ dataContext }: {
21
+ dataContext: DataContext;
22
+ }): import("react").JSX.Element;
23
+ //#endregion
24
+ //#region src/ui/PickerField.d.ts
25
+ /** Inline labels sit with the value; above and beside labels have a separate layout slot. */
26
+ type ControlLabelPlacement = 'inline' | 'above' | 'beside';
27
+ //#endregion
28
+ //#region src/ui/DimensionPicker.d.ts
29
+ /** Adapts the typed dimension contract to the shared ChoicePicker control. */
30
+ export declare function DimensionPicker<T extends DimensionValue>({ filter, labelPlacement, value, onChange, options: suppliedOptions, loading, error, onRetry }: {
31
+ filter: DimensionSelectionVariable<T>;
32
+ labelPlacement?: ControlLabelPlacement;
33
+ value: DimensionSelection<T>;
34
+ onChange: (value: DimensionSelection<T>) => void;
35
+ options?: readonly DimensionOption<T>[];
36
+ loading?: boolean;
37
+ error?: boolean;
38
+ onRetry?: () => void;
39
+ }): import("react").JSX.Element;
40
+ //#endregion
41
+ //#region src/ui/LiveControl.d.ts
42
+ type LiveIntervalSeconds = 30 | 60 | 300;
43
+ type LiveControlProps = {
44
+ enabled: boolean;
45
+ onChange: (enabled: boolean) => void;
46
+ intervalSeconds: LiveIntervalSeconds;
47
+ onIntervalChange: (seconds: LiveIntervalSeconds) => void;
48
+ } & Omit<ComponentPropsWithRef<'button'>, 'children' | 'onClick' | 'onChange'>;
49
+ /** Toggle an app-owned recurring refresh. The app supplies the timer and its cadence. */
50
+ export declare function LiveControl({ enabled, onChange, intervalSeconds, onIntervalChange, className, ...props }: LiveControlProps): import("react").JSX.Element;
51
+ //#endregion
52
+ //#region src/ui/DateRangePicker.d.ts
53
+ type DateRangePickerProps = {
54
+ label?: string;
55
+ labelPlacement?: Exclude<ControlLabelPlacement, 'inline'>;
56
+ value: DateRange$1 | null;
57
+ onChange: (range: DateRange$1 | null) => void;
58
+ minDate?: string;
59
+ maxDate?: string;
60
+ maxRangeDays?: number;
61
+ timeZone?: string;
62
+ /** Used to display the reset affordance. The app variable owns the URL and reset meaning. */
63
+ resetValue?: DateRange$1;
64
+ isDefault?: boolean;
65
+ onReset?: () => void;
66
+ onPresetChange?: (id: DatePresetId$1) => void;
67
+ selectedPresetId?: DatePresetId$1 | null;
68
+ calendarFooter?: ReactNode;
69
+ comparison?: {
70
+ enabled: boolean;
71
+ range: DateRange$1 | null;
72
+ onChange: (enabled: boolean) => void;
73
+ };
74
+ } & Omit<ComponentProps<typeof DateRangePicker$1<CalendarDate>>, 'children' | 'value' | 'onChange' | 'minValue' | 'maxValue' | 'isOpen' | 'onOpenChange' | 'defaultValue' | 'defaultOpen'>;
75
+ /** The app owns URL state; `dateRangeControl` binds a date variable to this picker. */
76
+ export declare function DateRangePicker({ label, labelPlacement, value, onChange, minDate, maxDate, maxRangeDays, timeZone, resetValue, isDefault, onReset, onPresetChange, selectedPresetId, calendarFooter, comparison, className, ...props }: DateRangePickerProps): import("react").JSX.Element;
77
+ //#endregion
78
+ //#region src/ui/SearchMatch.d.ts
79
+ type SearchMatchProps = {
80
+ match: SearchMatchValue;
81
+ } & Omit<ComponentPropsWithRef<'span'>, 'children'>;
82
+ export declare function SearchMatch({ match, className, ...props }: SearchMatchProps): import("react").JSX.Element;
83
+ //#endregion
84
+ //#region src/ui/ShimmerText.d.ts
85
+ type ShimmerTextProps = Omit<ComponentPropsWithRef<'span'>, 'children'> & {
86
+ children: string;
87
+ };
88
+ /** Animated text for custom activity labels. Wrap in `<output>` to announce updates.
89
+ * Respects reduced motion. */
90
+ export declare function ShimmerText({ children, className, ...props }: ShimmerTextProps): import("react").JSX.Element;
91
+ //#endregion
92
+ //#region src/ui/ChoicePicker.d.ts
93
+ type SharedProps = {
94
+ label: string;
95
+ labelPlacement?: ControlLabelPlacement;
96
+ options: readonly ChoiceOption$1[];
97
+ /** Separate source state, rendered last with a divider and the shared option component. */
98
+ missingOption?: ChoiceOption$1;
99
+ disabled?: boolean;
100
+ placeholder?: string;
101
+ emptyMessage?: string;
102
+ /** Known options remain selectable while refreshing; unavailable selected IDs are retained. */
103
+ loading?: boolean;
104
+ /** Shows failure feedback without removing known options or unavailable selections. */
105
+ error?: boolean;
106
+ onRetry?: () => void;
107
+ };
108
+ type SingleChoicePickerProps = SharedProps & {
109
+ selectionMode: 'single';
110
+ value: string;
111
+ onChange: (value: string) => void;
112
+ values?: never;
113
+ maxSelected?: never;
114
+ emptySelectionLabel?: never;
115
+ };
116
+ type MultiChoicePickerProps = SharedProps & {
117
+ selectionMode: 'multiple';
118
+ values: readonly string[];
119
+ onChange: (values: string[]) => void;
120
+ /** Positive integer; at capacity, only unselected options are disabled. */
121
+ maxSelected: number;
122
+ /** Meaning of an empty selection belongs to the caller, e.g. All or Select a value. */
123
+ emptySelectionLabel: string;
124
+ value?: never;
125
+ };
126
+ type ChoicePickerProps = SingleChoicePickerProps | MultiChoicePickerProps;
127
+ /** Searchable selection picker with one focus and popup model for single and multiple values. */
128
+ export declare function ChoicePicker(props: ChoicePickerProps): import("react").JSX.Element;
129
+ //#endregion
130
+ //#region src/ui/PopoverSurface.d.ts
131
+ /** Shared popup paint; each control owns placement, dimensions, and contents. */
132
+ declare function PopoverSurface({ className, ...props }: ComponentProps<typeof Popover>): import("react").JSX.Element;
133
+ //#endregion
134
+ //#region src/ui/Menu.d.ts
135
+ type MenuPopoverProps = ComponentPropsWithRef<typeof PopoverSurface>;
136
+ /** Anchored popup for a Menu; the surrounding MenuTrigger owns focus and dismissal. */
137
+ export declare function MenuPopover({ className, placement, ...props }: MenuPopoverProps): import("react").JSX.Element;
138
+ /** Actions by default; single selection creates radio items, multiple creates checkbox items. */
139
+ export declare function Menu<T extends object>({ className, ...props }: MenuProps<T>): import("react").JSX.Element;
140
+ export declare function MenuItem<T extends object>({ className, children, ...props }: MenuItemProps<T>): import("react").JSX.Element;
141
+ export declare function MenuSeparator({ className, ...props }: ComponentPropsWithRef<typeof Separator>): import("react").JSX.Element;
142
+ //#endregion
143
+ //#region src/ui/GradientScroll.d.ts
144
+ type GradientScrollProps = ComponentPropsWithRef<'div'> & {
145
+ axis?: 'vertical' | 'horizontal';
146
+ /** Disable the start fade when sticky controls share the scrollport. */
147
+ fadeStart?: boolean;
148
+ };
149
+ /** Fades only scrollable edges; content, size, and scroll changes update the mask. */
150
+ export declare function GradientScroll({ axis, fadeStart, className, children, ref, ...props }: GradientScrollProps): import("react").JSX.Element;
151
+ //#endregion
152
+ //#region src/ui/Tabs.d.ts
153
+ export declare function TabList<T>({ className, ref, ...props }: TabListProps<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
154
+ export declare function Tab(props: ComponentPropsWithRef<typeof Tab$1>): import("react").JSX.Element;
155
+ export declare function TabPanel(props: ComponentPropsWithRef<typeof TabPanel$1>): import("react").JSX.Element;
156
+ export declare function Tabs({ className, ...props }: ComponentPropsWithRef<typeof Tabs$1>): import("react").JSX.Element;
157
+ /** Keep a page-level tab in `?view=`; reserve `?tab=` for the inspect sheet. */
158
+ export declare function useViewTab<View extends string>(views: readonly View[], fallback: View): [View, (key: string | number) => void];
159
+ //#endregion
160
+ //#region src/ui/GlossaryExplanation.d.ts
161
+ type GlossaryExplanationProps = {
162
+ entry: GlossaryEntry;
163
+ empty?: AboutEmpty;
164
+ title?: ReactNode;
165
+ description?: ReactNode;
166
+ visual?: ReactNode;
167
+ queries?: DisclosedQuery[];
168
+ dataContext?: DataContext;
169
+ } & Omit<ComponentPropsWithRef<'button'>, 'children' | 'title'>;
170
+ /** Opens the inspect sheet for one glossary term. Prefer a card's evidence slot
171
+ * when the surface already has a title, description, and visual. */
172
+ export declare function GlossaryExplanation({ entry, empty, title, description, visual, queries, dataContext, className, ...props }: GlossaryExplanationProps): import("react").JSX.Element;
173
+ //#endregion
174
+ //#region src/ui/GlossaryDefinition.d.ts
175
+ type GlossaryDefinitionProps = {
176
+ entry: GlossaryEntry;
177
+ children?: ReactNode;
178
+ };
179
+ export declare function GlossaryDefinition({ entry, children }: GlossaryDefinitionProps): import("react").JSX.Element;
180
+ //#endregion
181
+ //#region src/ui/Checkbox.d.ts
182
+ type CheckboxProps = {
183
+ label: string;
184
+ description?: ReactNode;
185
+ disabled?: boolean;
186
+ className?: string;
187
+ } & ({
188
+ value: string;
189
+ checked?: never;
190
+ onChange?: never;
191
+ } | {
192
+ value?: never;
193
+ checked: boolean;
194
+ onChange: (checked: boolean) => void;
195
+ });
196
+ export declare function Checkbox({ label, description, checked, value, onChange, disabled, className }: CheckboxProps): import("react").JSX.Element;
197
+ //#endregion
198
+ //#region src/ui/StaticDataApp.d.ts
199
+ type DataAppProps = StaticDataAppProps;
200
+ /** Setup and static screens; fetched data uses the declared-view DataApp. */
201
+ export declare function DataApp(props: DataAppProps): import("react").JSX.Element;
202
+ //#endregion
203
+ //#region src/ui/chart-data.d.ts
204
+ /** Ordered category or time-series sample. IDs are unique and nonblank; values are finite. */
205
+ type ChartItem = {
206
+ id: string;
207
+ label: string;
208
+ value: number;
209
+ };
210
+ type ValueChartProps<Row extends ChartItem = ChartItem> = {
211
+ /** Ordered samples; the chart validates IDs and values when rendering. */
212
+ items: readonly Row[];
213
+ /** Actions available for each displayed item. Domain fields remain available to this callback. */
214
+ itemActions?: ItemActions<Row>;
215
+ unit: string;
216
+ ariaLabel: string;
217
+ formatValue?: (value: number) => string;
218
+ };
219
+ type CountChartProps = {
220
+ /** Accessible measure and scope description. */
221
+ ariaLabel: string;
222
+ /** Population unit, such as users or sessions. */
223
+ unit: string;
224
+ /** Formats counts; rates use percentage formatting. */
225
+ formatValue?: (value: number) => string;
226
+ className?: string;
227
+ };
228
+ /** Independent observation on two finite numeric axes. */
229
+ type ScatterChartItem = {
230
+ id: string;
231
+ label: string;
232
+ x: number;
233
+ y: number;
234
+ };
235
+ //#endregion
236
+ //#region src/ui/LineChart.d.ts
237
+ type LineChartItem = ChartItem;
238
+ type LineChartProps<Row extends LineChartItem = LineChartItem> = ValueChartProps<Row>;
239
+ /** Equally spaced finite samples in supplied order; fill missing periods explicitly.
240
+ * Supports negative values, single points, and horizontal scrolling for long series.
241
+ * Compose inside VisualizationWidget; hover/touch tooltips need no caller state. */
242
+ export declare function LineChart<Row extends LineChartItem>(props: LineChartProps<Row>): import("react").JSX.Element;
243
+ //#endregion
244
+ //#region src/ui/AreaChart.d.ts
245
+ type AreaChartItem = ChartItem;
246
+ type AreaChartProps<Row extends AreaChartItem = AreaChartItem> = ValueChartProps<Row>;
247
+ /** Ordered finite samples filled to a zero baseline, including negative values.
248
+ * Samples are equally spaced; supply missing periods explicitly.
249
+ * Compose inside VisualizationWidget; hover/touch tooltips need no caller state. */
250
+ export declare function AreaChart<Row extends AreaChartItem>(props: AreaChartProps<Row>): import("react").JSX.Element;
251
+ //#endregion
252
+ //#region src/ui/PieChart.d.ts
253
+ type PieChartItem = ChartItem;
254
+ type PieChartProps<Row extends PieChartItem = PieChartItem> = ValueChartProps<Row> & {
255
+ /** Omit the built-in key when composing a separate ChartLegend. */
256
+ showLegend?: boolean;
257
+ };
258
+ /** Nonnegative, mutually exclusive parts; shares use the sum of supplied items.
259
+ * Include Other to represent the whole. Zero values remain in the legend; all-zero
260
+ * data shows an empty circle. Colors follow item order. Compose inside VisualizationWidget;
261
+ * hover/touch tooltips coordinate slice and legend emphasis without caller state. */
262
+ export declare function PieChart<Row extends PieChartItem>({ items, unit, ariaLabel, showLegend, formatValue, itemActions }: PieChartProps<Row>): import("react").JSX.Element;
263
+ //#endregion
264
+ //#region src/ui/ScatterChart.d.ts
265
+ type ScatterChartProps = {
266
+ items: readonly ScatterChartItem[];
267
+ xLabel: string;
268
+ yLabel: string;
269
+ xUnit: string;
270
+ yUnit: string;
271
+ ariaLabel: string;
272
+ formatX?: (value: number) => string;
273
+ formatY?: (value: number) => string;
274
+ };
275
+ /** Independent finite X/Y observations on linear axes that include zero.
276
+ * Negative and constant coordinates are supported. Axis labels and units describe
277
+ * tooltips as well as the plot; formatX/formatY format ticks and tooltip values.
278
+ * Compose inside VisualizationWidget; hover/touch tooltips need no caller state. */
279
+ export declare function ScatterChart({ items, xLabel, yLabel, xUnit, yUnit, ariaLabel, formatX, formatY }: ScatterChartProps): import("react").JSX.Element;
280
+ //#endregion
281
+ //#region src/ui/BarChart.d.ts
282
+ type BarChartItem = ChartItem;
283
+ type BarChartProps<Row extends BarChartItem = BarChartItem> = ValueChartProps<Row>;
284
+ /** Nonnegative category values. Compose inside VisualizationWidget for a titled panel.
285
+ * Owns hover/touch tooltips; no selection state or keyboard navigation. */
286
+ export declare function BarChart<Row extends BarChartItem>({ items, unit, ariaLabel, formatValue, itemActions }: BarChartProps<Row>): import("react").JSX.Element;
287
+ //#endregion
288
+ //#region src/ui/Select.d.ts
289
+ type SelectProps = {
290
+ label: string;
291
+ labelPlacement?: ControlLabelPlacement;
292
+ /** Replace the inline text label with a decorative icon; the accessible label remains. */
293
+ icon?: AppIconName;
294
+ size?: 'default' | 'compact';
295
+ options: readonly ChoiceOption$1[];
296
+ value: string;
297
+ onChange: (value: string) => void;
298
+ disabled?: boolean;
299
+ required?: boolean;
300
+ name?: string;
301
+ id?: string;
302
+ className?: string;
303
+ /** Align the popup with the selection button. Defaults to start. */
304
+ align?: 'start' | 'end';
305
+ };
306
+ /** Labeled single selection with keyboard navigation and a styled listbox. */
307
+ export declare function Select({ label, options, value, onChange, disabled, required, className, align, labelPlacement, icon, size, ...props }: SelectProps): import("react").JSX.Element;
308
+ //#endregion
309
+ //#region src/ui/RadioGroup.d.ts
310
+ type RadioGroupProps = Omit<ComponentPropsWithRef<typeof RadioGroup$1>, 'className' | 'children'> & {
311
+ children: ReactNode;
312
+ label: string;
313
+ className?: string;
314
+ };
315
+ export declare function RadioGroup({ label, className, children, ...props }: RadioGroupProps): import("react").JSX.Element;
316
+ type RadioProps = Omit<ComponentPropsWithRef<typeof Radio$1>, 'className'> & {
317
+ className?: string;
318
+ };
319
+ export declare function Radio({ className, children, ...props }: RadioProps): import("react").JSX.Element;
320
+ type SegmentedControlProps = Omit<RadioGroupProps, 'children'> & {
321
+ options: readonly ChoiceOption$1[];
322
+ };
323
+ /** A compact radio group; arrow keys follow standard radio selection behavior. */
324
+ export declare function SegmentedControl({ options, className, ...props }: SegmentedControlProps): import("react").JSX.Element;
325
+ //#endregion
326
+ //#region src/ui/CheckboxGroup.d.ts
327
+ type CheckboxGroupProps = Omit<ComponentPropsWithRef<'fieldset'>, 'onChange'> & {
328
+ label: string;
329
+ values: readonly string[];
330
+ onChange: (values: string[]) => void;
331
+ };
332
+ export declare function CheckboxGroup({ label, values, onChange, className, children, disabled, ...props }: CheckboxGroupProps): import("react").JSX.Element;
333
+ //#endregion
334
+ //#region src/ui/NumberField.d.ts
335
+ type NumberFieldProps = Omit<ComponentPropsWithRef<typeof NumberField$1>, 'value' | 'onChange' | 'className'> & {
336
+ label: string;
337
+ value: number | null;
338
+ onChange: (value: number | null) => void;
339
+ className?: string;
340
+ };
341
+ /** Localized numeric entry. Empty input is null rather than zero. */
342
+ export declare function NumberField({ label, value, onChange, className, ...props }: NumberFieldProps): import("react").JSX.Element;
343
+ type NumberRange = {
344
+ min?: number;
345
+ max?: number;
346
+ };
347
+ type NumberRangeFieldProps = {
348
+ label: string;
349
+ value: NumberRange;
350
+ onChange: (value: NumberRange) => void;
351
+ /** Reports whether the current draft interval can be committed. */
352
+ onValidityChange?: (valid: boolean) => void;
353
+ min?: number;
354
+ max?: number;
355
+ disabled?: boolean;
356
+ className?: string;
357
+ };
358
+ /** Commit valid intervals; retain invalid draft bounds so users can correct them. */
359
+ export declare function NumberRangeField({ label, value, onChange, onValidityChange, min, max, disabled, className }: NumberRangeFieldProps): import("react").JSX.Element;
360
+ //#endregion
361
+ //#region src/ui/FilterBar.d.ts
362
+ type FilterBarProps = ComponentPropsWithRef<'div'>;
363
+ export declare function FilterBar({ className, role, 'aria-label': label, ...props }: FilterBarProps): import("react").JSX.Element;
364
+ //#endregion
365
+ //#region src/ui/VariableBar.d.ts
366
+ type VariableBarProps = {
367
+ children: ReactNode;
368
+ } & Omit<ComponentPropsWithRef<'div'>, 'children'>;
369
+ /** User-controlled inputs below the page header. */
370
+ export declare function VariableBar({ children, className, role, 'aria-label': ariaLabel, ...props }: VariableBarProps): import("react").JSX.Element;
371
+ //#endregion
372
+ //#region src/ui/FilterActions.d.ts
373
+ type FilterActionsProps = {
374
+ onClear?: () => void;
375
+ } & ({
376
+ onApply: () => void;
377
+ onCancel: () => void;
378
+ } | {
379
+ onApply?: never;
380
+ onCancel?: never;
381
+ });
382
+ export declare function FilterActions({ onClear, onApply, onCancel }: FilterActionsProps): import("react").JSX.Element;
383
+ //#endregion
384
+ //#region src/ui/NumberFilterPicker.d.ts
385
+ type NumberFilterPickerProps = {
386
+ filter: NumberFilter;
387
+ labelPlacement?: ControlLabelPlacement;
388
+ value: NumberSelection;
389
+ onChange: (value: NumberSelection) => void;
390
+ disabled?: boolean;
391
+ };
392
+ /** Edit a numeric predicate in a panel. Apply commits one complete value; dismissing discards the draft. */
393
+ export declare function NumberFilterPicker({ filter, value, onChange, disabled, labelPlacement }: NumberFilterPickerProps): import("react").JSX.Element;
394
+ //#endregion
395
+ //#region src/ui/chart-date-axis.d.ts
396
+ /**
397
+ * Infers temporal input from ISO dates, zoned ISO timestamps, and Date values.
398
+ * Use scale="utc" for epoch milliseconds or type="category" for date-like categories.
399
+ * Explicit tick formatters and tick lists retain authored axis behavior.
400
+ */
401
+ declare function ChartXAxis<Row = unknown, Value = string | number | Date>(props: ComponentProps<typeof XAxis<Row, Value>>): import("react").JSX.Element;
402
+ //#endregion
403
+ //#region src/ui/chart-primitives.d.ts
404
+ /** Hollow sample marker shared by standalone and composed series. */
405
+ declare function ChartDot({ active, stroke, fill, r, ...props }: DotProps & {
406
+ active?: boolean;
407
+ }): import("react").JSX.Element;
408
+ /** Shared series defaults; native props override every authored choice. */
409
+ declare function ChartBar<Row = unknown, Value = number | null>(props: BarProps<Row, Value>): import("react").JSX.Element;
410
+ /** Sample dots are opt-in with dot=true.
411
+ * activeDot independently controls the hovered point. Native dot props and renderers remain available. */
412
+ declare function ChartLine<Row = unknown, Value = number | null>({ stroke, dot, activeDot, ...props }: LineProps<Row, Value>): import("react").JSX.Element;
413
+ /** Filled series with the same sample-dot and activeDot options as ChartLine. */
414
+ declare function ChartArea<Row = unknown, Value = number | null>({ stroke, dot, activeDot, ...props }: AreaProps<Row, Value>): import("react").JSX.Element;
415
+ declare function ChartScatter<Row = unknown, Value = number>(props: ComponentProps<typeof Scatter<Row, Value>>): import("react").JSX.Element;
416
+ declare function ChartYAxis<Row = unknown, Value = number>(props: ComponentProps<typeof YAxis<Row, Value>>): import("react").JSX.Element;
417
+ declare function ChartGrid(props: ComponentProps<typeof CartesianGrid>): import("react").JSX.Element;
418
+ /** Uses the same surface as single-series inspection; Recharts owns interaction. */
419
+ declare function ChartTooltip(props: ComponentProps<typeof Tooltip$1>): import("react").JSX.Element;
420
+ //#endregion
421
+ //#region src/ui/ComposedChartLegend.d.ts
422
+ type ComposedChartLegendProps = ComponentProps<typeof Legend> & {
423
+ maxVisibleItems?: number;
424
+ };
425
+ /** Opt in inside ComposedChart to derive the shared legend from its displayed series.
426
+ * Give native series unique IDs when they share a data key.
427
+ * Native positioning, sorting, formatters, callbacks, and custom content remain available. */
428
+ declare function ComposedChartLegend({ maxVisibleItems, ...props }: ComposedChartLegendProps): import("react").JSX.Element;
429
+ //#endregion
430
+ //#region src/ui/ComposedChart.d.ts
431
+ type ComposedChartProps<Row = unknown> = Omit<ComponentProps<typeof ComposedChart$1<Row>>, 'data' | 'title'> & {
432
+ /** Displayed rows; series and axes select fields with Recharts dataKey props. */
433
+ data: readonly Row[];
434
+ /** Describes the measures and scope for assistive technology. */
435
+ ariaLabel: string;
436
+ /** Shared measure semantics: compact numeric axes and precise tooltips.
437
+ * For mixed units, use explicit axis tickFormatter and series/tooltip formatters. */
438
+ valueFormat?: MetricFormat;
439
+ };
440
+ /** Compose Cartesian series inside VisualizationWidget. Defaults to responsive
441
+ * full width and 300px height. Children retain native Recharts props and behavior,
442
+ * including stacking, numeric/time axes, missing values, tooltips, and keyboard
443
+ * navigation. Match yAxisId on axes and series for different units; use stackId
444
+ * for stacks. Preserve missing measures as null and choose connectNulls deliberately.
445
+ * Use public chart tokens for series colors. Dataset bindings own
446
+ * loading, empty results, evidence, and CSV; this primitive owns only the plot. */
447
+ declare function ComposedChartRoot<Row>({ data, ariaLabel, valueFormat, width, height, responsive, className, ...props }: ComposedChartProps<Row>): import("react").JSX.Element;
448
+ /** Shared themed series and controls; other children retain native Recharts defaults. */
449
+ export declare const ComposedChart: typeof ComposedChartRoot & {
450
+ Dot: typeof ChartDot;
451
+ Area: typeof ChartArea;
452
+ Bar: typeof ChartBar;
453
+ Line: typeof ChartLine;
454
+ Scatter: typeof ChartScatter;
455
+ XAxis: typeof ChartXAxis;
456
+ YAxis: typeof ChartYAxis;
457
+ ZAxis: typeof ZAxis;
458
+ CartesianGrid: typeof ChartGrid;
459
+ Tooltip: typeof ChartTooltip;
460
+ Legend: typeof ComposedChartLegend;
461
+ ReferenceLine: typeof ReferenceLine;
462
+ ReferenceArea: typeof ReferenceArea;
463
+ ReferenceDot: typeof ReferenceDot;
464
+ Brush: typeof Brush;
465
+ Cell: import("react").FunctionComponent<import("recharts").CellProps>;
466
+ Label: typeof Label$1;
467
+ LabelList: typeof LabelList;
468
+ ErrorBar: typeof ErrorBar;
469
+ };
470
+ //#endregion
471
+ //#region src/ui/ChartLegend.d.ts
472
+ type ChartLegendProps = {
473
+ children: ReactNode;
474
+ /** Single-row fits up to four cells before expansion, adapting to available width. */
475
+ layout?: 'horizontal' | 'vertical' | 'single-row';
476
+ align?: 'start' | 'center' | 'end';
477
+ /** Optional cell cap, including expansion. Horizontal legends default to two rows. */
478
+ maxVisibleItems?: number;
479
+ } & Omit<ComponentPropsWithRef<'ul'>, 'children'>;
480
+ /** Optional chart key, placed beside any chart with the app's layout components.
481
+ * Items describe displayed series or categories; the caller owns series visibility and interactions. */
482
+ declare function ChartLegendRoot({ children, layout, align, maxVisibleItems, className, 'aria-label': ariaLabel, ...props }: ChartLegendProps): import("react").JSX.Element;
483
+ type ChartLegendItemProps = ComponentPropsWithRef<'li'> & {
484
+ inactive?: boolean;
485
+ };
486
+ /** Descriptive by default; compose a button inside the item for an authored series toggle. */
487
+ declare function ChartLegendItem({ inactive, className, ...props }: ChartLegendItemProps): import("react").JSX.Element;
488
+ type ChartLegendMarkerKind = 'square' | 'bar' | 'line' | 'area' | 'point' | 'slice';
489
+ type ChartLegendMarkerProps = Omit<ComponentPropsWithRef<'svg'>, 'children'> & {
490
+ kind: ChartLegendMarkerKind;
491
+ };
492
+ /** Decorative mark; color accepts public palette tokens or any CSS color.
493
+ * Defaults match the shared bar or accent-colored series primitives. */
494
+ declare function ChartLegendMarker({ kind, color, className, style, ...props }: ChartLegendMarkerProps): import("react").JSX.Element;
495
+ type ChartLegendLabelProps = ComponentPropsWithRef<'span'>;
496
+ declare function ChartLegendLabel({ className, children, title, ...props }: ChartLegendLabelProps): import("react").JSX.Element;
497
+ export declare const ChartLegend: typeof ChartLegendRoot & {
498
+ Item: typeof ChartLegendItem;
499
+ Marker: typeof ChartLegendMarker;
500
+ Label: typeof ChartLegendLabel;
501
+ };
502
+ //#endregion
503
+ //#region src/ui/FunnelChart.d.ts
504
+ /** Ordered step with a unique, nonblank ID. */
505
+ type FunnelChartStep = {
506
+ id: string;
507
+ label: string;
508
+ };
509
+ type FunnelChartSeries = {
510
+ /** Unique, nonblank population ID. */
511
+ id: string;
512
+ label: string;
513
+ /** Finite, nonnegative counts aligned with steps and nonincreasing. */
514
+ values: readonly number[];
515
+ };
516
+ type FunnelChartProps = CountChartProps & {
517
+ steps: readonly FunnelChartStep[];
518
+ series: readonly FunnelChartSeries[];
519
+ };
520
+ /** Conversion columns with previous-step drop-off, normalized to each series' first step.
521
+ * Owns series highlighting and portion-specific inspection; compose inside VisualizationWidget. */
522
+ export declare function FunnelChart({ steps, series, unit, ariaLabel, className, formatValue }: FunnelChartProps): import("react").JSX.Element;
523
+ //#endregion
524
+ //#region src/ui/RetentionChart.d.ts
525
+ type RetentionChartPoint = {
526
+ /** Nonnegative integer, unique per series; uneven offsets retain their distance. */
527
+ offset: number;
528
+ /** Must agree across series for the same offset. */
529
+ label: string;
530
+ /** Observed retention fraction in [0, 1], or null for an unobserved period. */
531
+ rate: number | null;
532
+ /** Finite count in [0, cohortSize]; null exactly when rate is null. */
533
+ retainedCount: number | null;
534
+ /** Observed but still accumulating; drawn as a dotted tail. */
535
+ incomplete?: boolean;
536
+ };
537
+ type RetentionChartSeries = {
538
+ /** Unique, nonblank cohort or segment ID. */
539
+ id: string;
540
+ label: string;
541
+ /** Finite, nonnegative starting population. */
542
+ cohortSize: number;
543
+ points: readonly RetentionChartPoint[];
544
+ };
545
+ type RetentionChartProps = CountChartProps & {
546
+ series: readonly RetentionChartSeries[];
547
+ };
548
+ /** Query-defined retention curves with count inspection and dotted incomplete periods.
549
+ * Rates are not recomputed from counts. Compose inside VisualizationWidget. */
550
+ export declare function RetentionChart({ series, unit, ariaLabel, className, formatValue }: RetentionChartProps): import("react").JSX.Element;
551
+ //#endregion
552
+ //#region src/ui/journey-flow.d.ts
553
+ /** Aggregated route; repeated events remain distinct by depth and prefix. */
554
+ type JourneyChartPath = {
555
+ /** Unique, nonblank path ID. */
556
+ id: string;
557
+ /** At least one nonblank event; null property means no property grouping. */
558
+ steps: readonly {
559
+ event: string;
560
+ property: string | null;
561
+ }[];
562
+ /** Finite, nonnegative population following this route. */
563
+ count: number;
564
+ /** True: converted; false: dropped off; null: no conversion classification. */
565
+ converted: boolean | null;
566
+ /** Stops at the last loaded event, without adding an outcome or expand control. */
567
+ truncated: boolean;
568
+ };
569
+ //#endregion
570
+ //#region src/ui/JourneyChart.d.ts
571
+ type JourneyChartProps = CountChartProps & {
572
+ /** Full paths and their population counts. Branches and outcomes are derived internally. */
573
+ paths: readonly JourneyChartPath[];
574
+ };
575
+ /** Path exploration with two initial steps, expandable prefixes, and three events per depth.
576
+ * Counts and flows use the Step 1 population. Compose inside VisualizationWidget. */
577
+ export declare function JourneyChart({ paths, unit, ariaLabel, className, formatValue }: JourneyChartProps): import("react").JSX.Element;
578
+ //#endregion
579
+ //#region src/ui/useSvgId.d.ts
580
+ /** Stable React ID for SVG definitions and their URL references; safe with identifier prefixes. */
581
+ export declare function useSvgId(): string;
582
+ //#endregion
583
+ //#region src/ui/index.d.ts
584
+ export declare const TextWidget: typeof TextWidget$1;
585
+ /** Compose an unframed visual with the shared heading and inspection. */
586
+ export declare const VisualizationWidget: typeof VisualizationWidget$1;
587
+ export declare const TableWidget: typeof TableWidget$1;
588
+ export declare const MetricWidget: typeof MetricWidget$1;
589
+ //#endregion
590
+ export { AboutData, type AboutDataProps, type AboutEmpty, type AboutSubject, type AboutTab, AppIcon, type AppIconName, type AppIconProps, type AreaChartItem, type AreaChartProps, type BarChartItem, type BarChartProps, type BoundStory, type ChartLegendItemProps, type ChartLegendLabelProps, type ChartLegendMarkerKind, type ChartLegendMarkerProps, type ChartLegendProps, type CheckboxGroupProps, type CheckboxProps, type ChoiceOption, type ChoicePickerProps, type ComposedChartLegendProps, type ComposedChartProps, type CsvExport, type CsvTable, type DataAppProps, DataAppProvider, type DataAppStyle, type DataAppStyleHooks, type DataAppStyleToken, type DataReading, DataTable, DataTableEmptyRow, type DataTableEmptyRowProps, type DataTableProps, type DataTableSearch, DataTableShare, DataTableTimestamp, type DataTableTimestampProps, DataValue, type DataValueProps, DataWidget, type DataWidgetProps, DateDisplay, type DateDisplayProps, type DatePresetId, type DateRange, type DateRangePickerProps, type ExplorationAction, ExplorationActionControl, type ExplorationActionControlProps, type FilterActionsProps, type FilterBarProps, type FunnelChartProps, type FunnelChartSeries, type FunnelChartStep, type GlossaryDefinitionProps, type GlossaryExplanationProps, type GradientScrollProps, HelpPopover, type HelpPopoverProps, type ItemActions, type JourneyChartPath, type JourneyChartProps, type LineChartItem, type LineChartProps, type LiveControlProps, type LiveIntervalSeconds, PressButton as MenuButton, type MenuItemProps, type MenuPopoverProps, type MenuProps, MenuSection, MenuTrigger, type MenuTriggerProps, type MetricReading, type MetricWidgetProps, type NumberFieldProps, type NumberFilterPickerProps, type NumberRange, type NumberRangeFieldProps, type PieChartItem, type PieChartProps, PresentStory, type PresentStoryProps, type RadioGroupProps, type RadioProps, type RetentionChartPoint, type RetentionChartProps, type RetentionChartSeries, type ScatterChartItem, type ScatterChartProps, type SearchAttribute, SearchField, type SearchFieldProps, type SearchHit, type SearchItemsOptions, type SearchMatchProps, type SearchMatchValue, type SearchRange, type SearchSuggestion, SearchTypeahead, type SearchTypeaheadProps, SectionHeading, type SectionHeadingProps, type SegmentedControlProps, type SelectProps, Sheet, type SheetProps, type ShimmerTextProps, type StoryFinding, TabPanels, type TableWidgetColumn, type TableWidgetProps, type TextWidgetProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type VariableBarProps, type VisualizationWidgetProps, type WidgetStatus, injectDataAppStyles, matchSearchText, searchItems, useAppVariables, useDateFormatting };
591
+ //# sourceMappingURL=index.d.ts.map