@megha-ui/react 1.2.678 → 1.2.680

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.
@@ -323,7 +323,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
323
323
  display: "flex",
324
324
  flexDirection: labelAlignment === "horizontal" ? "row" : "column",
325
325
  alignItems: labelAlignment === "horizontal" ? "center" : "",
326
- }, 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({ border, borderRadius: 4 }, (isIcon ? {} : { padding: "0 0.5rem" })), { alignItems: "center", display: "flex", minHeight: `var(--control-min-height, ${ultraCompactDisplay
326
+ }, 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({ border, borderRadius: 4 }, (isIcon ? {} : { padding: "0 0.5rem" })), { alignItems: "center", display: "flex", height: `var(--control-min-height, ${ultraCompactDisplay
327
327
  ? "1.5rem"
328
328
  : compactDisplay
329
329
  ? "2rem"
@@ -77,7 +77,7 @@ const TextInput = ({ value = "", name, id, onChange = () => { }, onKeyDown = ()
77
77
  onChange(event);
78
78
  (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
79
79
  };
80
- const textInputWrapperStyle = Object.assign(Object.assign({ display: "flex", alignItems: "center", width, minHeight: `var(--control-min-height, ${ultraCompactDisplay
80
+ const textInputWrapperStyle = Object.assign(Object.assign({ display: "flex", alignItems: "center", width, height: `var(--control-min-height, ${ultraCompactDisplay
81
81
  ? "1.5rem"
82
82
  : compactDisplay
83
83
  ? "2rem"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.678",
3
+ "version": "1.2.680",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",