@versini/sassysaint 5.5.12 → 5.5.14

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,6 +1,6 @@
1
1
  import { jsx as Ve, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.BihILyCE.js";
3
- import { P as Is, L as Ds, j as Ls } from "./index.B7w6LJPp.js";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.DsLk7_4F.js";
3
+ import { P as Is, L as Ds, j as Ls } from "./index.Dx036nZH.js";
4
4
  import Bs, { useState as zs, useEffect as Ps } from "react";
5
5
  import Fs from "clsx";
6
6
  const ka = ({
@@ -34,13 +34,13 @@ const ka = ({
34
34
  ] });
35
35
  };
36
36
  /*!
37
- @versini/ui-svgicon v3.0.3
37
+ @versini/ui-svgicon v4.0.0
38
38
  © 2025 gizmette.com
39
39
  */
40
40
  try {
41
41
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
42
- version: "3.0.3",
43
- buildTime: "01/02/2025 05:13 PM EST",
42
+ version: "4.0.0",
43
+ buildTime: "01/03/2025 10:45 AM EST",
44
44
  homepage: "https://github.com/aversini/ui-components",
45
45
  license: "MIT"
46
46
  });
@@ -91,13 +91,13 @@ const Us = ({
91
91
  }
92
92
  );
93
93
  /*!
94
- @versini/ui-icons v3.1.1
94
+ @versini/ui-icons v4.0.0
95
95
  © 2025 gizmette.com
96
96
  */
97
97
  try {
98
98
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
99
- version: "3.1.1",
100
- buildTime: "01/02/2025 05:13 PM EST",
99
+ version: "4.0.0",
100
+ buildTime: "01/03/2025 10:45 AM EST",
101
101
  homepage: "https://github.com/aversini/ui-components",
102
102
  license: "MIT"
103
103
  });
@@ -1,16 +1,16 @@
1
1
  import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
2
- import { AppContext as pi, E as hi, le as at } from "./App.CNyYloEL.js";
2
+ import { AppContext as pi, E as hi, le$1 as at } from "./App.BXK1QFQt.js";
3
3
  import sn from "clsx";
4
4
  import { lazy as mi, useContext as gi, Suspense as di } from "react";
5
- import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.B7w6LJPp.js";
5
+ import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.Dx036nZH.js";
6
6
  /*!
7
- @versini/ui-spinner v2.0.6
7
+ @versini/ui-spinner v3.0.0
8
8
  © 2025 gizmette.com
9
9
  */
10
10
  try {
11
11
  window.__VERSINI_UI_SPINNER__ || (window.__VERSINI_UI_SPINNER__ = {
12
- version: "2.0.6",
13
- buildTime: "01/02/2025 05:13 PM EST",
12
+ version: "3.0.0",
13
+ buildTime: "01/03/2025 10:45 AM EST",
14
14
  homepage: "https://github.com/aversini/ui-components",
15
15
  license: "MIT"
16
16
  });
@@ -8651,7 +8651,7 @@ function Uc(e) {
8651
8651
  const qc = mi(
8652
8652
  () => import(
8653
8653
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8654
- "./MarkdownWithExtra.CFyPsO_C.js"
8654
+ "./MarkdownWithExtra.Cc0-hpHV.js"
8655
8655
  )
8656
8656
  ), Tn = {
8657
8657
  MODEL: "Model",
@@ -1917,7 +1917,7 @@ const Pa = (e) => q(
1917
1917
  children: e
1918
1918
  }
1919
1919
  ) });
