Compare commits

..

35 Commits
main ... 8.8.x

Author SHA1 Message Date
Brandy Smith
bdeeb539c1 merge release-8.8.1 (#30999)
v8.8.1
2026-03-06 13:04:33 -05:00
Brandy Smith
21fbb7245e merge release-8.8.0 (#30990)
v8.8.0
2026-03-04 16:10:37 -05:00
Brandy Smith
f7171451c3 merge release-8.7.18 (#30972)
v8.7.18
2026-02-25 15:12:08 -05:00
Brandy Smith
9e9578dc3b merge release-8.7.17 (#30917)
v8.7.17
2026-01-14 14:43:19 -05:00
Brandy Smith
0110135e17 merge release-8.7.14 (#30880)
v8.7.14
2025-12-17 13:22:54 -05:00
Shane
289db4bfbb release-8.7.13 (#30871)
v8.7.13
2025-12-13 08:17:03 -08:00
Shane
a28f19a78f merge release-8.7.12 (#30857)
v8.7.12
2025-12-10 13:52:22 -08:00
Maria Hutt
34dc4591d1 merge release-8.7.11 (#30813)
v8.7.11
2025-11-26 12:03:09 -08:00
Maria Hutt
456c57f0a0 merge release-8.7.10 (#30798)
v8.7.10
2025-11-19 10:53:40 -08:00
Shane
303cebb39e merge release-8.7.9 (#30768)
v8.7.9
2025-11-05 09:22:46 -08:00
Brandy Smith
7e8c312697 merge release-8.7.8 (#30762)
v8.7.8
2025-10-29 14:09:37 -04:00
Brandy Smith
555c4fd4f9 merge release-8.7.7 (#30728)
v8.7.7
2025-10-15 15:27:57 -04:00
Brandy Smith
c778176740 merge release-8.7.6 (#30720)
v8.7.6
2025-10-08 14:50:27 -04:00
Shane
912f09b296 merge release-8.7.5 (#30696)
v8.7.5
2025-09-24 13:07:40 -07:00
Shane
d27507649e merge release-8.7.4 (#30681)
Merging 8.7.4
2025-09-17 09:20:04 -07:00
Brandy Smith
a119245bdd merge release-8.7.3 (#30646)
v8.7.3
2025-08-20 14:55:30 -04:00
Brandy Smith
a1d1aab64d merge release-8.7.2 (#30608)
v8.7.2
2025-08-06 13:28:37 -04:00
Brandy Smith
60606f387c merge release-8.7.1 (#30589)
v8.7.1
2025-07-31 12:25:02 -04:00
Brandy Smith
2d72da42d1 merge release-8.7.0 (#30584)
v8.7.0
2025-07-30 17:23:52 -04:00
Brandy Smith
75c5b98518 merge release-8.6.7 (#30581)
v8.6.7
2025-07-30 16:40:50 -04:00
Brandy Smith
d215c90410 merge release-8.6.6 (#30576)
v8.6.6
2025-07-30 14:40:39 -04:00
Brandy Smith
19d810b5e7 merge release-8.6.5 (#30555)
v8.6.5
2025-07-16 16:24:20 -04:00
Shane
ebc3bfd6b0 merge release-8.6.4 (#30536)
v8.6.4
2025-07-09 13:30:40 -07:00
Brandy Smith
d59d67bf00 merge release-8.6.3 (#30527)
v8.6.3
2025-07-02 18:07:29 -04:00
Maria Hutt
c35395ce5e merge release-8.6.1 (#30476)
Release v8.6.1
2025-06-11 09:04:45 -07:00
Brandy Smith
5833199980 merge release-8.6.0 (#30456)
v8.6.0
2025-06-04 11:59:15 -04:00
Brandy Smith
b5e009b618 merge release-8.5.9 (#30453)
v8.5.9
2025-06-04 10:22:58 -04:00
Shane
3c6555a51f merge release-8.5.8 (#30437)
v8.5.8
2025-05-28 11:35:05 -07:00
Brandy Smith
a8cbad0a23 merge release-8.5.7 (#30397)
v8.5.7
2025-05-07 16:36:02 -04:00
Brandy Smith
d21c32944d merge release-8.5.6 (#30382)
v8.5.6
2025-04-30 14:01:13 -04:00
Brandy Smith
67588864bf merge release-8.5.5 (#30366)
v8.5.5
2025-04-16 13:56:42 -04:00
Brandy Smith
a2c2b5f48c merge release-8.5.4 (#30348)
v8.5.4
2025-04-09 13:47:24 -04:00
Brandy Smith
847e6a05d1 merge release-8.5.3 (#30331)
v8.5.3
2025-04-02 12:09:47 -04:00
Brandy Smith
b9c5b9b0b4 merge release-8.5.2 (#30316)
v8.5.2
2025-03-26 18:04:03 -04:00
Brandy Smith
9bdc7f5e03 merge release-8.5.1 (#30275)
v8.5.1
2025-03-19 16:37:37 -04:00
31 changed files with 38 additions and 132 deletions

View File

@@ -22,7 +22,7 @@ runs:
using: 'composite'
steps:
- name: 🟢 Configure Node for Publish
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ inputs.node-version }}
registry-url: 'https://registry.npmjs.org'

View File

@@ -3,7 +3,7 @@ description: 'Build Ionic Angular Server'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -9,7 +9,7 @@ runs:
using: 'composite'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x

View File

@@ -9,7 +9,7 @@ runs:
using: 'composite'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- name: 🕸️ Install Dependencies

View File

@@ -3,7 +3,7 @@ description: 'Build Ionic React Router'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -3,7 +3,7 @@ description: 'Build Ionic React'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -3,7 +3,7 @@ description: 'Builds Ionic Vue Router'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -3,7 +3,7 @@ description: 'Build Ionic Vue'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -10,7 +10,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@v7
with:
name: ${{ inputs.name }}
path: ${{ inputs.path }}

View File

@@ -6,7 +6,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -3,7 +3,7 @@ description: 'Test Core Clean Build'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x

View File

@@ -3,7 +3,7 @@ description: 'Test Core Lint'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- name: 🕸️ Install Dependencies

View File

@@ -13,7 +13,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive
@@ -66,7 +66,7 @@ runs:
working-directory: ./core
- name: 📦 Archive Updated Screenshots
if: inputs.update == 'true' && steps.test-and-update.outputs.hasUpdatedScreenshots == 'true'
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v6
with:
name: updated-screenshots-${{ inputs.shard }}-${{ inputs.totalShards }}
path: UpdatedScreenshots-${{ inputs.shard }}-${{ inputs.totalShards }}.zip

View File

@@ -6,7 +6,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- name: 🕸️ Install Dependencies

View File

@@ -6,7 +6,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -6,7 +6,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -6,7 +6,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: ./.github/workflows/actions/download-archive

View File

@@ -7,10 +7,10 @@ on:
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@v7
with:
path: ./artifacts
- name: 🔎 Extract Archives

View File

@@ -13,7 +13,7 @@ runs:
- name: 🗄️ Create Archive
run: zip -q -r ${{ inputs.output }} ${{ inputs.paths }}
shell: bash
- uses: actions/upload-artifact@v7
- uses: actions/upload-artifact@v6
with:
name: ${{ inputs.name }}
path: ${{ inputs.output }}

View File

@@ -627,9 +627,9 @@
"license": "MIT"
},
"node_modules/@capacitor/core": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.2.0.tgz",
"integrity": "sha512-oKaoNeNtH2iIZMDFVrb1atoyRECDGHcfLMunJ5KWN8DtvpVBeeA4c41e20NTuhMxw1cSYbpq2PV2hb+/9CJxlQ==",
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.1.0.tgz",
"integrity": "sha512-UfMBMWc1v7J+14AhH03QmeNwV3HZx3qnOWhpwnHfzALEwAwlV/itQOQqcasMQYhOHWL0tiymc5ByaLTn7KKQxw==",
"dev": true,
"license": "MIT",
"dependencies": {

View File

@@ -127,8 +127,6 @@ export class Checkbox implements ComponentInterface {
*/
@State() isInvalid = false;
@State() private hasLabelContent = false;
@State() private hintTextId?: string;
/**
@@ -267,10 +265,6 @@ export class Checkbox implements ComponentInterface {
ev.stopPropagation();
};
private onSlotChange = () => {
this.hasLabelContent = this.el.textContent !== '';
};
private getHintTextId(): string | undefined {
const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
@@ -332,6 +326,7 @@ export class Checkbox implements ComponentInterface {
} = this;
const mode = getIonMode(this);
const path = getSVGPath(mode, indeterminate);
const hasLabelContent = el.textContent !== '';
renderHiddenInput(true, el, name, checked ? value : '', disabled);
@@ -343,7 +338,7 @@ export class Checkbox implements ComponentInterface {
aria-checked={indeterminate ? 'mixed' : `${checked}`}
aria-describedby={this.hintTextId}
aria-invalid={this.isInvalid ? 'true' : undefined}
aria-labelledby={this.hasLabelContent ? this.inputLabelId : null}
aria-labelledby={hasLabelContent ? this.inputLabelId : null}
aria-label={inheritedAttributes['aria-label'] || null}
aria-disabled={disabled ? 'true' : null}
aria-required={required ? 'true' : undefined}
@@ -381,13 +376,13 @@ export class Checkbox implements ComponentInterface {
<div
class={{
'label-text-wrapper': true,
'label-text-wrapper-hidden': !this.hasLabelContent,
'label-text-wrapper-hidden': !hasLabelContent,
}}
part="label"
id={this.inputLabelId}
onClick={this.onDivLabelClick}
>
<slot onSlotchange={this.onSlotChange}></slot>
<slot></slot>
{this.renderHintText()}
</div>
<div class="native-wrapper">

View File

@@ -8,19 +8,13 @@ test.describe('Value Accessors', () => {
test('should update the form value', async ({ page }) => {
await expect(page.locator('#formValue')).toHaveText(JSON.stringify({ checkbox: false }, null, 2));
await expect(page.getByRole('checkbox', { name: 'Static Checkbox Label' })).toHaveClass(/ion-pristine/);
await expect(page.locator('ion-checkbox')).toHaveClass(/ion-pristine/);
await page.getByRole('checkbox', { name: 'Static Checkbox Label' }).click();
await page.locator('ion-checkbox').click();
await expect(page.locator('#formValue')).toHaveText(JSON.stringify({ checkbox: true }, null, 2));
await expect(page.getByRole('checkbox', { name: 'Static Checkbox Label' })).toHaveClass(/ion-dirty/);
await expect(page.getByRole('checkbox', { name: 'Static Checkbox Label' })).toHaveClass(/ion-valid/);
await expect(page.getByRole('checkbox', { name: 'Static Checkbox Label' })).toBeVisible();
});
test('should display dynamically set label', async ({ page }) => {
await expect(page.getByRole('checkbox', { name: 'Dynamic Checkbox Label' })).toBeVisible();
await expect(page.locator('ion-checkbox')).toHaveClass(/ion-dirty/);
await expect(page.locator('ion-checkbox')).toHaveClass(/ion-valid/);
});
});

View File

@@ -28,6 +28,7 @@ import { AlertComponent } from '../alert/alert.component';
import { AccordionComponent } from '../accordion/accordion.component';
import { AccordionModalComponent } from '../accordion/accordion-modal/accordion-modal.component';
import { TabsBasicComponent } from '../tabs-basic/tabs-basic.component';
import { TemplateFormComponent } from '../template-form/template-form.component';
@NgModule({
declarations: [
@@ -53,7 +54,8 @@ import { TabsBasicComponent } from '../tabs-basic/tabs-basic.component';
AlertComponent,
AccordionComponent,
AccordionModalComponent,
TabsBasicComponent
TabsBasicComponent,
TemplateFormComponent
],
imports: [
CommonModule,

View File

@@ -19,6 +19,7 @@ import { NavigationPage3Component } from '../navigation-page3/navigation-page3.c
import { AlertComponent } from '../alert/alert.component';
import { AccordionComponent } from '../accordion/accordion.component';
import { TabsBasicComponent } from '../tabs-basic/tabs-basic.component';
import { TemplateFormComponent } from '../template-form/template-form.component';
export const routes: Routes = [
{
@@ -33,7 +34,7 @@ export const routes: Routes = [
{ path: 'textarea', loadChildren: () => import('../textarea/textarea.module').then(m => m.TextareaModule) },
{ path: 'searchbar', loadChildren: () => import('../searchbar/searchbar.module').then(m => m.SearchbarModule) },
{ path: 'form', component: FormComponent },
{ path: 'template-form', loadChildren: () => import('../template-form/template-form.module').then(m => m.TemplateFormModule) },
{ path: 'template-form', component: TemplateFormComponent },
{ path: 'modals', component: ModalComponent },
{ path: 'modal-inline', loadChildren: () => import('../modal-inline').then(m => m.ModalInlineModule) },
{ path: 'modal-sheet-inline', loadChildren: () => import('../modal-sheet-inline').then(m => m.ModalSheetInlineModule) },

View File

@@ -1,16 +0,0 @@
import { NgModule } from "@angular/core";
import { RouterModule } from "@angular/router";
import { TemplateFormComponent } from "./template-form.component";
@NgModule({
imports: [
RouterModule.forChild([
{
path: '',
component: TemplateFormComponent
}
])
],
exports: [RouterModule]
})
export class TemplateFormRoutingModule { }

View File

@@ -109,7 +109,6 @@
[(ngModel)]="checkboxValue"
name="checkboxField"
required
requireTrue
#checkboxField="ngModel"
id="template-checkbox-test"
helper-text="You must agree to continue"
@@ -134,7 +133,6 @@
[(ngModel)]="toggleValue"
name="toggleField"
required
requireTrue
#toggleField="ngModel"
id="template-toggle-test"
helper-text="You must turn on to continue"

View File

@@ -1,23 +0,0 @@
import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { IonicModule } from "@ionic/angular";
import { TemplateFormRoutingModule } from "./template-form-routing.module";
import { TemplateFormComponent } from "./template-form.component";
import { ValidatorsModule } from "../validators/validators.module";
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
IonicModule,
TemplateFormRoutingModule,
ValidatorsModule
],
declarations: [
TemplateFormComponent
]
})
export class TemplateFormModule { }

View File

@@ -1,19 +0,0 @@
import { Directive, forwardRef } from '@angular/core';
import { NG_VALIDATORS, Validator, AbstractControl, ValidationErrors, Validators } from '@angular/forms';
@Directive({
selector: '[requireTrue]',
providers: [
{
provide: NG_VALIDATORS,
useExisting: forwardRef(() => RequireTrueValidatorDirective),
multi: true,
},
],
standalone: false,
})
export class RequireTrueValidatorDirective implements Validator {
validate(control: AbstractControl): ValidationErrors | null {
return Validators.requiredTrue(control);
}
}

View File

@@ -1,20 +0,0 @@
import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { RequireTrueValidatorDirective } from "./require-true.directive";
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule
],
declarations: [
RequireTrueValidatorDirective
],
exports: [
RequireTrueValidatorDirective
]
})
export class ValidatorsModule { }

View File

@@ -6,7 +6,6 @@
</p>
<app-value-accessor-test [formGroup]="form">
<ion-checkbox formControlName="checkbox">Static Checkbox Label</ion-checkbox>
<ion-checkbox formControlName="checkbox">Checkbox</ion-checkbox>
</app-value-accessor-test>
<ion-checkbox>{{dynamicLabel}}</ion-checkbox>
</div>

View File

@@ -15,11 +15,6 @@ import { ValueAccessorTestComponent } from "../value-accessor-test/value-accesso
]
})
export class CheckboxComponent {
dynamicLabel = '';
ngAfterViewInit(): void {
this.dynamicLabel = 'Dynamic Checkbox Label';
}
form = this.fb.group({
checkbox: [false, Validators.required],