kui-complex 0.0.195 → 0.0.196

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.
Files changed (2) hide show
  1. package/index.d.ts +18 -18
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -357,24 +357,24 @@ type InputMultiSelectProps<T, O> = InputSelectBaseProps<T, O>
357
357
 
358
358
  declare function InputMultiSelect<TFormValues extends object, TOption extends OptionParams$2>({ options, name, handleChange, form, value: valueProp, ...inputProps }: InputMultiSelectProps<TFormValues, TOption>): JSX.Element;
359
359
 
360
- interface RadioButtonsProps extends Omit<RadioGroupProps, "onChange"> {
361
- options: OptionType[]
362
- disabled?: boolean
363
- direction?: "row" | "column"
364
- fullWidth?: boolean
365
- defaultValue?: any
366
- isInvalid?: boolean
367
- testId?: number | string
368
- isSquare?: boolean
369
- onChange?: (
370
- event: React.ChangeEvent<HTMLInputElement>,
371
- value: string | null
372
- ) => void
373
- }
374
-
375
- type OptionType = {
376
- value: string | number
377
- label: string
360
+ interface RadioButtonsProps extends Omit<RadioGroupProps, "onChange"> {
361
+ options: OptionType[]
362
+ disabled?: boolean
363
+ direction?: "row" | "column"
364
+ fullWidth?: boolean
365
+ defaultValue?: any
366
+ isInvalid?: boolean
367
+ testId?: number | string
368
+ isSquare?: boolean
369
+ onChange?: (
370
+ event: React.ChangeEvent<HTMLInputElement>,
371
+ value: string | null
372
+ ) => void
373
+ }
374
+
375
+ type OptionType = {
376
+ value: string | number
377
+ label: string | ReactElement
378
378
  }
379
379
 
380
380
  declare const RadioButtons: React__default.ForwardRefExoticComponent<Pick<RadioButtonsProps, keyof RadioButtonsProps> & React__default.RefAttributes<HTMLInputElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-complex",
3
- "version": "0.0.195",
3
+ "version": "0.0.196",
4
4
  "description": "ui kit for maroom products",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",