lambda-ui-components 1.3.1 → 1.3.2

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/main.d.ts CHANGED
@@ -2178,7 +2178,7 @@ export declare interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElem
2178
2178
  /**
2179
2179
  * Defines the layout direction of the radio buttons within the group (e.g., 'horizontal' or 'vertical').
2180
2180
  */
2181
- orientation?: RadioGroupVariants["orientation"];
2181
+ orientation?: RadioGroupVariants["orientation"] | (string & {});
2182
2182
  /**
2183
2183
  * Controls the overall size of the radio group and its influence on individual radio buttons.
2184
2184
  */
@@ -2211,14 +2211,14 @@ export declare interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElem
2211
2211
  name?: string;
2212
2212
  /**
2213
2213
  * The current value of the selected radio button (controlled mode).
2214
- * Takes precedence over selectedOption.
2214
+ * Accepts string, number, or any primitive value compatible with form libraries.
2215
2215
  */
2216
- value?: string;
2216
+ value?: any;
2217
2217
  /**
2218
2218
  * Callback fired when a radio button is selected.
2219
2219
  * Takes precedence over onChangeOption.
2220
2220
  */
2221
- onChange?: (value: string) => void;
2221
+ onChange?: (value: any) => void;
2222
2222
  /**
2223
2223
  * The currently selected radio button's `value` (for use as a controlled component).
2224
2224
  * Legacy prop: Prefer `value` for standard form integration.
package/dist/main.mjs CHANGED
@@ -17796,8 +17796,9 @@ const qe = {
17796
17796
  ...v
17797
17797
  }, h) => {
17798
17798
  const g = i !== void 0 || a !== void 0, _ = i ?? a, [z, w] = J(n), y = g ? _ : z, N = fe(null), T = Zy(N, h), $ = Pa(), M = e ?? `radio-group-${$}`, G = le(
17799
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
17799
17800
  (K) => {
17800
- g || w(K), r && r(K), t && t(K);
17801
+ g || w(K), r && r(K), t && t(String(K));
17801
17802
  },
17802
17803
  [g, r, t]
17803
17804
  ), E = aa(() => {
@@ -17857,7 +17858,14 @@ const Qy = ({
17857
17858
  role: "radiogroup",
17858
17859
  ref: a,
17859
17860
  className: C(
17860
- Yy({ orientation: s, size: n, radius: o, variant: l, color: c, type: d }),
17861
+ Yy({
17862
+ orientation: s,
17863
+ size: n,
17864
+ radius: o,
17865
+ variant: l,
17866
+ color: c,
17867
+ type: d
17868
+ }),
17861
17869
  t
17862
17870
  ),
17863
17871
  style: i,