@apexcura/ui-components 0.0.11-Beta97 → 0.0.11-Beta98

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.
package/dist/index.d.mts CHANGED
@@ -17,6 +17,7 @@ type ElementType = {
17
17
  suffix?: React.ReactNode;
18
18
  maxLength?: number;
19
19
  fieldNames?: any[];
20
+ options?: any[];
20
21
  onChange?: (value: string | number | boolean | any[]) => void;
21
22
  dropDownOptions?: any[];
22
23
  id?: number;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ type ElementType = {
17
17
  suffix?: React.ReactNode;
18
18
  maxLength?: number;
19
19
  fieldNames?: any[];
20
+ options?: any[];
20
21
  onChange?: (value: string | number | boolean | any[]) => void;
21
22
  dropDownOptions?: any[];
22
23
  id?: number;
package/dist/index.js CHANGED
@@ -195,7 +195,7 @@ var RadioElement = (props) => {
195
195
  props.onChange(selectedOptions);
196
196
  }
197
197
  };
198
- return /* @__PURE__ */ import_react6.default.createElement(import_antd6.Radio.Group, { name: "radiogroup", defaultValue: 1 }, /* @__PURE__ */ import_react6.default.createElement(import_antd6.Radio, { value: 1, onChange: handleChange }, "A"), /* @__PURE__ */ import_react6.default.createElement(import_antd6.Radio, { value: 2, onChange: handleChange }, "B"), /* @__PURE__ */ import_react6.default.createElement(import_antd6.Radio, { value: 3, onChange: handleChange }, "C"), /* @__PURE__ */ import_react6.default.createElement(import_antd6.Radio, { value: 4, onChange: handleChange }, "D"));
198
+ return /* @__PURE__ */ import_react6.default.createElement(import_antd6.Radio.Group, { options: props.options, onChange: handleChange });
199
199
  };
200
200
 
201
201
  // src/Components/Checkbox.tsx
package/dist/index.mjs CHANGED
@@ -148,7 +148,7 @@ var RadioElement = (props) => {
148
148
  props.onChange(selectedOptions);
149
149
  }
150
150
  };
151
- return /* @__PURE__ */ React6.createElement(Radio.Group, { name: "radiogroup", defaultValue: 1 }, /* @__PURE__ */ React6.createElement(Radio, { value: 1, onChange: handleChange }, "A"), /* @__PURE__ */ React6.createElement(Radio, { value: 2, onChange: handleChange }, "B"), /* @__PURE__ */ React6.createElement(Radio, { value: 3, onChange: handleChange }, "C"), /* @__PURE__ */ React6.createElement(Radio, { value: 4, onChange: handleChange }, "D"));
151
+ return /* @__PURE__ */ React6.createElement(Radio.Group, { options: props.options, onChange: handleChange });
152
152
  };
153
153
 
154
154
  // src/Components/Checkbox.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta97",
3
+ "version": "0.0.11-Beta98",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",