@lovett/ui 0.2.0 → 0.2.4

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.
@@ -1550,7 +1550,10 @@ function ThreadComposer({
1550
1550
  "min-w-0 flex-1 overflow-hidden border",
1551
1551
  "transition-[border-color,box-shadow] duration-[var(--dur-fast)] ease-[var(--ease-out)]",
1552
1552
  "motion-reduce:transition-none",
1553
- "focus-within:border-[rgb(var(--accent))] focus-within:[box-shadow:var(--ring-focus)]"
1553
+ // INSET, because this composer is mounted inside the `overflow-hidden` that
1554
+ // `comment.tsx`'s grid-rows reply reveal requires. An outset ring is
1555
+ // clipped there on three sides and the indicator vanishes.
1556
+ "focus-within:border-[rgb(var(--accent))] focus-within:[box-shadow:var(--ring-focus-inset)]"
1554
1557
  ),
1555
1558
  style: {
1556
1559
  // Concentric: the host panel declares --thread-inner-radius as its
@@ -2319,7 +2322,7 @@ function GifPicker({ search, onPick, className }) {
2319
2322
  onClick: () => {
2320
2323
  onPick(gif);
2321
2324
  },
2322
- className: "block overflow-hidden border transition-[border-color] duration-[var(--dur-fast)] ease-[var(--ease-out)] hover:border-[rgb(var(--border-strong))] focus-visible:outline-none focus-visible:[box-shadow:var(--ring-focus)] motion-reduce:transition-none",
2325
+ className: "block overflow-hidden border transition-[border-color] duration-[var(--dur-fast)] ease-[var(--ease-out)] hover:border-[rgb(var(--border-strong))] focus-visible:outline-none focus-visible:[box-shadow:var(--ring-focus-inset)] motion-reduce:transition-none",
2323
2326
  style: {
2324
2327
  borderRadius: "var(--radius-sm)",
2325
2328
  borderColor: "rgb(var(--border))",
@@ -2669,7 +2672,7 @@ function AttachmentLightbox({ attachment, onClose, resolveUrl }) {
2669
2672
  );
2670
2673
  }
2671
2674
  var ATTACHMENT_ACCEPT = ".png,.jpg,.jpeg,.webp,.gif,.pdf,.txt,.md,.csv,.json";
2672
- var RichThreadComposerImpl = lazy(() => import('./rich-composer-impl-5NO443A6.js'));
2675
+ var RichThreadComposerImpl = lazy(() => import('./rich-composer-impl-F5PQVFZT.js'));
2673
2676
  var RICH_FALLBACK_NOTICE = "Rich editor unavailable, plain editor loaded";
2674
2677
  function ComposerNotice({ children }) {
2675
2678
  return /* @__PURE__ */ jsxs(
@@ -2748,5 +2751,5 @@ function RichThreadComposer({
2748
2751
  }
2749
2752
 
2750
2753
  export { ATTACHMENT_ACCEPT, ATTACHMENT_LIMITS, AttachmentButton, AttachmentDropZone, AttachmentGif, AttachmentImage, AttachmentLightbox, AttachmentPlaceholder, AttachmentTray, Button, CodeBlock, CommentBody, ComposerFooter, ComposerNotice, GIF_SEARCH_DEBOUNCE_MS, GifPicker, Input, Kbd, MarkdownCode, MarkdownRenderer, PASTE_ATTACHMENT_THRESHOLD, POPOVER_SURFACE_STYLE, Popover, QUIET_ICON, QUIET_ICON_BOX, RichThreadComposer, ThreadComposer, __export, applyMarkdownFormat, cn, composeRefs, computeAnchoredPosition, formatAttachmentSize, handleTabTrap, parseMentionHref, pastedTextFilename, shouldAttachPaste, tabbablesWithin, useAnchoredPosition, useAttachmentUrl, useAttachments, useEscapeKey, useLayer, useOutsideClick, usePrefersReducedMotion };
2751
- //# sourceMappingURL=chunk-RBYWGBQ2.js.map
2752
- //# sourceMappingURL=chunk-RBYWGBQ2.js.map
2754
+ //# sourceMappingURL=chunk-GP7BKVZC.js.map
2755
+ //# sourceMappingURL=chunk-GP7BKVZC.js.map