Changelog
Esta página aún no está disponible en tu idioma.
Changelog
Section titled “Changelog”All notable changes to AsterUI are documented here.
v0.12.76 (2025-12-27)
Section titled “v0.12.76 (2025-12-27)”Components
Section titled “Components”- Dropdown: Replaced
positionandalignprops with singleplacementprop for Ant Design alignment - Dropdown: Changed
itemsprop tomenuprop with structure{ items: DropdownMenuItemType[], onClick?: (info) => void } - Dropdown: Added
autoAdjustOverflowprop (default:true) to automatically adjust dropdown placement when off screen - Dropdown: Updated default trigger from
['click']to['hover']
Documentation
Section titled “Documentation”- Updated Dropdown documentation across all 5 languages (English, French, Chinese, Spanish, Portuguese)
- Updated all Dropdown demo examples to use new API (
menuandplacementprops) - Updated AI-readable Dropdown documentation
v0.12.75 (2025-12-27)
Section titled “v0.12.75 (2025-12-27)”Components
Section titled “Components”- Button: Added
typeprop for syntactic sugar API alignment ('primary' | 'default' | 'dashed' | 'link' | 'text') - Button: Added
blockboolean prop as alternative toshape="block" - Button: Added
ghostboolean prop as alternative tovariant="ghost" - Button: Added
variant="text"for text-only buttons - Button: Added
aria-labelprop for icon-only button accessibility - Button: Added data-state attributes for testing (
data-state-loading,data-state-disabled,data-state-active,data-state-pressed)
Documentation
Section titled “Documentation”- Updated Button documentation across all 5 languages (English, French, Chinese, Spanish, Portuguese)
- Fixed XMarkIcon size mismatch in AI-readable documentation
- Added data attributes section to Button API documentation
v0.12.74 (2025-12-26)
Section titled “v0.12.74 (2025-12-26)”Components
Section titled “Components”- Added closable functionality to Alert component with onClose, closeIcon, and afterClose callbacks
- Added ‘xs’ size support to Typography.Text component
v0.12.73 (2025-12-25)
Section titled “v0.12.73 (2025-12-25)”Documentation
Section titled “Documentation”- Removed external UI library mentions from user-facing documentation
- Updated Dropdown documentation across all languages (English, French, Spanish, Portuguese, Chinese)
- Updated changelog to remove library references
v0.12.72 (2025-12-25)
Section titled “v0.12.72 (2025-12-25)”Components
Section titled “Components”- Added
DateOfBirth.required()helper for Form validation - Added DOB-level blur handling to avoid premature validation while switching fields
- Added submit-attempt tracking in Form rule helpers
Documentation
Section titled “Documentation”- Updated DateOfBirth Form example to use the required helper
v0.12.71 (2025-12-25)
Section titled “v0.12.71 (2025-12-25)”Components
Section titled “Components”- Added
DateOfBirthcomponent with configurable layouts, year input, and age validation - Fixed DatePicker ref handling for reliable click-outside behavior
Documentation
Section titled “Documentation”- Added DateOfBirth docs and Form integration example
Examples
Section titled “Examples”- Added Date of Birth and onboarding example apps
v0.12.70 (2025-12-25)
Section titled “v0.12.70 (2025-12-25)”Components
Section titled “Components”- Added
useFormanduseWatchexports to Form and improved useForm options handling - Fixed Input mask ref handling for stable cursor behavior
Documentation
Section titled “Documentation”- Added Job Application template and Form.useForm example
- Updated Input mask demo and docs
- Removed legacy
sitepackage
v0.12.69 (2025-12-24)
Section titled “v0.12.69 (2025-12-24)”Components
Section titled “Components”- Updated RichTextEditor toolbar icons to use Heroicons
v0.12.68 (2025-12-24)
Section titled “v0.12.68 (2025-12-24)”Components
Section titled “Components”- Updated Grid to support 24 or 30 columns instead of 24 or 120
Documentation
Section titled “Documentation”- Updated Grid docs and examples to use the 30-column layout
v0.12.67 (2025-12-24)
Section titled “v0.12.67 (2025-12-24)”Bug Fixes
Section titled “Bug Fixes”- Fixed Image rendering when navigating back to pages with cached images
v0.12.66 (2025-12-24)
Section titled “v0.12.66 (2025-12-24)”Components
Section titled “Components”- Added
AspectRatiocomponent for consistent media and layout sizing - Improved
Imagefallback handling to retry fallback sources cleanly
Documentation
Section titled “Documentation”- Renamed the docs sidebar section from Blocks to Templates and regrouped Reference sections
- Added AspectRatio docs and examples, plus updated Image demos to use local assets
v0.12.65 (2025-12-23)
Section titled “v0.12.65 (2025-12-23)”Components
Section titled “Components”- Added
disabledDatesupport for DatePicker and DatePicker.Range
Accessibility
Section titled “Accessibility”- Added keyboard navigation and ARIA roles/attributes for DatePicker and DatePicker.Range
Documentation
Section titled “Documentation”- Documented DatePicker disabled dates and updated localized docs/examples
v0.12.64 (2025-12-23)
Section titled “v0.12.64 (2025-12-23)”Components
Section titled “Components”- Added
DatePicker.Rangefor start/end date selection
Documentation
Section titled “Documentation”- Added DatePicker.Range examples and API docs across localized docs and AI reference docs
v0.12.63 (2025-12-23)
Section titled “v0.12.63 (2025-12-23)”Testability Improvements
Section titled “Testability Improvements”- Added
data-testidsupport to additional components (Anchor, Autocomplete, Breadcrumb, Chart, Chat, Command, ContextMenu, Dock, FileInput, Filter, Flex, FloatButton, Input, Loading, Masonry, Mention, MonthCalendar, QRCode, RadialProgress, Range, Rating, Responsive, Result, Select, Splitter, Stat, Steps, TextRotate, Textarea, ThemeController, Typography, VirtualList, Watermark, WeekCalendar)
Documentation
Section titled “Documentation”- Documented new
data-testidprops across docs, including localized translations and Chart Astro pages
Tooling
Section titled “Tooling”- Updated Astro to 5.16.6 in docs/site packages
v0.12.62 (2025-12-22)
Section titled “v0.12.62 (2025-12-22)”Testability Improvements
Section titled “Testability Improvements”Added comprehensive testability support across 30+ components:
- data-testid prop: Added explicit
data-testidprop to component interfaces for Affix, Alert, Avatar, AvatarGroup, Browser, Code, Container, CopyButton, Countdown, Diff, Divider, Fieldset, Footer, Grid (Row/Col), Hero, HoverGallery, Join, Kbd, Mask, Navbar, Phone, Popover, Progress, Radio, RadioGroup, Skeleton, Space, Status, Toggle, Tooltip, Window - data-state attributes: Added state exposure via
data-statefor CopyButton (copied|idle), Countdown (finished|running) - Props spreading: Extended components to properly spread
...restprops for data-testid passthrough (Diff, HoverGallery, Phone, Status, Window)
Bug Fixes
Section titled “Bug Fixes”- Dropdown: Removed unused
effectiveGetPopupContainervariable that was causing TypeScript warning
v0.12.61 (2025-12-22)
Section titled “v0.12.61 (2025-12-22)”Dependencies
Section titled “Dependencies”- react-hook-form: Moved from peer dependency to regular dependency for transparency - npm now correctly shows “1 dependency” instead of “0 dependencies”
v0.12.60 (2025-12-22)
Section titled “v0.12.60 (2025-12-22)”ConfigProvider Enhancements
Section titled “ConfigProvider Enhancements”- New Props: Added
componentDisabledfor globally disabling all interactive components, andrenderEmptyfor custom empty state rendering - Documentation: Added examples for global disabled state, custom empty states, and combining ConfigProvider with ThemeProvider
Component ConfigProvider Integration
Section titled “Component ConfigProvider Integration”Added useConfig() integration to 8 additional components for consistent global configuration:
- Cascader: Now respects
componentSize,componentDisabled, andrenderEmpty - Dropdown: Now respects
componentDisabledandgetPopupContainer - Transfer: Now respects
componentDisabledandrenderEmpty - TreeSelect: Now respects
componentSize,componentDisabled, andrenderEmpty - Drawer: Now falls back to global
getPopupContainerwhengetContainernot specified - Tour: Now falls back to global
getPopupContainer - ContextMenu: Now respects
getPopupContainer - Mention: Now respects
componentDisabled,renderEmpty, andgetPopupContainer
v0.12.59 (2025-12-22)
Section titled “v0.12.59 (2025-12-22)”Table Component QA Fixes
Section titled “Table Component QA Fixes”- ConfigProvider Integration: Table now respects
componentSizeand globallocalefrom ConfigProvider - DaisyUI Classes: Added missing
table-mdclass, fixed checkbox/radio size scaling
New Table Props
Section titled “New Table Props”showHeader- Control header visibilityrowClassName- Custom row styling (string or function)title/footer/summary- Render functions for table sectionsonHeaderRow- Header row event handlers
New Column Props
Section titled “New Column Props”className- Custom class for column cellsonCell/onHeaderCell- Custom cell attribute callbacks
New RowSelection Props
Section titled “New RowSelection Props”columnTitle,columnWidth,fixed,hideSelectAll,onSelect
New Expandable Props
Section titled “New Expandable Props”defaultExpandAllRows,columnTitle,columnWidth,expandedRowClassName,showExpandColumn
Documentation
Section titled “Documentation”- Added 4 new Table examples: Title/Footer, Summary Row, Row Class Name, Custom Selection
- Backfilled changelog entries for v0.12.55, v0.12.56, v0.12.57
v0.12.58 (2025-12-22)
Section titled “v0.12.58 (2025-12-22)”Bug Fixes
Section titled “Bug Fixes”- Form: Fix Form.Item to preserve child’s original onChange handler, allowing custom onChange handlers on inputs inside Form.Item to work correctly
New Features
Section titled “New Features”- Blocks: Add Signup Form block with password strength meter, password confirmation validation, and terms acceptance
- Examples: Add signup-form example demonstrating Form validation patterns
v0.12.57 (2025-12-22)
Section titled “v0.12.57 (2025-12-22)”Component Improvements
Section titled “Component Improvements”Added data-testid prefix support to 11 components for easier testing:
- Modal: TestIds for overlay, content, header, body, footer, close button
- Dropdown: TestIds for trigger and menu
- Pagination: TestIds for prev/next buttons and page items
- Tabs: TestIds for tab list, individual tabs, and panels
- Popconfirm: TestIds for trigger, popover, confirm/cancel buttons
- Upload: TestIds for dropzone and input
- DatePicker: Added ref forwarding, testIds for input and calendar
- InputNumber: TestIds for input, increment, and decrement buttons
- OTPInput: Indexed testIds for each input field
- Menu: TestId for the main menu element
- Transfer: TestIds for source list, target list, and move buttons
Documentation
Section titled “Documentation”- Updated API tables for all 11 components with
data-testidprop
v0.12.56 (2025-12-21)
Section titled “v0.12.56 (2025-12-21)”Bug Fixes
Section titled “Bug Fixes”- Fix theme color timing issue - use double requestAnimationFrame to ensure CSS fully recalculates before reading theme colors
- ThemeController now properly integrates with ThemeProvider context
- Starter app improvements: uses Hero and Space components
v0.12.55 (2025-12-21)
Section titled “v0.12.55 (2025-12-21)”New Features
Section titled “New Features”- ThemeProvider: New component for comprehensive theme management
- System preference detection (
prefers-color-scheme: dark) - localStorage persistence with configurable storage key
- Cross-tab synchronization
- Support for any DaisyUI theme
- System preference detection (
- SizeProvider: Renamed
IconSizeContexttoSizeContext/SizeProviderfor clarity- Used by Button, CopyButton to propagate size to child icons
useSizehook for consuming size context
Documentation
Section titled “Documentation”- New Providers section in documentation sidebar
- Dedicated pages for ConfigProvider, ThemeProvider, and SizeProvider
- All provider docs available in 5 languages (EN, ES, PT, ZH, FR)
Breaking Changes
Section titled “Breaking Changes”IconSizeContextrenamed toSizeContextuseIconSizerenamed touseSize(in @aster-ui/icons)
v0.12.54 (2025-12-20)
Section titled “v0.12.54 (2025-12-20)”What’s New
Section titled “What’s New”useTheme Hook
Section titled “useTheme Hook”- New hook that detects current theme and provides computed colors from DaisyUI CSS variables
- Returns
{ isDark, colors }with hex values forbackground,foreground,primary,primaryContent - Useful for canvas-based components that can’t use CSS variables directly
- QRCode component now uses theme colors automatically
Hooks Documentation
Section titled “Hooks Documentation”- Added dedicated documentation section for all 11 hooks
- Each hook has its own page with examples and API reference
Components Overview Page
Section titled “Components Overview Page”- New
/componentspage showing all 80+ components organized by category - Includes search functionality
- Accessible from sidebar under Components → Overview
Other Changes
Section titled “Other Changes”- Sidebar sections now collapse by default (except Start Here, Actions, Hooks)
- Updated responsive.mdx to link to useBreakpoint hook docs
- Added avatar images for docs
v0.12.52 (2025-12-20)
Section titled “v0.12.52 (2025-12-20)”Form Component Improvements
Section titled “Form Component Improvements”- Add
data-testidsupport to Form, Form.Item, and Form.ErrorList - Form.Item propagates testid to label, input, error, and extra elements
- Add Form.List example and documentation
- Document missing
sizeprop on Form
Docs Improvements
Section titled “Docs Improvements”- Simplify CSS setup to match standard SPA configuration
- Remove redundant demo.css CLI build
- Faster dev server and builds
v0.12.51 (2025-12-20)
Section titled “v0.12.51 (2025-12-20)”- Fix color utilities to use inline classes (not prefixed)
- Fix prefixer pseudo-class handling (hover:d-class not d-hover:class)
- Add —prefixed option to create-asterui
- Fix icons-prefixed peer dependency
v0.12.50 (2025-12-20)
Section titled “v0.12.50 (2025-12-20)”What’s Changed
Section titled “What’s Changed”Reliable Class Prefixing
Section titled “Reliable Class Prefixing”- All 102 components now use the
dXxxnaming pattern for DaisyUI classes - Prefixer script simplified from ~1578 lines to ~260 lines
- Library is now 100% prefixable with a simple regex-based transformation
Documentation
Section titled “Documentation”- Updated component count to 100+
- Deploy now uses the new docs/ package with live examples
- Removed deprecated docs-slclone package
- Fixed demo area background lightness in docs
- Version bump to 0.12.50
v0.12.49 (2025-12-16)
Section titled “v0.12.49 (2025-12-16)”Add Command component (command palette)
v0.12.48 (2025-12-16)
Section titled “v0.12.48 (2025-12-16)”Changes
Section titled “Changes”- Docs: Complete directive-based code extraction for all demo components
- QRCode: Fix component not rendering in docs (removed internal loading state bug, use client:only for SSR-incompatible canvas)
- Descriptions: Fix label/value text contrast with theme-aware colors
v0.12.47 (2025-12-15)
Section titled “v0.12.47 (2025-12-15)”Add gap-2 spacing for vertical Checkbox.Group layout
v0.12.46 (2025-12-15)
Section titled “v0.12.46 (2025-12-15)”Checkbox QA Fixes
Section titled “Checkbox QA Fixes”Component
Section titled “Component”- Fix className not merged when no children
- Add
aria-checked="mixed"for indeterminate state (accessibility) - Add
nameprop to Checkbox.Group for form submission - Add
data-testidprefix convention for Group options
Documentation
Section titled “Documentation”- Update examples to use built-in
childrenprop for labels - Add all color variants and xl size to examples
- Document new props:
children,name,value,autoFocus,data-testid - Fix fragment detection for single-line JSX elements in code display
v0.12.45 (2025-12-14)
Section titled “v0.12.45 (2025-12-14)”New Features
Section titled “New Features”Message Component
Section titled “Message Component”- New lightweight feedback component for quick user notifications
- Supports
success,error,info,warning,loadingtypes - Wrapper around Notification with compact variant
- Props:
key,icon,className,style,data-testid,duration,onClick,onClose MessageManagerclass exported for test isolation
Enhancements
Section titled “Enhancements”Tour Component (QA Compliance)
Section titled “Tour Component (QA Compliance)”- Testability:
data-testidprop with customizable prefix pattern,data-stateattribute - Code Quality:
forwardRefwithTourRef(goTo, next, prev, close),className,style, spread props - Feature Parity:
arrowprop (boolean | { pointAtCenter })closeIcon,disabledInteractionpropsmaskenhanced to support{ style, color }objectscrollIntoViewOptionssupportsScrollIntoViewOptionsobjectindicatorsRender,actionsRenderfor customizationgetPopupContainerfor portal targetclassNames/stylesfor semantic structure customization
- Per-Step Overrides:
arrow,closeIcon,mask,type,scrollIntoViewOptions - Button Customization:
nextButtonProps,prevButtonPropsper step - Accessibility: Focus trap, initial focus management, live region announcements
Notification Component
Section titled “Notification Component”data-testidsupport with customizable prefixkeyprop for updating existing notificationsicon,className,styleprops
v0.12.44 (2025-12-14)
Section titled “v0.12.44 (2025-12-14)”Changed
Section titled “Changed”- Refactor: use React
keyprop instead ofitemKey/tabKeyfor Dropdown, Menu, ContextMenu, and Tabs components
v0.12.43 (2025-12-13)
Section titled “v0.12.43 (2025-12-13)”- @aster-ui/icons: Standalone library with inlined SVG paths (no heroicons peer dependency)
- Button: IconSizeContext for automatic icon sizing
- Site demos updated to use @aster-ui/icons
v0.12.42 (2025-12-13)
Section titled “v0.12.42 (2025-12-13)”Fix: restore static imports for qrcode, apexcharts, @tanstack/react-virtual
v0.12.41 (2025-12-13)
Section titled “v0.12.41 (2025-12-13)”Revert to static imports for optional peer dependencies (qrcode, apexcharts, @tanstack/react-virtual). Install the peer dep before importing from asterui/chart, asterui/qrcode, or asterui/virtuallist.
v0.12.40 (2025-12-13)
Section titled “v0.12.40 (2025-12-13)”- Add MissingDependency component for QRCode, Chart, VirtualList
- Gracefully show install instructions when optional peer deps are missing
- Fix dynamic import to handle both ESM and CJS exports
v0.12.37 (2025-12-13)
Section titled “v0.12.37 (2025-12-13)”QRCode: add whitespace-nowrap and reduce sizes to prevent text wrapping in missing dependency message
v0.12.36 (2025-12-13)
Section titled “v0.12.36 (2025-12-13)”QRCode: remove horizontal padding in missing dependency message to prevent text wrapping
v0.12.35 (2025-12-13)
Section titled “v0.12.35 (2025-12-13)”QRCode component now shows a friendly message when the qrcode peer dependency is not installed, instead of crashing with an error.
v0.12.33 (2025-12-13)
Section titled “v0.12.33 (2025-12-13)”What’s Changed
Section titled “What’s Changed”Drawer Component - Complete QA Audit
Section titled “Drawer Component - Complete QA Audit”New Props:
afterOpenChange- Callback after open/close animation completesheaderStyle,bodyStyle,footerStyle,rootStyle,maskStyle- Fine-grained stylingforceRender- Pre-render content (keep in DOM when closed)getContainer- Custom portal container (orfalseto disable portal)push- Nested drawer offset behavior (boolean | { distance: number })loading- Show skeleton loading statedata-testid- Test ID with child element prefixes (-mask,-panel,-header,-close,-body,-footer,-skeleton)
Code Quality:
- Added ref forwarding via
DrawerRefinterface - Props now spread to root element for extensibility
SidebarDrawer → ResponsiveDrawer
Section titled “SidebarDrawer → ResponsiveDrawer”Renamed and enhanced with:
widthprop - Custom sidebar width (default: 320px)responsiveprop - Breakpoint for always-visible sidebar (sm/md/lg/xl/2xl)contentClassName,overlayClassNameprops- Ref forwarding and
data-testidsupport
Documentation
Section titled “Documentation”- 8 comprehensive demos for Drawer (basic, placement, footer, extra, sizes, loading, nested, no-mask)
- Test ID reference table
- Ref documentation
v0.12.32 (2025-12-13)
Section titled “v0.12.32 (2025-12-13)”Carousel Component Rewrite
Section titled “Carousel Component Rewrite”Complete rewrite of the Carousel component with full functionality:
- Autoplay with configurable
autoplaySpeed(pauses on hover) - Navigation arrows (prev/next buttons)
- Dot indicators with configurable
dotPlacement(top/bottom/start/end) - Fade effect as alternative to scroll transition
- Infinite looping (configurable)
- Keyboard navigation (arrow keys)
- Controlled/uncontrolled modes (
activeIndex/defaultActiveIndex) - Imperative methods via ref:
goTo(),next(),prev() - Callbacks:
beforeChange,afterChange - Vertical orientation (fixed scrolling issue)
- ARIA attributes for accessibility
- data-testid support with prefixed child elements
Badge Fix
Section titled “Badge Fix”- Moved
ghostfromBadgeTypetoBadgeVariantto correctly match DaisyUI’s class structure
v0.12.31 (2025-12-12)
Section titled “v0.12.31 (2025-12-12)”Changes
Section titled “Changes”Breaking Changes
Section titled “Breaking Changes”Chart,QRCode, andVirtualListare now imported from separate entry points:import { Chart } from 'asterui/chart'import { QRCode } from 'asterui/qrcode'import { VirtualList } from 'asterui/virtuallist'
- Optional peer dependencies (
apexcharts,qrcode,@tanstack/react-virtual) are no longer loaded when importing from the mainasteruipackage - This fixes Vite dev server errors when these optional dependencies aren’t installed
react-hook-formremains a required peer dependency (Form components stay in main bundle)- Added
create-asteruiCLI scaffolding tool (not yet published to npm) - Updated documentation for new import paths
v0.12.30 (2025-12-12)
Section titled “v0.12.30 (2025-12-12)”ColorPicker Improvements
Section titled “ColorPicker Improvements”- Add
forwardReffor proper ref forwarding - Add
defaultValueprop for uncontrolled mode - Add
showTextprop to display hex value below picker - Add
allowClearprop with clear button - Add
data-testidsupport with prefix pattern for child elements - Add keyboard navigation (arrow keys adjust values, Shift+Arrow for larger steps)
- Add ARIA attributes for accessibility (role=“slider”, aria-valuetext, etc.)
- Update documentation and examples
Space Component
Section titled “Space Component”- Default to
align="start"for vertical direction to prevent children from stretching to full width
v0.12.29 (2025-12-12)
Section titled “v0.12.29 (2025-12-12)”TimePicker Improvements
Section titled “TimePicker Improvements”Accessibility
Section titled “Accessibility”- Added ARIA attributes (aria-haspopup, aria-expanded, role=listbox/option)
- Added keyboard navigation (arrow keys, escape, enter)
Testability
Section titled “Testability”- Added data-testid support with prefix pattern for child elements
New Props
Section titled “New Props”allowClear- show clear button when time is selectedopen/onOpenChange- controlled popup statehourStep,minuteStep,secondStep- custom intervalsstatus- validation status (‘error’ | ‘warning’)
- Added forwardRef support
- Fixed dropdown width
- Updated docs with better examples
v0.12.28 (2025-12-12)
Section titled “v0.12.28 (2025-12-12)”Rebuild Collapse component with improved API
- Add items prop for array-based panel configuration
- Add accordion, activeKey, defaultActiveKey props
- Add bordered, ghost, size props
- Add icon prop (arrow/plus/none) for DaisyUI variants
- Add expandIconPlacement prop
- Add ref forwarding and data-testid support
- Add keyboard accessibility (Enter/Space)
- Add aria-expanded and data-state attributes
v0.12.27 (2025-12-12)
Section titled “v0.12.27 (2025-12-12)”Descriptions
Section titled “Descriptions”- Add
itemsprop for array-based configuration - Fix transparent background on value fields (add
bg-base-100) - Add
extraprop for top-right action area - Add ref forwarding
- Add
data-testidsupport - Add accessibility improvements (scope attributes, role, aria-label)
- Change size values to
sm/md/lgfor consistency
List (from previous commit)
Section titled “List (from previous commit)”- Add
itemLayout,loadMore,rowKeyprops - Add accessibility (role=“list”, aria-label, aria-busy)
- Fix background/border styling with DaisyUI classes
Image (from previous commit)
Section titled “Image (from previous commit)”- Add ref forwarding and keyboard support
- Add accessibility for preview modal
- Fix broken demo images (use picsum.photos)
Empty (from previous commit)
Section titled “Empty (from previous commit)”- Add static image constants (
PRESENTED_IMAGE_DEFAULT,PRESENTED_IMAGE_SIMPLE) - Add ref forwarding and accessibility
- Remove heroicons dependency from demos
v0.12.26 (2025-12-11)
Section titled “v0.12.26 (2025-12-11)”Tag Component QA Audit
Section titled “Tag Component QA Audit”Tag Component
Section titled “Tag Component”- Controlled visibility: Added
visibleprop for controlled visibility management - Variants: Added
variantprop withfilled,outlined,soft, anddashoptions - Disabled state: Added
disabledprop with proper styling and interaction blocking - Link support: Added
hrefandtargetprops to render tag as an anchor element - Extra large size: Added
xlsize option - Improved accessibility:
- Close button now uses descriptive aria-label (“Remove {label}”)
- Added focus ring styles on close button
- Added
TagLiveRegioncomponent for screen reader announcements when tags are removed
CheckableTag Component
Section titled “CheckableTag Component”- Size prop: Added size support (xs, sm, md, lg, xl)
- Color prop: Added color support for all DaisyUI colors
- Disabled state: Added
disabledprop - Focus indicators: Added visible focus ring for keyboard navigation
Bug Fixes
Section titled “Bug Fixes”- Added missing
data-testidtoCascaderPropsinterface - Added missing
data-testidtoTreePropsinterface
v0.12.25 (2025-12-11)
Section titled “v0.12.25 (2025-12-11)”Tag Component QA Fixes
Section titled “Tag Component QA Fixes”Tag & CheckableTag
Section titled “Tag & CheckableTag”- Add
forwardReffor ref forwarding - Add
data-testidprops with customizable base IDs - Add keyboard support (Enter/Space) to CheckableTag
- Add
data-stateattribute to CheckableTag for test automation - Export
TagSizeandTagColortypes - Use static class lookup maps (no interpolation)
Documentation
Section titled “Documentation”- Update Tag docs and demos to use
<Space>component instead of raw divs - Add QA rule: example code should use AsterUI components
TreeSelect (from v0.12.24)
Section titled “TreeSelect (from v0.12.24)”- Add
variantprop (outlined/filled/borderless) - Add
ghostprop for transparent background - Add
maxCountprop to limit selections - Add
tagRenderprop for custom tag rendering - Add
neutralcolor option - Implement
labelInValueto return {value, label} objects - Implement
treeIconto render node icons - Add static exports (SHOW_ALL, SHOW_PARENT, SHOW_CHILD)
- Create comprehensive documentation
v0.12.24 (2025-12-10)
Section titled “v0.12.24 (2025-12-10)”What’s Changed
Section titled “What’s Changed”Cascader & TreeSelect QA Audit
Section titled “Cascader & TreeSelect QA Audit”Complete QA audit of Cascader and TreeSelect components with improvements across accessibility, testability, and feature parity.
Cascader
Section titled “Cascader”- Accessibility: Full keyboard navigation (↑↓←→, Enter, Escape, Home, End), ARIA combobox pattern with
aria-activedescendant - Testability: Customizable
data-testidwith prefixed child elements,data-stateattributes - New Features:
multiple,changeOnSelect,loadData,status,color,maxTagCount,fieldNames,open,onDropdownVisibleChange,dropdownRender,notFoundContent - Code Quality:
forwardRefsupport, static Tailwind class maps
TreeSelect
Section titled “TreeSelect”- Accessibility: Full keyboard navigation, ARIA tree/treeitem pattern with
aria-selected,aria-expanded - Testability: Customizable
data-testidwith prefixed child elements,data-stateattributes - New Features:
treeCheckStrictly,showCheckedStrategy,searchValue,onSearch,filterTreeNode,status,color,maxTagCount,maxTagPlaceholder,treeLine,loadData,fieldNames,open,onDropdownVisibleChange,suffixIcon,switcherIcon,dropdownRender,notFoundContent,popupClassName,xlsize - Code Quality:
forwardRefsupport, static Tailwind class maps
- Fixed interpolated checkbox Tailwind classes
- Added customizable
data-testidvia context
Full Changelog: https://github.com/edadma/asterui/compare/v0.12.23…v0.12.24
v0.12.23 (2025-12-10)
Section titled “v0.12.23 (2025-12-10)”- VirtualList: Fix gap prop not rendering visual space between items
v0.12.22 (2025-12-10)
Section titled “v0.12.22 (2025-12-10)”New Component
Section titled “New Component”- VirtualList - Efficiently render large lists by only rendering visible items
- Wraps @tanstack/react-virtual
- Supports fixed or variable item heights
- Simple API:
items,height,itemHeight,renderItem - Optional peer dependency:
@tanstack/react-virtual
v0.12.21 (2025-12-09)
Section titled “v0.12.21 (2025-12-09)”Changes
Section titled “Changes”- Notification: Close button now positioned in upper right corner
- Code: Fixed TypeScript errors in extractTextFromChildren function
v0.12.20 (2025-12-09)
Section titled “v0.12.20 (2025-12-09)”New Features
Section titled “New Features”- CopyButton: New component for copying text to clipboard with visual feedback
- Code: Add
copyableprop for built-in copy button support
// CopyButton standalone<CopyButton text="Copy me!" showTooltip />
// Code with copyable<Code copyable> <Code.Line prefix="$">npm install asterui</Code.Line></Code>v0.12.19 (2025-12-09)
Section titled “v0.12.19 (2025-12-09)”- Watermark: Fix memory leak by properly cleaning up image event handlers
- Watermark: Memoize textLines and fontSettings to optimize re-renders
- Watermark: Simplify useEffect dependency array
v0.12.18 (2025-12-08)
Section titled “v0.12.18 (2025-12-08)”What’s New
Section titled “What’s New”Select Component
Section titled “Select Component”- Add
statusprop for validation feedback (error/warning) - Add
floatingLabelprop for animated floating labels - Add
addonBeforeandaddonAfterprops for input decorations
Card Component
Section titled “Card Component”- Add
extraprop for content in header top-right corner - Add
loadingprop for skeleton loading state - Add
hoverableprop for hover shadow effect - Add
avataranddescriptionprops for inline meta layout - Add
Card.Metacompound component for avatar + title + description layouts - Fix
imageFulloverlay (border was breaking CSS grid stacking)
Documentation
Section titled “Documentation”- Fix inline code contrast in dark mode usage tips
- Add examples for all new Card and Select features
v0.12.17 (2025-12-07)
Section titled “v0.12.17 (2025-12-07)”- Remove Label component (features integrated into Input and Form.Item)
- Add floatingLabel, addonBefore, addonAfter props to Input
- Add floatingLabel, addonBefore, addonAfter props to Form.Item
- Add unstyled prop to Input for use inside styled wrappers
- Fix addon rendering to use proper DaisyUI input group pattern
v0.12.16 (2025-12-07)
Section titled “v0.12.16 (2025-12-07)”New Component
Section titled “New Component”HoverGallery
Section titled “HoverGallery”Reveal multiple images by hovering horizontally - ideal for e-commerce product galleries.
import { HoverGallery, Card } from 'asterui'
<Card title="Product Name" cover={<HoverGallery images={['/front.jpg', '/side.jpg', '/back.jpg']} />}> <p>Hover over the image to see more angles</p></Card>- Supports up to 10 images
- Pure CSS hover effect
- Works great with Card’s
coverprop
v0.12.15 (2025-12-07)
Section titled “v0.12.15 (2025-12-07)”Button API Refactor
Section titled “Button API Refactor”Split the type prop into separate color and variant props for better clarity:
color:primary,secondary,accent,info,success,warning,error,neutralvariant:solid,outline,dash,soft,ghost,link
Before
Section titled “Before”<Button type="primary">Primary</Button><Button type="ghost">Ghost</Button><Button type="primary" outline>Outline</Button><Button color="primary">Primary</Button><Button variant="ghost">Ghost</Button><Button color="primary" variant="outline">Outline</Button>Other Changes
Section titled “Other Changes”- Added missing examples for
pressedandnoAnimationprops - Fixed
htmlType="reset"not working in Form component - Updated all demos and documentation to use new Button API
v0.12.14 (2025-12-07)
Section titled “v0.12.14 (2025-12-07)”Input Component Enhancements
Section titled “Input Component Enhancements”New Features
Section titled “New Features”- allowClear - Show clear button when input has value
- prefix/suffix - Add icons or elements to input
- status - Validation status (
error|warning) with automaticaria-invalid - errorId - Link to error message via
aria-describedby - onClear - Callback when clear button is clicked
Bug Fixes
Section titled “Bug Fixes”- Fixed
extractRaw()mask placeholder bug (was hardcoded_instead of usingmaskPlaceholderprop) - Fixed prefix/suffix icon visibility with proper z-index
Documentation
Section titled “Documentation”- Added examples for allowClear, prefix/suffix, and validation status
- Updated to use Heroicons in examples
v0.12.13 (2025-12-07)
Section titled “v0.12.13 (2025-12-07)”Steps Component Enhancements
Section titled “Steps Component Enhancements”- Add data-driven pattern with
itemsprop - Add
currentprop for controlled step index (0-based) - Add
directionprop ('horizontal' | 'vertical') - Add
iconanddescriptionsupport for steps - Add
onChangecallback for click navigation - Fix off-by-one bug: current step now properly highlighted
- Remove
sizeprop (not supported by daisyUI) - Replace inappropriate example text
Bug Fixes
Section titled “Bug Fixes”- Fix Menu.tsx TypeScript error (Omit title from base type)
v0.12.12 (2025-12-07)
Section titled “v0.12.12 (2025-12-07)”Menu Component Improvements
Section titled “Menu Component Improvements”New Features
Section titled “New Features”- Size prop: Added
sizeprop withxs,sm,md,lg,xlvariants using daisyUI classes - Data-driven pattern: Added
itemsprop for data-driven menus alongside compound pattern - MenuItem type: New
MenuIteminterface for data-driven configuration
- Added
titleas alias forlabelinMenu.SubMenufor backwards compatibility - Updated demos with proper
itemKeyand state management for interactive selection - Fixed API documentation to match actual component props
Documentation
Section titled “Documentation”- Added data-driven demo example
- Complete API tables for all props including
selectedKeys,defaultSelectedKeys,openKeys,defaultOpenKeys,onSelect,onOpenChange - Documented both compound and data-driven patterns
v0.12.11 (2025-12-07)
Section titled “v0.12.11 (2025-12-07)”Changes
Section titled “Changes”Splitter
Section titled “Splitter”- Implement collapsible panels with
collapsible,collapsed,defaultCollapsed, andonCollapseprops - Add
resizableprop to disable resizing for specific panels - Support per-panel
defaultSizeandsizeprops - Add new examples: Collapsible Panels, Non-Resizable Panel
- Add
splitprop for separator elements between children - Add
justifyexample to documentation
Removed
Section titled “Removed”- Remove redundant
Stackcomponent (useFlexorSpaceinstead)
v0.12.10 (2025-12-07)
Section titled “v0.12.10 (2025-12-07)”Changes
Section titled “Changes”- Simplified API: removed compound components (Hero.Content, Hero.Overlay)
- New
contentClassNameprop for styling the content wrapper - New
overlayboolean prop for background overlay effect
Masonry
Section titled “Masonry”- Rewrote with true masonry layout (shortest-column-first placement)
- Items now flow left-to-right in reading order
- Fixed gap prop to accept any pixel value
- Added interactive Dynamic Items demo
v0.12.9 (2025-12-07)
Section titled “v0.12.9 (2025-12-07)”Masonry Component Rewrite
Section titled “Masonry Component Rewrite”- Rewrote Masonry to use true masonry layout (shortest-column-first placement)
- Items now flow left-to-right in reading order (Pinterest-style)
- Fixed gap prop to accept any pixel value
- Fixed responsive breakpoints to use viewport width
- Added interactive Dynamic Items demo with add/remove functionality
- Updated documentation
v0.12.8 (2025-12-06)
Section titled “v0.12.8 (2025-12-06)”Changes
Section titled “Changes”Footer
Section titled “Footer”- Simplified Basic Footer example (no nav wrapper needed)
- Synced demo code with example code
- Added 120-column mode documentation and example
- Added missing API props (cols, justify, align, order)
- Changed default gutter from 0 to 16px
- Fixed gutter calculation using negative margin + padding technique
- Added default span (full width) when not specified
- Synced markdown docs with astro examples
v0.12.7 (2025-12-06)
Section titled “v0.12.7 (2025-12-06)”What’s Changed
Section titled “What’s Changed”FloatButton.Group Improvements
Section titled “FloatButton.Group Improvements”- Add
mainActionprop for main action button that replaces trigger when open - Add
onMainActionclick handler for main action button - Add
showCloseprop to show close button when open - Use DaisyUI’s fab classes (
fab,fab-flower,fab-main-action,fab-close) - Update demos to use FloatButton.Group component instead of raw HTML
Dependencies
Section titled “Dependencies”- Upgrade daisyui to 5.5.8
- Upgrade tailwindcss to 4.1.17
v0.12.6 (2025-12-06)
Section titled “v0.12.6 (2025-12-06)”Dropdown Component Enhancements
Section titled “Dropdown Component Enhancements”- Controlled mode: Added
openandonOpenChangeprops for external state control - Disabled state: Added
disabledprop to prevent dropdown from opening - Arrow indicator: Added
arrowprop to show pointer from menu to trigger - Z-index fix: Increased z-index to prevent menu being clipped by other elements
- Documentation: Fixed prop names (position/align instead of placement), added missing examples
Site Fixes
Section titled “Site Fixes”- Removed
overflow-hiddenfrom all component example cards (93 files) - Fixes floating elements (dropdowns, tooltips, popovers, selects) being clipped in documentation examples
v0.12.5 (2025-12-06)
Section titled “v0.12.5 (2025-12-06)”New Features
Section titled “New Features”Button Component Enhancements
Section titled “Button Component Enhancements”- icon: New prop for automatic icon placement with proper spacing
- iconPosition: Control icon position (
startorend) - danger: Boolean shorthand for destructive action styling
- round: New shape value for pill-shaped buttons
Bug Fixes
Section titled “Bug Fixes”- Fixed link-buttons demo mismatch between docs and implementation
v0.12.4 (2025-12-06)
Section titled “v0.12.4 (2025-12-06)”Bug Fixes
Section titled “Bug Fixes”- Mask: Fix class interpolation issue causing shapes not to display correctly
- Kbd: Fix class interpolation issue for size variants
- Modal: Add missing
width,centered, andonCloseprops that were documented but not implemented
v0.12.3 (2025-12-06)
Section titled “v0.12.3 (2025-12-06)”Remove Calendar component (third-party library had CSS theming issues)
v0.12.2 (2025-12-06)
Section titled “v0.12.2 (2025-12-06)”New Component
Section titled “New Component”- Calendar - Month and week calendar views with DaisyUI theme integration
Calendar.Month- Full month view with eventsCalendar.Week- Weekly view with time slots- Automatic dark/light mode theming
- Support for events, locales (en, fr), and click callbacks
- Wraps @vinctus/calendar
v0.12.1 (2025-12-06)
Section titled “v0.12.1 (2025-12-06)”Form: add advanced features and fix Radio.Group onChange
- Add labelWidth prop to Form for configurable horizontal layout label widths (default 60px)
- Add tooltip, extra, hasFeedback, dependencies, validateTrigger, initialValue, hidden props to Form.Item
- Add Form.ErrorList component for consolidated error display
- Add Form.useForm hook for programmatic form control
- Fix Radio.Group onChange to pass event object with target.value
- Fix field dependencies infinite loop issue
- Update all form examples to use Modal.success instead of console.log
v0.12.0 (2025-12-05)
Section titled “v0.12.0 (2025-12-05)”New Components
Section titled “New Components”- TextRotate - Animated text that cycles through multiple options with customizable duration
- Diff - Side-by-side comparison with interactive resizer
Improvements
Section titled “Improvements”- Anchor - Improved scroll spy with bottom detection, working scroll container demos
- Countdown - Fixed digit padding with —digits:2, improved callback demo
- Kbd - New keyboard key display component
Changes
Section titled “Changes”- Diff: renamed
item1/item2props toleft/right
v0.11.0 (2025-12-05)
Section titled “v0.11.0 (2025-12-05)”Changes
Section titled “Changes”- Add Tour component with spotlight highlighting and step navigation
- Add Tour documentation page with interactive examples
- Refactor Segmented to compound components (Segmented.Item)
- Add OTPInput, Segmented, Tour to README component lists
- Replace inline SVGs with heroicons throughout demos
- Configure tag-based documentation deployment
New Components
Section titled “New Components”- Segmented - Inline toggle for switching between mutually exclusive options
- Tour - Guided tour with spotlight highlighting and step navigation
New Hooks
Section titled “New Hooks”- useBreakpoint - Detect current breakpoint and screen width
- useClickOutside - Detect clicks outside an element
- useClipboard - Copy text to clipboard
- useDebounce - Debounce a value
- useDisclosure - Manage open/close state
- useHover - Detect hover state
- useKeyPress - Detect key presses
- useLocalStorage - Persist state to localStorage
- usePrevious - Track previous value
- useWindowSize - Track window dimensions
v0.10.3 (2025-12-04)
Section titled “v0.10.3 (2025-12-04)”Changes
Section titled “Changes”- Rebrand from BloomUI to AsterUI
- Update all URLs to asterui.com
- Update GitHub repository references
- Improve SEO meta tags
v0.10.2 (2025-12-02)
Section titled “v0.10.2 (2025-12-02)”Fix Input component width handling for flex layouts
- Removed hardcoded w-full from Input component (users add via className when needed)
- Changed bordered handling: only adds border-0 when bordered=false (DaisyUI v5 has borders by default)
- Updated documentation
v0.10.1 (2025-12-02)
Section titled “v0.10.1 (2025-12-02)”Responsive Utilities
Section titled “Responsive Utilities”New components and hook for building responsive layouts:
- Show - Conditionally render content based on breakpoint (
above,below,at,between) - Hide - Conditionally hide content based on breakpoint
- useBreakpoint - Hook returning
breakpoint,width,isAbove(),isBelow(),isAt(),isBetween()
Example
Section titled “Example”import { Show, Hide, useBreakpoint } from '@edadma/bloomui'
// Show only on desktop<Show above="lg"> <DesktopNav /></Show>
// Hide on mobile<Hide below="md"> <Sidebar /></Hide>
// Programmatic accessconst { breakpoint, isAbove } = useBreakpoint()Other Changes
Section titled “Other Changes”- Updated llms.txt with absolute URLs for AI assistant compatibility
v0.10.0 (2025-12-02)
Section titled “v0.10.0 (2025-12-02)”What’s New
Section titled “What’s New”Form Array-based Validation Rules
Section titled “Form Array-based Validation Rules”Form.Item now supports array-based validation rules for cleaner, more readable validation:
<Form.Item name="password" label="Password" rules={[ { required: true }, { min: 8, message: 'At least 8 characters' }, { pattern: /[A-Z]/, message: 'Needs uppercase letter' }, ]}> <Input type="password" /></Form.Item>Landing Page Improvements
Section titled “Landing Page Improvements”- Consistent code blocks with copy buttons
- Icon buttons for npm and GitHub links
- Streamlined content
Other Changes
Section titled “Other Changes”- Updated all README examples with login form showcase
- Fully tree-shakable (documented in features)
v0.9.0 (2025-11-30)
Section titled “v0.9.0 (2025-11-30)”What’s New
Section titled “What’s New”- Code component - Renamed from CodeMockup, with new
highlightprop for Code.Line - ContextMenu component - Right-click context menu
- Countdown component - Countdown timer display
- OTPInput component - One-time password input field
Breaking Changes
Section titled “Breaking Changes”CodeMockuprenamed toCode- Removed deprecated
CalendarOldandLinkcomponents
v0.8.3 (2025-11-29)
Section titled “v0.8.3 (2025-11-29)”New Features
Section titled “New Features”- Button href support: Button component now accepts
hrefandtargetprops. Whenhrefis provided, the button renders as an anchor element for proper link semantics.
Other Changes
Section titled “Other Changes”- Added npm and GitHub links to docs navbar
- Updated ButtonPage with Link Buttons example
v0.8.2 (2025-11-29)
Section titled “v0.8.2 (2025-11-29)”- Fix Progress color variants not detected by Tailwind JIT
- Fix Range color classes using string interpolation
- Fix RadialProgress text color classes using string interpolation
- Fix Typography line-clamp classes using string interpolation
- Fix Popconfirm button type classes using string interpolation
- Fix CalendarOld badge color classes using string interpolation
- Fix Space component dynamic gap using Tailwind arbitrary values
All components now use explicit class mappings instead of string interpolation, ensuring Tailwind JIT properly detects and includes the classes at build time.
v0.8.1 (2025-11-29)
Section titled “v0.8.1 (2025-11-29)”Test-Friendly Component Updates
Section titled “Test-Friendly Component Updates”All components now support prop pass-through for better testing and customization:
New Features
Section titled “New Features”- Full HTML attribute support: All components extend
React.HTMLAttributesfor complete prop forwarding - Custom data attributes: Pass
data-testidand otherdata-*attributes via rest spread - State tracking: Added
data-stateattributes for testing component states:Affix:data-state="affixed|normal"QRCode:data-state="loading|expired|active"Result:data-statusattribute
Technical Improvements
Section titled “Technical Improvements”- Used
Omitpattern to avoid TypeScript conflicts with built-in HTML attributes - Components are now test-friendly like Radix UI and Headless UI
- Enables easier integration with testing libraries (React Testing Library, Playwright, etc.)
Components Updated
Section titled “Components Updated”All 80+ components received prop pass-through support.
v0.8.0 (2025-11-26)
Section titled “v0.8.0 (2025-11-26)”New Components
Section titled “New Components”- Affix - Make elements stick to viewport when scrolling
- FloatButton - Floating action button with BackTop variant
- Chart - Data visualization with ApexCharts and automatic daisyUI theme integration
Improvements
Section titled “Improvements”- Chart component reads daisyUI CSS variables directly and converts oklch colors to hex
- All new component documentation pages have complete runnable code examples
v0.7.0 (2025-11-26)
Section titled “v0.7.0 (2025-11-26)”New Features
Section titled “New Features”- Input Masking - Added
maskprop to Input component for formatted input- Use
#for digits,Afor letters,*for alphanumeric - Examples: phone
(###) ###-####, credit card#### #### #### ####, date##/##/#### - Customizable placeholder character with
maskPlaceholderprop
- Use
New Components (from v0.6.0)
Section titled “New Components (from v0.6.0)”- Mention - Input with @mention support for tagging users
- Splitter - Resizable split panes for adjustable layouts
- Mockup Components:
- Browser - Browser window mockup with URL bar
- CodeMockup - Terminal-style code display
- Phone - iPhone-style phone frame mockup
- Window - OS-style window frame mockup
Documentation
Section titled “Documentation”- Updated all READMEs with complete component lists
- Added input mask examples to Input documentation
v0.6.0 (2025-11-25)
Section titled “v0.6.0 (2025-11-25)”New Components
Section titled “New Components”- Tree - Hierarchical tree view with expand/collapse and selection
- TreeSelect - Tree selection dropdown for hierarchical data
- Transfer - Double-column transfer for moving items between lists
Improvements
Section titled “Improvements”- Updated documentation with self-contained app examples for all new components
- Added version badge to docs navbar
- Clarified Badge vs Tag component usage
- Updated component lists in READMEs
Full Component List
Section titled “Full Component List”Now includes 70+ components across General, Actions, Data Entry, Data Display, Layout, Navigation, and Feedback categories.
v0.5.0 (2025-11-24)
Section titled “v0.5.0 (2025-11-24)”New Components
Section titled “New Components”-
Cascader - Hierarchical selection from cascading dropdown columns
- Multi-column dropdown for nested option selection
- Click or hover expand trigger modes
- Custom display render support
- Multiple sizes (xs, sm, md, lg)
- Disabled options support
- Form integration
-
ColorPicker - Color selection with picker panel and preset swatches
- HSL-based color picker with visual interface
- Hue slider for full color spectrum
- Preset color swatches
- Configurable modes: swatches only, picker only, or both
- Form integration with hex value output
Improvements
Section titled “Improvements”-
Modal - Enhanced accessibility
- Added aria-labelledby and aria-describedby attributes
- Focus restoration on close
-
Form.Item - Improved accessibility
- Label/input association with htmlFor
- Error messages linked with aria-describedby
- aria-invalid state for validation errors
-
Dropdown - Full keyboard navigation and ARIA support
- Arrow keys, Enter/Space, Escape, Home/End navigation
- Proper ARIA roles and states
Full Changelog
Section titled “Full Changelog”https://github.com/edadma/petalui/compare/v0.4.6…v0.5.0
v0.4.6 (2025-11-24)
Section titled “v0.4.6 (2025-11-24)”Improvements
Section titled “Improvements”- Make PageLayout text theme-aware by default
- Added
text-base-contentclass to ensure all text automatically adapts to the active DaisyUI theme - Component-specific text colors still override this default
- Added
Full Changelog
Section titled “Full Changelog”https://github.com/edadma/petalui/compare/v0.4.5…v0.4.6
v0.4.4 (2025-11-24)
Section titled “v0.4.4 (2025-11-24)”Bug Fixes
Section titled “Bug Fixes”- Fix React bundling issue by externalizing
react-dom/client- Modal and Notification components were causing React DOM to be bundled with the library
- This was triggering React internals errors in consuming applications
- Now properly externalizes
react-dom/clientin the build configuration
Full Changelog
Section titled “Full Changelog”https://github.com/edadma/petalui/compare/v0.4.3…v0.4.4
v0.4.3 (2025-11-23)
Section titled “v0.4.3 (2025-11-23)”Changes
Section titled “Changes”- Enable tree-shaking with
sideEffects: false - Make react-hook-form a peer dependency to reduce bundle size and prevent duplicate dependencies
Breaking Changes
Section titled “Breaking Changes”Users now need to install react-hook-form as a peer dependency. With npm 7+, this will be installed automatically.
v0.4.2 (2025-11-23)
Section titled “v0.4.2 (2025-11-23)”What’s New
Section titled “What’s New”Form Component Enhancements
Section titled “Form Component Enhancements”- Horizontal Layout Support: Form.Item now supports
layout="horizontal"for side-by-side label and input positioning with proper spacing (gap-4) - Improved Label Spacing: Vertical layout labels now have better spacing (mb-2) between label and input for improved readability
InputNumber Improvements
Section titled “InputNumber Improvements”- Block Prop: Added
blockprop (defaults totrue) for explicit width controlblock={true}: Full-width (w-full) - ideal for form layoutsblock={false}: Inline width (inline-block) - suitable for inline use
- Form Integration: InputNumber now properly fills container width in grid layouts
Changes
Section titled “Changes”- Form.tsx: Add horizontal layout support and improved label spacing
- InputNumber.tsx: Add block prop for width control
- package.json: Bump version to 0.4.2
Full Changelog: https://github.com/edadma/petalui/compare/v0.4.1…v0.4.2
v0.4.1 (2025-11-23)
Section titled “v0.4.1 (2025-11-23)”Bug Fixes
Section titled “Bug Fixes”- Masonry - Fixed Tailwind JIT compatibility by using static class mappings instead of string interpolation
- Input - Fixed
bordered={false}prop to properly remove borders by addingborder-0class - Documentation - Fixed Masonry code examples to match rendered output
- Documentation - All component pages now use Masonry component for layout consistency
Documentation
Section titled “Documentation”- Added back Responsive Columns example to Masonry documentation
- Refactored 50 documentation pages to use Masonry component
v0.4.0 (2025-11-23)
Section titled “v0.4.0 (2025-11-23)”New Components
Section titled “New Components”- Masonry - CSS columns-based masonry grid layout component
- Descriptions - Display multiple read-only fields in structured layouts with semi-compound API
Enhancements
Section titled “Enhancements”- Avatar - Simplified API with
src,size,shape, andstatusprops - Avatar.Group - New component for displaying avatar groups with max overflow count
Improvements
Section titled “Improvements”- Enhanced documentation pages with more examples
- Updated README with new components
- Fixed masonry examples with explicit height control
v0.3.1 (2025-11-23)
Section titled “v0.3.1 (2025-11-23)”Features
Section titled “Features”Grid System Enhancement
Section titled “Grid System Enhancement”Added optional 120-column grid system alongside the existing 24-column grid for more precise layout control.
Key improvements:
- Row component now accepts
colsprop with values24or120(defaults to24) - Automatic gutter scaling for 120-column grids maintains consistent visual spacing
- Perfect for layouts requiring 5-column arrangements (e.g., 24/120 = 20% width)
- Fully compatible with existing 24-column grid code
Example usage:
<Row cols={120} gutter={16}> <Col xs={60} md={24}> {/* xs: 60/120 = 50% (2 columns on mobile) */} {/* md: 24/120 = 20% (5 columns on desktop) */} </Col></Row>See the job application example for a practical demonstration with a 5-column skills section.
v0.3.0 (2025-11-23)
Section titled “v0.3.0 (2025-11-23)”New Features
Section titled “New Features”- Space Component: Added new Space layout component for consistent spacing between elements
- Supports vertical and horizontal direction
- Five size options: xs, sm, md, lg, xl
- Custom alignment and wrap options
Updates
Section titled “Updates”- Updated all documentation pages to use Space component
- Updated all example applications to use Space component
- Improved consistency across the entire codebase
v0.2.0 (2025-11-22)
Section titled “v0.2.0 (2025-11-22)”Form Component Enhancements
Section titled “Form Component Enhancements”- Built-in Type Validators: Added pre-configured validators for email, url, and number fields
- Form Methods API: Full programmatic control with
setFieldValue,getFieldValue,validateFields,resetFields, and more - Form.List: Dynamic field arrays for managing multiple entries (users, items, etc.)
- Bug Fixes: Fixed nested field path handling for proper state management
Demo Improvements
Section titled “Demo Improvements”- Replaced all
alert()calls with Modal and notification components for better UX - Consistent feedback patterns across all demo pages
- Enhanced notification examples showing callback functionality
Documentation
Section titled “Documentation”- Updated README with all available components
- Added documentation for: Autocomplete, Range, TimePicker, Carousel, Chat, Image, Skeleton, Popconfirm, RadialProgress
Installation
Section titled “Installation”```bash npm install @edadma/petalui
pnpm add @edadma/petalui
yarn add @edadma/petalui ```
View the live demo at: https://edadma.github.io/petalui
v0.1.1 (2025-11-20)
Section titled “v0.1.1 (2025-11-20)”PetalUI v0.1.1
Section titled “PetalUI v0.1.1”Improvements
Section titled “Improvements”Checkbox Component
- Added children prop for inline labels - no more manual wrapper divs needed
- New API:
<Checkbox>Label text</Checkbox> - Added
Checkbox.Groupfor managing multiple checkboxes - Options prop to auto-generate checkboxes from array
- Cleaner, more intuitive API
Example
Section titled “Example”Before:
<div className="flex items-center gap-2"> <Checkbox /> <span>Remember me</span></div>After:
<Checkbox>Remember me</Checkbox>View live examples: https://edadma.github.io/petalui
v0.1.0 (2025-11-20)
Section titled “v0.1.0 (2025-11-20)”PetalUI v0.1.0
Section titled “PetalUI v0.1.0”Complete React component library built with DaisyUI and Tailwind CSS.
Components (38 total)
Section titled “Components (38 total)”Actions (2)
- Button, Dropdown
Data Entry (10)
- Checkbox, Fieldset, FileInput, Form, Input, Label, Radio, Rating, Select, Textarea, Toggle
Data Display (9)
- Avatar, Badge, Card, Collapse, List, Stats, Steps, Table, Timeline
Layout (6)
- Divider, Drawer, Footer, Grid, Hero, Join
Navigation (5)
- Breadcrumbs, Link, Menu, Navbar, Tabs
Feedback (6)
- Alert, Loading, Modal, Notification, Progress, Tooltip
Highlights
Section titled “Highlights”- 24-column responsive grid system
- Toast notification system with auto-dismiss
- Imperative Modal and Notification APIs
- Form integration with React Hook Form
- Comprehensive TypeScript support
- All components built on DaisyUI styling
View live examples: https://edadma.github.io/petalui
v0.0.3 (2025-11-19)
Section titled “v0.0.3 (2025-11-19)”What’s New
Section titled “What’s New”Form System
Section titled “Form System”- Form component with React Hook Form integration and automatic validation
- Input component supporting all HTML input types (text, email, password, number, date, etc.)
- Checkbox component with sizes, colors, and indeterminate state support
- Form.Item wrapper with automatic label, validation, and error handling
- No layout shift when validation errors appear/disappear
Component Improvements
Section titled “Component Improvements”- Button: Added
htmlTypeprop for submit/button/reset - Input: Added
w-fullby default for proper form layout - Menu: Refactored to composite pattern (Menu.Item, Menu.Title)
- Dropdown: Refactored to composite pattern (Dropdown.Trigger, Dropdown.Menu, Dropdown.Item)
Navigation & Routing
Section titled “Navigation & Routing”- React Router integration for client-side navigation
- Each component page has its own URL route
- Browser back/forward navigation support
- Organized navigation: Actions, Data Entry, Data Display, Navigation, Feedback
Documentation
Section titled “Documentation”- Updated READMEs with all new components organized by category
- Added Prerequisites section with Tailwind CSS v4 setup instructions
- Form example in usage section
- Comprehensive demo pages for all components
Components Available
Section titled “Components Available”Badge, Button, Card, Checkbox, Drawer, Dropdown, Form, Input, Loading, Menu, Navbar, Table