@surrealdb/ui 1.0.15 → 1.0.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.
package/dist/fonts.d.ts CHANGED
@@ -1,19 +1,5 @@
1
1
  export { }
2
2
 
3
-
4
- declare module "@mantine/core" {
5
- interface MantineThemeColorsOverride {
6
- colors: Record<ExtendedCustomColors, MantineColorsTuple>;
7
- }
8
- }
9
-
10
-
11
- declare module "@mantine/core" {
12
- interface MantineThemeSizesOverride {
13
- spacing: Record<ExtendedCustomSizes, string>;
14
- }
15
- }
16
-
17
3
  declare module "@mantine/core" {
18
4
  type SurrealVariant = "surreal";
19
5
  interface ActionIconProps {
@@ -98,3 +84,17 @@ declare module "@mantine/core" {
98
84
  variant?: "default" | "outline" | "pills" | "gradient";
99
85
  }
100
86
  }
87
+
88
+
89
+ declare module "@mantine/core" {
90
+ interface MantineThemeColorsOverride {
91
+ colors: Record<ExtendedCustomColors, MantineColorsTuple>;
92
+ }
93
+ }
94
+
95
+
96
+ declare module "@mantine/core" {
97
+ interface MantineThemeSizesOverride {
98
+ spacing: Record<ExtendedCustomSizes, string>;
99
+ }
100
+ }
package/dist/ui.d.ts CHANGED
@@ -12,6 +12,7 @@ import { PaperProps } from '@mantine/core';
12
12
  import type * as React_2 from 'react';
13
13
  import { ReactNode } from 'react';
14
14
  import { Root } from 'mdast';
15
+ import { StackProps } from '@mantine/core';
15
16
 
16
17
  declare type AnyFn = (...rest: any[]) => any;
17
18
 
@@ -181,7 +182,7 @@ export declare function clsx(...args: unknown[]): string;
181
182
  */
182
183
  export declare const CodeBlock: FC<CodeBlockProps>;
183
184
 
184
- export declare interface CodeBlockProps extends Omit<PaperProps, "children"> {
185
+ export declare interface CodeBlockProps extends Omit<PaperProps, "children" | "styles"> {
185
186
  title?: string;
186
187
  value: string;
187
188
  lang?: string;
@@ -1079,9 +1080,9 @@ export declare function remarkSlug(): (tree: Root) => void;
1079
1080
  * Render parsed markdown AST to React elements
1080
1081
  * Uses mdast-util-to-hast and hast-util-to-jsx-runtime for rendering
1081
1082
  */
1082
- export declare function RenderMarkdown({ ast, components, }: RenderMarkdownProps): React_2.ReactElement | null;
1083
+ export declare function RenderMarkdown({ ast, components, ...props }: RenderMarkdownProps): React_2.ReactElement | null;
1083
1084
 
1084
- export declare interface RenderMarkdownProps {
1085
+ export declare interface RenderMarkdownProps extends StackProps {
1085
1086
  /**
1086
1087
  * Parsed markdown AST to render
1087
1088
  */
@@ -1148,20 +1149,6 @@ export declare function useSwitch(initialState?: boolean, callbacks?: {
1148
1149
 
1149
1150
  export { }
1150
1151
 
1151
-
1152
- declare module "@mantine/core" {
1153
- interface MantineThemeColorsOverride {
1154
- colors: Record<ExtendedCustomColors, MantineColorsTuple>;
1155
- }
1156
- }
1157
-
1158
-
1159
- declare module "@mantine/core" {
1160
- interface MantineThemeSizesOverride {
1161
- spacing: Record<ExtendedCustomSizes, string>;
1162
- }
1163
- }
1164
-
1165
1152
  declare module "@mantine/core" {
1166
1153
  type SurrealVariant = "surreal";
1167
1154
  interface ActionIconProps {
@@ -1246,3 +1233,17 @@ declare module "@mantine/core" {
1246
1233
  variant?: "default" | "outline" | "pills" | "gradient";
1247
1234
  }
1248
1235
  }
1236
+
1237
+
1238
+ declare module "@mantine/core" {
1239
+ interface MantineThemeColorsOverride {
1240
+ colors: Record<ExtendedCustomColors, MantineColorsTuple>;
1241
+ }
1242
+ }
1243
+
1244
+
1245
+ declare module "@mantine/core" {
1246
+ interface MantineThemeSizesOverride {
1247
+ spacing: Record<ExtendedCustomSizes, string>;
1248
+ }
1249
+ }