-
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.
feature: adds new form component & monorepo structure
- Loading branch information
1 parent
550c274
commit 2b52ee0
Showing
169 changed files
with
47,201 additions
and
666 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<auro-dropdown aria-label="custom label"> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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,10 @@ | ||
<auro-dropdown aria-label="custom label"> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
<auro-button | ||
slot="trigger" | ||
fluid> | ||
Dropdown | ||
</auro-button> | ||
</div> | ||
</auro-dropdown> |
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,8 @@ | ||
<auro-dropdown aria-label="custom label"> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
<auro-icon | ||
category="interface" | ||
name="arrow-down"></auro-icon> | ||
</div> | ||
</auro-dropdown> |
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,10 @@ | ||
<auro-dropdown aria-label="custom label"> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
<auro-input | ||
borderless | ||
slot="trigger" | ||
id="inputExampleTrigger"> | ||
</auro-input> | ||
</div> | ||
</auro-dropdown> |
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,6 @@ | ||
<auro-dropdown aria-label="custom label" bordered> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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,6 @@ | ||
<auro-dropdown aria-label="custom label" chevron> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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,10 @@ | ||
<auro-dropdown aria-label="custom label" chevron> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
<auro-button | ||
slot="trigger" | ||
fluid> | ||
Dropdown | ||
</auro-button> | ||
</div> | ||
</auro-dropdown> |
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,8 @@ | ||
<auro-dropdown aria-label="custom label" chevron> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
<auro-icon | ||
category="interface" | ||
name="arrow-down"></auro-icon> | ||
</div> | ||
</auro-dropdown> |
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,9 @@ | ||
<auro-dropdown aria-label="custom label" chevron> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
<auro-input | ||
slot="trigger" | ||
id="inputExampleTrigger"> | ||
</auro-input> | ||
</div> | ||
</auro-dropdown> |
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,15 @@ | ||
<auro-dropdown id="common" common aria-label="Label content for screen reader"> | ||
<div style="padding: var(--ds-size-150);"> | ||
Lorem ipsum solar | ||
<br /> | ||
<auro-button onclick="document.querySelector('#common').hide()"> | ||
Dismiss Dropdown | ||
</auro-button> | ||
</div> | ||
<span slot="helpText"> | ||
Help text | ||
</span> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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 @@ | ||
<p id="foo">The element is labelled by content external to the element.</p> | ||
|
||
<auro-dropdown id="commonAdvanced" aria-labelledby="foo" bordered rounded inset chevron> | ||
<div style="padding: var(--ds-size-150);"> | ||
Lorem ipsum solar | ||
<br /> | ||
<auro-button onclick="document.querySelector('#commonAdvanced').hide()"> | ||
Dismiss Dropdown | ||
</auro-button> | ||
</div> | ||
<span slot="helpText"> | ||
Help text | ||
</span> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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,15 @@ | ||
<auro-dropdown id="common" common matchWidth aria-label="Label content for screen reader"> | ||
<div style="padding: var(--ds-size-150);"> | ||
Lorem ipsum solar | ||
<br /> | ||
<auro-button onclick="document.querySelector('#common').hide()"> | ||
Dismiss Dropdown | ||
</auro-button> | ||
</div> | ||
<span slot="helpText"> | ||
Help text | ||
</span> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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 @@ | ||
<auro-dropdown id="commonSlot" bordered rounded inset chevron> | ||
<div style="padding: var(--ds-size-150);"> | ||
Lorem ipsum solar | ||
<br /> | ||
<auro-button onclick="document.querySelector('#commonSlot').hide()"> | ||
Dismiss Dropdown | ||
</auro-button> | ||
</div> | ||
<span slot="helpText"> | ||
Help text | ||
</span> | ||
<span slot="label"> | ||
Element label (default text will be read by screen reader) | ||
</span> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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,15 @@ | ||
<custom-dropdown id="common" common aria-label="Label content for screen reader"> | ||
<div style="padding: var(--ds-size-150);"> | ||
Lorem ipsum solar | ||
<br /> | ||
<auro-button onclick="document.querySelector('#common').hide()"> | ||
Dismiss Dropdown | ||
</auro-button> | ||
</div> | ||
<span slot="helpText"> | ||
Help text | ||
</span> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</custom-dropdown> |
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="width: 100px;" aria-label="custom label"> | ||
<auro-dropdown inset bordered rounded chevron> | ||
<div style="width: 100px; max-height: 200px; overflow: scroll;"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</div> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> | ||
</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="width: 300px;" aria-label="custom label"> | ||
<auro-dropdown inset bordered rounded chevron> | ||
<div style="width: 300px; max-height: 200px; overflow: scroll;"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</div> | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> | ||
</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,6 @@ | ||
<auro-dropdown aria-label="custom label" disabled> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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 @@ | ||
<auro-dropdown | ||
aria-label="custom label" | ||
disabled | ||
chevron | ||
rounded | ||
inset | ||
bordered> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
<span slot="helpText"> | ||
Helper text | ||
</span> | ||
<span slot="label"> | ||
Name | ||
</span> | ||
</auro-dropdown> |
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,9 @@ | ||
<auro-dropdown | ||
aria-label="custom label" | ||
disabled | ||
chevron> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
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,6 @@ | ||
<auro-dropdown aria-label="custom label" error> | ||
Lorem ipsum solar | ||
<div slot="trigger"> | ||
Trigger | ||
</div> | ||
</auro-dropdown> |
Oops, something went wrong.