@splunk/visualizations 24.5.3 → 24.6.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.
Files changed (108) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_dynamic_color.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_geostats_by.png +0 -0
  4. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color.png +0 -0
  5. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color_with_no_seriesColors.png +0 -0
  6. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_center_seattle.png +0 -0
  7. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
  8. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
  9. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
  10. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
  11. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
  14. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
  15. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Additional_Cases.png +0 -0
  16. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
  17. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
  18. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
  19. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.png +0 -0
  20. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
  21. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
  22. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
  23. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
  24. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
  25. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_with_geostats_data_No_render.png +0 -0
  26. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
  27. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
  28. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_By_Type_Custom.png +0 -0
  29. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Default.png +0 -0
  30. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Kitchen_Sink.png +0 -0
  31. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
  32. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Single_Column.png +0 -0
  33. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Color_light_blue.png +0 -0
  34. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_No_Stripe.png +0 -0
  35. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Stripe.png +0 -0
  36. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table.png +0 -0
  37. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table_With_No_Click.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Gradient.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Override.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Count_2.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Header_Colors.png +0 -0
  44. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Row_Colors.png +0 -0
  45. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Stripe.png +0 -0
  46. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_No_Stripe.png +0 -0
  47. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_Stripe.png +0 -0
  48. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Default.png +0 -0
  49. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Extra_Small.png +0 -0
  50. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Large.png +0 -0
  51. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Monospace.png +0 -0
  52. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Proportional.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Small.png +0 -0
  54. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number.png +0 -0
  55. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
  56. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
  57. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
  58. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
  59. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Invalid_Background_Color.png +0 -0
  60. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Multi_Value_Field.png +0 -0
  61. package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes.png +0 -0
  62. package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes_Row_Numbers.png +0 -0
  63. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
  64. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
  65. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Row_Numbers_true.png +0 -0
  66. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
  67. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
  68. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
  69. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
  70. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Formatting.png +0 -0
  71. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Gradient.png +0 -0
  72. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
  73. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
  74. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Height.png +0 -0
  75. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Percentage.png +0 -0
  76. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Px.png +0 -0
  77. package/Area.js +2 -2
  78. package/Bar.js +2 -2
  79. package/Bubble.config.js +17 -17
  80. package/Bubble.config.js.map +1 -1
  81. package/Bubble.js +19 -19
  82. package/Bubble.js.map +1 -1
  83. package/ChoroplethSvg.js +2 -2
  84. package/Column.js +2 -2
  85. package/Ellipse.js +2 -2
  86. package/FillerGauge.js +2 -2
  87. package/Image.js +2 -2
  88. package/Line.js +2 -2
  89. package/LinkGraph.js +2 -2
  90. package/Map.js +7 -5
  91. package/Map.js.map +1 -1
  92. package/Markdown.js +2 -2
  93. package/MarkerGauge.js +2 -2
  94. package/ParallelCoordinates.js +2 -2
  95. package/Pie.js +2 -2
  96. package/Punchcard.js +2 -2
  97. package/Rectangle.js +2 -2
  98. package/Sankey.js +2 -2
  99. package/Scatter.js +2 -2
  100. package/SingleValue.js +2 -2
  101. package/SingleValueIcon.js +2 -2
  102. package/SingleValueRadial.js +2 -2
  103. package/Table.config.js +73 -24
  104. package/Table.config.js.map +1 -1
  105. package/Table.js +115 -31
  106. package/Table.js.map +1 -1
  107. package/common/withDashboardViz.js +2 -2
  108. package/package.json +11 -12
package/Table.js CHANGED
@@ -129,12 +129,13 @@ module.exports = require("@splunk/themes/variables");
129
129
  Object.defineProperty(exports, "__esModule", {
130
130
  value: true
131
131
  });
132
- exports.validTextOverflows = exports.validAlignments = exports.validHeaderVisibilities = exports.validSparklineTypes = exports.validCellRenderers = void 0;
132
+ exports.validFontSizes = exports.validTextOverflows = exports.validAlignments = exports.validHeaderVisibilities = exports.validSparklineTypes = exports.validCellRenderers = void 0;
133
133
  exports.validCellRenderers = ['TextCell', 'ArrayCell', 'SparklineCell'];
134
134
  exports.validSparklineTypes = ['line', 'area'];
135
135
  exports.validHeaderVisibilities = ['none', 'fixed', 'inline'];
