@vokril/ui-solid 0.34.0 → 0.35.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/Alert-DCIet3Ol.cjs +1 -0
  3. package/dist/Alert-DyBaU25r.js +59 -0
  4. package/dist/Badge-BXLrs2z-.cjs +1 -0
  5. package/dist/Badge-BguTObKo.js +99 -0
  6. package/dist/CommandPalette-3wKYPO9u.cjs +2 -0
  7. package/dist/CommandPalette-BnZwM7DE.js +4130 -0
  8. package/dist/PageSkeleton-3f-2SBNK.cjs +30 -0
  9. package/dist/{PageSkeleton-BRuqaDzr.js → PageSkeleton-lfENszyc.js} +516 -569
  10. package/dist/{StatusBarNotificationBell-Lps0FfKd.js → StatusBarNotificationBell-GbkAwC4w.js} +30 -29
  11. package/dist/{StatusBarNotificationBell-pBGZ_2eb.cjs → StatusBarNotificationBell-fegn26_s.cjs} +22 -22
  12. package/dist/feedback/index.cjs +1 -1
  13. package/dist/feedback/index.js +38 -36
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.js +430 -428
  16. package/dist/notificationCatalog-DmwTAO09.cjs +1 -0
  17. package/dist/notificationCatalog-otJ1LHFH.js +72 -0
  18. package/dist/notifications/index.cjs +1 -1
  19. package/dist/notifications/index.js +2 -2
  20. package/dist/overlay/ConfirmDialog.d.cts +36 -0
  21. package/dist/overlay/ConfirmDialog.d.ts +36 -0
  22. package/dist/overlay/dialogNudge.d.cts +16 -0
  23. package/dist/overlay/dialogNudge.d.ts +16 -0
  24. package/dist/overlay/index.cjs +1 -1
  25. package/dist/overlay/index.js +1 -1
  26. package/dist/server/Alert-DWGobTUk.js +45 -0
  27. package/dist/server/Alert-DulmzLv9.cjs +1 -0
  28. package/dist/server/Badge-C1Jn--DR.js +68 -0
  29. package/dist/server/Badge-wsDCVlA8.cjs +1 -0
  30. package/dist/server/CommandPalette-B3EE1iMo.js +3376 -0
  31. package/dist/server/CommandPalette-DKURJBBZ.cjs +1 -0
  32. package/dist/server/PageSkeleton-CP8EmxyS.cjs +30 -0
  33. package/dist/server/{PageSkeleton-CFs7AdTA.js → PageSkeleton-HhO6CRZ8.js} +392 -431
  34. package/dist/server/{StatusBarNotificationBell-DiVJ-EnY.js → StatusBarNotificationBell-BfBGKXDG.js} +30 -29
  35. package/dist/server/{StatusBarNotificationBell-D0UzYPs6.cjs → StatusBarNotificationBell-CB919YAX.cjs} +21 -21
  36. package/dist/server/feedback/index.cjs +1 -1
  37. package/dist/server/feedback/index.js +38 -36
  38. package/dist/server/index.cjs +1 -1
  39. package/dist/server/index.js +294 -292
  40. package/dist/server/notificationCatalog-BKcY-o-R.js +57 -0
  41. package/dist/server/notificationCatalog-DR3ZggWn.cjs +1 -0
  42. package/dist/server/notifications/index.cjs +1 -1
  43. package/dist/server/notifications/index.js +2 -2
  44. package/dist/server/overlay/index.cjs +1 -1
  45. package/dist/server/overlay/index.js +1 -1
  46. package/dist/solid/overlay/ConfirmDialog.jsx +54 -10
  47. package/dist/solid/overlay/ConfirmDialog.module.css.js +6 -0
  48. package/dist/solid/overlay/DangerousActionDialog.jsx +8 -3
  49. package/dist/solid/overlay/DangerousActionDialog.module.css.js +1 -0
  50. package/dist/solid/overlay/dialogNudge.js +18 -0
  51. package/dist/style.css +1 -1
  52. package/dist/ui.css +1 -1
  53. package/package.json +1 -1
  54. package/dist/CommandPalette-BKa5pT_B.js +0 -4029
  55. package/dist/CommandPalette-Bq5ydWBA.cjs +0 -2
  56. package/dist/PageSkeleton-Cz2bckO4.cjs +0 -30
  57. package/dist/notificationCatalog-CRERhjp6.js +0 -168
  58. package/dist/notificationCatalog-DqTkd7M6.cjs +0 -1
  59. package/dist/server/CommandPalette-BU9QCOyy.cjs +0 -1
  60. package/dist/server/CommandPalette-Dj08M64T.js +0 -3305
  61. package/dist/server/PageSkeleton-D0KOKLsb.cjs +0 -30
  62. package/dist/server/notificationCatalog-CEDltsJS.cjs +0 -1
  63. package/dist/server/notificationCatalog-Cl1dH4aJ.js +0 -122
