Skip to content

0.2.0

Choose a tag to compare

@mangobyte-dev mangobyte-dev released this 07 Sep 08:08
· 102 commits to main since this release

swiftui-registry 0.2.0, the Stage 7 release.

The catalog grows from 57 to 73 items: six chat and feedback components (attachment, bubble, marker, message, message-scroller, toast), seven recipes (carousel, chart-tooltip, date-picker, input-otp, menubar, sheet, typography), and three blocks (dashboard, signup-form, questionnaire). Every item is captured on the iPhone 17 and the iPad Pro 13-inch, and the website shows both.

The tool gains describe <item> (the metadata, usage, accessibility contract, install order, package requirement, and files, with --source and --format json) and info --destination <dir> (every owned file reported as up-to-date, modified, or missing through the receipt).

Preset codes gain format version b: after the version a fields and the custom accent block, a code can carry the font design, a surface step for a four-level elevation ladder, a chart palette, and optional light and dark pairs for the background, the foreground, and the secondary foreground. A code stays a whenever nothing appended leaves its default, so every existing code keeps decoding to the same theme. preset decode, apply, and resolve read and write the new fields; the Create studio and the Showcase's tuning panel expose them.

SwiftUIRegistryFoundations 0.2.0 adds fontDesign, surfaceOpacity, surfaceStep, chartPalette, background, foreground, and secondaryForeground to RegistryTheme (all defaulted, so existing initializers compile), the mango preset (MangoByte's sample design system, documented in docs/mango.md as the template for building one), RegistrySurfaceLevel with registrySurface(level:), and a root modifier that applies the font design and the color pairs once. The chart item reads the palette and declares the 0.2.0 floor; every other item keeps 0.1.0.

Registry styles keep the iPadOS pointer effect (button, checkbox, accordion, breadcrumb), the sidebar recipe adds the sidebarAdaptable tab view, and three agent skills under Skills/ document consuming, theming, and authoring the registry.

Install or upgrade: brew install mangobyte-dev/tap/swiftui-registry or brew upgrade swiftui-registry.