136
136
  exports.validAlignments = ['left', 'center', 'right'];
137
137
  exports.validTextOverflows = ['anywhere', 'break-word', 'ellipsis'];
138
+ exports.validFontSizes = ['extraSmall', 'small', 'default', 'large'];
138
139
 
139
140
  /***/ }),
140
141
 
@@ -220,7 +221,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
220
221
 
221
222
  return React.createElement(FixSizeItem, {
222
223
  "data-test": "fix-size-item",
223
- "data-splunk-visualization-version": "24.5.3 - 3129e19a7",
224
+ "data-splunk-visualization-version": "24.6.0 - 539dff0ca",
224
225
  width: width,
225
226
  height: height,
226
227
  backgroundColor: backgroundColor
@@ -829,12 +830,12 @@ var matchColorConfig = [{
829
830
  var optionsSchema = {
830
831
  backgroundColor: {
831
832
  default: '> themes.defaultBackgroundColor',
832
- description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
833
+ description: 'Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".',
833
834
  pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
834
835
  type: 'string'
835
836
  },
836
837
  columnFormat: {
837
- description: 'Allows users to set column formatting for individual columns.',
838
+ description: 'Allows column formatting for individual columns.',
838
839
  type: 'object',
839
840
  patternProperties: {
840
841
  '.*': {
@@ -842,7 +843,7 @@ var optionsSchema = {
842
843
  type: 'object',
843
844
  properties: {
844
845
  align: {
845
- description: 'Alignment for each cell in the column. Valid alignments include "left", "center", and "right".',
846
+ description: 'Specify the alignment for each cell in a column. Valid alignments include "left", "center", and "right".',
846
847
  type: 'array',
847
848
  items: {
848
849
  type: 'string',
@@ -850,7 +851,7 @@ var optionsSchema = {
850
851
  }
851
852
  },
852
853
  cellTypes: {
853
- description: 'Cell renderer for each cell in the column. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',
854
+ description: 'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',
854
855
  type: 'array',
855
856
  items: {
856
857
  type: 'string',
@@ -858,7 +859,7 @@ var optionsSchema = {
858
859
  }
859
860
  },
860
861
  data: {
861
- description: 'Array of datapoint to be displayed in the column rows.',
862
+ description: 'Specify data points to be displayed in the cells of a column.',
862
863
  type: 'array',
863
864
  items: {
864
865
  oneOf: [{
@@ -874,7 +875,7 @@ var optionsSchema = {
874
875
  }
875
876
  },
876
877
  rowBackgroundColors: {
877
- description: 'Array of colors for background color of each row of the column of the table.',
878
+ description: 'Specify a list of colors, in hexadecimal code, for the background color of each column of the table. For example, ["#2C333B", "32373D"].',
878
879
  type: 'array',
879
880
  items: {
880
881
  type: 'string',
@@ -882,7 +883,7 @@ var optionsSchema = {
882
883
  }
883
884
  },
884
885
  rowColors: {
885
- description: 'Array of colors for text color of each row of the column of the table.',
886
+ description: 'Specify a list of colors, in hexadecimal code, for the text color of the cells of a column. For example, ["#2C333B", "32373D"].',
886
887
  type: 'array',
887
888
  items: {
888
889
  type: 'string',
@@ -890,7 +891,7 @@ var optionsSchema = {
890
891
  }
891
892
  },
892
893
  sparklineAreaColors: {
893
- description: 'Array of colors for sparkline area color of each row of the column of the table.',
894
+ description: 'Specify a list of colors, in hexadecimal code, for the sparkline area of each column. For example, ["#2C333B", "32373D"].',
894
895
  type: 'array',
895
896
  items: {
896
897
  type: 'string',
@@ -898,7 +899,7 @@ var optionsSchema = {
898
899
  }
899
900
  },
900
901
  sparklineColors: {
901
- description: 'Array of colors for sparkline line color of each row of the column of the table.',
902
+ description: 'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each column. For example, ["#2C333B", "32373D"].',
902
903
  type: 'array',
903
904
  items: {
904
905
  type: 'string',
@@ -906,7 +907,7 @@ var optionsSchema = {
906
907
  }
907
908
  },
908
909
  sparklineTypes: {
909
- description: 'Area or Line Sparkline. Valid sparkline types include "line", "area".',
910
+ description: 'Choose either area or line formatting for the Sparkline. Valid sparkline types include "line" and "area".',
910
911
  type: 'array',
911
912
  items: {
912
913
  type: 'string',
@@ -920,7 +921,7 @@ var optionsSchema = {
920
921
  enum: consts_1.validTextOverflows.concat()
921
922
  },
922
923
  width: {
923
- description: 'Controls how wide in pixels (where 1px = 1/96th of 1in) the column should be displayed.',
924
+ description: 'Controls how wide in pixels (where 1 px = 1/96th of 1 in) the column should be displayed.',
924
925
  type: 'number',
925
926
  minimum: 30
926
927
  }
@@ -933,9 +934,21 @@ var optionsSchema = {
933
934
  type: 'number',
934
935
  default: 10
935
936
  },
937
+ font: {
938
+ default: 'proportional',
939
+ description: 'Specify the font style to use for table content.',
940
+ type: 'string',
941
+ pattern: schemaUtils_1.getPattern(['proportional', 'monospace'])
942
+ },
943
+ fontSize: {
944
+ default: 'default',
945
+ description: 'Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px.',
946
+ type: 'string',
947
+ pattern: schemaUtils_1.getPattern(consts_1.validFontSizes)
948
+ },
936
949
  headers: {
937
950
  default: '> table | getField()',
938
- description: 'Array of headers to display on the table.',
951
+ description: "Specify an array of headers to display on the table. Though these can be statically listed, it's best to use the dynamic default, as it will return the fields of your search.",
939
952
  type: 'array',
940
953
  items: {
941
954
  type: 'string'
@@ -943,14 +956,14 @@ var optionsSchema = {
943
956
  },
944
957
  headerVisibility: {
945
958
  default: 'inline',
946
- description: 'Header visibility can be none, fixed (docked) or inline.',
959
+ description: 'Specify how to display the table header row.',
947
960
  pattern: schemaUtils_1.getPattern(consts_1.validHeaderVisibilities),
948
961
  enum: consts_1.validHeaderVisibilities.concat(),
949
962
  type: 'string'
950
963
  },
951
964
  paginateDataSourceKey: {
952
965
  default: 'primary',
953
- description: 'Use the specified datasource key for pagination and sorting.',
966
+ description: 'Specify the data source key for pagination and sorting.',
954
967
  type: 'string'
955
968
  },
956
969
  showInternalFields: {
@@ -989,7 +1002,7 @@ var optionsSchema = {
989
1002
  properties: {
990
1003
  align: {
991
1004
  default: '> table | type() | matchValue(tableAlignByType)',
992
- description: 'Alignment for each cell in the table. Valid alignments include "left", "center", and "right".',
1005
+ description: 'Specify alignment for each cell in the table. Valid alignments include "left", "center", and "right".',
993
1006
  type: 'array',
994
1007
  items: {
995
1008
  type: 'array',
@@ -1001,7 +1014,7 @@ var optionsSchema = {
1001
1014
  },
1002
1015
  cellTypes: {
1003
1016
  default: '> table | type() | matchValue(tableCellTypeByType)',
1004
- description: 'Render the data in one of the supported cell type. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',
1017
+ description: 'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',
1005
1018
  type: 'array',
1006
1019
  items: {
1007
1020
  type: 'array',
@@ -1032,18 +1045,18 @@ var optionsSchema = {
1032
1045
  },
1033
1046
  headerBackgroundColor: {
1034
1047
  default: '> themes.defaultHeaderBackgroundColor',
1035
- description: 'Background color of table header.',
1048
+ description: 'Specify the table header background color using a hexadecimal code. For example, "#FFFFFF".',
1036
1049
  pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
1037
1050
  type: 'string'
1038
1051
  },
1039
1052
  headerColor: {
1040
- description: 'Text color of the table header.',
1053
+ description: 'Specify the table header text color using a hexadecimal code. For example, "#FFFFFF".',
1041
1054
  pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
1042
1055
  type: 'string'
1043
1056
  },
1044
1057
  rowBackgroundColors: {
1045
1058
  default: '> table | seriesByIndex(0) | pick(tableAltRowBackgroundColorsByTheme)',
1046
- description: 'Array of colors for background color of each row of the table.',
1059
+ description: 'Specify a list of colors, in hexadecimal code, for the background color of each row of the table. For example, ["#2C333B", "32373D"].',
1047
1060
  type: 'array',
1048
1061
  items: {
1049
1062
  type: 'array',
@@ -1054,7 +1067,7 @@ var optionsSchema = {
1054
1067
  }
1055
1068
  },
1056
1069
  rowColors: {
1057
- description: 'Array of colors for text color of each row of the table.',
1070
+ description: 'Specify a list of colors, in hexadecimal code, for the text color of each row of the table. For example, ["#2C333B", "32373D"].',
1058
1071
  type: 'array',
1059
1072
  items: {
1060
1073
  type: 'array',
@@ -1065,7 +1078,7 @@ var optionsSchema = {
1065
1078
  }
1066
1079
  },
1067
1080
  sparklineAreaColors: {
1068
- description: 'Array of colors for sparkline area of each row of the table.',
1081
+ description: 'Specify a list of colors, in hexadecimal code, for the sparkline area of each row of the table. For example, ["#2C333B", "32373D"].',
1069
1082
  type: 'array',
1070
1083
  items: {
1071
1084
  type: 'array',
@@ -1076,7 +1089,7 @@ var optionsSchema = {
1076
1089
  }
1077
1090
  },
1078
1091
  sparklineColors: {
1079
- description: 'Array of colors for sparkline line of each row of the table.',
1092
+ description: 'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each row of the table. For example, ["#2C333B", "32373D"].',
1080
1093
  type: 'array',
1081
1094
  items: {
1082
1095
  type: 'array',
@@ -1087,7 +1100,7 @@ var optionsSchema = {
1087
1100
  }
1088
1101
  },
1089
1102
  sparklineTypes: {
1090
- description: 'Area or Line Sparkline. Valid sparkline types include "line", "area".',
1103
+ description: 'Choose either area or line formatting for the Sparkline.',
1091
1104
  type: 'array',
1092
1105
  items: {
1093
1106
  type: 'array',
@@ -1212,6 +1225,42 @@ var editorConfig = [{
1212
1225
  labelWidth: EDITOR_LABEL_WIDTH,
1213
1226
  palette: _toConsumableArray(backgroundColorPaletteSet)
1214
1227
  }
1228
+ }], [{
1229
+ option: 'font',
1230
+ label: i18n_1._('Font'),
1231
+ editor: 'editor.select',
1232
+ editorProps: {
1233
+ values: [{
1234
+ label: i18n_1._('Proportional (Default)'),
1235
+ value: 'proportional'
1236
+ }, {
1237
+ label: i18n_1._('Monospace'),
1238
+ value: 'monospace'
1239
+ }],
1240
+ labelPosition: 'top',
1241
+ labelWidth: EDITOR_LABEL_WIDTH
1242
+ }
1243
+ }], [{
1244
+ option: 'fontSize',
1245
+ label: i18n_1._('Font Size'),
1246
+ editor: 'editor.select',
1247
+ editorProps: {
1248
+ values: [{
1249
+ label: i18n_1._('Extra Small (font 10px, row 24px)'),
1250
+ value: 'extraSmall'
1251
+ }, {
1252
+ label: i18n_1._('Small (font 12px, row 24px)'),
1253
+ value: 'small'
1254
+ }, {
1255
+ label: i18n_1._('Default (font 14px, row 32px)'),
1256
+ value: 'default'
1257
+ }, {
1258
+ label: i18n_1._('Large (font 16px, row 36px)'),
1259
+ value: 'large'
1260
+ }],
1261
+ labelPosition: 'top',
1262
+ labelWidth: EDITOR_LABEL_WIDTH
1263
+ }
1215
1264
  }]]
1216
1265
  }, {
1217
1266
  label: i18n_1._('Column Formatting'),
@@ -1430,7 +1479,13 @@ var PAGINATOR_SPACING = 5;
1430
1479
  var SUITableContainer = styled_components_1.default.div.withConfig({
1431
1480
  displayName: "PureTable__SUITableContainer",
1432
1481
  componentId: "tovzjg-3"
1433
- })(["box-sizing:border-box;flex-grow:1;overflow:hidden;", ";", ";", " ", " & [data-fixed-column='true']{table-layout:", ";width:", ";}"], function (_ref) {
1482
+ })(["& *{font-family:", ";font-size:", ";line-height:", ";}box-sizing:border-box;flex-grow:1;overflow:hidden;", ";", ";", " ", " & [data-fixed-column='true']{table-layout:", ";width:", ";}"], function (props) {
1483
+ return props.font;
1484
+ }, function (props) {
1485
+ return props.fontSize;
1486
+ }, function (props) {
1487
+ return props.lineHeight;
1488
+ }, function (_ref) {
1434
1489
  var width = _ref.width,
1435
1490
  height = _ref.height,
1436
1491
  isPaging = _ref.isPaging,
@@ -1556,6 +1611,23 @@ var HeadCell = function HeadCell(_a) {
1556
1611
  }, props), value);
1557
1612
  };
1558
1613
 
1614
+ var fontMap = {
1615
+ proportional: 'Splunk Platform Sans',
1616
+ monospace: 'Splunk Platform Mono'
1617
+ };
1618
+ var fontSizeMap = {
1619
+ extraSmall: '10px',
1620
+ small: '12px',
1621
+ default: '14px',
1622
+ large: '16px'
1623
+ };
1624
+ var rowHeightMap = {
1625
+ extraSmall: '12px',
1626
+ small: '12px',
1627
+ default: '20px',
1628
+ large: '24px'
1629
+ };
1630
+
1559
1631
  var PureTable = function PureTable(props) {
1560
1632
  var count = props.count,
1561
1633
  width = props.width,
@@ -1576,7 +1648,9 @@ var PureTable = function PureTable(props) {
1576
1648
  onColumnFormatChange = props.onColumnFormatChange,
1577
1649
  columnFormat = props.columnFormat,
1578
1650
  mode = props.mode,
1579
- headerVisibility = props.headerVisibility;
1651
+ headerVisibility = props.headerVisibility,
1652
+ font = props.font,
1653
+ fontSize = props.fontSize;
1580
1654
 
1581
1655
  var _React$useState = React.useState(columnFormat),
1582
1656
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -1723,6 +1797,9 @@ var PureTable = function PureTable(props) {
1723
1797
  };
1724
1798
  };
1725
1799
 
1800
+ var fontMapped = fontMap[font] || fontMap.proportional;
1801
+ var fontSizeMapped = fontSizeMap[fontSize] || fontSizeMap.default;
1802
+ var rowHeightMapped = rowHeightMap[fontSize] || rowHeightMap.default;
1726
1803
  return React.createElement(VizTableContainer, {
1727
1804
  backgroundColor: backgroundColor,
1728
1805
  ref: containerRef
@@ -1731,7 +1808,10 @@ var PureTable = function PureTable(props) {
1731
1808
  height: height,
1732
1809
  isPaging: isPaging,
1733
1810
  headerStyle: tableHeader.style,
1734
- widthSet: widthSet
1811
+ widthSet: widthSet,
1812
+ font: fontMapped,
1813
+ fontSize: fontSizeMapped,
1814
+ lineHeight: rowHeightMapped
1735
1815
  }, React.createElement(Table_1.default, {
1736
1816
  headType: headerVisibility !== 'none' ? 'inline' : undefined,
1737
1817
  innerStyle: {
@@ -1855,7 +1935,9 @@ PureTable.propTypes = {
1855
1935
  }),
1856
1936
  theme: T.any,
1857
1937
  width: T.oneOfType([T.number]),
1858
- onColumnFormatChange: T.func
1938
+ onColumnFormatChange: T.func,
1939
+ font: T.string,
1940
+ fontSize: T.string
1859
1941
  };
1860
1942
  PureTable.defaultProps = {
1861
1943
  columnFormat: {},
@@ -1876,7 +1958,9 @@ PureTable.defaultProps = {
1876
1958
  tableFormat: {},
1877
1959
  theme: {},
1878
1960
  width: 300,
1879
- onColumnFormatChange: lodash_1.noop
1961
+ onColumnFormatChange: lodash_1.noop,
1962
+ font: fontMap.proportional,
1963
+ fontSize: fontSizeMap.default
1880
1964
  };
1881
1965
  PureTable.displayName = 'VizTable';
1882
1966
  exports.default = withEmptyTableMessage(FixedSizeContainer_1.default(PureTable));
@@ -3333,7 +3417,7 @@ var Cover = styled_components_1.default.div.withConfig({
3333
3417
  componentId: "sc-1gsbnxb-0"
3334
3418
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
3335
3419
  var Blocker = styled_components_1.default.div.attrs({
3336
- 'data-splunk-visualization-version': "24.5.3 - 3129e19a7"
3420
+ 'data-splunk-visualization-version': "24.6.0 - 539dff0ca"
3337
3421
  }).withConfig({
3338
3422
  displayName: "withEditModeCover__Blocker",
3339
3423
  componentId: "sc-1gsbnxb-1"