Skip to content

Releases: bjuppa/kingdom

v0.13.0

08 Apr 11:51
Compare
Choose a tag to compare
v0.13.0 Pre-release
Pre-release

Added

  • Indicates invalid form by making submit-button transparent in form extension.
  • Added horizontal padding to inputs in form extension.

Changed

  • Displays tabular numbers in numeric and datetime type inputs in form extension.

Removed

  • Removed hidden utility class. Authors should be encouraged to use the hidden HTML attribute instead.
  • Removed text-body & text-body-block utility classes. Authors should use text-1 and text-1-block instead.
  • Removed horizontal padding from petty buttons in form extension.

Fixed

  • No longer generates primary color with lightness in the 45–55% span

v0.12.1

05 Apr 09:23
Compare
Choose a tag to compare
v0.12.1 Pre-release
Pre-release

Fixed

  • Ensure parentheses around @supports condition. This solved a problem where the clearfix utilities specific to flex- and grid-supporting browsers didn't work.

v0.12.0

03 Apr 09:57
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

Changed

  • Increased contrast for generated text colors on backgrounds.
  • Default input text color changed to black in forms extension.

Fixed

  • Got rid of tint from text color on disabled inputs/options in forms extension.

Added

  • Mixins and functions for text-colors.

v0.11.0

29 Mar 15:22
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

Changed

  • Target description elements (like aria-describedby targets) from the string "description" in id instead of position (similar to error message elements). This is in forms extension only.

Fixed

  • Use --line-height if available when inheriting line-height. This makes it easier putting inline-blocks within inline elements.

v0.10.2

28 Mar 12:22
Compare
Choose a tag to compare
v0.10.2 Pre-release
Pre-release

Fixed

  • Line heights are inherited better when inline-blocks are in an inline context.

v0.10.1

27 Mar 15:36
Compare
Choose a tag to compare
v0.10.1 Pre-release
Pre-release

Fixed

  • Import the shadows module before using it in forms extension.
  • Always set --line-height with a unit so that calculations can rely on in being a proper length value. This solves a problem where <button> inside <span> would get 0 height in Kingdom levels 1 & 2.

v0.10.0

28 Feb 11:20
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Changed

  • Refactored multi-selects
  • Use system-ui as default font for form inputs. The Forms extension can be used to set a specific font.

Removed

  • Explicit fallbacks are mostly removed so if you need to support older browsers, your build process should take care of prefixing, setting fallbacks for var() usage, etc.

Dark mode ;)

15 Feb 10:00
Compare
Choose a tag to compare
Dark mode ;) Pre-release
Pre-release

Fixed

  • Always set text color when background color is set. Avoids problems with dark mode.

Improve npm package

15 Feb 08:29
Compare
Choose a tag to compare
Improve npm package Pre-release
Pre-release

Fixed

  • Whitelisting only the /src directory for npm reducing package size to almost nothing

Shadows

15 Feb 07:50
Compare
Choose a tag to compare
Shadows Pre-release
Pre-release

Added

  • Sass functions for generating nice(r) looking shadows

Changed

  • Replaced old shadow utility classes with new ones based on relative size: .shadow-1, .shadow-1/2, etc.
  • Updated default shadows in forms extension.