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

fix(action-bar, action-pad)!: Do not modify text-enabled on slotted actions unless expanded is toggled #9554

Draft
wants to merge 14 commits into
base: dev
Choose a base branch
from

Conversation

driskull
Copy link
Member

@driskull driskull commented Jun 10, 2024

Related Issue: #8886

BREAKING CHANGE: When slotting actions within the component you must now set textEnabled on them if necessary.

Summary

  • updates action-bar and action-pad to only change child actions textEnabled property when the component is expanded or collapsed.
  • If the component is starting in an expanded or collapsed state, the user is responsible for properly setting textEnabled on children.
  • If children are added, they need to be correctly assigned textEnabled
  • cleanup: stores action groups for use within the component
  • update tests

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jun 10, 2024
@driskull driskull added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Jun 11, 2024
@driskull driskull 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 Jun 11, 2024
Copy link
Contributor

github-actions bot commented Jul 2, 2024

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 Jul 2, 2024
@driskull driskull changed the title fix(action-bar, action-pad): Do not modify text-enabled on slotted actions unless expanded is toggled fix(action-bar, action-pad)!: Do not modify text-enabled on slotted actions unless expanded is toggled Jul 19, 2024
@driskull driskull added the breaking change Issues and pull requests with code changes that are not backwards compatible. label Jul 20, 2024
@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label Jul 22, 2024
@driskull driskull added this to the 2024-09-24 - Sep Main release milestone Aug 1, 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 Aug 12, 2024
@driskull driskull removed the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Aug 16, 2024
@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label Aug 20, 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 Aug 31, 2024
# Conflicts:
#	packages/calcite-components/src/components/action-bar/action-bar.stories.ts
#	packages/calcite-components/src/components/action-pad/action-pad.stories.ts
@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label Sep 8, 2024
# Conflicts:
#	packages/calcite-components/src/components/action-bar/action-bar.tsx
#	packages/calcite-components/src/components/action-pad/action-pad.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Issues and pull requests with code changes that are not backwards compatible. bug Bug reports for broken functionality. Issues should include a reproduction of the bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants