@tekkare/auriga 0.2.100 → 0.2.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.100"
7
+ "version": "0.2.101"
8
8
  }
@@ -112,6 +112,10 @@ export default defineComponent({
112
112
  sharedTooltip: {
113
113
  type: Boolean,
114
114
  default: false
115
+ },
116
+ direction: {
117
+ type: String,
118
+ default: "horizontal"
115
119
  }
116
120
  },
117
121
  setup(props) {
@@ -616,7 +620,7 @@ export default defineComponent({
616
620
  }
617
621
  props.options["plotOptions"] = {
618
622
  bar: {
619
- horizontal: true,
623
+ horizontal: props.direction === "horizontal" ? true : false,
620
624
  borderRadius: 2,
621
625
  barHeight: "50%",
622
626
  colors: { backgroundBarOpacity: 1 },
@@ -65,6 +65,10 @@ declare const _default: import("vue").DefineComponent<{
65
65
  type: BooleanConstructor;
66
66
  default: boolean;
67
67
  };
68
+ direction: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
68
72
  }, {
69
73
  percentage: (partialValue: any, totalValue: any) => number;
70
74
  chartKey: import("vue").Ref<number>;
@@ -138,6 +142,10 @@ declare const _default: import("vue").DefineComponent<{
138
142
  type: BooleanConstructor;
139
143
  default: boolean;
140
144
  };
145
+ direction: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
141
149
  }>>, {
142
150
  width: string;
143
151
  height: string;
@@ -152,5 +160,6 @@ declare const _default: import("vue").DefineComponent<{
152
160
  chartTitle: string;
153
161
  chartSource: string;
154
162
  sharedTooltip: boolean;
163
+ direction: string;
155
164
  }, {}>;
156
165
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.100",
3
+ "version": "0.2.101",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",