@grafana/k6-test-builder 0.4.0 → 0.4.1-alpha.1

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/index.d.ts CHANGED
@@ -338,8 +338,9 @@ interface TestBuilderStandaloneProps {
338
338
  readonlyScriptScenarios?: boolean;
339
339
  apmConfigs?: APMConfig[];
340
340
  hasCloudAPM?: boolean;
341
+ disableAPM?: boolean;
341
342
  }
342
- export function TestBuilder({ loading, saving, k6Test, hasCloudExecution, availableLoadZones, DocsLinkComponent, onViewChange, StagesVirtualizationComponent, ScriptEditorComponent, TestBuilderIconComponent, readonlyScriptScenarios, apmConfigs, hasCloudAPM, }: TestBuilderStandaloneProps): JSX.Element;
343
+ export function TestBuilder({ loading, saving, k6Test, hasCloudExecution, availableLoadZones, DocsLinkComponent, onViewChange, StagesVirtualizationComponent, ScriptEditorComponent, TestBuilderIconComponent, readonlyScriptScenarios, apmConfigs, hasCloudAPM, disableAPM, }: TestBuilderStandaloneProps): JSX.Element;
343
344
  interface TestMetaInformationProps {
344
345
  className?: string;
345
346
  }
package/dist/index.js CHANGED
@@ -1183,7 +1183,8 @@ const $b0053bc75d27f892$var$defaultContext = {
1183
1183
  readonlyScriptScenarios: true,
1184
1184
  TestBuilderIconComponent: (0, $924f96bd0d5c630d$export$cc0ae9a5c96bcd6f),
1185
1185
  apmConfigs: [],
1186
- hasCloudAPM: false
1186
+ hasCloudAPM: false,
1187
+ disableAPM: false
1187
1188
  };
1188
1189
  const $b0053bc75d27f892$export$50a363b00a71216b = /*#__PURE__*/ (0, $gkIgo$react.createContext)($b0053bc75d27f892$var$defaultContext);
1189
1190
  const $b0053bc75d27f892$export$b224d382e54e6ba1 = $b0053bc75d27f892$export$50a363b00a71216b.Provider;
@@ -6346,8 +6347,9 @@ function $b2fd5f170ac8255b$export$ac3bdfe4cb17f64e() {
6346
6347
  const [addMenuOpen, setAddMenuOpen] = (0, $gkIgo$react.useState)(false);
6347
6348
  const addTestBuilderScenarioCallback = ()=>dispatch((0, $fb13d3d78074f465$export$e63b78a5d78eb26d)());
6348
6349
  const addScriptScenarioCallback = ()=>dispatch((0, $fb13d3d78074f465$export$3e6af8cfc9e91c92)());
6349
- const { openImportModal: openImportModal , readonlyScriptScenarios: readonlyScriptScenarios } = (0, $b0053bc75d27f892$export$8bcb3cb1ba0d67a7)();
6350
+ const { openImportModal: openImportModal , readonlyScriptScenarios: readonlyScriptScenarios , disableAPM: disableAPM } = (0, $b0053bc75d27f892$export$8bcb3cb1ba0d67a7)();
6350
6351
  const importDisabled = true;
6352
+ const theme = (0, $gkIgo$materialuicore.useTheme)();
6351
6353
  return /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsxs)((0, $e2d64263ec61c60c$export$28a60763829263d0), {
6352
6354
  "data-collapsed": collapsed,
6353
6355
  children: [
@@ -6357,7 +6359,9 @@ function $b2fd5f170ac8255b$export$ac3bdfe4cb17f64e() {
6357
6359
  children: [
6358
6360
  /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $ae7d4d517776e816$export$915338482336f0c0), {
6359
6361
  name: "loadZones",
6360
- icon: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $7ad7daf7434429fa$export$cadbb3a6d7f856e2), {}),
6362
+ icon: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $7ad7daf7434429fa$export$cadbb3a6d7f856e2), {
6363
+ backgroundColor: theme.palette.background.paper
6364
+ }),
6361
6365
  countSelector: (0, $cd701400f17d4ede$export$27b31363b86bfe20),
6362
6366
  children: "Load zones"
6363
6367
  }),
