@trops/dash-core 0.1.28 → 0.1.29

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.js CHANGED
@@ -8001,7 +8001,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8001
8001
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
8002
8002
  className: "flex flex-col w-full h-full overflow-clip",
8003
8003
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
8004
- className: "flex flex-row w-full h-full space-x-4 overflow-clip p-6",
8004
+ className: "flex flex-row w-full flex-1 min-h-0 space-x-4 overflow-clip p-6",
8005
8005
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
8006
8006
  className: "hidden lg:flex flex-col flex-shrink h-full rounded font-medium text-gray-400 w-1/3",
8007
8007
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
@@ -8338,10 +8338,12 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8338
8338
  },
8339
8339
  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"),
8340
8340
  children: config.options && config.options.map(function (opt) {
8341
+ var optValue = _typeof(opt) === "object" ? opt.value : opt;
8342
+ var optLabel = _typeof(opt) === "object" ? opt.displayName || opt.value : opt;
8341
8343
  return /*#__PURE__*/jsxRuntime.jsx("option", {
8342
- value: opt,
8343
- children: opt
8344
- }, opt);
8344
+ value: optValue,
8345
+ children: optLabel
8346
+ }, optValue);
8345
8347
  })
8346
8348
  }), config.instructions && /*#__PURE__*/jsxRuntime.jsx("p", {
8347
8349
  className: "text-xs text-gray-400",