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

feat(notice): add component tokens #11042

Merged
merged 12 commits into from
Jan 4, 2025
Merged

Conversation

Elijbet
Copy link
Contributor

@Elijbet Elijbet commented Dec 13, 2024

Related Issue: #7180

Summary

Adds the following subcomponent tokens (CSS props):

  • --calcite-notice-background-color
  • --calcite-notice-close-background-color-focus
  • --calcite-notice-close-background-color-press
  • --calcite-notice-close-text-color-hover
  • --calcite-notice-close-text-color
  • --calcite-notice-content-text-color

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Dec 13, 2024
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Dec 20, 2024
@Elijbet Elijbet removed the Stale Issues or pull requests that have not had recent activity. label Dec 23, 2024
* @prop --calcite-notice-close-text-color-hover: Specifies the background color of component's close button when hovered.
* @prop --calcite-notice-close-text-color: Specifies the text color of component's close button.
* @prop --calcite-notice-content-text-color: Specifies the content text color of the component.
* @prop --calcite-notice-width: Specifies the width of the component.
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we can evaluate this for removal. Not sure why we'd need this, vs. the user being able to set this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah WDYT @alisonailea?

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree we could set this for removal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@DitwanP @geospatialem is there any specific process/term we need for deprecation and removal for this or just [Deprecated] note for now is enough?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think the [Deprecated] note is enough.

Copy link
Member

Choose a reason for hiding this comment

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

@Elijbet We have a new deprecate conventional commit, so would recommend we use that approach for the deprecation so users are aware of the deprecation via our changelog.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will create a follow-up PR for this.

@Elijbet Elijbet marked this pull request as ready for review January 3, 2025 23:15
@Elijbet Elijbet added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Jan 4, 2025
@jcfranco jcfranco merged commit a61c15a into dev Jan 4, 2025
13 of 14 checks passed
@jcfranco jcfranco deleted the elijbet/7180-notice-design-tokens branch January 4, 2025 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants