@versini/sassysaint 1.0.8 → 1.0.9
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/{App.D3duFcJD.js → App.C6D9sIPY.js} +25 -25
- package/dist/chunks/{LazyHeader.B56caFgn.js → LazyHeader.p9mJYmhc.js} +335 -333
- package/dist/chunks/{LazyMarkdownWithExtra.C659-_hy.js → LazyMarkdownWithExtra.CA6Eg_N6.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.BP4_wS5W.js → LazyMessageAssistant.uUafovZf.js} +4 -4
- package/dist/chunks/{index.DruzEDnN.C6Ffe-lT.js → index.BcV6McvW.3HAbnzVE.js} +12 -12
- package/dist/chunks/{index.DcXJ8skl.js → index.t9wD3Z9D.js} +778 -774
- package/dist/chunks/{useLocalStorage.Cx1iecci.js → useLocalStorage.DagJSzA9.js} +9 -9
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _i } from "react/jsx-runtime";
|
|
2
|
-
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.uUafovZf.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
3
|
-
import { AppContext as Ei, E as Ai } from "./useLocalStorage.
|
|
2
|
+
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.t9wD3Z9D.js";
|
|
3
|
+
import { AppContext as Ei, E as Ai } from "./useLocalStorage.DagJSzA9.js";
|
|
4
4
|
import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
|
|
5
|
-
import { T as ut } from "./App.
|
|
5
|
+
import { T as ut } from "./App.C6D9sIPY.js";
|
|
6
6
|
import cn from "clsx";
|
|
7
7
|
const Li = ({
|
|
8
8
|
spinnerRef: e,
|
|
@@ -8618,7 +8618,7 @@ function sf(e) {
|
|
|
8618
8618
|
i.push(af(n)), o.push(Tc()), l.push(Pc(n));
|
|
8619
8619
|
}
|
|
8620
8620
|
const cf = Ii(
|
|
8621
|
-
() => import("./LazyMarkdownWithExtra.
|
|
8621
|
+
() => import("./LazyMarkdownWithExtra.CA6Eg_N6.js")
|
|
8622
8622
|
), In = {
|
|
8623
8623
|
MODEL: "Model",
|
|
8624
8624
|
PLUGIN: "Plugin",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i, jsxs as E, Fragment as D } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import y from "clsx";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
|
|
5
|
-
import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as
|
|
6
|
-
import { S as j } from "./index.
|
|
5
|
+
import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as P, useFloating as k, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
|
|
6
|
+
import { S as j } from "./index.t9wD3Z9D.js";
|
|
7
7
|
const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
|
|
8
8
|
alert: null,
|
|
9
9
|
alertdialog: null,
|
|
@@ -105,7 +105,7 @@ function W({
|
|
|
105
105
|
r,
|
|
106
106
|
a
|
|
107
107
|
]);
|
|
108
|
-
const v =
|
|
108
|
+
const v = y(n, {
|
|
109
109
|
"sr-only": !s
|
|
110
110
|
});
|
|
111
111
|
return /* @__PURE__ */ i(
|
|
@@ -125,7 +125,7 @@ function Y({
|
|
|
125
125
|
open: n,
|
|
126
126
|
onOpenChange: o
|
|
127
127
|
} = {}) {
|
|
128
|
-
const [t, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? t, d = o ?? l, m =
|
|
128
|
+
const [t, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? t, d = o ?? l, m = k({
|
|
129
129
|
open: u,
|
|
130
130
|
onOpenChange: d
|
|
131
131
|
}), p = m.context, h = L(p, {
|
|
@@ -133,19 +133,19 @@ function Y({
|
|
|
133
133
|
}), v = V(p, {
|
|
134
134
|
outsidePress: !1,
|
|
135
135
|
outsidePressEvent: "mousedown"
|
|
136
|
-
}), N = B(p),
|
|
136
|
+
}), N = B(p), A = U([h, v, N]);
|
|
137
137
|
return c.useMemo(
|
|
138
138
|
() => ({
|
|
139
139
|
open: u,
|
|
140
140
|
setOpen: d,
|
|
141
|
-
...
|
|
141
|
+
...A,
|
|
142
142
|
...m,
|
|
143
143
|
labelId: r,
|
|
144
144
|
descriptionId: s,
|
|
145
145
|
setLabelId: a,
|
|
146
146
|
setDescriptionId: f
|
|
147
147
|
}),
|
|
148
|
-
[u, d,
|
|
148
|
+
[u, d, A, m, r, s]
|
|
149
149
|
);
|
|
150
150
|
}
|
|
151
151
|
const g = () => {
|
|
@@ -168,11 +168,11 @@ const ee = c.forwardRef(function(e, n) {
|
|
|
168
168
|
const { context: o, ...t } = g(), l = S([t.refs.setFloating, n]);
|
|
169
169
|
if (!o.open)
|
|
170
170
|
return null;
|
|
171
|
-
const { overlayBackground: r, ...a } = e, s =
|
|
171
|
+
const { overlayBackground: r, ...a } = e, s = y("grid place-items-center", {
|
|
172
172
|
[`${r}`]: r,
|
|
173
173
|
"bg-black sm:bg-black/[.8]": !r
|
|
174
174
|
});
|
|
175
|
-
return /* @__PURE__ */ i(F, { children: /* @__PURE__ */ i(O, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(
|
|
175
|
+
return /* @__PURE__ */ i(F, { children: /* @__PURE__ */ i(O, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(P, { context: o, children: /* @__PURE__ */ i(
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
178
178
|
ref: l,
|
|
@@ -207,7 +207,7 @@ const ee = c.forwardRef(function(e, n) {
|
|
|
207
207
|
semantic: f = !1,
|
|
208
208
|
...u
|
|
209
209
|
}) => {
|
|
210
|
-
const d = j(a), m =
|
|
210
|
+
const d = j(a), m = y(
|
|
211
211
|
d,
|
|
212
212
|
t || r
|
|
213
213
|
);
|
|
@@ -236,7 +236,7 @@ const ee = c.forwardRef(function(e, n) {
|
|
|
236
236
|
try {
|
|
237
237
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
238
238
|
version: "1.4.6",
|
|
239
|
-
buildTime: "07/
|
|
239
|
+
buildTime: "07/19/2024 08:17 PM EDT",
|
|
240
240
|
homepage: "https://github.com/aversini/ui-components",
|
|
241
241
|
license: "MIT"
|
|
242
242
|
});
|