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(tree,tree-item): update indentation #10990

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

anveshmekala
Copy link
Contributor

@anveshmekala anveshmekala commented Dec 5, 2024

Related Issue: #7096

Summary

Updates padding indentation for tree-item's in tree

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Dec 5, 2024
{checkbox ? (
<label class={CSS.checkboxLabel}>{defaultSlotNode}</label>
) : (
defaultSlotNode
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No impact for AT users with VoiceOver. Adding @geospatialem for review.

@anveshmekala anveshmekala marked this pull request as ready for review December 5, 2024 18:25
@anveshmekala anveshmekala added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Dec 5, 2024
@anveshmekala anveshmekala added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Dec 5, 2024
@anveshmekala anveshmekala added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Dec 5, 2024
@anveshmekala anveshmekala marked this pull request as draft December 6, 2024 00:21
@anveshmekala anveshmekala marked this pull request as ready for review December 6, 2024 05:32
@anveshmekala anveshmekala added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Dec 6, 2024
@anveshmekala anveshmekala added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Dec 7, 2024
Copy link
Contributor

@ashetland ashetland left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@anveshmekala
Copy link
Contributor Author

anveshmekala commented Dec 9, 2024

This PR made changes to stories to include all scales and selectionModes . @macandcheese Please review if any use case is missing which would be beneficial to add a screenshot test. Thanks!

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

👍

@@ -1,80 +1,53 @@
:host([scale="s"]) {
--calcite-internal-tree-item-spacing-unit: 0.25rem;
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these values use calcite tokens?

Copy link
Contributor Author

@anveshmekala anveshmekala Dec 10, 2024

Choose a reason for hiding this comment

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

IIRC, it is recommended to leave them as rem or px for now and update them to tokens in a separate effort once tokenization is complete. Please correct me if wrong @alisonailea

@anveshmekala anveshmekala merged commit 5970cd3 into dev Dec 12, 2024
16 checks passed
@anveshmekala anveshmekala deleted the anveshmekala/7096-tree-item-fix-indentation branch December 12, 2024 16:58
@github-actions github-actions bot added this to the 2024-12-17 - Dec Milestone milestone Dec 12, 2024
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.

3 participants