loon-bulma-react 2024.1.28 → 2025.0.0
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 +3 -3
- package/dist/index.d.cts +218 -533
- package/dist/index.d.ts +218 -533
- package/dist/index.js +3 -3
- package/package.json +52 -52
- package/styles/bulma-box.scss +2 -1
- package/styles/checkradio.scss +8 -7
- package/styles/divider.scss +2 -1
- package/styles/indicators.scss +6 -5
- package/styles/quickview.scss +3 -2
- package/styles/steps.scss +3 -2
- package/styles/timeline.scss +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React$1, { CSSProperties, ReactNode } from 'react';
|
|
2
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React$1, { CSSProperties, ReactNode } from 'react';
|
|
3
3
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
4
4
|
import { Locale } from 'date-fns';
|
|
5
5
|
import { JSONContent } from '@tiptap/react';
|
|
@@ -140,7 +140,7 @@ type AspectRatioProps = {
|
|
|
140
140
|
* <iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ">
|
|
141
141
|
* </AspectRatio>
|
|
142
142
|
*/
|
|
143
|
-
declare function AspectRatio({ ratio, children, caption, className }: AspectRatioProps): JSX.Element;
|
|
143
|
+
declare function AspectRatio({ ratio, children, caption, className }: AspectRatioProps): react_jsx_runtime.JSX.Element;
|
|
144
144
|
|
|
145
145
|
/** Basis block component met een standaard margin & padding (bulma) */
|
|
146
146
|
declare function Block({ id, children, className: cn, styles, }: {
|
|
@@ -148,7 +148,7 @@ declare function Block({ id, children, className: cn, styles, }: {
|
|
|
148
148
|
children: React$1.ReactNode;
|
|
149
149
|
className?: string;
|
|
150
150
|
styles?: React$1.CSSProperties;
|
|
151
|
-
}): JSX.Element;
|
|
151
|
+
}): react_jsx_runtime.JSX.Element;
|
|
152
152
|
|
|
153
153
|
type BoxProps = {
|
|
154
154
|
id?: string;
|
|
@@ -158,7 +158,7 @@ type BoxProps = {
|
|
|
158
158
|
className?: string;
|
|
159
159
|
/** Style props direct op de box */
|
|
160
160
|
styles?: CSSProperties;
|
|
161
|
-
itemRef?: React$1.RefObject<any
|
|
161
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
164
|
* Maak een witte box om andere elementen heen. Voor forms of modals. Heeft een beetje schaduw.
|
|
@@ -166,13 +166,13 @@ type BoxProps = {
|
|
|
166
166
|
* @returns een witte box om elementen.
|
|
167
167
|
* @example <Box>This is a box</Box>
|
|
168
168
|
*/
|
|
169
|
-
declare function Box({ id, children, className: cn, styles, itemRef }: BoxProps): JSX.Element;
|
|
169
|
+
declare function Box({ id, children, className: cn, styles, itemRef }: BoxProps): react_jsx_runtime.JSX.Element;
|
|
170
170
|
|
|
171
171
|
type BorderBoxProps = {
|
|
172
172
|
children: React$1.ReactNode;
|
|
173
173
|
title?: string | undefined;
|
|
174
174
|
style?: React$1.CSSProperties | undefined;
|
|
175
|
-
itemRef?: React$1.RefObject<HTMLDivElement> | undefined;
|
|
175
|
+
itemRef?: React$1.RefObject<HTMLDivElement> | undefined | null;
|
|
176
176
|
className?: string | undefined;
|
|
177
177
|
color?: ColorProp | 'default' | undefined;
|
|
178
178
|
alignment?: AlignmentProp | undefined;
|
|
@@ -184,23 +184,15 @@ type BorderBoxProps = {
|
|
|
184
184
|
* @example <BorderBox.Primary title="Title" alignment="c">Content</BorderBox.Primary>
|
|
185
185
|
*/
|
|
186
186
|
declare const BorderBox: {
|
|
187
|
-
({ children, title, style, itemRef, className: cn, color: colorProp, alignment, }: BorderBoxProps): JSX.Element;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
/** Een Box met een Danger-colored title */
|
|
197
|
-
Danger(props: StrictOmit<BorderBoxProps, "color">): JSX.Element;
|
|
198
|
-
/** Een Box met een Success-colored title */
|
|
199
|
-
Success(props: StrictOmit<BorderBoxProps, "color">): JSX.Element;
|
|
200
|
-
/** Een Box met een Light-colored title */
|
|
201
|
-
Light(props: StrictOmit<BorderBoxProps, "color">): JSX.Element;
|
|
202
|
-
/** Een Box met een Dark-colored title (default) */
|
|
203
|
-
Dark(props: StrictOmit<BorderBoxProps, "color">): JSX.Element;
|
|
187
|
+
({ children, title, style, itemRef, className: cn, color: colorProp, alignment, }: BorderBoxProps): react_jsx_runtime.JSX.Element;
|
|
188
|
+
Primary(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
189
|
+
Link(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
190
|
+
Info(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
191
|
+
Warning(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
192
|
+
Danger(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
193
|
+
Success(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
194
|
+
Light(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
195
|
+
Dark(props: StrictOmit<BorderBoxProps, "color">): react_jsx_runtime.JSX.Element;
|
|
204
196
|
};
|
|
205
197
|
|
|
206
198
|
type ColumnsProps = {
|
|
@@ -236,7 +228,7 @@ type ColumnsProps = {
|
|
|
236
228
|
* <Column narrow>This is a narrow column</Column>
|
|
237
229
|
* </Columns>
|
|
238
230
|
*/
|
|
239
|
-
declare function Columns({ children, id, gap, multiline, centered, vCentered, className: classes, styles, itemRef, }: ColumnsProps): JSX.Element;
|
|
231
|
+
declare function Columns({ children, id, gap, multiline, centered, vCentered, className: classes, styles, itemRef, }: ColumnsProps): react_jsx_runtime.JSX.Element;
|
|
240
232
|
|
|
241
233
|
type ColSize = '' | 'auto' | 'narrow' | '1/1' | '1/2' | '1/3' | '2/3' | '3/3' | '1/4' | '2/4' | '3/4' | '4/4' | '1/5' | '2/5' | '3/5' | '4/5' | '5/5' | '1/12' | '2/12' | '3/12' | '4/12' | '5/12' | '6/12' | '7/12' | '8/12' | '9/12' | '10/12' | '11/12' | '12/12';
|
|
242
234
|
type ColumnProps = {
|
|
@@ -273,19 +265,9 @@ type ExpandedColumnProps = ColumnProps & {
|
|
|
273
265
|
* <Column narrow size="3/4">Narrow is more important, so this is a narrow column</Column
|
|
274
266
|
*/
|
|
275
267
|
declare const Column: {
|
|
276
|
-
({ narrow, size, className: propsClassName, styles, id, children, itemRef }: ExpandedColumnProps): JSX.Element;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
* @example </olumn size='1/1'>This is a full column</Column>
|
|
280
|
-
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/1">...</Column>`
|
|
281
|
-
*/
|
|
282
|
-
Full(props: ColumnProps): JSX.Element;
|
|
283
|
-
/** Column 1/2 width of parent
|
|
284
|
-
* @returns een kolom met de halve breedte van de parent 'Columns'
|
|
285
|
-
* @example Column size='1/2'>This is a half column</Column>
|
|
286
|
-
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/2">...</Column>`
|
|
287
|
-
*/
|
|
288
|
-
Half(props: ColumnProps): JSX.Element;
|
|
268
|
+
({ narrow, size, className: propsClassName, styles, id, children, itemRef }: ExpandedColumnProps): react_jsx_runtime.JSX.Element;
|
|
269
|
+
Full(props: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
270
|
+
Half(props: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
289
271
|
/** Spread columns based on thirds (1/3, 2/3)
|
|
290
272
|
* @deprecated Gebruik de gewone Column-component met de `size`-prop zoals onderstaand voorbeeld om deze te vervangen
|
|
291
273
|
* @example
|
|
@@ -298,13 +280,13 @@ declare const Column: {
|
|
|
298
280
|
* @example <Column size="2/3">This is a first third column</Column>
|
|
299
281
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/3">...</Column>`
|
|
300
282
|
*/
|
|
301
|
-
One: (props: ColumnProps) => JSX.Element;
|
|
283
|
+
One: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
302
284
|
/** Column 2/3 width of parent
|
|
303
285
|
* @returns een kolom met 2/3 breedte van de parent 'Columns'
|
|
304
286
|
* @example <Column size="2/3">This is a second third column</Column>
|
|
305
287
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="2/3">...</Column>`
|
|
306
288
|
*/
|
|
307
|
-
Two: (props: ColumnProps) => JSX.Element;
|
|
289
|
+
Two: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
308
290
|
};
|
|
309
291
|
/** Spread columns based on quarters (1/4, 2/4, 3/4)
|
|
310
292
|
* @deprecated Gebruik de gewone Column-component met de `size`-prop zoals onderstaand voorbeeld om deze te vervangen
|
|
@@ -319,19 +301,19 @@ declare const Column: {
|
|
|
319
301
|
* @example <Column.Quarters.One>This is a 1/4 column</Column.Quarters.One>
|
|
320
302
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/4">...</Column>`
|
|
321
303
|
*/
|
|
322
|
-
One: (props: ColumnProps) => JSX.Element;
|
|
304
|
+
One: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
323
305
|
/** Column 2/4 width of parent
|
|
324
306
|
* @returns een kolom met 2/4 breedte van de parent 'Columns'
|
|
325
307
|
* @example <Column.Quarters.Two>This is a 2/4 column</Column.Quarters.Two>
|
|
326
308
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="2/4">...</Column>`
|
|
327
309
|
*/
|
|
328
|
-
Two: (props: ColumnProps) => JSX.Element;
|
|
310
|
+
Two: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
329
311
|
/** Column 3/4 width of parent
|
|
330
312
|
* @returns een kolom met 3/4 breedte van de parent 'Columns'
|
|
331
313
|
* @example <Column.Quarters.Three>This is a 3/4 column</Column.Quarters.Three>
|
|
332
314
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="3/4">...</Column>`
|
|
333
315
|
*/
|
|
334
|
-
Three: (props: ColumnProps) => JSX.Element;
|
|
316
|
+
Three: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
335
317
|
};
|
|
336
318
|
/** Spread columns based on fifths (1/5, 2/5, 3/5, 4/5)
|
|
337
319
|
* @deprecated Gebuik de gewone Column-component met de `size`-prop zoals onderstaand voorbeeld om deze te vervangen
|
|
@@ -346,25 +328,25 @@ declare const Column: {
|
|
|
346
328
|
* @example <Column.Fifths.One>This is a 1/5 column</Column.Fifths.One>
|
|
347
329
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="1/5">...</Column>`
|
|
348
330
|
*/
|
|
349
|
-
One: (props: ColumnProps) => JSX.Element;
|
|
331
|
+
One: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
350
332
|
/** Column 2/5 width of parent
|
|
351
333
|
* @returns een kolom met 2/5 breedte van de parent 'Columns'
|
|
352
334
|
* @example <Column.Fifths.Two>This is a 2/5 column</Column.Fifths.Two>
|
|
353
335
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="2/5">...</Column>`
|
|
354
336
|
*/
|
|
355
|
-
Two: (props: ColumnProps) => JSX.Element;
|
|
337
|
+
Two: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
356
338
|
/** Column 3/5 width of parent
|
|
357
339
|
* @returns een kolom met 3/5 breedte van de parent 'Columns'
|
|
358
340
|
* @example <Column.Fifths.Three>This is a 3/5 column</Column.Fifths.Three>
|
|
359
341
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="3/5">...</Column>`
|
|
360
342
|
*/
|
|
361
|
-
Three: (props: ColumnProps) => JSX.Element;
|
|
343
|
+
Three: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
362
344
|
/** Column 4/5 width of parent
|
|
363
345
|
* @returns een kolom met 4/5 breedte van de parent 'Columns'
|
|
364
346
|
* @example <Column.Fifths.Four>This is a 4/5 column</Column.Fifths.Four>
|
|
365
347
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="4/5">...</Column>`
|
|
366
348
|
*/
|
|
367
|
-
Four: (props: ColumnProps) => JSX.Element;
|
|
349
|
+
Four: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
368
350
|
};
|
|
369
351
|
/**
|
|
370
352
|
* 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)
|
|
@@ -382,73 +364,73 @@ declare const Column: {
|
|
|
382
364
|
* @example <Column.Twelves.One>This is a 1/12 column</Column.Twelves.One>
|
|
383
365
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="1/12">...</Column>`
|
|
384
366
|
*/
|
|
385
|
-
One: (props: ColumnProps) => JSX.Element;
|
|
367
|
+
One: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
386
368
|
/** Column 2/12 width of parent
|
|
387
369
|
* @returns een kolom met 2/12 breedte van de parent 'Columns'
|
|
388
370
|
* @example <Column.Twelves.Two>This is a 2/12 column</Column.Twelves.Two>
|
|
389
371
|
* @deprecated Gebrui de `size`-prop om deze te vervangen: `<Column size="2/12">...</Column>`
|
|
390
372
|
*/
|
|
391
|
-
Two: (props: ColumnProps) => JSX.Element;
|
|
373
|
+
Two: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
392
374
|
/** Column 3/12 width of parent
|
|
393
375
|
* @returns een kolom met 3/12 breedte van de parent 'Columns'
|
|
394
376
|
* @example <Column.Twelves.Three>This is a 3/12 column</Column.Twelves.Three>
|
|
395
377
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="3/12">...</Column>`
|
|
396
378
|
*/
|
|
397
|
-
Three: (props: ColumnProps) => JSX.Element;
|
|
379
|
+
Three: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
398
380
|
/** Column 4/12 width of parent
|
|
399
381
|
* @returns een kolom met 4/12 breedte van de parent 'Columns'
|
|
400
382
|
* @example <Column.Twelves.Four>This is a 4/12 column</Column.Twelves.Four>
|
|
401
383
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="4/12">...</Column>`
|
|
402
384
|
*/
|
|
403
|
-
Four: (props: ColumnProps) => JSX.Element;
|
|
385
|
+
Four: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
404
386
|
/** Column 5/12 width of parent
|
|
405
387
|
* @returns een kolom met 5/12 breedte van de parent 'Columns'
|
|
406
388
|
* @example <Column.Twelves.Five>This is a 5/12 column</Column.Twelves.Five>
|
|
407
389
|
* @deprecated Gebuik de `size`-prop om deze te vervangen: `<Column size="5/12">...</Column>`
|
|
408
390
|
*/
|
|
409
|
-
Five: (props: ColumnProps) => JSX.Element;
|
|
391
|
+
Five: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
410
392
|
/** Column 6/12 width of parent
|
|
411
393
|
* @returns een kolom met 6/12 breedte van de parent 'Columns'
|
|
412
394
|
* @example <Column.Twelves.Six>This is a 6/12 column</Column.Twelves.Six>
|
|
413
395
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="6/12">...</Column>`
|
|
414
396
|
*/
|
|
415
|
-
Six: (props: ColumnProps) => JSX.Element;
|
|
397
|
+
Six: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
416
398
|
/** Column 7/12 width of parent
|
|
417
399
|
* @returns een kolom met 7/12 breedte van de parent 'Columns'
|
|
418
400
|
* @example <Column.Twelves.Seven>This is a 7/12 column</Column.Twelves.Seven>
|
|
419
401
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="7/12">...</Column>`
|
|
420
402
|
*/
|
|
421
|
-
Seven: (props: ColumnProps) => JSX.Element;
|
|
403
|
+
Seven: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
422
404
|
/** Column 8/12 width of parent
|
|
423
405
|
* @returns een kolom met 8/12 breedte van de parent 'Columns'
|
|
424
406
|
* @example <Column.Twelves.Eight>This is a 8/12 column</Column.Twelves.Eight>
|
|
425
407
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="8/12">...</Column>`
|
|
426
408
|
*/
|
|
427
|
-
Eight: (props: ColumnProps) => JSX.Element;
|
|
409
|
+
Eight: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
428
410
|
/** Column 9/12 width of parent
|
|
429
411
|
* @returns een kolom met 9/12 breedte van de parent 'Columns'
|
|
430
412
|
* @example <Column.Twelves.Nine>This is a 9/12 column</Column.Twelves.Nine>
|
|
431
413
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="9/12">...</Column>`
|
|
432
414
|
*/
|
|
433
|
-
Nine: (props: ColumnProps) => JSX.Element;
|
|
415
|
+
Nine: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
434
416
|
/** Column 10/12 width of parent
|
|
435
417
|
* @returns een kolom met 10/12 breedte van de parent 'Columns'
|
|
436
418
|
* @example <Column.Twelves.Ten>This is a 10/12 column</Column.Twelves.Ten>
|
|
437
419
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="10/12">...</Column>`
|
|
438
420
|
*/
|
|
439
|
-
Ten: (props: ColumnProps) => JSX.Element;
|
|
421
|
+
Ten: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
440
422
|
/** Column 11/12 width of parent
|
|
441
423
|
* @returns een kolom met 11/12 breedte van de parent 'Columns'
|
|
442
424
|
* @example <Column.Twelves.Eleven>This is a 11/12 column</Column.Twelves.Eleven>
|
|
443
425
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="11/12">...</Column>`
|
|
444
426
|
*/
|
|
445
|
-
Eleven: (props: ColumnProps) => JSX.Element;
|
|
427
|
+
Eleven: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
446
428
|
/** Column 12/12 width of parent
|
|
447
429
|
* @returns een kolom met 12/12 breedte van de parent 'Columns'
|
|
448
430
|
* @example <Column.Twelves.Twelve>This is a 12/12 column</Column.Twelves.Twelve>
|
|
449
431
|
* @deprecated Gebruik de `size`-prop om deze te vervangen: `<Column size="12/12">...</Column>`
|
|
450
432
|
*/
|
|
451
|
-
Twelve: (props: ColumnProps) => JSX.Element;
|
|
433
|
+
Twelve: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
452
434
|
};
|
|
453
435
|
displayName: string;
|
|
454
436
|
};
|
|
@@ -487,74 +469,11 @@ type ContainerProps = {
|
|
|
487
469
|
* @example <Container>This is a container</Container>
|
|
488
470
|
*/
|
|
489
471
|
declare const Container: {
|
|
490
|
-
({ className: cn, children, styles, size, id, itemRef }: ContainerProps): JSX.Element;
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
* @deprecated, gebruik de `size` prop van `<Container size='s'>` OF `<Container>` (`s` is default) in plaats van deze component
|
|
496
|
-
* @description De width van de container is afhankelijk van de maximale viewport width:
|
|
497
|
-
* | | Component | size | tot 1023px | tot 1216px | tot 1408px | groter |
|
|
498
|
-
* |----|----------------------|------|------------|------------|------------|-----------|
|
|
499
|
-
* | >> | `<Container.Default>`| `s` | max-width | 960px | 1152px | 1344px |
|
|
500
|
-
* | | `<Container.Wide>` | `m` | max-width | max-width | 1152px | 1344px |
|
|
501
|
-
* | | `<Container.Widest>` | `l` | max-width | max-width | max-width | 1344px |
|
|
502
|
-
* | | `<Container.Max>` | `xl` | max-width | max-width | max-width | max-width |
|
|
503
|
-
*
|
|
504
|
-
* @example <Container.Wide>This is a somewhat wider container</Container.Wide>
|
|
505
|
-
*/
|
|
506
|
-
Default({ className, children, styles }: StrictOmit<ContainerProps, "size">): JSX.Element;
|
|
507
|
-
/**
|
|
508
|
-
* Een container om content horizontaal te centreren in grote viewports.
|
|
509
|
-
* @param props
|
|
510
|
-
* @returns een iets bredere container
|
|
511
|
-
* @deprecated, gebruik de `size` prop van `<Container size='m'>` in plaats van deze component
|
|
512
|
-
* @description De width van de container is afhankelijk van de maximale viewport width:
|
|
513
|
-
* | | Component | size | tot 1023px | tot 1216px | tot 1408px | groter |
|
|
514
|
-
* |----|----------------------|------|------------|------------|------------|-----------|
|
|
515
|
-
* | | `<Container.Default>`| `s` | max-width | 960px | 1152px | 1344px |
|
|
516
|
-
* | >> | `<Container.Wide>` | `m` | max-width | max-width | 1152px | 1344px |
|
|
517
|
-
* | | `<Container.Widest>` | `l` | max-width | max-width | max-width | 1344px |
|
|
518
|
-
* | | `<Container.Max>` | `xl` | max-width | max-width | max-width | max-width |
|
|
519
|
-
*
|
|
520
|
-
* @example <Container.Wide>This is a somewhat wider container</Container.Wide>
|
|
521
|
-
*/
|
|
522
|
-
Wide({ className, children, styles }: StrictOmit<ContainerProps, "size">): JSX.Element;
|
|
523
|
-
/**
|
|
524
|
-
* Een container om content horizontaal te centreren in grote viewports.
|
|
525
|
-
* @param props
|
|
526
|
-
* @returns een hele brede container
|
|
527
|
-
* @deprecated, gebruik de `size` prop van `<Container size='l'>` in plaats van deze component
|
|
528
|
-
* @description De width van de container is afhankelijk van de maximale viewport width:
|
|
529
|
-
* | | Component | size |tot 1023px | tot 1216px | tot 1408px | groter |
|
|
530
|
-
* |----|----------------------|-------|-----------|------------|------------|-----------|
|
|
531
|
-
* | | `<Container.Default>`| `s` |max-width | 960px | 1152px | 1344px |
|
|
532
|
-
* | | `<Container.Wide>` | `m` |max-width | max-width | 1152px | 1344px |
|
|
533
|
-
* | >> | `<Container.Widest>` | `l` |max-width | max-width | max-width | 1344px |
|
|
534
|
-
* | | `<Container.Max>` | `xl` |max-width | max-width | max-width | max-width |
|
|
535
|
-
*
|
|
536
|
-
* @example <Container.Widest>This is a wide container</Container.Widest>
|
|
537
|
-
*/
|
|
538
|
-
Widest({ className, children, styles }: StrictOmit<ContainerProps, "size">): JSX.Element;
|
|
539
|
-
/**
|
|
540
|
-
* Een container om content horizontaal te centreren in grote viewports.
|
|
541
|
-
* De width van de container is afhankelijk van de maximale viewport width.
|
|
542
|
-
* Aan de linker- en rechter-zijde wordt een margin van 32px behouden.
|
|
543
|
-
* @deprecated, gebruik de `size` prop van `<Container size='xl'>` in plaats van deze component
|
|
544
|
-
* @param props
|
|
545
|
-
* @returns een container die de gehele breedte van de viewport gebruikt.
|
|
546
|
-
*
|
|
547
|
-
* @description De width van de container is afhankelijk van de maximale viewport width:
|
|
548
|
-
* | | Component | size |tot 1023px | tot 1216px | tot 1408px | groter |
|
|
549
|
-
* |----|----------------------|-------|-----------|------------|------------|-----------|
|
|
550
|
-
* | | `<Container.Default>`| `s` |max-width | 960px | 1152px | 1344px |
|
|
551
|
-
* | | `<Container.Wide>` | `m` |max-width | max-width | 1152px | 1344px |
|
|
552
|
-
* | | `<Container.Widest>` | `l` |max-width | max-width | max-width | 1344px |
|
|
553
|
-
* | >> | `<Container.Max>` | `xl` |max-width | max-width | max-width | max-width |
|
|
554
|
-
*
|
|
555
|
-
* @example <Container.Max>This is an almost-fullwidth container </Container.Max>
|
|
556
|
-
*/
|
|
557
|
-
Max({ className, children, styles }: StrictOmit<ContainerProps, "size">): JSX.Element;
|
|
472
|
+
({ className: cn, children, styles, size, id, itemRef }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
473
|
+
Default({ className, children, styles }: StrictOmit<ContainerProps, "size">): react_jsx_runtime.JSX.Element;
|
|
474
|
+
Wide({ className, children, styles }: StrictOmit<ContainerProps, "size">): react_jsx_runtime.JSX.Element;
|
|
475
|
+
Widest({ className, children, styles }: StrictOmit<ContainerProps, "size">): react_jsx_runtime.JSX.Element;
|
|
476
|
+
Max({ className, children, styles }: StrictOmit<ContainerProps, "size">): react_jsx_runtime.JSX.Element;
|
|
558
477
|
};
|
|
559
478
|
|
|
560
479
|
type ContentPropsType = {
|
|
@@ -567,7 +486,7 @@ type ContentPropsType = {
|
|
|
567
486
|
/** Extra inline styles */
|
|
568
487
|
styles?: CSSProperties;
|
|
569
488
|
id?: string;
|
|
570
|
-
itemRef?: React$1.RefObject<any
|
|
489
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
571
490
|
};
|
|
572
491
|
/**
|
|
573
492
|
* Een Content component voor generated content. De meeste html tags kunnen hier worden gebruikt.
|
|
@@ -575,7 +494,7 @@ type ContentPropsType = {
|
|
|
575
494
|
* @returns een div geschikt voor content. WYSIWYG ofzo.
|
|
576
495
|
* @example <Content>This is a content which can contain lists, <strong>strong</strong> and <em>italic</em> tags</Content>
|
|
577
496
|
*/
|
|
578
|
-
declare function Content({ size, className: cn, styles, id, children, itemRef }: ContentPropsType): JSX.Element;
|
|
497
|
+
declare function Content({ size, className: cn, styles, id, children, itemRef }: ContentPropsType): react_jsx_runtime.JSX.Element;
|
|
579
498
|
|
|
580
499
|
type DividerProps = {
|
|
581
500
|
color?: ColorProp | 'default' | undefined;
|
|
@@ -593,7 +512,7 @@ type FooterProps = {
|
|
|
593
512
|
className?: string;
|
|
594
513
|
/** Custom styles voor de footer */
|
|
595
514
|
styles?: React$1.CSSProperties;
|
|
596
|
-
itemRef?: React$1.RefObject<any
|
|
515
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
597
516
|
id?: string;
|
|
598
517
|
};
|
|
599
518
|
/**
|
|
@@ -603,10 +522,10 @@ type FooterProps = {
|
|
|
603
522
|
* @returns een footer met daarin de content.
|
|
604
523
|
* @example <Footer>This is a footer</Footer>
|
|
605
524
|
*/
|
|
606
|
-
declare function Footer({ children, alignment, className: cn, styles, id, itemRef }: FooterProps): JSX.Element;
|
|
525
|
+
declare function Footer({ children, alignment, className: cn, styles, id, itemRef }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
607
526
|
|
|
608
527
|
type HeroProps = {
|
|
609
|
-
itemRef?: React$1.RefObject<any
|
|
528
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
610
529
|
id?: string;
|
|
611
530
|
children?: React$1.ReactNode;
|
|
612
531
|
/**
|
|
@@ -625,17 +544,7 @@ type HeroProps = {
|
|
|
625
544
|
* @example
|
|
626
545
|
*/
|
|
627
546
|
declare const Hero: {
|
|
628
|
-
({ children: nodes, heroColorFor, size, itemRef, id, forceScheme }: HeroProps): JSX.Element;
|
|
629
|
-
/**
|
|
630
|
-
* Body of the hero, which could contain a title and/or subtitle
|
|
631
|
-
* @param props props
|
|
632
|
-
* @returns hero body with content
|
|
633
|
-
* @example
|
|
634
|
-
* <Hero.Body>
|
|
635
|
-
* <Title>Title</Title>
|
|
636
|
-
* <Subtitle>Subtitle</Subtitle>
|
|
637
|
-
* </Hero.Body>
|
|
638
|
-
*/
|
|
547
|
+
({ children: nodes, heroColorFor, size, itemRef, id, forceScheme }: HeroProps): react_jsx_runtime.JSX.Element;
|
|
639
548
|
Body({ children }: {
|
|
640
549
|
children: React$1.ReactNode;
|
|
641
550
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -660,15 +569,6 @@ declare const Hero: {
|
|
|
660
569
|
children: React$1.ReactNode;
|
|
661
570
|
narrow?: boolean;
|
|
662
571
|
}): react_jsx_runtime.JSX.Element;
|
|
663
|
-
/** Navigation ItemList voor In een Hero Foot. Parent should be <Hero.Foot> and children should be <Hero.Foot.NavItem>
|
|
664
|
-
* @param props props
|
|
665
|
-
* @returns Navigation Item List for Hero's
|
|
666
|
-
* @example
|
|
667
|
-
* <Hero.Foot.NavList>
|
|
668
|
-
* <Hero.Foot.NavItem to="/">URL </Hero.Foot.NavItem>
|
|
669
|
-
* <Hero.Foot.NavItem to="/">URL </Hero.Foot.NavItem>
|
|
670
|
-
* </Hero.Foot.NavList>
|
|
671
|
-
*/
|
|
672
572
|
NavList({ children }: {
|
|
673
573
|
children: React$1.ReactNode;
|
|
674
574
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -696,22 +596,12 @@ declare const Hero: {
|
|
|
696
596
|
Head: {
|
|
697
597
|
({ children }: {
|
|
698
598
|
children: React$1.ReactNode;
|
|
699
|
-
}): JSX.Element;
|
|
700
|
-
/** Een button in de hero head
|
|
701
|
-
* @param props props
|
|
702
|
-
* @returns een button in de hero head
|
|
703
|
-
* @example <Hero.Head.Button onClick={handleClick}>Button</Hero.Head.Button>
|
|
704
|
-
*/
|
|
599
|
+
}): react_jsx_runtime.JSX.Element;
|
|
705
600
|
Button({ children, title, onClick }: {
|
|
706
601
|
children: React$1.ReactNode;
|
|
707
602
|
title?: string;
|
|
708
603
|
onClick?: (e: any) => void;
|
|
709
604
|
}): react_jsx_runtime.JSX.Element;
|
|
710
|
-
/** Een link in de hero head
|
|
711
|
-
* @param props props
|
|
712
|
-
* @returns een link in de hero head
|
|
713
|
-
* @example <Hero.Head.Link to="https://www.loon.be" title="Loon.be">Loon.be</Hero.Head.Link>
|
|
714
|
-
*/
|
|
715
605
|
Link({ children, title, to, target, rel, }: {
|
|
716
606
|
children: React$1.ReactNode;
|
|
717
607
|
title?: string;
|
|
@@ -760,11 +650,11 @@ type ImageProps = {
|
|
|
760
650
|
* @returns an image with a fixed aspect ratio
|
|
761
651
|
* @example <Image ratio="1by1" src="https://www.loon.be/images/logo.png" alt="Loon.be" />
|
|
762
652
|
*/
|
|
763
|
-
declare function Image({ ratio, imgWidth, alt, figCaption, className, isRounded, src }: ImageProps): JSX.Element;
|
|
653
|
+
declare function Image({ ratio, imgWidth, alt, figCaption, className, isRounded, src }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
764
654
|
|
|
765
655
|
type SectionPropsType = {
|
|
766
656
|
id?: string;
|
|
767
|
-
itemRef?: React$1.RefObject<HTMLElement
|
|
657
|
+
itemRef?: React$1.RefObject<HTMLElement | HTMLDivElement | any> | null;
|
|
768
658
|
children?: React$1.ReactNode | undefined;
|
|
769
659
|
className?: string;
|
|
770
660
|
/** extra styles voor dit object */
|
|
@@ -779,7 +669,7 @@ type SectionPropsType = {
|
|
|
779
669
|
* @returns een sectie voor op de pagina, met ruimte eromheen
|
|
780
670
|
* @example <Section>This is a section</Section>
|
|
781
671
|
*/
|
|
782
|
-
declare function Section({ children, className: cn, styles, id, itemRef, size }: SectionPropsType): JSX.Element;
|
|
672
|
+
declare function Section({ children, className: cn, styles, id, itemRef, size }: SectionPropsType): react_jsx_runtime.JSX.Element;
|
|
783
673
|
|
|
784
674
|
/**
|
|
785
675
|
* Maak een ScrollArea om in een bepaalde richting te kunnen scrollen. De scrollareas maken gebruik van flexbox.
|
|
@@ -792,7 +682,7 @@ declare const ScrollArea: {
|
|
|
792
682
|
*/
|
|
793
683
|
Horizontal: (props: {
|
|
794
684
|
id?: string;
|
|
795
|
-
itemRef?: React$1.RefObject<any
|
|
685
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
796
686
|
/** Wat moet er in de flexbox container komen */
|
|
797
687
|
children: React$1.ReactNode;
|
|
798
688
|
/** Moeten de items gewrapped worden (meerdere rijen/kolommen) (default = false) */
|
|
@@ -967,7 +857,7 @@ type DataTableProps<T extends unknown = unknown> = {
|
|
|
967
857
|
* Deze content **MOET** een `<tr><td>...</td></tr>` bevatten!
|
|
968
858
|
*/
|
|
969
859
|
footerContent?: React$1.ReactNode;
|
|
970
|
-
itemRef?: React$1.RefObject<any
|
|
860
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
971
861
|
id?: string;
|
|
972
862
|
};
|
|
973
863
|
/**
|
|
@@ -1016,7 +906,7 @@ type DataTableProps<T extends unknown = unknown> = {
|
|
|
1016
906
|
* @param searchPlaceholder placeholder voor zoek-input (default = 'Zoek ...')
|
|
1017
907
|
* @returns
|
|
1018
908
|
*/
|
|
1019
|
-
declare function DataTable<T extends unknown = unknown>({ data, columns: cols, defaultSortColNum, compact, noStripes, narrow, bordered, hoverable, sticky, hidePagination, initialPage, hideSearch, headerContent, footerContent, size, maxRows: definedMaxRows, searchPlaceholder, rowIdentifier, onSearch, onRowSelected, onRowRightClick, rowClass, renderWhenNoData, searchInfoMessage, id: tableID, itemRef, }: DataTableProps<T>): JSX.Element;
|
|
909
|
+
declare function DataTable<T extends unknown = unknown>({ data, columns: cols, defaultSortColNum, compact, noStripes, narrow, bordered, hoverable, sticky, hidePagination, initialPage, hideSearch, headerContent, footerContent, size, maxRows: definedMaxRows, searchPlaceholder, rowIdentifier, onSearch, onRowSelected, onRowRightClick, rowClass, renderWhenNoData, searchInfoMessage, id: tableID, itemRef, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1020
910
|
|
|
1021
911
|
type DropDownProps = {
|
|
1022
912
|
children?: React$1.ReactNode;
|
|
@@ -1030,7 +920,7 @@ type DropDownProps = {
|
|
|
1030
920
|
className?: string | undefined;
|
|
1031
921
|
};
|
|
1032
922
|
declare const Dropdown: {
|
|
1033
|
-
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, }: DropDownProps): JSX.Element;
|
|
923
|
+
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, }: DropDownProps): react_jsx_runtime.JSX.Element;
|
|
1034
924
|
Divider(): react_jsx_runtime.JSX.Element;
|
|
1035
925
|
Item({ children, onClick, ...props }: {
|
|
1036
926
|
children: React$1.ReactNode;
|
|
@@ -1048,13 +938,13 @@ type HelpTxtProps = {
|
|
|
1048
938
|
};
|
|
1049
939
|
type HelpTxtPropsNoColor = StrictOmit<HelpTxtProps, 'color'>;
|
|
1050
940
|
declare const HelpTxt: {
|
|
1051
|
-
({ color, className: cn, children }: HelpTxtProps): JSX.Element;
|
|
1052
|
-
Info(props: HelpTxtPropsNoColor): JSX.Element;
|
|
1053
|
-
Link(props: HelpTxtPropsNoColor): JSX.Element;
|
|
1054
|
-
Primary(props: HelpTxtPropsNoColor): JSX.Element;
|
|
1055
|
-
Danger(props: HelpTxtPropsNoColor): JSX.Element;
|
|
1056
|
-
Success(props: HelpTxtPropsNoColor): JSX.Element;
|
|
1057
|
-
Warning(props: HelpTxtPropsNoColor): JSX.Element;
|
|
941
|
+
({ color, className: cn, children }: HelpTxtProps): react_jsx_runtime.JSX.Element;
|
|
942
|
+
Info(props: HelpTxtPropsNoColor): react_jsx_runtime.JSX.Element;
|
|
943
|
+
Link(props: HelpTxtPropsNoColor): react_jsx_runtime.JSX.Element;
|
|
944
|
+
Primary(props: HelpTxtPropsNoColor): react_jsx_runtime.JSX.Element;
|
|
945
|
+
Danger(props: HelpTxtPropsNoColor): react_jsx_runtime.JSX.Element;
|
|
946
|
+
Success(props: HelpTxtPropsNoColor): react_jsx_runtime.JSX.Element;
|
|
947
|
+
Warning(props: HelpTxtPropsNoColor): react_jsx_runtime.JSX.Element;
|
|
1058
948
|
};
|
|
1059
949
|
|
|
1060
950
|
type IconProps = {
|
|
@@ -1084,7 +974,7 @@ type IconProps = {
|
|
|
1084
974
|
* <Icon icon="fas fa-flag" />
|
|
1085
975
|
* <Icon icon={faFlag} /> // import { faFlag } from '@fortawesome/free-solid-svg-icons';
|
|
1086
976
|
*/
|
|
1087
|
-
declare function Icon({ color, size, rotation, icon, flip, animate, className: classNameProp
|
|
977
|
+
declare function Icon({ color, size, rotation, icon, flip, animate, className: classNameProp }: IconProps): react_jsx_runtime.JSX.Element;
|
|
1088
978
|
type IconTextProps = {
|
|
1089
979
|
/** React font-awesome icon
|
|
1090
980
|
* - `string`: geef de gehele font-awesome-class op. 'flip', 'animate', 'rotation' worden dan al gebruikt in deze class.
|
|
@@ -1117,7 +1007,7 @@ type IconTextProps = {
|
|
|
1117
1007
|
* <IconText icon="fas fa-flag">Flag</IconText>
|
|
1118
1008
|
* <IconText icon={faFlag}>Flag</IconText> // import { faFlag } from '@fortawesome/free-solid-svg-icons';
|
|
1119
1009
|
*/
|
|
1120
|
-
declare function IconText({ icon, size, color, rotation, flip, animate, allowWrap, children, className: classNameProp, }: IconTextProps): JSX.Element;
|
|
1010
|
+
declare function IconText({ icon, size, color, rotation, flip, animate, allowWrap, children, className: classNameProp, }: IconTextProps): react_jsx_runtime.JSX.Element;
|
|
1121
1011
|
type IconStackProps = {
|
|
1122
1012
|
colors?: ColorProp[];
|
|
1123
1013
|
icons: string[] | IconProp[];
|
|
@@ -1133,7 +1023,7 @@ type IconStackProps = {
|
|
|
1133
1023
|
* @param icons: array van iconen. (default = [faHorseHead, faSlash])
|
|
1134
1024
|
* @returns
|
|
1135
1025
|
*/
|
|
1136
|
-
declare function IconStack({ colors: clrs, icons, sizes: szs }: IconStackProps): JSX.Element;
|
|
1026
|
+
declare function IconStack({ colors: clrs, icons, sizes: szs }: IconStackProps): react_jsx_runtime.JSX.Element;
|
|
1137
1027
|
|
|
1138
1028
|
type IndicatorProps = {
|
|
1139
1029
|
/** Positie van de indicator (default = 'tr' (top-right)) */
|
|
@@ -1155,34 +1045,36 @@ type IndicatorProps = {
|
|
|
1155
1045
|
* 5
|
|
1156
1046
|
* </Indicator>
|
|
1157
1047
|
*/
|
|
1158
|
-
declare function Indicator({ position, color, title, children }: IndicatorProps): JSX.Element;
|
|
1048
|
+
declare function Indicator({ position, color, title, children }: IndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1159
1049
|
|
|
1050
|
+
type KbdProps = {
|
|
1051
|
+
/** Optionele extra class */
|
|
1052
|
+
className?: string;
|
|
1053
|
+
/** Content van de key */
|
|
1054
|
+
children: React$1.ReactNode;
|
|
1055
|
+
};
|
|
1056
|
+
type KbdsProps = {
|
|
1057
|
+
/** Weer te geven keys als string */
|
|
1058
|
+
keys: string[];
|
|
1059
|
+
/** De separator van de keys, default '+' */
|
|
1060
|
+
separator?: string;
|
|
1061
|
+
/** Optionele className */
|
|
1062
|
+
className?: string;
|
|
1063
|
+
};
|
|
1160
1064
|
/**
|
|
1161
1065
|
* Toon een Keyboard-Key als een 'key' op een keyboard.
|
|
1162
1066
|
* @param params
|
|
1163
1067
|
* @returns een element dat lijkt op een keyboard-key
|
|
1164
1068
|
* @example <Kbd>A</Kbd>
|
|
1165
1069
|
*/
|
|
1166
|
-
declare function Kbd({ children, className:
|
|
1167
|
-
/** Optionele extra class */
|
|
1168
|
-
className?: string;
|
|
1169
|
-
/** Content van de key */
|
|
1170
|
-
children: React$1.ReactNode;
|
|
1171
|
-
}): JSX.Element;
|
|
1070
|
+
declare function Kbd({ children, className: cn }: KbdProps): react_jsx_runtime.JSX.Element;
|
|
1172
1071
|
/**
|
|
1173
1072
|
* Toont meerdere keyboard-keys, gescheiden door een teken (deafult = '+')
|
|
1174
1073
|
* @param props
|
|
1175
1074
|
* @returns een rijtje keyboard-keys
|
|
1176
1075
|
* @example <Kbds keys={['ctrl+S', 'shift+D']} />
|
|
1177
1076
|
*/
|
|
1178
|
-
declare function Kbds({ keys, separator, className
|
|
1179
|
-
/** Weer te geven keys als string */
|
|
1180
|
-
keys: string[];
|
|
1181
|
-
/** De separator van de keys, default '+' */
|
|
1182
|
-
separator?: string;
|
|
1183
|
-
/** Optionele className */
|
|
1184
|
-
className?: string;
|
|
1185
|
-
}): JSX.Element;
|
|
1077
|
+
declare function Kbds({ keys, separator, className }: KbdsProps): react_jsx_runtime.JSX.Element;
|
|
1186
1078
|
|
|
1187
1079
|
type MenuProps = {
|
|
1188
1080
|
/** Welk item is het initiële geselecteerde item */
|
|
@@ -1193,7 +1085,7 @@ type MenuProps = {
|
|
|
1193
1085
|
onMenuItemClicked: (item: string) => void;
|
|
1194
1086
|
style?: React$1.CSSProperties;
|
|
1195
1087
|
className?: string;
|
|
1196
|
-
itemRef?: React$1.RefObject<any
|
|
1088
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
1197
1089
|
};
|
|
1198
1090
|
type MenuItemProps = {
|
|
1199
1091
|
/** (optional) Naam voor menu-item dat geselecteert wordt. Als niet opgegevens, wordt de string-content van het item gebruikt */
|
|
@@ -1236,53 +1128,14 @@ type ExpandableMenuItemProps = {
|
|
|
1236
1128
|
* </Menu>
|
|
1237
1129
|
*/
|
|
1238
1130
|
declare const Menu: {
|
|
1239
|
-
({ initialItem, children, className: classes, style, onMenuItemClicked, itemRef }: MenuProps): JSX.Element;
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
* @example <Menu.Item name="1">Item 1</Menu.Item>
|
|
1245
|
-
*/
|
|
1246
|
-
Item({ name, children }: MenuItemProps & React$1.HTMLAttributes<HTMLSpanElement>): JSX.Element;
|
|
1247
|
-
/**
|
|
1248
|
-
* Groepeer Menu Items in een lijstje met een label om te laten weten dat ze bij elkaar horen
|
|
1249
|
-
* @param props
|
|
1250
|
-
* @returns een MenuItemGroup
|
|
1251
|
-
* @example
|
|
1252
|
-
* <Menu.ItemGroup label="Groep 1">
|
|
1253
|
-
* <Menu.Item name="1">Item 1</Menu.Item>
|
|
1254
|
-
* <Menu.Item name="2">Item 2</Menu.Item>
|
|
1255
|
-
* </Menu.ItemGroup>
|
|
1256
|
-
*/
|
|
1257
|
-
ItemGroup({ label, children }: MenuItemGroupProps & React$1.HTMLAttributes<HTMLSpanElement>): JSX.Element;
|
|
1258
|
-
/**
|
|
1259
|
-
* Een niet-selecteerbare, maar wel collapsable / expandable menu group met een lijstje children
|
|
1260
|
-
* @param props
|
|
1261
|
-
* @returns een collapsible menu item
|
|
1262
|
-
* @example
|
|
1263
|
-
* <Menu.ExpandableGroup label="Groep 1">
|
|
1264
|
-
* <Menu.Item name="1">Item 1</Menu.Item>
|
|
1265
|
-
* <Menu.Item name="2">Item 2</Menu.Item>
|
|
1266
|
-
* </Menu.ExpandableGroup>
|
|
1267
|
-
*/
|
|
1268
|
-
ExpandableGroup(props: ExpandableMenuItemProps): JSX.Element;
|
|
1269
|
-
/**
|
|
1270
|
-
* Een niet-selecteerbare, maar wel collapsable / expandable menu item met een lijstje children
|
|
1271
|
-
* @param props
|
|
1272
|
-
* @returns een collapsible menu item
|
|
1273
|
-
* @example
|
|
1274
|
-
* <Menu.ExpandableItem label="Groep 1">
|
|
1275
|
-
* <Menu.Item name="1">Item 1</Menu.Item>
|
|
1276
|
-
* <Menu.Item name="2">Item 2</Menu.Item>
|
|
1277
|
-
* </Menu.ExpandableItem>
|
|
1278
|
-
*/
|
|
1279
|
-
ExpandableItem(props: ExpandableMenuItemProps & React$1.HTMLAttributes<HTMLSpanElement>): JSX.Element;
|
|
1280
|
-
/**
|
|
1281
|
-
* Een label in het menu
|
|
1282
|
-
*/
|
|
1131
|
+
({ initialItem, children, className: classes, style, onMenuItemClicked, itemRef }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
1132
|
+
Item({ name, children }: MenuItemProps & React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1133
|
+
ItemGroup({ label, children }: MenuItemGroupProps & React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1134
|
+
ExpandableGroup(props: ExpandableMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1135
|
+
ExpandableItem(props: ExpandableMenuItemProps & React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1283
1136
|
Label({ children }: {
|
|
1284
1137
|
children: React$1.ReactNode;
|
|
1285
|
-
}): JSX.Element;
|
|
1138
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1286
1139
|
};
|
|
1287
1140
|
|
|
1288
1141
|
type MessageProps = {
|
|
@@ -1311,7 +1164,7 @@ type MessageProps = {
|
|
|
1311
1164
|
* Werkt natuurlijk alleen bij `collapsable = true`
|
|
1312
1165
|
*/
|
|
1313
1166
|
startCollapsed?: boolean;
|
|
1314
|
-
itemRef?: React$1.RefObject<any
|
|
1167
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
1315
1168
|
};
|
|
1316
1169
|
/** Zelf regelbare message.
|
|
1317
1170
|
* @returns een message
|
|
@@ -1321,43 +1174,13 @@ type MessageProps = {
|
|
|
1321
1174
|
* @example <Message color="d" size="s" title="This is a title" startCollapsed>This is a message that could NOT be collapsed/expanded</Message>
|
|
1322
1175
|
*/
|
|
1323
1176
|
declare const Message: {
|
|
1324
|
-
({ id, children, title, size, color, icon: customIcon, collapsable, startCollapsed, itemRef, onDismiss, }: MessageProps): JSX.Element;
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
/** Een success-colored message
|
|
1332
|
-
* @param props props
|
|
1333
|
-
* @returns een success-colored message
|
|
1334
|
-
* @example <Message.Success size="l" title="This is a title">This is a success message</Message.Success>
|
|
1335
|
-
*/
|
|
1336
|
-
Success(props: StrictOmit<MessageProps, "color">): JSX.Element;
|
|
1337
|
-
/** Een danger-colored message
|
|
1338
|
-
* @param props props
|
|
1339
|
-
* @returns een danger-colored message
|
|
1340
|
-
* @example <Message.Danger size="l" title="This is a title">This is a danger message</Message.Danger>
|
|
1341
|
-
*/
|
|
1342
|
-
Danger(props: StrictOmit<MessageProps, "color">): JSX.Element;
|
|
1343
|
-
/** Een warning-colored message
|
|
1344
|
-
* @param props props
|
|
1345
|
-
* @returns een warning-colored message
|
|
1346
|
-
* @example <Message.Warning size="l" title="This is a title">This is a warning message</Message.Warning>
|
|
1347
|
-
*/
|
|
1348
|
-
Warning(props: StrictOmit<MessageProps, "color">): JSX.Element;
|
|
1349
|
-
/** Een info-colored message (OOK de default)
|
|
1350
|
-
* @param props props
|
|
1351
|
-
* @returns een info-colored message
|
|
1352
|
-
* @example <Message.Info size="l" title="This is a title">This is a info message</Message.Info>
|
|
1353
|
-
*/
|
|
1354
|
-
Info(props: StrictOmit<MessageProps, "color">): JSX.Element;
|
|
1355
|
-
/** Een link-colored message
|
|
1356
|
-
* @param props props
|
|
1357
|
-
* @returns een link-colored message
|
|
1358
|
-
* @example <Message.Link title="This is a title">This is a link message</Message.Link>
|
|
1359
|
-
*/
|
|
1360
|
-
Link(props: StrictOmit<MessageProps, "color">): JSX.Element;
|
|
1177
|
+
({ id, children, title, size, color, icon: customIcon, collapsable, startCollapsed, itemRef, onDismiss, }: MessageProps): react_jsx_runtime.JSX.Element;
|
|
1178
|
+
Primary(props: StrictOmit<MessageProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1179
|
+
Success(props: StrictOmit<MessageProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1180
|
+
Danger(props: StrictOmit<MessageProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1181
|
+
Warning(props: StrictOmit<MessageProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1182
|
+
Info(props: StrictOmit<MessageProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1183
|
+
Link(props: StrictOmit<MessageProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1361
1184
|
};
|
|
1362
1185
|
|
|
1363
1186
|
type ModalProps = {
|
|
@@ -1397,17 +1220,11 @@ type ModalProps = {
|
|
|
1397
1220
|
* </Modal>
|
|
1398
1221
|
*/
|
|
1399
1222
|
declare const Modal: {
|
|
1400
|
-
({ id, size, children: nodeChildren, onOpened, onDismiss, helpTag, enableClickOutsideDismiss, }: ModalProps): JSX.Element;
|
|
1401
|
-
/**
|
|
1402
|
-
* Een niet-scrollende, altijd zichtbare head voor de modal
|
|
1403
|
-
* @param props
|
|
1404
|
-
* @returns modal head
|
|
1405
|
-
* @example <Modal.Head>Optional Modal Head</Modal.Head>
|
|
1406
|
-
*/
|
|
1223
|
+
({ id, size, children: nodeChildren, onOpened, onDismiss, helpTag, enableClickOutsideDismiss, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
1407
1224
|
Head({ children, id }: {
|
|
1408
1225
|
id?: string | undefined;
|
|
1409
1226
|
children: React$1.ReactNode;
|
|
1410
|
-
}): JSX.Element;
|
|
1227
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1411
1228
|
/**
|
|
1412
1229
|
* Een scrollende body voor de modal
|
|
1413
1230
|
* @param props
|
|
@@ -1447,7 +1264,7 @@ type NotificationProps = {
|
|
|
1447
1264
|
/** kleur van de notificatie (default = 'i') */
|
|
1448
1265
|
color?: ColorProp;
|
|
1449
1266
|
icon?: string | IconProp;
|
|
1450
|
-
itemRef?: React$1.RefObject<any
|
|
1267
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
1451
1268
|
id?: string;
|
|
1452
1269
|
};
|
|
1453
1270
|
/**
|
|
@@ -1457,43 +1274,13 @@ type NotificationProps = {
|
|
|
1457
1274
|
* @example <Notification>Hello World</Notification>
|
|
1458
1275
|
*/
|
|
1459
1276
|
declare const Notification: {
|
|
1460
|
-
({ children, onDismiss, onClick, autoDismissAfter, color, icon, id, itemRef, }: NotificationProps): JSX.Element;
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
/** Een danger-colored notificatie
|
|
1468
|
-
* @param props
|
|
1469
|
-
* @returns een danger-colored notificatie
|
|
1470
|
-
* @example <Notification.Danger>Hello World</Notification.Danger>
|
|
1471
|
-
*/
|
|
1472
|
-
Danger(props: StrictOmit<NotificationProps, "color">): JSX.Element;
|
|
1473
|
-
/** Een warning-colored notificatie
|
|
1474
|
-
* @param props
|
|
1475
|
-
* @returns een warning-colored notificatie
|
|
1476
|
-
* @example <Notification.Warning>Hello World</Notification.Warning>
|
|
1477
|
-
*/
|
|
1478
|
-
Warning(props: StrictOmit<NotificationProps, "color">): JSX.Element;
|
|
1479
|
-
/** Een success-colored notificatie
|
|
1480
|
-
* @param props
|
|
1481
|
-
* @returns een success-colored notificatie
|
|
1482
|
-
* @example <Notification.Success>Hello World</Notification.Success>
|
|
1483
|
-
*/
|
|
1484
|
-
Success(props: StrictOmit<NotificationProps, "color">): JSX.Element;
|
|
1485
|
-
/** Een link-colored notificatie
|
|
1486
|
-
* @param props
|
|
1487
|
-
* @returns een link-colored notificatie
|
|
1488
|
-
* @example <Notification.Link>Hello World</Notification.Link>
|
|
1489
|
-
*/
|
|
1490
|
-
Link(props: StrictOmit<NotificationProps, "color">): JSX.Element;
|
|
1491
|
-
/** Een info-colored notificatie (OOK DE DEFAULT)
|
|
1492
|
-
* @param props
|
|
1493
|
-
* @returns een info-colored notificatie
|
|
1494
|
-
* @example <Notification.Info>Hello World</Notification.Info>
|
|
1495
|
-
*/
|
|
1496
|
-
Info(props: StrictOmit<NotificationProps, "color">): JSX.Element;
|
|
1277
|
+
({ children, onDismiss, onClick, autoDismissAfter, color, icon, id, itemRef, }: NotificationProps): react_jsx_runtime.JSX.Element;
|
|
1278
|
+
Primary(props: StrictOmit<NotificationProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1279
|
+
Danger(props: StrictOmit<NotificationProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1280
|
+
Warning(props: StrictOmit<NotificationProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1281
|
+
Success(props: StrictOmit<NotificationProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1282
|
+
Link(props: StrictOmit<NotificationProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1283
|
+
Info(props: StrictOmit<NotificationProps, "color">): react_jsx_runtime.JSX.Element;
|
|
1497
1284
|
};
|
|
1498
1285
|
|
|
1499
1286
|
type InputValueType = string | number | readonly string[] | undefined;
|
|
@@ -1634,7 +1421,7 @@ type InputPropsType<T = InputValueType> = {
|
|
|
1634
1421
|
* | type | `string` | type voor deze input (default = `text`)|
|
|
1635
1422
|
* | value | `string` | value voor deze input (default = `undefined`)|
|
|
1636
1423
|
*/
|
|
1637
|
-
declare function BaseInput<T extends InputValueType = string>({ alignment: alignmentProp, autoComplete, optionListId, autofocus, disabled, errorMessage, infoMessage, form, helpTag, id, inputRef: ref, keyboardType, max, min, name, pattern, placeholder, readonly, required, size: sizeProp, spellCheck, step, title, type, value, className: extraClasses, styles, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, }: StrictOmit<InputPropsType<T>, 'optionList'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'>): JSX.Element;
|
|
1424
|
+
declare function BaseInput<T extends InputValueType = string>({ alignment: alignmentProp, autoComplete, optionListId, autofocus, disabled, errorMessage, infoMessage, form, helpTag, id, inputRef: ref, keyboardType, max, min, name, pattern, placeholder, readonly, required, size: sizeProp, spellCheck, step, title, type, value, className: extraClasses, styles, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, }: StrictOmit<InputPropsType<T>, 'optionList'> & StrictOmit<InputStylingPropsType, 'labelHidden' | 'direction' | 'icon'>): react_jsx_runtime.JSX.Element;
|
|
1638
1425
|
/**
|
|
1639
1426
|
* Input component. Deze component heeft dezelfde properties als de gewone `<input ... />`-tag en de `<BaseInput<T> ... />-tag`.
|
|
1640
1427
|
* Het verschil met de `BaseInput`-tag is dat deze compionent **wel** direction, label, of icon heeft.
|
|
@@ -1676,7 +1463,7 @@ declare function BaseInput<T extends InputValueType = string>({ alignment: align
|
|
|
1676
1463
|
* | type | `string` | type voor deze input (default = `text`)|
|
|
1677
1464
|
* | value | `string` | value voor deze input (default = `undefined`)|
|
|
1678
1465
|
*/
|
|
1679
|
-
declare function Input<T extends InputValueType = string>({ direction: directionProp, errorMessage, showRequiredOnLabel, icon, id, label, labelHidden, name, required, loading, size: sizeProp, value, infoData, helpTag, optionList, onBlur, onFocus, ...props }: StrictOmit<InputPropsType<T>, 'optionListId'> & InputStylingPropsType): JSX.Element;
|
|
1466
|
+
declare function Input<T extends InputValueType = string>({ direction: directionProp, errorMessage, showRequiredOnLabel, icon, id, label, labelHidden, name, required, loading, size: sizeProp, value, infoData, helpTag, optionList, onBlur, onFocus, ...props }: StrictOmit<InputPropsType<T>, 'optionListId'> & InputStylingPropsType): react_jsx_runtime.JSX.Element;
|
|
1680
1467
|
/** Een wrapper voor een input component, om te zorgen dat ze allemaal op dezelfde manier horizontaal of verticaal aligned worden. */
|
|
1681
1468
|
declare function InputContainer({ children, controlClassName, direction, showRequiredOnLabel, inputId, label, labelHidden, required, size, loading, infoData, setHovered, }: {
|
|
1682
1469
|
label: string;
|
|
@@ -1691,7 +1478,7 @@ declare function InputContainer({ children, controlClassName, direction, showReq
|
|
|
1691
1478
|
controlClassName?: string;
|
|
1692
1479
|
setHovered?: (hovered: boolean) => void;
|
|
1693
1480
|
infoData?: React$1.ReactNode | undefined;
|
|
1694
|
-
}): JSX.Element;
|
|
1481
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1695
1482
|
|
|
1696
1483
|
type CheckBoxInputProps = StrictOmit<InputPropsType<boolean>, 'value' | 'type' | 'step' | 'pattern' | 'errorMessage' | 'infoMessage' | 'min' | 'max' | 'pattern' | 'placeholder'> & StrictOmit<InputStylingPropsType, 'icon'> & {
|
|
1697
1484
|
/** is de input checked? */
|
|
@@ -1718,7 +1505,7 @@ type CheckBoxInputProps = StrictOmit<InputPropsType<boolean>, 'value' | 'type' |
|
|
|
1718
1505
|
* const [x, setX] = React.useState(false);
|
|
1719
1506
|
* <CheckBox name="test" label="test" value={x} onValueChanged={setX} direction='v'/>
|
|
1720
1507
|
*/
|
|
1721
|
-
declare function CheckBox({ id, label, name, size: sizeProp, direction: directionProp, required, showRequiredOnLabel, value, errorMessage, labelHidden, helpTag, infoData, onValueChanged, onBlur, onFocus, ...props }: CheckBoxInputProps): JSX.Element;
|
|
1508
|
+
declare function CheckBox({ id, label, name, size: sizeProp, direction: directionProp, required, showRequiredOnLabel, value, errorMessage, labelHidden, helpTag, infoData, onValueChanged, onBlur, onFocus, ...props }: CheckBoxInputProps): react_jsx_runtime.JSX.Element;
|
|
1722
1509
|
/**
|
|
1723
1510
|
* Een checkbox input die nog helemaal zelf aan te passen is, dus zonder container eromheen. Om een checkbox in met wat meer styling te gebruiken, gebruik dan de `CheckBox` component.
|
|
1724
1511
|
* Dat is een wrapper om deze component heen. De properties `type`, `step`, `min`, `max`, `icon`, `pattern`, `placeholder` en `direction` zijn niet van toepassing op deze component.
|
|
@@ -1735,7 +1522,7 @@ declare function CheckBox({ id, label, name, size: sizeProp, direction: directio
|
|
|
1735
1522
|
*/
|
|
1736
1523
|
declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, color, infoDataEl, }: StrictOmit<CheckBoxInputProps, 'direction' | 'labelHidden' | 'infoData'> & {
|
|
1737
1524
|
infoDataEl?: React$1.ReactNode;
|
|
1738
|
-
}): JSX.Element;
|
|
1525
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1739
1526
|
|
|
1740
1527
|
type SelectInputProps<T extends number | string | string[]> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'onBlur' | 'onFocus' | 'onChange' | 'onKeyDown' | 'onKeyUp' | 'min' | 'max' | 'readonly' | 'pattern' | 'placeholder'> & InputStylingPropsType & {
|
|
1741
1528
|
/** De waarde van de select
|
|
@@ -1846,23 +1633,23 @@ type SelectInputProps<T extends number | string | string[]> = StrictOmit<InputPr
|
|
|
1846
1633
|
* ..</Select.OptGroup>
|
|
1847
1634
|
* </Select>
|
|
1848
1635
|
*/
|
|
1849
|
-
declare function Select<T extends number | string | string[] = string>({ value, id, name, label, grouped, required, showRequiredOnLabel, errorMessage, infoMessage, multiple, alignment: alignmentProp, size: sizeProp, direction: directionProp, options, children: nodes, helpTag, disabled, keyboardType, title, spellCheck, loading, autoComplete, autofocus, form, inputRef: ref, labelHidden, icon, infoData, onBlur, onFocus, onChange, onKeyDown, onKeyUp, onValueChanged, }: SelectInputProps<T>): JSX.Element;
|
|
1636
|
+
declare function Select<T extends number | string | string[] = string>({ value, id, name, label, grouped, required, showRequiredOnLabel, errorMessage, infoMessage, multiple, alignment: alignmentProp, size: sizeProp, direction: directionProp, options, children: nodes, helpTag, disabled, keyboardType, title, spellCheck, loading, autoComplete, autofocus, form, inputRef: ref, labelHidden, icon, infoData, onBlur, onFocus, onChange, onKeyDown, onKeyUp, onValueChanged, }: SelectInputProps<T>): react_jsx_runtime.JSX.Element;
|
|
1850
1637
|
declare namespace Select {
|
|
1851
1638
|
var Option: ({ value, disabled, id, children, }: {
|
|
1852
1639
|
id?: string;
|
|
1853
1640
|
value?: number | string;
|
|
1854
1641
|
disabled?: boolean;
|
|
1855
1642
|
children: React$1.ReactNode;
|
|
1856
|
-
}) => JSX.Element;
|
|
1643
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1857
1644
|
var OptGroup: ({ label, children, disabled }: {
|
|
1858
1645
|
label: string;
|
|
1859
1646
|
disabled?: boolean;
|
|
1860
1647
|
children: React$1.ReactNode;
|
|
1861
|
-
}) => JSX.Element;
|
|
1648
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1862
1649
|
var Divider: ({ dividerChar, repeat }: {
|
|
1863
1650
|
dividerChar?: string;
|
|
1864
1651
|
repeat?: number;
|
|
1865
|
-
}) => JSX.Element;
|
|
1652
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1866
1653
|
}
|
|
1867
1654
|
|
|
1868
1655
|
type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'min' | 'max' | 'readonly' | 'pattern' | 'errorMessage' | 'infoMessage' | 'title' | 'form' | 'autoComplete' | 'spellCheck' | 'keyboardType'> & InputStylingPropsType & {
|
|
@@ -1903,7 +1690,7 @@ type ComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number |
|
|
|
1903
1690
|
* onSearch={(txt, v) => v.last_name.includes(txt) || v.first_name.includes(txt)}
|
|
1904
1691
|
* />
|
|
1905
1692
|
*/
|
|
1906
|
-
declare function ComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, labelHidden, icon, infoData, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, }: ComboBoxProps<T>): JSX.Element;
|
|
1693
|
+
declare function ComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, labelHidden, icon, infoData, onValueChanged, onChange, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, }: ComboBoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1907
1694
|
|
|
1908
1695
|
type MultiComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<number | string | string[]>, 'type' | 'step' | 'inputRef' | 'value' | 'onValueChanged' | 'min' | 'max' | 'readonly' | 'pattern' | 'errorMessage' | 'infoMessage' | 'title' | 'form' | 'autoComplete' | 'spellCheck' | 'keyboardType' | 'onChange'> & InputStylingPropsType & {
|
|
1909
1696
|
/** De waarde van de combobox */ value: T[];
|
|
@@ -1946,7 +1733,7 @@ type MultiComboBoxProps<T extends unknown = {}> = StrictOmit<InputPropsType<numb
|
|
|
1946
1733
|
* onSearch={(txt, v) => v.last_name.includes(txt) || v.first_name.includes(txt)}
|
|
1947
1734
|
* />
|
|
1948
1735
|
*/
|
|
1949
|
-
declare function MultiComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, labelHidden, icon, infoData, onValueChanged, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatValue, }: MultiComboBoxProps<T>): JSX.Element;
|
|
1736
|
+
declare function MultiComboBox<T extends unknown = {}>({ value, options, id, name, label, required, showRequiredOnLabel, errorMessage, infoMessage, alignment: alignmentProp, size: sizeProp, direction: directionProp, placeholder, helpTag, disabled, loading, autofocus, labelHidden, icon, infoData, onValueChanged, onFocus, onBlur, onKeyDown, onKeyUp, onSearch, formatLabel, formatValue, }: MultiComboBoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1950
1737
|
|
|
1951
1738
|
type ColorInputProps = StrictOmit<InputPropsType<string>, 'type' | 'value' | 'onValueChanged' | 'step' | 'min' | 'max' | 'autoComplete' | 'spellCheck' | 'keyboardType'> & InputStylingPropsType & {
|
|
1952
1739
|
/** Gebruik de color-input met een hex-color, bijvooerbeeld`#ff8000` of `#fff` */
|
|
@@ -1999,7 +1786,7 @@ type ColorInputProps = StrictOmit<InputPropsType<string>, 'type' | 'value' | 'on
|
|
|
1999
1786
|
* <ColorInput hslValue={x} onHSLValueChange={setX} {...props} />
|
|
2000
1787
|
*
|
|
2001
1788
|
*/
|
|
2002
|
-
declare function ColorInput({ hexValue, rgbValue, hslValue, icon, onHexValueChanged, onRGBValueChanged, onHSLValueChanged, ...props }: ColorInputProps): JSX.Element;
|
|
1789
|
+
declare function ColorInput({ hexValue, rgbValue, hslValue, icon, onHexValueChanged, onRGBValueChanged, onHSLValueChanged, ...props }: ColorInputProps): react_jsx_runtime.JSX.Element;
|
|
2003
1790
|
|
|
2004
1791
|
type HiddenInputProps = {
|
|
2005
1792
|
/** Start value voor deze input (optioneel) */
|
|
@@ -2027,7 +1814,7 @@ type HiddenInputProps = {
|
|
|
2027
1814
|
* @param required moet dit verborgen field worden ingevoerd
|
|
2028
1815
|
* @example <HiddenInput value={value} {...props} />
|
|
2029
1816
|
*/
|
|
2030
|
-
declare function HiddenInput({ value, name, id, required, title, tooltip }: HiddenInputProps): JSX.Element;
|
|
1817
|
+
declare function HiddenInput({ value, name, id, required, title, tooltip }: HiddenInputProps): react_jsx_runtime.JSX.Element;
|
|
2031
1818
|
|
|
2032
1819
|
type RBValueType = InputValueType | {};
|
|
2033
1820
|
type RadioGroupProps<T extends RBValueType = string> = StrictOmit<InputStylingPropsType, 'icon'> & {
|
|
@@ -2100,7 +1887,7 @@ type RadioInputProps<T extends RBValueType = string> = StrictOmit<InputPropsType
|
|
|
2100
1887
|
* ..</RB>
|
|
2101
1888
|
* </div>
|
|
2102
1889
|
*/
|
|
2103
|
-
declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboardType, title, name, value, checked, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, itemsDirection: itemsDirectionProp, color, children, infoData, }: RadioInputProps<T>): JSX.Element;
|
|
1890
|
+
declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboardType, title, name, value, checked, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, itemsDirection: itemsDirectionProp, color, children, infoData, }: RadioInputProps<T>): react_jsx_runtime.JSX.Element;
|
|
2104
1891
|
/** RadioGroup is een groep radio-buttons met direction, alignment, etc. Gebruik `RB` voor een losstaande radio-button, **dus niet `<RadioGroup.Item>` daarvoor**
|
|
2105
1892
|
* De RadioGroup kan je vullen met `RadioGroup.Item`-componenten, of met `RB`-componenten.
|
|
2106
1893
|
* @param value de geselecteerde waarde van de input
|
|
@@ -2114,13 +1901,13 @@ declare function RB<T extends RBValueType = string>({ helpTag, disabled, keyboar
|
|
|
2114
1901
|
* ..<RB value="Z">set to Z</RB>
|
|
2115
1902
|
* </RadioGroup>
|
|
2116
1903
|
*/
|
|
2117
|
-
declare function RadioGroup<T extends RBValueType = string>({ children: nodeChildren, id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size: sizeProp, direction: directionProp, itemsDirection: itemsDirectionProp, alignment: alignmentProp, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): JSX.Element;
|
|
1904
|
+
declare function RadioGroup<T extends RBValueType = string>({ children: nodeChildren, id, label, disabled, labelHidden, name, value, required, showRequiredOnLabel, size: sizeProp, direction: directionProp, itemsDirection: itemsDirectionProp, alignment: alignmentProp, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onChange, onFocus, onKeyDown, onKeyUp, }: RadioGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
2118
1905
|
declare namespace RadioGroup {
|
|
2119
1906
|
var Item: typeof SpecialRadioItem;
|
|
2120
1907
|
}
|
|
2121
1908
|
declare function SpecialRadioItem<T extends RBValueType = string>({ checked, id, value, children, ...props }: {
|
|
2122
1909
|
children?: React$1.ReactNode;
|
|
2123
|
-
} & StrictOmit<RadioInputProps<T>, 'name'>): JSX.Element;
|
|
1910
|
+
} & StrictOmit<RadioInputProps<T>, 'name'>): react_jsx_runtime.JSX.Element;
|
|
2124
1911
|
|
|
2125
1912
|
type TagsInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'value' | 'onValueChanged' | 'max' | 'min' | 'inputRef'> & InputStylingPropsType & {
|
|
2126
1913
|
/** de values (dus de tags) van het input field */
|
|
@@ -2170,7 +1957,7 @@ type EmailInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step'> & Inp
|
|
|
2170
1957
|
* @param pattern het pattern voor validatie, (default = `/^@ \t\r\n]+@[^@ \t\r\n]+.[^@ \t\r\n]+/`)
|
|
2171
1958
|
* @param autoComplete de autocomplete type (password managers) (default = `email`)
|
|
2172
1959
|
*/
|
|
2173
|
-
declare function EmailInput({ value, icon, pattern, autoComplete, onValueChanged, ...props }: EmailInputProps): JSX.Element;
|
|
1960
|
+
declare function EmailInput({ value, icon, pattern, autoComplete, onValueChanged, ...props }: EmailInputProps): react_jsx_runtime.JSX.Element;
|
|
2174
1961
|
|
|
2175
1962
|
type TelephoneInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'pattern'> & InputStylingPropsType & {
|
|
2176
1963
|
pattern?: 'mobiel' | 'vast' | string;
|
|
@@ -2181,7 +1968,7 @@ type TelephoneInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' |
|
|
|
2181
1968
|
* @param pattern het pattern voor validatie, (default = '')
|
|
2182
1969
|
* @param autoComplete de autocomplete type (password managers) (default = `tel`)
|
|
2183
1970
|
*/
|
|
2184
|
-
declare function TelephoneInput({ value, icon, pattern, autoComplete, onValueChanged, ...props }: TelephoneInputProps): JSX.Element;
|
|
1971
|
+
declare function TelephoneInput({ value, icon, pattern, autoComplete, onValueChanged, ...props }: TelephoneInputProps): react_jsx_runtime.JSX.Element;
|
|
2185
1972
|
|
|
2186
1973
|
type URLInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'pattern'> & InputStylingPropsType & {
|
|
2187
1974
|
pattern?: string;
|
|
@@ -2192,7 +1979,7 @@ type URLInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'patte
|
|
|
2192
1979
|
* @param pattern het pattern voor validatie, (default = '')
|
|
2193
1980
|
* @param autoComplete de autocomplete type (password managers) (default = `url`)
|
|
2194
1981
|
*/
|
|
2195
|
-
declare function URLInput({ value, icon, pattern, autoComplete, onValueChanged, ...props }: URLInputProps): JSX.Element;
|
|
1982
|
+
declare function URLInput({ value, icon, pattern, autoComplete, onValueChanged, ...props }: URLInputProps): react_jsx_runtime.JSX.Element;
|
|
2196
1983
|
|
|
2197
1984
|
type PasswordInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step'> & InputStylingPropsType & {
|
|
2198
1985
|
revealPasswordAllowed?: boolean;
|
|
@@ -2207,7 +1994,7 @@ type PasswordInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step'> &
|
|
|
2207
1994
|
* @param revealPasswordMsg boodschap bij de checkbox. Default is `Toon wachtwoord`
|
|
2208
1995
|
* @param iconRevealed icon voor ww revealed. Default is `faEye`
|
|
2209
1996
|
*/
|
|
2210
|
-
declare function PasswordInput({ value, autoComplete, icon, name, id, label, required, showRequiredOnLabel, labelHidden, size: sizeProp, direction: directionProp, revealPasswordAllowed, revealPasswordMsg, iconRevealed, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onFocus, ...props }: PasswordInputProps): JSX.Element;
|
|
1997
|
+
declare function PasswordInput({ value, autoComplete, icon, name, id, label, required, showRequiredOnLabel, labelHidden, size: sizeProp, direction: directionProp, revealPasswordAllowed, revealPasswordMsg, iconRevealed, errorMessage, infoMessage, infoData, helpTag, onValueChanged, onBlur, onFocus, ...props }: PasswordInputProps): react_jsx_runtime.JSX.Element;
|
|
2211
1998
|
|
|
2212
1999
|
type TextEditorPropsType = {
|
|
2213
2000
|
content?: string;
|
|
@@ -2240,7 +2027,7 @@ type TextEditorPropsType = {
|
|
|
2240
2027
|
* | onChangeText | `(c: string) => void` | een callback die wordt aangeroepen als de inhoud van de editor verandert. De inhoud wordt dan als platte tekst meegegeven. |
|
|
2241
2028
|
* | onChangeJson | `(c: JSONContent) => void` | een callback die wordt aangeroepen als de inhoud van de editor verandert. De inhoud wordt dan als JSON meegegeven. |
|
|
2242
2029
|
*/
|
|
2243
|
-
declare function TextEditor({ content, hideTagSelector, hideAlignment, hideLists, hideLines, hideFontColor, hideHighlightColor, hideUndoRedo, hideFontStyling, hideTables, autoUrlConversion, size, id: editorID, onChangeHtml, onChangeText, onChangeJson, }: TextEditorPropsType): JSX.Element;
|
|
2030
|
+
declare function TextEditor({ content, hideTagSelector, hideAlignment, hideLists, hideLines, hideFontColor, hideHighlightColor, hideUndoRedo, hideFontStyling, hideTables, autoUrlConversion, size, id: editorID, onChangeHtml, onChangeText, onChangeJson, }: TextEditorPropsType): react_jsx_runtime.JSX.Element;
|
|
2244
2031
|
|
|
2245
2032
|
type TextAreaProps = StrictOmit<InputPropsType<string>, 'type' | 'inputRef' | 'keyboardType' | 'step' | 'pattern' | 'onBlur' | 'onChange' | 'onFocus' | 'onKeyDown' | 'onKeyUp'> & StrictOmit<InputStylingPropsType, 'icon'> & {
|
|
2246
2033
|
/** (optionele) `ref` voor gebruik met `React.useRef<HTMLTextAreaElement>` */
|
|
@@ -2267,7 +2054,7 @@ type TextAreaProps = StrictOmit<InputPropsType<string>, 'type' | 'inputRef' | 'k
|
|
|
2267
2054
|
* @param rows aantal rijen voor de textarea (default: 4)
|
|
2268
2055
|
* @param cols aantal kolommen voor de textarea. **werkt niet in Bulma! de breedte is altijd maximaal!**
|
|
2269
2056
|
*/
|
|
2270
|
-
declare function TextArea({ value, label, errorMessage, infoMessage, helpTag, id, name, spellCheck, required, showRequiredOnLabel, autoComplete, placeholder, disabled, form, readonly, autofocus, inputRef, max, min, title, size: sizeProp, alignment: alignmentProp, direction: directionProp, cols, rows, labelHidden, loading, infoData, onValueChanged, onChange, onBlur, onFocus, onKeyDown, onKeyUp, }: TextAreaProps): JSX.Element;
|
|
2057
|
+
declare function TextArea({ value, label, errorMessage, infoMessage, helpTag, id, name, spellCheck, required, showRequiredOnLabel, autoComplete, placeholder, disabled, form, readonly, autofocus, inputRef, max, min, title, size: sizeProp, alignment: alignmentProp, direction: directionProp, cols, rows, labelHidden, loading, infoData, onValueChanged, onChange, onBlur, onFocus, onKeyDown, onKeyUp, }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
2271
2058
|
|
|
2272
2059
|
type CharType = '0-9' | 'a-z' | 'A-Z' | 'a-Z' | '0-Z' | (string & {}) | RegExp;
|
|
2273
2060
|
type TextInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step'> & InputStylingPropsType & {
|
|
@@ -2293,7 +2080,7 @@ type TextInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step'> & Inpu
|
|
|
2293
2080
|
* <TextInput characters="a-Z" /> // lowercase en uppercase letters
|
|
2294
2081
|
* <TextInput characters="0-Z" /> // lowercase, uppercase & numeriek
|
|
2295
2082
|
*/
|
|
2296
|
-
declare function TextInput({ value, characters, icon, onValueChanged, ...props }: TextInputProps): JSX.Element;
|
|
2083
|
+
declare function TextInput({ value, characters, icon, onValueChanged, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
|
|
2297
2084
|
|
|
2298
2085
|
type NumberInputProps = StrictOmit<InputPropsType<number>, 'type' | 'spellCheck'> & InputStylingPropsType & {
|
|
2299
2086
|
prefix?: string;
|
|
@@ -2304,7 +2091,7 @@ type NumberInputProps = StrictOmit<InputPropsType<number>, 'type' | 'spellCheck'
|
|
|
2304
2091
|
* @param value De waarde van de input
|
|
2305
2092
|
* @example <NumberInput value={1} step={3}/>
|
|
2306
2093
|
*/
|
|
2307
|
-
declare function NumberInput({ value, prefix, suffix, icon, name, id: idProp, label, direction: directionProp, size: sizeProp, alignment: alignmentProp, required, disabled, readonly, loading, labelHidden, showRequiredOnLabel, className: extraClasses, infoData, helpTag, errorMessage, infoMessage, onValueChanged, onBlur, onFocus, ...props }: NumberInputProps): JSX.Element;
|
|
2094
|
+
declare function NumberInput({ value, prefix, suffix, icon, name, id: idProp, label, direction: directionProp, size: sizeProp, alignment: alignmentProp, required, disabled, readonly, loading, labelHidden, showRequiredOnLabel, className: extraClasses, infoData, helpTag, errorMessage, infoMessage, onValueChanged, onBlur, onFocus, ...props }: NumberInputProps): react_jsx_runtime.JSX.Element;
|
|
2308
2095
|
|
|
2309
2096
|
type RangeInputProps = StrictOmit<InputPropsType<number>, 'autofocus' | 'autoComplete' | 'type' | 'spellCheck' | 'placeholder'> & StrictOmit<InputStylingPropsType, 'alignment' | 'icon'> & {
|
|
2310
2097
|
/** value-unit om __voor__ de geselecteerde waarde te zetten. (default = `''`) */
|
|
@@ -2322,7 +2109,7 @@ type RangeInputProps = StrictOmit<InputPropsType<number>, 'autofocus' | 'autoCom
|
|
|
2322
2109
|
* @param step De stapgrootte van de input (default = 1)
|
|
2323
2110
|
* @example <RangeInput value={50} min={0} max={100} />
|
|
2324
2111
|
*/
|
|
2325
|
-
declare function RangeInput({ value, min, max, step, prefix, suffix, helpTag, errorMessage, infoMessage, label, disabled, title, name, size: sizeProp, required, showRequiredOnLabel, id, readonly, form, inputRef, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, direction: directionProp, labelHidden, infoData, }: RangeInputProps): JSX.Element;
|
|
2112
|
+
declare function RangeInput({ value, min, max, step, prefix, suffix, helpTag, errorMessage, infoMessage, label, disabled, title, name, size: sizeProp, required, showRequiredOnLabel, id, readonly, form, inputRef, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, direction: directionProp, labelHidden, infoData, }: RangeInputProps): react_jsx_runtime.JSX.Element;
|
|
2326
2113
|
|
|
2327
2114
|
/** Type used for setting values in a JSDateTime */
|
|
2328
2115
|
type JSDateSetterType = {
|
|
@@ -3333,7 +3120,7 @@ type DateInputProps = StrictOmit<InputPropsType<string>, 'type' | 'value' | 'onV
|
|
|
3333
3120
|
* @example <DateInput value={new Date()} {...props} onDateValueChanged={(v) => console.log(v)}/>
|
|
3334
3121
|
* @example <DateInput value={JSDateTime.now()} {...props} onJSDateTimeValueChanged={(v) => console.log(v)}/>
|
|
3335
3122
|
*/
|
|
3336
|
-
declare function DateInput({ value, icon, onValueChanged, onDateValueChanged, onJSDateTimeValueChanged, ...props }: DateInputProps): JSX.Element;
|
|
3123
|
+
declare function DateInput({ value, icon, onValueChanged, onDateValueChanged, onJSDateTimeValueChanged, ...props }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
3337
3124
|
|
|
3338
3125
|
type DateTimeInputProps = StrictOmit<InputPropsType<string>, 'type' | 'value' | 'onValueChanged'> & InputStylingPropsType & {
|
|
3339
3126
|
/** Moeten de secondes en de milliseconden ook getoond worden? (default = `'none'`)
|
|
@@ -3373,7 +3160,7 @@ type DateTimeInputProps = StrictOmit<InputPropsType<string>, 'type' | 'value' |
|
|
|
3373
3160
|
* @example <DateTimeInput value={new Date()} onDateValueChanged={(val) => console.log(val)} />
|
|
3374
3161
|
* @example <DateTimeInput value={JSDateTime.now()} onJSDateTimeValueChanged={(val) => console.log(val)} />
|
|
3375
3162
|
*/
|
|
3376
|
-
declare function DateTimeInput({ value, step, useSecAndMillis, icon, onValueChanged, onDateValueChanged, onJSDateTimeValueChanged, ...props }: DateTimeInputProps): JSX.Element;
|
|
3163
|
+
declare function DateTimeInput({ value, step, useSecAndMillis, icon, onValueChanged, onDateValueChanged, onJSDateTimeValueChanged, ...props }: DateTimeInputProps): react_jsx_runtime.JSX.Element;
|
|
3377
3164
|
|
|
3378
3165
|
type TimeInputProps = StrictOmit<InputPropsType<string>, 'step' | 'type' | 'value' | 'onValueChanged'> & InputStylingPropsType & {
|
|
3379
3166
|
/** Moeten de secondes ook getoont worden in de input? (Default = false) */
|
|
@@ -3411,7 +3198,7 @@ type TimeInputProps = StrictOmit<InputPropsType<string>, 'step' | 'type' | 'valu
|
|
|
3411
3198
|
* @example <TimeInput value={new Date()} onDateValueChanged={(val) => console.log(val)} />
|
|
3412
3199
|
* @example <TimeInput value={JSDateTime.now()} onJSDateTimeValueChanged={(val) => console.log(val)} />
|
|
3413
3200
|
*/
|
|
3414
|
-
declare function TimeInput({ value, useSeconds, useMillis, icon, onValueChanged, onDateValueChanged, onJSDateTimeValueChanged, ...props }: TimeInputProps): JSX.Element;
|
|
3201
|
+
declare function TimeInput({ value, useSeconds, useMillis, icon, onValueChanged, onDateValueChanged, onJSDateTimeValueChanged, ...props }: TimeInputProps): react_jsx_runtime.JSX.Element;
|
|
3415
3202
|
|
|
3416
3203
|
type FileInputValue = {
|
|
3417
3204
|
files: File[];
|
|
@@ -3476,7 +3263,7 @@ type FileInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'valu
|
|
|
3476
3263
|
* **default:** toon de namen van alle geselecteerde bestanden, gescheiden door komma's. Als er geen bestanden zijn, dan de noFilesTxt tonen.
|
|
3477
3264
|
* @param onValueChanged callback voor value changes. Bevat het path naar de file(s) en de files in een array.
|
|
3478
3265
|
*/
|
|
3479
|
-
declare function FileInput({ labelHidden, multiple, placeholder, helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, readonly, pattern, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, value, icon, boxed, accept, capture, noFilesTxt, chooseFileTxt, infoData, formatter, }: FileInputProps): JSX.Element;
|
|
3266
|
+
declare function FileInput({ labelHidden, multiple, placeholder, helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, readonly, pattern, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, value, icon, boxed, accept, capture, noFilesTxt, chooseFileTxt, infoData, formatter, }: FileInputProps): react_jsx_runtime.JSX.Element;
|
|
3480
3267
|
|
|
3481
3268
|
type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'pattern' | 'value' | 'type' | 'onValueChanged' | 'errorMessage' | 'infoMessage'> & InputStylingPropsType & {
|
|
3482
3269
|
/** waarde van de input. Als number of als number-string-tuple (zoals waarde uit `onValueChanged`) */
|
|
@@ -3518,7 +3305,7 @@ type CurrencyInputProps = StrictOmit<InputPropsType<number>, 'keyboardType' | 'p
|
|
|
3518
3305
|
* const [x, setX] = React.useState<string>('0');
|
|
3519
3306
|
* <CurrencyInput value={x} onValueChanged={([strVal, _numVal]) => setX(strVal)} />
|
|
3520
3307
|
*/
|
|
3521
|
-
declare function CurrencyInput({ placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, inputRef, readonly, step, autofocus, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix, prefix, decimalScale, decimalSeparator, groupSeparator, }: CurrencyInputProps): JSX.Element;
|
|
3308
|
+
declare function CurrencyInput({ placeholder, helpTag, errorMessage, infoMessage, label, disabled, title, name, value, required, showRequiredOnLabel, spellCheck, id, autoComplete, max, min, inputRef, readonly, step, autofocus, infoData, form, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, size: sizeProp, alignment: alignmentProp, direction: directionProp, labelHidden, loading, icon, suffix, prefix, decimalScale, decimalSeparator, groupSeparator, }: CurrencyInputProps): react_jsx_runtime.JSX.Element;
|
|
3522
3309
|
|
|
3523
3310
|
/** WeekInput: input voor een weeknummer (format: yyyy-Www)
|
|
3524
3311
|
* -1e getal: jaartal
|
|
@@ -3558,7 +3345,7 @@ type WeekInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'valu
|
|
|
3558
3345
|
* @param max maximale waarde als WeekInputValue. MOET hoger zijn dan `min`-prop
|
|
3559
3346
|
* @example <WeekInput value="2021-W01" min="2021-W01" max="2021-W53" />
|
|
3560
3347
|
*/
|
|
3561
|
-
declare function WeekInput({ value, min, max, icon, onValueChanged, ...props }: WeekInputProps): JSX.Element;
|
|
3348
|
+
declare function WeekInput({ value, min, max, icon, onValueChanged, ...props }: WeekInputProps): react_jsx_runtime.JSX.Element;
|
|
3562
3349
|
|
|
3563
3350
|
/** WeekInput: input voor een weeknummer (format: yyyy-MM)
|
|
3564
3351
|
* -1e getal: jaartal
|
|
@@ -3598,7 +3385,7 @@ type MonthInputProps = StrictOmit<InputPropsType<string>, 'type' | 'step' | 'val
|
|
|
3598
3385
|
* @param max maximale waarde als MonthInputValue. MOET hoger zijn dan `min`-prop
|
|
3599
3386
|
* @example <MonthInput value="2021-06" min="2021-01" max="2021-12" />
|
|
3600
3387
|
*/
|
|
3601
|
-
declare function MonthInput({ value, min, max, icon, onValueChanged, ...props }: MonthInputProps): JSX.Element;
|
|
3388
|
+
declare function MonthInput({ value, min, max, icon, onValueChanged, ...props }: MonthInputProps): react_jsx_runtime.JSX.Element;
|
|
3602
3389
|
|
|
3603
3390
|
type PanelProps = {
|
|
3604
3391
|
/** de kleur van het Panel (default = `i`) */
|
|
@@ -3681,17 +3468,13 @@ type PanelInputProps<T extends InputValueType> = PrettierType<StrictOmit<InputPr
|
|
|
3681
3468
|
* </Panel>
|
|
3682
3469
|
*/
|
|
3683
3470
|
declare const Panel: {
|
|
3684
|
-
({ color, className: cnProp, children }: PanelProps): JSX.Element;
|
|
3685
|
-
/** weergeven van tabs op het panel */
|
|
3471
|
+
({ color, className: cnProp, children }: PanelProps): react_jsx_runtime.JSX.Element;
|
|
3686
3472
|
Tabs({ tabs, activeTab, onTabChange, children }: PanelTabsProps): react_jsx_runtime.JSX.Element;
|
|
3687
|
-
/** weergeven van een tab-item */
|
|
3688
3473
|
TabItem({ active, disabled, onClick, children }: PanelTabItemProps): react_jsx_runtime.JSX.Element;
|
|
3689
|
-
/** weergeven van een header van de tab. Kan ook middenin het panel gebruikt worden */
|
|
3690
3474
|
Header({ children }: {
|
|
3691
3475
|
children: React$1.ReactNode;
|
|
3692
|
-
}): JSX.Element;
|
|
3693
|
-
|
|
3694
|
-
Item({ icon, active, disabled, children, onClick }: PanelItemProps): JSX.Element;
|
|
3476
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3477
|
+
Item({ icon, active, disabled, children, onClick }: PanelItemProps): react_jsx_runtime.JSX.Element;
|
|
3695
3478
|
/** Een input op het panel */
|
|
3696
3479
|
Input: typeof PanelInput;
|
|
3697
3480
|
};
|
|
@@ -3721,7 +3504,7 @@ type ProgressBarProps = {
|
|
|
3721
3504
|
* <ProgressBar value={50} extension="%" />
|
|
3722
3505
|
* <ProgressBar size='xl' />
|
|
3723
3506
|
*/
|
|
3724
|
-
declare function ProgressBar({ color, size, prefix, suffix, max, value, title: titleProp
|
|
3507
|
+
declare function ProgressBar({ color, size, prefix, suffix, max, value, title: titleProp }: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
3725
3508
|
|
|
3726
3509
|
type SimpleTableProps<T extends unknown = unknown> = {
|
|
3727
3510
|
id?: string;
|
|
@@ -3787,7 +3570,7 @@ type SimpleTableColProps<T extends unknown = unknown> = {
|
|
|
3787
3570
|
* bordered={false}
|
|
3788
3571
|
* />
|
|
3789
3572
|
*/
|
|
3790
|
-
declare function SimpleTable<T extends unknown = unknown>({ rowIdentifier: rowKey, columns: cols, data, onRowSelected, tableRef, containerRef, id, hasFooter, ...props }: SimpleTableProps<T>): JSX.Element;
|
|
3573
|
+
declare function SimpleTable<T extends unknown = unknown>({ rowIdentifier: rowKey, columns: cols, data, onRowSelected, tableRef, containerRef, id, hasFooter, ...props }: SimpleTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
3791
3574
|
type TableProps = {
|
|
3792
3575
|
id?: string;
|
|
3793
3576
|
containerRef?: React$1.RefObject<HTMLDivElement>;
|
|
@@ -3816,77 +3599,29 @@ type TablePartProps<T extends HTMLElement = HTMLElement> = {
|
|
|
3816
3599
|
* - `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.
|
|
3817
3600
|
*/
|
|
3818
3601
|
declare const Table: {
|
|
3819
|
-
({ id, containerRef, tableRef, scrollX, striped, bordered, hoverable, fullwidth, narrow, children, className: extraClasses, }: TableProps): JSX.Element;
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
/** `<tbody>`, table-body */
|
|
3825
|
-
Body({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): JSX.Element;
|
|
3826
|
-
/** `<tr>`, table-row */
|
|
3827
|
-
Row({ children, className, ...props }: TablePartProps<HTMLTableRowElement>): JSX.Element;
|
|
3828
|
-
/** `<td>`-cell */
|
|
3602
|
+
({ id, containerRef, tableRef, scrollX, striped, bordered, hoverable, fullwidth, narrow, children, className: extraClasses, }: TableProps): react_jsx_runtime.JSX.Element;
|
|
3603
|
+
Head({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
|
|
3604
|
+
Foot({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
|
|
3605
|
+
Body({ children, className, ...props }: TablePartProps<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
|
|
3606
|
+
Row({ children, className, ...props }: TablePartProps<HTMLTableRowElement>): react_jsx_runtime.JSX.Element;
|
|
3829
3607
|
Cell({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
3830
3608
|
children?: React$1.ReactNode;
|
|
3831
|
-
}): JSX.Element;
|
|
3832
|
-
/** `<th>`-cell */
|
|
3609
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3833
3610
|
HCell({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
3834
3611
|
children?: React$1.ReactNode;
|
|
3835
|
-
}): JSX.Element;
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
* <Table.ColGroup>
|
|
3839
|
-
* <Table.Col />
|
|
3840
|
-
* <Table.Col />
|
|
3841
|
-
*
|
|
3842
|
-
*/
|
|
3843
|
-
ColGroup({ className, ...props }: StrictOmit<TablePartProps<HTMLTableColElement>, "span">): JSX.Element;
|
|
3844
|
-
/** Column-group in a table. Add stuff to cells in those columns
|
|
3845
|
-
* @example
|
|
3846
|
-
* <Table.ColGroup>
|
|
3847
|
-
* <Table.Col />
|
|
3848
|
-
* <Table.Col className='flash' span='2' />
|
|
3849
|
-
* <Table.Col className='flash' span='2'/>
|
|
3850
|
-
* </Table.ColGroup>
|
|
3851
|
-
* <Table.Head>
|
|
3852
|
-
* // etc ...
|
|
3853
|
-
*
|
|
3854
|
-
* // becomes something like:
|
|
3855
|
-
* <table>
|
|
3856
|
-
* <caption>Superheros and sidekicks</caption>
|
|
3857
|
-
* <colgroup>
|
|
3858
|
-
* <col>
|
|
3859
|
-
* <col span="2" class="batman">
|
|
3860
|
-
* <col span="2" class="flash">
|
|
3861
|
-
* </colgroup>
|
|
3862
|
-
* <tr>
|
|
3863
|
-
* <td> </td>
|
|
3864
|
-
* <th scope="col">Batman</th>
|
|
3865
|
-
* <th scope="col">Robin</th>
|
|
3866
|
-
* <th scope="col">The Flash</th>
|
|
3867
|
-
* <th scope="col">Kid Flash</th>
|
|
3868
|
-
* </tr>
|
|
3869
|
-
* <tr>
|
|
3870
|
-
* <th scope="row">Skill</th>
|
|
3871
|
-
* <td>Smarts</td>
|
|
3872
|
-
* <td>Dex, acrobat</td>
|
|
3873
|
-
* <td>Super speed</td>
|
|
3874
|
-
* <td>Super speed</td>
|
|
3875
|
-
* </tr>
|
|
3876
|
-
* </table>
|
|
3877
|
-
*
|
|
3878
|
-
*/
|
|
3879
|
-
Col(props: StrictOmit<TablePartProps<HTMLTableColElement>, "children">): JSX.Element;
|
|
3612
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3613
|
+
ColGroup({ className, ...props }: StrictOmit<TablePartProps<HTMLTableColElement>, "span">): react_jsx_runtime.JSX.Element;
|
|
3614
|
+
Col(props: StrictOmit<TablePartProps<HTMLTableColElement>, "children">): react_jsx_runtime.JSX.Element;
|
|
3880
3615
|
/** `<tr>`, table-row */
|
|
3881
|
-
TR: ({ children, className, ...props }: TablePartProps<HTMLTableRowElement>) => JSX.Element;
|
|
3616
|
+
TR: ({ children, className, ...props }: TablePartProps<HTMLTableRowElement>) => react_jsx_runtime.JSX.Element;
|
|
3882
3617
|
/** `<td>`-cell */
|
|
3883
3618
|
TD: ({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
3884
3619
|
children?: React$1.ReactNode;
|
|
3885
|
-
}) => JSX.Element;
|
|
3620
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3886
3621
|
/** `<th>`-cell */
|
|
3887
3622
|
TH: ({ children, className, ...props }: TablePartProps<HTMLTableCellElement> & {
|
|
3888
3623
|
children?: React$1.ReactNode;
|
|
3889
|
-
}) => JSX.Element;
|
|
3624
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3890
3625
|
};
|
|
3891
3626
|
|
|
3892
3627
|
type StatusType = 'active' | 'completed' | 'error' | 'pending';
|
|
@@ -3899,7 +3634,7 @@ type StepsProps = {
|
|
|
3899
3634
|
/** Grootte van de steps (default = 'm') */
|
|
3900
3635
|
size?: SizeProp;
|
|
3901
3636
|
id?: string;
|
|
3902
|
-
itemRef?: React$1.RefObject<any
|
|
3637
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
3903
3638
|
/** Wat is de actieve step */
|
|
3904
3639
|
activeStepIndex?: number;
|
|
3905
3640
|
/** Change-step callback */
|
|
@@ -3943,16 +3678,8 @@ type StepItemProps = {
|
|
|
3943
3678
|
* </Steps>
|
|
3944
3679
|
*/
|
|
3945
3680
|
declare const Steps: {
|
|
3946
|
-
({ size, id, itemRef, className: cn, activeStepIndex, onChangeStep, children, stepChoice
|
|
3947
|
-
|
|
3948
|
-
* Een stap in een stappen-paneel.
|
|
3949
|
-
* @param props
|
|
3950
|
-
* @returns een stap voor de <Steps> component
|
|
3951
|
-
* @example
|
|
3952
|
-
* <Steps.Item title="Step 1" marker={1} >Step 1</Steps.Item>
|
|
3953
|
-
* <Steps.Item title="Step 2" marker={2} title="step 2" status="error">Step 2</Steps.Item>
|
|
3954
|
-
*/
|
|
3955
|
-
Item(props: StepItemProps): JSX.Element;
|
|
3681
|
+
({ size, id, itemRef, className: cn, activeStepIndex, onChangeStep, children, stepChoice }: StepsProps): react_jsx_runtime.JSX.Element;
|
|
3682
|
+
Item(props: StepItemProps): react_jsx_runtime.JSX.Element;
|
|
3956
3683
|
};
|
|
3957
3684
|
|
|
3958
3685
|
type TabBarProps = {
|
|
@@ -3995,12 +3722,7 @@ type TabBarItemProps = {
|
|
|
3995
3722
|
* </TabBar>
|
|
3996
3723
|
*/
|
|
3997
3724
|
declare const TabBar: {
|
|
3998
|
-
({ id, activeTab: currentActiveTab, initialTab, size: sizeProp, alignment, fullwidth, children, onTabChange, }: TabBarProps): JSX.Element;
|
|
3999
|
-
/** Een item in een <TabBar> component
|
|
4000
|
-
* @param props
|
|
4001
|
-
* @returns tab item component
|
|
4002
|
-
* @example <TabBar.Item tabId={1}>Tab 1</TabBar.Item>
|
|
4003
|
-
*/
|
|
3725
|
+
({ id, activeTab: currentActiveTab, initialTab, size: sizeProp, alignment, fullwidth, children, onTabChange, }: TabBarProps): react_jsx_runtime.JSX.Element;
|
|
4004
3726
|
Item(props: StrictOmit<TabBarItemProps, "onClick" | "isActive">): react_jsx_runtime.JSX.Element;
|
|
4005
3727
|
};
|
|
4006
3728
|
|
|
@@ -4033,7 +3755,7 @@ type TagsProps = {
|
|
|
4033
3755
|
className?: string;
|
|
4034
3756
|
id?: string;
|
|
4035
3757
|
styles?: React$1.CSSProperties;
|
|
4036
|
-
itemRef?: React$1.RefObject<any
|
|
3758
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
4037
3759
|
};
|
|
4038
3760
|
/**
|
|
4039
3761
|
* Maak een tag
|
|
@@ -4043,7 +3765,7 @@ type TagsProps = {
|
|
|
4043
3765
|
* <Tag>Hello</Tag>
|
|
4044
3766
|
* <Tag color='d'>Danger</Tag>
|
|
4045
3767
|
*/
|
|
4046
|
-
declare function Tag({ children, color, size: sizeProp, light, dark, title, onDismiss }: TagProps): JSX.Element;
|
|
3768
|
+
declare function Tag({ children, color, size: sizeProp, light, dark, title, onDismiss }: TagProps): react_jsx_runtime.JSX.Element;
|
|
4047
3769
|
/**
|
|
4048
3770
|
* Maak een tag-container aan. De tags kunnen aan elkaar geplakt worden of niet.
|
|
4049
3771
|
* De grootte van de tags kan ook ingesteld worden
|
|
@@ -4055,7 +3777,7 @@ declare function Tag({ children, color, size: sizeProp, light, dark, title, onDi
|
|
|
4055
3777
|
* <Tag color="i">Tag 2</Tag>
|
|
4056
3778
|
* </Tags>
|
|
4057
3779
|
*/
|
|
4058
|
-
declare function Tags({ children: nodes, merged, size: sizeProp, alignment, className:
|
|
3780
|
+
declare function Tags({ children: nodes, merged, size: sizeProp, alignment, className: cn, styles, itemRef, id, }: TagsProps): react_jsx_runtime.JSX.Element;
|
|
4059
3781
|
|
|
4060
3782
|
type TimeLineProps = {
|
|
4061
3783
|
id?: string;
|
|
@@ -4111,21 +3833,9 @@ type TimeLinePointProps = {
|
|
|
4111
3833
|
* </TimeLine>
|
|
4112
3834
|
*/
|
|
4113
3835
|
declare const TimeLine: {
|
|
4114
|
-
({ id, alignment, children, className: cn }: TimeLineProps): JSX.Element;
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
* @param props
|
|
4118
|
-
* @returns een punt (Tag-component) op de timeline
|
|
4119
|
-
* @example <TimeLine.Point color="l">2016</TimeLine.Point>
|
|
4120
|
-
*/
|
|
4121
|
-
Point({ children, color, size, title, onClick }: TimeLinePointProps): JSX.Element;
|
|
4122
|
-
/**
|
|
4123
|
-
* Een item met een omschrijving, heading en icon op de timeline
|
|
4124
|
-
* @param props
|
|
4125
|
-
* @returns een Item op de timeline
|
|
4126
|
-
* @example <TimeLine.Item heading="March 2016">nothing happened</TimeLine.Item>
|
|
4127
|
-
*/
|
|
4128
|
-
Item({ marker, heading, children, title, onClick }: TimeLineItemProps): JSX.Element;
|
|
3836
|
+
({ id, alignment, children, className: cn }: TimeLineProps): react_jsx_runtime.JSX.Element;
|
|
3837
|
+
Point({ children, color, size, title, onClick }: TimeLinePointProps): react_jsx_runtime.JSX.Element;
|
|
3838
|
+
Item({ marker, heading, children, title, onClick }: TimeLineItemProps): react_jsx_runtime.JSX.Element;
|
|
4129
3839
|
};
|
|
4130
3840
|
|
|
4131
3841
|
/** De basis-props voor de nodes en de items */
|
|
@@ -4150,7 +3860,7 @@ type InternTreeViewProps<T extends unknown = string> = BaseProps<T> & {
|
|
|
4150
3860
|
nodes?: Array<TreeViewNode<T>>;
|
|
4151
3861
|
expanded: boolean;
|
|
4152
3862
|
};
|
|
4153
|
-
declare function TreeViewRoot<T extends unknown = string>({ className: cnProp, style, initialPath, expanded, nodes: data, }: TreeViewProps<T>): JSX.Element;
|
|
3863
|
+
declare function TreeViewRoot<T extends unknown = string>({ className: cnProp, style, initialPath, expanded, nodes: data, }: TreeViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
4154
3864
|
type TreeViewNode<T extends unknown = string> = {
|
|
4155
3865
|
/** de value van deze node (default een string, maar generic) */
|
|
4156
3866
|
value: T;
|
|
@@ -4167,7 +3877,7 @@ type TreeViewNode<T extends unknown = string> = {
|
|
|
4167
3877
|
*/
|
|
4168
3878
|
onClick?: (value: T, path: string) => void;
|
|
4169
3879
|
};
|
|
4170
|
-
declare function TreeViewNode<T extends unknown = string>({ className: cnProp, style, path, expanded, hoveredPath, setHoveredPath, selectedPath, setSelectedPath, nodes, }: InternTreeViewProps<T>): JSX.Element;
|
|
3880
|
+
declare function TreeViewNode<T extends unknown = string>({ className: cnProp, style, path, expanded, hoveredPath, setHoveredPath, selectedPath, setSelectedPath, nodes, }: InternTreeViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
4171
3881
|
type TreeViewProps<T extends unknown = string> = StrictOmit<InternTreeViewProps<T>, 'path' | 'hoveredPath' | 'setHoveredPath' | 'selectedPath' | 'setSelectedPath' | 'expanded'> & {
|
|
4172
3882
|
initialPath?: string;
|
|
4173
3883
|
expanded?: boolean;
|
|
@@ -4175,7 +3885,7 @@ type TreeViewProps<T extends unknown = string> = StrictOmit<InternTreeViewProps<
|
|
|
4175
3885
|
|
|
4176
3886
|
type HeadingProps = {
|
|
4177
3887
|
children: React$1.ReactNode;
|
|
4178
|
-
itemRef?: React$1.RefObject<any
|
|
3888
|
+
itemRef?: React$1.RefObject<any> | null;
|
|
4179
3889
|
size?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | '1' | '2' | '3' | '4' | '5' | '6' | '7';
|
|
4180
3890
|
subtitle?: boolean;
|
|
4181
3891
|
id?: string;
|
|
@@ -4245,7 +3955,7 @@ declare const H6: ({ children, subtitle, size, id, ariaLabeledBy, ariaRole, clas
|
|
|
4245
3955
|
|
|
4246
3956
|
type QuickViewProps = {
|
|
4247
3957
|
/** ref naar de quickview. Bijvoorbeeld voor gebruik met de `useClickOutside()`-hook */
|
|
4248
|
-
itemRef?: any;
|
|
3958
|
+
itemRef?: any | null;
|
|
4249
3959
|
/** ID van de quickview */
|
|
4250
3960
|
id?: string;
|
|
4251
3961
|
/** Content van de quickview, kunnen Quickview.Head,er, Quickview.Body of Quickview.Footer elementen zijn. Andere elementen worden gewrapped in Quickview.Body */
|
|
@@ -4283,20 +3993,23 @@ type QuickViewProps = {
|
|
|
4283
3993
|
* </QuickView>
|
|
4284
3994
|
*/
|
|
4285
3995
|
declare const QuickView: {
|
|
4286
|
-
({ children, id, itemRef, color, alignment, tag, onDismiss, onOpened }: QuickViewProps): JSX.Element;
|
|
3996
|
+
({ children, id, itemRef, color, alignment, tag, onDismiss, onOpened }: QuickViewProps): react_jsx_runtime.JSX.Element;
|
|
4287
3997
|
Header: typeof InternHeader;
|
|
4288
|
-
Body: ({ children }:
|
|
4289
|
-
|
|
4290
|
-
}) => JSX.Element;
|
|
4291
|
-
Footer: ({ children }: {
|
|
4292
|
-
children: React$1.ReactNode;
|
|
4293
|
-
}) => JSX.Element;
|
|
3998
|
+
Body: ({ children }: InternBodyProps) => react_jsx_runtime.JSX.Element;
|
|
3999
|
+
Footer: ({ children }: InternFooterProps) => react_jsx_runtime.JSX.Element;
|
|
4294
4000
|
};
|
|
4295
|
-
|
|
4001
|
+
type InternHeaderProps = {
|
|
4296
4002
|
children?: React$1.ReactNode;
|
|
4297
4003
|
color?: ColorProp;
|
|
4298
4004
|
onDismiss?: () => void;
|
|
4299
|
-
}
|
|
4005
|
+
};
|
|
4006
|
+
declare function InternHeader({ children, color, onDismiss }: InternHeaderProps): react_jsx_runtime.JSX.Element;
|
|
4007
|
+
type InternBodyProps = {
|
|
4008
|
+
children: React$1.ReactNode;
|
|
4009
|
+
};
|
|
4010
|
+
type InternFooterProps = {
|
|
4011
|
+
children: React$1.ReactNode;
|
|
4012
|
+
};
|
|
4300
4013
|
|
|
4301
4014
|
type ToggleBarProps = {
|
|
4302
4015
|
/** De beginwaarde (default = undefined)
|
|
@@ -4358,7 +4071,7 @@ type OnOffToggleItemProps = ToggleItemProps & {
|
|
|
4358
4071
|
* </ToggleBar>
|
|
4359
4072
|
*/
|
|
4360
4073
|
declare const ToggleBar: {
|
|
4361
|
-
({ size: sizeProp, rounded, alignment, value, initialValue, children: nodes, className: classes, onToggle, }: ToggleBarProps): JSX.Element;
|
|
4074
|
+
({ size: sizeProp, rounded, alignment, value, initialValue, children: nodes, className: classes, onToggle, }: ToggleBarProps): react_jsx_runtime.JSX.Element;
|
|
4362
4075
|
/**
|
|
4363
4076
|
* Item binnen de ToggleBar. Een van de ToggleItems in een ToggleBar kan maar actief zijn.
|
|
4364
4077
|
* @param props
|
|
@@ -4396,9 +4109,9 @@ type ButtonGroupProps = {
|
|
|
4396
4109
|
* @param className: Voeg extra classes aan de buttons-container toe
|
|
4397
4110
|
* @returns
|
|
4398
4111
|
*/
|
|
4399
|
-
declare function Buttons({ unevenSize, alignment, ...props }: ButtonGroupProps): JSX.Element;
|
|
4112
|
+
declare function Buttons({ unevenSize, alignment, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
4400
4113
|
|
|
4401
|
-
type ButtonStyles = 'faded' | 'f' | 'inverted' | 'i' | 'static' | 's' | 'default' | 'd';
|
|
4114
|
+
type ButtonStyles = 'faded' | 'f' | 'inverted' | 'i' | 'static' | 's' | 'default' | 'd' | 'outlined' | 'o';
|
|
4402
4115
|
type ButtonProps = {
|
|
4403
4116
|
/** Is de button loading ? */
|
|
4404
4117
|
loading?: boolean;
|
|
@@ -4458,45 +4171,17 @@ type ButtonProps = {
|
|
|
4458
4171
|
* | type | `button, reset, submit` | `button` | type 'button' voor de button |
|
|
4459
4172
|
*/
|
|
4460
4173
|
declare const Button: {
|
|
4461
|
-
({ color: colorProp, size: sizeProp, loading, disabled, fullwidth, styling, type, isStatic, helpTag, onClick, onFocus, children: nodes, value, ...props }: ButtonProps): JSX.Element;
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
/** Een Button in de success kleur
|
|
4473
|
-
* @example <Button.Success>Success Button</Button.Success>
|
|
4474
|
-
*/
|
|
4475
|
-
Success(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4476
|
-
/** Een Button in de danger kleur
|
|
4477
|
-
* @example <Button.Danger>Danger Button</Button.Danger>
|
|
4478
|
-
*/
|
|
4479
|
-
Danger(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4480
|
-
/** Een Button in de warning kleur
|
|
4481
|
-
* @example <Button.Warning>Warning Button</Button.Warning>
|
|
4482
|
-
*/
|
|
4483
|
-
Warning(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4484
|
-
/** Een Button in de info kleur
|
|
4485
|
-
* @example <Button.Info>Info Button</Button.Info>
|
|
4486
|
-
*/
|
|
4487
|
-
Info(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4488
|
-
/** Een Button in de link kleur
|
|
4489
|
-
* @example <Button.Link>Link Button</Button.Link>
|
|
4490
|
-
*/
|
|
4491
|
-
Link(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4492
|
-
/** Een Button in de light kleur
|
|
4493
|
-
* @example <Button.Light>Link Button</Button.Light>
|
|
4494
|
-
*/
|
|
4495
|
-
Light(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4496
|
-
/** Een Button in de dark kleur
|
|
4497
|
-
* @example <Button.Dark>Link Button</Button.Dark>
|
|
4498
|
-
*/
|
|
4499
|
-
Dark(props: StrictOmit<ButtonProps, "color" | "isStatic">): JSX.Element;
|
|
4174
|
+
({ color: colorProp, size: sizeProp, loading, disabled, fullwidth, styling, type, isStatic, helpTag, onClick, onFocus, children: nodes, value, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
4175
|
+
Static(props: StrictOmit<ButtonProps, "color" | "isStatic" | "onClick" | "onFocus" | "disabled" | "loading">): react_jsx_runtime.JSX.Element;
|
|
4176
|
+
Primary(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4177
|
+
Success(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4178
|
+
Danger(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4179
|
+
Warning(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4180
|
+
Info(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4181
|
+
Link(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4182
|
+
Light(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4183
|
+
Dark(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4184
|
+
None(props: StrictOmit<ButtonProps, "color" | "isStatic">): react_jsx_runtime.JSX.Element;
|
|
4500
4185
|
};
|
|
4501
4186
|
|
|
4502
4187
|
type LinkButtonProps = {
|
|
@@ -4513,7 +4198,7 @@ type LinkButtonProps = {
|
|
|
4513
4198
|
* @returns een button die er uit ziet als een link
|
|
4514
4199
|
* @example <LinkButton onClick={handleClick}>Click me!</LinkButton>
|
|
4515
4200
|
*/
|
|
4516
|
-
declare function LinkButton({ fullwidth, children, color, onClick, ...props }: LinkButtonProps): JSX.Element;
|
|
4201
|
+
declare function LinkButton({ fullwidth, children, color, onClick, ...props }: LinkButtonProps): react_jsx_runtime.JSX.Element;
|
|
4517
4202
|
type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
4518
4203
|
color?: ColorProp;
|
|
4519
4204
|
/** link / URL */
|
|
@@ -4538,7 +4223,7 @@ type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
|
4538
4223
|
* @returns een link
|
|
4539
4224
|
* @example <Link href="https://www.google.com">Google</Link>
|
|
4540
4225
|
*/
|
|
4541
|
-
declare function Link({ color, href, target, id, rel, children, ...props }: LinkProps): JSX.Element;
|
|
4226
|
+
declare function Link({ color, href, target, id, rel, children, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
|
|
4542
4227
|
|
|
4543
4228
|
type CalendarType = 'm' | 'v' | 'w' | 'p';
|
|
4544
4229
|
type CalendarHours = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | (number & {});
|
|
@@ -4612,7 +4297,7 @@ type FourweekViewProps<T extends BaseEventProps> = {
|
|
|
4612
4297
|
* @param props
|
|
4613
4298
|
* @returns
|
|
4614
4299
|
*/
|
|
4615
|
-
declare function FourweeksView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents, }: FourweekViewProps<T>): JSX.Element;
|
|
4300
|
+
declare function FourweeksView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents, }: FourweekViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
4616
4301
|
|
|
4617
4302
|
type MonthViewProps<T extends BaseEventProps> = {
|
|
4618
4303
|
/** Events voor deze view */
|
|
@@ -4631,7 +4316,7 @@ type MonthViewProps<T extends BaseEventProps> = {
|
|
|
4631
4316
|
* @param props
|
|
4632
4317
|
* @returns
|
|
4633
4318
|
*/
|
|
4634
|
-
declare function MonthView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents, }: MonthViewProps<T>): JSX.Element;
|
|
4319
|
+
declare function MonthView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, onDayClick, events: orgEvents, }: MonthViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
4635
4320
|
|
|
4636
4321
|
type PlanningViewProps<R, E extends BaseEventProps = BaseEventProps> = {
|
|
4637
4322
|
/** Datum van de view */
|
|
@@ -4668,7 +4353,7 @@ type PlanningViewProps<R, E extends BaseEventProps = BaseEventProps> = {
|
|
|
4668
4353
|
* @param param0
|
|
4669
4354
|
* @returns
|
|
4670
4355
|
*/
|
|
4671
|
-
declare function PlanningView<R, E extends BaseEventProps>({ viewDate, days: daysShown, alwaysStartOnMonday, options, rows, rowIdentifier, dayHeader, rowHeader, rowLabel, onDayClick, onEventClick, }: PlanningViewProps<R, E>): JSX.Element;
|
|
4356
|
+
declare function PlanningView<R, E extends BaseEventProps>({ viewDate, days: daysShown, alwaysStartOnMonday, options, rows, rowIdentifier, dayHeader, rowHeader, rowLabel, onDayClick, onEventClick, }: PlanningViewProps<R, E>): react_jsx_runtime.JSX.Element;
|
|
4672
4357
|
|
|
4673
4358
|
type WeekViewProps<T extends BaseEventProps> = {
|
|
4674
4359
|
/** Events voor deze view */
|
|
@@ -4688,7 +4373,7 @@ type WeekViewProps<T extends BaseEventProps> = {
|
|
|
4688
4373
|
* @returns een weekview (grid) met de events
|
|
4689
4374
|
* @ex
|
|
4690
4375
|
*/
|
|
4691
|
-
declare function WeekView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, events: orgEvents, onDayClick
|
|
4376
|
+
declare function WeekView<T extends BaseEventProps>({ viewDate: vd, options, onEventClick, events: orgEvents, onDayClick }: WeekViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
4692
4377
|
|
|
4693
4378
|
type MiniViewProps = {
|
|
4694
4379
|
/** de viewDate waarop de mini-view start (optioneel, default = vandaag) */
|
|
@@ -4710,7 +4395,7 @@ type MiniViewOptions = {
|
|
|
4710
4395
|
dateFormat?: string;
|
|
4711
4396
|
locale?: Locale;
|
|
4712
4397
|
};
|
|
4713
|
-
declare function MiniView({ viewDate: vd, options: opts, onDateSelected, onJSDateTimeSelected
|
|
4398
|
+
declare function MiniView({ viewDate: vd, options: opts, onDateSelected, onJSDateTimeSelected }: MiniViewProps): react_jsx_runtime.JSX.Element;
|
|
4714
4399
|
|
|
4715
4400
|
declare const Calendar: {
|
|
4716
4401
|
Month: typeof MonthView;
|
|
@@ -4766,7 +4451,7 @@ type TooltipProps = {
|
|
|
4766
4451
|
* @example <TT content={<>Tooltip content</>} placement="b">Hover me</TT>
|
|
4767
4452
|
* @example <TT content="Tooltip content" triggers={['click', 'contextMenu']}>Click or RightClick me</TT>
|
|
4768
4453
|
*/
|
|
4769
|
-
declare function TT({ className, children, style, content, hideArrow, triggers, placement: plcmnt, display, delay, }: TooltipProps): JSX.Element;
|
|
4454
|
+
declare function TT({ className, children, style, content, hideArrow, triggers, placement: plcmnt, display, delay, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
4770
4455
|
|
|
4771
4456
|
type PaginationProps = {
|
|
4772
4457
|
/** current selected page number */ currentPage: number;
|
|
@@ -4808,7 +4493,7 @@ type PaginationProps = {
|
|
|
4808
4493
|
* @param prev - functie die wordt aangeroepen als er op de vorige-pagina knop wordt geklikt
|
|
4809
4494
|
* @param next - functie die wordt aangeroepen als er op de volgende-pagina knop wordt geklikt
|
|
4810
4495
|
*/
|
|
4811
|
-
declare function Pagination({ range, currentPage, size, hideFirst, hideLast, hidePrev, hideNext, hideNumbers, set, first, last, prev, next, }: PaginationProps): JSX.Element;
|
|
4496
|
+
declare function Pagination({ range, currentPage, size, hideFirst, hideLast, hidePrev, hideNext, hideNumbers, set, first, last, prev, next, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
4812
4497
|
|
|
4813
4498
|
type NotifierProviderProps = {
|
|
4814
4499
|
/** De child-components die de notifier mogen gebruiken */
|
|
@@ -4856,7 +4541,7 @@ type NotifierItemProps = {
|
|
|
4856
4541
|
* @param props
|
|
4857
4542
|
* @returns een Notificatie-component die (tijdelijke) berichtjes weergeeft aan de rechterkant van het scherm.
|
|
4858
4543
|
*/
|
|
4859
|
-
declare function Notifier({ next, clearTime, del, defaultDismissTime, location, width: containerWidth
|
|
4544
|
+
declare function Notifier({ next, clearTime, del, defaultDismissTime, location, width: containerWidth }: NotifierProps): react_jsx_runtime.JSX.Element;
|
|
4860
4545
|
|
|
4861
4546
|
type NotifierContextType = {
|
|
4862
4547
|
/** Toon een notificatie
|
|
@@ -4914,7 +4599,7 @@ type State$2 = {
|
|
|
4914
4599
|
*/
|
|
4915
4600
|
declare function ConfirmProvider({ children }: {
|
|
4916
4601
|
children: React$1.ReactNode;
|
|
4917
|
-
}): JSX.Element;
|
|
4602
|
+
}): react_jsx_runtime.JSX.Element;
|
|
4918
4603
|
/**
|
|
4919
4604
|
* Hook voor de confirmation
|
|
4920
4605
|
* @param ok tekst voor op de OK-button (default = 'Ok')
|
|
@@ -4972,7 +4657,7 @@ type State$1 = {
|
|
|
4972
4657
|
*/
|
|
4973
4658
|
declare function PromptProvider({ children }: {
|
|
4974
4659
|
children: React$1.ReactNode;
|
|
4975
|
-
}): JSX.Element;
|
|
4660
|
+
}): react_jsx_runtime.JSX.Element;
|
|
4976
4661
|
type AllowedPromptTypes = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url' | 'range' | 'date' | 'datetime-local' | 'datetime' | 'month' | 'week' | 'time' | 'color' | 'search';
|
|
4977
4662
|
/**
|
|
4978
4663
|
* Hook voor de prompt
|
|
@@ -5041,7 +4726,7 @@ type State<T extends unknown = {}> = {
|
|
|
5041
4726
|
*/
|
|
5042
4727
|
declare function ActionSheetProvider({ children }: {
|
|
5043
4728
|
children: React$1.ReactNode;
|
|
5044
|
-
}): JSX.Element;
|
|
4729
|
+
}): react_jsx_runtime.JSX.Element;
|
|
5045
4730
|
/**
|
|
5046
4731
|
* Hook voor de confirmation
|
|
5047
4732
|
* @param buttons tekst voor op de OK-button (default = 'Ok')
|
|
@@ -5088,7 +4773,7 @@ declare function useActionSheet<T extends unknown = string>(): {
|
|
|
5088
4773
|
/** DialogsProvider bevat provider contexts voor ConfirmContext, ActionSheetContext EN PromptContext */
|
|
5089
4774
|
declare function DialogsProvider({ children }: {
|
|
5090
4775
|
children: React.ReactNode;
|
|
5091
|
-
}): JSX.Element;
|
|
4776
|
+
}): react_jsx_runtime.JSX.Element;
|
|
5092
4777
|
|
|
5093
4778
|
declare const ColorSchemeContext: React$1.Context<{
|
|
5094
4779
|
scheme: ColorSchemeType;
|
|
@@ -5515,7 +5200,7 @@ declare function useSessionStoredState<T extends unknown = {}>({ key, initialVal
|
|
|
5515
5200
|
* const ref = useClickOutside(() => console.log('clicked outside'), ['mousedown']);
|
|
5516
5201
|
* return <QuickView itemRef={ref}>...</QuickView>
|
|
5517
5202
|
*/
|
|
5518
|
-
declare function useClickOutside<T extends HTMLElement = any>(handler: () => void, events?: string[] | null, nodes?: (HTMLElement | null)[]): React$1.RefObject<T>;
|
|
5203
|
+
declare function useClickOutside<T extends HTMLElement = any>(handler: () => void, events?: string[] | null, nodes?: (HTMLElement | null)[]): React$1.RefObject<T | null>;
|
|
5519
5204
|
|
|
5520
5205
|
type Axis = 'x' | 'y';
|
|
5521
5206
|
type Alignment = 'start' | 'end' | 'center';
|
|
@@ -5569,8 +5254,8 @@ type ScrollIntoViewParams = {
|
|
|
5569
5254
|
* <button onClick={() => ScrollToSecondTarget()}>Scroll naar tweede element</button>
|
|
5570
5255
|
*/
|
|
5571
5256
|
declare function useScrollIntoView<Target extends HTMLElement, Parent extends HTMLElement | null = null>({ duration, axis, onScrollFinish, offset, cancelable, isList, }?: ScrollIntoViewParams): {
|
|
5572
|
-
scrollableRef: React$1.RefObject<Parent>;
|
|
5573
|
-
targetRef: React$1.RefObject<Target>;
|
|
5257
|
+
scrollableRef: React$1.RefObject<Parent | null>;
|
|
5258
|
+
targetRef: React$1.RefObject<Target | null>;
|
|
5574
5259
|
scrollIntoView: ({ alignment }?: ScrollIntoViewAnimation) => void;
|
|
5575
5260
|
cancel: () => void;
|
|
5576
5261
|
};
|
|
@@ -5664,7 +5349,7 @@ declare function useContextMenu<T extends HTMLElement = HTMLElement>(outerRef: R
|
|
|
5664
5349
|
* @returns
|
|
5665
5350
|
*/
|
|
5666
5351
|
declare function ContextMenu({ outerRef, children }: {
|
|
5667
|
-
outerRef: React$1.RefObject<
|
|
5352
|
+
outerRef: React$1.RefObject<HTMLElement | null> | null;
|
|
5668
5353
|
children: React$1.ReactNode;
|
|
5669
5354
|
}): react_jsx_runtime.JSX.Element;
|
|
5670
5355
|
|