@siyahi/ui 0.1.9-next.2 → 0.1.9-next.21

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 (196) hide show
  1. package/DESIGN.md +30 -0
  2. package/README.md +82 -176
  3. package/THIRD_PARTY_NOTICES.md +11 -11
  4. package/agents/examples/accordion.tsx +39 -0
  5. package/agents/examples/alert.tsx +23 -0
  6. package/agents/examples/app-sidebar.tsx +38 -0
  7. package/agents/examples/avatar.tsx +14 -0
  8. package/agents/examples/badge.tsx +18 -0
  9. package/agents/examples/bar-list-labels.tsx +22 -0
  10. package/agents/examples/bar-list-sides.tsx +38 -0
  11. package/agents/examples/bar-list.tsx +24 -0
  12. package/agents/examples/breadcrumb.tsx +28 -0
  13. package/agents/examples/button-states.tsx +23 -0
  14. package/agents/examples/button.tsx +21 -0
  15. package/agents/examples/calendar.tsx +15 -0
  16. package/agents/examples/callout.tsx +33 -0
  17. package/agents/examples/card.tsx +34 -0
  18. package/agents/examples/change-bar.tsx +104 -0
  19. package/agents/examples/chart-area.tsx +39 -0
  20. package/agents/examples/chart-bar-flows.tsx +32 -0
  21. package/agents/examples/chart-bar-hourly.tsx +28 -0
  22. package/agents/examples/chart-bar-losses.tsx +29 -0
  23. package/agents/examples/chart-bar-sectors.tsx +72 -0
  24. package/agents/examples/chart-bar-years.tsx +40 -0
  25. package/agents/examples/chart-bar.tsx +56 -0
  26. package/agents/examples/chart-category-ticks.tsx +50 -0
  27. package/agents/examples/chart-line-events.tsx +47 -0
  28. package/agents/examples/chart-line-timeline.tsx +41 -0
  29. package/agents/examples/chart-line.tsx +57 -0
  30. package/agents/examples/code-block.tsx +38 -0
  31. package/agents/examples/collapsible.tsx +16 -0
  32. package/agents/examples/command.tsx +27 -0
  33. package/agents/examples/context-menu.tsx +15 -0
  34. package/agents/examples/copy-button.tsx +8 -0
  35. package/agents/examples/data-bar.tsx +121 -0
  36. package/agents/examples/data-table-compact.tsx +95 -0
  37. package/agents/examples/data-table-filters.tsx +103 -0
  38. package/agents/examples/data-table.tsx +98 -0
  39. package/agents/examples/delta.tsx +13 -0
  40. package/agents/examples/dialog.tsx +28 -0
  41. package/agents/examples/distribution-bar-budget.tsx +30 -0
  42. package/agents/examples/distribution-bar-tug.tsx +72 -0
  43. package/agents/examples/dropdown-menu.tsx +31 -0
  44. package/agents/examples/formatters.tsx +42 -0
  45. package/agents/examples/heatmap-calendar.tsx +60 -0
  46. package/agents/examples/heatmap-status.tsx +57 -0
  47. package/agents/examples/heatmap-weekday.tsx +75 -0
  48. package/agents/examples/input-states.tsx +33 -0
  49. package/agents/examples/input.tsx +17 -0
  50. package/agents/examples/local-time.tsx +14 -0
  51. package/agents/examples/metric-strip.tsx +46 -0
  52. package/agents/examples/overview-dashboard.tsx +18 -0
  53. package/agents/examples/page-hero.tsx +38 -0
  54. package/agents/examples/page-section.tsx +52 -0
  55. package/agents/examples/popover.tsx +23 -0
  56. package/agents/examples/price-chart.tsx +32 -0
  57. package/agents/examples/progress-tone.tsx +28 -0
  58. package/agents/examples/progress.tsx +10 -0
  59. package/agents/examples/range-position-table.tsx +101 -0
  60. package/agents/examples/range-position.tsx +53 -0
  61. package/agents/examples/scroll-area.tsx +20 -0
  62. package/agents/examples/section-cards-select.tsx +30 -0
  63. package/agents/examples/section-cards-trend.tsx +30 -0
  64. package/agents/examples/section-cards.tsx +48 -0
  65. package/agents/examples/select.tsx +27 -0
  66. package/agents/examples/separator.tsx +13 -0
  67. package/agents/examples/sheet.tsx +15 -0
  68. package/agents/examples/skeleton.tsx +11 -0
  69. package/agents/examples/slider.tsx +5 -0
  70. package/agents/examples/surfaces.tsx +116 -0
  71. package/agents/examples/table.tsx +50 -0
  72. package/agents/examples/tabs.tsx +16 -0
  73. package/agents/examples/target-rows.tsx +70 -0
  74. package/agents/examples/toggle-group.tsx +12 -0
  75. package/agents/examples/toggle.tsx +11 -0
  76. package/agents/examples/tooltip.tsx +13 -0
  77. package/agents/examples/treemap.tsx +88 -0
  78. package/agents/manifest.json +1081 -0
  79. package/agents/report-rules.json +7 -0
  80. package/dist/components/registry/charts/area-chart-card.js +25 -7
  81. package/dist/components/registry/charts/bar-chart-card.d.ts +0 -1
  82. package/dist/components/registry/charts/bar-chart-card.js +40 -26
  83. package/dist/components/registry/charts/line-chart-card.js +2 -2
  84. package/dist/components/registry/dashboard-01/section-cards.d.ts +2 -0
  85. package/dist/components/registry/dashboard-01/section-cards.js +42 -35
  86. package/dist/components/registry/dashboardcn/bar-list.js +18 -11
  87. package/dist/components/registry/dashboardcn/distribution-bar.js +1 -1
  88. package/dist/components/registry/dashboardcn/kpi-row-card.d.ts +29 -0
  89. package/dist/components/registry/dashboardcn/kpi-row-card.js +81 -0
  90. package/dist/components/registry/dashboardcn/sparkline.d.ts +22 -0
  91. package/dist/components/registry/dashboardcn/sparkline.js +117 -0
  92. package/dist/components/registry/heatmap/calendar-heatmap.d.ts +4 -2
  93. package/dist/components/registry/heatmap/calendar-heatmap.js +74 -33
  94. package/dist/components/registry/heatmap/status-heatmap.d.ts +5 -3
  95. package/dist/components/registry/heatmap/status-heatmap.js +37 -15
  96. package/dist/components/registry/heatmap/weekday-heatmap.d.ts +9 -3
  97. package/dist/components/registry/heatmap/weekday-heatmap.js +82 -47
  98. package/dist/components/registry/niko-table/core/data-table-context.d.ts +18 -1
  99. package/dist/components/registry/niko-table/core/data-table-context.js +7 -1
  100. package/dist/components/registry/niko-table/core/data-table-grouped-row.js +3 -1
  101. package/dist/components/registry/niko-table/core/data-table-root.js +39 -4
  102. package/dist/components/registry/niko-table/core/data-table-structure.js +17 -12
  103. package/dist/components/registry/niko-table/core/data-table.d.ts +2 -2
  104. package/dist/components/registry/niko-table/core/data-table.js +5 -1
  105. package/dist/components/registry/niko-table/filters/table-faceted-filter.js +4 -4
  106. package/dist/components/registry/niko-table/filters/table-search-filter.js +1 -1
  107. package/dist/components/registry/niko-table/lib/flex-columns.d.ts +1 -1
  108. package/dist/components/registry/niko-table/lib/flex-columns.js +3 -3
  109. package/dist/components/registry/niko-table/lib/styles.d.ts +1 -1
  110. package/dist/components/registry/niko-table/lib/styles.js +3 -3
  111. package/dist/components/registry/niko-table/types/index.d.ts +9 -0
  112. package/dist/components/registry/niko-table/ui/table.js +2 -2
  113. package/dist/components/registry/sidebar-07/app-sidebar.d.ts +1 -1
  114. package/dist/components/registry/sidebar-07/app-sidebar.js +3 -1
  115. package/dist/components/registry/sidebar-07/nav-main.d.ts +2 -1
  116. package/dist/components/registry/sidebar-07/nav-main.js +16 -3
  117. package/dist/components/siyahi/callout.d.ts +24 -0
  118. package/dist/components/siyahi/callout.js +40 -0
  119. package/dist/components/siyahi/change-bar.d.ts +21 -0
  120. package/dist/components/siyahi/change-bar.js +35 -0
  121. package/dist/components/siyahi/data-bar.d.ts +19 -0
  122. package/dist/components/siyahi/data-bar.js +29 -0
  123. package/dist/components/siyahi/data-table-compact-columns-toggle.d.ts +4 -0
  124. package/dist/components/siyahi/data-table-compact-columns-toggle.js +19 -0
  125. package/dist/components/siyahi/data-table-footnote.d.ts +12 -0
  126. package/dist/components/siyahi/data-table-footnote.js +35 -0
  127. package/dist/components/siyahi/default-sidebar-open.d.ts +8 -0
  128. package/dist/components/siyahi/default-sidebar-open.js +13 -0
  129. package/dist/components/siyahi/page-hero.d.ts +25 -0
  130. package/dist/components/siyahi/page-hero.js +41 -0
  131. package/dist/components/siyahi/page-section.d.ts +4 -1
  132. package/dist/components/siyahi/page-section.js +6 -3
  133. package/dist/components/siyahi/page-toc.d.ts +20 -0
  134. package/dist/components/siyahi/page-toc.js +76 -0
  135. package/dist/components/siyahi/panel-grid.d.ts +22 -0
  136. package/dist/components/siyahi/panel-grid.js +34 -0
  137. package/dist/components/siyahi/quote.d.ts +12 -0
  138. package/dist/components/siyahi/quote.js +23 -0
  139. package/dist/components/siyahi/range-position.d.ts +24 -0
  140. package/dist/components/siyahi/range-position.js +105 -0
  141. package/dist/components/siyahi/siyahi-provider.d.ts +13 -2
  142. package/dist/components/siyahi/siyahi-provider.js +17 -4
  143. package/dist/components/siyahi/target-rows.d.ts +34 -0
  144. package/dist/components/siyahi/target-rows.js +97 -0
  145. package/dist/components/siyahi/treemap.d.ts +4 -1
  146. package/dist/components/siyahi/treemap.js +78 -28
  147. package/dist/components/siyahi/warning-alert.d.ts +10 -0
  148. package/dist/components/siyahi/warning-alert.js +20 -0
  149. package/dist/components/ui/accordion.js +5 -5
  150. package/dist/components/ui/alert.js +2 -2
  151. package/dist/components/ui/badge.js +1 -1
  152. package/dist/components/ui/breadcrumb.js +2 -2
  153. package/dist/components/ui/button.js +10 -10
  154. package/dist/components/ui/calendar.js +1 -1
  155. package/dist/components/ui/card.js +4 -4
  156. package/dist/components/ui/chart.js +1 -1
  157. package/dist/components/ui/code-block.js +13 -12
  158. package/dist/components/ui/command.js +7 -6
  159. package/dist/components/ui/context-menu.js +7 -7
  160. package/dist/components/ui/dialog.js +5 -5
  161. package/dist/components/ui/dropdown-menu.js +8 -8
  162. package/dist/components/ui/input-group.js +11 -11
  163. package/dist/components/ui/input.js +1 -1
  164. package/dist/components/ui/popover.js +3 -3
  165. package/dist/components/ui/progress.js +1 -1
  166. package/dist/components/ui/select.js +6 -6
  167. package/dist/components/ui/sheet.js +5 -5
  168. package/dist/components/ui/sidebar.js +17 -18
  169. package/dist/components/ui/skeleton.js +1 -1
  170. package/dist/components/ui/slider.js +2 -2
  171. package/dist/components/ui/table.js +2 -2
  172. package/dist/components/ui/tabs.js +2 -2
  173. package/dist/components/ui/textarea.js +1 -1
  174. package/dist/components/ui/toggle-group.js +2 -2
  175. package/dist/components/ui/toggle.js +4 -4
  176. package/dist/components/ui/tooltip.js +2 -2
  177. package/dist/index.d.ts +21 -7
  178. package/dist/index.js +18 -4
  179. package/dist/lib/chart-frame.d.ts +25 -7
  180. package/dist/lib/chart-frame.js +251 -127
  181. package/dist/lib/chart-series.d.ts +12 -6
  182. package/dist/lib/compact-columns.d.ts +19 -0
  183. package/dist/lib/compact-columns.js +55 -0
  184. package/dist/lib/format.d.ts +7 -2
  185. package/dist/lib/format.js +54 -16
  186. package/dist/lib/heatmap-navigation.d.ts +8 -0
  187. package/dist/lib/heatmap-navigation.js +49 -0
  188. package/dist/lib/treemap.js +6 -1
  189. package/dist/lib/use-element-width.d.ts +5 -0
  190. package/dist/lib/use-element-width.js +15 -0
  191. package/package.json +4 -1
  192. package/registry.lock.json +16 -0
  193. package/report.css +33 -32
  194. package/styles/siyahi.css +221 -39
  195. package/dist/lib/recharts.d.ts +0 -2
  196. package/dist/lib/recharts.js +0 -1
