@vizzly/services 0.7.4 → 0.8.0

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,3 @@
1
+ import { Component } from '../Component/types';
2
+ import { QueryAttributes } from '../QueryAttributes/types';
3
+ export declare const upcastHeadline: (headline?: Component.Headline, timeDimension?: QueryAttributes.TimeDimension | null) => Component.Headline | undefined;
@@ -299,6 +299,7 @@ export declare namespace VizzlyTheming {
299
299
  axis?: ChartAxis;
300
300
  pie?: Pie;
301
301
  barChart?: BarChart;
302
+ singleStat?: SingleStat;
302
303
  };
303
304
  interface ViewText extends FontStyle {
304
305
  textAlign?: CSSProperties['textAlign'];
@@ -499,5 +500,8 @@ export declare namespace VizzlyTheming {
499
500
  type BarChart = {
500
501
  cornerRadius?: number;
501
502
  };
503
+ type SingleStat = {
504
+ delteStyle?: 'pill' | 'text';
505
+ };
502
506
  }
503
507
  export type ThemeVersion = 1 | 2;
@@ -1846,6 +1846,20 @@ export type VizzlyTranslations = {
1846
1846
  * String containing the translation.
1847
1847
  */
1848
1848
  custom_metric_modal_title: string;
1849
+ /**
1850
+ * @default 'Data'
1851
+ *
1852
+ * @returns
1853
+ * String containing the translation.
1854
+ */
1855
+ 'dataSets.data': string;
1856
+ /**
1857
+ * @default 'Defined views'
1858
+ *
1859
+ * @returns
1860
+ * String containing the translation.
1861
+ */
1862
+ 'dataSets.defined_views': string;
1849
1863
  /**
1850
1864
  * @default 'Date filter'
1851
1865
  *
package/package.json CHANGED
@@ -22,5 +22,5 @@
22
22
  "test": "jest",
23
23
  "prepare": "yarn build"
24
24
  },
25
- "version": "0.7.4"
25
+ "version": "0.8.0"
26
26
  }