@megha-ui/react 1.2.235 → 1.2.236

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.
@@ -361,8 +361,8 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
361
361
  alignItems: "start",
362
362
  width: "100%",
363
363
  }, 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: {
364
- padding: "0.75rem 0 0.75rem 1rem",
365
- borderBottom: "1px solid var(--divider-strong, #dddddd)",
364
+ padding: "0.25rem 0 0.25rem 1rem",
365
+ backgroundColor: "#dddddd"
366
366
  }, children: groupOption.groupedValue }), groupOption.options.map((option, index) => {
367
367
  let prevOptions = groupedOptions.filter((item, index) => index < gIndex);
368
368
  prevOptions = [
@@ -380,9 +380,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
380
380
  !isMultiple &&
381
381
  intermediateValues.includes(option.value)
382
382
  ? selectedItemStyle
383
- : {})), { borderBottom: refIndex === optionRefs.current.length - 1
384
- ? "none"
385
- : "1px solid var(--divider-strong, #dddddd)", wordWrap: "break-word", textWrap: "wrap", justifyContent: "space-between", padding: "0.75rem 1rem 0.75rem 2.5rem" }), onMouseEnter: (e) => {
383
+ : {})), { wordWrap: "break-word", textWrap: "wrap", justifyContent: "space-between", padding: "0.75rem 1rem 0.75rem 2.5rem" }), onMouseEnter: (e) => {
386
384
  if (!option.disabled) {
387
385
  setHighlightIndex(refIndex);
388
386
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.235",
3
+ "version": "1.2.236",
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",