-
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.
docs: refactor name attribute use in examples #169
- Loading branch information
1 parent
beb4938
commit 9f95c36
Showing
12 changed files
with
45 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<auro-checkbox-group> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="value1" name="example1" id="checkbox-basic1">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value2" name="example2" id="checkbox-basic2" checked>Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value3" name="example3" id="checkbox-basic3">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value4" name="example4" id="checkbox-basic4">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value1" name="basic" id="checkbox-basic1">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value2" name="basic" id="checkbox-basic2" checked>Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value3" name="basic" id="checkbox-basic3">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value4" name="basic" id="checkbox-basic4">Checkbox option</auro-checkbox> | ||
</auro-checkbox-group> |
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,7 +1,7 @@ | ||
<custom-checkbox-group> | ||
<span slot="legend">Form label goes here</span> | ||
<custom-checkbox value="value1" name="example1" id="checkbox-custom1">Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value2" name="example2" id="checkbox-custom2" checked>Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value3" name="example3" id="checkbox-custom3">Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value4" name="example4" id="checkbox-custom4">Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value1" name="custom" id="checkbox-custom1">Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value2" name="custom" id="checkbox-custom2" checked>Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value3" name="custom" id="checkbox-custom3">Custom checkbox option</custom-checkbox> | ||
<custom-checkbox value="value4" name="custom" id="checkbox-custom4">Custom checkbox option</custom-checkbox> | ||
</custom-checkbox-group> |
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,7 +1,7 @@ | ||
<auro-checkbox-group> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="disabled-value1" name="example1" id="checkbox-disabled1">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value2" name="example2" id="checkbox-disabled2" checked disabled>Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value3" name="example3" id="checkbox-disabled3" disabled>Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value4" name="example4" id="checkbox-disabled4" checked>Checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value1" name="disabled" id="checkbox-disabled1">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value2" name="disabled" id="checkbox-disabled2" checked disabled>Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value3" name="disabled" id="checkbox-disabled3" disabled>Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value4" name="disabled" id="checkbox-disabled4" checked>Checkbox option</auro-checkbox> | ||
</auro-checkbox-group> |
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,7 +1,7 @@ | ||
<auro-checkbox-group disabled> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="disabled-value1" name="example1" id="checkbox-disabledGroup1">Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value2" name="example2" id="checkbox-disabledGroup2" checked>Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value3" name="example3" id="checkbox-disabledGroup3">Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value4" name="example4" id="checkbox-disabledGroup4">Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value1" name="disabledGroup" id="checkbox-disabledGroup1">Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value2" name="disabledGroup" id="checkbox-disabledGroup2" checked>Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value3" name="disabledGroup" id="checkbox-disabledGroup3">Disabled checkbox option</auro-checkbox> | ||
<auro-checkbox value="disabled-value4" name="disabledGroup" id="checkbox-disabledGroup4">Disabled checkbox option</auro-checkbox> | ||
</auro-checkbox-group> |
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,7 +1,7 @@ | ||
<auro-checkbox-group error="custom error"> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="error-value1" name="example1" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value2" name="example2" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value3" name="example3" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value4" name="example4" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value1" name="error" id="checkbox-errorGroup1">Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value2" name="error" id="checkbox-errorGroup2">Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value3" name="error" id="checkbox-errorGroup3">Error checkbox option</auro-checkbox> | ||
<auro-checkbox value="error-value4" name="error" id="checkbox-errorGroup4" checked>Error checkbox option</auro-checkbox> | ||
</auro-checkbox-group> |
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,6 +1,6 @@ | ||
<auro-checkbox-group horizontal> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="yes" name="yes" id="checkbox-horizontal1">Yes</auro-checkbox> | ||
<auro-checkbox value="no" name="no" id="checkbox-horizontal2">No</auro-checkbox> | ||
<auro-checkbox value="maybe" name="maybe" id="checkbox-horizontal3">Maybe</auro-checkbox> | ||
<auro-checkbox value="yes" name="horizontal" id="checkbox-horizontal1">Yes</auro-checkbox> | ||
<auro-checkbox value="no" name="horizontal" id="checkbox-horizontal2">No</auro-checkbox> | ||
<auro-checkbox value="maybe" name="horizontal" id="checkbox-horizontal3">Maybe</auro-checkbox> | ||
</auro-checkbox-group> |
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,7 +1,7 @@ | ||
<auro-checkbox-group horizontal> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="yes" name="yes" id="checkbox-horizontalLimit1">Yes</auro-checkbox> | ||
<auro-checkbox value="no" name="no" id="checkbox-horizontalLimit2">No</auro-checkbox> | ||
<auro-checkbox value="maybe" name="maybe" id="checkbox-horizontalLimit3">Maybe</auro-checkbox> | ||
<auro-checkbox value="not sure" name="not sure" id="checkbox-horizontalLimit4">Not Sure</auro-checkbox> | ||
<auro-checkbox value="yes" name="horizontalLimit" id="checkbox-horizontalLimit1">Yes</auro-checkbox> | ||
<auro-checkbox value="no" name="horizontalLimit" id="checkbox-horizontalLimit2">No</auro-checkbox> | ||
<auro-checkbox value="maybe" name="horizontalLimit" id="checkbox-horizontalLimit3">Maybe</auro-checkbox> | ||
<auro-checkbox value="not sure" name="horizontalLimit" id="checkbox-horizontalLimit4">Not Sure</auro-checkbox> | ||
</auro-checkbox-group> |
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,7 +1,7 @@ | ||
<auro-checkbox-group required setCustomValidityValueMissing="Please select an option"> | ||
<span slot="legend">Form label goes here</span> | ||
<auro-checkbox value="value1" name="example1" id="checkbox-required1">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value2" name="example2" id="checkbox-required2">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value3" name="example3" id="checkbox-required3">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value4" name="example4" id="checkbox-required4">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value1" name="required" id="checkbox-required1">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value2" name="required" id="checkbox-required2">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value3" name="required" id="checkbox-required3">Checkbox option</auro-checkbox> | ||
<auro-checkbox value="value4" name="required" id="checkbox-required4">Checkbox option</auro-checkbox> | ||
</auro-checkbox-group> |
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