-
-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs(button): enhance examples * docs(checkbox): enhance examples * docs(collapse): enhance examples * docs(input): enhance examples * docs(notification): enhance examples * docs(radio): enhance examples * docs(taginput): enhance examples * docs(select): enhance examples * docs(slider): enhance examples * docs(switch): enhance examples * docs(sidebar): enhance examples * docs(tabs): enhance examples * docs(programmatic): enhance docs * docs: update readme
- Loading branch information
Showing
37 changed files
with
304 additions
and
53 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
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
11 changes: 11 additions & 0 deletions
11
packages/oruga/src/components/button/examples/inverted.vue
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,11 @@ | ||
<template> | ||
<section class="odocs-spaced"> | ||
<o-button label="Default" inverted /> | ||
<o-button label="Primary" variant="primary" inverted /> | ||
<o-button label="Secondary" variant="secondary" inverted /> | ||
<o-button label="Success" variant="success" inverted /> | ||
<o-button label="Info" variant="info" inverted /> | ||
<o-button label="Warning" variant="warning" inverted /> | ||
<o-button label="Danger" variant="danger" inverted /> | ||
</section> | ||
</template> |
11 changes: 11 additions & 0 deletions
11
packages/oruga/src/components/button/examples/outlined.vue
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,11 @@ | ||
<template> | ||
<section class="odocs-spaced"> | ||
<o-button label="Default" outlined /> | ||
<o-button label="Primary" variant="primary" outlined /> | ||
<o-button label="Secondary" variant="secondary" outlined /> | ||
<o-button label="Success" variant="success" outlined /> | ||
<o-button label="Info" variant="info" outlined /> | ||
<o-button label="Warning" variant="warning" outlined /> | ||
<o-button label="Danger" variant="danger" outlined /> | ||
</section> | ||
</template> |
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
31 changes: 31 additions & 0 deletions
31
packages/oruga/src/components/checkbox/examples/interminate.vue
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,31 @@ | ||
<template> | ||
<section> | ||
<o-field> | ||
<o-checkbox indeterminate label="Default" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox variant="primary" indeterminate label="Primary" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox variant="secondary" indeterminate label="Secondary" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox variant="success" indeterminate label="Success" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox variant="info" indeterminate label="Info" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox variant="warning" indeterminate label="Warning" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox variant="danger" indeterminate label="Danger" /> | ||
</o-field> | ||
</section> | ||
</template> |
19 changes: 13 additions & 6 deletions
19
packages/oruga/src/components/checkbox/examples/variants.vue
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,27 +1,34 @@ | ||
<template> | ||
<section> | ||
<o-field> | ||
<o-checkbox :value="true" label="Default" /> | ||
<o-checkbox :model-value="true" label="Default" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox :value="true" variant="primary" label="Primary" /> | ||
<o-checkbox :model-value="true" variant="primary" label="Primary" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox :value="true" variant="info" label="Info" /> | ||
<o-checkbox | ||
:model-value="true" | ||
variant="secondary" | ||
label="secondary" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox :value="true" variant="success" label="Success" /> | ||
<o-checkbox :model-value="true" variant="success" label="Success" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox :value="true" variant="danger" label="Danger" /> | ||
<o-checkbox :model-value="true" variant="info" label="Info" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox :value="true" variant="warning" label="Warning" /> | ||
<o-checkbox :model-value="true" variant="warning" label="Warning" /> | ||
</o-field> | ||
|
||
<o-field> | ||
<o-checkbox :model-value="true" variant="danger" label="Danger" /> | ||
</o-field> | ||
</section> | ||
</template> |
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
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
Oops, something went wrong.