@overmap-ai/blocks 1.0.44-gcs.1 → 1.0.44-gcs.3
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/Spinner/Spinner.d.ts +9 -3
- package/dist/Spinner/cva.d.ts +3 -0
- package/dist/Spinner/index.d.ts +1 -0
- package/dist/Spinner/typings.d.ts +9 -0
- package/dist/blocks.js +127 -108
- package/dist/blocks.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { SpinnerVariantProps } from './typings';
|
|
3
|
+
export interface SpinnerProps extends ComponentPropsWithRef<"div">, SpinnerVariantProps {
|
|
4
|
+
}
|
|
2
5
|
/**
|
|
3
6
|
* Loading spinner component that indicates ongoing operations.
|
|
4
|
-
*
|
|
7
|
+
* Supports button-aligned size variants and accent color theming.
|
|
8
|
+
*
|
|
9
|
+
* @param [size="md"] {SpinnerSize} - Spinner size
|
|
10
|
+
* @param accentColor {string} - Accent color override
|
|
5
11
|
*/
|
|
6
|
-
export declare const Spinner: import('react').
|
|
12
|
+
export declare const Spinner: import('react').NamedExoticComponent<SpinnerProps>;
|
package/dist/Spinner/index.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { AccentColorProps } from '../typings';
|
|
3
|
+
import { spinnerCva } from './cva';
|
|
4
|
+
type Variants = VariantProps<typeof spinnerCva>;
|
|
5
|
+
export type SpinnerSize = NonNullable<Variants["size"]>;
|
|
6
|
+
export interface SpinnerVariantProps extends AccentColorProps {
|
|
7
|
+
size?: SpinnerSize;
|
|
8
|
+
}
|
|
9
|
+
export {};
|