@versini/sassysaint 7.3.2 → 7.4.0

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,7 +1,7 @@
1
1
  import { Fragment as mi, jsx as xe, jsxs as Zt } from "react/jsx-runtime";
2
- import { ChatContext as gi, E as di, Re as ut } from "./App.bKrYRgTj.js";
2
+ import { ChatContext as gi, E as di, Re as ut } from "./App.Dms7Y9sn.js";
3
3
  import { lazy as yi, useContext as ki, Suspense as xi } from "react";
4
- import { LOCAL_STORAGE_PREFIX as bi, LOCAL_STORAGE_CHAT_DETAILS as wi, ROLE_INTERNAL as Si, durationFormatter as Ci, numberFormatter as Ei } from "./index.7sz3uXvc.js";
4
+ import { LOCAL_STORAGE_PREFIX as bi, LOCAL_STORAGE_CHAT_DETAILS as wi, ROLE_INTERNAL as Si, durationFormatter as Ci, numberFormatter as Ei } from "./index.KUSjESlg.js";
5
5
  function er(e) {
6
6
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
7
  }
@@ -8605,7 +8605,7 @@ function Jt(e) {
8605
8605
  const Wc = yi(
8606
8606
  () => import(
8607
8607
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8608
- "./MarkdownWithExtra.B3Uz9lAW.js"
8608
+ "./MarkdownWithExtra.3sK44pYw.js"
8609
8609
  )
8610
8610
  ), Pn = {
8611
8611
  MODEL: "Model",
@@ -1,6 +1,6 @@
1
1
  import { jsx as Ve, jsxs as F0, Fragment as Sa } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as ka, find as ks, parse as Sn, parse$1 as kn, normalize as Nn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./ChatBubbleAssistant.n0K0jTV1.js";
3
- import { re as Is, L as Ds, j as Ls } from "./index.7sz3uXvc.js";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as ka, find as ks, parse as Sn, parse$1 as kn, normalize as Nn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./ChatBubbleAssistant.BSDC-abi.js";
3
+ import { re as Is, L as Ds, j as Ls } from "./index.KUSjESlg.js";
4
4
  import zs, { useState as Bs, useEffect as Fs } from "react";
5
5
  import Ps from "clsx";
6
6
  const Na = ({
@@ -4774,23 +4774,34 @@ const hi = "ASK! ME! ANYTHING!", Ln = "Callisto", fi = "Log in", mi = "Sign in w
4774
4774
  ) });
4775
4775
  }, Ei = new URL(document.location.href).searchParams, Hr = !!Ei.get("debug") || !1, bi = Vn(() => import(
4776
4776
  /* webpackChunkName: "LazyApp" */
4777
- "./App.bKrYRgTj.js"
4778
- ).then((e) => e.App)), Kr = ({ isComponent: e }) => {
4779
- const { isAuthenticated: t } = pn();
4780
- return t ? /* @__PURE__ */ h(Wn, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(bi, { isComponent: e }) }) : /* @__PURE__ */ h(yi, {});
4777
+ "./App.Dms7Y9sn.js"
4778
+ ).then((e) => e.App)), Kr = ({
4779
+ isComponent: e,
4780
+ headerHeight: t
4781
+ }) => {
4782
+ const { isAuthenticated: r } = pn();
4783
+ return r ? /* @__PURE__ */ h(Wn, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(bi, { isComponent: e, headerHeight: t }) }) : /* @__PURE__ */ h(yi, {});
4781
4784
  }, Si = ({
4782
4785
  isComponent: e = !1,
4783
- domain: t = lo
4786
+ headerHeight: t = 0,
4787
+ domain: r = lo
4784
4788
  }) => (Zs(), vn ? /* @__PURE__ */ h(
4785
4789
  Ir,
4786
4790
  {
4787
4791
  clientId: Ar,
4788
- domain: t,
4792
+ domain: r,
4789
4793
  debug: Hr,
4790
4794
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
4791
- children: /* @__PURE__ */ h(Kr, { isComponent: e })
4795
+ children: /* @__PURE__ */ h(Kr, { isComponent: e, headerHeight: t })
4796
+ }
4797
+ ) : /* @__PURE__ */ h(Ir, { clientId: Ar, domain: r, debug: Hr, children: /* @__PURE__ */ h(Kr, { isComponent: e, headerHeight: t }) })), Nc = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
4798
+ Si,
4799
+ {
4800
+ isComponent: !0,
4801
+ domain: e,
4802
+ headerHeight: t
4792
4803
  }
4793
- ) : /* @__PURE__ */ h(Ir, { clientId: Ar, domain: t, debug: Hr, children: /* @__PURE__ */ h(Kr, { isComponent: e }) })), Nc = ({ domain: e }) => /* @__PURE__ */ h(Si, { isComponent: !0, domain: e });
4804
+ );
4794
4805
  export {
4795
4806
  _c as ABOUT_TITLE,
4796
4807
  Gi as ACTION_RESET_PROMPT,
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.7sz3uXvc.js";
2
+ import { SassySaint as a } from "../../chunks/index.KUSjESlg.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
3
  type SassySaintProps = {
4
4
  domain: string;
5
+ headerHeight?: number;
5
6
  };
6
- declare const SassySaint: ({ domain }: SassySaintProps) => react_jsx_runtime.JSX.Element;
7
+ declare const SassySaint: ({ domain, headerHeight }: SassySaintProps) => react_jsx_runtime.JSX.Element;
7
8
 
8
9
  export { SassySaint };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.7sz3uXvc.js";
1
+ import { SassySaint as r } from "./chunks/index.KUSjESlg.js";
2
2
  /*!
3
- @sassysaint/client v7.3.2
3
+ @sassysaint/client v7.4.0
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "7.3.2",
9
- buildTime: "02/18/2025 10:20 PM EST",
8
+ version: "7.4.0",
9
+ buildTime: "02/19/2025 09:03 AM 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": "7.3.2",
3
+ "version": "7.4.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "7.3.2",
33
+ "@sassysaint/client": "7.4.0",
34
34
  "@versini/ui-styles": "3.2.8"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "1ecc3f2ea70174f1899e10acc98ba96757b5ec1a"
44
+ "gitHead": "202356d039f6d3b0ca33cf1066e45e054ad6f4f1"
45
45
  }