Skip to content

feat(icon): add custom action icon - #688

Open
ricardogoncalves89 wants to merge 2 commits into
devfrom
icon_custom_action
Open

ricardogoncalves89 wants to merge 2 commits into
devfrom
icon_custom_action

Conversation

@ricardogoncalves89

@ricardogoncalves89 ricardogoncalves89 commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds a new custom-action icon to the icon library so it can be used across Kelvin apps via EIconName.CustomAction, and fixes selected tab-item styling so a selected tab keeps its selected appearance while hovered.

Changes

  • feat(icon): add the kv-custom-action symbol to packages/ui-components/src/assets/svg-symbols.svg (24×24 viewBox, single-path glyph).
  • feat(icon): register CustomAction = 'kv-custom-action' in EIconName (packages/ui-components/src/components/icon/icon.types.ts) so the icon is selectable through kv-icon / KvIcon.
  • fix(tab-item): drop the :not(:hover) guard from the .selected rules in tab-item.scss so a selected tab (secondary and icon variants) keeps its selected background/border on hover, and unset the pointer cursor on the selected tab since clicking it is a no-op.

Test Plan

  • pnpm build:packages
  • pnpm lint
  • Manual: run pnpm storybook; in the Icon story verify kv-custom-action renders in both light and night modes, and in the Tabs stories hover a selected tab and confirm it keeps the selected background and shows the default cursor.

@ricardogoncalves89
ricardogoncalves89 requested a review from a team as a code owner September 25, 2026 11:37
Copilot AI lite review requested due to automatic review settings September 25, 2026 11:37
@ricardogoncalves89 ricardogoncalves89 self-assigned this Sep 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings September 25, 2026 11:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants