@megha-ui/react 1.2.190 → 1.2.192

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.
@@ -210,12 +210,12 @@ const IconDropdown = ({ className, ClearIcon, clearId, closeOnSelect = true, dis
210
210
  return text;
211
211
  };
212
212
  return (_jsxs("div", { style: {
213
- width: width !== null && width !== void 0 ? width : "100%",
213
+ width: width !== null && width !== void 0 ? width : "max-content",
214
214
  marginBottom,
215
215
  marginTop,
216
216
  marginRight,
217
217
  marginLeft,
218
- }, children: [label && (_jsxs("p", { style: labelStyle, children: [label, required && _jsx("span", { style: asteriskStyle, children: " *" })] })), _jsxs("div", { ref: wrapperRef, className: `${className}`, style: Object.assign({ border, borderRadius: 4, padding: "0 0.5rem", alignItems: "center", display: "flex", minHeight: `var(--control-min-height, ${ultraCompactDisplay
218
+ }, children: [label && (_jsxs("p", { style: labelStyle, children: [label, required && _jsx("span", { style: asteriskStyle, children: " *" })] })), _jsxs("div", { ref: wrapperRef, className: `${className}`, style: Object.assign({ border, borderRadius: 4, alignItems: "center", display: "flex", minHeight: `var(--control-min-height, ${ultraCompactDisplay
219
219
  ? "1.5rem"
220
220
  : compactDisplay
221
221
  ? "2rem"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.190",
3
+ "version": "1.2.192",
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",