@versini/sassysaint 5.3.16 → 5.4.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.
- package/dist/chunks/{LazyApp.By3JU--q.js → LazyApp.T9mKlSIX.js} +21 -21
- package/dist/chunks/{LazyHeader.CtbnJfCu.js → LazyHeader.CaiWcJOn.js} +726 -708
- package/dist/chunks/{LazyMarkdownWithExtra.5DIzO8pJ.js → LazyMarkdownWithExtra.BdJ0w8to.js} +4488 -4479
- package/dist/chunks/{LazyMessageAssistant.DxbwaE9c.js → LazyMessageAssistant.D_c4nLO4.js} +2349 -2330
- package/dist/chunks/{index.BnAnY2Vs.js → index.CnjK4JPd.js} +19 -19
- package/dist/chunks/{index.C_44Odxq.js → index.DNlKJfQz.js} +799 -769
- package/dist/chunks/{index.DfFZfYdy.DM48ssjd.js → index.MEUopFRx.6qFMhBMt.js} +11 -11
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +6 -6
|
@@ -2,8 +2,8 @@ import { jsx as i, jsxs as E, Fragment as M } from "react/jsx-runtime";
|
|
|
2
2
|
import y from "clsx";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { useRef as A, useReducer as _, useEffect as D, useId as w } from "react";
|
|
5
|
-
import { useMergeRefs as x, FloatingPortal as
|
|
6
|
-
const I = "SET_ANNOUNCEMENT", R = "CLEAR_ANNOUNCEMENT",
|
|
5
|
+
import { useMergeRefs as x, FloatingPortal as $, FloatingOverlay as S, FloatingFocusManager as F, useFloating as O, useClick as P, useDismiss as k, useRole as L, useInteractions as V } from "@floating-ui/react";
|
|
6
|
+
const I = "SET_ANNOUNCEMENT", R = "CLEAR_ANNOUNCEMENT", B = {
|
|
7
7
|
alert: null,
|
|
8
8
|
alertdialog: null,
|
|
9
9
|
log: "polite",
|
|
@@ -88,7 +88,7 @@ function G({
|
|
|
88
88
|
announcement: null
|
|
89
89
|
});
|
|
90
90
|
let h = t;
|
|
91
|
-
typeof h > "u" && (h = o ?
|
|
91
|
+
typeof h > "u" && (h = o ? B[o] : "assertive"), D(() => {
|
|
92
92
|
q({
|
|
93
93
|
announcementTimeoutRef: u,
|
|
94
94
|
announcementDelay: l,
|
|
@@ -124,15 +124,15 @@ function H({
|
|
|
124
124
|
open: n,
|
|
125
125
|
onOpenChange: t
|
|
126
126
|
} = {}) {
|
|
127
|
-
const [o, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? o, d = t ?? l, m =
|
|
127
|
+
const [o, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? o, d = t ?? l, m = O({
|
|
128
128
|
open: u,
|
|
129
129
|
onOpenChange: d
|
|
130
|
-
}), p = m.context, h =
|
|
130
|
+
}), p = m.context, h = P(p, {
|
|
131
131
|
enabled: n == null
|
|
132
|
-
}), v =
|
|
132
|
+
}), v = k(p, {
|
|
133
133
|
outsidePress: !1,
|
|
134
134
|
outsidePressEvent: "mousedown"
|
|
135
|
-
}), T =
|
|
135
|
+
}), T = L(p), b = V([h, v, T]);
|
|
136
136
|
return c.useMemo(
|
|
137
137
|
() => ({
|
|
138
138
|
open: u,
|
|
@@ -168,7 +168,7 @@ const K = c.forwardRef(function(e, n) {
|
|
|
168
168
|
[`${r}`]: r,
|
|
169
169
|
"bg-black sm:bg-black/[.8]": !r
|
|
170
170
|
});
|
|
171
|
-
return /* @__PURE__ */ i(
|
|
171
|
+
return /* @__PURE__ */ i($, { children: /* @__PURE__ */ i(S, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(F, { context: t, children: /* @__PURE__ */ i(
|
|
172
172
|
"div",
|
|
173
173
|
{
|
|
174
174
|
ref: l,
|
|
@@ -235,13 +235,13 @@ const K = c.forwardRef(function(e, n) {
|
|
|
235
235
|
] });
|
|
236
236
|
};
|
|
237
237
|
/*!
|
|
238
|
-
@versini/ui-private v1.
|
|
238
|
+
@versini/ui-private v1.5.1
|
|
239
239
|
© 2024 gizmette.com
|
|
240
240
|
*/
|
|
241
241
|
try {
|
|
242
242
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
243
|
-
version: "1.
|
|
244
|
-
buildTime: "12/
|
|
243
|
+
version: "1.5.1",
|
|
244
|
+
buildTime: "12/18/2024 01:22 PM EST",
|
|
245
245
|
homepage: "https://github.com/aversini/ui-components",
|
|
246
246
|
license: "MIT"
|
|
247
247
|
});
|
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.DNlKJfQz.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.
|
|
3
|
+
@sassysaint/client v5.7.0
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.
|
|
9
|
-
buildTime: "12/
|
|
8
|
+
version: "5.7.0",
|
|
9
|
+
buildTime: "12/18/2024 03:25 PM EST",
|
|
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": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
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": "5.
|
|
34
|
-
"@versini/ui-styles": "1.
|
|
33
|
+
"@sassysaint/client": "5.7.0",
|
|
34
|
+
"@versini/ui-styles": "1.12.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@versini/ui-hooks": "4.
|
|
37
|
+
"@versini/ui-hooks": "4.3.0",
|
|
38
38
|
"clsx": "2.1.1",
|
|
39
|
-
"tailwindcss": "3.4.
|
|
39
|
+
"tailwindcss": "3.4.17"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "fa5ecf030a1b86fc5b7d7b7b44d4304ef5759185"
|
|
45
45
|
}
|