@elaraai/east-ui-components 0.0.1-beta.16 → 0.0.1-beta.17

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 (189) hide show
  1. package/dist/index.cjs +3694 -1347
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +3694 -1347
  4. package/dist/index.js.map +1 -1
  5. package/package.json +3 -3
  6. package/dist/buttons/button/index.d.ts +0 -25
  7. package/dist/buttons/button/index.d.ts.map +0 -1
  8. package/dist/buttons/icon-button/index.d.ts +0 -22
  9. package/dist/buttons/icon-button/index.d.ts.map +0 -1
  10. package/dist/buttons/index.d.ts +0 -10
  11. package/dist/buttons/index.d.ts.map +0 -1
  12. package/dist/charts/area/index.d.ts +0 -16
  13. package/dist/charts/area/index.d.ts.map +0 -1
  14. package/dist/charts/bar/index.d.ts +0 -16
  15. package/dist/charts/bar/index.d.ts.map +0 -1
  16. package/dist/charts/bar-list/index.d.ts +0 -16
  17. package/dist/charts/bar-list/index.d.ts.map +0 -1
  18. package/dist/charts/bar-segment/index.d.ts +0 -16
  19. package/dist/charts/bar-segment/index.d.ts.map +0 -1
  20. package/dist/charts/index.d.ts +0 -17
  21. package/dist/charts/index.d.ts.map +0 -1
  22. package/dist/charts/line/index.d.ts +0 -19
  23. package/dist/charts/line/index.d.ts.map +0 -1
  24. package/dist/charts/pie/index.d.ts +0 -16
  25. package/dist/charts/pie/index.d.ts.map +0 -1
  26. package/dist/charts/radar/index.d.ts +0 -16
  27. package/dist/charts/radar/index.d.ts.map +0 -1
  28. package/dist/charts/scatter/index.d.ts +0 -16
  29. package/dist/charts/scatter/index.d.ts.map +0 -1
  30. package/dist/charts/sparkline/index.d.ts +0 -35
  31. package/dist/charts/sparkline/index.d.ts.map +0 -1
  32. package/dist/charts/utils.d.ts +0 -177
  33. package/dist/charts/utils.d.ts.map +0 -1
  34. package/dist/collections/data-list/index.d.ts +0 -24
  35. package/dist/collections/data-list/index.d.ts.map +0 -1
  36. package/dist/collections/gantt/EventAxis.d.ts +0 -14
  37. package/dist/collections/gantt/EventAxis.d.ts.map +0 -1
  38. package/dist/collections/gantt/GanttEventRow.d.ts +0 -34
  39. package/dist/collections/gantt/GanttEventRow.d.ts.map +0 -1
  40. package/dist/collections/gantt/GanttMilestone.d.ts +0 -25
  41. package/dist/collections/gantt/GanttMilestone.d.ts.map +0 -1
  42. package/dist/collections/gantt/GanttTask.d.ts +0 -39
  43. package/dist/collections/gantt/GanttTask.d.ts.map +0 -1
  44. package/dist/collections/gantt/index.d.ts +0 -68
  45. package/dist/collections/gantt/index.d.ts.map +0 -1
  46. package/dist/collections/index.d.ts +0 -9
  47. package/dist/collections/index.d.ts.map +0 -1
  48. package/dist/collections/planner/PlannerAxis.d.ts +0 -16
  49. package/dist/collections/planner/PlannerAxis.d.ts.map +0 -1
  50. package/dist/collections/planner/PlannerEvent.d.ts +0 -28
  51. package/dist/collections/planner/PlannerEvent.d.ts.map +0 -1
  52. package/dist/collections/planner/PlannerEventRow.d.ts +0 -33
  53. package/dist/collections/planner/PlannerEventRow.d.ts.map +0 -1
  54. package/dist/collections/planner/PlannerSlotCell.d.ts +0 -15
  55. package/dist/collections/planner/PlannerSlotCell.d.ts.map +0 -1
  56. package/dist/collections/planner/index.d.ts +0 -69
  57. package/dist/collections/planner/index.d.ts.map +0 -1
  58. package/dist/collections/table/index.d.ts +0 -62
  59. package/dist/collections/table/index.d.ts.map +0 -1
  60. package/dist/collections/tree-view/index.d.ts +0 -31
  61. package/dist/collections/tree-view/index.d.ts.map +0 -1
  62. package/dist/component.d.ts +0 -15
  63. package/dist/component.d.ts.map +0 -1
  64. package/dist/container/card/index.d.ts +0 -22
  65. package/dist/container/card/index.d.ts.map +0 -1
  66. package/dist/container/index.d.ts +0 -6
  67. package/dist/container/index.d.ts.map +0 -1
  68. package/dist/disclosure/accordion/index.d.ts +0 -36
  69. package/dist/disclosure/accordion/index.d.ts.map +0 -1
  70. package/dist/disclosure/carousel/index.d.ts +0 -22
  71. package/dist/disclosure/carousel/index.d.ts.map +0 -1
  72. package/dist/disclosure/index.d.ts +0 -8
  73. package/dist/disclosure/index.d.ts.map +0 -1
  74. package/dist/disclosure/tabs/index.d.ts +0 -45
  75. package/dist/disclosure/tabs/index.d.ts.map +0 -1
  76. package/dist/display/avatar/index.d.ts +0 -22
  77. package/dist/display/avatar/index.d.ts.map +0 -1
  78. package/dist/display/badge/index.d.ts +0 -22
  79. package/dist/display/badge/index.d.ts.map +0 -1
  80. package/dist/display/icon/index.d.ts +0 -22
  81. package/dist/display/icon/index.d.ts.map +0 -1
  82. package/dist/display/index.d.ts +0 -10
  83. package/dist/display/index.d.ts.map +0 -1
  84. package/dist/display/stat/index.d.ts +0 -16
  85. package/dist/display/stat/index.d.ts.map +0 -1
  86. package/dist/display/tag/index.d.ts +0 -22
  87. package/dist/display/tag/index.d.ts.map +0 -1
  88. package/dist/feedback/alert/index.d.ts +0 -22
  89. package/dist/feedback/alert/index.d.ts.map +0 -1
  90. package/dist/feedback/index.d.ts +0 -7
  91. package/dist/feedback/index.d.ts.map +0 -1
  92. package/dist/feedback/progress/index.d.ts +0 -22
  93. package/dist/feedback/progress/index.d.ts.map +0 -1
  94. package/dist/forms/checkbox/index.d.ts +0 -22
  95. package/dist/forms/checkbox/index.d.ts.map +0 -1
  96. package/dist/forms/field/index.d.ts +0 -22
  97. package/dist/forms/field/index.d.ts.map +0 -1
  98. package/dist/forms/file-upload/index.d.ts +0 -22
  99. package/dist/forms/file-upload/index.d.ts.map +0 -1
  100. package/dist/forms/index.d.ts +0 -14
  101. package/dist/forms/index.d.ts.map +0 -1
  102. package/dist/forms/input/date/CompoundDateField.d.ts +0 -32
  103. package/dist/forms/input/date/CompoundDateField.d.ts.map +0 -1
  104. package/dist/forms/input/date/DateField.d.ts +0 -13
  105. package/dist/forms/input/date/DateField.d.ts.map +0 -1
  106. package/dist/forms/input/date/TimeField.d.ts +0 -32
  107. package/dist/forms/input/date/TimeField.d.ts.map +0 -1
  108. package/dist/forms/input/date/index.d.ts +0 -8
  109. package/dist/forms/input/date/index.d.ts.map +0 -1
  110. package/dist/forms/input/index.d.ts +0 -70
  111. package/dist/forms/input/index.d.ts.map +0 -1
  112. package/dist/forms/select/index.d.ts +0 -31
  113. package/dist/forms/select/index.d.ts.map +0 -1
  114. package/dist/forms/slider/index.d.ts +0 -22
  115. package/dist/forms/slider/index.d.ts.map +0 -1
  116. package/dist/forms/switch/index.d.ts +0 -22
  117. package/dist/forms/switch/index.d.ts.map +0 -1
  118. package/dist/forms/tags-input/index.d.ts +0 -22
  119. package/dist/forms/tags-input/index.d.ts.map +0 -1
  120. package/dist/forms/textarea/index.d.ts +0 -22
  121. package/dist/forms/textarea/index.d.ts.map +0 -1
  122. package/dist/index.d.ts +0 -23
  123. package/dist/index.d.ts.map +0 -1
  124. package/dist/layout/box/index.d.ts +0 -25
  125. package/dist/layout/box/index.d.ts.map +0 -1
  126. package/dist/layout/flex/index.d.ts +0 -25
  127. package/dist/layout/flex/index.d.ts.map +0 -1
  128. package/dist/layout/grid/index.d.ts +0 -25
  129. package/dist/layout/grid/index.d.ts.map +0 -1
  130. package/dist/layout/index.d.ts +0 -14
  131. package/dist/layout/index.d.ts.map +0 -1
  132. package/dist/layout/separator/index.d.ts +0 -25
  133. package/dist/layout/separator/index.d.ts.map +0 -1
  134. package/dist/layout/splitter/index.d.ts +0 -33
  135. package/dist/layout/splitter/index.d.ts.map +0 -1
  136. package/dist/layout/stack/index.d.ts +0 -25
  137. package/dist/layout/stack/index.d.ts.map +0 -1
  138. package/dist/overlays/action-bar/index.d.ts +0 -18
  139. package/dist/overlays/action-bar/index.d.ts.map +0 -1
  140. package/dist/overlays/dialog/index.d.ts +0 -42
  141. package/dist/overlays/dialog/index.d.ts.map +0 -1
  142. package/dist/overlays/drawer/index.d.ts +0 -42
  143. package/dist/overlays/drawer/index.d.ts.map +0 -1
  144. package/dist/overlays/hover-card/index.d.ts +0 -16
  145. package/dist/overlays/hover-card/index.d.ts.map +0 -1
  146. package/dist/overlays/index.d.ts +0 -14
  147. package/dist/overlays/index.d.ts.map +0 -1
  148. package/dist/overlays/menu/index.d.ts +0 -18
  149. package/dist/overlays/menu/index.d.ts.map +0 -1
  150. package/dist/overlays/overlay-manager.d.ts +0 -69
  151. package/dist/overlays/overlay-manager.d.ts.map +0 -1
  152. package/dist/overlays/popover/index.d.ts +0 -16
  153. package/dist/overlays/popover/index.d.ts.map +0 -1
  154. package/dist/overlays/toggle-tip/index.d.ts +0 -17
  155. package/dist/overlays/toggle-tip/index.d.ts.map +0 -1
  156. package/dist/overlays/tooltip/index.d.ts +0 -16
  157. package/dist/overlays/tooltip/index.d.ts.map +0 -1
  158. package/dist/platform/hooks.d.ts +0 -241
  159. package/dist/platform/hooks.d.ts.map +0 -1
  160. package/dist/platform/index.d.ts +0 -17
  161. package/dist/platform/index.d.ts.map +0 -1
  162. package/dist/platform/store.d.ts +0 -65
  163. package/dist/platform/store.d.ts.map +0 -1
  164. package/dist/reactive/index.d.ts +0 -42
  165. package/dist/reactive/index.d.ts.map +0 -1
  166. package/dist/typography/code/index.d.ts +0 -22
  167. package/dist/typography/code/index.d.ts.map +0 -1
  168. package/dist/typography/code-block/index.d.ts +0 -35
  169. package/dist/typography/code-block/index.d.ts.map +0 -1
  170. package/dist/typography/heading/index.d.ts +0 -22
  171. package/dist/typography/heading/index.d.ts.map +0 -1
  172. package/dist/typography/highlight/index.d.ts +0 -27
  173. package/dist/typography/highlight/index.d.ts.map +0 -1
  174. package/dist/typography/index.d.ts +0 -13
  175. package/dist/typography/index.d.ts.map +0 -1
  176. package/dist/typography/link/index.d.ts +0 -22
  177. package/dist/typography/link/index.d.ts.map +0 -1
  178. package/dist/typography/list/index.d.ts +0 -22
  179. package/dist/typography/list/index.d.ts.map +0 -1
  180. package/dist/typography/mark/index.d.ts +0 -22
  181. package/dist/typography/mark/index.d.ts.map +0 -1
  182. package/dist/typography/text/index.d.ts +0 -25
  183. package/dist/typography/text/index.d.ts.map +0 -1
  184. package/dist/utils/RowSortManager.d.ts +0 -68
  185. package/dist/utils/RowSortManager.d.ts.map +0 -1
  186. package/dist/utils/RowStateManager.d.ts +0 -42
  187. package/dist/utils/RowStateManager.d.ts.map +0 -1
  188. package/dist/utils.d.ts +0 -7
  189. package/dist/utils.d.ts.map +0 -1
