From 553f334e66bdd662b88ed546795b39b59c32be09 Mon Sep 17 00:00:00 2001 From: graphieros Date: Wed, 14 Feb 2024 23:26:00 +0100 Subject: [PATCH] Added VueUiMiniLoader component --- README.md | 3 +- package-lock.json | 4 +- package.json | 2 +- src/App.vue | 41 ++++++++ src/components/vue-ui-mini-loader.vue | 134 ++++++++++++++++++++++++++ src/default_configs.json | 21 ++++ types/vue-data-ui.d.ts | 26 +++++ 7 files changed, 227 insertions(+), 4 deletions(-) create mode 100644 src/components/vue-ui-mini-loader.vue diff --git a/README.md b/README.md index f5b81b44..7cd5795b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ![GitHub issues](https://img.shields.io/github/issues/graphieros/vue-data-ui) ![NPM](https://img.shields.io/npm/l/vue-data-ui) ![npm](https://img.shields.io/npm/dt/vue-data-ui) -![Static Badge](https://img.shields.io/badge/components-36-green) +![Static Badge](https://img.shields.io/badge/components-37-green) [Interactive documentation](https://vue-data-ui.graphieros.com/) @@ -70,6 +70,7 @@ Available components: - [VueUiAnnotator](https://vue-data-ui.graphieros.com/docs#vue-ui-annotator) - [VueUiIcon](https://vue-data-ui.graphieros.com/docs#vue-ui-icon) - [VueUiDigits](https://vue-data-ui.graphieros.com/docs#vue-ui-digits) +- [VueUiMiniLoader](https://vue-data-ui.graphieros.com/docs#vue-ui-mini-loader) # Installation ``` diff --git a/package-lock.json b/package-lock.json index 3835bf07..afa1569c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vue-data-ui", - "version": "1.9.89", + "version": "1.9.90", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vue-data-ui", - "version": "1.9.89", + "version": "1.9.90", "license": "MIT", "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", diff --git a/package.json b/package.json index 44114e58..bb766d36 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-data-ui", "private": false, - "version": "1.9.89", + "version": "1.9.90", "type": "module", "description": "A user-empowering data visualization Vue components library", "keywords": [ diff --git a/src/App.vue b/src/App.vue index f99830c1..dbdaf28a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,6 +48,7 @@ import DigitsTest from "./components/vue-ui-digits.vue"; import MoleculeTest from './components/vue-ui-molecule.vue'; import DonutEvolutionTest from "./components/vue-ui-donut-evolution.vue"; import TableSparklineTest from "./components/vue-ui-table-sparkline.vue"; +import MiniLoaderTest from "./components/vue-ui-mini-loader.vue"; const dataset = ref([ { @@ -3831,6 +3832,28 @@ const moodRadarConfig = ref({ }, ]) + const miniLoaderConfig = ref({ + type: "bar", + onion: { + gutterColor: "#CCCCCC", + gutterOpacity: 0.3, + gutterBlur: 0.2, + trackHueRotate: 360, + trackBlur: 2, + trackColor: "#42d392" + }, + line: { + color: "#42d392", + blur: 1, + hueRotate: 360 + }, + bar: { + color: "#42d392", + blur: 1, + hueRotate: 360 + } + }) + + + + + + + + +