@spectrum-css/button
Advanced tools
Comparing version 11.0.6 to 11.0.7
@@ -6,2 +6,9 @@ # Change Log | ||
<a name="11.0.7"></a> | ||
##11.0.7 | ||
🗓 | ||
2023-09-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/button@11.0.6...@spectrum-css/button@11.0.7) | ||
**Note:** Version bump only for package @spectrum-css/button | ||
<a name="11.0.6"></a> | ||
@@ -8,0 +15,0 @@ ##11.0.6 |
{ | ||
"name": "@spectrum-css/button", | ||
"version": "11.0.6", | ||
"version": "11.0.7", | ||
"description": "The Spectrum CSS button component", | ||
@@ -32,3 +32,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "9302fe7fa5340262e4749e90496a4e17f4417336" | ||
"gitHead": "78856d4bf77ec4730e5a433cf010e04ad8c10598" | ||
} |
@@ -25,2 +25,4 @@ import { html } from "lit"; | ||
isDisabled = false, | ||
ariaExpanded, | ||
ariaControls, | ||
...globals | ||
@@ -50,3 +52,6 @@ }) => { | ||
@click=${onclick} | ||
aria-label=${hideLabel ? iconName : undefined}> | ||
aria-label=${ifDefined(hideLabel ? iconName : undefined)} | ||
aria-expanded=${ifDefined(ariaExpanded?.toString())} | ||
aria-controls=${ifDefined(ariaControls)} | ||
> | ||
${when(iconName, () => Icon({ ...globals, iconName, size }))} | ||
@@ -53,0 +58,0 @@ ${when(label && !hideLabel, |
488797
4323