Skip to content

feat: add EPBundleSelectionIndicator for bundle option styling#148

Closed
field123 wants to merge 0 commit intomasterfrom
feat/ep-pdp-styling
Closed

feat: add EPBundleSelectionIndicator for bundle option styling#148
field123 wants to merge 0 commit intomasterfrom
feat/ep-pdp-styling

Conversation

@field123
Copy link
Copy Markdown
Collaborator

Summary

  • Adds EPBundleSelectionIndicator code component that bridges BundleOptionContext.isSelected to a data-selected HTML attribute
  • Allows Plasmic designers to style radio/checkbox indicators inside EPBundleOptionTrigger using CSS selectors on data-selected
  • Supports previewState prop for design-time preview of selected/unselected states, with mock data fallback in the editor

Test plan

  • 9 unit tests added covering rendering, data-selected toggle, aria-hidden, className, previewState overrides, mock fallback, and no-context behavior
  • All 847 tests pass
  • TypeScript build succeeds
  • Insert component inside an EPBundleOptionTrigger in Plasmic studio, style as radio circle, verify data-selected toggles on click

@field123 field123 force-pushed the feat/ep-pdp-styling branch from 6e6c48c to e57df03 Compare February 27, 2026 20:52
@field123 field123 closed this Mar 8, 2026
@field123 field123 force-pushed the feat/ep-pdp-styling branch from cffb4e1 to 376056c Compare March 8, 2026 12:31
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.

1 participant