Repository navigation
feat(apollo-wind): add a none variant to Input [MST-16240] - #1300
KodudulaAshishUiPath wants to merge 1 commit into
Conversation
|
Apollo Coded App preview deployments are ready.
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The additive change preserves existing variants, includes focused regression tests, and has no identified blocking issues.
Review effort: Balanced
Findings: None
What changed in this PR
Adds variant="none" to apollo-wind’s Input, allowing callers to style its box without Future-theme overrides.
Changes:
- Adds the optional borderless, transparent, shadow-free variant.
- Adds regression tests for theme isolation and caller styling.
- Exposes the variant in Storybook controls.
| File | Description |
|---|---|
| packages/apollo-wind/src/components/ui/input.tsx | Adds the none variant and prop documentation. |
| packages/apollo-wind/src/components/ui/input.test.tsx | Tests theme isolation and class overrides. |
| packages/apollo-wind/src/components/ui/input.stories.tsx | Adds the variant to controls and descriptions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
1431907 to
a8c0dbb
Compare
Dependency License Review
License distribution
Excluded packages
|
a8c0dbb to
39a585a
Compare
📊 Coverage + size by packagePer-package coverage and bundle size on this PR. New-line coverage = of the source lines this PR adds or changes, the % hit by tests.
"Coverage" is each package's own |
Storybook visual diffBaseline is the deployed main Storybook, so changes merged to main after this branch was last updated can also appear here. Logs Updated (PT): Oct 08, 2026, 01:01:53 AM |
39a585a to
388a31a
Compare
There was a problem hiding this comment.
🟢 Approval recommended
The additive change preserves existing behavior, includes focused regression tests, and has no identified blocking issues.
0 open findings
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Summary
variant="none"toInput: no border, background or shadow, and no Future-theme overrides, for a caller whoseclassNamedraws its own box.future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay ...) applies to every default-variant, default-size Input and out-ranks the caller's classes, so a consumer matching another field's box has to restate each property with afuture:prefix. That breaks silently whenever this block changes.nonevariant.Changes
input.tsx: newnonevariant.input.test.tsx:nonecarries nofuture:class, andclassNamereplaces its box.input.stories.tsx:noneadded to the variant control, and aNonestory with a box drawn byclassName; it keeps that box under the Future theme.Demo
Screen.Recording.2026-10-07.at.17.43.58.mov
Testing
vitest runfor input and input-group (161 passed); the no-future:test fails when the Future block is applied tonone.Jira
MST-16240