@milaboratories/uikit 2.2.40 → 2.2.41

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.
@@ -0,0 +1,6 @@
1
+ import type { PlChartStackedBarSettingsCompact } from './types';
2
+ type __VLS_Props = {
3
+ settings: PlChartStackedBarSettingsCompact;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -2,7 +2,6 @@ import type { PlChartStackedBarSegment } from './types';
2
2
  type __VLS_Props = {
3
3
  value: PlChartStackedBarSegment[];
4
4
  height?: number;
5
- showFractionInLabel?: boolean;
6
5
  };
7
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
8
7
  export default _default;
@@ -0,0 +1,7 @@
1
+ import type { PlChartStackedBarSegment } from './types';
2
+ type __VLS_Props = {
3
+ value: PlChartStackedBarSegment[];
4
+ height?: number;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  export { default as PlChartStackedBar } from './PlChartStackedBar.vue';
2
+ export { default as PlChartStackedBarCompact } from './PlChartStackedBarCompact.vue';
2
3
  export * from './types';
@@ -5,17 +5,19 @@ export type PlChartStackedBarSegment = {
5
5
  description?: string;
6
6
  color: string | Color;
7
7
  };
8
- export type PlChartStackedBarSettings = {
9
- /**
10
- * The title of the chart.
11
- * This will be displayed at the top of the chart, if provided.
12
- */
13
- title?: string;
8
+ export type PlChartStackedBarSettingsCompact = {
14
9
  /**
15
10
  * The data to be displayed in the chart.
16
11
  * Each entry represents a segment of a stacked bar.
17
12
  */
18
13
  data: PlChartStackedBarSegment[];
14
+ };
15
+ export type PlChartStackedBarSettings = PlChartStackedBarSettingsCompact & {
16
+ /**
17
+ * The title of the chart.
18
+ * This will be displayed at the top of the chart, if provided.
19
+ */
20
+ title?: string;
19
21
  /**
20
22
  * The maximum number of legends displayed in a single column.
21
23
  * Defaults to 5 if not specified.