TagKit will use semver after 1.0.
Until then, breaking changes can happen in any minor version.
This version re-introduces the Slugifiable protocol and adds new flow capabilities.
This version adds an internal version of SwiftUI-Flow to allow us to use horizontal and vertical flows when rendering tags.
Slugifiablehas been re-added to the library.SwiftUI-Flowhas been re-added to the library.TagFlowis a new enum that defines supported flows.Taggedis a new protocol for immutable, tagged types.TaggableinheritsTaggedand adds mutable functions.Viewhas a new.tagFlow(_:)modifier to set a flow.
This version bumps the package to Swift 6.1.
This version makes TagKit use Swift 6, by removing the flow layout parts from the library.
The TagList and TagEditList is therefore much simpler now before, and can be used in more ways.
TagListandTagEditListnow just lists the provided tags.TagListandTagEditListcan now be rendered in any layout container.
Slugifiablehas been deprecated. Just use theslugifiedstring extension instead.TagCapsulehas been deprecated, since it's better to just customize a regularText.
FlowLayoutcould not be refactored to support strict concurrency, and has been removed.
This version temporarily downgrades to Swift 5.9 since Xcode 16.1 made things stop working.
This version makes TagKit use Swift 6.
This version adds support for strict concurrency.
This requires standard styles to be converted to read-only values.
This version also adjusts the visual appearance of some standard styles.
TagCapsuleStylenow supports specifying a shadow.
TagCapsule.standardand.standardSelectednow use material backgrounds.
This version bumps the package to Swift 5.9 and adds support for visionOS.
This version also bumps the deployment targets to make it possible to add more features.
FlowLayoutis now public.TagCapsuleStylehas new, material-based default styles.TagCapsuleStylenow supports specifying a background material as well.
TagCapsulenow applies aTagCapsuleStyle.
This version adjusts the tag capsule border to be rendered as an overlay.
This version is the first public beta release of TagKit.
Slugifiableis a protocol that describes slugifiable types and adds additional functionality to any types that implement it.SlugConfigurationcan be used to customized the slugified result.Taggableis a protocol that describes taggable types and adds additional functionality to any types that implement it and collections that contain them.TagListrenders a collection of tags using a custom view builder.TagEditListrenders a collection of toggleable tags using a custom view builder.TagCapsulerenders a tag with a customizable style.TagTextFieldautomatically slugifies any text that is entered into it.