@vite-hub/ui 0.7.0 → 0.8.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 (112) hide show
  1. package/README.md +3 -3
  2. package/dist/{Chat-BZxkf3Tt.js → Chat-CuSthJVg.js} +1 -1
  3. package/dist/{ChatMessage-Blr5F-zi.js → ChatMessage-CFQs0v4N.js} +1 -1
  4. package/dist/{CodeBlockTitle-DYrYpc1U.js → CodeBlockTitle-DIu8Ef3V.js} +1 -1
  5. package/dist/{CommentRow-ViZ7r8nr.js → CommentRow-XY3FNp30.js} +2 -2
  6. package/dist/CopyButton-Bs6DT-Z8.js +188 -0
  7. package/dist/{Markdown-_w7feFzl.js → Markdown-Da5t-931.js} +1 -1
  8. package/dist/{MarkdownCodeBlock-B4j7x0H6.js → MarkdownCodeBlock-BWDLOWPO.js} +1 -1
  9. package/dist/{MessageParts-FVyYZNsn.js → MessageParts-CyJLG34y.js} +1 -1
  10. package/dist/{MorphText-CYTndbyp.js → MorphText-B6MWdeIv.js} +1 -1
  11. package/dist/{RollNumber-Bo2tzfAp.js → RollNumber-CnF52zJM.js} +1 -1
  12. package/dist/{motion-dPwxx3Wk.js → SwapIcon-CUIq1TU5.js} +2 -11
  13. package/dist/{agent-session-DhlTKCQG.js → agent-session-2j2gbGpp.js} +1 -1
  14. package/dist/{avatar-stack-nQErr0qn.js → avatar-stack-CoLlsmwJ.js} +1 -1
  15. package/dist/{chat-session-hjZRL6jY.js → chat-session-cxUzvwdj.js} +1 -1
  16. package/dist/{code-block-Bp8y-XJp.d.ts → code-block-BqOEVWPh.d.ts} +1 -1
  17. package/dist/{comment-composer-CIsbz-78.d.ts → comment-composer-CsVOvG9j.d.ts} +3 -3
  18. package/dist/{comment-composer-BUt6vbnr.js → comment-composer-D_mcH3Ts.js} +5 -5
  19. package/dist/{comment-layer-BlVNORgj.d.ts → comment-layer-C3xmg-0_.d.ts} +6 -6
  20. package/dist/{comment-layer-Ck2H24oJ.js → comment-layer-Ci6ipGi2.js} +9 -9
  21. package/dist/{comment-panel-Djx-KxVa.d.ts → comment-panel-DxN21VoY.d.ts} +9 -9
  22. package/dist/{comment-selection-bar-CbOEI98x.d.ts → comment-selection-bar-B_bchB2O.d.ts} +1 -1
  23. package/dist/{comment-selection-bar-CxPkJxVl.js → comment-selection-bar-DZAtiRZ9.js} +1 -2
  24. package/dist/{comment-thread-X6gYMNay.d.ts → comment-thread-BmsqcjVQ.d.ts} +4 -4
  25. package/dist/{comment-thread-C_Q4UDaV.js → comment-thread-BzOZVqF2.js} +8 -8
  26. package/dist/{comments-B1itauwb.d.ts → comments-BU8cTt5o.d.ts} +12 -14
  27. package/dist/{components-CM5mZe0a.js → components-B_2Q0dJ3.js} +2 -2
  28. package/dist/{config-CFwvNt4Y.js → config-BDQYUjjp.js} +3 -3
  29. package/dist/{drop-field-DKpYQ3tO.js → drop-field-DeIvKoJs.js} +1 -1
  30. package/dist/{editor-DJPUs1nt.js → editor-hXea1i46.js} +2 -2
  31. package/dist/editor.js +1 -1
  32. package/dist/{hold-to-delete-CcQbfiQx.js → hold-to-delete-D1Vy40w5.js} +30 -3
  33. package/dist/{hold-to-delete-cOPqQ9FJ.js → hold-to-delete-DazElJT2.js} +1 -1
  34. package/dist/{index-9Z6Gwtnf.d.ts → index-CffOzibW.d.ts} +1 -1
  35. package/dist/index.d.ts +32 -32
  36. package/dist/index.js +26 -26
  37. package/dist/{markdown-DDyOdYq_.js → markdown-_0HhbsOo.js} +2 -2
  38. package/dist/markdown-editor.js +1 -1
  39. package/dist/markdown.js +1 -1
  40. package/dist/motion/core.d.ts +1 -1
  41. package/dist/motion/core.js +4 -4
  42. package/dist/{motion-itHFtXwA.js → motion-BhARaNBB.js} +1 -1
  43. package/dist/{motion-core-BdTfxAhY.js → motion-core-JZZiPKEk.js} +57 -72
  44. package/dist/{motion-core-BfIefToe.d.ts → motion-core-gfsTPLbh.d.ts} +5 -1
  45. package/dist/{motion-list-BBbz93WT.js → motion-list-9vD1hSS0.js} +1 -1
  46. package/dist/motion.d.ts +1 -1
  47. package/dist/motion.js +5 -5
  48. package/dist/{nuxt-ui-CPdiTwwD.js → nuxt-ui-D3Qda35W.js} +1 -1
  49. package/dist/nuxt.js +0 -1
  50. package/dist/parts/components/agent-session.js +1 -1
  51. package/dist/parts/components/avatar-stack.js +1 -1
  52. package/dist/parts/components/chat-message.js +1 -1
  53. package/dist/parts/components/chat-session.js +1 -1
  54. package/dist/parts/components/chat.js +1 -1
  55. package/dist/parts/components/code-block.d.ts +1 -1
  56. package/dist/parts/components/code-block.js +1 -1
  57. package/dist/parts/components/comment-composer.d.ts +1 -1
  58. package/dist/parts/components/comment-composer.js +1 -1
  59. package/dist/parts/components/comment-layer.d.ts +1 -1
  60. package/dist/parts/components/comment-layer.js +1 -1
  61. package/dist/parts/components/comment-panel.d.ts +1 -1
  62. package/dist/parts/components/comment-panel.js +5 -5
  63. package/dist/parts/components/comment-selection-bar.d.ts +1 -1
  64. package/dist/parts/components/comment-selection-bar.js +1 -1
  65. package/dist/parts/components/comment-thread.d.ts +1 -1
  66. package/dist/parts/components/comment-thread.js +1 -1
  67. package/dist/parts/components/comments.d.ts +8 -8
  68. package/dist/parts/components/comments.js +5 -6
  69. package/dist/parts/components/copy-button.js +1 -3
  70. package/dist/parts/components/drop-field.js +1 -1
  71. package/dist/parts/components/hold-to-delete.js +1 -1
  72. package/dist/parts/components/markdown.js +1 -1
  73. package/dist/parts/components/message-parts.js +1 -1
  74. package/dist/parts/components/motion-list.d.ts +1 -1
  75. package/dist/parts/components/motion-list.js +1 -1
  76. package/dist/parts/components/motion.d.ts +2 -2
  77. package/dist/parts/components/motion.js +12 -3
  78. package/dist/parts/components/progress.js +1 -1
  79. package/dist/parts/components/sync-status.js +1 -1
  80. package/dist/parts/workspace/browser-support-notice.d.ts +1 -1
  81. package/dist/parts/workspace/browser-support-notice.js +4 -4
  82. package/dist/parts/workspace/connect-panel.js +1 -1
  83. package/dist/parts/workspace/runners/web-container.js +1 -1
  84. package/dist/parts/workspace/workspace-bar.js +1 -1
  85. package/dist/parts/workspace/workspace-editor-head.js +1 -1
  86. package/dist/parts/workspace/workspace-examples.js +1 -1
  87. package/dist/parts/workspace/workspace-guide.d.ts +1 -1
  88. package/dist/parts/workspace/workspace-guide.js +1 -1
  89. package/dist/parts/workspace/workspace-preview.d.ts +1 -1
  90. package/dist/parts/workspace/workspace-preview.js +1 -1
  91. package/dist/parts/workspace/workspace-shell.js +1 -1
  92. package/dist/parts/workspace/workspace-sidebar.d.ts +2 -2
  93. package/dist/parts/workspace/workspace-sidebar.js +2 -2
  94. package/dist/parts/workspace/workspace-start.d.ts +1 -1
  95. package/dist/parts/workspace/workspace-start.js +1 -1
  96. package/dist/parts/workspace/workspace-steps.js +1 -1
  97. package/dist/parts/workspace/workspace.d.ts +2 -2
  98. package/dist/parts/workspace/workspace.js +3 -3
  99. package/dist/{progress-D_9sG648.js → progress-8P8RLYMy.js} +1 -1
  100. package/dist/{ring-DoL9jivj.js → ring-B0nZBnU0.js} +1 -1
  101. package/dist/runtime/nuxt-plugin.js +1 -1
  102. package/dist/styles.css +10 -12
  103. package/dist/{sync-status-BRroyOre.js → sync-status-B29eG_n-.js} +1 -1
  104. package/dist/{tween-lVMRCUEv.js → tween-1W-LlKk9.js} +5 -1
  105. package/dist/{types-BF_U0tgp.d.ts → types-CMU8Vmew.d.ts} +2 -5
  106. package/dist/{vue-DdYvDVOr.js → vue-BdA18K5-.js} +1 -1
  107. package/package.json +6 -9
  108. package/dist/CopyButton-Dtg_Oc9_.js +0 -115
  109. package/dist/announce-CJNXaYbT.js +0 -29
  110. package/dist/comment-send.css +0 -267
  111. package/dist/comments-BtD28xEn.js +0 -390
  112. package/dist/use-copy-DK1SSZkh.js +0 -66
