@marimo-team/islands 0.25.3-dev209 → 0.25.3-dev210

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 (140) hide show
  1. package/dist/{ConnectedDataExplorerComponent-ApTYh0V3.js → ConnectedDataExplorerComponent-D6RHJV8D.js} +114 -112
  2. package/dist/{ErrorBoundary-B1QlXN-y.js → ErrorBoundary-VruaQLnK.js} +10 -10
  3. package/dist/{abnfDiagram-VCTEODGH-uo9xhZY0.js → abnfDiagram-VCTEODGH-0q7Lbmii.js} +2 -2
  4. package/dist/{any-language-editor-BVFHDDQ3.js → any-language-editor-jGaR0EAo.js} +5 -5
  5. package/dist/{architectureDiagram-5GKGNRK7-Hz6eyeOD.js → architectureDiagram-5GKGNRK7-1PydKPmE.js} +1 -1
  6. package/dist/{button-BQRdqQi1.js → button-B6RjDKJx.js} +54 -51
  7. package/dist/{capabilities-C2QUNRXi.js → capabilities-CkVzWJEX.js} +1 -1
  8. package/dist/{chat-ui-BTA1I5i1.js → chat-ui-B5pH_aXk.js} +414 -413
  9. package/dist/{check-C9Mp9eCK.js → check-Z_vtI3OL.js} +1 -1
  10. package/dist/{chunk-IMKFNOWR-DBM2i23k.js → chunk-IMKFNOWR-DEzZZ1Zc.js} +1 -1
  11. package/dist/{chunk-SHT3W25Y-L8KQLLBy.js → chunk-SHT3W25Y-CuHj-hnn.js} +1 -1
  12. package/dist/{chunk-SVP7TREG-BOUJKJEP.js → chunk-SVP7TREG-BPiZK2bA.js} +1 -1
  13. package/dist/{chunk-TICWLB2K-DY3CzFjX.js → chunk-TICWLB2K-DF6XcIjM.js} +1 -1
  14. package/dist/{classDiagram-ZZMXUADV-s9iwW-q4.js → classDiagram-ZZMXUADV-CMdR-cP4.js} +2 -2
  15. package/dist/{classDiagram-v2-VYDZK3BY-2GI5CjGB.js → classDiagram-v2-VYDZK3BY-DRvc3_7Y.js} +2 -2
  16. package/dist/{code-visibility-CCGlDSq4.js → code-visibility-BdFhHfIC.js} +28 -28
  17. package/dist/{common-C1PmVtVW.js → common-Ce1SgsX1.js} +8034 -8027
  18. package/dist/{toDate-BZZ64K_m.js → config-DbjzjwxX.js} +98 -164
  19. package/dist/{copy-icon-De584pZ4.js → copy-icon-CG57cxwb.js} +3 -3
  20. package/dist/createReducer-DePYJ0F3.js +63 -0
  21. package/dist/{cynefinDiagram-5FMLGOSQ-DOxnhBK2.js → cynefinDiagram-5FMLGOSQ-BkBjEY9l.js} +1 -1
  22. package/dist/{dagre-GXQ25YYZ-D1AhEfpM.js → dagre-GXQ25YYZ-D-HEaW4I.js} +1 -1
  23. package/dist/{data-grid-overlay-editor-B3KXkZvo.js → data-grid-overlay-editor-Bps1p6jQ.js} +1 -1
  24. package/dist/{diagram-S7CK7UJ4-DV_GebF_.js → diagram-S7CK7UJ4-Bn-oF-rB.js} +1 -1
  25. package/dist/{diagram-UQ7AKVKN-6dNzGFfD.js → diagram-UQ7AKVKN-BpzzXWBj.js} +1 -1
  26. package/dist/{diagram-VX7I27RA-DUh9jsfi.js → diagram-VX7I27RA-COOtvfBP.js} +1 -1
  27. package/dist/{diagram-Z3DM3KII-Cug-qcQ8.js → diagram-Z3DM3KII-K5cXvbrl.js} +1 -1
  28. package/dist/{dialog-DVRfQuhD.js → dialog-DsZ49mmU.js} +26 -26
  29. package/dist/{dist-BJtmSgcE.js → dist-11T5wq3_.js} +41 -40
  30. package/dist/{dist-B1M0bGO3.js → dist-17ugwGZc.js} +59 -58
  31. package/dist/{dist-D7mrh5sO.js → dist-7cRjf--y.js} +135 -134
  32. package/dist/{dist-Ck_C32ye.js → dist-B8pkfkzc.js} +31 -30
  33. package/dist/{dist-Ba2VIn1K.js → dist-B9UoM_wq.js} +54 -53
  34. package/dist/{dist-KN80qWCP.js → dist-BGuMTs1i.js} +118 -117
  35. package/dist/{dist-T5rh6JvL.js → dist-BHW11fni.js} +18 -17
  36. package/dist/dist-BLY4m1Wi.js +850 -0
  37. package/dist/{dist-Bj4bmwUm.js → dist-BNlcVoxs.js} +31 -30
  38. package/dist/{dist-BA13RJj5.js → dist-BQYe5Bju.js} +47 -46
  39. package/dist/{dist-OUle2RT7.js → dist-BX1mn8na.js} +297 -297
  40. package/dist/{dist-CTi5FTiV.js → dist-Bh0PTKUW.js} +108 -107
  41. package/dist/{dist-D9Q3xjiP.js → dist-CKaXK92p.js} +56 -55
  42. package/dist/{dist-DYXM73-k.js → dist-CLhwfhpJ.js} +58 -57
  43. package/dist/{dist-BmS-ZGjl.js → dist-CYeqK4Xw.js} +1854 -2702
  44. package/dist/{dist-D1fnFp1J.js → dist-Cxlp3WH6.js} +16 -15
  45. package/dist/{dist-DVVwOfrD.js → dist-DSJPGj42.js} +64 -63
  46. package/dist/{dist-Bzogh7CW.js → dist-DU9ICsWZ.js} +93 -92
  47. package/dist/{dist-DjeybPOb.js → dist-DWv0ALBi.js} +47 -46
  48. package/dist/{dist-D3x9__Fu.js → dist-DiBpWEsB.js} +39 -38
  49. package/dist/{dist-DtGn9N4h.js → dist-DiLFTlnl.js} +165 -165
  50. package/dist/{dist-DTv9KkpW.js → dist-cVDV5IuI.js} +26 -25
  51. package/dist/{dist-DP60Ubh8.js → dist-fRfaOoq8.js} +44 -43
  52. package/dist/{dist-O0qFpEJh.js → dist-gTTI-9Px.js} +66 -65
  53. package/dist/{dropdown-menu-dlEm41Bt.js → dropdown-menu-CSNdPSnS.js} +2886 -1529
  54. package/dist/{ebnfDiagram-PWID7BFC-d5LKx7Vb.js → ebnfDiagram-PWID7BFC-BI1ZmjVm.js} +2 -2
  55. package/dist/{erDiagram-RLTQ6QDP-BwvlkcID.js → erDiagram-RLTQ6QDP-BtWjj9xy.js} +1 -1
  56. package/dist/{error-banner-DxJ3s8YO.js → error-banner-IsonnvA0.js} +47 -46
  57. package/dist/error-entries-CRPfxMqm.js +2505 -0
  58. package/dist/{esm-Bbw_Njjx.js → esm-BgKjMvWw.js} +389 -388
  59. package/dist/{esm-mDQNEFe_.js → esm-CHjVSexr.js} +305 -306
  60. package/dist/{feedback-button-UsovT9sL.js → feedback-button-2ycmR9GG.js} +112 -112
  61. package/dist/{flowDiagram-HODETNUW-CJcSoFer.js → flowDiagram-HODETNUW-DQvZh96A.js} +2 -2
  62. package/dist/{formats-Ry7c-aIV.js → formats-BK4VefeF.js} +6 -6
  63. package/dist/{glide-data-editor-CRd8kBSp.js → glide-data-editor-Buj2OZjL.js} +99 -99
  64. package/dist/{glide-utils-D98laidb.js → glide-utils-CQddGpa-.js} +3 -3
  65. package/dist/{globals-BDWrOstF.js → globals-B-14fUeb.js} +3 -3
  66. package/dist/{error-entries-CVUHA5r_.js → html-to-image-CgAnxFi8.js} +26314 -25474
  67. package/dist/{infoDiagram-27XIBGKW-Cezgppw3.js → infoDiagram-27XIBGKW-BdAObnc_.js} +1 -1
  68. package/dist/{ishikawaDiagram-5VMMS53U-BahZQwJz.js → ishikawaDiagram-5VMMS53U-DP-jE8dw.js} +1 -1
  69. package/dist/{kanban-definition-UXKFOSKX-Cvfn_Obm.js → kanban-definition-UXKFOSKX-BkMgPjfm.js} +1 -1
  70. package/dist/{loader-DOVB0Syl.js → loader-BisjOLiW.js} +1 -1
  71. package/dist/main.js +2996 -2992
  72. package/dist/{mermaid-BrdwbArF.js → mermaid-B-OFqheA.js} +36 -36
  73. package/dist/{mindmap-definition-YA3MSWOX-uB4B2d-J.js → mindmap-definition-YA3MSWOX-Du7toAZX.js} +1 -1
  74. package/dist/{number-overlay-editor-Bp9a4z5Q.js → number-overlay-editor-ZVFcJ7_u.js} +1 -1
  75. package/dist/{dist-CThPVKaP.js → objectWithoutPropertiesLoose-ai5NUqGa.js} +1139 -1120
  76. package/dist/{pegDiagram-XKGWAZYB-CYaIwAmH.js → pegDiagram-XKGWAZYB-CX_729j0.js} +2 -2
  77. package/dist/{pieDiagram-E7YTZNPT-BJ1oUxVv.js → pieDiagram-E7YTZNPT-dtTFJcVI.js} +1 -1
  78. package/dist/{process-output-SjJxB1wh.js → process-output-Bmev5azU.js} +5 -5
  79. package/dist/{railroadDiagram-O6MQD6OU-BqKSaBux.js → railroadDiagram-O6MQD6OU-Dsc2Cf4c.js} +2 -2
  80. package/dist/{requirementDiagram-BXWQKSXE-DwFhgDhH.js → requirementDiagram-BXWQKSXE-D3g0c60I.js} +1 -1
  81. package/dist/{reveal-component-ov3pS-oO.js → reveal-component-BWz1KjWe.js} +725 -725
  82. package/dist/schemas-CdscWNy_.js +4747 -0
  83. package/dist/select-BSxlITBo.js +1200 -0
  84. package/dist/{sequenceDiagram-WJ2MYXX4-L7ENjfKF.js → sequenceDiagram-WJ2MYXX4-w1pWbIpk.js} +1 -1
  85. package/dist/{spec-BcJ9ncAY.js → spec-Dq8RNplp.js} +4 -4
  86. package/dist/{stateDiagram-D77RDMKH-CVf88u-p.js → stateDiagram-D77RDMKH-BCv7kP4H.js} +2 -2
  87. package/dist/{stateDiagram-v2-MP3YSRHH-DvpkQ1V6.js → stateDiagram-v2-MP3YSRHH-D1cTOt0x.js} +2 -2
  88. package/dist/static-state-BldGd99T.js +72 -0
  89. package/dist/strings-BGW-fXVJ.js +507 -0
  90. package/dist/{swimlanes-42K2YHIH-DIuFHbVE.js → swimlanes-42K2YHIH-DNO6jDnd.js} +1 -1
  91. package/dist/{swimlanesDiagram-VR7AAH4N-CAqHAziW.js → swimlanesDiagram-VR7AAH4N-CkSWsxYJ.js} +2 -2
  92. package/dist/{swiper-component-BVfnhbnt.js → swiper-component-Dir1o8ml.js} +2 -2
  93. package/dist/{timeline-definition-24CTP7MA-xO4EQqBm.js → timeline-definition-24CTP7MA-DQvqGFM9.js} +1 -1
  94. package/dist/toast-BWIPi3aF.js +491 -0
  95. package/dist/{tooltip-s4zZxwKe.js → tooltip-C3UnvsRe.js} +58 -58
  96. package/dist/use-restore-focus-BWO0z1lo.js +1672 -0
  97. package/dist/{useAsyncData-Dqw22wZQ.js → useAsyncData-DsZMvNXn.js} +1 -1
  98. package/dist/{useDateFormatter-D3Tkfzej.js → useDateFormatter-ChB4eyim.js} +2 -2
  99. package/dist/{useDeepCompareMemoize-D3gozcjJ.js → useDeepCompareMemoize-KMBBux8C.js} +1 -1
  100. package/dist/{useIframeCapabilities-6a_yDNXp.js → useIframeCapabilities-cMNQ80CK.js} +1 -1
  101. package/dist/useLifecycle-BquH9ET-.js +112 -0
  102. package/dist/useTheme-B9C1JIy9.js +307 -0
  103. package/dist/utils-DXkj82sK.js +813 -0
  104. package/dist/{vega-component-Blvspl7v.js → vega-component-9NOEITbg.js} +55 -54
  105. package/dist/{vennDiagram-4TSXK5OY-DzCi-lRh.js → vennDiagram-4TSXK5OY-BfzXp4SH.js} +1 -1
  106. package/dist/{wardleyDiagram-VM6X3IG4-CW48xa0n.js → wardleyDiagram-VM6X3IG4-CiqEE8eq.js} +1 -1
  107. package/dist/{xychartDiagram-S5SC5T6Z-UPxGGI2B.js → xychartDiagram-S5SC5T6Z-BTIHCVOI.js} +1 -1
  108. package/package.json +1 -1
  109. package/src/components/editor/cell/__tests__/StagedAICell.test.tsx +1 -1
  110. package/src/components/editor/cell/code/cell-editor.tsx +13 -36
  111. package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +1 -1
  112. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +11 -5
  113. package/src/components/editor/notebook-cell.tsx +0 -1
  114. package/src/components/scratchpad/scratchpad.test.tsx +3 -11
  115. package/src/components/scratchpad/scratchpad.tsx +24 -22
  116. package/src/components/scratchpad/state.ts +7 -0
  117. package/src/core/ai/__tests__/staged-cells.test.ts +6 -8
  118. package/src/core/ai/staged-cells.ts +4 -2
  119. package/src/core/cells/__tests__/cells.test.ts +44 -60
  120. package/src/core/cells/__tests__/document.test.ts +1 -139
  121. package/src/core/cells/__tests__/notebook-outline.test.ts +8 -6
  122. package/src/core/cells/actions.ts +39 -0
  123. package/src/core/cells/cells.ts +15 -35
  124. package/src/core/cells/document.ts +9 -84
  125. package/src/core/codemirror/__tests__/format.test.ts +0 -34
  126. package/src/core/codemirror/cells/extensions.ts +20 -18
  127. package/src/core/codemirror/cells/state.ts +0 -5
  128. package/src/core/codemirror/format.ts +1 -19
  129. package/src/core/codemirror/misc/__tests__/paste.test.ts +3 -1
  130. package/src/core/codemirror/misc/paste.ts +1 -1
  131. package/src/core/notebook/document/__tests__/codemirror.test.ts +172 -0
  132. package/src/stories/layout/vertical/one-column.stories.tsx +26 -18
  133. package/dist/html-to-image--E3uFbJ9.js +0 -3348
  134. package/dist/label-Qvw1E97W.js +0 -281
  135. package/dist/objectWithoutPropertiesLoose-BRDcTsfB.js +0 -23
  136. package/dist/select-2KOiReNY.js +0 -1423
  137. package/dist/toast-B5t9o6s_.js +0 -1848
  138. package/dist/use-restore-focus-BgDTd2tc.js +0 -6418
  139. package/dist/useLifecycle-CaZi4wTw.js +0 -172
  140. package/dist/useTheme-TzPgWXwB.js +0 -1114
