@almadar/ui 4.24.0 → 4.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,17 +10,18 @@
10
10
  * @packageDocumentation
11
11
  */
12
12
  import type { EntityRow, RenderItemLambda } from "@almadar/core";
13
- export declare function isFnFormLambda(value: unknown): value is RenderItemLambda;
13
+ import type { SlotProps, SlotPropValue } from "../hooks/useUISlots";
14
+ export declare function isFnFormLambda(value: SlotPropValue): value is RenderItemLambda;
14
15
  /**
15
16
  * Walk a pattern body replacing every `@<argName>.path` string with the
16
17
  * value at `path` of `arg`. Mirrors the compiler's inline substitution
17
18
  * for `renderItem` lambda bodies.
18
19
  */
19
- export declare function resolveLambdaBindings(body: unknown, argName: string, arg: EntityRow): unknown;
20
+ export declare function resolveLambdaBindings(body: SlotPropValue, argName: string, arg: EntityRow): SlotPropValue;
20
21
  /**
21
22
  * Walk a pattern's props (and recursively their nested children),
22
23
  * converting every fn-form lambda value into a React render-prop
23
24
  * function. Pure on inputs without lambdas: returns the props object
24
25
  * unchanged by reference.
25
26
  */
26
- export declare function convertFnFormLambdasInProps(props: Record<string, unknown>): Record<string, unknown>;
27
+ export declare function convertFnFormLambdasInProps(props: SlotProps): SlotProps;