1920
- }, qt = (e = jt) => It(e), io = "user", co = "assistant", lo = "system", uo = "internal", ho = "hidden", mo = "I'm having trouble right now. Please try again later.", po = "OpenAI", go = "OpenAI", yo = "Anthropic", fo = "action-message", bo = "action-reset", Eo = "action-model", wo = "action-restore", To = "action-streaming", Io = "action-engine", So = "action-search", _o = "action-sort", ko = "action-toggle-tag", Ao = "action-reset-tags", vo = "action-set-tags", Ro = "sassy-saint-", No = "details", xo = "search", Co = "sort", Oo = "engine-toggle", Po = "==stats==", Ma = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ft = (e) => Number.isFinite(e) ? e : 0;
1920
+ }, qt = (e = jt) => It(e), io = "user", co = "assistant", lo = "system", uo = "internal", ho = "hidden", mo = "I'm having trouble right now. Please try again later.", po = "OpenAI", go = "OpenAI", yo = "Anthropic", fo = "action-message", bo = "action-reset", Eo = "action-model", wo = "action-restore", To = "action-streaming", Io = "action-engine", So = "action-search", _o = "action-sort", ko = "action-toggle-tag", Ao = "action-reset-tags", vo = "action-set-tags", Ro = "sassy-saint-", No = "details", xo = "search", Co = "sort", Oo = "engine-toggle", Po = "==stats==", Ma = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Do = 10, Lo = 30, ft = (e) => Number.isFinite(e) ? e : 0;
1921
1921
  function Ua(e) {
1922
1922
  return {
1923
1923
  days: Math.trunc(e / 864e5),
@@ -1997,7 +1997,7 @@ function Va(e, t) {
1997
1997
  const m = t.colonNotation ? ":" : " ";
1998
1998
  return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(m);
1999
1999
  }
2000
- const Ya = process.env.NODE_ENV === "production", za = !Ya, Fa = za ? "gizmette.local.com" : "gizmette.com", Do = async () => {
2000
+ const Ya = process.env.NODE_ENV === "production", za = !Ya, Fa = za ? "gizmette.local.com" : "gizmette.com", $o = async () => {
2001
2001
  const e = {
2002
2002
  /**
2003
2003
  * A boolean value that indicates the application would
@@ -2046,10 +2046,10 @@ const Ya = process.env.NODE_ENV === "production", za = !Ya, Fa = za ? "gizmette.
2046
2046
  e
2047
2047
  );
2048
2048
  });
2049
- }, Lo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ C("div", { className: "flex items-center justify-between", children: [
2049
+ }, Mo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ C("div", { className: "flex items-center justify-between", children: [
2050
2050
  /* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
2051
2051
  /* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
2052
- ] }) }, `${e}-${r}`)) : null, $o = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Mo = (e) => e > 0 ? Va(e, {
2052
+ ] }) }, `${e}-${r}`)) : null, Uo = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Ko = (e) => e > 0 ? Va(e, {
2053
2053
  secondsDecimalDigits: 2,
2054
2054
  unitCount: 2
2055
2055
  }) : "N/A", ja = ({
@@ -2061,7 +2061,7 @@ const Ya = process.env.NODE_ENV === "production", za = !Ya, Fa = za ? "gizmette.
2061
2061
  t
2062
2062
  ), qa = ({
2063
2063
  extraClass: e
2064
- }) => g("px-2 sm:px-0", e), Uo = (e, t) => t === 1 ? e : `${e}s`, Ko = (e, t) => {
2064
+ }) => g("px-2 sm:px-0", e), Ho = (e, t) => t === 1 ? e : `${e}s`, Wo = (e, t) => {
2065
2065
  let r;
2066
2066
  return (...a) => {
2067
2067
  window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
@@ -2459,13 +2459,13 @@ const Xe = z.forwardRef(
2459
2459
  );
2460
2460
  Xe.displayName = "ButtonIcon";
2461
2461
  /*!
2462
- @versini/ui-button v3.2.2
2462
+ @versini/ui-button v4.0.0
2463
2463
  © 2025 gizmette.com
2464
2464
  */
2465
2465
  try {
2466
2466
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
2467
- version: "3.2.2",
2468
- buildTime: "01/02/2025 05:13 PM EST",
2467
+ version: "4.0.0",
2468
+ buildTime: "01/03/2025 10:45 AM EST",
2469
2469
  homepage: "https://github.com/aversini/ui-components",
2470
2470
  license: "MIT"
2471
2471
  });
@@ -2550,13 +2550,13 @@ const cn = z.forwardRef(
2550
2550
  );
2551
2551
  cn.displayName = "ButtonSort";
2552
2552
  /*!
2553
- @versini/ui-card v2.0.6
2553
+ @versini/ui-card v3.0.0
2554
2554
  © 2025 gizmette.com
2555
2555
  */
2556
2556
  try {
2557
2557
  window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
2558
- version: "2.0.6",
2559
- buildTime: "01/02/2025 05:13 PM EST",
2558
+ version: "3.0.0",
2559
+ buildTime: "01/03/2025 10:45 AM EST",
2560
2560
  homepage: "https://github.com/aversini/ui-components",
2561
2561
  license: "MIT"
2562
2562
  });
@@ -2693,13 +2693,13 @@ const hn = ({
2693
2693
  ] });
2694
2694
  };
2695
2695
  /*!
2696
- @versini/ui-svgicon v3.0.3
2696
+ @versini/ui-svgicon v4.0.0
2697
2697
  © 2025 gizmette.com
2698
2698
  */
2699
2699
  try {
2700
2700
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
2701
- version: "3.0.3",
2702
- buildTime: "01/02/2025 05:13 PM EST",
2701
+ version: "4.0.0",
2702
+ buildTime: "01/03/2025 10:45 AM EST",
2703
2703
  homepage: "https://github.com/aversini/ui-components",
2704
2704
  license: "MIT"
2705
2705
  });
