@elaraai/east-ui 0.0.1-beta.2 → 0.0.1-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/README.md +4 -4
  2. package/dist/src/buttons/button/index.d.ts +57 -0
  3. package/dist/src/buttons/button/index.d.ts.map +1 -1
  4. package/dist/src/buttons/button/index.js +57 -0
  5. package/dist/src/buttons/button/index.js.map +1 -1
  6. package/dist/src/buttons/icon-button/index.d.ts +62 -0
  7. package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
  8. package/dist/src/buttons/icon-button/index.js +62 -0
  9. package/dist/src/buttons/icon-button/index.js.map +1 -1
  10. package/dist/src/charts/index.d.ts +603 -18
  11. package/dist/src/charts/index.d.ts.map +1 -1
  12. package/dist/src/charts/index.js +603 -20
  13. package/dist/src/charts/index.js.map +1 -1
  14. package/dist/src/charts/sparkline/index.d.ts +47 -0
  15. package/dist/src/charts/sparkline/index.d.ts.map +1 -1
  16. package/dist/src/charts/sparkline/index.js +47 -0
  17. package/dist/src/charts/sparkline/index.js.map +1 -1
  18. package/dist/src/collections/data-list/index.d.ts +89 -0
  19. package/dist/src/collections/data-list/index.d.ts.map +1 -1
  20. package/dist/src/collections/data-list/index.js +89 -0
  21. package/dist/src/collections/data-list/index.js.map +1 -1
  22. package/dist/src/collections/gantt/index.d.ts +177 -4
  23. package/dist/src/collections/gantt/index.d.ts.map +1 -1
  24. package/dist/src/collections/gantt/index.js +177 -4
  25. package/dist/src/collections/gantt/index.js.map +1 -1
  26. package/dist/src/collections/table/index.d.ts +99 -0
  27. package/dist/src/collections/table/index.d.ts.map +1 -1
  28. package/dist/src/collections/table/index.js +99 -0
  29. package/dist/src/collections/table/index.js.map +1 -1
  30. package/dist/src/collections/tree-view/index.d.ts +170 -0
  31. package/dist/src/collections/tree-view/index.d.ts.map +1 -1
  32. package/dist/src/collections/tree-view/index.js +170 -0
  33. package/dist/src/collections/tree-view/index.js.map +1 -1
  34. package/dist/src/container/card/index.d.ts +60 -0
  35. package/dist/src/container/card/index.d.ts.map +1 -1
  36. package/dist/src/container/card/index.js +60 -0
  37. package/dist/src/container/card/index.js.map +1 -1
  38. package/dist/src/disclosure/accordion/index.d.ts +83 -0
  39. package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
  40. package/dist/src/disclosure/accordion/index.js +83 -0
  41. package/dist/src/disclosure/accordion/index.js.map +1 -1
  42. package/dist/src/disclosure/carousel/index.d.ts +60 -4
  43. package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
  44. package/dist/src/disclosure/carousel/index.js +60 -4
  45. package/dist/src/disclosure/carousel/index.js.map +1 -1
  46. package/dist/src/disclosure/tabs/index.d.ts +179 -0
  47. package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
  48. package/dist/src/disclosure/tabs/index.js +179 -0
  49. package/dist/src/disclosure/tabs/index.js.map +1 -1
  50. package/dist/src/display/avatar/index.d.ts +35 -0
  51. package/dist/src/display/avatar/index.d.ts.map +1 -1
  52. package/dist/src/display/avatar/index.js +35 -0
  53. package/dist/src/display/avatar/index.js.map +1 -1
  54. package/dist/src/display/badge/index.d.ts +35 -0
  55. package/dist/src/display/badge/index.d.ts.map +1 -1
  56. package/dist/src/display/badge/index.js +35 -0
  57. package/dist/src/display/badge/index.js.map +1 -1
  58. package/dist/src/display/icon/index.d.ts +78 -6
  59. package/dist/src/display/icon/index.d.ts.map +1 -1
  60. package/dist/src/display/icon/index.js +78 -6
  61. package/dist/src/display/icon/index.js.map +1 -1
  62. package/dist/src/display/stat/index.d.ts +67 -2
  63. package/dist/src/display/stat/index.d.ts.map +1 -1
  64. package/dist/src/display/stat/index.js +68 -3
  65. package/dist/src/display/stat/index.js.map +1 -1
  66. package/dist/src/display/tag/index.d.ts +48 -0
  67. package/dist/src/display/tag/index.d.ts.map +1 -1
  68. package/dist/src/display/tag/index.js +48 -0
  69. package/dist/src/display/tag/index.js.map +1 -1
  70. package/dist/src/feedback/alert/index.d.ts +64 -0
  71. package/dist/src/feedback/alert/index.d.ts.map +1 -1
  72. package/dist/src/feedback/alert/index.js +64 -0
  73. package/dist/src/feedback/alert/index.js.map +1 -1
  74. package/dist/src/feedback/progress/index.d.ts +54 -0
  75. package/dist/src/feedback/progress/index.d.ts.map +1 -1
  76. package/dist/src/feedback/progress/index.js +54 -0
  77. package/dist/src/feedback/progress/index.js.map +1 -1
  78. package/dist/src/forms/checkbox/index.d.ts +38 -0
  79. package/dist/src/forms/checkbox/index.d.ts.map +1 -1
  80. package/dist/src/forms/checkbox/index.js +38 -0
  81. package/dist/src/forms/checkbox/index.js.map +1 -1
  82. package/dist/src/forms/field/index.d.ts +42 -0
  83. package/dist/src/forms/field/index.d.ts.map +1 -1
  84. package/dist/src/forms/field/index.js +42 -0
  85. package/dist/src/forms/field/index.js.map +1 -1
  86. package/dist/src/forms/fieldset/index.d.ts +30 -3
  87. package/dist/src/forms/fieldset/index.d.ts.map +1 -1
  88. package/dist/src/forms/fieldset/index.js +30 -3
  89. package/dist/src/forms/fieldset/index.js.map +1 -1
  90. package/dist/src/forms/file-upload/index.d.ts +48 -4
  91. package/dist/src/forms/file-upload/index.d.ts.map +1 -1
  92. package/dist/src/forms/file-upload/index.js +48 -4
  93. package/dist/src/forms/file-upload/index.js.map +1 -1
  94. package/dist/src/forms/input/index.d.ts +93 -14
  95. package/dist/src/forms/input/index.d.ts.map +1 -1
  96. package/dist/src/forms/input/index.js +93 -14
  97. package/dist/src/forms/input/index.js.map +1 -1
  98. package/dist/src/forms/select/index.d.ts +10 -6
  99. package/dist/src/forms/select/index.d.ts.map +1 -1
  100. package/dist/src/forms/select/index.js +10 -6
  101. package/dist/src/forms/select/index.js.map +1 -1
  102. package/dist/src/forms/slider/index.d.ts +15 -0
  103. package/dist/src/forms/slider/index.d.ts.map +1 -1
  104. package/dist/src/forms/slider/index.js +15 -0
  105. package/dist/src/forms/slider/index.js.map +1 -1
  106. package/dist/src/forms/switch/index.d.ts +20 -0
  107. package/dist/src/forms/switch/index.d.ts.map +1 -1
  108. package/dist/src/forms/switch/index.js +20 -0
  109. package/dist/src/forms/switch/index.js.map +1 -1
  110. package/dist/src/forms/tags-input/index.d.ts +33 -4
  111. package/dist/src/forms/tags-input/index.d.ts.map +1 -1
  112. package/dist/src/forms/tags-input/index.js +33 -4
  113. package/dist/src/forms/tags-input/index.js.map +1 -1
  114. package/dist/src/forms/textarea/index.d.ts +36 -4
  115. package/dist/src/forms/textarea/index.d.ts.map +1 -1
  116. package/dist/src/forms/textarea/index.js +36 -4
  117. package/dist/src/forms/textarea/index.js.map +1 -1
  118. package/dist/src/layout/box/index.d.ts +135 -0
  119. package/dist/src/layout/box/index.d.ts.map +1 -1
  120. package/dist/src/layout/box/index.js +135 -0
  121. package/dist/src/layout/box/index.js.map +1 -1
  122. package/dist/src/layout/grid/index.d.ts +103 -0
  123. package/dist/src/layout/grid/index.d.ts.map +1 -1
  124. package/dist/src/layout/grid/index.js +103 -0
  125. package/dist/src/layout/grid/index.js.map +1 -1
  126. package/dist/src/layout/separator/index.d.ts +41 -0
  127. package/dist/src/layout/separator/index.d.ts.map +1 -1
  128. package/dist/src/layout/separator/index.js +41 -0
  129. package/dist/src/layout/separator/index.js.map +1 -1
  130. package/dist/src/layout/splitter/index.d.ts +92 -0
  131. package/dist/src/layout/splitter/index.d.ts.map +1 -1
  132. package/dist/src/layout/splitter/index.js +92 -0
  133. package/dist/src/layout/splitter/index.js.map +1 -1
  134. package/dist/src/layout/stack/index.d.ts +158 -0
  135. package/dist/src/layout/stack/index.d.ts.map +1 -1
  136. package/dist/src/layout/stack/index.js +158 -0
  137. package/dist/src/layout/stack/index.js.map +1 -1
  138. package/dist/src/overlays/action-bar/index.d.ts +105 -0
  139. package/dist/src/overlays/action-bar/index.d.ts.map +1 -1
  140. package/dist/src/overlays/action-bar/index.js +105 -0
  141. package/dist/src/overlays/action-bar/index.js.map +1 -1
  142. package/dist/src/overlays/dialog/index.d.ts +88 -0
  143. package/dist/src/overlays/dialog/index.d.ts.map +1 -1
  144. package/dist/src/overlays/dialog/index.js +88 -0
  145. package/dist/src/overlays/dialog/index.js.map +1 -1
  146. package/dist/src/overlays/drawer/index.d.ts +64 -0
  147. package/dist/src/overlays/drawer/index.d.ts.map +1 -1
  148. package/dist/src/overlays/drawer/index.js +64 -0
  149. package/dist/src/overlays/drawer/index.js.map +1 -1
  150. package/dist/src/overlays/hover-card/index.d.ts +77 -0
  151. package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
  152. package/dist/src/overlays/hover-card/index.js +77 -0
  153. package/dist/src/overlays/hover-card/index.js.map +1 -1
  154. package/dist/src/overlays/menu/index.d.ts +132 -8
  155. package/dist/src/overlays/menu/index.d.ts.map +1 -1
  156. package/dist/src/overlays/menu/index.js +132 -8
  157. package/dist/src/overlays/menu/index.js.map +1 -1
  158. package/dist/src/overlays/popover/index.d.ts +84 -0
  159. package/dist/src/overlays/popover/index.d.ts.map +1 -1
  160. package/dist/src/overlays/popover/index.js +84 -0
  161. package/dist/src/overlays/popover/index.js.map +1 -1
  162. package/dist/src/overlays/toggle-tip/index.d.ts +67 -0
  163. package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
  164. package/dist/src/overlays/toggle-tip/index.js +67 -0
  165. package/dist/src/overlays/toggle-tip/index.js.map +1 -1
  166. package/dist/src/overlays/tooltip/index.d.ts +78 -0
  167. package/dist/src/overlays/tooltip/index.d.ts.map +1 -1
  168. package/dist/src/overlays/tooltip/index.js +78 -0
  169. package/dist/src/overlays/tooltip/index.js.map +1 -1
  170. package/dist/src/typography/index.d.ts +39 -0
  171. package/dist/src/typography/index.d.ts.map +1 -1
  172. package/dist/src/typography/index.js +39 -0
  173. package/dist/src/typography/index.js.map +1 -1
  174. package/package.json +1 -1
