@megha-ui/react 1.2.110 → 1.2.111

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.
@@ -289,13 +289,12 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
289
289
  return text;
290
290
  };
291
291
  return ((0, jsx_runtime_1.jsxs)("div", { style: {
292
- width: "100%",
292
+ width: width,
293
293
  marginBottom,
294
294
  marginTop,
295
295
  marginRight,
296
296
  marginLeft,
297
- }, children: [label && ((0, jsx_runtime_1.jsxs)("p", { style: labelStyle, children: [label, required && (0, jsx_runtime_1.jsx)("span", { style: asteriskStyle, children: " *" })] })), (0, jsx_runtime_1.jsxs)("div", { ref: wrapperRef, className: `${className}`, style: Object.assign({ width,
298
- border, borderRadius: 4, padding: "0 0.5rem", alignItems: "center", display: "flex", minHeight: "2.5rem", position: "relative" }, style), children: [(0, jsx_runtime_1.jsxs)("div", { style: {
297
+ }, children: [label && ((0, jsx_runtime_1.jsxs)("p", { style: labelStyle, children: [label, required && (0, jsx_runtime_1.jsx)("span", { style: asteriskStyle, children: " *" })] })), (0, jsx_runtime_1.jsxs)("div", { ref: wrapperRef, className: `${className}`, style: Object.assign({ border, borderRadius: 4, padding: "0 0.5rem", alignItems: "center", display: "flex", minHeight: "2.5rem", position: "relative" }, style), children: [(0, jsx_runtime_1.jsxs)("div", { style: {
299
298
  display: "flex",
300
299
  alignItems: "center",
301
300
  justifyContent: "space-between",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.110",
3
+ "version": "1.2.111",
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.mjs",