loon-bulma-react 2024.0.22 → 2024.0.23

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.d.cts CHANGED
@@ -3315,7 +3315,7 @@ type InputStylingPropsType = {
3315
3315
  /** moet het label van de input verborgen worden? (screenreader only) (default = `false`) */ labelHidden?: boolean;
3316
3316
  /** label boven (`v`) of voor (`h`) de input, (default = `v`, vertical) */ direction?: DirectionProp;
3317
3317
  /** (optioneel) icon op de input */ icon?: IconProp | string | undefined | null;
3318
- infoData?: string | React$1.ReactNode | (() => void) | undefined;
3318
+ infoData?: string | React$1.ReactNode | ((helptag?: string | undefined) => void) | undefined;
3319
3319
  };
3320
3320
  type InputPropsType<T = InputValueType> = {
3321
3321
  optionList?: string[] | Array<{
@@ -3488,7 +3488,7 @@ declare function BaseInput<T extends InputValueType = string>({ alignment, autoC
3488
3488
  * | type | `string` | type voor deze input (default = `text`)|
3489
3489
  * | value | `string` | value voor deze input (default = `undefined`)|
3490
3490
  */
3491
- declare function Input<T extends InputValueType = string>({ direction, errorMessage, showRequiredOnLabel, icon, id, label, labelHidden, name, required, loading, size, value, infoData, optionList, onBlur, onFocus, ...props }: StrictOmit<InputPropsType<T>, 'optionListId'> & InputStylingPropsType): JSX.Element;
3491
+ declare function Input<T extends InputValueType = string>({ direction, errorMessage, showRequiredOnLabel, icon, id, label, labelHidden, name, required, loading, size, value, infoData, helpTag, optionList, onBlur, onFocus, ...props }: StrictOmit<InputPropsType<T>, 'optionListId'> & InputStylingPropsType): JSX.Element;
3492
3492
 
3493
3493
  type CheckBoxInputProps = StrictOmit<InputPropsType<boolean>, 'value' | 'type' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'pattern' | 'placeholder'> & StrictOmit<InputStylingPropsType, 'icon'> & {
3494
3494
  /** is de input checked? */
@@ -3833,6 +3833,7 @@ type RadioGroupProps<T extends RBValueType = string> = StrictOmit<InputStylingPr
3833
3833
  /** label bij de radio-group. Als geen label, dan wordt de `name`-property gebruikt */ label?: string;
3834
3834
  /** name-property voor de input. Deze hoort bij **alle** radio-buttons in de groep */ name: string;
3835
3835
  /** huidige waarde voor de radio-group. Dus de geselecteerde RadioButton */ value: T;
3836
+ /** help-tag voor deze radio-group */ helpTag?: string | undefined;
3836
3837
  /** is deze input required (default= `false`) */ required?: boolean;
3837
3838
  /** Wordt er een rood sterretje bij het label getoond als een Radiogroup item required is ? (default = `false`) */ showRequiredOnLabel?: boolean;
3838
3839
  /** is deze input disabled (default= `false`) */ disabled?: boolean;
@@ -3911,7 +3912,7 @@ declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboar
3911
3912
  * ..<RB value="Z">set to Z</RB>
3912
3913
  * </RadioGroup>
3913
3914
  */
3914
- declare function RadioGroup<T extends RBValueType = string>({ children: nodeChildren, id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size, direction, itemsDirection, alignment, errorMessage, infoMessage, infoData, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): JSX.Element;
3915
+ declare function RadioGroup<T extends RBValueType = string>({ children: nodeChildren, id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size, direction, itemsDirection, alignment, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): JSX.Element;
3915
3916
  declare namespace RadioGroup {
3916
3917
  var Item: typeof SpecialRadioItem;
3917
3918
  }
package/dist/index.d.ts CHANGED
@@ -3315,7 +3315,7 @@ type InputStylingPropsType = {
3315
3315
  /** moet het label van de input verborgen worden? (screenreader only) (default = `false`) */ labelHidden?: boolean;
3316
3316
  /** label boven (`v`) of voor (`h`) de input, (default = `v`, vertical) */ direction?: DirectionProp;
3317
3317
  /** (optioneel) icon op de input */ icon?: IconProp | string | undefined | null;
3318
- infoData?: string | React$1.ReactNode | (() => void) | undefined;
3318
+ infoData?: string | React$1.ReactNode | ((helptag?: string | undefined) => void) | undefined;
3319
3319
  };
3320
3320
  type InputPropsType<T = InputValueType> = {
3321
3321
  optionList?: string[] | Array<{
@@ -3488,7 +3488,7 @@ declare function BaseInput<T extends InputValueType = string>({ alignment, autoC
3488
3488
  * | type | `string` | type voor deze input (default = `text`)|
3489
3489
  * | value | `string` | value voor deze input (default = `undefined`)|
3490
3490
  */
3491
- declare function Input<T extends InputValueType = string>({ direction, errorMessage, showRequiredOnLabel, icon, id, label, labelHidden, name, required, loading, size, value, infoData, optionList, onBlur, onFocus, ...props }: StrictOmit<InputPropsType<T>, 'optionListId'> & InputStylingPropsType): JSX.Element;
3491
+ declare function Input<T extends InputValueType = string>({ direction, errorMessage, showRequiredOnLabel, icon, id, label, labelHidden, name, required, loading, size, value, infoData, helpTag, optionList, onBlur, onFocus, ...props }: StrictOmit<InputPropsType<T>, 'optionListId'> & InputStylingPropsType): JSX.Element;
3492
3492
 
3493
3493
  type CheckBoxInputProps = StrictOmit<InputPropsType<boolean>, 'value' | 'type' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'pattern' | 'placeholder'> & StrictOmit<InputStylingPropsType, 'icon'> & {
3494
3494
  /** is de input checked? */
@@ -3833,6 +3833,7 @@ type RadioGroupProps<T extends RBValueType = string> = StrictOmit<InputStylingPr
3833
3833
  /** label bij de radio-group. Als geen label, dan wordt de `name`-property gebruikt */ label?: string;
3834
3834
  /** name-property voor de input. Deze hoort bij **alle** radio-buttons in de groep */ name: string;
3835
3835
  /** huidige waarde voor de radio-group. Dus de geselecteerde RadioButton */ value: T;
3836
+ /** help-tag voor deze radio-group */ helpTag?: string | undefined;
3836
3837
  /** is deze input required (default= `false`) */ required?: boolean;
3837
3838
  /** Wordt er een rood sterretje bij het label getoond als een Radiogroup item required is ? (default = `false`) */ showRequiredOnLabel?: boolean;
3838
3839
  /** is deze input disabled (default= `false`) */ disabled?: boolean;
@@ -3911,7 +3912,7 @@ declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboar
3911
3912
  * ..<RB value="Z">set to Z</RB>
3912
3913
  * </RadioGroup>
3913
3914
  */
3914
- declare function RadioGroup<T extends RBValueType = string>({ children: nodeChildren, id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size, direction, itemsDirection, alignment, errorMessage, infoMessage, infoData, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): JSX.Element;
3915
+ declare function RadioGroup<T extends RBValueType = string>({ children: nodeChildren, id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size, direction, itemsDirection, alignment, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): JSX.Element;
3915
3916
  declare namespace RadioGroup {
3916
3917
  var Item: typeof SpecialRadioItem;
3917
3918
  }