loon-bulma-react 2026.0.42 → 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 +126 -54
- package/dist/styles/table.scss +42 -0
- package/package.json +10 -10
|
@@ -23,6 +23,6 @@ type AspectRatioProps = {
|
|
|
23
23
|
* <iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ">
|
|
24
24
|
* </AspectRatio>
|
|
25
25
|
*/
|
|
26
|
-
declare function AspectRatio({ ratio, children, caption, className }: AspectRatioProps):
|
|
26
|
+
declare function AspectRatio({ ratio, children, caption, className }: AspectRatioProps): React.JSX.Element;
|
|
27
27
|
export { AspectRatio };
|
|
28
28
|
export type { AspectRatioProps };
|
|
@@ -16,14 +16,14 @@ type BorderBoxProps = {
|
|
|
16
16
|
* @example <BorderBox.Primary title="Title" alignment="c">Content</BorderBox.Primary>
|
|
17
17
|
*/
|
|
18
18
|
declare const BorderBox: {
|
|
19
|
-
({ children, title, style, itemRef, className: cn, color: colorProp, alignment }: BorderBoxProps):
|
|
20
|
-
Primary(props: StrictOmit<BorderBoxProps, "color">):
|
|
21
|
-
Link(props: StrictOmit<BorderBoxProps, "color">):
|
|
22
|
-
Info(props: StrictOmit<BorderBoxProps, "color">):
|
|
23
|
-
Warning(props: StrictOmit<BorderBoxProps, "color">):
|
|
24
|
-
Danger(props: StrictOmit<BorderBoxProps, "color">):
|
|
25
|
-
Success(props: StrictOmit<BorderBoxProps, "color">):
|
|
26
|
-
Light(props: StrictOmit<BorderBoxProps, "color">):
|
|
27
|
-
Dark(props: StrictOmit<BorderBoxProps, "color">):
|
|
19
|
+
({ children, title, style, itemRef, className: cn, color: colorProp, alignment }: BorderBoxProps): React.JSX.Element;
|
|
20
|
+
Primary(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
21
|
+
Link(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
22
|
+
Info(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
23
|
+
Warning(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
24
|
+
Danger(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
25
|
+
Success(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
26
|
+
Light(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
27
|
+
Dark(props: StrictOmit<BorderBoxProps, "color">): React.JSX.Element;
|
|
28
28
|
};
|
|
29
29
|
export { BorderBox };
|
|
@@ -15,6 +15,6 @@ type BoxProps = {
|
|
|
15
15
|
* @returns een witte box om elementen.
|
|
16
16
|
* @example <Box>This is a box</Box>
|
|
17
17
|
*/
|
|
18
|
-
declare function Box({ id, children, className: cn, styles, itemRef }: BoxProps):
|
|
18
|
+
declare function Box({ id, children, className: cn, styles, itemRef }: BoxProps): React.JSX.Element;
|
|
19
19
|
export { Box };
|
|
20
20
|
export type { BoxProps };
|
|
@@ -61,24 +61,24 @@ export type ButtonProps = {
|
|
|
61
61
|
* | type | `button, reset, submit` | `button` | type 'button' voor de button |
|
|
62
62
|
*/
|
|
63
63
|
declare const Button: {
|
|
64
|
-
({ color: colorProp, size: sizeProp, loading, disabled, fullwidth, styling, type, className: classNameProp, isStatic, helpTag, onClick, onFocus, onMouseEnter, children: nodes, value, ...props }: ButtonProps):
|
|
65
|
-
OK({ text, icon, color, ...props }: Partial<DefinedButtonProps>):
|
|
66
|
-
Cancel({ text, icon, color, ...props }: Partial<DefinedButtonProps>):
|
|
67
|
-
Close({ text, icon, color, ...props }: Partial<DefinedButtonProps>):
|
|
68
|
-
Delete({ text, icon, color, ...props }: Partial<DefinedButtonProps>):
|
|
69
|
-
Static(props: StrictOmit<ButtonProps, "color" | "isStatic" | "onClick" | "onFocus" | "disabled" | "loading">):
|
|
70
|
-
Primary(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
71
|
-
Success(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
72
|
-
Danger(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
73
|
-
Warning(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
74
|
-
Info(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
75
|
-
Link(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
76
|
-
Light(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
77
|
-
Dark(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
78
|
-
None(props: StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
64
|
+
({ color: colorProp, size: sizeProp, loading, disabled, fullwidth, styling, type, className: classNameProp, isStatic, helpTag, onClick, onFocus, onMouseEnter, children: nodes, value, ...props }: ButtonProps): React.JSX.Element;
|
|
65
|
+
OK({ text, icon, color, ...props }: Partial<DefinedButtonProps>): React.JSX.Element;
|
|
66
|
+
Cancel({ text, icon, color, ...props }: Partial<DefinedButtonProps>): React.JSX.Element;
|
|
67
|
+
Close({ text, icon, color, ...props }: Partial<DefinedButtonProps>): React.JSX.Element;
|
|
68
|
+
Delete({ text, icon, color, ...props }: Partial<DefinedButtonProps>): React.JSX.Element;
|
|
69
|
+
Static(props: StrictOmit<ButtonProps, "color" | "isStatic" | "onClick" | "onFocus" | "disabled" | "loading">): React.JSX.Element;
|
|
70
|
+
Primary(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
71
|
+
Success(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
72
|
+
Danger(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
73
|
+
Warning(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
74
|
+
Info(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
75
|
+
Link(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
76
|
+
Light(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
77
|
+
Dark(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
78
|
+
None(props: StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
79
79
|
Theme({ invert, ...props }: {
|
|
80
80
|
invert?: boolean;
|
|
81
|
-
} & StrictOmit<ButtonProps, "color" | "isStatic">):
|
|
81
|
+
} & StrictOmit<ButtonProps, "color" | "isStatic">): React.JSX.Element;
|
|
82
82
|
};
|
|
83
83
|
type DefinedButtonProps = StrictOmit<ButtonProps, 'children' | 'isStatic'> & {
|
|
84
84
|
icon: IconProp;
|
|
@@ -21,6 +21,6 @@ type ButtonGroupProps = {
|
|
|
21
21
|
* @param className: Voeg extra classes aan de buttons-container toe
|
|
22
22
|
* @returns
|
|
23
23
|
*/
|
|
24
|
-
declare function Buttons({ unevenSize, alignment, ...props }: ButtonGroupProps):
|
|
24
|
+
declare function Buttons({ unevenSize, alignment, ...props }: ButtonGroupProps): React.JSX.Element;
|
|
25
25
|
export { Buttons, Buttons as ButtonGroup };
|
|
26
26
|
export type { ButtonGroupProps };
|
|
@@ -14,5 +14,5 @@ type CalendarColoredItemProps<T extends BaseEventProps> = {
|
|
|
14
14
|
* @param props
|
|
15
15
|
* @returns
|
|
16
16
|
*/
|
|
17
|
-
export declare function CalendarColoredItem<T extends BaseEventProps>({ event, options, onClick, desc }: CalendarColoredItemProps<T>):
|
|
17
|
+
export declare function CalendarColoredItem<T extends BaseEventProps>({ event, options, onClick, desc }: CalendarColoredItemProps<T>): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -14,5 +14,5 @@ type CalendarItemProps<T extends BaseEventProps> = {
|
|
|
14
14
|
* @param props
|
|
15
15
|
* @returns
|
|
16
16
|
*/
|
|
17
|
-
export declare function CalendarItem<T extends BaseEventProps>({ event, onClick, desc }: CalendarItemProps<T>):
|
|
17
|
+
export declare function CalendarItem<T extends BaseEventProps>({ event, onClick, desc }: CalendarItemProps<T>): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -21,5 +21,5 @@ type DayContainerProps<T extends BaseEventProps> = {
|
|
|
21
21
|
* @param props
|
|
22
22
|
* @returns
|
|
23
23
|
*/
|
|
24
|
-
export declare function DayContainer<T extends BaseEventProps>({ options, date, onDayClick, onEventClick, events, calendarType, isCurrentMonth, }: DayContainerProps<T>):
|
|
24
|
+
export declare function DayContainer<T extends BaseEventProps>({ options, date, onDayClick, onEventClick, events, calendarType, isCurrentMonth, }: DayContainerProps<T>): React.JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -17,17 +17,17 @@ export declare function AllDayDesc<T extends BaseEventProps>({ evt, calendarType
|
|
|
17
17
|
calendarType: CalendarType;
|
|
18
18
|
isHovered?: boolean;
|
|
19
19
|
options?: EventOptions<T>;
|
|
20
|
-
}):
|
|
20
|
+
}): React.JSX.Element;
|
|
21
21
|
export declare function NotAllDayDesc<T extends BaseEventProps>({ evt, options, calendarType, isHovered, }: {
|
|
22
22
|
evt: T;
|
|
23
23
|
calendarType: CalendarType;
|
|
24
24
|
options?: EventOptions<T>;
|
|
25
25
|
isHovered?: boolean;
|
|
26
|
-
}):
|
|
26
|
+
}): React.JSX.Element;
|
|
27
27
|
/**
|
|
28
28
|
* Expandable events als er meer dan 5 events op een dag vallen
|
|
29
29
|
* @param props
|
|
30
30
|
* @returns
|
|
31
31
|
*/
|
|
32
|
-
export declare function MoreEventsView<T extends BaseEventProps>({ events, onEventClick, options, calendarType }: MoreEventsViewProps<T>):
|
|
32
|
+
export declare function MoreEventsView<T extends BaseEventProps>({ events, onEventClick, options, calendarType }: MoreEventsViewProps<T>): React.JSX.Element;
|
|
33
33
|
export {};
|
|
@@ -18,6 +18,6 @@ type FourweekViewProps<T extends BaseEventProps> = {
|
|
|
18
18
|
* @param props
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
|
-
declare function FourweeksView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents }: FourweekViewProps<T>):
|
|
21
|
+
declare function FourweeksView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents }: FourweekViewProps<T>): React.JSX.Element;
|
|
22
22
|
export { FourweeksView };
|
|
23
23
|
export type { FourweekViewProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSDateTime } from './../../../utils/JSDateTime.class';
|
|
2
2
|
import { Locale } from 'date-fns';
|
|
3
|
+
import React from 'react';
|
|
3
4
|
type MiniViewProps = {
|
|
4
5
|
/** de viewDate waarop de mini-view start (optioneel, default = vandaag) */
|
|
5
6
|
viewDate?: JSDateTime | Date;
|
|
@@ -20,5 +21,5 @@ type MiniViewOptions = {
|
|
|
20
21
|
dateFormat?: string;
|
|
21
22
|
locale?: Locale;
|
|
22
23
|
};
|
|
23
|
-
export declare function MiniView({ viewDate: vd, options: opts, onDateSelected, onJSDateTimeSelected }: MiniViewProps):
|
|
24
|
+
export declare function MiniView({ viewDate: vd, options: opts, onDateSelected, onJSDateTimeSelected }: MiniViewProps): React.JSX.Element;
|
|
24
25
|
export {};
|
|
@@ -18,6 +18,6 @@ type MonthViewProps<T extends BaseEventProps> = {
|
|
|
18
18
|
* @param props
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
|
-
declare function MonthView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents }: MonthViewProps<T>):
|
|
21
|
+
declare function MonthView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents }: MonthViewProps<T>): React.JSX.Element;
|
|
22
22
|
export { MonthView };
|
|
23
23
|
export type { MonthViewProps };
|
|
@@ -36,6 +36,6 @@ type PlanningViewProps<R, E extends BaseEventProps = BaseEventProps> = {
|
|
|
36
36
|
* @param param0
|
|
37
37
|
* @returns
|
|
38
38
|
*/
|
|
39
|
-
declare function PlanningView<R, E extends BaseEventProps>({ viewDate, days: daysShown, alwaysStartOnMonday, options, rows, rowIdentifier, dayHeader, rowHeader, rowLabel, onDayClick, onEventClick, }: PlanningViewProps<R, E>):
|
|
39
|
+
declare function PlanningView<R, E extends BaseEventProps>({ viewDate, days: daysShown, alwaysStartOnMonday, options, rows, rowIdentifier, dayHeader, rowHeader, rowLabel, onDayClick, onEventClick, }: PlanningViewProps<R, E>): React.JSX.Element;
|
|
40
40
|
export { PlanningView };
|
|
41
41
|
export type { PlanningViewProps };
|
|
@@ -15,5 +15,5 @@ type AlldayContainerProps<T extends BaseEventProps> = {
|
|
|
15
15
|
* @param props
|
|
16
16
|
* @returns
|
|
17
17
|
*/
|
|
18
|
-
export declare function AlldayContainer<T extends BaseEventProps>({ options, events, date, onEventClick, onDayClick }: AlldayContainerProps<T>):
|
|
18
|
+
export declare function AlldayContainer<T extends BaseEventProps>({ options, events, date, onEventClick, onDayClick }: AlldayContainerProps<T>): React.JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -8,7 +8,7 @@ import { BaseEventProps, CalendarOptions, CalendarHours } from '../Props';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare function HourNumber({ hour }: {
|
|
10
10
|
hour: number;
|
|
11
|
-
}):
|
|
11
|
+
}): React.JSX.Element;
|
|
12
12
|
type HourSlotProps<T extends BaseEventProps> = {
|
|
13
13
|
/** De events voor deze HourProp */
|
|
14
14
|
events: T[];
|
|
@@ -26,5 +26,5 @@ type HourSlotProps<T extends BaseEventProps> = {
|
|
|
26
26
|
* @param param0
|
|
27
27
|
* @returns
|
|
28
28
|
*/
|
|
29
|
-
export declare function HourSlot<T extends BaseEventProps>({ events, hour, date, onEventClick, onCellClick, options, lastVisibleHour }: HourSlotProps<T>):
|
|
29
|
+
export declare function HourSlot<T extends BaseEventProps>({ events, hour, date, onEventClick, onCellClick, options, lastVisibleHour }: HourSlotProps<T>): React.JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -19,6 +19,6 @@ type WeekViewProps<T extends BaseEventProps> = {
|
|
|
19
19
|
* @returns een weekview (grid) met de events
|
|
20
20
|
* @ex
|
|
21
21
|
*/
|
|
22
|
-
declare function WeekView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, events: orgEvents, onDayClick }: WeekViewProps<T>):
|
|
22
|
+
declare function WeekView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, events: orgEvents, onDayClick }: WeekViewProps<T>): React.JSX.Element;
|
|
23
23
|
export { WeekView };
|
|
24
24
|
export type { WeekViewProps };
|
|
@@ -44,6 +44,6 @@ type CodeBlockProps = {
|
|
|
44
44
|
* - `vbnet` of `vb`
|
|
45
45
|
* - `xml` of `xmlDoc`
|
|
46
46
|
*/
|
|
47
|
-
declare function CodeBlock({ code, dark, language, className, showLineNumbers }: CodeBlockProps): import("react
|
|
47
|
+
declare function CodeBlock({ code, dark, language, className, showLineNumbers }: CodeBlockProps): import("node_modules/@types/react").JSX.Element;
|
|
48
48
|
export { CodeBlock };
|
|
49
49
|
export type { CodeBlockProps, CodeLanguage };
|
|
@@ -34,9 +34,9 @@ type ExpandedColumnProps = ColumnProps & {
|
|
|
34
34
|
* <Column narrow size="3/4">Narrow is more important, so this is a narrow column</Column
|
|
35
35
|
*/
|
|
36
36
|
declare const Column: {
|
|
37
|
-
({ narrow, size, className: propsClassName, styles, id, children, itemRef }: ExpandedColumnProps):
|
|
38
|
-
Full(props: ColumnProps):
|
|
39
|
-
Half(props: ColumnProps):
|
|
37
|
+
({ narrow, size, className: propsClassName, styles, id, children, itemRef }: ExpandedColumnProps): React.JSX.Element;
|
|
38
|
+
Full(props: ColumnProps): React.JSX.Element;
|
|
39
|
+
Half(props: ColumnProps): React.JSX.Element;
|
|
40
40
|
/** Spread columns based on thirds (1/3, 2/3)
|
|
41
41
|
* @deprecated Gebruik de gewone Column-component met de `size`-prop zoals onderstaand voorbeeld om deze te vervangen
|
|
42
42
|
* @example
|
|
@@ -49,13 +49,13 @@ declare const Column: {
|
|
|
49
49
|
* @example <Column size="2/3">This is a first third column</Column>
|
|
50
50
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/3">...</Column>`
|
|
51
51
|
*/
|
|
52
|
-
One: (props: ColumnProps) =>
|
|
52
|
+
One: (props: ColumnProps) => React.JSX.Element;
|
|
53
53
|
/** Column 2/3 width of parent
|
|
54
54
|
* @returns een kolom met 2/3 breedte van de parent 'Columns'
|
|
55
55
|
* @example <Column size="2/3">This is a second third column</Column>
|
|
56
56
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="2/3">...</Column>`
|
|
57
57
|
*/
|
|
58
|
-
Two: (props: ColumnProps) =>
|
|
58
|
+
Two: (props: ColumnProps) => React.JSX.Element;
|
|
59
59
|
};
|
|
60
60
|
/** Spread columns based on quarters (1/4, 2/4, 3/4)
|
|
61
61
|
* @deprecated Gebruik de gewone Column-component met de `size`-prop zoals onderstaand voorbeeld om deze te vervangen
|
|
@@ -70,19 +70,19 @@ declare const Column: {
|
|
|
70
70
|
* @example <Column.Quarters.One>This is a 1/4 column</Column.Quarters.One>
|
|
71
71
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/4">...</Column>`
|
|
72
72
|
*/
|
|
73
|
-
One: (props: ColumnProps) =>
|
|
73
|
+
One: (props: ColumnProps) => React.JSX.Element;
|
|
74
74
|
/** Column 2/4 width of parent
|
|
75
75
|
* @returns een kolom met 2/4 breedte van de parent 'Columns'
|
|
76
76
|
* @example <Column.Quarters.Two>This is a 2/4 column</Column.Quarters.Two>
|
|
77
77
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="2/4">...</Column>`
|
|
78
78
|
*/
|
|
79
|
-
Two: (props: ColumnProps) =>
|
|
79
|
+
Two: (props: ColumnProps) => React.JSX.Element;
|
|
80
80
|
/** Column 3/4 width of parent
|
|
81
81
|
* @returns een kolom met 3/4 breedte van de parent 'Columns'
|
|
82
82
|
* @example <Column.Quarters.Three>This is a 3/4 column</Column.Quarters.Three>
|
|
83
83
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="3/4">...</Column>`
|
|
84
84
|
*/
|
|
85
|
-
Three: (props: ColumnProps) =>
|
|
85
|
+
Three: (props: ColumnProps) => React.JSX.Element;
|
|
86
86
|
};
|
|
87
87
|
/** Spread columns based on fifths (1/5, 2/5, 3/5, 4/5)
|
|
88
88
|
* @deprecated Gebuik de gewone Column-component met de `size`-prop zoals onderstaand voorbeeld om deze te vervangen
|
|
@@ -97,25 +97,25 @@ declare const Column: {
|
|
|
97
97
|
* @example <Column.Fifths.One>This is a 1/5 column</Column.Fifths.One>
|
|
98
98
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/5">...</Column>`
|
|
99
99
|
*/
|
|
100
|
-
One: (props: ColumnProps) =>
|
|
100
|
+
One: (props: ColumnProps) => React.JSX.Element;
|
|
101
101
|
/** Column 2/5 width of parent
|
|
102
102
|
* @returns een kolom met 2/5 breedte van de parent 'Columns'
|
|
103
103
|
* @example <Column.Fifths.Two>This is a 2/5 column</Column.Fifths.Two>
|
|
104
104
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="2/5">...</Column>`
|
|
105
105
|
*/
|
|
106
|
-
Two: (props: ColumnProps) =>
|
|
106
|
+
Two: (props: ColumnProps) => React.JSX.Element;
|
|
107
107
|
/** Column 3/5 width of parent
|
|
108
108
|
* @returns een kolom met 3/5 breedte van de parent 'Columns'
|
|
109
109
|
* @example <Column.Fifths.Three>This is a 3/5 column</Column.Fifths.Three>
|
|
110
110
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="3/5">...</Column>`
|
|
111
111
|
*/
|
|
112
|
-
Three: (props: ColumnProps) =>
|
|
112
|
+
Three: (props: ColumnProps) => React.JSX.Element;
|
|
113
113
|
/** Column 4/5 width of parent
|
|
114
114
|
* @returns een kolom met 4/5 breedte van de parent 'Columns'
|
|
115
115
|
* @example <Column.Fifths.Four>This is a 4/5 column</Column.Fifths.Four>
|
|
116
116
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="4/5">...</Column>`
|
|
117
117
|
*/
|
|
118
|
-
Four: (props: ColumnProps) =>
|
|
118
|
+
Four: (props: ColumnProps) => React.JSX.Element;
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
121
|
* Spread columns based on twelfths (1/12, 2/12, 3/12, 4/12, 5/12, 6/12, 7/12, 8/12, 9/12, 10/12, 11/12, 12/12)
|
|
@@ -133,73 +133,73 @@ declare const Column: {
|
|
|
133
133
|
* @example <Column.Twelves.One>This is a 1/12 column</Column.Twelves.One>
|
|
134
134
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="1/12">...</Column>`
|
|
135
135
|
*/
|
|
136
|
-
One: (props: ColumnProps) =>
|
|
136
|
+
One: (props: ColumnProps) => React.JSX.Element;
|
|
137
137
|
/** Column 2/12 width of parent
|
|
138
138
|
* @returns een kolom met 2/12 breedte van de parent 'Columns'
|
|
139
139
|
* @example <Column.Twelves.Two>This is a 2/12 column</Column.Twelves.Two>
|
|
140
140
|
* @deprecated Gebrui de `size`-prop om deze te vervangen: `<Column size="2/12">...</Column>`
|
|
141
141
|
*/
|
|
142
|
-
Two: (props: ColumnProps) =>
|
|
142
|
+
Two: (props: ColumnProps) => React.JSX.Element;
|
|
143
143
|
/** Column 3/12 width of parent
|
|
144
144
|
* @returns een kolom met 3/12 breedte van de parent 'Columns'
|
|
145
145
|
* @example <Column.Twelves.Three>This is a 3/12 column</Column.Twelves.Three>
|
|
146
146
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="3/12">...</Column>`
|
|
147
147
|
*/
|
|
148
|
-
Three: (props: ColumnProps) =>
|
|
148
|
+
Three: (props: ColumnProps) => React.JSX.Element;
|
|
149
149
|
/** Column 4/12 width of parent
|
|
150
150
|
* @returns een kolom met 4/12 breedte van de parent 'Columns'
|
|
151
151
|
* @example <Column.Twelves.Four>This is a 4/12 column</Column.Twelves.Four>
|
|
152
152
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="4/12">...</Column>`
|
|
153
153
|
*/
|
|
154
|
-
Four: (props: ColumnProps) =>
|
|
154
|
+
Four: (props: ColumnProps) => React.JSX.Element;
|
|
155
155
|
/** Column 5/12 width of parent
|
|
156
156
|
* @returns een kolom met 5/12 breedte van de parent 'Columns'
|
|
157
157
|
* @example <Column.Twelves.Five>This is a 5/12 column</Column.Twelves.Five>
|
|
158
158
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="5/12">...</Column>`
|
|
159
159
|
*/
|
|
160
|
-
Five: (props: ColumnProps) =>
|
|
160
|
+
Five: (props: ColumnProps) => React.JSX.Element;
|
|
161
161
|
/** Column 6/12 width of parent
|
|
162
162
|
* @returns een kolom met 6/12 breedte van de parent 'Columns'
|
|
163
163
|
* @example <Column.Twelves.Six>This is a 6/12 column</Column.Twelves.Six>
|
|
164
164
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="6/12">...</Column>`
|
|
165
165
|
*/
|
|
166
|
-
Six: (props: ColumnProps) =>
|
|
166
|
+
Six: (props: ColumnProps) => React.JSX.Element;
|
|
167
167
|
/** Column 7/12 width of parent
|
|
168
168
|
* @returns een kolom met 7/12 breedte van de parent 'Columns'
|
|
169
169
|
* @example <Column.Twelves.Seven>This is a 7/12 column</Column.Twelves.Seven>
|
|
170
170
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="7/12">...</Column>`
|
|
171
171
|
*/
|
|
172
|
-
Seven: (props: ColumnProps) =>
|
|
172
|
+
Seven: (props: ColumnProps) => React.JSX.Element;
|
|
173
173
|
/** Column 8/12 width of parent
|
|
174
174
|
* @returns een kolom met 8/12 breedte van de parent 'Columns'
|
|
175
175
|
* @example <Column.Twelves.Eight>This is a 8/12 column</Column.Twelves.Eight>
|
|
176
176
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="8/12">...</Column>`
|
|
177
177
|
*/
|
|
178
|
-
Eight: (props: ColumnProps) =>
|
|
178
|
+
Eight: (props: ColumnProps) => React.JSX.Element;
|
|
179
179
|
/** Column 9/12 width of parent
|
|
180
180
|
* @returns een kolom met 9/12 breedte van de parent 'Columns'
|
|
181
181
|
* @example <Column.Twelves.Nine>This is a 9/12 column</Column.Twelves.Nine>
|
|
182
182
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="9/12">...</Column>`
|
|
183
183
|
*/
|
|
184
|
-
Nine: (props: ColumnProps) =>
|
|
184
|
+
Nine: (props: ColumnProps) => React.JSX.Element;
|
|
185
185
|
/** Column 10/12 width of parent
|
|
186
186
|
* @returns een kolom met 10/12 breedte van de parent 'Columns'
|
|
187
187
|
* @example <Column.Twelves.Ten>This is a 10/12 column</Column.Twelves.Ten>
|
|
188
188
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="10/12">...</Column>`
|
|
189
189
|
*/
|
|
190
|
-
Ten: (props: ColumnProps) =>
|
|
190
|
+
Ten: (props: ColumnProps) => React.JSX.Element;
|
|
191
191
|
/** Column 11/12 width of parent
|
|
192
192
|
* @returns een kolom met 11/12 breedte van de parent 'Columns'
|
|
193
193
|
* @example <Column.Twelves.Eleven>This is a 11/12 column</Column.Twelves.Eleven>
|
|
194
194
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="11/12">...</Column>`
|
|
195
195
|
*/
|
|
196
|
-
Eleven: (props: ColumnProps) =>
|
|
196
|
+
Eleven: (props: ColumnProps) => React.JSX.Element;
|
|
197
197
|
/** Column 12/12 width of parent
|
|
198
198
|
* @returns een kolom met 12/12 breedte van de parent 'Columns'
|
|
199
199
|
* @example <Column.Twelves.Twelve>This is a 12/12 column</Column.Twelves.Twelve>
|
|
200
200
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="12/12">...</Column>`
|
|
201
201
|
*/
|
|
202
|
-
Twelve: (props: ColumnProps) =>
|
|
202
|
+
Twelve: (props: ColumnProps) => React.JSX.Element;
|
|
203
203
|
};
|
|
204
204
|
displayName: string;
|
|
205
205
|
};
|
|
@@ -32,4 +32,4 @@ export type ColumnsProps = {
|
|
|
32
32
|
* <Column narrow>This is a narrow column</Column>
|
|
33
33
|
* </Columns>
|
|
34
34
|
*/
|
|
35
|
-
export declare function Columns({ children, id, gap, multiline, centered, vCentered, className: classes, styles, itemRef, }: ColumnsProps):
|
|
35
|
+
export declare function Columns({ children, id, gap, multiline, centered, vCentered, className: classes, styles, itemRef, }: ColumnsProps): React.JSX.Element;
|
|
@@ -35,11 +35,11 @@ type ContainerProps = {
|
|
|
35
35
|
* @example <Container>This is a container</Container>
|
|
36
36
|
*/
|
|
37
37
|
declare const Container: {
|
|
38
|
-
({ className: cn, children, styles, size, id, itemRef }: ContainerProps):
|
|
39
|
-
Default({ className, children, styles }: StrictOmit<ContainerProps, "size">):
|
|
40
|
-
Wide({ className, children, styles }: StrictOmit<ContainerProps, "size">):
|
|
41
|
-
Widest({ className, children, styles }: StrictOmit<ContainerProps, "size">):
|
|
42
|
-
Max({ className, children, styles }: StrictOmit<ContainerProps, "size">):
|
|
38
|
+
({ className: cn, children, styles, size, id, itemRef }: ContainerProps): React.JSX.Element;
|
|
39
|
+
Default({ className, children, styles }: StrictOmit<ContainerProps, "size">): React.JSX.Element;
|
|
40
|
+
Wide({ className, children, styles }: StrictOmit<ContainerProps, "size">): React.JSX.Element;
|
|
41
|
+
Widest({ className, children, styles }: StrictOmit<ContainerProps, "size">): React.JSX.Element;
|
|
42
|
+
Max({ className, children, styles }: StrictOmit<ContainerProps, "size">): React.JSX.Element;
|
|
43
43
|
};
|
|
44
44
|
export { Container };
|
|
45
45
|
export type { ContainerProps };
|
|
@@ -18,5 +18,5 @@ type ContentPropsType = {
|
|
|
18
18
|
* @returns een div geschikt voor content. WYSIWYG ofzo.
|
|
19
19
|
* @example <Content>This is a content which can contain lists, <strong>strong</strong> and <em>italic</em> tags</Content>
|
|
20
20
|
*/
|
|
21
|
-
export declare function Content({ size, className: cn, styles, id, children, itemRef }: ContentPropsType):
|
|
21
|
+
export declare function Content({ size, className: cn, styles, id, children, itemRef }: ContentPropsType): React.JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AlignmentProp, SizeProp } from './../../types';
|
|
3
|
+
import { IconProp } from 'node_modules/@fortawesome/fontawesome-svg-core';
|
|
3
4
|
type DataTableColumnProp<T extends unknown = unknown> = {
|
|
4
5
|
/** Instellen van de volgorde van de kolommen. Kolommen worden gesorteerd obv de waarde. De default waarde = `0`
|
|
5
6
|
* - `positive`: de kolom wordt naar rechts verplaatst, hoogste waarde meest rechts
|
|
@@ -200,28 +201,40 @@ type DataTableProps<T extends unknown = unknown> = {
|
|
|
200
201
|
* @param searchPlaceholder placeholder voor zoek-input (default = 'Zoek ...')
|
|
201
202
|
* @returns
|
|
202
203
|
*/
|
|
203
|
-
declare function DataTable<T extends unknown = unknown>({ data, columns: cols, defaultSortColNum, compact, noStripes, narrow, bordered, hoverable, sticky, hideSearch, headerContent, footerContent, size, searchPlaceholder, rowIdentifier, rowClass, id: tableID, itemRef, paginationOptions: paginationOptionsProp, fillEmptyRows, apiRef, onSearch, onRowSelected, onRowRightClick, renderWhenNoData, searchInfoMessage, onSortColumnChanged, }: DataTableProps<T>):
|
|
204
|
+
declare function DataTable<T extends unknown = unknown>({ data, columns: cols, defaultSortColNum, compact, noStripes, narrow, bordered, hoverable, sticky, hideSearch, headerContent, footerContent, size, searchPlaceholder, rowIdentifier, rowClass, id: tableID, itemRef, paginationOptions: paginationOptionsProp, fillEmptyRows, apiRef, onSearch, onRowSelected, onRowRightClick, renderWhenNoData, searchInfoMessage, onSortColumnChanged, }: DataTableProps<T>): React.JSX.Element;
|
|
204
205
|
declare namespace DataTable {
|
|
205
206
|
var Dropdown: {
|
|
206
|
-
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, }: import("./DataTableDropdown").DataTableDropdownProps):
|
|
207
|
+
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, }: import("./DataTableDropdown").DataTableDropdownProps): React.JSX.Element;
|
|
207
208
|
Trigger({ children }: {
|
|
208
209
|
children: React.ReactNode;
|
|
209
|
-
}):
|
|
210
|
-
Divider():
|
|
210
|
+
}): React.JSX.Element;
|
|
211
|
+
Divider(): React.JSX.Element;
|
|
211
212
|
Item({ children, onClick, onItemClick, disabled, ...props }: {
|
|
212
213
|
children: React.ReactNode;
|
|
213
214
|
disabled?: boolean;
|
|
214
215
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
215
216
|
onItemClick?: (isClickable: boolean) => void;
|
|
216
|
-
} & React.HTMLAttributes<HTMLDivElement>):
|
|
217
|
+
} & React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
217
218
|
Link({ children, onItemClick, disabled, ...props }: {
|
|
218
219
|
children: React.ReactNode;
|
|
219
220
|
onItemClick?: (isClickable: boolean) => void;
|
|
220
221
|
disabled?: boolean;
|
|
221
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement>):
|
|
222
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement>): React.JSX.Element;
|
|
222
223
|
};
|
|
223
224
|
var Container: typeof DataTableContainer;
|
|
224
225
|
}
|
|
225
|
-
|
|
226
|
+
type DataTableContainerProps = {
|
|
227
|
+
/** icon voor horizontaal scrollen naar links */
|
|
228
|
+
iconScrollLeft?: IconProp;
|
|
229
|
+
/** icon voor horizontaal scrollen naar rechts */
|
|
230
|
+
iconScrollRight?: IconProp;
|
|
231
|
+
/** title voor horizontaal scrollen naar links (wordt gebruikt als `title` en `aria-label` op de scroll-knop) */
|
|
232
|
+
titleScrollLeft?: string;
|
|
233
|
+
/** title voor horizontaal scrollen naar rechts (wordt gebruikt als `title` en `aria-label` op de scroll-knop) */
|
|
234
|
+
titleScrollRight?: string;
|
|
235
|
+
/** minimale afstand van de bovenkant van de tabel (in pixels) - om te zorgen dat de scrollknoppen in de tabel-body blijven en niet in de header komen */
|
|
236
|
+
minDistanceFromTableTop?: number;
|
|
237
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
238
|
+
declare function DataTableContainer({ className: classNameProp, children, onScroll, iconScrollLeft, iconScrollRight, titleScrollLeft, titleScrollRight, minDistanceFromTableTop, ...props }: DataTableContainerProps): React.JSX.Element;
|
|
226
239
|
export { DataTable };
|
|
227
240
|
export type { DataTableProps, DataTableColumnProp as DataTableColumn, DataTableApi };
|
|
@@ -18,22 +18,22 @@ type DataTableDropdownProps = {
|
|
|
18
18
|
* WIEHOE
|
|
19
19
|
*/
|
|
20
20
|
declare const DataTableDropdown: {
|
|
21
|
-
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, }: DataTableDropdownProps):
|
|
21
|
+
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, }: DataTableDropdownProps): React.JSX.Element;
|
|
22
22
|
Trigger({ children }: {
|
|
23
23
|
children: React.ReactNode;
|
|
24
|
-
}):
|
|
25
|
-
Divider():
|
|
24
|
+
}): React.JSX.Element;
|
|
25
|
+
Divider(): React.JSX.Element;
|
|
26
26
|
Item({ children, onClick, onItemClick, disabled, ...props }: {
|
|
27
27
|
children: React.ReactNode;
|
|
28
28
|
disabled?: boolean;
|
|
29
29
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
30
30
|
onItemClick?: (isClickable: boolean) => void;
|
|
31
|
-
} & React.HTMLAttributes<HTMLDivElement>):
|
|
31
|
+
} & React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
32
32
|
Link({ children, onItemClick, disabled, ...props }: {
|
|
33
33
|
children: React.ReactNode;
|
|
34
34
|
onItemClick?: (isClickable: boolean) => void;
|
|
35
35
|
disabled?: boolean;
|
|
36
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement>):
|
|
36
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement>): React.JSX.Element;
|
|
37
37
|
};
|
|
38
38
|
export { DataTableDropdown };
|
|
39
39
|
export type { DataTableDropdownProps };
|
|
@@ -10,14 +10,14 @@ type DividerProps = {
|
|
|
10
10
|
* @returns Divider element
|
|
11
11
|
*/
|
|
12
12
|
declare const Divider: {
|
|
13
|
-
({ color, style, className: cnProp }: DividerProps): import("react
|
|
14
|
-
Primary(props: StrictOmit<DividerProps, "color">): import("react
|
|
15
|
-
Info(props: StrictOmit<DividerProps, "color">): import("react
|
|
16
|
-
Link(props: StrictOmit<DividerProps, "color">): import("react
|
|
17
|
-
Success(props: StrictOmit<DividerProps, "color">): import("react
|
|
18
|
-
Warning(props: StrictOmit<DividerProps, "color">): import("react
|
|
19
|
-
Danger(props: StrictOmit<DividerProps, "color">): import("react
|
|
20
|
-
Light(props: StrictOmit<DividerProps, "color">): import("react
|
|
21
|
-
Dark(props: StrictOmit<DividerProps, "color">): import("react
|
|
13
|
+
({ color, style, className: cnProp }: DividerProps): import("node_modules/@types/react").JSX.Element;
|
|
14
|
+
Primary(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
15
|
+
Info(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
16
|
+
Link(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
17
|
+
Success(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
18
|
+
Warning(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
19
|
+
Danger(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
20
|
+
Light(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
21
|
+
Dark(props: StrictOmit<DividerProps, "color">): import("node_modules/@types/react").JSX.Element;
|
|
22
22
|
};
|
|
23
23
|
export { Divider };
|
|
@@ -82,18 +82,18 @@ type DragDropListProps<T> = {
|
|
|
82
82
|
* </DragDropList>
|
|
83
83
|
* ```
|
|
84
84
|
*/
|
|
85
|
-
export declare function DragDropList<T>({ items, onReorder, renderItem, keyExtractor, isDisabled, className, itemClassName, children, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, }: DragDropListProps<T>):
|
|
85
|
+
export declare function DragDropList<T>({ items, onReorder, renderItem, keyExtractor, isDisabled, className, itemClassName, children, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, }: DragDropListProps<T>): React.JSX.Element;
|
|
86
86
|
export declare namespace DragDropList {
|
|
87
87
|
var Handle: ({ children }: {
|
|
88
88
|
children?: React.ReactNode | ((isDisabled: boolean) => React.ReactNode);
|
|
89
89
|
className?: string | ((isDisabled: boolean) => string);
|
|
90
|
-
}) =>
|
|
90
|
+
}) => React.JSX.Element;
|
|
91
91
|
var Buttons: ({ children }: {
|
|
92
92
|
children?: React.ReactNode;
|
|
93
93
|
className?: string | ((isDisabled: boolean) => string);
|
|
94
|
-
}) =>
|
|
94
|
+
}) => React.JSX.Element;
|
|
95
95
|
var Item: (_props: {
|
|
96
96
|
className?: string | ((info: RenderItemInfo) => string);
|
|
97
|
-
}) =>
|
|
97
|
+
}) => React.JSX.Element;
|
|
98
98
|
}
|
|
99
99
|
export {};
|
|
@@ -21,22 +21,22 @@ type DropDownProps = {
|
|
|
21
21
|
* @see DataTable.Dropdown for table-specific dropdown usage
|
|
22
22
|
*/
|
|
23
23
|
declare const Dropdown: {
|
|
24
|
-
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, usePortal, }: DropDownProps):
|
|
24
|
+
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, usePortal, }: DropDownProps): React.JSX.Element;
|
|
25
25
|
Trigger({ children }: {
|
|
26
26
|
children: React.ReactNode;
|
|
27
|
-
}):
|
|
28
|
-
Divider():
|
|
27
|
+
}): React.JSX.Element;
|
|
28
|
+
Divider(): React.JSX.Element;
|
|
29
29
|
Item({ children, onClick, onItemClick, disabled, ...props }: {
|
|
30
30
|
children: React.ReactNode;
|
|
31
31
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
32
32
|
onItemClick?: (isClickable: boolean) => void;
|
|
33
33
|
disabled?: boolean;
|
|
34
|
-
} & React.HTMLAttributes<HTMLDivElement>):
|
|
34
|
+
} & React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
35
35
|
Link({ children, onItemClick, disabled, ...props }: {
|
|
36
36
|
children: React.ReactNode;
|
|
37
37
|
onItemClick?: (isClickable: boolean) => void;
|
|
38
38
|
disabled?: boolean;
|
|
39
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement>):
|
|
39
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement>): React.JSX.Element;
|
|
40
40
|
};
|
|
41
41
|
export { Dropdown };
|
|
42
42
|
export type { DropDownProps };
|