@@ -1445,18 +1445,49 @@ function ze(e, t, n, r) {
1445
1445
  ], i[3] = r, i[4] = e, i[5] = t, i[6] = c, i[7] = l) : (c = i[6], l = i[7]), (0, p.useEffect)(c, l);
1446
1446
  }
1447
1447
  //#endregion
1448
+ //#region ../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
1449
+ var Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ve = r, He = (e, t) => (n) => {
1450
+ if (t?.variants == null) return Ve(e, n?.class, n?.className);
1451
+ let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
1452
+ let t = n?.[e], a = i?.[e];
1453
+ if (t === null) return null;
1454
+ let o = Be(t) || Be(a);
1455
+ return r[e][o];
1456
+ }), o = n && Object.entries(n).reduce((e, t) => {
1457
+ let [n, r] = t;
1458
+ return r === void 0 || (e[n] = r), e;
1459
+ }, {});
1460
+ return Ve(e, a, t?.compoundVariants?.reduce((e, t) => {
1461
+ let { class: n, className: r, ...a } = t;
1462
+ return Object.entries(a).every((e) => {
1463
+ let [t, n] = e;
1464
+ return Array.isArray(n) ? n.includes({
1465
+ ...i,
1466
+ ...o
1467
+ }[t]) : {
1468
+ ...i,
1469
+ ...o
1470
+ }[t] === n;
1471
+ }) ? [
1472
+ ...e,
1473
+ n,
1474
+ r
1475
+ ] : e;
1476
+ }, []), n?.class, n?.className);
1477
+ };
1478
+ //#endregion
1448
1479
  //#region src/core/hotkeys/shortcuts.ts
