-
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.
refactor: wt-label colors + docs, wt-input colors [WTEL-3937, WTEL-3940]
- Loading branch information
Showing
15 changed files
with
6,148 additions
and
11,127 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,49 @@ | ||
<script setup> | ||
import Docs from './wt-label-docs.vue'; | ||
import ExampleLabel from './examples/example-label.vue'; | ||
import ExampleErrorLabel from './examples/example-error-label.vue'; | ||
import ExampleDisabledLabel from './examples/example-disabled-label.vue'; | ||
import ExampleHintedLabel from './examples/example-hinted-label.vue'; | ||
</script> | ||
|
||
# WtLabel | ||
|
||
## Props | ||
::: raw | ||
<Docs/> | ||
::: | ||
|
||
## Example label | ||
::: raw | ||
<ExampleLabel/> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-label.vue | ||
::: | ||
## Error label | ||
::: raw | ||
<ExampleErrorLabel/> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-error-label.vue | ||
::: | ||
|
||
## Disabled label | ||
::: raw | ||
<ExampleDisabledLabel/> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-disabled-label.vue | ||
::: | ||
|
||
## Hinted label | ||
::: raw | ||
<ExampleHintedLabel/> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-hinted-label.vue | ||
::: |
15 changes: 15 additions & 0 deletions
15
docs/pages/webitel-ui/components/wt-label/examples/example-disabled-label.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,15 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<wt-label | ||
disabled | ||
> | ||
Disabled label | ||
</wt-label> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
15 changes: 15 additions & 0 deletions
15
docs/pages/webitel-ui/components/wt-label/examples/example-error-label.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,15 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<wt-label | ||
invalid | ||
> | ||
Error label | ||
</wt-label> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
15 changes: 15 additions & 0 deletions
15
docs/pages/webitel-ui/components/wt-label/examples/example-hinted-label.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,15 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<wt-label | ||
hint="Hint text" | ||
> | ||
Hinted label | ||
</wt-label> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
13 changes: 13 additions & 0 deletions
13
docs/pages/webitel-ui/components/wt-label/examples/example-label.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,13 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<wt-label> | ||
Example label | ||
</wt-label> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
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.