@@ -1,6 +1,6 @@
1
- import { a as tween, c as createSpring, f as springs, h as prefersReducedMotion, i as playTween, l as getMotionSlowFactor, m as onReducedMotionChange, n as easeIn, o as isMotionOff, r as easeOut, t as cubicBezier, u as onEachFrame } from "./tween-lVMRCUEv.js";
2
- import { a as defineOwnEffect, c as motionEffectRegistrations, d as otherMotionLayer, f as writeMotionStyle, l as motionStateAttributes, n as visualCopy, o as handOffMotionEffects, r as claimMotionLayer, s as listMotionEffects, u as onMotionEffectsChange } from "./hold-to-delete-CcQbfiQx.js";
3
- import { a as isOwnNode, c as own, i as glyphNode, l as reduced, n as frameOf$2, o as motionSkipped, r as glyphMotionSkipped, s as openFrame, u as setText } from "./ring-DoL9jivj.js";
1
+ import { a as tween, c as createSpring, f as springs, h as prefersReducedMotion, i as playTween, l as getMotionSlowFactor, m as onReducedMotionChange, n as easeIn, o as isMotionOff, r as easeOut, t as cubicBezier, u as onEachFrame } from "./tween-1W-LlKk9.js";
2
+ import { a as defineOwnEffect, c as motionEffectRegistrations, d as otherMotionLayer, f as writeMotionStyle, l as motionStateAttributes, n as visualCopy, o as handOffMotionEffects, r as claimMotionLayer, s as listMotionEffects, u as onMotionEffectsChange } from "./hold-to-delete-D1Vy40w5.js";
3
+ import { a as isOwnNode, c as own, i as glyphNode, l as reduced, n as frameOf$2, o as motionSkipped, r as glyphMotionSkipped, s as openFrame, u as setText } from "./ring-B0nZBnU0.js";
4
4
  // src/motion/effects/divider.ts
5
5
  const springBack = {
6
6
  stiffness: 500,
@@ -1338,13 +1338,18 @@ function diffText(from, to) {
1338
1338
  const blur$1 = 6;
1339
1339
  const leave$3 = {
1340
1340
  duration: 200,
1341
- stagger: 30
1341
+ stagger: 30,
1342
+ spread: 120
1342
1343
  };
1343
1344
  const type = {
1344
1345
  duration: 240,
1345
1346
  lead: 30,
1346
- stagger: 55
1347
+ stagger: 55,
1348
+ spread: 240
1347
1349
  };
1350
+ function staggerOf(gap, spread, count) {
1351
+ return count > 1 ? Math.min(gap, spread / (count - 1)) : gap;
1352
+ }
1348
1353
  const crossfade$4 = 150;
1349
1354
  const morphs = /* @__PURE__ */ new WeakMap();
1350
1355
  /** The text that the element shows or moves to, when a morph runs on it. */
@@ -1489,6 +1494,7 @@ function morph(element, text, from) {
1489
1494
  const start = width.value;
1490
1495
  let step = end - typing.reduce((sum, letter) => sum + letter.node.offsetWidth, 0);
1491
1496
  const slow = getMotionSlowFactor();
1497
+ const stagger = staggerOf(type.stagger, type.spread, typing.length);
1492
1498
  typing.forEach((letter, index) => {
1493
1499
  step += letter.node.offsetWidth;
1494
1500
  const target = index === typing.length - 1 ? end : Math.max(step, index === 0 ? Math.min(start, end) : 0);
@@ -1497,7 +1503,7 @@ function morph(element, text, from) {
1497
1503
  letter.waiting = false;
1498
1504
  width.to(target);
1499
1505
  fadeIn(element, state, letter, letter.shown, type.duration, false);
1500
- }, (type.lead + index * type.stagger) * slow);
1506
+ }, (type.lead + index * stagger) * slow);
1501
1507
  state.timers.add(timer);
1502
1508
  });
