Skip to content

Releases: gaucho-labs/tailwind-fuse

v0.3.1

26 Jun 18:40
Compare
Choose a tag to compare

What's Changed

  • Match Tailwind All-Sides border width utilities as border widths instead of border colors. by @mattcr11 in #22
  • Improve derive macro errors by supplying a relevant span
  • Remove use of format inside of join! macro

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

12 Apr 17:17
8f1968d
Compare
Choose a tag to compare

What's Changed

Also renamed:

  • tw_merge_with_options -> tw_merge_options
  • tw_merge_with_override -> tw_merge_override
  • new tw_merge_slice_options

Full Changelog: v0.2.0...v0.3.0

v0.2.0

02 Apr 14:16
Compare
Choose a tag to compare

What's Changed

Variant API Improvements by @nicoburniske in #17

  • MaybeIntoTailwindClass trait is now replaced by AsTailwindClass
    • Removes support for Option in tw_join! and tw_merge!
  • TwVariant macro will force implement Copy and Clone
  • Remove impl of IntoTailwindClass for TwVariant in favor of AsTailwindClass because we don't want to needlessly allocate strings
    • Enables usage with tw_join! and tw_merge! macros
  • Improved TwClass builder pattern
    • .builder() will create builder instance (instead of variant() which was confusing)
    • .build() (NEW) will convert builder instance into TwClass type
    • From Builder -> T
    • From T -> Builder
    • Builder will be Copy and Clone
  • TwClass struct can be Copy and Clone, and is not implemented automatically. User can decide by applying derive macros themselves.

Full Changelog: v0.1.1...v0.2.0

v0.1.1

30 Mar 15:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/gaucho-labs/tailwind-fuse/commits/v0.1.1