@elaraai/east-ui 1.0.30 → 1.0.32

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 (167) hide show
  1. package/README.md +1 -1
  2. package/dist/src/charts/chart/index.d.ts +116 -12
  3. package/dist/src/charts/chart/index.d.ts.map +1 -1
  4. package/dist/src/charts/chart/index.js +100 -37
  5. package/dist/src/charts/chart/index.js.map +1 -1
  6. package/dist/src/charts/index.d.ts +2 -1
  7. package/dist/src/charts/index.d.ts.map +1 -1
  8. package/dist/src/charts/index.js +2 -1
  9. package/dist/src/charts/index.js.map +1 -1
  10. package/dist/src/charts/spec/index.d.ts +5 -3
  11. package/dist/src/charts/spec/index.d.ts.map +1 -1
  12. package/dist/src/charts/spec/index.js +2 -2
  13. package/dist/src/charts/spec/index.js.map +1 -1
  14. package/dist/src/charts/spec/types.d.ts +7 -2
  15. package/dist/src/charts/spec/types.d.ts.map +1 -1
  16. package/dist/src/charts/spec/types.js +7 -2
  17. package/dist/src/charts/spec/types.js.map +1 -1
  18. package/dist/src/collections/blend/index.d.ts +59 -0
  19. package/dist/src/collections/blend/index.d.ts.map +1 -1
  20. package/dist/src/collections/blend/index.js +1 -0
  21. package/dist/src/collections/blend/index.js.map +1 -1
  22. package/dist/src/collections/blend/types.d.ts +66 -0
  23. package/dist/src/collections/blend/types.d.ts.map +1 -1
  24. package/dist/src/collections/blend/types.js +15 -1
  25. package/dist/src/collections/blend/types.js.map +1 -1
  26. package/dist/src/collections/board/index.d.ts +381 -28
  27. package/dist/src/collections/board/index.d.ts.map +1 -1
  28. package/dist/src/collections/board/index.js +133 -5
  29. package/dist/src/collections/board/index.js.map +1 -1
  30. package/dist/src/collections/board/types.d.ts +1 -198
  31. package/dist/src/collections/board/types.d.ts.map +1 -1
  32. package/dist/src/collections/board/types.js +6 -73
  33. package/dist/src/collections/board/types.js.map +1 -1
  34. package/dist/src/collections/gantt/index.d.ts +63 -24
  35. package/dist/src/collections/gantt/index.d.ts.map +1 -1
  36. package/dist/src/collections/gantt/index.js +98 -64
  37. package/dist/src/collections/gantt/index.js.map +1 -1
  38. package/dist/src/collections/gantt/types.d.ts +31 -76
  39. package/dist/src/collections/gantt/types.d.ts.map +1 -1
  40. package/dist/src/collections/gantt/types.js +18 -60
  41. package/dist/src/collections/gantt/types.js.map +1 -1
  42. package/dist/src/collections/library/index.d.ts +700 -17
  43. package/dist/src/collections/library/index.d.ts.map +1 -1
  44. package/dist/src/collections/library/index.js +66 -12
  45. package/dist/src/collections/library/index.js.map +1 -1
  46. package/dist/src/collections/library/types.d.ts +710 -38
  47. package/dist/src/collections/library/types.d.ts.map +1 -1
  48. package/dist/src/collections/library/types.js +48 -20
  49. package/dist/src/collections/library/types.js.map +1 -1
  50. package/dist/src/collections/planner/index.d.ts +45 -26
  51. package/dist/src/collections/planner/index.d.ts.map +1 -1
  52. package/dist/src/collections/planner/index.js +37 -27
  53. package/dist/src/collections/planner/index.js.map +1 -1
  54. package/dist/src/collections/planner/types.d.ts +11 -0
  55. package/dist/src/collections/planner/types.d.ts.map +1 -1
  56. package/dist/src/collections/planner/types.js +11 -0
  57. package/dist/src/collections/planner/types.js.map +1 -1
  58. package/dist/src/collections/roster/index.d.ts +397 -21
  59. package/dist/src/collections/roster/index.d.ts.map +1 -1
  60. package/dist/src/collections/roster/index.js +94 -4
  61. package/dist/src/collections/roster/index.js.map +1 -1
  62. package/dist/src/collections/roster/types.d.ts +15 -161
  63. package/dist/src/collections/roster/types.d.ts.map +1 -1
  64. package/dist/src/collections/roster/types.js +13 -58
  65. package/dist/src/collections/roster/types.js.map +1 -1
  66. package/dist/src/collections/table/index.d.ts +8 -0
  67. package/dist/src/collections/table/index.d.ts.map +1 -1
  68. package/dist/src/collections/table/index.js +22 -0
  69. package/dist/src/collections/table/index.js.map +1 -1
  70. package/dist/src/collections/table/types.d.ts +17 -0
  71. package/dist/src/collections/table/types.d.ts.map +1 -1
  72. package/dist/src/collections/table/types.js.map +1 -1
  73. package/dist/src/component.d.ts +1411 -299
  74. package/dist/src/component.d.ts.map +1 -1
  75. package/dist/src/component.js +131 -11
  76. package/dist/src/component.js.map +1 -1
  77. package/dist/src/contracts/drag.d.ts +122 -1
  78. package/dist/src/contracts/drag.d.ts.map +1 -1
  79. package/dist/src/contracts/drag.js +46 -1
  80. package/dist/src/contracts/drag.js.map +1 -1
  81. package/dist/src/contracts/index.d.ts +2 -1
  82. package/dist/src/contracts/index.d.ts.map +1 -1
  83. package/dist/src/contracts/index.js +2 -1
  84. package/dist/src/contracts/index.js.map +1 -1
  85. package/dist/src/contracts/review.d.ts +198 -0
  86. package/dist/src/contracts/review.d.ts.map +1 -0
  87. package/dist/src/contracts/review.js +163 -0
  88. package/dist/src/contracts/review.js.map +1 -0
  89. package/dist/src/index.d.ts +3 -2
  90. package/dist/src/index.d.ts.map +1 -1
  91. package/dist/src/index.js +4 -2
  92. package/dist/src/index.js.map +1 -1
  93. package/dist/src/internal.d.ts +4 -2
  94. package/dist/src/internal.d.ts.map +1 -1
  95. package/dist/src/internal.js +5 -2
  96. package/dist/src/internal.js.map +1 -1
  97. package/dist/src/layout/expandable/index.d.ts +116 -0
  98. package/dist/src/layout/expandable/index.d.ts.map +1 -0
  99. package/dist/src/layout/expandable/index.js +129 -0
  100. package/dist/src/layout/expandable/index.js.map +1 -0
  101. package/dist/src/layout/expandable/types.d.ts +43 -0
  102. package/dist/src/layout/expandable/types.d.ts.map +1 -0
  103. package/dist/src/layout/expandable/types.js +18 -0
  104. package/dist/src/layout/expandable/types.js.map +1 -0
  105. package/dist/src/layout/index.d.ts +1 -0
  106. package/dist/src/layout/index.d.ts.map +1 -1
  107. package/dist/src/layout/index.js +1 -0
  108. package/dist/src/layout/index.js.map +1 -1
  109. package/dist/src/runtime/charts/chart.d.ts +16 -13
  110. package/dist/src/runtime/charts/chart.d.ts.map +1 -1
  111. package/dist/src/runtime/charts/chart.js +16 -13
  112. package/dist/src/runtime/charts/chart.js.map +1 -1
  113. package/dist/src/runtime/collections/library.d.ts +4 -2
  114. package/dist/src/runtime/collections/library.d.ts.map +1 -1
  115. package/dist/src/runtime/collections/library.js +4 -2
  116. package/dist/src/runtime/collections/library.js.map +1 -1
  117. package/dist/src/runtime/layout/expandable.d.ts +43 -0
  118. package/dist/src/runtime/layout/expandable.d.ts.map +1 -0
  119. package/dist/src/runtime/layout/expandable.js +41 -0
  120. package/dist/src/runtime/layout/expandable.js.map +1 -0
  121. package/dist/src/runtime/layout/index.d.ts +1 -0
  122. package/dist/src/runtime/layout/index.d.ts.map +1 -1
  123. package/dist/src/runtime/layout/index.js +1 -0
  124. package/dist/src/runtime/layout/index.js.map +1 -1
  125. package/dist/test/charts/chart.examples.d.ts +8 -4
  126. package/dist/test/charts/chart.examples.d.ts.map +1 -1
  127. package/dist/test/charts/chart.examples.js +89 -34
  128. package/dist/test/charts/chart.examples.js.map +1 -1
  129. package/dist/test/collections/blend.examples.d.ts +10 -1
  130. package/dist/test/collections/blend.examples.d.ts.map +1 -1
  131. package/dist/test/collections/blend.examples.js +52 -6
  132. package/dist/test/collections/blend.examples.js.map +1 -1
  133. package/dist/test/collections/board.examples.d.ts +8 -1
  134. package/dist/test/collections/board.examples.d.ts.map +1 -1
  135. package/dist/test/collections/board.examples.js +32 -5
  136. package/dist/test/collections/board.examples.js.map +1 -1
  137. package/dist/test/collections/gantt.examples.d.ts +26 -1
  138. package/dist/test/collections/gantt.examples.d.ts.map +1 -1
  139. package/dist/test/collections/gantt.examples.js +153 -27
  140. package/dist/test/collections/gantt.examples.js.map +1 -1
  141. package/dist/test/collections/library.examples.d.ts +3 -0
  142. package/dist/test/collections/library.examples.d.ts.map +1 -1
  143. package/dist/test/collections/library.examples.js +107 -2
  144. package/dist/test/collections/library.examples.js.map +1 -1
  145. package/dist/test/collections/planner.examples.d.ts +14 -0
  146. package/dist/test/collections/planner.examples.d.ts.map +1 -1
  147. package/dist/test/collections/planner.examples.js +127 -3
  148. package/dist/test/collections/planner.examples.js.map +1 -1
  149. package/dist/test/collections/roster.examples.d.ts +17 -1
  150. package/dist/test/collections/roster.examples.d.ts.map +1 -1
  151. package/dist/test/collections/roster.examples.js +89 -9
  152. package/dist/test/collections/roster.examples.js.map +1 -1
  153. package/dist/test/collections/table.examples.d.ts +16 -0
  154. package/dist/test/collections/table.examples.d.ts.map +1 -1
  155. package/dist/test/collections/table.examples.js +62 -2
  156. package/dist/test/collections/table.examples.js.map +1 -1
  157. package/dist/test/disclosure/story.examples.js +3 -3
  158. package/dist/test/disclosure/story.examples.js.map +1 -1
  159. package/dist/test/layout/expandable.examples.d.ts +3 -0
  160. package/dist/test/layout/expandable.examples.d.ts.map +1 -0
  161. package/dist/test/layout/expandable.examples.js +31 -0
  162. package/dist/test/layout/expandable.examples.js.map +1 -0
  163. package/dist/test/layout/index.d.ts +1 -0
  164. package/dist/test/layout/index.d.ts.map +1 -1
  165. package/dist/test/layout/index.js +1 -0
  166. package/dist/test/layout/index.js.map +1 -1
  167. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,8CAA8C;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,eAAe;AACf,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAuB,MAAM,wBAAwB,CAAC;AAE1E,+BAA+B;AAC/B,OAAO,EACH,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,GAChB,MAAM,qBAAqB,CAAC;AAE7B,iBAAiB;AACjB,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAS3C,mCAAmC;AACnC,OAAO,EACH,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAC3D,OAAO,EAAE,IAAI,G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;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,116 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ import { type ExprType, type SubtypeExprOrValue, BooleanType, FunctionType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
6
+ import { UIComponentType } from "../../component.js";
7
+ import { ExpandableStyleType, type ExpandableOptions } from "./types.js";
8
+ export { ExpandableStyleType, type ExpandableStyle, type ExpandableOptions, } from "./types.js";
9
+ /**
10
+ * Concrete struct mirroring the inline `Expandable` variant in
11
+ * `component.ts`. Renderers reference this for `equalFor` / `ValueTypeOf`.
12
+ *
13
+ * @property content - The region content (UIComp) — keeps its identity across expand/collapse
14
+ * @property expanded - Expanded state (synced on change; omit for local toggling)
15
+ * @property onExpandedChange - Callback invoked with the new expanded state
16
+ * @property label - Accessible name for the toggle control
17
+ * @property style - Visual-presentation sub-struct (zIndex, background)
18
+ */
19
+ export declare const ExpandableType: StructType<{
20
+ content: UIComponentType;
21
+ expanded: OptionType<BooleanType>;
22
+ onExpandedChange: OptionType<FunctionType<[BooleanType], NullType>>;
23
+ label: OptionType<StringType>;
24
+ style: OptionType<ExpandableStyleType>;
25
+ }>;
26
+ export type ExpandableType = typeof ExpandableType;
27
+ /**
28
+ * Creates an Expandable — a region that can expand in place to fill the
29
+ * host application's container (the whole window the app renders in) and
30
+ * collapse back into the surrounding layout.
31
+ *
32
+ * @param content - The region content (UIComp)
33
+ * @param options - Optional state / behaviour / visual style fields
34
+ * @returns An East expression representing the Expandable component
35
+ *
36
+ * @remarks
37
+ * The renderer performs a CSS takeover (`position: fixed; inset: 0`) on the
38
+ * same element — the content keeps its React/DOM identity, so transient
39
+ * state (scroll, selection, splitter drag) survives expand/collapse. This is
40
+ * an in-place resize, not an overlay: distinct from `Collapsible` (in-flow
41
+ * show/hide of a region), `Disclosure` (text truncation), and `Dialog` /
42
+ * `Drawer` (portalled overlays with backdrop semantics that render a copy of
43
+ * their content).
44
+ *
45
+ * The expanded surface fills the viewport only when no ancestor element
46
+ * creates a CSS containing block (`transform`, `filter`, `backdrop-filter`,
47
+ * `perspective`, `contain`) — host apps embedding east-ui must keep the
48
+ * ancestry of expandable regions free of those properties. Esc collapses the
49
+ * topmost expanded region unless an inner overlay consumed the keypress.
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * import { East } from "@elaraai/east";
54
+ * import { Box, Expandable, Text, UIComponentType } from "@elaraai/east-ui/internal";
55
+ *
56
+ * const region = East.function([], UIComponentType, _$ =>
57
+ * Expandable.Root(
58
+ * Box.Root([Text.Root("Dense chart region — expand me")], { padding: "3" }),
59
+ * { label: "Schedule" },
60
+ * ),
61
+ * );
62
+ * ```
63
+ */
64
+ declare function createExpandable(content: SubtypeExprOrValue<UIComponentType>, options?: ExpandableOptions): ExprType<UIComponentType>;
65
+ /**
66
+ * Expandable primitive — a region that expands in place to fill the app
67
+ * container.
68
+ *
69
+ * @remarks
70
+ * Use `Expandable.Root(content, opts)`. Types are exposed via
71
+ * `Expandable.Types`.
72
+ */
73
+ export declare const Expandable: {
74
+ /**
75
+ * Creates an Expandable component.
76
+ *
77
+ * @param content - The region content (UIComp)
78
+ * @param options - Optional state / behaviour / visual style fields
79
+ * @returns An East expression representing the Expandable component
80
+ *
81
+ * @example
82
+ * ```ts
83
+ * import { East } from "@elaraai/east";
84
+ * import { Box, Expandable, Text, UIComponentType } from "@elaraai/east-ui/internal";
85
+ *
86
+ * const ex = East.function([], UIComponentType, _$ =>
87
+ * Expandable.Root(
88
+ * Box.Root([Text.Root("Dense chart region — expand me")], { padding: "3" }),
89
+ * { label: "Schedule" },
90
+ * ),
91
+ * );
92
+ * ```
93
+ */
94
+ readonly Root: typeof createExpandable;
95
+ readonly Types: {
96
+ /**
97
+ * The concrete East type for Expandable — mirrors the inline
98
+ * `Expandable` variant in `component.ts`.
99
+ */
100
+ readonly Expandable: StructType<{
101
+ content: UIComponentType;
102
+ expanded: OptionType<BooleanType>;
103
+ onExpandedChange: OptionType<FunctionType<[BooleanType], NullType>>;
104
+ label: OptionType<StringType>;
105
+ style: OptionType<ExpandableStyleType>;
106
+ }>;
107
+ /**
108
+ * Visual-only style struct for Expandable (zIndex, background).
109
+ */
110
+ readonly Style: StructType<{
111
+ readonly zIndex: OptionType<import("@elaraai/east").IntegerType>;
112
+ readonly background: OptionType<StringType>;
113
+ }>;
114
+ };
115
+ };
116
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layout/expandable/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACH,mBAAmB,EACnB,KAAK,iBAAiB,EACzB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACH,mBAAmB,EACnB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACzB,MAAM,YAAY,CAAC;AAMpB;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC;IACpC,OAAO,EAAE,eAAe,CAAC;IACzB,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAClC,gBAAgB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IACpE,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IAC9B,KAAK,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;CAC1C,CAMC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAMnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,gBAAgB,CACrB,OAAO,EAAE,kBAAkB,CAAC,eAAe,CAAC,EAC5C,OAAO,CAAC,EAAE,iBAAiB,GAC5B,QAAQ,CAAC,eAAe,CAAC,CAiB3B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;IACnB;;;;;;;;;;;;;;;;;;;OAmBG;;;QAGC;;;WAGG;;qBAhHE,eAAe;sBACd,UAAU,CAAC,WAAW,CAAC;8BACf,UAAU,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC;mBAC5D,UAAU,CAAC,UAAU,CAAC;mBACtB,UAAU,CAAC,mBAAmB,CAAC;;QA8GlC;;WAEG;;;;;;CAGD,CAAC"}
@@ -0,0 +1,129 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ import { East, BooleanType, FunctionType, NullType, OptionType, StringType, StructType, variant, some, none, } from "@elaraai/east";
6
+ import { UIComponentType } from "../../component.js";
7
+ import { ExpandableStyleType, } from "./types.js";
8
+ // Re-export types
9
+ export { ExpandableStyleType, } from "./types.js";
10
+ // ============================================================================
11
+ // ExpandableType — standalone mirror of the inline `Expandable` variant
12
+ // ============================================================================
13
+ /**
14
+ * Concrete struct mirroring the inline `Expandable` variant in
15
+ * `component.ts`. Renderers reference this for `equalFor` / `ValueTypeOf`.
16
+ *
17
+ * @property content - The region content (UIComp) — keeps its identity across expand/collapse
18
+ * @property expanded - Expanded state (synced on change; omit for local toggling)
19
+ * @property onExpandedChange - Callback invoked with the new expanded state
20
+ * @property label - Accessible name for the toggle control
21
+ * @property style - Visual-presentation sub-struct (zIndex, background)
22
+ */
23
+ export const ExpandableType = StructType({
24
+ content: UIComponentType,
25
+ expanded: OptionType(BooleanType),
26
+ onExpandedChange: OptionType(FunctionType([BooleanType], NullType)),
27
+ label: OptionType(StringType),
28
+ style: OptionType(ExpandableStyleType),
29
+ });
30
+ // ============================================================================
31
+ // Expandable Factory
32
+ // ============================================================================
33
+ /**
34
+ * Creates an Expandable — a region that can expand in place to fill the
35
+ * host application's container (the whole window the app renders in) and
36
+ * collapse back into the surrounding layout.
37
+ *
38
+ * @param content - The region content (UIComp)
39
+ * @param options - Optional state / behaviour / visual style fields
40
+ * @returns An East expression representing the Expandable component
41
+ *
42
+ * @remarks
43
+ * The renderer performs a CSS takeover (`position: fixed; inset: 0`) on the
44
+ * same element — the content keeps its React/DOM identity, so transient
45
+ * state (scroll, selection, splitter drag) survives expand/collapse. This is
46
+ * an in-place resize, not an overlay: distinct from `Collapsible` (in-flow
47
+ * show/hide of a region), `Disclosure` (text truncation), and `Dialog` /
48
+ * `Drawer` (portalled overlays with backdrop semantics that render a copy of
49
+ * their content).
50
+ *
51
+ * The expanded surface fills the viewport only when no ancestor element
52
+ * creates a CSS containing block (`transform`, `filter`, `backdrop-filter`,
53
+ * `perspective`, `contain`) — host apps embedding east-ui must keep the
54
+ * ancestry of expandable regions free of those properties. Esc collapses the
55
+ * topmost expanded region unless an inner overlay consumed the keypress.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * import { East } from "@elaraai/east";
60
+ * import { Box, Expandable, Text, UIComponentType } from "@elaraai/east-ui/internal";
61
+ *
62
+ * const region = East.function([], UIComponentType, _$ =>
63
+ * Expandable.Root(
64
+ * Box.Root([Text.Root("Dense chart region — expand me")], { padding: "3" }),
65
+ * { label: "Schedule" },
66
+ * ),
67
+ * );
68
+ * ```
69
+ */
70
+ function createExpandable(content, options) {
71
+ const hasVisual = options !== undefined
72
+ && (options.zIndex !== undefined || options.background !== undefined);
73
+ const styleValue = hasVisual
74
+ ? East.value({
75
+ zIndex: options.zIndex !== undefined ? some(options.zIndex) : none,
76
+ background: options.background !== undefined ? some(options.background) : none,
77
+ }, ExpandableStyleType)
78
+ : undefined;
79
+ return East.value(variant("Expandable", {
80
+ content,
81
+ expanded: options?.expanded !== undefined ? some(options.expanded) : none,
82
+ onExpandedChange: options?.onExpandedChange ? some(options.onExpandedChange) : none,
83
+ label: options?.label !== undefined ? some(options.label) : none,
84
+ style: styleValue ? some(styleValue) : none,
85
+ }), UIComponentType);
86
+ }
87
+ /**
88
+ * Expandable primitive — a region that expands in place to fill the app
89
+ * container.
90
+ *
91
+ * @remarks
92
+ * Use `Expandable.Root(content, opts)`. Types are exposed via
93
+ * `Expandable.Types`.
94
+ */
95
+ export const Expandable = {
96
+ /**
97
+ * Creates an Expandable component.
98
+ *
99
+ * @param content - The region content (UIComp)
100
+ * @param options - Optional state / behaviour / visual style fields
101
+ * @returns An East expression representing the Expandable component
102
+ *
103
+ * @example
104
+ * ```ts
105
+ * import { East } from "@elaraai/east";
106
+ * import { Box, Expandable, Text, UIComponentType } from "@elaraai/east-ui/internal";
107
+ *
108
+ * const ex = East.function([], UIComponentType, _$ =>
109
+ * Expandable.Root(
110
+ * Box.Root([Text.Root("Dense chart region — expand me")], { padding: "3" }),
111
+ * { label: "Schedule" },
112
+ * ),
113
+ * );
114
+ * ```
115
+ */
116
+ Root: createExpandable,
117
+ Types: {
118
+ /**
119
+ * The concrete East type for Expandable — mirrors the inline
120
+ * `Expandable` variant in `component.ts`.
121
+ */
122
+ Expandable: ExpandableType,
123
+ /**
124
+ * Visual-only style struct for Expandable (zIndex, background).
125
+ */
126
+ Style: ExpandableStyleType,
127
+ },
128
+ };
129
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/layout/expandable/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAGH,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,OAAO,EACP,IAAI,EACJ,IAAI,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACH,mBAAmB,GAEtB,MAAM,YAAY,CAAC;AAEpB,kBAAkB;AAClB,OAAO,EACH,mBAAmB,GAGtB,MAAM,YAAY,CAAC;AAEpB,+EAA+E;AAC/E,wEAAwE;AACxE,+EAA+E;AAE/E;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAMtB,UAAU,CAAC;IACZ,OAAO,EAAE,eAAe;IACxB,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IACjC,gBAAgB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC;IACnE,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7B,KAAK,EAAE,UAAU,CAAC,mBAAmB,CAAC;CACzC,CAAC,CAAC;AAIH,+EAA+E;AAC/E,qBAAqB;AACrB,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAS,gBAAgB,CACrB,OAA4C,EAC5C,OAA2B;IAE3B,MAAM,SAAS,GAAG,OAAO,KAAK,SAAS;WAChC,CAAC,OAAO,CAAC,MAAM,KAAK,SAAS,IAAI,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC;IAC1E,MAAM,U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elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ import { type SubtypeExprOrValue, BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
6
+ /**
7
+ * Style configuration for Expandable components.
8
+ *
9
+ * @property zIndex - Stacking level of the expanded surface. Default 900 —
10
+ * above typical host chrome, below every Chakra floating tier (dropdown
11
+ * 1000 … tooltip 1800) so overlays raised inside the region stack above it
12
+ * @property background - Background of the expanded surface. Default `bg.canvas`
13
+ */
14
+ export declare const ExpandableStyleType: StructType<{
15
+ readonly zIndex: OptionType<IntegerType>;
16
+ readonly background: OptionType<StringType>;
17
+ }>;
18
+ export type ExpandableStyleType = typeof ExpandableStyleType;
19
+ /**
20
+ * TypeScript style interface for {@link ExpandableStyleType}.
21
+ */
22
+ export interface ExpandableStyle {
23
+ /** Stacking level of the expanded surface (default 900 — below Chakra floating tiers). */
24
+ zIndex?: SubtypeExprOrValue<IntegerType>;
25
+ /** Background of the expanded surface (default `bg.canvas`). */
26
+ background?: SubtypeExprOrValue<StringType>;
27
+ }
28
+ /**
29
+ * Expandable options — passed to `Expandable.Root(content, opts)`.
30
+ */
31
+ export interface ExpandableOptions extends ExpandableStyle {
32
+ /**
33
+ * Expanded state. Synced on change (forms convention), so a
34
+ * `State.bind`-driven value controls the region reactively; omit for
35
+ * purely local toggling via the built-in control.
36
+ */
37
+ expanded?: SubtypeExprOrValue<BooleanType>;
38
+ /** Callback invoked with the new expanded state when the user toggles. */
39
+ onExpandedChange?: SubtypeExprOrValue<FunctionType<[BooleanType], NullType>>;
40
+ /** Accessible name for the toggle control ("Expand ‹label›" / "Collapse ‹label›"). */
41
+ label?: SubtypeExprOrValue<StringType>;
42
+ }
43
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layout/expandable/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAEvB;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;EAG9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,0FAA0F;IAC1F,MAAM,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IACzC,gEAAgE;IAChE,UAAU,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACtD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC3C,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC7E,sFAAsF;IACtF,KAAK,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ import { BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, } from "@elaraai/east";
6
+ /**
7
+ * Style configuration for Expandable components.
8
+ *
9
+ * @property zIndex - Stacking level of the expanded surface. Default 900 —
10
+ * above typical host chrome, below every Chakra floating tier (dropdown
11
+ * 1000 … tooltip 1800) so overlays raised inside the region stack above it
12
+ * @property background - Background of the expanded surface. Default `bg.canvas`
13
+ */
14
+ export const ExpandableStyleType = StructType({
15
+ zIndex: OptionType(IntegerType),
16
+ background: OptionType(StringType),
17
+ });
18
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/layout/expandable/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEH,WAAW,EACX,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,GACb,MAAM,eAAe,CAAC;AAEvB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC;IAC1C,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC"}
@@ -11,4 +11,5 @@ export { Grid } from "./grid/index.js";
11
11
  export { Splitter } from "./splitter/index.js";
12
12
  export { Sticky } from "./sticky/index.js";
13
13
  export { ScrollArea } from "./scroll-area/index.js";
14
+ export { Expandable } from "./expandable/index.js";
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC"}
@@ -11,4 +11,5 @@ export { Grid } from "./grid/index.js";
11
11
  export { Splitter } from "./splitter/index.js";
12
12
  export { Sticky } from "./sticky/index.js";
13
13
  export { ScrollArea } from "./scroll-area/index.js";
14
+ export { Expandable } from "./expandable/index.js";
14
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC"}
@@ -10,6 +10,7 @@ import { type ValueProps, type JsxTag } from "../combinators.js";
10
10
  /** Layer / reference / format builders surfaced on the `<Chart>` tag (mirrors the `Chart` factory namespace). */
11
11
  type ChartBuilders = {
12
12
  Line: typeof ChartFactory.Line;
13
+ Column: typeof ChartFactory.Column;
13
14
  Bar: typeof ChartFactory.Bar;
14
15
  Area: typeof ChartFactory.Area;
15
16
  Scatter: typeof ChartFactory.Scatter;
@@ -22,12 +23,12 @@ type ChartBuilders = {
22
23
  Spec: typeof ChartFactory.Spec;
23
24
  };
24
25
  /**
25
- * Composed Cartesian chart — assembles one or more marks (line / bar / area /
26
- * scatter / area-range band) over a shared coordinate system into a single
27
- * plot. Build each mark with the layer builders attached to the tag and pass
28
- * them as `layers`; configure the axes, legend, grid, tooltip, and stacking
29
- * via the remaining props. Mixed-mark and dual-axis figures (bars + trend
30
- * line, stacked areas + confidence band) all come from listing several
26
+ * Composed Cartesian chart — assembles one or more marks (line / column / bar
27
+ * / area / scatter / area-range band) over a shared coordinate system into a
28
+ * single plot. Build each mark with the layer builders attached to the tag and
29
+ * pass them as `layers`; configure the axes, legend, grid, tooltip, and
30
+ * stacking via the remaining props. Mixed-mark and dual-axis figures (columns
31
+ * + trend line, stacked areas + confidence band) all come from listing several
31
32
  * builder calls in `layers`. Reach for this whenever you need a real,
32
33
  * axis-bearing chart rather than the inline {@link Sparkline}.
33
34
  *
@@ -46,7 +47,7 @@ type ChartBuilders = {
46
47
  * return (
47
48
  * <Box height="260px" width="100%">
48
49
  * <Chart layers={[
49
- * Chart.Bar(rows, { x: r => r.month, y: r => r.revenue }, { key: "Revenue", color: "teal.solid" }),
50
+ * Chart.Column(rows, { x: r => r.month, y: r => r.revenue }, { key: "Revenue", color: "teal.solid" }),
50
51
  * Chart.Line(rows, { x: r => r.month, y: r => r.profit }, { key: "Profit", color: "purple.solid" }),
51
52
  * ]} legend tooltip grid />
52
53
  * </Box>
@@ -57,12 +58,14 @@ type ChartBuilders = {
57
58
  * @remarks
58
59
  * Carries the layer and annotation builders that produce the entries for
59
60
  * `layers` (these build chart layers, not nested child tags): mark builders
60
- * `Chart.Line` / `Chart.Bar` / `Chart.Area` / `Chart.Scatter` / `Chart.Band`
61
- * (each takes `(rows, encoding, style?)` with typed-accessor encodings, e.g.
62
- * `x: r => r.month`); reference annotations `Chart.refLine` / `Chart.refBand`
63
- * / `Chart.refDot`; the axis tick formatters under `Chart.format` (`date` /
64
- * `currency` / `percent` / `compact`); and the low-level `Chart.Spec` escape
65
- * hatch. Desugars to `Chart.Root(layers, options)`.
61
+ * `Chart.Line` / `Chart.Column` (vertical columns) / `Chart.Bar` (horizontal
62
+ * bars — numeric `x`, categorical `y`; flips the frame, #249) / `Chart.Area`
63
+ * / `Chart.Scatter` / `Chart.Band` (each takes `(rows, encoding, style?)`
64
+ * with typed-accessor encodings, e.g. `x: r => r.month`); reference
65
+ * annotations `Chart.refLine` / `Chart.refBand` / `Chart.refDot`; the axis
66
+ * tick formatters under `Chart.format` (`date` / `currency` / `percent` /
67
+ * `compact`); and the low-level `Chart.Spec` escape hatch. Desugars to
68
+ * `Chart.Root(layers, options)`.
66
69
  */
67
70
  export declare const Chart: JsxTag<ValueProps<typeof ChartFactory.Root, "layers">> & ChartBuilders;
68
71
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../src/runtime/charts/chart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAQ,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEvE,iHAAiH;AACjH,KAAK,aAAa,GAAG;IACjB,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,GAAG,EAAE,OAAO,YAAY,CAAC,GAAG,CAAC;IAC7B,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,OAAO,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC;IACrC,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,OAAO,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC;IACrC,OAAO,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC;IACrC,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;CAClC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,GAAG,aAavE,CAAC"}
1
+ {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../src/runtime/charts/chart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAQ,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEvE,iHAAiH;AACjH,KAAK,aAAa,GAAG;IACjB,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,GAAG,EAAE,OAAO,YAAY,CAAC,GAAG,CAAC;IAC7B,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,OAAO,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC;IACrC,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,OAAO,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC;IACrC,OAAO,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC;IACrC,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;CAClC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,GAAG,aAcvE,CAAC"}
@@ -8,12 +8,12 @@
8
8
  import { Chart as ChartFactory } from "../../charts/chart/index.js";
9
9
  import { leaf } from "../combinators.js";
10
10
  /**
11
- * Composed Cartesian chart — assembles one or more marks (line / bar / area /
12
- * scatter / area-range band) over a shared coordinate system into a single
13
- * plot. Build each mark with the layer builders attached to the tag and pass
14
- * them as `layers`; configure the axes, legend, grid, tooltip, and stacking
15
- * via the remaining props. Mixed-mark and dual-axis figures (bars + trend
16
- * line, stacked areas + confidence band) all come from listing several
11
+ * Composed Cartesian chart — assembles one or more marks (line / column / bar
12
+ * / area / scatter / area-range band) over a shared coordinate system into a
13
+ * single plot. Build each mark with the layer builders attached to the tag and
14
+ * pass them as `layers`; configure the axes, legend, grid, tooltip, and
15
+ * stacking via the remaining props. Mixed-mark and dual-axis figures (columns
16
+ * + trend line, stacked areas + confidence band) all come from listing several
17
17
  * builder calls in `layers`. Reach for this whenever you need a real,
18
18
  * axis-bearing chart rather than the inline {@link Sparkline}.
19
19
  *
@@ -32,7 +32,7 @@ import { leaf } from "../combinators.js";
32
32
  * return (
33
33
  * <Box height="260px" width="100%">
34
34
  * <Chart layers={[
35
- * Chart.Bar(rows, { x: r => r.month, y: r => r.revenue }, { key: "Revenue", color: "teal.solid" }),
35
+ * Chart.Column(rows, { x: r => r.month, y: r => r.revenue }, { key: "Revenue", color: "teal.solid" }),
36
36
  * Chart.Line(rows, { x: r => r.month, y: r => r.profit }, { key: "Profit", color: "purple.solid" }),
37
37
  * ]} legend tooltip grid />
38
38
  * </Box>
@@ -43,15 +43,18 @@ import { leaf } from "../combinators.js";
43
43
  * @remarks
44
44
  * Carries the layer and annotation builders that produce the entries for
45
45
  * `layers` (these build chart layers, not nested child tags): mark builders
46
- * `Chart.Line` / `Chart.Bar` / `Chart.Area` / `Chart.Scatter` / `Chart.Band`
47
- * (each takes `(rows, encoding, style?)` with typed-accessor encodings, e.g.
48
- * `x: r => r.month`); reference annotations `Chart.refLine` / `Chart.refBand`
49
- * / `Chart.refDot`; the axis tick formatters under `Chart.format` (`date` /
50
- * `currency` / `percent` / `compact`); and the low-level `Chart.Spec` escape
51
- * hatch. Desugars to `Chart.Root(layers, options)`.
46
+ * `Chart.Line` / `Chart.Column` (vertical columns) / `Chart.Bar` (horizontal
47
+ * bars — numeric `x`, categorical `y`; flips the frame, #249) / `Chart.Area`
48
+ * / `Chart.Scatter` / `Chart.Band` (each takes `(rows, encoding, style?)`
49
+ * with typed-accessor encodings, e.g. `x: r => r.month`); reference
50
+ * annotations `Chart.refLine` / `Chart.refBand` / `Chart.refDot`; the axis
51
+ * tick formatters under `Chart.format` (`date` / `currency` / `percent` /
52
+ * `compact`); and the low-level `Chart.Spec` escape hatch. Desugars to
53
+ * `Chart.Root(layers, options)`.
52
54
  */
53
55
  export const Chart = Object.assign(leaf(ChartFactory.Root, "layers"), {
54
56
  Line: ChartFactory.Line,
57
+ Column: ChartFactory.Column,
55
58
  Bar: ChartFactory.Bar,
56
59
  Area: ChartFactory.Area,
57
60
  Scatter: ChartFactory.Scatter,
@@ -1 +1 @@
1
- {"version":3,"file":"chart.js","sourceRoot":"","sources":["../../../../src/runtime/charts/chart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,IAAI,EAAgC,MAAM,mBAAmB,CAAC;AAiBvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,CAAC,MAAM,KAAK,GACd,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE;IAC7C,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,GAAG,EAAE,YAAY,CAAC,GAAG;IACrB,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,IAAI,EAAE,YAAY,CAAC,IAAI;CAC1B,CAAC,CAAC"}
1
+ {"version":3,"file":"chart.js","sourceRoot":"","sources":["../../../../src/runtime/charts/chart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,IAAI,EAAgC,MAAM,mBAAmB,CAAC;AAkBvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,MAAM,KAAK,GACd,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE;IAC7C,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,GAAG,EAAE,YAAY,CAAC,GAAG;IACrB,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,IAAI,EAAE,YAAY,CAAC,IAAI;CAC1B,CAAC,CAAC"}
@@ -12,8 +12,10 @@ import { UIComponentType } from "../../component.js";
12
12
  * carries a primary identity (`item` accessor via `Library.card`) plus
13
13
  * configurable secondary dimensions that are filterable, groupable, and
14
14
  * visible on the card. Declares the drag & drop **source** role under `id`;
15
- * targets connect by listing that id in their `sources`. Cards dim when
16
- * filtered out instead of disappearing, keeping a stable mental map.
15
+ * targets connect by listing that id in their `sources`. The quick search
16
+ * hides unmatched cards (the footer shows the hidden count + Show all);
17
+ * the `filtered` card-face field dims a card instead — the host's
18
+ * deliberate de-emphasis (e.g. `Slice.partition`'s unmatched rows).
17
19
  *
18
20
  * @example
19
21
  * ```tsx
@@ -1 +1 @@
1
- {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../../src/runtime/collections/library.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,gDAAgD;AAEhD,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,OAAO,IAAI,cAAc,EACzB,KAAK,aAAa,EAClB,KAAK,UAAU,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EACnE,KAAK,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAClD,QAAQ,CAAC,eAAe,CAAC,CAG3B;AAED,eAAO,MAAM,OAAO,EAAE,OAAO,UAAU,GAAG;IACtC,MAAM,EAAE,OAAO,cAAc,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,OAAO,cAAc,CAAC,KAAK,CAAC;CAIrC,CAAC"}
1
+ {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../../src/runtime/collections/library.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,gDAAgD;AAEhD,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,OAAO,IAAI,cAAc,EACzB,KAAK,aAAa,EAClB,KAAK,UAAU,EAClB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EACnE,KAAK,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAClD,QAAQ,CAAC,eAAe,CAAC,CAG3B;AAED,eAAO,MAAM,OAAO,EAAE,OAAO,UAAU,GAAG;IACtC,MAAM,EAAE,OAAO,cAAc,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,OAAO,cAAc,CAAC,KAAK,CAAC;CAIrC,CAAC"}
@@ -12,8 +12,10 @@ import { UIComponentType } from "../../component.js";
12
12
  * carries a primary identity (`item` accessor via `Library.card`) plus
13
13
  * configurable secondary dimensions that are filterable, groupable, and
14
14
  * visible on the card. Declares the drag & drop **source** role under `id`;
15
- * targets connect by listing that id in their `sources`. Cards dim when
16
- * filtered out instead of disappearing, keeping a stable mental map.
15
+ * targets connect by listing that id in their `sources`. The quick search
16
+ * hides unmatched cards (the footer shows the hidden count + Show all);
17
+ * the `filtered` card-face field dims a card instead — the host's
18
+ * deliberate de-emphasis (e.g. `Slice.partition`'s unmatched rows).
17
19
  *
18
20
  * @example
19
21
  * ```tsx
@@ -1 +1 @@
1
- {"version":3,"file":"library.js","sourceRoot":"","sources":["../../../../src/runtime/collections/library.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,gDAAgD;AAEhD,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,OAAO,IAAI,cAAc,GAG5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAS,UAAU,CACf,KAAiD;IAEjD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IAClC,OAAO,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,MAAsC,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAGhB,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC1B,MAAM,EAAE,cAAc,CAAC,MAAM;IAC7B,KAAK,EAAE,cAAc,CAAC,KAAK;CAC9B,CAAC,CAAC"}
1
+ {"version":3,"file":"library.js","sourceRoot":"","sources":["../../../../src/runtime/collections/library.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,gDAAgD;AAEhD,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,OAAO,IAAI,cAAc,GAG5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAS,UAAU,CACf,KAAiD;IAEjD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IAClC,OAAO,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,MAAsC,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAGhB,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC1B,MAAM,EAAE,cAAc,CAAC,MAAM;IAC7B,KAAK,EAAE,cAAc,CAAC,KAAK;CAC9B,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ /**
6
+ * `<Expandable>` tag — see the export's JSDoc.
7
+ */
8
+ import { Expandable as ExpandableFactory } from "../../layout/expandable/index.js";
9
+ import { type ContentProps, type JsxTag } from "../combinators.js";
10
+ /**
11
+ * Lets its single child region expand in place to fill the app container —
12
+ * the whole window the app renders in — and collapse back into the layout.
13
+ * Reach for it when one dense region (a chart, a schedule, a board) deserves
14
+ * the full window while the user works in it. The content keeps its identity
15
+ * across the toggle (CSS takeover, not an overlay), so scroll, selection,
16
+ * and drag state survive. A floating control in the region's top-right
17
+ * toggles it; Esc collapses the topmost expanded region. Drive it from state
18
+ * with `expanded` + `onExpandedChange`, or omit both for local toggling;
19
+ * `label` names the control for assistive tech.
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
24
+ * import { East } from "@elaraai/east";
25
+ * import { Box, Expandable, Text, UIComponentType } from "@elaraai/east-ui";
26
+ *
27
+ * const region = East.function([], UIComponentType, _$ => (
28
+ * <Expandable label="Schedule">
29
+ * <Box padding="3" background="bg.surface">
30
+ * <Text>Dense chart region — expand me</Text>
31
+ * </Box>
32
+ * </Expandable>
33
+ * ));
34
+ * ```
35
+ *
36
+ * @remarks
37
+ * Carries `Expandable.Types` — the East data type and style struct. Desugars
38
+ * to `Expandable.Root(content, options)`.
39
+ */
40
+ export declare const Expandable: JsxTag<ContentProps<typeof ExpandableFactory.Root>> & {
41
+ Types: typeof ExpandableFactory.Types;
42
+ };
43
+ //# sourceMappingURL=expandable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expandable.d.ts","sourceRoot":"","sources":["../../../../src/runtime/layout/expandable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAW,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC,GAAG;IAAE,KAAK,EAAE,OAAO,iBAAiB,CAAC,KAAK,CAAA;CAChC,CAAC"}