Skip to content

Lifecycle standardization changes included. - #65

Merged
PrinceOliver merged 6 commits into
mainfrom
theme-changes
Sep 2, 2026
Merged

PrinceOliver merged 6 commits into
mainfrom
theme-changes

Conversation

@Indhumathy-Loganathan

@Indhumathy-Loganathan Indhumathy-Loganathan commented Sep 2, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This pull request standardizes component lifecycle handling across the Syncfusion Blazor Toolkit. It aligns initialization, parameter updates, rendering, and disposal patterns for consistency and maintainability. The branch also incorporates related high-contrast theme support and screen-reader accessibility fixes that were developed alongside the lifecycle work.

Key Changes

  • Standardized lifecycle methods (OnInitialized, OnParametersSet, OnAfterRender, disposal, etc.) across major components via dedicated *.LifeCycle.cs partial classes.
  • Improved consistency in parameter change detection, state management, and cleanup.
  • Included high-contrast theme tokens/styling and screen-reader (ARIA / accessible-name) improvements that landed in the same branch.
  • Updated related samples and test cases (bUnit + Playwright) to match the new lifecycle and accessibility behavior.
  • Minor enumeration and shared-base adjustments supporting the standardized lifecycle.

Files Affected

Core / Base

  • src/Base/SharedEnumerations.cs

Buttons

  • src/Components/Buttons/ButtonEnumerations.cs
  • src/Components/Buttons/ButtonGroup/SfButtonGroup.razor.LifeCycle.cs

Calendars

  • src/Components/Calendars/Base/Common/CalendarBase.cs
  • src/Components/Calendars/Calendar/SfCalendar.razor.LifeCycle.cs
  • src/Components/Calendars/CalendarEnumerations.cs
  • src/Components/Calendars/DatePicker/SfDatePicker.razor (+ .LifeCycle.cs, .Methods.cs, .cs)
  • src/Components/Calendars/DateTimePicker/SfDateTimePicker.razor.LifeCycle.cs
  • src/Components/Calendars/TimePicker/SfTimePicker.razor.LifeCycle.cs (+ .cs)

Charts

  • src/Components/Charts/ChartEnumerations.cs

Inputs

  • src/Components/Inputs/CheckBox/SfCheckBox.razor.LifeCycle.cs
  • src/Components/Inputs/InputBase/SfInputBase.razor.LifeCycle.cs (+ .cs)
  • src/Components/Inputs/InputEnumerations.cs
  • src/Components/Inputs/NumericTextBox/SfNumericTextBox.razor (+ .LifeCycle.cs, .cs, .css)
  • src/Components/Inputs/RadioButton/SfRadioButton.razor.LifeCycle.cs
  • src/Components/Inputs/Switch/SfSwitch.razor.LifeCycle.cs
  • src/Components/Inputs/TextBox/SfTextBox.razor (+ .LifeCycle.cs, .Members.cs)
  • src/Components/Inputs/Uploader/SfUploader.razor (+ .LifeCycle.cs, .cs)

Popups

  • src/Components/Popups/Dialog/SfDialog.razor.LifeCycle.cs (+ .Members.cs)
  • src/Components/Popups/PopupEnumerations.cs
  • src/Components/Popups/Tooltip/SfTooltip.razor.LifeCycle.cs (+ .cs)

Spinner

  • src/Components/Spinner/SfSpinner.razor.cs

Samples & Tests

  • Sample pages under samples/Blazor.Toolkit.Samples.Client/... (TextBox and related)
  • Playwright samples and specs under tests/Syncfusion.Blazor.Playwright.Test/... (Buttons, TextBox, form validation, states, etc.)
  • bUnit tests under tests/Syncfusion.Blazor.Toolkit.BUnitTest/Inputs/TextBox/...

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

CI Summary

Job Status
bUnit (.NET 8 / 9 / 10) ✅ Passed
Playwright ✅ Passed
NuGet vulnerability scan ✅ Passed
ESLint security ✅ Passed
XSS / unsafe markup scan ✅ Passed

Overall: ✅ All checks passed

@PrinceOliver
PrinceOliver merged commit e8ae75e into main Sep 2, 2026
24 of 28 checks passed
@PrinceOliver
PrinceOliver deleted the theme-changes branch September 2, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants