Releases: NerdSnipe-Inc/design-foundation
Releases · NerdSnipe-Inc/design-foundation
v1.0.2
Bug Fixes
- macOS double border —
DFTextFieldandDFSecureFieldno longer show the system rounded border alongside the custom outline; fixed with.textFieldStyle(.plain)on the inner field - DFDatePicker padding — compact, graphical, and wheel styles now have proper horizontal and vertical breathing room
- DFSidebar glass — glass style background is now transparent so
.ultraThinMaterialapplied by the caller shows through; preview layout corrected to pin sidebar left
New Features
DFToastSeverity— newinfo/success/warning/errorenum onDFToastMessage;DFDefaultToastStylecolours the icon using the matching theme token (blue / green / amber / red);DFToastQueue.showgains aseverityparameter
Preview Cleanup
- Removed canvas-incompatible previews for
DFModal,DFSheet,DFPopover, andDFTooltip— these are now covered by the DFPlayground demo app - Toast preview replaced with a static severity showcase visible directly in the canvas
DesignFoundation 1.0.0
DesignFoundation 1.0.0
The first stable release of DesignFoundation — a production-grade SwiftUI design system for iOS 18, macOS 15, and visionOS 2.
What's included
Token-Based Theming Engine
DFThemewith 7 token namespaces: colors, typography, spacing, radius, shadow, animation, and per-component overrides- Single-line app-root injection; subtree overrides; every component respects the nearest theme automatically
Primitive Components
DFButton— filled, outlined, ghost, tinted, glass styles; destructive and cancel rolesDFText/DFIcon/DFBadge/DFAvatar/DFDividerDFAvatar— circle, rounded, ring, glass; initials or image; presence indicators
Input Components
DFTextField/DFSecureField(reveal toggle built-in)DFToggle/DFSlider/DFPicker/DFDatePicker- Shared
DFValidationStateenum across all inputs
Layout & Overlay
DFCard— elevated, outlined, filled, glassDFModal/DFSheet/DFPopover/DFTooltip
Navigation
DFTabBar/DFNavigationBar/DFSidebar
Supplementary
DFCheckbox/DFProgressBar/DFSkeleton/DFToast/DFAlertDFListwith swipe-delete, reorder, and multi-selectDFTablewith sortable columns
Liquid Glass — iOS 26 / macOS 26
- Every component ships a
.glassstyle variant built on Apple's Liquid Glass material
Swift 6 Strict Concurrency
- Compiles clean with
StrictConcurrencyenabled; all value typesSendable
Install
// Package.swift
.package(url: "https://github.com/NerdSnipe-Inc/design-foundation", from: "1.0.0")See also
DesignFoundationBlocks — the commercial blocks layer built on this foundation.