FE-862: Add icons to @hashintel/ds-components and export HelpTooltip and TextMark#8865
Conversation
PR SummaryLow Risk Overview Icons: New SVG assets and Public API: Reviewed by Cursor Bugbot for commit 56440a3. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Pull request overview
This PR updates the @hashintel/ds-components public surface to support additional UI usage in HASH by adding several new icon assets and exporting two existing components (HelpTooltip and TextMark) from the package entrypoint.
Changes:
- Export
HelpTooltipandTextMarkfromlibs/@hashintel/ds-components/src/main.ts. - Add several new regular icon SVGs and register them in
IconMapso they’re available via<Icon name="…" />. - Add a changeset for publishing
@hashintel/ds-components.
Reviewed changes
Copilot reviewed 3 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| libs/@hashintel/ds-components/src/main.ts | Exposes HelpTooltip and TextMark from the package entrypoint. |
| libs/@hashintel/ds-components/src/components/Icon/icon.tsx | Imports and registers new icon SVGs in IconMap. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/arrow-trend-up.svg | Adds new icon asset. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/arrow-trend-down.svg | Adds new icon asset. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/file-lines.svg | Adds new icon asset. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/grid-2.svg | Adds new icon asset. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/print.svg | Adds new icon asset. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/puzzle-piece.svg | Adds new icon asset. |
| libs/@hashintel/ds-components/src/components/Icon/svgs/regular/truck.svg | Adds new icon asset. |
| .changeset/heavy-months-post.md | Records a patch release note for @hashintel/ds-components. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Lgtm |
@hsahintel/ds-components and export HelpTooltip and TextMark@hashintel/ds-components and export HelpTooltip and TextMark
🌟 What is the purpose of this PR?
I need additional icons and to make use of
HelpTooltipandTextMarkin a tool I'm importing into HASH.This PR adds those.
Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR: