loon-bulma-react 2026.0.34 → 2026.0.35
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/forms/ComboBox/ComboBox.d.ts +1 -1
- package/dist/forms/ComboBox/MultiComboBox.d.ts +1 -1
- package/dist/forms/Currency/CurrencyInput.d.ts +1 -1
- package/dist/forms/File/FileInput.d.ts +1 -1
- package/dist/forms/Input.d.ts +2 -1
- package/dist/forms/Numeric/NumberInput.d.ts +1 -1
- package/dist/forms/Numeric/RangeInput.d.ts +1 -1
- package/dist/forms/Radio/Radio.d.ts +1 -1
- package/dist/forms/Select/Select.d.ts +1 -1
- package/dist/forms/TagsInput/TagsInput.d.ts +1 -1
- package/dist/forms/Text/FormattedInput.d.ts +1 -1
- package/dist/forms/Text/TextArea.d.ts +1 -1
- package/dist/index.js +3248 -3211
- package/dist/styles/range-sliders.scss +43 -6
- package/package.json +35 -35
|
@@ -39,6 +39,6 @@ type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number |
|
|
|
39
39
|
* onSearch={(txt, v) => v.last_name.includes(txt) || v.first_name.includes(txt)}
|
|
40
40
|
* />
|
|
41
41
|
*/
|
|
42
|
-
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, iconRight, labelHidden, icon, infoData, className: cn, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatValue, formatOption, }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
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, iconRight, labelHidden, icon, infoData, className: cn, color, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatValue, formatOption, }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export { ComboBox };
|
|
44
44
|
export type { ComboBoxProps };
|
|
@@ -39,6 +39,6 @@ type MultiComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<numb
|
|
|
39
39
|
* onSearch={(txt, v) => v.last_name.includes(txt) || v.first_name.includes(txt)}
|
|
40
40
|
* />
|
|
41
41
|
*/
|
|
42
|
-
declare function MultiComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, labelHidden, icon, iconRight, infoData, onValueChanged, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatValue, }: MultiComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function MultiComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, labelHidden, icon, iconRight, infoData, color, onValueChanged, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatValue, }: MultiComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export { MultiComboBox };
|
|
44
44
|
export type { MultiComboBoxProps };
|
|
@@ -45,6 +45,6 @@ type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'p
|
|
|
45
45
|
* const [x, setX] = React.useState<string>('0');
|
|
46
46
|
* <CurrencyInput value={x} onValueChanged={([strVal, _numVal]) => setX(strVal)} />
|
|
47
47
|
*/
|
|
48
|
-
declare function CurrencyInput({ allowNegativeValue, placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max: maxProp, min: minProp, inputRef, readonly, step, autofocus, iconRight, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, onStringValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix, prefix, decimalScale, decimalSeparator, groupSeparator, leadingZeros, }: CurrencyInputProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
declare function CurrencyInput({ allowNegativeValue, placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max: maxProp, min: minProp, inputRef, readonly, step, autofocus, iconRight, infoData, form, color, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, onStringValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix, prefix, decimalScale, decimalSeparator, groupSeparator, leadingZeros, }: CurrencyInputProps): import("react/jsx-runtime").JSX.Element;
|
|
49
49
|
export { CurrencyInput };
|
|
50
50
|
export type { CurrencyInputProps };
|
|
@@ -66,6 +66,6 @@ type FileInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'valu
|
|
|
66
66
|
* **default:** toon de namen van alle geselecteerde bestanden, gescheiden door komma's. Als er geen bestanden zijn, dan de noFilesTxt tonen.
|
|
67
67
|
* @param onValueChanged callback voor value changes. Bevat het path naar de file(s) en de files in een array.
|
|
68
68
|
*/
|
|
69
|
-
declare function FileInput({ labelHidden, multiple, placeholder, helpTag, errorMessage: errorProp, infoMessage: infoProp, label, disabled, keyboardType, title, name, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, readonly, pattern, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, value, icon, boxed, accept, capture, noFilesTxt, chooseFileTxt, infoData, formatter, }: FileInputProps): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
declare function FileInput({ labelHidden, multiple, placeholder, helpTag, errorMessage: errorProp, infoMessage: infoProp, label, disabled, keyboardType, title, name, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, readonly, pattern, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, value, icon, boxed, accept, capture, noFilesTxt, chooseFileTxt, infoData, color, formatter, }: FileInputProps): import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
export { FileInput };
|
|
71
71
|
export type { FileInputProps, FileInputValue };
|
package/dist/forms/Input.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ type InputStylingPropsType = {
|
|
|
36
36
|
/** moet het label van de input verborgen worden? (screenreader only) (default = `false`) */ labelHidden?: boolean | undefined;
|
|
37
37
|
/** label boven (`v`) of voor (`h`) de input, (default = `v`, vertical) */ direction?: DirectionProp | undefined;
|
|
38
38
|
/** (optioneel) icon op de input */ icon?: IconProp | string | undefined | null;
|
|
39
|
+
/** (optioneel) kleur van de input - __LET OP!__ overschrijft de normale kleur EN de danger-kleur als er een error-message is! */ color?: ColorProp | undefined;
|
|
39
40
|
infoData?: string | React.ReactNode | ((helptag?: string | undefined) => void) | undefined;
|
|
40
41
|
};
|
|
41
42
|
type InputPropsType<T extends InputValueType = InputValueType> = {
|
|
@@ -182,7 +183,7 @@ declare const FOCUS_HELP_TIMEOUT_IN_MS = 333;
|
|
|
182
183
|
* | type | `string` | type voor deze input (default = `text`)|
|
|
183
184
|
* | value | `string` | value voor deze input (default = `undefined`)|
|
|
184
185
|
*/
|
|
185
|
-
declare function BaseInput<T extends InputValueType = string>({ alignment: alignmentProp, autoComplete, optionListId, autofocus, disabled, errorMessage, infoMessage, form, helpTag, id, inputRef: ref, keyboardType, max, min, name, pattern, placeholder, readonly, required, size: sizeProp, spellCheck, step, title, type, value, className: extraClasses, styles, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, }: StrictOmit<InputPropsType<T>, 'optionList'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'>): import("react/jsx-runtime").JSX.Element;
|
|
186
|
+
declare function BaseInput<T extends InputValueType = string>({ alignment: alignmentProp, autoComplete, optionListId, autofocus, disabled, errorMessage, infoMessage, form, helpTag, id, inputRef: ref, keyboardType, max, min, name, pattern, placeholder, readonly, required, size: sizeProp, spellCheck, step, title, type, value, className: extraClasses, styles, color, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, }: StrictOmit<InputPropsType<T>, 'optionList'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'>): import("react/jsx-runtime").JSX.Element;
|
|
186
187
|
/**
|
|
187
188
|
* Input component. Deze component heeft dezelfde properties als de gewone `<input ... />`-tag en de `<BaseInput<T> ... />-tag`.
|
|
188
189
|
* Het verschil met de `BaseInput`-tag is dat deze compionent **wel** direction, label, of icon heeft.
|
|
@@ -11,6 +11,6 @@ type NumberInputProps = StrictOmit<InputPropsType<number>, 'type' | 'spellCheck'
|
|
|
11
11
|
* @param value De waarde van de input
|
|
12
12
|
* @example <NumberInput value={1} step={3}/>
|
|
13
13
|
*/
|
|
14
|
-
declare function NumberInput({ value, prefix, suffix, icon, name, id: idProp, label, direction: directionProp, size: sizeProp, alignment: alignmentProp, required, disabled, readonly, loading, labelHidden, showRequiredOnLabel, iconRight, className: extraClasses, infoData, helpTag, errorMessage, infoMessage, min: minProp, max: maxProp, onValueChanged, onBlur, onFocus, ...props }: NumberInputProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function NumberInput({ value, prefix, suffix, icon, name, id: idProp, label, direction: directionProp, size: sizeProp, alignment: alignmentProp, required, disabled, readonly, loading, labelHidden, showRequiredOnLabel, iconRight, className: extraClasses, infoData, helpTag, errorMessage, infoMessage, min: minProp, max: maxProp, color, onValueChanged, onBlur, onFocus, ...props }: NumberInputProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export { NumberInput };
|
|
16
16
|
export type { NumberInputProps };
|
|
@@ -16,6 +16,6 @@ type RangeInputProps = StrictOmit<InputPropsType<number>, 'autofocus' | 'autoCom
|
|
|
16
16
|
* @param step De stapgrootte van de input (default = 1)
|
|
17
17
|
* @example <RangeInput value={50} min={0} max={100} />
|
|
18
18
|
*/
|
|
19
|
-
declare function RangeInput({ value, min, max, step, prefix, suffix, helpTag, errorMessage, infoMessage, label, disabled, title, name, size: sizeProp, required, showRequiredOnLabel, id, readonly, form, inputRef, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, direction: directionProp, labelHidden, infoData, }: RangeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function RangeInput({ value, min, max, step, prefix, suffix, helpTag, errorMessage, infoMessage, label, disabled, title, name, size: sizeProp, required, showRequiredOnLabel, id, readonly, form, inputRef, color, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, direction: directionProp, labelHidden, infoData, }: RangeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export { RangeInput };
|
|
21
21
|
export type { RangeInputProps };
|
|
@@ -86,7 +86,7 @@ declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboar
|
|
|
86
86
|
* ..<RB value="Z">set to Z</RB>
|
|
87
87
|
* </RadioGroup>
|
|
88
88
|
*/
|
|
89
|
-
declare function RadioGroup<T extends RBValueType = string>({ children: childrenProp, id: _id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size: sizeProp, direction: directionProp, itemsDirection: itemsDirectionProp, alignment: alignmentProp, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
89
|
+
declare function RadioGroup<T extends RBValueType = string>({ children: childrenProp, id: _id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size: sizeProp, direction: directionProp, itemsDirection: itemsDirectionProp, alignment: alignmentProp, errorMessage, infoMessage, infoData, helpTag, color, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
90
90
|
declare namespace RadioGroup {
|
|
91
91
|
var Item: typeof SpecialRadioItem;
|
|
92
92
|
}
|
|
@@ -113,7 +113,7 @@ type SelectInputProps<T extends number | string | string[]> = StrictOmit<InputPr
|
|
|
113
113
|
* ..</Select.OptGroup>
|
|
114
114
|
* </Select>
|
|
115
115
|
*/
|
|
116
|
-
declare function Select<T extends number | string | string[] = string>({ value, id, name, label, grouped, required, showRequiredOnLabel, errorMessage, infoMessage, multiple, alignment: alignmentProp, size: sizeProp, direction: directionProp, options, children: nodes, helpTag, disabled, keyboardType, title, spellCheck, loading, autoComplete, autofocus, form, inputRef: ref, labelHidden, icon, iconOpen, iconClosed, infoData, onBlur, onFocus, onChange, onKeyDown, onKeyUp, onValueChanged, }: SelectInputProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
116
|
+
declare function Select<T extends number | string | string[] = string>({ value, id, name, label, grouped, required, showRequiredOnLabel, errorMessage, infoMessage, multiple, alignment: alignmentProp, size: sizeProp, direction: directionProp, options, children: nodes, helpTag, disabled, keyboardType, title, spellCheck, loading, autoComplete, autofocus, form, inputRef: ref, labelHidden, icon, iconOpen, iconClosed, infoData, color, onBlur, onFocus, onChange, onKeyDown, onKeyUp, onValueChanged, }: SelectInputProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
117
117
|
declare namespace Select {
|
|
118
118
|
var Option: ({ value, disabled, id, children }: {
|
|
119
119
|
id?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StrictOmit, ColorProp } from './../../types';
|
|
2
2
|
import { InputPropsType, InputStylingPropsType, InputErrorProps } from '../Input';
|
|
3
|
-
type TagsInputProps = StrictOmit<InputPropsType<string[]>, 'type' | 'step' | 'onChange' | 'value' | 'onValueChanged' | 'max' | 'min' | 'inputRef' | 'errorMessage'> & InputStylingPropsType & {
|
|
3
|
+
type TagsInputProps = StrictOmit<InputPropsType<string[]>, 'type' | 'step' | 'onChange' | 'value' | 'onValueChanged' | 'max' | 'min' | 'inputRef' | 'errorMessage'> & StrictOmit<InputStylingPropsType, 'color'> & {
|
|
4
4
|
/** de values (dus de tags) van het input field */
|
|
5
5
|
value?: string[] | undefined;
|
|
6
6
|
/** mogen tags meerdere keren voorkomen (2 tags met dezelfde tekst). default = `false` */
|
|
@@ -49,6 +49,6 @@ type FormattedInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' |
|
|
|
49
49
|
* );
|
|
50
50
|
*}
|
|
51
51
|
*/
|
|
52
|
-
declare function FormattedInput({ placeholder, helpTag, errorMessage, infoMessage, disabled, title, required, showRequiredOnLabel, spellCheck, autoComplete, max, min, readonly, autofocus, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, size: sizeProp, alignment: alignmentProp, direction: directionProp, iconRight, labelHidden, loading, value, icon, groupBy, divider, name, label, id, casing, onValueChanged, onFormat, }: FormattedInputProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
declare function FormattedInput({ placeholder, helpTag, errorMessage, infoMessage, disabled, title, required, showRequiredOnLabel, spellCheck, autoComplete, max, min, readonly, autofocus, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, size: sizeProp, alignment: alignmentProp, direction: directionProp, iconRight, labelHidden, loading, value, icon, groupBy, divider, name, label, id, color, casing, onValueChanged, onFormat, }: FormattedInputProps): import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
export { FormattedInput };
|
|
54
54
|
export type { FormattedInputProps };
|
|
@@ -26,6 +26,6 @@ type TextAreaProps = StrictOmit<InputPropsType<string>, 'type' | 'inputRef' | 'k
|
|
|
26
26
|
* @param rows aantal rijen voor de textarea (default: 4)
|
|
27
27
|
* @param cols aantal kolommen voor de textarea. **werkt niet in Bulma! de breedte is altijd maximaal!**
|
|
28
28
|
*/
|
|
29
|
-
declare function TextArea({ value, label, errorMessage, infoMessage, helpTag, id, name, spellCheck, required, showRequiredOnLabel, autoComplete, placeholder, disabled, form, readonly, autofocus, inputRef, max, min, title, size: sizeProp, alignment: alignmentProp, direction: directionProp, cols, rows, labelHidden, loading, infoData, onValueChanged, onChange, onBlur, onFocus, onKeyDown, onKeyUp, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function TextArea({ value, label, errorMessage, infoMessage, helpTag, id, name, spellCheck, required, showRequiredOnLabel, autoComplete, placeholder, disabled, form, readonly, autofocus, inputRef, max, min, title, size: sizeProp, alignment: alignmentProp, direction: directionProp, cols, rows, labelHidden, loading, infoData, color, onValueChanged, onChange, onBlur, onFocus, onKeyDown, onKeyUp, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export { TextArea };
|
|
31
31
|
export type { TextAreaProps };
|