@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.
@@ -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 S, FloatingOverlay as F, FloatingFocusManager as O, useFloating as P, useClick as k, useDismiss as L, useRole as V, useInteractions as B } from "@floating-ui/react";
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 ? $[o] : "assertive"), D(() => {
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 = P({
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 = k(p, {
130
+ }), p = m.context, h = P(p, {
131
131
  enabled: n == null
132
- }), v = L(p, {
132
+ }), v = k(p, {
133
133
  outsidePress: !1,
134
134
  outsidePressEvent: "mousedown"
135
- }), T = V(p), b = B([h, v, 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(S, { children: /* @__PURE__ */ i(F, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(O, { context: t, children: /* @__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.4.19
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.4.19",
244
- buildTime: "12/12/2024 05:56 PM EST",
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
  });
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.C_44Odxq.js";
2
+ import { SassySaint as a } from "../../chunks/index.DNlKJfQz.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.C_44Odxq.js";
1
+ import { SassySaint as r } from "./chunks/index.DNlKJfQz.js";
2
2
  /*!
3
- @sassysaint/client v5.6.5
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.6.5",
9
- buildTime: "12/13/2024 08:26 AM EST",
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.16",
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.6.5",
34
- "@versini/ui-styles": "1.11.1"
33
+ "@sassysaint/client": "5.7.0",
34
+ "@versini/ui-styles": "1.12.0"
35
35
  },
36
36
  "dependencies": {
37
- "@versini/ui-hooks": "4.2.2",
37
+ "@versini/ui-hooks": "4.3.0",
38
38
  "clsx": "2.1.1",
39
- "tailwindcss": "3.4.16"
39
+ "tailwindcss": "3.4.17"
40
40
  },
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "8f11c91c795936e7d621c8d5095bcffbf061e063"
44
+ "gitHead": "fa5ecf030a1b86fc5b7d7b7b44d4304ef5759185"
45
45
  }