@versini/sassysaint 8.107.3 → 8.108.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.
Files changed (91) hide show
  1. package/dist/chunks/{AboutChangelog.BmMVyf-Q.js → AboutChangelog.55tIwnGe.js} +2 -2
  2. package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.D1zAHjel.js} +7 -7
  3. package/dist/chunks/{App.FyINLNSp.js → App.Br7HE-y0.js} +1746 -1908
  4. package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.Ic_8FEhH.js} +47 -74
  5. package/dist/chunks/{Table.Dzy9ts3i.js → ButtonIconDelete.DRBd_G40.js} +125 -104
  6. package/dist/chunks/{Chart.DYVf2gst.js → Chart.CwIVbBYb.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.DHlLzqdc.js} +199 -208
  8. package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.D7ksCr76.js} +27 -36
  9. package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.DhUDW7QO.js} +108 -121
  10. package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.BxnMfiXN.js} +6 -6
  11. package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.XF9rPWdB.js} +4 -4
  12. package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.CnTI8jpv.js} +304 -385
  13. package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BjNXrPW2.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.S6XO2uMT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.C5jHUJzu.js} +5 -5
  16. package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry.CQTLPweE.js} +5 -5
  17. package/dist/chunks/_basePickBy.Dj6LWOd3.js +151 -0
  18. package/dist/chunks/_baseUniq.DfiF6jap.js +614 -0
  19. package/dist/chunks/arc.CLrqhM1J.js +83 -0
  20. package/dist/chunks/architecture-U656AL7Q.CuF-GD1P.js +36 -0
  21. package/dist/chunks/architectureDiagram-VXUJARFQ.BGPIWweD.js +4653 -0
  22. package/dist/chunks/blockDiagram-VD42YOAC.cLfUaXxm.js +2254 -0
  23. package/dist/chunks/browser.B8WuOmYx.js +260 -0
  24. package/dist/chunks/c4Diagram-YG6GDRKO.Cc4f8G62.js +1579 -0
  25. package/dist/chunks/channel.D7pUQPat.js +5 -0
  26. package/dist/chunks/chunk-4BX2VUAB.C5gP6CzO.js +8 -0
  27. package/dist/chunks/chunk-55IACEB6.CMTOMhuf.js +8 -0
  28. package/dist/chunks/chunk-B4BG7PRW.CQz5CpXp.js +1375 -0
  29. package/dist/chunks/chunk-DI55MBZ5.C4SOgQau.js +1370 -0
  30. package/dist/chunks/chunk-FMBD7UC4.5tYrPDWZ.js +19 -0
  31. package/dist/chunks/chunk-QN33PNHL.P3o9PZBW.js +19 -0
  32. package/dist/chunks/chunk-QZHKN3VN.COvsjomn.js +15 -0
  33. package/dist/chunks/chunk-TZMSLE5B.C5QPHQlj.js +64 -0
  34. package/dist/chunks/classDiagram-2ON5EDUG.DrIfmpHo.js +16 -0
  35. package/dist/chunks/classDiagram-v2-WZHVMYZB.DrIfmpHo.js +16 -0
  36. package/dist/chunks/clone.47X4nGV4.js +8 -0
  37. package/dist/chunks/cose-bilkent-S5V4N54A.B1umrZne.js +2600 -0
  38. package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
  39. package/dist/chunks/dagre-6UL2VRFP.Ce4VSTky.js +444 -0
  40. package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
  41. package/dist/chunks/diagram-PSM6KHXK.B1yvSG9p.js +531 -0
  42. package/dist/chunks/diagram-QEK2KX5R.CYDnnLB3.js +217 -0
  43. package/dist/chunks/diagram-S2PKOQOG.BI6w7TZJ.js +142 -0
  44. package/dist/chunks/erDiagram-Q2GNP2WA.D7mTQJ6P.js +841 -0
  45. package/dist/chunks/flowDiagram-NV44I4VS.Col8_E_0.js +1620 -0
  46. package/dist/chunks/ganttDiagram-JELNMOA3.GAUSoSKL.js +2647 -0
  47. package/dist/chunks/gitGraph-F6HP7TQM.3I_jmRrt.js +27 -0
  48. package/dist/chunks/gitGraphDiagram-NY62KEGX.DZQ_LVDe.js +699 -0
  49. package/dist/chunks/graph.BmJVbvPo.js +247 -0
  50. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  51. package/dist/chunks/{index.QiLu2wkI.js → index.C0El17wt.js} +2 -2
  52. package/dist/chunks/{index.DBovegdE.js → index.CUn5zNJg.js} +1 -1
  53. package/dist/chunks/index.CbEVdl_N.js +279 -0
  54. package/dist/chunks/{index.BT3Do9Po.js → index.CoZgV6rn.js} +34 -43
  55. package/dist/chunks/{index.16gcBvke.js → index.DCqTKdor.js} +60 -69
  56. package/dist/chunks/index.DctDXsYU.js +67 -0
  57. package/dist/chunks/{index.BfTDtoYy.js → index.Df-tNwfZ.js} +1 -1
  58. package/dist/chunks/{index.BI1_ccPN.js → index.DxGkXGdu.js} +3 -3
  59. package/dist/chunks/{index.uILjvEfo.js → index.z2e7pMwp.js} +1 -1
  60. package/dist/chunks/info-NVLQJR56.D9ao7_Su.js +27 -0
  61. package/dist/chunks/infoDiagram-WHAUD3N6.DmFB-CXk.js +24 -0
  62. package/dist/chunks/init.DAGnb5BH.js +16 -0
  63. package/dist/chunks/journeyDiagram-XKPGCS4Q.C9FISQxf.js +834 -0
  64. package/dist/chunks/kanban-definition-3W4ZIXB7.ChmJnTyd.js +719 -0
  65. package/dist/chunks/{index.DJlv39cv.js → katex.D0sQThIv.js} +1638 -1943
  66. package/dist/chunks/layout.DtZQLIyC.js +1332 -0
  67. package/dist/chunks/linear.CIDfImUo.js +625 -0
  68. package/dist/chunks/mermaid-parser.core.CO83pegl.js +12724 -0
  69. package/dist/chunks/mindmap-definition-VGOIOE7T.B3dfWebK.js +759 -0
  70. package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
  71. package/dist/chunks/packet-BFZMPI3H.q9qJMgm9.js +27 -0
  72. package/dist/chunks/pie-7BOR55EZ.BTnKDmrp.js +32 -0
  73. package/dist/chunks/pieDiagram-ADFJNKIX.B23eDSnQ.js +161 -0
  74. package/dist/chunks/quadrantDiagram-AYHSOK5B.B3ZIlLhO.js +1022 -0
  75. package/dist/chunks/radar-NHE76QYJ.BeKykujs.js +27 -0
  76. package/dist/chunks/rehype-mermaid.DkS2NcIa.js +14283 -0
  77. package/dist/chunks/requirementDiagram-UZGBJVZJ.0vOl9IL2.js +850 -0
  78. package/dist/chunks/sankeyDiagram-TZEHDZUN.DxwTK65F.js +810 -0
  79. package/dist/chunks/sequenceDiagram-WL72ISMW.BmOg83Gx.js +2511 -0
  80. package/dist/chunks/stateDiagram-FKZM4ZOC.DBiU28Wu.js +263 -0
  81. package/dist/chunks/stateDiagram-v2-4FDKWEC3.B6t8_4cH.js +16 -0
  82. package/dist/chunks/timeline-definition-IT6M3QCI.DpWxwytE.js +795 -0
  83. package/dist/chunks/treemap-KMMF4GRG.KqgFrxbV.js +81 -0
  84. package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.CxuK_DLo.js} +2078 -2072
  85. package/dist/chunks/xychartDiagram-PRI3JC2R.CBaIBQ89.js +1340 -0
  86. package/dist/components/SassySaint/SassySaint.js +1 -1
  87. package/dist/index.js +3 -3
  88. package/dist/style.css +1 -1
  89. package/package.json +5 -5
  90. package/dist/chunks/index.BjnVQ4X3.js +0 -99
  91. package/dist/chunks/index.uVDYkuxz.js +0 -297
