-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance dropdown rendering with value, label, and help text slots
- Loading branch information
Showing
7 changed files
with
137 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div style="max-width: 350px;"> | ||
<auro-counter-group isDropdown> | ||
<div slot="helpText">This is help text</div> | ||
<auro-counter> | ||
Adults | ||
<span slot="description">18 years or older</span> | ||
</auro-counter> | ||
<auro-counter> | ||
Children | ||
<span slot="description">Under 17 years old. Restrictions apply if traveling without an adult.</span> | ||
</auro-counter> | ||
<auro-counter> | ||
Lap Infants | ||
<span slot="description">Under 2 years</span> | ||
</auro-counter> | ||
</auro-counter-group> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div style="max-width: 350px;"> | ||
<auro-counter-group isDropdown> | ||
<div slot="valueText">Custom value text</div> | ||
<div slot="label"></div> | ||
<auro-counter> | ||
Adults | ||
<span slot="description">18 years or older</span> | ||
</auro-counter> | ||
<auro-counter> | ||
Children | ||
<span slot="description">Under 17 years old. Restrictions apply if traveling without an adult.</span> | ||
</auro-counter> | ||
<auro-counter> | ||
Lap Infants | ||
<span slot="description">Under 2 years</span> | ||
</auro-counter> | ||
</auro-counter-group> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<div style="width: 300px;"> | ||
<auro-counter-group isDropdown> | ||
<div slot="placeholder">Passengers</div> | ||
<auro-counter> | ||
Short label | ||
<span slot="description">This is an example of a long sub label wrapping behavior</span> | ||
</auro-counter> | ||
<auro-counter> | ||
This is an example of the wrapping behavior for a long label | ||
<span slot="description">with short sub label text</span> | ||
</auro-counter> | ||
<auro-counter> | ||
This is an example of the wrapping behavior for a long label | ||
<span slot="description">Combined with an example of a long sub label wrapping behavior</span> | ||
</auro-counter> | ||
</auro-counter-group> | ||
<div style="max-width: 350px;"> | ||
<auro-counter-group isDropdown> | ||
<div slot="label">Passengers</div> | ||
<auro-counter> | ||
Adults | ||
<span slot="description">18 years or older</span> | ||
</auro-counter> | ||
<auro-counter> | ||
Children | ||
<span slot="description">Under 17 years old. Restrictions apply if traveling without an adult.</span> | ||
</auro-counter> | ||
<auro-counter> | ||
Lap Infants | ||
<span slot="description">Under 2 years</span> | ||
</auro-counter> | ||
</auro-counter-group> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters