@versini/sassysaint 8.107.2 → 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.-F_kMw74.js → AboutChangelog.DeRcKN5H.js} +2 -2
- package/dist/chunks/{AboutEntry.DR75PxCw.js → AboutEntry.6mTHwkfb.js} +7 -7
- package/dist/chunks/{App.3M79T1qj.js → App.DTjbiLAP.js} +1753 -2012
- package/dist/chunks/{Bubble.CA6Nm1l0.js → Bubble.ltolxxta.js} +47 -86
- package/dist/chunks/{Chart.DwZeH0GA.js → Chart.BzOmOhOW.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.Bm-gE-ev.js → ChatBubbleAssistant.lGE_8ao1.js} +200 -213
- package/dist/chunks/{ChatBubbleUser.lLvteBf3.js → ChatBubbleUser.DC661ePq.js} +28 -41
- package/dist/chunks/{ChatHistoryTable.yS0g-92Q.js → ChatHistoryTable.BkRFWpsA.js} +108 -125
- package/dist/chunks/{Table.AnN2X7VF.js → DeleteButtonIcon.P0LgJDjE.js} +125 -116
- package/dist/chunks/{HistoryEntry.DfNmYlfN.js → HistoryEntry.uUjsDuT0.js} +6 -6
- package/dist/chunks/{LoginEntry.BccxHPtX.js → LoginEntry.BGZdTDwf.js} +4 -4
- package/dist/chunks/{LogoEntry.CFw0uv25.js → LogoEntry.Bpddd0yA.js} +301 -430
- package/dist/chunks/{MemoriesEntry.Cdao1cmo.js → MemoriesEntry.BYQm9cuU.js} +164 -169
- package/dist/chunks/{ProfileEntry.b8NaUHNW.js → ProfileEntry.BqcZXSeT.js} +4 -4
- package/dist/chunks/{SettingsEntry.CjuYtYSp.js → SettingsEntry.BdC5Vyof.js} +5 -5
- package/dist/chunks/{UsageEntry.cp-aSBF9.js → UsageEntry._O8Q6TwS.js} +5 -5
- package/dist/chunks/index.Bi0z4EE1.js +90 -0
- package/dist/chunks/{index.CgpXJ39e.js → index.BlviGqw0.js} +4 -4
- package/dist/chunks/{index.BSdZTOf6.js → index.BxbWxVtd.js} +1 -1
- package/dist/chunks/index.C70LcKzU.js +279 -0
- package/dist/chunks/{index.CLVeqfU3.js → index.CYcieK1H.js} +34 -47
- package/dist/chunks/{index.Dbw9MfpE.js → index.CaofbEIP.js} +3 -19
- package/dist/chunks/{index.B6FhZIr6.js → index.D2nN0rC6.js} +1 -1
- package/dist/chunks/{index.DhQEm5fx.js → index.DG-VhqKw.js} +1 -1
- package/dist/chunks/{index.DYkMD3_1.js → index.DuxTgnco.js} +56 -69
- package/dist/chunks/{index.DHLA2Fes.js → index.s8Izh8-Q.js} +2 -2
- package/dist/chunks/{useMarkdown.CoVPoXwW.js → useMarkdown.DjEZz9lH.js} +316 -329
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -7
- package/dist/style.css +1 -14
- package/package.json +5 -5
- package/dist/chunks/index.BAdB50GZ.js +0 -103
- package/dist/chunks/index.CyKPGk1D.js +0 -305
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
import { jsxs as F, jsx as g, Fragment as
|
|
2
|
-
import { useResizeObserver as
|
|
3
|
-
import { LiveRegion as H } from "./index.
|
|
4
|
-
import P, { useState as
|
|
1
|
+
import { jsxs as F, jsx as g, Fragment as q } from "react/jsx-runtime";
|
|
2
|
+
import { useResizeObserver as B, useUniqueId as W, useMergeRefs as z } from "./LogoEntry.Bpddd0yA.js";
|
|
3
|
+
import { LiveRegion as H } from "./index.Bi0z4EE1.js";
|
|
4
|
+
import P, { useState as w, useRef as N, useLayoutEffect as O, useEffect as G } from "react";
|
|
5
5
|
import l from "clsx";
|
|
6
|
-
|
|
7
|
-
@versini/ui-textinput v6.0.0
|
|
8
|
-
© 2025 gizmette.com
|
|
9
|
-
*/
|
|
10
|
-
try {
|
|
11
|
-
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
|
12
|
-
version: "6.0.0",
|
|
13
|
-
buildTime: "12/16/2025 06:22 PM EST",
|
|
14
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-textinput",
|
|
15
|
-
license: "MIT"
|
|
16
|
-
});
|
|
17
|
-
} catch {
|
|
18
|
-
}
|
|
19
|
-
const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helper-text", J = ({ mode: e }) => l({
|
|
6
|
+
const $ = "av-text-input", J = "av-text-input-wrapper", M = "av-text-input-helper-text", K = ({ mode: e }) => l({
|
|
20
7
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
21
8
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
|
22
9
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
|
23
10
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
|
24
|
-
}),
|
|
11
|
+
}), Q = ({ focusMode: e }) => l("focus:outline-2 focus:outline-offset-2", {
|
|
25
12
|
"focus:outline-focus-dark": e === "dark",
|
|
26
13
|
"focus:outline-focus-light": e === "light",
|
|
27
14
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
28
15
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
|
29
|
-
}),
|
|
16
|
+
}), V = ({ noBorder: e, error: s }) => l("border-2", {
|
|
30
17
|
"border-border-dark": !e && !s,
|
|
31
18
|
"focus:border-border-dark": !e && s,
|
|
32
19
|
"border-border-error-dark": !e && s,
|
|
@@ -54,25 +41,25 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
54
41
|
if (s)
|
|
55
42
|
return "";
|
|
56
43
|
if (r)
|
|
57
|
-
return l(
|
|
44
|
+
return l(M, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
|
|
58
45
|
if (!e)
|
|
59
|
-
return l(
|
|
46
|
+
return l(M, "absolute px-2 font-medium", {
|
|
60
47
|
"text-copy-lighter": t === "dark",
|
|
61
48
|
"text-copy-dark": t === "light",
|
|
62
49
|
"text-copy-dark dark:text-copy-lighter": t === "system",
|
|
63
50
|
"text-copy-lighter dark:text-copy-dark": t === "alt-system"
|
|
64
51
|
});
|
|
65
52
|
if (e)
|
|
66
|
-
return l(
|
|
53
|
+
return l(M, "absolute px-2 font-medium", {
|
|
67
54
|
"text-copy-error-light bg-surface-darker": t === "dark",
|
|
68
55
|
"text-copy-error-dark": t === "light",
|
|
69
56
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": t === "system",
|
|
70
57
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": t === "alt-system"
|
|
71
58
|
});
|
|
72
|
-
}, ee = ({ className: e, inputClassName: s, raw: t, disabled: r, noBorder: n, error: p, mode: d, focusMode:
|
|
73
|
-
const
|
|
59
|
+
}, ee = ({ className: e, inputClassName: s, raw: t, disabled: r, noBorder: n, error: p, mode: d, focusMode: b, size: m, rightElementClassName: T }) => {
|
|
60
|
+
const I = t ? e : l("relative flex w-full flex-col justify-center", J, e);
|
|
74
61
|
let c = "";
|
|
75
|
-
switch (
|
|
62
|
+
switch (m) {
|
|
76
63
|
case "xs":
|
|
77
64
|
c = "h-8";
|
|
78
65
|
break;
|
|
@@ -89,16 +76,16 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
89
76
|
c = "h-12";
|
|
90
77
|
break;
|
|
91
78
|
}
|
|
92
|
-
const E = t ? l(s) : l(
|
|
79
|
+
const E = t ? l(s) : l($, c, "rounded-md text-base px-4", K({
|
|
93
80
|
mode: d
|
|
94
|
-
}), K({
|
|
95
|
-
focusMode: m
|
|
96
81
|
}), Q({
|
|
82
|
+
focusMode: b
|
|
83
|
+
}), V({
|
|
97
84
|
noBorder: n,
|
|
98
85
|
error: p
|
|
99
86
|
}), {
|
|
100
87
|
"disabled:cursor-not-allowed disabled:opacity-50": r
|
|
101
|
-
}, s),
|
|
88
|
+
}, s), R = t ? void 0 : "sr-only", o = Y({
|
|
102
89
|
disabled: r,
|
|
103
90
|
raw: t,
|
|
104
91
|
error: p,
|
|
@@ -110,18 +97,18 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
110
97
|
disabled: r
|
|
111
98
|
}), f = t ? void 0 : l("absolute right-3", T);
|
|
112
99
|
return {
|
|
113
|
-
wrapper:
|
|
100
|
+
wrapper: I,
|
|
114
101
|
input: E,
|
|
115
|
-
accessibleLabel:
|
|
102
|
+
accessibleLabel: R,
|
|
116
103
|
visibleLabel: o,
|
|
117
104
|
helperText: x,
|
|
118
105
|
rightElement: f
|
|
119
106
|
};
|
|
120
|
-
},
|
|
121
|
-
const [
|
|
107
|
+
}, D = /* @__PURE__ */ P.forwardRef(({ id: e, name: s, label: t, error: r = !1, raw: n = !1, className: p, inputClassName: d, mode: b = "system", focusMode: m = "system", disabled: T = !1, noBorder: I = !1, labelId: c, labelHidden: E = !1, type: R = "text", helperText: o = "", rightElement: x, rightElementClassName: f, size: i = "md", ...v }, A) => {
|
|
108
|
+
const [L, u] = B(), [S, _] = w(0), y = W({
|
|
122
109
|
id: e,
|
|
123
|
-
prefix: `${
|
|
124
|
-
}),
|
|
110
|
+
prefix: `${$}-`
|
|
111
|
+
}), U = `${s} error, ${o}`, C = N(null), a = N(null), h = {
|
|
125
112
|
xs: {
|
|
126
113
|
label: "-25px",
|
|
127
114
|
helperText: "30px"
|
|
@@ -147,20 +134,20 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
147
134
|
inputClassName: d,
|
|
148
135
|
error: r,
|
|
149
136
|
raw: n,
|
|
150
|
-
focusMode:
|
|
137
|
+
focusMode: m,
|
|
151
138
|
disabled: T,
|
|
152
|
-
noBorder:
|
|
153
|
-
mode:
|
|
139
|
+
noBorder: I,
|
|
140
|
+
mode: b,
|
|
154
141
|
size: i,
|
|
155
142
|
rightElementClassName: f
|
|
156
143
|
});
|
|
157
144
|
return O(() => {
|
|
158
|
-
u && u.width &&
|
|
145
|
+
u && u.width && _(u.width + 18 + 10);
|
|
159
146
|
}, [
|
|
160
147
|
u
|
|
161
148
|
]), O(() => {
|
|
162
|
-
const { label:
|
|
163
|
-
C?.current?.style.setProperty("--av-text-input-label",
|
|
149
|
+
const { label: X, helperText: j } = h[i];
|
|
150
|
+
C?.current?.style.setProperty("--av-text-input-label", X), a?.current?.style.setProperty("--av-text-input-helper-text", j);
|
|
164
151
|
}, [
|
|
165
152
|
i
|
|
166
153
|
]), /* @__PURE__ */ F("div", {
|
|
@@ -173,10 +160,10 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
173
160
|
children: t
|
|
174
161
|
}),
|
|
175
162
|
/* @__PURE__ */ g("input", {
|
|
176
|
-
ref:
|
|
163
|
+
ref: A,
|
|
177
164
|
id: y,
|
|
178
165
|
name: s,
|
|
179
|
-
type:
|
|
166
|
+
type: R,
|
|
180
167
|
disabled: T,
|
|
181
168
|
placeholder: n ? void 0 : " ",
|
|
182
169
|
className: k.input,
|
|
@@ -191,7 +178,7 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
191
178
|
paddingRight: S
|
|
192
179
|
}
|
|
193
180
|
},
|
|
194
|
-
...
|
|
181
|
+
...v
|
|
195
182
|
}),
|
|
196
183
|
!n && !E && /* @__PURE__ */ g("label", {
|
|
197
184
|
ref: C,
|
|
@@ -207,29 +194,29 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
207
194
|
children: o
|
|
208
195
|
}),
|
|
209
196
|
x && /* @__PURE__ */ g("div", {
|
|
210
|
-
ref:
|
|
197
|
+
ref: L,
|
|
211
198
|
className: k.rightElement,
|
|
212
199
|
children: x
|
|
213
200
|
}),
|
|
214
201
|
r && o && /* @__PURE__ */ g(H, {
|
|
215
202
|
politeness: "polite",
|
|
216
203
|
clearAnnouncementDelay: 500,
|
|
217
|
-
children:
|
|
204
|
+
children: U
|
|
218
205
|
})
|
|
219
206
|
]
|
|
220
207
|
});
|
|
221
208
|
});
|
|
222
|
-
|
|
223
|
-
const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ P.forwardRef(({ name: e, disabled: s, label: t, labelHidden: r, onMaskChange: n, onChange: p, onBlur: d, onFocus:
|
|
224
|
-
const [E,
|
|
209
|
+
D.displayName = "TextInput";
|
|
210
|
+
const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ P.forwardRef(({ name: e, disabled: s, label: t, labelHidden: r, onMaskChange: n, onChange: p, onBlur: d, onFocus: b, onTextInputMaskBlur: m, rightElement: T, ...I }, c) => {
|
|
211
|
+
const [E, R] = w(!0), [o, x] = w({
|
|
225
212
|
message: null,
|
|
226
213
|
politeness: null
|
|
227
|
-
}), f =
|
|
214
|
+
}), f = N(!0), i = N(null), v = N(null), A = z([
|
|
228
215
|
c,
|
|
229
|
-
|
|
230
|
-
]),
|
|
216
|
+
v
|
|
217
|
+
]), L = E ? "Show" : "Hide", u = () => {
|
|
231
218
|
i.current && clearTimeout(i.current), f.current || (i.current = setTimeout(() => {
|
|
232
|
-
f.current = !0,
|
|
219
|
+
f.current = !0, R(!0), x({
|
|
233
220
|
announcementTimeout: re,
|
|
234
221
|
politeness: "polite",
|
|
235
222
|
message: `${t} hiding characters`
|
|
@@ -238,43 +225,43 @@ const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ P.forwardRef(({ name: e
|
|
|
238
225
|
}, S = (a) => {
|
|
239
226
|
a.preventDefault();
|
|
240
227
|
const h = !f.current;
|
|
241
|
-
f.current = h, u(),
|
|
228
|
+
f.current = h, u(), R(h), x({
|
|
242
229
|
announcementTimeout: te,
|
|
243
230
|
politeness: "assertive",
|
|
244
231
|
message: h ? "Characters hidden" : "Characters showing"
|
|
245
232
|
}), n && n(h);
|
|
246
|
-
},
|
|
233
|
+
}, _ = (a) => {
|
|
247
234
|
const { relatedTarget: h } = a;
|
|
248
|
-
|
|
235
|
+
v.current?.parentElement?.contains(h) || m && m();
|
|
249
236
|
}, y = (a) => {
|
|
250
|
-
u(), d && d(a),
|
|
251
|
-
},
|
|
252
|
-
u(),
|
|
237
|
+
u(), d && d(a), _(a);
|
|
238
|
+
}, U = (a) => {
|
|
239
|
+
u(), b && b(a);
|
|
253
240
|
}, C = (a) => {
|
|
254
241
|
u(), p && p(a);
|
|
255
242
|
};
|
|
256
|
-
return
|
|
243
|
+
return G(() => () => {
|
|
257
244
|
i.current && clearTimeout(i.current);
|
|
258
|
-
}, []), /* @__PURE__ */ F(
|
|
245
|
+
}, []), /* @__PURE__ */ F(q, {
|
|
259
246
|
children: [
|
|
260
|
-
/* @__PURE__ */ g(
|
|
261
|
-
ref:
|
|
247
|
+
/* @__PURE__ */ g(D, {
|
|
248
|
+
ref: A,
|
|
262
249
|
name: e,
|
|
263
250
|
label: t,
|
|
264
251
|
labelHidden: r,
|
|
265
252
|
type: E ? "password" : "text",
|
|
266
253
|
disabled: s,
|
|
267
254
|
onBlur: y,
|
|
268
|
-
onFocus:
|
|
255
|
+
onFocus: U,
|
|
269
256
|
onChange: C,
|
|
270
257
|
rightElement: /* @__PURE__ */ P.cloneElement(T, {
|
|
271
258
|
ref: c,
|
|
272
|
-
label:
|
|
259
|
+
label: L,
|
|
273
260
|
onClick: S,
|
|
274
|
-
onBlur:
|
|
261
|
+
onBlur: _,
|
|
275
262
|
disabled: s
|
|
276
263
|
}),
|
|
277
|
-
...
|
|
264
|
+
...I
|
|
278
265
|
}),
|
|
279
266
|
/* @__PURE__ */ g(H, {
|
|
280
267
|
role: "status",
|
|
@@ -287,6 +274,6 @@ const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ P.forwardRef(({ name: e
|
|
|
287
274
|
});
|
|
288
275
|
ae.displayName = "TextInputMask";
|
|
289
276
|
export {
|
|
290
|
-
|
|
277
|
+
D as TextInput,
|
|
291
278
|
ae as TextInputMask
|
|
292
279
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
|
2
|
-
import { toText as Ca } from "./index.
|
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.DjEZz9lH.js";
|
|
2
|
+
import { toText as Ca } from "./index.D2nN0rC6.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|