@megha-ui/react 1.3.58 → 1.3.59
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.
|
@@ -377,7 +377,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
377
377
|
display: "flex",
|
|
378
378
|
flexDirection: labelAlignment === "horizontal" ? "row" : "column",
|
|
379
379
|
alignItems: labelAlignment === "horizontal" ? "center" : "",
|
|
380
|
-
}, children: [label && (_jsxs("p", { style: labelStyle, className: labelClass, children: [label, required && _jsx("span", { style: asteriskStyle, children: " *" })] })), _jsxs("div", { ref: wrapperRef, className: `${className}`, style: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
|
|
380
|
+
}, children: [label && (_jsxs("p", { style: labelStyle, className: labelClass, children: [label, required && _jsx("span", { style: asteriskStyle, children: " *" })] })), _jsxs("div", { ref: wrapperRef, className: `${className}`, style: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isIcon ? {} : { padding: "0 0.5rem" })), { alignItems: "center", display: "flex", flexDirection: autoPosition ? "row" : "column", height: autoPosition
|
|
381
381
|
? `var(--control-min-height, ${ultraCompactDisplay
|
|
382
382
|
? "1.5rem"
|
|
383
383
|
: compactDisplay
|
|
@@ -400,6 +400,8 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
400
400
|
? "2rem"
|
|
401
401
|
: "2.5rem"})`,
|
|
402
402
|
})), { position: "relative" }), style), children: [_jsxs("div", { style: {
|
|
403
|
+
border,
|
|
404
|
+
borderRadius: 4,
|
|
403
405
|
display: "flex",
|
|
404
406
|
alignItems: "center",
|
|
405
407
|
justifyContent: "space-between",
|
package/package.json
CHANGED