mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-19 15:34:15 +00:00
Compare commits
2 Commits
tab-group-
...
hints
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e58d95e7ac | ||
|
|
c8f01782af |
@@ -22,6 +22,7 @@ Components with the <wa-badge variant="warning">Experimental</wa-badge> badge sh
|
|||||||
- Fixed the missing `nanoid` dependency in `package.json` [discuss:1139]
|
- Fixed the missing `nanoid` dependency in `package.json` [discuss:1139]
|
||||||
- Fixed a bug in `<wa-slider>` that prevented the hint from showing up [discuss:1172]
|
- Fixed a bug in `<wa-slider>` that prevented the hint from showing up [discuss:1172]
|
||||||
- Fixed a bug in `<wa-textarea>` where setting `resize="auto"` caused the height of the textarea to double [issue:1155]
|
- Fixed a bug in `<wa-textarea>` where setting `resize="auto"` caused the height of the textarea to double [issue:1155]
|
||||||
|
- Fixed a bug in `<wa-color-picker>`, `<wa-checkbox>`, `<wa-input>`, `<wa-radio-group>`, `<wa-switch>`, and `<wa-textarea>` that prevented screen readers from announcing hints [issue:1186]
|
||||||
- Fixed a bug in `<wa-card>` that caused slotted media to have incorrectly rounded corners [issue:1107]
|
- Fixed a bug in `<wa-card>` that caused slotted media to have incorrectly rounded corners [issue:1107]
|
||||||
- Fixed a bug in `<wa-button-group>` that prevented pill buttons from rendering corners properly [issue:1165]
|
- Fixed a bug in `<wa-button-group>` that prevented pill buttons from rendering corners properly [issue:1165]
|
||||||
- Fixed a bug in `<wa-button-group>` that caused some vertical groups to appear horizontal [issue:1152]
|
- Fixed a bug in `<wa-button-group>` that caused some vertical groups to appear horizontal [issue:1152]
|
||||||
|
|||||||
@@ -234,13 +234,14 @@ export default class WaCheckbox extends WebAwesomeFormAssociatedElement {
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<slot
|
<slot
|
||||||
|
id="hint"
|
||||||
|
part="hint"
|
||||||
name="hint"
|
name="hint"
|
||||||
aria-hidden=${hasHint ? 'false' : 'true'}
|
aria-hidden=${hasHint ? 'false' : 'true'}
|
||||||
class="${classMap({ 'has-slotted': hasHint })}"
|
class="${classMap({ 'has-slotted': hasHint })}"
|
||||||
id="hint"
|
|
||||||
part="hint"
|
|
||||||
>${this.hint}</slot
|
|
||||||
>
|
>
|
||||||
|
${this.hint}
|
||||||
|
</slot>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1310,6 +1310,7 @@ export default class WaColorPicker extends WebAwesomeFormAssociatedElement {
|
|||||||
></button>
|
></button>
|
||||||
|
|
||||||
<slot
|
<slot
|
||||||
|
id="hint"
|
||||||
name="hint"
|
name="hint"
|
||||||
part="hint"
|
part="hint"
|
||||||
class=${classMap({
|
class=${classMap({
|
||||||
|
|||||||
@@ -432,8 +432,9 @@ export default class WaInput extends WebAwesomeFormAssociatedElement {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<slot
|
<slot
|
||||||
name="hint"
|
id="hint"
|
||||||
part="hint"
|
part="hint"
|
||||||
|
name="hint"
|
||||||
class=${classMap({
|
class=${classMap({
|
||||||
'has-slotted': hasHint,
|
'has-slotted': hasHint,
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -370,6 +370,7 @@ export default class WaRadioGroup extends WebAwesomeFormAssociatedElement {
|
|||||||
<slot part="form-control-input" @slotchange=${this.syncRadioElements}></slot>
|
<slot part="form-control-input" @slotchange=${this.syncRadioElements}></slot>
|
||||||
|
|
||||||
<slot
|
<slot
|
||||||
|
id="hint"
|
||||||
name="hint"
|
name="hint"
|
||||||
part="hint"
|
part="hint"
|
||||||
class=${classMap({
|
class=${classMap({
|
||||||
|
|||||||
@@ -243,6 +243,7 @@ export default class WaSwitch extends WebAwesomeFormAssociatedElement {
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<slot
|
<slot
|
||||||
|
id="hint"
|
||||||
name="hint"
|
name="hint"
|
||||||
part="hint"
|
part="hint"
|
||||||
class=${classMap({
|
class=${classMap({
|
||||||
|
|||||||
@@ -374,6 +374,7 @@ export default class WaTextarea extends WebAwesomeFormAssociatedElement {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<slot
|
<slot
|
||||||
|
id="hint"
|
||||||
name="hint"
|
name="hint"
|
||||||
part="hint"
|
part="hint"
|
||||||
aria-hidden=${hasHint ? 'false' : 'true'}
|
aria-hidden=${hasHint ? 'false' : 'true'}
|
||||||
|
|||||||
Reference in New Issue
Block a user