@trops/dash-core 0.1.28 → 0.1.30

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.esm.js CHANGED
@@ -7759,7 +7759,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7759
7759
  height: "h-full",
7760
7760
  children: groups.map(function (group) {
7761
7761
  return /*#__PURE__*/jsxs("div", {
7762
- className: "mb-1",
7762
+ className: "mb-1 space-y-1",
7763
7763
  children: [/*#__PURE__*/jsx(MenuItem3, {
7764
7764
  onClick: function onClick() {
7765
7765
  handlePackageSelect(group);
@@ -7982,7 +7982,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7982
7982
  children: /*#__PURE__*/jsxs("div", {
7983
7983
  className: "flex flex-col w-full h-full overflow-clip",
7984
7984
  children: [/*#__PURE__*/jsxs("div", {
7985
- className: "flex flex-row w-full h-full space-x-4 overflow-clip p-6",
7985
+ className: "flex flex-row w-full flex-1 min-h-0 space-x-4 overflow-clip p-6",
7986
7986
  children: [/*#__PURE__*/jsx("div", {
7987
7987
  className: "hidden lg:flex flex-col flex-shrink h-full rounded font-medium text-gray-400 w-1/3",
7988
7988
  children: /*#__PURE__*/jsxs("div", {
@@ -8319,10 +8319,12 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8319
8319
  },
8320
8320
  className: "w-full px-3 py-2 rounded text-sm ".concat(currentTheme["bg-primary-medium"], " ").concat(currentTheme["text-primary-light"], " ").concat(currentTheme["border-primary-medium"], " border"),
8321
8321
  children: config.options && config.options.map(function (opt) {
8322
+ var optValue = _typeof(opt) === "object" ? opt.value : opt;
8323
+ var optLabel = _typeof(opt) === "object" ? opt.displayName || opt.value : opt;
8322
8324
  return /*#__PURE__*/jsx("option", {
8323
- value: opt,
8324
- children: opt
8325
- }, opt);
8325
+ value: optValue,
8326
+ children: optLabel
8327
+ }, optValue);
8326
8328
  })
8327
8329
  }), config.instructions && /*#__PURE__*/jsx("p", {
8328
8330
  className: "text-xs text-gray-400",