@surrealdb/ui 1.0.79 → 1.0.80
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 +3 -8
- package/dist/ui.js +3342 -3294
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
- package/res/_mixins.scss +30 -0
package/dist/ui.d.ts
CHANGED
|
@@ -914,7 +914,7 @@ export declare interface InlineCodeNode extends CommonAttrs {
|
|
|
914
914
|
value: string;
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
-
export declare type InlineNode = TextNode | LinkNode | InlineCodeNode | StrongNode | EmphasisNode | BreakNode | SpanNode | ImageNode | JsxExpressionNode;
|
|
917
|
+
export declare type InlineNode = TextNode | LinkNode | InlineCodeNode | StrongNode | EmphasisNode | BreakNode | SpanNode | ImageNode | JsxExpressionNode | JsxComponentNode;
|
|
918
918
|
|
|
919
919
|
export declare interface JsxComponentNode extends CommonAttrs {
|
|
920
920
|
type: "jsxComponent";
|
|
@@ -1920,17 +1920,12 @@ declare type ThemeConfig_2 = {
|
|
|
1920
1920
|
|
|
1921
1921
|
/**
|
|
1922
1922
|
* ThemedImage component that displays different images based on the current color scheme.
|
|
1923
|
-
* Extends Mantine's Image component with support for light/dark mode images.
|
|
1924
|
-
* Uses Mantine's useColorScheme hook to determine the current theme.
|
|
1925
|
-
* Users can override via the colorScheme prop.
|
|
1926
|
-
*
|
|
1927
|
-
* For pre-loading both images, consider adding <link rel="preload"> tags in your HTML head.
|
|
1928
1923
|
*/
|
|
1929
1924
|
export declare const ThemedImage: FC<ThemedImageProps>;
|
|
1930
1925
|
|
|
1931
1926
|
export declare interface ThemedImageProps extends ImageProps {
|
|
1932
|
-
|
|
1933
|
-
|
|
1927
|
+
lightSrc?: string;
|
|
1928
|
+
darkSrc?: string;
|
|
1934
1929
|
}
|
|
1935
1930
|
|
|
1936
1931
|
/**
|