@page-speed/forms 0.4.2 → 0.4.3
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/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inputs.cjs +338 -229
- package/dist/inputs.cjs.map +1 -1
- package/dist/inputs.d.cts +1 -8
- package/dist/inputs.d.ts +1 -8
- package/dist/inputs.js +338 -229
- package/dist/inputs.js.map +1 -1
- package/package.json +1 -1
package/dist/inputs.d.cts
CHANGED
|
@@ -367,13 +367,6 @@ interface RadioProps extends Omit<InputProps<string>, "onChange" | "placeholder"
|
|
|
367
367
|
* @default "stacked"
|
|
368
368
|
*/
|
|
369
369
|
layout?: "inline" | "stacked";
|
|
370
|
-
/**
|
|
371
|
-
* Visual variant for radio options
|
|
372
|
-
* - "boxed": bordered card with ring on hover/selected, radio circle on right
|
|
373
|
-
* - "inline": minimal style, radio circle on left
|
|
374
|
-
* @default "inline"
|
|
375
|
-
*/
|
|
376
|
-
radioVariant?: "boxed" | "inline";
|
|
377
370
|
/**
|
|
378
371
|
* Group-level label
|
|
379
372
|
*/
|
|
@@ -435,7 +428,7 @@ interface RadioProps extends Omit<InputProps<string>, "onChange" | "placeholder"
|
|
|
435
428
|
*
|
|
436
429
|
* @see https://opensite.ai/developers/page-speed/forms/radio
|
|
437
430
|
*/
|
|
438
|
-
declare function Radio({ name, value, onChange, onBlur, disabled, required, error, className, layout,
|
|
431
|
+
declare function Radio({ name, value, onChange, onBlur, disabled, required, error, className, layout, label, options, ...props }: RadioProps): React.JSX.Element;
|
|
439
432
|
declare namespace Radio {
|
|
440
433
|
var displayName: string;
|
|
441
434
|
}
|
package/dist/inputs.d.ts
CHANGED
|
@@ -367,13 +367,6 @@ interface RadioProps extends Omit<InputProps<string>, "onChange" | "placeholder"
|
|
|
367
367
|
* @default "stacked"
|
|
368
368
|
*/
|
|
369
369
|
layout?: "inline" | "stacked";
|
|
370
|
-
/**
|
|
371
|
-
* Visual variant for radio options
|
|
372
|
-
* - "boxed": bordered card with ring on hover/selected, radio circle on right
|
|
373
|
-
* - "inline": minimal style, radio circle on left
|
|
374
|
-
* @default "inline"
|
|
375
|
-
*/
|
|
376
|
-
radioVariant?: "boxed" | "inline";
|
|
377
370
|
/**
|
|
378
371
|
* Group-level label
|
|
379
372
|
*/
|
|
@@ -435,7 +428,7 @@ interface RadioProps extends Omit<InputProps<string>, "onChange" | "placeholder"
|
|
|
435
428
|
*
|
|
436
429
|
* @see https://opensite.ai/developers/page-speed/forms/radio
|
|
437
430
|
*/
|
|
438
|
-
declare function Radio({ name, value, onChange, onBlur, disabled, required, error, className, layout,
|
|
431
|
+
declare function Radio({ name, value, onChange, onBlur, disabled, required, error, className, layout, label, options, ...props }: RadioProps): React.JSX.Element;
|
|
439
432
|
declare namespace Radio {
|
|
440
433
|
var displayName: string;
|
|
441
434
|
}
|