Enh: surface hidden section props + box-model/anim/vis rollout #18

Merged
jknapp merged 1 commits from enh-sections into main 2026-07-14 13:54:52 +00:00
Owner

Surfaces previously hard-coded/unwired props (PricingTable card colors defaulted pixel-identical, SocialLinks iconShape/gap, Icon bgColor/bgShape/bgSize/link, StarRating filled/empty colors) and rolls box-model + animation + visibility into SectionTypePanel/PricingStylePanel/SocialStylePanel. All values flow through existing cssValue/sanitizeCssValue sinks. 694 tests.

🤖 Generated with Claude Code

Surfaces previously hard-coded/unwired props (PricingTable card colors defaulted pixel-identical, SocialLinks iconShape/gap, Icon bgColor/bgShape/bgSize/link, StarRating filled/empty colors) and rolls box-model + animation + visibility into SectionTypePanel/PricingStylePanel/SocialStylePanel. All values flow through existing cssValue/sanitizeCssValue sinks. 694 tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jknapp added 1 commit 2026-07-14 13:54:52 +00:00
SectionTypePanel (Accordion/Tabs/Testimonials/Countdown/NumberCounter/
CTASection/CallToAction/FeaturesGrid), PricingStylePanel, and
SocialStylePanel all gain a Spacing & Border section (margin/padding
per-side, border, box-shadow, opacity), an Animation section, and a
Visibility section, wired to the shared SpacingControl/BorderControl/
AnimationControl/VisibilityControl.

PricingTable's per-card colors (cardBg/textColor/subColor/featColor/
checkColor/btnBg/btnColor) were previously hard-coded literals computed
from featuredBg inside toHtml -- promoted to real optional props (each
falling back to the exact prior literal when unset) and exposed via
ColorPickerField in PricingStylePanel.

SocialStylePanel now exposes SocialLinks' iconShape/gap (already-built
props with no control), plus Icon's bgColor/bgShape/bgSize/link and
StarRating's filledColor/emptyColor, which the panel's generic
iconBgColor/starColor checks never matched since those aren't Icon's or
StarRating's real prop names.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jknapp merged commit 6e628d68dd into main 2026-07-14 13:54:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cloud-hosting-platform/site-builder#18