Skip to content

fix: reconcile package and CLI template drift (batch 2) - #65

Merged
Shewart merged 6 commits into
mainfrom
fix/template-drift-2
Oct 18, 2026
Merged

Shewart merged 6 commits into
mainfrom
fix/template-drift-2

Conversation

@Shewart

@Shewart Shewart commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Part of #52 (batch 2). CLI templates brought in line with the package for 16 components. The package is unchanged.

Bugs in CLI installs:

  • RadioGroup: the template never cascaded itself, so clicking a RadioGroupItem did nothing.
  • EmptyState: Class was declared but never applied; extra attributes were dropped.
  • RadioGroupItem: no Disabled parameter.
  • DateRangePicker: the popover did not close on a click outside it.

Same behaviour, class building now matches the package (Shell.Cn): Table and its five parts, Separator, Slider, Navbar (also gains the package's px-4), Checkbox, Switch, Tooltip.

Templates keep the deprecated ClassName alias for existing projects. TemplateSyncTests now treats that alias as an expected difference instead of drift, and checks both @code and markup for these 16 components. ClassParameterTests accepted Class) only on one line; it now also accepts Class passed on its own line before ).

196 of 217 package components now match their templates (180 before). Build 0 warnings, 385 tests (one new RadioGroup selection test). Not checked in a browser through the CLI.

Copilot AI balanced review requested due to automatic review settings October 18, 2026 10:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Shewart
Shewart merged commit d630cc9 into main Oct 18, 2026
1 check passed
@Shewart
Shewart deleted the fix/template-drift-2 branch October 18, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants