@megha-ui/react 1.2.762 → 1.2.764

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.
@@ -561,7 +561,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
561
561
  }, onClick: () => column.sortable && onSort(column), children: [_jsxs("div", { style: {
562
562
  display: "flex",
563
563
  alignItems: "center",
564
- }, children: [column.isFallBack && _jsx(Tooltip, { id: column.key }), _jsx("span", { "data-tooltip-id": column.key, "data-tooltip-content": "translations is missing for the display name", className: column.isFallBack ? "asterik" : "", children: column.label }), sortable && column.sortable && (_jsx("span", { style: {
564
+ }, children: [column.isFallBack && _jsx(Tooltip, { id: column.key }), _jsx("span", { "data-tooltip-id": column.key, "data-tooltip-content": "translations is missing for the display name", className: column.isFallBack ? "unknown-value" : "", children: column.label }), sortable && column.sortable && (_jsx("span", { style: {
565
565
  visibility: Object.keys(sortQueries).includes(column.key)
566
566
  ? "visible"
567
567
  : "hidden",
@@ -5,6 +5,7 @@ type RadioInputProps = {
5
5
  options: {
6
6
  label: string;
7
7
  value: string;
8
+ disabled?: boolean;
8
9
  }[];
9
10
  position?: "left" | "right";
10
11
  selectedValue: string;
@@ -3,7 +3,7 @@ const RadioInput = ({ handleChange, name, options, position = "right", selectedV
3
3
  return (_jsx("div", { className: wrapperClass, children: options.map((option) => (_jsx("div", { children: _jsxs("label", { style: {
4
4
  alignItems: "center",
5
5
  display: "flex",
6
- }, children: [_jsx("input", { checked: selectedValue === option.value, name: name, onChange: (event) => handleChange(event.target.value), type: "radio", value: option.value }), position === "left" && (_jsx("span", { style: {
6
+ }, children: [_jsx("input", { checked: selectedValue === option.value, name: name, onChange: (event) => handleChange(event.target.value), type: "radio", value: option.value, disabled: option.disabled }), position === "left" && (_jsx("span", { style: {
7
7
  alignItems: "center",
8
8
  display: "flex",
9
9
  justifyContent: "center",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.762",
3
+ "version": "1.2.764",
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",