Skip to content

v3.1.1 — Bug Fix Release

Choose a tag to compare

@ANIBIT14 ANIBIT14 released this 18 Apr 17:43
· 233 commits to main since this 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 missing React import
  • sonner — Fixed useTheme import (next-themes instead of non-existent local hook)
  • stepper — Fixed inverted orientation (horizontal → flex-row, vertical → flex-col)
  • carousel — Added api.off() cleanup to prevent memory leak on re-init
  • marquee — Fixed hover-pause: replaced non-existent Tailwind class with group-hover:[animation-play-state:paused]
  • tree-view — Fixed name collision between internal render function and exported TreeNode interface
  • alert — Fixed AlertTitle forwardRef type (HTMLParagraphElement → HTMLHeadingElement)
  • layered-card — Fixed LayeredCardTitle forwardRef type (HTMLParagraphElement → HTMLHeadingElement)
  • badge — Changed rendered element from <div> to <span> with correct prop type
  • slider — Fixed stale closure in onValueCommit via ref synced with useEffect

Charts

  • chart — Added overflow-hidden to chart container base class
  • radar-chart — Fixed label rendering for non-string values; fixed y-axis domain 'auto' → 'dataMax'
  • gauge-chart — Added guard for min === max division-by-zero; fixed arc segment keys
  • sparkline — Fixed stroke color using unresolved CSS variable instead of resolved value
  • heatmap-chart — Added empty data guard; fixed colorLow/colorHigh interpolation via color-mix
  • radial-bar-chart — Fixed Math.max(...[]) spread crash on empty data
  • funnel-chart — Added missing height prop (default 300)

Shapes & Math Curves

  • shapes — Fixed minimum strokeWidth to prevent negative values
  • ascii-shapes — Fixed 3D rotation matrix bug (wrong oz2 assignment); added aria-hidden="true" to <pre>
  • math-curve-background — Removed non-functional stroke opacity attributes
  • math-curve-progress — Added label prop for accessibility; added CSS transition on indicator
  • math-curves — Fixed cardioid overflow (shape now stays within viewBox); added discontinuities support; fixed triskelion path breaks

Marketing Blocks

  • hero-section — Added href support to action buttons (all 5 variants)
  • cta-section — Fixed bg-warning undefined CSS class → bg-yellow-500; added href support
  • contact-section — Added missing form field id and <Label> elements for accessibility

Application Blocks

  • auth-forms — Added terms checkbox validation; fixed OTP double-submit
  • error-pages — Fixed countdown timer re-render (extracted helper; proper useState + setInterval)
  • settings-page — Fixed controlled form: useEffect prop sync; nullish coalescing for optional fields

Vue Components

  • data-table — Fixed DropdownMenuTrigger missing as-child
  • tabs — Fixed update:modelValue emit type (string | number → string)
  • timeline — Fixed template using props.orientation in the correct scope
  • tour — Fixed ref<HTMLDivElement | undefined>() for strict-mode compatibility

Full Changelog: https://github.com/ANIBIT14/boldkit/blob/main/CHANGELOG.md