@@ -22,8 +22,9 @@ import { p as Lc, m as wc } from "./prefersReducedMotion-qcGrKv14.js";
22
22
  import { n as Mc, i as Un } from "./keys-B2nlkpqc.js";
23
23
  import { c as Fc, E as Pc } from "./mainRealmDom-CzckS_ss.js";
24
24
  import { I as Uc, P as qo } from "./Input-V9Szcw6w.js";
25
- import { d as nn, P as Oi, B as ku } from "./notificationCatalog-Cl1dH4aJ.js";
25
+ import { B as ku } from "./Badge-C1Jn--DR.js";
26
26
  import { P as ju, G as Bc, D as Hc } from "./GuidedTour-pdx_4IrZ.js";
27
+ import { d as nn, P as Oi } from "./notificationCatalog-BKcY-o-R.js";
27
28
  import { D as Gc, u as Yo } from "./DesktopContextMenuContext-DJ3PnqAv.js";
28
29
  import { B as Ge } from "./Button-ft_8RNJj.js";
29
30
  import { D as $c, f as zc, a as or } from "./DateRangePicker-TIOF99wh.js";
@@ -672,19 +673,19 @@ function fu(e) {
672
673
  function ka(e) {
673
674
  return e.get(jr);
674
675
  }
675
- async function LE(e, t) {
676
+ async function wE(e, t) {
676
677
  t ? await e.set(jr, t) : await e.delete(jr);
677
678
  }
678
679
  function va(e, t) {
679
680
  return e.get(fu(t));
680
681
  }
681
- async function wE(e, t, n) {
682
+ async function ME(e, t, n) {
682
683
  n ? await e.set(fu(t), n) : await e.delete(fu(t));
683
684
  }
684
- function ME(e, t) {
685
+ function FE(e, t) {
685
686
  return e.delete(fu(t));
686
687
  }
687
- async function FE(e, t) {
688
+ async function PE(e, t) {
688
689
  const n = new Set(t), u = (await e.keys()).filter((r) => r.startsWith(Zr)).map((r) => r.slice(Zr.length)).filter((r) => !n.has(r));
689
690
  await Promise.all(u.map((r) => e.delete(fu(r))));
690
691
  }
@@ -1041,7 +1042,7 @@ async function Qa(e) {
1041
1042
  dontShowAgainKeys: n
1042
1043
  }), await ne.update({ ...t, dontShowAgainKeys: n });
1043
1044
  }
1044
- async function PE(e) {
1045
+ async function UE(e) {
1045
1046
  const t = ne.get();
1046
1047
  if (!t.dontShowAgainKeys.includes(e)) return;
1047
1048
  const n = t.dontShowAgainKeys.filter((u) => u !== e);
@@ -1050,14 +1051,14 @@ async function PE(e) {
1050
1051
  dontShowAgainKeys: n
1051
1052
  }), await ne.update({ ...t, dontShowAgainKeys: n });
1052
1053
  }
1053
- async function UE() {
1054
+ async function BE() {
1054
1055
  const e = ne.get();
1055
1056
  e.dontShowAgainKeys.length !== 0 && (ne.applyFromBroadcast({
1056
1057
  ...e,
1057
1058
  dontShowAgainKeys: []
1058
1059
  }), await ne.update({ ...e, dontShowAgainKeys: [] }));
1059
1060
  }
1060
- async function BE() {
1061
+ async function HE() {
1061
1062
  const e = ne.get();
1062
1063
  e.mutedSources.length !== 0 && (ne.applyFromBroadcast({ ...e, mutedSources: [] }), await ne.update({ ...e, mutedSources: [] }));
1063
1064
  }
@@ -1741,7 +1742,7 @@ const al = nn(
1741
1742
  function Pi(e, t) {
1742
1743
  return !e.isolated && e.priority !== "acknowledgment-required" && e.origin !== "user-action" && tl(e.source ?? "general", e.severity, e.priority ?? "default", t);
1743
1744
  }
1744
- class HE {
1745
+ class GE {
1745
1746
  constructor(t) {
1746
1747
  Se(this, "renderHost");
1747
1748
  Se(this, "toast");
@@ -2002,7 +2003,7 @@ function yn(e) {
2002
2003
  }
2003
2004
  return Bi.get("general") ?? fi[0];
2004
2005
  }
2005
- function GE() {
2006
+ function $E() {
2006
2007
  return fi;
2007
2008
  }
2008
2009
  function Sl(e, t) {
@@ -2186,7 +2187,7 @@ function $i(e) {
2186
2187
  function Hl(e, t) {
2187
2188
  return t.vendorError === void 0 ? null : Yn(e, t.vendorError);
2188
2189
  }
2189
- function $E(e) {
2190
+ function zE(e) {
2190
2191
  let t = { ...Ii }, n = {
2191
2192
  dismissed: !1,
2192
2193
  remindSuppressed: !1,
@@ -11723,7 +11724,7 @@ function U1(e) {
11723
11724
  const B1 = { sql: S1, pgsql: N1, javascript: O1, typescript: D1, json: L1, xml: w1, bash: M1, python: F1, yaml: P1, plaintext: U1 };
11724
11725
  for (const [e, t] of Object.entries(B1)) mu.registerLanguage(e, t);
11725
11726
  const rc = [];
11726
- function zE(e, t) {
11727
+ function VE(e, t) {
11727
11728
  rc.push({ aliases: e, languageName: t }), mu.registerAliases([...e], { languageName: t });
11728
11729
  }
11729
11730
  let zr = null;
@@ -12870,7 +12871,7 @@ const ag = "vk_host_-dTTD", lg = "vk_scrollArea_FaEtH", dg = "vk_stack_4LHtI", f
12870
12871
  ackQueueHint: pg
12871
12872
  };
12872
12873
  var Eg = ["<div", ">", "</div>"], bg = ["<p", ">", "</p>"], _g = ["<div", ' role="alertdialog" aria-modal="true" aria-labelledby="', '"', "><div", ' id="', '">', "", "</div></div>"];
12873
- const VE = (e) => {
12874
+ const WE = (e) => {
12874
12875
  var Ae;
12875
12876
  const t = Ic().window, n = On(), u = n.notifications.stack, r = n.displayOwner.register(t);
12876
12877
  $e(r.dispose);
@@ -13377,7 +13378,7 @@ function Uo(e) {
13377
13378
  }
13378
13379
  }
13379
13380
  const Hu = ["error", "warning", "info", "success"], gp = 189, pp = 27;
13380
- function WE(e) {
13381
+ function qE(e) {
13381
13382
  const t = Me(() => e.notificationTimeline), n = () => t()(), u = yc(), r = On(), {
13382
13383
  notifications: i
13383
13384
  } = r, o = i.timeline, s = r.log.withTag("NotificationPanel"), c = (A) => du(r.desktop, s, A), a = (A) => Xr(r.vendorErrors, A), [d, f] = pe(null), [p, b] = pe(0), [g, C] = pe(""), [M, v] = pe(null), [O, x] = pe(/* @__PURE__ */ new Set()), [L, R] = pe(!1), [D, B] = pe(/* @__PURE__ */ new Set()), [K, Q] = pe(/* @__PURE__ */ new Set()), [ue, ce] = pe(/* @__PURE__ */ new Set()), [$, re] = pe(!1), [X, ie] = pe(0);
@@ -14593,7 +14594,7 @@ const $p = "vk_bell_tx9ag vk_buttonReset_3WpyU", zp = "vk_bellIcon_w6Lmy", Vp =
14593
14594
  centerPopover: qp
14594
14595
  };
14595
14596
  var Yp = ["<span", ">", "</span>"], Kp = ["<span", ' aria-hidden="true"></span>'];
14596
- function qE(e) {
14597
+ function YE(e) {
14597
14598
  const t = Me(() => e.open), n = On().notifications, {
14598
14599
  timeline: u,
14599
14600
  stack: r
@@ -14725,42 +14726,42 @@ export {
14725
14726
  Li as S,
14726
14727
  xn as T,
14727
14728
  ma as U,
14728
- GE as V,
14729
+ $E as V,
14729
14730
  Wa as W,
14730
- FE as X,
14731
- zE as Y,
14731
+ PE as X,
14732
+ VE as Y,
14732
14733
  Gh as Z,
14733
14734
  ja as _,
14734
14735
  Jo as a,
14735
14736
  sr as a0,
14736
14737
  yn as a1,
14737
14738
  xa as a2,
14738
- UE as a3,
14739
- PE as a4,
14740
- LE as a5,
14739
+ BE as a3,
14740
+ UE as a4,
14741
+ wE as a5,
14741
14742
  Za as a6,
14742
- wE as a7,
14743
+ ME as a7,
14743
14744
  Ya as a8,
14744
14745
  Gu as a9,
14745
- BE as aa,
14746
+ HE as aa,
14746
14747
  $h as b,
14747
- VE as c,
14748
+ WE as c,
14748
14749
  oi as d,
14749
- WE as e,
14750
- HE as f,
14750
+ qE as e,
14751
+ GE as f,
14751
14752
  Na as g,
14752
14753
  Gp as h,
14753
14754
  Ia as i,
14754
- qE as j,
14755
+ YE as j,
14755
14756
  zh as k,
14756
14757
  ns as l,
14757
14758
  rs as m,
14758
14759
  $a as n,
14759
14760
  bl as o,
14760
14761
  ts as p,
14761
- $E as q,
14762
+ zE as q,
14762
14763
  hu as r,
14763
- ME as s,
14764
+ FE as s,
14764
14765
  ai as t,
14765
14766
  Qa as u,
14766
14767
  Al as v,