@versini/sassysaint 6.0.0 → 6.0.2

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as C, Fragment as Qe } from "react/jsx-runtime";
2
- import { g as Se, ACTION_RESTORE as qn, ACTION_MESSAGE as Oe, ROLE_ASSISTANT as Ae, ACTION_RESET as Gt, ACTION_MODEL as Yr, ACTION_STREAMING as Jr, ACTION_SORT as Kn, ACTION_SEARCH as Yn, ACTION_RESET_PROMPT as Xr, ACTION_TOGGLE_PROMPT as Zr, DEFAULT_AI_ENGINE as Be, Y as et, un as Pe, ENGINE_ANTHROPIC as ht, ENGINE_OPENAI as yr, PROMPT_CLASSNAME as Jn, PROMPT_EDITABLE_AREA_CLASSNAME as Xn, ROLE_SYSTEM as Zn, ROLE_INTERNAL as jt, ROLE_HIDDEN as Qn, STATS_SEPARATOR as br, CLIPBOARD_PROMPT as vr, TYPE_QUESTION as ea, ERROR_MESSAGE as ta, ROLE_USER as Nt, FOOTER_DISCLAIMER as ra, isLastMessageFromRole as na, getMessageContaintWrapperClass as aa, Logo as oa, getMainPaddingClass as kr, r as sa, LOCAL_STORAGE_PREFIX as xr, LOCAL_STORAGE_SEARCH as ia, LOCAL_STORAGE_SORT as la } from "./index.CadLttt2.js";
2
+ import { g as Se, ACTION_RESTORE as qn, ACTION_MESSAGE as Oe, ROLE_ASSISTANT as Ae, ACTION_RESET as Gt, ACTION_MODEL as Yr, ACTION_STREAMING as Jr, ACTION_SORT as Kn, ACTION_SEARCH as Yn, ACTION_RESET_PROMPT as Xr, ACTION_TOGGLE_PROMPT as Zr, DEFAULT_AI_ENGINE as Be, Y as et, un as Pe, ENGINE_ANTHROPIC as ht, ENGINE_OPENAI as yr, PROMPT_CLASSNAME as Jn, PROMPT_EDITABLE_AREA_CLASSNAME as Xn, ROLE_SYSTEM as Zn, ROLE_INTERNAL as jt, ROLE_HIDDEN as Qn, STATS_SEPARATOR as br, CLIPBOARD_PROMPT as vr, TYPE_QUESTION as ea, ERROR_MESSAGE as ta, ROLE_USER as Nt, FOOTER_DISCLAIMER as ra, isLastMessageFromRole as na, getMessageContaintWrapperClass as aa, Logo as oa, getMainPaddingClass as kr, r as sa, LOCAL_STORAGE_PREFIX as xr, LOCAL_STORAGE_SEARCH as ia, LOCAL_STORAGE_SORT as la } from "./index.TG9DLSxx.js";
3
3
  import h from "clsx";
4
4
  import * as Ct from "react";
5
5
  import V, { useRef as A, useState as Z, useCallback as te, useSyncExternalStore as ca, useEffect as P, useMemo as Qr, useId as da, useContext as W, createContext as ua, useLayoutEffect as ma, useDebugValue as fa, forwardRef as en, lazy as tn, Suspense as Rt, useReducer as pt } from "react";
@@ -3469,17 +3469,20 @@ const ml = ({ className: e, ...t }) => {
3469
3469
  className: e,
3470
3470
  ...t
3471
3471
  }) => {
3472
- const r = h(e, "py-1 px-2 text-sm text-copy-medium");
3472
+ const r = h(
3473
+ e,
3474
+ "pt-1 mb-2 text-sm text-copy-dark border-b border-border-medium"
3475
+ );
3473
3476
  return /* @__PURE__ */ d("div", { className: r, ...t });
3474
3477
  };
3475
3478
  /*!
3476
- @versini/ui-menu v3.2.10
3479
+ @versini/ui-menu v3.2.11
3477
3480
  © 2025 gizmette.com
3478
3481
  */
