Repository navigation
LubaUI 0.3.0 introduces three Swift Package Manager products:
- LubaCore — tokens, themes, configuration, motion, accessibility, localization, and interaction primitives.
- LubaComponents — ready-made views, with Core re-exported.
- LubaUI — both layers, preserving existing non-chart
import LubaUIusage.
Chart migration
Chart wrappers, protocols, layout tokens, and .lubaChartStyle() are removed. Applications using those APIs must migrate to native Swift Charts. Existing theme palette, grid, and axis color helpers remain available. No library target imports the Charts framework.
See the migration guide for product selection and the removed APIs.
Fixes and documentation
- Buttons and cards inherit configured defaults while explicit choices retain precedence.
- Chips use separate native selection and dismiss actions with configured touch targets.
- Text fields accommodate larger type and provide a full, localized clear-action target.
- Component haptics follow the nearest configuration.
- The README and guides include real interface examples, clearer compatibility guidance, and accurate accessibility and glass-material limits.
- MCP 1.4.0 targets this library version, corrects 2pt spacing migration, rejects malformed colors, and retires chart catalog entries. MCP and Swift package versions are independent.
Installation
.package(url: "https://github.com/ermanakar/LubaUI.git", from: "0.3.0")Select LubaCore, LubaComponents, or LubaUI as a target dependency.
Validation
CI covers macOS build and tests, all three downstream products and legacy imports, the documented example, an iOS Simulator library build, and MCP package/adversarial tests. Local validation also covered DocC, the showcase, and integration with a shipping iOS application. These checks cover the tested configurations; declared platform support is not a claim of exhaustive testing across every platform.