@megha-ui/react 1.2.95 → 1.2.96

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.
@@ -347,11 +347,11 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
347
347
  if (!option.disabled) {
348
348
  setHighlightIndex(index);
349
349
  }
350
- }, children: [isMultiple && ((0, jsx_runtime_1.jsx)(checkbox_1.default, { selected: intermediateValues.includes(option.value), onChange: () => { }, style: { pointerEvents: "none" }, noLabel: true, wrapperClass: checkboxWrapper })), (0, jsx_runtime_1.jsxs)("div", { style: {
350
+ }, children: [isMultiple && ((0, jsx_runtime_1.jsx)("div", { style: { marginLeft: "0.5rem" }, children: (0, jsx_runtime_1.jsx)(checkbox_1.default, { selected: intermediateValues.includes(option.value), onChange: () => { }, style: { pointerEvents: "none" }, noLabel: true, wrapperClass: checkboxWrapper }) })), (0, jsx_runtime_1.jsxs)("div", { style: {
351
351
  display: "flex",
352
352
  alignItems: "start",
353
353
  width: "100%",
354
- }, children: [option.icon && option.isDelete && !option.isDelete && ((0, jsx_runtime_1.jsx)("span", { style: { marginLeft: "0.5rem" }, children: option.icon })), (0, jsx_runtime_1.jsx)("span", { style: { marginLeft: "0.5rem" }, children: option.label })] }), option.icon && option.isDelete && option.icon] }, String(option.value))))) }), onApplyChange && ((0, jsx_runtime_1.jsx)("li", { style: {
354
+ }, children: [option.icon && option.isDelete && !option.isDelete && ((0, jsx_runtime_1.jsx)("span", { style: { margin: "0 0.5rem" }, children: option.icon })), (0, jsx_runtime_1.jsx)("span", { children: option.label })] }), option.icon && option.isDelete && option.icon] }, String(option.value))))) }), onApplyChange && ((0, jsx_runtime_1.jsx)("li", { style: {
355
355
  display: "flex",
356
356
  alignItems: "center",
357
357
  justifyContent: "end",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.95",
3
+ "version": "1.2.96",
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",