Skip to content

Commit

Permalink
Change GeoKPI to GeoValue
Browse files Browse the repository at this point in the history
  • Loading branch information
Navas23 committed Apr 8, 2020
1 parent 5f60abb commit 00475f4
Show file tree
Hide file tree
Showing 20 changed files with 383 additions and 383 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

New:

- `GeoKPI` component
- `GeoValue` component

## 29.5.5

Expand Down
81 changes: 0 additions & 81 deletions src/elements/GeoKPI/GeoKPI.vue

This file was deleted.

23 changes: 0 additions & 23 deletions src/elements/GeoKPI/GeoNegativeKPI.vue

This file was deleted.

23 changes: 0 additions & 23 deletions src/elements/GeoKPI/GeoNeutralKPI.vue

This file was deleted.

23 changes: 0 additions & 23 deletions src/elements/GeoKPI/GeoPositiveKPI.vue

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
/>
Expand All @@ -14,7 +14,7 @@
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
value: "27th of 73",
Expand All @@ -31,7 +31,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:unit="unit"
Expand All @@ -42,7 +42,7 @@ export default {
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
value: "365",
Expand All @@ -60,7 +60,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:description="description"
Expand All @@ -71,7 +71,7 @@ export default {
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
value: "27th of 35",
Expand All @@ -89,7 +89,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:description="description"
Expand All @@ -103,14 +103,14 @@ export default {
Tooltip text
</geo-tooltip>
</template>
</geo-negative-KPI>
</geo-negative-value>
</div>
</div>
</template>
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
descriptionTooltipIcon: null,
Expand All @@ -133,7 +133,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:description="description"
Expand All @@ -148,14 +148,14 @@ export default {
Warning tooltip text
</geo-tooltip>
</template>
</geo-negative-KPI>
</geo-negative-value>
</div>
</div>
</template>
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
warningTooltipIcon: null,
Expand Down Expand Up @@ -185,7 +185,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
/>
Expand All @@ -195,7 +195,7 @@ export default {
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
value: "27th of 73",
Expand All @@ -212,7 +212,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:unit="unit"
Expand All @@ -224,7 +224,7 @@ export default {
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
value: "587",
Expand All @@ -243,7 +243,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:description="description"
Expand All @@ -257,14 +257,14 @@ export default {
Tooltip text
</geo-tooltip>
</template>
</geo-negative-KPI>
</geo-negative-value>
</div>
</div>
</template>
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
descriptionTooltipIcon: null,
Expand All @@ -286,7 +286,7 @@ export default {
<template>
<div class="element-demo">
<div class="element-demo__block">
<geo-negative-KPI
<geo-negative-value
:value="value"
:is-primary="isPrimary"
:description="description"
Expand All @@ -301,14 +301,14 @@ export default {
Warning tooltip text
</geo-tooltip>
</template>
</geo-negative-KPI>
</geo-negative-value>
</div>
</div>
</template>
<script>
export default {
name: 'GeoNegativeKPIDemo',
name: 'GeoNegativeValueDemo',
data () {
return {
warningTooltipIcon: null,
Expand Down
23 changes: 23 additions & 0 deletions src/elements/GeoValue/GeoNegativeValue.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<template src="./GeoValue.template.html" />

<script>
import mixin, { TYPES } from './GeoValue.mixin'
/**
* [GeoValue](./GeoValue) using predefined `negative` type.
*
* See [GeoValue](./GeoValue) for a complete list of supported properties and
* features.
*/
export default {
name: 'GeoNegativeValue',
status: 'ready',
release: '29.6.0',
mixins: [mixin],
computed: {
type () {
return TYPES.negative
}
}
}
</script>
Loading

0 comments on commit 00475f4

Please sign in to comment.