-
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-datepicker colors [WTEL-3926]
- Loading branch information
Showing
5 changed files
with
155 additions
and
109 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,31 @@ | ||
<script setup> | ||
import Docs from './wt-datepicker-docs.vue'; | ||
import ExampleDatepicker from './examples/example-datepicker.vue'; | ||
import ExampleDatepickerDatetimeMode from './examples/example-datepicker-datetime-mode.vue'; | ||
</script> | ||
|
||
# WtDatepicker | ||
|
||
## Props | ||
::: raw | ||
<Docs/> | ||
::: | ||
|
||
## Example Datepicker | ||
::: raw | ||
<ExampleDatepicker/> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-datepicker.vue | ||
::: | ||
|
||
## Example Datepicker Datetime Mode | ||
::: raw | ||
<ExampleDatepickerDatetimeMode/> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-datepicker-datetime-mode.vue | ||
::: | ||
|
19 changes: 19 additions & 0 deletions
19
docs/pages/webitel-ui/components/wt-datepicker/examples/example-datepicker-datetime-mode.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,19 @@ | ||
<script setup> | ||
import { ref } from 'vue'; | ||
const value = ref(Date.now()); | ||
</script> | ||
|
||
<template> | ||
<wt-datepicker | ||
:value="value" | ||
label="Date Time picker" | ||
mode="datetime" | ||
@input="value = $event" | ||
/> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
18 changes: 18 additions & 0 deletions
18
docs/pages/webitel-ui/components/wt-datepicker/examples/example-datepicker.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,18 @@ | ||
<script setup> | ||
import { ref } from 'vue'; | ||
const value = ref(Date.now()); | ||
</script> | ||
|
||
<template> | ||
<wt-datepicker | ||
:value="value" | ||
label="Datepicker" | ||
@input="value = $event" | ||
/> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
172 changes: 75 additions & 97 deletions
172
docs/pages/webitel-ui/components/wt-datepicker/wt-datepicker-docs.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
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