Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔥 Remove different symbols for lume-tooltip #54

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

joao-m-santos
Copy link
Contributor

Relates to #

📝 Description

For v1, tooltips/legend should always show a circle symbol, hence removing the possibility of different symbols.

💥 Is this a breaking change (Yes/No):

  • No
  • Yes (please describe the impact and migration path for existing Lume users)

📝 Additional Information

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@joao-m-santos joao-m-santos requested a review from a team as a code owner November 3, 2022 15:13
@joao-m-santos joao-m-santos self-assigned this Nov 3, 2022
`lume-tooltip__symbol--${item.type}`,
`lume-background-color--${item.color || '01'}`,
]"
:class="[`lume-background-color--${item.color}`]"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the default background color (01) not needed, anymore? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, 01 is no longer the default color, since it's a legacy color. Also, the item structure dictates that color is mandatory, so if a consumer is overriding the default tooltip items, they must provide a color param.

@joao-m-santos joao-m-santos merged commit 8f9115b into main Nov 4, 2022
@joao-m-santos joao-m-santos deleted the remove-tooltip-symbol-types branch February 1, 2023 10:51
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