@altertable/data-app 0.70.0 → 0.72.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 (291) hide show
  1. package/AGENTS.md +7 -1
  2. package/CONTRIBUTING.md +73 -33
  3. package/README.md +23 -26
  4. package/REFERENCE.md +1904 -0
  5. package/dist/chunks/index-5a27erdg.js +54 -0
  6. package/dist/chunks/index-5a27erdg.js.map +10 -0
  7. package/dist/chunks/{index-58kks6a8.js → index-9yxr7nmm.js} +330 -21
  8. package/dist/chunks/index-9yxr7nmm.js.map +17 -0
  9. package/dist/chunks/{index-wjt6cavj.js → index-j5q5n3ra.js} +5 -5
  10. package/dist/chunks/index-j5q5n3ra.js.map +10 -0
  11. package/dist/chunks/{index-22d576sn.js → index-q75zm3a7.js} +3 -3
  12. package/dist/chunks/{index-22d576sn.js.map → index-q75zm3a7.js.map} +3 -3
  13. package/dist/chunks/{index-9zqbrv2z.js → index-vhaec7m5.js} +4 -6
  14. package/dist/chunks/index-vhaec7m5.js.map +10 -0
  15. package/dist/chunks/{index-q1w84fv9.js → index-zp78caex.js} +345 -84
  16. package/dist/chunks/index-zp78caex.js.map +19 -0
  17. package/dist/client/index.js +284 -16
  18. package/dist/client/index.js.map +7 -3
  19. package/dist/core/appearance.js +181 -11
  20. package/dist/core/appearance.js.map +4 -3
  21. package/dist/core/config.js +3 -3
  22. package/dist/core/contract.js +10 -12
  23. package/dist/core/contract.js.map +1 -1
  24. package/dist/core/format.js +1 -1
  25. package/dist/index.js +4 -4
  26. package/dist/index.js.map +1 -1
  27. package/dist/internal.js +418 -0
  28. package/dist/internal.js.map +15 -0
  29. package/dist/server/index.js +102 -0
  30. package/dist/server/index.js.map +10 -0
  31. package/dist/types/client/annotations.d.ts +1 -1
  32. package/dist/types/client/iframe.d.ts +6 -6
  33. package/dist/types/client/index.d.ts +3 -4
  34. package/dist/types/client/location.d.ts +2 -2
  35. package/dist/types/client/logger.d.ts +1 -1
  36. package/dist/types/client/navigation.d.ts +1 -1
  37. package/dist/types/client/transport.d.ts +1 -1
  38. package/dist/types/core/bridge.d.ts +1 -1
  39. package/dist/types/core/config.d.ts +8 -9
  40. package/dist/types/core/filters.d.ts +1 -1
  41. package/dist/types/core/format.d.ts +1 -2
  42. package/dist/types/core/messages.d.ts +3 -3
  43. package/dist/types/core/operation-types.d.ts +1 -1
  44. package/dist/types/core/presentation.d.ts +1 -1
  45. package/dist/types/core/reading.d.ts +1 -1
  46. package/dist/types/internal.d.ts +22 -0
  47. package/dist/types/server/index.d.ts +1 -2
  48. package/docs/app-authoring.md +18 -1
  49. package/docs/client.md +1 -1
  50. package/docs/contract.md +1 -1
  51. package/docs/data-context.md +3 -3
  52. package/docs/embed.md +4 -4
  53. package/docs/formatting-and-appearance.md +1 -1
  54. package/docs/hosted-apps.md +16 -8
  55. package/docs/local-data-apps.md +1 -1
  56. package/docs/react-embed.md +7 -6
  57. package/docs/react.md +6 -6
  58. package/docs/server-bun.md +6 -6
  59. package/docs/stories-and-export.md +3 -3
  60. package/docs/styling.md +2 -2
  61. package/docs/ui.md +6 -6
  62. package/docs/views.md +2 -2
  63. package/docs/widgets.md +4 -4
  64. package/docs/worker.md +4 -4
  65. package/package.json +15 -92
  66. package/THIRD_PARTY_NOTICES +0 -18
  67. package/dist/chunks/index-2ajhmsc4.js +0 -355
  68. package/dist/chunks/index-2ajhmsc4.js.map +0 -13
  69. package/dist/chunks/index-58kks6a8.js.map +0 -13
  70. package/dist/chunks/index-7q99hf1z.js +0 -87
  71. package/dist/chunks/index-7q99hf1z.js.map +0 -10
  72. package/dist/chunks/index-9zqbrv2z.js.map +0 -10
  73. package/dist/chunks/index-cv36cyna.js +0 -180
  74. package/dist/chunks/index-cv36cyna.js.map +0 -10
  75. package/dist/chunks/index-q1w84fv9.js.map +0 -15
  76. package/dist/chunks/index-rew95tbg.js +0 -272
  77. package/dist/chunks/index-rew95tbg.js.map +0 -13
  78. package/dist/chunks/index-vtpygsbq.js +0 -17270
  79. package/dist/chunks/index-vtpygsbq.js.map +0 -126
  80. package/dist/chunks/index-wjt6cavj.js.map +0 -10
  81. package/dist/chunks/index-wss3gd3h.js +0 -319
  82. package/dist/chunks/index-wss3gd3h.js.map +0 -13
  83. package/dist/chunks/index-xzb7sx6g.js +0 -221
  84. package/dist/chunks/index-xzb7sx6g.js.map +0 -12
  85. package/dist/embed/index.js +0 -138
  86. package/dist/embed/index.js.map +0 -12
  87. package/dist/local.js +0 -465
  88. package/dist/local.js.map +0 -16
  89. package/dist/preview.js +0 -1456
  90. package/dist/preview.js.map +0 -17
  91. package/dist/react/embed/index.js +0 -117
  92. package/dist/react/embed/index.js.map +0 -10
  93. package/dist/react/index.js +0 -2890
  94. package/dist/react/index.js.map +0 -23
  95. package/dist/react/ui/index.js +0 -3514
  96. package/dist/react/ui/index.js.map +0 -36
  97. package/dist/server.js +0 -334
  98. package/dist/server.js.map +0 -15
  99. package/dist/types/core/time-interval.d.ts +0 -96
  100. package/dist/types/embed/bootstrap.d.ts +0 -5
  101. package/dist/types/embed/bridge.d.ts +0 -12
  102. package/dist/types/embed/host.d.ts +0 -36
  103. package/dist/types/embed/index.d.ts +0 -14
  104. package/dist/types/embed/navigation.d.ts +0 -6
  105. package/dist/types/embed/runtime-html.d.ts +0 -2
  106. package/dist/types/embed/source.d.ts +0 -16
  107. package/dist/types/embed/sql.d.ts +0 -4
  108. package/dist/types/react/actions.d.ts +0 -53
  109. package/dist/types/react/annotations/AnnotationBar.d.ts +0 -30
  110. package/dist/types/react/annotations/AnnotationControls.d.ts +0 -10
  111. package/dist/types/react/annotations/AnnotationEditor.d.ts +0 -16
  112. package/dist/types/react/annotations/AnnotationMarkers.d.ts +0 -19
  113. package/dist/types/react/annotations/AnnotationSelectionLayer.d.ts +0 -12
  114. package/dist/types/react/annotations/AnnotationTarget.d.ts +0 -9
  115. package/dist/types/react/annotations/AnnotationTooltip.d.ts +0 -9
  116. package/dist/types/react/annotations/AnnotationTrigger.d.ts +0 -10
  117. package/dist/types/react/annotations/annotation-editor-state.d.ts +0 -58
  118. package/dist/types/react/annotations/annotation-screenshot.d.ts +0 -4
  119. package/dist/types/react/annotations/annotation-targets.d.ts +0 -34
  120. package/dist/types/react/annotations/getAnnotationProps.d.ts +0 -17
  121. package/dist/types/react/annotations/styles.d.ts +0 -3
  122. package/dist/types/react/annotations/useAnnotationGeometry.d.ts +0 -22
  123. package/dist/types/react/annotations/useDataAppAnnotations.d.ts +0 -22
  124. package/dist/types/react/app-context.d.ts +0 -3
  125. package/dist/types/react/bindings.d.ts +0 -169
  126. package/dist/types/react/content.d.ts +0 -36
  127. package/dist/types/react/date-formatting.d.ts +0 -12
  128. package/dist/types/react/details.d.ts +0 -46
  129. package/dist/types/react/embed/bridge.d.ts +0 -21
  130. package/dist/types/react/embed/index.d.ts +0 -7
  131. package/dist/types/react/exploration.d.ts +0 -44
  132. package/dist/types/react/hooks.d.ts +0 -113
  133. package/dist/types/react/index.d.ts +0 -78
  134. package/dist/types/react/injectStyles.d.ts +0 -7
  135. package/dist/types/react/mount.d.ts +0 -13
  136. package/dist/types/react/search-suggestions.d.ts +0 -8
  137. package/dist/types/react/source-owner.d.ts +0 -2
  138. package/dist/types/react/style-contract.d.ts +0 -88
  139. package/dist/types/react/style-validation.d.ts +0 -2
  140. package/dist/types/react/styles.d.ts +0 -8
  141. package/dist/types/react/ui/AboutData.d.ts +0 -73
  142. package/dist/types/react/ui/AltertableLogo.d.ts +0 -3
  143. package/dist/types/react/ui/AppFooter.d.ts +0 -6
  144. package/dist/types/react/ui/AppHeader.d.ts +0 -10
  145. package/dist/types/react/ui/AppLayout.d.ts +0 -10
  146. package/dist/types/react/ui/AppScope.d.ts +0 -7
  147. package/dist/types/react/ui/AppToolbar.d.ts +0 -30
  148. package/dist/types/react/ui/AreaChart.d.ts +0 -7
  149. package/dist/types/react/ui/BarChart.d.ts +0 -6
  150. package/dist/types/react/ui/Breakdown.d.ts +0 -13
  151. package/dist/types/react/ui/Button.d.ts +0 -12
  152. package/dist/types/react/ui/ChartLegend.d.ts +0 -32
  153. package/dist/types/react/ui/Checkbox.d.ts +0 -21
  154. package/dist/types/react/ui/CheckboxGroup.d.ts +0 -7
  155. package/dist/types/react/ui/ChoicePicker.d.ts +0 -39
  156. package/dist/types/react/ui/Comparison.d.ts +0 -14
  157. package/dist/types/react/ui/ComposedChart.d.ts +0 -41
  158. package/dist/types/react/ui/ComposedChartLegend.d.ts +0 -9
  159. package/dist/types/react/ui/ContentSkeleton.d.ts +0 -7
  160. package/dist/types/react/ui/DataApp.d.ts +0 -24
  161. package/dist/types/react/ui/DataAppFrame.d.ts +0 -52
  162. package/dist/types/react/ui/DataBoundary.d.ts +0 -14
  163. package/dist/types/react/ui/DataSection.d.ts +0 -14
  164. package/dist/types/react/ui/DataSectionBoundary.d.ts +0 -30
  165. package/dist/types/react/ui/DataTable.d.ts +0 -29
  166. package/dist/types/react/ui/DataValue.d.ts +0 -9
  167. package/dist/types/react/ui/DataViewToast.d.ts +0 -11
  168. package/dist/types/react/ui/DataWidget.d.ts +0 -37
  169. package/dist/types/react/ui/DateDisplay.d.ts +0 -9
  170. package/dist/types/react/ui/DateRangePicker.d.ts +0 -30
  171. package/dist/types/react/ui/DateTimeTooltip.d.ts +0 -10
  172. package/dist/types/react/ui/DimensionPicker.d.ts +0 -13
  173. package/dist/types/react/ui/EmptyState.d.ts +0 -6
  174. package/dist/types/react/ui/ExplorationActionControl.d.ts +0 -60
  175. package/dist/types/react/ui/ExportControl.d.ts +0 -4
  176. package/dist/types/react/ui/FilterActions.d.ts +0 -10
  177. package/dist/types/react/ui/FilterBar.d.ts +0 -3
  178. package/dist/types/react/ui/FunnelChart.d.ts +0 -20
  179. package/dist/types/react/ui/GettingStarted.d.ts +0 -6
  180. package/dist/types/react/ui/GlossaryDefinition.d.ts +0 -7
  181. package/dist/types/react/ui/GlossaryExplanation.d.ts +0 -16
  182. package/dist/types/react/ui/GradientScroll.d.ts +0 -23
  183. package/dist/types/react/ui/Grid.d.ts +0 -12
  184. package/dist/types/react/ui/GridItem.d.ts +0 -7
  185. package/dist/types/react/ui/HelpPopover.d.ts +0 -21
  186. package/dist/types/react/ui/IconButton.d.ts +0 -19
  187. package/dist/types/react/ui/InspectionContext.d.ts +0 -12
  188. package/dist/types/react/ui/InspectionProvider.d.ts +0 -29
  189. package/dist/types/react/ui/JourneyChart.d.ts +0 -10
  190. package/dist/types/react/ui/Kbd.d.ts +0 -7
  191. package/dist/types/react/ui/LineChart.d.ts +0 -7
  192. package/dist/types/react/ui/LiveControl.d.ts +0 -10
  193. package/dist/types/react/ui/Menu.d.ts +0 -13
  194. package/dist/types/react/ui/MetricWidget.d.ts +0 -51
  195. package/dist/types/react/ui/NumberField.d.ts +0 -27
  196. package/dist/types/react/ui/NumberFilterPicker.d.ts +0 -11
  197. package/dist/types/react/ui/PeriodSummary.d.ts +0 -17
  198. package/dist/types/react/ui/PickerField.d.ts +0 -23
  199. package/dist/types/react/ui/PieChart.d.ts +0 -11
  200. package/dist/types/react/ui/PopoverSurface.d.ts +0 -5
  201. package/dist/types/react/ui/PresentStory.d.ts +0 -30
  202. package/dist/types/react/ui/QueryList.d.ts +0 -14
  203. package/dist/types/react/ui/RadioGroup.d.ts +0 -18
  204. package/dist/types/react/ui/Ranking.d.ts +0 -13
  205. package/dist/types/react/ui/RefreshControl.d.ts +0 -9
  206. package/dist/types/react/ui/RequestHint.d.ts +0 -20
  207. package/dist/types/react/ui/RetentionChart.d.ts +0 -27
  208. package/dist/types/react/ui/ScatterChart.d.ts +0 -17
  209. package/dist/types/react/ui/SearchField.d.ts +0 -23
  210. package/dist/types/react/ui/SearchInput.d.ts +0 -10
  211. package/dist/types/react/ui/SearchMatch.d.ts +0 -6
  212. package/dist/types/react/ui/SearchTypeahead.d.ts +0 -15
  213. package/dist/types/react/ui/SectionHeading.d.ts +0 -8
  214. package/dist/types/react/ui/Select.d.ts +0 -22
  215. package/dist/types/react/ui/SelectionMark.d.ts +0 -5
  216. package/dist/types/react/ui/Sheet.d.ts +0 -21
  217. package/dist/types/react/ui/Skeleton.d.ts +0 -8
  218. package/dist/types/react/ui/Stack.d.ts +0 -7
  219. package/dist/types/react/ui/StaticDataApp.d.ts +0 -4
  220. package/dist/types/react/ui/StatusPanel.d.ts +0 -10
  221. package/dist/types/react/ui/TableWidget.d.ts +0 -67
  222. package/dist/types/react/ui/Tabs.d.ts +0 -10
  223. package/dist/types/react/ui/TextContent.d.ts +0 -4
  224. package/dist/types/react/ui/TextWidget.d.ts +0 -20
  225. package/dist/types/react/ui/ThemeSelector.d.ts +0 -12
  226. package/dist/types/react/ui/Toast.d.ts +0 -8
  227. package/dist/types/react/ui/Tooltip.d.ts +0 -23
  228. package/dist/types/react/ui/TooltipSurface.d.ts +0 -3
  229. package/dist/types/react/ui/TrendChart.d.ts +0 -5
  230. package/dist/types/react/ui/UpdatedAt.d.ts +0 -9
  231. package/dist/types/react/ui/VariableBar.d.ts +0 -6
  232. package/dist/types/react/ui/VisualizationWidget.d.ts +0 -43
  233. package/dist/types/react/ui/WidgetDisclosure.d.ts +0 -6
  234. package/dist/types/react/ui/WidgetEvidence.d.ts +0 -12
  235. package/dist/types/react/ui/WidgetViewTabs.d.ts +0 -16
  236. package/dist/types/react/ui/chart-data.d.ts +0 -36
  237. package/dist/types/react/ui/chart-date-axis.d.ts +0 -15
  238. package/dist/types/react/ui/chart-interaction.d.ts +0 -27
  239. package/dist/types/react/ui/chart-primitives.d.ts +0 -22
  240. package/dist/types/react/ui/chart-time.d.ts +0 -19
  241. package/dist/types/react/ui/chartColor.d.ts +0 -2
  242. package/dist/types/react/ui/classNames.d.ts +0 -1
  243. package/dist/types/react/ui/csv-export.d.ts +0 -19
  244. package/dist/types/react/ui/data-context.d.ts +0 -76
  245. package/dist/types/react/ui/data-identifiers.d.ts +0 -32
  246. package/dist/types/react/ui/icons.d.ts +0 -49
  247. package/dist/types/react/ui/index.d.ts +0 -111
  248. package/dist/types/react/ui/journey-flow.d.ts +0 -49
  249. package/dist/types/react/ui/keyboard.d.ts +0 -6
  250. package/dist/types/react/ui/metric-comparison.d.ts +0 -30
  251. package/dist/types/react/ui/metric.d.ts +0 -11
  252. package/dist/types/react/ui/presentation.d.ts +0 -25
  253. package/dist/types/react/ui/search.d.ts +0 -6
  254. package/dist/types/react/ui/searchItems.d.ts +0 -36
  255. package/dist/types/react/ui/shortcuts.d.ts +0 -45
  256. package/dist/types/react/ui/story.d.ts +0 -20
  257. package/dist/types/react/ui/use-chart-scroll-to-end.d.ts +0 -2
  258. package/dist/types/react/ui/useAppAppearance.d.ts +0 -3
  259. package/dist/types/react/ui/useDataAppPresentation.d.ts +0 -3
  260. package/dist/types/react/ui/useSvgId.d.ts +0 -2
  261. package/dist/types/react/ui/variables.d.ts +0 -38
  262. package/dist/types/react/ui/widget-views.d.ts +0 -3
  263. package/dist/types/react/view-control-bar.d.ts +0 -18
  264. package/dist/types/react/view-controls.d.ts +0 -20
  265. package/dist/types/react/view-runtime.d.ts +0 -34
  266. package/dist/types/react/view.d.ts +0 -87
  267. package/dist/types/react/widgets.d.ts +0 -90
  268. package/dist/types/server/local.d.ts +0 -19
  269. package/dist/types/server/preview/host.d.ts +0 -1
  270. package/dist/types/server/preview/index.d.ts +0 -16
  271. package/dist/types/server/reload-channel.d.ts +0 -6
  272. package/dist/worker.js +0 -106
  273. package/examples/starter-data-app/index.tsx +0 -193
  274. package/examples/starter-local-data-app/.bun-version +0 -1
  275. package/examples/starter-local-data-app/.node-version +0 -1
  276. package/examples/starter-local-data-app/.oxfmtrc.json +0 -4
  277. package/examples/starter-local-data-app/.oxlintrc.json +0 -33
  278. package/examples/starter-local-data-app/AGENTS.md +0 -22
  279. package/examples/starter-local-data-app/README.md +0 -54
  280. package/examples/starter-local-data-app/app.ts +0 -28
  281. package/examples/starter-local-data-app/bunfig.toml +0 -2
  282. package/examples/starter-local-data-app/package.json +0 -33
  283. package/examples/starter-local-data-app/src/App.tsx +0 -8
  284. package/examples/starter-local-data-app/src/assets.d.ts +0 -1
  285. package/examples/starter-local-data-app/src/data-context.ts +0 -21
  286. package/examples/starter-local-data-app/src/favicon.svg +0 -13
  287. package/examples/starter-local-data-app/src/index.html +0 -14
  288. package/examples/starter-local-data-app/src/main.tsx +0 -7
  289. package/examples/starter-local-data-app/src/operations.ts +0 -6
  290. package/examples/starter-local-data-app/src/server.ts +0 -6
  291. package/examples/starter-local-data-app/tsconfig.json +0 -21
