v0.7.1
Features
Interactive Playgrounds (20 New Components)
Added interactive playground configurations for 20 additional components in the documentation site, bringing the total to 42 components with live playgrounds:
- Dialog, Badge, Chip, Notice, Checkbox, Toggle, Radio, Skeleton, Rating, Divider, Breadcrumbs, Pagination, IconButton, TextArea, NumberInput, Popover, SegmentedControl, Highlight, CodeBlock, Toast
Each playground allows real-time prop editing with tailored controls (color pickers, segmented selectors, number sliders, etc.) directly in the documentation.
BrandButton Dark Mode Support
- The
plainvariant now adapts to dark mode, using theme-aware background and text colors instead of hardcodedwhite/black - Improves visibility and consistency when using BrandButton in dark color schemes
Fixes
Text Hydration Error (Web)
- Fixed React hydration mismatch caused by block-level elements (e.g.,
View,Pressable) rendered inside<p>tags on web - Added
containsBlockElement()detection that automatically switches the Text wrapper from<p>to<div>when children contain block-level React Native components - Eliminates the
<div> cannot appear as a descendant of <p>browser warning
Carousel Demo Migrations
- Updated all 5 Carousel demos (
basic,multi,motionControls,performance,vertical) to useBlockinstead of the deprecatedColumncomponent
Documentation TypeScript Fixes
Resolved numerous TypeScript errors across the docs site:
- Layout prop renames: Updated
width/heighttow/hacross Header, HeaderMobile, FooterPage, SkeletonShowcase, MediaShowcase, EverythingShowcase, PhotoGalleryExample, ExampleListScreen, HookListScreen - Component API updates:
Switchvalue→checkedButtoncolor→colorVariantTextvariant'body'→'p'IconButtoniconVariantternary fixgetAllUISounds→getAllSounds
- Import corrections: Fixed
DataTableDataTableSortimport,SliderShowcaseprops,ChatroomExamplemissing import,PreviewFileunused import - Type fixes:
NodeJS.Timeouttype annotation,ColorSchemeNamenarrowing for"unspecified"value