@gentiq/ui 1.0.0-alpha.3 → 1.0.0-alpha.4

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.
@@ -12,7 +12,6 @@ import { FC } from 'react';
12
12
  import { GentiqUIMessage } from '@gentiq/core';
13
13
  import { HTMLAttributes } from 'react';
14
14
  import { JSX } from 'react/jsx-runtime';
15
- import { LoaderVariant } from '@gentiq/react';
16
15
  import { MaintenanceStatus } from '@gentiq/core';
17
16
  import { MessagePartComponents } from '@gentiq/react';
18
17
  import { PlanDuration } from '@gentiq/core';
@@ -277,6 +276,10 @@ declare interface GentiqComponents {
277
276
  PromptInput?: ComponentType<PromptInputProps>;
278
277
  /** Replaces the welcome / empty-state screen */
279
278
  WelcomeScreen?: ComponentType<WelcomeScreenProps>;
279
+ /**
280
+ * Replaces the pending-reply and thread-loading indicator with a custom loader component.
281
+ */
282
+ Loader?: ComponentType<LoaderProps>;
280
283
  /**
281
284
  * The component for each part type, over Gentiq's: `text`, `reasoning`, `file`, `tool` (any tool
282
285
  * call without its own), `tool-<name>` (one tool's calls), `data-<name>` (a part the backend
@@ -467,12 +470,10 @@ export declare const Loader: ({ className, variant, ...props }: LoaderProps) =>
467
470
  declare type LoaderProps = HTMLAttributes<HTMLDivElement> & {
468
471
  size?: number;
469
472
  /**
470
- * Which indicator to draw. Defaults to the deployment's `theme.loader`
471
- * (admin settings, then `GentiqProvider`), and to `dots` when neither is set.
472
- * Every variant but `dots` draws only when the app loads `gentiq/loaders.css`;
473
- * without it, the dots show.
473
+ * Indicator variant. Retained for compatibility with custom renderers;
474
+ * Gentiq's built-in loader renders the clean 3-dot pulse.
474
475
  */
475
- variant?: LoaderVariant;
476
+ variant?: string;
476
477
  };
477
478
 
478
479
  /**
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as g, v as m, B as h, w as p, c as o } from "./shared-BNCHeyvj.js";
3
- import { ak as L, al as q, k as B, am as Q, an as j, ao as z, G as A, ap as E, J as H, Q as O, V as R, N as _, O as G, H as P, W as U, Y as V, Z as W, X as F, I as J, L as K, M as X, aq as Y, f as Z, i as $, j as ee, g as ae, h as te, n as re, o as se, s as oe, p as ie, q as ne, ar as le, D as de, y as ce, A as ue, K as ge, x as me, u as he } from "./shared-BNCHeyvj.js";
2
+ import { t as g, v as m, B as h, w as p, c as o } from "./shared-MFlvTavE.js";
3
+ import { ak as L, al as q, k as B, am as Q, an as j, ao as z, G as A, ap as E, J as H, Q as O, V as R, N as _, O as G, H as P, W as U, Y as V, Z as W, X as F, I as J, L as K, M as X, aq as Y, f as Z, i as $, j as ee, g as ae, h as te, n as re, o as se, s as oe, p as ie, q as ne, ar as le, D as de, y as ce, A as ue, K as ge, x as me, u as he } from "./shared-MFlvTavE.js";
4
4
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
5
5
  import { Monitor as n, Moon as b, Sun as f } from "lucide-react";
6
6
  import { useGentiqTranslation as k, useTheme as w } from "@gentiq/react";