@@ -1,8 +0,0 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
- export type SkeletonProps = Omit<ComponentPropsWithRef<'span'>, 'children' | 'aria-hidden'> & {
3
- /** Align a text-sized placeholder with surrounding prose. */
4
- inline?: boolean;
5
- };
6
- /** Decorative loading placeholder that fades in only when loading takes a moment.
7
- * Put the accessible status on its container. */
8
- export declare function Skeleton({ inline, className, ...props }: SkeletonProps): import("react").JSX.Element;
@@ -1,7 +0,0 @@
1
- import type { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type StackProps = {
3
- children: ReactNode;
4
- gap?: 'sm' | 'md' | 'lg';
5
- } & Omit<ComponentPropsWithRef<'div'>, 'children'>;
6
- /** Vertical layout for peer sections or request boundaries, with the page's section gap. */
7
- export declare function Stack({ children, gap, className, ...props }: StackProps): import("react").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { type StaticDataAppProps } from './DataAppFrame.js';
2
- export type DataAppProps = StaticDataAppProps;
3
- /** Setup and static screens; fetched data uses the declared-view DataApp. */
4
- export declare function DataApp(props: DataAppProps): import("react").JSX.Element;
@@ -1,10 +0,0 @@
1
- import type { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type StatusPanelProps = {
3
- status: 'loading' | 'empty' | 'error';
4
- title: ReactNode;
5
- description?: ReactNode;
6
- details?: ReactNode;
7
- action?: ReactNode;
8
- children?: ReactNode;
9
- } & Omit<ComponentPropsWithRef<'div'>, 'children' | 'title'>;
10
- export declare function StatusPanel({ status, title, description, details, action, children, className, role, ...props }: StatusPanelProps): import("react").JSX.Element;
@@ -1,67 +0,0 @@
1
- import { type ComponentPropsWithRef, type ReactNode } from 'react';
2
- import type { WidgetEvidence } from './WidgetEvidence.js';
3
- import type { WidgetStatus } from './RequestHint.js';
4
- import { type DataTableSearch } from './DataTable.js';
5
- import type { EmptyContent } from './presentation.js';
6
- import { type SearchHit, type SearchItemsOptions } from './searchItems.js';
7
- import type { DataReading } from '../../core/reading.js';
8
- export type TableWidgetColumn<Row> = {
9
- /** Stable, nonempty identity; unique within this table. */
10
- id: string;
11
- header: ReactNode;
12
- type?: 'number' | 'datetime';
13
- /** Render this column's value for one row. The table owns its cell element and semantics. */
14
- cell: (row: Row, hit?: SearchHit<Row>) => ReactNode;
15
- };
16
- export type TableWidgetSearch<Row> = Omit<DataTableSearch, 'itemCount'> & Pick<SearchItemsOptions<Row>, 'attributes' | 'mode' | 'fuzzyThreshold'>;
17
- export type TableDisplayMode = {
18
- /** Positive integer preview cap after search; disables pagination. */
19
- limit: number;
20
- pagination?: never;
21
- } | {
22
- /** Local pagination after search: 10 rows by default, false shows all supplied rows.
23
- * pageSize must be a positive integer. Counts refer only to supplied rows.
24
- * The widget owns bottom-footer controls and shares the current page with inspection. */
25
- pagination?: {
26
- pageSize: number;
27
- } | false;
28
- limit?: never;
29
- };
30
- type TableWidgetBaseProps<Row> = {
31
- title: ReactNode;
32
- headingLevel?: 2 | 3 | 4 | 5 | 6;
33
- annotationId?: string;
34
- /** Show the matching supplied-row count before pagination or limits. Defaults to true. */
35
- showCount?: boolean;
36
- /** Override the derived count, for example with a server total. Hidden when showCount is false or loading. */
37
- count?: number;
38
- /** Clear only filters affecting this dataset. Supply only while those filters are active; enables empty-result recovery. */
39
- onClearFilters?: () => void;
40
- description?: ReactNode;
41
- columns: readonly [TableWidgetColumn<Row>, ...TableWidgetColumn<Row>[]];
42
- /** Unique, nonempty row identity. Numeric keys must be finite; 1 and "1" collide. */
43
- rowKey: (row: Row) => string | number;
44
- status?: WidgetStatus;
45
- action?: ReactNode;
46
- evidence?: WidgetEvidence;
47
- search?: TableWidgetSearch<Row>;
48
- /** Valid result with no rows; the header remains visible. */
49
- emptyFallback: EmptyContent;
50
- /** No local search matches or explicitly filtered results. Defaults to “No matching results” with recovery guidance. */
51
- noMatchesFallback?: EmptyContent;
52
- } & TableDisplayMode & Omit<ComponentPropsWithRef<'section'>, 'about' | 'title' | 'children'>;
53
- /** Composes VisualizationWidget with DataTable, search, and local pagination.
54
- * Columns own header and body semantics; the first column is the row header.
55
- * Use DataTable inside VisualizationWidget directly for custom table markup. */
56
- export type TableWidgetProps<Row> = TableWidgetBaseProps<Row> & ({
57
- rows: readonly Row[];
58
- reading?: never;
59
- skeletonRows?: never;
60
- } | {
61
- reading: DataReading<readonly Row[]>;
62
- rows?: never;
63
- skeletonRows?: number;
64
- evidence: WidgetEvidence;
65
- });
66
- export declare function TableWidget<Row>(props: TableWidgetProps<Row>): import("react").JSX.Element;
67
- export {};
@@ -1,10 +0,0 @@
1
- import { type ComponentPropsWithRef, type RefAttributes } from 'react';
2
- import { Tabs as AriaTabs, type TabListProps, Tab as AriaTab, TabPanels, TabPanel as AriaTabPanel } from 'react-aria-components/Tabs';
3
- /** React Aria tabs with keyboard and ARIA behavior; pair each Tab and TabPanel by stable id. */
4
- export { TabPanels };
5
- export declare function TabList<T>({ className, ref, ...props }: TabListProps<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
6
- export declare function Tab(props: ComponentPropsWithRef<typeof AriaTab>): import("react").JSX.Element;
7
- export declare function TabPanel(props: ComponentPropsWithRef<typeof AriaTabPanel>): import("react").JSX.Element;
8
- export declare function Tabs({ className, ...props }: ComponentPropsWithRef<typeof AriaTabs>): import("react").JSX.Element;
9
- /** Keep a page-level tab in `?view=`; reserve `?tab=` for the inspect sheet. */
10
- export declare function useViewTab<View extends string>(views: readonly View[], fallback: View): [View, (key: string | number) => void];
@@ -1,4 +0,0 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
- export type TextContentProps = ComponentPropsWithRef<'div'>;
3
- /** Prose typography for page introductions, widget bodies, and inspection content. */
4
- export declare function TextContent({ className, ...props }: TextContentProps): import("react").JSX.Element;
@@ -1,20 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { DataReading } from '../../core/reading.js';
3
- import { type DataWidgetProps } from './DataWidget.js';
4
- import type { WidgetEvidence } from './WidgetEvidence.js';
5
- type TextWidgetBaseProps = Omit<Extract<DataWidgetProps, {
6
- reading?: never;
7
- }>, 'reading' | 'children' | 'isEmpty' | 'empty' | 'skeleton' | 'bodyPadding'>;
8
- /** Narrative sibling of VisualizationWidget, composing DataWidget with TextContent.
9
- * Use TextContent directly for borderless prose. Bind claims and scope to the same displayed reading.
10
- * The renderer handles every ready value, including zero and empty collections. */
11
- export type TextWidgetProps<Data = unknown> = TextWidgetBaseProps & ({
12
- reading: DataReading<Data>;
13
- evidence: WidgetEvidence;
14
- children: (data: Data) => ReactNode;
15
- } | {
16
- reading?: never;
17
- children: ReactNode;
18
- });
19
- export declare function TextWidget<Data>(props: TextWidgetProps<Data>): import("react").JSX.Element;
20
- export {};
@@ -1,12 +0,0 @@
1
- import { type ComponentPropsWithRef, type ReactNode, type RefObject } from 'react';
2
- import type { ThemeController } from '../../core/appearance.js';
3
- export type ThemeSelectorProps = {
4
- theme: ThemeController;
5
- children?: ReactNode;
6
- } & Omit<ComponentPropsWithRef<'fieldset'>, 'children'>;
7
- /** Viewer color preference. Brand tokens remain app-owned. */
8
- export declare function ThemeSelector({ theme, children, className, ...props }: ThemeSelectorProps): import("react").JSX.Element;
9
- export declare function ThemeToggle({ theme, portalRoot, }: {
10
- theme: ThemeController;
11
- portalRoot?: RefObject<HTMLElement | null>;
12
- }): import("react").JSX.Element;
@@ -1,8 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- /** Shared page-level feedback for requests and toolbar actions. */
3
- export declare function Toast({ state, children, onRetry, position, }: {
4
- state: 'updating' | 'error' | 'notice';
5
- children: ReactNode;
6
- onRetry?: () => void;
7
- position?: 'top' | 'bottom';
8
- }): import("react").JSX.Element;
@@ -1,23 +0,0 @@
1
- import { type ComponentPropsWithRef, type ReactNode, type RefObject } from 'react';
2
- export type TooltipProviderProps = {
3
- children: ReactNode;
4
- delay?: number;
5
- skipDelayDuration?: number;
6
- };
7
- /** Delay the first hover, then open nearby tooltips without waiting during the skip window.
8
- * Keyboard focus always opens immediately. AppLayout provides this by default. */
9
- export declare function TooltipProvider({ children, delay, skipDelayDuration, }: TooltipProviderProps): import("react").JSX.Element;
10
- export type TooltipProps = {
11
- content: ReactNode;
12
- children: ReactNode;
13
- variant?: 'hint' | 'chart';
14
- onOpenChange?: (open: boolean) => void;
15
- align?: 'start' | 'center' | 'end';
16
- placement?: 'top' | 'bottom';
17
- portalRoot?: RefObject<HTMLElement | null>;
18
- } & Omit<ComponentPropsWithRef<'span'>, 'children' | 'content'>;
19
- /** Short visual hint for an already labeled control. variant="chart" follows the cursor
20
- * on hover and toggles on tap so a bar or point can show the period and value. Chart
21
- * tooltips dismiss on scroll and do not open on keyboard focus. Hint
22
- * tooltips hide once the control is pressed. Escape closes either. */
23
- export declare function Tooltip({ content, children, onOpenChange, variant, align, placement, portalRoot, className, ref, onPointerEnter, onPointerMove, onPointerLeave, onPointerDown, onFocusCapture, onBlurCapture, ...props }: TooltipProps): import("react").JSX.Element;
@@ -1,3 +0,0 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
- /** Shared surface for floating hints and chart value inspection. */
3
- export declare function TooltipSurface({ className, ...props }: ComponentPropsWithRef<'span'>): import("react").JSX.Element;
@@ -1,5 +0,0 @@
1
- import type { ChartItem, ValueChartProps } from './chart-data.js';
2
- /** Ordered, equally spaced samples; negative values share an explicit zero baseline. */
3
- export declare function TrendChart<Row extends ChartItem>({ items, unit, ariaLabel, formatValue, kind, itemActions, }: ValueChartProps<Row> & {
4
- kind: 'line' | 'area';
5
- }): import("react").JSX.Element;
@@ -1,9 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- import { type DateTimeTooltipProps } from './DateTimeTooltip.js';
3
- export type UpdatedAtProps = {
4
- timestamp: number;
5
- locale?: string;
6
- label?: string;
7
- children?: ReactNode;
8
- } & Omit<DateTimeTooltipProps, 'date' | 'children'>;
9
- export declare function UpdatedAt({ timestamp, locale, label, children, triggerProps, ...props }: UpdatedAtProps): import("react").JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type VariableBarProps = {
3
- children: ReactNode;
4
- } & Omit<ComponentPropsWithRef<'div'>, 'children'>;
5
- /** User-controlled inputs below the page header. */
6
- export declare function VariableBar({ children, className, role, 'aria-label': ariaLabel, ...props }: VariableBarProps): import("react").JSX.Element;
@@ -1,43 +0,0 @@
1
- import { type ComponentPropsWithRef, type ReactNode } from 'react';
2
- import { type DataWidgetProps } from './DataWidget.js';
3
- import type { BoundWidgetReading } from './presentation.js';
4
- type VisualizationWidgetBaseProps = Pick<DataWidgetProps, 'title' | 'headingLevel' | 'annotationId' | 'description' | 'count' | 'action' | 'evidence' | 'records' | 'status' | 'emptyFallback'> & {
5
- /** Footer controls, such as table pagination. */
6
- footer?: ReactNode;
7
- } & Omit<ComponentPropsWithRef<'section'>, 'about' | 'title' | 'children'>;
8
- type UnboundVisualizationWidgetProps = VisualizationWidgetBaseProps & ({
9
- loading: true;
10
- loadingContent?: ReactNode;
11
- visual?: never;
12
- } | {
13
- loading?: false;
14
- visual: ReactNode;
15
- loadingContent?: never;
16
- });
17
- export type VisualizationWidgetView<Data> = {
18
- /** Stable, nonempty identity; unique within this widget. */
19
- id: string;
20
- label: ReactNode;
21
- render: (data: Data) => ReactNode;
22
- };
23
- type BoundVisualizationWidgetBase<Data> = VisualizationWidgetBaseProps & BoundWidgetReading<Data> & {
24
- visual?: never;
25
- loading?: never;
26
- };
27
- /** DataWidget frame for charts, DataTable, metrics, or a custom data display.
28
- * Owns alternate-view selection and shares it with inspection. Built-in charts own
29
- * transient tooltips; lift persistent custom interactions above both mounts.
30
- * For narrative prose use the sibling TextWidget, which composes DataWidget directly. */
31
- export type VisualizationWidgetProps<Data = unknown> = UnboundVisualizationWidgetProps | (BoundVisualizationWidgetBase<Data> & {
32
- children: (data: Data) => ReactNode;
33
- views?: never;
34
- }) | (BoundVisualizationWidgetBase<Data> & {
35
- views: readonly VisualizationWidgetView<Data>[];
36
- viewLabel: string;
37
- /** An existing view ID; defaults to the first view. Validated while loading too. */
38
- initialView?: string;
39
- children?: never;
40
- });
41
- /** Compose an unframed visual with the shared heading and inspection. */
42
- export declare function VisualizationWidget<Data>(props: VisualizationWidgetProps<Data>): import("react").JSX.Element;
43
- export {};
@@ -1,6 +0,0 @@
1
- import type { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type WidgetDisclosureProps = {
3
- label: ReactNode;
4
- children: ReactNode;
5
- } & Omit<ComponentPropsWithRef<'details'>, 'children'>;
6
- export declare function WidgetDisclosure({ label, children, className, ...props }: WidgetDisclosureProps): import("react").JSX.Element;
@@ -1,12 +0,0 @@
1
- import type { AboutSubject } from './AboutData.js';
2
- type EvidenceDetails = Omit<AboutSubject, 'id' | 'title' | 'description' | 'visual' | 'visualKind' | 'references'> & {
3
- id: string;
4
- };
5
- export type WidgetEvidence = EvidenceDetails & ({
6
- glossaryIds: [string, ...string[]];
7
- queryNames?: string[];
8
- } | {
9
- queryNames: [string, ...string[]];
10
- glossaryIds?: string[];
11
- });
12
- export {};
@@ -1,16 +0,0 @@
1
- import type { ComponentPropsWithRef, ReactNode } from 'react';
2
- import type { EmptyContent } from './presentation.js';
3
- export type WidgetView = {
4
- id: string;
5
- label: ReactNode;
6
- content: ReactNode;
7
- emptyFallback: EmptyContent;
8
- isEmpty: boolean;
9
- };
10
- export type WidgetViewTabsProps<Views extends readonly WidgetView[] = readonly WidgetView[]> = {
11
- label: string;
12
- views: Views;
13
- selectedKey: NoInfer<Views[number]['id']>;
14
- onSelectionChange: (key: Views[number]['id']) => void;
15
- } & Omit<ComponentPropsWithRef<'div'>, 'children'>;
16
- export declare function WidgetViewTabs<const Views extends readonly WidgetView[]>({ label, views, selectedKey, onSelectionChange, className, ...props }: WidgetViewTabsProps<Views>): import("react").JSX.Element;
@@ -1,36 +0,0 @@
1
- import type { ItemActions } from './ExplorationActionControl.js';
2
- /** Ordered category or time-series sample. IDs are unique and nonblank; values are finite. */
3
- export type ChartItem = {
4
- id: string;
5
- label: string;
6
- value: number;
7
- };
8
- export type ValueChartProps<Row extends ChartItem = ChartItem> = {
9
- /** Ordered samples; the chart validates IDs and values when rendering. */
10
- items: readonly Row[];
11
- /** Actions available for each displayed item. Domain fields remain available to this callback. */
12
- itemActions?: ItemActions<Row>;
13
- unit: string;
14
- ariaLabel: string;
15
- formatValue?: (value: number) => string;
16
- };
17
- export type CountChartProps = {
18
- /** Accessible measure and scope description. */
19
- ariaLabel: string;
20
- /** Population unit, such as users or sessions. */
21
- unit: string;
22
- /** Formats counts; rates use percentage formatting. */
23
- formatValue?: (value: number) => string;
24
- className?: string;
25
- };
26
- /** Independent observation on two finite numeric axes. */
27
- export type ScatterChartItem = {
28
- id: string;
29
- label: string;
30
- x: number;
31
- y: number;
32
- };
33
- type ValueChartKind = 'bar' | 'line' | 'area' | 'pie';
34
- export declare function validateValueChartItems(kind: ValueChartKind, items: readonly ChartItem[]): void;
35
- export declare function validateScatterChartItems(items: readonly ScatterChartItem[]): void;
36
- export {};
@@ -1,15 +0,0 @@
1
- import { type ComponentProps, type ReactNode } from 'react';
2
- import { XAxis } from 'recharts';
3
- type LabelFormatter = (value: unknown) => string;
4
- export declare function ChartDateAxes({ data, children, }: {
5
- data: readonly unknown[];
6
- children: ReactNode;
7
- }): import("react").JSX.Element;
8
- export declare function useDateAxisLabel(id?: string | number): LabelFormatter | undefined;
9
- /**
10
- * Infers temporal input from ISO dates, zoned ISO timestamps, and Date values.
11
- * Use scale="utc" for epoch milliseconds or type="category" for date-like categories.
12
- * Explicit tick formatters and tick lists retain authored axis behavior.
13
- */
14
- export declare function ChartXAxis<Row = unknown, Value = string | number | Date>(props: ComponentProps<typeof XAxis<Row, Value>>): import("react").JSX.Element;
15
- export {};
@@ -1,27 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- /** Coordinates in the chart SVG, shared by pointer tracking and active samples. */
3
- export type ChartPoint = {
4
- x: number;
5
- y: number;
6
- };
7
- type ChartInteractionApi = {
8
- isPointerInspection: boolean;
9
- activePoint: ChartPoint | undefined;
10
- seriesCount: number;
11
- /** Line and area series register the sample at the current inspection position. */
12
- registerPoint: (id: string, x: number, y: number) => () => void;
13
- registerSeries: (id: string) => () => void;
14
- activeSeriesId: string | null;
15
- setHoveredSeriesId: (id: string | null) => void;
16
- };
17
- export declare const ChartInteractionContext: import("react").Context<ChartInteractionApi | null>;
18
- export declare function isChartSeriesActive(interaction: ChartInteractionApi | null, seriesId: string): boolean;
19
- export declare function useChartSeries(id?: string): {
20
- id: string;
21
- active: boolean;
22
- };
23
- export declare function ChartSeries({ id, children, }: {
24
- id: string;
25
- children: ReactNode;
26
- }): import("react").JSX.Element;
27
- export {};
@@ -1,22 +0,0 @@
1
- export { ChartXAxis } from './chart-date-axis.js';
2
- import { type ComponentProps } from 'react';
3
- import { type DotProps, Scatter, YAxis, CartesianGrid, Tooltip, DefaultTooltipContent, type BarProps, type LineProps, type AreaProps } from 'recharts';
4
- /** Hollow sample marker shared by standalone and composed series. */
5
- export declare function ChartDot({ active, stroke, fill, r, ...props }: DotProps & {
6
- active?: boolean;
7
- }): import("react").JSX.Element;
8
- /** Shared series defaults; native props override every authored choice. */
9
- export declare function ChartBar<Row = unknown, Value = number | null>(props: BarProps<Row, Value>): import("react").JSX.Element;
10
- /** Sample dots are opt-in with dot=true.
11
- * activeDot independently controls the hovered point. Native dot props and renderers remain available. */
12
- export declare function ChartLine<Row = unknown, Value = number | null>({ stroke, dot, activeDot, ...props }: LineProps<Row, Value>): import("react").JSX.Element;
13
- /** Filled series with the same sample-dot and activeDot options as ChartLine. */
14
- export declare function ChartArea<Row = unknown, Value = number | null>({ stroke, dot, activeDot, ...props }: AreaProps<Row, Value>): import("react").JSX.Element;
15
- export declare function ChartScatter<Row = unknown, Value = number>(props: ComponentProps<typeof Scatter<Row, Value>>): import("react").JSX.Element;
16
- export declare function ChartYAxis<Row = unknown, Value = number>(props: ComponentProps<typeof YAxis<Row, Value>>): import("react").JSX.Element;
17
- export declare function ChartGrid(props: ComponentProps<typeof CartesianGrid>): import("react").JSX.Element;
18
- export declare function ChartTooltipContent(props: ComponentProps<typeof DefaultTooltipContent> & {
19
- active?: boolean;
20
- }): import("react").JSX.Element | null;
21
- /** Uses the same surface as single-series inspection; Recharts owns interaction. */
22
- export declare function ChartTooltip(props: ComponentProps<typeof Tooltip>): import("react").JSX.Element;
@@ -1,19 +0,0 @@
1
- /** Only ISO calendar dates and zoned instants are inferred. Numbers require scale="utc". */
2
- export declare function chartTimestamp(value: unknown, numeric?: boolean): number | null;
3
- type ChartTimeModel = {
4
- start: number;
5
- end: number;
6
- times: readonly number[];
7
- /** Smallest gap in milliseconds; a single instant uses a one-day extent. */
8
- minimumInterval: number;
9
- tooltip: (value: unknown) => string;
10
- };
11
- export declare function timeModel(values: readonly unknown[], numeric?: boolean): ChartTimeModel | null;
12
- export declare function timeTicks(model: ChartTimeModel, width: number): {
13
- ticks: number[];
14
- label: (value: number, index: number) => {
15
- main: string;
16
- context: string;
17
- };
18
- };
19
- export {};
@@ -1,2 +0,0 @@
1
- export declare function chartColor(id: string): string;
2
- export declare const chartBarFill = "var(--atbl-chart-fill, color-mix(in srgb, var(--atbl-chart-1) 75%, var(--atbl-surface)))";
@@ -1 +0,0 @@
1
- export declare function classNames(...values: Array<string | false | null | undefined>): string;
@@ -1,19 +0,0 @@
1
- export type CsvCell = string | number | boolean | null | undefined;
2
- /** One named dataset with ordered columns and raw displayed values. */
3
- export type CsvTable = {
4
- name: string;
5
- columns: readonly string[];
6
- rows: readonly (readonly CsvCell[])[];
7
- };
8
- /** All distinct datasets in the displayed result; filename names the download. */
9
- export type CsvExport = {
10
- filename: string;
11
- tables: readonly [CsvTable, ...CsvTable[]];
12
- };
13
- export declare function formatCsv({ columns, rows, }: Pick<CsvTable, 'columns' | 'rows'>): string;
14
- export declare function createCsvDownload(data: CsvExport, selectedTable?: CsvTable): {
15
- filename: string;
16
- blob: Blob;
17
- route: 'export:csv' | 'export:zip';
18
- };
19
- export declare function exportCsv(data: CsvExport, table?: CsvTable): Promise<void>;
@@ -1,76 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { DataIdentifierDefinition } from './data-identifiers.js';
3
- import type { MetricFormat } from '../../core/format.js';
4
- import type { MetricDefinition } from './metric.js';
5
- import type { StoryFinding } from './story.js';
6
- import type { WidgetEvidence } from './WidgetEvidence.js';
7
- export type GlossaryEntry = {
8
- term: string;
9
- definition: ReactNode;
10
- queryNames?: string[];
11
- };
12
- export type DataContext = {
13
- description: ReactNode;
14
- glossary: Record<string, GlossaryEntry>;
15
- identifiers?: Readonly<Record<string, DataIdentifierDefinition>>;
16
- queryNames?: Readonly<Record<string, string>>;
17
- };
18
- export type MetricDeclaration = {
19
- id: string;
20
- glossaryId: string;
21
- label?: string;
22
- format: MetricFormat;
23
- favorableDirection?: 'up' | 'down';
24
- queryNames?: readonly string[];
25
- };
26
- export type EvidenceDeclaration = {
27
- id: string;
28
- } & ({
29
- glossaryIds: readonly [string, ...string[]];
30
- queryNames?: readonly string[];
31
- } | {
32
- queryNames: readonly [string, ...string[]];
33
- glossaryIds?: readonly string[];
34
- });
35
- export type AuthoringDataContext = DataContext & {
36
- metric(definition: MetricDeclaration): MetricDefinition;
37
- evidence(definition: EvidenceDeclaration): WidgetEvidence;
38
- };
39
- /** Bind glossary query references and card evidence to the same registry. */
40
- export declare function createDataContext<const Names extends Record<string, string>>(queryNames: Names): <const Context extends Omit<DataContext, 'glossary'> & {
41
- glossary: Record<string, Omit<GlossaryEntry, 'queryNames'> & {
42
- queryNames?: Names[keyof Names][];
43
- }>;
44
- }>(context: Context) => Context & {
45
- queryNames: Names;
46
- evidence: (input: {
47
- id: string;
48
- } & ({
49
- glossaryIds: readonly [keyof Context["glossary"] & string, ...(keyof Context["glossary"] & string)[]];
50
- queryNames?: readonly Names[keyof Names][];
51
- } | {
52
- queryNames: readonly [Names[keyof Names], ...Names[keyof Names][]];
53
- glossaryIds?: readonly (keyof Context["glossary"] & string)[];
54
- })) => WidgetEvidence;
55
- finding: (input: Omit<StoryFinding, 'evidence'> & {
56
- evidence: Parameters<(input: {
57
- id: string;
58
- } & ({
59
- glossaryIds: readonly [keyof Context["glossary"] & string, ...(keyof Context["glossary"] & string)[]];
60
- queryNames?: readonly Names[keyof Names][];
61
- } | {
62
- queryNames: readonly [Names[keyof Names], ...Names[keyof Names][]];
63
- glossaryIds?: readonly (keyof Context["glossary"] & string)[];
64
- })) => WidgetEvidence>[0];
65
- }) => StoryFinding & {
66
- evidence: WidgetEvidence;
67
- };
68
- metric: (definition: {
69
- id: string;
70
- glossaryId: keyof Context['glossary'] & string;
71
- label?: string;
72
- format: MetricFormat;
73
- favorableDirection?: 'up' | 'down';
74
- queryNames?: readonly Names[keyof Names][];
75
- }) => MetricDefinition;
76
- };
@@ -1,32 +0,0 @@
1
- export type TableIdentifier = {
2
- catalog: string;
3
- schema: string;
4
- name: string;
5
- };
6
- export type ColumnIdentifier<TableId extends string = string> = {
7
- table: TableId;
8
- name: string;
9
- };
10
- export type DataIdentifierDefinition = ({
11
- kind: 'table';
12
- } & TableIdentifier) | {
13
- kind: 'column';
14
- tableId: `tables.${string}`;
15
- table: TableIdentifier;
16
- name: string;
17
- };
18
- type IdentifierId<Tables extends Record<string, TableIdentifier>, Columns extends Record<string, ColumnIdentifier<Extract<keyof Tables, string>>>> = `tables.${Extract<keyof Tables, string>}` | {
19
- [Id in Extract<keyof Columns, string>]: `columns.${Columns[Id]['table']}.${Id}`;
20
- }[Extract<keyof Columns, string>];
21
- /** Register exact source names once; returned JSX IDs are checked against this registry. */
22
- export declare function defineDataIdentifiers<const Tables extends Record<string, TableIdentifier>, const Columns extends Record<string, ColumnIdentifier<Extract<keyof Tables, string>>>>({ tables, columns }: {
23
- tables: Tables;
24
- columns: Columns;
25
- }): {
26
- definitions: Readonly<Record<IdentifierId<Tables, Columns>, DataIdentifierDefinition>>;
27
- DataIdentifier: ({ id, display, }: {
28
- id: IdentifierId<Tables, Columns>;
29
- display?: 'short' | 'qualified';
30
- }) => import("react").JSX.Element;
31
- };
32
- export {};
@@ -1,49 +0,0 @@
1
- import { type LucideProps } from 'lucide-react';
2
- /** Use semantic names to keep icon meaning and optical size consistent across controls. */
3
- declare const brandedIcons: {
4
- readonly annotate: import("lucide-react").LucideIcon;
5
- readonly cancel: import("lucide-react").LucideIcon;
6
- readonly calendar: import("lucide-react").LucideIcon;
7
- readonly clock: import("lucide-react").LucideIcon;
8
- readonly check: import("lucide-react").LucideIcon;
9
- readonly disclosure: import("lucide-react").LucideIcon;
10
- readonly breakdown: import("lucide-react").LucideIcon;
11
- readonly moreActions: import("lucide-react").LucideIcon;
12
- readonly previousMonth: import("lucide-react").LucideIcon;
13
- readonly nextMonth: import("lucide-react").LucideIcon;
14
- readonly explore: import("lucide-react").LucideIcon;
15
- /** @deprecated Use openDetails for inspection triggers. */
16
- readonly inspect: import("lucide-react").LucideIcon;
17
- readonly info: import("lucide-react").LucideIcon;
18
- readonly openDetails: import("lucide-react").LucideIcon;
19
- readonly present: import("lucide-react").LucideIcon;
20
- readonly export: import("lucide-react").LucideIcon;
21
- readonly error: import("lucide-react").LucideIcon;
22
- readonly close: import("lucide-react").LucideIcon;
23
- readonly filters: import("lucide-react").LucideIcon;
24
- readonly clearFilters: import("lucide-react").LucideIcon;
25
- readonly displayOptions: import("lucide-react").LucideIcon;
26
- readonly previous: import("lucide-react").LucideIcon;
27
- readonly next: import("lucide-react").LucideIcon;
28
- readonly lightTheme: import("lucide-react").LucideIcon;
29
- readonly darkTheme: import("lucide-react").LucideIcon;
30
- readonly live: import("lucide-react").LucideIcon;
31
- readonly loading: import("lucide-react").LucideIcon;
32
- readonly refresh: import("lucide-react").LucideIcon;
33
- readonly stop: import("lucide-react").LucideIcon;
34
- readonly reset: import("lucide-react").LucideIcon;
35
- readonly search: import("lucide-react").LucideIcon;
36
- readonly copy: import("lucide-react").LucideIcon;
37
- readonly sql: import("lucide-react").LucideIcon;
38
- readonly wrap: import("lucide-react").LucideIcon;
39
- readonly trendDown: import("lucide-react").LucideIcon;
40
- readonly trendFlat: import("lucide-react").LucideIcon;
41
- readonly trendUp: import("lucide-react").LucideIcon;
42
- };
43
- export type AppIconName = keyof typeof brandedIcons;
44
- export type AppIconProps = Omit<LucideProps, 'size'> & {
45
- name: AppIconName;
46
- size?: number | string;
47
- };
48
- export declare function AppIcon({ name, size, strokeWidth, style, ...props }: AppIconProps): import("react").FunctionComponentElement<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
49
- export {};