@@ -1,17 +0,0 @@
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 ValueTypeOf } from "@elaraai/east";
6
- import { ToggleTip } from "@elaraai/east-ui";
7
- /** East ToggleTip value type */
8
- export type ToggleTipValue = ValueTypeOf<typeof ToggleTip.Types.ToggleTip>;
9
- export interface EastChakraToggleTipProps {
10
- value: ToggleTipValue;
11
- }
12
- /**
13
- * Renders an East UI ToggleTip value using Chakra UI Popover component.
14
- * ToggleTip is a click-activated tooltip for better accessibility.
15
- */
16
- export declare const EastChakraToggleTip: import("react").NamedExoticComponent<EastChakraToggleTipProps>;
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/toggle-tip/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAO7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,gEAkC0B,CAAC"}
@@ -1,16 +0,0 @@
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 ValueTypeOf } from "@elaraai/east";
6
- import { Tooltip } from "@elaraai/east-ui";
7
- /** East Tooltip value type */
8
- export type TooltipValue = ValueTypeOf<typeof Tooltip.Types.Tooltip>;
9
- export interface EastChakraTooltipProps {
10
- value: TooltipValue;
11
- }
12
- /**
13
- * Renders an East UI Tooltip value using Chakra UI Tooltip component.
14
- */
15
- export declare const EastChakraTooltip: import("react").NamedExoticComponent<EastChakraTooltipProps>;
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/tooltip/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO3C,8BAA8B;AAC9B,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAErE,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,8DAmB0B,CAAC"}
@@ -1,241 +0,0 @@
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 ReactNode } from "react";
6
- import { type UIStoreInterface, UIComponentType } from "@elaraai/east-ui";
7
- import type { EastIR, ValueTypeOf } from "@elaraai/east";
8
- /**
9
- * Props for the UIStoreProvider component.
10
- */
11
- export interface UIStoreProviderProps {
12
- /**
13
- * Custom store instance. If not provided, uses State.store singleton.
14
- * Use PersistentUIStore for IndexedDB persistence.
15
- */
16
- store?: UIStoreInterface;
17
- /** Child components */
18
- children: ReactNode;
19
- }
20
- /**
21
- * Provides a UI store to the component tree.
22
- *
23
- * @remarks
24
- * By default uses the singleton `State.store` from east-ui.
25
- * For persistence, pass a `PersistentUIStore` instance.
26
- *
27
- * @example
28
- * ```tsx
29
- * import { UIStoreProvider } from "@elaraai/east-ui-components";
30
- *
31
- * // Use default singleton store
32
- * function App() {
33
- * return (
34
- * <UIStoreProvider>
35
- * <MyComponent />
36
- * </UIStoreProvider>
37
- * );
38
- * }
39
- *
40
- * // With persistence
41
- * import { PersistentUIStore } from "@elaraai/east-ui-components";
42
- *
43
- * const persistentStore = new PersistentUIStore("my_app");
44
- * await persistentStore.hydrate();
45
- *
46
- * function App() {
47
- * return (
48
- * <UIStoreProvider store={persistentStore}>
49
- * <MyComponent />
50
- * </UIStoreProvider>
51
- * );
52
- * }
53
- * ```
54
- */
55
- export declare function UIStoreProvider({ store, children }: UIStoreProviderProps): import("react/jsx-runtime").JSX.Element;
56
- /**
57
- * Hook to access the UI store from context.
58
- *
59
- * @returns The UIStore instance
60
- * @throws Error if used outside of a UIStoreProvider
61
- */
62
- export declare function useUIStore(): UIStoreInterface;
63
- /**
64
- * Hook to subscribe to store changes using React 18's useSyncExternalStore.
65
- *
66
- * @param store - The store to subscribe to
67
- * @returns The current snapshot version
68
- */
69
- export declare function useUIStoreSubscription(store: UIStoreInterface): number;
70
- /**
71
- * Props for the EastComponent component.
72
- */
73
- export interface EastComponentProps {
74
- /** The compiled East function that returns UI component data */
75
- render: () => ValueTypeOf<UIComponentType>;
76
- }
77
- /**
78
- * Renders an East UI component once without subscribing to state changes.
79
- *
80
- * @remarks
81
- * Pass a compiled East function that returns UIComponentType data.
82
- * This component renders once and does NOT re-render on state changes.
83
- * For reactive behavior, use `Reactive.Root` within your East function.
84
- *
85
- * @example
86
- * ```tsx
87
- * import { East, IntegerType, NullType, some } from "@elaraai/east";
88
- * import { State, Button, Reactive, UIComponentType } from "@elaraai/east-ui";
89
- * import { EastComponent, UIStoreProvider } from "@elaraai/east-ui-components";
90
- *
91
- * // Define an East function with reactive parts
92
- * const counter = East.function([], UIComponentType, $ => {
93
- * // Wrap reactive parts in Reactive.Root
94
- * return Reactive.Root($ => {
95
- * const count = $(State.readTyped("counter", IntegerType)());
96
- * return Button.Root(East.str`Count: ${count.unwrap("some")}`, {
97
- * onClick: East.function([], NullType, $ => {
98
- * const current = $(State.readTyped("counter", IntegerType)());
99
- * $(State.writeTyped("counter", some(current.unwrap("some").add(1n)), IntegerType)());
100
- * })
101
- * });
102
- * });
103
- * });
104
- *
105
- * // Compile with State.Implementation
106
- * const compiled = counter.toIR().compile(State.Implementation);
107
- *
108
- * function App() {
109
- * return (
110
- * <UIStoreProvider>
111
- * <EastComponent render={compiled} />
112
- * </UIStoreProvider>
113
- * );
114
- * }
115
- * ```
116
- */
117
- export declare function EastComponent({ render }: EastComponentProps): import("react/jsx-runtime").JSX.Element | null;
118
- /**
119
- * Props for the EastFunction component.
120
- */
121
- export interface EastFunctionProps {
122
- /**
123
- * The IR (intermediate representation) from calling `.toIR()` on an East function.
124
- */
125
- ir: EastIR<[], UIComponentType>;
126
- }
127
- /**
128
- * Renders a compiled East function that returns a UI component.
129
- *
130
- * @remarks
131
- * This component takes an IR (intermediate representation) from an East function,
132
- * compiles it with the State.Implementation platform, and renders the result.
133
- * The compilation happens once on mount.
134
- *
135
- * This component renders once and does NOT re-render on state changes.
136
- * For reactive behavior, use `Reactive.Root` within your East function.
137
- *
138
- * @example
139
- * ```tsx
140
- * import { East } from "@elaraai/east";
141
- * import { EastFunction } from "@elaraai/east-ui-components";
142
- * import { Button, Reactive, UIComponentType } from "@elaraai/east-ui";
143
- *
144
- * // Define the UI function with reactive parts
145
- * const myUI = East.function([], UIComponentType, $ => {
146
- * return Reactive.Root($ => {
147
- * return Button.Root("Click me");
148
- * });
149
- * });
150
- *
151
- * // Pre-compile IR at module load time for performance
152
- * const myUIIR = myUI.toIR();
153
- *
154
- * function App() {
155
- * return <EastFunction ir={myUIIR} />;
156
- * }
157
- * ```
158
- */
159
- export declare function EastFunction({ ir }: EastFunctionProps): import("react/jsx-runtime").JSX.Element;
160
- /**
161
- * Hook to subscribe to all state changes and get the current state.
162
- *
163
- * @returns The current state as a Map
164
- *
165
- * @example
166
- * ```tsx
167
- * function StateDebugger() {
168
- * const state = useUIState();
169
- * return <pre>{JSON.stringify([...state.entries()], null, 2)}</pre>;
170
- * }
171
- * ```
172
- */
173
- export declare function useUIState(): Map<string, Uint8Array>;
174
- /**
175
- * Hook to subscribe to a specific key and get its value.
176
- *
177
- * @param key - The key to subscribe to
178
- * @returns The Beast2-encoded blob value, or undefined if not set
179
- *
180
- * @example
181
- * ```tsx
182
- * function CountDisplay() {
183
- * const countBlob = useUIKey("count");
184
- * // Decode the blob in your component or pass to East code
185
- * return <div>Count blob: {countBlob?.length ?? 0} bytes</div>;
186
- * }
187
- * ```
188
- */
189
- export declare function useUIKey(key: string): Uint8Array | undefined;
190
- /**
191
- * Hook to get a function to write to the store from React code.
192
- *
193
- * @returns A write function
194
- *
195
- * @example
196
- * ```tsx
197
- * import { encodeBeast2For } from "@elaraai/east/internal";
198
- * import { IntegerType } from "@elaraai/east";
199
- *
200
- * function ResetButton() {
201
- * const write = useUIWrite();
202
- * const handleReset = () => {
203
- * write("count", encodeBeast2For(IntegerType)(0n));
204
- * };
205
- * return <button onClick={handleReset}>Reset</button>;
206
- * }
207
- * ```
208
- */
209
- export declare function useUIWrite(): (key: string, value: Uint8Array | undefined) => void;
210
- /**
211
- * Hook to get a batch function for grouping multiple writes.
212
- *
213
- * @returns A batch function
214
- *
215
- * @example
216
- * ```tsx
217
- * function MultiUpdate() {
218
- * const batch = useUIBatch();
219
- * const write = useUIWrite();
220
- *
221
- * const handleUpdate = () => {
222
- * batch(() => {
223
- * write("a", encodeBeast2For(IntegerType)(1n));
224
- * write("b", encodeBeast2For(IntegerType)(2n));
225
- * write("c", encodeBeast2For(IntegerType)(3n));
226
- * });
227
- * // All writes processed, single re-render
228
- * };
229
- *
230
- * return <button onClick={handleUpdate}>Update All</button>;
231
- * }
232
- * ```
233
- */
234
- export declare function useUIBatch(): <T>(fn: () => T) => T;
235
- export { UIStoreProvider as EastStoreProvider };
236
- export { useUIStore as useEastStore };
237
- export { useUIState as useEastState };
238
- export { useUIKey as useEastKey };
239
- export { useUIWrite as useEastWrite };
240
- export { useUIBatch as useEastBatch };
241
- //# sourceMappingURL=hooks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/platform/hooks.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAOH,KAAK,SAAS,EACjB,MAAM,OAAO,CAAC;AACf,OAAO,EAAS,KAAK,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEjF,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAazD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAoBxE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,IAAI,gBAAgB,CAM7C;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAKtE;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,gEAAgE;IAChE,MAAM,EAAE,MAAM,WAAW,CAAC,eAAe,CAAC,CAAC;CAC9C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,kBAAkB,kDAW3D;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE,EAAE,EAAE,iBAAiB,2CA8CrD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,IAAI,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAIpD;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAU5D;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,UAAU,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,SAAS,KAAK,IAAI,CAMjF;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,UAAU,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,CAGlD;AAGD,OAAO,EAAE,eAAe,IAAI,iBAAiB,EAAE,CAAC;AAChD,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,CAAC;AACtC,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,CAAC;AACtC,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,CAAC;AAClC,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,CAAC;AACtC,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,CAAC"}
@@ -1,17 +0,0 @@
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
- * East UI State Management Platform
7
- *
8
- * Provides reactive state management for East UI applications.
9
- * State is stored as Beast2-encoded blobs, allowing any East type to be stored.
10
- *
11
- * @packageDocumentation
12
- */
13
- export { State } from "@elaraai/east-ui";
14
- export { UIStore, createUIStore, createUIStore as createEastStore, // Legacy alias
15
- type UIStoreInterface, type UIStoreOptions, PersistentUIStore, createPersistentUIStore, } from "./store.js";
16
- export { UIStoreProvider, type UIStoreProviderProps, useUIStore, useUIStoreSubscription, useUIState, useUIKey, useUIWrite, useUIBatch, EastComponent, type EastComponentProps, EastFunction, type EastFunctionProps, EastStoreProvider, useEastStore, useEastState, useEastKey, useEastWrite, useEastBatch, } from "./hooks.js";
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platform/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAGH,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,OAAO,EACH,OAAO,EACP,aAAa,EACb,aAAa,IAAI,eAAe,EAAE,eAAe;AACjD,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,iBAAiB,EACjB,uBAAuB,GAC1B,MAAM,YAAY,CAAC;AAGpB,OAAO,EAEH,eAAe,EACf,KAAK,oBAAoB,EAGzB,UAAU,EACV,sBAAsB,EACtB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,UAAU,EAGV,aAAa,EACb,KAAK,kBAAkB,EACvB,YAAY,EACZ,KAAK,iBAAiB,EAGtB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,GACf,MAAM,YAAY,CAAC"}
@@ -1,65 +0,0 @@
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
- export { UIStore, createUIStore, type UIStoreInterface, type UIStoreOptions, } from "@elaraai/east-ui";
6
- import { type UIStoreInterface, type UIStoreOptions } from "@elaraai/east-ui";
7
- /**
8
- * Persistent store with IndexedDB backing.
9
- *
10
- * @remarks
11
- * Extends UIStore with IndexedDB persistence.
12
- * Writes are batched and flushed asynchronously to reduce I/O.
13
- *
14
- * @example
15
- * ```ts
16
- * import { PersistentUIStore } from "@elaraai/east-ui-components";
17
- *
18
- * const store = new PersistentUIStore("my_app");
19
- * await store.hydrate();
20
- * // Now store is ready to use
21
- * ```
22
- */
23
- export declare class PersistentUIStore implements UIStoreInterface {
24
- private inner;
25
- private dbName;
26
- private storeName;
27
- private db;
28
- private pendingWrites;
29
- private flushScheduled;
30
- constructor(dbName?: string, options?: UIStoreOptions);
31
- /**
32
- * Initialize and hydrate from IndexedDB.
33
- *
34
- * @remarks
35
- * Must be called before using the store to load persisted state.
36
- */
37
- hydrate(): Promise<void>;
38
- read(key: string): Uint8Array | undefined;
39
- write(key: string, value: Uint8Array | undefined): void;
40
- has(key: string): boolean;
41
- subscribe(callback: () => void): () => void;
42
- subscribe(key: string, callback: () => void): () => void;
43
- batch<T>(fn: () => T): T;
44
- markActive(key: string): void;
45
- beginRender(): void;
46
- endRender(): void;
47
- getSnapshot(): number;
48
- getState(): Map<string, Uint8Array>;
49
- setScheduler(scheduler: ((notify: () => void) => void) | undefined): void;
50
- getKeyVersion(key: string): number;
51
- private scheduleFlush;
52
- private flushToDb;
53
- private deleteFromDb;
54
- private openDatabase;
55
- private loadAll;
56
- }
57
- /**
58
- * Create a persistent UIStore with IndexedDB backing.
59
- *
60
- * @param dbName - Database name for IndexedDB
61
- * @param initialState - Optional initial state
62
- * @returns A new PersistentUIStore instance (must call hydrate() before use)
63
- */
64
- export declare function createPersistentUIStore(dbName?: string, initialState?: Record<string, Uint8Array>): PersistentUIStore;
65
- //# sourceMappingURL=store.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/platform/store.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACH,OAAO,EACP,aAAa,EACb,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACtB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAW,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvF;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,iBAAkB,YAAW,gBAAgB;IACtD,OAAO,CAAC,KAAK,CAAU;IACvB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,SAAS,CAAsB;IACvC,OAAO,CAAC,EAAE,CAA4B;IACtC,OAAO,CAAC,aAAa,CAAkD;IACvE,OAAO,CAAC,cAAc,CAAkB;gBAE5B,MAAM,GAAE,MAAkB,EAAE,OAAO,CAAC,EAAE,cAAc;IAKhE;;;;;OAKG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ9B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS;IAIzC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI;IAMvD,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIzB,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAC3C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAQxD,KAAK,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC;IAIxB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI7B,WAAW,IAAI,IAAI;IAInB,SAAS,IAAI,IAAI;IAUjB,WAAW,IAAI,MAAM;IAIrB,QAAQ,IAAI,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC;IAInC,YAAY,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI;IAIzE,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAIlC,OAAO,CAAC,aAAa;YAMP,SAAS;YAwBT,YAAY;IAa1B,OAAO,CAAC,YAAY;YAgBN,OAAO;CAsBxB;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACnC,MAAM,GAAE,MAAkB,EAC1B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,GAC1C,iBAAiB,CAInB"}
@@ -1,42 +0,0 @@
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 { ValueTypeOf } from "@elaraai/east";
6
- import type { UIComponentType } from "@elaraai/east-ui";
7
- /**
8
- * Value type for ReactiveComponent variant.
9
- */
10
- export interface ReactiveValue {
11
- render: () => ValueTypeOf<typeof UIComponentType>;
12
- }
13
- /**
14
- * Renders a reactive component that re-renders independently when its dependencies change.
15
- *
16
- * @remarks
17
- * This component executes the render function with dependency tracking enabled.
18
- * It subscribes only to the state keys that were accessed during rendering,
19
- * enabling selective re-rendering when those specific keys change.
20
- *
21
- * The render function must be a "free function" with no captures from parent
22
- * East scope - this is validated at build time by `Reactive.Root`.
23
- *
24
- * @param value - The ReactiveComponent value containing the render function
25
- * @returns The rendered child component
26
- *
27
- * @example
28
- * ```tsx
29
- * // In East code:
30
- * Reactive.Root($ => {
31
- * const count = $(State.readTyped("counter", IntegerType)());
32
- * return Text.Root(East.str`Count: ${count.unwrap("some")}`);
33
- * })
34
- *
35
- * // Renders as:
36
- * <EastReactiveComponent value={{ render: compiledRenderFn }} />
37
- * ```
38
- */
39
- export declare function EastReactiveComponent({ value }: {
40
- value: ReactiveValue;
41
- }): import("react/jsx-runtime").JSX.Element | null;
42
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/reactive/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,WAAW,CAAC,OAAO,eAAe,CAAC,CAAC;CACrD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,aAAa,CAAA;CAAE,kDA8CxE"}
@@ -1,22 +0,0 @@
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 CodeProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { Code } from "@elaraai/east-ui";
8
- /** East Code value type */
9
- export type CodeValue = ValueTypeOf<typeof Code.Types.Code>;
10
- /**
11
- * Converts an East UI Code value to Chakra UI Code props.
12
- * Pure function - easy to test independently.
13
- */
14
- export declare function toChakraCode(value: CodeValue): CodeProps;
15
- export interface EastChakraCodeProps {
16
- value: CodeValue;
17
- }
18
- /**
19
- * Renders an East UI Code value using Chakra UI Code component.
20
- */
21
- export declare const EastChakraCode: import("react").NamedExoticComponent<EastChakraCodeProps>;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/code/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAMxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE5D;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAMxD;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAI0B,CAAC"}
@@ -1,35 +0,0 @@
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 ValueTypeOf } from "@elaraai/east";
6
- import { CodeBlock } from "@elaraai/east-ui";
7
- /** East CodeBlock value type */
8
- export type CodeBlockValue = ValueTypeOf<typeof CodeBlock.Types.CodeBlock>;
9
- export interface CodeBlockProps {
10
- language?: string | undefined;
11
- showLineNumbers?: boolean | undefined;
12
- highlightLines?: number[] | undefined;
13
- maxHeight?: string | undefined;
14
- showCopyButton?: boolean | undefined;
15
- title?: string | undefined;
16
- }
17
- /**
18
- * Converts an East UI CodeBlock value to component props.
19
- * Pure function - easy to test independently.
20
- */
21
- export declare function toCodeBlockProps(value: CodeBlockValue): CodeBlockProps;
22
- export interface EastChakraCodeBlockProps {
23
- value: CodeBlockValue;
24
- }
25
- /**
26
- * Renders an East UI CodeBlock value using Chakra UI CodeBlock component
27
- * with Shiki syntax highlighting.
28
- *
29
- * @remarks
30
- * This component automatically sets up syntax highlighting using Shiki.
31
- * Supported languages: typescript, javascript, json, html, css, python,
32
- * rust, go, sql, bash, markdown, yaml, xml.
33
- */
34
- export declare const EastChakraCodeBlock: import("react").NamedExoticComponent<EastChakraCodeBlockProps>;
35
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/code-block/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAuC7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,GAAG,cAAc,CAiBtE;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,gEA6C0B,CAAC"}
@@ -1,22 +0,0 @@
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 HeadingProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { Heading } from "@elaraai/east-ui";
8
- /** East Heading value type */
9
- export type HeadingValue = ValueTypeOf<typeof Heading.Types.Heading>;
10
- /**
11
- * Converts an East UI Heading value to Chakra UI Heading props.
12
- * Pure function - easy to test independently.
13
- */
14
- export declare function toChakraHeading(value: HeadingValue): HeadingProps;
15
- export interface EastChakraHeadingProps {
16
- value: HeadingValue;
17
- }
18
- /**
19
- * Renders an East UI Heading value using Chakra UI Heading component.
20
- */
21
- export declare const EastChakraHeading: import("react").NamedExoticComponent<EastChakraHeadingProps>;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/heading/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA4B,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAM3C,8BAA8B;AAC9B,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAErE;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG,YAAY,CAOjE;AAED,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,8DAI0B,CAAC"}
@@ -1,27 +0,0 @@
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 ValueTypeOf } from "@elaraai/east";
6
- import { Highlight } from "@elaraai/east-ui";
7
- /** East Highlight value type */
8
- export type HighlightValue = ValueTypeOf<typeof Highlight.Types.Highlight>;
9
- export interface HighlightStyleProps {
10
- query: string[];
11
- styles?: {
12
- bg: string;
13
- } | undefined;
14
- }
15
- /**
16
- * Converts an East UI Highlight value to component props.
17
- * Pure function - easy to test independently.
18
- */
19
- export declare function toChakraHighlight(value: HighlightValue): HighlightStyleProps;
20
- export interface EastChakraHighlightProps {
21
- value: HighlightValue;
22
- }
23
- /**
24
- * Renders an East UI Highlight value using Chakra UI Highlight component.
25
- */
26
- export declare const EastChakraHighlight: import("react").NamedExoticComponent<EastChakraHighlightProps>;
27
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/highlight/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACvC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,mBAAmB,CAM5E;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEAQ0B,CAAC"}
@@ -1,13 +0,0 @@
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
- export { toChakraText, EastChakraText, type TextValue, type EastChakraTextProps, } from "./text/index.js";
6
- export { toChakraCode, EastChakraCode, type CodeValue, type EastChakraCodeProps, } from "./code/index.js";
7
- export { toChakraHeading, EastChakraHeading, type HeadingValue, type EastChakraHeadingProps, } from "./heading/index.js";
8
- export { toChakraLink, EastChakraLink, type LinkValue, type EastChakraLinkProps, } from "./link/index.js";
9
- export { toChakraHighlight, EastChakraHighlight, type HighlightValue, type EastChakraHighlightProps, } from "./highlight/index.js";
10
- export { toChakraMark, EastChakraMark, type MarkValue, type EastChakraMarkProps, } from "./mark/index.js";
11
- export { toChakraList, EastChakraList, type ListValue, type EastChakraListProps, } from "./list/index.js";
12
- export { toCodeBlockProps, EastChakraCodeBlock, type CodeBlockValue, type EastChakraCodeBlockProps, } from "./code-block/index.js";
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typography/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,sBAAsB,GAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,iBAAiB,EACjB,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,uBAAuB,CAAC"}
@@ -1,22 +0,0 @@
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 LinkProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { Link } from "@elaraai/east-ui";
8
- /** East Link value type */
9
- export type LinkValue = ValueTypeOf<typeof Link.Types.Link>;
10
- /**
11
- * Converts an East UI Link value to Chakra UI Link props.
12
- * Pure function - easy to test independently.
13
- */
14
- export declare function toChakraLink(value: LinkValue): LinkProps;
15
- export interface EastChakraLinkProps {
16
- value: LinkValue;
17
- }
18
- /**
19
- * Renders an East UI Link value using Chakra UI Link component.
20
- */
21
- export declare const EastChakraLink: import("react").NamedExoticComponent<EastChakraLinkProps>;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/link/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAMxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE5D;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAQxD;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAI0B,CAAC"}
@@ -1,22 +0,0 @@
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 ListRootProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { List } from "@elaraai/east-ui";
8
- /** East List value type */
9
- export type ListValue = ValueTypeOf<typeof List.Types.List>;
10
- /**
11
- * Converts an East UI List value to Chakra UI List props.
12
- * Pure function - easy to test independently.
13
- */
14
- export declare function toChakraList(value: ListValue): ListRootProps;
15
- export interface EastChakraListProps {
16
- value: ListValue;
17
- }
18
- /**
19
- * Renders an East UI List value using Chakra UI List component.
20
- */
21
- export declare const EastChakraList: import("react").NamedExoticComponent<EastChakraListProps>;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/list/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAsB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAMxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE5D;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,aAAa,CAQ5D;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAU0B,CAAC"}
@@ -1,22 +0,0 @@
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 MarkProps } from "@chakra-ui/react";
6
- import { type ValueTypeOf } from "@elaraai/east";
7
- import { Mark } from "@elaraai/east-ui";
8
- /** East Mark value type */
9
- export type MarkValue = ValueTypeOf<typeof Mark.Types.Mark>;
10
- /**
11
- * Converts an East UI Mark value to Chakra UI Mark props.
12
- * Pure function - easy to test independently.
13
- */
14
- export declare function toChakraMark(value: MarkValue): MarkProps;
15
- export interface EastChakraMarkProps {
16
- value: MarkValue;
17
- }
18
- /**
19
- * Renders an East UI Mark value using Chakra UI Mark component.
20
- */
21
- export declare const EastChakraMark: import("react").NamedExoticComponent<EastChakraMarkProps>;
22
- //# sourceMappingURL=index.d.ts.map