@versini/ui-panel 1.2.7 → 1.2.9

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.
Files changed (2) hide show
  1. package/dist/index.js +24 -24
  2. 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
7
+ @versini/ui-panel v1.2.9
8
8
  © 2024 gizmette.com
9
9
  */
10
10
  try {
11
11
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
12
- version: "1.2.7",
13
- buildTime: "12/30/2024 12:27 PM EST",
12
+ version: "1.2.9",
13
+ buildTime: "12/30/2024 03:39 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", C = "av-panel", L = "av-button", T = "icon", Q = "button", Z = "link", ee = ({
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(L, t) : i(
240
- L,
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 v2.2.0
337
+ @versini/ui-button v3.0.0
338
338
  © 2024 gizmette.com
339
339
  */
340
340
  try {
341
341
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
342
- version: "2.2.0",
343
- buildTime: "12/30/2024 12:27 PM EST",
342
+ version: "3.0.0",
343
+ buildTime: "12/30/2024 03:38 PM EST",
344
344
  homepage: "https://github.com/aversini/ui-components",
345
345
  license: "MIT"
346
346
  });
@@ -430,12 +430,12 @@ const ne = ({
430
430
  viewBox: r,
431
431
  className: o,
432
432
  defaultViewBox: a,
433
- defaultClassName: n,
433
+ size: n,
434
434
  title: c,
435
435
  semantic: l = !1,
436
436
  ...m
437
437
  }) => {
438
- const g = i(o || n);
438
+ const g = i(n, o);
439
439
  return /* @__PURE__ */ x(P, { children: [
440
440
  /* @__PURE__ */ d(
441
441
  "svg",
@@ -455,13 +455,13 @@ const ne = ({
455
455
  ] });
456
456
  };
457
457
  /*!
458
- @versini/ui-svgicon v2.0.2
458
+ @versini/ui-svgicon v3.0.0
459
459
  © 2024 gizmette.com
460
460
  */
461
461
  try {
462
462
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
463
- version: "2.0.2",
464
- buildTime: "12/30/2024 12:27 PM EST",
463
+ version: "3.0.0",
464
+ buildTime: "12/30/2024 03:38 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
- defaultClassName: "size-5",
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 v2.0.2
489
+ @versini/ui-icons v3.0.0
490
490
  © 2024 gizmette.com
491
491
  */
492
492
  try {
493
493
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
494
- version: "2.0.2",
495
- buildTime: "12/30/2024 12:27 PM EST",
494
+ version: "3.0.0",
495
+ buildTime: "12/30/2024 03:38 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.4
576
+ @versini/ui-modal v1.1.5
577
577
  © 2024 gizmette.com
578
578
  */
579
579
  try {
580
580
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
581
- version: "1.1.4",
582
- buildTime: "12/30/2024 12:27 PM EST",
581
+ version: "1.1.5",
582
+ buildTime: "12/30/2024 03:38 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
- [`${C} max-h-full sm:max-h-[95%] min-h-full sm:min-h-[10rem] sm:rounded-lg sm:border-2`]: t === y,
595
- [`${C} w-full sm:w-[95%] md:max-w-2xl`]: t === y && !e,
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
- C as PANEL_CLASSNAME,
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.7",
3
+ "version": "1.2.9",
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": "2.2.0",
43
- "@versini/ui-icons": "2.0.2",
44
- "@versini/ui-modal": "1.1.4",
42
+ "@versini/ui-button": "3.0.0",
43
+ "@versini/ui-icons": "3.0.0",
44
+ "@versini/ui-modal": "1.1.5",
45
45
  "clsx": "2.1.1",
46
46
  "tailwindcss": "3.4.17"
47
47
  },
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "914bac4e3074de68e54cd84fe91e6fe50c38b554"
51
+ "gitHead": "c489b5e7d0cfacc90e2a9880811dccf575243961"
52
52
  }