@formant/ava 3.4.6-formant → 3.4.8-formant

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.
@@ -46,6 +46,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
46
46
  {
47
47
  template: '${measure} has ${total} categories in the ${dimension} that are prominent compared to other dimensions: &{outliers}.',
48
48
  variableMetaMap: variableMetaMap,
49
+ displayType: 'paragraph',
49
50
  },
50
51
  ],
51
52
  };
@@ -56,7 +57,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
56
57
  template: '${.x}',
57
58
  separator: getDefaultSeparator('zh-CN'),
58
59
  variableMetaMap: variableMetaMap,
59
- useVariable: 'patterns',
60
+ useVariable: 'paragraph',
60
61
  },
61
62
  ],
62
63
  'en-US': [
@@ -43,6 +43,7 @@ var CorrelationNarrativeStrategy = /** @class */ (function (_super) {
43
43
  {
44
44
  template: " ${m1} and ${m2}, are highly correlated. Their relationship is measured by a number, ${pcorr}, which tells us just how closely they're linked. A higher number means they move in sync more often.",
45
45
  variableMetaMap: variableMetaMap,
46
+ displayType: 'paragraph',
46
47
  },
47
48
  ],
48
49
  };
@@ -54,6 +54,7 @@ var MajorityNarrativeStrategy = /** @class */ (function (_super) {
54
54
  {
55
55
  template: 'The ${measure} for ${dimValue} is significantly higher than the other dimensions, at ${y}, ${proportion} of the total (${total}).',
56
56
  variableMetaMap: variableMetaMap,
57
+ displayType: 'heading',
57
58
  },
58
59
  ],
59
60
  };
@@ -48,6 +48,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
48
48
  {
49
49
  template: '${measure} has ${total} categories in the ${dimension} that are prominent compared to other dimensions: &{outliers}.',
50
50
  variableMetaMap: variableMetaMap,
51
+ displayType: 'paragraph',
51
52
  },
52
53
  ],
53
54
  };
@@ -58,7 +59,7 @@ var CategoryOutlierNarrativeStrategy = /** @class */ (function (_super) {
58
59
  template: '${.x}',
59
60
  separator: (0, helpers_1.getDefaultSeparator)('zh-CN'),
60
61
  variableMetaMap: variableMetaMap,
61
- useVariable: 'patterns',
62
+ useVariable: 'paragraph',
62
63
  },
63
64
  ],
64
65
  'en-US': [
@@ -45,6 +45,7 @@ var CorrelationNarrativeStrategy = /** @class */ (function (_super) {
45
45
  {
46
46
  template: " ${m1} and ${m2}, are highly correlated. Their relationship is measured by a number, ${pcorr}, which tells us just how closely they're linked. A higher number means they move in sync more often.",
47
47
  variableMetaMap: variableMetaMap,
48
+ displayType: 'paragraph',
48
49
  },
49
50
  ],
50
51
  };
@@ -56,6 +56,7 @@ var MajorityNarrativeStrategy = /** @class */ (function (_super) {
56
56
  {
57
57
  template: 'The ${measure} for ${dimValue} is significantly higher than the other dimensions, at ${y}, ${proportion} of the total (${total}).',
58
58
  variableMetaMap: variableMetaMap,
59
+ displayType: 'heading',
59
60
  },
60
61
  ],
61
62
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formant/ava",
3
- "version": "3.4.6-formant",
3
+ "version": "3.4.8-formant",
4
4
  "description": "A framework for automated visual analytics.",
5
5
  "author": {
6
6
  "name": "formant",