loon-bulma-react 2025.0.26 → 2025.0.27

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
@@ -1740,6 +1740,7 @@ type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number |
1740
1740
  * default:
1741
1741
  */
1742
1742
  formatLabel?: (value: T) => string;
1743
+ formatOption?: (value: T, index: number) => React$1.ReactNode;
1743
1744
  /** callback voor calue changes */
1744
1745
  onValueChanged?: (value: T) => void | Promise<void>;
1745
1746
  /** Als we typen in de combobox, hoe moet er gezocht worden? Default doorzoeken we de `JSON.stringify`-string van de objecten */
@@ -1768,7 +1769,7 @@ type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number |
1768
1769
  * onSearch={(txt, v) => v.last_name.includes(txt) || v.first_name.includes(txt)}
1769
1770
  * />
1770
1771
  */
1771
- declare function ComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, hideIconRight, labelHidden, icon, infoData, className: cn, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, }: ComboBoxProps<T>): react_jsx_runtime.JSX.Element;
1772
+ declare function ComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, hideIconRight, labelHidden, icon, infoData, className: cn, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatOption, }: ComboBoxProps<T>): react_jsx_runtime.JSX.Element;
1772
1773
 
1773
1774
  type MultiComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'min' | 'max' | 'readonly' | 'pattern' | 'errorMessage' | 'infoMessage' | 'title' | 'form' | 'autoComplete' | 'spellCheck' | 'keyboardType' | 'onChange'> & InputStylingPropsType & {
1774
1775
  /** De waarde van de combobox */ value: T[];
package/dist/index.d.ts CHANGED
@@ -1740,6 +1740,7 @@ type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number |
1740
1740
  * default:
1741
1741
  */
1742
1742
  formatLabel?: (value: T) => string;
1743
+ formatOption?: (value: T, index: number) => React$1.ReactNode;
1743
1744
  /** callback voor calue changes */
1744
1745
  onValueChanged?: (value: T) => void | Promise<void>;
1745
1746
  /** Als we typen in de combobox, hoe moet er gezocht worden? Default doorzoeken we de `JSON.stringify`-string van de objecten */
@@ -1768,7 +1769,7 @@ type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number |
1768
1769
  * onSearch={(txt, v) => v.last_name.includes(txt) || v.first_name.includes(txt)}
1769
1770
  * />
1770
1771
  */
1771
- declare function ComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, hideIconRight, labelHidden, icon, infoData, className: cn, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, }: ComboBoxProps<T>): react_jsx_runtime.JSX.Element;
1772
+ declare function ComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, hideIconRight, labelHidden, icon, infoData, className: cn, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatOption, }: ComboBoxProps<T>): react_jsx_runtime.JSX.Element;
1772
1773
 
1773
1774
  type MultiComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'min' | 'max' | 'readonly' | 'pattern' | 'errorMessage' | 'infoMessage' | 'title' | 'form' | 'autoComplete' | 'spellCheck' | 'keyboardType' | 'onChange'> & InputStylingPropsType & {
1774
1775
  /** De waarde van de combobox */ value: T[];