loon-bulma-react 2026.0.41 → 2026.0.43
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/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/dist/components/Block/Block.d.ts +1 -1
- package/dist/components/Box/BorderBox.d.ts +9 -9
- package/dist/components/Box/Box.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +16 -16
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/Calendar/CalendarItems/CalendarColoredItem.d.ts +1 -1
- package/dist/components/Calendar/CalendarItems/CalendarItem.d.ts +1 -1
- package/dist/components/Calendar/DayContainer.d.ts +1 -1
- package/dist/components/Calendar/EventDescriptions.d.ts +3 -3
- package/dist/components/Calendar/Fourweeks/FourweeksView.d.ts +1 -1
- package/dist/components/Calendar/Mini/MiniView.d.ts +2 -1
- package/dist/components/Calendar/Month/MonthView.d.ts +1 -1
- package/dist/components/Calendar/Planning/PlanningView.d.ts +1 -1
- package/dist/components/Calendar/Week/AlldayContainer.d.ts +1 -1
- package/dist/components/Calendar/Week/HourRow.d.ts +2 -2
- package/dist/components/Calendar/Week/WeekView.d.ts +1 -1
- package/dist/components/CodeBlock/CodeBlock.d.ts +1 -1
- package/dist/components/Columns/Column.d.ts +24 -24
- package/dist/components/Columns/Columns.d.ts +1 -1
- package/dist/components/Container/Container.d.ts +5 -5
- package/dist/components/Content/Content.d.ts +1 -1
- package/dist/components/DataTable/DataTable.d.ts +20 -7
- package/dist/components/DataTable/DataTableDropdown.d.ts +5 -5
- package/dist/components/Divider/Divider.d.ts +9 -9
- package/dist/components/DragDrop/DragDropList.d.ts +4 -4
- package/dist/components/Dropdown/Dropdown.d.ts +5 -5
- package/dist/components/Footer/Footer.d.ts +1 -1
- package/dist/components/Help/Help.d.ts +7 -7
- package/dist/components/Hero/Hero.d.ts +9 -9
- package/dist/components/Icon/Icon.d.ts +3 -3
- package/dist/components/Image/Image.d.ts +2 -1
- package/dist/components/Indicator/Indicator.d.ts +1 -1
- package/dist/components/Kbd/Kbd.d.ts +2 -2
- package/dist/components/Label/Label.d.ts +1 -1
- package/dist/components/Link/Link.d.ts +2 -2
- package/dist/components/Menu/Menu.d.ts +6 -6
- package/dist/components/Message/Message.d.ts +7 -7
- package/dist/components/Modal/Modal.d.ts +4 -4
- package/dist/components/Notification/Notification.d.ts +7 -7
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Panel/Panel.d.ts +6 -6
- package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/components/QuickView/QuickView.d.ts +4 -4
- package/dist/components/ScrollArea/ScrollArea.d.ts +2 -2
- package/dist/components/Section/Section.d.ts +1 -1
- package/dist/components/SimpleTable/SimpleTable.d.ts +13 -13
- package/dist/components/Steps/Steps.d.ts +2 -2
- package/dist/components/TabBar/TabBar.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts +2 -2
- package/dist/components/TimeLine/TimeLine.d.ts +3 -3
- package/dist/components/Titles/Titles.d.ts +6 -6
- package/dist/components/ToggleBar/ToggleBar.d.ts +3 -3
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/TreeView/TreeView.d.ts +1 -1
- package/dist/contexts/ActionSheet/ActionSheetContextProvider.d.ts +1 -1
- package/dist/contexts/AppProvider/AppProviders.d.ts +1 -1
- package/dist/contexts/ColorSchemeProvider/ColorSchemeProvider.d.ts +1 -1
- package/dist/contexts/Confirm/ConfirmContextProvider.d.ts +1 -1
- package/dist/contexts/DefaultsProvider/DefaultsProvider.d.ts +1 -1
- package/dist/contexts/DialogsProvider/DialogsProvider.d.ts +1 -1
- package/dist/contexts/KeysProvider/KeysProvider.d.ts +1 -1
- package/dist/contexts/ModalProvider/ModalProvider.d.ts +1 -1
- package/dist/contexts/ModeProvider/ModeProvider.d.ts +1 -1
- package/dist/contexts/Notifier/Notifier.d.ts +2 -2
- package/dist/contexts/Prompt/PromptContextProvider.d.ts +1 -1
- package/dist/forms/Checkbox/Checkbox.d.ts +2 -2
- package/dist/forms/ComboBox/ComboBox.d.ts +1 -1
- package/dist/forms/ComboBox/MultiComboBox.d.ts +2 -1
- package/dist/forms/Currency/CurrencyInput.d.ts +2 -1
- package/dist/forms/Datetimes/DateInput.d.ts +2 -1
- package/dist/forms/Datetimes/DateTimeInput.d.ts +2 -1
- package/dist/forms/Datetimes/TimeInput.d.ts +2 -1
- package/dist/forms/File/FileInput.d.ts +1 -1
- package/dist/forms/Input.d.ts +3 -3
- package/dist/forms/MaskedInput/IBANInput.d.ts +2 -1
- package/dist/forms/Numeric/NumberInput.d.ts +2 -1
- package/dist/forms/Numeric/RangeInput.d.ts +2 -1
- package/dist/forms/Others/ColorInput.d.ts +2 -1
- package/dist/forms/Others/HiddenInput.d.ts +2 -1
- package/dist/forms/Others/TelephoneInput.d.ts +2 -1
- package/dist/forms/Others/URLInput.d.ts +2 -1
- package/dist/forms/Periodes/MonthInput.d.ts +2 -1
- package/dist/forms/Periodes/WeekInput.d.ts +2 -1
- package/dist/forms/Radio/Radio.d.ts +3 -3
- package/dist/forms/Select/Select.d.ts +4 -4
- package/dist/forms/TagsInput/TagsInput.d.ts +2 -1
- package/dist/forms/Text/EmailInput.d.ts +2 -1
- package/dist/forms/Text/FormattedInput.d.ts +2 -1
- package/dist/forms/Text/PasswordInput.d.ts +2 -1
- package/dist/forms/Text/TextArea.d.ts +1 -1
- package/dist/forms/Text/TextEditor.d.ts +2 -1
- package/dist/forms/Text/TextInput.d.ts +2 -1
- package/dist/hooks/useContextMenu.d.ts +1 -1
- package/dist/index.js +153 -63
- package/dist/styles/_all.scss +1 -1
- package/dist/styles/table.scss +42 -0
- package/package.json +10 -10
|
@@ -19,4 +19,4 @@ export type FooterProps = {
|
|
|
19
19
|
* @returns een footer met daarin de content.
|
|
20
20
|
* @example <Footer>This is a footer</Footer>
|
|
21
21
|
*/
|
|
22
|
-
export declare function Footer({ children, alignment, className: cn, styles, id, itemRef }: FooterProps):
|
|
22
|
+
export declare function Footer({ children, alignment, className: cn, styles, id, itemRef }: FooterProps): React.JSX.Element;
|
|
@@ -7,13 +7,13 @@ type HelpTxtProps = {
|
|
|
7
7
|
};
|
|
8
8
|
type HelpTxtPropsNoColor = StrictOmit<HelpTxtProps, 'color'>;
|
|
9
9
|
declare const HelpTxt: {
|
|
10
|
-
({ color, className: cn, children }: HelpTxtProps):
|
|
11
|
-
Info(props: HelpTxtPropsNoColor):
|
|
12
|
-
Link(props: HelpTxtPropsNoColor):
|
|
13
|
-
Primary(props: HelpTxtPropsNoColor):
|
|
14
|
-
Danger(props: HelpTxtPropsNoColor):
|
|
15
|
-
Success(props: HelpTxtPropsNoColor):
|
|
16
|
-
Warning(props: HelpTxtPropsNoColor):
|
|
10
|
+
({ color, className: cn, children }: HelpTxtProps): React.JSX.Element;
|
|
11
|
+
Info(props: HelpTxtPropsNoColor): React.JSX.Element;
|
|
12
|
+
Link(props: HelpTxtPropsNoColor): React.JSX.Element;
|
|
13
|
+
Primary(props: HelpTxtPropsNoColor): React.JSX.Element;
|
|
14
|
+
Danger(props: HelpTxtPropsNoColor): React.JSX.Element;
|
|
15
|
+
Success(props: HelpTxtPropsNoColor): React.JSX.Element;
|
|
16
|
+
Warning(props: HelpTxtPropsNoColor): React.JSX.Element;
|
|
17
17
|
};
|
|
18
18
|
export { HelpTxt };
|
|
19
19
|
export type { HelpTxtProps };
|
|
@@ -20,10 +20,10 @@ type HeroProps = {
|
|
|
20
20
|
* @example
|
|
21
21
|
*/
|
|
22
22
|
declare const Hero: {
|
|
23
|
-
({ children: nodes, heroColorFor, size, itemRef, id, forceScheme }: HeroProps):
|
|
23
|
+
({ children: nodes, heroColorFor, size, itemRef, id, forceScheme }: HeroProps): React.JSX.Element;
|
|
24
24
|
Body({ children }: {
|
|
25
25
|
children: React.ReactNode;
|
|
26
|
-
}):
|
|
26
|
+
}): React.JSX.Element;
|
|
27
27
|
/**
|
|
28
28
|
* Hero foot with navigation
|
|
29
29
|
* @param props props
|
|
@@ -44,10 +44,10 @@ declare const Hero: {
|
|
|
44
44
|
({ children, narrow }: {
|
|
45
45
|
children: React.ReactNode;
|
|
46
46
|
narrow?: boolean;
|
|
47
|
-
}):
|
|
47
|
+
}): React.JSX.Element;
|
|
48
48
|
NavList({ children }: {
|
|
49
49
|
children: React.ReactNode;
|
|
50
|
-
}):
|
|
50
|
+
}): React.JSX.Element;
|
|
51
51
|
NavItem: typeof FootNavItem;
|
|
52
52
|
/** Navigation Item voor in een Hero Foot. Parent should be <Hero.Foot.NavList>
|
|
53
53
|
* @param props props
|
|
@@ -72,26 +72,26 @@ declare const Hero: {
|
|
|
72
72
|
Head: {
|
|
73
73
|
({ children }: {
|
|
74
74
|
children: React.ReactNode;
|
|
75
|
-
}):
|
|
75
|
+
}): React.JSX.Element;
|
|
76
76
|
Button({ children, title, onClick }: {
|
|
77
77
|
children: React.ReactNode;
|
|
78
78
|
title?: string;
|
|
79
79
|
onClick?: (e: any) => void;
|
|
80
|
-
}):
|
|
80
|
+
}): React.JSX.Element;
|
|
81
81
|
Link({ children, title, to, target, rel, }: {
|
|
82
82
|
children: React.ReactNode;
|
|
83
83
|
title?: string;
|
|
84
84
|
to?: string;
|
|
85
85
|
target?: AnchorTargetProp;
|
|
86
86
|
rel?: AnchorRelProp;
|
|
87
|
-
}):
|
|
87
|
+
}): React.JSX.Element;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
declare function FootNavItem({ children, active, title }: {
|
|
91
91
|
children: React.ReactNode;
|
|
92
92
|
active?: boolean;
|
|
93
93
|
title?: string;
|
|
94
|
-
}):
|
|
94
|
+
}): React.JSX.Element;
|
|
95
95
|
declare function FootNavLink({ children, active, title, to, target, rel, }: {
|
|
96
96
|
children: React.ReactNode;
|
|
97
97
|
active?: boolean;
|
|
@@ -99,6 +99,6 @@ declare function FootNavLink({ children, active, title, to, target, rel, }: {
|
|
|
99
99
|
to?: string;
|
|
100
100
|
target?: AnchorTargetProp;
|
|
101
101
|
rel?: AnchorRelProp;
|
|
102
|
-
}):
|
|
102
|
+
}): React.JSX.Element;
|
|
103
103
|
export { Hero };
|
|
104
104
|
export type { HeroProps };
|
|
@@ -28,7 +28,7 @@ type IconProps = {
|
|
|
28
28
|
* <Icon icon="fas fa-flag" />
|
|
29
29
|
* <Icon icon={faFlag} /> // import { faFlag } from '@fortawesome/free-solid-svg-icons';
|
|
30
30
|
*/
|
|
31
|
-
declare function Icon({ color, size, rotation, icon, flip, animate, className: classNameProp }: IconProps):
|
|
31
|
+
declare function Icon({ color, size, rotation, icon, flip, animate, className: classNameProp }: IconProps): React.JSX.Element;
|
|
32
32
|
type IconTextProps = {
|
|
33
33
|
/** React font-awesome icon
|
|
34
34
|
* - `string`: geef de gehele font-awesome-class op. 'flip', 'animate', 'rotation' worden dan al gebruikt in deze class.
|
|
@@ -63,7 +63,7 @@ type IconTextProps = {
|
|
|
63
63
|
* <IconText icon="fas fa-flag">Flag</IconText>
|
|
64
64
|
* <IconText icon={faFlag}>Flag</IconText> // import { faFlag } from '@fortawesome/free-solid-svg-icons';
|
|
65
65
|
*/
|
|
66
|
-
declare function IconText({ icon, size, color, iconColor, rotation, flip, animate, allowWrap, children, className: classNameProp }: IconTextProps):
|
|
66
|
+
declare function IconText({ icon, size, color, iconColor, rotation, flip, animate, allowWrap, children, className: classNameProp }: IconTextProps): React.JSX.Element;
|
|
67
67
|
type IconStackProps = {
|
|
68
68
|
colors?: ColorProp[];
|
|
69
69
|
icons: string[] | IconProp[];
|
|
@@ -79,6 +79,6 @@ type IconStackProps = {
|
|
|
79
79
|
* @param icons: array van iconen. (default = [faHorseHead, faSlash])
|
|
80
80
|
* @returns
|
|
81
81
|
*/
|
|
82
|
-
declare function IconStack({ colors: clrs, icons, sizes: szs }: IconStackProps):
|
|
82
|
+
declare function IconStack({ colors: clrs, icons, sizes: szs }: IconStackProps): React.JSX.Element;
|
|
83
83
|
export { Icon, IconText, IconStack };
|
|
84
84
|
export type { IconProps, IconTextProps, IconStackProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type ImageProps = {
|
|
2
3
|
/** De ratio (width x height) van de afbeelding */
|
|
3
4
|
ratio: '1by1' | '5by4' | '4by5' | '4by3' | '3by4' | '3by2' | '2by3' | '5by3' | '3by5' | '16by9' | '9by16' | '2by1' | '1by2' | '3by1' | '1by3' | 'square';
|
|
@@ -23,6 +24,6 @@ type ImageProps = {
|
|
|
23
24
|
* @returns an image with a fixed aspect ratio
|
|
24
25
|
* @example <Image ratio="1by1" src="https://www.loon.be/images/logo.png" alt="Loon.be" />
|
|
25
26
|
*/
|
|
26
|
-
declare function Image({ ratio, imgWidth, alt, figCaption, className, isRounded, src }: ImageProps):
|
|
27
|
+
declare function Image({ ratio, imgWidth, alt, figCaption, className, isRounded, src }: ImageProps): React.JSX.Element;
|
|
27
28
|
export { Image };
|
|
28
29
|
export type { ImageProps };
|
|
@@ -20,6 +20,6 @@ type IndicatorProps = {
|
|
|
20
20
|
* 5
|
|
21
21
|
* </Indicator>
|
|
22
22
|
*/
|
|
23
|
-
declare function Indicator({ position, color, title, children }: IndicatorProps):
|
|
23
|
+
declare function Indicator({ position, color, title, children }: IndicatorProps): React.JSX.Element;
|
|
24
24
|
export { Indicator };
|
|
25
25
|
export type { IndicatorProps };
|
|
@@ -19,12 +19,12 @@ type KbdsProps = {
|
|
|
19
19
|
* @returns een element dat lijkt op een keyboard-key
|
|
20
20
|
* @example <Kbd>A</Kbd>
|
|
21
21
|
*/
|
|
22
|
-
declare function Kbd({ children, className: cn }: KbdProps):
|
|
22
|
+
declare function Kbd({ children, className: cn }: KbdProps): React.JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* Toont meerdere keyboard-keys, gescheiden door een teken (deafult = '+')
|
|
25
25
|
* @param props
|
|
26
26
|
* @returns een rijtje keyboard-keys
|
|
27
27
|
* @example <Kbds keys={['ctrl+S', 'shift+D']} />
|
|
28
28
|
*/
|
|
29
|
-
declare function Kbds({ keys, separator, className }: KbdsProps):
|
|
29
|
+
declare function Kbds({ keys, separator, className }: KbdsProps): React.JSX.Element;
|
|
30
30
|
export { Kbd, Kbds };
|
|
@@ -7,5 +7,5 @@ type ComponentProps = {
|
|
|
7
7
|
/** Props voo de LabelComponent */
|
|
8
8
|
export type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement> & ComponentProps;
|
|
9
9
|
/** Speciaal voor Menno: een Label Component */
|
|
10
|
-
export declare function Label({ children, className: cnProp, style, htmlFor, ...props }: LabelProps):
|
|
10
|
+
export declare function Label({ children, className: cnProp, style, htmlFor, ...props }: LabelProps): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -14,7 +14,7 @@ type LinkButtonProps = {
|
|
|
14
14
|
* @returns een button die er uit ziet als een link
|
|
15
15
|
* @example <LinkButton onClick={handleClick}>Click me!</LinkButton>
|
|
16
16
|
*/
|
|
17
|
-
declare function LinkButton({ fullwidth, children, color, onClick, ...props }: LinkButtonProps):
|
|
17
|
+
declare function LinkButton({ fullwidth, children, color, onClick, ...props }: LinkButtonProps): React.JSX.Element;
|
|
18
18
|
type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
19
19
|
color?: ColorProp;
|
|
20
20
|
/** link / URL */
|
|
@@ -39,6 +39,6 @@ type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
|
39
39
|
* @returns een link
|
|
40
40
|
* @example <Link href="https://www.google.com">Google</Link>
|
|
41
41
|
*/
|
|
42
|
-
declare function Link({ color, href, target, id, rel, children, ...props }: LinkProps):
|
|
42
|
+
declare function Link({ color, href, target, id, rel, children, ...props }: LinkProps): React.JSX.Element;
|
|
43
43
|
export { Link, LinkButton };
|
|
44
44
|
export type { LinkProps, LinkButtonProps };
|
|
@@ -51,14 +51,14 @@ type ExpandableMenuItemProps = {
|
|
|
51
51
|
* </Menu>
|
|
52
52
|
*/
|
|
53
53
|
declare const Menu: {
|
|
54
|
-
({ initialItem, children, className: classes, style, onMenuItemClicked, itemRef }: MenuProps):
|
|
55
|
-
Item({ name, children }: MenuItemProps & React.HTMLAttributes<HTMLSpanElement>):
|
|
56
|
-
ItemGroup({ label, children }: MenuItemGroupProps & React.HTMLAttributes<HTMLSpanElement>):
|
|
57
|
-
ExpandableGroup(props: ExpandableMenuItemProps):
|
|
58
|
-
ExpandableItem(props: ExpandableMenuItemProps & React.HTMLAttributes<HTMLSpanElement>):
|
|
54
|
+
({ initialItem, children, className: classes, style, onMenuItemClicked, itemRef }: MenuProps): React.JSX.Element;
|
|
55
|
+
Item({ name, children }: MenuItemProps & React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
56
|
+
ItemGroup({ label, children }: MenuItemGroupProps & React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
57
|
+
ExpandableGroup(props: ExpandableMenuItemProps): React.JSX.Element;
|
|
58
|
+
ExpandableItem(props: ExpandableMenuItemProps & React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
59
59
|
Label({ children }: {
|
|
60
60
|
children: React.ReactNode;
|
|
61
|
-
}):
|
|
61
|
+
}): React.JSX.Element;
|
|
62
62
|
};
|
|
63
63
|
export { Menu };
|
|
64
64
|
export type { MenuProps, MenuItemProps, MenuItemGroupProps };
|
|
@@ -37,13 +37,13 @@ type MessageProps = {
|
|
|
37
37
|
* @example <Message color="d" size="s" title="This is a title" startCollapsed>This is a message that could NOT be collapsed/expanded</Message>
|
|
38
38
|
*/
|
|
39
39
|
declare const Message: {
|
|
40
|
-
({ id, children, title, size, color, icon: customIcon, collapsable, startCollapsed, itemRef, onDismiss, }: MessageProps):
|
|
41
|
-
Primary(props: StrictOmit<MessageProps, "color">):
|
|
42
|
-
Success(props: StrictOmit<MessageProps, "color">):
|
|
43
|
-
Danger(props: StrictOmit<MessageProps, "color">):
|
|
44
|
-
Warning(props: StrictOmit<MessageProps, "color">):
|
|
45
|
-
Info(props: StrictOmit<MessageProps, "color">):
|
|
46
|
-
Link(props: StrictOmit<MessageProps, "color">):
|
|
40
|
+
({ id, children, title, size, color, icon: customIcon, collapsable, startCollapsed, itemRef, onDismiss, }: MessageProps): React.JSX.Element;
|
|
41
|
+
Primary(props: StrictOmit<MessageProps, "color">): React.JSX.Element;
|
|
42
|
+
Success(props: StrictOmit<MessageProps, "color">): React.JSX.Element;
|
|
43
|
+
Danger(props: StrictOmit<MessageProps, "color">): React.JSX.Element;
|
|
44
|
+
Warning(props: StrictOmit<MessageProps, "color">): React.JSX.Element;
|
|
45
|
+
Info(props: StrictOmit<MessageProps, "color">): React.JSX.Element;
|
|
46
|
+
Link(props: StrictOmit<MessageProps, "color">): React.JSX.Element;
|
|
47
47
|
};
|
|
48
48
|
export { Message };
|
|
49
49
|
export type { MessageProps };
|
|
@@ -56,11 +56,11 @@ type ModalProps = {
|
|
|
56
56
|
* </Modal>
|
|
57
57
|
*/
|
|
58
58
|
declare const Modal: {
|
|
59
|
-
({ id, z, size, width, height, children: nodeChildren, onOpened, onDismiss, helpTag }: ModalProps):
|
|
59
|
+
({ id, z, size, width, height, children: nodeChildren, onOpened, onDismiss, helpTag }: ModalProps): React.JSX.Element;
|
|
60
60
|
Head({ children, id }: {
|
|
61
61
|
id?: string | undefined;
|
|
62
62
|
children: React.ReactNode;
|
|
63
|
-
}):
|
|
63
|
+
}): React.JSX.Element;
|
|
64
64
|
/**
|
|
65
65
|
* Een scrollende body voor de modal
|
|
66
66
|
* @param props
|
|
@@ -80,10 +80,10 @@ declare function InternBody({ id, children, helpTag }: {
|
|
|
80
80
|
id?: string | undefined;
|
|
81
81
|
children: React.ReactNode;
|
|
82
82
|
helpTag?: string | undefined;
|
|
83
|
-
}):
|
|
83
|
+
}): React.JSX.Element;
|
|
84
84
|
declare function InternFoot({ id, children }: {
|
|
85
85
|
id?: string | undefined;
|
|
86
86
|
children: React.ReactNode;
|
|
87
|
-
}):
|
|
87
|
+
}): React.JSX.Element;
|
|
88
88
|
export { Modal };
|
|
89
89
|
export type { ModalProps };
|
|
@@ -27,12 +27,12 @@ export type NotificationProps = {
|
|
|
27
27
|
* @example <Notification>Hello World</Notification>
|
|
28
28
|
*/
|
|
29
29
|
declare const Notification: {
|
|
30
|
-
({ children, onDismiss, onClick, autoDismissAfter, color, icon, id, itemRef }: NotificationProps):
|
|
31
|
-
Primary(props: StrictOmit<NotificationProps, "color">):
|
|
32
|
-
Danger(props: StrictOmit<NotificationProps, "color">):
|
|
33
|
-
Warning(props: StrictOmit<NotificationProps, "color">):
|
|
34
|
-
Success(props: StrictOmit<NotificationProps, "color">):
|
|
35
|
-
Link(props: StrictOmit<NotificationProps, "color">):
|
|
36
|
-
Info(props: StrictOmit<NotificationProps, "color">):
|
|
30
|
+
({ children, onDismiss, onClick, autoDismissAfter, color, icon, id, itemRef }: NotificationProps): React.JSX.Element;
|
|
31
|
+
Primary(props: StrictOmit<NotificationProps, "color">): React.JSX.Element;
|
|
32
|
+
Danger(props: StrictOmit<NotificationProps, "color">): React.JSX.Element;
|
|
33
|
+
Warning(props: StrictOmit<NotificationProps, "color">): React.JSX.Element;
|
|
34
|
+
Success(props: StrictOmit<NotificationProps, "color">): React.JSX.Element;
|
|
35
|
+
Link(props: StrictOmit<NotificationProps, "color">): React.JSX.Element;
|
|
36
|
+
Info(props: StrictOmit<NotificationProps, "color">): React.JSX.Element;
|
|
37
37
|
};
|
|
38
38
|
export { Notification };
|
|
@@ -53,6 +53,6 @@ type PaginationProps = {
|
|
|
53
53
|
* @param prev - functie die wordt aangeroepen als er op de vorige-pagina knop wordt geklikt
|
|
54
54
|
* @param next - functie die wordt aangeroepen als er op de volgende-pagina knop wordt geklikt
|
|
55
55
|
*/
|
|
56
|
-
declare function Pagination({ range, currentPage, size, hideFirst, hideLast, hidePrev, hideNext, hideNumbers, disabled, set, first, last, prev, next, }: PaginationProps): import("react
|
|
56
|
+
declare function Pagination({ range, currentPage, size, hideFirst, hideLast, hidePrev, hideNext, hideNumbers, disabled, set, first, last, prev, next, }: PaginationProps): import("node_modules/@types/react").JSX.Element;
|
|
57
57
|
export { Pagination };
|
|
58
58
|
export type { PaginationProps };
|
|
@@ -84,16 +84,16 @@ type PanelInputProps<T extends InputValueType> = PrettierType<StrictOmit<InputPr
|
|
|
84
84
|
* </Panel>
|
|
85
85
|
*/
|
|
86
86
|
declare const Panel: {
|
|
87
|
-
({ color, className: cnProp, children }: PanelProps):
|
|
88
|
-
Tabs({ tabs, activeTab, onTabChange, children }: PanelTabsProps):
|
|
89
|
-
TabItem({ active, disabled, onClick, children }: PanelTabItemProps):
|
|
87
|
+
({ color, className: cnProp, children }: PanelProps): React.JSX.Element;
|
|
88
|
+
Tabs({ tabs, activeTab, onTabChange, children }: PanelTabsProps): React.JSX.Element;
|
|
89
|
+
TabItem({ active, disabled, onClick, children }: PanelTabItemProps): React.JSX.Element;
|
|
90
90
|
Header({ children }: {
|
|
91
91
|
children: React.ReactNode;
|
|
92
|
-
}):
|
|
93
|
-
Item({ icon, active, disabled, children, onClick }: PanelItemProps):
|
|
92
|
+
}): React.JSX.Element;
|
|
93
|
+
Item({ icon, active, disabled, children, onClick }: PanelItemProps): React.JSX.Element;
|
|
94
94
|
/** Een input op het panel */
|
|
95
95
|
Input: typeof PanelInput;
|
|
96
96
|
};
|
|
97
|
-
declare function PanelInput({ icon, id: idProp, infoData, helpTag, name, loading, disabled, value, iconRight, onBlur, onFocus, ...props }: PanelInputProps<string>):
|
|
97
|
+
declare function PanelInput({ icon, id: idProp, infoData, helpTag, name, loading, disabled, value, iconRight, onBlur, onFocus, ...props }: PanelInputProps<string>): React.JSX.Element;
|
|
98
98
|
export { Panel };
|
|
99
99
|
export type { PanelProps };
|
|
@@ -23,6 +23,6 @@ type ProgressBarProps = {
|
|
|
23
23
|
* <ProgressBar value={50} extension="%" />
|
|
24
24
|
* <ProgressBar size='xl' />
|
|
25
25
|
*/
|
|
26
|
-
declare function ProgressBar({ color, size, prefix, suffix, max, value, title: titleProp }: ProgressBarProps): import("react
|
|
26
|
+
declare function ProgressBar({ color, size, prefix, suffix, max, value, title: titleProp }: ProgressBarProps): import("node_modules/@types/react").JSX.Element;
|
|
27
27
|
export { ProgressBar };
|
|
28
28
|
export type { ProgressBarProps };
|
|
@@ -40,17 +40,17 @@ type QuickViewProps = {
|
|
|
40
40
|
* </QuickView>
|
|
41
41
|
*/
|
|
42
42
|
declare const QuickView: {
|
|
43
|
-
({ children, id, itemRef, color, alignment, tag, onDismiss, onOpened }: QuickViewProps):
|
|
43
|
+
({ children, id, itemRef, color, alignment, tag, onDismiss, onOpened }: QuickViewProps): React.JSX.Element;
|
|
44
44
|
Header: typeof InternHeader;
|
|
45
|
-
Body: ({ children }: InternBodyProps) =>
|
|
46
|
-
Footer: ({ children }: InternFooterProps) =>
|
|
45
|
+
Body: ({ children }: InternBodyProps) => React.JSX.Element;
|
|
46
|
+
Footer: ({ children }: InternFooterProps) => React.JSX.Element;
|
|
47
47
|
};
|
|
48
48
|
type InternHeaderProps = {
|
|
49
49
|
children?: React.ReactNode;
|
|
50
50
|
color?: ColorProp;
|
|
51
51
|
onDismiss?: () => void;
|
|
52
52
|
};
|
|
53
|
-
declare function InternHeader({ children, color, onDismiss }: InternHeaderProps):
|
|
53
|
+
declare function InternHeader({ children, color, onDismiss }: InternHeaderProps): React.JSX.Element;
|
|
54
54
|
type InternBodyProps = {
|
|
55
55
|
children: React.ReactNode;
|
|
56
56
|
};
|
|
@@ -41,7 +41,7 @@ declare const ScrollArea: {
|
|
|
41
41
|
* - `string`: '160x', '10em', etc.
|
|
42
42
|
*/
|
|
43
43
|
minItemWidth?: number | string;
|
|
44
|
-
}) =>
|
|
44
|
+
}) => React.JSX.Element;
|
|
45
45
|
/** Maak een verticale flexbox container om items onder elkaar (default van boven naar beneden) neer te zetten, met of zonder wrappen
|
|
46
46
|
* @param props
|
|
47
47
|
* @returns ScrollArea in verticale richting
|
|
@@ -71,6 +71,6 @@ declare const ScrollArea: {
|
|
|
71
71
|
alignment?: AlignmentProp;
|
|
72
72
|
/** Alleen voor verticale flexboxen: een met een maximale hoogte waarna de container gaat scrollen */
|
|
73
73
|
maxHeight?: number | string;
|
|
74
|
-
}) =>
|
|
74
|
+
}) => React.JSX.Element;
|
|
75
75
|
};
|
|
76
76
|
export { ScrollArea };
|
|
@@ -17,5 +17,5 @@ type SectionPropsType = {
|
|
|
17
17
|
* @returns een sectie voor op de pagina, met ruimte eromheen
|
|
18
18
|
* @example <Section>This is a section</Section>
|
|
19
19
|
*/
|
|
20
|
-
export declare function Section({ children, className: cn, styles, id, itemRef, size }: SectionPropsType):
|
|
20
|
+
export declare function Section({ children, className: cn, styles, id, itemRef, size }: SectionPropsType): React.JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -73,7 +73,7 @@ type SimpleTableColProps<T extends unknown = unknown> = {
|
|
|
73
73
|
* bordered={false}
|
|
74
74
|
* />
|
|
75
75
|
*/
|
|
76
|
-
declare function SimpleTable<T extends unknown = unknown>({ rowIdentifier: rowKey, columns: cols, data, onRowSelected, tableRef, containerRef, id, hasFooter, ...props }: SimpleTableProps<T>):
|
|
76
|
+
declare function SimpleTable<T extends unknown = unknown>({ rowIdentifier: rowKey, columns: cols, data, onRowSelected, tableRef, containerRef, id, hasFooter, ...props }: SimpleTableProps<T>): React.JSX.Element;
|
|
77
77
|
type TableProps = {
|
|
78
78
|
id?: string;
|
|
79
79
|
containerRef?: React.RefObject<HTMLDivElement>;
|
|
@@ -102,29 +102,29 @@ type TablePartProps<T extends HTMLElement = HTMLElement> = {
|
|
|
102
102
|
* - `Table.Col` is de `<col>` tag. Deze kan je gebruiken om een column in de tabel te maken en deze bijvoorbeeld met een achtergrondkleur te vullen.
|
|
103
103
|
*/
|
|
104
104
|
declare const Table: {
|
|
105
|
-
({ id, containerRef, tableRef, scrollX, striped, bordered, hoverable, fullwidth, narrow, children, className: extraClasses, }: TableProps):
|
|
106
|
-
Head({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>):
|
|
107
|
-
Foot({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>):
|
|
108
|
-
Body({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>):
|
|
109
|
-
Row({ children, className, ...props }: TablePartProps<HTMLTableRowElement>):
|
|
105
|
+
({ id, containerRef, tableRef, scrollX, striped, bordered, hoverable, fullwidth, narrow, children, className: extraClasses, }: TableProps): React.JSX.Element;
|
|
106
|
+
Head({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): React.JSX.Element;
|
|
107
|
+
Foot({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): React.JSX.Element;
|
|
108
|
+
Body({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): React.JSX.Element;
|
|
109
|
+
Row({ children, className, ...props }: TablePartProps<HTMLTableRowElement>): React.JSX.Element;
|
|
110
110
|
Cell({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
111
111
|
children?: React.ReactNode;
|
|
112
|
-
}):
|
|
112
|
+
}): React.JSX.Element;
|
|
113
113
|
HCell({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
114
114
|
children?: React.ReactNode;
|
|
115
|
-
}):
|
|
116
|
-
ColGroup({ className, ...props }: StrictOmit<TablePartProps<HTMLTableColElement>, "span">):
|
|
117
|
-
Col(props: StrictOmit<TablePartProps<HTMLTableColElement>, "children">):
|
|
115
|
+
}): React.JSX.Element;
|
|
116
|
+
ColGroup({ className, ...props }: StrictOmit<TablePartProps<HTMLTableColElement>, "span">): React.JSX.Element;
|
|
117
|
+
Col(props: StrictOmit<TablePartProps<HTMLTableColElement>, "children">): React.JSX.Element;
|
|
118
118
|
/** `<tr>`, table-row */
|
|
119
|
-
TR: ({ children, className, ...props }: TablePartProps<HTMLTableRowElement>) =>
|
|
119
|
+
TR: ({ children, className, ...props }: TablePartProps<HTMLTableRowElement>) => React.JSX.Element;
|
|
120
120
|
/** `<td>`-cell */
|
|
121
121
|
TD: ({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
122
122
|
children?: React.ReactNode;
|
|
123
|
-
}) =>
|
|
123
|
+
}) => React.JSX.Element;
|
|
124
124
|
/** `<th>`-cell */
|
|
125
125
|
TH: ({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
126
126
|
children?: React.ReactNode;
|
|
127
|
-
}) =>
|
|
127
|
+
}) => React.JSX.Element;
|
|
128
128
|
};
|
|
129
129
|
export { SimpleTable, Table };
|
|
130
130
|
export type { SimpleTableProps, SimpleTableColProps };
|
|
@@ -54,8 +54,8 @@ type StepItemProps = {
|
|
|
54
54
|
* </Steps>
|
|
55
55
|
*/
|
|
56
56
|
declare const Steps: {
|
|
57
|
-
({ size, id, itemRef, className: cn, activeStepIndex, onChangeStep, children, stepChoice }: StepsProps):
|
|
58
|
-
Item(props: StepItemProps):
|
|
57
|
+
({ size, id, itemRef, className: cn, activeStepIndex, onChangeStep, children, stepChoice }: StepsProps): React.JSX.Element;
|
|
58
|
+
Item(props: StepItemProps): React.JSX.Element;
|
|
59
59
|
};
|
|
60
60
|
export { Steps };
|
|
61
61
|
export type { StepItemProps, StepsProps };
|
|
@@ -41,7 +41,7 @@ export type TabBarItemProps = {
|
|
|
41
41
|
* </TabBar>
|
|
42
42
|
*/
|
|
43
43
|
declare const TabBar: {
|
|
44
|
-
({ id, type, activeTab: currentActiveTab, initialTab, size: sizeProp, alignment, fullwidth, children, onTabChange }: TabBarProps):
|
|
45
|
-
Item(_props: StrictOmit<TabBarItemProps, "onClick" | "isActive">):
|
|
44
|
+
({ id, type, activeTab: currentActiveTab, initialTab, size: sizeProp, alignment, fullwidth, children, onTabChange }: TabBarProps): React.JSX.Element;
|
|
45
|
+
Item(_props: StrictOmit<TabBarItemProps, "onClick" | "isActive">): React.JSX.Element;
|
|
46
46
|
};
|
|
47
47
|
export { TabBar };
|
|
@@ -39,7 +39,7 @@ export type TagsProps = {
|
|
|
39
39
|
* <Tag>Hello</Tag>
|
|
40
40
|
* <Tag color='d'>Danger</Tag>
|
|
41
41
|
*/
|
|
42
|
-
export declare function Tag({ children, color, size: sizeProp, light, dark, title, onDismiss }: TagProps):
|
|
42
|
+
export declare function Tag({ children, color, size: sizeProp, light, dark, title, onDismiss }: TagProps): React.JSX.Element;
|
|
43
43
|
/**
|
|
44
44
|
* Maak een tag-container aan. De tags kunnen aan elkaar geplakt worden of niet.
|
|
45
45
|
* De grootte van de tags kan ook ingesteld worden
|
|
@@ -51,4 +51,4 @@ export declare function Tag({ children, color, size: sizeProp, light, dark, titl
|
|
|
51
51
|
* <Tag color="i">Tag 2</Tag>
|
|
52
52
|
* </Tags>
|
|
53
53
|
*/
|
|
54
|
-
export declare function Tags({ children: nodes, merged, size: sizeProp, alignment, className: cn, styles, itemRef, id, }: TagsProps):
|
|
54
|
+
export declare function Tags({ children: nodes, merged, size: sizeProp, alignment, className: cn, styles, itemRef, id, }: TagsProps): React.JSX.Element;
|
|
@@ -54,9 +54,9 @@ type TimeLinePointProps = {
|
|
|
54
54
|
* </TimeLine>
|
|
55
55
|
*/
|
|
56
56
|
declare const TimeLine: {
|
|
57
|
-
({ id, alignment, children, className: cn }: TimeLineProps): import("react
|
|
58
|
-
Point({ children, color, size, title, onClick }: TimeLinePointProps): import("react
|
|
59
|
-
Item({ marker, heading, children, title, onClick }: TimeLineItemProps): import("react
|
|
57
|
+
({ id, alignment, children, className: cn }: TimeLineProps): import("node_modules/@types/react").JSX.Element;
|
|
58
|
+
Point({ children, color, size, title, onClick }: TimeLinePointProps): import("node_modules/@types/react").JSX.Element;
|
|
59
|
+
Item({ marker, heading, children, title, onClick }: TimeLineItemProps): import("node_modules/@types/react").JSX.Element;
|
|
60
60
|
};
|
|
61
61
|
export { TimeLine };
|
|
62
62
|
export type { TimeLineProps, TimeLineItemProps, TimeLinePointProps };
|
|
@@ -17,7 +17,7 @@ type HeadingProps = {
|
|
|
17
17
|
* @example <H1 size='1'>Title</H1>
|
|
18
18
|
* @example <H1 subtitle size={1}>Subtitle</H1>
|
|
19
19
|
*/
|
|
20
|
-
declare const H1: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) =>
|
|
20
|
+
declare const H1: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) => React.JSX.Element;
|
|
21
21
|
/**
|
|
22
22
|
* Een `<h2>`
|
|
23
23
|
* @param children: de content van de tag
|
|
@@ -27,7 +27,7 @@ declare const H1: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, clas
|
|
|
27
27
|
* @example <H2 size='1'>Title</H2>
|
|
28
28
|
* @example <H2 subtitle size={1}>Subtitle</H2>
|
|
29
29
|
*/
|
|
30
|
-
declare const H2: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) =>
|
|
30
|
+
declare const H2: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) => React.JSX.Element;
|
|
31
31
|
/**
|
|
32
32
|
* Een `<h3>`
|
|
33
33
|
* @param children: de content van de tag
|
|
@@ -37,7 +37,7 @@ declare const H2: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, clas
|
|
|
37
37
|
* @example <H3 size='1'>Title</H3>
|
|
38
38
|
* @example <H3 subtitle size={1}>Subtitle</H3>
|
|
39
39
|
*/
|
|
40
|
-
declare const H3: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) =>
|
|
40
|
+
declare const H3: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) => React.JSX.Element;
|
|
41
41
|
/**
|
|
42
42
|
* Een `<h3>`
|
|
43
43
|
* @param children: de content van de tag
|
|
@@ -47,7 +47,7 @@ declare const H3: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, clas
|
|
|
47
47
|
* @example <H4 size='1'>Title</H4>
|
|
48
48
|
* @example <H4 subtitle size={1}>Subtitle</H4>
|
|
49
49
|
*/
|
|
50
|
-
declare const H4: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) =>
|
|
50
|
+
declare const H4: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) => React.JSX.Element;
|
|
51
51
|
/**
|
|
52
52
|
* Een `<h5>`
|
|
53
53
|
* @param children: de content van de tag
|
|
@@ -57,7 +57,7 @@ declare const H4: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, clas
|
|
|
57
57
|
* @example <H5 size='1'>Title</H5>
|
|
58
58
|
* @example <H5 subtitle size={1}>Subtitle</H5>
|
|
59
59
|
*/
|
|
60
|
-
declare const H5: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) =>
|
|
60
|
+
declare const H5: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) => React.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* Een `<h6>`
|
|
63
63
|
* @param children: de content van de tag
|
|
@@ -67,5 +67,5 @@ declare const H5: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, clas
|
|
|
67
67
|
* @example <H6 size='1'>Title</H6>
|
|
68
68
|
* @example <H6 subtitle size={1}>Subtitle</H6>
|
|
69
69
|
*/
|
|
70
|
-
declare const H6: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) =>
|
|
70
|
+
declare const H6: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, className: cn, itemRef, ...props }: HeadingProps) => React.JSX.Element;
|
|
71
71
|
export { H1, H2, H3, H4, H5, H6 };
|
|
@@ -60,21 +60,21 @@ type OnOffToggleItemProps = ToggleItemProps & {
|
|
|
60
60
|
* </ToggleBar>
|
|
61
61
|
*/
|
|
62
62
|
declare const ToggleBar: {
|
|
63
|
-
({ size: sizeProp, rounded, alignment, value, initialValue, children: nodes, className: classes, onToggle, }: ToggleBarProps):
|
|
63
|
+
({ size: sizeProp, rounded, alignment, value, initialValue, children: nodes, className: classes, onToggle, }: ToggleBarProps): React.JSX.Element;
|
|
64
64
|
/**
|
|
65
65
|
* Item binnen de ToggleBar. Een van de ToggleItems in een ToggleBar kan maar actief zijn.
|
|
66
66
|
* @param props
|
|
67
67
|
* @returns een item in de togglebar waarvan er maar 1 actief kan zijn
|
|
68
68
|
* @example <ToggleBar.Item>Item 2</ToggleBar.Item>
|
|
69
69
|
*/
|
|
70
|
-
Item: (props: ToggleItemProps) =>
|
|
70
|
+
Item: (props: ToggleItemProps) => React.JSX.Element;
|
|
71
71
|
/**
|
|
72
72
|
* Een zelf-toggelend item in een ToggleBar. OnOffToggleItems regelen zelf de toggle-state.
|
|
73
73
|
* @param props
|
|
74
74
|
* @returns een losstaand toggle-baar item.
|
|
75
75
|
* @example <ToggleBar.OnoffItem onToggle={handleToggle} identifier="1">Toggle 1</ToggleBar.OnoffItem>
|
|
76
76
|
*/
|
|
77
|
-
OnOffItem: (props: OnOffToggleItemProps) =>
|
|
77
|
+
OnOffItem: (props: OnOffToggleItemProps) => React.JSX.Element;
|
|
78
78
|
};
|
|
79
79
|
export { ToggleBar };
|
|
80
80
|
export type { ToggleBarProps, ToggleItemProps, OnOffToggleItemProps };
|
|
@@ -46,5 +46,5 @@ type TooltipProps = {
|
|
|
46
46
|
* @example <TT content={<>Tooltip content</>} placement="b">Hover me</TT>
|
|
47
47
|
* @example <TT content="Tooltip content" triggers={['click', 'contextMenu']}>Click or RightClick me</TT>
|
|
48
48
|
*/
|
|
49
|
-
declare function TT({ className, children, style, content, hideArrow, triggers, placement: plcmnt, display, delay, }: TooltipProps):
|
|
49
|
+
declare function TT({ className, children, style, content, hideArrow, triggers, placement: plcmnt, display, delay, }: TooltipProps): React.JSX.Element;
|
|
50
50
|
export { TT as Tooltip };
|
|
@@ -154,7 +154,7 @@ type TreeViewRootProps<T extends unknown = string> = StrictOmit<InternTreeViewPr
|
|
|
154
154
|
|
|
155
155
|
*/
|
|
156
156
|
declare const TreeViewRoot: <T extends unknown = string>(props: TreeViewRootProps<T> & React.RefAttributes<TreeViewRef>) => React.ReactElement;
|
|
157
|
-
declare function TreeViewNode<T extends unknown = string>({ className: cnProp, style, path, expanded, globalExpandCommand, initialPath, hoveredPath, setHoveredPath, selectedPath, setSelectedPath, nodes, parentInitialState, searchTerm, searchBehavior, icons, searchFn, }: InternTreeViewProps<T>):
|
|
157
|
+
declare function TreeViewNode<T extends unknown = string>({ className: cnProp, style, path, expanded, globalExpandCommand, initialPath, hoveredPath, setHoveredPath, selectedPath, setSelectedPath, nodes, parentInitialState, searchTerm, searchBehavior, icons, searchFn, }: InternTreeViewProps<T>): React.JSX.Element;
|
|
158
158
|
/**
|
|
159
159
|
* Hook om de `TreeView` imperatief aan te sturen met `expandAll`, `collapseAll`, en `expandToLevel`.
|
|
160
160
|
*
|
|
@@ -29,7 +29,7 @@ type State<T extends unknown = {}> = {
|
|
|
29
29
|
*/
|
|
30
30
|
declare function ActionSheetProvider({ children }: {
|
|
31
31
|
children: React.ReactNode;
|
|
32
|
-
}):
|
|
32
|
+
}): React.JSX.Element;
|
|
33
33
|
/**
|
|
34
34
|
* Hook voor de confirmation
|
|
35
35
|
* @param buttons tekst voor op de OK-button (default = 'OK')
|
|
@@ -13,5 +13,5 @@ type AppProviderProps = {
|
|
|
13
13
|
* @param param0
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
|
-
export declare function LoonBulmaReactProviders({ children, initialTheme, notifierLocation, defaults, onThemeChanged }: AppProviderProps):
|
|
16
|
+
export declare function LoonBulmaReactProviders({ children, initialTheme, notifierLocation, defaults, onThemeChanged }: AppProviderProps): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -8,7 +8,7 @@ export declare function ColorSchemeProvider({ children, initialScheme, onThemeCh
|
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
initialScheme?: ColorSchemeType | undefined;
|
|
10
10
|
onThemeChanged?: (t: ColorSchemeType) => void;
|
|
11
|
-
}):
|
|
11
|
+
}): React.JSX.Element;
|
|
12
12
|
export declare function useColorScheme(): {
|
|
13
13
|
scheme: ColorSchemeType;
|
|
14
14
|
setScheme: (v: ColorSchemeType) => void;
|
|
@@ -24,7 +24,7 @@ type State = {
|
|
|
24
24
|
*/
|
|
25
25
|
declare function ConfirmProvider({ children }: {
|
|
26
26
|
children: React.ReactNode;
|
|
27
|
-
}):
|
|
27
|
+
}): React.JSX.Element;
|
|
28
28
|
/**
|
|
29
29
|
* Hook voor de confirmation
|
|
30
30
|
* @param ok tekst voor op de OK-button (default = 'OK')
|