@versini/ui-panel 3.1.1 → 3.2.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.
@@ -1,9 +1,9 @@
1
- import { jsxs as v, jsx as l, Fragment as A } from "react/jsx-runtime";
2
- import { ButtonIcon as y } from "@versini/ui-button";
1
+ import { jsxs as v, jsx as l, Fragment as y } from "react/jsx-runtime";
2
+ import { ButtonIcon as A } from "@versini/ui-button";
3
3
  import * as c from "react";
4
4
  import { useId as M, useRef as L, useState as O, useEffect as N } from "react";
5
5
  import E from "clsx";
6
- import { useFloating as R, useClick as T, useDismiss as D, useRole as P, useInteractions as B, useMergeRefs as $, FloatingPortal as V, FloatingOverlay as F, FloatingFocusManager as U } from "@floating-ui/react";
6
+ import { useFloating as P, useClick as R, useDismiss as T, useRole as D, useInteractions as B, useMergeRefs as $, FloatingPortal as V, FloatingOverlay as F, FloatingFocusManager as U } from "@floating-ui/react";
7
7
  const Y = "av-messagebox", z = "av-panel", G = ({
8
8
  children: t,
9
9
  fill: e,
@@ -35,13 +35,13 @@ const Y = "av-messagebox", z = "av-panel", G = ({
35
35
  );
36
36
  };
37
37
  /*!
38
- @versini/ui-svgicon v4.2.1
38
+ @versini/ui-svgicon v4.2.2
39
39
  © 2025 gizmette.com
40
40
  */
41
41
  try {
42
42
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
43
- version: "4.2.1",
44
- buildTime: "08/27/2025 08:27 AM EDT",
43
+ version: "4.2.2",
44
+ buildTime: "10/19/2025 01:03 PM EDT",
45
45
  homepage: "https://github.com/aversini/ui-components",
46
46
  license: "MIT"
47
47
  });
@@ -72,13 +72,13 @@ const j = ({
72
72
  }
73
73
  );
74
74
  /*!
75
- @versini/ui-icons v4.11.0
75
+ @versini/ui-icons v4.13.0
76
76
  © 2025 gizmette.com
77
77
  */
78
78
  try {
79
79
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
80
- version: "4.11.0",
81
- buildTime: "08/27/2025 08:28 AM EDT",
80
+ version: "4.13.0",
81
+ buildTime: "10/19/2025 01:03 PM EDT",
82
82
  homepage: "https://github.com/aversini/ui-components",
83
83
  license: "MIT"
84
84
  });
@@ -90,15 +90,15 @@ function X({
90
90
  open: e,
91
91
  onOpenChange: r
92
92
  } = {}) {
93
- const [s, o] = c.useState(t), [a, n] = c.useState(), [d, m] = c.useState(), u = e ?? s, w = r ?? o, p = R({
93
+ const [s, o] = c.useState(t), [a, n] = c.useState(), [d, m] = c.useState(), u = e ?? s, w = r ?? o, p = P({
94
94
  open: u,
95
95
  onOpenChange: w
96
- }), f = p.context, b = T(f, {
96
+ }), f = p.context, b = R(f, {
97
97
  enabled: e == null
98
- }), x = D(f, {
98
+ }), x = T(f, {
99
99
  outsidePress: !1,
100
100
  outsidePressEvent: "mousedown"
101
- }), h = P(f), I = B([b, x, h]);
101
+ }), h = D(f), I = B([b, x, h]);
102
102
  return c.useMemo(
103
103
  () => ({
104
104
  open: u,
@@ -159,13 +159,13 @@ const q = c.forwardRef(function(t, e) {
159
159
  }) });
160
160
  });
161
161
  /*!
162
- @versini/ui-modal v3.0.1
162
+ @versini/ui-modal v3.0.2
163
163
  © 2025 gizmette.com
164
164
  */
165
165
  try {
166
166
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
167
- version: "3.0.1",
168
- buildTime: "10/11/2025 02:03 PM EDT",
167
+ version: "3.0.2",
168
+ buildTime: "10/19/2025 04:17 PM EDT",
169
169
  homepage: "https://github.com/aversini/ui-components",
170
170
  license: "MIT"
171
171
  });
@@ -256,14 +256,14 @@ const i = "panel", g = "messagebox", Z = ({
256
256
  }, 100);
257
257
  return () => clearTimeout(I);
258
258
  }
259
- }, [t, m, u]), /* @__PURE__ */ l(A, { children: t && /* @__PURE__ */ l(H, { open: t, onOpenChange: e, children: /* @__PURE__ */ v(q, { className: h.main, style: b, children: [
259
+ }, [t, m, u]), /* @__PURE__ */ l(y, { children: t && /* @__PURE__ */ l(H, { open: t, onOpenChange: e, children: /* @__PURE__ */ v(q, { className: h.main, style: b, children: [
260
260
  /* @__PURE__ */ v("div", { className: "flex flex-row-reverse items-center justify-between", children: [
261
261
  /* @__PURE__ */ l(
262
262
  Q,
263
263
  {
264
264
  className: h.close,
265
265
  trigger: /* @__PURE__ */ l(
266
- y,
266
+ A,
267
267
  {
268
268
  mode: "dark",
269
269
  focusMode: "light",
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { MESSAGEBOX_CLASSNAME as o, PANEL_CLASSNAME as E, Panel as n } from "./components/Panel/Panel.js";
2
2
  /*!
3
- @versini/ui-panel v3.1.1
3
+ @versini/ui-panel v3.2.0
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
8
- version: "3.1.1",
9
- buildTime: "10/11/2025 02:04 PM EDT",
8
+ version: "3.2.0",
9
+ buildTime: "10/19/2025 04:18 PM EDT",
10
10
  homepage: "https://github.com/aversini/ui-components",
11
11
  license: "MIT"
12
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-panel",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -36,23 +36,19 @@
36
36
  "test:watch": "vitest",
37
37
  "test": "vitest run"
38
38
  },
39
- "peerDependencies": {
40
- "react": "^19.1.0",
41
- "react-dom": "^19.1.0"
42
- },
43
39
  "devDependencies": {
44
- "@testing-library/jest-dom": "6.8.0"
40
+ "@testing-library/jest-dom": "6.9.1"
45
41
  },
46
42
  "dependencies": {
47
- "@tailwindcss/typography": "0.5.16",
48
- "@versini/ui-button": "8.0.1",
49
- "@versini/ui-icons": "4.11.0",
50
- "@versini/ui-modal": "3.0.1",
43
+ "@tailwindcss/typography": "0.5.19",
44
+ "@versini/ui-button": "8.1.0",
45
+ "@versini/ui-icons": "4.13.0",
46
+ "@versini/ui-modal": "3.0.2",
51
47
  "clsx": "2.1.1",
52
- "tailwindcss": "4.1.12"
48
+ "tailwindcss": "4.1.14"
53
49
  },
54
50
  "sideEffects": [
55
51
  "**/*.css"
56
52
  ],
57
- "gitHead": "8afeaf1aaa70aa847746346062f14a8e11568166"
53
+ "gitHead": "5e38069da8dfd7a151bb67950a96d193b50a0b00"
58
54
  }