Skip to content

Commit

Permalink
VueUiTiremarks create component
Browse files Browse the repository at this point in the history
  • Loading branch information
graphieros committed Dec 20, 2023
1 parent 5dd3e61 commit 1ba80d5
Show file tree
Hide file tree
Showing 10 changed files with 507 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Available components:
- [VueUiThermometer](https://vue-data-ui.graphieros.com/docs#vue-ui-thermometer)
- [VueUiRings](https://vue-data-ui.graphieros.com/docs#vue-ui-rings)
- [VueUiWheel](https://vue-data-ui.graphieros.com/docs#vue-ui-wheel)
- [VueUiTiremarks](https://vue-data-ui.graphieros.com/docs#vue-ui-tiremarks)


## Mini charts
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-data-ui",
"private": false,
"version": "1.9.30",
"version": "1.9.31",
"type": "module",
"description": "A user-empowering data visualization Vue components library",
"keywords": [
Expand Down Expand Up @@ -32,7 +32,8 @@
"relationship circle",
"thermometer",
"rings",
"wheel"
"wheel",
"tiremarks"
],
"author": "Alec Lloyd Probert",
"repository": {
Expand Down
24 changes: 23 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import StackTest from "./components/vue-ui-sparkstackbar.vue";
import HistoTest from "./components/vue-ui-sparkhistogram.vue";
import RingsTest from "./components/vue-ui-rings.vue";
import WheelTest from "./components/vue-ui-wheel.vue";
import TireTest from "./components/vue-ui-tiremarks.vue";
const dataset = ref([
{
Expand Down Expand Up @@ -3522,6 +3523,10 @@ const skeletonOptions = ref([
const skeletonChoice = ref('wheel')
const tiremarksDataset = ref({
percentage: 75
})
</script>

<template>
Expand All @@ -3535,7 +3540,24 @@ const skeletonChoice = ref('wheel')
<h4 style="color: #5f8bee">Manual testing arena</h4>
</div>

<Box @copy="copyConfig(PROD_CONFIG.vue_ui_skeleton)" open>
<Box @copy="copyConfig(PROD_CONFIG.vue_ui_tiremarks)" open>
<template #title>VueUiTiremarks</template>
<template #dev>
<TireTest
:dataset="tiremarksDataset"
/>
</template>
<template #prod>
<VueUiTiremarks
:dataset="tiremarksDataset"
/>
</template>
<template #config>
{{ PROD_CONFIG.vue_ui_tiremarks }}
</template>
</Box>

<Box @copy="copyConfig(PROD_CONFIG.vue_ui_skeleton)">
<template #general>
<select v-model="skeletonChoice">
<option v-for="(opt) in skeletonOptions">{{ opt }}</option>
Expand Down
Loading

0 comments on commit 1ba80d5

Please sign in to comment.