@@ -0,0 +1,1081 @@
1
+ {
2
+ "generatedBy": "packages/ui/scripts/generate.ts",
3
+ "import": "@siyahi/ui",
4
+ "props": "dist/index.d.ts",
5
+ "setup": "README.md#install",
6
+ "layout": "README.md#surfaces",
7
+ "report": "report.css",
8
+ "reportRules": "agents/report-rules.json",
9
+ "recipes": {
10
+ "dashboard": "agents/examples/surfaces.tsx",
11
+ "table": "agents/examples/data-table.tsx",
12
+ "filters": "agents/examples/data-table-filters.tsx",
13
+ "rankedLabels": "agents/examples/bar-list-labels.tsx",
14
+ "detail": "agents/examples/page-section.tsx",
15
+ "shell": "agents/examples/app-sidebar.tsx"
16
+ },
17
+ "needs": [
18
+ {
19
+ "need": "Values over time or another ordered axis (months, hours, price buckets)",
20
+ "guidance": "`BarChartCard`, `AreaChartCard` or `LineChartCard`",
21
+ "components": [
22
+ "BarChartCard",
23
+ "AreaChartCard",
24
+ "LineChartCard"
25
+ ]
26
+ },
27
+ {
28
+ "need": "Counts or amounts per period, one series or several",
29
+ "guidance": "`BarChartCard`; `stacked` when the series add up to a total",
30
+ "components": [
31
+ "BarChartCard"
32
+ ]
33
+ },
34
+ {
35
+ "need": "A running level, such as a portfolio's value against money put in",
36
+ "guidance": "`AreaChartCard`",
37
+ "components": [
38
+ "AreaChartCard"
39
+ ]
40
+ },
41
+ {
42
+ "need": "Series compared point by point, such as a return against an index",
43
+ "guidance": "`LineChartCard`",
44
+ "components": [
45
+ "LineChartCard"
46
+ ]
47
+ },
48
+ {
49
+ "need": "Samples in time with limits and events marked",
50
+ "guidance": "`LineChartCard` with `xDomain`, `xTicks` and `referenceLines`",
51
+ "components": [
52
+ "LineChartCard"
53
+ ]
54
+ },
55
+ {
56
+ "need": "Long category names, such as sectors",
57
+ "guidance": "`BarChartCard` with `horizontal`",
58
+ "components": [
59
+ "BarChartCard"
60
+ ]
61
+ },
62
+ {
63
+ "need": "A gain above zero and a loss below it",
64
+ "guidance": "a series with `color` and `negativeColor`",
65
+ "components": []
66
+ },
67
+ {
68
+ "need": "Ranked counts or amounts by category (a name, a bar and a figure)",
69
+ "guidance": "`BarList`; give two lists one `max` to share a scale",
70
+ "components": [
71
+ "BarList"
72
+ ]
73
+ },
74
+ {
75
+ "need": "Where a budget sits, a split of a whole, or losses against gains",
76
+ "guidance": "`DistributionBar`",
77
+ "components": [
78
+ "DistributionBar"
79
+ ]
80
+ },
81
+ {
82
+ "need": "Headline figures with their change",
83
+ "guidance": "`SectionCards`, with a `Delta` in each badge",
84
+ "components": [
85
+ "SectionCards",
86
+ "Delta"
87
+ ]
88
+ },
89
+ {
90
+ "need": "Many figures of equal weight, each with its change and recent run",
91
+ "guidance": "`MetricStrip`",
92
+ "components": [
93
+ "MetricStrip"
94
+ ]
95
+ },
96
+ {
97
+ "need": "A run of values beside a figure, in a tile, a strip or a table cell",
98
+ "guidance": "`Sparkline`; in a tile, `SectionCards`' `trend`",
99
+ "components": [
100
+ "Sparkline",
101
+ "SectionCards"
102
+ ]
103
+ },
104
+ {
105
+ "need": "A table column that should read as a bar chart",
106
+ "guidance": "`DataBar` in the column's cell",
107
+ "components": [
108
+ "DataBar"
109
+ ]
110
+ },
111
+ {
112
+ "need": "A table column of changes that should rank by eye, and a note on how to read the table",
113
+ "guidance": "`ChangeBar` in the column's cell, `diverging` when it holds both signs; `DataTableFootnote` after `DataTableBody`",
114
+ "components": [
115
+ "ChangeBar",
116
+ "DataTableFootnote",
117
+ "DataTableBody"
118
+ ]
119
+ },
120
+ {
121
+ "need": "Figures against their targets, such as allocation against plan",
122
+ "guidance": "`TargetRows`, with neutral `bands` and a `status` per row",
123
+ "components": [
124
+ "TargetRows"
125
+ ]
126
+ },
127
+ {
128
+ "need": "Where a value sits in its range, such as a price in its 52-week range",
129
+ "guidance": "`RangePosition`; `variant=\"compact\"` in a table cell",
130
+ "components": [
131
+ "RangePosition"
132
+ ]
133
+ },
134
+ {
135
+ "need": "One instrument's price history",
136
+ "guidance": "`PriceChart`",
137
+ "components": [
138
+ "PriceChart"
139
+ ]
140
+ },
141
+ {
142
+ "need": "Holdings sized by weight and coloured by change",
143
+ "guidance": "`Treemap`",
144
+ "components": [
145
+ "Treemap"
146
+ ]
147
+ },
148
+ {
149
+ "need": "Activity by day, by weekday and hour, or a status over time",
150
+ "guidance": "`CalendarHeatmap`, `WeekdayHeatmap`, `StatusHeatmap`",
151
+ "components": [
152
+ "CalendarHeatmap",
153
+ "WeekdayHeatmap",
154
+ "StatusHeatmap"
155
+ ]
156
+ },
157
+ {
158
+ "need": "Rows to sort and filter",
159
+ "guidance": "`DataTable`, inside a `Card`",
160
+ "components": [
161
+ "DataTable",
162
+ "Card"
163
+ ]
164
+ },
165
+ {
166
+ "need": "A column that sorts on one click; a search and an \"n of m\" count",
167
+ "guidance": "`DataTableSortHeader`; `DataTableSearchFilter`, `DataTableRowCount`",
168
+ "components": [
169
+ "DataTableSortHeader",
170
+ "DataTableSearchFilter",
171
+ "DataTableRowCount"
172
+ ]
173
+ },
174
+ {
175
+ "need": "Stat tiles that pick a scope for the page",
176
+ "guidance": "`SectionCards` with `selected` and `onSelect`",
177
+ "components": [
178
+ "SectionCards"
179
+ ]
180
+ },
181
+ {
182
+ "need": "A share or a part of a whole, coloured as a gain or a loss",
183
+ "guidance": "`ToneProgress`",
184
+ "components": [
185
+ "ToneProgress"
186
+ ]
187
+ },
188
+ {
189
+ "need": "The colour scale under a `Treemap`",
190
+ "guidance": "`TreemapLegend`, with the map's `range`",
191
+ "components": [
192
+ "TreemapLegend"
193
+ ]
194
+ },
195
+ {
196
+ "need": "One part of a long page: rule, eyebrow, heading, lead, action",
197
+ "guidance": "`PageSection`, with `PageSubheading` inside",
198
+ "components": [
199
+ "PageSection",
200
+ "PageSubheading"
201
+ ]
202
+ },
203
+ {
204
+ "need": "Label and value pairs, such as a record's fields",
205
+ "guidance": "`DataList` and `DataListItem`",
206
+ "components": [
207
+ "DataList",
208
+ "DataListItem"
209
+ ]
210
+ },
211
+ {
212
+ "need": "A command or file to copy, wrapped or scrolling",
213
+ "guidance": "`CodeBlock` with `CodeBlockCopyButton`",
214
+ "components": [
215
+ "CodeBlock",
216
+ "CodeBlockCopyButton"
217
+ ]
218
+ },
219
+ {
220
+ "need": "A labelled copy action, such as \"Copy all\" for a section",
221
+ "guidance": "`CopyButton`",
222
+ "components": [
223
+ "CopyButton"
224
+ ]
225
+ },
226
+ {
227
+ "need": "Data blocks side by side: charts, tables, a strip of figures",
228
+ "guidance": "`PanelGrid`",
229
+ "components": [
230
+ "PanelGrid"
231
+ ]
232
+ },
233
+ {
234
+ "need": "Boxes back, or no lines at all, for a page or a part of one",
235
+ "guidance": "`SiyahiProvider` with `surface=\"card\"` or `surface=\"open\"`",
236
+ "components": [
237
+ "SiyahiProvider"
238
+ ]
239
+ },
240
+ {
241
+ "need": "A command, file or identifier inside prose",
242
+ "guidance": "`InlineCode`",
243
+ "components": [
244
+ "InlineCode"
245
+ ]
246
+ },
247
+ {
248
+ "need": "A signed figure (a gain, a loss, a change)",
249
+ "guidance": "`Delta`",
250
+ "components": [
251
+ "Delta"
252
+ ]
253
+ },
254
+ {
255
+ "need": "A time, with the viewer's own clock on hover",
256
+ "guidance": "`LocalTime`",
257
+ "components": [
258
+ "LocalTime"
259
+ ]
260
+ },
261
+ {
262
+ "need": "Tables inside narrow panels or on phones",
263
+ "guidance": "`DataTable` suspends horizontal freezing below 40rem of table space; retain every field through scrolling, or compose essential columns and accessible record details in the page",
264
+ "components": [
265
+ "DataTable"
266
+ ]
267
+ },
268
+ {
269
+ "need": "Table filters that crowd a phone toolbar",
270
+ "guidance": "Compose `Sheet` with `DataTableFacetedFilter`; useDataTable().isCompact follows the table container. Set DataTableRoot config.enableFilters explicitly when controls are conditional",
271
+ "components": [
272
+ "Sheet",
273
+ "DataTableFacetedFilter"
274
+ ]
275
+ },
276
+ {
277
+ "need": "Long ranked labels in a narrow panel",
278
+ "guidance": "`BarList` wraps full names above their bars in narrow space; multi-series comparisons remain on `BarChartCard`",
279
+ "components": [
280
+ "BarList",
281
+ "BarChartCard"
282
+ ]
283
+ },
284
+ {
285
+ "need": "Heatmap cells on touch screens or with a keyboard",
286
+ "guidance": "`CalendarHeatmap`, `WeekdayHeatmap` and `StatusHeatmap` use onCellClick with a visible readout; arrows navigate one tab entry. WeekdayHeatmap hours and weekdays choose the displayed domain",
287
+ "components": [
288
+ "CalendarHeatmap",
289
+ "WeekdayHeatmap",
290
+ "StatusHeatmap"
291
+ ]
292
+ }
293
+ ],
294
+ "examples": [
295
+ {
296
+ "file": "agents/examples/accordion.tsx",
297
+ "components": [
298
+ "Accordion",
299
+ "AccordionContent",
300
+ "AccordionItem",
301
+ "AccordionTrigger"
302
+ ]
303
+ },
304
+ {
305
+ "file": "agents/examples/alert.tsx",
306
+ "components": [
307
+ "Alert",
308
+ "AlertDescription",
309
+ "AlertTitle",
310
+ "WarningAlert"
311
+ ]
312
+ },
313
+ {
314
+ "file": "agents/examples/app-sidebar.tsx",
315
+ "components": [
316
+ "AppSidebar",
317
+ "SidebarProvider"
318
+ ]
319
+ },
320
+ {
321
+ "file": "agents/examples/avatar.tsx",
322
+ "components": [
323
+ "Avatar",
324
+ "AvatarFallback"
325
+ ]
326
+ },
327
+ {
328
+ "file": "agents/examples/badge.tsx",
329
+ "components": [
330
+ "Badge",
331
+ "Delta"
332
+ ]
333
+ },
334
+ {
335
+ "file": "agents/examples/bar-list-labels.tsx",
336
+ "components": [
337
+ "BarList",
338
+ "Card",
339
+ "CardContent",
340
+ "CardDescription",
341
+ "CardHeader",
342
+ "CardTitle",
343
+ "useFormat"
344
+ ]
345
+ },
346
+ {
347
+ "file": "agents/examples/bar-list-sides.tsx",
348
+ "components": [
349
+ "BarList",
350
+ "Card",
351
+ "CardContent",
352
+ "CardDescription",
353
+ "CardHeader",
354
+ "CardTitle",
355
+ "useFormat"
356
+ ]
357
+ },
358
+ {
359
+ "file": "agents/examples/bar-list.tsx",
360
+ "components": [
361
+ "BarList",
362
+ "Card",
363
+ "CardContent",
364
+ "CardDescription",
365
+ "CardHeader",
366
+ "CardTitle",
367
+ "Delta",
368
+ "useFormat"
369
+ ]
370
+ },
371
+ {
372
+ "file": "agents/examples/breadcrumb.tsx",
373
+ "components": [
374
+ "Breadcrumb",
375
+ "BreadcrumbItem",
376
+ "BreadcrumbLink",
377
+ "BreadcrumbList",
378
+ "BreadcrumbPage",
379
+ "BreadcrumbSeparator"
380
+ ]
381
+ },
382
+ {
383
+ "file": "agents/examples/button-states.tsx",
384
+ "components": [
385
+ "Button",
386
+ "Toggle"
387
+ ]
388
+ },
389
+ {
390
+ "file": "agents/examples/button.tsx",
391
+ "components": [
392
+ "Button"
393
+ ]
394
+ },
395
+ {
396
+ "file": "agents/examples/calendar.tsx",
397
+ "components": [
398
+ "Calendar"
399
+ ]
400
+ },
401
+ {
402
+ "file": "agents/examples/callout.tsx",
403
+ "components": [
404
+ "Callout",
405
+ "Quote",
406
+ "WarningAlert",
407
+ "AlertDescription",
408
+ "AlertTitle"
409
+ ]
410
+ },
411
+ {
412
+ "file": "agents/examples/card.tsx",
413
+ "components": [
414
+ "Button",
415
+ "Card",
416
+ "CardAction",
417
+ "CardContent",
418
+ "CardDescription",
419
+ "CardFooter",
420
+ "CardHeader",
421
+ "CardTitle",
422
+ "useFormat"
423
+ ]
424
+ },
425
+ {
426
+ "file": "agents/examples/change-bar.tsx",
427
+ "components": [
428
+ "Card",
429
+ "CardContent",
430
+ "CardDescription",
431
+ "CardHeader",
432
+ "CardTitle",
433
+ "ChangeBar",
434
+ "DataTable",
435
+ "DataTableBody",
436
+ "DataTableCompactColumnsToggle",
437
+ "DataTableFootnote",
438
+ "DataTableHeader",
439
+ "DataTableRoot",
440
+ "DataTableSortHeader",
441
+ "DataTableToolbarSection",
442
+ "useFormat"
443
+ ]
444
+ },
445
+ {
446
+ "file": "agents/examples/chart-area.tsx",
447
+ "components": [
448
+ "AreaChartCard",
449
+ "ToggleGroup",
450
+ "ToggleGroupItem",
451
+ "useFormat"
452
+ ]
453
+ },
454
+ {
455
+ "file": "agents/examples/chart-bar-flows.tsx",
456
+ "components": [
457
+ "BarChartCard",
458
+ "useFormat"
459
+ ]
460
+ },
461
+ {
462
+ "file": "agents/examples/chart-bar-hourly.tsx",
463
+ "components": [
464
+ "BarChartCard"
465
+ ]
466
+ },
467
+ {
468
+ "file": "agents/examples/chart-bar-losses.tsx",
469
+ "components": [
470
+ "BarChartCard",
471
+ "useFormat"
472
+ ]
473
+ },
474
+ {
475
+ "file": "agents/examples/chart-bar-sectors.tsx",
476
+ "components": [
477
+ "BarChartCard",
478
+ "ToggleGroup",
479
+ "ToggleGroupItem",
480
+ "useFormat"
481
+ ]
482
+ },
483
+ {
484
+ "file": "agents/examples/chart-bar-years.tsx",
485
+ "components": [
486
+ "BarChartCard",
487
+ "useFormat"
488
+ ]
489
+ },
490
+ {
491
+ "file": "agents/examples/chart-bar.tsx",
492
+ "components": [
493
+ "BarChartCard",
494
+ "ToggleGroup",
495
+ "ToggleGroupItem",
496
+ "useFormat"
497
+ ]
498
+ },
499
+ {
500
+ "file": "agents/examples/chart-category-ticks.tsx",
501
+ "components": [
502
+ "AreaChartCard",
503
+ "BarChartCard",
504
+ "LineChartCard"
505
+ ]
506
+ },
507
+ {
508
+ "file": "agents/examples/chart-line-events.tsx",
509
+ "components": [
510
+ "LineChartCard"
511
+ ]
512
+ },
513
+ {
514
+ "file": "agents/examples/chart-line-timeline.tsx",
515
+ "components": [
516
+ "LineChartCard"
517
+ ]
518
+ },
519
+ {
520
+ "file": "agents/examples/chart-line.tsx",
521
+ "components": [
522
+ "LineChartCard",
523
+ "ToggleGroup",
524
+ "ToggleGroupItem",
525
+ "useFormat"
526
+ ]
527
+ },
528
+ {
529
+ "file": "agents/examples/code-block.tsx",
530
+ "components": [
531
+ "CodeBlock",
532
+ "CodeBlockActions",
533
+ "CodeBlockContent",
534
+ "CodeBlockCopyButton",
535
+ "CodeBlockHeader",
536
+ "CodeBlockTitle"
537
+ ]
538
+ },
539
+ {
540
+ "file": "agents/examples/collapsible.tsx",
541
+ "components": [
542
+ "Button",
543
+ "Collapsible",
544
+ "CollapsibleContent",
545
+ "CollapsibleTrigger"
546
+ ]
547
+ },
548
+ {
549
+ "file": "agents/examples/command.tsx",
550
+ "components": [
551
+ "Command",
552
+ "CommandEmpty",
553
+ "CommandGroup",
554
+ "CommandInput",
555
+ "CommandItem",
556
+ "CommandList"
557
+ ]
558
+ },
559
+ {
560
+ "file": "agents/examples/context-menu.tsx",
561
+ "components": [
562
+ "ContextMenu",
563
+ "ContextMenuContent",
564
+ "ContextMenuItem",
565
+ "ContextMenuTrigger"
566
+ ]
567
+ },
568
+ {
569
+ "file": "agents/examples/copy-button.tsx",
570
+ "components": [
571
+ "CopyButton"
572
+ ]
573
+ },
574
+ {
575
+ "file": "agents/examples/data-bar.tsx",
576
+ "components": [
577
+ "Card",
578
+ "CardContent",
579
+ "CardDescription",
580
+ "CardHeader",
581
+ "CardTitle",
582
+ "DataBar",
583
+ "DataTable",
584
+ "DataTableBody",
585
+ "DataTableHeader",
586
+ "DataTableRoot",
587
+ "DataTableSortHeader",
588
+ "Sparkline",
589
+ "useFormat"
590
+ ]
591
+ },
592
+ {
593
+ "file": "agents/examples/data-table-compact.tsx",
594
+ "components": [
595
+ "Card",
596
+ "CardContent",
597
+ "CardDescription",
598
+ "CardHeader",
599
+ "CardTitle",
600
+ "DataTable",
601
+ "DataTableBody",
602
+ "DataTableCompactColumnsToggle",
603
+ "DataTableHeader",
604
+ "DataTableRoot",
605
+ "DataTableRowCount",
606
+ "DataTableSortHeader",
607
+ "DataTableToolbarSection",
608
+ "Delta",
609
+ "useDataTable",
610
+ "useFormat"
611
+ ]
612
+ },
613
+ {
614
+ "file": "agents/examples/data-table-filters.tsx",
615
+ "components": [
616
+ "Button",
617
+ "Card",
618
+ "CardContent",
619
+ "CardDescription",
620
+ "CardHeader",
621
+ "CardTitle",
622
+ "DataTable",
623
+ "DataTableBody",
624
+ "DataTableFacetedFilter",
625
+ "DataTableHeader",
626
+ "DataTableRoot",
627
+ "DataTableRowCount",
628
+ "DataTableSearchFilter",
629
+ "DataTableSortHeader",
630
+ "DataTableToolbarSection",
631
+ "Sheet",
632
+ "SheetClose",
633
+ "SheetContent",
634
+ "SheetDescription",
635
+ "SheetFooter",
636
+ "SheetHeader",
637
+ "SheetTitle",
638
+ "SheetTrigger",
639
+ "useDataTable"
640
+ ]
641
+ },
642
+ {
643
+ "file": "agents/examples/data-table.tsx",
644
+ "components": [
645
+ "Card",
646
+ "CardContent",
647
+ "CardDescription",
648
+ "CardHeader",
649
+ "CardTitle",
650
+ "DataTable",
651
+ "DataTableBody",
652
+ "DataTableFacetedFilter",
653
+ "DataTableHeader",
654
+ "DataTableRoot",
655
+ "DataTableRowCount",
656
+ "DataTableSearchFilter",
657
+ "DataTableSortHeader",
658
+ "DataTableToolbarSection",
659
+ "Delta",
660
+ "useFormat"
661
+ ]
662
+ },
663
+ {
664
+ "file": "agents/examples/delta.tsx",
665
+ "components": [
666
+ "Delta"
667
+ ]
668
+ },
669
+ {
670
+ "file": "agents/examples/dialog.tsx",
671
+ "components": [
672
+ "Button",
673
+ "Dialog",
674
+ "DialogClose",
675
+ "DialogContent",
676
+ "DialogDescription",
677
+ "DialogFooter",
678
+ "DialogHeader",
679
+ "DialogTitle",
680
+ "DialogTrigger"
681
+ ]
682
+ },
683
+ {
684
+ "file": "agents/examples/distribution-bar-budget.tsx",
685
+ "components": [
686
+ "Card",
687
+ "CardContent",
688
+ "CardDescription",
689
+ "CardHeader",
690
+ "CardTitle",
691
+ "DistributionBar"
692
+ ]
693
+ },
694
+ {
695
+ "file": "agents/examples/distribution-bar-tug.tsx",
696
+ "components": [
697
+ "Card",
698
+ "CardContent",
699
+ "CardDescription",
700
+ "CardFooter",
701
+ "CardHeader",
702
+ "CardTitle",
703
+ "Delta",
704
+ "DistributionBar"
705
+ ]
706
+ },
707
+ {
708
+ "file": "agents/examples/dropdown-menu.tsx",
709
+ "components": [
710
+ "Button",
711
+ "DropdownMenu",
712
+ "DropdownMenuContent",
713
+ "DropdownMenuGroup",
714
+ "DropdownMenuItem",
715
+ "DropdownMenuLabel",
716
+ "DropdownMenuSeparator",
717
+ "DropdownMenuTrigger"
718
+ ]
719
+ },
720
+ {
721
+ "file": "agents/examples/formatters.tsx",
722
+ "components": [
723
+ "SiyahiProvider",
724
+ "Table",
725
+ "TableBody",
726
+ "TableCell",
727
+ "TableHead",
728
+ "TableHeader",
729
+ "TableRow",
730
+ "useFormat"
731
+ ]
732
+ },
733
+ {
734
+ "file": "agents/examples/heatmap-calendar.tsx",
735
+ "components": [
736
+ "CalendarHeatmap",
737
+ "CalendarHeatmapBlock",
738
+ "CalendarHeatmapBody",
739
+ "CalendarHeatmapFooter",
740
+ "CalendarHeatmapLegend",
741
+ "useFormat",
742
+ "Card",
743
+ "CardContent",
744
+ "CardDescription",
745
+ "CardHeader",
746
+ "CardTitle"
747
+ ]
748
+ },
749
+ {
750
+ "file": "agents/examples/heatmap-status.tsx",
751
+ "components": [
752
+ "Card",
753
+ "CardContent",
754
+ "CardDescription",
755
+ "CardHeader",
756
+ "CardTitle",
757
+ "StatusHeatmap",
758
+ "StatusHeatmapBlock",
759
+ "StatusHeatmapBody",
760
+ "StatusHeatmapFooter",
761
+ "StatusHeatmapLegend"
762
+ ]
763
+ },
764
+ {
765
+ "file": "agents/examples/heatmap-weekday.tsx",
766
+ "components": [
767
+ "useFormat",
768
+ "Card",
769
+ "CardContent",
770
+ "CardDescription",
771
+ "CardHeader",
772
+ "CardTitle",
773
+ "WeekdayHeatmap",
774
+ "WeekdayHeatmapBlock",
775
+ "WeekdayHeatmapBody",
776
+ "WeekdayHeatmapLegend"
777
+ ]
778
+ },
779
+ {
780
+ "file": "agents/examples/input-states.tsx",
781
+ "components": [
782
+ "Input"
783
+ ]
784
+ },
785
+ {
786
+ "file": "agents/examples/input.tsx",
787
+ "components": [
788
+ "Input",
789
+ "InputGroup",
790
+ "InputGroupAddon",
791
+ "InputGroupInput",
792
+ "Textarea"
793
+ ]
794
+ },
795
+ {
796
+ "file": "agents/examples/local-time.tsx",
797
+ "components": [
798
+ "LocalTime"
799
+ ]
800
+ },
801
+ {
802
+ "file": "agents/examples/metric-strip.tsx",
803
+ "components": [
804
+ "MetricStrip",
805
+ "ToggleGroup",
806
+ "ToggleGroupItem",
807
+ "useFormat"
808
+ ]
809
+ },
810
+ {
811
+ "file": "agents/examples/overview-dashboard.tsx",
812
+ "components": []
813
+ },
814
+ {
815
+ "file": "agents/examples/page-hero.tsx",
816
+ "components": [
817
+ "Button",
818
+ "PageHero"
819
+ ]
820
+ },
821
+ {
822
+ "file": "agents/examples/page-section.tsx",
823
+ "components": [
824
+ "Button",
825
+ "Card",
826
+ "CardContent",
827
+ "CardHeader",
828
+ "CardTitle",
829
+ "DataList",
830
+ "DataListItem",
831
+ "InlineCode",
832
+ "PageSection",
833
+ "PageSubheading"
834
+ ]
835
+ },
836
+ {
837
+ "file": "agents/examples/popover.tsx",
838
+ "components": [
839
+ "Button",
840
+ "Popover",
841
+ "PopoverContent",
842
+ "PopoverDescription",
843
+ "PopoverHeader",
844
+ "PopoverTitle",
845
+ "PopoverTrigger"
846
+ ]
847
+ },
848
+ {
849
+ "file": "agents/examples/price-chart.tsx",
850
+ "components": [
851
+ "Card",
852
+ "CardContent",
853
+ "CardDescription",
854
+ "CardFooter",
855
+ "CardHeader",
856
+ "CardTitle",
857
+ "PriceChart"
858
+ ]
859
+ },
860
+ {
861
+ "file": "agents/examples/progress-tone.tsx",
862
+ "components": [
863
+ "ToneProgress",
864
+ "useFormat"
865
+ ]
866
+ },
867
+ {
868
+ "file": "agents/examples/progress.tsx",
869
+ "components": [
870
+ "Progress",
871
+ "ProgressLabel",
872
+ "ProgressValue"
873
+ ]
874
+ },
875
+ {
876
+ "file": "agents/examples/range-position-table.tsx",
877
+ "components": [
878
+ "Card",
879
+ "CardContent",
880
+ "CardDescription",
881
+ "CardHeader",
882
+ "CardTitle",
883
+ "DataTable",
884
+ "DataTableBody",
885
+ "DataTableCompactColumnsToggle",
886
+ "DataTableHeader",
887
+ "DataTableRoot",
888
+ "DataTableSortHeader",
889
+ "DataTableToolbarSection",
890
+ "RangePosition",
891
+ "useFormat"
892
+ ]
893
+ },
894
+ {
895
+ "file": "agents/examples/range-position.tsx",
896
+ "components": [
897
+ "Card",
898
+ "CardContent",
899
+ "CardDescription",
900
+ "CardHeader",
901
+ "CardTitle",
902
+ "DataList",
903
+ "DataListItem",
904
+ "RangePosition",
905
+ "useFormat"
906
+ ]
907
+ },
908
+ {
909
+ "file": "agents/examples/scroll-area.tsx",
910
+ "components": [
911
+ "ScrollArea",
912
+ "Separator"
913
+ ]
914
+ },
915
+ {
916
+ "file": "agents/examples/section-cards-select.tsx",
917
+ "components": [
918
+ "Delta",
919
+ "SectionCards",
920
+ "SiyahiProvider",
921
+ "useFormat"
922
+ ]
923
+ },
924
+ {
925
+ "file": "agents/examples/section-cards-trend.tsx",
926
+ "components": [
927
+ "Delta",
928
+ "SectionCards",
929
+ "Sparkline",
930
+ "useFormat"
931
+ ]
932
+ },
933
+ {
934
+ "file": "agents/examples/section-cards.tsx",
935
+ "components": [
936
+ "Delta",
937
+ "SectionCards",
938
+ "useFormat"
939
+ ]
940
+ },
941
+ {
942
+ "file": "agents/examples/select.tsx",
943
+ "components": [
944
+ "Select",
945
+ "SelectContent",
946
+ "SelectGroup",
947
+ "SelectItem",
948
+ "SelectTrigger",
949
+ "SelectValue"
950
+ ]
951
+ },
952
+ {
953
+ "file": "agents/examples/separator.tsx",
954
+ "components": [
955
+ "Separator"
956
+ ]
957
+ },
958
+ {
959
+ "file": "agents/examples/sheet.tsx",
960
+ "components": [
961
+ "Button",
962
+ "Sheet",
963
+ "SheetContent",
964
+ "SheetDescription",
965
+ "SheetHeader",
966
+ "SheetTitle",
967
+ "SheetTrigger"
968
+ ]
969
+ },
970
+ {
971
+ "file": "agents/examples/skeleton.tsx",
972
+ "components": [
973
+ "Skeleton"
974
+ ]
975
+ },
976
+ {
977
+ "file": "agents/examples/slider.tsx",
978
+ "components": [
979
+ "Slider"
980
+ ]
981
+ },
982
+ {
983
+ "file": "agents/examples/surfaces.tsx",
984
+ "components": [
985
+ "BarChartCard",
986
+ "Card",
987
+ "CardContent",
988
+ "CardDescription",
989
+ "CardHeader",
990
+ "CardTitle",
991
+ "MetricStrip",
992
+ "PanelGrid",
993
+ "SiyahiProvider",
994
+ "Table",
995
+ "TableBody",
996
+ "TableCell",
997
+ "TableHead",
998
+ "TableHeader",
999
+ "TableRow",
1000
+ "ToggleGroup",
1001
+ "ToggleGroupItem",
1002
+ "useFormat"
1003
+ ]
1004
+ },
1005
+ {
1006
+ "file": "agents/examples/table.tsx",
1007
+ "components": [
1008
+ "Card",
1009
+ "CardContent",
1010
+ "CardHeader",
1011
+ "CardTitle",
1012
+ "Table",
1013
+ "TableBody",
1014
+ "TableCell",
1015
+ "TableHead",
1016
+ "TableHeader",
1017
+ "TableRow",
1018
+ "useFormat"
1019
+ ]
1020
+ },
1021
+ {
1022
+ "file": "agents/examples/tabs.tsx",
1023
+ "components": [
1024
+ "Tabs",
1025
+ "TabsContent",
1026
+ "TabsList",
1027
+ "TabsTrigger"
1028
+ ]
1029
+ },
1030
+ {
1031
+ "file": "agents/examples/target-rows.tsx",
1032
+ "components": [
1033
+ "Card",
1034
+ "CardContent",
1035
+ "CardDescription",
1036
+ "CardHeader",
1037
+ "CardTitle",
1038
+ "TargetRows",
1039
+ "useFormat"
1040
+ ]
1041
+ },
1042
+ {
1043
+ "file": "agents/examples/toggle-group.tsx",
1044
+ "components": [
1045
+ "ToggleGroup",
1046
+ "ToggleGroupItem"
1047
+ ]
1048
+ },
1049
+ {
1050
+ "file": "agents/examples/toggle.tsx",
1051
+ "components": [
1052
+ "Toggle"
1053
+ ]
1054
+ },
1055
+ {
1056
+ "file": "agents/examples/tooltip.tsx",
1057
+ "components": [
1058
+ "Button",
1059
+ "Tooltip",
1060
+ "TooltipContent",
1061
+ "TooltipTrigger"
1062
+ ]
1063
+ },
1064
+ {
1065
+ "file": "agents/examples/treemap.tsx",
1066
+ "components": [
1067
+ "Card",
1068
+ "CardContent",
1069
+ "CardDescription",
1070
+ "CardHeader",
1071
+ "CardTitle",
1072
+ "Tooltip",
1073
+ "TooltipContent",
1074
+ "TooltipTrigger",
1075
+ "Treemap",
1076
+ "TreemapLegend",
1077
+ "useFormat"
1078
+ ]
1079
+ }
1080
+ ]
1081
+ }