Skip to content

Releases: mrkai77/DynamicNotchKit

1.1.0

05 Apr 21:26
cd0b3e5

Choose a tag to compare

What's New

  • Configurable Animation Overrides (#46)

    You can now fully customize the transition animations of a DynamicNotch using the new DynamicNotchTransitionConfiguration. Override the default opening, closing, and conversion animations, or enable skipIntermediateHides for faster, more direct state transitions between expanded and compact states :)

     let notch = DynamicNotch(style: .auto) {
         Text("Hello")
     }
     notch.transitionConfiguration = .init(
         openingAnimation: .spring(duration: 0.3),
         skipIntermediateHides: true
     )

Bug Fixes

  • Fixed stutter when expanding and hiding custom notch (#45)
  • Fixed floating-style panels always hiding when hovered (#41)

1.0.0

14 Jun 22:02
3c40593

Choose a tag to compare

intro.mp4

This is a big release, bringing refined visuals and better ergonomics! Here’s what’s new:

🚀 Platform & Compatibility

  • Minimum macOS version updated from Monterey (12) to Ventura (13)
  • Swift 6 concurrency is now fully supported across all APIs

🆕 Features & Improvements

  • New compact state: A subtle, side-mounted notch view that mirrors iOS’s compact Dynamic Island behavior
  • show() renamed to expand(): This main method has been renamed for clarity in light of the new states
  • Custom corner radius: You can now personalize the notch’s curvature via DynamicNotchStyle
  • Refined shape: The notch now uses smooth, continuous corners for a more polished appearance
  • Hover behaviors: Trigger haptic feedback, increase shadow, or keep the notch visible on hover
  • New expansion animation: A more stretchy, fluid effect when transitioning between hidden, compact and expanded states

📦 API Enhancements

  • DynamicNotchInfo's icon parameter: Now uses dedicated struct with more premade styles for better clarity and type safety. This struct is used in the notch's compact style for ease of use as well :)
  • DynamicNotchProgress merged into DynamicNotchInfo for a more streamlined experience

📚 Developer Experience

  • Full DocC documentation included for all public APIs
  • New tests (under the Tests folder) and examples to guide you through using DynamicNotchKit effectively

🛠️ Full Changelog: 0.1.0...1.0.0

0.1.0

20 Apr 20:22
e13aecf

Choose a tag to compare

Just a little release :)

DynamicNotchKit currently includes the DynamicNotch class, which lets you display SwiftUI content from the macOS notch. For devices without a notch, you can use a floating window style instead. This package also introduces two additional classes: DynamicNotchInfo and DynamicNotchProgress. While the documentation is a bit sparse right now, I’m working on improving it for the next release!


Important Update for Users

If you're using DynamicNotchKit in your project, please update your dependency rule to the 0.1.0 tag. Breaking changes are coming soon that will provide greater flexibility and configurability. To ensure your project continues to function smoothly during this transition, setting this version is highly recommended.

Have ideas or features you'd love to see in this package? Open an issue and let me know!