Skip to content

Commit

Permalink
docs(error): remove individual error example
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Apr 30, 2024
1 parent 2ca6f86 commit 89b7096
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 84 deletions.
1 change: 0 additions & 1 deletion apiExamples/error.html

This file was deleted.

23 changes: 0 additions & 23 deletions demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,29 +214,6 @@ The `error` attribute used to set error state on the entire `<auro-checkbox-grou
<!-- AURO-GENERATED-CONTENT:END -->
</auro-accordion>

#### Checkbox with Error Outside of Group

The `error` attribute used to set an error state on a single `<auro-checkbox>` element.

**Note**: Error messages are not supported outside of an `<auro-checkbox-group>`.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/error.html) -->
<!-- The below content is automatically added from ./../../apiExamples/error.html -->
<auro-checkbox value="error checkbox option" name="example3" id="checkbox-error1" error>Error checkbox option</auro-checkbox>
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<auro-accordion alignRight>
<span slot="trigger">See code</span>
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/error.html) -->
<!-- The below code snippet is automatically added from ./../../apiExamples/error.html -->

```html
<auro-checkbox value="error checkbox option" name="example3" id="checkbox-error1" error>Error checkbox option</auro-checkbox>
```
<!-- AURO-GENERATED-CONTENT:END -->
</auro-accordion>

#### Required

When present, the `required` attribute specifies that at least one or more `<auro-checkbox>` elements within the `<auro-checkbox-group>` must be checked.
Expand Down
23 changes: 0 additions & 23 deletions demo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,29 +196,6 @@ The `error` attribute used to set error state on the entire `<auro-checkbox-grou
<!-- AURO-GENERATED-CONTENT:END -->
</auro-accordion>

#### Checkbox with Error Outside of Group

The `error` attribute used to set an error state on a single `<auro-checkbox>` element.

**Note**: Error messages are not supported outside of an `<auro-checkbox-group>`.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/error.html) -->
<!-- The below content is automatically added from ./../../apiExamples/error.html -->
<auro-checkbox value="error checkbox option" name="example3" id="checkbox-error1" error>Error checkbox option</auro-checkbox>
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<auro-accordion alignRight>
<span slot="trigger">See code</span>
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/error.html) -->
<!-- The below code snippet is automatically added from ./../../apiExamples/error.html -->

```html
<auro-checkbox value="error checkbox option" name="example3" id="checkbox-error1" error>Error checkbox option</auro-checkbox>
```
<!-- AURO-GENERATED-CONTENT:END -->
</auro-accordion>

### Horizontal Group

Using the `horizontal` attribute will render the checkbox options on a horizontal line.
Expand Down
19 changes: 0 additions & 19 deletions docs/partials/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,6 @@ The `error` attribute used to set error state on the entire `<auro-checkbox-grou

</auro-accordion>

#### Checkbox with Error Outside of Group

The `error` attribute used to set an error state on a single `<auro-checkbox>` element.

**Note**: Error messages are not supported outside of an `<auro-checkbox-group>`.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/error.html) -->
<!-- AURO-GENERATED-CONTENT:END -->
</div>

<auro-accordion alignRight>
<span slot="trigger">See code</span>

<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/error.html) -->
<!-- AURO-GENERATED-CONTENT:END -->

</auro-accordion>

#### Required

When present, the `required` attribute specifies that at least one or more `<auro-checkbox>` elements within the `<auro-checkbox-group>` must be checked.
Expand Down
18 changes: 0 additions & 18 deletions docs/partials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,24 +108,6 @@ The `error` attribute used to set error state on the entire `<auro-checkbox-grou

</auro-accordion>

#### Checkbox with Error Outside of Group

The `error` attribute used to set an error state on a single `<auro-checkbox>` element.

**Note**: Error messages are not supported outside of an `<auro-checkbox-group>`.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/error.html) -->
<!-- AURO-GENERATED-CONTENT:END -->
</div>

<auro-accordion alignRight>
<span slot="trigger">See code</span>

<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/error.html) -->
<!-- AURO-GENERATED-CONTENT:END -->

</auro-accordion>
### Horizontal Group

Using the `horizontal` attribute will render the checkbox options on a horizontal line.
Expand Down

0 comments on commit 89b7096

Please sign in to comment.