From 8eba1e5003ff27944f927b67adf5d47daac8c738 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 28 Mar 2025 10:57:01 -0400 Subject: [PATCH] Various bug fixes (#839) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add default icon spacing in tab; fixes #779 * fix radio button pill styles; fixes #759 * remove redundant styles * fixes #840 * fix focus ring in Safari; fixes #745 * improve details styles; fixes #685 * update examples * Revert "improve details styles; fixes #685" This reverts commit 8151872d22b1cf8daf7889f5788d6977c5fb1204. * revert * revert * fix dropdown alignment in button group; closes #374 * fix progress animation in Safari; closes #356 * fix native checkbox indeterminate icon; closes #386 * add comment * stop running SSR tests locally * update test * add FA kit code for codepen 🤞🏻 * remove wa-cloak after components load * fix whitespace * update display labels when changed; fixes #702 * fix radio labels (ALPHA-211) * revert example * add option as a dep of select * remove outdated section --- docs/assets/scripts/code-examples.js | 2 +- docs/docs/resources/changelog.md | 10 +++++ docs/docs/usage.md | 43 ------------------- package.json | 4 +- src/components/option/option.ts | 7 ++- src/components/progress-bar/progress-bar.css | 6 +-- .../progress-bar/progress-bar.test.ts | 5 ++- src/components/progress-bar/progress-bar.ts | 14 +++++- src/components/radio-button/radio-button.css | 39 ++++++++++++++++- src/components/radio-button/radio-button.ts | 3 +- src/components/radio-group/radio-group.ts | 30 +++++++------ src/components/radio/radio.css | 4 ++ src/components/select/select.ts | 9 ++-- src/components/tab/tab.css | 8 ++++ src/styles/native/button.css | 9 ++-- src/styles/native/checkbox.css | 10 +++++ src/styles/utilities/button-group.css | 5 +++ src/webawesome.loader.ts | 9 ++++ 18 files changed, 140 insertions(+), 77 deletions(-) diff --git a/docs/assets/scripts/code-examples.js b/docs/assets/scripts/code-examples.js index 967bffc1b..0e7d735af 100644 --- a/docs/assets/scripts/code-examples.js +++ b/docs/assets/scripts/code-examples.js @@ -17,7 +17,7 @@ document.addEventListener('click', event => { const code = codeExample.querySelector('code'); const cdnUrl = document.documentElement.dataset.cdnUrl; const html = - `\n` + + `\n` + `\n` + `\n` + `\n\n` + diff --git a/docs/docs/resources/changelog.md b/docs/docs/resources/changelog.md index cbe062787..ec6fb8c39 100644 --- a/docs/docs/resources/changelog.md +++ b/docs/docs/resources/changelog.md @@ -16,7 +16,12 @@ During the alpha period, things might break! We take breaking changes very serio - Fixed the search dialog's styles so it doesn't jump around as you search - Removed close watcher logic to backdrop hide animation bugs in `` and ``; this logic is already handled and we'll revisit `CloseWatcher` when browser support is better and behaviors are consistent +- Fixed a bug that caused dropdowns inside button groups to show with a vertical misalignment - Revert `` structure and CSS to fix clipped content in dialogs (WA-A #123) and light dismiss in iOS Safari (WA-A #201) +- Fixed a bug in `` that prevented Safari from animation progress changes +- Fixed the missing indeterminate icon in native checkbox styles +- Fixed a bug where changing a `` label wouldn't update the display label in `` +- Fixed a bug in `` where elements would stack instead of display inline ### Enhancements @@ -24,6 +29,8 @@ During the alpha period, things might break! We take breaking changes very serio - Added an `orange` scale to all color palettes - Added the `.wa-cloak` utility to prevent FOUCE - Added the `allDefined()` utility for awaiting component registration +- Added default spacing to icons slotted into `` +- Fixed `wa-pill` class for text fields ### Bugfixes @@ -33,6 +40,9 @@ During the alpha period, things might break! We take breaking changes very serio - Fixed `pill` style for `` elements - Fixed a bug in `` that prevented light dismiss from working when clicking immediately above the color picker dropdown - Fixed a bug in `` that sometimes resulted in empty `
` elements being output +- Fixed a bug in `` that prevented the pill effect from applying properly +- Fixed a bug in `` that prevented active buttons from receiving the correct styles +- Fixed a bug in `` that prevented the focus ring from showing in Safari ## 3.0.0-alpha.11 diff --git a/docs/docs/usage.md b/docs/docs/usage.md index 651ade28e..e8ce91136 100644 --- a/docs/docs/usage.md +++ b/docs/docs/usage.md @@ -112,49 +112,6 @@ For example, `