@versini/sassysaint 1.0.11 → 1.0.13
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.CILpzJEh.js → App.WT_JMB-P.js} +212 -213
- package/dist/chunks/LazyHeader.CDeNMEns.js +1280 -0
- package/dist/chunks/{LazyMarkdownWithExtra.BPTMdcU8.js → LazyMarkdownWithExtra.JlXLVBc-.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.IDa3mLgE.js → LazyMessageAssistant.Ct8xA2HE.js} +4 -4
- package/dist/chunks/{index.eFSALEqy.js → index.CJJY2C9o.js} +1116 -1085
- package/dist/chunks/{index.BcV6McvW.U50izDOU.js → index.DbAx5fhD.DTsRcXtK.js} +14 -14
- package/dist/chunks/{useLocalStorage.CsBq2ZMB.js → useLocalStorage.CzVJ5Eng.js} +13 -14
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +6 -6
- package/dist/chunks/LazyHeader.YhIHsK0M.js +0 -1288
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i, jsxs as E, Fragment as D } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import A 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 k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
|
|
6
|
+
import { S as j } from "./index.CJJY2C9o.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 = A(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 = P({
|
|
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), y = U([h, v, N]);
|
|
137
137
|
return c.useMemo(
|
|
138
138
|
() => ({
|
|
139
139
|
open: u,
|
|
140
140
|
setOpen: d,
|
|
141
|
-
...
|
|
141
|
+
...y,
|
|
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, y, 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 = A("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(k, { 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 = A(
|
|
211
211
|
d,
|
|
212
212
|
t || r
|
|
213
213
|
);
|
|
@@ -230,13 +230,13 @@ const ee = c.forwardRef(function(e, n) {
|
|
|
230
230
|
] });
|
|
231
231
|
};
|
|
232
232
|
/*!
|
|
233
|
-
@versini/ui-private v1.4.
|
|
233
|
+
@versini/ui-private v1.4.7
|
|
234
234
|
© 2024 gizmette.com
|
|
235
235
|
*/
|
|
236
236
|
try {
|
|
237
237
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
238
|
-
version: "1.4.
|
|
239
|
-
buildTime: "07/
|
|
238
|
+
version: "1.4.7",
|
|
239
|
+
buildTime: "08/07/2024 09:49 AM EDT",
|
|
240
240
|
homepage: "https://github.com/aversini/ui-components",
|
|
241
241
|
license: "MIT"
|
|
242
242
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, Fragment as M, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import m from "clsx";
|
|
3
|
-
import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as
|
|
4
|
-
import { A as
|
|
3
|
+
import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as U } from "react";
|
|
4
|
+
import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.CJJY2C9o.js";
|
|
5
5
|
const Q = (e) => {
|
|
6
6
|
let a = "";
|
|
7
7
|
if (typeof e == "number" || typeof e == "string")
|
|
@@ -46,13 +46,13 @@ const Q = (e) => {
|
|
|
46
46
|
] });
|
|
47
47
|
};
|
|
48
48
|
/*!
|
|
49
|
-
@versini/ui-private v1.4.
|
|
49
|
+
@versini/ui-private v1.4.7
|
|
50
50
|
© 2024 gizmette.com
|
|
51
51
|
*/
|
|
52
52
|
try {
|
|
53
53
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
54
|
-
version: "1.4.
|
|
55
|
-
buildTime: "07/
|
|
54
|
+
version: "1.4.7",
|
|
55
|
+
buildTime: "08/07/2024 09:49 AM EDT",
|
|
56
56
|
homepage: "https://github.com/aversini/ui-components",
|
|
57
57
|
license: "MIT"
|
|
58
58
|
});
|
|
@@ -65,7 +65,7 @@ try {
|
|
|
65
65
|
try {
|
|
66
66
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
67
67
|
version: "1.11.0",
|
|
68
|
-
buildTime: "07/
|
|
68
|
+
buildTime: "08/07/2024 09:49 AM EDT",
|
|
69
69
|
homepage: "https://github.com/aversini/ui-components",
|
|
70
70
|
license: "MIT"
|
|
71
71
|
});
|
|
@@ -177,7 +177,7 @@ const Y = ({
|
|
|
177
177
|
active: V = !1,
|
|
178
178
|
...O
|
|
179
179
|
}, G) => {
|
|
180
|
-
const $ =
|
|
180
|
+
const $ = F({
|
|
181
181
|
type: q,
|
|
182
182
|
mode: t,
|
|
183
183
|
focusMode: s,
|
|
@@ -215,7 +215,7 @@ const Y = ({
|
|
|
215
215
|
}
|
|
216
216
|
) : "";
|
|
217
217
|
return /* @__PURE__ */ l("div", { className: D, children: /* @__PURE__ */ _(
|
|
218
|
-
|
|
218
|
+
P,
|
|
219
219
|
{
|
|
220
220
|
ref: G,
|
|
221
221
|
className: $,
|
|
@@ -459,11 +459,10 @@ const y = w.createContext({
|
|
|
459
459
|
), g = {
|
|
460
460
|
GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
|
|
461
461
|
location(latitude: $latitude, longitude: $longitude) {
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
countryShort
|
|
462
|
+
country
|
|
463
|
+
state
|
|
464
|
+
city
|
|
465
|
+
displayName
|
|
467
466
|
}
|
|
468
467
|
}`,
|
|
469
468
|
GET_CHATS: `query GetChats($userId: String!) {
|
|
@@ -655,7 +654,7 @@ function xe({
|
|
|
655
654
|
}, [a, s]), o = S(() => {
|
|
656
655
|
s(null);
|
|
657
656
|
}, [s]);
|
|
658
|
-
return
|
|
657
|
+
return U(() => {
|
|
659
658
|
try {
|
|
660
659
|
E(e) === null && typeof a < "u" && T(e, a);
|
|
661
660
|
} catch (d) {
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.CJJY2C9o.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v3.4.
|
|
3
|
+
@sassysaint/client v3.4.8
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "3.4.
|
|
9
|
-
buildTime: "08/
|
|
8
|
+
version: "3.4.8",
|
|
9
|
+
buildTime: "08/12/2024 04:41 PM EDT",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/sassysaint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"react-dom": "18.3.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "3.4.
|
|
34
|
-
"@versini/ui-styles": "1.9.
|
|
33
|
+
"@sassysaint/client": "3.4.8",
|
|
34
|
+
"@versini/ui-styles": "1.9.4"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@versini/ui-hooks": "4.0
|
|
37
|
+
"@versini/ui-hooks": "4.1.0",
|
|
38
38
|
"clsx": "2.1.1",
|
|
39
|
-
"tailwindcss": "3.4.
|
|
39
|
+
"tailwindcss": "3.4.8"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "0d544b1b611bd574099bac4b61422bc58f13f075"
|
|
45
45
|
}
|