@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.
Files changed (33) hide show
  1. package/dist/chunks/{AboutChangelog.-F_kMw74.js → AboutChangelog.DeRcKN5H.js} +2 -2
  2. package/dist/chunks/{AboutEntry.DR75PxCw.js → AboutEntry.6mTHwkfb.js} +7 -7
  3. package/dist/chunks/{App.3M79T1qj.js → App.DTjbiLAP.js} +1753 -2012
  4. package/dist/chunks/{Bubble.CA6Nm1l0.js → Bubble.ltolxxta.js} +47 -86
  5. package/dist/chunks/{Chart.DwZeH0GA.js → Chart.BzOmOhOW.js} +2 -2
  6. package/dist/chunks/{ChatBubbleAssistant.Bm-gE-ev.js → ChatBubbleAssistant.lGE_8ao1.js} +200 -213
  7. package/dist/chunks/{ChatBubbleUser.lLvteBf3.js → ChatBubbleUser.DC661ePq.js} +28 -41
  8. package/dist/chunks/{ChatHistoryTable.yS0g-92Q.js → ChatHistoryTable.BkRFWpsA.js} +108 -125
  9. package/dist/chunks/{Table.AnN2X7VF.js → DeleteButtonIcon.P0LgJDjE.js} +125 -116
  10. package/dist/chunks/{HistoryEntry.DfNmYlfN.js → HistoryEntry.uUjsDuT0.js} +6 -6
  11. package/dist/chunks/{LoginEntry.BccxHPtX.js → LoginEntry.BGZdTDwf.js} +4 -4
  12. package/dist/chunks/{LogoEntry.CFw0uv25.js → LogoEntry.Bpddd0yA.js} +301 -430
  13. package/dist/chunks/{MemoriesEntry.Cdao1cmo.js → MemoriesEntry.BYQm9cuU.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.b8NaUHNW.js → ProfileEntry.BqcZXSeT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.CjuYtYSp.js → SettingsEntry.BdC5Vyof.js} +5 -5
  16. package/dist/chunks/{UsageEntry.cp-aSBF9.js → UsageEntry._O8Q6TwS.js} +5 -5
  17. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  18. package/dist/chunks/{index.CgpXJ39e.js → index.BlviGqw0.js} +4 -4
  19. package/dist/chunks/{index.BSdZTOf6.js → index.BxbWxVtd.js} +1 -1
  20. package/dist/chunks/index.C70LcKzU.js +279 -0
  21. package/dist/chunks/{index.CLVeqfU3.js → index.CYcieK1H.js} +34 -47
  22. package/dist/chunks/{index.Dbw9MfpE.js → index.CaofbEIP.js} +3 -19
  23. package/dist/chunks/{index.B6FhZIr6.js → index.D2nN0rC6.js} +1 -1
  24. package/dist/chunks/{index.DhQEm5fx.js → index.DG-VhqKw.js} +1 -1
  25. package/dist/chunks/{index.DYkMD3_1.js → index.DuxTgnco.js} +56 -69
  26. package/dist/chunks/{index.DHLA2Fes.js → index.s8Izh8-Q.js} +2 -2
  27. package/dist/chunks/{useMarkdown.CoVPoXwW.js → useMarkdown.DjEZz9lH.js} +316 -329
  28. package/dist/components/SassySaint/SassySaint.js +1 -1
  29. package/dist/index.js +3 -7
  30. package/dist/style.css +1 -14
  31. package/package.json +5 -5
  32. package/dist/chunks/index.BAdB50GZ.js +0 -103
  33. package/dist/chunks/index.CyKPGk1D.js +0 -305
