loon-bulma-react 2025.0.24 → 2025.0.26
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.cjs +12 -12
- package/dist/index.d.cts +5 -6
- package/dist/index.d.ts +5 -6
- package/dist/index.js +4 -4
- package/package.json +5 -5
- package/styles/notifier-container.scss +4 -5
package/dist/index.d.cts
CHANGED
|
@@ -1252,11 +1252,12 @@ type ModalProps = {
|
|
|
1252
1252
|
/** Callback voor openen van de modal */
|
|
1253
1253
|
onOpened?: (helptag?: string) => void;
|
|
1254
1254
|
/** De grootte van de modal: met SizeProp of een string. ( DEFAULT = 'm', 800px)
|
|
1255
|
+
* - `function` met windowWidth als parameter, retourneert een string met px, %, em of vw
|
|
1255
1256
|
* - `SizeProp`: s: 600px, m: 800px, l: 1000px, xl: 1200px, max: 95%;
|
|
1256
1257
|
* - `string`: '834px', '50%, 60em', '100%'
|
|
1257
1258
|
* - `number`: size < 100 ? als percentage, anders als px
|
|
1258
1259
|
*/
|
|
1259
|
-
size?: SizeProp | 'max' | string | number | undefined;
|
|
1260
|
+
size?: SizeProp | 'max' | string | number | ((windowWidth: number) => `${number}${'px' | '%' | 'em' | 'vw'}`) | undefined;
|
|
1260
1261
|
/** Helptag in Loon voor de modal */
|
|
1261
1262
|
helpTag?: string | undefined;
|
|
1262
1263
|
/** blokkeer sluiten van modal als je er buiten klikt? (default = false)
|
|
@@ -3431,8 +3432,6 @@ type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'p
|
|
|
3431
3432
|
errorMessage?: string | ((v: InputErrorProps) => string);
|
|
3432
3433
|
/** speciale informatie-tekst bij de input */
|
|
3433
3434
|
infoMessage?: string | ((v?: number) => string);
|
|
3434
|
-
/** prefix voo het bedrag (default = `'€ '`) */
|
|
3435
|
-
prefix?: string;
|
|
3436
3435
|
/** suffix achter het bedrag (default = `''`) */
|
|
3437
3436
|
suffix?: string;
|
|
3438
3437
|
/** aantal getoonde decimalen _achter_ de integer, ook als dat 0 is! (default = `2`) */
|
|
@@ -3466,7 +3465,7 @@ type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'p
|
|
|
3466
3465
|
* const [x, setX] = React.useState<string>('0');
|
|
3467
3466
|
* <CurrencyInput value={x} onValueChanged={([strVal, _numVal]) => setX(strVal)} />
|
|
3468
3467
|
*/
|
|
3469
|
-
declare function CurrencyInput({ allowNegativeValue, placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, inputRef, readonly, step, autofocus, hideIconRight, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix,
|
|
3468
|
+
declare function CurrencyInput({ allowNegativeValue, placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, inputRef, readonly, step, autofocus, hideIconRight, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix, decimalScale, decimalSeparator, groupSeparator, }: CurrencyInputProps): react_jsx_runtime.JSX.Element;
|
|
3470
3469
|
|
|
3471
3470
|
/** WeekInput: input voor een weeknummer (format: yyyy-Www)
|
|
3472
3471
|
* -1e getal: jaartal
|
|
@@ -4681,8 +4680,8 @@ type NotifierProps = {
|
|
|
4681
4680
|
defaultDismissTime?: number;
|
|
4682
4681
|
/** Notificaties komen altijd aan de rechterkant, kies uit bovenkant of onderkant (default = 'top') */
|
|
4683
4682
|
location?: 'top' | 'bottom';
|
|
4684
|
-
/** de breedte van de notification-bar. Default = `
|
|
4685
|
-
width?: `${number}%` | `${number}px` | `${number}em`;
|
|
4683
|
+
/** de breedte van de notification-bar. Default = `20vw` (20% schermbreedte) */
|
|
4684
|
+
width?: `${number}%` | `${number}px` | `${number}em` | `${number}vw` | `${number}vh`;
|
|
4686
4685
|
};
|
|
4687
4686
|
type NotifierItemProps = {
|
|
4688
4687
|
/** Optioneel id voor notificatie, als niet gedefinieerd wordt het een random integer */
|
package/dist/index.d.ts
CHANGED
|
@@ -1252,11 +1252,12 @@ type ModalProps = {
|
|
|
1252
1252
|
/** Callback voor openen van de modal */
|
|
1253
1253
|
onOpened?: (helptag?: string) => void;
|
|
1254
1254
|
/** De grootte van de modal: met SizeProp of een string. ( DEFAULT = 'm', 800px)
|
|
1255
|
+
* - `function` met windowWidth als parameter, retourneert een string met px, %, em of vw
|
|
1255
1256
|
* - `SizeProp`: s: 600px, m: 800px, l: 1000px, xl: 1200px, max: 95%;
|
|
1256
1257
|
* - `string`: '834px', '50%, 60em', '100%'
|
|
1257
1258
|
* - `number`: size < 100 ? als percentage, anders als px
|
|
1258
1259
|
*/
|
|
1259
|
-
size?: SizeProp | 'max' | string | number | undefined;
|
|
1260
|
+
size?: SizeProp | 'max' | string | number | ((windowWidth: number) => `${number}${'px' | '%' | 'em' | 'vw'}`) | undefined;
|
|
1260
1261
|
/** Helptag in Loon voor de modal */
|
|
1261
1262
|
helpTag?: string | undefined;
|
|
1262
1263
|
/** blokkeer sluiten van modal als je er buiten klikt? (default = false)
|
|
@@ -3431,8 +3432,6 @@ type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'p
|
|
|
3431
3432
|
errorMessage?: string | ((v: InputErrorProps) => string);
|
|
3432
3433
|
/** speciale informatie-tekst bij de input */
|
|
3433
3434
|
infoMessage?: string | ((v?: number) => string);
|
|
3434
|
-
/** prefix voo het bedrag (default = `'€ '`) */
|
|
3435
|
-
prefix?: string;
|
|
3436
3435
|
/** suffix achter het bedrag (default = `''`) */
|
|
3437
3436
|
suffix?: string;
|
|
3438
3437
|
/** aantal getoonde decimalen _achter_ de integer, ook als dat 0 is! (default = `2`) */
|
|
@@ -3466,7 +3465,7 @@ type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'p
|
|
|
3466
3465
|
* const [x, setX] = React.useState<string>('0');
|
|
3467
3466
|
* <CurrencyInput value={x} onValueChanged={([strVal, _numVal]) => setX(strVal)} />
|
|
3468
3467
|
*/
|
|
3469
|
-
declare function CurrencyInput({ allowNegativeValue, placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, inputRef, readonly, step, autofocus, hideIconRight, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix,
|
|
3468
|
+
declare function CurrencyInput({ allowNegativeValue, placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, inputRef, readonly, step, autofocus, hideIconRight, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix, decimalScale, decimalSeparator, groupSeparator, }: CurrencyInputProps): react_jsx_runtime.JSX.Element;
|
|
3470
3469
|
|
|
3471
3470
|
/** WeekInput: input voor een weeknummer (format: yyyy-Www)
|
|
3472
3471
|
* -1e getal: jaartal
|
|
@@ -4681,8 +4680,8 @@ type NotifierProps = {
|
|
|
4681
4680
|
defaultDismissTime?: number;
|
|
4682
4681
|
/** Notificaties komen altijd aan de rechterkant, kies uit bovenkant of onderkant (default = 'top') */
|
|
4683
4682
|
location?: 'top' | 'bottom';
|
|
4684
|
-
/** de breedte van de notification-bar. Default = `
|
|
4685
|
-
width?: `${number}%` | `${number}px` | `${number}em`;
|
|
4683
|
+
/** de breedte van de notification-bar. Default = `20vw` (20% schermbreedte) */
|
|
4684
|
+
width?: `${number}%` | `${number}px` | `${number}em` | `${number}vw` | `${number}vh`;
|
|
4686
4685
|
};
|
|
4687
4686
|
type NotifierItemProps = {
|
|
4688
4687
|
/** Optioneel id voor notificatie, als niet gedefinieerd wordt het een random integer */
|