@surrealdb/ui 1.0.22 → 1.0.23
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.
- package/dist/ui.d.ts +8 -0
- package/dist/ui.js +832 -819
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -1197,6 +1197,14 @@ export declare interface RenderMarkdownProps extends StackProps {
|
|
|
1197
1197
|
components?: Partial<Record<string, React_2.ComponentType<Record<string, unknown>> | string>>;
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
|
+
/**
|
|
1201
|
+
* Resolve image URLs using an external resolver function
|
|
1202
|
+
* @param ast - The mdast root node
|
|
1203
|
+
* @param resolver - Function that takes a URL and returns a resolved URL or undefined
|
|
1204
|
+
* If undefined is returned, the original URL is kept (fallback)
|
|
1205
|
+
*/
|
|
1206
|
+
export declare function resolveImageSources(ast: Root, resolver: (url: string) => string | undefined): void;
|
|
1207
|
+
|
|
1200
1208
|
export declare type SortDirection = "asc" | "desc" | undefined;
|
|
1201
1209
|
|
|
1202
1210
|
export declare interface SortHandle<T = DefaultSort> {
|