Skip to content

Conversation

@bastianallgeier
Copy link
Member

@bastianallgeier bastianallgeier commented Jul 16, 2025

Description

The new <k-stats-field> component is basically rebuilding what happened in the <k-stats-section> but without the API props loading. We can plug it in as soon as the backend code for the field is also there (coming in the next PR)

Changelog

✨ Enhancements

  • New <k-stats-field> component
  • The <k-label> component now also accepts false for the input prop. This will switch the label element to an h2 and also remove the <abbr> for the invalid state. All fields that don't store any values will need this. We can also use it for the info field, which did still create its own headline.

🐛 Bug fixes

  • Removed destructive CSS rules in the lab for h2 that easily bleed into component rules.

For review team

  • Add lab and/or sandbox examples (wherever helpful)
  • Add changes & docs to release notes draft in Notion

@bastianallgeier bastianallgeier added this to the 5.1.0 milestone Jul 16, 2025
@bastianallgeier bastianallgeier requested a review from a team July 16, 2025 09:03
@bastianallgeier bastianallgeier force-pushed the feat/stats-field-component branch from 003046d to 8f5fd7c Compare July 16, 2025 09:29
@bastianallgeier bastianallgeier force-pushed the feat/stats-field-component branch from 8f5fd7c to 52115bb Compare July 16, 2025 09:31
@distantnative distantnative merged commit a037329 into develop-minor Jul 16, 2025
4 checks passed
@distantnative distantnative deleted the feat/stats-field-component branch July 16, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants