lambda-ui-components 1.3.0 → 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 +13 -1
- package/dist/main.mjs +928 -919
- package/dist/main.umd.js +7 -7
- package/package.json +1 -1
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
|
*/
|
|
@@ -2209,12 +2209,24 @@ export declare interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElem
|
|
|
2209
2209
|
* The HTML `name` attribute applied to all radio buttons. Essential for grouping and ensuring only one option can be selected at a time.
|
|
2210
2210
|
*/
|
|
2211
2211
|
name?: string;
|
|
2212
|
+
/**
|
|
2213
|
+
* The current value of the selected radio button (controlled mode).
|
|
2214
|
+
* Accepts string, number, or any primitive value compatible with form libraries.
|
|
2215
|
+
*/
|
|
2216
|
+
value?: any;
|
|
2217
|
+
/**
|
|
2218
|
+
* Callback fired when a radio button is selected.
|
|
2219
|
+
* Takes precedence over onChangeOption.
|
|
2220
|
+
*/
|
|
2221
|
+
onChange?: (value: any) => void;
|
|
2212
2222
|
/**
|
|
2213
2223
|
* The currently selected radio button's `value` (for use as a controlled component).
|
|
2224
|
+
* Legacy prop: Prefer `value` for standard form integration.
|
|
2214
2225
|
*/
|
|
2215
2226
|
selectedOption?: string;
|
|
2216
2227
|
/**
|
|
2217
2228
|
* Callback function executed when the user selects a different radio button. Receives the `value` of the newly selected radio.
|
|
2229
|
+
* Legacy prop: Prefer `onChange` for standard form integration.
|
|
2218
2230
|
*/
|
|
2219
2231
|
onChangeOption?: (value: string) => void;
|
|
2220
2232
|
/**
|