@versini/ui-panel 1.2.13 → 1.2.14
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/index.js +24 -24
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as d, jsxs as x, Fragment as
|
|
1
|
+
import { jsx as d, jsxs as x, Fragment as P } from "react/jsx-runtime";
|
|
2
2
|
import i from "clsx";
|
|
3
3
|
import * as h from "react";
|
|
4
4
|
import S, { useId as O, useRef as F, useEffect as D } from "react";
|
|
5
5
|
import { useFloating as j, useClick as W, useDismiss as G, useRole as X, useInteractions as Y, useMergeRefs as q, FloatingPortal as H, FloatingOverlay as J, FloatingFocusManager as K } from "@floating-ui/react";
|
|
6
6
|
/*!
|
|
7
|
-
@versini/ui-panel v1.2.
|
|
8
|
-
©
|
|
7
|
+
@versini/ui-panel v1.2.14
|
|
8
|
+
© 2025 gizmette.com
|
|
9
9
|
*/
|
|
10
10
|
try {
|
|
11
11
|
window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
|
|
12
|
-
version: "1.2.
|
|
13
|
-
buildTime: "
|
|
12
|
+
version: "1.2.14",
|
|
13
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
14
14
|
homepage: "https://github.com/aversini/ui-components",
|
|
15
15
|
license: "MIT"
|
|
16
16
|
});
|
|
@@ -340,13 +340,13 @@ const V = S.forwardRef(
|
|
|
340
340
|
);
|
|
341
341
|
V.displayName = "ButtonIcon";
|
|
342
342
|
/*!
|
|
343
|
-
@versini/ui-button v3.2.
|
|
344
|
-
©
|
|
343
|
+
@versini/ui-button v3.2.1
|
|
344
|
+
© 2025 gizmette.com
|
|
345
345
|
*/
|
|
346
346
|
try {
|
|
347
347
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
348
|
-
version: "3.2.
|
|
349
|
-
buildTime: "
|
|
348
|
+
version: "3.2.1",
|
|
349
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
350
350
|
homepage: "https://github.com/aversini/ui-components",
|
|
351
351
|
license: "MIT"
|
|
352
352
|
});
|
|
@@ -389,7 +389,7 @@ const le = S.forwardRef(
|
|
|
389
389
|
noBackground: v,
|
|
390
390
|
align: p,
|
|
391
391
|
radius: N
|
|
392
|
-
}),
|
|
392
|
+
}), A = i({
|
|
393
393
|
"text-copy-accent-dark": r === "light" && !l,
|
|
394
394
|
"text-copy-light": r === "dark" && !l,
|
|
395
395
|
"text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !l,
|
|
@@ -422,7 +422,7 @@ const le = S.forwardRef(
|
|
|
422
422
|
...I,
|
|
423
423
|
children: [
|
|
424
424
|
u && /* @__PURE__ */ d("span", { className: "pr-2", children: u }),
|
|
425
|
-
/* @__PURE__ */ d("div", { className:
|
|
425
|
+
/* @__PURE__ */ d("div", { className: A, children: e }),
|
|
426
426
|
s && /* @__PURE__ */ d("span", { className: "pl-2", children: s })
|
|
427
427
|
]
|
|
428
428
|
}
|
|
@@ -442,7 +442,7 @@ const ne = ({
|
|
|
442
442
|
...m
|
|
443
443
|
}) => {
|
|
444
444
|
const g = i(n, o);
|
|
445
|
-
return /* @__PURE__ */ x(
|
|
445
|
+
return /* @__PURE__ */ x(P, { children: [
|
|
446
446
|
/* @__PURE__ */ d(
|
|
447
447
|
"svg",
|
|
448
448
|
{
|
|
@@ -462,12 +462,12 @@ const ne = ({
|
|
|
462
462
|
};
|
|
463
463
|
/*!
|
|
464
464
|
@versini/ui-svgicon v3.0.2
|
|
465
|
-
©
|
|
465
|
+
© 2025 gizmette.com
|
|
466
466
|
*/
|
|
467
467
|
try {
|
|
468
468
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
469
469
|
version: "3.0.2",
|
|
470
|
-
buildTime: "
|
|
470
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
471
471
|
homepage: "https://github.com/aversini/ui-components",
|
|
472
472
|
license: "MIT"
|
|
473
473
|
});
|
|
@@ -492,19 +492,19 @@ const ce = ({
|
|
|
492
492
|
}
|
|
493
493
|
);
|
|
494
494
|
/*!
|
|
495
|
-
@versini/ui-icons v3.0
|
|
496
|
-
©
|
|
495
|
+
@versini/ui-icons v3.1.0
|
|
496
|
+
© 2025 gizmette.com
|
|
497
497
|
*/
|
|
498
498
|
try {
|
|
499
499
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
500
|
-
version: "3.0
|
|
501
|
-
buildTime: "
|
|
500
|
+
version: "3.1.0",
|
|
501
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
502
502
|
homepage: "https://github.com/aversini/ui-components",
|
|
503
503
|
license: "MIT"
|
|
504
504
|
});
|
|
505
505
|
} catch {
|
|
506
506
|
}
|
|
507
|
-
const
|
|
507
|
+
const U = h.createContext(null);
|
|
508
508
|
function se({
|
|
509
509
|
initialOpen: e = !1,
|
|
510
510
|
open: t,
|
|
@@ -534,7 +534,7 @@ function se({
|
|
|
534
534
|
);
|
|
535
535
|
}
|
|
536
536
|
const w = () => {
|
|
537
|
-
const e = h.useContext(
|
|
537
|
+
const e = h.useContext(U);
|
|
538
538
|
if (e == null)
|
|
539
539
|
throw new Error("Modal components must be wrapped in <Modal />");
|
|
540
540
|
return e;
|
|
@@ -544,7 +544,7 @@ function ge({
|
|
|
544
544
|
...t
|
|
545
545
|
}) {
|
|
546
546
|
const r = se(t);
|
|
547
|
-
return /* @__PURE__ */ d(
|
|
547
|
+
return /* @__PURE__ */ d(U.Provider, { value: r, children: e });
|
|
548
548
|
}
|
|
549
549
|
const he = h.forwardRef(function(e, t) {
|
|
550
550
|
const { context: r, ...o } = w(), a = q([o.refs.setFloating, t]);
|
|
@@ -580,12 +580,12 @@ const he = h.forwardRef(function(e, t) {
|
|
|
580
580
|
});
|
|
581
581
|
/*!
|
|
582
582
|
@versini/ui-modal v1.1.7
|
|
583
|
-
©
|
|
583
|
+
© 2025 gizmette.com
|
|
584
584
|
*/
|
|
585
585
|
try {
|
|
586
586
|
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
587
587
|
version: "1.1.7",
|
|
588
|
-
buildTime: "
|
|
588
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
589
589
|
homepage: "https://github.com/aversini/ui-components",
|
|
590
590
|
license: "MIT"
|
|
591
591
|
});
|
|
@@ -624,7 +624,7 @@ const y = "panel", _ = "messagebox", fe = ({
|
|
|
624
624
|
const m = F(""), g = fe({ className: l, kind: c, borderMode: n });
|
|
625
625
|
return D(() => (e && (m.current = document.title, document.title = `${r} | ${m.current}`), () => {
|
|
626
626
|
e && (document.title = m.current);
|
|
627
|
-
}), [r, e]), /* @__PURE__ */ d(
|
|
627
|
+
}), [r, e]), /* @__PURE__ */ d(P, { children: e && /* @__PURE__ */ d(ge, { open: e, onOpenChange: t, children: /* @__PURE__ */ x(he, { className: g.main, children: [
|
|
628
628
|
/* @__PURE__ */ x("div", { className: "flex flex-row-reverse items-center justify-between", children: [
|
|
629
629
|
/* @__PURE__ */ d(
|
|
630
630
|
be,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-panel",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "3.2.
|
|
43
|
-
"@versini/ui-icons": "3.0
|
|
42
|
+
"@versini/ui-button": "3.2.1",
|
|
43
|
+
"@versini/ui-icons": "3.1.0",
|
|
44
44
|
"@versini/ui-modal": "1.1.7",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.17"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "d052f6a22a228e03504ab6eef71c817bd53dd656"
|
|
52
52
|
}
|