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(select): add props to customize toggle icons #27648

Merged
merged 13 commits into from
Jun 20, 2023
Merged

Conversation

averyjohnston
Copy link
Contributor

@averyjohnston averyjohnston commented Jun 14, 2023

Issue number: resolves #17248


What is the current behavior?

While the icon shadow part allows customization of the existing toggle icon, developers do not have a way to specify a different icon to use entirely.

What is the new behavior?

New props toggleIcon and expandedIcon added. (Design docs are here and here respectively.)

Does this introduce a breaking change?

  • Yes
  • No

Other information

Docs PR: ionic-team/ionic-docs#2996
Dev build: 7.0.15-dev.11687278023.161b97d8

@stackblitz
Copy link

stackblitz bot commented Jun 14, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions bot added package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package labels Jun 14, 2023
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

Functionality works great. Nice job! Left a thread for discussing the prop names.

core/src/components/select/select.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

Good to go once the CI errors are resolved. Nice work!

@averyjohnston averyjohnston merged commit 95e28b6 into feature-7.1 Jun 20, 2023
@averyjohnston averyjohnston deleted the FW-2134 branch June 20, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants