@versini/sassysaint 8.107.3 → 8.107.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.
- package/dist/chunks/{AboutChangelog.BmMVyf-Q.js → AboutChangelog.DeRcKN5H.js} +2 -2
- package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.6mTHwkfb.js} +7 -7
- package/dist/chunks/{App.FyINLNSp.js → App.DTjbiLAP.js} +1746 -1908
- package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.ltolxxta.js} +47 -74
- package/dist/chunks/{Chart.DYVf2gst.js → Chart.BzOmOhOW.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.lGE_8ao1.js} +199 -208
- package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.DC661ePq.js} +27 -36
- package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.BkRFWpsA.js} +108 -121
- package/dist/chunks/{Table.Dzy9ts3i.js → DeleteButtonIcon.P0LgJDjE.js} +125 -104
- package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.uUjsDuT0.js} +6 -6
- package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.BGZdTDwf.js} +4 -4
- package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.Bpddd0yA.js} +304 -385
- package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BYQm9cuU.js} +164 -169
- package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.BqcZXSeT.js} +4 -4
- package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.BdC5Vyof.js} +5 -5
- package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry._O8Q6TwS.js} +5 -5
- package/dist/chunks/index.Bi0z4EE1.js +90 -0
- package/dist/chunks/{index.BI1_ccPN.js → index.BlviGqw0.js} +3 -3
- package/dist/chunks/{index.BfTDtoYy.js → index.BxbWxVtd.js} +1 -1
- package/dist/chunks/index.C70LcKzU.js +279 -0
- package/dist/chunks/{index.BT3Do9Po.js → index.CYcieK1H.js} +34 -43
- package/dist/chunks/{index.QiLu2wkI.js → index.CaofbEIP.js} +2 -2
- package/dist/chunks/{index.DBovegdE.js → index.D2nN0rC6.js} +1 -1
- package/dist/chunks/{index.uILjvEfo.js → index.DG-VhqKw.js} +1 -1
- package/dist/chunks/{index.16gcBvke.js → index.DuxTgnco.js} +60 -69
- package/dist/chunks/{index.DJlv39cv.js → index.s8Izh8-Q.js} +2 -2
- package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.DjEZz9lH.js} +315 -324
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/chunks/index.BjnVQ4X3.js +0 -99
- package/dist/chunks/index.uVDYkuxz.js +0 -297
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ButtonIcon as
|
|
3
|
-
import { useState as
|
|
1
|
+
import { jsxs as x, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { ButtonIcon as N, IconCopied as $, IconCopy as E } from "./LogoEntry.Bpddd0yA.js";
|
|
3
|
+
import { useState as z, useEffect as j } from "react";
|
|
4
4
|
import t from "clsx";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
version: "10.1.1",
|
|
8
|
-
buildTime: "12/24/2025 09:20 AM EST",
|
|
9
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-bubble",
|
|
10
|
-
license: "MIT"
|
|
11
|
-
});
|
|
12
|
-
} catch {
|
|
13
|
-
}
|
|
14
|
-
const i = "av-bubble";
|
|
15
|
-
try {
|
|
16
|
-
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
17
|
-
version: "10.1.1",
|
|
18
|
-
buildTime: "12/24/2025 09:20 AM EST",
|
|
19
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-bubble",
|
|
20
|
-
license: "MIT"
|
|
21
|
-
});
|
|
22
|
-
} catch {
|
|
23
|
-
}
|
|
24
|
-
const C = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
5
|
+
const u = "av-bubble";
|
|
6
|
+
const k = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
25
7
|
"max-w-xs sm:max-w-md md:max-w-2xl": !r,
|
|
26
8
|
"lg:max-w-3xl": e === "left" && !r
|
|
27
|
-
}),
|
|
9
|
+
}), I = ({ kind: e, gradient: r }) => r ? r === "light" ? t({
|
|
28
10
|
"bg-linear-to-b from-surface-light/80 to-surface-light dark:from-surface-dark/80 dark:to-surface-dark": e === "left",
|
|
29
11
|
"bg-linear-to-b from-surface-accent/80 to-surface-accent": e === "right"
|
|
30
12
|
}) : r === "medium" ? t({
|
|
@@ -36,11 +18,11 @@ const C = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
36
18
|
}) : t({
|
|
37
19
|
"bg-surface-light dark:bg-surface-dark": e === "left",
|
|
38
20
|
"bg-surface-accent": e === "right"
|
|
39
|
-
}),
|
|
21
|
+
}), S = ({ kind: e }) => t("prose prose-dark dark:prose-lighter", "prose-blockquote:my-1", "prose-ol:my-1 prose-ul:my-1", {
|
|
40
22
|
"text-copy-lighter": e === "right"
|
|
41
|
-
}),
|
|
23
|
+
}), A = ({ kind: e, tail: r }) => {
|
|
42
24
|
if (r)
|
|
43
|
-
return t(`${
|
|
25
|
+
return t(`${u}-${e}-tail`, "rounded-3xl", "relative", "before:content-['']", "before:w-3", "before:h-2", "before:absolute", "before:bottom-0", {
|
|
44
26
|
"last-bubble-right:before:right-0.5 last-bubble-right:before:border-l-8 last-bubble-right:before:border-l-surface-accent last-bubble-right:before:rounded-bl-[100%]": e === "right",
|
|
45
27
|
"last-bubble-left:before:left-0.5 last-bubble-left:before:border-r-8 last-bubble-left:before:border-r-surface-light last-bubble-left:dark:before:border-r-surface-dark last-bubble-left:before:rounded-br-[100%]": e === "left"
|
|
46
28
|
});
|
|
@@ -49,21 +31,21 @@ const C = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
49
31
|
"rounded-tr-xl": e === "left",
|
|
50
32
|
"rounded-tl-xl": e === "right"
|
|
51
33
|
});
|
|
52
|
-
},
|
|
53
|
-
const s = t(
|
|
34
|
+
}, L = ({ kind: e, className: r, contentClassName: n, footerClassName: i, noMaxWidth: m, tail: l, gradient: b }) => {
|
|
35
|
+
const s = t(u, `${u}-${e}`, "flex items-start", {
|
|
54
36
|
"flex-row-reverse": e === "right"
|
|
55
|
-
}, r), p = t(`${
|
|
37
|
+
}, r), p = t(`${u}-content`, "flex flex-col empty:hidden", k({
|
|
56
38
|
kind: e,
|
|
57
39
|
noMaxWidth: m
|
|
58
|
-
}),
|
|
40
|
+
}), S({
|
|
59
41
|
kind: e
|
|
60
|
-
}),
|
|
42
|
+
}), I({
|
|
61
43
|
kind: e,
|
|
62
44
|
gradient: b
|
|
63
|
-
}),
|
|
45
|
+
}), A({
|
|
64
46
|
kind: e,
|
|
65
47
|
tail: l
|
|
66
|
-
}),
|
|
48
|
+
}), n), d = t("pr-2 pt-1 text-end text-xs text-copy-light", i), g = t("flex flex-col-reverse sm:flex-row", {
|
|
67
49
|
"ml-2": e === "left" && !l,
|
|
68
50
|
"mr-2": e === "right" && !l,
|
|
69
51
|
"ml-1": e === "left" && l,
|
|
@@ -76,59 +58,50 @@ const C = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
76
58
|
copyButton: g
|
|
77
59
|
};
|
|
78
60
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
version: "10.1.1",
|
|
82
|
-
buildTime: "12/24/2025 09:20 AM EST",
|
|
83
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-bubble",
|
|
84
|
-
license: "MIT"
|
|
85
|
-
});
|
|
86
|
-
} catch {
|
|
87
|
-
}
|
|
88
|
-
const k = (e) => typeof e == "object" && e !== null && "isEmpty" in e && e.isEmpty === !0, M = (e) => typeof e == "object" && e !== null && "key" in e && "value" in e, q = ({ children: e, kind: r = "left", className: u, contentClassName: n, footerClassName: m, footer: l, rawFooter: b, copyToClipboard: s, copyToClipboardFocusMode: p = "system", copyToClipboardMode: d = "system", noMaxWidth: g = !1, tail: w = !1, gradient: y }) => {
|
|
89
|
-
const [f, B] = S(!1), c = j({
|
|
61
|
+
const q = (e) => typeof e == "object" && e !== null && "isEmpty" in e && e.isEmpty === !0, F = (e) => typeof e == "object" && e !== null && "key" in e && "value" in e, V = ({ children: e, kind: r = "left", className: n, contentClassName: i, footerClassName: m, footer: l, rawFooter: b, copyToClipboard: s, copyToClipboardFocusMode: p = "system", copyToClipboardMode: d = "system", noMaxWidth: g = !1, tail: v = !1, gradient: B }) => {
|
|
62
|
+
const [c, y] = z(!1), f = L({
|
|
90
63
|
kind: r,
|
|
91
|
-
className:
|
|
92
|
-
contentClassName:
|
|
64
|
+
className: n,
|
|
65
|
+
contentClassName: i,
|
|
93
66
|
footerClassName: m,
|
|
94
67
|
noMaxWidth: g,
|
|
95
|
-
tail:
|
|
96
|
-
gradient:
|
|
97
|
-
}),
|
|
98
|
-
|
|
68
|
+
tail: v,
|
|
69
|
+
gradient: B
|
|
70
|
+
}), w = !!s && (typeof s == "function" || typeof s == "string" || typeof e == "string"), C = () => {
|
|
71
|
+
y(!0), typeof s == "function" ? s(e) : typeof s == "string" ? navigator.clipboard.writeText(s) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
99
72
|
};
|
|
100
|
-
return
|
|
73
|
+
return j(() => {
|
|
101
74
|
let a;
|
|
102
|
-
return
|
|
103
|
-
|
|
75
|
+
return c && (a = window.setTimeout(() => {
|
|
76
|
+
y(!1);
|
|
104
77
|
}, 3e3)), () => {
|
|
105
78
|
clearTimeout(a);
|
|
106
79
|
};
|
|
107
80
|
}, [
|
|
108
|
-
|
|
109
|
-
]), /* @__PURE__ */
|
|
110
|
-
className:
|
|
81
|
+
c
|
|
82
|
+
]), /* @__PURE__ */ x("div", {
|
|
83
|
+
className: f.wrapper,
|
|
111
84
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
85
|
+
/* @__PURE__ */ x("div", {
|
|
113
86
|
children: [
|
|
114
87
|
/* @__PURE__ */ o("div", {
|
|
115
|
-
className:
|
|
88
|
+
className: f.main,
|
|
116
89
|
children: e
|
|
117
90
|
}),
|
|
118
|
-
l && l.map((a, h) =>
|
|
91
|
+
l && l.map((a, h) => q(a) ? /* @__PURE__ */ o("div", {
|
|
119
92
|
className: "prose-p:m-0",
|
|
120
93
|
children: /* @__PURE__ */ o("p", {
|
|
121
|
-
className:
|
|
94
|
+
className: f.footer,
|
|
122
95
|
"aria-hidden": "true",
|
|
123
96
|
children: /* @__PURE__ */ o("span", {
|
|
124
97
|
className: "invisible",
|
|
125
98
|
children: " "
|
|
126
99
|
})
|
|
127
100
|
})
|
|
128
|
-
}, `footer-empty-${h}`) :
|
|
101
|
+
}, `footer-empty-${h}`) : F(a) ? /* @__PURE__ */ o("div", {
|
|
129
102
|
className: "prose-p:m-0",
|
|
130
|
-
children: /* @__PURE__ */
|
|
131
|
-
className:
|
|
103
|
+
children: /* @__PURE__ */ x("p", {
|
|
104
|
+
className: f.footer,
|
|
132
105
|
children: [
|
|
133
106
|
a.key,
|
|
134
107
|
": ",
|
|
@@ -138,27 +111,27 @@ const k = (e) => typeof e == "object" && e !== null && "isEmpty" in e && e.isEmp
|
|
|
138
111
|
}, `footer-kv-${h}`) : /* @__PURE__ */ o("div", {
|
|
139
112
|
className: "prose-p:m-0",
|
|
140
113
|
children: /* @__PURE__ */ o("p", {
|
|
141
|
-
className:
|
|
114
|
+
className: f.footer,
|
|
142
115
|
children: a.value
|
|
143
116
|
})
|
|
144
117
|
}, `footer-val-${h}`)),
|
|
145
118
|
b && b
|
|
146
119
|
]
|
|
147
120
|
}),
|
|
148
|
-
|
|
149
|
-
className:
|
|
150
|
-
children: /* @__PURE__ */ o(
|
|
121
|
+
w && /* @__PURE__ */ o("div", {
|
|
122
|
+
className: f.copyButton,
|
|
123
|
+
children: /* @__PURE__ */ o(N, {
|
|
151
124
|
noBorder: !0,
|
|
152
125
|
noBackground: !0,
|
|
153
126
|
size: "small",
|
|
154
127
|
mode: d,
|
|
155
128
|
focusMode: p,
|
|
156
|
-
label:
|
|
157
|
-
onClick:
|
|
158
|
-
disabled:
|
|
159
|
-
children:
|
|
129
|
+
label: c ? "Copied to clipboard" : "Copy to clipboard",
|
|
130
|
+
onClick: C,
|
|
131
|
+
disabled: c,
|
|
132
|
+
children: c ? /* @__PURE__ */ o($, {
|
|
160
133
|
size: "size-3"
|
|
161
|
-
}) : /* @__PURE__ */ o(
|
|
134
|
+
}) : /* @__PURE__ */ o(E, {
|
|
162
135
|
size: "size-3"
|
|
163
136
|
})
|
|
164
137
|
})
|
|
@@ -167,5 +140,5 @@ const k = (e) => typeof e == "object" && e !== null && "isEmpty" in e && e.isEmp
|
|
|
167
140
|
});
|
|
168
141
|
};
|
|
169
142
|
export {
|
|
170
|
-
|
|
143
|
+
V as Bubble
|
|
171
144
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Pp } from "react/jsx-runtime";
|
|
2
|
-
import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.
|
|
2
|
+
import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.DTjbiLAP.js";
|
|
3
3
|
import Lp, { useMemo as Ep } from "react";
|
|
4
|
-
import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.
|
|
4
|
+
import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.Bpddd0yA.js";
|
|
5
5
|
var hs = { exports: {} }, Dp = hs.exports, nn;
|
|
6
6
|
function Bp() {
|
|
7
7
|
return nn || (nn = 1, (function(Ae, pe) {
|