Skip to content

feat(select): add props to customize toggle icons - #27648

Merged
averyrousseau merged 13 commits into
feature-7.1from
FW-2134
Jun 20, 2023
Merged

feat(select): add props to customize toggle icons#27648
averyrousseau merged 13 commits into
feature-7.1from
FW-2134

Conversation

@averyrousseau

@averyrousseauaveryrousseau commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

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

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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

@github-actionsgithub-actionsBot added package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package labels Jun 14, 2023
Comment threadcore/src/components/select/select.tsx Outdated

@liamdebeasiliamdebeasi left a comment

Copy link
Copy Markdown
Contributor

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.

Comment threadcore/src/components/select/select.tsx Outdated

@liamdebeasiliamdebeasi left a comment

Copy link
Copy Markdown
Contributor

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!

@averyrousseau
averyrousseau merged commit 95e28b6 into feature-7.1Jun 20, 2023
@averyrousseau
averyrousseau deleted the FW-2134 branch June 20, 2023 17:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular@ionic/angular packagepackage: core@ionic/core packagepackage: vue@ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@averyrousseau@liamdebeasi@sean-perkins@Ionitron