loon-bulma-react 2024.0.34 → 2024.0.36
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 +26 -25
- package/dist/index.d.cts +23 -4
- package/dist/index.d.ts +23 -4
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3516,6 +3516,21 @@ declare function BaseInput<T extends InputValueType = string>({ alignment, autoC
|
|
|
3516
3516
|
* | value | `string` | value voor deze input (default = `undefined`)|
|
|
3517
3517
|
*/
|
|
3518
3518
|
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;
|
|
3519
|
+
/** Een wrapper voor een input component, om te zorgen dat ze allemaal op dezelfde manier horizontaal of verticaal aligned worden. */
|
|
3520
|
+
declare function InputContainer({ children, controlClassName, direction, showRequiredOnLabel, inputId, label, labelHidden, required, size, loading, infoData, setHovered, }: {
|
|
3521
|
+
label: string;
|
|
3522
|
+
required: boolean;
|
|
3523
|
+
showRequiredOnLabel: boolean;
|
|
3524
|
+
inputId: string;
|
|
3525
|
+
labelHidden?: boolean;
|
|
3526
|
+
loading?: boolean;
|
|
3527
|
+
children: React$1.ReactNode;
|
|
3528
|
+
size: SizeProp;
|
|
3529
|
+
direction: DirectionProp;
|
|
3530
|
+
controlClassName?: string;
|
|
3531
|
+
setHovered?: (hovered: boolean) => void;
|
|
3532
|
+
infoData?: React$1.ReactNode | undefined;
|
|
3533
|
+
}): JSX.Element;
|
|
3519
3534
|
|
|
3520
3535
|
type CheckBoxInputProps = StrictOmit<InputPropsType<boolean>, 'value' | 'type' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'pattern' | 'placeholder'> & StrictOmit<InputStylingPropsType, 'icon'> & {
|
|
3521
3536
|
/** is de input checked? */
|
|
@@ -3557,7 +3572,9 @@ declare function CheckBox({ id, label, name, size, direction, required, showRequ
|
|
|
3557
3572
|
* const [x, setX] = React.useState(false);
|
|
3558
3573
|
* <CB name="test" label="test" value={x} onValueChanged={setX}/>
|
|
3559
3574
|
*/
|
|
3560
|
-
declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, color, }: StrictOmit<CheckBoxInputProps, 'direction' | 'labelHidden'>
|
|
3575
|
+
declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, color, infoDataEl, }: StrictOmit<CheckBoxInputProps, 'direction' | 'labelHidden' | 'infoData'> & {
|
|
3576
|
+
infoDataEl?: React$1.ReactNode;
|
|
3577
|
+
}): JSX.Element;
|
|
3561
3578
|
|
|
3562
3579
|
type SelectInputProps<T extends number | string | string[]> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'onBlur' | 'onFocus' | 'onChange' | 'onKeyDown' | 'onKeyUp' | 'min' | 'max' | 'readonly' | 'pattern' | 'placeholder'> & InputStylingPropsType & {
|
|
3563
3580
|
/** De waarde van de select
|
|
@@ -3881,7 +3898,7 @@ type RadioGroupProps<T extends RBValueType = string> = StrictOmit<InputStylingPr
|
|
|
3881
3898
|
/** callback voor typen */
|
|
3882
3899
|
onKeyUp?: (e: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
3883
3900
|
};
|
|
3884
|
-
type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType<number | string>, 'id' | 'label' | 'name' | 'type' | 'value' | 'onValueChanged' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'placeholder' | 'showRequiredOnLabel'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'
|
|
3901
|
+
type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType<number | string>, 'id' | 'label' | 'name' | 'type' | 'value' | 'onValueChanged' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'placeholder' | 'showRequiredOnLabel'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'> & {
|
|
3885
3902
|
/** label van de Radio Button. Als niet gedefinieerd, wordt de `name`-prop gebruikt */
|
|
3886
3903
|
children: React$1.ReactNode;
|
|
3887
3904
|
/** de waarde van de radiobutton */
|
|
@@ -3921,7 +3938,7 @@ type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType
|
|
|
3921
3938
|
* ..</RB>
|
|
3922
3939
|
* </div>
|
|
3923
3940
|
*/
|
|
3924
|
-
declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboardType, title, name, value, checked, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, itemsDirection, color, children, }: RadioInputProps<T>): JSX.Element;
|
|
3941
|
+
declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboardType, title, name, value, checked, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, itemsDirection, color, children, infoData, }: RadioInputProps<T>): JSX.Element;
|
|
3925
3942
|
/** RadioGroup is een groep radio-buttons met direction, alignment, etc. Gebruik `RB` voor een losstaande radio-button, **dus niet `<RadioGroup.Item>` daarvoor**
|
|
3926
3943
|
* De RadioGroup kan je vullen met `RadioGroup.Item`-componenten, of met `RB`-componenten.
|
|
3927
3944
|
* @param value de geselecteerde waarde van de input
|
|
@@ -4600,6 +4617,7 @@ type State$1 = {
|
|
|
4600
4617
|
declare function PromptProvider({ children }: {
|
|
4601
4618
|
children: React$1.ReactNode;
|
|
4602
4619
|
}): JSX.Element;
|
|
4620
|
+
type AllowedPromptTypes = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url' | 'range' | 'date' | 'datetime-local' | 'datetime' | 'month' | 'week' | 'time' | 'color' | 'search';
|
|
4603
4621
|
/**
|
|
4604
4622
|
* Hook voor de confirmation
|
|
4605
4623
|
* @param submitTxt tekst voor op de OK-button (default = 'Ok')
|
|
@@ -4619,6 +4637,7 @@ declare function PromptProvider({ children }: {
|
|
|
4619
4637
|
*/
|
|
4620
4638
|
declare function usePrompt(submitTxt?: string, cancelTxt?: string, inputSettings?: StrictOmit<TextInputProps, 'name'> & {
|
|
4621
4639
|
name?: string;
|
|
4640
|
+
type?: AllowedPromptTypes;
|
|
4622
4641
|
}): {
|
|
4623
4642
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4624
4643
|
onSubmit: () => void;
|
|
@@ -5142,4 +5161,4 @@ type FetchAPIWrapper = {
|
|
|
5142
5161
|
};
|
|
5143
5162
|
declare function useFetchAPI(): FetchAPIWrapper;
|
|
5144
5163
|
|
|
5145
|
-
export { AND, type ActionSheetButton, ActionSheetProvider, type AlignmentProp, type AnchorRelProp, type AnchorTargetProp, AspectRatio, type AspectRatioProps, type AutoCompleteProp, type BaseEventProps, BaseInput, Block, BorderBox, Box, type BoxProps, Button, Buttons as ButtonGroup, type ButtonGroupProps, type ButtonProps, Buttons, CB, Calendar, type CalendarOptions, type CalendarType, CheckBox, type CheckBoxInputProps as CheckboxInputProps, ColorInput, type ColorInputProps, type ColorProp, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, type CoordinatesProp, CurrencyInput, type CurrencyInputProps, DOTS, DataTable, type DataTableColumnProp as DataTableColumn, type DataTableProps, DateInput, type DateInputProps, DateTimeInput, type DateTimeInputProps, DefinedHexColors, DialogsProvider, type DiffFnType, type DirectionProp, EmailInput, type EmailInputProps, EvMv, type ExpandedColumnProps, FileInput, type FileInputProps, type FileInputValue, Footer, H1, H2, H3, H4, H5, H6, type HSLColor, HelpTxt, type HelpTxtProps, Hero, type HeroProps, type HexColor$1 as HexColor, HiddenInput, type HiddenInputProps, type Hotkey, type HotkeyItem, IF, IbanDetailsPerLand, Icon, type IconProps, IconStack, IconText, type IconTextProps, Image, type ImageProps, Indicator, type IndicatorPositionProp, type IndicatorProps, Input, type InputPropsType, type InputStylingPropsType, type InputValueType, type JSChangeDateTimeType, type JSDateSetterType, JSDateTime, JSDuration, Kbd, Kbds, type KeyOf, type KeyboardTypeProp, Link, LinkButton, type LinkButtonProps, type LinkProps, Menu, type MenuItemGroupProps, type MenuItemProps, type MenuProps, Message, type MessageProps, Modal, type ModalProps, MonthInput, type MonthInputProps, type MonthInputString, type MonthViewProps, MultiComboBox, type MultiComboBoxProps, NAND, NOR, NOT, Notification, type NotificationProps, Notifier, type NotifierContextType, type NotifierItemProps, type NotifierProps, NotifierProvider, type NotifierProviderProps, NumberInput, type NumberInputProps, OR, type OnOffToggleItemProps, Pagination, type PaginationParams, type PaginationProps, PasswordInput, type PasswordInputProps, type PositionProp, type PrettierType, ProgressBar, type ProgressBarProps, PromptProvider, QuickView, type QuickViewProps, RB, type RGBColor, RadioGroup, type RadioInputProps, RangeInput, type RangeInputProps, type RectProp, type RelationshipProp, SWITCH, ScrollArea, Section, Select, type SelectInputProps, SimpleTable, type SimpleTableColProps, type SimpleTableProps, type SizeProp, type StepItemProps, Steps, type StepsProps, type StrictOmit, TabBar, type TabBarItemProps, type TabBarProps, Table, Tag, type TagProps, type TagSizeProp, Tags, TagsInput, type TagsInputProps, type TagsProps, TelephoneInput, type TelephoneInputProps, type TextAlignmentProp, TextArea, type TextAreaProps, TextEditor, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TimeLine, type TimeLineItemProps, type TimeLinePointProps, type TimeLineProps, ToggleBar, type ToggleBarProps, type ToggleItemProps, TT as Tooltip, URLInput, type URLInputProps, type UncontrolledMode, type UncontrolledOptions, WeekInput, type WeekInputProps, type WeekInputString, type WeekViewProps, XNOR, XOR, boolSort, calculateTxtColor, centerPad, dateSort, getHotkeyHandler, getHotkeyMatcher, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useConfirm, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|
|
5164
|
+
export { AND, type ActionSheetButton, ActionSheetProvider, type AlignmentProp, type AllowedPromptTypes, type AnchorRelProp, type AnchorTargetProp, AspectRatio, type AspectRatioProps, type AutoCompleteProp, type BaseEventProps, BaseInput, Block, BorderBox, Box, type BoxProps, Button, Buttons as ButtonGroup, type ButtonGroupProps, type ButtonProps, Buttons, CB, Calendar, type CalendarOptions, type CalendarType, CheckBox, type CheckBoxInputProps as CheckboxInputProps, ColorInput, type ColorInputProps, type ColorProp, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, type CoordinatesProp, CurrencyInput, type CurrencyInputProps, DOTS, DataTable, type DataTableColumnProp as DataTableColumn, type DataTableProps, DateInput, type DateInputProps, DateTimeInput, type DateTimeInputProps, DefinedHexColors, DialogsProvider, type DiffFnType, type DirectionProp, EmailInput, type EmailInputProps, EvMv, type ExpandedColumnProps, FileInput, type FileInputProps, type FileInputValue, Footer, H1, H2, H3, H4, H5, H6, type HSLColor, HelpTxt, type HelpTxtProps, Hero, type HeroProps, type HexColor$1 as HexColor, HiddenInput, type HiddenInputProps, type Hotkey, type HotkeyItem, IF, IbanDetailsPerLand, Icon, type IconProps, IconStack, IconText, type IconTextProps, Image, type ImageProps, Indicator, type IndicatorPositionProp, type IndicatorProps, Input, InputContainer, type InputPropsType, type InputStylingPropsType, type InputValueType, type JSChangeDateTimeType, type JSDateSetterType, JSDateTime, JSDuration, Kbd, Kbds, type KeyOf, type KeyboardTypeProp, Link, LinkButton, type LinkButtonProps, type LinkProps, Menu, type MenuItemGroupProps, type MenuItemProps, type MenuProps, Message, type MessageProps, Modal, type ModalProps, MonthInput, type MonthInputProps, type MonthInputString, type MonthViewProps, MultiComboBox, type MultiComboBoxProps, NAND, NOR, NOT, Notification, type NotificationProps, Notifier, type NotifierContextType, type NotifierItemProps, type NotifierProps, NotifierProvider, type NotifierProviderProps, NumberInput, type NumberInputProps, OR, type OnOffToggleItemProps, Pagination, type PaginationParams, type PaginationProps, PasswordInput, type PasswordInputProps, type PositionProp, type PrettierType, ProgressBar, type ProgressBarProps, PromptProvider, QuickView, type QuickViewProps, RB, type RGBColor, RadioGroup, type RadioInputProps, RangeInput, type RangeInputProps, type RectProp, type RelationshipProp, SWITCH, ScrollArea, Section, Select, type SelectInputProps, SimpleTable, type SimpleTableColProps, type SimpleTableProps, type SizeProp, type StepItemProps, Steps, type StepsProps, type StrictOmit, TabBar, type TabBarItemProps, type TabBarProps, Table, Tag, type TagProps, type TagSizeProp, Tags, TagsInput, type TagsInputProps, type TagsProps, TelephoneInput, type TelephoneInputProps, type TextAlignmentProp, TextArea, type TextAreaProps, TextEditor, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TimeLine, type TimeLineItemProps, type TimeLinePointProps, type TimeLineProps, ToggleBar, type ToggleBarProps, type ToggleItemProps, TT as Tooltip, URLInput, type URLInputProps, type UncontrolledMode, type UncontrolledOptions, WeekInput, type WeekInputProps, type WeekInputString, type WeekViewProps, XNOR, XOR, boolSort, calculateTxtColor, centerPad, dateSort, getHotkeyHandler, getHotkeyMatcher, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useConfirm, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|
package/dist/index.d.ts
CHANGED
|
@@ -3516,6 +3516,21 @@ declare function BaseInput<T extends InputValueType = string>({ alignment, autoC
|
|
|
3516
3516
|
* | value | `string` | value voor deze input (default = `undefined`)|
|
|
3517
3517
|
*/
|
|
3518
3518
|
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;
|
|
3519
|
+
/** Een wrapper voor een input component, om te zorgen dat ze allemaal op dezelfde manier horizontaal of verticaal aligned worden. */
|
|
3520
|
+
declare function InputContainer({ children, controlClassName, direction, showRequiredOnLabel, inputId, label, labelHidden, required, size, loading, infoData, setHovered, }: {
|
|
3521
|
+
label: string;
|
|
3522
|
+
required: boolean;
|
|
3523
|
+
showRequiredOnLabel: boolean;
|
|
3524
|
+
inputId: string;
|
|
3525
|
+
labelHidden?: boolean;
|
|
3526
|
+
loading?: boolean;
|
|
3527
|
+
children: React$1.ReactNode;
|
|
3528
|
+
size: SizeProp;
|
|
3529
|
+
direction: DirectionProp;
|
|
3530
|
+
controlClassName?: string;
|
|
3531
|
+
setHovered?: (hovered: boolean) => void;
|
|
3532
|
+
infoData?: React$1.ReactNode | undefined;
|
|
3533
|
+
}): JSX.Element;
|
|
3519
3534
|
|
|
3520
3535
|
type CheckBoxInputProps = StrictOmit<InputPropsType<boolean>, 'value' | 'type' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'pattern' | 'placeholder'> & StrictOmit<InputStylingPropsType, 'icon'> & {
|
|
3521
3536
|
/** is de input checked? */
|
|
@@ -3557,7 +3572,9 @@ declare function CheckBox({ id, label, name, size, direction, required, showRequ
|
|
|
3557
3572
|
* const [x, setX] = React.useState(false);
|
|
3558
3573
|
* <CB name="test" label="test" value={x} onValueChanged={setX}/>
|
|
3559
3574
|
*/
|
|
3560
|
-
declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, color, }: StrictOmit<CheckBoxInputProps, 'direction' | 'labelHidden'>
|
|
3575
|
+
declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, color, infoDataEl, }: StrictOmit<CheckBoxInputProps, 'direction' | 'labelHidden' | 'infoData'> & {
|
|
3576
|
+
infoDataEl?: React$1.ReactNode;
|
|
3577
|
+
}): JSX.Element;
|
|
3561
3578
|
|
|
3562
3579
|
type SelectInputProps<T extends number | string | string[]> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'onBlur' | 'onFocus' | 'onChange' | 'onKeyDown' | 'onKeyUp' | 'min' | 'max' | 'readonly' | 'pattern' | 'placeholder'> & InputStylingPropsType & {
|
|
3563
3580
|
/** De waarde van de select
|
|
@@ -3881,7 +3898,7 @@ type RadioGroupProps<T extends RBValueType = string> = StrictOmit<InputStylingPr
|
|
|
3881
3898
|
/** callback voor typen */
|
|
3882
3899
|
onKeyUp?: (e: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
3883
3900
|
};
|
|
3884
|
-
type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType<number | string>, 'id' | 'label' | 'name' | 'type' | 'value' | 'onValueChanged' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'placeholder' | 'showRequiredOnLabel'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'
|
|
3901
|
+
type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType<number | string>, 'id' | 'label' | 'name' | 'type' | 'value' | 'onValueChanged' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'placeholder' | 'showRequiredOnLabel'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'> & {
|
|
3885
3902
|
/** label van de Radio Button. Als niet gedefinieerd, wordt de `name`-prop gebruikt */
|
|
3886
3903
|
children: React$1.ReactNode;
|
|
3887
3904
|
/** de waarde van de radiobutton */
|
|
@@ -3921,7 +3938,7 @@ type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType
|
|
|
3921
3938
|
* ..</RB>
|
|
3922
3939
|
* </div>
|
|
3923
3940
|
*/
|
|
3924
|
-
declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboardType, title, name, value, checked, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, itemsDirection, color, children, }: RadioInputProps<T>): JSX.Element;
|
|
3941
|
+
declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboardType, title, name, value, checked, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size, alignment, itemsDirection, color, children, infoData, }: RadioInputProps<T>): JSX.Element;
|
|
3925
3942
|
/** RadioGroup is een groep radio-buttons met direction, alignment, etc. Gebruik `RB` voor een losstaande radio-button, **dus niet `<RadioGroup.Item>` daarvoor**
|
|
3926
3943
|
* De RadioGroup kan je vullen met `RadioGroup.Item`-componenten, of met `RB`-componenten.
|
|
3927
3944
|
* @param value de geselecteerde waarde van de input
|
|
@@ -4600,6 +4617,7 @@ type State$1 = {
|
|
|
4600
4617
|
declare function PromptProvider({ children }: {
|
|
4601
4618
|
children: React$1.ReactNode;
|
|
4602
4619
|
}): JSX.Element;
|
|
4620
|
+
type AllowedPromptTypes = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url' | 'range' | 'date' | 'datetime-local' | 'datetime' | 'month' | 'week' | 'time' | 'color' | 'search';
|
|
4603
4621
|
/**
|
|
4604
4622
|
* Hook voor de confirmation
|
|
4605
4623
|
* @param submitTxt tekst voor op de OK-button (default = 'Ok')
|
|
@@ -4619,6 +4637,7 @@ declare function PromptProvider({ children }: {
|
|
|
4619
4637
|
*/
|
|
4620
4638
|
declare function usePrompt(submitTxt?: string, cancelTxt?: string, inputSettings?: StrictOmit<TextInputProps, 'name'> & {
|
|
4621
4639
|
name?: string;
|
|
4640
|
+
type?: AllowedPromptTypes;
|
|
4622
4641
|
}): {
|
|
4623
4642
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4624
4643
|
onSubmit: () => void;
|
|
@@ -5142,4 +5161,4 @@ type FetchAPIWrapper = {
|
|
|
5142
5161
|
};
|
|
5143
5162
|
declare function useFetchAPI(): FetchAPIWrapper;
|
|
5144
5163
|
|
|
5145
|
-
export { AND, type ActionSheetButton, ActionSheetProvider, type AlignmentProp, type AnchorRelProp, type AnchorTargetProp, AspectRatio, type AspectRatioProps, type AutoCompleteProp, type BaseEventProps, BaseInput, Block, BorderBox, Box, type BoxProps, Button, Buttons as ButtonGroup, type ButtonGroupProps, type ButtonProps, Buttons, CB, Calendar, type CalendarOptions, type CalendarType, CheckBox, type CheckBoxInputProps as CheckboxInputProps, ColorInput, type ColorInputProps, type ColorProp, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, type CoordinatesProp, CurrencyInput, type CurrencyInputProps, DOTS, DataTable, type DataTableColumnProp as DataTableColumn, type DataTableProps, DateInput, type DateInputProps, DateTimeInput, type DateTimeInputProps, DefinedHexColors, DialogsProvider, type DiffFnType, type DirectionProp, EmailInput, type EmailInputProps, EvMv, type ExpandedColumnProps, FileInput, type FileInputProps, type FileInputValue, Footer, H1, H2, H3, H4, H5, H6, type HSLColor, HelpTxt, type HelpTxtProps, Hero, type HeroProps, type HexColor$1 as HexColor, HiddenInput, type HiddenInputProps, type Hotkey, type HotkeyItem, IF, IbanDetailsPerLand, Icon, type IconProps, IconStack, IconText, type IconTextProps, Image, type ImageProps, Indicator, type IndicatorPositionProp, type IndicatorProps, Input, type InputPropsType, type InputStylingPropsType, type InputValueType, type JSChangeDateTimeType, type JSDateSetterType, JSDateTime, JSDuration, Kbd, Kbds, type KeyOf, type KeyboardTypeProp, Link, LinkButton, type LinkButtonProps, type LinkProps, Menu, type MenuItemGroupProps, type MenuItemProps, type MenuProps, Message, type MessageProps, Modal, type ModalProps, MonthInput, type MonthInputProps, type MonthInputString, type MonthViewProps, MultiComboBox, type MultiComboBoxProps, NAND, NOR, NOT, Notification, type NotificationProps, Notifier, type NotifierContextType, type NotifierItemProps, type NotifierProps, NotifierProvider, type NotifierProviderProps, NumberInput, type NumberInputProps, OR, type OnOffToggleItemProps, Pagination, type PaginationParams, type PaginationProps, PasswordInput, type PasswordInputProps, type PositionProp, type PrettierType, ProgressBar, type ProgressBarProps, PromptProvider, QuickView, type QuickViewProps, RB, type RGBColor, RadioGroup, type RadioInputProps, RangeInput, type RangeInputProps, type RectProp, type RelationshipProp, SWITCH, ScrollArea, Section, Select, type SelectInputProps, SimpleTable, type SimpleTableColProps, type SimpleTableProps, type SizeProp, type StepItemProps, Steps, type StepsProps, type StrictOmit, TabBar, type TabBarItemProps, type TabBarProps, Table, Tag, type TagProps, type TagSizeProp, Tags, TagsInput, type TagsInputProps, type TagsProps, TelephoneInput, type TelephoneInputProps, type TextAlignmentProp, TextArea, type TextAreaProps, TextEditor, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TimeLine, type TimeLineItemProps, type TimeLinePointProps, type TimeLineProps, ToggleBar, type ToggleBarProps, type ToggleItemProps, TT as Tooltip, URLInput, type URLInputProps, type UncontrolledMode, type UncontrolledOptions, WeekInput, type WeekInputProps, type WeekInputString, type WeekViewProps, XNOR, XOR, boolSort, calculateTxtColor, centerPad, dateSort, getHotkeyHandler, getHotkeyMatcher, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useConfirm, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|
|
5164
|
+
export { AND, type ActionSheetButton, ActionSheetProvider, type AlignmentProp, type AllowedPromptTypes, type AnchorRelProp, type AnchorTargetProp, AspectRatio, type AspectRatioProps, type AutoCompleteProp, type BaseEventProps, BaseInput, Block, BorderBox, Box, type BoxProps, Button, Buttons as ButtonGroup, type ButtonGroupProps, type ButtonProps, Buttons, CB, Calendar, type CalendarOptions, type CalendarType, CheckBox, type CheckBoxInputProps as CheckboxInputProps, ColorInput, type ColorInputProps, type ColorProp, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, type CoordinatesProp, CurrencyInput, type CurrencyInputProps, DOTS, DataTable, type DataTableColumnProp as DataTableColumn, type DataTableProps, DateInput, type DateInputProps, DateTimeInput, type DateTimeInputProps, DefinedHexColors, DialogsProvider, type DiffFnType, type DirectionProp, EmailInput, type EmailInputProps, EvMv, type ExpandedColumnProps, FileInput, type FileInputProps, type FileInputValue, Footer, H1, H2, H3, H4, H5, H6, type HSLColor, HelpTxt, type HelpTxtProps, Hero, type HeroProps, type HexColor$1 as HexColor, HiddenInput, type HiddenInputProps, type Hotkey, type HotkeyItem, IF, IbanDetailsPerLand, Icon, type IconProps, IconStack, IconText, type IconTextProps, Image, type ImageProps, Indicator, type IndicatorPositionProp, type IndicatorProps, Input, InputContainer, type InputPropsType, type InputStylingPropsType, type InputValueType, type JSChangeDateTimeType, type JSDateSetterType, JSDateTime, JSDuration, Kbd, Kbds, type KeyOf, type KeyboardTypeProp, Link, LinkButton, type LinkButtonProps, type LinkProps, Menu, type MenuItemGroupProps, type MenuItemProps, type MenuProps, Message, type MessageProps, Modal, type ModalProps, MonthInput, type MonthInputProps, type MonthInputString, type MonthViewProps, MultiComboBox, type MultiComboBoxProps, NAND, NOR, NOT, Notification, type NotificationProps, Notifier, type NotifierContextType, type NotifierItemProps, type NotifierProps, NotifierProvider, type NotifierProviderProps, NumberInput, type NumberInputProps, OR, type OnOffToggleItemProps, Pagination, type PaginationParams, type PaginationProps, PasswordInput, type PasswordInputProps, type PositionProp, type PrettierType, ProgressBar, type ProgressBarProps, PromptProvider, QuickView, type QuickViewProps, RB, type RGBColor, RadioGroup, type RadioInputProps, RangeInput, type RangeInputProps, type RectProp, type RelationshipProp, SWITCH, ScrollArea, Section, Select, type SelectInputProps, SimpleTable, type SimpleTableColProps, type SimpleTableProps, type SizeProp, type StepItemProps, Steps, type StepsProps, type StrictOmit, TabBar, type TabBarItemProps, type TabBarProps, Table, Tag, type TagProps, type TagSizeProp, Tags, TagsInput, type TagsInputProps, type TagsProps, TelephoneInput, type TelephoneInputProps, type TextAlignmentProp, TextArea, type TextAreaProps, TextEditor, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TimeLine, type TimeLineItemProps, type TimeLinePointProps, type TimeLineProps, ToggleBar, type ToggleBarProps, type ToggleItemProps, TT as Tooltip, URLInput, type URLInputProps, type UncontrolledMode, type UncontrolledOptions, WeekInput, type WeekInputProps, type WeekInputString, type WeekViewProps, XNOR, XOR, boolSort, calculateTxtColor, centerPad, dateSort, getHotkeyHandler, getHotkeyMatcher, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useConfirm, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|