@databrainhq/plugin 0.7.6 → 0.7.7

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.es.js CHANGED
@@ -2545,6 +2545,7 @@ var styles$C = {
2545
2545
  grid,
2546
2546
  hidden,
2547
2547
  "h-screen": "_h-screen_1hfou_1",
2548
+ "h-[10%]": "_h-[10%]_1hfou_1",
2548
2549
  "w-screen": "_w-screen_1hfou_1",
2549
2550
  "w-full": "_w-full_1hfou_1",
2550
2551
  transform,
@@ -81800,9 +81801,9 @@ const StackedBarChart = ({
81800
81801
  })]
81801
81802
  });
81802
81803
  };
81803
- const container$g = "_container_1vqip_1";
81804
- const label$5 = "_label_1vqip_7";
81805
- const sync = "_sync_1vqip_13";
81804
+ const container$g = "_container_w4vgp_1";
81805
+ const label$5 = "_label_w4vgp_7";
81806
+ const sync = "_sync_w4vgp_13";
81806
81807
  var styles$x = {
81807
81808
  container: container$g,
81808
81809
  label: label$5,
@@ -82203,18 +82204,18 @@ const BoxPlot = ({
82203
82204
  })
82204
82205
  });
82205
82206
  };
82206
- const tableSection = "_tableSection_tcrid_1";
82207
- const tableContainer = "_tableContainer_tcrid_5";
82208
- const tableDiv = "_tableDiv_tcrid_9";
82209
- const table$4 = "_table_tcrid_1";
82210
- const tableHead$1 = "_tableHead_tcrid_17";
82211
- const tableHeadColHash = "_tableHeadColHash_tcrid_21";
82212
- const tableCol = "_tableCol_tcrid_25";
82213
- const tableColLabel = "_tableColLabel_tcrid_29";
82214
- const data = "_data_tcrid_33";
82215
- const tableBodyColHash = "_tableBodyColHash_tcrid_37";
82216
- const tableBodyColHashLabel = "_tableBodyColHashLabel_tcrid_41";
82217
- const noData$1 = "_noData_tcrid_53";
82207
+ const tableSection = "_tableSection_rwcfo_1";
82208
+ const tableContainer = "_tableContainer_rwcfo_5";
82209
+ const tableDiv = "_tableDiv_rwcfo_9";
82210
+ const table$4 = "_table_rwcfo_1";
82211
+ const tableHead$1 = "_tableHead_rwcfo_17";
82212
+ const tableHeadColHash = "_tableHeadColHash_rwcfo_21";
82213
+ const tableCol = "_tableCol_rwcfo_25";
82214
+ const tableColLabel = "_tableColLabel_rwcfo_29";
82215
+ const data = "_data_rwcfo_33";
82216
+ const tableBodyColHash = "_tableBodyColHash_rwcfo_37";
82217
+ const tableBodyColHashLabel = "_tableBodyColHashLabel_rwcfo_41";
82218
+ const noData$1 = "_noData_rwcfo_53";
82218
82219
  var style$1 = {
82219
82220
  tableSection,
82220
82221
  tableContainer,
@@ -82227,8 +82228,8 @@ var style$1 = {
82227
82228
  data,
82228
82229
  tableBodyColHash,
82229
82230
  tableBodyColHashLabel,
82230
- "table-loader-container": "_table-loader-container_tcrid_45",
82231
- "table-error-message": "_table-error-message_tcrid_49",
82231
+ "table-loader-container": "_table-loader-container_rwcfo_45",
82232
+ "table-error-message": "_table-error-message_rwcfo_49",
82232
82233
  noData: noData$1
82233
82234
  };
82234
82235
  var classnames = { exports: {} };
@@ -87634,23 +87635,23 @@ const Dataset = ({
87634
87635
  })]
87635
87636
  });
87636
87637
  };
