feat(input): add rectangular shape for the ionic theme (#29476)

Issue number: internal

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
The input supports an undefined and a `round` shape.

## What is the new behavior?
Adds support for the `rectangular` shape for the `ionic` theme &
screenshot tests for this shape with the outline fill.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No
This commit is contained in:
Brandy Carney
2024-05-09 11:26:52 -04:00
committed by GitHub
parent e17db2c988
commit 75333c0251
18 changed files with 79 additions and 11 deletions

View File

@ -55,8 +55,8 @@
::slotted([slot="end"]),
.input-clear-icon {
/**
* The target area has a z-index of 1, so the slotted elements
* should be higher. Otherwise, the slotted elements will not
* The target area has a z-index of 1, so the slotted elements
* should be higher. Otherwise, the slotted elements will not
* be interactable. This is especially important for the clear
* button, which should be clickable.
*/
@ -108,6 +108,10 @@
--border-radius: #{$ionic-border-radius-rounded-full};
}
:host(.input-shape-rectangular) {
--border-radius: #{$ionic-border-radius-square};
}
// Input Bottom Content
// ----------------------------------------------------------------