Repository navigation
v3.1.1 — Bug Fix Release
What's Fixed in v3.1.1
A comprehensive bug-fix release addressing 35+ issues across components, charts, shapes, blocks, and Vue components.
Core UI Components
skeleton— Added missingReactimportsonner— FixeduseThemeimport (next-themesinstead of non-existent local hook)stepper— Fixed inverted orientation (horizontal→flex-row,vertical→flex-col)carousel— Addedapi.off()cleanup to prevent memory leak on re-initmarquee— Fixed hover-pause: replaced non-existent Tailwind class withgroup-hover:[animation-play-state:paused]tree-view— Fixed name collision between internal render function and exportedTreeNodeinterfacealert— FixedAlertTitleforwardRef type (HTMLParagraphElement→HTMLHeadingElement)layered-card— FixedLayeredCardTitleforwardRef type (HTMLParagraphElement→HTMLHeadingElement)badge— Changed rendered element from<div>to<span>with correct prop typeslider— Fixed stale closure inonValueCommitvia ref synced withuseEffect
Charts
chart— Addedoverflow-hiddento chart container base classradar-chart— Fixed label rendering for non-string values; fixed y-axis domain'auto'→'dataMax'gauge-chart— Added guard formin === maxdivision-by-zero; fixed arc segment keyssparkline— Fixed stroke color using unresolved CSS variable instead of resolved valueheatmap-chart— Added empty data guard; fixedcolorLow/colorHighinterpolation viacolor-mixradial-bar-chart— FixedMath.max(...[])spread crash on empty datafunnel-chart— Added missingheightprop (default 300)
Shapes & Math Curves
shapes— Fixed minimum strokeWidth to prevent negative valuesascii-shapes— Fixed 3D rotation matrix bug (wrongoz2assignment); addedaria-hidden="true"to<pre>math-curve-background— Removed non-functional stroke opacity attributesmath-curve-progress— Addedlabelprop for accessibility; added CSS transition on indicatormath-curves— Fixed cardioid overflow (shape now stays within viewBox); addeddiscontinuitiessupport; fixed triskelion path breaks
Marketing Blocks
hero-section— Addedhrefsupport to action buttons (all 5 variants)cta-section— Fixedbg-warningundefined CSS class →bg-yellow-500; addedhrefsupportcontact-section— Added missing form fieldidand<Label>elements for accessibility
Application Blocks
auth-forms— Added terms checkbox validation; fixed OTP double-submiterror-pages— Fixed countdown timer re-render (extracted helper; properuseState+setInterval)settings-page— Fixed controlled form:useEffectprop sync; nullish coalescing for optional fields
Vue Components
data-table— FixedDropdownMenuTriggermissingas-childtabs— Fixedupdate:modelValueemit type (string | number→string)timeline— Fixed template usingprops.orientationin the correct scopetour— Fixedref<HTMLDivElement | undefined>()for strict-mode compatibility
Full Changelog: https://github.com/ANIBIT14/boldkit/blob/main/CHANGELOG.md