@versini/sassysaint 8.99.0 → 8.99.2
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.Lsbr0lUh.js → AboutChangelog.u1NxfRZ6.js} +3 -3
- package/dist/chunks/{AboutEntry.C-uC4MBB.js → AboutEntry.2URxdMvt.js} +5 -5
- package/dist/chunks/{App.lHXZIn8I.js → App.9OTgQFE5.js} +1737 -1715
- package/dist/chunks/{Chart.ClOH2fiY.js → Chart.CTX3yXAp.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.BV6sVx6a.js → ChatBubbleAssistant.DHiBvqvV.js} +793 -753
- package/dist/chunks/{ChatBubbleUser.Dij7uJwm.js → ChatBubbleUser.BdygOc-M.js} +36 -36
- package/dist/chunks/{ChatHistoryTable.BFfmfdjX.js → ChatHistoryTable.XuPzHnDG.js} +38 -38
- package/dist/chunks/{HistoryEntry.BkOQP3CV.js → HistoryEntry.CVgA3SYH.js} +16 -16
- package/dist/chunks/{ProfileEntry.DuvmIHnj.js → ProfileEntry.wwU14Mrk.js} +2 -2
- package/dist/chunks/{SettingsEntry.Cu-T81W1.js → SettingsEntry.CFneilrk.js} +16 -16
- package/dist/chunks/{UsageEntry.XYX0KDAl.js → UsageEntry.CgMVSr_T.js} +23 -23
- package/dist/chunks/{UserMemoriesPanel.Cm0Gz7iM.js → UserMemoriesPanel.D9cKoAvT.js} +8 -8
- package/dist/chunks/{index.5-5jxYfs.js → index.BNtgmlzo.js} +358 -358
- package/dist/chunks/{index.B5oy8JDL.js → index.BgQcUSpD.js} +1 -1
- package/dist/chunks/{index.BTGZYTuA.js → index.CI7wfY6h.js} +2 -2
- package/dist/chunks/{index.CfH88Vnf.js → index.CSpbJbbj.js} +1 -1
- package/dist/chunks/{index.CDxR_BoA.js → index.CbyVRgN9.js} +29 -29
- package/dist/chunks/{index.B-J4ZnaE.js → index.CqZKR4eS.js} +18 -18
- package/dist/chunks/{index.D5nCT2P4.js → index.DXbW0hgE.js} +1 -1
- package/dist/chunks/{index.ttYr-nJ-.js → index.Dy3lHiSY.js} +18 -18
- package/dist/chunks/{index.DvsI9f9_.js → index.IgpP31Km.js} +3 -3
- package/dist/chunks/{useMarkdown.Df5zZY4U.js → useMarkdown.CnnQWkcw.js} +146 -140
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.CnnQWkcw.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|
|
@@ -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.CnnQWkcw.js";
|
|
2
|
+
import { toText as Ca } from "./index.DXbW0hgE.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as l, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import d from "clsx";
|
|
3
3
|
import x, { useContext as y } from "react";
|
|
4
|
-
import { ButtonIcon as I, e$1 as u } from "./index.
|
|
4
|
+
import { ButtonIcon as I, e$1 as u } from "./index.BNtgmlzo.js";
|
|
5
5
|
/*!
|
|
6
|
-
@versini/ui-button
|
|
6
|
+
@versini/ui-button v10.0.1
|
|
7
7
|
© 2025 gizmette.com
|
|
8
8
|
*/
|
|
9
9
|
try {
|
|
10
10
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
11
|
-
version: "
|
|
12
|
-
buildTime: "12/
|
|
13
|
-
homepage: "https://
|
|
11
|
+
version: "10.0.1",
|
|
12
|
+
buildTime: "12/12/2025 10:28 AM EST",
|
|
13
|
+
homepage: "https://www.npmjs.com/package/@versini/ui-button",
|
|
14
14
|
license: "MIT"
|
|
15
15
|
});
|
|
16
16
|
} catch {
|
|
@@ -63,7 +63,7 @@ try {
|
|
|
63
63
|
});
|
|
64
64
|
} catch {
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const N = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s, size: o, title: c, semantic: n = !1, ...i }) => {
|
|
67
67
|
const m = d(o, r);
|
|
68
68
|
return /* @__PURE__ */ p("svg", {
|
|
69
69
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -81,7 +81,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
81
81
|
e
|
|
82
82
|
]
|
|
83
83
|
});
|
|
84
|
-
}, S = ({ className: e, viewBox: a, title: t, monotone: r, ...s }) => /* @__PURE__ */ p(
|
|
84
|
+
}, S = ({ className: e, viewBox: a, title: t, monotone: r, ...s }) => /* @__PURE__ */ p(N, {
|
|
85
85
|
defaultViewBox: "0 0 576 512",
|
|
86
86
|
size: "size-5",
|
|
87
87
|
viewBox: a,
|
|
@@ -97,7 +97,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
97
97
|
d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7l-41.4-41.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z"
|
|
98
98
|
})
|
|
99
99
|
]
|
|
100
|
-
}), C = ({ className: e, viewBox: a, title: t, monotone: r, ...s }) => /* @__PURE__ */ p(
|
|
100
|
+
}), C = ({ className: e, viewBox: a, title: t, monotone: r, ...s }) => /* @__PURE__ */ p(N, {
|
|
101
101
|
defaultViewBox: "0 0 576 512",
|
|
102
102
|
size: "size-5",
|
|
103
103
|
viewBox: a,
|
|
@@ -113,7 +113,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
113
113
|
d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32S96 46.3 96 64v301.7l-32.4-35.3c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96c6.1 6.6 14.6 10.4 23.6 10.4"
|
|
114
114
|
})
|
|
115
115
|
]
|
|
116
|
-
}), B = ({ className: e, viewBox: a, title: t, monotone: r, ...s }) => /* @__PURE__ */ p(
|
|
116
|
+
}), B = ({ className: e, viewBox: a, title: t, monotone: r, ...s }) => /* @__PURE__ */ p(N, {
|
|
117
117
|
defaultViewBox: "0 0 576 512",
|
|
118
118
|
size: "size-5",
|
|
119
119
|
viewBox: a,
|
|
@@ -135,7 +135,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
135
135
|
stickyHeader: !1,
|
|
136
136
|
stickyFooter: !1,
|
|
137
137
|
compact: !1
|
|
138
|
-
}),
|
|
138
|
+
}), w = "thead", f = "tfoot", b = "tbody", V = () => ({
|
|
139
139
|
inner: "relative",
|
|
140
140
|
overlay: d(
|
|
141
141
|
"absolute inset-0 z-20 cursor-not-allowed",
|
|
@@ -213,7 +213,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
213
213
|
mode: e,
|
|
214
214
|
className: a,
|
|
215
215
|
cellWrapper: t
|
|
216
|
-
}) => t ===
|
|
216
|
+
}) => t === w || t === f ? d(
|
|
217
217
|
{
|
|
218
218
|
"bg-table-head-dark": e === "dark" || e === "system",
|
|
219
219
|
"bg-table-head-light": e === "light" || e === "alt-system",
|
|
@@ -252,7 +252,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
252
252
|
"text-copy-dark": r === "light" || r === "alt-system",
|
|
253
253
|
"dark:text-copy-dark": r === "system",
|
|
254
254
|
"dark:text-copy-light": r === "alt-system",
|
|
255
|
-
"px-4 py-3": !t && (e ===
|
|
255
|
+
"px-4 py-3": !t && (e === w || e === f),
|
|
256
256
|
"p-4": !t && e === b,
|
|
257
257
|
"px-2 py-1.5": t
|
|
258
258
|
},
|
|
@@ -260,7 +260,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
260
260
|
)
|
|
261
261
|
}), R = ({
|
|
262
262
|
buttonClassName: e
|
|
263
|
-
}) => d("rounded-none text-sm", e),
|
|
263
|
+
}) => d("rounded-none text-sm", e), L = ({
|
|
264
264
|
children: e,
|
|
265
265
|
mode: a = "system",
|
|
266
266
|
caption: t,
|
|
@@ -316,36 +316,36 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
316
316
|
)
|
|
317
317
|
}
|
|
318
318
|
);
|
|
319
|
-
},
|
|
319
|
+
}, O = ({
|
|
320
320
|
children: e,
|
|
321
321
|
className: a,
|
|
322
322
|
...t
|
|
323
323
|
}) => {
|
|
324
324
|
const r = y(g);
|
|
325
|
-
r.cellWrapper =
|
|
325
|
+
r.cellWrapper = w;
|
|
326
326
|
const s = z({
|
|
327
327
|
className: a,
|
|
328
328
|
mode: r.mode,
|
|
329
329
|
stickyHeader: r.stickyHeader
|
|
330
330
|
});
|
|
331
331
|
return /* @__PURE__ */ l("thead", { className: s, ...t, children: e });
|
|
332
|
-
},
|
|
332
|
+
}, D = ({
|
|
333
333
|
children: e,
|
|
334
334
|
className: a,
|
|
335
335
|
...t
|
|
336
336
|
}) => {
|
|
337
337
|
const r = y(g);
|
|
338
|
-
r.cellWrapper =
|
|
338
|
+
r.cellWrapper = f;
|
|
339
339
|
const s = E({
|
|
340
340
|
className: a,
|
|
341
341
|
mode: r.mode,
|
|
342
342
|
stickyFooter: r.stickyFooter
|
|
343
343
|
});
|
|
344
344
|
return /* @__PURE__ */ l("tfoot", { className: s, ...t, children: e });
|
|
345
|
-
},
|
|
345
|
+
}, G = ({ children: e, ...a }) => {
|
|
346
346
|
const t = y(g);
|
|
347
347
|
return t.cellWrapper = b, /* @__PURE__ */ l("tbody", { ...a, children: e });
|
|
348
|
-
},
|
|
348
|
+
}, P = ({
|
|
349
349
|
children: e,
|
|
350
350
|
className: a,
|
|
351
351
|
...t
|
|
@@ -363,7 +363,7 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
363
363
|
align: r,
|
|
364
364
|
...s
|
|
365
365
|
}) => {
|
|
366
|
-
const o = y(g), c = a || (o.cellWrapper ===
|
|
366
|
+
const o = y(g), c = a || (o.cellWrapper === w ? "th" : "td"), { mainClasses: n, alignClasses: i } = H({
|
|
367
367
|
cellWrapper: o.cellWrapper,
|
|
368
368
|
className: t,
|
|
369
369
|
mode: o.mode,
|
|
@@ -413,24 +413,24 @@ const f = ({ children: e, fill: a, viewBox: t, className: r, defaultViewBox: s,
|
|
|
413
413
|
);
|
|
414
414
|
};
|
|
415
415
|
/*!
|
|
416
|
-
@versini/ui-table v6.2.
|
|
416
|
+
@versini/ui-table v6.2.3
|
|
417
417
|
© 2025 gizmette.com
|
|
418
418
|
*/
|
|
419
419
|
try {
|
|
420
420
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
421
|
-
version: "6.2.
|
|
422
|
-
buildTime: "12/
|
|
423
|
-
homepage: "https://
|
|
421
|
+
version: "6.2.3",
|
|
422
|
+
buildTime: "12/12/2025 10:28 AM EST",
|
|
423
|
+
homepage: "https://www.npmjs.com/package/@versini/ui-table",
|
|
424
424
|
license: "MIT"
|
|
425
425
|
});
|
|
426
426
|
} catch {
|
|
427
427
|
}
|
|
428
428
|
export {
|
|
429
|
-
D,
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
429
|
+
O as D,
|
|
430
|
+
P as F,
|
|
431
|
+
G,
|
|
432
|
+
D as H,
|
|
433
433
|
W as L,
|
|
434
434
|
Y,
|
|
435
|
-
|
|
435
|
+
L as j
|
|
436
436
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as h, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonIcon as E, IconCopied as C, IconCopy as I } from "./index.
|
|
2
|
+
import { ButtonIcon as E, IconCopied as C, IconCopy as I } from "./index.BNtgmlzo.js";
|
|
3
3
|
import { useState as N, useEffect as $ } from "react";
|
|
4
4
|
import t from "clsx";
|
|
5
5
|
/*!
|
|
6
|
-
@versini/ui-bubble
|
|
6
|
+
@versini/ui-bubble v8.0.1
|
|
7
7
|
© 2025 gizmette.com
|
|
8
8
|
*/
|
|
9
9
|
try {
|
|
10
10
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
11
|
-
version: "
|
|
12
|
-
buildTime: "12/
|
|
13
|
-
homepage: "https://
|
|
11
|
+
version: "8.0.1",
|
|
12
|
+
buildTime: "12/12/2025 10:30 AM EST",
|
|
13
|
+
homepage: "https://www.npmjs.com/package/@versini/ui-bubble",
|
|
14
14
|
license: "MIT"
|
|
15
15
|
});
|
|
16
16
|
} catch {
|
|
@@ -43,8 +43,8 @@ const u = "av-bubble", T = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
43
43
|
"rounded-tr-xl": e === "left",
|
|
44
44
|
"rounded-tl-xl": e === "right"
|
|
45
45
|
});
|
|
46
|
-
}, L = ({ kind: e, className: r, contentClassName: i, noMaxWidth: n, tail:
|
|
47
|
-
const
|
|
46
|
+
}, L = ({ kind: e, className: r, contentClassName: i, noMaxWidth: n, tail: s, gradient: b }) => {
|
|
47
|
+
const o = t(u, `${u}-${e}`, "flex items-start", {
|
|
48
48
|
"flex-row-reverse": e === "right"
|
|
49
49
|
}, r), m = t(`${u}-content`, "flex flex-col empty:hidden", T({
|
|
50
50
|
kind: e,
|
|
@@ -56,20 +56,20 @@ const u = "av-bubble", T = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
56
56
|
gradient: b
|
|
57
57
|
}), U({
|
|
58
58
|
kind: e,
|
|
59
|
-
tail:
|
|
59
|
+
tail: s
|
|
60
60
|
}), i), g = "pr-2 pt-1 text-end text-xs text-copy-light", d = t("flex flex-col-reverse sm:flex-row", {
|
|
61
|
-
"ml-2": e === "left" && !
|
|
62
|
-
"mr-2": e === "right" && !
|
|
63
|
-
"ml-1": e === "left" &&
|
|
64
|
-
"mr-1": e === "right" &&
|
|
61
|
+
"ml-2": e === "left" && !s,
|
|
62
|
+
"mr-2": e === "right" && !s,
|
|
63
|
+
"ml-1": e === "left" && s,
|
|
64
|
+
"mr-1": e === "right" && s
|
|
65
65
|
});
|
|
66
66
|
return {
|
|
67
|
-
wrapper:
|
|
67
|
+
wrapper: o,
|
|
68
68
|
main: m,
|
|
69
69
|
footer: g,
|
|
70
70
|
copyButton: d
|
|
71
71
|
};
|
|
72
|
-
}, M = "FOOTER_EMPTY", V = ({ children: e, kind: r = "left", className: i, contentClassName: n, footer:
|
|
72
|
+
}, M = "FOOTER_EMPTY", V = ({ children: e, kind: r = "left", className: i, contentClassName: n, footer: s, rawFooter: b, copyToClipboard: o, copyToClipboardFocusMode: m = "system", copyToClipboardMode: g = "system", noMaxWidth: d = !1, tail: w = !1, gradient: y }) => {
|
|
73
73
|
const [f, x] = N(!1), c = L({
|
|
74
74
|
kind: r,
|
|
75
75
|
className: i,
|
|
@@ -77,8 +77,8 @@ const u = "av-bubble", T = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
77
77
|
noMaxWidth: d,
|
|
78
78
|
tail: w,
|
|
79
79
|
gradient: y
|
|
80
|
-
}), _ = !!
|
|
81
|
-
x(!0), typeof
|
|
80
|
+
}), _ = !!o && (typeof o == "function" || typeof o == "string" || typeof e == "string"), v = () => {
|
|
81
|
+
x(!0), typeof o == "function" ? o(e) : typeof o == "string" ? navigator.clipboard.writeText(o) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
82
82
|
};
|
|
83
83
|
return $(() => {
|
|
84
84
|
let a;
|
|
@@ -98,8 +98,8 @@ const u = "av-bubble", T = ({ kind: e, noMaxWidth: r }) => t("px-4 py-2", {
|
|
|
98
98
|
className: c.main,
|
|
99
99
|
children: e
|
|
100
100
|
}),
|
|
101
|
-
|
|
102
|
-
const p =
|
|
101
|
+
s && Object.keys(s).map((a, B) => {
|
|
102
|
+
const p = s[a];
|
|
103
103
|
return p === M ? /* @__PURE__ */ l("div", {
|
|
104
104
|
className: "prose-p:m-0",
|
|
105
105
|
children: /* @__PURE__ */ l("p", {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as oe, jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { useMergeRefs as ce, useResizeObserver as W, useUniqueId as ne, useUncontrolled as le, LiveRegion as ie } from "./index.
|
|
2
|
+
import { useMergeRefs as ce, useResizeObserver as W, useUniqueId as ne, useUncontrolled as le, LiveRegion as ie } from "./index.BNtgmlzo.js";
|
|
3
3
|
import ue, { useRef as k, useState as I, useLayoutEffect as R } from "react";
|
|
4
4
|
import o from "clsx";
|
|
5
5
|
/*!
|
|
6
|
-
@versini/ui-textarea v5.1.
|
|
6
|
+
@versini/ui-textarea v5.1.4
|
|
7
7
|
© 2025 gizmette.com
|
|
8
8
|
*/
|
|
9
9
|
try {
|
|
10
10
|
window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
|
|
11
|
-
version: "5.1.
|
|
12
|
-
buildTime: "
|
|
13
|
-
homepage: "https://
|
|
11
|
+
version: "5.1.4",
|
|
12
|
+
buildTime: "12/12/2025 10:30 AM EST",
|
|
13
|
+
homepage: "https://www.npmjs.com/package/@versini/ui-textarea",
|
|
14
14
|
license: "MIT"
|
|
15
15
|
});
|
|
16
16
|
} catch {
|
|
@@ -115,14 +115,14 @@ const B = "av-text-area", de = "av-text-area-wrapper", H = "av-text-area-helper-
|
|
|
115
115
|
helperTextOffset: d,
|
|
116
116
|
scrollHeight: e
|
|
117
117
|
};
|
|
118
|
-
}, _e = /* @__PURE__ */ ue.forwardRef(({ id: e, name: a, label: t, error: s = !1, raw: r = !1, className: c, textAreaClassName: u, mode: d = "system", focusMode: x = "system", value: g, defaultValue: N, disabled: m = !1, noBorder: S = !1, labelId: C, helperText: l = "", helperTextOnFocus: b = !1, rightElement: f, leftElement: A, onChange:
|
|
118
|
+
}, _e = /* @__PURE__ */ ue.forwardRef(({ id: e, name: a, label: t, error: s = !1, raw: r = !1, className: c, textAreaClassName: u, mode: d = "system", focusMode: x = "system", value: g, defaultValue: N, disabled: m = !1, noBorder: S = !1, labelId: C, helperText: l = "", helperTextOnFocus: b = !1, rightElement: f, leftElement: A, onChange: w, onFocus: P, onBlur: F, ...Y }, z) => {
|
|
119
119
|
const i = k(null), D = ce([
|
|
120
120
|
z,
|
|
121
121
|
i
|
|
122
|
-
]), [V, L] = W(), [q, T] = W(), O = k(80),
|
|
122
|
+
]), [V, L] = W(), [q, T] = W(), O = k(80), M = k(-25), v = k(null), $ = k(30), X = k(null), _ = ne({
|
|
123
123
|
id: e,
|
|
124
124
|
prefix: `${B}-`
|
|
125
|
-
}), [
|
|
125
|
+
}), [j, J] = I(0), [U, K] = I(0), [Q, G] = I(!!(!b && l)), Z = `${a} error, ${l}`, y = ke({
|
|
126
126
|
className: c,
|
|
127
127
|
textAreaClassName: u,
|
|
128
128
|
error: s,
|
|
@@ -138,7 +138,7 @@ const B = "av-text-area", de = "av-text-area-wrapper", H = "av-text-area-helper-
|
|
|
138
138
|
initialControlledDelay: 20,
|
|
139
139
|
defaultValue: N,
|
|
140
140
|
onChange: (n) => {
|
|
141
|
-
|
|
141
|
+
w && w({
|
|
142
142
|
target: {
|
|
143
143
|
value: n
|
|
144
144
|
}
|
|
@@ -147,9 +147,9 @@ const B = "av-text-area", de = "av-text-area-wrapper", H = "av-text-area-helper-
|
|
|
147
147
|
}), te = (n) => {
|
|
148
148
|
ee(n.target.value);
|
|
149
149
|
}, re = (n) => {
|
|
150
|
-
b && l && G(!0),
|
|
150
|
+
b && l && G(!0), P && P(n);
|
|
151
151
|
}, se = (n) => {
|
|
152
|
-
b && l && !p && G(!1),
|
|
152
|
+
b && l && !p && G(!1), F && F(n);
|
|
153
153
|
};
|
|
154
154
|
return R(() => {
|
|
155
155
|
L && L.width && J(L.width + 18 + 10);
|
|
@@ -176,10 +176,10 @@ const B = "av-text-area", de = "av-text-area-wrapper", H = "av-text-area-helper-
|
|
|
176
176
|
const { labelOffset: n, helperTextOffset: E, scrollHeight: ae } = be({
|
|
177
177
|
scrollHeight: i.current.scrollHeight,
|
|
178
178
|
currentHeight: O.current,
|
|
179
|
-
currentLabelOffset:
|
|
180
|
-
currentHelperTextOffset:
|
|
179
|
+
currentLabelOffset: M.current,
|
|
180
|
+
currentHelperTextOffset: $.current
|
|
181
181
|
});
|
|
182
|
-
n && (
|
|
182
|
+
n && (M.current = n, v?.current?.style.setProperty("--av-text-area-label", `${n}px`)), E && ($.current = E, X?.current?.style.setProperty("--av-text-area-helper-text", `${E}px`)), O.current = ae || O.current;
|
|
183
183
|
}
|
|
184
184
|
}, [
|
|
185
185
|
p,
|
|
@@ -214,18 +214,18 @@ const B = "av-text-area", de = "av-text-area-wrapper", H = "av-text-area-helper-
|
|
|
214
214
|
},
|
|
215
215
|
...f && !A && !r && {
|
|
216
216
|
style: {
|
|
217
|
-
paddingRight:
|
|
217
|
+
paddingRight: j
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
220
|
...A && !f && !r && {
|
|
221
221
|
style: {
|
|
222
|
-
paddingLeft:
|
|
222
|
+
paddingLeft: U
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
...f && A && !r && {
|
|
226
226
|
style: {
|
|
227
|
-
paddingRight:
|
|
228
|
-
paddingLeft:
|
|
227
|
+
paddingRight: j,
|
|
228
|
+
paddingLeft: U
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
value: p,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
|
2
|
-
import { visit as In } from "./useMarkdown.
|
|
3
|
-
import { toText as Cn } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.9OTgQFE5.js";
|
|
2
|
+
import { visit as In } from "./useMarkdown.CnnQWkcw.js";
|
|
3
|
+
import { toText as Cn } from "./index.DXbW0hgE.js";
|
|
4
4
|
function xn(e) {
|
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
|
6
6
|
className: "type",
|