@megha-ui/react 1.2.247 → 1.2.249

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.
@@ -366,7 +366,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
366
366
  width: "100%",
367
367
  }, children: _jsxs("span", { style: { marginLeft: "0.5rem" }, children: ["+ Create ", searchTerm] }) })] }, String(searchTerm))) : groupedOptions.length > 0 ? (groupedOptions.map((groupOption, gIndex) => (_jsxs("div", { children: [_jsx("div", { style: {
368
368
  padding: "0.25rem 0 0.25rem 1rem",
369
- backgroundColor: "var(--utils)",
369
+ backgroundColor: "var(--row-bg)",
370
370
  }, children: groupOption.groupedValue }), groupOption.options.map((option, index) => {
371
371
  let prevOptions = groupedOptions.filter((item, index) => index < gIndex);
372
372
  prevOptions = [
@@ -394,7 +394,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
394
394
  width: "100%",
395
395
  }, children: [option.icon &&
396
396
  option.isDelete &&
397
- !option.isDelete && (_jsx("span", { style: { margin: "0 0.5rem" }, children: option.icon })), _jsx("span", { children: option.label })] }), option.icon && option.isDelete && option.icon] }, String(option.value)));
397
+ !option.isDelete && (_jsx("span", { children: option.icon })), _jsx("span", { style: { margin: "0 0.5rem" }, children: option.label })] }), option.icon && option.isDelete && option.icon] }, String(option.value)));
398
398
  })] }, gIndex)))) : (filteredOptions.map((option, index) => (_jsxs("li", { ref: (el) => {
399
399
  optionRefs.current[index] = el;
400
400
  }, onClick: (e) => onSelectChange
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.247",
3
+ "version": "1.2.249",
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",