@surrealdb/ui 1.0.92 → 1.0.94

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 CHANGED
@@ -568,7 +568,7 @@ export declare function getBrandsafeImageURL(imageId: string | undefined, width?
568
568
 
569
569
  export declare function getBrandsafeVideoURL(videoId: string | undefined, format?: "mp4" | "webm" | "mov", controls?: boolean): string | undefined;
570
570
 
571
- declare interface Heading {
571
+ export declare interface Heading {
572
572
  id: string;
573
573
  text: string;
574
574
  depth: 1 | 2 | 3 | 4 | 5 | 6;
@@ -1826,6 +1826,14 @@ export declare interface SpanNode extends CommonAttrs {
1826
1826
  children: InlineNode[];
1827
1827
  }
1828
1828
 
1829
+ export declare function Spinner({ size, color, className, title, ...props }: SpinnerProps): ReactNode;
1830
+
1831
+ export declare interface SpinnerProps extends BoxProps {
1832
+ size?: MantineSize;
1833
+ color?: MantineColor;
1834
+ title?: string;
1835
+ }
1836
+
1829
1837
  export declare type StateFields = {
1830
1838
  [prop: string]: StateField<any>;
1831
1839
  };
@@ -2090,13 +2098,6 @@ declare interface ZeroOrMoreNode {
2090
2098
 
2091
2099
  export { }
2092
2100
 
2093
- declare module "@mantine/core" {
2094
- type ExtendedCustomColors = "obsidian" | "slate" | import("@mantine/core").DefaultMantineColor;
2095
- interface MantineThemeColorsOverride {
2096
- colors: Record<ExtendedCustomColors, import("@mantine/core").MantineColorsTuple>;
2097
- }
2098
- }
2099
-
2100
2101
  declare module "@mantine/core" {
2101
2102
  type SurrealVariant = "surreal";
2102
2103
  type SurrealInputVariant = SurrealVariant | "gradient";
@@ -2216,6 +2217,13 @@ declare module "@mantine/core" {
2216
2217
  }
2217
2218
  }
2218
2219
 
2220
+ declare module "@mantine/core" {
2221
+ type ExtendedCustomColors = "obsidian" | "slate" | import("@mantine/core").DefaultMantineColor;
2222
+ interface MantineThemeColorsOverride {
2223
+ colors: Record<ExtendedCustomColors, import("@mantine/core").MantineColorsTuple>;
2224
+ }
2225
+ }
2226
+
2219
2227
  declare module "@mantine/core" {
2220
2228
  type ExtendedCustomSizes = import("@mantine/core").DefaultMantineSize | "2xl" | "3xl";
2221
2229
  interface MantineThemeSizesOverride {