@versini/ui-panel 1.2.6 → 1.2.7

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 +23 -23
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import { jsx as d, jsxs as x, Fragment as A } from "react/jsx-runtime";
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.6
7
+ @versini/ui-panel v1.2.7
8
8
  © 2024 gizmette.com
9
9
  */
10
10
  try {
11
11
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
12
- version: "1.2.6",
13
- buildTime: "12/30/2024 11:40 AM EST",
12
+ version: "1.2.7",
13
+ buildTime: "12/30/2024 12:27 PM EST",
14
14
  homepage: "https://github.com/aversini/ui-components",
15
15
  license: "MIT"
16
16
  });
@@ -334,13 +334,13 @@ const V = S.forwardRef(
334
334
  );
335
335
  V.displayName = "ButtonIcon";
336
336
  /*!
337
- @versini/ui-button v2.1.0
337
+ @versini/ui-button v2.2.0
338
338
  © 2024 gizmette.com
339
339
  */
340
340
  try {
341
341
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
342
- version: "2.1.0",
343
- buildTime: "12/30/2024 11:40 AM EST",
342
+ version: "2.2.0",
343
+ buildTime: "12/30/2024 12:27 PM EST",
344
344
  homepage: "https://github.com/aversini/ui-components",
345
345
  license: "MIT"
346
346
  });
@@ -383,7 +383,7 @@ const le = S.forwardRef(
383
383
  noBackground: v,
384
384
  align: p,
385
385
  radius: N
386
- }), U = i({
386
+ }), A = i({
387
387
  "text-copy-accent-dark": r === "light" && !l,
388
388
  "text-copy-light": r === "dark" && !l,
389
389
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !l,
@@ -416,7 +416,7 @@ const le = S.forwardRef(
416
416
  ...I,
417
417
  children: [
418
418
  u && /* @__PURE__ */ d("span", { className: "pr-2", children: u }),
419
- /* @__PURE__ */ d("div", { className: U, children: e }),
419
+ /* @__PURE__ */ d("div", { className: A, children: e }),
420
420
  s && /* @__PURE__ */ d("span", { className: "pl-2", children: s })
421
421
  ]
422
422
  }
@@ -436,7 +436,7 @@ const ne = ({
436
436
  ...m
437
437
  }) => {
438
438
  const g = i(o || n);
439
- return /* @__PURE__ */ x(A, { children: [
439
+ return /* @__PURE__ */ x(P, { children: [
440
440
  /* @__PURE__ */ d(
441
441
  "svg",
442
442
  {
@@ -455,13 +455,13 @@ const ne = ({
455
455
  ] });
456
456
  };
457
457
  /*!
458
- @versini/ui-svgicon v2.0.1
458
+ @versini/ui-svgicon v2.0.2
459
459
  © 2024 gizmette.com
460
460
  */
461
461
  try {
462
462
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
463
- version: "2.0.1",
464
- buildTime: "12/30/2024 11:40 AM EST",
463
+ version: "2.0.2",
464
+ buildTime: "12/30/2024 12:27 PM EST",
465
465
  homepage: "https://github.com/aversini/ui-components",
466
466
  license: "MIT"
467
467
  });
@@ -486,19 +486,19 @@ const ce = ({
486
486
  }
487
487
  );
488
488
  /*!
489
- @versini/ui-icons v2.0.1
489
+ @versini/ui-icons v2.0.2
490
490
  © 2024 gizmette.com
491
491
  */
492
492
  try {
493
493
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
494
- version: "2.0.1",
495
- buildTime: "12/30/2024 11:40 AM EST",
494
+ version: "2.0.2",
495
+ buildTime: "12/30/2024 12:27 PM EST",
496
496
  homepage: "https://github.com/aversini/ui-components",
497
497
  license: "MIT"
498
498
  });
499
499
  } catch {
500
500
  }
501
- const P = h.createContext(null);
501
+ const U = h.createContext(null);
502
502
  function se({
503
503
  initialOpen: e = !1,
504
504
  open: t,
@@ -528,7 +528,7 @@ function se({
528
528
  );
529
529
  }
530
530
  const w = () => {
531
- const e = h.useContext(P);
531
+ const e = h.useContext(U);
532
532
  if (e == null)
533
533
  throw new Error("Modal components must be wrapped in <Modal />");
534
534
  return e;
@@ -538,7 +538,7 @@ function ge({
538
538
  ...t
539
539
  }) {
540
540
  const r = se(t);
541
- return /* @__PURE__ */ d(P.Provider, { value: r, children: e });
541
+ return /* @__PURE__ */ d(U.Provider, { value: r, children: e });
542
542
  }
543
543
  const he = h.forwardRef(function(e, t) {
544
544
  const { context: r, ...o } = w(), a = q([o.refs.setFloating, t]);
@@ -573,13 +573,13 @@ const he = h.forwardRef(function(e, t) {
573
573
  }) });
574
574
  });
575
575
  /*!
576
- @versini/ui-modal v1.1.3
576
+ @versini/ui-modal v1.1.4
577
577
  © 2024 gizmette.com
578
578
  */
579
579
  try {
580
580
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
581
- version: "1.1.3",
582
- buildTime: "12/30/2024 11:40 AM EST",
581
+ version: "1.1.4",
582
+ buildTime: "12/30/2024 12:27 PM EST",
583
583
  homepage: "https://github.com/aversini/ui-components",
584
584
  license: "MIT"
585
585
  });
@@ -618,7 +618,7 @@ const y = "panel", _ = "messagebox", fe = ({
618
618
  const m = F(""), g = fe({ className: l, kind: c, borderMode: n });
619
619
  return D(() => (e && (m.current = document.title, document.title = `${r} | ${m.current}`), () => {
620
620
  e && (document.title = m.current);
621
- }), [r, e]), /* @__PURE__ */ d(A, { children: e && /* @__PURE__ */ d(ge, { open: e, onOpenChange: t, children: /* @__PURE__ */ x(he, { className: g.main, children: [
621
+ }), [r, e]), /* @__PURE__ */ d(P, { children: e && /* @__PURE__ */ d(ge, { open: e, onOpenChange: t, children: /* @__PURE__ */ x(he, { className: g.main, children: [
622
622
  /* @__PURE__ */ x("div", { className: "flex flex-row-reverse items-center justify-between", children: [
623
623
  /* @__PURE__ */ d(
624
624
  be,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-panel",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
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.1.0",
43
- "@versini/ui-icons": "2.0.1",
44
- "@versini/ui-modal": "1.1.3",
42
+ "@versini/ui-button": "2.2.0",
43
+ "@versini/ui-icons": "2.0.2",
44
+ "@versini/ui-modal": "1.1.4",
45
45
  "clsx": "2.1.1",
46
46
  "tailwindcss": "3.4.17"
47
47
  },
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "1221c66705bd1e8a31981a21a9566c8db647ab5c"
51
+ "gitHead": "914bac4e3074de68e54cd84fe91e6fe50c38b554"
52
52
  }