@apexcura/ui-components 0.0.11-Beta101 → 0.0.11-Beta103

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.js CHANGED
@@ -189,6 +189,10 @@ var import_react6 = __toESM(require("react"));
189
189
  var import_antd6 = require("antd");
190
190
  var RadioElement = (props) => {
191
191
  const [isDisabled, setIsDisabled] = (0, import_react6.useState)(props.disabled);
192
+ let optionType;
193
+ if (props.optionType === "button") {
194
+ optionType = props.optionType;
195
+ }
192
196
  const handleChange = (e) => {
193
197
  if (props.onChange) {
194
198
  const selectedVal = e.target.value;
@@ -203,7 +207,8 @@ var RadioElement = (props) => {
203
207
  options: props.options,
204
208
  onChange: handleChange,
205
209
  disabled: isDisabled,
206
- optionType: "button"
210
+ optionType,
211
+ className: props.classNames
207
212
  }
208
213
  );
209
214
  };
package/dist/index.mjs CHANGED
@@ -142,6 +142,10 @@ import React6, { useState as useState2 } from "react";
142
142
  import { Radio } from "antd";
143
143
  var RadioElement = (props) => {
144
144
  const [isDisabled, setIsDisabled] = useState2(props.disabled);
145
+ let optionType;
146
+ if (props.optionType === "button") {
147
+ optionType = props.optionType;
148
+ }
145
149
  const handleChange = (e) => {
146
150
  if (props.onChange) {
147
151
  const selectedVal = e.target.value;
@@ -156,7 +160,8 @@ var RadioElement = (props) => {
156
160
  options: props.options,
157
161
  onChange: handleChange,
158
162
  disabled: isDisabled,
159
- optionType: "button"
163
+ optionType,
164
+ className: props.classNames
160
165
  }
161
166
  );
162
167
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta101",
3
+ "version": "0.0.11-Beta103",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",