loon-bulma-react 2024.1.6 → 2024.1.7
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 +209 -204
- package/dist/index.d.cts +42 -8
- package/dist/index.d.ts +42 -8
- package/dist/index.js +31 -31
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -100,7 +100,7 @@ type AutoCompleteProp = 'on' | 'off' | 'nope' | 'current-password' | 'new-passwo
|
|
|
100
100
|
declare const enum DefinedHexColors {
|
|
101
101
|
Primary = "#0089b6",
|
|
102
102
|
Info = "#3b59ec",
|
|
103
|
-
Link = "2f47bc",
|
|
103
|
+
Link = "#2f47bc",
|
|
104
104
|
Success = "#519c43",
|
|
105
105
|
Danger = "#d91000",
|
|
106
106
|
Warning = "#eea720",
|
|
@@ -2665,6 +2665,12 @@ declare class JSDateTime {
|
|
|
2665
2665
|
*
|
|
2666
2666
|
*/
|
|
2667
2667
|
toFormat(format: string): string;
|
|
2668
|
+
/** formating for JSON, return the ISO-string */
|
|
2669
|
+
private toJSON;
|
|
2670
|
+
/** deserialize een JSDateTime, doet hetzelfde als JSDateTime.fromISO.
|
|
2671
|
+
* @param jsonStr een string met een ISO-datum
|
|
2672
|
+
*/
|
|
2673
|
+
static fromJSON(jsonStr: string): JSDateTime;
|
|
2668
2674
|
}
|
|
2669
2675
|
|
|
2670
2676
|
declare class JSDuration {
|
|
@@ -2813,7 +2819,12 @@ declare function rgbToHSL([r255, g255, b255]: RGBColor | [r: number, g: number,
|
|
|
2813
2819
|
* @todo: HSL kleuren zijn experimenteel!
|
|
2814
2820
|
*/
|
|
2815
2821
|
declare function hslToRGB([h, s, l]: HSLColor | [h: number, s: number, l: number]): RGBColor;
|
|
2816
|
-
|
|
2822
|
+
/** returns een random color van onze `ColorProp`s. */
|
|
2823
|
+
declare function randomColorProp(colors?: Array<ColorProp | HexColor$1>): ColorProp | HexColor$1;
|
|
2824
|
+
declare function colorPropToHex(color: ColorProp | HexColor$1): HexColor$1;
|
|
2825
|
+
/** returns een random color van onze `ColorProp`s. */
|
|
2826
|
+
declare function randomColor(colors?: Array<HexColor$1> | undefined): HexColor$1;
|
|
2827
|
+
/** controleer of een object een hex color is */
|
|
2817
2828
|
declare function isHexColor(obj: any): obj is HexColor$1;
|
|
2818
2829
|
declare function isRGBColor(obj: any): obj is RGBColor;
|
|
2819
2830
|
declare function isHSLColor(obj: any): obj is HSLColor;
|
|
@@ -4608,6 +4619,7 @@ type State$2 = {
|
|
|
4608
4619
|
ok: string;
|
|
4609
4620
|
cancel: string;
|
|
4610
4621
|
others?: React$1.ReactNode;
|
|
4622
|
+
modalID: number;
|
|
4611
4623
|
};
|
|
4612
4624
|
/**
|
|
4613
4625
|
* Confirm provider om `useConfirm`-hook te kunnen gebruiken.
|
|
@@ -4664,6 +4676,7 @@ type State$1 = {
|
|
|
4664
4676
|
cancel: string;
|
|
4665
4677
|
value: string;
|
|
4666
4678
|
inputProps: TextInputProps;
|
|
4679
|
+
modalID: number;
|
|
4667
4680
|
};
|
|
4668
4681
|
/**
|
|
4669
4682
|
* prompt provider om `usePrompt`-hook te kunnen gebruiken.
|
|
@@ -4703,9 +4716,9 @@ declare function usePrompt(submitTxt?: string, cancelTxt?: string, inputSettings
|
|
|
4703
4716
|
type?: AllowedPromptTypes;
|
|
4704
4717
|
}): {
|
|
4705
4718
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4706
|
-
onSubmit: (
|
|
4719
|
+
onSubmit: () => void;
|
|
4707
4720
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4708
|
-
onCancel: (
|
|
4721
|
+
onCancel: () => void;
|
|
4709
4722
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4710
4723
|
onUpdate: (val: string) => void;
|
|
4711
4724
|
/**
|
|
@@ -4724,12 +4737,14 @@ type ActionSheetButton<T extends unknown = {}> = string | {
|
|
|
4724
4737
|
icon?: string | IconProp;
|
|
4725
4738
|
value: T | string;
|
|
4726
4739
|
color?: ColorProp;
|
|
4740
|
+
key?: string | undefined;
|
|
4727
4741
|
};
|
|
4728
4742
|
type State<T extends unknown = {}> = {
|
|
4729
4743
|
show: boolean;
|
|
4730
4744
|
content: string | React$1.ReactNode;
|
|
4731
4745
|
buttons: Array<ActionSheetButton<T>>;
|
|
4732
4746
|
value?: ActionSheetButton<T>;
|
|
4747
|
+
modalID: number;
|
|
4733
4748
|
};
|
|
4734
4749
|
/**
|
|
4735
4750
|
* ActionSheet provider om `useActionSheet`-hook te kunnen gebruiken.
|
|
@@ -4770,6 +4785,7 @@ declare function ActionSheetProvider({ children }: {
|
|
|
4770
4785
|
declare function useActionSheet<T extends unknown = string>(buttons?: ActionSheetButton<T>[]): {
|
|
4771
4786
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4772
4787
|
onAction: (val: ActionSheetButton<T>) => void;
|
|
4788
|
+
onCancel: () => void;
|
|
4773
4789
|
/**
|
|
4774
4790
|
* awaitable actionsheet function. Geef een string of Fragment op om iets in de actionsheet-modal te tonen
|
|
4775
4791
|
* @param content string of Fragment met de boodschap voor de actionsheet
|
|
@@ -4789,9 +4805,9 @@ declare const ColorSchemeContext: React$1.Context<{
|
|
|
4789
4805
|
scheme: ColorSchemeType;
|
|
4790
4806
|
setScheme: (v: ColorSchemeType) => void;
|
|
4791
4807
|
}>;
|
|
4792
|
-
declare function ColorSchemeProvider({ children,
|
|
4808
|
+
declare function ColorSchemeProvider({ children, initialScheme, onThemeChanged, }: {
|
|
4793
4809
|
children: React$1.ReactNode;
|
|
4794
|
-
|
|
4810
|
+
initialScheme?: ColorSchemeType | undefined;
|
|
4795
4811
|
onThemeChanged?: (t: ColorSchemeType) => void;
|
|
4796
4812
|
}): react_jsx_runtime.JSX.Element;
|
|
4797
4813
|
declare function useColorScheme(): {
|
|
@@ -4799,6 +4815,24 @@ declare function useColorScheme(): {
|
|
|
4799
4815
|
setScheme: (v: ColorSchemeType) => void;
|
|
4800
4816
|
};
|
|
4801
4817
|
|
|
4818
|
+
type ModalContextType = {
|
|
4819
|
+
push?: (id: number) => void;
|
|
4820
|
+
pop?: (id: number) => boolean;
|
|
4821
|
+
remove?: (id: number) => void;
|
|
4822
|
+
};
|
|
4823
|
+
declare const ModalContext: React$1.Context<ModalContextType>;
|
|
4824
|
+
declare function ModalProvider({ children }: {
|
|
4825
|
+
children: React$1.ReactNode;
|
|
4826
|
+
}): react_jsx_runtime.JSX.Element;
|
|
4827
|
+
|
|
4828
|
+
type AppProviderProps = {
|
|
4829
|
+
children: React.ReactNode;
|
|
4830
|
+
notifierLocation?: 'top' | 'bottom';
|
|
4831
|
+
initialTheme?: ColorSchemeType;
|
|
4832
|
+
onThemeChanged?: (v: ColorSchemeType) => void;
|
|
4833
|
+
};
|
|
4834
|
+
declare function LoonBulmaReactProviders({ children, initialTheme, notifierLocation, onThemeChanged, }: AppProviderProps): react_jsx_runtime.JSX.Element;
|
|
4835
|
+
|
|
4802
4836
|
type CopyType = {
|
|
4803
4837
|
/**
|
|
4804
4838
|
* Kopieer een waarde naar het clipboard, om die daarna ergens te kunnen plakken.
|
|
@@ -4915,7 +4949,7 @@ declare function getHotkeyHandler(hotkeys: ReactHotkeyItem[]): (event: React$1.K
|
|
|
4915
4949
|
* ];
|
|
4916
4950
|
* useHotkeys(hks);
|
|
4917
4951
|
*/
|
|
4918
|
-
declare function useHotkeys(hotkeys: HotkeyItem[]): void;
|
|
4952
|
+
declare function useHotkeys(hotkeys: HotkeyItem[], tagsToIgnore?: string[], triggerOnContentEditable?: boolean): void;
|
|
4919
4953
|
|
|
4920
4954
|
type UseLocalStoredStateFn<T = string> = {
|
|
4921
4955
|
/** Key to store the value with in Local Storage */
|
|
@@ -5266,4 +5300,4 @@ declare function ContextMenu({ outerRef, children }: {
|
|
|
5266
5300
|
children: React$1.ReactNode;
|
|
5267
5301
|
}): react_jsx_runtime.JSX.Element;
|
|
5268
5302
|
|
|
5269
|
-
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, ColorSchemeContext, ColorSchemeProvider, type ColorSchemeType, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, ContextMenu, 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, ContextMenu as RightClickMenu, 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, getCurrentColorScheme, getHotkeyHandler, getHotkeyMatcher, getSystemColorScheme, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, setColorScheme, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useColorScheme, useConfirm, useContextMenu, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useContextMenu as useRightClick, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|
|
5303
|
+
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, ColorSchemeContext, ColorSchemeProvider, type ColorSchemeType, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, ContextMenu, 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, LoonBulmaReactProviders, Menu, type MenuItemGroupProps, type MenuItemProps, type MenuProps, Message, type MessageProps, Modal, ModalContext, type ModalProps, ModalProvider, 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, ContextMenu as RightClickMenu, 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, colorPropToHex, dateSort, getCurrentColorScheme, getHotkeyHandler, getHotkeyMatcher, getSystemColorScheme, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColor, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, setColorScheme, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useColorScheme, useConfirm, useContextMenu, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useContextMenu as useRightClick, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|
package/dist/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ type AutoCompleteProp = 'on' | 'off' | 'nope' | 'current-password' | 'new-passwo
|
|
|
100
100
|
declare const enum DefinedHexColors {
|
|
101
101
|
Primary = "#0089b6",
|
|
102
102
|
Info = "#3b59ec",
|
|
103
|
-
Link = "2f47bc",
|
|
103
|
+
Link = "#2f47bc",
|
|
104
104
|
Success = "#519c43",
|
|
105
105
|
Danger = "#d91000",
|
|
106
106
|
Warning = "#eea720",
|
|
@@ -2665,6 +2665,12 @@ declare class JSDateTime {
|
|
|
2665
2665
|
*
|
|
2666
2666
|
*/
|
|
2667
2667
|
toFormat(format: string): string;
|
|
2668
|
+
/** formating for JSON, return the ISO-string */
|
|
2669
|
+
private toJSON;
|
|
2670
|
+
/** deserialize een JSDateTime, doet hetzelfde als JSDateTime.fromISO.
|
|
2671
|
+
* @param jsonStr een string met een ISO-datum
|
|
2672
|
+
*/
|
|
2673
|
+
static fromJSON(jsonStr: string): JSDateTime;
|
|
2668
2674
|
}
|
|
2669
2675
|
|
|
2670
2676
|
declare class JSDuration {
|
|
@@ -2813,7 +2819,12 @@ declare function rgbToHSL([r255, g255, b255]: RGBColor | [r: number, g: number,
|
|
|
2813
2819
|
* @todo: HSL kleuren zijn experimenteel!
|
|
2814
2820
|
*/
|
|
2815
2821
|
declare function hslToRGB([h, s, l]: HSLColor | [h: number, s: number, l: number]): RGBColor;
|
|
2816
|
-
|
|
2822
|
+
/** returns een random color van onze `ColorProp`s. */
|
|
2823
|
+
declare function randomColorProp(colors?: Array<ColorProp | HexColor$1>): ColorProp | HexColor$1;
|
|
2824
|
+
declare function colorPropToHex(color: ColorProp | HexColor$1): HexColor$1;
|
|
2825
|
+
/** returns een random color van onze `ColorProp`s. */
|
|
2826
|
+
declare function randomColor(colors?: Array<HexColor$1> | undefined): HexColor$1;
|
|
2827
|
+
/** controleer of een object een hex color is */
|
|
2817
2828
|
declare function isHexColor(obj: any): obj is HexColor$1;
|
|
2818
2829
|
declare function isRGBColor(obj: any): obj is RGBColor;
|
|
2819
2830
|
declare function isHSLColor(obj: any): obj is HSLColor;
|
|
@@ -4608,6 +4619,7 @@ type State$2 = {
|
|
|
4608
4619
|
ok: string;
|
|
4609
4620
|
cancel: string;
|
|
4610
4621
|
others?: React$1.ReactNode;
|
|
4622
|
+
modalID: number;
|
|
4611
4623
|
};
|
|
4612
4624
|
/**
|
|
4613
4625
|
* Confirm provider om `useConfirm`-hook te kunnen gebruiken.
|
|
@@ -4664,6 +4676,7 @@ type State$1 = {
|
|
|
4664
4676
|
cancel: string;
|
|
4665
4677
|
value: string;
|
|
4666
4678
|
inputProps: TextInputProps;
|
|
4679
|
+
modalID: number;
|
|
4667
4680
|
};
|
|
4668
4681
|
/**
|
|
4669
4682
|
* prompt provider om `usePrompt`-hook te kunnen gebruiken.
|
|
@@ -4703,9 +4716,9 @@ declare function usePrompt(submitTxt?: string, cancelTxt?: string, inputSettings
|
|
|
4703
4716
|
type?: AllowedPromptTypes;
|
|
4704
4717
|
}): {
|
|
4705
4718
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4706
|
-
onSubmit: (
|
|
4719
|
+
onSubmit: () => void;
|
|
4707
4720
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4708
|
-
onCancel: (
|
|
4721
|
+
onCancel: () => void;
|
|
4709
4722
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4710
4723
|
onUpdate: (val: string) => void;
|
|
4711
4724
|
/**
|
|
@@ -4724,12 +4737,14 @@ type ActionSheetButton<T extends unknown = {}> = string | {
|
|
|
4724
4737
|
icon?: string | IconProp;
|
|
4725
4738
|
value: T | string;
|
|
4726
4739
|
color?: ColorProp;
|
|
4740
|
+
key?: string | undefined;
|
|
4727
4741
|
};
|
|
4728
4742
|
type State<T extends unknown = {}> = {
|
|
4729
4743
|
show: boolean;
|
|
4730
4744
|
content: string | React$1.ReactNode;
|
|
4731
4745
|
buttons: Array<ActionSheetButton<T>>;
|
|
4732
4746
|
value?: ActionSheetButton<T>;
|
|
4747
|
+
modalID: number;
|
|
4733
4748
|
};
|
|
4734
4749
|
/**
|
|
4735
4750
|
* ActionSheet provider om `useActionSheet`-hook te kunnen gebruiken.
|
|
@@ -4770,6 +4785,7 @@ declare function ActionSheetProvider({ children }: {
|
|
|
4770
4785
|
declare function useActionSheet<T extends unknown = string>(buttons?: ActionSheetButton<T>[]): {
|
|
4771
4786
|
/** INTERNAL USE ONLY - DO NOT USE */
|
|
4772
4787
|
onAction: (val: ActionSheetButton<T>) => void;
|
|
4788
|
+
onCancel: () => void;
|
|
4773
4789
|
/**
|
|
4774
4790
|
* awaitable actionsheet function. Geef een string of Fragment op om iets in de actionsheet-modal te tonen
|
|
4775
4791
|
* @param content string of Fragment met de boodschap voor de actionsheet
|
|
@@ -4789,9 +4805,9 @@ declare const ColorSchemeContext: React$1.Context<{
|
|
|
4789
4805
|
scheme: ColorSchemeType;
|
|
4790
4806
|
setScheme: (v: ColorSchemeType) => void;
|
|
4791
4807
|
}>;
|
|
4792
|
-
declare function ColorSchemeProvider({ children,
|
|
4808
|
+
declare function ColorSchemeProvider({ children, initialScheme, onThemeChanged, }: {
|
|
4793
4809
|
children: React$1.ReactNode;
|
|
4794
|
-
|
|
4810
|
+
initialScheme?: ColorSchemeType | undefined;
|
|
4795
4811
|
onThemeChanged?: (t: ColorSchemeType) => void;
|
|
4796
4812
|
}): react_jsx_runtime.JSX.Element;
|
|
4797
4813
|
declare function useColorScheme(): {
|
|
@@ -4799,6 +4815,24 @@ declare function useColorScheme(): {
|
|
|
4799
4815
|
setScheme: (v: ColorSchemeType) => void;
|
|
4800
4816
|
};
|
|
4801
4817
|
|
|
4818
|
+
type ModalContextType = {
|
|
4819
|
+
push?: (id: number) => void;
|
|
4820
|
+
pop?: (id: number) => boolean;
|
|
4821
|
+
remove?: (id: number) => void;
|
|
4822
|
+
};
|
|
4823
|
+
declare const ModalContext: React$1.Context<ModalContextType>;
|
|
4824
|
+
declare function ModalProvider({ children }: {
|
|
4825
|
+
children: React$1.ReactNode;
|
|
4826
|
+
}): react_jsx_runtime.JSX.Element;
|
|
4827
|
+
|
|
4828
|
+
type AppProviderProps = {
|
|
4829
|
+
children: React.ReactNode;
|
|
4830
|
+
notifierLocation?: 'top' | 'bottom';
|
|
4831
|
+
initialTheme?: ColorSchemeType;
|
|
4832
|
+
onThemeChanged?: (v: ColorSchemeType) => void;
|
|
4833
|
+
};
|
|
4834
|
+
declare function LoonBulmaReactProviders({ children, initialTheme, notifierLocation, onThemeChanged, }: AppProviderProps): react_jsx_runtime.JSX.Element;
|
|
4835
|
+
|
|
4802
4836
|
type CopyType = {
|
|
4803
4837
|
/**
|
|
4804
4838
|
* Kopieer een waarde naar het clipboard, om die daarna ergens te kunnen plakken.
|
|
@@ -4915,7 +4949,7 @@ declare function getHotkeyHandler(hotkeys: ReactHotkeyItem[]): (event: React$1.K
|
|
|
4915
4949
|
* ];
|
|
4916
4950
|
* useHotkeys(hks);
|
|
4917
4951
|
*/
|
|
4918
|
-
declare function useHotkeys(hotkeys: HotkeyItem[]): void;
|
|
4952
|
+
declare function useHotkeys(hotkeys: HotkeyItem[], tagsToIgnore?: string[], triggerOnContentEditable?: boolean): void;
|
|
4919
4953
|
|
|
4920
4954
|
type UseLocalStoredStateFn<T = string> = {
|
|
4921
4955
|
/** Key to store the value with in Local Storage */
|
|
@@ -5266,4 +5300,4 @@ declare function ContextMenu({ outerRef, children }: {
|
|
|
5266
5300
|
children: React$1.ReactNode;
|
|
5267
5301
|
}): react_jsx_runtime.JSX.Element;
|
|
5268
5302
|
|
|
5269
|
-
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, ColorSchemeContext, ColorSchemeProvider, type ColorSchemeType, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, ContextMenu, 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, ContextMenu as RightClickMenu, 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, getCurrentColorScheme, getHotkeyHandler, getHotkeyMatcher, getSystemColorScheme, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, setColorScheme, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useColorScheme, useConfirm, useContextMenu, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useContextMenu as useRightClick, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|
|
5303
|
+
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, ColorSchemeContext, ColorSchemeProvider, type ColorSchemeType, Column, type ColumnProps, Columns, ComboBox, type ComboBoxProps, ConfirmProvider, Container, Content, ContextMenu, 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, LoonBulmaReactProviders, Menu, type MenuItemGroupProps, type MenuItemProps, type MenuProps, Message, type MessageProps, Modal, ModalContext, type ModalProps, ModalProvider, 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, ContextMenu as RightClickMenu, 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, colorPropToHex, dateSort, getCurrentColorScheme, getHotkeyHandler, getHotkeyMatcher, getSystemColorScheme, hasBSN, hexToHSL, hexToRGB, hslToHex, hslToRGB, isHSLColor, isHexColor, isIBAN, isRGBColor, leftPad, numSort, parseHotkey, randomColor, randomColorProp, randomDbl, randomInt, rgbToHSL, rgbToHex, rightPad, roundTo, setColorScheme, stringSort, useActionSheet, useBoolToggle, useClickOutside, useClipboard, useColorScheme, useConfirm, useContextMenu, useDebouncedState, useDebouncedValue, useFetchAPI, useHotkeys, useLocalStoredState, useNotifier, usePagination, usePrompt, useContextMenu as useRightClick, useScrollIntoView, useSessionStoredState, useToggle, useUncontrolled, useValidatedState };
|