@@ -2814,26 +2814,26 @@ const mn = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2814
2814
  }
2815
2815
  );
2816
2816
  /*!
2817
- @versini/ui-icons v3.1.1
2817
+ @versini/ui-icons v4.0.0
2818
2818
  © 2025 gizmette.com
2819
2819
  */
2820
2820
  try {
2821
2821
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
2822
- version: "3.1.1",
2823
- buildTime: "01/02/2025 05:13 PM EST",
2822
+ version: "4.0.0",
2823
+ buildTime: "01/03/2025 10:45 AM EST",
2824
2824
  homepage: "https://github.com/aversini/ui-components",
2825
2825
  license: "MIT"
2826
2826
  });
2827
2827
  } catch {
2828
2828
  }
2829
2829
  /*!
2830
- @versini/ui-main v2.1.1
2830
+ @versini/ui-main v3.0.0
2831
2831
  © 2025 gizmette.com
2832
2832
  */
2833
2833
  try {
2834
2834
  window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
2835
- version: "2.1.1",
2836
- buildTime: "01/02/2025 05:13 PM EST",
2835
+ version: "3.0.0",
2836
+ buildTime: "01/03/2025 10:45 AM EST",
2837
2837
  homepage: "https://github.com/aversini/ui-components",
2838
2838
  license: "MIT"
2839
2839
  });
@@ -3001,13 +3001,13 @@ const fn = "av-main", bn = ({
3001
3001
  return /* @__PURE__ */ l("div", { className: i, style: s, ...a, children: e });
3002
3002
  };
3003
3003
  /*!
3004
- @versini/ui-system v2.0.7
3004
+ @versini/ui-system v3.0.0
3005
3005
  © 2025 gizmette.com
3006
3006
  */
3007
3007
  try {
3008
3008
  window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
3009
- version: "2.0.7",
3010
- buildTime: "01/02/2025 05:13 PM EST",
3009
+ version: "3.0.0",
3010
+ buildTime: "01/03/2025 10:45 AM EST",
3011
3011
  homepage: "https://github.com/aversini/ui-components",
3012
3012
  license: "MIT"
3013
3013
  });
@@ -3168,13 +3168,13 @@ function tr({
3168
3168
  );
3169
3169
  }
3170
3170
  /*!
3171
- @versini/ui-liveregion v1.2.8
3171
+ @versini/ui-liveregion v1.3.0
3172
3172
  © 2025 gizmette.com
3173
3173
  */
