From 1f74b14513824be7314579cdaa971e079afe1105 Mon Sep 17 00:00:00 2001 From: Anthony Ricaud Date: Fri, 28 Apr 2023 11:26:13 +0100 Subject: [PATCH] Add `aria-busy` utility (#10966) * Add aria-busy variant This is useful to show a spinner or dim a region that is updating. Very useful in conjunction with [Turbo](https://turbo.hotwired.dev/reference/attributes#automatically-added-attributes) * update changelog --------- Co-authored-by: Robin Malfait --- CHANGELOG.md | 4 ++++ stubs/config.full.js | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fda241685366..41a6fbd3d4b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix issue where some pseudo-element variants generated the wrong selector ([#10943](https://github.com/tailwindlabs/tailwindcss/pull/10943), [#10962](https://github.com/tailwindlabs/tailwindcss/pull/10962)) - Make font settings propagate into buttons, inputs, etc. ([#10940](https://github.com/tailwindlabs/tailwindcss/pull/10940)) +### Added + +- Add `aria-busy` utility ([#10966](https://github.com/tailwindlabs/tailwindcss/pull/10966)) + ## [3.3.2] - 2023-04-25 ### Fixed diff --git a/stubs/config.full.js b/stubs/config.full.js index c32ccd3a0ea2..2dd01c6fd467 100644 --- a/stubs/config.full.js +++ b/stubs/config.full.js @@ -15,6 +15,7 @@ module.exports = { bounce: 'bounce 1s infinite', }, aria: { + busy: 'busy="true"', checked: 'checked="true"', disabled: 'disabled="true"', expanded: 'expanded="true"',