feat(accordion-group): add the shape property and styles for the ionic theme (#29971)

- Adds support for the `shape` property in accordion group.
- Adds styles for the `"soft"`, `"round"` and `"rectangular"` shapes in the `ionic` theme
- Defaults the shape to `"round"` for the ionic theme
- Adds an e2e test for `shape` with screenshots of all shapes
- Renames the `accordion.e2e.ts` files in other tests to `accordion-group.e2e.ts` which also renames the screenshot folder
This commit is contained in:
Brandy Carney
2024-10-30 10:37:33 -04:00
committed by GitHub
parent 3306d717ef
commit a2bf1bb0c2
35 changed files with 237 additions and 6 deletions

View File

@ -30,14 +30,14 @@ export declare interface IonAccordion extends Components.IonAccordion {}
@ProxyCmp({
inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'theme', 'value']
inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'shape', 'theme', 'value']
})
@Component({
selector: 'ion-accordion-group',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'theme', 'value'],
inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'shape', 'theme', 'value'],
})
export class IonAccordionGroup {
protected el: HTMLElement;