@versini/sassysaint 5.4.5 → 5.4.6
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/chunks/{LazyApp.C-ghWo2j.js → LazyApp.B-F4mWWU.js} +3 -3
- package/dist/chunks/{LazyHeader.CHy11tdF.js → LazyHeader.PqNNzUEq.js} +1113 -1042
- package/dist/chunks/{LazyMarkdownWithExtra.CRBiqKQo.js → LazyMarkdownWithExtra.CW5V1fRn.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.ByDEgy53.js → LazyMessageAssistant.sDgYeEsY.js} +4 -4
- package/dist/chunks/{index.CTGK59bg.js → index.CTDNajS_.js} +3 -3
- package/dist/chunks/{index.Cul7Y08v.js → index.sbHwdUKv.js} +3 -3
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
- package/dist/chunks/index.DaIz2ggm.CWKMlVvg.js +0 -99
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as bs } from "react/jsx-runtime";
|
|
2
|
-
import { convert as vs, getDefaultExportFromCjs as ys, visit as ws, find as Es, parse as xn, parse$1 as _n, normalize as Sn, svg as xs, html as _s, visitParents as Ss, SKIP as Ns, longestStreak as ks, factorySpace as Er, markdownLineEnding as Ht, Markdown as Ts, remarkGfm as Ms } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as vs, getDefaultExportFromCjs as ys, visit as ws, find as Es, parse as xn, parse$1 as _n, normalize as Sn, svg as xs, html as _s, visitParents as Ss, SKIP as Ns, longestStreak as ks, factorySpace as Er, markdownLineEnding as Ht, Markdown as Ts, remarkGfm as Ms } from "./LazyMessageAssistant.sDgYeEsY.js";
|
|
3
3
|
const Nn = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as Zt } from "react/jsx-runtime";
|
|
2
|
-
import { le as at } from "./LazyApp.
|
|
3
|
-
import { E as hi } from "./index.
|
|
2
|
+
import { le as at } from "./LazyApp.B-F4mWWU.js";
|
|
3
|
+
import { E as hi } from "./index.CTDNajS_.js";
|
|
4
4
|
import sn from "clsx";
|
|
5
5
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
6
|
-
import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.
|
|
6
|
+
import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.sbHwdUKv.js";
|
|
7
7
|
/*!
|
|
8
8
|
@versini/ui-spinner v1.4.0
|
|
9
9
|
© 2024 gizmette.com
|
|
@@ -8675,7 +8675,7 @@ function $c(e) {
|
|
|
8675
8675
|
const qc = mi(
|
|
8676
8676
|
() => import(
|
|
8677
8677
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8678
|
-
"./LazyMarkdownWithExtra.
|
|
8678
|
+
"./LazyMarkdownWithExtra.CW5V1fRn.js"
|
|
8679
8679
|
)
|
|
8680
8680
|
), Tn = {
|
|
8681
8681
|
MODEL: "Model",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as x, jsx as c, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
-
import { g as Se } from "./index.
|
|
2
|
+
import { g as Se } from "./index.sbHwdUKv.js";
|
|
3
3
|
import O, { useSyncExternalStore as Ie, useCallback as P, useEffect as A, useContext as R, useRef as f, useState as $, useLayoutEffect as U, useMemo as ie, useId as Ce, useReducer as $e } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
const $t = ({
|
|
@@ -78,8 +78,8 @@ const k = {
|
|
|
78
78
|
displayName
|
|
79
79
|
}
|
|
80
80
|
}`,
|
|
81
|
-
GET_CHATS: `query GetChats($userId: String
|
|
82
|
-
chats(user: $userId) {
|
|
81
|
+
GET_CHATS: `query GetChats($userId: String!, $searchString: String, $limit: Float) {
|
|
82
|
+
chats(user: $userId, searchString: $searchString, limit: $limit) {
|
|
83
83
|
timestamp
|
|
84
84
|
id
|
|
85
85
|
model
|
|
@@ -3750,7 +3750,7 @@ const Xn = (e) => {
|
|
|
3750
3750
|
row1: /* @__PURE__ */ _("div", { children: [
|
|
3751
3751
|
sr,
|
|
3752
3752
|
" v",
|
|
3753
|
-
"5.
|
|
3753
|
+
"5.9.0",
|
|
3754
3754
|
" - ",
|
|
3755
3755
|
jn,
|
|
3756
3756
|
t && t.engine,
|
|
@@ -3767,7 +3767,7 @@ const Xn = (e) => {
|
|
|
3767
3767
|
}, to = vt(
|
|
3768
3768
|
() => import(
|
|
3769
3769
|
/* webpackChunkName: "LazyHeader" */
|
|
3770
|
-
"./LazyHeader.
|
|
3770
|
+
"./LazyHeader.PqNNzUEq.js"
|
|
3771
3771
|
)
|
|
3772
3772
|
), ro = () => {
|
|
3773
3773
|
const { isAuthenticated: e } = et();
|
|
@@ -3879,7 +3879,7 @@ const Xn = (e) => {
|
|
|
3879
3879
|
}, no = new URL(document.location.href).searchParams, oo = !!no.get("debug") || !1, so = vt(
|
|
3880
3880
|
() => import(
|
|
3881
3881
|
/* webpackChunkName: "LazyApp" */
|
|
3882
|
-
"./LazyApp.
|
|
3882
|
+
"./LazyApp.B-F4mWWU.js"
|
|
3883
3883
|
).then((e) => e.LazyApp)
|
|
3884
3884
|
), io = ({ isComponent: e }) => {
|
|
3885
3885
|
const { isAuthenticated: t } = et();
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.sbHwdUKv.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.
|
|
3
|
+
@sassysaint/client v5.9.0
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.
|
|
9
|
-
buildTime: "12/
|
|
8
|
+
version: "5.9.0",
|
|
9
|
+
buildTime: "12/28/2024 10:44 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": "5.4.
|
|
3
|
+
"version": "5.4.6",
|
|
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": "5.
|
|
33
|
+
"@sassysaint/client": "5.9.0",
|
|
34
34
|
"@versini/ui-styles": "1.14.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "27cc45fba47bef1ddb40c4c2c21d204a11ea6f35"
|
|
45
45
|
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { useMergeRefs as _, FloatingPortal as C, FloatingOverlay as E, FloatingFocusManager as O, useFloating as R, useClick as k, useDismiss as x, useRole as y, useInteractions as F } from "@floating-ui/react";
|
|
3
|
-
import L from "clsx";
|
|
4
|
-
import * as t from "react";
|
|
5
|
-
import { useId as h } from "react";
|
|
6
|
-
const b = t.createContext(null);
|
|
7
|
-
function S({
|
|
8
|
-
initialOpen: n = !1,
|
|
9
|
-
open: s,
|
|
10
|
-
onOpenChange: o
|
|
11
|
-
} = {}) {
|
|
12
|
-
const [e, r] = t.useState(n), [i, a] = t.useState(), [c, I] = t.useState(), u = s ?? e, f = o ?? r, p = R({
|
|
13
|
-
open: u,
|
|
14
|
-
onOpenChange: f
|
|
15
|
-
}), m = p.context, M = k(m, {
|
|
16
|
-
enabled: s == null
|
|
17
|
-
}), v = x(m, {
|
|
18
|
-
outsidePress: !1,
|
|
19
|
-
outsidePressEvent: "mousedown"
|
|
20
|
-
}), w = y(m), g = F([M, v, w]);
|
|
21
|
-
return t.useMemo(
|
|
22
|
-
() => ({
|
|
23
|
-
open: u,
|
|
24
|
-
setOpen: f,
|
|
25
|
-
...g,
|
|
26
|
-
...p,
|
|
27
|
-
labelId: i,
|
|
28
|
-
descriptionId: c,
|
|
29
|
-
setLabelId: a,
|
|
30
|
-
setDescriptionId: I
|
|
31
|
-
}),
|
|
32
|
-
[u, f, g, p, i, c]
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
const d = () => {
|
|
36
|
-
const n = t.useContext(b);
|
|
37
|
-
if (n == null)
|
|
38
|
-
throw new Error("Modal components must be wrapped in <Modal />");
|
|
39
|
-
return n;
|
|
40
|
-
};
|
|
41
|
-
function A({
|
|
42
|
-
children: n,
|
|
43
|
-
...s
|
|
44
|
-
}) {
|
|
45
|
-
const o = S(s);
|
|
46
|
-
return /* @__PURE__ */ l(b.Provider, { value: o, children: n });
|
|
47
|
-
}
|
|
48
|
-
const U = t.forwardRef(function(n, s) {
|
|
49
|
-
const { context: o, ...e } = d(), r = _([e.refs.setFloating, s]);
|
|
50
|
-
if (!o.open)
|
|
51
|
-
return null;
|
|
52
|
-
const { overlayBackground: i, ...a } = n, c = L("grid place-items-center", {
|
|
53
|
-
[`${i}`]: i,
|
|
54
|
-
"bg-black sm:bg-black/[.8]": !i
|
|
55
|
-
});
|
|
56
|
-
return /* @__PURE__ */ l(C, { children: /* @__PURE__ */ l(E, { className: c, lockScroll: !0, children: /* @__PURE__ */ l(O, { context: o, children: /* @__PURE__ */ l(
|
|
57
|
-
"div",
|
|
58
|
-
{
|
|
59
|
-
ref: r,
|
|
60
|
-
"aria-labelledby": e.labelId,
|
|
61
|
-
"aria-describedby": e.descriptionId,
|
|
62
|
-
...e.getFloatingProps(a),
|
|
63
|
-
children: a.children
|
|
64
|
-
}
|
|
65
|
-
) }) }) });
|
|
66
|
-
}), V = t.forwardRef(function({ children: n, ...s }, o) {
|
|
67
|
-
const { setLabelId: e } = d(), r = h();
|
|
68
|
-
return t.useLayoutEffect(() => (e(r), () => e(void 0)), [r, e]), /* @__PURE__ */ l("h1", { ...s, ref: o, id: r, children: n });
|
|
69
|
-
}), $ = t.forwardRef(function({ children: n, ...s }, o) {
|
|
70
|
-
const { setDescriptionId: e } = d(), r = h();
|
|
71
|
-
return t.useLayoutEffect(() => (e(r), () => e(void 0)), [r, e]), /* @__PURE__ */ l("div", { ...s, ref: o, id: r, children: n });
|
|
72
|
-
}), j = t.forwardRef(function(n, s) {
|
|
73
|
-
const { setOpen: o } = d(), { trigger: e, className: r, ...i } = n, a = t.useCallback(() => o(!1), [o]);
|
|
74
|
-
return /* @__PURE__ */ l("div", { className: r, children: t.cloneElement(e, {
|
|
75
|
-
ref: s,
|
|
76
|
-
onClick: a,
|
|
77
|
-
...i
|
|
78
|
-
}) });
|
|
79
|
-
});
|
|
80
|
-
/*!
|
|
81
|
-
@versini/ui-modal v1.1.0
|
|
82
|
-
© 2024 gizmette.com
|
|
83
|
-
*/
|
|
84
|
-
try {
|
|
85
|
-
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
86
|
-
version: "1.1.0",
|
|
87
|
-
buildTime: "12/26/2024 06:05 PM EST",
|
|
88
|
-
homepage: "https://github.com/aversini/ui-components",
|
|
89
|
-
license: "MIT"
|
|
90
|
-
});
|
|
91
|
-
} catch {
|
|
92
|
-
}
|
|
93
|
-
export {
|
|
94
|
-
A as Modal,
|
|
95
|
-
j as ModalClose,
|
|
96
|
-
U as ModalContent,
|
|
97
|
-
$ as ModalDescription,
|
|
98
|
-
V as ModalHeading
|
|
99
|
-
};
|