@@ -6367,7 +6371,7 @@ function $b2fd5f170ac8255b$export$ac3bdfe4cb17f64e() {
6367
6371
  countSelector: (0, $c9e43998974bca59$export$70d38424a240dd9d),
6368
6372
  children: "Thresholds"
6369
6373
  }),
6370
- /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $ae7d4d517776e816$export$915338482336f0c0), {
6374
+ !disableAPM && /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $ae7d4d517776e816$export$915338482336f0c0), {
6371
6375
  name: "apm",
6372
6376
  icon: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $8f59082554601909$export$e2a67d15baecf98e), {}),
6373
6377
  countSelector: (0, $d227aedde8f44b50$export$db1f15b05cdd9ed0),
@@ -6408,12 +6412,6 @@ function $b2fd5f170ac8255b$export$ac3bdfe4cb17f64e() {
6408
6412
  ]
6409
6413
  }),
6410
6414
  /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $bac2ea1f1a1f3a68$export$cf18ca8ecaaac04b), {}),
6411
- importDisabled && /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $bac2ea1f1a1f3a68$export$51485461e6c971ae), {
6412
- component: "button",
6413
- color: "textDisabled",
6414
- disabled: true,
6415
- children: "Import"
6416
- }),
6417
6415
  !importDisabled && /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $gkIgo$materialuicore.Tooltip), {
6418
6416
  title: "Click to import HAR file",
6419
6417
  arrow: true,
@@ -14425,7 +14423,7 @@ function $00b916e228a936f5$export$f290710bbb710efa({ loading: loading , saving:
14425
14423
  k6_load_zone_id: "amazon:us:ashburn",
14426
14424
  city: "Ashburn"
14427
14425
  }
14428
- ] , DocsLinkComponent: DocsLinkComponent = (0, $cd402c1b3ca4b836$export$e816d7af81d48a79) , onViewChange: onViewChange , StagesVirtualizationComponent: StagesVirtualizationComponent , ScriptEditorComponent: ScriptEditorComponent = (0, $ab0bf6ee71c94953$export$32efa5142ae8aa01) , TestBuilderIconComponent: TestBuilderIconComponent = (0, $924f96bd0d5c630d$export$cc0ae9a5c96bcd6f) , readonlyScriptScenarios: readonlyScriptScenarios = true , apmConfigs: apmConfigs = [] , hasCloudAPM: hasCloudAPM = false }) {
14426
+ ] , DocsLinkComponent: DocsLinkComponent = (0, $cd402c1b3ca4b836$export$e816d7af81d48a79) , onViewChange: onViewChange , StagesVirtualizationComponent: StagesVirtualizationComponent , ScriptEditorComponent: ScriptEditorComponent = (0, $ab0bf6ee71c94953$export$32efa5142ae8aa01) , TestBuilderIconComponent: TestBuilderIconComponent = (0, $924f96bd0d5c630d$export$cc0ae9a5c96bcd6f) , readonlyScriptScenarios: readonlyScriptScenarios = false , apmConfigs: apmConfigs = [] , hasCloudAPM: hasCloudAPM = false , disableAPM: disableAPM = false }) {
14429
14427
  // create test builder context
14430
14428
  const context = {
14431
14429
  k6Test: k6Test,
@@ -14438,7 +14436,8 @@ function $00b916e228a936f5$export$f290710bbb710efa({ loading: loading , saving:
14438
14436
  TestBuilderIconComponent: TestBuilderIconComponent,
14439
14437
  readonlyScriptScenarios: readonlyScriptScenarios,
14440
14438
  apmConfigs: apmConfigs,
14441
- hasCloudAPM: hasCloudAPM
14439
+ hasCloudAPM: hasCloudAPM,
14440
+ disableAPM: disableAPM
14442
14441
  };
14443
14442
  return /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $1ae39e1e435a2397$export$9bb8a8c9de09825e), {
14444
14443
  children: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $b0053bc75d27f892$export$b224d382e54e6ba1), {
@@ -15097,7 +15096,9 @@ const $52b9d7eb1cd2746c$export$e59fbfa5ffe25cdd = {
15097
15096
  },
15098
15097
  option: {
15099
15098
  '& > [class*="MuiIconButton-root"]': {
15100
- marginRight: "8px"
15099
+ marginRight: "8px",
15100
+ padding: 0,
15101
+ paddingLeft: "10px"
15101
15102
  }
15102
15103
  },
15103
15104
  inputRoot: {
@@ -15349,7 +15350,9 @@ const $7c36156baf9739dc$export$bca14c5b3b88a9c9 = {
15349
15350
  }
15350
15351
  },
15351
15352
  keyValueInputVariant: "standard",
15352
- spacing: 10 // theme.spacing(2) = 20
15353
+ spacing: 10,
15354
+ // theme.spacing(2) = 20
15355
+ outerBackgroundColor: "#f9f8fc"
15353
15356
  };
15354
15357
  const $7c36156baf9739dc$export$164de7ab8df77ef0 = (0, $gkIgo$materialuicore.createTheme)((0, $gkIgo$lodashes.merge)($7c36156baf9739dc$var$themePalette, $7c36156baf9739dc$export$bca14c5b3b88a9c9));
15355
15358
 
@@ -15395,8 +15398,8 @@ const $62ab0070dd5eb8e6$export$44518b3b0aec31d = (theme)=>{
15395
15398
  palette: {
15396
15399
  type: theme.colors.mode,
15397
15400
  background: {
15398
- paper: theme.colors.background.primary,
15399
- default: theme.colors.background.canvas,
15401
+ paper: theme.colors.background.secondary,
15402
+ default: theme.colors.background.primary,
15400
15403
  secondary: theme.colors.background.secondary
15401
15404
  },
15402
15405
  primary: {
@@ -15572,6 +15575,9 @@ const $62ab0070dd5eb8e6$export$44518b3b0aec31d = (theme)=>{
15572
15575
  paper: {
15573
15576
  background: theme.colors.background.canvas
15574
15577
  },
15578
+ popupIndicator: {
15579
+ color: theme.colors.text.primary
15580
+ },
15575
15581
  inputRoot: {
15576
15582
  height: "auto",
15577
15583
  '&[class*="MuiOutlinedInput-root"]': {
@@ -15626,7 +15632,8 @@ const $62ab0070dd5eb8e6$export$44518b3b0aec31d = (theme)=>{
15626
15632
  }
15627
15633
  }
15628
15634
  }
15629
- }
15635
+ },
15636
+ outerBackgroundColor: theme.colors.background.primary // Storybook wrapper background
15630
15637
  };
15631
15638
  };
15632
15639
 
package/dist/module.js CHANGED
@@ -7,7 +7,7 @@ import $b7VBt$materialuicoreLink from "@material-ui/core/Link";
7
7
  import $b7VBt$materialuicoreSelect from "@material-ui/core/Select";
8
8
  import $b7VBt$materialuicoreTextField from "@material-ui/core/TextField";
9
9
  import $b7VBt$materialuicoreMenuItem from "@material-ui/core/MenuItem";
10
- import {ListSubheader as $b7VBt$ListSubheader, Button as $b7VBt$Button, Tooltip as $b7VBt$Tooltip, alpha as $b7VBt$alpha1, ClickAwayListener as $b7VBt$ClickAwayListener, Grow as $b7VBt$Grow, Paper as $b7VBt$Paper, Popper as $b7VBt$Popper, Switch as $b7VBt$Switch, darken as $b7VBt$darken, TextField as $b7VBt$TextField, InputAdornment as $b7VBt$InputAdornment, Checkbox as $b7VBt$Checkbox, FormLabel as $b7VBt$FormLabel, FormControl as $b7VBt$FormControl, RadioGroup as $b7VBt$RadioGroup, FormControlLabel as $b7VBt$FormControlLabel, Radio as $b7VBt$Radio, Dialog as $b7VBt$Dialog, DialogTitle as $b7VBt$DialogTitle, DialogContent as $b7VBt$DialogContent, DialogContentText as $b7VBt$DialogContentText, DialogActions as $b7VBt$DialogActions, Chip as $b7VBt$Chip, Fade as $b7VBt$Fade, useTheme as $b7VBt$useTheme1, createTheme as $b7VBt$createTheme, createGenerateClassName as $b7VBt$createGenerateClassName, NoSsr as $b7VBt$NoSsr, ThemeProvider as $b7VBt$ThemeProvider, StylesProvider as $b7VBt$StylesProvider} from "@material-ui/core";
10
+ import {ListSubheader as $b7VBt$ListSubheader, Button as $b7VBt$Button, Tooltip as $b7VBt$Tooltip, useTheme as $b7VBt$useTheme, alpha as $b7VBt$alpha1, ClickAwayListener as $b7VBt$ClickAwayListener, Grow as $b7VBt$Grow, Paper as $b7VBt$Paper, Popper as $b7VBt$Popper, Switch as $b7VBt$Switch, darken as $b7VBt$darken, TextField as $b7VBt$TextField, InputAdornment as $b7VBt$InputAdornment, Checkbox as $b7VBt$Checkbox, FormLabel as $b7VBt$FormLabel, FormControl as $b7VBt$FormControl, RadioGroup as $b7VBt$RadioGroup, FormControlLabel as $b7VBt$FormControlLabel, Radio as $b7VBt$Radio, Dialog as $b7VBt$Dialog, DialogTitle as $b7VBt$DialogTitle, DialogContent as $b7VBt$DialogContent, DialogContentText as $b7VBt$DialogContentText, DialogActions as $b7VBt$DialogActions, Chip as $b7VBt$Chip, Fade as $b7VBt$Fade, createTheme as $b7VBt$createTheme, createGenerateClassName as $b7VBt$createGenerateClassName, NoSsr as $b7VBt$NoSsr, ThemeProvider as $b7VBt$ThemeProvider, StylesProvider as $b7VBt$StylesProvider} from "@material-ui/core";
11
11
  import {useDispatch as $b7VBt$useDispatch, useSelector as $b7VBt$useSelector, Provider as $b7VBt$Provider} from "react-redux";
12
12
  import {createSlice as $b7VBt$createSlice, nanoid as $b7VBt$nanoid, createSelector as $b7VBt$createSelector, createEntityAdapter as $b7VBt$createEntityAdapter, current as $b7VBt$current, createAsyncThunk as $b7VBt$createAsyncThunk, configureStore as $b7VBt$configureStore, createListenerMiddleware as $b7VBt$createListenerMiddleware, isAnyOf as $b7VBt$isAnyOf} from "@reduxjs/toolkit";
13
13
  import {isFinite as $b7VBt$isFinite, isNumber as $b7VBt$isNumber, cloneDeep as $b7VBt$cloneDeep, isEqual as $b7VBt$isEqual, get as $b7VBt$get, merge as $b7VBt$merge} from "lodash-es";
@@ -17,7 +17,7 @@ import $b7VBt$prettieresmstandalonemjs from "prettier/esm/standalone.mjs";
17
17
  import $b7VBt$prettieresmparserbabelmjs from "prettier/esm/parser-babel.mjs";
18
18
  import {Scrollbars as $b7VBt$Scrollbars} from "react-custom-scrollbars";
19
19
  import {ReactSortable as $b7VBt$ReactSortable} from "react-sortablejs";
20
- import {lighten as $b7VBt$lighten, useTheme as $b7VBt$useTheme} from "@material-ui/core/styles";
20
+ import {lighten as $b7VBt$lighten, useTheme as $b7VBt$useTheme1} from "@material-ui/core/styles";
21
21
  import $b7VBt$materialuilabAutocomplete from "@material-ui/lab/Autocomplete";
22
22
  import {createFilterOptions as $b7VBt$createFilterOptions, Autocomplete as $b7VBt$Autocomplete} from "@material-ui/lab";
23
23
 
@@ -1162,7 +1162,8 @@ const $4cf6d05a57acd1d1$var$defaultContext = {
1162
1162
  readonlyScriptScenarios: true,
1163
1163
  TestBuilderIconComponent: (0, $a80b21e889559c22$export$cc0ae9a5c96bcd6f),
1164
1164
  apmConfigs: [],
1165
- hasCloudAPM: false
1165
+ hasCloudAPM: false,
1166
+ disableAPM: false
1166
1167
  };
1167
1168
  const $4cf6d05a57acd1d1$export$50a363b00a71216b = /*#__PURE__*/ (0, $b7VBt$createContext)($4cf6d05a57acd1d1$var$defaultContext);
1168
1169
  const $4cf6d05a57acd1d1$export$b224d382e54e6ba1 = $4cf6d05a57acd1d1$export$50a363b00a71216b.Provider;
@@ -6325,8 +6326,9 @@ function $d9fe84fff8953a15$export$ac3bdfe4cb17f64e() {
6325
6326
  const [addMenuOpen, setAddMenuOpen] = (0, $b7VBt$useState)(false);
6326
6327
  const addTestBuilderScenarioCallback = ()=>dispatch((0, $406997178a55b94e$export$e63b78a5d78eb26d)());
6327
6328
  const addScriptScenarioCallback = ()=>dispatch((0, $406997178a55b94e$export$3e6af8cfc9e91c92)());
6328
- const { openImportModal: openImportModal , readonlyScriptScenarios: readonlyScriptScenarios } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
6329
+ const { openImportModal: openImportModal , readonlyScriptScenarios: readonlyScriptScenarios , disableAPM: disableAPM } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
6329
6330
  const importDisabled = true;
6331
+ const theme = (0, $b7VBt$useTheme)();
6330
6332
  return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $50455a9661ca457e$export$28a60763829263d0), {
6331
6333
  "data-collapsed": collapsed,
6332
6334
  children: [
@@ -6336,7 +6338,9 @@ function $d9fe84fff8953a15$export$ac3bdfe4cb17f64e() {
6336
6338
  children: [
6337
6339
  /*#__PURE__*/ (0, $b7VBt$jsx)((0, $b2828942c0be4e42$export$915338482336f0c0), {
6338
6340
  name: "loadZones",
6339
- icon: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $7de9df6ba69a273b$export$cadbb3a6d7f856e2), {}),
6341
+ icon: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $7de9df6ba69a273b$export$cadbb3a6d7f856e2), {
6342
+ backgroundColor: theme.palette.background.paper
6343
+ }),
6340
6344
  countSelector: (0, $27ada388e04e2c5d$export$27b31363b86bfe20),
6341
6345
  children: "Load zones"
6342
6346
  }),
@@ -6346,7 +6350,7 @@ function $d9fe84fff8953a15$export$ac3bdfe4cb17f64e() {
6346
6350
  countSelector: (0, $0a7407e072b791ee$export$70d38424a240dd9d),
6347
6351
  children: "Thresholds"
6348
6352
  }),
6349
- /*#__PURE__*/ (0, $b7VBt$jsx)((0, $b2828942c0be4e42$export$915338482336f0c0), {
6353
+ !disableAPM && /*#__PURE__*/ (0, $b7VBt$jsx)((0, $b2828942c0be4e42$export$915338482336f0c0), {
6350
6354
  name: "apm",
6351
6355
  icon: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $3a5549cb3a52940d$export$e2a67d15baecf98e), {}),
6352
6356
  countSelector: (0, $f5336de97253fdb0$export$db1f15b05cdd9ed0),
@@ -6387,12 +6391,6 @@ function $d9fe84fff8953a15$export$ac3bdfe4cb17f64e() {
6387
6391
  ]
6388
6392
  }),
6389
6393
  /*#__PURE__*/ (0, $b7VBt$jsx)((0, $570fb69e6168c397$export$cf18ca8ecaaac04b), {}),
6390
- importDisabled && /*#__PURE__*/ (0, $b7VBt$jsx)((0, $570fb69e6168c397$export$51485461e6c971ae), {
6391
- component: "button",
6392
- color: "textDisabled",
6393
- disabled: true,
6394
- children: "Import"
6395
- }),
6396
6394
  !importDisabled && /*#__PURE__*/ (0, $b7VBt$jsx)((0, $b7VBt$Tooltip), {
6397
6395
  title: "Click to import HAR file",
6398
6396
  arrow: true,
@@ -9467,7 +9465,7 @@ function $cc97beb4c07e5f13$export$f1497c8ea6b28f42() {
9467
9465
 
9468
9466
 
9469
9467
  const $791a660a9528967f$export$909904bdb4cb4458 = ({ value: value = "" , suggestions: suggestions = [] , placeholder: placeholder = "" , onChange: onChange , onBlur: onBlur })=>{
9470
- const theme = (0, $b7VBt$useTheme)();
9468
+ const theme = (0, $b7VBt$useTheme1)();
9471
9469
  const [currentValue, setCurrentValue] = (0, $b7VBt$useState)(value);
9472
9470
  (0, $b7VBt$useEffect)(()=>setCurrentValue(value), [
9473
9471
  value
@@ -13716,7 +13714,7 @@ function $57f5dd5ab9a21f69$export$1b8c1f86070440b9({ fill: fill = "#fff" }) {
13716
13714
  });
13717
13715
  }
13718
13716
  const $57f5dd5ab9a21f69$export$494e9da397d5363d = ()=>{
13719
- const theme = (0, $b7VBt$useTheme1)();
13717
+ const theme = (0, $b7VBt$useTheme)();
13720
13718
  if (theme && theme.palette && theme.palette.type === "dark") return /*#__PURE__*/ (0, $b7VBt$jsx)($57f5dd5ab9a21f69$export$1b8c1f86070440b9, {
13721
13719
  fill: theme.palette.text.primary
13722
13720
  });
@@ -14404,7 +14402,7 @@ function $045b658c7184976c$export$f290710bbb710efa({ loading: loading , saving:
14404
14402
  k6_load_zone_id: "amazon:us:ashburn",
14405
14403
  city: "Ashburn"
14406
14404
  }
14407
- ] , DocsLinkComponent: DocsLinkComponent = (0, $a2bbc3b49e805484$export$e816d7af81d48a79) , onViewChange: onViewChange , StagesVirtualizationComponent: StagesVirtualizationComponent , ScriptEditorComponent: ScriptEditorComponent = (0, $b60f5acc8283b9c9$export$32efa5142ae8aa01) , TestBuilderIconComponent: TestBuilderIconComponent = (0, $a80b21e889559c22$export$cc0ae9a5c96bcd6f) , readonlyScriptScenarios: readonlyScriptScenarios = true , apmConfigs: apmConfigs = [] , hasCloudAPM: hasCloudAPM = false }) {
14405
+ ] , DocsLinkComponent: DocsLinkComponent = (0, $a2bbc3b49e805484$export$e816d7af81d48a79) , onViewChange: onViewChange , StagesVirtualizationComponent: StagesVirtualizationComponent , ScriptEditorComponent: ScriptEditorComponent = (0, $b60f5acc8283b9c9$export$32efa5142ae8aa01) , TestBuilderIconComponent: TestBuilderIconComponent = (0, $a80b21e889559c22$export$cc0ae9a5c96bcd6f) , readonlyScriptScenarios: readonlyScriptScenarios = false , apmConfigs: apmConfigs = [] , hasCloudAPM: hasCloudAPM = false , disableAPM: disableAPM = false }) {
14408
14406
  // create test builder context
14409
14407
  const context = {
14410
14408
  k6Test: k6Test,
@@ -14417,7 +14415,8 @@ function $045b658c7184976c$export$f290710bbb710efa({ loading: loading , saving:
14417
14415
  TestBuilderIconComponent: TestBuilderIconComponent,
14418
14416
  readonlyScriptScenarios: readonlyScriptScenarios,
14419
14417
  apmConfigs: apmConfigs,
14420
- hasCloudAPM: hasCloudAPM
14418
+ hasCloudAPM: hasCloudAPM,
14419
+ disableAPM: disableAPM
14421
14420
  };
14422
14421
  return /*#__PURE__*/ (0, $b7VBt$jsx)((0, $59eb99f127c45ea7$export$9bb8a8c9de09825e), {
14423
14422
  children: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $4cf6d05a57acd1d1$export$b224d382e54e6ba1), {
@@ -15076,7 +15075,9 @@ const $5e43c31f4d2ea205$export$e59fbfa5ffe25cdd = {
15076
15075
  },
15077
15076
  option: {
15078
15077
  '& > [class*="MuiIconButton-root"]': {
15079
- marginRight: "8px"
15078
+ marginRight: "8px",
15079
+ padding: 0,
15080
+ paddingLeft: "10px"
15080
15081
  }
15081
15082
  },
15082
15083
  inputRoot: {
@@ -15328,7 +15329,9 @@ const $54e6cc9f054c3662$export$bca14c5b3b88a9c9 = {
15328
15329
  }
15329
15330
  },
15330
15331
  keyValueInputVariant: "standard",
15331
- spacing: 10 // theme.spacing(2) = 20
15332
+ spacing: 10,
15333
+ // theme.spacing(2) = 20
15334
+ outerBackgroundColor: "#f9f8fc"
15332
15335
  };
15333
15336
  const $54e6cc9f054c3662$export$164de7ab8df77ef0 = (0, $b7VBt$createTheme)((0, $b7VBt$merge)($54e6cc9f054c3662$var$themePalette, $54e6cc9f054c3662$export$bca14c5b3b88a9c9));
15334
15337
 
@@ -15374,8 +15377,8 @@ const $1eed075243b73743$export$44518b3b0aec31d = (theme)=>{
15374
15377
  palette: {
15375
15378
  type: theme.colors.mode,
15376
15379
  background: {
15377
- paper: theme.colors.background.primary,
15378
- default: theme.colors.background.canvas,
15380
+ paper: theme.colors.background.secondary,
15381
+ default: theme.colors.background.primary,
15379
15382
  secondary: theme.colors.background.secondary
15380
15383
  },
15381
15384
  primary: {
@@ -15551,6 +15554,9 @@ const $1eed075243b73743$export$44518b3b0aec31d = (theme)=>{
15551
15554
  paper: {
15552
15555
  background: theme.colors.background.canvas
15553
15556
  },
15557
+ popupIndicator: {
15558
+ color: theme.colors.text.primary
15559
+ },
15554
15560
  inputRoot: {
15555
15561
  height: "auto",
15556
15562
  '&[class*="MuiOutlinedInput-root"]': {
@@ -15605,7 +15611,8 @@ const $1eed075243b73743$export$44518b3b0aec31d = (theme)=>{
15605
15611
  }
15606
15612
  }
15607
15613
  }
15608
- }
15614
+ },
15615
+ outerBackgroundColor: theme.colors.background.primary // Storybook wrapper background
15609
15616
  };
15610
15617
  };
15611
15618
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/k6-test-builder",
3
- "version": "0.4.0",
3
+ "version": "0.4.1-alpha.1",
4
4
  "license": "AGPL-3.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/module.js",