Skip to content

Releases: yummacss/yummacss

v4.6.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 12 Oct 00:21
5c77e79

Changed

  • [nitro] The reset no longer styles controls without a class, hr, th,
    small or textarea height, and headings inherit their size and weight.

Removed

  • [nitro] The reset's focus rule.

Fixed

  • [nitro] Utilities win over the reset on disabled controls.

v4.5.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 08 Oct 17:11
fc816c8

Added

  • [cli] init points source at the project's own folders and sets an
    output beside them.
  • [cli] watch sees files created after it starts, and reloads the config
    when it changes.

Changed

  • [nitro] Generating, validating and suggesting classes is faster.
  • [cli] Every command prints in the same frame as yummaui: a badge,
    one line per stage, and the docs site's colours.
  • [cli] build counts the classes it generated, not the files it read.
  • [cli] migrate leaves classes already in the 4.x syntax out of its
    report.
  • [cli] An unknown option is an error rather than being ignored.
  • [vite] Accepts Vite 8.

Removed

  • [nitro] extractor. Use scan.

v4.4.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 06 Oct 08:39
a2d63fe

Removed

  • [nitro] The prefix config option.

v4.3.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 03 Oct 17:46
ebc34b5

Added

  • [lint] Lint rules for Oxlint: no-unknown-classes and no-inline-styles.
  • [cli] yummacss lint reports classes Yumma CSS does not generate.

Removed

  • [lint] The yummacss-lint command and validate(). Use yummacss lint.

v4.2.2

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 30 Sep 20:54
2dee17b

Removed

  • [cdn] @yummacss/cdn, the script tag build.
  • [intellisense] @yummacss/intellisense, the shared editor completions and hovers.

v4.2.1

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 30 Sep 11:06
8a92f9a

Fixed

  • [nitro] Classes in markup inside JavaScript strings and template literals are all found.

v4.2.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 26 Sep 19:14
9576ee7

Added

  • [core] @st: variant for @starting-style.
  • [core] Container queries: @c: variants and ct: for container-type.
  • [core] Animation utilities: an:, adu:, ad:, atf: and aic:.
  • [nitro] theme.states for your own state variants.
  • [nitro] theme.keyframes for your own animations.
  • [nitro] theme.fonts for your own ff: utilities.
  • [nitro] CSS function values: calc(), clamp(), min(), max() and var().

Changed

  • [core] tp:t also transitions translate, scale and rotate.

Fixed

  • [nitro] Stacked at-rule variants such as @sm:@lg: keep both queries.
  • [nitro] Form controls inherit the whole font, not only the family.

v4.1.2

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 21 Sep 12:07
ee443ca

Fixed

  • [core] tp:c no longer transitions outline-color. A focus outline's width and style are not transitioned, so the ring appeared at full width in currentColor and faded to its real color over the transition's duration. Measured in Chromium on a c:white button: the ring painted rgb(255,255,255) at frame zero and reached silver-3 150ms later. It paints its own color immediately now.

v4.1.1

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 21 Sep 00:36

Fixed

  • [cli] The README used 3.x class names in its opening line, which is what npm renders on the package page.
  • [nitro] A "did you mean" suggestion discarded the exact match. Folding leaves a 3.x class at distance zero from its 4.0 spelling, and zero was treated as "nothing to suggest", so p-4 answered p:40 and d-f answered d:fr. Eleven of twelve common classes were wrong; only gap-4 was right, which is the one the tests covered.
  • [nitro] m--4 answers m:-4. Folding hid the second dash, so the 3.x negative came back positive.
  • [nitro] tt-n and tl-a answer tt:none and tl:auto. A renamed value sits outside any sane edit distance, so the suggester now reads the same rename table the codemod does.

v4.1.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 19 Sep 00:15
7c9d07f

Added

  • [cdn] @yummacss/cdn is the script tag package, which is what it is: <script src="https://unpkg.com/@yummacss/cdn">.