@farming-labs/docs 0.0.2-beta.23 → 0.0.2-beta.24
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/index.d.mts +30 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -757,11 +757,37 @@ interface AIConfig {
|
|
|
757
757
|
*/
|
|
758
758
|
docsUrl?: string;
|
|
759
759
|
/**
|
|
760
|
-
*
|
|
761
|
-
*
|
|
760
|
+
* Loading indicator variant shown while the AI generates a response.
|
|
761
|
+
*
|
|
762
|
+
* - `"shimmer-dots"` — shimmer text + typing dots (default)
|
|
763
|
+
* - `"circular"` — spinning ring
|
|
764
|
+
* - `"dots"` — bouncing dots
|
|
765
|
+
* - `"typing"` — typing dots
|
|
766
|
+
* - `"wave"` — wave bars
|
|
767
|
+
* - `"bars"` — thick wave bars
|
|
768
|
+
* - `"pulse"` — pulsing ring
|
|
769
|
+
* - `"pulse-dot"` — pulsing dot
|
|
770
|
+
* - `"terminal"` — blinking terminal cursor
|
|
771
|
+
* - `"text-blink"` — blinking text
|
|
772
|
+
* - `"text-shimmer"` — shimmer text only
|
|
773
|
+
* - `"loading-dots"` — "Thinking..." with animated dots
|
|
774
|
+
*
|
|
775
|
+
* @default "shimmer-dots"
|
|
762
776
|
*
|
|
763
|
-
*
|
|
764
|
-
*
|
|
777
|
+
* @example
|
|
778
|
+
* ```ts
|
|
779
|
+
* ai: {
|
|
780
|
+
* enabled: true,
|
|
781
|
+
* loader: "wave",
|
|
782
|
+
* }
|
|
783
|
+
* ```
|
|
784
|
+
*/
|
|
785
|
+
loader?: "shimmer-dots" | "circular" | "dots" | "typing" | "wave" | "bars" | "pulse" | "pulse-dot" | "terminal" | "text-blink" | "text-shimmer" | "loading-dots";
|
|
786
|
+
/**
|
|
787
|
+
* Custom loading indicator that overrides the built-in `loader` variant.
|
|
788
|
+
* Receives `{ name }` (the `aiLabel` value) and returns a React element.
|
|
789
|
+
*
|
|
790
|
+
* Only works in Next.js. For other frameworks, use the `loader` option.
|
|
765
791
|
*
|
|
766
792
|
* @example
|
|
767
793
|
* ```tsx
|