3479
3482
  try {
3480
3483
  window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
3481
- version: "3.2.10",
3482
- buildTime: "01/20/2025 03:51 PM EST",
3484
+ version: "3.2.11",
3485
+ buildTime: "01/21/2025 12:42 PM EST",
3483
3486
  homepage: "https://github.com/aversini/ui-components",
3484
3487
  license: "MIT"
3485
3488
  });
@@ -3860,21 +3863,21 @@ const ti = (e) => {
3860
3863
  onChange: (u) => o(u.target.value)
3861
3864
  }
3862
3865
  ) });
3863
- }, mi = () => {
3864
- const { state: e } = W(pe), t = A(!1), r = window.innerWidth < 403, [n, a] = Z(
3865
- r ? "bottom-4" : "top-[245px]"
3866
+ }, mi = ({ isComponent: e }) => {
3867
+ const { state: t } = W(pe), r = A(!1), n = window.innerWidth < 403, [a, o] = Z(
3868
+ n ? "bottom-4" : e ? "top-[300px]" : "top-[245px]"
3866
3869
  );
3867
3870
  return P(() => {
3868
- r || e && (!t.current && e.streaming && a("bottom-4"), t.current = !!e.streaming);
3869
- }, [e, r]), P(() => {
3870
- r || (e && e.messages.length === 0 && a("top-[245px]"), e && !e.streaming && e.messages.length > 0 && a("bottom-4"));
3871
- }, [e, r]), /* @__PURE__ */ C(
3871
+ n || t && (!r.current && t.streaming && o("bottom-4"), r.current = !!t.streaming);
3872
+ }, [t, n]), P(() => {
3873
+ n || (t && t.messages.length === 0 && o(e ? "top-[300px]" : "top-[245px]"), t && !t.streaming && t.messages.length > 0 && o("bottom-4"));
3874
+ }, [t, n, e]), /* @__PURE__ */ C(
3872
3875
  "footer",
3873
3876
  {
3874
3877
  className: h(
3875
3878
  "px-2 sm:px-0 md:mx-auto md:max-w-4xl w-full fixed left-1/2 transform -translate-x-1/2",
3876
3879
  is,
3877
- n
3880
+ a
3878
3881
  ),
3879
3882
  children: [
3880
3883
  /* @__PURE__ */ d(ui, {}),
@@ -5036,7 +5039,7 @@ try {
5036
5039
  const Kr = tn(
5037
5040
  () => import(
5038
5041
  /* webpackChunkName: "LazyMessageAssistant" */
5039
- "./MessageAssistant.BdiNqmso.js"
5042
+ "./MessageAssistant.BUCVo1Ly.js"
5040
5043
  ).then((e) => e.MessageAssistant)
5041
5044
  ), Yi = () => {
5042
5045
  const { state: e } = W(pe);
@@ -5072,7 +5075,7 @@ const Kr = tn(
5072
5075
  }, Xi = tn(
5073
5076
  () => import(
5074
5077
  /* webpackChunkName: "LazyHeader" */
5075
- "./HeaderToolbar.DMfNLMSh.js"
5078
+ "./HeaderToolbar.Tm6jGPRy.js"
5076
5079
  )
5077
5080
  );
5078
5081
  function Fn({ isComponent: e = !1 }) {
@@ -5148,7 +5151,7 @@ function Fn({ isComponent: e = !1 }) {
5148
5151
  children: /* @__PURE__ */ d(Ji, {})
5149
5152
  }
5150
5153
  ),
5151
- /* @__PURE__ */ d(mi, {})
5154
+ /* @__PURE__ */ d(mi, { isComponent: e })
5152
5155
  ]
5153
5156
  }
5154
5157
  )
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as a, Fragment as B } from "react/jsx-runtime";
2
- import { g as F, un as G, R as H, CARDS as T, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as ht, L as X, j as R, C as U, INFINITE_SCROLL_LIMIT as Oe, INFINITE_SCROLL_THRESHOLD as Pe, LOCAL_STORAGE_PREFIX as _e, LOCAL_STORAGE_SORT as gt, Y as le, ACTION_RESET as ft, ACTION_RESTORE as pt, ACTION_SORT as ze, LOCAL_STORAGE_SEARCH as bt, HISTORY_TITLE as yt, ye as Ee, ACTION_SEARCH as kt, debounce as vt, M as xt, l as $e, durationFormatter as Nt, PROFILE_TITLE as wt, PROMPTS_DESCRIPTION as Et, DEFAULT_AI_ENGINE as Tt, LOCAL_STORAGE_CHAT_DETAILS as Ct, SETTINGS_TITLE as _t, ENGINE_OPENAI as Q, ENGINE_ANTHROPIC as re, APP_NAME as It, getCurrentGeoLocation as St, LOG_OUT as He } from "./index.CadLttt2.js";
3
- import { i as fe, useServerCapabilities as At, HistoryContext as je, E as Ie, ge as Rt, he as Lt, ue as Ne, le as $, ye as Mt, me as Bt, p as Ot, z as Pt, be as zt, serviceCall as ie, SERVICE_TYPES as ce, f as ae, AppContext as Ye, useChatsHistory as $t, useUserChatStats as Ht, useUserPreferences as We, m as Dt, _e as Vt, me$1 as Ut, R as oe, P as Ft } from "./App.D7U0VEna.js";
2
+ import { g as F, un as G, R as H, CARDS as T, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as ht, L as X, j as R, C as U, INFINITE_SCROLL_LIMIT as Oe, INFINITE_SCROLL_THRESHOLD as Pe, LOCAL_STORAGE_PREFIX as _e, LOCAL_STORAGE_SORT as gt, Y as le, ACTION_RESET as ft, ACTION_RESTORE as pt, ACTION_SORT as ze, LOCAL_STORAGE_SEARCH as bt, HISTORY_TITLE as yt, ye as Ee, ACTION_SEARCH as kt, debounce as vt, M as xt, l as $e, durationFormatter as Nt, PROFILE_TITLE as wt, PROMPTS_DESCRIPTION as Et, DEFAULT_AI_ENGINE as Tt, LOCAL_STORAGE_CHAT_DETAILS as Ct, SETTINGS_TITLE as _t, ENGINE_OPENAI as Q, ENGINE_ANTHROPIC as re, APP_NAME as It, getCurrentGeoLocation as St, LOG_OUT as He } from "./index.TG9DLSxx.js";
3
+ import { i as fe, useServerCapabilities as At, HistoryContext as je, E as Ie, ge as Rt, he as Lt, ue as Ne, le as $, ye as Mt, me as Bt, p as Ot, z as Pt, be as zt, serviceCall as ie, SERVICE_TYPES as ce, f as ae, AppContext as Ye, useChatsHistory as $t, useUserChatStats as Ht, useUserPreferences as We, m as Dt, _e as Vt, me$1 as Ut, R as oe, P as Ft } from "./App.9lylFRwi.js";
4
4
  import * as S from "react";
5
5
  import be, { useId as Se, useRef as _, useEffect as D, useState as w, useContext as pe, useCallback as Ke, Fragment as Gt, useLayoutEffect as ne, useMemo as Xe, useReducer as jt } from "react";
6
6
  import d from "clsx";
@@ -900,8 +900,8 @@ const se = "panel", ue = "messagebox", Sr = ({
900
900
  header: T.ABOUT.TITLE_CLIENT,
901
901
  className: "prose-dark dark:prose-lighter",
902
902
  children: he(r, {
903
- [T.ABOUT.VERSION]: "6.0.0",
904
- [T.ABOUT.BUILD_TIMESTAMP]: "01/21/2025 11:49 AM EST"
903
+ [T.ABOUT.VERSION]: "6.0.2",
904
+ [T.ABOUT.BUILD_TIMESTAMP]: "01/21/2025 02:16 PM EST"
905
905
  })
906
906
  }
907
907
  ) }),