Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 2.52 KB

CHANGELOG.md

File metadata and controls

76 lines (57 loc) · 2.52 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.1.0]

  • Added horizontalContentPadding param to NiceButton constructor to allow for setting buttons to size to fit.
  • Fixed an issue that was causing system icons to not work in buttons.
  • Changed default button image sizing from undefined to width: 16, height: 14.
  • Changed default button image padding from 0 to 8.

[2.0.4]

  • Added a NiceImage constructor that accepts an ImageResource for iOS 17.0 and beyond.

[2.0.3]

  • Fixed scaled fonts not applying weight correctly to custom fonts

[2.0.1]

  • Fixed some text styling not being properly applied to text objects

[2.0.0]

  • Removed individual component Views, replaced with NiceButton & NiceText
  • Reworked color theming, added ColorTheme and ColorStyle

[1.1.2]

  • Fixed padding of NiceButton with image.

[1.1.1]

  • Updated cornerRadius handling for buttons

[1.1.0]

  • Added lineSpacing to NiceTextStyle.
  • Added tracking to FontStyle.

[1.0.0]

  • Lots of prep for initial public release!
  • Added a bunch of documentation, comments and clarification.
  • Removed some unused, or outdated components that have SwiftUI equivalents now.
  • Renamed a handful of components and helpers to be more clear or avoid potential collisions.

[0.6.0]

  • Removed stateful view and view+if helpers, to be moved into a separate utils library.

[0.5.0]

  • Add functionality to NiceText to allow setting a maximum dynamic type font size
  • Add two helper functions to View, if and iflet that allow for optional view modifying

[0.4.0] - 2022-07-22

  • Reworked stateful view
  • ResizeableImage now supports loading / fallbackImage

[0.3.0] - 2022-07-19

  • Min iOS version incremented to iOS 15
  • NiceButton introduced
  • All Button components are now NiceButtons
  • ResizableImage supports systemIcons
  • NiceButtonStyle replaced ButtonStyle
  • NiceBorderStyle replaced BorderStyle
  • AttributedString support for Text components
  • Update to StatefulView to support opaque view types
  • LoadingView improvement

[0.2.0]

  • Added shadowStyle
  • Text components implement NiceText
  • Layout documentation
  • ContentLoadState is now equatable
  • ResizableImage handles both bundle string and URL
  • InactiveButton removed onClick modifier

[0.1.0]

  • Initial release! Adds a basic set of components and a first pass at config options to customize them.