1503
1509
  }
@@ -1519,6 +1525,7 @@ function leaveLetters(state, letters, reducedMotion) {
1519
1525
  left: letter.node.offsetLeft,
1520
1526
  top: letter.node.offsetTop
1521
1527
  }));
1528
+ const stagger = staggerOf(leave$3.stagger, leave$3.spread, placed.length);
1522
1529
  let order = 0;
1523
1530
  for (const { letter, left, top } of placed) {
1524
1531
  letter.fade?.stop();
@@ -1533,7 +1540,7 @@ function leaveLetters(state, letters, reducedMotion) {
1533
1540
  state.leaving.add(letter);
1534
1541
  letter.fade = tween(letter.shown, 0, {
1535
1542
  duration: reducedMotion ? crossfade$4 : leave$3.duration,
1536
- delay: reducedMotion ? 0 : order++ * leave$3.stagger,
1543
+ delay: reducedMotion ? 0 : order++ * stagger,
1537
1544
  ease: reducedMotion ? easeOut : easeIn
1538
1545
  }, (value) => paint$1(letter, value, reducedMotion), () => {
1539
1546
  letter.fade = void 0;
@@ -1942,9 +1949,6 @@ const indicatorItem = `${byRole}, [aria-selected], [aria-checked], [data-checked
1942
1949
  ].map((value) => `[data-state=${value}]`).join(", ")}`;
1943
1950
  const ownIndicator = "[data-motion-indicator], [data-slot=indicator]";
1944
1951
  const groupIndicator = `${ownIndicator}, [data-slot$="-indicator"]`;
1945
- const stretchPerSpeed$1 = .09;
1946
- const stretchMax$1 = .55;
1947
- const thinning = .25;
1948
1952
  const flights = /* @__PURE__ */ new WeakMap();
1949
1953
  const pending = /* @__PURE__ */ new Map();
1950
1954
  const observedItems = /* @__PURE__ */ new WeakSet();
@@ -1976,10 +1980,6 @@ function frameOf(group) {
1976
1980
  k: group.offsetWidth ? rect.width / group.offsetWidth : 1
1977
1981
  };
1978
1982
  }
1979
- /**
1980
- * The layout box of an element relative to the group, in CSS pixels. The size comes from layout and the center from the
1981
- * screen, so a press that scales an item around its center does not change it.
1982
- */
1983
1983
  function boxOf(element, frame) {
1984
1984
  const rect = element.getBoundingClientRect();
1985
1985
  const width = element.offsetWidth || rect.width / frame.k;
@@ -1991,19 +1991,10 @@ function boxOf(element, frame) {
1991
1991
  height
1992
1992
  };
1993
1993
  }
1994
- /** The indicator of `item`: its own one, or the one of the group that is in no item. */
1995
1994
  function indicatorOf(group, item) {
1996
1995
  for (const candidate of item.querySelectorAll(ownIndicator)) if (candidate.closest(anyGroup) === group && indicatorOwner(group, candidate) === item) return candidate;
1997
1996
  for (const candidate of group.querySelectorAll(groupIndicator)) if (candidate.closest(anyGroup) === group && !indicatorOwner(group, candidate)) return candidate;
1998
1997
  }
1999
- function innerBounds(group) {
2000
- const style = getComputedStyle(group);
2001
- const left = group.clientLeft + Number.parseFloat(style.paddingLeft);
2002
- const top = group.clientTop + Number.parseFloat(style.paddingTop);
2003
- const right = group.clientLeft + group.clientWidth - Number.parseFloat(style.paddingRight);
2004
- const bottom = group.clientTop + group.clientHeight - Number.parseFloat(style.paddingBottom);
2005
- return [[left, right], [top, bottom]];
2006
- }
2007
1998
  function pixels(value, size) {
2008
1999
  return value.endsWith("%") ? Number.parseFloat(value) / 100 * size : Number.parseFloat(value) || 0;
2009
2000
  }
@@ -2019,7 +2010,6 @@ function measureRest$1(flight) {
2019
2010
  flight.translate = [pixels(tx, flight.rest.width), pixels(ty, flight.rest.height)];
2020
2011
  flight.origin = [pixels(ox, flight.rest.width), pixels(oy, flight.rest.height)];
2021
2012
  }
2022
- /** The box of the indicator at rest in `to`, moved and resized to sit the same way in `from`. */
2023
2013
  function mapBox(rest, to, from) {
2024
2014
  const sx = to.width ? from.width / to.width : 1;
2025
2015
  const sy = to.height ? from.height / to.height : 1;
@@ -2041,24 +2031,9 @@ function queue(flight) {
2041
2031
  render(flight);
2042
2032
  });
2043
2033
  }
2044
- /**
2045
- * One axis of the box in flight: its start and size, longer by `along` of its size toward where it moves, thinner by a
2046
- * quarter of `across`, and kept inside `bounds` or the place at rest.
2047
- */
2048
- function stretch(start, size, velocity, along, across, bounds, restStart, restSize) {
2049
- const extra = along * size;
2050
- const low = Math.min(bounds[0], restStart, start);
2051
- const high = Math.max(bounds[1], restStart + restSize, start + size);
2052
- let from = velocity < 0 ? Math.max(low, start - extra) : start;
2053
- let to = velocity < 0 ? start + size : Math.min(high, start + size + extra);
2054
- const thin = (to - from) * across * thinning / 2;
2055
- from += thin;
2056
- to -= thin;
2057
- return [from, to - from];
2058
- }
2059
2034
  function render(flight) {
2060
2035
  if (!flight.ready) return;
2061
- const { element, rest, translate, origin, x, y, width, height, span } = flight;
2036
+ const { element, rest, translate, origin, x, y, width, height } = flight;
2062
2037
  if (!moving$1(flight)) {
2063
2038
  writeMotionStyle(element, {
2064
2039
  translate: null,
@@ -2067,14 +2042,10 @@ function render(flight) {
2067
2042
  land(flight);
2068
2043
  return;
2069
2044
  }
2070
- const fx = Math.min(stretchMax$1, Math.abs(x.velocity) / span[0] * stretchPerSpeed$1);
2071
- const fy = Math.min(stretchMax$1, Math.abs(y.velocity) / span[1] * stretchPerSpeed$1);
2072
- const [left, boxWidth] = stretch(x.value, width.value, x.velocity, fx, fy, flight.bounds[0], rest.x, rest.width);
2073
- const [top, boxHeight] = stretch(y.value, height.value, y.velocity, fy, fx, flight.bounds[1], rest.y, rest.height);
2074
- const scaleX = rest.width ? boxWidth / rest.width : 1;
2075
- const scaleY = rest.height ? boxHeight / rest.height : 1;
2076
- const tx = left - (rest.x - translate[0]) - origin[0] * (1 - scaleX);
2077
- const ty = top - (rest.y - translate[1]) - origin[1] * (1 - scaleY);
2045
+ const scaleX = rest.width ? width.value / rest.width : 1;
2046
+ const scaleY = rest.height ? height.value / rest.height : 1;
2047
+ const tx = x.value - (rest.x - translate[0]) - origin[0] * (1 - scaleX);
2048
+ const ty = y.value - (rest.y - translate[1]) - origin[1] * (1 - scaleY);
2078
2049
  writeMotionStyle(element, {
2079
2050
  translate: `${tx}px ${ty}px`,
2080
2051
  scale: `${scaleX} ${scaleY}`
@@ -2102,20 +2073,17 @@ function fly(group, element, from, to, copyOf) {
2102
2073
  },
2103
2074
  translate: [0, 0],
2104
2075
  origin: [0, 0],
2105
- span: [1, 1],
2106
- bounds: [[0, 0], [0, 0]],
2107
2076
  queued: false,
2108
- x: createSpring(0, () => queue(flight), springs.snappy),
2109
- y: createSpring(0, () => queue(flight), springs.snappy),
2110
- width: createSpring(0, () => queue(flight), springs.snappy),
2111
- height: createSpring(0, () => queue(flight), springs.snappy)
2077
+ x: createSpring(0, () => queue(flight), springs.glide),
2078
+ y: createSpring(0, () => queue(flight), springs.glide),
2079
+ width: createSpring(0, () => queue(flight), springs.glide),
2080
+ height: createSpring(0, () => queue(flight), springs.glide)
2112
2081
  };
2113
2082
  flights.set(group, flight);
2114
2083
  flight.ready = false;
2115
2084
  flight.element = element;
2116
2085
  flight.copyOf = copyOf;
2117
2086
  measureRest$1(flight);
2118
- flight.bounds = innerBounds(group);
2119
2087
  const { rest } = flight;
2120
2088
  if (!rest.width || !rest.height || !wasMoving && !from) {
2121
2089
  flight.ready = true;
@@ -2129,11 +2097,15 @@ function fly(group, element, from, to, copyOf) {
2129
2097
  flight.width.set(start.width);
2130
2098
  flight.height.set(start.height);
2131
2099
  }
2132
- flight.span = [Math.max(Math.abs(rest.x - flight.x.value), rest.width, 1), Math.max(Math.abs(rest.y - flight.y.value), rest.height, 1)];
2133
- flight.x.to(rest.x);
2134
- flight.y.to(rest.y);
2135
- flight.width.to(rest.width);
2136
- flight.height.to(rest.height);
2100
+ for (const [spring, target] of [
2101
+ [flight.x, rest.x],
2102
+ [flight.y, rest.y],
2103
+ [flight.width, rest.width],
2104
+ [flight.height, rest.height]
2105
+ ]) {
2106
+ spring.stop();
2107
+ spring.to(target);
2108
+ }
2137
2109
  flight.ready = true;
2138
2110
  render(flight);
2139
2111
  }
@@ -2174,7 +2146,6 @@ function adoptSheet(node) {
2174
2146
  if (!root.adoptedStyleSheets.includes(sheet)) root.adoptedStyleSheets = [...root.adoptedStyleSheets, sheet];
2175
2147
  }
2176
2148
  const clear = /^transparent$|^rgba\((?:[^,]+,){3}\s*0(?:\.0+)?\)$|\/\s*0(?:\.0+)?%?\s*\)$/;
2177
- /** A copy of the look that `to` has and `from` does not, behind the items, or nothing when they look the same. */
2178
2149
  function copyLook(group, from, to) {
2179
2150
  finishLook(from);
2180
2151
  finishLook(to);
@@ -3028,12 +2999,21 @@ const widen = {
3028
2999
  damping: 32
3029
3000
  };
3030
3001
  const narrow = 30;
3031
- const widenAfter = 120;
3032
- const labelAfterRise = 70;
3033
3002
  const labelAfterSlide = 40;
3034
- const sinkAfter = 90;
3035
- const goneAfter = 520;
3036
- const labelIn = .24;
3003
+ const tipPace = {
3004
+ widenAfter: 120,
3005
+ labelAfterRise: 70,
3006
+ labelIn: .24,
3007
+ sinkAfter: 90,
3008
+ goneAfter: 520
3009
+ };
3010
+ const appearPace = {
3011
+ widenAfter: 60,
3012
+ labelAfterRise: 40,
3013
+ labelIn: .18,
3014
+ sinkAfter: 50,
3015
+ goneAfter: 320
3016
+ };
3037
3017
  const labelOutOnSlide = .15;
3038
3018
  const labelOutOnLeave = .14;
3039
3019
  const crossfade$1 = .15;
@@ -3238,6 +3218,9 @@ function createBox(element, rest, trigger) {
3238
3218
  box.fade = createSpring(1, frame);
3239
3219
  return box;
3240
3220
  }
3221
+ function paceOf(box) {
3222
+ return box.handoff ? tipPace : appearPace;
3223
+ }
3241
3224
  function later(box, ms, step) {
3242
3225
  const timer = after(ms, () => {
3243
3226
  box.timers.delete(timer);
@@ -3369,7 +3352,7 @@ function start(element, tip) {
3369
3352
  preset: widen,
3370
3353
  velocity: values.width[1]
3371
3354
  });
3372
- later(box, labelAfterSlide, () => box.label.to(1, { tween: labelIn }));
3355
+ later(box, labelAfterSlide, () => box.label.to(1, { tween: tipPace.labelIn }));
3373
3356
  box.holding = false;
3374
3357
  draw(box);
3375
3358
  return;
@@ -3379,9 +3362,10 @@ function start(element, tip) {
3379
3362
  box.label.set(0);
3380
3363
  draw(box);
3381
3364
  along(box).to(vertical(box.side) ? rest.top + rest.height / 2 : rest.left + rest.width / 2, { preset: rise });
3382
- later(box, widenAfter, () => {
3365
+ const pace = paceOf(box);
3366
+ later(box, pace.widenAfter, () => {
3383
3367
  box.width.to(rest.width, { preset: widen });
3384
- later(box, labelAfterRise, () => box.label.to(1, { tween: labelIn }));
3368
+ later(box, pace.labelAfterRise, () => box.label.to(1, { tween: pace.labelIn }));
3385
3369
  });
3386
3370
  box.holding = false;
3387
3371
  }
@@ -3397,11 +3381,12 @@ function leaveGhost(box, reduced) {
3397
3381
  if (box.old) box.old.spring.to(0, { tween: labelOutOnLeave });
3398
3382
  box.label.to(0, { tween: labelOutOnLeave });
3399
3383
  box.width.to(Math.min(narrow, box.rest.width), { preset: widen });
3400
- later(box, sinkAfter, () => {
3384
+ const pace = paceOf(box);
3385
+ later(box, pace.sinkAfter, () => {
3401
3386
  if (handoff === box) handoff = void 0;
3402
3387
  along(box).to(hiddenCenter(box), { preset: rise });
3403
3388
  });
3404
- later(box, goneAfter, () => removeGhost(box));
3389
+ later(box, pace.goneAfter, () => removeGhost(box));
3405
3390
  }
3406
3391
  function leave(element, tip) {
3407
3392
  if (!tip.open) return;
@@ -3569,7 +3554,7 @@ function checkMoves() {
3569
3554
  box.old?.element.remove();
3570
3555
  blurOutOld(box, old, box.label.value);
3571
3556
  box.label.set(0);
3572
- later(box, labelAfterSlide, () => box.label.to(1, { tween: labelIn }));
3557
+ later(box, labelAfterSlide, () => box.label.to(1, { tween: paceOf(box).labelIn }));
3573
3558
  }
3574
3559
  }
3575
3560
  }
@@ -115,11 +115,15 @@ interface SpringPreset {
115
115
  }
116
116
  /** The named springs of docs/design/motion.md. Use them, not numbers of your own. */
117
117
  declare const springs: {
118
- /** Moves and resizes: an indicator that travels, a width that follows its label. */
118
+ /** Moves and resizes: a toast, a list row, a width that follows its label. `glide` moves a selection with no overshoot. */
119
119
  readonly snappy: {
120
120
  readonly stiffness: 520;
121
121
  readonly damping: 34;
122
122
  };
123
+ readonly glide: {
124
+ readonly stiffness: 800;
125
+ readonly damping: 57;
126
+ };
123
127
  /** Wobbles and settles: a toggled icon, a knob that lands. */
124
128
  readonly soft: {
125
129
  readonly stiffness: 380;
@@ -1,4 +1,4 @@
1
- import { r as createMotionList } from "./motion-core-BdTfxAhY.js";
1
+ import { r as createMotionList } from "./motion-core-JZZiPKEk.js";
2
2
  import { t as elementOf } from "./element-BpjNQvZ0.js";
3
3
  import { Fragment, createElementVNode, defineComponent, h, mergeProps, onBeforeUnmount, onBeforeUpdate, onUpdated, renderSlot, useSlots } from "vue";
4
4
  // registry/motion/MotionList.vue
package/dist/motion.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as createHoldToDelete, n as HoldToDeleteOptions, r as HoldToDeleteState, t as HoldToDelete } from "./hold-to-delete-CQc1JaG_.js";
2
- import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "./motion-core-BfIefToe.js";
2
+ import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "./motion-core-gfsTPLbh.js";
3
3
  import { a as MotionEffect, c as MotionStateAttribute, d as defineMotionEffect, f as listMotionEffects, i as MotionContentChange, l as MotionStateChange, m as writeMotionStyle, n as press, o as MotionPress, p as motionStateAttributes, r as setMotionPressMode, s as MotionRoot, t as MotionPressMode, u as MotionStyleProperty } from "./press-BuEC-XvZ.js";
4
4
  import { t as installMotion } from "./motion-BH6ShUam.js";
5
5
  export { type DropField, type DropFieldOptions, type HoldToDelete, type HoldToDeleteOptions, type HoldToDeleteState, type IconEnter, type IconExit, type InstallMotionOptions, type MotionContentChange, type MotionEffect, type MotionList, type MotionListOptions, type MotionListOrigin, type MotionListPlay, type MotionPress, type MotionPressMode, type MotionRoot, type MotionStateAttribute, type MotionStateChange, type MotionStyleProperty, type Progress, type ProgressOptions, type ProgressPhase, type Spring, type SpringFrame, type SpringPreset, type SpringTarget, type SwapIconOptions, type Travel, type TravelBox, type TravelOptions, appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
package/dist/motion.js CHANGED
@@ -1,6 +1,6 @@
1
- import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "./tween-lVMRCUEv.js";
2
- import { C as disclosure, E as divider, S as jelly, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "./motion-core-BdTfxAhY.js";
3
- import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "./hold-to-delete-CcQbfiQx.js";
4
- import { t as ring } from "./ring-DoL9jivj.js";
5
- import { t as installMotion } from "./motion-itHFtXwA.js";
1
+ import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "./hold-to-delete-D1Vy40w5.js";
2
+ import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "./tween-1W-LlKk9.js";
3
+ import { C as disclosure, E as divider, S as jelly, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "./motion-core-JZZiPKEk.js";
4
+ import { t as ring } from "./ring-B0nZBnU0.js";
5
+ import { t as installMotion } from "./motion-BhARaNBB.js";
6
6
  export { appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
@@ -3,7 +3,7 @@ import { defineAsyncComponent } from "vue";
3
3
  // src/internal/nuxt-ui.ts
4
4
  function uiSdk(name) {
5
5
  return defineAsyncComponent({
6
- loader: () => import("./components-CM5mZe0a.js").then((n) => n.t).then((parts) => parts.uiSdkComponents[name]),
6
+ loader: () => import("./components-B_2Q0dJ3.js").then((n) => n.t).then((parts) => parts.uiSdkComponents[name]),
7
7
  suspensible: false
8
8
  });
9
9
  }
package/dist/nuxt.js CHANGED
@@ -115,7 +115,6 @@ const partFamilies = {
115
115
  "CommentPin",
116
116
  "CommentReply",
117
117
  "CommentSelectionBar",
118
- "CommentSend",
119
118
  "CommentThread",
120
119
  "CommentToolbar"
121
120
  ],
@@ -1 +1 @@
1
- export { a as AgentSession, i as AgentSessionDetailsRow, r as AgentSessionDetailsSection, t as AgentSessionTimeline, s as AgentSessionTitle, n as AgentSessionWorkGroup, o as agentSessionProviderLabel } from "../../agent-session-DhlTKCQG.js";
1
+ export { a as AgentSession, i as AgentSessionDetailsRow, r as AgentSessionDetailsSection, t as AgentSessionTimeline, s as AgentSessionTitle, n as AgentSessionWorkGroup, o as agentSessionProviderLabel } from "../../agent-session-2j2gbGpp.js";
@@ -1 +1 @@
1
- export { t as AvatarStack } from "../../avatar-stack-nQErr0qn.js";
1
+ export { t as AvatarStack } from "../../avatar-stack-CoLlsmwJ.js";
@@ -1 +1 @@
1
- export { t as ChatMessage } from "../../ChatMessage-Blr5F-zi.js";
1
+ export { t as ChatMessage } from "../../ChatMessage-CFQs0v4N.js";
@@ -1 +1 @@
1
- export { t as ChatSession } from "../../chat-session-hjZRL6jY.js";
1
+ export { t as ChatSession } from "../../chat-session-cxUzvwdj.js";
@@ -1 +1 @@
1
- export { t as Chat, n as chatActivity } from "../../Chat-BZxkf3Tt.js";
1
+ export { t as Chat, n as chatActivity } from "../../Chat-CuSthJVg.js";
@@ -1,2 +1,2 @@
1
- import { _ as CodeBlockSize, a as _default$3, c as _default, d as CodeBlockCopyButtonProps, f as CodeBlockCopyButtonSlots, g as CodeBlockProps, h as CodeBlockLineSlots, i as _default$4, l as CodeBlockContentProps, m as CodeBlockLineProps, n as _default$6, o as _default$2, p as CodeBlockLineKind, r as _default$5, s as _default$1, t as _default$7, u as CodeBlockContentSlots, v as CodeBlockSlots, y as CodeBlockTone } from "../../code-block-Bp8y-XJp.js";
1
+ import { _ as CodeBlockSize, a as _default$3, c as _default, d as CodeBlockCopyButtonProps, f as CodeBlockCopyButtonSlots, g as CodeBlockProps, h as CodeBlockLineSlots, i as _default$4, l as CodeBlockContentProps, m as CodeBlockLineProps, n as _default$6, o as _default$2, p as CodeBlockLineKind, r as _default$5, s as _default$1, t as _default$7, u as CodeBlockContentSlots, v as CodeBlockSlots, y as CodeBlockTone } from "../../code-block-BqOEVWPh.js";
2
2
  export { _default as CodeBlock, _default$1 as CodeBlockActions, _default$2 as CodeBlockContent, type CodeBlockContentProps, type CodeBlockContentSlots, _default$3 as CodeBlockCopyButton, type CodeBlockCopyButtonProps, type CodeBlockCopyButtonSlots, _default$4 as CodeBlockFooter, _default$5 as CodeBlockHeader, _default$6 as CodeBlockLine, type CodeBlockLineKind, type CodeBlockLineProps, type CodeBlockLineSlots, type CodeBlockProps, type CodeBlockSize, type CodeBlockSlots, _default$7 as CodeBlockTitle, type CodeBlockTone };
@@ -1,4 +1,4 @@
1
1
  import { n as CodeBlockLine_default, r as CodeBlock_default, t as CodeBlockContent_default } from "../../CodeBlockContent-BjXJm8lO.js";
2
- import { i as CodeBlockActions_default, n as CodeBlockHeader_default, r as CodeBlockCopyButton_default, t as CodeBlockTitle_default } from "../../CodeBlockTitle-DYrYpc1U.js";
2
+ import { i as CodeBlockActions_default, n as CodeBlockHeader_default, r as CodeBlockCopyButton_default, t as CodeBlockTitle_default } from "../../CodeBlockTitle-DIu8Ef3V.js";
3
3
  import { t as CodeBlockFooter_default } from "../../code-block-CMERLfew.js";
4
4
  export { CodeBlock_default as CodeBlock, CodeBlockActions_default as CodeBlockActions, CodeBlockContent_default as CodeBlockContent, CodeBlockCopyButton_default as CodeBlockCopyButton, CodeBlockFooter_default as CodeBlockFooter, CodeBlockHeader_default as CodeBlockHeader, CodeBlockLine_default as CodeBlockLine, CodeBlockTitle_default as CodeBlockTitle };
@@ -1,2 +1,2 @@
1
- import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-CIsbz-78.js";
1
+ import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-CsVOvG9j.js";
2
2
  export { CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentMentionEmptyScope, CommentMentionItemScope };
@@ -1 +1 @@
1
- export { t as CommentComposer } from "../../comment-composer-BUt6vbnr.js";
1
+ export { t as CommentComposer } from "../../comment-composer-D_mcH3Ts.js";
@@ -1,2 +1,2 @@
1
- import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-BlVNORgj.js";
1
+ import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-C3xmg-0_.js";
2
2
  export { CommentLayer, CommentPlacement };
@@ -1 +1 @@
1
- export { t as CommentLayer } from "../../comment-layer-Ck2H24oJ.js";
1
+ export { t as CommentLayer } from "../../comment-layer-Ci6ipGi2.js";
@@ -1,2 +1,2 @@
1
- import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-Djx-KxVa.js";
1
+ import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-DxN21VoY.js";
2
2
  export { CommentGroup, CommentGroupSlotScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, CommentUpload };
@@ -1,11 +1,11 @@
1
- import { t as RollNumber_default } from "../../RollNumber-Bo2tzfAp.js";
1
+ import { t as RollNumber_default } from "../../RollNumber-CnF52zJM.js";
2
2
  import { a as useCommentsContext, i as useComments, o as commentThreadKey, r as provideComments, s as useSelectedComment } from "../../comments-BaSrroRV.js";
3
3
  import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
4
- import { n as rowSlotScope, r as useCommentAttachments, t as CommentRow_default } from "../../CommentRow-ViZ7r8nr.js";
5
- import { i as deliveryAttributes, n as CommentThread, r as commentTitle } from "../../comment-thread-C_Q4UDaV.js";
4
+ import { n as rowSlotScope, r as useCommentAttachments, t as CommentRow_default } from "../../CommentRow-XY3FNp30.js";
5
+ import { i as deliveryAttributes, n as CommentThread, r as commentTitle } from "../../comment-thread-BzOZVqF2.js";
6
6
  import { n as injectComments } from "../../comments-context-3js2YFl2.js";
7
- import { t as CommentComposer } from "../../comment-composer-BUt6vbnr.js";
8
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
7
+ import { t as CommentComposer } from "../../comment-composer-D_mcH3Ts.js";
8
+ import { t as useUIComponent } from "../../nuxt-ui-D3Qda35W.js";
9
9
  import { computed, defineComponent, h, nextTick, ref, watch } from "vue";
10
10
  // src/components/comment-panel.ts
11
11
  const listSlots = /* @__PURE__ */ new Set([
@@ -1,2 +1,2 @@
1
- import { t as CommentSelectionBar } from "../../comment-selection-bar-CbOEI98x.js";
1
+ import { t as CommentSelectionBar } from "../../comment-selection-bar-B_bchB2O.js";
2
2
  export { CommentSelectionBar };
@@ -1 +1 @@
1
- export { t as CommentSelectionBar } from "../../comment-selection-bar-CxPkJxVl.js";
1
+ export { t as CommentSelectionBar } from "../../comment-selection-bar-DZAtiRZ9.js";
@@ -1,2 +1,2 @@
1
- import { a as CommentReplySlots, c as CommentThreadSlotScope, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-X6gYMNay.js";
1
+ import { a as CommentReplySlots, c as CommentThreadSlotScope, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-BmsqcjVQ.js";
2
2
  export { CommentAttachmentLink, CommentAttachmentUrl, CommentReply, CommentReplySlotScope, CommentReplySlots, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, messagesSinceResolved };
@@ -1 +1 @@
1
- export { t as CommentReply, n as CommentThread, a as messagesSinceResolved } from "../../comment-thread-C_Q4UDaV.js";
1
+ export { t as CommentReply, n as CommentThread, a as messagesSinceResolved } from "../../comment-thread-BzOZVqF2.js";
@@ -1,8 +1,8 @@
1
- import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-CIsbz-78.js";
2
- import { _ as CommentToolbarSlots, a as CommentPinEmits, c as CommentRowProps, d as CommentSelectionBarEmits, f as CommentSelectionBarProps, g as CommentToolbarProps, h as CommentSendProps, i as CommentListSlots, l as CommentRowSlotScope, m as CommentSelectionBarSlots, n as CommentListEmits, o as CommentPinProps, p as CommentSelectionBarSide, r as CommentListProps, s as CommentRowPartSlots, t as CommentFiltersProps, u as CommentRowSlots } from "../../types-BF_U0tgp.js";
3
- import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-X6gYMNay.js";
4
- import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-Djx-KxVa.js";
5
- import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-BlVNORgj.js";
6
- import { t as CommentSelectionBar } from "../../comment-selection-bar-CbOEI98x.js";
7
- import { a as _default, i as _default$1, n as _default$3, r as _default$2, t as _default$4 } from "../../comments-B1itauwb.js";
8
- export { CommentAttachmentLink, CommentAttachmentUrl, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, _default as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$1 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$2 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, _default$3 as CommentSend, type CommentSendProps, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, _default$4 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, messagesSinceResolved, repliedSinceResolved };
1
+ import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-CsVOvG9j.js";
2
+ import { a as CommentPinEmits, c as CommentRowProps, d as CommentSelectionBarEmits, f as CommentSelectionBarProps, g as CommentToolbarSlots, h as CommentToolbarProps, i as CommentListSlots, l as CommentRowSlotScope, m as CommentSelectionBarSlots, n as CommentListEmits, o as CommentPinProps, p as CommentSelectionBarSide, r as CommentListProps, s as CommentRowPartSlots, t as CommentFiltersProps, u as CommentRowSlots } from "../../types-CMU8Vmew.js";
3
+ import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-BmsqcjVQ.js";
4
+ import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-DxN21VoY.js";
5
+ import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-C3xmg-0_.js";
6
+ import { t as CommentSelectionBar } from "../../comment-selection-bar-B_bchB2O.js";
7
+ import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../../comments-BU8cTt5o.js";
8
+ export { CommentAttachmentLink, CommentAttachmentUrl, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, _default as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$1 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$2 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, _default$3 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, messagesSinceResolved, repliedSinceResolved };
@@ -1,7 +1,6 @@
1
- import { t as CommentComposer } from "../../comment-composer-BUt6vbnr.js";
2
- import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "../../comment-layer-Ck2H24oJ.js";
3
- import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "../../comment-thread-C_Q4UDaV.js";
4
- import { t as CommentSelectionBar } from "../../comment-selection-bar-CxPkJxVl.js";
5
- import { t as CommentSend_default } from "../../comments-BtD28xEn.js";
1
+ import { t as CommentComposer } from "../../comment-composer-D_mcH3Ts.js";
2
+ import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "../../comment-layer-Ci6ipGi2.js";
6
3
  import { CommentPanel } from "./comment-panel.js";
7
- export { CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentSend_default as CommentSend, CommentThread, CommentToolbar_default as CommentToolbar, messagesSinceResolved, repliedSinceResolved };
4
+ import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "../../comment-thread-BzOZVqF2.js";
5
+ import { t as CommentSelectionBar } from "../../comment-selection-bar-DZAtiRZ9.js";
6
+ export { CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentThread, CommentToolbar_default as CommentToolbar, messagesSinceResolved, repliedSinceResolved };
@@ -1,3 +1 @@
1
- import { t as useCopy } from "../../use-copy-DK1SSZkh.js";
2
- import { t as CopyButton_default } from "../../CopyButton-Dtg_Oc9_.js";
3
- export { CopyButton_default as CopyButton, useCopy };
1
+ export { t as CopyButton, n as useCopy } from "../../CopyButton-Bs6DT-Z8.js";
@@ -1 +1 @@
1
- export { t as DropField } from "../../drop-field-DKpYQ3tO.js";
1
+ export { t as DropField } from "../../drop-field-DeIvKoJs.js";
@@ -1 +1 @@
1
- export { t as HoldToDelete } from "../../hold-to-delete-cOPqQ9FJ.js";
1
+ export { t as HoldToDelete } from "../../hold-to-delete-DazElJT2.js";
@@ -1 +1 @@
1
- export { t as Markdown } from "../../Markdown-_w7feFzl.js";
1
+ export { t as Markdown } from "../../Markdown-Da5t-931.js";
@@ -1 +1 @@
1
- export { t as MessageParts } from "../../MessageParts-FVyYZNsn.js";
1
+ export { t as MessageParts } from "../../MessageParts-CyJLG34y.js";
@@ -1,2 +1,2 @@
1
- import { c as MotionListSlots, r as _default, s as MotionListProps } from "../../index-9Z6Gwtnf.js";
1
+ import { c as MotionListSlots, r as _default, s as MotionListProps } from "../../index-CffOzibW.js";
2
2
  export { _default as MotionList, type MotionListProps, type MotionListSlots };
@@ -1 +1 @@
1
- export { t as MotionList } from "../../motion-list-BBbz93WT.js";
1
+ export { t as MotionList } from "../../motion-list-9vD1hSS0.js";
@@ -1,5 +1,5 @@
1
- import { b as IconEnter, x as IconExit } from "../../motion-core-BfIefToe.js";
2
- import { a as MorphTextProps, d as RollNumberSlots, f as SwapIconProps, i as _default, l as MotionRenderProps, n as _default$1, o as MorphTextSlots, p as SwapIconSlots, t as _default$2, u as RollNumberProps } from "../../index-9Z6Gwtnf.js";
1
+ import { b as IconEnter, x as IconExit } from "../../motion-core-gfsTPLbh.js";
2
+ import { a as MorphTextProps, d as RollNumberSlots, f as SwapIconProps, i as _default, l as MotionRenderProps, n as _default$1, o as MorphTextSlots, p as SwapIconSlots, t as _default$2, u as RollNumberProps } from "../../index-CffOzibW.js";
3
3
  import { Directive } from "vue";
4
4
  /**
5
5
  * `v-ring="done"` rings the element once each time `done` becomes true, for a finished action such as saved or copied.
@@ -1,4 +1,13 @@
1
- import { t as MorphText_default } from "../../MorphText-CYTndbyp.js";
2
- import { t as RollNumber_default } from "../../RollNumber-Bo2tzfAp.js";
3
- import { n as SwapIcon_default, t as vRing } from "../../motion-dPwxx3Wk.js";
1
+ import { t as ring } from "../../ring-B0nZBnU0.js";
2
+ import { t as MorphText_default } from "../../MorphText-B6MWdeIv.js";
3
+ import { t as RollNumber_default } from "../../RollNumber-CnF52zJM.js";
4
+ import { t as SwapIcon_default } from "../../SwapIcon-CUIq1TU5.js";
5
+ // src/components/motion.ts
6
+ /**
7
+ * `v-ring="done"` rings the element once each time `done` becomes true, for a finished action such as saved or copied.
8
+ * `createViteHubUI()` registers it as `v-ring`.
9
+ */
10
+ const vRing = { updated(element, binding) {
11
+ if (binding.value && !binding.oldValue) ring(element);
12
+ } };
4
13
  export { MorphText_default as MorphText, RollNumber_default as RollNumber, SwapIcon_default as SwapIcon, vRing };
@@ -1 +1 @@
1
- export { t as Progress } from "../../progress-D_9sG648.js";
1
+ export { t as Progress } from "../../progress-8P8RLYMy.js";
@@ -1 +1 @@
1
- export { t as SyncStatus, r as SyncStatusIndicator, n as SyncStatusLabel } from "../../sync-status-BRroyOre.js";
1
+ export { t as SyncStatus, r as SyncStatusIndicator, n as SyncStatusLabel } from "../../sync-status-B29eG_n-.js";
@@ -66,9 +66,9 @@ export declare const BrowserSupportNotice: import("vue").DefineComponent<import(
66
66
  }>> & Readonly<{
67
67
  onCopied?: ((url: string) => any) | undefined;
68
68
  }>, {
69
- url: string;
70
69
  supported: boolean | undefined;
71
70
  reason: string;
72
71
  browser: UnsupportedBrowser;
73
72
  description: string;
73
+ url: string;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
- import { t as useCopy } from "../../use-copy-DK1SSZkh.js";
2
- import { t as MorphText_default } from "../../MorphText-CYTndbyp.js";
3
- import { n as SwapIcon_default } from "../../motion-dPwxx3Wk.js";
4
- import { t as ring } from "../../ring-DoL9jivj.js";
1
+ import { n as useCopy } from "../../CopyButton-Bs6DT-Z8.js";
2
+ import { t as MorphText_default } from "../../MorphText-B6MWdeIv.js";
3
+ import { t as SwapIcon_default } from "../../SwapIcon-CUIq1TU5.js";
4
+ import { t as ring } from "../../ring-B0nZBnU0.js";
5
5
  import { icon } from "./icons.js";
6
6
  import { defineComponent, h, onBeforeUnmount, onMounted, ref, useId } from "vue";
7
7
  // src/workspace/browser-support-notice.ts
@@ -1,4 +1,4 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
1
+ import { t as useUIComponent } from "../../nuxt-ui-D3Qda35W.js";
2
2
  import { icon, providerLogo } from "./icons.js";
3
3
  import { computed, defineComponent, h, ref, useId } from "vue";
4
4
  // src/workspace/connect-panel.ts