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(input): add experimental label slot #27650

Merged
merged 10 commits into from
Jun 15, 2023
Merged

feat(input): add experimental label slot #27650

merged 10 commits into from
Jun 15, 2023

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Jun 14, 2023

Issue number: resolves #27061


What is the current behavior?

Input does not accept custom HTML labels

What is the new behavior?

  • Input accepts custom HTML labels as an experimental feature. We marked this as experimental because it makes use of "scoped slots" which is an emulated version of Web Component slots. As a result, there may be instances where the slot behavior does not exactly match the native slot behavior.

Note to reviewers: This is a combination of previously reviewed PRs. The implementation is complete, so feel free to bikeshed.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Docs PR: ionic-team/ionic-docs#2997

@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 the package: core @ionic/core package label Jun 14, 2023
@liamdebeasi liamdebeasi changed the title Fw 4135 feat(input): add experimental label slot Jun 14, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review June 14, 2023 19:15
@liamdebeasi liamdebeasi requested review from a team, sean-perkins and brandyscarney and removed request for a team and sean-perkins June 14, 2023 19:18
@liamdebeasi
Copy link
Contributor Author

liamdebeasi commented Jun 14, 2023

Removing Sean as a reviewer since he is out.

Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

Looks good, just added a few minor things!

core/src/components.d.ts Outdated Show resolved Hide resolved
core/src/components/input/test/input.spec.ts Outdated Show resolved Hide resolved
core/src/components/input/test/input.spec.ts Outdated Show resolved Hide resolved
liamdebeasi and others added 7 commits June 15, 2023 13:10
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
@liamdebeasi liamdebeasi merged commit a45395c into feature-7.1 Jun 15, 2023
@liamdebeasi liamdebeasi deleted the FW-4135 branch June 15, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants