@trops/dash-react 1.0.13 → 1.0.15

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
@@ -3253,7 +3253,7 @@ var SelectInput = function SelectInput(_ref) {
3253
3253
  className: "h-3 w-3 shrink-0 opacity-50 transition-transform duration-150 ".concat(isOpen ? "rotate-180" : "")
3254
3254
  })]
3255
3255
  }), isOpen && /*#__PURE__*/jsx("div", {
3256
- className: "absolute z-50 mt-1 w-full rounded-md border shadow-lg ".concat(styles.backgroundColor, " ").concat(styles.borderColor, " overflow-hidden"),
3256
+ className: "absolute z-50 mt-1 min-w-full w-max rounded-md border shadow-lg ".concat(styles.backgroundColor, " ").concat(styles.borderColor, " overflow-hidden"),
3257
3257
  children: /*#__PURE__*/jsx("div", {
3258
3258
  className: "max-h-60 overflow-y-auto py-1",
3259
3259
  children: options.map(function (option) {
@@ -4773,7 +4773,7 @@ var MainSection = function MainSection(_ref) {
4773
4773
 
4774
4774
  // we have to parse out all of the color overrides if they exist.
4775
4775
  function backgroundColorStyle() {
4776
- return backgroundColor !== null ? backgroundColor : currentTheme ? currentTheme["bg-primary-very-dark"] : "bg-black";
4776
+ return backgroundColor !== null ? backgroundColor : currentTheme ? currentTheme["bg-primary-darkest"] || currentTheme["bg-primary-very-dark"] : "bg-black";
4777
4777
  }
4778
4778
  return /*#__PURE__*/jsx("div", {
4779
4779
  className: "flex flex-col ".concat(backgroundColorStyle(), " h-full overflow-clip w-full p-0 m-0"),