@@ -1,297 +0,0 @@
1
- import { jsxs as oe, jsx as T } from "react/jsx-runtime";
2
- import { useMergeRefs as ne, useResizeObserver as G, useUniqueId as ce } from "./LogoEntry.BAKpdJEy.js";
3
- import ie, { useState as E, useEffect as le, useRef as k, useLayoutEffect as R } from "react";
4
- import { LiveRegion as ue } from "./index.BjnVQ4X3.js";
5
- import n from "clsx";
6
- try {
7
- window.__VERSINI_UI_HOOKS__ || (window.__VERSINI_UI_HOOKS__ = {
8
- version: "6.0.1",
9
- buildTime: "12/24/2025 09:19 AM EST",
10
- homepage: "https://www.npmjs.com/package/@versini/ui-hooks",
11
- license: "MIT"
12
- });
13
- } catch {
14
- }
15
- function de({ value: e, defaultValue: a, finalValue: r, onChange: s = () => {
16
- }, initialControlledDelay: t = 0 }) {
17
- const [o, i] = E(!1), [l, u] = E(a !== void 0 ? a : r), p = (x) => {
18
- u(x), s?.(x);
19
- };
20
- return le(() => {
21
- (async () => e !== void 0 && !o && t > 0 && (await new Promise((x) => setTimeout(x, t)), i(!0)))();
22
- }, [
23
- e,
24
- t,
25
- o
26
- ]), e !== void 0 ? !o && t > 0 ? [
27
- "",
28
- s,
29
- !0
30
- ] : [
31
- e,
32
- s,
33
- !0
34
- ] : [
35
- l,
36
- p,
37
- !1
38
- ];
39
- }
40
- try {
41
- window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
42
- version: "6.0.1",
43
- buildTime: "12/24/2025 09:21 AM EST",
44
- homepage: "https://www.npmjs.com/package/@versini/ui-textarea",
45
- license: "MIT"
46
- });
47
- } catch {
48
- }
49
- const W = "av-text-area", fe = "av-text-area-wrapper", H = "av-text-area-helper-text", pe = "av-text-area__control--right", xe = "av-text-area__control--left", ye = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", he = ({ mode: e }) => n({
50
- "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
51
- "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
52
- "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
53
- "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
54
- }), ge = ({ focusMode: e }) => n("focus:outline-2 focus:outline-offset-2", {
55
- "focus:outline-focus-dark": e === "dark",
56
- "focus:outline-focus-light": e === "light",
57
- "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
58
- "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
59
- }), Te = ({ noBorder: e, error: a }) => n("border-2", {
60
- "border-border-dark": !e && !a,
61
- "focus:border-border-dark": !e && a,
62
- "border-border-error-dark": !e && a,
63
- "border-transparent": e
64
- }), _e = ({ disabled: e, raw: a, error: r, mode: s, leftElement: t, rightElement: o }) => {
65
- if (a)
66
- return "";
67
- if (e)
68
- return n("transform translate-y-0 scale-100 absolute px-2 cursor-not-allowed opacity-50 font-medium", {
69
- "translate-x-2.5": o === !0 && !t || !o && !t
70
- });
71
- if (!r)
72
- return n("absolute px-2 cursor-text font-medium transform translate-y-0 scale-100", {
73
- "translate-x-2.5": o === !0 && !t || !o && !t,
74
- "text-copy-medium": s === "dark",
75
- "text-copy-dark": s === "light",
76
- "text-copy-dark dark:text-copy-medium": s === "system",
77
- "text-copy-medium dark:text-copy-dark": s === "alt-system"
78
- });
79
- if (r)
80
- return n("absolute px-2 cursor-text font-medium transform translate-y-0 scale-100", {
81
- "translate-x-2.5": o === !0 && !t || !o && !t,
82
- "text-copy-medium": s === "dark",
83
- "text-copy-error-dark": s === "light",
84
- "text-copy-error-dark dark:text-copy-error-light": s === "system",
85
- "text-copy-medium dark:text-copy-error-dark": s === "alt-system"
86
- });
87
- }, Ae = ({ error: e, raw: a, mode: r, disabled: s }) => {
88
- if (a)
89
- return "";
90
- if (s)
91
- return n(H, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
92
- if (!e)
93
- return n(H, "absolute px-2 font-medium", {
94
- "text-copy-medium": r === "dark",
95
- "text-copy-dark": r === "light",
96
- "text-copy-dark dark:text-copy-medium": r === "system",
97
- "text-copy-medium dark:text-copy-dark": r === "alt-system"
98
- });
99
- if (e)
100
- return n(H, "absolute px-2 font-medium", {
101
- "text-copy-error-light": r === "dark",
102
- "text-copy-error-dark": r === "light",
103
- "text-copy-error-dark dark:text-copy-error-light": r === "system",
104
- "dark:text-copy-error-dark text-copy-error-light": r === "alt-system"
105
- });
106
- }, ke = ({ className: e, textAreaClassName: a, raw: r, focusMode: s, disabled: t, noBorder: o, error: i, mode: l, leftElement: u, rightElement: p }) => {
107
- const x = r ? e : n("relative flex w-full flex-col justify-center", fe, e), I = r ? n(a) : n(W, a, ye(), he({
108
- mode: l
109
- }), ge({
110
- focusMode: s
111
- }), Te({
112
- noBorder: o,
113
- error: i
114
- }), {
115
- "disabled:cursor-not-allowed disabled:opacity-50": t
116
- }), O = r ? void 0 : "sr-only", v = _e({
117
- disabled: t,
118
- raw: r,
119
- error: i,
120
- mode: l,
121
- rightElement: p,
122
- leftElement: u
123
- }), d = Ae({
124
- error: i,
125
- raw: r,
126
- mode: l,
127
- disabled: t
128
- }), m = r ? void 0 : n(pe, "absolute"), y = r ? void 0 : n(xe, "absolute");
129
- return {
130
- wrapper: x,
131
- textArea: I,
132
- accessibleLabel: O,
133
- visibleLabel: v,
134
- helperText: d,
135
- rightElement: m,
136
- leftElement: y
137
- };
138
- }, me = ({ scrollHeight: e, currentHeight: a, currentLabelOffset: r = 0, currentHelperTextOffset: s = 0 }) => {
139
- let i, l;
140
- if (e > 0 && e !== a) {
141
- const u = e - a, p = Math.abs(u / 24);
142
- i = r + -1 * Math.sign(u) * (12 * p), l = s + Math.sign(u) * (12 * p);
143
- }
144
- return {
145
- labelOffset: i,
146
- helperTextOffset: l,
147
- scrollHeight: e
148
- };
149
- }, be = /* @__PURE__ */ ie.forwardRef(({ id: e, name: a, label: r, error: s = !1, raw: t = !1, className: o, textAreaClassName: i, mode: l = "system", focusMode: u = "system", value: p, defaultValue: x, disabled: I = !1, noBorder: O = !1, labelId: v, helperText: d = "", helperTextOnFocus: m = !1, rightElement: y, leftElement: _, onChange: C, onFocus: P, onBlur: M, ...B }, D) => {
150
- const f = k(null), Y = ne([
151
- D,
152
- f
153
- ]), [z, S] = G(), [K, A] = G(), w = k(80), F = k(-25), L = k(null), U = k(30), $ = k(null), b = ce({
154
- id: e,
155
- prefix: `${W}-`
156
- }), [X, q] = E(0), [j, J] = E(0), [Q, V] = E(!!(!m && d)), Z = `${a} error, ${d}`, g = ke({
157
- className: o,
158
- textAreaClassName: i,
159
- error: s,
160
- raw: t,
161
- focusMode: u,
162
- disabled: I,
163
- noBorder: O,
164
- mode: l,
165
- rightElement: !!y,
166
- leftElement: !!_
167
- }), [h, ee] = de({
168
- value: p,
169
- initialControlledDelay: 20,
170
- defaultValue: x,
171
- onChange: (c) => {
172
- C && C({
173
- target: {
174
- value: c
175
- }
176
- });
177
- }
178
- }), te = (c) => {
179
- ee(c.target.value);
180
- }, re = (c) => {
181
- m && d && V(!0), P && P(c);
182
- }, se = (c) => {
183
- m && d && !h && V(!1), M && M(c);
184
- };
185
- return R(() => {
186
- S && S.width && q(S.width + 18 + 10);
187
- }, [
188
- S
189
- ]), R(() => {
190
- A && A.width && J(A.width + 18 + 10);
191
- }, [
192
- A
193
- ]), R(() => {
194
- t || f && f.current && h !== void 0 && (f.current.style.height = "inherit", f.current.style.height = f.current.scrollHeight + "px");
195
- }, [
196
- h,
197
- t
198
- ]), R(() => {
199
- t || setTimeout(() => {
200
- L?.current?.style.setProperty("--av-text-area-wrapper-transition", h ? "none" : "all 0.2s ease-out");
201
- }, 0);
202
- }, [
203
- h,
204
- t
205
- ]), R(() => {
206
- if (!t && f && f.current && h !== void 0) {
207
- const { labelOffset: c, helperTextOffset: N, scrollHeight: ae } = me({
208
- scrollHeight: f.current.scrollHeight,
209
- currentHeight: w.current,
210
- currentLabelOffset: F.current,
211
- currentHelperTextOffset: U.current
212
- });
213
- c && (F.current = c, L?.current?.style.setProperty("--av-text-area-label", `${c}px`)), N && (U.current = N, $?.current?.style.setProperty("--av-text-area-helper-text", `${N}px`)), w.current = ae || w.current;
214
- }
215
- }, [
216
- h,
217
- t
218
- ]), A.width > 0 && L?.current?.style.setProperty("--tw-translate-x", `${12 + A.width + 5}px`), /* @__PURE__ */ oe("div", {
219
- className: g.wrapper,
220
- children: [
221
- /* @__PURE__ */ T("label", {
222
- htmlFor: b,
223
- id: v,
224
- className: g.accessibleLabel,
225
- children: r
226
- }),
227
- _ && /* @__PURE__ */ T("div", {
228
- ref: K,
229
- className: g.leftElement,
230
- children: _
231
- }),
232
- /* @__PURE__ */ T("textarea", {
233
- ref: Y,
234
- id: b,
235
- name: a,
236
- disabled: I,
237
- placeholder: t ? void 0 : " ",
238
- className: g.textArea,
239
- rows: 1,
240
- ...d && {
241
- "aria-describedby": `${b}-helper`
242
- },
243
- ...s && {
244
- "aria-invalid": "true"
245
- },
246
- ...y && !_ && !t && {
247
- style: {
248
- paddingRight: X
249
- }
250
- },
251
- ..._ && !y && !t && {
252
- style: {
253
- paddingLeft: j
254
- }
255
- },
256
- ...y && _ && !t && {
257
- style: {
258
- paddingRight: X,
259
- paddingLeft: j
260
- }
261
- },
262
- value: h,
263
- onChange: te,
264
- onFocus: re,
265
- onBlur: se,
266
- ...B
267
- }),
268
- !t && /* @__PURE__ */ T("label", {
269
- ref: L,
270
- "aria-hidden": !0,
271
- htmlFor: b,
272
- className: `${g.visibleLabel}`,
273
- children: r
274
- }),
275
- Q && /* @__PURE__ */ T("div", {
276
- ref: $,
277
- id: `${b}-helper`,
278
- className: g.helperText,
279
- children: d
280
- }),
281
- y && /* @__PURE__ */ T("div", {
282
- ref: z,
283
- className: g.rightElement,
284
- children: y
285
- }),
286
- s && d && /* @__PURE__ */ T(ue, {
287
- politeness: "polite",
288
- clearAnnouncementDelay: 500,
289
- children: Z
290
- })
291
- ]
292
- });
293
- });
294
- be.displayName = "TextArea";
295
- export {
296
- be as TextArea
297
- };