Releases: bjuppa/kingdom
Releases · bjuppa/kingdom
v0.13.0
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 thehidden
HTML attribute instead. - Removed
text-body
&text-body-block
utility classes. Authors should usetext-1
andtext-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
v0.12.0
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
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
v0.10.1
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
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 ;)
Fixed
- Always set text color when background color is set. Avoids problems with dark mode.
Improve npm package
Fixed
- Whitelisting only the
/src
directory for npm reducing package size to almost nothing