From da27a8dc740be59d2fed22f9a5e203c59b64ad4d Mon Sep 17 00:00:00 2001 From: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com> Date: Mon, 11 Aug 2025 10:39:47 -0400 Subject: [PATCH] Add native `` styles (#1279) * add `input type="file"` styles * add `max-inline-size` * refactor button styles to include `::file-selector-button` * improve docs * add changelog * add region marker --- .../docs/docs/resources/changelog.md | 2 + .../webawesome/docs/docs/utilities/native.md | 28 ++ packages/webawesome/src/styles/native.css | 328 ++++++++++++------ 3 files changed, 249 insertions(+), 109 deletions(-) diff --git a/packages/webawesome/docs/docs/resources/changelog.md b/packages/webawesome/docs/docs/resources/changelog.md index 21bd98884..48484c4cf 100644 --- a/packages/webawesome/docs/docs/resources/changelog.md +++ b/packages/webawesome/docs/docs/resources/changelog.md @@ -21,12 +21,14 @@ Components with the Experimental badge sh - Added `--wa-tooltip-border-color`, `--wa-tooltip-border-style`, and `--wa-tooltip-border-width` tokens [issue:1224] - Added the `without-arrow` attribute to `` and `` to hide arrows without artifacts - Added JSX types for use with React and others [pr:1256] +- Added `` to native styles [pr:1279] ### Bug Fixes and Improvements {data-no-outline} - Fixed a bug in `` that caused the content to overflow the container when animating [issue:1149] - Fixed a bug in `` and `` that prevented the header from showing when the label was missing [issue:1209] - Fixed a missing dependency required for React wrappers +- Fixed missing `:hover` and `:active` styles on native buttons without an appearance modifier class ## 3.0.0-beta.3 diff --git a/packages/webawesome/docs/docs/utilities/native.md b/packages/webawesome/docs/docs/utilities/native.md index cfeb25f89..00d825c44 100644 --- a/packages/webawesome/docs/docs/utilities/native.md +++ b/packages/webawesome/docs/docs/utilities/native.md @@ -404,6 +404,7 @@ Create a variety of form controls with ``, ` +