@tekkare/auriga 0.2.229 → 0.2.231

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.229"
7
+ "version": "0.2.231"
8
8
  }
@@ -44,6 +44,13 @@ export default defineComponent({
44
44
  type: Boolean,
45
45
  default: false
46
46
  },
47
+ // Drops the legend without touching the axes, the labels or the tooltip,
48
+ // which `small` also turns off. ApexCharts stops reserving the strip it
49
+ // sits in, so the plot takes the whole height.
50
+ hideLegend: {
51
+ type: Boolean,
52
+ default: false
53
+ },
47
54
  height: {
48
55
  type: String,
49
56
  default: "auto"
@@ -227,7 +234,7 @@ export default defineComponent({
227
234
  showForSingleSeries: true,
228
235
  showForNullSeries: true,
229
236
  showForZeroSeries: true,
230
- show: true,
237
+ show: !props.hideLegend,
231
238
  position: "bottom",
232
239
  fontFamily: "Figtree, sans-serif",
233
240
  fontSize: "14px",
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ hideLegend: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  height: {
16
20
  type: StringConstructor;
17
21
  default: string;
@@ -74,6 +78,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
74
78
  type: BooleanConstructor;
75
79
  default: boolean;
76
80
  };
81
+ hideLegend: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
77
85
  height: {
78
86
  type: StringConstructor;
79
87
  default: string;
@@ -123,6 +131,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
123
131
  options: Record<string, any>;
124
132
  colors: unknown[];
125
133
  french: boolean;
134
+ hideLegend: boolean;
126
135
  tooltipOptions: Record<string, any>;
127
136
  formatDate: boolean;
128
137
  dataType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.229",
3
+ "version": "0.2.231",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",