87637
- const container$a = "_container_3ro5s_1";
87638
- const header$2 = "_header_3ro5s_7";
87639
- const headerText = "_headerText_3ro5s_13";
87640
- const tab$2 = "_tab_3ro5s_19";
87641
- const tabText$1 = "_tabText_3ro5s_25";
87642
- const tabHeading = "_tabHeading_3ro5s_31";
87643
- const form$3 = "_form_3ro5s_37";
87644
- const inputWrapper = "_inputWrapper_3ro5s_43";
87645
- const input = "_input_3ro5s_43";
87646
- const selectWrapper = "_selectWrapper_3ro5s_55";
87647
- const select = "_select_3ro5s_55";
87648
- const label$2 = "_label_3ro5s_67";
87649
- const series = "_series_3ro5s_73";
87650
- const legendWrapper = "_legendWrapper_3ro5s_79";
87651
- const seriesWrapper = "_seriesWrapper_3ro5s_85";
87652
- const valueLabelWrapper = "_valueLabelWrapper_3ro5s_91";
87653
- const singleCheckBox = "_singleCheckBox_3ro5s_97";
87638
+ const container$a = "_container_1cslw_1";
87639
+ const header$2 = "_header_1cslw_7";
87640
+ const headerText = "_headerText_1cslw_13";
87641
+ const tab$2 = "_tab_1cslw_19";
87642
+ const tabText$1 = "_tabText_1cslw_25";
87643
+ const tabHeading = "_tabHeading_1cslw_31";
87644
+ const form$3 = "_form_1cslw_37";
87645
+ const inputWrapper = "_inputWrapper_1cslw_43";
87646
+ const input = "_input_1cslw_43";
87647
+ const selectWrapper = "_selectWrapper_1cslw_55";
87648
+ const select = "_select_1cslw_55";
87649
+ const label$2 = "_label_1cslw_67";
87650
+ const series = "_series_1cslw_73";
87651
+ const legendWrapper = "_legendWrapper_1cslw_79";
87652
+ const seriesWrapper = "_seriesWrapper_1cslw_85";
87653
+ const valueLabelWrapper = "_valueLabelWrapper_1cslw_91";
87654
+ const singleCheckBox = "_singleCheckBox_1cslw_97";
87654
87655
  var styles$i = {
87655
87656
  container: container$a,
87656
87657
  header: header$2,
@@ -87771,12 +87772,15 @@ const ChartConfigure = ({
87771
87772
  const [activeTab2, setActiveTab] = useState("Margins");
87772
87773
  return /* @__PURE__ */ jsxs("div", {
87773
87774
  className: styles$i.container,
87774
- children: [/* @__PURE__ */ jsx(Tab, {
87775
- options: chartType2 !== "single value" ? TabList : singleValueTabs,
87776
- activeTab: activeTab2,
87777
- setActiveTab,
87778
- className: styles$i.tab,
87779
- tabText: styles$i.tabText
87775
+ children: [/* @__PURE__ */ jsx("div", {
87776
+ className: "h-[10%]",
87777
+ children: /* @__PURE__ */ jsx(Tab, {
87778
+ options: chartType2 !== "single value" ? TabList : singleValueTabs,
87779
+ activeTab: activeTab2,
87780
+ setActiveTab,
87781
+ className: styles$i.tab,
87782
+ tabText: styles$i.tabText
87783
+ })
87780
87784
  }), /* @__PURE__ */ jsxs("form", {
87781
87785
  className: styles$i.form,
87782
87786
  children: [activeTab2 === "Margins" && /* @__PURE__ */ jsxs("div", {
@@ -88312,22 +88316,22 @@ const ChartConfigure = ({
88312
88316
  })]
88313
88317
  });
88314
88318
  };
88315
- const chartButtonContainer$1 = "_chartButtonContainer_6600c_17";
88316
- const tabContainer = "_tabContainer_6600c_25";
88317
- const tab = "_tab_6600c_25";
88318
- const tabText = "_tabText_6600c_41";
88319
- const chartButtons$1 = "_chartButtons_6600c_49";
88320
- const chartButton$1 = "_chartButton_6600c_1";
88321
- const chartButtonSelected = "_chartButtonSelected_6600c_65";
88322
- const chartTypesButton = "_chartTypesButton_6600c_73";
88323
- const button$2 = "_button_6600c_81";
88324
- const propertyButton = "_propertyButton_6600c_89";
88325
- const settings = "_settings_6600c_9";
88326
- const crossIcon = "_crossIcon_6600c_105";
88319
+ const chartButtonContainer$1 = "_chartButtonContainer_mrrhu_1";
88320
+ const tabContainer = "_tabContainer_mrrhu_23";
88321
+ const tab = "_tab_mrrhu_23";
88322
+ const tabText = "_tabText_mrrhu_39";
88323
+ const chartButtons$1 = "_chartButtons_mrrhu_47";
88324
+ const chartButton$1 = "_chartButton_mrrhu_1";
88325
+ const chartButtonSelected = "_chartButtonSelected_mrrhu_63";
88326
+ const chartTypesButton = "_chartTypesButton_mrrhu_71";
88327
+ const button$2 = "_button_mrrhu_79";
88328
+ const propertyButton = "_propertyButton_mrrhu_87";
88329
+ const settings = "_settings_mrrhu_15";
88330
+ const crossIcon = "_crossIcon_mrrhu_103";
88327
88331
  var styles$f = {
88328
- "chartButton-header": "_chartButton-header_6600c_1",
88329
- "settingsTab-header-control": "_settingsTab-header-control_6600c_9",
88330
88332
  chartButtonContainer: chartButtonContainer$1,
88333
+ "chartButton-header": "_chartButton-header_mrrhu_7",
88334
+ "settingsTab-header-control": "_settingsTab-header-control_mrrhu_15",
88331
88335
  tabContainer,
88332
88336
  tab,
88333
88337
  tabText,
@@ -88354,20 +88358,20 @@ const SelectField = ({
88354
88358
  name: yAxisValue ? yAxisValue : value
88355
88359
  });
88356
88360
  };
88357
- const chartOptions = "_chartOptions_jdb8o_1";
88358
- const chartOption = "_chartOption_jdb8o_1";
88359
- const chartOptionBtn = "_chartOptionBtn_jdb8o_13";
88360
- const chartOptionText = "_chartOptionText_jdb8o_19";
88361
- const container$8 = "_container_jdb8o_25";
88362
- const field$1 = "_field_jdb8o_31";
88363
- const fieldText = "_fieldText_jdb8o_37";
88364
- const doneBtn = "_doneBtn_jdb8o_43";
88365
- const measureText = "_measureText_jdb8o_49";
88366
- const singleValueMeasure = "_singleValueMeasure_jdb8o_55";
88367
- const plus = "_plus_jdb8o_61";
88368
- const plusIcon = "_plusIcon_jdb8o_67";
88369
- const form$2 = "_form_jdb8o_73";
88370
- const chartType = "_chartType_jdb8o_79";
88361
+ const chartOptions = "_chartOptions_yt3j5_1";
88362
+ const chartOption = "_chartOption_yt3j5_1";
88363
+ const chartOptionBtn = "_chartOptionBtn_yt3j5_13";
88364
+ const chartOptionText = "_chartOptionText_yt3j5_19";
88365
+ const container$8 = "_container_yt3j5_25";
88366
+ const field$1 = "_field_yt3j5_31";
88367
+ const fieldText = "_fieldText_yt3j5_37";
88368
+ const doneBtn = "_doneBtn_yt3j5_43";
88369
+ const measureText = "_measureText_yt3j5_49";
88370
+ const singleValueMeasure = "_singleValueMeasure_yt3j5_55";
88371
+ const plus = "_plus_yt3j5_61";
88372
+ const plusIcon = "_plusIcon_yt3j5_67";
88373
+ const form$2 = "_form_yt3j5_73";
88374
+ const chartType = "_chartType_yt3j5_79";
88371
88375
  var styles$e = {
88372
88376
  chartOptions,
88373
88377
  chartOption,
@@ -89122,35 +89126,35 @@ const ChartSettings = ({
89122
89126
  })]
89123
89127
  });
89124
89128
  };
89125
- const searchCommand$1 = "_searchCommand_1jfcs_9";
89126
- const chartText = "_chartText_1jfcs_25";
89127
- const charts = "_charts_1jfcs_33";
89128
- const metricChart = "_metricChart_1jfcs_41";
89129
- const metricChartEmpty = "_metricChartEmpty_1jfcs_49";
89130
- const fullQuery = "_fullQuery_1jfcs_73";
89131
- const noQuery = "_noQuery_1jfcs_81";
89132
- const chartButtonContainer = "_chartButtonContainer_1jfcs_105";
89133
- const searchWrapper = "_searchWrapper_1jfcs_113";
89134
- const searchIcon = "_searchIcon_1jfcs_121";
89135
- const chartConfigure = "_chartConfigure_1jfcs_129";
89136
- const chartSettings = "_chartSettings_1jfcs_137";
89137
- const labels = "_labels_1jfcs_145";
89138
- const chartButtons = "_chartButtons_1jfcs_153";
89139
- const chartButton = "_chartButton_1jfcs_97";
89129
+ const searchCommand$1 = "_searchCommand_x33uc_9";
89130
+ const chartText = "_chartText_x33uc_25";
89131
+ const charts = "_charts_x33uc_33";
89132
+ const metricChart = "_metricChart_x33uc_41";
89133
+ const metricChartEmpty = "_metricChartEmpty_x33uc_49";
89134
+ const fullQuery = "_fullQuery_x33uc_73";
89135
+ const noQuery = "_noQuery_x33uc_81";
89136
+ const chartButtonContainer = "_chartButtonContainer_x33uc_105";
89137
+ const searchWrapper = "_searchWrapper_x33uc_113";
89138
+ const searchIcon = "_searchIcon_x33uc_121";
89139
+ const chartConfigure = "_chartConfigure_x33uc_129";
89140
+ const chartSettings = "_chartSettings_x33uc_137";
89141
+ const labels = "_labels_x33uc_145";
89142
+ const chartButtons = "_chartButtons_x33uc_153";
89143
+ const chartButton = "_chartButton_x33uc_97";
89140
89144
  var styles$d = {
89141
- "outputTab-header": "_outputTab-header_1jfcs_1",
89145
+ "outputTab-header": "_outputTab-header_x33uc_1",
89142
89146
  searchCommand: searchCommand$1,
89143
- "chartTab-container": "_chartTab-container_1jfcs_17",
89147
+ "chartTab-container": "_chartTab-container_x33uc_17",
89144
89148
  chartText,
89145
89149
  charts,
89146
89150
  metricChart,
89147
89151
  metricChartEmpty,
89148
- "chartTab-wrapper": "_chartTab-wrapper_1jfcs_57",
89149
- "chartTab-wrapper-head": "_chartTab-wrapper-head_1jfcs_65",
89152
+ "chartTab-wrapper": "_chartTab-wrapper_x33uc_57",
89153
+ "chartTab-wrapper-head": "_chartTab-wrapper-head_x33uc_65",
89150
89154
  fullQuery,
89151
89155
  noQuery,
89152
- "tableTab-header": "_tableTab-header_1jfcs_89",
89153
- "chartButton-header": "_chartButton-header_1jfcs_97",
89156
+ "tableTab-header": "_tableTab-header_x33uc_89",
89157
+ "chartButton-header": "_chartButton-header_x33uc_97",
89154
89158
  chartButtonContainer,
89155
89159
  searchWrapper,
89156
89160
  searchIcon,
@@ -89255,11 +89259,14 @@ const ChartTab = ({
89255
89259
  })]
89256
89260
  }), !!(data2 == null ? void 0 : data2.length) && !isLoading && /* @__PURE__ */ jsxs("div", {
89257
89261
  className: styles$d.metricChart,
89258
- children: [/* @__PURE__ */ jsx(Text, {
89259
- styleClass: "primary",
89260
- variant: "p",
89261
- className: "",
89262
- children: "Preview"
89262
+ children: [/* @__PURE__ */ jsx("div", {
89263
+ className: "h-[10%]",
89264
+ children: /* @__PURE__ */ jsx(Text, {
89265
+ styleClass: "primary",
89266
+ variant: "p",
89267
+ className: "",
89268
+ children: "Preview"
89269
+ })
89263
89270
  }), /* @__PURE__ */ jsxs("div", {
89264
89271
  className: styles$d["chartTab-wrapper"],
89265
89272
  children: [/* @__PURE__ */ jsxs("div", {