3174
3174
  try {
3175
3175
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
3176
- version: "1.2.8",
3177
- buildTime: "01/02/2025 05:13 PM EST",
3176
+ version: "1.3.0",
3177
+ buildTime: "01/03/2025 10:45 AM EST",
3178
3178
  homepage: "https://github.com/aversini/ui-components",
3179
3179
  license: "MIT"
3180
3180
  });
@@ -3516,19 +3516,19 @@ const Mn = 500, Un = 5e3, Kn = 2e4, rr = z.forwardRef(
3516
3516
  );
3517
3517
  rr.displayName = "TextInputMask";
3518
3518
  /*!
3519
- @versini/ui-textinput v2.0.6
3519
+ @versini/ui-textinput v3.0.0
3520
3520
  © 2025 gizmette.com
3521
3521
  */
3522
3522
  try {
3523
3523
  window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
3524
- version: "2.0.6",
3525
- buildTime: "01/02/2025 05:13 PM EST",
3524
+ version: "3.0.0",
3525
+ buildTime: "01/03/2025 10:45 AM EST",
3526
3526
  homepage: "https://github.com/aversini/ui-components",
3527
3527
  license: "MIT"
3528
3528
  });
3529
3529
  } catch {
3530
3530
  }
3531
- const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Gn = "Log in", Bn = "Sign in with a Passkey", Ho = "Log out", Jn = "Password", Wo = "Send", Go = "Profile", Bo = "Settings", Jo = "Chat history", Vo = "About", Yo = "Type your question here", zo = "<clipboard>", Fo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", jo = {
3531
+ const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Gn = "Log in", Bn = "Sign in with a Passkey", Go = "Log out", Jn = "Password", Bo = "Send", Jo = "Profile", Vo = "Settings", Yo = "Chat history", zo = "About", Fo = "Type your question here", jo = "<clipboard>", qo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", Xo = {
3532
3532
  PREFERENCES: {
3533
3533
  TITLE: "User profile",
3534
3534
  NAME: "Name",
@@ -3683,16 +3683,16 @@ const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Gn = "Log in", Bn = "Sign in w
3683
3683
  ) });
3684
3684
  }, zn = new URL(document.location.href).searchParams, Fn = !!zn.get("debug") || !1, jn = sr(() => import(
3685
3685
  /* webpackChunkName: "LazyApp" */
3686
- "./App.CNyYloEL.js"
3686
+ "./App.BXK1QFQt.js"
3687
3687
  ).then((e) => e.App)), qn = ({ isComponent: e }) => {
3688
3688
  const { isAuthenticated: t } = qt();
3689
3689
  return t ? /* @__PURE__ */ l(ir, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(jn, { isComponent: e }) }) : /* @__PURE__ */ l(Yn, {});