@@ -1,32 +1,19 @@
1
- import { jsxs as F, jsx as g, Fragment as V } from "react/jsx-runtime";
2
- import { useResizeObserver as q, useUniqueId as B, useMergeRefs as W } from "./LogoEntry.CFw0uv25.js";
3
- import { LiveRegion as H } from "./index.BAdB50GZ.js";
4
- import P, { useState as M, useRef as R, useLayoutEffect as O, useEffect as z } from "react";
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
- }), K = ({ focusMode: e }) => l("focus:outline focus:outline-2 focus:outline-offset-2", {
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
- }), Q = ({ noBorder: e, error: s }) => l("border-2", {
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(U, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
44
+ return l(M, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
58
45
  if (!e)
59
- return l(U, "absolute px-2 font-medium", {
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(U, "absolute px-2 font-medium", {
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: m, size: b, rightElementClassName: T }) => {
73
- const _ = t ? e : l("relative flex w-full flex-col justify-center", G, e);
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 (b) {
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(X, c, "rounded-md text-base px-4", J({
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), I = t ? void 0 : "sr-only", o = Y({
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: I,
102
+ accessibleLabel: R,
116
103
  visibleLabel: o,
117
104
  helperText: x,
118
105
  rightElement: f
119
106
  };
120
- }, $ = /* @__PURE__ */ P.forwardRef(({ id: e, name: s, label: t, error: r = !1, raw: n = !1, className: p, inputClassName: d, mode: m = "system", focusMode: b = "system", disabled: T = !1, noBorder: _ = !1, labelId: c, labelHidden: E = !1, type: I = "text", helperText: o = "", rightElement: x, rightElementClassName: f, size: i = "md", ...N }, w) => {
121
- const [A, u] = q(), [S, v] = M(0), y = B({
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: `${X}-`
124
- }), L = `${s} error, ${o}`, C = R(null), a = R(null), h = {
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: b,
137
+ focusMode: m,
151
138
  disabled: T,
152
- noBorder: _,
153
- mode: m,
139
+ noBorder: I,
140
+ mode: b,
154
141
  size: i,
155
142
  rightElementClassName: f
156
143
  });
157
144
  return O(() => {
158
- u && u.width && v(u.width + 18 + 10);
145
+ u && u.width && _(u.width + 18 + 10);
159
146
  }, [
160
147
  u
161
148
  ]), O(() => {
162
- const { label: D, helperText: j } = h[i];
163
- C?.current?.style.setProperty("--av-text-input-label", D), a?.current?.style.setProperty("--av-text-input-helper-text", j);
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: w,
163
+ ref: A,
177
164
  id: y,
178
165
  name: s,
179
- type: I,
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
- ...N
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: A,
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: L
204
+ children: U
218
205
  })
219
206
  ]
220
207
  });
221
208
  });
222
- $.displayName = "TextInput";
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: m, onTextInputMaskBlur: b, rightElement: T, ..._ }, c) => {
224
- const [E, I] = M(!0), [o, x] = M({
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 = R(!0), i = R(null), N = R(null), w = W([
214
+ }), f = N(!0), i = N(null), v = N(null), A = z([
228
215
  c,
229
- N
230
- ]), A = E ? "Show" : "Hide", u = () => {
216
+ v
217
+ ]), L = E ? "Show" : "Hide", u = () => {
231
218
  i.current && clearTimeout(i.current), f.current || (i.current = setTimeout(() => {
232
- f.current = !0, I(!0), x({
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(), I(h), x({
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
- }, v = (a) => {
233
+ }, _ = (a) => {
247
234
  const { relatedTarget: h } = a;
248
- N.current?.parentElement?.contains(h) || b && b();
235
+ v.current?.parentElement?.contains(h) || m && m();
249
236
  }, y = (a) => {
250
- u(), d && d(a), v(a);
251
- }, L = (a) => {
252
- u(), m && m(a);
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 z(() => () => {
243
+ return G(() => () => {
257
244
  i.current && clearTimeout(i.current);
258
- }, []), /* @__PURE__ */ F(V, {
245
+ }, []), /* @__PURE__ */ F(q, {
259
246
  children: [
260
- /* @__PURE__ */ g($, {
261
- ref: w,
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: L,
255
+ onFocus: U,
269
256
  onChange: C,
270
257
  rightElement: /* @__PURE__ */ P.cloneElement(T, {
271
258
  ref: c,
272
- label: A,
259
+ label: L,
273
260
  onClick: S,
274
- onBlur: v,
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
- $ as TextInput,
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.CoVPoXwW.js";
2
- import { toText as Ca } from "./index.B6FhZIr6.js";
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 = {};