@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.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -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-
|
|
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:
|
|
8324
|
-
children:
|
|
8325
|
-
},
|
|
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",
|