@versini/ui-panel 1.2.8 → 1.2.10
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 +23 -23
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -4,19 +4,19 @@ 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.
|
|
7
|
+
@versini/ui-panel v1.2.10
|
|
8
8
|
© 2024 gizmette.com
|
|
9
9
|
*/
|
|
10
10
|
try {
|
|
11
11
|
window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
|
|
12
|
-
version: "1.2.
|
|
13
|
-
buildTime: "12/30/2024
|
|
12
|
+
version: "1.2.10",
|
|
13
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
14
14
|
homepage: "https://github.com/aversini/ui-components",
|
|
15
15
|
license: "MIT"
|
|
16
16
|
});
|
|
17
17
|
} catch {
|
|
18
18
|
}
|
|
19
|
-
const R = "av-messagebox",
|
|
19
|
+
const R = "av-messagebox", L = "av-panel", C = "av-button", T = "icon", Q = "button", Z = "link", ee = ({
|
|
20
20
|
type: e,
|
|
21
21
|
size: t,
|
|
22
22
|
labelRight: r,
|
|
@@ -236,8 +236,8 @@ const R = "av-messagebox", C = "av-panel", L = "av-button", T = "icon", Q = "but
|
|
|
236
236
|
noTruncate: u,
|
|
237
237
|
align: v,
|
|
238
238
|
radius: p
|
|
239
|
-
}) => (s || (s = "primary"), r ? i(
|
|
240
|
-
|
|
239
|
+
}) => (s || (s = "primary"), r ? i(C, t) : i(
|
|
240
|
+
C,
|
|
241
241
|
re({
|
|
242
242
|
mode: o,
|
|
243
243
|
variant: s,
|
|
@@ -334,13 +334,13 @@ const V = S.forwardRef(
|
|
|
334
334
|
);
|
|
335
335
|
V.displayName = "ButtonIcon";
|
|
336
336
|
/*!
|
|
337
|
-
@versini/ui-button
|
|
337
|
+
@versini/ui-button v3.0.1
|
|
338
338
|
© 2024 gizmette.com
|
|
339
339
|
*/
|
|
340
340
|
try {
|
|
341
341
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
342
|
-
version: "
|
|
343
|
-
buildTime: "12/30/2024
|
|
342
|
+
version: "3.0.1",
|
|
343
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
344
344
|
homepage: "https://github.com/aversini/ui-components",
|
|
345
345
|
license: "MIT"
|
|
346
346
|
});
|
|
@@ -430,7 +430,7 @@ const ne = ({
|
|
|
430
430
|
viewBox: r,
|
|
431
431
|
className: o,
|
|
432
432
|
defaultViewBox: a,
|
|
433
|
-
|
|
433
|
+
size: n,
|
|
434
434
|
title: c,
|
|
435
435
|
semantic: l = !1,
|
|
436
436
|
...m
|
|
@@ -455,13 +455,13 @@ const ne = ({
|
|
|
455
455
|
] });
|
|
456
456
|
};
|
|
457
457
|
/*!
|
|
458
|
-
@versini/ui-svgicon
|
|
458
|
+
@versini/ui-svgicon v3.0.1
|
|
459
459
|
© 2024 gizmette.com
|
|
460
460
|
*/
|
|
461
461
|
try {
|
|
462
462
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
463
|
-
version: "
|
|
464
|
-
buildTime: "12/30/2024
|
|
463
|
+
version: "3.0.1",
|
|
464
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
465
465
|
homepage: "https://github.com/aversini/ui-components",
|
|
466
466
|
license: "MIT"
|
|
467
467
|
});
|
|
@@ -477,7 +477,7 @@ const ce = ({
|
|
|
477
477
|
ne,
|
|
478
478
|
{
|
|
479
479
|
defaultViewBox: "0 0 384 512",
|
|
480
|
-
|
|
480
|
+
size: "size-5",
|
|
481
481
|
viewBox: t,
|
|
482
482
|
className: e,
|
|
483
483
|
title: r || "Close",
|
|
@@ -486,13 +486,13 @@ const ce = ({
|
|
|
486
486
|
}
|
|
487
487
|
);
|
|
488
488
|
/*!
|
|
489
|
-
@versini/ui-icons
|
|
489
|
+
@versini/ui-icons v3.0.1
|
|
490
490
|
© 2024 gizmette.com
|
|
491
491
|
*/
|
|
492
492
|
try {
|
|
493
493
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
494
|
-
version: "
|
|
495
|
-
buildTime: "12/30/2024
|
|
494
|
+
version: "3.0.1",
|
|
495
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
496
496
|
homepage: "https://github.com/aversini/ui-components",
|
|
497
497
|
license: "MIT"
|
|
498
498
|
});
|
|
@@ -573,13 +573,13 @@ const he = h.forwardRef(function(e, t) {
|
|
|
573
573
|
}) });
|
|
574
574
|
});
|
|
575
575
|
/*!
|
|
576
|
-
@versini/ui-modal v1.1.
|
|
576
|
+
@versini/ui-modal v1.1.6
|
|
577
577
|
© 2024 gizmette.com
|
|
578
578
|
*/
|
|
579
579
|
try {
|
|
580
580
|
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
581
|
-
version: "1.1.
|
|
582
|
-
buildTime: "12/30/2024
|
|
581
|
+
version: "1.1.6",
|
|
582
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
583
583
|
homepage: "https://github.com/aversini/ui-components",
|
|
584
584
|
license: "MIT"
|
|
585
585
|
});
|
|
@@ -591,8 +591,8 @@ const y = "panel", _ = "messagebox", fe = ({
|
|
|
591
591
|
borderMode: r
|
|
592
592
|
}) => ({
|
|
593
593
|
main: i("prose prose-lighter flex flex-col bg-surface-medium", {
|
|
594
|
-
[`${
|
|
595
|
-
[`${
|
|
594
|
+
[`${L} max-h-full sm:max-h-[95%] min-h-full sm:min-h-[10rem] sm:rounded-lg sm:border-2`]: t === y,
|
|
595
|
+
[`${L} w-full sm:w-[95%] md:max-w-2xl`]: t === y && !e,
|
|
596
596
|
[`${R} rounded-lg border-2`]: t === _,
|
|
597
597
|
[`${R} w-[95%] sm:w-[50%] md:max-w-2xl`]: t === _ && !e,
|
|
598
598
|
[`${e}`]: !!e,
|
|
@@ -644,6 +644,6 @@ const y = "panel", _ = "messagebox", fe = ({
|
|
|
644
644
|
};
|
|
645
645
|
export {
|
|
646
646
|
R as MESSAGEBOX_CLASSNAME,
|
|
647
|
-
|
|
647
|
+
L as PANEL_CLASSNAME,
|
|
648
648
|
xe as Panel
|
|
649
649
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-panel",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "
|
|
43
|
-
"@versini/ui-icons": "
|
|
44
|
-
"@versini/ui-modal": "1.1.
|
|
42
|
+
"@versini/ui-button": "3.0.1",
|
|
43
|
+
"@versini/ui-icons": "3.0.1",
|
|
44
|
+
"@versini/ui-modal": "1.1.6",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.17"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "c83e1c1ff281bb8d84e899777a6d055c74451090"
|
|
52
52
|
}
|