lkd-web-kit 0.5.15 → 0.5.17

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.
@@ -15,7 +15,7 @@ const MyRadioGroup = ({
15
15
  return /* @__PURE__ */ jsxRuntime.jsx(core.Radio.Group, { ...radioGroupProps, children: /* @__PURE__ */ jsxRuntime.jsx(Container, { gap, children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
16
16
  core.Radio,
17
17
  {
18
- disabled: radioGroupProps.readOnly,
18
+ disabled: radioGroupProps.disabled || option.disabled,
19
19
  ...option
20
20
  },
21
21
  String(option.value) || String(index)
@@ -11,7 +11,7 @@ const MyRadioGroup = ({
11
11
  return /* @__PURE__ */ jsx(Radio.Group, { ...radioGroupProps, children: /* @__PURE__ */ jsx(Container, { gap, children: options.map((option, index) => /* @__PURE__ */ jsx(
12
12
  Radio,
13
13
  {
14
- disabled: radioGroupProps.readOnly,
14
+ disabled: radioGroupProps.disabled || option.disabled,
15
15
  ...option
16
16
  },
17
17
  String(option.value) || String(index)
package/dist/index.d.ts CHANGED
@@ -393,6 +393,7 @@ export declare interface MyRadioGroupProps extends Omit<RadioGroupProps, 'childr
393
393
  options: RadioProps[];
394
394
  orientation?: 'horizontal' | 'vertical';
395
395
  gap?: MantineSpacing;
396
+ disabled?: boolean;
396
397
  }
397
398
 
398
399
  export declare const MySelect: (props: MySelectProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.5.15",
3
+ "version": "0.5.17",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",