1449
- function Be() {
1480
+ function Ue() {
1450
1481
  if (typeof window > "u") return f.warn("isPlatformMac() called without window"), !1;
1451
1482
  let e = window.navigator.userAgentData ? window.navigator.userAgentData.platform : window.navigator.platform;
1452
1483
  return /mac/i.test(e);
1453
1484
  }
1454
- function Ve() {
1485
+ function We() {
1455
1486
  if (typeof window > "u") return f.warn("isPlatformWindows() called without window"), !1;
1456
1487
  let e = window.navigator.userAgentData ? window.navigator.userAgentData.platform : window.navigator.platform;
1457
1488
  return /win/i.test(e);
1458
1489
  }
1459
- function He(e, t) {
1490
+ function Ge(e, t) {
1460
1491
  let n = !0;
1461
1492
  for (let r of e) {
1462
1493
  switch (r) {
@@ -1484,7 +1515,7 @@ function He(e, t) {
1484
1515
  }
1485
1516
  return e.includes("shift") || (n &&= !t.shiftKey), !e.includes("ctrl") && !e.includes("mod") && (n &&= !t.ctrlKey), !e.includes("meta") && !e.includes("mod") && (n &&= !t.metaKey), e.includes("alt") || (n &&= !t.altKey), n;
1486
1517
  }
1487
- function Ue(e) {
1518
+ function Ke(e) {
1488
1519
  return {
1489
1520
  control: "ctrl",
1490
1521
  command: "mod",
@@ -1493,17 +1524,17 @@ function Ue(e) {
1493
1524
  return: "enter"
1494
1525
  }[e.toLowerCase()] || e.toLowerCase();
1495
1526
  }
1496
- function We(e) {
1527
+ function qe(e) {
1497
1528
  if (e === Q || e === "") return () => !1;
1498
- let t = e.includes("+") ? "+" : "-", n = e.split(t).map(Ue);
1499
- return (e) => He(n, e);
1529
+ let t = e.includes("+") ? "+" : "-", n = e.split(t).map(Ke);
1530
+ return (e) => Ge(n, e);
1500
1531
  }
1501
- function Ge() {
1502
- return Be() ? "mac" : Ve() ? "windows" : "linux";
1532
+ function Je() {
1533
+ return Ue() ? "mac" : We() ? "windows" : "linux";
1503
1534
  }
1504
1535
  //#endregion
1505
1536
  //#region src/core/hotkeys/hotkeys.ts
1506
- var Q = Symbol("NOT_SET"), Ke = {
1537
+ var Q = Symbol("NOT_SET"), Ye = {
1507
1538
  "cell.focusUp": {
1508
1539
  name: "Go to previous cell",
1509
1540
  group: "Navigation",
@@ -1934,15 +1965,15 @@ var Q = Symbol("NOT_SET"), Ke = {
1934
1965
  group: "Command",
1935
1966
  key: "v"
1936
1967
  }
1937
- }, qe = class e {
1968
+ }, Xe = class e {
1938
1969
  mod;
1939
1970
  platform;
1940
1971
  static create(t) {
1941
- return new e(Ke, { platform: t });
1972
+ return new e(Ye, { platform: t });
1942
1973
  }
1943
1974
  hotkeys;
1944
1975
  constructor(e, t = {}) {
1945
- this.hotkeys = e, this.platform = t.platform ?? Ge(), this.mod = this.platform === "mac" ? "Cmd" : "Ctrl";
1976
+ this.hotkeys = e, this.platform = t.platform ?? Je(), this.mod = this.platform === "mac" ? "Cmd" : "Ctrl";
1946
1977
  }
1947
1978
  iterate() {
1948
1979
  return a.keys(this.hotkeys);
@@ -1972,55 +2003,27 @@ var Q = Symbol("NOT_SET"), Ke = {
1972
2003
  getHotkeyGroups() {
1973
2004
  return a.groupBy(a.entries(this.hotkeys), ([, e]) => e.group, ([e]) => e);
1974
2005
  }
1975
- }, Je = class extends qe {
2006
+ }, Ze = class extends Xe {
1976
2007
  overrides;
1977
2008
  constructor(e, t = {}) {
1978
- super(Ke, t), this.overrides = e;
2009
+ super(Ye, t), this.overrides = e;
1979
2010
  }
1980
2011
  getHotkey(e) {
1981
2012
  let t = super.getHotkey(e), n = this.overrides[e];
1982
2013
  return {
1983
2014
  name: t.name,
1984
- key: n ? Xe(n) : t.key,
2015
+ key: n ? $e(n) : t.key,
1985
2016
  additionalKeywords: t.additionalKeywords
1986
2017
  };
1987
2018
  }
1988
- }, Ye = /^(cmd|ctrl|alt|shift|meta|mod)$/i;
1989
- function Xe(e) {
2019
+ }, Qe = /^(cmd|ctrl|alt|shift|meta|mod)$/i;
2020
+ function $e(e) {
1990
2021
  let t = e.split("-"), n = t[t.length - 1];
1991
- return n.length > 1 && !Ye.test(n) && (t[t.length - 1] = n.charAt(0).toUpperCase() + n.slice(1)), t.join("-");
2022
+ return n.length > 1 && !Qe.test(n) && (t[t.length - 1] = n.charAt(0).toUpperCase() + n.slice(1)), t.join("-");
1992
2023
  }
1993
2024
  //#endregion
1994
- //#region ../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
1995
- var Ze = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Qe = r, $e = (e, t) => (n) => {
1996
- if (t?.variants == null) return Qe(e, n?.class, n?.className);
1997
- let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
1998
- let t = n?.[e], a = i?.[e];
1999
- if (t === null) return null;
2000
- let o = Ze(t) || Ze(a);
2001
- return r[e][o];
2002
- }), o = n && Object.entries(n).reduce((e, t) => {
2003
- let [n, r] = t;
2004
- return r === void 0 || (e[n] = r), e;
2005
- }, {});
2006
- return Qe(e, a, t?.compoundVariants?.reduce((e, t) => {
2007
- let { class: n, className: r, ...a } = t;
2008
- return Object.entries(a).every((e) => {
2009
- let [t, n] = e;
2010
- return Array.isArray(n) ? n.includes({
2011
- ...i,
2012
- ...o
2013
- }[t]) : {
2014
- ...i,
2015
- ...o
2016
- }[t] === n;
2017
- }) ? [
2018
- ...e,
2019
- n,
2020
- r
2021
- ] : e;
2022
- }, []), n?.class, n?.className);
2023
- }, et = i(), $ = "active:shadow-none", tt = $e(W("disabled:opacity-50 disabled:pointer-events-none", "inline-flex items-center justify-center rounded-md text-sm font-medium focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background", "forced-color-adjust-none forced-colors:border-[ButtonText] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText] forced-colors:hover:bg-[Highlight] forced-colors:hover:text-[HighlightText] forced-colors:disabled:border-[GrayText] forced-colors:disabled:text-[GrayText]"), {
2025
+ //#region src/components/ui/button.tsx
2026
+ var et = i(), $ = "active:shadow-none", tt = He(W("disabled:opacity-50 disabled:pointer-events-none", "inline-flex items-center justify-center rounded-md text-sm font-medium focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background", "forced-color-adjust-none forced-colors:border-[ButtonText] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText] forced-colors:hover:bg-[Highlight] forced-colors:hover:text-[HighlightText] forced-colors:disabled:border-[GrayText] forced-colors:disabled:text-[GrayText]"), {
2024
2027
  variants: {
2025
2028
  variant: {
2026
2029
  default: W("bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs border border-primary", $),
@@ -2056,7 +2059,7 @@ var Ze = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Qe = r, $e =
2056
2059
  n[7] === Symbol.for("react.memo_cache_sentinel") ? (d = () => u.current, n[7] = d) : d = n[7], p.useImperativeHandle(t, d);
2057
2060
  let f;
2058
2061
  n[8] === i ? f = n[9] : (f = (e) => {
2059
- !i || e.defaultPrevented || G.shouldIgnoreKeyboardEvent(e) || We(i)(e) && (e.preventDefault(), e.stopPropagation(), u?.current && !u.current.disabled && u.current.click());
2062
+ !i || e.defaultPrevented || G.shouldIgnoreKeyboardEvent(e) || qe(i)(e) && (e.preventDefault(), e.stopPropagation(), u?.current && !u.current.disabled && u.current.click());
2060
2063
  }, n[8] = i, n[9] = f), ze(document, "keydown", f);
2061
2064
  let h = l ? we : "button", g;
2062
2065
  n[10] !== r || n[11] !== a.disabled || n[12] !== o || n[13] !== c ? (g = W(tt({
@@ -2074,4 +2077,4 @@ var Ze = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Qe = r, $e =
2074
2077
  });
2075
2078
  nt.displayName = "Button";
2076
2079
  //#endregion
2077
- export { o as _, Je as a, ze as c, Ee as d, J as f, f as g, W as h, Q as i, we as l, G as m, tt as n, Be as o, Y as p, $e as r, Ge as s, nt as t, Ce as u, s as v };
2080
+ export { o as _, Ue as a, ze as c, Ee as d, J as f, f as g, W as h, Ze as i, we as l, G as m, tt as n, Je as o, Y as p, Q as r, He as s, nt as t, Ce as u, s as v };
@@ -1,4 +1,4 @@
1
- import { g as e } from "./button-BQRdqQi1.js";
1
+ import { g as e } from "./button-B6RjDKJx.js";
2
2
  import { n as t } from "./once-NnpX_HnX.js";
3
3
  //#region src/utils/capabilities.ts
4
4
  function n(e) {