3690
3690
  }, Xn = ({
3691
3691
  isComponent: e = !1,
3692
3692
  domain: t = Fa
3693
- }) => /* @__PURE__ */ l(Oe, { children: /* @__PURE__ */ l($a, { clientId: Ma, domain: t, debug: Fn, children: /* @__PURE__ */ l(qn, { isComponent: e }) }) }), qo = ({ domain: e }) => /* @__PURE__ */ l(Xn, { isComponent: !0, domain: e });
3693
+ }) => /* @__PURE__ */ l(Oe, { children: /* @__PURE__ */ l($a, { clientId: Ma, domain: t, debug: Fn, children: /* @__PURE__ */ l(qn, { isComponent: e }) }) }), Qo = ({ domain: e }) => /* @__PURE__ */ l(Xn, { isComponent: !0, domain: e });
3694
3694
  export {
3695
- Vo as ABOUT_TITLE,
3695
+ zo as ABOUT_TITLE,
3696
3696
  Io as ACTION_ENGINE,
3697
3697
  fo as ACTION_MESSAGE,
3698
3698
  Eo as ACTION_MODEL,
@@ -3706,47 +3706,49 @@ export {
3706
3706
  ko as ACTION_TOGGLE_TAG,
3707
3707
  Wn as APP_NAME,
3708
3708
  Xt as C,
3709
- jo as CARDS,
3710
- zo as CLIPBOARD_TAG,
3709
+ Xo as CARDS,
3710
+ jo as CLIPBOARD_TAG,
3711
3711
  po as DEFAULT_AI_ENGINE,
3712
3712
  yo as ENGINE_ANTHROPIC,
3713
3713
  go as ENGINE_OPENAI,
3714
3714
  mo as ERROR_MESSAGE,
3715
- Jo as HISTORY_TITLE,
3715
+ Yo as HISTORY_TITLE,
3716
+ Lo as INFINITE_SCROLL_LIMIT,
3717
+ Do as INFINITE_SCROLL_THRESHOLD,
3716
3718
  Et as L,
3717
3719
  No as LOCAL_STORAGE_CHAT_DETAILS,
3718
3720
  Oo as LOCAL_STORAGE_ENGINE_TOGGLE,
3719
3721
  Ro as LOCAL_STORAGE_PREFIX,
3720
3722
  xo as LOCAL_STORAGE_SEARCH,
3721
3723
  Co as LOCAL_STORAGE_SORT,
3722
- Ho as LOG_OUT,
3724
+ Go as LOG_OUT,
3723
3725
  Vn as Logo,
3724
3726
  ue as M,
3725
3727
  Xe as P,
3726
- Go as PROFILE_TITLE,
3728
+ Jo as PROFILE_TITLE,
3727
3729
  hn as R,
3728
3730
  co as ROLE_ASSISTANT,
3729
3731
  ho as ROLE_HIDDEN,
3730
3732
  uo as ROLE_INTERNAL,
3731
3733
  lo as ROLE_SYSTEM,
3732
3734
  io as ROLE_USER,
3733
- Wo as SEND,
3734
- Bo as SETTINGS_TITLE,
3735
+ Bo as SEND,
3736
+ Vo as SETTINGS_TITLE,
3735
3737
  Po as STATS_SEPARATOR,
3736
- qo as SassySaint,
3737
- Fo as TAGS_DESCRIPTION,
3738
- Yo as TYPE_QUESTION,
3739
- Ko as debounce,
3740
- Mo as durationFormatter,
3738
+ Qo as SassySaint,
3739
+ qo as TAGS_DESCRIPTION,
3740
+ Fo as TYPE_QUESTION,
3741
+ Wo as debounce,
3742
+ Ko as durationFormatter,
3741
3743
  Ue as g,
3742
- Do as getCurrentGeoLocation,
3744
+ $o as getCurrentGeoLocation,
3743
3745
  qa as getMainPaddingClass,
3744
3746
  ja as getMessageContaintWrapperClass,
3745
- $o as isLastMessageFromRole,
3747
+ Uo as isLastMessageFromRole,
3746
3748
  le as j,
3747
- Uo as pluralize,
3749
+ Ho as pluralize,
3748
3750
  bn as r,
3749
- Lo as renderDataAsList,
3751
+ Mo as renderDataAsList,
3750
3752
  qt as un,
3751
3753
  at as ye,
3752
3754
  gn as z
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.B7w6LJPp.js";
2
+ import { SassySaint as a } from "../../chunks/index.Dx036nZH.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.B7w6LJPp.js";
1
+ import { SassySaint as r } from "./chunks/index.Dx036nZH.js";
2
2
  /*!
3
- @sassysaint/client v5.18.3
3
+ @sassysaint/client v5.19.0
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "5.18.3",
9
- buildTime: "01/02/2025 08:11 PM EST",
8
+ version: "5.19.0",
9
+ buildTime: "01/03/2025 07:36 PM EST",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "5.5.12",
3
+ "version": "5.5.14",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,8 +30,8 @@
30
30
  "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "5.18.3",
34
- "@versini/ui-styles": "2.1.1"
33
+ "@sassysaint/client": "5.19.0",
34
+ "@versini/ui-styles": "3.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "@versini/ui-hooks": "4.3.0",
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "c4e5fddb8bcabba42c42c89307958d51291d06d6"
44
+ "gitHead": "475324ebcf825a5d148cbd4d16794bdbd8864cdf"
45
45
  }