@@ -67,54 +67,394 @@ import { ChartSeries, ChartSort, StackOffset, BarLayout, ChartGrid, ChartLegend,
67
67
  * ```
68
68
  */
69
69
  export declare const Chart: {
70
- /** Create an area chart */
70
+ /**
71
+ * Creates an Area chart component.
72
+ *
73
+ * @param data - Array of data points
74
+ * @param series - Series configuration keyed by field names
75
+ * @param style - Optional styling configuration
76
+ * @returns An East expression representing the area chart component
77
+ *
78
+ * @remarks
79
+ * Area charts display quantitative data as filled areas under lines.
80
+ * Supports stacking for showing part-to-whole relationships.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * import { East } from "@elaraai/east";
85
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
86
+ *
87
+ * const example = East.function([], UIComponentType, $ => {
88
+ * return Chart.Area(
89
+ * [
90
+ * { month: "Jan", revenue: 186n, profit: 80n },
91
+ * { month: "Feb", revenue: 305n, profit: 120n },
92
+ * ],
93
+ * {
94
+ * revenue: { color: "teal.solid" },
95
+ * profit: { color: "purple.solid" },
96
+ * },
97
+ * { xAxis: Chart.Axis({ dataKey: "month" }) }
98
+ * );
99
+ * });
100
+ * ```
101
+ */
71
102
  readonly Area: typeof createAreaChart;
72
- /** Create a bar chart */
103
+ /**
104
+ * Creates a Bar chart component.
105
+ *
106
+ * @param data - Array of data points
107
+ * @param series - Series configuration keyed by field names
108
+ * @param style - Optional styling configuration
109
+ * @returns An East expression representing the bar chart component
110
+ *
111
+ * @remarks
112
+ * Bar charts display categorical data with rectangular bars.
113
+ * Supports vertical and horizontal layouts, stacked and grouped modes.
114
+ *
115
+ * @example
116
+ * ```ts
117
+ * import { East } from "@elaraai/east";
118
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
119
+ *
120
+ * const example = East.function([], UIComponentType, $ => {
121
+ * return Chart.Bar(
122
+ * [
123
+ * { category: "A", value: 100n },
124
+ * { category: "B", value: 200n },
125
+ * ],
126
+ * { value: { color: "blue.solid" } },
127
+ * { xAxis: Chart.Axis({ dataKey: "category" }) }
128
+ * );
129
+ * });
130
+ * ```
131
+ */
73
132
  readonly Bar: typeof createBarChart;
74
- /** Create a line chart */
133
+ /**
134
+ * Creates a Line chart component.
135
+ *
136
+ * @param data - Array of data points
137
+ * @param series - Series configuration keyed by field names
138
+ * @param style - Optional styling configuration
139
+ * @returns An East expression representing the line chart component
140
+ *
141
+ * @remarks
142
+ * Line charts display data points connected by line segments.
143
+ * Ideal for showing trends over time.
144
+ *
145
+ * @example
146
+ * ```ts
147
+ * import { East } from "@elaraai/east";
148
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
149
+ *
150
+ * const example = East.function([], UIComponentType, $ => {
151
+ * return Chart.Line(
152
+ * [
153
+ * { month: "Jan", revenue: 186n, profit: 80n },
154
+ * { month: "Feb", revenue: 305n, profit: 120n },
155
+ * ],
156
+ * {
157
+ * revenue: { color: "teal.solid" },
158
+ * profit: { color: "purple.solid" },
159
+ * },
160
+ * {
161
+ * xAxis: Chart.Axis({ dataKey: "month" }),
162
+ * showDots: true,
163
+ * }
164
+ * );
165
+ * });
166
+ * ```
167
+ */
75
168
  readonly Line: typeof createLineChart;
76
- /** Create a scatter chart */
169
+ /**
170
+ * Creates a Scatter chart component.
171
+ *
172
+ * @param data - Array of data points
173
+ * @param series - Series configuration keyed by field names
174
+ * @param style - Optional styling configuration
175
+ * @returns An East expression representing the scatter chart component
176
+ *
177
+ * @remarks
178
+ * Scatter charts display individual data points on a coordinate plane.
179
+ * Ideal for showing relationships between two variables.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * import { East } from "@elaraai/east";
184
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
185
+ *
186
+ * const example = East.function([], UIComponentType, $ => {
187
+ * return Chart.Scatter(
188
+ * [
189
+ * { x: 10n, y: 30n },
190
+ * { x: 20n, y: 40n },
191
+ * ],
192
+ * { y: { color: "purple.solid" } },
193
+ * { xAxis: Chart.Axis({ dataKey: "x" }) }
194
+ * );
195
+ * });
196
+ * ```
197
+ */
77
198
  readonly Scatter: typeof createScatterChart;
78
- /** Create a pie/donut chart */
199
+ /**
200
+ * Creates a Pie or Donut chart component.
201
+ *
202
+ * @param data - Array of slice data
203
+ * @param style - Optional styling configuration
204
+ * @returns An East expression representing the pie chart component
205
+ *
206
+ * @remarks
207
+ * Pie charts display proportional data as slices of a circle.
208
+ * Set innerRadius for a donut chart appearance.
209
+ *
210
+ * @example
211
+ * ```ts
212
+ * import { East } from "@elaraai/east";
213
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
214
+ *
215
+ * const example = East.function([], UIComponentType, $ => {
216
+ * return Chart.Pie(
217
+ * [
218
+ * { name: "Chrome", value: 275n, color: "blue.solid" },
219
+ * { name: "Safari", value: 200n, color: "green.solid" },
220
+ * ],
221
+ * { showLabels: true }
222
+ * );
223
+ * });
224
+ * ```
225
+ */
79
226
  readonly Pie: typeof createPieChart;
80
- /** Create a radar chart */
227
+ /**
228
+ * Creates a Radar chart component.
229
+ *
230
+ * @param data - Array of data points
231
+ * @param series - Series configuration keyed by field names
232
+ * @param style - Optional styling configuration
233
+ * @returns An East expression representing the radar chart component
234
+ *
235
+ * @remarks
236
+ * Radar charts display multivariate data on radial axes.
237
+ * Useful for comparing multiple attributes across entities.
238
+ *
239
+ * @example
240
+ * ```ts
241
+ * import { East } from "@elaraai/east";
242
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
243
+ *
244
+ * const example = East.function([], UIComponentType, $ => {
245
+ * return Chart.Radar(
246
+ * [
247
+ * { subject: "Math", A: 120n, B: 110n },
248
+ * { subject: "English", A: 98n, B: 130n },
249
+ * ],
250
+ * {
251
+ * A: { color: "teal.solid" },
252
+ * B: { color: "purple.solid" },
253
+ * },
254
+ * { dataKey: "subject" }
255
+ * );
256
+ * });
257
+ * ```
258
+ */
81
259
  readonly Radar: typeof createRadarChart;
82
- /** Create a bar list (Chakra-native) */
260
+ /**
261
+ * Creates a BarList component (Chakra-native horizontal bars).
262
+ *
263
+ * @param data - Array of bar items with name, value, and optional color/href
264
+ * @param style - Optional styling configuration
265
+ * @returns An East expression representing the bar list component
266
+ *
267
+ * @remarks
268
+ * BarList displays horizontal comparison bars with labels and values.
269
+ * Native Chakra component, not Recharts-based.
270
+ *
271
+ * @example
272
+ * ```ts
273
+ * import { East } from "@elaraai/east";
274
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
275
+ *
276
+ * const example = East.function([], UIComponentType, $ => {
277
+ * return Chart.BarList(
278
+ * [
279
+ * { name: "Chrome", value: 275n },
280
+ * { name: "Safari", value: 200n },
281
+ * ],
282
+ * { colorPalette: "blue", showValue: true }
283
+ * );
284
+ * });
285
+ * ```
286
+ */
83
287
  readonly BarList: typeof createBarList;
84
- /** Create a bar segment (Chakra-native) */
288
+ /**
289
+ * Creates a BarSegment component (proportional horizontal segments).
290
+ *
291
+ * @param data - Array of segment items with name, value, and optional color
292
+ * @param style - Optional styling configuration
293
+ * @returns An East expression representing the bar segment component
294
+ *
295
+ * @remarks
296
+ * BarSegment displays proportional segments in a single horizontal bar.
297
+ * Native Chakra component for showing percentage breakdowns.
298
+ *
299
+ * @example
300
+ * ```ts
301
+ * import { East } from "@elaraai/east";
302
+ * import { Chart, UIComponentType } from "@elaraai/east-ui";
303
+ *
304
+ * const example = East.function([], UIComponentType, $ => {
305
+ * return Chart.BarSegment(
306
+ * [
307
+ * { name: "Completed", value: 75n, color: "green.solid" },
308
+ * { name: "Remaining", value: 25n, color: "gray.solid" },
309
+ * ],
310
+ * { showLegend: true }
311
+ * );
312
+ * });
313
+ * ```
314
+ */
85
315
  readonly BarSegment: typeof createBarSegment;
86
- /** Create a series */
316
+ /**
317
+ * Helper function to create chart series configuration.
318
+ *
319
+ * @param config - Series configuration options
320
+ * @returns A series configuration object
321
+ *
322
+ * @remarks
323
+ * Used to define how a data field is rendered as a series in charts.
324
+ */
87
325
  readonly Series: typeof ChartSeries;
88
- /** Sort */
326
+ /**
327
+ * Helper function to create chart sort configuration.
328
+ *
329
+ * @param config - Sort configuration options
330
+ * @returns A sort configuration object
331
+ *
332
+ * @remarks
333
+ * Used to sort data in BarList and BarSegment charts.
334
+ */
89
335
  readonly Sort: typeof ChartSort;
90
- /** Chart grid */
336
+ /**
337
+ * Helper function to create chart grid configuration.
338
+ *
339
+ * @param config - Grid configuration options
340
+ * @returns A grid configuration object
341
+ *
342
+ * @remarks
343
+ * Controls the display of grid lines on Cartesian charts.
344
+ */
91
345
  readonly Grid: typeof ChartGrid;
92
- /** Chart margin */
346
+ /**
347
+ * Helper function to create chart margin configuration.
348
+ *
349
+ * @param config - Margin configuration options
350
+ * @returns A margin configuration object
351
+ *
352
+ * @remarks
353
+ * Sets the margin around the chart content area.
354
+ */
93
355
  readonly Margin: typeof ChartMargin;
94
- /** Stack offset */
356
+ /**
357
+ * Helper function to create stack offset configuration.
358
+ *
359
+ * @param offset - Stack offset type
360
+ * @returns A stack offset variant
361
+ *
362
+ * @remarks
363
+ * Controls how stacked series are offset (none, expand, wiggle, silhouette).
364
+ */
95
365
  readonly StackOffset: typeof StackOffset;
96
- /** Bar layout */
366
+ /**
367
+ * Helper function to create bar layout configuration.
368
+ *
369
+ * @param layout - Bar layout type
370
+ * @returns A bar layout variant
371
+ *
372
+ * @remarks
373
+ * Controls bar orientation (horizontal or vertical).
374
+ */
97
375
  readonly BarLayout: typeof BarLayout;
98
- /** Legend */
376
+ /**
377
+ * Helper function to create legend configuration.
378
+ *
379
+ * @param config - Legend configuration options
380
+ * @returns A legend configuration object
381
+ *
382
+ * @remarks
383
+ * Controls the display and positioning of the chart legend.
384
+ */
99
385
  readonly Legend: typeof ChartLegend;
100
- /** Tooltip */
386
+ /**
387
+ * Helper function to create tooltip configuration.
388
+ *
389
+ * @param config - Tooltip configuration options
390
+ * @returns A tooltip configuration object
391
+ *
392
+ * @remarks
393
+ * Controls the display and behavior of chart tooltips.
394
+ */
101
395
  readonly Tooltip: typeof ChartTooltip;
102
- /** Axis */
396
+ /**
397
+ * Helper function to create axis configuration.
398
+ *
399
+ * @param config - Axis configuration options
400
+ * @returns An axis configuration object
401
+ *
402
+ * @remarks
403
+ * Configures axis labels, tick formats, and visibility.
404
+ */
103
405
  readonly Axis: typeof ChartAxis;
406
+ /**
407
+ * Tick format helpers for axis labels.
408
+ *
409
+ * @remarks
410
+ * Provides type-safe formatters for different number and date formats.
411
+ */
104
412
  readonly TickFormat: {
413
+ /** Format as plain number */
105
414
  readonly Number: typeof NumberTickFormat;
415
+ /** Format as currency */
106
416
  readonly Currency: typeof CurrencyTickFormat;
417
+ /** Format as percentage */
107
418
  readonly Percent: typeof PercentTickFormat;
419
+ /** Format as compact number (K, M, B) */
108
420
  readonly Compact: typeof CompactTickFormat;
421
+ /** Format with custom unit */
109
422
  readonly Unit: typeof UnitTickFormat;
423
+ /** Format in scientific notation */
110
424
  readonly Scientific: typeof ScientificTickFormat;
425
+ /** Format in engineering notation */
111
426
  readonly Engineering: typeof EngineeringTickFormat;
427
+ /** Format as date */
112
428
  readonly Date: typeof DateTickFormat;
429
+ /** Format as time */
113
430
  readonly Time: typeof TimeTickFormat;
431
+ /** Format as date and time */
114
432
  readonly DateTime: typeof DateTimeTickFormat;
115
433
  };
116
- /** East types for all chart components */
434
+ /**
435
+ * East types for all chart components and configuration.
436
+ *
437
+ * @remarks
438
+ * Access these types for serialization or type-checking chart data structures.
439
+ */
117
440
  readonly Types: {
441
+ /**
442
+ * The concrete East type for chart series configuration.
443
+ *
444
+ * @remarks
445
+ * Defines how a data field is rendered as a series in multi-series charts.
446
+ * Mirrors Chakra's useChart series config.
447
+ *
448
+ * @property name - Data key name matching keys in data points (StringType)
449
+ * @property color - Chakra color token e.g. "teal.solid" (OptionType<StringType>)
450
+ * @property stackId - Stack group ID for stacking (OptionType<StringType>)
451
+ * @property label - Display label, defaults to name (OptionType<StringType>)
452
+ * @property stroke - Stroke/line color (OptionType<StringType>)
453
+ * @property strokeWidth - Stroke width in pixels (OptionType<IntegerType>)
454
+ * @property fill - Fill color (OptionType<StringType>)
455
+ * @property fillOpacity - Fill opacity 0-1 (OptionType<FloatType>)
456
+ * @property strokeDasharray - Dash pattern e.g. "5 5" (OptionType<StringType>)
457
+ */
118
458
  readonly Series: import("@elaraai/east").StructType<{
119
459
  name: import("@elaraai/east").StringType;
120
460
  color: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
@@ -126,6 +466,15 @@ export declare const Chart: {
126
466
  fillOpacity: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
127
467
  strokeDasharray: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
128
468
  }>;
469
+ /**
470
+ * The concrete East type for chart sort configuration.
471
+ *
472
+ * @remarks
473
+ * Used to sort data in BarList and BarSegment charts.
474
+ *
475
+ * @property by - Data key to sort by (StringType)
476
+ * @property direction - Sort direction asc or desc (ChartSortDirectionType)
477
+ */
129
478
  readonly Sort: import("@elaraai/east").StructType<{
130
479
  by: import("@elaraai/east").StringType;
131
480
  direction: import("@elaraai/east").VariantType<{
@@ -133,10 +482,33 @@ export declare const Chart: {
133
482
  desc: import("@elaraai/east").NullType;
134
483
  }>;
135
484
  }>;
485
+ /**
486
+ * Sort direction variant type.
487
+ *
488
+ * @remarks
489
+ * Controls ascending or descending sort order for charts.
490
+ *
491
+ * @property asc - Ascending order (smallest to largest)
492
+ * @property desc - Descending order (largest to smallest)
493
+ */
136
494
  readonly SortDirection: import("@elaraai/east").VariantType<{
137
495
  asc: import("@elaraai/east").NullType;
138
496
  desc: import("@elaraai/east").NullType;
139
497
  }>;
498
+ /**
499
+ * The concrete East type for chart axis configuration.
500
+ *
501
+ * @remarks
502
+ * Configures X and Y axis display on Cartesian charts.
503
+ *
504
+ * @property dataKey - Field name for axis values (OptionType<StringType>)
505
+ * @property label - Axis label text (OptionType<StringType>)
506
+ * @property tickFormat - Format for tick labels (OptionType<TickFormatType>)
507
+ * @property hide - Whether to hide the axis (OptionType<BooleanType>)
508
+ * @property domain - Axis domain min/max (OptionType<ArrayType<FloatType>>)
509
+ * @property tickLine - Show tick lines (OptionType<BooleanType>)
510
+ * @property axisLine - Show axis line (OptionType<BooleanType>)
511
+ */
140
512
  readonly Axis: import("@elaraai/east").StructType<{
141
513
  dataKey: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
142
514
  label: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
@@ -327,6 +699,23 @@ export declare const Chart: {
327
699
  }>>;
328
700
  axisId: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
329
701
  }>;
702
+ /**
703
+ * Tick format variant type for axis labels.
704
+ *
705
+ * @remarks
706
+ * Provides type-safe number and date formatting options for axis ticks.
707
+ *
708
+ * @property Number - Plain number format with decimal places
709
+ * @property Currency - Currency format with symbol and locale
710
+ * @property Percent - Percentage format
711
+ * @property Compact - Compact notation (K, M, B)
712
+ * @property Unit - Custom unit suffix
713
+ * @property Scientific - Scientific notation
714
+ * @property Engineering - Engineering notation
715
+ * @property Date - Date format
716
+ * @property Time - Time format
717
+ * @property DateTime - Date and time format
718
+ */
330
719
  readonly TickFormat: import("@elaraai/east").VariantType<{
331
720
  number: import("@elaraai/east").StructType<{
332
721
  minimumFractionDigits: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
@@ -500,6 +889,19 @@ export declare const Chart: {
500
889
  hour12: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
501
890
  }>;
502
891
  }>;
892
+ /**
893
+ * Curve type variant for line interpolation.
894
+ *
895
+ * @remarks
896
+ * Controls how line segments are interpolated between data points.
897
+ *
898
+ * @property linear - Straight line segments
899
+ * @property natural - Natural cubic spline (smooth)
900
+ * @property monotone - Monotone cubic interpolation (no overshoot)
901
+ * @property step - Step function (horizontal then vertical)
902
+ * @property stepBefore - Step before the point
903
+ * @property stepAfter - Step after the point
904
+ */
503
905
  readonly Curve: import("@elaraai/east").VariantType<{
504
906
  linear: import("@elaraai/east").NullType;
505
907
  natural: import("@elaraai/east").NullType;
@@ -508,16 +910,57 @@ export declare const Chart: {
508
910
  stepBefore: import("@elaraai/east").NullType;
509
911
  stepAfter: import("@elaraai/east").NullType;
510
912
  }>;
913
+ /**
914
+ * Stack offset variant type.
915
+ *
916
+ * @remarks
917
+ * Controls how stacked series are offset relative to each other.
918
+ *
919
+ * @property none - No offset, standard stacking from zero
920
+ * @property expand - Normalize to percentage (0-100%)
921
+ * @property wiggle - Minimize deviation from center
922
+ * @property silhouette - Center the baseline
923
+ */
511
924
  readonly StackOffset: import("@elaraai/east").VariantType<{
512
925
  none: import("@elaraai/east").NullType;
513
926
  expand: import("@elaraai/east").NullType;
514
927
  wiggle: import("@elaraai/east").NullType;
515
928
  silhouette: import("@elaraai/east").NullType;
516
929
  }>;
930
+ /**
931
+ * Bar layout variant type.
932
+ *
933
+ * @remarks
934
+ * Controls the orientation of bars in bar charts.
935
+ *
936
+ * @property horizontal - Bars extend horizontally (category on Y axis)
937
+ * @property vertical - Bars extend vertically (category on X axis)
938
+ */
517
939
  readonly BarLayout: import("@elaraai/east").VariantType<{
518
940
  horizontal: import("@elaraai/east").NullType;
519
941
  vertical: import("@elaraai/east").NullType;
520
942
  }>;
943
+ /**
944
+ * The concrete East type for Area chart data.
945
+ *
946
+ * @remarks
947
+ * Area charts display quantitative data with filled areas under line curves.
948
+ * Supports stacking for showing part-to-whole relationships.
949
+ *
950
+ * @property data - Array of data points as Dict<String, LiteralValue>
951
+ * @property series - Array of series configuration (ArrayType<ChartSeriesType>)
952
+ * @property xAxis - X-axis configuration (OptionType<ChartAxisType>)
953
+ * @property yAxis - Y-axis configuration (OptionType<ChartAxisType>)
954
+ * @property curveType - Line curve interpolation (OptionType<CurveType>)
955
+ * @property stacked - Enable stacking (OptionType<BooleanType>)
956
+ * @property stackOffset - Stack offset mode (OptionType<StackOffsetType>)
957
+ * @property grid - Grid configuration (OptionType<ChartGridType>)
958
+ * @property tooltip - Tooltip configuration (OptionType<ChartTooltipType>)
959
+ * @property legend - Legend configuration (OptionType<ChartLegendType>)
960
+ * @property margin - Chart margin (OptionType<ChartMarginType>)
961
+ * @property fillOpacity - Fill opacity 0-1 (OptionType<FloatType>)
962
+ * @property connectNulls - Connect across nulls (OptionType<BooleanType>)
963
+ */
521
964
  readonly AreaChart: import("@elaraai/east").StructType<{
522
965
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").VariantType<{
523
966
  Null: import("@elaraai/east").NullType;
@@ -976,6 +1419,28 @@ export declare const Chart: {
976
1419
  fillOpacity: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
977
1420
  connectNulls: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
978
1421
  }>;
1422
+ /**
1423
+ * The concrete East type for Bar chart data.
1424
+ *
1425
+ * @remarks
1426
+ * Bar charts display categorical data with rectangular bars.
1427
+ * Supports horizontal/vertical layouts and stacking.
1428
+ *
1429
+ * @property data - Array of data points as Dict<String, LiteralValue>
1430
+ * @property series - Array of series configuration (ArrayType<ChartSeriesType>)
1431
+ * @property xAxis - X-axis configuration (OptionType<ChartAxisType>)
1432
+ * @property yAxis - Y-axis configuration (OptionType<ChartAxisType>)
1433
+ * @property layout - Bar direction (OptionType<BarLayoutType>)
1434
+ * @property stacked - Enable stacking (OptionType<BooleanType>)
1435
+ * @property stackOffset - Stack offset mode (OptionType<StackOffsetType>)
1436
+ * @property grid - Grid configuration (OptionType<ChartGridType>)
1437
+ * @property tooltip - Tooltip configuration (OptionType<ChartTooltipType>)
1438
+ * @property legend - Legend configuration (OptionType<ChartLegendType>)
1439
+ * @property margin - Chart margin (OptionType<ChartMarginType>)
1440
+ * @property barSize - Bar width/height in pixels (OptionType<IntegerType>)
1441
+ * @property barGap - Gap between bars (OptionType<IntegerType>)
1442
+ * @property radius - Rounded corner radius (OptionType<IntegerType>)
1443
+ */
979
1444
  readonly BarChart: import("@elaraai/east").StructType<{
980
1445
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").VariantType<{
981
1446
  Null: import("@elaraai/east").NullType;
@@ -1431,6 +1896,26 @@ export declare const Chart: {
1431
1896
  barGap: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
1432
1897
  radius: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
1433
1898
  }>;
1899
+ /**
1900
+ * The concrete East type for Line chart data.
1901
+ *
1902
+ * @remarks
1903
+ * Line charts display data points connected by line segments.
1904
+ * Ideal for showing trends over time.
1905
+ *
1906
+ * @property data - Array of data points as Dict<String, LiteralValue>
1907
+ * @property series - Array of series configuration (ArrayType<ChartSeriesType>)
1908
+ * @property xAxis - X-axis configuration (OptionType<ChartAxisType>)
1909
+ * @property yAxis - Y-axis configuration (OptionType<ChartAxisType>)
1910
+ * @property curveType - Line curve interpolation (OptionType<CurveType>)
1911
+ * @property grid - Grid configuration (OptionType<ChartGridType>)
1912
+ * @property tooltip - Tooltip configuration (OptionType<ChartTooltipType>)
1913
+ * @property legend - Legend configuration (OptionType<ChartLegendType>)
1914
+ * @property margin - Chart margin (OptionType<ChartMarginType>)
1915
+ * @property showDots - Show dots at data points (OptionType<BooleanType>)
1916
+ * @property strokeWidth - Line stroke width (OptionType<IntegerType>)
1917
+ * @property connectNulls - Connect across nulls (OptionType<BooleanType>)
1918
+ */
1434
1919
  readonly LineChart: import("@elaraai/east").StructType<{
1435
1920
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").VariantType<{
1436
1921
  Null: import("@elaraai/east").NullType;
@@ -1883,6 +2368,22 @@ export declare const Chart: {
1883
2368
  strokeWidth: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
1884
2369
  connectNulls: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
1885
2370
  }>;
2371
+ /**
2372
+ * The concrete East type for Scatter chart data.
2373
+ *
2374
+ * @remarks
2375
+ * Scatter charts display individual data points on a coordinate plane.
2376
+ * Ideal for showing relationships between two variables.
2377
+ *
2378
+ * @property data - Array of data points as Dict<String, LiteralValue>
2379
+ * @property series - Array of series configuration (ArrayType<ChartSeriesType>)
2380
+ * @property xAxis - X-axis configuration (OptionType<ChartAxisType>)
2381
+ * @property yAxis - Y-axis configuration (OptionType<ChartAxisType>)
2382
+ * @property grid - Grid configuration (OptionType<ChartGridType>)
2383
+ * @property tooltip - Tooltip configuration (OptionType<ChartTooltipType>)
2384
+ * @property legend - Legend configuration (OptionType<ChartLegendType>)
2385
+ * @property margin - Chart margin (OptionType<ChartMarginType>)
2386
+ */
1886
2387
  readonly ScatterChart: import("@elaraai/east").StructType<{
1887
2388
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").VariantType<{
1888
2389
  Null: import("@elaraai/east").NullType;
@@ -2327,6 +2828,22 @@ export declare const Chart: {
2327
2828
  }>>;
2328
2829
  pointSize: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
2329
2830
  }>;
2831
+ /**
2832
+ * The concrete East type for Pie chart data.
2833
+ *
2834
+ * @remarks
2835
+ * Pie charts display proportional data as slices of a circle.
2836
+ * Set innerRadius for a donut chart appearance.
2837
+ *
2838
+ * @property data - Array of pie slices (ArrayType<PieSliceType>)
2839
+ * @property innerRadius - Inner radius for donut chart (OptionType<IntegerType>)
2840
+ * @property outerRadius - Outer radius (OptionType<IntegerType>)
2841
+ * @property startAngle - Starting angle in degrees (OptionType<IntegerType>)
2842
+ * @property endAngle - Ending angle in degrees (OptionType<IntegerType>)
2843
+ * @property showLabels - Show slice labels (OptionType<BooleanType>)
2844
+ * @property tooltip - Tooltip configuration (OptionType<ChartTooltipType>)
2845
+ * @property legend - Legend configuration (OptionType<ChartLegendType>)
2846
+ */
2330
2847
  readonly PieChart: import("@elaraai/east").StructType<{
2331
2848
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
2332
2849
  name: import("@elaraai/east").StringType;
@@ -2372,11 +2889,35 @@ export declare const Chart: {
2372
2889
  left: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
2373
2890
  }>>;
2374
2891
  }>;
2892
+ /**
2893
+ * The concrete East type for Pie chart slice data.
2894
+ *
2895
+ * @remarks
2896
+ * Each slice represents a segment of the pie chart.
2897
+ *
2898
+ * @property name - Slice label (StringType)
2899
+ * @property value - Slice value (IntegerType or FloatType)
2900
+ * @property color - Slice color (OptionType<StringType>)
2901
+ */
2375
2902
  readonly PieSlice: import("@elaraai/east").StructType<{
2376
2903
  name: import("@elaraai/east").StringType;
2377
2904
  value: import("@elaraai/east").FloatType;
2378
2905
  color: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
2379
2906
  }>;
2907
+ /**
2908
+ * The concrete East type for Radar chart data.
2909
+ *
2910
+ * @remarks
2911
+ * Radar charts display multivariate data on radial axes.
2912
+ * Useful for comparing multiple attributes across entities.
2913
+ *
2914
+ * @property data - Array of data points as Dict<String, LiteralValue>
2915
+ * @property series - Array of series configuration (ArrayType<ChartSeriesType>)
2916
+ * @property dataKey - Field name for radial axis labels (StringType)
2917
+ * @property grid - Grid configuration (OptionType<ChartGridType>)
2918
+ * @property tooltip - Tooltip configuration (OptionType<ChartTooltipType>)
2919
+ * @property legend - Legend configuration (OptionType<ChartLegendType>)
2920
+ */
2380
2921
  readonly RadarChart: import("@elaraai/east").StructType<{
2381
2922
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").VariantType<{
2382
2923
  Null: import("@elaraai/east").NullType;
@@ -2440,6 +2981,18 @@ export declare const Chart: {
2440
2981
  }>>;
2441
2982
  fillOpacity: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
2442
2983
  }>;
2984
+ /**
2985
+ * The concrete East type for BarList data.
2986
+ *
2987
+ * @remarks
2988
+ * BarList displays horizontal comparison bars with labels and values.
2989
+ * Native Chakra component, not Recharts-based.
2990
+ *
2991
+ * @property data - Array of bar items (ArrayType<BarListItemType>)
2992
+ * @property colorPalette - Default color scheme (OptionType<ColorSchemeType>)
2993
+ * @property showValue - Show values next to bars (OptionType<BooleanType>)
2994
+ * @property sort - Sort configuration (OptionType<ChartSortType>)
2995
+ */
2443
2996
  readonly BarList: import("@elaraai/east").StructType<{
2444
2997
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
2445
2998
  name: import("@elaraai/east").StringType;
@@ -2630,11 +3183,33 @@ export declare const Chart: {
2630
3183
  }>>;
2631
3184
  color: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
2632
3185
  }>;
3186
+ /**
3187
+ * The concrete East type for BarList item data.
3188
+ *
3189
+ * @remarks
3190
+ * Each item represents a bar in the BarList chart.
3191
+ *
3192
+ * @property name - Item label (StringType)
3193
+ * @property value - Item value (IntegerType or FloatType)
3194
+ * @property color - Item color (OptionType<StringType>)
3195
+ * @property href - Optional link URL (OptionType<StringType>)
3196
+ */
2633
3197
  readonly BarListItem: import("@elaraai/east").StructType<{
2634
3198
  name: import("@elaraai/east").StringType;
2635
3199
  value: import("@elaraai/east").FloatType;
2636
3200
  color: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
2637
3201
  }>;
3202
+ /**
3203
+ * The concrete East type for BarSegment data.
3204
+ *
3205
+ * @remarks
3206
+ * BarSegment displays proportional segments in a single horizontal bar.
3207
+ * Native Chakra component for showing percentage breakdowns.
3208
+ *
3209
+ * @property data - Array of segment items (ArrayType<BarSegmentItemType>)
3210
+ * @property showLegend - Show legend (OptionType<BooleanType>)
3211
+ * @property showValue - Show values on segments (OptionType<BooleanType>)
3212
+ */
2638
3213
  readonly BarSegment: import("@elaraai/east").StructType<{
2639
3214
  data: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
2640
3215
  name: import("@elaraai/east").StringType;
@@ -2651,6 +3226,16 @@ export declare const Chart: {
2651
3226
  showValue: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
2652
3227
  showLabel: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
2653
3228
  }>;
3229
+ /**
3230
+ * The concrete East type for BarSegment item data.
3231
+ *
3232
+ * @remarks
3233
+ * Each item represents a segment in the BarSegment chart.
3234
+ *
3235
+ * @property name - Segment label (StringType)
3236
+ * @property value - Segment value (IntegerType or FloatType)
3237
+ * @property color - Segment color (OptionType<StringType>)
3238
+ */
2654
3239
  readonly BarSegmentItem: import("@elaraai/east").StructType<{
2655
3240
  name: import("@elaraai/east").StringType;
2656
3241
  value: import("@elaraai/east").FloatType;