Files
logseq/packages/ui
scheinriese 6d4ee4bb38 Add bordered tooltip arrow with seamless border integration
Implement Base UI's CSS-positioned arrow technique for tooltips with
continuous border around arrow and body. This replaces Radix's built-in
arrow positioning which caused visible shift after animations.

Key changes:
- Add BorderedArrowSvg component with filled paths (not strokes) for
  resilient animation rendering
- Add showArrow prop to TooltipContent for opt-in bordered arrows
- CSS positioning based on data-side attribute for all 4 directions
- Update icon picker web image tooltips to use new arrow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:53:49 +01:00
..
2023-12-26 16:31:37 +08:00
2025-12-09 20:53:38 +08:00
2023-12-26 16:31:37 +08:00
2025-12-09 20:53:38 +08:00
2024-01-26 11:17:28 +02:00
2023-12-26 16:31:37 +08:00
2025-12-09 20:53:38 +08:00

Logseq UI

Logseq UI components based on shadcn UI.

Development

🎨 Add a new component

It is recommended to install through CLI mode.

npx shadcn-ui@latest add button

🦄 Play with Storybook

  1. Watch shui cljs stories from root scripts.
yarn run cljs:watch-storybook

# cljs:watch-stories: "clojure -M:cljs watch stories-dev"
  1. Set up storybook from the current working directory.
yarn run watch:storybook

Credits

License

MIT